@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.js
CHANGED
|
@@ -190,11 +190,7 @@ var require_tag = __commonJS({
|
|
|
190
190
|
var peg$f3 = function(tag, primary, attributes, close) {
|
|
191
191
|
if (primary) {
|
|
192
192
|
attributes = attributes || [];
|
|
193
|
-
attributes.unshift({
|
|
194
|
-
type: "attribute",
|
|
195
|
-
name: "primary",
|
|
196
|
-
value: primary
|
|
197
|
-
});
|
|
193
|
+
attributes.unshift({ type: "attribute", name: "primary", value: primary });
|
|
198
194
|
}
|
|
199
195
|
const [type, nesting] = close ? ["tag", 0] : ["tag_open", 1];
|
|
200
196
|
return { type, nesting, meta: { tag, attributes } };
|
|
@@ -245,7 +241,8 @@ var require_tag = __commonJS({
|
|
|
245
241
|
return value;
|
|
246
242
|
};
|
|
247
243
|
var peg$f18 = function(prefix, head, tail) {
|
|
248
|
-
if (prefix === "@")
|
|
244
|
+
if (prefix === "@")
|
|
245
|
+
return [head, ...tail];
|
|
249
246
|
return new Variable2([head, ...tail]);
|
|
250
247
|
};
|
|
251
248
|
var peg$f19 = function() {
|
|
@@ -298,9 +295,7 @@ var require_tag = __commonJS({
|
|
|
298
295
|
var peg$result;
|
|
299
296
|
if ("startRule" in options) {
|
|
300
297
|
if (!(options.startRule in peg$startRuleFunctions)) {
|
|
301
|
-
throw new Error(
|
|
302
|
-
`Can't start parsing from rule "` + options.startRule + '".'
|
|
303
|
-
);
|
|
298
|
+
throw new Error(`Can't start parsing from rule "` + options.startRule + '".');
|
|
304
299
|
}
|
|
305
300
|
peg$startRuleFunction = peg$startRuleFunctions[options.startRule];
|
|
306
301
|
}
|
|
@@ -332,12 +327,7 @@ var require_tag = __commonJS({
|
|
|
332
327
|
return { type: "literal", text: text4, ignoreCase };
|
|
333
328
|
}
|
|
334
329
|
function peg$classExpectation(parts, inverted, ignoreCase) {
|
|
335
|
-
return {
|
|
336
|
-
type: "class",
|
|
337
|
-
parts,
|
|
338
|
-
inverted,
|
|
339
|
-
ignoreCase
|
|
340
|
-
};
|
|
330
|
+
return { type: "class", parts, inverted, ignoreCase };
|
|
341
331
|
}
|
|
342
332
|
function peg$anyExpectation() {
|
|
343
333
|
return { type: "any" };
|
|
@@ -1774,31 +1764,20 @@ function resolve(value, config2 = {}) {
|
|
|
1774
1764
|
const prototype = Object.getPrototypeOf(value);
|
|
1775
1765
|
if (prototype !== Object.prototype && prototype !== null) return value;
|
|
1776
1766
|
const output = Object.create(prototype);
|
|
1777
|
-
for (const [k, v] of Object.entries(value))
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1767
|
+
for (const [k, v] of Object.entries(value)) {
|
|
1768
|
+
const resolved = resolve(v, config2);
|
|
1769
|
+
if (prototype === null || !(k in output)) output[k] = resolved;
|
|
1770
|
+
else
|
|
1771
|
+
Object.defineProperty(output, k, {
|
|
1772
|
+
value: resolved,
|
|
1773
|
+
enumerable: true,
|
|
1774
|
+
configurable: true,
|
|
1775
|
+
writable: true
|
|
1776
|
+
});
|
|
1777
|
+
}
|
|
1784
1778
|
return output;
|
|
1785
1779
|
}
|
|
1786
1780
|
|
|
1787
|
-
// src/tag.ts
|
|
1788
|
-
var Tag = class {
|
|
1789
|
-
constructor(name = "div", attributes = {}, children = []) {
|
|
1790
|
-
this.$$mdtype = "Tag";
|
|
1791
|
-
this.name = name;
|
|
1792
|
-
this.attributes = attributes;
|
|
1793
|
-
this.children = children;
|
|
1794
|
-
}
|
|
1795
|
-
static {
|
|
1796
|
-
this.isTag = (tag) => {
|
|
1797
|
-
return !!(tag?.$$mdtype === "Tag");
|
|
1798
|
-
};
|
|
1799
|
-
}
|
|
1800
|
-
};
|
|
1801
|
-
|
|
1802
1781
|
// src/schema-types/class.ts
|
|
1803
1782
|
var Class = class {
|
|
1804
1783
|
validate(value, _config, key) {
|
|
@@ -1833,6 +1812,21 @@ var Id = class {
|
|
|
1833
1812
|
}
|
|
1834
1813
|
};
|
|
1835
1814
|
|
|
1815
|
+
// src/tag.ts
|
|
1816
|
+
var Tag = class {
|
|
1817
|
+
constructor(name = "div", attributes = {}, children = []) {
|
|
1818
|
+
this.$$mdtype = "Tag";
|
|
1819
|
+
this.name = name;
|
|
1820
|
+
this.attributes = attributes;
|
|
1821
|
+
this.children = children;
|
|
1822
|
+
}
|
|
1823
|
+
static {
|
|
1824
|
+
this.isTag = (tag) => {
|
|
1825
|
+
return !!(tag?.$$mdtype === "Tag");
|
|
1826
|
+
};
|
|
1827
|
+
}
|
|
1828
|
+
};
|
|
1829
|
+
|
|
1836
1830
|
// src/utils.ts
|
|
1837
1831
|
var import_tag = __toESM(require_tag());
|
|
1838
1832
|
var OPEN = "{%";
|
|
@@ -1922,8 +1916,8 @@ function parseTags(content, firstLine = 0) {
|
|
|
1922
1916
|
const text3 = content.slice(pos, end + CLOSE.length);
|
|
1923
1917
|
const inner = content.slice(pos + OPEN.length, end);
|
|
1924
1918
|
const lineStart = content.lastIndexOf("\n", pos);
|
|
1925
|
-
const
|
|
1926
|
-
const lineContent = content.slice(lineStart,
|
|
1919
|
+
const lineEnd2 = content.indexOf("\n", end);
|
|
1920
|
+
const lineContent = content.slice(lineStart, lineEnd2);
|
|
1927
1921
|
const tag = parseTag(inner.trim(), line, pos - lineStart);
|
|
1928
1922
|
const precedingTextEnd = lineContent.trim() === text3 ? lineStart : pos;
|
|
1929
1923
|
const precedingText = content.slice(start, precedingTextEnd);
|
|
@@ -2006,7 +2000,7 @@ var transformer_default = {
|
|
|
2006
2000
|
if (schema && schema.transform instanceof Function)
|
|
2007
2001
|
return schema.transform(node2, config2);
|
|
2008
2002
|
const children = this.children(node2, config2);
|
|
2009
|
-
if (!schema
|
|
2003
|
+
if (!schema?.render) return children;
|
|
2010
2004
|
const attributes = this.attributes(node2, config2);
|
|
2011
2005
|
if (isPromise(attributes) || isPromise(children)) {
|
|
2012
2006
|
return Promise.all([attributes, children]).then(
|
|
@@ -2032,24 +2026,34 @@ var Node = class _Node {
|
|
|
2032
2026
|
this.slots = {};
|
|
2033
2027
|
}
|
|
2034
2028
|
*walk() {
|
|
2035
|
-
|
|
2029
|
+
const stack = [...Object.values(this.slots), ...this.children].reverse();
|
|
2030
|
+
while (stack.length) {
|
|
2031
|
+
const child = stack.pop();
|
|
2036
2032
|
yield child;
|
|
2037
|
-
|
|
2033
|
+
const walk = child.walk;
|
|
2034
|
+
if (walk !== defaultWalk) {
|
|
2035
|
+
yield* Reflect.apply(walk, child, []);
|
|
2036
|
+
continue;
|
|
2037
|
+
}
|
|
2038
|
+
const children = [...Object.values(child.slots), ...child.children];
|
|
2039
|
+
for (let index = children.length - 1; index >= 0; index--)
|
|
2040
|
+
stack.push(children[index]);
|
|
2038
2041
|
}
|
|
2039
2042
|
}
|
|
2040
2043
|
push(node2) {
|
|
2041
2044
|
this.children.push(node2);
|
|
2042
2045
|
}
|
|
2043
2046
|
resolve(config2 = {}) {
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2047
|
+
const node2 = new _Node();
|
|
2048
|
+
const children = this.children.map((child) => child.resolve(config2));
|
|
2049
|
+
const attributes = resolve(this.attributes, config2);
|
|
2050
|
+
const slots = Object.entries(this.slots);
|
|
2051
|
+
return Object.assign(node2, this, {
|
|
2052
|
+
children,
|
|
2053
|
+
attributes,
|
|
2054
|
+
slots: slots.length ? Object.fromEntries(
|
|
2055
|
+
slots.map(([name, slot2]) => [name, slot2.resolve(config2)])
|
|
2056
|
+
) : {}
|
|
2053
2057
|
});
|
|
2054
2058
|
}
|
|
2055
2059
|
findSchema(config2 = {}) {
|
|
@@ -2065,6 +2069,7 @@ var Node = class _Node {
|
|
|
2065
2069
|
return transformer_default.node(this, config2);
|
|
2066
2070
|
}
|
|
2067
2071
|
};
|
|
2072
|
+
var defaultWalk = Node.prototype.walk;
|
|
2068
2073
|
|
|
2069
2074
|
// src/ast/index.ts
|
|
2070
2075
|
var AstTypes = {
|
|
@@ -2181,14 +2186,14 @@ function* trimStart(g) {
|
|
|
2181
2186
|
yield* g;
|
|
2182
2187
|
}
|
|
2183
2188
|
function* escapeMarkdownCharacters(s2, characters) {
|
|
2184
|
-
yield s2.replace(characters, "\\$&").replace(
|
|
2189
|
+
yield s2.replace(characters, "\\$&").replace(/\xa0/g, " ");
|
|
2185
2190
|
}
|
|
2186
2191
|
function* formatNode(n, o = {}) {
|
|
2187
2192
|
const no = { ...o, parent: n };
|
|
2188
2193
|
const indent = SPACE.repeat(no.indent || 0);
|
|
2189
2194
|
switch (n.type) {
|
|
2190
2195
|
case "document": {
|
|
2191
|
-
if (n.attributes.frontmatter
|
|
2196
|
+
if (n.attributes.frontmatter?.length) {
|
|
2192
2197
|
yield "---" + NL + n.attributes.frontmatter + NL + "---" + NL + NL;
|
|
2193
2198
|
}
|
|
2194
2199
|
yield* trimStart(formatChildren(n, no));
|
|
@@ -2256,7 +2261,7 @@ function* formatNode(n, o = {}) {
|
|
|
2256
2261
|
if (o.parent && WRAPPING_TYPES.includes(o.parent.type)) {
|
|
2257
2262
|
yield* escapeMarkdownCharacters(content, /[*_~]/g);
|
|
2258
2263
|
} else {
|
|
2259
|
-
yield* escapeMarkdownCharacters(content,
|
|
2264
|
+
yield* escapeMarkdownCharacters(content, /^\*|(?<!#)#+\s|^>/);
|
|
2260
2265
|
}
|
|
2261
2266
|
}
|
|
2262
2267
|
break;
|
|
@@ -2419,7 +2424,7 @@ function* formatNode(n, o = {}) {
|
|
|
2419
2424
|
head.map((cell, i) => cell + SPACE.repeat(widths[i] - cell.length))
|
|
2420
2425
|
);
|
|
2421
2426
|
yield NL;
|
|
2422
|
-
yield* formatTableRow(head.map((
|
|
2427
|
+
yield* formatTableRow(head.map((_cell, i) => "-".repeat(widths[i])));
|
|
2423
2428
|
yield NL;
|
|
2424
2429
|
for (const row of rows) {
|
|
2425
2430
|
yield* formatTableRow(
|
|
@@ -2676,6 +2681,14 @@ function annotate(node2, attributes) {
|
|
|
2676
2681
|
});
|
|
2677
2682
|
continue;
|
|
2678
2683
|
}
|
|
2684
|
+
if (node2.type === "heading" && name === "level" && !(Number.isInteger(value) && value >= 1 && value <= 6)) {
|
|
2685
|
+
node2.errors.push({
|
|
2686
|
+
id: "attribute-value-invalid",
|
|
2687
|
+
level: "error",
|
|
2688
|
+
message: `Invalid heading level: '${value}'`
|
|
2689
|
+
});
|
|
2690
|
+
continue;
|
|
2691
|
+
}
|
|
2679
2692
|
if (Object.prototype.hasOwnProperty.call(node2.attributes, name))
|
|
2680
2693
|
node2.errors.push({
|
|
2681
2694
|
id: "duplicate-attribute",
|
|
@@ -2711,7 +2724,7 @@ function handleAttrs(token, type) {
|
|
|
2711
2724
|
case "text":
|
|
2712
2725
|
case "code":
|
|
2713
2726
|
case "comment":
|
|
2714
|
-
return { content:
|
|
2727
|
+
return { content: token.meta?.variable || token.content };
|
|
2715
2728
|
case "fence": {
|
|
2716
2729
|
const [language] = token.info.split(" ", 1);
|
|
2717
2730
|
return language === "" || language === OPEN ? { content: token.content } : { content: token.content, language };
|
|
@@ -2832,358 +2845,104 @@ function parser(tokens, args) {
|
|
|
2832
2845
|
return doc;
|
|
2833
2846
|
}
|
|
2834
2847
|
|
|
2835
|
-
//
|
|
2836
|
-
var
|
|
2837
|
-
__export(
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
em: () => em,
|
|
2843
|
-
error: () => error,
|
|
2844
|
-
fence: () => fence,
|
|
2845
|
-
hardbreak: () => hardbreak,
|
|
2846
|
-
heading: () => heading,
|
|
2847
|
-
hr: () => hr,
|
|
2848
|
-
image: () => image,
|
|
2849
|
-
inline: () => inline,
|
|
2850
|
-
item: () => item,
|
|
2851
|
-
link: () => link,
|
|
2852
|
-
list: () => list,
|
|
2853
|
-
node: () => node,
|
|
2854
|
-
paragraph: () => paragraph,
|
|
2855
|
-
s: () => s,
|
|
2856
|
-
softbreak: () => softbreak,
|
|
2857
|
-
strong: () => strong,
|
|
2858
|
-
table: () => table,
|
|
2859
|
-
tbody: () => tbody,
|
|
2860
|
-
td: () => td,
|
|
2861
|
-
text: () => text,
|
|
2862
|
-
th: () => th,
|
|
2863
|
-
thead: () => thead,
|
|
2864
|
-
tr: () => tr
|
|
2848
|
+
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.mjs
|
|
2849
|
+
var mdurl_exports = {};
|
|
2850
|
+
__export(mdurl_exports, {
|
|
2851
|
+
decode: () => decode_default,
|
|
2852
|
+
encode: () => encode_default,
|
|
2853
|
+
format: () => format2,
|
|
2854
|
+
parse: () => parse_default
|
|
2865
2855
|
});
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
"tag",
|
|
2874
|
-
"fence",
|
|
2875
|
-
"blockquote",
|
|
2876
|
-
"comment",
|
|
2877
|
-
"list",
|
|
2878
|
-
"hr"
|
|
2879
|
-
],
|
|
2880
|
-
attributes: {
|
|
2881
|
-
frontmatter: { render: false }
|
|
2856
|
+
|
|
2857
|
+
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.mjs
|
|
2858
|
+
var decodeCache = {};
|
|
2859
|
+
function getDecodeCache(exclude) {
|
|
2860
|
+
let cache = decodeCache[exclude];
|
|
2861
|
+
if (cache) {
|
|
2862
|
+
return cache;
|
|
2882
2863
|
}
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
level: { type: Number, render: false, required: true }
|
|
2888
|
-
},
|
|
2889
|
-
transform(node2, config2) {
|
|
2890
|
-
return new Tag(
|
|
2891
|
-
`h${node2.attributes["level"]}`,
|
|
2892
|
-
node2.transformAttributes(config2),
|
|
2893
|
-
node2.transformChildren(config2)
|
|
2894
|
-
);
|
|
2864
|
+
cache = decodeCache[exclude] = [];
|
|
2865
|
+
for (let i = 0; i < 128; i++) {
|
|
2866
|
+
const ch = String.fromCharCode(i);
|
|
2867
|
+
cache.push(ch);
|
|
2895
2868
|
}
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
children: ["inline"]
|
|
2900
|
-
};
|
|
2901
|
-
var image = {
|
|
2902
|
-
render: "img",
|
|
2903
|
-
attributes: {
|
|
2904
|
-
src: { type: String, required: true },
|
|
2905
|
-
alt: { type: String },
|
|
2906
|
-
title: { type: String }
|
|
2907
|
-
// width/height attributes will need to be to be implemented as an extension to markdown-it
|
|
2869
|
+
for (let i = 0; i < exclude.length; i++) {
|
|
2870
|
+
const ch = exclude.charCodeAt(i);
|
|
2871
|
+
cache[ch] = "%" + ("0" + ch.toString(16).toUpperCase()).slice(-2);
|
|
2908
2872
|
}
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
language: { type: String, render: "data-language" },
|
|
2915
|
-
process: { type: Boolean, render: false, default: true }
|
|
2916
|
-
},
|
|
2917
|
-
transform(node2, config2) {
|
|
2918
|
-
const attributes = node2.transformAttributes(config2);
|
|
2919
|
-
const children = node2.children.length ? node2.transformChildren(config2) : [node2.attributes.content];
|
|
2920
|
-
return new Tag("pre", attributes, children);
|
|
2873
|
+
return cache;
|
|
2874
|
+
}
|
|
2875
|
+
function decode(string, exclude) {
|
|
2876
|
+
if (typeof exclude !== "string") {
|
|
2877
|
+
exclude = decode.defaultChars;
|
|
2921
2878
|
}
|
|
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
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
}
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
}
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
}
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
]
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
colspan: { type: Number, render: "colSpan" },
|
|
2990
|
-
rowspan: { type: Number, render: "rowSpan" }
|
|
2991
|
-
}
|
|
2992
|
-
};
|
|
2993
|
-
var th = {
|
|
2994
|
-
render: "th",
|
|
2995
|
-
attributes: {
|
|
2996
|
-
width: { type: String },
|
|
2997
|
-
align: { type: String },
|
|
2998
|
-
colspan: { type: Number, render: "colSpan" },
|
|
2999
|
-
rowspan: { type: Number, render: "rowSpan" }
|
|
3000
|
-
}
|
|
3001
|
-
};
|
|
3002
|
-
var tr = {
|
|
3003
|
-
render: "tr",
|
|
3004
|
-
children: ["th", "td"]
|
|
3005
|
-
};
|
|
3006
|
-
var tbody = {
|
|
3007
|
-
render: "tbody",
|
|
3008
|
-
children: ["tr", "tag"]
|
|
3009
|
-
};
|
|
3010
|
-
var thead = {
|
|
3011
|
-
render: "thead",
|
|
3012
|
-
children: ["tr"]
|
|
3013
|
-
};
|
|
3014
|
-
var strong = {
|
|
3015
|
-
render: "strong",
|
|
3016
|
-
children: ["em", "s", "link", "code", "text", "tag"],
|
|
3017
|
-
attributes: {
|
|
3018
|
-
marker: { type: String, render: false }
|
|
3019
|
-
}
|
|
3020
|
-
};
|
|
3021
|
-
var em = {
|
|
3022
|
-
render: "em",
|
|
3023
|
-
children: ["strong", "s", "link", "code", "text", "tag"],
|
|
3024
|
-
attributes: {
|
|
3025
|
-
marker: { type: String, render: false }
|
|
3026
|
-
}
|
|
3027
|
-
};
|
|
3028
|
-
var s = {
|
|
3029
|
-
render: "s",
|
|
3030
|
-
children: ["strong", "em", "link", "code", "text", "tag"]
|
|
3031
|
-
};
|
|
3032
|
-
var inline = {
|
|
3033
|
-
children: [
|
|
3034
|
-
"strong",
|
|
3035
|
-
"em",
|
|
3036
|
-
"s",
|
|
3037
|
-
"code",
|
|
3038
|
-
"text",
|
|
3039
|
-
"tag",
|
|
3040
|
-
"link",
|
|
3041
|
-
"image",
|
|
3042
|
-
"hardbreak",
|
|
3043
|
-
"softbreak",
|
|
3044
|
-
"comment"
|
|
3045
|
-
]
|
|
3046
|
-
};
|
|
3047
|
-
var link = {
|
|
3048
|
-
render: "a",
|
|
3049
|
-
children: ["strong", "em", "s", "code", "text", "tag"],
|
|
3050
|
-
attributes: {
|
|
3051
|
-
href: { type: String, required: true },
|
|
3052
|
-
title: { type: String }
|
|
3053
|
-
}
|
|
3054
|
-
};
|
|
3055
|
-
var code = {
|
|
3056
|
-
render: "code",
|
|
3057
|
-
attributes: {
|
|
3058
|
-
content: { type: String, render: false, required: true }
|
|
3059
|
-
},
|
|
3060
|
-
transform(node2, config2) {
|
|
3061
|
-
const attributes = node2.transformAttributes(config2);
|
|
3062
|
-
return new Tag("code", attributes, [node2.attributes.content]);
|
|
3063
|
-
}
|
|
3064
|
-
};
|
|
3065
|
-
var text = {
|
|
3066
|
-
attributes: {
|
|
3067
|
-
content: { type: String, required: true }
|
|
3068
|
-
},
|
|
3069
|
-
transform(node2) {
|
|
3070
|
-
return node2.attributes.content;
|
|
3071
|
-
}
|
|
3072
|
-
};
|
|
3073
|
-
var hardbreak = {
|
|
3074
|
-
render: "br"
|
|
3075
|
-
};
|
|
3076
|
-
var softbreak = {
|
|
3077
|
-
transform() {
|
|
3078
|
-
return " ";
|
|
3079
|
-
}
|
|
3080
|
-
};
|
|
3081
|
-
var comment = {
|
|
3082
|
-
attributes: {
|
|
3083
|
-
content: { type: String, required: true }
|
|
3084
|
-
}
|
|
3085
|
-
};
|
|
3086
|
-
var error = {};
|
|
3087
|
-
var node = {};
|
|
3088
|
-
|
|
3089
|
-
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.mjs
|
|
3090
|
-
var mdurl_exports = {};
|
|
3091
|
-
__export(mdurl_exports, {
|
|
3092
|
-
decode: () => decode_default,
|
|
3093
|
-
encode: () => encode_default,
|
|
3094
|
-
format: () => format2,
|
|
3095
|
-
parse: () => parse_default
|
|
3096
|
-
});
|
|
3097
|
-
|
|
3098
|
-
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.mjs
|
|
3099
|
-
var decodeCache = {};
|
|
3100
|
-
function getDecodeCache(exclude) {
|
|
3101
|
-
let cache = decodeCache[exclude];
|
|
3102
|
-
if (cache) {
|
|
3103
|
-
return cache;
|
|
3104
|
-
}
|
|
3105
|
-
cache = decodeCache[exclude] = [];
|
|
3106
|
-
for (let i = 0; i < 128; i++) {
|
|
3107
|
-
const ch = String.fromCharCode(i);
|
|
3108
|
-
cache.push(ch);
|
|
3109
|
-
}
|
|
3110
|
-
for (let i = 0; i < exclude.length; i++) {
|
|
3111
|
-
const ch = exclude.charCodeAt(i);
|
|
3112
|
-
cache[ch] = "%" + ("0" + ch.toString(16).toUpperCase()).slice(-2);
|
|
3113
|
-
}
|
|
3114
|
-
return cache;
|
|
3115
|
-
}
|
|
3116
|
-
function decode(string, exclude) {
|
|
3117
|
-
if (typeof exclude !== "string") {
|
|
3118
|
-
exclude = decode.defaultChars;
|
|
3119
|
-
}
|
|
3120
|
-
const cache = getDecodeCache(exclude);
|
|
3121
|
-
return string.replace(/(%[a-f0-9]{2})+/gi, function(seq) {
|
|
3122
|
-
let result = "";
|
|
3123
|
-
for (let i = 0, l = seq.length; i < l; i += 3) {
|
|
3124
|
-
const b1 = parseInt(seq.slice(i + 1, i + 3), 16);
|
|
3125
|
-
if (b1 < 128) {
|
|
3126
|
-
result += cache[b1];
|
|
3127
|
-
continue;
|
|
3128
|
-
}
|
|
3129
|
-
if ((b1 & 224) === 192 && i + 3 < l) {
|
|
3130
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
3131
|
-
if ((b2 & 192) === 128) {
|
|
3132
|
-
const chr = b1 << 6 & 1984 | b2 & 63;
|
|
3133
|
-
if (chr < 128) {
|
|
3134
|
-
result += "\uFFFD\uFFFD";
|
|
3135
|
-
} else {
|
|
3136
|
-
result += String.fromCharCode(chr);
|
|
3137
|
-
}
|
|
3138
|
-
i += 3;
|
|
3139
|
-
continue;
|
|
3140
|
-
}
|
|
3141
|
-
}
|
|
3142
|
-
if ((b1 & 240) === 224 && i + 6 < l) {
|
|
3143
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
3144
|
-
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
3145
|
-
if ((b2 & 192) === 128 && (b3 & 192) === 128) {
|
|
3146
|
-
const chr = b1 << 12 & 61440 | b2 << 6 & 4032 | b3 & 63;
|
|
3147
|
-
if (chr < 2048 || chr >= 55296 && chr <= 57343) {
|
|
3148
|
-
result += "\uFFFD\uFFFD\uFFFD";
|
|
3149
|
-
} else {
|
|
3150
|
-
result += String.fromCharCode(chr);
|
|
3151
|
-
}
|
|
3152
|
-
i += 6;
|
|
3153
|
-
continue;
|
|
3154
|
-
}
|
|
3155
|
-
}
|
|
3156
|
-
if ((b1 & 248) === 240 && i + 9 < l) {
|
|
3157
|
-
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
3158
|
-
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
3159
|
-
const b4 = parseInt(seq.slice(i + 10, i + 12), 16);
|
|
3160
|
-
if ((b2 & 192) === 128 && (b3 & 192) === 128 && (b4 & 192) === 128) {
|
|
3161
|
-
let chr = b1 << 18 & 1835008 | b2 << 12 & 258048 | b3 << 6 & 4032 | b4 & 63;
|
|
3162
|
-
if (chr < 65536 || chr > 1114111) {
|
|
3163
|
-
result += "\uFFFD\uFFFD\uFFFD\uFFFD";
|
|
3164
|
-
} else {
|
|
3165
|
-
chr -= 65536;
|
|
3166
|
-
result += String.fromCharCode(55296 + (chr >> 10), 56320 + (chr & 1023));
|
|
3167
|
-
}
|
|
3168
|
-
i += 9;
|
|
3169
|
-
continue;
|
|
3170
|
-
}
|
|
3171
|
-
}
|
|
3172
|
-
result += "\uFFFD";
|
|
3173
|
-
}
|
|
3174
|
-
return result;
|
|
3175
|
-
});
|
|
3176
|
-
}
|
|
3177
|
-
decode.defaultChars = ";/?:@&=+$,#";
|
|
3178
|
-
decode.componentChars = "";
|
|
3179
|
-
var decode_default = decode;
|
|
3180
|
-
|
|
3181
|
-
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.mjs
|
|
3182
|
-
var encodeCache = {};
|
|
3183
|
-
function getEncodeCache(exclude) {
|
|
3184
|
-
let cache = encodeCache[exclude];
|
|
3185
|
-
if (cache) {
|
|
3186
|
-
return cache;
|
|
2879
|
+
const cache = getDecodeCache(exclude);
|
|
2880
|
+
return string.replace(/(%[a-f0-9]{2})+/gi, function(seq) {
|
|
2881
|
+
let result = "";
|
|
2882
|
+
for (let i = 0, l = seq.length; i < l; i += 3) {
|
|
2883
|
+
const b1 = parseInt(seq.slice(i + 1, i + 3), 16);
|
|
2884
|
+
if (b1 < 128) {
|
|
2885
|
+
result += cache[b1];
|
|
2886
|
+
continue;
|
|
2887
|
+
}
|
|
2888
|
+
if ((b1 & 224) === 192 && i + 3 < l) {
|
|
2889
|
+
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
2890
|
+
if ((b2 & 192) === 128) {
|
|
2891
|
+
const chr = b1 << 6 & 1984 | b2 & 63;
|
|
2892
|
+
if (chr < 128) {
|
|
2893
|
+
result += "\uFFFD\uFFFD";
|
|
2894
|
+
} else {
|
|
2895
|
+
result += String.fromCharCode(chr);
|
|
2896
|
+
}
|
|
2897
|
+
i += 3;
|
|
2898
|
+
continue;
|
|
2899
|
+
}
|
|
2900
|
+
}
|
|
2901
|
+
if ((b1 & 240) === 224 && i + 6 < l) {
|
|
2902
|
+
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
2903
|
+
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
2904
|
+
if ((b2 & 192) === 128 && (b3 & 192) === 128) {
|
|
2905
|
+
const chr = b1 << 12 & 61440 | b2 << 6 & 4032 | b3 & 63;
|
|
2906
|
+
if (chr < 2048 || chr >= 55296 && chr <= 57343) {
|
|
2907
|
+
result += "\uFFFD\uFFFD\uFFFD";
|
|
2908
|
+
} else {
|
|
2909
|
+
result += String.fromCharCode(chr);
|
|
2910
|
+
}
|
|
2911
|
+
i += 6;
|
|
2912
|
+
continue;
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
if ((b1 & 248) === 240 && i + 9 < l) {
|
|
2916
|
+
const b2 = parseInt(seq.slice(i + 4, i + 6), 16);
|
|
2917
|
+
const b3 = parseInt(seq.slice(i + 7, i + 9), 16);
|
|
2918
|
+
const b4 = parseInt(seq.slice(i + 10, i + 12), 16);
|
|
2919
|
+
if ((b2 & 192) === 128 && (b3 & 192) === 128 && (b4 & 192) === 128) {
|
|
2920
|
+
let chr = b1 << 18 & 1835008 | b2 << 12 & 258048 | b3 << 6 & 4032 | b4 & 63;
|
|
2921
|
+
if (chr < 65536 || chr > 1114111) {
|
|
2922
|
+
result += "\uFFFD\uFFFD\uFFFD\uFFFD";
|
|
2923
|
+
} else {
|
|
2924
|
+
chr -= 65536;
|
|
2925
|
+
result += String.fromCharCode(55296 + (chr >> 10), 56320 + (chr & 1023));
|
|
2926
|
+
}
|
|
2927
|
+
i += 9;
|
|
2928
|
+
continue;
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
result += "\uFFFD";
|
|
2932
|
+
}
|
|
2933
|
+
return result;
|
|
2934
|
+
});
|
|
2935
|
+
}
|
|
2936
|
+
decode.defaultChars = ";/?:@&=+$,#";
|
|
2937
|
+
decode.componentChars = "";
|
|
2938
|
+
var decode_default = decode;
|
|
2939
|
+
|
|
2940
|
+
// ../../node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.mjs
|
|
2941
|
+
var encodeCache = {};
|
|
2942
|
+
function getEncodeCache(exclude) {
|
|
2943
|
+
let cache = encodeCache[exclude];
|
|
2944
|
+
if (cache) {
|
|
2945
|
+
return cache;
|
|
3187
2946
|
}
|
|
3188
2947
|
cache = encodeCache[exclude] = [];
|
|
3189
2948
|
for (let i = 0; i < 128; i++) {
|
|
@@ -3459,98 +3218,207 @@ var P = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u05
|
|
|
3459
3218
|
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]/;
|
|
3460
3219
|
var Z = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;
|
|
3461
3220
|
|
|
3462
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3463
|
-
var
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3221
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/decode-codepoint.js
|
|
3222
|
+
var c1 = [
|
|
3223
|
+
8364,
|
|
3224
|
+
0,
|
|
3225
|
+
8218,
|
|
3226
|
+
402,
|
|
3227
|
+
8222,
|
|
3228
|
+
8230,
|
|
3229
|
+
8224,
|
|
3230
|
+
8225,
|
|
3231
|
+
710,
|
|
3232
|
+
8240,
|
|
3233
|
+
352,
|
|
3234
|
+
8249,
|
|
3235
|
+
338,
|
|
3236
|
+
0,
|
|
3237
|
+
381,
|
|
3238
|
+
0,
|
|
3239
|
+
0,
|
|
3240
|
+
8216,
|
|
3241
|
+
8217,
|
|
3242
|
+
8220,
|
|
3243
|
+
8221,
|
|
3244
|
+
8226,
|
|
3245
|
+
8211,
|
|
3246
|
+
8212,
|
|
3247
|
+
732,
|
|
3248
|
+
8482,
|
|
3249
|
+
353,
|
|
3250
|
+
8250,
|
|
3251
|
+
339,
|
|
3252
|
+
0,
|
|
3253
|
+
382,
|
|
3254
|
+
376
|
|
3255
|
+
];
|
|
3256
|
+
function isInvalidCodePoint(codePoint) {
|
|
3257
|
+
return codePoint === 0 || codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111;
|
|
3258
|
+
}
|
|
3494
3259
|
function replaceCodePoint(codePoint) {
|
|
3495
|
-
if (codePoint
|
|
3260
|
+
if (isInvalidCodePoint(codePoint)) {
|
|
3496
3261
|
return 65533;
|
|
3497
3262
|
}
|
|
3498
|
-
|
|
3263
|
+
if (codePoint >= 128 && codePoint <= 159) {
|
|
3264
|
+
return c1[codePoint - 128] || codePoint;
|
|
3265
|
+
}
|
|
3266
|
+
return codePoint;
|
|
3267
|
+
}
|
|
3268
|
+
function codePointToString(codePoint) {
|
|
3269
|
+
return codePoint - 1 >>> 0 < 127 || codePoint - 160 >>> 0 < 55136 ? String.fromCharCode(codePoint) : String.fromCodePoint(replaceCodePoint(codePoint));
|
|
3499
3270
|
}
|
|
3500
3271
|
|
|
3501
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3502
|
-
|
|
3503
|
-
const
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3272
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/internal/decode-shared.js
|
|
3273
|
+
var BASE91_INVERSE = /* @__PURE__ */ (() => {
|
|
3274
|
+
const table4 = new Uint8Array(127);
|
|
3275
|
+
let code3 = 0;
|
|
3276
|
+
for (let char = 33; char <= 126; char++) {
|
|
3277
|
+
if (char !== 34 && char !== 36 && char !== 92) {
|
|
3278
|
+
table4[char] = code3++;
|
|
3279
|
+
}
|
|
3280
|
+
}
|
|
3281
|
+
return table4;
|
|
3282
|
+
})();
|
|
3283
|
+
function decodeTrieDict(input, resultLength, atomCount, dict1AtomCount, ngramCount, dictSize) {
|
|
3284
|
+
const base2 = 91;
|
|
3285
|
+
const inputLength = input.length;
|
|
3286
|
+
const twoCharBias = dictSize * (base2 - 1);
|
|
3287
|
+
let pos = 0;
|
|
3288
|
+
const readSlotCode = () => {
|
|
3289
|
+
const c12 = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3290
|
+
return c12 < dictSize ? c12 : c12 * base2 - twoCharBias + BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3291
|
+
};
|
|
3292
|
+
const dict2AtomCount = atomCount - dict1AtomCount;
|
|
3293
|
+
const slotCount = atomCount + ngramCount;
|
|
3294
|
+
const single = new Int32Array(slotCount);
|
|
3295
|
+
single.fill(-1, dict1AtomCount, dictSize);
|
|
3296
|
+
single.fill(-1, dictSize + dict2AtomCount, slotCount);
|
|
3297
|
+
const start = new Int32Array(slotCount);
|
|
3298
|
+
const length = new Int32Array(slotCount);
|
|
3299
|
+
function decodeDelta(count, off) {
|
|
3300
|
+
let previous = 0;
|
|
3301
|
+
let slot2 = off;
|
|
3302
|
+
const end = off + count;
|
|
3303
|
+
while (slot2 < end) {
|
|
3304
|
+
const code3 = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3305
|
+
if (code3 < 89) {
|
|
3306
|
+
previous += code3;
|
|
3307
|
+
single[slot2++] = previous;
|
|
3308
|
+
} else if (code3 === 89) {
|
|
3309
|
+
let runLength = BASE91_INVERSE[input.charCodeAt(pos++)] + 2;
|
|
3310
|
+
while (runLength--)
|
|
3311
|
+
single[slot2++] = ++previous;
|
|
3312
|
+
} else {
|
|
3313
|
+
const next = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3314
|
+
previous += 89 + // eslint-disable-next-line unicorn/prefer-minimal-ternary -- branches read a different number of side-effecting input bytes
|
|
3315
|
+
(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++)]);
|
|
3316
|
+
single[slot2++] = previous;
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
decodeDelta(dict1AtomCount, 0);
|
|
3321
|
+
decodeDelta(dict2AtomCount, dictSize);
|
|
3322
|
+
const references = new Int32Array(ngramCount * 2);
|
|
3323
|
+
let poolSize = 0;
|
|
3324
|
+
let ngramIndex = 0;
|
|
3325
|
+
function readNgramReferences(count, startSlot) {
|
|
3326
|
+
for (let index = 0; index < count; index++) {
|
|
3327
|
+
const slot2 = startSlot + index;
|
|
3328
|
+
const a = readSlotCode();
|
|
3329
|
+
const b = readSlotCode();
|
|
3330
|
+
references[ngramIndex * 2] = a;
|
|
3331
|
+
references[ngramIndex * 2 + 1] = b;
|
|
3332
|
+
ngramIndex += 1;
|
|
3333
|
+
start[slot2] = poolSize;
|
|
3334
|
+
const entryLength = (single[a] < 0 ? length[a] : 1) + (single[b] < 0 ? length[b] : 1);
|
|
3335
|
+
length[slot2] = entryLength;
|
|
3336
|
+
poolSize += entryLength;
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3339
|
+
readNgramReferences(ngramCount - dictSize + dict1AtomCount, dictSize + dict2AtomCount);
|
|
3340
|
+
readNgramReferences(dictSize - dict1AtomCount, dict1AtomCount);
|
|
3341
|
+
const pool = new Uint16Array(poolSize);
|
|
3342
|
+
let write = 0;
|
|
3343
|
+
for (let index = 0; index < ngramIndex; index++) {
|
|
3344
|
+
for (let half = 0; half < 2; half++) {
|
|
3345
|
+
const source = references[index * 2 + half];
|
|
3346
|
+
const value = single[source];
|
|
3347
|
+
if (value < 0) {
|
|
3348
|
+
let read = start[source];
|
|
3349
|
+
const readEnd = read + length[source];
|
|
3350
|
+
while (read < readEnd)
|
|
3351
|
+
pool[write++] = pool[read++];
|
|
3352
|
+
} else {
|
|
3353
|
+
pool[write++] = value;
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
}
|
|
3357
|
+
const out = new Uint16Array(resultLength);
|
|
3358
|
+
let outIndex = 0;
|
|
3359
|
+
while (pos < inputLength) {
|
|
3360
|
+
let slot2 = BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3361
|
+
if (slot2 >= dictSize) {
|
|
3362
|
+
slot2 = slot2 * base2 - twoCharBias + BASE91_INVERSE[input.charCodeAt(pos++)];
|
|
3363
|
+
}
|
|
3364
|
+
const value = single[slot2];
|
|
3365
|
+
if (value < 0) {
|
|
3366
|
+
let read = start[slot2];
|
|
3367
|
+
const readEnd = read + length[slot2];
|
|
3368
|
+
while (read < readEnd)
|
|
3369
|
+
out[outIndex++] = pool[read++];
|
|
3370
|
+
} else {
|
|
3371
|
+
out[outIndex++] = value;
|
|
3372
|
+
}
|
|
3510
3373
|
}
|
|
3511
3374
|
return out;
|
|
3512
3375
|
}
|
|
3513
3376
|
|
|
3514
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3515
|
-
var htmlDecodeTree = /* @__PURE__ */ decodeBase64("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdA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i7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg");
|
|
3377
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/generated/decode-data-html.js
|
|
3378
|
+
var htmlDecode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|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);
|
|
3516
3379
|
|
|
3517
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3380
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/internal/bin-trie-flags.js
|
|
3518
3381
|
var BinTrieFlags;
|
|
3519
3382
|
(function(BinTrieFlags2) {
|
|
3520
3383
|
BinTrieFlags2[BinTrieFlags2["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
|
|
3521
3384
|
BinTrieFlags2[BinTrieFlags2["FLAG13"] = 8192] = "FLAG13";
|
|
3522
3385
|
BinTrieFlags2[BinTrieFlags2["BRANCH_LENGTH"] = 8064] = "BRANCH_LENGTH";
|
|
3523
3386
|
BinTrieFlags2[BinTrieFlags2["JUMP_TABLE"] = 127] = "JUMP_TABLE";
|
|
3387
|
+
BinTrieFlags2[BinTrieFlags2["VALUE_MASK"] = 8191] = "VALUE_MASK";
|
|
3524
3388
|
})(BinTrieFlags || (BinTrieFlags = {}));
|
|
3525
3389
|
|
|
3526
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3390
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/decode.js
|
|
3527
3391
|
var CharCodes;
|
|
3528
3392
|
(function(CharCodes2) {
|
|
3393
|
+
CharCodes2[CharCodes2["AMP"] = 38] = "AMP";
|
|
3529
3394
|
CharCodes2[CharCodes2["NUM"] = 35] = "NUM";
|
|
3530
3395
|
CharCodes2[CharCodes2["SEMI"] = 59] = "SEMI";
|
|
3531
3396
|
CharCodes2[CharCodes2["EQUALS"] = 61] = "EQUALS";
|
|
3532
3397
|
CharCodes2[CharCodes2["ZERO"] = 48] = "ZERO";
|
|
3533
3398
|
CharCodes2[CharCodes2["NINE"] = 57] = "NINE";
|
|
3534
3399
|
CharCodes2[CharCodes2["LOWER_A"] = 97] = "LOWER_A";
|
|
3535
|
-
CharCodes2[CharCodes2["LOWER_F"] = 102] = "LOWER_F";
|
|
3536
3400
|
CharCodes2[CharCodes2["LOWER_X"] = 120] = "LOWER_X";
|
|
3537
|
-
CharCodes2[CharCodes2["LOWER_Z"] = 122] = "LOWER_Z";
|
|
3538
|
-
CharCodes2[CharCodes2["UPPER_A"] = 65] = "UPPER_A";
|
|
3539
|
-
CharCodes2[CharCodes2["UPPER_F"] = 70] = "UPPER_F";
|
|
3540
|
-
CharCodes2[CharCodes2["UPPER_Z"] = 90] = "UPPER_Z";
|
|
3541
3401
|
})(CharCodes || (CharCodes = {}));
|
|
3542
3402
|
var TO_LOWER_BIT = 32;
|
|
3403
|
+
var CONSUMED_SHIFT = 21;
|
|
3404
|
+
var CODE_POINT_MASK = 2097151;
|
|
3405
|
+
var CONSUMED_OVERFLOW = 2047;
|
|
3406
|
+
var longNumericConsumed = 0;
|
|
3407
|
+
function unpackConsumed(packed) {
|
|
3408
|
+
const consumed = packed >>> CONSUMED_SHIFT;
|
|
3409
|
+
return consumed === CONSUMED_OVERFLOW ? longNumericConsumed : consumed;
|
|
3410
|
+
}
|
|
3543
3411
|
function isNumber(code3) {
|
|
3544
|
-
return code3
|
|
3412
|
+
return code3 - CharCodes.ZERO >>> 0 <= 9;
|
|
3545
3413
|
}
|
|
3546
3414
|
function isHexadecimalCharacter(code3) {
|
|
3547
|
-
return code3
|
|
3415
|
+
return (code3 | TO_LOWER_BIT) - CharCodes.LOWER_A >>> 0 <= 5;
|
|
3548
3416
|
}
|
|
3549
|
-
function
|
|
3550
|
-
return code3
|
|
3417
|
+
function isAlpha(code3) {
|
|
3418
|
+
return (code3 | TO_LOWER_BIT) - CharCodes.LOWER_A >>> 0 <= 25;
|
|
3551
3419
|
}
|
|
3552
3420
|
function isEntityInAttributeInvalidEnd(code3) {
|
|
3553
|
-
return code3 === CharCodes.EQUALS ||
|
|
3421
|
+
return code3 === CharCodes.EQUALS || isAlpha(code3) || isNumber(code3);
|
|
3554
3422
|
}
|
|
3555
3423
|
var EntityDecoderState;
|
|
3556
3424
|
(function(EntityDecoderState2) {
|
|
@@ -3566,364 +3434,234 @@ var DecodingMode;
|
|
|
3566
3434
|
DecodingMode2[DecodingMode2["Strict"] = 1] = "Strict";
|
|
3567
3435
|
DecodingMode2[DecodingMode2["Attribute"] = 2] = "Attribute";
|
|
3568
3436
|
})(DecodingMode || (DecodingMode = {}));
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
this.emitCodePoint = emitCodePoint;
|
|
3576
|
-
this.errors = errors2;
|
|
3577
|
-
}
|
|
3578
|
-
/** The current state of the decoder. */
|
|
3579
|
-
state = EntityDecoderState.EntityStart;
|
|
3580
|
-
/** Characters that were consumed while parsing an entity. */
|
|
3581
|
-
consumed = 1;
|
|
3582
|
-
/**
|
|
3583
|
-
* The result of the entity.
|
|
3584
|
-
*
|
|
3585
|
-
* Either the result index of a numeric entity, or the codepoint of a
|
|
3586
|
-
* numeric entity.
|
|
3587
|
-
*/
|
|
3588
|
-
result = 0;
|
|
3589
|
-
/** The current index in the decode tree. */
|
|
3590
|
-
treeIndex = 0;
|
|
3591
|
-
/** The number of characters that were consumed in excess. */
|
|
3592
|
-
excess = 1;
|
|
3593
|
-
/** The mode in which the decoder is operating. */
|
|
3594
|
-
decodeMode = DecodingMode.Strict;
|
|
3595
|
-
/** The number of characters that have been consumed in the current run. */
|
|
3596
|
-
runConsumed = 0;
|
|
3597
|
-
/**
|
|
3598
|
-
* Resets the instance to make it reusable.
|
|
3599
|
-
* @param decodeMode Entity decoding mode to use.
|
|
3600
|
-
*/
|
|
3601
|
-
startEntity(decodeMode) {
|
|
3602
|
-
this.decodeMode = decodeMode;
|
|
3603
|
-
this.state = EntityDecoderState.EntityStart;
|
|
3604
|
-
this.result = 0;
|
|
3605
|
-
this.treeIndex = 0;
|
|
3606
|
-
this.excess = 1;
|
|
3607
|
-
this.consumed = 1;
|
|
3608
|
-
this.runConsumed = 0;
|
|
3609
|
-
}
|
|
3610
|
-
/**
|
|
3611
|
-
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
3612
|
-
* If the entity is incomplete, the decoder will return -1.
|
|
3613
|
-
*
|
|
3614
|
-
* Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
|
|
3615
|
-
* entity is incomplete, and resume when the next string is written.
|
|
3616
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
3617
|
-
* @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
|
|
3618
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
3619
|
-
*/
|
|
3620
|
-
write(input, offset) {
|
|
3621
|
-
switch (this.state) {
|
|
3622
|
-
case EntityDecoderState.EntityStart: {
|
|
3623
|
-
if (input.charCodeAt(offset) === CharCodes.NUM) {
|
|
3624
|
-
this.state = EntityDecoderState.NumericStart;
|
|
3625
|
-
this.consumed += 1;
|
|
3626
|
-
return this.stateNumericStart(input, offset + 1);
|
|
3627
|
-
}
|
|
3628
|
-
this.state = EntityDecoderState.NamedEntity;
|
|
3629
|
-
return this.stateNamedEntity(input, offset);
|
|
3630
|
-
}
|
|
3631
|
-
case EntityDecoderState.NumericStart: {
|
|
3632
|
-
return this.stateNumericStart(input, offset);
|
|
3633
|
-
}
|
|
3634
|
-
case EntityDecoderState.NumericDecimal: {
|
|
3635
|
-
return this.stateNumericDecimal(input, offset);
|
|
3636
|
-
}
|
|
3637
|
-
case EntityDecoderState.NumericHex: {
|
|
3638
|
-
return this.stateNumericHex(input, offset);
|
|
3639
|
-
}
|
|
3640
|
-
case EntityDecoderState.NamedEntity: {
|
|
3641
|
-
return this.stateNamedEntity(input, offset);
|
|
3642
|
-
}
|
|
3437
|
+
function determineBranch(decodeTree, current, nodeIndex, char) {
|
|
3438
|
+
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3439
|
+
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
3440
|
+
if (jumpOffset) {
|
|
3441
|
+
if (branchCount === 0) {
|
|
3442
|
+
return char === jumpOffset ? nodeIndex : -1;
|
|
3643
3443
|
}
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
* Switches between the numeric decimal and hexadecimal states.
|
|
3647
|
-
*
|
|
3648
|
-
* Equivalent to the `Numeric character reference state` in the HTML spec.
|
|
3649
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
3650
|
-
* @param offset The current offset.
|
|
3651
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
3652
|
-
*/
|
|
3653
|
-
stateNumericStart(input, offset) {
|
|
3654
|
-
if (offset >= input.length) {
|
|
3444
|
+
const slot2 = char - jumpOffset;
|
|
3445
|
+
if (slot2 >>> 0 >= branchCount)
|
|
3655
3446
|
return -1;
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
this.state = EntityDecoderState.NumericHex;
|
|
3659
|
-
this.consumed += 1;
|
|
3660
|
-
return this.stateNumericHex(input, offset + 1);
|
|
3661
|
-
}
|
|
3662
|
-
this.state = EntityDecoderState.NumericDecimal;
|
|
3663
|
-
return this.stateNumericDecimal(input, offset);
|
|
3447
|
+
const stored = decodeTree[nodeIndex + slot2];
|
|
3448
|
+
return stored === 0 ? -1 : nodeIndex + branchCount + stored - 1 & 65535;
|
|
3664
3449
|
}
|
|
3665
|
-
|
|
3666
|
-
* Parses a hexadecimal numeric entity.
|
|
3667
|
-
*
|
|
3668
|
-
* Equivalent to the `Hexademical character reference state` in the HTML spec.
|
|
3669
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
3670
|
-
* @param offset The current offset.
|
|
3671
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
3672
|
-
*/
|
|
3673
|
-
stateNumericHex(input, offset) {
|
|
3674
|
-
while (offset < input.length) {
|
|
3675
|
-
const char = input.charCodeAt(offset);
|
|
3676
|
-
if (isNumber(char) || isHexadecimalCharacter(char)) {
|
|
3677
|
-
const digit = char <= CharCodes.NINE ? char - CharCodes.ZERO : (char | TO_LOWER_BIT) - CharCodes.LOWER_A + 10;
|
|
3678
|
-
this.result = this.result * 16 + digit;
|
|
3679
|
-
this.consumed++;
|
|
3680
|
-
offset++;
|
|
3681
|
-
} else {
|
|
3682
|
-
return this.emitNumericEntity(char, 3);
|
|
3683
|
-
}
|
|
3684
|
-
}
|
|
3450
|
+
if (branchCount === 0)
|
|
3685
3451
|
return -1;
|
|
3452
|
+
const packedKeySlots = branchCount + 1 >> 1;
|
|
3453
|
+
const branchEnd = nodeIndex + packedKeySlots + branchCount;
|
|
3454
|
+
for (let index = 0; index < branchCount; index++) {
|
|
3455
|
+
const packed = decodeTree[nodeIndex + (index >> 1)];
|
|
3456
|
+
const key = packed >> ((index & 1) << 3) & 255;
|
|
3457
|
+
if (key === char) {
|
|
3458
|
+
const pointerIndex = nodeIndex + packedKeySlots + index;
|
|
3459
|
+
return branchEnd + decodeTree[pointerIndex] & 65535;
|
|
3460
|
+
}
|
|
3461
|
+
if (key > char)
|
|
3462
|
+
return -1;
|
|
3686
3463
|
}
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3464
|
+
return -1;
|
|
3465
|
+
}
|
|
3466
|
+
function readTrieValue(decodeTree, nodeIndex, valueLength) {
|
|
3467
|
+
if (valueLength === 1) {
|
|
3468
|
+
return String.fromCharCode(decodeTree[nodeIndex] & BinTrieFlags.VALUE_MASK);
|
|
3469
|
+
}
|
|
3470
|
+
if (valueLength === 2) {
|
|
3471
|
+
return String.fromCharCode(decodeTree[nodeIndex + 1]);
|
|
3472
|
+
}
|
|
3473
|
+
return String.fromCharCode(decodeTree[nodeIndex + 1], decodeTree[nodeIndex + 2]);
|
|
3474
|
+
}
|
|
3475
|
+
function parseNumericEntity(input, numberStart, inputLength) {
|
|
3476
|
+
let offset = numberStart + 1;
|
|
3477
|
+
let cp = 0;
|
|
3478
|
+
let digitStart = offset;
|
|
3479
|
+
if (offset < inputLength && (input.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
|
|
3480
|
+
offset += 1;
|
|
3481
|
+
digitStart = offset;
|
|
3482
|
+
while (offset < inputLength) {
|
|
3697
3483
|
const char = input.charCodeAt(offset);
|
|
3698
3484
|
if (isNumber(char)) {
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3485
|
+
cp = cp * 16 + (char - CharCodes.ZERO);
|
|
3486
|
+
} else if (isHexadecimalCharacter(char)) {
|
|
3487
|
+
cp = cp * 16 + ((char | TO_LOWER_BIT) - CharCodes.LOWER_A + 10);
|
|
3702
3488
|
} else {
|
|
3703
|
-
|
|
3489
|
+
break;
|
|
3704
3490
|
}
|
|
3491
|
+
offset += 1;
|
|
3705
3492
|
}
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
* @param lastCp The last code point of the entity. Used to see if the
|
|
3714
|
-
* entity was terminated with a semicolon.
|
|
3715
|
-
* @param expectedLength The minimum number of characters that should be
|
|
3716
|
-
* consumed. Used to validate that at least one digit
|
|
3717
|
-
* was consumed.
|
|
3718
|
-
* @returns The number of characters that were consumed.
|
|
3719
|
-
*/
|
|
3720
|
-
emitNumericEntity(lastCp, expectedLength) {
|
|
3721
|
-
if (this.consumed <= expectedLength) {
|
|
3722
|
-
this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed);
|
|
3723
|
-
return 0;
|
|
3724
|
-
}
|
|
3725
|
-
if (lastCp === CharCodes.SEMI) {
|
|
3726
|
-
this.consumed += 1;
|
|
3727
|
-
} else if (this.decodeMode === DecodingMode.Strict) {
|
|
3728
|
-
return 0;
|
|
3729
|
-
}
|
|
3730
|
-
this.emitCodePoint(replaceCodePoint(this.result), this.consumed);
|
|
3731
|
-
if (this.errors) {
|
|
3732
|
-
if (lastCp !== CharCodes.SEMI) {
|
|
3733
|
-
this.errors.missingSemicolonAfterCharacterReference();
|
|
3734
|
-
}
|
|
3735
|
-
this.errors.validateNumericCharacterReference(this.result);
|
|
3493
|
+
} else {
|
|
3494
|
+
while (offset < inputLength) {
|
|
3495
|
+
const digit = input.charCodeAt(offset) - CharCodes.ZERO;
|
|
3496
|
+
if (digit >>> 0 > 9)
|
|
3497
|
+
break;
|
|
3498
|
+
cp = cp * 10 + digit;
|
|
3499
|
+
offset += 1;
|
|
3736
3500
|
}
|
|
3737
|
-
return this.consumed;
|
|
3738
3501
|
}
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3502
|
+
if (offset === digitStart)
|
|
3503
|
+
return 0;
|
|
3504
|
+
if (offset < inputLength && input.charCodeAt(offset) === CharCodes.SEMI) {
|
|
3505
|
+
offset += 1;
|
|
3506
|
+
}
|
|
3507
|
+
if (cp > 1114111)
|
|
3508
|
+
cp = 1114112;
|
|
3509
|
+
let consumed = offset - numberStart;
|
|
3510
|
+
if (consumed >= CONSUMED_OVERFLOW) {
|
|
3511
|
+
longNumericConsumed = consumed;
|
|
3512
|
+
consumed = CONSUMED_OVERFLOW;
|
|
3513
|
+
}
|
|
3514
|
+
return consumed << CONSUMED_SHIFT | cp;
|
|
3515
|
+
}
|
|
3516
|
+
function decodeWithTrie(input, isStrict, isAttribute) {
|
|
3517
|
+
const decodeTree = htmlDecodeTree;
|
|
3518
|
+
let offset = input.indexOf("&");
|
|
3519
|
+
if (offset < 0)
|
|
3520
|
+
return input;
|
|
3521
|
+
const inputLength = input.length;
|
|
3522
|
+
let chunkStart = 0;
|
|
3523
|
+
let result = "";
|
|
3524
|
+
const root = decodeTree[0];
|
|
3525
|
+
const rootJumpOffset = root & BinTrieFlags.JUMP_TABLE;
|
|
3526
|
+
const rootBranchCount = (root & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3527
|
+
do {
|
|
3528
|
+
const entityStart = offset + 1;
|
|
3529
|
+
const firstChar = input.charCodeAt(entityStart);
|
|
3530
|
+
let consumed;
|
|
3531
|
+
let value;
|
|
3532
|
+
if (firstChar === CharCodes.NUM) {
|
|
3533
|
+
const packed = parseNumericEntity(input, entityStart, inputLength);
|
|
3534
|
+
consumed = unpackConsumed(packed);
|
|
3535
|
+
if (isStrict && consumed > 0 && input.charCodeAt(entityStart + consumed - 1) !== CharCodes.SEMI) {
|
|
3536
|
+
consumed = 0;
|
|
3537
|
+
}
|
|
3538
|
+
value = consumed === 0 ? "" : codePointToString(packed & CODE_POINT_MASK);
|
|
3539
|
+
} else if (isAlpha(firstChar)) {
|
|
3540
|
+
consumed = 0;
|
|
3541
|
+
value = "";
|
|
3542
|
+
const rootSlotIndex = firstChar - rootJumpOffset;
|
|
3543
|
+
let nodeIndex;
|
|
3544
|
+
if (rootSlotIndex >>> 0 < rootBranchCount) {
|
|
3545
|
+
const stored = decodeTree[1 + rootSlotIndex];
|
|
3546
|
+
nodeIndex = stored === 0 ? -1 : rootBranchCount + stored & 65535;
|
|
3547
|
+
} else {
|
|
3548
|
+
nodeIndex = -1;
|
|
3549
|
+
}
|
|
3550
|
+
let bestNodeIndex = 0;
|
|
3551
|
+
let bestValueLength = 0;
|
|
3552
|
+
let current = nodeIndex < 0 ? 0 : decodeTree[nodeIndex];
|
|
3553
|
+
let index = entityStart + 1;
|
|
3554
|
+
trie: while (index < inputLength) {
|
|
3555
|
+
while (
|
|
3556
|
+
// Value-less, non-run node with a nonzero jump offset.
|
|
3557
|
+
(current & (BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13)) === 0 && (current & BinTrieFlags.JUMP_TABLE) !== 0
|
|
3558
|
+
) {
|
|
3559
|
+
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
3560
|
+
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3561
|
+
if (branchCount === 0) {
|
|
3562
|
+
if (input.charCodeAt(index) !== jumpOffset)
|
|
3563
|
+
break trie;
|
|
3564
|
+
nodeIndex += 1;
|
|
3565
|
+
} else {
|
|
3566
|
+
const slot2 = input.charCodeAt(index) - jumpOffset;
|
|
3567
|
+
if (slot2 >>> 0 >= branchCount)
|
|
3568
|
+
break trie;
|
|
3569
|
+
const stored = decodeTree[nodeIndex + 1 + slot2];
|
|
3570
|
+
if (stored === 0)
|
|
3571
|
+
break trie;
|
|
3572
|
+
nodeIndex = nodeIndex + branchCount + stored & 65535;
|
|
3758
3573
|
}
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3574
|
+
current = decodeTree[nodeIndex];
|
|
3575
|
+
index += 1;
|
|
3576
|
+
if (index >= inputLength)
|
|
3577
|
+
break trie;
|
|
3762
3578
|
}
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3579
|
+
if ((current & (BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13)) === BinTrieFlags.FLAG13) {
|
|
3580
|
+
const runLength = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3581
|
+
if (input.charCodeAt(index) !== (current & BinTrieFlags.JUMP_TABLE)) {
|
|
3582
|
+
break;
|
|
3766
3583
|
}
|
|
3767
|
-
|
|
3768
|
-
const
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3584
|
+
index += 1;
|
|
3585
|
+
const remaining = runLength - 1;
|
|
3586
|
+
let wordIndex = nodeIndex + 1;
|
|
3587
|
+
let charIndexInPacked = 0;
|
|
3588
|
+
for (; charIndexInPacked + 1 < remaining; charIndexInPacked += 2) {
|
|
3589
|
+
const packed = decodeTree[wordIndex];
|
|
3590
|
+
if (input.charCodeAt(index) !== (packed & 255))
|
|
3591
|
+
break trie;
|
|
3592
|
+
index += 1;
|
|
3593
|
+
if (input.charCodeAt(index) !== (packed >> 8 & 255))
|
|
3594
|
+
break trie;
|
|
3595
|
+
index += 1;
|
|
3596
|
+
wordIndex += 1;
|
|
3773
3597
|
}
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3598
|
+
if (charIndexInPacked < remaining) {
|
|
3599
|
+
if (input.charCodeAt(index) !== (decodeTree[wordIndex] & 255))
|
|
3600
|
+
break;
|
|
3601
|
+
index += 1;
|
|
3602
|
+
}
|
|
3603
|
+
nodeIndex += 1 + (runLength >> 1);
|
|
3604
|
+
current = decodeTree[nodeIndex];
|
|
3605
|
+
continue;
|
|
3777
3606
|
}
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
(valueLength === 0 || // And there should be no invalid characters.
|
|
3794
|
-
isEntityInAttributeInvalidEnd(char)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
3795
|
-
}
|
|
3796
|
-
current = decodeTree[this.treeIndex];
|
|
3797
|
-
valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
3798
|
-
if (valueLength !== 0) {
|
|
3799
|
-
if (char === CharCodes.SEMI) {
|
|
3800
|
-
return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
|
|
3607
|
+
const valueLength = current >>> 14;
|
|
3608
|
+
const char = input.charCodeAt(index);
|
|
3609
|
+
if (valueLength !== 0) {
|
|
3610
|
+
if (char === CharCodes.SEMI) {
|
|
3611
|
+
consumed = index - entityStart + 1;
|
|
3612
|
+
value = valueLength === 1 ? String.fromCharCode(current & BinTrieFlags.VALUE_MASK) : readTrieValue(decodeTree, nodeIndex, valueLength);
|
|
3613
|
+
break;
|
|
3614
|
+
}
|
|
3615
|
+
if (!isStrict && (current & BinTrieFlags.FLAG13) === 0) {
|
|
3616
|
+
consumed = index - entityStart;
|
|
3617
|
+
bestNodeIndex = nodeIndex;
|
|
3618
|
+
bestValueLength = valueLength;
|
|
3619
|
+
}
|
|
3620
|
+
if (valueLength === 1)
|
|
3621
|
+
break;
|
|
3801
3622
|
}
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3623
|
+
const next = determineBranch(decodeTree, current, nodeIndex + (valueLength || 1), char);
|
|
3624
|
+
if (next < 0)
|
|
3625
|
+
break;
|
|
3626
|
+
nodeIndex = next;
|
|
3627
|
+
current = decodeTree[nodeIndex];
|
|
3628
|
+
index += 1;
|
|
3629
|
+
}
|
|
3630
|
+
if (value === "") {
|
|
3631
|
+
const finalVL = current >>> 14;
|
|
3632
|
+
if (finalVL !== 0 && !isStrict && (current & BinTrieFlags.FLAG13) === 0) {
|
|
3633
|
+
consumed = index - entityStart;
|
|
3634
|
+
bestNodeIndex = nodeIndex;
|
|
3635
|
+
bestValueLength = finalVL;
|
|
3636
|
+
}
|
|
3637
|
+
if (consumed > 0) {
|
|
3638
|
+
value = readTrieValue(decodeTree, bestNodeIndex, bestValueLength);
|
|
3806
3639
|
}
|
|
3807
3640
|
}
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
return -1;
|
|
3812
|
-
}
|
|
3813
|
-
/**
|
|
3814
|
-
* Emit a named entity that was not terminated with a semicolon.
|
|
3815
|
-
* @returns The number of characters consumed.
|
|
3816
|
-
*/
|
|
3817
|
-
emitNotTerminatedNamedEntity() {
|
|
3818
|
-
const { result, decodeTree } = this;
|
|
3819
|
-
const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
3820
|
-
this.emitNamedEntityData(result, valueLength, this.consumed);
|
|
3821
|
-
this.errors?.missingSemicolonAfterCharacterReference();
|
|
3822
|
-
return this.consumed;
|
|
3823
|
-
}
|
|
3824
|
-
/**
|
|
3825
|
-
* Emit a named entity.
|
|
3826
|
-
* @param result The index of the entity in the decode tree.
|
|
3827
|
-
* @param valueLength The number of bytes in the entity.
|
|
3828
|
-
* @param consumed The number of characters consumed.
|
|
3829
|
-
* @returns The number of characters consumed.
|
|
3830
|
-
*/
|
|
3831
|
-
emitNamedEntityData(result, valueLength, consumed) {
|
|
3832
|
-
const { decodeTree } = this;
|
|
3833
|
-
this.emitCodePoint(valueLength === 1 ? decodeTree[result] & ~(BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13) : decodeTree[result + 1], consumed);
|
|
3834
|
-
if (valueLength === 3) {
|
|
3835
|
-
this.emitCodePoint(decodeTree[result + 2], consumed);
|
|
3836
|
-
}
|
|
3837
|
-
return consumed;
|
|
3838
|
-
}
|
|
3839
|
-
/**
|
|
3840
|
-
* Signal to the parser that the end of the input was reached.
|
|
3841
|
-
*
|
|
3842
|
-
* Remaining data will be emitted and relevant errors will be produced.
|
|
3843
|
-
* @returns The number of characters consumed.
|
|
3844
|
-
*/
|
|
3845
|
-
end() {
|
|
3846
|
-
switch (this.state) {
|
|
3847
|
-
case EntityDecoderState.NamedEntity: {
|
|
3848
|
-
return this.result !== 0 && (this.decodeMode !== DecodingMode.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
3849
|
-
}
|
|
3850
|
-
// Otherwise, emit a numeric entity if we have one.
|
|
3851
|
-
case EntityDecoderState.NumericDecimal: {
|
|
3852
|
-
return this.emitNumericEntity(0, 2);
|
|
3853
|
-
}
|
|
3854
|
-
case EntityDecoderState.NumericHex: {
|
|
3855
|
-
return this.emitNumericEntity(0, 3);
|
|
3856
|
-
}
|
|
3857
|
-
case EntityDecoderState.NumericStart: {
|
|
3858
|
-
this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed);
|
|
3859
|
-
return 0;
|
|
3860
|
-
}
|
|
3861
|
-
case EntityDecoderState.EntityStart: {
|
|
3862
|
-
return 0;
|
|
3863
|
-
}
|
|
3641
|
+
} else {
|
|
3642
|
+
consumed = 0;
|
|
3643
|
+
value = "";
|
|
3864
3644
|
}
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
return function decodeWithTrie(input, decodeMode) {
|
|
3871
|
-
let lastIndex = 0;
|
|
3872
|
-
let offset = 0;
|
|
3873
|
-
while ((offset = input.indexOf("&", offset)) >= 0) {
|
|
3874
|
-
returnValue += input.slice(lastIndex, offset);
|
|
3875
|
-
decoder.startEntity(decodeMode);
|
|
3876
|
-
const length = decoder.write(
|
|
3877
|
-
input,
|
|
3878
|
-
// Skip the "&"
|
|
3879
|
-
offset + 1
|
|
3880
|
-
);
|
|
3881
|
-
if (length < 0) {
|
|
3882
|
-
lastIndex = offset + decoder.end();
|
|
3883
|
-
break;
|
|
3645
|
+
if (consumed === 0 || isAttribute && firstChar !== CharCodes.NUM && input.charCodeAt(entityStart + consumed - 1) !== CharCodes.SEMI && entityStart + consumed < inputLength && isEntityInAttributeInvalidEnd(input.charCodeAt(entityStart + consumed))) {
|
|
3646
|
+
offset = entityStart;
|
|
3647
|
+
} else {
|
|
3648
|
+
if (chunkStart < offset) {
|
|
3649
|
+
result += input.slice(chunkStart, offset);
|
|
3884
3650
|
}
|
|
3885
|
-
|
|
3886
|
-
offset =
|
|
3651
|
+
result += value;
|
|
3652
|
+
offset = chunkStart = entityStart + consumed;
|
|
3887
3653
|
}
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
return result;
|
|
3891
|
-
};
|
|
3892
|
-
}
|
|
3893
|
-
function determineBranch(decodeTree, current, nodeIndex, char) {
|
|
3894
|
-
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
3895
|
-
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
3896
|
-
if (branchCount === 0) {
|
|
3897
|
-
return jumpOffset !== 0 && char === jumpOffset ? nodeIndex : -1;
|
|
3898
|
-
}
|
|
3899
|
-
if (jumpOffset) {
|
|
3900
|
-
const value = char - jumpOffset;
|
|
3901
|
-
return value < 0 || value >= branchCount ? -1 : decodeTree[nodeIndex + value] - 1;
|
|
3902
|
-
}
|
|
3903
|
-
const packedKeySlots = branchCount + 1 >> 1;
|
|
3904
|
-
let lo = 0;
|
|
3905
|
-
let hi = branchCount - 1;
|
|
3906
|
-
while (lo <= hi) {
|
|
3907
|
-
const mid = lo + hi >>> 1;
|
|
3908
|
-
const slot2 = mid >> 1;
|
|
3909
|
-
const packed = decodeTree[nodeIndex + slot2];
|
|
3910
|
-
const midKey = packed >> (mid & 1) * 8 & 255;
|
|
3911
|
-
if (midKey < char) {
|
|
3912
|
-
lo = mid + 1;
|
|
3913
|
-
} else if (midKey > char) {
|
|
3914
|
-
hi = mid - 1;
|
|
3915
|
-
} else {
|
|
3916
|
-
return decodeTree[nodeIndex + packedKeySlots + mid];
|
|
3654
|
+
if (input.charCodeAt(offset) !== CharCodes.AMP) {
|
|
3655
|
+
offset = input.indexOf("&", offset);
|
|
3917
3656
|
}
|
|
3918
|
-
}
|
|
3919
|
-
return
|
|
3657
|
+
} while (offset >= 0);
|
|
3658
|
+
return result + input.slice(chunkStart);
|
|
3920
3659
|
}
|
|
3921
|
-
var htmlDecoder = /* @__PURE__ */ getDecoder(htmlDecodeTree);
|
|
3922
3660
|
function decodeHTMLStrict(htmlString) {
|
|
3923
|
-
return
|
|
3661
|
+
return decodeWithTrie(htmlString, true, false);
|
|
3924
3662
|
}
|
|
3925
3663
|
|
|
3926
|
-
// ../../node_modules/.pnpm/entities@8.
|
|
3664
|
+
// ../../node_modules/.pnpm/entities@8.1.0/node_modules/entities/dist/index.js
|
|
3927
3665
|
var EntityLevel;
|
|
3928
3666
|
(function(EntityLevel2) {
|
|
3929
3667
|
EntityLevel2[EntityLevel2["XML"] = 0] = "XML";
|
|
@@ -4481,7 +4219,7 @@ var errors = {
|
|
|
4481
4219
|
var baseMinusTMin = base - tMin;
|
|
4482
4220
|
var floor = Math.floor;
|
|
4483
4221
|
var stringFromCharCode = String.fromCharCode;
|
|
4484
|
-
function
|
|
4222
|
+
function error(type) {
|
|
4485
4223
|
throw new RangeError(errors[type]);
|
|
4486
4224
|
}
|
|
4487
4225
|
function map(array, callback) {
|
|
@@ -4561,7 +4299,7 @@ var decode2 = function(input) {
|
|
|
4561
4299
|
}
|
|
4562
4300
|
for (let j = 0; j < basic; ++j) {
|
|
4563
4301
|
if (input.charCodeAt(j) >= 128) {
|
|
4564
|
-
|
|
4302
|
+
error("not-basic");
|
|
4565
4303
|
}
|
|
4566
4304
|
output.push(input.charCodeAt(j));
|
|
4567
4305
|
}
|
|
@@ -4569,14 +4307,14 @@ var decode2 = function(input) {
|
|
|
4569
4307
|
const oldi = i;
|
|
4570
4308
|
for (let w = 1, k = base; ; k += base) {
|
|
4571
4309
|
if (index >= inputLength) {
|
|
4572
|
-
|
|
4310
|
+
error("invalid-input");
|
|
4573
4311
|
}
|
|
4574
4312
|
const digit = basicToDigit(input.charCodeAt(index++));
|
|
4575
4313
|
if (digit >= base) {
|
|
4576
|
-
|
|
4314
|
+
error("invalid-input");
|
|
4577
4315
|
}
|
|
4578
4316
|
if (digit > floor((maxInt - i) / w)) {
|
|
4579
|
-
|
|
4317
|
+
error("overflow");
|
|
4580
4318
|
}
|
|
4581
4319
|
i += digit * w;
|
|
4582
4320
|
const t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
|
|
@@ -4585,14 +4323,14 @@ var decode2 = function(input) {
|
|
|
4585
4323
|
}
|
|
4586
4324
|
const baseMinusT = base - t;
|
|
4587
4325
|
if (w > floor(maxInt / baseMinusT)) {
|
|
4588
|
-
|
|
4326
|
+
error("overflow");
|
|
4589
4327
|
}
|
|
4590
4328
|
w *= baseMinusT;
|
|
4591
4329
|
}
|
|
4592
4330
|
const out = output.length + 1;
|
|
4593
4331
|
bias = adapt(i - oldi, out, oldi == 0);
|
|
4594
4332
|
if (floor(i / out) > maxInt - n) {
|
|
4595
|
-
|
|
4333
|
+
error("overflow");
|
|
4596
4334
|
}
|
|
4597
4335
|
n += floor(i / out);
|
|
4598
4336
|
i %= out;
|
|
@@ -4626,13 +4364,13 @@ var encode2 = function(input) {
|
|
|
4626
4364
|
}
|
|
4627
4365
|
const handledCPCountPlusOne = handledCPCount + 1;
|
|
4628
4366
|
if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
|
|
4629
|
-
|
|
4367
|
+
error("overflow");
|
|
4630
4368
|
}
|
|
4631
4369
|
delta += (m - n) * handledCPCountPlusOne;
|
|
4632
4370
|
n = m;
|
|
4633
4371
|
for (const currentValue of input) {
|
|
4634
4372
|
if (currentValue < n && ++delta > maxInt) {
|
|
4635
|
-
|
|
4373
|
+
error("overflow");
|
|
4636
4374
|
}
|
|
4637
4375
|
if (currentValue === n) {
|
|
4638
4376
|
let q = delta;
|
|
@@ -4694,7 +4432,7 @@ var punycode = {
|
|
|
4694
4432
|
};
|
|
4695
4433
|
var punycode_es6_default = punycode;
|
|
4696
4434
|
|
|
4697
|
-
// ../../node_modules/.pnpm/markdown-it@15.0.
|
|
4435
|
+
// ../../node_modules/.pnpm/markdown-it@15.0.3_patch_hash=105b98356641bf5463f97ae906b88ed1cc5de6a7eea38cbd7a3a6b2c3904fcc8/node_modules/markdown-it/dist/markdown-it.mjs
|
|
4698
4436
|
var __defProp2 = Object.defineProperty;
|
|
4699
4437
|
var __exportAll = (all, no_symbols) => {
|
|
4700
4438
|
let target = {};
|
|
@@ -5600,7 +5338,7 @@ function strip_references(state) {
|
|
|
5600
5338
|
}
|
|
5601
5339
|
if (tokens.length !== last) tokens.length = last;
|
|
5602
5340
|
}
|
|
5603
|
-
function
|
|
5341
|
+
function inline(state) {
|
|
5604
5342
|
const tokens = state.tokens;
|
|
5605
5343
|
for (let i = 0, l = tokens.length; i < l; i++) {
|
|
5606
5344
|
const tok = tokens[i];
|
|
@@ -5745,6 +5483,14 @@ function replace(state) {
|
|
|
5745
5483
|
var QUOTE_TEST_RE = /['"]/;
|
|
5746
5484
|
var QUOTE_RE = /['"]/g;
|
|
5747
5485
|
var APOSTROPHE = "\u2019";
|
|
5486
|
+
var MAX_OPENERS = 1e3;
|
|
5487
|
+
function truncateStack(stack, heads, length) {
|
|
5488
|
+
while (stack.length > length) {
|
|
5489
|
+
const item2 = stack.pop();
|
|
5490
|
+
if (item2.isSingleQuote) heads.single = item2.prevSameQuoteIdx;
|
|
5491
|
+
else heads.double = item2.prevSameQuoteIdx;
|
|
5492
|
+
}
|
|
5493
|
+
}
|
|
5748
5494
|
function addReplacement(replacements, tokenIdx, pos, ch) {
|
|
5749
5495
|
if (!replacements[tokenIdx]) replacements[tokenIdx] = [];
|
|
5750
5496
|
replacements[tokenIdx].push({
|
|
@@ -5766,12 +5512,16 @@ function applyReplacements(str, replacements) {
|
|
|
5766
5512
|
function process_inlines(tokens, state) {
|
|
5767
5513
|
let j;
|
|
5768
5514
|
const stack = [];
|
|
5515
|
+
const heads = {
|
|
5516
|
+
single: -1,
|
|
5517
|
+
double: -1
|
|
5518
|
+
};
|
|
5769
5519
|
const replacements = {};
|
|
5770
5520
|
for (let i = 0; i < tokens.length; i++) {
|
|
5771
5521
|
const token = tokens[i];
|
|
5772
5522
|
const thisLevel = tokens[i].level;
|
|
5773
5523
|
for (j = stack.length - 1; j >= 0; j--) if (stack[j].level <= thisLevel) break;
|
|
5774
|
-
stack
|
|
5524
|
+
truncateStack(stack, heads, j + 1);
|
|
5775
5525
|
if (token.type !== "text") continue;
|
|
5776
5526
|
const text3 = token.content;
|
|
5777
5527
|
let pos = 0;
|
|
@@ -5823,11 +5573,10 @@ function process_inlines(tokens, state) {
|
|
|
5823
5573
|
if (isSingle) addReplacement(replacements, i, t.index, APOSTROPHE);
|
|
5824
5574
|
continue;
|
|
5825
5575
|
}
|
|
5826
|
-
if (canClose)
|
|
5827
|
-
|
|
5828
|
-
if (stack[j].level
|
|
5829
|
-
|
|
5830
|
-
item2 = stack[j];
|
|
5576
|
+
if (canClose) {
|
|
5577
|
+
j = isSingle ? heads.single : heads.double;
|
|
5578
|
+
if (j >= 0 && stack[j].level === thisLevel) {
|
|
5579
|
+
const item2 = stack[j];
|
|
5831
5580
|
let openQuote;
|
|
5832
5581
|
let closeQuote;
|
|
5833
5582
|
if (isSingle) {
|
|
@@ -5838,18 +5587,23 @@ function process_inlines(tokens, state) {
|
|
|
5838
5587
|
closeQuote = state.md.options.quotes[1];
|
|
5839
5588
|
}
|
|
5840
5589
|
addReplacement(replacements, i, t.index, closeQuote);
|
|
5841
|
-
addReplacement(replacements, item2.
|
|
5842
|
-
stack
|
|
5590
|
+
addReplacement(replacements, item2.tokenIdx, item2.contentPos, openQuote);
|
|
5591
|
+
truncateStack(stack, heads, j);
|
|
5843
5592
|
continue OUTER;
|
|
5844
5593
|
}
|
|
5845
5594
|
}
|
|
5846
|
-
if (canOpen)
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5595
|
+
if (canOpen) {
|
|
5596
|
+
if (stack.length >= MAX_OPENERS) return;
|
|
5597
|
+
stack.push({
|
|
5598
|
+
tokenIdx: i,
|
|
5599
|
+
contentPos: t.index,
|
|
5600
|
+
isSingleQuote: isSingle,
|
|
5601
|
+
level: thisLevel,
|
|
5602
|
+
prevSameQuoteIdx: isSingle ? heads.single : heads.double
|
|
5603
|
+
});
|
|
5604
|
+
if (isSingle) heads.single = stack.length - 1;
|
|
5605
|
+
else heads.double = stack.length - 1;
|
|
5606
|
+
} else if (canClose && isSingle) addReplacement(replacements, i, t.index, APOSTROPHE);
|
|
5853
5607
|
}
|
|
5854
5608
|
}
|
|
5855
5609
|
Object.keys(replacements).forEach(function(tokenIdx) {
|
|
@@ -5899,7 +5653,7 @@ var _rules$2 = [
|
|
|
5899
5653
|
["normalize", normalize],
|
|
5900
5654
|
["block", block],
|
|
5901
5655
|
["strip_references", strip_references],
|
|
5902
|
-
["inline",
|
|
5656
|
+
["inline", inline],
|
|
5903
5657
|
["linkify", linkify$1],
|
|
5904
5658
|
["replacements", replace],
|
|
5905
5659
|
["smartquotes", smartquotes],
|
|
@@ -5948,12 +5702,14 @@ var StateBlock = class {
|
|
|
5948
5702
|
const s2 = this.src;
|
|
5949
5703
|
for (let start = 0, pos = 0, indent = 0, offset = 0, len = s2.length, indent_found = false; pos < len; pos++) {
|
|
5950
5704
|
const ch = s2.charCodeAt(pos);
|
|
5951
|
-
if (!indent_found)
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5705
|
+
if (!indent_found) {
|
|
5706
|
+
if (isSpace(ch)) {
|
|
5707
|
+
indent++;
|
|
5708
|
+
if (ch === 9) offset += 4 - offset % 4;
|
|
5709
|
+
else offset++;
|
|
5710
|
+
continue;
|
|
5711
|
+
} else indent_found = true;
|
|
5712
|
+
}
|
|
5957
5713
|
if (ch === 10 || pos === len - 1) {
|
|
5958
5714
|
if (ch !== 10) pos++;
|
|
5959
5715
|
this.bMarks.push(start);
|
|
@@ -6020,9 +5776,10 @@ var StateBlock = class {
|
|
|
6020
5776
|
else last = this.eMarks[line];
|
|
6021
5777
|
while (first < last && lineIndent < indent) {
|
|
6022
5778
|
const ch = this.src.charCodeAt(first);
|
|
6023
|
-
if (isSpace(ch))
|
|
6024
|
-
|
|
6025
|
-
|
|
5779
|
+
if (isSpace(ch)) {
|
|
5780
|
+
if (ch === 9) lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;
|
|
5781
|
+
else lineIndent++;
|
|
5782
|
+
} else if (first - lineStart < this.tShift[line]) lineIndent++;
|
|
6026
5783
|
else break;
|
|
6027
5784
|
first++;
|
|
6028
5785
|
}
|
|
@@ -6047,13 +5804,15 @@ function escapedSplit(str) {
|
|
|
6047
5804
|
let lastPos = 0;
|
|
6048
5805
|
let current = "";
|
|
6049
5806
|
while (pos < max2) {
|
|
6050
|
-
if (ch === 124)
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
5807
|
+
if (ch === 124) {
|
|
5808
|
+
if (!isEscaped) {
|
|
5809
|
+
result.push(current + str.substring(lastPos, pos));
|
|
5810
|
+
current = "";
|
|
5811
|
+
lastPos = pos + 1;
|
|
5812
|
+
} else {
|
|
5813
|
+
current += str.substring(lastPos, pos - 1);
|
|
5814
|
+
lastPos = pos;
|
|
5815
|
+
}
|
|
6057
5816
|
}
|
|
6058
5817
|
isEscaped = ch === 92;
|
|
6059
5818
|
pos++;
|
|
@@ -6062,7 +5821,7 @@ function escapedSplit(str) {
|
|
|
6062
5821
|
result.push(current + str.substring(lastPos));
|
|
6063
5822
|
return result;
|
|
6064
5823
|
}
|
|
6065
|
-
function
|
|
5824
|
+
function table(state, startLine, endLine, silent) {
|
|
6066
5825
|
if (startLine + 2 > endLine) return false;
|
|
6067
5826
|
let nextLine = startLine + 1;
|
|
6068
5827
|
if (state.sCount[nextLine] < state.blkIndent) return false;
|
|
@@ -6085,8 +5844,10 @@ function table2(state, startLine, endLine, silent) {
|
|
|
6085
5844
|
const aligns = [];
|
|
6086
5845
|
for (let i = 0; i < columns.length; i++) {
|
|
6087
5846
|
const t = columns[i].trim();
|
|
6088
|
-
if (!t)
|
|
6089
|
-
|
|
5847
|
+
if (!t) {
|
|
5848
|
+
if (i === 0 || i === columns.length - 1) continue;
|
|
5849
|
+
else return false;
|
|
5850
|
+
}
|
|
6090
5851
|
if (!/^:?-+:?$/.test(t)) return false;
|
|
6091
5852
|
if (t.charCodeAt(t.length - 1) === 58) aligns.push(t.charCodeAt(0) === 58 ? "center" : "right");
|
|
6092
5853
|
else if (t.charCodeAt(0) === 58) aligns.push("left");
|
|
@@ -6165,7 +5926,7 @@ function table2(state, startLine, endLine, silent) {
|
|
|
6165
5926
|
state.line = nextLine;
|
|
6166
5927
|
return true;
|
|
6167
5928
|
}
|
|
6168
|
-
function
|
|
5929
|
+
function code(state, startLine, endLine) {
|
|
6169
5930
|
if (state.sCount[startLine] - state.blkIndent < 4) return false;
|
|
6170
5931
|
let nextLine = startLine + 1;
|
|
6171
5932
|
let last = nextLine;
|
|
@@ -6187,7 +5948,7 @@ function code2(state, startLine, endLine) {
|
|
|
6187
5948
|
token.map = [startLine, state.line];
|
|
6188
5949
|
return true;
|
|
6189
5950
|
}
|
|
6190
|
-
function
|
|
5951
|
+
function fence(state, startLine, endLine, silent) {
|
|
6191
5952
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6192
5953
|
let max2 = state.eMarks[startLine];
|
|
6193
5954
|
if (!state.md.options.allowIndentation && state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
@@ -6230,7 +5991,7 @@ function fence2(state, startLine, endLine, silent) {
|
|
|
6230
5991
|
token.map = [startLine, state.line];
|
|
6231
5992
|
return true;
|
|
6232
5993
|
}
|
|
6233
|
-
function
|
|
5994
|
+
function blockquote(state, startLine, endLine, silent) {
|
|
6234
5995
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6235
5996
|
let max2 = state.eMarks[startLine];
|
|
6236
5997
|
const oldLineMax = state.lineMax;
|
|
@@ -6273,9 +6034,10 @@ function blockquote2(state, startLine, endLine, silent) {
|
|
|
6273
6034
|
state.bMarks[nextLine] = pos;
|
|
6274
6035
|
while (pos < max2) {
|
|
6275
6036
|
const ch = state.src.charCodeAt(pos);
|
|
6276
|
-
if (isSpace(ch))
|
|
6277
|
-
|
|
6278
|
-
|
|
6037
|
+
if (isSpace(ch)) {
|
|
6038
|
+
if (ch === 9) offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
|
|
6039
|
+
else offset++;
|
|
6040
|
+
} else break;
|
|
6279
6041
|
pos++;
|
|
6280
6042
|
}
|
|
6281
6043
|
lastLineEmpty = pos >= max2;
|
|
@@ -6331,7 +6093,7 @@ function blockquote2(state, startLine, endLine, silent) {
|
|
|
6331
6093
|
state.blkIndent = oldIndent;
|
|
6332
6094
|
return true;
|
|
6333
6095
|
}
|
|
6334
|
-
function
|
|
6096
|
+
function hr(state, startLine, endLine, silent) {
|
|
6335
6097
|
const max2 = state.eMarks[startLine];
|
|
6336
6098
|
if (!state.md.options.allowIndentation && state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
6337
6099
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
@@ -6392,7 +6154,7 @@ function markTightParagraphs(state, idx) {
|
|
|
6392
6154
|
i += 2;
|
|
6393
6155
|
}
|
|
6394
6156
|
}
|
|
6395
|
-
function
|
|
6157
|
+
function list(state, startLine, endLine, silent) {
|
|
6396
6158
|
let max2, pos, start, token;
|
|
6397
6159
|
let nextLine = startLine;
|
|
6398
6160
|
let tight = true;
|
|
@@ -6502,131 +6264,141 @@ function list2(state, startLine, endLine, silent) {
|
|
|
6502
6264
|
if (tight) markTightParagraphs(state, listTokIdx);
|
|
6503
6265
|
return true;
|
|
6504
6266
|
}
|
|
6267
|
+
var MAX_LABEL_LENGTH = 999;
|
|
6268
|
+
function countCodePoints(str) {
|
|
6269
|
+
let length = str.length;
|
|
6270
|
+
for (let i = 0; i < str.length - 1; i++) {
|
|
6271
|
+
const high = str.charCodeAt(i);
|
|
6272
|
+
if (high < 55296 || high > 56319) continue;
|
|
6273
|
+
const low = str.charCodeAt(i + 1);
|
|
6274
|
+
if (low >= 56320 && low <= 57343) {
|
|
6275
|
+
length--;
|
|
6276
|
+
i++;
|
|
6277
|
+
}
|
|
6278
|
+
}
|
|
6279
|
+
return length;
|
|
6280
|
+
}
|
|
6281
|
+
function lineEnd(state, line) {
|
|
6282
|
+
return Math.min(state.eMarks[line] + 1, state.src.length);
|
|
6283
|
+
}
|
|
6284
|
+
function getNextLinePos(state, nextLine) {
|
|
6285
|
+
const endLine = state.lineMax;
|
|
6286
|
+
if (nextLine >= endLine || state.isEmpty(nextLine)) return -1;
|
|
6287
|
+
let isContinuation = false;
|
|
6288
|
+
if (!state.md.options.allowIndentation && state.sCount[nextLine] - state.blkIndent > 3) isContinuation = true;
|
|
6289
|
+
if (state.sCount[nextLine] < 0) isContinuation = true;
|
|
6290
|
+
if (!isContinuation) {
|
|
6291
|
+
const terminatorRules = state.md.block.ruler.getRules("reference");
|
|
6292
|
+
const oldParentType = state.parentType;
|
|
6293
|
+
state.parentType = "reference";
|
|
6294
|
+
let terminate = false;
|
|
6295
|
+
for (let i = 0, l = terminatorRules.length; i < l; i++) if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
6296
|
+
terminate = true;
|
|
6297
|
+
break;
|
|
6298
|
+
}
|
|
6299
|
+
state.parentType = oldParentType;
|
|
6300
|
+
if (terminate) return -1;
|
|
6301
|
+
}
|
|
6302
|
+
return state.bMarks[nextLine] + state.tShift[nextLine];
|
|
6303
|
+
}
|
|
6505
6304
|
function reference(state, startLine, _endLine, silent) {
|
|
6305
|
+
const src = state.src;
|
|
6506
6306
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6507
|
-
let max2 = state.eMarks[startLine];
|
|
6508
6307
|
let nextLine = startLine + 1;
|
|
6509
6308
|
if (!state.md.options.allowIndentation && state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
6510
|
-
if (
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
if (nextLine2 >= endLine || state.isEmpty(nextLine2)) return null;
|
|
6514
|
-
let isContinuation = false;
|
|
6515
|
-
if (!state.md.options.allowIndentation && state.sCount[nextLine2] - state.blkIndent > 3) isContinuation = true;
|
|
6516
|
-
if (state.sCount[nextLine2] < 0) isContinuation = true;
|
|
6517
|
-
if (!isContinuation) {
|
|
6518
|
-
const terminatorRules = state.md.block.ruler.getRules("reference");
|
|
6519
|
-
const oldParentType = state.parentType;
|
|
6520
|
-
state.parentType = "reference";
|
|
6521
|
-
let terminate = false;
|
|
6522
|
-
for (let i = 0, l = terminatorRules.length; i < l; i++) if (terminatorRules[i](state, nextLine2, endLine, true)) {
|
|
6523
|
-
terminate = true;
|
|
6524
|
-
break;
|
|
6525
|
-
}
|
|
6526
|
-
state.parentType = oldParentType;
|
|
6527
|
-
if (terminate) return null;
|
|
6528
|
-
}
|
|
6529
|
-
const pos2 = state.bMarks[nextLine2] + state.tShift[nextLine2];
|
|
6530
|
-
const max3 = state.eMarks[nextLine2];
|
|
6531
|
-
return state.src.slice(pos2, max3 + 1);
|
|
6532
|
-
}
|
|
6533
|
-
let str = state.src.slice(pos, max2 + 1);
|
|
6534
|
-
max2 = str.length;
|
|
6309
|
+
if (src.charCodeAt(pos) !== 91) return false;
|
|
6310
|
+
let max2 = lineEnd(state, startLine);
|
|
6311
|
+
let rawLabel = "";
|
|
6535
6312
|
let labelEnd = -1;
|
|
6536
|
-
|
|
6537
|
-
|
|
6313
|
+
let segmentStart = ++pos;
|
|
6314
|
+
while (pos < max2) {
|
|
6315
|
+
if (rawLabel.length + pos - segmentStart > MAX_LABEL_LENGTH * 2) return false;
|
|
6316
|
+
let ch = src.charCodeAt(pos);
|
|
6538
6317
|
if (ch === 91) return false;
|
|
6539
|
-
|
|
6318
|
+
if (ch === 93) {
|
|
6540
6319
|
labelEnd = pos;
|
|
6541
6320
|
break;
|
|
6542
|
-
} else if (ch === 10) {
|
|
6543
|
-
const lineContent = getNextLine(nextLine);
|
|
6544
|
-
if (lineContent !== null) {
|
|
6545
|
-
str += lineContent;
|
|
6546
|
-
max2 = str.length;
|
|
6547
|
-
nextLine++;
|
|
6548
|
-
}
|
|
6549
|
-
} else if (ch === 92) {
|
|
6550
|
-
pos++;
|
|
6551
|
-
if (pos < max2 && str.charCodeAt(pos) === 10) {
|
|
6552
|
-
const lineContent = getNextLine(nextLine);
|
|
6553
|
-
if (lineContent !== null) {
|
|
6554
|
-
str += lineContent;
|
|
6555
|
-
max2 = str.length;
|
|
6556
|
-
nextLine++;
|
|
6557
|
-
}
|
|
6558
|
-
}
|
|
6559
6321
|
}
|
|
6322
|
+
if (ch === 92) ch = src.charCodeAt(++pos);
|
|
6323
|
+
if (ch === 10 && pos < max2) {
|
|
6324
|
+
const nextPos = getNextLinePos(state, nextLine);
|
|
6325
|
+
if (nextPos < 0) return false;
|
|
6326
|
+
rawLabel += src.slice(segmentStart, max2);
|
|
6327
|
+
pos = segmentStart = nextPos;
|
|
6328
|
+
max2 = lineEnd(state, nextLine++);
|
|
6329
|
+
continue;
|
|
6330
|
+
}
|
|
6331
|
+
pos++;
|
|
6560
6332
|
}
|
|
6561
|
-
if (labelEnd < 0 ||
|
|
6562
|
-
|
|
6563
|
-
|
|
6333
|
+
if (labelEnd < 0 || src.charCodeAt(labelEnd + 1) !== 58) return false;
|
|
6334
|
+
rawLabel += src.slice(segmentStart, labelEnd);
|
|
6335
|
+
if (rawLabel.length > MAX_LABEL_LENGTH && countCodePoints(rawLabel) > MAX_LABEL_LENGTH) return false;
|
|
6336
|
+
pos = labelEnd + 2;
|
|
6337
|
+
while (pos < max2) {
|
|
6338
|
+
const ch = src.charCodeAt(pos);
|
|
6564
6339
|
if (ch === 10) {
|
|
6565
|
-
const
|
|
6566
|
-
if (
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
}
|
|
6574
|
-
const destRes = state.md.helpers.parseLinkDestination(str, pos, max2);
|
|
6340
|
+
const nextPos = getNextLinePos(state, nextLine);
|
|
6341
|
+
if (nextPos < 0) break;
|
|
6342
|
+
pos = nextPos;
|
|
6343
|
+
max2 = lineEnd(state, nextLine++);
|
|
6344
|
+
} else if (isSpace(ch)) pos++;
|
|
6345
|
+
else break;
|
|
6346
|
+
}
|
|
6347
|
+
const destRes = state.md.helpers.parseLinkDestination(src, pos, max2);
|
|
6575
6348
|
if (!destRes.ok) return false;
|
|
6576
6349
|
const href = state.md.normalizeLink(destRes.str);
|
|
6577
6350
|
if (!state.md.validateLink(href)) return false;
|
|
6578
6351
|
pos = destRes.pos;
|
|
6579
6352
|
const destEndPos = pos;
|
|
6353
|
+
const destEndMax = max2;
|
|
6580
6354
|
const destEndLineNo = nextLine;
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
const ch = str.charCodeAt(pos);
|
|
6355
|
+
while (pos < max2) {
|
|
6356
|
+
const ch = src.charCodeAt(pos);
|
|
6584
6357
|
if (ch === 10) {
|
|
6585
|
-
const
|
|
6586
|
-
if (
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
let titleRes = state.md.helpers.parseLinkTitle(str, pos, max2);
|
|
6358
|
+
const nextPos = getNextLinePos(state, nextLine);
|
|
6359
|
+
if (nextPos < 0) break;
|
|
6360
|
+
pos = nextPos;
|
|
6361
|
+
max2 = lineEnd(state, nextLine++);
|
|
6362
|
+
} else if (isSpace(ch)) pos++;
|
|
6363
|
+
else break;
|
|
6364
|
+
}
|
|
6365
|
+
const titleStart = pos;
|
|
6366
|
+
let titleRes = state.md.helpers.parseLinkTitle(src, pos, max2);
|
|
6595
6367
|
while (titleRes.can_continue) {
|
|
6596
|
-
const
|
|
6597
|
-
if (
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
nextLine++;
|
|
6602
|
-
titleRes = state.md.helpers.parseLinkTitle(str, pos, max2, titleRes);
|
|
6368
|
+
const nextPos = getNextLinePos(state, nextLine);
|
|
6369
|
+
if (nextPos < 0) break;
|
|
6370
|
+
pos = nextPos;
|
|
6371
|
+
max2 = lineEnd(state, nextLine++);
|
|
6372
|
+
titleRes = state.md.helpers.parseLinkTitle(src, pos, max2, titleRes);
|
|
6603
6373
|
}
|
|
6604
6374
|
let title;
|
|
6605
|
-
if (
|
|
6375
|
+
if (titleStart !== destEndPos && titleRes.ok) {
|
|
6606
6376
|
title = titleRes.str;
|
|
6607
6377
|
pos = titleRes.pos;
|
|
6608
6378
|
} else {
|
|
6609
6379
|
title = "";
|
|
6610
6380
|
pos = destEndPos;
|
|
6381
|
+
max2 = destEndMax;
|
|
6611
6382
|
nextLine = destEndLineNo;
|
|
6612
6383
|
}
|
|
6613
6384
|
while (pos < max2) {
|
|
6614
|
-
if (!isSpace(
|
|
6385
|
+
if (!isSpace(src.charCodeAt(pos))) break;
|
|
6615
6386
|
pos++;
|
|
6616
6387
|
}
|
|
6617
|
-
if (pos < max2 &&
|
|
6388
|
+
if (pos < max2 && src.charCodeAt(pos) !== 10) {
|
|
6618
6389
|
if (title) {
|
|
6619
6390
|
title = "";
|
|
6620
6391
|
pos = destEndPos;
|
|
6392
|
+
max2 = destEndMax;
|
|
6621
6393
|
nextLine = destEndLineNo;
|
|
6622
6394
|
while (pos < max2) {
|
|
6623
|
-
if (!isSpace(
|
|
6395
|
+
if (!isSpace(src.charCodeAt(pos))) break;
|
|
6624
6396
|
pos++;
|
|
6625
6397
|
}
|
|
6626
6398
|
}
|
|
6627
6399
|
}
|
|
6628
|
-
if (pos < max2 &&
|
|
6629
|
-
const label = normalizeReference(
|
|
6400
|
+
if (pos < max2 && src.charCodeAt(pos) !== 10) return false;
|
|
6401
|
+
const label = normalizeReference(rawLabel);
|
|
6630
6402
|
if (!label) return false;
|
|
6631
6403
|
if (silent) return true;
|
|
6632
6404
|
if (typeof state.env.references === "undefined") state.env.references = {};
|
|
@@ -6709,7 +6481,7 @@ var html_blocks_default = [
|
|
|
6709
6481
|
];
|
|
6710
6482
|
var open_tag = `<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`;
|
|
6711
6483
|
var close_tag = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";
|
|
6712
|
-
|
|
6484
|
+
new RegExp(`^(?:${open_tag}|${close_tag}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`);
|
|
6713
6485
|
var HTML_OPEN_CLOSE_TAG_RE = new RegExp(`^(?:${open_tag}|${close_tag})`);
|
|
6714
6486
|
var HTML_SEQUENCES = [
|
|
6715
6487
|
[
|
|
@@ -6779,7 +6551,7 @@ function html_block(state, startLine, endLine, silent) {
|
|
|
6779
6551
|
token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
|
|
6780
6552
|
return true;
|
|
6781
6553
|
}
|
|
6782
|
-
function
|
|
6554
|
+
function heading(state, startLine, endLine, silent) {
|
|
6783
6555
|
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6784
6556
|
let max2 = state.eMarks[startLine];
|
|
6785
6557
|
if (!state.md.options.allowIndentation && state.sCount[startLine] - state.blkIndent >= 4) return false;
|
|
@@ -6859,7 +6631,7 @@ function lheading(state, startLine, endLine) {
|
|
|
6859
6631
|
state.parentType = oldParentType;
|
|
6860
6632
|
return true;
|
|
6861
6633
|
}
|
|
6862
|
-
function
|
|
6634
|
+
function paragraph(state, startLine, endLine) {
|
|
6863
6635
|
const terminatorRules = state.md.block.ruler.getRules("paragraph");
|
|
6864
6636
|
const oldParentType = state.parentType;
|
|
6865
6637
|
let nextLine = startLine + 1;
|
|
@@ -6889,13 +6661,13 @@ function paragraph2(state, startLine, endLine) {
|
|
|
6889
6661
|
var _rules$1 = [
|
|
6890
6662
|
[
|
|
6891
6663
|
"table",
|
|
6892
|
-
|
|
6664
|
+
table,
|
|
6893
6665
|
["paragraph", "reference"]
|
|
6894
6666
|
],
|
|
6895
|
-
["code",
|
|
6667
|
+
["code", code],
|
|
6896
6668
|
[
|
|
6897
6669
|
"fence",
|
|
6898
|
-
|
|
6670
|
+
fence,
|
|
6899
6671
|
[
|
|
6900
6672
|
"paragraph",
|
|
6901
6673
|
"reference",
|
|
@@ -6905,7 +6677,7 @@ var _rules$1 = [
|
|
|
6905
6677
|
],
|
|
6906
6678
|
[
|
|
6907
6679
|
"blockquote",
|
|
6908
|
-
|
|
6680
|
+
blockquote,
|
|
6909
6681
|
[
|
|
6910
6682
|
"paragraph",
|
|
6911
6683
|
"reference",
|
|
@@ -6915,7 +6687,7 @@ var _rules$1 = [
|
|
|
6915
6687
|
],
|
|
6916
6688
|
[
|
|
6917
6689
|
"hr",
|
|
6918
|
-
|
|
6690
|
+
hr,
|
|
6919
6691
|
[
|
|
6920
6692
|
"paragraph",
|
|
6921
6693
|
"reference",
|
|
@@ -6925,7 +6697,7 @@ var _rules$1 = [
|
|
|
6925
6697
|
],
|
|
6926
6698
|
[
|
|
6927
6699
|
"list",
|
|
6928
|
-
|
|
6700
|
+
list,
|
|
6929
6701
|
[
|
|
6930
6702
|
"paragraph",
|
|
6931
6703
|
"reference",
|
|
@@ -6944,7 +6716,7 @@ var _rules$1 = [
|
|
|
6944
6716
|
],
|
|
6945
6717
|
[
|
|
6946
6718
|
"heading",
|
|
6947
|
-
|
|
6719
|
+
heading,
|
|
6948
6720
|
[
|
|
6949
6721
|
"paragraph",
|
|
6950
6722
|
"reference",
|
|
@@ -6952,7 +6724,7 @@ var _rules$1 = [
|
|
|
6952
6724
|
]
|
|
6953
6725
|
],
|
|
6954
6726
|
["lheading", lheading],
|
|
6955
|
-
["paragraph",
|
|
6727
|
+
["paragraph", paragraph]
|
|
6956
6728
|
];
|
|
6957
6729
|
var ParserBlock = class {
|
|
6958
6730
|
constructor() {
|
|
@@ -7019,6 +6791,7 @@ var StateInline = class {
|
|
|
7019
6791
|
_defineProperty(this, "cache", {});
|
|
7020
6792
|
_defineProperty(this, "backticks", {});
|
|
7021
6793
|
_defineProperty(this, "backticksScanned", false);
|
|
6794
|
+
_defineProperty(this, "skipHtmlSpecial", false);
|
|
7022
6795
|
_defineProperty(this, "linkLevel", 0);
|
|
7023
6796
|
_defineProperty(this, "delimiters", []);
|
|
7024
6797
|
_defineProperty(this, "_prev_delimiters", []);
|
|
@@ -7124,7 +6897,7 @@ function isTerminatorChar(ch) {
|
|
|
7124
6897
|
return false;
|
|
7125
6898
|
}
|
|
7126
6899
|
}
|
|
7127
|
-
function
|
|
6900
|
+
function text(state, silent) {
|
|
7128
6901
|
let pos = state.pos;
|
|
7129
6902
|
while (pos < state.posMax && !isTerminatorChar(state.src.charCodeAt(pos))) pos++;
|
|
7130
6903
|
if (pos === state.pos) return false;
|
|
@@ -7181,16 +6954,19 @@ function newline(state, silent) {
|
|
|
7181
6954
|
if (state.src.charCodeAt(pos) !== 10) return false;
|
|
7182
6955
|
const pmax = state.pending.length - 1;
|
|
7183
6956
|
const max2 = state.posMax;
|
|
7184
|
-
if (!silent)
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
6957
|
+
if (!silent) {
|
|
6958
|
+
if (pmax >= 0 && state.pending.charCodeAt(pmax) === 32) {
|
|
6959
|
+
if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 32) {
|
|
6960
|
+
let ws = pmax - 1;
|
|
6961
|
+
while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 32) ws--;
|
|
6962
|
+
state.pending = state.pending.slice(0, ws);
|
|
6963
|
+
state.push("hardbreak", "br", 0);
|
|
6964
|
+
} else {
|
|
6965
|
+
state.pending = state.pending.slice(0, -1);
|
|
6966
|
+
state.push("softbreak", "br", 0);
|
|
6967
|
+
}
|
|
6968
|
+
} else state.push("softbreak", "br", 0);
|
|
7192
6969
|
}
|
|
7193
|
-
else state.push("softbreak", "br", 0);
|
|
7194
6970
|
pos++;
|
|
7195
6971
|
while (pos < max2 && isSpace(state.src.charCodeAt(pos))) pos++;
|
|
7196
6972
|
state.pos = pos;
|
|
@@ -7437,7 +7213,7 @@ var emphasis_default = {
|
|
|
7437
7213
|
tokenize: emphasis_tokenize,
|
|
7438
7214
|
postProcess: emphasis_post_process
|
|
7439
7215
|
};
|
|
7440
|
-
function
|
|
7216
|
+
function link(state, silent) {
|
|
7441
7217
|
let code3, label, res, ref;
|
|
7442
7218
|
let href = "";
|
|
7443
7219
|
let title = "";
|
|
@@ -7521,7 +7297,7 @@ function link2(state, silent) {
|
|
|
7521
7297
|
state.posMax = max2;
|
|
7522
7298
|
return true;
|
|
7523
7299
|
}
|
|
7524
|
-
function
|
|
7300
|
+
function image(state, silent) {
|
|
7525
7301
|
let code3, content, label, pos, ref, res, title, start;
|
|
7526
7302
|
let href = "";
|
|
7527
7303
|
const oldPos = state.pos;
|
|
@@ -7663,22 +7439,53 @@ function isLetter(ch) {
|
|
|
7663
7439
|
const lc = ch | 32;
|
|
7664
7440
|
return lc >= 97 && lc <= 122;
|
|
7665
7441
|
}
|
|
7442
|
+
function scanSpecial(state, pos) {
|
|
7443
|
+
const src = state.src;
|
|
7444
|
+
let start;
|
|
7445
|
+
let terminator;
|
|
7446
|
+
if (src.startsWith("<!--", pos)) {
|
|
7447
|
+
if (src.startsWith(">", pos + 4)) return pos + 5;
|
|
7448
|
+
if (src.startsWith("->", pos + 4)) return pos + 6;
|
|
7449
|
+
start = pos + 4;
|
|
7450
|
+
terminator = "-->";
|
|
7451
|
+
} else if (src.startsWith("<![CDATA[", pos)) {
|
|
7452
|
+
start = pos + 9;
|
|
7453
|
+
terminator = "]]>";
|
|
7454
|
+
} else if (src.charCodeAt(pos + 1) === 63) {
|
|
7455
|
+
start = pos + 2;
|
|
7456
|
+
terminator = "?>";
|
|
7457
|
+
} else if (isLetter(src.charCodeAt(pos + 2))) {
|
|
7458
|
+
start = pos + 3;
|
|
7459
|
+
terminator = ">";
|
|
7460
|
+
} else return -1;
|
|
7461
|
+
if (state.skipHtmlSpecial) return -1;
|
|
7462
|
+
const end = src.indexOf(terminator, start);
|
|
7463
|
+
if (end < 0) {
|
|
7464
|
+
state.skipHtmlSpecial = true;
|
|
7465
|
+
return -1;
|
|
7466
|
+
}
|
|
7467
|
+
return end + terminator.length;
|
|
7468
|
+
}
|
|
7666
7469
|
function html_inline(state, silent) {
|
|
7667
7470
|
if (!state.md.options.html) return false;
|
|
7668
7471
|
const max2 = state.posMax;
|
|
7669
7472
|
const pos = state.pos;
|
|
7670
7473
|
if (state.src.charCodeAt(pos) !== 60 || pos + 2 >= max2) return false;
|
|
7474
|
+
let end;
|
|
7671
7475
|
const ch = state.src.charCodeAt(pos + 1);
|
|
7672
|
-
if (ch
|
|
7673
|
-
|
|
7674
|
-
|
|
7476
|
+
if (ch === 33 || ch === 63) end = scanSpecial(state, pos);
|
|
7477
|
+
else if (ch === 47 || isLetter(ch)) {
|
|
7478
|
+
const match = state.src.slice(pos).match(HTML_OPEN_CLOSE_TAG_RE);
|
|
7479
|
+
end = match ? pos + match[0].length : -1;
|
|
7480
|
+
} else return false;
|
|
7481
|
+
if (end < 0) return false;
|
|
7675
7482
|
if (!silent) {
|
|
7676
7483
|
const token = state.push("html_inline", "", 0);
|
|
7677
|
-
token.content =
|
|
7484
|
+
token.content = state.src.slice(pos, end);
|
|
7678
7485
|
if (isLinkOpen(token.content)) state.linkLevel++;
|
|
7679
7486
|
if (isLinkClose(token.content)) state.linkLevel--;
|
|
7680
7487
|
}
|
|
7681
|
-
state.pos
|
|
7488
|
+
state.pos = end;
|
|
7682
7489
|
return true;
|
|
7683
7490
|
}
|
|
7684
7491
|
var DIGITAL_RE = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i;
|
|
@@ -7798,15 +7605,15 @@ function fragments_join(state) {
|
|
|
7798
7605
|
if (curr !== last) tokens.length = last;
|
|
7799
7606
|
}
|
|
7800
7607
|
var _rules = [
|
|
7801
|
-
["text",
|
|
7608
|
+
["text", text],
|
|
7802
7609
|
["linkify", linkify],
|
|
7803
7610
|
["newline", newline],
|
|
7804
7611
|
["escape", escape],
|
|
7805
7612
|
["backticks", backtick],
|
|
7806
7613
|
["strikethrough", strikethrough_default.tokenize],
|
|
7807
7614
|
["emphasis", emphasis_default.tokenize],
|
|
7808
|
-
["link",
|
|
7809
|
-
["image",
|
|
7615
|
+
["link", link],
|
|
7616
|
+
["image", image],
|
|
7810
7617
|
["autolink", autolink],
|
|
7811
7618
|
["html_inline", html_inline],
|
|
7812
7619
|
["entity", entity]
|
|
@@ -8300,152 +8107,411 @@ var MarkdownIt = class {
|
|
|
8300
8107
|
render(src, env = {}) {
|
|
8301
8108
|
return this.renderer.render(this.parse(src, env), this.options, env);
|
|
8302
8109
|
}
|
|
8303
|
-
/**
|
|
8304
|
-
* The same as {@link MarkdownIt.parse} but skip all block rules. It returns
|
|
8305
|
-
* the block tokens list with the single `inline` element, containing parsed
|
|
8306
|
-
* inline tokens in `children` property. Also updates `env` object.
|
|
8307
|
-
*/
|
|
8308
|
-
parseInline(src, env) {
|
|
8309
|
-
const state = new this.core.State(src, this, env);
|
|
8310
|
-
state.inlineMode = true;
|
|
8311
|
-
this.core.process(state);
|
|
8312
|
-
return state.tokens;
|
|
8110
|
+
/**
|
|
8111
|
+
* The same as {@link MarkdownIt.parse} but skip all block rules. It returns
|
|
8112
|
+
* the block tokens list with the single `inline` element, containing parsed
|
|
8113
|
+
* inline tokens in `children` property. Also updates `env` object.
|
|
8114
|
+
*/
|
|
8115
|
+
parseInline(src, env) {
|
|
8116
|
+
const state = new this.core.State(src, this, env);
|
|
8117
|
+
state.inlineMode = true;
|
|
8118
|
+
this.core.process(state);
|
|
8119
|
+
return state.tokens;
|
|
8120
|
+
}
|
|
8121
|
+
/**
|
|
8122
|
+
* Similar to {@link MarkdownIt.render} but for single paragraph content.
|
|
8123
|
+
* Result will NOT be wrapped into `<p>` tags.
|
|
8124
|
+
*/
|
|
8125
|
+
renderInline(src, env = {}) {
|
|
8126
|
+
return this.renderer.render(this.parseInline(src, env), this.options, env);
|
|
8127
|
+
}
|
|
8128
|
+
};
|
|
8129
|
+
_defineProperty(MarkdownIt, "Token", Token);
|
|
8130
|
+
_defineProperty(MarkdownIt, "Ruler", Ruler);
|
|
8131
|
+
_defineProperty(MarkdownIt, "Renderer", Renderer);
|
|
8132
|
+
_defineProperty(MarkdownIt, "ParserCore", ParserCore);
|
|
8133
|
+
_defineProperty(MarkdownIt, "StateCore", StateCore);
|
|
8134
|
+
_defineProperty(MarkdownIt, "ParserBlock", ParserBlock);
|
|
8135
|
+
_defineProperty(MarkdownIt, "StateBlock", StateBlock);
|
|
8136
|
+
_defineProperty(MarkdownIt, "ParserInline", ParserInline);
|
|
8137
|
+
_defineProperty(MarkdownIt, "StateInline", StateInline);
|
|
8138
|
+
var MarkdownItCallable = callable(MarkdownIt);
|
|
8139
|
+
|
|
8140
|
+
// src/renderers/html.ts
|
|
8141
|
+
var { escapeHtml: escapeHtml2 } = MarkdownItCallable().utils;
|
|
8142
|
+
var voidElements = /* @__PURE__ */ new Set([
|
|
8143
|
+
"area",
|
|
8144
|
+
"base",
|
|
8145
|
+
"br",
|
|
8146
|
+
"col",
|
|
8147
|
+
"embed",
|
|
8148
|
+
"hr",
|
|
8149
|
+
"img",
|
|
8150
|
+
"input",
|
|
8151
|
+
"link",
|
|
8152
|
+
"meta",
|
|
8153
|
+
"param",
|
|
8154
|
+
"source",
|
|
8155
|
+
"track",
|
|
8156
|
+
"wbr"
|
|
8157
|
+
]);
|
|
8158
|
+
var tagName = /^[a-zA-Z][^\s/>\0]*$/;
|
|
8159
|
+
var attributeName = /^[^\s"'>/=\0]+$/;
|
|
8160
|
+
function render(node2) {
|
|
8161
|
+
if (typeof node2 === "string" || typeof node2 === "number")
|
|
8162
|
+
return escapeHtml2(String(node2));
|
|
8163
|
+
if (Array.isArray(node2)) return node2.map(render).join("");
|
|
8164
|
+
if (node2 === null || typeof node2 !== "object" || !Tag.isTag(node2)) return "";
|
|
8165
|
+
const { name, attributes, children = [] } = node2;
|
|
8166
|
+
if (!name || !tagName.test(name)) return render(children);
|
|
8167
|
+
let output = `<${name}`;
|
|
8168
|
+
for (const [k, v] of Object.entries(attributes ?? {}))
|
|
8169
|
+
if (v != null && attributeName.test(k))
|
|
8170
|
+
output += ` ${k.toLowerCase()}="${escapeHtml2(String(v))}"`;
|
|
8171
|
+
output += ">";
|
|
8172
|
+
if (voidElements.has(name)) return output;
|
|
8173
|
+
if (children.length) output += render(children);
|
|
8174
|
+
output += `</${name}>`;
|
|
8175
|
+
return output;
|
|
8176
|
+
}
|
|
8177
|
+
|
|
8178
|
+
// src/renderers/react/react.ts
|
|
8179
|
+
function tagName2(name, components) {
|
|
8180
|
+
return typeof name !== "string" ? name : name[0] !== name[0].toUpperCase() ? name : components instanceof Function ? components(name) : components[name];
|
|
8181
|
+
}
|
|
8182
|
+
function dynamic(node2, React, { components = {}, resolveTagName = tagName2 } = {}) {
|
|
8183
|
+
function deepRender2(value) {
|
|
8184
|
+
if (value == null || typeof value !== "object") return value;
|
|
8185
|
+
if (Array.isArray(value)) return value.map((item2) => deepRender2(item2));
|
|
8186
|
+
if (value.$$mdtype === "Tag") return render3(value);
|
|
8187
|
+
if (typeof value !== "object") return value;
|
|
8188
|
+
return Object.fromEntries(
|
|
8189
|
+
Object.entries(value).map(([k, v]) => [k, deepRender2(v)])
|
|
8190
|
+
);
|
|
8191
|
+
}
|
|
8192
|
+
function render3(node3) {
|
|
8193
|
+
if (Array.isArray(node3))
|
|
8194
|
+
return React.createElement(React.Fragment, null, ...node3.map(render3));
|
|
8195
|
+
if (node3 === null || typeof node3 !== "object" || !Tag.isTag(node3)) {
|
|
8196
|
+
return node3;
|
|
8197
|
+
}
|
|
8198
|
+
const {
|
|
8199
|
+
name,
|
|
8200
|
+
attributes: { class: className, ...attrs } = {},
|
|
8201
|
+
children = []
|
|
8202
|
+
} = node3;
|
|
8203
|
+
if (className) attrs.className = className;
|
|
8204
|
+
return React.createElement(
|
|
8205
|
+
resolveTagName(name, components),
|
|
8206
|
+
Object.keys(attrs).length === 0 ? null : deepRender2(attrs),
|
|
8207
|
+
...children.map(render3)
|
|
8208
|
+
);
|
|
8209
|
+
}
|
|
8210
|
+
return render3(node2);
|
|
8211
|
+
}
|
|
8212
|
+
|
|
8213
|
+
// src/renderers/react/static.ts
|
|
8214
|
+
function tagName3(name, components) {
|
|
8215
|
+
return typeof name !== "string" ? "Fragment" : name[0] !== name[0].toUpperCase() ? name : components instanceof Function ? components(name) : components[name];
|
|
8216
|
+
}
|
|
8217
|
+
function renderArray(children) {
|
|
8218
|
+
return children.map(render2).join(", ");
|
|
8219
|
+
}
|
|
8220
|
+
function deepRender(value) {
|
|
8221
|
+
if (value == null || typeof value !== "object") return JSON.stringify(value);
|
|
8222
|
+
if (Array.isArray(value))
|
|
8223
|
+
return `[${value.map((item2) => deepRender(item2)).join(", ")}]`;
|
|
8224
|
+
if (value.$$mdtype === "Tag") return render2(value);
|
|
8225
|
+
if (typeof value !== "object") return JSON.stringify(value);
|
|
8226
|
+
const object = Object.entries(value).map(([k, v]) => [JSON.stringify(k), deepRender(v)].join(": ")).join(", ");
|
|
8227
|
+
return `{${object}}`;
|
|
8228
|
+
}
|
|
8229
|
+
function render2(node2) {
|
|
8230
|
+
if (Array.isArray(node2))
|
|
8231
|
+
return `React.createElement(React.Fragment, null, ${renderArray(node2)})`;
|
|
8232
|
+
if (node2 === null || typeof node2 !== "object" || !Tag.isTag(node2))
|
|
8233
|
+
return JSON.stringify(node2);
|
|
8234
|
+
const {
|
|
8235
|
+
name,
|
|
8236
|
+
attributes: { class: className, ...attrs } = {},
|
|
8237
|
+
children = []
|
|
8238
|
+
} = node2;
|
|
8239
|
+
if (className) attrs.className = className;
|
|
8240
|
+
return `React.createElement(
|
|
8241
|
+
tagName(${JSON.stringify(name)}, components),
|
|
8242
|
+
${Object.keys(attrs).length === 0 ? "null" : deepRender(attrs)},
|
|
8243
|
+
${renderArray(children)})`;
|
|
8244
|
+
}
|
|
8245
|
+
function reactStatic(node2, { resolveTagName = tagName3 } = {}) {
|
|
8246
|
+
return `
|
|
8247
|
+
(({components = {}} = {}) => {
|
|
8248
|
+
const tagName = (${resolveTagName});
|
|
8249
|
+
return ${render2(node2)};
|
|
8250
|
+
})
|
|
8251
|
+
`;
|
|
8252
|
+
}
|
|
8253
|
+
|
|
8254
|
+
// src/renderers/index.ts
|
|
8255
|
+
var renderers_default = { html: render, react: dynamic, reactStatic };
|
|
8256
|
+
|
|
8257
|
+
// src/schema.ts
|
|
8258
|
+
var schema_exports = {};
|
|
8259
|
+
__export(schema_exports, {
|
|
8260
|
+
blockquote: () => blockquote2,
|
|
8261
|
+
code: () => code2,
|
|
8262
|
+
comment: () => comment,
|
|
8263
|
+
document: () => document,
|
|
8264
|
+
em: () => em,
|
|
8265
|
+
error: () => error2,
|
|
8266
|
+
fence: () => fence2,
|
|
8267
|
+
hardbreak: () => hardbreak,
|
|
8268
|
+
heading: () => heading2,
|
|
8269
|
+
hr: () => hr2,
|
|
8270
|
+
image: () => image2,
|
|
8271
|
+
inline: () => inline2,
|
|
8272
|
+
item: () => item,
|
|
8273
|
+
link: () => link2,
|
|
8274
|
+
list: () => list2,
|
|
8275
|
+
node: () => node,
|
|
8276
|
+
paragraph: () => paragraph2,
|
|
8277
|
+
s: () => s,
|
|
8278
|
+
softbreak: () => softbreak,
|
|
8279
|
+
strong: () => strong,
|
|
8280
|
+
table: () => table2,
|
|
8281
|
+
tbody: () => tbody,
|
|
8282
|
+
td: () => td,
|
|
8283
|
+
text: () => text2,
|
|
8284
|
+
th: () => th,
|
|
8285
|
+
thead: () => thead,
|
|
8286
|
+
tr: () => tr
|
|
8287
|
+
});
|
|
8288
|
+
var document = {
|
|
8289
|
+
render: "article",
|
|
8290
|
+
children: [
|
|
8291
|
+
"heading",
|
|
8292
|
+
"paragraph",
|
|
8293
|
+
"image",
|
|
8294
|
+
"table",
|
|
8295
|
+
"tag",
|
|
8296
|
+
"fence",
|
|
8297
|
+
"blockquote",
|
|
8298
|
+
"comment",
|
|
8299
|
+
"list",
|
|
8300
|
+
"hr"
|
|
8301
|
+
],
|
|
8302
|
+
attributes: {
|
|
8303
|
+
frontmatter: { render: false }
|
|
8304
|
+
}
|
|
8305
|
+
};
|
|
8306
|
+
var heading2 = {
|
|
8307
|
+
children: ["inline"],
|
|
8308
|
+
attributes: {
|
|
8309
|
+
level: { type: Number, render: false, required: true }
|
|
8310
|
+
},
|
|
8311
|
+
transform(node2, config2) {
|
|
8312
|
+
const level = node2.attributes["level"];
|
|
8313
|
+
if (!(Number.isInteger(level) && level >= 1 && level <= 6))
|
|
8314
|
+
return node2.transformChildren(config2);
|
|
8315
|
+
return new Tag(
|
|
8316
|
+
`h${level}`,
|
|
8317
|
+
node2.transformAttributes(config2),
|
|
8318
|
+
node2.transformChildren(config2)
|
|
8319
|
+
);
|
|
8320
|
+
}
|
|
8321
|
+
};
|
|
8322
|
+
var paragraph2 = {
|
|
8323
|
+
render: "p",
|
|
8324
|
+
children: ["inline"]
|
|
8325
|
+
};
|
|
8326
|
+
var image2 = {
|
|
8327
|
+
render: "img",
|
|
8328
|
+
attributes: {
|
|
8329
|
+
src: { type: String, required: true },
|
|
8330
|
+
alt: { type: String },
|
|
8331
|
+
title: { type: String }
|
|
8332
|
+
// width/height attributes will need to be to be implemented as an extension to markdown-it
|
|
8333
|
+
}
|
|
8334
|
+
};
|
|
8335
|
+
var fence2 = {
|
|
8336
|
+
render: "pre",
|
|
8337
|
+
attributes: {
|
|
8338
|
+
content: { type: String, render: false, required: true },
|
|
8339
|
+
language: { type: String, render: "data-language" },
|
|
8340
|
+
process: { type: Boolean, render: false, default: true }
|
|
8341
|
+
},
|
|
8342
|
+
transform(node2, config2) {
|
|
8343
|
+
const attributes = node2.transformAttributes(config2);
|
|
8344
|
+
const children = node2.children.length ? node2.transformChildren(config2) : [node2.attributes.content];
|
|
8345
|
+
return new Tag(this.render ?? "pre", attributes, children);
|
|
8346
|
+
}
|
|
8347
|
+
};
|
|
8348
|
+
var blockquote2 = {
|
|
8349
|
+
render: "blockquote",
|
|
8350
|
+
children: [
|
|
8351
|
+
"heading",
|
|
8352
|
+
"paragraph",
|
|
8353
|
+
"image",
|
|
8354
|
+
"table",
|
|
8355
|
+
"tag",
|
|
8356
|
+
"fence",
|
|
8357
|
+
"blockquote",
|
|
8358
|
+
"list",
|
|
8359
|
+
"hr"
|
|
8360
|
+
]
|
|
8361
|
+
};
|
|
8362
|
+
var item = {
|
|
8363
|
+
render: "li",
|
|
8364
|
+
children: [
|
|
8365
|
+
"inline",
|
|
8366
|
+
"heading",
|
|
8367
|
+
"paragraph",
|
|
8368
|
+
"image",
|
|
8369
|
+
"table",
|
|
8370
|
+
"tag",
|
|
8371
|
+
"fence",
|
|
8372
|
+
"blockquote",
|
|
8373
|
+
"list",
|
|
8374
|
+
"hr"
|
|
8375
|
+
]
|
|
8376
|
+
};
|
|
8377
|
+
var list2 = {
|
|
8378
|
+
children: ["item"],
|
|
8379
|
+
attributes: {
|
|
8380
|
+
ordered: { type: Boolean, render: false, required: true },
|
|
8381
|
+
start: { type: Number },
|
|
8382
|
+
marker: { type: String, render: false }
|
|
8383
|
+
},
|
|
8384
|
+
transform(node2, config2) {
|
|
8385
|
+
return new Tag(
|
|
8386
|
+
node2.attributes.ordered ? "ol" : "ul",
|
|
8387
|
+
node2.transformAttributes(config2),
|
|
8388
|
+
node2.transformChildren(config2)
|
|
8389
|
+
);
|
|
8390
|
+
}
|
|
8391
|
+
};
|
|
8392
|
+
var hr2 = {
|
|
8393
|
+
render: "hr"
|
|
8394
|
+
};
|
|
8395
|
+
var table2 = {
|
|
8396
|
+
render: "table"
|
|
8397
|
+
};
|
|
8398
|
+
var td = {
|
|
8399
|
+
render: "td",
|
|
8400
|
+
children: [
|
|
8401
|
+
"inline",
|
|
8402
|
+
"heading",
|
|
8403
|
+
"paragraph",
|
|
8404
|
+
"image",
|
|
8405
|
+
"table",
|
|
8406
|
+
"tag",
|
|
8407
|
+
"fence",
|
|
8408
|
+
"blockquote",
|
|
8409
|
+
"list",
|
|
8410
|
+
"hr"
|
|
8411
|
+
],
|
|
8412
|
+
attributes: {
|
|
8413
|
+
align: { type: String },
|
|
8414
|
+
colspan: { type: Number, render: "colSpan" },
|
|
8415
|
+
rowspan: { type: Number, render: "rowSpan" }
|
|
8416
|
+
}
|
|
8417
|
+
};
|
|
8418
|
+
var th = {
|
|
8419
|
+
render: "th",
|
|
8420
|
+
attributes: {
|
|
8421
|
+
width: { type: String },
|
|
8422
|
+
align: { type: String },
|
|
8423
|
+
colspan: { type: Number, render: "colSpan" },
|
|
8424
|
+
rowspan: { type: Number, render: "rowSpan" }
|
|
8425
|
+
}
|
|
8426
|
+
};
|
|
8427
|
+
var tr = {
|
|
8428
|
+
render: "tr",
|
|
8429
|
+
children: ["th", "td"]
|
|
8430
|
+
};
|
|
8431
|
+
var tbody = {
|
|
8432
|
+
render: "tbody",
|
|
8433
|
+
children: ["tr", "tag"]
|
|
8434
|
+
};
|
|
8435
|
+
var thead = {
|
|
8436
|
+
render: "thead",
|
|
8437
|
+
children: ["tr"]
|
|
8438
|
+
};
|
|
8439
|
+
var strong = {
|
|
8440
|
+
render: "strong",
|
|
8441
|
+
children: ["em", "s", "link", "code", "text", "tag"],
|
|
8442
|
+
attributes: {
|
|
8443
|
+
marker: { type: String, render: false }
|
|
8444
|
+
}
|
|
8445
|
+
};
|
|
8446
|
+
var em = {
|
|
8447
|
+
render: "em",
|
|
8448
|
+
children: ["strong", "s", "link", "code", "text", "tag"],
|
|
8449
|
+
attributes: {
|
|
8450
|
+
marker: { type: String, render: false }
|
|
8313
8451
|
}
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8452
|
+
};
|
|
8453
|
+
var s = {
|
|
8454
|
+
render: "s",
|
|
8455
|
+
children: ["strong", "em", "link", "code", "text", "tag"]
|
|
8456
|
+
};
|
|
8457
|
+
var inline2 = {
|
|
8458
|
+
children: [
|
|
8459
|
+
"strong",
|
|
8460
|
+
"em",
|
|
8461
|
+
"s",
|
|
8462
|
+
"code",
|
|
8463
|
+
"text",
|
|
8464
|
+
"tag",
|
|
8465
|
+
"link",
|
|
8466
|
+
"image",
|
|
8467
|
+
"hardbreak",
|
|
8468
|
+
"softbreak",
|
|
8469
|
+
"comment"
|
|
8470
|
+
]
|
|
8471
|
+
};
|
|
8472
|
+
var link2 = {
|
|
8473
|
+
render: "a",
|
|
8474
|
+
children: ["strong", "em", "s", "code", "text", "tag"],
|
|
8475
|
+
attributes: {
|
|
8476
|
+
href: { type: String, required: true },
|
|
8477
|
+
title: { type: String }
|
|
8320
8478
|
}
|
|
8321
8479
|
};
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
// src/renderers/html.ts
|
|
8334
|
-
var { escapeHtml: escapeHtml2 } = MarkdownItCallable().utils;
|
|
8335
|
-
var voidElements = /* @__PURE__ */ new Set([
|
|
8336
|
-
"area",
|
|
8337
|
-
"base",
|
|
8338
|
-
"br",
|
|
8339
|
-
"col",
|
|
8340
|
-
"embed",
|
|
8341
|
-
"hr",
|
|
8342
|
-
"img",
|
|
8343
|
-
"input",
|
|
8344
|
-
"link",
|
|
8345
|
-
"meta",
|
|
8346
|
-
"param",
|
|
8347
|
-
"source",
|
|
8348
|
-
"track",
|
|
8349
|
-
"wbr"
|
|
8350
|
-
]);
|
|
8351
|
-
function render(node2) {
|
|
8352
|
-
if (typeof node2 === "string" || typeof node2 === "number")
|
|
8353
|
-
return escapeHtml2(String(node2));
|
|
8354
|
-
if (Array.isArray(node2)) return node2.map(render).join("");
|
|
8355
|
-
if (node2 === null || typeof node2 !== "object" || !Tag.isTag(node2)) return "";
|
|
8356
|
-
const { name, attributes, children = [] } = node2;
|
|
8357
|
-
if (!name) return render(children);
|
|
8358
|
-
let output = `<${name}`;
|
|
8359
|
-
for (const [k, v] of Object.entries(attributes ?? {}))
|
|
8360
|
-
output += ` ${k.toLowerCase()}="${escapeHtml2(String(v))}"`;
|
|
8361
|
-
output += ">";
|
|
8362
|
-
if (voidElements.has(name)) return output;
|
|
8363
|
-
if (children.length) output += render(children);
|
|
8364
|
-
output += `</${name}>`;
|
|
8365
|
-
return output;
|
|
8366
|
-
}
|
|
8367
|
-
|
|
8368
|
-
// src/renderers/react/react.ts
|
|
8369
|
-
function tagName(name, components) {
|
|
8370
|
-
return typeof name !== "string" ? name : name[0] !== name[0].toUpperCase() ? name : components instanceof Function ? components(name) : components[name];
|
|
8371
|
-
}
|
|
8372
|
-
function dynamic(node2, React, { components = {}, resolveTagName = tagName } = {}) {
|
|
8373
|
-
function deepRender2(value) {
|
|
8374
|
-
if (value == null || typeof value !== "object") return value;
|
|
8375
|
-
if (Array.isArray(value)) return value.map((item2) => deepRender2(item2));
|
|
8376
|
-
if (value.$$mdtype === "Tag") return render3(value);
|
|
8377
|
-
if (typeof value !== "object") return value;
|
|
8378
|
-
return Object.fromEntries(
|
|
8379
|
-
Object.entries(value).map(([k, v]) => [k, deepRender2(v)])
|
|
8380
|
-
);
|
|
8480
|
+
var code2 = {
|
|
8481
|
+
render: "code",
|
|
8482
|
+
attributes: {
|
|
8483
|
+
content: { type: String, render: false, required: true }
|
|
8484
|
+
},
|
|
8485
|
+
transform(node2, config2) {
|
|
8486
|
+
const attributes = node2.transformAttributes(config2);
|
|
8487
|
+
return new Tag(this.render ?? "code", attributes, [
|
|
8488
|
+
node2.attributes.content
|
|
8489
|
+
]);
|
|
8381
8490
|
}
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
name,
|
|
8390
|
-
attributes: { class: className, ...attrs } = {},
|
|
8391
|
-
children = []
|
|
8392
|
-
} = node3;
|
|
8393
|
-
if (className) attrs.className = className;
|
|
8394
|
-
return React.createElement(
|
|
8395
|
-
resolveTagName(name, components),
|
|
8396
|
-
Object.keys(attrs).length == 0 ? null : deepRender2(attrs),
|
|
8397
|
-
...children.map(render3)
|
|
8398
|
-
);
|
|
8491
|
+
};
|
|
8492
|
+
var text2 = {
|
|
8493
|
+
attributes: {
|
|
8494
|
+
content: { type: String, required: true }
|
|
8495
|
+
},
|
|
8496
|
+
transform(node2) {
|
|
8497
|
+
return node2.attributes.content;
|
|
8399
8498
|
}
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
function renderArray(children) {
|
|
8408
|
-
return children.map(render2).join(", ");
|
|
8409
|
-
}
|
|
8410
|
-
function deepRender(value) {
|
|
8411
|
-
if (value == null || typeof value !== "object") return JSON.stringify(value);
|
|
8412
|
-
if (Array.isArray(value))
|
|
8413
|
-
return `[${value.map((item2) => deepRender(item2)).join(", ")}]`;
|
|
8414
|
-
if (value.$$mdtype === "Tag") return render2(value);
|
|
8415
|
-
if (typeof value !== "object") return JSON.stringify(value);
|
|
8416
|
-
const object = Object.entries(value).map(([k, v]) => [JSON.stringify(k), deepRender(v)].join(": ")).join(", ");
|
|
8417
|
-
return `{${object}}`;
|
|
8418
|
-
}
|
|
8419
|
-
function render2(node2) {
|
|
8420
|
-
if (Array.isArray(node2))
|
|
8421
|
-
return `React.createElement(React.Fragment, null, ${renderArray(node2)})`;
|
|
8422
|
-
if (node2 === null || typeof node2 !== "object" || !Tag.isTag(node2))
|
|
8423
|
-
return JSON.stringify(node2);
|
|
8424
|
-
const {
|
|
8425
|
-
name,
|
|
8426
|
-
attributes: { class: className, ...attrs } = {},
|
|
8427
|
-
children = []
|
|
8428
|
-
} = node2;
|
|
8429
|
-
if (className) attrs.className = className;
|
|
8430
|
-
return `React.createElement(
|
|
8431
|
-
tagName(${JSON.stringify(name)}, components),
|
|
8432
|
-
${Object.keys(attrs).length == 0 ? "null" : deepRender(attrs)},
|
|
8433
|
-
${renderArray(children)})`;
|
|
8434
|
-
}
|
|
8435
|
-
function reactStatic(node2, { resolveTagName = tagName2 } = {}) {
|
|
8436
|
-
if (resolveTagName.name !== "tagName") {
|
|
8437
|
-
throw new Error("resolveTagName must be named tagName");
|
|
8499
|
+
};
|
|
8500
|
+
var hardbreak = {
|
|
8501
|
+
render: "br"
|
|
8502
|
+
};
|
|
8503
|
+
var softbreak = {
|
|
8504
|
+
transform() {
|
|
8505
|
+
return " ";
|
|
8438
8506
|
}
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
}
|
|
8444
|
-
|
|
8445
|
-
}
|
|
8446
|
-
|
|
8447
|
-
// src/renderers/index.ts
|
|
8448
|
-
var renderers_default = { html: render, react: dynamic, reactStatic };
|
|
8507
|
+
};
|
|
8508
|
+
var comment = {
|
|
8509
|
+
attributes: {
|
|
8510
|
+
content: { type: String, required: true }
|
|
8511
|
+
}
|
|
8512
|
+
};
|
|
8513
|
+
var error2 = {};
|
|
8514
|
+
var node = {};
|
|
8449
8515
|
|
|
8450
8516
|
// src/tags/partial.ts
|
|
8451
8517
|
var PartialFile = class {
|
|
@@ -8488,12 +8554,6 @@ var partial = {
|
|
|
8488
8554
|
}
|
|
8489
8555
|
};
|
|
8490
8556
|
|
|
8491
|
-
// src/tags/table.ts
|
|
8492
|
-
var table3 = {
|
|
8493
|
-
children: ["table"],
|
|
8494
|
-
inline: false
|
|
8495
|
-
};
|
|
8496
|
-
|
|
8497
8557
|
// src/tags/slot.ts
|
|
8498
8558
|
var slot = {
|
|
8499
8559
|
attributes: {
|
|
@@ -8501,6 +8561,12 @@ var slot = {
|
|
|
8501
8561
|
}
|
|
8502
8562
|
};
|
|
8503
8563
|
|
|
8564
|
+
// src/tags/table.ts
|
|
8565
|
+
var table3 = {
|
|
8566
|
+
children: ["table"],
|
|
8567
|
+
inline: false
|
|
8568
|
+
};
|
|
8569
|
+
|
|
8504
8570
|
// src/tags/index.ts
|
|
8505
8571
|
var tags_default = {
|
|
8506
8572
|
else: tagElse,
|
|
@@ -8537,7 +8603,7 @@ function createToken(state, content, contentStart) {
|
|
|
8537
8603
|
return token;
|
|
8538
8604
|
}
|
|
8539
8605
|
}
|
|
8540
|
-
function block2(state, startLine,
|
|
8606
|
+
function block2(state, startLine, _endLine, silent) {
|
|
8541
8607
|
const start = state.bMarks[startLine] + state.tShift[startLine];
|
|
8542
8608
|
const finish = state.eMarks[startLine];
|
|
8543
8609
|
if (!state.src.startsWith(OPEN, start)) return false;
|
|
@@ -8603,35 +8669,10 @@ function plugin(md) {
|
|
|
8603
8669
|
md.core.ruler.push("annotations", core);
|
|
8604
8670
|
}
|
|
8605
8671
|
|
|
8606
|
-
// src/tokenizer/plugins/frontmatter.ts
|
|
8607
|
-
var fence3 = "---";
|
|
8608
|
-
function getLine2(state, n) {
|
|
8609
|
-
return state.src.slice(state.bMarks[n], state.eMarks[n]).trim();
|
|
8610
|
-
}
|
|
8611
|
-
function findClose(state, endLine) {
|
|
8612
|
-
for (let line = 1; line < endLine; line++)
|
|
8613
|
-
if (getLine2(state, line) === fence3) return line;
|
|
8614
|
-
}
|
|
8615
|
-
function block3(state, startLine, endLine, silent) {
|
|
8616
|
-
if (startLine != 0 || getLine2(state, 0) != fence3) return false;
|
|
8617
|
-
const close = findClose(state, endLine);
|
|
8618
|
-
if (!close) return false;
|
|
8619
|
-
if (silent) return true;
|
|
8620
|
-
const token = state.push("frontmatter", "", 0);
|
|
8621
|
-
token.content = state.src.slice(state.eMarks[0], state.bMarks[close]).trim();
|
|
8622
|
-
token.map = [0, close];
|
|
8623
|
-
token.hidden = true;
|
|
8624
|
-
state.line = close + 1;
|
|
8625
|
-
return true;
|
|
8626
|
-
}
|
|
8627
|
-
function plugin2(md) {
|
|
8628
|
-
md.block.ruler.before("hr", "frontmatter", block3);
|
|
8629
|
-
}
|
|
8630
|
-
|
|
8631
8672
|
// src/tokenizer/plugins/comments.ts
|
|
8632
8673
|
var OPEN2 = "<!--";
|
|
8633
8674
|
var CLOSE2 = "-->";
|
|
8634
|
-
function
|
|
8675
|
+
function block3(state, startLine, _endLine, silent) {
|
|
8635
8676
|
const start = state.bMarks[startLine] + state.tShift[startLine];
|
|
8636
8677
|
if (!state.src.startsWith(OPEN2, start)) return false;
|
|
8637
8678
|
const close = state.src.indexOf(CLOSE2, start);
|
|
@@ -8656,11 +8697,36 @@ function inline4(state, silent) {
|
|
|
8656
8697
|
state.pos = close + CLOSE2.length;
|
|
8657
8698
|
return true;
|
|
8658
8699
|
}
|
|
8659
|
-
function
|
|
8660
|
-
md.block.ruler.before("table", "comment",
|
|
8700
|
+
function plugin2(md) {
|
|
8701
|
+
md.block.ruler.before("table", "comment", block3, { alt: ["paragraph"] });
|
|
8661
8702
|
md.inline.ruler.push("comment", inline4);
|
|
8662
8703
|
}
|
|
8663
8704
|
|
|
8705
|
+
// src/tokenizer/plugins/frontmatter.ts
|
|
8706
|
+
var fence3 = "---";
|
|
8707
|
+
function getLine2(state, n) {
|
|
8708
|
+
return state.src.slice(state.bMarks[n], state.eMarks[n]).trim();
|
|
8709
|
+
}
|
|
8710
|
+
function findClose(state, endLine) {
|
|
8711
|
+
for (let line = 1; line < endLine; line++)
|
|
8712
|
+
if (getLine2(state, line) === fence3) return line;
|
|
8713
|
+
}
|
|
8714
|
+
function block4(state, startLine, endLine, silent) {
|
|
8715
|
+
if (startLine !== 0 || getLine2(state, 0) !== fence3) return false;
|
|
8716
|
+
const close = findClose(state, endLine);
|
|
8717
|
+
if (!close) return false;
|
|
8718
|
+
if (silent) return true;
|
|
8719
|
+
const token = state.push("frontmatter", "", 0);
|
|
8720
|
+
token.content = state.src.slice(state.eMarks[0], state.bMarks[close]).trim();
|
|
8721
|
+
token.map = [0, close];
|
|
8722
|
+
token.hidden = true;
|
|
8723
|
+
state.line = close + 1;
|
|
8724
|
+
return true;
|
|
8725
|
+
}
|
|
8726
|
+
function plugin3(md) {
|
|
8727
|
+
md.block.ruler.before("hr", "frontmatter", block4);
|
|
8728
|
+
}
|
|
8729
|
+
|
|
8664
8730
|
// src/tokenizer/plugins/link.ts
|
|
8665
8731
|
var INVALID_HREF_MESSAGE = "The 'href' format cannot contain Markdoc tag or variable. URLs must be static strings.";
|
|
8666
8732
|
function pushHrefError(token) {
|
|
@@ -8689,13 +8755,13 @@ var Tokenizer = class {
|
|
|
8689
8755
|
constructor(config2 = {}) {
|
|
8690
8756
|
this.parser = new MarkdownItCallable(config2);
|
|
8691
8757
|
this.parser.use(plugin);
|
|
8692
|
-
this.parser.use(
|
|
8758
|
+
this.parser.use(plugin3);
|
|
8693
8759
|
this.parser.disable([
|
|
8694
8760
|
"lheading",
|
|
8695
8761
|
// Disable indented `code_block` support https://spec.commonmark.org/0.30/#indented-code-block
|
|
8696
8762
|
"code"
|
|
8697
8763
|
]);
|
|
8698
|
-
if (config2.allowComments) this.parser.use(
|
|
8764
|
+
if (config2.allowComments) this.parser.use(plugin2);
|
|
8699
8765
|
if (config2.allowLinkValidation) {
|
|
8700
8766
|
this.parser.use(
|
|
8701
8767
|
plugin4,
|
|
@@ -8804,7 +8870,7 @@ function validator(node2, config2) {
|
|
|
8804
8870
|
});
|
|
8805
8871
|
return errors2;
|
|
8806
8872
|
}
|
|
8807
|
-
if (schema.inline !=
|
|
8873
|
+
if (schema.inline != null && node2.inline !== schema.inline)
|
|
8808
8874
|
errors2.push({
|
|
8809
8875
|
id: "tag-placement-invalid",
|
|
8810
8876
|
level: "critical",
|
|
@@ -8898,7 +8964,8 @@ function validator(node2, config2) {
|
|
|
8898
8964
|
}
|
|
8899
8965
|
}
|
|
8900
8966
|
for (const [key, { required }] of Object.entries(attributes))
|
|
8901
|
-
if (required &&
|
|
8967
|
+
if (required && // biome-ignore lint/suspicious/noPrototypeBuiltins: Object.hasOwn requires ES2022; Markdoc targets ES2021.
|
|
8968
|
+
(!Object.prototype.hasOwnProperty.call(node2.attributes, key) || node2.attributes[key] === void 0))
|
|
8902
8969
|
errors2.push({
|
|
8903
8970
|
id: "attribute-missing-required",
|
|
8904
8971
|
level: "error",
|
|
@@ -8931,9 +8998,27 @@ function validator(node2, config2) {
|
|
|
8931
8998
|
return errors2;
|
|
8932
8999
|
}
|
|
8933
9000
|
function* walkWithParents(node2, parents = []) {
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
9001
|
+
const stack = [];
|
|
9002
|
+
let current = [node2, parents];
|
|
9003
|
+
while (true) {
|
|
9004
|
+
const [currentNode, currentParents] = current;
|
|
9005
|
+
yield current;
|
|
9006
|
+
const children = [
|
|
9007
|
+
...Object.values(currentNode.slots),
|
|
9008
|
+
...currentNode.children
|
|
9009
|
+
];
|
|
9010
|
+
if (children.length)
|
|
9011
|
+
stack.push({
|
|
9012
|
+
node: currentNode,
|
|
9013
|
+
parents: currentParents,
|
|
9014
|
+
children,
|
|
9015
|
+
index: 0
|
|
9016
|
+
});
|
|
9017
|
+
if (!stack.length) return;
|
|
9018
|
+
const frame = stack[stack.length - 1];
|
|
9019
|
+
current = [frame.children[frame.index++], [...frame.parents, frame.node]];
|
|
9020
|
+
if (frame.index === frame.children.length) stack.pop();
|
|
9021
|
+
}
|
|
8937
9022
|
}
|
|
8938
9023
|
function hasValidLocation(error3) {
|
|
8939
9024
|
const loc = error3.location;
|
|
@@ -9076,5 +9161,5 @@ var Markdoc = class {
|
|
|
9076
9161
|
/*! Bundled license information:
|
|
9077
9162
|
|
|
9078
9163
|
markdown-it/dist/markdown-it.mjs:
|
|
9079
|
-
(*! markdown-it 15.0.
|
|
9164
|
+
(*! markdown-it 15.0.3 https://github.com/markdown-it/markdown-it @license MIT *)
|
|
9080
9165
|
*/
|