@markdoc/markdoc 0.5.13 → 0.6.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/README.md +29 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1228 -1143
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +1228 -1143
- package/dist/index.mjs.map +4 -4
- package/dist/react.js +1 -1
- package/dist/react.js.map +2 -2
- package/dist/src/ast/base.d.ts +1 -1
- package/dist/src/ast/base.d.ts.map +1 -1
- package/dist/src/ast/function.d.ts +1 -1
- package/dist/src/ast/function.d.ts.map +1 -1
- package/dist/src/ast/index.d.ts +2 -2
- package/dist/src/ast/index.d.ts.map +1 -1
- package/dist/src/ast/node.d.ts.map +1 -1
- package/dist/src/ast/variable.d.ts +1 -1
- package/dist/src/ast/variable.d.ts.map +1 -1
- package/dist/src/formatter.d.ts.map +1 -1
- package/dist/src/functions/index.d.ts.map +1 -1
- package/dist/src/parser.d.ts.map +1 -1
- package/dist/src/renderers/html.d.ts.map +1 -1
- package/dist/src/renderers/react/react.d.ts +3 -3
- package/dist/src/renderers/react/react.d.ts.map +1 -1
- package/dist/src/renderers/react/static.d.ts +1 -1
- package/dist/src/renderers/react/static.d.ts.map +1 -1
- package/dist/src/schema-types/class.d.ts +1 -1
- package/dist/src/schema-types/class.d.ts.map +1 -1
- package/dist/src/schema-types/conditional.d.ts +1 -1
- package/dist/src/schema-types/conditional.d.ts.map +1 -1
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/tags/conditional.d.ts +1 -1
- package/dist/src/tags/conditional.d.ts.map +1 -1
- package/dist/src/tokenizer/index.d.ts.map +1 -1
- package/dist/src/tokenizer/plugins/annotations.d.ts.map +1 -1
- package/dist/src/transformer.d.ts.map +1 -1
- package/dist/src/validator.d.ts +1 -1
- package/dist/src/validator.d.ts.map +1 -1
- package/index.ts +21 -22
- package/package.json +9 -14
- package/spec/support/matchers.d.ts +6 -4
- package/src/ast/base.test.ts +120 -0
- package/src/ast/base.ts +14 -9
- package/src/ast/function.ts +1 -1
- package/src/ast/index.ts +3 -4
- package/src/ast/node.test.ts +140 -45
- package/src/ast/node.ts +32 -13
- package/src/ast/variable.test.ts +5 -4
- package/src/ast/variable.ts +1 -1
- package/src/ast/walk.test.ts +283 -0
- package/src/formatter.test.ts +31 -3
- package/src/formatter.ts +12 -12
- package/src/functions/index.test.ts +8 -7
- package/src/functions/index.ts +1 -1
- package/src/grammar/tag.d.ts +1 -1
- package/src/grammar/tag.js +208 -285
- package/src/grammar/tag.pegjs +4 -4
- package/src/grammar/tag.test.ts +56 -52
- package/src/parser.test.ts +93 -70
- package/src/parser.ts +19 -6
- package/src/renderers/html.test.ts +56 -16
- package/src/renderers/html.ts +10 -2
- package/src/renderers/react/react.test.ts +49 -28
- package/src/renderers/react/react.ts +8 -9
- package/src/renderers/react/static.ts +7 -12
- package/src/schema-types/class.ts +1 -1
- package/src/schema-types/conditional.ts +1 -1
- package/src/schema.ts +13 -6
- package/src/tag.test.ts +2 -1
- package/src/tag.ts +1 -1
- package/src/tags/conditional.ts +4 -4
- package/src/tags/index.ts +2 -2
- package/src/tags/partial.ts +1 -1
- package/src/tokenizer/index.ts +6 -5
- package/src/tokenizer/plugins/annotations.test.ts +29 -28
- package/src/tokenizer/plugins/annotations.ts +12 -12
- package/src/tokenizer/plugins/comments.test.ts +11 -10
- package/src/tokenizer/plugins/comments.ts +2 -2
- package/src/tokenizer/plugins/frontmatter.test.ts +7 -6
- package/src/tokenizer/plugins/frontmatter.ts +2 -2
- package/src/tokenizer/plugins/link.test.ts +14 -13
- package/src/transformer.ts +7 -5
- package/src/transforms/table.test.ts +18 -17
- package/src/transforms/table.ts +1 -1
- package/src/utils.test.ts +23 -22
- package/src/utils.ts +3 -3
- package/src/validator.test.ts +60 -59
- package/src/validator.ts +43 -14
package/dist/index.mjs
CHANGED
|
@@ -188,11 +188,7 @@ var require_tag = __commonJS({
|
|
|
188
188
|
var peg$f3 = function(tag, primary, attributes, close) {
|
|
189
189
|
if (primary) {
|
|
190
190
|
attributes = attributes || [];
|
|
191
|
-
attributes.unshift({
|
|
192
|
-
type: "attribute",
|
|
193
|
-
name: "primary",
|
|
194
|
-
value: primary
|
|
195
|
-
});
|
|
191
|
+
attributes.unshift({ type: "attribute", name: "primary", value: primary });
|
|
196
192
|
}
|
|
197
193
|
const [type, nesting] = close ? ["tag", 0] : ["tag_open", 1];
|
|
198
194
|
return { type, nesting, meta: { tag, attributes } };
|
|
@@ -243,7 +239,8 @@ var require_tag = __commonJS({
|
|
|
243
239
|
return value;
|
|
244
240
|
};
|
|
245
241
|
var peg$f18 = function(prefix, head, tail) {
|
|
246
|
-
if (prefix === "@")
|
|
242
|
+
if (prefix === "@")
|
|
243
|
+
return [head, ...tail];
|
|
247
244
|
return new Variable2([head, ...tail]);
|
|
248
245
|
};
|
|
249
246
|
var peg$f19 = function() {
|
|
@@ -296,9 +293,7 @@ var require_tag = __commonJS({
|
|
|
296
293
|
var peg$result;
|
|
297
294
|
if ("startRule" in options) {
|
|
298
295
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
299
|
-
throw new Error(
|
|
300
|
-
`Can't start parsing from rule "` + options.startRule + '".'
|
|
301
|
-
);
|
|
296
|
+
throw new Error(`Can't start parsing from rule "` + options.startRule + '".');
|
|
302
297
|
}
|
|
303
298
|
peg$startRuleFunction = peg$startRuleFunctions[options.startRule];
|
|
304
299
|
}
|
|
@@ -330,12 +325,7 @@ var require_tag = __commonJS({
|
|
|
330
325
|
return { type: "literal", text: text4, ignoreCase };
|
|
331
326
|
}
|
|
332
327
|
function peg$classExpectation(parts, inverted, ignoreCase) {
|
|
333
|
-
return {
|
|
334
|
-
type: "class",
|
|
335
|
-
parts,
|
|
336
|
-
inverted,
|
|
337
|
-
ignoreCase
|
|
338
|
-
};
|
|
328
|
+
return { type: "class", parts, inverted, ignoreCase };
|
|
339
329
|
}
|
|
340
330
|
function peg$anyExpectation() {
|
|
341
331
|
return { type: "any" };
|
|
@@ -1745,31 +1735,20 @@ function resolve(value, config2 = {}) {
|
|
|
1745
1735
|
const prototype = Object.getPrototypeOf(value);
|
|
1746
1736
|
if (prototype !== Object.prototype && prototype !== null) return value;
|
|
1747
1737
|
const output = Object.create(prototype);
|
|
1748
|
-
for (const [k, v] of Object.entries(value))
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1738
|
+
for (const [k, v] of Object.entries(value)) {
|
|
1739
|
+
const resolved = resolve(v, config2);
|
|
1740
|
+
if (prototype === null || !(k in output)) output[k] = resolved;
|
|
1741
|
+
else
|
|
1742
|
+
Object.defineProperty(output, k, {
|
|
1743
|
+
value: resolved,
|
|
1744
|
+
enumerable: true,
|
|
1745
|
+
configurable: true,
|
|
1746
|
+
writable: true
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1755
1749
|
return output;
|
|
1756
1750
|
}
|
|
1757
1751
|
|
|
1758
|
-
// src/tag.ts
|
|
1759
|
-
var Tag = class {
|
|
1760
|
-
constructor(name = "div", attributes = {}, children = []) {
|
|
1761
|
-
this.$$mdtype = "Tag";
|
|
1762
|
-
this.name = name;
|
|
1763
|
-
this.attributes = attributes;
|
|
1764
|
-
this.children = children;
|
|
1765
|
-
}
|
|
1766
|
-
static {
|
|
1767
|
-
this.isTag = (tag) => {
|
|
1768
|
-
return !!(tag?.$$mdtype === "Tag");
|
|
1769
|
-
};
|
|
1770
|
-
}
|
|
1771
|
-
};
|
|
1772
|
-
|
|
1773
1752
|
// src/schema-types/class.ts
|
|
1774
1753
|
var Class = class {
|
|
1775
1754
|
validate(value, _config, key) {
|
|
@@ -1804,6 +1783,21 @@ var Id = class {
|
|
|
1804
1783
|
}
|
|
1805
1784
|
};
|
|
1806
1785
|
|
|
1786
|
+
// src/tag.ts
|
|
1787
|
+
var Tag = class {
|
|
1788
|
+
constructor(name = "div", attributes = {}, children = []) {
|
|
1789
|
+
this.$$mdtype = "Tag";
|
|
1790
|
+
this.name = name;
|
|
1791
|
+
this.attributes = attributes;
|
|
1792
|
+
this.children = children;
|
|
1793
|
+
}
|
|
1794
|
+
static {
|
|
1795
|
+
this.isTag = (tag) => {
|
|
1796
|
+
return !!(tag?.$$mdtype === "Tag");
|
|
1797
|
+
};
|
|
1798
|
+
}
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1807
1801
|
// src/utils.ts
|
|
1808
1802
|
var import_tag = __toESM(require_tag());
|
|
1809
1803
|
var OPEN = "{%";
|
|
@@ -1893,8 +1887,8 @@ function parseTags(content, firstLine = 0) {
|
|
|
1893
1887
|
const text3 = content.slice(pos, end + CLOSE.length);
|
|
1894
1888
|
const inner = content.slice(pos + OPEN.length, end);
|
|
1895
1889
|
const lineStart = content.lastIndexOf("\n", pos);
|
|
1896
|
-
const
|
|
1897
|
-
const lineContent = content.slice(lineStart,
|
|
1890
|
+
const lineEnd2 = content.indexOf("\n", end);
|
|
1891
|
+
const lineContent = content.slice(lineStart, lineEnd2);
|
|
1898
1892
|
const tag = parseTag(inner.trim(), line, pos - lineStart);
|
|
1899
1893
|
const precedingTextEnd = lineContent.trim() === text3 ? lineStart : pos;
|
|
1900
1894
|
const precedingText = content.slice(start, precedingTextEnd);
|
|
@@ -1977,7 +1971,7 @@ var transformer_default = {
|
|
|
1977
1971
|
if (schema && schema.transform instanceof Function)
|
|
1978
1972
|
return schema.transform(node2, config2);
|
|
1979
1973
|
const children = this.children(node2, config2);
|
|
1980
|
-
if (!schema
|
|
1974
|
+
if (!schema?.render) return children;
|
|
1981
1975
|
const attributes = this.attributes(node2, config2);
|
|
1982
1976
|
if (isPromise(attributes) || isPromise(children)) {
|
|
1983
1977
|
return Promise.all([attributes, children]).then(
|
|
@@ -2003,24 +1997,34 @@ var Node = class _Node {
|
|
|
2003
1997
|
this.slots = {};
|
|
2004
1998
|
}
|
|
2005
1999
|
*walk() {
|
|
2006
|
-
|
|
2000
|
+
const stack = [...Object.values(this.slots), ...this.children].reverse();
|
|
2001
|
+
while (stack.length) {
|
|
2002
|
+
const child = stack.pop();
|
|
2007
2003
|
yield child;
|
|
2008
|
-
|
|
2004
|
+
const walk = child.walk;
|
|
2005
|
+
if (walk !== defaultWalk) {
|
|
2006
|
+
yield* Reflect.apply(walk, child, []);
|
|
2007
|
+
continue;
|
|
2008
|
+
}
|
|
2009
|
+
const children = [...Object.values(child.slots), ...child.children];
|
|
2010
|
+
for (let index = children.length - 1; index >= 0; index--)
|
|
2011
|
+
stack.push(children[index]);
|
|
2009
2012
|
}
|
|
2010
2013
|
}
|
|
2011
2014
|
push(node2) {
|
|
2012
2015
|
this.children.push(node2);
|
|
2013
2016
|
}
|
|
2014
2017
|
resolve(config2 = {}) {
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2018
|
+
const node2 = new _Node();
|
|
2019
|
+
const children = this.children.map((child) => child.resolve(config2));
|
|
2020
|
+
const attributes = resolve(this.attributes, config2);
|
|
2021
|
+
const slots = Object.entries(this.slots);
|
|
2022
|
+
return Object.assign(node2, this, {
|
|
2023
|
+
children,
|
|
2024
|
+
attributes,
|
|
2025
|
+
slots: slots.length ? Object.fromEntries(
|
|
2026
|
+
slots.map(([name, slot2]) => [name, slot2.resolve(config2)])
|
|
2027
|
+
) : {}
|
|
2024
2028
|
});
|
|
2025
2029
|
}
|
|
2026
2030
|
findSchema(config2 = {}) {
|
|
@@ -2036,6 +2040,7 @@ var Node = class _Node {
|
|
|
2036
2040
|
return transformer_default.node(this, config2);
|
|
2037
2041
|
}
|
|
2038
2042
|
};
|
|
2043
|
+
var defaultWalk = Node.prototype.walk;
|
|
2039
2044
|
|
|
2040
2045
|
// src/ast/index.ts
|
|
2041
2046
|
var AstTypes = {
|
|
@@ -2152,14 +2157,14 @@ function* trimStart(g) {
|
|
|
2152
2157
|
yield* g;
|
|
2153
2158
|
}
|
|
2154
2159
|
function* escapeMarkdownCharacters(s2, characters) {
|
|
2155
|
-
yield s2.replace(characters, "\\$&").replace(
|
|
2160
|
+
yield s2.replace(characters, "\\$&").replace(/\xa0/g, " ");
|
|
2156
2161
|
}
|
|
2157
2162
|
function* formatNode(n, o = {}) {
|
|
2158
2163
|
const no = { ...o, parent: n };
|
|
2159
2164
|
const indent = SPACE.repeat(no.indent || 0);
|
|
2160
2165
|
switch (n.type) {
|
|
2161
2166
|
case "document": {
|
|
2162
|
-
if (n.attributes.frontmatter
|
|
2167
|
+
if (n.attributes.frontmatter?.length) {
|
|
2163
2168
|
yield "---" + NL + n.attributes.frontmatter + NL + "---" + NL + NL;
|
|
2164
2169
|
}
|
|
2165
2170
|
yield* trimStart(formatChildren(n, no));
|
|
@@ -2227,7 +2232,7 @@ function* formatNode(n, o = {}) {
|
|
|
2227
2232
|
if (o.parent && WRAPPING_TYPES.includes(o.parent.type)) {
|
|
2228
2233
|
yield* escapeMarkdownCharacters(content, /[*_~]/g);
|
|
2229
2234
|
} else {
|
|
2230
|
-
yield* escapeMarkdownCharacters(content,
|
|
2235
|
+
yield* escapeMarkdownCharacters(content, /^\*|(?<!#)#+\s|^>/);
|
|
2231
2236
|
}
|
|
2232
2237
|
}
|
|
2233
2238
|
break;
|
|
@@ -2390,7 +2395,7 @@ function* formatNode(n, o = {}) {
|
|
|
2390
2395
|
head.map((cell, i) => cell + SPACE.repeat(widths[i] - cell.length))
|
|
2391
2396
|
);
|
|
2392
2397
|
yield NL;
|
|
2393
|
-
yield* formatTableRow(head.map((
|
|
2398
|
+
yield* formatTableRow(head.map((_cell, i) => "-".repeat(widths[i])));
|
|
2394
2399
|
yield NL;
|
|
2395
2400
|
for (const row of rows) {
|
|
2396
2401
|
yield* formatTableRow(
|
|
@@ -2647,6 +2652,14 @@ function annotate(node2, attributes) {
|
|
|
2647
2652
|
});
|
|
2648
2653
|
continue;
|
|
2649
2654
|
}
|
|
2655
|
+
if (node2.type === "heading" && name === "level" && !(Number.isInteger(value) && value >= 1 && value <= 6)) {
|
|
2656
|
+
node2.errors.push({
|
|
2657
|
+
id: "attribute-value-invalid",
|
|
2658
|
+
level: "error",
|
|
2659
|
+
message: `Invalid heading level: '${value}'`
|
|
2660
|
+
});
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2650
2663
|
if (Object.prototype.hasOwnProperty.call(node2.attributes, name))
|
|
2651
2664
|
node2.errors.push({
|
|
2652
2665
|
id: "duplicate-attribute",
|
|
@@ -2682,7 +2695,7 @@ function handleAttrs(token, type) {
|
|
|
2682
2695
|
case "text":
|
|
2683
2696
|
case "code":
|
|
2684
2697
|
case "comment":
|
|
2685
|
-
return { content:
|
|
2698
|
+
return { content: token.meta?.variable || token.content };
|
|
2686
2699
|
case "fence": {
|
|
2687
2700
|
const [language] = token.info.split(" ", 1);
|
|
2688
2701
|
return language === "" || language === OPEN ? { content: token.content } : { content: token.content, language };
|
|
@@ -2803,358 +2816,104 @@ function parser(tokens, args) {
|
|
|
2803
2816
|
return doc;
|
|
2804
2817
|
}
|
|
2805
2818
|
|
|
2806
|
-
//
|
|
2807
|
-
var
|
|
2808
|
-
__export(
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
em: () => em,
|
|
2814
|
-
error: () => error,
|
|
2815
|
-
fence: () => fence,
|
|
2816
|
-
hardbreak: () => hardbreak,
|
|
2817
|
-
heading: () => heading,
|
|
2818
|
-
hr: () => hr,
|
|
2819
|
-
image: () => image,
|
|
2820
|
-
inline: () => inline,
|
|
2821
|
-
item: () => item,
|
|
2822
|
-
link: () => link,
|
|
2823
|
-
list: () => list,
|
|
2824
|
-
node: () => node,
|
|
2825
|
-
paragraph: () => paragraph,
|
|
2826
|
-
s: () => s,
|
|
2827
|
-
softbreak: () => softbreak,
|
|
2828
|
-
strong: () => strong,
|
|
2829
|
-
table: () => table,
|
|
2830
|
-
tbody: () => tbody,
|
|
2831
|
-
td: () => td,
|
|
2832
|
-
text: () => text,
|
|
2833
|
-
th: () => th,
|
|
2834
|
-
thead: () => thead,
|
|
2835
|
-
tr: () => tr
|
|
2819
|
+
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.mjs
|
|
2820
|
+
var mdurl_exports = {};
|
|
2821
|
+
__export(mdurl_exports, {
|
|
2822
|
+
decode: () => decode_default,
|
|
2823
|
+
encode: () => encode_default,
|
|
2824
|
+
format: () => format2,
|
|
2825
|
+
parse: () => parse_default
|
|
2836
2826
|
});
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
"tag",
|
|
2845
|
-
"fence",
|
|
2846
|
-
"blockquote",
|
|
2847
|
-
"comment",
|
|
2848
|
-
"list",
|
|
2849
|
-
"hr"
|
|
2850
|
-
],
|
|
2851
|
-
attributes: {
|
|
2852
|
-
frontmatter: { render: false }
|
|
2827
|
+
|
|
2828
|
+
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.mjs
|
|
2829
|
+
var decodeCache = {};
|
|
2830
|
+
function getDecodeCache(exclude) {
|
|
2831
|
+
let cache = decodeCache[exclude];
|
|
2832
|
+
if (cache) {
|
|
2833
|
+
return cache;
|
|
2853
2834
|
}
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
level: { type: Number, render: false, required: true }
|
|
2859
|
-
},
|
|
2860
|
-
transform(node2, config2) {
|
|
2861
|
-
return new Tag(
|
|
2862
|
-
`h${node2.attributes["level"]}`,
|
|
2863
|
-
node2.transformAttributes(config2),
|
|
2864
|
-
node2.transformChildren(config2)
|
|
2865
|
-
);
|
|
2835
|
+
cache = decodeCache[exclude] = [];
|
|
2836
|
+
for (let i = 0; i < 128; i++) {
|
|
2837
|
+
const ch = String.fromCharCode(i);
|
|
2838
|
+
cache.push(ch);
|
|
2866
2839
|
}
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
children: ["inline"]
|
|
2871
|
-
};
|
|
2872
|
-
var image = {
|
|
2873
|
-
render: "img",
|
|
2874
|
-
attributes: {
|
|
2875
|
-
src: { type: String, required: true },
|
|
2876
|
-
alt: { type: String },
|
|
2877
|
-
title: { type: String }
|
|
2878
|
-
// width/height attributes will need to be to be implemented as an extension to markdown-it
|
|
2840
|
+
for (let i = 0; i < exclude.length; i++) {
|
|
2841
|
+
const ch = exclude.charCodeAt(i);
|
|
2842
|
+
cache[ch] = "%" + ("0" + ch.toString(16).toUpperCase()).slice(-2);
|
|
2879
2843
|
}
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
language: { type: String, render: "data-language" },
|
|
2886
|
-
process: { type: Boolean, render: false, default: true }
|
|
2887
|
-
},
|
|
2888
|
-
transform(node2, config2) {
|
|
2889
|
-
const attributes = node2.transformAttributes(config2);
|
|
2890
|
-
const children = node2.children.length ? node2.transformChildren(config2) : [node2.attributes.content];
|
|
2891
|
-
return new Tag("pre", attributes, children);
|
|
2844
|
+
return cache;
|
|
2845
|
+
}
|
|
2846
|
+
function decode(string, exclude) {
|
|
2847
|
+
if (typeof exclude !== "string") {
|
|
2848
|
+
exclude = decode.defaultChars;
|
|
2892
2849
|
}
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
}
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
}
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
}
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
]
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
colspan: { type: Number, render: "colSpan" },
|
|
2961
|
-
rowspan: { type: Number, render: "rowSpan" }
|
|
2962
|
-
}
|
|
2963
|
-
};
|
|
2964
|
-
var th = {
|
|
2965
|
-
render: "th",
|
|
2966
|
-
attributes: {
|
|
2967
|
-
width: { type: String },
|
|
2968
|
-
align: { type: String },
|
|
2969
|
-
colspan: { type: Number, render: "colSpan" },
|
|
2970
|
-
rowspan: { type: Number, render: "rowSpan" }
|
|
2971
|
-
}
|
|
2972
|
-
};
|
|
2973
|
-
var tr = {
|
|
2974
|
-
render: "tr",
|
|
2975
|
-
children: ["th", "td"]
|
|
2976
|
-
};
|
|
2977
|
-
var tbody = {
|
|
2978
|
-
render: "tbody",
|
|
2979
|
-
children: ["tr", "tag"]
|
|
2980
|
-
};
|
|
2981
|
-
var thead = {
|
|
2982
|
-
render: "thead",
|
|
2983
|
-
children: ["tr"]
|
|
2984
|
-
};
|
|
2985
|
-
var strong = {
|
|
2986
|
-
render: "strong",
|
|
2987
|
-
children: ["em", "s", "link", "code", "text", "tag"],
|
|
2988
|
-
attributes: {
|
|
2989
|
-
marker: { type: String, render: false }
|
|
2990
|
-
}
|
|
2991
|
-
};
|
|
2992
|
-
var em = {
|
|
2993
|
-
render: "em",
|
|
2994
|
-
children: ["strong", "s", "link", "code", "text", "tag"],
|
|
2995
|
-
attributes: {
|
|
2996
|
-
marker: { type: String, render: false }
|
|
2997
|
-
}
|
|
2998
|
-
};
|
|
2999
|
-
var s = {
|
|
3000
|
-
render: "s",
|
|
3001
|
-
children: ["strong", "em", "link", "code", "text", "tag"]
|
|
3002
|
-
};
|
|
3003
|
-
var inline = {
|
|
3004
|
-
children: [
|
|
3005
|
-
"strong",
|
|
3006
|
-
"em",
|
|
3007
|
-
"s",
|
|
3008
|
-
"code",
|
|
3009
|
-
"text",
|
|
3010
|
-
"tag",
|
|
3011
|
-
"link",
|
|
3012
|
-
"image",
|
|
3013
|
-
"hardbreak",
|
|
3014
|
-
"softbreak",
|
|
3015
|
-
"comment"
|
|
3016
|
-
]
|
|
3017
|
-
};
|
|
3018
|
-
var link = {
|
|
3019
|
-
render: "a",
|
|
3020
|
-
children: ["strong", "em", "s", "code", "text", "tag"],
|
|
3021
|
-
attributes: {
|
|
3022
|
-
href: { type: String, required: true },
|
|
3023
|
-
title: { type: String }
|
|
3024
|
-
}
|
|
3025
|
-
};
|
|
3026
|
-
var code = {
|
|
3027
|
-
render: "code",
|
|
3028
|
-
attributes: {
|
|
3029
|
-
content: { type: String, render: false, required: true }
|
|
3030
|
-
},
|
|
3031
|
-
transform(node2, config2) {
|
|
3032
|
-
const attributes = node2.transformAttributes(config2);
|
|
3033
|
-
return new Tag("code", attributes, [node2.attributes.content]);
|
|
3034
|
-
}
|
|
3035
|
-
};
|
|
3036
|
-
var text = {
|
|
3037
|
-
attributes: {
|
|
3038
|
-
content: { type: String, required: true }
|
|
3039
|
-
},
|
|
3040
|
-
transform(node2) {
|
|
3041
|
-
return node2.attributes.content;
|
|
3042
|
-
}
|
|
3043
|
-
};
|
|
3044
|
-
var hardbreak = {
|
|
3045
|
-
render: "br"
|
|
3046
|
-
};
|
|
3047
|
-
var softbreak = {
|
|
3048
|
-
transform() {
|
|
3049
|
-
return " ";
|
|
3050
|
-
}
|
|
3051
|
-
};
|
|
3052
|
-
var comment = {
|
|
3053
|
-
attributes: {
|
|
3054
|
-
content: { type: String, required: true }
|
|
3055
|
-
}
|
|
3056
|
-
};
|
|
3057
|
-
var error = {};
|
|
3058
|
-
var node = {};
|
|
3059
|
-
|
|
3060
|
-
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.mjs
|
|
3061
|
-
var mdurl_exports = {};
|
|
3062
|
-
__export(mdurl_exports, {
|
|
3063
|
-
decode: () => decode_default,
|
|
3064
|
-
encode: () => encode_default,
|
|
3065
|
-
format: () => format2,
|
|
3066
|
-
parse: () => parse_default
|
|
3067
|
-
});
|
|
3068
|
-
|
|
3069
|
-
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.mjs
|
|
3070
|
-
var decodeCache = {};
|
|
3071
|
-
function getDecodeCache(exclude) {
|
|
3072
|
-
let cache = decodeCache[exclude];
|
|
3073
|
-
if (cache) {
|
|
3074
|
-
return cache;
|
|
3075
|
-
}
|
|
3076
|
-
cache = decodeCache[exclude] = [];
|
|
3077
|
-
for (let i = 0; i < 128; i++) {
|
|
3078
|
-
const ch = String.fromCharCode(i);
|
|
3079
|
-
cache.push(ch);
|
|
3080
|
-
}
|
|
3081
|
-
for (let i = 0; i < exclude.length; i++) {
|
|
3082
|
-
const ch = exclude.charCodeAt(i);
|
|
3083
|
-
cache[ch] = "%" + ("0" + ch.toString(16).toUpperCase()).slice(-2);
|
|
3084
|
-
}
|
|
3085
|
-
return cache;
|
|
3086
|
-
}
|
|
3087
|
-
function decode(string, exclude) {
|
|
3088
|
-
if (typeof exclude !== "string") {
|
|
3089
|
-
exclude = decode.defaultChars;
|
|
3090
|
-
}
|
|
3091
|
-
const cache = getDecodeCache(exclude);
|
|
3092
|
-
return string.replace(/(%[a-f0-9]{2})+/gi, function(seq) {
|
|
3093
|
-
let result = "";
|
|
3094
|
-
for (let i = 0, l = seq.length; i < l; i += 3) {
|
|
3095
|
-
const b1 = parseInt(seq.slice(i + 1, i + 3), 16);
|
|
3096
|
-
if (b1 < 128) {
|
|
3097
|
-
result += cache[b1];
|
|
3098
|
-
continue;
|
|
3099
|
-
}
|
|
3100
|
-
if ((b1 & 224) === 192 && i + 3 < l) {
|
|
3101
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
3102
|
-
if ((b2 & 192) === 128) {
|
|
3103
|
-
const chr = b1 << 6 & 1984 | b2 & 63;
|
|
3104
|
-
if (chr < 128) {
|
|
3105
|
-
result += "\uFFFD\uFFFD";
|
|
3106
|
-
} else {
|
|
3107
|
-
result += String.fromCharCode(chr);
|
|
3108
|
-
}
|
|
3109
|
-
i += 3;
|
|
3110
|
-
continue;
|
|
3111
|
-
}
|
|
3112
|
-
}
|
|
3113
|
-
if ((b1 & 240) === 224 && i + 6 < l) {
|
|
3114
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
3115
|
-
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
3116
|
-
if ((b2 & 192) === 128 && (b3 & 192) === 128) {
|
|
3117
|
-
const chr = b1 << 12 & 61440 | b2 << 6 & 4032 | b3 & 63;
|
|
3118
|
-
if (chr < 2048 || chr >= 55296 && chr <= 57343) {
|
|
3119
|
-
result += "\uFFFD\uFFFD\uFFFD";
|
|
3120
|
-
} else {
|
|
3121
|
-
result += String.fromCharCode(chr);
|
|
3122
|
-
}
|
|
3123
|
-
i += 6;
|
|
3124
|
-
continue;
|
|
3125
|
-
}
|
|
3126
|
-
}
|
|
3127
|
-
if ((b1 & 248) === 240 && i + 9 < l) {
|
|
3128
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
3129
|
-
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
3130
|
-
const b4 = parseInt(seq.slice(i + 10, i + 12), 16);
|
|
3131
|
-
if ((b2 & 192) === 128 && (b3 & 192) === 128 && (b4 & 192) === 128) {
|
|
3132
|
-
let chr = b1 << 18 & 1835008 | b2 << 12 & 258048 | b3 << 6 & 4032 | b4 & 63;
|
|
3133
|
-
if (chr < 65536 || chr > 1114111) {
|
|
3134
|
-
result += "\uFFFD\uFFFD\uFFFD\uFFFD";
|
|
3135
|
-
} else {
|
|
3136
|
-
chr -= 65536;
|
|
3137
|
-
result += String.fromCharCode(55296 + (chr >> 10), 56320 + (chr & 1023));
|
|
3138
|
-
}
|
|
3139
|
-
i += 9;
|
|
3140
|
-
continue;
|
|
3141
|
-
}
|
|
3142
|
-
}
|
|
3143
|
-
result += "\uFFFD";
|
|
3144
|
-
}
|
|
3145
|
-
return result;
|
|
3146
|
-
});
|
|
3147
|
-
}
|
|
3148
|
-
decode.defaultChars = ";/?:@&=+$,#";
|
|
3149
|
-
decode.componentChars = "";
|
|
3150
|
-
var decode_default = decode;
|
|
3151
|
-
|
|
3152
|
-
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.mjs
|
|
3153
|
-
var encodeCache = {};
|
|
3154
|
-
function getEncodeCache(exclude) {
|
|
3155
|
-
let cache = encodeCache[exclude];
|
|
3156
|
-
if (cache) {
|
|
3157
|
-
return cache;
|
|
2850
|
+
const cache = getDecodeCache(exclude);
|
|
2851
|
+
return string.replace(/(%[a-f0-9]{2})+/gi, function(seq) {
|
|
2852
|
+
let result = "";
|
|
2853
|
+
for (let i = 0, l = seq.length; i < l; i += 3) {
|
|
2854
|
+
const b1 = parseInt(seq.slice(i + 1, i + 3), 16);
|
|
2855
|
+
if (b1 < 128) {
|
|
2856
|
+
result += cache[b1];
|
|
2857
|
+
continue;
|
|
2858
|
+
}
|
|
2859
|
+
if ((b1 & 224) === 192 && i + 3 < l) {
|
|
2860
|
+
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
2861
|
+
if ((b2 & 192) === 128) {
|
|
2862
|
+
const chr = b1 << 6 & 1984 | b2 & 63;
|
|
2863
|
+
if (chr < 128) {
|
|
2864
|
+
result += "\uFFFD\uFFFD";
|
|
2865
|
+
} else {
|
|
2866
|
+
result += String.fromCharCode(chr);
|
|
2867
|
+
}
|
|
2868
|
+
i += 3;
|
|
2869
|
+
continue;
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
if ((b1 & 240) === 224 && i + 6 < l) {
|
|
2873
|
+
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
2874
|
+
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
2875
|
+
if ((b2 & 192) === 128 && (b3 & 192) === 128) {
|
|
2876
|
+
const chr = b1 << 12 & 61440 | b2 << 6 & 4032 | b3 & 63;
|
|
2877
|
+
if (chr < 2048 || chr >= 55296 && chr <= 57343) {
|
|
2878
|
+
result += "\uFFFD\uFFFD\uFFFD";
|
|
2879
|
+
} else {
|
|
2880
|
+
result += String.fromCharCode(chr);
|
|
2881
|
+
}
|
|
2882
|
+
i += 6;
|
|
2883
|
+
continue;
|
|
2884
|
+
}
|
|
2885
|
+
}
|
|
2886
|
+
if ((b1 & 248) === 240 && i + 9 < l) {
|
|
2887
|
+
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
2888
|
+
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
2889
|
+
const b4 = parseInt(seq.slice(i + 10, i + 12), 16);
|
|
2890
|
+
if ((b2 & 192) === 128 && (b3 & 192) === 128 && (b4 & 192) === 128) {
|
|
2891
|
+
let chr = b1 << 18 & 1835008 | b2 << 12 & 258048 | b3 << 6 & 4032 | b4 & 63;
|
|
2892
|
+
if (chr < 65536 || chr > 1114111) {
|
|
2893
|
+
result += "\uFFFD\uFFFD\uFFFD\uFFFD";
|
|
2894
|
+
} else {
|
|
2895
|
+
chr -= 65536;
|
|
2896
|
+
result += String.fromCharCode(55296 + (chr >> 10), 56320 + (chr & 1023));
|
|
2897
|
+
}
|
|
2898
|
+
i += 9;
|
|
2899
|
+
continue;
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
result += "\uFFFD";
|
|
2903
|
+
}
|
|
2904
|
+
return result;
|
|
2905
|
+
});
|
|
2906
|
+
}
|
|
2907
|
+
decode.defaultChars = ";/?:@&=+$,#";
|
|
2908
|
+
decode.componentChars = "";
|
|
2909
|
+
var decode_default = decode;
|
|
2910
|
+
|
|
2911
|
+
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.mjs
|
|
2912
|
+
var encodeCache = {};
|
|
2913
|
+
function getEncodeCache(exclude) {
|
|
2914
|
+
let cache = encodeCache[exclude];
|
|
2915
|
+
if (cache) {
|
|
2916
|
+
return cache;
|
|
3158
2917
|
}
|
|
3159
2918
|
cache = encodeCache[exclude] = [];
|
|
3160
2919
|
for (let i = 0; i < 128; i++) {
|
|
@@ -3430,98 +3189,207 @@ var P = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u05
|
|
|
3430
3189
|
var S = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/;
|
|
3431
3190
|
var Z = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;
|
|
3432
3191
|
|
|
3433
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3434
|
-
var
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3192
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/decode-codepoint.js
|
|
3193
|
+
var c1 = [
|
|
3194
|
+
8364,
|
|
3195
|
+
0,
|
|
3196
|
+
8218,
|
|
3197
|
+
402,
|
|
3198
|
+
8222,
|
|
3199
|
+
8230,
|
|
3200
|
+
8224,
|
|
3201
|
+
8225,
|
|
3202
|
+
710,
|
|
3203
|
+
8240,
|
|
3204
|
+
352,
|
|
3205
|
+
8249,
|
|
3206
|
+
338,
|
|
3207
|
+
0,
|
|
3208
|
+
381,
|
|
3209
|
+
0,
|
|
3210
|
+
0,
|
|
3211
|
+
8216,
|
|
3212
|
+
8217,
|
|
3213
|
+
8220,
|
|
3214
|
+
8221,
|
|
3215
|
+
8226,
|
|
3216
|
+
8211,
|
|
3217
|
+
8212,
|
|
3218
|
+
732,
|
|
3219
|
+
8482,
|
|
3220
|
+
353,
|
|
3221
|
+
8250,
|
|
3222
|
+
339,
|
|
3223
|
+
0,
|
|
3224
|
+
382,
|
|
3225
|
+
376
|
|
3226
|
+
];
|
|
3227
|
+
function isInvalidCodePoint(codePoint) {
|
|
3228
|
+
return codePoint === 0 || codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111;
|
|
3229
|
+
}
|
|
3465
3230
|
function replaceCodePoint(codePoint) {
|
|
3466
|
-
if (codePoint
|
|
3231
|
+
if (isInvalidCodePoint(codePoint)) {
|
|
3467
3232
|
return 65533;
|
|
3468
3233
|
}
|
|
3469
|
-
|
|
3234
|
+
if (codePoint >= 128 && codePoint <= 159) {
|
|
3235
|
+
return c1[codePoint - 128] || codePoint;
|
|
3236
|
+
}
|
|
3237
|
+
return codePoint;
|
|
3238
|
+
}
|
|
3239
|
+
function codePointToString(codePoint) {
|
|
3240
|
+
return codePoint - 1 >>> 0 < 127 || codePoint - 160 >>> 0 < 55136 ? String.fromCharCode(codePoint) : String.fromCodePoint(replaceCodePoint(codePoint));
|
|
3470
3241
|
}
|
|
3471
3242
|
|
|
3472
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3473
|
-
|
|
3474
|
-
const
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3243
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/internal/decode-shared.js
|
|
3244
|
+
var BASE91_INVERSE = /* @__PURE__ */ (() => {
|
|
3245
|
+
const table4 = new Uint8Array(127);
|
|
3246
|
+
let code3 = 0;
|
|
3247
|
+
for (let char = 33; char <= 126; char++) {
|
|
3248
|
+
if (char !== 34 && char !== 36 && char !== 92) {
|
|
3249
|
+
table4[char] = code3++;
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
return table4;
|
|
3253
|
+
})();
|
|
3254
|
+
function decodeTrieDict(input, resultLength, atomCount, dict1AtomCount, ngramCount, dictSize) {
|
|
3255
|
+
const base2 = 91;
|
|
3256
|
+
const inputLength = input.length;
|
|
3257
|
+
const twoCharBias = dictSize * (base2 - 1);
|
|
3258
|
+
let pos = 0;
|
|
3259
|
+
const readSlotCode = () => {
|
|
3260
|
+
const c12 = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3261
|
+
return c12 < dictSize ? c12 : c12 * base2 - twoCharBias + BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3262
|
+
};
|
|
3263
|
+
const dict2AtomCount = atomCount - dict1AtomCount;
|
|
3264
|
+
const slotCount = atomCount + ngramCount;
|
|
3265
|
+
const single = new Int32Array(slotCount);
|
|
3266
|
+
single.fill(-1, dict1AtomCount, dictSize);
|
|
3267
|
+
single.fill(-1, dictSize + dict2AtomCount, slotCount);
|
|
3268
|
+
const start = new Int32Array(slotCount);
|
|
3269
|
+
const length = new Int32Array(slotCount);
|
|
3270
|
+
function decodeDelta(count, off) {
|
|
3271
|
+
let previous = 0;
|
|
3272
|
+
let slot2 = off;
|
|
3273
|
+
const end = off + count;
|
|
3274
|
+
while (slot2 < end) {
|
|
3275
|
+
const code3 = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3276
|
+
if (code3 < 89) {
|
|
3277
|
+
previous += code3;
|
|
3278
|
+
single[slot2++] = previous;
|
|
3279
|
+
} else if (code3 === 89) {
|
|
3280
|
+
let runLength = BASE91_INVERSE[input.charCodeAt(pos++)] + 2;
|
|
3281
|
+
while (runLength--)
|
|
3282
|
+
single[slot2++] = ++previous;
|
|
3283
|
+
} else {
|
|
3284
|
+
const next = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3285
|
+
previous += 89 + // eslint-disable-next-line unicorn/prefer-minimal-ternary -- branches read a different number of side-effecting input bytes
|
|
3286
|
+
(next < 90 ? next * base2 + BASE91_INVERSE[input.charCodeAt(pos++)] : BASE91_INVERSE[input.charCodeAt(pos++)] * 8281 + BASE91_INVERSE[input.charCodeAt(pos++)] * base2 + BASE91_INVERSE[input.charCodeAt(pos++)]);
|
|
3287
|
+
single[slot2++] = previous;
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
decodeDelta(dict1AtomCount, 0);
|
|
3292
|
+
decodeDelta(dict2AtomCount, dictSize);
|
|
3293
|
+
const references = new Int32Array(ngramCount * 2);
|
|
3294
|
+
let poolSize = 0;
|
|
3295
|
+
let ngramIndex = 0;
|
|
3296
|
+
function readNgramReferences(count, startSlot) {
|
|
3297
|
+
for (let index = 0; index < count; index++) {
|
|
3298
|
+
const slot2 = startSlot + index;
|
|
3299
|
+
const a = readSlotCode();
|
|
3300
|
+
const b = readSlotCode();
|
|
3301
|
+
references[ngramIndex * 2] = a;
|
|
3302
|
+
references[ngramIndex * 2 + 1] = b;
|
|
3303
|
+
ngramIndex += 1;
|
|
3304
|
+
start[slot2] = poolSize;
|
|
3305
|
+
const entryLength = (single[a] < 0 ? length[a] : 1) + (single[b] < 0 ? length[b] : 1);
|
|
3306
|
+
length[slot2] = entryLength;
|
|
3307
|
+
poolSize += entryLength;
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
readNgramReferences(ngramCount - dictSize + dict1AtomCount, dictSize + dict2AtomCount);
|
|
3311
|
+
readNgramReferences(dictSize - dict1AtomCount, dict1AtomCount);
|
|
3312
|
+
const pool = new Uint16Array(poolSize);
|
|
3313
|
+
let write = 0;
|
|
3314
|
+
for (let index = 0; index < ngramIndex; index++) {
|
|
3315
|
+
for (let half = 0; half < 2; half++) {
|
|
3316
|
+
const source = references[index * 2 + half];
|
|
3317
|
+
const value = single[source];
|
|
3318
|
+
if (value < 0) {
|
|
3319
|
+
let read = start[source];
|
|
3320
|
+
const readEnd = read + length[source];
|
|
3321
|
+
while (read < readEnd)
|
|
3322
|
+
pool[write++] = pool[read++];
|
|
3323
|
+
} else {
|
|
3324
|
+
pool[write++] = value;
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
const out = new Uint16Array(resultLength);
|
|
3329
|
+
let outIndex = 0;
|
|
3330
|
+
while (pos < inputLength) {
|
|
3331
|
+
let slot2 = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3332
|
+
if (slot2 >= dictSize) {
|
|
3333
|
+
slot2 = slot2 * base2 - twoCharBias + BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3334
|
+
}
|
|
3335
|
+
const value = single[slot2];
|
|
3336
|
+
if (value < 0) {
|
|
3337
|
+
let read = start[slot2];
|
|
3338
|
+
const readEnd = read + length[slot2];
|
|
3339
|
+
while (read < readEnd)
|
|
3340
|
+
out[outIndex++] = pool[read++];
|
|
3341
|
+
} else {
|
|
3342
|
+
out[outIndex++] = value;
|
|
3343
|
+
}
|
|
3481
3344
|
}
|
|
3482
3345
|
return out;
|
|
3483
3346
|
}
|
|
3484
3347
|
|
|
3485
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3486
|
-
var htmlDecodeTree = /* @__PURE__ */ decodeBase64("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAM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Foi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg");
|
|
3348
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/generated/decode-data-html.js
|
|
3349
|
+
var htmlDec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5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P", 13494, 2713, 49, 25, 61);
|
|
3487
3350
|
|
|
3488
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3351
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/internal/bin-trie-flags.js
|
|
3489
3352
|
var BinTrieFlags;
|
|
3490
3353
|
(function(BinTrieFlags2) {
|
|
3491
3354
|
BinTrieFlags2[BinTrieFlags2["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
|
|
3492
3355
|
BinTrieFlags2[BinTrieFlags2["FLAG13"] = 8192] = "FLAG13";
|
|
3493
3356
|
BinTrieFlags2[BinTrieFlags2["BRANCH_LENGTH"] = 8064] = "BRANCH_LENGTH";
|
|
3494
3357
|
BinTrieFlags2[BinTrieFlags2["JUMP_TABLE"] = 127] = "JUMP_TABLE";
|
|
3358
|
+
BinTrieFlags2[BinTrieFlags2["VALUE_MASK"] = 8191] = "VALUE_MASK";
|
|
3495
3359
|
})(BinTrieFlags || (BinTrieFlags = {}));
|
|
3496
3360
|
|
|
3497
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3361
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/decode.js
|
|
3498
3362
|
var CharCodes;
|
|
3499
3363
|
(function(CharCodes2) {
|
|
3364
|
+
CharCodes2[CharCodes2["AMP"] = 38] = "AMP";
|
|
3500
3365
|
CharCodes2[CharCodes2["NUM"] = 35] = "NUM";
|
|
3501
3366
|
CharCodes2[CharCodes2["SEMI"] = 59] = "SEMI";
|
|
3502
3367
|
CharCodes2[CharCodes2["EQUALS"] = 61] = "EQUALS";
|
|
3503
3368
|
CharCodes2[CharCodes2["ZERO"] = 48] = "ZERO";
|
|
3504
3369
|
CharCodes2[CharCodes2["NINE"] = 57] = "NINE";
|
|
3505
3370
|
CharCodes2[CharCodes2["LOWER_A"] = 97] = "LOWER_A";
|
|
3506
|
-
CharCodes2[CharCodes2["LOWER_F"] = 102] = "LOWER_F";
|
|
3507
3371
|
CharCodes2[CharCodes2["LOWER_X"] = 120] = "LOWER_X";
|
|
3508
|
-
CharCodes2[CharCodes2["LOWER_Z"] = 122] = "LOWER_Z";
|
|
3509
|
-
CharCodes2[CharCodes2["UPPER_A"] = 65] = "UPPER_A";
|
|
3510
|
-
CharCodes2[CharCodes2["UPPER_F"] = 70] = "UPPER_F";
|
|
3511
|
-
CharCodes2[CharCodes2["UPPER_Z"] = 90] = "UPPER_Z";
|
|
3512
3372
|
})(CharCodes || (CharCodes = {}));
|
|
3513
3373
|
var TO_LOWER_BIT = 32;
|
|
3374
|
+
var CONSUMED_SHIFT = 21;
|
|
3375
|
+
var CODE_POINT_MASK = 2097151;
|
|
3376
|
+
var CONSUMED_OVERFLOW = 2047;
|
|
3377
|
+
var longNumericConsumed = 0;
|
|
3378
|
+
function unpackConsumed(packed) {
|
|
3379
|
+
const consumed = packed >>> CONSUMED_SHIFT;
|
|
3380
|
+
return consumed === CONSUMED_OVERFLOW ? longNumericConsumed : consumed;
|
|
3381
|
+
}
|
|
3514
3382
|
function isNumber(code3) {
|
|
3515
|
-
return code3
|
|
3383
|
+
return code3 - CharCodes.ZERO >>> 0 <= 9;
|
|
3516
3384
|
}
|
|
3517
3385
|
function isHexadecimalCharacter(code3) {
|
|
3518
|
-
return code3
|
|
3386
|
+
return (code3 | TO_LOWER_BIT) - CharCodes.LOWER_A >>> 0 <= 5;
|
|
3519
3387
|
}
|
|
3520
|
-
function
|
|
3521
|
-
return code3
|
|
3388
|
+
function isAlpha(code3) {
|
|
3389
|
+
return (code3 | TO_LOWER_BIT) - CharCodes.LOWER_A >>> 0 <= 25;
|
|
3522
3390
|
}
|
|
3523
3391
|
function isEntityInAttributeInvalidEnd(code3) {
|
|
3524
|
-
return code3 === CharCodes.EQUALS ||
|
|
3392
|
+
return code3 === CharCodes.EQUALS || isAlpha(code3) || isNumber(code3);
|
|
3525
3393
|
}
|
|
3526
3394
|
var EntityDecoderState;
|
|
3527
3395
|
(function(EntityDecoderState2) {
|
|
@@ -3537,364 +3405,234 @@ var DecodingMode;
|
|
|
3537
3405
|
DecodingMode2[DecodingMode2["Strict"] = 1] = "Strict";
|
|
3538
3406
|
DecodingMode2[DecodingMode2["Attribute"] = 2] = "Attribute";
|
|
3539
3407
|
})(DecodingMode || (DecodingMode = {}));
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
this.emitCodePoint = emitCodePoint;
|
|
3547
|
-
this.errors = errors2;
|
|
3548
|
-
}
|
|
3549
|
-
/** The current state of the decoder. */
|
|
3550
|
-
state = EntityDecoderState.EntityStart;
|
|
3551
|
-
/** Characters that were consumed while parsing an entity. */
|
|
3552
|
-
consumed = 1;
|
|
3553
|
-
/**
|
|
3554
|
-
* The result of the entity.
|
|
3555
|
-
*
|
|
3556
|
-
* Either the result index of a numeric entity, or the codepoint of a
|
|
3557
|
-
* numeric entity.
|
|
3558
|
-
*/
|
|
3559
|
-
result = 0;
|
|
3560
|
-
/** The current index in the decode tree. */
|
|
3561
|
-
treeIndex = 0;
|
|
3562
|
-
/** The number of characters that were consumed in excess. */
|
|
3563
|
-
excess = 1;
|
|
3564
|
-
/** The mode in which the decoder is operating. */
|
|
3565
|
-
decodeMode = DecodingMode.Strict;
|
|
3566
|
-
/** The number of characters that have been consumed in the current run. */
|
|
3567
|
-
runConsumed = 0;
|
|
3568
|
-
/**
|
|
3569
|
-
* Resets the instance to make it reusable.
|
|
3570
|
-
* @param decodeMode Entity decoding mode to use.
|
|
3571
|
-
*/
|
|
3572
|
-
startEntity(decodeMode) {
|
|
3573
|
-
this.decodeMode = decodeMode;
|
|
3574
|
-
this.state = EntityDecoderState.EntityStart;
|
|
3575
|
-
this.result = 0;
|
|
3576
|
-
this.treeIndex = 0;
|
|
3577
|
-
this.excess = 1;
|
|
3578
|
-
this.consumed = 1;
|
|
3579
|
-
this.runConsumed = 0;
|
|
3580
|
-
}
|
|
3581
|
-
/**
|
|
3582
|
-
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
3583
|
-
* If the entity is incomplete, the decoder will return -1.
|
|
3584
|
-
*
|
|
3585
|
-
* Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
|
|
3586
|
-
* entity is incomplete, and resume when the next string is written.
|
|
3587
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
3588
|
-
* @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
|
|
3589
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
3590
|
-
*/
|
|
3591
|
-
write(input, offset) {
|
|
3592
|
-
switch (this.state) {
|
|
3593
|
-
case EntityDecoderState.EntityStart: {
|
|
3594
|
-
if (input.charCodeAt(offset) === CharCodes.NUM) {
|
|
3595
|
-
this.state = EntityDecoderState.NumericStart;
|
|
3596
|
-
this.consumed += 1;
|
|
3597
|
-
return this.stateNumericStart(input, offset + 1);
|
|
3598
|
-
}
|
|
3599
|
-
this.state = EntityDecoderState.NamedEntity;
|
|
3600
|
-
return this.stateNamedEntity(input, offset);
|
|
3601
|
-
}
|
|
3602
|
-
case EntityDecoderState.NumericStart: {
|
|
3603
|
-
return this.stateNumericStart(input, offset);
|
|
3604
|
-
}
|
|
3605
|
-
case EntityDecoderState.NumericDecimal: {
|
|
3606
|
-
return this.stateNumericDecimal(input, offset);
|
|
3607
|
-
}
|
|
3608
|
-
case EntityDecoderState.NumericHex: {
|
|
3609
|
-
return this.stateNumericHex(input, offset);
|
|
3610
|
-
}
|
|
3611
|
-
case EntityDecoderState.NamedEntity: {
|
|
3612
|
-
return this.stateNamedEntity(input, offset);
|
|
3613
|
-
}
|
|
3408
|
+
function determineBranch(decodeTree, current, nodeIndex, char) {
|
|
3409
|
+
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3410
|
+
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
3411
|
+
if (jumpOffset) {
|
|
3412
|
+
if (branchCount === 0) {
|
|
3413
|
+
return char === jumpOffset ? nodeIndex : -1;
|
|
3614
3414
|
}
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
* Switches between the numeric decimal and hexadecimal states.
|
|
3618
|
-
*
|
|
3619
|
-
* Equivalent to the `Numeric character reference state` in the HTML spec.
|
|
3620
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
3621
|
-
* @param offset The current offset.
|
|
3622
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
3623
|
-
*/
|
|
3624
|
-
stateNumericStart(input, offset) {
|
|
3625
|
-
if (offset >= input.length) {
|
|
3415
|
+
const slot2 = char - jumpOffset;
|
|
3416
|
+
if (slot2 >>> 0 >= branchCount)
|
|
3626
3417
|
return -1;
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
this.state = EntityDecoderState.NumericHex;
|
|
3630
|
-
this.consumed += 1;
|
|
3631
|
-
return this.stateNumericHex(input, offset + 1);
|
|
3632
|
-
}
|
|
3633
|
-
this.state = EntityDecoderState.NumericDecimal;
|
|
3634
|
-
return this.stateNumericDecimal(input, offset);
|
|
3418
|
+
const stored = decodeTree[nodeIndex + slot2];
|
|
3419
|
+
return stored === 0 ? -1 : nodeIndex + branchCount + stored - 1 & 65535;
|
|
3635
3420
|
}
|
|
3636
|
-
|
|
3637
|
-
* Parses a hexadecimal numeric entity.
|
|
3638
|
-
*
|
|
3639
|
-
* Equivalent to the `Hexademical character reference state` in the HTML spec.
|
|
3640
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
3641
|
-
* @param offset The current offset.
|
|
3642
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
3643
|
-
*/
|
|
3644
|
-
stateNumericHex(input, offset) {
|
|
3645
|
-
while (offset < input.length) {
|
|
3646
|
-
const char = input.charCodeAt(offset);
|
|
3647
|
-
if (isNumber(char) || isHexadecimalCharacter(char)) {
|
|
3648
|
-
const digit = char <= CharCodes.NINE ? char - CharCodes.ZERO : (char | TO_LOWER_BIT) - CharCodes.LOWER_A + 10;
|
|
3649
|
-
this.result = this.result * 16 + digit;
|
|
3650
|
-
this.consumed++;
|
|
3651
|
-
offset++;
|
|
3652
|
-
} else {
|
|
3653
|
-
return this.emitNumericEntity(char, 3);
|
|
3654
|
-
}
|
|
3655
|
-
}
|
|
3421
|
+
if (branchCount === 0)
|
|
3656
3422
|
return -1;
|
|
3423
|
+
const packedKeySlots = branchCount + 1 >> 1;
|
|
3424
|
+
const branchEnd = nodeIndex + packedKeySlots + branchCount;
|
|
3425
|
+
for (let index = 0; index < branchCount; index++) {
|
|
3426
|
+
const packed = decodeTree[nodeIndex + (index >> 1)];
|
|
3427
|
+
const key = packed >> ((index & 1) << 3) & 255;
|
|
3428
|
+
if (key === char) {
|
|
3429
|
+
const pointerIndex = nodeIndex + packedKeySlots + index;
|
|
3430
|
+
return branchEnd + decodeTree[pointerIndex] & 65535;
|
|
3431
|
+
}
|
|
3432
|
+
if (key > char)
|
|
3433
|
+
return -1;
|
|
3657
3434
|
}
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3435
|
+
return -1;
|
|
3436
|
+
}
|
|
3437
|
+
function readTrieValue(decodeTree, nodeIndex, valueLength) {
|
|
3438
|
+
if (valueLength === 1) {
|
|
3439
|
+
return String.fromCharCode(decodeTree[nodeIndex] & BinTrieFlags.VALUE_MASK);
|
|
3440
|
+
}
|
|
3441
|
+
if (valueLength === 2) {
|
|
3442
|
+
return String.fromCharCode(decodeTree[nodeIndex + 1]);
|
|
3443
|
+
}
|
|
3444
|
+
return String.fromCharCode(decodeTree[nodeIndex + 1], decodeTree[nodeIndex + 2]);
|
|
3445
|
+
}
|
|
3446
|
+
function parseNumericEntity(input, numberStart, inputLength) {
|
|
3447
|
+
let offset = numberStart + 1;
|
|
3448
|
+
let cp = 0;
|
|
3449
|
+
let digitStart = offset;
|
|
3450
|
+
if (offset < inputLength && (input.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
|
|
3451
|
+
offset += 1;
|
|
3452
|
+
digitStart = offset;
|
|
3453
|
+
while (offset < inputLength) {
|
|
3668
3454
|
const char = input.charCodeAt(offset);
|
|
3669
3455
|
if (isNumber(char)) {
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3456
|
+
cp = cp * 16 + (char - CharCodes.ZERO);
|
|
3457
|
+
} else if (isHexadecimalCharacter(char)) {
|
|
3458
|
+
cp = cp * 16 + ((char | TO_LOWER_BIT) - CharCodes.LOWER_A + 10);
|
|
3673
3459
|
} else {
|
|
3674
|
-
|
|
3460
|
+
break;
|
|
3675
3461
|
}
|
|
3462
|
+
offset += 1;
|
|
3676
3463
|
}
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
* @param lastCp The last code point of the entity. Used to see if the
|
|
3685
|
-
* entity was terminated with a semicolon.
|
|
3686
|
-
* @param expectedLength The minimum number of characters that should be
|
|
3687
|
-
* consumed. Used to validate that at least one digit
|
|
3688
|
-
* was consumed.
|
|
3689
|
-
* @returns The number of characters that were consumed.
|
|
3690
|
-
*/
|
|
3691
|
-
emitNumericEntity(lastCp, expectedLength) {
|
|
3692
|
-
if (this.consumed <= expectedLength) {
|
|
3693
|
-
this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed);
|
|
3694
|
-
return 0;
|
|
3695
|
-
}
|
|
3696
|
-
if (lastCp === CharCodes.SEMI) {
|
|
3697
|
-
this.consumed += 1;
|
|
3698
|
-
} else if (this.decodeMode === DecodingMode.Strict) {
|
|
3699
|
-
return 0;
|
|
3700
|
-
}
|
|
3701
|
-
this.emitCodePoint(replaceCodePoint(this.result), this.consumed);
|
|
3702
|
-
if (this.errors) {
|
|
3703
|
-
if (lastCp !== CharCodes.SEMI) {
|
|
3704
|
-
this.errors.missingSemicolonAfterCharacterReference();
|
|
3705
|
-
}
|
|
3706
|
-
this.errors.validateNumericCharacterReference(this.result);
|
|
3464
|
+
} else {
|
|
3465
|
+
while (offset < inputLength) {
|
|
3466
|
+
const digit = input.charCodeAt(offset) - CharCodes.ZERO;
|
|
3467
|
+
if (digit >>> 0 > 9)
|
|
3468
|
+
break;
|
|
3469
|
+
cp = cp * 10 + digit;
|
|
3470
|
+
offset += 1;
|
|
3707
3471
|
}
|
|
3708
|
-
return this.consumed;
|
|
3709
3472
|
}
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3473
|
+
if (offset === digitStart)
|
|
3474
|
+
return 0;
|
|
3475
|
+
if (offset < inputLength && input.charCodeAt(offset) === CharCodes.SEMI) {
|
|
3476
|
+
offset += 1;
|
|
3477
|
+
}
|
|
3478
|
+
if (cp > 1114111)
|
|
3479
|
+
cp = 1114112;
|
|
3480
|
+
let consumed = offset - numberStart;
|
|
3481
|
+
if (consumed >= CONSUMED_OVERFLOW) {
|
|
3482
|
+
longNumericConsumed = consumed;
|
|
3483
|
+
consumed = CONSUMED_OVERFLOW;
|
|
3484
|
+
}
|
|
3485
|
+
return consumed << CONSUMED_SHIFT | cp;
|
|
3486
|
+
}
|
|
3487
|
+
function decodeWithTrie(input, isStrict, isAttribute) {
|
|
3488
|
+
const decodeTree = htmlDecodeTree;
|
|
3489
|
+
let offset = input.indexOf("&");
|
|
3490
|
+
if (offset < 0)
|
|
3491
|
+
return input;
|
|
3492
|
+
const inputLength = input.length;
|
|
3493
|
+
let chunkStart = 0;
|
|
3494
|
+
let result = "";
|
|
3495
|
+
const root = decodeTree[0];
|
|
3496
|
+
const rootJumpOffset = root & BinTrieFlags.JUMP_TABLE;
|
|
3497
|
+
const rootBranchCount = (root & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3498
|
+
do {
|
|
3499
|
+
const entityStart = offset + 1;
|
|
3500
|
+
const firstChar = input.charCodeAt(entityStart);
|
|
3501
|
+
let consumed;
|
|
3502
|
+
let value;
|
|
3503
|
+
if (firstChar === CharCodes.NUM) {
|
|
3504
|
+
const packed = parseNumericEntity(input, entityStart, inputLength);
|
|
3505
|
+
consumed = unpackConsumed(packed);
|
|
3506
|
+
if (isStrict && consumed > 0 && input.charCodeAt(entityStart + consumed - 1) !== CharCodes.SEMI) {
|
|
3507
|
+
consumed = 0;
|
|
3508
|
+
}
|
|
3509
|
+
value = consumed === 0 ? "" : codePointToString(packed & CODE_POINT_MASK);
|
|
3510
|
+
} else if (isAlpha(firstChar)) {
|
|
3511
|
+
consumed = 0;
|
|
3512
|
+
value = "";
|
|
3513
|
+
const rootSlotIndex = firstChar - rootJumpOffset;
|
|
3514
|
+
let nodeIndex;
|
|
3515
|
+
if (rootSlotIndex >>> 0 < rootBranchCount) {
|
|
3516
|
+
const stored = decodeTree[1 + rootSlotIndex];
|
|
3517
|
+
nodeIndex = stored === 0 ? -1 : rootBranchCount + stored & 65535;
|
|
3518
|
+
} else {
|
|
3519
|
+
nodeIndex = -1;
|
|
3520
|
+
}
|
|
3521
|
+
let bestNodeIndex = 0;
|
|
3522
|
+
let bestValueLength = 0;
|
|
3523
|
+
let current = nodeIndex < 0 ? 0 : decodeTree[nodeIndex];
|
|
3524
|
+
let index = entityStart + 1;
|
|
3525
|
+
trie: while (index < inputLength) {
|
|
3526
|
+
while (
|
|
3527
|
+
// Value-less, non-run node with a nonzero jump offset.
|
|
3528
|
+
(current & (BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13)) === 0 && (current & BinTrieFlags.JUMP_TABLE) !== 0
|
|
3529
|
+
) {
|
|
3530
|
+
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
3531
|
+
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3532
|
+
if (branchCount === 0) {
|
|
3533
|
+
if (input.charCodeAt(index) !== jumpOffset)
|
|
3534
|
+
break trie;
|
|
3535
|
+
nodeIndex += 1;
|
|
3536
|
+
} else {
|
|
3537
|
+
const slot2 = input.charCodeAt(index) - jumpOffset;
|
|
3538
|
+
if (slot2 >>> 0 >= branchCount)
|
|
3539
|
+
break trie;
|
|
3540
|
+
const stored = decodeTree[nodeIndex + 1 + slot2];
|
|
3541
|
+
if (stored === 0)
|
|
3542
|
+
break trie;
|
|
3543
|
+
nodeIndex = nodeIndex + branchCount + stored & 65535;
|
|
3729
3544
|
}
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3545
|
+
current = decodeTree[nodeIndex];
|
|
3546
|
+
index += 1;
|
|
3547
|
+
if (index >= inputLength)
|
|
3548
|
+
break trie;
|
|
3733
3549
|
}
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3550
|
+
if ((current & (BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13)) === BinTrieFlags.FLAG13) {
|
|
3551
|
+
const runLength = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3552
|
+
if (input.charCodeAt(index) !== (current & BinTrieFlags.JUMP_TABLE)) {
|
|
3553
|
+
break;
|
|
3737
3554
|
}
|
|
3738
|
-
|
|
3739
|
-
const
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3555
|
+
index += 1;
|
|
3556
|
+
const remaining = runLength - 1;
|
|
3557
|
+
let wordIndex = nodeIndex + 1;
|
|
3558
|
+
let charIndexInPacked = 0;
|
|
3559
|
+
for (; charIndexInPacked + 1 < remaining; charIndexInPacked += 2) {
|
|
3560
|
+
const packed = decodeTree[wordIndex];
|
|
3561
|
+
if (input.charCodeAt(index) !== (packed & 255))
|
|
3562
|
+
break trie;
|
|
3563
|
+
index += 1;
|
|
3564
|
+
if (input.charCodeAt(index) !== (packed >> 8 & 255))
|
|
3565
|
+
break trie;
|
|
3566
|
+
index += 1;
|
|
3567
|
+
wordIndex += 1;
|
|
3744
3568
|
}
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3569
|
+
if (charIndexInPacked < remaining) {
|
|
3570
|
+
if (input.charCodeAt(index) !== (decodeTree[wordIndex] & 255))
|
|
3571
|
+
break;
|
|
3572
|
+
index += 1;
|
|
3573
|
+
}
|
|
3574
|
+
nodeIndex += 1 + (runLength >> 1);
|
|
3575
|
+
current = decodeTree[nodeIndex];
|
|
3576
|
+
continue;
|
|
3748
3577
|
}
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
(valueLength === 0 || // And there should be no invalid characters.
|
|
3765
|
-
isEntityInAttributeInvalidEnd(char)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
3766
|
-
}
|
|
3767
|
-
current = decodeTree[this.treeIndex];
|
|
3768
|
-
valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
3769
|
-
if (valueLength !== 0) {
|
|
3770
|
-
if (char === CharCodes.SEMI) {
|
|
3771
|
-
return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
|
|
3578
|
+
const valueLength = current >>> 14;
|
|
3579
|
+
const char = input.charCodeAt(index);
|
|
3580
|
+
if (valueLength !== 0) {
|
|
3581
|
+
if (char === CharCodes.SEMI) {
|
|
3582
|
+
consumed = index - entityStart + 1;
|
|
3583
|
+
value = valueLength === 1 ? String.fromCharCode(current & BinTrieFlags.VALUE_MASK) : readTrieValue(decodeTree, nodeIndex, valueLength);
|
|
3584
|
+
break;
|
|
3585
|
+
}
|
|
3586
|
+
if (!isStrict && (current & BinTrieFlags.FLAG13) === 0) {
|
|
3587
|
+
consumed = index - entityStart;
|
|
3588
|
+
bestNodeIndex = nodeIndex;
|
|
3589
|
+
bestValueLength = valueLength;
|
|
3590
|
+
}
|
|
3591
|
+
if (valueLength === 1)
|
|
3592
|
+
break;
|
|
3772
3593
|
}
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3594
|
+
const next = determineBranch(decodeTree, current, nodeIndex + (valueLength || 1), char);
|
|
3595
|
+
if (next < 0)
|
|
3596
|
+
break;
|
|
3597
|
+
nodeIndex = next;
|
|
3598
|
+
current = decodeTree[nodeIndex];
|
|
3599
|
+
index += 1;
|
|
3600
|
+
}
|
|
3601
|
+
if (value === "") {
|
|
3602
|
+
const finalVL = current >>> 14;
|
|
3603
|
+
if (finalVL !== 0 && !isStrict && (current & BinTrieFlags.FLAG13) === 0) {
|
|
3604
|
+
consumed = index - entityStart;
|
|
3605
|
+
bestNodeIndex = nodeIndex;
|
|
3606
|
+
bestValueLength = finalVL;
|
|
3607
|
+
}
|
|
3608
|
+
if (consumed > 0) {
|
|
3609
|
+
value = readTrieValue(decodeTree, bestNodeIndex, bestValueLength);
|
|
3777
3610
|
}
|
|
3778
3611
|
}
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
return -1;
|
|
3783
|
-
}
|
|
3784
|
-
/**
|
|
3785
|
-
* Emit a named entity that was not terminated with a semicolon.
|
|
3786
|
-
* @returns The number of characters consumed.
|
|
3787
|
-
*/
|
|
3788
|
-
emitNotTerminatedNamedEntity() {
|
|
3789
|
-
const { result, decodeTree } = this;
|
|
3790
|
-
const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
3791
|
-
this.emitNamedEntityData(result, valueLength, this.consumed);
|
|
3792
|
-
this.errors?.missingSemicolonAfterCharacterReference();
|
|
3793
|
-
return this.consumed;
|
|
3794
|
-
}
|
|
3795
|
-
/**
|
|
3796
|
-
* Emit a named entity.
|
|
3797
|
-
* @param result The index of the entity in the decode tree.
|
|
3798
|
-
* @param valueLength The number of bytes in the entity.
|
|
3799
|
-
* @param consumed The number of characters consumed.
|
|
3800
|
-
* @returns The number of characters consumed.
|
|
3801
|
-
*/
|
|
3802
|
-
emitNamedEntityData(result, valueLength, consumed) {
|
|
3803
|
-
const { decodeTree } = this;
|
|
3804
|
-
this.emitCodePoint(valueLength === 1 ? decodeTree[result] & ~(BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13) : decodeTree[result + 1], consumed);
|
|
3805
|
-
if (valueLength === 3) {
|
|
3806
|
-
this.emitCodePoint(decodeTree[result + 2], consumed);
|
|
3807
|
-
}
|
|
3808
|
-
return consumed;
|
|
3809
|
-
}
|
|
3810
|
-
/**
|
|
3811
|
-
* Signal to the parser that the end of the input was reached.
|
|
3812
|
-
*
|
|
3813
|
-
* Remaining data will be emitted and relevant errors will be produced.
|
|
3814
|
-
* @returns The number of characters consumed.
|
|
3815
|
-
*/
|
|
3816
|
-
end() {
|
|
3817
|
-
switch (this.state) {
|
|
3818
|
-
case EntityDecoderState.NamedEntity: {
|
|
3819
|
-
return this.result !== 0 && (this.decodeMode !== DecodingMode.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
3820
|
-
}
|
|
3821
|
-
// Otherwise, emit a numeric entity if we have one.
|
|
3822
|
-
case EntityDecoderState.NumericDecimal: {
|
|
3823
|
-
return this.emitNumericEntity(0, 2);
|
|
3824
|
-
}
|
|
3825
|
-
case EntityDecoderState.NumericHex: {
|
|
3826
|
-
return this.emitNumericEntity(0, 3);
|
|
3827
|
-
}
|
|
3828
|
-
case EntityDecoderState.NumericStart: {
|
|
3829
|
-
this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed);
|
|
3830
|
-
return 0;
|
|
3831
|
-
}
|
|
3832
|
-
case EntityDecoderState.EntityStart: {
|
|
3833
|
-
return 0;
|
|
3834
|
-
}
|
|
3612
|
+
} else {
|
|
3613
|
+
consumed = 0;
|
|
3614
|
+
value = "";
|
|
3835
3615
|
}
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
return function decodeWithTrie(input, decodeMode) {
|
|
3842
|
-
let lastIndex = 0;
|
|
3843
|
-
let offset = 0;
|
|
3844
|
-
while ((offset = input.indexOf("&", offset)) >= 0) {
|
|
3845
|
-
returnValue += input.slice(lastIndex, offset);
|
|
3846
|
-
decoder.startEntity(decodeMode);
|
|
3847
|
-
const length = decoder.write(
|
|
3848
|
-
input,
|
|
3849
|
-
// Skip the "&"
|
|
3850
|
-
offset + 1
|
|
3851
|
-
);
|
|
3852
|
-
if (length < 0) {
|
|
3853
|
-
lastIndex = offset + decoder.end();
|
|
3854
|
-
break;
|
|
3616
|
+
if (consumed === 0 || isAttribute && firstChar !== CharCodes.NUM && input.charCodeAt(entityStart + consumed - 1) !== CharCodes.SEMI && entityStart + consumed < inputLength && isEntityInAttributeInvalidEnd(input.charCodeAt(entityStart + consumed))) {
|
|
3617
|
+
offset = entityStart;
|
|
3618
|
+
} else {
|
|
3619
|
+
if (chunkStart < offset) {
|
|
3620
|
+
result += input.slice(chunkStart, offset);
|
|
3855
3621
|
}
|
|
3856
|
-
|
|
3857
|
-
offset =
|
|
3622
|
+
result += value;
|
|
3623
|
+
offset = chunkStart = entityStart + consumed;
|
|
3858
3624
|
}
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
return result;
|
|
3862
|
-
};
|
|
3863
|
-
}
|
|
3864
|
-
function determineBranch(decodeTree, current, nodeIndex, char) {
|
|
3865
|
-
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3866
|
-
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
3867
|
-
if (branchCount === 0) {
|
|
3868
|
-
return jumpOffset !== 0 && char === jumpOffset ? nodeIndex : -1;
|
|
3869
|
-
}
|
|
3870
|
-
if (jumpOffset) {
|
|
3871
|
-
const value = char - jumpOffset;
|
|
3872
|
-
return value < 0 || value >= branchCount ? -1 : decodeTree[nodeIndex + value] - 1;
|
|
3873
|
-
}
|
|
3874
|
-
const packedKeySlots = branchCount + 1 >> 1;
|
|
3875
|
-
let lo = 0;
|
|
3876
|
-
let hi = branchCount - 1;
|
|
3877
|
-
while (lo <= hi) {
|
|
3878
|
-
const mid = lo + hi >>> 1;
|
|
3879
|
-
const slot2 = mid >> 1;
|
|
3880
|
-
const packed = decodeTree[nodeIndex + slot2];
|
|
3881
|
-
const midKey = packed >> (mid & 1) * 8 & 255;
|
|
3882
|
-
if (midKey < char) {
|
|
3883
|
-
lo = mid + 1;
|
|
3884
|
-
} else if (midKey > char) {
|
|
3885
|
-
hi = mid - 1;
|
|
3886
|
-
} else {
|
|
3887
|
-
return decodeTree[nodeIndex + packedKeySlots + mid];
|
|
3625
|
+
if (input.charCodeAt(offset) !== CharCodes.AMP) {
|
|
3626
|
+
offset = input.indexOf("&", offset);
|
|
3888
3627
|
}
|
|
3889
|
-
}
|
|
3890
|
-
return
|
|
3628
|
+
} while (offset >= 0);
|
|
3629
|
+
return result + input.slice(chunkStart);
|
|
3891
3630
|
}
|
|
3892
|
-
var htmlDecoder = /* @__PURE__ */ getDecoder(htmlDecodeTree);
|
|
3893
3631
|
function decodeHTMLStrict(htmlString) {
|
|
3894
|
-
return
|
|
3632
|
+
return decodeWithTrie(htmlString, true, false);
|
|
3895
3633
|
}
|
|
3896
3634
|
|
|
3897
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3635
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/index.js
|
|
3898
3636
|
var EntityLevel;
|
|
3899
3637
|
(function(EntityLevel2) {
|
|
3900
3638
|
EntityLevel2[EntityLevel2["XML"] = 0] = "XML";
|
|
@@ -4452,7 +4190,7 @@ var errors = {
|
|
|
4452
4190
|
var baseMinusTMin = base - tMin;
|
|
4453
4191
|
var floor = Math.floor;
|
|
4454
4192
|
var stringFromCharCode = String.fromCharCode;
|
|
4455
|
-
function
|
|
4193
|
+
function error(type) {
|
|
4456
4194
|
throw new RangeError(errors[type]);
|
|
4457
4195
|
}
|
|
4458
4196
|
function map(array, callback) {
|
|
@@ -4532,7 +4270,7 @@ var decode2 = function(input) {
|
|
|
4532
4270
|
}
|
|
4533
4271
|
for (let j = 0; j < basic; ++j) {
|
|
4534
4272
|
if (input.charCodeAt(j) >= 128) {
|
|
4535
|
-
|
|
4273
|
+
error("not-basic");
|
|
4536
4274
|
}
|
|
4537
4275
|
output.push(input.charCodeAt(j));
|
|
4538
4276
|
}
|
|
@@ -4540,14 +4278,14 @@ var decode2 = function(input) {
|
|
|
4540
4278
|
const oldi = i;
|
|
4541
4279
|
for (let w = 1, k = base; ; k += base) {
|
|
4542
4280
|
if (index >= inputLength) {
|
|
4543
|
-
|
|
4281
|
+
error("invalid-input");
|
|
4544
4282
|
}
|
|
4545
4283
|
const digit = basicToDigit(input.charCodeAt(index++));
|
|
4546
4284
|
if (digit >= base) {
|
|
4547
|
-
|
|
4285
|
+
error("invalid-input");
|
|
4548
4286
|
}
|
|
4549
4287
|
if (digit > floor((maxInt - i) / w)) {
|
|
4550
|
-
|
|
4288
|
+
error("overflow");
|
|
4551
4289
|
}
|
|
4552
4290
|
i += digit * w;
|
|
4553
4291
|
const t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
|
|
@@ -4556,14 +4294,14 @@ var decode2 = function(input) {
|
|
|
4556
4294
|
}
|
|
4557
4295
|
const baseMinusT = base - t;
|
|
4558
4296
|
if (w > floor(maxInt / baseMinusT)) {
|
|
4559
|
-
|
|
4297
|
+
error("overflow");
|
|
4560
4298
|
}
|
|
4561
4299
|
w *= baseMinusT;
|
|
4562
4300
|
}
|
|
4563
4301
|
const out = output.length + 1;
|
|
4564
4302
|
bias = adapt(i - oldi, out, oldi == 0);
|
|
4565
4303
|
if (floor(i / out) > maxInt - n) {
|
|
4566
|
-
|
|
4304
|
+
error("overflow");
|
|
4567
4305
|
}
|
|
4568
4306
|
n += floor(i / out);
|
|
4569
4307
|
i %= out;
|
|
@@ -4597,13 +4335,13 @@ var encode2 = function(input) {
|
|
|
4597
4335
|
}
|
|
4598
4336
|
const handledCPCountPlusOne = handledCPCount + 1;
|
|
4599
4337
|
if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
|
|
4600
|
-
|
|
4338
|
+
error("overflow");
|
|
4601
4339
|
}
|
|
4602
4340
|
delta += (m - n) * handledCPCountPlusOne;
|
|
4603
4341
|
n = m;
|
|
4604
4342
|
for (const currentValue of input) {
|
|
4605
4343
|
if (currentValue < n && ++delta > maxInt) {
|
|
4606
|
-
|
|
4344
|
+
error("overflow");
|
|
4607
4345
|
}
|
|
4608
4346
|
if (currentValue === n) {
|
|
4609
4347
|
let q = delta;
|
|
@@ -4665,7 +4403,7 @@ var punycode = {
|
|
|
4665
4403
|
};
|
|
4666
4404
|
var punycode_es6_default = punycode;
|
|
4667
4405
|
|
|
4668
|
-
// ../../node_modules/.pnpm/markdown-it@15.0.
|
|
4406
|
+
// ../../node_modules/.pnpm/markdown-it@15.0.3_patch_hash=105b98356641bf5463f97ae906b88ed1cc5de6a7eea38cbd7a3a6b2c3904fcc8/node_modules/markdown-it/dist/markdown-it.mjs
|
|
4669
4407
|
var __defProp2 = Object.defineProperty;
|
|
4670
4408
|
var __exportAll = (all, no_symbols) => {
|
|
4671
4409
|
let target = {};
|
|
@@ -5571,7 +5309,7 @@ function strip_references(state) {
|
|
|
5571
5309
|
}
|
|
5572
5310
|
if (tokens.length !== last) tokens.length = last;
|
|
5573
5311
|
}
|
|
5574
|
-
function
|
|
5312
|
+
function inline(state) {
|
|
5575
5313
|
const tokens = state.tokens;
|
|
5576
5314
|
for (let i = 0, l = tokens.length; i < l; i++) {
|
|
5577
5315
|
const tok = tokens[i];
|
|
@@ -5716,6 +5454,14 @@ function replace(state) {
|
|
|
5716
5454
|
var QUOTE_TEST_RE = /['"]/;
|
|
5717
5455
|
var QUOTE_RE = /['"]/g;
|
|
5718
5456
|
var APOSTROPHE = "\u2019";
|
|
5457
|
+
var MAX_OPENERS = 1e3;
|
|
5458
|
+
function truncateStack(stack, heads, length) {
|
|
5459
|
+
while (stack.length > length) {
|
|
5460
|
+
const item2 = stack.pop();
|
|
5461
|
+
if (item2.isSingleQuote) heads.single = item2.prevSameQuoteIdx;
|
|
5462
|
+
else heads.double = item2.prevSameQuoteIdx;
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5719
5465
|
function addReplacement(replacements, tokenIdx, pos, ch) {
|
|
5720
5466
|
if (!replacements[tokenIdx]) replacements[tokenIdx] = [];
|
|
5721
5467
|
replacements[tokenIdx].push({
|
|
@@ -5737,12 +5483,16 @@ function applyReplacements(str, replacements) {
|
|
|
5737
5483
|
function process_inlines(tokens, state) {
|
|
5738
5484
|
let j;
|
|
5739
5485
|
const stack = [];
|
|
5486
|
+
const heads = {
|
|
5487
|
+
single: -1,
|
|
5488
|
+
double: -1
|
|
5489
|
+
};
|
|
5740
5490
|
const replacements = {};
|
|
5741
5491
|
for (let i = 0; i < tokens.length; i++) {
|
|
5742
5492
|
const token = tokens[i];
|
|
5743
5493
|
const thisLevel = tokens[i].level;
|
|
5744
5494
|
for (j = stack.length - 1; j >= 0; j--) if (stack[j].level <= thisLevel) break;
|
|
5745
|
-
stack
|
|
5495
|
+
truncateStack(stack, heads, j + 1);
|
|
5746
5496
|
if (token.type !== "text") continue;
|
|
5747
5497
|
const text3 = token.content;
|
|
5748
5498
|
let pos = 0;
|
|
@@ -5794,11 +5544,10 @@ function process_inlines(tokens, state) {
|
|
|
5794
5544
|
if (isSingle) addReplacement(replacements, i, t.index, APOSTROPHE);
|
|
5795
5545
|
continue;
|
|
5796
5546
|
}
|
|
5797
|
-
if (canClose)
|
|
5798
|
-
|
|
5799
|
-
if (stack[j].level
|
|
5800
|
-
|
|
5801
|
-
item2 = stack[j];
|
|
5547
|
+
if (canClose) {
|
|
5548
|
+
j = isSingle ? heads.single : heads.double;
|
|
5549
|
+
if (j >= 0 && stack[j].level === thisLevel) {
|
|
5550
|
+
const item2 = stack[j];
|
|
5802
5551
|
let openQuote;
|
|
5803
5552
|
let closeQuote;
|
|
5804
5553
|
if (isSingle) {
|
|
@@ -5809,18 +5558,23 @@ function process_inlines(tokens, state) {
|
|
|
5809
5558
|
closeQuote = state.md.options.quotes[1];
|
|
5810
5559
|
}
|
|
5811
5560
|
addReplacement(replacements, i, t.index, closeQuote);
|
|
5812
|
-
addReplacement(replacements, item2.
|
|
5813
|
-
stack
|
|
5561
|
+
addReplacement(replacements, item2.tokenIdx, item2.contentPos, openQuote);
|
|
5562
|
+
truncateStack(stack, heads, j);
|
|
5814
5563
|
continue OUTER;
|
|
5815
5564
|
}
|
|
5816
5565
|
}
|
|
5817
|
-
if (canOpen)
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5566
|
+
if (canOpen) {
|
|
5567
|
+
if (stack.length >= MAX_OPENERS) return;
|
|
5568
|
+
stack.push({
|
|
5569
|
+
tokenIdx: i,
|
|
5570
|
+
contentPos: t.index,
|
|
5571
|
+
isSingleQuote: isSingle,
|
|
5572
|
+
level: thisLevel,
|
|
5573
|
+
prevSameQuoteIdx: isSingle ? heads.single : heads.double
|
|
5574
|
+
});
|
|
5575
|
+
if (isSingle) heads.single = stack.length - 1;
|
|
5576
|
+
else heads.double = stack.length - 1;
|
|
5577
|
+
} else if (canClose && isSingle) addReplacement(replacements, i, t.index, APOSTROPHE);
|
|
5824
5578
|
}
|
|
5825
5579
|
}
|
|
5826
5580
|
Object.keys(replacements).forEach(function(tokenIdx) {
|
|
@@ -5870,7 +5624,7 @@ var _rules$2 = [
|
|
|
5870
5624
|
["normalize", normalize],
|
|
5871
5625
|
["block", block],
|
|
5872
5626
|
["strip_references", strip_references],
|
|
5873
|
-
["inline",
|
|
5627
|
+
["inline", inline],
|
|
5874
5628
|
["linkify", linkify$1],
|
|
5875
5629
|
["replacements", replace],
|
|
5876
5630
|
["smartquotes", smartquotes],
|
|
@@ -5919,12 +5673,14 @@ var StateBlock = class {
|
|
|
5919
5673
|
const s2 = this.src;
|
|
5920
5674
|
for (let start = 0, pos = 0, indent = 0, offset = 0, len = s2.length, indent_found = false; pos < len; pos++) {
|
|
5921
5675
|
const ch = s2.charCodeAt(pos);
|
|
5922
|
-
if (!indent_found)
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5676
|
+
if (!indent_found) {
|
|
5677
|
+
if (isSpace(ch)) {
|
|
5678
|
+
indent++;
|
|
5679
|
+
if (ch === 9) offset += 4 - offset % 4;
|
|
5680
|
+
else offset++;
|
|
5681
|
+
continue;
|
|
5682
|
+
} else indent_found = true;
|
|
5683
|
+
}
|
|
5928
5684
|
if (ch === 10 || pos === len - 1) {
|
|
5929
5685
|
if (ch !== 10) pos++;
|
|
5930
5686
|
this.bMarks.push(start);
|
|
@@ -5991,9 +5747,10 @@ var StateBlock = class {
|
|
|
5991
5747
|
else last = this.eMarks[line];
|
|
5992
5748
|
while (first < last && lineIndent < indent) {
|
|
5993
5749
|
const ch = this.src.charCodeAt(first);
|
|
5994
|
-
if (isSpace(ch))
|
|
5995
|
-
|
|
5996
|
-
|
|
5750
|
+
if (isSpace(ch)) {
|
|
5751
|
+
if (ch === 9) lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;
|
|
5752
|
+
else lineIndent++;
|
|
5753
|
+
} else if (first - lineStart < this.tShift[line]) lineIndent++;
|
|
5997
5754
|
else break;
|
|
5998
5755
|
first++;
|
|
5999
5756
|
}
|
|
@@ -6018,13 +5775,15 @@ function escapedSplit(str) {
|
|
|
6018
5775
|
let lastPos = 0;
|
|
6019
5776
|
let current = "";
|
|
6020
5777
|
while (pos < max2) {
|
|
6021
|
-
if (ch === 124)
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
5778
|
+
if (ch === 124) {
|
|
5779
|
+
if (!isEscaped) {
|
|
5780
|
+
result.push(current + str.substring(lastPos, pos));
|
|
5781
|
+
current = "";
|
|
5782
|
+
lastPos = pos + 1;
|
|
5783
|
+
} else {
|
|
5784
|
+
current += str.substring(lastPos, pos - 1);
|
|
5785
|
+
lastPos = pos;
|
|
5786
|
+
}
|
|
6028
5787
|
}
|
|
6029
5788
|
isEscaped = ch === 92;
|
|
6030
5789
|
pos++;
|
|
@@ -6033,7 +5792,7 @@ function escapedSplit(str) {
|
|
|
6033
5792
|
result.push(current + str.substring(lastPos));
|
|
6034
5793
|
return result;
|
|
6035
5794
|
}
|
|
6036
|
-
function
|
|
5795
|
+
function table(state, startLine, endLine, silent) {
|
|
6037
5796
|
if (startLine + 2 > endLine) return false;
|
|
6038
5797
|
let nextLine = startLine + 1;
|
|
6039
5798
|
if (state.sCount[nextLine] < state.blkIndent) return false;
|
|
@@ -6056,8 +5815,10 @@ function table2(state, startLine, endLine, silent) {
|
|
|
6056
5815
|
const aligns = [];
|
|
6057
5816
|
for (let i = 0; i < columns.length; i++) {
|
|
6058
5817
|
const t = columns[i].trim();
|
|
6059
|
-
if (!t)
|
|
6060
|
-
|
|
5818
|
+
if (!t) {
|
|
5819
|
+
if (i === 0 || i === columns.length - 1) continue;
|
|
5820
|
+
else return false;
|
|
5821
|
+
}
|
|
6061
5822
|
if (!/^:?-+:?$/.test(t)) return false;
|
|
6062
5823
|
if (t.charCodeAt(t.length - 1) === 58) aligns.push(t.charCodeAt(0) === 58 ? "center" : "right");
|
|
6063
5824
|
else if (t.charCodeAt(0) === 58) aligns.push("left");
|
|
@@ -6136,7 +5897,7 @@ function table2(state, startLine, endLine, silent) {
|
|
|
6136
5897
|
state.line = nextLine;
|
|
6137
5898
|
return true;
|
|
6138
5899
|
}
|
|
6139
|
-
function
|
|
5900
|
+
function code(state, startLine, endLine) {
|
|
6140
5901
|
if (state.sCount[startLine] - state.blkIndent < 4) return false;
|
|
6141
5902
|
let nextLine = startLine + 1;
|
|
6142
5903
|
let last = nextLine;
|
|
@@ -6158,7 +5919,7 @@ function code2(state, startLine, endLine) {
|
|
|
6158
5919
|
token.map = [startLine, state.line];
|
|
6159
5920
|
return true;
|
|
6160
5921
|
}
|
|
6161
|
-
function
|
|
5922
|
+
function fence(state, startLine, endLine, silent) {
|
|
6162
5923
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6163
5924
|
let max2 = state.eMarks[startLine];
|
|
6164
5925
|
if (!state.md.options.allowIndentation && state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
@@ -6201,7 +5962,7 @@ function fence2(state, startLine, endLine, silent) {
|
|
|
6201
5962
|
token.map = [startLine, state.line];
|
|
6202
5963
|
return true;
|
|
6203
5964
|
}
|
|
6204
|
-
function
|
|
5965
|
+
function blockquote(state, startLine, endLine, silent) {
|
|
6205
5966
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6206
5967
|
let max2 = state.eMarks[startLine];
|
|
6207
5968
|
const oldLineMax = state.lineMax;
|
|
@@ -6244,9 +6005,10 @@ function blockquote2(state, startLine, endLine, silent) {
|
|
|
6244
6005
|
state.bMarks[nextLine] = pos;
|
|
6245
6006
|
while (pos < max2) {
|
|
6246
6007
|
const ch = state.src.charCodeAt(pos);
|
|
6247
|
-
if (isSpace(ch))
|
|
6248
|
-
|
|
6249
|
-
|
|
6008
|
+
if (isSpace(ch)) {
|
|
6009
|
+
if (ch === 9) offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
|
|
6010
|
+
else offset++;
|
|
6011
|
+
} else break;
|
|
6250
6012
|
pos++;
|
|
6251
6013
|
}
|
|
6252
6014
|
lastLineEmpty = pos >= max2;
|
|
@@ -6302,7 +6064,7 @@ function blockquote2(state, startLine, endLine, silent) {
|
|
|
6302
6064
|
state.blkIndent = oldIndent;
|
|
6303
6065
|
return true;
|
|
6304
6066
|
}
|
|
6305
|
-
function
|
|
6067
|
+
function hr(state, startLine, endLine, silent) {
|
|
6306
6068
|
const max2 = state.eMarks[startLine];
|
|
6307
6069
|
if (!state.md.options.allowIndentation && state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
6308
6070
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
@@ -6363,7 +6125,7 @@ function markTightParagraphs(state, idx) {
|
|
|
6363
6125
|
i += 2;
|
|
6364
6126
|
}
|
|
6365
6127
|
}
|
|
6366
|
-
function
|
|
6128
|
+
function list(state, startLine, endLine, silent) {
|
|
6367
6129
|
let max2, pos, start, token;
|
|
6368
6130
|
let nextLine = startLine;
|
|
6369
6131
|
let tight = true;
|
|
@@ -6473,131 +6235,141 @@ function list2(state, startLine, endLine, silent) {
|
|
|
6473
6235
|
if (tight) markTightParagraphs(state, listTokIdx);
|
|
6474
6236
|
return true;
|
|
6475
6237
|
}
|
|
6238
|
+
var MAX_LABEL_LENGTH = 999;
|
|
6239
|
+
function countCodePoints(str) {
|
|
6240
|
+
let length = str.length;
|
|
6241
|
+
for (let i = 0; i < str.length - 1; i++) {
|
|
6242
|
+
const high = str.charCodeAt(i);
|
|
6243
|
+
if (high < 55296 || high > 56319) continue;
|
|
6244
|
+
const low = str.charCodeAt(i + 1);
|
|
6245
|
+
if (low >= 56320 && low <= 57343) {
|
|
6246
|
+
length--;
|
|
6247
|
+
i++;
|
|
6248
|
+
}
|
|
6249
|
+
}
|
|
6250
|
+
return length;
|
|
6251
|
+
}
|
|
6252
|
+
function lineEnd(state, line) {
|
|
6253
|
+
return Math.min(state.eMarks[line] + 1, state.src.length);
|
|
6254
|
+
}
|
|
6255
|
+
function getNextLinePos(state, nextLine) {
|
|
6256
|
+
const endLine = state.lineMax;
|
|
6257
|
+
if (nextLine >= endLine || state.isEmpty(nextLine)) return -1;
|
|
6258
|
+
let isContinuation = false;
|
|
6259
|
+
if (!state.md.options.allowIndentation && state.sCount[nextLine] - state.blkIndent > 3) isContinuation = true;
|
|
6260
|
+
if (state.sCount[nextLine] < 0) isContinuation = true;
|
|
6261
|
+
if (!isContinuation) {
|
|
6262
|
+
const terminatorRules = state.md.block.ruler.getRules("reference");
|
|
6263
|
+
const oldParentType = state.parentType;
|
|
6264
|
+
state.parentType = "reference";
|
|
6265
|
+
let terminate = false;
|
|
6266
|
+
for (let i = 0, l = terminatorRules.length; i < l; i++) if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
6267
|
+
terminate = true;
|
|
6268
|
+
break;
|
|
6269
|
+
}
|
|
6270
|
+
state.parentType = oldParentType;
|
|
6271
|
+
if (terminate) return -1;
|
|
6272
|
+
}
|
|
6273
|
+
return state.bMarks[nextLine] + state.tShift[nextLine];
|
|
6274
|
+
}
|
|
6476
6275
|
function reference(state, startLine, _endLine, silent) {
|
|
6276
|
+
const src = state.src;
|
|
6477
6277
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6478
|
-
let max2 = state.eMarks[startLine];
|
|
6479
6278
|
let nextLine = startLine + 1;
|
|
6480
6279
|
if (!state.md.options.allowIndentation && state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
6481
|
-
if (
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
if (nextLine2 >= endLine || state.isEmpty(nextLine2)) return null;
|
|
6485
|
-
let isContinuation = false;
|
|
6486
|
-
if (!state.md.options.allowIndentation && state.sCount[nextLine2] - state.blkIndent > 3) isContinuation = true;
|
|
6487
|
-
if (state.sCount[nextLine2] < 0) isContinuation = true;
|
|
6488
|
-
if (!isContinuation) {
|
|
6489
|
-
const terminatorRules = state.md.block.ruler.getRules("reference");
|
|
6490
|
-
const oldParentType = state.parentType;
|
|
6491
|
-
state.parentType = "reference";
|
|
6492
|
-
let terminate = false;
|
|
6493
|
-
for (let i = 0, l = terminatorRules.length; i < l; i++) if (terminatorRules[i](state, nextLine2, endLine, true)) {
|
|
6494
|
-
terminate = true;
|
|
6495
|
-
break;
|
|
6496
|
-
}
|
|
6497
|
-
state.parentType = oldParentType;
|
|
6498
|
-
if (terminate) return null;
|
|
6499
|
-
}
|
|
6500
|
-
const pos2 = state.bMarks[nextLine2] + state.tShift[nextLine2];
|
|
6501
|
-
const max3 = state.eMarks[nextLine2];
|
|
6502
|
-
return state.src.slice(pos2, max3 + 1);
|
|
6503
|
-
}
|
|
6504
|
-
let str = state.src.slice(pos, max2 + 1);
|
|
6505
|
-
max2 = str.length;
|
|
6280
|
+
if (src.charCodeAt(pos) !== 91) return false;
|
|
6281
|
+
let max2 = lineEnd(state, startLine);
|
|
6282
|
+
let rawLabel = "";
|
|
6506
6283
|
let labelEnd = -1;
|
|
6507
|
-
|
|
6508
|
-
|
|
6284
|
+
let segmentStart = ++pos;
|
|
6285
|
+
while (pos < max2) {
|
|
6286
|
+
if (rawLabel.length + pos - segmentStart > MAX_LABEL_LENGTH * 2) return false;
|
|
6287
|
+
let ch = src.charCodeAt(pos);
|
|
6509
6288
|
if (ch === 91) return false;
|
|
6510
|
-
|
|
6289
|
+
if (ch === 93) {
|
|
6511
6290
|
labelEnd = pos;
|
|
6512
6291
|
break;
|
|
6513
|
-
} else if (ch === 10) {
|
|
6514
|
-
const lineContent = getNextLine(nextLine);
|
|
6515
|
-
if (lineContent !== null) {
|
|
6516
|
-
str += lineContent;
|
|
6517
|
-
max2 = str.length;
|
|
6518
|
-
nextLine++;
|
|
6519
|
-
}
|
|
6520
|
-
} else if (ch === 92) {
|
|
6521
|
-
pos++;
|
|
6522
|
-
if (pos < max2 && str.charCodeAt(pos) === 10) {
|
|
6523
|
-
const lineContent = getNextLine(nextLine);
|
|
6524
|
-
if (lineContent !== null) {
|
|
6525
|
-
str += lineContent;
|
|
6526
|
-
max2 = str.length;
|
|
6527
|
-
nextLine++;
|
|
6528
|
-
}
|
|
6529
|
-
}
|
|
6530
6292
|
}
|
|
6293
|
+
if (ch === 92) ch = src.charCodeAt(++pos);
|
|
6294
|
+
if (ch === 10 && pos < max2) {
|
|
6295
|
+
const nextPos = getNextLinePos(state, nextLine);
|
|
6296
|
+
if (nextPos < 0) return false;
|
|
6297
|
+
rawLabel += src.slice(segmentStart, max2);
|
|
6298
|
+
pos = segmentStart = nextPos;
|
|
6299
|
+
max2 = lineEnd(state, nextLine++);
|
|
6300
|
+
continue;
|
|
6301
|
+
}
|
|
6302
|
+
pos++;
|
|
6531
6303
|
}
|
|
6532
|
-
if (labelEnd < 0 ||
|
|
6533
|
-
|
|
6534
|
-
|
|
6304
|
+
if (labelEnd < 0 || src.charCodeAt(labelEnd + 1) !== 58) return false;
|
|
6305
|
+
rawLabel += src.slice(segmentStart, labelEnd);
|
|
6306
|
+
if (rawLabel.length > MAX_LABEL_LENGTH && countCodePoints(rawLabel) > MAX_LABEL_LENGTH) return false;
|
|
6307
|
+
pos = labelEnd + 2;
|
|
6308
|
+
while (pos < max2) {
|
|
6309
|
+
const ch = src.charCodeAt(pos);
|
|
6535
6310
|
if (ch === 10) {
|
|
6536
|
-
const
|
|
6537
|
-
if (
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
}
|
|
6545
|
-
const destRes = state.md.helpers.parseLinkDestination(str, pos, max2);
|
|
6311
|
+
const nextPos = getNextLinePos(state, nextLine);
|
|
6312
|
+
if (nextPos < 0) break;
|
|
6313
|
+
pos = nextPos;
|
|
6314
|
+
max2 = lineEnd(state, nextLine++);
|
|
6315
|
+
} else if (isSpace(ch)) pos++;
|
|
6316
|
+
else break;
|
|
6317
|
+
}
|
|
6318
|
+
const destRes = state.md.helpers.parseLinkDestination(src, pos, max2);
|
|
6546
6319
|
if (!destRes.ok) return false;
|
|
6547
6320
|
const href = state.md.normalizeLink(destRes.str);
|
|
6548
6321
|
if (!state.md.validateLink(href)) return false;
|
|
6549
6322
|
pos = destRes.pos;
|
|
6550
6323
|
const destEndPos = pos;
|
|
6324
|
+
const destEndMax = max2;
|
|
6551
6325
|
const destEndLineNo = nextLine;
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
const ch = str.charCodeAt(pos);
|
|
6326
|
+
while (pos < max2) {
|
|
6327
|
+
const ch = src.charCodeAt(pos);
|
|
6555
6328
|
if (ch === 10) {
|
|
6556
|
-
const
|
|
6557
|
-
if (
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
let titleRes = state.md.helpers.parseLinkTitle(str, pos, max2);
|
|
6329
|
+
const nextPos = getNextLinePos(state, nextLine);
|
|
6330
|
+
if (nextPos < 0) break;
|
|
6331
|
+
pos = nextPos;
|
|
6332
|
+
max2 = lineEnd(state, nextLine++);
|
|
6333
|
+
} else if (isSpace(ch)) pos++;
|
|
6334
|
+
else break;
|
|
6335
|
+
}
|
|
6336
|
+
const titleStart = pos;
|
|
6337
|
+
let titleRes = state.md.helpers.parseLinkTitle(src, pos, max2);
|
|
6566
6338
|
while (titleRes.can_continue) {
|
|
6567
|
-
const
|
|
6568
|
-
if (
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
nextLine++;
|
|
6573
|
-
titleRes = state.md.helpers.parseLinkTitle(str, pos, max2, titleRes);
|
|
6339
|
+
const nextPos = getNextLinePos(state, nextLine);
|
|
6340
|
+
if (nextPos < 0) break;
|
|
6341
|
+
pos = nextPos;
|
|
6342
|
+
max2 = lineEnd(state, nextLine++);
|
|
6343
|
+
titleRes = state.md.helpers.parseLinkTitle(src, pos, max2, titleRes);
|
|
6574
6344
|
}
|
|
6575
6345
|
let title;
|
|
6576
|
-
if (
|
|
6346
|
+
if (titleStart !== destEndPos && titleRes.ok) {
|
|
6577
6347
|
title = titleRes.str;
|
|
6578
6348
|
pos = titleRes.pos;
|
|
6579
6349
|
} else {
|
|
6580
6350
|
title = "";
|
|
6581
6351
|
pos = destEndPos;
|
|
6352
|
+
max2 = destEndMax;
|
|
6582
6353
|
nextLine = destEndLineNo;
|
|
6583
6354
|
}
|
|
6584
6355
|
while (pos < max2) {
|
|
6585
|
-
if (!isSpace(
|
|
6356
|
+
if (!isSpace(src.charCodeAt(pos))) break;
|
|
6586
6357
|
pos++;
|
|
6587
6358
|
}
|
|
6588
|
-
if (pos < max2 &&
|
|
6359
|
+
if (pos < max2 && src.charCodeAt(pos) !== 10) {
|
|
6589
6360
|
if (title) {
|
|
6590
6361
|
title = "";
|
|
6591
6362
|
pos = destEndPos;
|
|
6363
|
+
max2 = destEndMax;
|
|
6592
6364
|
nextLine = destEndLineNo;
|
|
6593
6365
|
while (pos < max2) {
|
|
6594
|
-
if (!isSpace(
|
|
6366
|
+
if (!isSpace(src.charCodeAt(pos))) break;
|
|
6595
6367
|
pos++;
|
|
6596
6368
|
}
|
|
6597
6369
|
}
|
|
6598
6370
|
}
|
|
6599
|
-
if (pos < max2 &&
|
|
6600
|
-
const label = normalizeReference(
|
|
6371
|
+
if (pos < max2 && src.charCodeAt(pos) !== 10) return false;
|
|
6372
|
+
const label = normalizeReference(rawLabel);
|
|
6601
6373
|
if (!label) return false;
|
|
6602
6374
|
if (silent) return true;
|
|
6603
6375
|
if (typeof state.env.references === "undefined") state.env.references = {};
|
|
@@ -6680,7 +6452,7 @@ var html_blocks_default = [
|
|
|
6680
6452
|
];
|
|
6681
6453
|
var open_tag = `<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`;
|
|
6682
6454
|
var close_tag = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";
|
|
6683
|
-
|
|
6455
|
+
new RegExp(`^(?:${open_tag}|${close_tag}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`);
|
|
6684
6456
|
var HTML_OPEN_CLOSE_TAG_RE = new RegExp(`^(?:${open_tag}|${close_tag})`);
|
|
6685
6457
|
var HTML_SEQUENCES = [
|
|
6686
6458
|
[
|
|
@@ -6750,7 +6522,7 @@ function html_block(state, startLine, endLine, silent) {
|
|
|
6750
6522
|
token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
|
|
6751
6523
|
return true;
|
|
6752
6524
|
}
|
|
6753
|
-
function
|
|
6525
|
+
function heading(state, startLine, endLine, silent) {
|
|
6754
6526
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6755
6527
|
let max2 = state.eMarks[startLine];
|
|
6756
6528
|
if (!state.md.options.allowIndentation && state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
@@ -6830,7 +6602,7 @@ function lheading(state, startLine, endLine) {
|
|
|
6830
6602
|
state.parentType = oldParentType;
|
|
6831
6603
|
return true;
|
|
6832
6604
|
}
|
|
6833
|
-
function
|
|
6605
|
+
function paragraph(state, startLine, endLine) {
|
|
6834
6606
|
const terminatorRules = state.md.block.ruler.getRules("paragraph");
|
|
6835
6607
|
const oldParentType = state.parentType;
|
|
6836
6608
|
let nextLine = startLine + 1;
|
|
@@ -6860,13 +6632,13 @@ function paragraph2(state, startLine, endLine) {
|
|
|
6860
6632
|
var _rules$1 = [
|
|
6861
6633
|
[
|
|
6862
6634
|
"table",
|
|
6863
|
-
|
|
6635
|
+
table,
|
|
6864
6636
|
["paragraph", "reference"]
|
|
6865
6637
|
],
|
|
6866
|
-
["code",
|
|
6638
|
+
["code", code],
|
|
6867
6639
|
[
|
|
6868
6640
|
"fence",
|
|
6869
|
-
|
|
6641
|
+
fence,
|
|
6870
6642
|
[
|
|
6871
6643
|
"paragraph",
|
|
6872
6644
|
"reference",
|
|
@@ -6876,7 +6648,7 @@ var _rules$1 = [
|
|
|
6876
6648
|
],
|
|
6877
6649
|
[
|
|
6878
6650
|
"blockquote",
|
|
6879
|
-
|
|
6651
|
+
blockquote,
|
|
6880
6652
|
[
|
|
6881
6653
|
"paragraph",
|
|
6882
6654
|
"reference",
|
|
@@ -6886,7 +6658,7 @@ var _rules$1 = [
|
|
|
6886
6658
|
],
|
|
6887
6659
|
[
|
|
6888
6660
|
"hr",
|
|
6889
|
-
|
|
6661
|
+
hr,
|
|
6890
6662
|
[
|
|
6891
6663
|
"paragraph",
|
|
6892
6664
|
"reference",
|
|
@@ -6896,7 +6668,7 @@ var _rules$1 = [
|
|
|
6896
6668
|
],
|
|
6897
6669
|
[
|
|
6898
6670
|
"list",
|
|
6899
|
-
|
|
6671
|
+
list,
|
|
6900
6672
|
[
|
|
6901
6673
|
"paragraph",
|
|
6902
6674
|
"reference",
|
|
@@ -6915,7 +6687,7 @@ var _rules$1 = [
|
|
|
6915
6687
|
],
|
|
6916
6688
|
[
|
|
6917
6689
|
"heading",
|
|
6918
|
-
|
|
6690
|
+
heading,
|
|
6919
6691
|
[
|
|
6920
6692
|
"paragraph",
|
|
6921
6693
|
"reference",
|
|
@@ -6923,7 +6695,7 @@ var _rules$1 = [
|
|
|
6923
6695
|
]
|
|
6924
6696
|
],
|
|
6925
6697
|
["lheading", lheading],
|
|
6926
|
-
["paragraph",
|
|
6698
|
+
["paragraph", paragraph]
|
|
6927
6699
|
];
|
|
6928
6700
|
var ParserBlock = class {
|
|
6929
6701
|
constructor() {
|
|
@@ -6990,6 +6762,7 @@ var StateInline = class {
|
|
|
6990
6762
|
_defineProperty(this, "cache", {});
|
|
6991
6763
|
_defineProperty(this, "backticks", {});
|
|
6992
6764
|
_defineProperty(this, "backticksScanned", false);
|
|
6765
|
+
_defineProperty(this, "skipHtmlSpecial", false);
|
|
6993
6766
|
_defineProperty(this, "linkLevel", 0);
|
|
6994
6767
|
_defineProperty(this, "delimiters", []);
|
|
6995
6768
|
_defineProperty(this, "_prev_delimiters", []);
|
|
@@ -7095,7 +6868,7 @@ function isTerminatorChar(ch) {
|
|
|
7095
6868
|
return false;
|
|
7096
6869
|
}
|
|
7097
6870
|
}
|
|
7098
|
-
function
|
|
6871
|
+
function text(state, silent) {
|
|
7099
6872
|
let pos = state.pos;
|
|
7100
6873
|
while (pos < state.posMax && !isTerminatorChar(state.src.charCodeAt(pos))) pos++;
|
|
7101
6874
|
if (pos === state.pos) return false;
|
|
@@ -7152,16 +6925,19 @@ function newline(state, silent) {
|
|
|
7152
6925
|
if (state.src.charCodeAt(pos) !== 10) return false;
|
|
7153
6926
|
const pmax = state.pending.length - 1;
|
|
7154
6927
|
const max2 = state.posMax;
|
|
7155
|
-
if (!silent)
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
6928
|
+
if (!silent) {
|
|
6929
|
+
if (pmax >= 0 && state.pending.charCodeAt(pmax) === 32) {
|
|
6930
|
+
if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 32) {
|
|
6931
|
+
let ws = pmax - 1;
|
|
6932
|
+
while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 32) ws--;
|
|
6933
|
+
state.pending = state.pending.slice(0, ws);
|
|
6934
|
+
state.push("hardbreak", "br", 0);
|
|
6935
|
+
} else {
|
|
6936
|
+
state.pending = state.pending.slice(0, -1);
|
|
6937
|
+
state.push("softbreak", "br", 0);
|
|
6938
|
+
}
|
|
6939
|
+
} else state.push("softbreak", "br", 0);
|
|
7163
6940
|
}
|
|
7164
|
-
else state.push("softbreak", "br", 0);
|
|
7165
6941
|
pos++;
|
|
7166
6942
|
while (pos < max2 && isSpace(state.src.charCodeAt(pos))) pos++;
|
|
7167
6943
|
state.pos = pos;
|
|
@@ -7408,7 +7184,7 @@ var emphasis_default = {
|
|
|
7408
7184
|
tokenize: emphasis_tokenize,
|
|
7409
7185
|
postProcess: emphasis_post_process
|
|
7410
7186
|
};
|
|
7411
|
-
function
|
|
7187
|
+
function link(state, silent) {
|
|
7412
7188
|
let code3, label, res, ref;
|
|
7413
7189
|
let href = "";
|
|
7414
7190
|
let title = "";
|
|
@@ -7492,7 +7268,7 @@ function link2(state, silent) {
|
|
|
7492
7268
|
state.posMax = max2;
|
|
7493
7269
|
return true;
|
|
7494
7270
|
}
|
|
7495
|
-
function
|
|
7271
|
+
function image(state, silent) {
|
|
7496
7272
|
let code3, content, label, pos, ref, res, title, start;
|
|
7497
7273
|
let href = "";
|
|
7498
7274
|
const oldPos = state.pos;
|
|
@@ -7634,22 +7410,53 @@ function isLetter(ch) {
|
|
|
7634
7410
|
const lc = ch | 32;
|
|
7635
7411
|
return lc >= 97 && lc <= 122;
|
|
7636
7412
|
}
|
|
7413
|
+
function scanSpecial(state, pos) {
|
|
7414
|
+
const src = state.src;
|
|
7415
|
+
let start;
|
|
7416
|
+
let terminator;
|
|
7417
|
+
if (src.startsWith("<!--", pos)) {
|
|
7418
|
+
if (src.startsWith(">", pos + 4)) return pos + 5;
|
|
7419
|
+
if (src.startsWith("->", pos + 4)) return pos + 6;
|
|
7420
|
+
start = pos + 4;
|
|
7421
|
+
terminator = "-->";
|
|
7422
|
+
} else if (src.startsWith("<![CDATA[", pos)) {
|
|
7423
|
+
start = pos + 9;
|
|
7424
|
+
terminator = "]]>";
|
|
7425
|
+
} else if (src.charCodeAt(pos + 1) === 63) {
|
|
7426
|
+
start = pos + 2;
|
|
7427
|
+
terminator = "?>";
|
|
7428
|
+
} else if (isLetter(src.charCodeAt(pos + 2))) {
|
|
7429
|
+
start = pos + 3;
|
|
7430
|
+
terminator = ">";
|
|
7431
|
+
} else return -1;
|
|
7432
|
+
if (state.skipHtmlSpecial) return -1;
|
|
7433
|
+
const end = src.indexOf(terminator, start);
|
|
7434
|
+
if (end < 0) {
|
|
7435
|
+
state.skipHtmlSpecial = true;
|
|
7436
|
+
return -1;
|
|
7437
|
+
}
|
|
7438
|
+
return end + terminator.length;
|
|
7439
|
+
}
|
|
7637
7440
|
function html_inline(state, silent) {
|
|
7638
7441
|
if (!state.md.options.html) return false;
|
|
7639
7442
|
const max2 = state.posMax;
|
|
7640
7443
|
const pos = state.pos;
|
|
7641
7444
|
if (state.src.charCodeAt(pos) !== 60 || pos + 2 >= max2) return false;
|
|
7445
|
+
let end;
|
|
7642
7446
|
const ch = state.src.charCodeAt(pos + 1);
|
|
7643
|
-
if (ch
|
|
7644
|
-
|
|
7645
|
-
|
|
7447
|
+
if (ch === 33 || ch === 63) end = scanSpecial(state, pos);
|
|
7448
|
+
else if (ch === 47 || isLetter(ch)) {
|
|
7449
|
+
const match = state.src.slice(pos).match(HTML_OPEN_CLOSE_TAG_RE);
|
|
7450
|
+
end = match ? pos + match[0].length : -1;
|
|
7451
|
+
} else return false;
|
|
7452
|
+
if (end < 0) return false;
|
|
7646
7453
|
if (!silent) {
|
|
7647
7454
|
const token = state.push("html_inline", "", 0);
|
|
7648
|
-
token.content =
|
|
7455
|
+
token.content = state.src.slice(pos, end);
|
|
7649
7456
|
if (isLinkOpen(token.content)) state.linkLevel++;
|
|
7650
7457
|
if (isLinkClose(token.content)) state.linkLevel--;
|
|
7651
7458
|
}
|
|
7652
|
-
state.pos
|
|
7459
|
+
state.pos = end;
|
|
7653
7460
|
return true;
|
|
7654
7461
|
}
|
|
7655
7462
|
var DIGITAL_RE = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i;
|
|
@@ -7769,15 +7576,15 @@ function fragments_join(state) {
|
|
|
7769
7576
|
if (curr !== last) tokens.length = last;
|
|
7770
7577
|
}
|
|
7771
7578
|
var _rules = [
|
|
7772
|
-
["text",
|
|
7579
|
+
["text", text],
|
|
7773
7580
|
["linkify", linkify],
|
|
7774
7581
|
["newline", newline],
|
|
7775
7582
|
["escape", escape],
|
|
7776
7583
|
["backticks", backtick],
|
|
7777
7584
|
["strikethrough", strikethrough_default.tokenize],
|
|
7778
7585
|
["emphasis", emphasis_default.tokenize],
|
|
7779
|
-
["link",
|
|
7780
|
-
["image",
|
|
7586
|
+
["link", link],
|
|
7587
|
+
["image", image],
|
|
7781
7588
|
["autolink", autolink],
|
|
7782
7589
|
["html_inline", html_inline],
|
|
7783
7590
|
["entity", entity]
|
|
@@ -8271,152 +8078,411 @@ var MarkdownIt = class {
|
|
|
8271
8078
|
render(src, env = {}) {
|
|
8272
8079
|
return this.renderer.render(this.parse(src, env), this.options, env);
|
|
8273
8080
|
}
|
|
8274
|
-
/**
|
|
8275
|
-
* The same as {@link MarkdownIt.parse} but skip all block rules. It returns
|
|
8276
|
-
* the block tokens list with the single `inline` element, containing parsed
|
|
8277
|
-
* inline tokens in `children` property. Also updates `env` object.
|
|
8278
|
-
*/
|
|
8279
|
-
parseInline(src, env) {
|
|
8280
|
-
const state = new this.core.State(src, this, env);
|
|
8281
|
-
state.inlineMode = true;
|
|
8282
|
-
this.core.process(state);
|
|
8283
|
-
return state.tokens;
|
|
8081
|
+
/**
|
|
8082
|
+
* The same as {@link MarkdownIt.parse} but skip all block rules. It returns
|
|
8083
|
+
* the block tokens list with the single `inline` element, containing parsed
|
|
8084
|
+
* inline tokens in `children` property. Also updates `env` object.
|
|
8085
|
+
*/
|
|
8086
|
+
parseInline(src, env) {
|
|
8087
|
+
const state = new this.core.State(src, this, env);
|
|
8088
|
+
state.inlineMode = true;
|
|
8089
|
+
this.core.process(state);
|
|
8090
|
+
return state.tokens;
|
|
8091
|
+
}
|
|
8092
|
+
/**
|
|
8093
|
+
* Similar to {@link MarkdownIt.render} but for single paragraph content.
|
|
8094
|
+
* Result will NOT be wrapped into `<p>` tags.
|
|
8095
|
+
*/
|
|
8096
|
+
renderInline(src, env = {}) {
|
|
8097
|
+
return this.renderer.render(this.parseInline(src, env), this.options, env);
|
|
8098
|
+
}
|
|
8099
|
+
};
|
|
8100
|
+
_defineProperty(MarkdownIt, "Token", Token);
|
|
8101
|
+
_defineProperty(MarkdownIt, "Ruler", Ruler);
|
|
8102
|
+
_defineProperty(MarkdownIt, "Renderer", Renderer);
|
|
8103
|
+
_defineProperty(MarkdownIt, "ParserCore", ParserCore);
|
|
8104
|
+
_defineProperty(MarkdownIt, "StateCore", StateCore);
|
|
8105
|
+
_defineProperty(MarkdownIt, "ParserBlock", ParserBlock);
|
|
8106
|
+
_defineProperty(MarkdownIt, "StateBlock", StateBlock);
|
|
8107
|
+
_defineProperty(MarkdownIt, "ParserInline", ParserInline);
|
|
8108
|
+
_defineProperty(MarkdownIt, "StateInline", StateInline);
|
|
8109
|
+
var MarkdownItCallable = callable(MarkdownIt);
|
|
8110
|
+
|
|
8111
|
+
// src/renderers/html.ts
|
|
8112
|
+
var { escapeHtml: escapeHtml2 } = MarkdownItCallable().utils;
|
|
8113
|
+
var voidElements = /* @__PURE__ */ new Set([
|
|
8114
|
+
"area",
|
|
8115
|
+
"base",
|
|
8116
|
+
"br",
|
|
8117
|
+
"col",
|
|
8118
|
+
"embed",
|
|
8119
|
+
"hr",
|
|
8120
|
+
"img",
|
|
8121
|
+
"input",
|
|
8122
|
+
"link",
|
|
8123
|
+
"meta",
|
|
8124
|
+
"param",
|
|
8125
|
+
"source",
|
|
8126
|
+
"track",
|
|
8127
|
+
"wbr"
|
|
8128
|
+
]);
|
|
8129
|
+
var tagName = /^[a-zA-Z][^\s/>\0]*$/;
|
|
8130
|
+
var attributeName = /^[^\s"'>/=\0]+$/;
|
|
8131
|
+
function render(node2) {
|
|
8132
|
+
if (typeof node2 === "string" || typeof node2 === "number")
|
|
8133
|
+
return escapeHtml2(String(node2));
|
|
8134
|
+
if (Array.isArray(node2)) return node2.map(render).join("");
|
|
8135
|
+
if (node2 === null || typeof node2 !== "object" || !Tag.isTag(node2)) return "";
|
|
8136
|
+
const { name, attributes, children = [] } = node2;
|
|
8137
|
+
if (!name || !tagName.test(name)) return render(children);
|
|
8138
|
+
let output = `<${name}`;
|
|
8139
|
+
for (const [k, v] of Object.entries(attributes ?? {}))
|
|
8140
|
+
if (v != null && attributeName.test(k))
|
|
8141
|
+
output += ` ${k.toLowerCase()}="${escapeHtml2(String(v))}"`;
|
|
8142
|
+
output += ">";
|
|
8143
|
+
if (voidElements.has(name)) return output;
|
|
8144
|
+
if (children.length) output += render(children);
|
|
8145
|
+
output += `</${name}>`;
|
|
8146
|
+
return output;
|
|
8147
|
+
}
|
|
8148
|
+
|
|
8149
|
+
// src/renderers/react/react.ts
|
|
8150
|
+
function tagName2(name, components) {
|
|
8151
|
+
return typeof name !== "string" ? name : name[0] !== name[0].toUpperCase() ? name : components instanceof Function ? components(name) : components[name];
|
|
8152
|
+
}
|
|
8153
|
+
function dynamic(node2, React, { components = {}, resolveTagName = tagName2 } = {}) {
|
|
8154
|
+
function deepRender2(value) {
|
|
8155
|
+
if (value == null || typeof value !== "object") return value;
|
|
8156
|
+
if (Array.isArray(value)) return value.map((item2) => deepRender2(item2));
|
|
8157
|
+
if (value.$$mdtype === "Tag") return render3(value);
|
|
8158
|
+
if (typeof value !== "object") return value;
|
|
8159
|
+
return Object.fromEntries(
|
|
8160
|
+
Object.entries(value).map(([k, v]) => [k, deepRender2(v)])
|
|
8161
|
+
);
|
|
8162
|
+
}
|
|
8163
|
+
function render3(node3) {
|
|
8164
|
+
if (Array.isArray(node3))
|
|
8165
|
+
return React.createElement(React.Fragment, null, ...node3.map(render3));
|
|
8166
|
+
if (node3 === null || typeof node3 !== "object" || !Tag.isTag(node3)) {
|
|
8167
|
+
return node3;
|
|
8168
|
+
}
|
|
8169
|
+
const {
|
|
8170
|
+
name,
|
|
8171
|
+
attributes: { class: className, ...attrs } = {},
|
|
8172
|
+
children = []
|
|
8173
|
+
} = node3;
|
|
8174
|
+
if (className) attrs.className = className;
|
|
8175
|
+
return React.createElement(
|
|
8176
|
+
resolveTagName(name, components),
|
|
8177
|
+
Object.keys(attrs).length === 0 ? null : deepRender2(attrs),
|
|
8178
|
+
...children.map(render3)
|
|
8179
|
+
);
|
|
8180
|
+
}
|
|
8181
|
+
return render3(node2);
|
|
8182
|
+
}
|
|
8183
|
+
|
|
8184
|
+
// src/renderers/react/static.ts
|
|
8185
|
+
function tagName3(name, components) {
|
|
8186
|
+
return typeof name !== "string" ? "Fragment" : name[0] !== name[0].toUpperCase() ? name : components instanceof Function ? components(name) : components[name];
|
|
8187
|
+
}
|
|
8188
|
+
function renderArray(children) {
|
|
8189
|
+
return children.map(render2).join(", ");
|
|
8190
|
+
}
|
|
8191
|
+
function deepRender(value) {
|
|
8192
|
+
if (value == null || typeof value !== "object") return JSON.stringify(value);
|
|
8193
|
+
if (Array.isArray(value))
|
|
8194
|
+
return `[${value.map((item2) => deepRender(item2)).join(", ")}]`;
|
|
8195
|
+
if (value.$$mdtype === "Tag") return render2(value);
|
|
8196
|
+
if (typeof value !== "object") return JSON.stringify(value);
|
|
8197
|
+
const object = Object.entries(value).map(([k, v]) => [JSON.stringify(k), deepRender(v)].join(": ")).join(", ");
|
|
8198
|
+
return `{${object}}`;
|
|
8199
|
+
}
|
|
8200
|
+
function render2(node2) {
|
|
8201
|
+
if (Array.isArray(node2))
|
|
8202
|
+
return `React.createElement(React.Fragment, null, ${renderArray(node2)})`;
|
|
8203
|
+
if (node2 === null || typeof node2 !== "object" || !Tag.isTag(node2))
|
|
8204
|
+
return JSON.stringify(node2);
|
|
8205
|
+
const {
|
|
8206
|
+
name,
|
|
8207
|
+
attributes: { class: className, ...attrs } = {},
|
|
8208
|
+
children = []
|
|
8209
|
+
} = node2;
|
|
8210
|
+
if (className) attrs.className = className;
|
|
8211
|
+
return `React.createElement(
|
|
8212
|
+
tagName(${JSON.stringify(name)}, components),
|
|
8213
|
+
${Object.keys(attrs).length === 0 ? "null" : deepRender(attrs)},
|
|
8214
|
+
${renderArray(children)})`;
|
|
8215
|
+
}
|
|
8216
|
+
function reactStatic(node2, { resolveTagName = tagName3 } = {}) {
|
|
8217
|
+
return `
|
|
8218
|
+
(({components = {}} = {}) => {
|
|
8219
|
+
const tagName = (${resolveTagName});
|
|
8220
|
+
return ${render2(node2)};
|
|
8221
|
+
})
|
|
8222
|
+
`;
|
|
8223
|
+
}
|
|
8224
|
+
|
|
8225
|
+
// src/renderers/index.ts
|
|
8226
|
+
var renderers_default = { html: render, react: dynamic, reactStatic };
|
|
8227
|
+
|
|
8228
|
+
// src/schema.ts
|
|
8229
|
+
var schema_exports = {};
|
|
8230
|
+
__export(schema_exports, {
|
|
8231
|
+
blockquote: () => blockquote2,
|
|
8232
|
+
code: () => code2,
|
|
8233
|
+
comment: () => comment,
|
|
8234
|
+
document: () => document,
|
|
8235
|
+
em: () => em,
|
|
8236
|
+
error: () => error2,
|
|
8237
|
+
fence: () => fence2,
|
|
8238
|
+
hardbreak: () => hardbreak,
|
|
8239
|
+
heading: () => heading2,
|
|
8240
|
+
hr: () => hr2,
|
|
8241
|
+
image: () => image2,
|
|
8242
|
+
inline: () => inline2,
|
|
8243
|
+
item: () => item,
|
|
8244
|
+
link: () => link2,
|
|
8245
|
+
list: () => list2,
|
|
8246
|
+
node: () => node,
|
|
8247
|
+
paragraph: () => paragraph2,
|
|
8248
|
+
s: () => s,
|
|
8249
|
+
softbreak: () => softbreak,
|
|
8250
|
+
strong: () => strong,
|
|
8251
|
+
table: () => table2,
|
|
8252
|
+
tbody: () => tbody,
|
|
8253
|
+
td: () => td,
|
|
8254
|
+
text: () => text2,
|
|
8255
|
+
th: () => th,
|
|
8256
|
+
thead: () => thead,
|
|
8257
|
+
tr: () => tr
|
|
8258
|
+
});
|
|
8259
|
+
var document = {
|
|
8260
|
+
render: "article",
|
|
8261
|
+
children: [
|
|
8262
|
+
"heading",
|
|
8263
|
+
"paragraph",
|
|
8264
|
+
"image",
|
|
8265
|
+
"table",
|
|
8266
|
+
"tag",
|
|
8267
|
+
"fence",
|
|
8268
|
+
"blockquote",
|
|
8269
|
+
"comment",
|
|
8270
|
+
"list",
|
|
8271
|
+
"hr"
|
|
8272
|
+
],
|
|
8273
|
+
attributes: {
|
|
8274
|
+
frontmatter: { render: false }
|
|
8275
|
+
}
|
|
8276
|
+
};
|
|
8277
|
+
var heading2 = {
|
|
8278
|
+
children: ["inline"],
|
|
8279
|
+
attributes: {
|
|
8280
|
+
level: { type: Number, render: false, required: true }
|
|
8281
|
+
},
|
|
8282
|
+
transform(node2, config2) {
|
|
8283
|
+
const level = node2.attributes["level"];
|
|
8284
|
+
if (!(Number.isInteger(level) && level >= 1 && level <= 6))
|
|
8285
|
+
return node2.transformChildren(config2);
|
|
8286
|
+
return new Tag(
|
|
8287
|
+
`h${level}`,
|
|
8288
|
+
node2.transformAttributes(config2),
|
|
8289
|
+
node2.transformChildren(config2)
|
|
8290
|
+
);
|
|
8291
|
+
}
|
|
8292
|
+
};
|
|
8293
|
+
var paragraph2 = {
|
|
8294
|
+
render: "p",
|
|
8295
|
+
children: ["inline"]
|
|
8296
|
+
};
|
|
8297
|
+
var image2 = {
|
|
8298
|
+
render: "img",
|
|
8299
|
+
attributes: {
|
|
8300
|
+
src: { type: String, required: true },
|
|
8301
|
+
alt: { type: String },
|
|
8302
|
+
title: { type: String }
|
|
8303
|
+
// width/height attributes will need to be to be implemented as an extension to markdown-it
|
|
8304
|
+
}
|
|
8305
|
+
};
|
|
8306
|
+
var fence2 = {
|
|
8307
|
+
render: "pre",
|
|
8308
|
+
attributes: {
|
|
8309
|
+
content: { type: String, render: false, required: true },
|
|
8310
|
+
language: { type: String, render: "data-language" },
|
|
8311
|
+
process: { type: Boolean, render: false, default: true }
|
|
8312
|
+
},
|
|
8313
|
+
transform(node2, config2) {
|
|
8314
|
+
const attributes = node2.transformAttributes(config2);
|
|
8315
|
+
const children = node2.children.length ? node2.transformChildren(config2) : [node2.attributes.content];
|
|
8316
|
+
return new Tag(this.render ?? "pre", attributes, children);
|
|
8317
|
+
}
|
|
8318
|
+
};
|
|
8319
|
+
var blockquote2 = {
|
|
8320
|
+
render: "blockquote",
|
|
8321
|
+
children: [
|
|
8322
|
+
"heading",
|
|
8323
|
+
"paragraph",
|
|
8324
|
+
"image",
|
|
8325
|
+
"table",
|
|
8326
|
+
"tag",
|
|
8327
|
+
"fence",
|
|
8328
|
+
"blockquote",
|
|
8329
|
+
"list",
|
|
8330
|
+
"hr"
|
|
8331
|
+
]
|
|
8332
|
+
};
|
|
8333
|
+
var item = {
|
|
8334
|
+
render: "li",
|
|
8335
|
+
children: [
|
|
8336
|
+
"inline",
|
|
8337
|
+
"heading",
|
|
8338
|
+
"paragraph",
|
|
8339
|
+
"image",
|
|
8340
|
+
"table",
|
|
8341
|
+
"tag",
|
|
8342
|
+
"fence",
|
|
8343
|
+
"blockquote",
|
|
8344
|
+
"list",
|
|
8345
|
+
"hr"
|
|
8346
|
+
]
|
|
8347
|
+
};
|
|
8348
|
+
var list2 = {
|
|
8349
|
+
children: ["item"],
|
|
8350
|
+
attributes: {
|
|
8351
|
+
ordered: { type: Boolean, render: false, required: true },
|
|
8352
|
+
start: { type: Number },
|
|
8353
|
+
marker: { type: String, render: false }
|
|
8354
|
+
},
|
|
8355
|
+
transform(node2, config2) {
|
|
8356
|
+
return new Tag(
|
|
8357
|
+
node2.attributes.ordered ? "ol" : "ul",
|
|
8358
|
+
node2.transformAttributes(config2),
|
|
8359
|
+
node2.transformChildren(config2)
|
|
8360
|
+
);
|
|
8361
|
+
}
|
|
8362
|
+
};
|
|
8363
|
+
var hr2 = {
|
|
8364
|
+
render: "hr"
|
|
8365
|
+
};
|
|
8366
|
+
var table2 = {
|
|
8367
|
+
render: "table"
|
|
8368
|
+
};
|
|
8369
|
+
var td = {
|
|
8370
|
+
render: "td",
|
|
8371
|
+
children: [
|
|
8372
|
+
"inline",
|
|
8373
|
+
"heading",
|
|
8374
|
+
"paragraph",
|
|
8375
|
+
"image",
|
|
8376
|
+
"table",
|
|
8377
|
+
"tag",
|
|
8378
|
+
"fence",
|
|
8379
|
+
"blockquote",
|
|
8380
|
+
"list",
|
|
8381
|
+
"hr"
|
|
8382
|
+
],
|
|
8383
|
+
attributes: {
|
|
8384
|
+
align: { type: String },
|
|
8385
|
+
colspan: { type: Number, render: "colSpan" },
|
|
8386
|
+
rowspan: { type: Number, render: "rowSpan" }
|
|
8387
|
+
}
|
|
8388
|
+
};
|
|
8389
|
+
var th = {
|
|
8390
|
+
render: "th",
|
|
8391
|
+
attributes: {
|
|
8392
|
+
width: { type: String },
|
|
8393
|
+
align: { type: String },
|
|
8394
|
+
colspan: { type: Number, render: "colSpan" },
|
|
8395
|
+
rowspan: { type: Number, render: "rowSpan" }
|
|
8396
|
+
}
|
|
8397
|
+
};
|
|
8398
|
+
var tr = {
|
|
8399
|
+
render: "tr",
|
|
8400
|
+
children: ["th", "td"]
|
|
8401
|
+
};
|
|
8402
|
+
var tbody = {
|
|
8403
|
+
render: "tbody",
|
|
8404
|
+
children: ["tr", "tag"]
|
|
8405
|
+
};
|
|
8406
|
+
var thead = {
|
|
8407
|
+
render: "thead",
|
|
8408
|
+
children: ["tr"]
|
|
8409
|
+
};
|
|
8410
|
+
var strong = {
|
|
8411
|
+
render: "strong",
|
|
8412
|
+
children: ["em", "s", "link", "code", "text", "tag"],
|
|
8413
|
+
attributes: {
|
|
8414
|
+
marker: { type: String, render: false }
|
|
8415
|
+
}
|
|
8416
|
+
};
|
|
8417
|
+
var em = {
|
|
8418
|
+
render: "em",
|
|
8419
|
+
children: ["strong", "s", "link", "code", "text", "tag"],
|
|
8420
|
+
attributes: {
|
|
8421
|
+
marker: { type: String, render: false }
|
|
8284
8422
|
}
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8423
|
+
};
|
|
8424
|
+
var s = {
|
|
8425
|
+
render: "s",
|
|
8426
|
+
children: ["strong", "em", "link", "code", "text", "tag"]
|
|
8427
|
+
};
|
|
8428
|
+
var inline2 = {
|
|
8429
|
+
children: [
|
|
8430
|
+
"strong",
|
|
8431
|
+
"em",
|
|
8432
|
+
"s",
|
|
8433
|
+
"code",
|
|
8434
|
+
"text",
|
|
8435
|
+
"tag",
|
|
8436
|
+
"link",
|
|
8437
|
+
"image",
|
|
8438
|
+
"hardbreak",
|
|
8439
|
+
"softbreak",
|
|
8440
|
+
"comment"
|
|
8441
|
+
]
|
|
8442
|
+
};
|
|
8443
|
+
var link2 = {
|
|
8444
|
+
render: "a",
|
|
8445
|
+
children: ["strong", "em", "s", "code", "text", "tag"],
|
|
8446
|
+
attributes: {
|
|
8447
|
+
href: { type: String, required: true },
|
|
8448
|
+
title: { type: String }
|
|
8291
8449
|
}
|
|
8292
8450
|
};
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
// src/renderers/html.ts
|
|
8305
|
-
var { escapeHtml: escapeHtml2 } = MarkdownItCallable().utils;
|
|
8306
|
-
var voidElements = /* @__PURE__ */ new Set([
|
|
8307
|
-
"area",
|
|
8308
|
-
"base",
|
|
8309
|
-
"br",
|
|
8310
|
-
"col",
|
|
8311
|
-
"embed",
|
|
8312
|
-
"hr",
|
|
8313
|
-
"img",
|
|
8314
|
-
"input",
|
|
8315
|
-
"link",
|
|
8316
|
-
"meta",
|
|
8317
|
-
"param",
|
|
8318
|
-
"source",
|
|
8319
|
-
"track",
|
|
8320
|
-
"wbr"
|
|
8321
|
-
]);
|
|
8322
|
-
function render(node2) {
|
|
8323
|
-
if (typeof node2 === "string" || typeof node2 === "number")
|
|
8324
|
-
return escapeHtml2(String(node2));
|
|
8325
|
-
if (Array.isArray(node2)) return node2.map(render).join("");
|
|
8326
|
-
if (node2 === null || typeof node2 !== "object" || !Tag.isTag(node2)) return "";
|
|
8327
|
-
const { name, attributes, children = [] } = node2;
|
|
8328
|
-
if (!name) return render(children);
|
|
8329
|
-
let output = `<${name}`;
|
|
8330
|
-
for (const [k, v] of Object.entries(attributes ?? {}))
|
|
8331
|
-
output += ` ${k.toLowerCase()}="${escapeHtml2(String(v))}"`;
|
|
8332
|
-
output += ">";
|
|
8333
|
-
if (voidElements.has(name)) return output;
|
|
8334
|
-
if (children.length) output += render(children);
|
|
8335
|
-
output += `</${name}>`;
|
|
8336
|
-
return output;
|
|
8337
|
-
}
|
|
8338
|
-
|
|
8339
|
-
// src/renderers/react/react.ts
|
|
8340
|
-
function tagName(name, components) {
|
|
8341
|
-
return typeof name !== "string" ? name : name[0] !== name[0].toUpperCase() ? name : components instanceof Function ? components(name) : components[name];
|
|
8342
|
-
}
|
|
8343
|
-
function dynamic(node2, React, { components = {}, resolveTagName = tagName } = {}) {
|
|
8344
|
-
function deepRender2(value) {
|
|
8345
|
-
if (value == null || typeof value !== "object") return value;
|
|
8346
|
-
if (Array.isArray(value)) return value.map((item2) => deepRender2(item2));
|
|
8347
|
-
if (value.$$mdtype === "Tag") return render3(value);
|
|
8348
|
-
if (typeof value !== "object") return value;
|
|
8349
|
-
return Object.fromEntries(
|
|
8350
|
-
Object.entries(value).map(([k, v]) => [k, deepRender2(v)])
|
|
8351
|
-
);
|
|
8451
|
+
var code2 = {
|
|
8452
|
+
render: "code",
|
|
8453
|
+
attributes: {
|
|
8454
|
+
content: { type: String, render: false, required: true }
|
|
8455
|
+
},
|
|
8456
|
+
transform(node2, config2) {
|
|
8457
|
+
const attributes = node2.transformAttributes(config2);
|
|
8458
|
+
return new Tag(this.render ?? "code", attributes, [
|
|
8459
|
+
node2.attributes.content
|
|
8460
|
+
]);
|
|
8352
8461
|
}
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
name,
|
|
8361
|
-
attributes: { class: className, ...attrs } = {},
|
|
8362
|
-
children = []
|
|
8363
|
-
} = node3;
|
|
8364
|
-
if (className) attrs.className = className;
|
|
8365
|
-
return React.createElement(
|
|
8366
|
-
resolveTagName(name, components),
|
|
8367
|
-
Object.keys(attrs).length == 0 ? null : deepRender2(attrs),
|
|
8368
|
-
...children.map(render3)
|
|
8369
|
-
);
|
|
8462
|
+
};
|
|
8463
|
+
var text2 = {
|
|
8464
|
+
attributes: {
|
|
8465
|
+
content: { type: String, required: true }
|
|
8466
|
+
},
|
|
8467
|
+
transform(node2) {
|
|
8468
|
+
return node2.attributes.content;
|
|
8370
8469
|
}
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
function renderArray(children) {
|
|
8379
|
-
return children.map(render2).join(", ");
|
|
8380
|
-
}
|
|
8381
|
-
function deepRender(value) {
|
|
8382
|
-
if (value == null || typeof value !== "object") return JSON.stringify(value);
|
|
8383
|
-
if (Array.isArray(value))
|
|
8384
|
-
return `[${value.map((item2) => deepRender(item2)).join(", ")}]`;
|
|
8385
|
-
if (value.$$mdtype === "Tag") return render2(value);
|
|
8386
|
-
if (typeof value !== "object") return JSON.stringify(value);
|
|
8387
|
-
const object = Object.entries(value).map(([k, v]) => [JSON.stringify(k), deepRender(v)].join(": ")).join(", ");
|
|
8388
|
-
return `{${object}}`;
|
|
8389
|
-
}
|
|
8390
|
-
function render2(node2) {
|
|
8391
|
-
if (Array.isArray(node2))
|
|
8392
|
-
return `React.createElement(React.Fragment, null, ${renderArray(node2)})`;
|
|
8393
|
-
if (node2 === null || typeof node2 !== "object" || !Tag.isTag(node2))
|
|
8394
|
-
return JSON.stringify(node2);
|
|
8395
|
-
const {
|
|
8396
|
-
name,
|
|
8397
|
-
attributes: { class: className, ...attrs } = {},
|
|
8398
|
-
children = []
|
|
8399
|
-
} = node2;
|
|
8400
|
-
if (className) attrs.className = className;
|
|
8401
|
-
return `React.createElement(
|
|
8402
|
-
tagName(${JSON.stringify(name)}, components),
|
|
8403
|
-
${Object.keys(attrs).length == 0 ? "null" : deepRender(attrs)},
|
|
8404
|
-
${renderArray(children)})`;
|
|
8405
|
-
}
|
|
8406
|
-
function reactStatic(node2, { resolveTagName = tagName2 } = {}) {
|
|
8407
|
-
if (resolveTagName.name !== "tagName") {
|
|
8408
|
-
throw new Error("resolveTagName must be named tagName");
|
|
8470
|
+
};
|
|
8471
|
+
var hardbreak = {
|
|
8472
|
+
render: "br"
|
|
8473
|
+
};
|
|
8474
|
+
var softbreak = {
|
|
8475
|
+
transform() {
|
|
8476
|
+
return " ";
|
|
8409
8477
|
}
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
}
|
|
8415
|
-
|
|
8416
|
-
}
|
|
8417
|
-
|
|
8418
|
-
// src/renderers/index.ts
|
|
8419
|
-
var renderers_default = { html: render, react: dynamic, reactStatic };
|
|
8478
|
+
};
|
|
8479
|
+
var comment = {
|
|
8480
|
+
attributes: {
|
|
8481
|
+
content: { type: String, required: true }
|
|
8482
|
+
}
|
|
8483
|
+
};
|
|
8484
|
+
var error2 = {};
|
|
8485
|
+
var node = {};
|
|
8420
8486
|
|
|
8421
8487
|
// src/tags/partial.ts
|
|
8422
8488
|
var PartialFile = class {
|
|
@@ -8459,12 +8525,6 @@ var partial = {
|
|
|
8459
8525
|
}
|
|
8460
8526
|
};
|
|
8461
8527
|
|
|
8462
|
-
// src/tags/table.ts
|
|
8463
|
-
var table3 = {
|
|
8464
|
-
children: ["table"],
|
|
8465
|
-
inline: false
|
|
8466
|
-
};
|
|
8467
|
-
|
|
8468
8528
|
// src/tags/slot.ts
|
|
8469
8529
|
var slot = {
|
|
8470
8530
|
attributes: {
|
|
@@ -8472,6 +8532,12 @@ var slot = {
|
|
|
8472
8532
|
}
|
|
8473
8533
|
};
|
|
8474
8534
|
|
|
8535
|
+
// src/tags/table.ts
|
|
8536
|
+
var table3 = {
|
|
8537
|
+
children: ["table"],
|
|
8538
|
+
inline: false
|
|
8539
|
+
};
|
|
8540
|
+
|
|
8475
8541
|
// src/tags/index.ts
|
|
8476
8542
|
var tags_default = {
|
|
8477
8543
|
else: tagElse,
|
|
@@ -8508,7 +8574,7 @@ function createToken(state, content, contentStart) {
|
|
|
8508
8574
|
return token;
|
|
8509
8575
|
}
|
|
8510
8576
|
}
|
|
8511
|
-
function block2(state, startLine,
|
|
8577
|
+
function block2(state, startLine, _endLine, silent) {
|
|
8512
8578
|
const start = state.bMarks[startLine] + state.tShift[startLine];
|
|
8513
8579
|
const finish = state.eMarks[startLine];
|
|
8514
8580
|
if (!state.src.startsWith(OPEN, start)) return false;
|
|
@@ -8574,35 +8640,10 @@ function plugin(md) {
|
|
|
8574
8640
|
md.core.ruler.push("annotations", core);
|
|
8575
8641
|
}
|
|
8576
8642
|
|
|
8577
|
-
// src/tokenizer/plugins/frontmatter.ts
|
|
8578
|
-
var fence3 = "---";
|
|
8579
|
-
function getLine2(state, n) {
|
|
8580
|
-
return state.src.slice(state.bMarks[n], state.eMarks[n]).trim();
|
|
8581
|
-
}
|
|
8582
|
-
function findClose(state, endLine) {
|
|
8583
|
-
for (let line = 1; line < endLine; line++)
|
|
8584
|
-
if (getLine2(state, line) === fence3) return line;
|
|
8585
|
-
}
|
|
8586
|
-
function block3(state, startLine, endLine, silent) {
|
|
8587
|
-
if (startLine != 0 || getLine2(state, 0) != fence3) return false;
|
|
8588
|
-
const close = findClose(state, endLine);
|
|
8589
|
-
if (!close) return false;
|
|
8590
|
-
if (silent) return true;
|
|
8591
|
-
const token = state.push("frontmatter", "", 0);
|
|
8592
|
-
token.content = state.src.slice(state.eMarks[0], state.bMarks[close]).trim();
|
|
8593
|
-
token.map = [0, close];
|
|
8594
|
-
token.hidden = true;
|
|
8595
|
-
state.line = close + 1;
|
|
8596
|
-
return true;
|
|
8597
|
-
}
|
|
8598
|
-
function plugin2(md) {
|
|
8599
|
-
md.block.ruler.before("hr", "frontmatter", block3);
|
|
8600
|
-
}
|
|
8601
|
-
|
|
8602
8643
|
// src/tokenizer/plugins/comments.ts
|
|
8603
8644
|
var OPEN2 = "<!--";
|
|
8604
8645
|
var CLOSE2 = "-->";
|
|
8605
|
-
function
|
|
8646
|
+
function block3(state, startLine, _endLine, silent) {
|
|
8606
8647
|
const start = state.bMarks[startLine] + state.tShift[startLine];
|
|
8607
8648
|
if (!state.src.startsWith(OPEN2, start)) return false;
|
|
8608
8649
|
const close = state.src.indexOf(CLOSE2, start);
|
|
@@ -8627,11 +8668,36 @@ function inline4(state, silent) {
|
|
|
8627
8668
|
state.pos = close + CLOSE2.length;
|
|
8628
8669
|
return true;
|
|
8629
8670
|
}
|
|
8630
|
-
function
|
|
8631
|
-
md.block.ruler.before("table", "comment",
|
|
8671
|
+
function plugin2(md) {
|
|
8672
|
+
md.block.ruler.before("table", "comment", block3, { alt: ["paragraph"] });
|
|
8632
8673
|
md.inline.ruler.push("comment", inline4);
|
|
8633
8674
|
}
|
|
8634
8675
|
|
|
8676
|
+
// src/tokenizer/plugins/frontmatter.ts
|
|
8677
|
+
var fence3 = "---";
|
|
8678
|
+
function getLine2(state, n) {
|
|
8679
|
+
return state.src.slice(state.bMarks[n], state.eMarks[n]).trim();
|
|
8680
|
+
}
|
|
8681
|
+
function findClose(state, endLine) {
|
|
8682
|
+
for (let line = 1; line < endLine; line++)
|
|
8683
|
+
if (getLine2(state, line) === fence3) return line;
|
|
8684
|
+
}
|
|
8685
|
+
function block4(state, startLine, endLine, silent) {
|
|
8686
|
+
if (startLine !== 0 || getLine2(state, 0) !== fence3) return false;
|
|
8687
|
+
const close = findClose(state, endLine);
|
|
8688
|
+
if (!close) return false;
|
|
8689
|
+
if (silent) return true;
|
|
8690
|
+
const token = state.push("frontmatter", "", 0);
|
|
8691
|
+
token.content = state.src.slice(state.eMarks[0], state.bMarks[close]).trim();
|
|
8692
|
+
token.map = [0, close];
|
|
8693
|
+
token.hidden = true;
|
|
8694
|
+
state.line = close + 1;
|
|
8695
|
+
return true;
|
|
8696
|
+
}
|
|
8697
|
+
function plugin3(md) {
|
|
8698
|
+
md.block.ruler.before("hr", "frontmatter", block4);
|
|
8699
|
+
}
|
|
8700
|
+
|
|
8635
8701
|
// src/tokenizer/plugins/link.ts
|
|
8636
8702
|
var INVALID_HREF_MESSAGE = "The 'href' format cannot contain Markdoc tag or variable. URLs must be static strings.";
|
|
8637
8703
|
function pushHrefError(token) {
|
|
@@ -8660,13 +8726,13 @@ var Tokenizer = class {
|
|
|
8660
8726
|
constructor(config2 = {}) {
|
|
8661
8727
|
this.parser = new MarkdownItCallable(config2);
|
|
8662
8728
|
this.parser.use(plugin);
|
|
8663
|
-
this.parser.use(
|
|
8729
|
+
this.parser.use(plugin3);
|
|
8664
8730
|
this.parser.disable([
|
|
8665
8731
|
"lheading",
|
|
8666
8732
|
// Disable indented `code_block` support https://spec.commonmark.org/0.30/#indented-code-block
|
|
8667
8733
|
"code"
|
|
8668
8734
|
]);
|
|
8669
|
-
if (config2.allowComments) this.parser.use(
|
|
8735
|
+
if (config2.allowComments) this.parser.use(plugin2);
|
|
8670
8736
|
if (config2.allowLinkValidation) {
|
|
8671
8737
|
this.parser.use(
|
|
8672
8738
|
plugin4,
|
|
@@ -8775,7 +8841,7 @@ function validator(node2, config2) {
|
|
|
8775
8841
|
});
|
|
8776
8842
|
return errors2;
|
|
8777
8843
|
}
|
|
8778
|
-
if (schema.inline !=
|
|
8844
|
+
if (schema.inline != null && node2.inline !== schema.inline)
|
|
8779
8845
|
errors2.push({
|
|
8780
8846
|
id: "tag-placement-invalid",
|
|
8781
8847
|
level: "critical",
|
|
@@ -8869,7 +8935,8 @@ function validator(node2, config2) {
|
|
|
8869
8935
|
}
|
|
8870
8936
|
}
|
|
8871
8937
|
for (const [key, { required }] of Object.entries(attributes))
|
|
8872
|
-
if (required &&
|
|
8938
|
+
if (required && // biome-ignore lint/suspicious/noPrototypeBuiltins: Object.hasOwn requires ES2022; Markdoc targets ES2021.
|
|
8939
|
+
(!Object.prototype.hasOwnProperty.call(node2.attributes, key) || node2.attributes[key] === void 0))
|
|
8873
8940
|
errors2.push({
|
|
8874
8941
|
id: "attribute-missing-required",
|
|
8875
8942
|
level: "error",
|
|
@@ -8902,9 +8969,27 @@ function validator(node2, config2) {
|
|
|
8902
8969
|
return errors2;
|
|
8903
8970
|
}
|
|
8904
8971
|
function* walkWithParents(node2, parents = []) {
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8972
|
+
const stack = [];
|
|
8973
|
+
let current = [node2, parents];
|
|
8974
|
+
while (true) {
|
|
8975
|
+
const [currentNode, currentParents] = current;
|
|
8976
|
+
yield current;
|
|
8977
|
+
const children = [
|
|
8978
|
+
...Object.values(currentNode.slots),
|
|
8979
|
+
...currentNode.children
|
|
8980
|
+
];
|
|
8981
|
+
if (children.length)
|
|
8982
|
+
stack.push({
|
|
8983
|
+
node: currentNode,
|
|
8984
|
+
parents: currentParents,
|
|
8985
|
+
children,
|
|
8986
|
+
index: 0
|
|
8987
|
+
});
|
|
8988
|
+
if (!stack.length) return;
|
|
8989
|
+
const frame = stack[stack.length - 1];
|
|
8990
|
+
current = [frame.children[frame.index++], [...frame.parents, frame.node]];
|
|
8991
|
+
if (frame.index === frame.children.length) stack.pop();
|
|
8992
|
+
}
|
|
8908
8993
|
}
|
|
8909
8994
|
function hasValidLocation(error3) {
|
|
8910
8995
|
const loc = error3.location;
|
|
@@ -9070,5 +9155,5 @@ export {
|
|
|
9070
9155
|
/*! Bundled license information:
|
|
9071
9156
|
|
|
9072
9157
|
markdown-it/dist/markdown-it.mjs:
|
|
9073
|
-
(*! markdown-it 15.0.
|
|
9158
|
+
(*! markdown-it 15.0.3 https://github.com/markdown-it/markdown-it @license MIT *)
|
|
9074
9159
|
*/
|