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