hexagon-editor 0.1.5 → 0.1.7

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.
Files changed (117) hide show
  1. package/README.md +44 -24
  2. package/dist/MarkdownEditor.vue.d.ts +28 -26
  3. package/dist/MarkdownEditor.vue.d.ts.map +1 -1
  4. package/dist/{MarkdownEditorLinkForm-C7CGgA83.js → MarkdownEditorLinkForm-B9dEX3WT.js} +1 -1
  5. package/dist/{base-Bnv2-Te4.js → base-BPdMUtQo.js} +141 -137
  6. package/dist/components/MarkdownEditorToolbar.vue.d.ts +4 -3
  7. package/dist/components/MarkdownEditorToolbar.vue.d.ts.map +1 -1
  8. package/dist/configure.d.ts +0 -2
  9. package/dist/configure.d.ts.map +1 -1
  10. package/dist/configure.js +11 -12
  11. package/dist/core/basic-editor-markdown.d.ts.map +1 -1
  12. package/dist/core/basic-editor-renderers.d.ts +6 -4
  13. package/dist/core/basic-editor-renderers.d.ts.map +1 -1
  14. package/dist/core/basic-editor-types.d.ts +2 -0
  15. package/dist/core/basic-editor-types.d.ts.map +1 -1
  16. package/dist/core/basic-editor.d.ts +1 -1
  17. package/dist/core/basic-editor.d.ts.map +1 -1
  18. package/dist/core/index.d.ts +0 -2
  19. package/dist/core/index.d.ts.map +1 -1
  20. package/dist/core.js +28 -31
  21. package/dist/extensions.js +1 -1
  22. package/dist/forms/MarkdownEditorImageForm.vue.d.ts +2 -2
  23. package/dist/forms/MarkdownEditorImageForm.vue.d.ts.map +1 -1
  24. package/dist/forms/MarkdownEditorLinkForm.vue.d.ts +2 -2
  25. package/dist/forms/MarkdownEditorTextInput.vue.d.ts +2 -2
  26. package/dist/forms/MarkdownEditorTextInput.vue.d.ts.map +1 -1
  27. package/dist/forms.js +1 -1
  28. package/dist/{full-C-o2lPBX.js → full-Da8esvj2.js} +1 -1
  29. package/dist/{full-specs-Cl-ODShc.js → full-specs-hXKoMF-0.js} +1 -1
  30. package/dist/index-D_CMntQU.js +3173 -0
  31. package/dist/index.css +1 -1
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +240 -236
  35. package/dist/{markup-commands-B2NMfYHE.js → markup-commands-BYsx8ADT.js} +1989 -1963
  36. package/dist/presets.js +2 -2
  37. package/dist/public-types.d.ts +22 -0
  38. package/dist/public-types.d.ts.map +1 -1
  39. package/dist/renderer/MarkdownRenderer.vue.d.ts +2 -0
  40. package/dist/renderer/MarkdownRenderer.vue.d.ts.map +1 -1
  41. package/dist/renderer/markdown.d.ts +2 -1
  42. package/dist/renderer/markdown.d.ts.map +1 -1
  43. package/dist/renderer.css +1 -1
  44. package/dist/renderer.js +3590 -200
  45. package/package.json +106 -108
  46. package/dist/MarkdownEditorLinkForm.css +0 -1
  47. package/dist/abnfDiagram-N423BO3Z-DCf6sPky.js +0 -87
  48. package/dist/arc-y6UeoJpJ.js +0 -83
  49. package/dist/architectureDiagram-T3A2C74G-Cc3_3-cI.js +0 -4778
  50. package/dist/base.css +0 -1
  51. package/dist/blockDiagram-VBNYF7ZC-DWVLZwXY.js +0 -2419
  52. package/dist/c4Diagram-5PPSVZJV-CaIN7qay.js +0 -1577
  53. package/dist/channel-BwXGcavV.js +0 -5
  54. package/dist/chunk-2GRJ4B5K-O75udjPr.js +0 -68
  55. package/dist/chunk-2Q5K7J3B-CySL0lOA.js +0 -15
  56. package/dist/chunk-5RXB4S5H-BKPnLCOJ.js +0 -1408
  57. package/dist/chunk-5VM5RSS4--it1VJIv.js +0 -19
  58. package/dist/chunk-6Q2QTUOP-DNiML-50.js +0 -664
  59. package/dist/chunk-GF5L2VYU-z7A-k0-V.js +0 -1533
  60. package/dist/chunk-JWPE2WC7-DAjx3Kjr.js +0 -8
  61. package/dist/chunk-KBJHAD2P-D4R1VW0r.js +0 -19
  62. package/dist/chunk-RYQCIY6F-DmJAYxq8.js +0 -313
  63. package/dist/chunk-XXDRQBXY-CK913N-t.js +0 -8
  64. package/dist/classDiagram-JCYQIIEL-Djipq_HJ.js +0 -16
  65. package/dist/classDiagram-v2-OCEON4UE-Djipq_HJ.js +0 -16
  66. package/dist/core/optional-renderers.d.ts +0 -9
  67. package/dist/core/optional-renderers.d.ts.map +0 -1
  68. package/dist/cose-bilkent-JH36ORCC-CXuKFbXy.js +0 -2608
  69. package/dist/cynefin-VYW2F7L2-Bkk-F_Js.js +0 -23766
  70. package/dist/cynefinDiagram-MW4NZA55-DwOK40hm.js +0 -299
  71. package/dist/cytoscape.esm-3W4EOjxC.js +0 -18756
  72. package/dist/dagre-VZM6K2ZE-0VsGm8Ag.js +0 -340
  73. package/dist/defaultLocale-BgPVtth8.js +0 -171
  74. package/dist/diagram-7IWD3JNH-BrApu1hz.js +0 -350
  75. package/dist/diagram-B4RE2ZJO-CVXoBg2r.js +0 -461
  76. package/dist/diagram-LBJQPF4R-Dp0eSz2L.js +0 -142
  77. package/dist/diagram-Q27KOJAE-DWIltqIH.js +0 -528
  78. package/dist/diagram-UB23O5K3-B7z2Lj3K.js +0 -219
  79. package/dist/ebnfDiagram-BXEA7PRR-CYgE6z_2.js +0 -109
  80. package/dist/erDiagram-JOGREHBK-D3QWrPo-.js +0 -910
  81. package/dist/flowDiagram-UKHOOZJN-CfjPcHNW.js +0 -1638
  82. package/dist/ganttDiagram-PKOTCBZU-ECmaWI-9.js +0 -2711
  83. package/dist/gitGraphDiagram-DS77QQ5N-DgG1RGJ8.js +0 -815
  84. package/dist/graph-DAHC4kPm.js +0 -1545
  85. package/dist/infoDiagram-6WML65LV-B1Yl3nZV.js +0 -24
  86. package/dist/init-DjUOC4st.js +0 -16
  87. package/dist/ishikawaDiagram-WSZJBQD7-4sngaB5o.js +0 -621
  88. package/dist/journeyDiagram-NVQOT4AX-B_6AmR_j.js +0 -834
  89. package/dist/kanban-definition-27J2QSJJ-B8BO9o8J.js +0 -724
  90. package/dist/katex-ByXcxnHy.js +0 -14436
  91. package/dist/katex-DoRnZ_sp.js +0 -11682
  92. package/dist/layout-DBbo_M5I.js +0 -1519
  93. package/dist/linear-BEdRfKba.js +0 -259
  94. package/dist/map-DRdzG8Ho.js +0 -224
  95. package/dist/markup-commands.css +0 -1
  96. package/dist/mermaid.core-CR0bA2Wa.js +0 -16496
  97. package/dist/mindmap-definition-FAOFIHXS-DnPz807N.js +0 -827
  98. package/dist/optional-renderers-BalvqqvY.js +0 -11
  99. package/dist/ordinal-B6-f3MAq.js +0 -61
  100. package/dist/pegDiagram-VL7TDLO6-csGWlzs8.js +0 -95
  101. package/dist/pieDiagram-7S7Q4E2Y-Bqs8j5FX.js +0 -207
  102. package/dist/quadrantDiagram-CIZ2JOQS-jzP4lRrY.js +0 -1023
  103. package/dist/railroadDiagram-AXF67PYL-BSCyR24u.js +0 -77
  104. package/dist/renderer/mermaid-runtime.d.ts +0 -4
  105. package/dist/renderer/mermaid-runtime.d.ts.map +0 -1
  106. package/dist/requirementDiagram-LRYGKXZP-DmEkLYqX.js +0 -882
  107. package/dist/sankeyDiagram-W5VNT64P-CYvRYMTh.js +0 -847
  108. package/dist/sequenceDiagram-SI44F4Z6-CyWbDtPA.js +0 -2888
  109. package/dist/sizeCapture-X5ZJPWSS-xKhYCY84.js +0 -46
  110. package/dist/stateDiagram-OKZ733FA-DP44R2Dd.js +0 -263
  111. package/dist/stateDiagram-v2-UEYNNEHI-BvlOisND.js +0 -16
  112. package/dist/swimlanes-SLNWSIFB-BKFp8twH.js +0 -5332
  113. package/dist/swimlanesDiagram-ULZ7WXOC-CTvIFuHq.js +0 -13
  114. package/dist/timeline-definition-Z64GVDOM-B4137uIl.js +0 -1055
  115. package/dist/vennDiagram-T6HMQDX7-CPs8gXjx.js +0 -1578
  116. package/dist/wardleyDiagram-T6FBY63Y-BYp13hbI.js +0 -675
  117. package/dist/xychartDiagram-ELKLHX3M-DTT37K2u.js +0 -1388
