@chobantonov/jsonforms-react-shadcn-webcomponent 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +91 -2
  3. package/dist/JsonFormsShadcnElement.d.ts +29 -0
  4. package/dist/index.d.ts +3 -0
  5. package/dist/jsonforms-react-shadcn.js +1 -0
  6. package/dist/register.d.ts +2 -0
  7. package/dist/register.js +6 -0
  8. package/dist/register.js.map +1 -0
  9. package/dist/renderers.d.ts +2 -0
  10. package/dist/src-CLRAt7jc.mjs +9482 -0
  11. package/dist/src-CLRAt7jc.mjs.map +1 -0
  12. package/dist/standalone/AgGridControlRenderer.impl-BZS8_ocu-Dp2429lF.mjs +39184 -0
  13. package/dist/standalone/AgGridControlRenderer.impl-BZS8_ocu-Dp2429lF.mjs.map +1 -0
  14. package/dist/standalone/DynamicJSXRenderer-DyB3ZpZV-Dr83kPeb.mjs +14893 -0
  15. package/dist/standalone/DynamicJSXRenderer-DyB3ZpZV-Dr83kPeb.mjs.map +1 -0
  16. package/dist/standalone/FileArrayInput.esm-BG196JYM.mjs +760 -0
  17. package/dist/standalone/FileArrayInput.esm-BG196JYM.mjs.map +1 -0
  18. package/dist/standalone/MarkupLabelRenderer.impl-CWfdcUuH-BgJ-v1Ei.mjs +12 -0
  19. package/dist/standalone/MarkupLabelRenderer.impl-CWfdcUuH-BgJ-v1Ei.mjs.map +1 -0
  20. package/dist/standalone/MonacoControlRenderer.impl-CyjMHbOd-BP-CDX3S.mjs +773 -0
  21. package/dist/standalone/MonacoControlRenderer.impl-CyjMHbOd-BP-CDX3S.mjs.map +1 -0
  22. package/dist/standalone/RactiveTemplate-Cat7CxUp-BnyPMY_h.mjs +8028 -0
  23. package/dist/standalone/RactiveTemplate-Cat7CxUp-BnyPMY_h.mjs.map +1 -0
  24. package/dist/standalone/celTemplate-D_AGhaIL-ryXLzhcw.mjs +137 -0
  25. package/dist/standalone/celTemplate-D_AGhaIL-ryXLzhcw.mjs.map +1 -0
  26. package/dist/standalone/classPrivateFieldGet2-CAMXi-8L.mjs +22 -0
  27. package/dist/standalone/dynamicCel.esm-DrqwYtar.mjs +43 -0
  28. package/dist/standalone/dynamicCel.esm-DrqwYtar.mjs.map +1 -0
  29. package/dist/standalone/index.js +24493 -0
  30. package/dist/standalone/index.js.map +1 -0
  31. package/dist/standalone/jsonforms-react-extended.esm-CFwqhFcu.mjs +13760 -0
  32. package/dist/standalone/jsonforms-react-extended.esm-CFwqhFcu.mjs.map +1 -0
  33. package/dist/standalone/lib-DHN5bkVZ.mjs +3149 -0
  34. package/dist/standalone/lib-DHN5bkVZ.mjs.map +1 -0
  35. package/dist/standalone/markdown-C_y73Q0w-DE-0r4-5.mjs +3060 -0
  36. package/dist/standalone/markdown-C_y73Q0w-DE-0r4-5.mjs.map +1 -0
  37. package/dist/standalone/plainRecord.esm-D_l3rehZ.mjs +123 -0
  38. package/dist/standalone/plainRecord.esm-D_l3rehZ.mjs.map +1 -0
  39. package/dist/standalone/react-dom-DUZYP7tL.mjs +5644 -0
  40. package/dist/standalone/react-dom-DUZYP7tL.mjs.map +1 -0
  41. package/package.json +82 -3
  42. package/src/JsonFormsShadcnElement.tsx +208 -0
  43. package/src/components/ui/alert.tsx +65 -0
  44. package/src/components/ui/avatar.tsx +108 -0
  45. package/src/components/ui/breadcrumb.tsx +111 -0
  46. package/src/components/ui/button.tsx +64 -0
  47. package/src/components/ui/calendar.tsx +223 -0
  48. package/src/components/ui/card.tsx +91 -0
  49. package/src/components/ui/checkbox.tsx +31 -0
  50. package/src/components/ui/collapsible.tsx +21 -0
  51. package/src/components/ui/dialog.tsx +175 -0
  52. package/src/components/ui/index.ts +12 -0
  53. package/src/components/ui/input.tsx +22 -0
  54. package/src/components/ui/item.tsx +193 -0
  55. package/src/components/ui/pagination.tsx +132 -0
  56. package/src/components/ui/popover.tsx +88 -0
  57. package/src/components/ui/radio-group.tsx +44 -0
  58. package/src/components/ui/resizable.tsx +52 -0
  59. package/src/components/ui/scroll-area.tsx +57 -0
  60. package/src/components/ui/select.tsx +189 -0
  61. package/src/components/ui/separator.tsx +27 -0
  62. package/src/components/ui/slider.tsx +62 -0
  63. package/src/components/ui/switch.tsx +34 -0
  64. package/src/components/ui/tabs.tsx +90 -0
  65. package/src/components/ui/textarea.tsx +17 -0
  66. package/src/components/ui/tooltip.tsx +56 -0
  67. package/src/components/ui/utils.ts +5 -0
  68. package/src/index.tsx +4 -0
  69. package/src/register.ts +13 -0
  70. package/src/renderers.ts +14 -0
  71. package/src/styles.css +29 -0
  72. package/src/vite-env.d.ts +4 -0
