@damiro/stylo 0.13.5 → 0.14.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/{InPlaceView-Cq5YJ3-P.js → InPlaceView-BccqyOao.js} +3 -3
- package/dist/{InPlaceView-Cq5YJ3-P.js.map → InPlaceView-BccqyOao.js.map} +1 -1
- package/dist/Preview-CmZnIEzi.js +239 -0
- package/dist/{Preview-DZtTym8y.js.map → Preview-CmZnIEzi.js.map} +1 -1
- package/dist/SplitView.d.ts +2 -1
- package/dist/SplitView.d.ts.map +1 -1
- package/dist/Stylo.d.ts.map +1 -1
- package/dist/{highlight-dLERTt-F.js → highlight-BLVSvron.js} +17 -17
- package/dist/highlight-BLVSvron.js.map +1 -0
- package/dist/{markdown-BYXs9Tj8.js → markdown-DcS6jMel.js} +484 -469
- package/dist/markdown-DcS6jMel.js.map +1 -0
- package/dist/render/Preview.d.ts +11 -1
- package/dist/render/Preview.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/stylo.js +62 -59
- package/dist/stylo.js.map +1 -1
- package/dist/types.d.ts +10 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/{useCodeMirror-DtxWsSw7.js → useCodeMirror-QmbR0rQM.js} +2 -2
- package/dist/{useCodeMirror-DtxWsSw7.js.map → useCodeMirror-QmbR0rQM.js.map} +1 -1
- package/package.json +2 -1
- package/dist/Preview-DZtTym8y.js +0 -238
- package/dist/highlight-dLERTt-F.js.map +0 -1
- package/dist/markdown-BYXs9Tj8.js.map +0 -1
|
@@ -6133,8 +6133,86 @@ function cs(t) {
|
|
|
6133
6133
|
};
|
|
6134
6134
|
}
|
|
6135
6135
|
//#endregion
|
|
6136
|
+
//#region node_modules/escape-string-regexp/index.js
|
|
6137
|
+
function ls(e) {
|
|
6138
|
+
if (typeof e != "string") throw TypeError("Expected a string");
|
|
6139
|
+
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
6140
|
+
}
|
|
6141
|
+
//#endregion
|
|
6142
|
+
//#region node_modules/mdast-util-find-and-replace/lib/index.js
|
|
6143
|
+
function us(e, t, n) {
|
|
6144
|
+
let r = Xi((n || {}).ignore || []), i = ds(t), a = -1;
|
|
6145
|
+
for (; ++a < i.length;) oa(e, "text", o);
|
|
6146
|
+
function o(e, t) {
|
|
6147
|
+
let n = -1, i;
|
|
6148
|
+
for (; ++n < t.length;) {
|
|
6149
|
+
let e = t[n], a = i ? i.children : void 0;
|
|
6150
|
+
if (r(e, a ? a.indexOf(e) : void 0, i)) return;
|
|
6151
|
+
i = e;
|
|
6152
|
+
}
|
|
6153
|
+
if (i) return s(e, t);
|
|
6154
|
+
}
|
|
6155
|
+
function s(e, t) {
|
|
6156
|
+
let n = t[t.length - 1], r = i[a][0], o = i[a][1], s = 0, c = n.children.indexOf(e), l = !1, u = [];
|
|
6157
|
+
r.lastIndex = 0;
|
|
6158
|
+
let d = r.exec(e.value);
|
|
6159
|
+
for (; d;) {
|
|
6160
|
+
let n = d.index, i = {
|
|
6161
|
+
index: d.index,
|
|
6162
|
+
input: d.input,
|
|
6163
|
+
stack: [...t, e]
|
|
6164
|
+
}, a = o(...d, i);
|
|
6165
|
+
if (typeof a == "string" && (a = a.length > 0 ? {
|
|
6166
|
+
type: "text",
|
|
6167
|
+
value: a
|
|
6168
|
+
} : void 0), a === !1 ? r.lastIndex = n + 1 : (s !== n && u.push({
|
|
6169
|
+
type: "text",
|
|
6170
|
+
value: e.value.slice(s, n)
|
|
6171
|
+
}), Array.isArray(a) ? u.push(...a) : a && u.push(a), s = n + d[0].length, l = !0), !r.global) break;
|
|
6172
|
+
d = r.exec(e.value);
|
|
6173
|
+
}
|
|
6174
|
+
return l ? (s < e.value.length && u.push({
|
|
6175
|
+
type: "text",
|
|
6176
|
+
value: e.value.slice(s)
|
|
6177
|
+
}), n.children.splice(c, 1, ...u)) : u = [e], c + u.length;
|
|
6178
|
+
}
|
|
6179
|
+
}
|
|
6180
|
+
function ds(e) {
|
|
6181
|
+
let t = [];
|
|
6182
|
+
if (!Array.isArray(e)) throw TypeError("Expected find and replace tuple or list of tuples");
|
|
6183
|
+
let n = !e[0] || Array.isArray(e[0]) ? e : [e], r = -1;
|
|
6184
|
+
for (; ++r < n.length;) {
|
|
6185
|
+
let e = n[r];
|
|
6186
|
+
t.push([fs(e[0]), ps(e[1])]);
|
|
6187
|
+
}
|
|
6188
|
+
return t;
|
|
6189
|
+
}
|
|
6190
|
+
function fs(e) {
|
|
6191
|
+
return typeof e == "string" ? new RegExp(ls(e), "g") : e;
|
|
6192
|
+
}
|
|
6193
|
+
function ps(e) {
|
|
6194
|
+
return typeof e == "function" ? e : function() {
|
|
6195
|
+
return e;
|
|
6196
|
+
};
|
|
6197
|
+
}
|
|
6198
|
+
//#endregion
|
|
6199
|
+
//#region node_modules/mdast-util-newline-to-break/lib/index.js
|
|
6200
|
+
function ms(e) {
|
|
6201
|
+
us(e, [/\r?\n|\r/g, hs]);
|
|
6202
|
+
}
|
|
6203
|
+
function hs() {
|
|
6204
|
+
return { type: "break" };
|
|
6205
|
+
}
|
|
6206
|
+
//#endregion
|
|
6207
|
+
//#region node_modules/remark-breaks/lib/index.js
|
|
6208
|
+
function gs() {
|
|
6209
|
+
return function(e) {
|
|
6210
|
+
ms(e);
|
|
6211
|
+
};
|
|
6212
|
+
}
|
|
6213
|
+
//#endregion
|
|
6136
6214
|
//#region node_modules/fault/index.js
|
|
6137
|
-
var
|
|
6215
|
+
var _s = /* @__PURE__ */ p((/* @__PURE__ */ u(((e, t) => {
|
|
6138
6216
|
(function() {
|
|
6139
6217
|
var e = t === void 0 ? function() {
|
|
6140
6218
|
return this || (0, eval)("this");
|
|
@@ -6186,55 +6264,55 @@ var ls = /* @__PURE__ */ p((/* @__PURE__ */ u(((e, t) => {
|
|
|
6186
6264
|
return a;
|
|
6187
6265
|
}
|
|
6188
6266
|
})();
|
|
6189
|
-
})))(), 1),
|
|
6190
|
-
eval:
|
|
6191
|
-
range:
|
|
6192
|
-
reference:
|
|
6193
|
-
syntax:
|
|
6194
|
-
type:
|
|
6195
|
-
uri:
|
|
6267
|
+
})))(), 1), vs = Object.assign(ys(Error), {
|
|
6268
|
+
eval: ys(EvalError),
|
|
6269
|
+
range: ys(RangeError),
|
|
6270
|
+
reference: ys(ReferenceError),
|
|
6271
|
+
syntax: ys(SyntaxError),
|
|
6272
|
+
type: ys(TypeError),
|
|
6273
|
+
uri: ys(URIError)
|
|
6196
6274
|
});
|
|
6197
|
-
function
|
|
6275
|
+
function ys(e) {
|
|
6198
6276
|
return t.displayName = e.displayName || e.name, t;
|
|
6199
6277
|
function t(t, ...n) {
|
|
6200
|
-
return new e(t && (0,
|
|
6278
|
+
return new e(t && (0, _s.default)(t, ...n));
|
|
6201
6279
|
}
|
|
6202
6280
|
}
|
|
6203
6281
|
//#endregion
|
|
6204
6282
|
//#region node_modules/micromark-extension-frontmatter/lib/to-matters.js
|
|
6205
|
-
var
|
|
6283
|
+
var bs = {}.hasOwnProperty, xs = {
|
|
6206
6284
|
yaml: "-",
|
|
6207
6285
|
toml: "+"
|
|
6208
6286
|
};
|
|
6209
|
-
function
|
|
6287
|
+
function Ss(e) {
|
|
6210
6288
|
let t = [], n = -1, r = Array.isArray(e) ? e : e ? [e] : ["yaml"];
|
|
6211
|
-
for (; ++n < r.length;) t[n] =
|
|
6289
|
+
for (; ++n < r.length;) t[n] = Cs(r[n]);
|
|
6212
6290
|
return t;
|
|
6213
6291
|
}
|
|
6214
|
-
function
|
|
6292
|
+
function Cs(e) {
|
|
6215
6293
|
let t = e;
|
|
6216
6294
|
if (typeof t == "string") {
|
|
6217
|
-
if (!
|
|
6295
|
+
if (!bs.call(xs, t)) throw vs("Missing matter definition for `%s`", t);
|
|
6218
6296
|
t = {
|
|
6219
6297
|
type: t,
|
|
6220
|
-
marker:
|
|
6298
|
+
marker: xs[t]
|
|
6221
6299
|
};
|
|
6222
|
-
} else if (typeof t != "object") throw
|
|
6223
|
-
if (!
|
|
6224
|
-
if (!
|
|
6300
|
+
} else if (typeof t != "object") throw vs("Expected matter to be an object, not `%j`", t);
|
|
6301
|
+
if (!bs.call(t, "type")) throw vs("Missing `type` in matter `%j`", t);
|
|
6302
|
+
if (!bs.call(t, "fence") && !bs.call(t, "marker")) throw vs("Missing `marker` or `fence` in matter `%j`", t);
|
|
6225
6303
|
return t;
|
|
6226
6304
|
}
|
|
6227
6305
|
//#endregion
|
|
6228
6306
|
//#region node_modules/micromark-extension-frontmatter/lib/syntax.js
|
|
6229
|
-
function
|
|
6230
|
-
let t =
|
|
6307
|
+
function ws(e) {
|
|
6308
|
+
let t = Ss(e), n = {}, r = -1;
|
|
6231
6309
|
for (; ++r < t.length;) {
|
|
6232
|
-
let e = t[r], i =
|
|
6310
|
+
let e = t[r], i = Es(e, "open").charCodeAt(0), a = Ts(e), o = n[i];
|
|
6233
6311
|
Array.isArray(o) ? o.push(a) : n[i] = [a];
|
|
6234
6312
|
}
|
|
6235
6313
|
return { flow: n };
|
|
6236
6314
|
}
|
|
6237
|
-
function
|
|
6315
|
+
function Ts(e) {
|
|
6238
6316
|
let t = e.anywhere, n = e.type, r = n + "Fence", i = r + "Sequence", a = n + "Value", o = {
|
|
6239
6317
|
tokenize: u,
|
|
6240
6318
|
partial: !0
|
|
@@ -6248,7 +6326,7 @@ function _s(e) {
|
|
|
6248
6326
|
return p;
|
|
6249
6327
|
function p(a) {
|
|
6250
6328
|
let o = f.now();
|
|
6251
|
-
return o.column === 1 && (o.line === 1 || t) && (s =
|
|
6329
|
+
return o.column === 1 && (o.line === 1 || t) && (s = Es(e, "open"), c = 0, a === s.charCodeAt(c)) ? (l.enter(n), l.enter(r), l.enter(i), m(a)) : d(a);
|
|
6252
6330
|
}
|
|
6253
6331
|
function m(e) {
|
|
6254
6332
|
return c === s.length ? (l.exit(i), K(e) ? (l.enter("whitespace"), h(e)) : g(e)) : e === s.charCodeAt(c++) ? (l.consume(e), m) : d(e);
|
|
@@ -6257,7 +6335,7 @@ function _s(e) {
|
|
|
6257
6335
|
return K(e) ? (l.consume(e), h) : (l.exit("whitespace"), g(e));
|
|
6258
6336
|
}
|
|
6259
6337
|
function g(t) {
|
|
6260
|
-
return W(t) ? (l.exit(r), l.enter("lineEnding"), l.consume(t), l.exit("lineEnding"), s =
|
|
6338
|
+
return W(t) ? (l.exit(r), l.enter("lineEnding"), l.consume(t), l.exit("lineEnding"), s = Es(e, "close"), c = 0, l.attempt(o, b, _)) : d(t);
|
|
6261
6339
|
}
|
|
6262
6340
|
function _(e) {
|
|
6263
6341
|
return e === null || W(e) ? y(e) : (l.enter(a), v(e));
|
|
@@ -6289,32 +6367,26 @@ function _s(e) {
|
|
|
6289
6367
|
}
|
|
6290
6368
|
}
|
|
6291
6369
|
}
|
|
6292
|
-
function
|
|
6293
|
-
return e.marker ?
|
|
6370
|
+
function Es(e, t) {
|
|
6371
|
+
return e.marker ? Ds(e.marker, t).repeat(3) : Ds(e.fence, t);
|
|
6294
6372
|
}
|
|
6295
|
-
function
|
|
6373
|
+
function Ds(e, t) {
|
|
6296
6374
|
return typeof e == "string" ? e : e[t];
|
|
6297
6375
|
}
|
|
6298
6376
|
//#endregion
|
|
6299
|
-
//#region node_modules/escape-string-regexp/index.js
|
|
6300
|
-
function bs(e) {
|
|
6301
|
-
if (typeof e != "string") throw TypeError("Expected a string");
|
|
6302
|
-
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
6303
|
-
}
|
|
6304
|
-
//#endregion
|
|
6305
6377
|
//#region node_modules/mdast-util-frontmatter/lib/index.js
|
|
6306
|
-
function
|
|
6307
|
-
let t =
|
|
6378
|
+
function Os(e) {
|
|
6379
|
+
let t = Ss(e), n = {}, r = {}, i = -1;
|
|
6308
6380
|
for (; ++i < t.length;) {
|
|
6309
6381
|
let e = t[i];
|
|
6310
|
-
n[e.type] =
|
|
6382
|
+
n[e.type] = ks(e), r[e.type] = As, r[e.type + "Value"] = js;
|
|
6311
6383
|
}
|
|
6312
6384
|
return {
|
|
6313
6385
|
enter: n,
|
|
6314
6386
|
exit: r
|
|
6315
6387
|
};
|
|
6316
6388
|
}
|
|
6317
|
-
function
|
|
6389
|
+
function ks(e) {
|
|
6318
6390
|
return t;
|
|
6319
6391
|
function t(t) {
|
|
6320
6392
|
this.enter({
|
|
@@ -6323,23 +6395,23 @@ function Ss(e) {
|
|
|
6323
6395
|
}, t), this.buffer();
|
|
6324
6396
|
}
|
|
6325
6397
|
}
|
|
6326
|
-
function
|
|
6398
|
+
function As(e) {
|
|
6327
6399
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
6328
6400
|
"value" in n, this.exit(e), n.value = t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, "");
|
|
6329
6401
|
}
|
|
6330
|
-
function
|
|
6402
|
+
function js(e) {
|
|
6331
6403
|
this.config.enter.data.call(this, e), this.config.exit.data.call(this, e);
|
|
6332
6404
|
}
|
|
6333
|
-
function
|
|
6334
|
-
let t = [], n = {}, r =
|
|
6405
|
+
function Ms(e) {
|
|
6406
|
+
let t = [], n = {}, r = Ss(e), i = -1;
|
|
6335
6407
|
for (; ++i < r.length;) {
|
|
6336
6408
|
let e = r[i];
|
|
6337
|
-
n[e.type] =
|
|
6338
|
-
let a =
|
|
6409
|
+
n[e.type] = Ns(e);
|
|
6410
|
+
let a = Ps(e, "open");
|
|
6339
6411
|
t.push({
|
|
6340
6412
|
atBreak: !0,
|
|
6341
6413
|
character: a.charAt(0),
|
|
6342
|
-
after:
|
|
6414
|
+
after: ls(a.charAt(1))
|
|
6343
6415
|
});
|
|
6344
6416
|
}
|
|
6345
6417
|
return {
|
|
@@ -6347,29 +6419,29 @@ function Ts(e) {
|
|
|
6347
6419
|
handlers: n
|
|
6348
6420
|
};
|
|
6349
6421
|
}
|
|
6350
|
-
function
|
|
6351
|
-
let t =
|
|
6422
|
+
function Ns(e) {
|
|
6423
|
+
let t = Ps(e, "open"), n = Ps(e, "close");
|
|
6352
6424
|
return r;
|
|
6353
6425
|
function r(e) {
|
|
6354
6426
|
return t + (e.value ? "\n" + e.value : "") + "\n" + n;
|
|
6355
6427
|
}
|
|
6356
6428
|
}
|
|
6357
|
-
function
|
|
6358
|
-
return e.marker ?
|
|
6429
|
+
function Ps(e, t) {
|
|
6430
|
+
return e.marker ? Fs(e.marker, t).repeat(3) : Fs(e.fence, t);
|
|
6359
6431
|
}
|
|
6360
|
-
function
|
|
6432
|
+
function Fs(e, t) {
|
|
6361
6433
|
return typeof e == "string" ? e : e[t];
|
|
6362
6434
|
}
|
|
6363
6435
|
//#endregion
|
|
6364
6436
|
//#region node_modules/remark-frontmatter/lib/index.js
|
|
6365
|
-
var
|
|
6366
|
-
function
|
|
6367
|
-
let t = this, n = e ||
|
|
6368
|
-
i.push(
|
|
6437
|
+
var Is = "yaml";
|
|
6438
|
+
function Ls(e) {
|
|
6439
|
+
let t = this, n = e || Is, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
6440
|
+
i.push(ws(n)), a.push(Os(n)), o.push(Ms(n));
|
|
6369
6441
|
}
|
|
6370
6442
|
//#endregion
|
|
6371
6443
|
//#region node_modules/ccount/index.js
|
|
6372
|
-
function
|
|
6444
|
+
function Rs(e, t) {
|
|
6373
6445
|
let n = String(e);
|
|
6374
6446
|
if (typeof t != "string") throw TypeError("Expected character");
|
|
6375
6447
|
let r = 0, i = n.indexOf(t);
|
|
@@ -6377,113 +6449,56 @@ function js(e, t) {
|
|
|
6377
6449
|
return r;
|
|
6378
6450
|
}
|
|
6379
6451
|
//#endregion
|
|
6380
|
-
//#region node_modules/mdast-util-find-and-replace/lib/index.js
|
|
6381
|
-
function Ms(e, t, n) {
|
|
6382
|
-
let r = Xi((n || {}).ignore || []), i = Ns(t), a = -1;
|
|
6383
|
-
for (; ++a < i.length;) oa(e, "text", o);
|
|
6384
|
-
function o(e, t) {
|
|
6385
|
-
let n = -1, i;
|
|
6386
|
-
for (; ++n < t.length;) {
|
|
6387
|
-
let e = t[n], a = i ? i.children : void 0;
|
|
6388
|
-
if (r(e, a ? a.indexOf(e) : void 0, i)) return;
|
|
6389
|
-
i = e;
|
|
6390
|
-
}
|
|
6391
|
-
if (i) return s(e, t);
|
|
6392
|
-
}
|
|
6393
|
-
function s(e, t) {
|
|
6394
|
-
let n = t[t.length - 1], r = i[a][0], o = i[a][1], s = 0, c = n.children.indexOf(e), l = !1, u = [];
|
|
6395
|
-
r.lastIndex = 0;
|
|
6396
|
-
let d = r.exec(e.value);
|
|
6397
|
-
for (; d;) {
|
|
6398
|
-
let n = d.index, i = {
|
|
6399
|
-
index: d.index,
|
|
6400
|
-
input: d.input,
|
|
6401
|
-
stack: [...t, e]
|
|
6402
|
-
}, a = o(...d, i);
|
|
6403
|
-
if (typeof a == "string" && (a = a.length > 0 ? {
|
|
6404
|
-
type: "text",
|
|
6405
|
-
value: a
|
|
6406
|
-
} : void 0), a === !1 ? r.lastIndex = n + 1 : (s !== n && u.push({
|
|
6407
|
-
type: "text",
|
|
6408
|
-
value: e.value.slice(s, n)
|
|
6409
|
-
}), Array.isArray(a) ? u.push(...a) : a && u.push(a), s = n + d[0].length, l = !0), !r.global) break;
|
|
6410
|
-
d = r.exec(e.value);
|
|
6411
|
-
}
|
|
6412
|
-
return l ? (s < e.value.length && u.push({
|
|
6413
|
-
type: "text",
|
|
6414
|
-
value: e.value.slice(s)
|
|
6415
|
-
}), n.children.splice(c, 1, ...u)) : u = [e], c + u.length;
|
|
6416
|
-
}
|
|
6417
|
-
}
|
|
6418
|
-
function Ns(e) {
|
|
6419
|
-
let t = [];
|
|
6420
|
-
if (!Array.isArray(e)) throw TypeError("Expected find and replace tuple or list of tuples");
|
|
6421
|
-
let n = !e[0] || Array.isArray(e[0]) ? e : [e], r = -1;
|
|
6422
|
-
for (; ++r < n.length;) {
|
|
6423
|
-
let e = n[r];
|
|
6424
|
-
t.push([Ps(e[0]), Fs(e[1])]);
|
|
6425
|
-
}
|
|
6426
|
-
return t;
|
|
6427
|
-
}
|
|
6428
|
-
function Ps(e) {
|
|
6429
|
-
return typeof e == "string" ? new RegExp(bs(e), "g") : e;
|
|
6430
|
-
}
|
|
6431
|
-
function Fs(e) {
|
|
6432
|
-
return typeof e == "function" ? e : function() {
|
|
6433
|
-
return e;
|
|
6434
|
-
};
|
|
6435
|
-
}
|
|
6436
|
-
//#endregion
|
|
6437
6452
|
//#region node_modules/mdast-util-gfm-autolink-literal/lib/index.js
|
|
6438
|
-
var
|
|
6453
|
+
var zs = "phrasing", Bs = [
|
|
6439
6454
|
"autolink",
|
|
6440
6455
|
"link",
|
|
6441
6456
|
"image",
|
|
6442
6457
|
"label"
|
|
6443
6458
|
];
|
|
6444
|
-
function
|
|
6459
|
+
function Vs() {
|
|
6445
6460
|
return {
|
|
6446
|
-
transforms: [
|
|
6461
|
+
transforms: [Ys],
|
|
6447
6462
|
enter: {
|
|
6448
|
-
literalAutolink:
|
|
6449
|
-
literalAutolinkEmail:
|
|
6450
|
-
literalAutolinkHttp:
|
|
6451
|
-
literalAutolinkWww:
|
|
6463
|
+
literalAutolink: Us,
|
|
6464
|
+
literalAutolinkEmail: Ws,
|
|
6465
|
+
literalAutolinkHttp: Ws,
|
|
6466
|
+
literalAutolinkWww: Ws
|
|
6452
6467
|
},
|
|
6453
6468
|
exit: {
|
|
6454
|
-
literalAutolink:
|
|
6455
|
-
literalAutolinkEmail:
|
|
6456
|
-
literalAutolinkHttp:
|
|
6457
|
-
literalAutolinkWww:
|
|
6469
|
+
literalAutolink: Js,
|
|
6470
|
+
literalAutolinkEmail: qs,
|
|
6471
|
+
literalAutolinkHttp: Gs,
|
|
6472
|
+
literalAutolinkWww: Ks
|
|
6458
6473
|
}
|
|
6459
6474
|
};
|
|
6460
6475
|
}
|
|
6461
|
-
function
|
|
6476
|
+
function Hs() {
|
|
6462
6477
|
return { unsafe: [
|
|
6463
6478
|
{
|
|
6464
6479
|
character: "@",
|
|
6465
6480
|
before: "[+\\-.\\w]",
|
|
6466
6481
|
after: "[\\-.\\w]",
|
|
6467
|
-
inConstruct:
|
|
6468
|
-
notInConstruct:
|
|
6482
|
+
inConstruct: zs,
|
|
6483
|
+
notInConstruct: Bs
|
|
6469
6484
|
},
|
|
6470
6485
|
{
|
|
6471
6486
|
character: ".",
|
|
6472
6487
|
before: "[Ww]",
|
|
6473
6488
|
after: "[\\-.\\w]",
|
|
6474
|
-
inConstruct:
|
|
6475
|
-
notInConstruct:
|
|
6489
|
+
inConstruct: zs,
|
|
6490
|
+
notInConstruct: Bs
|
|
6476
6491
|
},
|
|
6477
6492
|
{
|
|
6478
6493
|
character: ":",
|
|
6479
6494
|
before: "[ps]",
|
|
6480
6495
|
after: "\\/",
|
|
6481
|
-
inConstruct:
|
|
6482
|
-
notInConstruct:
|
|
6496
|
+
inConstruct: zs,
|
|
6497
|
+
notInConstruct: Bs
|
|
6483
6498
|
}
|
|
6484
6499
|
] };
|
|
6485
6500
|
}
|
|
6486
|
-
function
|
|
6501
|
+
function Us(e) {
|
|
6487
6502
|
this.enter({
|
|
6488
6503
|
type: "link",
|
|
6489
6504
|
title: null,
|
|
@@ -6491,30 +6506,30 @@ function Bs(e) {
|
|
|
6491
6506
|
children: []
|
|
6492
6507
|
}, e);
|
|
6493
6508
|
}
|
|
6494
|
-
function
|
|
6509
|
+
function Ws(e) {
|
|
6495
6510
|
this.config.enter.autolinkProtocol.call(this, e);
|
|
6496
6511
|
}
|
|
6497
|
-
function
|
|
6512
|
+
function Gs(e) {
|
|
6498
6513
|
this.config.exit.autolinkProtocol.call(this, e);
|
|
6499
6514
|
}
|
|
6500
|
-
function
|
|
6515
|
+
function Ks(e) {
|
|
6501
6516
|
this.config.exit.data.call(this, e);
|
|
6502
6517
|
let t = this.stack[this.stack.length - 1];
|
|
6503
6518
|
t.type, t.url = "http://" + this.sliceSerialize(e);
|
|
6504
6519
|
}
|
|
6505
|
-
function
|
|
6520
|
+
function qs(e) {
|
|
6506
6521
|
this.config.exit.autolinkEmail.call(this, e);
|
|
6507
6522
|
}
|
|
6508
|
-
function
|
|
6523
|
+
function Js(e) {
|
|
6509
6524
|
this.exit(e);
|
|
6510
6525
|
}
|
|
6511
|
-
function
|
|
6512
|
-
|
|
6526
|
+
function Ys(e) {
|
|
6527
|
+
us(e, [[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi, Xs], [/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu, Zs]], { ignore: ["link", "linkReference"] });
|
|
6513
6528
|
}
|
|
6514
|
-
function
|
|
6529
|
+
function Xs(e, t, n, r, i) {
|
|
6515
6530
|
let a = "";
|
|
6516
|
-
if (!
|
|
6517
|
-
let o =
|
|
6531
|
+
if (!ec(i) || (/^w/i.test(t) && (n = t + n, t = "", a = "http://"), !Qs(n))) return !1;
|
|
6532
|
+
let o = $s(n + r);
|
|
6518
6533
|
if (!o[0]) return !1;
|
|
6519
6534
|
let s = {
|
|
6520
6535
|
type: "link",
|
|
@@ -6530,8 +6545,8 @@ function qs(e, t, n, r, i) {
|
|
|
6530
6545
|
value: o[1]
|
|
6531
6546
|
}] : s;
|
|
6532
6547
|
}
|
|
6533
|
-
function
|
|
6534
|
-
return !
|
|
6548
|
+
function Zs(e, t, n, r) {
|
|
6549
|
+
return !ec(r, !0) || /[-\d_]$/.test(n) ? !1 : {
|
|
6535
6550
|
type: "link",
|
|
6536
6551
|
title: null,
|
|
6537
6552
|
url: "mailto:" + t + "@" + n,
|
|
@@ -6541,39 +6556,39 @@ function Js(e, t, n, r) {
|
|
|
6541
6556
|
}]
|
|
6542
6557
|
};
|
|
6543
6558
|
}
|
|
6544
|
-
function
|
|
6559
|
+
function Qs(e) {
|
|
6545
6560
|
let t = e.split(".");
|
|
6546
6561
|
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])));
|
|
6547
6562
|
}
|
|
6548
|
-
function
|
|
6563
|
+
function $s(e) {
|
|
6549
6564
|
let t = /[!"&'),.:;<>?\]}]+$/.exec(e);
|
|
6550
6565
|
if (!t) return [e, void 0];
|
|
6551
6566
|
e = e.slice(0, t.index);
|
|
6552
|
-
let n = t[0], r = n.indexOf(")"), i =
|
|
6567
|
+
let n = t[0], r = n.indexOf(")"), i = Rs(e, "("), a = Rs(e, ")");
|
|
6553
6568
|
for (; r !== -1 && i > a;) e += n.slice(0, r + 1), n = n.slice(r + 1), r = n.indexOf(")"), a++;
|
|
6554
6569
|
return [e, n];
|
|
6555
6570
|
}
|
|
6556
|
-
function
|
|
6571
|
+
function ec(e, t) {
|
|
6557
6572
|
let n = e.input.charCodeAt(e.index - 1);
|
|
6558
6573
|
return (e.index === 0 || Ot(n) || Dt(n)) && (!t || n !== 47);
|
|
6559
6574
|
}
|
|
6560
6575
|
//#endregion
|
|
6561
6576
|
//#region node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
6562
|
-
|
|
6563
|
-
function
|
|
6577
|
+
uc.peek = lc;
|
|
6578
|
+
function tc() {
|
|
6564
6579
|
this.buffer();
|
|
6565
6580
|
}
|
|
6566
|
-
function
|
|
6581
|
+
function nc(e) {
|
|
6567
6582
|
this.enter({
|
|
6568
6583
|
type: "footnoteReference",
|
|
6569
6584
|
identifier: "",
|
|
6570
6585
|
label: ""
|
|
6571
6586
|
}, e);
|
|
6572
6587
|
}
|
|
6573
|
-
function
|
|
6588
|
+
function rc() {
|
|
6574
6589
|
this.buffer();
|
|
6575
6590
|
}
|
|
6576
|
-
function
|
|
6591
|
+
function ic(e) {
|
|
6577
6592
|
this.enter({
|
|
6578
6593
|
type: "footnoteDefinition",
|
|
6579
6594
|
identifier: "",
|
|
@@ -6581,52 +6596,52 @@ function tc(e) {
|
|
|
6581
6596
|
children: []
|
|
6582
6597
|
}, e);
|
|
6583
6598
|
}
|
|
6584
|
-
function
|
|
6599
|
+
function ac(e) {
|
|
6585
6600
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
6586
6601
|
n.type, n.identifier = V(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
6587
6602
|
}
|
|
6588
|
-
function
|
|
6603
|
+
function oc(e) {
|
|
6589
6604
|
this.exit(e);
|
|
6590
6605
|
}
|
|
6591
|
-
function
|
|
6606
|
+
function sc(e) {
|
|
6592
6607
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
6593
6608
|
n.type, n.identifier = V(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
6594
6609
|
}
|
|
6595
|
-
function
|
|
6610
|
+
function cc(e) {
|
|
6596
6611
|
this.exit(e);
|
|
6597
6612
|
}
|
|
6598
|
-
function
|
|
6613
|
+
function lc() {
|
|
6599
6614
|
return "[";
|
|
6600
6615
|
}
|
|
6601
|
-
function
|
|
6616
|
+
function uc(e, t, n, r) {
|
|
6602
6617
|
let i = n.createTracker(r), a = i.move("[^"), o = n.enter("footnoteReference"), s = n.enter("reference");
|
|
6603
6618
|
return a += i.move(n.safe(n.associationId(e), {
|
|
6604
6619
|
after: "]",
|
|
6605
6620
|
before: a
|
|
6606
6621
|
})), s(), o(), a += i.move("]"), a;
|
|
6607
6622
|
}
|
|
6608
|
-
function
|
|
6623
|
+
function dc() {
|
|
6609
6624
|
return {
|
|
6610
6625
|
enter: {
|
|
6611
|
-
gfmFootnoteCallString:
|
|
6612
|
-
gfmFootnoteCall:
|
|
6613
|
-
gfmFootnoteDefinitionLabelString:
|
|
6614
|
-
gfmFootnoteDefinition:
|
|
6626
|
+
gfmFootnoteCallString: tc,
|
|
6627
|
+
gfmFootnoteCall: nc,
|
|
6628
|
+
gfmFootnoteDefinitionLabelString: rc,
|
|
6629
|
+
gfmFootnoteDefinition: ic
|
|
6615
6630
|
},
|
|
6616
6631
|
exit: {
|
|
6617
|
-
gfmFootnoteCallString:
|
|
6618
|
-
gfmFootnoteCall:
|
|
6619
|
-
gfmFootnoteDefinitionLabelString:
|
|
6620
|
-
gfmFootnoteDefinition:
|
|
6632
|
+
gfmFootnoteCallString: ac,
|
|
6633
|
+
gfmFootnoteCall: oc,
|
|
6634
|
+
gfmFootnoteDefinitionLabelString: sc,
|
|
6635
|
+
gfmFootnoteDefinition: cc
|
|
6621
6636
|
}
|
|
6622
6637
|
};
|
|
6623
6638
|
}
|
|
6624
|
-
function
|
|
6639
|
+
function fc(e) {
|
|
6625
6640
|
let t = !1;
|
|
6626
6641
|
return e && e.firstLineBlank && (t = !0), {
|
|
6627
6642
|
handlers: {
|
|
6628
6643
|
footnoteDefinition: n,
|
|
6629
|
-
footnoteReference:
|
|
6644
|
+
footnoteReference: uc
|
|
6630
6645
|
},
|
|
6631
6646
|
unsafe: [{
|
|
6632
6647
|
character: "[",
|
|
@@ -6642,18 +6657,18 @@ function lc(e) {
|
|
|
6642
6657
|
return o += a.move(r.safe(r.associationId(e), {
|
|
6643
6658
|
before: o,
|
|
6644
6659
|
after: "]"
|
|
6645
|
-
})), 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 ?
|
|
6660
|
+
})), 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 ? mc : pc))), s(), o;
|
|
6646
6661
|
}
|
|
6647
6662
|
}
|
|
6648
|
-
function
|
|
6649
|
-
return t === 0 ? e :
|
|
6663
|
+
function pc(e, t, n) {
|
|
6664
|
+
return t === 0 ? e : mc(e, t, n);
|
|
6650
6665
|
}
|
|
6651
|
-
function
|
|
6666
|
+
function mc(e, t, n) {
|
|
6652
6667
|
return (n ? "" : " ") + e;
|
|
6653
6668
|
}
|
|
6654
6669
|
//#endregion
|
|
6655
6670
|
//#region node_modules/mdast-util-gfm-strikethrough/lib/index.js
|
|
6656
|
-
var
|
|
6671
|
+
var hc = [
|
|
6657
6672
|
"autolink",
|
|
6658
6673
|
"destinationLiteral",
|
|
6659
6674
|
"destinationRaw",
|
|
@@ -6661,34 +6676,34 @@ var fc = [
|
|
|
6661
6676
|
"titleQuote",
|
|
6662
6677
|
"titleApostrophe"
|
|
6663
6678
|
];
|
|
6664
|
-
|
|
6665
|
-
function
|
|
6679
|
+
bc.peek = xc;
|
|
6680
|
+
function gc() {
|
|
6666
6681
|
return {
|
|
6667
6682
|
canContainEols: ["delete"],
|
|
6668
|
-
enter: { strikethrough:
|
|
6669
|
-
exit: { strikethrough:
|
|
6683
|
+
enter: { strikethrough: vc },
|
|
6684
|
+
exit: { strikethrough: yc }
|
|
6670
6685
|
};
|
|
6671
6686
|
}
|
|
6672
|
-
function
|
|
6687
|
+
function _c() {
|
|
6673
6688
|
return {
|
|
6674
6689
|
unsafe: [{
|
|
6675
6690
|
character: "~",
|
|
6676
6691
|
inConstruct: "phrasing",
|
|
6677
|
-
notInConstruct:
|
|
6692
|
+
notInConstruct: hc
|
|
6678
6693
|
}],
|
|
6679
|
-
handlers: { delete:
|
|
6694
|
+
handlers: { delete: bc }
|
|
6680
6695
|
};
|
|
6681
6696
|
}
|
|
6682
|
-
function
|
|
6697
|
+
function vc(e) {
|
|
6683
6698
|
this.enter({
|
|
6684
6699
|
type: "delete",
|
|
6685
6700
|
children: []
|
|
6686
6701
|
}, e);
|
|
6687
6702
|
}
|
|
6688
|
-
function
|
|
6703
|
+
function yc(e) {
|
|
6689
6704
|
this.exit(e);
|
|
6690
6705
|
}
|
|
6691
|
-
function
|
|
6706
|
+
function bc(e, t, n, r) {
|
|
6692
6707
|
let i = n.createTracker(r), a = n.enter("strikethrough"), o = i.move("~~");
|
|
6693
6708
|
return o += n.containerPhrasing(e, {
|
|
6694
6709
|
...i.current(),
|
|
@@ -6696,20 +6711,20 @@ function _c(e, t, n, r) {
|
|
|
6696
6711
|
after: "~"
|
|
6697
6712
|
}), o += i.move("~~"), a(), o;
|
|
6698
6713
|
}
|
|
6699
|
-
function
|
|
6714
|
+
function xc() {
|
|
6700
6715
|
return "~";
|
|
6701
6716
|
}
|
|
6702
6717
|
//#endregion
|
|
6703
6718
|
//#region node_modules/markdown-table/index.js
|
|
6704
|
-
function
|
|
6719
|
+
function Sc(e) {
|
|
6705
6720
|
return e.length;
|
|
6706
6721
|
}
|
|
6707
|
-
function
|
|
6708
|
-
let n = t || {}, r = (n.align || []).concat(), i = n.stringLength ||
|
|
6722
|
+
function Cc(e, t) {
|
|
6723
|
+
let n = t || {}, r = (n.align || []).concat(), i = n.stringLength || Sc, a = [], o = [], s = [], c = [], l = 0, u = -1;
|
|
6709
6724
|
for (; ++u < e.length;) {
|
|
6710
6725
|
let t = [], r = [], a = -1;
|
|
6711
6726
|
for (e[u].length > l && (l = e[u].length); ++a < e[u].length;) {
|
|
6712
|
-
let o =
|
|
6727
|
+
let o = wc(e[u][a]);
|
|
6713
6728
|
if (n.alignDelimiters !== !1) {
|
|
6714
6729
|
let e = i(o);
|
|
6715
6730
|
r[a] = e, (c[a] === void 0 || e > c[a]) && (c[a] = e);
|
|
@@ -6719,9 +6734,9 @@ function bc(e, t) {
|
|
|
6719
6734
|
o[u] = t, s[u] = r;
|
|
6720
6735
|
}
|
|
6721
6736
|
let d = -1;
|
|
6722
|
-
if (typeof r == "object" && "length" in r) for (; ++d < l;) a[d] =
|
|
6737
|
+
if (typeof r == "object" && "length" in r) for (; ++d < l;) a[d] = Tc(r[d]);
|
|
6723
6738
|
else {
|
|
6724
|
-
let e =
|
|
6739
|
+
let e = Tc(r);
|
|
6725
6740
|
for (; ++d < l;) a[d] = e;
|
|
6726
6741
|
}
|
|
6727
6742
|
d = -1;
|
|
@@ -6750,30 +6765,30 @@ function bc(e, t) {
|
|
|
6750
6765
|
}
|
|
6751
6766
|
return m.join("\n");
|
|
6752
6767
|
}
|
|
6753
|
-
function
|
|
6768
|
+
function wc(e) {
|
|
6754
6769
|
return e == null ? "" : String(e);
|
|
6755
6770
|
}
|
|
6756
|
-
function
|
|
6771
|
+
function Tc(e) {
|
|
6757
6772
|
let t = typeof e == "string" ? e.codePointAt(0) : 0;
|
|
6758
6773
|
return t === 67 || t === 99 ? 99 : t === 76 || t === 108 ? 108 : t === 82 || t === 114 ? 114 : 0;
|
|
6759
6774
|
}
|
|
6760
6775
|
//#endregion
|
|
6761
6776
|
//#region node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
|
|
6762
|
-
function
|
|
6777
|
+
function Ec(e, t, n, r) {
|
|
6763
6778
|
let i = n.enter("blockquote"), a = n.createTracker(r);
|
|
6764
6779
|
a.move("> "), a.shift(2);
|
|
6765
|
-
let o = n.indentLines(n.containerFlow(e, a.current()),
|
|
6780
|
+
let o = n.indentLines(n.containerFlow(e, a.current()), Dc);
|
|
6766
6781
|
return i(), o;
|
|
6767
6782
|
}
|
|
6768
|
-
function
|
|
6783
|
+
function Dc(e, t, n) {
|
|
6769
6784
|
return ">" + (n ? "" : " ") + e;
|
|
6770
6785
|
}
|
|
6771
6786
|
//#endregion
|
|
6772
6787
|
//#region node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
|
|
6773
|
-
function
|
|
6774
|
-
return
|
|
6788
|
+
function Oc(e, t) {
|
|
6789
|
+
return kc(e, t.inConstruct, !0) && !kc(e, t.notInConstruct, !1);
|
|
6775
6790
|
}
|
|
6776
|
-
function
|
|
6791
|
+
function kc(e, t, n) {
|
|
6777
6792
|
if (typeof t == "string" && (t = [t]), !t || t.length === 0) return n;
|
|
6778
6793
|
let r = -1;
|
|
6779
6794
|
for (; ++r < t.length;) if (e.includes(t[r])) return !0;
|
|
@@ -6781,14 +6796,14 @@ function Ec(e, t, n) {
|
|
|
6781
6796
|
}
|
|
6782
6797
|
//#endregion
|
|
6783
6798
|
//#region node_modules/mdast-util-to-markdown/lib/handle/break.js
|
|
6784
|
-
function
|
|
6799
|
+
function Ac(e, t, n, r) {
|
|
6785
6800
|
let i = -1;
|
|
6786
|
-
for (; ++i < n.unsafe.length;) if (n.unsafe[i].character === "\n" &&
|
|
6801
|
+
for (; ++i < n.unsafe.length;) if (n.unsafe[i].character === "\n" && Oc(n.stack, n.unsafe[i])) return /[ \t]/.test(r.before) ? "" : " ";
|
|
6787
6802
|
return "\\\n";
|
|
6788
6803
|
}
|
|
6789
6804
|
//#endregion
|
|
6790
6805
|
//#region node_modules/longest-streak/index.js
|
|
6791
|
-
function
|
|
6806
|
+
function jc(e, t) {
|
|
6792
6807
|
let n = String(e), r = n.indexOf(t), i = r, a = 0, o = 0;
|
|
6793
6808
|
if (typeof t != "string") throw TypeError("Expected substring");
|
|
6794
6809
|
for (; r !== -1;) r === i ? ++a > o && (o = a) : a = 1, i = r + t.length, r = n.indexOf(t, i);
|
|
@@ -6796,25 +6811,25 @@ function Oc(e, t) {
|
|
|
6796
6811
|
}
|
|
6797
6812
|
//#endregion
|
|
6798
6813
|
//#region node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js
|
|
6799
|
-
function
|
|
6814
|
+
function Mc(e, t) {
|
|
6800
6815
|
return !!(t.options.fences === !1 && e.value && !e.lang && /[^ \r\n]/.test(e.value) && !/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value));
|
|
6801
6816
|
}
|
|
6802
6817
|
//#endregion
|
|
6803
6818
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-fence.js
|
|
6804
|
-
function
|
|
6819
|
+
function Nc(e) {
|
|
6805
6820
|
let t = e.options.fence || "`";
|
|
6806
6821
|
if (t !== "`" && t !== "~") throw Error("Cannot serialize code with `" + t + "` for `options.fence`, expected `` ` `` or `~`");
|
|
6807
6822
|
return t;
|
|
6808
6823
|
}
|
|
6809
6824
|
//#endregion
|
|
6810
6825
|
//#region node_modules/mdast-util-to-markdown/lib/handle/code.js
|
|
6811
|
-
function
|
|
6812
|
-
let i =
|
|
6813
|
-
if (
|
|
6814
|
-
let e = n.enter("codeIndented"), t = n.indentLines(a,
|
|
6826
|
+
function Pc(e, t, n, r) {
|
|
6827
|
+
let i = Nc(n), a = e.value || "", o = i === "`" ? "GraveAccent" : "Tilde";
|
|
6828
|
+
if (Mc(e, n)) {
|
|
6829
|
+
let e = n.enter("codeIndented"), t = n.indentLines(a, Fc);
|
|
6815
6830
|
return e(), t;
|
|
6816
6831
|
}
|
|
6817
|
-
let s = n.createTracker(r), c = i.repeat(Math.max(
|
|
6832
|
+
let s = n.createTracker(r), c = i.repeat(Math.max(jc(a, i) + 1, 3)), l = n.enter("codeFenced"), u = s.move(c);
|
|
6818
6833
|
if (e.lang) {
|
|
6819
6834
|
let t = n.enter(`codeFencedLang${o}`);
|
|
6820
6835
|
u += s.move(n.safe(e.lang, {
|
|
@@ -6835,20 +6850,20 @@ function jc(e, t, n, r) {
|
|
|
6835
6850
|
}
|
|
6836
6851
|
return u += s.move("\n"), a && (u += s.move(a + "\n")), u += s.move(c), l(), u;
|
|
6837
6852
|
}
|
|
6838
|
-
function
|
|
6853
|
+
function Fc(e, t, n) {
|
|
6839
6854
|
return (n ? "" : " ") + e;
|
|
6840
6855
|
}
|
|
6841
6856
|
//#endregion
|
|
6842
6857
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-quote.js
|
|
6843
|
-
function
|
|
6858
|
+
function Ic(e) {
|
|
6844
6859
|
let t = e.options.quote || "\"";
|
|
6845
6860
|
if (t !== "\"" && t !== "'") throw Error("Cannot serialize title with `" + t + "` for `options.quote`, expected `\"`, or `'`");
|
|
6846
6861
|
return t;
|
|
6847
6862
|
}
|
|
6848
6863
|
//#endregion
|
|
6849
6864
|
//#region node_modules/mdast-util-to-markdown/lib/handle/definition.js
|
|
6850
|
-
function
|
|
6851
|
-
let i =
|
|
6865
|
+
function Lc(e, t, n, r) {
|
|
6866
|
+
let i = Ic(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.enter("definition"), s = n.enter("label"), c = n.createTracker(r), l = c.move("[");
|
|
6852
6867
|
return l += c.move(n.safe(n.associationId(e), {
|
|
6853
6868
|
before: l,
|
|
6854
6869
|
after: "]",
|
|
@@ -6869,19 +6884,19 @@ function Pc(e, t, n, r) {
|
|
|
6869
6884
|
}
|
|
6870
6885
|
//#endregion
|
|
6871
6886
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js
|
|
6872
|
-
function
|
|
6887
|
+
function Rc(e) {
|
|
6873
6888
|
let t = e.options.emphasis || "*";
|
|
6874
6889
|
if (t !== "*" && t !== "_") throw Error("Cannot serialize emphasis with `" + t + "` for `options.emphasis`, expected `*`, or `_`");
|
|
6875
6890
|
return t;
|
|
6876
6891
|
}
|
|
6877
6892
|
//#endregion
|
|
6878
6893
|
//#region node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js
|
|
6879
|
-
function
|
|
6894
|
+
function zc(e) {
|
|
6880
6895
|
return "&#x" + e.toString(16).toUpperCase() + ";";
|
|
6881
6896
|
}
|
|
6882
6897
|
//#endregion
|
|
6883
6898
|
//#region node_modules/mdast-util-to-markdown/lib/util/encode-info.js
|
|
6884
|
-
function
|
|
6899
|
+
function Bc(e, t, n) {
|
|
6885
6900
|
let r = It(e), i = It(t);
|
|
6886
6901
|
return r === void 0 ? i === void 0 ? n === "_" ? {
|
|
6887
6902
|
inside: !0,
|
|
@@ -6917,28 +6932,28 @@ function Lc(e, t, n) {
|
|
|
6917
6932
|
}
|
|
6918
6933
|
//#endregion
|
|
6919
6934
|
//#region node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
|
|
6920
|
-
|
|
6921
|
-
function
|
|
6922
|
-
let i =
|
|
6935
|
+
Vc.peek = Hc;
|
|
6936
|
+
function Vc(e, t, n, r) {
|
|
6937
|
+
let i = Rc(n), a = n.enter("emphasis"), o = n.createTracker(r), s = o.move(i), c = o.move(n.containerPhrasing(e, {
|
|
6923
6938
|
after: i,
|
|
6924
6939
|
before: s,
|
|
6925
6940
|
...o.current()
|
|
6926
|
-
})), l = c.charCodeAt(0), u =
|
|
6927
|
-
u.inside && (c =
|
|
6928
|
-
let d = c.charCodeAt(c.length - 1), f =
|
|
6929
|
-
f.inside && (c = c.slice(0, -1) +
|
|
6941
|
+
})), l = c.charCodeAt(0), u = Bc(r.before.charCodeAt(r.before.length - 1), l, i);
|
|
6942
|
+
u.inside && (c = zc(l) + c.slice(1));
|
|
6943
|
+
let d = c.charCodeAt(c.length - 1), f = Bc(r.after.charCodeAt(0), d, i);
|
|
6944
|
+
f.inside && (c = c.slice(0, -1) + zc(d));
|
|
6930
6945
|
let p = o.move(i);
|
|
6931
6946
|
return a(), n.attentionEncodeSurroundingInfo = {
|
|
6932
6947
|
after: f.outside,
|
|
6933
6948
|
before: u.outside
|
|
6934
6949
|
}, s + c + p;
|
|
6935
6950
|
}
|
|
6936
|
-
function
|
|
6951
|
+
function Hc(e, t, n) {
|
|
6937
6952
|
return n.options.emphasis || "*";
|
|
6938
6953
|
}
|
|
6939
6954
|
//#endregion
|
|
6940
6955
|
//#region node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js
|
|
6941
|
-
function
|
|
6956
|
+
function Uc(e, t) {
|
|
6942
6957
|
let n = !1;
|
|
6943
6958
|
return ca(e, function(e) {
|
|
6944
6959
|
if ("value" in e && /\r?\n|\r/.test(e.value) || e.type === "break") return n = !0, !1;
|
|
@@ -6946,9 +6961,9 @@ function Bc(e, t) {
|
|
|
6946
6961
|
}
|
|
6947
6962
|
//#endregion
|
|
6948
6963
|
//#region node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
6949
|
-
function
|
|
6964
|
+
function Wc(e, t, n, r) {
|
|
6950
6965
|
let i = Math.max(Math.min(6, e.depth || 1), 1), a = n.createTracker(r);
|
|
6951
|
-
if (
|
|
6966
|
+
if (Uc(e, n)) {
|
|
6952
6967
|
let t = n.enter("headingSetext"), r = n.enter("phrasing"), o = n.containerPhrasing(e, {
|
|
6953
6968
|
...a.current(),
|
|
6954
6969
|
before: "\n",
|
|
@@ -6963,22 +6978,22 @@ function Vc(e, t, n, r) {
|
|
|
6963
6978
|
after: "\n",
|
|
6964
6979
|
...a.current()
|
|
6965
6980
|
});
|
|
6966
|
-
return /^[\t ]/.test(l) && (l =
|
|
6981
|
+
return /^[\t ]/.test(l) && (l = zc(l.charCodeAt(0)) + l.slice(1)), l = l ? o + " " + l : o, n.options.closeAtx && (l += " " + o), c(), s(), l;
|
|
6967
6982
|
}
|
|
6968
6983
|
//#endregion
|
|
6969
6984
|
//#region node_modules/mdast-util-to-markdown/lib/handle/html.js
|
|
6970
|
-
|
|
6971
|
-
function
|
|
6985
|
+
Gc.peek = Kc;
|
|
6986
|
+
function Gc(e) {
|
|
6972
6987
|
return e.value || "";
|
|
6973
6988
|
}
|
|
6974
|
-
function
|
|
6989
|
+
function Kc() {
|
|
6975
6990
|
return "<";
|
|
6976
6991
|
}
|
|
6977
6992
|
//#endregion
|
|
6978
6993
|
//#region node_modules/mdast-util-to-markdown/lib/handle/image.js
|
|
6979
|
-
|
|
6980
|
-
function
|
|
6981
|
-
let i =
|
|
6994
|
+
qc.peek = Jc;
|
|
6995
|
+
function qc(e, t, n, r) {
|
|
6996
|
+
let i = Ic(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.enter("image"), s = n.enter("label"), c = n.createTracker(r), l = c.move("![");
|
|
6982
6997
|
return l += c.move(n.safe(e.alt, {
|
|
6983
6998
|
before: l,
|
|
6984
6999
|
after: "]",
|
|
@@ -6997,13 +7012,13 @@ function Wc(e, t, n, r) {
|
|
|
6997
7012
|
...c.current()
|
|
6998
7013
|
})), l += c.move(i), s()), l += c.move(")"), o(), l;
|
|
6999
7014
|
}
|
|
7000
|
-
function
|
|
7015
|
+
function Jc() {
|
|
7001
7016
|
return "!";
|
|
7002
7017
|
}
|
|
7003
7018
|
//#endregion
|
|
7004
7019
|
//#region node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
|
|
7005
|
-
|
|
7006
|
-
function
|
|
7020
|
+
Yc.peek = Xc;
|
|
7021
|
+
function Yc(e, t, n, r) {
|
|
7007
7022
|
let i = e.referenceType, a = n.enter("imageReference"), o = n.enter("label"), s = n.createTracker(r), c = s.move("!["), l = n.safe(e.alt, {
|
|
7008
7023
|
before: c,
|
|
7009
7024
|
after: "]",
|
|
@@ -7019,13 +7034,13 @@ function Kc(e, t, n, r) {
|
|
|
7019
7034
|
});
|
|
7020
7035
|
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;
|
|
7021
7036
|
}
|
|
7022
|
-
function
|
|
7037
|
+
function Xc() {
|
|
7023
7038
|
return "!";
|
|
7024
7039
|
}
|
|
7025
7040
|
//#endregion
|
|
7026
7041
|
//#region node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
|
|
7027
|
-
|
|
7028
|
-
function
|
|
7042
|
+
Zc.peek = Qc;
|
|
7043
|
+
function Zc(e, t, n) {
|
|
7029
7044
|
let r = e.value || "", i = "`", a = -1;
|
|
7030
7045
|
for (; RegExp("(^|[^`])" + i + "([^`]|$)").test(r);) i += "`";
|
|
7031
7046
|
for (/[^ \r\n]/.test(r) && (/^[ \r\n]/.test(r) && /[ \r\n]$/.test(r) || /^`|`$/.test(r)) && (r = " " + r + " "); ++a < n.unsafe.length;) {
|
|
@@ -7037,21 +7052,21 @@ function Jc(e, t, n) {
|
|
|
7037
7052
|
}
|
|
7038
7053
|
return i + r + i;
|
|
7039
7054
|
}
|
|
7040
|
-
function
|
|
7055
|
+
function Qc() {
|
|
7041
7056
|
return "`";
|
|
7042
7057
|
}
|
|
7043
7058
|
//#endregion
|
|
7044
7059
|
//#region node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
7045
|
-
function
|
|
7060
|
+
function $c(e, t) {
|
|
7046
7061
|
let n = dt(e);
|
|
7047
7062
|
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));
|
|
7048
7063
|
}
|
|
7049
7064
|
//#endregion
|
|
7050
7065
|
//#region node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
7051
|
-
|
|
7052
|
-
function
|
|
7053
|
-
let i =
|
|
7054
|
-
if (
|
|
7066
|
+
el.peek = tl;
|
|
7067
|
+
function el(e, t, n, r) {
|
|
7068
|
+
let i = Ic(n), a = i === "\"" ? "Quote" : "Apostrophe", o = n.createTracker(r), s, c;
|
|
7069
|
+
if ($c(e, n)) {
|
|
7055
7070
|
let t = n.stack;
|
|
7056
7071
|
n.stack = [], s = n.enter("autolink");
|
|
7057
7072
|
let r = o.move("<");
|
|
@@ -7081,13 +7096,13 @@ function Zc(e, t, n, r) {
|
|
|
7081
7096
|
...o.current()
|
|
7082
7097
|
})), l += o.move(i), c()), l += o.move(")"), s(), l;
|
|
7083
7098
|
}
|
|
7084
|
-
function
|
|
7085
|
-
return
|
|
7099
|
+
function tl(e, t, n) {
|
|
7100
|
+
return $c(e, n) ? "<" : "[";
|
|
7086
7101
|
}
|
|
7087
7102
|
//#endregion
|
|
7088
7103
|
//#region node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
|
|
7089
|
-
|
|
7090
|
-
function
|
|
7104
|
+
nl.peek = rl;
|
|
7105
|
+
function nl(e, t, n, r) {
|
|
7091
7106
|
let i = e.referenceType, a = n.enter("linkReference"), o = n.enter("label"), s = n.createTracker(r), c = s.move("["), l = n.containerPhrasing(e, {
|
|
7092
7107
|
before: c,
|
|
7093
7108
|
after: "]",
|
|
@@ -7103,20 +7118,20 @@ function $c(e, t, n, r) {
|
|
|
7103
7118
|
});
|
|
7104
7119
|
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;
|
|
7105
7120
|
}
|
|
7106
|
-
function
|
|
7121
|
+
function rl() {
|
|
7107
7122
|
return "[";
|
|
7108
7123
|
}
|
|
7109
7124
|
//#endregion
|
|
7110
7125
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-bullet.js
|
|
7111
|
-
function
|
|
7126
|
+
function il(e) {
|
|
7112
7127
|
let t = e.options.bullet || "*";
|
|
7113
7128
|
if (t !== "*" && t !== "+" && t !== "-") throw Error("Cannot serialize items with `" + t + "` for `options.bullet`, expected `*`, `+`, or `-`");
|
|
7114
7129
|
return t;
|
|
7115
7130
|
}
|
|
7116
7131
|
//#endregion
|
|
7117
7132
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js
|
|
7118
|
-
function
|
|
7119
|
-
let t =
|
|
7133
|
+
function al(e) {
|
|
7134
|
+
let t = il(e), n = e.options.bulletOther;
|
|
7120
7135
|
if (!n) return t === "*" ? "-" : "*";
|
|
7121
7136
|
if (n !== "*" && n !== "+" && n !== "-") throw Error("Cannot serialize items with `" + n + "` for `options.bulletOther`, expected `*`, `+`, or `-`");
|
|
7122
7137
|
if (n === t) throw Error("Expected `bullet` (`" + t + "`) and `bulletOther` (`" + n + "`) to be different");
|
|
@@ -7124,25 +7139,25 @@ function nl(e) {
|
|
|
7124
7139
|
}
|
|
7125
7140
|
//#endregion
|
|
7126
7141
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js
|
|
7127
|
-
function
|
|
7142
|
+
function ol(e) {
|
|
7128
7143
|
let t = e.options.bulletOrdered || ".";
|
|
7129
7144
|
if (t !== "." && t !== ")") throw Error("Cannot serialize items with `" + t + "` for `options.bulletOrdered`, expected `.` or `)`");
|
|
7130
7145
|
return t;
|
|
7131
7146
|
}
|
|
7132
7147
|
//#endregion
|
|
7133
7148
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-rule.js
|
|
7134
|
-
function
|
|
7149
|
+
function sl(e) {
|
|
7135
7150
|
let t = e.options.rule || "*";
|
|
7136
7151
|
if (t !== "*" && t !== "-" && t !== "_") throw Error("Cannot serialize rules with `" + t + "` for `options.rule`, expected `*`, `-`, or `_`");
|
|
7137
7152
|
return t;
|
|
7138
7153
|
}
|
|
7139
7154
|
//#endregion
|
|
7140
7155
|
//#region node_modules/mdast-util-to-markdown/lib/handle/list.js
|
|
7141
|
-
function
|
|
7142
|
-
let i = n.enter("list"), a = n.bulletCurrent, o = e.ordered ?
|
|
7156
|
+
function cl(e, t, n, r) {
|
|
7157
|
+
let i = n.enter("list"), a = n.bulletCurrent, o = e.ordered ? ol(n) : il(n), s = e.ordered ? o === "." ? ")" : "." : al(n), c = t && n.bulletLastUsed ? o === n.bulletLastUsed : !1;
|
|
7143
7158
|
if (!e.ordered) {
|
|
7144
7159
|
let t = e.children ? e.children[0] : void 0;
|
|
7145
|
-
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),
|
|
7160
|
+
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), sl(n) === o && t) {
|
|
7146
7161
|
let t = -1;
|
|
7147
7162
|
for (; ++t < e.children.length;) {
|
|
7148
7163
|
let n = e.children[t];
|
|
@@ -7159,15 +7174,15 @@ function al(e, t, n, r) {
|
|
|
7159
7174
|
}
|
|
7160
7175
|
//#endregion
|
|
7161
7176
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js
|
|
7162
|
-
function
|
|
7177
|
+
function ll(e) {
|
|
7163
7178
|
let t = e.options.listItemIndent || "one";
|
|
7164
7179
|
if (t !== "tab" && t !== "one" && t !== "mixed") throw Error("Cannot serialize items with `" + t + "` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");
|
|
7165
7180
|
return t;
|
|
7166
7181
|
}
|
|
7167
7182
|
//#endregion
|
|
7168
7183
|
//#region node_modules/mdast-util-to-markdown/lib/handle/list-item.js
|
|
7169
|
-
function
|
|
7170
|
-
let i =
|
|
7184
|
+
function ul(e, t, n, r) {
|
|
7185
|
+
let i = ll(n), a = n.bulletCurrent || il(n);
|
|
7171
7186
|
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);
|
|
7172
7187
|
let o = a.length + 1;
|
|
7173
7188
|
(i === "tab" || i === "mixed" && (t && t.type === "list" && t.spread || e.spread)) && (o = Math.ceil(o / 4) * 4);
|
|
@@ -7181,13 +7196,13 @@ function sl(e, t, n, r) {
|
|
|
7181
7196
|
}
|
|
7182
7197
|
//#endregion
|
|
7183
7198
|
//#region node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
|
|
7184
|
-
function
|
|
7199
|
+
function dl(e, t, n, r) {
|
|
7185
7200
|
let i = n.enter("paragraph"), a = n.enter("phrasing"), o = n.containerPhrasing(e, r);
|
|
7186
7201
|
return a(), i(), o;
|
|
7187
7202
|
}
|
|
7188
7203
|
//#endregion
|
|
7189
7204
|
//#region node_modules/mdast-util-phrasing/lib/index.js
|
|
7190
|
-
var
|
|
7205
|
+
var fl = Xi([
|
|
7191
7206
|
"break",
|
|
7192
7207
|
"delete",
|
|
7193
7208
|
"emphasis",
|
|
@@ -7207,101 +7222,101 @@ var ll = Xi([
|
|
|
7207
7222
|
]);
|
|
7208
7223
|
//#endregion
|
|
7209
7224
|
//#region node_modules/mdast-util-to-markdown/lib/handle/root.js
|
|
7210
|
-
function
|
|
7225
|
+
function pl(e, t, n, r) {
|
|
7211
7226
|
return (e.children.some(function(e) {
|
|
7212
|
-
return
|
|
7227
|
+
return fl(e);
|
|
7213
7228
|
}) ? n.containerPhrasing : n.containerFlow).call(n, e, r);
|
|
7214
7229
|
}
|
|
7215
7230
|
//#endregion
|
|
7216
7231
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-strong.js
|
|
7217
|
-
function
|
|
7232
|
+
function ml(e) {
|
|
7218
7233
|
let t = e.options.strong || "*";
|
|
7219
7234
|
if (t !== "*" && t !== "_") throw Error("Cannot serialize strong with `" + t + "` for `options.strong`, expected `*`, or `_`");
|
|
7220
7235
|
return t;
|
|
7221
7236
|
}
|
|
7222
7237
|
//#endregion
|
|
7223
7238
|
//#region node_modules/mdast-util-to-markdown/lib/handle/strong.js
|
|
7224
|
-
|
|
7225
|
-
function
|
|
7226
|
-
let i =
|
|
7239
|
+
hl.peek = gl;
|
|
7240
|
+
function hl(e, t, n, r) {
|
|
7241
|
+
let i = ml(n), a = n.enter("strong"), o = n.createTracker(r), s = o.move(i + i), c = o.move(n.containerPhrasing(e, {
|
|
7227
7242
|
after: i,
|
|
7228
7243
|
before: s,
|
|
7229
7244
|
...o.current()
|
|
7230
|
-
})), l = c.charCodeAt(0), u =
|
|
7231
|
-
u.inside && (c =
|
|
7232
|
-
let d = c.charCodeAt(c.length - 1), f =
|
|
7233
|
-
f.inside && (c = c.slice(0, -1) +
|
|
7245
|
+
})), l = c.charCodeAt(0), u = Bc(r.before.charCodeAt(r.before.length - 1), l, i);
|
|
7246
|
+
u.inside && (c = zc(l) + c.slice(1));
|
|
7247
|
+
let d = c.charCodeAt(c.length - 1), f = Bc(r.after.charCodeAt(0), d, i);
|
|
7248
|
+
f.inside && (c = c.slice(0, -1) + zc(d));
|
|
7234
7249
|
let p = o.move(i + i);
|
|
7235
7250
|
return a(), n.attentionEncodeSurroundingInfo = {
|
|
7236
7251
|
after: f.outside,
|
|
7237
7252
|
before: u.outside
|
|
7238
7253
|
}, s + c + p;
|
|
7239
7254
|
}
|
|
7240
|
-
function
|
|
7255
|
+
function gl(e, t, n) {
|
|
7241
7256
|
return n.options.strong || "*";
|
|
7242
7257
|
}
|
|
7243
7258
|
//#endregion
|
|
7244
7259
|
//#region node_modules/mdast-util-to-markdown/lib/handle/text.js
|
|
7245
|
-
function
|
|
7260
|
+
function _l(e, t, n, r) {
|
|
7246
7261
|
return n.safe(e.value, r);
|
|
7247
7262
|
}
|
|
7248
7263
|
//#endregion
|
|
7249
7264
|
//#region node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js
|
|
7250
|
-
function
|
|
7265
|
+
function vl(e) {
|
|
7251
7266
|
let t = e.options.ruleRepetition || 3;
|
|
7252
7267
|
if (t < 3) throw Error("Cannot serialize rules with repetition `" + t + "` for `options.ruleRepetition`, expected `3` or more");
|
|
7253
7268
|
return t;
|
|
7254
7269
|
}
|
|
7255
7270
|
//#endregion
|
|
7256
7271
|
//#region node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
|
|
7257
|
-
function
|
|
7258
|
-
let r = (
|
|
7272
|
+
function yl(e, t, n) {
|
|
7273
|
+
let r = (sl(n) + (n.options.ruleSpaces ? " " : "")).repeat(vl(n));
|
|
7259
7274
|
return n.options.ruleSpaces ? r.slice(0, -1) : r;
|
|
7260
7275
|
}
|
|
7261
7276
|
//#endregion
|
|
7262
7277
|
//#region node_modules/mdast-util-to-markdown/lib/handle/index.js
|
|
7263
|
-
var
|
|
7264
|
-
blockquote:
|
|
7265
|
-
break:
|
|
7266
|
-
code:
|
|
7267
|
-
definition:
|
|
7268
|
-
emphasis:
|
|
7269
|
-
hardBreak:
|
|
7270
|
-
heading:
|
|
7271
|
-
html:
|
|
7272
|
-
image:
|
|
7273
|
-
imageReference:
|
|
7274
|
-
inlineCode:
|
|
7275
|
-
link:
|
|
7276
|
-
linkReference:
|
|
7277
|
-
list:
|
|
7278
|
-
listItem:
|
|
7279
|
-
paragraph:
|
|
7280
|
-
root:
|
|
7281
|
-
strong:
|
|
7282
|
-
text:
|
|
7283
|
-
thematicBreak:
|
|
7278
|
+
var bl = {
|
|
7279
|
+
blockquote: Ec,
|
|
7280
|
+
break: Ac,
|
|
7281
|
+
code: Pc,
|
|
7282
|
+
definition: Lc,
|
|
7283
|
+
emphasis: Vc,
|
|
7284
|
+
hardBreak: Ac,
|
|
7285
|
+
heading: Wc,
|
|
7286
|
+
html: Gc,
|
|
7287
|
+
image: qc,
|
|
7288
|
+
imageReference: Yc,
|
|
7289
|
+
inlineCode: Zc,
|
|
7290
|
+
link: el,
|
|
7291
|
+
linkReference: nl,
|
|
7292
|
+
list: cl,
|
|
7293
|
+
listItem: ul,
|
|
7294
|
+
paragraph: dl,
|
|
7295
|
+
root: pl,
|
|
7296
|
+
strong: hl,
|
|
7297
|
+
text: _l,
|
|
7298
|
+
thematicBreak: yl
|
|
7284
7299
|
};
|
|
7285
7300
|
//#endregion
|
|
7286
7301
|
//#region node_modules/mdast-util-gfm-table/lib/index.js
|
|
7287
|
-
function
|
|
7302
|
+
function xl() {
|
|
7288
7303
|
return {
|
|
7289
7304
|
enter: {
|
|
7290
|
-
table:
|
|
7291
|
-
tableData:
|
|
7292
|
-
tableHeader:
|
|
7293
|
-
tableRow:
|
|
7305
|
+
table: Sl,
|
|
7306
|
+
tableData: El,
|
|
7307
|
+
tableHeader: El,
|
|
7308
|
+
tableRow: wl
|
|
7294
7309
|
},
|
|
7295
7310
|
exit: {
|
|
7296
|
-
codeText:
|
|
7297
|
-
table:
|
|
7298
|
-
tableData:
|
|
7299
|
-
tableHeader:
|
|
7300
|
-
tableRow:
|
|
7311
|
+
codeText: Dl,
|
|
7312
|
+
table: Cl,
|
|
7313
|
+
tableData: Tl,
|
|
7314
|
+
tableHeader: Tl,
|
|
7315
|
+
tableRow: Tl
|
|
7301
7316
|
}
|
|
7302
7317
|
};
|
|
7303
7318
|
}
|
|
7304
|
-
function
|
|
7319
|
+
function Sl(e) {
|
|
7305
7320
|
let t = e._align;
|
|
7306
7321
|
this.enter({
|
|
7307
7322
|
type: "table",
|
|
@@ -7311,34 +7326,34 @@ function yl(e) {
|
|
|
7311
7326
|
children: []
|
|
7312
7327
|
}, e), this.data.inTable = !0;
|
|
7313
7328
|
}
|
|
7314
|
-
function
|
|
7329
|
+
function Cl(e) {
|
|
7315
7330
|
this.exit(e), this.data.inTable = void 0;
|
|
7316
7331
|
}
|
|
7317
|
-
function
|
|
7332
|
+
function wl(e) {
|
|
7318
7333
|
this.enter({
|
|
7319
7334
|
type: "tableRow",
|
|
7320
7335
|
children: []
|
|
7321
7336
|
}, e);
|
|
7322
7337
|
}
|
|
7323
|
-
function
|
|
7338
|
+
function Tl(e) {
|
|
7324
7339
|
this.exit(e);
|
|
7325
7340
|
}
|
|
7326
|
-
function
|
|
7341
|
+
function El(e) {
|
|
7327
7342
|
this.enter({
|
|
7328
7343
|
type: "tableCell",
|
|
7329
7344
|
children: []
|
|
7330
7345
|
}, e);
|
|
7331
7346
|
}
|
|
7332
|
-
function
|
|
7347
|
+
function Dl(e) {
|
|
7333
7348
|
let t = this.resume();
|
|
7334
|
-
this.data.inTable && (t = t.replace(/\\([\\|])/g,
|
|
7349
|
+
this.data.inTable && (t = t.replace(/\\([\\|])/g, Ol));
|
|
7335
7350
|
let n = this.stack[this.stack.length - 1];
|
|
7336
7351
|
n.type, n.value = t, this.exit(e);
|
|
7337
7352
|
}
|
|
7338
|
-
function
|
|
7353
|
+
function Ol(e, t) {
|
|
7339
7354
|
return t === "|" ? t : e;
|
|
7340
7355
|
}
|
|
7341
|
-
function
|
|
7356
|
+
function kl(e) {
|
|
7342
7357
|
let t = e || {}, n = t.tableCellPadding, r = t.tablePipeAlign, i = t.stringLength, a = n ? " " : "|";
|
|
7343
7358
|
return {
|
|
7344
7359
|
unsafe: [
|
|
@@ -7393,7 +7408,7 @@ function El(e) {
|
|
|
7393
7408
|
return o(), i(), s;
|
|
7394
7409
|
}
|
|
7395
7410
|
function l(e, t) {
|
|
7396
|
-
return
|
|
7411
|
+
return Cc(e, {
|
|
7397
7412
|
align: t,
|
|
7398
7413
|
alignDelimiters: r,
|
|
7399
7414
|
padding: n,
|
|
@@ -7411,34 +7426,34 @@ function El(e) {
|
|
|
7411
7426
|
return o(), a;
|
|
7412
7427
|
}
|
|
7413
7428
|
function f(e, t, n) {
|
|
7414
|
-
let r =
|
|
7429
|
+
let r = bl.inlineCode(e, t, n);
|
|
7415
7430
|
return n.stack.includes("tableCell") && (r = r.replace(/\|/g, "\\$&")), r;
|
|
7416
7431
|
}
|
|
7417
7432
|
}
|
|
7418
7433
|
//#endregion
|
|
7419
7434
|
//#region node_modules/mdast-util-gfm-task-list-item/lib/index.js
|
|
7420
|
-
function
|
|
7435
|
+
function Al() {
|
|
7421
7436
|
return { exit: {
|
|
7422
|
-
taskListCheckValueChecked:
|
|
7423
|
-
taskListCheckValueUnchecked:
|
|
7424
|
-
paragraph:
|
|
7437
|
+
taskListCheckValueChecked: Ml,
|
|
7438
|
+
taskListCheckValueUnchecked: Ml,
|
|
7439
|
+
paragraph: Nl
|
|
7425
7440
|
} };
|
|
7426
7441
|
}
|
|
7427
|
-
function
|
|
7442
|
+
function jl() {
|
|
7428
7443
|
return {
|
|
7429
7444
|
unsafe: [{
|
|
7430
7445
|
atBreak: !0,
|
|
7431
7446
|
character: "-",
|
|
7432
7447
|
after: "[:|-]"
|
|
7433
7448
|
}],
|
|
7434
|
-
handlers: { listItem:
|
|
7449
|
+
handlers: { listItem: Pl }
|
|
7435
7450
|
};
|
|
7436
7451
|
}
|
|
7437
|
-
function
|
|
7452
|
+
function Ml(e) {
|
|
7438
7453
|
let t = this.stack[this.stack.length - 2];
|
|
7439
7454
|
t.type, t.checked = e.type === "taskListCheckValueChecked";
|
|
7440
7455
|
}
|
|
7441
|
-
function
|
|
7456
|
+
function Nl(e) {
|
|
7442
7457
|
let t = this.stack[this.stack.length - 2];
|
|
7443
7458
|
if (t && t.type === "listItem" && typeof t.checked == "boolean") {
|
|
7444
7459
|
let e = this.stack[this.stack.length - 1];
|
|
@@ -7458,10 +7473,10 @@ function Al(e) {
|
|
|
7458
7473
|
}
|
|
7459
7474
|
this.exit(e);
|
|
7460
7475
|
}
|
|
7461
|
-
function
|
|
7476
|
+
function Pl(e, t, n, r) {
|
|
7462
7477
|
let i = e.children[0], a = typeof e.checked == "boolean" && i && i.type === "paragraph", o = "[" + (e.checked ? "x" : " ") + "] ", s = n.createTracker(r);
|
|
7463
7478
|
a && s.move(o);
|
|
7464
|
-
let c =
|
|
7479
|
+
let c = bl.listItem(e, t, n, {
|
|
7465
7480
|
...r,
|
|
7466
7481
|
...s.current()
|
|
7467
7482
|
});
|
|
@@ -7472,70 +7487,70 @@ function jl(e, t, n, r) {
|
|
|
7472
7487
|
}
|
|
7473
7488
|
//#endregion
|
|
7474
7489
|
//#region node_modules/mdast-util-gfm/lib/index.js
|
|
7475
|
-
function
|
|
7490
|
+
function Fl() {
|
|
7476
7491
|
return [
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7492
|
+
Vs(),
|
|
7493
|
+
dc(),
|
|
7494
|
+
gc(),
|
|
7495
|
+
xl(),
|
|
7496
|
+
Al()
|
|
7482
7497
|
];
|
|
7483
7498
|
}
|
|
7484
|
-
function
|
|
7499
|
+
function Il(e) {
|
|
7485
7500
|
return { extensions: [
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7501
|
+
Hs(),
|
|
7502
|
+
fc(e),
|
|
7503
|
+
_c(),
|
|
7504
|
+
kl(e),
|
|
7505
|
+
jl()
|
|
7491
7506
|
] };
|
|
7492
7507
|
}
|
|
7493
7508
|
//#endregion
|
|
7494
7509
|
//#region node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
7495
|
-
var
|
|
7496
|
-
tokenize: Kl,
|
|
7497
|
-
partial: !0
|
|
7498
|
-
}, Fl = {
|
|
7499
|
-
tokenize: ql,
|
|
7500
|
-
partial: !0
|
|
7501
|
-
}, Il = {
|
|
7502
|
-
tokenize: Jl,
|
|
7503
|
-
partial: !0
|
|
7504
|
-
}, Ll = {
|
|
7510
|
+
var Ll = {
|
|
7505
7511
|
tokenize: Yl,
|
|
7506
7512
|
partial: !0
|
|
7507
7513
|
}, Rl = {
|
|
7508
7514
|
tokenize: Xl,
|
|
7509
7515
|
partial: !0
|
|
7510
7516
|
}, zl = {
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
previous: Zl
|
|
7517
|
+
tokenize: Zl,
|
|
7518
|
+
partial: !0
|
|
7514
7519
|
}, Bl = {
|
|
7520
|
+
tokenize: Ql,
|
|
7521
|
+
partial: !0
|
|
7522
|
+
}, Vl = {
|
|
7523
|
+
tokenize: $l,
|
|
7524
|
+
partial: !0
|
|
7525
|
+
}, Hl = {
|
|
7526
|
+
name: "wwwAutolink",
|
|
7527
|
+
tokenize: ql,
|
|
7528
|
+
previous: eu
|
|
7529
|
+
}, Ul = {
|
|
7515
7530
|
name: "protocolAutolink",
|
|
7516
|
-
tokenize:
|
|
7517
|
-
previous:
|
|
7531
|
+
tokenize: Jl,
|
|
7532
|
+
previous: tu
|
|
7518
7533
|
}, Q = {
|
|
7519
7534
|
name: "emailAutolink",
|
|
7520
|
-
tokenize:
|
|
7521
|
-
previous:
|
|
7535
|
+
tokenize: Kl,
|
|
7536
|
+
previous: nu
|
|
7522
7537
|
}, $ = {};
|
|
7523
|
-
function
|
|
7538
|
+
function Wl() {
|
|
7524
7539
|
return { text: $ };
|
|
7525
7540
|
}
|
|
7526
|
-
for (var
|
|
7527
|
-
$[43] = Q, $[45] = Q, $[46] = Q, $[95] = Q, $[72] = [Q,
|
|
7528
|
-
function
|
|
7541
|
+
for (var Gl = 48; Gl < 123;) $[Gl] = Q, Gl++, Gl === 58 ? Gl = 65 : Gl === 91 && (Gl = 97);
|
|
7542
|
+
$[43] = Q, $[45] = Q, $[46] = Q, $[95] = Q, $[72] = [Q, Ul], $[104] = [Q, Ul], $[87] = [Q, Hl], $[119] = [Q, Hl];
|
|
7543
|
+
function Kl(e, t, n) {
|
|
7529
7544
|
let r = this, i, a;
|
|
7530
7545
|
return o;
|
|
7531
7546
|
function o(t) {
|
|
7532
|
-
return !
|
|
7547
|
+
return !ru(t) || !nu.call(r, r.previous) || iu(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), s(t));
|
|
7533
7548
|
}
|
|
7534
7549
|
function s(t) {
|
|
7535
|
-
return
|
|
7550
|
+
return ru(t) ? (e.consume(t), s) : t === 64 ? (e.consume(t), c) : n(t);
|
|
7536
7551
|
}
|
|
7537
7552
|
function c(t) {
|
|
7538
|
-
return t === 46 ? e.check(
|
|
7553
|
+
return t === 46 ? e.check(Vl, u, l)(t) : t === 45 || t === 95 || U(t) ? (a = !0, e.consume(t), c) : u(t);
|
|
7539
7554
|
}
|
|
7540
7555
|
function l(t) {
|
|
7541
7556
|
return e.consume(t), i = !0, c;
|
|
@@ -7544,21 +7559,21 @@ function Ul(e, t, n) {
|
|
|
7544
7559
|
return a && i && H(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(o)) : n(o);
|
|
7545
7560
|
}
|
|
7546
7561
|
}
|
|
7547
|
-
function
|
|
7562
|
+
function ql(e, t, n) {
|
|
7548
7563
|
let r = this;
|
|
7549
7564
|
return i;
|
|
7550
7565
|
function i(t) {
|
|
7551
|
-
return t !== 87 && t !== 119 || !
|
|
7566
|
+
return t !== 87 && t !== 119 || !eu.call(r, r.previous) || iu(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(Ll, e.attempt(Rl, e.attempt(zl, a), n), n)(t));
|
|
7552
7567
|
}
|
|
7553
7568
|
function a(n) {
|
|
7554
7569
|
return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(n);
|
|
7555
7570
|
}
|
|
7556
7571
|
}
|
|
7557
|
-
function
|
|
7572
|
+
function Jl(e, t, n) {
|
|
7558
7573
|
let r = this, i = "", a = !1;
|
|
7559
7574
|
return o;
|
|
7560
7575
|
function o(t) {
|
|
7561
|
-
return (t === 72 || t === 104) &&
|
|
7576
|
+
return (t === 72 || t === 104) && tu.call(r, r.previous) && !iu(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), i += String.fromCodePoint(t), e.consume(t), s) : n(t);
|
|
7562
7577
|
}
|
|
7563
7578
|
function s(t) {
|
|
7564
7579
|
if (H(t) && i.length < 5) return i += String.fromCodePoint(t), e.consume(t), s;
|
|
@@ -7572,13 +7587,13 @@ function Gl(e, t, n) {
|
|
|
7572
7587
|
return t === 47 ? (e.consume(t), a ? l : (a = !0, c)) : n(t);
|
|
7573
7588
|
}
|
|
7574
7589
|
function l(t) {
|
|
7575
|
-
return t === null || Ct(t) || G(t) || Ot(t) || Dt(t) ? n(t) : e.attempt(
|
|
7590
|
+
return t === null || Ct(t) || G(t) || Ot(t) || Dt(t) ? n(t) : e.attempt(Rl, e.attempt(zl, u), n)(t);
|
|
7576
7591
|
}
|
|
7577
7592
|
function u(n) {
|
|
7578
7593
|
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(n);
|
|
7579
7594
|
}
|
|
7580
7595
|
}
|
|
7581
|
-
function
|
|
7596
|
+
function Yl(e, t, n) {
|
|
7582
7597
|
let r = 0;
|
|
7583
7598
|
return i;
|
|
7584
7599
|
function i(t) {
|
|
@@ -7588,11 +7603,11 @@ function Kl(e, t, n) {
|
|
|
7588
7603
|
return e === null ? n(e) : t(e);
|
|
7589
7604
|
}
|
|
7590
7605
|
}
|
|
7591
|
-
function
|
|
7606
|
+
function Xl(e, t, n) {
|
|
7592
7607
|
let r, i, a;
|
|
7593
7608
|
return o;
|
|
7594
7609
|
function o(t) {
|
|
7595
|
-
return t === 46 || t === 95 ? e.check(
|
|
7610
|
+
return t === 46 || t === 95 ? e.check(Bl, c, s)(t) : t === null || G(t) || Ot(t) || t !== 45 && Dt(t) ? c(t) : (a = !0, e.consume(t), o);
|
|
7596
7611
|
}
|
|
7597
7612
|
function s(t) {
|
|
7598
7613
|
return t === 95 ? r = !0 : (i = r, r = void 0), e.consume(t), o;
|
|
@@ -7601,17 +7616,17 @@ function ql(e, t, n) {
|
|
|
7601
7616
|
return i || r || !a ? n(e) : t(e);
|
|
7602
7617
|
}
|
|
7603
7618
|
}
|
|
7604
|
-
function
|
|
7619
|
+
function Zl(e, t) {
|
|
7605
7620
|
let n = 0, r = 0;
|
|
7606
7621
|
return i;
|
|
7607
7622
|
function i(o) {
|
|
7608
|
-
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(
|
|
7623
|
+
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(Bl, t, a)(o) : o === null || G(o) || Ot(o) ? t(o) : (e.consume(o), i);
|
|
7609
7624
|
}
|
|
7610
7625
|
function a(t) {
|
|
7611
7626
|
return t === 41 && r++, e.consume(t), i;
|
|
7612
7627
|
}
|
|
7613
7628
|
}
|
|
7614
|
-
function
|
|
7629
|
+
function Ql(e, t, n) {
|
|
7615
7630
|
return r;
|
|
7616
7631
|
function r(o) {
|
|
7617
7632
|
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 || G(o) || Ot(o) ? t(o) : n(o);
|
|
@@ -7626,7 +7641,7 @@ function Yl(e, t, n) {
|
|
|
7626
7641
|
return t === 59 ? (e.consume(t), r) : H(t) ? (e.consume(t), o) : n(t);
|
|
7627
7642
|
}
|
|
7628
7643
|
}
|
|
7629
|
-
function
|
|
7644
|
+
function $l(e, t, n) {
|
|
7630
7645
|
return r;
|
|
7631
7646
|
function r(t) {
|
|
7632
7647
|
return e.consume(t), i;
|
|
@@ -7635,19 +7650,19 @@ function Xl(e, t, n) {
|
|
|
7635
7650
|
return U(e) ? n(e) : t(e);
|
|
7636
7651
|
}
|
|
7637
7652
|
}
|
|
7638
|
-
function
|
|
7653
|
+
function eu(e) {
|
|
7639
7654
|
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || G(e);
|
|
7640
7655
|
}
|
|
7641
|
-
function
|
|
7656
|
+
function tu(e) {
|
|
7642
7657
|
return !H(e);
|
|
7643
7658
|
}
|
|
7644
|
-
function
|
|
7645
|
-
return !(e === 47 ||
|
|
7659
|
+
function nu(e) {
|
|
7660
|
+
return !(e === 47 || ru(e));
|
|
7646
7661
|
}
|
|
7647
|
-
function
|
|
7662
|
+
function ru(e) {
|
|
7648
7663
|
return e === 43 || e === 45 || e === 46 || e === 95 || U(e);
|
|
7649
7664
|
}
|
|
7650
|
-
function
|
|
7665
|
+
function iu(e) {
|
|
7651
7666
|
let t = e.length, n = !1;
|
|
7652
7667
|
for (; t--;) {
|
|
7653
7668
|
let r = e[t][1];
|
|
@@ -7664,33 +7679,33 @@ function tu(e) {
|
|
|
7664
7679
|
}
|
|
7665
7680
|
//#endregion
|
|
7666
7681
|
//#region node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
7667
|
-
var
|
|
7668
|
-
tokenize:
|
|
7682
|
+
var au = {
|
|
7683
|
+
tokenize: pu,
|
|
7669
7684
|
partial: !0
|
|
7670
7685
|
};
|
|
7671
|
-
function
|
|
7686
|
+
function ou() {
|
|
7672
7687
|
return {
|
|
7673
7688
|
document: { 91: {
|
|
7674
7689
|
name: "gfmFootnoteDefinition",
|
|
7675
|
-
tokenize:
|
|
7676
|
-
continuation: { tokenize:
|
|
7677
|
-
exit:
|
|
7690
|
+
tokenize: uu,
|
|
7691
|
+
continuation: { tokenize: du },
|
|
7692
|
+
exit: fu
|
|
7678
7693
|
} },
|
|
7679
7694
|
text: {
|
|
7680
7695
|
91: {
|
|
7681
7696
|
name: "gfmFootnoteCall",
|
|
7682
|
-
tokenize:
|
|
7697
|
+
tokenize: lu
|
|
7683
7698
|
},
|
|
7684
7699
|
93: {
|
|
7685
7700
|
name: "gfmPotentialFootnoteCall",
|
|
7686
7701
|
add: "after",
|
|
7687
|
-
tokenize:
|
|
7688
|
-
resolveTo:
|
|
7702
|
+
tokenize: su,
|
|
7703
|
+
resolveTo: cu
|
|
7689
7704
|
}
|
|
7690
7705
|
}
|
|
7691
7706
|
};
|
|
7692
7707
|
}
|
|
7693
|
-
function
|
|
7708
|
+
function su(e, t, n) {
|
|
7694
7709
|
let r = this, i = r.events.length, a = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), o;
|
|
7695
7710
|
for (; i--;) {
|
|
7696
7711
|
let e = r.events[i][1];
|
|
@@ -7710,7 +7725,7 @@ function iu(e, t, n) {
|
|
|
7710
7725
|
return s.codePointAt(0) !== 94 || !a.includes(s.slice(1)) ? n(i) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(i), e.exit("gfmFootnoteCallLabelMarker"), t(i));
|
|
7711
7726
|
}
|
|
7712
7727
|
}
|
|
7713
|
-
function
|
|
7728
|
+
function cu(e, t) {
|
|
7714
7729
|
let n = e.length;
|
|
7715
7730
|
for (; n--;) if (e[n][1].type === "labelImage" && e[n][0] === "enter") {
|
|
7716
7731
|
e[n][1];
|
|
@@ -7786,7 +7801,7 @@ function au(e, t) {
|
|
|
7786
7801
|
];
|
|
7787
7802
|
return e.splice(n, e.length - n + 1, ...s), e;
|
|
7788
7803
|
}
|
|
7789
|
-
function
|
|
7804
|
+
function lu(e, t, n) {
|
|
7790
7805
|
let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a = 0, o;
|
|
7791
7806
|
return s;
|
|
7792
7807
|
function s(t) {
|
|
@@ -7808,7 +7823,7 @@ function ou(e, t, n) {
|
|
|
7808
7823
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), a++, l) : l(t);
|
|
7809
7824
|
}
|
|
7810
7825
|
}
|
|
7811
|
-
function
|
|
7826
|
+
function uu(e, t, n) {
|
|
7812
7827
|
let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a, o = 0, s;
|
|
7813
7828
|
return c;
|
|
7814
7829
|
function c(t) {
|
|
@@ -7836,13 +7851,13 @@ function su(e, t, n) {
|
|
|
7836
7851
|
return t(e);
|
|
7837
7852
|
}
|
|
7838
7853
|
}
|
|
7839
|
-
function
|
|
7840
|
-
return e.check(Wt, t, e.attempt(
|
|
7854
|
+
function du(e, t, n) {
|
|
7855
|
+
return e.check(Wt, t, e.attempt(au, t, n));
|
|
7841
7856
|
}
|
|
7842
|
-
function
|
|
7857
|
+
function fu(e) {
|
|
7843
7858
|
e.exit("gfmFootnoteDefinition");
|
|
7844
7859
|
}
|
|
7845
|
-
function
|
|
7860
|
+
function pu(e, t, n) {
|
|
7846
7861
|
let r = this;
|
|
7847
7862
|
return J(e, i, "gfmFootnoteDefinitionIndent", 5);
|
|
7848
7863
|
function i(e) {
|
|
@@ -7852,7 +7867,7 @@ function uu(e, t, n) {
|
|
|
7852
7867
|
}
|
|
7853
7868
|
//#endregion
|
|
7854
7869
|
//#region node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
7855
|
-
function
|
|
7870
|
+
function mu(e) {
|
|
7856
7871
|
let t = (e || {}).singleTilde, n = {
|
|
7857
7872
|
name: "strikethrough",
|
|
7858
7873
|
tokenize: i,
|
|
@@ -7944,12 +7959,12 @@ function du(e) {
|
|
|
7944
7959
|
}
|
|
7945
7960
|
//#endregion
|
|
7946
7961
|
//#region node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
7947
|
-
var
|
|
7962
|
+
var hu = class {
|
|
7948
7963
|
constructor() {
|
|
7949
7964
|
this.map = [];
|
|
7950
7965
|
}
|
|
7951
7966
|
add(e, t, n) {
|
|
7952
|
-
|
|
7967
|
+
gu(this, e, t, n);
|
|
7953
7968
|
}
|
|
7954
7969
|
consume(e) {
|
|
7955
7970
|
/* c8 ignore next 3 -- `resolve` is never called without tables, so without edits. */
|
|
@@ -7967,7 +7982,7 @@ var fu = class {
|
|
|
7967
7982
|
this.map.length = 0;
|
|
7968
7983
|
}
|
|
7969
7984
|
};
|
|
7970
|
-
function
|
|
7985
|
+
function gu(e, t, n, r) {
|
|
7971
7986
|
let i = 0;
|
|
7972
7987
|
if (n !== 0 || r.length !== 0) {
|
|
7973
7988
|
for (; i < e.map.length;) {
|
|
@@ -7986,7 +8001,7 @@ function pu(e, t, n, r) {
|
|
|
7986
8001
|
}
|
|
7987
8002
|
//#endregion
|
|
7988
8003
|
//#region node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
7989
|
-
function
|
|
8004
|
+
function _u(e, t) {
|
|
7990
8005
|
let n = !1, r = [];
|
|
7991
8006
|
for (; t < e.length;) {
|
|
7992
8007
|
let i = e[t];
|
|
@@ -8005,14 +8020,14 @@ function mu(e, t) {
|
|
|
8005
8020
|
}
|
|
8006
8021
|
//#endregion
|
|
8007
8022
|
//#region node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
8008
|
-
function
|
|
8023
|
+
function vu() {
|
|
8009
8024
|
return { flow: { null: {
|
|
8010
8025
|
name: "table",
|
|
8011
|
-
tokenize:
|
|
8012
|
-
resolveAll:
|
|
8026
|
+
tokenize: yu,
|
|
8027
|
+
resolveAll: bu
|
|
8013
8028
|
} } };
|
|
8014
8029
|
}
|
|
8015
|
-
function
|
|
8030
|
+
function yu(e, t, n) {
|
|
8016
8031
|
let r = this, i = 0, a = 0, o;
|
|
8017
8032
|
return s;
|
|
8018
8033
|
function s(e) {
|
|
@@ -8080,7 +8095,7 @@ function gu(e, t, n) {
|
|
|
8080
8095
|
return t === 92 || t === 124 ? (e.consume(t), w) : w(t);
|
|
8081
8096
|
}
|
|
8082
8097
|
}
|
|
8083
|
-
function
|
|
8098
|
+
function bu(e, t) {
|
|
8084
8099
|
let n = -1, r = !0, i = 0, a = [
|
|
8085
8100
|
0,
|
|
8086
8101
|
0,
|
|
@@ -8091,10 +8106,10 @@ function _u(e, t) {
|
|
|
8091
8106
|
0,
|
|
8092
8107
|
0,
|
|
8093
8108
|
0
|
|
8094
|
-
], s = !1, c = 0, l, u, d, f = new
|
|
8109
|
+
], s = !1, c = 0, l, u, d, f = new hu();
|
|
8095
8110
|
for (; ++n < e.length;) {
|
|
8096
8111
|
let p = e[n], m = p[1];
|
|
8097
|
-
p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (
|
|
8112
|
+
p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (Su(f, t, c, l, u), u = void 0, c = 0), l = {
|
|
8098
8113
|
type: "table",
|
|
8099
8114
|
start: Object.assign({}, m.start),
|
|
8100
8115
|
end: Object.assign({}, m.end)
|
|
@@ -8120,32 +8135,32 @@ function _u(e, t) {
|
|
|
8120
8135
|
"enter",
|
|
8121
8136
|
u,
|
|
8122
8137
|
t
|
|
8123
|
-
]])), 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 =
|
|
8138
|
+
]])), 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 = xu(f, t, a, i, void 0, d), a = [
|
|
8124
8139
|
0,
|
|
8125
8140
|
0,
|
|
8126
8141
|
0,
|
|
8127
8142
|
0
|
|
8128
|
-
]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d =
|
|
8143
|
+
]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d = xu(f, t, a, i, void 0, d)), a = o, o = [
|
|
8129
8144
|
a[1],
|
|
8130
8145
|
n,
|
|
8131
8146
|
0,
|
|
8132
8147
|
0
|
|
8133
|
-
])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d =
|
|
8148
|
+
])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d = xu(f, t, o, i, n, d)) : (o[0] = o[1], d = xu(f, t, a, i, n, d)), i = 0) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") && (o[3] = n);
|
|
8134
8149
|
}
|
|
8135
|
-
for (c !== 0 &&
|
|
8150
|
+
for (c !== 0 && Su(f, t, c, l, u), f.consume(t.events), n = -1; ++n < t.events.length;) {
|
|
8136
8151
|
let e = t.events[n];
|
|
8137
|
-
e[0] === "enter" && e[1].type === "table" && (e[1]._align =
|
|
8152
|
+
e[0] === "enter" && e[1].type === "table" && (e[1]._align = _u(t.events, n));
|
|
8138
8153
|
}
|
|
8139
8154
|
return e;
|
|
8140
8155
|
}
|
|
8141
|
-
function
|
|
8156
|
+
function xu(e, t, n, r, i, a) {
|
|
8142
8157
|
let o = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData";
|
|
8143
|
-
n[0] !== 0 && (a.end = Object.assign({},
|
|
8158
|
+
n[0] !== 0 && (a.end = Object.assign({}, Cu(t.events, n[0])), e.add(n[0], 0, [[
|
|
8144
8159
|
"exit",
|
|
8145
8160
|
a,
|
|
8146
8161
|
t
|
|
8147
8162
|
]]));
|
|
8148
|
-
let s =
|
|
8163
|
+
let s = Cu(t.events, n[1]);
|
|
8149
8164
|
if (a = {
|
|
8150
8165
|
type: o,
|
|
8151
8166
|
start: Object.assign({}, s),
|
|
@@ -8155,7 +8170,7 @@ function vu(e, t, n, r, i, a) {
|
|
|
8155
8170
|
a,
|
|
8156
8171
|
t
|
|
8157
8172
|
]]), n[2] !== 0) {
|
|
8158
|
-
let i =
|
|
8173
|
+
let i = Cu(t.events, n[2]), a = Cu(t.events, n[3]), o = {
|
|
8159
8174
|
type: "tableContent",
|
|
8160
8175
|
start: Object.assign({}, i),
|
|
8161
8176
|
end: Object.assign({}, a)
|
|
@@ -8177,14 +8192,14 @@ function vu(e, t, n, r, i, a) {
|
|
|
8177
8192
|
t
|
|
8178
8193
|
]]);
|
|
8179
8194
|
}
|
|
8180
|
-
return i !== void 0 && (a.end = Object.assign({},
|
|
8195
|
+
return i !== void 0 && (a.end = Object.assign({}, Cu(t.events, i)), e.add(i, 0, [[
|
|
8181
8196
|
"exit",
|
|
8182
8197
|
a,
|
|
8183
8198
|
t
|
|
8184
8199
|
]]), a = void 0), a;
|
|
8185
8200
|
}
|
|
8186
|
-
function
|
|
8187
|
-
let a = [], o =
|
|
8201
|
+
function Su(e, t, n, r, i) {
|
|
8202
|
+
let a = [], o = Cu(t.events, n);
|
|
8188
8203
|
i && (i.end = Object.assign({}, o), a.push([
|
|
8189
8204
|
"exit",
|
|
8190
8205
|
i,
|
|
@@ -8195,20 +8210,20 @@ function yu(e, t, n, r, i) {
|
|
|
8195
8210
|
t
|
|
8196
8211
|
]), e.add(n + 1, 0, a);
|
|
8197
8212
|
}
|
|
8198
|
-
function
|
|
8213
|
+
function Cu(e, t) {
|
|
8199
8214
|
let n = e[t], r = n[0] === "enter" ? "start" : "end";
|
|
8200
8215
|
return n[1][r];
|
|
8201
8216
|
}
|
|
8202
8217
|
//#endregion
|
|
8203
8218
|
//#region node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
8204
|
-
var
|
|
8219
|
+
var wu = {
|
|
8205
8220
|
name: "tasklistCheck",
|
|
8206
|
-
tokenize:
|
|
8221
|
+
tokenize: Eu
|
|
8207
8222
|
};
|
|
8208
|
-
function
|
|
8209
|
-
return { text: { 91:
|
|
8223
|
+
function Tu() {
|
|
8224
|
+
return { text: { 91: wu } };
|
|
8210
8225
|
}
|
|
8211
|
-
function
|
|
8226
|
+
function Eu(e, t, n) {
|
|
8212
8227
|
let r = this;
|
|
8213
8228
|
return i;
|
|
8214
8229
|
function i(t) {
|
|
@@ -8221,10 +8236,10 @@ function Cu(e, t, n) {
|
|
|
8221
8236
|
return t === 93 ? (e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), s) : n(t);
|
|
8222
8237
|
}
|
|
8223
8238
|
function s(r) {
|
|
8224
|
-
return W(r) ? t(r) : K(r) ? e.check({ tokenize:
|
|
8239
|
+
return W(r) ? t(r) : K(r) ? e.check({ tokenize: Du }, t, n)(r) : n(r);
|
|
8225
8240
|
}
|
|
8226
8241
|
}
|
|
8227
|
-
function
|
|
8242
|
+
function Du(e, t, n) {
|
|
8228
8243
|
return J(e, r, "whitespace");
|
|
8229
8244
|
function r(e) {
|
|
8230
8245
|
return e === null ? n(e) : t(e);
|
|
@@ -8232,25 +8247,25 @@ function wu(e, t, n) {
|
|
|
8232
8247
|
}
|
|
8233
8248
|
//#endregion
|
|
8234
8249
|
//#region node_modules/micromark-extension-gfm/index.js
|
|
8235
|
-
function
|
|
8250
|
+
function Ou(e) {
|
|
8236
8251
|
return vt([
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8252
|
+
Wl(),
|
|
8253
|
+
ou(),
|
|
8254
|
+
mu(e),
|
|
8255
|
+
vu(),
|
|
8256
|
+
Tu()
|
|
8242
8257
|
]);
|
|
8243
8258
|
}
|
|
8244
8259
|
//#endregion
|
|
8245
8260
|
//#region node_modules/remark-gfm/lib/index.js
|
|
8246
|
-
var
|
|
8247
|
-
function
|
|
8248
|
-
let t = this, n = e ||
|
|
8249
|
-
i.push(
|
|
8261
|
+
var ku = {};
|
|
8262
|
+
function Au(e) {
|
|
8263
|
+
let t = this, n = e || ku, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
8264
|
+
i.push(Ou(n)), a.push(Fl()), o.push(Il(n));
|
|
8250
8265
|
}
|
|
8251
8266
|
//#endregion
|
|
8252
8267
|
//#region node_modules/mdast-util-math/lib/index.js
|
|
8253
|
-
function
|
|
8268
|
+
function ju() {
|
|
8254
8269
|
return {
|
|
8255
8270
|
enter: {
|
|
8256
8271
|
mathFlow: e,
|
|
@@ -8323,7 +8338,7 @@ function Ou() {
|
|
|
8323
8338
|
this.config.enter.data.call(this, e), this.config.exit.data.call(this, e);
|
|
8324
8339
|
}
|
|
8325
8340
|
}
|
|
8326
|
-
function
|
|
8341
|
+
function Mu(e) {
|
|
8327
8342
|
let t = (e || {}).singleDollarTextMath;
|
|
8328
8343
|
return t ??= !0, r.peek = i, {
|
|
8329
8344
|
unsafe: [
|
|
@@ -8356,7 +8371,7 @@ function ku(e) {
|
|
|
8356
8371
|
}
|
|
8357
8372
|
};
|
|
8358
8373
|
function n(e, t, n, r) {
|
|
8359
|
-
let i = e.value || "", a = n.createTracker(r), o = "$".repeat(Math.max(
|
|
8374
|
+
let i = e.value || "", a = n.createTracker(r), o = "$".repeat(Math.max(jc(i, "$") + 1, 2)), s = n.enter("mathFlow"), c = a.move(o);
|
|
8360
8375
|
if (e.meta) {
|
|
8361
8376
|
let t = n.enter("mathFlowMeta");
|
|
8362
8377
|
c += a.move(n.safe(e.meta, {
|
|
@@ -8391,15 +8406,15 @@ function ku(e) {
|
|
|
8391
8406
|
}
|
|
8392
8407
|
//#endregion
|
|
8393
8408
|
//#region node_modules/micromark-extension-math/lib/math-flow.js
|
|
8394
|
-
var
|
|
8395
|
-
tokenize:
|
|
8409
|
+
var Nu = {
|
|
8410
|
+
tokenize: Fu,
|
|
8396
8411
|
concrete: !0,
|
|
8397
8412
|
name: "mathFlow"
|
|
8398
|
-
},
|
|
8399
|
-
tokenize:
|
|
8413
|
+
}, Pu = {
|
|
8414
|
+
tokenize: Iu,
|
|
8400
8415
|
partial: !0
|
|
8401
8416
|
};
|
|
8402
|
-
function
|
|
8417
|
+
function Fu(e, t, n) {
|
|
8403
8418
|
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;
|
|
8404
8419
|
return s;
|
|
8405
8420
|
function s(t) {
|
|
@@ -8415,7 +8430,7 @@ function Mu(e, t, n) {
|
|
|
8415
8430
|
return t === null || W(t) ? (e.exit("chunkString"), e.exit("mathFlowFenceMeta"), d(t)) : t === 36 ? n(t) : (e.consume(t), u);
|
|
8416
8431
|
}
|
|
8417
8432
|
function d(n) {
|
|
8418
|
-
return e.exit("mathFlowFence"), r.interrupt ? t(n) : e.attempt(
|
|
8433
|
+
return e.exit("mathFlowFence"), r.interrupt ? t(n) : e.attempt(Pu, f, g)(n);
|
|
8419
8434
|
}
|
|
8420
8435
|
function f(t) {
|
|
8421
8436
|
return e.attempt({
|
|
@@ -8427,7 +8442,7 @@ function Mu(e, t, n) {
|
|
|
8427
8442
|
return (a ? J(e, m, "linePrefix", a + 1) : m)(t);
|
|
8428
8443
|
}
|
|
8429
8444
|
function m(t) {
|
|
8430
|
-
return t === null ? g(t) : W(t) ? e.attempt(
|
|
8445
|
+
return t === null ? g(t) : W(t) ? e.attempt(Pu, f, g)(t) : (e.enter("mathFlowValue"), h(t));
|
|
8431
8446
|
}
|
|
8432
8447
|
function h(t) {
|
|
8433
8448
|
return t === null || W(t) ? (e.exit("mathFlowValue"), m(t)) : (e.consume(t), h);
|
|
@@ -8449,7 +8464,7 @@ function Mu(e, t, n) {
|
|
|
8449
8464
|
}
|
|
8450
8465
|
}
|
|
8451
8466
|
}
|
|
8452
|
-
function
|
|
8467
|
+
function Iu(e, t, n) {
|
|
8453
8468
|
let r = this;
|
|
8454
8469
|
return i;
|
|
8455
8470
|
function i(n) {
|
|
@@ -8461,12 +8476,12 @@ function Nu(e, t, n) {
|
|
|
8461
8476
|
}
|
|
8462
8477
|
//#endregion
|
|
8463
8478
|
//#region node_modules/micromark-extension-math/lib/math-text.js
|
|
8464
|
-
function
|
|
8479
|
+
function Lu(e) {
|
|
8465
8480
|
let t = (e || {}).singleDollarTextMath;
|
|
8466
8481
|
return t ??= !0, {
|
|
8467
8482
|
tokenize: n,
|
|
8468
|
-
resolve:
|
|
8469
|
-
previous:
|
|
8483
|
+
resolve: Ru,
|
|
8484
|
+
previous: zu,
|
|
8470
8485
|
name: "mathText"
|
|
8471
8486
|
};
|
|
8472
8487
|
function n(e, n, r) {
|
|
@@ -8489,7 +8504,7 @@ function Pu(e) {
|
|
|
8489
8504
|
}
|
|
8490
8505
|
}
|
|
8491
8506
|
}
|
|
8492
|
-
function
|
|
8507
|
+
function Ru(e) {
|
|
8493
8508
|
let t = e.length - 4, n = 3, r, i;
|
|
8494
8509
|
if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
|
|
8495
8510
|
for (r = n; ++r < t;) if (e[r][1].type === "mathTextData") {
|
|
@@ -8500,25 +8515,25 @@ function Fu(e) {
|
|
|
8500
8515
|
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);
|
|
8501
8516
|
return e;
|
|
8502
8517
|
}
|
|
8503
|
-
function
|
|
8518
|
+
function zu(e) {
|
|
8504
8519
|
return e !== 36 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
8505
8520
|
}
|
|
8506
8521
|
//#endregion
|
|
8507
8522
|
//#region node_modules/micromark-extension-math/lib/syntax.js
|
|
8508
|
-
function
|
|
8523
|
+
function Bu(e) {
|
|
8509
8524
|
return {
|
|
8510
|
-
flow: { 36:
|
|
8511
|
-
text: { 36:
|
|
8525
|
+
flow: { 36: Nu },
|
|
8526
|
+
text: { 36: Lu(e) }
|
|
8512
8527
|
};
|
|
8513
8528
|
}
|
|
8514
8529
|
//#endregion
|
|
8515
8530
|
//#region node_modules/remark-math/lib/index.js
|
|
8516
|
-
var
|
|
8517
|
-
function
|
|
8518
|
-
let t = this, n = e ||
|
|
8519
|
-
i.push(
|
|
8531
|
+
var Vu = {};
|
|
8532
|
+
function Hu(e) {
|
|
8533
|
+
let t = this, n = e || Vu, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
8534
|
+
i.push(Bu(n)), a.push(ju()), o.push(Mu(n));
|
|
8520
8535
|
}
|
|
8521
8536
|
//#endregion
|
|
8522
|
-
export {
|
|
8537
|
+
export { cs as a, aa as c, gs as i, Au as n, io as o, Ls as r, ca as s, Hu as t };
|
|
8523
8538
|
|
|
8524
|
-
//# sourceMappingURL=markdown-
|
|
8539
|
+
//# sourceMappingURL=markdown-DcS6jMel.js.map
|