@pi-outpost/embed 0.25.1 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{docxExport-_j7ragkM.js → docxExport-D9BU770f.js} +3 -3
- package/dist/{docxExport-Ct9-zCCP.cjs → docxExport-DKx7m8Wz.cjs} +3 -3
- package/dist/{download-CqPD34Wv.js → lib-BV1VyBDK.js} +1017 -1017
- package/dist/lib-CRwQ7yuW.cjs +26 -0
- package/dist/pi-outpost-embed.cjs +65 -64
- package/dist/pi-outpost-embed.js +19746 -14199
- package/package.json +1 -1
- package/dist/download-HsZRTZnW.cjs +0 -26
|
@@ -69,26 +69,32 @@ function i(e) {
|
|
|
69
69
|
return t.join("");
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
72
|
+
//#region ../ui/src/util/download.ts
|
|
73
|
+
function a(e, t) {
|
|
74
|
+
let n = URL.createObjectURL(e), r = document.createElement("a");
|
|
75
|
+
r.href = n, r.download = t, r.click(), URL.revokeObjectURL(n);
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
72
78
|
//#region ../node_modules/devlop/lib/default.js
|
|
73
|
-
function a() {}
|
|
74
79
|
function o() {}
|
|
80
|
+
function s() {}
|
|
75
81
|
//#endregion
|
|
76
82
|
//#region ../node_modules/unist-util-stringify-position/lib/index.js
|
|
77
|
-
function s(e) {
|
|
78
|
-
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? l(e.position) : "start" in e || "end" in e ? l(e) : "line" in e || "column" in e ? c(e) : "";
|
|
79
|
-
}
|
|
80
83
|
function c(e) {
|
|
81
|
-
return
|
|
84
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? u(e.position) : "start" in e || "end" in e ? u(e) : "line" in e || "column" in e ? l(e) : "";
|
|
82
85
|
}
|
|
83
86
|
function l(e) {
|
|
84
|
-
return
|
|
87
|
+
return d(e && e.line) + ":" + d(e && e.column);
|
|
85
88
|
}
|
|
86
89
|
function u(e) {
|
|
90
|
+
return l(e && e.start) + "-" + l(e && e.end);
|
|
91
|
+
}
|
|
92
|
+
function d(e) {
|
|
87
93
|
return e && typeof e == "number" ? e : 1;
|
|
88
94
|
}
|
|
89
95
|
//#endregion
|
|
90
96
|
//#region ../node_modules/vfile-message/lib/index.js
|
|
91
|
-
var
|
|
97
|
+
var f = class extends Error {
|
|
92
98
|
constructor(e, t, n) {
|
|
93
99
|
super(), typeof t == "string" && (n = t, t = void 0);
|
|
94
100
|
let r = "", i = {}, a = !1;
|
|
@@ -104,36 +110,36 @@ var d = class extends Error {
|
|
|
104
110
|
e && (i.place = e.position);
|
|
105
111
|
}
|
|
106
112
|
let o = i.place && "start" in i.place ? i.place.start : i.place;
|
|
107
|
-
this.ancestors = i.ancestors || void 0, this.cause = i.cause || void 0, this.column = o ? o.column : void 0, this.fatal = void 0, this.file = "", this.message = r, this.line = o ? o.line : void 0, this.name =
|
|
113
|
+
this.ancestors = i.ancestors || void 0, this.cause = i.cause || void 0, this.column = o ? o.column : void 0, this.fatal = void 0, this.file = "", this.message = r, this.line = o ? o.line : void 0, this.name = c(i.place) || "1:1", this.place = i.place || void 0, this.reason = this.message, this.ruleId = i.ruleId || void 0, this.source = i.source || void 0, this.stack = a && i.cause && typeof i.cause.stack == "string" ? i.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
|
|
108
114
|
}
|
|
109
115
|
};
|
|
110
|
-
|
|
116
|
+
f.prototype.file = "", f.prototype.name = "", f.prototype.reason = "", f.prototype.message = "", f.prototype.stack = "", f.prototype.column = void 0, f.prototype.line = void 0, f.prototype.ancestors = void 0, f.prototype.cause = void 0, f.prototype.fatal = void 0, f.prototype.place = void 0, f.prototype.ruleId = void 0, f.prototype.source = void 0;
|
|
111
117
|
//#endregion
|
|
112
118
|
//#region ../node_modules/mdast-util-to-string/lib/index.js
|
|
113
|
-
var
|
|
114
|
-
function
|
|
115
|
-
let n = t ||
|
|
116
|
-
return
|
|
119
|
+
var p = {};
|
|
120
|
+
function m(e, t) {
|
|
121
|
+
let n = t || p;
|
|
122
|
+
return h(e, typeof n.includeImageAlt != "boolean" || n.includeImageAlt, typeof n.includeHtml != "boolean" || n.includeHtml);
|
|
117
123
|
}
|
|
118
|
-
function
|
|
119
|
-
if (
|
|
124
|
+
function h(e, t, n) {
|
|
125
|
+
if (_(e)) {
|
|
120
126
|
if ("value" in e) return e.type === "html" && !n ? "" : e.value;
|
|
121
127
|
if (t && "alt" in e && e.alt) return e.alt;
|
|
122
|
-
if ("children" in e) return
|
|
128
|
+
if ("children" in e) return g(e.children, t, n);
|
|
123
129
|
}
|
|
124
|
-
return Array.isArray(e) ?
|
|
130
|
+
return Array.isArray(e) ? g(e, t, n) : "";
|
|
125
131
|
}
|
|
126
|
-
function
|
|
132
|
+
function g(e, t, n) {
|
|
127
133
|
let r = [], i = -1;
|
|
128
|
-
for (; ++i < e.length;) r[i] =
|
|
134
|
+
for (; ++i < e.length;) r[i] = h(e[i], t, n);
|
|
129
135
|
return r.join("");
|
|
130
136
|
}
|
|
131
|
-
function
|
|
137
|
+
function _(e) {
|
|
132
138
|
return !!(e && typeof e == "object");
|
|
133
139
|
}
|
|
134
140
|
//#endregion
|
|
135
141
|
//#region ../node_modules/character-entities/index.js
|
|
136
|
-
var
|
|
142
|
+
var v = {
|
|
137
143
|
AElig: "Æ",
|
|
138
144
|
AMP: "&",
|
|
139
145
|
Aacute: "Á",
|
|
@@ -2259,73 +2265,73 @@ var _ = {
|
|
|
2259
2265
|
zscr: "𝓏",
|
|
2260
2266
|
zwj: "",
|
|
2261
2267
|
zwnj: ""
|
|
2262
|
-
},
|
|
2263
|
-
function
|
|
2264
|
-
return
|
|
2268
|
+
}, y = {}.hasOwnProperty;
|
|
2269
|
+
function b(e) {
|
|
2270
|
+
return y.call(v, e) ? v[e] : !1;
|
|
2265
2271
|
}
|
|
2266
2272
|
//#endregion
|
|
2267
2273
|
//#region ../node_modules/micromark-util-chunked/index.js
|
|
2268
|
-
function
|
|
2274
|
+
function x(e, t, n, r) {
|
|
2269
2275
|
let i = e.length, a = 0, o;
|
|
2270
2276
|
if (t = t < 0 ? -t > i ? 0 : i + t : t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4) o = Array.from(r), o.unshift(t, n), e.splice(...o);
|
|
2271
2277
|
else for (n && e.splice(t, n); a < r.length;) o = r.slice(a, a + 1e4), o.unshift(t, 0), e.splice(...o), a += 1e4, t += 1e4;
|
|
2272
2278
|
}
|
|
2273
|
-
function
|
|
2274
|
-
return e.length > 0 ? (
|
|
2279
|
+
function S(e, t) {
|
|
2280
|
+
return e.length > 0 ? (x(e, e.length, 0, t), e) : t;
|
|
2275
2281
|
}
|
|
2276
2282
|
//#endregion
|
|
2277
2283
|
//#region ../node_modules/micromark-util-combine-extensions/index.js
|
|
2278
|
-
var
|
|
2279
|
-
function
|
|
2284
|
+
var C = {}.hasOwnProperty;
|
|
2285
|
+
function w(e) {
|
|
2280
2286
|
let t = {}, n = -1;
|
|
2281
|
-
for (; ++n < e.length;)
|
|
2287
|
+
for (; ++n < e.length;) T(t, e[n]);
|
|
2282
2288
|
return t;
|
|
2283
2289
|
}
|
|
2284
|
-
function
|
|
2290
|
+
function T(e, t) {
|
|
2285
2291
|
let n;
|
|
2286
2292
|
for (n in t) {
|
|
2287
|
-
let r = (
|
|
2293
|
+
let r = (C.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n], a;
|
|
2288
2294
|
if (i) for (a in i) {
|
|
2289
|
-
|
|
2295
|
+
C.call(r, a) || (r[a] = []);
|
|
2290
2296
|
let e = i[a];
|
|
2291
|
-
|
|
2297
|
+
E(r[a], Array.isArray(e) ? e : e ? [e] : []);
|
|
2292
2298
|
}
|
|
2293
2299
|
}
|
|
2294
2300
|
}
|
|
2295
|
-
function
|
|
2301
|
+
function E(e, t) {
|
|
2296
2302
|
let n = -1, r = [];
|
|
2297
2303
|
for (; ++n < t.length;) (t[n].add === "after" ? e : r).push(t[n]);
|
|
2298
|
-
|
|
2304
|
+
x(e, 0, 0, r);
|
|
2299
2305
|
}
|
|
2300
2306
|
//#endregion
|
|
2301
2307
|
//#region ../node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
2302
|
-
function
|
|
2308
|
+
function D(e, t) {
|
|
2303
2309
|
let n = Number.parseInt(e, t);
|
|
2304
2310
|
return n < 9 || n === 11 || n > 13 && n < 32 || n > 126 && n < 160 || n > 55295 && n < 57344 || n > 64975 && n < 65008 || (n & 65535) == 65535 || (n & 65535) == 65534 || n > 1114111 ? "�" : String.fromCodePoint(n);
|
|
2305
2311
|
}
|
|
2306
2312
|
//#endregion
|
|
2307
2313
|
//#region ../node_modules/micromark-util-normalize-identifier/index.js
|
|
2308
|
-
function
|
|
2314
|
+
function O(e) {
|
|
2309
2315
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
2310
2316
|
}
|
|
2311
2317
|
//#endregion
|
|
2312
2318
|
//#region ../node_modules/micromark-util-character/index.js
|
|
2313
|
-
var
|
|
2314
|
-
function
|
|
2319
|
+
var k = V(/[A-Za-z]/), A = V(/[\dA-Za-z]/), j = V(/[#-'*+\--9=?A-Z^-~]/);
|
|
2320
|
+
function M(e) {
|
|
2315
2321
|
return e !== null && (e < 32 || e === 127);
|
|
2316
2322
|
}
|
|
2317
|
-
var
|
|
2318
|
-
function
|
|
2323
|
+
var N = V(/\d/), P = V(/[\dA-Fa-f]/), F = V(/[!-/:-@[-`{-~]/);
|
|
2324
|
+
function I(e) {
|
|
2319
2325
|
return e !== null && e < -2;
|
|
2320
2326
|
}
|
|
2321
|
-
function
|
|
2327
|
+
function L(e) {
|
|
2322
2328
|
return e !== null && (e < 0 || e === 32);
|
|
2323
2329
|
}
|
|
2324
|
-
function
|
|
2330
|
+
function R(e) {
|
|
2325
2331
|
return e === -2 || e === -1 || e === 32;
|
|
2326
2332
|
}
|
|
2327
|
-
var
|
|
2328
|
-
function
|
|
2333
|
+
var z = V(/\p{P}|\p{S}/u), B = V(/\s/);
|
|
2334
|
+
function V(e) {
|
|
2329
2335
|
return t;
|
|
2330
2336
|
function t(t) {
|
|
2331
2337
|
return t !== null && t > -1 && e.test(String.fromCharCode(t));
|
|
@@ -2333,20 +2339,20 @@ function z(e) {
|
|
|
2333
2339
|
}
|
|
2334
2340
|
//#endregion
|
|
2335
2341
|
//#region ../node_modules/micromark-factory-space/index.js
|
|
2336
|
-
function
|
|
2342
|
+
function H(e, t, n, r) {
|
|
2337
2343
|
let i = r ? r - 1 : Infinity, a = 0;
|
|
2338
2344
|
return o;
|
|
2339
2345
|
function o(r) {
|
|
2340
|
-
return
|
|
2346
|
+
return R(r) ? (e.enter(n), s(r)) : t(r);
|
|
2341
2347
|
}
|
|
2342
2348
|
function s(r) {
|
|
2343
|
-
return
|
|
2349
|
+
return R(r) && a++ < i ? (e.consume(r), s) : (e.exit(n), t(r));
|
|
2344
2350
|
}
|
|
2345
2351
|
}
|
|
2346
2352
|
//#endregion
|
|
2347
2353
|
//#region ../node_modules/micromark/lib/initialize/content.js
|
|
2348
|
-
var
|
|
2349
|
-
function
|
|
2354
|
+
var U = { tokenize: ee };
|
|
2355
|
+
function ee(e) {
|
|
2350
2356
|
let t = e.attempt(this.parser.constructs.contentInitial, r, i), n;
|
|
2351
2357
|
return t;
|
|
2352
2358
|
function r(n) {
|
|
@@ -2354,7 +2360,7 @@ function te(e) {
|
|
|
2354
2360
|
e.consume(n);
|
|
2355
2361
|
return;
|
|
2356
2362
|
}
|
|
2357
|
-
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"),
|
|
2363
|
+
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), H(e, t, "linePrefix");
|
|
2358
2364
|
}
|
|
2359
2365
|
function i(t) {
|
|
2360
2366
|
return e.enter("paragraph"), a(t);
|
|
@@ -2371,13 +2377,13 @@ function te(e) {
|
|
|
2371
2377
|
e.exit("chunkText"), e.exit("paragraph"), e.consume(t);
|
|
2372
2378
|
return;
|
|
2373
2379
|
}
|
|
2374
|
-
return
|
|
2380
|
+
return I(t) ? (e.consume(t), e.exit("chunkText"), a) : (e.consume(t), o);
|
|
2375
2381
|
}
|
|
2376
2382
|
}
|
|
2377
2383
|
//#endregion
|
|
2378
2384
|
//#region ../node_modules/micromark/lib/initialize/document.js
|
|
2379
|
-
var
|
|
2380
|
-
function
|
|
2385
|
+
var te = { tokenize: re }, ne = { tokenize: ie };
|
|
2386
|
+
function re(e) {
|
|
2381
2387
|
let t = this, n = [], r = 0, i, a, o;
|
|
2382
2388
|
return s;
|
|
2383
2389
|
function s(i) {
|
|
@@ -2398,7 +2404,7 @@ function ie(e) {
|
|
|
2398
2404
|
_(r);
|
|
2399
2405
|
let s = n;
|
|
2400
2406
|
for (; s < t.events.length;) t.events[s][1].end = { ...o }, s++;
|
|
2401
|
-
return
|
|
2407
|
+
return x(t.events, a + 1, 0, t.events.slice(n)), t.events.length = s, l(e);
|
|
2402
2408
|
}
|
|
2403
2409
|
return s(e);
|
|
2404
2410
|
}
|
|
@@ -2408,7 +2414,7 @@ function ie(e) {
|
|
|
2408
2414
|
if (i.currentConstruct && i.currentConstruct.concrete) return m(a);
|
|
2409
2415
|
t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
|
2410
2416
|
}
|
|
2411
|
-
return t.containerState = {}, e.check(
|
|
2417
|
+
return t.containerState = {}, e.check(ne, u, d)(a);
|
|
2412
2418
|
}
|
|
2413
2419
|
function u(e) {
|
|
2414
2420
|
return i && v(), _(r), f(e);
|
|
@@ -2417,7 +2423,7 @@ function ie(e) {
|
|
|
2417
2423
|
return t.parser.lazy[t.now().line] = r !== n.length, o = t.now().offset, m(e);
|
|
2418
2424
|
}
|
|
2419
2425
|
function f(n) {
|
|
2420
|
-
return t.containerState = {}, e.attempt(
|
|
2426
|
+
return t.containerState = {}, e.attempt(ne, p, m)(n);
|
|
2421
2427
|
}
|
|
2422
2428
|
function p(e) {
|
|
2423
2429
|
return r++, n.push([t.currentConstruct, t.containerState]), f(e);
|
|
@@ -2438,7 +2444,7 @@ function ie(e) {
|
|
|
2438
2444
|
g(e.exit("chunkFlow"), !0), _(0), e.consume(n);
|
|
2439
2445
|
return;
|
|
2440
2446
|
}
|
|
2441
|
-
return
|
|
2447
|
+
return I(n) ? (e.consume(n), g(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, s) : (e.consume(n), h);
|
|
2442
2448
|
}
|
|
2443
2449
|
function g(e, n) {
|
|
2444
2450
|
let s = t.sliceStream(e);
|
|
@@ -2454,7 +2460,7 @@ function ie(e) {
|
|
|
2454
2460
|
s = !0;
|
|
2455
2461
|
}
|
|
2456
2462
|
for (_(r), e = n; e < t.events.length;) t.events[e][1].end = { ...c }, e++;
|
|
2457
|
-
|
|
2463
|
+
x(t.events, a + 1, 0, t.events.slice(n)), t.events.length = e;
|
|
2458
2464
|
}
|
|
2459
2465
|
}
|
|
2460
2466
|
function _(r) {
|
|
@@ -2469,18 +2475,18 @@ function ie(e) {
|
|
|
2469
2475
|
i.write([null]), a = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
|
2470
2476
|
}
|
|
2471
2477
|
}
|
|
2472
|
-
function
|
|
2473
|
-
return
|
|
2478
|
+
function ie(e, t, n) {
|
|
2479
|
+
return H(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
2474
2480
|
}
|
|
2475
2481
|
//#endregion
|
|
2476
2482
|
//#region ../node_modules/micromark-util-classify-character/index.js
|
|
2477
|
-
function
|
|
2478
|
-
if (e === null ||
|
|
2479
|
-
if (
|
|
2483
|
+
function W(e) {
|
|
2484
|
+
if (e === null || L(e) || B(e)) return 1;
|
|
2485
|
+
if (z(e)) return 2;
|
|
2480
2486
|
}
|
|
2481
2487
|
//#endregion
|
|
2482
2488
|
//#region ../node_modules/micromark-util-resolve-all/index.js
|
|
2483
|
-
function
|
|
2489
|
+
function ae(e, t, n) {
|
|
2484
2490
|
let r = [], i = -1;
|
|
2485
2491
|
for (; ++i < e.length;) {
|
|
2486
2492
|
let a = e[i].resolveAll;
|
|
@@ -2518,7 +2524,7 @@ function se(e, t) {
|
|
|
2518
2524
|
type: c > 1 ? "strong" : "emphasis",
|
|
2519
2525
|
start: { ...o.start },
|
|
2520
2526
|
end: { ...s.end }
|
|
2521
|
-
}, e[r][1].end = { ...o.start }, e[n][1].start = { ...s.end }, l = [], e[r][1].end.offset - e[r][1].start.offset && (l =
|
|
2527
|
+
}, e[r][1].end = { ...o.start }, e[n][1].start = { ...s.end }, l = [], e[r][1].end.offset - e[r][1].start.offset && (l = S(l, [[
|
|
2522
2528
|
"enter",
|
|
2523
2529
|
e[r][1],
|
|
2524
2530
|
t
|
|
@@ -2526,7 +2532,7 @@ function se(e, t) {
|
|
|
2526
2532
|
"exit",
|
|
2527
2533
|
e[r][1],
|
|
2528
2534
|
t
|
|
2529
|
-
]])), l =
|
|
2535
|
+
]])), l = S(l, [
|
|
2530
2536
|
[
|
|
2531
2537
|
"enter",
|
|
2532
2538
|
i,
|
|
@@ -2547,7 +2553,7 @@ function se(e, t) {
|
|
|
2547
2553
|
a,
|
|
2548
2554
|
t
|
|
2549
2555
|
]
|
|
2550
|
-
]), l =
|
|
2556
|
+
]), l = S(l, ae(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), l = S(l, [
|
|
2551
2557
|
[
|
|
2552
2558
|
"exit",
|
|
2553
2559
|
a,
|
|
@@ -2568,7 +2574,7 @@ function se(e, t) {
|
|
|
2568
2574
|
i,
|
|
2569
2575
|
t
|
|
2570
2576
|
]
|
|
2571
|
-
]), e[n][1].end.offset - e[n][1].start.offset ? (u = 2, l =
|
|
2577
|
+
]), e[n][1].end.offset - e[n][1].start.offset ? (u = 2, l = S(l, [[
|
|
2572
2578
|
"enter",
|
|
2573
2579
|
e[n][1],
|
|
2574
2580
|
t
|
|
@@ -2576,7 +2582,7 @@ function se(e, t) {
|
|
|
2576
2582
|
"exit",
|
|
2577
2583
|
e[n][1],
|
|
2578
2584
|
t
|
|
2579
|
-
]])) : u = 0,
|
|
2585
|
+
]])) : u = 0, x(e, r - 1, n - r + 3, l), n = r + l.length - u - 2;
|
|
2580
2586
|
break;
|
|
2581
2587
|
}
|
|
2582
2588
|
}
|
|
@@ -2584,14 +2590,14 @@ function se(e, t) {
|
|
|
2584
2590
|
return e;
|
|
2585
2591
|
}
|
|
2586
2592
|
function ce(e, t) {
|
|
2587
|
-
let n = this.parser.constructs.attentionMarkers.null, r = this.previous, i =
|
|
2593
|
+
let n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = W(r), a;
|
|
2588
2594
|
return o;
|
|
2589
2595
|
function o(t) {
|
|
2590
2596
|
return a = t, e.enter("attentionSequence"), s(t);
|
|
2591
2597
|
}
|
|
2592
2598
|
function s(o) {
|
|
2593
2599
|
if (o === a) return e.consume(o), s;
|
|
2594
|
-
let c = e.exit("attentionSequence"), l =
|
|
2600
|
+
let c = e.exit("attentionSequence"), l = W(o), u = !l || l === 2 && i || n.includes(o), d = !i || i === 2 && l || n.includes(r);
|
|
2595
2601
|
return c._open = !!(a === 42 ? u : u && (i || !d)), c._close = !!(a === 42 ? d : d && (l || !u)), t(o);
|
|
2596
2602
|
}
|
|
2597
2603
|
}
|
|
@@ -2611,28 +2617,28 @@ function de(e, t, n) {
|
|
|
2611
2617
|
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(t), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a;
|
|
2612
2618
|
}
|
|
2613
2619
|
function a(t) {
|
|
2614
|
-
return
|
|
2620
|
+
return k(t) ? (e.consume(t), o) : t === 64 ? n(t) : l(t);
|
|
2615
2621
|
}
|
|
2616
2622
|
function o(e) {
|
|
2617
|
-
return e === 43 || e === 45 || e === 46 ||
|
|
2623
|
+
return e === 43 || e === 45 || e === 46 || A(e) ? (r = 1, s(e)) : l(e);
|
|
2618
2624
|
}
|
|
2619
2625
|
function s(t) {
|
|
2620
|
-
return t === 58 ? (e.consume(t), r = 0, c) : (t === 43 || t === 45 || t === 46 ||
|
|
2626
|
+
return t === 58 ? (e.consume(t), r = 0, c) : (t === 43 || t === 45 || t === 46 || A(t)) && r++ < 32 ? (e.consume(t), s) : (r = 0, l(t));
|
|
2621
2627
|
}
|
|
2622
2628
|
function c(r) {
|
|
2623
|
-
return r === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(r), e.exit("autolinkMarker"), e.exit("autolink"), t) : r === null || r === 32 || r === 60 ||
|
|
2629
|
+
return r === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(r), e.exit("autolinkMarker"), e.exit("autolink"), t) : r === null || r === 32 || r === 60 || M(r) ? n(r) : (e.consume(r), c);
|
|
2624
2630
|
}
|
|
2625
2631
|
function l(t) {
|
|
2626
|
-
return t === 64 ? (e.consume(t), u) :
|
|
2632
|
+
return t === 64 ? (e.consume(t), u) : j(t) ? (e.consume(t), l) : n(t);
|
|
2627
2633
|
}
|
|
2628
2634
|
function u(e) {
|
|
2629
|
-
return
|
|
2635
|
+
return A(e) ? d(e) : n(e);
|
|
2630
2636
|
}
|
|
2631
2637
|
function d(n) {
|
|
2632
2638
|
return n === 46 ? (e.consume(n), r = 0, u) : n === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(n), e.exit("autolinkMarker"), e.exit("autolink"), t) : f(n);
|
|
2633
2639
|
}
|
|
2634
2640
|
function f(t) {
|
|
2635
|
-
if ((t === 45 ||
|
|
2641
|
+
if ((t === 45 || A(t)) && r++ < 63) {
|
|
2636
2642
|
let n = t === 45 ? f : d;
|
|
2637
2643
|
return e.consume(t), n;
|
|
2638
2644
|
}
|
|
@@ -2641,17 +2647,17 @@ function de(e, t, n) {
|
|
|
2641
2647
|
}
|
|
2642
2648
|
//#endregion
|
|
2643
2649
|
//#region ../node_modules/micromark-core-commonmark/lib/blank-line.js
|
|
2644
|
-
var
|
|
2650
|
+
var G = {
|
|
2645
2651
|
partial: !0,
|
|
2646
2652
|
tokenize: fe
|
|
2647
2653
|
};
|
|
2648
2654
|
function fe(e, t, n) {
|
|
2649
2655
|
return r;
|
|
2650
2656
|
function r(t) {
|
|
2651
|
-
return
|
|
2657
|
+
return R(t) ? H(e, i, "linePrefix")(t) : i(t);
|
|
2652
2658
|
}
|
|
2653
2659
|
function i(e) {
|
|
2654
|
-
return e === null ||
|
|
2660
|
+
return e === null || I(e) ? t(e) : n(e);
|
|
2655
2661
|
}
|
|
2656
2662
|
}
|
|
2657
2663
|
//#endregion
|
|
@@ -2673,14 +2679,14 @@ function me(e, t, n) {
|
|
|
2673
2679
|
return n(t);
|
|
2674
2680
|
}
|
|
2675
2681
|
function a(n) {
|
|
2676
|
-
return
|
|
2682
|
+
return R(n) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(n), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(n));
|
|
2677
2683
|
}
|
|
2678
2684
|
}
|
|
2679
2685
|
function he(e, t, n) {
|
|
2680
2686
|
let r = this;
|
|
2681
2687
|
return i;
|
|
2682
2688
|
function i(t) {
|
|
2683
|
-
return
|
|
2689
|
+
return R(t) ? H(e, a, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : a(t);
|
|
2684
2690
|
}
|
|
2685
2691
|
function a(r) {
|
|
2686
2692
|
return e.attempt(pe, t, n)(r);
|
|
@@ -2701,7 +2707,7 @@ function ve(e, t, n) {
|
|
|
2701
2707
|
return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(t), e.exit("escapeMarker"), i;
|
|
2702
2708
|
}
|
|
2703
2709
|
function i(r) {
|
|
2704
|
-
return
|
|
2710
|
+
return F(r) ? (e.enter("characterEscapeValue"), e.consume(r), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(r);
|
|
2705
2711
|
}
|
|
2706
2712
|
}
|
|
2707
2713
|
//#endregion
|
|
@@ -2717,15 +2723,15 @@ function be(e, t, n) {
|
|
|
2717
2723
|
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(t), e.exit("characterReferenceMarker"), c;
|
|
2718
2724
|
}
|
|
2719
2725
|
function c(t) {
|
|
2720
|
-
return t === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(t), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), a = 31, o =
|
|
2726
|
+
return t === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(t), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), a = 31, o = A, u(t));
|
|
2721
2727
|
}
|
|
2722
2728
|
function l(t) {
|
|
2723
|
-
return t === 88 || t === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(t), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o =
|
|
2729
|
+
return t === 88 || t === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(t), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o = P, u) : (e.enter("characterReferenceValue"), a = 7, o = N, u(t));
|
|
2724
2730
|
}
|
|
2725
2731
|
function u(s) {
|
|
2726
2732
|
if (s === 59 && i) {
|
|
2727
2733
|
let i = e.exit("characterReferenceValue");
|
|
2728
|
-
return o ===
|
|
2734
|
+
return o === A && !b(r.sliceSerialize(i)) ? n(s) : (e.enter("characterReferenceMarker"), e.consume(s), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
2729
2735
|
}
|
|
2730
2736
|
return o(s) && i++ < a ? (e.consume(s), u) : n(s);
|
|
2731
2737
|
}
|
|
@@ -2754,19 +2760,19 @@ function Ce(e, t, n) {
|
|
|
2754
2760
|
return a = n && n[1].type === "linePrefix" ? n[2].sliceSerialize(n[1], !0).length : 0, s = t, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), u(t);
|
|
2755
2761
|
}
|
|
2756
2762
|
function u(t) {
|
|
2757
|
-
return t === s ? (o++, e.consume(t), u) : o < 3 ? n(t) : (e.exit("codeFencedFenceSequence"),
|
|
2763
|
+
return t === s ? (o++, e.consume(t), u) : o < 3 ? n(t) : (e.exit("codeFencedFenceSequence"), R(t) ? H(e, d, "whitespace")(t) : d(t));
|
|
2758
2764
|
}
|
|
2759
2765
|
function d(n) {
|
|
2760
|
-
return n === null ||
|
|
2766
|
+
return n === null || I(n) ? (e.exit("codeFencedFence"), r.interrupt ? t(n) : e.check(xe, h, b)(n)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { contentType: "string" }), f(n));
|
|
2761
2767
|
}
|
|
2762
2768
|
function f(t) {
|
|
2763
|
-
return t === null ||
|
|
2769
|
+
return t === null || I(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(t)) : R(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), H(e, p, "whitespace")(t)) : t === 96 && t === s ? n(t) : (e.consume(t), f);
|
|
2764
2770
|
}
|
|
2765
2771
|
function p(t) {
|
|
2766
|
-
return t === null ||
|
|
2772
|
+
return t === null || I(t) ? d(t) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { contentType: "string" }), m(t));
|
|
2767
2773
|
}
|
|
2768
2774
|
function m(t) {
|
|
2769
|
-
return t === null ||
|
|
2775
|
+
return t === null || I(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(t)) : t === 96 && t === s ? n(t) : (e.consume(t), m);
|
|
2770
2776
|
}
|
|
2771
2777
|
function h(t) {
|
|
2772
2778
|
return e.attempt(i, b, g)(t);
|
|
@@ -2775,13 +2781,13 @@ function Ce(e, t, n) {
|
|
|
2775
2781
|
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), _;
|
|
2776
2782
|
}
|
|
2777
2783
|
function _(t) {
|
|
2778
|
-
return a > 0 &&
|
|
2784
|
+
return a > 0 && R(t) ? H(e, v, "linePrefix", a + 1)(t) : v(t);
|
|
2779
2785
|
}
|
|
2780
2786
|
function v(t) {
|
|
2781
|
-
return t === null ||
|
|
2787
|
+
return t === null || I(t) ? e.check(xe, h, b)(t) : (e.enter("codeFlowValue"), y(t));
|
|
2782
2788
|
}
|
|
2783
2789
|
function y(t) {
|
|
2784
|
-
return t === null ||
|
|
2790
|
+
return t === null || I(t) ? (e.exit("codeFlowValue"), v(t)) : (e.consume(t), y);
|
|
2785
2791
|
}
|
|
2786
2792
|
function b(n) {
|
|
2787
2793
|
return e.exit("codeFenced"), t(n);
|
|
@@ -2793,16 +2799,16 @@ function Ce(e, t, n) {
|
|
|
2793
2799
|
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), c;
|
|
2794
2800
|
}
|
|
2795
2801
|
function c(t) {
|
|
2796
|
-
return e.enter("codeFencedFence"),
|
|
2802
|
+
return e.enter("codeFencedFence"), R(t) ? H(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : l(t);
|
|
2797
2803
|
}
|
|
2798
2804
|
function l(t) {
|
|
2799
2805
|
return t === s ? (e.enter("codeFencedFenceSequence"), u(t)) : n(t);
|
|
2800
2806
|
}
|
|
2801
2807
|
function u(t) {
|
|
2802
|
-
return t === s ? (i++, e.consume(t), u) : i >= o ? (e.exit("codeFencedFenceSequence"),
|
|
2808
|
+
return t === s ? (i++, e.consume(t), u) : i >= o ? (e.exit("codeFencedFenceSequence"), R(t) ? H(e, d, "whitespace")(t) : d(t)) : n(t);
|
|
2803
2809
|
}
|
|
2804
2810
|
function d(r) {
|
|
2805
|
-
return r === null ||
|
|
2811
|
+
return r === null || I(r) ? (e.exit("codeFencedFence"), t(r)) : n(r);
|
|
2806
2812
|
}
|
|
2807
2813
|
}
|
|
2808
2814
|
}
|
|
@@ -2829,17 +2835,17 @@ function De(e, t, n) {
|
|
|
2829
2835
|
let r = this;
|
|
2830
2836
|
return i;
|
|
2831
2837
|
function i(t) {
|
|
2832
|
-
return e.enter("codeIndented"),
|
|
2838
|
+
return e.enter("codeIndented"), H(e, a, "linePrefix", 5)(t);
|
|
2833
2839
|
}
|
|
2834
2840
|
function a(e) {
|
|
2835
2841
|
let t = r.events[r.events.length - 1];
|
|
2836
2842
|
return t && t[1].type === "linePrefix" && t[2].sliceSerialize(t[1], !0).length >= 4 ? o(e) : n(e);
|
|
2837
2843
|
}
|
|
2838
2844
|
function o(t) {
|
|
2839
|
-
return t === null ? c(t) :
|
|
2845
|
+
return t === null ? c(t) : I(t) ? e.attempt(Ee, o, c)(t) : (e.enter("codeFlowValue"), s(t));
|
|
2840
2846
|
}
|
|
2841
2847
|
function s(t) {
|
|
2842
|
-
return t === null ||
|
|
2848
|
+
return t === null || I(t) ? (e.exit("codeFlowValue"), o(t)) : (e.consume(t), s);
|
|
2843
2849
|
}
|
|
2844
2850
|
function c(n) {
|
|
2845
2851
|
return e.exit("codeIndented"), t(n);
|
|
@@ -2849,11 +2855,11 @@ function Oe(e, t, n) {
|
|
|
2849
2855
|
let r = this;
|
|
2850
2856
|
return i;
|
|
2851
2857
|
function i(t) {
|
|
2852
|
-
return r.parser.lazy[r.now().line] ? n(t) :
|
|
2858
|
+
return r.parser.lazy[r.now().line] ? n(t) : I(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), i) : H(e, a, "linePrefix", 5)(t);
|
|
2853
2859
|
}
|
|
2854
2860
|
function a(e) {
|
|
2855
2861
|
let a = r.events[r.events.length - 1];
|
|
2856
|
-
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(e) :
|
|
2862
|
+
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(e) : I(e) ? i(e) : n(e);
|
|
2857
2863
|
}
|
|
2858
2864
|
}
|
|
2859
2865
|
//#endregion
|
|
@@ -2888,10 +2894,10 @@ function Me(e, t, n) {
|
|
|
2888
2894
|
return t === 96 ? (e.consume(t), r++, s) : (e.exit("codeTextSequence"), c(t));
|
|
2889
2895
|
}
|
|
2890
2896
|
function c(t) {
|
|
2891
|
-
return t === null ? n(t) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), c) : t === 96 ? (a = e.enter("codeTextSequence"), i = 0, u(t)) :
|
|
2897
|
+
return t === null ? n(t) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), c) : t === 96 ? (a = e.enter("codeTextSequence"), i = 0, u(t)) : I(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), c) : (e.enter("codeTextData"), l(t));
|
|
2892
2898
|
}
|
|
2893
2899
|
function l(t) {
|
|
2894
|
-
return t === null || t === 32 || t === 96 ||
|
|
2900
|
+
return t === null || t === 32 || t === 96 || I(t) ? (e.exit("codeTextData"), c(t)) : (e.consume(t), l);
|
|
2895
2901
|
}
|
|
2896
2902
|
function u(n) {
|
|
2897
2903
|
return n === 96 ? (e.consume(n), i++, u) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(n)) : (a.type = "codeTextData", l(n));
|
|
@@ -2921,7 +2927,7 @@ var Ne = class {
|
|
|
2921
2927
|
let r = t || 0;
|
|
2922
2928
|
this.setCursor(Math.trunc(e));
|
|
2923
2929
|
let i = this.right.splice(this.right.length - r, Infinity);
|
|
2924
|
-
return n &&
|
|
2930
|
+
return n && Pe(this.left, n), i.reverse();
|
|
2925
2931
|
}
|
|
2926
2932
|
pop() {
|
|
2927
2933
|
return this.setCursor(Infinity), this.left.pop();
|
|
@@ -2930,48 +2936,48 @@ var Ne = class {
|
|
|
2930
2936
|
this.setCursor(Infinity), this.left.push(e);
|
|
2931
2937
|
}
|
|
2932
2938
|
pushMany(e) {
|
|
2933
|
-
this.setCursor(Infinity),
|
|
2939
|
+
this.setCursor(Infinity), Pe(this.left, e);
|
|
2934
2940
|
}
|
|
2935
2941
|
unshift(e) {
|
|
2936
2942
|
this.setCursor(0), this.right.push(e);
|
|
2937
2943
|
}
|
|
2938
2944
|
unshiftMany(e) {
|
|
2939
|
-
this.setCursor(0),
|
|
2945
|
+
this.setCursor(0), Pe(this.right, e.reverse());
|
|
2940
2946
|
}
|
|
2941
2947
|
setCursor(e) {
|
|
2942
2948
|
if (!(e === this.left.length || e > this.left.length && this.right.length === 0 || e < 0 && this.left.length === 0)) {
|
|
2943
2949
|
if (e < this.left.length) {
|
|
2944
2950
|
let t = this.left.splice(e, Infinity);
|
|
2945
|
-
|
|
2951
|
+
Pe(this.right, t.reverse());
|
|
2946
2952
|
} else {
|
|
2947
2953
|
let t = this.right.splice(this.left.length + this.right.length - e, Infinity);
|
|
2948
|
-
|
|
2954
|
+
Pe(this.left, t.reverse());
|
|
2949
2955
|
}
|
|
2950
2956
|
}
|
|
2951
2957
|
}
|
|
2952
2958
|
};
|
|
2953
|
-
function
|
|
2959
|
+
function Pe(e, t) {
|
|
2954
2960
|
let n = 0;
|
|
2955
2961
|
if (t.length < 1e4) e.push(...t);
|
|
2956
2962
|
else for (; n < t.length;) e.push(...t.slice(n, n + 1e4)), n += 1e4;
|
|
2957
2963
|
}
|
|
2958
2964
|
//#endregion
|
|
2959
2965
|
//#region ../node_modules/micromark-util-subtokenize/index.js
|
|
2960
|
-
function
|
|
2966
|
+
function Fe(e) {
|
|
2961
2967
|
let t = {}, n = -1, r, i, a, o, s, c, l, u = new Ne(e);
|
|
2962
2968
|
for (; ++n < u.length;) {
|
|
2963
2969
|
for (; n in t;) n = t[n];
|
|
2964
2970
|
if (r = u.get(n), n && r[1].type === "chunkFlow" && u.get(n - 1)[1].type === "listItemPrefix" && (c = r[1]._tokenizer.events, a = 0, a < c.length && c[a][1].type === "lineEndingBlank" && (a += 2), a < c.length && c[a][1].type === "content")) for (; ++a < c.length && c[a][1].type !== "content";) c[a][1].type === "chunkText" && (c[a][1]._isInFirstContentOfListItem = !0, a++);
|
|
2965
|
-
if (r[0] === "enter") r[1].contentType && (Object.assign(t,
|
|
2971
|
+
if (r[0] === "enter") r[1].contentType && (Object.assign(t, Ie(u, n)), n = t[n], l = !0);
|
|
2966
2972
|
else if (r[1]._container) {
|
|
2967
2973
|
for (a = n, i = void 0; a--;) if (o = u.get(a), o[1].type === "lineEnding" || o[1].type === "lineEndingBlank") o[0] === "enter" && (i && (u.get(i)[1].type = "lineEndingBlank"), o[1].type = "lineEnding", i = a);
|
|
2968
2974
|
else if (o[1].type !== "linePrefix" && o[1].type !== "listItemIndent") break;
|
|
2969
2975
|
i && (r[1].end = { ...u.get(i)[1].start }, s = u.slice(i, n), s.unshift(r), u.splice(i, n - i + 1, s));
|
|
2970
2976
|
}
|
|
2971
2977
|
}
|
|
2972
|
-
return
|
|
2978
|
+
return x(e, 0, Infinity, u.slice(0)), !l;
|
|
2973
2979
|
}
|
|
2974
|
-
function
|
|
2980
|
+
function Ie(e, t) {
|
|
2975
2981
|
let n = e.get(t)[1], r = e.get(t)[2], i = t - 1, a = [], o = n._tokenizer;
|
|
2976
2982
|
o || (o = r.parser[n.contentType](n.start), n._contentTypeTextTrailing && (o._contentTypeTextTrailing = !0));
|
|
2977
2983
|
let s = o.events, c = [], l = {}, u, d, f = -1, p = n, m = 0, h = 0, g = [h];
|
|
@@ -2989,24 +2995,24 @@ function Fe(e, t) {
|
|
|
2989
2995
|
}
|
|
2990
2996
|
//#endregion
|
|
2991
2997
|
//#region ../node_modules/micromark-core-commonmark/lib/content.js
|
|
2992
|
-
var
|
|
2993
|
-
resolve:
|
|
2994
|
-
tokenize: ze
|
|
2995
|
-
}, Le = {
|
|
2996
|
-
partial: !0,
|
|
2998
|
+
var Le = {
|
|
2999
|
+
resolve: ze,
|
|
2997
3000
|
tokenize: Be
|
|
3001
|
+
}, Re = {
|
|
3002
|
+
partial: !0,
|
|
3003
|
+
tokenize: Ve
|
|
2998
3004
|
};
|
|
2999
|
-
function
|
|
3000
|
-
return
|
|
3005
|
+
function ze(e) {
|
|
3006
|
+
return Fe(e), e;
|
|
3001
3007
|
}
|
|
3002
|
-
function
|
|
3008
|
+
function Be(e, t) {
|
|
3003
3009
|
let n;
|
|
3004
3010
|
return r;
|
|
3005
3011
|
function r(t) {
|
|
3006
3012
|
return e.enter("content"), n = e.enter("chunkContent", { contentType: "content" }), i(t);
|
|
3007
3013
|
}
|
|
3008
3014
|
function i(t) {
|
|
3009
|
-
return t === null ? a(t) :
|
|
3015
|
+
return t === null ? a(t) : I(t) ? e.check(Re, o, a)(t) : (e.consume(t), i);
|
|
3010
3016
|
}
|
|
3011
3017
|
function a(n) {
|
|
3012
3018
|
return e.exit("chunkContent"), e.exit("content"), t(n);
|
|
@@ -3018,37 +3024,37 @@ function ze(e, t) {
|
|
|
3018
3024
|
}), n = n.next, i;
|
|
3019
3025
|
}
|
|
3020
3026
|
}
|
|
3021
|
-
function
|
|
3027
|
+
function Ve(e, t, n) {
|
|
3022
3028
|
let r = this;
|
|
3023
3029
|
return i;
|
|
3024
3030
|
function i(t) {
|
|
3025
|
-
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"),
|
|
3031
|
+
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), H(e, a, "linePrefix");
|
|
3026
3032
|
}
|
|
3027
3033
|
function a(i) {
|
|
3028
|
-
if (i === null ||
|
|
3034
|
+
if (i === null || I(i)) return n(i);
|
|
3029
3035
|
let a = r.events[r.events.length - 1];
|
|
3030
3036
|
return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(i) : e.interrupt(r.parser.constructs.flow, n, t)(i);
|
|
3031
3037
|
}
|
|
3032
3038
|
}
|
|
3033
3039
|
//#endregion
|
|
3034
3040
|
//#region ../node_modules/micromark-factory-destination/index.js
|
|
3035
|
-
function
|
|
3041
|
+
function He(e, t, n, r, i, a, o, s, c) {
|
|
3036
3042
|
let l = c || Infinity, u = 0;
|
|
3037
3043
|
return d;
|
|
3038
3044
|
function d(t) {
|
|
3039
|
-
return t === 60 ? (e.enter(r), e.enter(i), e.enter(a), e.consume(t), e.exit(a), f) : t === null || t === 32 || t === 41 ||
|
|
3045
|
+
return t === 60 ? (e.enter(r), e.enter(i), e.enter(a), e.consume(t), e.exit(a), f) : t === null || t === 32 || t === 41 || M(t) ? n(t) : (e.enter(r), e.enter(o), e.enter(s), e.enter("chunkString", { contentType: "string" }), h(t));
|
|
3040
3046
|
}
|
|
3041
3047
|
function f(n) {
|
|
3042
3048
|
return n === 62 ? (e.enter(a), e.consume(n), e.exit(a), e.exit(i), e.exit(r), t) : (e.enter(s), e.enter("chunkString", { contentType: "string" }), p(n));
|
|
3043
3049
|
}
|
|
3044
3050
|
function p(t) {
|
|
3045
|
-
return t === 62 ? (e.exit("chunkString"), e.exit(s), f(t)) : t === null || t === 60 ||
|
|
3051
|
+
return t === 62 ? (e.exit("chunkString"), e.exit(s), f(t)) : t === null || t === 60 || I(t) ? n(t) : (e.consume(t), t === 92 ? m : p);
|
|
3046
3052
|
}
|
|
3047
3053
|
function m(t) {
|
|
3048
3054
|
return t === 60 || t === 62 || t === 92 ? (e.consume(t), p) : p(t);
|
|
3049
3055
|
}
|
|
3050
3056
|
function h(i) {
|
|
3051
|
-
return !u && (i === null || i === 41 ||
|
|
3057
|
+
return !u && (i === null || i === 41 || L(i)) ? (e.exit("chunkString"), e.exit(s), e.exit(o), e.exit(r), t(i)) : u < l && i === 40 ? (e.consume(i), u++, h) : i === 41 ? (e.consume(i), u--, h) : i === null || i === 32 || i === 40 || M(i) ? n(i) : (e.consume(i), i === 92 ? g : h);
|
|
3052
3058
|
}
|
|
3053
3059
|
function g(t) {
|
|
3054
3060
|
return t === 40 || t === 41 || t === 92 ? (e.consume(t), h) : h(t);
|
|
@@ -3056,7 +3062,7 @@ function Ve(e, t, n, r, i, a, o, s, c) {
|
|
|
3056
3062
|
}
|
|
3057
3063
|
//#endregion
|
|
3058
3064
|
//#region ../node_modules/micromark-factory-label/index.js
|
|
3059
|
-
function
|
|
3065
|
+
function Ue(e, t, n, r, i, a) {
|
|
3060
3066
|
let o = this, s = 0, c;
|
|
3061
3067
|
return l;
|
|
3062
3068
|
function l(t) {
|
|
@@ -3065,10 +3071,10 @@ function He(e, t, n, r, i, a) {
|
|
|
3065
3071
|
function u(l) {
|
|
3066
3072
|
return s > 999 || l === null || l === 91 || l === 93 && !c ||
|
|
3067
3073
|
/* c8 ignore next 3 */
|
|
3068
|
-
l === 94 && !s && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : l === 93 ? (e.exit(a), e.enter(i), e.consume(l), e.exit(i), e.exit(r), t) :
|
|
3074
|
+
l === 94 && !s && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : l === 93 ? (e.exit(a), e.enter(i), e.consume(l), e.exit(i), e.exit(r), t) : I(l) ? (e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), u) : (e.enter("chunkString", { contentType: "string" }), d(l));
|
|
3069
3075
|
}
|
|
3070
3076
|
function d(t) {
|
|
3071
|
-
return t === null || t === 91 || t === 93 ||
|
|
3077
|
+
return t === null || t === 91 || t === 93 || I(t) || s++ > 999 ? (e.exit("chunkString"), u(t)) : (e.consume(t), c ||= !R(t), t === 92 ? f : d);
|
|
3072
3078
|
}
|
|
3073
3079
|
function f(t) {
|
|
3074
3080
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), s++, d) : d(t);
|
|
@@ -3076,7 +3082,7 @@ function He(e, t, n, r, i, a) {
|
|
|
3076
3082
|
}
|
|
3077
3083
|
//#endregion
|
|
3078
3084
|
//#region ../node_modules/micromark-factory-title/index.js
|
|
3079
|
-
function
|
|
3085
|
+
function We(e, t, n, r, i, a) {
|
|
3080
3086
|
let o;
|
|
3081
3087
|
return s;
|
|
3082
3088
|
function s(t) {
|
|
@@ -3086,10 +3092,10 @@ function Ue(e, t, n, r, i, a) {
|
|
|
3086
3092
|
return n === o ? (e.enter(i), e.consume(n), e.exit(i), e.exit(r), t) : (e.enter(a), l(n));
|
|
3087
3093
|
}
|
|
3088
3094
|
function l(t) {
|
|
3089
|
-
return t === o ? (e.exit(a), c(o)) : t === null ? n(t) :
|
|
3095
|
+
return t === o ? (e.exit(a), c(o)) : t === null ? n(t) : I(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), H(e, l, "linePrefix")) : (e.enter("chunkString", { contentType: "string" }), u(t));
|
|
3090
3096
|
}
|
|
3091
3097
|
function u(t) {
|
|
3092
|
-
return t === o || t === null ||
|
|
3098
|
+
return t === o || t === null || I(t) ? (e.exit("chunkString"), l(t)) : (e.consume(t), t === 92 ? d : u);
|
|
3093
3099
|
}
|
|
3094
3100
|
function d(t) {
|
|
3095
3101
|
return t === o || t === 92 ? (e.consume(t), u) : u(t);
|
|
@@ -3101,84 +3107,84 @@ function K(e, t) {
|
|
|
3101
3107
|
let n;
|
|
3102
3108
|
return r;
|
|
3103
3109
|
function r(i) {
|
|
3104
|
-
return
|
|
3110
|
+
return I(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) : R(i) ? H(e, r, n ? "linePrefix" : "lineSuffix")(i) : t(i);
|
|
3105
3111
|
}
|
|
3106
3112
|
}
|
|
3107
3113
|
//#endregion
|
|
3108
3114
|
//#region ../node_modules/micromark-core-commonmark/lib/definition.js
|
|
3109
|
-
var
|
|
3115
|
+
var Ge = {
|
|
3110
3116
|
name: "definition",
|
|
3111
|
-
tokenize: Ke
|
|
3112
|
-
}, Ge = {
|
|
3113
|
-
partial: !0,
|
|
3114
3117
|
tokenize: qe
|
|
3118
|
+
}, Ke = {
|
|
3119
|
+
partial: !0,
|
|
3120
|
+
tokenize: Je
|
|
3115
3121
|
};
|
|
3116
|
-
function
|
|
3122
|
+
function qe(e, t, n) {
|
|
3117
3123
|
let r = this, i;
|
|
3118
3124
|
return a;
|
|
3119
3125
|
function a(t) {
|
|
3120
3126
|
return e.enter("definition"), o(t);
|
|
3121
3127
|
}
|
|
3122
3128
|
function o(t) {
|
|
3123
|
-
return
|
|
3129
|
+
return Ue.call(r, e, s, n, "definitionLabel", "definitionLabelMarker", "definitionLabelString")(t);
|
|
3124
3130
|
}
|
|
3125
3131
|
function s(t) {
|
|
3126
|
-
return i =
|
|
3132
|
+
return i = O(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), c) : n(t);
|
|
3127
3133
|
}
|
|
3128
3134
|
function c(t) {
|
|
3129
|
-
return
|
|
3135
|
+
return L(t) ? K(e, l)(t) : l(t);
|
|
3130
3136
|
}
|
|
3131
3137
|
function l(t) {
|
|
3132
|
-
return
|
|
3138
|
+
return He(e, u, n, "definitionDestination", "definitionDestinationLiteral", "definitionDestinationLiteralMarker", "definitionDestinationRaw", "definitionDestinationString")(t);
|
|
3133
3139
|
}
|
|
3134
3140
|
function u(t) {
|
|
3135
|
-
return e.attempt(
|
|
3141
|
+
return e.attempt(Ke, d, d)(t);
|
|
3136
3142
|
}
|
|
3137
3143
|
function d(t) {
|
|
3138
|
-
return
|
|
3144
|
+
return R(t) ? H(e, f, "whitespace")(t) : f(t);
|
|
3139
3145
|
}
|
|
3140
3146
|
function f(a) {
|
|
3141
|
-
return a === null ||
|
|
3147
|
+
return a === null || I(a) ? (e.exit("definition"), r.parser.defined.push(i), t(a)) : n(a);
|
|
3142
3148
|
}
|
|
3143
3149
|
}
|
|
3144
|
-
function
|
|
3150
|
+
function Je(e, t, n) {
|
|
3145
3151
|
return r;
|
|
3146
3152
|
function r(t) {
|
|
3147
|
-
return
|
|
3153
|
+
return L(t) ? K(e, i)(t) : n(t);
|
|
3148
3154
|
}
|
|
3149
3155
|
function i(t) {
|
|
3150
|
-
return
|
|
3156
|
+
return We(e, a, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(t);
|
|
3151
3157
|
}
|
|
3152
3158
|
function a(t) {
|
|
3153
|
-
return
|
|
3159
|
+
return R(t) ? H(e, o, "whitespace")(t) : o(t);
|
|
3154
3160
|
}
|
|
3155
3161
|
function o(e) {
|
|
3156
|
-
return e === null ||
|
|
3162
|
+
return e === null || I(e) ? t(e) : n(e);
|
|
3157
3163
|
}
|
|
3158
3164
|
}
|
|
3159
3165
|
//#endregion
|
|
3160
3166
|
//#region ../node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
3161
|
-
var
|
|
3167
|
+
var Ye = {
|
|
3162
3168
|
name: "hardBreakEscape",
|
|
3163
|
-
tokenize:
|
|
3169
|
+
tokenize: Xe
|
|
3164
3170
|
};
|
|
3165
|
-
function
|
|
3171
|
+
function Xe(e, t, n) {
|
|
3166
3172
|
return r;
|
|
3167
3173
|
function r(t) {
|
|
3168
3174
|
return e.enter("hardBreakEscape"), e.consume(t), i;
|
|
3169
3175
|
}
|
|
3170
3176
|
function i(r) {
|
|
3171
|
-
return
|
|
3177
|
+
return I(r) ? (e.exit("hardBreakEscape"), t(r)) : n(r);
|
|
3172
3178
|
}
|
|
3173
3179
|
}
|
|
3174
3180
|
//#endregion
|
|
3175
3181
|
//#region ../node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
3176
|
-
var
|
|
3182
|
+
var Ze = {
|
|
3177
3183
|
name: "headingAtx",
|
|
3178
|
-
resolve:
|
|
3179
|
-
tokenize:
|
|
3184
|
+
resolve: Qe,
|
|
3185
|
+
tokenize: $e
|
|
3180
3186
|
};
|
|
3181
|
-
function
|
|
3187
|
+
function Qe(e, t) {
|
|
3182
3188
|
let n = e.length - 2, r = 3, i, a;
|
|
3183
3189
|
return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (i = {
|
|
3184
3190
|
type: "atxHeadingText",
|
|
@@ -3189,7 +3195,7 @@ function Ze(e, t) {
|
|
|
3189
3195
|
start: e[r][1].start,
|
|
3190
3196
|
end: e[n][1].end,
|
|
3191
3197
|
contentType: "text"
|
|
3192
|
-
},
|
|
3198
|
+
}, x(e, r, n - r + 1, [
|
|
3193
3199
|
[
|
|
3194
3200
|
"enter",
|
|
3195
3201
|
i,
|
|
@@ -3212,7 +3218,7 @@ function Ze(e, t) {
|
|
|
3212
3218
|
]
|
|
3213
3219
|
])), e;
|
|
3214
3220
|
}
|
|
3215
|
-
function
|
|
3221
|
+
function $e(e, t, n) {
|
|
3216
3222
|
let r = 0;
|
|
3217
3223
|
return i;
|
|
3218
3224
|
function i(t) {
|
|
@@ -3222,43 +3228,43 @@ function Qe(e, t, n) {
|
|
|
3222
3228
|
return e.enter("atxHeadingSequence"), o(t);
|
|
3223
3229
|
}
|
|
3224
3230
|
function o(t) {
|
|
3225
|
-
return t === 35 && r++ < 6 ? (e.consume(t), o) : t === null ||
|
|
3231
|
+
return t === 35 && r++ < 6 ? (e.consume(t), o) : t === null || L(t) ? (e.exit("atxHeadingSequence"), s(t)) : n(t);
|
|
3226
3232
|
}
|
|
3227
3233
|
function s(n) {
|
|
3228
|
-
return n === 35 ? (e.enter("atxHeadingSequence"), c(n)) : n === null ||
|
|
3234
|
+
return n === 35 ? (e.enter("atxHeadingSequence"), c(n)) : n === null || I(n) ? (e.exit("atxHeading"), t(n)) : R(n) ? H(e, s, "whitespace")(n) : (e.enter("atxHeadingText"), l(n));
|
|
3229
3235
|
}
|
|
3230
3236
|
function c(t) {
|
|
3231
3237
|
return t === 35 ? (e.consume(t), c) : (e.exit("atxHeadingSequence"), s(t));
|
|
3232
3238
|
}
|
|
3233
3239
|
function l(t) {
|
|
3234
|
-
return t === null || t === 35 ||
|
|
3240
|
+
return t === null || t === 35 || L(t) ? (e.exit("atxHeadingText"), s(t)) : (e.consume(t), l);
|
|
3235
3241
|
}
|
|
3236
3242
|
}
|
|
3237
3243
|
//#endregion
|
|
3238
3244
|
//#region ../node_modules/micromark-util-html-tag-name/index.js
|
|
3239
|
-
var
|
|
3245
|
+
var et = /* @__PURE__ */ "address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul".split("."), tt = [
|
|
3240
3246
|
"pre",
|
|
3241
3247
|
"script",
|
|
3242
3248
|
"style",
|
|
3243
3249
|
"textarea"
|
|
3244
|
-
],
|
|
3250
|
+
], nt = {
|
|
3245
3251
|
concrete: !0,
|
|
3246
3252
|
name: "htmlFlow",
|
|
3247
|
-
resolveTo:
|
|
3248
|
-
tokenize:
|
|
3249
|
-
}, nt = {
|
|
3250
|
-
partial: !0,
|
|
3251
|
-
tokenize: st
|
|
3253
|
+
resolveTo: at,
|
|
3254
|
+
tokenize: ot
|
|
3252
3255
|
}, rt = {
|
|
3253
3256
|
partial: !0,
|
|
3254
|
-
tokenize:
|
|
3257
|
+
tokenize: ct
|
|
3258
|
+
}, it = {
|
|
3259
|
+
partial: !0,
|
|
3260
|
+
tokenize: st
|
|
3255
3261
|
};
|
|
3256
|
-
function
|
|
3262
|
+
function at(e) {
|
|
3257
3263
|
let t = e.length;
|
|
3258
3264
|
for (; t-- && (e[t][0] !== "enter" || e[t][1].type !== "htmlFlow"););
|
|
3259
3265
|
return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e;
|
|
3260
3266
|
}
|
|
3261
|
-
function
|
|
3267
|
+
function ot(e, t, n) {
|
|
3262
3268
|
let r = this, i, a, o, s, c;
|
|
3263
3269
|
return l;
|
|
3264
3270
|
function l(e) {
|
|
@@ -3268,220 +3274,220 @@ function at(e, t, n) {
|
|
|
3268
3274
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(t), d;
|
|
3269
3275
|
}
|
|
3270
3276
|
function d(s) {
|
|
3271
|
-
return s === 33 ? (e.consume(s), f) : s === 47 ? (e.consume(s), a = !0, h) : s === 63 ? (e.consume(s), i = 3, r.interrupt ? t :
|
|
3277
|
+
return s === 33 ? (e.consume(s), f) : s === 47 ? (e.consume(s), a = !0, h) : s === 63 ? (e.consume(s), i = 3, r.interrupt ? t : V) : k(s) ? (e.consume(s), o = String.fromCharCode(s), g) : n(s);
|
|
3272
3278
|
}
|
|
3273
3279
|
function f(a) {
|
|
3274
|
-
return a === 45 ? (e.consume(a), i = 2, p) : a === 91 ? (e.consume(a), i = 5, s = 0, m) :
|
|
3280
|
+
return a === 45 ? (e.consume(a), i = 2, p) : a === 91 ? (e.consume(a), i = 5, s = 0, m) : k(a) ? (e.consume(a), i = 4, r.interrupt ? t : V) : n(a);
|
|
3275
3281
|
}
|
|
3276
3282
|
function p(i) {
|
|
3277
|
-
return i === 45 ? (e.consume(i), r.interrupt ? t :
|
|
3283
|
+
return i === 45 ? (e.consume(i), r.interrupt ? t : V) : n(i);
|
|
3278
3284
|
}
|
|
3279
3285
|
function m(i) {
|
|
3280
|
-
return i === "CDATA[".charCodeAt(s++) ? (e.consume(i), s === 6 ? r.interrupt ? t :
|
|
3286
|
+
return i === "CDATA[".charCodeAt(s++) ? (e.consume(i), s === 6 ? r.interrupt ? t : O : m) : n(i);
|
|
3281
3287
|
}
|
|
3282
3288
|
function h(t) {
|
|
3283
|
-
return
|
|
3289
|
+
return k(t) ? (e.consume(t), o = String.fromCharCode(t), g) : n(t);
|
|
3284
3290
|
}
|
|
3285
3291
|
function g(s) {
|
|
3286
|
-
if (s === null || s === 47 || s === 62 ||
|
|
3292
|
+
if (s === null || s === 47 || s === 62 || L(s)) {
|
|
3287
3293
|
let c = s === 47, l = o.toLowerCase();
|
|
3288
|
-
return !c && !a &&
|
|
3294
|
+
return !c && !a && tt.includes(l) ? (i = 1, r.interrupt ? t(s) : O(s)) : et.includes(o.toLowerCase()) ? (i = 6, c ? (e.consume(s), _) : r.interrupt ? t(s) : O(s)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(s) : a ? v(s) : y(s));
|
|
3289
3295
|
}
|
|
3290
|
-
return s === 45 ||
|
|
3296
|
+
return s === 45 || A(s) ? (e.consume(s), o += String.fromCharCode(s), g) : n(s);
|
|
3291
3297
|
}
|
|
3292
3298
|
function _(i) {
|
|
3293
|
-
return i === 62 ? (e.consume(i), r.interrupt ? t :
|
|
3299
|
+
return i === 62 ? (e.consume(i), r.interrupt ? t : O) : n(i);
|
|
3294
3300
|
}
|
|
3295
3301
|
function v(t) {
|
|
3296
|
-
return
|
|
3302
|
+
return R(t) ? (e.consume(t), v) : E(t);
|
|
3297
3303
|
}
|
|
3298
3304
|
function y(t) {
|
|
3299
|
-
return t === 47 ? (e.consume(t), E) : t === 58 || t === 95 ||
|
|
3305
|
+
return t === 47 ? (e.consume(t), E) : t === 58 || t === 95 || k(t) ? (e.consume(t), b) : R(t) ? (e.consume(t), y) : E(t);
|
|
3300
3306
|
}
|
|
3301
3307
|
function b(t) {
|
|
3302
|
-
return t === 45 || t === 46 || t === 58 || t === 95 ||
|
|
3308
|
+
return t === 45 || t === 46 || t === 58 || t === 95 || A(t) ? (e.consume(t), b) : x(t);
|
|
3303
3309
|
}
|
|
3304
3310
|
function x(t) {
|
|
3305
|
-
return t === 61 ? (e.consume(t), S) :
|
|
3311
|
+
return t === 61 ? (e.consume(t), S) : R(t) ? (e.consume(t), x) : y(t);
|
|
3306
3312
|
}
|
|
3307
3313
|
function S(t) {
|
|
3308
|
-
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), c = t, C) :
|
|
3314
|
+
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), c = t, C) : R(t) ? (e.consume(t), S) : w(t);
|
|
3309
3315
|
}
|
|
3310
3316
|
function C(t) {
|
|
3311
|
-
return t === c ? (e.consume(t), c = null, T) : t === null ||
|
|
3317
|
+
return t === c ? (e.consume(t), c = null, T) : t === null || I(t) ? n(t) : (e.consume(t), C);
|
|
3312
3318
|
}
|
|
3313
3319
|
function w(t) {
|
|
3314
|
-
return t === null || t === 34 || t === 39 || t === 47 || t === 60 || t === 61 || t === 62 || t === 96 ||
|
|
3320
|
+
return t === null || t === 34 || t === 39 || t === 47 || t === 60 || t === 61 || t === 62 || t === 96 || L(t) ? x(t) : (e.consume(t), w);
|
|
3315
3321
|
}
|
|
3316
3322
|
function T(e) {
|
|
3317
|
-
return e === 47 || e === 62 ||
|
|
3323
|
+
return e === 47 || e === 62 || R(e) ? y(e) : n(e);
|
|
3318
3324
|
}
|
|
3319
3325
|
function E(t) {
|
|
3320
3326
|
return t === 62 ? (e.consume(t), D) : n(t);
|
|
3321
3327
|
}
|
|
3322
3328
|
function D(t) {
|
|
3323
|
-
return t === null ||
|
|
3329
|
+
return t === null || I(t) ? O(t) : R(t) ? (e.consume(t), D) : n(t);
|
|
3324
3330
|
}
|
|
3325
|
-
function
|
|
3326
|
-
return t === 45 && i === 2 ? (e.consume(t),
|
|
3331
|
+
function O(t) {
|
|
3332
|
+
return t === 45 && i === 2 ? (e.consume(t), P) : t === 60 && i === 1 ? (e.consume(t), F) : t === 62 && i === 4 ? (e.consume(t), H) : t === 63 && i === 3 ? (e.consume(t), V) : t === 93 && i === 5 ? (e.consume(t), B) : I(t) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(rt, U, j)(t)) : t === null || I(t) ? (e.exit("htmlFlowData"), j(t)) : (e.consume(t), O);
|
|
3327
3333
|
}
|
|
3328
3334
|
function j(t) {
|
|
3329
|
-
return e.check(
|
|
3335
|
+
return e.check(it, M, U)(t);
|
|
3330
3336
|
}
|
|
3331
3337
|
function M(t) {
|
|
3332
|
-
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"),
|
|
3333
|
-
}
|
|
3334
|
-
function ee(t) {
|
|
3335
|
-
return t === null || P(t) ? j(t) : (e.enter("htmlFlowData"), A(t));
|
|
3338
|
+
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), N;
|
|
3336
3339
|
}
|
|
3337
3340
|
function N(t) {
|
|
3338
|
-
return t ===
|
|
3341
|
+
return t === null || I(t) ? j(t) : (e.enter("htmlFlowData"), O(t));
|
|
3342
|
+
}
|
|
3343
|
+
function P(t) {
|
|
3344
|
+
return t === 45 ? (e.consume(t), V) : O(t);
|
|
3339
3345
|
}
|
|
3340
|
-
function
|
|
3341
|
-
return t === 47 ? (e.consume(t), o = "",
|
|
3346
|
+
function F(t) {
|
|
3347
|
+
return t === 47 ? (e.consume(t), o = "", z) : O(t);
|
|
3342
3348
|
}
|
|
3343
|
-
function
|
|
3349
|
+
function z(t) {
|
|
3344
3350
|
if (t === 62) {
|
|
3345
3351
|
let n = o.toLowerCase();
|
|
3346
|
-
return
|
|
3352
|
+
return tt.includes(n) ? (e.consume(t), H) : O(t);
|
|
3347
3353
|
}
|
|
3348
|
-
return
|
|
3349
|
-
}
|
|
3350
|
-
function z(t) {
|
|
3351
|
-
return t === 93 ? (e.consume(t), B) : A(t);
|
|
3354
|
+
return k(t) && o.length < 8 ? (e.consume(t), o += String.fromCharCode(t), z) : O(t);
|
|
3352
3355
|
}
|
|
3353
3356
|
function B(t) {
|
|
3354
|
-
return t ===
|
|
3357
|
+
return t === 93 ? (e.consume(t), V) : O(t);
|
|
3355
3358
|
}
|
|
3356
3359
|
function V(t) {
|
|
3357
|
-
return t ===
|
|
3360
|
+
return t === 62 ? (e.consume(t), H) : t === 45 && i === 2 ? (e.consume(t), V) : O(t);
|
|
3358
3361
|
}
|
|
3359
|
-
function
|
|
3362
|
+
function H(t) {
|
|
3363
|
+
return t === null || I(t) ? (e.exit("htmlFlowData"), U(t)) : (e.consume(t), H);
|
|
3364
|
+
}
|
|
3365
|
+
function U(n) {
|
|
3360
3366
|
return e.exit("htmlFlow"), t(n);
|
|
3361
3367
|
}
|
|
3362
3368
|
}
|
|
3363
|
-
function
|
|
3369
|
+
function st(e, t, n) {
|
|
3364
3370
|
let r = this;
|
|
3365
3371
|
return i;
|
|
3366
3372
|
function i(t) {
|
|
3367
|
-
return
|
|
3373
|
+
return I(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), a) : n(t);
|
|
3368
3374
|
}
|
|
3369
3375
|
function a(e) {
|
|
3370
3376
|
return r.parser.lazy[r.now().line] ? n(e) : t(e);
|
|
3371
3377
|
}
|
|
3372
3378
|
}
|
|
3373
|
-
function
|
|
3379
|
+
function ct(e, t, n) {
|
|
3374
3380
|
return r;
|
|
3375
3381
|
function r(r) {
|
|
3376
|
-
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(
|
|
3382
|
+
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), e.attempt(G, t, n);
|
|
3377
3383
|
}
|
|
3378
3384
|
}
|
|
3379
3385
|
//#endregion
|
|
3380
3386
|
//#region ../node_modules/micromark-core-commonmark/lib/html-text.js
|
|
3381
|
-
var
|
|
3387
|
+
var lt = {
|
|
3382
3388
|
name: "htmlText",
|
|
3383
|
-
tokenize:
|
|
3389
|
+
tokenize: ut
|
|
3384
3390
|
};
|
|
3385
|
-
function
|
|
3391
|
+
function ut(e, t, n) {
|
|
3386
3392
|
let r = this, i, a, o;
|
|
3387
3393
|
return s;
|
|
3388
3394
|
function s(t) {
|
|
3389
3395
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(t), c;
|
|
3390
3396
|
}
|
|
3391
3397
|
function c(t) {
|
|
3392
|
-
return t === 33 ? (e.consume(t), l) : t === 47 ? (e.consume(t), x) : t === 63 ? (e.consume(t), y) :
|
|
3398
|
+
return t === 33 ? (e.consume(t), l) : t === 47 ? (e.consume(t), x) : t === 63 ? (e.consume(t), y) : k(t) ? (e.consume(t), w) : n(t);
|
|
3393
3399
|
}
|
|
3394
3400
|
function l(t) {
|
|
3395
|
-
return t === 45 ? (e.consume(t), u) : t === 91 ? (e.consume(t), a = 0, m) :
|
|
3401
|
+
return t === 45 ? (e.consume(t), u) : t === 91 ? (e.consume(t), a = 0, m) : k(t) ? (e.consume(t), v) : n(t);
|
|
3396
3402
|
}
|
|
3397
3403
|
function u(t) {
|
|
3398
3404
|
return t === 45 ? (e.consume(t), p) : n(t);
|
|
3399
3405
|
}
|
|
3400
3406
|
function d(t) {
|
|
3401
|
-
return t === null ? n(t) : t === 45 ? (e.consume(t), f) :
|
|
3407
|
+
return t === null ? n(t) : t === 45 ? (e.consume(t), f) : I(t) ? (o = d, F(t)) : (e.consume(t), d);
|
|
3402
3408
|
}
|
|
3403
3409
|
function f(t) {
|
|
3404
3410
|
return t === 45 ? (e.consume(t), p) : d(t);
|
|
3405
3411
|
}
|
|
3406
3412
|
function p(e) {
|
|
3407
|
-
return e === 62 ?
|
|
3413
|
+
return e === 62 ? P(e) : e === 45 ? f(e) : d(e);
|
|
3408
3414
|
}
|
|
3409
3415
|
function m(t) {
|
|
3410
3416
|
return t === "CDATA[".charCodeAt(a++) ? (e.consume(t), a === 6 ? h : m) : n(t);
|
|
3411
3417
|
}
|
|
3412
3418
|
function h(t) {
|
|
3413
|
-
return t === null ? n(t) : t === 93 ? (e.consume(t), g) :
|
|
3419
|
+
return t === null ? n(t) : t === 93 ? (e.consume(t), g) : I(t) ? (o = h, F(t)) : (e.consume(t), h);
|
|
3414
3420
|
}
|
|
3415
3421
|
function g(t) {
|
|
3416
3422
|
return t === 93 ? (e.consume(t), _) : h(t);
|
|
3417
3423
|
}
|
|
3418
3424
|
function _(t) {
|
|
3419
|
-
return t === 62 ?
|
|
3425
|
+
return t === 62 ? P(t) : t === 93 ? (e.consume(t), _) : h(t);
|
|
3420
3426
|
}
|
|
3421
3427
|
function v(t) {
|
|
3422
|
-
return t === null || t === 62 ?
|
|
3428
|
+
return t === null || t === 62 ? P(t) : I(t) ? (o = v, F(t)) : (e.consume(t), v);
|
|
3423
3429
|
}
|
|
3424
3430
|
function y(t) {
|
|
3425
|
-
return t === null ? n(t) : t === 63 ? (e.consume(t), b) :
|
|
3431
|
+
return t === null ? n(t) : t === 63 ? (e.consume(t), b) : I(t) ? (o = y, F(t)) : (e.consume(t), y);
|
|
3426
3432
|
}
|
|
3427
3433
|
function b(e) {
|
|
3428
|
-
return e === 62 ?
|
|
3434
|
+
return e === 62 ? P(e) : y(e);
|
|
3429
3435
|
}
|
|
3430
3436
|
function x(t) {
|
|
3431
|
-
return
|
|
3437
|
+
return k(t) ? (e.consume(t), S) : n(t);
|
|
3432
3438
|
}
|
|
3433
3439
|
function S(t) {
|
|
3434
|
-
return t === 45 ||
|
|
3440
|
+
return t === 45 || A(t) ? (e.consume(t), S) : C(t);
|
|
3435
3441
|
}
|
|
3436
3442
|
function C(t) {
|
|
3437
|
-
return
|
|
3443
|
+
return I(t) ? (o = C, F(t)) : R(t) ? (e.consume(t), C) : P(t);
|
|
3438
3444
|
}
|
|
3439
3445
|
function w(t) {
|
|
3440
|
-
return t === 45 ||
|
|
3446
|
+
return t === 45 || A(t) ? (e.consume(t), w) : t === 47 || t === 62 || L(t) ? T(t) : n(t);
|
|
3441
3447
|
}
|
|
3442
3448
|
function T(t) {
|
|
3443
|
-
return t === 47 ? (e.consume(t),
|
|
3449
|
+
return t === 47 ? (e.consume(t), P) : t === 58 || t === 95 || k(t) ? (e.consume(t), E) : I(t) ? (o = T, F(t)) : R(t) ? (e.consume(t), T) : P(t);
|
|
3444
3450
|
}
|
|
3445
3451
|
function E(t) {
|
|
3446
|
-
return t === 45 || t === 46 || t === 58 || t === 95 ||
|
|
3452
|
+
return t === 45 || t === 46 || t === 58 || t === 95 || A(t) ? (e.consume(t), E) : D(t);
|
|
3447
3453
|
}
|
|
3448
3454
|
function D(t) {
|
|
3449
|
-
return t === 61 ? (e.consume(t),
|
|
3455
|
+
return t === 61 ? (e.consume(t), O) : I(t) ? (o = D, F(t)) : R(t) ? (e.consume(t), D) : T(t);
|
|
3450
3456
|
}
|
|
3451
|
-
function
|
|
3452
|
-
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), i = t, j) :
|
|
3457
|
+
function O(t) {
|
|
3458
|
+
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), i = t, j) : I(t) ? (o = O, F(t)) : R(t) ? (e.consume(t), O) : (e.consume(t), M);
|
|
3453
3459
|
}
|
|
3454
3460
|
function j(t) {
|
|
3455
|
-
return t === i ? (e.consume(t), i = void 0,
|
|
3461
|
+
return t === i ? (e.consume(t), i = void 0, N) : t === null ? n(t) : I(t) ? (o = j, F(t)) : (e.consume(t), j);
|
|
3456
3462
|
}
|
|
3457
3463
|
function M(t) {
|
|
3458
|
-
return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 ||
|
|
3464
|
+
return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 || L(t) ? T(t) : (e.consume(t), M);
|
|
3459
3465
|
}
|
|
3460
|
-
function
|
|
3461
|
-
return e === 47 || e === 62 ||
|
|
3466
|
+
function N(e) {
|
|
3467
|
+
return e === 47 || e === 62 || L(e) ? T(e) : n(e);
|
|
3462
3468
|
}
|
|
3463
|
-
function
|
|
3469
|
+
function P(r) {
|
|
3464
3470
|
return r === 62 ? (e.consume(r), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(r);
|
|
3465
3471
|
}
|
|
3466
|
-
function
|
|
3467
|
-
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"),
|
|
3468
|
-
}
|
|
3469
|
-
function R(t) {
|
|
3470
|
-
return I(t) ? B(e, z, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : z(t);
|
|
3472
|
+
function F(t) {
|
|
3473
|
+
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), z;
|
|
3471
3474
|
}
|
|
3472
3475
|
function z(t) {
|
|
3476
|
+
return R(t) ? H(e, B, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : B(t);
|
|
3477
|
+
}
|
|
3478
|
+
function B(t) {
|
|
3473
3479
|
return e.enter("htmlTextData"), o(t);
|
|
3474
3480
|
}
|
|
3475
3481
|
}
|
|
3476
3482
|
//#endregion
|
|
3477
3483
|
//#region ../node_modules/micromark-core-commonmark/lib/label-end.js
|
|
3478
|
-
var
|
|
3484
|
+
var dt = {
|
|
3479
3485
|
name: "labelEnd",
|
|
3480
|
-
resolveAll:
|
|
3481
|
-
resolveTo:
|
|
3482
|
-
tokenize:
|
|
3483
|
-
},
|
|
3484
|
-
function
|
|
3486
|
+
resolveAll: ht,
|
|
3487
|
+
resolveTo: gt,
|
|
3488
|
+
tokenize: _t
|
|
3489
|
+
}, ft = { tokenize: vt }, pt = { tokenize: yt }, mt = { tokenize: bt };
|
|
3490
|
+
function ht(e) {
|
|
3485
3491
|
let t = -1, n = [];
|
|
3486
3492
|
for (; ++t < e.length;) {
|
|
3487
3493
|
let r = e[t][1];
|
|
@@ -3490,9 +3496,9 @@ function mt(e) {
|
|
|
3490
3496
|
r.type = "data", t += e;
|
|
3491
3497
|
}
|
|
3492
3498
|
}
|
|
3493
|
-
return e.length !== n.length &&
|
|
3499
|
+
return e.length !== n.length && x(e, 0, e.length, n), e;
|
|
3494
3500
|
}
|
|
3495
|
-
function
|
|
3501
|
+
function gt(e, t) {
|
|
3496
3502
|
let n = e.length, r = 0, i, a, o, s;
|
|
3497
3503
|
for (; n--;) if (i = e[n][1], a) {
|
|
3498
3504
|
if (i.type === "link" || i.type === "labelLink" && i._inactive) break;
|
|
@@ -3524,11 +3530,11 @@ function ht(e, t) {
|
|
|
3524
3530
|
"enter",
|
|
3525
3531
|
l,
|
|
3526
3532
|
t
|
|
3527
|
-
]], s =
|
|
3533
|
+
]], s = S(s, e.slice(a + 1, a + r + 3)), s = S(s, [[
|
|
3528
3534
|
"enter",
|
|
3529
3535
|
u,
|
|
3530
3536
|
t
|
|
3531
|
-
]]), s =
|
|
3537
|
+
]]), s = S(s, ae(t.parser.constructs.insideSpan.null, e.slice(a + r + 4, o - 3), t)), s = S(s, [
|
|
3532
3538
|
[
|
|
3533
3539
|
"exit",
|
|
3534
3540
|
u,
|
|
@@ -3541,13 +3547,13 @@ function ht(e, t) {
|
|
|
3541
3547
|
l,
|
|
3542
3548
|
t
|
|
3543
3549
|
]
|
|
3544
|
-
]), s =
|
|
3550
|
+
]), s = S(s, e.slice(o + 1)), s = S(s, [[
|
|
3545
3551
|
"exit",
|
|
3546
3552
|
c,
|
|
3547
3553
|
t
|
|
3548
|
-
]]),
|
|
3554
|
+
]]), x(e, a, e.length, s), e;
|
|
3549
3555
|
}
|
|
3550
|
-
function
|
|
3556
|
+
function _t(e, t, n) {
|
|
3551
3557
|
let r = this, i = r.events.length, a, o;
|
|
3552
3558
|
for (; i--;) if ((r.events[i][1].type === "labelImage" || r.events[i][1].type === "labelLink") && !r.events[i][1]._balanced) {
|
|
3553
3559
|
a = r.events[i][1];
|
|
@@ -3555,16 +3561,16 @@ function gt(e, t, n) {
|
|
|
3555
3561
|
}
|
|
3556
3562
|
return s;
|
|
3557
3563
|
function s(t) {
|
|
3558
|
-
return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(
|
|
3564
|
+
return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(O(r.sliceSerialize({
|
|
3559
3565
|
start: a.end,
|
|
3560
3566
|
end: r.now()
|
|
3561
3567
|
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), e.exit("labelEnd"), c) : n(t);
|
|
3562
3568
|
}
|
|
3563
3569
|
function c(t) {
|
|
3564
|
-
return t === 40 ? e.attempt(
|
|
3570
|
+
return t === 40 ? e.attempt(ft, u, o ? u : d)(t) : t === 91 ? e.attempt(pt, u, o ? l : d)(t) : o ? u(t) : d(t);
|
|
3565
3571
|
}
|
|
3566
3572
|
function l(t) {
|
|
3567
|
-
return e.attempt(
|
|
3573
|
+
return e.attempt(mt, u, d)(t);
|
|
3568
3574
|
}
|
|
3569
3575
|
function u(e) {
|
|
3570
3576
|
return t(e);
|
|
@@ -3573,47 +3579,47 @@ function gt(e, t, n) {
|
|
|
3573
3579
|
return a._balanced = !0, n(e);
|
|
3574
3580
|
}
|
|
3575
3581
|
}
|
|
3576
|
-
function
|
|
3582
|
+
function vt(e, t, n) {
|
|
3577
3583
|
return r;
|
|
3578
3584
|
function r(t) {
|
|
3579
3585
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(t), e.exit("resourceMarker"), i;
|
|
3580
3586
|
}
|
|
3581
3587
|
function i(t) {
|
|
3582
|
-
return
|
|
3588
|
+
return L(t) ? K(e, a)(t) : a(t);
|
|
3583
3589
|
}
|
|
3584
3590
|
function a(t) {
|
|
3585
|
-
return t === 41 ? u(t) :
|
|
3591
|
+
return t === 41 ? u(t) : He(e, o, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(t);
|
|
3586
3592
|
}
|
|
3587
3593
|
function o(t) {
|
|
3588
|
-
return
|
|
3594
|
+
return L(t) ? K(e, c)(t) : u(t);
|
|
3589
3595
|
}
|
|
3590
3596
|
function s(e) {
|
|
3591
3597
|
return n(e);
|
|
3592
3598
|
}
|
|
3593
3599
|
function c(t) {
|
|
3594
|
-
return t === 34 || t === 39 || t === 40 ?
|
|
3600
|
+
return t === 34 || t === 39 || t === 40 ? We(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(t) : u(t);
|
|
3595
3601
|
}
|
|
3596
3602
|
function l(t) {
|
|
3597
|
-
return
|
|
3603
|
+
return L(t) ? K(e, u)(t) : u(t);
|
|
3598
3604
|
}
|
|
3599
3605
|
function u(r) {
|
|
3600
3606
|
return r === 41 ? (e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), e.exit("resource"), t) : n(r);
|
|
3601
3607
|
}
|
|
3602
3608
|
}
|
|
3603
|
-
function
|
|
3609
|
+
function yt(e, t, n) {
|
|
3604
3610
|
let r = this;
|
|
3605
3611
|
return i;
|
|
3606
3612
|
function i(t) {
|
|
3607
|
-
return
|
|
3613
|
+
return Ue.call(r, e, a, o, "reference", "referenceMarker", "referenceString")(t);
|
|
3608
3614
|
}
|
|
3609
3615
|
function a(e) {
|
|
3610
|
-
return r.parser.defined.includes(
|
|
3616
|
+
return r.parser.defined.includes(O(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(e) : n(e);
|
|
3611
3617
|
}
|
|
3612
3618
|
function o(e) {
|
|
3613
3619
|
return n(e);
|
|
3614
3620
|
}
|
|
3615
3621
|
}
|
|
3616
|
-
function
|
|
3622
|
+
function bt(e, t, n) {
|
|
3617
3623
|
return r;
|
|
3618
3624
|
function r(t) {
|
|
3619
3625
|
return e.enter("reference"), e.enter("referenceMarker"), e.consume(t), e.exit("referenceMarker"), i;
|
|
@@ -3624,12 +3630,12 @@ function yt(e, t, n) {
|
|
|
3624
3630
|
}
|
|
3625
3631
|
//#endregion
|
|
3626
3632
|
//#region ../node_modules/micromark-core-commonmark/lib/label-start-image.js
|
|
3627
|
-
var
|
|
3633
|
+
var xt = {
|
|
3628
3634
|
name: "labelStartImage",
|
|
3629
|
-
resolveAll:
|
|
3630
|
-
tokenize:
|
|
3635
|
+
resolveAll: dt.resolveAll,
|
|
3636
|
+
tokenize: St
|
|
3631
3637
|
};
|
|
3632
|
-
function
|
|
3638
|
+
function St(e, t, n) {
|
|
3633
3639
|
let r = this;
|
|
3634
3640
|
return i;
|
|
3635
3641
|
function i(t) {
|
|
@@ -3645,12 +3651,12 @@ function xt(e, t, n) {
|
|
|
3645
3651
|
}
|
|
3646
3652
|
//#endregion
|
|
3647
3653
|
//#region ../node_modules/micromark-core-commonmark/lib/label-start-link.js
|
|
3648
|
-
var
|
|
3654
|
+
var Ct = {
|
|
3649
3655
|
name: "labelStartLink",
|
|
3650
|
-
resolveAll:
|
|
3651
|
-
tokenize:
|
|
3656
|
+
resolveAll: dt.resolveAll,
|
|
3657
|
+
tokenize: wt
|
|
3652
3658
|
};
|
|
3653
|
-
function
|
|
3659
|
+
function wt(e, t, n) {
|
|
3654
3660
|
let r = this;
|
|
3655
3661
|
return i;
|
|
3656
3662
|
function i(t) {
|
|
@@ -3663,23 +3669,23 @@ function Ct(e, t, n) {
|
|
|
3663
3669
|
}
|
|
3664
3670
|
//#endregion
|
|
3665
3671
|
//#region ../node_modules/micromark-core-commonmark/lib/line-ending.js
|
|
3666
|
-
var
|
|
3672
|
+
var Tt = {
|
|
3667
3673
|
name: "lineEnding",
|
|
3668
|
-
tokenize:
|
|
3674
|
+
tokenize: Et
|
|
3669
3675
|
};
|
|
3670
|
-
function
|
|
3676
|
+
function Et(e, t) {
|
|
3671
3677
|
return n;
|
|
3672
3678
|
function n(n) {
|
|
3673
|
-
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"),
|
|
3679
|
+
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), H(e, t, "linePrefix");
|
|
3674
3680
|
}
|
|
3675
3681
|
}
|
|
3676
3682
|
//#endregion
|
|
3677
3683
|
//#region ../node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
3678
|
-
var
|
|
3684
|
+
var Dt = {
|
|
3679
3685
|
name: "thematicBreak",
|
|
3680
|
-
tokenize:
|
|
3686
|
+
tokenize: Ot
|
|
3681
3687
|
};
|
|
3682
|
-
function
|
|
3688
|
+
function Ot(e, t, n) {
|
|
3683
3689
|
let r = 0, i;
|
|
3684
3690
|
return a;
|
|
3685
3691
|
function a(t) {
|
|
@@ -3689,93 +3695,93 @@ function Dt(e, t, n) {
|
|
|
3689
3695
|
return i = e, s(e);
|
|
3690
3696
|
}
|
|
3691
3697
|
function s(a) {
|
|
3692
|
-
return a === i ? (e.enter("thematicBreakSequence"), c(a)) : r >= 3 && (a === null ||
|
|
3698
|
+
return a === i ? (e.enter("thematicBreakSequence"), c(a)) : r >= 3 && (a === null || I(a)) ? (e.exit("thematicBreak"), t(a)) : n(a);
|
|
3693
3699
|
}
|
|
3694
3700
|
function c(t) {
|
|
3695
|
-
return t === i ? (e.consume(t), r++, c) : (e.exit("thematicBreakSequence"),
|
|
3701
|
+
return t === i ? (e.consume(t), r++, c) : (e.exit("thematicBreakSequence"), R(t) ? H(e, s, "whitespace")(t) : s(t));
|
|
3696
3702
|
}
|
|
3697
3703
|
}
|
|
3698
3704
|
//#endregion
|
|
3699
3705
|
//#region ../node_modules/micromark-core-commonmark/lib/list.js
|
|
3700
3706
|
var q = {
|
|
3701
|
-
continuation: { tokenize:
|
|
3702
|
-
exit:
|
|
3707
|
+
continuation: { tokenize: Mt },
|
|
3708
|
+
exit: Pt,
|
|
3703
3709
|
name: "list",
|
|
3704
|
-
tokenize:
|
|
3705
|
-
}, Ot = {
|
|
3706
|
-
partial: !0,
|
|
3707
|
-
tokenize: Pt
|
|
3710
|
+
tokenize: jt
|
|
3708
3711
|
}, kt = {
|
|
3709
3712
|
partial: !0,
|
|
3710
|
-
tokenize:
|
|
3713
|
+
tokenize: Ft
|
|
3714
|
+
}, At = {
|
|
3715
|
+
partial: !0,
|
|
3716
|
+
tokenize: Nt
|
|
3711
3717
|
};
|
|
3712
|
-
function
|
|
3718
|
+
function jt(e, t, n) {
|
|
3713
3719
|
let r = this, i = r.events[r.events.length - 1], a = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
|
|
3714
3720
|
return s;
|
|
3715
3721
|
function s(t) {
|
|
3716
3722
|
let i = r.containerState.type || (t === 42 || t === 43 || t === 45 ? "listUnordered" : "listOrdered");
|
|
3717
|
-
if (i === "listUnordered" ? !r.containerState.marker || t === r.containerState.marker :
|
|
3718
|
-
if (r.containerState.type || (r.containerState.type = i, e.enter(i, { _container: !0 })), i === "listUnordered") return e.enter("listItemPrefix"), t === 42 || t === 45 ? e.check(
|
|
3723
|
+
if (i === "listUnordered" ? !r.containerState.marker || t === r.containerState.marker : N(t)) {
|
|
3724
|
+
if (r.containerState.type || (r.containerState.type = i, e.enter(i, { _container: !0 })), i === "listUnordered") return e.enter("listItemPrefix"), t === 42 || t === 45 ? e.check(Dt, n, l)(t) : l(t);
|
|
3719
3725
|
if (!r.interrupt || t === 49) return e.enter("listItemPrefix"), e.enter("listItemValue"), c(t);
|
|
3720
3726
|
}
|
|
3721
3727
|
return n(t);
|
|
3722
3728
|
}
|
|
3723
3729
|
function c(t) {
|
|
3724
|
-
return
|
|
3730
|
+
return N(t) && ++o < 10 ? (e.consume(t), c) : (!r.interrupt || o < 2) && (r.containerState.marker ? t === r.containerState.marker : t === 41 || t === 46) ? (e.exit("listItemValue"), l(t)) : n(t);
|
|
3725
3731
|
}
|
|
3726
3732
|
function l(t) {
|
|
3727
|
-
return e.enter("listItemMarker"), e.consume(t), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || t, e.check(
|
|
3733
|
+
return e.enter("listItemMarker"), e.consume(t), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || t, e.check(G, r.interrupt ? n : u, e.attempt(kt, f, d));
|
|
3728
3734
|
}
|
|
3729
3735
|
function u(e) {
|
|
3730
3736
|
return r.containerState.initialBlankLine = !0, a++, f(e);
|
|
3731
3737
|
}
|
|
3732
3738
|
function d(t) {
|
|
3733
|
-
return
|
|
3739
|
+
return R(t) ? (e.enter("listItemPrefixWhitespace"), e.consume(t), e.exit("listItemPrefixWhitespace"), f) : n(t);
|
|
3734
3740
|
}
|
|
3735
3741
|
function f(n) {
|
|
3736
3742
|
return r.containerState.size = a + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(n);
|
|
3737
3743
|
}
|
|
3738
3744
|
}
|
|
3739
|
-
function
|
|
3745
|
+
function Mt(e, t, n) {
|
|
3740
3746
|
let r = this;
|
|
3741
|
-
return r.containerState._closeFlow = void 0, e.check(
|
|
3747
|
+
return r.containerState._closeFlow = void 0, e.check(G, i, a);
|
|
3742
3748
|
function i(n) {
|
|
3743
|
-
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine,
|
|
3749
|
+
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, H(e, t, "listItemIndent", r.containerState.size + 1)(n);
|
|
3744
3750
|
}
|
|
3745
3751
|
function a(n) {
|
|
3746
|
-
return r.containerState.furtherBlankLines || !
|
|
3752
|
+
return r.containerState.furtherBlankLines || !R(n) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(n)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(At, t, o)(n));
|
|
3747
3753
|
}
|
|
3748
3754
|
function o(i) {
|
|
3749
|
-
return r.containerState._closeFlow = !0, r.interrupt = void 0,
|
|
3755
|
+
return r.containerState._closeFlow = !0, r.interrupt = void 0, H(e, e.attempt(q, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(i);
|
|
3750
3756
|
}
|
|
3751
3757
|
}
|
|
3752
|
-
function
|
|
3758
|
+
function Nt(e, t, n) {
|
|
3753
3759
|
let r = this;
|
|
3754
|
-
return
|
|
3760
|
+
return H(e, i, "listItemIndent", r.containerState.size + 1);
|
|
3755
3761
|
function i(e) {
|
|
3756
3762
|
let i = r.events[r.events.length - 1];
|
|
3757
3763
|
return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === r.containerState.size ? t(e) : n(e);
|
|
3758
3764
|
}
|
|
3759
3765
|
}
|
|
3760
|
-
function
|
|
3766
|
+
function Pt(e) {
|
|
3761
3767
|
e.exit(this.containerState.type);
|
|
3762
3768
|
}
|
|
3763
|
-
function
|
|
3769
|
+
function Ft(e, t, n) {
|
|
3764
3770
|
let r = this;
|
|
3765
|
-
return
|
|
3771
|
+
return H(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
|
|
3766
3772
|
function i(e) {
|
|
3767
3773
|
let i = r.events[r.events.length - 1];
|
|
3768
|
-
return !
|
|
3774
|
+
return !R(e) && i && i[1].type === "listItemPrefixWhitespace" ? t(e) : n(e);
|
|
3769
3775
|
}
|
|
3770
3776
|
}
|
|
3771
3777
|
//#endregion
|
|
3772
3778
|
//#region ../node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
3773
|
-
var
|
|
3779
|
+
var It = {
|
|
3774
3780
|
name: "setextUnderline",
|
|
3775
|
-
resolveTo:
|
|
3776
|
-
tokenize:
|
|
3781
|
+
resolveTo: Lt,
|
|
3782
|
+
tokenize: Rt
|
|
3777
3783
|
};
|
|
3778
|
-
function
|
|
3784
|
+
function Lt(e, t) {
|
|
3779
3785
|
let n = e.length, r, i, a;
|
|
3780
3786
|
for (; n--;) if (e[n][0] === "enter") {
|
|
3781
3787
|
if (e[n][1].type === "content") {
|
|
@@ -3803,7 +3809,7 @@ function It(e, t) {
|
|
|
3803
3809
|
t
|
|
3804
3810
|
]), e;
|
|
3805
3811
|
}
|
|
3806
|
-
function
|
|
3812
|
+
function Rt(e, t, n) {
|
|
3807
3813
|
let r = this, i;
|
|
3808
3814
|
return a;
|
|
3809
3815
|
function a(t) {
|
|
@@ -3818,17 +3824,17 @@ function Lt(e, t, n) {
|
|
|
3818
3824
|
return e.enter("setextHeadingLineSequence"), s(t);
|
|
3819
3825
|
}
|
|
3820
3826
|
function s(t) {
|
|
3821
|
-
return t === i ? (e.consume(t), s) : (e.exit("setextHeadingLineSequence"),
|
|
3827
|
+
return t === i ? (e.consume(t), s) : (e.exit("setextHeadingLineSequence"), R(t) ? H(e, c, "lineSuffix")(t) : c(t));
|
|
3822
3828
|
}
|
|
3823
3829
|
function c(r) {
|
|
3824
|
-
return r === null ||
|
|
3830
|
+
return r === null || I(r) ? (e.exit("setextHeadingLine"), t(r)) : n(r);
|
|
3825
3831
|
}
|
|
3826
3832
|
}
|
|
3827
3833
|
//#endregion
|
|
3828
3834
|
//#region ../node_modules/micromark/lib/initialize/flow.js
|
|
3829
|
-
var
|
|
3830
|
-
function
|
|
3831
|
-
let t = this, n = e.attempt(
|
|
3835
|
+
var zt = { tokenize: Bt };
|
|
3836
|
+
function Bt(e) {
|
|
3837
|
+
let t = this, n = e.attempt(G, r, e.attempt(this.parser.constructs.flowInitial, i, H(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Le, i)), "linePrefix")));
|
|
3832
3838
|
return n;
|
|
3833
3839
|
function r(r) {
|
|
3834
3840
|
if (r === null) {
|
|
@@ -3847,10 +3853,10 @@ function zt(e) {
|
|
|
3847
3853
|
}
|
|
3848
3854
|
//#endregion
|
|
3849
3855
|
//#region ../node_modules/micromark/lib/initialize/text.js
|
|
3850
|
-
var
|
|
3851
|
-
function
|
|
3856
|
+
var Vt = { resolveAll: Gt() }, Ht = Wt("string"), Ut = Wt("text");
|
|
3857
|
+
function Wt(e) {
|
|
3852
3858
|
return {
|
|
3853
|
-
resolveAll:
|
|
3859
|
+
resolveAll: Gt(e === "text" ? Kt : void 0),
|
|
3854
3860
|
tokenize: t
|
|
3855
3861
|
};
|
|
3856
3862
|
function t(t) {
|
|
@@ -3880,7 +3886,7 @@ function Ut(e) {
|
|
|
3880
3886
|
}
|
|
3881
3887
|
}
|
|
3882
3888
|
}
|
|
3883
|
-
function
|
|
3889
|
+
function Gt(e) {
|
|
3884
3890
|
return t;
|
|
3885
3891
|
function t(t, n) {
|
|
3886
3892
|
let r = -1, i;
|
|
@@ -3888,7 +3894,7 @@ function Wt(e) {
|
|
|
3888
3894
|
return e ? e(t, n) : t;
|
|
3889
3895
|
}
|
|
3890
3896
|
}
|
|
3891
|
-
function
|
|
3897
|
+
function Kt(e, t) {
|
|
3892
3898
|
let n = 0;
|
|
3893
3899
|
for (; ++n <= e.length;) if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") {
|
|
3894
3900
|
let r = e[n - 1][1], i = t.sliceStream(r), a = i.length, o = -1, s = 0, c;
|
|
@@ -3932,17 +3938,17 @@ function Gt(e, t) {
|
|
|
3932
3938
|
}
|
|
3933
3939
|
//#endregion
|
|
3934
3940
|
//#region ../node_modules/micromark/lib/constructs.js
|
|
3935
|
-
var
|
|
3936
|
-
attentionMarkers: () =>
|
|
3937
|
-
contentInitial: () =>
|
|
3938
|
-
disable: () =>
|
|
3939
|
-
document: () =>
|
|
3940
|
-
flow: () =>
|
|
3941
|
-
flowInitial: () =>
|
|
3942
|
-
insideSpan: () =>
|
|
3943
|
-
string: () =>
|
|
3944
|
-
text: () =>
|
|
3945
|
-
}),
|
|
3941
|
+
var qt = /* @__PURE__ */ t({
|
|
3942
|
+
attentionMarkers: () => tn,
|
|
3943
|
+
contentInitial: () => Yt,
|
|
3944
|
+
disable: () => nn,
|
|
3945
|
+
document: () => Jt,
|
|
3946
|
+
flow: () => Zt,
|
|
3947
|
+
flowInitial: () => Xt,
|
|
3948
|
+
insideSpan: () => en,
|
|
3949
|
+
string: () => Qt,
|
|
3950
|
+
text: () => $t
|
|
3951
|
+
}), Jt = {
|
|
3946
3952
|
42: q,
|
|
3947
3953
|
43: q,
|
|
3948
3954
|
45: q,
|
|
@@ -3957,39 +3963,39 @@ var Kt = /* @__PURE__ */ t({
|
|
|
3957
3963
|
56: q,
|
|
3958
3964
|
57: q,
|
|
3959
3965
|
62: pe
|
|
3960
|
-
},
|
|
3966
|
+
}, Yt = { 91: Ge }, Xt = {
|
|
3961
3967
|
[-2]: Te,
|
|
3962
3968
|
[-1]: Te,
|
|
3963
3969
|
32: Te
|
|
3964
|
-
},
|
|
3965
|
-
35:
|
|
3966
|
-
42:
|
|
3967
|
-
45: [
|
|
3968
|
-
60:
|
|
3969
|
-
61:
|
|
3970
|
-
95:
|
|
3970
|
+
}, Zt = {
|
|
3971
|
+
35: Ze,
|
|
3972
|
+
42: Dt,
|
|
3973
|
+
45: [It, Dt],
|
|
3974
|
+
60: nt,
|
|
3975
|
+
61: It,
|
|
3976
|
+
95: Dt,
|
|
3971
3977
|
96: Se,
|
|
3972
3978
|
126: Se
|
|
3973
|
-
},
|
|
3979
|
+
}, Qt = {
|
|
3974
3980
|
38: ye,
|
|
3975
3981
|
92: _e
|
|
3976
|
-
},
|
|
3977
|
-
[-5]:
|
|
3978
|
-
[-4]:
|
|
3979
|
-
[-3]:
|
|
3980
|
-
33:
|
|
3982
|
+
}, $t = {
|
|
3983
|
+
[-5]: Tt,
|
|
3984
|
+
[-4]: Tt,
|
|
3985
|
+
[-3]: Tt,
|
|
3986
|
+
33: xt,
|
|
3981
3987
|
38: ye,
|
|
3982
3988
|
42: oe,
|
|
3983
|
-
60: [ue,
|
|
3984
|
-
91:
|
|
3985
|
-
92: [
|
|
3986
|
-
93:
|
|
3989
|
+
60: [ue, lt],
|
|
3990
|
+
91: Ct,
|
|
3991
|
+
92: [Ye, _e],
|
|
3992
|
+
93: dt,
|
|
3987
3993
|
95: oe,
|
|
3988
3994
|
96: ke
|
|
3989
|
-
},
|
|
3995
|
+
}, en = { null: [oe, Vt] }, tn = { null: [42, 95] }, nn = { null: [] };
|
|
3990
3996
|
//#endregion
|
|
3991
3997
|
//#region ../node_modules/micromark/lib/create-tokenizer.js
|
|
3992
|
-
function
|
|
3998
|
+
function rn(e, t, n) {
|
|
3993
3999
|
let r = {
|
|
3994
4000
|
_bufferIndex: -1,
|
|
3995
4001
|
_index: 0,
|
|
@@ -4001,7 +4007,7 @@ function nn(e, t, n) {
|
|
|
4001
4007
|
check: T(w),
|
|
4002
4008
|
consume: v,
|
|
4003
4009
|
enter: y,
|
|
4004
|
-
exit:
|
|
4010
|
+
exit: b,
|
|
4005
4011
|
interrupt: T(w, { interrupt: !0 })
|
|
4006
4012
|
}, l = {
|
|
4007
4013
|
code: null,
|
|
@@ -4017,13 +4023,13 @@ function nn(e, t, n) {
|
|
|
4017
4023
|
}, u = t.tokenize.call(l, c);
|
|
4018
4024
|
return t.resolveAll && a.push(t), l;
|
|
4019
4025
|
function d(e) {
|
|
4020
|
-
return o =
|
|
4026
|
+
return o = S(o, e), g(), o[o.length - 1] === null ? (E(t, 0), l.events = ae(a, l.events, l), l.events) : [];
|
|
4021
4027
|
}
|
|
4022
4028
|
function f(e, t) {
|
|
4023
|
-
return
|
|
4029
|
+
return on(p(e), t);
|
|
4024
4030
|
}
|
|
4025
4031
|
function p(e) {
|
|
4026
|
-
return
|
|
4032
|
+
return an(o, e);
|
|
4027
4033
|
}
|
|
4028
4034
|
function m() {
|
|
4029
4035
|
let { _bufferIndex: e, _index: t, line: n, column: i, offset: a } = r;
|
|
@@ -4050,7 +4056,7 @@ function nn(e, t, n) {
|
|
|
4050
4056
|
u = u(e);
|
|
4051
4057
|
}
|
|
4052
4058
|
function v(e) {
|
|
4053
|
-
|
|
4059
|
+
I(e) ? (r.line++, r.column = 1, r.offset += e === -3 ? 2 : 1, O()) : e !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === o[r._index].length && (r._bufferIndex = -1, r._index++)), l.previous = e;
|
|
4054
4060
|
}
|
|
4055
4061
|
function y(e, t) {
|
|
4056
4062
|
let n = t || {};
|
|
@@ -4060,7 +4066,7 @@ function nn(e, t, n) {
|
|
|
4060
4066
|
l
|
|
4061
4067
|
]), s.push(n), n;
|
|
4062
4068
|
}
|
|
4063
|
-
function
|
|
4069
|
+
function b(e) {
|
|
4064
4070
|
let t = s.pop();
|
|
4065
4071
|
return t.end = m(), l.events.push([
|
|
4066
4072
|
"exit",
|
|
@@ -4104,7 +4110,7 @@ function nn(e, t, n) {
|
|
|
4104
4110
|
}
|
|
4105
4111
|
}
|
|
4106
4112
|
function E(e, t) {
|
|
4107
|
-
e.resolveAll && !a.includes(e) && a.push(e), e.resolve &&
|
|
4113
|
+
e.resolveAll && !a.includes(e) && a.push(e), e.resolve && x(l.events, t, l.events.length - t, e.resolve(l.events.slice(t), l)), e.resolveTo && (l.events = e.resolveTo(l.events, l));
|
|
4108
4114
|
}
|
|
4109
4115
|
function D() {
|
|
4110
4116
|
let e = m(), t = l.previous, n = l.currentConstruct, i = l.events.length, a = Array.from(s);
|
|
@@ -4120,7 +4126,7 @@ function nn(e, t, n) {
|
|
|
4120
4126
|
r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
|
|
4121
4127
|
}
|
|
4122
4128
|
}
|
|
4123
|
-
function
|
|
4129
|
+
function an(e, t) {
|
|
4124
4130
|
let n = t.start._index, r = t.start._bufferIndex, i = t.end._index, a = t.end._bufferIndex, o;
|
|
4125
4131
|
if (n === i) o = [e[n].slice(r, a)];
|
|
4126
4132
|
else {
|
|
@@ -4132,7 +4138,7 @@ function rn(e, t) {
|
|
|
4132
4138
|
}
|
|
4133
4139
|
return o;
|
|
4134
4140
|
}
|
|
4135
|
-
function
|
|
4141
|
+
function on(e, t) {
|
|
4136
4142
|
let n = -1, r = [], i;
|
|
4137
4143
|
for (; ++n < e.length;) {
|
|
4138
4144
|
let a = e[n], o;
|
|
@@ -4162,41 +4168,41 @@ function an(e, t) {
|
|
|
4162
4168
|
}
|
|
4163
4169
|
//#endregion
|
|
4164
4170
|
//#region ../node_modules/micromark/lib/parse.js
|
|
4165
|
-
function
|
|
4171
|
+
function sn(e) {
|
|
4166
4172
|
let t = {
|
|
4167
|
-
constructs:
|
|
4168
|
-
content: n(
|
|
4173
|
+
constructs: w([qt, ...(e || {}).extensions || []]),
|
|
4174
|
+
content: n(U),
|
|
4169
4175
|
defined: [],
|
|
4170
|
-
document: n(
|
|
4171
|
-
flow: n(
|
|
4176
|
+
document: n(te),
|
|
4177
|
+
flow: n(zt),
|
|
4172
4178
|
lazy: {},
|
|
4173
|
-
string: n(
|
|
4174
|
-
text: n(
|
|
4179
|
+
string: n(Ht),
|
|
4180
|
+
text: n(Ut)
|
|
4175
4181
|
};
|
|
4176
4182
|
return t;
|
|
4177
4183
|
function n(e) {
|
|
4178
4184
|
return n;
|
|
4179
4185
|
function n(n) {
|
|
4180
|
-
return
|
|
4186
|
+
return rn(t, e, n);
|
|
4181
4187
|
}
|
|
4182
4188
|
}
|
|
4183
4189
|
}
|
|
4184
4190
|
//#endregion
|
|
4185
4191
|
//#region ../node_modules/micromark/lib/postprocess.js
|
|
4186
|
-
function
|
|
4187
|
-
for (; !
|
|
4192
|
+
function cn(e) {
|
|
4193
|
+
for (; !Fe(e););
|
|
4188
4194
|
return e;
|
|
4189
4195
|
}
|
|
4190
4196
|
//#endregion
|
|
4191
4197
|
//#region ../node_modules/micromark/lib/preprocess.js
|
|
4192
|
-
var
|
|
4193
|
-
function
|
|
4198
|
+
var ln = /[\0\t\n\r]/g;
|
|
4199
|
+
function un() {
|
|
4194
4200
|
let e = 1, t = "", n = !0, r;
|
|
4195
4201
|
return i;
|
|
4196
4202
|
function i(i, a, o) {
|
|
4197
4203
|
let s = [], c, l, u, d, f;
|
|
4198
4204
|
for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(a || void 0).decode(i)), u = 0, t = "", n &&= (i.charCodeAt(0) === 65279 && u++, void 0); u < i.length;) {
|
|
4199
|
-
if (
|
|
4205
|
+
if (ln.lastIndex = u, c = ln.exec(i), d = c && c.index !== void 0 ? c.index : i.length, f = i.charCodeAt(d), !c) {
|
|
4200
4206
|
t = i.slice(u);
|
|
4201
4207
|
break;
|
|
4202
4208
|
}
|
|
@@ -4220,25 +4226,25 @@ function ln() {
|
|
|
4220
4226
|
}
|
|
4221
4227
|
//#endregion
|
|
4222
4228
|
//#region ../node_modules/micromark-util-decode-string/index.js
|
|
4223
|
-
var
|
|
4224
|
-
function
|
|
4225
|
-
return e.replace(
|
|
4229
|
+
var dn = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
4230
|
+
function fn(e) {
|
|
4231
|
+
return e.replace(dn, pn);
|
|
4226
4232
|
}
|
|
4227
|
-
function
|
|
4233
|
+
function pn(e, t, n) {
|
|
4228
4234
|
if (t) return t;
|
|
4229
4235
|
if (n.charCodeAt(0) === 35) {
|
|
4230
4236
|
let e = n.charCodeAt(1), t = e === 120 || e === 88;
|
|
4231
|
-
return
|
|
4237
|
+
return D(n.slice(t ? 2 : 1), t ? 16 : 10);
|
|
4232
4238
|
}
|
|
4233
|
-
return
|
|
4239
|
+
return b(n) || e;
|
|
4234
4240
|
}
|
|
4235
4241
|
//#endregion
|
|
4236
4242
|
//#region ../node_modules/mdast-util-from-markdown/lib/index.js
|
|
4237
|
-
var
|
|
4238
|
-
function
|
|
4239
|
-
return t && typeof t == "object" && (n = t, t = void 0),
|
|
4243
|
+
var mn = {}.hasOwnProperty;
|
|
4244
|
+
function hn(e, t, n) {
|
|
4245
|
+
return t && typeof t == "object" && (n = t, t = void 0), gn(n)(cn(sn(n).document().write(un()(e, t, !0))));
|
|
4240
4246
|
}
|
|
4241
|
-
function
|
|
4247
|
+
function gn(e) {
|
|
4242
4248
|
let t = {
|
|
4243
4249
|
transforms: [],
|
|
4244
4250
|
canContainEols: [
|
|
@@ -4249,67 +4255,67 @@ function hn(e) {
|
|
|
4249
4255
|
"strong"
|
|
4250
4256
|
],
|
|
4251
4257
|
enter: {
|
|
4252
|
-
autolink: a(
|
|
4258
|
+
autolink: a(me),
|
|
4253
4259
|
autolinkProtocol: A,
|
|
4254
4260
|
autolinkEmail: A,
|
|
4255
|
-
atxHeading: a(
|
|
4256
|
-
blockQuote: a(
|
|
4261
|
+
atxHeading: a(de),
|
|
4262
|
+
blockQuote: a(oe),
|
|
4257
4263
|
characterEscape: A,
|
|
4258
4264
|
characterReference: A,
|
|
4259
|
-
codeFenced: a(
|
|
4265
|
+
codeFenced: a(se),
|
|
4260
4266
|
codeFencedFenceInfo: o,
|
|
4261
4267
|
codeFencedFenceMeta: o,
|
|
4262
|
-
codeIndented: a(
|
|
4263
|
-
codeText: a(
|
|
4268
|
+
codeIndented: a(se, o),
|
|
4269
|
+
codeText: a(ce, o),
|
|
4264
4270
|
codeTextData: A,
|
|
4265
4271
|
data: A,
|
|
4266
4272
|
codeFlowValue: A,
|
|
4267
|
-
definition: a(
|
|
4273
|
+
definition: a(le),
|
|
4268
4274
|
definitionDestinationString: o,
|
|
4269
4275
|
definitionLabelString: o,
|
|
4270
4276
|
definitionTitleString: o,
|
|
4271
|
-
emphasis: a(
|
|
4272
|
-
hardBreakEscape: a(
|
|
4273
|
-
hardBreakTrailing: a(
|
|
4274
|
-
htmlFlow: a(
|
|
4277
|
+
emphasis: a(ue),
|
|
4278
|
+
hardBreakEscape: a(G),
|
|
4279
|
+
hardBreakTrailing: a(G),
|
|
4280
|
+
htmlFlow: a(fe, o),
|
|
4275
4281
|
htmlFlowData: A,
|
|
4276
|
-
htmlText: a(
|
|
4282
|
+
htmlText: a(fe, o),
|
|
4277
4283
|
htmlTextData: A,
|
|
4278
|
-
image: a(
|
|
4284
|
+
image: a(pe),
|
|
4279
4285
|
label: o,
|
|
4280
|
-
link: a(
|
|
4281
|
-
listItem: a(
|
|
4282
|
-
listItemValue:
|
|
4283
|
-
listOrdered: a(
|
|
4284
|
-
listUnordered: a(
|
|
4285
|
-
paragraph: a(
|
|
4286
|
-
reference:
|
|
4286
|
+
link: a(me),
|
|
4287
|
+
listItem: a(ge),
|
|
4288
|
+
listItemValue: p,
|
|
4289
|
+
listOrdered: a(he, f),
|
|
4290
|
+
listUnordered: a(he),
|
|
4291
|
+
paragraph: a(_e),
|
|
4292
|
+
reference: ee,
|
|
4287
4293
|
referenceString: o,
|
|
4288
4294
|
resourceDestinationString: o,
|
|
4289
4295
|
resourceTitleString: o,
|
|
4290
|
-
setextHeading: a(
|
|
4291
|
-
strong: a(
|
|
4292
|
-
thematicBreak: a(
|
|
4296
|
+
setextHeading: a(de),
|
|
4297
|
+
strong: a(ve),
|
|
4298
|
+
thematicBreak: a(be)
|
|
4293
4299
|
},
|
|
4294
4300
|
exit: {
|
|
4295
4301
|
atxHeading: l(),
|
|
4296
4302
|
atxHeadingSequence: w,
|
|
4297
4303
|
autolink: l(),
|
|
4298
|
-
autolinkEmail:
|
|
4299
|
-
autolinkProtocol:
|
|
4304
|
+
autolinkEmail: ae,
|
|
4305
|
+
autolinkProtocol: W,
|
|
4300
4306
|
blockQuote: l(),
|
|
4301
4307
|
characterEscapeValue: j,
|
|
4302
|
-
characterReferenceMarkerHexadecimal:
|
|
4303
|
-
characterReferenceMarkerNumeric:
|
|
4304
|
-
characterReferenceValue:
|
|
4305
|
-
characterReference:
|
|
4308
|
+
characterReferenceMarkerHexadecimal: ne,
|
|
4309
|
+
characterReferenceMarkerNumeric: ne,
|
|
4310
|
+
characterReferenceValue: re,
|
|
4311
|
+
characterReference: ie,
|
|
4306
4312
|
codeFenced: l(v),
|
|
4307
4313
|
codeFencedFence: _,
|
|
4308
4314
|
codeFencedFenceInfo: h,
|
|
4309
4315
|
codeFencedFenceMeta: g,
|
|
4310
4316
|
codeFlowValue: j,
|
|
4311
|
-
codeIndented: l(
|
|
4312
|
-
codeText: l(
|
|
4317
|
+
codeIndented: l(y),
|
|
4318
|
+
codeText: l(I),
|
|
4313
4319
|
codeTextData: j,
|
|
4314
4320
|
data: j,
|
|
4315
4321
|
definition: l(),
|
|
@@ -4317,33 +4323,33 @@ function hn(e) {
|
|
|
4317
4323
|
definitionLabelString: x,
|
|
4318
4324
|
definitionTitleString: S,
|
|
4319
4325
|
emphasis: l(),
|
|
4320
|
-
hardBreakEscape: l(
|
|
4321
|
-
hardBreakTrailing: l(
|
|
4322
|
-
htmlFlow: l(
|
|
4326
|
+
hardBreakEscape: l(N),
|
|
4327
|
+
hardBreakTrailing: l(N),
|
|
4328
|
+
htmlFlow: l(P),
|
|
4323
4329
|
htmlFlowData: j,
|
|
4324
|
-
htmlText: l(
|
|
4330
|
+
htmlText: l(F),
|
|
4325
4331
|
htmlTextData: j,
|
|
4326
|
-
image: l(
|
|
4327
|
-
label:
|
|
4328
|
-
labelText:
|
|
4332
|
+
image: l(R),
|
|
4333
|
+
label: B,
|
|
4334
|
+
labelText: z,
|
|
4329
4335
|
lineEnding: M,
|
|
4330
|
-
link: l(
|
|
4336
|
+
link: l(L),
|
|
4331
4337
|
listItem: l(),
|
|
4332
4338
|
listOrdered: l(),
|
|
4333
4339
|
listUnordered: l(),
|
|
4334
4340
|
paragraph: l(),
|
|
4335
|
-
referenceString:
|
|
4336
|
-
resourceDestinationString:
|
|
4337
|
-
resourceTitleString:
|
|
4338
|
-
resource:
|
|
4341
|
+
referenceString: te,
|
|
4342
|
+
resourceDestinationString: V,
|
|
4343
|
+
resourceTitleString: H,
|
|
4344
|
+
resource: U,
|
|
4339
4345
|
setextHeading: l(k),
|
|
4340
|
-
setextHeadingLineSequence:
|
|
4346
|
+
setextHeadingLineSequence: E,
|
|
4341
4347
|
setextHeadingText: T,
|
|
4342
4348
|
strong: l(),
|
|
4343
4349
|
thematicBreak: l()
|
|
4344
4350
|
}
|
|
4345
4351
|
};
|
|
4346
|
-
|
|
4352
|
+
_n(t, (e || {}).mdastExtensions || []);
|
|
4347
4353
|
let n = {};
|
|
4348
4354
|
return r;
|
|
4349
4355
|
function r(e) {
|
|
@@ -4354,20 +4360,20 @@ function hn(e) {
|
|
|
4354
4360
|
stack: [r],
|
|
4355
4361
|
tokenStack: [],
|
|
4356
4362
|
config: t,
|
|
4357
|
-
enter:
|
|
4363
|
+
enter: s,
|
|
4358
4364
|
exit: u,
|
|
4359
4365
|
buffer: o,
|
|
4360
4366
|
resume: d,
|
|
4361
4367
|
data: n
|
|
4362
|
-
},
|
|
4363
|
-
for (; ++l < e.length;) (e[l][1].type === "listOrdered" || e[l][1].type === "listUnordered") && (e[l][0] === "enter" ?
|
|
4368
|
+
}, c = [], l = -1;
|
|
4369
|
+
for (; ++l < e.length;) (e[l][1].type === "listOrdered" || e[l][1].type === "listUnordered") && (e[l][0] === "enter" ? c.push(l) : l = i(e, c.pop(), l));
|
|
4364
4370
|
for (l = -1; ++l < e.length;) {
|
|
4365
4371
|
let n = t[e[l][0]];
|
|
4366
|
-
|
|
4372
|
+
mn.call(n, e[l][1].type) && n[e[l][1].type].call(Object.assign({ sliceSerialize: e[l][2].sliceSerialize }, a), e[l][1]);
|
|
4367
4373
|
}
|
|
4368
4374
|
if (a.tokenStack.length > 0) {
|
|
4369
4375
|
let e = a.tokenStack[a.tokenStack.length - 1];
|
|
4370
|
-
(e[1] ||
|
|
4376
|
+
(e[1] || yn).call(a, void 0, e[0]);
|
|
4371
4377
|
}
|
|
4372
4378
|
for (r.position = {
|
|
4373
4379
|
start: J(e.length > 0 ? e[0][1].start : {
|
|
@@ -4439,7 +4445,7 @@ function hn(e) {
|
|
|
4439
4445
|
function a(e, t) {
|
|
4440
4446
|
return n;
|
|
4441
4447
|
function n(n) {
|
|
4442
|
-
|
|
4448
|
+
s.call(this, e(n), n), t && t.call(this, n);
|
|
4443
4449
|
}
|
|
4444
4450
|
}
|
|
4445
4451
|
function o() {
|
|
@@ -4448,7 +4454,7 @@ function hn(e) {
|
|
|
4448
4454
|
children: []
|
|
4449
4455
|
});
|
|
4450
4456
|
}
|
|
4451
|
-
function
|
|
4457
|
+
function s(e, t, n) {
|
|
4452
4458
|
this.stack[this.stack.length - 1].children.push(e), this.stack.push(e), this.tokenStack.push([t, n || void 0]), e.position = {
|
|
4453
4459
|
start: J(t.start),
|
|
4454
4460
|
end: void 0
|
|
@@ -4462,20 +4468,20 @@ function hn(e) {
|
|
|
4462
4468
|
}
|
|
4463
4469
|
function u(e, t) {
|
|
4464
4470
|
let n = this.stack.pop(), r = this.tokenStack.pop();
|
|
4465
|
-
if (r) r[0].type !== e.type && (t ? t.call(this, e, r[0]) : (r[1] ||
|
|
4466
|
-
else throw Error("Cannot close `" + e.type + "` (" +
|
|
4471
|
+
if (r) r[0].type !== e.type && (t ? t.call(this, e, r[0]) : (r[1] || yn).call(this, e, r[0]));
|
|
4472
|
+
else throw Error("Cannot close `" + e.type + "` (" + c({
|
|
4467
4473
|
start: e.start,
|
|
4468
4474
|
end: e.end
|
|
4469
4475
|
}) + "): it’s not open");
|
|
4470
4476
|
n.position.end = J(e.end);
|
|
4471
4477
|
}
|
|
4472
4478
|
function d() {
|
|
4473
|
-
return
|
|
4479
|
+
return m(this.stack.pop());
|
|
4474
4480
|
}
|
|
4475
4481
|
function f() {
|
|
4476
4482
|
this.data.expectingFirstListItemValue = !0;
|
|
4477
4483
|
}
|
|
4478
|
-
function
|
|
4484
|
+
function p(e) {
|
|
4479
4485
|
if (this.data.expectingFirstListItemValue) {
|
|
4480
4486
|
let t = this.stack[this.stack.length - 2];
|
|
4481
4487
|
t.start = Number.parseInt(this.sliceSerialize(e), 10), this.data.expectingFirstListItemValue = void 0;
|
|
@@ -4496,13 +4502,13 @@ function hn(e) {
|
|
|
4496
4502
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4497
4503
|
t.value = e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
4498
4504
|
}
|
|
4499
|
-
function
|
|
4505
|
+
function y() {
|
|
4500
4506
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4501
4507
|
t.value = e.replace(/(\r?\n|\r)$/g, "");
|
|
4502
4508
|
}
|
|
4503
4509
|
function x(e) {
|
|
4504
4510
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
4505
|
-
n.label = t, n.identifier =
|
|
4511
|
+
n.label = t, n.identifier = O(this.sliceSerialize(e)).toLowerCase();
|
|
4506
4512
|
}
|
|
4507
4513
|
function S() {
|
|
4508
4514
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
@@ -4519,7 +4525,7 @@ function hn(e) {
|
|
|
4519
4525
|
function T() {
|
|
4520
4526
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
4521
4527
|
}
|
|
4522
|
-
function
|
|
4528
|
+
function E(e) {
|
|
4523
4529
|
let t = this.stack[this.stack.length - 1];
|
|
4524
4530
|
t.depth = this.sliceSerialize(e).codePointAt(0) === 61 ? 1 : 2;
|
|
4525
4531
|
}
|
|
@@ -4528,7 +4534,7 @@ function hn(e) {
|
|
|
4528
4534
|
}
|
|
4529
4535
|
function A(e) {
|
|
4530
4536
|
let t = this.stack[this.stack.length - 1].children, n = t[t.length - 1];
|
|
4531
|
-
(!n || n.type !== "text") && (n =
|
|
4537
|
+
(!n || n.type !== "text") && (n = ye(), n.position = {
|
|
4532
4538
|
start: J(e.start),
|
|
4533
4539
|
end: void 0
|
|
4534
4540
|
}, t.push(n)), this.stack.push(n);
|
|
@@ -4546,12 +4552,8 @@ function hn(e) {
|
|
|
4546
4552
|
}
|
|
4547
4553
|
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(n.type) && (A.call(this, e), j.call(this, e));
|
|
4548
4554
|
}
|
|
4549
|
-
function ee() {
|
|
4550
|
-
this.data.atHardBreak = !0;
|
|
4551
|
-
}
|
|
4552
4555
|
function N() {
|
|
4553
|
-
|
|
4554
|
-
t.value = e;
|
|
4556
|
+
this.data.atHardBreak = !0;
|
|
4555
4557
|
}
|
|
4556
4558
|
function P() {
|
|
4557
4559
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
@@ -4562,6 +4564,10 @@ function hn(e) {
|
|
|
4562
4564
|
t.value = e;
|
|
4563
4565
|
}
|
|
4564
4566
|
function I() {
|
|
4567
|
+
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4568
|
+
t.value = e;
|
|
4569
|
+
}
|
|
4570
|
+
function L() {
|
|
4565
4571
|
let e = this.stack[this.stack.length - 1];
|
|
4566
4572
|
if (this.data.inReference) {
|
|
4567
4573
|
let t = this.data.referenceType || "shortcut";
|
|
@@ -4569,7 +4575,7 @@ function hn(e) {
|
|
|
4569
4575
|
} else delete e.identifier, delete e.label;
|
|
4570
4576
|
this.data.referenceType = void 0;
|
|
4571
4577
|
}
|
|
4572
|
-
function
|
|
4578
|
+
function R() {
|
|
4573
4579
|
let e = this.stack[this.stack.length - 1];
|
|
4574
4580
|
if (this.data.inReference) {
|
|
4575
4581
|
let t = this.data.referenceType || "shortcut";
|
|
@@ -4577,62 +4583,62 @@ function hn(e) {
|
|
|
4577
4583
|
} else delete e.identifier, delete e.label;
|
|
4578
4584
|
this.data.referenceType = void 0;
|
|
4579
4585
|
}
|
|
4580
|
-
function
|
|
4586
|
+
function z(e) {
|
|
4581
4587
|
let t = this.sliceSerialize(e), n = this.stack[this.stack.length - 2];
|
|
4582
|
-
n.label =
|
|
4588
|
+
n.label = fn(t), n.identifier = O(t).toLowerCase();
|
|
4583
4589
|
}
|
|
4584
|
-
function
|
|
4590
|
+
function B() {
|
|
4585
4591
|
let e = this.stack[this.stack.length - 1], t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
4586
4592
|
this.data.inReference = !0, n.type === "link" ? n.children = e.children : n.alt = t;
|
|
4587
4593
|
}
|
|
4588
|
-
function
|
|
4594
|
+
function V() {
|
|
4589
4595
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4590
4596
|
t.url = e;
|
|
4591
4597
|
}
|
|
4592
|
-
function
|
|
4598
|
+
function H() {
|
|
4593
4599
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
4594
4600
|
t.title = e;
|
|
4595
4601
|
}
|
|
4596
|
-
function
|
|
4602
|
+
function U() {
|
|
4597
4603
|
this.data.inReference = void 0;
|
|
4598
4604
|
}
|
|
4599
|
-
function
|
|
4605
|
+
function ee() {
|
|
4600
4606
|
this.data.referenceType = "collapsed";
|
|
4601
4607
|
}
|
|
4602
|
-
function
|
|
4608
|
+
function te(e) {
|
|
4603
4609
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
4604
|
-
n.label = t, n.identifier =
|
|
4610
|
+
n.label = t, n.identifier = O(this.sliceSerialize(e)).toLowerCase(), this.data.referenceType = "full";
|
|
4605
4611
|
}
|
|
4606
|
-
function
|
|
4612
|
+
function ne(e) {
|
|
4607
4613
|
this.data.characterReferenceType = e.type;
|
|
4608
4614
|
}
|
|
4609
|
-
function
|
|
4615
|
+
function re(e) {
|
|
4610
4616
|
let t = this.sliceSerialize(e), n = this.data.characterReferenceType, r;
|
|
4611
|
-
n ? (r =
|
|
4617
|
+
n ? (r = D(t, n === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : r = b(t);
|
|
4612
4618
|
let i = this.stack[this.stack.length - 1];
|
|
4613
4619
|
i.value += r;
|
|
4614
4620
|
}
|
|
4615
|
-
function
|
|
4621
|
+
function ie(e) {
|
|
4616
4622
|
let t = this.stack.pop();
|
|
4617
4623
|
t.position.end = J(e.end);
|
|
4618
4624
|
}
|
|
4619
|
-
function
|
|
4625
|
+
function W(e) {
|
|
4620
4626
|
j.call(this, e);
|
|
4621
4627
|
let t = this.stack[this.stack.length - 1];
|
|
4622
4628
|
t.url = this.sliceSerialize(e);
|
|
4623
4629
|
}
|
|
4624
|
-
function
|
|
4630
|
+
function ae(e) {
|
|
4625
4631
|
j.call(this, e);
|
|
4626
4632
|
let t = this.stack[this.stack.length - 1];
|
|
4627
4633
|
t.url = "mailto:" + this.sliceSerialize(e);
|
|
4628
4634
|
}
|
|
4629
|
-
function
|
|
4635
|
+
function oe() {
|
|
4630
4636
|
return {
|
|
4631
4637
|
type: "blockquote",
|
|
4632
4638
|
children: []
|
|
4633
4639
|
};
|
|
4634
4640
|
}
|
|
4635
|
-
function
|
|
4641
|
+
function se() {
|
|
4636
4642
|
return {
|
|
4637
4643
|
type: "code",
|
|
4638
4644
|
lang: null,
|
|
@@ -4640,13 +4646,13 @@ function hn(e) {
|
|
|
4640
4646
|
value: ""
|
|
4641
4647
|
};
|
|
4642
4648
|
}
|
|
4643
|
-
function
|
|
4649
|
+
function ce() {
|
|
4644
4650
|
return {
|
|
4645
4651
|
type: "inlineCode",
|
|
4646
4652
|
value: ""
|
|
4647
4653
|
};
|
|
4648
4654
|
}
|
|
4649
|
-
function
|
|
4655
|
+
function le() {
|
|
4650
4656
|
return {
|
|
4651
4657
|
type: "definition",
|
|
4652
4658
|
identifier: "",
|
|
@@ -4655,29 +4661,29 @@ function hn(e) {
|
|
|
4655
4661
|
url: ""
|
|
4656
4662
|
};
|
|
4657
4663
|
}
|
|
4658
|
-
function
|
|
4664
|
+
function ue() {
|
|
4659
4665
|
return {
|
|
4660
4666
|
type: "emphasis",
|
|
4661
4667
|
children: []
|
|
4662
4668
|
};
|
|
4663
4669
|
}
|
|
4664
|
-
function
|
|
4670
|
+
function de() {
|
|
4665
4671
|
return {
|
|
4666
4672
|
type: "heading",
|
|
4667
4673
|
depth: 0,
|
|
4668
4674
|
children: []
|
|
4669
4675
|
};
|
|
4670
4676
|
}
|
|
4671
|
-
function
|
|
4677
|
+
function G() {
|
|
4672
4678
|
return { type: "break" };
|
|
4673
4679
|
}
|
|
4674
|
-
function
|
|
4680
|
+
function fe() {
|
|
4675
4681
|
return {
|
|
4676
4682
|
type: "html",
|
|
4677
4683
|
value: ""
|
|
4678
4684
|
};
|
|
4679
4685
|
}
|
|
4680
|
-
function
|
|
4686
|
+
function pe() {
|
|
4681
4687
|
return {
|
|
4682
4688
|
type: "image",
|
|
4683
4689
|
title: null,
|
|
@@ -4685,7 +4691,7 @@ function hn(e) {
|
|
|
4685
4691
|
alt: null
|
|
4686
4692
|
};
|
|
4687
4693
|
}
|
|
4688
|
-
function
|
|
4694
|
+
function me() {
|
|
4689
4695
|
return {
|
|
4690
4696
|
type: "link",
|
|
4691
4697
|
title: null,
|
|
@@ -4693,7 +4699,7 @@ function hn(e) {
|
|
|
4693
4699
|
children: []
|
|
4694
4700
|
};
|
|
4695
4701
|
}
|
|
4696
|
-
function
|
|
4702
|
+
function he(e) {
|
|
4697
4703
|
return {
|
|
4698
4704
|
type: "list",
|
|
4699
4705
|
ordered: e.type === "listOrdered",
|
|
@@ -4702,7 +4708,7 @@ function hn(e) {
|
|
|
4702
4708
|
children: []
|
|
4703
4709
|
};
|
|
4704
4710
|
}
|
|
4705
|
-
function
|
|
4711
|
+
function ge(e) {
|
|
4706
4712
|
return {
|
|
4707
4713
|
type: "listItem",
|
|
4708
4714
|
spread: e._spread,
|
|
@@ -4710,25 +4716,25 @@ function hn(e) {
|
|
|
4710
4716
|
children: []
|
|
4711
4717
|
};
|
|
4712
4718
|
}
|
|
4713
|
-
function
|
|
4719
|
+
function _e() {
|
|
4714
4720
|
return {
|
|
4715
4721
|
type: "paragraph",
|
|
4716
4722
|
children: []
|
|
4717
4723
|
};
|
|
4718
4724
|
}
|
|
4719
|
-
function
|
|
4725
|
+
function ve() {
|
|
4720
4726
|
return {
|
|
4721
4727
|
type: "strong",
|
|
4722
4728
|
children: []
|
|
4723
4729
|
};
|
|
4724
4730
|
}
|
|
4725
|
-
function
|
|
4731
|
+
function ye() {
|
|
4726
4732
|
return {
|
|
4727
4733
|
type: "text",
|
|
4728
4734
|
value: ""
|
|
4729
4735
|
};
|
|
4730
4736
|
}
|
|
4731
|
-
function
|
|
4737
|
+
function be() {
|
|
4732
4738
|
return { type: "thematicBreak" };
|
|
4733
4739
|
}
|
|
4734
4740
|
}
|
|
@@ -4739,16 +4745,16 @@ function J(e) {
|
|
|
4739
4745
|
offset: e.offset
|
|
4740
4746
|
};
|
|
4741
4747
|
}
|
|
4742
|
-
function
|
|
4748
|
+
function _n(e, t) {
|
|
4743
4749
|
let n = -1;
|
|
4744
4750
|
for (; ++n < t.length;) {
|
|
4745
4751
|
let r = t[n];
|
|
4746
|
-
Array.isArray(r) ?
|
|
4752
|
+
Array.isArray(r) ? _n(e, r) : vn(e, r);
|
|
4747
4753
|
}
|
|
4748
4754
|
}
|
|
4749
|
-
function
|
|
4755
|
+
function vn(e, t) {
|
|
4750
4756
|
let n;
|
|
4751
|
-
for (n in t) if (
|
|
4757
|
+
for (n in t) if (mn.call(t, n)) switch (n) {
|
|
4752
4758
|
case "canContainEols": {
|
|
4753
4759
|
let r = t[n];
|
|
4754
4760
|
r && e[n].push(...r);
|
|
@@ -4767,25 +4773,25 @@ function _n(e, t) {
|
|
|
4767
4773
|
}
|
|
4768
4774
|
}
|
|
4769
4775
|
}
|
|
4770
|
-
function
|
|
4771
|
-
throw Error(e ? "Cannot close `" + e.type + "` (" +
|
|
4776
|
+
function yn(e, t) {
|
|
4777
|
+
throw Error(e ? "Cannot close `" + e.type + "` (" + c({
|
|
4772
4778
|
start: e.start,
|
|
4773
4779
|
end: e.end
|
|
4774
|
-
}) + "): a different token (`" + t.type + "`, " +
|
|
4780
|
+
}) + "): a different token (`" + t.type + "`, " + c({
|
|
4775
4781
|
start: t.start,
|
|
4776
4782
|
end: t.end
|
|
4777
|
-
}) + ") is open" : "Cannot close document, a token (`" + t.type + "`, " +
|
|
4783
|
+
}) + ") is open" : "Cannot close document, a token (`" + t.type + "`, " + c({
|
|
4778
4784
|
start: t.start,
|
|
4779
4785
|
end: t.end
|
|
4780
4786
|
}) + ") is still open");
|
|
4781
4787
|
}
|
|
4782
4788
|
//#endregion
|
|
4783
4789
|
//#region ../node_modules/remark-parse/lib/index.js
|
|
4784
|
-
function
|
|
4790
|
+
function bn(e) {
|
|
4785
4791
|
let t = this;
|
|
4786
4792
|
t.parser = n;
|
|
4787
4793
|
function n(n) {
|
|
4788
|
-
return
|
|
4794
|
+
return hn(n, {
|
|
4789
4795
|
...t.data("settings"),
|
|
4790
4796
|
...e,
|
|
4791
4797
|
extensions: t.data("micromarkExtensions") || [],
|
|
@@ -4795,73 +4801,73 @@ function yn(e) {
|
|
|
4795
4801
|
}
|
|
4796
4802
|
//#endregion
|
|
4797
4803
|
//#region ../node_modules/unist-util-is/lib/index.js
|
|
4798
|
-
var
|
|
4799
|
-
if (e == null) return
|
|
4800
|
-
if (typeof e == "function") return
|
|
4801
|
-
if (typeof e == "object") return Array.isArray(e) ?
|
|
4802
|
-
if (typeof e == "string") return
|
|
4804
|
+
var xn = (function(e) {
|
|
4805
|
+
if (e == null) return En;
|
|
4806
|
+
if (typeof e == "function") return Tn(e);
|
|
4807
|
+
if (typeof e == "object") return Array.isArray(e) ? Sn(e) : Cn(e);
|
|
4808
|
+
if (typeof e == "string") return wn(e);
|
|
4803
4809
|
throw Error("Expected function, string, or object as test");
|
|
4804
4810
|
});
|
|
4805
|
-
function
|
|
4811
|
+
function Sn(e) {
|
|
4806
4812
|
let t = [], n = -1;
|
|
4807
|
-
for (; ++n < e.length;) t[n] =
|
|
4808
|
-
return
|
|
4813
|
+
for (; ++n < e.length;) t[n] = xn(e[n]);
|
|
4814
|
+
return Tn(r);
|
|
4809
4815
|
function r(...e) {
|
|
4810
4816
|
let n = -1;
|
|
4811
4817
|
for (; ++n < t.length;) if (t[n].apply(this, e)) return !0;
|
|
4812
4818
|
return !1;
|
|
4813
4819
|
}
|
|
4814
4820
|
}
|
|
4815
|
-
function
|
|
4821
|
+
function Cn(e) {
|
|
4816
4822
|
let t = e;
|
|
4817
|
-
return
|
|
4823
|
+
return Tn(n);
|
|
4818
4824
|
function n(n) {
|
|
4819
4825
|
let r = n, i;
|
|
4820
4826
|
for (i in e) if (r[i] !== t[i]) return !1;
|
|
4821
4827
|
return !0;
|
|
4822
4828
|
}
|
|
4823
4829
|
}
|
|
4824
|
-
function
|
|
4825
|
-
return
|
|
4830
|
+
function wn(e) {
|
|
4831
|
+
return Tn(t);
|
|
4826
4832
|
function t(t) {
|
|
4827
4833
|
return t && t.type === e;
|
|
4828
4834
|
}
|
|
4829
4835
|
}
|
|
4830
|
-
function
|
|
4836
|
+
function Tn(e) {
|
|
4831
4837
|
return t;
|
|
4832
4838
|
function t(t, n, r) {
|
|
4833
|
-
return !!(
|
|
4839
|
+
return !!(Dn(t) && e.call(this, t, typeof n == "number" ? n : void 0, r || void 0));
|
|
4834
4840
|
}
|
|
4835
4841
|
}
|
|
4836
|
-
function
|
|
4842
|
+
function En() {
|
|
4837
4843
|
return !0;
|
|
4838
4844
|
}
|
|
4839
|
-
function
|
|
4845
|
+
function Dn(e) {
|
|
4840
4846
|
return typeof e == "object" && !!e && "type" in e;
|
|
4841
4847
|
}
|
|
4842
4848
|
//#endregion
|
|
4843
4849
|
//#region ../node_modules/unist-util-visit-parents/lib/color.js
|
|
4844
|
-
function
|
|
4850
|
+
function On(e) {
|
|
4845
4851
|
return e;
|
|
4846
4852
|
}
|
|
4847
4853
|
//#endregion
|
|
4848
4854
|
//#region ../node_modules/unist-util-visit-parents/lib/index.js
|
|
4849
|
-
var
|
|
4850
|
-
function
|
|
4855
|
+
var kn = [], An = "skip";
|
|
4856
|
+
function jn(e, t, n, r) {
|
|
4851
4857
|
let i;
|
|
4852
4858
|
typeof t == "function" && typeof n != "function" ? (r = n, n = t) : i = t;
|
|
4853
|
-
let a =
|
|
4859
|
+
let a = xn(i), o = r ? -1 : 1;
|
|
4854
4860
|
s(e, void 0, [])();
|
|
4855
4861
|
function s(e, i, c) {
|
|
4856
4862
|
let l = e && typeof e == "object" ? e : {};
|
|
4857
4863
|
if (typeof l.type == "string") {
|
|
4858
4864
|
let t = typeof l.tagName == "string" ? l.tagName : typeof l.name == "string" ? l.name : void 0;
|
|
4859
|
-
Object.defineProperty(u, "name", { value: "node (" +
|
|
4865
|
+
Object.defineProperty(u, "name", { value: "node (" + On(e.type + (t ? "<" + t + ">" : "")) + ")" });
|
|
4860
4866
|
}
|
|
4861
4867
|
return u;
|
|
4862
4868
|
function u() {
|
|
4863
|
-
let l =
|
|
4864
|
-
if ((!t || a(e, i, c[c.length - 1] || void 0)) && (l =
|
|
4869
|
+
let l = kn, u, d, f;
|
|
4870
|
+
if ((!t || a(e, i, c[c.length - 1] || void 0)) && (l = Mn(n(e, c)), l[0] === !1)) return l;
|
|
4865
4871
|
if ("children" in e && e.children) {
|
|
4866
4872
|
let t = e;
|
|
4867
4873
|
if (t.children && l[0] !== "skip") for (d = (r ? t.children.length : -1) + o, f = c.concat(t); d > -1 && d < t.children.length;) {
|
|
@@ -4874,14 +4880,14 @@ function An(e, t, n, r) {
|
|
|
4874
4880
|
}
|
|
4875
4881
|
}
|
|
4876
4882
|
}
|
|
4877
|
-
function
|
|
4878
|
-
return Array.isArray(e) ? e : typeof e == "number" ? [!0, e] : e == null ?
|
|
4883
|
+
function Mn(e) {
|
|
4884
|
+
return Array.isArray(e) ? e : typeof e == "number" ? [!0, e] : e == null ? kn : [e];
|
|
4879
4885
|
}
|
|
4880
4886
|
//#endregion
|
|
4881
4887
|
//#region ../node_modules/unist-util-visit/lib/index.js
|
|
4882
|
-
function
|
|
4888
|
+
function Nn(e, t, n, r) {
|
|
4883
4889
|
let i, a, o;
|
|
4884
|
-
typeof t == "function" && typeof n != "function" ? (a = void 0, o = t, i = n) : (a = t, o = n, i = r),
|
|
4890
|
+
typeof t == "function" && typeof n != "function" ? (a = void 0, o = t, i = n) : (a = t, o = n, i = r), jn(e, a, s, i);
|
|
4885
4891
|
function s(e, t) {
|
|
4886
4892
|
let n = t[t.length - 1], r = n ? n.children.indexOf(e) : void 0;
|
|
4887
4893
|
return o(e, r, n);
|
|
@@ -4889,12 +4895,12 @@ function Mn(e, t, n, r) {
|
|
|
4889
4895
|
}
|
|
4890
4896
|
//#endregion
|
|
4891
4897
|
//#region ../node_modules/bail/index.js
|
|
4892
|
-
function
|
|
4898
|
+
function Pn(e) {
|
|
4893
4899
|
if (e) throw e;
|
|
4894
4900
|
}
|
|
4895
4901
|
//#endregion
|
|
4896
4902
|
//#region ../node_modules/is-plain-obj/index.js
|
|
4897
|
-
var
|
|
4903
|
+
var Fn = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
4898
4904
|
var n = Object.prototype.hasOwnProperty, r = Object.prototype.toString, i = Object.defineProperty, a = Object.getOwnPropertyDescriptor, o = function(e) {
|
|
4899
4905
|
return typeof Array.isArray == "function" ? Array.isArray(e) : r.call(e) === "[object Array]";
|
|
4900
4906
|
}, s = function(e) {
|
|
@@ -4929,14 +4935,14 @@ var Pn = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
|
|
|
4929
4935
|
return d;
|
|
4930
4936
|
};
|
|
4931
4937
|
})))(), 1);
|
|
4932
|
-
function
|
|
4938
|
+
function In(e) {
|
|
4933
4939
|
if (typeof e != "object" || !e) return !1;
|
|
4934
4940
|
let t = Object.getPrototypeOf(e);
|
|
4935
4941
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
4936
4942
|
}
|
|
4937
4943
|
//#endregion
|
|
4938
4944
|
//#region ../node_modules/trough/lib/index.js
|
|
4939
|
-
function
|
|
4945
|
+
function Ln() {
|
|
4940
4946
|
let e = [], t = {
|
|
4941
4947
|
run: n,
|
|
4942
4948
|
use: r
|
|
@@ -4953,7 +4959,7 @@ function In() {
|
|
|
4953
4959
|
return;
|
|
4954
4960
|
}
|
|
4955
4961
|
for (; ++c < t.length;) (o[c] === null || o[c] === void 0) && (o[c] = t[c]);
|
|
4956
|
-
t = o, s ?
|
|
4962
|
+
t = o, s ? Rn(s, i)(...o) : r(null, ...o);
|
|
4957
4963
|
}
|
|
4958
4964
|
}
|
|
4959
4965
|
function r(n) {
|
|
@@ -4961,7 +4967,7 @@ function In() {
|
|
|
4961
4967
|
return e.push(n), t;
|
|
4962
4968
|
}
|
|
4963
4969
|
}
|
|
4964
|
-
function
|
|
4970
|
+
function Rn(e, t) {
|
|
4965
4971
|
let n;
|
|
4966
4972
|
return r;
|
|
4967
4973
|
function r(...t) {
|
|
@@ -4986,15 +4992,15 @@ function Ln(e, t) {
|
|
|
4986
4992
|
//#endregion
|
|
4987
4993
|
//#region ../node_modules/vfile/lib/minpath.browser.js
|
|
4988
4994
|
var Y = {
|
|
4989
|
-
basename:
|
|
4990
|
-
dirname:
|
|
4991
|
-
extname:
|
|
4992
|
-
join:
|
|
4995
|
+
basename: zn,
|
|
4996
|
+
dirname: Bn,
|
|
4997
|
+
extname: Vn,
|
|
4998
|
+
join: Hn,
|
|
4993
4999
|
sep: "/"
|
|
4994
5000
|
};
|
|
4995
|
-
function
|
|
5001
|
+
function zn(e, t) {
|
|
4996
5002
|
if (t !== void 0 && typeof t != "string") throw TypeError("\"ext\" argument must be a string");
|
|
4997
|
-
|
|
5003
|
+
Gn(e);
|
|
4998
5004
|
let n = 0, r = -1, i = e.length, a;
|
|
4999
5005
|
if (t === void 0 || t.length === 0 || t.length > e.length) {
|
|
5000
5006
|
for (; i--;) if (e.codePointAt(i) === 47) {
|
|
@@ -5015,8 +5021,8 @@ function Rn(e, t) {
|
|
|
5015
5021
|
} else o < 0 && (a = !0, o = i + 1), s > -1 && (e.codePointAt(i) === t.codePointAt(s--) ? s < 0 && (r = i) : (s = -1, r = o));
|
|
5016
5022
|
return n === r ? r = o : r < 0 && (r = e.length), e.slice(n, r);
|
|
5017
5023
|
}
|
|
5018
|
-
function
|
|
5019
|
-
if (
|
|
5024
|
+
function Bn(e) {
|
|
5025
|
+
if (Gn(e), e.length === 0) return ".";
|
|
5020
5026
|
let t = -1, n = e.length, r;
|
|
5021
5027
|
for (; --n;) if (e.codePointAt(n) === 47) {
|
|
5022
5028
|
if (r) {
|
|
@@ -5026,8 +5032,8 @@ function zn(e) {
|
|
|
5026
5032
|
} else r ||= !0;
|
|
5027
5033
|
return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
|
|
5028
5034
|
}
|
|
5029
|
-
function
|
|
5030
|
-
|
|
5035
|
+
function Vn(e) {
|
|
5036
|
+
Gn(e);
|
|
5031
5037
|
let t = e.length, n = -1, r = 0, i = -1, a = 0, o;
|
|
5032
5038
|
for (; t--;) {
|
|
5033
5039
|
let s = e.codePointAt(t);
|
|
@@ -5042,17 +5048,17 @@ function Bn(e) {
|
|
|
5042
5048
|
}
|
|
5043
5049
|
return i < 0 || n < 0 || a === 0 || a === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
|
|
5044
5050
|
}
|
|
5045
|
-
function
|
|
5051
|
+
function Hn(...e) {
|
|
5046
5052
|
let t = -1, n;
|
|
5047
|
-
for (; ++t < e.length;)
|
|
5048
|
-
return n === void 0 ? "." :
|
|
5053
|
+
for (; ++t < e.length;) Gn(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
|
|
5054
|
+
return n === void 0 ? "." : Un(n);
|
|
5049
5055
|
}
|
|
5050
|
-
function
|
|
5051
|
-
|
|
5052
|
-
let t = e.codePointAt(0) === 47, n =
|
|
5056
|
+
function Un(e) {
|
|
5057
|
+
Gn(e);
|
|
5058
|
+
let t = e.codePointAt(0) === 47, n = Wn(e, !t);
|
|
5053
5059
|
return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
|
|
5054
5060
|
}
|
|
5055
|
-
function
|
|
5061
|
+
function Wn(e, t) {
|
|
5056
5062
|
let n = "", r = 0, i = -1, a = 0, o = -1, s, c;
|
|
5057
5063
|
for (; ++o <= e.length;) {
|
|
5058
5064
|
if (o < e.length) s = e.codePointAt(o);
|
|
@@ -5080,25 +5086,25 @@ function Un(e, t) {
|
|
|
5080
5086
|
}
|
|
5081
5087
|
return n;
|
|
5082
5088
|
}
|
|
5083
|
-
function
|
|
5089
|
+
function Gn(e) {
|
|
5084
5090
|
if (typeof e != "string") throw TypeError("Path must be a string. Received " + JSON.stringify(e));
|
|
5085
5091
|
}
|
|
5086
5092
|
//#endregion
|
|
5087
5093
|
//#region ../node_modules/vfile/lib/minproc.browser.js
|
|
5088
|
-
var
|
|
5089
|
-
function
|
|
5094
|
+
var Kn = { cwd: qn };
|
|
5095
|
+
function qn() {
|
|
5090
5096
|
return "/";
|
|
5091
5097
|
}
|
|
5092
5098
|
//#endregion
|
|
5093
5099
|
//#region ../node_modules/vfile/lib/minurl.shared.js
|
|
5094
|
-
function
|
|
5100
|
+
function Jn(e) {
|
|
5095
5101
|
return !!(typeof e == "object" && e && "href" in e && e.href && "protocol" in e && e.protocol && e.auth === void 0);
|
|
5096
5102
|
}
|
|
5097
5103
|
//#endregion
|
|
5098
5104
|
//#region ../node_modules/vfile/lib/minurl.browser.js
|
|
5099
|
-
function
|
|
5105
|
+
function Yn(e) {
|
|
5100
5106
|
if (typeof e == "string") e = new URL(e);
|
|
5101
|
-
else if (!
|
|
5107
|
+
else if (!Jn(e)) {
|
|
5102
5108
|
let t = /* @__PURE__ */ TypeError("The \"path\" argument must be of type string or an instance of URL. Received `" + e + "`");
|
|
5103
5109
|
throw t.code = "ERR_INVALID_ARG_TYPE", t;
|
|
5104
5110
|
}
|
|
@@ -5106,9 +5112,9 @@ function Jn(e) {
|
|
|
5106
5112
|
let e = /* @__PURE__ */ TypeError("The URL must be of scheme file");
|
|
5107
5113
|
throw e.code = "ERR_INVALID_URL_SCHEME", e;
|
|
5108
5114
|
}
|
|
5109
|
-
return
|
|
5115
|
+
return Xn(e);
|
|
5110
5116
|
}
|
|
5111
|
-
function
|
|
5117
|
+
function Xn(e) {
|
|
5112
5118
|
if (e.hostname !== "") {
|
|
5113
5119
|
let e = /* @__PURE__ */ TypeError("File URL host must be \"localhost\" or empty on darwin");
|
|
5114
5120
|
throw e.code = "ERR_INVALID_FILE_URL_HOST", e;
|
|
@@ -5125,42 +5131,42 @@ function Yn(e) {
|
|
|
5125
5131
|
}
|
|
5126
5132
|
//#endregion
|
|
5127
5133
|
//#region ../node_modules/vfile/lib/index.js
|
|
5128
|
-
var
|
|
5134
|
+
var Zn = [
|
|
5129
5135
|
"history",
|
|
5130
5136
|
"path",
|
|
5131
5137
|
"basename",
|
|
5132
5138
|
"stem",
|
|
5133
5139
|
"extname",
|
|
5134
5140
|
"dirname"
|
|
5135
|
-
],
|
|
5141
|
+
], Qn = class {
|
|
5136
5142
|
constructor(e) {
|
|
5137
5143
|
let t;
|
|
5138
|
-
t = e ?
|
|
5144
|
+
t = e ? Jn(e) ? { path: e } : typeof e == "string" || nr(e) ? { value: e } : e : {}, this.cwd = "cwd" in t ? "" : Kn.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
|
|
5139
5145
|
let n = -1;
|
|
5140
|
-
for (; ++n <
|
|
5141
|
-
let e =
|
|
5146
|
+
for (; ++n < Zn.length;) {
|
|
5147
|
+
let e = Zn[n];
|
|
5142
5148
|
e in t && t[e] !== void 0 && t[e] !== null && (this[e] = e === "history" ? [...t[e]] : t[e]);
|
|
5143
5149
|
}
|
|
5144
5150
|
let r;
|
|
5145
|
-
for (r in t)
|
|
5151
|
+
for (r in t) Zn.includes(r) || (this[r] = t[r]);
|
|
5146
5152
|
}
|
|
5147
5153
|
get basename() {
|
|
5148
5154
|
return typeof this.path == "string" ? Y.basename(this.path) : void 0;
|
|
5149
5155
|
}
|
|
5150
5156
|
set basename(e) {
|
|
5151
|
-
|
|
5157
|
+
er(e, "basename"), $n(e, "basename"), this.path = Y.join(this.dirname || "", e);
|
|
5152
5158
|
}
|
|
5153
5159
|
get dirname() {
|
|
5154
5160
|
return typeof this.path == "string" ? Y.dirname(this.path) : void 0;
|
|
5155
5161
|
}
|
|
5156
5162
|
set dirname(e) {
|
|
5157
|
-
|
|
5163
|
+
tr(this.basename, "dirname"), this.path = Y.join(e || "", this.basename);
|
|
5158
5164
|
}
|
|
5159
5165
|
get extname() {
|
|
5160
5166
|
return typeof this.path == "string" ? Y.extname(this.path) : void 0;
|
|
5161
5167
|
}
|
|
5162
5168
|
set extname(e) {
|
|
5163
|
-
if (
|
|
5169
|
+
if ($n(e, "extname"), tr(this.dirname, "extname"), e) {
|
|
5164
5170
|
if (e.codePointAt(0) !== 46) throw Error("`extname` must start with `.`");
|
|
5165
5171
|
if (e.includes(".", 1)) throw Error("`extname` cannot contain multiple dots");
|
|
5166
5172
|
}
|
|
@@ -5170,13 +5176,13 @@ var Xn = [
|
|
|
5170
5176
|
return this.history[this.history.length - 1];
|
|
5171
5177
|
}
|
|
5172
5178
|
set path(e) {
|
|
5173
|
-
|
|
5179
|
+
Jn(e) && (e = Yn(e)), er(e, "path"), this.path !== e && this.history.push(e);
|
|
5174
5180
|
}
|
|
5175
5181
|
get stem() {
|
|
5176
5182
|
return typeof this.path == "string" ? Y.basename(this.path, this.extname) : void 0;
|
|
5177
5183
|
}
|
|
5178
5184
|
set stem(e) {
|
|
5179
|
-
|
|
5185
|
+
er(e, "stem"), $n(e, "stem"), this.path = Y.join(this.dirname || "", e + (this.extname || ""));
|
|
5180
5186
|
}
|
|
5181
5187
|
fail(e, t, n) {
|
|
5182
5188
|
let r = this.message(e, t, n);
|
|
@@ -5187,35 +5193,35 @@ var Xn = [
|
|
|
5187
5193
|
return r.fatal = void 0, r;
|
|
5188
5194
|
}
|
|
5189
5195
|
message(e, t, n) {
|
|
5190
|
-
let r = new
|
|
5196
|
+
let r = new f(e, t, n);
|
|
5191
5197
|
return this.path && (r.name = this.path + ":" + r.name, r.file = this.path), r.fatal = !1, this.messages.push(r), r;
|
|
5192
5198
|
}
|
|
5193
5199
|
toString(e) {
|
|
5194
5200
|
return this.value === void 0 ? "" : typeof this.value == "string" ? this.value : new TextDecoder(e || void 0).decode(this.value);
|
|
5195
5201
|
}
|
|
5196
5202
|
};
|
|
5197
|
-
function
|
|
5203
|
+
function $n(e, t) {
|
|
5198
5204
|
if (e && e.includes(Y.sep)) throw Error("`" + t + "` cannot be a path: did not expect `" + Y.sep + "`");
|
|
5199
5205
|
}
|
|
5200
|
-
function
|
|
5206
|
+
function er(e, t) {
|
|
5201
5207
|
if (!e) throw Error("`" + t + "` cannot be empty");
|
|
5202
5208
|
}
|
|
5203
|
-
function
|
|
5209
|
+
function tr(e, t) {
|
|
5204
5210
|
if (!e) throw Error("Setting `" + t + "` requires `path` to be set too");
|
|
5205
5211
|
}
|
|
5206
|
-
function
|
|
5212
|
+
function nr(e) {
|
|
5207
5213
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
5208
5214
|
}
|
|
5209
5215
|
//#endregion
|
|
5210
5216
|
//#region ../node_modules/unified/lib/callable-instance.js
|
|
5211
|
-
var
|
|
5217
|
+
var rr = (function(e) {
|
|
5212
5218
|
let t = this.constructor.prototype, n = t[e], r = function() {
|
|
5213
5219
|
return n.apply(r, arguments);
|
|
5214
5220
|
};
|
|
5215
5221
|
return Object.setPrototypeOf(r, t), r;
|
|
5216
|
-
}),
|
|
5222
|
+
}), ir = {}.hasOwnProperty, ar = new class e extends rr {
|
|
5217
5223
|
constructor() {
|
|
5218
|
-
super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers =
|
|
5224
|
+
super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = Ln();
|
|
5219
5225
|
}
|
|
5220
5226
|
copy() {
|
|
5221
5227
|
let t = new e(), n = -1;
|
|
@@ -5223,10 +5229,10 @@ var nr = (function(e) {
|
|
|
5223
5229
|
let e = this.attachers[n];
|
|
5224
5230
|
t.use(...e);
|
|
5225
5231
|
}
|
|
5226
|
-
return t.data((0,
|
|
5232
|
+
return t.data((0, Fn.default)(!0, {}, this.namespace)), t;
|
|
5227
5233
|
}
|
|
5228
5234
|
data(e, t) {
|
|
5229
|
-
return typeof e == "string" ? arguments.length === 2 ? (
|
|
5235
|
+
return typeof e == "string" ? arguments.length === 2 ? (cr("data", this.frozen), this.namespace[e] = t, this) : ir.call(this.namespace, e) && this.namespace[e] || void 0 : e ? (cr("data", this.frozen), this.namespace = e, this) : this.namespace;
|
|
5230
5236
|
}
|
|
5231
5237
|
freeze() {
|
|
5232
5238
|
if (this.frozen) return this;
|
|
@@ -5242,18 +5248,18 @@ var nr = (function(e) {
|
|
|
5242
5248
|
}
|
|
5243
5249
|
parse(e) {
|
|
5244
5250
|
this.freeze();
|
|
5245
|
-
let t =
|
|
5246
|
-
return
|
|
5251
|
+
let t = dr(e), n = this.parser || this.Parser;
|
|
5252
|
+
return or("parse", n), n(String(t), t);
|
|
5247
5253
|
}
|
|
5248
5254
|
process(e, t) {
|
|
5249
5255
|
let n = this;
|
|
5250
|
-
return this.freeze(),
|
|
5256
|
+
return this.freeze(), or("process", this.parser || this.Parser), sr("process", this.compiler || this.Compiler), t ? r(void 0, t) : new Promise(r);
|
|
5251
5257
|
function r(r, i) {
|
|
5252
|
-
let a =
|
|
5258
|
+
let a = dr(e), o = n.parse(a);
|
|
5253
5259
|
n.run(o, a, function(e, t, r) {
|
|
5254
5260
|
if (e || !t || !r) return s(e);
|
|
5255
5261
|
let i = t, a = n.stringify(i, r);
|
|
5256
|
-
|
|
5262
|
+
pr(a) ? r.value = a : r.result = a, s(e, r);
|
|
5257
5263
|
});
|
|
5258
5264
|
function s(e, n) {
|
|
5259
5265
|
e || !n ? i(e) : r ? r(n) : t(void 0, n);
|
|
@@ -5262,17 +5268,17 @@ var nr = (function(e) {
|
|
|
5262
5268
|
}
|
|
5263
5269
|
processSync(e) {
|
|
5264
5270
|
let t = !1, n;
|
|
5265
|
-
return this.freeze(),
|
|
5271
|
+
return this.freeze(), or("processSync", this.parser || this.Parser), sr("processSync", this.compiler || this.Compiler), this.process(e, r), ur("processSync", "process", t), n;
|
|
5266
5272
|
function r(e, r) {
|
|
5267
|
-
t = !0,
|
|
5273
|
+
t = !0, Pn(e), n = r;
|
|
5268
5274
|
}
|
|
5269
5275
|
}
|
|
5270
5276
|
run(e, t, n) {
|
|
5271
|
-
|
|
5277
|
+
lr(e), this.freeze();
|
|
5272
5278
|
let r = this.transformers;
|
|
5273
5279
|
return !n && typeof t == "function" && (n = t, t = void 0), n ? i(void 0, n) : new Promise(i);
|
|
5274
5280
|
function i(i, a) {
|
|
5275
|
-
let o =
|
|
5281
|
+
let o = dr(t);
|
|
5276
5282
|
r.run(e, o, s);
|
|
5277
5283
|
function s(t, r, o) {
|
|
5278
5284
|
let s = r || e;
|
|
@@ -5282,19 +5288,19 @@ var nr = (function(e) {
|
|
|
5282
5288
|
}
|
|
5283
5289
|
runSync(e, t) {
|
|
5284
5290
|
let n = !1, r;
|
|
5285
|
-
return this.run(e, t, i),
|
|
5291
|
+
return this.run(e, t, i), ur("runSync", "run", n), r;
|
|
5286
5292
|
function i(e, t) {
|
|
5287
|
-
|
|
5293
|
+
Pn(e), r = t, n = !0;
|
|
5288
5294
|
}
|
|
5289
5295
|
}
|
|
5290
5296
|
stringify(e, t) {
|
|
5291
5297
|
this.freeze();
|
|
5292
|
-
let n =
|
|
5293
|
-
return
|
|
5298
|
+
let n = dr(t), r = this.compiler || this.Compiler;
|
|
5299
|
+
return sr("stringify", r), lr(e), r(e, n);
|
|
5294
5300
|
}
|
|
5295
5301
|
use(e, ...t) {
|
|
5296
5302
|
let n = this.attachers, r = this.namespace;
|
|
5297
|
-
if (
|
|
5303
|
+
if (cr("use", this.frozen), e != null) {
|
|
5298
5304
|
if (typeof e == "function") s(e, t);
|
|
5299
5305
|
else if (typeof e == "object") Array.isArray(e) ? o(e) : a(e);
|
|
5300
5306
|
else throw TypeError("Expected usable value, not `" + e + "`");
|
|
@@ -5311,7 +5317,7 @@ var nr = (function(e) {
|
|
|
5311
5317
|
}
|
|
5312
5318
|
function a(e) {
|
|
5313
5319
|
if (!("plugins" in e) && !("settings" in e)) throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");
|
|
5314
|
-
o(e.plugins), e.settings && (r.settings = (0,
|
|
5320
|
+
o(e.plugins), e.settings && (r.settings = (0, Fn.default)(!0, r.settings, e.settings));
|
|
5315
5321
|
}
|
|
5316
5322
|
function o(e) {
|
|
5317
5323
|
let t = -1;
|
|
@@ -5332,7 +5338,7 @@ var nr = (function(e) {
|
|
|
5332
5338
|
if (i === -1) n.push([e, ...t]);
|
|
5333
5339
|
else if (t.length > 0) {
|
|
5334
5340
|
let [r, ...a] = t, o = n[i][1];
|
|
5335
|
-
|
|
5341
|
+
In(o) && In(r) && (r = (0, Fn.default)(!0, o, r)), n[i] = [
|
|
5336
5342
|
e,
|
|
5337
5343
|
r,
|
|
5338
5344
|
...a
|
|
@@ -5341,36 +5347,36 @@ var nr = (function(e) {
|
|
|
5341
5347
|
}
|
|
5342
5348
|
}
|
|
5343
5349
|
}().freeze();
|
|
5344
|
-
function
|
|
5350
|
+
function or(e, t) {
|
|
5345
5351
|
if (typeof t != "function") throw TypeError("Cannot `" + e + "` without `parser`");
|
|
5346
5352
|
}
|
|
5347
|
-
function
|
|
5353
|
+
function sr(e, t) {
|
|
5348
5354
|
if (typeof t != "function") throw TypeError("Cannot `" + e + "` without `compiler`");
|
|
5349
5355
|
}
|
|
5350
|
-
function
|
|
5356
|
+
function cr(e, t) {
|
|
5351
5357
|
if (t) throw Error("Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.");
|
|
5352
5358
|
}
|
|
5353
|
-
function
|
|
5354
|
-
if (!
|
|
5359
|
+
function lr(e) {
|
|
5360
|
+
if (!In(e) || typeof e.type != "string") throw TypeError("Expected node, got `" + e + "`");
|
|
5355
5361
|
}
|
|
5356
|
-
function
|
|
5362
|
+
function ur(e, t, n) {
|
|
5357
5363
|
if (!n) throw Error("`" + e + "` finished async. Use `" + t + "` instead");
|
|
5358
5364
|
}
|
|
5359
|
-
function ur(e) {
|
|
5360
|
-
return dr(e) ? e : new Zn(e);
|
|
5361
|
-
}
|
|
5362
5365
|
function dr(e) {
|
|
5363
|
-
return
|
|
5366
|
+
return fr(e) ? e : new Qn(e);
|
|
5364
5367
|
}
|
|
5365
5368
|
function fr(e) {
|
|
5366
|
-
return typeof e == "
|
|
5369
|
+
return !!(e && typeof e == "object" && "message" in e && "messages" in e);
|
|
5367
5370
|
}
|
|
5368
5371
|
function pr(e) {
|
|
5372
|
+
return typeof e == "string" || mr(e);
|
|
5373
|
+
}
|
|
5374
|
+
function mr(e) {
|
|
5369
5375
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
5370
5376
|
}
|
|
5371
5377
|
//#endregion
|
|
5372
5378
|
//#region ../node_modules/ccount/index.js
|
|
5373
|
-
function
|
|
5379
|
+
function hr(e, t) {
|
|
5374
5380
|
let n = String(e);
|
|
5375
5381
|
if (typeof t != "string") throw TypeError("Expected character");
|
|
5376
5382
|
let r = 0, i = n.indexOf(t);
|
|
@@ -5379,15 +5385,15 @@ function mr(e, t) {
|
|
|
5379
5385
|
}
|
|
5380
5386
|
//#endregion
|
|
5381
5387
|
//#region ../node_modules/escape-string-regexp/index.js
|
|
5382
|
-
function
|
|
5388
|
+
function gr(e) {
|
|
5383
5389
|
if (typeof e != "string") throw TypeError("Expected a string");
|
|
5384
5390
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
5385
5391
|
}
|
|
5386
5392
|
//#endregion
|
|
5387
5393
|
//#region ../node_modules/mdast-util-find-and-replace/lib/index.js
|
|
5388
|
-
function
|
|
5389
|
-
let r =
|
|
5390
|
-
for (; ++a < i.length;)
|
|
5394
|
+
function _r(e, t, n) {
|
|
5395
|
+
let r = xn((n || {}).ignore || []), i = vr(t), a = -1;
|
|
5396
|
+
for (; ++a < i.length;) jn(e, "text", o);
|
|
5391
5397
|
function o(e, t) {
|
|
5392
5398
|
let n = -1, i;
|
|
5393
5399
|
for (; ++n < t.length;) {
|
|
@@ -5422,75 +5428,75 @@ function gr(e, t, n) {
|
|
|
5422
5428
|
}), n.children.splice(c, 1, ...u)) : u = [e], c + u.length;
|
|
5423
5429
|
}
|
|
5424
5430
|
}
|
|
5425
|
-
function
|
|
5431
|
+
function vr(e) {
|
|
5426
5432
|
let t = [];
|
|
5427
5433
|
if (!Array.isArray(e)) throw TypeError("Expected find and replace tuple or list of tuples");
|
|
5428
5434
|
let n = !e[0] || Array.isArray(e[0]) ? e : [e], r = -1;
|
|
5429
5435
|
for (; ++r < n.length;) {
|
|
5430
5436
|
let e = n[r];
|
|
5431
|
-
t.push([
|
|
5437
|
+
t.push([yr(e[0]), br(e[1])]);
|
|
5432
5438
|
}
|
|
5433
5439
|
return t;
|
|
5434
5440
|
}
|
|
5435
|
-
function vr(e) {
|
|
5436
|
-
return typeof e == "string" ? new RegExp(hr(e), "g") : e;
|
|
5437
|
-
}
|
|
5438
5441
|
function yr(e) {
|
|
5442
|
+
return typeof e == "string" ? new RegExp(gr(e), "g") : e;
|
|
5443
|
+
}
|
|
5444
|
+
function br(e) {
|
|
5439
5445
|
return typeof e == "function" ? e : function() {
|
|
5440
5446
|
return e;
|
|
5441
5447
|
};
|
|
5442
5448
|
}
|
|
5443
5449
|
//#endregion
|
|
5444
5450
|
//#region ../node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
5445
|
-
var
|
|
5451
|
+
var xr = "phrasing", Sr = [
|
|
5446
5452
|
"autolink",
|
|
5447
5453
|
"link",
|
|
5448
5454
|
"image",
|
|
5449
5455
|
"label"
|
|
5450
5456
|
];
|
|
5451
|
-
function
|
|
5457
|
+
function Cr() {
|
|
5452
5458
|
return {
|
|
5453
|
-
transforms: [
|
|
5459
|
+
transforms: [jr],
|
|
5454
5460
|
enter: {
|
|
5455
|
-
literalAutolink:
|
|
5456
|
-
literalAutolinkEmail:
|
|
5457
|
-
literalAutolinkHttp:
|
|
5458
|
-
literalAutolinkWww:
|
|
5461
|
+
literalAutolink: Tr,
|
|
5462
|
+
literalAutolinkEmail: Er,
|
|
5463
|
+
literalAutolinkHttp: Er,
|
|
5464
|
+
literalAutolinkWww: Er
|
|
5459
5465
|
},
|
|
5460
5466
|
exit: {
|
|
5461
|
-
literalAutolink:
|
|
5462
|
-
literalAutolinkEmail:
|
|
5463
|
-
literalAutolinkHttp:
|
|
5464
|
-
literalAutolinkWww:
|
|
5467
|
+
literalAutolink: Ar,
|
|
5468
|
+
literalAutolinkEmail: kr,
|
|
5469
|
+
literalAutolinkHttp: Dr,
|
|
5470
|
+
literalAutolinkWww: Or
|
|
5465
5471
|
}
|
|
5466
5472
|
};
|
|
5467
5473
|
}
|
|
5468
|
-
function
|
|
5474
|
+
function wr() {
|
|
5469
5475
|
return { unsafe: [
|
|
5470
5476
|
{
|
|
5471
5477
|
character: "@",
|
|
5472
5478
|
before: "[+\\-.\\w]",
|
|
5473
5479
|
after: "[\\-.\\w]",
|
|
5474
|
-
inConstruct:
|
|
5475
|
-
notInConstruct:
|
|
5480
|
+
inConstruct: xr,
|
|
5481
|
+
notInConstruct: Sr
|
|
5476
5482
|
},
|
|
5477
5483
|
{
|
|
5478
5484
|
character: ".",
|
|
5479
5485
|
before: "[Ww]",
|
|
5480
5486
|
after: "[\\-.\\w]",
|
|
5481
|
-
inConstruct:
|
|
5482
|
-
notInConstruct:
|
|
5487
|
+
inConstruct: xr,
|
|
5488
|
+
notInConstruct: Sr
|
|
5483
5489
|
},
|
|
5484
5490
|
{
|
|
5485
5491
|
character: ":",
|
|
5486
5492
|
before: "[ps]",
|
|
5487
5493
|
after: "\\/",
|
|
5488
|
-
inConstruct:
|
|
5489
|
-
notInConstruct:
|
|
5494
|
+
inConstruct: xr,
|
|
5495
|
+
notInConstruct: Sr
|
|
5490
5496
|
}
|
|
5491
5497
|
] };
|
|
5492
5498
|
}
|
|
5493
|
-
function
|
|
5499
|
+
function Tr(e) {
|
|
5494
5500
|
this.enter({
|
|
5495
5501
|
type: "link",
|
|
5496
5502
|
title: null,
|
|
@@ -5498,30 +5504,30 @@ function wr(e) {
|
|
|
5498
5504
|
children: []
|
|
5499
5505
|
}, e);
|
|
5500
5506
|
}
|
|
5501
|
-
function
|
|
5507
|
+
function Er(e) {
|
|
5502
5508
|
this.config.enter.autolinkProtocol.call(this, e);
|
|
5503
5509
|
}
|
|
5504
|
-
function
|
|
5510
|
+
function Dr(e) {
|
|
5505
5511
|
this.config.exit.autolinkProtocol.call(this, e);
|
|
5506
5512
|
}
|
|
5507
|
-
function
|
|
5513
|
+
function Or(e) {
|
|
5508
5514
|
this.config.exit.data.call(this, e);
|
|
5509
5515
|
let t = this.stack[this.stack.length - 1];
|
|
5510
5516
|
t.type, t.url = "http://" + this.sliceSerialize(e);
|
|
5511
5517
|
}
|
|
5512
|
-
function
|
|
5518
|
+
function kr(e) {
|
|
5513
5519
|
this.config.exit.autolinkEmail.call(this, e);
|
|
5514
5520
|
}
|
|
5515
|
-
function
|
|
5521
|
+
function Ar(e) {
|
|
5516
5522
|
this.exit(e);
|
|
5517
5523
|
}
|
|
5518
|
-
function
|
|
5519
|
-
|
|
5524
|
+
function jr(e) {
|
|
5525
|
+
_r(e, [[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, Mr], [/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu, Nr]], { ignore: ["link", "linkReference"] });
|
|
5520
5526
|
}
|
|
5521
|
-
function
|
|
5527
|
+
function Mr(e, t, n, r, i) {
|
|
5522
5528
|
let a = "";
|
|
5523
|
-
if (!
|
|
5524
|
-
let o =
|
|
5529
|
+
if (!Ir(i) || (/^w/i.test(t) && (n = t + n, t = "", a = "http://"), !Pr(n))) return !1;
|
|
5530
|
+
let o = Fr(n + r);
|
|
5525
5531
|
if (!o[0]) return !1;
|
|
5526
5532
|
let s = {
|
|
5527
5533
|
type: "link",
|
|
@@ -5537,8 +5543,8 @@ function jr(e, t, n, r, i) {
|
|
|
5537
5543
|
value: o[1]
|
|
5538
5544
|
}] : s;
|
|
5539
5545
|
}
|
|
5540
|
-
function
|
|
5541
|
-
return !
|
|
5546
|
+
function Nr(e, t, n, r) {
|
|
5547
|
+
return !Ir(r, !0) || /[-\d_]$/.test(n) ? !1 : {
|
|
5542
5548
|
type: "link",
|
|
5543
5549
|
title: null,
|
|
5544
5550
|
url: "mailto:" + t + "@" + n,
|
|
@@ -5548,39 +5554,39 @@ function Mr(e, t, n, r) {
|
|
|
5548
5554
|
}]
|
|
5549
5555
|
};
|
|
5550
5556
|
}
|
|
5551
|
-
function
|
|
5557
|
+
function Pr(e) {
|
|
5552
5558
|
let t = e.split(".");
|
|
5553
5559
|
return !(t.length < 2 || t[t.length - 1] && (/_/.test(t[t.length - 1]) || !/[a-zA-Z\d]/.test(t[t.length - 1])) || t[t.length - 2] && (/_/.test(t[t.length - 2]) || !/[a-zA-Z\d]/.test(t[t.length - 2])));
|
|
5554
5560
|
}
|
|
5555
|
-
function
|
|
5561
|
+
function Fr(e) {
|
|
5556
5562
|
let t = /[!"&'),.:;<>?\]}]+$/.exec(e);
|
|
5557
5563
|
if (!t) return [e, void 0];
|
|
5558
5564
|
e = e.slice(0, t.index);
|
|
5559
|
-
let n = t[0], r = n.indexOf(")"), i =
|
|
5565
|
+
let n = t[0], r = n.indexOf(")"), i = hr(e, "("), a = hr(e, ")");
|
|
5560
5566
|
for (; r !== -1 && i > a;) e += n.slice(0, r + 1), n = n.slice(r + 1), r = n.indexOf(")"), a++;
|
|
5561
5567
|
return [e, n];
|
|
5562
5568
|
}
|
|
5563
|
-
function
|
|
5569
|
+
function Ir(e, t) {
|
|
5564
5570
|
let n = e.input.charCodeAt(e.index - 1);
|
|
5565
|
-
return (e.index === 0 ||
|
|
5571
|
+
return (e.index === 0 || B(n) || z(n)) && (!t || n !== 47);
|
|
5566
5572
|
}
|
|
5567
5573
|
//#endregion
|
|
5568
5574
|
//#region ../node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
5569
|
-
|
|
5570
|
-
function
|
|
5575
|
+
Kr.peek = Gr;
|
|
5576
|
+
function Lr() {
|
|
5571
5577
|
this.buffer();
|
|
5572
5578
|
}
|
|
5573
|
-
function
|
|
5579
|
+
function Rr(e) {
|
|
5574
5580
|
this.enter({
|
|
5575
5581
|
type: "footnoteReference",
|
|
5576
5582
|
identifier: "",
|
|
5577
5583
|
label: ""
|
|
5578
5584
|
}, e);
|
|
5579
5585
|
}
|
|
5580
|
-
function
|
|
5586
|
+
function zr() {
|
|
5581
5587
|
this.buffer();
|
|
5582
5588
|
}
|
|
5583
|
-
function
|
|
5589
|
+
function Br(e) {
|
|
5584
5590
|
this.enter({
|
|
5585
5591
|
type: "footnoteDefinition",
|
|
5586
5592
|
identifier: "",
|
|
@@ -5588,52 +5594,52 @@ function zr(e) {
|
|
|
5588
5594
|
children: []
|
|
5589
5595
|
}, e);
|
|
5590
5596
|
}
|
|
5591
|
-
function
|
|
5597
|
+
function Vr(e) {
|
|
5592
5598
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
5593
|
-
n.type, n.identifier =
|
|
5599
|
+
n.type, n.identifier = O(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
5594
5600
|
}
|
|
5595
|
-
function
|
|
5601
|
+
function Hr(e) {
|
|
5596
5602
|
this.exit(e);
|
|
5597
5603
|
}
|
|
5598
|
-
function
|
|
5604
|
+
function Ur(e) {
|
|
5599
5605
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
5600
|
-
n.type, n.identifier =
|
|
5606
|
+
n.type, n.identifier = O(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
5601
5607
|
}
|
|
5602
|
-
function
|
|
5608
|
+
function Wr(e) {
|
|
5603
5609
|
this.exit(e);
|
|
5604
5610
|
}
|
|
5605
|
-
function
|
|
5611
|
+
function Gr() {
|
|
5606
5612
|
return "[";
|
|
5607
5613
|
}
|
|
5608
|
-
function
|
|
5614
|
+
function Kr(e, t, n, r) {
|
|
5609
5615
|
let i = n.createTracker(r), a = i.move("[^"), o = n.enter("footnoteReference"), s = n.enter("reference");
|
|
5610
5616
|
return a += i.move(n.safe(n.associationId(e), {
|
|
5611
5617
|
after: "]",
|
|
5612
5618
|
before: a
|
|
5613
5619
|
})), s(), o(), a += i.move("]"), a;
|
|
5614
5620
|
}
|
|
5615
|
-
function
|
|
5621
|
+
function qr() {
|
|
5616
5622
|
return {
|
|
5617
5623
|
enter: {
|
|
5618
|
-
gfmFootnoteCallString:
|
|
5619
|
-
gfmFootnoteCall:
|
|
5620
|
-
gfmFootnoteDefinitionLabelString:
|
|
5621
|
-
gfmFootnoteDefinition:
|
|
5624
|
+
gfmFootnoteCallString: Lr,
|
|
5625
|
+
gfmFootnoteCall: Rr,
|
|
5626
|
+
gfmFootnoteDefinitionLabelString: zr,
|
|
5627
|
+
gfmFootnoteDefinition: Br
|
|
5622
5628
|
},
|
|
5623
5629
|
exit: {
|
|
5624
|
-
gfmFootnoteCallString:
|
|
5625
|
-
gfmFootnoteCall:
|
|
5626
|
-
gfmFootnoteDefinitionLabelString:
|
|
5627
|
-
gfmFootnoteDefinition:
|
|
5630
|
+
gfmFootnoteCallString: Vr,
|
|
5631
|
+
gfmFootnoteCall: Hr,
|
|
5632
|
+
gfmFootnoteDefinitionLabelString: Ur,
|
|
5633
|
+
gfmFootnoteDefinition: Wr
|
|
5628
5634
|
}
|
|
5629
5635
|
};
|
|
5630
5636
|
}
|
|
5631
|
-
function
|
|
5637
|
+
function Jr(e) {
|
|
5632
5638
|
let t = !1;
|
|
5633
5639
|
return e && e.firstLineBlank && (t = !0), {
|
|
5634
5640
|
handlers: {
|
|
5635
5641
|
footnoteDefinition: n,
|
|
5636
|
-
footnoteReference:
|
|
5642
|
+
footnoteReference: Kr
|
|
5637
5643
|
},
|
|
5638
5644
|
unsafe: [{
|
|
5639
5645
|
character: "[",
|
|
@@ -5649,18 +5655,18 @@ function qr(e) {
|
|
|
5649
5655
|
return o += a.move(r.safe(r.associationId(e), {
|
|
5650
5656
|
before: o,
|
|
5651
5657
|
after: "]"
|
|
5652
|
-
})), c(), o += a.move("]:"), e.children && e.children.length > 0 && (a.shift(4), o += a.move((t ? "\n" : " ") + r.indentLines(r.containerFlow(e, a.current()), t ?
|
|
5658
|
+
})), c(), o += a.move("]:"), e.children && e.children.length > 0 && (a.shift(4), o += a.move((t ? "\n" : " ") + r.indentLines(r.containerFlow(e, a.current()), t ? Xr : Yr))), s(), o;
|
|
5653
5659
|
}
|
|
5654
5660
|
}
|
|
5655
|
-
function Jr(e, t, n) {
|
|
5656
|
-
return t === 0 ? e : Yr(e, t, n);
|
|
5657
|
-
}
|
|
5658
5661
|
function Yr(e, t, n) {
|
|
5662
|
+
return t === 0 ? e : Xr(e, t, n);
|
|
5663
|
+
}
|
|
5664
|
+
function Xr(e, t, n) {
|
|
5659
5665
|
return (n ? "" : " ") + e;
|
|
5660
5666
|
}
|
|
5661
5667
|
//#endregion
|
|
5662
5668
|
//#region ../node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
5663
|
-
var
|
|
5669
|
+
var Zr = [
|
|
5664
5670
|
"autolink",
|
|
5665
5671
|
"destinationLiteral",
|
|
5666
5672
|
"destinationRaw",
|
|
@@ -5668,34 +5674,34 @@ var Xr = [
|
|
|
5668
5674
|
"titleQuote",
|
|
5669
5675
|
"titleApostrophe"
|
|
5670
5676
|
];
|
|
5671
|
-
|
|
5672
|
-
function
|
|
5677
|
+
ni.peek = ri;
|
|
5678
|
+
function Qr() {
|
|
5673
5679
|
return {
|
|
5674
5680
|
canContainEols: ["delete"],
|
|
5675
|
-
enter: { strikethrough:
|
|
5676
|
-
exit: { strikethrough:
|
|
5681
|
+
enter: { strikethrough: ei },
|
|
5682
|
+
exit: { strikethrough: ti }
|
|
5677
5683
|
};
|
|
5678
5684
|
}
|
|
5679
|
-
function
|
|
5685
|
+
function $r() {
|
|
5680
5686
|
return {
|
|
5681
5687
|
unsafe: [{
|
|
5682
5688
|
character: "~",
|
|
5683
5689
|
inConstruct: "phrasing",
|
|
5684
|
-
notInConstruct:
|
|
5690
|
+
notInConstruct: Zr
|
|
5685
5691
|
}],
|
|
5686
|
-
handlers: { delete:
|
|
5692
|
+
handlers: { delete: ni }
|
|
5687
5693
|
};
|
|
5688
5694
|
}
|
|
5689
|
-
function
|
|
5695
|
+
function ei(e) {
|
|
5690
5696
|
this.enter({
|
|
5691
5697
|
type: "delete",
|
|
5692
5698
|
children: []
|
|
5693
5699
|
}, e);
|
|
5694
5700
|
}
|
|
5695
|
-
function
|
|
5701
|
+
function ti(e) {
|
|
5696
5702
|
this.exit(e);
|
|
5697
5703
|
}
|
|
5698
|
-
function
|
|
5704
|
+
function ni(e, t, n, r) {
|
|
5699
5705
|
let i = n.createTracker(r), a = n.enter("strikethrough"), o = i.move("~~");
|
|
5700
5706
|
return o += n.containerPhrasing(e, {
|
|
5701
5707
|
...i.current(),
|
|
@@ -5703,20 +5709,20 @@ function ti(e, t, n, r) {
|
|
|
5703
5709
|
after: "~"
|
|
5704
5710
|
}), o += i.move("~~"), a(), o;
|
|
5705
5711
|
}
|
|
5706
|
-
function
|
|
5712
|
+
function ri() {
|
|
5707
5713
|
return "~";
|
|
5708
5714
|
}
|
|
5709
5715
|
//#endregion
|
|
5710
5716
|
//#region ../node_modules/markdown-table/index.js
|
|
5711
|
-
function
|
|
5717
|
+
function ii(e) {
|
|
5712
5718
|
return e.length;
|
|
5713
5719
|
}
|
|
5714
|
-
function
|
|
5715
|
-
let n = t || {}, r = (n.align || []).concat(), i = n.stringLength ||
|
|
5720
|
+
function ai(e, t) {
|
|
5721
|
+
let n = t || {}, r = (n.align || []).concat(), i = n.stringLength || ii, a = [], o = [], s = [], c = [], l = 0, u = -1;
|
|
5716
5722
|
for (; ++u < e.length;) {
|
|
5717
5723
|
let t = [], r = [], a = -1;
|
|
5718
5724
|
for (e[u].length > l && (l = e[u].length); ++a < e[u].length;) {
|
|
5719
|
-
let o =
|
|
5725
|
+
let o = oi(e[u][a]);
|
|
5720
5726
|
if (n.alignDelimiters !== !1) {
|
|
5721
5727
|
let e = i(o);
|
|
5722
5728
|
r[a] = e, (c[a] === void 0 || e > c[a]) && (c[a] = e);
|
|
@@ -5726,9 +5732,9 @@ function ii(e, t) {
|
|
|
5726
5732
|
o[u] = t, s[u] = r;
|
|
5727
5733
|
}
|
|
5728
5734
|
let d = -1;
|
|
5729
|
-
if (typeof r == "object" && "length" in r) for (; ++d < l;) a[d] =
|
|
5735
|
+
if (typeof r == "object" && "length" in r) for (; ++d < l;) a[d] = si(r[d]);
|
|
5730
5736
|
else {
|
|
5731
|
-
let e =
|
|
5737
|
+
let e = si(r);
|
|
5732
5738
|
for (; ++d < l;) a[d] = e;
|
|
5733
5739
|
}
|
|
5734
5740
|
d = -1;
|
|
@@ -5757,30 +5763,30 @@ function ii(e, t) {
|
|
|
5757
5763
|
}
|
|
5758
5764
|
return m.join("\n");
|
|
5759
5765
|
}
|
|
5760
|
-
function
|
|
5766
|
+
function oi(e) {
|
|
5761
5767
|
return e == null ? "" : String(e);
|
|
5762
5768
|
}
|
|
5763
|
-
function
|
|
5769
|
+
function si(e) {
|
|
5764
5770
|
let t = typeof e == "string" ? e.codePointAt(0) : 0;
|
|
5765
5771
|
return t === 67 || t === 99 ? 99 : t === 76 || t === 108 ? 108 : t === 82 || t === 114 ? 114 : 0;
|
|
5766
5772
|
}
|
|
5767
5773
|
//#endregion
|
|
5768
5774
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
5769
|
-
function
|
|
5775
|
+
function ci(e, t, n, r) {
|
|
5770
5776
|
let i = n.enter("blockquote"), a = n.createTracker(r);
|
|
5771
5777
|
a.move("> "), a.shift(2);
|
|
5772
|
-
let o = n.indentLines(n.containerFlow(e, a.current()),
|
|
5778
|
+
let o = n.indentLines(n.containerFlow(e, a.current()), li);
|
|
5773
5779
|
return i(), o;
|
|
5774
5780
|
}
|
|
5775
|
-
function
|
|
5781
|
+
function li(e, t, n) {
|
|
5776
5782
|
return ">" + (n ? "" : " ") + e;
|
|
5777
5783
|
}
|
|
5778
5784
|
//#endregion
|
|
5779
5785
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
|
|
5780
|
-
function
|
|
5781
|
-
return
|
|
5786
|
+
function ui(e, t) {
|
|
5787
|
+
return di(e, t.inConstruct, !0) && !di(e, t.notInConstruct, !1);
|
|
5782
5788
|
}
|
|
5783
|
-
function
|
|
5789
|
+
function di(e, t, n) {
|
|
5784
5790
|
if (typeof t == "string" && (t = [t]), !t || t.length === 0) return n;
|
|
5785
5791
|
let r = -1;
|
|
5786
5792
|
for (; ++r < t.length;) if (e.includes(t[r])) return !0;
|
|
@@ -5788,14 +5794,14 @@ function ui(e, t, n) {
|
|
|
5788
5794
|
}
|
|
5789
5795
|
//#endregion
|
|
5790
5796
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
5791
|
-
function
|
|
5797
|
+
function fi(e, t, n, r) {
|
|
5792
5798
|
let i = -1;
|
|
5793
|
-
for (; ++i < n.unsafe.length;) if (n.unsafe[i].character === "\n" &&
|
|
5799
|
+
for (; ++i < n.unsafe.length;) if (n.unsafe[i].character === "\n" && ui(n.stack, n.unsafe[i])) return /[ \t]/.test(r.before) ? "" : " ";
|
|
5794
5800
|
return "\\\n";
|
|
5795
5801
|
}
|
|
5796
5802
|
//#endregion
|
|
5797
5803
|
//#region ../node_modules/longest-streak/index.js
|
|
5798
|
-
function
|
|
5804
|
+
function pi(e, t) {
|
|
5799
5805
|
let n = String(e), r = n.indexOf(t), i = r, a = 0, o = 0;
|
|
5800
5806
|
if (typeof t != "string") throw TypeError("Expected substring");
|
|
5801
5807
|
for (; r !== -1;) r === i ? ++a > o && (o = a) : a = 1, i = r + t.length, r = n.indexOf(t, i);
|
|
@@ -5803,25 +5809,25 @@ function fi(e, t) {
|
|
|
5803
5809
|
}
|
|
5804
5810
|
//#endregion
|
|
5805
5811
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
|
|
5806
|
-
function
|
|
5812
|
+
function mi(e, t) {
|
|
5807
5813
|
return !!(t.options.fences === !1 && e.value && !e.lang && /[^ \r\n]/.test(e.value) && !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value));
|
|
5808
5814
|
}
|
|
5809
5815
|
//#endregion
|
|
5810
5816
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-fence.js
|
|
5811
|
-
function
|
|
5817
|
+
function hi(e) {
|
|
5812
5818
|
let t = e.options.fence || "`";
|
|
5813
5819
|
if (t !== "`" && t !== "~") throw Error("Cannot serialize code with `" + t + "` for `options.fence`, expected `` ` `` or `~`");
|
|
5814
5820
|
return t;
|
|
5815
5821
|
}
|
|
5816
5822
|
//#endregion
|
|
5817
5823
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
5818
|
-
function
|
|
5819
|
-
let i =
|
|
5820
|
-
if (
|
|
5821
|
-
let e = n.enter("codeIndented"), t = n.indentLines(a,
|
|
5824
|
+
function gi(e, t, n, r) {
|
|
5825
|
+
let i = hi(n), a = e.value || "", o = i === "`" ? "GraveAccent" : "Tilde";
|
|
5826
|
+
if (mi(e, n)) {
|
|
5827
|
+
let e = n.enter("codeIndented"), t = n.indentLines(a, _i);
|
|
5822
5828
|
return e(), t;
|
|
5823
5829
|
}
|
|
5824
|
-
let s = n.createTracker(r), c = i.repeat(Math.max(
|
|
5830
|
+
let s = n.createTracker(r), c = i.repeat(Math.max(pi(a, i) + 1, 3)), l = n.enter("codeFenced"), u = s.move(c);
|
|
5825
5831
|
if (e.lang) {
|
|
5826
5832
|
let t = n.enter(`codeFencedLang${o}`);
|
|
5827
5833
|
u += s.move(n.safe(e.lang, {
|
|
@@ -5842,20 +5848,20 @@ function hi(e, t, n, r) {
|
|
|
5842
5848
|
}
|
|
5843
5849
|
return u += s.move("\n"), a && (u += s.move(a + "\n")), u += s.move(c), l(), u;
|
|
5844
5850
|
}
|
|
5845
|
-
function
|
|
5851
|
+
function _i(e, t, n) {
|
|
5846
5852
|
return (n ? "" : " ") + e;
|
|
5847
5853
|
}
|
|
5848
5854
|
//#endregion
|
|
5849
5855
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
5850
|
-
function
|
|
5856
|
+
function vi(e) {
|
|
5851
5857
|
let t = e.options.quote || "\"";
|
|
5852
5858
|
if (t !== "\"" && t !== "'") throw Error("Cannot serialize title with `" + t + "` for `options.quote`, expected `\"`, or `'`");
|
|
5853
5859
|
return t;
|
|
5854
5860
|
}
|
|
5855
5861
|
//#endregion
|
|
5856
5862
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
5857
|
-
function
|
|
5858
|
-
let i =
|
|
5863
|
+
function yi(e, t, n, r) {
|
|
5864
|
+
let i = vi(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.enter("definition"), s = n.enter("label"), c = n.createTracker(r), l = c.move("[");
|
|
5859
5865
|
return l += c.move(n.safe(n.associationId(e), {
|
|
5860
5866
|
before: l,
|
|
5861
5867
|
after: "]",
|
|
@@ -5876,20 +5882,20 @@ function vi(e, t, n, r) {
|
|
|
5876
5882
|
}
|
|
5877
5883
|
//#endregion
|
|
5878
5884
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
5879
|
-
function
|
|
5885
|
+
function bi(e) {
|
|
5880
5886
|
let t = e.options.emphasis || "*";
|
|
5881
5887
|
if (t !== "*" && t !== "_") throw Error("Cannot serialize emphasis with `" + t + "` for `options.emphasis`, expected `*`, or `_`");
|
|
5882
5888
|
return t;
|
|
5883
5889
|
}
|
|
5884
5890
|
//#endregion
|
|
5885
5891
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
5886
|
-
function
|
|
5892
|
+
function xi(e) {
|
|
5887
5893
|
return "&#x" + e.toString(16).toUpperCase() + ";";
|
|
5888
5894
|
}
|
|
5889
5895
|
//#endregion
|
|
5890
5896
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
5891
|
-
function
|
|
5892
|
-
let r =
|
|
5897
|
+
function Si(e, t, n) {
|
|
5898
|
+
let r = W(e), i = W(t);
|
|
5893
5899
|
return r === void 0 ? i === void 0 ? n === "_" ? {
|
|
5894
5900
|
inside: !0,
|
|
5895
5901
|
outside: !0
|
|
@@ -5924,38 +5930,38 @@ function xi(e, t, n) {
|
|
|
5924
5930
|
}
|
|
5925
5931
|
//#endregion
|
|
5926
5932
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
5927
|
-
|
|
5928
|
-
function
|
|
5929
|
-
let i =
|
|
5933
|
+
Ci.peek = wi;
|
|
5934
|
+
function Ci(e, t, n, r) {
|
|
5935
|
+
let i = bi(n), a = n.enter("emphasis"), o = n.createTracker(r), s = o.move(i), c = o.move(n.containerPhrasing(e, {
|
|
5930
5936
|
after: i,
|
|
5931
5937
|
before: s,
|
|
5932
5938
|
...o.current()
|
|
5933
|
-
})), l = c.charCodeAt(0), u =
|
|
5934
|
-
u.inside && (c =
|
|
5935
|
-
let d = c.charCodeAt(c.length - 1), f =
|
|
5936
|
-
f.inside && (c = c.slice(0, -1) +
|
|
5939
|
+
})), l = c.charCodeAt(0), u = Si(r.before.charCodeAt(r.before.length - 1), l, i);
|
|
5940
|
+
u.inside && (c = xi(l) + c.slice(1));
|
|
5941
|
+
let d = c.charCodeAt(c.length - 1), f = Si(r.after.charCodeAt(0), d, i);
|
|
5942
|
+
f.inside && (c = c.slice(0, -1) + xi(d));
|
|
5937
5943
|
let p = o.move(i);
|
|
5938
5944
|
return a(), n.attentionEncodeSurroundingInfo = {
|
|
5939
5945
|
after: f.outside,
|
|
5940
5946
|
before: u.outside
|
|
5941
5947
|
}, s + c + p;
|
|
5942
5948
|
}
|
|
5943
|
-
function
|
|
5949
|
+
function wi(e, t, n) {
|
|
5944
5950
|
return n.options.emphasis || "*";
|
|
5945
5951
|
}
|
|
5946
5952
|
//#endregion
|
|
5947
5953
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
|
|
5948
|
-
function
|
|
5954
|
+
function Ti(e, t) {
|
|
5949
5955
|
let n = !1;
|
|
5950
|
-
return
|
|
5956
|
+
return Nn(e, function(e) {
|
|
5951
5957
|
if ("value" in e && /\r?\n|\r/.test(e.value) || e.type === "break") return n = !0, !1;
|
|
5952
|
-
}), !!((!e.depth || e.depth < 3) &&
|
|
5958
|
+
}), !!((!e.depth || e.depth < 3) && m(e) && (t.options.setext || n));
|
|
5953
5959
|
}
|
|
5954
5960
|
//#endregion
|
|
5955
5961
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
5956
|
-
function
|
|
5962
|
+
function Ei(e, t, n, r) {
|
|
5957
5963
|
let i = Math.max(Math.min(6, e.depth || 1), 1), a = n.createTracker(r);
|
|
5958
|
-
if (
|
|
5964
|
+
if (Ti(e, n)) {
|
|
5959
5965
|
let t = n.enter("headingSetext"), r = n.enter("phrasing"), o = n.containerPhrasing(e, {
|
|
5960
5966
|
...a.current(),
|
|
5961
5967
|
before: "\n",
|
|
@@ -5970,22 +5976,22 @@ function Ti(e, t, n, r) {
|
|
|
5970
5976
|
after: "\n",
|
|
5971
5977
|
...a.current()
|
|
5972
5978
|
});
|
|
5973
|
-
return /^[\t ]/.test(l) && (l =
|
|
5979
|
+
return /^[\t ]/.test(l) && (l = xi(l.charCodeAt(0)) + l.slice(1)), l = l ? o + " " + l : o, n.options.closeAtx && (l += " " + o), c(), s(), l;
|
|
5974
5980
|
}
|
|
5975
5981
|
//#endregion
|
|
5976
5982
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
5977
|
-
|
|
5978
|
-
function
|
|
5983
|
+
Di.peek = Oi;
|
|
5984
|
+
function Di(e) {
|
|
5979
5985
|
return e.value || "";
|
|
5980
5986
|
}
|
|
5981
|
-
function
|
|
5987
|
+
function Oi() {
|
|
5982
5988
|
return "<";
|
|
5983
5989
|
}
|
|
5984
5990
|
//#endregion
|
|
5985
5991
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
5986
|
-
|
|
5987
|
-
function
|
|
5988
|
-
let i =
|
|
5992
|
+
ki.peek = Ai;
|
|
5993
|
+
function ki(e, t, n, r) {
|
|
5994
|
+
let i = vi(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.enter("image"), s = n.enter("label"), c = n.createTracker(r), l = c.move("![");
|
|
5989
5995
|
return l += c.move(n.safe(e.alt, {
|
|
5990
5996
|
before: l,
|
|
5991
5997
|
after: "]",
|
|
@@ -6004,13 +6010,13 @@ function Oi(e, t, n, r) {
|
|
|
6004
6010
|
...c.current()
|
|
6005
6011
|
})), l += c.move(i), s()), l += c.move(")"), o(), l;
|
|
6006
6012
|
}
|
|
6007
|
-
function
|
|
6013
|
+
function Ai() {
|
|
6008
6014
|
return "!";
|
|
6009
6015
|
}
|
|
6010
6016
|
//#endregion
|
|
6011
6017
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
6012
|
-
|
|
6013
|
-
function
|
|
6018
|
+
ji.peek = Mi;
|
|
6019
|
+
function ji(e, t, n, r) {
|
|
6014
6020
|
let i = e.referenceType, a = n.enter("imageReference"), o = n.enter("label"), s = n.createTracker(r), c = s.move("!["), l = n.safe(e.alt, {
|
|
6015
6021
|
before: c,
|
|
6016
6022
|
after: "]",
|
|
@@ -6026,13 +6032,13 @@ function Ai(e, t, n, r) {
|
|
|
6026
6032
|
});
|
|
6027
6033
|
return o(), n.stack = u, a(), i === "full" || !l || l !== d ? c += s.move(d + "]") : i === "shortcut" ? c = c.slice(0, -1) : c += s.move("]"), c;
|
|
6028
6034
|
}
|
|
6029
|
-
function
|
|
6035
|
+
function Mi() {
|
|
6030
6036
|
return "!";
|
|
6031
6037
|
}
|
|
6032
6038
|
//#endregion
|
|
6033
6039
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
6034
|
-
|
|
6035
|
-
function
|
|
6040
|
+
Ni.peek = Pi;
|
|
6041
|
+
function Ni(e, t, n) {
|
|
6036
6042
|
let r = e.value || "", i = "`", a = -1;
|
|
6037
6043
|
for (; RegExp("(^|[^`])" + i + "([^`]|$)").test(r);) i += "`";
|
|
6038
6044
|
for (/[^ \r\n]/.test(r) && (/^[ \r\n]/.test(r) && /[ \r\n]$/.test(r) || /^`|`$/.test(r)) && (r = " " + r + " "); ++a < n.unsafe.length;) {
|
|
@@ -6044,21 +6050,21 @@ function Mi(e, t, n) {
|
|
|
6044
6050
|
}
|
|
6045
6051
|
return i + r + i;
|
|
6046
6052
|
}
|
|
6047
|
-
function
|
|
6053
|
+
function Pi() {
|
|
6048
6054
|
return "`";
|
|
6049
6055
|
}
|
|
6050
6056
|
//#endregion
|
|
6051
6057
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
6052
|
-
function
|
|
6053
|
-
let n =
|
|
6058
|
+
function Fi(e, t) {
|
|
6059
|
+
let n = m(e);
|
|
6054
6060
|
return !!(!t.options.resourceLink && e.url && !e.title && e.children && e.children.length === 1 && e.children[0].type === "text" && (n === e.url || "mailto:" + n === e.url) && /^[a-z][a-z+.-]+:/i.test(e.url) && !/[\0- <>\u007F]/.test(e.url));
|
|
6055
6061
|
}
|
|
6056
6062
|
//#endregion
|
|
6057
6063
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
6058
|
-
|
|
6059
|
-
function
|
|
6060
|
-
let i =
|
|
6061
|
-
if (
|
|
6064
|
+
Ii.peek = Li;
|
|
6065
|
+
function Ii(e, t, n, r) {
|
|
6066
|
+
let i = vi(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.createTracker(r), s, c;
|
|
6067
|
+
if (Fi(e, n)) {
|
|
6062
6068
|
let t = n.stack;
|
|
6063
6069
|
n.stack = [], s = n.enter("autolink");
|
|
6064
6070
|
let r = o.move("<");
|
|
@@ -6088,13 +6094,13 @@ function Fi(e, t, n, r) {
|
|
|
6088
6094
|
...o.current()
|
|
6089
6095
|
})), l += o.move(i), c()), l += o.move(")"), s(), l;
|
|
6090
6096
|
}
|
|
6091
|
-
function
|
|
6092
|
-
return
|
|
6097
|
+
function Li(e, t, n) {
|
|
6098
|
+
return Fi(e, n) ? "<" : "[";
|
|
6093
6099
|
}
|
|
6094
6100
|
//#endregion
|
|
6095
6101
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
6096
|
-
|
|
6097
|
-
function
|
|
6102
|
+
Ri.peek = zi;
|
|
6103
|
+
function Ri(e, t, n, r) {
|
|
6098
6104
|
let i = e.referenceType, a = n.enter("linkReference"), o = n.enter("label"), s = n.createTracker(r), c = s.move("["), l = n.containerPhrasing(e, {
|
|
6099
6105
|
before: c,
|
|
6100
6106
|
after: "]",
|
|
@@ -6110,20 +6116,20 @@ function Li(e, t, n, r) {
|
|
|
6110
6116
|
});
|
|
6111
6117
|
return o(), n.stack = u, a(), i === "full" || !l || l !== d ? c += s.move(d + "]") : i === "shortcut" ? c = c.slice(0, -1) : c += s.move("]"), c;
|
|
6112
6118
|
}
|
|
6113
|
-
function
|
|
6119
|
+
function zi() {
|
|
6114
6120
|
return "[";
|
|
6115
6121
|
}
|
|
6116
6122
|
//#endregion
|
|
6117
6123
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
|
|
6118
|
-
function
|
|
6124
|
+
function Bi(e) {
|
|
6119
6125
|
let t = e.options.bullet || "*";
|
|
6120
6126
|
if (t !== "*" && t !== "+" && t !== "-") throw Error("Cannot serialize items with `" + t + "` for `options.bullet`, expected `*`, `+`, or `-`");
|
|
6121
6127
|
return t;
|
|
6122
6128
|
}
|
|
6123
6129
|
//#endregion
|
|
6124
6130
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
|
|
6125
|
-
function
|
|
6126
|
-
let t =
|
|
6131
|
+
function Vi(e) {
|
|
6132
|
+
let t = Bi(e), n = e.options.bulletOther;
|
|
6127
6133
|
if (!n) return t === "*" ? "-" : "*";
|
|
6128
6134
|
if (n !== "*" && n !== "+" && n !== "-") throw Error("Cannot serialize items with `" + n + "` for `options.bulletOther`, expected `*`, `+`, or `-`");
|
|
6129
6135
|
if (n === t) throw Error("Expected `bullet` (`" + t + "`) and `bulletOther` (`" + n + "`) to be different");
|
|
@@ -6131,25 +6137,25 @@ function Bi(e) {
|
|
|
6131
6137
|
}
|
|
6132
6138
|
//#endregion
|
|
6133
6139
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
|
|
6134
|
-
function
|
|
6140
|
+
function Hi(e) {
|
|
6135
6141
|
let t = e.options.bulletOrdered || ".";
|
|
6136
6142
|
if (t !== "." && t !== ")") throw Error("Cannot serialize items with `" + t + "` for `options.bulletOrdered`, expected `.` or `)`");
|
|
6137
6143
|
return t;
|
|
6138
6144
|
}
|
|
6139
6145
|
//#endregion
|
|
6140
6146
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-rule.js
|
|
6141
|
-
function
|
|
6147
|
+
function Ui(e) {
|
|
6142
6148
|
let t = e.options.rule || "*";
|
|
6143
6149
|
if (t !== "*" && t !== "-" && t !== "_") throw Error("Cannot serialize rules with `" + t + "` for `options.rule`, expected `*`, `-`, or `_`");
|
|
6144
6150
|
return t;
|
|
6145
6151
|
}
|
|
6146
6152
|
//#endregion
|
|
6147
6153
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/list.js
|
|
6148
|
-
function
|
|
6149
|
-
let i = n.enter("list"), a = n.bulletCurrent, o = e.ordered ?
|
|
6154
|
+
function Wi(e, t, n, r) {
|
|
6155
|
+
let i = n.enter("list"), a = n.bulletCurrent, o = e.ordered ? Hi(n) : Bi(n), s = e.ordered ? o === "." ? ")" : "." : Vi(n), c = t && n.bulletLastUsed ? o === n.bulletLastUsed : !1;
|
|
6150
6156
|
if (!e.ordered) {
|
|
6151
6157
|
let t = e.children ? e.children[0] : void 0;
|
|
6152
|
-
if ((o === "*" || o === "-") && t && (!t.children || !t.children[0]) && n.stack[n.stack.length - 1] === "list" && n.stack[n.stack.length - 2] === "listItem" && n.stack[n.stack.length - 3] === "list" && n.stack[n.stack.length - 4] === "listItem" && n.indexStack[n.indexStack.length - 1] === 0 && n.indexStack[n.indexStack.length - 2] === 0 && n.indexStack[n.indexStack.length - 3] === 0 && (c = !0),
|
|
6158
|
+
if ((o === "*" || o === "-") && t && (!t.children || !t.children[0]) && n.stack[n.stack.length - 1] === "list" && n.stack[n.stack.length - 2] === "listItem" && n.stack[n.stack.length - 3] === "list" && n.stack[n.stack.length - 4] === "listItem" && n.indexStack[n.indexStack.length - 1] === 0 && n.indexStack[n.indexStack.length - 2] === 0 && n.indexStack[n.indexStack.length - 3] === 0 && (c = !0), Ui(n) === o && t) {
|
|
6153
6159
|
let t = -1;
|
|
6154
6160
|
for (; ++t < e.children.length;) {
|
|
6155
6161
|
let n = e.children[t];
|
|
@@ -6166,15 +6172,15 @@ function Ui(e, t, n, r) {
|
|
|
6166
6172
|
}
|
|
6167
6173
|
//#endregion
|
|
6168
6174
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
|
|
6169
|
-
function
|
|
6175
|
+
function Gi(e) {
|
|
6170
6176
|
let t = e.options.listItemIndent || "one";
|
|
6171
6177
|
if (t !== "tab" && t !== "one" && t !== "mixed") throw Error("Cannot serialize items with `" + t + "` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");
|
|
6172
6178
|
return t;
|
|
6173
6179
|
}
|
|
6174
6180
|
//#endregion
|
|
6175
6181
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/list-item.js
|
|
6176
|
-
function
|
|
6177
|
-
let i =
|
|
6182
|
+
function Ki(e, t, n, r) {
|
|
6183
|
+
let i = Gi(n), a = n.bulletCurrent || Bi(n);
|
|
6178
6184
|
t && t.type === "list" && t.ordered && (a = (typeof t.start == "number" && t.start > -1 ? t.start : 1) + (n.options.incrementListMarker === !1 ? 0 : t.children.indexOf(e)) + a);
|
|
6179
6185
|
let o = a.length + 1;
|
|
6180
6186
|
(i === "tab" || i === "mixed" && (t && t.type === "list" && t.spread || e.spread)) && (o = Math.ceil(o / 4) * 4);
|
|
@@ -6188,13 +6194,13 @@ function Gi(e, t, n, r) {
|
|
|
6188
6194
|
}
|
|
6189
6195
|
//#endregion
|
|
6190
6196
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
|
|
6191
|
-
function
|
|
6197
|
+
function qi(e, t, n, r) {
|
|
6192
6198
|
let i = n.enter("paragraph"), a = n.enter("phrasing"), o = n.containerPhrasing(e, r);
|
|
6193
6199
|
return a(), i(), o;
|
|
6194
6200
|
}
|
|
6195
6201
|
//#endregion
|
|
6196
6202
|
//#region ../node_modules/mdast-util-phrasing/lib/index.js
|
|
6197
|
-
var
|
|
6203
|
+
var Ji = xn([
|
|
6198
6204
|
"break",
|
|
6199
6205
|
"delete",
|
|
6200
6206
|
"emphasis",
|
|
@@ -6214,101 +6220,101 @@ var qi = bn([
|
|
|
6214
6220
|
]);
|
|
6215
6221
|
//#endregion
|
|
6216
6222
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/root.js
|
|
6217
|
-
function
|
|
6223
|
+
function Yi(e, t, n, r) {
|
|
6218
6224
|
return (e.children.some(function(e) {
|
|
6219
|
-
return
|
|
6225
|
+
return Ji(e);
|
|
6220
6226
|
}) ? n.containerPhrasing : n.containerFlow).call(n, e, r);
|
|
6221
6227
|
}
|
|
6222
6228
|
//#endregion
|
|
6223
6229
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
6224
|
-
function
|
|
6230
|
+
function Xi(e) {
|
|
6225
6231
|
let t = e.options.strong || "*";
|
|
6226
6232
|
if (t !== "*" && t !== "_") throw Error("Cannot serialize strong with `" + t + "` for `options.strong`, expected `*`, or `_`");
|
|
6227
6233
|
return t;
|
|
6228
6234
|
}
|
|
6229
6235
|
//#endregion
|
|
6230
6236
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
6231
|
-
|
|
6232
|
-
function
|
|
6233
|
-
let i =
|
|
6237
|
+
Zi.peek = Qi;
|
|
6238
|
+
function Zi(e, t, n, r) {
|
|
6239
|
+
let i = Xi(n), a = n.enter("strong"), o = n.createTracker(r), s = o.move(i + i), c = o.move(n.containerPhrasing(e, {
|
|
6234
6240
|
after: i,
|
|
6235
6241
|
before: s,
|
|
6236
6242
|
...o.current()
|
|
6237
|
-
})), l = c.charCodeAt(0), u =
|
|
6238
|
-
u.inside && (c =
|
|
6239
|
-
let d = c.charCodeAt(c.length - 1), f =
|
|
6240
|
-
f.inside && (c = c.slice(0, -1) +
|
|
6243
|
+
})), l = c.charCodeAt(0), u = Si(r.before.charCodeAt(r.before.length - 1), l, i);
|
|
6244
|
+
u.inside && (c = xi(l) + c.slice(1));
|
|
6245
|
+
let d = c.charCodeAt(c.length - 1), f = Si(r.after.charCodeAt(0), d, i);
|
|
6246
|
+
f.inside && (c = c.slice(0, -1) + xi(d));
|
|
6241
6247
|
let p = o.move(i + i);
|
|
6242
6248
|
return a(), n.attentionEncodeSurroundingInfo = {
|
|
6243
6249
|
after: f.outside,
|
|
6244
6250
|
before: u.outside
|
|
6245
6251
|
}, s + c + p;
|
|
6246
6252
|
}
|
|
6247
|
-
function
|
|
6253
|
+
function Qi(e, t, n) {
|
|
6248
6254
|
return n.options.strong || "*";
|
|
6249
6255
|
}
|
|
6250
6256
|
//#endregion
|
|
6251
6257
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/text.js
|
|
6252
|
-
function
|
|
6258
|
+
function $i(e, t, n, r) {
|
|
6253
6259
|
return n.safe(e.value, r);
|
|
6254
6260
|
}
|
|
6255
6261
|
//#endregion
|
|
6256
6262
|
//#region ../node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
|
|
6257
|
-
function
|
|
6263
|
+
function ea(e) {
|
|
6258
6264
|
let t = e.options.ruleRepetition || 3;
|
|
6259
6265
|
if (t < 3) throw Error("Cannot serialize rules with repetition `" + t + "` for `options.ruleRepetition`, expected `3` or more");
|
|
6260
6266
|
return t;
|
|
6261
6267
|
}
|
|
6262
6268
|
//#endregion
|
|
6263
6269
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
|
|
6264
|
-
function
|
|
6265
|
-
let r = (
|
|
6270
|
+
function ta(e, t, n) {
|
|
6271
|
+
let r = (Ui(n) + (n.options.ruleSpaces ? " " : "")).repeat(ea(n));
|
|
6266
6272
|
return n.options.ruleSpaces ? r.slice(0, -1) : r;
|
|
6267
6273
|
}
|
|
6268
6274
|
//#endregion
|
|
6269
6275
|
//#region ../node_modules/mdast-util-to-markdown/lib/handle/index.js
|
|
6270
|
-
var
|
|
6271
|
-
blockquote:
|
|
6272
|
-
break:
|
|
6273
|
-
code:
|
|
6274
|
-
definition:
|
|
6275
|
-
emphasis:
|
|
6276
|
-
hardBreak:
|
|
6277
|
-
heading:
|
|
6278
|
-
html:
|
|
6279
|
-
image:
|
|
6280
|
-
imageReference:
|
|
6281
|
-
inlineCode:
|
|
6282
|
-
link:
|
|
6283
|
-
linkReference:
|
|
6284
|
-
list:
|
|
6285
|
-
listItem:
|
|
6286
|
-
paragraph:
|
|
6287
|
-
root:
|
|
6288
|
-
strong:
|
|
6289
|
-
text:
|
|
6290
|
-
thematicBreak:
|
|
6276
|
+
var na = {
|
|
6277
|
+
blockquote: ci,
|
|
6278
|
+
break: fi,
|
|
6279
|
+
code: gi,
|
|
6280
|
+
definition: yi,
|
|
6281
|
+
emphasis: Ci,
|
|
6282
|
+
hardBreak: fi,
|
|
6283
|
+
heading: Ei,
|
|
6284
|
+
html: Di,
|
|
6285
|
+
image: ki,
|
|
6286
|
+
imageReference: ji,
|
|
6287
|
+
inlineCode: Ni,
|
|
6288
|
+
link: Ii,
|
|
6289
|
+
linkReference: Ri,
|
|
6290
|
+
list: Wi,
|
|
6291
|
+
listItem: Ki,
|
|
6292
|
+
paragraph: qi,
|
|
6293
|
+
root: Yi,
|
|
6294
|
+
strong: Zi,
|
|
6295
|
+
text: $i,
|
|
6296
|
+
thematicBreak: ta
|
|
6291
6297
|
};
|
|
6292
6298
|
//#endregion
|
|
6293
6299
|
//#region ../node_modules/mdast-util-gfm-table/lib/index.js
|
|
6294
|
-
function
|
|
6300
|
+
function ra() {
|
|
6295
6301
|
return {
|
|
6296
6302
|
enter: {
|
|
6297
|
-
table: ra,
|
|
6298
|
-
tableData: sa,
|
|
6299
|
-
tableHeader: sa,
|
|
6300
|
-
tableRow: aa
|
|
6301
|
-
},
|
|
6302
|
-
exit: {
|
|
6303
|
-
codeText: ca,
|
|
6304
6303
|
table: ia,
|
|
6305
|
-
tableData:
|
|
6306
|
-
tableHeader:
|
|
6304
|
+
tableData: ca,
|
|
6305
|
+
tableHeader: ca,
|
|
6307
6306
|
tableRow: oa
|
|
6307
|
+
},
|
|
6308
|
+
exit: {
|
|
6309
|
+
codeText: la,
|
|
6310
|
+
table: aa,
|
|
6311
|
+
tableData: sa,
|
|
6312
|
+
tableHeader: sa,
|
|
6313
|
+
tableRow: sa
|
|
6308
6314
|
}
|
|
6309
6315
|
};
|
|
6310
6316
|
}
|
|
6311
|
-
function
|
|
6317
|
+
function ia(e) {
|
|
6312
6318
|
let t = e._align;
|
|
6313
6319
|
this.enter({
|
|
6314
6320
|
type: "table",
|
|
@@ -6318,34 +6324,34 @@ function ra(e) {
|
|
|
6318
6324
|
children: []
|
|
6319
6325
|
}, e), this.data.inTable = !0;
|
|
6320
6326
|
}
|
|
6321
|
-
function
|
|
6327
|
+
function aa(e) {
|
|
6322
6328
|
this.exit(e), this.data.inTable = void 0;
|
|
6323
6329
|
}
|
|
6324
|
-
function
|
|
6330
|
+
function oa(e) {
|
|
6325
6331
|
this.enter({
|
|
6326
6332
|
type: "tableRow",
|
|
6327
6333
|
children: []
|
|
6328
6334
|
}, e);
|
|
6329
6335
|
}
|
|
6330
|
-
function
|
|
6336
|
+
function sa(e) {
|
|
6331
6337
|
this.exit(e);
|
|
6332
6338
|
}
|
|
6333
|
-
function
|
|
6339
|
+
function ca(e) {
|
|
6334
6340
|
this.enter({
|
|
6335
6341
|
type: "tableCell",
|
|
6336
6342
|
children: []
|
|
6337
6343
|
}, e);
|
|
6338
6344
|
}
|
|
6339
|
-
function
|
|
6345
|
+
function la(e) {
|
|
6340
6346
|
let t = this.resume();
|
|
6341
|
-
this.data.inTable && (t = t.replace(/\\([\\|])/g,
|
|
6347
|
+
this.data.inTable && (t = t.replace(/\\([\\|])/g, ua));
|
|
6342
6348
|
let n = this.stack[this.stack.length - 1];
|
|
6343
6349
|
n.type, n.value = t, this.exit(e);
|
|
6344
6350
|
}
|
|
6345
|
-
function
|
|
6351
|
+
function ua(e, t) {
|
|
6346
6352
|
return t === "|" ? t : e;
|
|
6347
6353
|
}
|
|
6348
|
-
function
|
|
6354
|
+
function da(e) {
|
|
6349
6355
|
let t = e || {}, n = t.tableCellPadding, r = t.tablePipeAlign, i = t.stringLength, a = n ? " " : "|";
|
|
6350
6356
|
return {
|
|
6351
6357
|
unsafe: [
|
|
@@ -6400,7 +6406,7 @@ function ua(e) {
|
|
|
6400
6406
|
return o(), i(), s;
|
|
6401
6407
|
}
|
|
6402
6408
|
function l(e, t) {
|
|
6403
|
-
return
|
|
6409
|
+
return ai(e, {
|
|
6404
6410
|
align: t,
|
|
6405
6411
|
alignDelimiters: r,
|
|
6406
6412
|
padding: n,
|
|
@@ -6418,34 +6424,34 @@ function ua(e) {
|
|
|
6418
6424
|
return o(), a;
|
|
6419
6425
|
}
|
|
6420
6426
|
function f(e, t, n) {
|
|
6421
|
-
let r =
|
|
6427
|
+
let r = na.inlineCode(e, t, n);
|
|
6422
6428
|
return n.stack.includes("tableCell") && (r = r.replace(/\|/g, "\\$&")), r;
|
|
6423
6429
|
}
|
|
6424
6430
|
}
|
|
6425
6431
|
//#endregion
|
|
6426
6432
|
//#region ../node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
6427
|
-
function
|
|
6433
|
+
function fa() {
|
|
6428
6434
|
return { exit: {
|
|
6429
|
-
taskListCheckValueChecked:
|
|
6430
|
-
taskListCheckValueUnchecked:
|
|
6431
|
-
paragraph:
|
|
6435
|
+
taskListCheckValueChecked: ma,
|
|
6436
|
+
taskListCheckValueUnchecked: ma,
|
|
6437
|
+
paragraph: ha
|
|
6432
6438
|
} };
|
|
6433
6439
|
}
|
|
6434
|
-
function
|
|
6440
|
+
function pa() {
|
|
6435
6441
|
return {
|
|
6436
6442
|
unsafe: [{
|
|
6437
6443
|
atBreak: !0,
|
|
6438
6444
|
character: "-",
|
|
6439
6445
|
after: "[:|-]"
|
|
6440
6446
|
}],
|
|
6441
|
-
handlers: { listItem:
|
|
6447
|
+
handlers: { listItem: ga }
|
|
6442
6448
|
};
|
|
6443
6449
|
}
|
|
6444
|
-
function
|
|
6450
|
+
function ma(e) {
|
|
6445
6451
|
let t = this.stack[this.stack.length - 2];
|
|
6446
6452
|
t.type, t.checked = e.type === "taskListCheckValueChecked";
|
|
6447
6453
|
}
|
|
6448
|
-
function
|
|
6454
|
+
function ha(e) {
|
|
6449
6455
|
let t = this.stack[this.stack.length - 2];
|
|
6450
6456
|
if (t && t.type === "listItem" && typeof t.checked == "boolean") {
|
|
6451
6457
|
let e = this.stack[this.stack.length - 1];
|
|
@@ -6465,10 +6471,10 @@ function ma(e) {
|
|
|
6465
6471
|
}
|
|
6466
6472
|
this.exit(e);
|
|
6467
6473
|
}
|
|
6468
|
-
function
|
|
6474
|
+
function ga(e, t, n, r) {
|
|
6469
6475
|
let i = e.children[0], a = typeof e.checked == "boolean" && i && i.type === "paragraph", o = "[" + (e.checked ? "x" : " ") + "] ", s = n.createTracker(r);
|
|
6470
6476
|
a && s.move(o);
|
|
6471
|
-
let c =
|
|
6477
|
+
let c = na.listItem(e, t, n, {
|
|
6472
6478
|
...r,
|
|
6473
6479
|
...s.current()
|
|
6474
6480
|
});
|
|
@@ -6479,30 +6485,27 @@ function ha(e, t, n, r) {
|
|
|
6479
6485
|
}
|
|
6480
6486
|
//#endregion
|
|
6481
6487
|
//#region ../node_modules/mdast-util-gfm/lib/index.js
|
|
6482
|
-
function
|
|
6488
|
+
function _a() {
|
|
6483
6489
|
return [
|
|
6484
|
-
Sr(),
|
|
6485
|
-
Kr(),
|
|
6486
|
-
Zr(),
|
|
6487
|
-
na(),
|
|
6488
|
-
da()
|
|
6489
|
-
];
|
|
6490
|
-
}
|
|
6491
|
-
function _a(e) {
|
|
6492
|
-
return { extensions: [
|
|
6493
6490
|
Cr(),
|
|
6494
|
-
qr(
|
|
6491
|
+
qr(),
|
|
6495
6492
|
Qr(),
|
|
6496
|
-
|
|
6493
|
+
ra(),
|
|
6497
6494
|
fa()
|
|
6495
|
+
];
|
|
6496
|
+
}
|
|
6497
|
+
function va(e) {
|
|
6498
|
+
return { extensions: [
|
|
6499
|
+
wr(),
|
|
6500
|
+
Jr(e),
|
|
6501
|
+
$r(),
|
|
6502
|
+
da(e),
|
|
6503
|
+
pa()
|
|
6498
6504
|
] };
|
|
6499
6505
|
}
|
|
6500
6506
|
//#endregion
|
|
6501
6507
|
//#region ../node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
6502
|
-
var
|
|
6503
|
-
tokenize: ka,
|
|
6504
|
-
partial: !0
|
|
6505
|
-
}, ya = {
|
|
6508
|
+
var ya = {
|
|
6506
6509
|
tokenize: Aa,
|
|
6507
6510
|
partial: !0
|
|
6508
6511
|
}, ba = {
|
|
@@ -6515,60 +6518,63 @@ var va = {
|
|
|
6515
6518
|
tokenize: Na,
|
|
6516
6519
|
partial: !0
|
|
6517
6520
|
}, Ca = {
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
previous: Pa
|
|
6521
|
+
tokenize: Pa,
|
|
6522
|
+
partial: !0
|
|
6521
6523
|
}, wa = {
|
|
6522
|
-
name: "
|
|
6524
|
+
name: "wwwAutolink",
|
|
6523
6525
|
tokenize: Oa,
|
|
6524
6526
|
previous: Fa
|
|
6527
|
+
}, Ta = {
|
|
6528
|
+
name: "protocolAutolink",
|
|
6529
|
+
tokenize: ka,
|
|
6530
|
+
previous: Ia
|
|
6525
6531
|
}, X = {
|
|
6526
6532
|
name: "emailAutolink",
|
|
6527
|
-
tokenize:
|
|
6528
|
-
previous:
|
|
6533
|
+
tokenize: Da,
|
|
6534
|
+
previous: La
|
|
6529
6535
|
}, Z = {};
|
|
6530
|
-
function
|
|
6536
|
+
function Ea() {
|
|
6531
6537
|
return { text: Z };
|
|
6532
6538
|
}
|
|
6533
6539
|
for (var Q = 48; Q < 123;) Z[Q] = X, Q++, Q === 58 ? Q = 65 : Q === 91 && (Q = 97);
|
|
6534
|
-
Z[43] = X, Z[45] = X, Z[46] = X, Z[95] = X, Z[72] = [X,
|
|
6535
|
-
function
|
|
6540
|
+
Z[43] = X, Z[45] = X, Z[46] = X, Z[95] = X, Z[72] = [X, Ta], Z[104] = [X, Ta], Z[87] = [X, wa], Z[119] = [X, wa];
|
|
6541
|
+
function Da(e, t, n) {
|
|
6536
6542
|
let r = this, i, a;
|
|
6537
6543
|
return o;
|
|
6538
6544
|
function o(t) {
|
|
6539
|
-
return !
|
|
6545
|
+
return !Ra(t) || !La.call(r, r.previous) || za(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), s(t));
|
|
6540
6546
|
}
|
|
6541
6547
|
function s(t) {
|
|
6542
|
-
return
|
|
6548
|
+
return Ra(t) ? (e.consume(t), s) : t === 64 ? (e.consume(t), c) : n(t);
|
|
6543
6549
|
}
|
|
6544
6550
|
function c(t) {
|
|
6545
|
-
return t === 46 ? e.check(
|
|
6551
|
+
return t === 46 ? e.check(Ca, u, l)(t) : t === 45 || t === 95 || A(t) ? (a = !0, e.consume(t), c) : u(t);
|
|
6546
6552
|
}
|
|
6547
6553
|
function l(t) {
|
|
6548
6554
|
return e.consume(t), i = !0, c;
|
|
6549
6555
|
}
|
|
6550
6556
|
function u(o) {
|
|
6551
|
-
return a && i &&
|
|
6557
|
+
return a && i && k(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(o)) : n(o);
|
|
6552
6558
|
}
|
|
6553
6559
|
}
|
|
6554
|
-
function
|
|
6560
|
+
function Oa(e, t, n) {
|
|
6555
6561
|
let r = this;
|
|
6556
6562
|
return i;
|
|
6557
6563
|
function i(t) {
|
|
6558
|
-
return t !== 87 && t !== 119 || !
|
|
6564
|
+
return t !== 87 && t !== 119 || !Fa.call(r, r.previous) || za(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(ya, e.attempt(ba, e.attempt(xa, a), n), n)(t));
|
|
6559
6565
|
}
|
|
6560
6566
|
function a(n) {
|
|
6561
6567
|
return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(n);
|
|
6562
6568
|
}
|
|
6563
6569
|
}
|
|
6564
|
-
function
|
|
6570
|
+
function ka(e, t, n) {
|
|
6565
6571
|
let r = this, i = "", a = !1;
|
|
6566
6572
|
return o;
|
|
6567
6573
|
function o(t) {
|
|
6568
|
-
return (t === 72 || t === 104) &&
|
|
6574
|
+
return (t === 72 || t === 104) && Ia.call(r, r.previous) && !za(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), i += String.fromCodePoint(t), e.consume(t), s) : n(t);
|
|
6569
6575
|
}
|
|
6570
6576
|
function s(t) {
|
|
6571
|
-
if (
|
|
6577
|
+
if (k(t) && i.length < 5) return i += String.fromCodePoint(t), e.consume(t), s;
|
|
6572
6578
|
if (t === 58) {
|
|
6573
6579
|
let n = i.toLowerCase();
|
|
6574
6580
|
if (n === "http" || n === "https") return e.consume(t), c;
|
|
@@ -6579,13 +6585,13 @@ function Oa(e, t, n) {
|
|
|
6579
6585
|
return t === 47 ? (e.consume(t), a ? l : (a = !0, c)) : n(t);
|
|
6580
6586
|
}
|
|
6581
6587
|
function l(t) {
|
|
6582
|
-
return t === null ||
|
|
6588
|
+
return t === null || M(t) || L(t) || B(t) || z(t) ? n(t) : e.attempt(ba, e.attempt(xa, u), n)(t);
|
|
6583
6589
|
}
|
|
6584
6590
|
function u(n) {
|
|
6585
6591
|
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(n);
|
|
6586
6592
|
}
|
|
6587
6593
|
}
|
|
6588
|
-
function
|
|
6594
|
+
function Aa(e, t, n) {
|
|
6589
6595
|
let r = 0;
|
|
6590
6596
|
return i;
|
|
6591
6597
|
function i(t) {
|
|
@@ -6595,11 +6601,11 @@ function ka(e, t, n) {
|
|
|
6595
6601
|
return e === null ? n(e) : t(e);
|
|
6596
6602
|
}
|
|
6597
6603
|
}
|
|
6598
|
-
function
|
|
6604
|
+
function ja(e, t, n) {
|
|
6599
6605
|
let r, i, a;
|
|
6600
6606
|
return o;
|
|
6601
6607
|
function o(t) {
|
|
6602
|
-
return t === 46 || t === 95 ? e.check(
|
|
6608
|
+
return t === 46 || t === 95 ? e.check(Sa, c, s)(t) : t === null || L(t) || B(t) || t !== 45 && z(t) ? c(t) : (a = !0, e.consume(t), o);
|
|
6603
6609
|
}
|
|
6604
6610
|
function s(t) {
|
|
6605
6611
|
return t === 95 ? r = !0 : (i = r, r = void 0), e.consume(t), o;
|
|
@@ -6608,53 +6614,53 @@ function Aa(e, t, n) {
|
|
|
6608
6614
|
return i || r || !a ? n(e) : t(e);
|
|
6609
6615
|
}
|
|
6610
6616
|
}
|
|
6611
|
-
function
|
|
6617
|
+
function Ma(e, t) {
|
|
6612
6618
|
let n = 0, r = 0;
|
|
6613
6619
|
return i;
|
|
6614
6620
|
function i(o) {
|
|
6615
|
-
return o === 40 ? (n++, e.consume(o), i) : o === 41 && r < n ? a(o) : o === 33 || o === 34 || o === 38 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 60 || o === 63 || o === 93 || o === 95 || o === 126 ? e.check(
|
|
6621
|
+
return o === 40 ? (n++, e.consume(o), i) : o === 41 && r < n ? a(o) : o === 33 || o === 34 || o === 38 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 60 || o === 63 || o === 93 || o === 95 || o === 126 ? e.check(Sa, t, a)(o) : o === null || L(o) || B(o) ? t(o) : (e.consume(o), i);
|
|
6616
6622
|
}
|
|
6617
6623
|
function a(t) {
|
|
6618
6624
|
return t === 41 && r++, e.consume(t), i;
|
|
6619
6625
|
}
|
|
6620
6626
|
}
|
|
6621
|
-
function
|
|
6627
|
+
function Na(e, t, n) {
|
|
6622
6628
|
return r;
|
|
6623
6629
|
function r(o) {
|
|
6624
|
-
return o === 33 || o === 34 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 63 || o === 95 || o === 126 ? (e.consume(o), r) : o === 38 ? (e.consume(o), a) : o === 93 ? (e.consume(o), i) : o === 60 || o === null ||
|
|
6630
|
+
return o === 33 || o === 34 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 63 || o === 95 || o === 126 ? (e.consume(o), r) : o === 38 ? (e.consume(o), a) : o === 93 ? (e.consume(o), i) : o === 60 || o === null || L(o) || B(o) ? t(o) : n(o);
|
|
6625
6631
|
}
|
|
6626
6632
|
function i(e) {
|
|
6627
|
-
return e === null || e === 40 || e === 91 ||
|
|
6633
|
+
return e === null || e === 40 || e === 91 || L(e) || B(e) ? t(e) : r(e);
|
|
6628
6634
|
}
|
|
6629
6635
|
function a(e) {
|
|
6630
|
-
return
|
|
6636
|
+
return k(e) ? o(e) : n(e);
|
|
6631
6637
|
}
|
|
6632
6638
|
function o(t) {
|
|
6633
|
-
return t === 59 ? (e.consume(t), r) :
|
|
6639
|
+
return t === 59 ? (e.consume(t), r) : k(t) ? (e.consume(t), o) : n(t);
|
|
6634
6640
|
}
|
|
6635
6641
|
}
|
|
6636
|
-
function
|
|
6642
|
+
function Pa(e, t, n) {
|
|
6637
6643
|
return r;
|
|
6638
6644
|
function r(t) {
|
|
6639
6645
|
return e.consume(t), i;
|
|
6640
6646
|
}
|
|
6641
6647
|
function i(e) {
|
|
6642
|
-
return
|
|
6648
|
+
return A(e) ? n(e) : t(e);
|
|
6643
6649
|
}
|
|
6644
6650
|
}
|
|
6645
|
-
function Pa(e) {
|
|
6646
|
-
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || F(e);
|
|
6647
|
-
}
|
|
6648
6651
|
function Fa(e) {
|
|
6649
|
-
return
|
|
6652
|
+
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || L(e);
|
|
6650
6653
|
}
|
|
6651
6654
|
function Ia(e) {
|
|
6652
|
-
return !(e
|
|
6655
|
+
return !k(e);
|
|
6653
6656
|
}
|
|
6654
6657
|
function La(e) {
|
|
6655
|
-
return e ===
|
|
6658
|
+
return !(e === 47 || Ra(e));
|
|
6656
6659
|
}
|
|
6657
6660
|
function Ra(e) {
|
|
6661
|
+
return e === 43 || e === 45 || e === 46 || e === 95 || A(e);
|
|
6662
|
+
}
|
|
6663
|
+
function za(e) {
|
|
6658
6664
|
let t = e.length, n = !1;
|
|
6659
6665
|
for (; t--;) {
|
|
6660
6666
|
let r = e[t][1];
|
|
@@ -6671,33 +6677,33 @@ function Ra(e) {
|
|
|
6671
6677
|
}
|
|
6672
6678
|
//#endregion
|
|
6673
6679
|
//#region ../node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
6674
|
-
var
|
|
6675
|
-
tokenize:
|
|
6680
|
+
var Ba = {
|
|
6681
|
+
tokenize: Ja,
|
|
6676
6682
|
partial: !0
|
|
6677
6683
|
};
|
|
6678
|
-
function
|
|
6684
|
+
function Va() {
|
|
6679
6685
|
return {
|
|
6680
6686
|
document: { 91: {
|
|
6681
6687
|
name: "gfmFootnoteDefinition",
|
|
6682
|
-
tokenize:
|
|
6683
|
-
continuation: { tokenize:
|
|
6684
|
-
exit:
|
|
6688
|
+
tokenize: Ga,
|
|
6689
|
+
continuation: { tokenize: Ka },
|
|
6690
|
+
exit: qa
|
|
6685
6691
|
} },
|
|
6686
6692
|
text: {
|
|
6687
6693
|
91: {
|
|
6688
6694
|
name: "gfmFootnoteCall",
|
|
6689
|
-
tokenize:
|
|
6695
|
+
tokenize: Wa
|
|
6690
6696
|
},
|
|
6691
6697
|
93: {
|
|
6692
6698
|
name: "gfmPotentialFootnoteCall",
|
|
6693
6699
|
add: "after",
|
|
6694
|
-
tokenize:
|
|
6695
|
-
resolveTo:
|
|
6700
|
+
tokenize: Ha,
|
|
6701
|
+
resolveTo: Ua
|
|
6696
6702
|
}
|
|
6697
6703
|
}
|
|
6698
6704
|
};
|
|
6699
6705
|
}
|
|
6700
|
-
function
|
|
6706
|
+
function Ha(e, t, n) {
|
|
6701
6707
|
let r = this, i = r.events.length, a = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), o;
|
|
6702
6708
|
for (; i--;) {
|
|
6703
6709
|
let e = r.events[i][1];
|
|
@@ -6710,14 +6716,14 @@ function Va(e, t, n) {
|
|
|
6710
6716
|
return s;
|
|
6711
6717
|
function s(i) {
|
|
6712
6718
|
if (!o || !o._balanced) return n(i);
|
|
6713
|
-
let s =
|
|
6719
|
+
let s = O(r.sliceSerialize({
|
|
6714
6720
|
start: o.end,
|
|
6715
6721
|
end: r.now()
|
|
6716
6722
|
}));
|
|
6717
6723
|
return s.codePointAt(0) !== 94 || !a.includes(s.slice(1)) ? n(i) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(i), e.exit("gfmFootnoteCallLabelMarker"), t(i));
|
|
6718
6724
|
}
|
|
6719
6725
|
}
|
|
6720
|
-
function
|
|
6726
|
+
function Ua(e, t) {
|
|
6721
6727
|
let n = e.length;
|
|
6722
6728
|
for (; n--;) if (e[n][1].type === "labelImage" && e[n][0] === "enter") {
|
|
6723
6729
|
e[n][1];
|
|
@@ -6793,7 +6799,7 @@ function Ha(e, t) {
|
|
|
6793
6799
|
];
|
|
6794
6800
|
return e.splice(n, e.length - n + 1, ...s), e;
|
|
6795
6801
|
}
|
|
6796
|
-
function
|
|
6802
|
+
function Wa(e, t, n) {
|
|
6797
6803
|
let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a = 0, o;
|
|
6798
6804
|
return s;
|
|
6799
6805
|
function s(t) {
|
|
@@ -6803,19 +6809,19 @@ function Ua(e, t, n) {
|
|
|
6803
6809
|
return t === 94 ? (e.enter("gfmFootnoteCallMarker"), e.consume(t), e.exit("gfmFootnoteCallMarker"), e.enter("gfmFootnoteCallString"), e.enter("chunkString").contentType = "string", l) : n(t);
|
|
6804
6810
|
}
|
|
6805
6811
|
function l(s) {
|
|
6806
|
-
if (a > 999 || s === 93 && !o || s === null || s === 91 ||
|
|
6812
|
+
if (a > 999 || s === 93 && !o || s === null || s === 91 || L(s)) return n(s);
|
|
6807
6813
|
if (s === 93) {
|
|
6808
6814
|
e.exit("chunkString");
|
|
6809
6815
|
let a = e.exit("gfmFootnoteCallString");
|
|
6810
|
-
return i.includes(
|
|
6816
|
+
return i.includes(O(r.sliceSerialize(a))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(s), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(s);
|
|
6811
6817
|
}
|
|
6812
|
-
return
|
|
6818
|
+
return L(s) || (o = !0), a++, e.consume(s), s === 92 ? u : l;
|
|
6813
6819
|
}
|
|
6814
6820
|
function u(t) {
|
|
6815
6821
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), a++, l) : l(t);
|
|
6816
6822
|
}
|
|
6817
6823
|
}
|
|
6818
|
-
function
|
|
6824
|
+
function Ga(e, t, n) {
|
|
6819
6825
|
let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a, o = 0, s;
|
|
6820
6826
|
return c;
|
|
6821
6827
|
function c(t) {
|
|
@@ -6825,33 +6831,33 @@ function Wa(e, t, n) {
|
|
|
6825
6831
|
return t === 94 ? (e.enter("gfmFootnoteDefinitionMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionMarker"), e.enter("gfmFootnoteDefinitionLabelString"), e.enter("chunkString").contentType = "string", u) : n(t);
|
|
6826
6832
|
}
|
|
6827
6833
|
function u(t) {
|
|
6828
|
-
if (o > 999 || t === 93 && !s || t === null || t === 91 ||
|
|
6834
|
+
if (o > 999 || t === 93 && !s || t === null || t === 91 || L(t)) return n(t);
|
|
6829
6835
|
if (t === 93) {
|
|
6830
6836
|
e.exit("chunkString");
|
|
6831
6837
|
let n = e.exit("gfmFootnoteDefinitionLabelString");
|
|
6832
|
-
return a =
|
|
6838
|
+
return a = O(r.sliceSerialize(n)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), f;
|
|
6833
6839
|
}
|
|
6834
|
-
return
|
|
6840
|
+
return L(t) || (s = !0), o++, e.consume(t), t === 92 ? d : u;
|
|
6835
6841
|
}
|
|
6836
6842
|
function d(t) {
|
|
6837
6843
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), o++, u) : u(t);
|
|
6838
6844
|
}
|
|
6839
6845
|
function f(t) {
|
|
6840
|
-
return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), i.includes(a) || i.push(a),
|
|
6846
|
+
return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), i.includes(a) || i.push(a), H(e, p, "gfmFootnoteDefinitionWhitespace")) : n(t);
|
|
6841
6847
|
}
|
|
6842
6848
|
function p(e) {
|
|
6843
6849
|
return t(e);
|
|
6844
6850
|
}
|
|
6845
6851
|
}
|
|
6846
|
-
function
|
|
6847
|
-
return e.check(
|
|
6852
|
+
function Ka(e, t, n) {
|
|
6853
|
+
return e.check(G, t, e.attempt(Ba, t, n));
|
|
6848
6854
|
}
|
|
6849
|
-
function
|
|
6855
|
+
function qa(e) {
|
|
6850
6856
|
e.exit("gfmFootnoteDefinition");
|
|
6851
6857
|
}
|
|
6852
|
-
function
|
|
6858
|
+
function Ja(e, t, n) {
|
|
6853
6859
|
let r = this;
|
|
6854
|
-
return
|
|
6860
|
+
return H(e, i, "gfmFootnoteDefinitionIndent", 5);
|
|
6855
6861
|
function i(e) {
|
|
6856
6862
|
let i = r.events[r.events.length - 1];
|
|
6857
6863
|
return i && i[1].type === "gfmFootnoteDefinitionIndent" && i[2].sliceSerialize(i[1], !0).length === 4 ? t(e) : n(e);
|
|
@@ -6859,7 +6865,7 @@ function qa(e, t, n) {
|
|
|
6859
6865
|
}
|
|
6860
6866
|
//#endregion
|
|
6861
6867
|
//#region ../node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
6862
|
-
function
|
|
6868
|
+
function Ya(e) {
|
|
6863
6869
|
let t = (e || {}).singleTilde, n = {
|
|
6864
6870
|
name: "strikethrough",
|
|
6865
6871
|
tokenize: i,
|
|
@@ -6906,7 +6912,7 @@ function Ja(e) {
|
|
|
6906
6912
|
t
|
|
6907
6913
|
]
|
|
6908
6914
|
], s = t.parser.constructs.insideSpan.null;
|
|
6909
|
-
s &&
|
|
6915
|
+
s && x(o, o.length, 0, ae(s, e.slice(r + 1, n), t)), x(o, o.length, 0, [
|
|
6910
6916
|
[
|
|
6911
6917
|
"exit",
|
|
6912
6918
|
a,
|
|
@@ -6927,7 +6933,7 @@ function Ja(e) {
|
|
|
6927
6933
|
i,
|
|
6928
6934
|
t
|
|
6929
6935
|
]
|
|
6930
|
-
]),
|
|
6936
|
+
]), x(e, r - 1, n - r + 3, o), n = r + o.length - 2;
|
|
6931
6937
|
break;
|
|
6932
6938
|
}
|
|
6933
6939
|
}
|
|
@@ -6941,22 +6947,22 @@ function Ja(e) {
|
|
|
6941
6947
|
return i === 126 && a[a.length - 1][1].type !== "characterEscape" ? r(t) : (e.enter("strikethroughSequenceTemporary"), c(t));
|
|
6942
6948
|
}
|
|
6943
6949
|
function c(a) {
|
|
6944
|
-
let s =
|
|
6950
|
+
let s = W(i);
|
|
6945
6951
|
if (a === 126) return o > 1 ? r(a) : (e.consume(a), o++, c);
|
|
6946
6952
|
if (o < 2 && !t) return r(a);
|
|
6947
|
-
let l = e.exit("strikethroughSequenceTemporary"), u =
|
|
6953
|
+
let l = e.exit("strikethroughSequenceTemporary"), u = W(a);
|
|
6948
6954
|
return l._open = !u || u === 2 && !!s, l._close = !s || s === 2 && !!u, n(a);
|
|
6949
6955
|
}
|
|
6950
6956
|
}
|
|
6951
6957
|
}
|
|
6952
6958
|
//#endregion
|
|
6953
6959
|
//#region ../node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
6954
|
-
var
|
|
6960
|
+
var Xa = class {
|
|
6955
6961
|
constructor() {
|
|
6956
6962
|
this.map = [];
|
|
6957
6963
|
}
|
|
6958
6964
|
add(e, t, n) {
|
|
6959
|
-
|
|
6965
|
+
Za(this, e, t, n);
|
|
6960
6966
|
}
|
|
6961
6967
|
consume(e) {
|
|
6962
6968
|
/* c8 ignore next 3 -- `resolve` is never called without tables, so without edits. */
|
|
@@ -6974,7 +6980,7 @@ var Ya = class {
|
|
|
6974
6980
|
this.map.length = 0;
|
|
6975
6981
|
}
|
|
6976
6982
|
};
|
|
6977
|
-
function
|
|
6983
|
+
function Za(e, t, n, r) {
|
|
6978
6984
|
let i = 0;
|
|
6979
6985
|
if (n !== 0 || r.length !== 0) {
|
|
6980
6986
|
for (; i < e.map.length;) {
|
|
@@ -6993,7 +6999,7 @@ function Xa(e, t, n, r) {
|
|
|
6993
6999
|
}
|
|
6994
7000
|
//#endregion
|
|
6995
7001
|
//#region ../node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
6996
|
-
function
|
|
7002
|
+
function Qa(e, t) {
|
|
6997
7003
|
let n = !1, r = [];
|
|
6998
7004
|
for (; t < e.length;) {
|
|
6999
7005
|
let i = e[t];
|
|
@@ -7012,14 +7018,14 @@ function Za(e, t) {
|
|
|
7012
7018
|
}
|
|
7013
7019
|
//#endregion
|
|
7014
7020
|
//#region ../node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
7015
|
-
function
|
|
7021
|
+
function $a() {
|
|
7016
7022
|
return { flow: { null: {
|
|
7017
7023
|
name: "table",
|
|
7018
|
-
tokenize:
|
|
7019
|
-
resolveAll:
|
|
7024
|
+
tokenize: eo,
|
|
7025
|
+
resolveAll: to
|
|
7020
7026
|
} } };
|
|
7021
7027
|
}
|
|
7022
|
-
function
|
|
7028
|
+
function eo(e, t, n) {
|
|
7023
7029
|
let r = this, i = 0, a = 0, o;
|
|
7024
7030
|
return s;
|
|
7025
7031
|
function s(e) {
|
|
@@ -7039,25 +7045,25 @@ function $a(e, t, n) {
|
|
|
7039
7045
|
return e === 124 ? u(e) : (o = !0, a += 1, u(e));
|
|
7040
7046
|
}
|
|
7041
7047
|
function u(t) {
|
|
7042
|
-
return t === null ? n(t) :
|
|
7048
|
+
return t === null ? n(t) : I(t) ? a > 1 ? (a = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), p) : n(t) : R(t) ? H(e, u, "whitespace")(t) : (a += 1, o && (o = !1, i += 1), t === 124 ? (e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), o = !0, u) : (e.enter("data"), d(t)));
|
|
7043
7049
|
}
|
|
7044
7050
|
function d(t) {
|
|
7045
|
-
return t === null || t === 124 ||
|
|
7051
|
+
return t === null || t === 124 || L(t) ? (e.exit("data"), u(t)) : (e.consume(t), t === 92 ? f : d);
|
|
7046
7052
|
}
|
|
7047
7053
|
function f(t) {
|
|
7048
7054
|
return t === 92 || t === 124 ? (e.consume(t), d) : d(t);
|
|
7049
7055
|
}
|
|
7050
7056
|
function p(t) {
|
|
7051
|
-
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(t) : (e.enter("tableDelimiterRow"), o = !1,
|
|
7057
|
+
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(t) : (e.enter("tableDelimiterRow"), o = !1, R(t) ? H(e, m, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : m(t));
|
|
7052
7058
|
}
|
|
7053
7059
|
function m(t) {
|
|
7054
7060
|
return t === 45 || t === 58 ? g(t) : t === 124 ? (o = !0, e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), h) : x(t);
|
|
7055
7061
|
}
|
|
7056
7062
|
function h(t) {
|
|
7057
|
-
return
|
|
7063
|
+
return R(t) ? H(e, g, "whitespace")(t) : g(t);
|
|
7058
7064
|
}
|
|
7059
7065
|
function g(t) {
|
|
7060
|
-
return t === 58 ? (a += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), _) : t === 45 ? (a += 1, _(t)) : t === null ||
|
|
7066
|
+
return t === 58 ? (a += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), _) : t === 45 ? (a += 1, _(t)) : t === null || I(t) ? b(t) : x(t);
|
|
7061
7067
|
}
|
|
7062
7068
|
function _(t) {
|
|
7063
7069
|
return t === 45 ? (e.enter("tableDelimiterFiller"), v(t)) : x(t);
|
|
@@ -7066,10 +7072,10 @@ function $a(e, t, n) {
|
|
|
7066
7072
|
return t === 45 ? (e.consume(t), v) : t === 58 ? (o = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), y) : (e.exit("tableDelimiterFiller"), y(t));
|
|
7067
7073
|
}
|
|
7068
7074
|
function y(t) {
|
|
7069
|
-
return
|
|
7075
|
+
return R(t) ? H(e, b, "whitespace")(t) : b(t);
|
|
7070
7076
|
}
|
|
7071
7077
|
function b(n) {
|
|
7072
|
-
return n === 124 ? m(n) : n === null ||
|
|
7078
|
+
return n === 124 ? m(n) : n === null || I(n) ? !o || i !== a ? x(n) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(n)) : x(n);
|
|
7073
7079
|
}
|
|
7074
7080
|
function x(e) {
|
|
7075
7081
|
return n(e);
|
|
@@ -7078,16 +7084,16 @@ function $a(e, t, n) {
|
|
|
7078
7084
|
return e.enter("tableRow"), C(t);
|
|
7079
7085
|
}
|
|
7080
7086
|
function C(n) {
|
|
7081
|
-
return n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), C) : n === null ||
|
|
7087
|
+
return n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), C) : n === null || I(n) ? (e.exit("tableRow"), t(n)) : R(n) ? H(e, C, "whitespace")(n) : (e.enter("data"), w(n));
|
|
7082
7088
|
}
|
|
7083
7089
|
function w(t) {
|
|
7084
|
-
return t === null || t === 124 ||
|
|
7090
|
+
return t === null || t === 124 || L(t) ? (e.exit("data"), C(t)) : (e.consume(t), t === 92 ? T : w);
|
|
7085
7091
|
}
|
|
7086
7092
|
function T(t) {
|
|
7087
7093
|
return t === 92 || t === 124 ? (e.consume(t), w) : w(t);
|
|
7088
7094
|
}
|
|
7089
7095
|
}
|
|
7090
|
-
function
|
|
7096
|
+
function to(e, t) {
|
|
7091
7097
|
let n = -1, r = !0, i = 0, a = [
|
|
7092
7098
|
0,
|
|
7093
7099
|
0,
|
|
@@ -7098,10 +7104,10 @@ function eo(e, t) {
|
|
|
7098
7104
|
0,
|
|
7099
7105
|
0,
|
|
7100
7106
|
0
|
|
7101
|
-
], s = !1, c = 0, l, u, d, f = new
|
|
7107
|
+
], s = !1, c = 0, l, u, d, f = new Xa();
|
|
7102
7108
|
for (; ++n < e.length;) {
|
|
7103
7109
|
let p = e[n], m = p[1];
|
|
7104
|
-
p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (
|
|
7110
|
+
p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (ro(f, t, c, l, u), u = void 0, c = 0), l = {
|
|
7105
7111
|
type: "table",
|
|
7106
7112
|
start: Object.assign({}, m.start),
|
|
7107
7113
|
end: Object.assign({}, m.end)
|
|
@@ -7127,25 +7133,25 @@ function eo(e, t) {
|
|
|
7127
7133
|
"enter",
|
|
7128
7134
|
u,
|
|
7129
7135
|
t
|
|
7130
|
-
]])), i = m.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (a[1] !== 0 && (o[0] = o[1], d =
|
|
7136
|
+
]])), i = m.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (a[1] !== 0 && (o[0] = o[1], d = no(f, t, a, i, void 0, d), a = [
|
|
7131
7137
|
0,
|
|
7132
7138
|
0,
|
|
7133
7139
|
0,
|
|
7134
7140
|
0
|
|
7135
|
-
]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d =
|
|
7141
|
+
]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d = no(f, t, a, i, void 0, d)), a = o, o = [
|
|
7136
7142
|
a[1],
|
|
7137
7143
|
n,
|
|
7138
7144
|
0,
|
|
7139
7145
|
0
|
|
7140
|
-
])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d =
|
|
7146
|
+
])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d = no(f, t, o, i, n, d)) : (o[0] = o[1], d = no(f, t, a, i, n, d)), i = 0) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") && (o[3] = n);
|
|
7141
7147
|
}
|
|
7142
|
-
for (c !== 0 &&
|
|
7148
|
+
for (c !== 0 && ro(f, t, c, l, u), f.consume(t.events), n = -1; ++n < t.events.length;) {
|
|
7143
7149
|
let e = t.events[n];
|
|
7144
|
-
e[0] === "enter" && e[1].type === "table" && (e[1]._align =
|
|
7150
|
+
e[0] === "enter" && e[1].type === "table" && (e[1]._align = Qa(t.events, n));
|
|
7145
7151
|
}
|
|
7146
7152
|
return e;
|
|
7147
7153
|
}
|
|
7148
|
-
function
|
|
7154
|
+
function no(e, t, n, r, i, a) {
|
|
7149
7155
|
let o = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData";
|
|
7150
7156
|
n[0] !== 0 && (a.end = Object.assign({}, $(t.events, n[0])), e.add(n[0], 0, [[
|
|
7151
7157
|
"exit",
|
|
@@ -7190,7 +7196,7 @@ function to(e, t, n, r, i, a) {
|
|
|
7190
7196
|
t
|
|
7191
7197
|
]]), a = void 0), a;
|
|
7192
7198
|
}
|
|
7193
|
-
function
|
|
7199
|
+
function ro(e, t, n, r, i) {
|
|
7194
7200
|
let a = [], o = $(t.events, n);
|
|
7195
7201
|
i && (i.end = Object.assign({}, o), a.push([
|
|
7196
7202
|
"exit",
|
|
@@ -7208,56 +7214,56 @@ function $(e, t) {
|
|
|
7208
7214
|
}
|
|
7209
7215
|
//#endregion
|
|
7210
7216
|
//#region ../node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
7211
|
-
var
|
|
7217
|
+
var io = {
|
|
7212
7218
|
name: "tasklistCheck",
|
|
7213
|
-
tokenize:
|
|
7219
|
+
tokenize: oo
|
|
7214
7220
|
};
|
|
7215
|
-
function
|
|
7216
|
-
return { text: { 91:
|
|
7221
|
+
function ao() {
|
|
7222
|
+
return { text: { 91: io } };
|
|
7217
7223
|
}
|
|
7218
|
-
function
|
|
7224
|
+
function oo(e, t, n) {
|
|
7219
7225
|
let r = this;
|
|
7220
7226
|
return i;
|
|
7221
7227
|
function i(t) {
|
|
7222
7228
|
return r.previous !== null || !r._gfmTasklistFirstContentOfListItem ? n(t) : (e.enter("taskListCheck"), e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), a);
|
|
7223
7229
|
}
|
|
7224
7230
|
function a(t) {
|
|
7225
|
-
return
|
|
7231
|
+
return L(t) ? (e.enter("taskListCheckValueUnchecked"), e.consume(t), e.exit("taskListCheckValueUnchecked"), o) : t === 88 || t === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(t), e.exit("taskListCheckValueChecked"), o) : n(t);
|
|
7226
7232
|
}
|
|
7227
7233
|
function o(t) {
|
|
7228
7234
|
return t === 93 ? (e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), s) : n(t);
|
|
7229
7235
|
}
|
|
7230
7236
|
function s(r) {
|
|
7231
|
-
return
|
|
7237
|
+
return I(r) ? t(r) : R(r) ? e.check({ tokenize: so }, t, n)(r) : n(r);
|
|
7232
7238
|
}
|
|
7233
7239
|
}
|
|
7234
|
-
function
|
|
7235
|
-
return
|
|
7240
|
+
function so(e, t, n) {
|
|
7241
|
+
return H(e, r, "whitespace");
|
|
7236
7242
|
function r(e) {
|
|
7237
7243
|
return e === null ? n(e) : t(e);
|
|
7238
7244
|
}
|
|
7239
7245
|
}
|
|
7240
7246
|
//#endregion
|
|
7241
7247
|
//#region ../node_modules/micromark-extension-gfm/index.js
|
|
7242
|
-
function
|
|
7243
|
-
return
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7248
|
+
function co(e) {
|
|
7249
|
+
return w([
|
|
7250
|
+
Ea(),
|
|
7251
|
+
Va(),
|
|
7252
|
+
Ya(e),
|
|
7253
|
+
$a(),
|
|
7254
|
+
ao()
|
|
7249
7255
|
]);
|
|
7250
7256
|
}
|
|
7251
7257
|
//#endregion
|
|
7252
7258
|
//#region ../node_modules/remark-gfm/lib/index.js
|
|
7253
|
-
var
|
|
7254
|
-
function
|
|
7255
|
-
let t = this, n = e ||
|
|
7256
|
-
i.push(
|
|
7259
|
+
var lo = {};
|
|
7260
|
+
function uo(e) {
|
|
7261
|
+
let t = this, n = e || lo, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
7262
|
+
i.push(co(n)), a.push(_a()), o.push(va(n));
|
|
7257
7263
|
}
|
|
7258
7264
|
//#endregion
|
|
7259
7265
|
//#region ../node_modules/mdast-util-math/lib/index.js
|
|
7260
|
-
function
|
|
7266
|
+
function fo() {
|
|
7261
7267
|
return {
|
|
7262
7268
|
enter: {
|
|
7263
7269
|
mathFlow: e,
|
|
@@ -7330,7 +7336,7 @@ function uo() {
|
|
|
7330
7336
|
this.config.enter.data.call(this, e), this.config.exit.data.call(this, e);
|
|
7331
7337
|
}
|
|
7332
7338
|
}
|
|
7333
|
-
function
|
|
7339
|
+
function po(e) {
|
|
7334
7340
|
let t = (e || {}).singleDollarTextMath;
|
|
7335
7341
|
return t ??= !0, r.peek = i, {
|
|
7336
7342
|
unsafe: [
|
|
@@ -7363,7 +7369,7 @@ function fo(e) {
|
|
|
7363
7369
|
}
|
|
7364
7370
|
};
|
|
7365
7371
|
function n(e, t, n, r) {
|
|
7366
|
-
let i = e.value || "", a = n.createTracker(r), o = "$".repeat(Math.max(
|
|
7372
|
+
let i = e.value || "", a = n.createTracker(r), o = "$".repeat(Math.max(pi(i, "$") + 1, 2)), s = n.enter("mathFlow"), c = a.move(o);
|
|
7367
7373
|
if (e.meta) {
|
|
7368
7374
|
let t = n.enter("mathFlowMeta");
|
|
7369
7375
|
c += a.move(n.safe(e.meta, {
|
|
@@ -7398,31 +7404,31 @@ function fo(e) {
|
|
|
7398
7404
|
}
|
|
7399
7405
|
//#endregion
|
|
7400
7406
|
//#region ../node_modules/micromark-extension-math/lib/math-flow.js
|
|
7401
|
-
var
|
|
7402
|
-
tokenize:
|
|
7407
|
+
var mo = {
|
|
7408
|
+
tokenize: go,
|
|
7403
7409
|
concrete: !0,
|
|
7404
7410
|
name: "mathFlow"
|
|
7405
|
-
},
|
|
7406
|
-
tokenize:
|
|
7411
|
+
}, ho = {
|
|
7412
|
+
tokenize: _o,
|
|
7407
7413
|
partial: !0
|
|
7408
7414
|
};
|
|
7409
|
-
function
|
|
7415
|
+
function go(e, t, n) {
|
|
7410
7416
|
let r = this, i = r.events[r.events.length - 1], a = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
|
|
7411
7417
|
return s;
|
|
7412
7418
|
function s(t) {
|
|
7413
7419
|
return e.enter("mathFlow"), e.enter("mathFlowFence"), e.enter("mathFlowFenceSequence"), c(t);
|
|
7414
7420
|
}
|
|
7415
7421
|
function c(t) {
|
|
7416
|
-
return t === 36 ? (e.consume(t), o++, c) : o < 2 ? n(t) : (e.exit("mathFlowFenceSequence"),
|
|
7422
|
+
return t === 36 ? (e.consume(t), o++, c) : o < 2 ? n(t) : (e.exit("mathFlowFenceSequence"), H(e, l, "whitespace")(t));
|
|
7417
7423
|
}
|
|
7418
7424
|
function l(t) {
|
|
7419
|
-
return t === null ||
|
|
7425
|
+
return t === null || I(t) ? d(t) : (e.enter("mathFlowFenceMeta"), e.enter("chunkString", { contentType: "string" }), u(t));
|
|
7420
7426
|
}
|
|
7421
7427
|
function u(t) {
|
|
7422
|
-
return t === null ||
|
|
7428
|
+
return t === null || I(t) ? (e.exit("chunkString"), e.exit("mathFlowFenceMeta"), d(t)) : t === 36 ? n(t) : (e.consume(t), u);
|
|
7423
7429
|
}
|
|
7424
7430
|
function d(n) {
|
|
7425
|
-
return e.exit("mathFlowFence"), r.interrupt ? t(n) : e.attempt(
|
|
7431
|
+
return e.exit("mathFlowFence"), r.interrupt ? t(n) : e.attempt(ho, f, g)(n);
|
|
7426
7432
|
}
|
|
7427
7433
|
function f(t) {
|
|
7428
7434
|
return e.attempt({
|
|
@@ -7431,32 +7437,32 @@ function ho(e, t, n) {
|
|
|
7431
7437
|
}, g, p)(t);
|
|
7432
7438
|
}
|
|
7433
7439
|
function p(t) {
|
|
7434
|
-
return (a ?
|
|
7440
|
+
return (a ? H(e, m, "linePrefix", a + 1) : m)(t);
|
|
7435
7441
|
}
|
|
7436
7442
|
function m(t) {
|
|
7437
|
-
return t === null ? g(t) :
|
|
7443
|
+
return t === null ? g(t) : I(t) ? e.attempt(ho, f, g)(t) : (e.enter("mathFlowValue"), h(t));
|
|
7438
7444
|
}
|
|
7439
7445
|
function h(t) {
|
|
7440
|
-
return t === null ||
|
|
7446
|
+
return t === null || I(t) ? (e.exit("mathFlowValue"), m(t)) : (e.consume(t), h);
|
|
7441
7447
|
}
|
|
7442
7448
|
function g(n) {
|
|
7443
7449
|
return e.exit("mathFlow"), t(n);
|
|
7444
7450
|
}
|
|
7445
7451
|
function _(e, t, n) {
|
|
7446
7452
|
let i = 0;
|
|
7447
|
-
return
|
|
7453
|
+
return H(e, a, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
7448
7454
|
function a(t) {
|
|
7449
7455
|
return e.enter("mathFlowFence"), e.enter("mathFlowFenceSequence"), s(t);
|
|
7450
7456
|
}
|
|
7451
7457
|
function s(t) {
|
|
7452
|
-
return t === 36 ? (i++, e.consume(t), s) : i < o ? n(t) : (e.exit("mathFlowFenceSequence"),
|
|
7458
|
+
return t === 36 ? (i++, e.consume(t), s) : i < o ? n(t) : (e.exit("mathFlowFenceSequence"), H(e, c, "whitespace")(t));
|
|
7453
7459
|
}
|
|
7454
7460
|
function c(r) {
|
|
7455
|
-
return r === null ||
|
|
7461
|
+
return r === null || I(r) ? (e.exit("mathFlowFence"), t(r)) : n(r);
|
|
7456
7462
|
}
|
|
7457
7463
|
}
|
|
7458
7464
|
}
|
|
7459
|
-
function
|
|
7465
|
+
function _o(e, t, n) {
|
|
7460
7466
|
let r = this;
|
|
7461
7467
|
return i;
|
|
7462
7468
|
function i(n) {
|
|
@@ -7468,12 +7474,12 @@ function go(e, t, n) {
|
|
|
7468
7474
|
}
|
|
7469
7475
|
//#endregion
|
|
7470
7476
|
//#region ../node_modules/micromark-extension-math/lib/math-text.js
|
|
7471
|
-
function
|
|
7477
|
+
function vo(e) {
|
|
7472
7478
|
let t = (e || {}).singleDollarTextMath;
|
|
7473
7479
|
return t ??= !0, {
|
|
7474
7480
|
tokenize: n,
|
|
7475
|
-
resolve:
|
|
7476
|
-
previous:
|
|
7481
|
+
resolve: yo,
|
|
7482
|
+
previous: bo,
|
|
7477
7483
|
name: "mathText"
|
|
7478
7484
|
};
|
|
7479
7485
|
function n(e, n, r) {
|
|
@@ -7486,17 +7492,17 @@ function _o(e) {
|
|
|
7486
7492
|
return n === 36 ? (e.consume(n), i++, c) : i < 2 && !t ? r(n) : (e.exit("mathTextSequence"), l(n));
|
|
7487
7493
|
}
|
|
7488
7494
|
function l(t) {
|
|
7489
|
-
return t === null ? r(t) : t === 36 ? (o = e.enter("mathTextSequence"), a = 0, d(t)) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), l) :
|
|
7495
|
+
return t === null ? r(t) : t === 36 ? (o = e.enter("mathTextSequence"), a = 0, d(t)) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), l) : I(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), l) : (e.enter("mathTextData"), u(t));
|
|
7490
7496
|
}
|
|
7491
7497
|
function u(t) {
|
|
7492
|
-
return t === null || t === 32 || t === 36 ||
|
|
7498
|
+
return t === null || t === 32 || t === 36 || I(t) ? (e.exit("mathTextData"), l(t)) : (e.consume(t), u);
|
|
7493
7499
|
}
|
|
7494
7500
|
function d(t) {
|
|
7495
7501
|
return t === 36 ? (e.consume(t), a++, d) : a === i ? (e.exit("mathTextSequence"), e.exit("mathText"), n(t)) : (o.type = "mathTextData", u(t));
|
|
7496
7502
|
}
|
|
7497
7503
|
}
|
|
7498
7504
|
}
|
|
7499
|
-
function
|
|
7505
|
+
function yo(e) {
|
|
7500
7506
|
let t = e.length - 4, n = 3, r, i;
|
|
7501
7507
|
if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
|
|
7502
7508
|
for (r = n; ++r < t;) if (e[r][1].type === "mathTextData") {
|
|
@@ -7507,29 +7513,23 @@ function vo(e) {
|
|
|
7507
7513
|
for (r = n - 1, t++; ++r <= t;) i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "mathTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0);
|
|
7508
7514
|
return e;
|
|
7509
7515
|
}
|
|
7510
|
-
function
|
|
7516
|
+
function bo(e) {
|
|
7511
7517
|
return e !== 36 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
7512
7518
|
}
|
|
7513
7519
|
//#endregion
|
|
7514
7520
|
//#region ../node_modules/micromark-extension-math/lib/syntax.js
|
|
7515
|
-
function
|
|
7521
|
+
function xo(e) {
|
|
7516
7522
|
return {
|
|
7517
|
-
flow: { 36:
|
|
7518
|
-
text: { 36:
|
|
7523
|
+
flow: { 36: mo },
|
|
7524
|
+
text: { 36: vo(e) }
|
|
7519
7525
|
};
|
|
7520
7526
|
}
|
|
7521
7527
|
//#endregion
|
|
7522
7528
|
//#region ../node_modules/remark-math/lib/index.js
|
|
7523
|
-
var
|
|
7524
|
-
function
|
|
7525
|
-
let t = this, n = e ||
|
|
7526
|
-
i.push(
|
|
7527
|
-
}
|
|
7528
|
-
//#endregion
|
|
7529
|
-
//#region ../ui/src/util/download.ts
|
|
7530
|
-
function Co(e, t) {
|
|
7531
|
-
let n = URL.createObjectURL(e), r = document.createElement("a");
|
|
7532
|
-
r.href = n, r.download = t, r.click(), URL.revokeObjectURL(n);
|
|
7529
|
+
var So = {};
|
|
7530
|
+
function Co(e) {
|
|
7531
|
+
let t = this, n = e || So, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
7532
|
+
i.push(xo(n)), a.push(fo()), o.push(po(n));
|
|
7533
7533
|
}
|
|
7534
7534
|
//#endregion
|
|
7535
|
-
export {
|
|
7535
|
+
export { Nn as a, xn as c, f as d, o as f, i as h, Qn as i, bn as l, a as m, uo as n, An as o, s as p, ar as r, jn as s, Co as t, A as u };
|