@aiquants/markdown 11.0.0 → 11.1.0
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/README.md +73 -2
- package/dist/{abnfDiagram-VRR7QNED-CxQnFjoJ.js → abnfDiagram-VRR7QNED-C4Jxgx13.js} +3 -3
- package/dist/{abnfDiagram-VRR7QNED-npWEsqYc.cjs → abnfDiagram-VRR7QNED-WjiOMH07.cjs} +1 -1
- package/dist/{arc-CUfL06Yf.cjs → arc-BASi8Hqx.cjs} +1 -1
- package/dist/{arc-8h1FB6uq.js → arc-C7CH7xqM.js} +20 -20
- package/dist/{architectureDiagram-ZJ3FMSHR-B3AN9LVb.js → architectureDiagram-ZJ3FMSHR-ClwidIel.js} +2 -2
- package/dist/{architectureDiagram-ZJ3FMSHR-B20pDRbn.cjs → architectureDiagram-ZJ3FMSHR-QlFmKjZ2.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-BpyvdB6a.cjs → blockDiagram-677ZJIJ3-B5QDrNQV.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-Cyl2Lsxi.js → blockDiagram-677ZJIJ3-BUrX_zhT.js} +3 -3
- package/dist/{c4Diagram-LMCZKHZV-B1v06ANz.js → c4Diagram-LMCZKHZV-B2hi-Wi5.js} +2 -2
- package/dist/{c4Diagram-LMCZKHZV-C9aMoZww.cjs → c4Diagram-LMCZKHZV-DYZO523e.cjs} +1 -1
- package/dist/{channel-BFKA8ne6.cjs → channel-Cg3Vm619.cjs} +1 -1
- package/dist/{channel-DHWInoX5.js → channel-Cr1ANV4j.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-Hkei_N8G.js → chunk-2Q5K7J3B-Bxo9slkI.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-CKQJDnvh.cjs → chunk-2Q5K7J3B-ZmtWeAKF.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-BegSeeKc.cjs → chunk-32BRIVSS-8tw0VC1F.cjs} +1 -1
- package/dist/{chunk-32BRIVSS-BVjoQVFd.js → chunk-32BRIVSS-YISd1c8J.js} +1 -1
- package/dist/{chunk-5VM5RSS4-Bwvu3ZQn.js → chunk-5VM5RSS4-CqNTCifm.js} +1 -1
- package/dist/{chunk-5VM5RSS4-BQ9OvvVm.cjs → chunk-5VM5RSS4-g88YAKYU.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-Bj_q1v7R.cjs → chunk-EX3LRPZG-DP6g1uoN.cjs} +1 -1
- package/dist/{chunk-EX3LRPZG-Bz5BV4Fn.js → chunk-EX3LRPZG-WwLq86XG.js} +4 -4
- package/dist/{chunk-JWPE2WC7-CZGO5NQs.cjs → chunk-JWPE2WC7-Bqw3GN0H.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-C01naS5D.js → chunk-JWPE2WC7-COh8RdRz.js} +1 -1
- package/dist/{chunk-MOJQB5TN-DFFX8TKc.cjs → chunk-MOJQB5TN-BVAWgplu.cjs} +1 -1
- package/dist/{chunk-MOJQB5TN-C3Hq75Zv.js → chunk-MOJQB5TN-C1dao40o.js} +10 -10
- package/dist/{chunk-PUDLZKDR-2MWL0ZoW.cjs → chunk-PUDLZKDR-CC_D9ix1.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-Sz0OB5IT.js → chunk-PUDLZKDR-Cmc1XT5M.js} +6 -6
- package/dist/{chunk-RYQCIY6F-CSDblZx6.cjs → chunk-RYQCIY6F-C19BL3Ws.cjs} +1 -1
- package/dist/{chunk-RYQCIY6F-CBI5EYhC.js → chunk-RYQCIY6F-CjUwK4va.js} +12 -12
- package/dist/{chunk-V7JOEXUC-Br5K_lDL.js → chunk-V7JOEXUC-CypP8KXk.js} +15 -15
- package/dist/{chunk-V7JOEXUC-D3Y19ZhK.cjs → chunk-V7JOEXUC-iaB-PSjI.cjs} +1 -1
- package/dist/{chunk-VR4S4FIN-CQXol07w.js → chunk-VR4S4FIN-CC2Up04Z.js} +3 -3
- package/dist/{chunk-VR4S4FIN-DjxDq6sN.cjs → chunk-VR4S4FIN-CVdDLZPH.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY--FT3CTeH.js → chunk-XXDRQBXY-D7hud77X.js} +1 -1
- package/dist/{chunk-XXDRQBXY-DwP8HH5V.cjs → chunk-XXDRQBXY-V6DQOxAN.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-WUNGB5FC.cjs → classDiagram-OUVF2IWQ-BFfnrPra.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-HKTI1J11.js → classDiagram-OUVF2IWQ-CgyfPPk6.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-WUNGB5FC.cjs → classDiagram-v2-EOCWNBFH-BFfnrPra.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-HKTI1J11.js → classDiagram-v2-EOCWNBFH-CgyfPPk6.js} +2 -2
- package/dist/components/BlockBoundary.d.ts +19 -0
- package/dist/components/MarkdownRenderer.d.ts +6 -1
- package/dist/components/MarkdownViewer.d.ts +3 -1
- package/dist/components/SvgImageBlock.d.ts +25 -0
- package/dist/components/blockFailureLabels.d.ts +2 -0
- package/dist/components/mdastNodes/CodeNode.d.ts +1 -0
- package/dist/components/rawHtml.d.ts +1 -0
- package/dist/components/svgImageLabels.d.ts +16 -0
- package/dist/components/viewerLabels.d.ts +7 -1
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-X2Leg8js.cjs → cose-bilkent-JH36ORCC-BQZprRVI.cjs} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-BYqXiffa.js → cose-bilkent-JH36ORCC-DmxSHNLU.js} +5 -5
- package/dist/{cynefinDiagram-TSTJHNR4-DYAvR3E8.cjs → cynefinDiagram-TSTJHNR4-KM35ULZr.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-YATbGDfo.js → cynefinDiagram-TSTJHNR4-ku5HNgfN.js} +47 -47
- package/dist/{dagre-VKFMJZFB-Co2RmhO1.js → dagre-VKFMJZFB-57k1u_99.js} +20 -20
- package/dist/{dagre-VKFMJZFB-yjrP1oXL.cjs → dagre-VKFMJZFB-BmFsAJzi.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-DfigqQP9.js → diagram-FQU43EPY-0ev8XAoD.js} +2 -2
- package/dist/{diagram-FQU43EPY-DVts5oXk.cjs → diagram-FQU43EPY-Bn7xPHj7.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-Cave3JO_.cjs → diagram-G47NLZAW-CjGc3D2u.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-k5OpX3J4.js → diagram-G47NLZAW-RPdbjZwZ.js} +38 -38
- package/dist/{diagram-NH7WQ7WH-DDA_wiMC.js → diagram-NH7WQ7WH-CnZ4iL7c.js} +20 -20
- package/dist/{diagram-NH7WQ7WH-ByEOvB5o.cjs → diagram-NH7WQ7WH-lHSM_pTi.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-C85REJhK.cjs → diagram-OA4YK3LP-BcKaPsNW.cjs} +1 -1
- package/dist/{diagram-OA4YK3LP-DR63MTHd.js → diagram-OA4YK3LP-RtsRdjQV.js} +58 -58
- package/dist/{diagram-WEI45ONY-9_82j2nL.cjs → diagram-WEI45ONY-Cm0jKyLw.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-DKy9LVdb.js → diagram-WEI45ONY-eVEUMERO.js} +10 -10
- package/dist/{ebnfDiagram-CCIWWBDH-Cn6FnIur.js → ebnfDiagram-CCIWWBDH-BlAQU47p.js} +5 -5
- package/dist/{ebnfDiagram-CCIWWBDH-CYd0AUSE.cjs → ebnfDiagram-CCIWWBDH-CcHTkkm8.cjs} +1 -1
- package/dist/{erDiagram-Q63AITRT-BF_5IEpU.js → erDiagram-Q63AITRT-Cz_PKpWU.js} +9 -9
- package/dist/{erDiagram-Q63AITRT-CMIoja24.cjs → erDiagram-Q63AITRT-Dv27IAYm.cjs} +1 -1
- package/dist/{extractHeadings-sSLGzcdt.cjs → extractHeadings-BMNm4Zss.cjs} +82 -82
- package/dist/{extractHeadings-DZi9v6vp.js → extractHeadings-OhPxZ04C.js} +6611 -6424
- package/dist/flowDiagram-23GEKE2U-BoCXOrea.js +7 -0
- package/dist/flowDiagram-23GEKE2U-Dsludo9a.cjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-Drcm5yEd.cjs → ganttDiagram-NO4QXBWP-CbbUbAi1.cjs} +1 -1
- package/dist/{ganttDiagram-NO4QXBWP-DEnf80Mq.js → ganttDiagram-NO4QXBWP-DtwVRaBN.js} +2 -2
- package/dist/{gitGraphDiagram-IHSO6WYX-GII6PPu9.cjs → gitGraphDiagram-IHSO6WYX-BHOaT-JP.cjs} +1 -1
- package/dist/{gitGraphDiagram-IHSO6WYX-eyfAn5cz.js → gitGraphDiagram-IHSO6WYX-BiUZZefR.js} +10 -10
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.d.ts +3 -1
- package/dist/index.client.js +32 -31
- package/dist/index.js +32 -31
- package/dist/{infoDiagram-FWYZ7A6U-DPC7xHqx.js → infoDiagram-FWYZ7A6U-DI2c0joH.js} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-C2FBPXIG.cjs → infoDiagram-FWYZ7A6U-DsF_dahQ.cjs} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-DqNbTlei.js → ishikawaDiagram-FXEZZL3T-0U9dSh7F.js} +25 -25
- package/dist/{ishikawaDiagram-FXEZZL3T-CJVI_dU0.cjs → ishikawaDiagram-FXEZZL3T-CaDgpvd5.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-DiVOEWa6.cjs → journeyDiagram-5HDEW3XC-5qIvxqpC.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-DuKx5oFy.js → journeyDiagram-5HDEW3XC-Y9ABNCEY.js} +4 -4
- package/dist/{kanban-definition-HUTT4EX6-BklyDLxL.cjs → kanban-definition-HUTT4EX6-DDy8tXpk.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-DezliCFs.js → kanban-definition-HUTT4EX6-DTsrmMh8.js} +52 -52
- package/dist/{linear-CdYfVjua.js → linear-B7M8-_qH.js} +5 -5
- package/dist/{linear-w1JR48Qh.cjs → linear-CYNosLx1.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-BlvTH7wL.cjs → mindmap-definition-LN4V7U3C-AQHTbAWm.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-7q4b7Jdd.js → mindmap-definition-LN4V7U3C-CNXzfo0L.js} +16 -16
- package/dist/{pegDiagram-2B236MQR-BPY_9I4m.js → pegDiagram-2B236MQR-CNgWrgv-.js} +3 -3
- package/dist/{pegDiagram-2B236MQR-DirAhjr9.cjs → pegDiagram-2B236MQR-D0SEAIrf.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-CLMNCcZD.cjs → pieDiagram-ENE6RG2P-BlmNu0Kw.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-L4j2AB7Y.js → pieDiagram-ENE6RG2P-DzbrqPW4.js} +51 -51
- package/dist/{quadrantDiagram-ABIIQ3AL-lyExQfuw.cjs → quadrantDiagram-ABIIQ3AL-BXPkUo_7.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-B9uzT4Zl.js → quadrantDiagram-ABIIQ3AL-_XC0L6LA.js} +43 -43
- package/dist/{railroadDiagram-RFXS5EU6-BgW-4T7B.js → railroadDiagram-RFXS5EU6-CfXmkCxt.js} +7 -7
- package/dist/{railroadDiagram-RFXS5EU6-u2Ztkufm.cjs → railroadDiagram-RFXS5EU6-EyrFshDZ.cjs} +1 -1
- package/dist/{requirementDiagram-TGXJPOKE-BnyCTa79.js → requirementDiagram-TGXJPOKE-DKjGDx3E.js} +18 -18
- package/dist/{requirementDiagram-TGXJPOKE-Cm9r8e07.cjs → requirementDiagram-TGXJPOKE-KjSczfMx.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-KJ5WdXGw.cjs → sankeyDiagram-HTMAVEWB-6JC0mA8g.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-Cv3KCrBX.js → sankeyDiagram-HTMAVEWB-R3EgjVk3.js} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-CUa9htwo.js → sequenceDiagram-DBY2YBRQ-BeK8wcJ4.js} +3 -3
- package/dist/{sequenceDiagram-DBY2YBRQ-DYXMeMoq.cjs → sequenceDiagram-DBY2YBRQ-jllfFbkK.cjs} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-D0cfhTVe.js → sizeCapture-X5ZJPWSS-C9QakD3W.js} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-C4RUlRk2.cjs → sizeCapture-X5ZJPWSS-QkZ2crvh.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-C4DOBTHC.cjs → stateDiagram-2N3HPSRC-CoHLlhZX.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-CUQCdjYa.js → stateDiagram-2N3HPSRC-DXh1e2K8.js} +10 -10
- package/dist/{stateDiagram-v2-6OUMAXLB-BK27mYqW.cjs → stateDiagram-v2-6OUMAXLB-B0KQB01K.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-C1Fb_pKt.js → stateDiagram-v2-6OUMAXLB-D6Dlbs-H.js} +2 -2
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/markdown.standalone.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-DUPAete1.js → swimlanes-5IMT3BWC-BaTEG5rQ.js} +313 -313
- package/dist/{swimlanes-5IMT3BWC-DZLnPVID.cjs → swimlanes-5IMT3BWC-D-D1lzxE.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-BrpRN3Vb.js → swimlanesDiagram-G3AALYLV-C6p-5K6G.js} +2 -2
- package/dist/{swimlanesDiagram-G3AALYLV-CMa-ZboO.cjs → swimlanesDiagram-G3AALYLV-DSssDQXF.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-DC2SJZSb.js → timeline-definition-FHXFAJF6-Bq5nzkkn.js} +108 -108
- package/dist/{timeline-definition-FHXFAJF6-wvuHQLus.cjs → timeline-definition-FHXFAJF6-DtewJvNV.cjs} +1 -1
- package/dist/{vennDiagram-L72KCM5P-HK22xYss.js → vennDiagram-L72KCM5P-5QsbfRVK.js} +101 -101
- package/dist/{vennDiagram-L72KCM5P-DbIG-wm1.cjs → vennDiagram-L72KCM5P-g-vN7N0T.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-BN2PkxRg.cjs → wardleyDiagram-EHGQE667-B78Ehxdt.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-JHC6pqAp.js → wardleyDiagram-EHGQE667-Dk_QVzpo.js} +85 -85
- package/dist/{xychartDiagram-FW5EYKEG-DNLQTD-2.js → xychartDiagram-FW5EYKEG-CwpcSS8_.js} +40 -40
- package/dist/{xychartDiagram-FW5EYKEG-CMRlyJDS.cjs → xychartDiagram-FW5EYKEG-DwiqWfUA.cjs} +1 -1
- package/package.json +11 -11
- package/dist/flowDiagram-23GEKE2U-BCDxgNfH.js +0 -7
- package/dist/flowDiagram-23GEKE2U-DDbv1eCW.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as st } from "./chunk-5VM5RSS4-
|
|
2
|
-
import { g as it } from "./chunk-XXDRQBXY
|
|
3
|
-
import { s as at } from "./chunk-VR4S4FIN-
|
|
4
|
-
import { _ as f,
|
|
5
|
-
import { c as gt } from "./chunk-32BRIVSS-
|
|
1
|
+
import { g as st } from "./chunk-5VM5RSS4-CqNTCifm.js";
|
|
2
|
+
import { g as it } from "./chunk-XXDRQBXY-D7hud77X.js";
|
|
3
|
+
import { s as at } from "./chunk-VR4S4FIN-CC2Up04Z.js";
|
|
4
|
+
import { _ as f, U as we, Q as F, a5 as nt, a6 as rt, a7 as Ve, R as Ae, O as ut, K as lt, G as ct, J as ot, a8 as ht, a9 as dt, a1 as I, ae as pt, ad as At, Y as ft, av as U } from "./extractHeadings-OhPxZ04C.js";
|
|
5
|
+
import { c as gt } from "./chunk-32BRIVSS-YISd1c8J.js";
|
|
6
6
|
import mt from "dompurify";
|
|
7
7
|
var Pe = (function() {
|
|
8
8
|
var s = /* @__PURE__ */ f(function(O, o, h, p) {
|
|
9
9
|
for (h = h || {}, p = O.length; p--; h[O[p]] = o) ;
|
|
10
10
|
return h;
|
|
11
|
-
}, "o"), i = [1, 18], a = [1, 19], n = [1, 20], r = [1, 41], c = [1, 26], u = [1, 42], d = [1, 24], m = [1, 25], g = [1, 32], N = [1, 33], ge = [1, 34], b = [1, 45], me = [1, 35], Ce = [1, 36], be = [1, 37], ke = [1, 38], Ee = [1, 27], Te = [1, 28], ye = [1, 29], De = [1, 30], Fe = [1, 31], k = [1, 44], E = [1, 46], T = [1, 43], y = [1, 47], Be = [1, 9], A = [1, 8, 9], ee = [1, 58], te = [1, 59], se = [1, 60], ie = [1, 61], ae = [1, 62], _e = [1, 63], Se = [1, 64], _ = [1, 8, 9, 41], Me = [1, 77], R = [1, 8, 9, 12, 13, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], ne = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 46, 47, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], re = [13, 60, 86, 100, 102, 103],
|
|
11
|
+
}, "o"), i = [1, 18], a = [1, 19], n = [1, 20], r = [1, 41], c = [1, 26], u = [1, 42], d = [1, 24], m = [1, 25], g = [1, 32], N = [1, 33], ge = [1, 34], b = [1, 45], me = [1, 35], Ce = [1, 36], be = [1, 37], ke = [1, 38], Ee = [1, 27], Te = [1, 28], ye = [1, 29], De = [1, 30], Fe = [1, 31], k = [1, 44], E = [1, 46], T = [1, 43], y = [1, 47], Be = [1, 9], A = [1, 8, 9], ee = [1, 58], te = [1, 59], se = [1, 60], ie = [1, 61], ae = [1, 62], _e = [1, 63], Se = [1, 64], _ = [1, 8, 9, 41], Me = [1, 77], R = [1, 8, 9, 12, 13, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], ne = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 46, 47, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], re = [13, 60, 86, 100, 102, 103], Y = [13, 60, 73, 74, 86, 100, 102, 103], Re = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], ue = [1, 103], K = [1, 121], Q = [1, 117], W = [1, 113], j = [1, 119], X = [1, 114], q = [1, 115], H = [1, 116], J = [1, 118], Z = [1, 120], Ge = [22, 50, 60, 61, 82, 86, 87, 88, 89, 90], Ue = [1, 128], le = [12, 39], Ne = [1, 8, 9, 39, 41, 44, 46], ce = [1, 8, 9, 22], ze = [1, 153], Ye = [1, 8, 9, 61], x = [1, 8, 9, 22, 50, 60, 61, 82, 86, 87, 88, 89, 90], Le = {
|
|
12
12
|
trace: /* @__PURE__ */ f(function() {
|
|
13
13
|
}, "trace"),
|
|
14
14
|
yy: {},
|
|
@@ -256,7 +256,7 @@ var Pe = (function() {
|
|
|
256
256
|
break;
|
|
257
257
|
}
|
|
258
258
|
}, "anonymous"),
|
|
259
|
-
table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: n, 38: 22, 42: r, 43: 23, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, s(Be, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, s(A, [2, 19], { 22: [1, 50] }), s(A, [2, 21]), s(A, [2, 22]), s(A, [2, 23]), s(A, [2, 24]), s(A, [2, 25]), s(A, [2, 26]), s(A, [2, 27]), s(A, [2, 28]), s(A, [2, 29]), s(A, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, s(A, [2, 33]), s(A, [2, 63], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: _e, 74: Se }), { 39: [1, 65] }, s(_, [2, 47], { 39: [1, 67], 44: [1, 66], 46: [1, 68] }), s(A, [2, 65]), s(A, [2, 66]), { 16: 69, 60: b, 86: k, 100: E, 102: T }, { 16: 39, 17: 40, 19: 70, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 71, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 72, 60: b, 86: k, 100: E, 102: T, 103: y }, { 60: [1, 73] }, { 13: [1, 74] }, { 16: 39, 17: 40, 19: 75, 60: b, 86: k, 100: E, 102: T, 103: y }, { 13: Me, 55: 76 }, { 58: 78, 60: [1, 79] }, s(A, [2, 76]), s(A, [2, 77]), s(A, [2, 78]), s(A, [2, 79]), s(R, [2, 13], { 16: 39, 17: 40, 19: 81, 18: [1, 80], 20: [1, 82], 60: b, 86: k, 100: E, 102: T, 103: y }), s(R, [2, 15], { 20: [1, 83] }), { 15: 84, 16: 85, 17: 86, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 87, 60: b, 86: k, 100: E, 102: T, 103: y }, s(ne, [2, 133]), s(ne, [2, 134]), s(ne, [2, 135]), s(ne, [2, 136]), s([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 137]), s(Be, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 88, 33: i, 35: a, 37: n, 42: r, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }), { 5: 89, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: n, 38: 22, 42: r, 43: 23, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }, s(A, [2, 20]), s(A, [2, 31]), s(A, [2, 32]), { 13: [1, 91], 16: 39, 17: 40, 19: 90, 60: b, 86: k, 100: E, 102: T, 103: y }, { 53: 92, 66: 56, 67: 57, 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: _e, 74: Se }, s(A, [2, 64]), { 67: 93, 73: _e, 74: Se }, s(re, [2, 83], { 66: 94, 68: ee, 69: te, 70: se, 71: ie, 72: ae }), s(
|
|
259
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: n, 38: 22, 42: r, 43: 23, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, s(Be, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, s(A, [2, 19], { 22: [1, 50] }), s(A, [2, 21]), s(A, [2, 22]), s(A, [2, 23]), s(A, [2, 24]), s(A, [2, 25]), s(A, [2, 26]), s(A, [2, 27]), s(A, [2, 28]), s(A, [2, 29]), s(A, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, s(A, [2, 33]), s(A, [2, 63], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: _e, 74: Se }), { 39: [1, 65] }, s(_, [2, 47], { 39: [1, 67], 44: [1, 66], 46: [1, 68] }), s(A, [2, 65]), s(A, [2, 66]), { 16: 69, 60: b, 86: k, 100: E, 102: T }, { 16: 39, 17: 40, 19: 70, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 71, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 72, 60: b, 86: k, 100: E, 102: T, 103: y }, { 60: [1, 73] }, { 13: [1, 74] }, { 16: 39, 17: 40, 19: 75, 60: b, 86: k, 100: E, 102: T, 103: y }, { 13: Me, 55: 76 }, { 58: 78, 60: [1, 79] }, s(A, [2, 76]), s(A, [2, 77]), s(A, [2, 78]), s(A, [2, 79]), s(R, [2, 13], { 16: 39, 17: 40, 19: 81, 18: [1, 80], 20: [1, 82], 60: b, 86: k, 100: E, 102: T, 103: y }), s(R, [2, 15], { 20: [1, 83] }), { 15: 84, 16: 85, 17: 86, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 87, 60: b, 86: k, 100: E, 102: T, 103: y }, s(ne, [2, 133]), s(ne, [2, 134]), s(ne, [2, 135]), s(ne, [2, 136]), s([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 137]), s(Be, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 88, 33: i, 35: a, 37: n, 42: r, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }), { 5: 89, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: n, 38: 22, 42: r, 43: 23, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }, s(A, [2, 20]), s(A, [2, 31]), s(A, [2, 32]), { 13: [1, 91], 16: 39, 17: 40, 19: 90, 60: b, 86: k, 100: E, 102: T, 103: y }, { 53: 92, 66: 56, 67: 57, 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: _e, 74: Se }, s(A, [2, 64]), { 67: 93, 73: _e, 74: Se }, s(re, [2, 83], { 66: 94, 68: ee, 69: te, 70: se, 71: ie, 72: ae }), s(Y, [2, 84]), s(Y, [2, 85]), s(Y, [2, 86]), s(Y, [2, 87]), s(Y, [2, 88]), s(Re, [2, 89]), s(Re, [2, 90]), { 8: [1, 96], 23: 99, 24: 97, 30: 98, 38: 22, 40: 95, 42: r, 43: 23, 48: u, 54: g, 56: N }, { 16: 100, 60: b, 86: k, 100: E, 102: T }, { 41: [1, 102], 45: 101, 51: ue }, { 16: 104, 60: b, 86: k, 100: E, 102: T }, { 47: [1, 105] }, { 13: [1, 106] }, { 13: [1, 107] }, { 79: [1, 108], 81: [1, 109] }, { 22: K, 50: Q, 59: 110, 60: W, 82: j, 84: 111, 85: 112, 86: X, 87: q, 88: H, 89: J, 90: Z }, { 60: [1, 122] }, { 13: Me, 55: 123 }, s(_, [2, 72]), s(_, [2, 138]), { 22: K, 50: Q, 59: 124, 60: W, 61: [1, 125], 82: j, 84: 111, 85: 112, 86: X, 87: q, 88: H, 89: J, 90: Z }, s(Ge, [2, 74]), { 16: 39, 17: 40, 19: 126, 60: b, 86: k, 100: E, 102: T, 103: y }, s(R, [2, 16]), s(R, [2, 17]), s(R, [2, 18]), { 11: 127, 12: Ue, 39: [2, 36] }, s(le, [2, 9], { 16: 85, 17: 86, 15: 130, 18: [1, 129], 60: b, 86: k, 100: E, 102: T, 103: y }), s(le, [2, 10]), s(Ne, [2, 55], { 11: 131, 12: Ue }), s(Be, [2, 7]), { 9: [1, 132] }, s(ce, [2, 67]), { 16: 39, 17: 40, 19: 133, 60: b, 86: k, 100: E, 102: T, 103: y }, { 13: [1, 135], 16: 39, 17: 40, 19: 134, 60: b, 86: k, 100: E, 102: T, 103: y }, s(re, [2, 82], { 66: 136, 68: ee, 69: te, 70: se, 71: ie, 72: ae }), s(re, [2, 81]), { 41: [1, 137] }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 138, 42: r, 43: 23, 48: u, 54: g, 56: N }, { 8: [1, 139], 41: [2, 38] }, { 8: [1, 140], 41: [2, 41] }, { 8: [1, 141], 41: [2, 44] }, s(_, [2, 48], { 39: [1, 142] }), { 41: [1, 143] }, s(_, [2, 50]), { 41: [2, 61], 45: 144, 51: ue }, { 47: [1, 145] }, { 16: 39, 17: 40, 19: 146, 60: b, 86: k, 100: E, 102: T, 103: y }, s(A, [2, 91], { 13: [1, 147] }), s(A, [2, 93], { 13: [1, 149], 77: [1, 148] }), s(A, [2, 97], { 13: [1, 150], 80: [1, 151] }), { 13: [1, 152] }, s(A, [2, 105], { 61: ze }), s(Ye, [2, 107], { 85: 154, 22: K, 50: Q, 60: W, 82: j, 86: X, 87: q, 88: H, 89: J, 90: Z }), s(x, [2, 109]), s(x, [2, 111]), s(x, [2, 112]), s(x, [2, 113]), s(x, [2, 114]), s(x, [2, 115]), s(x, [2, 116]), s(x, [2, 117]), s(x, [2, 118]), s(x, [2, 119]), s(A, [2, 106]), s(_, [2, 71]), s(A, [2, 73], { 61: ze }), { 60: [1, 155] }, s(R, [2, 14]), { 39: [2, 37] }, { 13: [1, 156] }, { 15: 157, 16: 85, 17: 86, 60: b, 86: k, 100: E, 102: T, 103: y }, s(le, [2, 12]), s(Ne, [2, 56]), { 1: [2, 4] }, s(ce, [2, 69]), s(ce, [2, 68]), { 16: 39, 17: 40, 19: 158, 60: b, 86: k, 100: E, 102: T, 103: y }, s(re, [2, 80]), s(_, [2, 34]), { 41: [1, 159] }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 160, 41: [2, 39], 42: r, 43: 23, 48: u, 54: g, 56: N }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 161, 41: [2, 42], 42: r, 43: 23, 48: u, 54: g, 56: N }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 162, 41: [2, 45], 42: r, 43: 23, 48: u, 54: g, 56: N }, { 45: 163, 51: ue }, s(_, [2, 49]), { 41: [2, 62] }, s(_, [2, 52], { 39: [1, 164] }), s(A, [2, 60]), s(A, [2, 92]), s(A, [2, 94]), s(A, [2, 95], { 77: [1, 165] }), s(A, [2, 98]), s(A, [2, 99], { 13: [1, 166] }), s(A, [2, 101], { 13: [1, 168], 77: [1, 167] }), { 22: K, 50: Q, 60: W, 82: j, 84: 169, 85: 112, 86: X, 87: q, 88: H, 89: J, 90: Z }, s(x, [2, 110]), s(Ge, [2, 75]), { 14: [1, 170] }, s(le, [2, 11]), s(ce, [2, 70]), s(_, [2, 35]), { 41: [2, 40] }, { 41: [2, 43] }, { 41: [2, 46] }, { 41: [1, 171] }, { 41: [1, 173], 45: 172, 51: ue }, s(A, [2, 96]), s(A, [2, 100]), s(A, [2, 102]), s(A, [2, 103], { 77: [1, 174] }), s(Ye, [2, 108], { 85: 154, 22: K, 50: Q, 60: W, 82: j, 86: X, 87: q, 88: H, 89: J, 90: Z }), s(Ne, [2, 8]), s(_, [2, 51]), { 41: [1, 175] }, s(_, [2, 54]), s(A, [2, 104]), s(_, [2, 53])],
|
|
260
260
|
defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 127: [2, 37], 132: [2, 4], 144: [2, 62], 160: [2, 40], 161: [2, 43], 162: [2, 46] },
|
|
261
261
|
parseError: /* @__PURE__ */ f(function(o, h) {
|
|
262
262
|
if (h.recoverable)
|
|
@@ -267,7 +267,7 @@ var Pe = (function() {
|
|
|
267
267
|
}
|
|
268
268
|
}, "parseError"),
|
|
269
269
|
parse: /* @__PURE__ */ f(function(o) {
|
|
270
|
-
var h = this, p = [0], l = [], C = [null], e = [], $ = this.table, t = "", he = 0,
|
|
270
|
+
var h = this, p = [0], l = [], C = [null], e = [], $ = this.table, t = "", he = 0, Ke = 0, Ze = 2, Qe = 1, $e = e.slice.call(arguments, 1), D = Object.create(this.lexer), V = { yy: {} };
|
|
271
271
|
for (var xe in this.yy)
|
|
272
272
|
Object.prototype.hasOwnProperty.call(this.yy, xe) && (V.yy[xe] = this.yy[xe]);
|
|
273
273
|
D.setInput(o, V.yy), V.yy.lexer = D, V.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
|
|
@@ -284,7 +284,7 @@ var Pe = (function() {
|
|
|
284
284
|
return S = l.pop() || D.lex() || Qe, typeof S != "number" && (S instanceof Array && (l = S, S = l.pop()), S = h.symbols_[S] || S), S;
|
|
285
285
|
}
|
|
286
286
|
f(We, "lex");
|
|
287
|
-
for (var B, P, L, Ie, G = {}, de, v,
|
|
287
|
+
for (var B, P, L, Ie, G = {}, de, v, je, pe; ; ) {
|
|
288
288
|
if (P = p[p.length - 1], this.defaultActions[P] ? L = this.defaultActions[P] : ((B === null || typeof B > "u") && (B = We()), L = $[P] && $[P][B]), typeof L > "u" || !L.length || !L[0]) {
|
|
289
289
|
var Oe = "";
|
|
290
290
|
pe = [];
|
|
@@ -304,7 +304,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Oe =
|
|
|
304
304
|
throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + B);
|
|
305
305
|
switch (L[0]) {
|
|
306
306
|
case 1:
|
|
307
|
-
p.push(B), C.push(D.yytext), e.push(D.yylloc), p.push(L[1]), B = null,
|
|
307
|
+
p.push(B), C.push(D.yytext), e.push(D.yylloc), p.push(L[1]), B = null, Ke = D.yyleng, t = D.yytext, he = D.yylineno, ve = D.yylloc;
|
|
308
308
|
break;
|
|
309
309
|
case 2:
|
|
310
310
|
if (v = this.productions_[L[1]][1], G.$ = C[C.length - v], G._$ = {
|
|
@@ -317,7 +317,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Oe =
|
|
|
317
317
|
e[e.length - 1].range[1]
|
|
318
318
|
]), Ie = this.performAction.apply(G, [
|
|
319
319
|
t,
|
|
320
|
-
|
|
320
|
+
Ke,
|
|
321
321
|
he,
|
|
322
322
|
V.yy,
|
|
323
323
|
L[1],
|
|
@@ -325,7 +325,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Oe =
|
|
|
325
325
|
e
|
|
326
326
|
].concat($e)), typeof Ie < "u")
|
|
327
327
|
return Ie;
|
|
328
|
-
v && (p = p.slice(0, -1 * v * 2), C = C.slice(0, -1 * v), e = e.slice(0, -1 * v)), p.push(this.productions_[L[1]][0]), C.push(G.$), e.push(G._$),
|
|
328
|
+
v && (p = p.slice(0, -1 * v * 2), C = C.slice(0, -1 * v), e = e.slice(0, -1 * v)), p.push(this.productions_[L[1]][0]), C.push(G.$), e.push(G._$), je = $[p[p.length - 2]][p[p.length - 1]], p.push(je);
|
|
329
329
|
break;
|
|
330
330
|
case 3:
|
|
331
331
|
return !0;
|
|
@@ -730,7 +730,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Oe =
|
|
|
730
730
|
return f(oe, "Parser"), oe.prototype = Le, Le.Parser = oe, new oe();
|
|
731
731
|
})();
|
|
732
732
|
Pe.parser = Pe;
|
|
733
|
-
var St = Pe,
|
|
733
|
+
var St = Pe, Xe = ["#", "+", "~", "-", ""], z, qe = (z = class {
|
|
734
734
|
constructor(i, a) {
|
|
735
735
|
this.memberType = a, this.visibility = "", this.classifier = "", this.text = "";
|
|
736
736
|
const n = ft(i, F());
|
|
@@ -751,14 +751,14 @@ var St = Pe, je = ["#", "+", "~", "-", ""], z, qe = (z = class {
|
|
|
751
751
|
const c = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(i);
|
|
752
752
|
if (c) {
|
|
753
753
|
const u = c[1] ? c[1].trim() : "";
|
|
754
|
-
if (
|
|
754
|
+
if (Xe.includes(u) && (this.visibility = u), this.id = c[2], this.parameters = c[3] ? c[3].trim() : "", a = c[4] ? c[4].trim() : "", this.returnType = c[5] ? c[5].trim() : "", a === "") {
|
|
755
755
|
const d = this.returnType.substring(this.returnType.length - 1);
|
|
756
756
|
/[$*]/.exec(d) && (a = d, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
} else {
|
|
760
760
|
const r = i.length, c = i.substring(0, 1), u = i.substring(r - 1);
|
|
761
|
-
|
|
761
|
+
Xe.includes(c) && (this.visibility = c), /[$*]/.exec(u) && (a = u), this.id = i.substring(
|
|
762
762
|
this.visibility === "" ? 0 : 1,
|
|
763
763
|
a === "" ? r : r - 1
|
|
764
764
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const He=require("./chunk-5VM5RSS4-BQ9OvvVm.cjs"),Je=require("./chunk-XXDRQBXY-DwP8HH5V.cjs"),Ze=require("./chunk-VR4S4FIN-DjxDq6sN.cjs"),r=require("./extractHeadings-sSLGzcdt.cjs"),$e=require("./chunk-32BRIVSS-BegSeeKc.cjs"),et=require("dompurify");var xe=(function(){var s=r.__name(function(v,h,d,f){for(d=d||{},f=v.length;f--;d[v[f]]=h);return d},"o"),i=[1,18],a=[1,19],n=[1,20],u=[1,41],o=[1,26],l=[1,42],p=[1,24],g=[1,25],m=[1,32],S=[1,33],de=[1,34],b=[1,45],pe=[1,35],fe=[1,36],Ae=[1,37],me=[1,38],ge=[1,27],Ce=[1,28],be=[1,29],ke=[1,30],Ee=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Te=[1,9],A=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],ye=[1,63],_e=[1,64],F=[1,8,9,41],ve=[1,77],P=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],Ie=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,103],U=[1,121],z=[1,117],Y=[1,113],K=[1,119],Q=[1,114],W=[1,115],q=[1,116],X=[1,118],j=[1,120],Oe=[22,50,60,61,82,86,87,88,89,90],we=[1,128],ne=[12,39],De=[1,8,9,39,41,44,46],re=[1,8,9,22],Ve=[1,153],Pe=[1,8,9,61],L=[1,8,9,22,50,60,61,82,86,87,88,89,90],Fe={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(h,d,f,c,C,e,H){var t=e.length-1;switch(C){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:c.addRelation(e[t]);break;case 20:e[t-1].title=c.cleanupLabel(e[t]),c.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(e[t]);break;case 37:this.$=c.addNamespace(e[t-1],e[t]);break;case 38:this.$=[[e[t]],[]];break;case 39:this.$=[[e[t-1]],[]];break;case 40:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 41:this.$=[[],[e[t]]];break;case 42:this.$=[[],[e[t-1]]];break;case 43:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[t];break;case 48:c.setCssClass(e[t-2],e[t]);break;case 49:c.addMembers(e[t-3],e[t-1]);break;case 51:c.setCssClass(e[t-5],e[t-3]),c.addMembers(e[t-5],e[t-1]);break;case 52:c.addAnnotation(e[t-3],e[t-1]);break;case 53:c.addAnnotation(e[t-6],e[t-4]),c.addMembers(e[t-6],e[t-1]);break;case 54:c.addAnnotation(e[t-5],e[t-3]);break;case 55:this.$=e[t],c.addClass(e[t]);break;case 56:this.$=e[t-1],c.addClass(e[t-1]),c.setClassLabel(e[t-1],e[t]);break;case 60:c.addAnnotation(e[t],e[t-2]);break;case 61:case 74:this.$=[e[t]];break;case 62:e[t].push(e[t-1]),this.$=e[t];break;case 63:break;case 64:c.addMember(e[t-1],c.cleanupLabel(e[t]));break;case 65:break;case 66:break;case 67:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 69:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 70:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 71:this.$=c.addNote(e[t],e[t-1]);break;case 72:this.$=c.addNote(e[t]);break;case 73:this.$=e[t-2],c.defineClass(e[t-1],e[t]);break;case 75:this.$=e[t-2].concat([e[t]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 81:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 82:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[t-2],c.setClickEvent(e[t-1],e[t]);break;case 92:case 98:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 93:this.$=e[t-2],c.setLink(e[t-1],e[t]);break;case 94:this.$=e[t-3],c.setLink(e[t-2],e[t-1],e[t]);break;case 95:this.$=e[t-3],c.setLink(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 96:this.$=e[t-4],c.setLink(e[t-3],e[t-2],e[t]),c.setTooltip(e[t-3],e[t-1]);break;case 99:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1],e[t]);break;case 100:this.$=e[t-4],c.setClickEvent(e[t-3],e[t-2],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 101:this.$=e[t-3],c.setLink(e[t-2],e[t]);break;case 102:this.$=e[t-4],c.setLink(e[t-3],e[t-1],e[t]);break;case 103:this.$=e[t-4],c.setLink(e[t-3],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 104:this.$=e[t-5],c.setLink(e[t-4],e[t-2],e[t]),c.setTooltip(e[t-4],e[t-1]);break;case 105:this.$=e[t-2],c.setCssStyle(e[t-1],e[t]);break;case 106:c.setCssClass(e[t-1],e[t]);break;case 107:this.$=[e[t]];break;case 108:e[t-2].push(e[t]),this.$=e[t-2];break;case 110:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Te,[2,5],{8:[1,48]}),{8:[1,49]},s(A,[2,19],{22:[1,50]}),s(A,[2,21]),s(A,[2,22]),s(A,[2,23]),s(A,[2,24]),s(A,[2,25]),s(A,[2,26]),s(A,[2,27]),s(A,[2,28]),s(A,[2,29]),s(A,[2,30]),{34:[1,51]},{36:[1,52]},s(A,[2,33]),s(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e}),{39:[1,65]},s(F,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(A,[2,65]),s(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:ve,55:76},{58:78,60:[1,79]},s(A,[2,76]),s(A,[2,77]),s(A,[2,78]),s(A,[2,79]),s(P,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),s(P,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},s(se,[2,133]),s(se,[2,134]),s(se,[2,135]),s(se,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Te,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:n,42:u,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},s(A,[2,20]),s(A,[2,31]),s(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e},s(A,[2,64]),{67:93,73:ye,74:_e},s(ie,[2,83],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,84]),s(G,[2,85]),s(G,[2,86]),s(G,[2,87]),s(G,[2,88]),s(Ie,[2,89]),s(Ie,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:u,43:23,48:l,54:m,56:S},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ae},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:U,50:z,59:110,60:Y,82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},{60:[1,122]},{13:ve,55:123},s(F,[2,72]),s(F,[2,138]),{22:U,50:z,59:124,60:Y,61:[1,125],82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},s(Oe,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},s(P,[2,16]),s(P,[2,17]),s(P,[2,18]),{11:127,12:we,39:[2,36]},s(ne,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),s(ne,[2,10]),s(De,[2,55],{11:131,12:we}),s(Te,[2,7]),{9:[1,132]},s(re,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},s(ie,[2,82],{66:136,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:u,43:23,48:l,54:m,56:S},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(F,[2,48],{39:[1,142]}),{41:[1,143]},s(F,[2,50]),{41:[2,61],45:144,51:ae},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},s(A,[2,91],{13:[1,147]}),s(A,[2,93],{13:[1,149],77:[1,148]}),s(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(A,[2,105],{61:Ve}),s(Pe,[2,107],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(L,[2,109]),s(L,[2,111]),s(L,[2,112]),s(L,[2,113]),s(L,[2,114]),s(L,[2,115]),s(L,[2,116]),s(L,[2,117]),s(L,[2,118]),s(L,[2,119]),s(A,[2,106]),s(F,[2,71]),s(A,[2,73],{61:Ve}),{60:[1,155]},s(P,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},s(ne,[2,12]),s(De,[2,56]),{1:[2,4]},s(re,[2,69]),s(re,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},s(ie,[2,80]),s(F,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:u,43:23,48:l,54:m,56:S},{45:163,51:ae},s(F,[2,49]),{41:[2,62]},s(F,[2,52],{39:[1,164]}),s(A,[2,60]),s(A,[2,92]),s(A,[2,94]),s(A,[2,95],{77:[1,165]}),s(A,[2,98]),s(A,[2,99],{13:[1,166]}),s(A,[2,101],{13:[1,168],77:[1,167]}),{22:U,50:z,60:Y,82:K,84:169,85:112,86:Q,87:W,88:q,89:X,90:j},s(L,[2,110]),s(Oe,[2,75]),{14:[1,170]},s(ne,[2,11]),s(re,[2,70]),s(F,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ae},s(A,[2,96]),s(A,[2,100]),s(A,[2,102]),s(A,[2,103],{77:[1,174]}),s(Pe,[2,108],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(De,[2,8]),s(F,[2,51]),{41:[1,175]},s(F,[2,54]),s(A,[2,104]),s(F,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:r.__name(function(h,d){if(d.recoverable)this.trace(h);else{var f=new Error(h);throw f.hash=d,f}},"parseError"),parse:r.__name(function(h){var d=this,f=[0],c=[],C=[null],e=[],H=this.table,t="",le=0,Me=0,We=2,Re=1,qe=e.slice.call(arguments,1),_=Object.create(this.lexer),O={yy:{}};for(var Be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Be)&&(O.yy[Be]=this.yy[Be]);_.setInput(h,O.yy),O.yy.lexer=_,O.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Se=_.yylloc;e.push(Se);var Xe=_.options&&_.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(B){f.length=f.length-2*B,C.length=C.length-B,e.length=e.length-B}r.__name(je,"popStack");function Ge(){var B;return B=c.pop()||_.lex()||Re,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=d.symbols_[B]||B),B}r.__name(Ge,"lex");for(var D,w,N,Ne,M={},ce,x,Ue,oe;;){if(w=f[f.length-1],this.defaultActions[w]?N=this.defaultActions[w]:((D===null||typeof D>"u")&&(D=Ge()),N=H[w]&&H[w][D]),typeof N>"u"||!N.length||!N[0]){var Le="";oe=[];for(ce in H[w])this.terminals_[ce]&&ce>We&&oe.push("'"+this.terminals_[ce]+"'");_.showPosition?Le="Parse error on line "+(le+1)+`:
|
|
1
|
+
"use strict";const He=require("./chunk-5VM5RSS4-g88YAKYU.cjs"),Je=require("./chunk-XXDRQBXY-V6DQOxAN.cjs"),Ze=require("./chunk-VR4S4FIN-CVdDLZPH.cjs"),r=require("./extractHeadings-BMNm4Zss.cjs"),$e=require("./chunk-32BRIVSS-8tw0VC1F.cjs"),et=require("dompurify");var xe=(function(){var s=r.__name(function(v,h,d,f){for(d=d||{},f=v.length;f--;d[v[f]]=h);return d},"o"),i=[1,18],a=[1,19],n=[1,20],u=[1,41],o=[1,26],l=[1,42],p=[1,24],g=[1,25],m=[1,32],S=[1,33],de=[1,34],b=[1,45],pe=[1,35],fe=[1,36],Ae=[1,37],me=[1,38],ge=[1,27],Ce=[1,28],be=[1,29],ke=[1,30],Ee=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Te=[1,9],A=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],ye=[1,63],_e=[1,64],F=[1,8,9,41],ve=[1,77],P=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],Ie=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,103],U=[1,121],z=[1,117],Y=[1,113],K=[1,119],Q=[1,114],W=[1,115],q=[1,116],X=[1,118],j=[1,120],Oe=[22,50,60,61,82,86,87,88,89,90],we=[1,128],ne=[12,39],De=[1,8,9,39,41,44,46],re=[1,8,9,22],Ve=[1,153],Pe=[1,8,9,61],L=[1,8,9,22,50,60,61,82,86,87,88,89,90],Fe={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(h,d,f,c,C,e,H){var t=e.length-1;switch(C){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:c.addRelation(e[t]);break;case 20:e[t-1].title=c.cleanupLabel(e[t]),c.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(e[t]);break;case 37:this.$=c.addNamespace(e[t-1],e[t]);break;case 38:this.$=[[e[t]],[]];break;case 39:this.$=[[e[t-1]],[]];break;case 40:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 41:this.$=[[],[e[t]]];break;case 42:this.$=[[],[e[t-1]]];break;case 43:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[t];break;case 48:c.setCssClass(e[t-2],e[t]);break;case 49:c.addMembers(e[t-3],e[t-1]);break;case 51:c.setCssClass(e[t-5],e[t-3]),c.addMembers(e[t-5],e[t-1]);break;case 52:c.addAnnotation(e[t-3],e[t-1]);break;case 53:c.addAnnotation(e[t-6],e[t-4]),c.addMembers(e[t-6],e[t-1]);break;case 54:c.addAnnotation(e[t-5],e[t-3]);break;case 55:this.$=e[t],c.addClass(e[t]);break;case 56:this.$=e[t-1],c.addClass(e[t-1]),c.setClassLabel(e[t-1],e[t]);break;case 60:c.addAnnotation(e[t],e[t-2]);break;case 61:case 74:this.$=[e[t]];break;case 62:e[t].push(e[t-1]),this.$=e[t];break;case 63:break;case 64:c.addMember(e[t-1],c.cleanupLabel(e[t]));break;case 65:break;case 66:break;case 67:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 69:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 70:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 71:this.$=c.addNote(e[t],e[t-1]);break;case 72:this.$=c.addNote(e[t]);break;case 73:this.$=e[t-2],c.defineClass(e[t-1],e[t]);break;case 75:this.$=e[t-2].concat([e[t]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 81:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 82:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[t-2],c.setClickEvent(e[t-1],e[t]);break;case 92:case 98:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 93:this.$=e[t-2],c.setLink(e[t-1],e[t]);break;case 94:this.$=e[t-3],c.setLink(e[t-2],e[t-1],e[t]);break;case 95:this.$=e[t-3],c.setLink(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 96:this.$=e[t-4],c.setLink(e[t-3],e[t-2],e[t]),c.setTooltip(e[t-3],e[t-1]);break;case 99:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1],e[t]);break;case 100:this.$=e[t-4],c.setClickEvent(e[t-3],e[t-2],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 101:this.$=e[t-3],c.setLink(e[t-2],e[t]);break;case 102:this.$=e[t-4],c.setLink(e[t-3],e[t-1],e[t]);break;case 103:this.$=e[t-4],c.setLink(e[t-3],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 104:this.$=e[t-5],c.setLink(e[t-4],e[t-2],e[t]),c.setTooltip(e[t-4],e[t-1]);break;case 105:this.$=e[t-2],c.setCssStyle(e[t-1],e[t]);break;case 106:c.setCssClass(e[t-1],e[t]);break;case 107:this.$=[e[t]];break;case 108:e[t-2].push(e[t]),this.$=e[t-2];break;case 110:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Te,[2,5],{8:[1,48]}),{8:[1,49]},s(A,[2,19],{22:[1,50]}),s(A,[2,21]),s(A,[2,22]),s(A,[2,23]),s(A,[2,24]),s(A,[2,25]),s(A,[2,26]),s(A,[2,27]),s(A,[2,28]),s(A,[2,29]),s(A,[2,30]),{34:[1,51]},{36:[1,52]},s(A,[2,33]),s(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e}),{39:[1,65]},s(F,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(A,[2,65]),s(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:ve,55:76},{58:78,60:[1,79]},s(A,[2,76]),s(A,[2,77]),s(A,[2,78]),s(A,[2,79]),s(P,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),s(P,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},s(se,[2,133]),s(se,[2,134]),s(se,[2,135]),s(se,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Te,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:n,42:u,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},s(A,[2,20]),s(A,[2,31]),s(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e},s(A,[2,64]),{67:93,73:ye,74:_e},s(ie,[2,83],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,84]),s(G,[2,85]),s(G,[2,86]),s(G,[2,87]),s(G,[2,88]),s(Ie,[2,89]),s(Ie,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:u,43:23,48:l,54:m,56:S},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ae},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:U,50:z,59:110,60:Y,82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},{60:[1,122]},{13:ve,55:123},s(F,[2,72]),s(F,[2,138]),{22:U,50:z,59:124,60:Y,61:[1,125],82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},s(Oe,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},s(P,[2,16]),s(P,[2,17]),s(P,[2,18]),{11:127,12:we,39:[2,36]},s(ne,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),s(ne,[2,10]),s(De,[2,55],{11:131,12:we}),s(Te,[2,7]),{9:[1,132]},s(re,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},s(ie,[2,82],{66:136,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:u,43:23,48:l,54:m,56:S},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(F,[2,48],{39:[1,142]}),{41:[1,143]},s(F,[2,50]),{41:[2,61],45:144,51:ae},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},s(A,[2,91],{13:[1,147]}),s(A,[2,93],{13:[1,149],77:[1,148]}),s(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(A,[2,105],{61:Ve}),s(Pe,[2,107],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(L,[2,109]),s(L,[2,111]),s(L,[2,112]),s(L,[2,113]),s(L,[2,114]),s(L,[2,115]),s(L,[2,116]),s(L,[2,117]),s(L,[2,118]),s(L,[2,119]),s(A,[2,106]),s(F,[2,71]),s(A,[2,73],{61:Ve}),{60:[1,155]},s(P,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},s(ne,[2,12]),s(De,[2,56]),{1:[2,4]},s(re,[2,69]),s(re,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},s(ie,[2,80]),s(F,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:u,43:23,48:l,54:m,56:S},{45:163,51:ae},s(F,[2,49]),{41:[2,62]},s(F,[2,52],{39:[1,164]}),s(A,[2,60]),s(A,[2,92]),s(A,[2,94]),s(A,[2,95],{77:[1,165]}),s(A,[2,98]),s(A,[2,99],{13:[1,166]}),s(A,[2,101],{13:[1,168],77:[1,167]}),{22:U,50:z,60:Y,82:K,84:169,85:112,86:Q,87:W,88:q,89:X,90:j},s(L,[2,110]),s(Oe,[2,75]),{14:[1,170]},s(ne,[2,11]),s(re,[2,70]),s(F,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ae},s(A,[2,96]),s(A,[2,100]),s(A,[2,102]),s(A,[2,103],{77:[1,174]}),s(Pe,[2,108],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(De,[2,8]),s(F,[2,51]),{41:[1,175]},s(F,[2,54]),s(A,[2,104]),s(F,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:r.__name(function(h,d){if(d.recoverable)this.trace(h);else{var f=new Error(h);throw f.hash=d,f}},"parseError"),parse:r.__name(function(h){var d=this,f=[0],c=[],C=[null],e=[],H=this.table,t="",le=0,Me=0,We=2,Re=1,qe=e.slice.call(arguments,1),_=Object.create(this.lexer),O={yy:{}};for(var Be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Be)&&(O.yy[Be]=this.yy[Be]);_.setInput(h,O.yy),O.yy.lexer=_,O.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Se=_.yylloc;e.push(Se);var Xe=_.options&&_.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(B){f.length=f.length-2*B,C.length=C.length-B,e.length=e.length-B}r.__name(je,"popStack");function Ge(){var B;return B=c.pop()||_.lex()||Re,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=d.symbols_[B]||B),B}r.__name(Ge,"lex");for(var D,w,N,Ne,M={},ce,x,Ue,oe;;){if(w=f[f.length-1],this.defaultActions[w]?N=this.defaultActions[w]:((D===null||typeof D>"u")&&(D=Ge()),N=H[w]&&H[w][D]),typeof N>"u"||!N.length||!N[0]){var Le="";oe=[];for(ce in H[w])this.terminals_[ce]&&ce>We&&oe.push("'"+this.terminals_[ce]+"'");_.showPosition?Le="Parse error on line "+(le+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+oe.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Le="Parse error on line "+(le+1)+": Unexpected "+(D==Re?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Le,{text:_.match,token:this.terminals_[D]||D,line:_.yylineno,loc:Se,expected:oe})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+D);switch(N[0]){case 1:f.push(D),C.push(_.yytext),e.push(_.yylloc),f.push(N[1]),D=null,Me=_.yyleng,t=_.yytext,le=_.yylineno,Se=_.yylloc;break;case 2:if(x=this.productions_[N[1]][1],M.$=C[C.length-x],M._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},Xe&&(M._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),Ne=this.performAction.apply(M,[t,Me,le,O.yy,N[1],C,e].concat(qe)),typeof Ne<"u")return Ne;x&&(f=f.slice(0,-1*x*2),C=C.slice(0,-1*x),e=e.slice(0,-1*x)),f.push(this.productions_[N[1]][0]),C.push(M.$),e.push(M._$),Ue=H[f[f.length-2]][f[f.length-1]],f.push(Ue);break;case 3:return!0}}return!0},"parse")},Qe=(function(){var v={EOF:1,parseError:r.__name(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:r.__name(function(h,d){return this.yy=d||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r.__name(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var d=h.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:r.__name(function(h){var d=h.length,f=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===c.length?this.yylloc.first_column:0)+c[c.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r.__name(function(h){this.unput(this.match.slice(h))},"less"),pastInput:r.__name(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var h=this.pastInput(),d=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a,
|
|
2
|
-
var
|
|
1
|
+
import { _ as a, V as w, U as x } from "./extractHeadings-OhPxZ04C.js";
|
|
2
|
+
var d = /* @__PURE__ */ a((e, t, i, r) => {
|
|
3
3
|
e.attr("class", i);
|
|
4
4
|
const { width: o, height: h, x: n, y: c } = u(e, t);
|
|
5
5
|
w(e, h, o, r);
|
|
@@ -15,5 +15,5 @@ var g = /* @__PURE__ */ a((e, t, i, r) => {
|
|
|
15
15
|
};
|
|
16
16
|
}, "calculateDimensionsWithPadding"), B = /* @__PURE__ */ a((e, t, i, r, o) => `${e - o} ${t - o} ${i} ${r}`, "createViewBox");
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
d as s
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./extractHeadings-
|
|
1
|
+
"use strict";const r=require("./extractHeadings-BMNm4Zss.cjs");var u=r.__name((e,t,i,n)=>{e.attr("class",i);const{width:o,height:a,x:h,y:s}=w(e,t);r.configureSvgSize(e,a,o,n);const c=x(h,s,o,a,t);e.attr("viewBox",c),r.log.debug(`viewBox configured: ${c} with padding: ${t}`)},"setupViewPortForSVG"),w=r.__name((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=r.__name((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");exports.setupViewPortForSVG=u;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a,
|
|
1
|
+
import { _ as a, R as o } from "./extractHeadings-OhPxZ04C.js";
|
|
2
2
|
var g = /* @__PURE__ */ a((t, e) => {
|
|
3
3
|
let n;
|
|
4
4
|
return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./extractHeadings-
|
|
1
|
+
"use strict";const e=require("./extractHeadings-BMNm4Zss.cjs");var s=e.__name((t,n)=>{let o;return n==="sandbox"&&(o=e.select("#i"+t)),(n==="sandbox"?e.select(o.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-iaB-PSjI.cjs"),a=require("./extractHeadings-BMNm4Zss.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-
|
|
2
|
-
import { _ as l } from "./extractHeadings-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-CypP8KXk.js";
|
|
2
|
+
import { _ as l } from "./extractHeadings-OhPxZ04C.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
package/dist/{classDiagram-v2-EOCWNBFH-WUNGB5FC.cjs → classDiagram-v2-EOCWNBFH-BFfnrPra.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-iaB-PSjI.cjs"),a=require("./extractHeadings-BMNm4Zss.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-
|
|
2
|
-
import { _ as l } from "./extractHeadings-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-CypP8KXk.js";
|
|
2
|
+
import { _ as l } from "./extractHeadings-OhPxZ04C.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component, ReactNode } from "react";
|
|
2
|
+
import { ResolvedLabel } from "./labels.ts";
|
|
3
|
+
export type BlockBoundaryProps = {
|
|
4
|
+
readonly content: string;
|
|
5
|
+
readonly label: ResolvedLabel;
|
|
6
|
+
readonly text: () => string;
|
|
7
|
+
readonly children: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
type BlockBoundaryState = {
|
|
10
|
+
readonly content: string;
|
|
11
|
+
readonly failed: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare class BlockBoundary extends Component<BlockBoundaryProps, BlockBoundaryState> {
|
|
14
|
+
constructor(props: BlockBoundaryProps);
|
|
15
|
+
static getDerivedStateFromProps(props: BlockBoundaryProps, state: BlockBoundaryState): BlockBoundaryState | null;
|
|
16
|
+
static getDerivedStateFromError(): Pick<BlockBoundaryState, "failed">;
|
|
17
|
+
render(): ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -6,7 +6,9 @@ import { MermaidInteractionMode } from "./MermaidDiagram.tsx";
|
|
|
6
6
|
import { MarkdownMathDiagnostic } from "./mathRendering.ts";
|
|
7
7
|
import { MermaidDiagramLabels } from "./mermaidLabels.ts";
|
|
8
8
|
import { SpreadsheetEditor } from "./SpreadsheetBlock.tsx";
|
|
9
|
+
import { MarkdownImageSourceReader } from "./SvgImageBlock.tsx";
|
|
9
10
|
import { SpreadsheetBlockLabels, SpreadsheetBlockLocale } from "./spreadsheetLabels.ts";
|
|
11
|
+
import { SvgImageLabels } from "./svgImageLabels.ts";
|
|
10
12
|
export type MarkdownLinkKind = "external" | "anchor" | "internal" | "doc";
|
|
11
13
|
export interface MarkdownLinkProps {
|
|
12
14
|
href: string;
|
|
@@ -31,7 +33,10 @@ type Props = {
|
|
|
31
33
|
spreadsheetLabels?: SpreadsheetBlockLabels;
|
|
32
34
|
linkComponent?: MarkdownLinkComponent;
|
|
33
35
|
missingImageLabel?: string;
|
|
36
|
+
blockFailedLabel?: string;
|
|
37
|
+
imageSource?: MarkdownImageSourceReader;
|
|
38
|
+
svgImageLabels?: SvgImageLabels;
|
|
34
39
|
onMathDiagnostics?: (diagnostics: readonly MarkdownMathDiagnostic[]) => void;
|
|
35
40
|
};
|
|
36
|
-
export declare const MarkdownRenderer: ({ htmlContent, theme, iFrameAllowedDomains, embeds, embedLabels, mermaidInteraction, mermaidLabels, spreadsheetEditor, spreadsheetLocale, spreadsheetLabels, linkComponent: LinkComponent, missingImageLabel, onMathDiagnostics, }: Props) => import("react").JSX.Element;
|
|
41
|
+
export declare const MarkdownRenderer: ({ htmlContent, theme, iFrameAllowedDomains, embeds, embedLabels, mermaidInteraction, mermaidLabels, spreadsheetEditor, spreadsheetLocale, spreadsheetLabels, linkComponent: LinkComponent, missingImageLabel, blockFailedLabel, imageSource, svgImageLabels, onMathDiagnostics, }: Props) => import("react").JSX.Element;
|
|
37
42
|
export {};
|
|
@@ -5,6 +5,7 @@ import { MarkdownScrollBarRenderer } from "./HostedScrollArea.tsx";
|
|
|
5
5
|
import { MarkdownLinkComponent } from "./MarkdownRenderer.tsx";
|
|
6
6
|
import { MarkdownMathDiagnostic } from "./mathRendering.ts";
|
|
7
7
|
import { SpreadsheetEditor } from "./SpreadsheetBlock.tsx";
|
|
8
|
+
import { MarkdownImageSourceReader } from "./SvgImageBlock.tsx";
|
|
8
9
|
import { SpreadsheetBlockLocale } from "./spreadsheetLabels.ts";
|
|
9
10
|
import { MarkdownViewerLabels } from "./viewerLabels.ts";
|
|
10
11
|
export interface MarkdownViewerHeading {
|
|
@@ -72,8 +73,9 @@ export interface MarkdownViewerProps {
|
|
|
72
73
|
onMathDiagnostics?: (diagnostics: readonly MarkdownMathDiagnostic[]) => void;
|
|
73
74
|
spreadsheetEditor?: SpreadsheetEditor;
|
|
74
75
|
spreadsheetLocale?: SpreadsheetBlockLocale;
|
|
76
|
+
imageSource?: MarkdownImageSourceReader;
|
|
75
77
|
emptyMessage?: string;
|
|
76
78
|
toolbar?: MarkdownToolbarState;
|
|
77
79
|
renderScrollBar?: MarkdownScrollBarRenderer;
|
|
78
80
|
}
|
|
79
|
-
export declare function MarkdownViewer({ parseResult, content, error, isLoading, labels, theme, style, onStyleChange, availableStyles, align, onAlignChange, showToc, showStyle, showAlign, width, maxWidth, padding, iFrameAllowedDomains, embeds, emptyMessage, toolbar: toolbarProp, linkComponent, onHeadingSelect, headingHref, onMathDiagnostics, spreadsheetEditor, spreadsheetLocale, renderScrollBar, }: MarkdownViewerProps): import("react").JSX.Element;
|
|
81
|
+
export declare function MarkdownViewer({ parseResult, content, error, isLoading, labels, theme, style, onStyleChange, availableStyles, align, onAlignChange, showToc, showStyle, showAlign, width, maxWidth, padding, iFrameAllowedDomains, embeds, emptyMessage, toolbar: toolbarProp, linkComponent, onHeadingSelect, headingHref, onMathDiagnostics, spreadsheetEditor, spreadsheetLocale, imageSource, renderScrollBar, }: MarkdownViewerProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from "react";
|
|
2
|
+
import { ResolvedLabel } from "./labels.ts";
|
|
3
|
+
import { SvgImageLabelKey } from "./svgImageLabels.ts";
|
|
4
|
+
export type MarkdownImageSourceAnswer = {
|
|
5
|
+
readonly kind: "text";
|
|
6
|
+
readonly text: string;
|
|
7
|
+
readonly truncated: boolean;
|
|
8
|
+
} | {
|
|
9
|
+
readonly kind: "failure";
|
|
10
|
+
readonly retryable: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type MarkdownImageSourceReader = {
|
|
13
|
+
readonly read: (path: string, signal: AbortSignal) => Promise<MarkdownImageSourceAnswer>;
|
|
14
|
+
};
|
|
15
|
+
export declare const isSvgAssetPath: (path: string) => boolean;
|
|
16
|
+
export declare const useStableImageSourceReader: (reader: MarkdownImageSourceReader | undefined) => MarkdownImageSourceReader | undefined;
|
|
17
|
+
export type SvgImageBlockProps = {
|
|
18
|
+
readonly paragraph: Readonly<Record<string, string>>;
|
|
19
|
+
readonly image: ReactNode;
|
|
20
|
+
readonly path: string;
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly reader: MarkdownImageSourceReader;
|
|
23
|
+
readonly labels: Readonly<Record<SvgImageLabelKey, ResolvedLabel>>;
|
|
24
|
+
};
|
|
25
|
+
export declare const SvgImageBlock: ({ paragraph, image, path, name, reader, labels }: SvgImageBlockProps) => ReactElement;
|
|
@@ -5,6 +5,7 @@ import { IFrameEmbed } from "./embeds.ts";
|
|
|
5
5
|
import { ResolvedLabel } from "./labels.ts";
|
|
6
6
|
import { MarkdownLinkComponent } from "./MarkdownRenderer.tsx";
|
|
7
7
|
export declare const renderEmbed: (embed: IFrameEmbed, pluginType: string | null, iFrameAllowedDomains: readonly string[], label: ResolvedLabel, insideAnchor: boolean) => ReactElement;
|
|
8
|
+
export declare const isInsideAnchor: (node: Element) => boolean;
|
|
8
9
|
export declare const renderAnchor: (domNode: Element, options: HTMLReactParserOptions, LinkComponent: MarkdownLinkComponent | undefined) => ReactElement;
|
|
9
10
|
export interface RawHtmlOptions {
|
|
10
11
|
readonly iFrameAllowedDomains: readonly string[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LabelDefaults } from "./labels.ts";
|
|
2
|
+
export interface SvgImageLabels {
|
|
3
|
+
toolbar?: string;
|
|
4
|
+
source?: string;
|
|
5
|
+
sourceRegion?: string;
|
|
6
|
+
loading?: string;
|
|
7
|
+
failed?: string;
|
|
8
|
+
retry?: string;
|
|
9
|
+
truncated?: string;
|
|
10
|
+
copy?: string;
|
|
11
|
+
copied?: string;
|
|
12
|
+
copyFailed?: string;
|
|
13
|
+
}
|
|
14
|
+
export type SvgImageLabelKey = keyof SvgImageLabels;
|
|
15
|
+
export declare const SVG_IMAGE_LABEL_DEFAULTS: LabelDefaults<SvgImageLabelKey>;
|
|
16
|
+
export declare const DEFAULT_SVG_IMAGE_LABELS: Readonly<Required<SvgImageLabels>>;
|
|
@@ -2,6 +2,7 @@ import { MarkdownEmbedLabels } from "./embeds/embedLabels.ts";
|
|
|
2
2
|
import { ResolvedLabel } from "./labels.ts";
|
|
3
3
|
import { MermaidDiagramLabelKey, MermaidDiagramLabels } from "./mermaidLabels.ts";
|
|
4
4
|
import { SpreadsheetBlockLabelKey, SpreadsheetBlockLabels } from "./spreadsheetLabels.ts";
|
|
5
|
+
import { SvgImageLabelKey, SvgImageLabels } from "./svgImageLabels.ts";
|
|
5
6
|
export type MermaidViewerLabels = {
|
|
6
7
|
[K in MermaidDiagramLabelKey as `mermaid${Capitalize<K>}`]?: string;
|
|
7
8
|
};
|
|
@@ -9,11 +10,15 @@ export type SpreadsheetViewerLabels = {
|
|
|
9
10
|
[K in SpreadsheetBlockLabelKey as `spreadsheet${Capitalize<K>}`]?: string;
|
|
10
11
|
};
|
|
11
12
|
type SpreadsheetViewerLabelKey = keyof SpreadsheetViewerLabels;
|
|
12
|
-
export
|
|
13
|
+
export type SvgImageViewerLabels = {
|
|
14
|
+
[K in SvgImageLabelKey as `svgImage${Capitalize<K>}`]?: string;
|
|
15
|
+
};
|
|
16
|
+
export interface MarkdownViewerLabels extends MermaidViewerLabels, SpreadsheetViewerLabels, SvgImageViewerLabels, MarkdownEmbedLabels {
|
|
13
17
|
loading?: string;
|
|
14
18
|
errorPrefix?: string;
|
|
15
19
|
defaultErrorTitle?: string;
|
|
16
20
|
missingImage?: string;
|
|
21
|
+
blockFailed?: string;
|
|
17
22
|
styleTitle?: string;
|
|
18
23
|
selectStyleAria?: string;
|
|
19
24
|
pinStyleAria?: string;
|
|
@@ -37,5 +42,6 @@ export type ResolvedViewerLabels = Readonly<Record<ViewerBuiltInLabelKey, Resolv
|
|
|
37
42
|
export declare const resolveViewerLabels: (labels: MarkdownViewerLabels | undefined) => ResolvedViewerLabels;
|
|
38
43
|
export declare const toMermaidDiagramLabels: (labels: MarkdownViewerLabels | undefined) => MermaidDiagramLabels;
|
|
39
44
|
export declare const toSpreadsheetBlockLabels: (labels: MarkdownViewerLabels | undefined) => SpreadsheetBlockLabels;
|
|
45
|
+
export declare const toSvgImageLabels: (labels: MarkdownViewerLabels | undefined) => SvgImageLabels;
|
|
40
46
|
export declare const toMarkdownEmbedLabels: (labels: MarkdownEmbedLabels | undefined) => MarkdownEmbedLabels;
|
|
41
47
|
export {};
|
package/dist/converter.wasm
CHANGED
|
Binary file
|