@pi-outpost/embed 0.38.0 → 0.40.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/dist/{abnfDiagram-YUKMZFIV-dNHR2FX4.js → abnfDiagram-WEYOIA3C-B2ss_Vsq.js} +4 -4
- package/dist/{abnfDiagram-YUKMZFIV-CgM8_qF6.cjs → abnfDiagram-WEYOIA3C-DMn87p58.cjs} +1 -1
- package/dist/{architectureDiagram-47P4ROYG-C_rUoWaO.js → architectureDiagram-ZHVYKT53-C5QppHvM.js} +5 -5
- package/dist/{architectureDiagram-47P4ROYG-bflaQP1L.cjs → architectureDiagram-ZHVYKT53-DBfdIpyr.cjs} +1 -1
- package/dist/{blockDiagram-E7TT5TSB-BKw9FE2U.cjs → blockDiagram-RJAE7QA3-CODM9GdZ.cjs} +1 -1
- package/dist/{blockDiagram-E7TT5TSB-CEa2A5E9.js → blockDiagram-RJAE7QA3-DOvlohR9.js} +10 -10
- package/dist/{c4Diagram-CRA5TL53-CtJh9DsO.js → c4Diagram-XDPPPE54-8dwnUpAO.js} +8 -8
- package/dist/{c4Diagram-CRA5TL53-C-PuMGA5.cjs → c4Diagram-XDPPPE54-eTVK3Kzy.cjs} +1 -1
- package/dist/{channel-DCXZw5aW.js → channel-B1lf-ehw.js} +1 -1
- package/dist/channel-BRczbI_M.cjs +1 -0
- package/dist/{chunk-AW2ZBBNX-CVsDDdv5.js → chunk-2E7WHVMD-Dg_Sckag.js} +3 -3
- package/dist/{chunk-AW2ZBBNX-C4uNh90t.cjs → chunk-2E7WHVMD-DkV-cet-.cjs} +1 -1
- package/dist/{chunk-HTAEGDNF-D4u24-lD.js → chunk-4EMNKR2T-C2XrT3x_.js} +2 -2
- package/dist/{chunk-HTAEGDNF-I4JlqwMr.cjs → chunk-4EMNKR2T-DfeN909d.cjs} +1 -1
- package/dist/{chunk-7TKQ45FW-CD1KuemG.js → chunk-55XCU76K-CADZXRVb.js} +2 -2
- package/dist/{chunk-7TKQ45FW-Djscho_M.cjs → chunk-55XCU76K-d9D4PS_7.cjs} +1 -1
- package/dist/{chunk-3YJQHVM4-ChvNe1M8.cjs → chunk-7S6XSTFO-DJ37SdG5.cjs} +1 -1
- package/dist/{chunk-3YJQHVM4-BNbfg-7y.js → chunk-7S6XSTFO-DV8etStf.js} +2 -2
- package/dist/{chunk-E2ZNV5FY-Bu796yUY.js → chunk-AQDTSKZB-CUCC855j.js} +4 -4
- package/dist/{chunk-E2ZNV5FY-DIRTchKA.cjs → chunk-AQDTSKZB-DElrkKED.cjs} +1 -1
- package/dist/{chunk-VPRB5NB3-DJh7spRO.js → chunk-DSNLSHJZ-Bicto10E.js} +2 -1
- package/dist/{chunk-VPRB5NB3-CT204jN6.cjs → chunk-DSNLSHJZ-DZO9xahH.cjs} +1 -1
- package/dist/{chunk-XC4XBNZT-CSiWBPH9.js → chunk-HAGFOTED-BjDmRfgG.js} +29 -29
- package/dist/chunk-HAGFOTED-Dykk1LyE.cjs +62 -0
- package/dist/{chunk-NTY3LDVX-CvRtOCpm.js → chunk-HNE4Q36P-5u7dvjgt.js} +7 -7
- package/dist/chunk-HNE4Q36P-C-j5Nn9f.cjs +1 -0
- package/dist/{chunk-EU5HNXII-DNBbmfcI.cjs → chunk-NQOKRVIF-CpOc5MEh.cjs} +1 -1
- package/dist/{chunk-EU5HNXII-DW-QTb0f.js → chunk-NQOKRVIF-DUgN94ic.js} +8 -8
- package/dist/{chunk-4EA7E6EY-B5P7n2an.js → chunk-UHW7PFBP-NbzzxkEP.js} +2 -2
- package/dist/{chunk-4EA7E6EY-3OELTJ93.cjs → chunk-UHW7PFBP-SZ8KvGM0.cjs} +1 -1
- package/dist/{chunk-KQW6MTUR-C_XQxsme.cjs → chunk-VQ5W62QI-CsW6i5Ev.cjs} +1 -1
- package/dist/{chunk-KQW6MTUR-c0XOjr_c.js → chunk-VQ5W62QI-D3c9tcDC.js} +2 -2
- package/dist/chunk-WQQL4CDK-TvwGUFeE.cjs +10 -0
- package/dist/{chunk-2BW5OAIV-DWtmlmt_.js → chunk-WQQL4CDK-l3Yf4SAX.js} +114 -114
- package/dist/{chunk-HJ2JQQFS-DnrogIdt.cjs → chunk-YZO67HFG-CLf5aoHk.cjs} +1 -1
- package/dist/{chunk-HJ2JQQFS-CgYTXthn.js → chunk-YZO67HFG-DWHo0c6-.js} +2 -2
- package/dist/{chunk-DBDB3WZW-DSRcln4l.cjs → chunk-ZAUX2LTX-BwjEPfG0.cjs} +1 -1
- package/dist/{chunk-DBDB3WZW-DpEOsLsQ.js → chunk-ZAUX2LTX-COHXRsvU.js} +3 -3
- package/dist/{chunk-FVRAUYC3-Crqd-lTD.cjs → chunk-ZCHMQSOR-7slscxYq.cjs} +1 -1
- package/dist/{chunk-FVRAUYC3-tiT7dtx-.js → chunk-ZCHMQSOR-Cw-9SNln.js} +8 -8
- package/dist/{classDiagram-v2-K4WV4PDN-C39xKke0.js → classDiagram-v2-4MYWR3UA-vsmkJ0Cx.js} +13 -13
- package/dist/{classDiagram-v2-K4WV4PDN-BndXIwai.cjs → classDiagram-v2-4MYWR3UA-wLbwKHvU.cjs} +1 -1
- package/dist/conversationExport-BmvGyAf-.cjs +71 -0
- package/dist/{conversationExport-BXEb1n8C.js → conversationExport-CBiBLWVk.js} +14 -12
- package/dist/{conversationHistory-BCj7z0AY.cjs → conversationHistory-DN1r7WZT.cjs} +39 -39
- package/dist/{conversationHistory-BsL2Q-mL.js → conversationHistory-DwB6hasI.js} +4628 -4567
- package/dist/{cynefinDiagram-3GCD6N5R-C2CRSeJl.js → cynefinDiagram-WF24UDRP-BhWkOxCi.js} +4 -4
- package/dist/{cynefinDiagram-3GCD6N5R-Bmvj-sQO.cjs → cynefinDiagram-WF24UDRP-CHBmFbqk.cjs} +1 -1
- package/dist/{dagre-W4DXFKR2-aPKdYPEj.cjs → dagre-NK4GIZVX-BI_akQkH.cjs} +1 -1
- package/dist/{dagre-W4DXFKR2-ECmxkO0T.js → dagre-NK4GIZVX-CJfLDa-C.js} +11 -11
- package/dist/{diagram-OVF4WLC6-D6r6aTeO.js → diagram-CBK3MWTC-2pAHlnGJ.js} +6 -6
- package/dist/{diagram-OVF4WLC6-CwZeVpHT.cjs → diagram-CBK3MWTC-B_5GBGbb.cjs} +1 -1
- package/dist/{diagram-UMYRVEAY-BE-t_ZdV.cjs → diagram-I5XIIV2D-BPxYY-Kp.cjs} +1 -1
- package/dist/{diagram-UMYRVEAY-blW7NpUU.js → diagram-I5XIIV2D-CQ_Y9NJs.js} +4 -4
- package/dist/{diagram-PFPMY2P6-BpOJbdZ5.js → diagram-ODIL2UCW-BJL-7QWJ.js} +5 -5
- package/dist/{diagram-PFPMY2P6-DlLbGc_k.cjs → diagram-ODIL2UCW-pyDNtrY0.cjs} +1 -1
- package/dist/{diagram-ZIFT7M5P-BHePHmHl.cjs → diagram-PFBEJUXE-BUvTWvw5.cjs} +1 -1
- package/dist/{diagram-ZIFT7M5P-CZOnEYez.js → diagram-PFBEJUXE-CXd3x3TA.js} +3 -3
- package/dist/{diagram-YEKJPTXX-CeQjir5H.cjs → diagram-RJA3I4VV-T3Hd1koB.cjs} +1 -1
- package/dist/{diagram-YEKJPTXX-BOgf87BN.js → diagram-RJA3I4VV-eMNhs7pW.js} +4 -4
- package/dist/{diagram-2UJZ2QOL-B1JKtFHG.cjs → diagram-TYUNFSNR-B_p2UHsR.cjs} +1 -1
- package/dist/{diagram-2UJZ2QOL-CJRsGDwn.js → diagram-TYUNFSNR-CWpFSB2K.js} +14 -14
- package/dist/docxExport-B24fOHFl.cjs +3 -0
- package/dist/{docxExport-BKC_hi5D.js → docxExport-BGYavEI-.js} +13 -12
- package/dist/download-DVJ5QY85.js +7 -0
- package/dist/download-U7JEZ6c9.cjs +1 -0
- package/dist/{ebnfDiagram-VR2GEFS7-Cr0a3Ho_.js → ebnfDiagram-V4P3TTPT-B7cCNP3X.js} +4 -4
- package/dist/{ebnfDiagram-VR2GEFS7-cgyTJ-Xs.cjs → ebnfDiagram-V4P3TTPT-DAoJZ85k.cjs} +1 -1
- package/dist/elk-QONTBCTQ-BDAptnPT.cjs +27 -0
- package/dist/{elk-IJKZMXRS-V31is6hS.js → elk-QONTBCTQ-BYnAuRAH.js} +18399 -18383
- package/dist/{erDiagram-O2IAPWRE-CnkFrABC.cjs → erDiagram-KYQIGQAA-BIlejnVi.cjs} +1 -1
- package/dist/{erDiagram-O2IAPWRE-CP06GjjM.js → erDiagram-KYQIGQAA-BKkxORU3.js} +13 -13
- package/dist/flowDiagram-IUGLLWBU-BSiCLGuL.cjs +1 -0
- package/dist/flowDiagram-IUGLLWBU-DL_I6QCE.js +16 -0
- package/dist/{ganttDiagram-R7TSEDQI-Jhax10tw.cjs → ganttDiagram-R7GPNTJY-BGcXo1KA.cjs} +1 -1
- package/dist/{ganttDiagram-R7TSEDQI-y1bDU8Ba.js → ganttDiagram-R7GPNTJY-dcubAqZI.js} +2 -2
- package/dist/{gitGraphDiagram-XJZIOB7I-CLZLQcPk.cjs → gitGraphDiagram-PDYL7XHY-BoJsALki.cjs} +1 -1
- package/dist/{gitGraphDiagram-XJZIOB7I-CYZa0-Ct.js → gitGraphDiagram-PDYL7XHY-CfRYMd3w.js} +3 -3
- package/dist/{infoDiagram-5W2HQ5XZ-D8fJK3ph.cjs → infoDiagram-MVDRKAX5-B1QBSTSo.cjs} +1 -1
- package/dist/{infoDiagram-5W2HQ5XZ-Dw_D4zI1.js → infoDiagram-MVDRKAX5-BYGrp2QT.js} +4 -4
- package/dist/{ishikawaDiagram-K3B6WC7H-DtjgiZAB.cjs → ishikawaDiagram-HPEHV2GE-BWJo3pFM.cjs} +1 -1
- package/dist/{ishikawaDiagram-K3B6WC7H-BeLiZFVY.js → ishikawaDiagram-HPEHV2GE-C32LoFQd.js} +4 -4
- package/dist/{journeyDiagram-COXZFDF6-Dge2AV0B.cjs → journeyDiagram-BOSHW7O7-090H5NM8.cjs} +1 -1
- package/dist/{journeyDiagram-COXZFDF6-B-qvdudB.js → journeyDiagram-BOSHW7O7-DJ9OKW8H.js} +3 -3
- package/dist/{kanban-definition-P3RFRI5V-C02YfFZv.cjs → kanban-definition-FNSA4HC5-BhC2u-9L.cjs} +1 -1
- package/dist/{kanban-definition-P3RFRI5V-D0XAXDl8.js → kanban-definition-FNSA4HC5-FqIvMKJw.js} +10 -10
- package/dist/katex-DBUQi-HZ.cjs +257 -0
- package/dist/{katex-ohtLbxXc.js → katex-DTnCNBYg.js} +2116 -2212
- package/dist/lib-BDkAiWI9.cjs +26 -0
- package/dist/{lib-BgQYQRfw.js → lib-DILNlJGg.js} +1049 -1055
- package/dist/{line-BTenwQwq.js → line-CJjnW4T-.js} +1 -1
- package/dist/{line-5eGinYgh.cjs → line-DjYp3Ff8.cjs} +1 -1
- package/dist/loadReferencedImage-CHTgZKAP.cjs +1 -0
- package/dist/loadReferencedImage-CkvnSeQi.js +144 -0
- package/dist/{mermaid.core-4MZ-Iwu7.cjs → mermaid.core-2PafqU96.cjs} +4 -4
- package/dist/{mermaid.core-BJkDCzqA.js → mermaid.core-BxQmR6RW.js} +53 -53
- package/dist/mermaidToImage-CSR5Vyvs.cjs +25 -0
- package/dist/mermaidToImage-DowDuCUe.js +14297 -0
- package/dist/{mindmap-definition-LZFPQGKD-gYumvdwo.js → mindmap-definition-6OY57UG3-C0JXAaiI.js} +27 -24
- package/dist/{mindmap-definition-LZFPQGKD-CXV1hV3a.cjs → mindmap-definition-6OY57UG3-QMaMZxqJ.cjs} +11 -9
- package/dist/{pegDiagram-BGZESJAR-Dw9pRv5d.js → pegDiagram-ECIUJNBX-BluDPMz-.js} +4 -4
- package/dist/{pegDiagram-BGZESJAR-BICf3jMN.cjs → pegDiagram-ECIUJNBX-agFLe55J.cjs} +1 -1
- package/dist/pi-outpost-embed.cjs +25 -25
- package/dist/pi-outpost-embed.js +3854 -3817
- package/dist/{pieDiagram-CAPJLFHJ-CF8cTQpC.cjs → pieDiagram-GNMPY74T-Bkt6LXIr.cjs} +1 -1
- package/dist/{pieDiagram-CAPJLFHJ-uz37FR9I.js → pieDiagram-GNMPY74T-D2Dlw9oL.js} +4 -4
- package/dist/{quadrantDiagram-GDMTTRAM-D9SYFJ_P.cjs → quadrantDiagram-D57K4MC3-BwUPO-ri.cjs} +1 -1
- package/dist/{quadrantDiagram-GDMTTRAM-C4rt8LIh.js → quadrantDiagram-D57K4MC3-vbdBbRAF.js} +2 -2
- package/dist/{railroadDiagram-SM67HX2B-T5SG0kEf.js → railroadDiagram-Y72NRBL7-B2x_q8pa.js} +4 -4
- package/dist/{railroadDiagram-SM67HX2B-GgesxX7v.cjs → railroadDiagram-Y72NRBL7-CJ9MP3wV.cjs} +1 -1
- package/dist/{requirementDiagram-X7JNWC4A-BVzf-VRr.cjs → requirementDiagram-EQYSW5RA-CP0M11vC.cjs} +1 -1
- package/dist/{requirementDiagram-X7JNWC4A-BEeCszC1.js → requirementDiagram-EQYSW5RA-j7VZ-e65.js} +12 -12
- package/dist/{sankeyDiagram-UM26HJRW-CdBXqklJ.cjs → sankeyDiagram-SY24JHO5-B7NuxaKG.cjs} +1 -1
- package/dist/{sankeyDiagram-UM26HJRW-DLDVzhPm.js → sankeyDiagram-SY24JHO5-Cgewgbc8.js} +2 -2
- package/dist/{sequenceDiagram-ZO4K6R2Y-ytX57BES.cjs → sequenceDiagram-BLEHNHQU-B5THoiqW.cjs} +1 -1
- package/dist/{sequenceDiagram-ZO4K6R2Y-B8wM6a-A.js → sequenceDiagram-BLEHNHQU-DsjvHcWN.js} +5 -5
- package/dist/{stateDiagram-v2-TBUQTH76-PRnBJSrY.js → stateDiagram-v2-A6IESKWZ-BD0FNkiB.js} +13 -13
- package/dist/{stateDiagram-v2-TBUQTH76-BTuAbG28.cjs → stateDiagram-v2-A6IESKWZ-Dqzvdrv1.cjs} +1 -1
- package/dist/swimlanes-B3ENRKFQ-DEsfJ_Va.cjs +1 -0
- package/dist/{swimlanes-N4OXWK64-DipLcZla.js → swimlanes-B3ENRKFQ-Do-xntE9.js} +365 -364
- package/dist/swimlanesDiagram-AYQRV4AK-CU4USE4p.cjs +8 -0
- package/dist/swimlanesDiagram-AYQRV4AK-ora_Y3LB.js +27 -0
- package/dist/{timeline-definition-YOQAKGHF-D_LWHCSA.cjs → timeline-definition-JXYKGLGB-B_QITrmE.cjs} +1 -1
- package/dist/{timeline-definition-YOQAKGHF-h8_spxIb.js → timeline-definition-JXYKGLGB-Cxi2ay-W.js} +4 -4
- package/dist/{usecaseDiagram-VIAY4XPW-DCfwvERR.js → usecaseDiagram-WPOLBNNX-C5u6uogx.js} +11 -11
- package/dist/{usecaseDiagram-VIAY4XPW-PJHZiyJN.cjs → usecaseDiagram-WPOLBNNX-_GFZAFdK.cjs} +1 -1
- package/dist/{vennDiagram-BLWOH2XV-niExkaFk.cjs → vennDiagram-Q3Y3IDCW-Bf1i94bS.cjs} +1 -1
- package/dist/{vennDiagram-BLWOH2XV-_zHkfDVB.js → vennDiagram-Q3Y3IDCW-CircfM4o.js} +4 -4
- package/dist/{wardleyDiagram-YMQ3BMBF-BKvQkiZP.js → wardleyDiagram-IVAIDKWA-BOSseRAa.js} +4 -4
- package/dist/{wardleyDiagram-YMQ3BMBF-btlDrKA6.cjs → wardleyDiagram-IVAIDKWA-Cr5LS-u2.cjs} +1 -1
- package/dist/{xychartDiagram-TAQBALBS-DlfKpBG9.js → xychartDiagram-4URNHDU4-C4X8LFY4.js} +7 -7
- package/dist/{xychartDiagram-TAQBALBS-CkNZcyIi.cjs → xychartDiagram-4URNHDU4-DOUN6alM.cjs} +1 -1
- package/package.json +2 -2
- package/dist/channel-BjC1TKrU.cjs +0 -1
- package/dist/chunk-2BW5OAIV-FkhgcL6B.cjs +0 -10
- package/dist/chunk-NTY3LDVX-DBVRlnMJ.cjs +0 -1
- package/dist/chunk-XC4XBNZT-BTUjiQhE.cjs +0 -62
- package/dist/conversationExport-DEKaUq-d.cjs +0 -71
- package/dist/docxExport-V7joLrkm.cjs +0 -3
- package/dist/elk-IJKZMXRS-NO3xNT-V.cjs +0 -27
- package/dist/flowDiagram-OXPTDLAJ-BdYr7Idm.cjs +0 -1
- package/dist/flowDiagram-OXPTDLAJ-R_xf7pNW.js +0 -16
- package/dist/katex-CEF6MvLx.cjs +0 -257
- package/dist/lib-DVuUFI8o.cjs +0 -26
- package/dist/loadReferencedImage-FGse7G4p.js +0 -36292
- package/dist/loadReferencedImage-QespeGh9.cjs +0 -281
- package/dist/swimlanes-N4OXWK64-41SBE_L2.cjs +0 -1
- package/dist/swimlanesDiagram-K3J5GTZL-D6tIMgkj.cjs +0 -8
- package/dist/swimlanesDiagram-K3J5GTZL-_MehEHMi.js +0 -27
|
@@ -76,32 +76,26 @@ function o(e) {
|
|
|
76
76
|
return a = t.then(() => void 0, () => void 0), t;
|
|
77
77
|
}
|
|
78
78
|
//#endregion
|
|
79
|
-
//#region ../ui/src/util/download.ts
|
|
80
|
-
function s(e, t) {
|
|
81
|
-
let n = URL.createObjectURL(e), r = document.createElement("a");
|
|
82
|
-
r.href = n, r.download = t, r.click(), URL.revokeObjectURL(n);
|
|
83
|
-
}
|
|
84
|
-
//#endregion
|
|
85
79
|
//#region ../node_modules/devlop/lib/default.js
|
|
80
|
+
function s() {}
|
|
86
81
|
function c() {}
|
|
87
|
-
function l() {}
|
|
88
82
|
//#endregion
|
|
89
83
|
//#region ../node_modules/unist-util-stringify-position/lib/index.js
|
|
84
|
+
function l(e) {
|
|
85
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? d(e.position) : "start" in e || "end" in e ? d(e) : "line" in e || "column" in e ? u(e) : "";
|
|
86
|
+
}
|
|
90
87
|
function u(e) {
|
|
91
|
-
return
|
|
88
|
+
return f(e && e.line) + ":" + f(e && e.column);
|
|
92
89
|
}
|
|
93
90
|
function d(e) {
|
|
94
|
-
return
|
|
91
|
+
return u(e && e.start) + "-" + u(e && e.end);
|
|
95
92
|
}
|
|
96
93
|
function f(e) {
|
|
97
|
-
return d(e && e.start) + "-" + d(e && e.end);
|
|
98
|
-
}
|
|
99
|
-
function p(e) {
|
|
100
94
|
return e && typeof e == "number" ? e : 1;
|
|
101
95
|
}
|
|
102
96
|
//#endregion
|
|
103
97
|
//#region ../node_modules/vfile-message/lib/index.js
|
|
104
|
-
var
|
|
98
|
+
var p = class extends Error {
|
|
105
99
|
constructor(e, t, n) {
|
|
106
100
|
super(), typeof t == "string" && (n = t, t = void 0);
|
|
107
101
|
let r = "", i = {}, a = !1;
|
|
@@ -117,36 +111,36 @@ var m = class extends Error {
|
|
|
117
111
|
e && (i.place = e.position);
|
|
118
112
|
}
|
|
119
113
|
let o = i.place && "start" in i.place ? i.place.start : i.place;
|
|
120
|
-
this.ancestors = i.ancestors || void 0, this.cause = i.cause || void 0, this.column = o ? o.column : void 0, this.fatal = void 0, this.file = "", this.message = r, this.line = o ? o.line : void 0, this.name =
|
|
114
|
+
this.ancestors = i.ancestors || void 0, this.cause = i.cause || void 0, this.column = o ? o.column : void 0, this.fatal = void 0, this.file = "", this.message = r, this.line = o ? o.line : void 0, this.name = l(i.place) || "1:1", this.place = i.place || void 0, this.reason = this.message, this.ruleId = i.ruleId || void 0, this.source = i.source || void 0, this.stack = a && i.cause && typeof i.cause.stack == "string" ? i.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
|
|
121
115
|
}
|
|
122
116
|
};
|
|
123
|
-
|
|
117
|
+
p.prototype.file = "", p.prototype.name = "", p.prototype.reason = "", p.prototype.message = "", p.prototype.stack = "", p.prototype.column = void 0, p.prototype.line = void 0, p.prototype.ancestors = void 0, p.prototype.cause = void 0, p.prototype.fatal = void 0, p.prototype.place = void 0, p.prototype.ruleId = void 0, p.prototype.source = void 0;
|
|
124
118
|
//#endregion
|
|
125
119
|
//#region ../node_modules/mdast-util-to-string/lib/index.js
|
|
126
|
-
var
|
|
127
|
-
function
|
|
128
|
-
let n = t ||
|
|
129
|
-
return
|
|
120
|
+
var m = {};
|
|
121
|
+
function h(e, t) {
|
|
122
|
+
let n = t || m;
|
|
123
|
+
return g(e, typeof n.includeImageAlt != "boolean" || n.includeImageAlt, typeof n.includeHtml != "boolean" || n.includeHtml);
|
|
130
124
|
}
|
|
131
|
-
function
|
|
132
|
-
if (
|
|
125
|
+
function g(e, t, n) {
|
|
126
|
+
if (v(e)) {
|
|
133
127
|
if ("value" in e) return e.type === "html" && !n ? "" : e.value;
|
|
134
128
|
if (t && "alt" in e && e.alt) return e.alt;
|
|
135
|
-
if ("children" in e) return
|
|
129
|
+
if ("children" in e) return _(e.children, t, n);
|
|
136
130
|
}
|
|
137
|
-
return Array.isArray(e) ?
|
|
131
|
+
return Array.isArray(e) ? _(e, t, n) : "";
|
|
138
132
|
}
|
|
139
|
-
function
|
|
133
|
+
function _(e, t, n) {
|
|
140
134
|
let r = [], i = -1;
|
|
141
|
-
for (; ++i < e.length;) r[i] =
|
|
135
|
+
for (; ++i < e.length;) r[i] = g(e[i], t, n);
|
|
142
136
|
return r.join("");
|
|
143
137
|
}
|
|
144
|
-
function
|
|
138
|
+
function v(e) {
|
|
145
139
|
return !!(e && typeof e == "object");
|
|
146
140
|
}
|
|
147
141
|
//#endregion
|
|
148
142
|
//#region ../node_modules/character-entities/index.js
|
|
149
|
-
var
|
|
143
|
+
var y = {
|
|
150
144
|
AElig: "Æ",
|
|
151
145
|
AMP: "&",
|
|
152
146
|
Aacute: "Á",
|
|
@@ -2272,73 +2266,73 @@ var b = {
|
|
|
2272
2266
|
zscr: "𝓏",
|
|
2273
2267
|
zwj: "",
|
|
2274
2268
|
zwnj: ""
|
|
2275
|
-
},
|
|
2276
|
-
function
|
|
2277
|
-
return
|
|
2269
|
+
}, b = {}.hasOwnProperty;
|
|
2270
|
+
function x(e) {
|
|
2271
|
+
return b.call(y, e) ? y[e] : !1;
|
|
2278
2272
|
}
|
|
2279
2273
|
//#endregion
|
|
2280
2274
|
//#region ../node_modules/micromark-util-chunked/index.js
|
|
2281
|
-
function
|
|
2275
|
+
function S(e, t, n, r) {
|
|
2282
2276
|
let i = e.length, a = 0, o;
|
|
2283
2277
|
if (t = t < 0 ? -t > i ? 0 : i + t : t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4) o = Array.from(r), o.unshift(t, n), e.splice(...o);
|
|
2284
2278
|
else for (n && e.splice(t, n); a < r.length;) o = r.slice(a, a + 1e4), o.unshift(t, 0), e.splice(...o), a += 1e4, t += 1e4;
|
|
2285
2279
|
}
|
|
2286
|
-
function
|
|
2287
|
-
return e.length > 0 ? (
|
|
2280
|
+
function C(e, t) {
|
|
2281
|
+
return e.length > 0 ? (S(e, e.length, 0, t), e) : t;
|
|
2288
2282
|
}
|
|
2289
2283
|
//#endregion
|
|
2290
2284
|
//#region ../node_modules/micromark-util-combine-extensions/index.js
|
|
2291
|
-
var
|
|
2292
|
-
function
|
|
2285
|
+
var w = {}.hasOwnProperty;
|
|
2286
|
+
function T(e) {
|
|
2293
2287
|
let t = {}, n = -1;
|
|
2294
|
-
for (; ++n < e.length;)
|
|
2288
|
+
for (; ++n < e.length;) E(t, e[n]);
|
|
2295
2289
|
return t;
|
|
2296
2290
|
}
|
|
2297
|
-
function
|
|
2291
|
+
function E(e, t) {
|
|
2298
2292
|
let n;
|
|
2299
2293
|
for (n in t) {
|
|
2300
|
-
let r = (
|
|
2294
|
+
let r = (w.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n], a;
|
|
2301
2295
|
if (i) for (a in i) {
|
|
2302
|
-
|
|
2296
|
+
w.call(r, a) || (r[a] = []);
|
|
2303
2297
|
let e = i[a];
|
|
2304
|
-
|
|
2298
|
+
D(r[a], Array.isArray(e) ? e : e ? [e] : []);
|
|
2305
2299
|
}
|
|
2306
2300
|
}
|
|
2307
2301
|
}
|
|
2308
|
-
function
|
|
2302
|
+
function D(e, t) {
|
|
2309
2303
|
let n = -1, r = [];
|
|
2310
2304
|
for (; ++n < t.length;) (t[n].add === "after" ? e : r).push(t[n]);
|
|
2311
|
-
|
|
2305
|
+
S(e, 0, 0, r);
|
|
2312
2306
|
}
|
|
2313
2307
|
//#endregion
|
|
2314
2308
|
//#region ../node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
2315
|
-
function
|
|
2309
|
+
function O(e, t) {
|
|
2316
2310
|
let n = Number.parseInt(e, t);
|
|
2317
2311
|
return n < 9 || n === 11 || n > 13 && n < 32 || n > 126 && n < 160 || n > 55295 && n < 57344 || n > 64975 && n < 65008 || (n & 65535) == 65535 || (n & 65535) == 65534 || n > 1114111 ? "�" : String.fromCodePoint(n);
|
|
2318
2312
|
}
|
|
2319
2313
|
//#endregion
|
|
2320
2314
|
//#region ../node_modules/micromark-util-normalize-identifier/index.js
|
|
2321
|
-
function
|
|
2315
|
+
function k(e) {
|
|
2322
2316
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
2323
2317
|
}
|
|
2324
2318
|
//#endregion
|
|
2325
2319
|
//#region ../node_modules/micromark-util-character/index.js
|
|
2326
|
-
var
|
|
2327
|
-
function
|
|
2320
|
+
var A = B(/[A-Za-z]/), j = B(/[\dA-Za-z]/), ee = B(/[#-'*+\--9=?A-Z^-~]/);
|
|
2321
|
+
function M(e) {
|
|
2328
2322
|
return e !== null && (e < 32 || e === 127);
|
|
2329
2323
|
}
|
|
2330
|
-
var
|
|
2331
|
-
function
|
|
2324
|
+
var N = B(/\d/), P = B(/[\dA-Fa-f]/), te = B(/[!-/:-@[-`{-~]/);
|
|
2325
|
+
function F(e) {
|
|
2332
2326
|
return e !== null && e < -2;
|
|
2333
2327
|
}
|
|
2334
|
-
function
|
|
2328
|
+
function I(e) {
|
|
2335
2329
|
return e !== null && (e < 0 || e === 32);
|
|
2336
2330
|
}
|
|
2337
|
-
function
|
|
2331
|
+
function L(e) {
|
|
2338
2332
|
return e === -2 || e === -1 || e === 32;
|
|
2339
2333
|
}
|
|
2340
|
-
var
|
|
2341
|
-
function
|
|
2334
|
+
var R = B(/\p{P}|\p{S}/u), z = B(/\s/);
|
|
2335
|
+
function B(e) {
|
|
2342
2336
|
return t;
|
|
2343
2337
|
function t(t) {
|
|
2344
2338
|
return t !== null && t > -1 && e.test(String.fromCharCode(t));
|
|
@@ -2346,20 +2340,20 @@ function H(e) {
|
|
|
2346
2340
|
}
|
|
2347
2341
|
//#endregion
|
|
2348
2342
|
//#region ../node_modules/micromark-factory-space/index.js
|
|
2349
|
-
function
|
|
2343
|
+
function V(e, t, n, r) {
|
|
2350
2344
|
let i = r ? r - 1 : Infinity, a = 0;
|
|
2351
2345
|
return o;
|
|
2352
2346
|
function o(r) {
|
|
2353
|
-
return
|
|
2347
|
+
return L(r) ? (e.enter(n), s(r)) : t(r);
|
|
2354
2348
|
}
|
|
2355
2349
|
function s(r) {
|
|
2356
|
-
return
|
|
2350
|
+
return L(r) && a++ < i ? (e.consume(r), s) : (e.exit(n), t(r));
|
|
2357
2351
|
}
|
|
2358
2352
|
}
|
|
2359
2353
|
//#endregion
|
|
2360
2354
|
//#region ../node_modules/micromark/lib/initialize/content.js
|
|
2361
|
-
var
|
|
2362
|
-
function
|
|
2355
|
+
var ne = { tokenize: re };
|
|
2356
|
+
function re(e) {
|
|
2363
2357
|
let t = e.attempt(this.parser.constructs.contentInitial, r, i), n;
|
|
2364
2358
|
return t;
|
|
2365
2359
|
function r(n) {
|
|
@@ -2367,7 +2361,7 @@ function ne(e) {
|
|
|
2367
2361
|
e.consume(n);
|
|
2368
2362
|
return;
|
|
2369
2363
|
}
|
|
2370
|
-
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"),
|
|
2364
|
+
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), V(e, t, "linePrefix");
|
|
2371
2365
|
}
|
|
2372
2366
|
function i(t) {
|
|
2373
2367
|
return e.enter("paragraph"), a(t);
|
|
@@ -2384,13 +2378,13 @@ function ne(e) {
|
|
|
2384
2378
|
e.exit("chunkText"), e.exit("paragraph"), e.consume(t);
|
|
2385
2379
|
return;
|
|
2386
2380
|
}
|
|
2387
|
-
return
|
|
2381
|
+
return F(t) ? (e.consume(t), e.exit("chunkText"), a) : (e.consume(t), o);
|
|
2388
2382
|
}
|
|
2389
2383
|
}
|
|
2390
2384
|
//#endregion
|
|
2391
2385
|
//#region ../node_modules/micromark/lib/initialize/document.js
|
|
2392
|
-
var
|
|
2393
|
-
function
|
|
2386
|
+
var ie = { tokenize: oe }, ae = { tokenize: se };
|
|
2387
|
+
function oe(e) {
|
|
2394
2388
|
let t = this, n = [], r = 0, i, a, o;
|
|
2395
2389
|
return s;
|
|
2396
2390
|
function s(i) {
|
|
@@ -2411,7 +2405,7 @@ function ae(e) {
|
|
|
2411
2405
|
_(r);
|
|
2412
2406
|
let s = n;
|
|
2413
2407
|
for (; s < t.events.length;) t.events[s][1].end = { ...o }, s++;
|
|
2414
|
-
return
|
|
2408
|
+
return S(t.events, a + 1, 0, t.events.slice(n)), t.events.length = s, l(e);
|
|
2415
2409
|
}
|
|
2416
2410
|
return s(e);
|
|
2417
2411
|
}
|
|
@@ -2421,7 +2415,7 @@ function ae(e) {
|
|
|
2421
2415
|
if (i.currentConstruct && i.currentConstruct.concrete) return m(a);
|
|
2422
2416
|
t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
|
2423
2417
|
}
|
|
2424
|
-
return t.containerState = {}, e.check(
|
|
2418
|
+
return t.containerState = {}, e.check(ae, u, d)(a);
|
|
2425
2419
|
}
|
|
2426
2420
|
function u(e) {
|
|
2427
2421
|
return i && v(), _(r), f(e);
|
|
@@ -2430,7 +2424,7 @@ function ae(e) {
|
|
|
2430
2424
|
return t.parser.lazy[t.now().line] = r !== n.length, o = t.now().offset, m(e);
|
|
2431
2425
|
}
|
|
2432
2426
|
function f(n) {
|
|
2433
|
-
return t.containerState = {}, e.attempt(
|
|
2427
|
+
return t.containerState = {}, e.attempt(ae, p, m)(n);
|
|
2434
2428
|
}
|
|
2435
2429
|
function p(e) {
|
|
2436
2430
|
return r++, n.push([t.currentConstruct, t.containerState]), f(e);
|
|
@@ -2451,7 +2445,7 @@ function ae(e) {
|
|
|
2451
2445
|
g(e.exit("chunkFlow"), !0), _(0), e.consume(n);
|
|
2452
2446
|
return;
|
|
2453
2447
|
}
|
|
2454
|
-
return
|
|
2448
|
+
return F(n) ? (e.consume(n), g(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, s) : (e.consume(n), h);
|
|
2455
2449
|
}
|
|
2456
2450
|
function g(e, n) {
|
|
2457
2451
|
let s = t.sliceStream(e);
|
|
@@ -2467,7 +2461,7 @@ function ae(e) {
|
|
|
2467
2461
|
s = !0;
|
|
2468
2462
|
}
|
|
2469
2463
|
for (_(r), e = n; e < t.events.length;) t.events[e][1].end = { ...c }, e++;
|
|
2470
|
-
|
|
2464
|
+
S(t.events, a + 1, 0, t.events.slice(n)), t.events.length = e;
|
|
2471
2465
|
}
|
|
2472
2466
|
}
|
|
2473
2467
|
function _(r) {
|
|
@@ -2482,18 +2476,18 @@ function ae(e) {
|
|
|
2482
2476
|
i.write([null]), a = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
|
2483
2477
|
}
|
|
2484
2478
|
}
|
|
2485
|
-
function
|
|
2486
|
-
return
|
|
2479
|
+
function se(e, t, n) {
|
|
2480
|
+
return V(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
2487
2481
|
}
|
|
2488
2482
|
//#endregion
|
|
2489
2483
|
//#region ../node_modules/micromark-util-classify-character/index.js
|
|
2490
|
-
function
|
|
2491
|
-
if (e === null ||
|
|
2492
|
-
if (
|
|
2484
|
+
function H(e) {
|
|
2485
|
+
if (e === null || I(e) || z(e)) return 1;
|
|
2486
|
+
if (R(e)) return 2;
|
|
2493
2487
|
}
|
|
2494
2488
|
//#endregion
|
|
2495
2489
|
//#region ../node_modules/micromark-util-resolve-all/index.js
|
|
2496
|
-
function
|
|
2490
|
+
function ce(e, t, n) {
|
|
2497
2491
|
let r = [], i = -1;
|
|
2498
2492
|
for (; ++i < e.length;) {
|
|
2499
2493
|
let a = e[i].resolveAll;
|
|
@@ -2503,19 +2497,19 @@ function G(e, t, n) {
|
|
|
2503
2497
|
}
|
|
2504
2498
|
//#endregion
|
|
2505
2499
|
//#region ../node_modules/micromark-core-commonmark/lib/attention.js
|
|
2506
|
-
var
|
|
2500
|
+
var U = {
|
|
2507
2501
|
name: "attention",
|
|
2508
|
-
resolveAll:
|
|
2509
|
-
tokenize:
|
|
2502
|
+
resolveAll: le,
|
|
2503
|
+
tokenize: ue
|
|
2510
2504
|
};
|
|
2511
|
-
function
|
|
2505
|
+
function le(e, t) {
|
|
2512
2506
|
let n = -1, r, i, a, o, s, c, l, u;
|
|
2513
2507
|
for (; ++n < e.length;) if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) {
|
|
2514
2508
|
for (r = n; r--;) if (e[r][0] === "exit" && e[r][1].type === "attentionSequence" && e[r][1]._open && t.sliceSerialize(e[r][1]).charCodeAt(0) === t.sliceSerialize(e[n][1]).charCodeAt(0)) {
|
|
2515
2509
|
if ((e[r][1]._close || e[n][1]._open) && (e[n][1].end.offset - e[n][1].start.offset) % 3 && !((e[r][1].end.offset - e[r][1].start.offset + e[n][1].end.offset - e[n][1].start.offset) % 3)) continue;
|
|
2516
2510
|
c = e[r][1].end.offset - e[r][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1;
|
|
2517
2511
|
let d = { ...e[r][1].end }, f = { ...e[n][1].start };
|
|
2518
|
-
|
|
2512
|
+
de(d, -c), de(f, c), o = {
|
|
2519
2513
|
type: c > 1 ? "strongSequence" : "emphasisSequence",
|
|
2520
2514
|
start: d,
|
|
2521
2515
|
end: { ...e[r][1].end }
|
|
@@ -2531,7 +2525,7 @@ function ce(e, t) {
|
|
|
2531
2525
|
type: c > 1 ? "strong" : "emphasis",
|
|
2532
2526
|
start: { ...o.start },
|
|
2533
2527
|
end: { ...s.end }
|
|
2534
|
-
}, e[r][1].end = { ...o.start }, e[n][1].start = { ...s.end }, l = [], e[r][1].end.offset - e[r][1].start.offset && (l =
|
|
2528
|
+
}, e[r][1].end = { ...o.start }, e[n][1].start = { ...s.end }, l = [], e[r][1].end.offset - e[r][1].start.offset && (l = C(l, [[
|
|
2535
2529
|
"enter",
|
|
2536
2530
|
e[r][1],
|
|
2537
2531
|
t
|
|
@@ -2539,7 +2533,7 @@ function ce(e, t) {
|
|
|
2539
2533
|
"exit",
|
|
2540
2534
|
e[r][1],
|
|
2541
2535
|
t
|
|
2542
|
-
]])), l =
|
|
2536
|
+
]])), l = C(l, [
|
|
2543
2537
|
[
|
|
2544
2538
|
"enter",
|
|
2545
2539
|
i,
|
|
@@ -2560,7 +2554,7 @@ function ce(e, t) {
|
|
|
2560
2554
|
a,
|
|
2561
2555
|
t
|
|
2562
2556
|
]
|
|
2563
|
-
]), l =
|
|
2557
|
+
]), l = C(l, ce(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), l = C(l, [
|
|
2564
2558
|
[
|
|
2565
2559
|
"exit",
|
|
2566
2560
|
a,
|
|
@@ -2581,7 +2575,7 @@ function ce(e, t) {
|
|
|
2581
2575
|
i,
|
|
2582
2576
|
t
|
|
2583
2577
|
]
|
|
2584
|
-
]), e[n][1].end.offset - e[n][1].start.offset ? (u = 2, l =
|
|
2578
|
+
]), e[n][1].end.offset - e[n][1].start.offset ? (u = 2, l = C(l, [[
|
|
2585
2579
|
"enter",
|
|
2586
2580
|
e[n][1],
|
|
2587
2581
|
t
|
|
@@ -2589,63 +2583,63 @@ function ce(e, t) {
|
|
|
2589
2583
|
"exit",
|
|
2590
2584
|
e[n][1],
|
|
2591
2585
|
t
|
|
2592
|
-
]])) : u = 0,
|
|
2586
|
+
]])) : u = 0, S(e, r - 1, n - r + 3, l), n = r + l.length - u - 2;
|
|
2593
2587
|
break;
|
|
2594
2588
|
}
|
|
2595
2589
|
}
|
|
2596
2590
|
for (n = -1; ++n < e.length;) e[n][1].type === "attentionSequence" && (e[n][1].type = "data");
|
|
2597
2591
|
return e;
|
|
2598
2592
|
}
|
|
2599
|
-
function
|
|
2600
|
-
let n = this.parser.constructs.attentionMarkers.null, r = this.previous, i =
|
|
2593
|
+
function ue(e, t) {
|
|
2594
|
+
let n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = H(r), a;
|
|
2601
2595
|
return o;
|
|
2602
2596
|
function o(t) {
|
|
2603
2597
|
return a = t, e.enter("attentionSequence"), s(t);
|
|
2604
2598
|
}
|
|
2605
2599
|
function s(o) {
|
|
2606
2600
|
if (o === a) return e.consume(o), s;
|
|
2607
|
-
let c = e.exit("attentionSequence"), l =
|
|
2601
|
+
let c = e.exit("attentionSequence"), l = H(o), u = !l || l === 2 && i || n.includes(o), d = !i || i === 2 && l || n.includes(r);
|
|
2608
2602
|
return c._open = !!(a === 42 ? u : u && (i || !d)), c._close = !!(a === 42 ? d : d && (l || !u)), t(o);
|
|
2609
2603
|
}
|
|
2610
2604
|
}
|
|
2611
|
-
function
|
|
2605
|
+
function de(e, t) {
|
|
2612
2606
|
e.column += t, e.offset += t, e._bufferIndex += t;
|
|
2613
2607
|
}
|
|
2614
2608
|
//#endregion
|
|
2615
2609
|
//#region ../node_modules/micromark-core-commonmark/lib/autolink.js
|
|
2616
|
-
var
|
|
2610
|
+
var fe = {
|
|
2617
2611
|
name: "autolink",
|
|
2618
|
-
tokenize:
|
|
2612
|
+
tokenize: pe
|
|
2619
2613
|
};
|
|
2620
|
-
function
|
|
2614
|
+
function pe(e, t, n) {
|
|
2621
2615
|
let r = 0;
|
|
2622
2616
|
return i;
|
|
2623
2617
|
function i(t) {
|
|
2624
2618
|
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(t), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a;
|
|
2625
2619
|
}
|
|
2626
2620
|
function a(t) {
|
|
2627
|
-
return
|
|
2621
|
+
return A(t) ? (e.consume(t), o) : t === 64 ? n(t) : l(t);
|
|
2628
2622
|
}
|
|
2629
2623
|
function o(e) {
|
|
2630
|
-
return e === 43 || e === 45 || e === 46 ||
|
|
2624
|
+
return e === 43 || e === 45 || e === 46 || j(e) ? (r = 1, s(e)) : l(e);
|
|
2631
2625
|
}
|
|
2632
2626
|
function s(t) {
|
|
2633
|
-
return t === 58 ? (e.consume(t), r = 0, c) : (t === 43 || t === 45 || t === 46 ||
|
|
2627
|
+
return t === 58 ? (e.consume(t), r = 0, c) : (t === 43 || t === 45 || t === 46 || j(t)) && r++ < 32 ? (e.consume(t), s) : (r = 0, l(t));
|
|
2634
2628
|
}
|
|
2635
2629
|
function c(r) {
|
|
2636
|
-
return r === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(r), e.exit("autolinkMarker"), e.exit("autolink"), t) : r === null || r === 32 || r === 60 ||
|
|
2630
|
+
return r === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(r), e.exit("autolinkMarker"), e.exit("autolink"), t) : r === null || r === 32 || r === 60 || M(r) ? n(r) : (e.consume(r), c);
|
|
2637
2631
|
}
|
|
2638
2632
|
function l(t) {
|
|
2639
2633
|
return t === 64 ? (e.consume(t), u) : ee(t) ? (e.consume(t), l) : n(t);
|
|
2640
2634
|
}
|
|
2641
2635
|
function u(e) {
|
|
2642
|
-
return
|
|
2636
|
+
return j(e) ? d(e) : n(e);
|
|
2643
2637
|
}
|
|
2644
2638
|
function d(n) {
|
|
2645
2639
|
return n === 46 ? (e.consume(n), r = 0, u) : n === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(n), e.exit("autolinkMarker"), e.exit("autolink"), t) : f(n);
|
|
2646
2640
|
}
|
|
2647
2641
|
function f(t) {
|
|
2648
|
-
if ((t === 45 ||
|
|
2642
|
+
if ((t === 45 || j(t)) && r++ < 63) {
|
|
2649
2643
|
let n = t === 45 ? f : d;
|
|
2650
2644
|
return e.consume(t), n;
|
|
2651
2645
|
}
|
|
@@ -2654,28 +2648,28 @@ function fe(e, t, n) {
|
|
|
2654
2648
|
}
|
|
2655
2649
|
//#endregion
|
|
2656
2650
|
//#region ../node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
2657
|
-
var
|
|
2651
|
+
var W = {
|
|
2658
2652
|
partial: !0,
|
|
2659
|
-
tokenize:
|
|
2653
|
+
tokenize: me
|
|
2660
2654
|
};
|
|
2661
|
-
function
|
|
2655
|
+
function me(e, t, n) {
|
|
2662
2656
|
return r;
|
|
2663
2657
|
function r(t) {
|
|
2664
|
-
return
|
|
2658
|
+
return L(t) ? V(e, i, "linePrefix")(t) : i(t);
|
|
2665
2659
|
}
|
|
2666
2660
|
function i(e) {
|
|
2667
|
-
return e === null ||
|
|
2661
|
+
return e === null || F(e) ? t(e) : n(e);
|
|
2668
2662
|
}
|
|
2669
2663
|
}
|
|
2670
2664
|
//#endregion
|
|
2671
2665
|
//#region ../node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
2672
|
-
var
|
|
2673
|
-
continuation: { tokenize:
|
|
2674
|
-
exit:
|
|
2666
|
+
var he = {
|
|
2667
|
+
continuation: { tokenize: _e },
|
|
2668
|
+
exit: ve,
|
|
2675
2669
|
name: "blockQuote",
|
|
2676
|
-
tokenize:
|
|
2670
|
+
tokenize: ge
|
|
2677
2671
|
};
|
|
2678
|
-
function
|
|
2672
|
+
function ge(e, t, n) {
|
|
2679
2673
|
let r = this;
|
|
2680
2674
|
return i;
|
|
2681
2675
|
function i(t) {
|
|
@@ -2686,74 +2680,74 @@ function he(e, t, n) {
|
|
|
2686
2680
|
return n(t);
|
|
2687
2681
|
}
|
|
2688
2682
|
function a(n) {
|
|
2689
|
-
return
|
|
2683
|
+
return L(n) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(n), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(n));
|
|
2690
2684
|
}
|
|
2691
2685
|
}
|
|
2692
|
-
function
|
|
2686
|
+
function _e(e, t, n) {
|
|
2693
2687
|
let r = this;
|
|
2694
2688
|
return i;
|
|
2695
2689
|
function i(t) {
|
|
2696
|
-
return
|
|
2690
|
+
return L(t) ? V(e, a, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : a(t);
|
|
2697
2691
|
}
|
|
2698
2692
|
function a(r) {
|
|
2699
|
-
return e.attempt(
|
|
2693
|
+
return e.attempt(he, t, n)(r);
|
|
2700
2694
|
}
|
|
2701
2695
|
}
|
|
2702
|
-
function
|
|
2696
|
+
function ve(e) {
|
|
2703
2697
|
e.exit("blockQuote");
|
|
2704
2698
|
}
|
|
2705
2699
|
//#endregion
|
|
2706
2700
|
//#region ../node_modules/micromark-core-commonmark/lib/character-escape.js
|
|
2707
|
-
var
|
|
2701
|
+
var ye = {
|
|
2708
2702
|
name: "characterEscape",
|
|
2709
|
-
tokenize:
|
|
2703
|
+
tokenize: be
|
|
2710
2704
|
};
|
|
2711
|
-
function
|
|
2705
|
+
function be(e, t, n) {
|
|
2712
2706
|
return r;
|
|
2713
2707
|
function r(t) {
|
|
2714
2708
|
return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(t), e.exit("escapeMarker"), i;
|
|
2715
2709
|
}
|
|
2716
2710
|
function i(r) {
|
|
2717
|
-
return
|
|
2711
|
+
return te(r) ? (e.enter("characterEscapeValue"), e.consume(r), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(r);
|
|
2718
2712
|
}
|
|
2719
2713
|
}
|
|
2720
2714
|
//#endregion
|
|
2721
2715
|
//#region ../node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
2722
|
-
var
|
|
2716
|
+
var xe = {
|
|
2723
2717
|
name: "characterReference",
|
|
2724
|
-
tokenize:
|
|
2718
|
+
tokenize: Se
|
|
2725
2719
|
};
|
|
2726
|
-
function
|
|
2720
|
+
function Se(e, t, n) {
|
|
2727
2721
|
let r = this, i = 0, a, o;
|
|
2728
2722
|
return s;
|
|
2729
2723
|
function s(t) {
|
|
2730
2724
|
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(t), e.exit("characterReferenceMarker"), c;
|
|
2731
2725
|
}
|
|
2732
2726
|
function c(t) {
|
|
2733
|
-
return t === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(t), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), a = 31, o =
|
|
2727
|
+
return t === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(t), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), a = 31, o = j, u(t));
|
|
2734
2728
|
}
|
|
2735
2729
|
function l(t) {
|
|
2736
|
-
return t === 88 || t === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(t), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o =
|
|
2730
|
+
return t === 88 || t === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(t), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o = P, u) : (e.enter("characterReferenceValue"), a = 7, o = N, u(t));
|
|
2737
2731
|
}
|
|
2738
2732
|
function u(s) {
|
|
2739
2733
|
if (s === 59 && i) {
|
|
2740
2734
|
let i = e.exit("characterReferenceValue");
|
|
2741
|
-
return o ===
|
|
2735
|
+
return o === j && !x(r.sliceSerialize(i)) ? n(s) : (e.enter("characterReferenceMarker"), e.consume(s), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
2742
2736
|
}
|
|
2743
2737
|
return o(s) && i++ < a ? (e.consume(s), u) : n(s);
|
|
2744
2738
|
}
|
|
2745
2739
|
}
|
|
2746
2740
|
//#endregion
|
|
2747
2741
|
//#region ../node_modules/micromark-core-commonmark/lib/code-fenced.js
|
|
2748
|
-
var
|
|
2742
|
+
var Ce = {
|
|
2749
2743
|
partial: !0,
|
|
2750
|
-
tokenize:
|
|
2751
|
-
},
|
|
2744
|
+
tokenize: Ee
|
|
2745
|
+
}, we = {
|
|
2752
2746
|
concrete: !0,
|
|
2753
2747
|
name: "codeFenced",
|
|
2754
|
-
tokenize:
|
|
2748
|
+
tokenize: Te
|
|
2755
2749
|
};
|
|
2756
|
-
function
|
|
2750
|
+
function Te(e, t, n) {
|
|
2757
2751
|
let r = this, i = {
|
|
2758
2752
|
partial: !0,
|
|
2759
2753
|
tokenize: x
|
|
@@ -2767,19 +2761,19 @@ function we(e, t, n) {
|
|
|
2767
2761
|
return a = n && n[1].type === "linePrefix" ? n[2].sliceSerialize(n[1], !0).length : 0, s = t, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), u(t);
|
|
2768
2762
|
}
|
|
2769
2763
|
function u(t) {
|
|
2770
|
-
return t === s ? (o++, e.consume(t), u) : o < 3 ? n(t) : (e.exit("codeFencedFenceSequence"),
|
|
2764
|
+
return t === s ? (o++, e.consume(t), u) : o < 3 ? n(t) : (e.exit("codeFencedFenceSequence"), L(t) ? V(e, d, "whitespace")(t) : d(t));
|
|
2771
2765
|
}
|
|
2772
2766
|
function d(n) {
|
|
2773
|
-
return n === null ||
|
|
2767
|
+
return n === null || F(n) ? (e.exit("codeFencedFence"), r.interrupt ? t(n) : e.check(Ce, h, b)(n)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { contentType: "string" }), f(n));
|
|
2774
2768
|
}
|
|
2775
2769
|
function f(t) {
|
|
2776
|
-
return t === null ||
|
|
2770
|
+
return t === null || F(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(t)) : L(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), V(e, p, "whitespace")(t)) : t === 96 && t === s ? n(t) : (e.consume(t), f);
|
|
2777
2771
|
}
|
|
2778
2772
|
function p(t) {
|
|
2779
|
-
return t === null ||
|
|
2773
|
+
return t === null || F(t) ? d(t) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { contentType: "string" }), m(t));
|
|
2780
2774
|
}
|
|
2781
2775
|
function m(t) {
|
|
2782
|
-
return t === null ||
|
|
2776
|
+
return t === null || F(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(t)) : t === 96 && t === s ? n(t) : (e.consume(t), m);
|
|
2783
2777
|
}
|
|
2784
2778
|
function h(t) {
|
|
2785
2779
|
return e.attempt(i, b, g)(t);
|
|
@@ -2788,13 +2782,13 @@ function we(e, t, n) {
|
|
|
2788
2782
|
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), _;
|
|
2789
2783
|
}
|
|
2790
2784
|
function _(t) {
|
|
2791
|
-
return a > 0 &&
|
|
2785
|
+
return a > 0 && L(t) ? V(e, v, "linePrefix", a + 1)(t) : v(t);
|
|
2792
2786
|
}
|
|
2793
2787
|
function v(t) {
|
|
2794
|
-
return t === null ||
|
|
2788
|
+
return t === null || F(t) ? e.check(Ce, h, b)(t) : (e.enter("codeFlowValue"), y(t));
|
|
2795
2789
|
}
|
|
2796
2790
|
function y(t) {
|
|
2797
|
-
return t === null ||
|
|
2791
|
+
return t === null || F(t) ? (e.exit("codeFlowValue"), v(t)) : (e.consume(t), y);
|
|
2798
2792
|
}
|
|
2799
2793
|
function b(n) {
|
|
2800
2794
|
return e.exit("codeFenced"), t(n);
|
|
@@ -2806,20 +2800,20 @@ function we(e, t, n) {
|
|
|
2806
2800
|
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), c;
|
|
2807
2801
|
}
|
|
2808
2802
|
function c(t) {
|
|
2809
|
-
return e.enter("codeFencedFence"),
|
|
2803
|
+
return e.enter("codeFencedFence"), L(t) ? V(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : l(t);
|
|
2810
2804
|
}
|
|
2811
2805
|
function l(t) {
|
|
2812
2806
|
return t === s ? (e.enter("codeFencedFenceSequence"), u(t)) : n(t);
|
|
2813
2807
|
}
|
|
2814
2808
|
function u(t) {
|
|
2815
|
-
return t === s ? (i++, e.consume(t), u) : i >= o ? (e.exit("codeFencedFenceSequence"),
|
|
2809
|
+
return t === s ? (i++, e.consume(t), u) : i >= o ? (e.exit("codeFencedFenceSequence"), L(t) ? V(e, d, "whitespace")(t) : d(t)) : n(t);
|
|
2816
2810
|
}
|
|
2817
2811
|
function d(r) {
|
|
2818
|
-
return r === null ||
|
|
2812
|
+
return r === null || F(r) ? (e.exit("codeFencedFence"), t(r)) : n(r);
|
|
2819
2813
|
}
|
|
2820
2814
|
}
|
|
2821
2815
|
}
|
|
2822
|
-
function
|
|
2816
|
+
function Ee(e, t, n) {
|
|
2823
2817
|
let r = this;
|
|
2824
2818
|
return i;
|
|
2825
2819
|
function i(t) {
|
|
@@ -2831,53 +2825,53 @@ function Te(e, t, n) {
|
|
|
2831
2825
|
}
|
|
2832
2826
|
//#endregion
|
|
2833
2827
|
//#region ../node_modules/micromark-core-commonmark/lib/code-indented.js
|
|
2834
|
-
var
|
|
2828
|
+
var De = {
|
|
2835
2829
|
name: "codeIndented",
|
|
2836
|
-
tokenize: Oe
|
|
2837
|
-
}, De = {
|
|
2838
|
-
partial: !0,
|
|
2839
2830
|
tokenize: ke
|
|
2831
|
+
}, Oe = {
|
|
2832
|
+
partial: !0,
|
|
2833
|
+
tokenize: Ae
|
|
2840
2834
|
};
|
|
2841
|
-
function
|
|
2835
|
+
function ke(e, t, n) {
|
|
2842
2836
|
let r = this;
|
|
2843
2837
|
return i;
|
|
2844
2838
|
function i(t) {
|
|
2845
|
-
return e.enter("codeIndented"),
|
|
2839
|
+
return e.enter("codeIndented"), V(e, a, "linePrefix", 5)(t);
|
|
2846
2840
|
}
|
|
2847
2841
|
function a(e) {
|
|
2848
2842
|
let t = r.events[r.events.length - 1];
|
|
2849
2843
|
return t && t[1].type === "linePrefix" && t[2].sliceSerialize(t[1], !0).length >= 4 ? o(e) : n(e);
|
|
2850
2844
|
}
|
|
2851
2845
|
function o(t) {
|
|
2852
|
-
return t === null ? c(t) :
|
|
2846
|
+
return t === null ? c(t) : F(t) ? e.attempt(Oe, o, c)(t) : (e.enter("codeFlowValue"), s(t));
|
|
2853
2847
|
}
|
|
2854
2848
|
function s(t) {
|
|
2855
|
-
return t === null ||
|
|
2849
|
+
return t === null || F(t) ? (e.exit("codeFlowValue"), o(t)) : (e.consume(t), s);
|
|
2856
2850
|
}
|
|
2857
2851
|
function c(n) {
|
|
2858
2852
|
return e.exit("codeIndented"), t(n);
|
|
2859
2853
|
}
|
|
2860
2854
|
}
|
|
2861
|
-
function
|
|
2855
|
+
function Ae(e, t, n) {
|
|
2862
2856
|
let r = this;
|
|
2863
2857
|
return i;
|
|
2864
2858
|
function i(t) {
|
|
2865
|
-
return r.parser.lazy[r.now().line] ? n(t) :
|
|
2859
|
+
return r.parser.lazy[r.now().line] ? n(t) : F(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), i) : V(e, a, "linePrefix", 5)(t);
|
|
2866
2860
|
}
|
|
2867
2861
|
function a(e) {
|
|
2868
2862
|
let a = r.events[r.events.length - 1];
|
|
2869
|
-
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(e) :
|
|
2863
|
+
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(e) : F(e) ? i(e) : n(e);
|
|
2870
2864
|
}
|
|
2871
2865
|
}
|
|
2872
2866
|
//#endregion
|
|
2873
2867
|
//#region ../node_modules/micromark-core-commonmark/lib/code-text.js
|
|
2874
|
-
var
|
|
2868
|
+
var je = {
|
|
2875
2869
|
name: "codeText",
|
|
2876
|
-
previous:
|
|
2877
|
-
resolve:
|
|
2878
|
-
tokenize:
|
|
2870
|
+
previous: Ne,
|
|
2871
|
+
resolve: Me,
|
|
2872
|
+
tokenize: Pe
|
|
2879
2873
|
};
|
|
2880
|
-
function
|
|
2874
|
+
function Me(e) {
|
|
2881
2875
|
let t = e.length - 4, n = 3, r, i;
|
|
2882
2876
|
if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
|
|
2883
2877
|
for (r = n; ++r < t;) if (e[r][1].type === "codeTextData") {
|
|
@@ -2888,10 +2882,10 @@ function je(e) {
|
|
|
2888
2882
|
for (r = n - 1, t++; ++r <= t;) i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0);
|
|
2889
2883
|
return e;
|
|
2890
2884
|
}
|
|
2891
|
-
function
|
|
2885
|
+
function Ne(e) {
|
|
2892
2886
|
return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
2893
2887
|
}
|
|
2894
|
-
function
|
|
2888
|
+
function Pe(e, t, n) {
|
|
2895
2889
|
let r = 0, i, a;
|
|
2896
2890
|
return o;
|
|
2897
2891
|
function o(t) {
|
|
@@ -2901,10 +2895,10 @@ function Ne(e, t, n) {
|
|
|
2901
2895
|
return t === 96 ? (e.consume(t), r++, s) : (e.exit("codeTextSequence"), c(t));
|
|
2902
2896
|
}
|
|
2903
2897
|
function c(t) {
|
|
2904
|
-
return t === null ? n(t) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), c) : t === 96 ? (a = e.enter("codeTextSequence"), i = 0, u(t)) :
|
|
2898
|
+
return t === null ? n(t) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), c) : t === 96 ? (a = e.enter("codeTextSequence"), i = 0, u(t)) : F(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), c) : (e.enter("codeTextData"), l(t));
|
|
2905
2899
|
}
|
|
2906
2900
|
function l(t) {
|
|
2907
|
-
return t === null || t === 32 || t === 96 ||
|
|
2901
|
+
return t === null || t === 32 || t === 96 || F(t) ? (e.exit("codeTextData"), c(t)) : (e.consume(t), l);
|
|
2908
2902
|
}
|
|
2909
2903
|
function u(n) {
|
|
2910
2904
|
return n === 96 ? (e.consume(n), i++, u) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(n)) : (a.type = "codeTextData", l(n));
|
|
@@ -2912,7 +2906,7 @@ function Ne(e, t, n) {
|
|
|
2912
2906
|
}
|
|
2913
2907
|
//#endregion
|
|
2914
2908
|
//#region ../node_modules/micromark-util-subtokenize/lib/splice-buffer.js
|
|
2915
|
-
var
|
|
2909
|
+
var Fe = class {
|
|
2916
2910
|
constructor(e) {
|
|
2917
2911
|
this.left = e ? [...e] : [], this.right = [];
|
|
2918
2912
|
}
|
|
@@ -2934,7 +2928,7 @@ var Pe = class {
|
|
|
2934
2928
|
let r = t || 0;
|
|
2935
2929
|
this.setCursor(Math.trunc(e));
|
|
2936
2930
|
let i = this.right.splice(this.right.length - r, Infinity);
|
|
2937
|
-
return n &&
|
|
2931
|
+
return n && G(this.left, n), i.reverse();
|
|
2938
2932
|
}
|
|
2939
2933
|
pop() {
|
|
2940
2934
|
return this.setCursor(Infinity), this.left.pop();
|
|
@@ -2943,27 +2937,27 @@ var Pe = class {
|
|
|
2943
2937
|
this.setCursor(Infinity), this.left.push(e);
|
|
2944
2938
|
}
|
|
2945
2939
|
pushMany(e) {
|
|
2946
|
-
this.setCursor(Infinity),
|
|
2940
|
+
this.setCursor(Infinity), G(this.left, e);
|
|
2947
2941
|
}
|
|
2948
2942
|
unshift(e) {
|
|
2949
2943
|
this.setCursor(0), this.right.push(e);
|
|
2950
2944
|
}
|
|
2951
2945
|
unshiftMany(e) {
|
|
2952
|
-
this.setCursor(0),
|
|
2946
|
+
this.setCursor(0), G(this.right, e.reverse());
|
|
2953
2947
|
}
|
|
2954
2948
|
setCursor(e) {
|
|
2955
2949
|
if (!(e === this.left.length || e > this.left.length && this.right.length === 0 || e < 0 && this.left.length === 0)) {
|
|
2956
2950
|
if (e < this.left.length) {
|
|
2957
2951
|
let t = this.left.splice(e, Infinity);
|
|
2958
|
-
|
|
2952
|
+
G(this.right, t.reverse());
|
|
2959
2953
|
} else {
|
|
2960
2954
|
let t = this.right.splice(this.left.length + this.right.length - e, Infinity);
|
|
2961
|
-
|
|
2955
|
+
G(this.left, t.reverse());
|
|
2962
2956
|
}
|
|
2963
2957
|
}
|
|
2964
2958
|
}
|
|
2965
2959
|
};
|
|
2966
|
-
function
|
|
2960
|
+
function G(e, t) {
|
|
2967
2961
|
let n = 0;
|
|
2968
2962
|
if (t.length < 1e4) e.push(...t);
|
|
2969
2963
|
else for (; n < t.length;) e.push(...t.slice(n, n + 1e4)), n += 1e4;
|
|
@@ -2971,7 +2965,7 @@ function Fe(e, t) {
|
|
|
2971
2965
|
//#endregion
|
|
2972
2966
|
//#region ../node_modules/micromark-util-subtokenize/index.js
|
|
2973
2967
|
function Ie(e) {
|
|
2974
|
-
let t = {}, n = -1, r, i, a, o, s, c, l, u = new
|
|
2968
|
+
let t = {}, n = -1, r, i, a, o, s, c, l, u = new Fe(e);
|
|
2975
2969
|
for (; ++n < u.length;) {
|
|
2976
2970
|
for (; n in t;) n = t[n];
|
|
2977
2971
|
if (r = u.get(n), n && r[1].type === "chunkFlow" && u.get(n - 1)[1].type === "listItemPrefix" && (c = r[1]._tokenizer.events, a = 0, a < c.length && c[a][1].type === "lineEndingBlank" && (a += 2), a < c.length && c[a][1].type === "content")) for (; ++a < c.length && c[a][1].type !== "content";) c[a][1].type === "chunkText" && (c[a][1]._isInFirstContentOfListItem = !0, a++);
|
|
@@ -2982,7 +2976,7 @@ function Ie(e) {
|
|
|
2982
2976
|
i && (r[1].end = { ...u.get(i)[1].start }, s = u.slice(i, n), s.unshift(r), u.splice(i, n - i + 1, s));
|
|
2983
2977
|
}
|
|
2984
2978
|
}
|
|
2985
|
-
return
|
|
2979
|
+
return S(e, 0, Infinity, u.slice(0)), !l;
|
|
2986
2980
|
}
|
|
2987
2981
|
function Le(e, t) {
|
|
2988
2982
|
let n = e.get(t)[1], r = e.get(t)[2], i = t - 1, a = [], o = n._tokenizer;
|
|
@@ -3019,7 +3013,7 @@ function Ve(e, t) {
|
|
|
3019
3013
|
return e.enter("content"), n = e.enter("chunkContent", { contentType: "content" }), i(t);
|
|
3020
3014
|
}
|
|
3021
3015
|
function i(t) {
|
|
3022
|
-
return t === null ? a(t) :
|
|
3016
|
+
return t === null ? a(t) : F(t) ? e.check(ze, o, a)(t) : (e.consume(t), i);
|
|
3023
3017
|
}
|
|
3024
3018
|
function a(n) {
|
|
3025
3019
|
return e.exit("chunkContent"), e.exit("content"), t(n);
|
|
@@ -3035,10 +3029,10 @@ function He(e, t, n) {
|
|
|
3035
3029
|
let r = this;
|
|
3036
3030
|
return i;
|
|
3037
3031
|
function i(t) {
|
|
3038
|
-
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"),
|
|
3032
|
+
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), V(e, a, "linePrefix");
|
|
3039
3033
|
}
|
|
3040
3034
|
function a(i) {
|
|
3041
|
-
if (i === null ||
|
|
3035
|
+
if (i === null || F(i)) return n(i);
|
|
3042
3036
|
let a = r.events[r.events.length - 1];
|
|
3043
3037
|
return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(i) : e.interrupt(r.parser.constructs.flow, n, t)(i);
|
|
3044
3038
|
}
|
|
@@ -3049,19 +3043,19 @@ function Ue(e, t, n, r, i, a, o, s, c) {
|
|
|
3049
3043
|
let l = c || Infinity, u = 0;
|
|
3050
3044
|
return d;
|
|
3051
3045
|
function d(t) {
|
|
3052
|
-
return t === 60 ? (e.enter(r), e.enter(i), e.enter(a), e.consume(t), e.exit(a), f) : t === null || t === 32 || t === 41 ||
|
|
3046
|
+
return t === 60 ? (e.enter(r), e.enter(i), e.enter(a), e.consume(t), e.exit(a), f) : t === null || t === 32 || t === 41 || M(t) ? n(t) : (e.enter(r), e.enter(o), e.enter(s), e.enter("chunkString", { contentType: "string" }), h(t));
|
|
3053
3047
|
}
|
|
3054
3048
|
function f(n) {
|
|
3055
3049
|
return n === 62 ? (e.enter(a), e.consume(n), e.exit(a), e.exit(i), e.exit(r), t) : (e.enter(s), e.enter("chunkString", { contentType: "string" }), p(n));
|
|
3056
3050
|
}
|
|
3057
3051
|
function p(t) {
|
|
3058
|
-
return t === 62 ? (e.exit("chunkString"), e.exit(s), f(t)) : t === null || t === 60 ||
|
|
3052
|
+
return t === 62 ? (e.exit("chunkString"), e.exit(s), f(t)) : t === null || t === 60 || F(t) ? n(t) : (e.consume(t), t === 92 ? m : p);
|
|
3059
3053
|
}
|
|
3060
3054
|
function m(t) {
|
|
3061
3055
|
return t === 60 || t === 62 || t === 92 ? (e.consume(t), p) : p(t);
|
|
3062
3056
|
}
|
|
3063
3057
|
function h(i) {
|
|
3064
|
-
return !u && (i === null || i === 41 ||
|
|
3058
|
+
return !u && (i === null || i === 41 || I(i)) ? (e.exit("chunkString"), e.exit(s), e.exit(o), e.exit(r), t(i)) : u < l && i === 40 ? (e.consume(i), u++, h) : i === 41 ? (e.consume(i), u--, h) : i === null || i === 32 || i === 40 || M(i) ? n(i) : (e.consume(i), i === 92 ? g : h);
|
|
3065
3059
|
}
|
|
3066
3060
|
function g(t) {
|
|
3067
3061
|
return t === 40 || t === 41 || t === 92 ? (e.consume(t), h) : h(t);
|
|
@@ -3078,10 +3072,10 @@ function We(e, t, n, r, i, a) {
|
|
|
3078
3072
|
function u(l) {
|
|
3079
3073
|
return s > 999 || l === null || l === 91 || l === 93 && !c ||
|
|
3080
3074
|
/* c8 ignore next 3 */
|
|
3081
|
-
l === 94 && !s && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : l === 93 ? (e.exit(a), e.enter(i), e.consume(l), e.exit(i), e.exit(r), t) :
|
|
3075
|
+
l === 94 && !s && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : l === 93 ? (e.exit(a), e.enter(i), e.consume(l), e.exit(i), e.exit(r), t) : F(l) ? (e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), u) : (e.enter("chunkString", { contentType: "string" }), d(l));
|
|
3082
3076
|
}
|
|
3083
3077
|
function d(t) {
|
|
3084
|
-
return t === null || t === 91 || t === 93 ||
|
|
3078
|
+
return t === null || t === 91 || t === 93 || F(t) || s++ > 999 ? (e.exit("chunkString"), u(t)) : (e.consume(t), c ||= !L(t), t === 92 ? f : d);
|
|
3085
3079
|
}
|
|
3086
3080
|
function f(t) {
|
|
3087
3081
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), s++, d) : d(t);
|
|
@@ -3099,10 +3093,10 @@ function Ge(e, t, n, r, i, a) {
|
|
|
3099
3093
|
return n === o ? (e.enter(i), e.consume(n), e.exit(i), e.exit(r), t) : (e.enter(a), l(n));
|
|
3100
3094
|
}
|
|
3101
3095
|
function l(t) {
|
|
3102
|
-
return t === o ? (e.exit(a), c(o)) : t === null ? n(t) :
|
|
3096
|
+
return t === o ? (e.exit(a), c(o)) : t === null ? n(t) : F(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), V(e, l, "linePrefix")) : (e.enter("chunkString", { contentType: "string" }), u(t));
|
|
3103
3097
|
}
|
|
3104
3098
|
function u(t) {
|
|
3105
|
-
return t === o || t === null ||
|
|
3099
|
+
return t === o || t === null || F(t) ? (e.exit("chunkString"), l(t)) : (e.consume(t), t === 92 ? d : u);
|
|
3106
3100
|
}
|
|
3107
3101
|
function d(t) {
|
|
3108
3102
|
return t === o || t === 92 ? (e.consume(t), u) : u(t);
|
|
@@ -3110,23 +3104,23 @@ function Ge(e, t, n, r, i, a) {
|
|
|
3110
3104
|
}
|
|
3111
3105
|
//#endregion
|
|
3112
3106
|
//#region ../node_modules/micromark-factory-whitespace/index.js
|
|
3113
|
-
function
|
|
3107
|
+
function K(e, t) {
|
|
3114
3108
|
let n;
|
|
3115
3109
|
return r;
|
|
3116
3110
|
function r(i) {
|
|
3117
|
-
return
|
|
3111
|
+
return F(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) : L(i) ? V(e, r, n ? "linePrefix" : "lineSuffix")(i) : t(i);
|
|
3118
3112
|
}
|
|
3119
3113
|
}
|
|
3120
3114
|
//#endregion
|
|
3121
3115
|
//#region ../node_modules/micromark-core-commonmark/lib/definition.js
|
|
3122
|
-
var
|
|
3116
|
+
var Ke = {
|
|
3123
3117
|
name: "definition",
|
|
3124
|
-
tokenize:
|
|
3125
|
-
},
|
|
3118
|
+
tokenize: Je
|
|
3119
|
+
}, qe = {
|
|
3126
3120
|
partial: !0,
|
|
3127
|
-
tokenize:
|
|
3121
|
+
tokenize: Ye
|
|
3128
3122
|
};
|
|
3129
|
-
function
|
|
3123
|
+
function Je(e, t, n) {
|
|
3130
3124
|
let r = this, i;
|
|
3131
3125
|
return a;
|
|
3132
3126
|
function a(t) {
|
|
@@ -3136,62 +3130,62 @@ function Ye(e, t, n) {
|
|
|
3136
3130
|
return We.call(r, e, s, n, "definitionLabel", "definitionLabelMarker", "definitionLabelString")(t);
|
|
3137
3131
|
}
|
|
3138
3132
|
function s(t) {
|
|
3139
|
-
return i =
|
|
3133
|
+
return i = k(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), c) : n(t);
|
|
3140
3134
|
}
|
|
3141
3135
|
function c(t) {
|
|
3142
|
-
return
|
|
3136
|
+
return I(t) ? K(e, l)(t) : l(t);
|
|
3143
3137
|
}
|
|
3144
3138
|
function l(t) {
|
|
3145
3139
|
return Ue(e, u, n, "definitionDestination", "definitionDestinationLiteral", "definitionDestinationLiteralMarker", "definitionDestinationRaw", "definitionDestinationString")(t);
|
|
3146
3140
|
}
|
|
3147
3141
|
function u(t) {
|
|
3148
|
-
return e.attempt(
|
|
3142
|
+
return e.attempt(qe, d, d)(t);
|
|
3149
3143
|
}
|
|
3150
3144
|
function d(t) {
|
|
3151
|
-
return
|
|
3145
|
+
return L(t) ? V(e, f, "whitespace")(t) : f(t);
|
|
3152
3146
|
}
|
|
3153
3147
|
function f(a) {
|
|
3154
|
-
return a === null ||
|
|
3148
|
+
return a === null || F(a) ? (e.exit("definition"), r.parser.defined.push(i), t(a)) : n(a);
|
|
3155
3149
|
}
|
|
3156
3150
|
}
|
|
3157
|
-
function
|
|
3151
|
+
function Ye(e, t, n) {
|
|
3158
3152
|
return r;
|
|
3159
3153
|
function r(t) {
|
|
3160
|
-
return
|
|
3154
|
+
return I(t) ? K(e, i)(t) : n(t);
|
|
3161
3155
|
}
|
|
3162
3156
|
function i(t) {
|
|
3163
3157
|
return Ge(e, a, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(t);
|
|
3164
3158
|
}
|
|
3165
3159
|
function a(t) {
|
|
3166
|
-
return
|
|
3160
|
+
return L(t) ? V(e, o, "whitespace")(t) : o(t);
|
|
3167
3161
|
}
|
|
3168
3162
|
function o(e) {
|
|
3169
|
-
return e === null ||
|
|
3163
|
+
return e === null || F(e) ? t(e) : n(e);
|
|
3170
3164
|
}
|
|
3171
3165
|
}
|
|
3172
3166
|
//#endregion
|
|
3173
3167
|
//#region ../node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
3174
|
-
var
|
|
3168
|
+
var Xe = {
|
|
3175
3169
|
name: "hardBreakEscape",
|
|
3176
|
-
tokenize:
|
|
3170
|
+
tokenize: Ze
|
|
3177
3171
|
};
|
|
3178
|
-
function
|
|
3172
|
+
function Ze(e, t, n) {
|
|
3179
3173
|
return r;
|
|
3180
3174
|
function r(t) {
|
|
3181
3175
|
return e.enter("hardBreakEscape"), e.consume(t), i;
|
|
3182
3176
|
}
|
|
3183
3177
|
function i(r) {
|
|
3184
|
-
return
|
|
3178
|
+
return F(r) ? (e.exit("hardBreakEscape"), t(r)) : n(r);
|
|
3185
3179
|
}
|
|
3186
3180
|
}
|
|
3187
3181
|
//#endregion
|
|
3188
3182
|
//#region ../node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
3189
|
-
var
|
|
3183
|
+
var Qe = {
|
|
3190
3184
|
name: "headingAtx",
|
|
3191
|
-
resolve:
|
|
3192
|
-
tokenize:
|
|
3185
|
+
resolve: $e,
|
|
3186
|
+
tokenize: et
|
|
3193
3187
|
};
|
|
3194
|
-
function
|
|
3188
|
+
function $e(e, t) {
|
|
3195
3189
|
let n = e.length - 2, r = 3, i, a;
|
|
3196
3190
|
return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (i = {
|
|
3197
3191
|
type: "atxHeadingText",
|
|
@@ -3202,7 +3196,7 @@ function et(e, t) {
|
|
|
3202
3196
|
start: e[r][1].start,
|
|
3203
3197
|
end: e[n][1].end,
|
|
3204
3198
|
contentType: "text"
|
|
3205
|
-
},
|
|
3199
|
+
}, S(e, r, n - r + 1, [
|
|
3206
3200
|
[
|
|
3207
3201
|
"enter",
|
|
3208
3202
|
i,
|
|
@@ -3225,7 +3219,7 @@ function et(e, t) {
|
|
|
3225
3219
|
]
|
|
3226
3220
|
])), e;
|
|
3227
3221
|
}
|
|
3228
|
-
function
|
|
3222
|
+
function et(e, t, n) {
|
|
3229
3223
|
let r = 0;
|
|
3230
3224
|
return i;
|
|
3231
3225
|
function i(t) {
|
|
@@ -3235,43 +3229,43 @@ function tt(e, t, n) {
|
|
|
3235
3229
|
return e.enter("atxHeadingSequence"), o(t);
|
|
3236
3230
|
}
|
|
3237
3231
|
function o(t) {
|
|
3238
|
-
return t === 35 && r++ < 6 ? (e.consume(t), o) : t === null ||
|
|
3232
|
+
return t === 35 && r++ < 6 ? (e.consume(t), o) : t === null || I(t) ? (e.exit("atxHeadingSequence"), s(t)) : n(t);
|
|
3239
3233
|
}
|
|
3240
3234
|
function s(n) {
|
|
3241
|
-
return n === 35 ? (e.enter("atxHeadingSequence"), c(n)) : n === null ||
|
|
3235
|
+
return n === 35 ? (e.enter("atxHeadingSequence"), c(n)) : n === null || F(n) ? (e.exit("atxHeading"), t(n)) : L(n) ? V(e, s, "whitespace")(n) : (e.enter("atxHeadingText"), l(n));
|
|
3242
3236
|
}
|
|
3243
3237
|
function c(t) {
|
|
3244
3238
|
return t === 35 ? (e.consume(t), c) : (e.exit("atxHeadingSequence"), s(t));
|
|
3245
3239
|
}
|
|
3246
3240
|
function l(t) {
|
|
3247
|
-
return t === null || t === 35 ||
|
|
3241
|
+
return t === null || t === 35 || I(t) ? (e.exit("atxHeadingText"), s(t)) : (e.consume(t), l);
|
|
3248
3242
|
}
|
|
3249
3243
|
}
|
|
3250
3244
|
//#endregion
|
|
3251
3245
|
//#region ../node_modules/micromark-util-html-tag-name/index.js
|
|
3252
|
-
var
|
|
3246
|
+
var tt = /* @__PURE__ */ "address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul".split("."), nt = [
|
|
3253
3247
|
"pre",
|
|
3254
3248
|
"script",
|
|
3255
3249
|
"style",
|
|
3256
3250
|
"textarea"
|
|
3257
|
-
],
|
|
3251
|
+
], rt = {
|
|
3258
3252
|
concrete: !0,
|
|
3259
3253
|
name: "htmlFlow",
|
|
3260
|
-
resolveTo:
|
|
3261
|
-
tokenize:
|
|
3262
|
-
},
|
|
3263
|
-
partial: !0,
|
|
3264
|
-
tokenize: ut
|
|
3265
|
-
}, ot = {
|
|
3254
|
+
resolveTo: ot,
|
|
3255
|
+
tokenize: st
|
|
3256
|
+
}, it = {
|
|
3266
3257
|
partial: !0,
|
|
3267
3258
|
tokenize: lt
|
|
3259
|
+
}, at = {
|
|
3260
|
+
partial: !0,
|
|
3261
|
+
tokenize: ct
|
|
3268
3262
|
};
|
|
3269
|
-
function
|
|
3263
|
+
function ot(e) {
|
|
3270
3264
|
let t = e.length;
|
|
3271
3265
|
for (; t-- && (e[t][0] !== "enter" || e[t][1].type !== "htmlFlow"););
|
|
3272
3266
|
return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e;
|
|
3273
3267
|
}
|
|
3274
|
-
function
|
|
3268
|
+
function st(e, t, n) {
|
|
3275
3269
|
let r = this, i, a, o, s, c;
|
|
3276
3270
|
return l;
|
|
3277
3271
|
function l(e) {
|
|
@@ -3281,137 +3275,137 @@ function ct(e, t, n) {
|
|
|
3281
3275
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(t), d;
|
|
3282
3276
|
}
|
|
3283
3277
|
function d(s) {
|
|
3284
|
-
return s === 33 ? (e.consume(s), f) : s === 47 ? (e.consume(s), a = !0, h) : s === 63 ? (e.consume(s), i = 3, r.interrupt ? t :
|
|
3278
|
+
return s === 33 ? (e.consume(s), f) : s === 47 ? (e.consume(s), a = !0, h) : s === 63 ? (e.consume(s), i = 3, r.interrupt ? t : z) : A(s) ? (e.consume(s), o = String.fromCharCode(s), g) : n(s);
|
|
3285
3279
|
}
|
|
3286
3280
|
function f(a) {
|
|
3287
|
-
return a === 45 ? (e.consume(a), i = 2, p) : a === 91 ? (e.consume(a), i = 5, s = 0, m) :
|
|
3281
|
+
return a === 45 ? (e.consume(a), i = 2, p) : a === 91 ? (e.consume(a), i = 5, s = 0, m) : A(a) ? (e.consume(a), i = 4, r.interrupt ? t : z) : n(a);
|
|
3288
3282
|
}
|
|
3289
3283
|
function p(i) {
|
|
3290
|
-
return i === 45 ? (e.consume(i), r.interrupt ? t :
|
|
3284
|
+
return i === 45 ? (e.consume(i), r.interrupt ? t : z) : n(i);
|
|
3291
3285
|
}
|
|
3292
3286
|
function m(i) {
|
|
3293
3287
|
return i === "CDATA[".charCodeAt(s++) ? (e.consume(i), s === 6 ? r.interrupt ? t : O : m) : n(i);
|
|
3294
3288
|
}
|
|
3295
3289
|
function h(t) {
|
|
3296
|
-
return
|
|
3290
|
+
return A(t) ? (e.consume(t), o = String.fromCharCode(t), g) : n(t);
|
|
3297
3291
|
}
|
|
3298
3292
|
function g(s) {
|
|
3299
|
-
if (s === null || s === 47 || s === 62 ||
|
|
3293
|
+
if (s === null || s === 47 || s === 62 || I(s)) {
|
|
3300
3294
|
let c = s === 47, l = o.toLowerCase();
|
|
3301
|
-
return !c && !a &&
|
|
3295
|
+
return !c && !a && nt.includes(l) ? (i = 1, r.interrupt ? t(s) : O(s)) : tt.includes(o.toLowerCase()) ? (i = 6, c ? (e.consume(s), _) : r.interrupt ? t(s) : O(s)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(s) : a ? v(s) : y(s));
|
|
3302
3296
|
}
|
|
3303
|
-
return s === 45 ||
|
|
3297
|
+
return s === 45 || j(s) ? (e.consume(s), o += String.fromCharCode(s), g) : n(s);
|
|
3304
3298
|
}
|
|
3305
3299
|
function _(i) {
|
|
3306
3300
|
return i === 62 ? (e.consume(i), r.interrupt ? t : O) : n(i);
|
|
3307
3301
|
}
|
|
3308
3302
|
function v(t) {
|
|
3309
|
-
return
|
|
3303
|
+
return L(t) ? (e.consume(t), v) : E(t);
|
|
3310
3304
|
}
|
|
3311
3305
|
function y(t) {
|
|
3312
|
-
return t === 47 ? (e.consume(t), E) : t === 58 || t === 95 ||
|
|
3306
|
+
return t === 47 ? (e.consume(t), E) : t === 58 || t === 95 || A(t) ? (e.consume(t), b) : L(t) ? (e.consume(t), y) : E(t);
|
|
3313
3307
|
}
|
|
3314
3308
|
function b(t) {
|
|
3315
|
-
return t === 45 || t === 46 || t === 58 || t === 95 ||
|
|
3309
|
+
return t === 45 || t === 46 || t === 58 || t === 95 || j(t) ? (e.consume(t), b) : x(t);
|
|
3316
3310
|
}
|
|
3317
3311
|
function x(t) {
|
|
3318
|
-
return t === 61 ? (e.consume(t), S) :
|
|
3312
|
+
return t === 61 ? (e.consume(t), S) : L(t) ? (e.consume(t), x) : y(t);
|
|
3319
3313
|
}
|
|
3320
3314
|
function S(t) {
|
|
3321
|
-
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), c = t, C) :
|
|
3315
|
+
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), c = t, C) : L(t) ? (e.consume(t), S) : w(t);
|
|
3322
3316
|
}
|
|
3323
3317
|
function C(t) {
|
|
3324
|
-
return t === c ? (e.consume(t), c = null, T) : t === null ||
|
|
3318
|
+
return t === c ? (e.consume(t), c = null, T) : t === null || F(t) ? n(t) : (e.consume(t), C);
|
|
3325
3319
|
}
|
|
3326
3320
|
function w(t) {
|
|
3327
|
-
return t === null || t === 34 || t === 39 || t === 47 || t === 60 || t === 61 || t === 62 || t === 96 ||
|
|
3321
|
+
return t === null || t === 34 || t === 39 || t === 47 || t === 60 || t === 61 || t === 62 || t === 96 || I(t) ? x(t) : (e.consume(t), w);
|
|
3328
3322
|
}
|
|
3329
3323
|
function T(e) {
|
|
3330
|
-
return e === 47 || e === 62 ||
|
|
3324
|
+
return e === 47 || e === 62 || L(e) ? y(e) : n(e);
|
|
3331
3325
|
}
|
|
3332
3326
|
function E(t) {
|
|
3333
3327
|
return t === 62 ? (e.consume(t), D) : n(t);
|
|
3334
3328
|
}
|
|
3335
3329
|
function D(t) {
|
|
3336
|
-
return t === null ||
|
|
3330
|
+
return t === null || F(t) ? O(t) : L(t) ? (e.consume(t), D) : n(t);
|
|
3337
3331
|
}
|
|
3338
3332
|
function O(t) {
|
|
3339
|
-
return t === 45 && i === 2 ? (e.consume(t), N) : t === 60 && i === 1 ? (e.consume(t), P) : t === 62 && i === 4 ? (e.consume(t),
|
|
3333
|
+
return t === 45 && i === 2 ? (e.consume(t), N) : t === 60 && i === 1 ? (e.consume(t), P) : t === 62 && i === 4 ? (e.consume(t), B) : t === 63 && i === 3 ? (e.consume(t), z) : t === 93 && i === 5 ? (e.consume(t), R) : F(t) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(it, V, k)(t)) : t === null || F(t) ? (e.exit("htmlFlowData"), k(t)) : (e.consume(t), O);
|
|
3340
3334
|
}
|
|
3341
3335
|
function k(t) {
|
|
3342
|
-
return e.check(
|
|
3343
|
-
}
|
|
3344
|
-
function A(t) {
|
|
3345
|
-
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), ee;
|
|
3336
|
+
return e.check(at, ee, V)(t);
|
|
3346
3337
|
}
|
|
3347
3338
|
function ee(t) {
|
|
3348
|
-
return
|
|
3339
|
+
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), M;
|
|
3340
|
+
}
|
|
3341
|
+
function M(t) {
|
|
3342
|
+
return t === null || F(t) ? k(t) : (e.enter("htmlFlowData"), O(t));
|
|
3349
3343
|
}
|
|
3350
3344
|
function N(t) {
|
|
3351
|
-
return t === 45 ? (e.consume(t),
|
|
3345
|
+
return t === 45 ? (e.consume(t), z) : O(t);
|
|
3352
3346
|
}
|
|
3353
3347
|
function P(t) {
|
|
3354
|
-
return t === 47 ? (e.consume(t), o = "",
|
|
3348
|
+
return t === 47 ? (e.consume(t), o = "", te) : O(t);
|
|
3355
3349
|
}
|
|
3356
|
-
function
|
|
3350
|
+
function te(t) {
|
|
3357
3351
|
if (t === 62) {
|
|
3358
3352
|
let n = o.toLowerCase();
|
|
3359
|
-
return
|
|
3353
|
+
return nt.includes(n) ? (e.consume(t), B) : O(t);
|
|
3360
3354
|
}
|
|
3361
|
-
return
|
|
3355
|
+
return A(t) && o.length < 8 ? (e.consume(t), o += String.fromCharCode(t), te) : O(t);
|
|
3362
3356
|
}
|
|
3363
|
-
function
|
|
3364
|
-
return t === 93 ? (e.consume(t),
|
|
3357
|
+
function R(t) {
|
|
3358
|
+
return t === 93 ? (e.consume(t), z) : O(t);
|
|
3365
3359
|
}
|
|
3366
|
-
function
|
|
3367
|
-
return t === 62 ? (e.consume(t),
|
|
3360
|
+
function z(t) {
|
|
3361
|
+
return t === 62 ? (e.consume(t), B) : t === 45 && i === 2 ? (e.consume(t), z) : O(t);
|
|
3368
3362
|
}
|
|
3369
|
-
function
|
|
3370
|
-
return t === null ||
|
|
3363
|
+
function B(t) {
|
|
3364
|
+
return t === null || F(t) ? (e.exit("htmlFlowData"), V(t)) : (e.consume(t), B);
|
|
3371
3365
|
}
|
|
3372
|
-
function
|
|
3366
|
+
function V(n) {
|
|
3373
3367
|
return e.exit("htmlFlow"), t(n);
|
|
3374
3368
|
}
|
|
3375
3369
|
}
|
|
3376
|
-
function
|
|
3370
|
+
function ct(e, t, n) {
|
|
3377
3371
|
let r = this;
|
|
3378
3372
|
return i;
|
|
3379
3373
|
function i(t) {
|
|
3380
|
-
return
|
|
3374
|
+
return F(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), a) : n(t);
|
|
3381
3375
|
}
|
|
3382
3376
|
function a(e) {
|
|
3383
3377
|
return r.parser.lazy[r.now().line] ? n(e) : t(e);
|
|
3384
3378
|
}
|
|
3385
3379
|
}
|
|
3386
|
-
function
|
|
3380
|
+
function lt(e, t, n) {
|
|
3387
3381
|
return r;
|
|
3388
3382
|
function r(r) {
|
|
3389
|
-
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(
|
|
3383
|
+
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(W, t, n);
|
|
3390
3384
|
}
|
|
3391
3385
|
}
|
|
3392
3386
|
//#endregion
|
|
3393
3387
|
//#region ../node_modules/micromark-core-commonmark/lib/html-text.js
|
|
3394
|
-
var
|
|
3388
|
+
var ut = {
|
|
3395
3389
|
name: "htmlText",
|
|
3396
|
-
tokenize:
|
|
3390
|
+
tokenize: dt
|
|
3397
3391
|
};
|
|
3398
|
-
function
|
|
3392
|
+
function dt(e, t, n) {
|
|
3399
3393
|
let r = this, i, a, o;
|
|
3400
3394
|
return s;
|
|
3401
3395
|
function s(t) {
|
|
3402
3396
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(t), c;
|
|
3403
3397
|
}
|
|
3404
3398
|
function c(t) {
|
|
3405
|
-
return t === 33 ? (e.consume(t), l) : t === 47 ? (e.consume(t), x) : t === 63 ? (e.consume(t), y) :
|
|
3399
|
+
return t === 33 ? (e.consume(t), l) : t === 47 ? (e.consume(t), x) : t === 63 ? (e.consume(t), y) : A(t) ? (e.consume(t), w) : n(t);
|
|
3406
3400
|
}
|
|
3407
3401
|
function l(t) {
|
|
3408
|
-
return t === 45 ? (e.consume(t), u) : t === 91 ? (e.consume(t), a = 0, m) :
|
|
3402
|
+
return t === 45 ? (e.consume(t), u) : t === 91 ? (e.consume(t), a = 0, m) : A(t) ? (e.consume(t), v) : n(t);
|
|
3409
3403
|
}
|
|
3410
3404
|
function u(t) {
|
|
3411
3405
|
return t === 45 ? (e.consume(t), p) : n(t);
|
|
3412
3406
|
}
|
|
3413
3407
|
function d(t) {
|
|
3414
|
-
return t === null ? n(t) : t === 45 ? (e.consume(t), f) :
|
|
3408
|
+
return t === null ? n(t) : t === 45 ? (e.consume(t), f) : F(t) ? (o = d, P(t)) : (e.consume(t), d);
|
|
3415
3409
|
}
|
|
3416
3410
|
function f(t) {
|
|
3417
3411
|
return t === 45 ? (e.consume(t), p) : d(t);
|
|
@@ -3423,7 +3417,7 @@ function ft(e, t, n) {
|
|
|
3423
3417
|
return t === "CDATA[".charCodeAt(a++) ? (e.consume(t), a === 6 ? h : m) : n(t);
|
|
3424
3418
|
}
|
|
3425
3419
|
function h(t) {
|
|
3426
|
-
return t === null ? n(t) : t === 93 ? (e.consume(t), g) :
|
|
3420
|
+
return t === null ? n(t) : t === 93 ? (e.consume(t), g) : F(t) ? (o = h, P(t)) : (e.consume(t), h);
|
|
3427
3421
|
}
|
|
3428
3422
|
function g(t) {
|
|
3429
3423
|
return t === 93 ? (e.consume(t), _) : h(t);
|
|
@@ -3432,69 +3426,69 @@ function ft(e, t, n) {
|
|
|
3432
3426
|
return t === 62 ? N(t) : t === 93 ? (e.consume(t), _) : h(t);
|
|
3433
3427
|
}
|
|
3434
3428
|
function v(t) {
|
|
3435
|
-
return t === null || t === 62 ? N(t) :
|
|
3429
|
+
return t === null || t === 62 ? N(t) : F(t) ? (o = v, P(t)) : (e.consume(t), v);
|
|
3436
3430
|
}
|
|
3437
3431
|
function y(t) {
|
|
3438
|
-
return t === null ? n(t) : t === 63 ? (e.consume(t), b) :
|
|
3432
|
+
return t === null ? n(t) : t === 63 ? (e.consume(t), b) : F(t) ? (o = y, P(t)) : (e.consume(t), y);
|
|
3439
3433
|
}
|
|
3440
3434
|
function b(e) {
|
|
3441
3435
|
return e === 62 ? N(e) : y(e);
|
|
3442
3436
|
}
|
|
3443
3437
|
function x(t) {
|
|
3444
|
-
return
|
|
3438
|
+
return A(t) ? (e.consume(t), S) : n(t);
|
|
3445
3439
|
}
|
|
3446
3440
|
function S(t) {
|
|
3447
|
-
return t === 45 ||
|
|
3441
|
+
return t === 45 || j(t) ? (e.consume(t), S) : C(t);
|
|
3448
3442
|
}
|
|
3449
3443
|
function C(t) {
|
|
3450
|
-
return
|
|
3444
|
+
return F(t) ? (o = C, P(t)) : L(t) ? (e.consume(t), C) : N(t);
|
|
3451
3445
|
}
|
|
3452
3446
|
function w(t) {
|
|
3453
|
-
return t === 45 ||
|
|
3447
|
+
return t === 45 || j(t) ? (e.consume(t), w) : t === 47 || t === 62 || I(t) ? T(t) : n(t);
|
|
3454
3448
|
}
|
|
3455
3449
|
function T(t) {
|
|
3456
|
-
return t === 47 ? (e.consume(t), N) : t === 58 || t === 95 ||
|
|
3450
|
+
return t === 47 ? (e.consume(t), N) : t === 58 || t === 95 || A(t) ? (e.consume(t), E) : F(t) ? (o = T, P(t)) : L(t) ? (e.consume(t), T) : N(t);
|
|
3457
3451
|
}
|
|
3458
3452
|
function E(t) {
|
|
3459
|
-
return t === 45 || t === 46 || t === 58 || t === 95 ||
|
|
3453
|
+
return t === 45 || t === 46 || t === 58 || t === 95 || j(t) ? (e.consume(t), E) : D(t);
|
|
3460
3454
|
}
|
|
3461
3455
|
function D(t) {
|
|
3462
|
-
return t === 61 ? (e.consume(t), O) :
|
|
3456
|
+
return t === 61 ? (e.consume(t), O) : F(t) ? (o = D, P(t)) : L(t) ? (e.consume(t), D) : T(t);
|
|
3463
3457
|
}
|
|
3464
3458
|
function O(t) {
|
|
3465
|
-
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), i = t, k) :
|
|
3459
|
+
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), i = t, k) : F(t) ? (o = O, P(t)) : L(t) ? (e.consume(t), O) : (e.consume(t), ee);
|
|
3466
3460
|
}
|
|
3467
3461
|
function k(t) {
|
|
3468
|
-
return t === i ? (e.consume(t), i = void 0,
|
|
3462
|
+
return t === i ? (e.consume(t), i = void 0, M) : t === null ? n(t) : F(t) ? (o = k, P(t)) : (e.consume(t), k);
|
|
3469
3463
|
}
|
|
3470
|
-
function
|
|
3471
|
-
return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 ||
|
|
3464
|
+
function ee(t) {
|
|
3465
|
+
return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 || I(t) ? T(t) : (e.consume(t), ee);
|
|
3472
3466
|
}
|
|
3473
|
-
function
|
|
3474
|
-
return e === 47 || e === 62 ||
|
|
3467
|
+
function M(e) {
|
|
3468
|
+
return e === 47 || e === 62 || I(e) ? T(e) : n(e);
|
|
3475
3469
|
}
|
|
3476
3470
|
function N(r) {
|
|
3477
3471
|
return r === 62 ? (e.consume(r), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(r);
|
|
3478
3472
|
}
|
|
3479
3473
|
function P(t) {
|
|
3480
|
-
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"),
|
|
3474
|
+
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), te;
|
|
3481
3475
|
}
|
|
3482
|
-
function
|
|
3483
|
-
return
|
|
3476
|
+
function te(t) {
|
|
3477
|
+
return L(t) ? V(e, R, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : R(t);
|
|
3484
3478
|
}
|
|
3485
|
-
function
|
|
3479
|
+
function R(t) {
|
|
3486
3480
|
return e.enter("htmlTextData"), o(t);
|
|
3487
3481
|
}
|
|
3488
3482
|
}
|
|
3489
3483
|
//#endregion
|
|
3490
3484
|
//#region ../node_modules/micromark-core-commonmark/lib/label-end.js
|
|
3491
|
-
var
|
|
3485
|
+
var ft = {
|
|
3492
3486
|
name: "labelEnd",
|
|
3493
|
-
resolveAll:
|
|
3494
|
-
resolveTo:
|
|
3495
|
-
tokenize:
|
|
3496
|
-
},
|
|
3497
|
-
function
|
|
3487
|
+
resolveAll: gt,
|
|
3488
|
+
resolveTo: _t,
|
|
3489
|
+
tokenize: vt
|
|
3490
|
+
}, pt = { tokenize: yt }, mt = { tokenize: bt }, ht = { tokenize: xt };
|
|
3491
|
+
function gt(e) {
|
|
3498
3492
|
let t = -1, n = [];
|
|
3499
3493
|
for (; ++t < e.length;) {
|
|
3500
3494
|
let r = e[t][1];
|
|
@@ -3503,9 +3497,9 @@ function _t(e) {
|
|
|
3503
3497
|
r.type = "data", t += e;
|
|
3504
3498
|
}
|
|
3505
3499
|
}
|
|
3506
|
-
return e.length !== n.length &&
|
|
3500
|
+
return e.length !== n.length && S(e, 0, e.length, n), e;
|
|
3507
3501
|
}
|
|
3508
|
-
function
|
|
3502
|
+
function _t(e, t) {
|
|
3509
3503
|
let n = e.length, r = 0, i, a, o, s;
|
|
3510
3504
|
for (; n--;) if (i = e[n][1], a) {
|
|
3511
3505
|
if (i.type === "link" || i.type === "labelLink" && i._inactive) break;
|
|
@@ -3537,11 +3531,11 @@ function vt(e, t) {
|
|
|
3537
3531
|
"enter",
|
|
3538
3532
|
l,
|
|
3539
3533
|
t
|
|
3540
|
-
]], s =
|
|
3534
|
+
]], s = C(s, e.slice(a + 1, a + r + 3)), s = C(s, [[
|
|
3541
3535
|
"enter",
|
|
3542
3536
|
u,
|
|
3543
3537
|
t
|
|
3544
|
-
]]), s =
|
|
3538
|
+
]]), s = C(s, ce(t.parser.constructs.insideSpan.null, e.slice(a + r + 4, o - 3), t)), s = C(s, [
|
|
3545
3539
|
[
|
|
3546
3540
|
"exit",
|
|
3547
3541
|
u,
|
|
@@ -3554,13 +3548,13 @@ function vt(e, t) {
|
|
|
3554
3548
|
l,
|
|
3555
3549
|
t
|
|
3556
3550
|
]
|
|
3557
|
-
]), s =
|
|
3551
|
+
]), s = C(s, e.slice(o + 1)), s = C(s, [[
|
|
3558
3552
|
"exit",
|
|
3559
3553
|
c,
|
|
3560
3554
|
t
|
|
3561
|
-
]]),
|
|
3555
|
+
]]), S(e, a, e.length, s), e;
|
|
3562
3556
|
}
|
|
3563
|
-
function
|
|
3557
|
+
function vt(e, t, n) {
|
|
3564
3558
|
let r = this, i = r.events.length, a, o;
|
|
3565
3559
|
for (; i--;) if ((r.events[i][1].type === "labelImage" || r.events[i][1].type === "labelLink") && !r.events[i][1]._balanced) {
|
|
3566
3560
|
a = r.events[i][1];
|
|
@@ -3568,16 +3562,16 @@ function yt(e, t, n) {
|
|
|
3568
3562
|
}
|
|
3569
3563
|
return s;
|
|
3570
3564
|
function s(t) {
|
|
3571
|
-
return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(
|
|
3565
|
+
return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(k(r.sliceSerialize({
|
|
3572
3566
|
start: a.end,
|
|
3573
3567
|
end: r.now()
|
|
3574
3568
|
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), e.exit("labelEnd"), c) : n(t);
|
|
3575
3569
|
}
|
|
3576
3570
|
function c(t) {
|
|
3577
|
-
return t === 40 ? e.attempt(
|
|
3571
|
+
return t === 40 ? e.attempt(pt, u, o ? u : d)(t) : t === 91 ? e.attempt(mt, u, o ? l : d)(t) : o ? u(t) : d(t);
|
|
3578
3572
|
}
|
|
3579
3573
|
function l(t) {
|
|
3580
|
-
return e.attempt(
|
|
3574
|
+
return e.attempt(ht, u, d)(t);
|
|
3581
3575
|
}
|
|
3582
3576
|
function u(e) {
|
|
3583
3577
|
return t(e);
|
|
@@ -3586,19 +3580,19 @@ function yt(e, t, n) {
|
|
|
3586
3580
|
return a._balanced = !0, n(e);
|
|
3587
3581
|
}
|
|
3588
3582
|
}
|
|
3589
|
-
function
|
|
3583
|
+
function yt(e, t, n) {
|
|
3590
3584
|
return r;
|
|
3591
3585
|
function r(t) {
|
|
3592
3586
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(t), e.exit("resourceMarker"), i;
|
|
3593
3587
|
}
|
|
3594
3588
|
function i(t) {
|
|
3595
|
-
return
|
|
3589
|
+
return I(t) ? K(e, a)(t) : a(t);
|
|
3596
3590
|
}
|
|
3597
3591
|
function a(t) {
|
|
3598
3592
|
return t === 41 ? u(t) : Ue(e, o, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(t);
|
|
3599
3593
|
}
|
|
3600
3594
|
function o(t) {
|
|
3601
|
-
return
|
|
3595
|
+
return I(t) ? K(e, c)(t) : u(t);
|
|
3602
3596
|
}
|
|
3603
3597
|
function s(e) {
|
|
3604
3598
|
return n(e);
|
|
@@ -3607,26 +3601,26 @@ function bt(e, t, n) {
|
|
|
3607
3601
|
return t === 34 || t === 39 || t === 40 ? Ge(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(t) : u(t);
|
|
3608
3602
|
}
|
|
3609
3603
|
function l(t) {
|
|
3610
|
-
return
|
|
3604
|
+
return I(t) ? K(e, u)(t) : u(t);
|
|
3611
3605
|
}
|
|
3612
3606
|
function u(r) {
|
|
3613
3607
|
return r === 41 ? (e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), e.exit("resource"), t) : n(r);
|
|
3614
3608
|
}
|
|
3615
3609
|
}
|
|
3616
|
-
function
|
|
3610
|
+
function bt(e, t, n) {
|
|
3617
3611
|
let r = this;
|
|
3618
3612
|
return i;
|
|
3619
3613
|
function i(t) {
|
|
3620
3614
|
return We.call(r, e, a, o, "reference", "referenceMarker", "referenceString")(t);
|
|
3621
3615
|
}
|
|
3622
3616
|
function a(e) {
|
|
3623
|
-
return r.parser.defined.includes(
|
|
3617
|
+
return r.parser.defined.includes(k(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(e) : n(e);
|
|
3624
3618
|
}
|
|
3625
3619
|
function o(e) {
|
|
3626
3620
|
return n(e);
|
|
3627
3621
|
}
|
|
3628
3622
|
}
|
|
3629
|
-
function
|
|
3623
|
+
function xt(e, t, n) {
|
|
3630
3624
|
return r;
|
|
3631
3625
|
function r(t) {
|
|
3632
3626
|
return e.enter("reference"), e.enter("referenceMarker"), e.consume(t), e.exit("referenceMarker"), i;
|
|
@@ -3637,12 +3631,12 @@ function St(e, t, n) {
|
|
|
3637
3631
|
}
|
|
3638
3632
|
//#endregion
|
|
3639
3633
|
//#region ../node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
3640
|
-
var
|
|
3634
|
+
var St = {
|
|
3641
3635
|
name: "labelStartImage",
|
|
3642
|
-
resolveAll:
|
|
3643
|
-
tokenize:
|
|
3636
|
+
resolveAll: ft.resolveAll,
|
|
3637
|
+
tokenize: Ct
|
|
3644
3638
|
};
|
|
3645
|
-
function
|
|
3639
|
+
function Ct(e, t, n) {
|
|
3646
3640
|
let r = this;
|
|
3647
3641
|
return i;
|
|
3648
3642
|
function i(t) {
|
|
@@ -3658,12 +3652,12 @@ function wt(e, t, n) {
|
|
|
3658
3652
|
}
|
|
3659
3653
|
//#endregion
|
|
3660
3654
|
//#region ../node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
3661
|
-
var
|
|
3655
|
+
var wt = {
|
|
3662
3656
|
name: "labelStartLink",
|
|
3663
|
-
resolveAll:
|
|
3664
|
-
tokenize:
|
|
3657
|
+
resolveAll: ft.resolveAll,
|
|
3658
|
+
tokenize: Tt
|
|
3665
3659
|
};
|
|
3666
|
-
function
|
|
3660
|
+
function Tt(e, t, n) {
|
|
3667
3661
|
let r = this;
|
|
3668
3662
|
return i;
|
|
3669
3663
|
function i(t) {
|
|
@@ -3676,23 +3670,23 @@ function Et(e, t, n) {
|
|
|
3676
3670
|
}
|
|
3677
3671
|
//#endregion
|
|
3678
3672
|
//#region ../node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
3679
|
-
var
|
|
3673
|
+
var Et = {
|
|
3680
3674
|
name: "lineEnding",
|
|
3681
|
-
tokenize:
|
|
3675
|
+
tokenize: Dt
|
|
3682
3676
|
};
|
|
3683
|
-
function
|
|
3677
|
+
function Dt(e, t) {
|
|
3684
3678
|
return n;
|
|
3685
3679
|
function n(n) {
|
|
3686
|
-
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"),
|
|
3680
|
+
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), V(e, t, "linePrefix");
|
|
3687
3681
|
}
|
|
3688
3682
|
}
|
|
3689
3683
|
//#endregion
|
|
3690
3684
|
//#region ../node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
3691
|
-
var
|
|
3685
|
+
var Ot = {
|
|
3692
3686
|
name: "thematicBreak",
|
|
3693
|
-
tokenize:
|
|
3687
|
+
tokenize: kt
|
|
3694
3688
|
};
|
|
3695
|
-
function
|
|
3689
|
+
function kt(e, t, n) {
|
|
3696
3690
|
let r = 0, i;
|
|
3697
3691
|
return a;
|
|
3698
3692
|
function a(t) {
|
|
@@ -3702,93 +3696,93 @@ function At(e, t, n) {
|
|
|
3702
3696
|
return i = e, s(e);
|
|
3703
3697
|
}
|
|
3704
3698
|
function s(a) {
|
|
3705
|
-
return a === i ? (e.enter("thematicBreakSequence"), c(a)) : r >= 3 && (a === null ||
|
|
3699
|
+
return a === i ? (e.enter("thematicBreakSequence"), c(a)) : r >= 3 && (a === null || F(a)) ? (e.exit("thematicBreak"), t(a)) : n(a);
|
|
3706
3700
|
}
|
|
3707
3701
|
function c(t) {
|
|
3708
|
-
return t === i ? (e.consume(t), r++, c) : (e.exit("thematicBreakSequence"),
|
|
3702
|
+
return t === i ? (e.consume(t), r++, c) : (e.exit("thematicBreakSequence"), L(t) ? V(e, s, "whitespace")(t) : s(t));
|
|
3709
3703
|
}
|
|
3710
3704
|
}
|
|
3711
3705
|
//#endregion
|
|
3712
3706
|
//#region ../node_modules/micromark-core-commonmark/lib/list.js
|
|
3713
3707
|
var q = {
|
|
3714
|
-
continuation: { tokenize:
|
|
3715
|
-
exit:
|
|
3708
|
+
continuation: { tokenize: Nt },
|
|
3709
|
+
exit: Ft,
|
|
3716
3710
|
name: "list",
|
|
3717
|
-
tokenize:
|
|
3718
|
-
},
|
|
3711
|
+
tokenize: Mt
|
|
3712
|
+
}, At = {
|
|
3719
3713
|
partial: !0,
|
|
3720
|
-
tokenize:
|
|
3721
|
-
},
|
|
3714
|
+
tokenize: It
|
|
3715
|
+
}, jt = {
|
|
3722
3716
|
partial: !0,
|
|
3723
|
-
tokenize:
|
|
3717
|
+
tokenize: Pt
|
|
3724
3718
|
};
|
|
3725
|
-
function
|
|
3719
|
+
function Mt(e, t, n) {
|
|
3726
3720
|
let r = this, i = r.events[r.events.length - 1], a = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
|
|
3727
3721
|
return s;
|
|
3728
3722
|
function s(t) {
|
|
3729
3723
|
let i = r.containerState.type || (t === 42 || t === 43 || t === 45 ? "listUnordered" : "listOrdered");
|
|
3730
|
-
if (i === "listUnordered" ? !r.containerState.marker || t === r.containerState.marker :
|
|
3731
|
-
if (r.containerState.type || (r.containerState.type = i, e.enter(i, { _container: !0 })), i === "listUnordered") return e.enter("listItemPrefix"), t === 42 || t === 45 ? e.check(
|
|
3724
|
+
if (i === "listUnordered" ? !r.containerState.marker || t === r.containerState.marker : N(t)) {
|
|
3725
|
+
if (r.containerState.type || (r.containerState.type = i, e.enter(i, { _container: !0 })), i === "listUnordered") return e.enter("listItemPrefix"), t === 42 || t === 45 ? e.check(Ot, n, l)(t) : l(t);
|
|
3732
3726
|
if (!r.interrupt || t === 49) return e.enter("listItemPrefix"), e.enter("listItemValue"), c(t);
|
|
3733
3727
|
}
|
|
3734
3728
|
return n(t);
|
|
3735
3729
|
}
|
|
3736
3730
|
function c(t) {
|
|
3737
|
-
return
|
|
3731
|
+
return N(t) && ++o < 10 ? (e.consume(t), c) : (!r.interrupt || o < 2) && (r.containerState.marker ? t === r.containerState.marker : t === 41 || t === 46) ? (e.exit("listItemValue"), l(t)) : n(t);
|
|
3738
3732
|
}
|
|
3739
3733
|
function l(t) {
|
|
3740
|
-
return e.enter("listItemMarker"), e.consume(t), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || t, e.check(
|
|
3734
|
+
return e.enter("listItemMarker"), e.consume(t), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || t, e.check(W, r.interrupt ? n : u, e.attempt(At, f, d));
|
|
3741
3735
|
}
|
|
3742
3736
|
function u(e) {
|
|
3743
3737
|
return r.containerState.initialBlankLine = !0, a++, f(e);
|
|
3744
3738
|
}
|
|
3745
3739
|
function d(t) {
|
|
3746
|
-
return
|
|
3740
|
+
return L(t) ? (e.enter("listItemPrefixWhitespace"), e.consume(t), e.exit("listItemPrefixWhitespace"), f) : n(t);
|
|
3747
3741
|
}
|
|
3748
3742
|
function f(n) {
|
|
3749
3743
|
return r.containerState.size = a + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(n);
|
|
3750
3744
|
}
|
|
3751
3745
|
}
|
|
3752
|
-
function
|
|
3746
|
+
function Nt(e, t, n) {
|
|
3753
3747
|
let r = this;
|
|
3754
|
-
return r.containerState._closeFlow = void 0, e.check(
|
|
3748
|
+
return r.containerState._closeFlow = void 0, e.check(W, i, a);
|
|
3755
3749
|
function i(n) {
|
|
3756
|
-
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine,
|
|
3750
|
+
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, V(e, t, "listItemIndent", r.containerState.size + 1)(n);
|
|
3757
3751
|
}
|
|
3758
3752
|
function a(n) {
|
|
3759
|
-
return r.containerState.furtherBlankLines || !
|
|
3753
|
+
return r.containerState.furtherBlankLines || !L(n) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(n)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(jt, t, o)(n));
|
|
3760
3754
|
}
|
|
3761
3755
|
function o(i) {
|
|
3762
|
-
return r.containerState._closeFlow = !0, r.interrupt = void 0,
|
|
3756
|
+
return r.containerState._closeFlow = !0, r.interrupt = void 0, V(e, e.attempt(q, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(i);
|
|
3763
3757
|
}
|
|
3764
3758
|
}
|
|
3765
|
-
function
|
|
3759
|
+
function Pt(e, t, n) {
|
|
3766
3760
|
let r = this;
|
|
3767
|
-
return
|
|
3761
|
+
return V(e, i, "listItemIndent", r.containerState.size + 1);
|
|
3768
3762
|
function i(e) {
|
|
3769
3763
|
let i = r.events[r.events.length - 1];
|
|
3770
3764
|
return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === r.containerState.size ? t(e) : n(e);
|
|
3771
3765
|
}
|
|
3772
3766
|
}
|
|
3773
|
-
function
|
|
3767
|
+
function Ft(e) {
|
|
3774
3768
|
e.exit(this.containerState.type);
|
|
3775
3769
|
}
|
|
3776
|
-
function
|
|
3770
|
+
function It(e, t, n) {
|
|
3777
3771
|
let r = this;
|
|
3778
|
-
return
|
|
3772
|
+
return V(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
|
|
3779
3773
|
function i(e) {
|
|
3780
3774
|
let i = r.events[r.events.length - 1];
|
|
3781
|
-
return !
|
|
3775
|
+
return !L(e) && i && i[1].type === "listItemPrefixWhitespace" ? t(e) : n(e);
|
|
3782
3776
|
}
|
|
3783
3777
|
}
|
|
3784
3778
|
//#endregion
|
|
3785
3779
|
//#region ../node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
3786
|
-
var
|
|
3780
|
+
var Lt = {
|
|
3787
3781
|
name: "setextUnderline",
|
|
3788
|
-
resolveTo:
|
|
3789
|
-
tokenize:
|
|
3782
|
+
resolveTo: Rt,
|
|
3783
|
+
tokenize: zt
|
|
3790
3784
|
};
|
|
3791
|
-
function
|
|
3785
|
+
function Rt(e, t) {
|
|
3792
3786
|
let n = e.length, r, i, a;
|
|
3793
3787
|
for (; n--;) if (e[n][0] === "enter") {
|
|
3794
3788
|
if (e[n][1].type === "content") {
|
|
@@ -3816,7 +3810,7 @@ function zt(e, t) {
|
|
|
3816
3810
|
t
|
|
3817
3811
|
]), e;
|
|
3818
3812
|
}
|
|
3819
|
-
function
|
|
3813
|
+
function zt(e, t, n) {
|
|
3820
3814
|
let r = this, i;
|
|
3821
3815
|
return a;
|
|
3822
3816
|
function a(t) {
|
|
@@ -3831,17 +3825,17 @@ function Bt(e, t, n) {
|
|
|
3831
3825
|
return e.enter("setextHeadingLineSequence"), s(t);
|
|
3832
3826
|
}
|
|
3833
3827
|
function s(t) {
|
|
3834
|
-
return t === i ? (e.consume(t), s) : (e.exit("setextHeadingLineSequence"),
|
|
3828
|
+
return t === i ? (e.consume(t), s) : (e.exit("setextHeadingLineSequence"), L(t) ? V(e, c, "lineSuffix")(t) : c(t));
|
|
3835
3829
|
}
|
|
3836
3830
|
function c(r) {
|
|
3837
|
-
return r === null ||
|
|
3831
|
+
return r === null || F(r) ? (e.exit("setextHeadingLine"), t(r)) : n(r);
|
|
3838
3832
|
}
|
|
3839
3833
|
}
|
|
3840
3834
|
//#endregion
|
|
3841
3835
|
//#region ../node_modules/micromark/lib/initialize/flow.js
|
|
3842
|
-
var
|
|
3843
|
-
function
|
|
3844
|
-
let t = this, n = e.attempt(
|
|
3836
|
+
var Bt = { tokenize: Vt };
|
|
3837
|
+
function Vt(e) {
|
|
3838
|
+
let t = this, n = e.attempt(W, r, e.attempt(this.parser.constructs.flowInitial, i, V(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Re, i)), "linePrefix")));
|
|
3845
3839
|
return n;
|
|
3846
3840
|
function r(r) {
|
|
3847
3841
|
if (r === null) {
|
|
@@ -3860,10 +3854,10 @@ function Ht(e) {
|
|
|
3860
3854
|
}
|
|
3861
3855
|
//#endregion
|
|
3862
3856
|
//#region ../node_modules/micromark/lib/initialize/text.js
|
|
3863
|
-
var
|
|
3864
|
-
function
|
|
3857
|
+
var Ht = { resolveAll: Kt() }, Ut = Gt("string"), Wt = Gt("text");
|
|
3858
|
+
function Gt(e) {
|
|
3865
3859
|
return {
|
|
3866
|
-
resolveAll:
|
|
3860
|
+
resolveAll: Kt(e === "text" ? qt : void 0),
|
|
3867
3861
|
tokenize: t
|
|
3868
3862
|
};
|
|
3869
3863
|
function t(t) {
|
|
@@ -3893,7 +3887,7 @@ function Kt(e) {
|
|
|
3893
3887
|
}
|
|
3894
3888
|
}
|
|
3895
3889
|
}
|
|
3896
|
-
function
|
|
3890
|
+
function Kt(e) {
|
|
3897
3891
|
return t;
|
|
3898
3892
|
function t(t, n) {
|
|
3899
3893
|
let r = -1, i;
|
|
@@ -3901,7 +3895,7 @@ function qt(e) {
|
|
|
3901
3895
|
return e ? e(t, n) : t;
|
|
3902
3896
|
}
|
|
3903
3897
|
}
|
|
3904
|
-
function
|
|
3898
|
+
function qt(e, t) {
|
|
3905
3899
|
let n = 0;
|
|
3906
3900
|
for (; ++n <= e.length;) if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") {
|
|
3907
3901
|
let r = e[n - 1][1], i = t.sliceStream(r), a = i.length, o = -1, s = 0, c;
|
|
@@ -3945,17 +3939,17 @@ function Jt(e, t) {
|
|
|
3945
3939
|
}
|
|
3946
3940
|
//#endregion
|
|
3947
3941
|
//#region ../node_modules/micromark/lib/constructs.js
|
|
3948
|
-
var
|
|
3949
|
-
attentionMarkers: () =>
|
|
3950
|
-
contentInitial: () =>
|
|
3951
|
-
disable: () =>
|
|
3952
|
-
document: () =>
|
|
3953
|
-
flow: () =>
|
|
3954
|
-
flowInitial: () =>
|
|
3955
|
-
insideSpan: () =>
|
|
3956
|
-
string: () =>
|
|
3957
|
-
text: () =>
|
|
3958
|
-
}),
|
|
3942
|
+
var Jt = /* @__PURE__ */ t({
|
|
3943
|
+
attentionMarkers: () => nn,
|
|
3944
|
+
contentInitial: () => Xt,
|
|
3945
|
+
disable: () => rn,
|
|
3946
|
+
document: () => Yt,
|
|
3947
|
+
flow: () => Qt,
|
|
3948
|
+
flowInitial: () => Zt,
|
|
3949
|
+
insideSpan: () => tn,
|
|
3950
|
+
string: () => $t,
|
|
3951
|
+
text: () => en
|
|
3952
|
+
}), Yt = {
|
|
3959
3953
|
42: q,
|
|
3960
3954
|
43: q,
|
|
3961
3955
|
45: q,
|
|
@@ -3969,40 +3963,40 @@ var Yt = /* @__PURE__ */ t({
|
|
|
3969
3963
|
55: q,
|
|
3970
3964
|
56: q,
|
|
3971
3965
|
57: q,
|
|
3972
|
-
62:
|
|
3973
|
-
},
|
|
3974
|
-
[-2]:
|
|
3975
|
-
[-1]:
|
|
3976
|
-
32:
|
|
3966
|
+
62: he
|
|
3967
|
+
}, Xt = { 91: Ke }, Zt = {
|
|
3968
|
+
[-2]: De,
|
|
3969
|
+
[-1]: De,
|
|
3970
|
+
32: De
|
|
3971
|
+
}, Qt = {
|
|
3972
|
+
35: Qe,
|
|
3973
|
+
42: Ot,
|
|
3974
|
+
45: [Lt, Ot],
|
|
3975
|
+
60: rt,
|
|
3976
|
+
61: Lt,
|
|
3977
|
+
95: Ot,
|
|
3978
|
+
96: we,
|
|
3979
|
+
126: we
|
|
3977
3980
|
}, $t = {
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
45: [Rt, kt],
|
|
3981
|
-
60: it,
|
|
3982
|
-
61: Rt,
|
|
3983
|
-
95: kt,
|
|
3984
|
-
96: Ce,
|
|
3985
|
-
126: Ce
|
|
3981
|
+
38: xe,
|
|
3982
|
+
92: ye
|
|
3986
3983
|
}, en = {
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
95: se,
|
|
4001
|
-
96: Ae
|
|
4002
|
-
}, nn = { null: [se, Ut] }, rn = { null: [42, 95] }, an = { null: [] };
|
|
3984
|
+
[-5]: Et,
|
|
3985
|
+
[-4]: Et,
|
|
3986
|
+
[-3]: Et,
|
|
3987
|
+
33: St,
|
|
3988
|
+
38: xe,
|
|
3989
|
+
42: U,
|
|
3990
|
+
60: [fe, ut],
|
|
3991
|
+
91: wt,
|
|
3992
|
+
92: [Xe, ye],
|
|
3993
|
+
93: ft,
|
|
3994
|
+
95: U,
|
|
3995
|
+
96: je
|
|
3996
|
+
}, tn = { null: [U, Ht] }, nn = { null: [42, 95] }, rn = { null: [] };
|
|
4003
3997
|
//#endregion
|
|
4004
3998
|
//#region ../node_modules/micromark/lib/create-tokenizer.js
|
|
4005
|
-
function
|
|
3999
|
+
function an(e, t, n) {
|
|
4006
4000
|
let r = {
|
|
4007
4001
|
_bufferIndex: -1,
|
|
4008
4002
|
_index: 0,
|
|
@@ -4011,11 +4005,11 @@ function on(e, t, n) {
|
|
|
4011
4005
|
offset: n && n.offset || 0
|
|
4012
4006
|
}, i = {}, a = [], o = [], s = [], c = {
|
|
4013
4007
|
attempt: T(x),
|
|
4014
|
-
check: T(
|
|
4008
|
+
check: T(w),
|
|
4015
4009
|
consume: v,
|
|
4016
4010
|
enter: y,
|
|
4017
4011
|
exit: b,
|
|
4018
|
-
interrupt: T(
|
|
4012
|
+
interrupt: T(w, { interrupt: !0 })
|
|
4019
4013
|
}, l = {
|
|
4020
4014
|
code: null,
|
|
4021
4015
|
containerState: {},
|
|
@@ -4030,13 +4024,13 @@ function on(e, t, n) {
|
|
|
4030
4024
|
}, u = t.tokenize.call(l, c);
|
|
4031
4025
|
return t.resolveAll && a.push(t), l;
|
|
4032
4026
|
function d(e) {
|
|
4033
|
-
return o =
|
|
4027
|
+
return o = C(o, e), g(), o[o.length - 1] === null ? (E(t, 0), l.events = ce(a, l.events, l), l.events) : [];
|
|
4034
4028
|
}
|
|
4035
4029
|
function f(e, t) {
|
|
4036
|
-
return
|
|
4030
|
+
return sn(p(e), t);
|
|
4037
4031
|
}
|
|
4038
4032
|
function p(e) {
|
|
4039
|
-
return
|
|
4033
|
+
return on(o, e);
|
|
4040
4034
|
}
|
|
4041
4035
|
function m() {
|
|
4042
4036
|
let { _bufferIndex: e, _index: t, line: n, column: i, offset: a } = r;
|
|
@@ -4063,7 +4057,7 @@ function on(e, t, n) {
|
|
|
4063
4057
|
u = u(e);
|
|
4064
4058
|
}
|
|
4065
4059
|
function v(e) {
|
|
4066
|
-
|
|
4060
|
+
F(e) ? (r.line++, r.column = 1, r.offset += e === -3 ? 2 : 1, O()) : e !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === o[r._index].length && (r._bufferIndex = -1, r._index++)), l.previous = e;
|
|
4067
4061
|
}
|
|
4068
4062
|
function y(e, t) {
|
|
4069
4063
|
let n = t || {};
|
|
@@ -4084,7 +4078,7 @@ function on(e, t, n) {
|
|
|
4084
4078
|
function x(e, t) {
|
|
4085
4079
|
E(e, t.from);
|
|
4086
4080
|
}
|
|
4087
|
-
function
|
|
4081
|
+
function w(e, t) {
|
|
4088
4082
|
t.restore();
|
|
4089
4083
|
}
|
|
4090
4084
|
function T(e, t) {
|
|
@@ -4117,7 +4111,7 @@ function on(e, t, n) {
|
|
|
4117
4111
|
}
|
|
4118
4112
|
}
|
|
4119
4113
|
function E(e, t) {
|
|
4120
|
-
e.resolveAll && !a.includes(e) && a.push(e), e.resolve &&
|
|
4114
|
+
e.resolveAll && !a.includes(e) && a.push(e), e.resolve && S(l.events, t, l.events.length - t, e.resolve(l.events.slice(t), l)), e.resolveTo && (l.events = e.resolveTo(l.events, l));
|
|
4121
4115
|
}
|
|
4122
4116
|
function D() {
|
|
4123
4117
|
let e = m(), t = l.previous, n = l.currentConstruct, i = l.events.length, a = Array.from(s);
|
|
@@ -4133,7 +4127,7 @@ function on(e, t, n) {
|
|
|
4133
4127
|
r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
|
|
4134
4128
|
}
|
|
4135
4129
|
}
|
|
4136
|
-
function
|
|
4130
|
+
function on(e, t) {
|
|
4137
4131
|
let n = t.start._index, r = t.start._bufferIndex, i = t.end._index, a = t.end._bufferIndex, o;
|
|
4138
4132
|
if (n === i) o = [e[n].slice(r, a)];
|
|
4139
4133
|
else {
|
|
@@ -4145,7 +4139,7 @@ function sn(e, t) {
|
|
|
4145
4139
|
}
|
|
4146
4140
|
return o;
|
|
4147
4141
|
}
|
|
4148
|
-
function
|
|
4142
|
+
function sn(e, t) {
|
|
4149
4143
|
let n = -1, r = [], i;
|
|
4150
4144
|
for (; ++n < e.length;) {
|
|
4151
4145
|
let a = e[n], o;
|
|
@@ -4175,41 +4169,41 @@ function cn(e, t) {
|
|
|
4175
4169
|
}
|
|
4176
4170
|
//#endregion
|
|
4177
4171
|
//#region ../node_modules/micromark/lib/parse.js
|
|
4178
|
-
function
|
|
4172
|
+
function cn(e) {
|
|
4179
4173
|
let t = {
|
|
4180
|
-
constructs:
|
|
4181
|
-
content: n(
|
|
4174
|
+
constructs: T([Jt, ...(e || {}).extensions || []]),
|
|
4175
|
+
content: n(ne),
|
|
4182
4176
|
defined: [],
|
|
4183
|
-
document: n(
|
|
4184
|
-
flow: n(
|
|
4177
|
+
document: n(ie),
|
|
4178
|
+
flow: n(Bt),
|
|
4185
4179
|
lazy: {},
|
|
4186
|
-
string: n(
|
|
4187
|
-
text: n(
|
|
4180
|
+
string: n(Ut),
|
|
4181
|
+
text: n(Wt)
|
|
4188
4182
|
};
|
|
4189
4183
|
return t;
|
|
4190
4184
|
function n(e) {
|
|
4191
4185
|
return n;
|
|
4192
4186
|
function n(n) {
|
|
4193
|
-
return
|
|
4187
|
+
return an(t, e, n);
|
|
4194
4188
|
}
|
|
4195
4189
|
}
|
|
4196
4190
|
}
|
|
4197
4191
|
//#endregion
|
|
4198
4192
|
//#region ../node_modules/micromark/lib/postprocess.js
|
|
4199
|
-
function
|
|
4193
|
+
function ln(e) {
|
|
4200
4194
|
for (; !Ie(e););
|
|
4201
4195
|
return e;
|
|
4202
4196
|
}
|
|
4203
4197
|
//#endregion
|
|
4204
4198
|
//#region ../node_modules/micromark/lib/preprocess.js
|
|
4205
|
-
var
|
|
4206
|
-
function
|
|
4199
|
+
var un = /[\0\t\n\r]/g;
|
|
4200
|
+
function dn() {
|
|
4207
4201
|
let e = 1, t = "", n = !0, r;
|
|
4208
4202
|
return i;
|
|
4209
4203
|
function i(i, a, o) {
|
|
4210
4204
|
let s = [], c, l, u, d, f;
|
|
4211
4205
|
for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(a || void 0).decode(i)), u = 0, t = "", n &&= (i.charCodeAt(0) === 65279 && u++, void 0); u < i.length;) {
|
|
4212
|
-
if (
|
|
4206
|
+
if (un.lastIndex = u, c = un.exec(i), d = c && c.index !== void 0 ? c.index : i.length, f = i.charCodeAt(d), !c) {
|
|
4213
4207
|
t = i.slice(u);
|
|
4214
4208
|
break;
|
|
4215
4209
|
}
|
|
@@ -4233,25 +4227,25 @@ function fn() {
|
|
|
4233
4227
|
}
|
|
4234
4228
|
//#endregion
|
|
4235
4229
|
//#region ../node_modules/micromark-util-decode-string/index.js
|
|
4236
|
-
var
|
|
4237
|
-
function
|
|
4238
|
-
return e.replace(
|
|
4230
|
+
var fn = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
4231
|
+
function pn(e) {
|
|
4232
|
+
return e.replace(fn, mn);
|
|
4239
4233
|
}
|
|
4240
|
-
function
|
|
4234
|
+
function mn(e, t, n) {
|
|
4241
4235
|
if (t) return t;
|
|
4242
4236
|
if (n.charCodeAt(0) === 35) {
|
|
4243
4237
|
let e = n.charCodeAt(1), t = e === 120 || e === 88;
|
|
4244
|
-
return
|
|
4238
|
+
return O(n.slice(t ? 2 : 1), t ? 16 : 10);
|
|
4245
4239
|
}
|
|
4246
|
-
return
|
|
4240
|
+
return x(n) || e;
|
|
4247
4241
|
}
|
|
4248
4242
|
//#endregion
|
|
4249
4243
|
//#region ../node_modules/mdast-util-from-markdown/lib/index.js
|
|
4250
|
-
var
|
|
4251
|
-
function
|
|
4252
|
-
return t && typeof t == "object" && (n = t, t = void 0),
|
|
4244
|
+
var hn = {}.hasOwnProperty;
|
|
4245
|
+
function gn(e, t, n) {
|
|
4246
|
+
return t && typeof t == "object" && (n = t, t = void 0), _n(n)(ln(cn(n).document().write(dn()(e, t, !0))));
|
|
4253
4247
|
}
|
|
4254
|
-
function
|
|
4248
|
+
function _n(e) {
|
|
4255
4249
|
let t = {
|
|
4256
4250
|
transforms: [],
|
|
4257
4251
|
canContainEols: [
|
|
@@ -4262,93 +4256,93 @@ function vn(e) {
|
|
|
4262
4256
|
"strong"
|
|
4263
4257
|
],
|
|
4264
4258
|
enter: {
|
|
4265
|
-
autolink: a(
|
|
4266
|
-
autolinkProtocol:
|
|
4267
|
-
autolinkEmail:
|
|
4268
|
-
atxHeading: a(
|
|
4269
|
-
blockQuote: a(
|
|
4270
|
-
characterEscape:
|
|
4271
|
-
characterReference:
|
|
4272
|
-
codeFenced: a(
|
|
4259
|
+
autolink: a(he),
|
|
4260
|
+
autolinkProtocol: A,
|
|
4261
|
+
autolinkEmail: A,
|
|
4262
|
+
atxHeading: a(fe),
|
|
4263
|
+
blockQuote: a(ce),
|
|
4264
|
+
characterEscape: A,
|
|
4265
|
+
characterReference: A,
|
|
4266
|
+
codeFenced: a(U),
|
|
4273
4267
|
codeFencedFenceInfo: o,
|
|
4274
4268
|
codeFencedFenceMeta: o,
|
|
4275
|
-
codeIndented: a(
|
|
4276
|
-
codeText: a(
|
|
4277
|
-
codeTextData:
|
|
4278
|
-
data:
|
|
4279
|
-
codeFlowValue:
|
|
4280
|
-
definition: a(
|
|
4269
|
+
codeIndented: a(U, o),
|
|
4270
|
+
codeText: a(le, o),
|
|
4271
|
+
codeTextData: A,
|
|
4272
|
+
data: A,
|
|
4273
|
+
codeFlowValue: A,
|
|
4274
|
+
definition: a(ue),
|
|
4281
4275
|
definitionDestinationString: o,
|
|
4282
4276
|
definitionLabelString: o,
|
|
4283
4277
|
definitionTitleString: o,
|
|
4284
|
-
emphasis: a(
|
|
4285
|
-
hardBreakEscape: a(
|
|
4286
|
-
hardBreakTrailing: a(
|
|
4287
|
-
htmlFlow: a(
|
|
4288
|
-
htmlFlowData:
|
|
4289
|
-
htmlText: a(
|
|
4290
|
-
htmlTextData:
|
|
4291
|
-
image: a(
|
|
4278
|
+
emphasis: a(de),
|
|
4279
|
+
hardBreakEscape: a(pe),
|
|
4280
|
+
hardBreakTrailing: a(pe),
|
|
4281
|
+
htmlFlow: a(W, o),
|
|
4282
|
+
htmlFlowData: A,
|
|
4283
|
+
htmlText: a(W, o),
|
|
4284
|
+
htmlTextData: A,
|
|
4285
|
+
image: a(me),
|
|
4292
4286
|
label: o,
|
|
4293
|
-
link: a(
|
|
4294
|
-
listItem: a(
|
|
4287
|
+
link: a(he),
|
|
4288
|
+
listItem: a(_e),
|
|
4295
4289
|
listItemValue: p,
|
|
4296
|
-
listOrdered: a(
|
|
4297
|
-
listUnordered: a(
|
|
4298
|
-
paragraph: a(
|
|
4299
|
-
reference:
|
|
4290
|
+
listOrdered: a(ge, f),
|
|
4291
|
+
listUnordered: a(ge),
|
|
4292
|
+
paragraph: a(ve),
|
|
4293
|
+
reference: ne,
|
|
4300
4294
|
referenceString: o,
|
|
4301
4295
|
resourceDestinationString: o,
|
|
4302
4296
|
resourceTitleString: o,
|
|
4303
|
-
setextHeading: a(
|
|
4304
|
-
strong: a(
|
|
4305
|
-
thematicBreak: a(
|
|
4297
|
+
setextHeading: a(fe),
|
|
4298
|
+
strong: a(ye),
|
|
4299
|
+
thematicBreak: a(xe)
|
|
4306
4300
|
},
|
|
4307
4301
|
exit: {
|
|
4308
4302
|
atxHeading: c(),
|
|
4309
4303
|
atxHeadingSequence: w,
|
|
4310
4304
|
autolink: c(),
|
|
4311
|
-
autolinkEmail:
|
|
4312
|
-
autolinkProtocol:
|
|
4305
|
+
autolinkEmail: H,
|
|
4306
|
+
autolinkProtocol: se,
|
|
4313
4307
|
blockQuote: c(),
|
|
4314
4308
|
characterEscapeValue: j,
|
|
4315
|
-
characterReferenceMarkerHexadecimal:
|
|
4316
|
-
characterReferenceMarkerNumeric:
|
|
4317
|
-
characterReferenceValue:
|
|
4318
|
-
characterReference:
|
|
4309
|
+
characterReferenceMarkerHexadecimal: ie,
|
|
4310
|
+
characterReferenceMarkerNumeric: ie,
|
|
4311
|
+
characterReferenceValue: ae,
|
|
4312
|
+
characterReference: oe,
|
|
4319
4313
|
codeFenced: c(v),
|
|
4320
4314
|
codeFencedFence: _,
|
|
4321
4315
|
codeFencedFenceInfo: m,
|
|
4322
|
-
codeFencedFenceMeta:
|
|
4316
|
+
codeFencedFenceMeta: g,
|
|
4323
4317
|
codeFlowValue: j,
|
|
4324
4318
|
codeIndented: c(y),
|
|
4325
|
-
codeText: c(
|
|
4319
|
+
codeText: c(te),
|
|
4326
4320
|
codeTextData: j,
|
|
4327
4321
|
data: j,
|
|
4328
4322
|
definition: c(),
|
|
4329
4323
|
definitionDestinationString: C,
|
|
4330
4324
|
definitionLabelString: b,
|
|
4331
|
-
definitionTitleString:
|
|
4325
|
+
definitionTitleString: S,
|
|
4332
4326
|
emphasis: c(),
|
|
4333
|
-
hardBreakEscape: c(
|
|
4334
|
-
hardBreakTrailing: c(
|
|
4327
|
+
hardBreakEscape: c(M),
|
|
4328
|
+
hardBreakTrailing: c(M),
|
|
4335
4329
|
htmlFlow: c(N),
|
|
4336
4330
|
htmlFlowData: j,
|
|
4337
4331
|
htmlText: c(P),
|
|
4338
4332
|
htmlTextData: j,
|
|
4339
|
-
image: c(
|
|
4340
|
-
label:
|
|
4341
|
-
labelText:
|
|
4342
|
-
lineEnding:
|
|
4343
|
-
link: c(
|
|
4333
|
+
image: c(I),
|
|
4334
|
+
label: R,
|
|
4335
|
+
labelText: L,
|
|
4336
|
+
lineEnding: ee,
|
|
4337
|
+
link: c(F),
|
|
4344
4338
|
listItem: c(),
|
|
4345
4339
|
listOrdered: c(),
|
|
4346
4340
|
listUnordered: c(),
|
|
4347
4341
|
paragraph: c(),
|
|
4348
|
-
referenceString:
|
|
4349
|
-
resourceDestinationString:
|
|
4350
|
-
resourceTitleString:
|
|
4351
|
-
resource:
|
|
4342
|
+
referenceString: re,
|
|
4343
|
+
resourceDestinationString: z,
|
|
4344
|
+
resourceTitleString: B,
|
|
4345
|
+
resource: V,
|
|
4352
4346
|
setextHeading: c(D),
|
|
4353
4347
|
setextHeadingLineSequence: E,
|
|
4354
4348
|
setextHeadingText: T,
|
|
@@ -4356,7 +4350,7 @@ function vn(e) {
|
|
|
4356
4350
|
thematicBreak: c()
|
|
4357
4351
|
}
|
|
4358
4352
|
};
|
|
4359
|
-
|
|
4353
|
+
vn(t, (e || {}).mdastExtensions || []);
|
|
4360
4354
|
let n = {};
|
|
4361
4355
|
return r;
|
|
4362
4356
|
function r(e) {
|
|
@@ -4368,19 +4362,19 @@ function vn(e) {
|
|
|
4368
4362
|
tokenStack: [],
|
|
4369
4363
|
config: t,
|
|
4370
4364
|
enter: s,
|
|
4371
|
-
exit:
|
|
4365
|
+
exit: u,
|
|
4372
4366
|
buffer: o,
|
|
4373
4367
|
resume: d,
|
|
4374
4368
|
data: n
|
|
4375
|
-
}, c = [],
|
|
4376
|
-
for (; ++
|
|
4377
|
-
for (
|
|
4378
|
-
let n = t[e[
|
|
4379
|
-
|
|
4369
|
+
}, c = [], l = -1;
|
|
4370
|
+
for (; ++l < e.length;) (e[l][1].type === "listOrdered" || e[l][1].type === "listUnordered") && (e[l][0] === "enter" ? c.push(l) : l = i(e, c.pop(), l));
|
|
4371
|
+
for (l = -1; ++l < e.length;) {
|
|
4372
|
+
let n = t[e[l][0]];
|
|
4373
|
+
hn.call(n, e[l][1].type) && n[e[l][1].type].call(Object.assign({ sliceSerialize: e[l][2].sliceSerialize }, a), e[l][1]);
|
|
4380
4374
|
}
|
|
4381
4375
|
if (a.tokenStack.length > 0) {
|
|
4382
4376
|
let e = a.tokenStack[a.tokenStack.length - 1];
|
|
4383
|
-
(e[1] ||
|
|
4377
|
+
(e[1] || bn).call(a, void 0, e[0]);
|
|
4384
4378
|
}
|
|
4385
4379
|
for (r.position = {
|
|
4386
4380
|
start: J(e.length > 0 ? e[0][1].start : {
|
|
@@ -4393,7 +4387,7 @@ function vn(e) {
|
|
|
4393
4387
|
column: 1,
|
|
4394
4388
|
offset: 0
|
|
4395
4389
|
})
|
|
4396
|
-
},
|
|
4390
|
+
}, l = -1; ++l < t.transforms.length;) r = t.transforms[l](r) || r;
|
|
4397
4391
|
return r;
|
|
4398
4392
|
}
|
|
4399
4393
|
function i(e, t, n) {
|
|
@@ -4470,20 +4464,20 @@ function vn(e) {
|
|
|
4470
4464
|
function c(e) {
|
|
4471
4465
|
return t;
|
|
4472
4466
|
function t(t) {
|
|
4473
|
-
e && e.call(this, t),
|
|
4467
|
+
e && e.call(this, t), u.call(this, t);
|
|
4474
4468
|
}
|
|
4475
4469
|
}
|
|
4476
|
-
function
|
|
4470
|
+
function u(e, t) {
|
|
4477
4471
|
let n = this.stack.pop(), r = this.tokenStack.pop();
|
|
4478
|
-
if (r) r[0].type !== e.type && (t ? t.call(this, e, r[0]) : (r[1] ||
|
|
4479
|
-
else throw Error("Cannot close `" + e.type + "` (" +
|
|
4472
|
+
if (r) r[0].type !== e.type && (t ? t.call(this, e, r[0]) : (r[1] || bn).call(this, e, r[0]));
|
|
4473
|
+
else throw Error("Cannot close `" + e.type + "` (" + l({
|
|
4480
4474
|
start: e.start,
|
|
4481
4475
|
end: e.end
|
|
4482
4476
|
}) + "): it’s not open");
|
|
4483
4477
|
n.position.end = J(e.end);
|
|
4484
4478
|
}
|
|
4485
4479
|
function d() {
|
|
4486
|
-
return
|
|
4480
|
+
return h(this.stack.pop());
|
|
4487
4481
|
}
|
|
4488
4482
|
function f() {
|
|
4489
4483
|
this.data.expectingFirstListItemValue = !0;
|
|
@@ -4498,7 +4492,7 @@ function vn(e) {
|
|
|
4498
4492
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4499
4493
|
t.lang = e;
|
|
4500
4494
|
}
|
|
4501
|
-
function
|
|
4495
|
+
function g() {
|
|
4502
4496
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4503
4497
|
t.meta = e;
|
|
4504
4498
|
}
|
|
@@ -4515,9 +4509,9 @@ function vn(e) {
|
|
|
4515
4509
|
}
|
|
4516
4510
|
function b(e) {
|
|
4517
4511
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
4518
|
-
n.label = t, n.identifier =
|
|
4512
|
+
n.label = t, n.identifier = k(this.sliceSerialize(e)).toLowerCase();
|
|
4519
4513
|
}
|
|
4520
|
-
function
|
|
4514
|
+
function S() {
|
|
4521
4515
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4522
4516
|
t.title = e;
|
|
4523
4517
|
}
|
|
@@ -4539,9 +4533,9 @@ function vn(e) {
|
|
|
4539
4533
|
function D() {
|
|
4540
4534
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
4541
4535
|
}
|
|
4542
|
-
function
|
|
4536
|
+
function A(e) {
|
|
4543
4537
|
let t = this.stack[this.stack.length - 1].children, n = t[t.length - 1];
|
|
4544
|
-
(!n || n.type !== "text") && (n =
|
|
4538
|
+
(!n || n.type !== "text") && (n = be(), n.position = {
|
|
4545
4539
|
start: J(e.start),
|
|
4546
4540
|
end: void 0
|
|
4547
4541
|
}, t.push(n)), this.stack.push(n);
|
|
@@ -4550,16 +4544,16 @@ function vn(e) {
|
|
|
4550
4544
|
let t = this.stack.pop();
|
|
4551
4545
|
t.value += this.sliceSerialize(e), t.position.end = J(e.end);
|
|
4552
4546
|
}
|
|
4553
|
-
function
|
|
4547
|
+
function ee(e) {
|
|
4554
4548
|
let n = this.stack[this.stack.length - 1];
|
|
4555
4549
|
if (this.data.atHardBreak) {
|
|
4556
4550
|
let t = n.children[n.children.length - 1];
|
|
4557
4551
|
t.position.end = J(e.end), this.data.atHardBreak = void 0;
|
|
4558
4552
|
return;
|
|
4559
4553
|
}
|
|
4560
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(n.type) && (
|
|
4554
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(n.type) && (A.call(this, e), j.call(this, e));
|
|
4561
4555
|
}
|
|
4562
|
-
function
|
|
4556
|
+
function M() {
|
|
4563
4557
|
this.data.atHardBreak = !0;
|
|
4564
4558
|
}
|
|
4565
4559
|
function N() {
|
|
@@ -4570,11 +4564,11 @@ function vn(e) {
|
|
|
4570
4564
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4571
4565
|
t.value = e;
|
|
4572
4566
|
}
|
|
4573
|
-
function
|
|
4567
|
+
function te() {
|
|
4574
4568
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4575
4569
|
t.value = e;
|
|
4576
4570
|
}
|
|
4577
|
-
function
|
|
4571
|
+
function F() {
|
|
4578
4572
|
let e = this.stack[this.stack.length - 1];
|
|
4579
4573
|
if (this.data.inReference) {
|
|
4580
4574
|
let t = this.data.referenceType || "shortcut";
|
|
@@ -4582,7 +4576,7 @@ function vn(e) {
|
|
|
4582
4576
|
} else delete e.identifier, delete e.label;
|
|
4583
4577
|
this.data.referenceType = void 0;
|
|
4584
4578
|
}
|
|
4585
|
-
function
|
|
4579
|
+
function I() {
|
|
4586
4580
|
let e = this.stack[this.stack.length - 1];
|
|
4587
4581
|
if (this.data.inReference) {
|
|
4588
4582
|
let t = this.data.referenceType || "shortcut";
|
|
@@ -4590,62 +4584,62 @@ function vn(e) {
|
|
|
4590
4584
|
} else delete e.identifier, delete e.label;
|
|
4591
4585
|
this.data.referenceType = void 0;
|
|
4592
4586
|
}
|
|
4593
|
-
function
|
|
4587
|
+
function L(e) {
|
|
4594
4588
|
let t = this.sliceSerialize(e), n = this.stack[this.stack.length - 2];
|
|
4595
|
-
n.label =
|
|
4589
|
+
n.label = pn(t), n.identifier = k(t).toLowerCase();
|
|
4596
4590
|
}
|
|
4597
|
-
function
|
|
4591
|
+
function R() {
|
|
4598
4592
|
let e = this.stack[this.stack.length - 1], t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
4599
4593
|
this.data.inReference = !0, n.type === "link" ? n.children = e.children : n.alt = t;
|
|
4600
4594
|
}
|
|
4601
|
-
function
|
|
4595
|
+
function z() {
|
|
4602
4596
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4603
4597
|
t.url = e;
|
|
4604
4598
|
}
|
|
4605
|
-
function
|
|
4599
|
+
function B() {
|
|
4606
4600
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4607
4601
|
t.title = e;
|
|
4608
4602
|
}
|
|
4609
|
-
function
|
|
4603
|
+
function V() {
|
|
4610
4604
|
this.data.inReference = void 0;
|
|
4611
4605
|
}
|
|
4612
|
-
function
|
|
4606
|
+
function ne() {
|
|
4613
4607
|
this.data.referenceType = "collapsed";
|
|
4614
4608
|
}
|
|
4615
|
-
function
|
|
4609
|
+
function re(e) {
|
|
4616
4610
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
4617
|
-
n.label = t, n.identifier =
|
|
4611
|
+
n.label = t, n.identifier = k(this.sliceSerialize(e)).toLowerCase(), this.data.referenceType = "full";
|
|
4618
4612
|
}
|
|
4619
|
-
function
|
|
4613
|
+
function ie(e) {
|
|
4620
4614
|
this.data.characterReferenceType = e.type;
|
|
4621
4615
|
}
|
|
4622
|
-
function
|
|
4616
|
+
function ae(e) {
|
|
4623
4617
|
let t = this.sliceSerialize(e), n = this.data.characterReferenceType, r;
|
|
4624
|
-
n ? (r =
|
|
4618
|
+
n ? (r = O(t, n === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : r = x(t);
|
|
4625
4619
|
let i = this.stack[this.stack.length - 1];
|
|
4626
4620
|
i.value += r;
|
|
4627
4621
|
}
|
|
4628
|
-
function
|
|
4622
|
+
function oe(e) {
|
|
4629
4623
|
let t = this.stack.pop();
|
|
4630
4624
|
t.position.end = J(e.end);
|
|
4631
4625
|
}
|
|
4632
|
-
function
|
|
4626
|
+
function se(e) {
|
|
4633
4627
|
j.call(this, e);
|
|
4634
4628
|
let t = this.stack[this.stack.length - 1];
|
|
4635
4629
|
t.url = this.sliceSerialize(e);
|
|
4636
4630
|
}
|
|
4637
|
-
function
|
|
4631
|
+
function H(e) {
|
|
4638
4632
|
j.call(this, e);
|
|
4639
4633
|
let t = this.stack[this.stack.length - 1];
|
|
4640
4634
|
t.url = "mailto:" + this.sliceSerialize(e);
|
|
4641
4635
|
}
|
|
4642
|
-
function
|
|
4636
|
+
function ce() {
|
|
4643
4637
|
return {
|
|
4644
4638
|
type: "blockquote",
|
|
4645
4639
|
children: []
|
|
4646
4640
|
};
|
|
4647
4641
|
}
|
|
4648
|
-
function
|
|
4642
|
+
function U() {
|
|
4649
4643
|
return {
|
|
4650
4644
|
type: "code",
|
|
4651
4645
|
lang: null,
|
|
@@ -4653,13 +4647,13 @@ function vn(e) {
|
|
|
4653
4647
|
value: ""
|
|
4654
4648
|
};
|
|
4655
4649
|
}
|
|
4656
|
-
function
|
|
4650
|
+
function le() {
|
|
4657
4651
|
return {
|
|
4658
4652
|
type: "inlineCode",
|
|
4659
4653
|
value: ""
|
|
4660
4654
|
};
|
|
4661
4655
|
}
|
|
4662
|
-
function
|
|
4656
|
+
function ue() {
|
|
4663
4657
|
return {
|
|
4664
4658
|
type: "definition",
|
|
4665
4659
|
identifier: "",
|
|
@@ -4668,29 +4662,29 @@ function vn(e) {
|
|
|
4668
4662
|
url: ""
|
|
4669
4663
|
};
|
|
4670
4664
|
}
|
|
4671
|
-
function
|
|
4665
|
+
function de() {
|
|
4672
4666
|
return {
|
|
4673
4667
|
type: "emphasis",
|
|
4674
4668
|
children: []
|
|
4675
4669
|
};
|
|
4676
4670
|
}
|
|
4677
|
-
function
|
|
4671
|
+
function fe() {
|
|
4678
4672
|
return {
|
|
4679
4673
|
type: "heading",
|
|
4680
4674
|
depth: 0,
|
|
4681
4675
|
children: []
|
|
4682
4676
|
};
|
|
4683
4677
|
}
|
|
4684
|
-
function
|
|
4678
|
+
function pe() {
|
|
4685
4679
|
return { type: "break" };
|
|
4686
4680
|
}
|
|
4687
|
-
function
|
|
4681
|
+
function W() {
|
|
4688
4682
|
return {
|
|
4689
4683
|
type: "html",
|
|
4690
4684
|
value: ""
|
|
4691
4685
|
};
|
|
4692
4686
|
}
|
|
4693
|
-
function
|
|
4687
|
+
function me() {
|
|
4694
4688
|
return {
|
|
4695
4689
|
type: "image",
|
|
4696
4690
|
title: null,
|
|
@@ -4698,7 +4692,7 @@ function vn(e) {
|
|
|
4698
4692
|
alt: null
|
|
4699
4693
|
};
|
|
4700
4694
|
}
|
|
4701
|
-
function
|
|
4695
|
+
function he() {
|
|
4702
4696
|
return {
|
|
4703
4697
|
type: "link",
|
|
4704
4698
|
title: null,
|
|
@@ -4706,7 +4700,7 @@ function vn(e) {
|
|
|
4706
4700
|
children: []
|
|
4707
4701
|
};
|
|
4708
4702
|
}
|
|
4709
|
-
function
|
|
4703
|
+
function ge(e) {
|
|
4710
4704
|
return {
|
|
4711
4705
|
type: "list",
|
|
4712
4706
|
ordered: e.type === "listOrdered",
|
|
@@ -4715,7 +4709,7 @@ function vn(e) {
|
|
|
4715
4709
|
children: []
|
|
4716
4710
|
};
|
|
4717
4711
|
}
|
|
4718
|
-
function
|
|
4712
|
+
function _e(e) {
|
|
4719
4713
|
return {
|
|
4720
4714
|
type: "listItem",
|
|
4721
4715
|
spread: e._spread,
|
|
@@ -4723,25 +4717,25 @@ function vn(e) {
|
|
|
4723
4717
|
children: []
|
|
4724
4718
|
};
|
|
4725
4719
|
}
|
|
4726
|
-
function
|
|
4720
|
+
function ve() {
|
|
4727
4721
|
return {
|
|
4728
4722
|
type: "paragraph",
|
|
4729
4723
|
children: []
|
|
4730
4724
|
};
|
|
4731
4725
|
}
|
|
4732
|
-
function
|
|
4726
|
+
function ye() {
|
|
4733
4727
|
return {
|
|
4734
4728
|
type: "strong",
|
|
4735
4729
|
children: []
|
|
4736
4730
|
};
|
|
4737
4731
|
}
|
|
4738
|
-
function
|
|
4732
|
+
function be() {
|
|
4739
4733
|
return {
|
|
4740
4734
|
type: "text",
|
|
4741
4735
|
value: ""
|
|
4742
4736
|
};
|
|
4743
4737
|
}
|
|
4744
|
-
function
|
|
4738
|
+
function xe() {
|
|
4745
4739
|
return { type: "thematicBreak" };
|
|
4746
4740
|
}
|
|
4747
4741
|
}
|
|
@@ -4752,16 +4746,16 @@ function J(e) {
|
|
|
4752
4746
|
offset: e.offset
|
|
4753
4747
|
};
|
|
4754
4748
|
}
|
|
4755
|
-
function
|
|
4749
|
+
function vn(e, t) {
|
|
4756
4750
|
let n = -1;
|
|
4757
4751
|
for (; ++n < t.length;) {
|
|
4758
4752
|
let r = t[n];
|
|
4759
|
-
Array.isArray(r) ?
|
|
4753
|
+
Array.isArray(r) ? vn(e, r) : yn(e, r);
|
|
4760
4754
|
}
|
|
4761
4755
|
}
|
|
4762
|
-
function
|
|
4756
|
+
function yn(e, t) {
|
|
4763
4757
|
let n;
|
|
4764
|
-
for (n in t) if (
|
|
4758
|
+
for (n in t) if (hn.call(t, n)) switch (n) {
|
|
4765
4759
|
case "canContainEols": {
|
|
4766
4760
|
let r = t[n];
|
|
4767
4761
|
r && e[n].push(...r);
|
|
@@ -4780,25 +4774,25 @@ function bn(e, t) {
|
|
|
4780
4774
|
}
|
|
4781
4775
|
}
|
|
4782
4776
|
}
|
|
4783
|
-
function
|
|
4784
|
-
throw Error(e ? "Cannot close `" + e.type + "` (" +
|
|
4777
|
+
function bn(e, t) {
|
|
4778
|
+
throw Error(e ? "Cannot close `" + e.type + "` (" + l({
|
|
4785
4779
|
start: e.start,
|
|
4786
4780
|
end: e.end
|
|
4787
|
-
}) + "): a different token (`" + t.type + "`, " +
|
|
4781
|
+
}) + "): a different token (`" + t.type + "`, " + l({
|
|
4788
4782
|
start: t.start,
|
|
4789
4783
|
end: t.end
|
|
4790
|
-
}) + ") is open" : "Cannot close document, a token (`" + t.type + "`, " +
|
|
4784
|
+
}) + ") is open" : "Cannot close document, a token (`" + t.type + "`, " + l({
|
|
4791
4785
|
start: t.start,
|
|
4792
4786
|
end: t.end
|
|
4793
4787
|
}) + ") is still open");
|
|
4794
4788
|
}
|
|
4795
4789
|
//#endregion
|
|
4796
4790
|
//#region ../node_modules/remark-parse/lib/index.js
|
|
4797
|
-
function
|
|
4791
|
+
function xn(e) {
|
|
4798
4792
|
let t = this;
|
|
4799
4793
|
t.parser = n;
|
|
4800
4794
|
function n(n) {
|
|
4801
|
-
return
|
|
4795
|
+
return gn(n, {
|
|
4802
4796
|
...t.data("settings"),
|
|
4803
4797
|
...e,
|
|
4804
4798
|
extensions: t.data("micromarkExtensions") || [],
|
|
@@ -4808,73 +4802,73 @@ function Sn(e) {
|
|
|
4808
4802
|
}
|
|
4809
4803
|
//#endregion
|
|
4810
4804
|
//#region ../node_modules/unist-util-is/lib/index.js
|
|
4811
|
-
var
|
|
4812
|
-
if (e == null) return
|
|
4813
|
-
if (typeof e == "function") return
|
|
4814
|
-
if (typeof e == "object") return Array.isArray(e) ?
|
|
4815
|
-
if (typeof e == "string") return
|
|
4805
|
+
var Sn = (function(e) {
|
|
4806
|
+
if (e == null) return Dn;
|
|
4807
|
+
if (typeof e == "function") return En(e);
|
|
4808
|
+
if (typeof e == "object") return Array.isArray(e) ? Cn(e) : wn(e);
|
|
4809
|
+
if (typeof e == "string") return Tn(e);
|
|
4816
4810
|
throw Error("Expected function, string, or object as test");
|
|
4817
4811
|
});
|
|
4818
|
-
function
|
|
4812
|
+
function Cn(e) {
|
|
4819
4813
|
let t = [], n = -1;
|
|
4820
|
-
for (; ++n < e.length;) t[n] =
|
|
4821
|
-
return
|
|
4814
|
+
for (; ++n < e.length;) t[n] = Sn(e[n]);
|
|
4815
|
+
return En(r);
|
|
4822
4816
|
function r(...e) {
|
|
4823
4817
|
let n = -1;
|
|
4824
4818
|
for (; ++n < t.length;) if (t[n].apply(this, e)) return !0;
|
|
4825
4819
|
return !1;
|
|
4826
4820
|
}
|
|
4827
4821
|
}
|
|
4828
|
-
function
|
|
4822
|
+
function wn(e) {
|
|
4829
4823
|
let t = e;
|
|
4830
|
-
return
|
|
4824
|
+
return En(n);
|
|
4831
4825
|
function n(n) {
|
|
4832
4826
|
let r = n, i;
|
|
4833
4827
|
for (i in e) if (r[i] !== t[i]) return !1;
|
|
4834
4828
|
return !0;
|
|
4835
4829
|
}
|
|
4836
4830
|
}
|
|
4837
|
-
function
|
|
4838
|
-
return
|
|
4831
|
+
function Tn(e) {
|
|
4832
|
+
return En(t);
|
|
4839
4833
|
function t(t) {
|
|
4840
4834
|
return t && t.type === e;
|
|
4841
4835
|
}
|
|
4842
4836
|
}
|
|
4843
|
-
function
|
|
4837
|
+
function En(e) {
|
|
4844
4838
|
return t;
|
|
4845
4839
|
function t(t, n, r) {
|
|
4846
|
-
return !!(
|
|
4840
|
+
return !!(On(t) && e.call(this, t, typeof n == "number" ? n : void 0, r || void 0));
|
|
4847
4841
|
}
|
|
4848
4842
|
}
|
|
4849
|
-
function
|
|
4843
|
+
function Dn() {
|
|
4850
4844
|
return !0;
|
|
4851
4845
|
}
|
|
4852
|
-
function
|
|
4846
|
+
function On(e) {
|
|
4853
4847
|
return typeof e == "object" && !!e && "type" in e;
|
|
4854
4848
|
}
|
|
4855
4849
|
//#endregion
|
|
4856
4850
|
//#region ../node_modules/unist-util-visit-parents/lib/color.js
|
|
4857
|
-
function
|
|
4851
|
+
function kn(e) {
|
|
4858
4852
|
return e;
|
|
4859
4853
|
}
|
|
4860
4854
|
//#endregion
|
|
4861
4855
|
//#region ../node_modules/unist-util-visit-parents/lib/index.js
|
|
4862
|
-
var
|
|
4863
|
-
function
|
|
4856
|
+
var An = [], jn = "skip";
|
|
4857
|
+
function Mn(e, t, n, r) {
|
|
4864
4858
|
let i;
|
|
4865
4859
|
typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
|
|
4866
|
-
let a =
|
|
4860
|
+
let a = Sn(i), o = r ? -1 : 1;
|
|
4867
4861
|
s(e, void 0, [])();
|
|
4868
4862
|
function s(e, i, c) {
|
|
4869
4863
|
let l = e && typeof e == "object" ? e : {};
|
|
4870
4864
|
if (typeof l.type == "string") {
|
|
4871
4865
|
let t = typeof l.tagName == "string" ? l.tagName : typeof l.name == "string" ? l.name : void 0;
|
|
4872
|
-
Object.defineProperty(u, "name", { value: "node (" +
|
|
4866
|
+
Object.defineProperty(u, "name", { value: "node (" + kn(e.type + (t ? "<" + t + ">" : "")) + ")" });
|
|
4873
4867
|
}
|
|
4874
4868
|
return u;
|
|
4875
4869
|
function u() {
|
|
4876
|
-
let l =
|
|
4877
|
-
if ((!t || a(e, i, c[c.length - 1] || void 0)) && (l =
|
|
4870
|
+
let l = An, u, d, f;
|
|
4871
|
+
if ((!t || a(e, i, c[c.length - 1] || void 0)) && (l = Nn(n(e, c)), l[0] === !1)) return l;
|
|
4878
4872
|
if ("children" in e && e.children) {
|
|
4879
4873
|
let t = e;
|
|
4880
4874
|
if (t.children && l[0] !== "skip") for (d = (r ? t.children.length : -1) + o, f = c.concat(t); d > -1 && d < t.children.length;) {
|
|
@@ -4887,14 +4881,14 @@ function Nn(e, t, n, r) {
|
|
|
4887
4881
|
}
|
|
4888
4882
|
}
|
|
4889
4883
|
}
|
|
4890
|
-
function
|
|
4891
|
-
return Array.isArray(e) ? e : typeof e == "number" ? [!0, e] : e == null ?
|
|
4884
|
+
function Nn(e) {
|
|
4885
|
+
return Array.isArray(e) ? e : typeof e == "number" ? [!0, e] : e == null ? An : [e];
|
|
4892
4886
|
}
|
|
4893
4887
|
//#endregion
|
|
4894
4888
|
//#region ../node_modules/unist-util-visit/lib/index.js
|
|
4895
|
-
function
|
|
4889
|
+
function Pn(e, t, n, r) {
|
|
4896
4890
|
let i, a, o;
|
|
4897
|
-
typeof t == "function" && typeof n != "function" ? (a = void 0, o = t, i = n) : (a = t, o = n, i = r),
|
|
4891
|
+
typeof t == "function" && typeof n != "function" ? (a = void 0, o = t, i = n) : (a = t, o = n, i = r), Mn(e, a, s, i);
|
|
4898
4892
|
function s(e, t) {
|
|
4899
4893
|
let n = t[t.length - 1], r = n ? n.children.indexOf(e) : void 0;
|
|
4900
4894
|
return o(e, r, n);
|
|
@@ -4902,12 +4896,12 @@ function Fn(e, t, n, r) {
|
|
|
4902
4896
|
}
|
|
4903
4897
|
//#endregion
|
|
4904
4898
|
//#region ../node_modules/bail/index.js
|
|
4905
|
-
function
|
|
4899
|
+
function Fn(e) {
|
|
4906
4900
|
if (e) throw e;
|
|
4907
4901
|
}
|
|
4908
4902
|
//#endregion
|
|
4909
4903
|
//#region ../node_modules/is-plain-obj/index.js
|
|
4910
|
-
var
|
|
4904
|
+
var In = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
4911
4905
|
var n = Object.prototype.hasOwnProperty, r = Object.prototype.toString, i = Object.defineProperty, a = Object.getOwnPropertyDescriptor, o = function(e) {
|
|
4912
4906
|
return typeof Array.isArray == "function" ? Array.isArray(e) : r.call(e) === "[object Array]";
|
|
4913
4907
|
}, s = function(e) {
|
|
@@ -4942,14 +4936,14 @@ var Ln = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
4942
4936
|
return d;
|
|
4943
4937
|
};
|
|
4944
4938
|
})))(), 1);
|
|
4945
|
-
function
|
|
4939
|
+
function Ln(e) {
|
|
4946
4940
|
if (typeof e != "object" || !e) return !1;
|
|
4947
4941
|
let t = Object.getPrototypeOf(e);
|
|
4948
4942
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
4949
4943
|
}
|
|
4950
4944
|
//#endregion
|
|
4951
4945
|
//#region ../node_modules/trough/lib/index.js
|
|
4952
|
-
function
|
|
4946
|
+
function Rn() {
|
|
4953
4947
|
let e = [], t = {
|
|
4954
4948
|
run: n,
|
|
4955
4949
|
use: r
|
|
@@ -4966,7 +4960,7 @@ function zn() {
|
|
|
4966
4960
|
return;
|
|
4967
4961
|
}
|
|
4968
4962
|
for (; ++c < t.length;) (o[c] === null || o[c] === void 0) && (o[c] = t[c]);
|
|
4969
|
-
t = o, s ?
|
|
4963
|
+
t = o, s ? zn(s, i)(...o) : r(null, ...o);
|
|
4970
4964
|
}
|
|
4971
4965
|
}
|
|
4972
4966
|
function r(n) {
|
|
@@ -4974,7 +4968,7 @@ function zn() {
|
|
|
4974
4968
|
return e.push(n), t;
|
|
4975
4969
|
}
|
|
4976
4970
|
}
|
|
4977
|
-
function
|
|
4971
|
+
function zn(e, t) {
|
|
4978
4972
|
let n;
|
|
4979
4973
|
return r;
|
|
4980
4974
|
function r(...t) {
|
|
@@ -4999,15 +4993,15 @@ function Bn(e, t) {
|
|
|
4999
4993
|
//#endregion
|
|
5000
4994
|
//#region ../node_modules/vfile/lib/minpath.browser.js
|
|
5001
4995
|
var Y = {
|
|
5002
|
-
basename:
|
|
5003
|
-
dirname:
|
|
5004
|
-
extname:
|
|
5005
|
-
join:
|
|
4996
|
+
basename: Bn,
|
|
4997
|
+
dirname: Vn,
|
|
4998
|
+
extname: Hn,
|
|
4999
|
+
join: Un,
|
|
5006
5000
|
sep: "/"
|
|
5007
5001
|
};
|
|
5008
|
-
function
|
|
5002
|
+
function Bn(e, t) {
|
|
5009
5003
|
if (t !== void 0 && typeof t != "string") throw TypeError("\"ext\" argument must be a string");
|
|
5010
|
-
|
|
5004
|
+
Kn(e);
|
|
5011
5005
|
let n = 0, r = -1, i = e.length, a;
|
|
5012
5006
|
if (t === void 0 || t.length === 0 || t.length > e.length) {
|
|
5013
5007
|
for (; i--;) if (e.codePointAt(i) === 47) {
|
|
@@ -5028,8 +5022,8 @@ function Vn(e, t) {
|
|
|
5028
5022
|
} else o < 0 && (a = !0, o = i + 1), s > -1 && (e.codePointAt(i) === t.codePointAt(s--) ? s < 0 && (r = i) : (s = -1, r = o));
|
|
5029
5023
|
return n === r ? r = o : r < 0 && (r = e.length), e.slice(n, r);
|
|
5030
5024
|
}
|
|
5031
|
-
function
|
|
5032
|
-
if (
|
|
5025
|
+
function Vn(e) {
|
|
5026
|
+
if (Kn(e), e.length === 0) return ".";
|
|
5033
5027
|
let t = -1, n = e.length, r;
|
|
5034
5028
|
for (; --n;) if (e.codePointAt(n) === 47) {
|
|
5035
5029
|
if (r) {
|
|
@@ -5039,8 +5033,8 @@ function Hn(e) {
|
|
|
5039
5033
|
} else r ||= !0;
|
|
5040
5034
|
return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
|
|
5041
5035
|
}
|
|
5042
|
-
function
|
|
5043
|
-
|
|
5036
|
+
function Hn(e) {
|
|
5037
|
+
Kn(e);
|
|
5044
5038
|
let t = e.length, n = -1, r = 0, i = -1, a = 0, o;
|
|
5045
5039
|
for (; t--;) {
|
|
5046
5040
|
let s = e.codePointAt(t);
|
|
@@ -5055,17 +5049,17 @@ function Un(e) {
|
|
|
5055
5049
|
}
|
|
5056
5050
|
return i < 0 || n < 0 || a === 0 || a === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
|
|
5057
5051
|
}
|
|
5058
|
-
function
|
|
5052
|
+
function Un(...e) {
|
|
5059
5053
|
let t = -1, n;
|
|
5060
|
-
for (; ++t < e.length;)
|
|
5061
|
-
return n === void 0 ? "." :
|
|
5054
|
+
for (; ++t < e.length;) Kn(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
|
|
5055
|
+
return n === void 0 ? "." : Wn(n);
|
|
5062
5056
|
}
|
|
5063
|
-
function
|
|
5064
|
-
|
|
5065
|
-
let t = e.codePointAt(0) === 47, n =
|
|
5057
|
+
function Wn(e) {
|
|
5058
|
+
Kn(e);
|
|
5059
|
+
let t = e.codePointAt(0) === 47, n = Gn(e, !t);
|
|
5066
5060
|
return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
|
|
5067
5061
|
}
|
|
5068
|
-
function
|
|
5062
|
+
function Gn(e, t) {
|
|
5069
5063
|
let n = "", r = 0, i = -1, a = 0, o = -1, s, c;
|
|
5070
5064
|
for (; ++o <= e.length;) {
|
|
5071
5065
|
if (o < e.length) s = e.codePointAt(o);
|
|
@@ -5093,25 +5087,25 @@ function Kn(e, t) {
|
|
|
5093
5087
|
}
|
|
5094
5088
|
return n;
|
|
5095
5089
|
}
|
|
5096
|
-
function
|
|
5090
|
+
function Kn(e) {
|
|
5097
5091
|
if (typeof e != "string") throw TypeError("Path must be a string. Received " + JSON.stringify(e));
|
|
5098
5092
|
}
|
|
5099
5093
|
//#endregion
|
|
5100
5094
|
//#region ../node_modules/vfile/lib/minproc.browser.js
|
|
5101
|
-
var
|
|
5102
|
-
function
|
|
5095
|
+
var qn = { cwd: Jn };
|
|
5096
|
+
function Jn() {
|
|
5103
5097
|
return "/";
|
|
5104
5098
|
}
|
|
5105
5099
|
//#endregion
|
|
5106
5100
|
//#region ../node_modules/vfile/lib/minurl.shared.js
|
|
5107
|
-
function
|
|
5101
|
+
function Yn(e) {
|
|
5108
5102
|
return !!(typeof e == "object" && e && "href" in e && e.href && "protocol" in e && e.protocol && e.auth === void 0);
|
|
5109
5103
|
}
|
|
5110
5104
|
//#endregion
|
|
5111
5105
|
//#region ../node_modules/vfile/lib/minurl.browser.js
|
|
5112
|
-
function
|
|
5106
|
+
function Xn(e) {
|
|
5113
5107
|
if (typeof e == "string") e = new URL(e);
|
|
5114
|
-
else if (!
|
|
5108
|
+
else if (!Yn(e)) {
|
|
5115
5109
|
let t = /* @__PURE__ */ TypeError("The \"path\" argument must be of type string or an instance of URL. Received `" + e + "`");
|
|
5116
5110
|
throw t.code = "ERR_INVALID_ARG_TYPE", t;
|
|
5117
5111
|
}
|
|
@@ -5119,9 +5113,9 @@ function Zn(e) {
|
|
|
5119
5113
|
let e = /* @__PURE__ */ TypeError("The URL must be of scheme file");
|
|
5120
5114
|
throw e.code = "ERR_INVALID_URL_SCHEME", e;
|
|
5121
5115
|
}
|
|
5122
|
-
return
|
|
5116
|
+
return Zn(e);
|
|
5123
5117
|
}
|
|
5124
|
-
function
|
|
5118
|
+
function Zn(e) {
|
|
5125
5119
|
if (e.hostname !== "") {
|
|
5126
5120
|
let e = /* @__PURE__ */ TypeError("File URL host must be \"localhost\" or empty on darwin");
|
|
5127
5121
|
throw e.code = "ERR_INVALID_FILE_URL_HOST", e;
|
|
@@ -5138,42 +5132,42 @@ function Qn(e) {
|
|
|
5138
5132
|
}
|
|
5139
5133
|
//#endregion
|
|
5140
5134
|
//#region ../node_modules/vfile/lib/index.js
|
|
5141
|
-
var
|
|
5135
|
+
var Qn = [
|
|
5142
5136
|
"history",
|
|
5143
5137
|
"path",
|
|
5144
5138
|
"basename",
|
|
5145
5139
|
"stem",
|
|
5146
5140
|
"extname",
|
|
5147
5141
|
"dirname"
|
|
5148
|
-
],
|
|
5142
|
+
], $n = class {
|
|
5149
5143
|
constructor(e) {
|
|
5150
5144
|
let t;
|
|
5151
|
-
t = e ?
|
|
5145
|
+
t = e ? Yn(e) ? { path: e } : typeof e == "string" || rr(e) ? { value: e } : e : {}, this.cwd = "cwd" in t ? "" : qn.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
|
|
5152
5146
|
let n = -1;
|
|
5153
|
-
for (; ++n <
|
|
5154
|
-
let e =
|
|
5147
|
+
for (; ++n < Qn.length;) {
|
|
5148
|
+
let e = Qn[n];
|
|
5155
5149
|
e in t && t[e] !== void 0 && t[e] !== null && (this[e] = e === "history" ? [...t[e]] : t[e]);
|
|
5156
5150
|
}
|
|
5157
5151
|
let r;
|
|
5158
|
-
for (r in t)
|
|
5152
|
+
for (r in t) Qn.includes(r) || (this[r] = t[r]);
|
|
5159
5153
|
}
|
|
5160
5154
|
get basename() {
|
|
5161
5155
|
return typeof this.path == "string" ? Y.basename(this.path) : void 0;
|
|
5162
5156
|
}
|
|
5163
5157
|
set basename(e) {
|
|
5164
|
-
|
|
5158
|
+
tr(e, "basename"), er(e, "basename"), this.path = Y.join(this.dirname || "", e);
|
|
5165
5159
|
}
|
|
5166
5160
|
get dirname() {
|
|
5167
5161
|
return typeof this.path == "string" ? Y.dirname(this.path) : void 0;
|
|
5168
5162
|
}
|
|
5169
5163
|
set dirname(e) {
|
|
5170
|
-
|
|
5164
|
+
nr(this.basename, "dirname"), this.path = Y.join(e || "", this.basename);
|
|
5171
5165
|
}
|
|
5172
5166
|
get extname() {
|
|
5173
5167
|
return typeof this.path == "string" ? Y.extname(this.path) : void 0;
|
|
5174
5168
|
}
|
|
5175
5169
|
set extname(e) {
|
|
5176
|
-
if (
|
|
5170
|
+
if (er(e, "extname"), nr(this.dirname, "extname"), e) {
|
|
5177
5171
|
if (e.codePointAt(0) !== 46) throw Error("`extname` must start with `.`");
|
|
5178
5172
|
if (e.includes(".", 1)) throw Error("`extname` cannot contain multiple dots");
|
|
5179
5173
|
}
|
|
@@ -5183,13 +5177,13 @@ var $n = [
|
|
|
5183
5177
|
return this.history[this.history.length - 1];
|
|
5184
5178
|
}
|
|
5185
5179
|
set path(e) {
|
|
5186
|
-
|
|
5180
|
+
Yn(e) && (e = Xn(e)), tr(e, "path"), this.path !== e && this.history.push(e);
|
|
5187
5181
|
}
|
|
5188
5182
|
get stem() {
|
|
5189
5183
|
return typeof this.path == "string" ? Y.basename(this.path, this.extname) : void 0;
|
|
5190
5184
|
}
|
|
5191
5185
|
set stem(e) {
|
|
5192
|
-
|
|
5186
|
+
tr(e, "stem"), er(e, "stem"), this.path = Y.join(this.dirname || "", e + (this.extname || ""));
|
|
5193
5187
|
}
|
|
5194
5188
|
fail(e, t, n) {
|
|
5195
5189
|
let r = this.message(e, t, n);
|
|
@@ -5200,35 +5194,35 @@ var $n = [
|
|
|
5200
5194
|
return r.fatal = void 0, r;
|
|
5201
5195
|
}
|
|
5202
5196
|
message(e, t, n) {
|
|
5203
|
-
let r = new
|
|
5197
|
+
let r = new p(e, t, n);
|
|
5204
5198
|
return this.path && (r.name = this.path + ":" + r.name, r.file = this.path), r.fatal = !1, this.messages.push(r), r;
|
|
5205
5199
|
}
|
|
5206
5200
|
toString(e) {
|
|
5207
5201
|
return this.value === void 0 ? "" : typeof this.value == "string" ? this.value : new TextDecoder(e || void 0).decode(this.value);
|
|
5208
5202
|
}
|
|
5209
5203
|
};
|
|
5210
|
-
function
|
|
5204
|
+
function er(e, t) {
|
|
5211
5205
|
if (e && e.includes(Y.sep)) throw Error("`" + t + "` cannot be a path: did not expect `" + Y.sep + "`");
|
|
5212
5206
|
}
|
|
5213
|
-
function
|
|
5207
|
+
function tr(e, t) {
|
|
5214
5208
|
if (!e) throw Error("`" + t + "` cannot be empty");
|
|
5215
5209
|
}
|
|
5216
|
-
function
|
|
5210
|
+
function nr(e, t) {
|
|
5217
5211
|
if (!e) throw Error("Setting `" + t + "` requires `path` to be set too");
|
|
5218
5212
|
}
|
|
5219
|
-
function
|
|
5213
|
+
function rr(e) {
|
|
5220
5214
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
5221
5215
|
}
|
|
5222
5216
|
//#endregion
|
|
5223
5217
|
//#region ../node_modules/unified/lib/callable-instance.js
|
|
5224
|
-
var
|
|
5218
|
+
var ir = (function(e) {
|
|
5225
5219
|
let t = this.constructor.prototype, n = t[e], r = function() {
|
|
5226
5220
|
return n.apply(r, arguments);
|
|
5227
5221
|
};
|
|
5228
5222
|
return Object.setPrototypeOf(r, t), r;
|
|
5229
|
-
}),
|
|
5223
|
+
}), ar = {}.hasOwnProperty, or = new class e extends ir {
|
|
5230
5224
|
constructor() {
|
|
5231
|
-
super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers =
|
|
5225
|
+
super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = Rn();
|
|
5232
5226
|
}
|
|
5233
5227
|
copy() {
|
|
5234
5228
|
let t = new e(), n = -1;
|
|
@@ -5236,10 +5230,10 @@ var ar = (function(e) {
|
|
|
5236
5230
|
let e = this.attachers[n];
|
|
5237
5231
|
t.use(...e);
|
|
5238
5232
|
}
|
|
5239
|
-
return t.data((0,
|
|
5233
|
+
return t.data((0, In.default)(!0, {}, this.namespace)), t;
|
|
5240
5234
|
}
|
|
5241
5235
|
data(e, t) {
|
|
5242
|
-
return typeof e == "string" ? arguments.length === 2 ? (
|
|
5236
|
+
return typeof e == "string" ? arguments.length === 2 ? (lr("data", this.frozen), this.namespace[e] = t, this) : ar.call(this.namespace, e) && this.namespace[e] || void 0 : e ? (lr("data", this.frozen), this.namespace = e, this) : this.namespace;
|
|
5243
5237
|
}
|
|
5244
5238
|
freeze() {
|
|
5245
5239
|
if (this.frozen) return this;
|
|
@@ -5255,18 +5249,18 @@ var ar = (function(e) {
|
|
|
5255
5249
|
}
|
|
5256
5250
|
parse(e) {
|
|
5257
5251
|
this.freeze();
|
|
5258
|
-
let t =
|
|
5259
|
-
return
|
|
5252
|
+
let t = fr(e), n = this.parser || this.Parser;
|
|
5253
|
+
return sr("parse", n), n(String(t), t);
|
|
5260
5254
|
}
|
|
5261
5255
|
process(e, t) {
|
|
5262
5256
|
let n = this;
|
|
5263
|
-
return this.freeze(),
|
|
5257
|
+
return this.freeze(), sr("process", this.parser || this.Parser), cr("process", this.compiler || this.Compiler), t ? r(void 0, t) : new Promise(r);
|
|
5264
5258
|
function r(r, i) {
|
|
5265
|
-
let a =
|
|
5259
|
+
let a = fr(e), o = n.parse(a);
|
|
5266
5260
|
n.run(o, a, function(e, t, r) {
|
|
5267
5261
|
if (e || !t || !r) return s(e);
|
|
5268
5262
|
let i = t, a = n.stringify(i, r);
|
|
5269
|
-
|
|
5263
|
+
mr(a) ? r.value = a : r.result = a, s(e, r);
|
|
5270
5264
|
});
|
|
5271
5265
|
function s(e, n) {
|
|
5272
5266
|
e || !n ? i(e) : r ? r(n) : t(void 0, n);
|
|
@@ -5275,17 +5269,17 @@ var ar = (function(e) {
|
|
|
5275
5269
|
}
|
|
5276
5270
|
processSync(e) {
|
|
5277
5271
|
let t = !1, n;
|
|
5278
|
-
return this.freeze(),
|
|
5272
|
+
return this.freeze(), sr("processSync", this.parser || this.Parser), cr("processSync", this.compiler || this.Compiler), this.process(e, r), dr("processSync", "process", t), n;
|
|
5279
5273
|
function r(e, r) {
|
|
5280
|
-
t = !0,
|
|
5274
|
+
t = !0, Fn(e), n = r;
|
|
5281
5275
|
}
|
|
5282
5276
|
}
|
|
5283
5277
|
run(e, t, n) {
|
|
5284
|
-
|
|
5278
|
+
ur(e), this.freeze();
|
|
5285
5279
|
let r = this.transformers;
|
|
5286
5280
|
return !n && typeof t == "function" && (n = t, t = void 0), n ? i(void 0, n) : new Promise(i);
|
|
5287
5281
|
function i(i, a) {
|
|
5288
|
-
let o =
|
|
5282
|
+
let o = fr(t);
|
|
5289
5283
|
r.run(e, o, s);
|
|
5290
5284
|
function s(t, r, o) {
|
|
5291
5285
|
let s = r || e;
|
|
@@ -5295,19 +5289,19 @@ var ar = (function(e) {
|
|
|
5295
5289
|
}
|
|
5296
5290
|
runSync(e, t) {
|
|
5297
5291
|
let n = !1, r;
|
|
5298
|
-
return this.run(e, t, i),
|
|
5292
|
+
return this.run(e, t, i), dr("runSync", "run", n), r;
|
|
5299
5293
|
function i(e, t) {
|
|
5300
|
-
|
|
5294
|
+
Fn(e), r = t, n = !0;
|
|
5301
5295
|
}
|
|
5302
5296
|
}
|
|
5303
5297
|
stringify(e, t) {
|
|
5304
5298
|
this.freeze();
|
|
5305
|
-
let n =
|
|
5306
|
-
return
|
|
5299
|
+
let n = fr(t), r = this.compiler || this.Compiler;
|
|
5300
|
+
return cr("stringify", r), ur(e), r(e, n);
|
|
5307
5301
|
}
|
|
5308
5302
|
use(e, ...t) {
|
|
5309
5303
|
let n = this.attachers, r = this.namespace;
|
|
5310
|
-
if (
|
|
5304
|
+
if (lr("use", this.frozen), e != null) {
|
|
5311
5305
|
if (typeof e == "function") s(e, t);
|
|
5312
5306
|
else if (typeof e == "object") Array.isArray(e) ? o(e) : a(e);
|
|
5313
5307
|
else throw TypeError("Expected usable value, not `" + e + "`");
|
|
@@ -5324,7 +5318,7 @@ var ar = (function(e) {
|
|
|
5324
5318
|
}
|
|
5325
5319
|
function a(e) {
|
|
5326
5320
|
if (!("plugins" in e) && !("settings" in e)) throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");
|
|
5327
|
-
o(e.plugins), e.settings && (r.settings = (0,
|
|
5321
|
+
o(e.plugins), e.settings && (r.settings = (0, In.default)(!0, r.settings, e.settings));
|
|
5328
5322
|
}
|
|
5329
5323
|
function o(e) {
|
|
5330
5324
|
let t = -1;
|
|
@@ -5345,7 +5339,7 @@ var ar = (function(e) {
|
|
|
5345
5339
|
if (i === -1) n.push([e, ...t]);
|
|
5346
5340
|
else if (t.length > 0) {
|
|
5347
5341
|
let [r, ...a] = t, o = n[i][1];
|
|
5348
|
-
|
|
5342
|
+
Ln(o) && Ln(r) && (r = (0, In.default)(!0, o, r)), n[i] = [
|
|
5349
5343
|
e,
|
|
5350
5344
|
r,
|
|
5351
5345
|
...a
|
|
@@ -5354,36 +5348,36 @@ var ar = (function(e) {
|
|
|
5354
5348
|
}
|
|
5355
5349
|
}
|
|
5356
5350
|
}().freeze();
|
|
5357
|
-
function
|
|
5351
|
+
function sr(e, t) {
|
|
5358
5352
|
if (typeof t != "function") throw TypeError("Cannot `" + e + "` without `parser`");
|
|
5359
5353
|
}
|
|
5360
|
-
function
|
|
5354
|
+
function cr(e, t) {
|
|
5361
5355
|
if (typeof t != "function") throw TypeError("Cannot `" + e + "` without `compiler`");
|
|
5362
5356
|
}
|
|
5363
|
-
function
|
|
5357
|
+
function lr(e, t) {
|
|
5364
5358
|
if (t) throw Error("Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.");
|
|
5365
5359
|
}
|
|
5366
|
-
function
|
|
5367
|
-
if (!
|
|
5360
|
+
function ur(e) {
|
|
5361
|
+
if (!Ln(e) || typeof e.type != "string") throw TypeError("Expected node, got `" + e + "`");
|
|
5368
5362
|
}
|
|
5369
|
-
function
|
|
5363
|
+
function dr(e, t, n) {
|
|
5370
5364
|
if (!n) throw Error("`" + e + "` finished async. Use `" + t + "` instead");
|
|
5371
5365
|
}
|
|
5366
|
+
function fr(e) {
|
|
5367
|
+
return pr(e) ? e : new $n(e);
|
|
5368
|
+
}
|
|
5372
5369
|
function pr(e) {
|
|
5373
|
-
return
|
|
5370
|
+
return !!(e && typeof e == "object" && "message" in e && "messages" in e);
|
|
5374
5371
|
}
|
|
5375
5372
|
function mr(e) {
|
|
5376
|
-
return
|
|
5373
|
+
return typeof e == "string" || hr(e);
|
|
5377
5374
|
}
|
|
5378
5375
|
function hr(e) {
|
|
5379
|
-
return typeof e == "string" || gr(e);
|
|
5380
|
-
}
|
|
5381
|
-
function gr(e) {
|
|
5382
5376
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
5383
5377
|
}
|
|
5384
5378
|
//#endregion
|
|
5385
5379
|
//#region ../node_modules/ccount/index.js
|
|
5386
|
-
function
|
|
5380
|
+
function gr(e, t) {
|
|
5387
5381
|
let n = String(e);
|
|
5388
5382
|
if (typeof t != "string") throw TypeError("Expected character");
|
|
5389
5383
|
let r = 0, i = n.indexOf(t);
|
|
@@ -5392,15 +5386,15 @@ function _r(e, t) {
|
|
|
5392
5386
|
}
|
|
5393
5387
|
//#endregion
|
|
5394
5388
|
//#region ../node_modules/escape-string-regexp/index.js
|
|
5395
|
-
function
|
|
5389
|
+
function _r(e) {
|
|
5396
5390
|
if (typeof e != "string") throw TypeError("Expected a string");
|
|
5397
5391
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
5398
5392
|
}
|
|
5399
5393
|
//#endregion
|
|
5400
5394
|
//#region ../node_modules/mdast-util-find-and-replace/lib/index.js
|
|
5401
|
-
function
|
|
5402
|
-
let r =
|
|
5403
|
-
for (; ++a < i.length;)
|
|
5395
|
+
function vr(e, t, n) {
|
|
5396
|
+
let r = Sn((n || {}).ignore || []), i = yr(t), a = -1;
|
|
5397
|
+
for (; ++a < i.length;) Mn(e, "text", o);
|
|
5404
5398
|
function o(e, t) {
|
|
5405
5399
|
let n = -1, i;
|
|
5406
5400
|
for (; ++n < t.length;) {
|
|
@@ -5435,75 +5429,75 @@ function yr(e, t, n) {
|
|
|
5435
5429
|
}), n.children.splice(c, 1, ...u)) : u = [e], c + u.length;
|
|
5436
5430
|
}
|
|
5437
5431
|
}
|
|
5438
|
-
function
|
|
5432
|
+
function yr(e) {
|
|
5439
5433
|
let t = [];
|
|
5440
5434
|
if (!Array.isArray(e)) throw TypeError("Expected find and replace tuple or list of tuples");
|
|
5441
5435
|
let n = !e[0] || Array.isArray(e[0]) ? e : [e], r = -1;
|
|
5442
5436
|
for (; ++r < n.length;) {
|
|
5443
5437
|
let e = n[r];
|
|
5444
|
-
t.push([
|
|
5438
|
+
t.push([br(e[0]), xr(e[1])]);
|
|
5445
5439
|
}
|
|
5446
5440
|
return t;
|
|
5447
5441
|
}
|
|
5448
|
-
function
|
|
5449
|
-
return typeof e == "string" ? new RegExp(
|
|
5442
|
+
function br(e) {
|
|
5443
|
+
return typeof e == "string" ? new RegExp(_r(e), "g") : e;
|
|
5450
5444
|
}
|
|
5451
|
-
function
|
|
5445
|
+
function xr(e) {
|
|
5452
5446
|
return typeof e == "function" ? e : function() {
|
|
5453
5447
|
return e;
|
|
5454
5448
|
};
|
|
5455
5449
|
}
|
|
5456
5450
|
//#endregion
|
|
5457
5451
|
//#region ../node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
5458
|
-
var
|
|
5452
|
+
var Sr = "phrasing", Cr = [
|
|
5459
5453
|
"autolink",
|
|
5460
5454
|
"link",
|
|
5461
5455
|
"image",
|
|
5462
5456
|
"label"
|
|
5463
5457
|
];
|
|
5464
|
-
function
|
|
5458
|
+
function wr() {
|
|
5465
5459
|
return {
|
|
5466
|
-
transforms: [
|
|
5460
|
+
transforms: [Mr],
|
|
5467
5461
|
enter: {
|
|
5468
|
-
literalAutolink:
|
|
5469
|
-
literalAutolinkEmail:
|
|
5470
|
-
literalAutolinkHttp:
|
|
5471
|
-
literalAutolinkWww:
|
|
5462
|
+
literalAutolink: Er,
|
|
5463
|
+
literalAutolinkEmail: Dr,
|
|
5464
|
+
literalAutolinkHttp: Dr,
|
|
5465
|
+
literalAutolinkWww: Dr
|
|
5472
5466
|
},
|
|
5473
5467
|
exit: {
|
|
5474
|
-
literalAutolink:
|
|
5475
|
-
literalAutolinkEmail:
|
|
5476
|
-
literalAutolinkHttp:
|
|
5477
|
-
literalAutolinkWww:
|
|
5468
|
+
literalAutolink: jr,
|
|
5469
|
+
literalAutolinkEmail: Ar,
|
|
5470
|
+
literalAutolinkHttp: Or,
|
|
5471
|
+
literalAutolinkWww: kr
|
|
5478
5472
|
}
|
|
5479
5473
|
};
|
|
5480
5474
|
}
|
|
5481
|
-
function
|
|
5475
|
+
function Tr() {
|
|
5482
5476
|
return { unsafe: [
|
|
5483
5477
|
{
|
|
5484
5478
|
character: "@",
|
|
5485
5479
|
before: "[+\\-.\\w]",
|
|
5486
5480
|
after: "[\\-.\\w]",
|
|
5487
|
-
inConstruct:
|
|
5488
|
-
notInConstruct:
|
|
5481
|
+
inConstruct: Sr,
|
|
5482
|
+
notInConstruct: Cr
|
|
5489
5483
|
},
|
|
5490
5484
|
{
|
|
5491
5485
|
character: ".",
|
|
5492
5486
|
before: "[Ww]",
|
|
5493
5487
|
after: "[\\-.\\w]",
|
|
5494
|
-
inConstruct:
|
|
5495
|
-
notInConstruct:
|
|
5488
|
+
inConstruct: Sr,
|
|
5489
|
+
notInConstruct: Cr
|
|
5496
5490
|
},
|
|
5497
5491
|
{
|
|
5498
5492
|
character: ":",
|
|
5499
5493
|
before: "[ps]",
|
|
5500
5494
|
after: "\\/",
|
|
5501
|
-
inConstruct:
|
|
5502
|
-
notInConstruct:
|
|
5495
|
+
inConstruct: Sr,
|
|
5496
|
+
notInConstruct: Cr
|
|
5503
5497
|
}
|
|
5504
5498
|
] };
|
|
5505
5499
|
}
|
|
5506
|
-
function
|
|
5500
|
+
function Er(e) {
|
|
5507
5501
|
this.enter({
|
|
5508
5502
|
type: "link",
|
|
5509
5503
|
title: null,
|
|
@@ -5511,30 +5505,30 @@ function Dr(e) {
|
|
|
5511
5505
|
children: []
|
|
5512
5506
|
}, e);
|
|
5513
5507
|
}
|
|
5514
|
-
function
|
|
5508
|
+
function Dr(e) {
|
|
5515
5509
|
this.config.enter.autolinkProtocol.call(this, e);
|
|
5516
5510
|
}
|
|
5517
|
-
function
|
|
5511
|
+
function Or(e) {
|
|
5518
5512
|
this.config.exit.autolinkProtocol.call(this, e);
|
|
5519
5513
|
}
|
|
5520
|
-
function
|
|
5514
|
+
function kr(e) {
|
|
5521
5515
|
this.config.exit.data.call(this, e);
|
|
5522
5516
|
let t = this.stack[this.stack.length - 1];
|
|
5523
5517
|
t.type, t.url = "http://" + this.sliceSerialize(e);
|
|
5524
5518
|
}
|
|
5525
|
-
function
|
|
5519
|
+
function Ar(e) {
|
|
5526
5520
|
this.config.exit.autolinkEmail.call(this, e);
|
|
5527
5521
|
}
|
|
5528
|
-
function
|
|
5522
|
+
function jr(e) {
|
|
5529
5523
|
this.exit(e);
|
|
5530
5524
|
}
|
|
5531
|
-
function
|
|
5532
|
-
|
|
5525
|
+
function Mr(e) {
|
|
5526
|
+
vr(e, [[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, Nr], [/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu, Pr]], { ignore: ["link", "linkReference"] });
|
|
5533
5527
|
}
|
|
5534
|
-
function
|
|
5528
|
+
function Nr(e, t, n, r, i) {
|
|
5535
5529
|
let a = "";
|
|
5536
|
-
if (!
|
|
5537
|
-
let o =
|
|
5530
|
+
if (!Lr(i) || (/^w/i.test(t) && (n = t + n, t = "", a = "http://"), !Fr(n))) return !1;
|
|
5531
|
+
let o = Ir(n + r);
|
|
5538
5532
|
if (!o[0]) return !1;
|
|
5539
5533
|
let s = {
|
|
5540
5534
|
type: "link",
|
|
@@ -5550,8 +5544,8 @@ function Pr(e, t, n, r, i) {
|
|
|
5550
5544
|
value: o[1]
|
|
5551
5545
|
}] : s;
|
|
5552
5546
|
}
|
|
5553
|
-
function
|
|
5554
|
-
return !
|
|
5547
|
+
function Pr(e, t, n, r) {
|
|
5548
|
+
return !Lr(r, !0) || /[-\d_]$/.test(n) ? !1 : {
|
|
5555
5549
|
type: "link",
|
|
5556
5550
|
title: null,
|
|
5557
5551
|
url: "mailto:" + t + "@" + n,
|
|
@@ -5561,39 +5555,39 @@ function Fr(e, t, n, r) {
|
|
|
5561
5555
|
}]
|
|
5562
5556
|
};
|
|
5563
5557
|
}
|
|
5564
|
-
function
|
|
5558
|
+
function Fr(e) {
|
|
5565
5559
|
let t = e.split(".");
|
|
5566
5560
|
return !(t.length < 2 || t[t.length - 1] && (/_/.test(t[t.length - 1]) || !/[a-zA-Z\d]/.test(t[t.length - 1])) || t[t.length - 2] && (/_/.test(t[t.length - 2]) || !/[a-zA-Z\d]/.test(t[t.length - 2])));
|
|
5567
5561
|
}
|
|
5568
|
-
function
|
|
5562
|
+
function Ir(e) {
|
|
5569
5563
|
let t = /[!"&'),.:;<>?\]}]+$/.exec(e);
|
|
5570
5564
|
if (!t) return [e, void 0];
|
|
5571
5565
|
e = e.slice(0, t.index);
|
|
5572
|
-
let n = t[0], r = n.indexOf(")"), i =
|
|
5566
|
+
let n = t[0], r = n.indexOf(")"), i = gr(e, "("), a = gr(e, ")");
|
|
5573
5567
|
for (; r !== -1 && i > a;) e += n.slice(0, r + 1), n = n.slice(r + 1), r = n.indexOf(")"), a++;
|
|
5574
5568
|
return [e, n];
|
|
5575
5569
|
}
|
|
5576
|
-
function
|
|
5570
|
+
function Lr(e, t) {
|
|
5577
5571
|
let n = e.input.charCodeAt(e.index - 1);
|
|
5578
|
-
return (e.index === 0 ||
|
|
5572
|
+
return (e.index === 0 || z(n) || R(n)) && (!t || n !== 47);
|
|
5579
5573
|
}
|
|
5580
5574
|
//#endregion
|
|
5581
5575
|
//#region ../node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
5582
|
-
|
|
5583
|
-
function
|
|
5576
|
+
qr.peek = Kr;
|
|
5577
|
+
function Rr() {
|
|
5584
5578
|
this.buffer();
|
|
5585
5579
|
}
|
|
5586
|
-
function
|
|
5580
|
+
function zr(e) {
|
|
5587
5581
|
this.enter({
|
|
5588
5582
|
type: "footnoteReference",
|
|
5589
5583
|
identifier: "",
|
|
5590
5584
|
label: ""
|
|
5591
5585
|
}, e);
|
|
5592
5586
|
}
|
|
5593
|
-
function
|
|
5587
|
+
function Br() {
|
|
5594
5588
|
this.buffer();
|
|
5595
5589
|
}
|
|
5596
|
-
function
|
|
5590
|
+
function Vr(e) {
|
|
5597
5591
|
this.enter({
|
|
5598
5592
|
type: "footnoteDefinition",
|
|
5599
5593
|
identifier: "",
|
|
@@ -5601,52 +5595,52 @@ function Hr(e) {
|
|
|
5601
5595
|
children: []
|
|
5602
5596
|
}, e);
|
|
5603
5597
|
}
|
|
5604
|
-
function
|
|
5598
|
+
function Hr(e) {
|
|
5605
5599
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
5606
|
-
n.type, n.identifier =
|
|
5600
|
+
n.type, n.identifier = k(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
5607
5601
|
}
|
|
5608
|
-
function
|
|
5602
|
+
function Ur(e) {
|
|
5609
5603
|
this.exit(e);
|
|
5610
5604
|
}
|
|
5611
|
-
function
|
|
5605
|
+
function Wr(e) {
|
|
5612
5606
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
5613
|
-
n.type, n.identifier =
|
|
5607
|
+
n.type, n.identifier = k(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
5614
5608
|
}
|
|
5615
|
-
function
|
|
5609
|
+
function Gr(e) {
|
|
5616
5610
|
this.exit(e);
|
|
5617
5611
|
}
|
|
5618
|
-
function
|
|
5612
|
+
function Kr() {
|
|
5619
5613
|
return "[";
|
|
5620
5614
|
}
|
|
5621
|
-
function
|
|
5615
|
+
function qr(e, t, n, r) {
|
|
5622
5616
|
let i = n.createTracker(r), a = i.move("[^"), o = n.enter("footnoteReference"), s = n.enter("reference");
|
|
5623
5617
|
return a += i.move(n.safe(n.associationId(e), {
|
|
5624
5618
|
after: "]",
|
|
5625
5619
|
before: a
|
|
5626
5620
|
})), s(), o(), a += i.move("]"), a;
|
|
5627
5621
|
}
|
|
5628
|
-
function
|
|
5622
|
+
function Jr() {
|
|
5629
5623
|
return {
|
|
5630
5624
|
enter: {
|
|
5631
|
-
gfmFootnoteCallString:
|
|
5632
|
-
gfmFootnoteCall:
|
|
5633
|
-
gfmFootnoteDefinitionLabelString:
|
|
5634
|
-
gfmFootnoteDefinition:
|
|
5625
|
+
gfmFootnoteCallString: Rr,
|
|
5626
|
+
gfmFootnoteCall: zr,
|
|
5627
|
+
gfmFootnoteDefinitionLabelString: Br,
|
|
5628
|
+
gfmFootnoteDefinition: Vr
|
|
5635
5629
|
},
|
|
5636
5630
|
exit: {
|
|
5637
|
-
gfmFootnoteCallString:
|
|
5638
|
-
gfmFootnoteCall:
|
|
5639
|
-
gfmFootnoteDefinitionLabelString:
|
|
5640
|
-
gfmFootnoteDefinition:
|
|
5631
|
+
gfmFootnoteCallString: Hr,
|
|
5632
|
+
gfmFootnoteCall: Ur,
|
|
5633
|
+
gfmFootnoteDefinitionLabelString: Wr,
|
|
5634
|
+
gfmFootnoteDefinition: Gr
|
|
5641
5635
|
}
|
|
5642
5636
|
};
|
|
5643
5637
|
}
|
|
5644
|
-
function
|
|
5638
|
+
function Yr(e) {
|
|
5645
5639
|
let t = !1;
|
|
5646
5640
|
return e && e.firstLineBlank && (t = !0), {
|
|
5647
5641
|
handlers: {
|
|
5648
5642
|
footnoteDefinition: n,
|
|
5649
|
-
footnoteReference:
|
|
5643
|
+
footnoteReference: qr
|
|
5650
5644
|
},
|
|
5651
5645
|
unsafe: [{
|
|
5652
5646
|
character: "[",
|
|
@@ -5662,18 +5656,18 @@ function Xr(e) {
|
|
|
5662
5656
|
return o += a.move(r.safe(r.associationId(e), {
|
|
5663
5657
|
before: o,
|
|
5664
5658
|
after: "]"
|
|
5665
|
-
})), c(), o += a.move("]:"), e.children && e.children.length > 0 && (a.shift(4), o += a.move((t ? "\n" : " ") + r.indentLines(r.containerFlow(e, a.current()), t ?
|
|
5659
|
+
})), c(), o += a.move("]:"), e.children && e.children.length > 0 && (a.shift(4), o += a.move((t ? "\n" : " ") + r.indentLines(r.containerFlow(e, a.current()), t ? Zr : Xr))), s(), o;
|
|
5666
5660
|
}
|
|
5667
5661
|
}
|
|
5668
|
-
function
|
|
5669
|
-
return t === 0 ? e :
|
|
5662
|
+
function Xr(e, t, n) {
|
|
5663
|
+
return t === 0 ? e : Zr(e, t, n);
|
|
5670
5664
|
}
|
|
5671
|
-
function
|
|
5665
|
+
function Zr(e, t, n) {
|
|
5672
5666
|
return (n ? "" : " ") + e;
|
|
5673
5667
|
}
|
|
5674
5668
|
//#endregion
|
|
5675
5669
|
//#region ../node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
5676
|
-
var
|
|
5670
|
+
var Qr = [
|
|
5677
5671
|
"autolink",
|
|
5678
5672
|
"destinationLiteral",
|
|
5679
5673
|
"destinationRaw",
|
|
@@ -5681,34 +5675,34 @@ var $r = [
|
|
|
5681
5675
|
"titleQuote",
|
|
5682
5676
|
"titleApostrophe"
|
|
5683
5677
|
];
|
|
5684
|
-
|
|
5685
|
-
function
|
|
5678
|
+
ri.peek = ii;
|
|
5679
|
+
function $r() {
|
|
5686
5680
|
return {
|
|
5687
5681
|
canContainEols: ["delete"],
|
|
5688
|
-
enter: { strikethrough:
|
|
5689
|
-
exit: { strikethrough:
|
|
5682
|
+
enter: { strikethrough: ti },
|
|
5683
|
+
exit: { strikethrough: ni }
|
|
5690
5684
|
};
|
|
5691
5685
|
}
|
|
5692
|
-
function
|
|
5686
|
+
function ei() {
|
|
5693
5687
|
return {
|
|
5694
5688
|
unsafe: [{
|
|
5695
5689
|
character: "~",
|
|
5696
5690
|
inConstruct: "phrasing",
|
|
5697
|
-
notInConstruct:
|
|
5691
|
+
notInConstruct: Qr
|
|
5698
5692
|
}],
|
|
5699
|
-
handlers: { delete:
|
|
5693
|
+
handlers: { delete: ri }
|
|
5700
5694
|
};
|
|
5701
5695
|
}
|
|
5702
|
-
function
|
|
5696
|
+
function ti(e) {
|
|
5703
5697
|
this.enter({
|
|
5704
5698
|
type: "delete",
|
|
5705
5699
|
children: []
|
|
5706
5700
|
}, e);
|
|
5707
5701
|
}
|
|
5708
|
-
function
|
|
5702
|
+
function ni(e) {
|
|
5709
5703
|
this.exit(e);
|
|
5710
5704
|
}
|
|
5711
|
-
function
|
|
5705
|
+
function ri(e, t, n, r) {
|
|
5712
5706
|
let i = n.createTracker(r), a = n.enter("strikethrough"), o = i.move("~~");
|
|
5713
5707
|
return o += n.containerPhrasing(e, {
|
|
5714
5708
|
...i.current(),
|
|
@@ -5716,20 +5710,20 @@ function ii(e, t, n, r) {
|
|
|
5716
5710
|
after: "~"
|
|
5717
5711
|
}), o += i.move("~~"), a(), o;
|
|
5718
5712
|
}
|
|
5719
|
-
function
|
|
5713
|
+
function ii() {
|
|
5720
5714
|
return "~";
|
|
5721
5715
|
}
|
|
5722
5716
|
//#endregion
|
|
5723
5717
|
//#region ../node_modules/markdown-table/index.js
|
|
5724
|
-
function
|
|
5718
|
+
function ai(e) {
|
|
5725
5719
|
return e.length;
|
|
5726
5720
|
}
|
|
5727
|
-
function
|
|
5728
|
-
let n = t || {}, r = (n.align || []).concat(), i = n.stringLength ||
|
|
5721
|
+
function oi(e, t) {
|
|
5722
|
+
let n = t || {}, r = (n.align || []).concat(), i = n.stringLength || ai, a = [], o = [], s = [], c = [], l = 0, u = -1;
|
|
5729
5723
|
for (; ++u < e.length;) {
|
|
5730
5724
|
let t = [], r = [], a = -1;
|
|
5731
5725
|
for (e[u].length > l && (l = e[u].length); ++a < e[u].length;) {
|
|
5732
|
-
let o =
|
|
5726
|
+
let o = si(e[u][a]);
|
|
5733
5727
|
if (n.alignDelimiters !== !1) {
|
|
5734
5728
|
let e = i(o);
|
|
5735
5729
|
r[a] = e, (c[a] === void 0 || e > c[a]) && (c[a] = e);
|
|
@@ -5739,9 +5733,9 @@ function si(e, t) {
|
|
|
5739
5733
|
o[u] = t, s[u] = r;
|
|
5740
5734
|
}
|
|
5741
5735
|
let d = -1;
|
|
5742
|
-
if (typeof r == "object" && "length" in r) for (; ++d < l;) a[d] =
|
|
5736
|
+
if (typeof r == "object" && "length" in r) for (; ++d < l;) a[d] = ci(r[d]);
|
|
5743
5737
|
else {
|
|
5744
|
-
let e =
|
|
5738
|
+
let e = ci(r);
|
|
5745
5739
|
for (; ++d < l;) a[d] = e;
|
|
5746
5740
|
}
|
|
5747
5741
|
d = -1;
|
|
@@ -5770,30 +5764,30 @@ function si(e, t) {
|
|
|
5770
5764
|
}
|
|
5771
5765
|
return m.join("\n");
|
|
5772
5766
|
}
|
|
5773
|
-
function
|
|
5767
|
+
function si(e) {
|
|
5774
5768
|
return e == null ? "" : String(e);
|
|
5775
5769
|
}
|
|
5776
|
-
function
|
|
5770
|
+
function ci(e) {
|
|
5777
5771
|
let t = typeof e == "string" ? e.codePointAt(0) : 0;
|
|
5778
5772
|
return t === 67 || t === 99 ? 99 : t === 76 || t === 108 ? 108 : t === 82 || t === 114 ? 114 : 0;
|
|
5779
5773
|
}
|
|
5780
5774
|
//#endregion
|
|
5781
5775
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
5782
|
-
function
|
|
5776
|
+
function li(e, t, n, r) {
|
|
5783
5777
|
let i = n.enter("blockquote"), a = n.createTracker(r);
|
|
5784
5778
|
a.move("> "), a.shift(2);
|
|
5785
|
-
let o = n.indentLines(n.containerFlow(e, a.current()),
|
|
5779
|
+
let o = n.indentLines(n.containerFlow(e, a.current()), ui);
|
|
5786
5780
|
return i(), o;
|
|
5787
5781
|
}
|
|
5788
|
-
function
|
|
5782
|
+
function ui(e, t, n) {
|
|
5789
5783
|
return ">" + (n ? "" : " ") + e;
|
|
5790
5784
|
}
|
|
5791
5785
|
//#endregion
|
|
5792
5786
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
|
|
5793
|
-
function
|
|
5794
|
-
return
|
|
5787
|
+
function di(e, t) {
|
|
5788
|
+
return fi(e, t.inConstruct, !0) && !fi(e, t.notInConstruct, !1);
|
|
5795
5789
|
}
|
|
5796
|
-
function
|
|
5790
|
+
function fi(e, t, n) {
|
|
5797
5791
|
if (typeof t == "string" && (t = [t]), !t || t.length === 0) return n;
|
|
5798
5792
|
let r = -1;
|
|
5799
5793
|
for (; ++r < t.length;) if (e.includes(t[r])) return !0;
|
|
@@ -5801,14 +5795,14 @@ function pi(e, t, n) {
|
|
|
5801
5795
|
}
|
|
5802
5796
|
//#endregion
|
|
5803
5797
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
5804
|
-
function
|
|
5798
|
+
function pi(e, t, n, r) {
|
|
5805
5799
|
let i = -1;
|
|
5806
|
-
for (; ++i < n.unsafe.length;) if (n.unsafe[i].character === "\n" &&
|
|
5800
|
+
for (; ++i < n.unsafe.length;) if (n.unsafe[i].character === "\n" && di(n.stack, n.unsafe[i])) return /[ \t]/.test(r.before) ? "" : " ";
|
|
5807
5801
|
return "\\\n";
|
|
5808
5802
|
}
|
|
5809
5803
|
//#endregion
|
|
5810
5804
|
//#region ../node_modules/longest-streak/index.js
|
|
5811
|
-
function
|
|
5805
|
+
function mi(e, t) {
|
|
5812
5806
|
let n = String(e), r = n.indexOf(t), i = r, a = 0, o = 0;
|
|
5813
5807
|
if (typeof t != "string") throw TypeError("Expected substring");
|
|
5814
5808
|
for (; r !== -1;) r === i ? ++a > o && (o = a) : a = 1, i = r + t.length, r = n.indexOf(t, i);
|
|
@@ -5816,25 +5810,25 @@ function hi(e, t) {
|
|
|
5816
5810
|
}
|
|
5817
5811
|
//#endregion
|
|
5818
5812
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
|
|
5819
|
-
function
|
|
5813
|
+
function hi(e, t) {
|
|
5820
5814
|
return !!(t.options.fences === !1 && e.value && !e.lang && /[^ \r\n]/.test(e.value) && !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value));
|
|
5821
5815
|
}
|
|
5822
5816
|
//#endregion
|
|
5823
5817
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-fence.js
|
|
5824
|
-
function
|
|
5818
|
+
function gi(e) {
|
|
5825
5819
|
let t = e.options.fence || "`";
|
|
5826
5820
|
if (t !== "`" && t !== "~") throw Error("Cannot serialize code with `" + t + "` for `options.fence`, expected `` ` `` or `~`");
|
|
5827
5821
|
return t;
|
|
5828
5822
|
}
|
|
5829
5823
|
//#endregion
|
|
5830
5824
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
5831
|
-
function
|
|
5832
|
-
let i =
|
|
5833
|
-
if (
|
|
5834
|
-
let e = n.enter("codeIndented"), t = n.indentLines(a,
|
|
5825
|
+
function _i(e, t, n, r) {
|
|
5826
|
+
let i = gi(n), a = e.value || "", o = i === "`" ? "GraveAccent" : "Tilde";
|
|
5827
|
+
if (hi(e, n)) {
|
|
5828
|
+
let e = n.enter("codeIndented"), t = n.indentLines(a, vi);
|
|
5835
5829
|
return e(), t;
|
|
5836
5830
|
}
|
|
5837
|
-
let s = n.createTracker(r), c = i.repeat(Math.max(
|
|
5831
|
+
let s = n.createTracker(r), c = i.repeat(Math.max(mi(a, i) + 1, 3)), l = n.enter("codeFenced"), u = s.move(c);
|
|
5838
5832
|
if (e.lang) {
|
|
5839
5833
|
let t = n.enter(`codeFencedLang${o}`);
|
|
5840
5834
|
u += s.move(n.safe(e.lang, {
|
|
@@ -5855,20 +5849,20 @@ function vi(e, t, n, r) {
|
|
|
5855
5849
|
}
|
|
5856
5850
|
return u += s.move("\n"), a && (u += s.move(a + "\n")), u += s.move(c), l(), u;
|
|
5857
5851
|
}
|
|
5858
|
-
function
|
|
5852
|
+
function vi(e, t, n) {
|
|
5859
5853
|
return (n ? "" : " ") + e;
|
|
5860
5854
|
}
|
|
5861
5855
|
//#endregion
|
|
5862
5856
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
5863
|
-
function
|
|
5857
|
+
function yi(e) {
|
|
5864
5858
|
let t = e.options.quote || "\"";
|
|
5865
5859
|
if (t !== "\"" && t !== "'") throw Error("Cannot serialize title with `" + t + "` for `options.quote`, expected `\"`, or `'`");
|
|
5866
5860
|
return t;
|
|
5867
5861
|
}
|
|
5868
5862
|
//#endregion
|
|
5869
5863
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
5870
|
-
function
|
|
5871
|
-
let i =
|
|
5864
|
+
function bi(e, t, n, r) {
|
|
5865
|
+
let i = yi(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.enter("definition"), s = n.enter("label"), c = n.createTracker(r), l = c.move("[");
|
|
5872
5866
|
return l += c.move(n.safe(n.associationId(e), {
|
|
5873
5867
|
before: l,
|
|
5874
5868
|
after: "]",
|
|
@@ -5889,20 +5883,20 @@ function xi(e, t, n, r) {
|
|
|
5889
5883
|
}
|
|
5890
5884
|
//#endregion
|
|
5891
5885
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
5892
|
-
function
|
|
5886
|
+
function xi(e) {
|
|
5893
5887
|
let t = e.options.emphasis || "*";
|
|
5894
5888
|
if (t !== "*" && t !== "_") throw Error("Cannot serialize emphasis with `" + t + "` for `options.emphasis`, expected `*`, or `_`");
|
|
5895
5889
|
return t;
|
|
5896
5890
|
}
|
|
5897
5891
|
//#endregion
|
|
5898
5892
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
5899
|
-
function
|
|
5893
|
+
function Si(e) {
|
|
5900
5894
|
return "&#x" + e.toString(16).toUpperCase() + ";";
|
|
5901
5895
|
}
|
|
5902
5896
|
//#endregion
|
|
5903
5897
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
5904
|
-
function
|
|
5905
|
-
let r =
|
|
5898
|
+
function Ci(e, t, n) {
|
|
5899
|
+
let r = H(e), i = H(t);
|
|
5906
5900
|
return r === void 0 ? i === void 0 ? n === "_" ? {
|
|
5907
5901
|
inside: !0,
|
|
5908
5902
|
outside: !0
|
|
@@ -5937,38 +5931,38 @@ function wi(e, t, n) {
|
|
|
5937
5931
|
}
|
|
5938
5932
|
//#endregion
|
|
5939
5933
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
5940
|
-
|
|
5941
|
-
function
|
|
5942
|
-
let i =
|
|
5934
|
+
wi.peek = Ti;
|
|
5935
|
+
function wi(e, t, n, r) {
|
|
5936
|
+
let i = xi(n), a = n.enter("emphasis"), o = n.createTracker(r), s = o.move(i), c = o.move(n.containerPhrasing(e, {
|
|
5943
5937
|
after: i,
|
|
5944
5938
|
before: s,
|
|
5945
5939
|
...o.current()
|
|
5946
|
-
})), l = c.charCodeAt(0), u =
|
|
5947
|
-
u.inside && (c =
|
|
5948
|
-
let d = c.charCodeAt(c.length - 1), f =
|
|
5949
|
-
f.inside && (c = c.slice(0, -1) +
|
|
5940
|
+
})), l = c.charCodeAt(0), u = Ci(r.before.charCodeAt(r.before.length - 1), l, i);
|
|
5941
|
+
u.inside && (c = Si(l) + c.slice(1));
|
|
5942
|
+
let d = c.charCodeAt(c.length - 1), f = Ci(r.after.charCodeAt(0), d, i);
|
|
5943
|
+
f.inside && (c = c.slice(0, -1) + Si(d));
|
|
5950
5944
|
let p = o.move(i);
|
|
5951
5945
|
return a(), n.attentionEncodeSurroundingInfo = {
|
|
5952
5946
|
after: f.outside,
|
|
5953
5947
|
before: u.outside
|
|
5954
5948
|
}, s + c + p;
|
|
5955
5949
|
}
|
|
5956
|
-
function
|
|
5950
|
+
function Ti(e, t, n) {
|
|
5957
5951
|
return n.options.emphasis || "*";
|
|
5958
5952
|
}
|
|
5959
5953
|
//#endregion
|
|
5960
5954
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
|
|
5961
|
-
function
|
|
5955
|
+
function Ei(e, t) {
|
|
5962
5956
|
let n = !1;
|
|
5963
|
-
return
|
|
5957
|
+
return Pn(e, function(e) {
|
|
5964
5958
|
if ("value" in e && /\r?\n|\r/.test(e.value) || e.type === "break") return n = !0, !1;
|
|
5965
|
-
}), !!((!e.depth || e.depth < 3) &&
|
|
5959
|
+
}), !!((!e.depth || e.depth < 3) && h(e) && (t.options.setext || n));
|
|
5966
5960
|
}
|
|
5967
5961
|
//#endregion
|
|
5968
5962
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
5969
|
-
function
|
|
5963
|
+
function Di(e, t, n, r) {
|
|
5970
5964
|
let i = Math.max(Math.min(6, e.depth || 1), 1), a = n.createTracker(r);
|
|
5971
|
-
if (
|
|
5965
|
+
if (Ei(e, n)) {
|
|
5972
5966
|
let t = n.enter("headingSetext"), r = n.enter("phrasing"), o = n.containerPhrasing(e, {
|
|
5973
5967
|
...a.current(),
|
|
5974
5968
|
before: "\n",
|
|
@@ -5983,22 +5977,22 @@ function Oi(e, t, n, r) {
|
|
|
5983
5977
|
after: "\n",
|
|
5984
5978
|
...a.current()
|
|
5985
5979
|
});
|
|
5986
|
-
return /^[\t ]/.test(l) && (l =
|
|
5980
|
+
return /^[\t ]/.test(l) && (l = Si(l.charCodeAt(0)) + l.slice(1)), l = l ? o + " " + l : o, n.options.closeAtx && (l += " " + o), c(), s(), l;
|
|
5987
5981
|
}
|
|
5988
5982
|
//#endregion
|
|
5989
5983
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
5990
|
-
|
|
5991
|
-
function
|
|
5984
|
+
Oi.peek = ki;
|
|
5985
|
+
function Oi(e) {
|
|
5992
5986
|
return e.value || "";
|
|
5993
5987
|
}
|
|
5994
|
-
function
|
|
5988
|
+
function ki() {
|
|
5995
5989
|
return "<";
|
|
5996
5990
|
}
|
|
5997
5991
|
//#endregion
|
|
5998
5992
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
5999
|
-
|
|
6000
|
-
function
|
|
6001
|
-
let i =
|
|
5993
|
+
Ai.peek = ji;
|
|
5994
|
+
function Ai(e, t, n, r) {
|
|
5995
|
+
let i = yi(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.enter("image"), s = n.enter("label"), c = n.createTracker(r), l = c.move("![");
|
|
6002
5996
|
return l += c.move(n.safe(e.alt, {
|
|
6003
5997
|
before: l,
|
|
6004
5998
|
after: "]",
|
|
@@ -6017,13 +6011,13 @@ function ji(e, t, n, r) {
|
|
|
6017
6011
|
...c.current()
|
|
6018
6012
|
})), l += c.move(i), s()), l += c.move(")"), o(), l;
|
|
6019
6013
|
}
|
|
6020
|
-
function
|
|
6014
|
+
function ji() {
|
|
6021
6015
|
return "!";
|
|
6022
6016
|
}
|
|
6023
6017
|
//#endregion
|
|
6024
6018
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
6025
|
-
|
|
6026
|
-
function
|
|
6019
|
+
Mi.peek = Ni;
|
|
6020
|
+
function Mi(e, t, n, r) {
|
|
6027
6021
|
let i = e.referenceType, a = n.enter("imageReference"), o = n.enter("label"), s = n.createTracker(r), c = s.move("!["), l = n.safe(e.alt, {
|
|
6028
6022
|
before: c,
|
|
6029
6023
|
after: "]",
|
|
@@ -6039,13 +6033,13 @@ function Ni(e, t, n, r) {
|
|
|
6039
6033
|
});
|
|
6040
6034
|
return o(), n.stack = u, a(), i === "full" || !l || l !== d ? c += s.move(d + "]") : i === "shortcut" ? c = c.slice(0, -1) : c += s.move("]"), c;
|
|
6041
6035
|
}
|
|
6042
|
-
function
|
|
6036
|
+
function Ni() {
|
|
6043
6037
|
return "!";
|
|
6044
6038
|
}
|
|
6045
6039
|
//#endregion
|
|
6046
6040
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
6047
|
-
|
|
6048
|
-
function
|
|
6041
|
+
Pi.peek = Fi;
|
|
6042
|
+
function Pi(e, t, n) {
|
|
6049
6043
|
let r = e.value || "", i = "`", a = -1;
|
|
6050
6044
|
for (; RegExp("(^|[^`])" + i + "([^`]|$)").test(r);) i += "`";
|
|
6051
6045
|
for (/[^ \r\n]/.test(r) && (/^[ \r\n]/.test(r) && /[ \r\n]$/.test(r) || /^`|`$/.test(r)) && (r = " " + r + " "); ++a < n.unsafe.length;) {
|
|
@@ -6057,21 +6051,21 @@ function Fi(e, t, n) {
|
|
|
6057
6051
|
}
|
|
6058
6052
|
return i + r + i;
|
|
6059
6053
|
}
|
|
6060
|
-
function
|
|
6054
|
+
function Fi() {
|
|
6061
6055
|
return "`";
|
|
6062
6056
|
}
|
|
6063
6057
|
//#endregion
|
|
6064
6058
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
6065
|
-
function
|
|
6066
|
-
let n =
|
|
6059
|
+
function Ii(e, t) {
|
|
6060
|
+
let n = h(e);
|
|
6067
6061
|
return !!(!t.options.resourceLink && e.url && !e.title && e.children && e.children.length === 1 && e.children[0].type === "text" && (n === e.url || "mailto:" + n === e.url) && /^[a-z][a-z+.-]+:/i.test(e.url) && !/[\0- <>\u007F]/.test(e.url));
|
|
6068
6062
|
}
|
|
6069
6063
|
//#endregion
|
|
6070
6064
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
6071
|
-
|
|
6072
|
-
function
|
|
6073
|
-
let i =
|
|
6074
|
-
if (
|
|
6065
|
+
Li.peek = Ri;
|
|
6066
|
+
function Li(e, t, n, r) {
|
|
6067
|
+
let i = yi(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.createTracker(r), s, c;
|
|
6068
|
+
if (Ii(e, n)) {
|
|
6075
6069
|
let t = n.stack;
|
|
6076
6070
|
n.stack = [], s = n.enter("autolink");
|
|
6077
6071
|
let r = o.move("<");
|
|
@@ -6101,13 +6095,13 @@ function Ri(e, t, n, r) {
|
|
|
6101
6095
|
...o.current()
|
|
6102
6096
|
})), l += o.move(i), c()), l += o.move(")"), s(), l;
|
|
6103
6097
|
}
|
|
6104
|
-
function
|
|
6105
|
-
return
|
|
6098
|
+
function Ri(e, t, n) {
|
|
6099
|
+
return Ii(e, n) ? "<" : "[";
|
|
6106
6100
|
}
|
|
6107
6101
|
//#endregion
|
|
6108
6102
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
6109
|
-
|
|
6110
|
-
function
|
|
6103
|
+
zi.peek = Bi;
|
|
6104
|
+
function zi(e, t, n, r) {
|
|
6111
6105
|
let i = e.referenceType, a = n.enter("linkReference"), o = n.enter("label"), s = n.createTracker(r), c = s.move("["), l = n.containerPhrasing(e, {
|
|
6112
6106
|
before: c,
|
|
6113
6107
|
after: "]",
|
|
@@ -6123,20 +6117,20 @@ function Bi(e, t, n, r) {
|
|
|
6123
6117
|
});
|
|
6124
6118
|
return o(), n.stack = u, a(), i === "full" || !l || l !== d ? c += s.move(d + "]") : i === "shortcut" ? c = c.slice(0, -1) : c += s.move("]"), c;
|
|
6125
6119
|
}
|
|
6126
|
-
function
|
|
6120
|
+
function Bi() {
|
|
6127
6121
|
return "[";
|
|
6128
6122
|
}
|
|
6129
6123
|
//#endregion
|
|
6130
6124
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
|
|
6131
|
-
function
|
|
6125
|
+
function Vi(e) {
|
|
6132
6126
|
let t = e.options.bullet || "*";
|
|
6133
6127
|
if (t !== "*" && t !== "+" && t !== "-") throw Error("Cannot serialize items with `" + t + "` for `options.bullet`, expected `*`, `+`, or `-`");
|
|
6134
6128
|
return t;
|
|
6135
6129
|
}
|
|
6136
6130
|
//#endregion
|
|
6137
6131
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
|
|
6138
|
-
function
|
|
6139
|
-
let t =
|
|
6132
|
+
function Hi(e) {
|
|
6133
|
+
let t = Vi(e), n = e.options.bulletOther;
|
|
6140
6134
|
if (!n) return t === "*" ? "-" : "*";
|
|
6141
6135
|
if (n !== "*" && n !== "+" && n !== "-") throw Error("Cannot serialize items with `" + n + "` for `options.bulletOther`, expected `*`, `+`, or `-`");
|
|
6142
6136
|
if (n === t) throw Error("Expected `bullet` (`" + t + "`) and `bulletOther` (`" + n + "`) to be different");
|
|
@@ -6144,25 +6138,25 @@ function Ui(e) {
|
|
|
6144
6138
|
}
|
|
6145
6139
|
//#endregion
|
|
6146
6140
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
|
|
6147
|
-
function
|
|
6141
|
+
function Ui(e) {
|
|
6148
6142
|
let t = e.options.bulletOrdered || ".";
|
|
6149
6143
|
if (t !== "." && t !== ")") throw Error("Cannot serialize items with `" + t + "` for `options.bulletOrdered`, expected `.` or `)`");
|
|
6150
6144
|
return t;
|
|
6151
6145
|
}
|
|
6152
6146
|
//#endregion
|
|
6153
6147
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-rule.js
|
|
6154
|
-
function
|
|
6148
|
+
function Wi(e) {
|
|
6155
6149
|
let t = e.options.rule || "*";
|
|
6156
6150
|
if (t !== "*" && t !== "-" && t !== "_") throw Error("Cannot serialize rules with `" + t + "` for `options.rule`, expected `*`, `-`, or `_`");
|
|
6157
6151
|
return t;
|
|
6158
6152
|
}
|
|
6159
6153
|
//#endregion
|
|
6160
6154
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/list.js
|
|
6161
|
-
function
|
|
6162
|
-
let i = n.enter("list"), a = n.bulletCurrent, o = e.ordered ?
|
|
6155
|
+
function Gi(e, t, n, r) {
|
|
6156
|
+
let i = n.enter("list"), a = n.bulletCurrent, o = e.ordered ? Ui(n) : Vi(n), s = e.ordered ? o === "." ? ")" : "." : Hi(n), c = t && n.bulletLastUsed ? o === n.bulletLastUsed : !1;
|
|
6163
6157
|
if (!e.ordered) {
|
|
6164
6158
|
let t = e.children ? e.children[0] : void 0;
|
|
6165
|
-
if ((o === "*" || o === "-") && t && (!t.children || !t.children[0]) && n.stack[n.stack.length - 1] === "list" && n.stack[n.stack.length - 2] === "listItem" && n.stack[n.stack.length - 3] === "list" && n.stack[n.stack.length - 4] === "listItem" && n.indexStack[n.indexStack.length - 1] === 0 && n.indexStack[n.indexStack.length - 2] === 0 && n.indexStack[n.indexStack.length - 3] === 0 && (c = !0),
|
|
6159
|
+
if ((o === "*" || o === "-") && t && (!t.children || !t.children[0]) && n.stack[n.stack.length - 1] === "list" && n.stack[n.stack.length - 2] === "listItem" && n.stack[n.stack.length - 3] === "list" && n.stack[n.stack.length - 4] === "listItem" && n.indexStack[n.indexStack.length - 1] === 0 && n.indexStack[n.indexStack.length - 2] === 0 && n.indexStack[n.indexStack.length - 3] === 0 && (c = !0), Wi(n) === o && t) {
|
|
6166
6160
|
let t = -1;
|
|
6167
6161
|
for (; ++t < e.children.length;) {
|
|
6168
6162
|
let n = e.children[t];
|
|
@@ -6179,15 +6173,15 @@ function Ki(e, t, n, r) {
|
|
|
6179
6173
|
}
|
|
6180
6174
|
//#endregion
|
|
6181
6175
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
|
|
6182
|
-
function
|
|
6176
|
+
function Ki(e) {
|
|
6183
6177
|
let t = e.options.listItemIndent || "one";
|
|
6184
6178
|
if (t !== "tab" && t !== "one" && t !== "mixed") throw Error("Cannot serialize items with `" + t + "` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");
|
|
6185
6179
|
return t;
|
|
6186
6180
|
}
|
|
6187
6181
|
//#endregion
|
|
6188
6182
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/list-item.js
|
|
6189
|
-
function
|
|
6190
|
-
let i =
|
|
6183
|
+
function qi(e, t, n, r) {
|
|
6184
|
+
let i = Ki(n), a = n.bulletCurrent || Vi(n);
|
|
6191
6185
|
t && t.type === "list" && t.ordered && (a = (typeof t.start == "number" && t.start > -1 ? t.start : 1) + (n.options.incrementListMarker === !1 ? 0 : t.children.indexOf(e)) + a);
|
|
6192
6186
|
let o = a.length + 1;
|
|
6193
6187
|
(i === "tab" || i === "mixed" && (t && t.type === "list" && t.spread || e.spread)) && (o = Math.ceil(o / 4) * 4);
|
|
@@ -6201,13 +6195,13 @@ function Ji(e, t, n, r) {
|
|
|
6201
6195
|
}
|
|
6202
6196
|
//#endregion
|
|
6203
6197
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
|
|
6204
|
-
function
|
|
6198
|
+
function Ji(e, t, n, r) {
|
|
6205
6199
|
let i = n.enter("paragraph"), a = n.enter("phrasing"), o = n.containerPhrasing(e, r);
|
|
6206
6200
|
return a(), i(), o;
|
|
6207
6201
|
}
|
|
6208
6202
|
//#endregion
|
|
6209
6203
|
//#region ../node_modules/mdast-util-phrasing/lib/index.js
|
|
6210
|
-
var
|
|
6204
|
+
var Yi = Sn([
|
|
6211
6205
|
"break",
|
|
6212
6206
|
"delete",
|
|
6213
6207
|
"emphasis",
|
|
@@ -6227,101 +6221,101 @@ var Xi = Cn([
|
|
|
6227
6221
|
]);
|
|
6228
6222
|
//#endregion
|
|
6229
6223
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/root.js
|
|
6230
|
-
function
|
|
6224
|
+
function Xi(e, t, n, r) {
|
|
6231
6225
|
return (e.children.some(function(e) {
|
|
6232
|
-
return
|
|
6226
|
+
return Yi(e);
|
|
6233
6227
|
}) ? n.containerPhrasing : n.containerFlow).call(n, e, r);
|
|
6234
6228
|
}
|
|
6235
6229
|
//#endregion
|
|
6236
6230
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
6237
|
-
function
|
|
6231
|
+
function Zi(e) {
|
|
6238
6232
|
let t = e.options.strong || "*";
|
|
6239
6233
|
if (t !== "*" && t !== "_") throw Error("Cannot serialize strong with `" + t + "` for `options.strong`, expected `*`, or `_`");
|
|
6240
6234
|
return t;
|
|
6241
6235
|
}
|
|
6242
6236
|
//#endregion
|
|
6243
6237
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
6244
|
-
|
|
6245
|
-
function
|
|
6246
|
-
let i =
|
|
6238
|
+
Qi.peek = $i;
|
|
6239
|
+
function Qi(e, t, n, r) {
|
|
6240
|
+
let i = Zi(n), a = n.enter("strong"), o = n.createTracker(r), s = o.move(i + i), c = o.move(n.containerPhrasing(e, {
|
|
6247
6241
|
after: i,
|
|
6248
6242
|
before: s,
|
|
6249
6243
|
...o.current()
|
|
6250
|
-
})), l = c.charCodeAt(0), u =
|
|
6251
|
-
u.inside && (c =
|
|
6252
|
-
let d = c.charCodeAt(c.length - 1), f =
|
|
6253
|
-
f.inside && (c = c.slice(0, -1) +
|
|
6244
|
+
})), l = c.charCodeAt(0), u = Ci(r.before.charCodeAt(r.before.length - 1), l, i);
|
|
6245
|
+
u.inside && (c = Si(l) + c.slice(1));
|
|
6246
|
+
let d = c.charCodeAt(c.length - 1), f = Ci(r.after.charCodeAt(0), d, i);
|
|
6247
|
+
f.inside && (c = c.slice(0, -1) + Si(d));
|
|
6254
6248
|
let p = o.move(i + i);
|
|
6255
6249
|
return a(), n.attentionEncodeSurroundingInfo = {
|
|
6256
6250
|
after: f.outside,
|
|
6257
6251
|
before: u.outside
|
|
6258
6252
|
}, s + c + p;
|
|
6259
6253
|
}
|
|
6260
|
-
function
|
|
6254
|
+
function $i(e, t, n) {
|
|
6261
6255
|
return n.options.strong || "*";
|
|
6262
6256
|
}
|
|
6263
6257
|
//#endregion
|
|
6264
6258
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/text.js
|
|
6265
|
-
function
|
|
6259
|
+
function ea(e, t, n, r) {
|
|
6266
6260
|
return n.safe(e.value, r);
|
|
6267
6261
|
}
|
|
6268
6262
|
//#endregion
|
|
6269
6263
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
|
|
6270
|
-
function
|
|
6264
|
+
function ta(e) {
|
|
6271
6265
|
let t = e.options.ruleRepetition || 3;
|
|
6272
6266
|
if (t < 3) throw Error("Cannot serialize rules with repetition `" + t + "` for `options.ruleRepetition`, expected `3` or more");
|
|
6273
6267
|
return t;
|
|
6274
6268
|
}
|
|
6275
6269
|
//#endregion
|
|
6276
6270
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
|
|
6277
|
-
function
|
|
6278
|
-
let r = (
|
|
6271
|
+
function na(e, t, n) {
|
|
6272
|
+
let r = (Wi(n) + (n.options.ruleSpaces ? " " : "")).repeat(ta(n));
|
|
6279
6273
|
return n.options.ruleSpaces ? r.slice(0, -1) : r;
|
|
6280
6274
|
}
|
|
6281
6275
|
//#endregion
|
|
6282
6276
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/index.js
|
|
6283
|
-
var
|
|
6284
|
-
blockquote:
|
|
6285
|
-
break:
|
|
6286
|
-
code:
|
|
6287
|
-
definition:
|
|
6288
|
-
emphasis:
|
|
6289
|
-
hardBreak:
|
|
6290
|
-
heading:
|
|
6291
|
-
html:
|
|
6292
|
-
image:
|
|
6293
|
-
imageReference:
|
|
6294
|
-
inlineCode:
|
|
6295
|
-
link:
|
|
6296
|
-
linkReference:
|
|
6297
|
-
list:
|
|
6298
|
-
listItem:
|
|
6299
|
-
paragraph:
|
|
6300
|
-
root:
|
|
6301
|
-
strong:
|
|
6302
|
-
text:
|
|
6303
|
-
thematicBreak:
|
|
6277
|
+
var ra = {
|
|
6278
|
+
blockquote: li,
|
|
6279
|
+
break: pi,
|
|
6280
|
+
code: _i,
|
|
6281
|
+
definition: bi,
|
|
6282
|
+
emphasis: wi,
|
|
6283
|
+
hardBreak: pi,
|
|
6284
|
+
heading: Di,
|
|
6285
|
+
html: Oi,
|
|
6286
|
+
image: Ai,
|
|
6287
|
+
imageReference: Mi,
|
|
6288
|
+
inlineCode: Pi,
|
|
6289
|
+
link: Li,
|
|
6290
|
+
linkReference: zi,
|
|
6291
|
+
list: Gi,
|
|
6292
|
+
listItem: qi,
|
|
6293
|
+
paragraph: Ji,
|
|
6294
|
+
root: Xi,
|
|
6295
|
+
strong: Qi,
|
|
6296
|
+
text: ea,
|
|
6297
|
+
thematicBreak: na
|
|
6304
6298
|
};
|
|
6305
6299
|
//#endregion
|
|
6306
6300
|
//#region ../node_modules/mdast-util-gfm-table/lib/index.js
|
|
6307
|
-
function
|
|
6301
|
+
function ia() {
|
|
6308
6302
|
return {
|
|
6309
6303
|
enter: {
|
|
6310
|
-
table:
|
|
6311
|
-
tableData: ua,
|
|
6312
|
-
tableHeader: ua,
|
|
6313
|
-
tableRow: ca
|
|
6314
|
-
},
|
|
6315
|
-
exit: {
|
|
6316
|
-
codeText: da,
|
|
6317
|
-
table: sa,
|
|
6304
|
+
table: aa,
|
|
6318
6305
|
tableData: la,
|
|
6319
6306
|
tableHeader: la,
|
|
6320
|
-
tableRow:
|
|
6307
|
+
tableRow: sa
|
|
6308
|
+
},
|
|
6309
|
+
exit: {
|
|
6310
|
+
codeText: ua,
|
|
6311
|
+
table: oa,
|
|
6312
|
+
tableData: ca,
|
|
6313
|
+
tableHeader: ca,
|
|
6314
|
+
tableRow: ca
|
|
6321
6315
|
}
|
|
6322
6316
|
};
|
|
6323
6317
|
}
|
|
6324
|
-
function
|
|
6318
|
+
function aa(e) {
|
|
6325
6319
|
let t = e._align;
|
|
6326
6320
|
this.enter({
|
|
6327
6321
|
type: "table",
|
|
@@ -6331,34 +6325,34 @@ function oa(e) {
|
|
|
6331
6325
|
children: []
|
|
6332
6326
|
}, e), this.data.inTable = !0;
|
|
6333
6327
|
}
|
|
6334
|
-
function
|
|
6328
|
+
function oa(e) {
|
|
6335
6329
|
this.exit(e), this.data.inTable = void 0;
|
|
6336
6330
|
}
|
|
6337
|
-
function
|
|
6331
|
+
function sa(e) {
|
|
6338
6332
|
this.enter({
|
|
6339
6333
|
type: "tableRow",
|
|
6340
6334
|
children: []
|
|
6341
6335
|
}, e);
|
|
6342
6336
|
}
|
|
6343
|
-
function
|
|
6337
|
+
function ca(e) {
|
|
6344
6338
|
this.exit(e);
|
|
6345
6339
|
}
|
|
6346
|
-
function
|
|
6340
|
+
function la(e) {
|
|
6347
6341
|
this.enter({
|
|
6348
6342
|
type: "tableCell",
|
|
6349
6343
|
children: []
|
|
6350
6344
|
}, e);
|
|
6351
6345
|
}
|
|
6352
|
-
function
|
|
6346
|
+
function ua(e) {
|
|
6353
6347
|
let t = this.resume();
|
|
6354
|
-
this.data.inTable && (t = t.replace(/\\([\\|])/g,
|
|
6348
|
+
this.data.inTable && (t = t.replace(/\\([\\|])/g, da));
|
|
6355
6349
|
let n = this.stack[this.stack.length - 1];
|
|
6356
6350
|
n.type, n.value = t, this.exit(e);
|
|
6357
6351
|
}
|
|
6358
|
-
function
|
|
6352
|
+
function da(e, t) {
|
|
6359
6353
|
return t === "|" ? t : e;
|
|
6360
6354
|
}
|
|
6361
|
-
function
|
|
6355
|
+
function fa(e) {
|
|
6362
6356
|
let t = e || {}, n = t.tableCellPadding, r = t.tablePipeAlign, i = t.stringLength, a = n ? " " : "|";
|
|
6363
6357
|
return {
|
|
6364
6358
|
unsafe: [
|
|
@@ -6413,7 +6407,7 @@ function pa(e) {
|
|
|
6413
6407
|
return o(), i(), s;
|
|
6414
6408
|
}
|
|
6415
6409
|
function l(e, t) {
|
|
6416
|
-
return
|
|
6410
|
+
return oi(e, {
|
|
6417
6411
|
align: t,
|
|
6418
6412
|
alignDelimiters: r,
|
|
6419
6413
|
padding: n,
|
|
@@ -6431,34 +6425,34 @@ function pa(e) {
|
|
|
6431
6425
|
return o(), a;
|
|
6432
6426
|
}
|
|
6433
6427
|
function f(e, t, n) {
|
|
6434
|
-
let r =
|
|
6428
|
+
let r = ra.inlineCode(e, t, n);
|
|
6435
6429
|
return n.stack.includes("tableCell") && (r = r.replace(/\|/g, "\\$&")), r;
|
|
6436
6430
|
}
|
|
6437
6431
|
}
|
|
6438
6432
|
//#endregion
|
|
6439
6433
|
//#region ../node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
6440
|
-
function
|
|
6434
|
+
function pa() {
|
|
6441
6435
|
return { exit: {
|
|
6442
|
-
taskListCheckValueChecked:
|
|
6443
|
-
taskListCheckValueUnchecked:
|
|
6444
|
-
paragraph:
|
|
6436
|
+
taskListCheckValueChecked: ha,
|
|
6437
|
+
taskListCheckValueUnchecked: ha,
|
|
6438
|
+
paragraph: ga
|
|
6445
6439
|
} };
|
|
6446
6440
|
}
|
|
6447
|
-
function
|
|
6441
|
+
function ma() {
|
|
6448
6442
|
return {
|
|
6449
6443
|
unsafe: [{
|
|
6450
6444
|
atBreak: !0,
|
|
6451
6445
|
character: "-",
|
|
6452
6446
|
after: "[:|-]"
|
|
6453
6447
|
}],
|
|
6454
|
-
handlers: { listItem:
|
|
6448
|
+
handlers: { listItem: _a }
|
|
6455
6449
|
};
|
|
6456
6450
|
}
|
|
6457
|
-
function
|
|
6451
|
+
function ha(e) {
|
|
6458
6452
|
let t = this.stack[this.stack.length - 2];
|
|
6459
6453
|
t.type, t.checked = e.type === "taskListCheckValueChecked";
|
|
6460
6454
|
}
|
|
6461
|
-
function
|
|
6455
|
+
function ga(e) {
|
|
6462
6456
|
let t = this.stack[this.stack.length - 2];
|
|
6463
6457
|
if (t && t.type === "listItem" && typeof t.checked == "boolean") {
|
|
6464
6458
|
let e = this.stack[this.stack.length - 1];
|
|
@@ -6478,10 +6472,10 @@ function _a(e) {
|
|
|
6478
6472
|
}
|
|
6479
6473
|
this.exit(e);
|
|
6480
6474
|
}
|
|
6481
|
-
function
|
|
6475
|
+
function _a(e, t, n, r) {
|
|
6482
6476
|
let i = e.children[0], a = typeof e.checked == "boolean" && i && i.type === "paragraph", o = "[" + (e.checked ? "x" : " ") + "] ", s = n.createTracker(r);
|
|
6483
6477
|
a && s.move(o);
|
|
6484
|
-
let c =
|
|
6478
|
+
let c = ra.listItem(e, t, n, {
|
|
6485
6479
|
...r,
|
|
6486
6480
|
...s.current()
|
|
6487
6481
|
});
|
|
@@ -6492,27 +6486,30 @@ function va(e, t, n, r) {
|
|
|
6492
6486
|
}
|
|
6493
6487
|
//#endregion
|
|
6494
6488
|
//#region ../node_modules/mdast-util-gfm/lib/index.js
|
|
6495
|
-
function
|
|
6489
|
+
function va() {
|
|
6496
6490
|
return [
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6491
|
+
wr(),
|
|
6492
|
+
Jr(),
|
|
6493
|
+
$r(),
|
|
6494
|
+
ia(),
|
|
6495
|
+
pa()
|
|
6502
6496
|
];
|
|
6503
6497
|
}
|
|
6504
|
-
function
|
|
6498
|
+
function ya(e) {
|
|
6505
6499
|
return { extensions: [
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6500
|
+
Tr(),
|
|
6501
|
+
Yr(e),
|
|
6502
|
+
ei(),
|
|
6503
|
+
fa(e),
|
|
6504
|
+
ma()
|
|
6511
6505
|
] };
|
|
6512
6506
|
}
|
|
6513
6507
|
//#endregion
|
|
6514
6508
|
//#region ../node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
6515
|
-
var
|
|
6509
|
+
var ba = {
|
|
6510
|
+
tokenize: ja,
|
|
6511
|
+
partial: !0
|
|
6512
|
+
}, xa = {
|
|
6516
6513
|
tokenize: Ma,
|
|
6517
6514
|
partial: !0
|
|
6518
6515
|
}, Sa = {
|
|
@@ -6525,63 +6522,60 @@ var xa = {
|
|
|
6525
6522
|
tokenize: Fa,
|
|
6526
6523
|
partial: !0
|
|
6527
6524
|
}, Ta = {
|
|
6528
|
-
tokenize: Ia,
|
|
6529
|
-
partial: !0
|
|
6530
|
-
}, Ea = {
|
|
6531
6525
|
name: "wwwAutolink",
|
|
6526
|
+
tokenize: ka,
|
|
6527
|
+
previous: Ia
|
|
6528
|
+
}, Ea = {
|
|
6529
|
+
name: "protocolAutolink",
|
|
6532
6530
|
tokenize: Aa,
|
|
6533
6531
|
previous: La
|
|
6534
|
-
}, Da = {
|
|
6535
|
-
name: "protocolAutolink",
|
|
6536
|
-
tokenize: ja,
|
|
6537
|
-
previous: Ra
|
|
6538
6532
|
}, X = {
|
|
6539
6533
|
name: "emailAutolink",
|
|
6540
|
-
tokenize:
|
|
6541
|
-
previous:
|
|
6534
|
+
tokenize: Oa,
|
|
6535
|
+
previous: Ra
|
|
6542
6536
|
}, Z = {};
|
|
6543
|
-
function
|
|
6537
|
+
function Da() {
|
|
6544
6538
|
return { text: Z };
|
|
6545
6539
|
}
|
|
6546
6540
|
for (var Q = 48; Q < 123;) Z[Q] = X, Q++, Q === 58 ? Q = 65 : Q === 91 && (Q = 97);
|
|
6547
|
-
Z[43] = X, Z[45] = X, Z[46] = X, Z[95] = X, Z[72] = [X,
|
|
6548
|
-
function
|
|
6541
|
+
Z[43] = X, Z[45] = X, Z[46] = X, Z[95] = X, Z[72] = [X, Ea], Z[104] = [X, Ea], Z[87] = [X, Ta], Z[119] = [X, Ta];
|
|
6542
|
+
function Oa(e, t, n) {
|
|
6549
6543
|
let r = this, i, a;
|
|
6550
6544
|
return o;
|
|
6551
6545
|
function o(t) {
|
|
6552
|
-
return !
|
|
6546
|
+
return !za(t) || !Ra.call(r, r.previous) || Ba(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), s(t));
|
|
6553
6547
|
}
|
|
6554
6548
|
function s(t) {
|
|
6555
|
-
return
|
|
6549
|
+
return za(t) ? (e.consume(t), s) : t === 64 ? (e.consume(t), c) : n(t);
|
|
6556
6550
|
}
|
|
6557
6551
|
function c(t) {
|
|
6558
|
-
return t === 46 ? e.check(
|
|
6552
|
+
return t === 46 ? e.check(wa, u, l)(t) : t === 45 || t === 95 || j(t) ? (a = !0, e.consume(t), c) : u(t);
|
|
6559
6553
|
}
|
|
6560
6554
|
function l(t) {
|
|
6561
6555
|
return e.consume(t), i = !0, c;
|
|
6562
6556
|
}
|
|
6563
6557
|
function u(o) {
|
|
6564
|
-
return a && i &&
|
|
6558
|
+
return a && i && A(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(o)) : n(o);
|
|
6565
6559
|
}
|
|
6566
6560
|
}
|
|
6567
|
-
function
|
|
6561
|
+
function ka(e, t, n) {
|
|
6568
6562
|
let r = this;
|
|
6569
6563
|
return i;
|
|
6570
6564
|
function i(t) {
|
|
6571
|
-
return t !== 87 && t !== 119 || !
|
|
6565
|
+
return t !== 87 && t !== 119 || !Ia.call(r, r.previous) || Ba(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(ba, e.attempt(xa, e.attempt(Sa, a), n), n)(t));
|
|
6572
6566
|
}
|
|
6573
6567
|
function a(n) {
|
|
6574
6568
|
return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(n);
|
|
6575
6569
|
}
|
|
6576
6570
|
}
|
|
6577
|
-
function
|
|
6571
|
+
function Aa(e, t, n) {
|
|
6578
6572
|
let r = this, i = "", a = !1;
|
|
6579
6573
|
return o;
|
|
6580
6574
|
function o(t) {
|
|
6581
|
-
return (t === 72 || t === 104) &&
|
|
6575
|
+
return (t === 72 || t === 104) && La.call(r, r.previous) && !Ba(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), i += String.fromCodePoint(t), e.consume(t), s) : n(t);
|
|
6582
6576
|
}
|
|
6583
6577
|
function s(t) {
|
|
6584
|
-
if (
|
|
6578
|
+
if (A(t) && i.length < 5) return i += String.fromCodePoint(t), e.consume(t), s;
|
|
6585
6579
|
if (t === 58) {
|
|
6586
6580
|
let n = i.toLowerCase();
|
|
6587
6581
|
if (n === "http" || n === "https") return e.consume(t), c;
|
|
@@ -6592,13 +6586,13 @@ function ja(e, t, n) {
|
|
|
6592
6586
|
return t === 47 ? (e.consume(t), a ? l : (a = !0, c)) : n(t);
|
|
6593
6587
|
}
|
|
6594
6588
|
function l(t) {
|
|
6595
|
-
return t === null ||
|
|
6589
|
+
return t === null || M(t) || I(t) || z(t) || R(t) ? n(t) : e.attempt(xa, e.attempt(Sa, u), n)(t);
|
|
6596
6590
|
}
|
|
6597
6591
|
function u(n) {
|
|
6598
6592
|
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(n);
|
|
6599
6593
|
}
|
|
6600
6594
|
}
|
|
6601
|
-
function
|
|
6595
|
+
function ja(e, t, n) {
|
|
6602
6596
|
let r = 0;
|
|
6603
6597
|
return i;
|
|
6604
6598
|
function i(t) {
|
|
@@ -6608,11 +6602,11 @@ function Ma(e, t, n) {
|
|
|
6608
6602
|
return e === null ? n(e) : t(e);
|
|
6609
6603
|
}
|
|
6610
6604
|
}
|
|
6611
|
-
function
|
|
6605
|
+
function Ma(e, t, n) {
|
|
6612
6606
|
let r, i, a;
|
|
6613
6607
|
return o;
|
|
6614
6608
|
function o(t) {
|
|
6615
|
-
return t === 46 || t === 95 ? e.check(
|
|
6609
|
+
return t === 46 || t === 95 ? e.check(Ca, c, s)(t) : t === null || I(t) || z(t) || t !== 45 && R(t) ? c(t) : (a = !0, e.consume(t), o);
|
|
6616
6610
|
}
|
|
6617
6611
|
function s(t) {
|
|
6618
6612
|
return t === 95 ? r = !0 : (i = r, r = void 0), e.consume(t), o;
|
|
@@ -6621,53 +6615,53 @@ function Na(e, t, n) {
|
|
|
6621
6615
|
return i || r || !a ? n(e) : t(e);
|
|
6622
6616
|
}
|
|
6623
6617
|
}
|
|
6624
|
-
function
|
|
6618
|
+
function Na(e, t) {
|
|
6625
6619
|
let n = 0, r = 0;
|
|
6626
6620
|
return i;
|
|
6627
6621
|
function i(o) {
|
|
6628
|
-
return o === 40 ? (n++, e.consume(o), i) : o === 41 && r < n ? a(o) : o === 33 || o === 34 || o === 38 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 60 || o === 63 || o === 93 || o === 95 || o === 126 ? e.check(
|
|
6622
|
+
return o === 40 ? (n++, e.consume(o), i) : o === 41 && r < n ? a(o) : o === 33 || o === 34 || o === 38 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 60 || o === 63 || o === 93 || o === 95 || o === 126 ? e.check(Ca, t, a)(o) : o === null || I(o) || z(o) ? t(o) : (e.consume(o), i);
|
|
6629
6623
|
}
|
|
6630
6624
|
function a(t) {
|
|
6631
6625
|
return t === 41 && r++, e.consume(t), i;
|
|
6632
6626
|
}
|
|
6633
6627
|
}
|
|
6634
|
-
function
|
|
6628
|
+
function Pa(e, t, n) {
|
|
6635
6629
|
return r;
|
|
6636
6630
|
function r(o) {
|
|
6637
|
-
return o === 33 || o === 34 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 63 || o === 95 || o === 126 ? (e.consume(o), r) : o === 38 ? (e.consume(o), a) : o === 93 ? (e.consume(o), i) : o === 60 || o === null ||
|
|
6631
|
+
return o === 33 || o === 34 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 63 || o === 95 || o === 126 ? (e.consume(o), r) : o === 38 ? (e.consume(o), a) : o === 93 ? (e.consume(o), i) : o === 60 || o === null || I(o) || z(o) ? t(o) : n(o);
|
|
6638
6632
|
}
|
|
6639
6633
|
function i(e) {
|
|
6640
|
-
return e === null || e === 40 || e === 91 ||
|
|
6634
|
+
return e === null || e === 40 || e === 91 || I(e) || z(e) ? t(e) : r(e);
|
|
6641
6635
|
}
|
|
6642
6636
|
function a(e) {
|
|
6643
|
-
return
|
|
6637
|
+
return A(e) ? o(e) : n(e);
|
|
6644
6638
|
}
|
|
6645
6639
|
function o(t) {
|
|
6646
|
-
return t === 59 ? (e.consume(t), r) :
|
|
6640
|
+
return t === 59 ? (e.consume(t), r) : A(t) ? (e.consume(t), o) : n(t);
|
|
6647
6641
|
}
|
|
6648
6642
|
}
|
|
6649
|
-
function
|
|
6643
|
+
function Fa(e, t, n) {
|
|
6650
6644
|
return r;
|
|
6651
6645
|
function r(t) {
|
|
6652
6646
|
return e.consume(t), i;
|
|
6653
6647
|
}
|
|
6654
6648
|
function i(e) {
|
|
6655
|
-
return
|
|
6649
|
+
return j(e) ? n(e) : t(e);
|
|
6656
6650
|
}
|
|
6657
6651
|
}
|
|
6652
|
+
function Ia(e) {
|
|
6653
|
+
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || I(e);
|
|
6654
|
+
}
|
|
6658
6655
|
function La(e) {
|
|
6659
|
-
return
|
|
6656
|
+
return !A(e);
|
|
6660
6657
|
}
|
|
6661
6658
|
function Ra(e) {
|
|
6662
|
-
return !
|
|
6659
|
+
return !(e === 47 || za(e));
|
|
6663
6660
|
}
|
|
6664
6661
|
function za(e) {
|
|
6665
|
-
return
|
|
6662
|
+
return e === 43 || e === 45 || e === 46 || e === 95 || j(e);
|
|
6666
6663
|
}
|
|
6667
6664
|
function Ba(e) {
|
|
6668
|
-
return e === 43 || e === 45 || e === 46 || e === 95 || M(e);
|
|
6669
|
-
}
|
|
6670
|
-
function Va(e) {
|
|
6671
6665
|
let t = e.length, n = !1;
|
|
6672
6666
|
for (; t--;) {
|
|
6673
6667
|
let r = e[t][1];
|
|
@@ -6684,33 +6678,33 @@ function Va(e) {
|
|
|
6684
6678
|
}
|
|
6685
6679
|
//#endregion
|
|
6686
6680
|
//#region ../node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
6687
|
-
var
|
|
6688
|
-
tokenize:
|
|
6681
|
+
var Va = {
|
|
6682
|
+
tokenize: Ya,
|
|
6689
6683
|
partial: !0
|
|
6690
6684
|
};
|
|
6691
|
-
function
|
|
6685
|
+
function Ha() {
|
|
6692
6686
|
return {
|
|
6693
6687
|
document: { 91: {
|
|
6694
6688
|
name: "gfmFootnoteDefinition",
|
|
6695
|
-
tokenize:
|
|
6696
|
-
continuation: { tokenize:
|
|
6697
|
-
exit:
|
|
6689
|
+
tokenize: Ka,
|
|
6690
|
+
continuation: { tokenize: qa },
|
|
6691
|
+
exit: Ja
|
|
6698
6692
|
} },
|
|
6699
6693
|
text: {
|
|
6700
6694
|
91: {
|
|
6701
6695
|
name: "gfmFootnoteCall",
|
|
6702
|
-
tokenize:
|
|
6696
|
+
tokenize: Ga
|
|
6703
6697
|
},
|
|
6704
6698
|
93: {
|
|
6705
6699
|
name: "gfmPotentialFootnoteCall",
|
|
6706
6700
|
add: "after",
|
|
6707
|
-
tokenize:
|
|
6708
|
-
resolveTo:
|
|
6701
|
+
tokenize: Ua,
|
|
6702
|
+
resolveTo: Wa
|
|
6709
6703
|
}
|
|
6710
6704
|
}
|
|
6711
6705
|
};
|
|
6712
6706
|
}
|
|
6713
|
-
function
|
|
6707
|
+
function Ua(e, t, n) {
|
|
6714
6708
|
let r = this, i = r.events.length, a = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), o;
|
|
6715
6709
|
for (; i--;) {
|
|
6716
6710
|
let e = r.events[i][1];
|
|
@@ -6723,14 +6717,14 @@ function Wa(e, t, n) {
|
|
|
6723
6717
|
return s;
|
|
6724
6718
|
function s(i) {
|
|
6725
6719
|
if (!o || !o._balanced) return n(i);
|
|
6726
|
-
let s =
|
|
6720
|
+
let s = k(r.sliceSerialize({
|
|
6727
6721
|
start: o.end,
|
|
6728
6722
|
end: r.now()
|
|
6729
6723
|
}));
|
|
6730
6724
|
return s.codePointAt(0) !== 94 || !a.includes(s.slice(1)) ? n(i) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(i), e.exit("gfmFootnoteCallLabelMarker"), t(i));
|
|
6731
6725
|
}
|
|
6732
6726
|
}
|
|
6733
|
-
function
|
|
6727
|
+
function Wa(e, t) {
|
|
6734
6728
|
let n = e.length;
|
|
6735
6729
|
for (; n--;) if (e[n][1].type === "labelImage" && e[n][0] === "enter") {
|
|
6736
6730
|
e[n][1];
|
|
@@ -6806,7 +6800,7 @@ function Ga(e, t) {
|
|
|
6806
6800
|
];
|
|
6807
6801
|
return e.splice(n, e.length - n + 1, ...s), e;
|
|
6808
6802
|
}
|
|
6809
|
-
function
|
|
6803
|
+
function Ga(e, t, n) {
|
|
6810
6804
|
let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a = 0, o;
|
|
6811
6805
|
return s;
|
|
6812
6806
|
function s(t) {
|
|
@@ -6816,19 +6810,19 @@ function Ka(e, t, n) {
|
|
|
6816
6810
|
return t === 94 ? (e.enter("gfmFootnoteCallMarker"), e.consume(t), e.exit("gfmFootnoteCallMarker"), e.enter("gfmFootnoteCallString"), e.enter("chunkString").contentType = "string", l) : n(t);
|
|
6817
6811
|
}
|
|
6818
6812
|
function l(s) {
|
|
6819
|
-
if (a > 999 || s === 93 && !o || s === null || s === 91 ||
|
|
6813
|
+
if (a > 999 || s === 93 && !o || s === null || s === 91 || I(s)) return n(s);
|
|
6820
6814
|
if (s === 93) {
|
|
6821
6815
|
e.exit("chunkString");
|
|
6822
6816
|
let a = e.exit("gfmFootnoteCallString");
|
|
6823
|
-
return i.includes(
|
|
6817
|
+
return i.includes(k(r.sliceSerialize(a))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(s), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(s);
|
|
6824
6818
|
}
|
|
6825
|
-
return
|
|
6819
|
+
return I(s) || (o = !0), a++, e.consume(s), s === 92 ? u : l;
|
|
6826
6820
|
}
|
|
6827
6821
|
function u(t) {
|
|
6828
6822
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), a++, l) : l(t);
|
|
6829
6823
|
}
|
|
6830
6824
|
}
|
|
6831
|
-
function
|
|
6825
|
+
function Ka(e, t, n) {
|
|
6832
6826
|
let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a, o = 0, s;
|
|
6833
6827
|
return c;
|
|
6834
6828
|
function c(t) {
|
|
@@ -6838,33 +6832,33 @@ function qa(e, t, n) {
|
|
|
6838
6832
|
return t === 94 ? (e.enter("gfmFootnoteDefinitionMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionMarker"), e.enter("gfmFootnoteDefinitionLabelString"), e.enter("chunkString").contentType = "string", u) : n(t);
|
|
6839
6833
|
}
|
|
6840
6834
|
function u(t) {
|
|
6841
|
-
if (o > 999 || t === 93 && !s || t === null || t === 91 ||
|
|
6835
|
+
if (o > 999 || t === 93 && !s || t === null || t === 91 || I(t)) return n(t);
|
|
6842
6836
|
if (t === 93) {
|
|
6843
6837
|
e.exit("chunkString");
|
|
6844
6838
|
let n = e.exit("gfmFootnoteDefinitionLabelString");
|
|
6845
|
-
return a =
|
|
6839
|
+
return a = k(r.sliceSerialize(n)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), f;
|
|
6846
6840
|
}
|
|
6847
|
-
return
|
|
6841
|
+
return I(t) || (s = !0), o++, e.consume(t), t === 92 ? d : u;
|
|
6848
6842
|
}
|
|
6849
6843
|
function d(t) {
|
|
6850
6844
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), o++, u) : u(t);
|
|
6851
6845
|
}
|
|
6852
6846
|
function f(t) {
|
|
6853
|
-
return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), i.includes(a) || i.push(a),
|
|
6847
|
+
return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), i.includes(a) || i.push(a), V(e, p, "gfmFootnoteDefinitionWhitespace")) : n(t);
|
|
6854
6848
|
}
|
|
6855
6849
|
function p(e) {
|
|
6856
6850
|
return t(e);
|
|
6857
6851
|
}
|
|
6858
6852
|
}
|
|
6859
|
-
function
|
|
6860
|
-
return e.check(
|
|
6853
|
+
function qa(e, t, n) {
|
|
6854
|
+
return e.check(W, t, e.attempt(Va, t, n));
|
|
6861
6855
|
}
|
|
6862
|
-
function
|
|
6856
|
+
function Ja(e) {
|
|
6863
6857
|
e.exit("gfmFootnoteDefinition");
|
|
6864
6858
|
}
|
|
6865
|
-
function
|
|
6859
|
+
function Ya(e, t, n) {
|
|
6866
6860
|
let r = this;
|
|
6867
|
-
return
|
|
6861
|
+
return V(e, i, "gfmFootnoteDefinitionIndent", 5);
|
|
6868
6862
|
function i(e) {
|
|
6869
6863
|
let i = r.events[r.events.length - 1];
|
|
6870
6864
|
return i && i[1].type === "gfmFootnoteDefinitionIndent" && i[2].sliceSerialize(i[1], !0).length === 4 ? t(e) : n(e);
|
|
@@ -6872,7 +6866,7 @@ function Xa(e, t, n) {
|
|
|
6872
6866
|
}
|
|
6873
6867
|
//#endregion
|
|
6874
6868
|
//#region ../node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
6875
|
-
function
|
|
6869
|
+
function Xa(e) {
|
|
6876
6870
|
let t = (e || {}).singleTilde, n = {
|
|
6877
6871
|
name: "strikethrough",
|
|
6878
6872
|
tokenize: i,
|
|
@@ -6919,7 +6913,7 @@ function Za(e) {
|
|
|
6919
6913
|
t
|
|
6920
6914
|
]
|
|
6921
6915
|
], s = t.parser.constructs.insideSpan.null;
|
|
6922
|
-
s &&
|
|
6916
|
+
s && S(o, o.length, 0, ce(s, e.slice(r + 1, n), t)), S(o, o.length, 0, [
|
|
6923
6917
|
[
|
|
6924
6918
|
"exit",
|
|
6925
6919
|
a,
|
|
@@ -6940,7 +6934,7 @@ function Za(e) {
|
|
|
6940
6934
|
i,
|
|
6941
6935
|
t
|
|
6942
6936
|
]
|
|
6943
|
-
]),
|
|
6937
|
+
]), S(e, r - 1, n - r + 3, o), n = r + o.length - 2;
|
|
6944
6938
|
break;
|
|
6945
6939
|
}
|
|
6946
6940
|
}
|
|
@@ -6954,22 +6948,22 @@ function Za(e) {
|
|
|
6954
6948
|
return i === 126 && a[a.length - 1][1].type !== "characterEscape" ? r(t) : (e.enter("strikethroughSequenceTemporary"), c(t));
|
|
6955
6949
|
}
|
|
6956
6950
|
function c(a) {
|
|
6957
|
-
let s =
|
|
6951
|
+
let s = H(i);
|
|
6958
6952
|
if (a === 126) return o > 1 ? r(a) : (e.consume(a), o++, c);
|
|
6959
6953
|
if (o < 2 && !t) return r(a);
|
|
6960
|
-
let l = e.exit("strikethroughSequenceTemporary"), u =
|
|
6954
|
+
let l = e.exit("strikethroughSequenceTemporary"), u = H(a);
|
|
6961
6955
|
return l._open = !u || u === 2 && !!s, l._close = !s || s === 2 && !!u, n(a);
|
|
6962
6956
|
}
|
|
6963
6957
|
}
|
|
6964
6958
|
}
|
|
6965
6959
|
//#endregion
|
|
6966
6960
|
//#region ../node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
6967
|
-
var
|
|
6961
|
+
var Za = class {
|
|
6968
6962
|
constructor() {
|
|
6969
6963
|
this.map = [];
|
|
6970
6964
|
}
|
|
6971
6965
|
add(e, t, n) {
|
|
6972
|
-
|
|
6966
|
+
Qa(this, e, t, n);
|
|
6973
6967
|
}
|
|
6974
6968
|
consume(e) {
|
|
6975
6969
|
/* c8 ignore next 3 -- `resolve` is never called without tables, so without edits. */
|
|
@@ -6987,7 +6981,7 @@ var Qa = class {
|
|
|
6987
6981
|
this.map.length = 0;
|
|
6988
6982
|
}
|
|
6989
6983
|
};
|
|
6990
|
-
function
|
|
6984
|
+
function Qa(e, t, n, r) {
|
|
6991
6985
|
let i = 0;
|
|
6992
6986
|
if (n !== 0 || r.length !== 0) {
|
|
6993
6987
|
for (; i < e.map.length;) {
|
|
@@ -7006,7 +7000,7 @@ function $a(e, t, n, r) {
|
|
|
7006
7000
|
}
|
|
7007
7001
|
//#endregion
|
|
7008
7002
|
//#region ../node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
7009
|
-
function
|
|
7003
|
+
function $a(e, t) {
|
|
7010
7004
|
let n = !1, r = [];
|
|
7011
7005
|
for (; t < e.length;) {
|
|
7012
7006
|
let i = e[t];
|
|
@@ -7025,14 +7019,14 @@ function eo(e, t) {
|
|
|
7025
7019
|
}
|
|
7026
7020
|
//#endregion
|
|
7027
7021
|
//#region ../node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
7028
|
-
function
|
|
7022
|
+
function eo() {
|
|
7029
7023
|
return { flow: { null: {
|
|
7030
7024
|
name: "table",
|
|
7031
|
-
tokenize:
|
|
7032
|
-
resolveAll:
|
|
7025
|
+
tokenize: to,
|
|
7026
|
+
resolveAll: no
|
|
7033
7027
|
} } };
|
|
7034
7028
|
}
|
|
7035
|
-
function
|
|
7029
|
+
function to(e, t, n) {
|
|
7036
7030
|
let r = this, i = 0, a = 0, o;
|
|
7037
7031
|
return s;
|
|
7038
7032
|
function s(e) {
|
|
@@ -7052,25 +7046,25 @@ function no(e, t, n) {
|
|
|
7052
7046
|
return e === 124 ? u(e) : (o = !0, a += 1, u(e));
|
|
7053
7047
|
}
|
|
7054
7048
|
function u(t) {
|
|
7055
|
-
return t === null ? n(t) :
|
|
7049
|
+
return t === null ? n(t) : F(t) ? a > 1 ? (a = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), p) : n(t) : L(t) ? V(e, u, "whitespace")(t) : (a += 1, o && (o = !1, i += 1), t === 124 ? (e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), o = !0, u) : (e.enter("data"), d(t)));
|
|
7056
7050
|
}
|
|
7057
7051
|
function d(t) {
|
|
7058
|
-
return t === null || t === 124 ||
|
|
7052
|
+
return t === null || t === 124 || I(t) ? (e.exit("data"), u(t)) : (e.consume(t), t === 92 ? f : d);
|
|
7059
7053
|
}
|
|
7060
7054
|
function f(t) {
|
|
7061
7055
|
return t === 92 || t === 124 ? (e.consume(t), d) : d(t);
|
|
7062
7056
|
}
|
|
7063
7057
|
function p(t) {
|
|
7064
|
-
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(t) : (e.enter("tableDelimiterRow"), o = !1,
|
|
7058
|
+
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(t) : (e.enter("tableDelimiterRow"), o = !1, L(t) ? V(e, m, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : m(t));
|
|
7065
7059
|
}
|
|
7066
7060
|
function m(t) {
|
|
7067
7061
|
return t === 45 || t === 58 ? g(t) : t === 124 ? (o = !0, e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), h) : x(t);
|
|
7068
7062
|
}
|
|
7069
7063
|
function h(t) {
|
|
7070
|
-
return
|
|
7064
|
+
return L(t) ? V(e, g, "whitespace")(t) : g(t);
|
|
7071
7065
|
}
|
|
7072
7066
|
function g(t) {
|
|
7073
|
-
return t === 58 ? (a += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), _) : t === 45 ? (a += 1, _(t)) : t === null ||
|
|
7067
|
+
return t === 58 ? (a += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), _) : t === 45 ? (a += 1, _(t)) : t === null || F(t) ? b(t) : x(t);
|
|
7074
7068
|
}
|
|
7075
7069
|
function _(t) {
|
|
7076
7070
|
return t === 45 ? (e.enter("tableDelimiterFiller"), v(t)) : x(t);
|
|
@@ -7079,10 +7073,10 @@ function no(e, t, n) {
|
|
|
7079
7073
|
return t === 45 ? (e.consume(t), v) : t === 58 ? (o = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), y) : (e.exit("tableDelimiterFiller"), y(t));
|
|
7080
7074
|
}
|
|
7081
7075
|
function y(t) {
|
|
7082
|
-
return
|
|
7076
|
+
return L(t) ? V(e, b, "whitespace")(t) : b(t);
|
|
7083
7077
|
}
|
|
7084
7078
|
function b(n) {
|
|
7085
|
-
return n === 124 ? m(n) : n === null ||
|
|
7079
|
+
return n === 124 ? m(n) : n === null || F(n) ? !o || i !== a ? x(n) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(n)) : x(n);
|
|
7086
7080
|
}
|
|
7087
7081
|
function x(e) {
|
|
7088
7082
|
return n(e);
|
|
@@ -7091,16 +7085,16 @@ function no(e, t, n) {
|
|
|
7091
7085
|
return e.enter("tableRow"), C(t);
|
|
7092
7086
|
}
|
|
7093
7087
|
function C(n) {
|
|
7094
|
-
return n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), C) : n === null ||
|
|
7088
|
+
return n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), C) : n === null || F(n) ? (e.exit("tableRow"), t(n)) : L(n) ? V(e, C, "whitespace")(n) : (e.enter("data"), w(n));
|
|
7095
7089
|
}
|
|
7096
7090
|
function w(t) {
|
|
7097
|
-
return t === null || t === 124 ||
|
|
7091
|
+
return t === null || t === 124 || I(t) ? (e.exit("data"), C(t)) : (e.consume(t), t === 92 ? T : w);
|
|
7098
7092
|
}
|
|
7099
7093
|
function T(t) {
|
|
7100
7094
|
return t === 92 || t === 124 ? (e.consume(t), w) : w(t);
|
|
7101
7095
|
}
|
|
7102
7096
|
}
|
|
7103
|
-
function
|
|
7097
|
+
function no(e, t) {
|
|
7104
7098
|
let n = -1, r = !0, i = 0, a = [
|
|
7105
7099
|
0,
|
|
7106
7100
|
0,
|
|
@@ -7111,10 +7105,10 @@ function ro(e, t) {
|
|
|
7111
7105
|
0,
|
|
7112
7106
|
0,
|
|
7113
7107
|
0
|
|
7114
|
-
], s = !1, c = 0, l, u, d, f = new
|
|
7108
|
+
], s = !1, c = 0, l, u, d, f = new Za();
|
|
7115
7109
|
for (; ++n < e.length;) {
|
|
7116
7110
|
let p = e[n], m = p[1];
|
|
7117
|
-
p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (
|
|
7111
|
+
p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (io(f, t, c, l, u), u = void 0, c = 0), l = {
|
|
7118
7112
|
type: "table",
|
|
7119
7113
|
start: Object.assign({}, m.start),
|
|
7120
7114
|
end: Object.assign({}, m.end)
|
|
@@ -7140,25 +7134,25 @@ function ro(e, t) {
|
|
|
7140
7134
|
"enter",
|
|
7141
7135
|
u,
|
|
7142
7136
|
t
|
|
7143
|
-
]])), i = m.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (a[1] !== 0 && (o[0] = o[1], d =
|
|
7137
|
+
]])), i = m.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (a[1] !== 0 && (o[0] = o[1], d = ro(f, t, a, i, void 0, d), a = [
|
|
7144
7138
|
0,
|
|
7145
7139
|
0,
|
|
7146
7140
|
0,
|
|
7147
7141
|
0
|
|
7148
|
-
]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d =
|
|
7142
|
+
]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d = ro(f, t, a, i, void 0, d)), a = o, o = [
|
|
7149
7143
|
a[1],
|
|
7150
7144
|
n,
|
|
7151
7145
|
0,
|
|
7152
7146
|
0
|
|
7153
|
-
])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d =
|
|
7147
|
+
])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d = ro(f, t, o, i, n, d)) : (o[0] = o[1], d = ro(f, t, a, i, n, d)), i = 0) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") && (o[3] = n);
|
|
7154
7148
|
}
|
|
7155
|
-
for (c !== 0 &&
|
|
7149
|
+
for (c !== 0 && io(f, t, c, l, u), f.consume(t.events), n = -1; ++n < t.events.length;) {
|
|
7156
7150
|
let e = t.events[n];
|
|
7157
|
-
e[0] === "enter" && e[1].type === "table" && (e[1]._align =
|
|
7151
|
+
e[0] === "enter" && e[1].type === "table" && (e[1]._align = $a(t.events, n));
|
|
7158
7152
|
}
|
|
7159
7153
|
return e;
|
|
7160
7154
|
}
|
|
7161
|
-
function
|
|
7155
|
+
function ro(e, t, n, r, i, a) {
|
|
7162
7156
|
let o = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData";
|
|
7163
7157
|
n[0] !== 0 && (a.end = Object.assign({}, $(t.events, n[0])), e.add(n[0], 0, [[
|
|
7164
7158
|
"exit",
|
|
@@ -7203,7 +7197,7 @@ function io(e, t, n, r, i, a) {
|
|
|
7203
7197
|
t
|
|
7204
7198
|
]]), a = void 0), a;
|
|
7205
7199
|
}
|
|
7206
|
-
function
|
|
7200
|
+
function io(e, t, n, r, i) {
|
|
7207
7201
|
let a = [], o = $(t.events, n);
|
|
7208
7202
|
i && (i.end = Object.assign({}, o), a.push([
|
|
7209
7203
|
"exit",
|
|
@@ -7221,56 +7215,56 @@ function $(e, t) {
|
|
|
7221
7215
|
}
|
|
7222
7216
|
//#endregion
|
|
7223
7217
|
//#region ../node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
7224
|
-
var
|
|
7218
|
+
var ao = {
|
|
7225
7219
|
name: "tasklistCheck",
|
|
7226
|
-
tokenize:
|
|
7220
|
+
tokenize: so
|
|
7227
7221
|
};
|
|
7228
|
-
function
|
|
7229
|
-
return { text: { 91:
|
|
7222
|
+
function oo() {
|
|
7223
|
+
return { text: { 91: ao } };
|
|
7230
7224
|
}
|
|
7231
|
-
function
|
|
7225
|
+
function so(e, t, n) {
|
|
7232
7226
|
let r = this;
|
|
7233
7227
|
return i;
|
|
7234
7228
|
function i(t) {
|
|
7235
7229
|
return r.previous !== null || !r._gfmTasklistFirstContentOfListItem ? n(t) : (e.enter("taskListCheck"), e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), a);
|
|
7236
7230
|
}
|
|
7237
7231
|
function a(t) {
|
|
7238
|
-
return
|
|
7232
|
+
return I(t) ? (e.enter("taskListCheckValueUnchecked"), e.consume(t), e.exit("taskListCheckValueUnchecked"), o) : t === 88 || t === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(t), e.exit("taskListCheckValueChecked"), o) : n(t);
|
|
7239
7233
|
}
|
|
7240
7234
|
function o(t) {
|
|
7241
7235
|
return t === 93 ? (e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), s) : n(t);
|
|
7242
7236
|
}
|
|
7243
7237
|
function s(r) {
|
|
7244
|
-
return
|
|
7238
|
+
return F(r) ? t(r) : L(r) ? e.check({ tokenize: co }, t, n)(r) : n(r);
|
|
7245
7239
|
}
|
|
7246
7240
|
}
|
|
7247
|
-
function
|
|
7248
|
-
return
|
|
7241
|
+
function co(e, t, n) {
|
|
7242
|
+
return V(e, r, "whitespace");
|
|
7249
7243
|
function r(e) {
|
|
7250
7244
|
return e === null ? n(e) : t(e);
|
|
7251
7245
|
}
|
|
7252
7246
|
}
|
|
7253
7247
|
//#endregion
|
|
7254
7248
|
//#region ../node_modules/micromark-extension-gfm/index.js
|
|
7255
|
-
function
|
|
7256
|
-
return
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7249
|
+
function lo(e) {
|
|
7250
|
+
return T([
|
|
7251
|
+
Da(),
|
|
7252
|
+
Ha(),
|
|
7253
|
+
Xa(e),
|
|
7254
|
+
eo(),
|
|
7255
|
+
oo()
|
|
7262
7256
|
]);
|
|
7263
7257
|
}
|
|
7264
7258
|
//#endregion
|
|
7265
7259
|
//#region ../node_modules/remark-gfm/lib/index.js
|
|
7266
|
-
var
|
|
7267
|
-
function
|
|
7268
|
-
let t = this, n = e ||
|
|
7269
|
-
i.push(
|
|
7260
|
+
var uo = {};
|
|
7261
|
+
function fo(e) {
|
|
7262
|
+
let t = this, n = e || uo, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
7263
|
+
i.push(lo(n)), a.push(va()), o.push(ya(n));
|
|
7270
7264
|
}
|
|
7271
7265
|
//#endregion
|
|
7272
7266
|
//#region ../node_modules/mdast-util-math/lib/index.js
|
|
7273
|
-
function
|
|
7267
|
+
function po() {
|
|
7274
7268
|
return {
|
|
7275
7269
|
enter: {
|
|
7276
7270
|
mathFlow: e,
|
|
@@ -7343,7 +7337,7 @@ function mo() {
|
|
|
7343
7337
|
this.config.enter.data.call(this, e), this.config.exit.data.call(this, e);
|
|
7344
7338
|
}
|
|
7345
7339
|
}
|
|
7346
|
-
function
|
|
7340
|
+
function mo(e) {
|
|
7347
7341
|
let t = (e || {}).singleDollarTextMath;
|
|
7348
7342
|
return t ??= !0, r.peek = i, {
|
|
7349
7343
|
unsafe: [
|
|
@@ -7376,7 +7370,7 @@ function ho(e) {
|
|
|
7376
7370
|
}
|
|
7377
7371
|
};
|
|
7378
7372
|
function n(e, t, n, r) {
|
|
7379
|
-
let i = e.value || "", a = n.createTracker(r), o = "$".repeat(Math.max(
|
|
7373
|
+
let i = e.value || "", a = n.createTracker(r), o = "$".repeat(Math.max(mi(i, "$") + 1, 2)), s = n.enter("mathFlow"), c = a.move(o);
|
|
7380
7374
|
if (e.meta) {
|
|
7381
7375
|
let t = n.enter("mathFlowMeta");
|
|
7382
7376
|
c += a.move(n.safe(e.meta, {
|
|
@@ -7411,31 +7405,31 @@ function ho(e) {
|
|
|
7411
7405
|
}
|
|
7412
7406
|
//#endregion
|
|
7413
7407
|
//#region ../node_modules/micromark-extension-math/lib/math-flow.js
|
|
7414
|
-
var
|
|
7415
|
-
tokenize:
|
|
7408
|
+
var ho = {
|
|
7409
|
+
tokenize: _o,
|
|
7416
7410
|
concrete: !0,
|
|
7417
7411
|
name: "mathFlow"
|
|
7418
|
-
},
|
|
7419
|
-
tokenize:
|
|
7412
|
+
}, go = {
|
|
7413
|
+
tokenize: vo,
|
|
7420
7414
|
partial: !0
|
|
7421
7415
|
};
|
|
7422
|
-
function
|
|
7416
|
+
function _o(e, t, n) {
|
|
7423
7417
|
let r = this, i = r.events[r.events.length - 1], a = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
|
|
7424
7418
|
return s;
|
|
7425
7419
|
function s(t) {
|
|
7426
7420
|
return e.enter("mathFlow"), e.enter("mathFlowFence"), e.enter("mathFlowFenceSequence"), c(t);
|
|
7427
7421
|
}
|
|
7428
7422
|
function c(t) {
|
|
7429
|
-
return t === 36 ? (e.consume(t), o++, c) : o < 2 ? n(t) : (e.exit("mathFlowFenceSequence"),
|
|
7423
|
+
return t === 36 ? (e.consume(t), o++, c) : o < 2 ? n(t) : (e.exit("mathFlowFenceSequence"), V(e, l, "whitespace")(t));
|
|
7430
7424
|
}
|
|
7431
7425
|
function l(t) {
|
|
7432
|
-
return t === null ||
|
|
7426
|
+
return t === null || F(t) ? d(t) : (e.enter("mathFlowFenceMeta"), e.enter("chunkString", { contentType: "string" }), u(t));
|
|
7433
7427
|
}
|
|
7434
7428
|
function u(t) {
|
|
7435
|
-
return t === null ||
|
|
7429
|
+
return t === null || F(t) ? (e.exit("chunkString"), e.exit("mathFlowFenceMeta"), d(t)) : t === 36 ? n(t) : (e.consume(t), u);
|
|
7436
7430
|
}
|
|
7437
7431
|
function d(n) {
|
|
7438
|
-
return e.exit("mathFlowFence"), r.interrupt ? t(n) : e.attempt(
|
|
7432
|
+
return e.exit("mathFlowFence"), r.interrupt ? t(n) : e.attempt(go, f, g)(n);
|
|
7439
7433
|
}
|
|
7440
7434
|
function f(t) {
|
|
7441
7435
|
return e.attempt({
|
|
@@ -7444,32 +7438,32 @@ function vo(e, t, n) {
|
|
|
7444
7438
|
}, g, p)(t);
|
|
7445
7439
|
}
|
|
7446
7440
|
function p(t) {
|
|
7447
|
-
return (a ?
|
|
7441
|
+
return (a ? V(e, m, "linePrefix", a + 1) : m)(t);
|
|
7448
7442
|
}
|
|
7449
7443
|
function m(t) {
|
|
7450
|
-
return t === null ? g(t) :
|
|
7444
|
+
return t === null ? g(t) : F(t) ? e.attempt(go, f, g)(t) : (e.enter("mathFlowValue"), h(t));
|
|
7451
7445
|
}
|
|
7452
7446
|
function h(t) {
|
|
7453
|
-
return t === null ||
|
|
7447
|
+
return t === null || F(t) ? (e.exit("mathFlowValue"), m(t)) : (e.consume(t), h);
|
|
7454
7448
|
}
|
|
7455
7449
|
function g(n) {
|
|
7456
7450
|
return e.exit("mathFlow"), t(n);
|
|
7457
7451
|
}
|
|
7458
7452
|
function _(e, t, n) {
|
|
7459
7453
|
let i = 0;
|
|
7460
|
-
return
|
|
7454
|
+
return V(e, a, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
7461
7455
|
function a(t) {
|
|
7462
7456
|
return e.enter("mathFlowFence"), e.enter("mathFlowFenceSequence"), s(t);
|
|
7463
7457
|
}
|
|
7464
7458
|
function s(t) {
|
|
7465
|
-
return t === 36 ? (i++, e.consume(t), s) : i < o ? n(t) : (e.exit("mathFlowFenceSequence"),
|
|
7459
|
+
return t === 36 ? (i++, e.consume(t), s) : i < o ? n(t) : (e.exit("mathFlowFenceSequence"), V(e, c, "whitespace")(t));
|
|
7466
7460
|
}
|
|
7467
7461
|
function c(r) {
|
|
7468
|
-
return r === null ||
|
|
7462
|
+
return r === null || F(r) ? (e.exit("mathFlowFence"), t(r)) : n(r);
|
|
7469
7463
|
}
|
|
7470
7464
|
}
|
|
7471
7465
|
}
|
|
7472
|
-
function
|
|
7466
|
+
function vo(e, t, n) {
|
|
7473
7467
|
let r = this;
|
|
7474
7468
|
return i;
|
|
7475
7469
|
function i(n) {
|
|
@@ -7481,12 +7475,12 @@ function yo(e, t, n) {
|
|
|
7481
7475
|
}
|
|
7482
7476
|
//#endregion
|
|
7483
7477
|
//#region ../node_modules/micromark-extension-math/lib/math-text.js
|
|
7484
|
-
function
|
|
7478
|
+
function yo(e) {
|
|
7485
7479
|
let t = (e || {}).singleDollarTextMath;
|
|
7486
7480
|
return t ??= !0, {
|
|
7487
7481
|
tokenize: n,
|
|
7488
|
-
resolve:
|
|
7489
|
-
previous:
|
|
7482
|
+
resolve: bo,
|
|
7483
|
+
previous: xo,
|
|
7490
7484
|
name: "mathText"
|
|
7491
7485
|
};
|
|
7492
7486
|
function n(e, n, r) {
|
|
@@ -7499,17 +7493,17 @@ function bo(e) {
|
|
|
7499
7493
|
return n === 36 ? (e.consume(n), i++, c) : i < 2 && !t ? r(n) : (e.exit("mathTextSequence"), l(n));
|
|
7500
7494
|
}
|
|
7501
7495
|
function l(t) {
|
|
7502
|
-
return t === null ? r(t) : t === 36 ? (o = e.enter("mathTextSequence"), a = 0, d(t)) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), l) :
|
|
7496
|
+
return t === null ? r(t) : t === 36 ? (o = e.enter("mathTextSequence"), a = 0, d(t)) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), l) : F(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), l) : (e.enter("mathTextData"), u(t));
|
|
7503
7497
|
}
|
|
7504
7498
|
function u(t) {
|
|
7505
|
-
return t === null || t === 32 || t === 36 ||
|
|
7499
|
+
return t === null || t === 32 || t === 36 || F(t) ? (e.exit("mathTextData"), l(t)) : (e.consume(t), u);
|
|
7506
7500
|
}
|
|
7507
7501
|
function d(t) {
|
|
7508
7502
|
return t === 36 ? (e.consume(t), a++, d) : a === i ? (e.exit("mathTextSequence"), e.exit("mathText"), n(t)) : (o.type = "mathTextData", u(t));
|
|
7509
7503
|
}
|
|
7510
7504
|
}
|
|
7511
7505
|
}
|
|
7512
|
-
function
|
|
7506
|
+
function bo(e) {
|
|
7513
7507
|
let t = e.length - 4, n = 3, r, i;
|
|
7514
7508
|
if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
|
|
7515
7509
|
for (r = n; ++r < t;) if (e[r][1].type === "mathTextData") {
|
|
@@ -7520,23 +7514,23 @@ function xo(e) {
|
|
|
7520
7514
|
for (r = n - 1, t++; ++r <= t;) i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "mathTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0);
|
|
7521
7515
|
return e;
|
|
7522
7516
|
}
|
|
7523
|
-
function
|
|
7517
|
+
function xo(e) {
|
|
7524
7518
|
return e !== 36 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
7525
7519
|
}
|
|
7526
7520
|
//#endregion
|
|
7527
7521
|
//#region ../node_modules/micromark-extension-math/lib/syntax.js
|
|
7528
|
-
function
|
|
7522
|
+
function So(e) {
|
|
7529
7523
|
return {
|
|
7530
|
-
flow: { 36:
|
|
7531
|
-
text: { 36:
|
|
7524
|
+
flow: { 36: ho },
|
|
7525
|
+
text: { 36: yo(e) }
|
|
7532
7526
|
};
|
|
7533
7527
|
}
|
|
7534
7528
|
//#endregion
|
|
7535
7529
|
//#region ../node_modules/remark-math/lib/index.js
|
|
7536
|
-
var
|
|
7537
|
-
function
|
|
7538
|
-
let t = this, n = e ||
|
|
7539
|
-
i.push(
|
|
7530
|
+
var Co = {};
|
|
7531
|
+
function wo(e) {
|
|
7532
|
+
let t = this, n = e || Co, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
7533
|
+
i.push(So(n)), a.push(po()), o.push(mo(n));
|
|
7540
7534
|
}
|
|
7541
7535
|
//#endregion
|
|
7542
|
-
export {
|
|
7536
|
+
export { $n as a, Mn as c, j as d, p as f, i as g, o as h, or as i, Sn as l, c as m, fo as n, Pn as o, s as p, gr as r, jn as s, wo as t, xn as u };
|