package/dist/renderer.js CHANGED
@@ -1,259 +1,3649 @@
1
- import { defineComponent as M, ref as S, getCurrentInstance as w, computed as I, watch as T, nextTick as q, onMounted as H, onBeforeUnmount as A, openBlock as j, createElementBlock as G, render as b, h as R } from "vue";
2
- import { M as x, k as W } from "./katex-ByXcxnHy.js";
3
- import { d as B } from "./index-uerphigI.js";
4
- import { i as D, s as E, a as O } from "./index-CqpK5VVw.js";
5
- import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- import './renderer.css';const h = new x().utils.escapeHtml;
7
- function L(n) {
8
- n.inline.ruler.after("backticks", "inline_math", (e, r) => {
9
- if (e.src[e.pos] !== "$" || e.src[e.pos + 1] === "$" || y(e.src, e.pos)) return !1;
10
- let i = e.pos + 1;
11
- for (; i < e.posMax; ) {
12
- if (i = e.src.indexOf("$", i), i < 0 || i >= e.posMax) return !1;
13
- if (!y(e.src, i)) break;
14
- i += 1;
15
- }
16
- if (i <= e.pos + 1 || /\s/.test(e.src[e.pos + 1] ?? "") || /\s/.test(e.src[i - 1] ?? "")) return !1;
17
- if (!r) {
18
- const t = e.push("inline_math", "", 0);
19
- t.content = e.src.slice(e.pos + 1, i);
20
- }
21
- return e.pos = i + 1, !0;
22
- }), n.block.ruler.before("fence", "math_block", (e, r, i, t) => {
23
- const o = e.getLines(r, r + 1, 0, !1).trim();
24
- if (!o.startsWith("$$")) return !1;
25
- const s = o.match(/^\$\$\s*(.*?)\s*\$\$$/);
26
- if (s !== null) {
27
- if (!t) {
28
- const l = e.push("math_block", "", 0);
29
- l.content = s[1] ?? "";
30
- }
31
- return e.line = r + 1, !0;
32
- }
33
- if (o !== "$$") return !1;
34
- let c = r + 1;
35
- for (; c < i && e.getLines(c, c + 1, 0, !1).trim() !== "$$"; ) c += 1;
36
- if (c === i) return !1;
37
- if (!t) {
38
- const l = e.push("math_block", "", 0);
39
- l.content = e.getLines(r + 1, c, 0, !1).trim();
40
- }
41
- return e.line = c + 1, !0;
1
+ import { defineComponent as T0, ref as B0, getCurrentInstance as $0, computed as I0, watch as M0, nextTick as q0, onMounted as R0, onBeforeUnmount as P0, openBlock as L0, createElementBlock as O0, render as Mu, h as N0 } from "vue";
2
+ const qu = {};
3
+ function j0(u) {
4
+ let e = qu[u];
5
+ if (e)
6
+ return e;
7
+ e = qu[u] = [];
8
+ for (let n = 0; n < 128; n++) {
9
+ const t = String.fromCharCode(n);
10
+ e.push(t);
11
+ }
12
+ for (let n = 0; n < u.length; n++) {
13
+ const t = u.charCodeAt(n);
14
+ e[t] = "%" + ("0" + t.toString(16).toUpperCase()).slice(-2);
15
+ }
16
+ return e;
17
+ }
18
+ function G(u, e) {
19
+ typeof e != "string" && (e = G.defaultChars);
20
+ const n = j0(e);
21
+ return u.replace(/(%[a-f0-9]{2})+/gi, function(t) {
22
+ let c = "";
23
+ for (let r = 0, i = t.length; r < i; r += 3) {
24
+ const o = parseInt(t.slice(r + 1, r + 3), 16);
25
+ if (o < 128) {
26
+ c += n[o];
27
+ continue;
28
+ }
29
+ if ((o & 224) === 192 && r + 3 < i) {
30
+ const a = parseInt(t.slice(r + 4, r + 6), 16);
31
+ if ((a & 192) === 128) {
32
+ const s = o << 6 & 1984 | a & 63;
33
+ s < 128 ? c += "��" : c += String.fromCharCode(s), r += 3;
34
+ continue;
35
+ }
36
+ }
37
+ if ((o & 240) === 224 && r + 6 < i) {
38
+ const a = parseInt(t.slice(r + 4, r + 6), 16), s = parseInt(t.slice(r + 7, r + 9), 16);
39
+ if ((a & 192) === 128 && (s & 192) === 128) {
40
+ const f = o << 12 & 61440 | a << 6 & 4032 | s & 63;
41
+ f < 2048 || f >= 55296 && f <= 57343 ? c += "���" : c += String.fromCharCode(f), r += 6;
42
+ continue;
43
+ }
44
+ }
45
+ if ((o & 248) === 240 && r + 9 < i) {
46
+ const a = parseInt(t.slice(r + 4, r + 6), 16), s = parseInt(t.slice(r + 7, r + 9), 16), f = parseInt(t.slice(r + 10, r + 12), 16);
47
+ if ((a & 192) === 128 && (s & 192) === 128 && (f & 192) === 128) {
48
+ let l = o << 18 & 1835008 | a << 12 & 258048 | s << 6 & 4032 | f & 63;
49
+ l < 65536 || l > 1114111 ? c += "����" : (l -= 65536, c += String.fromCharCode(55296 + (l >> 10), 56320 + (l & 1023))), r += 9;
50
+ continue;
51
+ }
52
+ }
53
+ c += "�";
54
+ }
55
+ return c;
42
56
  });
43
57
  }
44
- function F(n) {
45
- n.block.ruler.before("fence", "yfm_html_block", (e, r, i, t) => {
46
- if (e.getLines(r, r + 1, 0, !1).trim() !== ":::html") return !1;
47
- let o = r + 1;
48
- for (; o < i && e.getLines(o, o + 1, 0, !1).trim() !== ":::"; ) o += 1;
49
- if (o === i) return !1;
50
- if (!t) {
51
- const s = e.push("yfm_html_block", "", 0);
52
- s.content = e.getLines(r + 1, o, 0, !1).trim();
58
+ G.defaultChars = ";/?:@&=+$,#";
59
+ G.componentChars = "";
60
+ const Ru = {};
61
+ function H0(u) {
62
+ let e = Ru[u];
63
+ if (e)
64
+ return e;
65
+ e = Ru[u] = [];
66
+ for (let n = 0; n < 128; n++) {
67
+ const t = String.fromCharCode(n);
68
+ /^[0-9a-z]$/i.test(t) ? e.push(t) : e.push("%" + ("0" + n.toString(16).toUpperCase()).slice(-2));
69
+ }
70
+ for (let n = 0; n < u.length; n++)
71
+ e[u.charCodeAt(n)] = u[n];
72
+ return e;
73
+ }
74
+ function nu(u, e, n) {
75
+ typeof e != "string" && (n = e, e = nu.defaultChars), typeof n > "u" && (n = !0);
76
+ const t = H0(e);
77
+ let c = "";
78
+ for (let r = 0, i = u.length; r < i; r++) {
79
+ const o = u.charCodeAt(r);
80
+ if (n && o === 37 && r + 2 < i && /^[0-9a-f]{2}$/i.test(u.slice(r + 1, r + 3))) {
81
+ c += u.slice(r, r + 3), r += 2;
82
+ continue;
53
83
  }
54
- return e.line = o + 1, !0;
55
- }), n.block.ruler.before("fence", "directive", (e, r, i, t) => {
56
- const s = e.getLines(r, r + 1, 0, !1).trim().match(/^:::\s*(\w+)\s*$/);
57
- if (s === null) return !1;
58
- let c = r + 1;
59
- for (; c < i && e.getLines(c, c + 1, 0, !1).trim() !== ":::"; ) c += 1;
60
- if (c === i) return !1;
61
- if (!t) {
62
- const l = e.push("directive", "", 0);
63
- l.info = s[1] ?? "note", l.content = e.getLines(r + 1, c, 0, !1).trim();
64
- }
65
- return e.line = c + 1, !0;
84
+ if (o < 128) {
85
+ c += t[o];
86
+ continue;
87
+ }
88
+ if (o >= 55296 && o <= 57343) {
89
+ if (o >= 55296 && o <= 56319 && r + 1 < i) {
90
+ const a = u.charCodeAt(r + 1);
91
+ if (a >= 56320 && a <= 57343) {
92
+ c += encodeURIComponent(u[r] + u[r + 1]), r++;
93
+ continue;
94
+ }
95
+ }
96
+ c += "%EF%BF%BD";
97
+ continue;
98
+ }
99
+ c += encodeURIComponent(u[r]);
100
+ }
101
+ return c;
102
+ }
103
+ nu.defaultChars = ";/?:@&=+$,-_.!~*'()#";
104
+ nu.componentChars = "-_.!~*'()";
105
+ function wu(u) {
106
+ let e = "";
107
+ return e += u.protocol || "", e += u.slashes ? "//" : "", e += u.auth ? u.auth + "@" : "", u.hostname && u.hostname.indexOf(":") !== -1 ? e += "[" + u.hostname + "]" : e += u.hostname || "", e += u.port ? ":" + u.port : "", e += u.pathname || "", e += u.search || "", e += u.hash || "", e;
108
+ }
109
+ function au() {
110
+ this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
111
+ }
112
+ const U0 = /^([a-z0-9.+-]+:)/i, Z0 = /:[0-9]*$/, G0 = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, V0 = ["<", ">", '"', "`", " ", "\r", `
113
+ `, " "], W0 = ["{", "}", "|", "\\", "^", "`"].concat(V0), J0 = ["'"].concat(W0), Pu = ["%", "/", "?", ";", "#"].concat(J0), Lu = ["/", "?", "#"], Q0 = 255, Ou = /^[+a-z0-9A-Z_-]{0,63}$/, X0 = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Nu = {
114
+ javascript: !0,
115
+ "javascript:": !0
116
+ }, ju = {
117
+ http: !0,
118
+ https: !0,
119
+ ftp: !0,
120
+ gopher: !0,
121
+ file: !0,
122
+ "http:": !0,
123
+ "https:": !0,
124
+ "ftp:": !0,
125
+ "gopher:": !0,
126
+ "file:": !0
127
+ };
128
+ function vu(u, e) {
129
+ if (u && u instanceof au) return u;
130
+ const n = new au();
131
+ return n.parse(u, e), n;
132
+ }
133
+ au.prototype.parse = function(u, e) {
134
+ let n, t, c, r = u;
135
+ if (r = r.trim(), !e && u.split("#").length === 1) {
136
+ const s = G0.exec(r);
137
+ if (s)
138
+ return this.pathname = s[1], s[2] && (this.search = s[2]), this;
139
+ }
140
+ let i = U0.exec(r);
141
+ if (i && (i = i[0], n = i.toLowerCase(), this.protocol = i, r = r.substr(i.length)), (e || i || r.match(/^\/\/[^@\/]+@[^@\/]+/)) && (c = r.substr(0, 2) === "//", c && !(i && Nu[i]) && (r = r.substr(2), this.slashes = !0)), !Nu[i] && (c || i && !ju[i])) {
142
+ let s = -1;
143
+ for (let d = 0; d < Lu.length; d++)
144
+ t = r.indexOf(Lu[d]), t !== -1 && (s === -1 || t < s) && (s = t);
145
+ let f, l;
146
+ s === -1 ? l = r.lastIndexOf("@") : l = r.lastIndexOf("@", s), l !== -1 && (f = r.slice(0, l), r = r.slice(l + 1), this.auth = f), s = -1;
147
+ for (let d = 0; d < Pu.length; d++)
148
+ t = r.indexOf(Pu[d]), t !== -1 && (s === -1 || t < s) && (s = t);
149
+ s === -1 && (s = r.length), r[s - 1] === ":" && s--;
150
+ const b = r.slice(0, s);
151
+ r = r.slice(s), this.parseHost(b), this.hostname = this.hostname || "";
152
+ const h = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
153
+ if (!h) {
154
+ const d = this.hostname.split(/\./);
155
+ for (let p = 0, x = d.length; p < x; p++) {
156
+ const D = d[p];
157
+ if (D && !D.match(Ou)) {
158
+ let m = "";
159
+ for (let _ = 0, k = D.length; _ < k; _++)
160
+ D.charCodeAt(_) > 127 ? m += "x" : m += D[_];
161
+ if (!m.match(Ou)) {
162
+ const _ = d.slice(0, p), k = d.slice(p + 1), g = D.match(X0);
163
+ g && (_.push(g[1]), k.unshift(g[2])), k.length && (r = k.join(".") + r), this.hostname = _.join(".");
164
+ break;
165
+ }
166
+ }
167
+ }
168
+ }
169
+ this.hostname.length > Q0 && (this.hostname = ""), h && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
170
+ }
171
+ const o = r.indexOf("#");
172
+ o !== -1 && (this.hash = r.substr(o), r = r.slice(0, o));
173
+ const a = r.indexOf("?");
174
+ return a !== -1 && (this.search = r.substr(a), r = r.slice(0, a)), r && (this.pathname = r), ju[n] && this.hostname && !this.pathname && (this.pathname = ""), this;
175
+ };
176
+ au.prototype.parseHost = function(u) {
177
+ let e = Z0.exec(u);
178
+ e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
179
+ };
180
+ const K0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
181
+ __proto__: null,
182
+ decode: G,
183
+ encode: nu,
184
+ format: wu,
185
+ parse: vu
186
+ }, Symbol.toStringTag, { value: "Module" })), r0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, t0 = /[\0-\x1F\x7F-\x9F]/, Y0 = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, Su = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, c0 = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, o0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
187
+ __proto__: null,
188
+ Any: r0,
189
+ Cc: t0,
190
+ Cf: Y0,
191
+ P: Su,
192
+ S: c0,
193
+ Z: o0
194
+ }, Symbol.toStringTag, { value: "Module" })), ee = new Uint16Array(
195
+ // prettier-ignore
196
+ 'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((u) => u.charCodeAt(0))
197
+ ), ne = new Uint16Array(
198
+ // prettier-ignore
199
+ "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
200
+ );
201
+ var mu;
202
+ const re = /* @__PURE__ */ new Map([
203
+ [0, 65533],
204
+ // C1 Unicode control character reference replacements
205
+ [128, 8364],
206
+ [130, 8218],
207
+ [131, 402],
208
+ [132, 8222],
209
+ [133, 8230],
210
+ [134, 8224],
211
+ [135, 8225],
212
+ [136, 710],
213
+ [137, 8240],
214
+ [138, 352],
215
+ [139, 8249],
216
+ [140, 338],
217
+ [142, 381],
218
+ [145, 8216],
219
+ [146, 8217],
220
+ [147, 8220],
221
+ [148, 8221],
222
+ [149, 8226],
223
+ [150, 8211],
224
+ [151, 8212],
225
+ [152, 732],
226
+ [153, 8482],
227
+ [154, 353],
228
+ [155, 8250],
229
+ [156, 339],
230
+ [158, 382],
231
+ [159, 376]
232
+ ]), te = (
233
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
234
+ (mu = String.fromCodePoint) !== null && mu !== void 0 ? mu : function(u) {
235
+ let e = "";
236
+ return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
237
+ }
238
+ );
239
+ function ce(u) {
240
+ var e;
241
+ return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = re.get(u)) !== null && e !== void 0 ? e : u;
242
+ }
243
+ var A;
244
+ (function(u) {
245
+ u[u.NUM = 35] = "NUM", u[u.SEMI = 59] = "SEMI", u[u.EQUALS = 61] = "EQUALS", u[u.ZERO = 48] = "ZERO", u[u.NINE = 57] = "NINE", u[u.LOWER_A = 97] = "LOWER_A", u[u.LOWER_F = 102] = "LOWER_F", u[u.LOWER_X = 120] = "LOWER_X", u[u.LOWER_Z = 122] = "LOWER_Z", u[u.UPPER_A = 65] = "UPPER_A", u[u.UPPER_F = 70] = "UPPER_F", u[u.UPPER_Z = 90] = "UPPER_Z";
246
+ })(A || (A = {}));
247
+ const oe = 32;
248
+ var O;
249
+ (function(u) {
250
+ u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
251
+ })(O || (O = {}));
252
+ function Fu(u) {
253
+ return u >= A.ZERO && u <= A.NINE;
254
+ }
255
+ function ie(u) {
256
+ return u >= A.UPPER_A && u <= A.UPPER_F || u >= A.LOWER_A && u <= A.LOWER_F;
257
+ }
258
+ function ae(u) {
259
+ return u >= A.UPPER_A && u <= A.UPPER_Z || u >= A.LOWER_A && u <= A.LOWER_Z || Fu(u);
260
+ }
261
+ function se(u) {
262
+ return u === A.EQUALS || ae(u);
263
+ }
264
+ var F;
265
+ (function(u) {
266
+ u[u.EntityStart = 0] = "EntityStart", u[u.NumericStart = 1] = "NumericStart", u[u.NumericDecimal = 2] = "NumericDecimal", u[u.NumericHex = 3] = "NumericHex", u[u.NamedEntity = 4] = "NamedEntity";
267
+ })(F || (F = {}));
268
+ var R;
269
+ (function(u) {
270
+ u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
271
+ })(R || (R = {}));
272
+ class fe {
273
+ constructor(e, n, t) {
274
+ this.decodeTree = e, this.emitCodePoint = n, this.errors = t, this.state = F.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = R.Strict;
275
+ }
276
+ /** Resets the instance to make it reusable. */
277
+ startEntity(e) {
278
+ this.decodeMode = e, this.state = F.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
279
+ }
280
+ /**
281
+ * Write an entity to the decoder. This can be called multiple times with partial entities.
282
+ * If the entity is incomplete, the decoder will return -1.
283
+ *
284
+ * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
285
+ * entity is incomplete, and resume when the next string is written.
286
+ *
287
+ * @param string The string containing the entity (or a continuation of the entity).
288
+ * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
289
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
290
+ */
291
+ write(e, n) {
292
+ switch (this.state) {
293
+ case F.EntityStart:
294
+ return e.charCodeAt(n) === A.NUM ? (this.state = F.NumericStart, this.consumed += 1, this.stateNumericStart(e, n + 1)) : (this.state = F.NamedEntity, this.stateNamedEntity(e, n));
295
+ case F.NumericStart:
296
+ return this.stateNumericStart(e, n);
297
+ case F.NumericDecimal:
298
+ return this.stateNumericDecimal(e, n);
299
+ case F.NumericHex:
300
+ return this.stateNumericHex(e, n);
301
+ case F.NamedEntity:
302
+ return this.stateNamedEntity(e, n);
303
+ }
304
+ }
305
+ /**
306
+ * Switches between the numeric decimal and hexadecimal states.
307
+ *
308
+ * Equivalent to the `Numeric character reference state` in the HTML spec.
309
+ *
310
+ * @param str The string containing the entity (or a continuation of the entity).
311
+ * @param offset The current offset.
312
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
313
+ */
314
+ stateNumericStart(e, n) {
315
+ return n >= e.length ? -1 : (e.charCodeAt(n) | oe) === A.LOWER_X ? (this.state = F.NumericHex, this.consumed += 1, this.stateNumericHex(e, n + 1)) : (this.state = F.NumericDecimal, this.stateNumericDecimal(e, n));
316
+ }
317
+ addToNumericResult(e, n, t, c) {
318
+ if (n !== t) {
319
+ const r = t - n;
320
+ this.result = this.result * Math.pow(c, r) + parseInt(e.substr(n, r), c), this.consumed += r;
321
+ }
322
+ }
323
+ /**
324
+ * Parses a hexadecimal numeric entity.
325
+ *
326
+ * Equivalent to the `Hexademical character reference state` in the HTML spec.
327
+ *
328
+ * @param str The string containing the entity (or a continuation of the entity).
329
+ * @param offset The current offset.
330
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
331
+ */
332
+ stateNumericHex(e, n) {
333
+ const t = n;
334
+ for (; n < e.length; ) {
335
+ const c = e.charCodeAt(n);
336
+ if (Fu(c) || ie(c))
337
+ n += 1;
338
+ else
339
+ return this.addToNumericResult(e, t, n, 16), this.emitNumericEntity(c, 3);
340
+ }
341
+ return this.addToNumericResult(e, t, n, 16), -1;
342
+ }
343
+ /**
344
+ * Parses a decimal numeric entity.
345
+ *
346
+ * Equivalent to the `Decimal character reference state` in the HTML spec.
347
+ *
348
+ * @param str The string containing the entity (or a continuation of the entity).
349
+ * @param offset The current offset.
350
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
351
+ */
352
+ stateNumericDecimal(e, n) {
353
+ const t = n;
354
+ for (; n < e.length; ) {
355
+ const c = e.charCodeAt(n);
356
+ if (Fu(c))
357
+ n += 1;
358
+ else
359
+ return this.addToNumericResult(e, t, n, 10), this.emitNumericEntity(c, 2);
360
+ }
361
+ return this.addToNumericResult(e, t, n, 10), -1;
362
+ }
363
+ /**
364
+ * Validate and emit a numeric entity.
365
+ *
366
+ * Implements the logic from the `Hexademical character reference start
367
+ * state` and `Numeric character reference end state` in the HTML spec.
368
+ *
369
+ * @param lastCp The last code point of the entity. Used to see if the
370
+ * entity was terminated with a semicolon.
371
+ * @param expectedLength The minimum number of characters that should be
372
+ * consumed. Used to validate that at least one digit
373
+ * was consumed.
374
+ * @returns The number of characters that were consumed.
375
+ */
376
+ emitNumericEntity(e, n) {
377
+ var t;
378
+ if (this.consumed <= n)
379
+ return (t = this.errors) === null || t === void 0 || t.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
380
+ if (e === A.SEMI)
381
+ this.consumed += 1;
382
+ else if (this.decodeMode === R.Strict)
383
+ return 0;
384
+ return this.emitCodePoint(ce(this.result), this.consumed), this.errors && (e !== A.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
385
+ }
386
+ /**
387
+ * Parses a named entity.
388
+ *
389
+ * Equivalent to the `Named character reference state` in the HTML spec.
390
+ *
391
+ * @param str The string containing the entity (or a continuation of the entity).
392
+ * @param offset The current offset.
393
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
394
+ */
395
+ stateNamedEntity(e, n) {
396
+ const { decodeTree: t } = this;
397
+ let c = t[this.treeIndex], r = (c & O.VALUE_LENGTH) >> 14;
398
+ for (; n < e.length; n++, this.excess++) {
399
+ const i = e.charCodeAt(n);
400
+ if (this.treeIndex = le(t, c, this.treeIndex + Math.max(1, r), i), this.treeIndex < 0)
401
+ return this.result === 0 || // If we are parsing an attribute
402
+ this.decodeMode === R.Attribute && // We shouldn't have consumed any characters after the entity,
403
+ (r === 0 || // And there should be no invalid characters.
404
+ se(i)) ? 0 : this.emitNotTerminatedNamedEntity();
405
+ if (c = t[this.treeIndex], r = (c & O.VALUE_LENGTH) >> 14, r !== 0) {
406
+ if (i === A.SEMI)
407
+ return this.emitNamedEntityData(this.treeIndex, r, this.consumed + this.excess);
408
+ this.decodeMode !== R.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
409
+ }
410
+ }
411
+ return -1;
412
+ }
413
+ /**
414
+ * Emit a named entity that was not terminated with a semicolon.
415
+ *
416
+ * @returns The number of characters consumed.
417
+ */
418
+ emitNotTerminatedNamedEntity() {
419
+ var e;
420
+ const { result: n, decodeTree: t } = this, c = (t[n] & O.VALUE_LENGTH) >> 14;
421
+ return this.emitNamedEntityData(n, c, this.consumed), (e = this.errors) === null || e === void 0 || e.missingSemicolonAfterCharacterReference(), this.consumed;
422
+ }
423
+ /**
424
+ * Emit a named entity.
425
+ *
426
+ * @param result The index of the entity in the decode tree.
427
+ * @param valueLength The number of bytes in the entity.
428
+ * @param consumed The number of characters consumed.
429
+ *
430
+ * @returns The number of characters consumed.
431
+ */
432
+ emitNamedEntityData(e, n, t) {
433
+ const { decodeTree: c } = this;
434
+ return this.emitCodePoint(n === 1 ? c[e] & ~O.VALUE_LENGTH : c[e + 1], t), n === 3 && this.emitCodePoint(c[e + 2], t), t;
435
+ }
436
+ /**
437
+ * Signal to the parser that the end of the input was reached.
438
+ *
439
+ * Remaining data will be emitted and relevant errors will be produced.
440
+ *
441
+ * @returns The number of characters consumed.
442
+ */
443
+ end() {
444
+ var e;
445
+ switch (this.state) {
446
+ case F.NamedEntity:
447
+ return this.result !== 0 && (this.decodeMode !== R.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
448
+ // Otherwise, emit a numeric entity if we have one.
449
+ case F.NumericDecimal:
450
+ return this.emitNumericEntity(0, 2);
451
+ case F.NumericHex:
452
+ return this.emitNumericEntity(0, 3);
453
+ case F.NumericStart:
454
+ return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
455
+ case F.EntityStart:
456
+ return 0;
457
+ }
458
+ }
459
+ }
460
+ function i0(u) {
461
+ let e = "";
462
+ const n = new fe(u, (t) => e += te(t));
463
+ return function(c, r) {
464
+ let i = 0, o = 0;
465
+ for (; (o = c.indexOf("&", o)) >= 0; ) {
466
+ e += c.slice(i, o), n.startEntity(r);
467
+ const s = n.write(
468
+ c,
469
+ // Skip the "&"
470
+ o + 1
471
+ );
472
+ if (s < 0) {
473
+ i = o + n.end();
474
+ break;
475
+ }
476
+ i = o + s, o = s === 0 ? i + 1 : i;
477
+ }
478
+ const a = e + c.slice(i);
479
+ return e = "", a;
480
+ };
481
+ }
482
+ function le(u, e, n, t) {
483
+ const c = (e & O.BRANCH_LENGTH) >> 7, r = e & O.JUMP_TABLE;
484
+ if (c === 0)
485
+ return r !== 0 && t === r ? n : -1;
486
+ if (r) {
487
+ const a = t - r;
488
+ return a < 0 || a >= c ? -1 : u[n + a] - 1;
489
+ }
490
+ let i = n, o = i + c - 1;
491
+ for (; i <= o; ) {
492
+ const a = i + o >>> 1, s = u[a];
493
+ if (s < t)
494
+ i = a + 1;
495
+ else if (s > t)
496
+ o = a - 1;
497
+ else
498
+ return u[a + c];
499
+ }
500
+ return -1;
501
+ }
502
+ const a0 = i0(ee);
503
+ i0(ne);
504
+ function de(u, e = R.Legacy) {
505
+ return a0(u, e);
506
+ }
507
+ function he(u) {
508
+ return a0(u, R.Strict);
509
+ }
510
+ function be(u) {
511
+ return Object.prototype.toString.call(u);
512
+ }
513
+ function zu(u) {
514
+ return be(u) === "[object String]";
515
+ }
516
+ const pe = Object.prototype.hasOwnProperty;
517
+ function xe(u, e) {
518
+ return pe.call(u, e);
519
+ }
520
+ function fu(u) {
521
+ return Array.prototype.slice.call(arguments, 1).forEach(function(n) {
522
+ if (n) {
523
+ if (typeof n != "object")
524
+ throw new TypeError(n + "must be object");
525
+ Object.keys(n).forEach(function(t) {
526
+ u[t] = n[t];
527
+ });
528
+ }
529
+ }), u;
530
+ }
531
+ function s0(u, e, n) {
532
+ return [].concat(u.slice(0, e), n, u.slice(e + 1));
533
+ }
534
+ function Tu(u) {
535
+ return !(u >= 55296 && u <= 57343 || u >= 64976 && u <= 65007 || (u & 65535) === 65535 || (u & 65535) === 65534 || u >= 0 && u <= 8 || u === 11 || u >= 14 && u <= 31 || u >= 127 && u <= 159 || u > 1114111);
536
+ }
537
+ function X(u) {
538
+ if (u > 65535) {
539
+ u -= 65536;
540
+ const e = 55296 + (u >> 10), n = 56320 + (u & 1023);
541
+ return String.fromCharCode(e, n);
542
+ }
543
+ return String.fromCharCode(u);
544
+ }
545
+ const f0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, me = /&([a-z#][a-z0-9]{1,31});/gi, _e = new RegExp(f0.source + "|" + me.source, "gi"), ke = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
546
+ function ge(u, e) {
547
+ if (e.charCodeAt(0) === 35 && ke.test(e)) {
548
+ const t = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
549
+ return Tu(t) ? X(t) : u;
550
+ }
551
+ const n = de(u);
552
+ return n !== u ? n : u;
553
+ }
554
+ function Ce(u) {
555
+ return u.indexOf("\\") < 0 ? u : u.replace(f0, "$1");
556
+ }
557
+ function V(u) {
558
+ return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(_e, function(e, n, t) {
559
+ return n || ge(e, t);
66
560
  });
67
561
  }
68
- function P(n) {
69
- n.core.ruler.after("block", "mermaid_fences", (e) => {
70
- for (const r of e.tokens)
71
- r.type === "fence" && r.info.trim() === "mermaid" && (r.type = "mermaid");
72
- }), n.core.ruler.after("inline", "renderer_extensions", (e) => {
73
- for (let r = 0; r < e.tokens.length; r += 1) {
74
- const i = e.tokens[r], t = e.tokens[r + 1], o = e.tokens[r + 2];
75
- if (i?.type === "paragraph_open" && t?.type === "inline" && o?.type === "paragraph_close") {
76
- const c = t.content.match(/^(#{1,6})\+\s+(.+)$/);
77
- c !== null && (i.type = "heading_open", i.tag = `h${c[1]?.length ?? 1}`, i.attrSet("data-folding", "true"), t.content = c[2] ?? "", k(e, t), o.type = "heading_close", o.tag = i.tag);
78
- }
79
- if (i?.type === "heading_open" && t?.type === "inline") {
80
- t.content.startsWith("+ ") && (t.content = t.content.slice(2), i.attrSet("data-folding", "true"), k(e, t));
81
- const c = t.content.match(/\s+\{([^}]+)\}$/);
82
- if (c !== null) {
83
- t.content = t.content.slice(0, c.index), k(e, t);
84
- for (const l of c[1]?.split(/\s+/) ?? [])
85
- l.startsWith("#") && i.attrSet("id", l.slice(1)), l.startsWith(".") && i.attrJoin("class", l.slice(1));
562
+ const De = /[&<>"]/, Ee = /[&<>"]/g, ye = {
563
+ "&": "&amp;",
564
+ "<": "&lt;",
565
+ ">": "&gt;",
566
+ '"': "&quot;"
567
+ };
568
+ function Fe(u) {
569
+ return ye[u];
570
+ }
571
+ function N(u) {
572
+ return De.test(u) ? u.replace(Ee, Fe) : u;
573
+ }
574
+ const Ae = /[.?*+^$[\]\\(){}|-]/g;
575
+ function we(u) {
576
+ return u.replace(Ae, "\\$&");
577
+ }
578
+ function E(u) {
579
+ switch (u) {
580
+ case 9:
581
+ case 32:
582
+ return !0;
583
+ }
584
+ return !1;
585
+ }
586
+ function K(u) {
587
+ if (u >= 8192 && u <= 8202)
588
+ return !0;
589
+ switch (u) {
590
+ case 9:
591
+ // \t
592
+ case 10:
593
+ // \n
594
+ case 11:
595
+ // \v
596
+ case 12:
597
+ // \f
598
+ case 13:
599
+ // \r
600
+ case 32:
601
+ case 160:
602
+ case 5760:
603
+ case 8239:
604
+ case 8287:
605
+ case 12288:
606
+ return !0;
607
+ }
608
+ return !1;
609
+ }
610
+ function l0(u) {
611
+ return Su.test(u) || c0.test(u);
612
+ }
613
+ function Y(u) {
614
+ return l0(X(u));
615
+ }
616
+ function uu(u) {
617
+ switch (u) {
618
+ case 33:
619
+ case 34:
620
+ case 35:
621
+ case 36:
622
+ case 37:
623
+ case 38:
624
+ case 39:
625
+ case 40:
626
+ case 41:
627
+ case 42:
628
+ case 43:
629
+ case 44:
630
+ case 45:
631
+ case 46:
632
+ case 47:
633
+ case 58:
634
+ case 59:
635
+ case 60:
636
+ case 61:
637
+ case 62:
638
+ case 63:
639
+ case 64:
640
+ case 91:
641
+ case 92:
642
+ case 93:
643
+ case 94:
644
+ case 95:
645
+ case 96:
646
+ case 123:
647
+ case 124:
648
+ case 125:
649
+ case 126:
650
+ return !0;
651
+ default:
652
+ return !1;
653
+ }
654
+ }
655
+ function lu(u) {
656
+ return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
657
+ }
658
+ function Hu(u) {
659
+ return u === 32 || u === 9 || u === 10 || u === 13;
660
+ }
661
+ function du(u) {
662
+ let e = 0;
663
+ for (; e < u.length && Hu(u.charCodeAt(e)); e++)
664
+ ;
665
+ let n = u.length - 1;
666
+ for (; n >= e && Hu(u.charCodeAt(n)); n--)
667
+ ;
668
+ return u.slice(e, n + 1);
669
+ }
670
+ const ve = { mdurl: K0, ucmicro: ue }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
671
+ __proto__: null,
672
+ arrayReplaceAt: s0,
673
+ asciiTrim: du,
674
+ assign: fu,
675
+ escapeHtml: N,
676
+ escapeRE: we,
677
+ fromCodePoint: X,
678
+ has: xe,
679
+ isMdAsciiPunct: uu,
680
+ isPunctChar: l0,
681
+ isPunctCharCode: Y,
682
+ isSpace: E,
683
+ isString: zu,
684
+ isValidEntityCode: Tu,
685
+ isWhiteSpace: K,
686
+ lib: ve,
687
+ normalizeReference: lu,
688
+ unescapeAll: V,
689
+ unescapeMd: Ce
690
+ }, Symbol.toStringTag, { value: "Module" }));
691
+ function ze(u, e, n) {
692
+ let t, c, r, i;
693
+ const o = u.posMax, a = u.pos;
694
+ for (u.pos = e + 1, t = 1; u.pos < o; ) {
695
+ if (r = u.src.charCodeAt(u.pos), r === 93 && (t--, t === 0)) {
696
+ c = !0;
697
+ break;
698
+ }
699
+ if (i = u.pos, u.md.inline.skipToken(u), r === 91) {
700
+ if (i === u.pos - 1)
701
+ t++;
702
+ else if (n)
703
+ return u.pos = a, -1;
704
+ }
705
+ }
706
+ let s = -1;
707
+ return c && (s = u.pos), u.pos = a, s;
708
+ }
709
+ function Te(u, e, n) {
710
+ let t, c = e;
711
+ const r = {
712
+ ok: !1,
713
+ pos: 0,
714
+ str: ""
715
+ };
716
+ if (u.charCodeAt(c) === 60) {
717
+ for (c++; c < n; ) {
718
+ if (t = u.charCodeAt(c), t === 10 || t === 60)
719
+ return r;
720
+ if (t === 62)
721
+ return r.pos = c + 1, r.str = V(u.slice(e + 1, c)), r.ok = !0, r;
722
+ if (t === 92 && c + 1 < n) {
723
+ c += 2;
724
+ continue;
725
+ }
726
+ c++;
727
+ }
728
+ return r;
729
+ }
730
+ let i = 0;
731
+ for (; c < n && (t = u.charCodeAt(c), !(t === 32 || t < 32 || t === 127)); ) {
732
+ if (t === 92 && c + 1 < n) {
733
+ if (u.charCodeAt(c + 1) === 32)
734
+ break;
735
+ c += 2;
736
+ continue;
737
+ }
738
+ if (t === 40 && (i++, i > 32))
739
+ return r;
740
+ if (t === 41) {
741
+ if (i === 0)
742
+ break;
743
+ i--;
744
+ }
745
+ c++;
746
+ }
747
+ return e === c || i !== 0 || (r.str = V(u.slice(e, c)), r.pos = c, r.ok = !0), r;
748
+ }
749
+ function Be(u, e, n, t) {
750
+ let c, r = e;
751
+ const i = {
752
+ // if `true`, this is a valid link title
753
+ ok: !1,
754
+ // if `true`, this link can be continued on the next line
755
+ can_continue: !1,
756
+ // if `ok`, it's the position of the first character after the closing marker
757
+ pos: 0,
758
+ // if `ok`, it's the unescaped title
759
+ str: "",
760
+ // expected closing marker character code
761
+ marker: 0
762
+ };
763
+ if (t)
764
+ i.str = t.str, i.marker = t.marker;
765
+ else {
766
+ if (r >= n)
767
+ return i;
768
+ let o = u.charCodeAt(r);
769
+ if (o !== 34 && o !== 39 && o !== 40)
770
+ return i;
771
+ e++, r++, o === 40 && (o = 41), i.marker = o;
772
+ }
773
+ for (; r < n; ) {
774
+ if (c = u.charCodeAt(r), c === i.marker)
775
+ return i.pos = r + 1, i.str += V(u.slice(e, r)), i.ok = !0, i;
776
+ if (c === 40 && i.marker === 41)
777
+ return i;
778
+ c === 92 && r + 1 < n && r++, r++;
779
+ }
780
+ return i.can_continue = !0, i.str += V(u.slice(e, r)), i;
781
+ }
782
+ const $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
783
+ __proto__: null,
784
+ parseLinkDestination: Te,
785
+ parseLinkLabel: ze,
786
+ parseLinkTitle: Be
787
+ }, Symbol.toStringTag, { value: "Module" })), M = {};
788
+ M.code_inline = function(u, e, n, t, c) {
789
+ const r = u[e];
790
+ return "<code" + c.renderAttrs(r) + ">" + N(r.content) + "</code>";
791
+ };
792
+ M.code_block = function(u, e, n, t, c) {
793
+ const r = u[e];
794
+ return "<pre" + c.renderAttrs(r) + "><code>" + N(u[e].content) + `</code></pre>
795
+ `;
796
+ };
797
+ M.fence = function(u, e, n, t, c) {
798
+ const r = u[e], i = r.info ? V(r.info).trim() : "";
799
+ let o = "", a = "";
800
+ if (i) {
801
+ const f = i.split(/(\s+)/g);
802
+ o = f[0], a = f.slice(2).join("");
803
+ }
804
+ let s;
805
+ if (n.highlight ? s = n.highlight(r.content, o, a) || N(r.content) : s = N(r.content), s.indexOf("<pre") === 0)
806
+ return s + `
807
+ `;
808
+ if (i) {
809
+ const f = r.attrIndex("class"), l = r.attrs ? r.attrs.slice() : [];
810
+ f < 0 ? l.push(["class", n.langPrefix + o]) : (l[f] = l[f].slice(), l[f][1] += " " + n.langPrefix + o);
811
+ const b = {
812
+ attrs: l
813
+ };
814
+ return `<pre><code${c.renderAttrs(b)}>${s}</code></pre>
815
+ `;
816
+ }
817
+ return `<pre><code${c.renderAttrs(r)}>${s}</code></pre>
818
+ `;
819
+ };
820
+ M.image = function(u, e, n, t, c) {
821
+ const r = u[e];
822
+ return r.attrs[r.attrIndex("alt")][1] = c.renderInlineAsText(r.children, n, t), c.renderToken(u, e, n);
823
+ };
824
+ M.hardbreak = function(u, e, n) {
825
+ return n.xhtmlOut ? `<br />
826
+ ` : `<br>
827
+ `;
828
+ };
829
+ M.softbreak = function(u, e, n) {
830
+ return n.breaks ? n.xhtmlOut ? `<br />
831
+ ` : `<br>
832
+ ` : `
833
+ `;
834
+ };
835
+ M.text = function(u, e) {
836
+ return N(u[e].content);
837
+ };
838
+ M.html_block = function(u, e) {
839
+ return u[e].content;
840
+ };
841
+ M.html_inline = function(u, e) {
842
+ return u[e].content;
843
+ };
844
+ function W() {
845
+ this.rules = fu({}, M);
846
+ }
847
+ W.prototype.renderAttrs = function(e) {
848
+ let n, t, c;
849
+ if (!e.attrs)
850
+ return "";
851
+ for (c = "", n = 0, t = e.attrs.length; n < t; n++)
852
+ c += " " + N(e.attrs[n][0]) + '="' + N(e.attrs[n][1]) + '"';
853
+ return c;
854
+ };
855
+ W.prototype.renderToken = function(e, n, t) {
856
+ const c = e[n];
857
+ let r = "";
858
+ if (c.hidden)
859
+ return "";
860
+ c.block && c.nesting !== -1 && n && e[n - 1].hidden && (r += `
861
+ `), r += (c.nesting === -1 ? "</" : "<") + c.tag, r += this.renderAttrs(c), c.nesting === 0 && t.xhtmlOut && (r += " /");
862
+ let i = !1;
863
+ if (c.block && (i = !0, c.nesting === 1 && n + 1 < e.length)) {
864
+ const o = e[n + 1];
865
+ (o.type === "inline" || o.hidden || o.nesting === -1 && o.tag === c.tag) && (i = !1);
866
+ }
867
+ return r += i ? `>
868
+ ` : ">", r;
869
+ };
870
+ W.prototype.renderInline = function(u, e, n) {
871
+ let t = "";
872
+ const c = this.rules;
873
+ for (let r = 0, i = u.length; r < i; r++) {
874
+ const o = u[r].type;
875
+ typeof c[o] < "u" ? t += c[o](u, r, e, n, this) : t += this.renderToken(u, r, e);
876
+ }
877
+ return t;
878
+ };
879
+ W.prototype.renderInlineAsText = function(u, e, n) {
880
+ let t = "";
881
+ for (let c = 0, r = u.length; c < r; c++)
882
+ switch (u[c].type) {
883
+ case "text":
884
+ t += u[c].content;
885
+ break;
886
+ case "image":
887
+ t += this.renderInlineAsText(u[c].children, e, n);
888
+ break;
889
+ case "html_inline":
890
+ case "html_block":
891
+ t += u[c].content;
892
+ break;
893
+ case "softbreak":
894
+ case "hardbreak":
895
+ t += `
896
+ `;
897
+ break;
898
+ }
899
+ return t;
900
+ };
901
+ W.prototype.render = function(u, e, n) {
902
+ let t = "";
903
+ const c = this.rules;
904
+ for (let r = 0, i = u.length; r < i; r++) {
905
+ const o = u[r].type;
906
+ o === "inline" ? t += this.renderInline(u[r].children, e, n) : typeof c[o] < "u" ? t += c[o](u, r, e, n, this) : t += this.renderToken(u, r, e, n);
907
+ }
908
+ return t;
909
+ };
910
+ function v() {
911
+ this.__rules__ = [], this.__cache__ = null;
912
+ }
913
+ v.prototype.__find__ = function(u) {
914
+ for (let e = 0; e < this.__rules__.length; e++)
915
+ if (this.__rules__[e].name === u)
916
+ return e;
917
+ return -1;
918
+ };
919
+ v.prototype.__compile__ = function() {
920
+ const u = this, e = [""];
921
+ u.__rules__.forEach(function(n) {
922
+ n.enabled && n.alt.forEach(function(t) {
923
+ e.indexOf(t) < 0 && e.push(t);
924
+ });
925
+ }), u.__cache__ = {}, e.forEach(function(n) {
926
+ u.__cache__[n] = [], u.__rules__.forEach(function(t) {
927
+ t.enabled && (n && t.alt.indexOf(n) < 0 || u.__cache__[n].push(t.fn));
928
+ });
929
+ });
930
+ };
931
+ v.prototype.at = function(u, e, n) {
932
+ const t = this.__find__(u), c = n || {};
933
+ if (t === -1)
934
+ throw new Error("Parser rule not found: " + u);
935
+ this.__rules__[t].fn = e, this.__rules__[t].alt = c.alt || [], this.__cache__ = null;
936
+ };
937
+ v.prototype.before = function(u, e, n, t) {
938
+ const c = this.__find__(u), r = t || {};
939
+ if (c === -1)
940
+ throw new Error("Parser rule not found: " + u);
941
+ this.__rules__.splice(c, 0, {
942
+ name: e,
943
+ enabled: !0,
944
+ fn: n,
945
+ alt: r.alt || []
946
+ }), this.__cache__ = null;
947
+ };
948
+ v.prototype.after = function(u, e, n, t) {
949
+ const c = this.__find__(u), r = t || {};
950
+ if (c === -1)
951
+ throw new Error("Parser rule not found: " + u);
952
+ this.__rules__.splice(c + 1, 0, {
953
+ name: e,
954
+ enabled: !0,
955
+ fn: n,
956
+ alt: r.alt || []
957
+ }), this.__cache__ = null;
958
+ };
959
+ v.prototype.push = function(u, e, n) {
960
+ const t = n || {};
961
+ this.__rules__.push({
962
+ name: u,
963
+ enabled: !0,
964
+ fn: e,
965
+ alt: t.alt || []
966
+ }), this.__cache__ = null;
967
+ };
968
+ v.prototype.enable = function(u, e) {
969
+ Array.isArray(u) || (u = [u]);
970
+ const n = [];
971
+ return u.forEach(function(t) {
972
+ const c = this.__find__(t);
973
+ if (c < 0) {
974
+ if (e)
975
+ return;
976
+ throw new Error("Rules manager: invalid rule name " + t);
977
+ }
978
+ this.__rules__[c].enabled = !0, n.push(t);
979
+ }, this), this.__cache__ = null, n;
980
+ };
981
+ v.prototype.enableOnly = function(u, e) {
982
+ Array.isArray(u) || (u = [u]), this.__rules__.forEach(function(n) {
983
+ n.enabled = !1;
984
+ }), this.enable(u, e);
985
+ };
986
+ v.prototype.disable = function(u, e) {
987
+ Array.isArray(u) || (u = [u]);
988
+ const n = [];
989
+ return u.forEach(function(t) {
990
+ const c = this.__find__(t);
991
+ if (c < 0) {
992
+ if (e)
993
+ return;
994
+ throw new Error("Rules manager: invalid rule name " + t);
995
+ }
996
+ this.__rules__[c].enabled = !1, n.push(t);
997
+ }, this), this.__cache__ = null, n;
998
+ };
999
+ v.prototype.getRules = function(u) {
1000
+ return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
1001
+ };
1002
+ function T(u, e, n) {
1003
+ this.type = u, this.tag = e, this.attrs = null, this.map = null, this.nesting = n, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
1004
+ }
1005
+ T.prototype.attrIndex = function(e) {
1006
+ if (!this.attrs)
1007
+ return -1;
1008
+ const n = this.attrs;
1009
+ for (let t = 0, c = n.length; t < c; t++)
1010
+ if (n[t][0] === e)
1011
+ return t;
1012
+ return -1;
1013
+ };
1014
+ T.prototype.attrPush = function(e) {
1015
+ this.attrs ? this.attrs.push(e) : this.attrs = [e];
1016
+ };
1017
+ T.prototype.attrSet = function(e, n) {
1018
+ const t = this.attrIndex(e), c = [e, n];
1019
+ t < 0 ? this.attrPush(c) : this.attrs[t] = c;
1020
+ };
1021
+ T.prototype.attrGet = function(e) {
1022
+ const n = this.attrIndex(e);
1023
+ let t = null;
1024
+ return n >= 0 && (t = this.attrs[n][1]), t;
1025
+ };
1026
+ T.prototype.attrJoin = function(e, n) {
1027
+ const t = this.attrIndex(e);
1028
+ t < 0 ? this.attrPush([e, n]) : this.attrs[t][1] = this.attrs[t][1] + " " + n;
1029
+ };
1030
+ function d0(u, e, n) {
1031
+ this.src = u, this.env = n, this.tokens = [], this.inlineMode = !1, this.md = e;
1032
+ }
1033
+ d0.prototype.Token = T;
1034
+ const Ie = /\r\n?|\n/g, Me = /\0/g;
1035
+ function qe(u) {
1036
+ let e;
1037
+ e = u.src.replace(Ie, `
1038
+ `), e = e.replace(Me, "�"), u.src = e;
1039
+ }
1040
+ function Re(u) {
1041
+ let e;
1042
+ u.inlineMode ? (e = new u.Token("inline", "", 0), e.content = u.src, e.map = [0, 1], e.children = [], u.tokens.push(e)) : u.md.block.parse(u.src, u.md, u.env, u.tokens);
1043
+ }
1044
+ function Pe(u) {
1045
+ const e = u.tokens;
1046
+ for (let n = 0, t = e.length; n < t; n++) {
1047
+ const c = e[n];
1048
+ c.type === "inline" && u.md.inline.parse(c.content, u.md, u.env, c.children);
1049
+ }
1050
+ }
1051
+ function Le(u) {
1052
+ return /^<a[>\s]/i.test(u);
1053
+ }
1054
+ function Oe(u) {
1055
+ return /^<\/a\s*>/i.test(u);
1056
+ }
1057
+ function Ne(u) {
1058
+ const e = u.tokens;
1059
+ if (u.md.options.linkify)
1060
+ for (let n = 0, t = e.length; n < t; n++) {
1061
+ if (e[n].type !== "inline" || !u.md.linkify.pretest(e[n].content))
1062
+ continue;
1063
+ let c = e[n].children, r = 0;
1064
+ for (let i = c.length - 1; i >= 0; i--) {
1065
+ const o = c[i];
1066
+ if (o.type === "link_close") {
1067
+ for (i--; c[i].level !== o.level && c[i].type !== "link_open"; )
1068
+ i--;
1069
+ continue;
1070
+ }
1071
+ if (o.type === "html_inline" && (Le(o.content) && r > 0 && r--, Oe(o.content) && r++), !(r > 0) && o.type === "text" && u.md.linkify.test(o.content)) {
1072
+ const a = o.content;
1073
+ let s = u.md.linkify.match(a);
1074
+ const f = [];
1075
+ let l = o.level, b = 0;
1076
+ s.length > 0 && s[0].index === 0 && i > 0 && c[i - 1].type === "text_special" && (s = s.slice(1));
1077
+ for (let h = 0; h < s.length; h++) {
1078
+ const d = s[h].url, p = u.md.normalizeLink(d);
1079
+ if (!u.md.validateLink(p))
1080
+ continue;
1081
+ let x = s[h].text;
1082
+ s[h].schema ? s[h].schema === "mailto:" && !/^mailto:/i.test(x) ? x = u.md.normalizeLinkText("mailto:" + x).replace(/^mailto:/, "") : x = u.md.normalizeLinkText(x) : x = u.md.normalizeLinkText("http://" + x).replace(/^http:\/\//, "");
1083
+ const D = s[h].index;
1084
+ if (D > b) {
1085
+ const g = new u.Token("text", "", 0);
1086
+ g.content = a.slice(b, D), g.level = l, f.push(g);
1087
+ }
1088
+ const m = new u.Token("link_open", "a", 1);
1089
+ m.attrs = [["href", p]], m.level = l++, m.markup = "linkify", m.info = "auto", f.push(m);
1090
+ const _ = new u.Token("text", "", 0);
1091
+ _.content = x, _.level = l, f.push(_);
1092
+ const k = new u.Token("link_close", "a", -1);
1093
+ k.level = --l, k.markup = "linkify", k.info = "auto", f.push(k), b = s[h].lastIndex;
1094
+ }
1095
+ if (b < a.length) {
1096
+ const h = new u.Token("text", "", 0);
1097
+ h.content = a.slice(b), h.level = l, f.push(h);
1098
+ }
1099
+ e[n].children = c = s0(c, i, f);
86
1100
  }
87
1101
  }
88
- const s = i?.children;
89
- s != null && J(s);
90
1102
  }
1103
+ }
1104
+ const h0 = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, je = /\((c|tm|r)\)/i, He = /\((c|tm|r)\)/ig, Ue = {
1105
+ c: "©",
1106
+ r: "®",
1107
+ tm: "™"
1108
+ };
1109
+ function Ze(u, e) {
1110
+ return Ue[e.toLowerCase()];
1111
+ }
1112
+ function Ge(u) {
1113
+ let e = 0;
1114
+ for (let n = u.length - 1; n >= 0; n--) {
1115
+ const t = u[n];
1116
+ t.type === "text" && !e && (t.content = t.content.replace(He, Ze)), t.type === "link_open" && t.info === "auto" && e--, t.type === "link_close" && t.info === "auto" && e++;
1117
+ }
1118
+ }
1119
+ function Ve(u) {
1120
+ let e = 0;
1121
+ for (let n = u.length - 1; n >= 0; n--) {
1122
+ const t = u[n];
1123
+ t.type === "text" && !e && h0.test(t.content) && (t.content = t.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), t.type === "link_open" && t.info === "auto" && e--, t.type === "link_close" && t.info === "auto" && e++;
1124
+ }
1125
+ }
1126
+ function We(u) {
1127
+ let e;
1128
+ if (u.md.options.typographer)
1129
+ for (e = u.tokens.length - 1; e >= 0; e--)
1130
+ u.tokens[e].type === "inline" && (je.test(u.tokens[e].content) && Ge(u.tokens[e].children), h0.test(u.tokens[e].content) && Ve(u.tokens[e].children));
1131
+ }
1132
+ const Je = /['"]/, Uu = /['"]/g, Zu = "’";
1133
+ function cu(u, e, n, t) {
1134
+ u[e] || (u[e] = []), u[e].push({ pos: n, ch: t });
1135
+ }
1136
+ function Qe(u, e) {
1137
+ let n = "", t = 0;
1138
+ e.sort((c, r) => c.pos - r.pos);
1139
+ for (let c = 0; c < e.length; c++) {
1140
+ const r = e[c];
1141
+ n += u.slice(t, r.pos) + r.ch, t = r.pos + 1;
1142
+ }
1143
+ return n + u.slice(t);
1144
+ }
1145
+ function Xe(u, e) {
1146
+ let n;
1147
+ const t = [], c = {};
1148
+ for (let r = 0; r < u.length; r++) {
1149
+ const i = u[r], o = u[r].level;
1150
+ for (n = t.length - 1; n >= 0 && !(t[n].level <= o); n--)
1151
+ ;
1152
+ if (t.length = n + 1, i.type !== "text")
1153
+ continue;
1154
+ const a = i.content;
1155
+ let s = 0;
1156
+ const f = a.length;
1157
+ u:
1158
+ for (; s < f; ) {
1159
+ Uu.lastIndex = s;
1160
+ const l = Uu.exec(a);
1161
+ if (!l)
1162
+ break;
1163
+ let b = !0, h = !0;
1164
+ s = l.index + 1;
1165
+ const d = l[0] === "'";
1166
+ let p = 32;
1167
+ if (l.index - 1 >= 0)
1168
+ p = a.charCodeAt(l.index - 1);
1169
+ else
1170
+ for (n = r - 1; n >= 0 && !(u[n].type === "softbreak" || u[n].type === "hardbreak"); n--)
1171
+ if (u[n].content) {
1172
+ p = u[n].content.charCodeAt(u[n].content.length - 1);
1173
+ break;
1174
+ }
1175
+ let x = 32;
1176
+ if (s < f)
1177
+ x = a.charCodeAt(s);
1178
+ else
1179
+ for (n = r + 1; n < u.length && !(u[n].type === "softbreak" || u[n].type === "hardbreak"); n++)
1180
+ if (u[n].content) {
1181
+ x = u[n].content.charCodeAt(0);
1182
+ break;
1183
+ }
1184
+ const D = uu(p) || Y(p), m = uu(x) || Y(x), _ = K(p), k = K(x);
1185
+ if (k ? b = !1 : m && (_ || D || (b = !1)), _ ? h = !1 : D && (k || m || (h = !1)), x === 34 && l[0] === '"' && p >= 48 && p <= 57 && (h = b = !1), b && h && (b = D, h = m), !b && !h) {
1186
+ d && cu(c, r, l.index, Zu);
1187
+ continue;
1188
+ }
1189
+ if (h)
1190
+ for (n = t.length - 1; n >= 0; n--) {
1191
+ let g = t[n];
1192
+ if (t[n].level < o)
1193
+ break;
1194
+ if (g.single === d && t[n].level === o) {
1195
+ g = t[n];
1196
+ let C, y;
1197
+ d ? (C = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (C = e.md.options.quotes[0], y = e.md.options.quotes[1]), cu(c, r, l.index, y), cu(c, g.token, g.pos, C), t.length = n;
1198
+ continue u;
1199
+ }
1200
+ }
1201
+ b ? t.push({
1202
+ token: r,
1203
+ pos: l.index,
1204
+ single: d,
1205
+ level: o
1206
+ }) : h && d && cu(c, r, l.index, Zu);
1207
+ }
1208
+ }
1209
+ Object.keys(c).forEach(function(r) {
1210
+ u[r].content = Qe(u[r].content, c[r]);
91
1211
  });
92
1212
  }
93
- function k(n, e) {
1213
+ function Ke(u) {
1214
+ if (u.md.options.typographer)
1215
+ for (let e = u.tokens.length - 1; e >= 0; e--)
1216
+ u.tokens[e].type !== "inline" || !Je.test(u.tokens[e].content) || Xe(u.tokens[e].children, u);
1217
+ }
1218
+ function Ye(u) {
1219
+ let e, n;
1220
+ const t = u.tokens, c = t.length;
1221
+ for (let r = 0; r < c; r++) {
1222
+ if (t[r].type !== "inline") continue;
1223
+ const i = t[r].children, o = i.length;
1224
+ for (e = 0; e < o; e++)
1225
+ i[e].type === "text_special" && (i[e].type = "text");
1226
+ for (e = n = 0; e < o; e++)
1227
+ i[e].type === "text" && e + 1 < o && i[e + 1].type === "text" ? i[e + 1].content = i[e].content + i[e + 1].content : (e !== n && (i[n] = i[e]), n++);
1228
+ e !== n && (i.length = n);
1229
+ }
1230
+ }
1231
+ const _u = [
1232
+ ["normalize", qe],
1233
+ ["block", Re],
1234
+ ["inline", Pe],
1235
+ ["linkify", Ne],
1236
+ ["replacements", We],
1237
+ ["smartquotes", Ke],
1238
+ // `text_join` finds `text_special` tokens (for escape sequences)
1239
+ // and joins them with the rest of the text
1240
+ ["text_join", Ye]
1241
+ ];
1242
+ function Bu() {
1243
+ this.ruler = new v();
1244
+ for (let u = 0; u < _u.length; u++)
1245
+ this.ruler.push(_u[u][0], _u[u][1]);
1246
+ }
1247
+ Bu.prototype.process = function(u) {
1248
+ const e = this.ruler.getRules("");
1249
+ for (let n = 0, t = e.length; n < t; n++)
1250
+ e[n](u);
1251
+ };
1252
+ Bu.prototype.State = d0;
1253
+ function q(u, e, n, t) {
1254
+ this.src = u, this.md = e, this.env = n, this.tokens = t, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
1255
+ const c = this.src;
1256
+ for (let r = 0, i = 0, o = 0, a = 0, s = c.length, f = !1; i < s; i++) {
1257
+ const l = c.charCodeAt(i);
1258
+ if (!f)
1259
+ if (E(l)) {
1260
+ o++, l === 9 ? a += 4 - a % 4 : a++;
1261
+ continue;
1262
+ } else
1263
+ f = !0;
1264
+ (l === 10 || i === s - 1) && (l !== 10 && i++, this.bMarks.push(r), this.eMarks.push(i), this.tShift.push(o), this.sCount.push(a), this.bsCount.push(0), f = !1, o = 0, a = 0, r = i + 1);
1265
+ }
1266
+ this.bMarks.push(c.length), this.eMarks.push(c.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
1267
+ }
1268
+ q.prototype.push = function(u, e, n) {
1269
+ const t = new T(u, e, n);
1270
+ return t.block = !0, n < 0 && this.level--, t.level = this.level, n > 0 && this.level++, this.tokens.push(t), t;
1271
+ };
1272
+ q.prototype.isEmpty = function(e) {
1273
+ return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
1274
+ };
1275
+ q.prototype.skipEmptyLines = function(e) {
1276
+ for (let n = this.lineMax; e < n && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++)
1277
+ ;
1278
+ return e;
1279
+ };
1280
+ q.prototype.skipSpaces = function(e) {
1281
+ for (let n = this.src.length; e < n; e++) {
1282
+ const t = this.src.charCodeAt(e);
1283
+ if (!E(t))
1284
+ break;
1285
+ }
1286
+ return e;
1287
+ };
1288
+ q.prototype.skipSpacesBack = function(e, n) {
1289
+ if (e <= n)
1290
+ return e;
1291
+ for (; e > n; )
1292
+ if (!E(this.src.charCodeAt(--e)))
1293
+ return e + 1;
1294
+ return e;
1295
+ };
1296
+ q.prototype.skipChars = function(e, n) {
1297
+ for (let t = this.src.length; e < t && this.src.charCodeAt(e) === n; e++)
1298
+ ;
1299
+ return e;
1300
+ };
1301
+ q.prototype.skipCharsBack = function(e, n, t) {
1302
+ if (e <= t)
1303
+ return e;
1304
+ for (; e > t; )
1305
+ if (n !== this.src.charCodeAt(--e))
1306
+ return e + 1;
1307
+ return e;
1308
+ };
1309
+ q.prototype.getLines = function(e, n, t, c) {
1310
+ if (e >= n)
1311
+ return "";
1312
+ const r = new Array(n - e);
1313
+ for (let i = 0, o = e; o < n; o++, i++) {
1314
+ let a = 0;
1315
+ const s = this.bMarks[o];
1316
+ let f = s, l;
1317
+ for (o + 1 < n || c ? l = this.eMarks[o] + 1 : l = this.eMarks[o]; f < l && a < t; ) {
1318
+ const b = this.src.charCodeAt(f);
1319
+ if (E(b))
1320
+ b === 9 ? a += 4 - (a + this.bsCount[o]) % 4 : a++;
1321
+ else if (f - s < this.tShift[o])
1322
+ a++;
1323
+ else
1324
+ break;
1325
+ f++;
1326
+ }
1327
+ a > t ? r[i] = new Array(a - t + 1).join(" ") + this.src.slice(f, l) : r[i] = this.src.slice(f, l);
1328
+ }
1329
+ return r.join("");
1330
+ };
1331
+ q.prototype.Token = T;
1332
+ const un = 65536;
1333
+ function ku(u, e) {
1334
+ const n = u.bMarks[e] + u.tShift[e], t = u.eMarks[e];
1335
+ return u.src.slice(n, t);
1336
+ }
1337
+ function Gu(u) {
1338
+ const e = [], n = u.length;
1339
+ let t = 0, c = u.charCodeAt(t), r = !1, i = 0, o = "";
1340
+ for (; t < n; )
1341
+ c === 124 && (r ? (o += u.substring(i, t - 1), i = t) : (e.push(o + u.substring(i, t)), o = "", i = t + 1)), r = c === 92, t++, c = u.charCodeAt(t);
1342
+ return e.push(o + u.substring(i)), e;
1343
+ }
1344
+ function en(u, e, n, t) {
1345
+ if (e + 2 > n)
1346
+ return !1;
1347
+ let c = e + 1;
1348
+ if (u.sCount[c] < u.blkIndent || u.sCount[c] - u.blkIndent >= 4)
1349
+ return !1;
1350
+ let r = u.bMarks[c] + u.tShift[c];
1351
+ if (r >= u.eMarks[c])
1352
+ return !1;
1353
+ const i = u.src.charCodeAt(r++);
1354
+ if (i !== 124 && i !== 45 && i !== 58 || r >= u.eMarks[c])
1355
+ return !1;
1356
+ const o = u.src.charCodeAt(r++);
1357
+ if (o !== 124 && o !== 45 && o !== 58 && !E(o) || i === 45 && E(o))
1358
+ return !1;
1359
+ for (; r < u.eMarks[c]; ) {
1360
+ const k = u.src.charCodeAt(r);
1361
+ if (k !== 124 && k !== 45 && k !== 58 && !E(k))
1362
+ return !1;
1363
+ r++;
1364
+ }
1365
+ let a = ku(u, e + 1), s = a.split("|");
1366
+ const f = [];
1367
+ for (let k = 0; k < s.length; k++) {
1368
+ const g = s[k].trim();
1369
+ if (!g) {
1370
+ if (k === 0 || k === s.length - 1)
1371
+ continue;
1372
+ return !1;
1373
+ }
1374
+ if (!/^:?-+:?$/.test(g))
1375
+ return !1;
1376
+ g.charCodeAt(g.length - 1) === 58 ? f.push(g.charCodeAt(0) === 58 ? "center" : "right") : g.charCodeAt(0) === 58 ? f.push("left") : f.push("");
1377
+ }
1378
+ if (a = ku(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
1379
+ return !1;
1380
+ s = Gu(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
1381
+ const l = s.length;
1382
+ if (l === 0 || l !== f.length)
1383
+ return !1;
1384
+ if (t)
1385
+ return !0;
1386
+ const b = u.parentType;
1387
+ u.parentType = "table";
1388
+ const h = u.md.block.ruler.getRules("blockquote"), d = u.push("table_open", "table", 1), p = [e, 0];
1389
+ d.map = p;
1390
+ const x = u.push("thead_open", "thead", 1);
1391
+ x.map = [e, e + 1];
1392
+ const D = u.push("tr_open", "tr", 1);
1393
+ D.map = [e, e + 1];
1394
+ for (let k = 0; k < s.length; k++) {
1395
+ const g = u.push("th_open", "th", 1);
1396
+ f[k] && (g.attrs = [["style", "text-align:" + f[k]]]);
1397
+ const C = u.push("inline", "", 0);
1398
+ C.content = s[k].trim(), C.children = [], u.push("th_close", "th", -1);
1399
+ }
1400
+ u.push("tr_close", "tr", -1), u.push("thead_close", "thead", -1);
1401
+ let m, _ = 0;
1402
+ for (c = e + 2; c < n && !(u.sCount[c] < u.blkIndent); c++) {
1403
+ let k = !1;
1404
+ for (let C = 0, y = h.length; C < y; C++)
1405
+ if (h[C](u, c, n, !0)) {
1406
+ k = !0;
1407
+ break;
1408
+ }
1409
+ if (k || (a = ku(u, c).trim(), !a) || u.sCount[c] - u.blkIndent >= 4 || (s = Gu(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), _ += l - s.length, _ > un))
1410
+ break;
1411
+ if (c === e + 2) {
1412
+ const C = u.push("tbody_open", "tbody", 1);
1413
+ C.map = m = [e + 2, 0];
1414
+ }
1415
+ const g = u.push("tr_open", "tr", 1);
1416
+ g.map = [c, c + 1];
1417
+ for (let C = 0; C < l; C++) {
1418
+ const y = u.push("td_open", "td", 1);
1419
+ f[C] && (y.attrs = [["style", "text-align:" + f[C]]]);
1420
+ const w = u.push("inline", "", 0);
1421
+ w.content = s[C] ? s[C].trim() : "", w.children = [], u.push("td_close", "td", -1);
1422
+ }
1423
+ u.push("tr_close", "tr", -1);
1424
+ }
1425
+ return m && (u.push("tbody_close", "tbody", -1), m[1] = c), u.push("table_close", "table", -1), p[1] = c, u.parentType = b, u.line = c, !0;
1426
+ }
1427
+ function nn(u, e, n) {
1428
+ if (u.sCount[e] - u.blkIndent < 4)
1429
+ return !1;
1430
+ let t = e + 1, c = t;
1431
+ for (; t < n; ) {
1432
+ if (u.isEmpty(t)) {
1433
+ t++;
1434
+ continue;
1435
+ }
1436
+ if (u.sCount[t] - u.blkIndent >= 4) {
1437
+ t++, c = t;
1438
+ continue;
1439
+ }
1440
+ break;
1441
+ }
1442
+ u.line = c;
1443
+ const r = u.push("code_block", "code", 0);
1444
+ return r.content = u.getLines(e, c, 4 + u.blkIndent, !1) + `
1445
+ `, r.map = [e, u.line], !0;
1446
+ }
1447
+ function rn(u, e, n, t) {
1448
+ let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e];
1449
+ if (u.sCount[e] - u.blkIndent >= 4 || c + 3 > r)
1450
+ return !1;
1451
+ const i = u.src.charCodeAt(c);
1452
+ if (i !== 126 && i !== 96)
1453
+ return !1;
1454
+ let o = c;
1455
+ c = u.skipChars(c, i);
1456
+ let a = c - o;
1457
+ if (a < 3)
1458
+ return !1;
1459
+ const s = u.src.slice(o, c), f = u.src.slice(c, r);
1460
+ if (i === 96 && f.indexOf(String.fromCharCode(i)) >= 0)
1461
+ return !1;
1462
+ if (t)
1463
+ return !0;
1464
+ let l = e, b = !1;
1465
+ for (; l++, !(l >= n || (c = o = u.bMarks[l] + u.tShift[l], r = u.eMarks[l], c < r && u.sCount[l] < u.blkIndent)); )
1466
+ if (u.src.charCodeAt(c) === i && !(u.sCount[l] - u.blkIndent >= 4) && (c = u.skipChars(c, i), !(c - o < a) && (c = u.skipSpaces(c), !(c < r)))) {
1467
+ b = !0;
1468
+ break;
1469
+ }
1470
+ a = u.sCount[e], u.line = l + (b ? 1 : 0);
1471
+ const h = u.push("fence", "code", 0);
1472
+ return h.info = f, h.content = u.getLines(e + 1, l, a, !0), h.markup = s, h.map = [e, u.line], !0;
1473
+ }
1474
+ function tn(u, e, n, t) {
1475
+ let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e];
1476
+ const i = u.lineMax;
1477
+ if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(c) !== 62)
1478
+ return !1;
1479
+ if (t)
1480
+ return !0;
1481
+ const o = [], a = [], s = [], f = [], l = u.md.block.ruler.getRules("blockquote"), b = u.parentType;
1482
+ u.parentType = "blockquote";
1483
+ let h = !1, d;
1484
+ for (d = e; d < n; d++) {
1485
+ const _ = u.sCount[d] < u.blkIndent;
1486
+ if (c = u.bMarks[d] + u.tShift[d], r = u.eMarks[d], c >= r)
1487
+ break;
1488
+ if (u.src.charCodeAt(c++) === 62 && !_) {
1489
+ let g = u.sCount[d] + 1, C, y;
1490
+ u.src.charCodeAt(c) === 32 ? (c++, g++, y = !1, C = !0) : u.src.charCodeAt(c) === 9 ? (C = !0, (u.bsCount[d] + g) % 4 === 3 ? (c++, g++, y = !1) : y = !0) : C = !1;
1491
+ let w = g;
1492
+ for (o.push(u.bMarks[d]), u.bMarks[d] = c; c < r; ) {
1493
+ const B = u.src.charCodeAt(c);
1494
+ if (E(B))
1495
+ B === 9 ? w += 4 - (w + u.bsCount[d] + (y ? 1 : 0)) % 4 : w++;
1496
+ else
1497
+ break;
1498
+ c++;
1499
+ }
1500
+ h = c >= r, a.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (C ? 1 : 0), s.push(u.sCount[d]), u.sCount[d] = w - g, f.push(u.tShift[d]), u.tShift[d] = c - u.bMarks[d];
1501
+ continue;
1502
+ }
1503
+ if (h)
1504
+ break;
1505
+ let k = !1;
1506
+ for (let g = 0, C = l.length; g < C; g++)
1507
+ if (l[g](u, d, n, !0)) {
1508
+ k = !0;
1509
+ break;
1510
+ }
1511
+ if (k) {
1512
+ u.lineMax = d, u.blkIndent !== 0 && (o.push(u.bMarks[d]), a.push(u.bsCount[d]), f.push(u.tShift[d]), s.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
1513
+ break;
1514
+ }
1515
+ o.push(u.bMarks[d]), a.push(u.bsCount[d]), f.push(u.tShift[d]), s.push(u.sCount[d]), u.sCount[d] = -1;
1516
+ }
1517
+ const p = u.blkIndent;
1518
+ u.blkIndent = 0;
1519
+ const x = u.push("blockquote_open", "blockquote", 1);
1520
+ x.markup = ">";
1521
+ const D = [e, 0];
1522
+ x.map = D, u.md.block.tokenize(u, e, d);
1523
+ const m = u.push("blockquote_close", "blockquote", -1);
1524
+ m.markup = ">", u.lineMax = i, u.parentType = b, D[1] = u.line;
1525
+ for (let _ = 0; _ < f.length; _++)
1526
+ u.bMarks[_ + e] = o[_], u.tShift[_ + e] = f[_], u.sCount[_ + e] = s[_], u.bsCount[_ + e] = a[_];
1527
+ return u.blkIndent = p, !0;
1528
+ }
1529
+ function cn(u, e, n, t) {
1530
+ const c = u.eMarks[e];
1531
+ if (u.sCount[e] - u.blkIndent >= 4)
1532
+ return !1;
1533
+ let r = u.bMarks[e] + u.tShift[e];
1534
+ const i = u.src.charCodeAt(r++);
1535
+ if (i !== 42 && i !== 45 && i !== 95)
1536
+ return !1;
1537
+ let o = 1;
1538
+ for (; r < c; ) {
1539
+ const s = u.src.charCodeAt(r++);
1540
+ if (s !== i && !E(s))
1541
+ return !1;
1542
+ s === i && o++;
1543
+ }
1544
+ if (o < 3)
1545
+ return !1;
1546
+ if (t)
1547
+ return !0;
1548
+ u.line = e + 1;
1549
+ const a = u.push("hr", "hr", 0);
1550
+ return a.map = [e, u.line], a.markup = Array(o + 1).join(String.fromCharCode(i)), !0;
1551
+ }
1552
+ function Vu(u, e) {
1553
+ const n = u.eMarks[e];
1554
+ let t = u.bMarks[e] + u.tShift[e];
1555
+ const c = u.src.charCodeAt(t++);
1556
+ if (c !== 42 && c !== 45 && c !== 43)
1557
+ return -1;
1558
+ if (t < n) {
1559
+ const r = u.src.charCodeAt(t);
1560
+ if (!E(r))
1561
+ return -1;
1562
+ }
1563
+ return t;
1564
+ }
1565
+ function Wu(u, e) {
1566
+ const n = u.bMarks[e] + u.tShift[e], t = u.eMarks[e];
1567
+ let c = n;
1568
+ if (c + 1 >= t)
1569
+ return -1;
1570
+ let r = u.src.charCodeAt(c++);
1571
+ if (r < 48 || r > 57)
1572
+ return -1;
1573
+ for (; ; ) {
1574
+ if (c >= t)
1575
+ return -1;
1576
+ if (r = u.src.charCodeAt(c++), r >= 48 && r <= 57) {
1577
+ if (c - n >= 10)
1578
+ return -1;
1579
+ continue;
1580
+ }
1581
+ if (r === 41 || r === 46)
1582
+ break;
1583
+ return -1;
1584
+ }
1585
+ return c < t && (r = u.src.charCodeAt(c), !E(r)) ? -1 : c;
1586
+ }
1587
+ function on(u, e) {
1588
+ const n = u.level + 2;
1589
+ for (let t = e + 2, c = u.tokens.length - 2; t < c; t++)
1590
+ u.tokens[t].level === n && u.tokens[t].type === "paragraph_open" && (u.tokens[t + 2].hidden = !0, u.tokens[t].hidden = !0, t += 2);
1591
+ }
1592
+ function an(u, e, n, t) {
1593
+ let c, r, i, o, a = e, s = !0;
1594
+ if (u.sCount[a] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[a] - u.listIndent >= 4 && u.sCount[a] < u.blkIndent)
1595
+ return !1;
1596
+ let f = !1;
1597
+ t && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (f = !0);
1598
+ let l, b, h;
1599
+ if ((h = Wu(u, a)) >= 0) {
1600
+ if (l = !0, i = u.bMarks[a] + u.tShift[a], b = Number(u.src.slice(i, h - 1)), f && b !== 1) return !1;
1601
+ } else if ((h = Vu(u, a)) >= 0)
1602
+ l = !1;
1603
+ else
1604
+ return !1;
1605
+ if (f && u.skipSpaces(h) >= u.eMarks[a])
1606
+ return !1;
1607
+ if (t)
1608
+ return !0;
1609
+ const d = u.src.charCodeAt(h - 1), p = u.tokens.length;
1610
+ l ? (o = u.push("ordered_list_open", "ol", 1), b !== 1 && (o.attrs = [["start", b]])) : o = u.push("bullet_list_open", "ul", 1);
1611
+ const x = [a, 0];
1612
+ o.map = x, o.markup = String.fromCharCode(d);
1613
+ let D = !1;
1614
+ const m = u.md.block.ruler.getRules("list"), _ = u.parentType;
1615
+ for (u.parentType = "list"; a < n; ) {
1616
+ r = h, c = u.eMarks[a];
1617
+ const k = u.sCount[a] + h - (u.bMarks[a] + u.tShift[a]);
1618
+ let g = k;
1619
+ for (; r < c; ) {
1620
+ const U = u.src.charCodeAt(r);
1621
+ if (U === 9)
1622
+ g += 4 - (g + u.bsCount[a]) % 4;
1623
+ else if (U === 32)
1624
+ g++;
1625
+ else
1626
+ break;
1627
+ r++;
1628
+ }
1629
+ const C = r;
1630
+ let y;
1631
+ C >= c ? y = 1 : y = g - k, y > 4 && (y = 1);
1632
+ const w = k + y;
1633
+ o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(d);
1634
+ const B = [a, 0];
1635
+ o.map = B, l && (o.info = u.src.slice(i, h - 1));
1636
+ const j = u.tight, J = u.tShift[a], pu = u.sCount[a], xu = u.listIndent;
1637
+ if (u.listIndent = u.blkIndent, u.blkIndent = w, u.tight = !0, u.tShift[a] = C - u.bMarks[a], u.sCount[a] = g, C >= c && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, n) : u.md.block.tokenize(u, a, n, !0), (!u.tight || D) && (s = !1), D = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = xu, u.tShift[a] = J, u.sCount[a] = pu, u.tight = j, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), a = u.line, B[1] = a, a >= n || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
1638
+ break;
1639
+ let Q = !1;
1640
+ for (let U = 0, z0 = m.length; U < z0; U++)
1641
+ if (m[U](u, a, n, !0)) {
1642
+ Q = !0;
1643
+ break;
1644
+ }
1645
+ if (Q)
1646
+ break;
1647
+ if (l) {
1648
+ if (h = Wu(u, a), h < 0)
1649
+ break;
1650
+ i = u.bMarks[a] + u.tShift[a];
1651
+ } else if (h = Vu(u, a), h < 0)
1652
+ break;
1653
+ if (d !== u.src.charCodeAt(h - 1))
1654
+ break;
1655
+ }
1656
+ return l ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), x[1] = a, u.line = a, u.parentType = _, s && on(u, p), !0;
1657
+ }
1658
+ function sn(u, e, n, t) {
1659
+ let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e], i = e + 1;
1660
+ if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(c) !== 91)
1661
+ return !1;
1662
+ function o(m) {
1663
+ const _ = u.lineMax;
1664
+ if (m >= _ || u.isEmpty(m))
1665
+ return null;
1666
+ let k = !1;
1667
+ if (u.sCount[m] - u.blkIndent > 3 && (k = !0), u.sCount[m] < 0 && (k = !0), !k) {
1668
+ const y = u.md.block.ruler.getRules("reference"), w = u.parentType;
1669
+ u.parentType = "reference";
1670
+ let B = !1;
1671
+ for (let j = 0, J = y.length; j < J; j++)
1672
+ if (y[j](u, m, _, !0)) {
1673
+ B = !0;
1674
+ break;
1675
+ }
1676
+ if (u.parentType = w, B)
1677
+ return null;
1678
+ }
1679
+ const g = u.bMarks[m] + u.tShift[m], C = u.eMarks[m];
1680
+ return u.src.slice(g, C + 1);
1681
+ }
1682
+ let a = u.src.slice(c, r + 1);
1683
+ r = a.length;
1684
+ let s = -1;
1685
+ for (c = 1; c < r; c++) {
1686
+ const m = a.charCodeAt(c);
1687
+ if (m === 91)
1688
+ return !1;
1689
+ if (m === 93) {
1690
+ s = c;
1691
+ break;
1692
+ } else if (m === 10) {
1693
+ const _ = o(i);
1694
+ _ !== null && (a += _, r = a.length, i++);
1695
+ } else if (m === 92 && (c++, c < r && a.charCodeAt(c) === 10)) {
1696
+ const _ = o(i);
1697
+ _ !== null && (a += _, r = a.length, i++);
1698
+ }
1699
+ }
1700
+ if (s < 0 || a.charCodeAt(s + 1) !== 58)
1701
+ return !1;
1702
+ for (c = s + 2; c < r; c++) {
1703
+ const m = a.charCodeAt(c);
1704
+ if (m === 10) {
1705
+ const _ = o(i);
1706
+ _ !== null && (a += _, r = a.length, i++);
1707
+ } else if (!E(m)) break;
1708
+ }
1709
+ const f = u.md.helpers.parseLinkDestination(a, c, r);
1710
+ if (!f.ok)
1711
+ return !1;
1712
+ const l = u.md.normalizeLink(f.str);
1713
+ if (!u.md.validateLink(l))
1714
+ return !1;
1715
+ c = f.pos;
1716
+ const b = c, h = i, d = c;
1717
+ for (; c < r; c++) {
1718
+ const m = a.charCodeAt(c);
1719
+ if (m === 10) {
1720
+ const _ = o(i);
1721
+ _ !== null && (a += _, r = a.length, i++);
1722
+ } else if (!E(m)) break;
1723
+ }
1724
+ let p = u.md.helpers.parseLinkTitle(a, c, r);
1725
+ for (; p.can_continue; ) {
1726
+ const m = o(i);
1727
+ if (m === null) break;
1728
+ a += m, c = r, r = a.length, i++, p = u.md.helpers.parseLinkTitle(a, c, r, p);
1729
+ }
1730
+ let x;
1731
+ for (c < r && d !== c && p.ok ? (x = p.str, c = p.pos) : (x = "", c = b, i = h); c < r; ) {
1732
+ const m = a.charCodeAt(c);
1733
+ if (!E(m))
1734
+ break;
1735
+ c++;
1736
+ }
1737
+ if (c < r && a.charCodeAt(c) !== 10 && x)
1738
+ for (x = "", c = b, i = h; c < r; ) {
1739
+ const m = a.charCodeAt(c);
1740
+ if (!E(m))
1741
+ break;
1742
+ c++;
1743
+ }
1744
+ if (c < r && a.charCodeAt(c) !== 10)
1745
+ return !1;
1746
+ const D = lu(a.slice(1, s));
1747
+ return D ? (t || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[D] > "u" && (u.env.references[D] = { title: x, href: l }), u.line = i), !0) : !1;
1748
+ }
1749
+ const fn = [
1750
+ "address",
1751
+ "article",
1752
+ "aside",
1753
+ "base",
1754
+ "basefont",
1755
+ "blockquote",
1756
+ "body",
1757
+ "caption",
1758
+ "center",
1759
+ "col",
1760
+ "colgroup",
1761
+ "dd",
1762
+ "details",
1763
+ "dialog",
1764
+ "dir",
1765
+ "div",
1766
+ "dl",
1767
+ "dt",
1768
+ "fieldset",
1769
+ "figcaption",
1770
+ "figure",
1771
+ "footer",
1772
+ "form",
1773
+ "frame",
1774
+ "frameset",
1775
+ "h1",
1776
+ "h2",
1777
+ "h3",
1778
+ "h4",
1779
+ "h5",
1780
+ "h6",
1781
+ "head",
1782
+ "header",
1783
+ "hr",
1784
+ "html",
1785
+ "iframe",
1786
+ "legend",
1787
+ "li",
1788
+ "link",
1789
+ "main",
1790
+ "menu",
1791
+ "menuitem",
1792
+ "nav",
1793
+ "noframes",
1794
+ "ol",
1795
+ "optgroup",
1796
+ "option",
1797
+ "p",
1798
+ "param",
1799
+ "search",
1800
+ "section",
1801
+ "summary",
1802
+ "table",
1803
+ "tbody",
1804
+ "td",
1805
+ "tfoot",
1806
+ "th",
1807
+ "thead",
1808
+ "title",
1809
+ "tr",
1810
+ "track",
1811
+ "ul"
1812
+ ], ln = "[a-zA-Z_:][a-zA-Z0-9:._-]*", dn = "[^\"'=<>`\\x00-\\x20]+", hn = "'[^']*'", bn = '"[^"]*"', pn = "(?:" + dn + "|" + hn + "|" + bn + ")", xn = "(?:\\s+" + ln + "(?:\\s*=\\s*" + pn + ")?)", b0 = "<[A-Za-z][A-Za-z0-9\\-]*" + xn + "*\\s*\\/?>", p0 = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", mn = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", _n = "<[?][\\s\\S]*?[?]>", kn = "<![A-Za-z][^>]*>", gn = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", Cn = new RegExp("^(?:" + b0 + "|" + p0 + "|" + mn + "|" + _n + "|" + kn + "|" + gn + ")"), Dn = new RegExp("^(?:" + b0 + "|" + p0 + ")"), H = [
1813
+ [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
1814
+ [/^<!--/, /-->/, !0],
1815
+ [/^<\?/, /\?>/, !0],
1816
+ [/^<![A-Z]/, />/, !0],
1817
+ [/^<!\[CDATA\[/, /\]\]>/, !0],
1818
+ [new RegExp("^</?(" + fn.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
1819
+ [new RegExp(Dn.source + "\\s*$"), /^$/, !1]
1820
+ ];
1821
+ function En(u, e, n, t) {
1822
+ let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e];
1823
+ if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(c) !== 60)
1824
+ return !1;
1825
+ let i = u.src.slice(c, r), o = 0;
1826
+ for (; o < H.length && !H[o][0].test(i); o++)
1827
+ ;
1828
+ if (o === H.length)
1829
+ return !1;
1830
+ if (t)
1831
+ return H[o][2];
1832
+ let a = e + 1;
1833
+ const s = H[o][1].test("");
1834
+ if (!H[o][1].test(i)) {
1835
+ for (; a < n && !(u.sCount[a] < u.blkIndent && (s || !u.isEmpty(a))); a++)
1836
+ if (c = u.bMarks[a] + u.tShift[a], r = u.eMarks[a], i = u.src.slice(c, r), H[o][1].test(i)) {
1837
+ i.length !== 0 && a++;
1838
+ break;
1839
+ }
1840
+ }
1841
+ u.line = a;
1842
+ const f = u.push("html_block", "", 0);
1843
+ return f.map = [e, a], f.content = u.getLines(e, a, u.blkIndent, !0), !0;
1844
+ }
1845
+ function yn(u, e, n, t) {
1846
+ let c = u.bMarks[e] + u.tShift[e], r = u.eMarks[e];
1847
+ if (u.sCount[e] - u.blkIndent >= 4)
1848
+ return !1;
1849
+ let i = u.src.charCodeAt(c);
1850
+ if (i !== 35 || c >= r)
1851
+ return !1;
1852
+ let o = 1;
1853
+ for (i = u.src.charCodeAt(++c); i === 35 && c < r && o <= 6; )
1854
+ o++, i = u.src.charCodeAt(++c);
1855
+ if (o > 6 || c < r && !E(i))
1856
+ return !1;
1857
+ if (t)
1858
+ return !0;
1859
+ r = u.skipSpacesBack(r, c);
1860
+ const a = u.skipCharsBack(r, 35, c);
1861
+ a > c && E(u.src.charCodeAt(a - 1)) && (r = a), u.line = e + 1;
1862
+ const s = u.push("heading_open", "h" + String(o), 1);
1863
+ s.markup = "########".slice(0, o), s.map = [e, u.line];
1864
+ const f = u.push("inline", "", 0);
1865
+ f.content = du(u.src.slice(c, r)), f.map = [e, u.line], f.children = [];
1866
+ const l = u.push("heading_close", "h" + String(o), -1);
1867
+ return l.markup = "########".slice(0, o), !0;
1868
+ }
1869
+ function Fn(u, e, n) {
1870
+ const t = u.md.block.ruler.getRules("paragraph");
1871
+ if (u.sCount[e] - u.blkIndent >= 4)
1872
+ return !1;
1873
+ const c = u.parentType;
1874
+ u.parentType = "paragraph";
1875
+ let r = 0, i, o = e + 1;
1876
+ for (; o < n && !u.isEmpty(o); o++) {
1877
+ if (u.sCount[o] - u.blkIndent > 3)
1878
+ continue;
1879
+ if (u.sCount[o] >= u.blkIndent) {
1880
+ let h = u.bMarks[o] + u.tShift[o];
1881
+ const d = u.eMarks[o];
1882
+ if (h < d && (i = u.src.charCodeAt(h), (i === 45 || i === 61) && (h = u.skipChars(h, i), h = u.skipSpaces(h), h >= d))) {
1883
+ r = i === 61 ? 1 : 2;
1884
+ break;
1885
+ }
1886
+ }
1887
+ if (u.sCount[o] < 0)
1888
+ continue;
1889
+ let b = !1;
1890
+ for (let h = 0, d = t.length; h < d; h++)
1891
+ if (t[h](u, o, n, !0)) {
1892
+ b = !0;
1893
+ break;
1894
+ }
1895
+ if (b)
1896
+ break;
1897
+ }
1898
+ if (!r)
1899
+ return u.parentType = c, !1;
1900
+ const a = du(u.getLines(e, o, u.blkIndent, !1));
1901
+ u.line = o + 1;
1902
+ const s = u.push("heading_open", "h" + String(r), 1);
1903
+ s.markup = String.fromCharCode(i), s.map = [e, u.line];
1904
+ const f = u.push("inline", "", 0);
1905
+ f.content = a, f.map = [e, u.line - 1], f.children = [];
1906
+ const l = u.push("heading_close", "h" + String(r), -1);
1907
+ return l.markup = String.fromCharCode(i), u.parentType = c, !0;
1908
+ }
1909
+ function An(u, e, n) {
1910
+ const t = u.md.block.ruler.getRules("paragraph"), c = u.parentType;
1911
+ let r = e + 1;
1912
+ for (u.parentType = "paragraph"; r < n && !u.isEmpty(r); r++) {
1913
+ if (u.sCount[r] - u.blkIndent > 3 || u.sCount[r] < 0)
1914
+ continue;
1915
+ let s = !1;
1916
+ for (let f = 0, l = t.length; f < l; f++)
1917
+ if (t[f](u, r, n, !0)) {
1918
+ s = !0;
1919
+ break;
1920
+ }
1921
+ if (s)
1922
+ break;
1923
+ }
1924
+ const i = du(u.getLines(e, r, u.blkIndent, !1));
1925
+ u.line = r;
1926
+ const o = u.push("paragraph_open", "p", 1);
1927
+ o.map = [e, u.line];
1928
+ const a = u.push("inline", "", 0);
1929
+ return a.content = i, a.map = [e, u.line], a.children = [], u.push("paragraph_close", "p", -1), u.parentType = c, !0;
1930
+ }
1931
+ const ou = [
1932
+ // First 2 params - rule name & source. Secondary array - list of rules,
1933
+ // which can be terminated by this one.
1934
+ ["table", en, ["paragraph", "reference"]],
1935
+ ["code", nn],
1936
+ ["fence", rn, ["paragraph", "reference", "blockquote", "list"]],
1937
+ ["blockquote", tn, ["paragraph", "reference", "blockquote", "list"]],
1938
+ ["hr", cn, ["paragraph", "reference", "blockquote", "list"]],
1939
+ ["list", an, ["paragraph", "reference", "blockquote"]],
1940
+ ["reference", sn],
1941
+ ["html_block", En, ["paragraph", "reference", "blockquote"]],
1942
+ ["heading", yn, ["paragraph", "reference", "blockquote"]],
1943
+ ["lheading", Fn],
1944
+ ["paragraph", An]
1945
+ ];
1946
+ function hu() {
1947
+ this.ruler = new v();
1948
+ for (let u = 0; u < ou.length; u++)
1949
+ this.ruler.push(ou[u][0], ou[u][1], { alt: (ou[u][2] || []).slice() });
1950
+ }
1951
+ hu.prototype.tokenize = function(u, e, n) {
1952
+ const t = this.ruler.getRules(""), c = t.length, r = u.md.options.maxNesting;
1953
+ let i = e, o = !1;
1954
+ for (; i < n && (u.line = i = u.skipEmptyLines(i), !(i >= n || u.sCount[i] < u.blkIndent)); ) {
1955
+ if (u.level >= r) {
1956
+ u.line = n;
1957
+ break;
1958
+ }
1959
+ const a = u.line;
1960
+ let s = !1;
1961
+ for (let f = 0; f < c; f++)
1962
+ if (s = t[f](u, i, n, !1), s) {
1963
+ if (a >= u.line)
1964
+ throw new Error("block rule didn't increment state.line");
1965
+ break;
1966
+ }
1967
+ if (!s) throw new Error("none of the block rules matched");
1968
+ u.tight = !o, u.isEmpty(u.line - 1) && (o = !0), i = u.line, i < n && u.isEmpty(i) && (o = !0, i++, u.line = i);
1969
+ }
1970
+ };
1971
+ hu.prototype.parse = function(u, e, n, t) {
1972
+ if (!u)
1973
+ return;
1974
+ const c = new this.State(u, e, n, t);
1975
+ this.tokenize(c, c.line, c.lineMax);
1976
+ };
1977
+ hu.prototype.State = q;
1978
+ function ru(u, e, n, t) {
1979
+ this.src = u, this.env = n, this.md = e, this.tokens = t, this.tokens_meta = Array(t.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
1980
+ }
1981
+ ru.prototype.pushPending = function() {
1982
+ const u = new T("text", "", 0);
1983
+ return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
1984
+ };
1985
+ ru.prototype.push = function(u, e, n) {
1986
+ this.pending && this.pushPending();
1987
+ const t = new T(u, e, n);
1988
+ let c = null;
1989
+ return n < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), t.level = this.level, n > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], c = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(t), this.tokens_meta.push(c), t;
1990
+ };
1991
+ ru.prototype.scanDelims = function(u, e) {
1992
+ const n = this.posMax, t = this.src.charCodeAt(u);
1993
+ let c;
1994
+ if (u === 0)
1995
+ c = 32;
1996
+ else if (u === 1)
1997
+ c = this.src.charCodeAt(0), (c & 63488) === 55296 && (c = 65533);
1998
+ else if (c = this.src.charCodeAt(u - 1), (c & 64512) === 56320) {
1999
+ const x = this.src.charCodeAt(u - 2);
2000
+ c = (x & 64512) === 55296 ? 65536 + (x - 55296 << 10) + (c - 56320) : 65533;
2001
+ } else (c & 64512) === 55296 && (c = 65533);
2002
+ let r = u;
2003
+ for (; r < n && this.src.charCodeAt(r) === t; )
2004
+ r++;
2005
+ const i = r - u;
2006
+ let o = r < n ? this.src.charCodeAt(r) : 32;
2007
+ if ((o & 64512) === 55296) {
2008
+ const x = this.src.charCodeAt(r + 1);
2009
+ o = (x & 64512) === 56320 ? 65536 + (o - 55296 << 10) + (x - 56320) : 65533;
2010
+ } else (o & 64512) === 56320 && (o = 65533);
2011
+ const a = uu(c) || Y(c), s = uu(o) || Y(o), f = K(c), l = K(o), b = !l && (!s || f || a), h = !f && (!a || l || s);
2012
+ return { can_open: b && (e || !h || a), can_close: h && (e || !b || s), length: i };
2013
+ };
2014
+ ru.prototype.Token = T;
2015
+ function wn(u) {
2016
+ switch (u) {
2017
+ case 10:
2018
+ case 33:
2019
+ case 35:
2020
+ case 36:
2021
+ case 37:
2022
+ case 38:
2023
+ case 42:
2024
+ case 43:
2025
+ case 45:
2026
+ case 58:
2027
+ case 60:
2028
+ case 61:
2029
+ case 62:
2030
+ case 64:
2031
+ case 91:
2032
+ case 92:
2033
+ case 93:
2034
+ case 94:
2035
+ case 95:
2036
+ case 96:
2037
+ case 123:
2038
+ case 125:
2039
+ case 126:
2040
+ return !0;
2041
+ default:
2042
+ return !1;
2043
+ }
2044
+ }
2045
+ function vn(u, e) {
2046
+ let n = u.pos;
2047
+ for (; n < u.posMax && !wn(u.src.charCodeAt(n)); )
2048
+ n++;
2049
+ return n === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, n)), u.pos = n, !0);
2050
+ }
2051
+ const Sn = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
2052
+ function zn(u, e) {
2053
+ if (!u.md.options.linkify || u.linkLevel > 0) return !1;
2054
+ const n = u.pos, t = u.posMax;
2055
+ if (n + 3 > t || u.src.charCodeAt(n) !== 58 || u.src.charCodeAt(n + 1) !== 47 || u.src.charCodeAt(n + 2) !== 47) return !1;
2056
+ const c = u.pending.match(Sn);
2057
+ if (!c) return !1;
2058
+ const r = c[1], i = u.md.linkify.matchAtStart(u.src.slice(n - r.length));
2059
+ if (!i) return !1;
2060
+ let o = i.url;
2061
+ if (o.length <= r.length) return !1;
2062
+ let a = o.length;
2063
+ for (; a > 0 && o.charCodeAt(a - 1) === 42; )
2064
+ a--;
2065
+ a !== o.length && (o = o.slice(0, a));
2066
+ const s = u.md.normalizeLink(o);
2067
+ if (!u.md.validateLink(s)) return !1;
2068
+ if (!e) {
2069
+ u.pending = u.pending.slice(0, -r.length);
2070
+ const f = u.push("link_open", "a", 1);
2071
+ f.attrs = [["href", s]], f.markup = "linkify", f.info = "auto";
2072
+ const l = u.push("text", "", 0);
2073
+ l.content = u.md.normalizeLinkText(o);
2074
+ const b = u.push("link_close", "a", -1);
2075
+ b.markup = "linkify", b.info = "auto";
2076
+ }
2077
+ return u.pos += o.length - r.length, !0;
2078
+ }
2079
+ function Tn(u, e) {
2080
+ let n = u.pos;
2081
+ if (u.src.charCodeAt(n) !== 10)
2082
+ return !1;
2083
+ const t = u.pending.length - 1, c = u.posMax;
2084
+ if (!e)
2085
+ if (t >= 0 && u.pending.charCodeAt(t) === 32)
2086
+ if (t >= 1 && u.pending.charCodeAt(t - 1) === 32) {
2087
+ let r = t - 1;
2088
+ for (; r >= 1 && u.pending.charCodeAt(r - 1) === 32; ) r--;
2089
+ u.pending = u.pending.slice(0, r), u.push("hardbreak", "br", 0);
2090
+ } else
2091
+ u.pending = u.pending.slice(0, -1), u.push("softbreak", "br", 0);
2092
+ else
2093
+ u.push("softbreak", "br", 0);
2094
+ for (n++; n < c && E(u.src.charCodeAt(n)); )
2095
+ n++;
2096
+ return u.pos = n, !0;
2097
+ }
2098
+ const $u = [];
2099
+ for (let u = 0; u < 256; u++)
2100
+ $u.push(0);
2101
+ "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
2102
+ $u[u.charCodeAt(0)] = 1;
2103
+ });
2104
+ function Bn(u, e) {
2105
+ let n = u.pos;
2106
+ const t = u.posMax;
2107
+ if (u.src.charCodeAt(n) !== 92 || (n++, n >= t)) return !1;
2108
+ let c = u.src.charCodeAt(n);
2109
+ if (c === 10) {
2110
+ for (e || u.push("hardbreak", "br", 0), n++; n < t && (c = u.src.charCodeAt(n), !!E(c)); )
2111
+ n++;
2112
+ return u.pos = n, !0;
2113
+ }
2114
+ if (c === 32) {
2115
+ if (!e) {
2116
+ const o = u.push("text_special", "", 0);
2117
+ o.content = "\\", o.markup = "\\", o.info = "escape";
2118
+ }
2119
+ return u.pos = n, !0;
2120
+ }
2121
+ let r = u.src[n];
2122
+ if (c >= 55296 && c <= 56319 && n + 1 < t) {
2123
+ const o = u.src.charCodeAt(n + 1);
2124
+ o >= 56320 && o <= 57343 && (r += u.src[n + 1], n++);
2125
+ }
2126
+ const i = "\\" + r;
2127
+ if (!e) {
2128
+ const o = u.push("text_special", "", 0);
2129
+ c < 256 && $u[c] !== 0 ? o.content = r : o.content = i, o.markup = i, o.info = "escape";
2130
+ }
2131
+ return u.pos = n + 1, !0;
2132
+ }
2133
+ function $n(u, e) {
2134
+ let n = u.pos;
2135
+ if (u.src.charCodeAt(n) !== 96)
2136
+ return !1;
2137
+ const c = n;
2138
+ n++;
2139
+ const r = u.posMax;
2140
+ for (; n < r && u.src.charCodeAt(n) === 96; )
2141
+ n++;
2142
+ const i = u.src.slice(c, n), o = i.length;
2143
+ if (u.backticksScanned && (u.backticks[o] || 0) <= c)
2144
+ return e || (u.pending += i), u.pos += o, !0;
2145
+ let a = n, s;
2146
+ for (; (s = u.src.indexOf("`", a)) !== -1; ) {
2147
+ for (a = s + 1; a < r && u.src.charCodeAt(a) === 96; )
2148
+ a++;
2149
+ const f = a - s;
2150
+ if (f === o) {
2151
+ if (!e) {
2152
+ const l = u.push("code_inline", "code", 0);
2153
+ l.markup = i, l.content = u.src.slice(n, s).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
2154
+ }
2155
+ return u.pos = a, !0;
2156
+ }
2157
+ u.backticks[f] = s;
2158
+ }
2159
+ return u.backticksScanned = !0, e || (u.pending += i), u.pos += o, !0;
2160
+ }
2161
+ function In(u, e) {
2162
+ const n = u.pos, t = u.src.charCodeAt(n);
2163
+ if (e || t !== 126)
2164
+ return !1;
2165
+ const c = u.scanDelims(u.pos, !0);
2166
+ let r = c.length;
2167
+ const i = String.fromCharCode(t);
2168
+ if (r < 2)
2169
+ return !1;
2170
+ let o;
2171
+ r % 2 && (o = u.push("text", "", 0), o.content = i, r--);
2172
+ for (let a = 0; a < r; a += 2)
2173
+ o = u.push("text", "", 0), o.content = i + i, u.delimiters.push({
2174
+ marker: t,
2175
+ length: 0,
2176
+ // disable "rule of 3" length checks meant for emphasis
2177
+ token: u.tokens.length - 1,
2178
+ end: -1,
2179
+ open: c.can_open,
2180
+ close: c.can_close
2181
+ });
2182
+ return u.pos += c.length, !0;
2183
+ }
2184
+ function Ju(u, e) {
2185
+ let n;
2186
+ const t = [], c = e.length;
2187
+ for (let r = 0; r < c; r++) {
2188
+ const i = e[r];
2189
+ if (i.marker !== 126 || i.end === -1)
2190
+ continue;
2191
+ const o = e[i.end];
2192
+ n = u.tokens[i.token], n.type = "s_open", n.tag = "s", n.nesting = 1, n.markup = "~~", n.content = "", n = u.tokens[o.token], n.type = "s_close", n.tag = "s", n.nesting = -1, n.markup = "~~", n.content = "", u.tokens[o.token - 1].type === "text" && u.tokens[o.token - 1].content === "~" && t.push(o.token - 1);
2193
+ }
2194
+ for (; t.length; ) {
2195
+ const r = t.pop();
2196
+ let i = r + 1;
2197
+ for (; i < u.tokens.length && u.tokens[i].type === "s_close"; )
2198
+ i++;
2199
+ i--, r !== i && (n = u.tokens[i], u.tokens[i] = u.tokens[r], u.tokens[r] = n);
2200
+ }
2201
+ }
2202
+ function Mn(u) {
2203
+ const e = u.tokens_meta, n = u.tokens_meta.length;
2204
+ Ju(u, u.delimiters);
2205
+ for (let t = 0; t < n; t++)
2206
+ e[t] && e[t].delimiters && Ju(u, e[t].delimiters);
2207
+ }
2208
+ const x0 = {
2209
+ tokenize: In,
2210
+ postProcess: Mn
2211
+ };
2212
+ function qn(u, e) {
2213
+ const n = u.pos, t = u.src.charCodeAt(n);
2214
+ if (e || t !== 95 && t !== 42)
2215
+ return !1;
2216
+ const c = u.scanDelims(u.pos, t === 42);
2217
+ for (let r = 0; r < c.length; r++) {
2218
+ const i = u.push("text", "", 0);
2219
+ i.content = String.fromCharCode(t), u.delimiters.push({
2220
+ // Char code of the starting marker (number).
2221
+ //
2222
+ marker: t,
2223
+ // Total length of these series of delimiters.
2224
+ //
2225
+ length: c.length,
2226
+ // A position of the token this delimiter corresponds to.
2227
+ //
2228
+ token: u.tokens.length - 1,
2229
+ // If this delimiter is matched as a valid opener, `end` will be
2230
+ // equal to its position, otherwise it's `-1`.
2231
+ //
2232
+ end: -1,
2233
+ // Boolean flags that determine if this delimiter could open or close
2234
+ // an emphasis.
2235
+ //
2236
+ open: c.can_open,
2237
+ close: c.can_close
2238
+ });
2239
+ }
2240
+ return u.pos += c.length, !0;
2241
+ }
2242
+ function Qu(u, e) {
2243
+ const n = e.length;
2244
+ for (let t = n - 1; t >= 0; t--) {
2245
+ const c = e[t];
2246
+ if (c.marker !== 95 && c.marker !== 42 || c.end === -1)
2247
+ continue;
2248
+ const r = e[c.end], i = t > 0 && e[t - 1].end === c.end + 1 && // check that first two markers match and adjacent
2249
+ e[t - 1].marker === c.marker && e[t - 1].token === c.token - 1 && // check that last two markers are adjacent (we can safely assume they match)
2250
+ e[c.end + 1].token === r.token + 1, o = String.fromCharCode(c.marker), a = u.tokens[c.token];
2251
+ a.type = i ? "strong_open" : "em_open", a.tag = i ? "strong" : "em", a.nesting = 1, a.markup = i ? o + o : o, a.content = "";
2252
+ const s = u.tokens[r.token];
2253
+ s.type = i ? "strong_close" : "em_close", s.tag = i ? "strong" : "em", s.nesting = -1, s.markup = i ? o + o : o, s.content = "", i && (u.tokens[e[t - 1].token].content = "", u.tokens[e[c.end + 1].token].content = "", t--);
2254
+ }
2255
+ }
2256
+ function Rn(u) {
2257
+ const e = u.tokens_meta, n = u.tokens_meta.length;
2258
+ Qu(u, u.delimiters);
2259
+ for (let t = 0; t < n; t++)
2260
+ e[t] && e[t].delimiters && Qu(u, e[t].delimiters);
2261
+ }
2262
+ const m0 = {
2263
+ tokenize: qn,
2264
+ postProcess: Rn
2265
+ };
2266
+ function Pn(u, e) {
2267
+ let n, t, c, r, i = "", o = "", a = u.pos, s = !0;
2268
+ if (u.src.charCodeAt(u.pos) !== 91)
2269
+ return !1;
2270
+ const f = u.pos, l = u.posMax, b = u.pos + 1, h = u.md.helpers.parseLinkLabel(u, u.pos, !0);
2271
+ if (h < 0)
2272
+ return !1;
2273
+ let d = h + 1;
2274
+ if (d < l && u.src.charCodeAt(d) === 40) {
2275
+ for (s = !1, d++; d < l && (n = u.src.charCodeAt(d), !(!E(n) && n !== 10)); d++)
2276
+ ;
2277
+ if (d >= l)
2278
+ return !1;
2279
+ if (a = d, c = u.md.helpers.parseLinkDestination(u.src, d, u.posMax), c.ok) {
2280
+ for (i = u.md.normalizeLink(c.str), u.md.validateLink(i) ? d = c.pos : i = "", a = d; d < l && (n = u.src.charCodeAt(d), !(!E(n) && n !== 10)); d++)
2281
+ ;
2282
+ if (c = u.md.helpers.parseLinkTitle(u.src, d, u.posMax), d < l && a !== d && c.ok)
2283
+ for (o = c.str, d = c.pos; d < l && (n = u.src.charCodeAt(d), !(!E(n) && n !== 10)); d++)
2284
+ ;
2285
+ }
2286
+ (d >= l || u.src.charCodeAt(d) !== 41) && (s = !0), d++;
2287
+ }
2288
+ if (s) {
2289
+ if (typeof u.env.references > "u")
2290
+ return !1;
2291
+ if (d < l && u.src.charCodeAt(d) === 91 ? (a = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? t = u.src.slice(a, d++) : d = h + 1) : d = h + 1, t || (t = u.src.slice(b, h)), r = u.env.references[lu(t)], !r)
2292
+ return u.pos = f, !1;
2293
+ i = r.href, o = r.title;
2294
+ }
2295
+ if (!e) {
2296
+ u.pos = b, u.posMax = h;
2297
+ const p = u.push("link_open", "a", 1), x = [["href", i]];
2298
+ p.attrs = x, o && x.push(["title", o]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
2299
+ }
2300
+ return u.pos = d, u.posMax = l, !0;
2301
+ }
2302
+ function Ln(u, e) {
2303
+ let n, t, c, r, i, o, a, s, f = "";
2304
+ const l = u.pos, b = u.posMax;
2305
+ if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
2306
+ return !1;
2307
+ const h = u.pos + 2, d = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
2308
+ if (d < 0)
2309
+ return !1;
2310
+ if (r = d + 1, r < b && u.src.charCodeAt(r) === 40) {
2311
+ for (r++; r < b && (n = u.src.charCodeAt(r), !(!E(n) && n !== 10)); r++)
2312
+ ;
2313
+ if (r >= b)
2314
+ return !1;
2315
+ for (s = r, o = u.md.helpers.parseLinkDestination(u.src, r, u.posMax), o.ok && (f = u.md.normalizeLink(o.str), u.md.validateLink(f) ? r = o.pos : f = ""), s = r; r < b && (n = u.src.charCodeAt(r), !(!E(n) && n !== 10)); r++)
2316
+ ;
2317
+ if (o = u.md.helpers.parseLinkTitle(u.src, r, u.posMax), r < b && s !== r && o.ok)
2318
+ for (a = o.str, r = o.pos; r < b && (n = u.src.charCodeAt(r), !(!E(n) && n !== 10)); r++)
2319
+ ;
2320
+ else
2321
+ a = "";
2322
+ if (r >= b || u.src.charCodeAt(r) !== 41)
2323
+ return u.pos = l, !1;
2324
+ r++;
2325
+ } else {
2326
+ if (typeof u.env.references > "u")
2327
+ return !1;
2328
+ if (r < b && u.src.charCodeAt(r) === 91 ? (s = r + 1, r = u.md.helpers.parseLinkLabel(u, r), r >= 0 ? c = u.src.slice(s, r++) : r = d + 1) : r = d + 1, c || (c = u.src.slice(h, d)), i = u.env.references[lu(c)], !i)
2329
+ return u.pos = l, !1;
2330
+ f = i.href, a = i.title;
2331
+ }
2332
+ if (!e) {
2333
+ t = u.src.slice(h, d);
2334
+ const p = [];
2335
+ u.md.inline.parse(
2336
+ t,
2337
+ u.md,
2338
+ u.env,
2339
+ p
2340
+ );
2341
+ const x = u.push("image", "img", 0), D = [["src", f], ["alt", ""]];
2342
+ x.attrs = D, x.children = p, x.content = t, a && D.push(["title", a]);
2343
+ }
2344
+ return u.pos = r, u.posMax = b, !0;
2345
+ }
2346
+ const On = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, Nn = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
2347
+ function jn(u, e) {
2348
+ let n = u.pos;
2349
+ if (u.src.charCodeAt(n) !== 60)
2350
+ return !1;
2351
+ const t = u.pos, c = u.posMax;
2352
+ for (; ; ) {
2353
+ if (++n >= c) return !1;
2354
+ const i = u.src.charCodeAt(n);
2355
+ if (i === 60) return !1;
2356
+ if (i === 62) break;
2357
+ }
2358
+ const r = u.src.slice(t + 1, n);
2359
+ if (Nn.test(r)) {
2360
+ const i = u.md.normalizeLink(r);
2361
+ if (!u.md.validateLink(i))
2362
+ return !1;
2363
+ if (!e) {
2364
+ const o = u.push("link_open", "a", 1);
2365
+ o.attrs = [["href", i]], o.markup = "autolink", o.info = "auto";
2366
+ const a = u.push("text", "", 0);
2367
+ a.content = u.md.normalizeLinkText(r);
2368
+ const s = u.push("link_close", "a", -1);
2369
+ s.markup = "autolink", s.info = "auto";
2370
+ }
2371
+ return u.pos += r.length + 2, !0;
2372
+ }
2373
+ if (On.test(r)) {
2374
+ const i = u.md.normalizeLink("mailto:" + r);
2375
+ if (!u.md.validateLink(i))
2376
+ return !1;
2377
+ if (!e) {
2378
+ const o = u.push("link_open", "a", 1);
2379
+ o.attrs = [["href", i]], o.markup = "autolink", o.info = "auto";
2380
+ const a = u.push("text", "", 0);
2381
+ a.content = u.md.normalizeLinkText(r);
2382
+ const s = u.push("link_close", "a", -1);
2383
+ s.markup = "autolink", s.info = "auto";
2384
+ }
2385
+ return u.pos += r.length + 2, !0;
2386
+ }
2387
+ return !1;
2388
+ }
2389
+ function Hn(u) {
2390
+ return /^<a[>\s]/i.test(u);
2391
+ }
2392
+ function Un(u) {
2393
+ return /^<\/a\s*>/i.test(u);
2394
+ }
2395
+ function Zn(u) {
2396
+ const e = u | 32;
2397
+ return e >= 97 && e <= 122;
2398
+ }
2399
+ function Gn(u, e) {
2400
+ if (!u.md.options.html)
2401
+ return !1;
2402
+ const n = u.posMax, t = u.pos;
2403
+ if (u.src.charCodeAt(t) !== 60 || t + 2 >= n)
2404
+ return !1;
2405
+ const c = u.src.charCodeAt(t + 1);
2406
+ if (c !== 33 && c !== 63 && c !== 47 && !Zn(c))
2407
+ return !1;
2408
+ const r = u.src.slice(t).match(Cn);
2409
+ if (!r)
2410
+ return !1;
2411
+ if (!e) {
2412
+ const i = u.push("html_inline", "", 0);
2413
+ i.content = r[0], Hn(i.content) && u.linkLevel++, Un(i.content) && u.linkLevel--;
2414
+ }
2415
+ return u.pos += r[0].length, !0;
2416
+ }
2417
+ const Vn = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Wn = /^&([a-z][a-z0-9]{1,31});/i;
2418
+ function Jn(u, e) {
2419
+ const n = u.pos, t = u.posMax;
2420
+ if (u.src.charCodeAt(n) !== 38 || n + 1 >= t) return !1;
2421
+ if (u.src.charCodeAt(n + 1) === 35) {
2422
+ const r = u.src.slice(n).match(Vn);
2423
+ if (r) {
2424
+ if (!e) {
2425
+ const i = r[1][0].toLowerCase() === "x" ? parseInt(r[1].slice(1), 16) : parseInt(r[1], 10), o = u.push("text_special", "", 0);
2426
+ o.content = Tu(i) ? X(i) : X(65533), o.markup = r[0], o.info = "entity";
2427
+ }
2428
+ return u.pos += r[0].length, !0;
2429
+ }
2430
+ } else {
2431
+ const r = u.src.slice(n).match(Wn);
2432
+ if (r) {
2433
+ const i = he(r[0]);
2434
+ if (i !== r[0]) {
2435
+ if (!e) {
2436
+ const o = u.push("text_special", "", 0);
2437
+ o.content = i, o.markup = r[0], o.info = "entity";
2438
+ }
2439
+ return u.pos += r[0].length, !0;
2440
+ }
2441
+ }
2442
+ }
2443
+ return !1;
2444
+ }
2445
+ function Xu(u) {
2446
+ const e = {}, n = u.length;
2447
+ if (!n) return;
2448
+ let t = 0, c = -2;
94
2449
  const r = [];
95
- n.md.inline.parse(e.content, n.md, n.env, r), e.children = r;
96
- }
97
- function J(n) {
98
- for (let e = 0; e < n.length; e += 1) {
99
- const r = n[e], i = n[e + 1];
100
- if (r?.type === "image" && i?.type === "text") {
101
- const t = i.content.match(/^\{width=(\d+%?)(?:\s+height=(\d+))?(?:\s+object-fit=(contain|cover|fill|none|scale-down))?}/);
102
- t !== null && (r.attrSet("width", t[1] ?? ""), t[2] !== void 0 && r.attrSet("height", t[2]), t[3] !== void 0 && r.attrSet("data-image-object-fit", t[3]), i.content = i.content.slice(t[0].length));
103
- }
104
- if (r?.type === "link_close" && i?.type === "text") {
105
- const t = i.content.match(/^\s*\{target="_blank" rel="noopener noreferrer"}/);
106
- if (t !== null)
107
- for (let o = e - 1; o >= 0; o -= 1) {
108
- const s = n[o];
109
- if (s?.type === "link_open") {
110
- s.attrSet("target", "_blank"), s.attrSet("rel", "noopener noreferrer"), i.content = i.content.slice(t[0].length);
2450
+ for (let i = 0; i < n; i++) {
2451
+ const o = u[i];
2452
+ if (r.push(0), (u[t].marker !== o.marker || c !== o.token - 1) && (t = i), c = o.token, o.length = o.length || 0, !o.close) continue;
2453
+ e.hasOwnProperty(o.marker) || (e[o.marker] = [-1, -1, -1, -1, -1, -1]);
2454
+ const a = e[o.marker][(o.open ? 3 : 0) + o.length % 3];
2455
+ let s = t - r[t] - 1, f = s;
2456
+ for (; s > a; s -= r[s] + 1) {
2457
+ const l = u[s];
2458
+ if (l.marker === o.marker && l.open && l.end < 0) {
2459
+ let b = !1;
2460
+ if ((l.close || o.open) && (l.length + o.length) % 3 === 0 && (l.length % 3 !== 0 || o.length % 3 !== 0) && (b = !0), !b) {
2461
+ const h = s > 0 && !u[s - 1].open ? r[s - 1] + 1 : 0;
2462
+ r[i] = i - s + h, r[s] = h, o.open = !1, l.end = i, l.close = !1, f = -1, c = -2;
2463
+ break;
2464
+ }
2465
+ }
2466
+ }
2467
+ f !== -1 && (e[o.marker][(o.open ? 3 : 0) + (o.length || 0) % 3] = f);
2468
+ }
2469
+ }
2470
+ function Qn(u) {
2471
+ const e = u.tokens_meta, n = u.tokens_meta.length;
2472
+ Xu(u.delimiters);
2473
+ for (let t = 0; t < n; t++)
2474
+ e[t] && e[t].delimiters && Xu(e[t].delimiters);
2475
+ }
2476
+ function Xn(u) {
2477
+ let e, n, t = 0;
2478
+ const c = u.tokens, r = u.tokens.length;
2479
+ for (e = n = 0; e < r; e++)
2480
+ c[e].nesting < 0 && t--, c[e].level = t, c[e].nesting > 0 && t++, c[e].type === "text" && e + 1 < r && c[e + 1].type === "text" ? c[e + 1].content = c[e].content + c[e + 1].content : (e !== n && (c[n] = c[e]), n++);
2481
+ e !== n && (c.length = n);
2482
+ }
2483
+ const gu = [
2484
+ ["text", vn],
2485
+ ["linkify", zn],
2486
+ ["newline", Tn],
2487
+ ["escape", Bn],
2488
+ ["backticks", $n],
2489
+ ["strikethrough", x0.tokenize],
2490
+ ["emphasis", m0.tokenize],
2491
+ ["link", Pn],
2492
+ ["image", Ln],
2493
+ ["autolink", jn],
2494
+ ["html_inline", Gn],
2495
+ ["entity", Jn]
2496
+ ], Cu = [
2497
+ ["balance_pairs", Qn],
2498
+ ["strikethrough", x0.postProcess],
2499
+ ["emphasis", m0.postProcess],
2500
+ // rules for pairs separate '**' into its own text tokens, which may be left unused,
2501
+ // rule below merges unused segments back with the rest of the text
2502
+ ["fragments_join", Xn]
2503
+ ];
2504
+ function tu() {
2505
+ this.ruler = new v();
2506
+ for (let u = 0; u < gu.length; u++)
2507
+ this.ruler.push(gu[u][0], gu[u][1]);
2508
+ this.ruler2 = new v();
2509
+ for (let u = 0; u < Cu.length; u++)
2510
+ this.ruler2.push(Cu[u][0], Cu[u][1]);
2511
+ }
2512
+ tu.prototype.skipToken = function(u) {
2513
+ const e = u.pos, n = this.ruler.getRules(""), t = n.length, c = u.md.options.maxNesting, r = u.cache;
2514
+ if (typeof r[e] < "u") {
2515
+ u.pos = r[e];
2516
+ return;
2517
+ }
2518
+ let i = !1;
2519
+ if (u.level < c) {
2520
+ for (let o = 0; o < t; o++)
2521
+ if (u.level++, i = n[o](u, !0), u.level--, i) {
2522
+ if (e >= u.pos)
2523
+ throw new Error("inline rule didn't increment state.pos");
2524
+ break;
2525
+ }
2526
+ } else
2527
+ u.pos = u.posMax;
2528
+ i || u.pos++, r[e] = u.pos;
2529
+ };
2530
+ tu.prototype.tokenize = function(u) {
2531
+ const e = this.ruler.getRules(""), n = e.length, t = u.posMax, c = u.md.options.maxNesting;
2532
+ for (; u.pos < t; ) {
2533
+ const r = u.pos;
2534
+ let i = !1;
2535
+ if (u.level < c) {
2536
+ for (let o = 0; o < n; o++)
2537
+ if (i = e[o](u, !1), i) {
2538
+ if (r >= u.pos)
2539
+ throw new Error("inline rule didn't increment state.pos");
2540
+ break;
2541
+ }
2542
+ }
2543
+ if (i) {
2544
+ if (u.pos >= t)
2545
+ break;
2546
+ continue;
2547
+ }
2548
+ u.pending += u.src[u.pos++];
2549
+ }
2550
+ u.pending && u.pushPending();
2551
+ };
2552
+ tu.prototype.parse = function(u, e, n, t) {
2553
+ const c = new this.State(u, e, n, t);
2554
+ this.tokenize(c);
2555
+ const r = this.ruler2.getRules(""), i = r.length;
2556
+ for (let o = 0; o < i; o++)
2557
+ r[o](c);
2558
+ };
2559
+ tu.prototype.State = ru;
2560
+ function Kn(u) {
2561
+ const e = {};
2562
+ u = u || {}, e.src_Any = r0.source, e.src_Cc = t0.source, e.src_Z = o0.source, e.src_P = Su.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
2563
+ const n = "[><|]";
2564
+ return e.src_pseudo_letter = `(?:(?!${n}|${e.src_ZPCc})${e.src_Any})`, e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = `(?:(?:(?!${e.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`, e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = `(?=$|${n}|${e.src_ZPCc})(?!${u["---"] ? "-(?!--)|" : "-|"}_|:\\d|\\.-|\\.(?!$|${e.src_ZPCc}))`, e.src_path = `(?:[/?#](?:(?!${e.src_ZCc}|${n}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${e.src_ZCc}|\\]).)*\\]|\\((?:(?!${e.src_ZCc}|[)]).)*\\)|\\{(?:(?!${e.src_ZCc}|[}]).)*\\}|\\"(?:(?!${e.src_ZCc}|["]).)+\\"|\\'(?:(?!${e.src_ZCc}|[']).)+\\'|\\'(?=${e.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${e.src_ZCc}|[.]|$)|` + (u["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
2565
+ `,(?!${e.src_ZCc}|$)|;(?!${e.src_ZCc}|$)|\\!+(?!${e.src_ZCc}|[!]|$)|\\?(?!${e.src_ZCc}|[?]|$))+|\\/)?`, e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
2566
+ "(?:" + e.src_xn + `|${e.src_pseudo_letter}{1,63})`, e.src_domain = "(?:" + e.src_xn + `|(?:${e.src_pseudo_letter})|(?:${e.src_pseudo_letter}(?:-|${e.src_pseudo_letter}){0,61}${e.src_pseudo_letter}))`, e.src_host = `(?:(?:(?:(?:${e.src_domain})\\.)*${e.src_domain}))`, e.tpl_host_fuzzy = "(?:" + e.src_ip4 + `|(?:(?:(?:${e.src_domain})\\.)+(?:%TLDS%)))`, e.tpl_host_no_ip_fuzzy = `(?:(?:(?:${e.src_domain})\\.)+(?:%TLDS%))`, e.src_host_strict = e.src_host + e.src_host_terminator, e.tpl_host_fuzzy_strict = e.tpl_host_fuzzy + e.src_host_terminator, e.src_host_port_strict = e.src_host + e.src_port + e.src_host_terminator, e.tpl_host_port_fuzzy_strict = e.tpl_host_fuzzy + e.src_port + e.src_host_terminator, e.tpl_host_port_no_ip_fuzzy_strict = e.tpl_host_no_ip_fuzzy + e.src_port + e.src_host_terminator, e.tpl_host_fuzzy_test = `localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${e.src_ZPCc}|>|$))`, e.tpl_email_fuzzy = `(^|${n}|"|\\(|${e.src_ZCc})(${e.src_email_name}@${e.tpl_host_fuzzy_strict})`, e.tpl_link_fuzzy = // Fuzzy link can't be prepended with .:/\- and non punctuation.
2567
+ // but can start with > (markdown blockquote)
2568
+ `(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${e.src_ZPCc}))((?![$+<=>^\`||])${e.tpl_host_port_fuzzy_strict}${e.src_path})`, e.tpl_link_no_ip_fuzzy = // Fuzzy link can't be prepended with .:/\- and non punctuation.
2569
+ // but can start with > (markdown blockquote)
2570
+ `(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${e.src_ZPCc}))((?![$+<=>^\`||])${e.tpl_host_port_no_ip_fuzzy_strict}${e.src_path})`, e;
2571
+ }
2572
+ function Au(u) {
2573
+ return Array.prototype.slice.call(arguments, 1).forEach(function(n) {
2574
+ n && Object.keys(n).forEach(function(t) {
2575
+ u[t] = n[t];
2576
+ });
2577
+ }), u;
2578
+ }
2579
+ function bu(u) {
2580
+ return Object.prototype.toString.call(u);
2581
+ }
2582
+ function Yn(u) {
2583
+ return bu(u) === "[object String]";
2584
+ }
2585
+ function ur(u) {
2586
+ return bu(u) === "[object Object]";
2587
+ }
2588
+ function er(u) {
2589
+ return bu(u) === "[object RegExp]";
2590
+ }
2591
+ function Ku(u) {
2592
+ return bu(u) === "[object Function]";
2593
+ }
2594
+ function nr(u) {
2595
+ return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
2596
+ }
2597
+ const _0 = {
2598
+ fuzzyLink: !0,
2599
+ fuzzyEmail: !0,
2600
+ fuzzyIP: !1
2601
+ };
2602
+ function rr(u) {
2603
+ return Object.keys(u || {}).reduce(function(e, n) {
2604
+ return e || _0.hasOwnProperty(n);
2605
+ }, !1);
2606
+ }
2607
+ const tr = {
2608
+ "http:": {
2609
+ validate: function(u, e, n) {
2610
+ const t = u.slice(e);
2611
+ return n.re.http || (n.re.http = new RegExp(
2612
+ `^\\/\\/${n.re.src_auth}${n.re.src_host_port_strict}${n.re.src_path}`,
2613
+ "i"
2614
+ )), n.re.http.test(t) ? t.match(n.re.http)[0].length : 0;
2615
+ }
2616
+ },
2617
+ "https:": "http:",
2618
+ "ftp:": "http:",
2619
+ "//": {
2620
+ validate: function(u, e, n) {
2621
+ const t = u.slice(e);
2622
+ return n.re.no_http || (n.re.no_http = new RegExp(
2623
+ "^" + n.re.src_auth + // Don't allow single-level domains, because of false positives like '//test'
2624
+ // with code comments
2625
+ `(?:localhost|(?:(?:${n.re.src_domain})\\.)+${n.re.src_domain_root})` + n.re.src_port + n.re.src_host_terminator + n.re.src_path,
2626
+ "i"
2627
+ )), n.re.no_http.test(t) ? e >= 3 && u[e - 3] === ":" || e >= 3 && u[e - 3] === "/" ? 0 : t.match(n.re.no_http)[0].length : 0;
2628
+ }
2629
+ },
2630
+ "mailto:": {
2631
+ validate: function(u, e, n) {
2632
+ const t = u.slice(e);
2633
+ return n.re.mailto || (n.re.mailto = new RegExp(
2634
+ `^${n.re.src_email_name}@${n.re.src_host_strict}`,
2635
+ "i"
2636
+ )), n.re.mailto.test(t) ? t.match(n.re.mailto)[0].length : 0;
2637
+ }
2638
+ }
2639
+ }, cr = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", or = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
2640
+ function ir(u) {
2641
+ return function(e, n) {
2642
+ const t = e.slice(n);
2643
+ return u.test(t) ? t.match(u)[0].length : 0;
2644
+ };
2645
+ }
2646
+ function Yu() {
2647
+ return function(u, e) {
2648
+ e.normalize(u);
2649
+ };
2650
+ }
2651
+ function su(u) {
2652
+ const e = u.re = Kn(u.__opts__), n = u.__tlds__.slice();
2653
+ u.onCompile(), u.__tlds_replaced__ || n.push(cr), n.push(e.src_xn), e.src_tlds = n.join("|");
2654
+ function t(o) {
2655
+ return o.replace("%TLDS%", e.src_tlds);
2656
+ }
2657
+ e.email_fuzzy = RegExp(t(e.tpl_email_fuzzy), "i"), e.email_fuzzy_global = RegExp(t(e.tpl_email_fuzzy), "ig"), e.link_fuzzy = RegExp(t(e.tpl_link_fuzzy), "i"), e.link_fuzzy_global = RegExp(t(e.tpl_link_fuzzy), "ig"), e.link_no_ip_fuzzy = RegExp(t(e.tpl_link_no_ip_fuzzy), "i"), e.link_no_ip_fuzzy_global = RegExp(t(e.tpl_link_no_ip_fuzzy), "ig"), e.host_fuzzy_test = RegExp(t(e.tpl_host_fuzzy_test), "i");
2658
+ const c = [];
2659
+ u.__compiled__ = {};
2660
+ function r(o, a) {
2661
+ throw new Error(`(LinkifyIt) Invalid schema "${o}": ${a}`);
2662
+ }
2663
+ Object.keys(u.__schemas__).forEach(function(o) {
2664
+ const a = u.__schemas__[o];
2665
+ if (a === null)
2666
+ return;
2667
+ const s = { validate: null, link: null };
2668
+ if (u.__compiled__[o] = s, ur(a)) {
2669
+ er(a.validate) ? s.validate = ir(a.validate) : Ku(a.validate) ? s.validate = a.validate : r(o, a), Ku(a.normalize) ? s.normalize = a.normalize : a.normalize ? r(o, a) : s.normalize = Yu();
2670
+ return;
2671
+ }
2672
+ if (Yn(a)) {
2673
+ c.push(o);
2674
+ return;
2675
+ }
2676
+ r(o, a);
2677
+ }), c.forEach(function(o) {
2678
+ u.__compiled__[u.__schemas__[o]] && (u.__compiled__[o].validate = u.__compiled__[u.__schemas__[o]].validate, u.__compiled__[o].normalize = u.__compiled__[u.__schemas__[o]].normalize);
2679
+ }), u.__compiled__[""] = { validate: null, normalize: Yu() };
2680
+ const i = Object.keys(u.__compiled__).filter(function(o) {
2681
+ return o.length > 0 && u.__compiled__[o];
2682
+ }).map(nr).join("|");
2683
+ u.re.schema_test = RegExp(`(^|(?!_)(?:[><|]|${e.src_ZPCc}))(${i})`, "i"), u.re.schema_search = RegExp(`(^|(?!_)(?:[><|]|${e.src_ZPCc}))(${i})`, "ig"), u.re.schema_at_start = RegExp(`^${u.re.schema_search.source}`, "i"), u.re.pretest = RegExp(
2684
+ `(${u.re.schema_test.source})|(${u.re.host_fuzzy_test.source})|@`,
2685
+ "i"
2686
+ );
2687
+ }
2688
+ function k0(u, e, n, t) {
2689
+ const c = u.slice(n, t);
2690
+ this.schema = e.toLowerCase(), this.index = n, this.lastIndex = t, this.raw = c, this.text = c, this.url = c;
2691
+ }
2692
+ function S(u, e) {
2693
+ if (!(this instanceof S))
2694
+ return new S(u, e);
2695
+ e || rr(u) && (e = u, u = {}), this.__opts__ = Au({}, _0, e), this.__schemas__ = Au({}, tr, u), this.__compiled__ = {}, this.__tlds__ = or, this.__tlds_replaced__ = !1, this.re = {}, su(this);
2696
+ }
2697
+ S.prototype.add = function(e, n) {
2698
+ return this.__schemas__[e] = n, su(this), this;
2699
+ };
2700
+ S.prototype.set = function(e) {
2701
+ return this.__opts__ = Au(this.__opts__, e), this;
2702
+ };
2703
+ S.prototype.test = function(e) {
2704
+ if (!e.length)
2705
+ return !1;
2706
+ let n, t;
2707
+ if (this.re.schema_test.test(e)) {
2708
+ for (t = this.re.schema_search, t.lastIndex = 0; (n = t.exec(e)) !== null; )
2709
+ if (this.testSchemaAt(e, n[2], t.lastIndex))
2710
+ return !0;
2711
+ }
2712
+ return !!(this.__opts__.fuzzyLink && this.__compiled__["http:"] && e.search(this.re.host_fuzzy_test) >= 0 && e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy) !== null || this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && e.indexOf("@") >= 0 && e.match(this.re.email_fuzzy) !== null);
2713
+ };
2714
+ S.prototype.pretest = function(e) {
2715
+ return this.re.pretest.test(e);
2716
+ };
2717
+ S.prototype.testSchemaAt = function(e, n, t) {
2718
+ return this.__compiled__[n.toLowerCase()] ? this.__compiled__[n.toLowerCase()].validate(e, t, this) : 0;
2719
+ };
2720
+ S.prototype.match = function(e) {
2721
+ const n = [], t = [], c = [], r = [];
2722
+ let i, o, a;
2723
+ function s(b, h) {
2724
+ return b ? h ? b.index !== h.index ? b.index < h.index ? b : h : b.lastIndex >= h.lastIndex ? b : h : b : h;
2725
+ }
2726
+ if (!e.length)
2727
+ return null;
2728
+ if (this.re.schema_test.test(e))
2729
+ for (a = this.re.schema_search, a.lastIndex = 0; (i = a.exec(e)) !== null; )
2730
+ o = this.testSchemaAt(e, i[2], a.lastIndex), o && t.push({
2731
+ schema: i[2],
2732
+ index: i.index + i[1].length,
2733
+ lastIndex: i.index + i[0].length + o
2734
+ });
2735
+ if (this.__opts__.fuzzyLink && this.__compiled__["http:"])
2736
+ for (a = this.__opts__.fuzzyIP ? this.re.link_fuzzy_global : this.re.link_no_ip_fuzzy_global, a.lastIndex = 0; (i = a.exec(e)) !== null; )
2737
+ c.push({
2738
+ schema: "",
2739
+ index: i.index + i[1].length,
2740
+ lastIndex: i.index + i[0].length
2741
+ });
2742
+ if (this.__opts__.fuzzyEmail && this.__compiled__["mailto:"])
2743
+ for (a = this.re.email_fuzzy_global, a.lastIndex = 0; (i = a.exec(e)) !== null; )
2744
+ r.push({
2745
+ schema: "mailto:",
2746
+ index: i.index + i[1].length,
2747
+ lastIndex: i.index + i[0].length
2748
+ });
2749
+ const f = [0, 0, 0];
2750
+ let l = 0;
2751
+ for (; ; ) {
2752
+ const b = [
2753
+ t[f[0]],
2754
+ r[f[1]],
2755
+ c[f[2]]
2756
+ ], h = s(s(b[0], b[1]), b[2]);
2757
+ if (!h)
2758
+ break;
2759
+ if (h === b[0] ? f[0]++ : h === b[1] ? f[1]++ : f[2]++, h.index < l)
2760
+ continue;
2761
+ const d = new k0(e, h.schema, h.index, h.lastIndex);
2762
+ this.__compiled__[d.schema].normalize(d, this), n.push(d), l = h.lastIndex;
2763
+ }
2764
+ return n.length ? n : null;
2765
+ };
2766
+ S.prototype.matchAtStart = function(e) {
2767
+ if (!e.length) return null;
2768
+ const n = this.re.schema_at_start.exec(e);
2769
+ if (!n) return null;
2770
+ const t = this.testSchemaAt(e, n[2], n[0].length);
2771
+ if (!t) return null;
2772
+ const c = new k0(e, n[2], n.index + n[1].length, n.index + n[0].length + t);
2773
+ return this.__compiled__[c.schema].normalize(c, this), c;
2774
+ };
2775
+ S.prototype.tlds = function(e, n) {
2776
+ return e = Array.isArray(e) ? e : [e], n ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(t, c, r) {
2777
+ return t !== r[c - 1];
2778
+ }).reverse(), su(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, su(this), this);
2779
+ };
2780
+ S.prototype.normalize = function(e) {
2781
+ e.schema || (e.url = `http://${e.url}`), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = `mailto:${e.url}`);
2782
+ };
2783
+ S.prototype.onCompile = function() {
2784
+ };
2785
+ const Z = 2147483647, $ = 36, Iu = 1, eu = 26, ar = 38, sr = 700, g0 = 72, C0 = 128, D0 = "-", fr = /^xn--/, lr = /[^\0-\x7F]/, dr = /[\x2E\u3002\uFF0E\uFF61]/g, hr = {
2786
+ overflow: "Overflow: input needs wider integers to process",
2787
+ "not-basic": "Illegal input >= 0x80 (not a basic code point)",
2788
+ "invalid-input": "Invalid input"
2789
+ }, Du = $ - Iu, I = Math.floor, Eu = String.fromCharCode;
2790
+ function L(u) {
2791
+ throw new RangeError(hr[u]);
2792
+ }
2793
+ function br(u, e) {
2794
+ const n = [];
2795
+ let t = u.length;
2796
+ for (; t--; )
2797
+ n[t] = e(u[t]);
2798
+ return n;
2799
+ }
2800
+ function E0(u, e) {
2801
+ const n = u.split("@");
2802
+ let t = "";
2803
+ n.length > 1 && (t = n[0] + "@", u = n[1]), u = u.replace(dr, ".");
2804
+ const c = u.split("."), r = br(c, e).join(".");
2805
+ return t + r;
2806
+ }
2807
+ function y0(u) {
2808
+ const e = [];
2809
+ let n = 0;
2810
+ const t = u.length;
2811
+ for (; n < t; ) {
2812
+ const c = u.charCodeAt(n++);
2813
+ if (c >= 55296 && c <= 56319 && n < t) {
2814
+ const r = u.charCodeAt(n++);
2815
+ (r & 64512) == 56320 ? e.push(((c & 1023) << 10) + (r & 1023) + 65536) : (e.push(c), n--);
2816
+ } else
2817
+ e.push(c);
2818
+ }
2819
+ return e;
2820
+ }
2821
+ const pr = (u) => String.fromCodePoint(...u), xr = function(u) {
2822
+ return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : $;
2823
+ }, u0 = function(u, e) {
2824
+ return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
2825
+ }, F0 = function(u, e, n) {
2826
+ let t = 0;
2827
+ for (u = n ? I(u / sr) : u >> 1, u += I(u / e); u > Du * eu >> 1; t += $)
2828
+ u = I(u / Du);
2829
+ return I(t + (Du + 1) * u / (u + ar));
2830
+ }, A0 = function(u) {
2831
+ const e = [], n = u.length;
2832
+ let t = 0, c = C0, r = g0, i = u.lastIndexOf(D0);
2833
+ i < 0 && (i = 0);
2834
+ for (let o = 0; o < i; ++o)
2835
+ u.charCodeAt(o) >= 128 && L("not-basic"), e.push(u.charCodeAt(o));
2836
+ for (let o = i > 0 ? i + 1 : 0; o < n; ) {
2837
+ const a = t;
2838
+ for (let f = 1, l = $; ; l += $) {
2839
+ o >= n && L("invalid-input");
2840
+ const b = xr(u.charCodeAt(o++));
2841
+ b >= $ && L("invalid-input"), b > I((Z - t) / f) && L("overflow"), t += b * f;
2842
+ const h = l <= r ? Iu : l >= r + eu ? eu : l - r;
2843
+ if (b < h)
2844
+ break;
2845
+ const d = $ - h;
2846
+ f > I(Z / d) && L("overflow"), f *= d;
2847
+ }
2848
+ const s = e.length + 1;
2849
+ r = F0(t - a, s, a == 0), I(t / s) > Z - c && L("overflow"), c += I(t / s), t %= s, e.splice(t++, 0, c);
2850
+ }
2851
+ return String.fromCodePoint(...e);
2852
+ }, w0 = function(u) {
2853
+ const e = [];
2854
+ u = y0(u);
2855
+ const n = u.length;
2856
+ let t = C0, c = 0, r = g0;
2857
+ for (const a of u)
2858
+ a < 128 && e.push(Eu(a));
2859
+ const i = e.length;
2860
+ let o = i;
2861
+ for (i && e.push(D0); o < n; ) {
2862
+ let a = Z;
2863
+ for (const f of u)
2864
+ f >= t && f < a && (a = f);
2865
+ const s = o + 1;
2866
+ a - t > I((Z - c) / s) && L("overflow"), c += (a - t) * s, t = a;
2867
+ for (const f of u)
2868
+ if (f < t && ++c > Z && L("overflow"), f === t) {
2869
+ let l = c;
2870
+ for (let b = $; ; b += $) {
2871
+ const h = b <= r ? Iu : b >= r + eu ? eu : b - r;
2872
+ if (l < h)
2873
+ break;
2874
+ const d = l - h, p = $ - h;
2875
+ e.push(
2876
+ Eu(u0(h + d % p, 0))
2877
+ ), l = I(d / p);
2878
+ }
2879
+ e.push(Eu(u0(l, 0))), r = F0(c, s, o === i), c = 0, ++o;
2880
+ }
2881
+ ++c, ++t;
2882
+ }
2883
+ return e.join("");
2884
+ }, mr = function(u) {
2885
+ return E0(u, function(e) {
2886
+ return fr.test(e) ? A0(e.slice(4).toLowerCase()) : e;
2887
+ });
2888
+ }, _r = function(u) {
2889
+ return E0(u, function(e) {
2890
+ return lr.test(e) ? "xn--" + w0(e) : e;
2891
+ });
2892
+ }, v0 = {
2893
+ /**
2894
+ * A string representing the current Punycode.js version number.
2895
+ * @memberOf punycode
2896
+ * @type String
2897
+ */
2898
+ version: "2.3.1",
2899
+ /**
2900
+ * An object of methods to convert from JavaScript's internal character
2901
+ * representation (UCS-2) to Unicode code points, and back.
2902
+ * @see <https://mathiasbynens.be/notes/javascript-encoding>
2903
+ * @memberOf punycode
2904
+ * @type Object
2905
+ */
2906
+ ucs2: {
2907
+ decode: y0,
2908
+ encode: pr
2909
+ },
2910
+ decode: A0,
2911
+ encode: w0,
2912
+ toASCII: _r,
2913
+ toUnicode: mr
2914
+ }, kr = {
2915
+ options: {
2916
+ // Enable HTML tags in source
2917
+ html: !1,
2918
+ // Use '/' to close single tags (<br />)
2919
+ xhtmlOut: !1,
2920
+ // Convert '\n' in paragraphs into <br>
2921
+ breaks: !1,
2922
+ // CSS language prefix for fenced blocks
2923
+ langPrefix: "language-",
2924
+ // autoconvert URL-like texts to links
2925
+ linkify: !1,
2926
+ // Enable some language-neutral replacements + quotes beautification
2927
+ typographer: !1,
2928
+ // Double + single quotes replacement pairs, when typographer enabled,
2929
+ // and smartquotes on. Could be either a String or an Array.
2930
+ //
2931
+ // For example, you can use '«»„“' for Russian, '„“‚‘' for German,
2932
+ // and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp).
2933
+ quotes: "“”‘’",
2934
+ /* “”‘’ */
2935
+ // Highlighter function. Should return escaped HTML,
2936
+ // or '' if the source string is not changed and should be escaped externaly.
2937
+ // If result starts with <pre... internal wrapper is skipped.
2938
+ //
2939
+ // function (/*str, lang*/) { return ''; }
2940
+ //
2941
+ highlight: null,
2942
+ // Internal protection, recursion limit
2943
+ maxNesting: 100
2944
+ },
2945
+ components: {
2946
+ core: {},
2947
+ block: {},
2948
+ inline: {}
2949
+ }
2950
+ }, gr = {
2951
+ options: {
2952
+ // Enable HTML tags in source
2953
+ html: !1,
2954
+ // Use '/' to close single tags (<br />)
2955
+ xhtmlOut: !1,
2956
+ // Convert '\n' in paragraphs into <br>
2957
+ breaks: !1,
2958
+ // CSS language prefix for fenced blocks
2959
+ langPrefix: "language-",
2960
+ // autoconvert URL-like texts to links
2961
+ linkify: !1,
2962
+ // Enable some language-neutral replacements + quotes beautification
2963
+ typographer: !1,
2964
+ // Double + single quotes replacement pairs, when typographer enabled,
2965
+ // and smartquotes on. Could be either a String or an Array.
2966
+ //
2967
+ // For example, you can use '«»„“' for Russian, '„“‚‘' for German,
2968
+ // and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp).
2969
+ quotes: "“”‘’",
2970
+ /* “”‘’ */
2971
+ // Highlighter function. Should return escaped HTML,
2972
+ // or '' if the source string is not changed and should be escaped externaly.
2973
+ // If result starts with <pre... internal wrapper is skipped.
2974
+ //
2975
+ // function (/*str, lang*/) { return ''; }
2976
+ //
2977
+ highlight: null,
2978
+ // Internal protection, recursion limit
2979
+ maxNesting: 20
2980
+ },
2981
+ components: {
2982
+ core: {
2983
+ rules: [
2984
+ "normalize",
2985
+ "block",
2986
+ "inline",
2987
+ "text_join"
2988
+ ]
2989
+ },
2990
+ block: {
2991
+ rules: [
2992
+ "paragraph"
2993
+ ]
2994
+ },
2995
+ inline: {
2996
+ rules: [
2997
+ "text"
2998
+ ],
2999
+ rules2: [
3000
+ "balance_pairs",
3001
+ "fragments_join"
3002
+ ]
3003
+ }
3004
+ }
3005
+ }, Cr = {
3006
+ options: {
3007
+ // Enable HTML tags in source
3008
+ html: !0,
3009
+ // Use '/' to close single tags (<br />)
3010
+ xhtmlOut: !0,
3011
+ // Convert '\n' in paragraphs into <br>
3012
+ breaks: !1,
3013
+ // CSS language prefix for fenced blocks
3014
+ langPrefix: "language-",
3015
+ // autoconvert URL-like texts to links
3016
+ linkify: !1,
3017
+ // Enable some language-neutral replacements + quotes beautification
3018
+ typographer: !1,
3019
+ // Double + single quotes replacement pairs, when typographer enabled,
3020
+ // and smartquotes on. Could be either a String or an Array.
3021
+ //
3022
+ // For example, you can use '«»„“' for Russian, '„“‚‘' for German,
3023
+ // and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp).
3024
+ quotes: "“”‘’",
3025
+ /* “”‘’ */
3026
+ // Highlighter function. Should return escaped HTML,
3027
+ // or '' if the source string is not changed and should be escaped externaly.
3028
+ // If result starts with <pre... internal wrapper is skipped.
3029
+ //
3030
+ // function (/*str, lang*/) { return ''; }
3031
+ //
3032
+ highlight: null,
3033
+ // Internal protection, recursion limit
3034
+ maxNesting: 20
3035
+ },
3036
+ components: {
3037
+ core: {
3038
+ rules: [
3039
+ "normalize",
3040
+ "block",
3041
+ "inline",
3042
+ "text_join"
3043
+ ]
3044
+ },
3045
+ block: {
3046
+ rules: [
3047
+ "blockquote",
3048
+ "code",
3049
+ "fence",
3050
+ "heading",
3051
+ "hr",
3052
+ "html_block",
3053
+ "lheading",
3054
+ "list",
3055
+ "reference",
3056
+ "paragraph"
3057
+ ]
3058
+ },
3059
+ inline: {
3060
+ rules: [
3061
+ "autolink",
3062
+ "backticks",
3063
+ "emphasis",
3064
+ "entity",
3065
+ "escape",
3066
+ "html_inline",
3067
+ "image",
3068
+ "link",
3069
+ "newline",
3070
+ "text"
3071
+ ],
3072
+ rules2: [
3073
+ "balance_pairs",
3074
+ "emphasis",
3075
+ "fragments_join"
3076
+ ]
3077
+ }
3078
+ }
3079
+ }, Dr = {
3080
+ default: kr,
3081
+ zero: gr,
3082
+ commonmark: Cr
3083
+ }, Er = /^(vbscript|javascript|file|data):/, yr = /^data:image\/(gif|png|jpeg|webp);/;
3084
+ function Fr(u) {
3085
+ const e = u.trim().toLowerCase();
3086
+ return Er.test(e) ? yr.test(e) : !0;
3087
+ }
3088
+ const S0 = ["http:", "https:", "mailto:"];
3089
+ function Ar(u) {
3090
+ const e = vu(u, !0);
3091
+ if (e.hostname && (!e.protocol || S0.indexOf(e.protocol) >= 0))
3092
+ try {
3093
+ e.hostname = v0.toASCII(e.hostname);
3094
+ } catch {
3095
+ }
3096
+ return nu(wu(e));
3097
+ }
3098
+ function wr(u) {
3099
+ const e = vu(u, !0);
3100
+ if (e.hostname && (!e.protocol || S0.indexOf(e.protocol) >= 0))
3101
+ try {
3102
+ e.hostname = v0.toUnicode(e.hostname);
3103
+ } catch {
3104
+ }
3105
+ return G(wu(e), G.defaultChars + "%");
3106
+ }
3107
+ function z(u, e) {
3108
+ if (!(this instanceof z))
3109
+ return new z(u, e);
3110
+ e || zu(u) || (e = u || {}, u = "default"), this.inline = new tu(), this.block = new hu(), this.core = new Bu(), this.renderer = new W(), this.linkify = new S(), this.validateLink = Fr, this.normalizeLink = Ar, this.normalizeLinkText = wr, this.utils = Se, this.helpers = fu({}, $e), this.options = {}, this.configure(u), e && this.set(e);
3111
+ }
3112
+ z.prototype.set = function(u) {
3113
+ return fu(this.options, u), this;
3114
+ };
3115
+ z.prototype.configure = function(u) {
3116
+ const e = this;
3117
+ if (zu(u)) {
3118
+ const n = u;
3119
+ if (u = Dr[n], !u)
3120
+ throw new Error('Wrong `markdown-it` preset "' + n + '", check name');
3121
+ }
3122
+ if (!u)
3123
+ throw new Error("Wrong `markdown-it` preset, can't be empty");
3124
+ return u.options && e.set(u.options), u.components && Object.keys(u.components).forEach(function(n) {
3125
+ u.components[n].rules && e[n].ruler.enableOnly(u.components[n].rules), u.components[n].rules2 && e[n].ruler2.enableOnly(u.components[n].rules2);
3126
+ }), this;
3127
+ };
3128
+ z.prototype.enable = function(u, e) {
3129
+ let n = [];
3130
+ Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(c) {
3131
+ n = n.concat(this[c].ruler.enable(u, !0));
3132
+ }, this), n = n.concat(this.inline.ruler2.enable(u, !0));
3133
+ const t = u.filter(function(c) {
3134
+ return n.indexOf(c) < 0;
3135
+ });
3136
+ if (t.length && !e)
3137
+ throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + t);
3138
+ return this;
3139
+ };
3140
+ z.prototype.disable = function(u, e) {
3141
+ let n = [];
3142
+ Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(c) {
3143
+ n = n.concat(this[c].ruler.disable(u, !0));
3144
+ }, this), n = n.concat(this.inline.ruler2.disable(u, !0));
3145
+ const t = u.filter(function(c) {
3146
+ return n.indexOf(c) < 0;
3147
+ });
3148
+ if (t.length && !e)
3149
+ throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + t);
3150
+ return this;
3151
+ };
3152
+ z.prototype.use = function(u) {
3153
+ const e = [this].concat(Array.prototype.slice.call(arguments, 1));
3154
+ return u.apply(u, e), this;
3155
+ };
3156
+ z.prototype.parse = function(u, e) {
3157
+ if (typeof u != "string")
3158
+ throw new Error("Input data should be a String");
3159
+ const n = new this.core.State(u, this, e);
3160
+ return this.core.process(n), n.tokens;
3161
+ };
3162
+ z.prototype.render = function(u, e) {
3163
+ return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
3164
+ };
3165
+ z.prototype.parseInline = function(u, e) {
3166
+ const n = new this.core.State(u, this, e);
3167
+ return n.inlineMode = !0, this.core.process(n), n.tokens;
3168
+ };
3169
+ z.prototype.renderInline = function(u, e) {
3170
+ return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
3171
+ };
3172
+ const iu = /* @__PURE__ */ Symbol("markdown-it-deflist.ddDepth");
3173
+ function vr(u) {
3174
+ const e = u.utils.isSpace;
3175
+ function n(r, i) {
3176
+ let o = r.bMarks[i] + r.tShift[i];
3177
+ const a = r.eMarks[i];
3178
+ if (o >= a || r.sCount[i] - r.blkIndent >= 4)
3179
+ return -1;
3180
+ const s = r.src.charCodeAt(o++);
3181
+ if (s !== 126 && s !== 58)
3182
+ return -1;
3183
+ const f = r.skipSpaces(o);
3184
+ return o < a && o === f ? -1 : o;
3185
+ }
3186
+ function t(r, i, o, a) {
3187
+ let s = -1;
3188
+ for (let f = i; f < o; f++) {
3189
+ const l = r.tokens[f];
3190
+ if (!(l.level !== a || !l.block || l.nesting < 0)) {
3191
+ if (s >= 0)
3192
+ return;
3193
+ s = f;
3194
+ }
3195
+ }
3196
+ s < 0 || r.tokens[s].type !== "paragraph_open" || (r.tokens[s + 2].hidden = !0, r.tokens[s].hidden = !0);
3197
+ }
3198
+ function c(r, i, o, a) {
3199
+ if (a)
3200
+ return r.env[iu] ? n(r, i) >= 0 && r.sCount[i] < r.blkIndent : !1;
3201
+ let s = i + 1;
3202
+ if (s >= o)
3203
+ return !1;
3204
+ let f = !0;
3205
+ if (r.isEmpty(s) && (s++, f = !1, s >= o) || r.sCount[s] < r.blkIndent)
3206
+ return !1;
3207
+ let l = n(r, s);
3208
+ if (l < 0)
3209
+ return !1;
3210
+ const b = r.push("dl_open", "dl", 1), h = [i, 0];
3211
+ b.map = h;
3212
+ let d = i, p = s;
3213
+ u:
3214
+ for (; ; ) {
3215
+ const x = r.push("dt_open", "dt", 1);
3216
+ x.map = [d, d];
3217
+ const D = r.push("inline", "", 0);
3218
+ for (D.map = [d, d], D.content = r.getLines(d, d + 1, r.blkIndent, !1).trim(), D.children = [], r.push("dt_close", "dt", -1); ; ) {
3219
+ const _ = r.tokens.length, k = r.push("dd_open", "dd", 1), g = [s, 0];
3220
+ k.map = g;
3221
+ let C = l;
3222
+ const y = r.eMarks[p];
3223
+ let w = r.sCount[p] + l - (r.bMarks[p] + r.tShift[p]);
3224
+ for (; C < y; ) {
3225
+ const Q = r.src.charCodeAt(C);
3226
+ if (e(Q))
3227
+ Q === 9 ? w += 4 - w % 4 : w++;
3228
+ else
3229
+ break;
3230
+ C++;
3231
+ }
3232
+ l = C;
3233
+ const B = r.tight, j = r.blkIndent, J = r.tShift[p], pu = r.sCount[p], xu = r.parentType;
3234
+ if (r.blkIndent = r.sCount[p] + 2, r.tShift[p] = l - r.bMarks[p], r.sCount[p] = w, r.tight = !0, r.parentType = "deflist", r.env[iu] = (r.env[iu] || 0) + 1, r.md.block.tokenize(r, p, o, !0), r.env[iu]--, f && t(r, _, r.tokens.length, k.level + 1), r.tShift[p] = J, r.sCount[p] = pu, r.tight = B, r.parentType = xu, r.blkIndent = j, r.push("dd_close", "dd", -1), g[1] = s = r.line, s >= o || r.sCount[s] < r.blkIndent)
3235
+ break u;
3236
+ if (l = n(r, s), l < 0)
3237
+ break;
3238
+ p = s;
3239
+ }
3240
+ if (s >= o || (d = s, r.isEmpty(d)) || r.sCount[d] < r.blkIndent || (p = d + 1, p >= o))
3241
+ break;
3242
+ const m = r.isEmpty(p);
3243
+ if (m && p++, p >= o || r.sCount[p] < r.blkIndent || (l = n(r, p), l < 0))
3244
+ break;
3245
+ f = !m;
3246
+ }
3247
+ return r.push("dl_close", "dl", -1), h[1] = s, r.line = s, !0;
3248
+ }
3249
+ u.block.ruler.before("paragraph", "deflist", c, { alt: ["paragraph", "reference", "blockquote"] });
3250
+ }
3251
+ function Sr(u) {
3252
+ function e(t, c) {
3253
+ const r = t.pos, i = t.src.charCodeAt(r);
3254
+ if (c || i !== 43)
3255
+ return !1;
3256
+ const o = t.scanDelims(t.pos, !0);
3257
+ let a = o.length;
3258
+ const s = String.fromCharCode(i);
3259
+ if (a < 2)
3260
+ return !1;
3261
+ if (a % 2) {
3262
+ const f = t.push("text", "", 0);
3263
+ f.content = s, a--;
3264
+ }
3265
+ for (let f = 0; f < a; f += 2) {
3266
+ const l = t.push("text", "", 0);
3267
+ l.content = s + s, !(!o.can_open && !o.can_close) && t.delimiters.push({
3268
+ marker: i,
3269
+ length: 0,
3270
+ // disable "rule of 3" length checks meant for emphasis
3271
+ jump: f / 2,
3272
+ // 1 delimiter = 2 characters
3273
+ token: t.tokens.length - 1,
3274
+ end: -1,
3275
+ open: o.can_open,
3276
+ close: o.can_close
3277
+ });
3278
+ }
3279
+ return t.pos += o.length, !0;
3280
+ }
3281
+ function n(t, c) {
3282
+ let r;
3283
+ const i = [], o = c.length;
3284
+ for (let a = 0; a < o; a++) {
3285
+ const s = c[a];
3286
+ if (s.marker !== 43 || s.end === -1)
3287
+ continue;
3288
+ const f = c[s.end];
3289
+ r = t.tokens[s.token], r.type = "ins_open", r.tag = "ins", r.nesting = 1, r.markup = "++", r.content = "", r = t.tokens[f.token], r.type = "ins_close", r.tag = "ins", r.nesting = -1, r.markup = "++", r.content = "", t.tokens[f.token - 1].type === "text" && t.tokens[f.token - 1].content === "+" && i.push(f.token - 1);
3290
+ }
3291
+ for (; i.length; ) {
3292
+ const a = i.pop();
3293
+ let s = a + 1;
3294
+ for (; s < t.tokens.length && t.tokens[s].type === "ins_close"; )
3295
+ s++;
3296
+ s--, a !== s && (r = t.tokens[s], t.tokens[s] = t.tokens[a], t.tokens[a] = r);
3297
+ }
3298
+ }
3299
+ u.inline.ruler.before("emphasis", "ins", e), u.inline.ruler2.before("emphasis", "ins", function(t) {
3300
+ const c = t.tokens_meta, r = (t.tokens_meta || []).length;
3301
+ n(t, t.delimiters);
3302
+ for (let i = 0; i < r; i++)
3303
+ c[i] && c[i].delimiters && n(t, c[i].delimiters);
3304
+ });
3305
+ }
3306
+ function zr(u) {
3307
+ function e(t, c) {
3308
+ const r = t.pos, i = t.src.charCodeAt(r);
3309
+ if (c || i !== 61)
3310
+ return !1;
3311
+ const o = t.scanDelims(t.pos, !0);
3312
+ let a = o.length;
3313
+ const s = String.fromCharCode(i);
3314
+ if (a < 2)
3315
+ return !1;
3316
+ if (a % 2) {
3317
+ const f = t.push("text", "", 0);
3318
+ f.content = s, a--;
3319
+ }
3320
+ for (let f = 0; f < a; f += 2) {
3321
+ const l = t.push("text", "", 0);
3322
+ l.content = s + s, !(!o.can_open && !o.can_close) && t.delimiters.push({
3323
+ marker: i,
3324
+ length: 0,
3325
+ // disable "rule of 3" length checks meant for emphasis
3326
+ jump: f / 2,
3327
+ // 1 delimiter = 2 characters
3328
+ token: t.tokens.length - 1,
3329
+ end: -1,
3330
+ open: o.can_open,
3331
+ close: o.can_close
3332
+ });
3333
+ }
3334
+ return t.pos += o.length, !0;
3335
+ }
3336
+ function n(t, c) {
3337
+ const r = [], i = c.length;
3338
+ for (let o = 0; o < i; o++) {
3339
+ const a = c[o];
3340
+ if (a.marker !== 61 || a.end === -1)
3341
+ continue;
3342
+ const s = c[a.end], f = t.tokens[a.token];
3343
+ f.type = "mark_open", f.tag = "mark", f.nesting = 1, f.markup = "==", f.content = "";
3344
+ const l = t.tokens[s.token];
3345
+ l.type = "mark_close", l.tag = "mark", l.nesting = -1, l.markup = "==", l.content = "", t.tokens[s.token - 1].type === "text" && t.tokens[s.token - 1].content === "=" && r.push(s.token - 1);
3346
+ }
3347
+ for (; r.length; ) {
3348
+ const o = r.pop();
3349
+ let a = o + 1;
3350
+ for (; a < t.tokens.length && t.tokens[a].type === "mark_close"; )
3351
+ a++;
3352
+ if (a--, o !== a) {
3353
+ const s = t.tokens[a];
3354
+ t.tokens[a] = t.tokens[o], t.tokens[o] = s;
3355
+ }
3356
+ }
3357
+ }
3358
+ u.inline.ruler.before("emphasis", "mark", e), u.inline.ruler2.before("emphasis", "mark", function(t) {
3359
+ let c;
3360
+ const r = t.tokens_meta, i = (t.tokens_meta || []).length;
3361
+ for (n(t, t.delimiters), c = 0; c < i; c++)
3362
+ r[c] && r[c].delimiters && n(t, r[c].delimiters);
3363
+ });
3364
+ }
3365
+ const Tr = /\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;
3366
+ function Br(u, e) {
3367
+ const n = u.posMax, t = u.pos;
3368
+ if (u.src.charCodeAt(t) !== 126 || e || t + 2 >= n)
3369
+ return !1;
3370
+ u.pos = t + 1;
3371
+ let c = !1;
3372
+ for (; u.pos < n; ) {
3373
+ if (u.src.charCodeAt(u.pos) === 126) {
3374
+ c = !0;
3375
+ break;
3376
+ }
3377
+ u.md.inline.skipToken(u);
3378
+ }
3379
+ if (!c || t + 1 === u.pos)
3380
+ return u.pos = t, !1;
3381
+ const r = u.src.slice(t + 1, u.pos);
3382
+ if (r.match(/(^|[^\\])(\\\\)*\s/))
3383
+ return u.pos = t, !1;
3384
+ u.posMax = u.pos, u.pos = t + 1;
3385
+ const i = u.push("sub_open", "sub", 1);
3386
+ i.markup = "~";
3387
+ const o = u.push("text", "", 0);
3388
+ o.content = r.replace(Tr, "$1");
3389
+ const a = u.push("sub_close", "sub", -1);
3390
+ return a.markup = "~", u.pos = u.posMax + 1, u.posMax = n, !0;
3391
+ }
3392
+ function $r(u) {
3393
+ u.inline.ruler.after("emphasis", "sub", Br);
3394
+ }
3395
+ const P = new z().utils.escapeHtml;
3396
+ function Ir(u) {
3397
+ u.inline.ruler.after("backticks", "inline_math", (e, n) => {
3398
+ if (e.src[e.pos] !== "$" || e.src[e.pos + 1] === "$" || n0(e.src, e.pos)) return !1;
3399
+ let t = e.pos + 1;
3400
+ for (; t < e.posMax; ) {
3401
+ if (t = e.src.indexOf("$", t), t < 0 || t >= e.posMax) return !1;
3402
+ if (!n0(e.src, t)) break;
3403
+ t += 1;
3404
+ }
3405
+ if (t <= e.pos + 1 || /\s/.test(e.src[e.pos + 1] ?? "") || /\s/.test(e.src[t - 1] ?? "")) return !1;
3406
+ if (!n) {
3407
+ const c = e.push("inline_math", "", 0);
3408
+ c.content = e.src.slice(e.pos + 1, t);
3409
+ }
3410
+ return e.pos = t + 1, !0;
3411
+ }), u.block.ruler.before("fence", "math_block", (e, n, t, c) => {
3412
+ const r = e.getLines(n, n + 1, 0, !1).trim();
3413
+ if (!r.startsWith("$$")) return !1;
3414
+ const i = r.match(/^\$\$\s*(.*?)\s*\$\$$/);
3415
+ if (i !== null) {
3416
+ if (!c) {
3417
+ const a = e.push("math_block", "", 0);
3418
+ a.content = i[1] ?? "";
3419
+ }
3420
+ return e.line = n + 1, !0;
3421
+ }
3422
+ if (r !== "$$") return !1;
3423
+ let o = n + 1;
3424
+ for (; o < t && e.getLines(o, o + 1, 0, !1).trim() !== "$$"; ) o += 1;
3425
+ if (o === t) return !1;
3426
+ if (!c) {
3427
+ const a = e.push("math_block", "", 0);
3428
+ a.content = e.getLines(n + 1, o, 0, !1).trim();
3429
+ }
3430
+ return e.line = o + 1, !0;
3431
+ });
3432
+ }
3433
+ function Mr(u) {
3434
+ u.block.ruler.before("fence", "yfm_html_block", (e, n, t, c) => {
3435
+ if (e.getLines(n, n + 1, 0, !1).trim() !== ":::html") return !1;
3436
+ let r = n + 1;
3437
+ for (; r < t && e.getLines(r, r + 1, 0, !1).trim() !== ":::"; ) r += 1;
3438
+ if (r === t) return !1;
3439
+ if (!c) {
3440
+ const i = e.push("yfm_html_block", "", 0);
3441
+ i.content = e.getLines(n + 1, r, 0, !1).trim();
3442
+ }
3443
+ return e.line = r + 1, !0;
3444
+ }), u.block.ruler.before("fence", "directive", (e, n, t, c) => {
3445
+ const i = e.getLines(n, n + 1, 0, !1).trim().match(/^:::\s*(\w+)\s*$/);
3446
+ if (i === null) return !1;
3447
+ let o = n + 1;
3448
+ for (; o < t && e.getLines(o, o + 1, 0, !1).trim() !== ":::"; ) o += 1;
3449
+ if (o === t) return !1;
3450
+ if (!c) {
3451
+ const a = e.push("directive", "", 0);
3452
+ a.info = i[1] ?? "note", a.content = e.getLines(n + 1, o, 0, !1).trim();
3453
+ }
3454
+ return e.line = o + 1, !0;
3455
+ });
3456
+ }
3457
+ function qr(u) {
3458
+ u.core.ruler.after("block", "mermaid_fences", (e) => {
3459
+ for (const n of e.tokens)
3460
+ n.type === "fence" && n.info.trim() === "mermaid" && (n.type = "mermaid");
3461
+ }), u.core.ruler.after("inline", "renderer_extensions", (e) => {
3462
+ for (let n = 0; n < e.tokens.length; n += 1) {
3463
+ const t = e.tokens[n], c = e.tokens[n + 1], r = e.tokens[n + 2];
3464
+ if (t?.type === "paragraph_open" && c?.type === "inline" && r?.type === "paragraph_close") {
3465
+ const o = c.content.match(/^(#{1,6})\+\s+(.+)$/);
3466
+ o !== null && (t.type = "heading_open", t.tag = `h${o[1]?.length ?? 1}`, t.attrSet("data-folding", "true"), c.content = o[2] ?? "", yu(e, c), r.type = "heading_close", r.tag = t.tag);
3467
+ }
3468
+ if (t?.type === "heading_open" && c?.type === "inline") {
3469
+ c.content.startsWith("+ ") && (c.content = c.content.slice(2), t.attrSet("data-folding", "true"), yu(e, c));
3470
+ const o = c.content.match(/\s+\{([^}]+)\}$/);
3471
+ if (o !== null) {
3472
+ c.content = c.content.slice(0, o.index), yu(e, c);
3473
+ for (const a of o[1]?.split(/\s+/) ?? [])
3474
+ a.startsWith("#") && t.attrSet("id", a.slice(1)), a.startsWith(".") && t.attrJoin("class", a.slice(1));
3475
+ }
3476
+ }
3477
+ const i = t?.children;
3478
+ i != null && Rr(i);
3479
+ }
3480
+ });
3481
+ }
3482
+ function yu(u, e) {
3483
+ const n = [];
3484
+ u.md.inline.parse(e.content, u.md, u.env, n), e.children = n;
3485
+ }
3486
+ function Rr(u) {
3487
+ for (let e = 0; e < u.length; e += 1) {
3488
+ const n = u[e], t = u[e + 1];
3489
+ if (n?.type === "image" && t?.type === "text") {
3490
+ const c = t.content.match(/^\{width=(\d+%?)(?:\s+height=(\d+))?(?:\s+object-fit=(contain|cover|fill|none|scale-down))?}/);
3491
+ c !== null && (n.attrSet("width", c[1] ?? ""), c[2] !== void 0 && n.attrSet("height", c[2]), c[3] !== void 0 && n.attrSet("data-image-object-fit", c[3]), t.content = t.content.slice(c[0].length));
3492
+ }
3493
+ if (n?.type === "link_close" && t?.type === "text") {
3494
+ const c = t.content.match(/^\s*\{target="_blank" rel="noopener noreferrer"}/);
3495
+ if (c !== null)
3496
+ for (let r = e - 1; r >= 0; r -= 1) {
3497
+ const i = u[r];
3498
+ if (i?.type === "link_open") {
3499
+ i.attrSet("target", "_blank"), i.attrSet("rel", "noopener noreferrer"), t.content = t.content.slice(c[0].length);
111
3500
  break;
112
3501
  }
113
3502
  }
114
3503
  }
115
3504
  }
116
3505
  }
117
- function K(n) {
118
- n.core.ruler.after("renderer_extensions", "quote_links", (e) => {
119
- for (let r = 0; r < e.tokens.length; r += 1) {
120
- const i = e.tokens[r], t = e.tokens[r + 1], o = e.tokens[r + 2], s = e.tokens[r + 3];
121
- if (i?.type !== "blockquote_open" || t?.type !== "paragraph_open" || o?.type !== "inline" || s?.type !== "paragraph_close") continue;
122
- const c = o.content.match(/^\[([^\]]+)]\(([^)]+)\)\{data-quotelink=true}$/);
123
- c === null || e.tokens.findIndex((f, d) => d > r && f.type === "blockquote_close") < 0 || (i.attrSet("cite", c[2] ?? ""), i.attrSet("data-content", c[1] ?? ""), i.attrSet("data-quote-link", ""), e.tokens.splice(r + 1, 3));
3506
+ function Pr(u) {
3507
+ u.core.ruler.after("renderer_extensions", "quote_links", (e) => {
3508
+ for (let n = 0; n < e.tokens.length; n += 1) {
3509
+ const t = e.tokens[n], c = e.tokens[n + 1], r = e.tokens[n + 2], i = e.tokens[n + 3];
3510
+ if (t?.type !== "blockquote_open" || c?.type !== "paragraph_open" || r?.type !== "inline" || i?.type !== "paragraph_close") continue;
3511
+ const o = r.content.match(/^\[([^\]]+)]\(([^)]+)\)\{data-quotelink=true}$/);
3512
+ o === null || e.tokens.findIndex((s, f) => f > n && s.type === "blockquote_close") < 0 || (t.attrSet("cite", o[2] ?? ""), t.attrSet("data-content", o[1] ?? ""), t.attrSet("data-quote-link", ""), e.tokens.splice(n + 1, 3));
124
3513
  }
125
3514
  });
126
3515
  }
127
- function N(n) {
128
- n.renderer.rules.inline_math = (t, o) => v(t[o]?.content ?? "", !1), n.renderer.rules.math_block = (t, o) => v(t[o]?.content ?? "", !0), n.renderer.rules.mermaid = (t, o) => `<div data-mermaid aria-busy="true"><pre>${h(t[o]?.content ?? "")}</pre></div>
129
- `, n.renderer.rules.yfm_html_block = (t, o) => `<p data-yfm-html>:::html<br>${h(t[o]?.content ?? "")}<br>:::</p>
130
- `, n.renderer.rules.directive = (t, o) => {
131
- const s = t[o];
132
- return s?.info === "html" ? `${s.content}
133
- ` : `<div data-directive="${h(s?.info || "note")}">${h(s?.content ?? "")}</div>
3516
+ function Lr(u) {
3517
+ u.renderer.rules.inline_math = (c, r, i, o) => e0(c[r]?.content ?? "", !1, o.features), u.renderer.rules.math_block = (c, r, i, o) => e0(c[r]?.content ?? "", !0, o.features), u.renderer.rules.mermaid = (c, r) => `<div data-mermaid aria-busy="true"><pre>${P(c[r]?.content ?? "")}</pre></div>
3518
+ `, u.renderer.rules.yfm_html_block = (c, r) => `<p data-yfm-html>:::html<br>${P(c[r]?.content ?? "")}<br>:::</p>
3519
+ `, u.renderer.rules.directive = (c, r) => {
3520
+ const i = c[r];
3521
+ return i?.info === "html" ? `${i.content}
3522
+ ` : `<div data-directive="${P(i?.info || "note")}">${P(i?.content ?? "")}</div>
134
3523
  `;
135
- }, n.renderer.rules.html_block = (t, o) => `<div data-raw-html>${h(t[o]?.content ?? "")}</div>
136
- `, n.renderer.rules.html_inline = (t, o) => Q(t[o]?.content ?? "");
137
- const e = n.renderer.rules.image;
138
- n.renderer.rules.image = (t, o, s, c, l) => {
139
- const f = t[o], d = f?.attrGet("width"), a = f?.attrGet("height"), u = f?.attrGet("data-image-object-fit"), m = [];
140
- return d != null && /^\d+%?$/.test(d) && m.push(`width: ${d.endsWith("%") ? d : `${d}px`}`), a != null && /^\d+$/.test(a) && m.push(`height: ${a}px`), u != null && m.push(`object-fit: ${u}`), m.length > 0 && f?.attrSet("style", m.join("; ")), e?.(t, o, s, c, l) ?? l.renderToken(t, o, s);
3524
+ }, u.renderer.rules.html_block = (c, r) => `<div data-raw-html>${P(c[r]?.content ?? "")}</div>
3525
+ `, u.renderer.rules.html_inline = (c, r) => Or(c[r]?.content ?? "");
3526
+ const e = u.renderer.rules.image;
3527
+ u.renderer.rules.image = (c, r, i, o, a) => {
3528
+ const s = c[r], f = s?.attrGet("width"), l = s?.attrGet("height"), b = s?.attrGet("data-image-object-fit"), h = [];
3529
+ return f != null && /^\d+%?$/.test(f) && h.push(`width: ${f.endsWith("%") ? f : `${f}px`}`), l != null && /^\d+$/.test(l) && h.push(`height: ${l}px`), b != null && h.push(`object-fit: ${b}`), h.length > 0 && s?.attrSet("style", h.join("; ")), e?.(c, r, i, o, a) ?? a.renderToken(c, r, i);
141
3530
  };
142
- const r = n.renderer.rules.heading_open ?? ((t, o, s, c, l) => l.renderToken(t, o, s)), i = n.renderer.rules.heading_close ?? ((t, o, s, c, l) => l.renderToken(t, o, s));
143
- n.renderer.rules.heading_open = (t, o, s, c, l) => {
144
- const f = t[o], d = Number(f?.tag.slice(1)) || 1, a = c.foldingHeadings ??= [];
145
- let u = "";
146
- for (; (a.at(-1) ?? 0) >= d; )
147
- a.pop(), u += "</details>";
148
- return f?.attrGet("data-folding") === "true" && (a.push(d), u += "<details data-folding-section open><summary>"), u + r(t, o, s, c, l);
149
- }, n.renderer.rules.heading_close = (t, o, s, c, l) => {
150
- const f = t[o - 2];
151
- return i(t, o, s, c, l) + (f?.attrGet("data-folding") === "true" ? "</summary>" : "");
3531
+ const n = u.renderer.rules.heading_open ?? ((c, r, i, o, a) => a.renderToken(c, r, i)), t = u.renderer.rules.heading_close ?? ((c, r, i, o, a) => a.renderToken(c, r, i));
3532
+ u.renderer.rules.heading_open = (c, r, i, o, a) => {
3533
+ const s = c[r], f = Number(s?.tag.slice(1)) || 1, l = o.foldingHeadings ??= [];
3534
+ let b = "";
3535
+ for (; (l.at(-1) ?? 0) >= f; )
3536
+ l.pop(), b += "</details>";
3537
+ return s?.attrGet("data-folding") === "true" && (l.push(f), b += "<details data-folding-section open><summary>"), b + n(c, r, i, o, a);
3538
+ }, u.renderer.rules.heading_close = (c, r, i, o, a) => {
3539
+ const s = c[r - 2];
3540
+ return t(c, r, i, o, a) + (s?.attrGet("data-folding") === "true" ? "</summary>" : "");
152
3541
  };
153
3542
  }
154
- function v(n, e) {
3543
+ function e0(u, e, n) {
155
3544
  try {
156
- return W.renderToString(n, { displayMode: e, throwOnError: !0 });
3545
+ if (n?.math !== void 0) return n.math.renderToString(u, e);
157
3546
  } catch {
158
- const r = e ? "pre" : "span";
159
- return `<${r} data-math-error>${h(n)}</${r}>`;
3547
+ return `<${e ? "pre" : "span"} data-math-error>${P(e ? `$$
3548
+ ${u}
3549
+ $$` : `$${u}$`)}</${e ? "pre" : "span"}>`;
160
3550
  }
3551
+ return `<${e ? "pre" : "span"} data-math-fallback>${P(e ? `$$
3552
+ ${u}
3553
+ $$` : `$${u}$`)}</${e ? "pre" : "span"}>`;
161
3554
  }
162
- function Q(n) {
163
- if (/^<\/?u>$/.test(n) || n === "</span>") return n;
164
- const e = n.match(/^<span style="color:\s*([^";<>]+)">$/i)?.[1]?.trim();
165
- return e !== void 0 && /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\([^;<>]+\)|[a-z]+)$/i.test(e) ? `<span style="color: ${h(e)}">` : h(n);
3555
+ function Or(u) {
3556
+ if (/^<\/?u>$/.test(u) || u === "</span>") return u;
3557
+ const e = u.match(/^<span style="color:\s*([^";<>]+)">$/i)?.[1]?.trim();
3558
+ return e !== void 0 && /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\([^;<>]+\)|[a-z]+)$/i.test(e) ? `<span style="color: ${P(e)}">` : P(u);
166
3559
  }
167
- function y(n, e) {
168
- let r = 0;
169
- for (let i = e - 1; i >= 0 && n[i] === "\\"; i -= 1) r += 1;
170
- return r % 2 === 1;
3560
+ function n0(u, e) {
3561
+ let n = 0;
3562
+ for (let t = e - 1; t >= 0 && u[t] === "\\"; t -= 1) n += 1;
3563
+ return n % 2 === 1;
171
3564
  }
172
- function U() {
173
- const n = new x("commonmark", { html: !0 }).enable("table").enable("strikethrough").use(B).use(D).use(E).use(O);
174
- return L(n), F(n), P(n), K(n), N(n), n;
3565
+ function Nr() {
3566
+ const u = new z("commonmark", { html: !0 }).enable("table").enable("strikethrough").use(vr).use(zr).use($r).use(Sr);
3567
+ return Ir(u), Mr(u), qr(u), Pr(u), Lr(u), u;
175
3568
  }
176
- const V = U();
177
- function X(n) {
178
- const e = {}, r = V.render(n, e), i = e.foldingHeadings?.length ?? 0;
179
- return r + "</details>".repeat(i);
3569
+ const jr = Nr();
3570
+ function Hr(u, e = {}) {
3571
+ const n = { features: e }, t = jr.render(u, n), c = n.foldingHeadings?.length ?? 0;
3572
+ return t + "</details>".repeat(c);
180
3573
  }
181
- let Y = 0, $;
182
- function Z() {
183
- return $ ??= import("./mermaid.core-CR0bA2Wa.js").then((n) => n.bq).then(({ default: n }) => (n.initialize({ securityLevel: "strict", startOnLoad: !1 }), n)), $;
184
- }
185
- function ee() {
186
- return `markdown-renderer-mermaid-${++Y}`;
187
- }
188
- const te = ["innerHTML"], ne = /* @__PURE__ */ M({
3574
+ const Ur = ["innerHTML"], Zr = /* @__PURE__ */ T0({
189
3575
  name: "MarkdownRenderer",
190
3576
  __name: "MarkdownRenderer",
191
3577
  props: {
192
3578
  content: {},
193
- directiveComponents: {}
3579
+ directiveComponents: {},
3580
+ features: {}
194
3581
  },
195
- setup(n) {
196
- const e = n, r = S(), i = w()?.appContext, t = I(() => X(e.content));
197
- let o = 0, s = !1, c = [];
198
- function l() {
199
- for (const a of c) b(null, a);
200
- c = [];
201
- }
202
- function f() {
203
- if (l(), e.directiveComponents !== void 0)
204
- for (const a of r.value?.querySelectorAll("[data-directive]") ?? []) {
205
- const u = a.dataset.directive ?? "", m = e.directiveComponents[u];
206
- if (m === void 0) continue;
207
- const _ = {
208
- content: a.textContent ?? "",
209
- name: u,
3582
+ setup(u) {
3583
+ const e = u, n = B0(), t = $0()?.appContext, c = I0(() => Hr(e.content, e.features));
3584
+ let r = 0, i = !1, o = [];
3585
+ function a() {
3586
+ for (const l of o) Mu(null, l);
3587
+ o = [];
3588
+ }
3589
+ function s() {
3590
+ if (a(), e.directiveComponents !== void 0)
3591
+ for (const l of n.value?.querySelectorAll("[data-directive]") ?? []) {
3592
+ const b = l.dataset.directive ?? "", h = e.directiveComponents[b];
3593
+ if (h === void 0) continue;
3594
+ const p = {
3595
+ content: l.textContent ?? "",
3596
+ name: b,
210
3597
  readonly: !0,
211
3598
  updateContent: () => {
212
3599
  }
213
- }, g = R(m, _);
214
- g.appContext = i ?? null, b(g, a), c.push(a);
3600
+ }, x = N0(h, p);
3601
+ x.appContext = t ?? null, Mu(x, l), o.push(l);
215
3602
  }
216
3603
  }
217
- async function d() {
218
- const a = ++o, u = [...r.value?.querySelectorAll("[data-mermaid]") ?? []];
219
- if (u.length === 0) return;
220
- let m;
3604
+ async function f() {
3605
+ const l = ++r, b = [...n.value?.querySelectorAll("[data-mermaid]") ?? []];
3606
+ if (b.length === 0 || e.features?.mermaid === void 0) return;
3607
+ let h;
221
3608
  try {
222
- m = await Z();
3609
+ h = await e.features.mermaid.load(), h.initialize({ securityLevel: "strict", startOnLoad: !1 });
223
3610
  } catch {
224
- for (const p of u)
225
- p.removeAttribute("aria-busy"), p.setAttribute("data-mermaid-error", "");
226
3611
  return;
227
3612
  }
228
- for (const p of u) {
229
- if (s || a !== o || !p.isConnected) return;
230
- const _ = p.querySelector("pre")?.textContent ?? "";
3613
+ for (const d of b) {
3614
+ if (i || l !== r || !d.isConnected) return;
3615
+ const p = d.querySelector("pre")?.textContent ?? "";
231
3616
  try {
232
- const { bindFunctions: g, svg: C } = await m.render(ee(), _);
233
- if (s || a !== o || !p.isConnected) return;
234
- p.innerHTML = C, p.removeAttribute("aria-busy"), g?.(p);
3617
+ const { bindFunctions: x, svg: D } = await h.render(`markdown-renderer-mermaid-${l}-${b.indexOf(d)}`, p);
3618
+ if (i || l !== r || !d.isConnected) return;
3619
+ d.innerHTML = D, d.removeAttribute("aria-busy"), x?.(d);
235
3620
  } catch {
236
- p.removeAttribute("aria-busy"), p.setAttribute("data-mermaid-error", "");
3621
+ d.removeAttribute("aria-busy"), d.setAttribute("data-mermaid-error", "");
237
3622
  }
238
3623
  }
239
3624
  }
240
- return T(
3625
+ return M0(
241
3626
  () => [e.content, e.directiveComponents],
242
3627
  async () => {
243
- o += 1, await q(), f(), await d();
3628
+ r += 1, await q0(), s(), await f();
244
3629
  }
245
- ), H(() => {
246
- f(), d();
247
- }), A(() => {
248
- s = !0, o += 1, l();
249
- }), (a, u) => (j(), G("div", {
3630
+ ), R0(() => {
3631
+ s(), f();
3632
+ }), P0(() => {
3633
+ i = !0, r += 1, a();
3634
+ }), (l, b) => (L0(), O0("div", {
250
3635
  ref_key: "root",
251
- ref: r,
3636
+ ref: n,
252
3637
  class: "markdown-renderer",
253
- innerHTML: t.value
254
- }, null, 8, te));
3638
+ innerHTML: c.value
3639
+ }, null, 8, Ur));
255
3640
  }
256
- }), le = /* @__PURE__ */ z(ne, [["__scopeId", "data-v-f8c82f6b"]]);
3641
+ }), Gr = (u, e) => {
3642
+ const n = u.__vccOpts || u;
3643
+ for (const [t, c] of e)
3644
+ n[t] = c;
3645
+ return n;
3646
+ }, Wr = /* @__PURE__ */ Gr(Zr, [["__scopeId", "data-v-e4e65efb"]]);
257
3647
  export {
258
- le as MarkdownRenderer
3648
+ Wr as MarkdownRenderer
259
3649
  };