@@ -0,0 +1,3060 @@
1
+ import { St as e, cn as t, p as n, sn as r, ur as i } from "./jsonforms-react-extended.esm-CFwqhFcu.mjs";
2
+ import { a, f as o, i as s, o as c, s as l, u } from "./plainRecord.esm-D_l3rehZ.mjs";
3
+ // ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.mjs
4
+ var d = /* @__PURE__ */ o(t(), 1), f = e(), p = {};
5
+ function m(e) {
6
+ let t = p[e];
7
+ if (t) return t;
8
+ t = p[e] = [];
9
+ for (let e = 0; e < 128; e++) {
10
+ let n = String.fromCharCode(e);
11
+ t.push(n);
12
+ }
13
+ for (let n = 0; n < e.length; n++) {
14
+ let r = e.charCodeAt(n);
15
+ t[r] = "%" + ("0" + r.toString(16).toUpperCase()).slice(-2);
16
+ }
17
+ return t;
18
+ }
19
+ function h(e, t) {
20
+ typeof t != "string" && (t = h.defaultChars);
21
+ let n = m(t);
22
+ return e.replace(/(%[a-f0-9]{2})+/gi, function(e) {
23
+ let t = "";
24
+ for (let r = 0, i = e.length; r < i; r += 3) {
25
+ let a = parseInt(e.slice(r + 1, r + 3), 16);
26
+ if (a < 128) t += n[a];
27
+ else {
28
+ if ((a & 224) == 192 && r + 3 < i) {
29
+ let n = parseInt(e.slice(r + 4, r + 6), 16);
30
+ if ((n & 192) == 128) {
31
+ let e = a << 6 & 1984 | n & 63;
32
+ t += e < 128 ? "��" : String.fromCharCode(e), r += 3;
33
+ continue;
34
+ }
35
+ }
36
+ if ((a & 240) == 224 && r + 6 < i) {
37
+ let n = parseInt(e.slice(r + 4, r + 6), 16), i = parseInt(e.slice(r + 7, r + 9), 16);
38
+ if ((n & 192) == 128 && (i & 192) == 128) {
39
+ let e = a << 12 & 61440 | n << 6 & 4032 | i & 63;
40
+ t += e < 2048 || e >= 55296 && e <= 57343 ? "���" : String.fromCharCode(e), r += 6;
41
+ continue;
42
+ }
43
+ }
44
+ if ((a & 248) == 240 && r + 9 < i) {
45
+ let n = parseInt(e.slice(r + 4, r + 6), 16), i = parseInt(e.slice(r + 7, r + 9), 16), o = parseInt(e.slice(r + 10, r + 12), 16);
46
+ if ((n & 192) == 128 && (i & 192) == 128 && (o & 192) == 128) {
47
+ let e = a << 18 & 1835008 | n << 12 & 258048 | i << 6 & 4032 | o & 63;
48
+ e < 65536 || e > 1114111 ? t += "����" : (e -= 65536, t += String.fromCharCode(55296 + (e >> 10), 56320 + (e & 1023))), r += 9;
49
+ continue;
50
+ }
51
+ }
52
+ t += "�";
53
+ }
54
+ }
55
+ return t;
56
+ });
57
+ }
58
+ h.defaultChars = ";/?:@&=+$,#", h.componentChars = "";
59
+ // ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.mjs
60
+ var g = {};
61
+ function _(e) {
62
+ let t = g[e];
63
+ if (t) return t;
64
+ t = g[e] = [];
65
+ for (let e = 0; e < 128; e++) {
66
+ let n = String.fromCharCode(e);
67
+ /^[0-9a-z]$/i.test(n) ? t.push(n) : t.push("%" + ("0" + e.toString(16).toUpperCase()).slice(-2));
68
+ }
69
+ for (let n = 0; n < e.length; n++) t[e.charCodeAt(n)] = e[n];
70
+ return t;
71
+ }
72
+ function v(e, t, n) {
73
+ typeof t != "string" && (n = t, t = v.defaultChars), n === void 0 && (n = !0);
74
+ let r = _(t), i = "";
75
+ for (let t = 0, a = e.length; t < a; t++) {
76
+ let o = e.charCodeAt(t);
77
+ if (n && o === 37 && t + 2 < a && /^[0-9a-f]{2}$/i.test(e.slice(t + 1, t + 3))) i += e.slice(t, t + 3), t += 2;
78
+ else if (o < 128) i += r[o];
79
+ else if (o >= 55296 && o <= 57343) {
80
+ if (o >= 55296 && o <= 56319 && t + 1 < a) {
81
+ let n = e.charCodeAt(t + 1);
82
+ if (n >= 56320 && n <= 57343) {
83
+ i += encodeURIComponent(e[t] + e[t + 1]), t++;
84
+ continue;
85
+ }
86
+ }
87
+ i += "%EF%BF%BD";
88
+ } else i += encodeURIComponent(e[t]);
89
+ }
90
+ return i;
91
+ }
92
+ v.defaultChars = ";/?:@&=+$,-_.!~*'()#", v.componentChars = "-_.!~*'()";
93
+ // ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.mjs
94
+ function y(e) {
95
+ let t = "";
96
+ return t += e.protocol || "", t += e.slashes ? "//" : "", t += e.auth ? e.auth + "@" : "", e.hostname && e.hostname.indexOf(":") !== -1 ? t += "[" + e.hostname + "]" : t += e.hostname || "", t += e.port ? ":" + e.port : "", t += e.pathname || "", t += e.search || "", t += e.hash || "", t;
97
+ }
98
+ // ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.mjs
99
+ function b() {
100
+ this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
101
+ }
102
+ var x = /^([a-z0-9.+-]+:)/i, S = /:[0-9]*$/, C = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, ee = [
103
+ "%",
104
+ "/",
105
+ "?",
106
+ ";",
107
+ "#",
108
+ "'",
109
+ "{",
110
+ "}",
111
+ "|",
112
+ "\\",
113
+ "^",
114
+ "`",
115
+ "<",
116
+ ">",
117
+ "\"",
118
+ "`",
119
+ " ",
120
+ "\r",
121
+ "\n",
122
+ " "
123
+ ], te = [
124
+ "/",
125
+ "?",
126
+ "#"
127
+ ], ne = 255, re = /^[+a-z0-9A-Z_-]{0,63}$/, ie = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, ae = {
128
+ javascript: !0,
129
+ "javascript:": !0
130
+ }, oe = {
131
+ http: !0,
132
+ https: !0,
133
+ ftp: !0,
134
+ gopher: !0,
135
+ file: !0,
136
+ "http:": !0,
137
+ "https:": !0,
138
+ "ftp:": !0,
139
+ "gopher:": !0,
140
+ "file:": !0
141
+ };
142
+ function w(e, t) {
143
+ if (e && e instanceof b) return e;
144
+ let n = new b();
145
+ return n.parse(e, t), n;
146
+ }
147
+ b.prototype.parse = function(e, t) {
148
+ let n, r, i, a = e;
149
+ if (a = a.trim(), !t && e.split("#").length === 1) {
150
+ let e = C.exec(a);
151
+ if (e) return this.pathname = e[1], e[2] && (this.search = e[2]), this;
152
+ }
153
+ let o = x.exec(a);
154
+ if (o && (o = o[0], n = o.toLowerCase(), this.protocol = o, a = a.substr(o.length)), (t || o || a.match(/^\/\/[^@\/]+@[^@\/]+/)) && (i = a.substr(0, 2) === "//", i && !(o && ae[o]) && (a = a.substr(2), this.slashes = !0)), !ae[o] && (i || o && !oe[o])) {
155
+ let e = -1;
156
+ for (let t = 0; t < te.length; t++) r = a.indexOf(te[t]), r !== -1 && (e === -1 || r < e) && (e = r);
157
+ let t, n;
158
+ n = e === -1 ? a.lastIndexOf("@") : a.lastIndexOf("@", e), n !== -1 && (t = a.slice(0, n), a = a.slice(n + 1), this.auth = t), e = -1;
159
+ for (let t = 0; t < ee.length; t++) r = a.indexOf(ee[t]), r !== -1 && (e === -1 || r < e) && (e = r);
160
+ e === -1 && (e = a.length), a[e - 1] === ":" && e--;
161
+ let i = a.slice(0, e);
162
+ a = a.slice(e), this.parseHost(i), this.hostname = this.hostname || "";
163
+ let o = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
164
+ if (!o) {
165
+ let e = this.hostname.split(/\./);
166
+ for (let t = 0, n = e.length; t < n; t++) {
167
+ let n = e[t];
168
+ if (n && !n.match(re)) {
169
+ let r = "";
170
+ for (let e = 0, t = n.length; e < t; e++) n.charCodeAt(e) > 127 ? r += "x" : r += n[e];
171
+ if (!r.match(re)) {
172
+ let r = e.slice(0, t), i = e.slice(t + 1), o = n.match(ie);
173
+ o && (r.push(o[1]), i.unshift(o[2])), i.length && (a = i.join(".") + a), this.hostname = r.join(".");
174
+ break;
175
+ }
176
+ }
177
+ }
178
+ }
179
+ this.hostname.length > ne && (this.hostname = ""), o && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
180
+ }
181
+ let s = a.indexOf("#");
182
+ s !== -1 && (this.hash = a.substr(s), a = a.slice(0, s));
183
+ let c = a.indexOf("?");
184
+ return c !== -1 && (this.search = a.substr(c), a = a.slice(0, c)), a && (this.pathname = a), oe[n] && this.hostname && !this.pathname && (this.pathname = ""), this;
185
+ }, b.prototype.parseHost = function(e) {
186
+ let t = S.exec(e);
187
+ t && (t = t[0], t !== ":" && (this.port = t.substr(1)), e = e.substr(0, e.length - t.length)), e && (this.hostname = e);
188
+ };
189
+ // ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.mjs
190
+ var se = /* @__PURE__ */ u({
191
+ decode: () => h,
192
+ encode: () => v,
193
+ format: () => y,
194
+ parse: () => w
195
+ }), ce = /* @__PURE__ */ u({
196
+ Any: () => le,
197
+ Cc: () => ue,
198
+ Cf: () => de,
199
+ P: () => fe,
200
+ S: () => pe,
201
+ Z: () => me
202
+ }), le = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, ue = /[\0-\x1F\x7F-\x9F]/, de = /[\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]/, fe = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\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\u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02FF\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-\u20C1\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-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\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-\u31E5\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-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\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D0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/, me = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, he = [
203
+ 8364,
204
+ 0,
205
+ 8218,
206
+ 402,
207
+ 8222,
208
+ 8230,
209
+ 8224,
210
+ 8225,
211
+ 710,
212
+ 8240,
213
+ 352,
214
+ 8249,
215
+ 338,
216
+ 0,
217
+ 381,
218
+ 0,
219
+ 0,
220
+ 8216,
221
+ 8217,
222
+ 8220,
223
+ 8221,
224
+ 8226,
225
+ 8211,
226
+ 8212,
227
+ 732,
228
+ 8482,
229
+ 353,
230
+ 8250,
231
+ 339,
232
+ 0,
233
+ 382,
234
+ 376
235
+ ];
236
+ function ge(e) {
237
+ return e === 0 || e >= 55296 && e <= 57343 || e > 1114111;
238
+ }
239
+ function _e(e) {
240
+ return ge(e) ? 65533 : e >= 128 && e <= 159 && he[e - 128] || e;
241
+ }
242
+ function ve(e) {
243
+ return e - 1 >>> 0 < 127 || e - 160 >>> 0 < 55136 ? String.fromCharCode(e) : String.fromCodePoint(_e(e));
244
+ }
245
+ // ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/internal/decode-shared.js
246
+ var T = /* #__PURE__ */ (() => {
247
+ let e = /* @__PURE__ */ new Uint8Array(127), t = 0;
248
+ for (let n = 33; n <= 126; n++) n !== 34 && n !== 36 && n !== 92 && (e[n] = t++);
249
+ return e;
250
+ })();
251
+ function ye(e, t, n, r, i, a) {
252
+ let o = e.length, s = a * 90, c = 0, l = () => {
253
+ let t = T[e.charCodeAt(c++)];
254
+ return t < a ? t : t * 91 - s + T[e.charCodeAt(c++)];
255
+ }, u = n - r, d = n + i, f = new Int32Array(d);
256
+ f.fill(-1, r, a), f.fill(-1, a + u, d);
257
+ let p = new Int32Array(d), m = new Int32Array(d);
258
+ function h(t, n) {
259
+ let r = 0, i = n, a = n + t;
260
+ for (; i < a;) {
261
+ let t = T[e.charCodeAt(c++)];
262
+ if (t < 89) r += t, f[i++] = r;
263
+ else if (t === 89) {
264
+ let t = T[e.charCodeAt(c++)] + 2;
265
+ for (; t--;) f[i++] = ++r;
266
+ } else {
267
+ let t = T[e.charCodeAt(c++)];
268
+ r += 89 + (t < 90 ? t * 91 + T[e.charCodeAt(c++)] : T[e.charCodeAt(c++)] * 8281 + T[e.charCodeAt(c++)] * 91 + T[e.charCodeAt(c++)]), f[i++] = r;
269
+ }
270
+ }
271
+ }
272
+ h(r, 0), h(u, a);
273
+ let g = new Int32Array(i * 2), _ = 0, v = 0;
274
+ function y(e, t) {
275
+ for (let n = 0; n < e; n++) {
276
+ let e = t + n, r = l(), i = l();
277
+ g[v * 2] = r, g[v * 2 + 1] = i, v += 1, p[e] = _;
278
+ let a = (f[r] < 0 ? m[r] : 1) + (f[i] < 0 ? m[i] : 1);
279
+ m[e] = a, _ += a;
280
+ }
281
+ }
282
+ y(i - a + r, a + u), y(a - r, r);
283
+ let b = new Uint16Array(_), x = 0;
284
+ for (let e = 0; e < v; e++) for (let t = 0; t < 2; t++) {
285
+ let n = g[e * 2 + t], r = f[n];
286
+ if (r < 0) {
287
+ let e = p[n], t = e + m[n];
288
+ for (; e < t;) b[x++] = b[e++];
289
+ } else b[x++] = r;
290
+ }
291
+ let S = new Uint16Array(t), C = 0;
292
+ for (; c < o;) {
293
+ let t = T[e.charCodeAt(c++)];
294
+ t >= a && (t = t * 91 - s + T[e.charCodeAt(c++)]);
295
+ let n = f[t];
296
+ if (n < 0) {
297
+ let e = p[t], n = e + m[t];
298
+ for (; e < n;) S[C++] = b[e++];
299
+ } else S[C++] = n;
300
+ }
301
+ return S;
302
+ }
303
+ // ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/generated/decode-data-html.js
304
+ var be = /* #__PURE__ */ ye("!}.&u%}'&}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-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P", 13494, 2713, 49, 25, 61), E;
305
+ (function(e) {
306
+ e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.FLAG13 = 8192] = "FLAG13", e[e.BRANCH_LENGTH = 8064] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE", e[e.VALUE_MASK = 8191] = "VALUE_MASK";
307
+ })(E || (E = {}));
308
+ // ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/decode.js
309
+ var D;
310
+ (function(e) {
311
+ e[e.AMP = 38] = "AMP", e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_X = 120] = "LOWER_X";
312
+ })(D || (D = {}));
313
+ var O = 32, xe = 21, Se = 2097151, Ce = 2047, we = 0;
314
+ function Te(e) {
315
+ let t = e >>> xe;
316
+ return t === Ce ? we : t;
317
+ }
318
+ function Ee(e) {
319
+ return e - D.ZERO >>> 0 <= 9;
320
+ }
321
+ function De(e) {
322
+ return (e | O) - D.LOWER_A >>> 0 <= 5;
323
+ }
324
+ function Oe(e) {
325
+ return (e | O) - D.LOWER_A >>> 0 <= 25;
326
+ }
327
+ function ke(e) {
328
+ return e === D.EQUALS || Oe(e) || Ee(e);
329
+ }
330
+ var Ae;
331
+ (function(e) {
332
+ e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
333
+ })(Ae || (Ae = {}));
334
+ var je;
335
+ (function(e) {
336
+ e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
337
+ })(je || (je = {}));
338
+ function Me(e, t, n, r) {
339
+ let i = (t & E.BRANCH_LENGTH) >> 7, a = t & E.JUMP_TABLE;
340
+ if (a) {
341
+ if (i === 0) return r === a ? n : -1;
342
+ let t = r - a;
343
+ if (t >>> 0 >= i) return -1;
344
+ let o = e[n + t];
345
+ return o === 0 ? -1 : n + i + o - 1 & 65535;
346
+ }
347
+ if (i === 0) return -1;
348
+ let o = i + 1 >> 1, s = n + o + i;
349
+ for (let t = 0; t < i; t++) {
350
+ let i = e[n + (t >> 1)] >> ((t & 1) << 3) & 255;
351
+ if (i === r) return s + e[n + o + t] & 65535;
352
+ if (i > r) return -1;
353
+ }
354
+ return -1;
355
+ }
356
+ function Ne(e, t, n) {
357
+ return n === 1 ? String.fromCharCode(e[t] & E.VALUE_MASK) : n === 2 ? String.fromCharCode(e[t + 1]) : String.fromCharCode(e[t + 1], e[t + 2]);
358
+ }
359
+ function Pe(e, t, n) {
360
+ let r = t + 1, i = 0, a = r;
361
+ if (r < n && (e.charCodeAt(r) | O) === D.LOWER_X) for (r += 1, a = r; r < n;) {
362
+ let t = e.charCodeAt(r);
363
+ if (Ee(t)) i = i * 16 + (t - D.ZERO);
364
+ else if (De(t)) i = i * 16 + ((t | O) - D.LOWER_A + 10);
365
+ else break;
366
+ r += 1;
367
+ }
368
+ else for (; r < n;) {
369
+ let t = e.charCodeAt(r) - D.ZERO;
370
+ if (t >>> 0 > 9) break;
371
+ i = i * 10 + t, r += 1;
372
+ }
373
+ if (r === a) return 0;
374
+ r < n && e.charCodeAt(r) === D.SEMI && (r += 1), i > 1114111 && (i = 1114112);
375
+ let o = r - t;
376
+ return o >= Ce && (we = o, o = Ce), o << xe | i;
377
+ }
378
+ function Fe(e, t, n) {
379
+ let r = be, i = e.indexOf("&");
380
+ if (i < 0) return e;
381
+ let a = e.length, o = 0, s = "", c = r[0], l = c & E.JUMP_TABLE, u = (c & E.BRANCH_LENGTH) >> 7;
382
+ do {
383
+ let c = i + 1, d = e.charCodeAt(c), f, p;
384
+ if (d === D.NUM) {
385
+ let n = Pe(e, c, a);
386
+ f = Te(n), t && f > 0 && e.charCodeAt(c + f - 1) !== D.SEMI && (f = 0), p = f === 0 ? "" : ve(n & Se);
387
+ } else if (Oe(d)) {
388
+ f = 0, p = "";
389
+ let n = d - l, i;
390
+ if (n >>> 0 < u) {
391
+ let e = r[1 + n];
392
+ i = e === 0 ? -1 : u + e & 65535;
393
+ } else i = -1;
394
+ let o = 0, s = 0, m = i < 0 ? 0 : r[i], h = c + 1;
395
+ trie: for (; h < a;) {
396
+ for (; (m & (E.VALUE_LENGTH | E.FLAG13)) === 0 && (m & E.JUMP_TABLE) !== 0;) {
397
+ let t = m & E.JUMP_TABLE, n = (m & E.BRANCH_LENGTH) >> 7;
398
+ if (n === 0) {
399
+ if (e.charCodeAt(h) !== t) break trie;
400
+ i += 1;
401
+ } else {
402
+ let a = e.charCodeAt(h) - t;
403
+ if (a >>> 0 >= n) break trie;
404
+ let o = r[i + 1 + a];
405
+ if (o === 0) break trie;
406
+ i = i + n + o & 65535;
407
+ }
408
+ if (m = r[i], h += 1, h >= a) break trie;
409
+ }
410
+ if ((m & (E.VALUE_LENGTH | E.FLAG13)) === E.FLAG13) {
411
+ let t = (m & E.BRANCH_LENGTH) >> 7;
412
+ if (e.charCodeAt(h) !== (m & E.JUMP_TABLE)) break;
413
+ h += 1;
414
+ let n = t - 1, a = i + 1, o = 0;
415
+ for (; o + 1 < n; o += 2) {
416
+ let t = r[a];
417
+ if (e.charCodeAt(h) !== (t & 255) || (h += 1, e.charCodeAt(h) !== (t >> 8 & 255))) break trie;
418
+ h += 1, a += 1;
419
+ }
420
+ if (o < n) {
421
+ if (e.charCodeAt(h) !== (r[a] & 255)) break;
422
+ h += 1;
423
+ }
424
+ i += 1 + (t >> 1), m = r[i];
425
+ continue;
426
+ }
427
+ let n = m >>> 14, l = e.charCodeAt(h);
428
+ if (n !== 0) {
429
+ if (l === D.SEMI) {
430
+ f = h - c + 1, p = n === 1 ? String.fromCharCode(m & E.VALUE_MASK) : Ne(r, i, n);
431
+ break;
432
+ }
433
+ if (!t && (m & E.FLAG13) === 0 && (f = h - c, o = i, s = n), n === 1) break;
434
+ }
435
+ let u = Me(r, m, i + (n || 1), l);
436
+ if (u < 0) break;
437
+ i = u, m = r[i], h += 1;
438
+ }
439
+ if (p === "") {
440
+ let e = m >>> 14;
441
+ e !== 0 && !t && (m & E.FLAG13) === 0 && (f = h - c, o = i, s = e), f > 0 && (p = Ne(r, o, s));
442
+ }
443
+ } else f = 0, p = "";
444
+ f === 0 || n && d !== D.NUM && e.charCodeAt(c + f - 1) !== D.SEMI && c + f < a && ke(e.charCodeAt(c + f)) ? i = c : (o < i && (s += e.slice(o, i)), s += p, i = o = c + f), e.charCodeAt(i) !== D.AMP && (i = e.indexOf("&", i));
445
+ } while (i >= 0);
446
+ return s + e.slice(o);
447
+ }
448
+ function Ie(e) {
449
+ return Fe(e, !0, !1);
450
+ }
451
+ l(), a();
452
+ var Le = ["rebuilder"], Re = class {
453
+ constructor(e = {}) {
454
+ c(this, "src_Any", le.source), c(this, "src_Cc", ue.source), c(this, "src_Z", me.source), c(this, "src_P", fe.source), c(this, "src_ZPCc", [
455
+ this.src_Z,
456
+ this.src_P,
457
+ this.src_Cc
458
+ ].join("|")), c(this, "src_ZCc", [this.src_Z, this.src_Cc].join("|")), c(this, "cache", {}), c(this, "opts", {
459
+ maxLength: 1e4,
460
+ urlAuth: !1,
461
+ schema_names: []
462
+ }), this.opts = s(s({}, this.opts), e);
463
+ }
464
+ set(e = {}) {
465
+ return this.opts = s(s({}, this.opts), e), this.cache = {}, this;
466
+ }
467
+ escapeRE(e) {
468
+ return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
469
+ }
470
+ nestedPairRE(e, t, n = 4) {
471
+ let r = this.escapeRE(e), i = this.escapeRE(t), a = `(?:(?!${this.src_ZCc}|${r}|${i}).)`, o = `${r}${a}{0,1000}${i}`;
472
+ for (let e = 2; e <= n; e++) o = `${r}(?:${a}|${o}){0,1000}${i}`;
473
+ return o;
474
+ }
475
+ get_text_separators() {
476
+ var e, t;
477
+ return (t = (e = this.cache).text_separators) == null ? e.text_separators = /[><\uff5c]/ : t;
478
+ }
479
+ get_pseudo_letter() {
480
+ var e, t;
481
+ return (t = (e = this.cache).src_pseudo_letter) == null ? e.src_pseudo_letter = RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`) : t;
482
+ }
483
+ get_ipv4_addr() {
484
+ var e, t;
485
+ return (t = (e = this.cache).src_ip4) == null ? e.src_ip4 = /* @__PURE__ */ RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])") : t;
486
+ }
487
+ get_ipv6_addr() {
488
+ var e, t;
489
+ let n = "[0-9A-Fa-f]{1,4}", r = `(?:(?:${n}:${n})|${this.get_ipv4_addr().source})`;
490
+ return (t = (e = this.cache).src_ip6_addr) == null ? e.src_ip6_addr = RegExp(`(?:(?:${n}:){6}${r}|::(?:${n}:){5}${r}|(?:${n})?::(?:${n}:){4}${r}|(?:(?:${n}:){0,1}${n})?::(?:${n}:){3}${r}|(?:(?:${n}:){0,2}${n})?::(?:${n}:){2}${r}|(?:(?:${n}:){0,3}${n})?::${n}:${r}|(?:(?:${n}:){0,4}${n})?::${r}|(?:(?:${n}:){0,5}${n})?::${n}|(?:(?:${n}:){0,6}${n})?::)`) : t;
491
+ }
492
+ get_ipv6_url_host() {
493
+ var e, t;
494
+ return (t = (e = this.cache).src_ip6_host) == null ? e.src_ip6_host = RegExp(`\\[${this.get_ipv6_addr().source}\\]`) : t;
495
+ }
496
+ get_ipv6_mail_host() {
497
+ var e, t;
498
+ return (t = (e = this.cache).src_ipv6_mail_host) == null ? e.src_ipv6_mail_host = RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`) : t;
499
+ }
500
+ get_auth() {
501
+ var e, t;
502
+ return (t = (e = this.cache).src_auth) == null ? e.src_auth = RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`) : t;
503
+ }
504
+ get_port() {
505
+ var e, t;
506
+ return (t = (e = this.cache).src_port) == null ? e.src_port = /* @__PURE__ */ RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?") : t;
507
+ }
508
+ get_host_terminator() {
509
+ var e, t;
510
+ return (t = (e = this.cache).src_host_terminator) == null ? e.src_host_terminator = RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"] ? "-(?!--)|" : "-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`) : t;
511
+ }
512
+ get_path_terminator() {
513
+ var e, t;
514
+ return (t = (e = this.cache).src_path_terminator) == null ? e.src_path_terminator = RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`) : t;
515
+ }
516
+ get_path() {
517
+ var e, t;
518
+ return (t = (e = this.cache).src_path) == null ? e.src_path = RegExp(`(?:[/?#](?:${this.nestedPairRE("[", "]")}|${this.nestedPairRE("(", ")")}|${this.nestedPairRE("{", "}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|` + (this.opts["---"] ? "\\-(?!--(?:[^-]|$))(?:-{0,19})|" : "\\-{1,20}|") + `,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|` + this.get_path_extra().source + `[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`) : t;
519
+ }
520
+ get_mail_name() {
521
+ var e, t;
522
+ return (t = (e = this.cache).src_mail_name) == null ? e.src_mail_name = /* @__PURE__ */ RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}") : t;
523
+ }
524
+ get_xn() {
525
+ var e, t;
526
+ return (t = (e = this.cache).src_xn) == null ? e.src_xn = /* @__PURE__ */ RegExp("xn--[a-z0-9\\-]{1,59}") : t;
527
+ }
528
+ get_tld() {
529
+ if (this.cache.tld) return this.cache.tld;
530
+ let e = [...new Set(this.opts.tlds || [])].sort().reverse().join("|");
531
+ return this.cache.tld = RegExp(`${e || "$#none#$"}|${this.get_xn().source}`), this.cache.tld;
532
+ }
533
+ get_domain_root() {
534
+ var e, t;
535
+ return (t = (e = this.cache).src_domain_root) == null ? e.src_domain_root = RegExp("(?:" + this.get_xn().source + `|${this.get_pseudo_letter().source}{1,63})`) : t;
536
+ }
537
+ get_domain() {
538
+ var e, t;
539
+ return (t = (e = this.cache).src_domain) == null ? e.src_domain = RegExp("(?:" + this.get_xn().source + `|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`) : t;
540
+ }
541
+ get_url_host_port() {
542
+ var e, t;
543
+ return (t = (e = this.cache).url_host_port) == null ? e.url_host_port = RegExp("(?:" + this.get_ipv6_url_host().source + `|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))` + this.get_port().source + this.get_host_terminator().source) : t;
544
+ }
545
+ get_fuzzy_url_host_port() {
546
+ var e, t;
547
+ return (t = (e = this.cache).fuzzy_url_host_port) == null ? e.fuzzy_url_host_port = RegExp("(?:" + (this.opts.fuzzyIP ? this.get_ipv4_addr().source + "|" : "") + `(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))` + this.get_host_terminator().source) : t;
548
+ }
549
+ get_mail_host() {
550
+ var e, t;
551
+ return (t = (e = this.cache).src_mail_host) == null ? e.src_mail_host = RegExp("(?:" + this.get_ipv6_mail_host().source + `|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))` + this.get_host_terminator().source) : t;
552
+ }
553
+ get_fuzzy_mail_host() {
554
+ var e, t;
555
+ return (t = (e = this.cache).src_fuzzy_mail_host) == null ? e.src_fuzzy_mail_host = RegExp("(?:" + this.get_ipv6_mail_host().source + `|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))` + this.get_host_terminator().source) : t;
556
+ }
557
+ get_path_extra() {
558
+ var e, t;
559
+ return (t = (e = this.cache).src_path_extra) == null ? e.src_path_extra = /* @__PURE__ */ RegExp("") : t;
560
+ }
561
+ get_fuzzy_mail_host_search() {
562
+ var e, t;
563
+ return (t = (e = this.cache).mail_fuzzy_host_search) == null ? e.mail_fuzzy_host_search = RegExp(`@${this.get_fuzzy_mail_host().source}`, "ig") : t;
564
+ }
565
+ get_fuzzy_link_search() {
566
+ var e, t;
567
+ return (t = (e = this.cache).link_fuzzy_search) == null ? e.link_fuzzy_search = RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${this.src_ZPCc}))(?:(?![$+<=>^\`|\uff5c])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`, "ig") : t;
568
+ }
569
+ get_http_validator() {
570
+ var e, t;
571
+ return (t = (e = this.cache).http_validator) == null ? e.http_validator = RegExp("\\/\\/" + (this.opts.urlAuth ? this.get_auth().source : "") + this.get_url_host_port().source + this.get_path().source, "iy") : t;
572
+ }
573
+ get_relative_proto_validator() {
574
+ var e, t;
575
+ return (t = (e = this.cache).relative_proto_validator) == null ? e.relative_proto_validator = RegExp((this.opts.urlAuth ? this.get_auth().source : "") + `(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})` + this.get_port().source + this.get_host_terminator().source + this.get_path().source, "iy") : t;
576
+ }
577
+ get_mail_name_validator() {
578
+ var e, t;
579
+ return (t = (e = this.cache).mail_name_validator) == null ? e.mail_name_validator = RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`) : t;
580
+ }
581
+ get_mailto_validator() {
582
+ var e, t;
583
+ return (t = (e = this.cache).mailto_validator) == null ? e.mailto_validator = RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`, "iy") : t;
584
+ }
585
+ get_schema_names() {
586
+ var e, t;
587
+ return (t = (e = this.cache).schema_names) == null ? e.schema_names = new RegExp((this.opts.schema_names || []).map((e) => this.escapeRE(e)).join("|")) : t;
588
+ }
589
+ get_schema_search() {
590
+ var e, t;
591
+ return (t = (e = this.cache).schema_search) == null ? e.schema_search = RegExp(`(^|(?!_)(?:[><\uff5c]|${this.src_ZPCc}))(${this.get_schema_names().source})`, "ig") : t;
592
+ }
593
+ get_schema_at_start() {
594
+ var e, t;
595
+ return (t = (e = this.cache).schema_at_start) == null ? e.schema_at_start = RegExp(`^${this.get_schema_search().source}`, "i") : t;
596
+ }
597
+ }, ze = {
598
+ validate: (e, t, n) => {
599
+ let r = n.re.get_http_validator();
600
+ r.lastIndex = t;
601
+ let i = r.exec(e);
602
+ return i ? i[0].length : 0;
603
+ },
604
+ normalize: (e, t) => t.normalize(e)
605
+ }, Be = {
606
+ "http:": ze,
607
+ "https:": ze,
608
+ "ftp:": ze,
609
+ "//": {
610
+ validate: function(e, t, n) {
611
+ let r = n.re.get_relative_proto_validator();
612
+ r.lastIndex = t;
613
+ let i = r.exec(e);
614
+ return i ? t >= 3 && e[t - 3] === ":" || t >= 3 && e[t - 3] === "/" ? 0 : i[0].length : 0;
615
+ },
616
+ normalize: (e, t) => t.normalize(e)
617
+ },
618
+ "mailto:": {
619
+ validate: function(e, t, n) {
620
+ let r = n.re.get_mailto_validator();
621
+ r.lastIndex = t;
622
+ let i = r.exec(e);
623
+ return i ? i[0].length : 0;
624
+ },
625
+ normalize: (e, t) => t.normalize(e)
626
+ }
627
+ }, Ve = "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|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw", He = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф";
628
+ function Ue() {
629
+ let e = He.split("|");
630
+ return Ve.split("|").forEach((t) => {
631
+ let n = t.indexOf(":"), r = t.slice(0, n);
632
+ for (let i of t.slice(n + 1)) e.push(r + i);
633
+ }), e;
634
+ }
635
+ var We = {
636
+ fuzzyLink: !1,
637
+ fuzzyEmail: !0,
638
+ fuzzyIP: !1,
639
+ "---": !1,
640
+ tlds: Ue(),
641
+ urlAuth: !1,
642
+ maxLength: 1e4
643
+ }, Ge = class {
644
+ constructor(e, t, n, r) {
645
+ c(this, "schema", void 0), c(this, "index", void 0), c(this, "lastIndex", void 0), c(this, "raw", void 0), c(this, "text", void 0), c(this, "url", void 0);
646
+ let i = e.slice(n, r);
647
+ this.schema = t.toLowerCase(), this.index = n, this.lastIndex = r, this.raw = i, this.text = i, this.url = i;
648
+ }
649
+ }, Ke = class {
650
+ constructor(e = {}) {
651
+ c(this, "__opts__", void 0), c(this, "__schemas__", void 0), c(this, "re", void 0);
652
+ let { rebuilder: t } = e, n = i(e, Le);
653
+ this.__opts__ = s(s({}, We), n), this.__schemas__ = s({}, Be), this.re = t || new Re(), this.re.set(s(s({}, this.__opts__), {}, { schema_names: Object.keys(this.__schemas__) }));
654
+ }
655
+ add(e, t = null) {
656
+ if (!t) delete this.__schemas__[e];
657
+ else {
658
+ let n = s({ normalize: (e, t) => t.normalize(e) }, t);
659
+ this.__schemas__[e] = n;
660
+ }
661
+ return this.re.set(s(s({}, this.__opts__), {}, { schema_names: Object.keys(this.__schemas__) })), this;
662
+ }
663
+ set(e = {}) {
664
+ return this.__opts__ = s(s({}, this.__opts__), e), this.re.set(s(s({}, this.__opts__), {}, { schema_names: Object.keys(this.__schemas__) })), this;
665
+ }
666
+ test(e) {
667
+ if (!e.length) return !1;
668
+ let t, n;
669
+ for (n = this.re.get_schema_search(), n.lastIndex = 0; (t = n.exec(e)) !== null;) if (this.testSchemaAt(e, t[2], n.lastIndex)) return !0;
670
+ if (this.__opts__.fuzzyLink && this.__schemas__["http:"] && (n = this.re.get_fuzzy_link_search(), n.lastIndex = 0, n.exec(e) !== null)) return !0;
671
+ if (this.__opts__.fuzzyEmail && this.__schemas__["mailto:"] && e.indexOf("@") >= 0) {
672
+ let n = this.re.get_fuzzy_mail_host_search(), r = this.re.get_mail_name_validator();
673
+ for (n.lastIndex = 0; (t = n.exec(e)) !== null;) {
674
+ let n = e.slice(Math.max(0, t.index - 65), t.index);
675
+ if (r.test(n)) return !0;
676
+ }
677
+ }
678
+ return !1;
679
+ }
680
+ testSchemaAt(e, t, n) {
681
+ return this.__schemas__[t.toLowerCase()] ? this.__schemas__[t.toLowerCase()].validate(e.slice(0, n + this.__opts__.maxLength), n, this) : 0;
682
+ }
683
+ match(e) {
684
+ let t = [], n = this.re.get_schema_search(), r, i, a, o, s, c, l = !1, u = !1, d = !1, f = 0;
685
+ if (!e.length) return null;
686
+ for (n.lastIndex = 0, this.__opts__.fuzzyLink && this.__schemas__["http:"] && (r = this.re.get_fuzzy_link_search(), r.lastIndex = 0), this.__opts__.fuzzyEmail && this.__schemas__["mailto:"] && (i = this.re.get_fuzzy_mail_host_search(), i.lastIndex = 0, a = this.re.get_mail_name_validator());;) {
687
+ let p = Math.max(f - 1, 0);
688
+ if (i && a && !d && (!s || s.index < f)) for (i.lastIndex < p && (i.lastIndex = p);;) {
689
+ let t = i.exec(e);
690
+ if (!t) {
691
+ d = !0, s = void 0;
692
+ break;
693
+ }
694
+ let n = a.exec(e.slice(Math.max(0, t.index - 65), t.index));
695
+ if (n) {
696
+ if (s = {
697
+ schema: "mailto:",
698
+ index: t.index - n[1].length,
699
+ lastIndex: t.index + t[0].length
700
+ }, s.index >= f) break;
701
+ i.lastIndex < p && (i.lastIndex = p);
702
+ }
703
+ }
704
+ if (r && !u && (!o || o.index < f)) for (r.lastIndex < p && (r.lastIndex = p);;) {
705
+ let t = r.exec(e);
706
+ if (!t) {
707
+ u = !0, o = void 0;
708
+ break;
709
+ }
710
+ if (o = {
711
+ schema: "",
712
+ index: t.index + t[1].length,
713
+ lastIndex: t.index + t[0].length
714
+ }, o.index >= f) break;
715
+ r.lastIndex < p && (r.lastIndex = p);
716
+ }
717
+ let m = s;
718
+ (!m || o && (o.index < m.index || o.index === m.index && o.lastIndex > m.lastIndex)) && (m = o);
719
+ let h;
720
+ if (!l) for (;;) {
721
+ if (!c) {
722
+ n.lastIndex < p && (n.lastIndex = p);
723
+ let t = n.exec(e);
724
+ if (!t) {
725
+ l = !0;
726
+ break;
727
+ }
728
+ c = {
729
+ schema: t[2],
730
+ index: t.index + t[1].length,
731
+ lastIndex: t.index + t[0].length
732
+ };
733
+ }
734
+ if (c.index < f) {
735
+ c = void 0;
736
+ continue;
737
+ }
738
+ if (m && c.index > m.index) break;
739
+ let t = c;
740
+ c = void 0;
741
+ let r = this.testSchemaAt(e, t.schema, t.lastIndex);
742
+ if (r) {
743
+ h = {
744
+ schema: t.schema,
745
+ index: t.index,
746
+ lastIndex: t.lastIndex + r
747
+ };
748
+ break;
749
+ }
750
+ }
751
+ let g = h;
752
+ if ((!g || s && (s.index < g.index || s.index === g.index && s.lastIndex > g.lastIndex)) && (g = s), (!g || o && (o.index < g.index || o.index === g.index && o.lastIndex > g.lastIndex)) && (g = o), !g) break;
753
+ g === s ? s = void 0 : g === o && (o = void 0);
754
+ let _ = new Ge(e, g.schema, g.index, g.lastIndex);
755
+ _.schema ? this.__schemas__[_.schema].normalize(_, this) : this.normalize(_), t.push(_), f = g.lastIndex;
756
+ }
757
+ return t.length ? t : null;
758
+ }
759
+ matchAtStart(e) {
760
+ if (!e.length) return null;
761
+ let t = this.re.get_schema_at_start().exec(e);
762
+ if (!t) return null;
763
+ let n = this.testSchemaAt(e, t[2], t[0].length);
764
+ if (!n) return null;
765
+ let r = new Ge(e, t[2], t.index + t[1].length, t.index + t[0].length + n);
766
+ return this.__schemas__[r.schema].normalize(r, this), r;
767
+ }
768
+ tlds(e, t = !1) {
769
+ return e = Array.isArray(e) ? e : [e], t ? this.__opts__.tlds = this.__opts__.tlds.concat(e) : this.__opts__.tlds = e, this.re.set(s(s({}, this.__opts__), {}, { schema_names: Object.keys(this.__schemas__) })), this;
770
+ }
771
+ normalize(e) {
772
+ e.schema || (e.url = `http://${e.url}`), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = `mailto:${e.url}`);
773
+ }
774
+ }, k = 2147483647, A = 36, qe = 1, j = 26, Je = 38, Ye = 700, Xe = 72, Ze = 128, Qe = "-", $e = /^xn--/, et = /[^\0-\x7F]/, tt = /[\x2E\u3002\uFF0E\uFF61]/g, nt = {
775
+ overflow: "Overflow: input needs wider integers to process",
776
+ "not-basic": "Illegal input >= 0x80 (not a basic code point)",
777
+ "invalid-input": "Invalid input"
778
+ }, rt = 35, M = Math.floor, it = String.fromCharCode;
779
+ function N(e) {
780
+ throw RangeError(nt[e]);
781
+ }
782
+ function at(e, t) {
783
+ let n = [], r = e.length;
784
+ for (; r--;) n[r] = t(e[r]);
785
+ return n;
786
+ }
787
+ function ot(e, t) {
788
+ let n = e.split("@"), r = "";
789
+ n.length > 1 && (r = n[0] + "@", e = n[1]), e = e.replace(tt, ".");
790
+ let i = at(e.split("."), t).join(".");
791
+ return r + i;
792
+ }
793
+ function st(e) {
794
+ let t = [], n = 0, r = e.length;
795
+ for (; n < r;) {
796
+ let i = e.charCodeAt(n++);
797
+ if (i >= 55296 && i <= 56319 && n < r) {
798
+ let r = e.charCodeAt(n++);
799
+ (r & 64512) == 56320 ? t.push(((i & 1023) << 10) + (r & 1023) + 65536) : (t.push(i), n--);
800
+ } else t.push(i);
801
+ }
802
+ return t;
803
+ }
804
+ var ct = (e) => String.fromCodePoint(...e), lt = function(e) {
805
+ return e >= 48 && e < 58 ? 26 + (e - 48) : e >= 65 && e < 91 ? e - 65 : e >= 97 && e < 123 ? e - 97 : A;
806
+ }, ut = function(e, t) {
807
+ return e + 22 + 75 * (e < 26) - ((t != 0) << 5);
808
+ }, dt = function(e, t, n) {
809
+ let r = 0;
810
+ for (e = n ? M(e / Ye) : e >> 1, e += M(e / t); e > 455; r += A) e = M(e / rt);
811
+ return M(r + 36 * e / (e + Je));
812
+ }, ft = function(e) {
813
+ let t = [], n = e.length, r = 0, i = Ze, a = Xe, o = e.lastIndexOf(Qe);
814
+ o < 0 && (o = 0);
815
+ for (let n = 0; n < o; ++n) e.charCodeAt(n) >= 128 && N("not-basic"), t.push(e.charCodeAt(n));
816
+ for (let s = o > 0 ? o + 1 : 0; s < n;) {
817
+ let o = r;
818
+ for (let t = 1, i = A;; i += A) {
819
+ s >= n && N("invalid-input");
820
+ let o = lt(e.charCodeAt(s++));
821
+ o >= A && N("invalid-input"), o > M((k - r) / t) && N("overflow"), r += o * t;
822
+ let c = i <= a ? qe : i >= a + j ? j : i - a;
823
+ if (o < c) break;
824
+ let l = A - c;
825
+ t > M(k / l) && N("overflow"), t *= l;
826
+ }
827
+ let c = t.length + 1;
828
+ a = dt(r - o, c, o == 0), M(r / c) > k - i && N("overflow"), i += M(r / c), r %= c, t.splice(r++, 0, i);
829
+ }
830
+ return String.fromCodePoint(...t);
831
+ }, pt = function(e) {
832
+ let t = [];
833
+ e = st(e);
834
+ let n = e.length, r = Ze, i = 0, a = Xe;
835
+ for (let n of e) n < 128 && t.push(it(n));
836
+ let o = t.length, s = o;
837
+ for (o && t.push(Qe); s < n;) {
838
+ let n = k;
839
+ for (let t of e) t >= r && t < n && (n = t);
840
+ let c = s + 1;
841
+ n - r > M((k - i) / c) && N("overflow"), i += (n - r) * c, r = n;
842
+ for (let n of e) if (n < r && ++i > k && N("overflow"), n === r) {
843
+ let e = i;
844
+ for (let n = A;; n += A) {
845
+ let r = n <= a ? qe : n >= a + j ? j : n - a;
846
+ if (e < r) break;
847
+ let i = e - r, o = A - r;
848
+ t.push(it(ut(r + i % o, 0))), e = M(i / o);
849
+ }
850
+ t.push(it(ut(e, 0))), a = dt(i, c, s === o), i = 0, ++s;
851
+ }
852
+ ++i, ++r;
853
+ }
854
+ return t.join("");
855
+ }, mt = {
856
+ version: "2.3.1",
857
+ ucs2: {
858
+ decode: st,
859
+ encode: ct
860
+ },
861
+ decode: ft,
862
+ encode: pt,
863
+ toASCII: function(e) {
864
+ return ot(e, function(e) {
865
+ return et.test(e) ? "xn--" + pt(e) : e;
866
+ });
867
+ },
868
+ toUnicode: function(e) {
869
+ return ot(e, function(e) {
870
+ return $e.test(e) ? ft(e.slice(4).toLowerCase()) : e;
871
+ });
872
+ }
873
+ };
874
+ // ../../node_modules/.pnpm/markdown-it@15.0.3/node_modules/markdown-it/dist/markdown-it.mjs
875
+ a();
876
+ var ht = Object.defineProperty, gt = (e, t) => {
877
+ let n = {};
878
+ for (var r in e) ht(n, r, {
879
+ get: e[r],
880
+ enumerable: !0
881
+ });
882
+ return t || ht(n, Symbol.toStringTag, { value: "Module" }), n;
883
+ }, _t = /* @__PURE__ */ gt({
884
+ arrayReplaceAt: () => yt,
885
+ asciiTrim: () => H,
886
+ callable: () => vt,
887
+ escapeHtml: () => I,
888
+ escapeRE: () => jt,
889
+ fromCodePoint: () => P,
890
+ isMdAsciiPunct: () => B,
891
+ isPunctChar: () => Mt,
892
+ isPunctCharCode: () => z,
893
+ isSpace: () => L,
894
+ isValidEntityCode: () => bt,
895
+ isWhiteSpace: () => R,
896
+ lib: () => Pt,
897
+ normalizeReference: () => V,
898
+ unescapeAll: () => F,
899
+ unescapeMd: () => Tt
900
+ });
901
+ function vt(e) {
902
+ let t = function(...n) {
903
+ return Reflect.construct(e, n, new.target && new.target !== t ? new.target : e);
904
+ };
905
+ return Object.defineProperty(t, "name", { value: e.name }), Object.setPrototypeOf(t, e), t.prototype = e.prototype, t;
906
+ }
907
+ function yt(e, t, n) {
908
+ return [].concat(e.slice(0, t), n, e.slice(t + 1));
909
+ }
910
+ function bt(e) {
911
+ return !(e >= 55296 && e <= 57343 || e >= 64976 && e <= 65007 || (e & 65535) == 65535 || (e & 65535) == 65534 || e >= 0 && e <= 8 || e === 11 || e >= 14 && e <= 31 || e >= 127 && e <= 159 || e > 1114111);
912
+ }
913
+ function P(e) {
914
+ if (e > 65535) {
915
+ e -= 65536;
916
+ let t = 55296 + (e >> 10), n = 56320 + (e & 1023);
917
+ return String.fromCharCode(t, n);
918
+ }
919
+ return String.fromCharCode(e);
920
+ }
921
+ var xt = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, St = RegExp(`${xt.source}|&([a-z#][a-z0-9]{1,31});`, "gi"), Ct = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
922
+ function wt(e, t) {
923
+ if (t.charCodeAt(0) === 35 && Ct.test(t)) {
924
+ let n = t[1].toLowerCase() === "x" ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10);
925
+ return bt(n) ? P(n) : e;
926
+ }
927
+ let n = Ie(e);
928
+ return n === e ? e : n;
929
+ }
930
+ function Tt(e) {
931
+ return e.indexOf("\\") < 0 ? e : e.replace(xt, "$1");
932
+ }
933
+ function F(e) {
934
+ return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(St, function(e, t, n) {
935
+ return t || wt(e, n);
936
+ });
937
+ }
938
+ var Et = /[&<>"]/, Dt = /[&<>"]/g, Ot = {
939
+ "&": "&amp;",
940
+ "<": "&lt;",
941
+ ">": "&gt;",
942
+ "\"": "&quot;"
943
+ };
944
+ function kt(e) {
945
+ return Ot[e];
946
+ }
947
+ function I(e) {
948
+ return Et.test(e) ? e.replace(Dt, kt) : e;
949
+ }
950
+ var At = /[.?*+^$[\]\\(){}|-]/g;
951
+ function jt(e) {
952
+ return e.replace(At, "\\$&");
953
+ }
954
+ function L(e) {
955
+ switch (e) {
956
+ case 9:
957
+ case 32: return !0;
958
+ }
959
+ return !1;
960
+ }
961
+ function R(e) {
962
+ if (e >= 8192 && e <= 8202) return !0;
963
+ switch (e) {
964
+ case 9:
965
+ case 10:
966
+ case 11:
967
+ case 12:
968
+ case 13:
969
+ case 32:
970
+ case 160:
971
+ case 5760:
972
+ case 8239:
973
+ case 8287:
974
+ case 12288: return !0;
975
+ }
976
+ return !1;
977
+ }
978
+ function Mt(e) {
979
+ return fe.test(e) || pe.test(e);
980
+ }
981
+ function z(e) {
982
+ return Mt(P(e));
983
+ }
984
+ function B(e) {
985
+ switch (e) {
986
+ case 33:
987
+ case 34:
988
+ case 35:
989
+ case 36:
990
+ case 37:
991
+ case 38:
992
+ case 39:
993
+ case 40:
994
+ case 41:
995
+ case 42:
996
+ case 43:
997
+ case 44:
998
+ case 45:
999
+ case 46:
1000
+ case 47:
1001
+ case 58:
1002
+ case 59:
1003
+ case 60:
1004
+ case 61:
1005
+ case 62:
1006
+ case 63:
1007
+ case 64:
1008
+ case 91:
1009
+ case 92:
1010
+ case 93:
1011
+ case 94:
1012
+ case 95:
1013
+ case 96:
1014
+ case 123:
1015
+ case 124:
1016
+ case 125:
1017
+ case 126: return !0;
1018
+ default: return !1;
1019
+ }
1020
+ }
1021
+ function V(e) {
1022
+ return e = e.trim().replace(/\s+/g, " "), e.toLowerCase().toUpperCase();
1023
+ }
1024
+ function Nt(e) {
1025
+ return e === 32 || e === 9 || e === 10 || e === 13;
1026
+ }
1027
+ function H(e) {
1028
+ let t = 0;
1029
+ for (; t < e.length && Nt(e.charCodeAt(t)); t++);
1030
+ let n = e.length - 1;
1031
+ for (; n >= t && Nt(e.charCodeAt(n)); n--);
1032
+ return e.slice(t, n + 1);
1033
+ }
1034
+ var Pt = {
1035
+ mdurl: se,
1036
+ ucmicro: ce
1037
+ };
1038
+ function Ft(e, t, n) {
1039
+ let r, i, a, o, s = e.posMax, c = e.pos;
1040
+ for (e.pos = t + 1, r = 1; e.pos < s;) {
1041
+ if (a = e.src.charCodeAt(e.pos), a === 93 && (r--, r === 0)) {
1042
+ i = !0;
1043
+ break;
1044
+ }
1045
+ if (o = e.pos, e.md.inline.skipToken(e), a === 91) {
1046
+ if (o === e.pos - 1) r++;
1047
+ else if (n) return e.pos = c, -1;
1048
+ }
1049
+ }
1050
+ let l = -1;
1051
+ return i && (l = e.pos), e.pos = c, l;
1052
+ }
1053
+ function It(e, t, n) {
1054
+ let r, i = t, a = {
1055
+ ok: !1,
1056
+ pos: 0,
1057
+ str: ""
1058
+ };
1059
+ if (e.charCodeAt(i) === 60) {
1060
+ for (i++; i < n;) {
1061
+ if (r = e.charCodeAt(i), r === 10 || r === 60) return a;
1062
+ if (r === 62) return a.pos = i + 1, a.str = F(e.slice(t + 1, i)), a.ok = !0, a;
1063
+ r === 92 && i + 1 < n ? i += 2 : i++;
1064
+ }
1065
+ return a;
1066
+ }
1067
+ let o = 0;
1068
+ for (; i < n && (r = e.charCodeAt(i), !(r === 32 || r < 32 || r === 127));) if (r === 92 && i + 1 < n) {
1069
+ if (e.charCodeAt(i + 1) === 32) {
1070
+ i++;
1071
+ continue;
1072
+ }
1073
+ i += 2;
1074
+ } else {
1075
+ if (r === 40 && (o++, o > 32)) return a;
1076
+ if (r === 41) {
1077
+ if (o === 0) break;
1078
+ o--;
1079
+ }
1080
+ i++;
1081
+ }
1082
+ return t === i || o !== 0 || (a.str = F(e.slice(t, i)), a.pos = i, a.ok = !0), a;
1083
+ }
1084
+ function Lt(e, t, n, r) {
1085
+ let i, a = t, o = {
1086
+ ok: !1,
1087
+ can_continue: !1,
1088
+ pos: 0,
1089
+ str: "",
1090
+ marker: 0
1091
+ };
1092
+ if (r) o.str = r.str, o.marker = r.marker;
1093
+ else {
1094
+ if (a >= n) return o;
1095
+ let r = e.charCodeAt(a);
1096
+ if (r !== 34 && r !== 39 && r !== 40) return o;
1097
+ t++, a++, r === 40 && (r = 41), o.marker = r;
1098
+ }
1099
+ for (; a < n;) {
1100
+ if (i = e.charCodeAt(a), i === o.marker) return o.pos = a + 1, o.str += F(e.slice(t, a)), o.ok = !0, o;
1101
+ if (i === 40 && o.marker === 41) return o;
1102
+ i === 92 && a + 1 < n && a++, a++;
1103
+ }
1104
+ return o.can_continue = !0, o.str += F(e.slice(t, a)), o;
1105
+ }
1106
+ var Rt = /* @__PURE__ */ gt({
1107
+ parseLinkDestination: () => It,
1108
+ parseLinkLabel: () => Ft,
1109
+ parseLinkTitle: () => Lt
1110
+ });
1111
+ function U(e) {
1112
+ "@babel/helpers - typeof";
1113
+ return U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1114
+ return typeof e;
1115
+ } : function(e) {
1116
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1117
+ }, U(e);
1118
+ }
1119
+ function zt(e, t) {
1120
+ if (U(e) != "object" || !e) return e;
1121
+ var n = e[Symbol.toPrimitive];
1122
+ if (n !== void 0) {
1123
+ var r = n.call(e, t || "default");
1124
+ if (U(r) != "object") return r;
1125
+ throw TypeError("@@toPrimitive must return a primitive value.");
1126
+ }
1127
+ return (t === "string" ? String : Number)(e);
1128
+ }
1129
+ function Bt(e) {
1130
+ var t = zt(e, "string");
1131
+ return U(t) == "symbol" ? t : t + "";
1132
+ }
1133
+ function W(e, t, n) {
1134
+ return (t = Bt(t)) in e ? Object.defineProperty(e, t, {
1135
+ value: n,
1136
+ enumerable: !0,
1137
+ configurable: !0,
1138
+ writable: !0
1139
+ }) : e[t] = n, e;
1140
+ }
1141
+ var G = class {
1142
+ constructor(e, t, n) {
1143
+ W(this, "map", null), W(this, "level", 0), W(this, "children", null), W(this, "content", ""), W(this, "markup", ""), W(this, "info", ""), W(this, "block", !1), W(this, "hidden", !1), this.type = e, this.tag = t, this.attrs = null, this.nesting = n, this.meta = null;
1144
+ }
1145
+ attrIndex(e) {
1146
+ if (!this.attrs) return -1;
1147
+ let t = this.attrs;
1148
+ for (let n = 0, r = t.length; n < r; n++) if (t[n][0] === e) return n;
1149
+ return -1;
1150
+ }
1151
+ attrPush(e) {
1152
+ this.attrs ? this.attrs.push(e) : this.attrs = [e];
1153
+ }
1154
+ attrSet(e, t) {
1155
+ let n = this.attrIndex(e), r = [e, t];
1156
+ n < 0 ? this.attrPush(r) : this.attrs[n] = r;
1157
+ }
1158
+ attrGet(e) {
1159
+ let t = this.attrIndex(e), n = null;
1160
+ return t >= 0 && (n = this.attrs[t][1]), n;
1161
+ }
1162
+ attrJoin(e, t) {
1163
+ let n = this.attrIndex(e);
1164
+ n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = `${this.attrs[n][1]} ${t}`;
1165
+ }
1166
+ }, K = class {
1167
+ constructor() {
1168
+ W(this, "__rules__", []), W(this, "__cache__", null);
1169
+ }
1170
+ __find__(e) {
1171
+ for (let t = 0; t < this.__rules__.length; t++) if (this.__rules__[t].name === e) return t;
1172
+ return -1;
1173
+ }
1174
+ __compile__() {
1175
+ let e = /* @__PURE__ */ new Set();
1176
+ this.__rules__.forEach((t) => {
1177
+ t.enabled && t.alt.forEach((t) => {
1178
+ t && e.add(t);
1179
+ });
1180
+ }), this.__cache__ = Object.create(null), this.__cache__[""] = [], this.__rules__.forEach((e) => {
1181
+ e.enabled && this.__cache__[""].push(e.fn);
1182
+ }), e.forEach((e) => {
1183
+ this.__cache__[e] = [], this.__rules__.forEach((t) => {
1184
+ t.enabled && t.alt.indexOf(e) >= 0 && this.__cache__[e].push(t.fn);
1185
+ });
1186
+ });
1187
+ }
1188
+ at(e, t, n = {}) {
1189
+ let r = this.__find__(e);
1190
+ if (r === -1) throw Error(`Parser rule not found: ${e}`);
1191
+ this.__rules__[r].fn = t, this.__rules__[r].alt = n.alt || [], this.__cache__ = null;
1192
+ }
1193
+ before(e, t, n, r = {}) {
1194
+ let i = this.__find__(e);
1195
+ if (i === -1) throw Error(`Parser rule not found: ${e}`);
1196
+ this.__rules__.splice(i, 0, {
1197
+ name: t,
1198
+ enabled: !0,
1199
+ fn: n,
1200
+ alt: r.alt || []
1201
+ }), this.__cache__ = null;
1202
+ }
1203
+ after(e, t, n, r = {}) {
1204
+ let i = this.__find__(e);
1205
+ if (i === -1) throw Error(`Parser rule not found: ${e}`);
1206
+ this.__rules__.splice(i + 1, 0, {
1207
+ name: t,
1208
+ enabled: !0,
1209
+ fn: n,
1210
+ alt: r.alt || []
1211
+ }), this.__cache__ = null;
1212
+ }
1213
+ push(e, t, n = {}) {
1214
+ this.__rules__.push({
1215
+ name: e,
1216
+ enabled: !0,
1217
+ fn: t,
1218
+ alt: n.alt || []
1219
+ }), this.__cache__ = null;
1220
+ }
1221
+ enable(e, t = !1) {
1222
+ Array.isArray(e) || (e = [e]);
1223
+ let n = [];
1224
+ return e.forEach((e) => {
1225
+ let r = this.__find__(e);
1226
+ if (r < 0) {
1227
+ if (t) return;
1228
+ throw Error(`Rules manager: invalid rule name ${e}`);
1229
+ }
1230
+ this.__rules__[r].enabled = !0, n.push(e);
1231
+ }), this.__cache__ = null, n;
1232
+ }
1233
+ enableOnly(e, t = !1) {
1234
+ Array.isArray(e) || (e = [e]), this.__rules__.forEach((e) => {
1235
+ e.enabled = !1;
1236
+ }), this.enable(e, t);
1237
+ }
1238
+ disable(e, t = !1) {
1239
+ Array.isArray(e) || (e = [e]);
1240
+ let n = [];
1241
+ return e.forEach((e) => {
1242
+ let r = this.__find__(e);
1243
+ if (r < 0) {
1244
+ if (t) return;
1245
+ throw Error(`Rules manager: invalid rule name ${e}`);
1246
+ }
1247
+ this.__rules__[r].enabled = !1, n.push(e);
1248
+ }), this.__cache__ = null, n;
1249
+ }
1250
+ getRules(e) {
1251
+ return this.__cache__ || this.__compile__(), this.__cache__[e] || [];
1252
+ }
1253
+ }, q = {};
1254
+ q.code_inline = function(e, t, n, r, i) {
1255
+ let a = e[t];
1256
+ return `<code${i.renderAttrs(a)}>${I(a.content)}</code>`;
1257
+ }, q.code_block = function(e, t, n, r, i) {
1258
+ let a = e[t];
1259
+ return `<pre${i.renderAttrs(a)}><code>${I(e[t].content)}</code></pre>\n`;
1260
+ }, q.fence = function(e, t, n, r, i) {
1261
+ let a = e[t], o = a.info ? F(a.info).trim() : "", s = "", c = "";
1262
+ if (o) {
1263
+ let e = o.split(/(\s+)/g);
1264
+ s = e[0], c = e.slice(2).join("");
1265
+ }
1266
+ let l;
1267
+ if (l = n.highlight && n.highlight(a.content, s, c) || I(a.content), l.indexOf("<pre") === 0) return l + "\n";
1268
+ if (o) {
1269
+ let e = a.attrIndex("class"), t = a.attrs ? a.attrs.slice() : [];
1270
+ e < 0 ? t.push(["class", `${n.langPrefix}${s}`]) : (t[e] = [t[e][0], t[e][1]], t[e][1] += ` ${n.langPrefix}${s}`);
1271
+ let r = { attrs: t };
1272
+ return `<pre><code${i.renderAttrs(r)}>${l}</code></pre>\n`;
1273
+ }
1274
+ return `<pre><code${i.renderAttrs(a)}>${l}</code></pre>\n`;
1275
+ }, q.image = function(e, t, n, r, i) {
1276
+ let a = e[t];
1277
+ return a.attrs[a.attrIndex("alt")][1] = i.renderInlineAsText(a.children, n, r), i.renderToken(e, t, n);
1278
+ }, q.hardbreak = function(e, t, n) {
1279
+ return n.xhtmlOut ? "<br />\n" : "<br>\n";
1280
+ }, q.softbreak = function(e, t, n) {
1281
+ return n.breaks ? n.xhtmlOut ? "<br />\n" : "<br>\n" : "\n";
1282
+ }, q.text = function(e, t) {
1283
+ return I(e[t].content);
1284
+ }, q.html_block = function(e, t) {
1285
+ return e[t].content;
1286
+ }, q.html_inline = function(e, t) {
1287
+ return e[t].content;
1288
+ };
1289
+ var Vt = class {
1290
+ constructor() {
1291
+ W(this, "rules", Object.assign({}, q));
1292
+ }
1293
+ renderAttrs(e) {
1294
+ let t, n, r;
1295
+ if (!e.attrs) return "";
1296
+ for (r = "", t = 0, n = e.attrs.length; t < n; t++) r += ` ${I(e.attrs[t][0])}="${I(String(e.attrs[t][1]))}"`;
1297
+ return r;
1298
+ }
1299
+ renderToken(e, t, n) {
1300
+ let r = e[t], i = "";
1301
+ if (r.hidden) return "";
1302
+ let a = t - 1;
1303
+ for (; a >= 0 && e[a].hidden && e[a].nesting === 0;) a--;
1304
+ r.block && r.nesting !== -1 && a >= 0 && e[a].hidden && e[a].nesting === -1 && (i += "\n"), i += (r.nesting === -1 ? "</" : "<") + r.tag, i += this.renderAttrs(r), r.nesting === 0 && n.xhtmlOut && (i += " /");
1305
+ let o = !1;
1306
+ if (r.block && (o = !0, r.nesting === 1)) {
1307
+ let n = t + 1;
1308
+ for (; n < e.length && e[n].hidden && e[n].nesting === 0;) n++;
1309
+ if (n < e.length) {
1310
+ let t = e[n];
1311
+ (t.type === "inline" || t.hidden || t.nesting === -1 && t.tag === r.tag) && (o = !1);
1312
+ }
1313
+ }
1314
+ return i += o ? ">\n" : ">", i;
1315
+ }
1316
+ renderInline(e, t, n) {
1317
+ let r = "", i = this.rules;
1318
+ for (let a = 0, o = e.length; a < o; a++) {
1319
+ let o = e[a].type;
1320
+ i[o] === void 0 ? r += this.renderToken(e, a, t) : r += i[o](e, a, t, n, this);
1321
+ }
1322
+ return r;
1323
+ }
1324
+ renderInlineAsText(e, t, n) {
1325
+ let r = "";
1326
+ for (let i = 0, a = e.length; i < a; i++) switch (e[i].type) {
1327
+ case "text":
1328
+ case "code_inline":
1329
+ r += e[i].content;
1330
+ break;
1331
+ case "image":
1332
+ r += this.renderInlineAsText(e[i].children, t, n);
1333
+ break;
1334
+ case "html_inline":
1335
+ case "html_block":
1336
+ r += e[i].content;
1337
+ break;
1338
+ case "softbreak":
1339
+ case "hardbreak": r += "\n";
1340
+ }
1341
+ return r;
1342
+ }
1343
+ render(e, t, n) {
1344
+ let r = "", i = this.rules;
1345
+ for (let a = 0, o = e.length; a < o; a++) {
1346
+ let o = e[a].type;
1347
+ o === "inline" ? r += this.renderInline(e[a].children, t, n) : i[o] === void 0 ? r += this.renderToken(e, a, t) : r += i[o](e, a, t, n, this);
1348
+ }
1349
+ return r;
1350
+ }
1351
+ }, Ht = class {
1352
+ constructor(e, t, n) {
1353
+ W(this, "tokens", []), W(this, "inlineMode", !1), W(this, "Token", G), this.src = e, this.env = n, this.md = t;
1354
+ }
1355
+ }, Ut = /\r\n?/g, Wt = /\0/g;
1356
+ function Gt(e) {
1357
+ let t;
1358
+ t = e.src.replace(Ut, "\n"), t = t.replace(Wt, "�"), e.src = t;
1359
+ }
1360
+ function Kt(e) {
1361
+ let t;
1362
+ e.inlineMode ? (t = new e.Token("inline", "", 0), t.content = e.src, t.map = [0, 1], t.children = [], e.tokens.push(t)) : e.md.block.parse(e.src, e.md, e.env, e.tokens);
1363
+ }
1364
+ function qt(e) {
1365
+ let t = e.tokens, n = 0;
1366
+ for (let e = 0; e < t.length; e++) t[e].type !== "reference_definition" && (e !== n && (t[n] = t[e]), n++);
1367
+ t.length !== n && (t.length = n);
1368
+ }
1369
+ function Jt(e) {
1370
+ let t = e.tokens;
1371
+ for (let n = 0, r = t.length; n < r; n++) {
1372
+ let r = t[n];
1373
+ r.type === "inline" && e.md.inline.parse(r.content, e.md, e.env, r.children);
1374
+ }
1375
+ }
1376
+ function Yt(e) {
1377
+ return /^<a[>\s]/i.test(e);
1378
+ }
1379
+ function Xt(e) {
1380
+ return /^<\/a\s*>/i.test(e);
1381
+ }
1382
+ function Zt(e) {
1383
+ let t = e.tokens;
1384
+ if (e.md.options.linkify) for (let n = 0, r = t.length; n < r; n++) {
1385
+ if (t[n].type !== "inline" || !e.md.linkify.test(t[n].content)) continue;
1386
+ let r = t[n].children, i = [], a = 0;
1387
+ for (let t = r.length - 1; t >= 0; t--) {
1388
+ let n = r[t];
1389
+ if (n.type === "link_close") for (t--; r[t].level !== n.level && r[t].type !== "link_open";) t--;
1390
+ else if (n.type === "html_inline" && (Yt(n.content) && a > 0 && a--, Xt(n.content) && a++), !(a > 0) && n.type === "text" && e.md.linkify.test(n.content)) {
1391
+ let a = n.content, o = e.md.linkify.match(a), s = [], c = n.level, l = 0;
1392
+ o.length > 0 && o[0].index === 0 && t > 0 && r[t - 1].type === "text_special" && (o = o.slice(1));
1393
+ for (let t = 0; t < o.length; t++) {
1394
+ let n = o[t].url, r = e.md.normalizeLink(n);
1395
+ if (!e.md.validateLink(r)) continue;
1396
+ let i = o[t].text;
1397
+ i = o[t].schema ? o[t].schema === "mailto:" && !/^mailto:/i.test(i) ? e.md.normalizeLinkText(`mailto:${i}`).replace(/^mailto:/, "") : e.md.normalizeLinkText(i) : e.md.normalizeLinkText(`http://${i}`).replace(/^http:\/\//, "");
1398
+ let u = o[t].index;
1399
+ if (u > l) {
1400
+ let t = new e.Token("text", "", 0);
1401
+ t.content = a.slice(l, u), t.level = c, s.push(t);
1402
+ }
1403
+ let d = new e.Token("link_open", "a", 1);
1404
+ d.attrs = [["href", r]], d.level = c++, d.markup = "linkify", d.info = "auto", s.push(d);
1405
+ let f = new e.Token("text", "", 0);
1406
+ f.content = i, f.level = c, s.push(f);
1407
+ let p = new e.Token("link_close", "a", -1);
1408
+ p.level = --c, p.markup = "linkify", p.info = "auto", s.push(p), l = o[t].lastIndex;
1409
+ }
1410
+ if (l < a.length) {
1411
+ let t = new e.Token("text", "", 0);
1412
+ t.content = a.slice(l), t.level = c, s.push(t);
1413
+ }
1414
+ i.push({
1415
+ index: t,
1416
+ nodes: s
1417
+ });
1418
+ }
1419
+ }
1420
+ if (i.length > 0) {
1421
+ let e = r.length;
1422
+ for (let t of i) e += t.nodes.length - 1;
1423
+ let a = Array(e), o = 0, s = 0;
1424
+ i.reverse();
1425
+ for (let e = 0; e < r.length; e++) {
1426
+ let t = i[o];
1427
+ if ((t == null ? void 0 : t.index) === e) {
1428
+ for (let e of t.nodes) a[s++] = e;
1429
+ o++;
1430
+ } else a[s++] = r[e];
1431
+ }
1432
+ t[n].children = a;
1433
+ }
1434
+ }
1435
+ }
1436
+ var Qt = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, $t = /\((c|tm|r)\)/i, en = /\((c|tm|r)\)/gi, tn = {
1437
+ c: "©",
1438
+ r: "®",
1439
+ tm: "™"
1440
+ };
1441
+ function nn(e, t) {
1442
+ return tn[t.toLowerCase()];
1443
+ }
1444
+ function rn(e) {
1445
+ let t = 0;
1446
+ for (let n = e.length - 1; n >= 0; n--) {
1447
+ let r = e[n];
1448
+ r.type === "text" && !t && (r.content = r.content.replace(en, nn)), r.type === "link_open" && r.info === "auto" && t--, r.type === "link_close" && r.info === "auto" && t++;
1449
+ }
1450
+ }
1451
+ function an(e) {
1452
+ let t = 0;
1453
+ for (let n = e.length - 1; n >= 0; n--) {
1454
+ let r = e[n];
1455
+ r.type === "text" && !t && Qt.test(r.content) && (r.content = r.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/gm, "$1—").replace(/(^|\s)--(?=\s|$)/gm, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm, "$1–")), r.type === "link_open" && r.info === "auto" && t--, r.type === "link_close" && r.info === "auto" && t++;
1456
+ }
1457
+ }
1458
+ function on(e) {
1459
+ let t;
1460
+ if (e.md.options.typographer) for (t = e.tokens.length - 1; t >= 0; t--) e.tokens[t].type === "inline" && ($t.test(e.tokens[t].content) && rn(e.tokens[t].children), Qt.test(e.tokens[t].content) && an(e.tokens[t].children));
1461
+ }
1462
+ var sn = /['"]/, cn = /['"]/g, ln = "’", un = 1e3;
1463
+ function dn(e, t, n) {
1464
+ for (; e.length > n;) {
1465
+ let n = e.pop();
1466
+ n.isSingleQuote ? t.single = n.prevSameQuoteIdx : t.double = n.prevSameQuoteIdx;
1467
+ }
1468
+ }
1469
+ function J(e, t, n, r) {
1470
+ e[t] || (e[t] = []), e[t].push({
1471
+ pos: n,
1472
+ ch: r
1473
+ });
1474
+ }
1475
+ function fn(e, t) {
1476
+ let n = "", r = 0;
1477
+ t.sort((e, t) => e.pos - t.pos);
1478
+ for (let i = 0; i < t.length; i++) {
1479
+ let a = t[i];
1480
+ n += e.slice(r, a.pos) + a.ch, r = a.pos + 1;
1481
+ }
1482
+ return n + e.slice(r);
1483
+ }
1484
+ function pn(e, t) {
1485
+ let n, r = [], i = {
1486
+ single: -1,
1487
+ double: -1
1488
+ }, a = {};
1489
+ for (let o = 0; o < e.length; o++) {
1490
+ let s = e[o], c = e[o].level;
1491
+ for (n = r.length - 1; n >= 0 && !(r[n].level <= c); n--);
1492
+ if (dn(r, i, n + 1), s.type !== "text") continue;
1493
+ let l = s.content, u = 0, d = l.length;
1494
+ OUTER: for (; u < d;) {
1495
+ cn.lastIndex = u;
1496
+ let s = cn.exec(l);
1497
+ if (!s) break;
1498
+ let f = !0, p = !0;
1499
+ u = s.index + 1;
1500
+ let m = s[0] === "'", h = 32;
1501
+ if (s.index - 1 >= 0) h = l.charCodeAt(s.index - 1);
1502
+ else for (n = o - 1; n >= 0 && e[n].type !== "softbreak" && e[n].type !== "hardbreak"; n--) if (e[n].content) {
1503
+ h = e[n].content.charCodeAt(e[n].content.length - 1);
1504
+ break;
1505
+ }
1506
+ let g = 32;
1507
+ if (u < d) g = l.charCodeAt(u);
1508
+ else for (n = o + 1; n < e.length && e[n].type !== "softbreak" && e[n].type !== "hardbreak"; n++) if (e[n].content) {
1509
+ g = e[n].content.charCodeAt(0);
1510
+ break;
1511
+ }
1512
+ let _ = B(h) || z(h), v = B(g) || z(g), y = R(h), b = R(g);
1513
+ if (b ? f = !1 : v && (y || _ || (f = !1)), y ? p = !1 : _ && (b || v || (p = !1)), g === 34 && s[0] === "\"" && h >= 48 && h <= 57 && (p = f = !1), f && p && (f = _, p = v), !f && !p) m && J(a, o, s.index, ln);
1514
+ else {
1515
+ if (p && (n = m ? i.single : i.double, n >= 0 && r[n].level === c)) {
1516
+ let e = r[n], c, l;
1517
+ m ? (c = t.md.options.quotes[2], l = t.md.options.quotes[3]) : (c = t.md.options.quotes[0], l = t.md.options.quotes[1]), J(a, o, s.index, l), J(a, e.tokenIdx, e.contentPos, c), dn(r, i, n);
1518
+ continue OUTER;
1519
+ }
1520
+ if (f) {
1521
+ if (r.length >= un) return;
1522
+ r.push({
1523
+ tokenIdx: o,
1524
+ contentPos: s.index,
1525
+ isSingleQuote: m,
1526
+ level: c,
1527
+ prevSameQuoteIdx: m ? i.single : i.double
1528
+ }), m ? i.single = r.length - 1 : i.double = r.length - 1;
1529
+ } else p && m && J(a, o, s.index, ln);
1530
+ }
1531
+ }
1532
+ }
1533
+ Object.keys(a).forEach(function(t) {
1534
+ let n = Number(t);
1535
+ e[n].content = fn(e[n].content, a[t]);
1536
+ });
1537
+ }
1538
+ function mn(e) {
1539
+ if (e.md.options.typographer) for (let t = e.tokens.length - 1; t >= 0; t--) e.tokens[t].type === "inline" && sn.test(e.tokens[t].content) && pn(e.tokens[t].children, e);
1540
+ }
1541
+ function hn(e) {
1542
+ let t, n, r = e.length;
1543
+ for (t = 0; t < r; t++) e[t].type === "text_special" && (e[t].type = "text");
1544
+ for (t = n = 0; t < r; t++) e[t].type === "text" && t + 1 < r && e[t + 1].type === "text" ? e[t + 1].content = e[t].content + e[t + 1].content : (t !== n && (e[n] = e[t]), n++);
1545
+ t !== n && (e.length = n);
1546
+ }
1547
+ function gn(e) {
1548
+ let t, n, r = e.tokens, i = r.length;
1549
+ for (let e = 0; e < i; e++) {
1550
+ if (r[e].type !== "inline") continue;
1551
+ let i = r[e].children, a = i.length;
1552
+ for (t = 0; t < a; t++) i[t].type === "text_special" && (i[t].type = "text"), i[t].children && hn(i[t].children);
1553
+ for (t = n = 0; t < a; t++) i[t].type === "text" && t + 1 < a && i[t + 1].type === "text" ? i[t + 1].content = i[t].content + i[t + 1].content : (t !== n && (i[n] = i[t]), n++);
1554
+ t !== n && (i.length = n);
1555
+ }
1556
+ }
1557
+ var _n = [
1558
+ ["normalize", Gt],
1559
+ ["block", Kt],
1560
+ ["strip_references", qt],
1561
+ ["inline", Jt],
1562
+ ["linkify", Zt],
1563
+ ["replacements", on],
1564
+ ["smartquotes", mn],
1565
+ ["text_join", gn]
1566
+ ], vn = class {
1567
+ constructor() {
1568
+ W(this, "ruler", new K()), W(this, "State", Ht);
1569
+ for (let e = 0; e < _n.length; e++) this.ruler.push(_n[e][0], _n[e][1]);
1570
+ }
1571
+ process(e) {
1572
+ let t = this.ruler.getRules("");
1573
+ for (let n = 0, r = t.length; n < r; n++) t[n](e);
1574
+ }
1575
+ }, yn = class {
1576
+ constructor(e, t, n, r) {
1577
+ W(this, "bMarks", []), W(this, "eMarks", []), W(this, "tShift", []), W(this, "sCount", []), W(this, "bsCount", []), W(this, "blkIndent", 0), W(this, "line", 0), W(this, "lineMax", 0), W(this, "tight", !1), W(this, "listIndent", -1), W(this, "parentType", "root"), W(this, "level", 0), W(this, "Token", G), this.src = e, this.md = t, this.env = n, this.tokens = r;
1578
+ let i = this.src;
1579
+ for (let e = 0, t = 0, n = 0, r = 0, a = i.length, o = !1; t < a; t++) {
1580
+ let s = i.charCodeAt(t);
1581
+ if (!o) {
1582
+ if (L(s)) {
1583
+ n++, s === 9 ? r += 4 - r % 4 : r++;
1584
+ continue;
1585
+ }
1586
+ o = !0;
1587
+ }
1588
+ (s === 10 || t === a - 1) && (s !== 10 && t++, this.bMarks.push(e), this.eMarks.push(t), this.tShift.push(n), this.sCount.push(r), this.bsCount.push(0), o = !1, n = 0, r = 0, e = t + 1);
1589
+ }
1590
+ this.bMarks.push(i.length), this.eMarks.push(i.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
1591
+ }
1592
+ push(e, t, n) {
1593
+ let r = new G(e, t, n);
1594
+ return r.block = !0, n < 0 && this.level--, r.level = this.level, n > 0 && this.level++, this.tokens.push(r), r;
1595
+ }
1596
+ isEmpty(e) {
1597
+ return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
1598
+ }
1599
+ skipEmptyLines(e) {
1600
+ for (let t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++);
1601
+ return e;
1602
+ }
1603
+ skipSpaces(e) {
1604
+ for (let t = this.src.length; e < t && L(this.src.charCodeAt(e)); e++);
1605
+ return e;
1606
+ }
1607
+ skipSpacesBack(e, t) {
1608
+ if (e <= t) return e;
1609
+ for (; e > t;) if (!L(this.src.charCodeAt(--e))) return e + 1;
1610
+ return e;
1611
+ }
1612
+ skipChars(e, t) {
1613
+ for (let n = this.src.length; e < n && this.src.charCodeAt(e) === t; e++);
1614
+ return e;
1615
+ }
1616
+ skipCharsBack(e, t, n) {
1617
+ if (e <= n) return e;
1618
+ for (; e > n;) if (t !== this.src.charCodeAt(--e)) return e + 1;
1619
+ return e;
1620
+ }
1621
+ getLines(e, t, n, r) {
1622
+ if (e >= t) return "";
1623
+ let i = Array(t - e);
1624
+ for (let a = 0, o = e; o < t; o++, a++) {
1625
+ let e = 0, s = this.bMarks[o], c = s, l;
1626
+ for (l = o + 1 < t || r ? this.eMarks[o] + 1 : this.eMarks[o]; c < l && e < n;) {
1627
+ let t = this.src.charCodeAt(c);
1628
+ if (L(t)) t === 9 ? e += 4 - (e + this.bsCount[o]) % 4 : e++;
1629
+ else if (c - s < this.tShift[o]) e++;
1630
+ else break;
1631
+ c++;
1632
+ }
1633
+ e > n ? i[a] = Array(e - n + 1).join(" ") + this.src.slice(c, l) : i[a] = this.src.slice(c, l);
1634
+ }
1635
+ return i.join("");
1636
+ }
1637
+ }, bn = 65536;
1638
+ function xn(e, t) {
1639
+ let n = e.bMarks[t] + e.tShift[t], r = e.eMarks[t];
1640
+ return e.src.slice(n, r);
1641
+ }
1642
+ function Sn(e) {
1643
+ let t = [], n = e.length, r = 0, i = e.charCodeAt(r), a = !1, o = 0, s = "";
1644
+ for (; r < n;) i === 124 && (a ? (s += e.substring(o, r - 1), o = r) : (t.push(s + e.substring(o, r)), s = "", o = r + 1)), a = i === 92, r++, i = e.charCodeAt(r);
1645
+ return t.push(s + e.substring(o)), t;
1646
+ }
1647
+ function Cn(e, t, n, r) {
1648
+ if (t + 2 > n) return !1;
1649
+ let i = t + 1;
1650
+ if (e.sCount[i] < e.blkIndent || e.sCount[i] - e.blkIndent >= 4) return !1;
1651
+ let a = e.bMarks[i] + e.tShift[i];
1652
+ if (a >= e.eMarks[i]) return !1;
1653
+ let o = e.src.charCodeAt(a++);
1654
+ if (o !== 124 && o !== 45 && o !== 58 || a >= e.eMarks[i]) return !1;
1655
+ let s = e.src.charCodeAt(a++);
1656
+ if (s !== 124 && s !== 45 && s !== 58 && !L(s) || o === 45 && L(s)) return !1;
1657
+ for (; a < e.eMarks[i];) {
1658
+ let t = e.src.charCodeAt(a);
1659
+ if (t !== 124 && t !== 45 && t !== 58 && !L(t)) return !1;
1660
+ a++;
1661
+ }
1662
+ let c = xn(e, t + 1), l = c.split("|"), u = [];
1663
+ for (let e = 0; e < l.length; e++) {
1664
+ let t = l[e].trim();
1665
+ if (!t) {
1666
+ if (e === 0 || e === l.length - 1) continue;
1667
+ return !1;
1668
+ }
1669
+ if (!/^:?-+:?$/.test(t)) return !1;
1670
+ t.charCodeAt(t.length - 1) === 58 ? u.push(t.charCodeAt(0) === 58 ? "center" : "right") : t.charCodeAt(0) === 58 ? u.push("left") : u.push("");
1671
+ }
1672
+ if (c = xn(e, t).trim(), c.indexOf("|") === -1 || e.sCount[t] - e.blkIndent >= 4) return !1;
1673
+ l = Sn(c), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop();
1674
+ let d = l.length;
1675
+ if (d === 0 || d !== u.length) return !1;
1676
+ if (r) return !0;
1677
+ let f = e.parentType;
1678
+ e.parentType = "table";
1679
+ let p = e.md.block.ruler.getRules("blockquote"), m = e.push("table_open", "table", 1), h = [t, 0];
1680
+ m.map = h;
1681
+ let g = e.push("thead_open", "thead", 1);
1682
+ g.map = [t, t + 1];
1683
+ let _ = e.push("tr_open", "tr", 1);
1684
+ _.map = [t, t + 1];
1685
+ for (let t = 0; t < l.length; t++) {
1686
+ let n = e.push("th_open", "th", 1);
1687
+ u[t] && (n.attrs = [["style", `text-align:${u[t]}`]]);
1688
+ let r = e.push("inline", "", 0);
1689
+ r.content = l[t].trim(), r.children = [], e.push("th_close", "th", -1);
1690
+ }
1691
+ e.push("tr_close", "tr", -1), e.push("thead_close", "thead", -1);
1692
+ let v, y = 0;
1693
+ for (i = t + 2; i < n && !(e.sCount[i] < e.blkIndent); i++) {
1694
+ let r = !1;
1695
+ for (let t = 0, a = p.length; t < a; t++) if (p[t](e, i, n, !0)) {
1696
+ r = !0;
1697
+ break;
1698
+ }
1699
+ if (r || (c = xn(e, i).trim(), !c) || e.sCount[i] - e.blkIndent >= 4 || (l = Sn(c), l.length && l[0] === "" && l.shift(), l.length && l[l.length - 1] === "" && l.pop(), y += d - l.length, y > bn)) break;
1700
+ if (i === t + 2) {
1701
+ let n = e.push("tbody_open", "tbody", 1);
1702
+ n.map = v = [t + 2, 0];
1703
+ }
1704
+ let a = e.push("tr_open", "tr", 1);
1705
+ a.map = [i, i + 1];
1706
+ for (let t = 0; t < d; t++) {
1707
+ let n = e.push("td_open", "td", 1);
1708
+ u[t] && (n.attrs = [["style", `text-align:${u[t]}`]]);
1709
+ let r = e.push("inline", "", 0);
1710
+ r.content = l[t] ? l[t].trim() : "", r.children = [], e.push("td_close", "td", -1);
1711
+ }
1712
+ e.push("tr_close", "tr", -1);
1713
+ }
1714
+ return v && (e.push("tbody_close", "tbody", -1), v[1] = i), e.push("table_close", "table", -1), h[1] = i, e.parentType = f, e.line = i, !0;
1715
+ }
1716
+ function wn(e, t, n) {
1717
+ if (e.sCount[t] - e.blkIndent < 4) return !1;
1718
+ let r = t + 1, i = r;
1719
+ for (; r < n;) if (e.isEmpty(r)) r++;
1720
+ else if (e.sCount[r] - e.blkIndent >= 4) r++, i = r;
1721
+ else break;
1722
+ e.line = i;
1723
+ let a = e.push("code_block", "code", 0);
1724
+ return a.content = e.getLines(t, i, 4 + e.blkIndent, !1) + "\n", a.map = [t, e.line], !0;
1725
+ }
1726
+ function Tn(e, t, n, r) {
1727
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t];
1728
+ if (e.sCount[t] - e.blkIndent >= 4 || i + 3 > a) return !1;
1729
+ let o = e.src.charCodeAt(i);
1730
+ if (o !== 126 && o !== 96) return !1;
1731
+ let s = i;
1732
+ i = e.skipChars(i, o);
1733
+ let c = i - s;
1734
+ if (c < 3) return !1;
1735
+ let l = e.src.slice(s, i), u = e.src.slice(i, a);
1736
+ if (o === 96 && u.indexOf(String.fromCharCode(o)) >= 0) return !1;
1737
+ if (r) return !0;
1738
+ let d = t, f = !1;
1739
+ for (; d++, !(d >= n || (i = s = e.bMarks[d] + e.tShift[d], a = e.eMarks[d], i < a && e.sCount[d] < e.blkIndent));) if (e.src.charCodeAt(i) === o && !(e.sCount[d] - e.blkIndent >= 4) && (i = e.skipChars(i, o), !(i - s < c) && (i = e.skipSpaces(i), !(i < a)))) {
1740
+ f = !0;
1741
+ break;
1742
+ }
1743
+ c = e.sCount[t], e.line = d + +!!f;
1744
+ let p = e.push("fence", "code", 0);
1745
+ return p.info = u, p.content = e.getLines(t + 1, d, c, !0), p.markup = l, p.map = [t, e.line], !0;
1746
+ }
1747
+ function En(e, t, n, r) {
1748
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t], o = e.lineMax;
1749
+ if (e.sCount[t] - e.blkIndent >= 4 || e.src.charCodeAt(i) !== 62) return !1;
1750
+ if (r) return !0;
1751
+ let s = [], c = [], l = [], u = [], d = e.md.block.ruler.getRules("blockquote"), f = e.parentType;
1752
+ e.parentType = "blockquote";
1753
+ let p = !1, m;
1754
+ for (m = t; m < n; m++) {
1755
+ let t = e.sCount[m] < e.blkIndent;
1756
+ if (i = e.bMarks[m] + e.tShift[m], a = e.eMarks[m], i >= a) break;
1757
+ if (e.src.charCodeAt(i++) === 62 && !t) {
1758
+ let t = e.sCount[m] + 1, n, r;
1759
+ e.src.charCodeAt(i) === 32 ? (i++, t++, r = !1, n = !0) : e.src.charCodeAt(i) === 9 ? (n = !0, (e.bsCount[m] + t) % 4 == 3 ? (i++, t++, r = !1) : r = !0) : n = !1;
1760
+ let o = t;
1761
+ for (s.push(e.bMarks[m]), e.bMarks[m] = i; i < a;) {
1762
+ let t = e.src.charCodeAt(i);
1763
+ if (L(t)) t === 9 ? o += 4 - (o + e.bsCount[m] + +!!r) % 4 : o++;
1764
+ else break;
1765
+ i++;
1766
+ }
1767
+ p = i >= a, c.push(e.bsCount[m]), e.bsCount[m] = e.sCount[m] + 1 + +!!n, l.push(e.sCount[m]), e.sCount[m] = o - t, u.push(e.tShift[m]), e.tShift[m] = i - e.bMarks[m];
1768
+ continue;
1769
+ }
1770
+ if (p) break;
1771
+ let r = !1;
1772
+ for (let t = 0, i = d.length; t < i; t++) if (d[t](e, m, n, !0)) {
1773
+ r = !0;
1774
+ break;
1775
+ }
1776
+ if (r) {
1777
+ e.lineMax = m, e.blkIndent !== 0 && (s.push(e.bMarks[m]), c.push(e.bsCount[m]), u.push(e.tShift[m]), l.push(e.sCount[m]), e.sCount[m] -= e.blkIndent);
1778
+ break;
1779
+ }
1780
+ s.push(e.bMarks[m]), c.push(e.bsCount[m]), u.push(e.tShift[m]), l.push(e.sCount[m]), e.sCount[m] = -1;
1781
+ }
1782
+ let h = e.blkIndent;
1783
+ e.blkIndent = 0;
1784
+ let g = e.push("blockquote_open", "blockquote", 1);
1785
+ g.markup = ">";
1786
+ let _ = [t, 0];
1787
+ g.map = _, e.md.block.tokenize(e, t, m);
1788
+ let v = e.push("blockquote_close", "blockquote", -1);
1789
+ v.markup = ">", e.lineMax = o, e.parentType = f, _[1] = e.line;
1790
+ for (let n = 0; n < u.length; n++) e.bMarks[n + t] = s[n], e.tShift[n + t] = u[n], e.sCount[n + t] = l[n], e.bsCount[n + t] = c[n];
1791
+ return e.blkIndent = h, !0;
1792
+ }
1793
+ function Dn(e, t, n, r) {
1794
+ let i = e.eMarks[t];
1795
+ if (e.sCount[t] - e.blkIndent >= 4) return !1;
1796
+ let a = e.bMarks[t] + e.tShift[t], o = e.src.charCodeAt(a++);
1797
+ if (o !== 42 && o !== 45 && o !== 95) return !1;
1798
+ let s = 1;
1799
+ for (; a < i;) {
1800
+ let t = e.src.charCodeAt(a++);
1801
+ if (t !== o && !L(t)) return !1;
1802
+ t === o && s++;
1803
+ }
1804
+ if (s < 3) return !1;
1805
+ if (r) return !0;
1806
+ e.line = t + 1;
1807
+ let c = e.push("hr", "hr", 0);
1808
+ return c.map = [t, e.line], c.markup = Array(s + 1).join(String.fromCharCode(o)), !0;
1809
+ }
1810
+ function On(e, t) {
1811
+ let n = e.eMarks[t], r = e.bMarks[t] + e.tShift[t], i = e.src.charCodeAt(r++);
1812
+ return i !== 42 && i !== 45 && i !== 43 || r < n && !L(e.src.charCodeAt(r)) ? -1 : r;
1813
+ }
1814
+ function kn(e, t) {
1815
+ let n = e.bMarks[t] + e.tShift[t], r = e.eMarks[t], i = n;
1816
+ if (i + 1 >= r) return -1;
1817
+ let a = e.src.charCodeAt(i++);
1818
+ if (a < 48 || a > 57) return -1;
1819
+ for (;;) {
1820
+ if (i >= r) return -1;
1821
+ if (a = e.src.charCodeAt(i++), a >= 48 && a <= 57) {
1822
+ if (i - n >= 10) return -1;
1823
+ } else {
1824
+ if (a === 41 || a === 46) break;
1825
+ return -1;
1826
+ }
1827
+ }
1828
+ return i < r && (a = e.src.charCodeAt(i), !L(a)) ? -1 : i;
1829
+ }
1830
+ function An(e, t) {
1831
+ let n = e.level + 2;
1832
+ for (let r = t + 2, i = e.tokens.length - 2; r < i; r++) e.tokens[r].level === n && e.tokens[r].type === "paragraph_open" && (e.tokens[r + 2].hidden = !0, e.tokens[r].hidden = !0, r += 2);
1833
+ }
1834
+ function jn(e, t, n, r) {
1835
+ let i, a, o, s, c = t, l = !0;
1836
+ if (e.sCount[c] - e.blkIndent >= 4 || e.listIndent >= 0 && e.sCount[c] - e.listIndent >= 4 && e.sCount[c] < e.blkIndent) return !1;
1837
+ let u = !1;
1838
+ r && e.parentType === "paragraph" && e.sCount[c] >= e.blkIndent && (u = !0);
1839
+ let d, f, p;
1840
+ if ((p = kn(e, c)) >= 0) {
1841
+ if (d = !0, o = e.bMarks[c] + e.tShift[c], f = Number(e.src.slice(o, p - 1)), u && f !== 1) return !1;
1842
+ } else if ((p = On(e, c)) >= 0) d = !1;
1843
+ else return !1;
1844
+ if (u && e.skipSpaces(p) >= e.eMarks[c]) return !1;
1845
+ if (r) return !0;
1846
+ let m = e.src.charCodeAt(p - 1), h = e.tokens.length;
1847
+ d ? (s = e.push("ordered_list_open", "ol", 1), f !== 1 && (s.attrs = [["start", f]])) : s = e.push("bullet_list_open", "ul", 1);
1848
+ let g = [c, 0];
1849
+ s.map = g, s.markup = String.fromCharCode(m);
1850
+ let _ = !1, v = e.md.block.ruler.getRules("list"), y = e.parentType;
1851
+ for (e.parentType = "list"; c < n;) {
1852
+ a = p, i = e.eMarks[c];
1853
+ let t = e.sCount[c] + p - (e.bMarks[c] + e.tShift[c]), r = t;
1854
+ for (; a < i;) {
1855
+ let t = e.src.charCodeAt(a);
1856
+ if (t === 9) r += 4 - (r + e.bsCount[c]) % 4;
1857
+ else if (t === 32) r++;
1858
+ else break;
1859
+ a++;
1860
+ }
1861
+ let u = a, f;
1862
+ f = u >= i ? 1 : r - t, f > 4 && (f = 1);
1863
+ let h = t + f;
1864
+ s = e.push("list_item_open", "li", 1), s.markup = String.fromCharCode(m);
1865
+ let g = [c, 0];
1866
+ s.map = g, d && (s.info = e.src.slice(o, p - 1));
1867
+ let y = e.tight, b = e.tShift[c], x = e.sCount[c], S = e.listIndent;
1868
+ if (e.listIndent = e.blkIndent, e.blkIndent = h, e.tight = !0, e.tShift[c] = u - e.bMarks[c], e.sCount[c] = r, u >= i && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, n) : e.md.block.tokenize(e, c, n), (!e.tight || _) && (l = !1), _ = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = S, e.tShift[c] = b, e.sCount[c] = x, e.tight = y, s = e.push("list_item_close", "li", -1), s.markup = String.fromCharCode(m), c = e.line, g[1] = c, c >= n || e.sCount[c] < e.blkIndent || e.sCount[c] - e.blkIndent >= 4) break;
1869
+ let C = !1;
1870
+ for (let t = 0, r = v.length; t < r; t++) if (v[t](e, c, n, !0)) {
1871
+ C = !0;
1872
+ break;
1873
+ }
1874
+ if (C) break;
1875
+ if (d) {
1876
+ if (p = kn(e, c), p < 0) break;
1877
+ o = e.bMarks[c] + e.tShift[c];
1878
+ } else if (p = On(e, c), p < 0) break;
1879
+ if (m !== e.src.charCodeAt(p - 1)) break;
1880
+ }
1881
+ return s = d ? e.push("ordered_list_close", "ol", -1) : e.push("bullet_list_close", "ul", -1), s.markup = String.fromCharCode(m), g[1] = c, e.line = c, e.parentType = y, l && An(e, h), !0;
1882
+ }
1883
+ var Mn = 999;
1884
+ function Nn(e) {
1885
+ let t = e.length;
1886
+ for (let n = 0; n < e.length - 1; n++) {
1887
+ let r = e.charCodeAt(n);
1888
+ if (r < 55296 || r > 56319) continue;
1889
+ let i = e.charCodeAt(n + 1);
1890
+ i >= 56320 && i <= 57343 && (t--, n++);
1891
+ }
1892
+ return t;
1893
+ }
1894
+ function Y(e, t) {
1895
+ return Math.min(e.eMarks[t] + 1, e.src.length);
1896
+ }
1897
+ function X(e, t) {
1898
+ let n = e.lineMax;
1899
+ if (t >= n || e.isEmpty(t)) return -1;
1900
+ let r = !1;
1901
+ if (e.sCount[t] - e.blkIndent > 3 && (r = !0), e.sCount[t] < 0 && (r = !0), !r) {
1902
+ let r = e.md.block.ruler.getRules("reference"), i = e.parentType;
1903
+ e.parentType = "reference";
1904
+ let a = !1;
1905
+ for (let i = 0, o = r.length; i < o; i++) if (r[i](e, t, n, !0)) {
1906
+ a = !0;
1907
+ break;
1908
+ }
1909
+ if (e.parentType = i, a) return -1;
1910
+ }
1911
+ return e.bMarks[t] + e.tShift[t];
1912
+ }
1913
+ function Pn(e, t, n, r) {
1914
+ let i = e.src, a = e.bMarks[t] + e.tShift[t], o = t + 1;
1915
+ if (e.sCount[t] - e.blkIndent >= 4 || i.charCodeAt(a) !== 91) return !1;
1916
+ let s = Y(e, t), c = "", l = -1, u = ++a;
1917
+ for (; a < s;) {
1918
+ if (c.length + a - u > Mn * 2) return !1;
1919
+ let t = i.charCodeAt(a);
1920
+ if (t === 91) return !1;
1921
+ if (t === 93) {
1922
+ l = a;
1923
+ break;
1924
+ }
1925
+ if (t === 92 && (t = i.charCodeAt(++a)), t === 10 && a < s) {
1926
+ let t = X(e, o);
1927
+ if (t < 0) return !1;
1928
+ c += i.slice(u, s), a = u = t, s = Y(e, o++);
1929
+ } else a++;
1930
+ }
1931
+ if (l < 0 || i.charCodeAt(l + 1) !== 58 || (c += i.slice(u, l), c.length > Mn && Nn(c) > Mn)) return !1;
1932
+ for (a = l + 2; a < s;) {
1933
+ let t = i.charCodeAt(a);
1934
+ if (t === 10) {
1935
+ let t = X(e, o);
1936
+ if (t < 0) break;
1937
+ a = t, s = Y(e, o++);
1938
+ } else if (L(t)) a++;
1939
+ else break;
1940
+ }
1941
+ let d = e.md.helpers.parseLinkDestination(i, a, s);
1942
+ if (!d.ok) return !1;
1943
+ let f = e.md.normalizeLink(d.str);
1944
+ if (!e.md.validateLink(f)) return !1;
1945
+ a = d.pos;
1946
+ let p = a, m = s, h = o;
1947
+ for (; a < s;) {
1948
+ let t = i.charCodeAt(a);
1949
+ if (t === 10) {
1950
+ let t = X(e, o);
1951
+ if (t < 0) break;
1952
+ a = t, s = Y(e, o++);
1953
+ } else if (L(t)) a++;
1954
+ else break;
1955
+ }
1956
+ let g = a, _ = e.md.helpers.parseLinkTitle(i, a, s);
1957
+ for (; _.can_continue;) {
1958
+ let t = X(e, o);
1959
+ if (t < 0) break;
1960
+ a = t, s = Y(e, o++), _ = e.md.helpers.parseLinkTitle(i, a, s, _);
1961
+ }
1962
+ let v;
1963
+ for (g !== p && _.ok ? (v = _.str, a = _.pos) : (v = "", a = p, s = m, o = h); a < s && L(i.charCodeAt(a));) a++;
1964
+ if (a < s && i.charCodeAt(a) !== 10 && v) for (v = "", a = p, s = m, o = h; a < s && L(i.charCodeAt(a));) a++;
1965
+ if (a < s && i.charCodeAt(a) !== 10) return !1;
1966
+ let y = V(c);
1967
+ if (!y) return !1;
1968
+ /* istanbul ignore if */
1969
+ if (r) return !0;
1970
+ e.env.references === void 0 && (e.env.references = {}), e.env.references[y] === void 0 && (e.env.references[y] = {
1971
+ title: v,
1972
+ href: f
1973
+ });
1974
+ let b = e.push("reference_definition", "", 0);
1975
+ b.map = [t, o], b.hidden = !0;
1976
+ let x = Object.create(null);
1977
+ return x.label = y, b.meta = x, e.line = o, !0;
1978
+ }
1979
+ var Fn = /* @__PURE__ */ "address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul".split("."), In = "<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>", Ln = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";
1980
+ RegExp(`^(?:${In}|${Ln}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`);
1981
+ var Rn = RegExp(`^(?:${In}|${Ln})`), Z = [
1982
+ [
1983
+ /^<(script|pre|style|textarea)(?=(\s|>|$))/i,
1984
+ /<\/(script|pre|style|textarea)>/i,
1985
+ !0
1986
+ ],
1987
+ [
1988
+ /^<!--/,
1989
+ /-->/,
1990
+ !0
1991
+ ],
1992
+ [
1993
+ /^<\?/,
1994
+ /\?>/,
1995
+ !0
1996
+ ],
1997
+ [
1998
+ /^<![A-Za-z]/,
1999
+ />/,
2000
+ !0
2001
+ ],
2002
+ [
2003
+ /^<!\[CDATA\[/,
2004
+ /\]\]>/,
2005
+ !0
2006
+ ],
2007
+ [
2008
+ RegExp(`^</?(${Fn.join("|")})(?=(\\s|/?>|$))`, "i"),
2009
+ /^$/,
2010
+ !0
2011
+ ],
2012
+ [
2013
+ RegExp(`${Rn.source}\\s*$`),
2014
+ /^$/,
2015
+ !1
2016
+ ]
2017
+ ];
2018
+ function zn(e, t, n, r) {
2019
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t];
2020
+ if (e.sCount[t] - e.blkIndent >= 4 || !e.md.options.html || e.src.charCodeAt(i) !== 60) return !1;
2021
+ let o = e.src.slice(i, a), s = 0;
2022
+ for (; s < Z.length && !Z[s][0].test(o); s++);
2023
+ if (s === Z.length) return !1;
2024
+ if (r) return Z[s][2];
2025
+ let c = t + 1, l = Z[s][1].test("");
2026
+ if (!Z[s][1].test(o)) {
2027
+ for (; c < n && !(e.sCount[c] < e.blkIndent && (l || !e.isEmpty(c))); c++) if (i = e.bMarks[c] + e.tShift[c], a = e.eMarks[c], o = e.src.slice(i, a), Z[s][1].test(o)) {
2028
+ o.length !== 0 && c++;
2029
+ break;
2030
+ }
2031
+ }
2032
+ e.line = c;
2033
+ let u = e.push("html_block", "", 0);
2034
+ return u.map = [t, c], u.content = e.getLines(t, c, e.blkIndent, !0), !0;
2035
+ }
2036
+ function Bn(e, t, n, r) {
2037
+ let i = e.bMarks[t] + e.tShift[t], a = e.eMarks[t];
2038
+ if (e.sCount[t] - e.blkIndent >= 4) return !1;
2039
+ let o = e.src.charCodeAt(i);
2040
+ if (o !== 35 || i >= a) return !1;
2041
+ let s = 1;
2042
+ for (o = e.src.charCodeAt(++i); o === 35 && i < a && s <= 6;) s++, o = e.src.charCodeAt(++i);
2043
+ if (s > 6 || i < a && !L(o)) return !1;
2044
+ if (r) return !0;
2045
+ a = e.skipSpacesBack(a, i);
2046
+ let c = e.skipCharsBack(a, 35, i);
2047
+ c > i && L(e.src.charCodeAt(c - 1)) && (a = c), e.line = t + 1;
2048
+ let l = e.push("heading_open", `h${s}`, 1);
2049
+ l.markup = "########".slice(0, s), l.map = [t, e.line];
2050
+ let u = e.push("inline", "", 0);
2051
+ u.content = H(e.src.slice(i, a)), u.map = [t, e.line], u.children = [];
2052
+ let d = e.push("heading_close", `h${s}`, -1);
2053
+ return d.markup = "########".slice(0, s), !0;
2054
+ }
2055
+ function Vn(e, t, n) {
2056
+ let r = e.md.block.ruler.getRules("paragraph");
2057
+ if (e.sCount[t] - e.blkIndent >= 4) return !1;
2058
+ let i = e.parentType;
2059
+ e.parentType = "paragraph";
2060
+ let a = 0, o, s = t + 1;
2061
+ for (; s < n && !e.isEmpty(s); s++) {
2062
+ if (e.sCount[s] - e.blkIndent > 3) continue;
2063
+ if (e.sCount[s] >= e.blkIndent) {
2064
+ let t = e.bMarks[s] + e.tShift[s], n = e.eMarks[s];
2065
+ if (t < n && (o = e.src.charCodeAt(t), (o === 45 || o === 61) && (t = e.skipChars(t, o), t = e.skipSpaces(t), t >= n))) {
2066
+ a = o === 61 ? 1 : 2;
2067
+ break;
2068
+ }
2069
+ }
2070
+ if (e.sCount[s] < 0) continue;
2071
+ let t = !1;
2072
+ for (let i = 0, a = r.length; i < a; i++) if (r[i](e, s, n, !0)) {
2073
+ t = !0;
2074
+ break;
2075
+ }
2076
+ if (t) break;
2077
+ }
2078
+ if (!a) return e.parentType = i, !1;
2079
+ let c = H(e.getLines(t, s, e.blkIndent, !1));
2080
+ e.line = s + 1;
2081
+ let l = e.push("heading_open", `h${a}`, 1);
2082
+ l.markup = String.fromCharCode(o), l.map = [t, e.line];
2083
+ let u = e.push("inline", "", 0);
2084
+ u.content = c, u.map = [t, e.line - 1], u.children = [];
2085
+ let d = e.push("heading_close", `h${a}`, -1);
2086
+ return d.markup = String.fromCharCode(o), e.parentType = i, !0;
2087
+ }
2088
+ function Hn(e, t, n) {
2089
+ let r = e.md.block.ruler.getRules("paragraph"), i = e.parentType, a = t + 1;
2090
+ for (e.parentType = "paragraph"; a < n && !e.isEmpty(a); a++) {
2091
+ if (e.sCount[a] - e.blkIndent > 3 || e.sCount[a] < 0) continue;
2092
+ let t = !1;
2093
+ for (let i = 0, o = r.length; i < o; i++) if (r[i](e, a, n, !0)) {
2094
+ t = !0;
2095
+ break;
2096
+ }
2097
+ if (t) break;
2098
+ }
2099
+ let o = H(e.getLines(t, a, e.blkIndent, !1));
2100
+ e.line = a;
2101
+ let s = e.push("paragraph_open", "p", 1);
2102
+ s.map = [t, e.line];
2103
+ let c = e.push("inline", "", 0);
2104
+ return c.content = o, c.map = [t, e.line], c.children = [], e.push("paragraph_close", "p", -1), e.parentType = i, !0;
2105
+ }
2106
+ var Q = [
2107
+ [
2108
+ "table",
2109
+ Cn,
2110
+ ["paragraph", "reference"]
2111
+ ],
2112
+ ["code", wn],
2113
+ [
2114
+ "fence",
2115
+ Tn,
2116
+ [
2117
+ "paragraph",
2118
+ "reference",
2119
+ "blockquote",
2120
+ "list"
2121
+ ]
2122
+ ],
2123
+ [
2124
+ "blockquote",
2125
+ En,
2126
+ [
2127
+ "paragraph",
2128
+ "reference",
2129
+ "blockquote",
2130
+ "list"
2131
+ ]
2132
+ ],
2133
+ [
2134
+ "hr",
2135
+ Dn,
2136
+ [
2137
+ "paragraph",
2138
+ "reference",
2139
+ "blockquote",
2140
+ "list"
2141
+ ]
2142
+ ],
2143
+ [
2144
+ "list",
2145
+ jn,
2146
+ [
2147
+ "paragraph",
2148
+ "reference",
2149
+ "blockquote"
2150
+ ]
2151
+ ],
2152
+ ["reference", Pn],
2153
+ [
2154
+ "html_block",
2155
+ zn,
2156
+ [
2157
+ "paragraph",
2158
+ "reference",
2159
+ "blockquote"
2160
+ ]
2161
+ ],
2162
+ [
2163
+ "heading",
2164
+ Bn,
2165
+ [
2166
+ "paragraph",
2167
+ "reference",
2168
+ "blockquote"
2169
+ ]
2170
+ ],
2171
+ ["lheading", Vn],
2172
+ ["paragraph", Hn]
2173
+ ], Un = class {
2174
+ constructor() {
2175
+ W(this, "ruler", new K()), W(this, "State", yn);
2176
+ for (let e = 0; e < Q.length; e++) this.ruler.push(Q[e][0], Q[e][1], { alt: (Q[e][2] || []).slice() });
2177
+ }
2178
+ tokenize(e, t, n) {
2179
+ let r = this.ruler.getRules(""), i = r.length, a = e.md.options.maxNesting, o = t, s = !1;
2180
+ for (; o < n && (e.line = o = e.skipEmptyLines(o), !(o >= n || e.sCount[o] < e.blkIndent));) {
2181
+ if (e.level >= a) {
2182
+ e.line = n;
2183
+ break;
2184
+ }
2185
+ let t = e.line, c = !1;
2186
+ for (let a = 0; a < i; a++) if (c = r[a](e, o, n, !1), c) {
2187
+ if (t >= e.line) throw Error("block rule didn't increment state.line");
2188
+ break;
2189
+ }
2190
+ if (!c) throw Error("none of the block rules matched");
2191
+ e.tight = !s, e.isEmpty(e.line - 1) && (s = !0), o = e.line, o < n && e.isEmpty(o) && (s = !0, o++, e.line = o);
2192
+ }
2193
+ }
2194
+ parse(e, t, n, r) {
2195
+ if (!e) return;
2196
+ let i = new this.State(e, t, n, r);
2197
+ this.tokenize(i, i.line, i.lineMax);
2198
+ }
2199
+ }, Wn = class {
2200
+ constructor(e, t, n, r) {
2201
+ W(this, "pos", 0), W(this, "level", 0), W(this, "pending", ""), W(this, "pendingLevel", 0), W(this, "cache", {}), W(this, "backticks", {}), W(this, "backticksScanned", !1), W(this, "skipHtmlSpecial", !1), W(this, "linkLevel", 0), W(this, "delimiters", []), W(this, "_prev_delimiters", []), W(this, "Token", G), this.src = e, this.env = n, this.md = t, this.tokens = r, this.tokens_meta = Array(r.length), this.posMax = this.src.length;
2202
+ }
2203
+ pushPending() {
2204
+ let e = new G("text", "", 0);
2205
+ return e.content = this.pending, e.level = this.pendingLevel, this.tokens.push(e), this.pending = "", e;
2206
+ }
2207
+ push(e, t, n) {
2208
+ this.pending && this.pushPending();
2209
+ let r = new G(e, t, n), i;
2210
+ return n < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), r.level = this.level, n > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], i = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(r), this.tokens_meta.push(i), r;
2211
+ }
2212
+ scanDelims(e, t) {
2213
+ let n = this.posMax, r = this.src.charCodeAt(e), i;
2214
+ if (e === 0) i = 32;
2215
+ else if (e === 1) i = this.src.charCodeAt(0), (i & 63488) == 55296 && (i = 65533);
2216
+ else if (i = this.src.charCodeAt(e - 1), (i & 64512) == 56320) {
2217
+ let t = this.src.charCodeAt(e - 2);
2218
+ i = (t & 64512) == 55296 ? 65536 + (t - 55296 << 10) + (i - 56320) : 65533;
2219
+ } else (i & 64512) == 55296 && (i = 65533);
2220
+ let a = e;
2221
+ for (; a < n && this.src.charCodeAt(a) === r;) a++;
2222
+ let o = a - e, s = a < n ? this.src.charCodeAt(a) : 32;
2223
+ if ((s & 64512) == 55296) {
2224
+ let e = this.src.charCodeAt(a + 1);
2225
+ s = (e & 64512) == 56320 ? 65536 + (s - 55296 << 10) + (e - 56320) : 65533;
2226
+ } else (s & 64512) == 56320 && (s = 65533);
2227
+ let c = B(i) || z(i), l = B(s) || z(s), u = R(i), d = R(s), f = !d && (!l || u || c), p = !u && (!c || d || l);
2228
+ return {
2229
+ can_open: f && (t || !p || c),
2230
+ can_close: p && (t || !f || l),
2231
+ length: o
2232
+ };
2233
+ }
2234
+ };
2235
+ function Gn(e) {
2236
+ switch (e) {
2237
+ case 10:
2238
+ case 33:
2239
+ case 35:
2240
+ case 36:
2241
+ case 37:
2242
+ case 38:
2243
+ case 42:
2244
+ case 43:
2245
+ case 45:
2246
+ case 58:
2247
+ case 60:
2248
+ case 61:
2249
+ case 62:
2250
+ case 64:
2251
+ case 91:
2252
+ case 92:
2253
+ case 93:
2254
+ case 94:
2255
+ case 95:
2256
+ case 96:
2257
+ case 123:
2258
+ case 125:
2259
+ case 126: return !0;
2260
+ default: return !1;
2261
+ }
2262
+ }
2263
+ function Kn(e, t) {
2264
+ let n = e.pos;
2265
+ for (; n < e.posMax && !Gn(e.src.charCodeAt(n));) n++;
2266
+ return n !== e.pos && (t || (e.pending += e.src.slice(e.pos, n)), e.pos = n, !0);
2267
+ }
2268
+ function qn(e) {
2269
+ return e >= 65 && e <= 90 || e >= 97 && e <= 122;
2270
+ }
2271
+ function Jn(e) {
2272
+ return e >= 65 && e <= 90 || e >= 97 && e <= 122 || e >= 48 && e <= 57 || e === 43 || e === 45 || e === 46;
2273
+ }
2274
+ function Yn(e, t) {
2275
+ if (!e.md.options.linkify || e.linkLevel > 0) return !1;
2276
+ let n = e.pos, r = e.posMax;
2277
+ if (n + 3 > r || e.src.charCodeAt(n) !== 58 || e.src.charCodeAt(n + 1) !== 47 || e.src.charCodeAt(n + 2) !== 47) return !1;
2278
+ let i = n - Math.min(10, e.pending.length, n), a = n;
2279
+ for (; a > i && Jn(e.src.charCodeAt(a - 1));) a--;
2280
+ if (a === n || !qn(e.src.charCodeAt(a))) return !1;
2281
+ let o = n - a, s = e.md.linkify.matchAtStart(e.src.slice(a));
2282
+ if (!s) return !1;
2283
+ let c = s.url;
2284
+ if (c.length <= o) return !1;
2285
+ let l = c.length;
2286
+ for (; l > 0 && c.charCodeAt(l - 1) === 42;) l--;
2287
+ l !== c.length && (c = c.slice(0, l));
2288
+ let u = e.md.normalizeLink(c);
2289
+ if (!e.md.validateLink(u)) return !1;
2290
+ if (!t) {
2291
+ e.pending = e.pending.slice(0, -o);
2292
+ let t = e.push("link_open", "a", 1);
2293
+ t.attrs = [["href", u]], t.markup = "linkify", t.info = "auto";
2294
+ let n = e.push("text", "", 0);
2295
+ n.content = e.md.normalizeLinkText(c);
2296
+ let r = e.push("link_close", "a", -1);
2297
+ r.markup = "linkify", r.info = "auto";
2298
+ }
2299
+ return e.pos += c.length - o, !0;
2300
+ }
2301
+ function Xn(e, t) {
2302
+ let n = e.pos;
2303
+ if (e.src.charCodeAt(n) !== 10) return !1;
2304
+ let r = e.pending.length - 1, i = e.posMax;
2305
+ if (!t) {
2306
+ if (r >= 0 && e.pending.charCodeAt(r) === 32) {
2307
+ if (r >= 1 && e.pending.charCodeAt(r - 1) === 32) {
2308
+ let t = r - 1;
2309
+ for (; t >= 1 && e.pending.charCodeAt(t - 1) === 32;) t--;
2310
+ e.pending = e.pending.slice(0, t), e.push("hardbreak", "br", 0);
2311
+ } else e.pending = e.pending.slice(0, -1), e.push("softbreak", "br", 0);
2312
+ } else e.push("softbreak", "br", 0);
2313
+ }
2314
+ for (n++; n < i && L(e.src.charCodeAt(n));) n++;
2315
+ return e.pos = n, !0;
2316
+ }
2317
+ var Zn = [];
2318
+ for (let e = 0; e < 256; e++) Zn.push(0);
2319
+ "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e) {
2320
+ Zn[e.charCodeAt(0)] = 1;
2321
+ });
2322
+ function Qn(e, t) {
2323
+ let n = e.pos, r = e.posMax;
2324
+ if (e.src.charCodeAt(n) !== 92 || (n++, n >= r)) return !1;
2325
+ let i = e.src.charCodeAt(n);
2326
+ if (i === 10) {
2327
+ for (t || e.push("hardbreak", "br", 0), n++; n < r && (i = e.src.charCodeAt(n), L(i));) n++;
2328
+ return e.pos = n, !0;
2329
+ }
2330
+ if (i === 32) {
2331
+ if (!t) {
2332
+ let t = e.push("text_special", "", 0);
2333
+ t.content = "\\", t.markup = "\\", t.info = "escape";
2334
+ }
2335
+ return e.pos = n, !0;
2336
+ }
2337
+ let a = e.src[n];
2338
+ if (i >= 55296 && i <= 56319 && n + 1 < r) {
2339
+ let t = e.src.charCodeAt(n + 1);
2340
+ t >= 56320 && t <= 57343 && (a += e.src[n + 1], n++);
2341
+ }
2342
+ let o = "\\" + a;
2343
+ if (!t) {
2344
+ let t = e.push("text_special", "", 0);
2345
+ t.content = i < 256 && Zn[i] !== 0 ? a : o, t.markup = o, t.info = "escape";
2346
+ }
2347
+ return e.pos = n + 1, !0;
2348
+ }
2349
+ function $n(e) {
2350
+ let t = {}, n = 0;
2351
+ for (; (n = e.indexOf("`", n)) !== -1;) {
2352
+ let r = n;
2353
+ for (; e.charCodeAt(++n) === 96;);
2354
+ t[n - r] = r;
2355
+ }
2356
+ return t;
2357
+ }
2358
+ function er(e, t) {
2359
+ var n;
2360
+ let r = e.pos;
2361
+ if (e.src.charCodeAt(r) !== 96) return !1;
2362
+ let i = e.posMax, a = r + 1;
2363
+ for (; a < i && e.src.charCodeAt(a) === 96;) a++;
2364
+ let o = e.src.slice(r, a), s = o.length;
2365
+ if (e.backticksScanned || (e.backticks = $n(e.src), e.backticksScanned = !0), ((n = e.backticks[s]) == null ? -1 : n) >= a) {
2366
+ let n = a, r;
2367
+ for (; (r = e.src.indexOf("`", n)) !== -1 && r < i;) {
2368
+ for (n = r + 1; e.src.charCodeAt(n) === 96;) n++;
2369
+ if (n > i) break;
2370
+ if (n - r === s) {
2371
+ if (!t) {
2372
+ let t = e.push("code_inline", "code", 0);
2373
+ t.markup = o;
2374
+ let n = e.src.slice(a, r).replace(/\n/g, " ");
2375
+ n.startsWith(" ") && n.endsWith(" ") && /[^ ]/.test(n) && (n = n.slice(1, -1)), t.content = n;
2376
+ }
2377
+ return e.pos = n, !0;
2378
+ }
2379
+ }
2380
+ }
2381
+ return t || (e.pending += o), e.pos = a, !0;
2382
+ }
2383
+ function tr(e, t) {
2384
+ let n = e.pos, r = e.src.charCodeAt(n);
2385
+ if (t || r !== 126) return !1;
2386
+ let i = e.scanDelims(e.pos, !0), a = i.length, o = String.fromCharCode(r);
2387
+ if (a < 2) return !1;
2388
+ let s;
2389
+ a % 2 && (s = e.push("text", "", 0), s.content = o, a--);
2390
+ for (let t = 0; t < a; t += 2) s = e.push("text", "", 0), s.content = o + o, e.delimiters.push({
2391
+ marker: r,
2392
+ length: 0,
2393
+ token: e.tokens.length - 1,
2394
+ end: -1,
2395
+ open: i.can_open,
2396
+ close: i.can_close
2397
+ });
2398
+ return e.pos += i.length, !0;
2399
+ }
2400
+ function nr(e, t) {
2401
+ let n, r = [], i = t.length;
2402
+ for (let a = 0; a < i; a++) {
2403
+ let i = t[a];
2404
+ if (i.marker !== 126 || i.end === -1) continue;
2405
+ let o = t[i.end];
2406
+ n = e.tokens[i.token], n.type = "s_open", n.tag = "s", n.nesting = 1, n.markup = "~~", n.content = "", n = e.tokens[o.token], n.type = "s_close", n.tag = "s", n.nesting = -1, n.markup = "~~", n.content = "", e.tokens[o.token - 1].type === "text" && e.tokens[o.token - 1].content === "~" && r.push(o.token - 1);
2407
+ }
2408
+ for (; r.length;) {
2409
+ let t = r.pop(), i = t + 1;
2410
+ for (; i < e.tokens.length && e.tokens[i].type === "s_close";) i++;
2411
+ i--, t !== i && (n = e.tokens[i], e.tokens[i] = e.tokens[t], e.tokens[t] = n);
2412
+ }
2413
+ }
2414
+ function rr(e) {
2415
+ let t = e.tokens_meta, n = e.tokens_meta.length;
2416
+ nr(e, e.delimiters);
2417
+ for (let i = 0; i < n; i++) {
2418
+ var r;
2419
+ let n = (r = t[i]) == null ? void 0 : r.delimiters;
2420
+ n && nr(e, n);
2421
+ }
2422
+ }
2423
+ var ir = {
2424
+ tokenize: tr,
2425
+ postProcess: rr
2426
+ };
2427
+ function ar(e, t) {
2428
+ let n = e.pos, r = e.src.charCodeAt(n);
2429
+ if (t || r !== 95 && r !== 42) return !1;
2430
+ let i = e.scanDelims(e.pos, r === 42);
2431
+ for (let t = 0; t < i.length; t++) {
2432
+ let t = e.push("text", "", 0);
2433
+ t.content = String.fromCharCode(r), e.delimiters.push({
2434
+ marker: r,
2435
+ length: i.length,
2436
+ token: e.tokens.length - 1,
2437
+ end: -1,
2438
+ open: i.can_open,
2439
+ close: i.can_close
2440
+ });
2441
+ }
2442
+ return e.pos += i.length, !0;
2443
+ }
2444
+ function or(e, t) {
2445
+ let n = t.length;
2446
+ for (let r = n - 1; r >= 0; r--) {
2447
+ let n = t[r];
2448
+ if (n.marker !== 95 && n.marker !== 42 || n.end === -1) continue;
2449
+ let i = t[n.end], a = r > 0 && t[r - 1].end === n.end + 1 && t[r - 1].marker === n.marker && t[r - 1].token === n.token - 1 && t[n.end + 1].token === i.token + 1, o = String.fromCharCode(n.marker), s = e.tokens[n.token];
2450
+ s.type = a ? "strong_open" : "em_open", s.tag = a ? "strong" : "em", s.nesting = 1, s.markup = a ? o + o : o, s.content = "";
2451
+ let c = e.tokens[i.token];
2452
+ c.type = a ? "strong_close" : "em_close", c.tag = a ? "strong" : "em", c.nesting = -1, c.markup = a ? o + o : o, c.content = "", a && (e.tokens[t[r - 1].token].content = "", e.tokens[t[n.end + 1].token].content = "", r--);
2453
+ }
2454
+ }
2455
+ function sr(e) {
2456
+ let t = e.tokens_meta, n = e.tokens_meta.length;
2457
+ or(e, e.delimiters);
2458
+ for (let i = 0; i < n; i++) {
2459
+ var r;
2460
+ let n = (r = t[i]) == null ? void 0 : r.delimiters;
2461
+ n && or(e, n);
2462
+ }
2463
+ }
2464
+ var cr = {
2465
+ tokenize: ar,
2466
+ postProcess: sr
2467
+ };
2468
+ function lr(e, t) {
2469
+ let n, r, i, a, o = "", s = "", c = e.pos, l = !0;
2470
+ if (e.src.charCodeAt(e.pos) !== 91) return !1;
2471
+ let u = e.pos, d = e.posMax, f = e.pos + 1, p = e.md.helpers.parseLinkLabel(e, e.pos, !0);
2472
+ if (p < 0) return !1;
2473
+ let m = p + 1;
2474
+ if (m < d && e.src.charCodeAt(m) === 40) {
2475
+ for (l = !1, m++; m < d && (n = e.src.charCodeAt(m), L(n) || n === 10); m++);
2476
+ if (m >= d) return !1;
2477
+ if (c = m, i = e.md.helpers.parseLinkDestination(e.src, m, e.posMax), i.ok) {
2478
+ for (o = e.md.normalizeLink(i.str), e.md.validateLink(o) ? m = i.pos : o = "", c = m; m < d && (n = e.src.charCodeAt(m), L(n) || n === 10); m++);
2479
+ if (i = e.md.helpers.parseLinkTitle(e.src, m, e.posMax), m < d && c !== m && i.ok) for (s = i.str, m = i.pos; m < d && (n = e.src.charCodeAt(m), L(n) || n === 10); m++);
2480
+ }
2481
+ (m >= d || e.src.charCodeAt(m) !== 41) && (l = !0), m++;
2482
+ }
2483
+ if (l) {
2484
+ if (e.env.references === void 0) return !1;
2485
+ if (m < d && e.src.charCodeAt(m) === 91 ? (c = m + 1, m = e.md.helpers.parseLinkLabel(e, m), m >= 0 ? r = e.src.slice(c, m++) : m = p + 1) : m = p + 1, r || (r = e.src.slice(f, p)), r = V(r), a = e.env.references[r], !a) return e.pos = u, !1;
2486
+ o = a.href, s = a.title;
2487
+ }
2488
+ if (!t) {
2489
+ e.pos = f, e.posMax = p;
2490
+ let t = e.push("link_open", "a", 1), n = [["href", o]];
2491
+ if (t.attrs = n, s && n.push(["title", s]), r) {
2492
+ let e = Object.create(null);
2493
+ e.label = r, t.meta = e;
2494
+ }
2495
+ e.linkLevel++, e.md.inline.tokenize(e), e.linkLevel--, e.push("link_close", "a", -1);
2496
+ }
2497
+ return e.pos = m, e.posMax = d, !0;
2498
+ }
2499
+ function ur(e, t) {
2500
+ let n, r, i, a, o, s, c, l, u = "", d = e.pos, f = e.posMax;
2501
+ if (e.src.charCodeAt(e.pos) !== 33 || e.src.charCodeAt(e.pos + 1) !== 91) return !1;
2502
+ let p = e.pos + 2, m = e.md.helpers.parseLinkLabel(e, e.pos + 1, !1);
2503
+ if (m < 0) return !1;
2504
+ if (a = m + 1, a < f && e.src.charCodeAt(a) === 40) {
2505
+ for (a++; a < f && (n = e.src.charCodeAt(a), L(n) || n === 10); a++);
2506
+ if (a >= f) return !1;
2507
+ for (l = a, s = e.md.helpers.parseLinkDestination(e.src, a, e.posMax), s.ok && (u = e.md.normalizeLink(s.str), e.md.validateLink(u) ? a = s.pos : u = ""), l = a; a < f && (n = e.src.charCodeAt(a), L(n) || n === 10); a++);
2508
+ if (s = e.md.helpers.parseLinkTitle(e.src, a, e.posMax), a < f && l !== a && s.ok) for (c = s.str, a = s.pos; a < f && (n = e.src.charCodeAt(a), L(n) || n === 10); a++);
2509
+ else c = "";
2510
+ if (a >= f || e.src.charCodeAt(a) !== 41) return e.pos = d, !1;
2511
+ a++;
2512
+ } else {
2513
+ if (e.env.references === void 0) return !1;
2514
+ if (a < f && e.src.charCodeAt(a) === 91 ? (l = a + 1, a = e.md.helpers.parseLinkLabel(e, a), a >= 0 ? i = e.src.slice(l, a++) : a = m + 1) : a = m + 1, i || (i = e.src.slice(p, m)), i = V(i), o = e.env.references[i], !o) return e.pos = d, !1;
2515
+ u = o.href, c = o.title;
2516
+ }
2517
+ if (!t) {
2518
+ r = e.src.slice(p, m);
2519
+ let t = [];
2520
+ e.md.inline.parse(r, e.md, e.env, t);
2521
+ let n = e.push("image", "img", 0), a = [["src", u], ["alt", ""]];
2522
+ if (n.attrs = a, n.children = t, n.content = r, c && a.push(["title", c]), i) {
2523
+ let e = Object.create(null);
2524
+ e.label = i, n.meta = e;
2525
+ }
2526
+ }
2527
+ return e.pos = a, e.posMax = f, !0;
2528
+ }
2529
+ var dr = /^([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])?)*)$/, fr = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
2530
+ function pr(e, t) {
2531
+ let n = e.pos;
2532
+ if (e.src.charCodeAt(n) !== 60) return !1;
2533
+ let r = e.pos, i = e.posMax;
2534
+ for (;;) {
2535
+ if (++n >= i) return !1;
2536
+ let t = e.src.charCodeAt(n);
2537
+ if (t === 60) return !1;
2538
+ if (t === 62) break;
2539
+ }
2540
+ let a = e.src.slice(r + 1, n);
2541
+ if (fr.test(a)) {
2542
+ let n = e.md.normalizeLink(a);
2543
+ if (!e.md.validateLink(n)) return !1;
2544
+ if (!t) {
2545
+ let t = e.push("link_open", "a", 1);
2546
+ t.attrs = [["href", n]], t.markup = "autolink", t.info = "auto";
2547
+ let r = e.push("text", "", 0);
2548
+ r.content = e.md.normalizeLinkText(a);
2549
+ let i = e.push("link_close", "a", -1);
2550
+ i.markup = "autolink", i.info = "auto";
2551
+ }
2552
+ return e.pos += a.length + 2, !0;
2553
+ }
2554
+ if (dr.test(a)) {
2555
+ let n = e.md.normalizeLink(`mailto:${a}`);
2556
+ if (!e.md.validateLink(n)) return !1;
2557
+ if (!t) {
2558
+ let t = e.push("link_open", "a", 1);
2559
+ t.attrs = [["href", n]], t.markup = "autolink", t.info = "auto";
2560
+ let r = e.push("text", "", 0);
2561
+ r.content = e.md.normalizeLinkText(a);
2562
+ let i = e.push("link_close", "a", -1);
2563
+ i.markup = "autolink", i.info = "auto";
2564
+ }
2565
+ return e.pos += a.length + 2, !0;
2566
+ }
2567
+ return !1;
2568
+ }
2569
+ function mr(e) {
2570
+ return /^<a[>\s]/i.test(e);
2571
+ }
2572
+ function hr(e) {
2573
+ return /^<\/a\s*>/i.test(e);
2574
+ }
2575
+ function gr(e) {
2576
+ let t = e | 32;
2577
+ return t >= 97 && t <= 122;
2578
+ }
2579
+ function _r(e, t) {
2580
+ let n = e.src, r, i;
2581
+ if (n.startsWith("<!--", t)) {
2582
+ if (n.startsWith(">", t + 4)) return t + 5;
2583
+ if (n.startsWith("->", t + 4)) return t + 6;
2584
+ r = t + 4, i = "-->";
2585
+ } else if (n.startsWith("<![CDATA[", t)) r = t + 9, i = "]]>";
2586
+ else if (n.charCodeAt(t + 1) === 63) r = t + 2, i = "?>";
2587
+ else if (gr(n.charCodeAt(t + 2))) r = t + 3, i = ">";
2588
+ else return -1;
2589
+ if (e.skipHtmlSpecial) return -1;
2590
+ let a = n.indexOf(i, r);
2591
+ return a < 0 ? (e.skipHtmlSpecial = !0, -1) : a + i.length;
2592
+ }
2593
+ function vr(e, t) {
2594
+ if (!e.md.options.html) return !1;
2595
+ let n = e.posMax, r = e.pos;
2596
+ if (e.src.charCodeAt(r) !== 60 || r + 2 >= n) return !1;
2597
+ let i, a = e.src.charCodeAt(r + 1);
2598
+ if (a === 33 || a === 63) i = _r(e, r);
2599
+ else if (a === 47 || gr(a)) {
2600
+ let t = e.src.slice(r).match(Rn);
2601
+ i = t ? r + t[0].length : -1;
2602
+ } else return !1;
2603
+ if (i < 0) return !1;
2604
+ if (!t) {
2605
+ let t = e.push("html_inline", "", 0);
2606
+ t.content = e.src.slice(r, i), mr(t.content) && e.linkLevel++, hr(t.content) && e.linkLevel--;
2607
+ }
2608
+ return e.pos = i, !0;
2609
+ }
2610
+ var yr = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, br = /^&([a-z][a-z0-9]{1,31});/i;
2611
+ function xr(e, t) {
2612
+ let n = e.pos, r = e.posMax;
2613
+ if (e.src.charCodeAt(n) !== 38 || n + 1 >= r) return !1;
2614
+ if (e.src.charCodeAt(n + 1) === 35) {
2615
+ let r = e.src.slice(n).match(yr);
2616
+ if (r) {
2617
+ if (!t) {
2618
+ let t = r[1][0].toLowerCase() === "x" ? parseInt(r[1].slice(1), 16) : parseInt(r[1], 10), n = e.push("text_special", "", 0);
2619
+ n.content = bt(t) ? P(t) : P(65533), n.markup = r[0], n.info = "entity";
2620
+ }
2621
+ return e.pos += r[0].length, !0;
2622
+ }
2623
+ } else {
2624
+ let r = e.src.slice(n).match(br);
2625
+ if (r) {
2626
+ let n = Ie(r[0]);
2627
+ if (n !== r[0]) {
2628
+ if (!t) {
2629
+ let t = e.push("text_special", "", 0);
2630
+ t.content = n, t.markup = r[0], t.info = "entity";
2631
+ }
2632
+ return e.pos += r[0].length, !0;
2633
+ }
2634
+ }
2635
+ }
2636
+ return !1;
2637
+ }
2638
+ function Sr(e) {
2639
+ let t = {}, n = e.length;
2640
+ if (!n) return;
2641
+ let r = 0, i = -2, a = [];
2642
+ for (let o = 0; o < n; o++) {
2643
+ let n = e[o];
2644
+ if (a.push(0), (e[r].marker !== n.marker || i !== n.token - 1) && (r = o), i = n.token, n.length = n.length || 0, !n.close) continue;
2645
+ t.hasOwnProperty(n.marker) || (t[n.marker] = [
2646
+ -1,
2647
+ -1,
2648
+ -1,
2649
+ -1,
2650
+ -1,
2651
+ -1
2652
+ ]);
2653
+ let s = t[n.marker][(n.open ? 3 : 0) + n.length % 3], c = r - a[r] - 1, l = c;
2654
+ for (; c > s; c -= a[c] + 1) {
2655
+ let t = e[c];
2656
+ if (t.marker === n.marker && t.open && t.end < 0) {
2657
+ let r = !1;
2658
+ if ((t.close || n.open) && (t.length + n.length) % 3 == 0 && (t.length % 3 != 0 || n.length % 3 != 0) && (r = !0), !r) {
2659
+ let r = c > 0 && !e[c - 1].open ? a[c - 1] + 1 : 0;
2660
+ a[o] = o - c + r, a[c] = r, n.open = !1, t.end = o, t.close = !1, l = -1, i = -2;
2661
+ break;
2662
+ }
2663
+ }
2664
+ }
2665
+ l !== -1 && (t[n.marker][(n.open ? 3 : 0) + (n.length || 0) % 3] = l);
2666
+ }
2667
+ }
2668
+ function Cr(e) {
2669
+ let t = e.tokens_meta, n = e.tokens_meta.length;
2670
+ Sr(e.delimiters);
2671
+ for (let e = 0; e < n; e++) {
2672
+ var r;
2673
+ let n = (r = t[e]) == null ? void 0 : r.delimiters;
2674
+ n && Sr(n);
2675
+ }
2676
+ }
2677
+ function wr(e) {
2678
+ let t, n, r = 0, i = e.tokens, a = e.tokens.length;
2679
+ for (t = n = 0; t < a; t++) i[t].nesting < 0 && r--, i[t].level = r, i[t].nesting > 0 && r++, i[t].type === "text" && t + 1 < a && i[t + 1].type === "text" ? i[t + 1].content = i[t].content + i[t + 1].content : (t !== n && (i[n] = i[t]), n++);
2680
+ t !== n && (i.length = n);
2681
+ }
2682
+ var Tr = [
2683
+ ["text", Kn],
2684
+ ["linkify", Yn],
2685
+ ["newline", Xn],
2686
+ ["escape", Qn],
2687
+ ["backticks", er],
2688
+ ["strikethrough", ir.tokenize],
2689
+ ["emphasis", cr.tokenize],
2690
+ ["link", lr],
2691
+ ["image", ur],
2692
+ ["autolink", pr],
2693
+ ["html_inline", vr],
2694
+ ["entity", xr]
2695
+ ], Er = [
2696
+ ["balance_pairs", Cr],
2697
+ ["strikethrough", ir.postProcess],
2698
+ ["emphasis", cr.postProcess],
2699
+ ["fragments_join", wr]
2700
+ ], Dr = class {
2701
+ constructor() {
2702
+ W(this, "ruler", new K()), W(this, "ruler2", new K()), W(this, "State", Wn);
2703
+ for (let e = 0; e < Tr.length; e++) this.ruler.push(Tr[e][0], Tr[e][1]);
2704
+ for (let e = 0; e < Er.length; e++) this.ruler2.push(Er[e][0], Er[e][1]);
2705
+ }
2706
+ skipToken(e) {
2707
+ let t = e.pos, n = this.ruler.getRules(""), r = n.length, i = e.md.options.maxNesting, a = e.cache;
2708
+ if (a[t] !== void 0) {
2709
+ e.pos = a[t];
2710
+ return;
2711
+ }
2712
+ let o = !1;
2713
+ if (e.level < i) {
2714
+ for (let i = 0; i < r; i++) if (e.level++, o = n[i](e, !0), e.level--, o) {
2715
+ if (t >= e.pos) throw Error("inline rule didn't increment state.pos");
2716
+ break;
2717
+ }
2718
+ } else e.pos = e.posMax;
2719
+ o || e.pos++, a[t] = e.pos;
2720
+ }
2721
+ tokenize(e) {
2722
+ let t = this.ruler.getRules(""), n = t.length, r = e.posMax, i = e.md.options.maxNesting;
2723
+ for (; e.pos < r;) {
2724
+ let a = e.pos, o = !1;
2725
+ if (e.level < i) {
2726
+ for (let r = 0; r < n; r++) if (o = t[r](e, !1), o) {
2727
+ if (a >= e.pos) throw Error("inline rule didn't increment state.pos");
2728
+ break;
2729
+ }
2730
+ }
2731
+ if (o) {
2732
+ if (e.pos >= r) break;
2733
+ } else e.pending += e.src[e.pos++];
2734
+ }
2735
+ e.pending && e.pushPending();
2736
+ }
2737
+ parse(e, t, n, r) {
2738
+ let i = new this.State(e, t, n, r);
2739
+ this.tokenize(i);
2740
+ let a = this.ruler2.getRules(""), o = a.length;
2741
+ for (let e = 0; e < o; e++) a[e](i);
2742
+ }
2743
+ }, Or = {
2744
+ default: {
2745
+ options: {
2746
+ html: !1,
2747
+ xhtmlOut: !1,
2748
+ breaks: !1,
2749
+ langPrefix: "language-",
2750
+ linkify: !1,
2751
+ typographer: !1,
2752
+ quotes: "“”‘’",
2753
+ highlight: null,
2754
+ maxNesting: 100
2755
+ },
2756
+ components: {
2757
+ core: {},
2758
+ block: {},
2759
+ inline: {}
2760
+ }
2761
+ },
2762
+ zero: {
2763
+ options: {
2764
+ html: !1,
2765
+ xhtmlOut: !1,
2766
+ breaks: !1,
2767
+ langPrefix: "language-",
2768
+ linkify: !1,
2769
+ typographer: !1,
2770
+ quotes: "“”‘’",
2771
+ highlight: null,
2772
+ maxNesting: 20
2773
+ },
2774
+ components: {
2775
+ core: { rules: [
2776
+ "normalize",
2777
+ "block",
2778
+ "strip_references",
2779
+ "inline",
2780
+ "text_join"
2781
+ ] },
2782
+ block: { rules: ["paragraph"] },
2783
+ inline: {
2784
+ rules: ["text"],
2785
+ rules2: ["balance_pairs", "fragments_join"]
2786
+ }
2787
+ }
2788
+ },
2789
+ commonmark: {
2790
+ options: {
2791
+ html: !0,
2792
+ xhtmlOut: !0,
2793
+ breaks: !1,
2794
+ langPrefix: "language-",
2795
+ linkify: !1,
2796
+ typographer: !1,
2797
+ quotes: "“”‘’",
2798
+ highlight: null,
2799
+ maxNesting: 20
2800
+ },
2801
+ components: {
2802
+ core: { rules: [
2803
+ "normalize",
2804
+ "block",
2805
+ "strip_references",
2806
+ "inline",
2807
+ "text_join"
2808
+ ] },
2809
+ block: { rules: [
2810
+ "blockquote",
2811
+ "code",
2812
+ "fence",
2813
+ "heading",
2814
+ "hr",
2815
+ "html_block",
2816
+ "lheading",
2817
+ "list",
2818
+ "reference",
2819
+ "paragraph"
2820
+ ] },
2821
+ inline: {
2822
+ rules: [
2823
+ "autolink",
2824
+ "backticks",
2825
+ "emphasis",
2826
+ "entity",
2827
+ "escape",
2828
+ "html_inline",
2829
+ "image",
2830
+ "link",
2831
+ "newline",
2832
+ "text"
2833
+ ],
2834
+ rules2: [
2835
+ "balance_pairs",
2836
+ "emphasis",
2837
+ "fragments_join"
2838
+ ]
2839
+ }
2840
+ }
2841
+ }
2842
+ }, kr = /^(vbscript|javascript|file|data):/, Ar = /^data:image\/(gif|png|jpeg|webp);/, jr = [
2843
+ "http:",
2844
+ "https:",
2845
+ "mailto:"
2846
+ ], $ = class {
2847
+ validateLink(e) {
2848
+ let t = e.trim().toLowerCase();
2849
+ return !kr.test(t) || Ar.test(t);
2850
+ }
2851
+ normalizeLink(e) {
2852
+ let t = w(e, !0);
2853
+ if (t.hostname && (!t.protocol || jr.indexOf(t.protocol) >= 0)) try {
2854
+ t.hostname = mt.toASCII(t.hostname);
2855
+ } catch (e) {}
2856
+ return t.auth && (t.auth = v(t.auth)), t.hostname && (t.hostname = v(t.hostname)), t.pathname && (t.pathname = v(t.pathname)), t.search && (t.search = v(t.search)), t.hash && (t.hash = v(t.hash)), y(t);
2857
+ }
2858
+ normalizeLinkText(e) {
2859
+ let t = w(e, !0);
2860
+ if (t.hostname && (!t.protocol || jr.indexOf(t.protocol) >= 0)) try {
2861
+ t.hostname = mt.toUnicode(t.hostname);
2862
+ } catch (e) {}
2863
+ return h(y(t), h.defaultChars + "%");
2864
+ }
2865
+ constructor(...e) {
2866
+ W(this, "inline", new Dr()), W(this, "block", new Un()), W(this, "core", new vn()), W(this, "renderer", new Vt()), W(this, "linkify", new Ke()), W(this, "utils", _t), W(this, "helpers", Object.assign({}, Rt));
2867
+ let [t, n] = e;
2868
+ typeof t == "string" ? (this.configure(t), n && this.set(n)) : (this.configure("default"), this.set(t || {}));
2869
+ }
2870
+ set(e) {
2871
+ return Object.assign(this.options, e), this;
2872
+ }
2873
+ configure(e) {
2874
+ let t;
2875
+ if (typeof e == "string") {
2876
+ let n = e;
2877
+ if (t = Or[n], !t) throw Error(`Wrong 'markdown-it' preset "${n}", check name`);
2878
+ } else t = e;
2879
+ if (!t) throw Error("Wrong `markdown-it` preset, can't be empty");
2880
+ t.options && (this.options = s({}, t.options));
2881
+ let n = t.components;
2882
+ if (n) {
2883
+ var r;
2884
+ [
2885
+ "core",
2886
+ "block",
2887
+ "inline"
2888
+ ].forEach((e) => {
2889
+ var t;
2890
+ let r = (t = n[e]) == null ? void 0 : t.rules;
2891
+ r && this[e].ruler.enableOnly(r);
2892
+ });
2893
+ let e = (r = n.inline) == null ? void 0 : r.rules2;
2894
+ e && this.inline.ruler2.enableOnly(e);
2895
+ }
2896
+ return this;
2897
+ }
2898
+ enable(e, t = !1) {
2899
+ let n = [];
2900
+ Array.isArray(e) || (e = [e]), [
2901
+ "core",
2902
+ "block",
2903
+ "inline"
2904
+ ].forEach((t) => {
2905
+ n = n.concat(this[t].ruler.enable(e, !0));
2906
+ }), n = n.concat(this.inline.ruler2.enable(e, !0));
2907
+ let r = e.filter((e) => n.indexOf(e) < 0);
2908
+ if (r.length && !t) throw Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);
2909
+ return this;
2910
+ }
2911
+ disable(e, t = !1) {
2912
+ let n = [];
2913
+ Array.isArray(e) || (e = [e]), [
2914
+ "core",
2915
+ "block",
2916
+ "inline"
2917
+ ].forEach((t) => {
2918
+ n = n.concat(this[t].ruler.disable(e, !0));
2919
+ }), n = n.concat(this.inline.ruler2.disable(e, !0));
2920
+ let r = e.filter((e) => n.indexOf(e) < 0);
2921
+ if (r.length && !t) throw Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);
2922
+ return this;
2923
+ }
2924
+ use(e, ...t) {
2925
+ return e.apply(e, [this, ...t]), this;
2926
+ }
2927
+ parse(e, t) {
2928
+ if (typeof e != "string") throw Error("Input data should be a String");
2929
+ let n = new this.core.State(e, this, t);
2930
+ return this.core.process(n), n.tokens;
2931
+ }
2932
+ render(e, t = {}) {
2933
+ return this.renderer.render(this.parse(e, t), this.options, t);
2934
+ }
2935
+ parseInline(e, t) {
2936
+ let n = new this.core.State(e, this, t);
2937
+ return n.inlineMode = !0, this.core.process(n), n.tokens;
2938
+ }
2939
+ renderInline(e, t = {}) {
2940
+ return this.renderer.render(this.parseInline(e, t), this.options, t);
2941
+ }
2942
+ };
2943
+ W($, "Token", G), W($, "Ruler", K), W($, "Renderer", Vt), W($, "ParserCore", vn), W($, "StateCore", Ht), W($, "ParserBlock", Un), W($, "StateBlock", yn), W($, "ParserInline", Dr), W($, "StateInline", Wn);
2944
+ var Mr = vt($), Nr = [
2945
+ "image",
2946
+ "html_inline",
2947
+ "html_block",
2948
+ "hr"
2949
+ ], Pr = [
2950
+ "heading",
2951
+ "lheading",
2952
+ "blockquote",
2953
+ "table",
2954
+ "fence",
2955
+ "code"
2956
+ ], Fr = /* @__PURE__ */ new Set([
2957
+ "p",
2958
+ "br",
2959
+ "strong",
2960
+ "em",
2961
+ "s",
2962
+ "code",
2963
+ "pre",
2964
+ "a",
2965
+ "ul",
2966
+ "ol",
2967
+ "li",
2968
+ "blockquote",
2969
+ "h1",
2970
+ "h2",
2971
+ "h3",
2972
+ "h4",
2973
+ "h5",
2974
+ "h6",
2975
+ "table",
2976
+ "thead",
2977
+ "tbody",
2978
+ "tr",
2979
+ "th",
2980
+ "td"
2981
+ ]), Ir = /* @__PURE__ */ new Map(), Lr = (e = "basic") => {
2982
+ let t = Ir.get(e);
2983
+ if (t) return t;
2984
+ let n = new Mr({
2985
+ html: !1,
2986
+ linkify: !1,
2987
+ breaks: !1,
2988
+ typographer: !1
2989
+ });
2990
+ return n.disable(e === "extended" ? Nr : [...Nr, ...Pr], !0), n.validateLink = () => !0, Ir.set(e, n), n;
2991
+ }, Rr = (e, t, i) => {
2992
+ let a = [], o = [], s = (e) => (o.length ? o[o.length - 1].children : a).push(e), c = () => {
2993
+ let e = o.pop();
2994
+ if (e) {
2995
+ if (e.tag === null) for (let t of e.children) s(t);
2996
+ else s(d.createElement(e.tag, r({ key: `md-${i.next++}` }, e.props), e.children.length ? e.children : void 0));
2997
+ }
2998
+ };
2999
+ for (let r of e) if (r.type === "inline") {
3000
+ var l;
3001
+ for (let e of Rr((l = r.children) == null ? [] : l, t, i)) s(e);
3002
+ } else if (r.nesting === 1) {
3003
+ if (r.type === "link_open") {
3004
+ var u;
3005
+ let e = String((u = r.attrGet("href")) == null ? "" : u);
3006
+ if (n(e, t.urlPolicy)) o.push({
3007
+ tag: "a",
3008
+ props: {
3009
+ href: e,
3010
+ target: "_blank",
3011
+ rel: "noopener noreferrer"
3012
+ },
3013
+ children: []
3014
+ });
3015
+ else {
3016
+ var p;
3017
+ (p = t.onRefusedUrl) == null || p.call(t, e), o.push({
3018
+ tag: "span",
3019
+ props: { "data-markdown-url-refused": !0 },
3020
+ children: []
3021
+ });
3022
+ }
3023
+ continue;
3024
+ }
3025
+ o.push({
3026
+ tag: r.hidden ? null : Fr.has(r.tag) ? r.tag : "span",
3027
+ props: {},
3028
+ children: []
3029
+ });
3030
+ } else if (r.nesting === -1) c();
3031
+ else switch (r.type) {
3032
+ case "text":
3033
+ r.content && s(r.content);
3034
+ break;
3035
+ case "softbreak":
3036
+ s(" ");
3037
+ break;
3038
+ case "hardbreak":
3039
+ s(/* @__PURE__ */ (0, f.jsx)("br", {}, `md-${i.next++}`));
3040
+ break;
3041
+ case "code_inline":
3042
+ s(/* @__PURE__ */ (0, f.jsx)("code", { children: r.content }, `md-${i.next++}`));
3043
+ break;
3044
+ case "fence":
3045
+ case "code_block": s(/* @__PURE__ */ (0, f.jsx)("pre", { children: /* @__PURE__ */ (0, f.jsx)("code", { children: r.content }) }, `md-${i.next++}`));
3046
+ }
3047
+ for (; o.length;) c();
3048
+ return a;
3049
+ }, zr = (e, t = {}) => Rr(Lr(t.profile).parse(e, {}), t, { next: 0 }), Br = (e, t) => {
3050
+ let n = (e) => e.map((e) => e.children ? n(e.children) : [
3051
+ "text",
3052
+ "code_inline",
3053
+ "code_block",
3054
+ "fence"
3055
+ ].includes(e.type) ? e.content : ["softbreak", "hardbreak"].includes(e.type) || e.block && e.nesting === -1 ? " " : "").join("");
3056
+ return n(Lr(t).parse(e, {})).replace(/\s+/g, " ").trim();
3057
+ };
3058
+ export { Br as n, zr as t };
3059
+
3060
+ //# sourceMappingURL=markdown-C_y73Q0w-DE-0r4-5.mjs.map