@pine-ds/doc-components 2.15.0 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -20,14 +20,14 @@ function Nf() {
|
|
|
20
20
|
if (Ss) return Be;
|
|
21
21
|
Ss = 1;
|
|
22
22
|
var e = be, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
|
-
function o
|
|
23
|
+
function s(o, c, f) {
|
|
24
24
|
var d, E = {}, l = null, g = null;
|
|
25
25
|
f !== void 0 && (l = "" + f), c.key !== void 0 && (l = "" + c.key), c.ref !== void 0 && (g = c.ref);
|
|
26
26
|
for (d in c) a.call(c, d) && !i.hasOwnProperty(d) && (E[d] = c[d]);
|
|
27
|
-
if (
|
|
28
|
-
return { $$typeof: t, type:
|
|
27
|
+
if (o && o.defaultProps) for (d in c = o.defaultProps, c) E[d] === void 0 && (E[d] = c[d]);
|
|
28
|
+
return { $$typeof: t, type: o, key: l, ref: g, props: E, _owner: n.current };
|
|
29
29
|
}
|
|
30
|
-
return Be.Fragment = r, Be.jsx =
|
|
30
|
+
return Be.Fragment = r, Be.jsx = s, Be.jsxs = s, Be;
|
|
31
31
|
}
|
|
32
32
|
var $e = {};
|
|
33
33
|
/**
|
|
@@ -42,7 +42,7 @@ var $e = {};
|
|
|
42
42
|
var vs;
|
|
43
43
|
function wf() {
|
|
44
44
|
return vs || (vs = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
-
var e = be, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"),
|
|
45
|
+
var e = be, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), o = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), b = Symbol.iterator, y = "@@iterator";
|
|
46
46
|
function A(p) {
|
|
47
47
|
if (p === null || typeof p != "object")
|
|
48
48
|
return null;
|
|
@@ -70,7 +70,7 @@ function wf() {
|
|
|
70
70
|
var v = !1, T = !1, S = !1, _ = !1, w = !1, I;
|
|
71
71
|
I = Symbol.for("react.module.reference");
|
|
72
72
|
function O(p) {
|
|
73
|
-
return !!(typeof p == "string" || typeof p == "function" || p === a || p === i || w || p === n || p === f || p === d || _ || p === g || v || T || S || typeof p == "object" && p !== null && (p.$$typeof === l || p.$$typeof === E || p.$$typeof ===
|
|
73
|
+
return !!(typeof p == "string" || typeof p == "function" || p === a || p === i || w || p === n || p === f || p === d || _ || p === g || v || T || S || typeof p == "object" && p !== null && (p.$$typeof === l || p.$$typeof === E || p.$$typeof === s || p.$$typeof === o || p.$$typeof === c || // This needs to include all possible module reference object
|
|
74
74
|
// types supported by any Flight configuration anywhere since
|
|
75
75
|
// we don't know which Flight build this will end up being used
|
|
76
76
|
// with.
|
|
@@ -109,10 +109,10 @@ function wf() {
|
|
|
109
109
|
}
|
|
110
110
|
if (typeof p == "object")
|
|
111
111
|
switch (p.$$typeof) {
|
|
112
|
-
case
|
|
112
|
+
case o:
|
|
113
113
|
var N = p;
|
|
114
114
|
return $(N) + ".Consumer";
|
|
115
|
-
case
|
|
115
|
+
case s:
|
|
116
116
|
var k = p;
|
|
117
117
|
return $(k._context) + ".Provider";
|
|
118
118
|
case c:
|
|
@@ -669,11 +669,11 @@ function bg(e) {
|
|
|
669
669
|
const mg = bg(1), hg = bg(2);
|
|
670
670
|
function Is(e, t) {
|
|
671
671
|
const r = t === 1, a = r ? mg : hg, n = r ? gg : fg, i = r ? Eb : yb;
|
|
672
|
-
return { match(
|
|
673
|
-
const c = hb.exec(
|
|
674
|
-
return c && (
|
|
675
|
-
}, order: 1, parse(
|
|
676
|
-
const f = r ? +
|
|
672
|
+
return { match(s, o) {
|
|
673
|
+
const c = hb.exec(o.prevCapture);
|
|
674
|
+
return c && (o.list || !o.inline && !o.simple) ? a.exec(s = c[1] + s) : null;
|
|
675
|
+
}, order: 1, parse(s, o, c) {
|
|
676
|
+
const f = r ? +s[2] : void 0, d = s[0].replace(xf, `
|
|
677
677
|
`).match(n);
|
|
678
678
|
let E = !1;
|
|
679
679
|
return { items: d.map(function(l, g) {
|
|
@@ -686,11 +686,11 @@ function Is(e, t) {
|
|
|
686
686
|
c.list = !0, m ? (c.inline = !1, T = A.replace(_s, `
|
|
687
687
|
|
|
688
688
|
`)) : (c.inline = !0, T = A.replace(_s, ""));
|
|
689
|
-
const S =
|
|
689
|
+
const S = o(T, c);
|
|
690
690
|
return c.inline = h, c.list = v, S;
|
|
691
691
|
}), ordered: r, start: f };
|
|
692
|
-
}, render: (
|
|
693
|
-
return e("li", { key: d },
|
|
692
|
+
}, render: (s, o, c) => e(s.ordered ? "ol" : "ul", { key: c.key, start: s.type === C.orderedList ? s.start : void 0 }, s.items.map(function(f, d) {
|
|
693
|
+
return e("li", { key: d }, o(f, c));
|
|
694
694
|
})) };
|
|
695
695
|
}
|
|
696
696
|
const Sb = new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), vb = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, Eg = [eg, tg, rg, ag, ig, ng, og, sg, gg, mg, fg, hg], Tb = [...Eg, /^[^\n]+(?: \n|\n{2,})/, No, wo];
|
|
@@ -703,19 +703,19 @@ function Ab(e) {
|
|
|
703
703
|
function Ns(e, t, r, a) {
|
|
704
704
|
const n = r.inTable;
|
|
705
705
|
r.inTable = !0;
|
|
706
|
-
let i = e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((
|
|
706
|
+
let i = e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((o, c) => (c.trim() === "|" ? o.push(a ? { type: C.tableSeparator } : { type: C.text, text: c }) : c !== "" && o.push.apply(o, t(c, r)), o), []);
|
|
707
707
|
r.inTable = n;
|
|
708
|
-
let
|
|
709
|
-
return i.forEach(function(
|
|
710
|
-
|
|
711
|
-
}),
|
|
708
|
+
let s = [[]];
|
|
709
|
+
return i.forEach(function(o, c) {
|
|
710
|
+
o.type === C.tableSeparator ? c !== 0 && c !== i.length - 1 && s.push([]) : (o.type !== C.text || i[c + 1] != null && i[c + 1].type !== C.tableSeparator || (o.text = o.text.trimEnd()), s[s.length - 1].push(o));
|
|
711
|
+
}), s;
|
|
712
712
|
}
|
|
713
713
|
function Rb(e, t, r) {
|
|
714
714
|
r.inline = !0;
|
|
715
|
-
const a = e[2] ? e[2].replace(nb, "").split("|").map(Ab) : [], n = e[3] ? function(
|
|
716
|
-
return
|
|
715
|
+
const a = e[2] ? e[2].replace(nb, "").split("|").map(Ab) : [], n = e[3] ? function(s, o, c) {
|
|
716
|
+
return s.trim().split(`
|
|
717
717
|
`).map(function(f) {
|
|
718
|
-
return Ns(f,
|
|
718
|
+
return Ns(f, o, c, !0);
|
|
719
719
|
});
|
|
720
720
|
}(e[3], t, r) : [], i = Ns(e[1], t, r, !!n.length);
|
|
721
721
|
return r.inline = !1, n.length ? { align: a, cells: n, header: i, type: C.table } : { children: i, type: C.paragraph };
|
|
@@ -849,7 +849,7 @@ function Cb(e = "", t = {}) {
|
|
|
849
849
|
}, {}) : null;
|
|
850
850
|
}
|
|
851
851
|
t.overrides = t.overrides || {}, t.sanitizer = t.sanitizer || Ib, t.slugify = t.slugify || Ge, t.namedCodesToUnicode = t.namedCodesToUnicode ? Ie({}, Rs, t.namedCodesToUnicode) : Rs, t.createElement = t.createElement || et.createElement;
|
|
852
|
-
const i = [],
|
|
852
|
+
const i = [], s = {}, o = { [C.blockQuote]: { match: he(eg), order: 1, parse(l, g, b) {
|
|
853
853
|
const [, y, A] = l[0].replace(Df, "").match(Mf);
|
|
854
854
|
return { alert: y, children: g(A, b) };
|
|
855
855
|
}, render(l, g, b) {
|
|
@@ -867,7 +867,7 @@ function Cb(e = "", t = {}) {
|
|
|
867
867
|
let g = l[1], b = l[1];
|
|
868
868
|
return Lf.test(b) || (b = "mailto:" + b), { children: [{ text: g.replace("mailto:", ""), type: C.text }], target: b, type: C.link };
|
|
869
869
|
} }, [C.orderedList]: Is(r, 1), [C.unorderedList]: Is(r, 2), [C.newlineCoalescer]: { match: he(Bf), order: 3, parse: ht, render: () => `
|
|
870
|
-
` }, [C.paragraph]: { match: _b, order: 3, parse: mt, render: (l, g, b) => r("p", { key: b.key }, g(l.children, b)) }, [C.ref]: { match: Se(Jf), order: 0, parse: (l) => (
|
|
870
|
+
` }, [C.paragraph]: { match: _b, order: 3, parse: mt, render: (l, g, b) => r("p", { key: b.key }, g(l.children, b)) }, [C.ref]: { match: Se(Jf), order: 0, parse: (l) => (s[l[1]] = { target: l[2], title: l[4] }, {}), render: Et }, [C.refImage]: { match: ve(eb), order: 0, parse: (l) => ({ alt: l[1] || void 0, ref: l[2] }), render: (l, g, b) => s[l.ref] ? r("img", { key: b.key, alt: l.alt, src: t.sanitizer(s[l.ref].target, "img", "src"), title: s[l.ref].title }) : null }, [C.refLink]: { match: Se(tb), order: 0, parse: (l, g, b) => ({ children: g(l[1], b), fallbackChildren: l[0], ref: l[2] }), render: (l, g, b) => s[l.ref] ? r("a", { key: b.key, href: t.sanitizer(s[l.ref].target, "a", "href"), title: s[l.ref].title }, g(l.children, b)) : r("span", { key: b.key }, l.fallbackChildren) }, [C.table]: { match: he(sg), order: 1, parse: Rb, render(l, g, b) {
|
|
871
871
|
const y = l;
|
|
872
872
|
return r("table", { key: b.key }, r("thead", null, r("tr", null, y.header.map(function(A, R) {
|
|
873
873
|
return r("th", { key: R, style: ws(y, R) }, g(A, b));
|
|
@@ -877,7 +877,7 @@ function Cb(e = "", t = {}) {
|
|
|
877
877
|
}));
|
|
878
878
|
})));
|
|
879
879
|
} }, [C.text]: { match: qe(gb), order: 4, parse: (l) => ({ text: l[0].replace(Vf, (g, b) => t.namedCodesToUnicode[b] ? t.namedCodesToUnicode[b] : g) }), render: (l) => l.text }, [C.textBolded]: { match: ve(lb), order: 2, parse: (l, g, b) => ({ children: g(l[2], b) }), render: (l, g, b) => r("strong", { key: b.key }, g(l.children, b)) }, [C.textEmphasized]: { match: ve(ub), order: 3, parse: (l, g, b) => ({ children: g(l[2], b) }), render: (l, g, b) => r("em", { key: b.key }, g(l.children, b)) }, [C.textEscaped]: { match: ve(pb), order: 1, parse: (l) => ({ text: l[1], type: C.text }) }, [C.textMarked]: { match: ve(cb), order: 3, parse: mt, render: (l, g, b) => r("mark", { key: b.key }, g(l.children, b)) }, [C.textStrikethroughed]: { match: ve(db), order: 3, parse: mt, render: (l, g, b) => r("del", { key: b.key }, g(l.children, b)) } };
|
|
880
|
-
t.disableParsingRawHTML === !0 && (delete
|
|
880
|
+
t.disableParsingRawHTML === !0 && (delete o[C.htmlBlock], delete o[C.htmlSelfClosing]);
|
|
881
881
|
const c = function(l) {
|
|
882
882
|
let g = Object.keys(l);
|
|
883
883
|
function b(y, A) {
|
|
@@ -907,12 +907,12 @@ function Cb(e = "", t = {}) {
|
|
|
907
907
|
`).replace(Hf, "").replace(ab, " ");
|
|
908
908
|
}(y), A);
|
|
909
909
|
};
|
|
910
|
-
}(
|
|
910
|
+
}(o), f = (d = /* @__PURE__ */ function(l, g) {
|
|
911
911
|
return function(b, y, A) {
|
|
912
912
|
const R = l[b.type].render;
|
|
913
913
|
return g ? g(() => R(b, y, A), b, y, A) : R(b, y, A);
|
|
914
914
|
};
|
|
915
|
-
}(
|
|
915
|
+
}(o, t.renderRule), function l(g, b = {}) {
|
|
916
916
|
if (Array.isArray(g)) {
|
|
917
917
|
const y = b.key, A = [];
|
|
918
918
|
let R = !1;
|
|
@@ -934,8 +934,8 @@ function Cb(e = "", t = {}) {
|
|
|
934
934
|
const Cs = (e) => {
|
|
935
935
|
let { children: t = "", options: r } = e, a = function(n, i) {
|
|
936
936
|
if (n == null) return {};
|
|
937
|
-
var
|
|
938
|
-
for (
|
|
937
|
+
var s, o, c = {}, f = Object.keys(n);
|
|
938
|
+
for (o = 0; o < f.length; o++) i.indexOf(s = f[o]) >= 0 || (c[s] = n[s]);
|
|
939
939
|
return c;
|
|
940
940
|
}(e, kf);
|
|
941
941
|
return et.cloneElement(Cb(t, r), a);
|
|
@@ -970,11 +970,11 @@ const Os = [
|
|
|
970
970
|
});
|
|
971
971
|
const n = () => Os.map((d) => /* @__PURE__ */ L.jsx("div", { className: "args-table-header", children: d })), i = () => Object.keys(a).map((d) => {
|
|
972
972
|
if (a[d].length > 0)
|
|
973
|
-
return
|
|
974
|
-
}),
|
|
973
|
+
return s(d);
|
|
974
|
+
}), s = (d) => /* @__PURE__ */ L.jsxs(L.Fragment, { children: [
|
|
975
975
|
/* @__PURE__ */ L.jsx("section", { className: "args-section", children: /* @__PURE__ */ L.jsx("div", { className: "args-table-cell", children: Lb(d).toUpperCase() }) }),
|
|
976
|
-
|
|
977
|
-
] }),
|
|
976
|
+
o(a[d])
|
|
977
|
+
] }), o = (d) => {
|
|
978
978
|
const E = d.map((l, g) => /* @__PURE__ */ L.jsxs("div", { className: "arg-table-row", children: [
|
|
979
979
|
/* @__PURE__ */ L.jsxs("div", { className: "arg-table-cell", children: [
|
|
980
980
|
/* @__PURE__ */ L.jsx("strong", { children: l.attr || l.event || l.name }),
|
|
@@ -1119,8 +1119,8 @@ function Hb(e) {
|
|
|
1119
1119
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 ? arguments[2] : void 0, a = e.filter(function(i) {
|
|
1120
1120
|
return i !== "token";
|
|
1121
1121
|
}), n = qb(a);
|
|
1122
|
-
return n.reduce(function(i,
|
|
1123
|
-
return De(De({}, i), r[
|
|
1122
|
+
return n.reduce(function(i, s) {
|
|
1123
|
+
return De(De({}, i), r[s]);
|
|
1124
1124
|
}, t);
|
|
1125
1125
|
}
|
|
1126
1126
|
function xs(e) {
|
|
@@ -1140,31 +1140,31 @@ function zb(e, t) {
|
|
|
1140
1140
|
};
|
|
1141
1141
|
}
|
|
1142
1142
|
function Sg(e) {
|
|
1143
|
-
var t = e.node, r = e.stylesheet, a = e.style, n = a === void 0 ? {} : a, i = e.useInlineStyles,
|
|
1143
|
+
var t = e.node, r = e.stylesheet, a = e.style, n = a === void 0 ? {} : a, i = e.useInlineStyles, s = e.key, o = t.properties, c = t.type, f = t.tagName, d = t.value;
|
|
1144
1144
|
if (c === "text")
|
|
1145
1145
|
return d;
|
|
1146
1146
|
if (f) {
|
|
1147
1147
|
var E = zb(r, i), l;
|
|
1148
1148
|
if (!i)
|
|
1149
|
-
l = De(De({},
|
|
1150
|
-
className: xs(
|
|
1149
|
+
l = De(De({}, o), {}, {
|
|
1150
|
+
className: xs(o.className)
|
|
1151
1151
|
});
|
|
1152
1152
|
else {
|
|
1153
1153
|
var g = Object.keys(r).reduce(function(R, m) {
|
|
1154
1154
|
return m.split(".").forEach(function(h) {
|
|
1155
1155
|
R.includes(h) || R.push(h);
|
|
1156
1156
|
}), R;
|
|
1157
|
-
}, []), b =
|
|
1157
|
+
}, []), b = o.className && o.className.includes("token") ? ["token"] : [], y = o.className && b.concat(o.className.filter(function(R) {
|
|
1158
1158
|
return !g.includes(R);
|
|
1159
1159
|
}));
|
|
1160
|
-
l = De(De({},
|
|
1160
|
+
l = De(De({}, o), {}, {
|
|
1161
1161
|
className: xs(y) || void 0,
|
|
1162
|
-
style: Hb(
|
|
1162
|
+
style: Hb(o.className, Object.assign({}, o.style, n), r)
|
|
1163
1163
|
});
|
|
1164
1164
|
}
|
|
1165
1165
|
var A = E(t.children);
|
|
1166
1166
|
return /* @__PURE__ */ be.createElement(f, Oo({
|
|
1167
|
-
key:
|
|
1167
|
+
key: s
|
|
1168
1168
|
}, l), A);
|
|
1169
1169
|
}
|
|
1170
1170
|
}
|
|
@@ -1201,12 +1201,12 @@ function Yb(e) {
|
|
|
1201
1201
|
function Kb(e) {
|
|
1202
1202
|
var t = e.lines, r = e.startingLineNumber, a = e.style;
|
|
1203
1203
|
return t.map(function(n, i) {
|
|
1204
|
-
var
|
|
1204
|
+
var s = i + r;
|
|
1205
1205
|
return /* @__PURE__ */ be.createElement("span", {
|
|
1206
1206
|
key: "line-".concat(i),
|
|
1207
1207
|
className: "react-syntax-highlighter-line-number",
|
|
1208
|
-
style: typeof a == "function" ? a(
|
|
1209
|
-
}, "".concat(
|
|
1208
|
+
style: typeof a == "function" ? a(s) : a
|
|
1209
|
+
}, "".concat(s, `
|
|
1210
1210
|
`));
|
|
1211
1211
|
});
|
|
1212
1212
|
}
|
|
@@ -1214,14 +1214,14 @@ function Zb(e) {
|
|
|
1214
1214
|
var t = e.codeString, r = e.codeStyle, a = e.containerStyle, n = a === void 0 ? {
|
|
1215
1215
|
float: "left",
|
|
1216
1216
|
paddingRight: "10px"
|
|
1217
|
-
} : a, i = e.numberStyle,
|
|
1217
|
+
} : a, i = e.numberStyle, s = i === void 0 ? {} : i, o = e.startingLineNumber;
|
|
1218
1218
|
return /* @__PURE__ */ be.createElement("code", {
|
|
1219
1219
|
style: Object.assign({}, r, n)
|
|
1220
1220
|
}, Kb({
|
|
1221
1221
|
lines: t.replace(/\n$/, "").split(`
|
|
1222
1222
|
`),
|
|
1223
|
-
style:
|
|
1224
|
-
startingLineNumber:
|
|
1223
|
+
style: s,
|
|
1224
|
+
startingLineNumber: o
|
|
1225
1225
|
}));
|
|
1226
1226
|
}
|
|
1227
1227
|
function Xb(e) {
|
|
@@ -1253,7 +1253,7 @@ function Tg(e, t, r) {
|
|
|
1253
1253
|
return i;
|
|
1254
1254
|
}
|
|
1255
1255
|
function rt(e) {
|
|
1256
|
-
var t = e.children, r = e.lineNumber, a = e.lineNumberStyle, n = e.largestLineNumber, i = e.showInlineLineNumbers,
|
|
1256
|
+
var t = e.children, r = e.lineNumber, a = e.lineNumberStyle, n = e.largestLineNumber, i = e.showInlineLineNumbers, s = e.lineProps, o = s === void 0 ? {} : s, c = e.className, f = c === void 0 ? [] : c, d = e.showLineNumbers, E = e.wrapLongLines, l = e.wrapLines, g = l === void 0 ? !1 : l, b = g ? Te({}, typeof o == "function" ? o(r) : o) : {};
|
|
1257
1257
|
if (b.className = b.className ? [].concat(Co(b.className.trim().split(/\s+/)), Co(f)) : f, r && i) {
|
|
1258
1258
|
var y = Tg(a, r, n);
|
|
1259
1259
|
t.unshift(vg(r, y));
|
|
@@ -1277,22 +1277,22 @@ function Ag(e) {
|
|
|
1277
1277
|
}));
|
|
1278
1278
|
else if (n.children) {
|
|
1279
1279
|
var i = t.concat(n.properties.className);
|
|
1280
|
-
Ag(n.children, i).forEach(function(
|
|
1281
|
-
return r.push(
|
|
1280
|
+
Ag(n.children, i).forEach(function(s) {
|
|
1281
|
+
return r.push(s);
|
|
1282
1282
|
});
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
1285
|
return r;
|
|
1286
1286
|
}
|
|
1287
|
-
function Qb(e, t, r, a, n, i,
|
|
1287
|
+
function Qb(e, t, r, a, n, i, s, o, c) {
|
|
1288
1288
|
var f, d = Ag(e.value), E = [], l = -1, g = 0;
|
|
1289
1289
|
function b(T, S) {
|
|
1290
1290
|
var _ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
1291
1291
|
return rt({
|
|
1292
1292
|
children: T,
|
|
1293
1293
|
lineNumber: S,
|
|
1294
|
-
lineNumberStyle:
|
|
1295
|
-
largestLineNumber:
|
|
1294
|
+
lineNumberStyle: o,
|
|
1295
|
+
largestLineNumber: s,
|
|
1296
1296
|
showInlineLineNumbers: n,
|
|
1297
1297
|
lineProps: r,
|
|
1298
1298
|
className: _,
|
|
@@ -1303,7 +1303,7 @@ function Qb(e, t, r, a, n, i, o, s, c) {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
function y(T, S) {
|
|
1305
1305
|
if (a && S && n) {
|
|
1306
|
-
var _ = Tg(
|
|
1306
|
+
var _ = Tg(o, S, s);
|
|
1307
1307
|
T.unshift(vg(S, _));
|
|
1308
1308
|
}
|
|
1309
1309
|
return T;
|
|
@@ -1399,9 +1399,9 @@ function em(e) {
|
|
|
1399
1399
|
}
|
|
1400
1400
|
function tm(e, t) {
|
|
1401
1401
|
return function(a) {
|
|
1402
|
-
var n = a.language, i = a.children,
|
|
1402
|
+
var n = a.language, i = a.children, s = a.style, o = s === void 0 ? t : s, c = a.customStyle, f = c === void 0 ? {} : c, d = a.codeTagProps, E = d === void 0 ? {
|
|
1403
1403
|
className: n ? "language-".concat(n) : void 0,
|
|
1404
|
-
style: Te(Te({},
|
|
1404
|
+
style: Te(Te({}, o['code[class*="language-"]']), o['code[class*="language-'.concat(n, '"]')])
|
|
1405
1405
|
} : d, l = a.useInlineStyles, g = l === void 0 ? !0 : l, b = a.showLineNumbers, y = b === void 0 ? !1 : b, A = a.showInlineLineNumbers, R = A === void 0 ? !0 : A, m = a.startingLineNumber, h = m === void 0 ? 1 : m, v = a.lineNumberContainerStyle, T = a.lineNumberStyle, S = T === void 0 ? {} : T, _ = a.wrapLines, w = a.wrapLongLines, I = w === void 0 ? !1 : w, O = a.lineProps, x = O === void 0 ? {} : O, $ = a.renderer, P = a.PreTag, V = P === void 0 ? "pre" : P, W = a.CodeTag, Z = W === void 0 ? "code" : W, Q = a.code, F = Q === void 0 ? (Array.isArray(i) ? i[0] : i) || "" : Q, H = a.astGenerator, G = Db(a, Vb);
|
|
1406
1406
|
H = H || e;
|
|
1407
1407
|
var M = y ? /* @__PURE__ */ be.createElement(Zb, {
|
|
@@ -1410,7 +1410,7 @@ function tm(e, t) {
|
|
|
1410
1410
|
numberStyle: S,
|
|
1411
1411
|
startingLineNumber: h,
|
|
1412
1412
|
codeString: F
|
|
1413
|
-
}) : null, z =
|
|
1413
|
+
}) : null, z = o.hljs || o['pre[class*="language-"]'] || {
|
|
1414
1414
|
backgroundColor: "#fff"
|
|
1415
1415
|
}, oe = Rg(H) ? "hljs" : "prismjs", te = g ? Object.assign({}, G, {
|
|
1416
1416
|
style: Object.assign({}, z, f)
|
|
@@ -1441,7 +1441,7 @@ function tm(e, t) {
|
|
|
1441
1441
|
var fe = ae + h, Ee = Qb(re, _, x, y, R, h, fe, S, I);
|
|
1442
1442
|
return /* @__PURE__ */ be.createElement(V, te, /* @__PURE__ */ be.createElement(Z, E, !R && M, $({
|
|
1443
1443
|
rows: Ee,
|
|
1444
|
-
stylesheet:
|
|
1444
|
+
stylesheet: o,
|
|
1445
1445
|
useInlineStyles: g
|
|
1446
1446
|
})));
|
|
1447
1447
|
};
|
|
@@ -1465,12 +1465,12 @@ function Ig(e, t, r) {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
var Ms = am, om = _g, sm = lm;
|
|
1467
1467
|
function lm(e) {
|
|
1468
|
-
for (var t = e.length, r = [], a = [], n = -1, i,
|
|
1469
|
-
i = e[n], r.push(i.property), a.push(i.normal),
|
|
1468
|
+
for (var t = e.length, r = [], a = [], n = -1, i, s; ++n < t; )
|
|
1469
|
+
i = e[n], r.push(i.property), a.push(i.normal), s = i.space;
|
|
1470
1470
|
return new om(
|
|
1471
1471
|
Ms.apply(null, r),
|
|
1472
1472
|
Ms.apply(null, a),
|
|
1473
|
-
|
|
1473
|
+
s
|
|
1474
1474
|
);
|
|
1475
1475
|
}
|
|
1476
1476
|
var Po = um;
|
|
@@ -1526,15 +1526,15 @@ function Us(e, t, r) {
|
|
|
1526
1526
|
}
|
|
1527
1527
|
var Ps = Po, pm = _g, gm = Cg, We = fm;
|
|
1528
1528
|
function fm(e) {
|
|
1529
|
-
var t = e.space, r = e.mustUseProperty || [], a = e.attributes || {}, n = e.properties, i = e.transform,
|
|
1529
|
+
var t = e.space, r = e.mustUseProperty || [], a = e.attributes || {}, n = e.properties, i = e.transform, s = {}, o = {}, c, f;
|
|
1530
1530
|
for (c in n)
|
|
1531
1531
|
f = new gm(
|
|
1532
1532
|
c,
|
|
1533
1533
|
i(a, c),
|
|
1534
1534
|
n[c],
|
|
1535
1535
|
t
|
|
1536
|
-
), r.indexOf(c) !== -1 && (f.mustUseProperty = !0),
|
|
1537
|
-
return new pm(
|
|
1536
|
+
), r.indexOf(c) !== -1 && (f.mustUseProperty = !0), s[c] = f, o[Ps(c)] = c, o[Ps(f.attribute)] = c;
|
|
1537
|
+
return new pm(s, o, t);
|
|
1538
1538
|
}
|
|
1539
1539
|
var bm = We, mm = bm({
|
|
1540
1540
|
space: "xlink",
|
|
@@ -2006,8 +2006,8 @@ function Qm(e) {
|
|
|
2006
2006
|
}
|
|
2007
2007
|
var Jm = eh, Bs = /[#.]/g;
|
|
2008
2008
|
function eh(e, t) {
|
|
2009
|
-
for (var r = e || "", a = t || "div", n = {}, i = 0,
|
|
2010
|
-
Bs.lastIndex = i, c = Bs.exec(r),
|
|
2009
|
+
for (var r = e || "", a = t || "div", n = {}, i = 0, s, o, c; i < r.length; )
|
|
2010
|
+
Bs.lastIndex = i, c = Bs.exec(r), s = r.slice(i, c ? c.index : r.length), s && (o ? o === "#" ? n.id = s : n.className ? n.className.push(s) : n.className = [s] : a = s, i += s.length), c && (o = c[0], i++);
|
|
2011
2011
|
return { type: "element", tagName: a, properties: n, children: [] };
|
|
2012
2012
|
}
|
|
2013
2013
|
var qo = {};
|
|
@@ -2026,8 +2026,8 @@ Ho.parse = ih;
|
|
|
2026
2026
|
Ho.stringify = oh;
|
|
2027
2027
|
var Lo = ",", Gs = " ", ze = "";
|
|
2028
2028
|
function ih(e) {
|
|
2029
|
-
for (var t = [], r = String(e || ze), a = r.indexOf(Lo), n = 0, i = !1,
|
|
2030
|
-
a === -1 && (a = r.length, i = !0),
|
|
2029
|
+
for (var t = [], r = String(e || ze), a = r.indexOf(Lo), n = 0, i = !1, s; !i; )
|
|
2030
|
+
a === -1 && (a = r.length, i = !0), s = r.slice(n, a).trim(), (s || !i) && t.push(s), n = a + 1, a = r.indexOf(Lo, n);
|
|
2031
2031
|
return t;
|
|
2032
2032
|
}
|
|
2033
2033
|
function oh(e, t) {
|
|
@@ -2038,16 +2038,16 @@ var sh = jm, qs = Po, lh = Jm, Hs = qo.parse, zs = Ho.parse, uh = dh, ch = {}.ha
|
|
|
2038
2038
|
function dh(e, t, r) {
|
|
2039
2039
|
var a = r ? mh(r) : null;
|
|
2040
2040
|
return n;
|
|
2041
|
-
function n(
|
|
2042
|
-
var c = lh(
|
|
2043
|
-
if (c.tagName = a && ch.call(a, d) ? a[d] : d,
|
|
2044
|
-
for (E in
|
|
2045
|
-
i(c.properties, E,
|
|
2041
|
+
function n(s, o) {
|
|
2042
|
+
var c = lh(s, t), f = Array.prototype.slice.call(arguments, 2), d = c.tagName.toLowerCase(), E;
|
|
2043
|
+
if (c.tagName = a && ch.call(a, d) ? a[d] : d, o && ph(o, c) && (f.unshift(o), o = null), o)
|
|
2044
|
+
for (E in o)
|
|
2045
|
+
i(c.properties, E, o[E]);
|
|
2046
2046
|
return Dg(c.children, f), c.tagName === "template" && (c.content = { type: "root", children: c.children }, c.children = []), c;
|
|
2047
2047
|
}
|
|
2048
|
-
function i(
|
|
2048
|
+
function i(s, o, c) {
|
|
2049
2049
|
var f, d, E;
|
|
2050
|
-
c == null || c !== c || (f = sh(e,
|
|
2050
|
+
c == null || c !== c || (f = sh(e, o), d = f.property, E = c, typeof E == "string" && (f.spaceSeparated ? E = Hs(E) : f.commaSeparated ? E = zs(E) : f.commaOrSpaceSeparated && (E = Hs(zs(E).join(" ")))), d === "style" && typeof c != "string" && (E = bh(E)), d === "className" && s.className && (E = s.className.concat(E)), s[d] = fh(f, d, E));
|
|
2051
2051
|
}
|
|
2052
2052
|
}
|
|
2053
2053
|
function ph(e, t) {
|
|
@@ -2293,8 +2293,8 @@ function Ky(e, t) {
|
|
|
2293
2293
|
return (r.position.indent || r.position.start) && (r.indent = r.position.indent || [], r.position = r.position.start), Zy(e, r);
|
|
2294
2294
|
}
|
|
2295
2295
|
function Zy(e, t) {
|
|
2296
|
-
var r = t.additional, a = t.nonTerminated, n = t.text, i = t.reference,
|
|
2297
|
-
for (typeof r == "string" && (r = r.charCodeAt(0)), F = z(), O =
|
|
2296
|
+
var r = t.additional, a = t.nonTerminated, n = t.text, i = t.reference, s = t.warning, o = t.textContext, c = t.referenceContext, f = t.warningContext, d = t.position, E = t.indent || [], l = e.length, g = 0, b = -1, y = d.column || 1, A = d.line || 1, R = "", m = [], h, v, T, S, _, w, I, O, x, $, P, V, W, Z, Q, F, H, G, M;
|
|
2297
|
+
for (typeof r == "string" && (r = r.charCodeAt(0)), F = z(), O = s ? oe : Py, g--, l++; ++g < l; )
|
|
2298
2298
|
if (_ === Ks && (y = E[b] || 1), _ = e.charCodeAt(g), _ === Zs) {
|
|
2299
2299
|
if (I = e.charCodeAt(g + 1), I === By || I === Ks || I === $y || I === Gy || I === Zs || I === Hy || I !== I || r && I === r) {
|
|
2300
2300
|
R += Le(_), y++;
|
|
@@ -2320,10 +2320,10 @@ function Zy(e, t) {
|
|
|
2320
2320
|
}
|
|
2321
2321
|
function oe(ce, re) {
|
|
2322
2322
|
var ae = z();
|
|
2323
|
-
ae.column += re, ae.offset += re,
|
|
2323
|
+
ae.column += re, ae.offset += re, s.call(f, Ae[ce], ae, ce);
|
|
2324
2324
|
}
|
|
2325
2325
|
function te() {
|
|
2326
|
-
R && (m.push(R), n && n.call(
|
|
2326
|
+
R && (m.push(R), n && n.call(o, R, { start: F, end: z() }), R = "");
|
|
2327
2327
|
}
|
|
2328
2328
|
}
|
|
2329
2329
|
function Xy(e) {
|
|
@@ -2344,7 +2344,7 @@ var zg = { exports: {} };
|
|
|
2344
2344
|
* @public
|
|
2345
2345
|
*/
|
|
2346
2346
|
var r = function(a) {
|
|
2347
|
-
var n = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, i = 0,
|
|
2347
|
+
var n = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, i = 0, s = {}, o = {
|
|
2348
2348
|
/**
|
|
2349
2349
|
* By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
|
|
2350
2350
|
* current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
|
|
@@ -2443,9 +2443,9 @@ var zg = { exports: {} };
|
|
|
2443
2443
|
clone: function m(h, v) {
|
|
2444
2444
|
v = v || {};
|
|
2445
2445
|
var T, S;
|
|
2446
|
-
switch (
|
|
2446
|
+
switch (o.util.type(h)) {
|
|
2447
2447
|
case "Object":
|
|
2448
|
-
if (S =
|
|
2448
|
+
if (S = o.util.objId(h), v[S])
|
|
2449
2449
|
return v[S];
|
|
2450
2450
|
T = /** @type {Record<string, any>} */
|
|
2451
2451
|
{}, v[S] = T;
|
|
@@ -2456,7 +2456,7 @@ var zg = { exports: {} };
|
|
|
2456
2456
|
T
|
|
2457
2457
|
);
|
|
2458
2458
|
case "Array":
|
|
2459
|
-
return S =
|
|
2459
|
+
return S = o.util.objId(h), v[S] ? v[S] : (T = [], v[S] = T, /** @type {Array} */
|
|
2460
2460
|
/** @type {any} */
|
|
2461
2461
|
h.forEach(function(w, I) {
|
|
2462
2462
|
T[I] = m(w, v);
|
|
@@ -2563,10 +2563,10 @@ var zg = { exports: {} };
|
|
|
2563
2563
|
/**
|
|
2564
2564
|
* The grammar for plain, unformatted text.
|
|
2565
2565
|
*/
|
|
2566
|
-
plain:
|
|
2567
|
-
plaintext:
|
|
2568
|
-
text:
|
|
2569
|
-
txt:
|
|
2566
|
+
plain: s,
|
|
2567
|
+
plaintext: s,
|
|
2568
|
+
text: s,
|
|
2569
|
+
txt: s,
|
|
2570
2570
|
/**
|
|
2571
2571
|
* Creates a deep copy of the language with the given id and appends the given tokens.
|
|
2572
2572
|
*
|
|
@@ -2596,7 +2596,7 @@ var zg = { exports: {} };
|
|
|
2596
2596
|
* });
|
|
2597
2597
|
*/
|
|
2598
2598
|
extend: function(m, h) {
|
|
2599
|
-
var v =
|
|
2599
|
+
var v = o.util.clone(o.languages[m]);
|
|
2600
2600
|
for (var T in h)
|
|
2601
2601
|
v[T] = h[T];
|
|
2602
2602
|
return v;
|
|
@@ -2678,7 +2678,7 @@ var zg = { exports: {} };
|
|
|
2678
2678
|
*/
|
|
2679
2679
|
insertBefore: function(m, h, v, T) {
|
|
2680
2680
|
T = T || /** @type {any} */
|
|
2681
|
-
|
|
2681
|
+
o.languages;
|
|
2682
2682
|
var S = T[m], _ = {};
|
|
2683
2683
|
for (var w in S)
|
|
2684
2684
|
if (S.hasOwnProperty(w)) {
|
|
@@ -2688,18 +2688,18 @@ var zg = { exports: {} };
|
|
|
2688
2688
|
v.hasOwnProperty(w) || (_[w] = S[w]);
|
|
2689
2689
|
}
|
|
2690
2690
|
var O = T[m];
|
|
2691
|
-
return T[m] = _,
|
|
2691
|
+
return T[m] = _, o.languages.DFS(o.languages, function(x, $) {
|
|
2692
2692
|
$ === O && x != m && (this[x] = _);
|
|
2693
2693
|
}), _;
|
|
2694
2694
|
},
|
|
2695
2695
|
// Traverse a language definition with Depth First Search
|
|
2696
2696
|
DFS: function m(h, v, T, S) {
|
|
2697
2697
|
S = S || {};
|
|
2698
|
-
var _ =
|
|
2698
|
+
var _ = o.util.objId;
|
|
2699
2699
|
for (var w in h)
|
|
2700
2700
|
if (h.hasOwnProperty(w)) {
|
|
2701
2701
|
v.call(h, w, h[w], T || w);
|
|
2702
|
-
var I = h[w], O =
|
|
2702
|
+
var I = h[w], O = o.util.type(I);
|
|
2703
2703
|
O === "Object" && !S[_(I)] ? (S[_(I)] = !0, m(I, v, null, S)) : O === "Array" && !S[_(I)] && (S[_(I)] = !0, m(I, v, w, S));
|
|
2704
2704
|
}
|
|
2705
2705
|
}
|
|
@@ -2718,7 +2718,7 @@ var zg = { exports: {} };
|
|
|
2718
2718
|
* @public
|
|
2719
2719
|
*/
|
|
2720
2720
|
highlightAll: function(m, h) {
|
|
2721
|
-
|
|
2721
|
+
o.highlightAllUnder(document, m, h);
|
|
2722
2722
|
},
|
|
2723
2723
|
/**
|
|
2724
2724
|
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
@@ -2741,9 +2741,9 @@ var zg = { exports: {} };
|
|
|
2741
2741
|
container: m,
|
|
2742
2742
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
2743
2743
|
};
|
|
2744
|
-
|
|
2744
|
+
o.hooks.run("before-highlightall", T), T.elements = Array.prototype.slice.apply(T.container.querySelectorAll(T.selector)), o.hooks.run("before-all-elements-highlight", T);
|
|
2745
2745
|
for (var S = 0, _; _ = T.elements[S++]; )
|
|
2746
|
-
|
|
2746
|
+
o.highlightElement(_, h === !0, T.callback);
|
|
2747
2747
|
},
|
|
2748
2748
|
/**
|
|
2749
2749
|
* Highlights the code inside a single element.
|
|
@@ -2774,10 +2774,10 @@ var zg = { exports: {} };
|
|
|
2774
2774
|
* @public
|
|
2775
2775
|
*/
|
|
2776
2776
|
highlightElement: function(m, h, v) {
|
|
2777
|
-
var T =
|
|
2778
|
-
|
|
2777
|
+
var T = o.util.getLanguage(m), S = o.languages[T];
|
|
2778
|
+
o.util.setLanguage(m, T);
|
|
2779
2779
|
var _ = m.parentElement;
|
|
2780
|
-
_ && _.nodeName.toLowerCase() === "pre" &&
|
|
2780
|
+
_ && _.nodeName.toLowerCase() === "pre" && o.util.setLanguage(_, T);
|
|
2781
2781
|
var w = m.textContent, I = {
|
|
2782
2782
|
element: m,
|
|
2783
2783
|
language: T,
|
|
@@ -2785,18 +2785,18 @@ var zg = { exports: {} };
|
|
|
2785
2785
|
code: w
|
|
2786
2786
|
};
|
|
2787
2787
|
function O($) {
|
|
2788
|
-
I.highlightedCode = $,
|
|
2788
|
+
I.highlightedCode = $, o.hooks.run("before-insert", I), I.element.innerHTML = I.highlightedCode, o.hooks.run("after-highlight", I), o.hooks.run("complete", I), v && v.call(I.element);
|
|
2789
2789
|
}
|
|
2790
|
-
if (
|
|
2791
|
-
|
|
2790
|
+
if (o.hooks.run("before-sanity-check", I), _ = I.element.parentElement, _ && _.nodeName.toLowerCase() === "pre" && !_.hasAttribute("tabindex") && _.setAttribute("tabindex", "0"), !I.code) {
|
|
2791
|
+
o.hooks.run("complete", I), v && v.call(I.element);
|
|
2792
2792
|
return;
|
|
2793
2793
|
}
|
|
2794
|
-
if (
|
|
2795
|
-
O(
|
|
2794
|
+
if (o.hooks.run("before-highlight", I), !I.grammar) {
|
|
2795
|
+
O(o.util.encode(I.code));
|
|
2796
2796
|
return;
|
|
2797
2797
|
}
|
|
2798
2798
|
if (h && a.Worker) {
|
|
2799
|
-
var x = new Worker(
|
|
2799
|
+
var x = new Worker(o.filename);
|
|
2800
2800
|
x.onmessage = function($) {
|
|
2801
2801
|
O($.data);
|
|
2802
2802
|
}, x.postMessage(JSON.stringify({
|
|
@@ -2805,7 +2805,7 @@ var zg = { exports: {} };
|
|
|
2805
2805
|
immediateClose: !0
|
|
2806
2806
|
}));
|
|
2807
2807
|
} else
|
|
2808
|
-
O(
|
|
2808
|
+
O(o.highlight(I.code, I.grammar, I.language));
|
|
2809
2809
|
},
|
|
2810
2810
|
/**
|
|
2811
2811
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -2833,9 +2833,9 @@ var zg = { exports: {} };
|
|
|
2833
2833
|
grammar: h,
|
|
2834
2834
|
language: v
|
|
2835
2835
|
};
|
|
2836
|
-
if (
|
|
2836
|
+
if (o.hooks.run("before-tokenize", T), !T.grammar)
|
|
2837
2837
|
throw new Error('The language "' + T.language + '" has no grammar.');
|
|
2838
|
-
return T.tokens =
|
|
2838
|
+
return T.tokens = o.tokenize(T.code, T.grammar), o.hooks.run("after-tokenize", T), c.stringify(o.util.encode(T.tokens), T.language);
|
|
2839
2839
|
},
|
|
2840
2840
|
/**
|
|
2841
2841
|
* This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
|
|
@@ -2891,7 +2891,7 @@ var zg = { exports: {} };
|
|
|
2891
2891
|
* @public
|
|
2892
2892
|
*/
|
|
2893
2893
|
add: function(m, h) {
|
|
2894
|
-
var v =
|
|
2894
|
+
var v = o.hooks.all;
|
|
2895
2895
|
v[m] = v[m] || [], v[m].push(h);
|
|
2896
2896
|
},
|
|
2897
2897
|
/**
|
|
@@ -2904,7 +2904,7 @@ var zg = { exports: {} };
|
|
|
2904
2904
|
* @public
|
|
2905
2905
|
*/
|
|
2906
2906
|
run: function(m, h) {
|
|
2907
|
-
var v =
|
|
2907
|
+
var v = o.hooks.all[m];
|
|
2908
2908
|
if (!(!v || !v.length))
|
|
2909
2909
|
for (var T = 0, S; S = v[T++]; )
|
|
2910
2910
|
S(h);
|
|
@@ -2912,7 +2912,7 @@ var zg = { exports: {} };
|
|
|
2912
2912
|
},
|
|
2913
2913
|
Token: c
|
|
2914
2914
|
};
|
|
2915
|
-
a.Prism =
|
|
2915
|
+
a.Prism = o;
|
|
2916
2916
|
function c(m, h, v, T) {
|
|
2917
2917
|
this.type = m, this.content = h, this.alias = v, this.length = (T || "").length | 0;
|
|
2918
2918
|
}
|
|
@@ -2933,7 +2933,7 @@ var zg = { exports: {} };
|
|
|
2933
2933
|
attributes: {},
|
|
2934
2934
|
language: v
|
|
2935
2935
|
}, _ = h.alias;
|
|
2936
|
-
_ && (Array.isArray(_) ? Array.prototype.push.apply(S.classes, _) : S.classes.push(_)),
|
|
2936
|
+
_ && (Array.isArray(_) ? Array.prototype.push.apply(S.classes, _) : S.classes.push(_)), o.hooks.run("wrap", S);
|
|
2937
2937
|
var w = "";
|
|
2938
2938
|
for (var I in S.attributes)
|
|
2939
2939
|
w += " " + I + '="' + (S.attributes[I] || "").replace(/"/g, """) + '"';
|
|
@@ -2984,7 +2984,7 @@ var zg = { exports: {} };
|
|
|
2984
2984
|
_ && ye > _.reach && (_.reach = ye);
|
|
2985
2985
|
var ke = F.prev;
|
|
2986
2986
|
fe && (ke = l(h, ke, fe), H += fe.length), g(h, ke, M);
|
|
2987
|
-
var Ke = new c(w, $ ?
|
|
2987
|
+
var Ke = new c(w, $ ? o.tokenize(ae, $) : ae, W, ae);
|
|
2988
2988
|
if (F = l(h, ke, Ke), Ee && l(h, F, Ee), M > 1) {
|
|
2989
2989
|
var Fe = {
|
|
2990
2990
|
cause: w + "," + O,
|
|
@@ -3016,20 +3016,20 @@ var zg = { exports: {} };
|
|
|
3016
3016
|
return h;
|
|
3017
3017
|
}
|
|
3018
3018
|
if (!a.document)
|
|
3019
|
-
return a.addEventListener && (
|
|
3019
|
+
return a.addEventListener && (o.disableWorkerMessageHandler || a.addEventListener("message", function(m) {
|
|
3020
3020
|
var h = JSON.parse(m.data), v = h.language, T = h.code, S = h.immediateClose;
|
|
3021
|
-
a.postMessage(
|
|
3022
|
-
}, !1)),
|
|
3023
|
-
var y =
|
|
3024
|
-
y && (
|
|
3021
|
+
a.postMessage(o.highlight(T, o.languages[v], v)), S && a.close();
|
|
3022
|
+
}, !1)), o;
|
|
3023
|
+
var y = o.util.currentScript();
|
|
3024
|
+
y && (o.filename = y.src, y.hasAttribute("data-manual") && (o.manual = !0));
|
|
3025
3025
|
function A() {
|
|
3026
|
-
|
|
3026
|
+
o.manual || o.highlightAll();
|
|
3027
3027
|
}
|
|
3028
|
-
if (!
|
|
3028
|
+
if (!o.manual) {
|
|
3029
3029
|
var R = document.readyState;
|
|
3030
3030
|
R === "loading" || R === "interactive" && y && y.defer ? document.addEventListener("DOMContentLoaded", A) : window.requestAnimationFrame ? window.requestAnimationFrame(A) : window.setTimeout(A, 16);
|
|
3031
3031
|
}
|
|
3032
|
-
return
|
|
3032
|
+
return o;
|
|
3033
3033
|
}(t);
|
|
3034
3034
|
e.exports && (e.exports = r), typeof at < "u" && (at.Prism = r);
|
|
3035
3035
|
})(zg);
|
|
@@ -3142,8 +3142,8 @@ function Wo(e) {
|
|
|
3142
3142
|
pattern: /[\s\S]+/,
|
|
3143
3143
|
inside: e.languages[a]
|
|
3144
3144
|
};
|
|
3145
|
-
var
|
|
3146
|
-
|
|
3145
|
+
var s = {};
|
|
3146
|
+
s[r] = {
|
|
3147
3147
|
pattern: RegExp(
|
|
3148
3148
|
/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(
|
|
3149
3149
|
/__/g,
|
|
@@ -3156,7 +3156,7 @@ function Wo(e) {
|
|
|
3156
3156
|
lookbehind: !0,
|
|
3157
3157
|
greedy: !0,
|
|
3158
3158
|
inside: i
|
|
3159
|
-
}, e.languages.insertBefore("markup", "cdata",
|
|
3159
|
+
}, e.languages.insertBefore("markup", "cdata", s);
|
|
3160
3160
|
}
|
|
3161
3161
|
}), Object.defineProperty(e.languages.markup.tag, "addAttribute", {
|
|
3162
3162
|
/**
|
|
@@ -3456,11 +3456,11 @@ function Ye(e) {
|
|
|
3456
3456
|
ee.languages[e.displayName] === void 0 && e(ee);
|
|
3457
3457
|
}
|
|
3458
3458
|
function pS(e, t) {
|
|
3459
|
-
var r = ee.languages, a = e, n, i,
|
|
3459
|
+
var r = ee.languages, a = e, n, i, s, o;
|
|
3460
3460
|
t && (a = {}, a[e] = t);
|
|
3461
3461
|
for (n in a)
|
|
3462
|
-
for (i = a[n], i = typeof i == "string" ? [i] : i,
|
|
3463
|
-
r[i[
|
|
3462
|
+
for (i = a[n], i = typeof i == "string" ? [i] : i, s = i.length, o = -1; ++o < s; )
|
|
3463
|
+
r[i[o]] = r[n];
|
|
3464
3464
|
}
|
|
3465
3465
|
function gS(e, t) {
|
|
3466
3466
|
var r = jg.highlight, a;
|
|
@@ -4129,7 +4129,7 @@ function kS() {
|
|
|
4129
4129
|
return n.source;
|
|
4130
4130
|
}
|
|
4131
4131
|
);
|
|
4132
|
-
function
|
|
4132
|
+
function s(c) {
|
|
4133
4133
|
return RegExp(
|
|
4134
4134
|
c.replace(/<CLASS-NAME>/g, function() {
|
|
4135
4135
|
return i;
|
|
@@ -4137,7 +4137,7 @@ function kS() {
|
|
|
4137
4137
|
"i"
|
|
4138
4138
|
);
|
|
4139
4139
|
}
|
|
4140
|
-
var
|
|
4140
|
+
var o = {
|
|
4141
4141
|
keyword: n,
|
|
4142
4142
|
punctuation: /[()\[\]{};,:.<>]/
|
|
4143
4143
|
};
|
|
@@ -4157,24 +4157,24 @@ function kS() {
|
|
|
4157
4157
|
},
|
|
4158
4158
|
"class-name": [
|
|
4159
4159
|
{
|
|
4160
|
-
pattern:
|
|
4160
|
+
pattern: s(
|
|
4161
4161
|
/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source
|
|
4162
4162
|
),
|
|
4163
4163
|
lookbehind: !0,
|
|
4164
|
-
inside:
|
|
4164
|
+
inside: o
|
|
4165
4165
|
},
|
|
4166
4166
|
{
|
|
4167
4167
|
// cast
|
|
4168
|
-
pattern:
|
|
4168
|
+
pattern: s(
|
|
4169
4169
|
/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source
|
|
4170
4170
|
),
|
|
4171
4171
|
lookbehind: !0,
|
|
4172
|
-
inside:
|
|
4172
|
+
inside: o
|
|
4173
4173
|
},
|
|
4174
4174
|
{
|
|
4175
4175
|
// variable/parameter declaration and return types
|
|
4176
|
-
pattern:
|
|
4177
|
-
inside:
|
|
4176
|
+
pattern: s(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),
|
|
4177
|
+
inside: o
|
|
4178
4178
|
}
|
|
4179
4179
|
],
|
|
4180
4180
|
trigger: {
|
|
@@ -4733,11 +4733,11 @@ function MS() {
|
|
|
4733
4733
|
alias: "punctuation"
|
|
4734
4734
|
}
|
|
4735
4735
|
};
|
|
4736
|
-
function i(
|
|
4737
|
-
|
|
4738
|
-
for (var
|
|
4739
|
-
s[
|
|
4740
|
-
return
|
|
4736
|
+
function i(s) {
|
|
4737
|
+
s = s.split(" ");
|
|
4738
|
+
for (var o = {}, c = 0, f = s.length; c < f; c++)
|
|
4739
|
+
o[s[c]] = n[s[c]];
|
|
4740
|
+
return o;
|
|
4741
4741
|
}
|
|
4742
4742
|
a.inside.interpreted.inside.rest = i(
|
|
4743
4743
|
"macro inline replacement entity"
|
|
@@ -4747,8 +4747,8 @@ function MS() {
|
|
|
4747
4747
|
"table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"
|
|
4748
4748
|
), n.title.inside.rest = i(
|
|
4749
4749
|
"macro inline replacement entity"
|
|
4750
|
-
), r.hooks.add("wrap", function(
|
|
4751
|
-
|
|
4750
|
+
), r.hooks.add("wrap", function(s) {
|
|
4751
|
+
s.type === "entity" && (s.attributes.title = s.content.value.replace(/&/, "&"));
|
|
4752
4752
|
}), r.languages.adoc = r.languages.asciidoc;
|
|
4753
4753
|
})(t);
|
|
4754
4754
|
}
|
|
@@ -4861,7 +4861,7 @@ function ot() {
|
|
|
4861
4861
|
});
|
|
4862
4862
|
return M.replace(/<<self>>/g, "[^\\s\\S]");
|
|
4863
4863
|
}
|
|
4864
|
-
var
|
|
4864
|
+
var s = {
|
|
4865
4865
|
// keywords which represent a return or variable type
|
|
4866
4866
|
type: "bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",
|
|
4867
4867
|
// keywords which are used to declare a type
|
|
@@ -4872,19 +4872,19 @@ function ot() {
|
|
|
4872
4872
|
// all other keywords
|
|
4873
4873
|
other: "abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"
|
|
4874
4874
|
};
|
|
4875
|
-
function
|
|
4875
|
+
function o(M) {
|
|
4876
4876
|
return "\\b(?:" + M.trim().replace(/ /g, "|") + ")\\b";
|
|
4877
4877
|
}
|
|
4878
|
-
var c =
|
|
4879
|
-
|
|
4878
|
+
var c = o(
|
|
4879
|
+
s.typeDeclaration
|
|
4880
4880
|
), f = RegExp(
|
|
4881
|
-
|
|
4882
|
-
|
|
4881
|
+
o(
|
|
4882
|
+
s.type + " " + s.typeDeclaration + " " + s.contextual + " " + s.other
|
|
4883
4883
|
)
|
|
4884
|
-
), d =
|
|
4885
|
-
|
|
4886
|
-
), E =
|
|
4887
|
-
|
|
4884
|
+
), d = o(
|
|
4885
|
+
s.typeDeclaration + " " + s.contextual + " " + s.other
|
|
4886
|
+
), E = o(
|
|
4887
|
+
s.type + " " + s.typeDeclaration + " " + s.other
|
|
4888
4888
|
), l = i(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source, 2), g = i(/\((?:[^()]|<<self>>)*\)/.source, 2), b = /@?\b[A-Za-z_]\w*\b/.source, y = a(/<<0>>(?:\s*<<1>>)?/.source, [b, l]), A = a(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source, [
|
|
4889
4889
|
d,
|
|
4890
4890
|
y
|
|
@@ -5377,7 +5377,7 @@ function GS() {
|
|
|
5377
5377
|
function n(d, E, l) {
|
|
5378
5378
|
return RegExp(a(d, E), l);
|
|
5379
5379
|
}
|
|
5380
|
-
var i = /bool|clip|float|int|string|val/.source,
|
|
5380
|
+
var i = /bool|clip|float|int|string|val/.source, s = [
|
|
5381
5381
|
// bools
|
|
5382
5382
|
/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,
|
|
5383
5383
|
// control
|
|
@@ -5404,7 +5404,7 @@ function GS() {
|
|
|
5404
5404
|
/buildpixeltype|colorspacenametopixeltype/.source,
|
|
5405
5405
|
// avsplus
|
|
5406
5406
|
/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source
|
|
5407
|
-
].join("|"),
|
|
5407
|
+
].join("|"), o = [
|
|
5408
5408
|
// content
|
|
5409
5409
|
/has(?:audio|video)/.source,
|
|
5410
5410
|
// resolution
|
|
@@ -5440,7 +5440,7 @@ function GS() {
|
|
|
5440
5440
|
/imagewriter/.source,
|
|
5441
5441
|
// debug
|
|
5442
5442
|
/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source
|
|
5443
|
-
].join("|"), f = [
|
|
5443
|
+
].join("|"), f = [s, o, c].join("|");
|
|
5444
5444
|
r.languages.avisynth = {
|
|
5445
5445
|
comment: [
|
|
5446
5446
|
{
|
|
@@ -5780,7 +5780,7 @@ function Yg() {
|
|
|
5780
5780
|
lookbehind: !0
|
|
5781
5781
|
}
|
|
5782
5782
|
}, n.inside = r.languages.bash;
|
|
5783
|
-
for (var
|
|
5783
|
+
for (var s = [
|
|
5784
5784
|
"comment",
|
|
5785
5785
|
"function-name",
|
|
5786
5786
|
"for-or-select",
|
|
@@ -5795,8 +5795,8 @@ function Yg() {
|
|
|
5795
5795
|
"operator",
|
|
5796
5796
|
"punctuation",
|
|
5797
5797
|
"number"
|
|
5798
|
-
],
|
|
5799
|
-
s[
|
|
5798
|
+
], o = i.variable[1].inside, c = 0; c < s.length; c++)
|
|
5799
|
+
o[s[c]] = r.languages.bash[s[c]];
|
|
5800
5800
|
r.languages.shell = r.languages.bash;
|
|
5801
5801
|
})(t);
|
|
5802
5802
|
}
|
|
@@ -5839,7 +5839,7 @@ function HS() {
|
|
|
5839
5839
|
inside: {
|
|
5840
5840
|
punctuation: /:/
|
|
5841
5841
|
}
|
|
5842
|
-
}, i = /"(?:[\\"]"|[^"])*"(?!")/,
|
|
5842
|
+
}, i = /"(?:[\\"]"|[^"])*"(?!")/, s = /(?:\b|-)\d+\b/;
|
|
5843
5843
|
r.languages.batch = {
|
|
5844
5844
|
comment: [
|
|
5845
5845
|
/^::.*/m,
|
|
@@ -5862,7 +5862,7 @@ function HS() {
|
|
|
5862
5862
|
string: i,
|
|
5863
5863
|
parameter: n,
|
|
5864
5864
|
variable: a,
|
|
5865
|
-
number:
|
|
5865
|
+
number: s,
|
|
5866
5866
|
punctuation: /[()',]/
|
|
5867
5867
|
}
|
|
5868
5868
|
},
|
|
@@ -5875,7 +5875,7 @@ function HS() {
|
|
|
5875
5875
|
string: i,
|
|
5876
5876
|
parameter: n,
|
|
5877
5877
|
variable: a,
|
|
5878
|
-
number:
|
|
5878
|
+
number: s,
|
|
5879
5879
|
operator: /\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i
|
|
5880
5880
|
}
|
|
5881
5881
|
},
|
|
@@ -5896,7 +5896,7 @@ function HS() {
|
|
|
5896
5896
|
string: i,
|
|
5897
5897
|
parameter: n,
|
|
5898
5898
|
variable: [a, /\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],
|
|
5899
|
-
number:
|
|
5899
|
+
number: s,
|
|
5900
5900
|
operator: /[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,
|
|
5901
5901
|
punctuation: /[()',]/
|
|
5902
5902
|
}
|
|
@@ -5915,7 +5915,7 @@ function HS() {
|
|
|
5915
5915
|
alias: "property"
|
|
5916
5916
|
},
|
|
5917
5917
|
variable: a,
|
|
5918
|
-
number:
|
|
5918
|
+
number: s,
|
|
5919
5919
|
operator: /\^/
|
|
5920
5920
|
}
|
|
5921
5921
|
}
|
|
@@ -7054,17 +7054,17 @@ function uv() {
|
|
|
7054
7054
|
function t(r) {
|
|
7055
7055
|
r.register(e), function(a) {
|
|
7056
7056
|
var n = /\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source, i = /@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source + "|" + /'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;
|
|
7057
|
-
function
|
|
7057
|
+
function s(A, R) {
|
|
7058
7058
|
for (var m = 0; m < R; m++)
|
|
7059
7059
|
A = A.replace(/<self>/g, function() {
|
|
7060
7060
|
return "(?:" + A + ")";
|
|
7061
7061
|
});
|
|
7062
7062
|
return A.replace(/<self>/g, "[^\\s\\S]").replace(/<str>/g, "(?:" + i + ")").replace(/<comment>/g, "(?:" + n + ")");
|
|
7063
7063
|
}
|
|
7064
|
-
var
|
|
7064
|
+
var o = s(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source, 2), c = s(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source, 2), f = s(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source, 2), d = s(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source, 2), E = /(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source, l = /(?!\d)[^\s>\/=$<%]+/.source + E + /\s*\/?>/.source, g = /\B@?/.source + "(?:" + /<([a-zA-Z][\w:]*)/.source + E + /\s*>/.source + "(?:" + (/[^<]/.source + "|" + // all tags that are not the start tag
|
|
7065
7065
|
// eslint-disable-next-line regexp/strict
|
|
7066
7066
|
/<\/?(?!\1\b)/.source + l + "|" + // nested start tag
|
|
7067
|
-
|
|
7067
|
+
s(
|
|
7068
7068
|
// eslint-disable-next-line regexp/strict
|
|
7069
7069
|
/<\1/.source + E + /\s*>/.source + "(?:" + (/[^<]/.source + "|" + // all tags that are not the start tag
|
|
7070
7070
|
// eslint-disable-next-line regexp/strict
|
|
@@ -7106,13 +7106,13 @@ function uv() {
|
|
|
7106
7106
|
// @code{ ... }
|
|
7107
7107
|
/(?:code|functions)\s*/.source + f,
|
|
7108
7108
|
// @for (...) { ... }
|
|
7109
|
-
/(?:for|foreach|lock|switch|using|while)\s*/.source +
|
|
7109
|
+
/(?:for|foreach|lock|switch|using|while)\s*/.source + o + /\s*/.source + f,
|
|
7110
7110
|
// @do { ... } while (...);
|
|
7111
|
-
/do\s*/.source + f + /\s*while\s*/.source +
|
|
7111
|
+
/do\s*/.source + f + /\s*while\s*/.source + o + /(?:\s*;)?/.source,
|
|
7112
7112
|
// @try { ... } catch (...) { ... } finally { ... }
|
|
7113
|
-
/try\s*/.source + f + /\s*catch\s*/.source +
|
|
7113
|
+
/try\s*/.source + f + /\s*catch\s*/.source + o + /\s*/.source + f + /\s*finally\s*/.source + f,
|
|
7114
7114
|
// @if (...) {...} else if (...) {...} else {...}
|
|
7115
|
-
/if\s*/.source +
|
|
7115
|
+
/if\s*/.source + o + /\s*/.source + f + "(?:" + /\s*else/.source + "(?:" + /\s+if\s*/.source + o + ")?" + /\s*/.source + f + ")*"
|
|
7116
7116
|
].join("|") + ")"
|
|
7117
7117
|
),
|
|
7118
7118
|
lookbehind: !0,
|
|
@@ -7133,7 +7133,7 @@ function uv() {
|
|
|
7133
7133
|
},
|
|
7134
7134
|
value: {
|
|
7135
7135
|
pattern: RegExp(
|
|
7136
|
-
/(^|[^@])@/.source + /(?:await\b\s*)?/.source + "(?:" + /\w+\b/.source + "|" +
|
|
7136
|
+
/(^|[^@])@/.source + /(?:await\b\s*)?/.source + "(?:" + /\w+\b/.source + "|" + o + ")(?:" + /[?!]?\.\w+\b/.source + "|" + o + "|" + c + "|" + d + o + ")*"
|
|
7137
7137
|
),
|
|
7138
7138
|
lookbehind: !0,
|
|
7139
7139
|
greedy: !0,
|
|
@@ -7293,7 +7293,7 @@ function dv() {
|
|
|
7293
7293
|
var i = {
|
|
7294
7294
|
pattern: /(\b\d+)(?:%|[a-z]+(?![\w-]))/,
|
|
7295
7295
|
lookbehind: !0
|
|
7296
|
-
},
|
|
7296
|
+
}, s = {
|
|
7297
7297
|
pattern: /(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,
|
|
7298
7298
|
lookbehind: !0
|
|
7299
7299
|
};
|
|
@@ -7317,7 +7317,7 @@ function dv() {
|
|
|
7317
7317
|
pattern: /\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,
|
|
7318
7318
|
inside: {
|
|
7319
7319
|
unit: i,
|
|
7320
|
-
number:
|
|
7320
|
+
number: s,
|
|
7321
7321
|
function: /[\w-]+(?=\()/,
|
|
7322
7322
|
punctuation: /[(),]/
|
|
7323
7323
|
}
|
|
@@ -7326,7 +7326,7 @@ function dv() {
|
|
|
7326
7326
|
// it's important that there is no boundary assertion after the hex digits
|
|
7327
7327
|
entity: /\\[\da-f]{1,8}/i,
|
|
7328
7328
|
unit: i,
|
|
7329
|
-
number:
|
|
7329
|
+
number: s
|
|
7330
7330
|
});
|
|
7331
7331
|
})(t);
|
|
7332
7332
|
}
|
|
@@ -7723,15 +7723,15 @@ function yv() {
|
|
|
7723
7723
|
diff: "!"
|
|
7724
7724
|
};
|
|
7725
7725
|
Object.keys(a).forEach(function(n) {
|
|
7726
|
-
var i = a[n],
|
|
7727
|
-
/^\w+$/.test(n) ||
|
|
7726
|
+
var i = a[n], s = [];
|
|
7727
|
+
/^\w+$/.test(n) || s.push(/\w+/.exec(n)[0]), n === "diff" && s.push("bold"), r.languages.diff[n] = {
|
|
7728
7728
|
pattern: RegExp(
|
|
7729
7729
|
"^(?:[" + i + `].*(?:\r
|
|
7730
7730
|
?|
|
|
7731
7731
|
|(?![\\s\\S])))+`,
|
|
7732
7732
|
"m"
|
|
7733
7733
|
),
|
|
7734
|
-
alias:
|
|
7734
|
+
alias: s,
|
|
7735
7735
|
inside: {
|
|
7736
7736
|
line: {
|
|
7737
7737
|
pattern: /(.)(?=[\s\S]).*(?:\r\n?|\n)?/,
|
|
@@ -7772,11 +7772,11 @@ function ue() {
|
|
|
7772
7772
|
* @param {RegExp} placeholderPattern The matches of this pattern will be replaced by placeholders.
|
|
7773
7773
|
* @param {(match: string) => boolean} [replaceFilter]
|
|
7774
7774
|
*/
|
|
7775
|
-
value: function(n, i,
|
|
7775
|
+
value: function(n, i, s, o) {
|
|
7776
7776
|
if (n.language === i) {
|
|
7777
7777
|
var c = n.tokenStack = [];
|
|
7778
|
-
n.code = n.code.replace(
|
|
7779
|
-
if (typeof
|
|
7778
|
+
n.code = n.code.replace(s, function(f) {
|
|
7779
|
+
if (typeof o == "function" && !o(f))
|
|
7780
7780
|
return f;
|
|
7781
7781
|
for (var d = c.length, E; n.code.indexOf(E = a(i, d)) !== -1; )
|
|
7782
7782
|
++d;
|
|
@@ -7796,14 +7796,14 @@ function ue() {
|
|
|
7796
7796
|
if (n.language !== i || !n.tokenStack)
|
|
7797
7797
|
return;
|
|
7798
7798
|
n.grammar = r.languages[i];
|
|
7799
|
-
var
|
|
7799
|
+
var s = 0, o = Object.keys(n.tokenStack);
|
|
7800
7800
|
function c(f) {
|
|
7801
|
-
for (var d = 0; d < f.length && !(
|
|
7801
|
+
for (var d = 0; d < f.length && !(s >= o.length); d++) {
|
|
7802
7802
|
var E = f[d];
|
|
7803
7803
|
if (typeof E == "string" || E.content && typeof E.content == "string") {
|
|
7804
|
-
var l = s
|
|
7804
|
+
var l = o[s], g = n.tokenStack[l], b = typeof E == "string" ? E : E.content, y = a(i, l), A = b.indexOf(y);
|
|
7805
7805
|
if (A > -1) {
|
|
7806
|
-
++
|
|
7806
|
+
++s;
|
|
7807
7807
|
var R = b.substring(0, A), m = new r.Token(
|
|
7808
7808
|
i,
|
|
7809
7809
|
r.tokenize(g, n.grammar),
|
|
@@ -7866,14 +7866,14 @@ function Sv() {
|
|
|
7866
7866
|
punctuation: /[{}[\](),.:;]/
|
|
7867
7867
|
};
|
|
7868
7868
|
var n = /\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g, i = a.languages["markup-templating"];
|
|
7869
|
-
a.hooks.add("before-tokenize", function(
|
|
7870
|
-
i.buildPlaceholders(
|
|
7871
|
-
}), a.hooks.add("after-tokenize", function(
|
|
7872
|
-
i.tokenizePlaceholders(
|
|
7873
|
-
}), a.languages.jinja2 = a.languages.django, a.hooks.add("before-tokenize", function(
|
|
7874
|
-
i.buildPlaceholders(
|
|
7875
|
-
}), a.hooks.add("after-tokenize", function(
|
|
7876
|
-
i.tokenizePlaceholders(
|
|
7869
|
+
a.hooks.add("before-tokenize", function(s) {
|
|
7870
|
+
i.buildPlaceholders(s, "django", n);
|
|
7871
|
+
}), a.hooks.add("after-tokenize", function(s) {
|
|
7872
|
+
i.tokenizePlaceholders(s, "django");
|
|
7873
|
+
}), a.languages.jinja2 = a.languages.django, a.hooks.add("before-tokenize", function(s) {
|
|
7874
|
+
i.buildPlaceholders(s, "jinja2", n);
|
|
7875
|
+
}), a.hooks.add("after-tokenize", function(s) {
|
|
7876
|
+
i.tokenizePlaceholders(s, "jinja2");
|
|
7877
7877
|
});
|
|
7878
7878
|
}(r);
|
|
7879
7879
|
}
|
|
@@ -7929,12 +7929,12 @@ function Tv() {
|
|
|
7929
7929
|
function() {
|
|
7930
7930
|
return a;
|
|
7931
7931
|
}
|
|
7932
|
-
), i = /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,
|
|
7932
|
+
), i = /"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source, s = /--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(
|
|
7933
7933
|
/<STR>/g,
|
|
7934
7934
|
function() {
|
|
7935
7935
|
return i;
|
|
7936
7936
|
}
|
|
7937
|
-
),
|
|
7937
|
+
), o = {
|
|
7938
7938
|
pattern: RegExp(i),
|
|
7939
7939
|
greedy: !0
|
|
7940
7940
|
}, c = {
|
|
@@ -7944,7 +7944,7 @@ function Tv() {
|
|
|
7944
7944
|
};
|
|
7945
7945
|
function f(d, E) {
|
|
7946
7946
|
return d = d.replace(/<OPT>/g, function() {
|
|
7947
|
-
return
|
|
7947
|
+
return s;
|
|
7948
7948
|
}).replace(/<SP>/g, function() {
|
|
7949
7949
|
return n;
|
|
7950
7950
|
}), RegExp(d, E);
|
|
@@ -7968,7 +7968,7 @@ function Tv() {
|
|
|
7968
7968
|
lookbehind: !0
|
|
7969
7969
|
},
|
|
7970
7970
|
string: [
|
|
7971
|
-
|
|
7971
|
+
o,
|
|
7972
7972
|
{
|
|
7973
7973
|
pattern: /(=)(?!["'])(?:[^\s\\]|\\.)+/,
|
|
7974
7974
|
lookbehind: !0
|
|
@@ -8009,7 +8009,7 @@ function Tv() {
|
|
|
8009
8009
|
}
|
|
8010
8010
|
],
|
|
8011
8011
|
comment: c,
|
|
8012
|
-
string:
|
|
8012
|
+
string: o,
|
|
8013
8013
|
variable: /\$(?:\w+|\{[^{}"'\\]*\})/,
|
|
8014
8014
|
operator: /\\$/m
|
|
8015
8015
|
}
|
|
@@ -8043,12 +8043,12 @@ function Av() {
|
|
|
8043
8043
|
inside: r.languages.markup
|
|
8044
8044
|
}
|
|
8045
8045
|
};
|
|
8046
|
-
function i(
|
|
8046
|
+
function i(s, o) {
|
|
8047
8047
|
return RegExp(
|
|
8048
|
-
|
|
8048
|
+
s.replace(/<ID>/g, function() {
|
|
8049
8049
|
return a;
|
|
8050
8050
|
}),
|
|
8051
|
-
|
|
8051
|
+
o
|
|
8052
8052
|
);
|
|
8053
8053
|
}
|
|
8054
8054
|
r.languages.dot = {
|
|
@@ -8411,11 +8411,11 @@ function Cv() {
|
|
|
8411
8411
|
inside: n.languages.ruby
|
|
8412
8412
|
}
|
|
8413
8413
|
}, n.hooks.add("before-tokenize", function(i) {
|
|
8414
|
-
var
|
|
8414
|
+
var s = /<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;
|
|
8415
8415
|
n.languages["markup-templating"].buildPlaceholders(
|
|
8416
8416
|
i,
|
|
8417
8417
|
"erb",
|
|
8418
|
-
|
|
8418
|
+
s
|
|
8419
8419
|
);
|
|
8420
8420
|
}), n.hooks.add("after-tokenize", function(i) {
|
|
8421
8421
|
n.languages["markup-templating"].tokenizePlaceholders(i, "erb");
|
|
@@ -8521,11 +8521,11 @@ function Lv() {
|
|
|
8521
8521
|
inside: n.languages.lua
|
|
8522
8522
|
}
|
|
8523
8523
|
}, n.hooks.add("before-tokenize", function(i) {
|
|
8524
|
-
var
|
|
8524
|
+
var s = /<%[\s\S]+?%>/g;
|
|
8525
8525
|
n.languages["markup-templating"].buildPlaceholders(
|
|
8526
8526
|
i,
|
|
8527
8527
|
"etlua",
|
|
8528
|
-
|
|
8528
|
+
s
|
|
8529
8529
|
);
|
|
8530
8530
|
}), n.hooks.add("after-tokenize", function(i) {
|
|
8531
8531
|
n.languages["markup-templating"].tokenizePlaceholders(i, "etlua");
|
|
@@ -8920,10 +8920,10 @@ function Dv() {
|
|
|
8920
8920
|
greedy: !0,
|
|
8921
8921
|
inside: n
|
|
8922
8922
|
}
|
|
8923
|
-
}, o = function(d) {
|
|
8924
|
-
return (d + "").replace(/([.?*+\^$\[\]\\(){}|\-])/g, "\\$1");
|
|
8925
8923
|
}, s = function(d) {
|
|
8926
|
-
return
|
|
8924
|
+
return (d + "").replace(/([.?*+\^$\[\]\\(){}|\-])/g, "\\$1");
|
|
8925
|
+
}, o = function(d) {
|
|
8926
|
+
return new RegExp("(^|\\s)(?:" + d.map(s).join("|") + ")(?=\\s|$)");
|
|
8927
8927
|
}, c = {
|
|
8928
8928
|
"kernel-builtin": [
|
|
8929
8929
|
"or",
|
|
@@ -9298,7 +9298,7 @@ function Dv() {
|
|
|
9298
9298
|
// that's all for now
|
|
9299
9299
|
};
|
|
9300
9300
|
Object.keys(c).forEach(function(d) {
|
|
9301
|
-
i[d].pattern =
|
|
9301
|
+
i[d].pattern = o(c[d]);
|
|
9302
9302
|
});
|
|
9303
9303
|
var f = [
|
|
9304
9304
|
// kernel
|
|
@@ -9523,7 +9523,7 @@ function Dv() {
|
|
|
9523
9523
|
"output>sequence"
|
|
9524
9524
|
// tafn
|
|
9525
9525
|
];
|
|
9526
|
-
i.combinators.pattern =
|
|
9526
|
+
i.combinators.pattern = o(f), r.languages.factor = i;
|
|
9527
9527
|
})(t);
|
|
9528
9528
|
}
|
|
9529
9529
|
return Hr;
|
|
@@ -9778,7 +9778,7 @@ function $v() {
|
|
|
9778
9778
|
return n;
|
|
9779
9779
|
});
|
|
9780
9780
|
n = n.replace(/<expr>/g, /[^\s\S]/.source);
|
|
9781
|
-
var
|
|
9781
|
+
var s = {
|
|
9782
9782
|
comment: /<#--[\s\S]*?-->/,
|
|
9783
9783
|
string: [
|
|
9784
9784
|
{
|
|
@@ -9830,7 +9830,7 @@ function $v() {
|
|
|
9830
9830
|
operator: /\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,
|
|
9831
9831
|
punctuation: /[,;.:()[\]{}]/
|
|
9832
9832
|
};
|
|
9833
|
-
|
|
9833
|
+
s.string[1].inside.interpolation.inside.rest = s, a.languages.ftl = {
|
|
9834
9834
|
"ftl-comment": {
|
|
9835
9835
|
// the pattern is shortened to be more efficient
|
|
9836
9836
|
pattern: /^<#--[\s\S]*/,
|
|
@@ -9848,7 +9848,7 @@ function $v() {
|
|
|
9848
9848
|
content: {
|
|
9849
9849
|
pattern: /\s*\S[\s\S]*/,
|
|
9850
9850
|
alias: "ftl",
|
|
9851
|
-
inside:
|
|
9851
|
+
inside: s
|
|
9852
9852
|
}
|
|
9853
9853
|
}
|
|
9854
9854
|
},
|
|
@@ -9859,11 +9859,11 @@ function $v() {
|
|
|
9859
9859
|
content: {
|
|
9860
9860
|
pattern: /\s*\S[\s\S]*/,
|
|
9861
9861
|
alias: "ftl",
|
|
9862
|
-
inside:
|
|
9862
|
+
inside: s
|
|
9863
9863
|
}
|
|
9864
9864
|
}
|
|
9865
9865
|
}
|
|
9866
|
-
}, a.hooks.add("before-tokenize", function(
|
|
9866
|
+
}, a.hooks.add("before-tokenize", function(o) {
|
|
9867
9867
|
var c = RegExp(
|
|
9868
9868
|
/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(
|
|
9869
9869
|
/<expr>/g,
|
|
@@ -9874,12 +9874,12 @@ function $v() {
|
|
|
9874
9874
|
"gi"
|
|
9875
9875
|
);
|
|
9876
9876
|
a.languages["markup-templating"].buildPlaceholders(
|
|
9877
|
-
|
|
9877
|
+
o,
|
|
9878
9878
|
"ftl",
|
|
9879
9879
|
c
|
|
9880
9880
|
);
|
|
9881
|
-
}), a.hooks.add("after-tokenize", function(
|
|
9882
|
-
a.languages["markup-templating"].tokenizePlaceholders(
|
|
9881
|
+
}), a.hooks.add("after-tokenize", function(o) {
|
|
9882
|
+
a.languages["markup-templating"].tokenizePlaceholders(o, "ftl");
|
|
9883
9883
|
});
|
|
9884
9884
|
}(r);
|
|
9885
9885
|
}
|
|
@@ -10406,13 +10406,13 @@ function Qv() {
|
|
|
10406
10406
|
var n = a.tokens.filter(function(R) {
|
|
10407
10407
|
return typeof R != "string" && R.type !== "comment" && R.type !== "scalar";
|
|
10408
10408
|
}), i = 0;
|
|
10409
|
-
function
|
|
10409
|
+
function s(R) {
|
|
10410
10410
|
return n[i + R];
|
|
10411
10411
|
}
|
|
10412
|
-
function
|
|
10412
|
+
function o(R, m) {
|
|
10413
10413
|
m = m || 0;
|
|
10414
10414
|
for (var h = 0; h < R.length; h++) {
|
|
10415
|
-
var v =
|
|
10415
|
+
var v = s(h + m);
|
|
10416
10416
|
if (!v || v.type !== R[h])
|
|
10417
10417
|
return !1;
|
|
10418
10418
|
}
|
|
@@ -10438,18 +10438,18 @@ function Qv() {
|
|
|
10438
10438
|
var d = n[i++];
|
|
10439
10439
|
if (d.type === "keyword" && d.content === "mutation") {
|
|
10440
10440
|
var E = [];
|
|
10441
|
-
if (
|
|
10441
|
+
if (o(["definition-mutation", "punctuation"]) && s(1).content === "(") {
|
|
10442
10442
|
i += 2;
|
|
10443
10443
|
var l = c(/^\($/, /^\)$/);
|
|
10444
10444
|
if (l === -1)
|
|
10445
10445
|
continue;
|
|
10446
10446
|
for (; i < l; i++) {
|
|
10447
|
-
var g =
|
|
10447
|
+
var g = s(0);
|
|
10448
10448
|
g.type === "variable" && (f(g, "variable-input"), E.push(g.content));
|
|
10449
10449
|
}
|
|
10450
10450
|
i = l + 1;
|
|
10451
10451
|
}
|
|
10452
|
-
if (
|
|
10452
|
+
if (o(["punctuation", "property-query"]) && s(0).content === "{" && (i++, f(s(0), "property-mutation"), E.length > 0)) {
|
|
10453
10453
|
var b = c(/^\{$/, /^\}$/);
|
|
10454
10454
|
if (b === -1)
|
|
10455
10455
|
continue;
|
|
@@ -10637,12 +10637,12 @@ function eT() {
|
|
|
10637
10637
|
"ruby",
|
|
10638
10638
|
"scss",
|
|
10639
10639
|
"textile"
|
|
10640
|
-
],
|
|
10641
|
-
var f = i[
|
|
10640
|
+
], s = {}, o = 0, c = i.length; o < c; o++) {
|
|
10641
|
+
var f = i[o];
|
|
10642
10642
|
f = typeof f == "string" ? {
|
|
10643
10643
|
filter: f,
|
|
10644
10644
|
language: f
|
|
10645
|
-
} : f, a.languages[f.language] && (
|
|
10645
|
+
} : f, a.languages[f.language] && (s["filter-" + f.filter] = {
|
|
10646
10646
|
pattern: RegExp(
|
|
10647
10647
|
n.replace("{{filter_name}}", function() {
|
|
10648
10648
|
return f.filter;
|
|
@@ -10662,7 +10662,7 @@ function eT() {
|
|
|
10662
10662
|
}
|
|
10663
10663
|
});
|
|
10664
10664
|
}
|
|
10665
|
-
a.languages.insertBefore("haml", "filter",
|
|
10665
|
+
a.languages.insertBefore("haml", "filter", s);
|
|
10666
10666
|
}(r);
|
|
10667
10667
|
}
|
|
10668
10668
|
return ua;
|
|
@@ -11116,11 +11116,11 @@ function lT() {
|
|
|
11116
11116
|
"text/html": n.html,
|
|
11117
11117
|
"text/css": n.css,
|
|
11118
11118
|
"text/plain": n.plain
|
|
11119
|
-
},
|
|
11119
|
+
}, s = {
|
|
11120
11120
|
"application/json": !0,
|
|
11121
11121
|
"application/xml": !0
|
|
11122
11122
|
};
|
|
11123
|
-
function
|
|
11123
|
+
function o(E) {
|
|
11124
11124
|
var l = E.replace(/^[a-z]+\//, ""), g = "\\w+/(?:[\\w.-]+\\+)+" + l + "(?![+\\w.-])";
|
|
11125
11125
|
return "(?:" + E + "|" + g + ")";
|
|
11126
11126
|
}
|
|
@@ -11128,7 +11128,7 @@ function lT() {
|
|
|
11128
11128
|
for (var f in i)
|
|
11129
11129
|
if (i[f]) {
|
|
11130
11130
|
c = c || {};
|
|
11131
|
-
var d =
|
|
11131
|
+
var d = s[f] ? o(f) : f;
|
|
11132
11132
|
c[f.replace(/\//g, "-")] = {
|
|
11133
11133
|
pattern: RegExp(
|
|
11134
11134
|
"(" + /content-type:\s*/.source + d + /(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source + ")" + // This is a little interesting:
|
|
@@ -11212,13 +11212,13 @@ function dT() {
|
|
|
11212
11212
|
pattern: /''/,
|
|
11213
11213
|
greedy: !0,
|
|
11214
11214
|
alias: "operator"
|
|
11215
|
-
},
|
|
11215
|
+
}, s = {
|
|
11216
11216
|
pattern: n,
|
|
11217
11217
|
greedy: !0,
|
|
11218
11218
|
inside: {
|
|
11219
11219
|
escape: i
|
|
11220
11220
|
}
|
|
11221
|
-
},
|
|
11221
|
+
}, o = a(
|
|
11222
11222
|
/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(
|
|
11223
11223
|
/<STR>/g,
|
|
11224
11224
|
function() {
|
|
@@ -11227,7 +11227,7 @@ function dT() {
|
|
|
11227
11227
|
),
|
|
11228
11228
|
8
|
|
11229
11229
|
), c = {
|
|
11230
|
-
pattern: RegExp(
|
|
11230
|
+
pattern: RegExp(o),
|
|
11231
11231
|
inside: {
|
|
11232
11232
|
message: {
|
|
11233
11233
|
pattern: /^(\{)[\s\S]+(?=\}$)/,
|
|
@@ -11243,7 +11243,7 @@ function dT() {
|
|
|
11243
11243
|
};
|
|
11244
11244
|
r.languages["icu-message-format"] = {
|
|
11245
11245
|
argument: {
|
|
11246
|
-
pattern: RegExp(
|
|
11246
|
+
pattern: RegExp(o),
|
|
11247
11247
|
greedy: !0,
|
|
11248
11248
|
inside: {
|
|
11249
11249
|
content: {
|
|
@@ -11331,7 +11331,7 @@ function dT() {
|
|
|
11331
11331
|
}
|
|
11332
11332
|
},
|
|
11333
11333
|
escape: i,
|
|
11334
|
-
string:
|
|
11334
|
+
string: s
|
|
11335
11335
|
}, c.inside.message.inside = r.languages["icu-message-format"], r.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest = r.languages["icu-message-format"];
|
|
11336
11336
|
})(t);
|
|
11337
11337
|
}
|
|
@@ -11721,8 +11721,8 @@ function lt() {
|
|
|
11721
11721
|
},
|
|
11722
11722
|
punctuation: /[{}]/
|
|
11723
11723
|
};
|
|
11724
|
-
function n(
|
|
11725
|
-
var c = "doc-comment", f = r.languages[
|
|
11724
|
+
function n(s, o) {
|
|
11725
|
+
var c = "doc-comment", f = r.languages[s];
|
|
11726
11726
|
if (f) {
|
|
11727
11727
|
var d = f[c];
|
|
11728
11728
|
if (!d) {
|
|
@@ -11731,7 +11731,7 @@ function lt() {
|
|
|
11731
11731
|
pattern: /(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,
|
|
11732
11732
|
lookbehind: !0,
|
|
11733
11733
|
alias: "comment"
|
|
11734
|
-
}, f = r.languages.insertBefore(
|
|
11734
|
+
}, f = r.languages.insertBefore(s, "comment", E), d = f[c];
|
|
11735
11735
|
}
|
|
11736
11736
|
if (d instanceof RegExp && (d = f[c] = {
|
|
11737
11737
|
pattern: d
|
|
@@ -11739,15 +11739,15 @@ function lt() {
|
|
|
11739
11739
|
for (var l = 0, g = d.length; l < g; l++)
|
|
11740
11740
|
d[l] instanceof RegExp && (d[l] = {
|
|
11741
11741
|
pattern: d[l]
|
|
11742
|
-
}),
|
|
11742
|
+
}), o(d[l]);
|
|
11743
11743
|
else
|
|
11744
|
-
|
|
11744
|
+
o(d);
|
|
11745
11745
|
}
|
|
11746
11746
|
}
|
|
11747
|
-
function i(
|
|
11748
|
-
typeof
|
|
11747
|
+
function i(s, o) {
|
|
11748
|
+
typeof s == "string" && (s = [s]), s.forEach(function(c) {
|
|
11749
11749
|
n(c, function(f) {
|
|
11750
|
-
f.inside || (f.inside = {}), f.inside.rest =
|
|
11750
|
+
f.inside || (f.inside = {}), f.inside.rest = o;
|
|
11751
11751
|
});
|
|
11752
11752
|
});
|
|
11753
11753
|
}
|
|
@@ -11766,16 +11766,16 @@ function yT() {
|
|
|
11766
11766
|
Oa = r, r.displayName = "javadoc", r.aliases = [];
|
|
11767
11767
|
function r(a) {
|
|
11768
11768
|
a.register(e), a.register(t), function(n) {
|
|
11769
|
-
var i = /(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,
|
|
11769
|
+
var i = /(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m, s = /#\s*\w+(?:\s*\([^()]*\))?/.source, o = /(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(
|
|
11770
11770
|
/<mem>/g,
|
|
11771
11771
|
function() {
|
|
11772
|
-
return
|
|
11772
|
+
return s;
|
|
11773
11773
|
}
|
|
11774
11774
|
);
|
|
11775
11775
|
n.languages.javadoc = n.languages.extend("javadoclike", {}), n.languages.insertBefore("javadoc", "keyword", {
|
|
11776
11776
|
reference: {
|
|
11777
11777
|
pattern: RegExp(
|
|
11778
|
-
/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source + "(?:" +
|
|
11778
|
+
/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source + "(?:" + o + ")"
|
|
11779
11779
|
),
|
|
11780
11780
|
lookbehind: !0,
|
|
11781
11781
|
inside: {
|
|
@@ -12087,7 +12087,7 @@ function AT() {
|
|
|
12087
12087
|
punctuation: /^\\\(|\)$/
|
|
12088
12088
|
}
|
|
12089
12089
|
}
|
|
12090
|
-
},
|
|
12090
|
+
}, s = r.languages.jq = {
|
|
12091
12091
|
comment: /#.*/,
|
|
12092
12092
|
property: {
|
|
12093
12093
|
pattern: RegExp(n.source + /(?=\s*:(?!:))/.source),
|
|
@@ -12130,7 +12130,7 @@ function AT() {
|
|
|
12130
12130
|
alias: "important"
|
|
12131
12131
|
}
|
|
12132
12132
|
};
|
|
12133
|
-
i.interpolation.inside.content.inside =
|
|
12133
|
+
i.interpolation.inside.content.inside = s;
|
|
12134
12134
|
})(t);
|
|
12135
12135
|
}
|
|
12136
12136
|
return Ma;
|
|
@@ -12249,12 +12249,12 @@ function RT() {
|
|
|
12249
12249
|
"method-variable",
|
|
12250
12250
|
"property-access"
|
|
12251
12251
|
], i = 0; i < n.length; i++) {
|
|
12252
|
-
var
|
|
12253
|
-
r.util.type(
|
|
12254
|
-
pattern:
|
|
12252
|
+
var s = n[i], o = r.languages.javascript[s];
|
|
12253
|
+
r.util.type(o) === "RegExp" && (o = r.languages.javascript[s] = {
|
|
12254
|
+
pattern: o
|
|
12255
12255
|
});
|
|
12256
|
-
var c =
|
|
12257
|
-
|
|
12256
|
+
var c = o.inside || {};
|
|
12257
|
+
o.inside = c, c["maybe-class-name"] = /^[A-Z][\s\S]*/;
|
|
12258
12258
|
}
|
|
12259
12259
|
})(t);
|
|
12260
12260
|
}
|
|
@@ -12266,7 +12266,7 @@ function _T() {
|
|
|
12266
12266
|
gc = 1, Ua = e, e.displayName = "jsTemplates", e.aliases = [];
|
|
12267
12267
|
function e(t) {
|
|
12268
12268
|
(function(r) {
|
|
12269
|
-
var a = r.languages.javascript["template-string"], n = a.pattern.source, i = a.inside.interpolation,
|
|
12269
|
+
var a = r.languages.javascript["template-string"], n = a.pattern.source, i = a.inside.interpolation, s = i.inside["interpolation-punctuation"], o = i.pattern.source;
|
|
12270
12270
|
function c(y, A) {
|
|
12271
12271
|
if (r.languages[y])
|
|
12272
12272
|
return {
|
|
@@ -12324,7 +12324,7 @@ function _T() {
|
|
|
12324
12324
|
}
|
|
12325
12325
|
function E(y) {
|
|
12326
12326
|
var A = {};
|
|
12327
|
-
A["interpolation-punctuation"] =
|
|
12327
|
+
A["interpolation-punctuation"] = s;
|
|
12328
12328
|
var R = r.tokenize(y, A);
|
|
12329
12329
|
if (R.length === 3) {
|
|
12330
12330
|
var m = [1, 1];
|
|
@@ -12343,7 +12343,7 @@ function _T() {
|
|
|
12343
12343
|
function l(y, A, R) {
|
|
12344
12344
|
var m = r.tokenize(y, {
|
|
12345
12345
|
interpolation: {
|
|
12346
|
-
pattern: RegExp(
|
|
12346
|
+
pattern: RegExp(o),
|
|
12347
12347
|
lookbehind: !0
|
|
12348
12348
|
}
|
|
12349
12349
|
}), h = 0, v = {}, T = m.map(function(I) {
|
|
@@ -12493,12 +12493,12 @@ function IT() {
|
|
|
12493
12493
|
Ba = r, r.displayName = "jsdoc", r.aliases = [];
|
|
12494
12494
|
function r(a) {
|
|
12495
12495
|
a.register(e), a.register(t), function(n) {
|
|
12496
|
-
var i = n.languages.javascript,
|
|
12496
|
+
var i = n.languages.javascript, s = /\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source, o = "(@(?:arg|argument|param|property)\\s+(?:" + s + "\\s+)?)";
|
|
12497
12497
|
n.languages.jsdoc = n.languages.extend("javadoclike", {
|
|
12498
12498
|
parameter: {
|
|
12499
12499
|
// @param {string} foo - foo bar
|
|
12500
12500
|
pattern: RegExp(
|
|
12501
|
-
|
|
12501
|
+
o + /(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source
|
|
12502
12502
|
),
|
|
12503
12503
|
lookbehind: !0,
|
|
12504
12504
|
inside: {
|
|
@@ -12509,7 +12509,7 @@ function IT() {
|
|
|
12509
12509
|
"optional-parameter": {
|
|
12510
12510
|
// @param {string} [baz.foo="bar"] foo bar
|
|
12511
12511
|
pattern: RegExp(
|
|
12512
|
-
|
|
12512
|
+
o + /\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source
|
|
12513
12513
|
),
|
|
12514
12514
|
lookbehind: !0,
|
|
12515
12515
|
inside: {
|
|
@@ -12535,7 +12535,7 @@ function IT() {
|
|
|
12535
12535
|
/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(
|
|
12536
12536
|
/<TYPE>/g,
|
|
12537
12537
|
function() {
|
|
12538
|
-
return
|
|
12538
|
+
return s;
|
|
12539
12539
|
}
|
|
12540
12540
|
)
|
|
12541
12541
|
),
|
|
@@ -12545,7 +12545,7 @@ function IT() {
|
|
|
12545
12545
|
}
|
|
12546
12546
|
},
|
|
12547
12547
|
{
|
|
12548
|
-
pattern: RegExp("(@[a-z]+\\s+)" +
|
|
12548
|
+
pattern: RegExp("(@[a-z]+\\s+)" + s),
|
|
12549
12549
|
lookbehind: !0,
|
|
12550
12550
|
inside: {
|
|
12551
12551
|
string: i.string,
|
|
@@ -12706,24 +12706,24 @@ function Xg() {
|
|
|
12706
12706
|
Sc = 1, za = e, e.displayName = "jsx", e.aliases = [];
|
|
12707
12707
|
function e(t) {
|
|
12708
12708
|
(function(r) {
|
|
12709
|
-
var a = r.util.clone(r.languages.javascript), n = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, i = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,
|
|
12710
|
-
function
|
|
12709
|
+
var a = r.util.clone(r.languages.javascript), n = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, i = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, s = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
|
|
12710
|
+
function o(d, E) {
|
|
12711
12711
|
return d = d.replace(/<S>/g, function() {
|
|
12712
12712
|
return n;
|
|
12713
12713
|
}).replace(/<BRACES>/g, function() {
|
|
12714
12714
|
return i;
|
|
12715
12715
|
}).replace(/<SPREAD>/g, function() {
|
|
12716
|
-
return
|
|
12716
|
+
return s;
|
|
12717
12717
|
}), RegExp(d, E);
|
|
12718
12718
|
}
|
|
12719
|
-
|
|
12719
|
+
s = o(s).source, r.languages.jsx = r.languages.extend("markup", a), r.languages.jsx.tag.pattern = o(
|
|
12720
12720
|
/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source
|
|
12721
12721
|
), r.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, r.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, r.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, r.languages.jsx.tag.inside.comment = a.comment, r.languages.insertBefore(
|
|
12722
12722
|
"inside",
|
|
12723
12723
|
"attr-name",
|
|
12724
12724
|
{
|
|
12725
12725
|
spread: {
|
|
12726
|
-
pattern:
|
|
12726
|
+
pattern: o(/<SPREAD>/.source),
|
|
12727
12727
|
inside: r.languages.jsx
|
|
12728
12728
|
}
|
|
12729
12729
|
},
|
|
@@ -12734,7 +12734,7 @@ function Xg() {
|
|
|
12734
12734
|
{
|
|
12735
12735
|
script: {
|
|
12736
12736
|
// Allow for two levels of nesting
|
|
12737
|
-
pattern:
|
|
12737
|
+
pattern: o(/=<BRACES>/.source),
|
|
12738
12738
|
alias: "language-javascript",
|
|
12739
12739
|
inside: {
|
|
12740
12740
|
"script-punctuation": {
|
|
@@ -13014,8 +13014,8 @@ function DT() {
|
|
|
13014
13014
|
function e(t) {
|
|
13015
13015
|
(function(r) {
|
|
13016
13016
|
var a = /\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;
|
|
13017
|
-
function n(i,
|
|
13018
|
-
return RegExp(i.replace(/<nonId>/g, a),
|
|
13017
|
+
function n(i, s) {
|
|
13018
|
+
return RegExp(i.replace(/<nonId>/g, a), s);
|
|
13019
13019
|
}
|
|
13020
13020
|
r.languages.kumir = {
|
|
13021
13021
|
comment: {
|
|
@@ -13240,7 +13240,7 @@ function ut() {
|
|
|
13240
13240
|
},
|
|
13241
13241
|
/\b(?:null)\b/i,
|
|
13242
13242
|
/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/
|
|
13243
|
-
],
|
|
13243
|
+
], s = /\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i, o = /<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/, c = /[{}\[\](),:;]/;
|
|
13244
13244
|
a.languages.php = {
|
|
13245
13245
|
delimiter: {
|
|
13246
13246
|
pattern: /\?>$|^<\?(?:php(?=\s)|=)?/i,
|
|
@@ -13430,8 +13430,8 @@ function ut() {
|
|
|
13430
13430
|
pattern: /(->\s*)\w+/,
|
|
13431
13431
|
lookbehind: !0
|
|
13432
13432
|
},
|
|
13433
|
-
number:
|
|
13434
|
-
operator:
|
|
13433
|
+
number: s,
|
|
13434
|
+
operator: o,
|
|
13435
13435
|
punctuation: c
|
|
13436
13436
|
};
|
|
13437
13437
|
var f = {
|
|
@@ -13518,8 +13518,8 @@ function ut() {
|
|
|
13518
13518
|
}
|
|
13519
13519
|
],
|
|
13520
13520
|
constant: i,
|
|
13521
|
-
number:
|
|
13522
|
-
operator:
|
|
13521
|
+
number: s,
|
|
13522
|
+
operator: o,
|
|
13523
13523
|
punctuation: c
|
|
13524
13524
|
}
|
|
13525
13525
|
},
|
|
@@ -13603,17 +13603,17 @@ function UT() {
|
|
|
13603
13603
|
}
|
|
13604
13604
|
},
|
|
13605
13605
|
i.tag
|
|
13606
|
-
), n.hooks.add("before-tokenize", function(
|
|
13607
|
-
if (
|
|
13608
|
-
var
|
|
13606
|
+
), n.hooks.add("before-tokenize", function(s) {
|
|
13607
|
+
if (s.language === "latte") {
|
|
13608
|
+
var o = /\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;
|
|
13609
13609
|
n.languages["markup-templating"].buildPlaceholders(
|
|
13610
|
-
|
|
13610
|
+
s,
|
|
13611
13611
|
"latte",
|
|
13612
|
-
|
|
13613
|
-
),
|
|
13612
|
+
o
|
|
13613
|
+
), s.grammar = i;
|
|
13614
13614
|
}
|
|
13615
|
-
}), n.hooks.add("after-tokenize", function(
|
|
13616
|
-
n.languages["markup-templating"].tokenizePlaceholders(
|
|
13615
|
+
}), n.hooks.add("after-tokenize", function(s) {
|
|
13616
|
+
n.languages["markup-templating"].tokenizePlaceholders(s, "latte");
|
|
13617
13617
|
});
|
|
13618
13618
|
}(a);
|
|
13619
13619
|
}
|
|
@@ -13779,8 +13779,8 @@ function ns() {
|
|
|
13779
13779
|
};
|
|
13780
13780
|
function a(n) {
|
|
13781
13781
|
for (var i in n)
|
|
13782
|
-
n[i] = n[i].replace(/<[\w\s]+>/g, function(
|
|
13783
|
-
return "(?:" + n[
|
|
13782
|
+
n[i] = n[i].replace(/<[\w\s]+>/g, function(s) {
|
|
13783
|
+
return "(?:" + n[s].trim() + ")";
|
|
13784
13784
|
});
|
|
13785
13785
|
return n[i];
|
|
13786
13786
|
}
|
|
@@ -13796,12 +13796,12 @@ function BT() {
|
|
|
13796
13796
|
rn = t, t.displayName = "lilypond", t.aliases = [];
|
|
13797
13797
|
function t(r) {
|
|
13798
13798
|
r.register(e), function(a) {
|
|
13799
|
-
for (var n = /\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source, i = 5,
|
|
13799
|
+
for (var n = /\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source, i = 5, s = 0; s < i; s++)
|
|
13800
13800
|
n = n.replace(/<expr>/g, function() {
|
|
13801
13801
|
return n;
|
|
13802
13802
|
});
|
|
13803
13803
|
n = n.replace(/<expr>/g, /[^\s\S]/.source);
|
|
13804
|
-
var
|
|
13804
|
+
var o = a.languages.lilypond = {
|
|
13805
13805
|
comment: /%(?:(?!\{).*|\{[\s\S]*?%\})/,
|
|
13806
13806
|
"embedded-scheme": {
|
|
13807
13807
|
pattern: RegExp(
|
|
@@ -13861,7 +13861,7 @@ function BT() {
|
|
|
13861
13861
|
},
|
|
13862
13862
|
number: /\b\d+(?:\/\d+)?\b/
|
|
13863
13863
|
};
|
|
13864
|
-
|
|
13864
|
+
o["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside = o, a.languages.ly = o;
|
|
13865
13865
|
}(r);
|
|
13866
13866
|
}
|
|
13867
13867
|
return rn;
|
|
@@ -13919,10 +13919,10 @@ function $T() {
|
|
|
13919
13919
|
a,
|
|
13920
13920
|
"liquid",
|
|
13921
13921
|
n,
|
|
13922
|
-
function(
|
|
13923
|
-
var
|
|
13924
|
-
if (
|
|
13925
|
-
var c =
|
|
13922
|
+
function(s) {
|
|
13923
|
+
var o = /^\{%-?\s*(\w+)/.exec(s);
|
|
13924
|
+
if (o) {
|
|
13925
|
+
var c = o[1];
|
|
13926
13926
|
if (c === "raw" && !i)
|
|
13927
13927
|
return i = !0, !0;
|
|
13928
13928
|
if (c === "endraw")
|
|
@@ -13951,7 +13951,7 @@ function GT() {
|
|
|
13951
13951
|
/([\s([])/.source + "(?:" + y + ")" + /(?=[\s)])/.source
|
|
13952
13952
|
);
|
|
13953
13953
|
}
|
|
13954
|
-
var i = /(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,
|
|
13954
|
+
var i = /(?!\d)[-+*/~!@$%^=<>{}\w]+/.source, s = "&" + i, o = "(\\()", c = "(?=\\))", f = "(?=\\s)", d = /(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source, E = {
|
|
13955
13955
|
// Three or four semicolons are considered a heading.
|
|
13956
13956
|
// See https://www.gnu.org/software/emacs/manual/html_node/elisp/Comment-Tips.html
|
|
13957
13957
|
heading: {
|
|
@@ -13982,13 +13982,13 @@ function GT() {
|
|
|
13982
13982
|
keyword: [
|
|
13983
13983
|
{
|
|
13984
13984
|
pattern: RegExp(
|
|
13985
|
-
|
|
13985
|
+
o + "(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)" + f
|
|
13986
13986
|
),
|
|
13987
13987
|
lookbehind: !0
|
|
13988
13988
|
},
|
|
13989
13989
|
{
|
|
13990
13990
|
pattern: RegExp(
|
|
13991
|
-
|
|
13991
|
+
o + "(?:append|by|collect|concat|do|finally|for|in|return)" + f
|
|
13992
13992
|
),
|
|
13993
13993
|
lookbehind: !0
|
|
13994
13994
|
}
|
|
@@ -14012,7 +14012,7 @@ function GT() {
|
|
|
14012
14012
|
lookbehind: !0
|
|
14013
14013
|
},
|
|
14014
14014
|
defvar: {
|
|
14015
|
-
pattern: RegExp(
|
|
14015
|
+
pattern: RegExp(o + "def(?:const|custom|group|var)\\s+" + i),
|
|
14016
14016
|
lookbehind: !0,
|
|
14017
14017
|
inside: {
|
|
14018
14018
|
keyword: /^def[a-z]+/,
|
|
@@ -14021,7 +14021,7 @@ function GT() {
|
|
|
14021
14021
|
},
|
|
14022
14022
|
defun: {
|
|
14023
14023
|
pattern: RegExp(
|
|
14024
|
-
|
|
14024
|
+
o + /(?:cl-)?(?:defmacro|defun\*?)\s+/.source + i + /\s+\(/.source + d + /\)/.source
|
|
14025
14025
|
),
|
|
14026
14026
|
lookbehind: !0,
|
|
14027
14027
|
greedy: !0,
|
|
@@ -14039,7 +14039,7 @@ function GT() {
|
|
|
14039
14039
|
},
|
|
14040
14040
|
lambda: {
|
|
14041
14041
|
pattern: RegExp(
|
|
14042
|
-
|
|
14042
|
+
o + "lambda\\s+\\(\\s*(?:&?" + i + "(?:\\s+&?" + i + ")*\\s*)?\\)"
|
|
14043
14043
|
),
|
|
14044
14044
|
lookbehind: !0,
|
|
14045
14045
|
greedy: !0,
|
|
@@ -14052,7 +14052,7 @@ function GT() {
|
|
|
14052
14052
|
}
|
|
14053
14053
|
},
|
|
14054
14054
|
car: {
|
|
14055
|
-
pattern: RegExp(
|
|
14055
|
+
pattern: RegExp(o + i),
|
|
14056
14056
|
lookbehind: !0
|
|
14057
14057
|
},
|
|
14058
14058
|
punctuation: [
|
|
@@ -14065,7 +14065,7 @@ function GT() {
|
|
|
14065
14065
|
}
|
|
14066
14066
|
]
|
|
14067
14067
|
}, l = {
|
|
14068
|
-
"lisp-marker": RegExp(
|
|
14068
|
+
"lisp-marker": RegExp(s),
|
|
14069
14069
|
varform: {
|
|
14070
14070
|
pattern: RegExp(
|
|
14071
14071
|
/\(/.source + i + /\s+(?=\S)/.source + d + /\)/.source
|
|
@@ -14079,7 +14079,7 @@ function GT() {
|
|
|
14079
14079
|
},
|
|
14080
14080
|
rest: E
|
|
14081
14081
|
}, g = "\\S+(?:\\s+\\S+)*", b = {
|
|
14082
|
-
pattern: RegExp(
|
|
14082
|
+
pattern: RegExp(o + d + c),
|
|
14083
14083
|
lookbehind: !0,
|
|
14084
14084
|
inside: {
|
|
14085
14085
|
"rest-vars": {
|
|
@@ -14510,12 +14510,12 @@ function YT() {
|
|
|
14510
14510
|
return a;
|
|
14511
14511
|
}), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + l + ")");
|
|
14512
14512
|
}
|
|
14513
|
-
var i = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,
|
|
14513
|
+
var i = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, s = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(
|
|
14514
14514
|
/__/g,
|
|
14515
14515
|
function() {
|
|
14516
14516
|
return i;
|
|
14517
14517
|
}
|
|
14518
|
-
),
|
|
14518
|
+
), o = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;
|
|
14519
14519
|
r.languages.markdown = r.languages.extend("markup", {}), r.languages.insertBefore("markdown", "prolog", {
|
|
14520
14520
|
"front-matter-block": {
|
|
14521
14521
|
pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
|
|
@@ -14537,13 +14537,13 @@ function YT() {
|
|
|
14537
14537
|
},
|
|
14538
14538
|
table: {
|
|
14539
14539
|
pattern: RegExp(
|
|
14540
|
-
"^" +
|
|
14540
|
+
"^" + s + o + "(?:" + s + ")*",
|
|
14541
14541
|
"m"
|
|
14542
14542
|
),
|
|
14543
14543
|
inside: {
|
|
14544
14544
|
"table-data-rows": {
|
|
14545
14545
|
pattern: RegExp(
|
|
14546
|
-
"^(" +
|
|
14546
|
+
"^(" + s + o + ")(?:" + s + ")*$"
|
|
14547
14547
|
),
|
|
14548
14548
|
lookbehind: !0,
|
|
14549
14549
|
inside: {
|
|
@@ -14555,14 +14555,14 @@ function YT() {
|
|
|
14555
14555
|
}
|
|
14556
14556
|
},
|
|
14557
14557
|
"table-line": {
|
|
14558
|
-
pattern: RegExp("^(" +
|
|
14558
|
+
pattern: RegExp("^(" + s + ")" + o + "$"),
|
|
14559
14559
|
lookbehind: !0,
|
|
14560
14560
|
inside: {
|
|
14561
14561
|
punctuation: /\||:?-{3,}:?/
|
|
14562
14562
|
}
|
|
14563
14563
|
},
|
|
14564
14564
|
"table-header-row": {
|
|
14565
|
-
pattern: RegExp("^" +
|
|
14565
|
+
pattern: RegExp("^" + s + "$"),
|
|
14566
14566
|
inside: {
|
|
14567
14567
|
"table-header": {
|
|
14568
14568
|
pattern: RegExp(i),
|
|
@@ -15365,8 +15365,8 @@ function eA() {
|
|
|
15365
15365
|
"ISODate",
|
|
15366
15366
|
"UUID"
|
|
15367
15367
|
];
|
|
15368
|
-
a = a.map(function(
|
|
15369
|
-
return
|
|
15368
|
+
a = a.map(function(s) {
|
|
15369
|
+
return s.replace("$", "\\$");
|
|
15370
15370
|
});
|
|
15371
15371
|
var i = "(?:" + a.join("|") + ")\\b";
|
|
15372
15372
|
r.languages.mongodb = r.languages.extend("javascript", {}), r.languages.insertBefore("mongodb", "string", {
|
|
@@ -15673,18 +15673,18 @@ function oA() {
|
|
|
15673
15673
|
}
|
|
15674
15674
|
}
|
|
15675
15675
|
}
|
|
15676
|
-
}, r.languages.nani = r.languages.naniscript, r.hooks.add("after-tokenize", function(
|
|
15677
|
-
var c =
|
|
15676
|
+
}, r.languages.nani = r.languages.naniscript, r.hooks.add("after-tokenize", function(o) {
|
|
15677
|
+
var c = o.tokens;
|
|
15678
15678
|
c.forEach(function(f) {
|
|
15679
15679
|
if (typeof f != "string" && f.type === "generic-text") {
|
|
15680
|
-
var d =
|
|
15680
|
+
var d = s(f);
|
|
15681
15681
|
i(d) || (f.type = "bad-line", f.content = d);
|
|
15682
15682
|
}
|
|
15683
15683
|
});
|
|
15684
15684
|
});
|
|
15685
|
-
function i(
|
|
15686
|
-
for (var c = "[]{}", f = [], d = 0; d <
|
|
15687
|
-
var E =
|
|
15685
|
+
function i(o) {
|
|
15686
|
+
for (var c = "[]{}", f = [], d = 0; d < o.length; d++) {
|
|
15687
|
+
var E = o[d], l = c.indexOf(E);
|
|
15688
15688
|
if (l !== -1) {
|
|
15689
15689
|
if (l % 2 === 0)
|
|
15690
15690
|
f.push(l + 1);
|
|
@@ -15694,8 +15694,8 @@ function oA() {
|
|
|
15694
15694
|
}
|
|
15695
15695
|
return f.length === 0;
|
|
15696
15696
|
}
|
|
15697
|
-
function o
|
|
15698
|
-
return typeof
|
|
15697
|
+
function s(o) {
|
|
15698
|
+
return typeof o == "string" ? o : Array.isArray(o) ? o.map(s).join("") : s(o.content);
|
|
15699
15699
|
}
|
|
15700
15700
|
})(t);
|
|
15701
15701
|
}
|
|
@@ -16578,17 +16578,17 @@ function TA() {
|
|
|
16578
16578
|
],
|
|
16579
16579
|
operator: /->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,
|
|
16580
16580
|
punctuation: /\(\.|\.\)|[()\[\]:;,.{}]/
|
|
16581
|
-
},
|
|
16581
|
+
}, s = [
|
|
16582
16582
|
"comment",
|
|
16583
16583
|
"keyword",
|
|
16584
16584
|
"builtin",
|
|
16585
16585
|
"operator",
|
|
16586
16586
|
"punctuation"
|
|
16587
|
-
].reduce(function(
|
|
16588
|
-
return
|
|
16587
|
+
].reduce(function(o, c) {
|
|
16588
|
+
return o[c] = i[c], o;
|
|
16589
16589
|
}, {});
|
|
16590
|
-
i["class-name"].forEach(function(
|
|
16591
|
-
|
|
16590
|
+
i["class-name"].forEach(function(o) {
|
|
16591
|
+
o.inside = s;
|
|
16592
16592
|
});
|
|
16593
16593
|
})(t);
|
|
16594
16594
|
}
|
|
@@ -17119,7 +17119,7 @@ function xA() {
|
|
|
17119
17119
|
"group_left",
|
|
17120
17120
|
"by",
|
|
17121
17121
|
"without"
|
|
17122
|
-
], i = ["offset"],
|
|
17122
|
+
], i = ["offset"], s = a.concat(n, i);
|
|
17123
17123
|
r.languages.promql = {
|
|
17124
17124
|
comment: {
|
|
17125
17125
|
pattern: /(^[ \t]*)#.*/m,
|
|
@@ -17178,7 +17178,7 @@ function xA() {
|
|
|
17178
17178
|
}
|
|
17179
17179
|
}
|
|
17180
17180
|
],
|
|
17181
|
-
keyword: new RegExp("\\b(?:" +
|
|
17181
|
+
keyword: new RegExp("\\b(?:" + s.join("|") + ")\\b", "i"),
|
|
17182
17182
|
function: /\b[a-z_]\w*(?=\s*\()/i,
|
|
17183
17183
|
number: /[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,
|
|
17184
17184
|
operator: /[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,
|
|
@@ -17450,8 +17450,8 @@ function UA() {
|
|
|
17450
17450
|
language: "scss"
|
|
17451
17451
|
},
|
|
17452
17452
|
"stylus"
|
|
17453
|
-
], i = {},
|
|
17454
|
-
var c = n[
|
|
17453
|
+
], i = {}, s = 0, o = n.length; s < o; s++) {
|
|
17454
|
+
var c = n[s];
|
|
17455
17455
|
c = typeof c == "string" ? {
|
|
17456
17456
|
filter: c,
|
|
17457
17457
|
language: c
|
|
@@ -17686,10 +17686,10 @@ function BA() {
|
|
|
17686
17686
|
"fortran"
|
|
17687
17687
|
], n = /%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;
|
|
17688
17688
|
a.forEach(function(i) {
|
|
17689
|
-
var
|
|
17690
|
-
if (typeof i != "string" && (
|
|
17691
|
-
var
|
|
17692
|
-
|
|
17689
|
+
var s = i;
|
|
17690
|
+
if (typeof i != "string" && (s = i.alias, i = i.lang), r.languages[s]) {
|
|
17691
|
+
var o = {};
|
|
17692
|
+
o["inline-lang-" + s] = {
|
|
17693
17693
|
pattern: RegExp(
|
|
17694
17694
|
n.replace(
|
|
17695
17695
|
"<lang>",
|
|
@@ -17698,9 +17698,9 @@ function BA() {
|
|
|
17698
17698
|
"i"
|
|
17699
17699
|
),
|
|
17700
17700
|
inside: r.util.clone(r.languages.pure["inline-lang"].inside)
|
|
17701
|
-
},
|
|
17702
|
-
r.languages[
|
|
17703
|
-
), r.languages.insertBefore("pure", "inline-lang",
|
|
17701
|
+
}, o["inline-lang-" + s].inside.rest = r.util.clone(
|
|
17702
|
+
r.languages[s]
|
|
17703
|
+
), r.languages.insertBefore("pure", "inline-lang", o);
|
|
17704
17704
|
}
|
|
17705
17705
|
}), r.languages.c && (r.languages.pure["inline-lang"].inside.rest = r.util.clone(
|
|
17706
17706
|
r.languages.c
|
|
@@ -17944,7 +17944,7 @@ function zA() {
|
|
|
17944
17944
|
return a;
|
|
17945
17945
|
}).replace(/<comment>/g, function() {
|
|
17946
17946
|
return n;
|
|
17947
|
-
}),
|
|
17947
|
+
}), s = 0; s < 2; s++)
|
|
17948
17948
|
i = i.replace(/<expr>/g, function() {
|
|
17949
17949
|
return i;
|
|
17950
17950
|
});
|
|
@@ -18061,17 +18061,17 @@ function VA() {
|
|
|
18061
18061
|
});
|
|
18062
18062
|
return b.replace(/<<self>>/g, "[^\\s\\S]");
|
|
18063
18063
|
}
|
|
18064
|
-
var
|
|
18064
|
+
var s = {
|
|
18065
18065
|
// keywords which represent a return or variable type
|
|
18066
18066
|
type: "Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",
|
|
18067
18067
|
// all other keywords
|
|
18068
18068
|
other: "Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"
|
|
18069
18069
|
};
|
|
18070
|
-
function
|
|
18070
|
+
function o(b) {
|
|
18071
18071
|
return "\\b(?:" + b.trim().replace(/ /g, "|") + ")\\b";
|
|
18072
18072
|
}
|
|
18073
18073
|
var c = RegExp(
|
|
18074
|
-
s
|
|
18074
|
+
o(s.type + " " + s.other)
|
|
18075
18075
|
), f = /\b[A-Za-z_]\w*\b/.source, d = a(/<<0>>(?:\s*\.\s*<<0>>)*/.source, [f]), E = {
|
|
18076
18076
|
keyword: c,
|
|
18077
18077
|
punctuation: /[<>()?,.:[\]]/
|
|
@@ -18238,10 +18238,10 @@ function ZA() {
|
|
|
18238
18238
|
}, n = /\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/, i = {
|
|
18239
18239
|
pattern: /\.|\\[wsd]|\\p\{[^{}]+\}/i,
|
|
18240
18240
|
alias: "class-name"
|
|
18241
|
-
},
|
|
18241
|
+
}, s = {
|
|
18242
18242
|
pattern: /\\[wsd]|\\p\{[^{}]+\}/i,
|
|
18243
18243
|
alias: "class-name"
|
|
18244
|
-
},
|
|
18244
|
+
}, o = "(?:[^\\\\-]|" + n.source + ")", c = RegExp(o + "-" + o), f = {
|
|
18245
18245
|
pattern: /(<|')[^<>']+(?=[>']$)/,
|
|
18246
18246
|
lookbehind: !0,
|
|
18247
18247
|
alias: "variable"
|
|
@@ -18271,7 +18271,7 @@ function ZA() {
|
|
|
18271
18271
|
}
|
|
18272
18272
|
},
|
|
18273
18273
|
"special-escape": a,
|
|
18274
|
-
"char-set":
|
|
18274
|
+
"char-set": s,
|
|
18275
18275
|
escape: n
|
|
18276
18276
|
}
|
|
18277
18277
|
},
|
|
@@ -18707,11 +18707,11 @@ function rR() {
|
|
|
18707
18707
|
inside: E
|
|
18708
18708
|
};
|
|
18709
18709
|
}
|
|
18710
|
-
var
|
|
18710
|
+
var s = {
|
|
18711
18711
|
pattern: /(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,
|
|
18712
18712
|
lookbehind: !0,
|
|
18713
18713
|
alias: "string"
|
|
18714
|
-
},
|
|
18714
|
+
}, o = {
|
|
18715
18715
|
pattern: /([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,
|
|
18716
18716
|
lookbehind: !0,
|
|
18717
18717
|
alias: "function",
|
|
@@ -18739,18 +18739,18 @@ function rR() {
|
|
|
18739
18739
|
}),
|
|
18740
18740
|
variables: i("Variables"),
|
|
18741
18741
|
"test-cases": i("Test Cases", {
|
|
18742
|
-
"test-name":
|
|
18743
|
-
documentation:
|
|
18742
|
+
"test-name": o,
|
|
18743
|
+
documentation: s,
|
|
18744
18744
|
property: c
|
|
18745
18745
|
}),
|
|
18746
18746
|
keywords: i("Keywords", {
|
|
18747
|
-
"keyword-name":
|
|
18748
|
-
documentation:
|
|
18747
|
+
"keyword-name": o,
|
|
18748
|
+
documentation: s,
|
|
18749
18749
|
property: c
|
|
18750
18750
|
}),
|
|
18751
18751
|
tasks: i("Tasks", {
|
|
18752
|
-
"task-name":
|
|
18753
|
-
documentation:
|
|
18752
|
+
"task-name": o,
|
|
18753
|
+
documentation: s,
|
|
18754
18754
|
property: c
|
|
18755
18755
|
}),
|
|
18756
18756
|
comment: a
|
|
@@ -18892,9 +18892,9 @@ function nR() {
|
|
|
18892
18892
|
var a = /(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source, n = /\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i, i = {
|
|
18893
18893
|
pattern: RegExp(a + "[bx]"),
|
|
18894
18894
|
alias: "number"
|
|
18895
|
-
}, o = {
|
|
18896
|
-
pattern: /&[a-z_]\w*/i
|
|
18897
18895
|
}, s = {
|
|
18896
|
+
pattern: /&[a-z_]\w*/i
|
|
18897
|
+
}, o = {
|
|
18898
18898
|
pattern: /((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,
|
|
18899
18899
|
lookbehind: !0,
|
|
18900
18900
|
alias: "keyword"
|
|
@@ -18921,7 +18921,7 @@ function nR() {
|
|
|
18921
18921
|
lookbehind: !0
|
|
18922
18922
|
},
|
|
18923
18923
|
operator: /=/,
|
|
18924
|
-
"macro-variable":
|
|
18924
|
+
"macro-variable": s,
|
|
18925
18925
|
arg: {
|
|
18926
18926
|
pattern: /[A-Z]+/i,
|
|
18927
18927
|
alias: "keyword"
|
|
@@ -19140,8 +19140,8 @@ function nR() {
|
|
|
19140
19140
|
inside: g
|
|
19141
19141
|
},
|
|
19142
19142
|
/*Special keywords within macros*/
|
|
19143
|
-
"macro-keyword":
|
|
19144
|
-
"macro-variable":
|
|
19143
|
+
"macro-keyword": o,
|
|
19144
|
+
"macro-variable": s,
|
|
19145
19145
|
"macro-string-functions": {
|
|
19146
19146
|
pattern: /((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,
|
|
19147
19147
|
lookbehind: !0,
|
|
@@ -19150,8 +19150,8 @@ function nR() {
|
|
|
19150
19150
|
pattern: /%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,
|
|
19151
19151
|
alias: "keyword"
|
|
19152
19152
|
},
|
|
19153
|
-
"macro-keyword":
|
|
19154
|
-
"macro-variable":
|
|
19153
|
+
"macro-keyword": o,
|
|
19154
|
+
"macro-variable": s,
|
|
19155
19155
|
"escaped-char": {
|
|
19156
19156
|
pattern: /%['"()<>=¬^~;,#]/
|
|
19157
19157
|
},
|
|
@@ -19730,18 +19730,18 @@ function dR() {
|
|
|
19730
19730
|
),
|
|
19731
19731
|
"g"
|
|
19732
19732
|
);
|
|
19733
|
-
a.hooks.add("before-tokenize", function(
|
|
19734
|
-
var
|
|
19733
|
+
a.hooks.add("before-tokenize", function(s) {
|
|
19734
|
+
var o = "{literal}", c = "{/literal}", f = !1;
|
|
19735
19735
|
a.languages["markup-templating"].buildPlaceholders(
|
|
19736
|
-
|
|
19736
|
+
s,
|
|
19737
19737
|
"smarty",
|
|
19738
19738
|
i,
|
|
19739
19739
|
function(d) {
|
|
19740
|
-
return d === c && (f = !1), f ? !1 : (d ===
|
|
19740
|
+
return d === c && (f = !1), f ? !1 : (d === o && (f = !0), !0);
|
|
19741
19741
|
}
|
|
19742
19742
|
);
|
|
19743
|
-
}), a.hooks.add("after-tokenize", function(
|
|
19744
|
-
a.languages["markup-templating"].tokenizePlaceholders(
|
|
19743
|
+
}), a.hooks.add("after-tokenize", function(s) {
|
|
19744
|
+
a.languages["markup-templating"].tokenizePlaceholders(s, "smarty");
|
|
19745
19745
|
});
|
|
19746
19746
|
}(r);
|
|
19747
19747
|
}
|
|
@@ -19960,18 +19960,18 @@ function bR() {
|
|
|
19960
19960
|
number: i,
|
|
19961
19961
|
operator: /\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,
|
|
19962
19962
|
punctuation: /[{}()\[\]|.,:]/
|
|
19963
|
-
}, a.hooks.add("before-tokenize", function(
|
|
19964
|
-
var
|
|
19963
|
+
}, a.hooks.add("before-tokenize", function(s) {
|
|
19964
|
+
var o = /\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g, c = "{literal}", f = "{/literal}", d = !1;
|
|
19965
19965
|
a.languages["markup-templating"].buildPlaceholders(
|
|
19966
|
-
o,
|
|
19967
|
-
"soy",
|
|
19968
19966
|
s,
|
|
19967
|
+
"soy",
|
|
19968
|
+
o,
|
|
19969
19969
|
function(E) {
|
|
19970
19970
|
return E === f && (d = !1), d ? !1 : (E === c && (d = !0), !0);
|
|
19971
19971
|
}
|
|
19972
19972
|
);
|
|
19973
|
-
}), a.hooks.add("after-tokenize", function(
|
|
19974
|
-
a.languages["markup-templating"].tokenizePlaceholders(
|
|
19973
|
+
}), a.hooks.add("after-tokenize", function(s) {
|
|
19974
|
+
a.languages["markup-templating"].tokenizePlaceholders(s, "soy");
|
|
19975
19975
|
});
|
|
19976
19976
|
}(r);
|
|
19977
19977
|
}
|
|
@@ -20574,7 +20574,7 @@ function is() {
|
|
|
20574
20574
|
Ep = 1, Hi = e, e.displayName = "t4Templating", e.aliases = [];
|
|
20575
20575
|
function e(t) {
|
|
20576
20576
|
(function(r) {
|
|
20577
|
-
function a(i,
|
|
20577
|
+
function a(i, s, o) {
|
|
20578
20578
|
return {
|
|
20579
20579
|
pattern: RegExp("<#" + i + "[\\s\\S]*?#>"),
|
|
20580
20580
|
alias: "block",
|
|
@@ -20585,14 +20585,14 @@ function is() {
|
|
|
20585
20585
|
},
|
|
20586
20586
|
content: {
|
|
20587
20587
|
pattern: /[\s\S]+/,
|
|
20588
|
-
inside:
|
|
20589
|
-
alias:
|
|
20588
|
+
inside: s,
|
|
20589
|
+
alias: o
|
|
20590
20590
|
}
|
|
20591
20591
|
}
|
|
20592
20592
|
};
|
|
20593
20593
|
}
|
|
20594
20594
|
function n(i) {
|
|
20595
|
-
var
|
|
20595
|
+
var s = r.languages[i], o = "language-" + i;
|
|
20596
20596
|
return {
|
|
20597
20597
|
block: {
|
|
20598
20598
|
pattern: /<#[\s\S]+?#>/,
|
|
@@ -20607,9 +20607,9 @@ function is() {
|
|
|
20607
20607
|
keyword: /\b\w+(?=\s)/,
|
|
20608
20608
|
"attr-name": /\b\w+/
|
|
20609
20609
|
}),
|
|
20610
|
-
expression: a("=",
|
|
20611
|
-
"class-feature": a("\\+",
|
|
20612
|
-
standard: a("",
|
|
20610
|
+
expression: a("=", s, o),
|
|
20611
|
+
"class-feature": a("\\+", s, o),
|
|
20612
|
+
standard: a("", s, o)
|
|
20613
20613
|
}
|
|
20614
20614
|
}
|
|
20615
20615
|
};
|
|
@@ -20681,12 +20681,12 @@ function ef() {
|
|
|
20681
20681
|
Tp = 1, Wi = e, e.displayName = "yaml", e.aliases = ["yml"];
|
|
20682
20682
|
function e(t) {
|
|
20683
20683
|
(function(r) {
|
|
20684
|
-
var a = /[*&][^\s[\]{},]+/, n = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, i = "(?:" + n.source + "(?:[ ]+" + a.source + ")?|" + a.source + "(?:[ ]+" + n.source + ")?)",
|
|
20684
|
+
var a = /[*&][^\s[\]{},]+/, n = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, i = "(?:" + n.source + "(?:[ ]+" + a.source + ")?|" + a.source + "(?:[ ]+" + n.source + ")?)", s = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(
|
|
20685
20685
|
/<PLAIN>/g,
|
|
20686
20686
|
function() {
|
|
20687
20687
|
return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
|
|
20688
20688
|
}
|
|
20689
|
-
),
|
|
20689
|
+
), o = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
|
|
20690
20690
|
function c(f, d) {
|
|
20691
20691
|
d = (d || "").replace(/m/g, "") + "m";
|
|
20692
20692
|
var E = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
|
|
@@ -20715,7 +20715,7 @@ function ef() {
|
|
|
20715
20715
|
/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
|
|
20716
20716
|
return i;
|
|
20717
20717
|
}).replace(/<<key>>/g, function() {
|
|
20718
|
-
return "(?:" +
|
|
20718
|
+
return "(?:" + s + "|" + o + ")";
|
|
20719
20719
|
})
|
|
20720
20720
|
),
|
|
20721
20721
|
lookbehind: !0,
|
|
@@ -20745,7 +20745,7 @@ function ef() {
|
|
|
20745
20745
|
alias: "important"
|
|
20746
20746
|
},
|
|
20747
20747
|
string: {
|
|
20748
|
-
pattern: c(
|
|
20748
|
+
pattern: c(o),
|
|
20749
20749
|
lookbehind: !0,
|
|
20750
20750
|
greedy: !0
|
|
20751
20751
|
},
|
|
@@ -20865,7 +20865,7 @@ function wR() {
|
|
|
20865
20865
|
g || ""
|
|
20866
20866
|
);
|
|
20867
20867
|
}
|
|
20868
|
-
var
|
|
20868
|
+
var s = {
|
|
20869
20869
|
css: {
|
|
20870
20870
|
pattern: /\{[^{}]+\}/,
|
|
20871
20871
|
inside: {
|
|
@@ -20884,7 +20884,7 @@ function wR() {
|
|
|
20884
20884
|
},
|
|
20885
20885
|
// Anything else is punctuation (the first pattern is for row/col spans inside tables)
|
|
20886
20886
|
punctuation: /[\\\/]\d+|\S/
|
|
20887
|
-
},
|
|
20887
|
+
}, o = r.languages.textile = r.languages.extend("markup", {
|
|
20888
20888
|
phrase: {
|
|
20889
20889
|
pattern: /(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,
|
|
20890
20890
|
lookbehind: !0,
|
|
@@ -20898,7 +20898,7 @@ function wR() {
|
|
|
20898
20898
|
/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source
|
|
20899
20899
|
),
|
|
20900
20900
|
lookbehind: !0,
|
|
20901
|
-
inside:
|
|
20901
|
+
inside: s
|
|
20902
20902
|
},
|
|
20903
20903
|
tag: /^[a-z]\w*/,
|
|
20904
20904
|
punctuation: /\.$/
|
|
@@ -20912,7 +20912,7 @@ function wR() {
|
|
|
20912
20912
|
modifier: {
|
|
20913
20913
|
pattern: i(/(^[*#]+)<MOD>+/.source),
|
|
20914
20914
|
lookbehind: !0,
|
|
20915
|
-
inside:
|
|
20915
|
+
inside: s
|
|
20916
20916
|
},
|
|
20917
20917
|
punctuation: /^[*#]+/
|
|
20918
20918
|
}
|
|
@@ -20933,7 +20933,7 @@ function wR() {
|
|
|
20933
20933
|
/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source
|
|
20934
20934
|
),
|
|
20935
20935
|
lookbehind: !0,
|
|
20936
|
-
inside:
|
|
20936
|
+
inside: s
|
|
20937
20937
|
},
|
|
20938
20938
|
punctuation: /\||^\./
|
|
20939
20939
|
}
|
|
@@ -20995,7 +20995,7 @@ function wR() {
|
|
|
20995
20995
|
/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source
|
|
20996
20996
|
),
|
|
20997
20997
|
lookbehind: !0,
|
|
20998
|
-
inside:
|
|
20998
|
+
inside: s
|
|
20999
20999
|
},
|
|
21000
21000
|
punctuation: /[*_%?@+\-^~]+/
|
|
21001
21001
|
}
|
|
@@ -21031,7 +21031,7 @@ function wR() {
|
|
|
21031
21031
|
modifier: {
|
|
21032
21032
|
pattern: i(/(^")<MOD>+/.source),
|
|
21033
21033
|
lookbehind: !0,
|
|
21034
|
-
inside:
|
|
21034
|
+
inside: s
|
|
21035
21035
|
},
|
|
21036
21036
|
url: {
|
|
21037
21037
|
pattern: /(:).+/,
|
|
@@ -21057,7 +21057,7 @@ function wR() {
|
|
|
21057
21057
|
modifier: {
|
|
21058
21058
|
pattern: i(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),
|
|
21059
21059
|
lookbehind: !0,
|
|
21060
|
-
inside:
|
|
21060
|
+
inside: s
|
|
21061
21061
|
},
|
|
21062
21062
|
url: {
|
|
21063
21063
|
pattern: /(:).+/,
|
|
@@ -21095,7 +21095,7 @@ function wR() {
|
|
|
21095
21095
|
}
|
|
21096
21096
|
}
|
|
21097
21097
|
}
|
|
21098
|
-
}), c =
|
|
21098
|
+
}), c = o.phrase.inside, f = {
|
|
21099
21099
|
inline: c.inline,
|
|
21100
21100
|
link: c.link,
|
|
21101
21101
|
image: c.image,
|
|
@@ -21103,7 +21103,7 @@ function wR() {
|
|
|
21103
21103
|
acronym: c.acronym,
|
|
21104
21104
|
mark: c.mark
|
|
21105
21105
|
};
|
|
21106
|
-
|
|
21106
|
+
o.tag.pattern = /<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;
|
|
21107
21107
|
var d = c.inline.inside;
|
|
21108
21108
|
d.bold.inside = f, d.italic.inside = f, d.inserted.inside = f, d.deleted.inside = f, d.span.inside = f;
|
|
21109
21109
|
var E = c.table.inside;
|
|
@@ -21248,11 +21248,11 @@ function OR() {
|
|
|
21248
21248
|
a.register(e), a.register(t), function(n) {
|
|
21249
21249
|
var i = n.util.clone(n.languages.typescript);
|
|
21250
21250
|
n.languages.tsx = n.languages.extend("jsx", i), delete n.languages.tsx.parameter, delete n.languages.tsx["literal-property"];
|
|
21251
|
-
var
|
|
21252
|
-
|
|
21253
|
-
/(^|[^\w$]|(?=<\/))/.source + "(?:" +
|
|
21254
|
-
|
|
21255
|
-
),
|
|
21251
|
+
var s = n.languages.tsx.tag;
|
|
21252
|
+
s.pattern = RegExp(
|
|
21253
|
+
/(^|[^\w$]|(?=<\/))/.source + "(?:" + s.pattern.source + ")",
|
|
21254
|
+
s.pattern.flags
|
|
21255
|
+
), s.lookbehind = !0;
|
|
21256
21256
|
}(a);
|
|
21257
21257
|
}
|
|
21258
21258
|
return Ji;
|
|
@@ -22146,8 +22146,8 @@ function WR() {
|
|
|
22146
22146
|
operator: /\.{3}|[=:?<>-]/,
|
|
22147
22147
|
punctuation: /[(){}[\].,;]/
|
|
22148
22148
|
};
|
|
22149
|
-
for (var
|
|
22150
|
-
|
|
22149
|
+
for (var s in r.languages["web-idl"])
|
|
22150
|
+
s !== "class-name" && (i[s] = r.languages["web-idl"][s]);
|
|
22151
22151
|
r.languages.webidl = r.languages["web-idl"];
|
|
22152
22152
|
})(t);
|
|
22153
22153
|
}
|
|
@@ -22495,8 +22495,8 @@ function QR() {
|
|
|
22495
22495
|
Kp = 1, vo = e, e.displayName = "xmlDoc", e.aliases = [];
|
|
22496
22496
|
function e(t) {
|
|
22497
22497
|
(function(r) {
|
|
22498
|
-
function a(
|
|
22499
|
-
r.languages[
|
|
22498
|
+
function a(o, c) {
|
|
22499
|
+
r.languages[o] && r.languages.insertBefore(o, "comment", {
|
|
22500
22500
|
"doc-comment": c
|
|
22501
22501
|
});
|
|
22502
22502
|
}
|
|
@@ -22507,7 +22507,7 @@ function QR() {
|
|
|
22507
22507
|
inside: {
|
|
22508
22508
|
tag: n
|
|
22509
22509
|
}
|
|
22510
|
-
},
|
|
22510
|
+
}, s = {
|
|
22511
22511
|
pattern: /'''.*/,
|
|
22512
22512
|
greedy: !0,
|
|
22513
22513
|
alias: "comment",
|
|
@@ -22515,7 +22515,7 @@ function QR() {
|
|
|
22515
22515
|
tag: n
|
|
22516
22516
|
}
|
|
22517
22517
|
};
|
|
22518
|
-
a("csharp", i), a("fsharp", i), a("vbnet",
|
|
22518
|
+
a("csharp", i), a("fsharp", i), a("vbnet", s);
|
|
22519
22519
|
})(t);
|
|
22520
22520
|
}
|
|
22521
22521
|
return vo;
|
|
@@ -22614,15 +22614,15 @@ function e_() {
|
|
|
22614
22614
|
var a = function(i) {
|
|
22615
22615
|
return typeof i == "string" ? i : typeof i.content == "string" ? i.content : i.content.map(a).join("");
|
|
22616
22616
|
}, n = function(i) {
|
|
22617
|
-
for (var
|
|
22618
|
-
var c = i[
|
|
22619
|
-
if (typeof c != "string" && (c.type === "tag" && c.content[0] && c.content[0].type === "tag" ? c.content[0].content[0].content === "</" ?
|
|
22617
|
+
for (var s = [], o = 0; o < i.length; o++) {
|
|
22618
|
+
var c = i[o], f = !1;
|
|
22619
|
+
if (typeof c != "string" && (c.type === "tag" && c.content[0] && c.content[0].type === "tag" ? c.content[0].content[0].content === "</" ? s.length > 0 && s[s.length - 1].tagName === a(c.content[0].content[1]) && s.pop() : c.content[c.content.length - 1].content === "/>" || s.push({
|
|
22620
22620
|
tagName: a(c.content[0].content[1]),
|
|
22621
22621
|
openedBraces: 0
|
|
22622
|
-
}) :
|
|
22623
|
-
(!i[
|
|
22622
|
+
}) : s.length > 0 && c.type === "punctuation" && c.content === "{" && // Ignore `{{`
|
|
22623
|
+
(!i[o + 1] || i[o + 1].type !== "punctuation" || i[o + 1].content !== "{") && (!i[o - 1] || i[o - 1].type !== "plain-text" || i[o - 1].content !== "{") ? s[s.length - 1].openedBraces++ : s.length > 0 && s[s.length - 1].openedBraces > 0 && c.type === "punctuation" && c.content === "}" ? s[s.length - 1].openedBraces-- : c.type !== "comment" && (f = !0)), (f || typeof c == "string") && s.length > 0 && s[s.length - 1].openedBraces === 0) {
|
|
22624
22624
|
var d = a(c);
|
|
22625
|
-
|
|
22625
|
+
o < i.length - 1 && (typeof i[o + 1] == "string" || i[o + 1].type === "plain-text") && (d += a(i[o + 1]), i.splice(o + 1, 1)), o > 0 && (typeof i[o - 1] == "string" || i[o - 1].type === "plain-text") && (d = a(i[o - 1]) + d, i.splice(o - 1, 1), o--), /^\s+$/.test(d) ? i[o] = d : i[o] = new r.Token(
|
|
22626
22626
|
"plain-text",
|
|
22627
22627
|
d,
|
|
22628
22628
|
null,
|
|
@@ -22678,13 +22678,13 @@ function r_() {
|
|
|
22678
22678
|
return d;
|
|
22679
22679
|
};
|
|
22680
22680
|
}
|
|
22681
|
-
var n = /\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/, i = "\\b(?!" + n.source + ")(?!\\d)\\w+\\b",
|
|
22681
|
+
var n = /\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/, i = "\\b(?!" + n.source + ")(?!\\d)\\w+\\b", s = /align\s*\((?:[^()]|\([^()]*\))*\)/.source, o = /(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(
|
|
22682
22682
|
/<ALIGN>/g,
|
|
22683
|
-
a(
|
|
22683
|
+
a(s)
|
|
22684
22684
|
), c = /(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(
|
|
22685
22685
|
/<ID>/g,
|
|
22686
22686
|
a(i)
|
|
22687
|
-
), f = "(?!\\s)(?:!?\\s*(?:" +
|
|
22687
|
+
), f = "(?!\\s)(?:!?\\s*(?:" + o + "\\s*)*" + c + ")+";
|
|
22688
22688
|
r.languages.zig = {
|
|
22689
22689
|
comment: [
|
|
22690
22690
|
{
|
|
@@ -22726,7 +22726,7 @@ function r_() {
|
|
|
22726
22726
|
// var x: Bar;
|
|
22727
22727
|
// fn foo(x: bool, y: f32) void {}
|
|
22728
22728
|
pattern: RegExp(
|
|
22729
|
-
/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g, a(f)).replace(/<ALIGN>/g, a(
|
|
22729
|
+
/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g, a(f)).replace(/<ALIGN>/g, a(s))
|
|
22730
22730
|
),
|
|
22731
22731
|
lookbehind: !0,
|
|
22732
22732
|
inside: null
|
|
@@ -22735,7 +22735,7 @@ function r_() {
|
|
|
22735
22735
|
{
|
|
22736
22736
|
// extern fn foo(x: f64) f64; (optional alignment)
|
|
22737
22737
|
pattern: RegExp(
|
|
22738
|
-
/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g, a(f)).replace(/<ALIGN>/g, a(
|
|
22738
|
+
/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g, a(f)).replace(/<ALIGN>/g, a(s))
|
|
22739
22739
|
),
|
|
22740
22740
|
lookbehind: !0,
|
|
22741
22741
|
inside: null
|
|
@@ -23043,16 +23043,16 @@ const i_ = (e) => (e = e.replace(/[A-Z]/g, " $&"), e[0].toUpperCase() + e.slice(
|
|
|
23043
23043
|
// isMenuVisible = false,
|
|
23044
23044
|
mdxSource: r
|
|
23045
23045
|
}) => {
|
|
23046
|
-
const [a, n] = ys("webComponent"), [i,
|
|
23046
|
+
const [a, n] = ys("webComponent"), [i, s] = ys(!1), o = () => {
|
|
23047
23047
|
const l = a === "react" ? r == null ? void 0 : r.react : r == null ? void 0 : r.webComponent;
|
|
23048
23048
|
if (l) {
|
|
23049
23049
|
const g = document.createElement("textarea");
|
|
23050
23050
|
g.value = l, document.body.appendChild(g), g.select(), document.execCommand("copy"), document.body.removeChild(g);
|
|
23051
23051
|
}
|
|
23052
23052
|
}, c = (l) => {
|
|
23053
|
-
i == !1 &&
|
|
23053
|
+
i == !1 && s(!0), n(l);
|
|
23054
23054
|
}, f = () => {
|
|
23055
|
-
|
|
23055
|
+
s(!i);
|
|
23056
23056
|
}, d = () => /* @__PURE__ */ L.jsx(tf, { language: "jsx", style: Wg, children: r == null ? void 0 : r[a] }), E = () => {
|
|
23057
23057
|
const l = Object.keys(r).map(
|
|
23058
23058
|
(g) => /* @__PURE__ */ L.jsx(
|
|
@@ -23101,7 +23101,7 @@ const i_ = (e) => (e = e.replace(/[A-Z]/g, " $&"), e[0].toUpperCase() + e.slice(
|
|
|
23101
23101
|
"button",
|
|
23102
23102
|
{
|
|
23103
23103
|
className: "doc-canvas-action doc-canvas-action--copy-code",
|
|
23104
|
-
onClick: () =>
|
|
23104
|
+
onClick: () => o(),
|
|
23105
23105
|
children: "Copy"
|
|
23106
23106
|
}
|
|
23107
23107
|
)
|
|
@@ -23903,46 +23903,52 @@ const i_ = (e) => (e = e.replace(/[A-Z]/g, " $&"), e[0].toUpperCase() + e.slice(
|
|
|
23903
23903
|
"border-radius": { border: "1px solid #d3d5d9", width: "100%", height: "40px" },
|
|
23904
23904
|
"border-width": { border: "1px solid #d3d5d9", width: "100%", height: "40px" },
|
|
23905
23905
|
"box-shadow": { width: "100%", height: "40px" }
|
|
23906
|
-
}, c_ = (e, t) => {
|
|
23907
|
-
var
|
|
23908
|
-
const
|
|
23909
|
-
Object.assign(
|
|
23910
|
-
const
|
|
23911
|
-
border: (o) =>
|
|
23912
|
-
color: (o) =>
|
|
23913
|
-
|
|
23914
|
-
|
|
23915
|
-
|
|
23916
|
-
"
|
|
23917
|
-
"
|
|
23918
|
-
"font-
|
|
23919
|
-
"
|
|
23920
|
-
"
|
|
23906
|
+
}, c_ = (e, t, r) => {
|
|
23907
|
+
var s;
|
|
23908
|
+
const a = {}, n = u_[e];
|
|
23909
|
+
Object.assign(a, n);
|
|
23910
|
+
const i = {
|
|
23911
|
+
border: (o) => a.border = o,
|
|
23912
|
+
color: (o) => a.backgroundColor = o,
|
|
23913
|
+
dimension: (o) => {
|
|
23914
|
+
r === "spacing" ? a.margin = o : a.borderRadius = o;
|
|
23915
|
+
},
|
|
23916
|
+
"border-width": (o) => a.borderWidth = o,
|
|
23917
|
+
"box-shadow": (o) => a.boxShadow = o,
|
|
23918
|
+
"font-family": (o) => a.fontFamily = o,
|
|
23919
|
+
"font-size": (o) => a.fontSize = o,
|
|
23920
|
+
"font-weight": (o) => a.fontWeight = o,
|
|
23921
|
+
"letter-spacing": (o) => a.letterSpacing = o,
|
|
23922
|
+
"line-height": (o) => a.lineHeight = o
|
|
23921
23923
|
};
|
|
23922
|
-
return (
|
|
23923
|
-
}, b_ = ({ category: e }) => {
|
|
23924
|
-
const
|
|
23925
|
-
const
|
|
23926
|
-
if ("value" in
|
|
23927
|
-
let
|
|
23928
|
-
|
|
23929
|
-
let
|
|
23930
|
-
if (
|
|
23931
|
-
switch (
|
|
23932
|
-
case "
|
|
23933
|
-
|
|
23934
|
-
|
|
23935
|
-
|
|
23936
|
-
|
|
23924
|
+
return (s = i[e]) == null || s.call(i, t), a;
|
|
23925
|
+
}, b_ = ({ category: e, use: t }) => {
|
|
23926
|
+
const r = l_[e], a = (i) => Object.values(i).filter((c) => c !== "dropShadow").join(" "), n = (i, s) => Object.entries(i).sort((f, d) => parseInt(f[0]) - parseInt(d[0])).map(([f, d]) => {
|
|
23927
|
+
const E = s ? `${s}-${f}` : f, l = `--pine-${e}-${E}`;
|
|
23928
|
+
if ("value" in d) {
|
|
23929
|
+
let g;
|
|
23930
|
+
g = d.value, typeof d.value == "object" && ("value" in d.value ? g = d.value.value : d.type === "boxShadow" && (Array.isArray(d.value) ? g = d.value.map(a).join(", ") : g = a(d.value)));
|
|
23931
|
+
let b = {}, y = /* @__PURE__ */ L.jsx("div", { style: b, children: "Aa" });
|
|
23932
|
+
if (g)
|
|
23933
|
+
switch (b = c_(e, g, t), y = ["letter-spacing", "line-height", "font-weight", "font-family", "font-size"].includes(e) ? /* @__PURE__ */ L.jsx("div", { style: b, children: "Aa" }) : /* @__PURE__ */ L.jsx("div", { style: { ...b, width: "60px", height: "30px", border: "var(--pine-border)" } }), e) {
|
|
23934
|
+
case "dimension":
|
|
23935
|
+
switch (t) {
|
|
23936
|
+
case "spacing":
|
|
23937
|
+
y = /* @__PURE__ */ L.jsxs("div", { style: { display: "flex", alignItems: "center", gap: `var(${l})` }, children: [
|
|
23938
|
+
/* @__PURE__ */ L.jsx("div", { style: { border: "var(--pine-border)", width: "60px", height: "30px", borderRadius: "4px" } }, `${Math.floor(Math.random() * 1e5) + 1}`),
|
|
23939
|
+
/* @__PURE__ */ L.jsx("div", { style: { border: "var(--pine-border)", width: "60px", height: "30px", borderRadius: "4px" } })
|
|
23940
|
+
] });
|
|
23941
|
+
break;
|
|
23942
|
+
}
|
|
23937
23943
|
break;
|
|
23938
23944
|
}
|
|
23939
23945
|
return /* @__PURE__ */ L.jsxs("tr", { children: [
|
|
23940
|
-
/* @__PURE__ */ L.jsx("td", { children:
|
|
23941
|
-
/* @__PURE__ */ L.jsx("td", { children:
|
|
23942
|
-
/* @__PURE__ */ L.jsx("td", { children:
|
|
23943
|
-
] }, `${
|
|
23946
|
+
/* @__PURE__ */ L.jsx("td", { children: y }),
|
|
23947
|
+
/* @__PURE__ */ L.jsx("td", { children: l }),
|
|
23948
|
+
/* @__PURE__ */ L.jsx("td", { children: g })
|
|
23949
|
+
] }, `${l}-${(/* @__PURE__ */ new Date()).getUTCMilliseconds()}`);
|
|
23944
23950
|
} else
|
|
23945
|
-
return /* @__PURE__ */ L.jsx(L.Fragment, { children:
|
|
23951
|
+
return /* @__PURE__ */ L.jsx(L.Fragment, { children: n(d, E) });
|
|
23946
23952
|
});
|
|
23947
23953
|
return /* @__PURE__ */ L.jsxs("table", { className: "doc-token-table", children: [
|
|
23948
23954
|
/* @__PURE__ */ L.jsx("thead", { children: /* @__PURE__ */ L.jsxs("tr", { children: [
|
|
@@ -23950,7 +23956,7 @@ const i_ = (e) => (e = e.replace(/[A-Z]/g, " $&"), e[0].toUpperCase() + e.slice(
|
|
|
23950
23956
|
/* @__PURE__ */ L.jsx("th", { children: "Token" }),
|
|
23951
23957
|
/* @__PURE__ */ L.jsx("th", { children: "Value" })
|
|
23952
23958
|
] }) }),
|
|
23953
|
-
/* @__PURE__ */ L.jsx("tbody", { children:
|
|
23959
|
+
/* @__PURE__ */ L.jsx("tbody", { children: n(r) })
|
|
23954
23960
|
] });
|
|
23955
23961
|
};
|
|
23956
23962
|
export {
|