@bytechain.cn/colamd 2.7.8-rc.1 → 2.7.9
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/main/chunks/docx-export.js +657 -116
- package/dist/main/chunks/math-export.js +161 -0
- package/dist/main/index.js +35 -1
- package/dist/preload/index.js +2 -0
- package/dist/renderer/assets/{2DXBBFLN-ocNdN1uw.js → 2DXBBFLN-BZbS7Pd1.js} +4 -4
- package/dist/renderer/assets/{46IJ22JX-CW4U2qxX.js → 46IJ22JX-CNFviTsR.js} +5 -5
- package/dist/renderer/assets/{4TTDE5I4-D8ms4N1R.js → 4TTDE5I4-C7pizLRz.js} +3 -3
- package/dist/renderer/assets/{4UF3HTLV-BzqW54nj.js → 4UF3HTLV-Bgp6lNzK.js} +4 -4
- package/dist/renderer/assets/{AAXQQPKT-ZKol9lXb.js → AAXQQPKT-DiRTivQz.js} +8 -8
- package/dist/renderer/assets/{AKE5O7KZ-H-pe0TLq.js → AKE5O7KZ-DB0fY69K.js} +5 -5
- package/dist/renderer/assets/{BNMLP6AG-CozSAPVO.js → BNMLP6AG-B895CsjY.js} +7 -7
- package/dist/renderer/assets/{DR6PKOQU-BT2uwVtN.js → DR6PKOQU-CrswvvVG.js} +3 -3
- package/dist/renderer/assets/{E4RJ7UJB-DJpjg8i0.js → E4RJ7UJB-Dgy0Anf4.js} +6 -6
- package/dist/renderer/assets/{ELSXBIJH-ByLiLwVh.js → ELSXBIJH-Bg-hsqjD.js} +1 -1
- package/dist/renderer/assets/{ERTIBQVS-DtgkV5Er.js → ERTIBQVS-BNxjgPXX.js} +4 -4
- package/dist/renderer/assets/{F653G4FO-D3eJtPrn.js → F653G4FO-Dt3YtuWS.js} +8 -8
- package/dist/renderer/assets/{FKCDD66M-CCYmJoGO.js → FKCDD66M-CenzCJNz.js} +1 -1
- package/dist/renderer/assets/{FP7KDXVC-vZ0TYC0r.js → FP7KDXVC-BmH1Qg4f.js} +6 -6
- package/dist/renderer/assets/{FT5I3RHX-Brm3_Qt0.js → FT5I3RHX-Dd_6diyz.js} +7 -7
- package/dist/renderer/assets/{GY35JXOZ-BeQu6w03.js → GY35JXOZ-Cz54qXE9.js} +4 -4
- package/dist/renderer/assets/{H5EEJPP2-BWYooK0Y.js → H5EEJPP2-FerEQPg3.js} +9 -9
- package/dist/renderer/assets/{HWDLEDTA-Dsh9L_sn.js → HWDLEDTA-dKG_tB6l.js} +1 -1
- package/dist/renderer/assets/{JZWSX6AR-C70mE9_I.js → JZWSX6AR-DGqy6mhj.js} +2 -2
- package/dist/renderer/assets/{KQOEJWJY-B5PiIUbK.js → KQOEJWJY-RpP1RapT.js} +1 -1
- package/dist/renderer/assets/{KS3BB3KE-DS5zytZe.js → KS3BB3KE-ChYPdbg1.js} +5 -5
- package/dist/renderer/assets/{KXJRRZHI-h3IoWNmT.js → KXJRRZHI-DSLhPV79.js} +3 -3
- package/dist/renderer/assets/{MFVI5XKI-DBluxjPi.js → MFVI5XKI-C1-R608I.js} +1 -1
- package/dist/renderer/assets/{MWY2J62P-BhNMmpkI.js → MWY2J62P-CYEJcQI7.js} +5 -5
- package/dist/renderer/assets/{MXGNCBL2-ERnAcXsb.js → MXGNCBL2-DEhdb9Po.js} +5 -5
- package/dist/renderer/assets/{N6DAJLIZ-CCw9Llff.js → N6DAJLIZ-Jz5IcMsB.js} +2 -2
- package/dist/renderer/assets/{NU5M23IW-BiuqBfD9.js → NU5M23IW-C8k8MpXh.js} +5 -5
- package/dist/renderer/assets/{NV4XNBIS-eb9rHXjC.js → NV4XNBIS-BCaP1w8q.js} +7 -7
- package/dist/renderer/assets/{OGLU4SIR-wmQFiy7F.js → OGLU4SIR-OGqdd7qE.js} +5 -5
- package/dist/renderer/assets/{OUNS5N76-C60GppNV.js → OUNS5N76-p6wVW2dP.js} +6 -6
- package/dist/renderer/assets/{PU4ISKXV-CkkIdjfm.js → PU4ISKXV-D-ZMREMw.js} +5 -5
- package/dist/renderer/assets/{PUZGS23X-D8xumSyi.js → PUZGS23X-DsbrgiWg.js} +1 -1
- package/dist/renderer/assets/{Q3IYVLG5-DeTmPOTn.js → Q3IYVLG5-BpItOJB9.js} +5 -5
- package/dist/renderer/assets/{QYHQDLKZ-DqOBYl5L.js → QYHQDLKZ-Dm9JiJIz.js} +9 -9
- package/dist/renderer/assets/{RZSVICHU-DIzmobkX.js → RZSVICHU-Chf4nk49.js} +1 -1
- package/dist/renderer/assets/{UEXXS2NB-CYDWJ2KO.js → UEXXS2NB-Bm2T4HQE.js} +1 -1
- package/dist/renderer/assets/{UHTQJXKL-HX94GYaC.js → UHTQJXKL-Y4ThTfXK.js} +5 -5
- package/dist/renderer/assets/{URA2L2QI-khybz_tg.js → URA2L2QI-DkaJzKIj.js} +1 -1
- package/dist/renderer/assets/{UXCHDUKG-QXpNrHim.js → UXCHDUKG-D6Ae72SJ.js} +5 -5
- package/dist/renderer/assets/{VKNV3BUX-C2O2Bs2U.js → VKNV3BUX-CQYQjCVp.js} +6 -6
- package/dist/renderer/assets/{VMV7XPHP-D1gPv1dO.js → VMV7XPHP-CKz3lx9e.js} +1 -1
- package/dist/renderer/assets/{WEVWDWVA-DG15XyXu.js → WEVWDWVA-DXDXU985.js} +1 -1
- package/dist/renderer/assets/{XRRJ35LF-DmN6YDeJ.js → XRRJ35LF-C66qdAcN.js} +4 -4
- package/dist/renderer/assets/{YFKBLVVN-DeryBzcE.js → YFKBLVVN-B1JutB4t.js} +4 -4
- package/dist/renderer/assets/{YHRE5QGZ-DwPShfQy.js → YHRE5QGZ-BoAzNT7K.js} +7 -7
- package/dist/renderer/assets/{ZF3OVT4B-DHBhtnZM.js → ZF3OVT4B-tBhjRApP.js} +3 -3
- package/dist/renderer/assets/{index-BouhGB9m.js → index-6XszqTLE.js} +1 -1
- package/dist/renderer/assets/{index-BF0P_ZMG.js → index-8VmLWls0.js} +1 -1
- package/dist/renderer/assets/{index-D1MMw9tV.js → index-BHNBF13i.js} +1 -1
- package/dist/renderer/assets/{index-bx07CRyn.css → index-BSrZe3ki.css} +54 -17
- package/dist/renderer/assets/{index-CGuZJqP1.js → index-Bcx2JMPS.js} +513 -104
- package/dist/renderer/assets/{index-Ur2F7eWX.js → index-Bk6TVqB_.js} +1 -1
- package/dist/renderer/assets/{index-xTPwwfve.js → index-Bz1F6_A_.js} +1 -1
- package/dist/renderer/assets/{index-JyyTb9ao.js → index-C1fw6u5V.js} +1 -1
- package/dist/renderer/assets/{index-DEcNnx9-.js → index-CAuNb95h.js} +1 -1
- package/dist/renderer/assets/{index-DvMk4oid.js → index-CQ2EdLQr.js} +1 -1
- package/dist/renderer/assets/{index-CgES-9Rd.js → index-CZRO_PAZ.js} +1 -1
- package/dist/renderer/assets/{index-toqSlBnN.js → index-Coye68JD.js} +1 -1
- package/dist/renderer/assets/{index-BbOLrTvz.js → index-CxqBaXly.js} +1 -1
- package/dist/renderer/assets/{index-m-tHhRHA.js → index-DROMWNcj.js} +1 -1
- package/dist/renderer/assets/{index-CVN17YgJ.js → index-DUg0by2F.js} +1 -1
- package/dist/renderer/assets/{index-B06HNuaq.js → index-Dg6oPZ5w.js} +3 -3
- package/dist/renderer/assets/{index-B9Bbyah6.js → index-Dl8YooLt.js} +3 -3
- package/dist/renderer/assets/{index-DqNxG-Ug.js → index-Dqlv2y9T.js} +1 -1
- package/dist/renderer/assets/{index-DpKK1T1J.js → index-HSHw3F3k.js} +1 -1
- package/dist/renderer/assets/{index-CY9PQWw8.js → index-KKUqPjEB.js} +1 -1
- package/dist/renderer/assets/{index-DZhqeNYh.js → index-UzBrnlvb.js} +1 -1
- package/dist/renderer/assets/{index-CHTW9ZSi.js → index-eBhE19Gh.js} +1 -1
- package/dist/renderer/assets/{index-sM1jjx0F.js → index-k6oLH39v.js} +3 -3
- package/dist/renderer/assets/{lazy-BH99YeD2.js → lazy-DVRRTm-q.js} +3 -3
- package/dist/renderer/assets/{web-CXfy2WqP.js → web-CAJ9chii.js} +1 -1
- package/dist/renderer/assets/{web-B00tb1nG.js → web-Ct-G5Yg8.js} +2 -2
- package/dist/renderer/assets/{web-CTn_ehbD.js → web-Y168OUbw.js} +1 -1
- package/dist/renderer/index.html +2 -2
- package/package.json +1 -1
- package/scripts/theme-verify-core.mjs +345 -345
- package/scripts/verify-themes-cli.mjs +95 -95
- package/themes/contract.json +128 -127
- package/themes/elegant.css +0 -1
- package/themes/sepia.css +0 -1
- package/themes/template.css +1 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const require$$1 = require("electron");
|
|
4
|
+
const promises = require("fs/promises");
|
|
5
|
+
const require$$2 = require("os");
|
|
6
|
+
const require$$1$1 = require("path");
|
|
7
|
+
const CAPTURE_TIMEOUT_MS = 2e4;
|
|
8
|
+
const SETTLE_MS = 2e4;
|
|
9
|
+
function withTimeout(promise, ms, label) {
|
|
10
|
+
return new Promise((resolve, reject) => {
|
|
11
|
+
const timer = setTimeout(() => reject(new Error(`${label} 超过 ${ms}ms 没有返回`)), ms);
|
|
12
|
+
promise.then(
|
|
13
|
+
(value) => {
|
|
14
|
+
clearTimeout(timer);
|
|
15
|
+
resolve(value);
|
|
16
|
+
},
|
|
17
|
+
(error) => {
|
|
18
|
+
clearTimeout(timer);
|
|
19
|
+
reject(error);
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function pageHTML(styles, color, background) {
|
|
25
|
+
return `<!doctype html>
|
|
26
|
+
<html lang="zh-CN">
|
|
27
|
+
<head>
|
|
28
|
+
<meta charset="UTF-8">
|
|
29
|
+
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline'; font-src file: http: https: data:; img-src file: http: https: data:;">
|
|
30
|
+
<style>
|
|
31
|
+
${styles}
|
|
32
|
+
html, body {
|
|
33
|
+
margin: 0 !important;
|
|
34
|
+
padding: 0 !important;
|
|
35
|
+
height: auto !important;
|
|
36
|
+
overflow: visible !important;
|
|
37
|
+
background: ${background} !important;
|
|
38
|
+
color: ${color} !important;
|
|
39
|
+
}
|
|
40
|
+
#stage {
|
|
41
|
+
display: inline-block;
|
|
42
|
+
padding: 3px;
|
|
43
|
+
color: ${color} !important;
|
|
44
|
+
background: ${background} !important;
|
|
45
|
+
}
|
|
46
|
+
#stage .katex-display { margin: 0 !important; }
|
|
47
|
+
#stage .colamd-document {
|
|
48
|
+
max-width: none !important;
|
|
49
|
+
width: 100% !important;
|
|
50
|
+
margin: 0 !important;
|
|
51
|
+
padding: 0 !important;
|
|
52
|
+
color: ${color} !important;
|
|
53
|
+
background: ${background} !important;
|
|
54
|
+
}
|
|
55
|
+
#stage .colamd-document > :first-child { margin-top: 0 !important; }
|
|
56
|
+
#stage .colamd-document > :last-child { margin-bottom: 0 !important; }
|
|
57
|
+
</style>
|
|
58
|
+
</head>
|
|
59
|
+
<body><div id="stage"></div></body>
|
|
60
|
+
</html>`;
|
|
61
|
+
}
|
|
62
|
+
async function renderShots(items, styles, color, background) {
|
|
63
|
+
if (items.length === 0) return [];
|
|
64
|
+
const win = new require$$1.BrowserWindow({
|
|
65
|
+
show: false,
|
|
66
|
+
width: 900,
|
|
67
|
+
height: 200,
|
|
68
|
+
backgroundColor: background,
|
|
69
|
+
webPreferences: {
|
|
70
|
+
sandbox: true,
|
|
71
|
+
contextIsolation: true,
|
|
72
|
+
nodeIntegration: false,
|
|
73
|
+
// 隐藏窗口也要出帧,否则 capturePage 等不到画面。
|
|
74
|
+
backgroundThrottling: false
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
let dir;
|
|
78
|
+
try {
|
|
79
|
+
dir = await promises.mkdtemp(require$$1$1.join(require$$2.tmpdir(), "colamd-math-shot-"));
|
|
80
|
+
const file = require$$1$1.join(dir, "shot.html");
|
|
81
|
+
await promises.writeFile(file, pageHTML(styles, color, background), "utf8");
|
|
82
|
+
await win.loadFile(file);
|
|
83
|
+
win.webContents.beginFrameSubscription(() => {
|
|
84
|
+
});
|
|
85
|
+
await withTimeout(
|
|
86
|
+
win.webContents.executeJavaScript("document.fonts.ready.then(() => true)"),
|
|
87
|
+
SETTLE_MS,
|
|
88
|
+
"fonts.ready"
|
|
89
|
+
);
|
|
90
|
+
const shots = [];
|
|
91
|
+
for (const item of items) {
|
|
92
|
+
try {
|
|
93
|
+
const fixedWidth = typeof item.width === "number" && item.width > 0 ? Math.round(item.width) : null;
|
|
94
|
+
const display = fixedWidth ? "block" : "inline-block";
|
|
95
|
+
const widthValue = fixedWidth ? `${fixedWidth}px` : "auto";
|
|
96
|
+
const measured = await withTimeout(
|
|
97
|
+
win.webContents.executeJavaScript(`(async () => {
|
|
98
|
+
const stage = document.getElementById('stage')
|
|
99
|
+
stage.style.display = ${JSON.stringify(display)}
|
|
100
|
+
stage.style.width = ${JSON.stringify(widthValue)}
|
|
101
|
+
stage.innerHTML = ${JSON.stringify(item.html)}
|
|
102
|
+
await document.fonts.ready
|
|
103
|
+
await Promise.all(Array.from(document.images).map((image) => image.complete ? undefined : new Promise((resolve) => {
|
|
104
|
+
image.addEventListener('load', resolve, { once: true })
|
|
105
|
+
image.addEventListener('error', resolve, { once: true })
|
|
106
|
+
})))
|
|
107
|
+
await new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve)))
|
|
108
|
+
const rect = stage.getBoundingClientRect()
|
|
109
|
+
return {
|
|
110
|
+
width: Math.ceil(rect.width),
|
|
111
|
+
height: Math.ceil(rect.height),
|
|
112
|
+
scrollWidth: stage.scrollWidth,
|
|
113
|
+
scrollHeight: stage.scrollHeight
|
|
114
|
+
}
|
|
115
|
+
})()`),
|
|
116
|
+
SETTLE_MS,
|
|
117
|
+
"measure shot"
|
|
118
|
+
);
|
|
119
|
+
const measuredWidth = fixedWidth ? Math.max(fixedWidth, Number(measured?.scrollWidth) || 0) : Math.max(Number(measured?.width) || 0, Number(measured?.scrollWidth) || 0);
|
|
120
|
+
const width = Math.max(1, measuredWidth);
|
|
121
|
+
const height = Math.max(1, Number(measured?.height) || 0, Number(measured?.scrollHeight) || 0);
|
|
122
|
+
win.setContentSize(width, height);
|
|
123
|
+
await win.webContents.executeJavaScript(
|
|
124
|
+
"new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve)))"
|
|
125
|
+
);
|
|
126
|
+
const image = await withTimeout(
|
|
127
|
+
win.webContents.capturePage({ x: 0, y: 0, width, height }),
|
|
128
|
+
CAPTURE_TIMEOUT_MS,
|
|
129
|
+
"capturePage"
|
|
130
|
+
);
|
|
131
|
+
if (image.isEmpty()) {
|
|
132
|
+
shots.push(null);
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
shots.push({ dataURL: image.toDataURL(), width, height });
|
|
136
|
+
} catch (error) {
|
|
137
|
+
console.error("Screenshot failed", error);
|
|
138
|
+
shots.push(null);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return shots;
|
|
142
|
+
} catch (error) {
|
|
143
|
+
console.error("Screenshot window failed", error);
|
|
144
|
+
return items.map(() => null);
|
|
145
|
+
} finally {
|
|
146
|
+
if (!win.isDestroyed()) {
|
|
147
|
+
win.webContents.endFrameSubscription();
|
|
148
|
+
win.destroy();
|
|
149
|
+
}
|
|
150
|
+
if (dir) await promises.rm(dir, { recursive: true, force: true });
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
async function renderMathImages(formulas, styles, color, background) {
|
|
154
|
+
return renderShots(formulas.map((formula) => ({ html: formula.html })), styles, color, background);
|
|
155
|
+
}
|
|
156
|
+
async function renderHtmlImages(items, styles, color, background) {
|
|
157
|
+
return renderShots(items.map((item) => ({ html: item.html, width: item.width })), styles, color, background);
|
|
158
|
+
}
|
|
159
|
+
exports.renderHtmlImages = renderHtmlImages;
|
|
160
|
+
exports.renderMathImages = renderMathImages;
|
|
161
|
+
exports.renderShots = renderShots;
|
package/dist/main/index.js
CHANGED
|
@@ -16764,6 +16764,8 @@ require$$1$3.ipcMain.handle("export-docx", async (event, payload) => {
|
|
|
16764
16764
|
const win = getWinFromEvent(event);
|
|
16765
16765
|
const content = typeof payload === "object" && payload !== null ? payload.content : payload;
|
|
16766
16766
|
const images = typeof payload === "object" && payload !== null ? payload.images : void 0;
|
|
16767
|
+
const style = typeof payload === "object" && payload !== null ? payload.style : void 0;
|
|
16768
|
+
const imageSizes = typeof payload === "object" && payload !== null ? payload.imageSizes : void 0;
|
|
16767
16769
|
if (!win || typeof content !== "string") return false;
|
|
16768
16770
|
win.show();
|
|
16769
16771
|
win.focus();
|
|
@@ -16779,7 +16781,7 @@ require$$1$3.ipcMain.handle("export-docx", async (event, payload) => {
|
|
|
16779
16781
|
if (result.canceled || !result.filePath) return false;
|
|
16780
16782
|
try {
|
|
16781
16783
|
const { markdownToDocx } = await Promise.resolve().then(() => require("./chunks/docx-export.js"));
|
|
16782
|
-
await promises.writeFile(result.filePath, await markdownToDocx({ content, sourcePath: getState(win).filePath, images: diagramImages }));
|
|
16784
|
+
await promises.writeFile(result.filePath, await markdownToDocx({ content, sourcePath: getState(win).filePath, images: diagramImages, style, imageSizes }));
|
|
16783
16785
|
require$$1$3.shell.showItemInFolder(result.filePath);
|
|
16784
16786
|
return true;
|
|
16785
16787
|
} catch (error2) {
|
|
@@ -16793,6 +16795,38 @@ require$$1$3.ipcMain.handle("export-docx", async (event, payload) => {
|
|
|
16793
16795
|
return false;
|
|
16794
16796
|
}
|
|
16795
16797
|
});
|
|
16798
|
+
require$$1$3.ipcMain.handle("render-math-images", async (_event, payload) => {
|
|
16799
|
+
if (!payload || typeof payload !== "object") return [];
|
|
16800
|
+
const source = payload;
|
|
16801
|
+
if (!Array.isArray(source.formulas) || typeof source.styles !== "string") return [];
|
|
16802
|
+
const formulas = source.formulas.filter((item) => typeof item === "object" && item !== null && typeof item.html === "string" && typeof item.block === "boolean").map((item) => ({ html: item.html, block: item.block }));
|
|
16803
|
+
if (formulas.length === 0) return [];
|
|
16804
|
+
const color = typeof source.color === "string" ? source.color : "#24292f";
|
|
16805
|
+
const background = typeof source.background === "string" ? source.background : "#ffffff";
|
|
16806
|
+
try {
|
|
16807
|
+
const { renderMathImages } = await Promise.resolve().then(() => require("./chunks/math-export.js"));
|
|
16808
|
+
return await renderMathImages(formulas, source.styles, color, background);
|
|
16809
|
+
} catch (error2) {
|
|
16810
|
+
console.error("Math export failed", error2);
|
|
16811
|
+
return formulas.map(() => null);
|
|
16812
|
+
}
|
|
16813
|
+
});
|
|
16814
|
+
require$$1$3.ipcMain.handle("render-html-images", async (_event, payload) => {
|
|
16815
|
+
if (!payload || typeof payload !== "object") return [];
|
|
16816
|
+
const source = payload;
|
|
16817
|
+
if (!Array.isArray(source.items) || typeof source.styles !== "string") return [];
|
|
16818
|
+
const items = source.items.filter((item) => typeof item === "object" && item !== null && typeof item.html === "string" && typeof item.width === "number" && item.width > 0).map((item) => ({ html: item.html, width: Math.round(item.width) }));
|
|
16819
|
+
if (items.length === 0) return [];
|
|
16820
|
+
const color = typeof source.color === "string" ? source.color : "#24292f";
|
|
16821
|
+
const background = typeof source.background === "string" ? source.background : "#ffffff";
|
|
16822
|
+
try {
|
|
16823
|
+
const { renderHtmlImages } = await Promise.resolve().then(() => require("./chunks/math-export.js"));
|
|
16824
|
+
return await renderHtmlImages(items, source.styles, color, background);
|
|
16825
|
+
} catch (error2) {
|
|
16826
|
+
console.error("HTML export failed", error2);
|
|
16827
|
+
return items.map(() => null);
|
|
16828
|
+
}
|
|
16829
|
+
});
|
|
16796
16830
|
require$$1$3.ipcMain.handle("export-image", async (event, snapshot, preset) => {
|
|
16797
16831
|
const win = getWinFromEvent(event);
|
|
16798
16832
|
if (!win || preset !== "desktop" && preset !== "mobile" || !snapshot || typeof snapshot !== "object") return false;
|
package/dist/preload/index.js
CHANGED
|
@@ -38,6 +38,8 @@ electron.contextBridge.exposeInMainWorld("electronAPI", {
|
|
|
38
38
|
exportPDF: () => electron.ipcRenderer.invoke("export-pdf"),
|
|
39
39
|
exportHTML: (snapshot) => electron.ipcRenderer.invoke("export-html", snapshot),
|
|
40
40
|
exportDOCX: (payload) => electron.ipcRenderer.invoke("export-docx", payload),
|
|
41
|
+
renderMathImages: (payload) => electron.ipcRenderer.invoke("render-math-images", payload),
|
|
42
|
+
renderHtmlImages: (payload) => electron.ipcRenderer.invoke("render-html-images", payload),
|
|
41
43
|
exportImage: (snapshot, preset) => electron.ipcRenderer.invoke("export-image", snapshot, preset),
|
|
42
44
|
getLanguage: () => electron.ipcRenderer.invoke("get-language"),
|
|
43
45
|
onLanguageChanged: (callback) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
2
|
-
import { x as x$1, D, Y as Y$1, z as z$1, U as U$1, H as H$1, G, O, P } from "./VMV7XPHP-
|
|
3
|
-
import { a as _t, y, x as x$2, b, f as ft$1, $ as $t$1, p as pt$1, _ as _$1 } from "./RZSVICHU-
|
|
4
|
-
import { x, H, $ } from "./lazy-
|
|
5
|
-
import "./index-
|
|
2
|
+
import { x as x$1, D, Y as Y$1, z as z$1, U as U$1, H as H$1, G, O, P } from "./VMV7XPHP-CKz3lx9e.js";
|
|
3
|
+
import { a as _t, y, x as x$2, b, f as ft$1, $ as $t$1, p as pt$1, _ as _$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
4
|
+
import { x, H, $ } from "./lazy-DVRRTm-q.js";
|
|
5
|
+
import "./index-Bcx2JMPS.js";
|
|
6
6
|
function Pe(e) {
|
|
7
7
|
return e === 32 || e >= 9 && e <= 13 || e > 127 && /\s/.test(String.fromCharCode(e));
|
|
8
8
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E, P, V } from "./URA2L2QI-
|
|
2
|
-
import { x, L, e, i, H } from "./lazy-
|
|
1
|
+
import { E, P, V } from "./URA2L2QI-DkaJzKIj.js";
|
|
2
|
+
import { x, L, e, i, H } from "./lazy-DVRRTm-q.js";
|
|
3
3
|
import { p, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
4
|
-
import { D as Dn, S as Sn, w as wn } from "./HWDLEDTA-
|
|
5
|
-
import { a as _t$1, h as ht$1, y, _, x as x$1, f as ft$1, $ as $t, g as gt$1 } from "./RZSVICHU-
|
|
6
|
-
import "./index-
|
|
4
|
+
import { D as Dn, S as Sn, w as wn } from "./HWDLEDTA-dKG_tB6l.js";
|
|
5
|
+
import { a as _t$1, h as ht$1, y, _, x as x$1, f as ft$1, $ as $t, g as gt$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
6
|
+
import "./index-Bcx2JMPS.js";
|
|
7
7
|
var ze = 1e5;
|
|
8
8
|
function it(e2) {
|
|
9
9
|
switch (e2) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s } from "./RVARI57O-DMrXgtoB.js";
|
|
2
|
-
import { x, H, t, u, e, L, i } from "./lazy-
|
|
2
|
+
import { x, H, t, u, e, L, i } from "./lazy-DVRRTm-q.js";
|
|
3
3
|
import { l } from "./DKTLEL5E-Dj3316cp.js";
|
|
4
|
-
import { a as _t, x as x$1, m as mt, y, f as ft, $ as $t$1, b } from "./RZSVICHU-
|
|
5
|
-
import "./index-
|
|
4
|
+
import { a as _t, x as x$1, m as mt, y, f as ft, $ as $t$1, b } from "./RZSVICHU-Chf4nk49.js";
|
|
5
|
+
import "./index-Bcx2JMPS.js";
|
|
6
6
|
var $t = class {
|
|
7
7
|
type = "xychart";
|
|
8
8
|
title;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { x, D, M, $, v, V, W, G, O, P, U, z as z$1, Y, H as H$1 } from "./VMV7XPHP-
|
|
2
|
-
import { a as _t, f as ft, $ as $t } from "./RZSVICHU-
|
|
3
|
-
import { H } from "./lazy-
|
|
4
|
-
import "./index-
|
|
1
|
+
import { x, D, M, $, v, V, W, G, O, P, U, z as z$1, Y, H as H$1 } from "./VMV7XPHP-CKz3lx9e.js";
|
|
2
|
+
import { a as _t, f as ft, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
3
|
+
import { H } from "./lazy-DVRRTm-q.js";
|
|
4
|
+
import "./index-Bcx2JMPS.js";
|
|
5
5
|
function A(t, e) {
|
|
6
6
|
return { type: "info", title: t.title || e, accTitle: t.accTitle ? t.accTitle.replace(/^\s+/g, "") : void 0, accDescr: t.accDescr ? t.accDescr.replace(/\n\s+/g, `
|
|
7
7
|
`) : void 0 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as c$1 } from "./MFVI5XKI-
|
|
2
|
-
import { b as be$1, d as de, m as me$1 } from "./FKCDD66M-
|
|
3
|
-
import { N, A } from "./JZWSX6AR-
|
|
4
|
-
import { R } from "./URA2L2QI-
|
|
5
|
-
import { H, $, x as x$1, i, e, C, L } from "./lazy-
|
|
1
|
+
import { c as c$1 } from "./MFVI5XKI-C1-R608I.js";
|
|
2
|
+
import { b as be$1, d as de, m as me$1 } from "./FKCDD66M-CenzCJNz.js";
|
|
3
|
+
import { N, A } from "./JZWSX6AR-DGqy6mhj.js";
|
|
4
|
+
import { R } from "./URA2L2QI-DkaJzKIj.js";
|
|
5
|
+
import { H, $, x as x$1, i, e, C, L } from "./lazy-DVRRTm-q.js";
|
|
6
6
|
import { m, c } from "./DKTLEL5E-Dj3316cp.js";
|
|
7
|
-
import { F as Fn, D as Dn, S as Sn, v as vn, w as wn } from "./HWDLEDTA-
|
|
8
|
-
import { a as _t, g as gt, x, f as ft, b, h as ht, y, $ as $t } from "./RZSVICHU-
|
|
9
|
-
import "./index-
|
|
7
|
+
import { F as Fn, D as Dn, S as Sn, v as vn, w as wn } from "./HWDLEDTA-dKG_tB6l.js";
|
|
8
|
+
import { a as _t, g as gt, x, f as ft, b, h as ht, y, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
9
|
+
import "./index-Bcx2JMPS.js";
|
|
10
10
|
function Re(i2) {
|
|
11
11
|
let n = "TB";
|
|
12
12
|
for (let c2 of i2) typeof c2 != "string" && c2.stmt === "dir" && (n = c2.value);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { x as x$1, D, M, $, v, w, V, W, G, O, P, j, Y, z, U, H as H$1 } from "./VMV7XPHP-
|
|
2
|
-
import { D as Dn$1, w as wn$1 } from "./HWDLEDTA-
|
|
3
|
-
import { a as _t, x, m as mt, f as ft, $ as $t, _, y } from "./RZSVICHU-
|
|
4
|
-
import { H } from "./lazy-
|
|
5
|
-
import "./index-
|
|
1
|
+
import { x as x$1, D, M, $, v, w, V, W, G, O, P, j, Y, z, U, H as H$1 } from "./VMV7XPHP-CKz3lx9e.js";
|
|
2
|
+
import { D as Dn$1, w as wn$1 } from "./HWDLEDTA-dKG_tB6l.js";
|
|
3
|
+
import { a as _t, x, m as mt, f as ft, $ as $t, _, y } from "./RZSVICHU-Chf4nk49.js";
|
|
4
|
+
import { H } from "./lazy-DVRRTm-q.js";
|
|
5
|
+
import "./index-Bcx2JMPS.js";
|
|
6
6
|
var ke = class {
|
|
7
7
|
domains = /* @__PURE__ */ new Map();
|
|
8
8
|
transitions = [];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as c$1 } from "./G3MDBVQH-qZ3yfAIw.js";
|
|
2
|
-
import { x, h } from "./ELSXBIJH-
|
|
3
|
-
import { b as be$1, d as de$1, m as me, p as pe$1 } from "./FKCDD66M-
|
|
4
|
-
import { M, L, O } from "./JZWSX6AR-
|
|
5
|
-
import { H, $, e, L as L$1, i, t } from "./lazy-
|
|
2
|
+
import { x, h } from "./ELSXBIJH-Bg-hsqjD.js";
|
|
3
|
+
import { b as be$1, d as de$1, m as me, p as pe$1 } from "./FKCDD66M-CenzCJNz.js";
|
|
4
|
+
import { M, L, O } from "./JZWSX6AR-DGqy6mhj.js";
|
|
5
|
+
import { H, $, e, L as L$1, i, t } from "./lazy-DVRRTm-q.js";
|
|
6
6
|
import { m, c } from "./DKTLEL5E-Dj3316cp.js";
|
|
7
|
-
import { F as Fn, S as Sn } from "./HWDLEDTA-
|
|
8
|
-
import { a as _t$1, g as gt$1, h as ht$1, _, y, x as x$1, f as ft$1, b, $ as $t$1, Y, T, q } from "./RZSVICHU-
|
|
9
|
-
import "./index-
|
|
7
|
+
import { F as Fn, S as Sn } from "./HWDLEDTA-dKG_tB6l.js";
|
|
8
|
+
import { a as _t$1, g as gt$1, h as ht$1, _, y, x as x$1, f as ft$1, b, $ as $t$1, Y, T, q } from "./RZSVICHU-Chf4nk49.js";
|
|
9
|
+
import "./index-Bcx2JMPS.js";
|
|
10
10
|
function At(s) {
|
|
11
11
|
return s === "markdown" || s === "string" || s === "text" ? s : "markdown";
|
|
12
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { L, i, H, x as x$1 } from "./lazy-
|
|
1
|
+
import { L, i, H, x as x$1 } from "./lazy-DVRRTm-q.js";
|
|
2
2
|
import { f, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
3
|
-
import { y, x, m as mt, b, a as _t, $ as $t, f as ft, g as gt } from "./RZSVICHU-
|
|
4
|
-
import "./index-
|
|
3
|
+
import { y, x, m as mt, b, a as _t, $ as $t, f as ft, g as gt } from "./RZSVICHU-Chf4nk49.js";
|
|
4
|
+
import "./index-Bcx2JMPS.js";
|
|
5
5
|
var B = class {
|
|
6
6
|
type = "sankey";
|
|
7
7
|
nodes = [];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i } from "./PUZGS23X-
|
|
1
|
+
import { i } from "./PUZGS23X-DsbrgiWg.js";
|
|
2
2
|
import { f } from "./DKTLEL5E-Dj3316cp.js";
|
|
3
|
-
import { x as x$1, D, G, $, v, w, V as V$1, W, O, P, j, Y as Y$1, z, U } from "./VMV7XPHP-
|
|
4
|
-
import { w as wn, D as Dn } from "./HWDLEDTA-
|
|
5
|
-
import { f as ft$1, x as x$3, _, y, a as _t$1, $ as $t$1, Y as Y$2, T, b, q } from "./RZSVICHU-
|
|
6
|
-
import { x as x$2, H } from "./lazy-
|
|
7
|
-
import "./index-
|
|
3
|
+
import { x as x$1, D, G, $, v, w, V as V$1, W, O, P, j, Y as Y$1, z, U } from "./VMV7XPHP-CKz3lx9e.js";
|
|
4
|
+
import { w as wn, D as Dn } from "./HWDLEDTA-dKG_tB6l.js";
|
|
5
|
+
import { f as ft$1, x as x$3, _, y, a as _t$1, $ as $t$1, Y as Y$2, T, b, q } from "./RZSVICHU-Chf4nk49.js";
|
|
6
|
+
import { x as x$2, H } from "./lazy-DVRRTm-q.js";
|
|
7
|
+
import "./index-Bcx2JMPS.js";
|
|
8
8
|
var ae = class {
|
|
9
9
|
nodes = /* @__PURE__ */ new Map();
|
|
10
10
|
labels;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
2
|
-
import { x, M, $, v, w as w$1, V, W, G, O, P, Y, z as z$1, U, D, H as H$1, j } from "./VMV7XPHP-
|
|
3
|
-
import { x as x$2, a as _t, y, f as ft, m as mt, $ as $t } from "./RZSVICHU-
|
|
4
|
-
import { x as x$1, H as H$2 } from "./lazy-
|
|
5
|
-
import "./index-
|
|
2
|
+
import { x, M, $, v, w as w$1, V, W, G, O, P, Y, z as z$1, U, D, H as H$1, j } from "./VMV7XPHP-CKz3lx9e.js";
|
|
3
|
+
import { x as x$2, a as _t, y, f as ft, m as mt, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
4
|
+
import { x as x$1, H as H$2 } from "./lazy-DVRRTm-q.js";
|
|
5
|
+
import "./index-Bcx2JMPS.js";
|
|
6
6
|
var Ie = 32;
|
|
7
7
|
function De(t) {
|
|
8
8
|
return new x$1(t, "semantic", { type: "radar" });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { i as i$1, a } from "./FTXIJQGB-BX14b7pN.js";
|
|
2
|
-
import { q, x, H, $, e, L as L$1, i as i$2 } from "./lazy-
|
|
2
|
+
import { q, x, H, $, e, L as L$1, i as i$2 } from "./lazy-DVRRTm-q.js";
|
|
3
3
|
import { h as h$1 } from "./7WLXJQOR-C8MM6Bra.js";
|
|
4
|
-
import { x as x$1, h } from "./ELSXBIJH-
|
|
5
|
-
import { b as be, d as de, m as me$1, p as pe$1 } from "./FKCDD66M-
|
|
6
|
-
import { A, M, L, O, N } from "./JZWSX6AR-
|
|
7
|
-
import { o, i, P, B, E } from "./URA2L2QI-
|
|
4
|
+
import { x as x$1, h } from "./ELSXBIJH-Bg-hsqjD.js";
|
|
5
|
+
import { b as be, d as de, m as me$1, p as pe$1 } from "./FKCDD66M-CenzCJNz.js";
|
|
6
|
+
import { A, M, L, O, N } from "./JZWSX6AR-DGqy6mhj.js";
|
|
7
|
+
import { o, i, P, B, E } from "./URA2L2QI-DkaJzKIj.js";
|
|
8
8
|
import { m, c } from "./DKTLEL5E-Dj3316cp.js";
|
|
9
|
-
import { F as Fn, w as wn, L as Ln, D as Dn, S as Sn$1 } from "./HWDLEDTA-
|
|
10
|
-
import { g as gt, a as _t, h as ht, y, _, x as x$2, f as ft, m as mt, b, $ as $t$1 } from "./RZSVICHU-
|
|
11
|
-
import "./index-
|
|
9
|
+
import { F as Fn, w as wn, L as Ln, D as Dn, S as Sn$1 } from "./HWDLEDTA-dKG_tB6l.js";
|
|
10
|
+
import { g as gt, a as _t, h as ht, y, _, x as x$2, f as ft, m as mt, b, $ as $t$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
11
|
+
import "./index-Bcx2JMPS.js";
|
|
12
12
|
var Vt = /* @__PURE__ */ new Map([["task", "roundedRect"], ["tool", "subroutine"], ["input", "lean-right"], ["decision", "diamond"], ["refdoc", "lin-doc"], ["action", "hexagon"], ["round", "rect"]]), Bt = /* @__PURE__ */ new Set(["doc", "stadium", "terminal", "circle", "trapezoid", "inv_trapezoid", "inv-trapezoid", "doublecircle", "double-circle", "typeDeclaration", "procs", "lean_left", "lean-left", "in-out", "cylinder", "ellipse", "odd", "tag-rect", "tagged-rectangle", "delay", "half-rounded-rectangle", "lin-rect", "lined-rectangle", "win-pane", "window-pane", "curv-trap", "curved-trapezoid"]), Yt = /* @__PURE__ */ new Set(["roundedRect", "subroutine", "subprocess", "subproc", "framed-rectangle", "lean-right", "diamond", "lin-doc", "lined-document", "hexagon", "hex", "connector", "collapsedGroup"]), ge = "roundedRect";
|
|
13
13
|
function pe(n) {
|
|
14
14
|
return n && (Vt.get(n) ?? n);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g, s as s$1, a, A } from "./WEVWDWVA-
|
|
2
|
-
import { s, T } from "./UEXXS2NB-
|
|
3
|
-
import { x, H, i, e, L } from "./lazy-
|
|
1
|
+
import { g, s as s$1, a, A } from "./WEVWDWVA-DXDXU985.js";
|
|
2
|
+
import { s, T } from "./UEXXS2NB-Bm2T4HQE.js";
|
|
3
|
+
import { x, H, i, e, L } from "./lazy-DVRRTm-q.js";
|
|
4
4
|
import { c } from "./DKTLEL5E-Dj3316cp.js";
|
|
5
|
-
import { D as Dn, a as St } from "./HWDLEDTA-
|
|
6
|
-
import { x as x$1, f as ft, $ as $t, y, m as mt, _ } from "./RZSVICHU-
|
|
7
|
-
import "./index-
|
|
5
|
+
import { D as Dn, a as St } from "./HWDLEDTA-dKG_tB6l.js";
|
|
6
|
+
import { x as x$1, f as ft, $ as $t, y, m as mt, _ } from "./RZSVICHU-Chf4nk49.js";
|
|
7
|
+
import "./index-Bcx2JMPS.js";
|
|
8
8
|
var Q = class {
|
|
9
9
|
type = "timeline";
|
|
10
10
|
title;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i } from "./PUZGS23X-
|
|
2
|
-
import { k, A, H as H$2 } from "./KQOEJWJY-
|
|
1
|
+
import { i } from "./PUZGS23X-DsbrgiWg.js";
|
|
2
|
+
import { k, A, H as H$2 } from "./KQOEJWJY-RpP1RapT.js";
|
|
3
3
|
import { c } from "./DKTLEL5E-Dj3316cp.js";
|
|
4
|
-
import { U, z, Y, x as x$1, D, $, v, G, O, P, H } from "./VMV7XPHP-
|
|
5
|
-
import { w as wn, D as Dn } from "./HWDLEDTA-
|
|
6
|
-
import { a as _t, _ as _$1, y, x as x$2, f as ft$1, m as mt$1, $ as $t, b, p as pt } from "./RZSVICHU-
|
|
7
|
-
import { C, x, H as H$1, $ as $$1 } from "./lazy-
|
|
8
|
-
import "./index-
|
|
4
|
+
import { U, z, Y, x as x$1, D, $, v, G, O, P, H } from "./VMV7XPHP-CKz3lx9e.js";
|
|
5
|
+
import { w as wn, D as Dn } from "./HWDLEDTA-dKG_tB6l.js";
|
|
6
|
+
import { a as _t, _ as _$1, y, x as x$2, f as ft$1, m as mt$1, $ as $t, b, p as pt } from "./RZSVICHU-Chf4nk49.js";
|
|
7
|
+
import { C, x, H as H$1, $ as $$1 } from "./lazy-DVRRTm-q.js";
|
|
8
|
+
import "./index-Bcx2JMPS.js";
|
|
9
9
|
var nt = /* @__PURE__ */ new Map([["ui", "ui"], ["pcr", "processor"], ["processor", "processor"], ["rmo", "readmodel"], ["readmodel", "readmodel"], ["cmd", "command"], ["command", "command"], ["evt", "event"], ["event", "event"]]), it = /* @__PURE__ */ new Map([["trigger", [0, "UI/Automation", "UI/A: "]], ["state", [100, "Command/Read Model", "C/RM: "]], ["stream", [200, "Events", "Stream: "]]]);
|
|
10
10
|
function at(n) {
|
|
11
11
|
return n === "ui" || n === "processor" ? "trigger" : n === "event" ? "stream" : "state";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s } from "./5THPTBWS-2mBFupjU.js";
|
|
2
2
|
import { l, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
3
|
-
import { x as x$1, D, M, $ as $$1, v, U, z, Y } from "./VMV7XPHP-
|
|
4
|
-
import { a as _t, g as gt, m as mt, y, _, x, b, h as ht, f as ft, $ as $t } from "./RZSVICHU-
|
|
5
|
-
import { H as H$1, $ } from "./lazy-
|
|
6
|
-
import "./index-
|
|
3
|
+
import { x as x$1, D, M, $ as $$1, v, U, z, Y } from "./VMV7XPHP-CKz3lx9e.js";
|
|
4
|
+
import { a as _t, g as gt, m as mt, y, _, x, b, h as ht, f as ft, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
5
|
+
import { H as H$1, $ } from "./lazy-DVRRTm-q.js";
|
|
6
|
+
import "./index-Bcx2JMPS.js";
|
|
7
7
|
function De(s2) {
|
|
8
8
|
let t = [], n = [];
|
|
9
9
|
for (let o of s2) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { G as Gn, y as yt } from "./NV4XNBIS-
|
|
2
|
-
import { g as gn$1, E as En, o as on, s as sn } from "./HWDLEDTA-
|
|
3
|
-
import { f as ft, x } from "./RZSVICHU-
|
|
1
|
+
import { G as Gn, y as yt } from "./NV4XNBIS-BCaP1w8q.js";
|
|
2
|
+
import { g as gn$1, E as En, o as on, s as sn } from "./HWDLEDTA-dKG_tB6l.js";
|
|
3
|
+
import { f as ft, x } from "./RZSVICHU-Chf4nk49.js";
|
|
4
4
|
import "./FTXIJQGB-BX14b7pN.js";
|
|
5
|
-
import "./lazy-
|
|
6
|
-
import "./index-
|
|
5
|
+
import "./lazy-DVRRTm-q.js";
|
|
6
|
+
import "./index-Bcx2JMPS.js";
|
|
7
7
|
import "./7WLXJQOR-C8MM6Bra.js";
|
|
8
|
-
import "./ELSXBIJH-
|
|
9
|
-
import "./FKCDD66M-
|
|
10
|
-
import "./JZWSX6AR-
|
|
11
|
-
import "./URA2L2QI-
|
|
8
|
+
import "./ELSXBIJH-Bg-hsqjD.js";
|
|
9
|
+
import "./FKCDD66M-CenzCJNz.js";
|
|
10
|
+
import "./JZWSX6AR-DGqy6mhj.js";
|
|
11
|
+
import "./URA2L2QI-DkaJzKIj.js";
|
|
12
12
|
import "./DKTLEL5E-Dj3316cp.js";
|
|
13
13
|
var Fn = 34, Rn = 24, Un = 8, Nn = 2e4, mn = 1e4, zt = 2e6, dn = 4, Cn = 3, pn = 8, Vt = 20, yn = 20, wn = 14, Tn = 3;
|
|
14
14
|
function gn(a, w, x2, W, X = Rn) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b } from "./RZSVICHU-
|
|
2
|
-
import { $ } from "./lazy-
|
|
1
|
+
import { b } from "./RZSVICHU-Chf4nk49.js";
|
|
2
|
+
import { $ } from "./lazy-DVRRTm-q.js";
|
|
3
3
|
var s = "about:blank", _ = /^([^\w]*)(javascript|data|vbscript)/im, m = /&#(\w+)(^\w|;)?/g, p = /&(newline|tab);/gi, d = /[\u0000-\u001F\u007F-\u009F -]/gim, C = /^.+(:|:)/gim, g = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;
|
|
4
4
|
function E(e) {
|
|
5
5
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { W, Y, X } from "./N6DAJLIZ-
|
|
2
|
-
import { P, V, E } from "./URA2L2QI-
|
|
1
|
+
import { W, Y, X } from "./N6DAJLIZ-Jz5IcMsB.js";
|
|
2
|
+
import { P, V, E } from "./URA2L2QI-DkaJzKIj.js";
|
|
3
3
|
import { c, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
4
|
-
import { a as _t, m as mt$1, x as x$1, h as ht$1, y, f as ft, $ as $t } from "./RZSVICHU-
|
|
5
|
-
import { x, H, W as W$1 } from "./lazy-
|
|
6
|
-
import "./index-
|
|
4
|
+
import { a as _t, m as mt$1, x as x$1, h as ht$1, y, f as ft, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
5
|
+
import { x, H, W as W$1 } from "./lazy-DVRRTm-q.js";
|
|
6
|
+
import "./index-Bcx2JMPS.js";
|
|
7
7
|
var Bt = 11, nt = class {
|
|
8
8
|
type = "mindmap";
|
|
9
9
|
title;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { H, x as x$1, L, i, e, t, a as x$2 } from "./lazy-
|
|
2
|
-
import { a as _t, m as mt$1, y, x, f as ft, $ as $t, g as gt$1 } from "./RZSVICHU-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { H, x as x$1, L, i, e, t, a as x$2 } from "./lazy-DVRRTm-q.js";
|
|
2
|
+
import { a as _t, m as mt$1, y, x, f as ft, $ as $t, g as gt$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
3
|
+
import "./index-Bcx2JMPS.js";
|
|
4
4
|
function $(c) {
|
|
5
5
|
let e2 = c.trim();
|
|
6
6
|
return e2.length >= 2 && e2.startsWith('"') && e2.endsWith('"') ? e2.slice(1, -1) : e2;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { q, x, L, e, i, t, H as H$1 } from "./lazy-
|
|
2
|
-
import { k } from "./KQOEJWJY-
|
|
1
|
+
import { q, x, L, e, i, t, H as H$1 } from "./lazy-DVRRTm-q.js";
|
|
2
|
+
import { k } from "./KQOEJWJY-RpP1RapT.js";
|
|
3
3
|
import { p, h } from "./DKTLEL5E-Dj3316cp.js";
|
|
4
|
-
import { a as St$1, D as Dn$1 } from "./HWDLEDTA-
|
|
5
|
-
import { x as x$1, g as gt, _, y, f as ft, $ as $t, a as _t, h as ht, b } from "./RZSVICHU-
|
|
6
|
-
import "./index-
|
|
4
|
+
import { a as St$1, D as Dn$1 } from "./HWDLEDTA-dKG_tB6l.js";
|
|
5
|
+
import { x as x$1, g as gt, _, y, f as ft, $ as $t, a as _t, h as ht, b } from "./RZSVICHU-Chf4nk49.js";
|
|
6
|
+
import "./index-Bcx2JMPS.js";
|
|
7
7
|
var fn = "aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow grey honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple rebeccapurple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray slategrey snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen transparent currentcolor inherit initial unset revert accentcolor accentcolortext activetext buttonborder buttonface buttontext canvas canvastext field fieldtext graytext highlight highlighttext linktext mark marktext selecteditem selecteditemtext visitedtext activeborder activecaption appworkspace background buttonhighlight buttonshadow captiontext inactiveborder inactivecaption inactivecaptiontext infobackground infotext menu menutext scrollbar threeddarkshadow threedface threedhighlight threedlightshadow threedshadow window windowframe windowtext", Vt, pn = /^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?(%|deg|grad|rad|turn)?$/i;
|
|
8
8
|
function Kt(r) {
|
|
9
9
|
if (r.toLowerCase() === "none") return 4;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { g, s, A } from "./WEVWDWVA-
|
|
2
|
-
import { s as s$1, T } from "./UEXXS2NB-
|
|
3
|
-
import { i, e, L as L$1, H } from "./lazy-
|
|
1
|
+
import { g, s, A } from "./WEVWDWVA-DXDXU985.js";
|
|
2
|
+
import { s as s$1, T } from "./UEXXS2NB-Bm2T4HQE.js";
|
|
3
|
+
import { i, e, L as L$1, H } from "./lazy-DVRRTm-q.js";
|
|
4
4
|
import { c } from "./DKTLEL5E-Dj3316cp.js";
|
|
5
|
-
import { x, m as mt$1, y, _, f as ft, $ as $t } from "./RZSVICHU-
|
|
6
|
-
import "./index-
|
|
5
|
+
import { x, m as mt$1, y, _, f as ft, $ as $t } from "./RZSVICHU-Chf4nk49.js";
|
|
6
|
+
import "./index-Bcx2JMPS.js";
|
|
7
7
|
function ot(e2) {
|
|
8
8
|
let n = /* @__PURE__ */ new Set();
|
|
9
9
|
for (let r of e2) for (let c2 of r.people) n.add(c2);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i, L } from "./lazy-
|
|
2
|
-
import { y as y$1, x as x$1 } from "./RZSVICHU-
|
|
1
|
+
import { i, L } from "./lazy-DVRRTm-q.js";
|
|
2
|
+
import { y as y$1, x as x$1 } from "./RZSVICHU-Chf4nk49.js";
|
|
3
3
|
var x = ["1", "INVALID", "SPACELINE", "NL", "EOF", "", "SPACELIST", "ICON", "CLASS", "NODE_DSTART", "NODE_ID", "NODE_DESCR", "NODE_DEND", "SHAPE_DATA"];
|
|
4
4
|
function P(E, D) {
|
|
5
5
|
return E === 5 ? D ? "KANBAN" : "MINDMAP" : x[E];
|