translime-plugin-hdr-capture 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/index.win32-x64-msvc.node +0 -0
- package/dist/main.cjs.js +124 -45
- package/dist/overlay-preload.cjs.js +9 -0
- package/dist/overlay.css +1 -1
- package/dist/overlay.js +3 -1
- package/dist/ui.esm.js +93 -39
- package/package.json +1 -1
|
Binary file
|
package/dist/main.cjs.js
CHANGED
|
@@ -972,14 +972,6 @@ const getPreserveHdr = () => pluginConfig.get("preserveHdr", false);
|
|
|
972
972
|
const getEnableHdrMapping = () => pluginConfig.get("enableHdrMapping", true);
|
|
973
973
|
const getSdrWhiteNits = () => pluginConfig.get("sdrWhiteNits", 203);
|
|
974
974
|
const getHdrMaxNits = () => pluginConfig.get("hdrMaxNits", 1e3);
|
|
975
|
-
const getSaveFilenameTemplate = () => pluginConfig.get("saveFilenameTemplate", "");
|
|
976
|
-
const unregisterShortcut = () => {
|
|
977
|
-
if (registeredShortcut) {
|
|
978
|
-
electron.globalShortcut.unregister(registeredShortcut);
|
|
979
|
-
logger.info(`快捷键已注销: ${registeredShortcut}`);
|
|
980
|
-
registeredShortcut = null;
|
|
981
|
-
}
|
|
982
|
-
};
|
|
983
975
|
const getAllDisplaysBounds = () => {
|
|
984
976
|
const displays = electron.screen.getAllDisplays();
|
|
985
977
|
let minX = Infinity;
|
|
@@ -1002,10 +994,49 @@ const getAllDisplaysBounds = () => {
|
|
|
1002
994
|
displays,
|
|
1003
995
|
minX,
|
|
1004
996
|
minY,
|
|
997
|
+
maxX,
|
|
998
|
+
maxY,
|
|
1005
999
|
width: maxX - minX,
|
|
1006
1000
|
height: maxY - minY
|
|
1007
1001
|
};
|
|
1008
1002
|
};
|
|
1003
|
+
const getSaveFilenameTemplate = () => pluginConfig.get("saveFilenameTemplate", "");
|
|
1004
|
+
const getFastResponse = () => pluginConfig.get("fastResponse", true);
|
|
1005
|
+
const updateOverlayBounds = () => {
|
|
1006
|
+
if (!overlayWindow || overlayWindow.isDestroyed()) return;
|
|
1007
|
+
const {
|
|
1008
|
+
minX,
|
|
1009
|
+
minY,
|
|
1010
|
+
maxY,
|
|
1011
|
+
width,
|
|
1012
|
+
height
|
|
1013
|
+
} = getAllDisplaysBounds();
|
|
1014
|
+
const { y } = overlayWindow.getBounds();
|
|
1015
|
+
if (y >= maxY) {
|
|
1016
|
+
overlayWindow.setBounds({
|
|
1017
|
+
width,
|
|
1018
|
+
height,
|
|
1019
|
+
x: 0,
|
|
1020
|
+
y: maxY + 100
|
|
1021
|
+
});
|
|
1022
|
+
logger.info(`屏幕变动,更新离屏位置: (0, ${maxY + 100})`);
|
|
1023
|
+
} else {
|
|
1024
|
+
overlayWindow.setBounds({
|
|
1025
|
+
x: minX,
|
|
1026
|
+
y: minY,
|
|
1027
|
+
width,
|
|
1028
|
+
height
|
|
1029
|
+
});
|
|
1030
|
+
logger.info(`屏幕变动,更新捕获边界: ${width}x${height} at (${minX}, ${minY})`);
|
|
1031
|
+
}
|
|
1032
|
+
};
|
|
1033
|
+
const unregisterShortcut = () => {
|
|
1034
|
+
if (registeredShortcut) {
|
|
1035
|
+
electron.globalShortcut.unregister(registeredShortcut);
|
|
1036
|
+
logger.info(`快捷键已注销: ${registeredShortcut}`);
|
|
1037
|
+
registeredShortcut = null;
|
|
1038
|
+
}
|
|
1039
|
+
};
|
|
1009
1040
|
const createOverlayWindow = (isDebug = false) => {
|
|
1010
1041
|
const {
|
|
1011
1042
|
minX,
|
|
@@ -1025,10 +1056,12 @@ const createOverlayWindow = (isDebug = false) => {
|
|
|
1025
1056
|
skipTaskbar: !isDebug,
|
|
1026
1057
|
resizable: isDebug,
|
|
1027
1058
|
movable: isDebug,
|
|
1028
|
-
maximizable:
|
|
1059
|
+
maximizable: false,
|
|
1029
1060
|
fullscreen: false,
|
|
1030
1061
|
thickFrame: false,
|
|
1031
1062
|
hasShadow: false,
|
|
1063
|
+
// 初始不显示,等待数据准备就绪
|
|
1064
|
+
show: false,
|
|
1032
1065
|
type: "toolbar",
|
|
1033
1066
|
webPreferences: {
|
|
1034
1067
|
nodeIntegration: false,
|
|
@@ -1048,10 +1081,6 @@ const createOverlayWindow = (isDebug = false) => {
|
|
|
1048
1081
|
overlayWindow.webContents.openDevTools({ mode: "detach" });
|
|
1049
1082
|
}
|
|
1050
1083
|
overlayWindow.setIgnoreMouseEvents(false);
|
|
1051
|
-
overlayWindow.on("ready-to-show", () => {
|
|
1052
|
-
overlayWindow.show();
|
|
1053
|
-
overlayWindow.focus();
|
|
1054
|
-
});
|
|
1055
1084
|
overlayWindow.on("closed", () => {
|
|
1056
1085
|
overlayWindow = null;
|
|
1057
1086
|
currentCaptureSession = null;
|
|
@@ -1123,9 +1152,20 @@ const preCaptureAllScreens = async () => {
|
|
|
1123
1152
|
return finalResults;
|
|
1124
1153
|
};
|
|
1125
1154
|
const startCapture = async (isDebug = false) => {
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1155
|
+
const {
|
|
1156
|
+
displays: allDisplays,
|
|
1157
|
+
minX,
|
|
1158
|
+
minY,
|
|
1159
|
+
maxY,
|
|
1160
|
+
width: totalWidth,
|
|
1161
|
+
height: totalHeight
|
|
1162
|
+
} = getAllDisplaysBounds();
|
|
1163
|
+
if (overlayWindow && !overlayWindow.isDestroyed() && overlayWindow.isVisible()) {
|
|
1164
|
+
const { y } = overlayWindow.getBounds();
|
|
1165
|
+
if (y < maxY) {
|
|
1166
|
+
overlayWindow.focus();
|
|
1167
|
+
return;
|
|
1168
|
+
}
|
|
1129
1169
|
}
|
|
1130
1170
|
await new Promise((resolve) => {
|
|
1131
1171
|
setTimeout(resolve, 100);
|
|
@@ -1168,13 +1208,6 @@ const startCapture = async (isDebug = false) => {
|
|
|
1168
1208
|
return null;
|
|
1169
1209
|
}
|
|
1170
1210
|
}).filter(Boolean);
|
|
1171
|
-
const {
|
|
1172
|
-
displays: allDisplays,
|
|
1173
|
-
minX,
|
|
1174
|
-
minY,
|
|
1175
|
-
width: totalWidth,
|
|
1176
|
-
height: totalHeight
|
|
1177
|
-
} = getAllDisplaysBounds();
|
|
1178
1211
|
allDisplays.forEach((d, idx) => {
|
|
1179
1212
|
windows.push({
|
|
1180
1213
|
handle: 0,
|
|
@@ -1193,26 +1226,44 @@ const startCapture = async (isDebug = false) => {
|
|
|
1193
1226
|
} else {
|
|
1194
1227
|
logger.warn("未能成功转换任何窗口坐标或搜索结果为空");
|
|
1195
1228
|
}
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
}
|
|
1229
|
+
if (!overlayWindow || overlayWindow.isDestroyed()) {
|
|
1230
|
+
createOverlayWindow(isDebug);
|
|
1231
|
+
}
|
|
1232
|
+
const initData = {
|
|
1233
|
+
isDebug,
|
|
1234
|
+
minX,
|
|
1235
|
+
minY,
|
|
1236
|
+
width: totalWidth,
|
|
1237
|
+
height: totalHeight,
|
|
1238
|
+
capturedScreens,
|
|
1239
|
+
cursorPos,
|
|
1240
|
+
windows,
|
|
1241
|
+
// 发送窗口数据
|
|
1242
|
+
displays: allDisplays.map((d) => ({
|
|
1243
|
+
id: d.id,
|
|
1244
|
+
bounds: d.bounds
|
|
1245
|
+
}))
|
|
1246
|
+
};
|
|
1247
|
+
const sendDataAndShow = () => {
|
|
1213
1248
|
logger.info(`发送初始化数据, 截图数量: ${capturedScreens.length}, 窗口数量: ${windows.length}, isDebug: ${isDebug}`);
|
|
1214
1249
|
overlayWindow.webContents.send(`overlay-init@${PLUGIN_ID}`, initData);
|
|
1215
|
-
|
|
1250
|
+
overlayWindow.setBounds({
|
|
1251
|
+
x: minX,
|
|
1252
|
+
y: minY,
|
|
1253
|
+
width: totalWidth,
|
|
1254
|
+
height: totalHeight
|
|
1255
|
+
});
|
|
1256
|
+
if (!overlayWindow.isVisible()) {
|
|
1257
|
+
overlayWindow.showInactive();
|
|
1258
|
+
}
|
|
1259
|
+
overlayWindow.focus();
|
|
1260
|
+
overlayWindow.setIgnoreMouseEvents(false);
|
|
1261
|
+
};
|
|
1262
|
+
if (overlayWindow.webContents.isLoading()) {
|
|
1263
|
+
overlayWindow.webContents.once("did-finish-load", sendDataAndShow);
|
|
1264
|
+
} else {
|
|
1265
|
+
sendDataAndShow();
|
|
1266
|
+
}
|
|
1216
1267
|
};
|
|
1217
1268
|
const registerShortcut = (accelerator) => {
|
|
1218
1269
|
let finalAccelerator = accelerator || getShortcut();
|
|
@@ -1245,9 +1296,22 @@ const registerShortcut = (accelerator) => {
|
|
|
1245
1296
|
}
|
|
1246
1297
|
};
|
|
1247
1298
|
const closeOverlay = () => {
|
|
1248
|
-
if (overlayWindow) {
|
|
1249
|
-
|
|
1250
|
-
|
|
1299
|
+
if (overlayWindow && !overlayWindow.isDestroyed()) {
|
|
1300
|
+
try {
|
|
1301
|
+
overlayWindow.webContents.send(`overlay-reset@${PLUGIN_ID}`);
|
|
1302
|
+
} catch (e) {
|
|
1303
|
+
}
|
|
1304
|
+
if (getFastResponse()) {
|
|
1305
|
+
const { maxY } = getAllDisplaysBounds();
|
|
1306
|
+
overlayWindow.setIgnoreMouseEvents(true);
|
|
1307
|
+
overlayWindow.setPosition(0, maxY + 100);
|
|
1308
|
+
logger.info(`快速响应模式: Overlay 已移至离屏常驻 (0, ${maxY + 100})`);
|
|
1309
|
+
} else {
|
|
1310
|
+
overlayWindow.close();
|
|
1311
|
+
overlayWindow = null;
|
|
1312
|
+
logger.info("Overlay 已关闭");
|
|
1313
|
+
}
|
|
1314
|
+
currentCaptureSession = null;
|
|
1251
1315
|
}
|
|
1252
1316
|
};
|
|
1253
1317
|
const pluginDidLoad = () => {
|
|
@@ -1256,11 +1320,20 @@ const pluginDidLoad = () => {
|
|
|
1256
1320
|
if (shortcut) {
|
|
1257
1321
|
registerShortcut(shortcut);
|
|
1258
1322
|
}
|
|
1323
|
+
electron.screen.on("display-metrics-changed", updateOverlayBounds);
|
|
1324
|
+
electron.screen.on("display-added", updateOverlayBounds);
|
|
1325
|
+
electron.screen.on("display-removed", updateOverlayBounds);
|
|
1259
1326
|
};
|
|
1260
1327
|
const pluginWillUnload = () => {
|
|
1261
1328
|
logger.info("插件正在卸载");
|
|
1262
1329
|
unregisterShortcut();
|
|
1263
|
-
|
|
1330
|
+
electron.screen.removeListener("display-metrics-changed", updateOverlayBounds);
|
|
1331
|
+
electron.screen.removeListener("display-added", updateOverlayBounds);
|
|
1332
|
+
electron.screen.removeListener("display-removed", updateOverlayBounds);
|
|
1333
|
+
if (overlayWindow && !overlayWindow.isDestroyed()) {
|
|
1334
|
+
overlayWindow.close();
|
|
1335
|
+
overlayWindow = null;
|
|
1336
|
+
}
|
|
1264
1337
|
};
|
|
1265
1338
|
const pluginSettingSaved = () => {
|
|
1266
1339
|
logger.info("设置已保存");
|
|
@@ -1270,6 +1343,12 @@ const pluginSettingSaved = () => {
|
|
|
1270
1343
|
} else {
|
|
1271
1344
|
unregisterShortcut();
|
|
1272
1345
|
}
|
|
1346
|
+
const isFastResponse = getFastResponse();
|
|
1347
|
+
if (!isFastResponse && overlayWindow && !overlayWindow.isDestroyed() && !overlayWindow.isVisible()) {
|
|
1348
|
+
overlayWindow.close();
|
|
1349
|
+
overlayWindow = null;
|
|
1350
|
+
logger.info("快速响应模式已关闭,清理后台常驻窗口");
|
|
1351
|
+
}
|
|
1273
1352
|
};
|
|
1274
1353
|
const ipcHandlers = [
|
|
1275
1354
|
{
|
|
@@ -49,6 +49,15 @@ electron.contextBridge.exposeInMainWorld("hdrCapture", {
|
|
|
49
49
|
* @param {function} callback
|
|
50
50
|
*/
|
|
51
51
|
onInit: (callback) => {
|
|
52
|
+
electron.ipcRenderer.removeAllListeners(`overlay-init@${PLUGIN_ID}`);
|
|
52
53
|
electron.ipcRenderer.on(`overlay-init@${PLUGIN_ID}`, (event, data) => callback(data));
|
|
54
|
+
},
|
|
55
|
+
/**
|
|
56
|
+
* 监听重置消息
|
|
57
|
+
* @param {function} callback
|
|
58
|
+
*/
|
|
59
|
+
onReset: (callback) => {
|
|
60
|
+
electron.ipcRenderer.removeAllListeners(`overlay-reset@${PLUGIN_ID}`);
|
|
61
|
+
electron.ipcRenderer.on(`overlay-reset@${PLUGIN_ID}`, () => callback());
|
|
53
62
|
}
|
|
54
63
|
});
|
package/dist/overlay.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.frozen-screens-layer[data-v-0b001d45]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;pointer-events:none}.frozen-screen[data-v-0b001d45]{position:absolute}.frozen-screen img[data-v-0b001d45]{width:100%;height:100%;object-fit:fill;display:block}.action-toolbar-container[data-v-54894703]{position:absolute;display:flex;flex-direction:column;align-items:flex-end;z-index:100;pointer-events:none}.action-toolbar-main[data-v-54894703]{display:flex;padding:4px;background:#1e1e1ef2;border-radius:8px;box-shadow:0 4px 20px #0006;backdrop-filter:blur(12px);border:1px solid rgb(255 255 255 / 10%);pointer-events:auto}.btn-group[data-v-54894703]{display:flex;align-items:center}.btn[data-v-54894703]{width:28px;height:28px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .15s ease;background:transparent;border-radius:4px;margin:0 1px}.btn[data-v-54894703]:hover{background:#ffffff26}.btn[data-v-54894703]:active{transform:scale(.95)}.btn.active[data-v-54894703]{background:#ffffff40;color:#adf}.divider[data-v-54894703]{width:1px;height:16px;background:#fff3;margin:0 4px}.btn-save[data-v-54894703]:hover{background:#4caf5099}.btn-copy[data-v-54894703]:hover{background:#2196f399}.btn-cancel[data-v-54894703]:hover{background:#f4433699}.size-settings-bar[data-v-54894703]{margin-top:4px;padding:4px 8px;background:#1e1e1ef2;border-radius:8px;box-shadow:0 4px 20px #0006;backdrop-filter:blur(12px);border:1px solid rgb(255 255 255 / 10%);pointer-events:auto;display:flex;align-items:center;gap:8px;height:36px;box-sizing:border-box}.size-inputs[data-v-54894703]{display:flex;align-items:center;gap:4px;font-family:monospace;font-size:13px;color:#eee}.size-input[data-v-54894703]{background:#0000004d;border:1px solid rgb(255 255 255 / 20%);border-radius:4px;color:#fff;padding:2px 4px;text-align:center;outline:none;font-family:inherit;font-size:inherit;min-width:4ch;height:22px;box-sizing:border-box}.size-input[data-v-54894703]:focus{border-color:#2196f3;background:#0000007f}.size-input[data-v-54894703]::-webkit-outer-spin-button,.size-input[data-v-54894703]::-webkit-inner-spin-button{appearance:none;margin:0}.size-separator[data-v-54894703]{color:#ffffff7f;font-size:12px}.size-unit[data-v-54894703]{color:#ffffff7f;font-size:12px;margin-left:2px}.btn-confirm[data-v-54894703]{border:none;background:#2196f3;color:#fff;border-radius:4px;padding:2px 8px;font-size:12px;cursor:pointer;height:22px;line-height:18px;transition:background .15s;white-space:nowrap}.btn-confirm[data-v-54894703]:hover{background:#42a5f5}.btn-confirm[data-v-54894703]:active{background:#1976d2}.radius-settings[data-v-54894703]{display:flex;align-items:center;gap:8px;width:100%;color:#eee;font-size:13px}.radius-label[data-v-54894703]{font-size:12px;color:#ffffffb3;white-space:nowrap}.radius-slider[data-v-54894703]{flex:1;height:4px;border-radius:2px;background:#ffffff4d;outline:none;cursor:pointer;accent-color:#2196f3;width:100px}.magnifier[data-v-cf910dc4]{position:absolute;border-radius:4px;overflow:hidden;box-shadow:0 4px 12px #0000007f,0 0 0 1px #fff3;pointer-events:none;z-index:9999;background:#000;border:1px solid rgb(255 255 255 / 50%)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--blur-xs:4px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.-top-1\.5{top:calc(var(--spacing)*-1.5)}.-top-6{top:calc(var(--spacing)*-6)}.top-1{top:calc(var(--spacing)*1)}.top-1\/2{top:50%}.-right-1\.5{right:calc(var(--spacing)*-1.5)}.-bottom-1\.5{bottom:calc(var(--spacing)*-1.5)}.-left-1\.5{left:calc(var(--spacing)*-1.5)}.left-0{left:calc(var(--spacing)*0)}.left-1{left:calc(var(--spacing)*1)}.left-1\/2{left:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-99{z-index:99}.box-border{box-sizing:border-box}.flex{display:flex}.h-3{height:calc(var(--spacing)*3)}.h-full{height:100%}.h-screen{height:100vh}.w-3{width:calc(var(--spacing)*3)}.w-full{width:100%}.w-screen{width:100vw}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-e-resize{cursor:e-resize}.cursor-move{cursor:move}.cursor-n-resize{cursor:n-resize}.cursor-ne-resize{cursor:ne-resize}.cursor-nw-resize{cursor:nw-resize}.cursor-s-resize{cursor:s-resize}.cursor-se-resize{cursor:se-resize}.cursor-sw-resize{cursor:sw-resize}.cursor-w-resize{cursor:w-resize}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\[\#2196F3\]{border-color:#2196f3}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-\[\#2196F3\]{background-color:#2196f3}.bg-\[\#2196F3\]\/10{background-color:#2196f31a}.bg-black\/75{background-color:#000000bf}@supports (color:color-mix(in lab,red,red)){.bg-black\/75{background-color:color-mix(in oklab,var(--color-black)75%,transparent)}}.bg-white{background-color:var(--color-white)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-2{padding-block:calc(var(--spacing)*2)}.font-mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.whitespace-nowrap{white-space:nowrap}.text-\[\#FF5252\]{color:#ff5252}.text-white{color:var(--color-white)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-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,)}.backdrop-filter{-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,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-\[cubic-bezier\(0\.23\,1\,0\.32\,1\)\]{--tw-ease:cubic-bezier(.23,1,.32,1);transition-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;user-select:none}}html,body{background:0 0;width:100vw;height:100vh;margin:0;padding:0;overflow:hidden}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
|
1
|
+
.frozen-screens-layer[data-v-0b001d45]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;pointer-events:none}.frozen-screen[data-v-0b001d45]{position:absolute}.frozen-screen img[data-v-0b001d45]{width:100%;height:100%;object-fit:fill;display:block}.action-toolbar-container[data-v-ebf36e2e]{position:absolute;display:flex;flex-direction:column;align-items:flex-end;z-index:100;pointer-events:none}.action-toolbar-main[data-v-ebf36e2e]{display:flex;padding:4px;background:#1e1e1ef2;border-radius:8px;box-shadow:0 4px 20px #0006;backdrop-filter:blur(12px);border:1px solid rgb(255 255 255 / 10%);pointer-events:auto}.btn-group[data-v-ebf36e2e]{display:flex;align-items:center}.btn[data-v-ebf36e2e]{width:28px;height:28px;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;transition:all .15s ease;background:transparent;border-radius:4px;margin:0 1px}.btn[data-v-ebf36e2e]:hover{background:#ffffff26}.btn[data-v-ebf36e2e]:active{transform:scale(.95)}.btn.active[data-v-ebf36e2e]{background:#ffffff40;color:#adf}.divider[data-v-ebf36e2e]{width:1px;height:16px;background:#fff3;margin:0 4px}.btn-save[data-v-ebf36e2e]:hover{background:#4caf5099}.btn-copy[data-v-ebf36e2e]:hover{background:#2196f399}.btn-cancel[data-v-ebf36e2e]:hover{background:#f4433699}.size-settings-bar[data-v-ebf36e2e]{margin-top:4px;padding:4px 8px;background:#1e1e1ef2;border-radius:8px;box-shadow:0 4px 20px #0006;backdrop-filter:blur(12px);border:1px solid rgb(255 255 255 / 10%);pointer-events:auto;display:flex;align-items:center;gap:8px;height:36px;box-sizing:border-box}.size-inputs[data-v-ebf36e2e]{display:flex;align-items:center;gap:4px;font-family:monospace;font-size:13px;color:#eee}.size-input[data-v-ebf36e2e]{background:#0000004d;border:1px solid rgb(255 255 255 / 20%);border-radius:4px;color:#fff;padding:2px 4px;text-align:center;outline:none;font-family:inherit;font-size:inherit;min-width:4ch;height:22px;box-sizing:border-box}.size-input[data-v-ebf36e2e]:focus{border-color:#2196f3;background:#0000007f}.size-input[data-v-ebf36e2e]::-webkit-outer-spin-button,.size-input[data-v-ebf36e2e]::-webkit-inner-spin-button{appearance:none;margin:0}.size-separator[data-v-ebf36e2e]{color:#ffffff7f;font-size:12px}.size-unit[data-v-ebf36e2e]{color:#ffffff7f;font-size:12px;margin-left:2px}.btn-confirm[data-v-ebf36e2e]{border:none;background:#2196f3;color:#fff;border-radius:4px;padding:2px 8px;font-size:12px;cursor:pointer;height:22px;line-height:18px;transition:background .15s;white-space:nowrap}.btn-confirm[data-v-ebf36e2e]:hover{background:#42a5f5}.btn-confirm[data-v-ebf36e2e]:active{background:#1976d2}.radius-settings[data-v-ebf36e2e]{display:flex;align-items:center;gap:8px;width:100%;color:#eee;font-size:13px}.radius-label[data-v-ebf36e2e]{font-size:12px;color:#ffffffb3;white-space:nowrap}.radius-slider[data-v-ebf36e2e]{flex:1;height:4px;border-radius:2px;background:#ffffff4d;outline:none;cursor:pointer;accent-color:#2196f3;width:100px}.magnifier[data-v-37869409]{position:absolute;border-radius:4px;overflow:hidden;box-shadow:0 4px 12px #0000007f,0 0 0 1px #fff3;pointer-events:none;z-index:9999;background:#000;border:1px solid rgb(255 255 255 / 50%)}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--radius-xl:.75rem;--ease-out:cubic-bezier(0,0,.2,1);--blur-xs:4px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.-top-1\.5{top:calc(var(--spacing)*-1.5)}.-top-6{top:calc(var(--spacing)*-6)}.top-1{top:calc(var(--spacing)*1)}.top-1\/2{top:50%}.-right-1\.5{right:calc(var(--spacing)*-1.5)}.-bottom-1\.5{bottom:calc(var(--spacing)*-1.5)}.-left-1\.5{left:calc(var(--spacing)*-1.5)}.left-0{left:calc(var(--spacing)*0)}.left-1{left:calc(var(--spacing)*1)}.left-1\/2{left:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-99{z-index:99}.box-border{box-sizing:border-box}.flex{display:flex}.h-3{height:calc(var(--spacing)*3)}.h-full{height:100%}.h-screen{height:100vh}.w-3{width:calc(var(--spacing)*3)}.w-full{width:100%}.w-screen{width:100vw}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-e-resize{cursor:e-resize}.cursor-move{cursor:move}.cursor-n-resize{cursor:n-resize}.cursor-ne-resize{cursor:ne-resize}.cursor-nw-resize{cursor:nw-resize}.cursor-s-resize{cursor:s-resize}.cursor-se-resize{cursor:se-resize}.cursor-sw-resize{cursor:sw-resize}.cursor-w-resize{cursor:w-resize}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\[\#2196F3\]{border-color:#2196f3}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-\[\#2196F3\]{background-color:#2196f3}.bg-\[\#2196F3\]\/10{background-color:#2196f31a}.bg-black\/75{background-color:#000000bf}@supports (color:color-mix(in lab,red,red)){.bg-black\/75{background-color:color-mix(in oklab,var(--color-black)75%,transparent)}}.bg-white{background-color:var(--color-white)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-2{padding-block:calc(var(--spacing)*2)}.font-mono{font-family:var(--font-mono)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.whitespace-nowrap{white-space:nowrap}.text-\[\#FF5252\]{color:#ff5252}.text-white{color:var(--color-white)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-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,)}.backdrop-filter{-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,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-\[cubic-bezier\(0\.23\,1\,0\.32\,1\)\]{--tw-ease:cubic-bezier(.23,1,.32,1);transition-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.select-none{-webkit-user-select:none;user-select:none}}html,body{background:0 0;width:100vw;height:100vh;margin:0;padding:0;overflow:hidden}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
package/dist/overlay.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();function Gs(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const k={},me=[],zt=()=>{},tr=()=>!1,us=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Js=t=>t.startsWith("onUpdate:"),ht=Object.assign,Zs=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},er=Object.prototype.hasOwnProperty,V=(t,e)=>er.call(t,e),L=Array.isArray,ve=t=>as(t)==="[object Map]",qn=t=>as(t)==="[object Set]",Y=t=>typeof t=="function",tt=t=>typeof t=="string",ee=t=>typeof t=="symbol",Q=t=>t!==null&&typeof t=="object",Gn=t=>(Q(t)||Y(t))&&Y(t.then)&&Y(t.catch),Jn=Object.prototype.toString,as=t=>Jn.call(t),sr=t=>as(t).slice(8,-1),Zn=t=>as(t)==="[object Object]",Qs=t=>tt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Pe=Gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ds=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},nr=/-(\w)/g,te=ds(t=>t.replace(nr,(e,s)=>s?s.toUpperCase():"")),ir=/\B([A-Z])/g,de=ds(t=>t.replace(ir,"-$1").toLowerCase()),Qn=ds(t=>t.charAt(0).toUpperCase()+t.slice(1)),As=ds(t=>t?`on${Qn(t)}`:""),Zt=(t,e)=>!Object.is(t,e),Qe=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},ti=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},zs=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let mn;const hs=()=>mn||(mn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function St(t){if(L(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=tt(n)?cr(n):St(n);if(i)for(const r in i)e[r]=i[r]}return e}else if(tt(t)||Q(t))return t}const rr=/;(?![^(]*\))/g,or=/:([^]+)/,lr=/\/\*[^]*?\*\//g;function cr(t){const e={};return t.replace(lr,"").split(rr).forEach(s=>{if(s){const n=s.split(or);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Le(t){let e="";if(tt(t))e=t;else if(L(t))for(let s=0;s<t.length;s++){const n=Le(t[s]);n&&(e+=n+" ")}else if(Q(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const fr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ur=Gs(fr);function ei(t){return!!t||t===""}const si=t=>!!(t&&t.__v_isRef===!0),ce=t=>tt(t)?t:t==null?"":L(t)||Q(t)&&(t.toString===Jn||!Y(t.toString))?si(t)?ce(t.value):JSON.stringify(t,ni,2):String(t),ni=(t,e)=>si(e)?ni(t,e.value):ve(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],r)=>(s[Cs(n,r)+" =>"]=i,s),{})}:qn(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>Cs(s))}:ee(e)?Cs(e):Q(e)&&!L(e)&&!Zn(e)?String(e):e,Cs=(t,e="")=>{var s;return ee(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};let yt;class ar{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=yt,!e&&yt&&(this.index=(yt.scopes||(yt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=yt;try{return yt=this,e()}finally{yt=s}}}on(){yt=this}off(){yt=this.parent}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function dr(){return yt}let J;const Es=new WeakSet;class ii{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,yt&&yt.active&&yt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Es.has(this)&&(Es.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||oi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,vn(this),li(this);const e=J,s=Rt;J=this,Rt=!0;try{return this.fn()}finally{ci(this),J=e,Rt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)sn(e);this.deps=this.depsTail=void 0,vn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Es.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ls(this)&&this.run()}get dirty(){return Ls(this)}}let ri=0,Fe,Ie;function oi(t,e=!1){if(t.flags|=8,e){t.next=Ie,Ie=t;return}t.next=Fe,Fe=t}function tn(){ri++}function en(){if(--ri>0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Fe;){let e=Fe;for(Fe=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function li(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function ci(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),sn(n),hr(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function Ls(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(fi(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function fi(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===He))return;t.globalVersion=He;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!Ls(t)){t.flags&=-3;return}const s=J,n=Rt;J=t,Rt=!0;try{li(t);const i=t.fn(t._value);(e.version===0||Zt(i,t._value))&&(t._value=i,e.version++)}catch(i){throw e.version++,i}finally{J=s,Rt=n,ci(t),t.flags&=-3}}function sn(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)sn(r,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function hr(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Rt=!0;const ui=[];function se(){ui.push(Rt),Rt=!1}function ne(){const t=ui.pop();Rt=t===void 0?!0:t}function vn(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=J;J=void 0;try{e()}finally{J=s}}}let He=0;class pr{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class nn{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!J||!Rt||J===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==J)s=this.activeLink=new pr(J,this),J.deps?(s.prevDep=J.depsTail,J.depsTail.nextDep=s,J.depsTail=s):J.deps=J.depsTail=s,ai(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=J.depsTail,s.nextDep=void 0,J.depsTail.nextDep=s,J.depsTail=s,J.deps===s&&(J.deps=n)}return s}trigger(e){this.version++,He++,this.notify(e)}notify(e){tn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{en()}}}function ai(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)ai(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Hs=new WeakMap,fe=Symbol(""),Ys=Symbol(""),Ye=Symbol("");function rt(t,e,s){if(Rt&&J){let n=Hs.get(t);n||Hs.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new nn),i.map=n,i.key=s),i.track()}}function Xt(t,e,s,n,i,r){const o=Hs.get(t);if(!o){He++;return}const l=c=>{c&&c.trigger()};if(tn(),e==="clear")o.forEach(l);else{const c=L(t),d=c&&Qs(s);if(c&&s==="length"){const a=Number(n);o.forEach((h,v)=>{(v==="length"||v===Ye||!ee(v)&&v>=a)&&l(h)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Ye)),e){case"add":c?d&&l(o.get("length")):(l(o.get(fe)),ve(t)&&l(o.get(Ys)));break;case"delete":c||(l(o.get(fe)),ve(t)&&l(o.get(Ys)));break;case"set":ve(t)&&l(o.get(fe));break}}en()}function pe(t){const e=U(t);return e===t?e:(rt(e,"iterate",Ye),Mt(t)?e:e.map(ot))}function ps(t){return rt(t=U(t),"iterate",Ye),t}const gr={__proto__:null,[Symbol.iterator](){return Rs(this,Symbol.iterator,ot)},concat(...t){return pe(this).concat(...t.map(e=>L(e)?pe(e):e))},entries(){return Rs(this,"entries",t=>(t[1]=ot(t[1]),t))},every(t,e){return jt(this,"every",t,e,void 0,arguments)},filter(t,e){return jt(this,"filter",t,e,s=>s.map(ot),arguments)},find(t,e){return jt(this,"find",t,e,ot,arguments)},findIndex(t,e){return jt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return jt(this,"findLast",t,e,ot,arguments)},findLastIndex(t,e){return jt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return jt(this,"forEach",t,e,void 0,arguments)},includes(...t){return Os(this,"includes",t)},indexOf(...t){return Os(this,"indexOf",t)},join(t){return pe(this).join(t)},lastIndexOf(...t){return Os(this,"lastIndexOf",t)},map(t,e){return jt(this,"map",t,e,void 0,arguments)},pop(){return Ce(this,"pop")},push(...t){return Ce(this,"push",t)},reduce(t,...e){return yn(this,"reduce",t,e)},reduceRight(t,...e){return yn(this,"reduceRight",t,e)},shift(){return Ce(this,"shift")},some(t,e){return jt(this,"some",t,e,void 0,arguments)},splice(...t){return Ce(this,"splice",t)},toReversed(){return pe(this).toReversed()},toSorted(t){return pe(this).toSorted(t)},toSpliced(...t){return pe(this).toSpliced(...t)},unshift(...t){return Ce(this,"unshift",t)},values(){return Rs(this,"values",ot)}};function Rs(t,e,s){const n=ps(t),i=n[e]();return n!==t&&!Mt(t)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.value&&(r.value=s(r.value)),r}),i}const br=Array.prototype;function jt(t,e,s,n,i,r){const o=ps(t),l=o!==t&&!Mt(t),c=o[e];if(c!==br[e]){const h=c.apply(t,r);return l?ot(h):h}let d=s;o!==t&&(l?d=function(h,v){return s.call(this,ot(h),v,t)}:s.length>2&&(d=function(h,v){return s.call(this,h,v,t)}));const a=c.call(o,d,n);return l&&i?i(a):a}function yn(t,e,s,n){const i=ps(t);let r=s;return i!==t&&(Mt(t)?s.length>3&&(r=function(o,l,c){return s.call(this,o,l,c,t)}):r=function(o,l,c){return s.call(this,o,ot(l),c,t)}),i[e](r,...n)}function Os(t,e,s){const n=U(t);rt(n,"iterate",Ye);const i=n[e](...s);return(i===-1||i===!1)&&ln(s[0])?(s[0]=U(s[0]),n[e](...s)):i}function Ce(t,e,s=[]){se(),tn();const n=U(t)[e].apply(t,s);return en(),ne(),n}const mr=Gs("__proto__,__v_isRef,__isVue"),di=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ee));function vr(t){ee(t)||(t=String(t));const e=U(this);return rt(e,"has",t),e.hasOwnProperty(t)}class hi{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Er:mi:r?bi:gi).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=L(e);if(!i){let c;if(o&&(c=gr[s]))return c;if(s==="hasOwnProperty")return vr}const l=Reflect.get(e,s,lt(e)?e:n);return(ee(s)?di.has(s):mr(s))||(i||rt(e,"get",s),r)?l:lt(l)?o&&Qs(s)?l:l.value:Q(l)?i?vi(l):gs(l):l}}class pi extends hi{constructor(e=!1){super(!1,e)}set(e,s,n,i){let r=e[s];if(!this._isShallow){const c=ue(r);if(!Mt(n)&&!ue(n)&&(r=U(r),n=U(n)),!L(e)&<(r)&&!lt(n))return c?!1:(r.value=n,!0)}const o=L(e)&&Qs(s)?Number(s)<e.length:V(e,s),l=Reflect.set(e,s,n,lt(e)?e:i);return e===U(i)&&(o?Zt(n,r)&&Xt(e,"set",s,n):Xt(e,"add",s,n)),l}deleteProperty(e,s){const n=V(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&Xt(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!ee(s)||!di.has(s))&&rt(e,"has",s),n}ownKeys(e){return rt(e,"iterate",L(e)?"length":fe),Reflect.ownKeys(e)}}class yr extends hi{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const xr=new pi,wr=new yr,_r=new pi(!0);const js=t=>t,Ke=t=>Reflect.getPrototypeOf(t);function Sr(t,e,s){return function(...n){const i=this.__v_raw,r=U(i),o=ve(r),l=t==="entries"||t===Symbol.iterator&&o,c=t==="keys"&&o,d=i[t](...n),a=s?js:e?Ws:ot;return!e&&rt(r,"iterate",c?Ys:fe),{next(){const{value:h,done:v}=d.next();return v?{value:h,done:v}:{value:l?[a(h[0]),a(h[1])]:a(h),done:v}},[Symbol.iterator](){return this}}}}function ke(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Mr(t,e){const s={get(i){const r=this.__v_raw,o=U(r),l=U(i);t||(Zt(i,l)&&rt(o,"get",i),rt(o,"get",l));const{has:c}=Ke(o),d=e?js:t?Ws:ot;if(c.call(o,i))return d(r.get(i));if(c.call(o,l))return d(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!t&&rt(U(i),"iterate",fe),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,o=U(r),l=U(i);return t||(Zt(i,l)&&rt(o,"has",i),rt(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=U(l),d=e?js:t?Ws:ot;return!t&&rt(c,"iterate",fe),l.forEach((a,h)=>i.call(r,d(a),d(h),o))}};return ht(s,t?{add:ke("add"),set:ke("set"),delete:ke("delete"),clear:ke("clear")}:{add(i){!e&&!Mt(i)&&!ue(i)&&(i=U(i));const r=U(this);return Ke(r).has.call(r,i)||(r.add(i),Xt(r,"add",i,i)),this},set(i,r){!e&&!Mt(r)&&!ue(r)&&(r=U(r));const o=U(this),{has:l,get:c}=Ke(o);let d=l.call(o,i);d||(i=U(i),d=l.call(o,i));const a=c.call(o,i);return o.set(i,r),d?Zt(r,a)&&Xt(o,"set",i,r):Xt(o,"add",i,r),this},delete(i){const r=U(this),{has:o,get:l}=Ke(r);let c=o.call(r,i);c||(i=U(i),c=o.call(r,i)),l&&l.call(r,i);const d=r.delete(i);return c&&Xt(r,"delete",i,void 0),d},clear(){const i=U(this),r=i.size!==0,o=i.clear();return r&&Xt(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Sr(i,t,e)}),s}function rn(t,e){const s=Mr(t,e);return(n,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(V(s,i)&&i in n?s:n,i,r)}const Tr={get:rn(!1,!1)},Ar={get:rn(!1,!0)},Cr={get:rn(!0,!1)};const gi=new WeakMap,bi=new WeakMap,mi=new WeakMap,Er=new WeakMap;function Rr(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Or(t){return t.__v_skip||!Object.isExtensible(t)?0:Rr(sr(t))}function gs(t){return ue(t)?t:on(t,!1,xr,Tr,gi)}function Pr(t){return on(t,!1,_r,Ar,bi)}function vi(t){return on(t,!0,wr,Cr,mi)}function on(t,e,s,n,i){if(!Q(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=i.get(t);if(r)return r;const o=Or(t);if(o===0)return t;const l=new Proxy(t,o===2?n:s);return i.set(t,l),l}function ye(t){return ue(t)?ye(t.__v_raw):!!(t&&t.__v_isReactive)}function ue(t){return!!(t&&t.__v_isReadonly)}function Mt(t){return!!(t&&t.__v_isShallow)}function ln(t){return t?!!t.__v_raw:!1}function U(t){const e=t&&t.__v_raw;return e?U(e):t}function yi(t){return!V(t,"__v_skip")&&Object.isExtensible(t)&&ti(t,"__v_skip",!0),t}const ot=t=>Q(t)?gs(t):t,Ws=t=>Q(t)?vi(t):t;function lt(t){return t?t.__v_isRef===!0:!1}function Ut(t){return Fr(t,!1)}function Fr(t,e){return lt(t)?t:new Ir(t,e)}class Ir{constructor(e,s){this.dep=new nn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:U(e),this._value=s?e:ot(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Mt(e)||ue(e);e=n?e:U(e),Zt(e,s)&&(this._rawValue=e,this._value=n?e:ot(e),this.dep.trigger())}}function qt(t){return lt(t)?t.value:t}const Dr={get:(t,e,s)=>e==="__v_raw"?t:qt(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return lt(i)&&!lt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function xi(t){return ye(t)?t:new Proxy(t,Dr)}class $r{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new nn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=He-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&J!==this)return oi(this,!0),!0}get value(){const e=this.dep.track();return fi(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Nr(t,e,s=!1){let n,i;return Y(t)?n=t:(n=t.get,i=t.set),new $r(n,i,s)}const qe={},ns=new WeakMap;let le;function zr(t,e=!1,s=le){if(s){let n=ns.get(s);n||ns.set(s,n=[]),n.push(t)}}function Lr(t,e,s=k){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=s,d=b=>i?b:Mt(b)||i===!1||i===0?Vt(b,1):Vt(b);let a,h,v,y,M=!1,O=!1;if(lt(t)?(h=()=>t.value,M=Mt(t)):ye(t)?(h=()=>d(t),M=!0):L(t)?(O=!0,M=t.some(b=>ye(b)||Mt(b)),h=()=>t.map(b=>{if(lt(b))return b.value;if(ye(b))return d(b);if(Y(b))return c?c(b,2):b()})):Y(t)?e?h=c?()=>c(t,2):t:h=()=>{if(v){se();try{v()}finally{ne()}}const b=le;le=a;try{return c?c(t,3,[y]):t(y)}finally{le=b}}:h=zt,e&&i){const b=h,C=i===!0?1/0:i;h=()=>Vt(b(),C)}const q=dr(),$=()=>{a.stop(),q&&q.active&&Zs(q.effects,a)};if(r&&e){const b=e;e=(...C)=>{b(...C),$()}}let R=O?new Array(t.length).fill(qe):qe;const p=b=>{if(!(!(a.flags&1)||!a.dirty&&!b))if(e){const C=a.run();if(i||M||(O?C.some((P,I)=>Zt(P,R[I])):Zt(C,R))){v&&v();const P=le;le=a;try{const I=[C,R===qe?void 0:O&&R[0]===qe?[]:R,y];c?c(e,3,I):e(...I),R=C}finally{le=P}}}else a.run()};return l&&l(p),a=new ii(h),a.scheduler=o?()=>o(p,!1):p,y=b=>zr(b,!1,a),v=a.onStop=()=>{const b=ns.get(a);if(b){if(c)c(b,4);else for(const C of b)C();ns.delete(a)}},e?n?p(!0):R=a.run():o?o(p.bind(null,!0),!0):a.run(),$.pause=a.pause.bind(a),$.resume=a.resume.bind(a),$.stop=$,$}function Vt(t,e=1/0,s){if(e<=0||!Q(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,lt(t))Vt(t.value,e,s);else if(L(t))for(let n=0;n<t.length;n++)Vt(t[n],e,s);else if(qn(t)||ve(t))t.forEach(n=>{Vt(n,e,s)});else if(Zn(t)){for(const n in t)Vt(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Vt(t[n],e,s)}return t}function Ue(t,e,s,n){try{return n?t(...n):t()}catch(i){bs(i,e,s)}}function Ht(t,e,s,n){if(Y(t)){const i=Ue(t,e,s,n);return i&&Gn(i)&&i.catch(r=>{bs(r,e,s)}),i}if(L(t)){const i=[];for(let r=0;r<t.length;r++)i.push(Ht(t[r],e,s,n));return i}}function bs(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||k;if(e){let l=e.parent;const c=e.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](t,c,d)===!1)return}l=l.parent}if(r){se(),Ue(r,null,10,[t,c,d]),ne();return}}Hr(t,s,i,n,o)}function Hr(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const ut=[];let Dt=-1;const xe=[];let Gt=null,ge=0;const wi=Promise.resolve();let is=null;function Yr(t){const e=is||wi;return t?e.then(this?t.bind(this):t):e}function jr(t){let e=Dt+1,s=ut.length;for(;e<s;){const n=e+s>>>1,i=ut[n],r=je(i);r<t||r===t&&i.flags&2?e=n+1:s=n}return e}function cn(t){if(!(t.flags&1)){const e=je(t),s=ut[ut.length-1];!s||!(t.flags&2)&&e>=je(s)?ut.push(t):ut.splice(jr(e),0,t),t.flags|=1,_i()}}function _i(){is||(is=wi.then(Mi))}function Wr(t){L(t)?xe.push(...t):Gt&&t.id===-1?Gt.splice(ge+1,0,t):t.flags&1||(xe.push(t),t.flags|=1),_i()}function xn(t,e,s=Dt+1){for(;s<ut.length;s++){const n=ut[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;ut.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Si(t){if(xe.length){const e=[...new Set(xe)].sort((s,n)=>je(s)-je(n));if(xe.length=0,Gt){Gt.push(...e);return}for(Gt=e,ge=0;ge<Gt.length;ge++){const s=Gt[ge];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Gt=null,ge=0}}const je=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Mi(t){try{for(Dt=0;Dt<ut.length;Dt++){const e=ut[Dt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Ue(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Dt<ut.length;Dt++){const e=ut[Dt];e&&(e.flags&=-2)}Dt=-1,ut.length=0,Si(),is=null,(ut.length||xe.length)&&Mi()}}let _t=null,Ti=null;function rs(t){const e=_t;return _t=t,Ti=t&&t.type.__scopeId||null,e}function Xr(t,e=_t,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Fn(-1);const r=rs(e);let o;try{o=t(...i)}finally{rs(r),n._d&&Fn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ge(t,e){if(_t===null)return t;const s=_s(_t),n=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[r,o,l,c=k]=e[i];r&&(Y(r)&&(r={mounted:r,updated:r}),r.deep&&Vt(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:c}))}return t}function re(t,e,s,n){const i=t.dirs,r=e&&e.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let c=l.dir[n];c&&(se(),Ht(c,s,8,[t.el,l,t,e]),ne())}}const Ai=Symbol("_vte"),Ur=t=>t.__isTeleport,De=t=>t&&(t.disabled||t.disabled===""),wn=t=>t&&(t.defer||t.defer===""),_n=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Sn=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Xs=(t,e)=>{const s=t&&t.to;return tt(s)?e?e(s):null:s},Ci={name:"Teleport",__isTeleport:!0,process(t,e,s,n,i,r,o,l,c,d){const{mc:a,pc:h,pbc:v,o:{insert:y,querySelector:M,createText:O,createComment:q}}=d,$=De(e.props);let{shapeFlag:R,children:p,dynamicChildren:b}=e;if(t==null){const C=e.el=O(""),P=e.anchor=O("");y(C,s,n),y(P,s,n);const I=(H,Z)=>{R&16&&(i&&i.isCE&&(i.ce._teleportTarget=H),a(p,H,Z,i,r,o,l,c))},j=()=>{const H=e.target=Xs(e.props,M),Z=Ei(H,e,O,y);H&&(o!=="svg"&&_n(H)?o="svg":o!=="mathml"&&Sn(H)&&(o="mathml"),$||(I(H,Z),ts(e,!1)))};$&&(I(s,P),ts(e,!0)),wn(e.props)?ft(()=>{j(),e.el.__isMounted=!0},r):j()}else{if(wn(e.props)&&!t.el.__isMounted){ft(()=>{Ci.process(t,e,s,n,i,r,o,l,c,d),delete t.el.__isMounted},r);return}e.el=t.el,e.targetStart=t.targetStart;const C=e.anchor=t.anchor,P=e.target=t.target,I=e.targetAnchor=t.targetAnchor,j=De(t.props),H=j?s:P,Z=j?C:I;if(o==="svg"||_n(P)?o="svg":(o==="mathml"||Sn(P))&&(o="mathml"),b?(v(t.dynamicChildren,b,H,i,r,o,l),an(t,e,!0)):c||h(t,e,H,Z,i,r,o,l,!1),$)j?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Je(e,s,C,d,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const nt=e.target=Xs(e.props,M);nt&&Je(e,nt,null,d,0)}else j&&Je(e,P,I,d,1);ts(e,$)}},remove(t,e,s,{um:n,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:c,targetStart:d,targetAnchor:a,target:h,props:v}=t;if(h&&(i(d),i(a)),r&&i(c),o&16){const y=r||!De(v);for(let M=0;M<l.length;M++){const O=l[M];n(O,e,s,y,!!O.dynamicChildren)}}},move:Je,hydrate:Vr};function Je(t,e,s,{o:{insert:n},m:i},r=2){r===0&&n(t.targetAnchor,e,s);const{el:o,anchor:l,shapeFlag:c,children:d,props:a}=t,h=r===2;if(h&&n(o,e,s),(!h||De(a))&&c&16)for(let v=0;v<d.length;v++)i(d[v],e,s,2);h&&n(l,e,s)}function Vr(t,e,s,n,i,r,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:d,createText:a}},h){const v=e.target=Xs(e.props,c);if(v){const y=De(e.props),M=v._lpa||v.firstChild;if(e.shapeFlag&16)if(y)e.anchor=h(o(t),e,l(t),s,n,i,r),e.targetStart=M,e.targetAnchor=M&&o(M);else{e.anchor=o(t);let O=M;for(;O;){if(O&&O.nodeType===8){if(O.data==="teleport start anchor")e.targetStart=O;else if(O.data==="teleport anchor"){e.targetAnchor=O,v._lpa=e.targetAnchor&&o(e.targetAnchor);break}}O=o(O)}e.targetAnchor||Ei(v,e,a,d),h(M&&o(M),e,v,s,n,i,r)}ts(e,y)}return e.anchor&&o(e.anchor)}const Br=Ci;function ts(t,e){const s=t.ctx;if(s&&s.ut){let n,i;for(e?(n=t.el,i=t.anchor):(n=t.targetStart,i=t.targetAnchor);n&&n!==i;)n.nodeType===1&&n.setAttribute("data-v-owner",s.uid),n=n.nextSibling;s.ut()}}function Ei(t,e,s,n){const i=e.targetStart=s(""),r=e.targetAnchor=s("");return i[Ai]=r,t&&(n(i,t),n(r,t)),r}function fn(t,e){t.shapeFlag&6&&t.component?(t.transition=e,fn(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ri(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function os(t,e,s,n,i=!1){if(L(t)){t.forEach((M,O)=>os(M,e&&(L(e)?e[O]:e),s,n,i));return}if($e(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&os(t,e,s,n.component.subTree);return}const r=n.shapeFlag&4?_s(n.component):n.el,o=i?null:r,{i:l,r:c}=t,d=e&&e.r,a=l.refs===k?l.refs={}:l.refs,h=l.setupState,v=U(h),y=h===k?()=>!1:M=>V(v,M);if(d!=null&&d!==c&&(tt(d)?(a[d]=null,y(d)&&(h[d]=null)):lt(d)&&(d.value=null)),Y(c))Ue(c,l,12,[o,a]);else{const M=tt(c),O=lt(c);if(M||O){const q=()=>{if(t.f){const $=M?y(c)?h[c]:a[c]:c.value;i?L($)&&Zs($,r):L($)?$.includes(r)||$.push(r):M?(a[c]=[r],y(c)&&(h[c]=a[c])):(c.value=[r],t.k&&(a[t.k]=c.value))}else M?(a[c]=o,y(c)&&(h[c]=o)):O&&(c.value=o,t.k&&(a[t.k]=o))};o?(q.id=-1,ft(q,s)):q()}}}hs().requestIdleCallback;hs().cancelIdleCallback;const $e=t=>!!t.type.__asyncLoader,Oi=t=>t.type.__isKeepAlive;function Kr(t,e){Pi(t,"a",e)}function kr(t,e){Pi(t,"da",e)}function Pi(t,e,s=dt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(ms(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Oi(i.parent.vnode)&&qr(n,e,s,i),i=i.parent}}function qr(t,e,s,n){const i=ms(e,t,n,!0);ys(()=>{Zs(n[e],i)},s)}function ms(t,e,s=dt,n=!1){if(s){const i=s[t]||(s[t]=[]),r=e.__weh||(e.__weh=(...o)=>{se();const l=Ve(s),c=Ht(e,s,t,o);return l(),ne(),c});return n?i.unshift(r):i.push(r),r}}const Kt=t=>(e,s=dt)=>{(!Xe||t==="sp")&&ms(t,(...n)=>e(...n),s)},Gr=Kt("bm"),vs=Kt("m"),Jr=Kt("bu"),Zr=Kt("u"),Qr=Kt("bum"),ys=Kt("um"),to=Kt("sp"),eo=Kt("rtg"),so=Kt("rtc");function no(t,e=dt){ms("ec",t,e)}const io=Symbol.for("v-ndc");function ro(t,e,s,n){let i;const r=s,o=L(t);if(o||tt(t)){const l=o&&ye(t);let c=!1;l&&(c=!Mt(t),t=ps(t)),i=new Array(t.length);for(let d=0,a=t.length;d<a;d++)i[d]=e(c?ot(t[d]):t[d],d,void 0,r)}else if(typeof t=="number"){i=new Array(t);for(let l=0;l<t;l++)i[l]=e(l+1,l,void 0,r)}else if(Q(t))if(t[Symbol.iterator])i=Array.from(t,(l,c)=>e(l,c,void 0,r));else{const l=Object.keys(t);i=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const a=l[c];i[c]=e(t[a],a,c,r)}}else i=[];return i}const Us=t=>t?Ji(t)?_s(t):Us(t.parent):null,Ne=ht(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Us(t.parent),$root:t=>Us(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Ii(t),$forceUpdate:t=>t.f||(t.f=()=>{cn(t.update)}),$nextTick:t=>t.n||(t.n=Yr.bind(t.proxy)),$watch:t=>Eo.bind(t)}),Ps=(t,e)=>t!==k&&!t.__isScriptSetup&&V(t,e),oo={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:c}=t;let d;if(e[0]!=="$"){const y=o[e];if(y!==void 0)switch(y){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return r[e]}else{if(Ps(n,e))return o[e]=1,n[e];if(i!==k&&V(i,e))return o[e]=2,i[e];if((d=t.propsOptions[0])&&V(d,e))return o[e]=3,r[e];if(s!==k&&V(s,e))return o[e]=4,s[e];Vs&&(o[e]=0)}}const a=Ne[e];let h,v;if(a)return e==="$attrs"&&rt(t.attrs,"get",""),a(t);if((h=l.__cssModules)&&(h=h[e]))return h;if(s!==k&&V(s,e))return o[e]=4,s[e];if(v=c.config.globalProperties,V(v,e))return v[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:r}=t;return Ps(i,e)?(i[e]=s,!0):n!==k&&V(n,e)?(n[e]=s,!0):V(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:i,propsOptions:r}},o){let l;return!!s[o]||t!==k&&V(t,o)||Ps(e,o)||(l=r[0])&&V(l,o)||V(n,o)||V(Ne,o)||V(i.config.globalProperties,o)},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:V(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Mn(t){return L(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Vs=!0;function lo(t){const e=Ii(t),s=t.proxy,n=t.ctx;Vs=!1,e.beforeCreate&&Tn(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:d,created:a,beforeMount:h,mounted:v,beforeUpdate:y,updated:M,activated:O,deactivated:q,beforeDestroy:$,beforeUnmount:R,destroyed:p,unmounted:b,render:C,renderTracked:P,renderTriggered:I,errorCaptured:j,serverPrefetch:H,expose:Z,inheritAttrs:nt,components:pt,directives:At,filters:bt}=e;if(d&&co(d,n,null),o)for(const B in o){const X=o[B];Y(X)&&(n[B]=X.bind(s))}if(i){const B=i.call(s,s);Q(B)&&(t.data=gs(B))}if(Vs=!0,r)for(const B in r){const X=r[B],Ct=Y(X)?X.bind(s,s):Y(X.get)?X.get.bind(s,s):zt,kt=!Y(X)&&Y(X.set)?X.set.bind(s):zt,Yt=Lt({get:Ct,set:kt});Object.defineProperty(n,B,{enumerable:!0,configurable:!0,get:()=>Yt.value,set:wt=>Yt.value=wt})}if(l)for(const B in l)Fi(l[B],n,s,B);if(c){const B=Y(c)?c.call(s):c;Reflect.ownKeys(B).forEach(X=>{Oe(X,B[X])})}a&&Tn(a,t,"c");function it(B,X){L(X)?X.forEach(Ct=>B(Ct.bind(s))):X&&B(X.bind(s))}if(it(Gr,h),it(vs,v),it(Jr,y),it(Zr,M),it(Kr,O),it(kr,q),it(no,j),it(so,P),it(eo,I),it(Qr,R),it(ys,b),it(to,H),L(Z))if(Z.length){const B=t.exposed||(t.exposed={});Z.forEach(X=>{Object.defineProperty(B,X,{get:()=>s[X],set:Ct=>s[X]=Ct})})}else t.exposed||(t.exposed={});C&&t.render===zt&&(t.render=C),nt!=null&&(t.inheritAttrs=nt),pt&&(t.components=pt),At&&(t.directives=At),H&&Ri(t)}function co(t,e,s=zt){L(t)&&(t=Bs(t));for(const n in t){const i=t[n];let r;Q(i)?"default"in i?r=Bt(i.from||n,i.default,!0):r=Bt(i.from||n):r=Bt(i),lt(r)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[n]=r}}function Tn(t,e,s){Ht(L(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function Fi(t,e,s,n){let i=n.includes(".")?Vi(s,n):()=>s[n];if(tt(t)){const r=e[t];Y(r)&&Qt(i,r)}else if(Y(t))Qt(i,t.bind(s));else if(Q(t))if(L(t))t.forEach(r=>Fi(r,e,s,n));else{const r=Y(t.handler)?t.handler.bind(s):e[t.handler];Y(r)&&Qt(i,r,t)}}function Ii(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,l=r.get(e);let c;return l?c=l:!i.length&&!s&&!n?c=e:(c={},i.length&&i.forEach(d=>ls(c,d,o,!0)),ls(c,e,o)),Q(e)&&r.set(e,c),c}function ls(t,e,s,n=!1){const{mixins:i,extends:r}=e;r&&ls(t,r,s,!0),i&&i.forEach(o=>ls(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=fo[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const fo={data:An,props:Cn,emits:Cn,methods:Re,computed:Re,beforeCreate:ct,created:ct,beforeMount:ct,mounted:ct,beforeUpdate:ct,updated:ct,beforeDestroy:ct,beforeUnmount:ct,destroyed:ct,unmounted:ct,activated:ct,deactivated:ct,errorCaptured:ct,serverPrefetch:ct,components:Re,directives:Re,watch:ao,provide:An,inject:uo};function An(t,e){return e?t?function(){return ht(Y(t)?t.call(this,this):t,Y(e)?e.call(this,this):e)}:e:t}function uo(t,e){return Re(Bs(t),Bs(e))}function Bs(t){if(L(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function ct(t,e){return t?[...new Set([].concat(t,e))]:e}function Re(t,e){return t?ht(Object.create(null),t,e):e}function Cn(t,e){return t?L(t)&&L(e)?[...new Set([...t,...e])]:ht(Object.create(null),Mn(t),Mn(e??{})):e}function ao(t,e){if(!t)return e;if(!e)return t;const s=ht(Object.create(null),t);for(const n in e)s[n]=ct(t[n],e[n]);return s}function Di(){return{app:null,config:{isNativeTag:tr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ho=0;function po(t,e){return function(n,i=null){Y(n)||(n=ht({},n)),i!=null&&!Q(i)&&(i=null);const r=Di(),o=new WeakSet,l=[];let c=!1;const d=r.app={_uid:ho++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:qo,get config(){return r.config},set config(a){},use(a,...h){return o.has(a)||(a&&Y(a.install)?(o.add(a),a.install(d,...h)):Y(a)&&(o.add(a),a(d,...h))),d},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),d},component(a,h){return h?(r.components[a]=h,d):r.components[a]},directive(a,h){return h?(r.directives[a]=h,d):r.directives[a]},mount(a,h,v){if(!c){const y=d._ceVNode||Tt(n,i);return y.appContext=r,v===!0?v="svg":v===!1&&(v=void 0),t(y,a,v),c=!0,d._container=a,a.__vue_app__=d,_s(y.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Ht(l,d._instance,16),t(null,d._container),delete d._container.__vue_app__)},provide(a,h){return r.provides[a]=h,d},runWithContext(a){const h=we;we=d;try{return a()}finally{we=h}}};return d}}let we=null;function Oe(t,e){if(dt){let s=dt.provides;const n=dt.parent&&dt.parent.provides;n===s&&(s=dt.provides=Object.create(n)),s[t]=e}}function Bt(t,e,s=!1){const n=dt||_t;if(n||we){const i=we?we._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return s&&Y(e)?e.call(n&&n.proxy):e}}const $i={},Ni=()=>Object.create($i),zi=t=>Object.getPrototypeOf(t)===$i;function go(t,e,s,n=!1){const i={},r=Ni();t.propsDefaults=Object.create(null),Li(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);s?t.props=n?i:Pr(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function bo(t,e,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,l=U(i),[c]=t.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=t.vnode.dynamicProps;for(let h=0;h<a.length;h++){let v=a[h];if(xs(t.emitsOptions,v))continue;const y=e[v];if(c)if(V(r,v))y!==r[v]&&(r[v]=y,d=!0);else{const M=te(v);i[M]=Ks(c,l,M,y,t,!1)}else y!==r[v]&&(r[v]=y,d=!0)}}}else{Li(t,e,i,r)&&(d=!0);let a;for(const h in l)(!e||!V(e,h)&&((a=de(h))===h||!V(e,a)))&&(c?s&&(s[h]!==void 0||s[a]!==void 0)&&(i[h]=Ks(c,l,h,void 0,t,!0)):delete i[h]);if(r!==l)for(const h in r)(!e||!V(e,h))&&(delete r[h],d=!0)}d&&Xt(t.attrs,"set","")}function Li(t,e,s,n){const[i,r]=t.propsOptions;let o=!1,l;if(e)for(let c in e){if(Pe(c))continue;const d=e[c];let a;i&&V(i,a=te(c))?!r||!r.includes(a)?s[a]=d:(l||(l={}))[a]=d:xs(t.emitsOptions,c)||(!(c in n)||d!==n[c])&&(n[c]=d,o=!0)}if(r){const c=U(s),d=l||k;for(let a=0;a<r.length;a++){const h=r[a];s[h]=Ks(i,c,h,d[h],t,!V(d,h))}}return o}function Ks(t,e,s,n,i,r){const o=t[s];if(o!=null){const l=V(o,"default");if(l&&n===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&Y(c)){const{propsDefaults:d}=i;if(s in d)n=d[s];else{const a=Ve(i);n=d[s]=c.call(null,e),a()}}else n=c;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===de(s))&&(n=!0))}return n}const mo=new WeakMap;function Hi(t,e,s=!1){const n=s?mo:e.propsCache,i=n.get(t);if(i)return i;const r=t.props,o={},l=[];let c=!1;if(!Y(t)){const a=h=>{c=!0;const[v,y]=Hi(h,e,!0);ht(o,v),y&&l.push(...y)};!s&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}if(!r&&!c)return Q(t)&&n.set(t,me),me;if(L(r))for(let a=0;a<r.length;a++){const h=te(r[a]);En(h)&&(o[h]=k)}else if(r)for(const a in r){const h=te(a);if(En(h)){const v=r[a],y=o[h]=L(v)||Y(v)?{type:v}:ht({},v),M=y.type;let O=!1,q=!0;if(L(M))for(let $=0;$<M.length;++$){const R=M[$],p=Y(R)&&R.name;if(p==="Boolean"){O=!0;break}else p==="String"&&(q=!1)}else O=Y(M)&&M.name==="Boolean";y[0]=O,y[1]=q,(O||V(y,"default"))&&l.push(h)}}const d=[o,l];return Q(t)&&n.set(t,d),d}function En(t){return t[0]!=="$"&&!Pe(t)}const Yi=t=>t[0]==="_"||t==="$stable",un=t=>L(t)?t.map($t):[$t(t)],vo=(t,e,s)=>{if(e._n)return e;const n=Xr((...i)=>un(e(...i)),s);return n._c=!1,n},ji=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Yi(i))continue;const r=t[i];if(Y(r))e[i]=vo(i,r,n);else if(r!=null){const o=un(r);e[i]=()=>o}}},Wi=(t,e)=>{const s=un(e);t.slots.default=()=>s},Xi=(t,e,s)=>{for(const n in e)(s||n!=="_")&&(t[n]=e[n])},yo=(t,e,s)=>{const n=t.slots=Ni();if(t.vnode.shapeFlag&32){const i=e._;i?(Xi(n,e,s),s&&ti(n,"_",i,!0)):ji(e,n)}else e&&Wi(t,e)},xo=(t,e,s)=>{const{vnode:n,slots:i}=t;let r=!0,o=k;if(n.shapeFlag&32){const l=e._;l?s&&l===1?r=!1:Xi(i,e,s):(r=!e.$stable,ji(e,i)),o=e}else e&&(Wi(t,e),o={default:1});if(r)for(const l in i)!Yi(l)&&o[l]==null&&delete i[l]},ft=$o;function wo(t){return _o(t)}function _o(t,e){const s=hs();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:d,setElementText:a,parentNode:h,nextSibling:v,setScopeId:y=zt,insertStaticContent:M}=t,O=(f,u,g,w=null,m=null,x=null,A=void 0,T=null,S=!!u.dynamicChildren)=>{if(f===u)return;f&&!Ee(f,u)&&(w=he(f),wt(f,m,x,!0),f=null),u.patchFlag===-2&&(S=!1,u.dynamicChildren=null);const{type:_,ref:N,shapeFlag:E}=u;switch(_){case ws:q(f,u,g,w);break;case ae:$(f,u,g,w);break;case Is:f==null&&R(u,g,w,A);break;case Et:pt(f,u,g,w,m,x,A,T,S);break;default:E&1?C(f,u,g,w,m,x,A,T,S):E&6?At(f,u,g,w,m,x,A,T,S):(E&64||E&128)&&_.process(f,u,g,w,m,x,A,T,S,Te)}N!=null&&m&&os(N,f&&f.ref,x,u||f,!u)},q=(f,u,g,w)=>{if(f==null)n(u.el=l(u.children),g,w);else{const m=u.el=f.el;u.children!==f.children&&d(m,u.children)}},$=(f,u,g,w)=>{f==null?n(u.el=c(u.children||""),g,w):u.el=f.el},R=(f,u,g,w)=>{[f.el,f.anchor]=M(f.children,u,g,w,f.el,f.anchor)},p=({el:f,anchor:u},g,w)=>{let m;for(;f&&f!==u;)m=v(f),n(f,g,w),f=m;n(u,g,w)},b=({el:f,anchor:u})=>{let g;for(;f&&f!==u;)g=v(f),i(f),f=g;i(u)},C=(f,u,g,w,m,x,A,T,S)=>{u.type==="svg"?A="svg":u.type==="math"&&(A="mathml"),f==null?P(u,g,w,m,x,A,T,S):H(f,u,m,x,A,T,S)},P=(f,u,g,w,m,x,A,T)=>{let S,_;const{props:N,shapeFlag:E,transition:D,dirs:z}=f;if(S=f.el=o(f.type,x,N&&N.is,N),E&8?a(S,f.children):E&16&&j(f.children,S,null,w,m,Fs(f,x),A,T),z&&re(f,null,w,"created"),I(S,f,f.scopeId,A,w),N){for(const G in N)G!=="value"&&!Pe(G)&&r(S,G,null,N[G],x,w);"value"in N&&r(S,"value",null,N.value,x),(_=N.onVnodeBeforeMount)&&It(_,w,f)}z&&re(f,null,w,"beforeMount");const W=So(m,D);W&&D.beforeEnter(S),n(S,u,g),((_=N&&N.onVnodeMounted)||W||z)&&ft(()=>{_&&It(_,w,f),W&&D.enter(S),z&&re(f,null,w,"mounted")},m)},I=(f,u,g,w,m)=>{if(g&&y(f,g),w)for(let x=0;x<w.length;x++)y(f,w[x]);if(m){let x=m.subTree;if(u===x||Ki(x.type)&&(x.ssContent===u||x.ssFallback===u)){const A=m.vnode;I(f,A,A.scopeId,A.slotScopeIds,m.parent)}}},j=(f,u,g,w,m,x,A,T,S=0)=>{for(let _=S;_<f.length;_++){const N=f[_]=T?Jt(f[_]):$t(f[_]);O(null,N,u,g,w,m,x,A,T)}},H=(f,u,g,w,m,x,A)=>{const T=u.el=f.el;let{patchFlag:S,dynamicChildren:_,dirs:N}=u;S|=f.patchFlag&16;const E=f.props||k,D=u.props||k;let z;if(g&&oe(g,!1),(z=D.onVnodeBeforeUpdate)&&It(z,g,u,f),N&&re(u,f,g,"beforeUpdate"),g&&oe(g,!0),(E.innerHTML&&D.innerHTML==null||E.textContent&&D.textContent==null)&&a(T,""),_?Z(f.dynamicChildren,_,T,g,w,Fs(u,m),x):A||X(f,u,T,null,g,w,Fs(u,m),x,!1),S>0){if(S&16)nt(T,E,D,g,m);else if(S&2&&E.class!==D.class&&r(T,"class",null,D.class,m),S&4&&r(T,"style",E.style,D.style,m),S&8){const W=u.dynamicProps;for(let G=0;G<W.length;G++){const K=W[G],mt=E[K],gt=D[K];(gt!==mt||K==="value")&&r(T,K,mt,gt,m,g)}}S&1&&f.children!==u.children&&a(T,u.children)}else!A&&_==null&&nt(T,E,D,g,m);((z=D.onVnodeUpdated)||N)&&ft(()=>{z&&It(z,g,u,f),N&&re(u,f,g,"updated")},w)},Z=(f,u,g,w,m,x,A)=>{for(let T=0;T<u.length;T++){const S=f[T],_=u[T],N=S.el&&(S.type===Et||!Ee(S,_)||S.shapeFlag&70)?h(S.el):g;O(S,_,N,null,w,m,x,A,!0)}},nt=(f,u,g,w,m)=>{if(u!==g){if(u!==k)for(const x in u)!Pe(x)&&!(x in g)&&r(f,x,u[x],null,m,w);for(const x in g){if(Pe(x))continue;const A=g[x],T=u[x];A!==T&&x!=="value"&&r(f,x,T,A,m,w)}"value"in g&&r(f,"value",u.value,g.value,m)}},pt=(f,u,g,w,m,x,A,T,S)=>{const _=u.el=f?f.el:l(""),N=u.anchor=f?f.anchor:l("");let{patchFlag:E,dynamicChildren:D,slotScopeIds:z}=u;z&&(T=T?T.concat(z):z),f==null?(n(_,g,w),n(N,g,w),j(u.children||[],g,N,m,x,A,T,S)):E>0&&E&64&&D&&f.dynamicChildren?(Z(f.dynamicChildren,D,g,m,x,A,T),(u.key!=null||m&&u===m.subTree)&&an(f,u,!0)):X(f,u,g,N,m,x,A,T,S)},At=(f,u,g,w,m,x,A,T,S)=>{u.slotScopeIds=T,f==null?u.shapeFlag&512?m.ctx.activate(u,g,w,A,S):bt(u,g,w,m,x,A,S):Se(f,u,S)},bt=(f,u,g,w,m,x,A)=>{const T=f.component=Xo(f,w,m);if(Oi(f)&&(T.ctx.renderer=Te),Uo(T,!1,A),T.asyncDep){if(m&&m.registerDep(T,it,A),!f.el){const S=T.subTree=Tt(ae);$(null,S,u,g)}}else it(T,f,u,g,m,x,A)},Se=(f,u,g)=>{const w=u.component=f.component;if(Io(f,u,g))if(w.asyncDep&&!w.asyncResolved){B(w,u,g);return}else w.next=u,w.update();else u.el=f.el,w.vnode=u},it=(f,u,g,w,m,x,A)=>{const T=()=>{if(f.isMounted){let{next:E,bu:D,u:z,parent:W,vnode:G}=f;{const Pt=Ui(f);if(Pt){E&&(E.el=G.el,B(f,E,A)),Pt.asyncDep.then(()=>{f.isUnmounted||T()});return}}let K=E,mt;oe(f,!1),E?(E.el=G.el,B(f,E,A)):E=G,D&&Qe(D),(mt=E.props&&E.props.onVnodeBeforeUpdate)&&It(mt,W,E,G),oe(f,!0);const gt=On(f),Ot=f.subTree;f.subTree=gt,O(Ot,gt,h(Ot.el),he(Ot),f,m,x),E.el=gt.el,K===null&&Do(f,gt.el),z&&ft(z,m),(mt=E.props&&E.props.onVnodeUpdated)&&ft(()=>It(mt,W,E,G),m)}else{let E;const{el:D,props:z}=u,{bm:W,m:G,parent:K,root:mt,type:gt}=f,Ot=$e(u);oe(f,!1),W&&Qe(W),!Ot&&(E=z&&z.onVnodeBeforeMount)&&It(E,K,u),oe(f,!0);{mt.ce&&mt.ce._injectChildStyle(gt);const Pt=f.subTree=On(f);O(null,Pt,g,w,f,m,x),u.el=Pt.el}if(G&&ft(G,m),!Ot&&(E=z&&z.onVnodeMounted)){const Pt=u;ft(()=>It(E,K,Pt),m)}(u.shapeFlag&256||K&&$e(K.vnode)&&K.vnode.shapeFlag&256)&&f.a&&ft(f.a,m),f.isMounted=!0,u=g=w=null}};f.scope.on();const S=f.effect=new ii(T);f.scope.off();const _=f.update=S.run.bind(S),N=f.job=S.runIfDirty.bind(S);N.i=f,N.id=f.uid,S.scheduler=()=>cn(N),oe(f,!0),_()},B=(f,u,g)=>{u.component=f;const w=f.vnode.props;f.vnode=u,f.next=null,bo(f,u.props,w,g),xo(f,u.children,g),se(),xn(f),ne()},X=(f,u,g,w,m,x,A,T,S=!1)=>{const _=f&&f.children,N=f?f.shapeFlag:0,E=u.children,{patchFlag:D,shapeFlag:z}=u;if(D>0){if(D&128){kt(_,E,g,w,m,x,A,T,S);return}else if(D&256){Ct(_,E,g,w,m,x,A,T,S);return}}z&8?(N&16&&ie(_,m,x),E!==_&&a(g,E)):N&16?z&16?kt(_,E,g,w,m,x,A,T,S):ie(_,m,x,!0):(N&8&&a(g,""),z&16&&j(E,g,w,m,x,A,T,S))},Ct=(f,u,g,w,m,x,A,T,S)=>{f=f||me,u=u||me;const _=f.length,N=u.length,E=Math.min(_,N);let D;for(D=0;D<E;D++){const z=u[D]=S?Jt(u[D]):$t(u[D]);O(f[D],z,g,null,m,x,A,T,S)}_>N?ie(f,m,x,!0,!1,E):j(u,g,w,m,x,A,T,S,E)},kt=(f,u,g,w,m,x,A,T,S)=>{let _=0;const N=u.length;let E=f.length-1,D=N-1;for(;_<=E&&_<=D;){const z=f[_],W=u[_]=S?Jt(u[_]):$t(u[_]);if(Ee(z,W))O(z,W,g,null,m,x,A,T,S);else break;_++}for(;_<=E&&_<=D;){const z=f[E],W=u[D]=S?Jt(u[D]):$t(u[D]);if(Ee(z,W))O(z,W,g,null,m,x,A,T,S);else break;E--,D--}if(_>E){if(_<=D){const z=D+1,W=z<N?u[z].el:w;for(;_<=D;)O(null,u[_]=S?Jt(u[_]):$t(u[_]),g,W,m,x,A,T,S),_++}}else if(_>D)for(;_<=E;)wt(f[_],m,x,!0),_++;else{const z=_,W=_,G=new Map;for(_=W;_<=D;_++){const vt=u[_]=S?Jt(u[_]):$t(u[_]);vt.key!=null&&G.set(vt.key,_)}let K,mt=0;const gt=D-W+1;let Ot=!1,Pt=0;const Ae=new Array(gt);for(_=0;_<gt;_++)Ae[_]=0;for(_=z;_<=E;_++){const vt=f[_];if(mt>=gt){wt(vt,m,x,!0);continue}let Ft;if(vt.key!=null)Ft=G.get(vt.key);else for(K=W;K<=D;K++)if(Ae[K-W]===0&&Ee(vt,u[K])){Ft=K;break}Ft===void 0?wt(vt,m,x,!0):(Ae[Ft-W]=_+1,Ft>=Pt?Pt=Ft:Ot=!0,O(vt,u[Ft],g,null,m,x,A,T,S),mt++)}const gn=Ot?Mo(Ae):me;for(K=gn.length-1,_=gt-1;_>=0;_--){const vt=W+_,Ft=u[vt],bn=vt+1<N?u[vt+1].el:w;Ae[_]===0?O(null,Ft,g,bn,m,x,A,T,S):Ot&&(K<0||_!==gn[K]?Yt(Ft,g,bn,2):K--)}}},Yt=(f,u,g,w,m=null)=>{const{el:x,type:A,transition:T,children:S,shapeFlag:_}=f;if(_&6){Yt(f.component.subTree,u,g,w);return}if(_&128){f.suspense.move(u,g,w);return}if(_&64){A.move(f,u,g,Te);return}if(A===Et){n(x,u,g);for(let E=0;E<S.length;E++)Yt(S[E],u,g,w);n(f.anchor,u,g);return}if(A===Is){p(f,u,g);return}if(w!==2&&_&1&&T)if(w===0)T.beforeEnter(x),n(x,u,g),ft(()=>T.enter(x),m);else{const{leave:E,delayLeave:D,afterLeave:z}=T,W=()=>n(x,u,g),G=()=>{E(x,()=>{W(),z&&z()})};D?D(x,W,G):G()}else n(x,u,g)},wt=(f,u,g,w=!1,m=!1)=>{const{type:x,props:A,ref:T,children:S,dynamicChildren:_,shapeFlag:N,patchFlag:E,dirs:D,cacheIndex:z}=f;if(E===-2&&(m=!1),T!=null&&os(T,null,g,f,!0),z!=null&&(u.renderCache[z]=void 0),N&256){u.ctx.deactivate(f);return}const W=N&1&&D,G=!$e(f);let K;if(G&&(K=A&&A.onVnodeBeforeUnmount)&&It(K,u,f),N&6)Ms(f.component,g,w);else{if(N&128){f.suspense.unmount(g,w);return}W&&re(f,null,u,"beforeUnmount"),N&64?f.type.remove(f,u,g,Te,w):_&&!_.hasOnce&&(x!==Et||E>0&&E&64)?ie(_,u,g,!1,!0):(x===Et&&E&384||!m&&N&16)&&ie(S,u,g),w&&Be(f)}(G&&(K=A&&A.onVnodeUnmounted)||W)&&ft(()=>{K&&It(K,u,f),W&&re(f,null,u,"unmounted")},g)},Be=f=>{const{type:u,el:g,anchor:w,transition:m}=f;if(u===Et){Ss(g,w);return}if(u===Is){b(f);return}const x=()=>{i(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:A,delayLeave:T}=m,S=()=>A(g,x);T?T(f.el,x,S):S()}else x()},Ss=(f,u)=>{let g;for(;f!==u;)g=v(f),i(f),f=g;i(u)},Ms=(f,u,g)=>{const{bum:w,scope:m,job:x,subTree:A,um:T,m:S,a:_}=f;Rn(S),Rn(_),w&&Qe(w),m.stop(),x&&(x.flags|=8,wt(A,f,u,g)),T&&ft(T,u),ft(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},ie=(f,u,g,w=!1,m=!1,x=0)=>{for(let A=x;A<f.length;A++)wt(f[A],u,g,w,m)},he=f=>{if(f.shapeFlag&6)return he(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=v(f.anchor||f.el),g=u&&u[Ai];return g?v(g):u};let Me=!1;const Ts=(f,u,g)=>{f==null?u._vnode&&wt(u._vnode,null,null,!0):O(u._vnode||null,f,u,null,null,null,g),u._vnode=f,Me||(Me=!0,xn(),Si(),Me=!1)},Te={p:O,um:wt,m:Yt,r:Be,mt:bt,mc:j,pc:X,pbc:Z,n:he,o:t};return{render:Ts,hydrate:void 0,createApp:po(Ts)}}function Fs({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function oe({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function So(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function an(t,e,s=!1){const n=t.children,i=e.children;if(L(n)&&L(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=Jt(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&an(o,l)),l.type===ws&&(l.el=o.el)}}function Mo(t){const e=t.slice(),s=[0];let n,i,r,o,l;const c=t.length;for(n=0;n<c;n++){const d=t[n];if(d!==0){if(i=s[s.length-1],t[i]<d){e[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,t[s[l]]<d?r=l+1:o=l;d<t[s[r]]&&(r>0&&(e[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=e[o];return s}function Ui(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ui(e)}function Rn(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const To=Symbol.for("v-scx"),Ao=()=>Bt(To);function Co(t,e){return dn(t,null,e)}function Qt(t,e,s){return dn(t,e,s)}function dn(t,e,s=k){const{immediate:n,deep:i,flush:r,once:o}=s,l=ht({},s),c=e&&n||!e&&r!=="post";let d;if(Xe){if(r==="sync"){const y=Ao();d=y.__watcherHandles||(y.__watcherHandles=[])}else if(!c){const y=()=>{};return y.stop=zt,y.resume=zt,y.pause=zt,y}}const a=dt;l.call=(y,M,O)=>Ht(y,a,M,O);let h=!1;r==="post"?l.scheduler=y=>{ft(y,a&&a.suspense)}:r!=="sync"&&(h=!0,l.scheduler=(y,M)=>{M?y():cn(y)}),l.augmentJob=y=>{e&&(y.flags|=4),h&&(y.flags|=2,a&&(y.id=a.uid,y.i=a))};const v=Lr(t,e,l);return Xe&&(d?d.push(v):c&&v()),v}function Eo(t,e,s){const n=this.proxy,i=tt(t)?t.includes(".")?Vi(n,t):()=>n[t]:t.bind(n,n);let r;Y(e)?r=e:(r=e.handler,s=e);const o=Ve(this),l=dn(i,r.bind(n),s);return o(),l}function Vi(t,e){const s=e.split(".");return()=>{let n=t;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const Ro=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${te(e)}Modifiers`]||t[`${de(e)}Modifiers`];function Oo(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||k;let i=s;const r=e.startsWith("update:"),o=r&&Ro(n,e.slice(7));o&&(o.trim&&(i=s.map(a=>tt(a)?a.trim():a)),o.number&&(i=s.map(zs)));let l,c=n[l=As(e)]||n[l=As(te(e))];!c&&r&&(c=n[l=As(de(e))]),c&&Ht(c,t,6,i);const d=n[l+"Once"];if(d){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,Ht(d,t,6,i)}}function Bi(t,e,s=!1){const n=e.emitsCache,i=n.get(t);if(i!==void 0)return i;const r=t.emits;let o={},l=!1;if(!Y(t)){const c=d=>{const a=Bi(d,e,!0);a&&(l=!0,ht(o,a))};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!r&&!l?(Q(t)&&n.set(t,null),null):(L(r)?r.forEach(c=>o[c]=null):ht(o,r),Q(t)&&n.set(t,o),o)}function xs(t,e){return!t||!us(e)?!1:(e=e.slice(2).replace(/Once$/,""),V(t,e[0].toLowerCase()+e.slice(1))||V(t,de(e))||V(t,e))}function On(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:d,renderCache:a,props:h,data:v,setupState:y,ctx:M,inheritAttrs:O}=t,q=rs(t);let $,R;try{if(s.shapeFlag&4){const b=i||n,C=b;$=$t(d.call(C,b,a,h,y,v,M)),R=l}else{const b=e;$=$t(b.length>1?b(h,{attrs:l,slots:o,emit:c}):b(h,null)),R=e.props?l:Po(l)}}catch(b){ze.length=0,bs(b,t,1),$=Tt(ae)}let p=$;if(R&&O!==!1){const b=Object.keys(R),{shapeFlag:C}=p;b.length&&C&7&&(r&&b.some(Js)&&(R=Fo(R,r)),p=_e(p,R,!1,!0))}return s.dirs&&(p=_e(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(s.dirs):s.dirs),s.transition&&fn(p,s.transition),$=p,rs(q),$}const Po=t=>{let e;for(const s in t)(s==="class"||s==="style"||us(s))&&((e||(e={}))[s]=t[s]);return e},Fo=(t,e)=>{const s={};for(const n in t)(!Js(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Io(t,e,s){const{props:n,children:i,component:r}=t,{props:o,children:l,patchFlag:c}=e,d=r.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Pn(n,o,d):!!o;if(c&8){const a=e.dynamicProps;for(let h=0;h<a.length;h++){const v=a[h];if(o[v]!==n[v]&&!xs(d,v))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Pn(n,o,d):!0:!!o;return!1}function Pn(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(e[r]!==t[r]&&!xs(s,r))return!0}return!1}function Do({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const Ki=t=>t.__isSuspense;function $o(t,e){e&&e.pendingBranch?L(t)?e.effects.push(...t):e.effects.push(t):Wr(t)}const Et=Symbol.for("v-fgt"),ws=Symbol.for("v-txt"),ae=Symbol.for("v-cmt"),Is=Symbol.for("v-stc"),ze=[];let xt=null;function st(t=!1){ze.push(xt=t?null:[])}function No(){ze.pop(),xt=ze[ze.length-1]||null}let We=1;function Fn(t,e=!1){We+=t,t<0&&xt&&e&&(xt.hasOnce=!0)}function ki(t){return t.dynamicChildren=We>0?xt||me:null,No(),We>0&&xt&&xt.push(t),t}function at(t,e,s,n,i,r){return ki(F(t,e,s,n,i,r,!0))}function cs(t,e,s,n,i){return ki(Tt(t,e,s,n,i,!0))}function qi(t){return t?t.__v_isVNode===!0:!1}function Ee(t,e){return t.type===e.type&&t.key===e.key}const Gi=({key:t})=>t??null,es=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?tt(t)||lt(t)||Y(t)?{i:_t,r:t,k:e,f:!!s}:t:null);function F(t,e=null,s=null,n=0,i=null,r=t===Et?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Gi(e),ref:e&&es(e),scopeId:Ti,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:_t};return l?(hn(c,s),r&128&&t.normalize(c)):s&&(c.shapeFlag|=tt(s)?8:16),We>0&&!o&&xt&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&xt.push(c),c}const Tt=zo;function zo(t,e=null,s=null,n=0,i=null,r=!1){if((!t||t===io)&&(t=ae),qi(t)){const l=_e(t,e,!0);return s&&hn(l,s),We>0&&!r&&xt&&(l.shapeFlag&6?xt[xt.indexOf(t)]=l:xt.push(l)),l.patchFlag=-2,l}if(ko(t)&&(t=t.__vccOpts),e){e=Lo(e);let{class:l,style:c}=e;l&&!tt(l)&&(e.class=Le(l)),Q(c)&&(ln(c)&&!L(c)&&(c=ht({},c)),e.style=St(c))}const o=tt(t)?1:Ki(t)?128:Ur(t)?64:Q(t)?4:Y(t)?2:0;return F(t,e,s,n,i,o,r,!0)}function Lo(t){return t?ln(t)||zi(t)?ht({},t):t:null}function _e(t,e,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=t,d=e?Yo(i||{},e):i,a={__v_isVNode:!0,__v_skip:!0,type:t.type,props:d,key:d&&Gi(d),ref:e&&e.ref?s&&r?L(r)?r.concat(es(e)):[r,es(e)]:es(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Et?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&_e(t.ssContent),ssFallback:t.ssFallback&&_e(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&n&&fn(a,c.clone(a)),a}function Ho(t=" ",e=0){return Tt(ws,null,t,e)}function Nt(t="",e=!1){return e?(st(),cs(ae,null,t)):Tt(ae,null,t)}function $t(t){return t==null||typeof t=="boolean"?Tt(ae):L(t)?Tt(Et,null,t.slice()):qi(t)?Jt(t):Tt(ws,null,String(t))}function Jt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:_e(t)}function hn(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(L(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),hn(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!zi(e)?e._ctx=_t:i===3&&_t&&(_t.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Y(e)?(e={default:e,_ctx:_t},s=32):(e=String(e),n&64?(s=16,e=[Ho(e)]):s=8);t.children=e,t.shapeFlag|=s}function Yo(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Le([e.class,n.class]));else if(i==="style")e.style=St([e.style,n.style]);else if(us(i)){const r=e[i],o=n[i];o&&r!==o&&!(L(r)&&r.includes(o))&&(e[i]=r?[].concat(r,o):o)}else i!==""&&(e[i]=n[i])}return e}function It(t,e,s,n=null){Ht(t,e,7,[s,n])}const jo=Di();let Wo=0;function Xo(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||jo,r={uid:Wo++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ar(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(n,i),emitsOptions:Bi(n,i),emit:null,emitted:null,propsDefaults:k,inheritAttrs:n.inheritAttrs,ctx:k,data:k,props:k,attrs:k,slots:k,refs:k,setupState:k,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=Oo.bind(null,r),t.ce&&t.ce(r),r}let dt=null,fs,ks;{const t=hs(),e=(s,n)=>{let i;return(i=t[s])||(i=t[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};fs=e("__VUE_INSTANCE_SETTERS__",s=>dt=s),ks=e("__VUE_SSR_SETTERS__",s=>Xe=s)}const Ve=t=>{const e=dt;return fs(t),t.scope.on(),()=>{t.scope.off(),fs(e)}},In=()=>{dt&&dt.scope.off(),fs(null)};function Ji(t){return t.vnode.shapeFlag&4}let Xe=!1;function Uo(t,e=!1,s=!1){e&&ks(e);const{props:n,children:i}=t.vnode,r=Ji(t);go(t,n,r,e),yo(t,i,s);const o=r?Vo(t,e):void 0;return e&&ks(!1),o}function Vo(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,oo);const{setup:n}=s;if(n){se();const i=t.setupContext=n.length>1?Ko(t):null,r=Ve(t),o=Ue(n,t,0,[t.props,i]),l=Gn(o);if(ne(),r(),(l||t.sp)&&!$e(t)&&Ri(t),l){if(o.then(In,In),e)return o.then(c=>{Dn(t,c)}).catch(c=>{bs(c,t,0)});t.asyncDep=o}else Dn(t,o)}else Zi(t)}function Dn(t,e,s){Y(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Q(e)&&(t.setupState=xi(e)),Zi(t)}function Zi(t,e,s){const n=t.type;t.render||(t.render=n.render||zt);{const i=Ve(t);se();try{lo(t)}finally{ne(),i()}}}const Bo={get(t,e){return rt(t,"get",""),t[e]}};function Ko(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Bo),slots:t.slots,emit:t.emit,expose:e}}function _s(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(xi(yi(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Ne)return Ne[s](t)},has(e,s){return s in e||s in Ne}})):t.proxy}function ko(t){return Y(t)&&"__vccOpts"in t}const Lt=(t,e)=>Nr(t,e,Xe),qo="3.5.13";let qs;const $n=typeof window<"u"&&window.trustedTypes;if($n)try{qs=$n.createPolicy("vue",{createHTML:t=>t})}catch{}const Qi=qs?t=>qs.createHTML(t):t=>t,Go="http://www.w3.org/2000/svg",Jo="http://www.w3.org/1998/Math/MathML",Wt=typeof document<"u"?document:null,Nn=Wt&&Wt.createElement("template"),Zo={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const i=e==="svg"?Wt.createElementNS(Go,t):e==="mathml"?Wt.createElementNS(Jo,t):s?Wt.createElement(t,{is:s}):Wt.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Wt.createTextNode(t),createComment:t=>Wt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Wt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,i,r){const o=s?s.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Nn.innerHTML=Qi(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=Nn.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Qo=Symbol("_vtc");function tl(t,e,s){const n=t[Qo];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const zn=Symbol("_vod"),el=Symbol("_vsh"),sl=Symbol(""),nl=/(^|;)\s*display\s*:/;function il(t,e,s){const n=t.style,i=tt(s);let r=!1;if(s&&!i){if(e)if(tt(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&ss(n,l,"")}else for(const o in e)s[o]==null&&ss(n,o,"");for(const o in s)o==="display"&&(r=!0),ss(n,o,s[o])}else if(i){if(e!==s){const o=n[sl];o&&(s+=";"+o),n.cssText=s,r=nl.test(s)}}else e&&t.removeAttribute("style");zn in t&&(t[zn]=r?n.display:"",t[el]&&(n.display="none"))}const Ln=/\s*!important$/;function ss(t,e,s){if(L(s))s.forEach(n=>ss(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=rl(t,e);Ln.test(s)?t.setProperty(de(n),s.replace(Ln,""),"important"):t[n]=s}}const Hn=["Webkit","Moz","ms"],Ds={};function rl(t,e){const s=Ds[e];if(s)return s;let n=te(e);if(n!=="filter"&&n in t)return Ds[e]=n;n=Qn(n);for(let i=0;i<Hn.length;i++){const r=Hn[i]+n;if(r in t)return Ds[e]=r}return e}const Yn="http://www.w3.org/1999/xlink";function jn(t,e,s,n,i,r=ur(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(Yn,e.slice(6,e.length)):t.setAttributeNS(Yn,e,s):s==null||r&&!ei(s)?t.removeAttribute(e):t.setAttribute(e,r?"":ee(s)?String(s):s)}function Wn(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Qi(s):s);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?t.getAttribute("value")||"":t.value,c=s==null?t.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in t))&&(t.value=c),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=ei(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(i||e)}function be(t,e,s,n){t.addEventListener(e,s,n)}function ol(t,e,s,n){t.removeEventListener(e,s,n)}const Xn=Symbol("_vei");function ll(t,e,s,n,i=null){const r=t[Xn]||(t[Xn]={}),o=r[e];if(n&&o)o.value=n;else{const[l,c]=cl(e);if(n){const d=r[e]=al(n,i);be(t,l,d,c)}else o&&(ol(t,l,o,c),r[e]=void 0)}}const Un=/(?:Once|Passive|Capture)$/;function cl(t){let e;if(Un.test(t)){e={};let n;for(;n=t.match(Un);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):de(t.slice(2)),e]}let $s=0;const fl=Promise.resolve(),ul=()=>$s||(fl.then(()=>$s=0),$s=Date.now());function al(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ht(dl(n,s.value),e,5,[n])};return s.value=t,s.attached=ul(),s}function dl(t,e){if(L(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const Vn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,hl=(t,e,s,n,i,r)=>{const o=i==="svg";e==="class"?tl(t,n,o):e==="style"?il(t,s,n):us(e)?Js(e)||ll(t,e,s,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):pl(t,e,n,o))?(Wn(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&jn(t,e,n,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!tt(n))?Wn(t,te(e),n,r,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),jn(t,e,n,o))};function pl(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Vn(e)&&Y(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Vn(e)&&tt(s)?!1:e in t}const Bn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return L(e)?s=>Qe(e,s):e};function gl(t){t.target.composing=!0}function Kn(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ns=Symbol("_assign"),Ze={created(t,{modifiers:{lazy:e,trim:s,number:n}},i){t[Ns]=Bn(i);const r=n||i.props&&i.props.type==="number";be(t,e?"change":"input",o=>{if(o.target.composing)return;let l=t.value;s&&(l=l.trim()),r&&(l=zs(l)),t[Ns](l)}),s&&be(t,"change",()=>{t.value=t.value.trim()}),e||(be(t,"compositionstart",gl),be(t,"compositionend",Kn),be(t,"change",Kn))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(t[Ns]=Bn(o),t.composing)return;const l=(r||t.type==="number")&&!/^0\d/.test(t.value)?zs(t.value):t.value,c=e??"";l!==c&&(document.activeElement===t&&t.type!=="range"&&(n&&e===s||i&&t.value.trim()===c)||(t.value=c))}},bl=["ctrl","shift","alt","meta"],ml={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>bl.some(s=>t[`${s}Key`]&&!e.includes(s))},et=(t,e)=>{const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=(i,...r)=>{for(let o=0;o<e.length;o++){const l=ml[e[o]];if(l&&l(i,e))return}return t(i,...r)})},vl=ht({patchProp:hl},Zo);let kn;function yl(){return kn||(kn=wo(vl))}const xl=(...t)=>{const e=yl().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=_l(n);if(!i)return;const r=e._component;!Y(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,wl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function wl(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function _l(t){return tt(t)?document.querySelector(t):t}const pn=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},Sl={class:"frozen-screens-layer"},Ml=["src"],Tl={__name:"FrozenScreens",props:{screens:{type:Array,default:()=>[]},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0}},setup(t){return(e,s)=>(st(),at("div",Sl,[(st(!0),at(Et,null,ro(t.screens,n=>(st(),at("div",{key:n.displayId,class:"frozen-screen",style:St({left:n.bounds.x-t.offsetX+"px",top:n.bounds.y-t.offsetY+"px",width:n.bounds.width+"px",height:n.bounds.height+"px"})},[F("img",{src:n.url,draggable:"false"},null,8,Ml)],4))),128))]))}},Al=pn(Tl,[["__scopeId","data-v-0b001d45"]]),Cl={class:"absolute inset-0 z-10 pointer-events-none"},El={key:0,class:"absolute top-1 left-1 bg-[#2196F3] text-white px-2 py-0.5 rounded text-xs whitespace-nowrap shadow-md pointer-events-none"},Rl={__name:"SelectionRect",props:{state:{type:Object,default:()=>({isSelecting:!1,hasSelection:!1,highlightedWindow:null,offsetX:0,offsetY:0})},bounds:{type:Object,default:()=>({x:0,y:0,w:0,h:0})}},emits:["resize-start"],setup(t,{emit:e}){const s=e,n=t,i=Ut(null);Co(()=>{const l=i.value;if(!l)return;const c=l.getContext("2d");l.width=window.innerWidth,l.height=window.innerHeight,c.clearRect(0,0,l.width,l.height),c.fillStyle="rgba(0, 0, 0, 0.4)",c.fillRect(0,0,l.width,l.height);let d=null;if(n.state.isSelecting||n.state.hasSelection?d=n.bounds:n.state.highlightedWindow&&(d={x:n.state.highlightedWindow.left-n.state.offsetX,y:n.state.highlightedWindow.top-n.state.offsetY,w:n.state.highlightedWindow.width,h:n.state.highlightedWindow.height}),d){const{x:a,y:h,w:v,h:y}=d,M=(n.state.isSelecting||n.state.hasSelection)&&n.state.borderRadius||0;c.save(),c.globalCompositeOperation="destination-out",c.beginPath(),c.roundRect?c.roundRect(a,h,v,y,M):(c.moveTo(a+M,h),c.lineTo(a+v-M,h),c.quadraticCurveTo(a+v,h,a+v,h+M),c.lineTo(a+v,h+y-M),c.quadraticCurveTo(a+v,h+y,a+v-M,h+y),c.lineTo(a+M,h+y),c.quadraticCurveTo(a,h+y,a,h+y-M),c.lineTo(a,h+M),c.quadraticCurveTo(a,h,a+M,h)),c.fillStyle="black",c.fill(),c.restore()}});const r=Lt(()=>{if(!n.state.highlightedWindow||n.state.isSelecting||n.state.hasSelection)return{display:"none"};const l=n.state.highlightedWindow;return{left:`${l.left-n.state.offsetX}px`,top:`${l.top-n.state.offsetY}px`,width:`${l.width}px`,height:`${l.height}px`}}),o=l=>{s("resize-start",l)};return(l,c)=>(st(),at("div",Cl,[F("canvas",{ref_key:"canvasRef",ref:i,class:"w-full h-full"},null,512),F("div",{class:"absolute border border-dashed border-[#2196F3] bg-[#2196F3]/10 transition-all duration-100 ease-out box-border",style:St(r.value)},null,4),t.state.isSelecting||t.state.hasSelection?(st(),at("div",{key:0,class:"absolute border border-dashed border-[#2196F3] box-border pointer-events-auto cursor-move",style:St({left:t.bounds.x+"px",top:t.bounds.y+"px",width:t.bounds.w+"px",height:t.bounds.h+"px",borderRadius:(t.state.borderRadius||0)+"px"})},[t.bounds.w>80&&t.bounds.h>24?(st(),at("div",El,ce(Math.round(t.bounds.w))+" × "+ce(Math.round(t.bounds.h)),1)):Nt("",!0),!t.state.isMoving&&t.state.hasSelection?(st(),at(Et,{key:1},[F("div",{class:"absolute -top-1.5 -left-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-nw-resize z-20",onMousedown:c[0]||(c[0]=et(d=>o("nw"),["stop"]))},null,32),F("div",{class:"absolute -top-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-n-resize z-20",onMousedown:c[1]||(c[1]=et(d=>o("n"),["stop"]))},null,32),F("div",{class:"absolute -top-1.5 -right-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-ne-resize z-20",onMousedown:c[2]||(c[2]=et(d=>o("ne"),["stop"]))},null,32),F("div",{class:"absolute top-1/2 -right-1.5 -translate-y-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-e-resize z-20",onMousedown:c[3]||(c[3]=et(d=>o("e"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 -right-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-se-resize z-20",onMousedown:c[4]||(c[4]=et(d=>o("se"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-s-resize z-20",onMousedown:c[5]||(c[5]=et(d=>o("s"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 -left-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-sw-resize z-20",onMousedown:c[6]||(c[6]=et(d=>o("sw"),["stop"]))},null,32),F("div",{class:"absolute top-1/2 -left-1.5 -translate-y-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-w-resize z-20",onMousedown:c[7]||(c[7]=et(d=>o("w"),["stop"]))},null,32)],64)):Nt("",!0)],4)):Nt("",!0)]))}},Ol={key:0,class:"absolute inset-0 w-full h-full pointer-events-none z-99"},Pl=["x1","y1","x2","y2"],Fl=["cx","cy"],Il=["x","y"],Dl={class:"action-toolbar-main"},$l={key:0,class:"absolute -top-6 left-0 text-[10px] text-[#FF5252] font-mono whitespace-nowrap"},Nl={class:"btn-group"},zl={key:0,class:"size-settings-bar"},Ll={class:"size-inputs"},Hl={key:1,class:"size-settings-bar"},Yl={class:"radius-settings"},jl={__name:"ActionToolbar",props:{bounds:{type:Object,default:()=>({x:0,y:0,w:0,h:0})},visible:{type:Boolean,default:!1}},setup(t){const e=t,s=Bt("state"),{findDisplayAtLocalPoint:n}=Bt("utils"),i=Bt("actions"),r=Ut(!1),o=Ut(0),l=Ut(0),c=Ut(!1),d=Ut(0);Qt(()=>e.bounds,R=>{R&&(o.value=Math.round(R.w||0),l.value=Math.round(R.h||0))},{immediate:!0}),Qt(()=>s.borderRadius,R=>{d.value=R||0},{immediate:!0}),Qt(d,R=>{const p=Math.max(0,Math.min(120,parseInt(R,10)||0));s.borderRadius!==p&&(s.borderRadius=p)});const a=()=>{r.value=!r.value,r.value&&(c.value=!1),r.value&&e.bounds&&(o.value=Math.round(e.bounds.w||0),l.value=Math.round(e.bounds.h||0))},h=()=>{c.value=!c.value,c.value&&(r.value=!1,d.value=s.borderRadius||0)},v=()=>{const R=Math.min(s.startX,s.endX),p=Math.min(s.startY,s.endY),b=parseInt(o.value,10)||0,C=parseInt(l.value,10)||0;b<=0||C<=0||(s.startX=R,s.startY=p,s.endX=R+b,s.endY=p+C)},y=R=>{R.key==="Enter"&&(v(),R.target.blur())},M=R=>{if(R.key==="Escape"){if(r.value||c.value){r.value=!1,c.value=!1,R.preventDefault();return}R.preventDefault(),i.handleAction("cancel");return}e.visible&&(["INPUT","TEXTAREA"].includes(document.activeElement.tagName)||(R.ctrlKey&&R.key==="s"&&(R.preventDefault(),i.handleAction("save")),R.ctrlKey&&R.key==="c"&&(R.preventDefault(),i.handleAction("copy"))))};vs(()=>{window.addEventListener("keydown",M)}),ys(()=>{window.removeEventListener("keydown",M)});const O=Lt(()=>{const{x:R,y:p,w:b,h:C}=e.bounds||{x:0,y:0,w:0,h:0},P=140,I=76,j=8,H=12,nt=n(R+b/2,p+C/2).bounds,pt={left:nt.x-s.offsetX,top:nt.y-s.offsetY,right:nt.x+nt.width-s.offsetX,bottom:nt.y+nt.height-s.offsetY};let At=R+b-P,bt=p+C+j;return bt+I+H>pt.bottom&&(bt=p-I-j,bt<pt.top+H&&(bt=p+C-I-H-10,At=R+b-P-H-10)),At=Math.max(pt.left+H,Math.min(At,pt.right-P-H)),bt=Math.max(pt.top+H,Math.min(bt,pt.bottom-I-H)),{left:At,top:bt,tbWidth:P,tbHeight:I}}),q=Lt(()=>{const R=O.value;return{left:`${R.left+R.tbWidth}px`,top:`${R.top}px`,transform:"translateX(-100%)"}}),$=Lt(()=>{if(!s.isDebug||!e.visible)return null;const{x:R,y:p,w:b,h:C}=e.bounds,{left:P,top:I,tbWidth:j,tbHeight:H}=O.value;return{x1:R+b/2,y1:p+C/2,x2:P+j/2,y2:I+H/2}});return(R,p)=>(st(),cs(Br,{to:"body"},[qt(s)&&qt(s).isDebug&&$.value?(st(),at("svg",Ol,[F("line",{x1:$.value.x1,y1:$.value.y1,x2:$.value.x2,y2:$.value.y2,stroke:"#FF5252","stroke-width":"2","stroke-dasharray":"5,5"},null,8,Pl),F("circle",{cx:$.value.x1,cy:$.value.y1,r:"4",fill:"#FF5252"},null,8,Fl),F("text",{x:$.value.x2,y:O.value.top-10,fill:"#FF5252","font-size":"12"},ce(Math.round(O.value.left))+", "+ce(Math.round(O.value.top)),9,Il)])):Nt("",!0),qt(s)&&t.visible?(st(),at("div",{key:1,class:"action-toolbar-container",style:St(q.value)},[F("div",Dl,[qt(s).isDebug?(st(),at("div",$l," Monitor: "+ce(Math.round(O.value.left))+","+ce(Math.round(O.value.top)),1)):Nt("",!0),F("div",Nl,[F("button",{class:Le(["btn btn-settings",{active:r.value}]),title:"设置尺寸",onClick:et(a,["stop"])},p[11]||(p[11]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M15 3h6v6"}),F("path",{d:"M9 21H3v-6"}),F("path",{d:"M21 3l-7 7"}),F("path",{d:"M3 21l7-7"})],-1)]),2),F("button",{class:Le(["btn btn-settings",{active:c.value}]),title:"设置圆角",onClick:et(h,["stop"])},p[12]||(p[12]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("rect",{x:"3",y:"3",width:"18",height:"18",rx:"5",ry:"5"})],-1)]),2),p[16]||(p[16]=F("div",{class:"divider"},null,-1)),F("button",{class:"btn btn-save",title:"保存 (Ctrl+S)",onClick:p[0]||(p[0]=et(b=>qt(i).handleAction("save"),["stop"]))},p[13]||(p[13]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),F("polyline",{points:"17 21 17 13 7 13 7 21"}),F("polyline",{points:"7 3 7 8 15 8"})],-1)])),F("button",{class:"btn btn-copy",title:"复制 (Ctrl+C)",onClick:p[1]||(p[1]=et(b=>qt(i).handleAction("copy"),["stop"]))},p[14]||(p[14]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),F("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})],-1)])),F("button",{class:"btn btn-cancel",title:"取消 (Esc)",onClick:p[2]||(p[2]=et(b=>qt(i).handleAction("cancel"),["stop"]))},p[15]||(p[15]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),F("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)]))])]),r.value?(st(),at("div",zl,[F("div",Ll,[Ge(F("input",{"onUpdate:modelValue":p[3]||(p[3]=b=>o.value=b),type:"number",class:"size-input",style:St({width:`calc(${Math.max(4,String(o.value).length)}ch + 12px)`}),onKeydown:y,onMousedown:p[4]||(p[4]=et(()=>{},["stop"]))},null,36),[[Ze,o.value]]),p[17]||(p[17]=F("span",{class:"size-separator"},"x",-1)),Ge(F("input",{"onUpdate:modelValue":p[5]||(p[5]=b=>l.value=b),type:"number",class:"size-input",style:St({width:`calc(${Math.max(4,String(l.value).length)}ch + 12px)`}),onKeydown:y,onMousedown:p[6]||(p[6]=et(()=>{},["stop"]))},null,36),[[Ze,l.value]]),p[18]||(p[18]=F("span",{class:"size-unit"},"px",-1))]),F("button",{class:"btn-confirm",onClick:et(v,["stop"])}," 确定 ")])):Nt("",!0),c.value?(st(),at("div",Hl,[F("div",Yl,[p[19]||(p[19]=F("span",{class:"radius-label"},"圆角半径:",-1)),Ge(F("input",{"onUpdate:modelValue":p[7]||(p[7]=b=>d.value=b),type:"range",min:"0",max:"120",class:"radius-slider",onMousedown:p[8]||(p[8]=et(()=>{},["stop"]))},null,544),[[Ze,d.value]]),Ge(F("input",{"onUpdate:modelValue":p[9]||(p[9]=b=>d.value=b),type:"number",class:"size-input",style:{width:"50px"},onMousedown:p[10]||(p[10]=et(()=>{},["stop"]))},null,544),[[Ze,d.value]]),p[20]||(p[20]=F("span",{class:"size-unit"},"px",-1))])])):Nt("",!0)],4)):Nt("",!0)]))}},Wl=pn(jl,[["__scopeId","data-v-54894703"]]),Xl={__name:"HintBox",props:{cursorPos:{type:Object,default:()=>({x:0,y:0})}},setup(t){const e=t,{findDisplayAtLocalPoint:s}=Bt("utils"),n=Ut("right"),i=()=>{n.value=n.value==="right"?"left":"right"},r=Lt(()=>{const o=s(e.cursorPos.x,e.cursorPos.y);if(!o)return{display:"none"};const l=Bt("state"),c=o.bounds,d={left:c.x-l.offsetX,top:c.y-l.offsetY,right:c.x+c.width-l.offsetX,bottom:c.y+c.height-l.offsetY},a=20,h={bottom:`${window.innerHeight-d.bottom+a}px`};return n.value==="right"?h.right=`${window.innerWidth-d.right+a}px`:h.left=`${d.left+a}px`,h});return(o,l)=>(st(),at("div",{class:"absolute z-50 pointer-events-auto transition-all duration-300 ease-[cubic-bezier(0.23,1,0.32,1)]",style:St(r.value),onMouseenter:i},l[0]||(l[0]=[F("div",{class:"bg-black/75 text-white px-4 py-2 rounded-xl text-xs backdrop-blur-xs border border-white/10 shadow-lg"},[F("p",null,"点击探测到的窗口"),F("p",null,"滚轮切换窗口层次"),F("p",null,"拖放移动选区"),F("p",null,"右键、esc 取消")],-1)]),36))}},Ul={__name:"Magnifier",props:{cursorPos:{type:Object,required:!0},screens:{type:Array,default:()=>[]},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0},zoom:{type:Number,default:5},size:{type:Number,default:140}},setup(t){const e=t,s=Ut(null),n=Ut([]);function i(){const o=s.value;if(!o)return;const l=o.getContext("2d");if(!l)return;l.imageSmoothingEnabled=!1;const{size:c,zoom:d,cursorPos:a,offsetX:h,offsetY:v}=e,y=window.devicePixelRatio||1,M=c*y;o.width!==M&&(o.width=M,o.height=M),l.clearRect(0,0,M,M),l.fillStyle="#111",l.fillRect(0,0,M,M);const O=a.x+h,q=a.y+v,$=c/2/d,R={left:O-$,top:q-$,right:O+$,bottom:q+$};n.value.forEach(I=>{if(!I.img||!I.img.complete||I.img.naturalWidth===0)return;const j=I.bounds||I,H=Number(j.x),Z=Number(j.y),nt=Number(j.width),pt=Number(j.height),At=H+nt,bt=Z+pt,Se=I.img.naturalWidth/nt,it=I.img.naturalHeight/pt,B=Math.max(R.left,H),X=Math.max(R.top,Z),Ct=Math.min(R.right,At),kt=Math.min(R.bottom,bt);if(B<Ct&&X<kt){const Yt=(B-H)*Se,wt=(X-Z)*it,Be=(Ct-B)*Se,Ss=(kt-X)*it,Ms=(B-R.left)*d*y,ie=(X-R.top)*d*y,he=(Ct-B)*d*y,Me=(kt-X)*d*y;try{l.drawImage(I.img,Yt,wt,Be,Ss,Ms,ie,he,Me)}catch{}}});const p=M/2,b=M/2;l.beginPath(),l.strokeStyle="rgba(33, 150, 243, 0.5)",l.lineWidth=1*y,l.moveTo(0,b),l.lineTo(M,b),l.moveTo(p,0),l.lineTo(p,M),l.stroke(),l.fillStyle="#FF5252";const C=2*y;l.fillRect(p-C/2,b-C/2,C,C),l.beginPath(),l.strokeStyle="rgba(255, 255, 255, 0.3)",l.lineWidth=1*y,l.strokeRect(0,0,M,M);const P=12*y;l.font=`${P}px monospace`,l.fillStyle="rgba(0, 0, 0, 0.7)",l.fillRect(0,M-P-8*y,M,P+8*y),l.fillStyle="#fff",l.textAlign="center",l.fillText(`${Math.round(O)}, ${Math.round(q)}`,p,M-6*y)}Qt(()=>e.screens,o=>{n.value=o.map(l=>{const c=new Image;return c.src=l.url,c.onload=()=>requestAnimationFrame(i),{...l,img:yi(c)}})},{immediate:!0,deep:!0});const r=Lt(()=>{const{x:o,y:l}=e.cursorPos;let c=o+20,d=l+20;return c+e.size>window.innerWidth&&(c=o-e.size-20),d+e.size>window.innerHeight&&(d=l-e.size-20),{left:c,top:d}});return Qt(()=>e.cursorPos,()=>{requestAnimationFrame(i)},{deep:!0,immediate:!0}),vs(()=>{setTimeout(i,200)}),(o,l)=>(st(),at("div",{class:"magnifier",style:St({width:t.size+"px",height:t.size+"px",left:r.value.left+"px",top:r.value.top+"px"})},[F("canvas",{ref_key:"canvasRef",ref:s,style:{width:"100%",height:"100%"}},null,512)],4))}},Vl=pn(Ul,[["__scopeId","data-v-cf910dc4"]]),Bl={__name:"App",setup(t){const e=gs({offsetX:0,offsetY:0,displays:[],capturedScreens:[],cursorPos:{x:0,y:0},isSelecting:!1,isDragging:!1,isMoving:!1,isResizing:!1,resizeDirection:null,resizeActiveX:null,resizeActiveY:null,hasSelection:!1,startX:0,startY:0,endX:0,endY:0,moveOriginX:0,moveOriginY:0,rectAtStartMove:null,highlightedWindow:null,allWindows:[],candidates:[],candidateIndex:0,isDebug:!1,borderRadius:0}),s=Lt(()=>{const p=Math.min(e.startX,e.endX),b=Math.min(e.startY,e.endY),C=Math.abs(e.endX-e.startX),P=Math.abs(e.endY-e.startY);return{x:Number.isNaN(p)?0:p,y:Number.isNaN(b)?0:b,w:Number.isNaN(C)?0:C,h:Number.isNaN(P)?0:P}}),n=Lt(()=>e.isMoving?!1:!!(e.isSelecting||e.isResizing||!e.hasSelection));function i(){window.hdrCapture?.close?.()}function r(){e.hasSelection?(e.hasSelection=!1,e.isSelecting=!1,e.isDragging=!1,e.isMoving=!1,e.highlightedWindow=null):i()}const o=(p,b)=>{const C=p+e.offsetX,P=b+e.offsetY;return e.displays.find(I=>{const j=I.bounds;return C>=j.x&&C<j.x+j.width&&P>=j.y&&P<j.y+j.height})||e.displays[0]},l=(p,b)=>{if(e.isSelecting||e.isMoving||e.hasSelection)return;const C=p+e.offsetX,P=b+e.offsetY,I=e.allWindows.filter(H=>C>=H.left&&C<H.right&&P>=H.top&&P<H.bottom);I.sort((H,Z)=>H.width*H.height-Z.width*Z.height),(I.length!==e.candidates.length||I.some((H,Z)=>H.handle!==e.candidates[Z]?.handle))&&(e.candidates=I,e.candidateIndex=0,e.highlightedWindow=I.length>0?I[0]:null)},c=p=>{e.isSelecting||e.isMoving||e.hasSelection||e.candidates.length<=1||(p.preventDefault(),p.deltaY>0?e.candidateIndex=(e.candidateIndex+1)%e.candidates.length:e.candidateIndex=(e.candidateIndex-1+e.candidates.length)%e.candidates.length,e.highlightedWindow=e.candidates[e.candidateIndex])},d=p=>{e.isResizing=!0,e.resizeDirection=p;const b=e.startX<e.endX,C=e.startY<e.endY;e.resizeActiveX=null,e.resizeActiveY=null,p.includes("w")&&(e.resizeActiveX=b?"startX":"endX"),p.includes("e")&&(e.resizeActiveX=b?"endX":"startX"),p.includes("n")&&(e.resizeActiveY=C?"startY":"endY"),p.includes("s")&&(e.resizeActiveY=C?"endY":"startY")},a=p=>{if(p.button===0&&e.hasSelection){const b=s.value,C=p.clientX,P=p.clientY;C>=b.x&&C<=b.x+b.w&&P>=b.y&&P<=b.y+b.h&&$("copy")}},h=p=>{if(p.button!==0)return;const b=p.clientX,C=p.clientY;if(e.hasSelection){const P=s.value;if(b>=P.x&&b<=P.x+P.w&&C>=P.y&&C<=P.y+P.h){e.isMoving=!0,e.moveOriginX=b,e.moveOriginY=C,e.rectAtStartMove={startX:e.startX,startY:e.startY,endX:e.endX,endY:e.endY};return}e.hasSelection=!1}e.isSelecting=!0,e.isDragging=!1,e.startX=b,e.startY=C,e.endX=b,e.endY=C},v=p=>{try{const b=p.clientX,C=p.clientY;if(e.cursorPos={x:b,y:C},e.isResizing){e.resizeActiveX&&(e[e.resizeActiveX]=b),e.resizeActiveY&&(e[e.resizeActiveY]=C);return}if(e.isMoving){const P=b-e.moveOriginX,I=C-e.moveOriginY;e.startX=e.rectAtStartMove.startX+P,e.startY=e.rectAtStartMove.startY+I,e.endX=e.rectAtStartMove.endX+P,e.endY=e.rectAtStartMove.endY+I;return}if(e.isSelecting){const P=b-e.startX,I=C-e.startY;(Math.abs(P)>5||Math.abs(I)>5)&&(e.isDragging=!0,e.highlightedWindow=null,e.endX=b,e.endY=C);return}l(b,C)}catch(b){console.error("onMouseMove error",b)}},y=p=>{try{if(p.button!==0)return;if(e.isResizing){e.isResizing=!1,e.resizeDirection=null,e.resizeActiveX=null,e.resizeActiveY=null;return}if(e.isMoving){e.isMoving=!1;return}if(e.isSelecting)if(e.isSelecting=!1,!e.isDragging)e.highlightedWindow?(e.startX=e.highlightedWindow.left-e.offsetX,e.startY=e.highlightedWindow.top-e.offsetY,e.endX=e.startX+e.highlightedWindow.width,e.endY=e.startY+e.highlightedWindow.height,e.hasSelection=!0):e.hasSelection=!1;else{const b=s.value;e.hasSelection=b.w>1&&b.h>1}}catch(b){console.error("onMouseUp error",b)}},M=p=>{p.preventDefault(),r()},O=[];function q(){O.forEach(p=>URL.revokeObjectURL(p)),O.length=0}vs(()=>{window.hdrCapture?.onInit&&window.hdrCapture.onInit(p=>{e.isDebug=!!p.isDebug,e.offsetX=p.minX,e.offsetY=p.minY,e.displays=p.displays||[],q(),e.capturedScreens=(p.capturedScreens||[]).map(b=>{const C=new Blob([b.data],{type:"image/webp"}),P=URL.createObjectURL(C);return O.push(P),{...b,url:P}}),p.cursorPos&&(e.cursorPos={x:p.cursorPos.x-e.offsetX,y:p.cursorPos.y-e.offsetY}),e.allWindows=p.windows||[]}),window.addEventListener("mousemove",v),window.addEventListener("mouseup",y)}),ys(()=>{q(),window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",y)});const $=async p=>{if(p==="cancel"){r();return}e.hasSelection=!1;const b=s.value,C={x:b.x+e.offsetX,y:b.y+e.offsetY,width:b.w,height:b.h,borderRadius:e.borderRadius},P=window.ts?.logger||console,I=P.child?P.child({plugin_id:"translime-plugin-hdr-capture",context:"Overlay"}):P;I.info(`执行操作: ${p}, 选区:`,{rect:C});try{if(p==="save")if(e.isDebug)I.info("Debug模式: 跳过 save 操作");else{const j=await window.hdrCapture.saveCapture(C);I.info("保存操作返回:",{res:j})}else if(p==="copy")if(e.isDebug)I.info("Debug模式: 跳过 copy 操作");else{const j=await window.hdrCapture.copyCapture(C);I.info("复制操作返回:",{res:j})}}catch(j){I.error(`操作 ${p} 失败:`,j)}i()};Oe("state",e),Oe("selectionBounds",s),Oe("actions",{handleAction:$,closeOverlay:i}),Oe("utils",{findDisplayAtLocalPoint:o});const R=Lt(()=>e.isResizing&&e.resizeDirection?`${e.resizeDirection}-resize`:e.isMoving?"move":"crosshair");return(p,b)=>(st(),at("div",{class:"relative w-screen h-screen overflow-hidden select-none",style:St({cursor:R.value}),onMousedown:h,onMousemove:v,onMouseup:y,onDblclick:a,onWheel:c,onContextmenu:M},[e.isDebug?Nt("",!0):(st(),cs(Al,{key:0,screens:e.capturedScreens,"offset-x":e.offsetX,"offset-y":e.offsetY},null,8,["screens","offset-x","offset-y"])),Tt(Rl,{state:e,bounds:s.value,onResizeStart:d},null,8,["state","bounds"]),Tt(Xl,{"cursor-pos":e.cursorPos},null,8,["cursor-pos"]),Tt(Wl,{visible:e.hasSelection&&!e.isSelecting&&!e.isMoving&&!e.isResizing,bounds:s.value,onMousedown:b[0]||(b[0]=et(()=>{},["stop"]))},null,8,["visible","bounds"]),n.value?(st(),cs(Vl,{key:1,"cursor-pos":e.cursorPos,screens:e.capturedScreens,"offset-x":e.offsetX,"offset-y":e.offsetY},null,8,["cursor-pos","screens","offset-x","offset-y"])):Nt("",!0)],36))}},Kl=xl(Bl);Kl.mount("#app");
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Gs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const G={},bt=[],ze=()=>{},to=()=>!1,ds=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Js=e=>e.startsWith("onUpdate:"),ge=Object.assign,Zs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},so=Object.prototype.hasOwnProperty,B=(e,t)=>so.call(e,t),L=Array.isArray,wt=e=>hs(e)==="[object Map]",Gn=e=>hs(e)==="[object Set]",H=e=>typeof e=="function",se=e=>typeof e=="string",tt=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",Jn=e=>(te(e)||H(e))&&H(e.then)&&H(e.catch),Zn=Object.prototype.toString,hs=e=>Zn.call(e),no=e=>hs(e).slice(8,-1),Qn=e=>hs(e)==="[object Object]",Qs=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=Gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ps=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},io=/-(\w)/g,et=ps(e=>e.replace(io,(t,n)=>n?n.toUpperCase():"")),oo=/\B([A-Z])/g,dt=ps(e=>e.replace(oo,"-$1").toLowerCase()),ei=ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ts=ps(e=>e?`on${ei(e)}`:""),Ze=(e,t)=>!Object.is(e,t),ss=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ti=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},zs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let bn;const gs=()=>bn||(bn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Me(e){if(L(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=se(s)?fo(s):Me(s);if(i)for(const o in i)t[o]=i[o]}return t}else if(se(e)||te(e))return e}const ro=/;(?![^(]*\))/g,lo=/:([^]+)/,co=/\/\*[^]*?\*\//g;function fo(e){const t={};return e.replace(co,"").split(ro).forEach(n=>{if(n){const s=n.split(lo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Lt(e){let t="";if(se(e))t=e;else if(L(e))for(let n=0;n<e.length;n++){const s=Lt(e[n]);s&&(t+=s+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const uo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ao=Gs(uo);function si(e){return!!e||e===""}const ni=e=>!!(e&&e.__v_isRef===!0),ct=e=>se(e)?e:e==null?"":L(e)||te(e)&&(e.toString===Zn||!H(e.toString))?ni(e)?ct(e.value):JSON.stringify(e,ii,2):String(e),ii=(e,t)=>ni(t)?ii(e,t.value):wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],o)=>(n[Cs(s,o)+" =>"]=i,n),{})}:Gn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Cs(n))}:tt(t)?Cs(t):te(t)&&!L(t)&&!Qn(t)?String(t):t,Cs=(e,t="")=>{var n;return tt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ye;class ho{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){ye=this}off(){ye=this.parent}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function po(){return ye}let Q;const As=new WeakSet;class oi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ye&&ye.active&&ye.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,As.has(this)&&(As.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||li(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,wn(this),ci(this);const t=Q,n=Ee;Q=this,Ee=!0;try{return this.fn()}finally{fi(this),Q=t,Ee=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)sn(t);this.deps=this.depsTail=void 0,wn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?As.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ns(this)&&this.run()}get dirty(){return Ns(this)}}let ri=0,It,Dt;function li(e,t=!1){if(e.flags|=8,t){e.next=Dt,Dt=e;return}e.next=It,It=e}function en(){ri++}function tn(){if(--ri>0)return;if(Dt){let t=Dt;for(Dt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;It;){let t=It;for(It=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ci(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function fi(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),sn(s),go(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Ns(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ui(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ui(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ht))return;e.globalVersion=Ht;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ns(e)){e.flags&=-3;return}const n=Q,s=Ee;Q=e,Ee=!0;try{ci(e);const i=e.fn(e._value);(t.version===0||Ze(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Q=n,Ee=s,fi(e),e.flags&=-3}}function sn(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)sn(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function go(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ee=!0;const ai=[];function st(){ai.push(Ee),Ee=!1}function nt(){const e=ai.pop();Ee=e===void 0?!0:e}function wn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Q;Q=void 0;try{t()}finally{Q=n}}}let Ht=0;class mo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class nn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Q||!Ee||Q===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Q)n=this.activeLink=new mo(Q,this),Q.deps?(n.prevDep=Q.depsTail,Q.depsTail.nextDep=n,Q.depsTail=n):Q.deps=Q.depsTail=n,di(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Q.depsTail,n.nextDep=void 0,Q.depsTail.nextDep=n,Q.depsTail=n,Q.deps===n&&(Q.deps=s)}return n}trigger(t){this.version++,Ht++,this.notify(t)}notify(t){en();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{tn()}}}function di(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)di(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ls=new WeakMap,ft=Symbol(""),Hs=Symbol(""),Wt=Symbol("");function le(e,t,n){if(Ee&&Q){let s=Ls.get(e);s||Ls.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new nn),i.map=s,i.key=n),i.track()}}function je(e,t,n,s,i,o){const r=Ls.get(e);if(!r){Ht++;return}const l=c=>{c&&c.trigger()};if(en(),t==="clear")r.forEach(l);else{const c=L(e),d=c&&Qs(n);if(c&&n==="length"){const a=Number(s);r.forEach((h,m)=>{(m==="length"||m===Wt||!tt(m)&&m>=a)&&l(h)})}else switch((n!==void 0||r.has(void 0))&&l(r.get(n)),d&&l(r.get(Wt)),t){case"add":c?d&&l(r.get("length")):(l(r.get(ft)),wt(e)&&l(r.get(Hs)));break;case"delete":c||(l(r.get(ft)),wt(e)&&l(r.get(Hs)));break;case"set":wt(e)&&l(r.get(ft));break}}tn()}function pt(e){const t=U(e);return t===e?t:(le(t,"iterate",Wt),Pe(e)?t:t.map(ce))}function ms(e){return le(e=U(e),"iterate",Wt),e}const bo={__proto__:null,[Symbol.iterator](){return Es(this,Symbol.iterator,ce)},concat(...e){return pt(this).concat(...e.map(t=>L(t)?pt(t):t))},entries(){return Es(this,"entries",e=>(e[1]=ce(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(ce),arguments)},find(e,t){return We(this,"find",e,t,ce,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,ce,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return Rs(this,"includes",e)},indexOf(...e){return Rs(this,"indexOf",e)},join(e){return pt(this).join(e)},lastIndexOf(...e){return Rs(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ct(this,"pop")},push(...e){return Ct(this,"push",e)},reduce(e,...t){return vn(this,"reduce",e,t)},reduceRight(e,...t){return vn(this,"reduceRight",e,t)},shift(){return Ct(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ct(this,"splice",e)},toReversed(){return pt(this).toReversed()},toSorted(e){return pt(this).toSorted(e)},toSpliced(...e){return pt(this).toSpliced(...e)},unshift(...e){return Ct(this,"unshift",e)},values(){return Es(this,"values",ce)}};function Es(e,t,n){const s=ms(e),i=s[t]();return s!==e&&!Pe(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const wo=Array.prototype;function We(e,t,n,s,i,o){const r=ms(e),l=r!==e&&!Pe(e),c=r[t];if(c!==wo[t]){const h=c.apply(e,o);return l?ce(h):h}let d=n;r!==e&&(l?d=function(h,m){return n.call(this,ce(h),m,e)}:n.length>2&&(d=function(h,m){return n.call(this,h,m,e)}));const a=c.call(r,d,s);return l&&i?i(a):a}function vn(e,t,n,s){const i=ms(e);let o=n;return i!==e&&(Pe(e)?n.length>3&&(o=function(r,l,c){return n.call(this,r,l,c,e)}):o=function(r,l,c){return n.call(this,r,ce(l),c,e)}),i[t](o,...s)}function Rs(e,t,n){const s=U(e);le(s,"iterate",Wt);const i=s[t](...n);return(i===-1||i===!1)&&ln(n[0])?(n[0]=U(n[0]),s[t](...n)):i}function Ct(e,t,n=[]){st(),en();const s=U(e)[t].apply(e,n);return tn(),nt(),s}const vo=Gs("__proto__,__v_isRef,__isVue"),hi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tt));function yo(e){tt(e)||(e=String(e));const t=U(this);return le(t,"has",e),t.hasOwnProperty(e)}class pi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?Ro:wi:o?bi:mi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=L(t);if(!i){let c;if(r&&(c=bo[n]))return c;if(n==="hasOwnProperty")return yo}const l=Reflect.get(t,n,fe(t)?t:s);return(tt(n)?hi.has(n):vo(n))||(i||le(t,"get",n),o)?l:fe(l)?r&&Qs(n)?l:l.value:te(l)?i?vi(l):bs(l):l}}class gi extends pi{constructor(t=!1){super(!1,t)}set(t,n,s,i){let o=t[n];if(!this._isShallow){const c=ut(o);if(!Pe(s)&&!ut(s)&&(o=U(o),s=U(s)),!L(t)&&fe(o)&&!fe(s))return c?!1:(o.value=s,!0)}const r=L(t)&&Qs(n)?Number(n)<t.length:B(t,n),l=Reflect.set(t,n,s,fe(t)?t:i);return t===U(i)&&(r?Ze(s,o)&&je(t,"set",n,s):je(t,"add",n,s)),l}deleteProperty(t,n){const s=B(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&s&&je(t,"delete",n,void 0),i}has(t,n){const s=Reflect.has(t,n);return(!tt(n)||!hi.has(n))&&le(t,"has",n),s}ownKeys(t){return le(t,"iterate",L(t)?"length":ft),Reflect.ownKeys(t)}}class xo extends pi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const _o=new gi,So=new xo,Mo=new gi(!0);const Ws=e=>e,Gt=e=>Reflect.getPrototypeOf(e);function Po(e,t,n){return function(...s){const i=this.__v_raw,o=U(i),r=wt(o),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,d=i[e](...s),a=n?Ws:t?Ys:ce;return!t&&le(o,"iterate",c?Hs:ft),{next(){const{value:h,done:m}=d.next();return m?{value:h,done:m}:{value:l?[a(h[0]),a(h[1])]:a(h),done:m}},[Symbol.iterator](){return this}}}}function Jt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function To(e,t){const n={get(i){const o=this.__v_raw,r=U(o),l=U(i);e||(Ze(i,l)&&le(r,"get",i),le(r,"get",l));const{has:c}=Gt(r),d=t?Ws:e?Ys:ce;if(c.call(r,i))return d(o.get(i));if(c.call(r,l))return d(o.get(l));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!e&&le(U(i),"iterate",ft),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,r=U(o),l=U(i);return e||(Ze(i,l)&&le(r,"has",i),le(r,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const r=this,l=r.__v_raw,c=U(l),d=t?Ws:e?Ys:ce;return!e&&le(c,"iterate",ft),l.forEach((a,h)=>i.call(o,d(a),d(h),r))}};return ge(n,e?{add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear")}:{add(i){!t&&!Pe(i)&&!ut(i)&&(i=U(i));const o=U(this);return Gt(o).has.call(o,i)||(o.add(i),je(o,"add",i,i)),this},set(i,o){!t&&!Pe(o)&&!ut(o)&&(o=U(o));const r=U(this),{has:l,get:c}=Gt(r);let d=l.call(r,i);d||(i=U(i),d=l.call(r,i));const a=c.call(r,i);return r.set(i,o),d?Ze(o,a)&&je(r,"set",i,o):je(r,"add",i,o),this},delete(i){const o=U(this),{has:r,get:l}=Gt(o);let c=r.call(o,i);c||(i=U(i),c=r.call(o,i)),l&&l.call(o,i);const d=o.delete(i);return c&&je(o,"delete",i,void 0),d},clear(){const i=U(this),o=i.size!==0,r=i.clear();return o&&je(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Po(i,e,t)}),n}function on(e,t){const n=To(e,t);return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(B(n,i)&&i in s?n:s,i,o)}const Co={get:on(!1,!1)},Ao={get:on(!1,!0)},Eo={get:on(!0,!1)};const mi=new WeakMap,bi=new WeakMap,wi=new WeakMap,Ro=new WeakMap;function Oo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Io(e){return e.__v_skip||!Object.isExtensible(e)?0:Oo(no(e))}function bs(e){return ut(e)?e:rn(e,!1,_o,Co,mi)}function Do(e){return rn(e,!1,Mo,Ao,bi)}function vi(e){return rn(e,!0,So,Eo,wi)}function rn(e,t,n,s,i){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=Io(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function vt(e){return ut(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function ln(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function yi(e){return!B(e,"__v_skip")&&Object.isExtensible(e)&&ti(e,"__v_skip",!0),e}const ce=e=>te(e)?bs(e):e,Ys=e=>te(e)?vi(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function Xe(e){return Fo(e,!1)}function Fo(e,t){return fe(e)?e:new $o(e,t)}class $o{constructor(t,n){this.dep=new nn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:U(t),this._value=n?t:ce(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||ut(t);t=s?t:U(t),Ze(t,n)&&(this._rawValue=t,this._value=s?t:ce(t),this.dep.trigger())}}function qe(e){return fe(e)?e.value:e}const ko={get:(e,t,n)=>t==="__v_raw"?e:qe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return fe(i)&&!fe(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function xi(e){return vt(e)?e:new Proxy(e,ko)}class zo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new nn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ht-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Q!==this)return li(this,!0),!0}get value(){const t=this.dep.track();return ui(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function No(e,t,n=!1){let s,i;return H(e)?s=e:(s=e.get,i=e.set),new zo(s,i,n)}const Zt={},rs=new WeakMap;let lt;function Lo(e,t=!1,n=lt){if(n){let s=rs.get(n);s||rs.set(n,s=[]),s.push(e)}}function Ho(e,t,n=G){const{immediate:s,deep:i,once:o,scheduler:r,augmentJob:l,call:c}=n,d=C=>i?C:Pe(C)||i===!1||i===0?Ue(C,1):Ue(C);let a,h,m,v,M=!1,O=!1;if(fe(e)?(h=()=>e.value,M=Pe(e)):vt(e)?(h=()=>d(e),M=!0):L(e)?(O=!0,M=e.some(C=>vt(C)||Pe(C)),h=()=>e.map(C=>{if(fe(C))return C.value;if(vt(C))return d(C);if(H(C))return c?c(C,2):C()})):H(e)?t?h=c?()=>c(e,2):e:h=()=>{if(m){st();try{m()}finally{nt()}}const C=lt;lt=a;try{return c?c(e,3,[v]):e(v)}finally{lt=C}}:h=ze,t&&i){const C=h,W=i===!0?1/0:i;h=()=>Ue(C(),W)}const q=po(),z=()=>{a.stop(),q&&q.active&&Zs(q.effects,a)};if(o&&t){const C=t;t=(...W)=>{C(...W),z()}}let A=O?new Array(e.length).fill(Zt):Zt;const b=C=>{if(!(!(a.flags&1)||!a.dirty&&!C))if(t){const W=a.run();if(i||M||(O?W.some((T,_)=>Ze(T,A[_])):Ze(W,A))){m&&m();const T=lt;lt=a;try{const _=[W,A===Zt?void 0:O&&A[0]===Zt?[]:A,v];c?c(t,3,_):t(..._),A=W}finally{lt=T}}}else a.run()};return l&&l(b),a=new oi(h),a.scheduler=r?()=>r(b,!1):b,v=C=>Lo(C,!1,a),m=a.onStop=()=>{const C=rs.get(a);if(C){if(c)c(C,4);else for(const W of C)W();rs.delete(a)}},t?s?b(!0):A=a.run():r?r(b.bind(null,!0),!0):a.run(),z.pause=a.pause.bind(a),z.resume=a.resume.bind(a),z.stop=z,z}function Ue(e,t=1/0,n){if(t<=0||!te(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))Ue(e.value,t,n);else if(L(e))for(let s=0;s<e.length;s++)Ue(e[s],t,n);else if(Gn(e)||wt(e))e.forEach(s=>{Ue(s,t,n)});else if(Qn(e)){for(const s in e)Ue(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ue(e[s],t,n)}return e}function Bt(e,t,n,s){try{return s?e(...s):e()}catch(i){ws(i,t,n)}}function Le(e,t,n,s){if(H(e)){const i=Bt(e,t,n,s);return i&&Jn(i)&&i.catch(o=>{ws(o,t,n)}),i}if(L(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Le(e[o],t,n,s));return i}}function ws(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||G;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,d)===!1)return}l=l.parent}if(o){st(),Bt(o,null,10,[e,c,d]),nt();return}}Wo(e,n,i,s,r)}function Wo(e,t,n,s=!0,i=!1){if(i)throw e;console.error(e)}const de=[];let $e=-1;const yt=[];let Ge=null,gt=0;const _i=Promise.resolve();let ls=null;function Yo(e){const t=ls||_i;return e?t.then(this?e.bind(this):e):t}function jo(e){let t=$e+1,n=de.length;for(;t<n;){const s=t+n>>>1,i=de[s],o=Yt(i);o<e||o===e&&i.flags&2?t=s+1:n=s}return t}function cn(e){if(!(e.flags&1)){const t=Yt(e),n=de[de.length-1];!n||!(e.flags&2)&&t>=Yt(n)?de.push(e):de.splice(jo(t),0,e),e.flags|=1,Si()}}function Si(){ls||(ls=_i.then(Pi))}function Xo(e){L(e)?yt.push(...e):Ge&&e.id===-1?Ge.splice(gt+1,0,e):e.flags&1||(yt.push(e),e.flags|=1),Si()}function yn(e,t,n=$e+1){for(;n<de.length;n++){const s=de[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;de.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Mi(e){if(yt.length){const t=[...new Set(yt)].sort((n,s)=>Yt(n)-Yt(s));if(yt.length=0,Ge){Ge.push(...t);return}for(Ge=t,gt=0;gt<Ge.length;gt++){const n=Ge[gt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ge=null,gt=0}}const Yt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Pi(e){try{for($e=0;$e<de.length;$e++){const t=de[$e];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Bt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;$e<de.length;$e++){const t=de[$e];t&&(t.flags&=-2)}$e=-1,de.length=0,Mi(),ls=null,(de.length||yt.length)&&Pi()}}let Se=null,Ti=null;function cs(e){const t=Se;return Se=e,Ti=e&&e.type.__scopeId||null,t}function Uo(e,t=Se,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&In(-1);const o=cs(t);let r;try{r=e(...i)}finally{cs(o),s._d&&In(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function Qt(e,t){if(Se===null)return e;const n=_s(Se),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,r,l,c=G]=t[i];o&&(H(o)&&(o={mounted:o,updated:o}),o.deep&&Ue(r),s.push({dir:o,instance:n,value:r,oldValue:void 0,arg:l,modifiers:c}))}return e}function ot(e,t,n,s){const i=e.dirs,o=t&&t.dirs;for(let r=0;r<i.length;r++){const l=i[r];o&&(l.oldValue=o[r].value);let c=l.dir[s];c&&(st(),Le(c,n,8,[e.el,l,e,t]),nt())}}const Ci=Symbol("_vte"),Bo=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),xn=e=>e&&(e.defer||e.defer===""),_n=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Sn=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,js=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},Ai={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,o,r,l,c,d){const{mc:a,pc:h,pbc:m,o:{insert:v,querySelector:M,createText:O,createComment:q}}=d,z=Ft(t.props);let{shapeFlag:A,children:b,dynamicChildren:C}=t;if(e==null){const W=t.el=O(""),T=t.anchor=O("");v(W,n,s),v(T,n,s);const _=(I,Y)=>{A&16&&(i&&i.isCE&&(i.ce._teleportTarget=I),a(b,I,Y,i,o,r,l,c))},D=()=>{const I=t.target=js(t.props,M),Y=Ei(I,t,O,v);I&&(r!=="svg"&&_n(I)?r="svg":r!=="mathml"&&Sn(I)&&(r="mathml"),z||(_(I,Y),ns(t,!1)))};z&&(_(n,T),ns(t,!0)),xn(t.props)?ae(()=>{D(),t.el.__isMounted=!0},o):D()}else{if(xn(t.props)&&!e.el.__isMounted){ae(()=>{Ai.process(e,t,n,s,i,o,r,l,c,d),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const W=t.anchor=e.anchor,T=t.target=e.target,_=t.targetAnchor=e.targetAnchor,D=Ft(e.props),I=D?n:T,Y=D?W:_;if(r==="svg"||_n(T)?r="svg":(r==="mathml"||Sn(T))&&(r="mathml"),C?(m(e.dynamicChildren,C,I,i,o,r,l),an(e,t,!0)):c||h(e,t,I,Y,i,o,r,l,!1),z)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):es(t,n,W,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const J=t.target=js(t.props,M);J&&es(t,J,null,d,0)}else D&&es(t,T,_,d,1);ns(t,z)}},remove(e,t,n,{um:s,o:{remove:i}},o){const{shapeFlag:r,children:l,anchor:c,targetStart:d,targetAnchor:a,target:h,props:m}=e;if(h&&(i(d),i(a)),o&&i(c),r&16){const v=o||!Ft(m);for(let M=0;M<l.length;M++){const O=l[M];s(O,t,n,v,!!O.dynamicChildren)}}},move:es,hydrate:Vo};function es(e,t,n,{o:{insert:s},m:i},o=2){o===0&&s(e.targetAnchor,t,n);const{el:r,anchor:l,shapeFlag:c,children:d,props:a}=e,h=o===2;if(h&&s(r,t,n),(!h||Ft(a))&&c&16)for(let m=0;m<d.length;m++)i(d[m],t,n,2);h&&s(l,t,n)}function Vo(e,t,n,s,i,o,{o:{nextSibling:r,parentNode:l,querySelector:c,insert:d,createText:a}},h){const m=t.target=js(t.props,c);if(m){const v=Ft(t.props),M=m._lpa||m.firstChild;if(t.shapeFlag&16)if(v)t.anchor=h(r(e),t,l(e),n,s,i,o),t.targetStart=M,t.targetAnchor=M&&r(M);else{t.anchor=r(e);let O=M;for(;O;){if(O&&O.nodeType===8){if(O.data==="teleport start anchor")t.targetStart=O;else if(O.data==="teleport anchor"){t.targetAnchor=O,m._lpa=t.targetAnchor&&r(t.targetAnchor);break}}O=r(O)}t.targetAnchor||Ei(m,t,a,d),h(M&&r(M),t,m,n,s,i,o)}ns(t,v)}return t.anchor&&r(t.anchor)}const Ko=Ai;function ns(e,t){const n=e.ctx;if(n&&n.ut){let s,i;for(t?(s=e.el,i=e.anchor):(s=e.targetStart,i=e.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Ei(e,t,n,s){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[Ci]=o,e&&(s(i,e),s(o,e)),o}function fn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ri(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function fs(e,t,n,s,i=!1){if(L(e)){e.forEach((M,O)=>fs(M,t&&(L(t)?t[O]:t),n,s,i));return}if($t(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&fs(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?_s(s.component):s.el,r=i?null:o,{i:l,r:c}=e,d=t&&t.r,a=l.refs===G?l.refs={}:l.refs,h=l.setupState,m=U(h),v=h===G?()=>!1:M=>B(m,M);if(d!=null&&d!==c&&(se(d)?(a[d]=null,v(d)&&(h[d]=null)):fe(d)&&(d.value=null)),H(c))Bt(c,l,12,[r,a]);else{const M=se(c),O=fe(c);if(M||O){const q=()=>{if(e.f){const z=M?v(c)?h[c]:a[c]:c.value;i?L(z)&&Zs(z,o):L(z)?z.includes(o)||z.push(o):M?(a[c]=[o],v(c)&&(h[c]=a[c])):(c.value=[o],e.k&&(a[e.k]=c.value))}else M?(a[c]=r,v(c)&&(h[c]=r)):O&&(c.value=r,e.k&&(a[e.k]=r))};r?(q.id=-1,ae(q,n)):q()}}}gs().requestIdleCallback;gs().cancelIdleCallback;const $t=e=>!!e.type.__asyncLoader,Oi=e=>e.type.__isKeepAlive;function qo(e,t){Ii(e,"a",t)}function Go(e,t){Ii(e,"da",t)}function Ii(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(vs(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Oi(i.parent.vnode)&&Jo(s,t,n,i),i=i.parent}}function Jo(e,t,n,s){const i=vs(t,e,s,!0);Vt(()=>{Zs(s[t],i)},n)}function vs(e,t,n=pe,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{st();const l=Kt(n),c=Le(t,n,e,r);return l(),nt(),c});return s?i.unshift(o):i.push(o),o}}const Ve=e=>(t,n=pe)=>{(!Ut||e==="sp")&&vs(e,(...s)=>t(...s),n)},Zo=Ve("bm"),jt=Ve("m"),Qo=Ve("bu"),er=Ve("u"),tr=Ve("bum"),Vt=Ve("um"),sr=Ve("sp"),nr=Ve("rtg"),ir=Ve("rtc");function or(e,t=pe){vs("ec",e,t)}const rr=Symbol.for("v-ndc");function lr(e,t,n,s){let i;const o=n,r=L(e);if(r||se(e)){const l=r&&vt(e);let c=!1;l&&(c=!Pe(e),e=ms(e)),i=new Array(e.length);for(let d=0,a=e.length;d<a;d++)i[d]=t(c?ce(e[d]):e[d],d,void 0,o)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,o)}else if(te(e))if(e[Symbol.iterator])i=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const a=l[c];i[c]=t(e[a],a,c,o)}}else i=[];return i}const Xs=e=>e?Zi(e)?_s(e):Xs(e.parent):null,kt=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Xs(e.parent),$root:e=>Xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fi(e),$forceUpdate:e=>e.f||(e.f=()=>{cn(e.update)}),$nextTick:e=>e.n||(e.n=Yo.bind(e.proxy)),$watch:e=>Er.bind(e)}),Os=(e,t)=>e!==G&&!e.__isScriptSetup&&B(e,t),cr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const v=r[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Os(s,t))return r[t]=1,s[t];if(i!==G&&B(i,t))return r[t]=2,i[t];if((d=e.propsOptions[0])&&B(d,t))return r[t]=3,o[t];if(n!==G&&B(n,t))return r[t]=4,n[t];Us&&(r[t]=0)}}const a=kt[t];let h,m;if(a)return t==="$attrs"&&le(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==G&&B(n,t))return r[t]=4,n[t];if(m=c.config.globalProperties,B(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return Os(i,t)?(i[t]=n,!0):s!==G&&B(s,t)?(s[t]=n,!0):B(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:o}},r){let l;return!!n[r]||e!==G&&B(e,r)||Os(t,r)||(l=o[0])&&B(l,r)||B(s,r)||B(kt,r)||B(i.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mn(e){return L(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Us=!0;function fr(e){const t=Fi(e),n=e.proxy,s=e.ctx;Us=!1,t.beforeCreate&&Pn(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:l,provide:c,inject:d,created:a,beforeMount:h,mounted:m,beforeUpdate:v,updated:M,activated:O,deactivated:q,beforeDestroy:z,beforeUnmount:A,destroyed:b,unmounted:C,render:W,renderTracked:T,renderTriggered:_,errorCaptured:D,serverPrefetch:I,expose:Y,inheritAttrs:J,components:ee,directives:re,filters:be}=t;if(d&&ur(d,s,null),r)for(const V in r){const X=r[V];H(X)&&(s[V]=X.bind(n))}if(i){const V=i.call(n,n);te(V)&&(e.data=bs(V))}if(Us=!0,o)for(const V in o){const X=o[V],Te=H(X)?X.bind(n,n):H(X.get)?X.get.bind(n,n):ze,Ke=!H(X)&&H(X.set)?X.set.bind(n):ze,He=Ne({get:Te,set:Ke});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>He.value,set:_e=>He.value=_e})}if(l)for(const V in l)Di(l[V],s,n,V);if(c){const V=H(c)?c.call(n):c;Reflect.ownKeys(V).forEach(X=>{Rt(X,V[X])})}a&&Pn(a,e,"c");function oe(V,X){L(X)?X.forEach(Te=>V(Te.bind(n))):X&&V(X.bind(n))}if(oe(Zo,h),oe(jt,m),oe(Qo,v),oe(er,M),oe(qo,O),oe(Go,q),oe(or,D),oe(ir,T),oe(nr,_),oe(tr,A),oe(Vt,C),oe(sr,I),L(Y))if(Y.length){const V=e.exposed||(e.exposed={});Y.forEach(X=>{Object.defineProperty(V,X,{get:()=>n[X],set:Te=>n[X]=Te})})}else e.exposed||(e.exposed={});W&&e.render===ze&&(e.render=W),J!=null&&(e.inheritAttrs=J),ee&&(e.components=ee),re&&(e.directives=re),I&&Ri(e)}function ur(e,t,n=ze){L(e)&&(e=Bs(e));for(const s in e){const i=e[s];let o;te(i)?"default"in i?o=Be(i.from||s,i.default,!0):o=Be(i.from||s):o=Be(i),fe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[s]=o}}function Pn(e,t,n){Le(L(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Di(e,t,n,s){let i=s.includes(".")?Bi(n,s):()=>n[s];if(se(e)){const o=t[e];H(o)&&Qe(i,o)}else if(H(e))Qe(i,e.bind(n));else if(te(e))if(L(e))e.forEach(o=>Di(o,t,n,s));else{const o=H(e.handler)?e.handler.bind(n):t[e.handler];H(o)&&Qe(i,o,e)}}function Fi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,l=o.get(t);let c;return l?c=l:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(d=>us(c,d,r,!0)),us(c,t,r)),te(t)&&o.set(t,c),c}function us(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&us(e,o,n,!0),i&&i.forEach(r=>us(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=ar[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const ar={data:Tn,props:Cn,emits:Cn,methods:Et,computed:Et,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Et,directives:Et,watch:hr,provide:Tn,inject:dr};function Tn(e,t){return t?e?function(){return ge(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function dr(e,t){return Et(Bs(e),Bs(t))}function Bs(e){if(L(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Et(e,t){return e?ge(Object.create(null),e,t):t}function Cn(e,t){return e?L(e)&&L(t)?[...new Set([...e,...t])]:ge(Object.create(null),Mn(e),Mn(t??{})):t}function hr(e,t){if(!e)return t;if(!t)return e;const n=ge(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function $i(){return{app:null,config:{isNativeTag:to,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let pr=0;function gr(e,t){return function(s,i=null){H(s)||(s=ge({},s)),i!=null&&!te(i)&&(i=null);const o=$i(),r=new WeakSet,l=[];let c=!1;const d=o.app={_uid:pr++,_component:s,_props:i,_container:null,_context:o,_instance:null,version:Gr,get config(){return o.config},set config(a){},use(a,...h){return r.has(a)||(a&&H(a.install)?(r.add(a),a.install(d,...h)):H(a)&&(r.add(a),a(d,...h))),d},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),d},component(a,h){return h?(o.components[a]=h,d):o.components[a]},directive(a,h){return h?(o.directives[a]=h,d):o.directives[a]},mount(a,h,m){if(!c){const v=d._ceVNode||Re(s,i);return v.appContext=o,m===!0?m="svg":m===!1&&(m=void 0),e(v,a,m),c=!0,d._container=a,a.__vue_app__=d,_s(v.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Le(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,h){return o.provides[a]=h,d},runWithContext(a){const h=xt;xt=d;try{return a()}finally{xt=h}}};return d}}let xt=null;function Rt(e,t){if(pe){let n=pe.provides;const s=pe.parent&&pe.parent.provides;s===n&&(n=pe.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=pe||Se;if(s||xt){const i=xt?xt._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&H(t)?t.call(s&&s.proxy):t}}const ki={},zi=()=>Object.create(ki),Ni=e=>Object.getPrototypeOf(e)===ki;function mr(e,t,n,s=!1){const i={},o=zi();e.propsDefaults=Object.create(null),Li(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=s?i:Do(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function br(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,l=U(i),[c]=e.propsOptions;let d=!1;if((s||r>0)&&!(r&16)){if(r&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let m=a[h];if(ys(e.emitsOptions,m))continue;const v=t[m];if(c)if(B(o,m))v!==o[m]&&(o[m]=v,d=!0);else{const M=et(m);i[M]=Vs(c,l,M,v,e,!1)}else v!==o[m]&&(o[m]=v,d=!0)}}}else{Li(e,t,i,o)&&(d=!0);let a;for(const h in l)(!t||!B(t,h)&&((a=dt(h))===h||!B(t,a)))&&(c?n&&(n[h]!==void 0||n[a]!==void 0)&&(i[h]=Vs(c,l,h,void 0,e,!0)):delete i[h]);if(o!==l)for(const h in o)(!t||!B(t,h))&&(delete o[h],d=!0)}d&&je(e.attrs,"set","")}function Li(e,t,n,s){const[i,o]=e.propsOptions;let r=!1,l;if(t)for(let c in t){if(Ot(c))continue;const d=t[c];let a;i&&B(i,a=et(c))?!o||!o.includes(a)?n[a]=d:(l||(l={}))[a]=d:ys(e.emitsOptions,c)||(!(c in s)||d!==s[c])&&(s[c]=d,r=!0)}if(o){const c=U(n),d=l||G;for(let a=0;a<o.length;a++){const h=o[a];n[h]=Vs(i,c,h,d[h],e,!B(d,h))}}return r}function Vs(e,t,n,s,i,o){const r=e[n];if(r!=null){const l=B(r,"default");if(l&&s===void 0){const c=r.default;if(r.type!==Function&&!r.skipFactory&&H(c)){const{propsDefaults:d}=i;if(n in d)s=d[n];else{const a=Kt(i);s=d[n]=c.call(null,t),a()}}else s=c;i.ce&&i.ce._setProp(n,s)}r[0]&&(o&&!l?s=!1:r[1]&&(s===""||s===dt(n))&&(s=!0))}return s}const wr=new WeakMap;function Hi(e,t,n=!1){const s=n?wr:t.propsCache,i=s.get(e);if(i)return i;const o=e.props,r={},l=[];let c=!1;if(!H(e)){const a=h=>{c=!0;const[m,v]=Hi(h,t,!0);ge(r,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return te(e)&&s.set(e,bt),bt;if(L(o))for(let a=0;a<o.length;a++){const h=et(o[a]);An(h)&&(r[h]=G)}else if(o)for(const a in o){const h=et(a);if(An(h)){const m=o[a],v=r[h]=L(m)||H(m)?{type:m}:ge({},m),M=v.type;let O=!1,q=!0;if(L(M))for(let z=0;z<M.length;++z){const A=M[z],b=H(A)&&A.name;if(b==="Boolean"){O=!0;break}else b==="String"&&(q=!1)}else O=H(M)&&M.name==="Boolean";v[0]=O,v[1]=q,(O||B(v,"default"))&&l.push(h)}}const d=[r,l];return te(e)&&s.set(e,d),d}function An(e){return e[0]!=="$"&&!Ot(e)}const Wi=e=>e[0]==="_"||e==="$stable",un=e=>L(e)?e.map(ke):[ke(e)],vr=(e,t,n)=>{if(t._n)return t;const s=Uo((...i)=>un(t(...i)),n);return s._c=!1,s},Yi=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Wi(i))continue;const o=e[i];if(H(o))t[i]=vr(i,o,s);else if(o!=null){const r=un(o);t[i]=()=>r}}},ji=(e,t)=>{const n=un(t);e.slots.default=()=>n},Xi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},yr=(e,t,n)=>{const s=e.slots=zi();if(e.vnode.shapeFlag&32){const i=t._;i?(Xi(s,t,n),n&&ti(s,"_",i,!0)):Yi(t,s)}else t&&ji(e,t)},xr=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,r=G;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Xi(i,t,n):(o=!t.$stable,Yi(t,i)),r=t}else t&&(ji(e,t),r={default:1});if(o)for(const l in i)!Wi(l)&&r[l]==null&&delete i[l]},ae=kr;function _r(e){return Sr(e)}function Sr(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:l,createComment:c,setText:d,setElementText:a,parentNode:h,nextSibling:m,setScopeId:v=ze,insertStaticContent:M}=e,O=(f,u,p,y=null,g=null,w=null,E=void 0,P=null,S=!!u.dynamicChildren)=>{if(f===u)return;f&&!At(f,u)&&(y=ht(f),_e(f,g,w,!0),f=null),u.patchFlag===-2&&(S=!1,u.dynamicChildren=null);const{type:x,ref:k,shapeFlag:R}=u;switch(x){case xs:q(f,u,p,y);break;case at:z(f,u,p,y);break;case Ds:f==null&&A(u,p,y,E);break;case Ce:ee(f,u,p,y,g,w,E,P,S);break;default:R&1?W(f,u,p,y,g,w,E,P,S):R&6?re(f,u,p,y,g,w,E,P,S):(R&64||R&128)&&x.process(f,u,p,y,g,w,E,P,S,Pt)}k!=null&&g&&fs(k,f&&f.ref,w,u||f,!u)},q=(f,u,p,y)=>{if(f==null)s(u.el=l(u.children),p,y);else{const g=u.el=f.el;u.children!==f.children&&d(g,u.children)}},z=(f,u,p,y)=>{f==null?s(u.el=c(u.children||""),p,y):u.el=f.el},A=(f,u,p,y)=>{[f.el,f.anchor]=M(f.children,u,p,y,f.el,f.anchor)},b=({el:f,anchor:u},p,y)=>{let g;for(;f&&f!==u;)g=m(f),s(f,p,y),f=g;s(u,p,y)},C=({el:f,anchor:u})=>{let p;for(;f&&f!==u;)p=m(f),i(f),f=p;i(u)},W=(f,u,p,y,g,w,E,P,S)=>{u.type==="svg"?E="svg":u.type==="math"&&(E="mathml"),f==null?T(u,p,y,g,w,E,P,S):I(f,u,g,w,E,P,S)},T=(f,u,p,y,g,w,E,P)=>{let S,x;const{props:k,shapeFlag:R,transition:$,dirs:N}=f;if(S=f.el=r(f.type,w,k&&k.is,k),R&8?a(S,f.children):R&16&&D(f.children,S,null,y,g,Is(f,w),E,P),N&&ot(f,null,y,"created"),_(S,f,f.scopeId,E,y),k){for(const Z in k)Z!=="value"&&!Ot(Z)&&o(S,Z,null,k[Z],w,y);"value"in k&&o(S,"value",null,k.value,w),(x=k.onVnodeBeforeMount)&&Fe(x,y,f)}N&&ot(f,null,y,"beforeMount");const j=Mr(g,$);j&&$.beforeEnter(S),s(S,u,p),((x=k&&k.onVnodeMounted)||j||N)&&ae(()=>{x&&Fe(x,y,f),j&&$.enter(S),N&&ot(f,null,y,"mounted")},g)},_=(f,u,p,y,g)=>{if(p&&v(f,p),y)for(let w=0;w<y.length;w++)v(f,y[w]);if(g){let w=g.subTree;if(u===w||Ki(w.type)&&(w.ssContent===u||w.ssFallback===u)){const E=g.vnode;_(f,E,E.scopeId,E.slotScopeIds,g.parent)}}},D=(f,u,p,y,g,w,E,P,S=0)=>{for(let x=S;x<f.length;x++){const k=f[x]=P?Je(f[x]):ke(f[x]);O(null,k,u,p,y,g,w,E,P)}},I=(f,u,p,y,g,w,E)=>{const P=u.el=f.el;let{patchFlag:S,dynamicChildren:x,dirs:k}=u;S|=f.patchFlag&16;const R=f.props||G,$=u.props||G;let N;if(p&&rt(p,!1),(N=$.onVnodeBeforeUpdate)&&Fe(N,p,u,f),k&&ot(u,f,p,"beforeUpdate"),p&&rt(p,!0),(R.innerHTML&&$.innerHTML==null||R.textContent&&$.textContent==null)&&a(P,""),x?Y(f.dynamicChildren,x,P,p,y,Is(u,g),w):E||X(f,u,P,null,p,y,Is(u,g),w,!1),S>0){if(S&16)J(P,R,$,p,g);else if(S&2&&R.class!==$.class&&o(P,"class",null,$.class,g),S&4&&o(P,"style",R.style,$.style,g),S&8){const j=u.dynamicProps;for(let Z=0;Z<j.length;Z++){const K=j[Z],we=R[K],me=$[K];(me!==we||K==="value")&&o(P,K,we,me,g,p)}}S&1&&f.children!==u.children&&a(P,u.children)}else!E&&x==null&&J(P,R,$,p,g);((N=$.onVnodeUpdated)||k)&&ae(()=>{N&&Fe(N,p,u,f),k&&ot(u,f,p,"updated")},y)},Y=(f,u,p,y,g,w,E)=>{for(let P=0;P<u.length;P++){const S=f[P],x=u[P],k=S.el&&(S.type===Ce||!At(S,x)||S.shapeFlag&70)?h(S.el):p;O(S,x,k,null,y,g,w,E,!0)}},J=(f,u,p,y,g)=>{if(u!==p){if(u!==G)for(const w in u)!Ot(w)&&!(w in p)&&o(f,w,u[w],null,g,y);for(const w in p){if(Ot(w))continue;const E=p[w],P=u[w];E!==P&&w!=="value"&&o(f,w,P,E,g,y)}"value"in p&&o(f,"value",u.value,p.value,g)}},ee=(f,u,p,y,g,w,E,P,S)=>{const x=u.el=f?f.el:l(""),k=u.anchor=f?f.anchor:l("");let{patchFlag:R,dynamicChildren:$,slotScopeIds:N}=u;N&&(P=P?P.concat(N):N),f==null?(s(x,p,y),s(k,p,y),D(u.children||[],p,k,g,w,E,P,S)):R>0&&R&64&&$&&f.dynamicChildren?(Y(f.dynamicChildren,$,p,g,w,E,P),(u.key!=null||g&&u===g.subTree)&&an(f,u,!0)):X(f,u,p,k,g,w,E,P,S)},re=(f,u,p,y,g,w,E,P,S)=>{u.slotScopeIds=P,f==null?u.shapeFlag&512?g.ctx.activate(u,p,y,E,S):be(u,p,y,g,w,E,S):St(f,u,S)},be=(f,u,p,y,g,w,E)=>{const P=f.component=Xr(f,y,g);if(Oi(f)&&(P.ctx.renderer=Pt),Ur(P,!1,E),P.asyncDep){if(g&&g.registerDep(P,oe,E),!f.el){const S=P.subTree=Re(at);z(null,S,u,p)}}else oe(P,f,u,p,g,w,E)},St=(f,u,p)=>{const y=u.component=f.component;if(Fr(f,u,p))if(y.asyncDep&&!y.asyncResolved){V(y,u,p);return}else y.next=u,y.update();else u.el=f.el,y.vnode=u},oe=(f,u,p,y,g,w,E)=>{const P=()=>{if(f.isMounted){let{next:R,bu:$,u:N,parent:j,vnode:Z}=f;{const Ie=Ui(f);if(Ie){R&&(R.el=Z.el,V(f,R,E)),Ie.asyncDep.then(()=>{f.isUnmounted||P()});return}}let K=R,we;rt(f,!1),R?(R.el=Z.el,V(f,R,E)):R=Z,$&&ss($),(we=R.props&&R.props.onVnodeBeforeUpdate)&&Fe(we,j,R,Z),rt(f,!0);const me=Rn(f),Oe=f.subTree;f.subTree=me,O(Oe,me,h(Oe.el),ht(Oe),f,g,w),R.el=me.el,K===null&&$r(f,me.el),N&&ae(N,g),(we=R.props&&R.props.onVnodeUpdated)&&ae(()=>Fe(we,j,R,Z),g)}else{let R;const{el:$,props:N}=u,{bm:j,m:Z,parent:K,root:we,type:me}=f,Oe=$t(u);rt(f,!1),j&&ss(j),!Oe&&(R=N&&N.onVnodeBeforeMount)&&Fe(R,K,u),rt(f,!0);{we.ce&&we.ce._injectChildStyle(me);const Ie=f.subTree=Rn(f);O(null,Ie,p,y,f,g,w),u.el=Ie.el}if(Z&&ae(Z,g),!Oe&&(R=N&&N.onVnodeMounted)){const Ie=u;ae(()=>Fe(R,K,Ie),g)}(u.shapeFlag&256||K&&$t(K.vnode)&&K.vnode.shapeFlag&256)&&f.a&&ae(f.a,g),f.isMounted=!0,u=p=y=null}};f.scope.on();const S=f.effect=new oi(P);f.scope.off();const x=f.update=S.run.bind(S),k=f.job=S.runIfDirty.bind(S);k.i=f,k.id=f.uid,S.scheduler=()=>cn(k),rt(f,!0),x()},V=(f,u,p)=>{u.component=f;const y=f.vnode.props;f.vnode=u,f.next=null,br(f,u.props,y,p),xr(f,u.children,p),st(),yn(f),nt()},X=(f,u,p,y,g,w,E,P,S=!1)=>{const x=f&&f.children,k=f?f.shapeFlag:0,R=u.children,{patchFlag:$,shapeFlag:N}=u;if($>0){if($&128){Ke(x,R,p,y,g,w,E,P,S);return}else if($&256){Te(x,R,p,y,g,w,E,P,S);return}}N&8?(k&16&&it(x,g,w),R!==x&&a(p,R)):k&16?N&16?Ke(x,R,p,y,g,w,E,P,S):it(x,g,w,!0):(k&8&&a(p,""),N&16&&D(R,p,y,g,w,E,P,S))},Te=(f,u,p,y,g,w,E,P,S)=>{f=f||bt,u=u||bt;const x=f.length,k=u.length,R=Math.min(x,k);let $;for($=0;$<R;$++){const N=u[$]=S?Je(u[$]):ke(u[$]);O(f[$],N,p,null,g,w,E,P,S)}x>k?it(f,g,w,!0,!1,R):D(u,p,y,g,w,E,P,S,R)},Ke=(f,u,p,y,g,w,E,P,S)=>{let x=0;const k=u.length;let R=f.length-1,$=k-1;for(;x<=R&&x<=$;){const N=f[x],j=u[x]=S?Je(u[x]):ke(u[x]);if(At(N,j))O(N,j,p,null,g,w,E,P,S);else break;x++}for(;x<=R&&x<=$;){const N=f[R],j=u[$]=S?Je(u[$]):ke(u[$]);if(At(N,j))O(N,j,p,null,g,w,E,P,S);else break;R--,$--}if(x>R){if(x<=$){const N=$+1,j=N<k?u[N].el:y;for(;x<=$;)O(null,u[x]=S?Je(u[x]):ke(u[x]),p,j,g,w,E,P,S),x++}}else if(x>$)for(;x<=R;)_e(f[x],g,w,!0),x++;else{const N=x,j=x,Z=new Map;for(x=j;x<=$;x++){const ve=u[x]=S?Je(u[x]):ke(u[x]);ve.key!=null&&Z.set(ve.key,x)}let K,we=0;const me=$-j+1;let Oe=!1,Ie=0;const Tt=new Array(me);for(x=0;x<me;x++)Tt[x]=0;for(x=N;x<=R;x++){const ve=f[x];if(we>=me){_e(ve,g,w,!0);continue}let De;if(ve.key!=null)De=Z.get(ve.key);else for(K=j;K<=$;K++)if(Tt[K-j]===0&&At(ve,u[K])){De=K;break}De===void 0?_e(ve,g,w,!0):(Tt[De-j]=x+1,De>=Ie?Ie=De:Oe=!0,O(ve,u[De],p,null,g,w,E,P,S),we++)}const gn=Oe?Pr(Tt):bt;for(K=gn.length-1,x=me-1;x>=0;x--){const ve=j+x,De=u[ve],mn=ve+1<k?u[ve+1].el:y;Tt[x]===0?O(null,De,p,mn,g,w,E,P,S):Oe&&(K<0||x!==gn[K]?He(De,p,mn,2):K--)}}},He=(f,u,p,y,g=null)=>{const{el:w,type:E,transition:P,children:S,shapeFlag:x}=f;if(x&6){He(f.component.subTree,u,p,y);return}if(x&128){f.suspense.move(u,p,y);return}if(x&64){E.move(f,u,p,Pt);return}if(E===Ce){s(w,u,p);for(let R=0;R<S.length;R++)He(S[R],u,p,y);s(f.anchor,u,p);return}if(E===Ds){b(f,u,p);return}if(y!==2&&x&1&&P)if(y===0)P.beforeEnter(w),s(w,u,p),ae(()=>P.enter(w),g);else{const{leave:R,delayLeave:$,afterLeave:N}=P,j=()=>s(w,u,p),Z=()=>{R(w,()=>{j(),N&&N()})};$?$(w,j,Z):Z()}else s(w,u,p)},_e=(f,u,p,y=!1,g=!1)=>{const{type:w,props:E,ref:P,children:S,dynamicChildren:x,shapeFlag:k,patchFlag:R,dirs:$,cacheIndex:N}=f;if(R===-2&&(g=!1),P!=null&&fs(P,null,p,f,!0),N!=null&&(u.renderCache[N]=void 0),k&256){u.ctx.deactivate(f);return}const j=k&1&&$,Z=!$t(f);let K;if(Z&&(K=E&&E.onVnodeBeforeUnmount)&&Fe(K,u,f),k&6)Ms(f.component,p,y);else{if(k&128){f.suspense.unmount(p,y);return}j&&ot(f,null,u,"beforeUnmount"),k&64?f.type.remove(f,u,p,Pt,y):x&&!x.hasOnce&&(w!==Ce||R>0&&R&64)?it(x,u,p,!1,!0):(w===Ce&&R&384||!g&&k&16)&&it(S,u,p),y&&qt(f)}(Z&&(K=E&&E.onVnodeUnmounted)||j)&&ae(()=>{K&&Fe(K,u,f),j&&ot(f,null,u,"unmounted")},p)},qt=f=>{const{type:u,el:p,anchor:y,transition:g}=f;if(u===Ce){Ss(p,y);return}if(u===Ds){C(f);return}const w=()=>{i(p),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(f.shapeFlag&1&&g&&!g.persisted){const{leave:E,delayLeave:P}=g,S=()=>E(p,w);P?P(f.el,w,S):S()}else w()},Ss=(f,u)=>{let p;for(;f!==u;)p=m(f),i(f),f=p;i(u)},Ms=(f,u,p)=>{const{bum:y,scope:g,job:w,subTree:E,um:P,m:S,a:x}=f;En(S),En(x),y&&ss(y),g.stop(),w&&(w.flags|=8,_e(E,f,u,p)),P&&ae(P,u),ae(()=>{f.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},it=(f,u,p,y=!1,g=!1,w=0)=>{for(let E=w;E<f.length;E++)_e(f[E],u,p,y,g)},ht=f=>{if(f.shapeFlag&6)return ht(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=m(f.anchor||f.el),p=u&&u[Ci];return p?m(p):u};let Mt=!1;const Ps=(f,u,p)=>{f==null?u._vnode&&_e(u._vnode,null,null,!0):O(u._vnode||null,f,u,null,null,null,p),u._vnode=f,Mt||(Mt=!0,yn(),Mi(),Mt=!1)},Pt={p:O,um:_e,m:He,r:qt,mt:be,mc:D,pc:X,pbc:Y,n:ht,o:e};return{render:Ps,hydrate:void 0,createApp:gr(Ps)}}function Is({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function an(e,t,n=!1){const s=e.children,i=t.children;if(L(s)&&L(i))for(let o=0;o<s.length;o++){const r=s[o];let l=i[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[o]=Je(i[o]),l.el=r.el),!n&&l.patchFlag!==-2&&an(r,l)),l.type===xs&&(l.el=r.el)}}function Pr(e){const t=e.slice(),n=[0];let s,i,o,r,l;const c=e.length;for(s=0;s<c;s++){const d=e[s];if(d!==0){if(i=n[n.length-1],e[i]<d){t[s]=i,n.push(s);continue}for(o=0,r=n.length-1;o<r;)l=o+r>>1,e[n[l]]<d?o=l+1:r=l;d<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}function Ui(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ui(t)}function En(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Tr=Symbol.for("v-scx"),Cr=()=>Be(Tr);function Ar(e,t){return dn(e,null,t)}function Qe(e,t,n){return dn(e,t,n)}function dn(e,t,n=G){const{immediate:s,deep:i,flush:o,once:r}=n,l=ge({},n),c=t&&s||!t&&o!=="post";let d;if(Ut){if(o==="sync"){const v=Cr();d=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=ze,v.resume=ze,v.pause=ze,v}}const a=pe;l.call=(v,M,O)=>Le(v,a,M,O);let h=!1;o==="post"?l.scheduler=v=>{ae(v,a&&a.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(v,M)=>{M?v():cn(v)}),l.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const m=Ho(e,t,l);return Ut&&(d?d.push(m):c&&m()),m}function Er(e,t,n){const s=this.proxy,i=se(e)?e.includes(".")?Bi(s,e):()=>s[e]:e.bind(s,s);let o;H(t)?o=t:(o=t.handler,n=t);const r=Kt(this),l=dn(i,o.bind(s),n);return r(),l}function Bi(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Rr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${et(t)}Modifiers`]||e[`${dt(t)}Modifiers`];function Or(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||G;let i=n;const o=t.startsWith("update:"),r=o&&Rr(s,t.slice(7));r&&(r.trim&&(i=n.map(a=>se(a)?a.trim():a)),r.number&&(i=n.map(zs)));let l,c=s[l=Ts(t)]||s[l=Ts(et(t))];!c&&o&&(c=s[l=Ts(dt(t))]),c&&Le(c,e,6,i);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Le(d,e,6,i)}}function Vi(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let r={},l=!1;if(!H(e)){const c=d=>{const a=Vi(d,t,!0);a&&(l=!0,ge(r,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(te(e)&&s.set(e,null),null):(L(o)?o.forEach(c=>r[c]=null):ge(r,o),te(e)&&s.set(e,r),r)}function ys(e,t){return!e||!ds(t)?!1:(t=t.slice(2).replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,dt(t))||B(e,t))}function Rn(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:r,attrs:l,emit:c,render:d,renderCache:a,props:h,data:m,setupState:v,ctx:M,inheritAttrs:O}=e,q=cs(e);let z,A;try{if(n.shapeFlag&4){const C=i||s,W=C;z=ke(d.call(W,C,a,h,v,m,M)),A=l}else{const C=t;z=ke(C.length>1?C(h,{attrs:l,slots:r,emit:c}):C(h,null)),A=t.props?l:Ir(l)}}catch(C){zt.length=0,ws(C,e,1),z=Re(at)}let b=z;if(A&&O!==!1){const C=Object.keys(A),{shapeFlag:W}=b;C.length&&W&7&&(o&&C.some(Js)&&(A=Dr(A,o)),b=_t(b,A,!1,!0))}return n.dirs&&(b=_t(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&fn(b,n.transition),z=b,cs(q),z}const Ir=e=>{let t;for(const n in e)(n==="class"||n==="style"||ds(n))&&((t||(t={}))[n]=e[n]);return t},Dr=(e,t)=>{const n={};for(const s in e)(!Js(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Fr(e,t,n){const{props:s,children:i,component:o}=e,{props:r,children:l,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?On(s,r,d):!!r;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const m=a[h];if(r[m]!==s[m]&&!ys(d,m))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===r?!1:s?r?On(s,r,d):!0:!!r;return!1}function On(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const o=s[i];if(t[o]!==e[o]&&!ys(n,o))return!0}return!1}function $r({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ki=e=>e.__isSuspense;function kr(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Xo(e)}const Ce=Symbol.for("v-fgt"),xs=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),Ds=Symbol.for("v-stc"),zt=[];let xe=null;function ne(e=!1){zt.push(xe=e?null:[])}function zr(){zt.pop(),xe=zt[zt.length-1]||null}let Xt=1;function In(e,t=!1){Xt+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function qi(e){return e.dynamicChildren=Xt>0?xe||bt:null,zr(),Xt>0&&xe&&xe.push(e),e}function he(e,t,n,s,i,o){return qi(F(e,t,n,s,i,o,!0))}function Nt(e,t,n,s,i){return qi(Re(e,t,n,s,i,!0))}function Gi(e){return e?e.__v_isVNode===!0:!1}function At(e,t){return e.type===t.type&&e.key===t.key}const Ji=({key:e})=>e??null,is=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||fe(e)||H(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function F(e,t=null,n=null,s=0,i=null,o=e===Ce?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ji(t),ref:t&&is(t),scopeId:Ti,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Se};return l?(hn(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Xt>0&&!r&&xe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&xe.push(c),c}const Re=Nr;function Nr(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===rr)&&(e=at),Gi(e)){const l=_t(e,t,!0);return n&&hn(l,n),Xt>0&&!o&&xe&&(l.shapeFlag&6?xe[xe.indexOf(e)]=l:xe.push(l)),l.patchFlag=-2,l}if(qr(e)&&(e=e.__vccOpts),t){t=Lr(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Lt(l)),te(c)&&(ln(c)&&!L(c)&&(c=ge({},c)),t.style=Me(c))}const r=se(e)?1:Ki(e)?128:Bo(e)?64:te(e)?4:H(e)?2:0;return F(e,t,n,s,i,r,o,!0)}function Lr(e){return e?ln(e)||Ni(e)?ge({},e):e:null}function _t(e,t,n=!1,s=!1){const{props:i,ref:o,patchFlag:r,children:l,transition:c}=e,d=t?Wr(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Ji(d),ref:t&&t.ref?n&&o?L(o)?o.concat(is(t)):[o,is(t)]:is(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&fn(a,c.clone(a)),a}function Hr(e=" ",t=0){return Re(xs,null,e,t)}function Ae(e="",t=!1){return t?(ne(),Nt(at,null,e)):Re(at,null,e)}function ke(e){return e==null||typeof e=="boolean"?Re(at):L(e)?Re(Ce,null,e.slice()):Gi(e)?Je(e):Re(xs,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function hn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(L(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),hn(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Ni(t)?t._ctx=Se:i===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[Hr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wr(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=Lt([t.class,s.class]));else if(i==="style")t.style=Me([t.style,s.style]);else if(ds(i)){const o=t[i],r=s[i];r&&o!==r&&!(L(o)&&o.includes(r))&&(t[i]=o?[].concat(o,r):r)}else i!==""&&(t[i]=s[i])}return t}function Fe(e,t,n,s=null){Le(e,t,7,[n,s])}const Yr=$i();let jr=0;function Xr(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||Yr,o={uid:jr++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ho(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Hi(s,i),emitsOptions:Vi(s,i),emit:null,emitted:null,propsDefaults:G,inheritAttrs:s.inheritAttrs,ctx:G,data:G,props:G,attrs:G,slots:G,refs:G,setupState:G,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Or.bind(null,o),e.ce&&e.ce(o),o}let pe=null,as,Ks;{const e=gs(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};as=t("__VUE_INSTANCE_SETTERS__",n=>pe=n),Ks=t("__VUE_SSR_SETTERS__",n=>Ut=n)}const Kt=e=>{const t=pe;return as(e),e.scope.on(),()=>{e.scope.off(),as(t)}},Dn=()=>{pe&&pe.scope.off(),as(null)};function Zi(e){return e.vnode.shapeFlag&4}let Ut=!1;function Ur(e,t=!1,n=!1){t&&Ks(t);const{props:s,children:i}=e.vnode,o=Zi(e);mr(e,s,o,t),yr(e,i,n);const r=o?Br(e,t):void 0;return t&&Ks(!1),r}function Br(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cr);const{setup:s}=n;if(s){st();const i=e.setupContext=s.length>1?Kr(e):null,o=Kt(e),r=Bt(s,e,0,[e.props,i]),l=Jn(r);if(nt(),o(),(l||e.sp)&&!$t(e)&&Ri(e),l){if(r.then(Dn,Dn),t)return r.then(c=>{Fn(e,c)}).catch(c=>{ws(c,e,0)});e.asyncDep=r}else Fn(e,r)}else Qi(e)}function Fn(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=xi(t)),Qi(e)}function Qi(e,t,n){const s=e.type;e.render||(e.render=s.render||ze);{const i=Kt(e);st();try{fr(e)}finally{nt(),i()}}}const Vr={get(e,t){return le(e,"get",""),e[t]}};function Kr(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Vr),slots:e.slots,emit:e.emit,expose:t}}function _s(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(xi(yi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kt)return kt[n](e)},has(t,n){return n in t||n in kt}})):e.proxy}function qr(e){return H(e)&&"__vccOpts"in e}const Ne=(e,t)=>No(e,t,Ut),Gr="3.5.13";let qs;const $n=typeof window<"u"&&window.trustedTypes;if($n)try{qs=$n.createPolicy("vue",{createHTML:e=>e})}catch{}const eo=qs?e=>qs.createHTML(e):e=>e,Jr="http://www.w3.org/2000/svg",Zr="http://www.w3.org/1998/Math/MathML",Ye=typeof document<"u"?document:null,kn=Ye&&Ye.createElement("template"),Qr={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 i=t==="svg"?Ye.createElementNS(Jr,e):t==="mathml"?Ye.createElementNS(Zr,e):n?Ye.createElement(e,{is:n}):Ye.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Ye.createTextNode(e),createComment:e=>Ye.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ye.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const r=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{kn.innerHTML=eo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=kn.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},el=Symbol("_vtc");function tl(e,t,n){const s=e[el];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zn=Symbol("_vod"),sl=Symbol("_vsh"),nl=Symbol(""),il=/(^|;)\s*display\s*:/;function ol(e,t,n){const s=e.style,i=se(n);let o=!1;if(n&&!i){if(t)if(se(t))for(const r of t.split(";")){const l=r.slice(0,r.indexOf(":")).trim();n[l]==null&&os(s,l,"")}else for(const r in t)n[r]==null&&os(s,r,"");for(const r in n)r==="display"&&(o=!0),os(s,r,n[r])}else if(i){if(t!==n){const r=s[nl];r&&(n+=";"+r),s.cssText=n,o=il.test(n)}}else t&&e.removeAttribute("style");zn in e&&(e[zn]=o?s.display:"",e[sl]&&(s.display="none"))}const Nn=/\s*!important$/;function os(e,t,n){if(L(n))n.forEach(s=>os(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=rl(e,t);Nn.test(n)?e.setProperty(dt(s),n.replace(Nn,""),"important"):e[s]=n}}const Ln=["Webkit","Moz","ms"],Fs={};function rl(e,t){const n=Fs[t];if(n)return n;let s=et(t);if(s!=="filter"&&s in e)return Fs[t]=s;s=ei(s);for(let i=0;i<Ln.length;i++){const o=Ln[i]+s;if(o in e)return Fs[t]=o}return t}const Hn="http://www.w3.org/1999/xlink";function Wn(e,t,n,s,i,o=ao(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Hn,t.slice(6,t.length)):e.setAttributeNS(Hn,t,n):n==null||o&&!si(n)?e.removeAttribute(t):e.setAttribute(t,o?"":tt(n)?String(n):n)}function Yn(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?eo(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=si(n):n==null&&l==="string"?(n="",r=!0):l==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(i||t)}function mt(e,t,n,s){e.addEventListener(t,n,s)}function ll(e,t,n,s){e.removeEventListener(t,n,s)}const jn=Symbol("_vei");function cl(e,t,n,s,i=null){const o=e[jn]||(e[jn]={}),r=o[t];if(s&&r)r.value=s;else{const[l,c]=fl(t);if(s){const d=o[t]=dl(s,i);mt(e,l,d,c)}else r&&(ll(e,l,r,c),o[t]=void 0)}}const Xn=/(?:Once|Passive|Capture)$/;function fl(e){let t;if(Xn.test(e)){t={};let s;for(;s=e.match(Xn);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):dt(e.slice(2)),t]}let $s=0;const ul=Promise.resolve(),al=()=>$s||(ul.then(()=>$s=0),$s=Date.now());function dl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Le(hl(s,n.value),t,5,[s])};return n.value=e,n.attached=al(),n}function hl(e,t){if(L(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Un=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pl=(e,t,n,s,i,o)=>{const r=i==="svg";t==="class"?tl(e,s,r):t==="style"?ol(e,n,s):ds(t)?Js(t)||cl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gl(e,t,s,r))?(Yn(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Wn(e,t,s,r,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!se(s))?Yn(e,et(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Wn(e,t,s,r))};function gl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Un(t)&&H(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Un(t)&&se(n)?!1:t in e}const Bn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?n=>ss(t,n):t};function ml(e){e.target.composing=!0}function Vn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ks=Symbol("_assign"),ts={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[ks]=Bn(i);const o=s||i.props&&i.props.type==="number";mt(e,t?"change":"input",r=>{if(r.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=zs(l)),e[ks](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",ml),mt(e,"compositionend",Vn),mt(e,"change",Vn))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:o}},r){if(e[ks]=Bn(r),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?zs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===c)||(e.value=c))}},bl=["ctrl","shift","alt","meta"],wl={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)=>bl.some(n=>e[`${n}Key`]&&!t.includes(n))},ie=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r<t.length;r++){const l=wl[t[r]];if(l&&l(i,t))return}return e(i,...o)})},vl=ge({patchProp:pl},Qr);let Kn;function yl(){return Kn||(Kn=_r(vl))}const xl=(...e)=>{const t=yl().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=Sl(s);if(!i)return;const o=t._component;!H(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=n(i,!1,_l(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t};function _l(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sl(e){return se(e)?document.querySelector(e):e}const qn="translime-preview-settings:";function Ml(){return{invoke:async(e,...t)=>(console.log("[Preview Mock] ipc.invoke:",e,t),null),send:(e,...t)=>{console.log("[Preview Mock] ipc.send:",e,t)},on:(e,t)=>(console.log("[Preview Mock] ipc.on registered:",e),()=>{console.log("[Preview Mock] ipc.on removed:",e)}),once:(e,t)=>{console.log("[Preview Mock] ipc.once registered:",e)},removeListener:(e,t)=>{console.log("[Preview Mock] ipc.removeListener:",e)},removeAllListeners:e=>{console.log("[Preview Mock] ipc.removeAllListeners:",e)}}}function Pl(){return{showOpenDialog:async e=>(console.log("[Preview Mock] showOpenDialog:",e),new Promise(t=>{const n=document.createElement("input");if(n.type="file",e?.properties?.includes("openDirectory")&&(n.webkitdirectory=!0),e?.properties?.includes("multiSelections")&&(n.multiple=!0),e?.filters){const s=e.filters.flatMap(i=>i.extensions.map(o=>`.${o}`)).join(",");n.accept=s}n.onchange=()=>{const s=Array.from(n.files||[]).map(i=>i.name);t({canceled:s.length===0,filePaths:s})},n.oncancel=()=>{t({canceled:!0,filePaths:[]})},n.click()})),showSaveDialog:async e=>{console.log("[Preview Mock] showSaveDialog:",e);const t=prompt("保存文件名:",e?.defaultPath||"file.txt");return{canceled:!t,filePath:t||void 0}},showMessageBox:async e=>(console.log("[Preview Mock] showMessageBox:",e),{response:confirm(e?.message||"")?0:1}),showErrorBox:(e,t)=>{console.error("[Preview Mock] showErrorBox:",e,t),alert(`${e}
|
|
2
|
+
|
|
3
|
+
${t}`)}}}function Tl(){return{openExternal:async e=>{console.log("[Preview Mock] shell.openExternal:",e),window.open(e,"_blank")},openPath:async e=>{console.log("[Preview Mock] shell.openPath:",e),alert(`[Preview] 无法在浏览器中打开路径: ${e}`)},showItemInFolder:e=>{console.log("[Preview Mock] shell.showItemInFolder:",e),alert(`[Preview] 无法在浏览器中显示文件夹: ${e}`)}}}function Cl(){return{readText:async()=>{try{return await navigator.clipboard.readText()}catch(e){return console.warn("[Preview Mock] clipboard.readText failed:",e),""}},writeText:async e=>{try{await navigator.clipboard.writeText(e),console.log("[Preview Mock] clipboard.writeText:",e)}catch(t){console.warn("[Preview Mock] clipboard.writeText failed:",t)}},readImage:async()=>(console.log("[Preview Mock] clipboard.readImage: not supported in preview"),null),writeImage:async()=>{console.log("[Preview Mock] clipboard.writeImage: not supported in preview")}}}function Al(){return{close:e=>{console.log("[Preview Mock] windowControl.close:",e)},minimize:e=>{console.log("[Preview Mock] windowControl.minimize:",e)},maximize:e=>{console.log("[Preview Mock] windowControl.maximize:",e)},unmaximize:e=>{console.log("[Preview Mock] windowControl.unmaximize:",e)},devtools:e=>{console.log("[Preview Mock] windowControl.devtools:",e)},isMaximized:async e=>(console.log("[Preview Mock] windowControl.isMaximized:",e),!1)}}function El(){return{get:async e=>{const t=`${qn}${e}`;try{const n=localStorage.getItem(t);return n?JSON.parse(n):{}}catch(n){return console.warn("[Preview Mock] getPluginSetting parse error:",n),{}}},set:async(e,t)=>{const n=`${qn}${e}`;try{localStorage.setItem(n,JSON.stringify(t)),console.log("[Preview Mock] setPluginSetting:",e,t)}catch(s){console.warn("[Preview Mock] setPluginSetting error:",s)}}}}function Rl(){return{log:(...e)=>console.log("[Preview]",...e),info:(...e)=>console.info("[Preview]",...e),warn:(...e)=>console.warn("[Preview]",...e),error:(...e)=>console.error("[Preview]",...e),debug:(...e)=>console.debug("[Preview]",...e)}}function Ol(){const e=Ml();return{useIpc:()=>e,dialog:Pl(),shell:Tl(),clipboard:Cl(),openLink:async t=>{console.log("[Preview Mock] openLink:",t),window.open(t,"_blank")},versions:{node:"preview",chrome:navigator.userAgent.match(/Chrome\/([0-9.]+)/)?.[1]||"unknown",electron:"preview"},APP_ROOT:"/preview",APPDATA_PATH:"/preview/appdata"}}function Il(){const e=El();return{getPluginSetting:e.get,setPluginSetting:e.set,windowControl:Al(),logger:Rl(),net:{request:async(t,n)=>{console.log("[Preview Mock] net.request:",t,n);try{const s=await fetch(t,n);return{ok:s.ok,status:s.status,data:await s.text()}}catch(s){return{ok:!1,status:0,error:s.message}}}}}}function Dl(){typeof window>"u"||(window.electron||(window.electron=Ol(),console.log("[Preview Mock] window.electron injected")),window.ts||(window.ts=Il(),console.log("[Preview Mock] window.ts injected")))}function Fl(){return!!(typeof __TRANSLIME_PREVIEW__<"u"&&__TRANSLIME_PREVIEW__||typeof window<"u"&&!window.electron&&!window.ts)}typeof window<"u"&&Fl()&&Dl();function $l(){return typeof global<"u"&&global.mainStore?global.mainStore?.logger||console:typeof window<"u"&&window.ts?.logger||console}const pn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},kl={class:"frozen-screens-layer"},zl=["src"],Nl={__name:"FrozenScreens",props:{screens:{type:Array,default:()=>[]},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0}},setup(e){return(t,n)=>(ne(),he("div",kl,[(ne(!0),he(Ce,null,lr(e.screens,s=>(ne(),he("div",{key:s.displayId,class:"frozen-screen",style:Me({left:s.bounds.x-e.offsetX+"px",top:s.bounds.y-e.offsetY+"px",width:s.bounds.width+"px",height:s.bounds.height+"px"})},[F("img",{src:s.url,draggable:"false"},null,8,zl)],4))),128))]))}},Ll=pn(Nl,[["__scopeId","data-v-0b001d45"]]),Hl={class:"absolute inset-0 z-10 pointer-events-none"},Wl={key:0,class:"absolute top-1 left-1 bg-[#2196F3] text-white px-2 py-0.5 rounded text-xs whitespace-nowrap shadow-md pointer-events-none"},Yl={__name:"SelectionRect",props:{state:{type:Object,default:()=>({isSelecting:!1,hasSelection:!1,highlightedWindow:null,offsetX:0,offsetY:0})},bounds:{type:Object,default:()=>({x:0,y:0,w:0,h:0})}},emits:["resize-start"],setup(e,{emit:t}){const n=t,s=e,i=Xe(null);Ar(()=>{const l=i.value;if(!l)return;const c=l.getContext("2d");l.width=window.innerWidth,l.height=window.innerHeight,c.clearRect(0,0,l.width,l.height),c.fillStyle="rgba(0, 0, 0, 0.4)",c.fillRect(0,0,l.width,l.height);let d=null;if(s.state.isSelecting||s.state.hasSelection?d=s.bounds:s.state.highlightedWindow&&(d={x:s.state.highlightedWindow.left-s.state.offsetX,y:s.state.highlightedWindow.top-s.state.offsetY,w:s.state.highlightedWindow.width,h:s.state.highlightedWindow.height}),d){const{x:a,y:h,w:m,h:v}=d,M=(s.state.isSelecting||s.state.hasSelection)&&s.state.borderRadius||0;c.save(),c.globalCompositeOperation="destination-out",c.beginPath(),c.roundRect?c.roundRect(a,h,m,v,M):(c.moveTo(a+M,h),c.lineTo(a+m-M,h),c.quadraticCurveTo(a+m,h,a+m,h+M),c.lineTo(a+m,h+v-M),c.quadraticCurveTo(a+m,h+v,a+m-M,h+v),c.lineTo(a+M,h+v),c.quadraticCurveTo(a,h+v,a,h+v-M),c.lineTo(a,h+M),c.quadraticCurveTo(a,h,a+M,h)),c.fillStyle="black",c.fill(),c.restore()}});const o=Ne(()=>{if(!s.state.highlightedWindow||s.state.isSelecting||s.state.hasSelection)return{display:"none"};const l=s.state.highlightedWindow;return{left:`${l.left-s.state.offsetX}px`,top:`${l.top-s.state.offsetY}px`,width:`${l.width}px`,height:`${l.height}px`}}),r=l=>{n("resize-start",l)};return(l,c)=>(ne(),he("div",Hl,[F("canvas",{ref_key:"canvasRef",ref:i,class:"w-full h-full"},null,512),F("div",{class:"absolute border border-dashed border-[#2196F3] bg-[#2196F3]/10 transition-all duration-100 ease-out box-border",style:Me(o.value)},null,4),e.state.isSelecting||e.state.hasSelection?(ne(),he("div",{key:0,class:"absolute border border-dashed border-[#2196F3] box-border pointer-events-auto cursor-move",style:Me({left:e.bounds.x+"px",top:e.bounds.y+"px",width:e.bounds.w+"px",height:e.bounds.h+"px",borderRadius:(e.state.borderRadius||0)+"px"})},[e.bounds.w>80&&e.bounds.h>24?(ne(),he("div",Wl,ct(Math.round(e.bounds.w))+" × "+ct(Math.round(e.bounds.h)),1)):Ae("",!0),!e.state.isMoving&&e.state.hasSelection?(ne(),he(Ce,{key:1},[F("div",{class:"absolute -top-1.5 -left-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-nw-resize z-20",onMousedown:c[0]||(c[0]=ie(d=>r("nw"),["stop"]))},null,32),F("div",{class:"absolute -top-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-n-resize z-20",onMousedown:c[1]||(c[1]=ie(d=>r("n"),["stop"]))},null,32),F("div",{class:"absolute -top-1.5 -right-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-ne-resize z-20",onMousedown:c[2]||(c[2]=ie(d=>r("ne"),["stop"]))},null,32),F("div",{class:"absolute top-1/2 -right-1.5 -translate-y-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-e-resize z-20",onMousedown:c[3]||(c[3]=ie(d=>r("e"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 -right-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-se-resize z-20",onMousedown:c[4]||(c[4]=ie(d=>r("se"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 left-1/2 -translate-x-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-s-resize z-20",onMousedown:c[5]||(c[5]=ie(d=>r("s"),["stop"]))},null,32),F("div",{class:"absolute -bottom-1.5 -left-1.5 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-sw-resize z-20",onMousedown:c[6]||(c[6]=ie(d=>r("sw"),["stop"]))},null,32),F("div",{class:"absolute top-1/2 -left-1.5 -translate-y-1/2 w-3 h-3 bg-white border border-[#2196F3] rounded-full cursor-w-resize z-20",onMousedown:c[7]||(c[7]=ie(d=>r("w"),["stop"]))},null,32)],64)):Ae("",!0)],4)):Ae("",!0)]))}},jl={key:0,class:"absolute inset-0 w-full h-full pointer-events-none z-99"},Xl=["x1","y1","x2","y2"],Ul=["cx","cy"],Bl=["x","y"],Vl={class:"action-toolbar-main"},Kl={key:0,class:"absolute -top-6 left-0 text-[10px] text-[#FF5252] font-mono whitespace-nowrap"},ql={class:"btn-group"},Gl={key:0,class:"size-settings-bar"},Jl={class:"size-inputs"},Zl={key:1,class:"size-settings-bar"},Ql={class:"radius-settings"},ec={__name:"ActionToolbar",props:{bounds:{type:Object,default:()=>({x:0,y:0,w:0,h:0})},visible:{type:Boolean,default:!1}},setup(e){const t=e,n=Be("state"),{findDisplayAtLocalPoint:s}=Be("utils"),i=Be("actions"),o=Xe(!1),r=Xe(0),l=Xe(0),c=Xe(!1),d=Xe(0);Qe(()=>t.bounds,A=>{A&&(r.value=Math.round(A.w||0),l.value=Math.round(A.h||0))},{immediate:!0}),Qe(()=>n.borderRadius,A=>{d.value=A||0},{immediate:!0}),Qe(d,A=>{const b=Math.max(0,Math.min(120,parseInt(A,10)||0));n.borderRadius!==b&&(n.borderRadius=b,localStorage.setItem("translime.hdr-capture.borderRadius",b))}),jt(()=>{const A=localStorage.getItem("translime.hdr-capture.borderRadius");if(A!==null){const b=parseInt(A,10)||0;d.value=b,n.borderRadius!==b&&(n.borderRadius=b)}});const a=()=>{o.value=!o.value,o.value&&(c.value=!1),o.value&&t.bounds&&(r.value=Math.round(t.bounds.w||0),l.value=Math.round(t.bounds.h||0))},h=()=>{c.value=!c.value,c.value&&(o.value=!1,d.value=n.borderRadius||0)},m=()=>{const A=Math.min(n.startX,n.endX),b=Math.min(n.startY,n.endY),C=parseInt(r.value,10)||0,W=parseInt(l.value,10)||0;C<=0||W<=0||(n.startX=A,n.startY=b,n.endX=A+C,n.endY=b+W)},v=A=>{A.key==="Enter"&&(m(),A.target.blur())},M=A=>{if(A.key==="Escape"){if(o.value||c.value){o.value=!1,c.value=!1,A.preventDefault();return}A.preventDefault(),i.closeOverlay();return}t.visible&&(["INPUT","TEXTAREA"].includes(document.activeElement.tagName)||(A.ctrlKey&&A.key==="s"&&(A.preventDefault(),i.handleAction("save")),A.ctrlKey&&A.key==="c"&&(A.preventDefault(),i.handleAction("copy"))))};jt(()=>{window.addEventListener("keydown",M)}),Vt(()=>{window.removeEventListener("keydown",M)});const O=Ne(()=>{const{x:A,y:b,w:C,h:W}=t.bounds||{x:0,y:0,w:0,h:0},T=140,_=76,D=8,I=12,J=s(A+C/2,b+W/2).bounds,ee={left:J.x-n.offsetX,top:J.y-n.offsetY,right:J.x+J.width-n.offsetX,bottom:J.y+J.height-n.offsetY};let re=A+C-T,be=b+W+D;return be+_+I>ee.bottom&&(be=b-_-D,be<ee.top+I&&(be=b+W-_-I-10,re=A+C-T-I-10)),re=Math.max(ee.left+I,Math.min(re,ee.right-T-I)),be=Math.max(ee.top+I,Math.min(be,ee.bottom-_-I)),{left:re,top:be,tbWidth:T,tbHeight:_}}),q=Ne(()=>{const A=O.value;return{left:`${A.left+A.tbWidth}px`,top:`${A.top}px`,transform:"translateX(-100%)"}}),z=Ne(()=>{if(!n.isDebug||!t.visible)return null;const{x:A,y:b,w:C,h:W}=t.bounds,{left:T,top:_,tbWidth:D,tbHeight:I}=O.value;return{x1:A+C/2,y1:b+W/2,x2:T+D/2,y2:_+I/2}});return(A,b)=>(ne(),Nt(Ko,{to:"body"},[qe(n)&&qe(n).isDebug&&z.value?(ne(),he("svg",jl,[F("line",{x1:z.value.x1,y1:z.value.y1,x2:z.value.x2,y2:z.value.y2,stroke:"#FF5252","stroke-width":"2","stroke-dasharray":"5,5"},null,8,Xl),F("circle",{cx:z.value.x1,cy:z.value.y1,r:"4",fill:"#FF5252"},null,8,Ul),F("text",{x:z.value.x2,y:O.value.top-10,fill:"#FF5252","font-size":"12"},ct(Math.round(O.value.left))+", "+ct(Math.round(O.value.top)),9,Bl)])):Ae("",!0),qe(n)&&e.visible?(ne(),he("div",{key:1,class:"action-toolbar-container",style:Me(q.value)},[F("div",Vl,[qe(n).isDebug?(ne(),he("div",Kl," Monitor: "+ct(Math.round(O.value.left))+","+ct(Math.round(O.value.top)),1)):Ae("",!0),F("div",ql,[F("button",{class:Lt(["btn btn-settings",{active:o.value}]),title:"设置尺寸",onClick:ie(a,["stop"])},b[11]||(b[11]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M15 3h6v6"}),F("path",{d:"M9 21H3v-6"}),F("path",{d:"M21 3l-7 7"}),F("path",{d:"M3 21l7-7"})],-1)]),2),F("button",{class:Lt(["btn btn-settings",{active:c.value}]),title:"设置圆角",onClick:ie(h,["stop"])},b[12]||(b[12]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("rect",{x:"3",y:"3",width:"18",height:"18",rx:"5",ry:"5"})],-1)]),2),b[16]||(b[16]=F("div",{class:"divider"},null,-1)),F("button",{class:"btn btn-save",title:"保存 (Ctrl+S)",onClick:b[0]||(b[0]=ie(C=>qe(i).handleAction("save"),["stop"]))},b[13]||(b[13]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("path",{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}),F("polyline",{points:"17 21 17 13 7 13 7 21"}),F("polyline",{points:"7 3 7 8 15 8"})],-1)])),F("button",{class:"btn btn-copy",title:"复制 (Ctrl+C)",onClick:b[1]||(b[1]=ie(C=>qe(i).handleAction("copy"),["stop"]))},b[14]||(b[14]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),F("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})],-1)])),F("button",{class:"btn btn-cancel",title:"取消 (Esc)",onClick:b[2]||(b[2]=ie(C=>qe(i).closeOverlay(),["stop"]))},b[15]||(b[15]=[F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[F("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),F("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)]))])]),o.value?(ne(),he("div",Gl,[F("div",Jl,[Qt(F("input",{"onUpdate:modelValue":b[3]||(b[3]=C=>r.value=C),type:"number",class:"size-input",style:Me({width:`calc(${Math.max(4,String(r.value).length)}ch + 12px)`}),onKeydown:v,onMousedown:b[4]||(b[4]=ie(()=>{},["stop"]))},null,36),[[ts,r.value]]),b[17]||(b[17]=F("span",{class:"size-separator"},"x",-1)),Qt(F("input",{"onUpdate:modelValue":b[5]||(b[5]=C=>l.value=C),type:"number",class:"size-input",style:Me({width:`calc(${Math.max(4,String(l.value).length)}ch + 12px)`}),onKeydown:v,onMousedown:b[6]||(b[6]=ie(()=>{},["stop"]))},null,36),[[ts,l.value]]),b[18]||(b[18]=F("span",{class:"size-unit"},"px",-1))]),F("button",{class:"btn-confirm",onClick:ie(m,["stop"])}," 确定 ")])):Ae("",!0),c.value?(ne(),he("div",Zl,[F("div",Ql,[b[19]||(b[19]=F("span",{class:"radius-label"},"圆角半径:",-1)),Qt(F("input",{"onUpdate:modelValue":b[7]||(b[7]=C=>d.value=C),type:"range",min:"0",max:"120",class:"radius-slider",onMousedown:b[8]||(b[8]=ie(()=>{},["stop"]))},null,544),[[ts,d.value]]),Qt(F("input",{"onUpdate:modelValue":b[9]||(b[9]=C=>d.value=C),type:"number",class:"size-input",style:{width:"50px"},onMousedown:b[10]||(b[10]=ie(()=>{},["stop"]))},null,544),[[ts,d.value]]),b[20]||(b[20]=F("span",{class:"size-unit"},"px",-1))])])):Ae("",!0)],4)):Ae("",!0)]))}},tc=pn(ec,[["__scopeId","data-v-ebf36e2e"]]),sc={__name:"HintBox",props:{cursorPos:{type:Object,default:()=>({x:0,y:0})}},setup(e){const t=e,{findDisplayAtLocalPoint:n}=Be("utils"),s=Xe("right"),i=()=>{s.value=s.value==="right"?"left":"right"},o=Ne(()=>{const r=n(t.cursorPos.x,t.cursorPos.y);if(!r)return{display:"none"};const l=Be("state"),c=r.bounds,d={left:c.x-l.offsetX,top:c.y-l.offsetY,right:c.x+c.width-l.offsetX,bottom:c.y+c.height-l.offsetY},a=20,h={bottom:`${window.innerHeight-d.bottom+a}px`};return s.value==="right"?h.right=`${window.innerWidth-d.right+a}px`:h.left=`${d.left+a}px`,h});return(r,l)=>(ne(),he("div",{class:"absolute z-50 pointer-events-auto transition-all duration-300 ease-[cubic-bezier(0.23,1,0.32,1)]",style:Me(o.value),onMouseenter:i},l[0]||(l[0]=[F("div",{class:"bg-black/75 text-white px-4 py-2 rounded-xl text-xs backdrop-blur-xs border border-white/10 shadow-lg"},[F("p",null,"点击探测到的窗口"),F("p",null,"滚轮切换窗口层次"),F("p",null,"拖放移动选区"),F("p",null,"右键、esc 取消")],-1)]),36))}},nc={__name:"Magnifier",props:{cursorPos:{type:Object,required:!0},screens:{type:Array,default:()=>[]},offsetX:{type:Number,default:0},offsetY:{type:Number,default:0},zoom:{type:Number,default:5},size:{type:Number,default:140}},setup(e){const t=e,n=Xe(null),s=Xe([]);function i(){const r=n.value;if(!r)return;const l=r.getContext("2d");if(!l)return;l.imageSmoothingEnabled=!1;const{size:c,zoom:d,cursorPos:a,offsetX:h,offsetY:m}=t,v=window.devicePixelRatio||1,M=c*v;r.width!==M&&(r.width=M,r.height=M),l.clearRect(0,0,M,M),l.fillStyle="#111",l.fillRect(0,0,M,M);const O=a.x+h,q=a.y+m,z=c/2/d,A={left:O-z,top:q-z,right:O+z,bottom:q+z};s.value.forEach(_=>{if(!_.img||!_.img.complete||_.img.naturalWidth===0)return;const D=_.bounds||_,I=Number(D.x),Y=Number(D.y),J=Number(D.width),ee=Number(D.height),re=I+J,be=Y+ee,St=_.img.naturalWidth/J,oe=_.img.naturalHeight/ee,V=Math.max(A.left,I),X=Math.max(A.top,Y),Te=Math.min(A.right,re),Ke=Math.min(A.bottom,be);if(V<Te&&X<Ke){const He=(V-I)*St,_e=(X-Y)*oe,qt=(Te-V)*St,Ss=(Ke-X)*oe,Ms=(V-A.left)*d*v,it=(X-A.top)*d*v,ht=(Te-V)*d*v,Mt=(Ke-X)*d*v;try{l.drawImage(_.img,He,_e,qt,Ss,Ms,it,ht,Mt)}catch{}}});const b=M/2,C=M/2;l.beginPath(),l.strokeStyle="rgba(33, 150, 243, 0.5)",l.lineWidth=1*v,l.moveTo(0,C),l.lineTo(M,C),l.moveTo(b,0),l.lineTo(b,M),l.stroke(),l.fillStyle="#FF5252";const W=2*v;l.fillRect(b-W/2,C-W/2,W,W),l.beginPath(),l.strokeStyle="rgba(255, 255, 255, 0.3)",l.lineWidth=1*v,l.strokeRect(0,0,M,M);const T=12*v;l.font=`${T}px monospace`,l.fillStyle="rgba(0, 0, 0, 0.7)",l.fillRect(0,M-T-8*v,M,T+8*v),l.fillStyle="#fff",l.textAlign="center",l.fillText(`${Math.round(O)}, ${Math.round(q)}`,b,M-6*v)}Qe(()=>t.screens,r=>{const l=s.value;for(let d=0;d<l.length;d+=1){const a=l[d];a.img&&(a.img.onload=null)}s.value=r.map(d=>{const a=new Image;return a.src=d.url,a.onload=()=>requestAnimationFrame(i),{...d,img:yi(a)}});const c=n.value;if(c){const d=c.getContext("2d"),a=window.devicePixelRatio||1,h=t.size*a;d?.clearRect(0,0,h,h)}},{immediate:!0,deep:!0}),Vt(()=>{const r=s.value;for(let l=0;l<r.length;l+=1){const c=r[l];c.img&&(c.img.onload=null)}s.value=[]});const o=Ne(()=>{const{x:r,y:l}=t.cursorPos;let c=r+20,d=l+20;return c+t.size>window.innerWidth&&(c=r-t.size-20),d+t.size>window.innerHeight&&(d=l-t.size-20),{left:c,top:d}});return Qe(()=>t.cursorPos,()=>{requestAnimationFrame(i)},{deep:!0,immediate:!0}),jt(()=>{setTimeout(i,200)}),(r,l)=>(ne(),he("div",{class:"magnifier",style:Me({width:e.size+"px",height:e.size+"px",left:o.value.left+"px",top:o.value.top+"px"})},[F("canvas",{ref_key:"canvasRef",ref:n,style:{width:"100%",height:"100%"}},null,512)],4))}},ic=pn(nc,[["__scopeId","data-v-37869409"]]),oc="translime-plugin-hdr-capture",rc={__name:"App",setup(e){const t=$l(),n=t.child?t.child({plugin_id:oc,context:"Overlay"}):t,s=bs({offsetX:0,offsetY:0,displays:[],capturedScreens:[],cursorPos:{x:0,y:0},isSelecting:!1,isDragging:!1,isMoving:!1,isResizing:!1,resizeDirection:null,resizeActiveX:null,resizeActiveY:null,hasSelection:!1,startX:0,startY:0,endX:0,endY:0,moveOriginX:0,moveOriginY:0,rectAtStartMove:null,highlightedWindow:null,allWindows:[],candidates:[],candidateIndex:0,isDebug:!1,borderRadius:0}),i=Ne(()=>{const T=Math.min(s.startX,s.endX),_=Math.min(s.startY,s.endY),D=Math.abs(s.endX-s.startX),I=Math.abs(s.endY-s.startY);return{x:Number.isNaN(T)?0:T,y:Number.isNaN(_)?0:_,w:Number.isNaN(D)?0:D,h:Number.isNaN(I)?0:I}}),o=Ne(()=>s.isMoving?!1:!!(s.isSelecting||s.isResizing||!s.hasSelection)),r=(T,_)=>{if(s.isSelecting||s.isMoving||s.hasSelection)return;const D=T+s.offsetX,I=_+s.offsetY,Y=s.allWindows.filter(ee=>D>=ee.left&&D<ee.right&&I>=ee.top&&I<ee.bottom);Y.sort((ee,re)=>ee.width*ee.height-re.width*re.height),Y.length!==s.candidates.length||Y.some((ee,re)=>ee.handle!==s.candidates[re]?.handle)?(s.candidates=Y,s.candidateIndex=0,s.highlightedWindow=Y.length>0?Y[0]:null):!s.highlightedWindow&&Y.length>0&&(s.candidateIndex=0,[s.highlightedWindow]=Y)};function l(){window.hdrCapture?.close?.()}function c(){s.hasSelection?(s.hasSelection=!1,s.isSelecting=!1,s.isDragging=!1,s.isMoving=!1,s.highlightedWindow=null,s.cursorPos&&r(s.cursorPos.x,s.cursorPos.y)):l()}const d=(T,_)=>{const D=T+s.offsetX,I=_+s.offsetY;return s.displays.find(Y=>{const J=Y.bounds;return D>=J.x&&D<J.x+J.width&&I>=J.y&&I<J.y+J.height})||s.displays[0]},a=T=>{s.isSelecting||s.isMoving||s.hasSelection||s.candidates.length<=1||(T.preventDefault(),T.deltaY>0?s.candidateIndex=(s.candidateIndex+1)%s.candidates.length:s.candidateIndex=(s.candidateIndex-1+s.candidates.length)%s.candidates.length,s.highlightedWindow=s.candidates[s.candidateIndex])},h=T=>{s.isResizing=!0,s.resizeDirection=T;const _=s.startX<s.endX,D=s.startY<s.endY;s.resizeActiveX=null,s.resizeActiveY=null,T.includes("w")&&(s.resizeActiveX=_?"startX":"endX"),T.includes("e")&&(s.resizeActiveX=_?"endX":"startX"),T.includes("n")&&(s.resizeActiveY=D?"startY":"endY"),T.includes("s")&&(s.resizeActiveY=D?"endY":"startY")},m=async T=>{if(T==="cancel"){c();return}s.hasSelection=!1;const _=i.value,D={x:_.x+s.offsetX,y:_.y+s.offsetY,width:_.w,height:_.h,borderRadius:s.borderRadius};n.info(`执行操作: ${T}, 选区:`,{rect:D});try{if(T==="save")if(s.isDebug)n.info("Debug模式: 跳过 save 操作");else{const I=await window.hdrCapture.saveCapture(D);n.info("保存操作返回:",{res:I})}else if(T==="copy")if(s.isDebug)n.info("Debug模式: 跳过 copy 操作");else{const I=await window.hdrCapture.copyCapture(D);n.info("复制操作返回:",{res:I})}}catch(I){n.error(`操作 ${T} 失败:`,I)}l()},v=T=>{if(T.button===0&&s.hasSelection){const _=i.value,D=T.clientX,I=T.clientY;D>=_.x&&D<=_.x+_.w&&I>=_.y&&I<=_.y+_.h&&m("copy")}},M=T=>{if(T.button!==0)return;const _=T.clientX,D=T.clientY;if(s.hasSelection){const I=i.value;if(_>=I.x&&_<=I.x+I.w&&D>=I.y&&D<=I.y+I.h){s.isMoving=!0,s.moveOriginX=_,s.moveOriginY=D,s.rectAtStartMove={startX:s.startX,startY:s.startY,endX:s.endX,endY:s.endY};return}s.hasSelection=!1,r(_,D)}s.isSelecting=!0,s.isDragging=!1,s.startX=_,s.startY=D,s.endX=_,s.endY=D},O=T=>{try{const _=T.clientX,D=T.clientY;if(s.cursorPos={x:_,y:D},s.isResizing){s.resizeActiveX&&(s[s.resizeActiveX]=_),s.resizeActiveY&&(s[s.resizeActiveY]=D);return}if(s.isMoving){const I=_-s.moveOriginX,Y=D-s.moveOriginY;s.startX=s.rectAtStartMove.startX+I,s.startY=s.rectAtStartMove.startY+Y,s.endX=s.rectAtStartMove.endX+I,s.endY=s.rectAtStartMove.endY+Y;return}if(s.isSelecting){const I=_-s.startX,Y=D-s.startY;(Math.abs(I)>5||Math.abs(Y)>5)&&(s.isDragging=!0,s.highlightedWindow=null,s.endX=_,s.endY=D);return}r(_,D)}catch(_){n.error("onMouseMove error",_)}},q=T=>{try{if(T.button!==0)return;if(s.isResizing){s.isResizing=!1,s.resizeDirection=null,s.resizeActiveX=null,s.resizeActiveY=null;return}if(s.isMoving){s.isMoving=!1;return}if(s.isSelecting)if(s.isSelecting=!1,!s.isDragging)s.highlightedWindow?(s.startX=s.highlightedWindow.left-s.offsetX,s.startY=s.highlightedWindow.top-s.offsetY,s.endX=s.startX+s.highlightedWindow.width,s.endY=s.startY+s.highlightedWindow.height,s.hasSelection=!0):s.hasSelection=!1;else{const _=i.value;s.hasSelection=_.w>1&&_.h>1}}catch(_){n.error("onMouseUp error",_)}},z=T=>{T.preventDefault(),c()},A=[];function b(){A.forEach(T=>URL.revokeObjectURL(T)),A.length=0}function C(){s.hasSelection=!1,s.isSelecting=!1,s.isDragging=!1,s.isMoving=!1,s.isResizing=!1,s.highlightedWindow=null,s.startX=0,s.startY=0,s.endX=0,s.endY=0,s.candidates=[],b(),s.capturedScreens=[],s.allWindows=[],s.displays=[]}jt(()=>{window.hdrCapture?.onInit&&window.hdrCapture.onInit(T=>{C(),s.isDebug=!!T.isDebug,s.offsetX=T.minX,s.offsetY=T.minY,s.displays=T.displays||[],s.isSelecting=!1,s.isDragging=!1,s.isMoving=!1,s.isResizing=!1,s.highlightedWindow=null,s.startX=0,s.startY=0,s.endX=0,s.endY=0,s.candidates=[],b(),s.capturedScreens=(T.capturedScreens||[]).map(_=>{const D=new Blob([_.data],{type:"image/webp"}),I=URL.createObjectURL(D);return A.push(I),{..._,url:I}}),T.cursorPos&&(s.cursorPos={x:T.cursorPos.x-s.offsetX,y:T.cursorPos.y-s.offsetY}),s.allWindows=T.windows||[],s.cursorPos&&r(s.cursorPos.x,s.cursorPos.y)}),window.hdrCapture?.onReset&&window.hdrCapture.onReset(()=>{n.info("收到重置信号,清空状态"),C()}),window.addEventListener("mousemove",O),window.addEventListener("mouseup",q)}),Vt(()=>{b(),window.removeEventListener("mousemove",O),window.removeEventListener("mouseup",q)}),Rt("state",s),Rt("selectionBounds",i),Rt("actions",{handleAction:m,closeOverlay:l}),Rt("utils",{findDisplayAtLocalPoint:d});const W=Ne(()=>s.isResizing&&s.resizeDirection?`${s.resizeDirection}-resize`:s.isMoving?"move":"crosshair");return(T,_)=>(ne(),he("div",{class:"relative w-screen h-screen overflow-hidden select-none",style:Me({cursor:W.value}),onMousedown:M,onMousemove:O,onMouseup:q,onDblclick:v,onWheel:a,onContextmenu:z},[s.isDebug?Ae("",!0):(ne(),Nt(Ll,{key:0,screens:s.capturedScreens,"offset-x":s.offsetX,"offset-y":s.offsetY},null,8,["screens","offset-x","offset-y"])),Re(Yl,{state:s,bounds:i.value,onResizeStart:h},null,8,["state","bounds"]),Re(sc,{"cursor-pos":s.cursorPos},null,8,["cursor-pos"]),s.hasSelection&&!s.isSelecting&&!s.isMoving&&!s.isResizing?(ne(),Nt(tc,{key:1,visible:!0,bounds:i.value,onMousedown:_[0]||(_[0]=ie(()=>{},["stop"]))},null,8,["bounds"])):Ae("",!0),o.value?(ne(),Nt(ic,{key:2,"cursor-pos":s.cursorPos,screens:s.capturedScreens,"offset-x":s.offsetX,"offset-y":s.offsetY},null,8,["cursor-pos","screens","offset-x","offset-y"])):Ae("",!0)],36))}},lc=xl(rc);lc.mount("#app");
|
package/dist/ui.esm.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
} catch (e) {
|
|
16
16
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
17
17
|
}
|
|
18
|
-
})('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties {\n@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n*, :before, :after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-border-style: solid;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n}\n}\n}\n@layer tailwind {\n@layer theme {\n:root, :host {\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n --color-black: #000;\n --color-white: #fff;\n --spacing: .25rem;\n --text-xs: .75rem;\n --text-xs--line-height: calc(1 / .75);\n --radius-xl: .75rem;\n --radius-3xl: 1.5rem;\n --ease-out: cubic-bezier(0, 0, .2, 1);\n --blur-xs: 4px;\n --default-transition-duration: .15s;\n --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);\n}\n}\n@layer utilities {\n.pointer-events-auto {\n pointer-events: auto;\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.visible {\n visibility: visible;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.inset-0 {\n inset: calc(var(--spacing) * 0);\n}\n.-top-1\\.5 {\n top: calc(var(--spacing) * -1.5);\n}\n.-top-6 {\n top: calc(var(--spacing) * -6);\n}\n.top-1 {\n top: calc(var(--spacing) * 1);\n}\n.top-1\\/2 {\n top: 50%;\n}\n.-right-1\\.5 {\n right: calc(var(--spacing) * -1.5);\n}\n.-bottom-1\\.5 {\n bottom: calc(var(--spacing) * -1.5);\n}\n.-left-1\\.5 {\n left: calc(var(--spacing) * -1.5);\n}\n.left-0 {\n left: calc(var(--spacing) * 0);\n}\n.left-1 {\n left: calc(var(--spacing) * 1);\n}\n.left-1\\/2 {\n left: 50%;\n}\n.z-10 {\n z-index: 10;\n}\n.z-20 {\n z-index: 20;\n}\n.z-50 {\n z-index: 50;\n}\n.z-99 {\n z-index: 99;\n}\n.my-4 {\n margin-block: calc(var(--spacing) * 4);\n}\n.mt-2 {\n margin-top: calc(var(--spacing) * 2);\n}\n.mt-4 {\n margin-top: calc(var(--spacing) * 4);\n}\n.mt-6 {\n margin-top: calc(var(--spacing) * 6);\n}\n.mr-2 {\n margin-right: calc(var(--spacing) * 2);\n}\n.mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n}\n.mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n}\n.ml-4 {\n margin-left: calc(var(--spacing) * 4);\n}\n.box-border {\n box-sizing: border-box;\n}\n.flex {\n display: flex;\n}\n.inline {\n display: inline;\n}\n.h-3 {\n height: calc(var(--spacing) * 3);\n}\n.h-full {\n height: 100%;\n}\n.h-screen {\n height: 100vh;\n}\n.w-3 {\n width: calc(var(--spacing) * 3);\n}\n.w-full {\n width: 100%;\n}\n.w-screen {\n width: 100vw;\n}\n.grow {\n flex-grow: 1;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n}\n.transform {\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n}\n.cursor-e-resize {\n cursor: e-resize;\n}\n.cursor-move {\n cursor: move;\n}\n.cursor-n-resize {\n cursor: n-resize;\n}\n.cursor-ne-resize {\n cursor: ne-resize;\n}\n.cursor-nw-resize {\n cursor: nw-resize;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.cursor-s-resize {\n cursor: s-resize;\n}\n.cursor-se-resize {\n cursor: se-resize;\n}\n.cursor-sw-resize {\n cursor: sw-resize;\n}\n.cursor-w-resize {\n cursor: w-resize;\n}\n.gap-x-2 {\n column-gap: calc(var(--spacing) * 2);\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.rounded {\n border-radius: .25rem;\n}\n.rounded-3xl {\n border-radius: var(--radius-3xl);\n}\n.rounded-full {\n border-radius: 3.40282e38px;\n}\n.rounded-xl {\n border-radius: var(--radius-xl);\n}\n.border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n}\n.border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n}\n.border-\\[\\#2196F3\\] {\n border-color: #2196f3;\n}\n.border-white\\/10 {\n border-color: #ffffff1a;\n}\n@supports (color: color-mix(in lab, red, red)) {\n.border-white\\/10 {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n}\n}\n.bg-\\[\\#2196F3\\] {\n background-color: #2196f3;\n}\n.bg-\\[\\#2196F3\\]\\/10 {\n background-color: oklab(65.8156% -.0610626 -.157539 / .1);\n}\n.bg-black\\/75 {\n background-color: #000000bf;\n}\n@supports (color: color-mix(in lab, red, red)) {\n.bg-black\\/75 {\n background-color: color-mix(in oklab, var(--color-black) 75%, transparent);\n}\n}\n.bg-white {\n background-color: var(--color-white);\n}\n.px-2 {\n padding-inline: calc(var(--spacing) * 2);\n}\n.px-4 {\n padding-inline: calc(var(--spacing) * 4);\n}\n.py-0\\.5 {\n padding-block: calc(var(--spacing) * .5);\n}\n.py-2 {\n padding-block: calc(var(--spacing) * 2);\n}\n.font-mono {\n font-family: var(--font-mono);\n}\n.text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n}\n.text-\\[10px\\] {\n font-size: 10px;\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.text-\\[\\#FF5252\\] {\n color: #ff5252;\n}\n.text-white {\n color: var(--color-white);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n.shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n.outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n}\n.backdrop-blur-xs {\n --tw-backdrop-blur: blur(var(--blur-xs));\n -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, );\n 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, );\n}\n.backdrop-filter {\n -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, );\n 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, );\n}\n.transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n}\n.duration-100 {\n --tw-duration: .1s;\n transition-duration: .1s;\n}\n.duration-300 {\n --tw-duration: .3s;\n transition-duration: .3s;\n}\n.ease-\\[cubic-bezier\\(0\\.23\\,1\\,0\\.32\\,1\\)\\] {\n --tw-ease: cubic-bezier(.23, 1, .32, 1);\n transition-timing-function: cubic-bezier(.23, 1, .32, 1);\n}\n.ease-out {\n --tw-ease: var(--ease-out);\n transition-timing-function: var(--ease-out);\n}\n.select-none {\n -webkit-user-select: none;\n user-select: none;\n}\n}\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-backdrop-blur {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-brightness {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-contrast {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-grayscale {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-hue-rotate {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-invert {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-opacity {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-saturate {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-sepia {\n syntax: "*";\n inherits: false\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false\n}\n\n.hdr-capture-settings[data-v-bffda591] {\n padding: 16px;\n}\n.setting-section[data-v-bffda591] {\n margin-bottom: 16px;\n}\n\n/* HDR 映射设置样式 */\n.hdr-mapping-options[data-v-bffda591] {\n padding-left: 16px;\n}\n.slider-setting[data-v-bffda591] {\n padding: 8px 0;\n}\n.slider-header[data-v-bffda591] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n}\n.slider-label[data-v-bffda591] {\n font-size: .875rem;\n font-weight: 500;\n}\n.slider-range-label[data-v-bffda591] {\n font-size: .75rem;\n color: rgb(var(--v-theme-on-surface) / 60%);\n min-width: 32px;\n text-align: center;\n}\n.slider-hint[data-v-bffda591] {\n margin-top: 4px;\n opacity: .7;\n}', { "styleId": "translime-plugin-hdr-capture" });
|
|
18
|
+
})('/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties {\n@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n*, :before, :after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-border-style: solid;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-backdrop-blur: initial;\n --tw-backdrop-brightness: initial;\n --tw-backdrop-contrast: initial;\n --tw-backdrop-grayscale: initial;\n --tw-backdrop-hue-rotate: initial;\n --tw-backdrop-invert: initial;\n --tw-backdrop-opacity: initial;\n --tw-backdrop-saturate: initial;\n --tw-backdrop-sepia: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n}\n}\n}\n@layer tailwind {\n@layer theme {\n:root, :host {\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;\n --color-black: #000;\n --color-white: #fff;\n --spacing: .25rem;\n --text-xs: .75rem;\n --text-xs--line-height: calc(1 / .75);\n --radius-xl: .75rem;\n --radius-3xl: 1.5rem;\n --ease-out: cubic-bezier(0, 0, .2, 1);\n --blur-xs: 4px;\n --default-transition-duration: .15s;\n --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);\n}\n}\n@layer utilities {\n.pointer-events-auto {\n pointer-events: auto;\n}\n.pointer-events-none {\n pointer-events: none;\n}\n.visible {\n visibility: visible;\n}\n.absolute {\n position: absolute;\n}\n.relative {\n position: relative;\n}\n.inset-0 {\n inset: calc(var(--spacing) * 0);\n}\n.-top-1\\.5 {\n top: calc(var(--spacing) * -1.5);\n}\n.-top-6 {\n top: calc(var(--spacing) * -6);\n}\n.top-1 {\n top: calc(var(--spacing) * 1);\n}\n.top-1\\/2 {\n top: 50%;\n}\n.-right-1\\.5 {\n right: calc(var(--spacing) * -1.5);\n}\n.-bottom-1\\.5 {\n bottom: calc(var(--spacing) * -1.5);\n}\n.-left-1\\.5 {\n left: calc(var(--spacing) * -1.5);\n}\n.left-0 {\n left: calc(var(--spacing) * 0);\n}\n.left-1 {\n left: calc(var(--spacing) * 1);\n}\n.left-1\\/2 {\n left: 50%;\n}\n.z-10 {\n z-index: 10;\n}\n.z-20 {\n z-index: 20;\n}\n.z-50 {\n z-index: 50;\n}\n.z-99 {\n z-index: 99;\n}\n.my-4 {\n margin-block: calc(var(--spacing) * 4);\n}\n.mt-2 {\n margin-top: calc(var(--spacing) * 2);\n}\n.mt-4 {\n margin-top: calc(var(--spacing) * 4);\n}\n.mt-6 {\n margin-top: calc(var(--spacing) * 6);\n}\n.mr-2 {\n margin-right: calc(var(--spacing) * 2);\n}\n.mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n}\n.mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n}\n.ml-2 {\n margin-left: calc(var(--spacing) * 2);\n}\n.ml-4 {\n margin-left: calc(var(--spacing) * 4);\n}\n.box-border {\n box-sizing: border-box;\n}\n.flex {\n display: flex;\n}\n.inline {\n display: inline;\n}\n.h-3 {\n height: calc(var(--spacing) * 3);\n}\n.h-full {\n height: 100%;\n}\n.h-screen {\n height: 100vh;\n}\n.w-3 {\n width: calc(var(--spacing) * 3);\n}\n.w-full {\n width: 100%;\n}\n.w-screen {\n width: 100vw;\n}\n.grow {\n flex-grow: 1;\n}\n.-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n}\n.-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n}\n.transform {\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n}\n.cursor-e-resize {\n cursor: e-resize;\n}\n.cursor-move {\n cursor: move;\n}\n.cursor-n-resize {\n cursor: n-resize;\n}\n.cursor-ne-resize {\n cursor: ne-resize;\n}\n.cursor-nw-resize {\n cursor: nw-resize;\n}\n.cursor-pointer {\n cursor: pointer;\n}\n.cursor-s-resize {\n cursor: s-resize;\n}\n.cursor-se-resize {\n cursor: se-resize;\n}\n.cursor-sw-resize {\n cursor: sw-resize;\n}\n.cursor-w-resize {\n cursor: w-resize;\n}\n.gap-x-2 {\n column-gap: calc(var(--spacing) * 2);\n}\n.overflow-hidden {\n overflow: hidden;\n}\n.rounded {\n border-radius: .25rem;\n}\n.rounded-3xl {\n border-radius: var(--radius-3xl);\n}\n.rounded-full {\n border-radius: 3.40282e38px;\n}\n.rounded-xl {\n border-radius: var(--radius-xl);\n}\n.border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n}\n.border-dashed {\n --tw-border-style: dashed;\n border-style: dashed;\n}\n.border-\\[\\#2196F3\\] {\n border-color: #2196f3;\n}\n.border-white\\/10 {\n border-color: #ffffff1a;\n}\n@supports (color: color-mix(in lab, red, red)) {\n.border-white\\/10 {\n border-color: color-mix(in oklab, var(--color-white) 10%, transparent);\n}\n}\n.bg-\\[\\#2196F3\\] {\n background-color: #2196f3;\n}\n.bg-\\[\\#2196F3\\]\\/10 {\n background-color: oklab(65.8156% -.0610626 -.157539 / .1);\n}\n.bg-black\\/75 {\n background-color: #000000bf;\n}\n@supports (color: color-mix(in lab, red, red)) {\n.bg-black\\/75 {\n background-color: color-mix(in oklab, var(--color-black) 75%, transparent);\n}\n}\n.bg-white {\n background-color: var(--color-white);\n}\n.px-2 {\n padding-inline: calc(var(--spacing) * 2);\n}\n.px-4 {\n padding-inline: calc(var(--spacing) * 4);\n}\n.py-0\\.5 {\n padding-block: calc(var(--spacing) * .5);\n}\n.py-2 {\n padding-block: calc(var(--spacing) * 2);\n}\n.font-mono {\n font-family: var(--font-mono);\n}\n.text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n}\n.text-\\[10px\\] {\n font-size: 10px;\n}\n.whitespace-nowrap {\n white-space: nowrap;\n}\n.text-\\[\\#FF5252\\] {\n color: #ff5252;\n}\n.text-white {\n color: var(--color-white);\n}\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n.shadow-md {\n --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n}\n.outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n}\n.backdrop-blur-xs {\n --tw-backdrop-blur: blur(var(--blur-xs));\n -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, );\n 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, );\n}\n.backdrop-filter {\n -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, );\n 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, );\n}\n.transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n}\n.transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));\n transition-duration: var(--tw-duration, var(--default-transition-duration));\n}\n.duration-100 {\n --tw-duration: .1s;\n transition-duration: .1s;\n}\n.duration-300 {\n --tw-duration: .3s;\n transition-duration: .3s;\n}\n.ease-\\[cubic-bezier\\(0\\.23\\,1\\,0\\.32\\,1\\)\\] {\n --tw-ease: cubic-bezier(.23, 1, .32, 1);\n transition-timing-function: cubic-bezier(.23, 1, .32, 1);\n}\n.ease-out {\n --tw-ease: var(--ease-out);\n transition-timing-function: var(--ease-out);\n}\n.select-none {\n -webkit-user-select: none;\n user-select: none;\n}\n}\n}\n@property --tw-translate-x {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: "*";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-rotate-x {\n syntax: "*";\n inherits: false\n}\n@property --tw-rotate-y {\n syntax: "*";\n inherits: false\n}\n@property --tw-rotate-z {\n syntax: "*";\n inherits: false\n}\n@property --tw-skew-x {\n syntax: "*";\n inherits: false\n}\n@property --tw-skew-y {\n syntax: "*";\n inherits: false\n}\n@property --tw-border-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-inset-shadow-alpha {\n syntax: "<percentage>";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: "*";\n inherits: false\n}\n@property --tw-inset-ring-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: "*";\n inherits: false\n}\n@property --tw-ring-offset-width {\n syntax: "<length>";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-ring-offset-color {\n syntax: "*";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: "*";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: "*";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-backdrop-blur {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-brightness {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-contrast {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-grayscale {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-hue-rotate {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-invert {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-opacity {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-saturate {\n syntax: "*";\n inherits: false\n}\n@property --tw-backdrop-sepia {\n syntax: "*";\n inherits: false\n}\n@property --tw-duration {\n syntax: "*";\n inherits: false\n}\n@property --tw-ease {\n syntax: "*";\n inherits: false\n}\n\n.hdr-capture-settings[data-v-749b0fe9] {\n padding: 16px;\n}\n.setting-section[data-v-749b0fe9] {\n margin-bottom: 16px;\n}\n\n/* HDR 映射设置样式 */\n.hdr-mapping-options[data-v-749b0fe9] {\n padding-left: 16px;\n}\n.slider-setting[data-v-749b0fe9] {\n padding: 8px 0;\n}\n.slider-header[data-v-749b0fe9] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 8px;\n}\n.slider-label[data-v-749b0fe9] {\n font-size: .875rem;\n font-weight: 500;\n}\n.slider-range-label[data-v-749b0fe9] {\n font-size: .75rem;\n color: rgb(var(--v-theme-on-surface) / 60%);\n min-width: 32px;\n text-align: center;\n}\n.slider-hint[data-v-749b0fe9] {\n margin-top: 4px;\n opacity: .7;\n}', { "styleId": "translime-plugin-hdr-capture" });
|
|
19
19
|
})();
|
|
20
20
|
import { reactive, ref, computed, onMounted, watch, createBlock, openBlock, unref, withCtx, createVNode, createTextVNode, createElementVNode, withModifiers, mergeProps, withDirectives, toDisplayString, vShow, createCommentVNode } from "vue";
|
|
21
21
|
function getDefaultExportFromCjs(x) {
|
|
@@ -569,6 +569,15 @@ async function setPluginSetting(...args) {
|
|
|
569
569
|
}
|
|
570
570
|
return null;
|
|
571
571
|
}
|
|
572
|
+
function useLogger() {
|
|
573
|
+
if (typeof global !== "undefined" && global.mainStore) {
|
|
574
|
+
return global.mainStore?.logger || console;
|
|
575
|
+
}
|
|
576
|
+
if (typeof window !== "undefined") {
|
|
577
|
+
return window.ts?.logger || console;
|
|
578
|
+
}
|
|
579
|
+
return console;
|
|
580
|
+
}
|
|
572
581
|
const _export_sfc = (sfc, props) => {
|
|
573
582
|
const target = sfc.__vccOpts || sfc;
|
|
574
583
|
for (const [key, val] of props) {
|
|
@@ -581,12 +590,13 @@ const _hoisted_2 = { class: "setting-section" };
|
|
|
581
590
|
const _hoisted_3 = { class: "setting-section" };
|
|
582
591
|
const _hoisted_4 = { class: "setting-section" };
|
|
583
592
|
const _hoisted_5 = { class: "setting-section" };
|
|
584
|
-
const _hoisted_6 = { class: "
|
|
585
|
-
const _hoisted_7 = { class: "
|
|
586
|
-
const _hoisted_8 = { class: "slider-
|
|
587
|
-
const _hoisted_9 = { class: "slider-
|
|
588
|
-
const _hoisted_10 = { class: "slider-
|
|
589
|
-
const _hoisted_11 = { class: "
|
|
593
|
+
const _hoisted_6 = { class: "setting-section" };
|
|
594
|
+
const _hoisted_7 = { class: "hdr-mapping-options mt-4 ml-4" };
|
|
595
|
+
const _hoisted_8 = { class: "slider-setting mb-4" };
|
|
596
|
+
const _hoisted_9 = { class: "slider-header" };
|
|
597
|
+
const _hoisted_10 = { class: "slider-setting mb-4" };
|
|
598
|
+
const _hoisted_11 = { class: "slider-header" };
|
|
599
|
+
const _hoisted_12 = { class: "action-buttons mt-6 flex gap-x-2" };
|
|
590
600
|
const PLUGIN_ID = "translime-plugin-hdr-capture";
|
|
591
601
|
const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
592
602
|
name: "HdrCaptureSettings"
|
|
@@ -594,12 +604,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
594
604
|
__name: "ui",
|
|
595
605
|
setup(__props) {
|
|
596
606
|
const { VContainer, VCard, VCardTitle, VIcon, VCardText, VTextField, VBtn, VTooltip, VSelect, VSwitch, VExpandTransition, VChip, VSlider, VDivider } = typeof window !== "undefined" && window.vuetify$?.components || {};
|
|
607
|
+
const baseLogger = useLogger();
|
|
608
|
+
const logger = baseLogger.child ? baseLogger.child({ plugin_id: PLUGIN_ID, context: "SettingsUI" }) : baseLogger;
|
|
597
609
|
const settings = reactive({
|
|
598
610
|
shortcut: "",
|
|
599
611
|
savePath: "",
|
|
600
612
|
saveFilenameTemplate: "[HDR_Capture]_YYYY-MM-DD_HH-mm-ss",
|
|
601
613
|
// 保存文件名模板
|
|
602
614
|
saveFormat: "png",
|
|
615
|
+
fastResponse: true,
|
|
616
|
+
// 快速响应模式 (Keep-Alive)
|
|
603
617
|
// HDR 映射设置
|
|
604
618
|
enableHdrMapping: true,
|
|
605
619
|
// 是否启用自定义 HDR 映射
|
|
@@ -640,7 +654,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
640
654
|
settings.savePath = defaultPath;
|
|
641
655
|
}
|
|
642
656
|
} catch (err) {
|
|
643
|
-
|
|
657
|
+
logger.error("获取默认保存路径失败:", err);
|
|
644
658
|
}
|
|
645
659
|
}
|
|
646
660
|
});
|
|
@@ -687,7 +701,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
687
701
|
try {
|
|
688
702
|
await ipc.invoke(`start-capture@${PLUGIN_ID}`, { isDebug });
|
|
689
703
|
} catch (err) {
|
|
690
|
-
|
|
704
|
+
logger.error(err);
|
|
691
705
|
}
|
|
692
706
|
};
|
|
693
707
|
return (_ctx, _cache) => {
|
|
@@ -701,12 +715,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
701
715
|
createVNode(unref(VCardTitle), { class: "text-h6" }, {
|
|
702
716
|
default: withCtx(() => [
|
|
703
717
|
createVNode(unref(VIcon), { start: "" }, {
|
|
704
|
-
default: withCtx(() => _cache[
|
|
718
|
+
default: withCtx(() => _cache[11] || (_cache[11] = [
|
|
705
719
|
createTextVNode(" camera ")
|
|
706
720
|
])),
|
|
707
721
|
_: 1
|
|
708
722
|
}),
|
|
709
|
-
_cache[
|
|
723
|
+
_cache[12] || (_cache[12] = createTextVNode(" HDR 截图工具设置 "))
|
|
710
724
|
]),
|
|
711
725
|
_: 1
|
|
712
726
|
}),
|
|
@@ -771,13 +785,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
771
785
|
}, {
|
|
772
786
|
activator: withCtx(({ props }) => [
|
|
773
787
|
createVNode(unref(VIcon), mergeProps(props, {
|
|
774
|
-
icon: "
|
|
788
|
+
icon: "help_outline",
|
|
775
789
|
size: "small",
|
|
776
790
|
class: "mr-2 cursor-pointer"
|
|
777
791
|
}), null, 16)
|
|
778
792
|
]),
|
|
779
793
|
default: withCtx(() => [
|
|
780
|
-
_cache[
|
|
794
|
+
_cache[13] || (_cache[13] = createElementVNode("div", { class: "text-caption" }, [
|
|
781
795
|
createElementVNode("div", { class: "mb-2" }, " 日期变量说明: "),
|
|
782
796
|
createElementVNode("div", null, "使用 dayjs 日期格式"),
|
|
783
797
|
createElementVNode("div", null, "YYYY - 年份 (e.g. 2024)"),
|
|
@@ -807,20 +821,60 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
807
821
|
}, null, 8, ["modelValue"])
|
|
808
822
|
]),
|
|
809
823
|
createElementVNode("div", _hoisted_5, [
|
|
824
|
+
createVNode(unref(VSwitch), {
|
|
825
|
+
modelValue: settings.fastResponse,
|
|
826
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => settings.fastResponse = $event),
|
|
827
|
+
label: "快速响应模式",
|
|
828
|
+
color: "primary"
|
|
829
|
+
}, {
|
|
830
|
+
append: withCtx(() => [
|
|
831
|
+
createVNode(unref(VTooltip), {
|
|
832
|
+
location: "bottom",
|
|
833
|
+
text: "开启后常驻后台,极大缩短截图响应时间 (推荐)"
|
|
834
|
+
}, {
|
|
835
|
+
activator: withCtx(({ props }) => [
|
|
836
|
+
createVNode(unref(VIcon), mergeProps(props, {
|
|
837
|
+
icon: "help_outline",
|
|
838
|
+
size: "small",
|
|
839
|
+
class: "ml-2"
|
|
840
|
+
}), null, 16)
|
|
841
|
+
]),
|
|
842
|
+
_: 1
|
|
843
|
+
})
|
|
844
|
+
]),
|
|
845
|
+
_: 1
|
|
846
|
+
}, 8, ["modelValue"])
|
|
847
|
+
]),
|
|
848
|
+
createElementVNode("div", _hoisted_6, [
|
|
810
849
|
createVNode(unref(VSwitch), {
|
|
811
850
|
modelValue: settings.enableHdrMapping,
|
|
812
|
-
"onUpdate:modelValue": _cache[
|
|
851
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => settings.enableHdrMapping = $event),
|
|
813
852
|
label: "启用 HDR 映射",
|
|
814
|
-
color: "primary"
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
853
|
+
color: "primary"
|
|
854
|
+
}, {
|
|
855
|
+
append: withCtx(() => [
|
|
856
|
+
createVNode(unref(VTooltip), {
|
|
857
|
+
location: "bottom",
|
|
858
|
+
text: "对 HDR 屏幕应用自定义的色调映射参数"
|
|
859
|
+
}, {
|
|
860
|
+
activator: withCtx(({ props }) => [
|
|
861
|
+
createVNode(unref(VIcon), mergeProps(props, {
|
|
862
|
+
icon: "help_outline",
|
|
863
|
+
size: "small",
|
|
864
|
+
class: "ml-2"
|
|
865
|
+
}), null, 16)
|
|
866
|
+
]),
|
|
867
|
+
_: 1
|
|
868
|
+
})
|
|
869
|
+
]),
|
|
870
|
+
_: 1
|
|
871
|
+
}, 8, ["modelValue"]),
|
|
818
872
|
createVNode(unref(VExpandTransition), null, {
|
|
819
873
|
default: withCtx(() => [
|
|
820
|
-
withDirectives(createElementVNode("div",
|
|
821
|
-
createElementVNode("div",
|
|
822
|
-
createElementVNode("div",
|
|
823
|
-
_cache[
|
|
874
|
+
withDirectives(createElementVNode("div", _hoisted_7, [
|
|
875
|
+
createElementVNode("div", _hoisted_8, [
|
|
876
|
+
createElementVNode("div", _hoisted_9, [
|
|
877
|
+
_cache[14] || (_cache[14] = createElementVNode("span", { class: "slider-label" }, "SDR 输出最大值", -1)),
|
|
824
878
|
createVNode(unref(VChip), {
|
|
825
879
|
size: "small",
|
|
826
880
|
color: "primary",
|
|
@@ -834,7 +888,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
834
888
|
]),
|
|
835
889
|
createVNode(unref(VSlider), {
|
|
836
890
|
modelValue: settings.sdrWhiteNits,
|
|
837
|
-
"onUpdate:modelValue": _cache[
|
|
891
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => settings.sdrWhiteNits = $event),
|
|
838
892
|
min: 80,
|
|
839
893
|
max: 400,
|
|
840
894
|
step: 1,
|
|
@@ -842,19 +896,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
842
896
|
"thumb-label": "",
|
|
843
897
|
"hide-details": ""
|
|
844
898
|
}, {
|
|
845
|
-
prepend: withCtx(() => _cache[
|
|
899
|
+
prepend: withCtx(() => _cache[15] || (_cache[15] = [
|
|
846
900
|
createElementVNode("span", { class: "slider-range-label" }, "80", -1)
|
|
847
901
|
])),
|
|
848
|
-
append: withCtx(() => _cache[
|
|
902
|
+
append: withCtx(() => _cache[16] || (_cache[16] = [
|
|
849
903
|
createElementVNode("span", { class: "slider-range-label" }, "400", -1)
|
|
850
904
|
])),
|
|
851
905
|
_: 1
|
|
852
906
|
}, 8, ["modelValue"]),
|
|
853
|
-
_cache[
|
|
907
|
+
_cache[17] || (_cache[17] = createElementVNode("div", { class: "slider-hint text-caption text-grey" }, " Windows 默认 SDR 白点约为 203 nits ", -1))
|
|
854
908
|
]),
|
|
855
|
-
createElementVNode("div",
|
|
856
|
-
createElementVNode("div",
|
|
857
|
-
_cache[
|
|
909
|
+
createElementVNode("div", _hoisted_10, [
|
|
910
|
+
createElementVNode("div", _hoisted_11, [
|
|
911
|
+
_cache[18] || (_cache[18] = createElementVNode("span", { class: "slider-label" }, "HDR 输入最大值", -1)),
|
|
858
912
|
createVNode(unref(VChip), {
|
|
859
913
|
size: "small",
|
|
860
914
|
color: "primary",
|
|
@@ -868,7 +922,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
868
922
|
]),
|
|
869
923
|
createVNode(unref(VSlider), {
|
|
870
924
|
modelValue: settings.hdrMaxNits,
|
|
871
|
-
"onUpdate:modelValue": _cache[
|
|
925
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => settings.hdrMaxNits = $event),
|
|
872
926
|
min: 400,
|
|
873
927
|
max: 2e3,
|
|
874
928
|
step: 10,
|
|
@@ -876,19 +930,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
876
930
|
"thumb-label": "",
|
|
877
931
|
"hide-details": ""
|
|
878
932
|
}, {
|
|
879
|
-
prepend: withCtx(() => _cache[
|
|
933
|
+
prepend: withCtx(() => _cache[19] || (_cache[19] = [
|
|
880
934
|
createElementVNode("span", { class: "slider-range-label" }, "400", -1)
|
|
881
935
|
])),
|
|
882
|
-
append: withCtx(() => _cache[
|
|
936
|
+
append: withCtx(() => _cache[20] || (_cache[20] = [
|
|
883
937
|
createElementVNode("span", { class: "slider-range-label" }, "2000", -1)
|
|
884
938
|
])),
|
|
885
939
|
_: 1
|
|
886
940
|
}, 8, ["modelValue"]),
|
|
887
|
-
_cache[
|
|
941
|
+
_cache[21] || (_cache[21] = createElementVNode("div", { class: "slider-hint text-caption text-grey" }, " HDR 内容的最大输入亮度,通常为 1000 nits ", -1))
|
|
888
942
|
]),
|
|
889
943
|
createVNode(unref(VSwitch), {
|
|
890
944
|
modelValue: settings.preserveHdr,
|
|
891
|
-
"onUpdate:modelValue": _cache[
|
|
945
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => settings.preserveHdr = $event),
|
|
892
946
|
label: "保存 HDR 原始文件",
|
|
893
947
|
color: "primary",
|
|
894
948
|
density: "compact"
|
|
@@ -901,21 +955,21 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
901
955
|
})
|
|
902
956
|
]),
|
|
903
957
|
createVNode(unref(VDivider), { class: "my-4" }),
|
|
904
|
-
createElementVNode("div",
|
|
958
|
+
createElementVNode("div", _hoisted_12, [
|
|
905
959
|
createVNode(unref(VBtn), {
|
|
906
960
|
class: "grow",
|
|
907
961
|
color: "primary",
|
|
908
962
|
size: "large",
|
|
909
|
-
onClick: _cache[
|
|
963
|
+
onClick: _cache[9] || (_cache[9] = ($event) => startCapture())
|
|
910
964
|
}, {
|
|
911
965
|
default: withCtx(() => [
|
|
912
966
|
createVNode(unref(VIcon), { start: "" }, {
|
|
913
|
-
default: withCtx(() => _cache[
|
|
967
|
+
default: withCtx(() => _cache[22] || (_cache[22] = [
|
|
914
968
|
createTextVNode(" camera ")
|
|
915
969
|
])),
|
|
916
970
|
_: 1
|
|
917
971
|
}),
|
|
918
|
-
_cache[
|
|
972
|
+
_cache[23] || (_cache[23] = createTextVNode(" 开始截图 "))
|
|
919
973
|
]),
|
|
920
974
|
_: 1
|
|
921
975
|
}),
|
|
@@ -933,7 +987,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
933
987
|
};
|
|
934
988
|
}
|
|
935
989
|
});
|
|
936
|
-
const ui = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
990
|
+
const ui = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-749b0fe9"]]);
|
|
937
991
|
export {
|
|
938
992
|
ui as default
|
|
939
993
|
};
|