@prismicio/cli 0.0.1 → 0.0.2-alpha.xru-fix-npx-install-warnings.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acorn-CCr8VihG.js +3019 -0
- package/dist/acorn-CCr8VihG.js.map +1 -0
- package/dist/angular-B-6Sdz-P.js +2737 -0
- package/dist/angular-B-6Sdz-P.js.map +1 -0
- package/dist/babel-DSSzU6fH.js +7175 -0
- package/dist/babel-DSSzU6fH.js.map +1 -0
- package/dist/cli-NVpkXC9F.js +150015 -0
- package/dist/cli-NVpkXC9F.js.map +1 -0
- package/dist/cli.js +3 -144
- package/dist/cli.js.map +1 -1
- package/dist/estree-DHLJIae3.js +4486 -0
- package/dist/estree-DHLJIae3.js.map +1 -0
- package/dist/flow-DVd4L7fO.js +27426 -0
- package/dist/flow-DVd4L7fO.js.map +1 -0
- package/dist/glimmer-ffe_QHPj.js +2696 -0
- package/dist/glimmer-ffe_QHPj.js.map +1 -0
- package/dist/graphql-Cx6A4xbM.js +1241 -0
- package/dist/graphql-Cx6A4xbM.js.map +1 -0
- package/dist/html-Cp0WeaDh.js +2794 -0
- package/dist/html-Cp0WeaDh.js.map +1 -0
- package/dist/index-CAoPVwid.js +397 -0
- package/dist/index-CAoPVwid.js.map +1 -0
- package/dist/index-CqzxeUkd.js +835 -0
- package/dist/index-CqzxeUkd.js.map +1 -0
- package/dist/index-D3Z7xY3-.js +323 -0
- package/dist/index-D3Z7xY3-.js.map +1 -0
- package/dist/index-D80unpFN.js +3003 -0
- package/dist/index-D80unpFN.js.map +1 -0
- package/dist/index-DA8FlEll.js +35 -0
- package/dist/index-DA8FlEll.js.map +1 -0
- package/dist/index-DVTRroeB.js +189 -0
- package/dist/index-DVTRroeB.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/markdown-B2nQpAgl.js +3380 -0
- package/dist/markdown-B2nQpAgl.js.map +1 -0
- package/dist/meriyah-oMgd23nK.js +2640 -0
- package/dist/meriyah-oMgd23nK.js.map +1 -0
- package/dist/multipart-parser-jkRZKgYV.js +354 -0
- package/dist/multipart-parser-jkRZKgYV.js.map +1 -0
- package/dist/postcss-4okJ6bzF.js +4943 -0
- package/dist/postcss-4okJ6bzF.js.map +1 -0
- package/dist/typescript-eHDX_fq8.js +12974 -0
- package/dist/typescript-eHDX_fq8.js.map +1 -0
- package/dist/yaml-CoPGVzvb.js +4165 -0
- package/dist/yaml-CoPGVzvb.js.map +1 -0
- package/package.json +16 -17
- package/src/utils/sentry.ts +2 -0
- package/dist/_node_modules/meow/build/dependencies.js +0 -9040
- package/dist/_node_modules/meow/build/dependencies.js.map +0 -1
- package/dist/_node_modules/meow/build/index.js +0 -80
- package/dist/_node_modules/meow/build/index.js.map +0 -1
- package/dist/_node_modules/meow/build/options.js +0 -86
- package/dist/_node_modules/meow/build/options.js.map +0 -1
- package/dist/_node_modules/meow/build/parser.js +0 -61
- package/dist/_node_modules/meow/build/parser.js.map +0 -1
- package/dist/_node_modules/meow/build/utils.js +0 -8
- package/dist/_node_modules/meow/build/utils.js.map +0 -1
- package/dist/_node_modules/meow/build/validate.js +0 -102
- package/dist/_node_modules/meow/build/validate.js.map +0 -1
- package/dist/commands/init.js +0 -34
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/sync.js +0 -32
- package/dist/commands/sync.js.map +0 -1
- package/dist/core/auth.js +0 -72
- package/dist/core/auth.js.map +0 -1
- package/dist/core/customType.js +0 -43
- package/dist/core/customType.js.map +0 -1
- package/dist/core/framework.js +0 -128
- package/dist/core/framework.js.map +0 -1
- package/dist/core/project.js +0 -92
- package/dist/core/project.js.map +0 -1
- package/dist/core/repository.js +0 -33
- package/dist/core/repository.js.map +0 -1
- package/dist/core/slices.js +0 -47
- package/dist/core/slices.js.map +0 -1
- package/dist/core/version.js +0 -27
- package/dist/core/version.js.map +0 -1
- package/dist/packages/cli/package.json.js +0 -63
- package/dist/packages/cli/package.json.js.map +0 -1
- package/dist/utils/error.js +0 -18
- package/dist/utils/error.js.map +0 -1
- package/dist/utils/listr.js +0 -12
- package/dist/utils/listr.js.map +0 -1
- package/dist/utils/output.js +0 -34
- package/dist/utils/output.js.map +0 -1
- package/dist/utils/package.js +0 -20
- package/dist/utils/package.js.map +0 -1
- package/dist/utils/sentry.js +0 -62
- package/dist/utils/sentry.js.map +0 -1
- package/dist/utils/telemetry.js +0 -42
- package/dist/utils/telemetry.js.map +0 -1
|
@@ -0,0 +1,3380 @@
|
|
|
1
|
+
var dl = Object.create;
|
|
2
|
+
var dt = Object.defineProperty;
|
|
3
|
+
var ml = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var Fl = Object.getOwnPropertyNames;
|
|
5
|
+
var gl = Object.getPrototypeOf, El = Object.prototype.hasOwnProperty;
|
|
6
|
+
var x = (e, r) => () => (r || e((r = { exports: {} }).exports, r), r.exports), zn = (e, r) => {
|
|
7
|
+
for (var t in r) dt(e, t, { get: r[t], enumerable: true });
|
|
8
|
+
}, Cl = (e, r, t, n) => {
|
|
9
|
+
if (r && typeof r == "object" || typeof r == "function") for (let i of Fl(r)) !El.call(e, i) && i !== t && dt(e, i, { get: () => r[i], enumerable: !(n = ml(r, i)) || n.enumerable });
|
|
10
|
+
return e;
|
|
11
|
+
};
|
|
12
|
+
var Le = (e, r, t) => (t = e != null ? dl(gl(e)) : {}, Cl(dt(t, "default", { value: e, enumerable: true }), e));
|
|
13
|
+
var kr = x((oF, Wn) => {
|
|
14
|
+
Wn.exports = yl;
|
|
15
|
+
function yl(e) {
|
|
16
|
+
return String(e).replace(/\s+/g, " ");
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
var Hi = x((NC, ji) => {
|
|
20
|
+
ji.exports = Yf;
|
|
21
|
+
var Dr = 9, Gr = 10, We = 32, Lf = 33, Rf = 58, Ve = 91, Mf = 92, Nt = 93, pr = 94, zr = 96, Wr = 4, Uf = 1024;
|
|
22
|
+
function Yf(e) {
|
|
23
|
+
var r = this.Parser, t = this.Compiler;
|
|
24
|
+
Gf(r) && Wf(r, e), zf(t) && Vf(t);
|
|
25
|
+
}
|
|
26
|
+
function Gf(e) {
|
|
27
|
+
return !!(e && e.prototype && e.prototype.blockTokenizers);
|
|
28
|
+
}
|
|
29
|
+
function zf(e) {
|
|
30
|
+
return !!(e && e.prototype && e.prototype.visitors);
|
|
31
|
+
}
|
|
32
|
+
function Wf(e, r) {
|
|
33
|
+
for (var t = r || {}, n = e.prototype, i = n.blockTokenizers, u = n.inlineTokenizers, a = n.blockMethods, o = n.inlineMethods, s = i.definition, l = u.reference, c = [], f = -1, D = a.length, m; ++f < D; ) m = a[f], !(m === "newline" || m === "indentedCode" || m === "paragraph" || m === "footnoteDefinition") && c.push([m]);
|
|
34
|
+
c.push(["footnoteDefinition"]), t.inlineNotes && (It(o, "reference", "inlineNote"), u.inlineNote = F), It(a, "definition", "footnoteDefinition"), It(o, "reference", "footnoteCall"), i.definition = E, i.footnoteDefinition = p, u.footnoteCall = h, u.reference = g, n.interruptFootnoteDefinition = c, g.locator = l.locator, h.locator = v, F.locator = A;
|
|
35
|
+
function p(b, d, y) {
|
|
36
|
+
for (var w = this, C = w.interruptFootnoteDefinition, k = w.offset, B = d.length + 1, T = 0, _ = [], I, S, O, q, N, ce, H, P, ne, Q, Ce, ve, Y; T < B && (q = d.charCodeAt(T), !(q !== Dr && q !== We)); ) T++;
|
|
37
|
+
if (d.charCodeAt(T++) === Ve && d.charCodeAt(T++) === pr) {
|
|
38
|
+
for (S = T; T < B; ) {
|
|
39
|
+
if (q = d.charCodeAt(T), q !== q || q === Gr || q === Dr || q === We) return;
|
|
40
|
+
if (q === Nt) {
|
|
41
|
+
O = T, T++;
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
T++;
|
|
45
|
+
}
|
|
46
|
+
if (!(O === void 0 || S === O || d.charCodeAt(T++) !== Rf)) {
|
|
47
|
+
if (y) return true;
|
|
48
|
+
for (I = d.slice(S, O), N = b.now(), ne = 0, Q = 0, Ce = T, ve = []; T < B; ) {
|
|
49
|
+
if (q = d.charCodeAt(T), q !== q || q === Gr) Y = { start: ne, contentStart: Ce || T, contentEnd: T, end: T }, ve.push(Y), q === Gr && (ne = T + 1, Q = 0, Ce = void 0, Y.end = ne);
|
|
50
|
+
else if (Q !== void 0) if (q === We || q === Dr) Q += q === We ? 1 : Wr - Q % Wr, Q > Wr && (Q = void 0, Ce = T);
|
|
51
|
+
else {
|
|
52
|
+
if (Q < Wr && Y && (Y.contentStart === Y.contentEnd || $f(C, i, w, [b, d.slice(T, Uf), true]))) break;
|
|
53
|
+
Q = void 0, Ce = T;
|
|
54
|
+
}
|
|
55
|
+
T++;
|
|
56
|
+
}
|
|
57
|
+
for (T = -1, B = ve.length; B > 0 && (Y = ve[B - 1], Y.contentStart === Y.contentEnd); ) B--;
|
|
58
|
+
for (ce = b(d.slice(0, Y.contentEnd)); ++T < B; ) Y = ve[T], k[N.line + T] = (k[N.line + T] || 0) + (Y.contentStart - Y.start), _.push(d.slice(Y.contentStart, Y.end));
|
|
59
|
+
return H = w.enterBlock(), P = w.tokenizeBlock(_.join(""), N), H(), ce({ type: "footnoteDefinition", identifier: I.toLowerCase(), label: I, children: P });
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function h(b, d, y) {
|
|
64
|
+
var w = d.length + 1, C = 0, k, B, T, _;
|
|
65
|
+
if (d.charCodeAt(C++) === Ve && d.charCodeAt(C++) === pr) {
|
|
66
|
+
for (B = C; C < w; ) {
|
|
67
|
+
if (_ = d.charCodeAt(C), _ !== _ || _ === Gr || _ === Dr || _ === We) return;
|
|
68
|
+
if (_ === Nt) {
|
|
69
|
+
T = C, C++;
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
C++;
|
|
73
|
+
}
|
|
74
|
+
if (!(T === void 0 || B === T)) return y ? true : (k = d.slice(B, T), b(d.slice(0, C))({ type: "footnoteReference", identifier: k.toLowerCase(), label: k }));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
function F(b, d, y) {
|
|
78
|
+
var w = this, C = d.length + 1, k = 0, B = 0, T, _, I, S, O, q, N;
|
|
79
|
+
if (d.charCodeAt(k++) === pr && d.charCodeAt(k++) === Ve) {
|
|
80
|
+
for (I = k; k < C; ) {
|
|
81
|
+
if (_ = d.charCodeAt(k), _ !== _) return;
|
|
82
|
+
if (q === void 0) if (_ === Mf) k += 2;
|
|
83
|
+
else if (_ === Ve) B++, k++;
|
|
84
|
+
else if (_ === Nt) if (B === 0) {
|
|
85
|
+
S = k, k++;
|
|
86
|
+
break;
|
|
87
|
+
} else B--, k++;
|
|
88
|
+
else if (_ === zr) {
|
|
89
|
+
for (O = k, q = 1; d.charCodeAt(O + q) === zr; ) q++;
|
|
90
|
+
k += q;
|
|
91
|
+
} else k++;
|
|
92
|
+
else if (_ === zr) {
|
|
93
|
+
for (O = k, N = 1; d.charCodeAt(O + N) === zr; ) N++;
|
|
94
|
+
k += N, q === N && (q = void 0), N = void 0;
|
|
95
|
+
} else k++;
|
|
96
|
+
}
|
|
97
|
+
if (S !== void 0) return y ? true : (T = b.now(), T.column += 2, T.offset += 2, b(d.slice(0, k))({ type: "footnote", children: w.tokenizeInline(d.slice(I, S), T) }));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
function g(b, d, y) {
|
|
101
|
+
var w = 0;
|
|
102
|
+
if (d.charCodeAt(w) === Lf && w++, d.charCodeAt(w) === Ve && d.charCodeAt(w + 1) !== pr) return l.call(this, b, d, y);
|
|
103
|
+
}
|
|
104
|
+
function E(b, d, y) {
|
|
105
|
+
for (var w = 0, C = d.charCodeAt(w); C === We || C === Dr; ) C = d.charCodeAt(++w);
|
|
106
|
+
if (C === Ve && d.charCodeAt(w + 1) !== pr) return s.call(this, b, d, y);
|
|
107
|
+
}
|
|
108
|
+
function v(b, d) {
|
|
109
|
+
return b.indexOf("[", d);
|
|
110
|
+
}
|
|
111
|
+
function A(b, d) {
|
|
112
|
+
return b.indexOf("^[", d);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function Vf(e) {
|
|
116
|
+
var r = e.prototype.visitors, t = " ";
|
|
117
|
+
r.footnote = n, r.footnoteReference = i, r.footnoteDefinition = u;
|
|
118
|
+
function n(a) {
|
|
119
|
+
return "^[" + this.all(a).join("") + "]";
|
|
120
|
+
}
|
|
121
|
+
function i(a) {
|
|
122
|
+
return "[^" + (a.label || a.identifier) + "]";
|
|
123
|
+
}
|
|
124
|
+
function u(a) {
|
|
125
|
+
for (var o = this.all(a).join(`
|
|
126
|
+
|
|
127
|
+
`).split(`
|
|
128
|
+
`), s = 0, l = o.length, c; ++s < l; ) c = o[s], c !== "" && (o[s] = t + c);
|
|
129
|
+
return "[^" + (a.label || a.identifier) + "]: " + o.join(`
|
|
130
|
+
`);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
function It(e, r, t) {
|
|
134
|
+
e.splice(e.indexOf(r), 0, t);
|
|
135
|
+
}
|
|
136
|
+
function $f(e, r, t, n) {
|
|
137
|
+
for (var i = e.length, u = -1; ++u < i; ) if (r[e[u][0]].apply(t, n)) return true;
|
|
138
|
+
return false;
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
var Lt = x((Pt) => {
|
|
142
|
+
Pt.isRemarkParser = jf;
|
|
143
|
+
Pt.isRemarkCompiler = Hf;
|
|
144
|
+
function jf(e) {
|
|
145
|
+
return !!(e && e.prototype && e.prototype.blockTokenizers);
|
|
146
|
+
}
|
|
147
|
+
function Hf(e) {
|
|
148
|
+
return !!(e && e.prototype && e.prototype.visitors);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
var ru = x((PC, eu) => {
|
|
152
|
+
var Ki = Lt();
|
|
153
|
+
eu.exports = Qf;
|
|
154
|
+
var Xi = 9, Ji = 32, Vr = 36, Kf = 48, Xf = 57, Qi = 92, Jf = ["math", "math-inline"], Zi = "math-display";
|
|
155
|
+
function Qf(e) {
|
|
156
|
+
let r = this.Parser, t = this.Compiler;
|
|
157
|
+
Ki.isRemarkParser(r) && Zf(r, e), Ki.isRemarkCompiler(t) && eD(t);
|
|
158
|
+
}
|
|
159
|
+
function Zf(e, r) {
|
|
160
|
+
let t = e.prototype, n = t.inlineMethods;
|
|
161
|
+
u.locator = i, t.inlineTokenizers.math = u, n.splice(n.indexOf("text"), 0, "math");
|
|
162
|
+
function i(a, o) {
|
|
163
|
+
return a.indexOf("$", o);
|
|
164
|
+
}
|
|
165
|
+
function u(a, o, s) {
|
|
166
|
+
let l = o.length, c = false, f = false, D = 0, m, p, h, F, g, E, v;
|
|
167
|
+
if (o.charCodeAt(D) === Qi && (f = true, D++), o.charCodeAt(D) === Vr) {
|
|
168
|
+
if (D++, f) return s ? true : a(o.slice(0, D))({ type: "text", value: "$" });
|
|
169
|
+
if (o.charCodeAt(D) === Vr && (c = true, D++), h = o.charCodeAt(D), !(h === Ji || h === Xi)) {
|
|
170
|
+
for (F = D; D < l; ) {
|
|
171
|
+
if (p = h, h = o.charCodeAt(D + 1), p === Vr) {
|
|
172
|
+
if (m = o.charCodeAt(D - 1), m !== Ji && m !== Xi && (h !== h || h < Kf || h > Xf) && (!c || h === Vr)) {
|
|
173
|
+
g = D - 1, D++, c && D++, E = D;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
} else p === Qi && (D++, h = o.charCodeAt(D + 1));
|
|
177
|
+
D++;
|
|
178
|
+
}
|
|
179
|
+
if (E !== void 0) return s ? true : (v = o.slice(F, g + 1), a(o.slice(0, E))({ type: "inlineMath", value: v, data: { hName: "span", hProperties: { className: Jf.concat(c && r.inlineMathDouble ? [Zi] : []) }, hChildren: [{ type: "text", value: v }] } }));
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
function eD(e) {
|
|
185
|
+
let r = e.prototype;
|
|
186
|
+
r.visitors.inlineMath = t;
|
|
187
|
+
function t(n) {
|
|
188
|
+
let i = "$";
|
|
189
|
+
return (n.data && n.data.hProperties && n.data.hProperties.className || []).includes(Zi) && (i = "$$"), i + n.value + i;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
var au = x((LC, uu) => {
|
|
194
|
+
var tu = Lt();
|
|
195
|
+
uu.exports = iD;
|
|
196
|
+
var nu = 10, hr = 32, Rt = 36, iu = `
|
|
197
|
+
`, rD = "$", tD = 2, nD = ["math", "math-display"];
|
|
198
|
+
function iD() {
|
|
199
|
+
let e = this.Parser, r = this.Compiler;
|
|
200
|
+
tu.isRemarkParser(e) && uD(e), tu.isRemarkCompiler(r) && aD(r);
|
|
201
|
+
}
|
|
202
|
+
function uD(e) {
|
|
203
|
+
let r = e.prototype, t = r.blockMethods, n = r.interruptParagraph, i = r.interruptList, u = r.interruptBlockquote;
|
|
204
|
+
r.blockTokenizers.math = a, t.splice(t.indexOf("fencedCode") + 1, 0, "math"), n.splice(n.indexOf("fencedCode") + 1, 0, ["math"]), i.splice(i.indexOf("fencedCode") + 1, 0, ["math"]), u.splice(u.indexOf("fencedCode") + 1, 0, ["math"]);
|
|
205
|
+
function a(o, s, l) {
|
|
206
|
+
var c = s.length, f = 0;
|
|
207
|
+
let D, m, p, h, F, g, E, v, A, b, d;
|
|
208
|
+
for (; f < c && s.charCodeAt(f) === hr; ) f++;
|
|
209
|
+
for (F = f; f < c && s.charCodeAt(f) === Rt; ) f++;
|
|
210
|
+
if (g = f - F, !(g < tD)) {
|
|
211
|
+
for (; f < c && s.charCodeAt(f) === hr; ) f++;
|
|
212
|
+
for (E = f; f < c; ) {
|
|
213
|
+
if (D = s.charCodeAt(f), D === Rt) return;
|
|
214
|
+
if (D === nu) break;
|
|
215
|
+
f++;
|
|
216
|
+
}
|
|
217
|
+
if (s.charCodeAt(f) === nu) {
|
|
218
|
+
if (l) return true;
|
|
219
|
+
for (m = [], E !== f && m.push(s.slice(E, f)), f++, p = s.indexOf(iu, f + 1), p = p === -1 ? c : p; f < c; ) {
|
|
220
|
+
for (v = false, b = f, d = p, h = p, A = 0; h > b && s.charCodeAt(h - 1) === hr; ) h--;
|
|
221
|
+
for (; h > b && s.charCodeAt(h - 1) === Rt; ) A++, h--;
|
|
222
|
+
for (g <= A && s.indexOf(rD, b) === h && (v = true, d = h); b <= d && b - f < F && s.charCodeAt(b) === hr; ) b++;
|
|
223
|
+
if (v) for (; d > b && s.charCodeAt(d - 1) === hr; ) d--;
|
|
224
|
+
if ((!v || b !== d) && m.push(s.slice(b, d)), v) break;
|
|
225
|
+
f = p + 1, p = s.indexOf(iu, f + 1), p = p === -1 ? c : p;
|
|
226
|
+
}
|
|
227
|
+
return m = m.join(`
|
|
228
|
+
`), o(s.slice(0, p))({ type: "math", value: m, data: { hName: "div", hProperties: { className: nD.concat() }, hChildren: [{ type: "text", value: m }] } });
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
function aD(e) {
|
|
234
|
+
let r = e.prototype;
|
|
235
|
+
r.visitors.math = t;
|
|
236
|
+
function t(n) {
|
|
237
|
+
return `$$
|
|
238
|
+
` + n.value + `
|
|
239
|
+
$$`;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
var su = x((RC, ou) => {
|
|
244
|
+
var oD = ru(), sD = au();
|
|
245
|
+
ou.exports = cD;
|
|
246
|
+
function cD(e) {
|
|
247
|
+
var r = e || {};
|
|
248
|
+
sD.call(this, r), oD.call(this, r);
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
var Ne = x((MC, cu) => {
|
|
252
|
+
cu.exports = fD;
|
|
253
|
+
var lD = Object.prototype.hasOwnProperty;
|
|
254
|
+
function fD() {
|
|
255
|
+
for (var e = {}, r = 0; r < arguments.length; r++) {
|
|
256
|
+
var t = arguments[r];
|
|
257
|
+
for (var n in t) lD.call(t, n) && (e[n] = t[n]);
|
|
258
|
+
}
|
|
259
|
+
return e;
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
var lu = x((UC, Mt) => {
|
|
263
|
+
typeof Object.create == "function" ? Mt.exports = function(r, t) {
|
|
264
|
+
t && (r.super_ = t, r.prototype = Object.create(t.prototype, { constructor: { value: r, enumerable: false, writable: true, configurable: true } }));
|
|
265
|
+
} : Mt.exports = function(r, t) {
|
|
266
|
+
if (t) {
|
|
267
|
+
r.super_ = t;
|
|
268
|
+
var n = function() {
|
|
269
|
+
};
|
|
270
|
+
n.prototype = t.prototype, r.prototype = new n(), r.prototype.constructor = r;
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
});
|
|
274
|
+
var pu = x((YC, Du) => {
|
|
275
|
+
var DD = Ne(), fu = lu();
|
|
276
|
+
Du.exports = pD;
|
|
277
|
+
function pD(e) {
|
|
278
|
+
var r, t, n;
|
|
279
|
+
fu(u, e), fu(i, u), r = u.prototype;
|
|
280
|
+
for (t in r) n = r[t], n && typeof n == "object" && (r[t] = "concat" in n ? n.concat() : DD(n));
|
|
281
|
+
return u;
|
|
282
|
+
function i(a) {
|
|
283
|
+
return e.apply(this, a);
|
|
284
|
+
}
|
|
285
|
+
function u() {
|
|
286
|
+
return this instanceof u ? e.apply(this, arguments) : new i(arguments);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
var du = x((GC, hu) => {
|
|
291
|
+
hu.exports = hD;
|
|
292
|
+
function hD(e, r, t) {
|
|
293
|
+
return n;
|
|
294
|
+
function n() {
|
|
295
|
+
var i = t || this, u = i[e];
|
|
296
|
+
return i[e] = !r, a;
|
|
297
|
+
function a() {
|
|
298
|
+
i[e] = u;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
var Fu = x((zC, mu) => {
|
|
304
|
+
mu.exports = dD;
|
|
305
|
+
function dD(e) {
|
|
306
|
+
for (var r = String(e), t = [], n = /\r?\n|\r/g; n.exec(r); ) t.push(n.lastIndex);
|
|
307
|
+
return t.push(r.length + 1), { toPoint: i, toPosition: i, toOffset: u };
|
|
308
|
+
function i(a) {
|
|
309
|
+
var o = -1;
|
|
310
|
+
if (a > -1 && a < t[t.length - 1]) {
|
|
311
|
+
for (; ++o < t.length; ) if (t[o] > a) return { line: o + 1, column: a - (t[o - 1] || 0) + 1, offset: a };
|
|
312
|
+
}
|
|
313
|
+
return {};
|
|
314
|
+
}
|
|
315
|
+
function u(a) {
|
|
316
|
+
var o = a && a.line, s = a && a.column, l;
|
|
317
|
+
return !isNaN(o) && !isNaN(s) && o - 1 in t && (l = (t[o - 2] || 0) + s - 1 || 0), l > -1 && l < t[t.length - 1] ? l : -1;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
var Eu = x((WC, gu) => {
|
|
322
|
+
gu.exports = mD;
|
|
323
|
+
var Ut = "\\";
|
|
324
|
+
function mD(e, r) {
|
|
325
|
+
return t;
|
|
326
|
+
function t(n) {
|
|
327
|
+
for (var i = 0, u = n.indexOf(Ut), a = e[r], o = [], s; u !== -1; ) o.push(n.slice(i, u)), i = u + 1, s = n.charAt(i), (!s || a.indexOf(s) === -1) && o.push(Ut), u = n.indexOf(Ut, i + 1);
|
|
328
|
+
return o.push(n.slice(i)), o.join("");
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
var Cu = x((VC, FD) => {
|
|
333
|
+
FD.exports = { AElig: "Æ", AMP: "&", Aacute: "Á", Acirc: "Â", Agrave: "À", Aring: "Å", Atilde: "Ã", Auml: "Ä", COPY: "©", Ccedil: "Ç", ETH: "Ð", Eacute: "É", Ecirc: "Ê", Egrave: "È", Euml: "Ë", GT: ">", Iacute: "Í", Icirc: "Î", Igrave: "Ì", Iuml: "Ï", LT: "<", Ntilde: "Ñ", Oacute: "Ó", Ocirc: "Ô", Ograve: "Ò", Oslash: "Ø", Otilde: "Õ", Ouml: "Ö", QUOT: '"', REG: "®", THORN: "Þ", Uacute: "Ú", Ucirc: "Û", Ugrave: "Ù", Uuml: "Ü", Yacute: "Ý", aacute: "á", acirc: "â", acute: "´", aelig: "æ", agrave: "à", amp: "&", aring: "å", atilde: "ã", auml: "ä", brvbar: "¦", ccedil: "ç", cedil: "¸", cent: "¢", copy: "©", curren: "¤", deg: "°", divide: "÷", eacute: "é", ecirc: "ê", egrave: "è", eth: "ð", euml: "ë", frac12: "½", frac14: "¼", frac34: "¾", gt: ">", iacute: "í", icirc: "î", iexcl: "¡", igrave: "ì", iquest: "¿", iuml: "ï", laquo: "«", lt: "<", macr: "¯", micro: "µ", middot: "·", nbsp: " ", not: "¬", ntilde: "ñ", oacute: "ó", ocirc: "ô", ograve: "ò", ordf: "ª", ordm: "º", oslash: "ø", otilde: "õ", ouml: "ö", para: "¶", plusmn: "±", pound: "£", quot: '"', raquo: "»", reg: "®", sect: "§", shy: "", sup1: "¹", sup2: "²", sup3: "³", szlig: "ß", thorn: "þ", times: "×", uacute: "ú", ucirc: "û", ugrave: "ù", uml: "¨", uuml: "ü", yacute: "ý", yen: "¥", yuml: "ÿ" };
|
|
334
|
+
});
|
|
335
|
+
var vu = x(($C, gD) => {
|
|
336
|
+
gD.exports = { "0": "�", "128": "€", "130": "‚", "131": "ƒ", "132": "„", "133": "…", "134": "†", "135": "‡", "136": "ˆ", "137": "‰", "138": "Š", "139": "‹", "140": "Œ", "142": "Ž", "145": "‘", "146": "’", "147": "“", "148": "”", "149": "•", "150": "–", "151": "—", "152": "˜", "153": "™", "154": "š", "155": "›", "156": "œ", "158": "ž", "159": "Ÿ" };
|
|
337
|
+
});
|
|
338
|
+
var Ie = x((jC, Au) => {
|
|
339
|
+
Au.exports = ED;
|
|
340
|
+
function ED(e) {
|
|
341
|
+
var r = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
342
|
+
return r >= 48 && r <= 57;
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
var xu = x((HC, bu) => {
|
|
346
|
+
bu.exports = CD;
|
|
347
|
+
function CD(e) {
|
|
348
|
+
var r = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
349
|
+
return r >= 97 && r <= 102 || r >= 65 && r <= 70 || r >= 48 && r <= 57;
|
|
350
|
+
}
|
|
351
|
+
});
|
|
352
|
+
var $e = x((KC, yu) => {
|
|
353
|
+
yu.exports = vD;
|
|
354
|
+
function vD(e) {
|
|
355
|
+
var r = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
356
|
+
return r >= 97 && r <= 122 || r >= 65 && r <= 90;
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
var ku = x((XC, wu) => {
|
|
360
|
+
var AD = $e(), bD = Ie();
|
|
361
|
+
wu.exports = xD;
|
|
362
|
+
function xD(e) {
|
|
363
|
+
return AD(e) || bD(e);
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
var Bu = x((JC, yD) => {
|
|
367
|
+
yD.exports = { AEli: "Æ", AElig: "Æ", AM: "&", AMP: "&", Aacut: "Á", Aacute: "Á", Abreve: "Ă", Acir: "Â", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrav: "À", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "", Arin: "Å", Aring: "Å", Ascr: "𝒜", Assign: "≔", Atild: "Ã", Atilde: "Ã", Aum: "Ä", Auml: "Ä", Backslash: "∖", Barv: "⫧", Barwed: "⌆", Bcy: "Б", Because: "∵", Bernoullis: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", Bscr: "ℬ", Bumpeq: "≎", CHcy: "Ч", COP: "©", COPY: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", Cayleys: "ℭ", Ccaron: "Č", Ccedi: "Ç", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", CenterDot: "·", Cfr: "ℭ", Chi: "Χ", CircleDot: "⊙", CircleMinus: "⊖", CirclePlus: "⊕", CircleTimes: "⊗", ClockwiseContourIntegral: "∲", CloseCurlyDoubleQuote: "”", CloseCurlyQuote: "’", Colon: "∷", Colone: "⩴", Congruent: "≡", Conint: "∯", ContourIntegral: "∮", Copf: "ℂ", Coproduct: "∐", CounterClockwiseContourIntegral: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", DD: "ⅅ", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", Darr: "↡", Dashv: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", DiacriticalDot: "˙", DiacriticalDoubleAcute: "˝", DiacriticalGrave: "`", DiacriticalTilde: "˜", Diamond: "⋄", DifferentialD: "ⅆ", Dopf: "𝔻", Dot: "¨", DotDot: "⃜", DotEqual: "≐", DoubleContourIntegral: "∯", DoubleDot: "¨", DoubleDownArrow: "⇓", DoubleLeftArrow: "⇐", DoubleLeftRightArrow: "⇔", DoubleLeftTee: "⫤", DoubleLongLeftArrow: "⟸", DoubleLongLeftRightArrow: "⟺", DoubleLongRightArrow: "⟹", DoubleRightArrow: "⇒", DoubleRightTee: "⊨", DoubleUpArrow: "⇑", DoubleUpDownArrow: "⇕", DoubleVerticalBar: "∥", DownArrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", DownTeeArrow: "↧", Downarrow: "⇓", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ET: "Ð", ETH: "Ð", Eacut: "É", Eacute: "É", Ecaron: "Ě", Ecir: "Ê", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrav: "È", Egrave: "È", Element: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", Equilibrium: "⇌", Escr: "ℰ", Esim: "⩳", Eta: "Η", Eum: "Ë", Euml: "Ë", Exists: "∃", ExponentialE: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", Fopf: "𝔽", ForAll: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", G: ">", GT: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", GreaterEqualLess: "⋛", GreaterFullEqual: "≧", GreaterGreater: "⪢", GreaterLess: "≷", GreaterSlantEqual: "⩾", GreaterTilde: "≳", Gscr: "𝒢", Gt: "≫", HARDcy: "Ъ", Hacek: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", HilbertSpace: "ℋ", Hopf: "ℍ", HorizontalLine: "─", Hscr: "ℋ", Hstrok: "Ħ", HumpDownHump: "≎", HumpEqual: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacut: "Í", Iacute: "Í", Icir: "Î", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Igrav: "Ì", Igrave: "Ì", Im: "ℑ", Imacr: "Ī", ImaginaryI: "ⅈ", Implies: "⇒", Int: "∬", Integral: "∫", Intersection: "⋂", InvisibleComma: "", InvisibleTimes: "", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", Itilde: "Ĩ", Iukcy: "І", Ium: "Ï", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", L: "<", LT: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Larr: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", LeftArrow: "←", LeftArrowBar: "⇤", LeftArrowRightArrow: "⇆", LeftCeiling: "⌈", LeftDoubleBracket: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", LeftRightArrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", LeftTeeArrow: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", LeftVectorBar: "⥒", Leftarrow: "⇐", Leftrightarrow: "⇔", LessEqualGreater: "⋚", LessFullEqual: "≦", LessGreater: "≶", LessLess: "⪡", LessSlantEqual: "⩽", LessTilde: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", LongLeftRightArrow: "⟷", LongRightArrow: "⟶", Longleftarrow: "⟸", Longleftrightarrow: "⟺", Longrightarrow: "⟹", Lopf: "𝕃", LowerLeftArrow: "↙", LowerRightArrow: "↘", Lscr: "ℒ", Lsh: "↰", Lstrok: "Ł", Lt: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mfr: "𝔐", MinusPlus: "∓", Mopf: "𝕄", Mscr: "ℳ", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "", NegativeThickSpace: "", NegativeThinSpace: "", NegativeVeryThinSpace: "", NestedGreaterGreater: "≫", NestedLessLess: "≪", NewLine: `
|
|
368
|
+
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", Nopf: "ℕ", Not: "⫬", NotCongruent: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", NotElement: "∉", NotEqual: "≠", NotEqualTilde: "≂̸", NotExists: "∄", NotGreater: "≯", NotGreaterEqual: "≱", NotGreaterFullEqual: "≧̸", NotGreaterGreater: "≫̸", NotGreaterLess: "≹", NotGreaterSlantEqual: "⩾̸", NotGreaterTilde: "≵", NotHumpDownHump: "≎̸", NotHumpEqual: "≏̸", NotLeftTriangle: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", NotLess: "≮", NotLessEqual: "≰", NotLessGreater: "≸", NotLessLess: "≪̸", NotLessSlantEqual: "⩽̸", NotLessTilde: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", NotPrecedesEqual: "⪯̸", NotPrecedesSlantEqual: "⋠", NotReverseElement: "∌", NotRightTriangle: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", NotSubset: "⊂⃒", NotSubsetEqual: "⊈", NotSucceeds: "⊁", NotSucceedsEqual: "⪰̸", NotSucceedsSlantEqual: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", NotSupersetEqual: "⊉", NotTilde: "≁", NotTildeEqual: "≄", NotTildeFullEqual: "≇", NotTildeTilde: "≉", NotVerticalBar: "∤", Nscr: "𝒩", Ntild: "Ñ", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacut: "Ó", Oacute: "Ó", Ocir: "Ô", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograv: "Ò", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", OpenCurlyQuote: "‘", Or: "⩔", Oscr: "𝒪", Oslas: "Ø", Oslash: "Ø", Otild: "Õ", Otilde: "Õ", Otimes: "⨷", Oum: "Ö", Ouml: "Ö", OverBar: "‾", OverBrace: "⏞", OverBracket: "⎴", OverParenthesis: "⏜", PartialD: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", Poincareplane: "ℌ", Popf: "ℙ", Pr: "⪻", Precedes: "≺", PrecedesEqual: "⪯", PrecedesSlantEqual: "≼", PrecedesTilde: "≾", Prime: "″", Product: "∏", Proportion: "∷", Proportional: "∝", Pscr: "𝒫", Psi: "Ψ", QUO: '"', QUOT: '"', Qfr: "𝔔", Qopf: "ℚ", Qscr: "𝒬", RBarr: "⤐", RE: "®", REG: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", ReverseElement: "∋", ReverseEquilibrium: "⇋", ReverseUpEquilibrium: "⥯", Rfr: "ℜ", Rho: "Ρ", RightAngleBracket: "⟩", RightArrow: "→", RightArrowBar: "⇥", RightArrowLeftArrow: "⇄", RightCeiling: "⌉", RightDoubleBracket: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", RightTee: "⊢", RightTeeArrow: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", RightVectorBar: "⥓", Rightarrow: "⇒", Ropf: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", Rscr: "ℛ", Rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortDownArrow: "↓", ShortLeftArrow: "←", ShortRightArrow: "→", ShortUpArrow: "↑", Sigma: "Σ", SmallCircle: "∘", Sopf: "𝕊", Sqrt: "√", Square: "□", SquareIntersection: "⊓", SquareSubset: "⊏", SquareSubsetEqual: "⊑", SquareSuperset: "⊐", SquareSupersetEqual: "⊒", SquareUnion: "⊔", Sscr: "𝒮", Star: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", Succeeds: "≻", SucceedsEqual: "⪰", SucceedsSlantEqual: "≽", SucceedsTilde: "≿", SuchThat: "∋", Sum: "∑", Sup: "⋑", Superset: "⊃", SupersetEqual: "⊇", Supset: "⋑", THOR: "Þ", THORN: "Þ", TRADE: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", Tilde: "∼", TildeEqual: "≃", TildeFullEqual: "≅", TildeTilde: "≈", Topf: "𝕋", TripleDot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacut: "Ú", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucir: "Û", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrav: "Ù", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", UnderBrace: "⏟", UnderBracket: "⎵", UnderParenthesis: "⏝", Union: "⋃", UnionPlus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrow: "↑", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", UpDownArrow: "↕", UpEquilibrium: "⥮", UpTee: "⊥", UpTeeArrow: "↥", Uparrow: "⇑", Updownarrow: "⇕", UpperLeftArrow: "↖", UpperRightArrow: "↗", Upsi: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uum: "Ü", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", VerticalLine: "|", VerticalSeparator: "❘", VerticalTilde: "≀", VeryThinSpace: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacut: "Ý", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", ZeroWidthSpace: "", Zeta: "Ζ", Zfr: "ℨ", Zopf: "ℤ", Zscr: "𝒵", aacut: "á", aacute: "á", abreve: "ă", ac: "∾", acE: "∾̳", acd: "∿", acir: "â", acirc: "â", acut: "´", acute: "´", acy: "а", aeli: "æ", aelig: "æ", af: "", afr: "𝔞", agrav: "à", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", am: "&", amp: "&", and: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", ange: "⦤", angle: "∠", angmsd: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angst: "Å", angzarr: "⍼", aogon: "ą", aopf: "𝕒", ap: "≈", apE: "⩰", apacir: "⩯", ape: "≊", apid: "≋", apos: "'", approx: "≈", approxeq: "≊", arin: "å", aring: "å", ascr: "𝒶", ast: "*", asymp: "≈", asympeq: "≍", atild: "ã", atilde: "ã", aum: "ä", auml: "ä", awconint: "∳", awint: "⨑", bNot: "⫭", backcong: "≌", backepsilon: "϶", backprime: "‵", backsim: "∽", backsimeq: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrk: "⎵", bbrktbrk: "⎶", bcong: "≌", bcy: "б", bdquo: "„", becaus: "∵", because: "∵", bemptyv: "⦰", bepsi: "϶", bernou: "ℬ", beta: "β", beth: "ℶ", between: "≬", bfr: "𝔟", bigcap: "⋂", bigcirc: "◯", bigcup: "⋃", bigodot: "⨀", bigoplus: "⨁", bigotimes: "⨂", bigsqcup: "⨆", bigstar: "★", bigtriangledown: "▽", bigtriangleup: "△", biguplus: "⨄", bigvee: "⋁", bigwedge: "⋀", bkarow: "⤍", blacklozenge: "⧫", blacksquare: "▪", blacktriangle: "▴", blacktriangledown: "▾", blacktriangleleft: "◂", blacktriangleright: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bot: "⊥", bottom: "⊥", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxh: "─", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", boxplus: "⊞", boxtimes: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", bprime: "‵", breve: "˘", brvba: "¦", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsim: "∽", bsime: "⋍", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bump: "≎", bumpE: "⪮", bumpe: "≏", bumpeq: "≏", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", caron: "ˇ", ccaps: "⩍", ccaron: "č", ccedi: "ç", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cedi: "¸", cedil: "¸", cemptyv: "⦲", cen: "¢", cent: "¢", centerdot: "·", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", circlearrowleft: "↺", circlearrowright: "↻", circledR: "®", circledS: "Ⓢ", circledast: "⊛", circledcirc: "⊚", circleddash: "⊝", cire: "≗", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", colone: "≔", coloneq: "≔", comma: ",", commat: "@", comp: "∁", compfn: "∘", complement: "∁", complexes: "ℂ", cong: "≅", congdot: "⩭", conint: "∮", copf: "𝕔", coprod: "∐", cop: "©", copy: "©", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", cuesc: "⋟", cularr: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curarrm: "⤼", curlyeqprec: "⋞", curlyeqsucc: "⋟", curlyvee: "⋎", curlywedge: "⋏", curre: "¤", curren: "¤", curvearrowleft: "↶", curvearrowright: "↷", cuvee: "⋎", cuwed: "⋏", cwconint: "∲", cwint: "∱", cylcty: "⌭", dArr: "⇓", dHar: "⥥", dagger: "†", daleth: "ℸ", darr: "↓", dash: "‐", dashv: "⊣", dbkarow: "⤏", dblac: "˝", dcaron: "ď", dcy: "д", dd: "ⅆ", ddagger: "‡", ddarr: "⇊", ddotseq: "⩷", de: "°", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", dharl: "⇃", dharr: "⇂", diam: "⋄", diamond: "⋄", diamondsuit: "♦", diams: "♦", die: "¨", digamma: "ϝ", disin: "⋲", div: "÷", divid: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", dot: "˙", doteq: "≐", doteqdot: "≑", dotminus: "∸", dotplus: "∔", dotsquare: "⊡", doublebarwedge: "⌆", downarrow: "↓", downdownarrows: "⇊", downharpoonleft: "⇃", downharpoonright: "⇂", drbkarow: "⤐", drcorn: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", dtrif: "▾", duarr: "⇵", duhar: "⥯", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eDDot: "⩷", eDot: "≑", eacut: "é", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "ê", ecirc: "ê", ecolon: "≕", ecy: "э", edot: "ė", ee: "ⅇ", efDot: "≒", efr: "𝔢", eg: "⪚", egrav: "è", egrave: "è", egs: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", eqcirc: "≖", eqcolon: "≕", eqsim: "≂", eqslantgtr: "⪖", eqslantless: "⪕", equals: "=", equest: "≟", equiv: "≡", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", erarr: "⥱", escr: "ℯ", esdot: "≐", esim: "≂", eta: "η", et: "ð", eth: "ð", eum: "ë", euml: "ë", euro: "€", excl: "!", exist: "∃", expectation: "ℰ", exponentiale: "ⅇ", fallingdotseq: "≒", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", forall: "∀", fork: "⋔", forkv: "⫙", fpartint: "⨍", frac1: "¼", frac12: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac3: "¾", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", fscr: "𝒻", gE: "≧", gEl: "⪌", gacute: "ǵ", gamma: "γ", gammad: "ϝ", gap: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", ge: "≥", gel: "⋛", geq: "≥", geqq: "≧", geqslant: "⩾", ges: "⩾", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gg: "≫", ggg: "⋙", gimel: "ℷ", gjcy: "ѓ", gl: "≷", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gneqq: "≩", gnsim: "⋧", gopf: "𝕘", grave: "`", gscr: "ℊ", gsim: "≳", gsime: "⪎", gsiml: "⪐", g: ">", gt: ">", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrapprox: "⪆", gtrarr: "⥸", gtrdot: "⋗", gtreqless: "⋛", gtreqqless: "⪌", gtrless: "≷", gtrsim: "≳", gvertneqq: "≩︀", gvnE: "≩︀", hArr: "⇔", hairsp: " ", half: "½", hamilt: "ℋ", hardcy: "ъ", harr: "↔", harrcir: "⥈", harrw: "↭", hbar: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", hkswarow: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", hookrightarrow: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hslash: "ℏ", hstrok: "ħ", hybull: "⁃", hyphen: "‐", iacut: "í", iacute: "í", ic: "", icir: "î", icirc: "î", icy: "и", iecy: "е", iexc: "¡", iexcl: "¡", iff: "⇔", ifr: "𝔦", igrav: "ì", igrave: "ì", ii: "ⅈ", iiiint: "⨌", iiint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", image: "ℑ", imagline: "ℐ", imagpart: "ℑ", imath: "ı", imof: "⊷", imped: "Ƶ", in: "∈", incare: "℅", infin: "∞", infintie: "⧝", inodot: "ı", int: "∫", intcal: "⊺", integers: "ℤ", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iprod: "⨼", iques: "¿", iquest: "¿", iscr: "𝒾", isin: "∈", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", isinv: "∈", it: "", itilde: "ĩ", iukcy: "і", ium: "ï", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAarr: "⇚", lArr: "⇐", lAtail: "⤛", lBarr: "⤎", lE: "≦", lEg: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lagran: "ℒ", lambda: "λ", lang: "⟨", langd: "⦑", langle: "⟨", lap: "⪅", laqu: "«", laquo: "«", larr: "←", larrb: "⇤", larrbfs: "⤟", larrfs: "⤝", larrhk: "↩", larrlp: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lbrack: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lceil: "⌈", lcub: "{", lcy: "л", ldca: "⤶", ldquo: "“", ldquor: "„", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leftarrow: "←", leftarrowtail: "↢", leftharpoondown: "↽", leftharpoonup: "↼", leftleftarrows: "⇇", leftrightarrow: "↔", leftrightarrows: "⇆", leftrightharpoons: "⇋", leftrightsquigarrow: "↭", leftthreetimes: "⋋", leg: "⋚", leq: "≤", leqq: "≦", leqslant: "⩽", les: "⩽", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessapprox: "⪅", lessdot: "⋖", lesseqgtr: "⋚", lesseqqgtr: "⪋", lessgtr: "≶", lesssim: "≲", lfisht: "⥼", lfloor: "⌊", lfr: "𝔩", lg: "≶", lgE: "⪑", lhard: "↽", lharu: "↼", lharul: "⥪", lhblk: "▄", ljcy: "љ", ll: "≪", llarr: "⇇", llcorner: "⌞", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lneqq: "≨", lnsim: "⋦", loang: "⟬", loarr: "⇽", lobrk: "⟦", longleftarrow: "⟵", longleftrightarrow: "⟷", longmapsto: "⟼", longrightarrow: "⟶", looparrowleft: "↫", looparrowright: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", lowbar: "_", loz: "◊", lozenge: "◊", lozf: "⧫", lpar: "(", lparlt: "⦓", lrarr: "⇆", lrcorner: "⌟", lrhar: "⇋", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsh: "↰", lsim: "≲", lsime: "⪍", lsimg: "⪏", lsqb: "[", lsquo: "‘", lsquor: "‚", lstrok: "ł", l: "<", lt: "<", ltcc: "⪦", ltcir: "⩹", ltdot: "⋖", lthree: "⋋", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", ltrie: "⊴", ltrif: "◂", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", mac: "¯", macr: "¯", male: "♂", malt: "✠", maltese: "✠", map: "↦", mapsto: "↦", mapstodown: "↧", mapstoleft: "↤", mapstoup: "↥", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", measuredangle: "∡", mfr: "𝔪", mho: "℧", micr: "µ", micro: "µ", mid: "∣", midast: "*", midcir: "⫰", middo: "·", middot: "·", minus: "−", minusb: "⊟", minusd: "∸", minusdu: "⨪", mlcp: "⫛", mldr: "…", mnplus: "∓", models: "⊧", mopf: "𝕞", mp: "∓", mscr: "𝓂", mstpos: "∾", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nGtv: "≫̸", nLeftarrow: "⇍", nLeftrightarrow: "⇎", nLl: "⋘̸", nLt: "≪⃒", nLtv: "≪̸", nRightarrow: "⇏", nVDash: "⊯", nVdash: "⊮", nabla: "∇", nacute: "ń", nang: "∠⃒", nap: "≉", napE: "⩰̸", napid: "≋̸", napos: "ʼn", napprox: "≉", natur: "♮", natural: "♮", naturals: "ℕ", nbs: " ", nbsp: " ", nbump: "≎̸", nbumpe: "≏̸", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncong: "≇", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", ne: "≠", neArr: "⇗", nearhk: "⤤", nearr: "↗", nearrow: "↗", nedot: "≐̸", nequiv: "≢", nesear: "⤨", nesim: "≂̸", nexist: "∄", nexists: "∄", nfr: "𝔫", ngE: "≧̸", nge: "≱", ngeq: "≱", ngeqq: "≧̸", ngeqslant: "⩾̸", nges: "⩾̸", ngsim: "≵", ngt: "≯", ngtr: "≯", nhArr: "⇎", nharr: "↮", nhpar: "⫲", ni: "∋", nis: "⋼", nisd: "⋺", niv: "∋", njcy: "њ", nlArr: "⇍", nlE: "≦̸", nlarr: "↚", nldr: "‥", nle: "≰", nleftarrow: "↚", nleftrightarrow: "↮", nleq: "≰", nleqq: "≦̸", nleqslant: "⩽̸", nles: "⩽̸", nless: "≮", nlsim: "≴", nlt: "≮", nltri: "⋪", nltrie: "⋬", nmid: "∤", nopf: "𝕟", no: "¬", not: "¬", notin: "∉", notinE: "⋹̸", notindot: "⋵̸", notinva: "∉", notinvb: "⋷", notinvc: "⋶", notni: "∌", notniva: "∌", notnivb: "⋾", notnivc: "⋽", npar: "∦", nparallel: "∦", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", npr: "⊀", nprcue: "⋠", npre: "⪯̸", nprec: "⊀", npreceq: "⪯̸", nrArr: "⇏", nrarr: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nrightarrow: "↛", nrtri: "⋫", nrtrie: "⋭", nsc: "⊁", nsccue: "⋡", nsce: "⪰̸", nscr: "𝓃", nshortmid: "∤", nshortparallel: "∦", nsim: "≁", nsime: "≄", nsimeq: "≄", nsmid: "∤", nspar: "∦", nsqsube: "⋢", nsqsupe: "⋣", nsub: "⊄", nsubE: "⫅̸", nsube: "⊈", nsubset: "⊂⃒", nsubseteq: "⊈", nsubseteqq: "⫅̸", nsucc: "⊁", nsucceq: "⪰̸", nsup: "⊅", nsupE: "⫆̸", nsupe: "⊉", nsupset: "⊃⃒", nsupseteq: "⊉", nsupseteqq: "⫆̸", ntgl: "≹", ntild: "ñ", ntilde: "ñ", ntlg: "≸", ntriangleleft: "⋪", ntrianglelefteq: "⋬", ntriangleright: "⋫", ntrianglerighteq: "⋭", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwarr: "↖", nwarrow: "↖", nwnear: "⤧", oS: "Ⓢ", oacut: "ó", oacute: "ó", oast: "⊛", ocir: "ô", ocirc: "ô", ocy: "о", odash: "⊝", odblac: "ő", odiv: "⨸", odot: "⊙", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograv: "ò", ograve: "ò", ogt: "⧁", ohbar: "⦵", ohm: "Ω", oint: "∮", olarr: "↺", olcir: "⦾", olcross: "⦻", oline: "‾", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", ominus: "⊖", oopf: "𝕠", opar: "⦷", operp: "⦹", oplus: "⊕", or: "∨", orarr: "↻", ord: "º", order: "ℴ", orderof: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oscr: "ℴ", oslas: "ø", oslash: "ø", osol: "⊘", otild: "õ", otilde: "õ", otimes: "⊗", otimesas: "⨶", oum: "ö", ouml: "ö", ovbar: "⌽", par: "¶", para: "¶", parallel: "∥", parsim: "⫳", parsl: "⫽", part: "∂", pcy: "п", percnt: "%", period: ".", permil: "‰", perp: "⊥", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", phmmat: "ℳ", phone: "☎", pi: "π", pitchfork: "⋔", piv: "ϖ", planck: "ℏ", planckh: "ℎ", plankv: "ℏ", plus: "+", plusacir: "⨣", plusb: "⊞", pluscir: "⨢", plusdo: "∔", plusdu: "⨥", pluse: "⩲", plusm: "±", plusmn: "±", plussim: "⨦", plustwo: "⨧", pm: "±", pointint: "⨕", popf: "𝕡", poun: "£", pound: "£", pr: "≺", prE: "⪳", prap: "⪷", prcue: "≼", pre: "⪯", prec: "≺", precapprox: "⪷", preccurlyeq: "≼", preceq: "⪯", precnapprox: "⪹", precneqq: "⪵", precnsim: "⋨", precsim: "≾", prime: "′", primes: "ℙ", prnE: "⪵", prnap: "⪹", prnsim: "⋨", prod: "∏", profalar: "⌮", profline: "⌒", profsurf: "⌓", prop: "∝", propto: "∝", prsim: "≾", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qint: "⨌", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quaternions: "ℍ", quatint: "⨖", quest: "?", questeq: "≟", quo: '"', quot: '"', rAarr: "⇛", rArr: "⇒", rAtail: "⤜", rBarr: "⤏", rHar: "⥤", race: "∽̱", racute: "ŕ", radic: "√", raemptyv: "⦳", rang: "⟩", rangd: "⦒", range: "⦥", rangle: "⟩", raqu: "»", raquo: "»", rarr: "→", rarrap: "⥵", rarrb: "⇥", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrhk: "↪", rarrlp: "↬", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rarrw: "↝", ratail: "⤚", ratio: "∶", rationals: "ℚ", rbarr: "⤍", rbbrk: "❳", rbrace: "}", rbrack: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rceil: "⌉", rcub: "}", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdquo: "”", rdquor: "”", rdsh: "↳", real: "ℜ", realine: "ℛ", realpart: "ℜ", reals: "ℝ", rect: "▭", re: "®", reg: "®", rfisht: "⥽", rfloor: "⌋", rfr: "𝔯", rhard: "⇁", rharu: "⇀", rharul: "⥬", rho: "ρ", rhov: "ϱ", rightarrow: "→", rightarrowtail: "↣", rightharpoondown: "⇁", rightharpoonup: "⇀", rightleftarrows: "⇄", rightleftharpoons: "⇌", rightrightarrows: "⇉", rightsquigarrow: "↝", rightthreetimes: "⋌", ring: "˚", risingdotseq: "≓", rlarr: "⇄", rlhar: "⇌", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", robrk: "⟧", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rrarr: "⇉", rsaquo: "›", rscr: "𝓇", rsh: "↱", rsqb: "]", rsquo: "’", rsquor: "’", rthree: "⋌", rtimes: "⋊", rtri: "▹", rtrie: "⊵", rtrif: "▸", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", sbquo: "‚", sc: "≻", scE: "⪴", scap: "⪸", scaron: "š", sccue: "≽", sce: "⪰", scedil: "ş", scirc: "ŝ", scnE: "⪶", scnap: "⪺", scnsim: "⋩", scpolint: "⨓", scsim: "≿", scy: "с", sdot: "⋅", sdotb: "⊡", sdote: "⩦", seArr: "⇘", searhk: "⤥", searr: "↘", searrow: "↘", sec: "§", sect: "§", semi: ";", seswar: "⤩", setminus: "∖", setmn: "∖", sext: "✶", sfr: "𝔰", sfrown: "⌢", sharp: "♯", shchcy: "щ", shcy: "ш", shortmid: "∣", shortparallel: "∥", sh: "", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", sim: "∼", simdot: "⩪", sime: "≃", simeq: "≃", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", slarr: "←", smallsetminus: "∖", smashp: "⨳", smeparsl: "⧤", smid: "∣", smile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", spar: "∥", sqcap: "⊓", sqcaps: "⊓︀", sqcup: "⊔", sqcups: "⊔︀", sqsub: "⊏", sqsube: "⊑", sqsubset: "⊏", sqsubseteq: "⊑", sqsup: "⊐", sqsupe: "⊒", sqsupset: "⊐", sqsupseteq: "⊒", squ: "□", square: "□", squarf: "▪", squf: "▪", srarr: "→", sscr: "𝓈", ssetmn: "∖", ssmile: "⌣", sstarf: "⋆", star: "☆", starf: "★", straightepsilon: "ϵ", straightphi: "ϕ", strns: "¯", sub: "⊂", subE: "⫅", subdot: "⪽", sube: "⊆", subedot: "⫃", submult: "⫁", subnE: "⫋", subne: "⊊", subplus: "⪿", subrarr: "⥹", subset: "⊂", subseteq: "⊆", subseteqq: "⫅", subsetneq: "⊊", subsetneqq: "⫋", subsim: "⫇", subsub: "⫕", subsup: "⫓", succ: "≻", succapprox: "⪸", succcurlyeq: "≽", succeq: "⪰", succnapprox: "⪺", succneqq: "⪶", succnsim: "⋩", succsim: "≿", sum: "∑", sung: "♪", sup: "⊃", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supdot: "⪾", supdsub: "⫘", supe: "⊇", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supne: "⊋", supplus: "⫀", supset: "⊃", supseteq: "⊇", supseteqq: "⫆", supsetneq: "⊋", supsetneqq: "⫌", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swarhk: "⤦", swarr: "↙", swarrow: "↙", swnwar: "⤪", szli: "ß", szlig: "ß", target: "⌖", tau: "τ", tbrk: "⎴", tcaron: "ť", tcedil: "ţ", tcy: "т", tdot: "⃛", telrec: "⌕", tfr: "𝔱", there4: "∴", therefore: "∴", theta: "θ", thetasym: "ϑ", thetav: "ϑ", thickapprox: "≈", thicksim: "∼", thinsp: " ", thkap: "≈", thksim: "∼", thor: "þ", thorn: "þ", tilde: "˜", time: "×", times: "×", timesb: "⊠", timesbar: "⨱", timesd: "⨰", tint: "∭", toea: "⤨", top: "⊤", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tosa: "⤩", tprime: "‴", trade: "™", triangle: "▵", triangledown: "▿", triangleleft: "◃", trianglelefteq: "⊴", triangleq: "≜", triangleright: "▹", trianglerighteq: "⊵", tridot: "◬", trie: "≜", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", twixt: "≬", twoheadleftarrow: "↞", twoheadrightarrow: "↠", uArr: "⇑", uHar: "⥣", uacut: "ú", uacute: "ú", uarr: "↑", ubrcy: "ў", ubreve: "ŭ", ucir: "û", ucirc: "û", ucy: "у", udarr: "⇅", udblac: "ű", udhar: "⥮", ufisht: "⥾", ufr: "𝔲", ugrav: "ù", ugrave: "ù", uharl: "↿", uharr: "↾", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", um: "¨", uml: "¨", uogon: "ų", uopf: "𝕦", uparrow: "↑", updownarrow: "↕", upharpoonleft: "↿", upharpoonright: "↾", uplus: "⊎", upsi: "υ", upsih: "ϒ", upsilon: "υ", upuparrows: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", utri: "▵", utrif: "▴", uuarr: "⇈", uum: "ü", uuml: "ü", uwangle: "⦧", vArr: "⇕", vBar: "⫨", vBarv: "⫩", vDash: "⊨", vangrt: "⦜", varepsilon: "ϵ", varkappa: "ϰ", varnothing: "∅", varphi: "ϕ", varpi: "ϖ", varpropto: "∝", varr: "↕", varrho: "ϱ", varsigma: "ς", varsubsetneq: "⊊︀", varsubsetneqq: "⫋︀", varsupsetneq: "⊋︀", varsupsetneqq: "⫌︀", vartheta: "ϑ", vartriangleleft: "⊲", vartriangleright: "⊳", vcy: "в", vdash: "⊢", vee: "∨", veebar: "⊻", veeeq: "≚", vellip: "⋮", verbar: "|", vert: "|", vfr: "𝔳", vltri: "⊲", vnsub: "⊂⃒", vnsup: "⊃⃒", vopf: "𝕧", vprop: "∝", vrtri: "⊳", vscr: "𝓋", vsubnE: "⫋︀", vsubne: "⊊︀", vsupnE: "⫌︀", vsupne: "⊋︀", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedge: "∧", wedgeq: "≙", weierp: "℘", wfr: "𝔴", wopf: "𝕨", wp: "℘", wr: "≀", wreath: "≀", wscr: "𝓌", xcap: "⋂", xcirc: "◯", xcup: "⋃", xdtri: "▽", xfr: "𝔵", xhArr: "⟺", xharr: "⟷", xi: "ξ", xlArr: "⟸", xlarr: "⟵", xmap: "⟼", xnis: "⋻", xodot: "⨀", xopf: "𝕩", xoplus: "⨁", xotime: "⨂", xrArr: "⟹", xrarr: "⟶", xscr: "𝓍", xsqcup: "⨆", xuplus: "⨄", xutri: "△", xvee: "⋁", xwedge: "⋀", yacut: "ý", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", ye: "¥", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yum: "ÿ", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeetrf: "ℨ", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" };
|
|
369
|
+
});
|
|
370
|
+
var qu = x((QC, _u) => {
|
|
371
|
+
var Tu = Bu();
|
|
372
|
+
_u.exports = kD;
|
|
373
|
+
var wD = {}.hasOwnProperty;
|
|
374
|
+
function kD(e) {
|
|
375
|
+
return wD.call(Tu, e) ? Tu[e] : false;
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
var dr = x((ZC, Wu) => {
|
|
379
|
+
var Ou = Cu(), Su = vu(), BD = Ie(), TD = xu(), Lu = ku(), _D = qu();
|
|
380
|
+
Wu.exports = zD;
|
|
381
|
+
var qD = {}.hasOwnProperty, je = String.fromCharCode, OD = Function.prototype, Nu = { warning: null, reference: null, text: null, warningContext: null, referenceContext: null, textContext: null, position: {}, additional: null, attribute: false, nonTerminated: true }, SD = 9, Iu = 10, ND = 12, ID = 32, Pu = 38, PD = 59, LD = 60, RD = 61, MD = 35, UD = 88, YD = 120, GD = 65533, He = "named", Gt = "hexadecimal", zt = "decimal", Wt = {};
|
|
382
|
+
Wt[Gt] = 16;
|
|
383
|
+
Wt[zt] = 10;
|
|
384
|
+
var $r = {};
|
|
385
|
+
$r[He] = Lu;
|
|
386
|
+
$r[zt] = BD;
|
|
387
|
+
$r[Gt] = TD;
|
|
388
|
+
var Ru = 1, Mu = 2, Uu = 3, Yu = 4, Gu = 5, Yt = 6, zu = 7, ye = {};
|
|
389
|
+
ye[Ru] = "Named character references must be terminated by a semicolon";
|
|
390
|
+
ye[Mu] = "Numeric character references must be terminated by a semicolon";
|
|
391
|
+
ye[Uu] = "Named character references cannot be empty";
|
|
392
|
+
ye[Yu] = "Numeric character references cannot be empty";
|
|
393
|
+
ye[Gu] = "Named character references must be known";
|
|
394
|
+
ye[Yt] = "Numeric character references cannot be disallowed";
|
|
395
|
+
ye[zu] = "Numeric character references cannot be outside the permissible Unicode range";
|
|
396
|
+
function zD(e, r) {
|
|
397
|
+
var t = {}, n, i;
|
|
398
|
+
r || (r = {});
|
|
399
|
+
for (i in Nu) n = r[i], t[i] = n ?? Nu[i];
|
|
400
|
+
return (t.position.indent || t.position.start) && (t.indent = t.position.indent || [], t.position = t.position.start), WD(e, t);
|
|
401
|
+
}
|
|
402
|
+
function WD(e, r) {
|
|
403
|
+
var t = r.additional, n = r.nonTerminated, i = r.text, u = r.reference, a = r.warning, o = r.textContext, s = r.referenceContext, l = r.warningContext, c = r.position, f = r.indent || [], D = e.length, m = 0, p = -1, h = c.column || 1, F = c.line || 1, g = "", E = [], v, A, b, d, y, w, C, k, B, T, _, I, S, O, q, N, ce, H, P;
|
|
404
|
+
for (typeof t == "string" && (t = t.charCodeAt(0)), N = ne(), k = a ? Q : OD, m--, D++; ++m < D; ) if (y === Iu && (h = f[p] || 1), y = e.charCodeAt(m), y === Pu) {
|
|
405
|
+
if (C = e.charCodeAt(m + 1), C === SD || C === Iu || C === ND || C === ID || C === Pu || C === LD || C !== C || t && C === t) {
|
|
406
|
+
g += je(y), h++;
|
|
407
|
+
continue;
|
|
408
|
+
}
|
|
409
|
+
for (S = m + 1, I = S, P = S, C === MD ? (P = ++I, C = e.charCodeAt(P), C === UD || C === YD ? (O = Gt, P = ++I) : O = zt) : O = He, v = "", _ = "", d = "", q = $r[O], P--; ++P < D && (C = e.charCodeAt(P), !!q(C)); ) d += je(C), O === He && qD.call(Ou, d) && (v = d, _ = Ou[d]);
|
|
410
|
+
b = e.charCodeAt(P) === PD, b && (P++, A = O === He ? _D(d) : false, A && (v = d, _ = A)), H = 1 + P - S, !b && !n || (d ? O === He ? (b && !_ ? k(Gu, 1) : (v !== d && (P = I + v.length, H = 1 + P - I, b = false), b || (B = v ? Ru : Uu, r.attribute ? (C = e.charCodeAt(P), C === RD ? (k(B, H), _ = null) : Lu(C) ? _ = null : k(B, H)) : k(B, H))), w = _) : (b || k(Mu, H), w = parseInt(d, Wt[O]), VD(w) ? (k(zu, H), w = je(GD)) : w in Su ? (k(Yt, H), w = Su[w]) : (T = "", $D(w) && k(Yt, H), w > 65535 && (w -= 65536, T += je(w >>> 10 | 55296), w = 56320 | w & 1023), w = T + je(w))) : O !== He && k(Yu, H)), w ? (Ce(), N = ne(), m = P - 1, h += P - S + 1, E.push(w), ce = ne(), ce.offset++, u && u.call(s, w, { start: N, end: ce }, e.slice(S - 1, P)), N = ce) : (d = e.slice(S - 1, P), g += d, h += d.length, m = P - 1);
|
|
411
|
+
} else y === 10 && (F++, p++, h = 0), y === y ? (g += je(y), h++) : Ce();
|
|
412
|
+
return E.join("");
|
|
413
|
+
function ne() {
|
|
414
|
+
return { line: F, column: h, offset: m + (c.offset || 0) };
|
|
415
|
+
}
|
|
416
|
+
function Q(ve, Y) {
|
|
417
|
+
var ht = ne();
|
|
418
|
+
ht.column += Y, ht.offset += Y, a.call(l, ye[ve], ht, ve);
|
|
419
|
+
}
|
|
420
|
+
function Ce() {
|
|
421
|
+
g && (E.push(g), i && i.call(o, g, { start: N, end: ne() }), g = "");
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
function VD(e) {
|
|
425
|
+
return e >= 55296 && e <= 57343 || e > 1114111;
|
|
426
|
+
}
|
|
427
|
+
function $D(e) {
|
|
428
|
+
return e >= 1 && e <= 8 || e === 11 || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || (e & 65535) === 65535 || (e & 65535) === 65534;
|
|
429
|
+
}
|
|
430
|
+
});
|
|
431
|
+
var ju = x((ev, $u) => {
|
|
432
|
+
var jD = Ne(), Vu = dr();
|
|
433
|
+
$u.exports = HD;
|
|
434
|
+
function HD(e) {
|
|
435
|
+
return t.raw = n, t;
|
|
436
|
+
function r(u) {
|
|
437
|
+
for (var a = e.offset, o = u.line, s = []; ++o && o in a; ) s.push((a[o] || 0) + 1);
|
|
438
|
+
return { start: u, indent: s };
|
|
439
|
+
}
|
|
440
|
+
function t(u, a, o) {
|
|
441
|
+
Vu(u, { position: r(a), warning: i, text: o, reference: o, textContext: e, referenceContext: e });
|
|
442
|
+
}
|
|
443
|
+
function n(u, a, o) {
|
|
444
|
+
return Vu(u, jD(o, { position: r(a), warning: i }));
|
|
445
|
+
}
|
|
446
|
+
function i(u, a, o) {
|
|
447
|
+
o !== 3 && e.file.message(u, a);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
var Xu = x((rv, Ku) => {
|
|
452
|
+
Ku.exports = KD;
|
|
453
|
+
function KD(e) {
|
|
454
|
+
return r;
|
|
455
|
+
function r(t, n) {
|
|
456
|
+
var i = this, u = i.offset, a = [], o = i[e + "Methods"], s = i[e + "Tokenizers"], l = n.line, c = n.column, f, D, m, p, h, F;
|
|
457
|
+
if (!t) return a;
|
|
458
|
+
for (w.now = v, w.file = i.file, g(""); t; ) {
|
|
459
|
+
for (f = -1, D = o.length, h = false; ++f < D && (p = o[f], m = s[p], !(m && (!m.onlyAtStart || i.atStart) && (!m.notInList || !i.inList) && (!m.notInBlock || !i.inBlock) && (!m.notInLink || !i.inLink) && (F = t.length, m.apply(i, [w, t]), h = F !== t.length, h))); ) ;
|
|
460
|
+
h || i.file.fail(new Error("Infinite loop"), w.now());
|
|
461
|
+
}
|
|
462
|
+
return i.eof = v(), a;
|
|
463
|
+
function g(C) {
|
|
464
|
+
for (var k = -1, B = C.indexOf(`
|
|
465
|
+
`); B !== -1; ) l++, k = B, B = C.indexOf(`
|
|
466
|
+
`, B + 1);
|
|
467
|
+
k === -1 ? c += C.length : c = C.length - k, l in u && (k !== -1 ? c += u[l] : c <= u[l] && (c = u[l] + 1));
|
|
468
|
+
}
|
|
469
|
+
function E() {
|
|
470
|
+
var C = [], k = l + 1;
|
|
471
|
+
return function() {
|
|
472
|
+
for (var B = l + 1; k < B; ) C.push((u[k] || 0) + 1), k++;
|
|
473
|
+
return C;
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
function v() {
|
|
477
|
+
var C = { line: l, column: c };
|
|
478
|
+
return C.offset = i.toOffset(C), C;
|
|
479
|
+
}
|
|
480
|
+
function A(C) {
|
|
481
|
+
this.start = C, this.end = v();
|
|
482
|
+
}
|
|
483
|
+
function b(C) {
|
|
484
|
+
t.slice(0, C.length) !== C && i.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"), v());
|
|
485
|
+
}
|
|
486
|
+
function d() {
|
|
487
|
+
var C = v();
|
|
488
|
+
return k;
|
|
489
|
+
function k(B, T) {
|
|
490
|
+
var _ = B.position, I = _ ? _.start : C, S = [], O = _ && _.end.line, q = C.line;
|
|
491
|
+
if (B.position = new A(I), _ && T && _.indent) {
|
|
492
|
+
if (S = _.indent, O < q) {
|
|
493
|
+
for (; ++O < q; ) S.push((u[O] || 0) + 1);
|
|
494
|
+
S.push(C.column);
|
|
495
|
+
}
|
|
496
|
+
T = S.concat(T);
|
|
497
|
+
}
|
|
498
|
+
return B.position.indent = T || [], B;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
function y(C, k) {
|
|
502
|
+
var B = k ? k.children : a, T = B[B.length - 1], _;
|
|
503
|
+
return T && C.type === T.type && (C.type === "text" || C.type === "blockquote") && Hu(T) && Hu(C) && (_ = C.type === "text" ? XD : JD, C = _.call(i, T, C)), C !== T && B.push(C), i.atStart && a.length !== 0 && i.exitStart(), C;
|
|
504
|
+
}
|
|
505
|
+
function w(C) {
|
|
506
|
+
var k = E(), B = d(), T = v();
|
|
507
|
+
return b(C), _.reset = I, I.test = S, _.test = S, t = t.slice(C.length), g(C), k = k(), _;
|
|
508
|
+
function _(O, q) {
|
|
509
|
+
return B(y(B(O), q), k);
|
|
510
|
+
}
|
|
511
|
+
function I() {
|
|
512
|
+
var O = _.apply(null, arguments);
|
|
513
|
+
return l = T.line, c = T.column, t = C + t, O;
|
|
514
|
+
}
|
|
515
|
+
function S() {
|
|
516
|
+
var O = B({});
|
|
517
|
+
return l = T.line, c = T.column, t = C + t, O.position;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
function Hu(e) {
|
|
523
|
+
var r, t;
|
|
524
|
+
return e.type !== "text" || !e.position ? true : (r = e.position.start, t = e.position.end, r.line !== t.line || t.column - r.column === e.value.length);
|
|
525
|
+
}
|
|
526
|
+
function XD(e, r) {
|
|
527
|
+
return e.value += r.value, e;
|
|
528
|
+
}
|
|
529
|
+
function JD(e, r) {
|
|
530
|
+
return this.options.commonmark || this.options.gfm ? r : (e.children = e.children.concat(r.children), e);
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
var Zu = x((tv, Qu) => {
|
|
534
|
+
Qu.exports = jr;
|
|
535
|
+
var Vt = ["\\", "`", "*", "{", "}", "[", "]", "(", ")", "#", "+", "-", ".", "!", "_", ">"], $t = Vt.concat(["~", "|"]), Ju = $t.concat([`
|
|
536
|
+
`, '"', "$", "%", "&", "'", ",", "/", ":", ";", "<", "=", "?", "@", "^"]);
|
|
537
|
+
jr.default = Vt;
|
|
538
|
+
jr.gfm = $t;
|
|
539
|
+
jr.commonmark = Ju;
|
|
540
|
+
function jr(e) {
|
|
541
|
+
var r = e || {};
|
|
542
|
+
return r.commonmark ? Ju : r.gfm ? $t : Vt;
|
|
543
|
+
}
|
|
544
|
+
});
|
|
545
|
+
var ra = x((nv, ea) => {
|
|
546
|
+
ea.exports = ["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", "hgroup", "hr", "html", "iframe", "legend", "li", "link", "main", "menu", "menuitem", "meta", "nav", "noframes", "ol", "optgroup", "option", "p", "param", "pre", "section", "source", "title", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "title", "tr", "track", "ul"];
|
|
547
|
+
});
|
|
548
|
+
var jt = x((iv, ta) => {
|
|
549
|
+
ta.exports = { position: true, gfm: true, commonmark: false, pedantic: false, blocks: ra() };
|
|
550
|
+
});
|
|
551
|
+
var ia = x((uv, na) => {
|
|
552
|
+
var QD = Ne(), ZD = Zu(), ep = jt();
|
|
553
|
+
na.exports = rp;
|
|
554
|
+
function rp(e) {
|
|
555
|
+
var r = this, t = r.options, n, i;
|
|
556
|
+
if (e == null) e = {};
|
|
557
|
+
else if (typeof e == "object") e = QD(e);
|
|
558
|
+
else throw new Error("Invalid value `" + e + "` for setting `options`");
|
|
559
|
+
for (n in ep) {
|
|
560
|
+
if (i = e[n], i == null && (i = t[n]), n !== "blocks" && typeof i != "boolean" || n === "blocks" && typeof i != "object") throw new Error("Invalid value `" + i + "` for setting `options." + n + "`");
|
|
561
|
+
e[n] = i;
|
|
562
|
+
}
|
|
563
|
+
return r.options = e, r.escape = ZD(e), r;
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
var oa = x((av, aa) => {
|
|
567
|
+
aa.exports = ua;
|
|
568
|
+
function ua(e) {
|
|
569
|
+
if (e == null) return up;
|
|
570
|
+
if (typeof e == "string") return ip(e);
|
|
571
|
+
if (typeof e == "object") return "length" in e ? np(e) : tp(e);
|
|
572
|
+
if (typeof e == "function") return e;
|
|
573
|
+
throw new Error("Expected function, string, or object as test");
|
|
574
|
+
}
|
|
575
|
+
function tp(e) {
|
|
576
|
+
return r;
|
|
577
|
+
function r(t) {
|
|
578
|
+
var n;
|
|
579
|
+
for (n in e) if (t[n] !== e[n]) return false;
|
|
580
|
+
return true;
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
function np(e) {
|
|
584
|
+
for (var r = [], t = -1; ++t < e.length; ) r[t] = ua(e[t]);
|
|
585
|
+
return n;
|
|
586
|
+
function n() {
|
|
587
|
+
for (var i = -1; ++i < r.length; ) if (r[i].apply(this, arguments)) return true;
|
|
588
|
+
return false;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
function ip(e) {
|
|
592
|
+
return r;
|
|
593
|
+
function r(t) {
|
|
594
|
+
return !!(t && t.type === e);
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
function up() {
|
|
598
|
+
return true;
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
var ca = x((ov, sa) => {
|
|
602
|
+
sa.exports = ap;
|
|
603
|
+
function ap(e) {
|
|
604
|
+
return e;
|
|
605
|
+
}
|
|
606
|
+
});
|
|
607
|
+
var pa = x((sv, Da) => {
|
|
608
|
+
Da.exports = Hr;
|
|
609
|
+
var op = oa(), sp = ca(), la = true, fa = "skip", Ht = false;
|
|
610
|
+
Hr.CONTINUE = la;
|
|
611
|
+
Hr.SKIP = fa;
|
|
612
|
+
Hr.EXIT = Ht;
|
|
613
|
+
function Hr(e, r, t, n) {
|
|
614
|
+
var i, u;
|
|
615
|
+
typeof r == "function" && typeof t != "function" && (n = t, t = r, r = null), u = op(r), i = n ? -1 : 1, a(e, null, [])();
|
|
616
|
+
function a(o, s, l) {
|
|
617
|
+
var c = typeof o == "object" && o !== null ? o : {}, f;
|
|
618
|
+
return typeof c.type == "string" && (f = typeof c.tagName == "string" ? c.tagName : typeof c.name == "string" ? c.name : void 0, D.displayName = "node (" + sp(c.type + (f ? "<" + f + ">" : "")) + ")"), D;
|
|
619
|
+
function D() {
|
|
620
|
+
var m = l.concat(o), p = [], h, F;
|
|
621
|
+
if ((!r || u(o, s, l[l.length - 1] || null)) && (p = cp(t(o, l)), p[0] === Ht)) return p;
|
|
622
|
+
if (o.children && p[0] !== fa) for (F = (n ? o.children.length : -1) + i; F > -1 && F < o.children.length; ) {
|
|
623
|
+
if (h = a(o.children[F], F, m)(), h[0] === Ht) return h;
|
|
624
|
+
F = typeof h[1] == "number" ? h[1] : F + i;
|
|
625
|
+
}
|
|
626
|
+
return p;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
function cp(e) {
|
|
631
|
+
return e !== null && typeof e == "object" && "length" in e ? e : typeof e == "number" ? [la, e] : [e];
|
|
632
|
+
}
|
|
633
|
+
});
|
|
634
|
+
var da = x((cv, ha) => {
|
|
635
|
+
ha.exports = Xr;
|
|
636
|
+
var Kr = pa(), lp = Kr.CONTINUE, fp = Kr.SKIP, Dp = Kr.EXIT;
|
|
637
|
+
Xr.CONTINUE = lp;
|
|
638
|
+
Xr.SKIP = fp;
|
|
639
|
+
Xr.EXIT = Dp;
|
|
640
|
+
function Xr(e, r, t, n) {
|
|
641
|
+
typeof r == "function" && typeof t != "function" && (n = t, t = r, r = null), Kr(e, r, i, n);
|
|
642
|
+
function i(u, a) {
|
|
643
|
+
var o = a[a.length - 1], s = o ? o.children.indexOf(u) : null;
|
|
644
|
+
return t(u, s, o);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
var Fa = x((lv, ma) => {
|
|
649
|
+
var pp = da();
|
|
650
|
+
ma.exports = hp;
|
|
651
|
+
function hp(e, r) {
|
|
652
|
+
return pp(e, r ? dp : mp), e;
|
|
653
|
+
}
|
|
654
|
+
function dp(e) {
|
|
655
|
+
delete e.position;
|
|
656
|
+
}
|
|
657
|
+
function mp(e) {
|
|
658
|
+
e.position = void 0;
|
|
659
|
+
}
|
|
660
|
+
});
|
|
661
|
+
var Ca = x((fv, Ea) => {
|
|
662
|
+
var ga = Ne(), Fp = Fa();
|
|
663
|
+
Ea.exports = Cp;
|
|
664
|
+
var gp = `
|
|
665
|
+
`, Ep = /\r\n|\r/g;
|
|
666
|
+
function Cp() {
|
|
667
|
+
var e = this, r = String(e.file), t = { line: 1, column: 1, offset: 0 }, n = ga(t), i;
|
|
668
|
+
return r = r.replace(Ep, gp), r.charCodeAt(0) === 65279 && (r = r.slice(1), n.column++, n.offset++), i = { type: "root", children: e.tokenizeBlock(r, n), position: { start: t, end: e.eof || ga(t) } }, e.options.position || Fp(i, true), i;
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
var Aa = x((Dv, va) => {
|
|
672
|
+
var vp = /^[ \t]*(\n|$)/;
|
|
673
|
+
va.exports = Ap;
|
|
674
|
+
function Ap(e, r, t) {
|
|
675
|
+
for (var n, i = "", u = 0, a = r.length; u < a && (n = vp.exec(r.slice(u)), n != null); ) u += n[0].length, i += n[0];
|
|
676
|
+
if (i !== "") {
|
|
677
|
+
if (t) return true;
|
|
678
|
+
e(i);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
});
|
|
682
|
+
var Jr = x((pv, ba) => {
|
|
683
|
+
var Fe = "", Kt;
|
|
684
|
+
ba.exports = bp;
|
|
685
|
+
function bp(e, r) {
|
|
686
|
+
if (typeof e != "string") throw new TypeError("expected a string");
|
|
687
|
+
if (r === 1) return e;
|
|
688
|
+
if (r === 2) return e + e;
|
|
689
|
+
var t = e.length * r;
|
|
690
|
+
if (Kt !== e || typeof Kt > "u") Kt = e, Fe = "";
|
|
691
|
+
else if (Fe.length >= t) return Fe.substr(0, t);
|
|
692
|
+
for (; t > Fe.length && r > 1; ) r & 1 && (Fe += e), r >>= 1, e += e;
|
|
693
|
+
return Fe += e, Fe = Fe.substr(0, t), Fe;
|
|
694
|
+
}
|
|
695
|
+
});
|
|
696
|
+
var Xt = x((hv, xa) => {
|
|
697
|
+
xa.exports = xp;
|
|
698
|
+
function xp(e) {
|
|
699
|
+
return String(e).replace(/\n+$/, "");
|
|
700
|
+
}
|
|
701
|
+
});
|
|
702
|
+
var ka = x((dv, wa) => {
|
|
703
|
+
var yp = Jr(), wp = Xt();
|
|
704
|
+
wa.exports = Tp;
|
|
705
|
+
var Jt = `
|
|
706
|
+
`, ya = " ", Qt = " ", kp = 4, Bp = yp(Qt, kp);
|
|
707
|
+
function Tp(e, r, t) {
|
|
708
|
+
for (var n = -1, i = r.length, u = "", a = "", o = "", s = "", l, c, f; ++n < i; ) if (l = r.charAt(n), f) if (f = false, u += o, a += s, o = "", s = "", l === Jt) o = l, s = l;
|
|
709
|
+
else for (u += l, a += l; ++n < i; ) {
|
|
710
|
+
if (l = r.charAt(n), !l || l === Jt) {
|
|
711
|
+
s = l, o = l;
|
|
712
|
+
break;
|
|
713
|
+
}
|
|
714
|
+
u += l, a += l;
|
|
715
|
+
}
|
|
716
|
+
else if (l === Qt && r.charAt(n + 1) === l && r.charAt(n + 2) === l && r.charAt(n + 3) === l) o += Bp, n += 3, f = true;
|
|
717
|
+
else if (l === ya) o += l, f = true;
|
|
718
|
+
else {
|
|
719
|
+
for (c = ""; l === ya || l === Qt; ) c += l, l = r.charAt(++n);
|
|
720
|
+
if (l !== Jt) break;
|
|
721
|
+
o += c + l, s += l;
|
|
722
|
+
}
|
|
723
|
+
if (a) return t ? true : e(u)({ type: "code", lang: null, meta: null, value: wp(a) });
|
|
724
|
+
}
|
|
725
|
+
});
|
|
726
|
+
var _a = x((mv, Ta) => {
|
|
727
|
+
Ta.exports = Sp;
|
|
728
|
+
var Qr = `
|
|
729
|
+
`, mr = " ", Ke = " ", _p = "~", Ba = "`", qp = 3, Op = 4;
|
|
730
|
+
function Sp(e, r, t) {
|
|
731
|
+
var n = this, i = n.options.gfm, u = r.length + 1, a = 0, o = "", s, l, c, f, D, m, p, h, F, g, E, v, A;
|
|
732
|
+
if (i) {
|
|
733
|
+
for (; a < u && (c = r.charAt(a), !(c !== Ke && c !== mr)); ) o += c, a++;
|
|
734
|
+
if (v = a, c = r.charAt(a), !(c !== _p && c !== Ba)) {
|
|
735
|
+
for (a++, l = c, s = 1, o += c; a < u && (c = r.charAt(a), c === l); ) o += c, s++, a++;
|
|
736
|
+
if (!(s < qp)) {
|
|
737
|
+
for (; a < u && (c = r.charAt(a), !(c !== Ke && c !== mr)); ) o += c, a++;
|
|
738
|
+
for (f = "", p = ""; a < u && (c = r.charAt(a), !(c === Qr || l === Ba && c === l)); ) c === Ke || c === mr ? p += c : (f += p + c, p = ""), a++;
|
|
739
|
+
if (c = r.charAt(a), !(c && c !== Qr)) {
|
|
740
|
+
if (t) return true;
|
|
741
|
+
A = e.now(), A.column += o.length, A.offset += o.length, o += f, f = n.decode.raw(n.unescape(f), A), p && (o += p), p = "", g = "", E = "", h = "", F = "";
|
|
742
|
+
for (var b = true; a < u; ) {
|
|
743
|
+
if (c = r.charAt(a), h += g, F += E, g = "", E = "", c !== Qr) {
|
|
744
|
+
h += c, E += c, a++;
|
|
745
|
+
continue;
|
|
746
|
+
}
|
|
747
|
+
for (b ? (o += c, b = false) : (g += c, E += c), p = "", a++; a < u && (c = r.charAt(a), c === Ke); ) p += c, a++;
|
|
748
|
+
if (g += p, E += p.slice(v), !(p.length >= Op)) {
|
|
749
|
+
for (p = ""; a < u && (c = r.charAt(a), c === l); ) p += c, a++;
|
|
750
|
+
if (g += p, E += p, !(p.length < s)) {
|
|
751
|
+
for (p = ""; a < u && (c = r.charAt(a), !(c !== Ke && c !== mr)); ) g += c, E += c, a++;
|
|
752
|
+
if (!c || c === Qr) break;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
for (o += h + g, a = -1, u = f.length; ++a < u; ) if (c = f.charAt(a), c === Ke || c === mr) D || (D = f.slice(0, a));
|
|
757
|
+
else if (D) {
|
|
758
|
+
m = f.slice(a);
|
|
759
|
+
break;
|
|
760
|
+
}
|
|
761
|
+
return e(o)({ type: "code", lang: D || f || null, meta: m || null, value: F });
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
});
|
|
768
|
+
var Pe = x((Xe, qa) => {
|
|
769
|
+
Xe = qa.exports = Np;
|
|
770
|
+
function Np(e) {
|
|
771
|
+
return e.trim ? e.trim() : Xe.right(Xe.left(e));
|
|
772
|
+
}
|
|
773
|
+
Xe.left = function(e) {
|
|
774
|
+
return e.trimLeft ? e.trimLeft() : e.replace(/^\s\s*/, "");
|
|
775
|
+
};
|
|
776
|
+
Xe.right = function(e) {
|
|
777
|
+
if (e.trimRight) return e.trimRight();
|
|
778
|
+
for (var r = /\s/, t = e.length; r.test(e.charAt(--t)); ) ;
|
|
779
|
+
return e.slice(0, t + 1);
|
|
780
|
+
};
|
|
781
|
+
});
|
|
782
|
+
var Zr = x((Fv, Oa) => {
|
|
783
|
+
Oa.exports = Ip;
|
|
784
|
+
function Ip(e, r, t, n) {
|
|
785
|
+
for (var i = e.length, u = -1, a, o; ++u < i; ) if (a = e[u], o = a[1] || {}, !(o.pedantic !== void 0 && o.pedantic !== t.options.pedantic) && !(o.commonmark !== void 0 && o.commonmark !== t.options.commonmark) && r[a[0]].apply(t, n)) return true;
|
|
786
|
+
return false;
|
|
787
|
+
}
|
|
788
|
+
});
|
|
789
|
+
var Pa = x((gv, Ia) => {
|
|
790
|
+
var Pp = Pe(), Lp = Zr();
|
|
791
|
+
Ia.exports = Rp;
|
|
792
|
+
var Zt = `
|
|
793
|
+
`, Sa = " ", en = " ", Na = ">";
|
|
794
|
+
function Rp(e, r, t) {
|
|
795
|
+
for (var n = this, i = n.offset, u = n.blockTokenizers, a = n.interruptBlockquote, o = e.now(), s = o.line, l = r.length, c = [], f = [], D = [], m, p = 0, h, F, g, E, v, A, b, d; p < l && (h = r.charAt(p), !(h !== en && h !== Sa)); ) p++;
|
|
796
|
+
if (r.charAt(p) === Na) {
|
|
797
|
+
if (t) return true;
|
|
798
|
+
for (p = 0; p < l; ) {
|
|
799
|
+
for (g = r.indexOf(Zt, p), A = p, b = false, g === -1 && (g = l); p < l && (h = r.charAt(p), !(h !== en && h !== Sa)); ) p++;
|
|
800
|
+
if (r.charAt(p) === Na ? (p++, b = true, r.charAt(p) === en && p++) : p = A, E = r.slice(p, g), !b && !Pp(E)) {
|
|
801
|
+
p = A;
|
|
802
|
+
break;
|
|
803
|
+
}
|
|
804
|
+
if (!b && (F = r.slice(p), Lp(a, u, n, [e, F, true]))) break;
|
|
805
|
+
v = A === p ? E : r.slice(A, g), D.push(p - A), c.push(v), f.push(E), p = g + 1;
|
|
806
|
+
}
|
|
807
|
+
for (p = -1, l = D.length, m = e(c.join(Zt)); ++p < l; ) i[s] = (i[s] || 0) + D[p], s++;
|
|
808
|
+
return d = n.enterBlock(), f = n.tokenizeBlock(f.join(Zt), o), d(), m({ type: "blockquote", children: f });
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
});
|
|
812
|
+
var Ma = x((Ev, Ra) => {
|
|
813
|
+
Ra.exports = Up;
|
|
814
|
+
var La = `
|
|
815
|
+
`, Fr = " ", gr = " ", Er = "#", Mp = 6;
|
|
816
|
+
function Up(e, r, t) {
|
|
817
|
+
for (var n = this, i = n.options.pedantic, u = r.length + 1, a = -1, o = e.now(), s = "", l = "", c, f, D; ++a < u; ) {
|
|
818
|
+
if (c = r.charAt(a), c !== gr && c !== Fr) {
|
|
819
|
+
a--;
|
|
820
|
+
break;
|
|
821
|
+
}
|
|
822
|
+
s += c;
|
|
823
|
+
}
|
|
824
|
+
for (D = 0; ++a <= u; ) {
|
|
825
|
+
if (c = r.charAt(a), c !== Er) {
|
|
826
|
+
a--;
|
|
827
|
+
break;
|
|
828
|
+
}
|
|
829
|
+
s += c, D++;
|
|
830
|
+
}
|
|
831
|
+
if (!(D > Mp) && !(!D || !i && r.charAt(a + 1) === Er)) {
|
|
832
|
+
for (u = r.length + 1, f = ""; ++a < u; ) {
|
|
833
|
+
if (c = r.charAt(a), c !== gr && c !== Fr) {
|
|
834
|
+
a--;
|
|
835
|
+
break;
|
|
836
|
+
}
|
|
837
|
+
f += c;
|
|
838
|
+
}
|
|
839
|
+
if (!(!i && f.length === 0 && c && c !== La)) {
|
|
840
|
+
if (t) return true;
|
|
841
|
+
for (s += f, f = "", l = ""; ++a < u && (c = r.charAt(a), !(!c || c === La)); ) {
|
|
842
|
+
if (c !== gr && c !== Fr && c !== Er) {
|
|
843
|
+
l += f + c, f = "";
|
|
844
|
+
continue;
|
|
845
|
+
}
|
|
846
|
+
for (; c === gr || c === Fr; ) f += c, c = r.charAt(++a);
|
|
847
|
+
if (!i && l && !f && c === Er) {
|
|
848
|
+
l += c;
|
|
849
|
+
continue;
|
|
850
|
+
}
|
|
851
|
+
for (; c === Er; ) f += c, c = r.charAt(++a);
|
|
852
|
+
for (; c === gr || c === Fr; ) f += c, c = r.charAt(++a);
|
|
853
|
+
a--;
|
|
854
|
+
}
|
|
855
|
+
return o.column += s.length, o.offset += s.length, s += l + f, e(s)({ type: "heading", depth: D, children: n.tokenizeInline(l, o) });
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
});
|
|
860
|
+
var Ga = x((Cv, Ya) => {
|
|
861
|
+
Ya.exports = jp;
|
|
862
|
+
var Yp = " ", Gp = `
|
|
863
|
+
`, Ua = " ", zp = "*", Wp = "-", Vp = "_", $p = 3;
|
|
864
|
+
function jp(e, r, t) {
|
|
865
|
+
for (var n = -1, i = r.length + 1, u = "", a, o, s, l; ++n < i && (a = r.charAt(n), !(a !== Yp && a !== Ua)); ) u += a;
|
|
866
|
+
if (!(a !== zp && a !== Wp && a !== Vp)) for (o = a, u += a, s = 1, l = ""; ++n < i; ) if (a = r.charAt(n), a === o) s++, u += l + o, l = "";
|
|
867
|
+
else if (a === Ua) l += a;
|
|
868
|
+
else return s >= $p && (!a || a === Gp) ? (u += l, t ? true : e(u)({ type: "thematicBreak" })) : void 0;
|
|
869
|
+
}
|
|
870
|
+
});
|
|
871
|
+
var rn = x((vv, Wa) => {
|
|
872
|
+
Wa.exports = Jp;
|
|
873
|
+
var za = " ", Hp = " ", Kp = 1, Xp = 4;
|
|
874
|
+
function Jp(e) {
|
|
875
|
+
for (var r = 0, t = 0, n = e.charAt(r), i = {}, u, a = 0; n === za || n === Hp; ) {
|
|
876
|
+
for (u = n === za ? Xp : Kp, t += u, u > 1 && (t = Math.floor(t / u) * u); a < t; ) i[++a] = r;
|
|
877
|
+
n = e.charAt(++r);
|
|
878
|
+
}
|
|
879
|
+
return { indent: t, stops: i };
|
|
880
|
+
}
|
|
881
|
+
});
|
|
882
|
+
var ja = x((Av, $a) => {
|
|
883
|
+
var Qp = Pe(), Zp = Jr(), eh = rn();
|
|
884
|
+
$a.exports = nh;
|
|
885
|
+
var Va = `
|
|
886
|
+
`, rh = " ", th = "!";
|
|
887
|
+
function nh(e, r) {
|
|
888
|
+
var t = e.split(Va), n = t.length + 1, i = 1 / 0, u = [], a, o, s;
|
|
889
|
+
for (t.unshift(Zp(rh, r) + th); n--; ) if (o = eh(t[n]), u[n] = o.stops, Qp(t[n]).length !== 0) if (o.indent) o.indent > 0 && o.indent < i && (i = o.indent);
|
|
890
|
+
else {
|
|
891
|
+
i = 1 / 0;
|
|
892
|
+
break;
|
|
893
|
+
}
|
|
894
|
+
if (i !== 1 / 0) for (n = t.length; n--; ) {
|
|
895
|
+
for (s = u[n], a = i; a && !(a in s); ) a--;
|
|
896
|
+
t[n] = t[n].slice(s[a] + 1);
|
|
897
|
+
}
|
|
898
|
+
return t.shift(), t.join(Va);
|
|
899
|
+
}
|
|
900
|
+
});
|
|
901
|
+
var Za = x((bv, Qa) => {
|
|
902
|
+
var ih = Pe(), uh = Jr(), Ha = Ie(), ah = rn(), oh = ja(), sh = Zr();
|
|
903
|
+
Qa.exports = mh;
|
|
904
|
+
var tn = "*", ch = "_", Ka = "+", nn = "-", Xa = ".", ge = " ", ae = `
|
|
905
|
+
`, et = " ", Ja = ")", lh = "x", we = 4, fh = /\n\n(?!\s*$)/, Dh = /^\[([ X\tx])][ \t]/, ph = /^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/, hh = /^([ \t]*)([*+-]|\d+[.)])([ \t]+)/, dh = /^( {1,4}|\t)?/gm;
|
|
906
|
+
function mh(e, r, t) {
|
|
907
|
+
for (var n = this, i = n.options.commonmark, u = n.options.pedantic, a = n.blockTokenizers, o = n.interruptList, s = 0, l = r.length, c = null, f, D, m, p, h, F, g, E, v, A, b, d, y, w, C, k, B, T, _, I = false, S, O, q, N; s < l && (p = r.charAt(s), !(p !== et && p !== ge)); ) s++;
|
|
908
|
+
if (p = r.charAt(s), p === tn || p === Ka || p === nn) h = p, m = false;
|
|
909
|
+
else {
|
|
910
|
+
for (m = true, D = ""; s < l && (p = r.charAt(s), !!Ha(p)); ) D += p, s++;
|
|
911
|
+
if (p = r.charAt(s), !D || !(p === Xa || i && p === Ja) || t && D !== "1") return;
|
|
912
|
+
c = parseInt(D, 10), h = p;
|
|
913
|
+
}
|
|
914
|
+
if (p = r.charAt(++s), !(p !== ge && p !== et && (u || p !== ae && p !== ""))) {
|
|
915
|
+
if (t) return true;
|
|
916
|
+
for (s = 0, w = [], C = [], k = []; s < l; ) {
|
|
917
|
+
for (F = r.indexOf(ae, s), g = s, E = false, N = false, F === -1 && (F = l), f = 0; s < l; ) {
|
|
918
|
+
if (p = r.charAt(s), p === et) f += we - f % we;
|
|
919
|
+
else if (p === ge) f++;
|
|
920
|
+
else break;
|
|
921
|
+
s++;
|
|
922
|
+
}
|
|
923
|
+
if (B && f >= B.indent && (N = true), p = r.charAt(s), v = null, !N) {
|
|
924
|
+
if (p === tn || p === Ka || p === nn) v = p, s++, f++;
|
|
925
|
+
else {
|
|
926
|
+
for (D = ""; s < l && (p = r.charAt(s), !!Ha(p)); ) D += p, s++;
|
|
927
|
+
p = r.charAt(s), s++, D && (p === Xa || i && p === Ja) && (v = p, f += D.length + 1);
|
|
928
|
+
}
|
|
929
|
+
if (v) if (p = r.charAt(s), p === et) f += we - f % we, s++;
|
|
930
|
+
else if (p === ge) {
|
|
931
|
+
for (q = s + we; s < q && r.charAt(s) === ge; ) s++, f++;
|
|
932
|
+
s === q && r.charAt(s) === ge && (s -= we - 1, f -= we - 1);
|
|
933
|
+
} else p !== ae && p !== "" && (v = null);
|
|
934
|
+
}
|
|
935
|
+
if (v) {
|
|
936
|
+
if (!u && h !== v) break;
|
|
937
|
+
E = true;
|
|
938
|
+
} else !i && !N && r.charAt(g) === ge ? N = true : i && B && (N = f >= B.indent || f > we), E = false, s = g;
|
|
939
|
+
if (b = r.slice(g, F), A = g === s ? b : r.slice(s, F), (v === tn || v === ch || v === nn) && a.thematicBreak.call(n, e, b, true)) break;
|
|
940
|
+
if (d = y, y = !E && !ih(A).length, N && B) B.value = B.value.concat(k, b), C = C.concat(k, b), k = [];
|
|
941
|
+
else if (E) k.length !== 0 && (I = true, B.value.push(""), B.trail = k.concat()), B = { value: [b], indent: f, trail: [] }, w.push(B), C = C.concat(k, b), k = [];
|
|
942
|
+
else if (y) {
|
|
943
|
+
if (d && !i) break;
|
|
944
|
+
k.push(b);
|
|
945
|
+
} else {
|
|
946
|
+
if (d || sh(o, a, n, [e, b, true])) break;
|
|
947
|
+
B.value = B.value.concat(k, b), C = C.concat(k, b), k = [];
|
|
948
|
+
}
|
|
949
|
+
s = F + 1;
|
|
950
|
+
}
|
|
951
|
+
for (S = e(C.join(ae)).reset({ type: "list", ordered: m, start: c, spread: I, children: [] }), T = n.enterList(), _ = n.enterBlock(), s = -1, l = w.length; ++s < l; ) B = w[s].value.join(ae), O = e.now(), e(B)(Fh(n, B, O), S), B = w[s].trail.join(ae), s !== l - 1 && (B += ae), e(B);
|
|
952
|
+
return T(), _(), S;
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
function Fh(e, r, t) {
|
|
956
|
+
var n = e.offset, i = e.options.pedantic ? gh : Eh, u = null, a, o;
|
|
957
|
+
return r = i.apply(null, arguments), e.options.gfm && (a = r.match(Dh), a && (o = a[0].length, u = a[1].toLowerCase() === lh, n[t.line] += o, r = r.slice(o))), { type: "listItem", spread: fh.test(r), checked: u, children: e.tokenizeBlock(r, t) };
|
|
958
|
+
}
|
|
959
|
+
function gh(e, r, t) {
|
|
960
|
+
var n = e.offset, i = t.line;
|
|
961
|
+
return r = r.replace(hh, u), i = t.line, r.replace(dh, u);
|
|
962
|
+
function u(a) {
|
|
963
|
+
return n[i] = (n[i] || 0) + a.length, i++, "";
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
function Eh(e, r, t) {
|
|
967
|
+
var n = e.offset, i = t.line, u, a, o, s, l, c, f;
|
|
968
|
+
for (r = r.replace(ph, D), s = r.split(ae), l = oh(r, ah(u).indent).split(ae), l[0] = o, n[i] = (n[i] || 0) + a.length, i++, c = 0, f = s.length; ++c < f; ) n[i] = (n[i] || 0) + s[c].length - l[c].length, i++;
|
|
969
|
+
return l.join(ae);
|
|
970
|
+
function D(m, p, h, F, g) {
|
|
971
|
+
return a = p + h + F, o = g, Number(h) < 10 && a.length % 2 === 1 && (h = ge + h), u = p + uh(ge, h.length) + F, u + o;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
});
|
|
975
|
+
var no = x((xv, to) => {
|
|
976
|
+
to.exports = yh;
|
|
977
|
+
var un = `
|
|
978
|
+
`, Ch = " ", eo = " ", ro = "=", vh = "-", Ah = 3, bh = 1, xh = 2;
|
|
979
|
+
function yh(e, r, t) {
|
|
980
|
+
for (var n = this, i = e.now(), u = r.length, a = -1, o = "", s, l, c, f, D; ++a < u; ) {
|
|
981
|
+
if (c = r.charAt(a), c !== eo || a >= Ah) {
|
|
982
|
+
a--;
|
|
983
|
+
break;
|
|
984
|
+
}
|
|
985
|
+
o += c;
|
|
986
|
+
}
|
|
987
|
+
for (s = "", l = ""; ++a < u; ) {
|
|
988
|
+
if (c = r.charAt(a), c === un) {
|
|
989
|
+
a--;
|
|
990
|
+
break;
|
|
991
|
+
}
|
|
992
|
+
c === eo || c === Ch ? l += c : (s += l + c, l = "");
|
|
993
|
+
}
|
|
994
|
+
if (i.column += o.length, i.offset += o.length, o += s + l, c = r.charAt(++a), f = r.charAt(++a), !(c !== un || f !== ro && f !== vh)) {
|
|
995
|
+
for (o += c, l = f, D = f === ro ? bh : xh; ++a < u; ) {
|
|
996
|
+
if (c = r.charAt(a), c !== f) {
|
|
997
|
+
if (c !== un) return;
|
|
998
|
+
a--;
|
|
999
|
+
break;
|
|
1000
|
+
}
|
|
1001
|
+
l += c;
|
|
1002
|
+
}
|
|
1003
|
+
return t ? true : e(o + l)({ type: "heading", depth: D, children: n.tokenizeInline(s, i) });
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1007
|
+
var on = x((an) => {
|
|
1008
|
+
var wh = "[a-zA-Z_:][a-zA-Z0-9:._-]*", kh = "[^\"'=<>`\\u0000-\\u0020]+", Bh = "'[^']*'", Th = '"[^"]*"', _h = "(?:" + kh + "|" + Bh + "|" + Th + ")", qh = "(?:\\s+" + wh + "(?:\\s*=\\s*" + _h + ")?)", io = "<[A-Za-z][A-Za-z0-9\\-]*" + qh + "*\\s*\\/?>", uo = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", Oh = "<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->", Sh = "<[?].*?[?]>", Nh = "<![A-Za-z]+\\s+[^>]*>", Ih = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";
|
|
1009
|
+
an.openCloseTag = new RegExp("^(?:" + io + "|" + uo + ")");
|
|
1010
|
+
an.tag = new RegExp("^(?:" + io + "|" + uo + "|" + Oh + "|" + Sh + "|" + Nh + "|" + Ih + ")");
|
|
1011
|
+
});
|
|
1012
|
+
var co = x((wv, so) => {
|
|
1013
|
+
var Ph = on().openCloseTag;
|
|
1014
|
+
so.exports = Jh;
|
|
1015
|
+
var Lh = " ", Rh = " ", ao = `
|
|
1016
|
+
`, Mh = "<", Uh = /^<(script|pre|style)(?=(\s|>|$))/i, Yh = /<\/(script|pre|style)>/i, Gh = /^<!--/, zh = /-->/, Wh = /^<\?/, Vh = /\?>/, $h = /^<![A-Za-z]/, jh = />/, Hh = /^<!\[CDATA\[/, Kh = /]]>/, oo = /^$/, Xh = new RegExp(Ph.source + "\\s*$");
|
|
1017
|
+
function Jh(e, r, t) {
|
|
1018
|
+
for (var n = this, i = n.options.blocks.join("|"), u = new RegExp("^</?(" + i + ")(?=(\\s|/?>|$))", "i"), a = r.length, o = 0, s, l, c, f, D, m, p, h = [[Uh, Yh, true], [Gh, zh, true], [Wh, Vh, true], [$h, jh, true], [Hh, Kh, true], [u, oo, true], [Xh, oo, false]]; o < a && (f = r.charAt(o), !(f !== Lh && f !== Rh)); ) o++;
|
|
1019
|
+
if (r.charAt(o) === Mh) {
|
|
1020
|
+
for (s = r.indexOf(ao, o + 1), s = s === -1 ? a : s, l = r.slice(o, s), c = -1, D = h.length; ++c < D; ) if (h[c][0].test(l)) {
|
|
1021
|
+
m = h[c];
|
|
1022
|
+
break;
|
|
1023
|
+
}
|
|
1024
|
+
if (m) {
|
|
1025
|
+
if (t) return m[2];
|
|
1026
|
+
if (o = s, !m[1].test(l)) for (; o < a; ) {
|
|
1027
|
+
if (s = r.indexOf(ao, o + 1), s = s === -1 ? a : s, l = r.slice(o + 1, s), m[1].test(l)) {
|
|
1028
|
+
l && (o = s);
|
|
1029
|
+
break;
|
|
1030
|
+
}
|
|
1031
|
+
o = s;
|
|
1032
|
+
}
|
|
1033
|
+
return p = r.slice(0, o), e(p)({ type: "html", value: p });
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
var oe = x((kv, lo) => {
|
|
1039
|
+
lo.exports = ed;
|
|
1040
|
+
var Qh = String.fromCharCode, Zh = /\s/;
|
|
1041
|
+
function ed(e) {
|
|
1042
|
+
return Zh.test(typeof e == "number" ? Qh(e) : e.charAt(0));
|
|
1043
|
+
}
|
|
1044
|
+
});
|
|
1045
|
+
var sn = x((Bv, fo) => {
|
|
1046
|
+
var rd = kr();
|
|
1047
|
+
fo.exports = td;
|
|
1048
|
+
function td(e) {
|
|
1049
|
+
return rd(e).toLowerCase();
|
|
1050
|
+
}
|
|
1051
|
+
});
|
|
1052
|
+
var Eo = x((Tv, go) => {
|
|
1053
|
+
var nd = oe(), id = sn();
|
|
1054
|
+
go.exports = sd;
|
|
1055
|
+
var Do = '"', po = "'", ud = "\\", Je = `
|
|
1056
|
+
`, rt = " ", tt = " ", ln = "[", Cr = "]", ad = "(", od = ")", ho = ":", mo = "<", Fo = ">";
|
|
1057
|
+
function sd(e, r, t) {
|
|
1058
|
+
for (var n = this, i = n.options.commonmark, u = 0, a = r.length, o = "", s, l, c, f, D, m, p, h; u < a && (f = r.charAt(u), !(f !== tt && f !== rt)); ) o += f, u++;
|
|
1059
|
+
if (f = r.charAt(u), f === ln) {
|
|
1060
|
+
for (u++, o += f, c = ""; u < a && (f = r.charAt(u), f !== Cr); ) f === ud && (c += f, u++, f = r.charAt(u)), c += f, u++;
|
|
1061
|
+
if (!(!c || r.charAt(u) !== Cr || r.charAt(u + 1) !== ho)) {
|
|
1062
|
+
for (m = c, o += c + Cr + ho, u = o.length, c = ""; u < a && (f = r.charAt(u), !(f !== rt && f !== tt && f !== Je)); ) o += f, u++;
|
|
1063
|
+
if (f = r.charAt(u), c = "", s = o, f === mo) {
|
|
1064
|
+
for (u++; u < a && (f = r.charAt(u), !!cn(f)); ) c += f, u++;
|
|
1065
|
+
if (f = r.charAt(u), f === cn.delimiter) o += mo + c + f, u++;
|
|
1066
|
+
else {
|
|
1067
|
+
if (i) return;
|
|
1068
|
+
u -= c.length + 1, c = "";
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
if (!c) {
|
|
1072
|
+
for (; u < a && (f = r.charAt(u), !!cd(f)); ) c += f, u++;
|
|
1073
|
+
o += c;
|
|
1074
|
+
}
|
|
1075
|
+
if (c) {
|
|
1076
|
+
for (p = c, c = ""; u < a && (f = r.charAt(u), !(f !== rt && f !== tt && f !== Je)); ) c += f, u++;
|
|
1077
|
+
if (f = r.charAt(u), D = null, f === Do ? D = Do : f === po ? D = po : f === ad && (D = od), !D) c = "", u = o.length;
|
|
1078
|
+
else if (c) {
|
|
1079
|
+
for (o += c + f, u = o.length, c = ""; u < a && (f = r.charAt(u), f !== D); ) {
|
|
1080
|
+
if (f === Je) {
|
|
1081
|
+
if (u++, f = r.charAt(u), f === Je || f === D) return;
|
|
1082
|
+
c += Je;
|
|
1083
|
+
}
|
|
1084
|
+
c += f, u++;
|
|
1085
|
+
}
|
|
1086
|
+
if (f = r.charAt(u), f !== D) return;
|
|
1087
|
+
l = o, o += c + f, u++, h = c, c = "";
|
|
1088
|
+
} else return;
|
|
1089
|
+
for (; u < a && (f = r.charAt(u), !(f !== rt && f !== tt)); ) o += f, u++;
|
|
1090
|
+
if (f = r.charAt(u), !f || f === Je) return t ? true : (s = e(s).test().end, p = n.decode.raw(n.unescape(p), s, { nonTerminated: false }), h && (l = e(l).test().end, h = n.decode.raw(n.unescape(h), l)), e(o)({ type: "definition", identifier: id(m), label: m, title: h || null, url: p }));
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
function cn(e) {
|
|
1096
|
+
return e !== Fo && e !== ln && e !== Cr;
|
|
1097
|
+
}
|
|
1098
|
+
cn.delimiter = Fo;
|
|
1099
|
+
function cd(e) {
|
|
1100
|
+
return e !== ln && e !== Cr && !nd(e);
|
|
1101
|
+
}
|
|
1102
|
+
});
|
|
1103
|
+
var Ao = x((_v, vo) => {
|
|
1104
|
+
var ld = oe();
|
|
1105
|
+
vo.exports = Cd;
|
|
1106
|
+
var fd = " ", nt = `
|
|
1107
|
+
`, Dd = " ", pd = "-", hd = ":", dd = "\\", fn = "|", md = 1, Fd = 2, Co = "left", gd = "center", Ed = "right";
|
|
1108
|
+
function Cd(e, r, t) {
|
|
1109
|
+
var n = this, i, u, a, o, s, l, c, f, D, m, p, h, F, g, E, v, A, b, d, y, w, C;
|
|
1110
|
+
if (n.options.gfm) {
|
|
1111
|
+
for (i = 0, v = 0, l = r.length + 1, c = []; i < l; ) {
|
|
1112
|
+
if (y = r.indexOf(nt, i), w = r.indexOf(fn, i + 1), y === -1 && (y = r.length), w === -1 || w > y) {
|
|
1113
|
+
if (v < Fd) return;
|
|
1114
|
+
break;
|
|
1115
|
+
}
|
|
1116
|
+
c.push(r.slice(i, y)), v++, i = y + 1;
|
|
1117
|
+
}
|
|
1118
|
+
for (o = c.join(nt), u = c.splice(1, 1)[0] || [], i = 0, l = u.length, v--, a = false, p = []; i < l; ) {
|
|
1119
|
+
if (D = u.charAt(i), D === fn) {
|
|
1120
|
+
if (m = null, a === false) {
|
|
1121
|
+
if (C === false) return;
|
|
1122
|
+
} else p.push(a), a = false;
|
|
1123
|
+
C = false;
|
|
1124
|
+
} else if (D === pd) m = true, a = a || null;
|
|
1125
|
+
else if (D === hd) a === Co ? a = gd : m && a === null ? a = Ed : a = Co;
|
|
1126
|
+
else if (!ld(D)) return;
|
|
1127
|
+
i++;
|
|
1128
|
+
}
|
|
1129
|
+
if (a !== false && p.push(a), !(p.length < md)) {
|
|
1130
|
+
if (t) return true;
|
|
1131
|
+
for (E = -1, b = [], d = e(o).reset({ type: "table", align: p, children: b }); ++E < v; ) {
|
|
1132
|
+
for (A = c[E], s = { type: "tableRow", children: [] }, E && e(nt), e(A).reset(s, d), l = A.length + 1, i = 0, f = "", h = "", F = true; i < l; ) {
|
|
1133
|
+
if (D = A.charAt(i), D === fd || D === Dd) {
|
|
1134
|
+
h ? f += D : e(D), i++;
|
|
1135
|
+
continue;
|
|
1136
|
+
}
|
|
1137
|
+
D === "" || D === fn ? F ? e(D) : ((h || D) && !F && (o = h, f.length > 1 && (D ? (o += f.slice(0, -1), f = f.charAt(f.length - 1)) : (o += f, f = "")), g = e.now(), e(o)({ type: "tableCell", children: n.tokenizeInline(h, g) }, s)), e(f + D), f = "", h = "") : (f && (h += f, f = ""), h += D, D === dd && i !== l - 2 && (h += A.charAt(i + 1), i++)), F = false, i++;
|
|
1138
|
+
}
|
|
1139
|
+
E || e(nt + u);
|
|
1140
|
+
}
|
|
1141
|
+
return d;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
});
|
|
1146
|
+
var yo = x((qv, xo) => {
|
|
1147
|
+
var vd = Pe(), Ad = Xt(), bd = Zr();
|
|
1148
|
+
xo.exports = wd;
|
|
1149
|
+
var xd = " ", vr = `
|
|
1150
|
+
`, yd = " ", bo = 4;
|
|
1151
|
+
function wd(e, r, t) {
|
|
1152
|
+
for (var n = this, i = n.options, u = i.commonmark, a = n.blockTokenizers, o = n.interruptParagraph, s = r.indexOf(vr), l = r.length, c, f, D, m, p; s < l; ) {
|
|
1153
|
+
if (s === -1) {
|
|
1154
|
+
s = l;
|
|
1155
|
+
break;
|
|
1156
|
+
}
|
|
1157
|
+
if (r.charAt(s + 1) === vr) break;
|
|
1158
|
+
if (u) {
|
|
1159
|
+
for (m = 0, c = s + 1; c < l; ) {
|
|
1160
|
+
if (D = r.charAt(c), D === xd) {
|
|
1161
|
+
m = bo;
|
|
1162
|
+
break;
|
|
1163
|
+
} else if (D === yd) m++;
|
|
1164
|
+
else break;
|
|
1165
|
+
c++;
|
|
1166
|
+
}
|
|
1167
|
+
if (m >= bo && D !== vr) {
|
|
1168
|
+
s = r.indexOf(vr, s + 1);
|
|
1169
|
+
continue;
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
if (f = r.slice(s + 1), bd(o, a, n, [e, f, true])) break;
|
|
1173
|
+
if (c = s, s = r.indexOf(vr, s + 1), s !== -1 && vd(r.slice(c, s)) === "") {
|
|
1174
|
+
s = c;
|
|
1175
|
+
break;
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
return f = r.slice(0, s), t ? true : (p = e.now(), f = Ad(f), e(f)({ type: "paragraph", children: n.tokenizeInline(f, p) }));
|
|
1179
|
+
}
|
|
1180
|
+
});
|
|
1181
|
+
var ko = x((Ov, wo) => {
|
|
1182
|
+
wo.exports = kd;
|
|
1183
|
+
function kd(e, r) {
|
|
1184
|
+
return e.indexOf("\\", r);
|
|
1185
|
+
}
|
|
1186
|
+
});
|
|
1187
|
+
var qo = x((Sv, _o) => {
|
|
1188
|
+
var Bd = ko();
|
|
1189
|
+
_o.exports = To;
|
|
1190
|
+
To.locator = Bd;
|
|
1191
|
+
var Td = `
|
|
1192
|
+
`, Bo = "\\";
|
|
1193
|
+
function To(e, r, t) {
|
|
1194
|
+
var n = this, i, u;
|
|
1195
|
+
if (r.charAt(0) === Bo && (i = r.charAt(1), n.escape.indexOf(i) !== -1)) return t ? true : (i === Td ? u = { type: "break" } : u = { type: "text", value: i }, e(Bo + i)(u));
|
|
1196
|
+
}
|
|
1197
|
+
});
|
|
1198
|
+
var Dn = x((Nv, Oo) => {
|
|
1199
|
+
Oo.exports = _d;
|
|
1200
|
+
function _d(e, r) {
|
|
1201
|
+
return e.indexOf("<", r);
|
|
1202
|
+
}
|
|
1203
|
+
});
|
|
1204
|
+
var Lo = x((Iv, Po) => {
|
|
1205
|
+
var So = oe(), qd = dr(), Od = Dn();
|
|
1206
|
+
Po.exports = mn;
|
|
1207
|
+
mn.locator = Od;
|
|
1208
|
+
mn.notInLink = true;
|
|
1209
|
+
var No = "<", pn = ">", Io = "@", hn = "/", dn = "mailto:", it = dn.length;
|
|
1210
|
+
function mn(e, r, t) {
|
|
1211
|
+
var n = this, i = "", u = r.length, a = 0, o = "", s = false, l = "", c, f, D, m, p;
|
|
1212
|
+
if (r.charAt(0) === No) {
|
|
1213
|
+
for (a++, i = No; a < u && (c = r.charAt(a), !(So(c) || c === pn || c === Io || c === ":" && r.charAt(a + 1) === hn)); ) o += c, a++;
|
|
1214
|
+
if (o) {
|
|
1215
|
+
if (l += o, o = "", c = r.charAt(a), l += c, a++, c === Io) s = true;
|
|
1216
|
+
else {
|
|
1217
|
+
if (c !== ":" || r.charAt(a + 1) !== hn) return;
|
|
1218
|
+
l += hn, a++;
|
|
1219
|
+
}
|
|
1220
|
+
for (; a < u && (c = r.charAt(a), !(So(c) || c === pn)); ) o += c, a++;
|
|
1221
|
+
if (c = r.charAt(a), !(!o || c !== pn)) return t ? true : (l += o, D = l, i += l + c, f = e.now(), f.column++, f.offset++, s && (l.slice(0, it).toLowerCase() === dn ? (D = D.slice(it), f.column += it, f.offset += it) : l = dn + l), m = n.inlineTokenizers, n.inlineTokenizers = { text: m.text }, p = n.enterLink(), D = n.tokenizeInline(D, f), n.inlineTokenizers = m, p(), e(i)({ type: "link", title: null, url: qd(l, { nonTerminated: false }), children: D }));
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
});
|
|
1226
|
+
var Mo = x((Pv, Ro) => {
|
|
1227
|
+
Ro.exports = Sd;
|
|
1228
|
+
function Sd(e, r) {
|
|
1229
|
+
var t = String(e), n = 0, i;
|
|
1230
|
+
if (typeof r != "string") throw new Error("Expected character");
|
|
1231
|
+
for (i = t.indexOf(r); i !== -1; ) n++, i = t.indexOf(r, i + r.length);
|
|
1232
|
+
return n;
|
|
1233
|
+
}
|
|
1234
|
+
});
|
|
1235
|
+
var Go = x((Lv, Yo) => {
|
|
1236
|
+
Yo.exports = Nd;
|
|
1237
|
+
var Uo = ["www.", "http://", "https://"];
|
|
1238
|
+
function Nd(e, r) {
|
|
1239
|
+
var t = -1, n, i, u;
|
|
1240
|
+
if (!this.options.gfm) return t;
|
|
1241
|
+
for (i = Uo.length, n = -1; ++n < i; ) u = e.indexOf(Uo[n], r), u !== -1 && (t === -1 || u < t) && (t = u);
|
|
1242
|
+
return t;
|
|
1243
|
+
}
|
|
1244
|
+
});
|
|
1245
|
+
var jo = x((Rv, $o) => {
|
|
1246
|
+
var zo = Mo(), Id = dr(), Pd = Ie(), Fn = $e(), Ld = oe(), Rd = Go();
|
|
1247
|
+
$o.exports = En;
|
|
1248
|
+
En.locator = Rd;
|
|
1249
|
+
En.notInLink = true;
|
|
1250
|
+
var Md = 33, Ud = 38, Yd = 41, Gd = 42, zd = 44, Wd = 45, gn = 46, Vd = 58, $d = 59, jd = 63, Hd = 60, Wo = 95, Kd = 126, Xd = "(", Vo = ")";
|
|
1251
|
+
function En(e, r, t) {
|
|
1252
|
+
var n = this, i = n.options.gfm, u = n.inlineTokenizers, a = r.length, o = -1, s = false, l, c, f, D, m, p, h, F, g, E, v, A, b, d;
|
|
1253
|
+
if (i) {
|
|
1254
|
+
if (r.slice(0, 4) === "www.") s = true, D = 4;
|
|
1255
|
+
else if (r.slice(0, 7).toLowerCase() === "http://") D = 7;
|
|
1256
|
+
else if (r.slice(0, 8).toLowerCase() === "https://") D = 8;
|
|
1257
|
+
else return;
|
|
1258
|
+
for (o = D - 1, f = D, l = []; D < a; ) {
|
|
1259
|
+
if (h = r.charCodeAt(D), h === gn) {
|
|
1260
|
+
if (o === D - 1) break;
|
|
1261
|
+
l.push(D), o = D, D++;
|
|
1262
|
+
continue;
|
|
1263
|
+
}
|
|
1264
|
+
if (Pd(h) || Fn(h) || h === Wd || h === Wo) {
|
|
1265
|
+
D++;
|
|
1266
|
+
continue;
|
|
1267
|
+
}
|
|
1268
|
+
break;
|
|
1269
|
+
}
|
|
1270
|
+
if (h === gn && (l.pop(), D--), l[0] !== void 0 && (c = l.length < 2 ? f : l[l.length - 2] + 1, r.slice(c, D).indexOf("_") === -1)) {
|
|
1271
|
+
if (t) return true;
|
|
1272
|
+
for (F = D, m = D; D < a && (h = r.charCodeAt(D), !(Ld(h) || h === Hd)); ) D++, h === Md || h === Gd || h === zd || h === gn || h === Vd || h === jd || h === Wo || h === Kd || (F = D);
|
|
1273
|
+
if (D = F, r.charCodeAt(D - 1) === Yd) for (p = r.slice(m, D), g = zo(p, Xd), E = zo(p, Vo); E > g; ) D = m + p.lastIndexOf(Vo), p = r.slice(m, D), E--;
|
|
1274
|
+
if (r.charCodeAt(D - 1) === $d && (D--, Fn(r.charCodeAt(D - 1)))) {
|
|
1275
|
+
for (F = D - 2; Fn(r.charCodeAt(F)); ) F--;
|
|
1276
|
+
r.charCodeAt(F) === Ud && (D = F);
|
|
1277
|
+
}
|
|
1278
|
+
return v = r.slice(0, D), b = Id(v, { nonTerminated: false }), s && (b = "http://" + b), d = n.enterLink(), n.inlineTokenizers = { text: u.text }, A = n.tokenizeInline(v, e.now()), n.inlineTokenizers = u, d(), e(v)({ type: "link", title: null, url: b, children: A });
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
});
|
|
1283
|
+
var Jo = x((Mv, Xo) => {
|
|
1284
|
+
var Jd = Ie(), Qd = $e(), Zd = 43, e0 = 45, r0 = 46, t0 = 95;
|
|
1285
|
+
Xo.exports = Ko;
|
|
1286
|
+
function Ko(e, r) {
|
|
1287
|
+
var t = this, n, i;
|
|
1288
|
+
if (!this.options.gfm || (n = e.indexOf("@", r), n === -1)) return -1;
|
|
1289
|
+
if (i = n, i === r || !Ho(e.charCodeAt(i - 1))) return Ko.call(t, e, n + 1);
|
|
1290
|
+
for (; i > r && Ho(e.charCodeAt(i - 1)); ) i--;
|
|
1291
|
+
return i;
|
|
1292
|
+
}
|
|
1293
|
+
function Ho(e) {
|
|
1294
|
+
return Jd(e) || Qd(e) || e === Zd || e === e0 || e === r0 || e === t0;
|
|
1295
|
+
}
|
|
1296
|
+
});
|
|
1297
|
+
var rs = x((Uv, es) => {
|
|
1298
|
+
var n0 = dr(), Qo = Ie(), Zo = $e(), i0 = Jo();
|
|
1299
|
+
es.exports = An;
|
|
1300
|
+
An.locator = i0;
|
|
1301
|
+
An.notInLink = true;
|
|
1302
|
+
var u0 = 43, Cn = 45, ut = 46, a0 = 64, vn = 95;
|
|
1303
|
+
function An(e, r, t) {
|
|
1304
|
+
var n = this, i = n.options.gfm, u = n.inlineTokenizers, a = 0, o = r.length, s = -1, l, c, f, D;
|
|
1305
|
+
if (i) {
|
|
1306
|
+
for (l = r.charCodeAt(a); Qo(l) || Zo(l) || l === u0 || l === Cn || l === ut || l === vn; ) l = r.charCodeAt(++a);
|
|
1307
|
+
if (a !== 0 && l === a0) {
|
|
1308
|
+
for (a++; a < o; ) {
|
|
1309
|
+
if (l = r.charCodeAt(a), Qo(l) || Zo(l) || l === Cn || l === ut || l === vn) {
|
|
1310
|
+
a++, s === -1 && l === ut && (s = a);
|
|
1311
|
+
continue;
|
|
1312
|
+
}
|
|
1313
|
+
break;
|
|
1314
|
+
}
|
|
1315
|
+
if (!(s === -1 || s === a || l === Cn || l === vn)) return l === ut && a--, c = r.slice(0, a), t ? true : (D = n.enterLink(), n.inlineTokenizers = { text: u.text }, f = n.tokenizeInline(c, e.now()), n.inlineTokenizers = u, D(), e(c)({ type: "link", title: null, url: "mailto:" + n0(c, { nonTerminated: false }), children: f }));
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
});
|
|
1320
|
+
var is = x((Yv, ns) => {
|
|
1321
|
+
var o0 = $e(), s0 = Dn(), c0 = on().tag;
|
|
1322
|
+
ns.exports = ts;
|
|
1323
|
+
ts.locator = s0;
|
|
1324
|
+
var l0 = "<", f0 = "?", D0 = "!", p0 = "/", h0 = /^<a /i, d0 = /^<\/a>/i;
|
|
1325
|
+
function ts(e, r, t) {
|
|
1326
|
+
var n = this, i = r.length, u, a;
|
|
1327
|
+
if (!(r.charAt(0) !== l0 || i < 3) && (u = r.charAt(1), !(!o0(u) && u !== f0 && u !== D0 && u !== p0) && (a = r.match(c0), !!a))) return t ? true : (a = a[0], !n.inLink && h0.test(a) ? n.inLink = true : n.inLink && d0.test(a) && (n.inLink = false), e(a)({ type: "html", value: a }));
|
|
1328
|
+
}
|
|
1329
|
+
});
|
|
1330
|
+
var bn = x((Gv, us) => {
|
|
1331
|
+
us.exports = m0;
|
|
1332
|
+
function m0(e, r) {
|
|
1333
|
+
var t = e.indexOf("[", r), n = e.indexOf("![", r);
|
|
1334
|
+
return n === -1 || t < n ? t : n;
|
|
1335
|
+
}
|
|
1336
|
+
});
|
|
1337
|
+
var Ds = x((zv, fs) => {
|
|
1338
|
+
var Ar = oe(), F0 = bn();
|
|
1339
|
+
fs.exports = ls;
|
|
1340
|
+
ls.locator = F0;
|
|
1341
|
+
var g0 = `
|
|
1342
|
+
`, E0 = "!", as = '"', os = "'", Qe = "(", br = ")", xn = "<", yn = ">", ss = "[", xr = "\\", C0 = "]", cs = "`";
|
|
1343
|
+
function ls(e, r, t) {
|
|
1344
|
+
var n = this, i = "", u = 0, a = r.charAt(0), o = n.options.pedantic, s = n.options.commonmark, l = n.options.gfm, c, f, D, m, p, h, F, g, E, v, A, b, d, y, w, C, k, B;
|
|
1345
|
+
if (a === E0 && (g = true, i = a, a = r.charAt(++u)), a === ss && !(!g && n.inLink)) {
|
|
1346
|
+
for (i += a, y = "", u++, A = r.length, C = e.now(), d = 0, C.column += u, C.offset += u; u < A; ) {
|
|
1347
|
+
if (a = r.charAt(u), h = a, a === cs) {
|
|
1348
|
+
for (f = 1; r.charAt(u + 1) === cs; ) h += a, u++, f++;
|
|
1349
|
+
D ? f >= D && (D = 0) : D = f;
|
|
1350
|
+
} else if (a === xr) u++, h += r.charAt(u);
|
|
1351
|
+
else if ((!D || l) && a === ss) d++;
|
|
1352
|
+
else if ((!D || l) && a === C0) if (d) d--;
|
|
1353
|
+
else {
|
|
1354
|
+
if (r.charAt(u + 1) !== Qe) return;
|
|
1355
|
+
h += Qe, c = true, u++;
|
|
1356
|
+
break;
|
|
1357
|
+
}
|
|
1358
|
+
y += h, h = "", u++;
|
|
1359
|
+
}
|
|
1360
|
+
if (c) {
|
|
1361
|
+
for (E = y, i += y + h, u++; u < A && (a = r.charAt(u), !!Ar(a)); ) i += a, u++;
|
|
1362
|
+
if (a = r.charAt(u), y = "", m = i, a === xn) {
|
|
1363
|
+
for (u++, m += xn; u < A && (a = r.charAt(u), a !== yn); ) {
|
|
1364
|
+
if (s && a === g0) return;
|
|
1365
|
+
y += a, u++;
|
|
1366
|
+
}
|
|
1367
|
+
if (r.charAt(u) !== yn) return;
|
|
1368
|
+
i += xn + y + yn, w = y, u++;
|
|
1369
|
+
} else {
|
|
1370
|
+
for (a = null, h = ""; u < A && (a = r.charAt(u), !(h && (a === as || a === os || s && a === Qe))); ) {
|
|
1371
|
+
if (Ar(a)) {
|
|
1372
|
+
if (!o) break;
|
|
1373
|
+
h += a;
|
|
1374
|
+
} else {
|
|
1375
|
+
if (a === Qe) d++;
|
|
1376
|
+
else if (a === br) {
|
|
1377
|
+
if (d === 0) break;
|
|
1378
|
+
d--;
|
|
1379
|
+
}
|
|
1380
|
+
y += h, h = "", a === xr && (y += xr, a = r.charAt(++u)), y += a;
|
|
1381
|
+
}
|
|
1382
|
+
u++;
|
|
1383
|
+
}
|
|
1384
|
+
i += y, w = y, u = i.length;
|
|
1385
|
+
}
|
|
1386
|
+
for (y = ""; u < A && (a = r.charAt(u), !!Ar(a)); ) y += a, u++;
|
|
1387
|
+
if (a = r.charAt(u), i += y, y && (a === as || a === os || s && a === Qe)) if (u++, i += a, y = "", v = a === Qe ? br : a, p = i, s) {
|
|
1388
|
+
for (; u < A && (a = r.charAt(u), a !== v); ) a === xr && (y += xr, a = r.charAt(++u)), u++, y += a;
|
|
1389
|
+
if (a = r.charAt(u), a !== v) return;
|
|
1390
|
+
for (b = y, i += y + a, u++; u < A && (a = r.charAt(u), !!Ar(a)); ) i += a, u++;
|
|
1391
|
+
} else for (h = ""; u < A; ) {
|
|
1392
|
+
if (a = r.charAt(u), a === v) F && (y += v + h, h = ""), F = true;
|
|
1393
|
+
else if (!F) y += a;
|
|
1394
|
+
else if (a === br) {
|
|
1395
|
+
i += y + v + h, b = y;
|
|
1396
|
+
break;
|
|
1397
|
+
} else Ar(a) ? h += a : (y += v + h + a, h = "", F = false);
|
|
1398
|
+
u++;
|
|
1399
|
+
}
|
|
1400
|
+
if (r.charAt(u) === br) return t ? true : (i += br, w = n.decode.raw(n.unescape(w), e(m).test().end, { nonTerminated: false }), b && (p = e(p).test().end, b = n.decode.raw(n.unescape(b), p)), B = { type: g ? "image" : "link", title: b || null, url: w }, g ? B.alt = n.decode.raw(n.unescape(E), C) || null : (k = n.enterLink(), B.children = n.tokenizeInline(E, C), k()), e(i)(B));
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
});
|
|
1405
|
+
var ds = x((Wv, hs) => {
|
|
1406
|
+
var v0 = oe(), A0 = bn(), b0 = sn();
|
|
1407
|
+
hs.exports = ps;
|
|
1408
|
+
ps.locator = A0;
|
|
1409
|
+
var wn = "link", x0 = "image", y0 = "shortcut", w0 = "collapsed", kn = "full", k0 = "!", at = "[", ot = "\\", st = "]";
|
|
1410
|
+
function ps(e, r, t) {
|
|
1411
|
+
var n = this, i = n.options.commonmark, u = r.charAt(0), a = 0, o = r.length, s = "", l = "", c = wn, f = y0, D, m, p, h, F, g, E, v;
|
|
1412
|
+
if (u === k0 && (c = x0, l = u, u = r.charAt(++a)), u === at) {
|
|
1413
|
+
for (a++, l += u, g = "", v = 0; a < o; ) {
|
|
1414
|
+
if (u = r.charAt(a), u === at) E = true, v++;
|
|
1415
|
+
else if (u === st) {
|
|
1416
|
+
if (!v) break;
|
|
1417
|
+
v--;
|
|
1418
|
+
}
|
|
1419
|
+
u === ot && (g += ot, u = r.charAt(++a)), g += u, a++;
|
|
1420
|
+
}
|
|
1421
|
+
if (s = g, D = g, u = r.charAt(a), u === st) {
|
|
1422
|
+
if (a++, s += u, g = "", !i) for (; a < o && (u = r.charAt(a), !!v0(u)); ) g += u, a++;
|
|
1423
|
+
if (u = r.charAt(a), u === at) {
|
|
1424
|
+
for (m = "", g += u, a++; a < o && (u = r.charAt(a), !(u === at || u === st)); ) u === ot && (m += ot, u = r.charAt(++a)), m += u, a++;
|
|
1425
|
+
u = r.charAt(a), u === st ? (f = m ? kn : w0, g += m + u, a++) : m = "", s += g, g = "";
|
|
1426
|
+
} else {
|
|
1427
|
+
if (!D) return;
|
|
1428
|
+
m = D;
|
|
1429
|
+
}
|
|
1430
|
+
if (!(f !== kn && E)) return s = l + s, c === wn && n.inLink ? null : t ? true : (p = e.now(), p.column += l.length, p.offset += l.length, m = f === kn ? m : D, h = { type: c + "Reference", identifier: b0(m), label: m, referenceType: f }, c === wn ? (F = n.enterLink(), h.children = n.tokenizeInline(D, p), F()) : h.alt = n.decode.raw(n.unescape(D), p) || null, e(s)(h));
|
|
1431
|
+
}
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
});
|
|
1435
|
+
var Fs = x((Vv, ms) => {
|
|
1436
|
+
ms.exports = B0;
|
|
1437
|
+
function B0(e, r) {
|
|
1438
|
+
var t = e.indexOf("**", r), n = e.indexOf("__", r);
|
|
1439
|
+
return n === -1 ? t : t === -1 || n < t ? n : t;
|
|
1440
|
+
}
|
|
1441
|
+
});
|
|
1442
|
+
var vs = x(($v, Cs) => {
|
|
1443
|
+
var T0 = Pe(), gs = oe(), _0 = Fs();
|
|
1444
|
+
Cs.exports = Es;
|
|
1445
|
+
Es.locator = _0;
|
|
1446
|
+
var q0 = "\\", O0 = "*", S0 = "_";
|
|
1447
|
+
function Es(e, r, t) {
|
|
1448
|
+
var n = this, i = 0, u = r.charAt(i), a, o, s, l, c, f, D;
|
|
1449
|
+
if (!(u !== O0 && u !== S0 || r.charAt(++i) !== u) && (o = n.options.pedantic, s = u, c = s + s, f = r.length, i++, l = "", u = "", !(o && gs(r.charAt(i))))) for (; i < f; ) {
|
|
1450
|
+
if (D = u, u = r.charAt(i), u === s && r.charAt(i + 1) === s && (!o || !gs(D)) && (u = r.charAt(i + 2), u !== s)) return T0(l) ? t ? true : (a = e.now(), a.column += 2, a.offset += 2, e(c + l + c)({ type: "strong", children: n.tokenizeInline(l, a) })) : void 0;
|
|
1451
|
+
!o && u === q0 && (l += u, u = r.charAt(++i)), l += u, i++;
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
});
|
|
1455
|
+
var bs = x((jv, As) => {
|
|
1456
|
+
As.exports = P0;
|
|
1457
|
+
var N0 = String.fromCharCode, I0 = /\w/;
|
|
1458
|
+
function P0(e) {
|
|
1459
|
+
return I0.test(typeof e == "number" ? N0(e) : e.charAt(0));
|
|
1460
|
+
}
|
|
1461
|
+
});
|
|
1462
|
+
var ys = x((Hv, xs) => {
|
|
1463
|
+
xs.exports = L0;
|
|
1464
|
+
function L0(e, r) {
|
|
1465
|
+
var t = e.indexOf("*", r), n = e.indexOf("_", r);
|
|
1466
|
+
return n === -1 ? t : t === -1 || n < t ? n : t;
|
|
1467
|
+
}
|
|
1468
|
+
});
|
|
1469
|
+
var _s = x((Kv, Ts) => {
|
|
1470
|
+
var R0 = Pe(), M0 = bs(), ws = oe(), U0 = ys();
|
|
1471
|
+
Ts.exports = Bs;
|
|
1472
|
+
Bs.locator = U0;
|
|
1473
|
+
var Y0 = "*", ks = "_", G0 = "\\";
|
|
1474
|
+
function Bs(e, r, t) {
|
|
1475
|
+
var n = this, i = 0, u = r.charAt(i), a, o, s, l, c, f, D;
|
|
1476
|
+
if (!(u !== Y0 && u !== ks) && (o = n.options.pedantic, c = u, s = u, f = r.length, i++, l = "", u = "", !(o && ws(r.charAt(i))))) for (; i < f; ) {
|
|
1477
|
+
if (D = u, u = r.charAt(i), u === s && (!o || !ws(D))) {
|
|
1478
|
+
if (u = r.charAt(++i), u !== s) {
|
|
1479
|
+
if (!R0(l) || D === s) return;
|
|
1480
|
+
if (!o && s === ks && M0(u)) {
|
|
1481
|
+
l += s;
|
|
1482
|
+
continue;
|
|
1483
|
+
}
|
|
1484
|
+
return t ? true : (a = e.now(), a.column++, a.offset++, e(c + l + s)({ type: "emphasis", children: n.tokenizeInline(l, a) }));
|
|
1485
|
+
}
|
|
1486
|
+
l += s;
|
|
1487
|
+
}
|
|
1488
|
+
!o && u === G0 && (l += u, u = r.charAt(++i)), l += u, i++;
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
});
|
|
1492
|
+
var Os = x((Xv, qs) => {
|
|
1493
|
+
qs.exports = z0;
|
|
1494
|
+
function z0(e, r) {
|
|
1495
|
+
return e.indexOf("~~", r);
|
|
1496
|
+
}
|
|
1497
|
+
});
|
|
1498
|
+
var Ls = x((Jv, Ps) => {
|
|
1499
|
+
var Ss = oe(), W0 = Os();
|
|
1500
|
+
Ps.exports = Is;
|
|
1501
|
+
Is.locator = W0;
|
|
1502
|
+
var ct = "~", Ns = "~~";
|
|
1503
|
+
function Is(e, r, t) {
|
|
1504
|
+
var n = this, i = "", u = "", a = "", o = "", s, l, c;
|
|
1505
|
+
if (!(!n.options.gfm || r.charAt(0) !== ct || r.charAt(1) !== ct || Ss(r.charAt(2)))) for (s = 1, l = r.length, c = e.now(), c.column += 2, c.offset += 2; ++s < l; ) {
|
|
1506
|
+
if (i = r.charAt(s), i === ct && u === ct && (!a || !Ss(a))) return t ? true : e(Ns + o + Ns)({ type: "delete", children: n.tokenizeInline(o, c) });
|
|
1507
|
+
o += u, a = u, u = i;
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
});
|
|
1511
|
+
var Ms = x((Qv, Rs) => {
|
|
1512
|
+
Rs.exports = V0;
|
|
1513
|
+
function V0(e, r) {
|
|
1514
|
+
return e.indexOf("`", r);
|
|
1515
|
+
}
|
|
1516
|
+
});
|
|
1517
|
+
var Gs = x((Zv, Ys) => {
|
|
1518
|
+
var $0 = Ms();
|
|
1519
|
+
Ys.exports = Us;
|
|
1520
|
+
Us.locator = $0;
|
|
1521
|
+
var Bn = 10, Tn = 32, _n = 96;
|
|
1522
|
+
function Us(e, r, t) {
|
|
1523
|
+
for (var n = r.length, i = 0, u, a, o, s, l, c; i < n && r.charCodeAt(i) === _n; ) i++;
|
|
1524
|
+
if (!(i === 0 || i === n)) {
|
|
1525
|
+
for (u = i, l = r.charCodeAt(i); i < n; ) {
|
|
1526
|
+
if (s = l, l = r.charCodeAt(i + 1), s === _n) {
|
|
1527
|
+
if (a === void 0 && (a = i), o = i + 1, l !== _n && o - a === u) {
|
|
1528
|
+
c = true;
|
|
1529
|
+
break;
|
|
1530
|
+
}
|
|
1531
|
+
} else a !== void 0 && (a = void 0, o = void 0);
|
|
1532
|
+
i++;
|
|
1533
|
+
}
|
|
1534
|
+
if (c) {
|
|
1535
|
+
if (t) return true;
|
|
1536
|
+
if (i = u, n = a, s = r.charCodeAt(i), l = r.charCodeAt(n - 1), c = false, n - i > 2 && (s === Tn || s === Bn) && (l === Tn || l === Bn)) {
|
|
1537
|
+
for (i++, n--; i < n; ) {
|
|
1538
|
+
if (s = r.charCodeAt(i), s !== Tn && s !== Bn) {
|
|
1539
|
+
c = true;
|
|
1540
|
+
break;
|
|
1541
|
+
}
|
|
1542
|
+
i++;
|
|
1543
|
+
}
|
|
1544
|
+
c === true && (u++, a--);
|
|
1545
|
+
}
|
|
1546
|
+
return e(r.slice(0, o))({ type: "inlineCode", value: r.slice(u, a) });
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
});
|
|
1551
|
+
var Ws = x((e2, zs) => {
|
|
1552
|
+
zs.exports = j0;
|
|
1553
|
+
function j0(e, r) {
|
|
1554
|
+
for (var t = e.indexOf(`
|
|
1555
|
+
`, r); t > r && e.charAt(t - 1) === " "; ) t--;
|
|
1556
|
+
return t;
|
|
1557
|
+
}
|
|
1558
|
+
});
|
|
1559
|
+
var js = x((r2, $s) => {
|
|
1560
|
+
var H0 = Ws();
|
|
1561
|
+
$s.exports = Vs;
|
|
1562
|
+
Vs.locator = H0;
|
|
1563
|
+
var K0 = " ", X0 = `
|
|
1564
|
+
`, J0 = 2;
|
|
1565
|
+
function Vs(e, r, t) {
|
|
1566
|
+
for (var n = r.length, i = -1, u = "", a; ++i < n; ) {
|
|
1567
|
+
if (a = r.charAt(i), a === X0) return i < J0 ? void 0 : t ? true : (u += a, e(u)({ type: "break" }));
|
|
1568
|
+
if (a !== K0) return;
|
|
1569
|
+
u += a;
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
});
|
|
1573
|
+
var Ks = x((t2, Hs) => {
|
|
1574
|
+
Hs.exports = Q0;
|
|
1575
|
+
function Q0(e, r, t) {
|
|
1576
|
+
var n = this, i, u, a, o, s, l, c, f, D, m;
|
|
1577
|
+
if (t) return true;
|
|
1578
|
+
for (i = n.inlineMethods, o = i.length, u = n.inlineTokenizers, a = -1, D = r.length; ++a < o; ) f = i[a], !(f === "text" || !u[f]) && (c = u[f].locator, c || e.file.fail("Missing locator: `" + f + "`"), l = c.call(n, r, 1), l !== -1 && l < D && (D = l));
|
|
1579
|
+
s = r.slice(0, D), m = e.now(), n.decode(s, m, p);
|
|
1580
|
+
function p(h, F, g) {
|
|
1581
|
+
e(g || h)({ type: "text", value: h });
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
});
|
|
1585
|
+
var Zs = x((n2, Qs) => {
|
|
1586
|
+
var Z0 = Ne(), lt = du(), em = Fu(), rm = Eu(), tm = ju(), qn = Xu();
|
|
1587
|
+
Qs.exports = Xs;
|
|
1588
|
+
function Xs(e, r) {
|
|
1589
|
+
this.file = r, this.offset = {}, this.options = Z0(this.options), this.setOptions({}), this.inList = false, this.inBlock = false, this.inLink = false, this.atStart = true, this.toOffset = em(r).toOffset, this.unescape = rm(this, "escape"), this.decode = tm(this);
|
|
1590
|
+
}
|
|
1591
|
+
var U = Xs.prototype;
|
|
1592
|
+
U.setOptions = ia();
|
|
1593
|
+
U.parse = Ca();
|
|
1594
|
+
U.options = jt();
|
|
1595
|
+
U.exitStart = lt("atStart", true);
|
|
1596
|
+
U.enterList = lt("inList", false);
|
|
1597
|
+
U.enterLink = lt("inLink", false);
|
|
1598
|
+
U.enterBlock = lt("inBlock", false);
|
|
1599
|
+
U.interruptParagraph = [["thematicBreak"], ["list"], ["atxHeading"], ["fencedCode"], ["blockquote"], ["html"], ["setextHeading", { commonmark: false }], ["definition", { commonmark: false }]];
|
|
1600
|
+
U.interruptList = [["atxHeading", { pedantic: false }], ["fencedCode", { pedantic: false }], ["thematicBreak", { pedantic: false }], ["definition", { commonmark: false }]];
|
|
1601
|
+
U.interruptBlockquote = [["indentedCode", { commonmark: true }], ["fencedCode", { commonmark: true }], ["atxHeading", { commonmark: true }], ["setextHeading", { commonmark: true }], ["thematicBreak", { commonmark: true }], ["html", { commonmark: true }], ["list", { commonmark: true }], ["definition", { commonmark: false }]];
|
|
1602
|
+
U.blockTokenizers = { blankLine: Aa(), indentedCode: ka(), fencedCode: _a(), blockquote: Pa(), atxHeading: Ma(), thematicBreak: Ga(), list: Za(), setextHeading: no(), html: co(), definition: Eo(), table: Ao(), paragraph: yo() };
|
|
1603
|
+
U.inlineTokenizers = { escape: qo(), autoLink: Lo(), url: jo(), email: rs(), html: is(), link: Ds(), reference: ds(), strong: vs(), emphasis: _s(), deletion: Ls(), code: Gs(), break: js(), text: Ks() };
|
|
1604
|
+
U.blockMethods = Js(U.blockTokenizers);
|
|
1605
|
+
U.inlineMethods = Js(U.inlineTokenizers);
|
|
1606
|
+
U.tokenizeBlock = qn("block");
|
|
1607
|
+
U.tokenizeInline = qn("inline");
|
|
1608
|
+
U.tokenizeFactory = qn;
|
|
1609
|
+
function Js(e) {
|
|
1610
|
+
var r = [], t;
|
|
1611
|
+
for (t in e) r.push(t);
|
|
1612
|
+
return r;
|
|
1613
|
+
}
|
|
1614
|
+
});
|
|
1615
|
+
var nc = x((i2, tc) => {
|
|
1616
|
+
var nm = pu(), im = Ne(), ec = Zs();
|
|
1617
|
+
tc.exports = rc;
|
|
1618
|
+
rc.Parser = ec;
|
|
1619
|
+
function rc(e) {
|
|
1620
|
+
var r = this.data("settings"), t = nm(ec);
|
|
1621
|
+
t.prototype.options = im(t.prototype.options, r, e), this.Parser = t;
|
|
1622
|
+
}
|
|
1623
|
+
});
|
|
1624
|
+
var uc = x((u2, ic) => {
|
|
1625
|
+
ic.exports = um;
|
|
1626
|
+
function um(e) {
|
|
1627
|
+
if (e) throw e;
|
|
1628
|
+
}
|
|
1629
|
+
});
|
|
1630
|
+
var On = x((a2, ac) => {
|
|
1631
|
+
ac.exports = function(r) {
|
|
1632
|
+
return r != null && r.constructor != null && typeof r.constructor.isBuffer == "function" && r.constructor.isBuffer(r);
|
|
1633
|
+
};
|
|
1634
|
+
});
|
|
1635
|
+
var dc = x((o2, hc) => {
|
|
1636
|
+
var ft = Object.prototype.hasOwnProperty, pc = Object.prototype.toString, oc = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, cc = function(r) {
|
|
1637
|
+
return typeof Array.isArray == "function" ? Array.isArray(r) : pc.call(r) === "[object Array]";
|
|
1638
|
+
}, lc = function(r) {
|
|
1639
|
+
if (!r || pc.call(r) !== "[object Object]") return false;
|
|
1640
|
+
var t = ft.call(r, "constructor"), n = r.constructor && r.constructor.prototype && ft.call(r.constructor.prototype, "isPrototypeOf");
|
|
1641
|
+
if (r.constructor && !t && !n) return false;
|
|
1642
|
+
var i;
|
|
1643
|
+
for (i in r) ;
|
|
1644
|
+
return typeof i > "u" || ft.call(r, i);
|
|
1645
|
+
}, fc = function(r, t) {
|
|
1646
|
+
oc && t.name === "__proto__" ? oc(r, t.name, { enumerable: true, configurable: true, value: t.newValue, writable: true }) : r[t.name] = t.newValue;
|
|
1647
|
+
}, Dc = function(r, t) {
|
|
1648
|
+
if (t === "__proto__") if (ft.call(r, t)) {
|
|
1649
|
+
if (sc) return sc(r, t).value;
|
|
1650
|
+
} else return;
|
|
1651
|
+
return r[t];
|
|
1652
|
+
};
|
|
1653
|
+
hc.exports = function e() {
|
|
1654
|
+
var r, t, n, i, u, a, o = arguments[0], s = 1, l = arguments.length, c = false;
|
|
1655
|
+
for (typeof o == "boolean" && (c = o, o = arguments[1] || {}, s = 2), (o == null || typeof o != "object" && typeof o != "function") && (o = {}); s < l; ++s) if (r = arguments[s], r != null) for (t in r) n = Dc(o, t), i = Dc(r, t), o !== i && (c && i && (lc(i) || (u = cc(i))) ? (u ? (u = false, a = n && cc(n) ? n : []) : a = n && lc(n) ? n : {}, fc(o, { name: t, newValue: e(c, a, i) })) : typeof i < "u" && fc(o, { name: t, newValue: i }));
|
|
1656
|
+
return o;
|
|
1657
|
+
};
|
|
1658
|
+
});
|
|
1659
|
+
var Fc = x((s2, mc) => {
|
|
1660
|
+
mc.exports = (e) => {
|
|
1661
|
+
if (Object.prototype.toString.call(e) !== "[object Object]") return false;
|
|
1662
|
+
let r = Object.getPrototypeOf(e);
|
|
1663
|
+
return r === null || r === Object.prototype;
|
|
1664
|
+
};
|
|
1665
|
+
});
|
|
1666
|
+
var Ec = x((c2, gc) => {
|
|
1667
|
+
var am = [].slice;
|
|
1668
|
+
gc.exports = om;
|
|
1669
|
+
function om(e, r) {
|
|
1670
|
+
var t;
|
|
1671
|
+
return n;
|
|
1672
|
+
function n() {
|
|
1673
|
+
var a = am.call(arguments, 0), o = e.length > a.length, s;
|
|
1674
|
+
o && a.push(i);
|
|
1675
|
+
try {
|
|
1676
|
+
s = e.apply(null, a);
|
|
1677
|
+
} catch (l) {
|
|
1678
|
+
if (o && t) throw l;
|
|
1679
|
+
return i(l);
|
|
1680
|
+
}
|
|
1681
|
+
o || (s && typeof s.then == "function" ? s.then(u, i) : s instanceof Error ? i(s) : u(s));
|
|
1682
|
+
}
|
|
1683
|
+
function i() {
|
|
1684
|
+
t || (t = true, r.apply(null, arguments));
|
|
1685
|
+
}
|
|
1686
|
+
function u(a) {
|
|
1687
|
+
i(null, a);
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
});
|
|
1691
|
+
var xc = x((l2, bc) => {
|
|
1692
|
+
var vc = Ec();
|
|
1693
|
+
bc.exports = Ac;
|
|
1694
|
+
Ac.wrap = vc;
|
|
1695
|
+
var Cc = [].slice;
|
|
1696
|
+
function Ac() {
|
|
1697
|
+
var e = [], r = {};
|
|
1698
|
+
return r.run = t, r.use = n, r;
|
|
1699
|
+
function t() {
|
|
1700
|
+
var i = -1, u = Cc.call(arguments, 0, -1), a = arguments[arguments.length - 1];
|
|
1701
|
+
if (typeof a != "function") throw new Error("Expected function as last argument, not " + a);
|
|
1702
|
+
o.apply(null, [null].concat(u));
|
|
1703
|
+
function o(s) {
|
|
1704
|
+
var l = e[++i], c = Cc.call(arguments, 0), f = c.slice(1), D = u.length, m = -1;
|
|
1705
|
+
if (s) {
|
|
1706
|
+
a(s);
|
|
1707
|
+
return;
|
|
1708
|
+
}
|
|
1709
|
+
for (; ++m < D; ) (f[m] === null || f[m] === void 0) && (f[m] = u[m]);
|
|
1710
|
+
u = f, l ? vc(l, o).apply(null, u) : a.apply(null, [null].concat(u));
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
function n(i) {
|
|
1714
|
+
if (typeof i != "function") throw new Error("Expected `fn` to be a function, not " + i);
|
|
1715
|
+
return e.push(i), r;
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
});
|
|
1719
|
+
var Bc = x((f2, kc) => {
|
|
1720
|
+
var Ze = {}.hasOwnProperty;
|
|
1721
|
+
kc.exports = sm;
|
|
1722
|
+
function sm(e) {
|
|
1723
|
+
return !e || typeof e != "object" ? "" : Ze.call(e, "position") || Ze.call(e, "type") ? yc(e.position) : Ze.call(e, "start") || Ze.call(e, "end") ? yc(e) : Ze.call(e, "line") || Ze.call(e, "column") ? Sn(e) : "";
|
|
1724
|
+
}
|
|
1725
|
+
function Sn(e) {
|
|
1726
|
+
return (!e || typeof e != "object") && (e = {}), wc(e.line) + ":" + wc(e.column);
|
|
1727
|
+
}
|
|
1728
|
+
function yc(e) {
|
|
1729
|
+
return (!e || typeof e != "object") && (e = {}), Sn(e.start) + "-" + Sn(e.end);
|
|
1730
|
+
}
|
|
1731
|
+
function wc(e) {
|
|
1732
|
+
return e && typeof e == "number" ? e : 1;
|
|
1733
|
+
}
|
|
1734
|
+
});
|
|
1735
|
+
var qc = x((D2, _c) => {
|
|
1736
|
+
var cm = Bc();
|
|
1737
|
+
_c.exports = Nn;
|
|
1738
|
+
function Tc() {
|
|
1739
|
+
}
|
|
1740
|
+
Tc.prototype = Error.prototype;
|
|
1741
|
+
Nn.prototype = new Tc();
|
|
1742
|
+
var ke = Nn.prototype;
|
|
1743
|
+
ke.file = "";
|
|
1744
|
+
ke.name = "";
|
|
1745
|
+
ke.reason = "";
|
|
1746
|
+
ke.message = "";
|
|
1747
|
+
ke.stack = "";
|
|
1748
|
+
ke.fatal = null;
|
|
1749
|
+
ke.column = null;
|
|
1750
|
+
ke.line = null;
|
|
1751
|
+
function Nn(e, r, t) {
|
|
1752
|
+
var n, i, u;
|
|
1753
|
+
typeof r == "string" && (t = r, r = null), n = lm(t), i = cm(r) || "1:1", u = { start: { line: null, column: null }, end: { line: null, column: null } }, r && r.position && (r = r.position), r && (r.start ? (u = r, r = r.start) : u.start = r), e.stack && (this.stack = e.stack, e = e.message), this.message = e, this.name = i, this.reason = e, this.line = r ? r.line : null, this.column = r ? r.column : null, this.location = u, this.source = n[0], this.ruleId = n[1];
|
|
1754
|
+
}
|
|
1755
|
+
function lm(e) {
|
|
1756
|
+
var r = [null, null], t;
|
|
1757
|
+
return typeof e == "string" && (t = e.indexOf(":"), t === -1 ? r[1] = e : (r[0] = e.slice(0, t), r[1] = e.slice(t + 1))), r;
|
|
1758
|
+
}
|
|
1759
|
+
});
|
|
1760
|
+
var Oc = x((er) => {
|
|
1761
|
+
er.basename = fm;
|
|
1762
|
+
er.dirname = Dm;
|
|
1763
|
+
er.extname = pm;
|
|
1764
|
+
er.join = hm;
|
|
1765
|
+
er.sep = "/";
|
|
1766
|
+
function fm(e, r) {
|
|
1767
|
+
var t = 0, n = -1, i, u, a, o;
|
|
1768
|
+
if (r !== void 0 && typeof r != "string") throw new TypeError('"ext" argument must be a string');
|
|
1769
|
+
if (yr(e), i = e.length, r === void 0 || !r.length || r.length > e.length) {
|
|
1770
|
+
for (; i--; ) if (e.charCodeAt(i) === 47) {
|
|
1771
|
+
if (a) {
|
|
1772
|
+
t = i + 1;
|
|
1773
|
+
break;
|
|
1774
|
+
}
|
|
1775
|
+
} else n < 0 && (a = true, n = i + 1);
|
|
1776
|
+
return n < 0 ? "" : e.slice(t, n);
|
|
1777
|
+
}
|
|
1778
|
+
if (r === e) return "";
|
|
1779
|
+
for (u = -1, o = r.length - 1; i--; ) if (e.charCodeAt(i) === 47) {
|
|
1780
|
+
if (a) {
|
|
1781
|
+
t = i + 1;
|
|
1782
|
+
break;
|
|
1783
|
+
}
|
|
1784
|
+
} else u < 0 && (a = true, u = i + 1), o > -1 && (e.charCodeAt(i) === r.charCodeAt(o--) ? o < 0 && (n = i) : (o = -1, n = u));
|
|
1785
|
+
return t === n ? n = u : n < 0 && (n = e.length), e.slice(t, n);
|
|
1786
|
+
}
|
|
1787
|
+
function Dm(e) {
|
|
1788
|
+
var r, t, n;
|
|
1789
|
+
if (yr(e), !e.length) return ".";
|
|
1790
|
+
for (r = -1, n = e.length; --n; ) if (e.charCodeAt(n) === 47) {
|
|
1791
|
+
if (t) {
|
|
1792
|
+
r = n;
|
|
1793
|
+
break;
|
|
1794
|
+
}
|
|
1795
|
+
} else t || (t = true);
|
|
1796
|
+
return r < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : r === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, r);
|
|
1797
|
+
}
|
|
1798
|
+
function pm(e) {
|
|
1799
|
+
var r = -1, t = 0, n = -1, i = 0, u, a, o;
|
|
1800
|
+
for (yr(e), o = e.length; o--; ) {
|
|
1801
|
+
if (a = e.charCodeAt(o), a === 47) {
|
|
1802
|
+
if (u) {
|
|
1803
|
+
t = o + 1;
|
|
1804
|
+
break;
|
|
1805
|
+
}
|
|
1806
|
+
continue;
|
|
1807
|
+
}
|
|
1808
|
+
n < 0 && (u = true, n = o + 1), a === 46 ? r < 0 ? r = o : i !== 1 && (i = 1) : r > -1 && (i = -1);
|
|
1809
|
+
}
|
|
1810
|
+
return r < 0 || n < 0 || i === 0 || i === 1 && r === n - 1 && r === t + 1 ? "" : e.slice(r, n);
|
|
1811
|
+
}
|
|
1812
|
+
function hm() {
|
|
1813
|
+
for (var e = -1, r; ++e < arguments.length; ) yr(arguments[e]), arguments[e] && (r = r === void 0 ? arguments[e] : r + "/" + arguments[e]);
|
|
1814
|
+
return r === void 0 ? "." : dm(r);
|
|
1815
|
+
}
|
|
1816
|
+
function dm(e) {
|
|
1817
|
+
var r, t;
|
|
1818
|
+
return yr(e), r = e.charCodeAt(0) === 47, t = mm(e, !r), !t.length && !r && (t = "."), t.length && e.charCodeAt(e.length - 1) === 47 && (t += "/"), r ? "/" + t : t;
|
|
1819
|
+
}
|
|
1820
|
+
function mm(e, r) {
|
|
1821
|
+
for (var t = "", n = 0, i = -1, u = 0, a = -1, o, s; ++a <= e.length; ) {
|
|
1822
|
+
if (a < e.length) o = e.charCodeAt(a);
|
|
1823
|
+
else {
|
|
1824
|
+
if (o === 47) break;
|
|
1825
|
+
o = 47;
|
|
1826
|
+
}
|
|
1827
|
+
if (o === 47) {
|
|
1828
|
+
if (!(i === a - 1 || u === 1)) if (i !== a - 1 && u === 2) {
|
|
1829
|
+
if (t.length < 2 || n !== 2 || t.charCodeAt(t.length - 1) !== 46 || t.charCodeAt(t.length - 2) !== 46) {
|
|
1830
|
+
if (t.length > 2) {
|
|
1831
|
+
if (s = t.lastIndexOf("/"), s !== t.length - 1) {
|
|
1832
|
+
s < 0 ? (t = "", n = 0) : (t = t.slice(0, s), n = t.length - 1 - t.lastIndexOf("/")), i = a, u = 0;
|
|
1833
|
+
continue;
|
|
1834
|
+
}
|
|
1835
|
+
} else if (t.length) {
|
|
1836
|
+
t = "", n = 0, i = a, u = 0;
|
|
1837
|
+
continue;
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
r && (t = t.length ? t + "/.." : "..", n = 2);
|
|
1841
|
+
} else t.length ? t += "/" + e.slice(i + 1, a) : t = e.slice(i + 1, a), n = a - i - 1;
|
|
1842
|
+
i = a, u = 0;
|
|
1843
|
+
} else o === 46 && u > -1 ? u++ : u = -1;
|
|
1844
|
+
}
|
|
1845
|
+
return t;
|
|
1846
|
+
}
|
|
1847
|
+
function yr(e) {
|
|
1848
|
+
if (typeof e != "string") throw new TypeError("Path must be a string. Received " + JSON.stringify(e));
|
|
1849
|
+
}
|
|
1850
|
+
});
|
|
1851
|
+
var Nc = x((Sc) => {
|
|
1852
|
+
Sc.cwd = Fm;
|
|
1853
|
+
function Fm() {
|
|
1854
|
+
return "/";
|
|
1855
|
+
}
|
|
1856
|
+
});
|
|
1857
|
+
var Lc = x((d2, Pc) => {
|
|
1858
|
+
var se = Oc(), gm = Nc(), Em = On();
|
|
1859
|
+
Pc.exports = Ee;
|
|
1860
|
+
var Cm = {}.hasOwnProperty, In = ["history", "path", "basename", "stem", "extname", "dirname"];
|
|
1861
|
+
Ee.prototype.toString = qm;
|
|
1862
|
+
Object.defineProperty(Ee.prototype, "path", { get: vm, set: Am });
|
|
1863
|
+
Object.defineProperty(Ee.prototype, "dirname", { get: bm, set: xm });
|
|
1864
|
+
Object.defineProperty(Ee.prototype, "basename", { get: ym, set: wm });
|
|
1865
|
+
Object.defineProperty(Ee.prototype, "extname", { get: km, set: Bm });
|
|
1866
|
+
Object.defineProperty(Ee.prototype, "stem", { get: Tm, set: _m });
|
|
1867
|
+
function Ee(e) {
|
|
1868
|
+
var r, t;
|
|
1869
|
+
if (!e) e = {};
|
|
1870
|
+
else if (typeof e == "string" || Em(e)) e = { contents: e };
|
|
1871
|
+
else if ("message" in e && "messages" in e) return e;
|
|
1872
|
+
if (!(this instanceof Ee)) return new Ee(e);
|
|
1873
|
+
for (this.data = {}, this.messages = [], this.history = [], this.cwd = gm.cwd(), t = -1; ++t < In.length; ) r = In[t], Cm.call(e, r) && (this[r] = e[r]);
|
|
1874
|
+
for (r in e) In.indexOf(r) < 0 && (this[r] = e[r]);
|
|
1875
|
+
}
|
|
1876
|
+
function vm() {
|
|
1877
|
+
return this.history[this.history.length - 1];
|
|
1878
|
+
}
|
|
1879
|
+
function Am(e) {
|
|
1880
|
+
Ln(e, "path"), this.path !== e && this.history.push(e);
|
|
1881
|
+
}
|
|
1882
|
+
function bm() {
|
|
1883
|
+
return typeof this.path == "string" ? se.dirname(this.path) : void 0;
|
|
1884
|
+
}
|
|
1885
|
+
function xm(e) {
|
|
1886
|
+
Ic(this.path, "dirname"), this.path = se.join(e || "", this.basename);
|
|
1887
|
+
}
|
|
1888
|
+
function ym() {
|
|
1889
|
+
return typeof this.path == "string" ? se.basename(this.path) : void 0;
|
|
1890
|
+
}
|
|
1891
|
+
function wm(e) {
|
|
1892
|
+
Ln(e, "basename"), Pn(e, "basename"), this.path = se.join(this.dirname || "", e);
|
|
1893
|
+
}
|
|
1894
|
+
function km() {
|
|
1895
|
+
return typeof this.path == "string" ? se.extname(this.path) : void 0;
|
|
1896
|
+
}
|
|
1897
|
+
function Bm(e) {
|
|
1898
|
+
if (Pn(e, "extname"), Ic(this.path, "extname"), e) {
|
|
1899
|
+
if (e.charCodeAt(0) !== 46) throw new Error("`extname` must start with `.`");
|
|
1900
|
+
if (e.indexOf(".", 1) > -1) throw new Error("`extname` cannot contain multiple dots");
|
|
1901
|
+
}
|
|
1902
|
+
this.path = se.join(this.dirname, this.stem + (e || ""));
|
|
1903
|
+
}
|
|
1904
|
+
function Tm() {
|
|
1905
|
+
return typeof this.path == "string" ? se.basename(this.path, this.extname) : void 0;
|
|
1906
|
+
}
|
|
1907
|
+
function _m(e) {
|
|
1908
|
+
Ln(e, "stem"), Pn(e, "stem"), this.path = se.join(this.dirname || "", e + (this.extname || ""));
|
|
1909
|
+
}
|
|
1910
|
+
function qm(e) {
|
|
1911
|
+
return (this.contents || "").toString(e);
|
|
1912
|
+
}
|
|
1913
|
+
function Pn(e, r) {
|
|
1914
|
+
if (e && e.indexOf(se.sep) > -1) throw new Error("`" + r + "` cannot be a path: did not expect `" + se.sep + "`");
|
|
1915
|
+
}
|
|
1916
|
+
function Ln(e, r) {
|
|
1917
|
+
if (!e) throw new Error("`" + r + "` cannot be empty");
|
|
1918
|
+
}
|
|
1919
|
+
function Ic(e, r) {
|
|
1920
|
+
if (!e) throw new Error("Setting `" + r + "` requires `path` to be set too");
|
|
1921
|
+
}
|
|
1922
|
+
});
|
|
1923
|
+
var Mc = x((m2, Rc) => {
|
|
1924
|
+
var Om = qc(), Dt = Lc();
|
|
1925
|
+
Rc.exports = Dt;
|
|
1926
|
+
Dt.prototype.message = Sm;
|
|
1927
|
+
Dt.prototype.info = Im;
|
|
1928
|
+
Dt.prototype.fail = Nm;
|
|
1929
|
+
function Sm(e, r, t) {
|
|
1930
|
+
var n = new Om(e, r, t);
|
|
1931
|
+
return this.path && (n.name = this.path + ":" + n.name, n.file = this.path), n.fatal = false, this.messages.push(n), n;
|
|
1932
|
+
}
|
|
1933
|
+
function Nm() {
|
|
1934
|
+
var e = this.message.apply(this, arguments);
|
|
1935
|
+
throw e.fatal = true, e;
|
|
1936
|
+
}
|
|
1937
|
+
function Im() {
|
|
1938
|
+
var e = this.message.apply(this, arguments);
|
|
1939
|
+
return e.fatal = null, e;
|
|
1940
|
+
}
|
|
1941
|
+
});
|
|
1942
|
+
var Yc = x((F2, Uc) => {
|
|
1943
|
+
Uc.exports = Mc();
|
|
1944
|
+
});
|
|
1945
|
+
var Xc = x((g2, Kc) => {
|
|
1946
|
+
var Gc = uc(), Pm = On(), pt = dc(), zc = Fc(), jc = xc(), wr = Yc();
|
|
1947
|
+
Kc.exports = Hc().freeze();
|
|
1948
|
+
var Lm = [].slice, Rm = {}.hasOwnProperty, Mm = jc().use(Um).use(Ym).use(Gm);
|
|
1949
|
+
function Um(e, r) {
|
|
1950
|
+
r.tree = e.parse(r.file);
|
|
1951
|
+
}
|
|
1952
|
+
function Ym(e, r, t) {
|
|
1953
|
+
e.run(r.tree, r.file, n);
|
|
1954
|
+
function n(i, u, a) {
|
|
1955
|
+
i ? t(i) : (r.tree = u, r.file = a, t());
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
function Gm(e, r) {
|
|
1959
|
+
var t = e.stringify(r.tree, r.file);
|
|
1960
|
+
t == null || (typeof t == "string" || Pm(t) ? ("value" in r.file && (r.file.value = t), r.file.contents = t) : r.file.result = t);
|
|
1961
|
+
}
|
|
1962
|
+
function Hc() {
|
|
1963
|
+
var e = [], r = jc(), t = {}, n = -1, i;
|
|
1964
|
+
return u.data = o, u.freeze = a, u.attachers = e, u.use = s, u.parse = c, u.stringify = m, u.run = f, u.runSync = D, u.process = p, u.processSync = h, u;
|
|
1965
|
+
function u() {
|
|
1966
|
+
for (var F = Hc(), g = -1; ++g < e.length; ) F.use.apply(null, e[g]);
|
|
1967
|
+
return F.data(pt(true, {}, t)), F;
|
|
1968
|
+
}
|
|
1969
|
+
function a() {
|
|
1970
|
+
var F, g;
|
|
1971
|
+
if (i) return u;
|
|
1972
|
+
for (; ++n < e.length; ) F = e[n], F[1] !== false && (F[1] === true && (F[1] = void 0), g = F[0].apply(u, F.slice(1)), typeof g == "function" && r.use(g));
|
|
1973
|
+
return i = true, n = 1 / 0, u;
|
|
1974
|
+
}
|
|
1975
|
+
function o(F, g) {
|
|
1976
|
+
return typeof F == "string" ? arguments.length === 2 ? (Un("data", i), t[F] = g, u) : Rm.call(t, F) && t[F] || null : F ? (Un("data", i), t = F, u) : t;
|
|
1977
|
+
}
|
|
1978
|
+
function s(F) {
|
|
1979
|
+
var g;
|
|
1980
|
+
if (Un("use", i), F != null) if (typeof F == "function") b.apply(null, arguments);
|
|
1981
|
+
else if (typeof F == "object") "length" in F ? A(F) : E(F);
|
|
1982
|
+
else throw new Error("Expected usable value, not `" + F + "`");
|
|
1983
|
+
return g && (t.settings = pt(t.settings || {}, g)), u;
|
|
1984
|
+
function E(d) {
|
|
1985
|
+
A(d.plugins), d.settings && (g = pt(g || {}, d.settings));
|
|
1986
|
+
}
|
|
1987
|
+
function v(d) {
|
|
1988
|
+
if (typeof d == "function") b(d);
|
|
1989
|
+
else if (typeof d == "object") "length" in d ? b.apply(null, d) : E(d);
|
|
1990
|
+
else throw new Error("Expected usable value, not `" + d + "`");
|
|
1991
|
+
}
|
|
1992
|
+
function A(d) {
|
|
1993
|
+
var y = -1;
|
|
1994
|
+
if (d != null) if (typeof d == "object" && "length" in d) for (; ++y < d.length; ) v(d[y]);
|
|
1995
|
+
else throw new Error("Expected a list of plugins, not `" + d + "`");
|
|
1996
|
+
}
|
|
1997
|
+
function b(d, y) {
|
|
1998
|
+
var w = l(d);
|
|
1999
|
+
w ? (zc(w[1]) && zc(y) && (y = pt(true, w[1], y)), w[1] = y) : e.push(Lm.call(arguments));
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
function l(F) {
|
|
2003
|
+
for (var g = -1; ++g < e.length; ) if (e[g][0] === F) return e[g];
|
|
2004
|
+
}
|
|
2005
|
+
function c(F) {
|
|
2006
|
+
var g = wr(F), E;
|
|
2007
|
+
return a(), E = u.Parser, Rn("parse", E), Wc(E, "parse") ? new E(String(g), g).parse() : E(String(g), g);
|
|
2008
|
+
}
|
|
2009
|
+
function f(F, g, E) {
|
|
2010
|
+
if (Vc(F), a(), !E && typeof g == "function" && (E = g, g = null), !E) return new Promise(v);
|
|
2011
|
+
v(null, E);
|
|
2012
|
+
function v(A, b) {
|
|
2013
|
+
r.run(F, wr(g), d);
|
|
2014
|
+
function d(y, w, C) {
|
|
2015
|
+
w = w || F, y ? b(y) : A ? A(w) : E(null, w, C);
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
function D(F, g) {
|
|
2020
|
+
var E, v;
|
|
2021
|
+
return f(F, g, A), $c("runSync", "run", v), E;
|
|
2022
|
+
function A(b, d) {
|
|
2023
|
+
v = true, E = d, Gc(b);
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
function m(F, g) {
|
|
2027
|
+
var E = wr(g), v;
|
|
2028
|
+
return a(), v = u.Compiler, Mn("stringify", v), Vc(F), Wc(v, "compile") ? new v(F, E).compile() : v(F, E);
|
|
2029
|
+
}
|
|
2030
|
+
function p(F, g) {
|
|
2031
|
+
if (a(), Rn("process", u.Parser), Mn("process", u.Compiler), !g) return new Promise(E);
|
|
2032
|
+
E(null, g);
|
|
2033
|
+
function E(v, A) {
|
|
2034
|
+
var b = wr(F);
|
|
2035
|
+
Mm.run(u, { file: b }, d);
|
|
2036
|
+
function d(y) {
|
|
2037
|
+
y ? A(y) : v ? v(b) : g(null, b);
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
function h(F) {
|
|
2042
|
+
var g, E;
|
|
2043
|
+
return a(), Rn("processSync", u.Parser), Mn("processSync", u.Compiler), g = wr(F), p(g, v), $c("processSync", "process", E), g;
|
|
2044
|
+
function v(A) {
|
|
2045
|
+
E = true, Gc(A);
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
function Wc(e, r) {
|
|
2050
|
+
return typeof e == "function" && e.prototype && (zm(e.prototype) || r in e.prototype);
|
|
2051
|
+
}
|
|
2052
|
+
function zm(e) {
|
|
2053
|
+
var r;
|
|
2054
|
+
for (r in e) return true;
|
|
2055
|
+
return false;
|
|
2056
|
+
}
|
|
2057
|
+
function Rn(e, r) {
|
|
2058
|
+
if (typeof r != "function") throw new Error("Cannot `" + e + "` without `Parser`");
|
|
2059
|
+
}
|
|
2060
|
+
function Mn(e, r) {
|
|
2061
|
+
if (typeof r != "function") throw new Error("Cannot `" + e + "` without `Compiler`");
|
|
2062
|
+
}
|
|
2063
|
+
function Un(e, r) {
|
|
2064
|
+
if (r) throw new Error("Cannot invoke `" + e + "` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.");
|
|
2065
|
+
}
|
|
2066
|
+
function Vc(e) {
|
|
2067
|
+
if (!e || typeof e.type != "string") throw new Error("Expected node, got `" + e + "`");
|
|
2068
|
+
}
|
|
2069
|
+
function $c(e, r, t) {
|
|
2070
|
+
if (!t) throw new Error("`" + e + "` finished async. Use `" + r + "` instead");
|
|
2071
|
+
}
|
|
2072
|
+
});
|
|
2073
|
+
var hl = {};
|
|
2074
|
+
zn(hl, { languages: () => Vi, options: () => $i, parsers: () => Gn, printers: () => eF });
|
|
2075
|
+
var Re = (e, r) => (t, n, ...i) => t | 1 && n == null ? void 0 : (r.call(n) ?? n[e]).apply(n, i);
|
|
2076
|
+
function vl(e) {
|
|
2077
|
+
return this[e < 0 ? this.length + e : e];
|
|
2078
|
+
}
|
|
2079
|
+
var Al = Re("at", function() {
|
|
2080
|
+
if (Array.isArray(this) || typeof this == "string") return vl;
|
|
2081
|
+
}), M = Al;
|
|
2082
|
+
var bl = String.prototype.replaceAll ?? function(e, r) {
|
|
2083
|
+
return e.global ? this.replace(e, r) : this.split(e).join(r);
|
|
2084
|
+
}, xl = Re("replaceAll", function() {
|
|
2085
|
+
if (typeof this == "string") return bl;
|
|
2086
|
+
}), R = xl;
|
|
2087
|
+
var zi = Le(kr());
|
|
2088
|
+
function le(e) {
|
|
2089
|
+
if (typeof e != "string") throw new TypeError("Expected a string");
|
|
2090
|
+
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
2091
|
+
}
|
|
2092
|
+
var wl = () => {
|
|
2093
|
+
}, rr = wl;
|
|
2094
|
+
var W = "string", V = "array", Ae = "cursor", Z = "indent", ee = "align", fe = "trim", K = "group", X = "fill", J = "if-break", De = "indent-if-break", pe = "line-suffix", he = "line-suffix-boundary", $ = "line", de = "label", re = "break-parent", Br = /* @__PURE__ */ new Set([Ae, Z, ee, fe, K, X, J, De, pe, he, $, de, re]);
|
|
2095
|
+
function kl(e) {
|
|
2096
|
+
if (typeof e == "string") return W;
|
|
2097
|
+
if (Array.isArray(e)) return V;
|
|
2098
|
+
if (!e) return;
|
|
2099
|
+
let { type: r } = e;
|
|
2100
|
+
if (Br.has(r)) return r;
|
|
2101
|
+
}
|
|
2102
|
+
var z = kl;
|
|
2103
|
+
var Bl = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
|
|
2104
|
+
function Tl(e) {
|
|
2105
|
+
let r = e === null ? "null" : typeof e;
|
|
2106
|
+
if (r !== "string" && r !== "object") return `Unexpected doc '${r}',
|
|
2107
|
+
Expected it to be 'string' or 'object'.`;
|
|
2108
|
+
if (z(e)) throw new Error("doc is valid.");
|
|
2109
|
+
let t = Object.prototype.toString.call(e);
|
|
2110
|
+
if (t !== "[object Object]") return `Unexpected doc '${t}'.`;
|
|
2111
|
+
let n = Bl([...Br].map((i) => `'${i}'`));
|
|
2112
|
+
return `Unexpected doc.type '${e.type}'.
|
|
2113
|
+
Expected it to be ${n}.`;
|
|
2114
|
+
}
|
|
2115
|
+
var mt = class extends Error {
|
|
2116
|
+
name = "InvalidDocError";
|
|
2117
|
+
constructor(r) {
|
|
2118
|
+
super(Tl(r)), this.doc = r;
|
|
2119
|
+
}
|
|
2120
|
+
}, Be = mt;
|
|
2121
|
+
var Vn = {};
|
|
2122
|
+
function _l(e, r, t, n) {
|
|
2123
|
+
let i = [e];
|
|
2124
|
+
for (; i.length > 0; ) {
|
|
2125
|
+
let u = i.pop();
|
|
2126
|
+
if (u === Vn) {
|
|
2127
|
+
t(i.pop());
|
|
2128
|
+
continue;
|
|
2129
|
+
}
|
|
2130
|
+
t && i.push(u, Vn);
|
|
2131
|
+
let a = z(u);
|
|
2132
|
+
if (!a) throw new Be(u);
|
|
2133
|
+
if (r?.(u) !== false) switch (a) {
|
|
2134
|
+
case V:
|
|
2135
|
+
case X: {
|
|
2136
|
+
let o = a === V ? u : u.parts;
|
|
2137
|
+
for (let s = o.length, l = s - 1; l >= 0; --l) i.push(o[l]);
|
|
2138
|
+
break;
|
|
2139
|
+
}
|
|
2140
|
+
case J:
|
|
2141
|
+
i.push(u.flatContents, u.breakContents);
|
|
2142
|
+
break;
|
|
2143
|
+
case K:
|
|
2144
|
+
if (n && u.expandedStates) for (let o = u.expandedStates.length, s = o - 1; s >= 0; --s) i.push(u.expandedStates[s]);
|
|
2145
|
+
else i.push(u.contents);
|
|
2146
|
+
break;
|
|
2147
|
+
case ee:
|
|
2148
|
+
case Z:
|
|
2149
|
+
case De:
|
|
2150
|
+
case de:
|
|
2151
|
+
case pe:
|
|
2152
|
+
i.push(u.contents);
|
|
2153
|
+
break;
|
|
2154
|
+
case W:
|
|
2155
|
+
case Ae:
|
|
2156
|
+
case fe:
|
|
2157
|
+
case he:
|
|
2158
|
+
case $:
|
|
2159
|
+
case re:
|
|
2160
|
+
break;
|
|
2161
|
+
default:
|
|
2162
|
+
throw new Be(u);
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
var $n = _l;
|
|
2167
|
+
function ql(e, r) {
|
|
2168
|
+
if (typeof e == "string") return r(e);
|
|
2169
|
+
let t = /* @__PURE__ */ new Map();
|
|
2170
|
+
return n(e);
|
|
2171
|
+
function n(u) {
|
|
2172
|
+
if (t.has(u)) return t.get(u);
|
|
2173
|
+
let a = i(u);
|
|
2174
|
+
return t.set(u, a), a;
|
|
2175
|
+
}
|
|
2176
|
+
function i(u) {
|
|
2177
|
+
switch (z(u)) {
|
|
2178
|
+
case V:
|
|
2179
|
+
return r(u.map(n));
|
|
2180
|
+
case X:
|
|
2181
|
+
return r({ ...u, parts: u.parts.map(n) });
|
|
2182
|
+
case J:
|
|
2183
|
+
return r({ ...u, breakContents: n(u.breakContents), flatContents: n(u.flatContents) });
|
|
2184
|
+
case K: {
|
|
2185
|
+
let { expandedStates: a, contents: o } = u;
|
|
2186
|
+
return a ? (a = a.map(n), o = a[0]) : o = n(o), r({ ...u, contents: o, expandedStates: a });
|
|
2187
|
+
}
|
|
2188
|
+
case ee:
|
|
2189
|
+
case Z:
|
|
2190
|
+
case De:
|
|
2191
|
+
case de:
|
|
2192
|
+
case pe:
|
|
2193
|
+
return r({ ...u, contents: n(u.contents) });
|
|
2194
|
+
case W:
|
|
2195
|
+
case Ae:
|
|
2196
|
+
case fe:
|
|
2197
|
+
case he:
|
|
2198
|
+
case $:
|
|
2199
|
+
case re:
|
|
2200
|
+
return r(u);
|
|
2201
|
+
default:
|
|
2202
|
+
throw new Be(u);
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
function jn(e) {
|
|
2207
|
+
if (e.length > 0) {
|
|
2208
|
+
let r = M(0, e, -1);
|
|
2209
|
+
!r.expandedStates && !r.break && (r.break = "propagated");
|
|
2210
|
+
}
|
|
2211
|
+
return null;
|
|
2212
|
+
}
|
|
2213
|
+
function Hn(e) {
|
|
2214
|
+
let r = /* @__PURE__ */ new Set(), t = [];
|
|
2215
|
+
function n(u) {
|
|
2216
|
+
if (u.type === re && jn(t), u.type === K) {
|
|
2217
|
+
if (t.push(u), r.has(u)) return false;
|
|
2218
|
+
r.add(u);
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
function i(u) {
|
|
2222
|
+
u.type === K && t.pop().break && jn(t);
|
|
2223
|
+
}
|
|
2224
|
+
$n(e, n, i, true);
|
|
2225
|
+
}
|
|
2226
|
+
function be(e, r = tr) {
|
|
2227
|
+
return ql(e, (t) => typeof t == "string" ? Tr(r, t.split(`
|
|
2228
|
+
`)) : t);
|
|
2229
|
+
}
|
|
2230
|
+
var _r = rr;
|
|
2231
|
+
function nr(e) {
|
|
2232
|
+
return { type: Z, contents: e };
|
|
2233
|
+
}
|
|
2234
|
+
function me(e, r) {
|
|
2235
|
+
return { type: ee, contents: r, n: e };
|
|
2236
|
+
}
|
|
2237
|
+
function ir(e) {
|
|
2238
|
+
return me({ type: "root" }, e);
|
|
2239
|
+
}
|
|
2240
|
+
var Me = { type: re };
|
|
2241
|
+
function Ue(e) {
|
|
2242
|
+
return { type: X, parts: e };
|
|
2243
|
+
}
|
|
2244
|
+
function Ye(e, r = {}) {
|
|
2245
|
+
return _r(r.expandedStates), { type: K, id: r.id, contents: e, break: !!r.shouldBreak, expandedStates: r.expandedStates };
|
|
2246
|
+
}
|
|
2247
|
+
function Jn(e, r = "", t = {}) {
|
|
2248
|
+
return { type: J, breakContents: e, flatContents: r, groupId: t.groupId };
|
|
2249
|
+
}
|
|
2250
|
+
function Tr(e, r) {
|
|
2251
|
+
let t = [];
|
|
2252
|
+
for (let n = 0; n < r.length; n++) n !== 0 && t.push(e), t.push(r[n]);
|
|
2253
|
+
return t;
|
|
2254
|
+
}
|
|
2255
|
+
var qr = { type: $ }, Or = { type: $, soft: true }, ur = { type: $, hard: true }, L = [ur, Me], Ol = { type: $, hard: true, literal: true }, tr = [Ol, Me];
|
|
2256
|
+
function Qn(e) {
|
|
2257
|
+
switch (e) {
|
|
2258
|
+
case "cr":
|
|
2259
|
+
return "\r";
|
|
2260
|
+
case "crlf":
|
|
2261
|
+
return `\r
|
|
2262
|
+
`;
|
|
2263
|
+
default:
|
|
2264
|
+
return `
|
|
2265
|
+
`;
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
var Zn = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
2269
|
+
function Ft(e) {
|
|
2270
|
+
return e === 12288 || e >= 65281 && e <= 65376 || e >= 65504 && e <= 65510;
|
|
2271
|
+
}
|
|
2272
|
+
function gt(e) {
|
|
2273
|
+
return e >= 4352 && e <= 4447 || e === 8986 || e === 8987 || e === 9001 || e === 9002 || e >= 9193 && e <= 9196 || e === 9200 || e === 9203 || e === 9725 || e === 9726 || e === 9748 || e === 9749 || e >= 9776 && e <= 9783 || e >= 9800 && e <= 9811 || e === 9855 || e >= 9866 && e <= 9871 || e === 9875 || e === 9889 || e === 9898 || e === 9899 || e === 9917 || e === 9918 || e === 9924 || e === 9925 || e === 9934 || e === 9940 || e === 9962 || e === 9970 || e === 9971 || e === 9973 || e === 9978 || e === 9981 || e === 9989 || e === 9994 || e === 9995 || e === 10024 || e === 10060 || e === 10062 || e >= 10067 && e <= 10069 || e === 10071 || e >= 10133 && e <= 10135 || e === 10160 || e === 10175 || e === 11035 || e === 11036 || e === 11088 || e === 11093 || e >= 11904 && e <= 11929 || e >= 11931 && e <= 12019 || e >= 12032 && e <= 12245 || e >= 12272 && e <= 12287 || e >= 12289 && e <= 12350 || e >= 12353 && e <= 12438 || e >= 12441 && e <= 12543 || e >= 12549 && e <= 12591 || e >= 12593 && e <= 12686 || e >= 12688 && e <= 12773 || e >= 12783 && e <= 12830 || e >= 12832 && e <= 12871 || e >= 12880 && e <= 42124 || e >= 42128 && e <= 42182 || e >= 43360 && e <= 43388 || e >= 44032 && e <= 55203 || e >= 63744 && e <= 64255 || e >= 65040 && e <= 65049 || e >= 65072 && e <= 65106 || e >= 65108 && e <= 65126 || e >= 65128 && e <= 65131 || e >= 94176 && e <= 94180 || e >= 94192 && e <= 94198 || e >= 94208 && e <= 101589 || e >= 101631 && e <= 101662 || e >= 101760 && e <= 101874 || e >= 110576 && e <= 110579 || e >= 110581 && e <= 110587 || e === 110589 || e === 110590 || e >= 110592 && e <= 110882 || e === 110898 || e >= 110928 && e <= 110930 || e === 110933 || e >= 110948 && e <= 110951 || e >= 110960 && e <= 111355 || e >= 119552 && e <= 119638 || e >= 119648 && e <= 119670 || e === 126980 || e === 127183 || e === 127374 || e >= 127377 && e <= 127386 || e >= 127488 && e <= 127490 || e >= 127504 && e <= 127547 || e >= 127552 && e <= 127560 || e === 127568 || e === 127569 || e >= 127584 && e <= 127589 || e >= 127744 && e <= 127776 || e >= 127789 && e <= 127797 || e >= 127799 && e <= 127868 || e >= 127870 && e <= 127891 || e >= 127904 && e <= 127946 || e >= 127951 && e <= 127955 || e >= 127968 && e <= 127984 || e === 127988 || e >= 127992 && e <= 128062 || e === 128064 || e >= 128066 && e <= 128252 || e >= 128255 && e <= 128317 || e >= 128331 && e <= 128334 || e >= 128336 && e <= 128359 || e === 128378 || e === 128405 || e === 128406 || e === 128420 || e >= 128507 && e <= 128591 || e >= 128640 && e <= 128709 || e === 128716 || e >= 128720 && e <= 128722 || e >= 128725 && e <= 128728 || e >= 128732 && e <= 128735 || e === 128747 || e === 128748 || e >= 128756 && e <= 128764 || e >= 128992 && e <= 129003 || e === 129008 || e >= 129292 && e <= 129338 || e >= 129340 && e <= 129349 || e >= 129351 && e <= 129535 || e >= 129648 && e <= 129660 || e >= 129664 && e <= 129674 || e >= 129678 && e <= 129734 || e === 129736 || e >= 129741 && e <= 129756 || e >= 129759 && e <= 129770 || e >= 129775 && e <= 129784 || e >= 131072 && e <= 196605 || e >= 196608 && e <= 262141;
|
|
2274
|
+
}
|
|
2275
|
+
var ei = "©®‼⁉™ℹ↔↕↖↗↘↙↩↪⌨⏏⏱⏲⏸⏹⏺▪▫▶◀◻◼☀☁☂☃☄☎☑☘☝☠☢☣☦☪☮☯☸☹☺♀♂♟♠♣♥♦♨♻♾⚒⚔⚕⚖⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩⛱⛷⛸⛹✂✈✉✌✍✏✒✔✖✝✡✳✴❄❇❣❤➡⤴⤵⬅⬆⬇";
|
|
2276
|
+
var Sl = /[^\x20-\x7F]/u, Nl = new Set(ei);
|
|
2277
|
+
function Il(e) {
|
|
2278
|
+
if (!e) return 0;
|
|
2279
|
+
if (!Sl.test(e)) return e.length;
|
|
2280
|
+
e = e.replace(Zn(), (t) => Nl.has(t) ? " " : " ");
|
|
2281
|
+
let r = 0;
|
|
2282
|
+
for (let t of e) {
|
|
2283
|
+
let n = t.codePointAt(0);
|
|
2284
|
+
n <= 31 || n >= 127 && n <= 159 || n >= 768 && n <= 879 || n >= 65024 && n <= 65039 || (r += Ft(n) || gt(n) ? 2 : 1);
|
|
2285
|
+
}
|
|
2286
|
+
return r;
|
|
2287
|
+
}
|
|
2288
|
+
var ar = Il;
|
|
2289
|
+
var Pl = { type: 0 }, Ll = { type: 1 }, Et = { value: "", length: 0, queue: [], get root() {
|
|
2290
|
+
return Et;
|
|
2291
|
+
} };
|
|
2292
|
+
function ri(e, r, t) {
|
|
2293
|
+
let n = r.type === 1 ? e.queue.slice(0, -1) : [...e.queue, r], i = "", u = 0, a = 0, o = 0;
|
|
2294
|
+
for (let p of n) switch (p.type) {
|
|
2295
|
+
case 0:
|
|
2296
|
+
c(), t.useTabs ? s(1) : l(t.tabWidth);
|
|
2297
|
+
break;
|
|
2298
|
+
case 3: {
|
|
2299
|
+
let { string: h } = p;
|
|
2300
|
+
c(), i += h, u += h.length;
|
|
2301
|
+
break;
|
|
2302
|
+
}
|
|
2303
|
+
case 2: {
|
|
2304
|
+
let { width: h } = p;
|
|
2305
|
+
a += 1, o += h;
|
|
2306
|
+
break;
|
|
2307
|
+
}
|
|
2308
|
+
default:
|
|
2309
|
+
throw new Error(`Unexpected indent comment '${p.type}'.`);
|
|
2310
|
+
}
|
|
2311
|
+
return D(), { ...e, value: i, length: u, queue: n };
|
|
2312
|
+
function s(p) {
|
|
2313
|
+
i += " ".repeat(p), u += t.tabWidth * p;
|
|
2314
|
+
}
|
|
2315
|
+
function l(p) {
|
|
2316
|
+
i += " ".repeat(p), u += p;
|
|
2317
|
+
}
|
|
2318
|
+
function c() {
|
|
2319
|
+
t.useTabs ? f() : D();
|
|
2320
|
+
}
|
|
2321
|
+
function f() {
|
|
2322
|
+
a > 0 && s(a), m();
|
|
2323
|
+
}
|
|
2324
|
+
function D() {
|
|
2325
|
+
o > 0 && l(o), m();
|
|
2326
|
+
}
|
|
2327
|
+
function m() {
|
|
2328
|
+
a = 0, o = 0;
|
|
2329
|
+
}
|
|
2330
|
+
}
|
|
2331
|
+
function ti(e, r, t) {
|
|
2332
|
+
if (!r) return e;
|
|
2333
|
+
if (r.type === "root") return { ...e, root: e };
|
|
2334
|
+
if (r === Number.NEGATIVE_INFINITY) return e.root;
|
|
2335
|
+
let n;
|
|
2336
|
+
return typeof r == "number" ? r < 0 ? n = Ll : n = { type: 2, width: r } : n = { type: 3, string: r }, ri(e, n, t);
|
|
2337
|
+
}
|
|
2338
|
+
function ni(e, r) {
|
|
2339
|
+
return ri(e, Pl, r);
|
|
2340
|
+
}
|
|
2341
|
+
function Rl(e) {
|
|
2342
|
+
let r = 0;
|
|
2343
|
+
for (let t = e.length - 1; t >= 0; t--) {
|
|
2344
|
+
let n = e[t];
|
|
2345
|
+
if (n === " " || n === " ") r++;
|
|
2346
|
+
else break;
|
|
2347
|
+
}
|
|
2348
|
+
return r;
|
|
2349
|
+
}
|
|
2350
|
+
function Ct(e) {
|
|
2351
|
+
let r = Rl(e);
|
|
2352
|
+
return { text: r === 0 ? e : e.slice(0, e.length - r), count: r };
|
|
2353
|
+
}
|
|
2354
|
+
var j = Symbol("MODE_BREAK"), ie = Symbol("MODE_FLAT"), vt = Symbol("DOC_FILL_PRINTED_LENGTH");
|
|
2355
|
+
function Sr(e, r, t, n, i, u) {
|
|
2356
|
+
if (t === Number.POSITIVE_INFINITY) return true;
|
|
2357
|
+
let a = r.length, o = false, s = [e], l = "";
|
|
2358
|
+
for (; t >= 0; ) {
|
|
2359
|
+
if (s.length === 0) {
|
|
2360
|
+
if (a === 0) return true;
|
|
2361
|
+
s.push(r[--a]);
|
|
2362
|
+
continue;
|
|
2363
|
+
}
|
|
2364
|
+
let { mode: c, doc: f } = s.pop(), D = z(f);
|
|
2365
|
+
switch (D) {
|
|
2366
|
+
case W:
|
|
2367
|
+
f && (o && (l += " ", t -= 1, o = false), l += f, t -= ar(f));
|
|
2368
|
+
break;
|
|
2369
|
+
case V:
|
|
2370
|
+
case X: {
|
|
2371
|
+
let m = D === V ? f : f.parts, p = f[vt] ?? 0;
|
|
2372
|
+
for (let h = m.length - 1; h >= p; h--) s.push({ mode: c, doc: m[h] });
|
|
2373
|
+
break;
|
|
2374
|
+
}
|
|
2375
|
+
case Z:
|
|
2376
|
+
case ee:
|
|
2377
|
+
case De:
|
|
2378
|
+
case de:
|
|
2379
|
+
s.push({ mode: c, doc: f.contents });
|
|
2380
|
+
break;
|
|
2381
|
+
case fe: {
|
|
2382
|
+
let { text: m, count: p } = Ct(l);
|
|
2383
|
+
l = m, t += p;
|
|
2384
|
+
break;
|
|
2385
|
+
}
|
|
2386
|
+
case K: {
|
|
2387
|
+
if (u && f.break) return false;
|
|
2388
|
+
let m = f.break ? j : c, p = f.expandedStates && m === j ? M(0, f.expandedStates, -1) : f.contents;
|
|
2389
|
+
s.push({ mode: m, doc: p });
|
|
2390
|
+
break;
|
|
2391
|
+
}
|
|
2392
|
+
case J: {
|
|
2393
|
+
let p = (f.groupId ? i[f.groupId] || ie : c) === j ? f.breakContents : f.flatContents;
|
|
2394
|
+
p && s.push({ mode: c, doc: p });
|
|
2395
|
+
break;
|
|
2396
|
+
}
|
|
2397
|
+
case $:
|
|
2398
|
+
if (c === j || f.hard) return true;
|
|
2399
|
+
f.soft || (o = true);
|
|
2400
|
+
break;
|
|
2401
|
+
case pe:
|
|
2402
|
+
n = true;
|
|
2403
|
+
break;
|
|
2404
|
+
case he:
|
|
2405
|
+
if (n) return false;
|
|
2406
|
+
break;
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2409
|
+
return false;
|
|
2410
|
+
}
|
|
2411
|
+
function ii(e, r) {
|
|
2412
|
+
let t = /* @__PURE__ */ Object.create(null), n = r.printWidth, i = Qn(r.endOfLine), u = 0, a = [{ indent: Et, mode: j, doc: e }], o = "", s = false, l = [], c = [], f = [], D = [], m = 0;
|
|
2413
|
+
for (Hn(e); a.length > 0; ) {
|
|
2414
|
+
let { indent: E, mode: v, doc: A } = a.pop();
|
|
2415
|
+
switch (z(A)) {
|
|
2416
|
+
case W: {
|
|
2417
|
+
let b = i !== `
|
|
2418
|
+
` ? R(0, A, `
|
|
2419
|
+
`, i) : A;
|
|
2420
|
+
b && (o += b, a.length > 0 && (u += ar(b)));
|
|
2421
|
+
break;
|
|
2422
|
+
}
|
|
2423
|
+
case V:
|
|
2424
|
+
for (let b = A.length - 1; b >= 0; b--) a.push({ indent: E, mode: v, doc: A[b] });
|
|
2425
|
+
break;
|
|
2426
|
+
case Ae:
|
|
2427
|
+
if (c.length >= 2) throw new Error("There are too many 'cursor' in doc.");
|
|
2428
|
+
c.push(m + o.length);
|
|
2429
|
+
break;
|
|
2430
|
+
case Z:
|
|
2431
|
+
a.push({ indent: ni(E, r), mode: v, doc: A.contents });
|
|
2432
|
+
break;
|
|
2433
|
+
case ee:
|
|
2434
|
+
a.push({ indent: ti(E, A.n, r), mode: v, doc: A.contents });
|
|
2435
|
+
break;
|
|
2436
|
+
case fe:
|
|
2437
|
+
g();
|
|
2438
|
+
break;
|
|
2439
|
+
case K:
|
|
2440
|
+
switch (v) {
|
|
2441
|
+
case ie:
|
|
2442
|
+
if (!s) {
|
|
2443
|
+
a.push({ indent: E, mode: A.break ? j : ie, doc: A.contents });
|
|
2444
|
+
break;
|
|
2445
|
+
}
|
|
2446
|
+
case j: {
|
|
2447
|
+
s = false;
|
|
2448
|
+
let b = { indent: E, mode: ie, doc: A.contents }, d = n - u, y = l.length > 0;
|
|
2449
|
+
if (!A.break && Sr(b, a, d, y, t)) a.push(b);
|
|
2450
|
+
else if (A.expandedStates) {
|
|
2451
|
+
let w = M(0, A.expandedStates, -1);
|
|
2452
|
+
if (A.break) {
|
|
2453
|
+
a.push({ indent: E, mode: j, doc: w });
|
|
2454
|
+
break;
|
|
2455
|
+
} else for (let C = 1; C < A.expandedStates.length + 1; C++) if (C >= A.expandedStates.length) {
|
|
2456
|
+
a.push({ indent: E, mode: j, doc: w });
|
|
2457
|
+
break;
|
|
2458
|
+
} else {
|
|
2459
|
+
let k = A.expandedStates[C], B = { indent: E, mode: ie, doc: k };
|
|
2460
|
+
if (Sr(B, a, d, y, t)) {
|
|
2461
|
+
a.push(B);
|
|
2462
|
+
break;
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
} else a.push({ indent: E, mode: j, doc: A.contents });
|
|
2466
|
+
break;
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
A.id && (t[A.id] = M(0, a, -1).mode);
|
|
2470
|
+
break;
|
|
2471
|
+
case X: {
|
|
2472
|
+
let b = n - u, d = A[vt] ?? 0, { parts: y } = A, w = y.length - d;
|
|
2473
|
+
if (w === 0) break;
|
|
2474
|
+
let C = y[d + 0], k = y[d + 1], B = { indent: E, mode: ie, doc: C }, T = { indent: E, mode: j, doc: C }, _ = Sr(B, [], b, l.length > 0, t, true);
|
|
2475
|
+
if (w === 1) {
|
|
2476
|
+
_ ? a.push(B) : a.push(T);
|
|
2477
|
+
break;
|
|
2478
|
+
}
|
|
2479
|
+
let I = { indent: E, mode: ie, doc: k }, S = { indent: E, mode: j, doc: k };
|
|
2480
|
+
if (w === 2) {
|
|
2481
|
+
_ ? a.push(I, B) : a.push(S, T);
|
|
2482
|
+
break;
|
|
2483
|
+
}
|
|
2484
|
+
let O = y[d + 2], q = { indent: E, mode: v, doc: { ...A, [vt]: d + 2 } }, ce = Sr({ indent: E, mode: ie, doc: [C, k, O] }, [], b, l.length > 0, t, true);
|
|
2485
|
+
a.push(q), ce ? a.push(I, B) : _ ? a.push(S, B) : a.push(S, T);
|
|
2486
|
+
break;
|
|
2487
|
+
}
|
|
2488
|
+
case J:
|
|
2489
|
+
case De: {
|
|
2490
|
+
let b = A.groupId ? t[A.groupId] : v;
|
|
2491
|
+
if (b === j) {
|
|
2492
|
+
let d = A.type === J ? A.breakContents : A.negate ? A.contents : nr(A.contents);
|
|
2493
|
+
d && a.push({ indent: E, mode: v, doc: d });
|
|
2494
|
+
}
|
|
2495
|
+
if (b === ie) {
|
|
2496
|
+
let d = A.type === J ? A.flatContents : A.negate ? nr(A.contents) : A.contents;
|
|
2497
|
+
d && a.push({ indent: E, mode: v, doc: d });
|
|
2498
|
+
}
|
|
2499
|
+
break;
|
|
2500
|
+
}
|
|
2501
|
+
case pe:
|
|
2502
|
+
l.push({ indent: E, mode: v, doc: A.contents });
|
|
2503
|
+
break;
|
|
2504
|
+
case he:
|
|
2505
|
+
l.length > 0 && a.push({ indent: E, mode: v, doc: ur });
|
|
2506
|
+
break;
|
|
2507
|
+
case $:
|
|
2508
|
+
switch (v) {
|
|
2509
|
+
case ie:
|
|
2510
|
+
if (A.hard) s = true;
|
|
2511
|
+
else {
|
|
2512
|
+
A.soft || (o += " ", u += 1);
|
|
2513
|
+
break;
|
|
2514
|
+
}
|
|
2515
|
+
case j:
|
|
2516
|
+
if (l.length > 0) {
|
|
2517
|
+
a.push({ indent: E, mode: v, doc: A }, ...l.reverse()), l.length = 0;
|
|
2518
|
+
break;
|
|
2519
|
+
}
|
|
2520
|
+
A.literal ? (o += i, u = 0, E.root && (E.root.value && (o += E.root.value), u = E.root.length)) : (g(), o += i + E.value, u = E.length);
|
|
2521
|
+
break;
|
|
2522
|
+
}
|
|
2523
|
+
break;
|
|
2524
|
+
case de:
|
|
2525
|
+
a.push({ indent: E, mode: v, doc: A.contents });
|
|
2526
|
+
break;
|
|
2527
|
+
case re:
|
|
2528
|
+
break;
|
|
2529
|
+
default:
|
|
2530
|
+
throw new Be(A);
|
|
2531
|
+
}
|
|
2532
|
+
a.length === 0 && l.length > 0 && (a.push(...l.reverse()), l.length = 0);
|
|
2533
|
+
}
|
|
2534
|
+
let p = f.join("") + o, h = [...D, ...c];
|
|
2535
|
+
if (h.length !== 2) return { formatted: p };
|
|
2536
|
+
let F = h[0];
|
|
2537
|
+
return { formatted: p, cursorNodeStart: F, cursorNodeText: p.slice(F, M(0, h, -1)) };
|
|
2538
|
+
function g() {
|
|
2539
|
+
let { text: E, count: v } = Ct(o);
|
|
2540
|
+
E && (f.push(E), m += E.length), o = "", u -= v, c.length > 0 && (D.push(...c.map((A) => Math.min(A, m))), c.length = 0);
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
function Ml(e, r) {
|
|
2544
|
+
let t = e.matchAll(new RegExp(`(?:${le(r)})+`, "gu"));
|
|
2545
|
+
return t.reduce || (t = [...t]), t.reduce((n, [i]) => Math.max(n, i.length), 0) / r.length;
|
|
2546
|
+
}
|
|
2547
|
+
var Nr = Ml;
|
|
2548
|
+
function Ul(e, r) {
|
|
2549
|
+
let t = e.match(new RegExp(`(${le(r)})+`, "gu"));
|
|
2550
|
+
if (t === null) return 1;
|
|
2551
|
+
let n = /* @__PURE__ */ new Map(), i = 0;
|
|
2552
|
+
for (let u of t) {
|
|
2553
|
+
let a = u.length / r.length;
|
|
2554
|
+
n.set(a, true), a > i && (i = a);
|
|
2555
|
+
}
|
|
2556
|
+
for (let u = 1; u < i; u++) if (!n.get(u)) return u;
|
|
2557
|
+
return i + 1;
|
|
2558
|
+
}
|
|
2559
|
+
var ui = Ul;
|
|
2560
|
+
function Yl(e, r) {
|
|
2561
|
+
let t = r === true || r === "'" ? "'" : '"', n = t === "'" ? '"' : "'", i = 0, u = 0;
|
|
2562
|
+
for (let a of e) a === t ? i++ : a === n && u++;
|
|
2563
|
+
return i > u ? n : t;
|
|
2564
|
+
}
|
|
2565
|
+
var ai = Yl;
|
|
2566
|
+
var At = class extends Error {
|
|
2567
|
+
name = "UnexpectedNodeError";
|
|
2568
|
+
constructor(r, t, n = "type") {
|
|
2569
|
+
super(`Unexpected ${t} node ${n}: ${JSON.stringify(r[n])}.`), this.node = r;
|
|
2570
|
+
}
|
|
2571
|
+
}, oi = At;
|
|
2572
|
+
var Ci = Le(kr());
|
|
2573
|
+
var Gl = Array.prototype.toReversed ?? function() {
|
|
2574
|
+
return [...this].reverse();
|
|
2575
|
+
}, zl = Re("toReversed", function() {
|
|
2576
|
+
if (Array.isArray(this)) return Gl;
|
|
2577
|
+
}), si = zl;
|
|
2578
|
+
function Wl() {
|
|
2579
|
+
let e = globalThis, r = e.Deno?.build?.os;
|
|
2580
|
+
return typeof r == "string" ? r === "windows" : e.navigator?.platform?.startsWith("Win") ?? e.process?.platform?.startsWith("win") ?? false;
|
|
2581
|
+
}
|
|
2582
|
+
var Vl = Wl();
|
|
2583
|
+
function ci(e) {
|
|
2584
|
+
if (e = e instanceof URL ? e : new URL(e), e.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);
|
|
2585
|
+
return e;
|
|
2586
|
+
}
|
|
2587
|
+
function $l(e) {
|
|
2588
|
+
return e = ci(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
|
|
2589
|
+
}
|
|
2590
|
+
function jl(e) {
|
|
2591
|
+
e = ci(e);
|
|
2592
|
+
let r = decodeURIComponent(e.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
|
|
2593
|
+
return e.hostname !== "" && (r = `\\\\${e.hostname}${r}`), r;
|
|
2594
|
+
}
|
|
2595
|
+
function bt(e) {
|
|
2596
|
+
return Vl ? jl(e) : $l(e);
|
|
2597
|
+
}
|
|
2598
|
+
var li = (e) => String(e).split(/[/\\]/u).pop(), fi = (e) => String(e).startsWith("file:");
|
|
2599
|
+
function Di(e, r) {
|
|
2600
|
+
if (!r) return;
|
|
2601
|
+
let t = li(r).toLowerCase();
|
|
2602
|
+
return e.find(({ filenames: n }) => n?.some((i) => i.toLowerCase() === t)) ?? e.find(({ extensions: n }) => n?.some((i) => t.endsWith(i)));
|
|
2603
|
+
}
|
|
2604
|
+
function Hl(e, r) {
|
|
2605
|
+
if (r) return e.find(({ name: t }) => t.toLowerCase() === r) ?? e.find(({ aliases: t }) => t?.includes(r)) ?? e.find(({ extensions: t }) => t?.includes(`.${r}`));
|
|
2606
|
+
}
|
|
2607
|
+
var Kl = void 0;
|
|
2608
|
+
function pi(e, r) {
|
|
2609
|
+
if (r) {
|
|
2610
|
+
if (fi(r)) try {
|
|
2611
|
+
r = bt(r);
|
|
2612
|
+
} catch {
|
|
2613
|
+
return;
|
|
2614
|
+
}
|
|
2615
|
+
if (typeof r == "string") return e.find(({ isSupported: t }) => t?.({ filepath: r }));
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
function Xl(e, r) {
|
|
2619
|
+
let t = si(0, e.plugins).flatMap((i) => i.languages ?? []);
|
|
2620
|
+
return (Hl(t, r.language) ?? Di(t, r.physicalFile) ?? Di(t, r.file) ?? pi(t, r.physicalFile) ?? pi(t, r.file) ?? Kl?.(t, r.physicalFile))?.parsers[0];
|
|
2621
|
+
}
|
|
2622
|
+
var hi = Xl;
|
|
2623
|
+
var Ir = Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
2624
|
+
function Jl(e) {
|
|
2625
|
+
return !!e?.[Ir];
|
|
2626
|
+
}
|
|
2627
|
+
var xt = Jl;
|
|
2628
|
+
var or = 3;
|
|
2629
|
+
function Ql(e) {
|
|
2630
|
+
let r = e.slice(0, or);
|
|
2631
|
+
if (r !== "---" && r !== "+++") return;
|
|
2632
|
+
let t = e.indexOf(`
|
|
2633
|
+
`, or);
|
|
2634
|
+
if (t === -1) return;
|
|
2635
|
+
let n = e.slice(or, t).trim(), i = e.indexOf(`
|
|
2636
|
+
${r}`, t), u = n;
|
|
2637
|
+
if (u || (u = r === "+++" ? "toml" : "yaml"), i === -1 && r === "---" && u === "yaml" && (i = e.indexOf(`
|
|
2638
|
+
...`, t)), i === -1) return;
|
|
2639
|
+
let a = i + 1 + or, o = e.charAt(a + 1);
|
|
2640
|
+
if (!/\s?/u.test(o)) return;
|
|
2641
|
+
let s = e.slice(0, a), l;
|
|
2642
|
+
return { language: u, explicitLanguage: n || null, value: e.slice(t + 1, i), startDelimiter: r, endDelimiter: s.slice(-or), raw: s, start: { line: 1, column: 0, index: 0 }, end: { index: s.length, get line() {
|
|
2643
|
+
return l ?? (l = s.split(`
|
|
2644
|
+
`)), l.length;
|
|
2645
|
+
}, get column() {
|
|
2646
|
+
return l ?? (l = s.split(`
|
|
2647
|
+
`)), M(0, l, -1).length;
|
|
2648
|
+
} }, [Ir]: true };
|
|
2649
|
+
}
|
|
2650
|
+
function Zl(e) {
|
|
2651
|
+
let r = Ql(e);
|
|
2652
|
+
return r ? { frontMatter: r, get content() {
|
|
2653
|
+
let { raw: t } = r;
|
|
2654
|
+
return R(0, t, /[^\n]/gu, " ") + e.slice(t.length);
|
|
2655
|
+
} } : { content: e };
|
|
2656
|
+
}
|
|
2657
|
+
var Te = Zl;
|
|
2658
|
+
var di = "format";
|
|
2659
|
+
var mi = /<!--\s*@(?:noformat|noprettier)\s*-->|\{\s*\/\*\s*@(?:noformat|noprettier)\s*\*\/\s*\}|<!--.*\r?\n[\s\S]*(^|\n)[^\S\n]*@(?:noformat|noprettier)[^\S\n]*($|\n)[\s\S]*\n.*-->/mu, Fi = /<!--\s*@(?:format|prettier)\s*-->|\{\s*\/\*\s*@(?:format|prettier)\s*\*\/\s*\}|<!--.*\r?\n[\s\S]*(^|\n)[^\S\n]*@(?:format|prettier)[^\S\n]*($|\n)[\s\S]*\n.*-->/mu;
|
|
2660
|
+
var Pr = (e) => Te(e).content.trimStart().match(Fi)?.index === 0, gi = (e) => Te(e).content.trimStart().match(mi)?.index === 0, Ei = (e) => {
|
|
2661
|
+
let { frontMatter: r } = Te(e), t = `<!-- @${di} -->`;
|
|
2662
|
+
return r ? `${r.raw}
|
|
2663
|
+
|
|
2664
|
+
${t}
|
|
2665
|
+
|
|
2666
|
+
${e.slice(r.end.index)}` : `${t}
|
|
2667
|
+
|
|
2668
|
+
${e}`;
|
|
2669
|
+
};
|
|
2670
|
+
var ef = /* @__PURE__ */ new Set(["position", "raw"]);
|
|
2671
|
+
function vi(e, r, t) {
|
|
2672
|
+
if ((e.type === "code" || e.type === "yaml" || e.type === "import" || e.type === "export" || e.type === "jsx") && delete r.value, e.type === "list" && delete r.isAligned, (e.type === "list" || e.type === "listItem") && delete r.spread, e.type === "text") return null;
|
|
2673
|
+
if (e.type === "inlineCode" && (r.value = R(0, e.value, `
|
|
2674
|
+
`, " ")), e.type === "wikiLink" && (r.value = R(0, e.value.trim(), /[\t\n]+/gu, " ")), (e.type === "definition" || e.type === "linkReference" || e.type === "imageReference") && (r.label = (0, Ci.default)(e.label)), (e.type === "link" || e.type === "image") && e.url && e.url.includes("(")) for (let n of "<>") r.url = R(0, e.url, n, encodeURIComponent(n));
|
|
2675
|
+
if ((e.type === "definition" || e.type === "link" || e.type === "image") && e.title && (r.title = R(0, e.title, /\\(?=["')])/gu, "")), t?.type === "root" && t.children.length > 0 && (t.children[0] === e || xt(t.children[0]) && t.children[1] === e) && e.type === "html" && Pr(e.value)) return null;
|
|
2676
|
+
}
|
|
2677
|
+
vi.ignoredProperties = ef;
|
|
2678
|
+
var Ai = vi;
|
|
2679
|
+
var bi = /(?:[\u{2c7}\u{2c9}-\u{2cb}\u{2d9}\u{2ea}-\u{2eb}\u{305}\u{323}\u{1100}-\u{11ff}\u{2e80}-\u{2e99}\u{2e9b}-\u{2ef3}\u{2f00}-\u{2fd5}\u{2ff0}-\u{303f}\u{3041}-\u{3096}\u{3099}-\u{30ff}\u{3105}-\u{312f}\u{3131}-\u{318e}\u{3190}-\u{4dbf}\u{4e00}-\u{9fff}\u{a700}-\u{a707}\u{a960}-\u{a97c}\u{ac00}-\u{d7a3}\u{d7b0}-\u{d7c6}\u{d7cb}-\u{d7fb}\u{f900}-\u{fa6d}\u{fa70}-\u{fad9}\u{fe10}-\u{fe1f}\u{fe30}-\u{fe6f}\u{ff00}-\u{ffef}\u{16fe3}\u{16ff2}-\u{16ff6}\u{1aff0}-\u{1aff3}\u{1aff5}-\u{1affb}\u{1affd}-\u{1affe}\u{1b000}-\u{1b122}\u{1b132}\u{1b150}-\u{1b152}\u{1b155}\u{1b164}-\u{1b167}\u{1f200}\u{1f250}-\u{1f251}\u{20000}-\u{2a6df}\u{2a700}-\u{2b81d}\u{2b820}-\u{2cead}\u{2ceb0}-\u{2ebe0}\u{2ebf0}-\u{2ee5d}\u{2f800}-\u{2fa1d}\u{30000}-\u{3134a}\u{31350}-\u{33479}])(?:[\u{fe00}-\u{fe0f}\u{e0100}-\u{e01ef}])?/u, _e = new RegExp("(?:[\\u{21}-\\u{2f}\\u{3a}-\\u{40}\\u{5b}-\\u{60}\\u{7b}-\\u{7e}]|\\p{General_Category=Connector_Punctuation}|\\p{General_Category=Dash_Punctuation}|\\p{General_Category=Close_Punctuation}|\\p{General_Category=Final_Punctuation}|\\p{General_Category=Initial_Punctuation}|\\p{General_Category=Other_Punctuation}|\\p{General_Category=Open_Punctuation})", "u");
|
|
2680
|
+
var qe = (e) => e.position.start.offset, Oe = (e) => e.position.end.offset;
|
|
2681
|
+
var yt = /* @__PURE__ */ new Set(["liquidNode", "inlineCode", "emphasis", "esComment", "strong", "delete", "wikiLink", "link", "linkReference", "image", "imageReference", "footnote", "footnoteReference", "sentence", "whitespace", "word", "break", "inlineMath"]), Lr = /* @__PURE__ */ new Set([...yt, "tableCell", "paragraph", "heading"]), ze = "non-cjk", ue = "cj-letter", Se = "k-letter", sr = "cjk-punctuation", rf = new RegExp("\\p{Script_Extensions=Hangul}", "u");
|
|
2682
|
+
function Rr(e) {
|
|
2683
|
+
let r = [], t = e.split(/([\t\n ]+)/u);
|
|
2684
|
+
for (let [i, u] of t.entries()) {
|
|
2685
|
+
if (i % 2 === 1) {
|
|
2686
|
+
r.push({ type: "whitespace", value: /\n/u.test(u) ? `
|
|
2687
|
+
` : " " });
|
|
2688
|
+
continue;
|
|
2689
|
+
}
|
|
2690
|
+
if ((i === 0 || i === t.length - 1) && u === "") continue;
|
|
2691
|
+
let a = u.split(new RegExp(`(${bi.source})`, "u"));
|
|
2692
|
+
for (let [o, s] of a.entries()) if (!((o === 0 || o === a.length - 1) && s === "")) {
|
|
2693
|
+
if (o % 2 === 0) {
|
|
2694
|
+
s !== "" && n({ type: "word", value: s, kind: ze, isCJ: false, hasLeadingPunctuation: _e.test(s[0]), hasTrailingPunctuation: _e.test(M(0, s, -1)) });
|
|
2695
|
+
continue;
|
|
2696
|
+
}
|
|
2697
|
+
if (_e.test(s)) {
|
|
2698
|
+
n({ type: "word", value: s, kind: sr, isCJ: true, hasLeadingPunctuation: true, hasTrailingPunctuation: true });
|
|
2699
|
+
continue;
|
|
2700
|
+
}
|
|
2701
|
+
if (rf.test(s)) {
|
|
2702
|
+
n({ type: "word", value: s, kind: Se, isCJ: false, hasLeadingPunctuation: false, hasTrailingPunctuation: false });
|
|
2703
|
+
continue;
|
|
2704
|
+
}
|
|
2705
|
+
n({ type: "word", value: s, kind: ue, isCJ: true, hasLeadingPunctuation: false, hasTrailingPunctuation: false });
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
return r;
|
|
2709
|
+
function n(i) {
|
|
2710
|
+
let u = M(0, r, -1);
|
|
2711
|
+
u?.type === "word" && !a(ze, sr) && ![u.value, i.value].some((o) => /\u3000/u.test(o)) && r.push({ type: "whitespace", value: "" }), r.push(i);
|
|
2712
|
+
function a(o, s) {
|
|
2713
|
+
return u.kind === o && i.kind === s || u.kind === s && i.kind === o;
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
function Ge(e, r) {
|
|
2718
|
+
let t = r.originalText.slice(e.position.start.offset, e.position.end.offset), { numberText: n, leadingSpaces: i } = t.match(/^\s*(?<numberText>\d+)(\.|\))(?<leadingSpaces>\s*)/u).groups;
|
|
2719
|
+
return { number: Number(n), leadingSpaces: i };
|
|
2720
|
+
}
|
|
2721
|
+
function xi(e, r) {
|
|
2722
|
+
return !e.ordered || e.children.length < 2 || Ge(e.children[1], r).number !== 1 ? false : Ge(e.children[0], r).number !== 0 ? true : e.children.length > 2 && Ge(e.children[2], r).number === 1;
|
|
2723
|
+
}
|
|
2724
|
+
function Mr(e, r) {
|
|
2725
|
+
let { value: t } = e;
|
|
2726
|
+
return e.position.end.offset === r.length && t.endsWith(`
|
|
2727
|
+
`) && r.endsWith(`
|
|
2728
|
+
`) ? t.slice(0, -1) : t;
|
|
2729
|
+
}
|
|
2730
|
+
function xe(e, r) {
|
|
2731
|
+
return function t(n, i, u) {
|
|
2732
|
+
let a = { ...r(n, i, u) };
|
|
2733
|
+
return a.children && (a.children = a.children.map((o, s) => t(o, s, [a, ...u]))), a;
|
|
2734
|
+
}(e, null, []);
|
|
2735
|
+
}
|
|
2736
|
+
function wt(e) {
|
|
2737
|
+
if (e?.type !== "link" || e.children.length !== 1) return false;
|
|
2738
|
+
let [r] = e.children;
|
|
2739
|
+
return qe(e) === qe(r) && Oe(e) === Oe(r);
|
|
2740
|
+
}
|
|
2741
|
+
function cr(e) {
|
|
2742
|
+
let r;
|
|
2743
|
+
if (e.type === "html") r = e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/u);
|
|
2744
|
+
else {
|
|
2745
|
+
let t;
|
|
2746
|
+
e.type === "esComment" ? t = e : e.type === "paragraph" && e.children.length === 1 && e.children[0].type === "esComment" && (t = e.children[0]), t && (r = t.value.match(/^prettier-ignore(?:-(start|end))?$/u));
|
|
2747
|
+
}
|
|
2748
|
+
return r ? r[1] || "next" : false;
|
|
2749
|
+
}
|
|
2750
|
+
function Ur(e, r) {
|
|
2751
|
+
return t(e, r, (n) => n.ordered === e.ordered);
|
|
2752
|
+
function t(n, i, u) {
|
|
2753
|
+
let a = -1;
|
|
2754
|
+
for (let o of i.children) if (o.type === n.type && u(o) ? a++ : a = -1, o === n) return a;
|
|
2755
|
+
}
|
|
2756
|
+
}
|
|
2757
|
+
function tf(e, r) {
|
|
2758
|
+
let { node: t } = e;
|
|
2759
|
+
if (t.type === "code" && t.lang !== null) {
|
|
2760
|
+
let n = hi(r, { language: t.lang });
|
|
2761
|
+
if (n) return async (i) => {
|
|
2762
|
+
let u = r.__inJsTemplate ? "~" : "`", a = u.repeat(Math.max(3, Nr(t.value, u) + 1)), o = { parser: n };
|
|
2763
|
+
t.lang === "ts" || t.lang === "typescript" ? o.filepath = "dummy.ts" : t.lang === "tsx" && (o.filepath = "dummy.tsx");
|
|
2764
|
+
let s = await i(Mr(t, r.originalText), o);
|
|
2765
|
+
return ir([a, t.lang, t.meta ? " " + t.meta : "", L, be(s), L, a]);
|
|
2766
|
+
};
|
|
2767
|
+
}
|
|
2768
|
+
switch (t.type) {
|
|
2769
|
+
case "import":
|
|
2770
|
+
case "export":
|
|
2771
|
+
return (n) => n(t.value, { __onHtmlBindingRoot: (i) => nf(i, t.type), parser: "babel" });
|
|
2772
|
+
case "jsx":
|
|
2773
|
+
return (n) => n(`<$>${t.value}</$>`, { parser: "__js_expression", rootMarker: "mdx" });
|
|
2774
|
+
}
|
|
2775
|
+
return null;
|
|
2776
|
+
}
|
|
2777
|
+
function nf(e, r) {
|
|
2778
|
+
let { program: { body: t } } = e;
|
|
2779
|
+
if (!t.every((n) => n.type === "ImportDeclaration" || n.type === "ExportDefaultDeclaration" || n.type === "ExportNamedDeclaration")) throw new Error(`Unexpected '${r}' in MDX.`);
|
|
2780
|
+
}
|
|
2781
|
+
var yi = tf;
|
|
2782
|
+
var lr = null;
|
|
2783
|
+
function fr(e) {
|
|
2784
|
+
if (lr !== null && typeof lr.property) {
|
|
2785
|
+
let r = lr;
|
|
2786
|
+
return lr = fr.prototype = null, r;
|
|
2787
|
+
}
|
|
2788
|
+
return lr = fr.prototype = e ?? /* @__PURE__ */ Object.create(null), new fr();
|
|
2789
|
+
}
|
|
2790
|
+
var uf = 10;
|
|
2791
|
+
for (let e = 0; e <= uf; e++) fr();
|
|
2792
|
+
function kt(e) {
|
|
2793
|
+
return fr(e);
|
|
2794
|
+
}
|
|
2795
|
+
function af(e, r = "type") {
|
|
2796
|
+
kt(e);
|
|
2797
|
+
function t(n) {
|
|
2798
|
+
let i = n[r], u = e[i];
|
|
2799
|
+
if (!Array.isArray(u)) throw Object.assign(new Error(`Missing visitor keys for '${i}'.`), { node: n });
|
|
2800
|
+
return u;
|
|
2801
|
+
}
|
|
2802
|
+
return t;
|
|
2803
|
+
}
|
|
2804
|
+
var wi = af;
|
|
2805
|
+
var of = { root: ["children"], paragraph: ["children"], sentence: ["children"], word: [], whitespace: [], emphasis: ["children"], strong: ["children"], delete: ["children"], inlineCode: [], wikiLink: [], link: ["children"], image: [], blockquote: ["children"], heading: ["children"], code: [], html: [], list: ["children"], thematicBreak: [], linkReference: ["children"], imageReference: [], definition: [], footnote: ["children"], footnoteReference: [], footnoteDefinition: ["children"], table: ["children"], tableCell: ["children"], break: [], liquidNode: [], import: [], export: [], esComment: [], jsx: [], math: [], inlineMath: [], tableRow: ["children"], listItem: ["children"], text: [] }, ki = of;
|
|
2806
|
+
var sf = wi(ki), Bi = sf;
|
|
2807
|
+
function G(e, r, t, n = {}) {
|
|
2808
|
+
let { processor: i = t } = n, u = [];
|
|
2809
|
+
return e.each(() => {
|
|
2810
|
+
let a = i(e);
|
|
2811
|
+
a !== false && (u.length > 0 && cf(e) && (u.push(L), (ff(e, r) || Ti(e)) && u.push(L), Ti(e) && u.push(L)), u.push(a));
|
|
2812
|
+
}, "children"), u;
|
|
2813
|
+
}
|
|
2814
|
+
function cf({ node: e, parent: r }) {
|
|
2815
|
+
let t = yt.has(e.type), n = e.type === "html" && Lr.has(r.type);
|
|
2816
|
+
return !t && !n;
|
|
2817
|
+
}
|
|
2818
|
+
var lf = /* @__PURE__ */ new Set(["listItem", "definition"]);
|
|
2819
|
+
function ff({ node: e, previous: r, parent: t }, n) {
|
|
2820
|
+
if (_i(r, n) || e.type === "list" && t.type === "listItem" && r.type === "code") return true;
|
|
2821
|
+
let u = r.type === e.type && lf.has(e.type), a = t.type === "listItem" && (e.type === "list" || !_i(t, n)), o = cr(r) === "next", s = e.type === "html" && r.type === "html" && r.position.end.line + 1 === e.position.start.line, l = e.type === "html" && t.type === "listItem" && r.type === "paragraph" && r.position.end.line + 1 === e.position.start.line;
|
|
2822
|
+
return !(u || a || o || s || l);
|
|
2823
|
+
}
|
|
2824
|
+
function Ti({ node: e, previous: r }) {
|
|
2825
|
+
let t = r.type === "list", n = e.type === "code" && e.isIndented;
|
|
2826
|
+
return t && n;
|
|
2827
|
+
}
|
|
2828
|
+
function _i(e, r) {
|
|
2829
|
+
return e.type === "listItem" && (e.spread || r.originalText.charAt(e.position.end.offset - 1) === `
|
|
2830
|
+
`);
|
|
2831
|
+
}
|
|
2832
|
+
function Oi(e, r, t) {
|
|
2833
|
+
let { node: n } = e, i = Ur(n, e.parent), u = xi(n, r);
|
|
2834
|
+
return G(e, r, t, { processor() {
|
|
2835
|
+
let a = s(), { node: o } = e;
|
|
2836
|
+
if (o.children.length === 2 && o.children[1].type === "html" && o.children[0].position.start.column !== o.children[1].position.start.column) return [a, qi(e, r, t, a)];
|
|
2837
|
+
return [a, me(" ".repeat(a.length), qi(e, r, t, a))];
|
|
2838
|
+
function s() {
|
|
2839
|
+
let l = n.ordered ? (e.isFirst ? n.start : u ? 1 : n.start + e.index) + (i % 2 === 0 ? ". " : ") ") : i % 2 === 0 ? "- " : "* ";
|
|
2840
|
+
return (n.isAligned || n.hasIndentedCodeblock) && n.ordered ? Df(l, r) : l;
|
|
2841
|
+
}
|
|
2842
|
+
} });
|
|
2843
|
+
}
|
|
2844
|
+
function qi(e, r, t, n) {
|
|
2845
|
+
let { node: i } = e, u = i.checked === null ? "" : i.checked ? "[x] " : "[ ] ";
|
|
2846
|
+
return [u, G(e, r, t, { processor({ node: a, isFirst: o }) {
|
|
2847
|
+
if (o && a.type !== "list") return me(" ".repeat(u.length), t());
|
|
2848
|
+
let s = " ".repeat(pf(r.tabWidth - n.length, 0, 3));
|
|
2849
|
+
return [s, me(s, t())];
|
|
2850
|
+
} })];
|
|
2851
|
+
}
|
|
2852
|
+
function Df(e, r) {
|
|
2853
|
+
let t = n();
|
|
2854
|
+
return e + " ".repeat(t >= 4 ? 0 : t);
|
|
2855
|
+
function n() {
|
|
2856
|
+
let i = e.length % r.tabWidth;
|
|
2857
|
+
return i === 0 ? 0 : r.tabWidth - i;
|
|
2858
|
+
}
|
|
2859
|
+
}
|
|
2860
|
+
function pf(e, r, t) {
|
|
2861
|
+
return Math.max(r, Math.min(e, t));
|
|
2862
|
+
}
|
|
2863
|
+
function Si(e, r, t) {
|
|
2864
|
+
let { node: n } = e, i = [], u = e.map(() => e.map(({ index: f }) => {
|
|
2865
|
+
let D = ii(t(), r).formatted, m = ar(D);
|
|
2866
|
+
return i[f] = Math.max(i[f] ?? 3, m), { text: D, width: m };
|
|
2867
|
+
}, "children"), "children"), a = s(false);
|
|
2868
|
+
if (r.proseWrap !== "never") return [Me, a];
|
|
2869
|
+
let o = s(true);
|
|
2870
|
+
return [Me, Ye(Jn(o, a))];
|
|
2871
|
+
function s(f) {
|
|
2872
|
+
return Tr(ur, [c(u[0], f), l(f), ...u.slice(1).map((D) => c(D, f))].map((D) => `| ${D.join(" | ")} |`));
|
|
2873
|
+
}
|
|
2874
|
+
function l(f) {
|
|
2875
|
+
return i.map((D, m) => {
|
|
2876
|
+
let p = n.align[m], h = p === "center" || p === "left" ? ":" : "-", F = p === "center" || p === "right" ? ":" : "-", g = f ? "-" : "-".repeat(D - 2);
|
|
2877
|
+
return `${h}${g}${F}`;
|
|
2878
|
+
});
|
|
2879
|
+
}
|
|
2880
|
+
function c(f, D) {
|
|
2881
|
+
return f.map(({ text: m, width: p }, h) => {
|
|
2882
|
+
if (D) return m;
|
|
2883
|
+
let F = i[h] - p, g = n.align[h], E = 0;
|
|
2884
|
+
g === "right" ? E = F : g === "center" && (E = Math.floor(F / 2));
|
|
2885
|
+
let v = F - E;
|
|
2886
|
+
return `${" ".repeat(E)}${m}${" ".repeat(v)}`;
|
|
2887
|
+
});
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
function Ni(e, r, t) {
|
|
2891
|
+
let n = e.map(t, "children");
|
|
2892
|
+
return hf(n);
|
|
2893
|
+
}
|
|
2894
|
+
function hf(e) {
|
|
2895
|
+
let r = [""];
|
|
2896
|
+
return function t(n) {
|
|
2897
|
+
for (let i of n) {
|
|
2898
|
+
let u = z(i);
|
|
2899
|
+
if (u === V) {
|
|
2900
|
+
t(i);
|
|
2901
|
+
continue;
|
|
2902
|
+
}
|
|
2903
|
+
let a = i, o = [];
|
|
2904
|
+
u === X && ([a, ...o] = i.parts), r.push([r.pop(), a], ...o);
|
|
2905
|
+
}
|
|
2906
|
+
}(e), Ue(r);
|
|
2907
|
+
}
|
|
2908
|
+
var Bt = class {
|
|
2909
|
+
#e;
|
|
2910
|
+
constructor(r) {
|
|
2911
|
+
this.#e = new Set(r);
|
|
2912
|
+
}
|
|
2913
|
+
getLeadingWhitespaceCount(r) {
|
|
2914
|
+
let t = this.#e, n = 0;
|
|
2915
|
+
for (let i = 0; i < r.length && t.has(r.charAt(i)); i++) n++;
|
|
2916
|
+
return n;
|
|
2917
|
+
}
|
|
2918
|
+
getTrailingWhitespaceCount(r) {
|
|
2919
|
+
let t = this.#e, n = 0;
|
|
2920
|
+
for (let i = r.length - 1; i >= 0 && t.has(r.charAt(i)); i--) n++;
|
|
2921
|
+
return n;
|
|
2922
|
+
}
|
|
2923
|
+
getLeadingWhitespace(r) {
|
|
2924
|
+
let t = this.getLeadingWhitespaceCount(r);
|
|
2925
|
+
return r.slice(0, t);
|
|
2926
|
+
}
|
|
2927
|
+
getTrailingWhitespace(r) {
|
|
2928
|
+
let t = this.getTrailingWhitespaceCount(r);
|
|
2929
|
+
return r.slice(r.length - t);
|
|
2930
|
+
}
|
|
2931
|
+
hasLeadingWhitespace(r) {
|
|
2932
|
+
return this.#e.has(r.charAt(0));
|
|
2933
|
+
}
|
|
2934
|
+
hasTrailingWhitespace(r) {
|
|
2935
|
+
return this.#e.has(M(0, r, -1));
|
|
2936
|
+
}
|
|
2937
|
+
trimStart(r) {
|
|
2938
|
+
let t = this.getLeadingWhitespaceCount(r);
|
|
2939
|
+
return r.slice(t);
|
|
2940
|
+
}
|
|
2941
|
+
trimEnd(r) {
|
|
2942
|
+
let t = this.getTrailingWhitespaceCount(r);
|
|
2943
|
+
return r.slice(0, r.length - t);
|
|
2944
|
+
}
|
|
2945
|
+
trim(r) {
|
|
2946
|
+
return this.trimEnd(this.trimStart(r));
|
|
2947
|
+
}
|
|
2948
|
+
split(r, t = false) {
|
|
2949
|
+
let n = `[${le([...this.#e].join(""))}]+`, i = new RegExp(t ? `(${n})` : n, "u");
|
|
2950
|
+
return r.split(i);
|
|
2951
|
+
}
|
|
2952
|
+
hasWhitespaceCharacter(r) {
|
|
2953
|
+
let t = this.#e;
|
|
2954
|
+
return Array.prototype.some.call(r, (n) => t.has(n));
|
|
2955
|
+
}
|
|
2956
|
+
hasNonWhitespaceCharacter(r) {
|
|
2957
|
+
let t = this.#e;
|
|
2958
|
+
return Array.prototype.some.call(r, (n) => !t.has(n));
|
|
2959
|
+
}
|
|
2960
|
+
isWhitespaceOnly(r) {
|
|
2961
|
+
let t = this.#e;
|
|
2962
|
+
return Array.prototype.every.call(r, (n) => t.has(n));
|
|
2963
|
+
}
|
|
2964
|
+
#r(r) {
|
|
2965
|
+
let t = Number.POSITIVE_INFINITY;
|
|
2966
|
+
for (let n of r.split(`
|
|
2967
|
+
`)) {
|
|
2968
|
+
if (n.length === 0) continue;
|
|
2969
|
+
let i = this.getLeadingWhitespaceCount(n);
|
|
2970
|
+
if (i === 0) return 0;
|
|
2971
|
+
n.length !== i && i < t && (t = i);
|
|
2972
|
+
}
|
|
2973
|
+
return t === Number.POSITIVE_INFINITY ? 0 : t;
|
|
2974
|
+
}
|
|
2975
|
+
dedentString(r) {
|
|
2976
|
+
let t = this.#r(r);
|
|
2977
|
+
return t === 0 ? r : r.split(`
|
|
2978
|
+
`).map((n) => n.slice(t)).join(`
|
|
2979
|
+
`);
|
|
2980
|
+
}
|
|
2981
|
+
}, Ii = Bt;
|
|
2982
|
+
var df = [" ", `
|
|
2983
|
+
`, "\f", "\r", " "], mf = new Ii(df), Tt = mf;
|
|
2984
|
+
var Ff = /^\\?.$/su, gf = /^\n *>[ >]*$/u;
|
|
2985
|
+
function Ef(e, r) {
|
|
2986
|
+
return e = Cf(e, r), e = Af(e), e = xf(e, r), e = yf(e, r), e = bf(e), e;
|
|
2987
|
+
}
|
|
2988
|
+
function Cf(e, r) {
|
|
2989
|
+
return xe(e, (t) => {
|
|
2990
|
+
if (t.type !== "text") return t;
|
|
2991
|
+
let { value: n } = t;
|
|
2992
|
+
if (n === "*" || n === "_" || !Ff.test(n) || t.position.end.offset - t.position.start.offset === n.length) return t;
|
|
2993
|
+
let i = r.originalText.slice(t.position.start.offset, t.position.end.offset);
|
|
2994
|
+
return gf.test(i) ? t : { ...t, value: i };
|
|
2995
|
+
});
|
|
2996
|
+
}
|
|
2997
|
+
function vf(e, r, t) {
|
|
2998
|
+
return xe(e, (n) => {
|
|
2999
|
+
if (!n.children) return n;
|
|
3000
|
+
let i = [], u, a;
|
|
3001
|
+
for (let o of n.children) u && r(u, o) ? (o = t(u, o), i.splice(-1, 1, o), a || (a = true)) : i.push(o), u = o;
|
|
3002
|
+
return a ? { ...n, children: i } : n;
|
|
3003
|
+
});
|
|
3004
|
+
}
|
|
3005
|
+
function Af(e) {
|
|
3006
|
+
return vf(e, (r, t) => r.type === "text" && t.type === "text", (r, t) => ({ type: "text", value: r.value + t.value, position: { start: r.position.start, end: t.position.end } }));
|
|
3007
|
+
}
|
|
3008
|
+
function bf(e) {
|
|
3009
|
+
return xe(e, (r, t, [n]) => {
|
|
3010
|
+
if (r.type !== "text") return r;
|
|
3011
|
+
let { value: i } = r;
|
|
3012
|
+
return n.type === "paragraph" && (t === 0 && (i = Tt.trimStart(i)), t === n.children.length - 1 && (i = Tt.trimEnd(i))), { type: "sentence", position: r.position, children: Rr(i) };
|
|
3013
|
+
});
|
|
3014
|
+
}
|
|
3015
|
+
function xf(e, r) {
|
|
3016
|
+
return xe(e, (t, n, i) => {
|
|
3017
|
+
if (t.type === "code") {
|
|
3018
|
+
let u = /^\n?(?: {4,}|\t)/u.test(r.originalText.slice(t.position.start.offset, t.position.end.offset));
|
|
3019
|
+
if (t.isIndented = u, u) for (let a = 0; a < i.length; a++) {
|
|
3020
|
+
let o = i[a];
|
|
3021
|
+
if (o.hasIndentedCodeblock) break;
|
|
3022
|
+
o.type === "list" && (o.hasIndentedCodeblock = true);
|
|
3023
|
+
}
|
|
3024
|
+
}
|
|
3025
|
+
return t;
|
|
3026
|
+
});
|
|
3027
|
+
}
|
|
3028
|
+
function yf(e, r) {
|
|
3029
|
+
return xe(e, (i, u, a) => {
|
|
3030
|
+
if (i.type === "list" && i.children.length > 0) {
|
|
3031
|
+
for (let o = 0; o < a.length; o++) {
|
|
3032
|
+
let s = a[o];
|
|
3033
|
+
if (s.type === "list" && !s.isAligned) return i.isAligned = false, i;
|
|
3034
|
+
}
|
|
3035
|
+
i.isAligned = n(i);
|
|
3036
|
+
}
|
|
3037
|
+
return i;
|
|
3038
|
+
});
|
|
3039
|
+
function t(i) {
|
|
3040
|
+
return i.children.length === 0 ? -1 : i.children[0].position.start.column - 1;
|
|
3041
|
+
}
|
|
3042
|
+
function n(i) {
|
|
3043
|
+
if (!i.ordered) return true;
|
|
3044
|
+
let [u, a] = i.children;
|
|
3045
|
+
if (Ge(u, r).leadingSpaces.length > 1) return true;
|
|
3046
|
+
let s = t(u);
|
|
3047
|
+
if (s === -1) return false;
|
|
3048
|
+
if (i.children.length === 1) return s % r.tabWidth === 0;
|
|
3049
|
+
let l = t(a);
|
|
3050
|
+
return s !== l ? false : s % r.tabWidth === 0 ? true : Ge(a, r).leadingSpaces.length > 1;
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
3053
|
+
var Pi = Ef;
|
|
3054
|
+
function Li(e, r) {
|
|
3055
|
+
let t = [""];
|
|
3056
|
+
return e.each(() => {
|
|
3057
|
+
let { node: n } = e, i = r();
|
|
3058
|
+
switch (n.type) {
|
|
3059
|
+
case "whitespace":
|
|
3060
|
+
if (z(i) !== W) {
|
|
3061
|
+
t.push(i, "");
|
|
3062
|
+
break;
|
|
3063
|
+
}
|
|
3064
|
+
default:
|
|
3065
|
+
t.push([t.pop(), i]);
|
|
3066
|
+
}
|
|
3067
|
+
}, "children"), Ue(t);
|
|
3068
|
+
}
|
|
3069
|
+
var wf = /* @__PURE__ */ new Set(["heading", "tableCell", "link", "wikiLink"]), Ri = new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");
|
|
3070
|
+
function kf({ parent: e }) {
|
|
3071
|
+
if (e.usesCJSpaces === void 0) {
|
|
3072
|
+
let r = { " ": 0, "": 0 }, { children: t } = e;
|
|
3073
|
+
for (let n = 1; n < t.length - 1; ++n) {
|
|
3074
|
+
let i = t[n];
|
|
3075
|
+
if (i.type === "whitespace" && (i.value === " " || i.value === "")) {
|
|
3076
|
+
let u = t[n - 1].kind, a = t[n + 1].kind;
|
|
3077
|
+
(u === ue && a === ze || u === ze && a === ue) && ++r[i.value];
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
e.usesCJSpaces = r[" "] > r[""];
|
|
3081
|
+
}
|
|
3082
|
+
return e.usesCJSpaces;
|
|
3083
|
+
}
|
|
3084
|
+
function Bf(e, r) {
|
|
3085
|
+
if (r) return true;
|
|
3086
|
+
let { previous: t, next: n } = e;
|
|
3087
|
+
if (!t || !n) return true;
|
|
3088
|
+
let i = t.kind, u = n.kind;
|
|
3089
|
+
return Mi(i) && Mi(u) || i === Se && u === ue || u === Se && i === ue ? true : i === sr || u === sr || i === ue && u === ue ? false : Ri.has(n.value[0]) || Ri.has(M(0, t.value, -1)) ? true : t.hasTrailingPunctuation || n.hasLeadingPunctuation ? false : kf(e);
|
|
3090
|
+
}
|
|
3091
|
+
function Mi(e) {
|
|
3092
|
+
return e === ze || e === Se;
|
|
3093
|
+
}
|
|
3094
|
+
function Tf(e, r, t, n) {
|
|
3095
|
+
if (t !== "always" || e.hasAncestor((a) => wf.has(a.type))) return false;
|
|
3096
|
+
if (n) return r !== "";
|
|
3097
|
+
let { previous: i, next: u } = e;
|
|
3098
|
+
return !i || !u ? true : r === "" ? false : i.kind === Se && u.kind === ue || u.kind === Se && i.kind === ue ? true : !(i.isCJ || u.isCJ);
|
|
3099
|
+
}
|
|
3100
|
+
function _t(e, r, t, n) {
|
|
3101
|
+
if (t === "preserve" && r === `
|
|
3102
|
+
`) return L;
|
|
3103
|
+
let i = r === " " || r === `
|
|
3104
|
+
` && Bf(e, n);
|
|
3105
|
+
return Tf(e, r, t, n) ? i ? qr : Or : i ? " " : "";
|
|
3106
|
+
}
|
|
3107
|
+
function Ui(e) {
|
|
3108
|
+
let { previous: r, next: t } = e;
|
|
3109
|
+
return r?.type === "sentence" && M(0, r.children, -1)?.type === "word" && !M(0, r.children, -1).hasTrailingPunctuation || t?.type === "sentence" && t.children[0]?.type === "word" && !t.children[0].hasLeadingPunctuation;
|
|
3110
|
+
}
|
|
3111
|
+
function _f(e, r, t) {
|
|
3112
|
+
let { node: n } = e;
|
|
3113
|
+
if (Of(e)) {
|
|
3114
|
+
let i = [""], u = Rr(r.originalText.slice(n.position.start.offset, n.position.end.offset));
|
|
3115
|
+
for (let a of u) {
|
|
3116
|
+
if (a.type === "word") {
|
|
3117
|
+
i.push([i.pop(), a.value]);
|
|
3118
|
+
continue;
|
|
3119
|
+
}
|
|
3120
|
+
let o = _t(e, a.value, r.proseWrap, true);
|
|
3121
|
+
if (z(o) === W) {
|
|
3122
|
+
i.push([i.pop(), o]);
|
|
3123
|
+
continue;
|
|
3124
|
+
}
|
|
3125
|
+
i.push(o, "");
|
|
3126
|
+
}
|
|
3127
|
+
return Ue(i);
|
|
3128
|
+
}
|
|
3129
|
+
switch (n.type) {
|
|
3130
|
+
case "root":
|
|
3131
|
+
return n.children.length === 0 ? "" : [qf(e, r, t), L];
|
|
3132
|
+
case "paragraph":
|
|
3133
|
+
return Ni(e, r, t);
|
|
3134
|
+
case "sentence":
|
|
3135
|
+
return Li(e, t);
|
|
3136
|
+
case "word": {
|
|
3137
|
+
let i = R(0, R(0, n.value, "*", "\\*"), new RegExp([`(^|${_e.source})(_+)`, `(_+)(${_e.source}|$)`].join("|"), "gu"), (o, s, l, c, f) => R(0, l ? `${s}${l}` : `${c}${f}`, "_", "\\_")), u = (o, s, l) => o.type === "sentence" && l === 0, a = (o, s, l) => wt(o.children[l - 1]);
|
|
3138
|
+
return i !== n.value && (e.match(void 0, u, a) || e.match(void 0, u, (o, s, l) => o.type === "emphasis" && l === 0, a)) && (i = i.replace(/^(\\?[*_])+/u, (o) => R(0, o, "\\", ""))), i;
|
|
3139
|
+
}
|
|
3140
|
+
case "whitespace": {
|
|
3141
|
+
let { next: i } = e, u = i && /^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(i.value) ? "never" : r.proseWrap;
|
|
3142
|
+
return _t(e, n.value, u);
|
|
3143
|
+
}
|
|
3144
|
+
case "emphasis": {
|
|
3145
|
+
let i;
|
|
3146
|
+
if (wt(n.children[0])) i = r.originalText[n.position.start.offset];
|
|
3147
|
+
else {
|
|
3148
|
+
let u = Ui(e), a = e.callParent(({ node: o }) => o.type === "strong" && Ui(e));
|
|
3149
|
+
i = u || a || e.hasAncestor((o) => o.type === "emphasis") ? "*" : "_";
|
|
3150
|
+
}
|
|
3151
|
+
return [i, G(e, r, t), i];
|
|
3152
|
+
}
|
|
3153
|
+
case "strong":
|
|
3154
|
+
return ["**", G(e, r, t), "**"];
|
|
3155
|
+
case "delete":
|
|
3156
|
+
return ["~~", G(e, r, t), "~~"];
|
|
3157
|
+
case "inlineCode": {
|
|
3158
|
+
let i = r.proseWrap === "preserve" ? n.value : R(0, n.value, `
|
|
3159
|
+
`, " "), u = ui(i, "`"), a = "`".repeat(u), o = i.startsWith("`") || i.endsWith("`") || /^[\n ]/u.test(i) && /[\n ]$/u.test(i) && /[^\n ]/u.test(i) ? " " : "";
|
|
3160
|
+
return [a, o, i, o, a];
|
|
3161
|
+
}
|
|
3162
|
+
case "wikiLink": {
|
|
3163
|
+
let i = "";
|
|
3164
|
+
return r.proseWrap === "preserve" ? i = n.value : i = R(0, n.value, /[\t\n]+/gu, " "), ["[[", i, "]]"];
|
|
3165
|
+
}
|
|
3166
|
+
case "link":
|
|
3167
|
+
switch (r.originalText[n.position.start.offset]) {
|
|
3168
|
+
case "<": {
|
|
3169
|
+
let i = "mailto:";
|
|
3170
|
+
return ["<", n.url.startsWith(i) && r.originalText.slice(n.position.start.offset + 1, n.position.start.offset + 1 + i.length) !== i ? n.url.slice(i.length) : n.url, ">"];
|
|
3171
|
+
}
|
|
3172
|
+
case "[":
|
|
3173
|
+
return ["[", G(e, r, t), "](", qt(n.url, ")"), Yr(n.title, r), ")"];
|
|
3174
|
+
default:
|
|
3175
|
+
return r.originalText.slice(n.position.start.offset, n.position.end.offset);
|
|
3176
|
+
}
|
|
3177
|
+
case "image":
|
|
3178
|
+
return [""), Yr(n.title, r), ")"];
|
|
3179
|
+
case "blockquote":
|
|
3180
|
+
return ["> ", me("> ", G(e, r, t))];
|
|
3181
|
+
case "heading":
|
|
3182
|
+
return ["#".repeat(n.depth) + " ", G(e, r, t)];
|
|
3183
|
+
case "code": {
|
|
3184
|
+
if (n.isIndented) {
|
|
3185
|
+
let a = " ".repeat(4);
|
|
3186
|
+
return me(a, [a, be(n.value, L)]);
|
|
3187
|
+
}
|
|
3188
|
+
let i = r.__inJsTemplate ? "~" : "`", u = i.repeat(Math.max(3, Nr(n.value, i) + 1));
|
|
3189
|
+
return [u, n.lang || "", n.meta ? " " + n.meta : "", L, be(Mr(n, r.originalText), L), L, u];
|
|
3190
|
+
}
|
|
3191
|
+
case "html": {
|
|
3192
|
+
let { parent: i, isLast: u } = e, a = i.type === "root" && u ? n.value.trimEnd() : n.value, o = /^<!--.*-->$/su.test(a);
|
|
3193
|
+
return be(a, o ? L : ir(tr));
|
|
3194
|
+
}
|
|
3195
|
+
case "list":
|
|
3196
|
+
return Oi(e, r, t);
|
|
3197
|
+
case "thematicBreak": {
|
|
3198
|
+
let { ancestors: i } = e, u = i.findIndex((o) => o.type === "list");
|
|
3199
|
+
return u === -1 ? "---" : Ur(i[u], i[u + 1]) % 2 === 0 ? "***" : "---";
|
|
3200
|
+
}
|
|
3201
|
+
case "linkReference":
|
|
3202
|
+
return ["[", G(e, r, t), "]", n.referenceType === "full" ? Ot(n) : n.referenceType === "collapsed" ? "[]" : ""];
|
|
3203
|
+
case "imageReference":
|
|
3204
|
+
switch (n.referenceType) {
|
|
3205
|
+
case "full":
|
|
3206
|
+
return ["![", n.alt || "", "]", Ot(n)];
|
|
3207
|
+
default:
|
|
3208
|
+
return ["![", n.alt, "]", n.referenceType === "collapsed" ? "[]" : ""];
|
|
3209
|
+
}
|
|
3210
|
+
case "definition": {
|
|
3211
|
+
let i = r.proseWrap === "always" ? qr : " ";
|
|
3212
|
+
return Ye([Ot(n), ":", nr([i, qt(n.url), n.title === null ? "" : [i, Yr(n.title, r, false)]])]);
|
|
3213
|
+
}
|
|
3214
|
+
case "footnote":
|
|
3215
|
+
return ["[^", G(e, r, t), "]"];
|
|
3216
|
+
case "footnoteReference":
|
|
3217
|
+
return Gi(n);
|
|
3218
|
+
case "footnoteDefinition": {
|
|
3219
|
+
let i = n.children.length === 1 && n.children[0].type === "paragraph" && (r.proseWrap === "never" || r.proseWrap === "preserve" && n.children[0].position.start.line === n.children[0].position.end.line);
|
|
3220
|
+
return [Gi(n), ": ", i ? G(e, r, t) : Ye([me(" ".repeat(4), G(e, r, t, { processor: ({ isFirst: u }) => u ? Ye([Or, t()]) : t() }))])];
|
|
3221
|
+
}
|
|
3222
|
+
case "table":
|
|
3223
|
+
return Si(e, r, t);
|
|
3224
|
+
case "tableCell":
|
|
3225
|
+
return G(e, r, t);
|
|
3226
|
+
case "break":
|
|
3227
|
+
return /\s/u.test(r.originalText[n.position.start.offset]) ? [" ", ir(tr)] : ["\\", L];
|
|
3228
|
+
case "liquidNode":
|
|
3229
|
+
return be(n.value, L);
|
|
3230
|
+
case "import":
|
|
3231
|
+
case "export":
|
|
3232
|
+
case "jsx":
|
|
3233
|
+
return n.value.trimEnd();
|
|
3234
|
+
case "esComment":
|
|
3235
|
+
return ["{/* ", n.value, " */}"];
|
|
3236
|
+
case "math":
|
|
3237
|
+
return ["$$", L, n.value ? [be(n.value, L), L] : "", "$$"];
|
|
3238
|
+
case "inlineMath":
|
|
3239
|
+
return r.originalText.slice(qe(n), Oe(n));
|
|
3240
|
+
case "frontMatter":
|
|
3241
|
+
case "tableRow":
|
|
3242
|
+
case "listItem":
|
|
3243
|
+
case "text":
|
|
3244
|
+
default:
|
|
3245
|
+
throw new oi(n, "Markdown");
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
function qf(e, r, t) {
|
|
3249
|
+
let n = [], i = null, { children: u } = e.node;
|
|
3250
|
+
for (let [a, o] of u.entries()) switch (cr(o)) {
|
|
3251
|
+
case "start":
|
|
3252
|
+
i === null && (i = { index: a, offset: o.position.end.offset });
|
|
3253
|
+
break;
|
|
3254
|
+
case "end":
|
|
3255
|
+
i !== null && (n.push({ start: i, end: { index: a, offset: o.position.start.offset } }), i = null);
|
|
3256
|
+
break;
|
|
3257
|
+
}
|
|
3258
|
+
return G(e, r, t, { processor({ index: a }) {
|
|
3259
|
+
if (n.length > 0) {
|
|
3260
|
+
let o = n[0];
|
|
3261
|
+
if (a === o.start.index) return [Yi(u[o.start.index]), r.originalText.slice(o.start.offset, o.end.offset), Yi(u[o.end.index])];
|
|
3262
|
+
if (o.start.index < a && a < o.end.index) return false;
|
|
3263
|
+
if (a === o.end.index) return n.shift(), false;
|
|
3264
|
+
}
|
|
3265
|
+
return t();
|
|
3266
|
+
} });
|
|
3267
|
+
}
|
|
3268
|
+
function Yi(e) {
|
|
3269
|
+
if (e.type === "html") return e.value;
|
|
3270
|
+
if (e.type === "paragraph" && Array.isArray(e.children) && e.children.length === 1 && e.children[0].type === "esComment") return ["{/* ", e.children[0].value, " */}"];
|
|
3271
|
+
}
|
|
3272
|
+
function Of(e) {
|
|
3273
|
+
let r = e.findAncestor((t) => t.type === "linkReference" || t.type === "imageReference");
|
|
3274
|
+
return r && (r.type !== "linkReference" || r.referenceType !== "full");
|
|
3275
|
+
}
|
|
3276
|
+
var Sf = (e, r) => {
|
|
3277
|
+
for (let t of r) e = R(0, e, t, encodeURIComponent(t));
|
|
3278
|
+
return e;
|
|
3279
|
+
};
|
|
3280
|
+
function qt(e, r = []) {
|
|
3281
|
+
let t = [" ", ...Array.isArray(r) ? r : [r]];
|
|
3282
|
+
return new RegExp(t.map((n) => le(n)).join("|"), "u").test(e) ? `<${Sf(e, "<>")}>` : e;
|
|
3283
|
+
}
|
|
3284
|
+
function Yr(e, r, t = true) {
|
|
3285
|
+
if (!e) return "";
|
|
3286
|
+
if (t) return " " + Yr(e, r, false);
|
|
3287
|
+
if (e = R(0, e, /\\(?=["')])/gu, ""), e.includes('"') && e.includes("'") && !e.includes(")")) return `(${e})`;
|
|
3288
|
+
let n = ai(e, r.singleQuote);
|
|
3289
|
+
return e = R(0, e, "\\", "\\\\"), e = R(0, e, n, `\\${n}`), `${n}${e}${n}`;
|
|
3290
|
+
}
|
|
3291
|
+
function Nf(e) {
|
|
3292
|
+
return e.index > 0 && cr(e.previous) === "next";
|
|
3293
|
+
}
|
|
3294
|
+
function Ot(e) {
|
|
3295
|
+
return `[${(0, zi.default)(e.label)}]`;
|
|
3296
|
+
}
|
|
3297
|
+
function Gi(e) {
|
|
3298
|
+
return `[^${e.label}]`;
|
|
3299
|
+
}
|
|
3300
|
+
var If = { features: { experimental_frontMatterSupport: { massageAstNode: true, embed: true, print: true } }, preprocess: Pi, print: _f, embed: yi, massageAstNode: Ai, hasPrettierIgnore: Nf, insertPragma: Ei, getVisitorKeys: Bi }, Wi = If;
|
|
3301
|
+
var Vi = [{ name: "Markdown", type: "prose", aceMode: "markdown", extensions: [".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"], filenames: ["contents.lr", "README"], tmScope: "text.md", aliases: ["md", "pandoc"], codemirrorMode: "gfm", codemirrorMimeType: "text/x-gfm", wrap: true, parsers: ["markdown"], vscodeLanguageIds: ["markdown"], linguistLanguageId: 222 }, { name: "MDX", type: "prose", aceMode: "markdown", extensions: [".mdx"], filenames: [], tmScope: "text.md", aliases: ["md", "pandoc"], codemirrorMode: "gfm", codemirrorMimeType: "text/x-gfm", wrap: true, parsers: ["mdx"], vscodeLanguageIds: ["mdx"], linguistLanguageId: 222 }];
|
|
3302
|
+
var St = { singleQuote: { category: "Common", type: "boolean", default: false, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] } };
|
|
3303
|
+
var Pf = { proseWrap: St.proseWrap, singleQuote: St.singleQuote }, $i = Pf;
|
|
3304
|
+
var Gn = {};
|
|
3305
|
+
zn(Gn, { markdown: () => Qm, mdx: () => Zm, remark: () => Qm });
|
|
3306
|
+
var sl = Le(Hi()), cl = Le(su()), ll = Le(nc()), fl = Le(Xc());
|
|
3307
|
+
var Wm = /^import\s/u, Vm = /^export\s/u, Jc = "[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|", Qc = /<!---->|<!---?[^>-](?:-?[^-])*-->/u, $m = /^\{\s*\/\*(.*)\*\/\s*\}/u;
|
|
3308
|
+
var jm = (e) => Wm.test(e), Zc = (e) => Vm.test(e), el = (e) => jm(e) || Zc(e), Yn = (e, r) => {
|
|
3309
|
+
let t = r.indexOf(`
|
|
3310
|
+
|
|
3311
|
+
`), n = t === -1 ? r : r.slice(0, t);
|
|
3312
|
+
if (el(n)) return e(n)({ type: Zc(n) ? "export" : "import", value: n });
|
|
3313
|
+
};
|
|
3314
|
+
Yn.notInBlock = true;
|
|
3315
|
+
Yn.locator = (e) => el(e) ? -1 : 1;
|
|
3316
|
+
var rl = (e, r) => {
|
|
3317
|
+
let t = $m.exec(r);
|
|
3318
|
+
if (t) return e(t[0])({ type: "esComment", value: t[1].trim() });
|
|
3319
|
+
};
|
|
3320
|
+
rl.locator = (e, r) => e.indexOf("{", r);
|
|
3321
|
+
var tl = function() {
|
|
3322
|
+
let { Parser: e } = this, { blockTokenizers: r, blockMethods: t, inlineTokenizers: n, inlineMethods: i } = e.prototype;
|
|
3323
|
+
r.esSyntax = Yn, n.esComment = rl, t.splice(t.indexOf("paragraph"), 0, "esSyntax"), i.splice(i.indexOf("text"), 0, "esComment");
|
|
3324
|
+
};
|
|
3325
|
+
var Hm = function() {
|
|
3326
|
+
let e = this.Parser.prototype;
|
|
3327
|
+
e.blockMethods = ["frontMatter", ...e.blockMethods], e.blockTokenizers.frontMatter = r;
|
|
3328
|
+
function r(t, n) {
|
|
3329
|
+
let { frontMatter: i } = Te(n);
|
|
3330
|
+
if (i) return t(i.raw)({ ...i, type: "frontMatter" });
|
|
3331
|
+
}
|
|
3332
|
+
r.onlyAtStart = true;
|
|
3333
|
+
}, nl = Hm;
|
|
3334
|
+
function Km() {
|
|
3335
|
+
return (e) => xe(e, (r, t, [n]) => r.type !== "html" || Qc.test(r.value) || Lr.has(n.type) ? r : { ...r, type: "jsx" });
|
|
3336
|
+
}
|
|
3337
|
+
var il = Km;
|
|
3338
|
+
var Xm = function() {
|
|
3339
|
+
let e = this.Parser.prototype, r = e.inlineMethods;
|
|
3340
|
+
r.splice(r.indexOf("text"), 0, "liquid"), e.inlineTokenizers.liquid = t;
|
|
3341
|
+
function t(n, i) {
|
|
3342
|
+
let u = i.match(/^(\{%.*?%\}|\{\{.*?\}\})/su);
|
|
3343
|
+
if (u) return n(u[0])({ type: "liquidNode", value: u[0] });
|
|
3344
|
+
}
|
|
3345
|
+
t.locator = function(n, i) {
|
|
3346
|
+
return n.indexOf("{", i);
|
|
3347
|
+
};
|
|
3348
|
+
}, ul = Xm;
|
|
3349
|
+
var Jm = function() {
|
|
3350
|
+
let e = "wikiLink", r = /^\[\[(?<linkContents>.+?)\]\]/su, t = this.Parser.prototype, n = t.inlineMethods;
|
|
3351
|
+
n.splice(n.indexOf("link"), 0, e), t.inlineTokenizers.wikiLink = i;
|
|
3352
|
+
function i(u, a) {
|
|
3353
|
+
let o = r.exec(a);
|
|
3354
|
+
if (o) {
|
|
3355
|
+
let s = o.groups.linkContents.trim();
|
|
3356
|
+
return u(o[0])({ type: e, value: s });
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
i.locator = function(u, a) {
|
|
3360
|
+
return u.indexOf("[", a);
|
|
3361
|
+
};
|
|
3362
|
+
}, al = Jm;
|
|
3363
|
+
function Dl({ isMDX: e }) {
|
|
3364
|
+
return (r) => {
|
|
3365
|
+
let t = (0, fl.default)().use(ll.default, { commonmark: true, ...e && { blocks: [Jc] } }).use(sl.default).use(nl).use(cl.default).use(e ? tl : ol).use(ul).use(e ? il : ol).use(al);
|
|
3366
|
+
return t.run(t.parse(r));
|
|
3367
|
+
};
|
|
3368
|
+
}
|
|
3369
|
+
function ol() {
|
|
3370
|
+
}
|
|
3371
|
+
var pl = { astFormat: "mdast", hasPragma: Pr, hasIgnorePragma: gi, locStart: qe, locEnd: Oe }, Qm = { ...pl, parse: Dl({ isMDX: false }) }, Zm = { ...pl, parse: Dl({ isMDX: true }) };
|
|
3372
|
+
var eF = { mdast: Wi };
|
|
3373
|
+
export {
|
|
3374
|
+
hl as default,
|
|
3375
|
+
Vi as languages,
|
|
3376
|
+
$i as options,
|
|
3377
|
+
Gn as parsers,
|
|
3378
|
+
eF as printers
|
|
3379
|
+
};
|
|
3380
|
+
//# sourceMappingURL=markdown-B2nQpAgl.js.map
|