highsoft-ui 1.0.138 → 1.0.140
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/CodeBlock-BreFXfK5.js +241 -0
- package/dist/{Footer-CcrBEAxZ.js → Footer-DtFs2Sgb.js} +2 -2
- package/dist/{FooterHelp-CfoW8dhY.js → FooterHelp-COjjt6h7.js} +1 -1
- package/dist/{FooterLinks-CSAfsyJP.js → FooterLinks-DZ0uH7HO.js} +2 -2
- package/dist/{Header-Ga_hYsOa.js → Header-C7MCiwiz.js} +2 -2
- package/dist/bash-kQhoNpCD.js +181 -0
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/create-element-B4K6TXvP.js +217 -0
- package/dist/css-FhcewZZo.js +61 -0
- package/dist/json-Bfzk2Msc.js +32 -0
- package/dist/jsx-B57trbk8.js +5 -0
- package/dist/jsx-hpSEtOci.js +182 -0
- package/dist/lib/components/CodeBlock/index.d.ts +7 -1
- package/dist/main.js +5 -5
- package/dist/markup-BC51nDBv.js +5 -0
- package/dist/markup-BhBs-nbv.js +128 -0
- package/dist/prism-light-hml_uDoc.js +1954 -0
- package/dist/python-Bt2XI9DF.js +66 -0
- package/dist/tsx-CJFgwLf7.js +54 -0
- package/package.json +1 -1
- package/dist/CodeBlock-DtYddgyU.js +0 -3044
|
@@ -0,0 +1,1954 @@
|
|
|
1
|
+
import { r as e } from "./chunk-jwUa06l-.js";
|
|
2
|
+
import { r as t, t as n } from "./create-element-B4K6TXvP.js";
|
|
3
|
+
import r from "react";
|
|
4
|
+
//#region node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
5
|
+
function i(e, t) {
|
|
6
|
+
if (e == null) return {};
|
|
7
|
+
var n = {};
|
|
8
|
+
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
9
|
+
if (t.indexOf(r) !== -1) continue;
|
|
10
|
+
n[r] = e[r];
|
|
11
|
+
}
|
|
12
|
+
return n;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
16
|
+
function a(e, t) {
|
|
17
|
+
if (e == null) return {};
|
|
18
|
+
var n, r, a = i(e, t);
|
|
19
|
+
if (Object.getOwnPropertySymbols) {
|
|
20
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
21
|
+
for (r = 0; r < o.length; r++) n = o[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (a[n] = e[n]);
|
|
22
|
+
}
|
|
23
|
+
return a;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
27
|
+
function o(e, t) {
|
|
28
|
+
(t == null || t > e.length) && (t = e.length);
|
|
29
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
30
|
+
return r;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
34
|
+
function s(e) {
|
|
35
|
+
if (Array.isArray(e)) return o(e);
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
39
|
+
function c(e) {
|
|
40
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
44
|
+
function l(e, t) {
|
|
45
|
+
if (e) {
|
|
46
|
+
if (typeof e == "string") return o(e, t);
|
|
47
|
+
var n = {}.toString.call(e).slice(8, -1);
|
|
48
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o(e, t) : void 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
53
|
+
function u() {
|
|
54
|
+
throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
58
|
+
function d(e) {
|
|
59
|
+
return s(e) || c(e) || l(e) || u();
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
|
|
63
|
+
var f = (function(e, t) {
|
|
64
|
+
return e.listLanguages().indexOf(t) !== -1;
|
|
65
|
+
}), p = [
|
|
66
|
+
"language",
|
|
67
|
+
"children",
|
|
68
|
+
"style",
|
|
69
|
+
"customStyle",
|
|
70
|
+
"codeTagProps",
|
|
71
|
+
"useInlineStyles",
|
|
72
|
+
"showLineNumbers",
|
|
73
|
+
"showInlineLineNumbers",
|
|
74
|
+
"startingLineNumber",
|
|
75
|
+
"lineNumberContainerStyle",
|
|
76
|
+
"lineNumberStyle",
|
|
77
|
+
"wrapLines",
|
|
78
|
+
"wrapLongLines",
|
|
79
|
+
"lineProps",
|
|
80
|
+
"renderer",
|
|
81
|
+
"PreTag",
|
|
82
|
+
"CodeTag",
|
|
83
|
+
"code",
|
|
84
|
+
"astGenerator"
|
|
85
|
+
];
|
|
86
|
+
function m(e, t) {
|
|
87
|
+
var n = Object.keys(e);
|
|
88
|
+
if (Object.getOwnPropertySymbols) {
|
|
89
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
90
|
+
t && (r = r.filter(function(t) {
|
|
91
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
92
|
+
})), n.push.apply(n, r);
|
|
93
|
+
}
|
|
94
|
+
return n;
|
|
95
|
+
}
|
|
96
|
+
function h(e) {
|
|
97
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
98
|
+
var r = arguments[n] == null ? {} : arguments[n];
|
|
99
|
+
n % 2 ? m(Object(r), !0).forEach(function(n) {
|
|
100
|
+
t(e, n, r[n]);
|
|
101
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : m(Object(r)).forEach(function(t) {
|
|
102
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
return e;
|
|
106
|
+
}
|
|
107
|
+
var g = /\n/g;
|
|
108
|
+
function _(e) {
|
|
109
|
+
return e.match(g);
|
|
110
|
+
}
|
|
111
|
+
function v(e) {
|
|
112
|
+
var t = e.lines, n = e.startingLineNumber, i = e.style;
|
|
113
|
+
return t.map(function(e, t) {
|
|
114
|
+
var a = t + n;
|
|
115
|
+
return /*#__PURE__*/ r.createElement("span", {
|
|
116
|
+
key: `line-${t}`,
|
|
117
|
+
className: "react-syntax-highlighter-line-number",
|
|
118
|
+
style: typeof i == "function" ? i(a) : i
|
|
119
|
+
}, `${a}
|
|
120
|
+
`);
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
function y(e) {
|
|
124
|
+
var t = e.codeString, n = e.codeStyle, i = e.containerStyle, a = i === void 0 ? {
|
|
125
|
+
float: "left",
|
|
126
|
+
paddingRight: "10px"
|
|
127
|
+
} : i, o = e.numberStyle, s = o === void 0 ? {} : o, c = e.startingLineNumber;
|
|
128
|
+
return /*#__PURE__*/ r.createElement("code", { style: Object.assign({}, n, a) }, v({
|
|
129
|
+
lines: t.replace(/\n$/, "").split("\n"),
|
|
130
|
+
style: s,
|
|
131
|
+
startingLineNumber: c
|
|
132
|
+
}));
|
|
133
|
+
}
|
|
134
|
+
function b(e) {
|
|
135
|
+
return `${e.toString().length}.25em`;
|
|
136
|
+
}
|
|
137
|
+
function x(e, t) {
|
|
138
|
+
return {
|
|
139
|
+
type: "element",
|
|
140
|
+
tagName: "span",
|
|
141
|
+
properties: {
|
|
142
|
+
key: `line-number--${e}`,
|
|
143
|
+
className: [
|
|
144
|
+
"comment",
|
|
145
|
+
"linenumber",
|
|
146
|
+
"react-syntax-highlighter-line-number"
|
|
147
|
+
],
|
|
148
|
+
style: t
|
|
149
|
+
},
|
|
150
|
+
children: [{
|
|
151
|
+
type: "text",
|
|
152
|
+
value: e
|
|
153
|
+
}]
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
function S(e, t, n) {
|
|
157
|
+
var r = {
|
|
158
|
+
display: "inline-block",
|
|
159
|
+
minWidth: b(n),
|
|
160
|
+
paddingRight: "1em",
|
|
161
|
+
textAlign: "right",
|
|
162
|
+
userSelect: "none"
|
|
163
|
+
}, i = typeof e == "function" ? e(t) : e;
|
|
164
|
+
return h(h({}, r), i);
|
|
165
|
+
}
|
|
166
|
+
function C(e) {
|
|
167
|
+
var t = e.children, n = e.lineNumber, r = e.lineNumberStyle, i = e.largestLineNumber, a = e.showInlineLineNumbers, o = e.lineProps, s = o === void 0 ? {} : o, c = e.className, l = c === void 0 ? [] : c, u = e.showLineNumbers, f = e.wrapLongLines, p = e.wrapLines, m = p !== void 0 && p ? h({}, typeof s == "function" ? s(n) : s) : {};
|
|
168
|
+
if (m.className = m.className ? [].concat(d(m.className.trim().split(/\s+/)), d(l)) : l, n && a) {
|
|
169
|
+
var g = S(r, n, i);
|
|
170
|
+
t.unshift(x(n, g));
|
|
171
|
+
}
|
|
172
|
+
return f & u && (m.style = h({ display: "flex" }, m.style)), {
|
|
173
|
+
type: "element",
|
|
174
|
+
tagName: "span",
|
|
175
|
+
properties: m,
|
|
176
|
+
children: t
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
function w(e) {
|
|
180
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
181
|
+
e.length === void 0 && (e = [e]);
|
|
182
|
+
for (var r = 0; r < e.length; r++) {
|
|
183
|
+
var i = e[r];
|
|
184
|
+
if (i.type === "text") n.push(C({
|
|
185
|
+
children: [i],
|
|
186
|
+
className: d(new Set(t))
|
|
187
|
+
}));
|
|
188
|
+
else if (i.children) {
|
|
189
|
+
var a = t.concat(i.properties?.className || []);
|
|
190
|
+
w(i.children, a).forEach(function(e) {
|
|
191
|
+
return n.push(e);
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
return n;
|
|
196
|
+
}
|
|
197
|
+
function T(e, t, n, r, i, a, o, s, c) {
|
|
198
|
+
var l, u = w(e.value), d = [], f = -1, p = 0;
|
|
199
|
+
function m(e, a) {
|
|
200
|
+
return C({
|
|
201
|
+
children: e,
|
|
202
|
+
lineNumber: a,
|
|
203
|
+
lineNumberStyle: s,
|
|
204
|
+
largestLineNumber: o,
|
|
205
|
+
showInlineLineNumbers: i,
|
|
206
|
+
lineProps: n,
|
|
207
|
+
className: arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [],
|
|
208
|
+
showLineNumbers: r,
|
|
209
|
+
wrapLongLines: c,
|
|
210
|
+
wrapLines: t
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
function h(e, t) {
|
|
214
|
+
if (r && t && i) {
|
|
215
|
+
var n = S(s, t, o);
|
|
216
|
+
e.unshift(x(t, n));
|
|
217
|
+
}
|
|
218
|
+
return e;
|
|
219
|
+
}
|
|
220
|
+
function g(e, n) {
|
|
221
|
+
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
222
|
+
return t || r.length > 0 ? m(e, n, r) : h(e, n);
|
|
223
|
+
}
|
|
224
|
+
for (var v = function() {
|
|
225
|
+
var e = u[p], t = e.children[0].value;
|
|
226
|
+
if (_(t)) {
|
|
227
|
+
var n = t.split("\n");
|
|
228
|
+
n.forEach(function(t, i) {
|
|
229
|
+
var o = r && d.length + a, s = {
|
|
230
|
+
type: "text",
|
|
231
|
+
value: `${t}
|
|
232
|
+
`
|
|
233
|
+
};
|
|
234
|
+
if (i === 0) {
|
|
235
|
+
var c = g(u.slice(f + 1, p).concat(C({
|
|
236
|
+
children: [s],
|
|
237
|
+
className: e.properties.className
|
|
238
|
+
})), o);
|
|
239
|
+
d.push(c);
|
|
240
|
+
} else if (i === n.length - 1) {
|
|
241
|
+
var l = u[p + 1] && u[p + 1].children && u[p + 1].children[0], m = {
|
|
242
|
+
type: "text",
|
|
243
|
+
value: `${t}`
|
|
244
|
+
};
|
|
245
|
+
if (l) {
|
|
246
|
+
var h = C({
|
|
247
|
+
children: [m],
|
|
248
|
+
className: e.properties.className
|
|
249
|
+
});
|
|
250
|
+
u.splice(p + 1, 0, h);
|
|
251
|
+
} else {
|
|
252
|
+
var _ = g([m], o, e.properties.className);
|
|
253
|
+
d.push(_);
|
|
254
|
+
}
|
|
255
|
+
} else {
|
|
256
|
+
var v = g([s], o, e.properties.className);
|
|
257
|
+
d.push(v);
|
|
258
|
+
}
|
|
259
|
+
}), f = p;
|
|
260
|
+
}
|
|
261
|
+
p++;
|
|
262
|
+
}; p < u.length;) v();
|
|
263
|
+
if (f !== u.length - 1) {
|
|
264
|
+
var y = u.slice(f + 1, u.length);
|
|
265
|
+
if (y && y.length) {
|
|
266
|
+
var b = g(y, r && d.length + a);
|
|
267
|
+
d.push(b);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return t ? d : (l = []).concat.apply(l, d);
|
|
271
|
+
}
|
|
272
|
+
function E(e) {
|
|
273
|
+
var t = e.rows, r = e.stylesheet, i = e.useInlineStyles;
|
|
274
|
+
return t.map(function(e, t) {
|
|
275
|
+
return n({
|
|
276
|
+
node: e,
|
|
277
|
+
stylesheet: r,
|
|
278
|
+
useInlineStyles: i,
|
|
279
|
+
key: `code-segment-${t}`
|
|
280
|
+
});
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
function D(e) {
|
|
284
|
+
return e && e.highlightAuto !== void 0;
|
|
285
|
+
}
|
|
286
|
+
function O(e) {
|
|
287
|
+
var t = e.astGenerator, n = e.language, r = e.code, i = e.defaultCodeValue;
|
|
288
|
+
if (D(t)) {
|
|
289
|
+
var a = f(t, n);
|
|
290
|
+
return n === "text" ? {
|
|
291
|
+
value: i,
|
|
292
|
+
language: "text"
|
|
293
|
+
} : a ? t.highlight(n, r) : t.highlightAuto(r);
|
|
294
|
+
}
|
|
295
|
+
try {
|
|
296
|
+
return n && n !== "text" ? { value: t.highlight(r, n) } : { value: i };
|
|
297
|
+
} catch {
|
|
298
|
+
return { value: i };
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
function k(e, t) {
|
|
302
|
+
return function(n) {
|
|
303
|
+
var i = n.language, o = n.children, s = n.style, c = s === void 0 ? t : s, l = n.customStyle, u = l === void 0 ? {} : l, d = n.codeTagProps, f = d === void 0 ? {
|
|
304
|
+
className: i ? `language-${i}` : void 0,
|
|
305
|
+
style: h(h({}, c["code[class*=\"language-\"]"]), c[`code[class*="language-${i}"]`])
|
|
306
|
+
} : d, m = n.useInlineStyles, g = m === void 0 ? !0 : m, _ = n.showLineNumbers, v = _ === void 0 ? !1 : _, b = n.showInlineLineNumbers, x = b === void 0 ? !0 : b, S = n.startingLineNumber, C = S === void 0 ? 1 : S, w = n.lineNumberContainerStyle, k = n.lineNumberStyle, A = k === void 0 ? {} : k, j = n.wrapLines, M = n.wrapLongLines, N = M === void 0 ? !1 : M, P = n.lineProps, ee = P === void 0 ? {} : P, F = n.renderer, I = n.PreTag, L = I === void 0 ? "pre" : I, R = n.CodeTag, z = R === void 0 ? "code" : R, B = n.code, V = B === void 0 ? (Array.isArray(o) ? o[0] : o) || "" : B, H = n.astGenerator, U = a(n, p);
|
|
307
|
+
H ||= e;
|
|
308
|
+
var W = v ? /*#__PURE__*/ r.createElement(y, {
|
|
309
|
+
containerStyle: w,
|
|
310
|
+
codeStyle: f.style || {},
|
|
311
|
+
numberStyle: A,
|
|
312
|
+
startingLineNumber: C,
|
|
313
|
+
codeString: V
|
|
314
|
+
}) : null, te = c.hljs || c["pre[class*=\"language-\"]"] || { backgroundColor: "#fff" }, G = D(H) ? "hljs" : "prismjs", K = g ? Object.assign({}, U, { style: Object.assign({}, te, u) }) : Object.assign({}, U, {
|
|
315
|
+
className: U.className ? `${G} ${U.className}` : G,
|
|
316
|
+
style: Object.assign({}, u)
|
|
317
|
+
});
|
|
318
|
+
if (N ? f.style = h({ whiteSpace: "pre-wrap" }, f.style) : f.style = h({ whiteSpace: "pre" }, f.style), !H) return /*#__PURE__*/ r.createElement(L, K, W, /*#__PURE__*/ r.createElement(z, f, V));
|
|
319
|
+
(j === void 0 && F || N) && (j = !0), F ||= E;
|
|
320
|
+
var q = [{
|
|
321
|
+
type: "text",
|
|
322
|
+
value: V
|
|
323
|
+
}], J = O({
|
|
324
|
+
astGenerator: H,
|
|
325
|
+
language: i,
|
|
326
|
+
code: V,
|
|
327
|
+
defaultCodeValue: q
|
|
328
|
+
});
|
|
329
|
+
J.language === null && (J.value = q);
|
|
330
|
+
var ne = C + (V.match(/\n/g)?.length ?? 0), re = T(J, j, ee, v, x, C, ne, A, N);
|
|
331
|
+
return /*#__PURE__*/ r.createElement(L, K, /*#__PURE__*/ r.createElement(z, f, !x && W, F({
|
|
332
|
+
rows: re,
|
|
333
|
+
stylesheet: c,
|
|
334
|
+
useInlineStyles: g
|
|
335
|
+
})));
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
//#endregion
|
|
339
|
+
//#region node_modules/property-information/lib/util/schema.js
|
|
340
|
+
var A = class {
|
|
341
|
+
constructor(e, t, n) {
|
|
342
|
+
this.normal = t, this.property = e, n && (this.space = n);
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
A.prototype.normal = {}, A.prototype.property = {}, A.prototype.space = void 0;
|
|
346
|
+
//#endregion
|
|
347
|
+
//#region node_modules/property-information/lib/util/merge.js
|
|
348
|
+
function j(e, t) {
|
|
349
|
+
let n = {}, r = {};
|
|
350
|
+
for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
|
|
351
|
+
return new A(n, r, t);
|
|
352
|
+
}
|
|
353
|
+
//#endregion
|
|
354
|
+
//#region node_modules/property-information/lib/normalize.js
|
|
355
|
+
function M(e) {
|
|
356
|
+
return e.toLowerCase();
|
|
357
|
+
}
|
|
358
|
+
//#endregion
|
|
359
|
+
//#region node_modules/property-information/lib/util/info.js
|
|
360
|
+
var N = class {
|
|
361
|
+
constructor(e, t) {
|
|
362
|
+
this.attribute = t, this.property = e;
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
N.prototype.attribute = "", N.prototype.booleanish = !1, N.prototype.boolean = !1, N.prototype.commaOrSpaceSeparated = !1, N.prototype.commaSeparated = !1, N.prototype.defined = !1, N.prototype.mustUseProperty = !1, N.prototype.number = !1, N.prototype.overloadedBoolean = !1, N.prototype.property = "", N.prototype.spaceSeparated = !1, N.prototype.space = void 0;
|
|
366
|
+
//#endregion
|
|
367
|
+
//#region node_modules/property-information/lib/util/types.js
|
|
368
|
+
var P = /* @__PURE__ */ e({
|
|
369
|
+
boolean: () => F,
|
|
370
|
+
booleanish: () => I,
|
|
371
|
+
commaOrSpaceSeparated: () => V,
|
|
372
|
+
commaSeparated: () => B,
|
|
373
|
+
number: () => R,
|
|
374
|
+
overloadedBoolean: () => L,
|
|
375
|
+
spaceSeparated: () => z
|
|
376
|
+
}), ee = 0, F = H(), I = H(), L = H(), R = H(), z = H(), B = H(), V = H();
|
|
377
|
+
function H() {
|
|
378
|
+
return 2 ** ++ee;
|
|
379
|
+
}
|
|
380
|
+
//#endregion
|
|
381
|
+
//#region node_modules/property-information/lib/util/defined-info.js
|
|
382
|
+
var U = Object.keys(P), W = class extends N {
|
|
383
|
+
constructor(e, t, n, r) {
|
|
384
|
+
let i = -1;
|
|
385
|
+
if (super(e, t), te(this, "space", r), typeof n == "number") for (; ++i < U.length;) {
|
|
386
|
+
let e = U[i];
|
|
387
|
+
te(this, U[i], (n & P[e]) === P[e]);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
W.prototype.defined = !0;
|
|
392
|
+
function te(e, t, n) {
|
|
393
|
+
n && (e[t] = n);
|
|
394
|
+
}
|
|
395
|
+
//#endregion
|
|
396
|
+
//#region node_modules/property-information/lib/util/create.js
|
|
397
|
+
function G(e) {
|
|
398
|
+
let t = {}, n = {};
|
|
399
|
+
for (let [r, i] of Object.entries(e.properties)) {
|
|
400
|
+
let a = new W(r, e.transform(e.attributes || {}, r), i, e.space);
|
|
401
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[M(r)] = r, n[M(a.attribute)] = r;
|
|
402
|
+
}
|
|
403
|
+
return new A(t, n, e.space);
|
|
404
|
+
}
|
|
405
|
+
//#endregion
|
|
406
|
+
//#region node_modules/property-information/lib/aria.js
|
|
407
|
+
var K = G({
|
|
408
|
+
properties: {
|
|
409
|
+
ariaActiveDescendant: null,
|
|
410
|
+
ariaAtomic: I,
|
|
411
|
+
ariaAutoComplete: null,
|
|
412
|
+
ariaBusy: I,
|
|
413
|
+
ariaChecked: I,
|
|
414
|
+
ariaColCount: R,
|
|
415
|
+
ariaColIndex: R,
|
|
416
|
+
ariaColSpan: R,
|
|
417
|
+
ariaControls: z,
|
|
418
|
+
ariaCurrent: null,
|
|
419
|
+
ariaDescribedBy: z,
|
|
420
|
+
ariaDetails: null,
|
|
421
|
+
ariaDisabled: I,
|
|
422
|
+
ariaDropEffect: z,
|
|
423
|
+
ariaErrorMessage: null,
|
|
424
|
+
ariaExpanded: I,
|
|
425
|
+
ariaFlowTo: z,
|
|
426
|
+
ariaGrabbed: I,
|
|
427
|
+
ariaHasPopup: null,
|
|
428
|
+
ariaHidden: I,
|
|
429
|
+
ariaInvalid: null,
|
|
430
|
+
ariaKeyShortcuts: null,
|
|
431
|
+
ariaLabel: null,
|
|
432
|
+
ariaLabelledBy: z,
|
|
433
|
+
ariaLevel: R,
|
|
434
|
+
ariaLive: null,
|
|
435
|
+
ariaModal: I,
|
|
436
|
+
ariaMultiLine: I,
|
|
437
|
+
ariaMultiSelectable: I,
|
|
438
|
+
ariaOrientation: null,
|
|
439
|
+
ariaOwns: z,
|
|
440
|
+
ariaPlaceholder: null,
|
|
441
|
+
ariaPosInSet: R,
|
|
442
|
+
ariaPressed: I,
|
|
443
|
+
ariaReadOnly: I,
|
|
444
|
+
ariaRelevant: null,
|
|
445
|
+
ariaRequired: I,
|
|
446
|
+
ariaRoleDescription: z,
|
|
447
|
+
ariaRowCount: R,
|
|
448
|
+
ariaRowIndex: R,
|
|
449
|
+
ariaRowSpan: R,
|
|
450
|
+
ariaSelected: I,
|
|
451
|
+
ariaSetSize: R,
|
|
452
|
+
ariaSort: null,
|
|
453
|
+
ariaValueMax: R,
|
|
454
|
+
ariaValueMin: R,
|
|
455
|
+
ariaValueNow: R,
|
|
456
|
+
ariaValueText: null,
|
|
457
|
+
role: null
|
|
458
|
+
},
|
|
459
|
+
transform(e, t) {
|
|
460
|
+
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
//#endregion
|
|
464
|
+
//#region node_modules/property-information/lib/util/case-sensitive-transform.js
|
|
465
|
+
function q(e, t) {
|
|
466
|
+
return t in e ? e[t] : t;
|
|
467
|
+
}
|
|
468
|
+
//#endregion
|
|
469
|
+
//#region node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
470
|
+
function J(e, t) {
|
|
471
|
+
return q(e, t.toLowerCase());
|
|
472
|
+
}
|
|
473
|
+
//#endregion
|
|
474
|
+
//#region node_modules/property-information/lib/html.js
|
|
475
|
+
var ne = G({
|
|
476
|
+
attributes: {
|
|
477
|
+
acceptcharset: "accept-charset",
|
|
478
|
+
classname: "class",
|
|
479
|
+
htmlfor: "for",
|
|
480
|
+
httpequiv: "http-equiv"
|
|
481
|
+
},
|
|
482
|
+
mustUseProperty: [
|
|
483
|
+
"checked",
|
|
484
|
+
"multiple",
|
|
485
|
+
"muted",
|
|
486
|
+
"selected"
|
|
487
|
+
],
|
|
488
|
+
properties: {
|
|
489
|
+
abbr: null,
|
|
490
|
+
accept: B,
|
|
491
|
+
acceptCharset: z,
|
|
492
|
+
accessKey: z,
|
|
493
|
+
action: null,
|
|
494
|
+
allow: null,
|
|
495
|
+
allowFullScreen: F,
|
|
496
|
+
allowPaymentRequest: F,
|
|
497
|
+
allowUserMedia: F,
|
|
498
|
+
alpha: F,
|
|
499
|
+
alt: null,
|
|
500
|
+
as: null,
|
|
501
|
+
async: F,
|
|
502
|
+
autoCapitalize: null,
|
|
503
|
+
autoComplete: z,
|
|
504
|
+
autoFocus: F,
|
|
505
|
+
autoPlay: F,
|
|
506
|
+
blocking: z,
|
|
507
|
+
capture: null,
|
|
508
|
+
charSet: null,
|
|
509
|
+
checked: F,
|
|
510
|
+
cite: null,
|
|
511
|
+
className: z,
|
|
512
|
+
closedBy: null,
|
|
513
|
+
colorSpace: null,
|
|
514
|
+
cols: R,
|
|
515
|
+
colSpan: R,
|
|
516
|
+
command: null,
|
|
517
|
+
commandFor: null,
|
|
518
|
+
content: null,
|
|
519
|
+
contentEditable: I,
|
|
520
|
+
controls: F,
|
|
521
|
+
controlsList: z,
|
|
522
|
+
coords: R | B,
|
|
523
|
+
crossOrigin: null,
|
|
524
|
+
data: null,
|
|
525
|
+
dateTime: null,
|
|
526
|
+
decoding: null,
|
|
527
|
+
default: F,
|
|
528
|
+
defer: F,
|
|
529
|
+
dir: null,
|
|
530
|
+
dirName: null,
|
|
531
|
+
disabled: F,
|
|
532
|
+
download: L,
|
|
533
|
+
draggable: I,
|
|
534
|
+
encType: null,
|
|
535
|
+
enterKeyHint: null,
|
|
536
|
+
fetchPriority: null,
|
|
537
|
+
form: null,
|
|
538
|
+
formAction: null,
|
|
539
|
+
formEncType: null,
|
|
540
|
+
formMethod: null,
|
|
541
|
+
formNoValidate: F,
|
|
542
|
+
formTarget: null,
|
|
543
|
+
headers: z,
|
|
544
|
+
height: R,
|
|
545
|
+
hidden: L,
|
|
546
|
+
high: R,
|
|
547
|
+
href: null,
|
|
548
|
+
hrefLang: null,
|
|
549
|
+
htmlFor: z,
|
|
550
|
+
httpEquiv: z,
|
|
551
|
+
id: null,
|
|
552
|
+
imageSizes: null,
|
|
553
|
+
imageSrcSet: null,
|
|
554
|
+
inert: F,
|
|
555
|
+
inputMode: null,
|
|
556
|
+
integrity: null,
|
|
557
|
+
is: null,
|
|
558
|
+
isMap: F,
|
|
559
|
+
itemId: null,
|
|
560
|
+
itemProp: z,
|
|
561
|
+
itemRef: z,
|
|
562
|
+
itemScope: F,
|
|
563
|
+
itemType: z,
|
|
564
|
+
kind: null,
|
|
565
|
+
label: null,
|
|
566
|
+
lang: null,
|
|
567
|
+
language: null,
|
|
568
|
+
list: null,
|
|
569
|
+
loading: null,
|
|
570
|
+
loop: F,
|
|
571
|
+
low: R,
|
|
572
|
+
manifest: null,
|
|
573
|
+
max: null,
|
|
574
|
+
maxLength: R,
|
|
575
|
+
media: null,
|
|
576
|
+
method: null,
|
|
577
|
+
min: null,
|
|
578
|
+
minLength: R,
|
|
579
|
+
multiple: F,
|
|
580
|
+
muted: F,
|
|
581
|
+
name: null,
|
|
582
|
+
nonce: null,
|
|
583
|
+
noModule: F,
|
|
584
|
+
noValidate: F,
|
|
585
|
+
onAbort: null,
|
|
586
|
+
onAfterPrint: null,
|
|
587
|
+
onAuxClick: null,
|
|
588
|
+
onBeforeMatch: null,
|
|
589
|
+
onBeforePrint: null,
|
|
590
|
+
onBeforeToggle: null,
|
|
591
|
+
onBeforeUnload: null,
|
|
592
|
+
onBlur: null,
|
|
593
|
+
onCancel: null,
|
|
594
|
+
onCanPlay: null,
|
|
595
|
+
onCanPlayThrough: null,
|
|
596
|
+
onChange: null,
|
|
597
|
+
onClick: null,
|
|
598
|
+
onClose: null,
|
|
599
|
+
onContextLost: null,
|
|
600
|
+
onContextMenu: null,
|
|
601
|
+
onContextRestored: null,
|
|
602
|
+
onCopy: null,
|
|
603
|
+
onCueChange: null,
|
|
604
|
+
onCut: null,
|
|
605
|
+
onDblClick: null,
|
|
606
|
+
onDrag: null,
|
|
607
|
+
onDragEnd: null,
|
|
608
|
+
onDragEnter: null,
|
|
609
|
+
onDragExit: null,
|
|
610
|
+
onDragLeave: null,
|
|
611
|
+
onDragOver: null,
|
|
612
|
+
onDragStart: null,
|
|
613
|
+
onDrop: null,
|
|
614
|
+
onDurationChange: null,
|
|
615
|
+
onEmptied: null,
|
|
616
|
+
onEnded: null,
|
|
617
|
+
onError: null,
|
|
618
|
+
onFocus: null,
|
|
619
|
+
onFormData: null,
|
|
620
|
+
onHashChange: null,
|
|
621
|
+
onInput: null,
|
|
622
|
+
onInvalid: null,
|
|
623
|
+
onKeyDown: null,
|
|
624
|
+
onKeyPress: null,
|
|
625
|
+
onKeyUp: null,
|
|
626
|
+
onLanguageChange: null,
|
|
627
|
+
onLoad: null,
|
|
628
|
+
onLoadedData: null,
|
|
629
|
+
onLoadedMetadata: null,
|
|
630
|
+
onLoadEnd: null,
|
|
631
|
+
onLoadStart: null,
|
|
632
|
+
onMessage: null,
|
|
633
|
+
onMessageError: null,
|
|
634
|
+
onMouseDown: null,
|
|
635
|
+
onMouseEnter: null,
|
|
636
|
+
onMouseLeave: null,
|
|
637
|
+
onMouseMove: null,
|
|
638
|
+
onMouseOut: null,
|
|
639
|
+
onMouseOver: null,
|
|
640
|
+
onMouseUp: null,
|
|
641
|
+
onOffline: null,
|
|
642
|
+
onOnline: null,
|
|
643
|
+
onPageHide: null,
|
|
644
|
+
onPageShow: null,
|
|
645
|
+
onPaste: null,
|
|
646
|
+
onPause: null,
|
|
647
|
+
onPlay: null,
|
|
648
|
+
onPlaying: null,
|
|
649
|
+
onPopState: null,
|
|
650
|
+
onProgress: null,
|
|
651
|
+
onRateChange: null,
|
|
652
|
+
onRejectionHandled: null,
|
|
653
|
+
onReset: null,
|
|
654
|
+
onResize: null,
|
|
655
|
+
onScroll: null,
|
|
656
|
+
onScrollEnd: null,
|
|
657
|
+
onSecurityPolicyViolation: null,
|
|
658
|
+
onSeeked: null,
|
|
659
|
+
onSeeking: null,
|
|
660
|
+
onSelect: null,
|
|
661
|
+
onSlotChange: null,
|
|
662
|
+
onStalled: null,
|
|
663
|
+
onStorage: null,
|
|
664
|
+
onSubmit: null,
|
|
665
|
+
onSuspend: null,
|
|
666
|
+
onTimeUpdate: null,
|
|
667
|
+
onToggle: null,
|
|
668
|
+
onUnhandledRejection: null,
|
|
669
|
+
onUnload: null,
|
|
670
|
+
onVolumeChange: null,
|
|
671
|
+
onWaiting: null,
|
|
672
|
+
onWheel: null,
|
|
673
|
+
open: F,
|
|
674
|
+
optimum: R,
|
|
675
|
+
pattern: null,
|
|
676
|
+
ping: z,
|
|
677
|
+
placeholder: null,
|
|
678
|
+
playsInline: F,
|
|
679
|
+
popover: null,
|
|
680
|
+
popoverTarget: null,
|
|
681
|
+
popoverTargetAction: null,
|
|
682
|
+
poster: null,
|
|
683
|
+
preload: null,
|
|
684
|
+
readOnly: F,
|
|
685
|
+
referrerPolicy: null,
|
|
686
|
+
rel: z,
|
|
687
|
+
required: F,
|
|
688
|
+
reversed: F,
|
|
689
|
+
rows: R,
|
|
690
|
+
rowSpan: R,
|
|
691
|
+
sandbox: z,
|
|
692
|
+
scope: null,
|
|
693
|
+
scoped: F,
|
|
694
|
+
seamless: F,
|
|
695
|
+
selected: F,
|
|
696
|
+
shadowRootClonable: F,
|
|
697
|
+
shadowRootCustomElementRegistry: F,
|
|
698
|
+
shadowRootDelegatesFocus: F,
|
|
699
|
+
shadowRootMode: null,
|
|
700
|
+
shadowRootSerializable: F,
|
|
701
|
+
shape: null,
|
|
702
|
+
size: R,
|
|
703
|
+
sizes: null,
|
|
704
|
+
slot: null,
|
|
705
|
+
span: R,
|
|
706
|
+
spellCheck: I,
|
|
707
|
+
src: null,
|
|
708
|
+
srcDoc: null,
|
|
709
|
+
srcLang: null,
|
|
710
|
+
srcSet: null,
|
|
711
|
+
start: R,
|
|
712
|
+
step: null,
|
|
713
|
+
style: null,
|
|
714
|
+
tabIndex: R,
|
|
715
|
+
target: null,
|
|
716
|
+
title: null,
|
|
717
|
+
translate: null,
|
|
718
|
+
type: null,
|
|
719
|
+
typeMustMatch: F,
|
|
720
|
+
useMap: null,
|
|
721
|
+
value: I,
|
|
722
|
+
width: R,
|
|
723
|
+
wrap: null,
|
|
724
|
+
writingSuggestions: null,
|
|
725
|
+
align: null,
|
|
726
|
+
aLink: null,
|
|
727
|
+
archive: z,
|
|
728
|
+
axis: null,
|
|
729
|
+
background: null,
|
|
730
|
+
bgColor: null,
|
|
731
|
+
border: R,
|
|
732
|
+
borderColor: null,
|
|
733
|
+
bottomMargin: R,
|
|
734
|
+
cellPadding: null,
|
|
735
|
+
cellSpacing: null,
|
|
736
|
+
char: null,
|
|
737
|
+
charOff: null,
|
|
738
|
+
classId: null,
|
|
739
|
+
clear: null,
|
|
740
|
+
code: null,
|
|
741
|
+
codeBase: null,
|
|
742
|
+
codeType: null,
|
|
743
|
+
color: null,
|
|
744
|
+
compact: F,
|
|
745
|
+
declare: F,
|
|
746
|
+
event: null,
|
|
747
|
+
face: null,
|
|
748
|
+
frame: null,
|
|
749
|
+
frameBorder: null,
|
|
750
|
+
hSpace: R,
|
|
751
|
+
leftMargin: R,
|
|
752
|
+
link: null,
|
|
753
|
+
longDesc: null,
|
|
754
|
+
lowSrc: null,
|
|
755
|
+
marginHeight: R,
|
|
756
|
+
marginWidth: R,
|
|
757
|
+
noResize: F,
|
|
758
|
+
noHref: F,
|
|
759
|
+
noShade: F,
|
|
760
|
+
noWrap: F,
|
|
761
|
+
object: null,
|
|
762
|
+
profile: null,
|
|
763
|
+
prompt: null,
|
|
764
|
+
rev: null,
|
|
765
|
+
rightMargin: R,
|
|
766
|
+
rules: null,
|
|
767
|
+
scheme: null,
|
|
768
|
+
scrolling: I,
|
|
769
|
+
standby: null,
|
|
770
|
+
summary: null,
|
|
771
|
+
text: null,
|
|
772
|
+
topMargin: R,
|
|
773
|
+
valueType: null,
|
|
774
|
+
version: null,
|
|
775
|
+
vAlign: null,
|
|
776
|
+
vLink: null,
|
|
777
|
+
vSpace: R,
|
|
778
|
+
allowTransparency: null,
|
|
779
|
+
autoCorrect: null,
|
|
780
|
+
autoSave: null,
|
|
781
|
+
credentialless: F,
|
|
782
|
+
disablePictureInPicture: F,
|
|
783
|
+
disableRemotePlayback: F,
|
|
784
|
+
exportParts: B,
|
|
785
|
+
part: z,
|
|
786
|
+
prefix: null,
|
|
787
|
+
property: null,
|
|
788
|
+
results: R,
|
|
789
|
+
security: null,
|
|
790
|
+
unselectable: null
|
|
791
|
+
},
|
|
792
|
+
space: "html",
|
|
793
|
+
transform: J
|
|
794
|
+
}), re = G({
|
|
795
|
+
attributes: {
|
|
796
|
+
accentHeight: "accent-height",
|
|
797
|
+
alignmentBaseline: "alignment-baseline",
|
|
798
|
+
arabicForm: "arabic-form",
|
|
799
|
+
baselineShift: "baseline-shift",
|
|
800
|
+
capHeight: "cap-height",
|
|
801
|
+
className: "class",
|
|
802
|
+
clipPath: "clip-path",
|
|
803
|
+
clipRule: "clip-rule",
|
|
804
|
+
colorInterpolation: "color-interpolation",
|
|
805
|
+
colorInterpolationFilters: "color-interpolation-filters",
|
|
806
|
+
colorProfile: "color-profile",
|
|
807
|
+
colorRendering: "color-rendering",
|
|
808
|
+
crossOrigin: "crossorigin",
|
|
809
|
+
dataType: "datatype",
|
|
810
|
+
dominantBaseline: "dominant-baseline",
|
|
811
|
+
enableBackground: "enable-background",
|
|
812
|
+
fillOpacity: "fill-opacity",
|
|
813
|
+
fillRule: "fill-rule",
|
|
814
|
+
floodColor: "flood-color",
|
|
815
|
+
floodOpacity: "flood-opacity",
|
|
816
|
+
fontFamily: "font-family",
|
|
817
|
+
fontSize: "font-size",
|
|
818
|
+
fontSizeAdjust: "font-size-adjust",
|
|
819
|
+
fontStretch: "font-stretch",
|
|
820
|
+
fontStyle: "font-style",
|
|
821
|
+
fontVariant: "font-variant",
|
|
822
|
+
fontWeight: "font-weight",
|
|
823
|
+
glyphName: "glyph-name",
|
|
824
|
+
glyphOrientationHorizontal: "glyph-orientation-horizontal",
|
|
825
|
+
glyphOrientationVertical: "glyph-orientation-vertical",
|
|
826
|
+
hrefLang: "hreflang",
|
|
827
|
+
horizAdvX: "horiz-adv-x",
|
|
828
|
+
horizOriginX: "horiz-origin-x",
|
|
829
|
+
horizOriginY: "horiz-origin-y",
|
|
830
|
+
imageRendering: "image-rendering",
|
|
831
|
+
letterSpacing: "letter-spacing",
|
|
832
|
+
lightingColor: "lighting-color",
|
|
833
|
+
markerEnd: "marker-end",
|
|
834
|
+
markerMid: "marker-mid",
|
|
835
|
+
markerStart: "marker-start",
|
|
836
|
+
maskType: "mask-type",
|
|
837
|
+
navDown: "nav-down",
|
|
838
|
+
navDownLeft: "nav-down-left",
|
|
839
|
+
navDownRight: "nav-down-right",
|
|
840
|
+
navLeft: "nav-left",
|
|
841
|
+
navNext: "nav-next",
|
|
842
|
+
navPrev: "nav-prev",
|
|
843
|
+
navRight: "nav-right",
|
|
844
|
+
navUp: "nav-up",
|
|
845
|
+
navUpLeft: "nav-up-left",
|
|
846
|
+
navUpRight: "nav-up-right",
|
|
847
|
+
onAbort: "onabort",
|
|
848
|
+
onActivate: "onactivate",
|
|
849
|
+
onAfterPrint: "onafterprint",
|
|
850
|
+
onBeforePrint: "onbeforeprint",
|
|
851
|
+
onBegin: "onbegin",
|
|
852
|
+
onCancel: "oncancel",
|
|
853
|
+
onCanPlay: "oncanplay",
|
|
854
|
+
onCanPlayThrough: "oncanplaythrough",
|
|
855
|
+
onChange: "onchange",
|
|
856
|
+
onClick: "onclick",
|
|
857
|
+
onClose: "onclose",
|
|
858
|
+
onCopy: "oncopy",
|
|
859
|
+
onCueChange: "oncuechange",
|
|
860
|
+
onCut: "oncut",
|
|
861
|
+
onDblClick: "ondblclick",
|
|
862
|
+
onDrag: "ondrag",
|
|
863
|
+
onDragEnd: "ondragend",
|
|
864
|
+
onDragEnter: "ondragenter",
|
|
865
|
+
onDragExit: "ondragexit",
|
|
866
|
+
onDragLeave: "ondragleave",
|
|
867
|
+
onDragOver: "ondragover",
|
|
868
|
+
onDragStart: "ondragstart",
|
|
869
|
+
onDrop: "ondrop",
|
|
870
|
+
onDurationChange: "ondurationchange",
|
|
871
|
+
onEmptied: "onemptied",
|
|
872
|
+
onEnd: "onend",
|
|
873
|
+
onEnded: "onended",
|
|
874
|
+
onError: "onerror",
|
|
875
|
+
onFocus: "onfocus",
|
|
876
|
+
onFocusIn: "onfocusin",
|
|
877
|
+
onFocusOut: "onfocusout",
|
|
878
|
+
onHashChange: "onhashchange",
|
|
879
|
+
onInput: "oninput",
|
|
880
|
+
onInvalid: "oninvalid",
|
|
881
|
+
onKeyDown: "onkeydown",
|
|
882
|
+
onKeyPress: "onkeypress",
|
|
883
|
+
onKeyUp: "onkeyup",
|
|
884
|
+
onLoad: "onload",
|
|
885
|
+
onLoadedData: "onloadeddata",
|
|
886
|
+
onLoadedMetadata: "onloadedmetadata",
|
|
887
|
+
onLoadStart: "onloadstart",
|
|
888
|
+
onMessage: "onmessage",
|
|
889
|
+
onMouseDown: "onmousedown",
|
|
890
|
+
onMouseEnter: "onmouseenter",
|
|
891
|
+
onMouseLeave: "onmouseleave",
|
|
892
|
+
onMouseMove: "onmousemove",
|
|
893
|
+
onMouseOut: "onmouseout",
|
|
894
|
+
onMouseOver: "onmouseover",
|
|
895
|
+
onMouseUp: "onmouseup",
|
|
896
|
+
onMouseWheel: "onmousewheel",
|
|
897
|
+
onOffline: "onoffline",
|
|
898
|
+
onOnline: "ononline",
|
|
899
|
+
onPageHide: "onpagehide",
|
|
900
|
+
onPageShow: "onpageshow",
|
|
901
|
+
onPaste: "onpaste",
|
|
902
|
+
onPause: "onpause",
|
|
903
|
+
onPlay: "onplay",
|
|
904
|
+
onPlaying: "onplaying",
|
|
905
|
+
onPopState: "onpopstate",
|
|
906
|
+
onProgress: "onprogress",
|
|
907
|
+
onRateChange: "onratechange",
|
|
908
|
+
onRepeat: "onrepeat",
|
|
909
|
+
onReset: "onreset",
|
|
910
|
+
onResize: "onresize",
|
|
911
|
+
onScroll: "onscroll",
|
|
912
|
+
onSeeked: "onseeked",
|
|
913
|
+
onSeeking: "onseeking",
|
|
914
|
+
onSelect: "onselect",
|
|
915
|
+
onShow: "onshow",
|
|
916
|
+
onStalled: "onstalled",
|
|
917
|
+
onStorage: "onstorage",
|
|
918
|
+
onSubmit: "onsubmit",
|
|
919
|
+
onSuspend: "onsuspend",
|
|
920
|
+
onTimeUpdate: "ontimeupdate",
|
|
921
|
+
onToggle: "ontoggle",
|
|
922
|
+
onUnload: "onunload",
|
|
923
|
+
onVolumeChange: "onvolumechange",
|
|
924
|
+
onWaiting: "onwaiting",
|
|
925
|
+
onZoom: "onzoom",
|
|
926
|
+
overlinePosition: "overline-position",
|
|
927
|
+
overlineThickness: "overline-thickness",
|
|
928
|
+
paintOrder: "paint-order",
|
|
929
|
+
panose1: "panose-1",
|
|
930
|
+
pointerEvents: "pointer-events",
|
|
931
|
+
referrerPolicy: "referrerpolicy",
|
|
932
|
+
renderingIntent: "rendering-intent",
|
|
933
|
+
shapeRendering: "shape-rendering",
|
|
934
|
+
stopColor: "stop-color",
|
|
935
|
+
stopOpacity: "stop-opacity",
|
|
936
|
+
strikethroughPosition: "strikethrough-position",
|
|
937
|
+
strikethroughThickness: "strikethrough-thickness",
|
|
938
|
+
strokeDashArray: "stroke-dasharray",
|
|
939
|
+
strokeDashOffset: "stroke-dashoffset",
|
|
940
|
+
strokeLineCap: "stroke-linecap",
|
|
941
|
+
strokeLineJoin: "stroke-linejoin",
|
|
942
|
+
strokeMiterLimit: "stroke-miterlimit",
|
|
943
|
+
strokeOpacity: "stroke-opacity",
|
|
944
|
+
strokeWidth: "stroke-width",
|
|
945
|
+
tabIndex: "tabindex",
|
|
946
|
+
textAnchor: "text-anchor",
|
|
947
|
+
textDecoration: "text-decoration",
|
|
948
|
+
textRendering: "text-rendering",
|
|
949
|
+
transformOrigin: "transform-origin",
|
|
950
|
+
typeOf: "typeof",
|
|
951
|
+
underlinePosition: "underline-position",
|
|
952
|
+
underlineThickness: "underline-thickness",
|
|
953
|
+
unicodeBidi: "unicode-bidi",
|
|
954
|
+
unicodeRange: "unicode-range",
|
|
955
|
+
unitsPerEm: "units-per-em",
|
|
956
|
+
vAlphabetic: "v-alphabetic",
|
|
957
|
+
vHanging: "v-hanging",
|
|
958
|
+
vIdeographic: "v-ideographic",
|
|
959
|
+
vMathematical: "v-mathematical",
|
|
960
|
+
vectorEffect: "vector-effect",
|
|
961
|
+
vertAdvY: "vert-adv-y",
|
|
962
|
+
vertOriginX: "vert-origin-x",
|
|
963
|
+
vertOriginY: "vert-origin-y",
|
|
964
|
+
wordSpacing: "word-spacing",
|
|
965
|
+
writingMode: "writing-mode",
|
|
966
|
+
xHeight: "x-height",
|
|
967
|
+
playbackOrder: "playbackorder",
|
|
968
|
+
timelineBegin: "timelinebegin"
|
|
969
|
+
},
|
|
970
|
+
properties: {
|
|
971
|
+
about: V,
|
|
972
|
+
accentHeight: R,
|
|
973
|
+
accumulate: null,
|
|
974
|
+
additive: null,
|
|
975
|
+
alignmentBaseline: null,
|
|
976
|
+
alphabetic: R,
|
|
977
|
+
amplitude: R,
|
|
978
|
+
arabicForm: null,
|
|
979
|
+
ascent: R,
|
|
980
|
+
attributeName: null,
|
|
981
|
+
attributeType: null,
|
|
982
|
+
azimuth: R,
|
|
983
|
+
bandwidth: null,
|
|
984
|
+
baselineShift: null,
|
|
985
|
+
baseFrequency: null,
|
|
986
|
+
baseProfile: null,
|
|
987
|
+
bbox: null,
|
|
988
|
+
begin: null,
|
|
989
|
+
bias: R,
|
|
990
|
+
by: null,
|
|
991
|
+
calcMode: null,
|
|
992
|
+
capHeight: R,
|
|
993
|
+
className: z,
|
|
994
|
+
clip: null,
|
|
995
|
+
clipPath: null,
|
|
996
|
+
clipPathUnits: null,
|
|
997
|
+
clipRule: null,
|
|
998
|
+
color: null,
|
|
999
|
+
colorInterpolation: null,
|
|
1000
|
+
colorInterpolationFilters: null,
|
|
1001
|
+
colorProfile: null,
|
|
1002
|
+
colorRendering: null,
|
|
1003
|
+
content: null,
|
|
1004
|
+
contentScriptType: null,
|
|
1005
|
+
contentStyleType: null,
|
|
1006
|
+
crossOrigin: null,
|
|
1007
|
+
cursor: null,
|
|
1008
|
+
cx: null,
|
|
1009
|
+
cy: null,
|
|
1010
|
+
d: null,
|
|
1011
|
+
dataType: null,
|
|
1012
|
+
defaultAction: null,
|
|
1013
|
+
descent: R,
|
|
1014
|
+
diffuseConstant: R,
|
|
1015
|
+
direction: null,
|
|
1016
|
+
display: null,
|
|
1017
|
+
dur: null,
|
|
1018
|
+
divisor: R,
|
|
1019
|
+
dominantBaseline: null,
|
|
1020
|
+
download: F,
|
|
1021
|
+
dx: null,
|
|
1022
|
+
dy: null,
|
|
1023
|
+
edgeMode: null,
|
|
1024
|
+
editable: null,
|
|
1025
|
+
elevation: R,
|
|
1026
|
+
enableBackground: null,
|
|
1027
|
+
end: null,
|
|
1028
|
+
event: null,
|
|
1029
|
+
exponent: R,
|
|
1030
|
+
externalResourcesRequired: null,
|
|
1031
|
+
fill: null,
|
|
1032
|
+
fillOpacity: R,
|
|
1033
|
+
fillRule: null,
|
|
1034
|
+
filter: null,
|
|
1035
|
+
filterRes: null,
|
|
1036
|
+
filterUnits: null,
|
|
1037
|
+
floodColor: null,
|
|
1038
|
+
floodOpacity: null,
|
|
1039
|
+
focusable: null,
|
|
1040
|
+
focusHighlight: null,
|
|
1041
|
+
fontFamily: null,
|
|
1042
|
+
fontSize: null,
|
|
1043
|
+
fontSizeAdjust: null,
|
|
1044
|
+
fontStretch: null,
|
|
1045
|
+
fontStyle: null,
|
|
1046
|
+
fontVariant: null,
|
|
1047
|
+
fontWeight: null,
|
|
1048
|
+
format: null,
|
|
1049
|
+
fr: null,
|
|
1050
|
+
from: null,
|
|
1051
|
+
fx: null,
|
|
1052
|
+
fy: null,
|
|
1053
|
+
g1: B,
|
|
1054
|
+
g2: B,
|
|
1055
|
+
glyphName: B,
|
|
1056
|
+
glyphOrientationHorizontal: null,
|
|
1057
|
+
glyphOrientationVertical: null,
|
|
1058
|
+
glyphRef: null,
|
|
1059
|
+
gradientTransform: null,
|
|
1060
|
+
gradientUnits: null,
|
|
1061
|
+
handler: null,
|
|
1062
|
+
hanging: R,
|
|
1063
|
+
hatchContentUnits: null,
|
|
1064
|
+
hatchUnits: null,
|
|
1065
|
+
height: null,
|
|
1066
|
+
href: null,
|
|
1067
|
+
hrefLang: null,
|
|
1068
|
+
horizAdvX: R,
|
|
1069
|
+
horizOriginX: R,
|
|
1070
|
+
horizOriginY: R,
|
|
1071
|
+
id: null,
|
|
1072
|
+
ideographic: R,
|
|
1073
|
+
imageRendering: null,
|
|
1074
|
+
initialVisibility: null,
|
|
1075
|
+
in: null,
|
|
1076
|
+
in2: null,
|
|
1077
|
+
intercept: R,
|
|
1078
|
+
k: R,
|
|
1079
|
+
k1: R,
|
|
1080
|
+
k2: R,
|
|
1081
|
+
k3: R,
|
|
1082
|
+
k4: R,
|
|
1083
|
+
kernelMatrix: V,
|
|
1084
|
+
kernelUnitLength: null,
|
|
1085
|
+
keyPoints: null,
|
|
1086
|
+
keySplines: null,
|
|
1087
|
+
keyTimes: null,
|
|
1088
|
+
kerning: null,
|
|
1089
|
+
lang: null,
|
|
1090
|
+
lengthAdjust: null,
|
|
1091
|
+
letterSpacing: null,
|
|
1092
|
+
lightingColor: null,
|
|
1093
|
+
limitingConeAngle: R,
|
|
1094
|
+
local: null,
|
|
1095
|
+
markerEnd: null,
|
|
1096
|
+
markerMid: null,
|
|
1097
|
+
markerStart: null,
|
|
1098
|
+
markerHeight: null,
|
|
1099
|
+
markerUnits: null,
|
|
1100
|
+
markerWidth: null,
|
|
1101
|
+
mask: null,
|
|
1102
|
+
maskContentUnits: null,
|
|
1103
|
+
maskType: null,
|
|
1104
|
+
maskUnits: null,
|
|
1105
|
+
mathematical: null,
|
|
1106
|
+
max: null,
|
|
1107
|
+
media: null,
|
|
1108
|
+
mediaCharacterEncoding: null,
|
|
1109
|
+
mediaContentEncodings: null,
|
|
1110
|
+
mediaSize: R,
|
|
1111
|
+
mediaTime: null,
|
|
1112
|
+
method: null,
|
|
1113
|
+
min: null,
|
|
1114
|
+
mode: null,
|
|
1115
|
+
name: null,
|
|
1116
|
+
navDown: null,
|
|
1117
|
+
navDownLeft: null,
|
|
1118
|
+
navDownRight: null,
|
|
1119
|
+
navLeft: null,
|
|
1120
|
+
navNext: null,
|
|
1121
|
+
navPrev: null,
|
|
1122
|
+
navRight: null,
|
|
1123
|
+
navUp: null,
|
|
1124
|
+
navUpLeft: null,
|
|
1125
|
+
navUpRight: null,
|
|
1126
|
+
numOctaves: null,
|
|
1127
|
+
observer: null,
|
|
1128
|
+
offset: null,
|
|
1129
|
+
onAbort: null,
|
|
1130
|
+
onActivate: null,
|
|
1131
|
+
onAfterPrint: null,
|
|
1132
|
+
onBeforePrint: null,
|
|
1133
|
+
onBegin: null,
|
|
1134
|
+
onCancel: null,
|
|
1135
|
+
onCanPlay: null,
|
|
1136
|
+
onCanPlayThrough: null,
|
|
1137
|
+
onChange: null,
|
|
1138
|
+
onClick: null,
|
|
1139
|
+
onClose: null,
|
|
1140
|
+
onCopy: null,
|
|
1141
|
+
onCueChange: null,
|
|
1142
|
+
onCut: null,
|
|
1143
|
+
onDblClick: null,
|
|
1144
|
+
onDrag: null,
|
|
1145
|
+
onDragEnd: null,
|
|
1146
|
+
onDragEnter: null,
|
|
1147
|
+
onDragExit: null,
|
|
1148
|
+
onDragLeave: null,
|
|
1149
|
+
onDragOver: null,
|
|
1150
|
+
onDragStart: null,
|
|
1151
|
+
onDrop: null,
|
|
1152
|
+
onDurationChange: null,
|
|
1153
|
+
onEmptied: null,
|
|
1154
|
+
onEnd: null,
|
|
1155
|
+
onEnded: null,
|
|
1156
|
+
onError: null,
|
|
1157
|
+
onFocus: null,
|
|
1158
|
+
onFocusIn: null,
|
|
1159
|
+
onFocusOut: null,
|
|
1160
|
+
onHashChange: null,
|
|
1161
|
+
onInput: null,
|
|
1162
|
+
onInvalid: null,
|
|
1163
|
+
onKeyDown: null,
|
|
1164
|
+
onKeyPress: null,
|
|
1165
|
+
onKeyUp: null,
|
|
1166
|
+
onLoad: null,
|
|
1167
|
+
onLoadedData: null,
|
|
1168
|
+
onLoadedMetadata: null,
|
|
1169
|
+
onLoadStart: null,
|
|
1170
|
+
onMessage: null,
|
|
1171
|
+
onMouseDown: null,
|
|
1172
|
+
onMouseEnter: null,
|
|
1173
|
+
onMouseLeave: null,
|
|
1174
|
+
onMouseMove: null,
|
|
1175
|
+
onMouseOut: null,
|
|
1176
|
+
onMouseOver: null,
|
|
1177
|
+
onMouseUp: null,
|
|
1178
|
+
onMouseWheel: null,
|
|
1179
|
+
onOffline: null,
|
|
1180
|
+
onOnline: null,
|
|
1181
|
+
onPageHide: null,
|
|
1182
|
+
onPageShow: null,
|
|
1183
|
+
onPaste: null,
|
|
1184
|
+
onPause: null,
|
|
1185
|
+
onPlay: null,
|
|
1186
|
+
onPlaying: null,
|
|
1187
|
+
onPopState: null,
|
|
1188
|
+
onProgress: null,
|
|
1189
|
+
onRateChange: null,
|
|
1190
|
+
onRepeat: null,
|
|
1191
|
+
onReset: null,
|
|
1192
|
+
onResize: null,
|
|
1193
|
+
onScroll: null,
|
|
1194
|
+
onSeeked: null,
|
|
1195
|
+
onSeeking: null,
|
|
1196
|
+
onSelect: null,
|
|
1197
|
+
onShow: null,
|
|
1198
|
+
onStalled: null,
|
|
1199
|
+
onStorage: null,
|
|
1200
|
+
onSubmit: null,
|
|
1201
|
+
onSuspend: null,
|
|
1202
|
+
onTimeUpdate: null,
|
|
1203
|
+
onToggle: null,
|
|
1204
|
+
onUnload: null,
|
|
1205
|
+
onVolumeChange: null,
|
|
1206
|
+
onWaiting: null,
|
|
1207
|
+
onZoom: null,
|
|
1208
|
+
opacity: null,
|
|
1209
|
+
operator: null,
|
|
1210
|
+
order: null,
|
|
1211
|
+
orient: null,
|
|
1212
|
+
orientation: null,
|
|
1213
|
+
origin: null,
|
|
1214
|
+
overflow: null,
|
|
1215
|
+
overlay: null,
|
|
1216
|
+
overlinePosition: R,
|
|
1217
|
+
overlineThickness: R,
|
|
1218
|
+
paintOrder: null,
|
|
1219
|
+
panose1: null,
|
|
1220
|
+
path: null,
|
|
1221
|
+
pathLength: R,
|
|
1222
|
+
patternContentUnits: null,
|
|
1223
|
+
patternTransform: null,
|
|
1224
|
+
patternUnits: null,
|
|
1225
|
+
phase: null,
|
|
1226
|
+
ping: z,
|
|
1227
|
+
pitch: null,
|
|
1228
|
+
playbackOrder: null,
|
|
1229
|
+
pointerEvents: null,
|
|
1230
|
+
points: null,
|
|
1231
|
+
pointsAtX: R,
|
|
1232
|
+
pointsAtY: R,
|
|
1233
|
+
pointsAtZ: R,
|
|
1234
|
+
preserveAlpha: null,
|
|
1235
|
+
preserveAspectRatio: null,
|
|
1236
|
+
primitiveUnits: null,
|
|
1237
|
+
propagate: null,
|
|
1238
|
+
property: V,
|
|
1239
|
+
r: null,
|
|
1240
|
+
radius: null,
|
|
1241
|
+
referrerPolicy: null,
|
|
1242
|
+
refX: null,
|
|
1243
|
+
refY: null,
|
|
1244
|
+
rel: V,
|
|
1245
|
+
rev: V,
|
|
1246
|
+
renderingIntent: null,
|
|
1247
|
+
repeatCount: null,
|
|
1248
|
+
repeatDur: null,
|
|
1249
|
+
requiredExtensions: V,
|
|
1250
|
+
requiredFeatures: V,
|
|
1251
|
+
requiredFonts: V,
|
|
1252
|
+
requiredFormats: V,
|
|
1253
|
+
resource: null,
|
|
1254
|
+
restart: null,
|
|
1255
|
+
result: null,
|
|
1256
|
+
rotate: null,
|
|
1257
|
+
rx: null,
|
|
1258
|
+
ry: null,
|
|
1259
|
+
scale: null,
|
|
1260
|
+
seed: null,
|
|
1261
|
+
shapeRendering: null,
|
|
1262
|
+
side: null,
|
|
1263
|
+
slope: null,
|
|
1264
|
+
snapshotTime: null,
|
|
1265
|
+
specularConstant: R,
|
|
1266
|
+
specularExponent: R,
|
|
1267
|
+
spreadMethod: null,
|
|
1268
|
+
spacing: null,
|
|
1269
|
+
startOffset: null,
|
|
1270
|
+
stdDeviation: null,
|
|
1271
|
+
stemh: null,
|
|
1272
|
+
stemv: null,
|
|
1273
|
+
stitchTiles: null,
|
|
1274
|
+
stopColor: null,
|
|
1275
|
+
stopOpacity: null,
|
|
1276
|
+
strikethroughPosition: R,
|
|
1277
|
+
strikethroughThickness: R,
|
|
1278
|
+
string: null,
|
|
1279
|
+
stroke: null,
|
|
1280
|
+
strokeDashArray: V,
|
|
1281
|
+
strokeDashOffset: null,
|
|
1282
|
+
strokeLineCap: null,
|
|
1283
|
+
strokeLineJoin: null,
|
|
1284
|
+
strokeMiterLimit: R,
|
|
1285
|
+
strokeOpacity: R,
|
|
1286
|
+
strokeWidth: null,
|
|
1287
|
+
style: null,
|
|
1288
|
+
surfaceScale: R,
|
|
1289
|
+
syncBehavior: null,
|
|
1290
|
+
syncBehaviorDefault: null,
|
|
1291
|
+
syncMaster: null,
|
|
1292
|
+
syncTolerance: null,
|
|
1293
|
+
syncToleranceDefault: null,
|
|
1294
|
+
systemLanguage: V,
|
|
1295
|
+
tabIndex: R,
|
|
1296
|
+
tableValues: null,
|
|
1297
|
+
target: null,
|
|
1298
|
+
targetX: R,
|
|
1299
|
+
targetY: R,
|
|
1300
|
+
textAnchor: null,
|
|
1301
|
+
textDecoration: null,
|
|
1302
|
+
textRendering: null,
|
|
1303
|
+
textLength: null,
|
|
1304
|
+
timelineBegin: null,
|
|
1305
|
+
title: null,
|
|
1306
|
+
transformBehavior: null,
|
|
1307
|
+
type: null,
|
|
1308
|
+
typeOf: V,
|
|
1309
|
+
to: null,
|
|
1310
|
+
transform: null,
|
|
1311
|
+
transformOrigin: null,
|
|
1312
|
+
u1: null,
|
|
1313
|
+
u2: null,
|
|
1314
|
+
underlinePosition: R,
|
|
1315
|
+
underlineThickness: R,
|
|
1316
|
+
unicode: null,
|
|
1317
|
+
unicodeBidi: null,
|
|
1318
|
+
unicodeRange: null,
|
|
1319
|
+
unitsPerEm: R,
|
|
1320
|
+
values: null,
|
|
1321
|
+
vAlphabetic: R,
|
|
1322
|
+
vMathematical: R,
|
|
1323
|
+
vectorEffect: null,
|
|
1324
|
+
vHanging: R,
|
|
1325
|
+
vIdeographic: R,
|
|
1326
|
+
version: null,
|
|
1327
|
+
vertAdvY: R,
|
|
1328
|
+
vertOriginX: R,
|
|
1329
|
+
vertOriginY: R,
|
|
1330
|
+
viewBox: null,
|
|
1331
|
+
viewTarget: null,
|
|
1332
|
+
visibility: null,
|
|
1333
|
+
width: null,
|
|
1334
|
+
widths: null,
|
|
1335
|
+
wordSpacing: null,
|
|
1336
|
+
writingMode: null,
|
|
1337
|
+
x: null,
|
|
1338
|
+
x1: null,
|
|
1339
|
+
x2: null,
|
|
1340
|
+
xChannelSelector: null,
|
|
1341
|
+
xHeight: R,
|
|
1342
|
+
y: null,
|
|
1343
|
+
y1: null,
|
|
1344
|
+
y2: null,
|
|
1345
|
+
yChannelSelector: null,
|
|
1346
|
+
z: null,
|
|
1347
|
+
zoomAndPan: null
|
|
1348
|
+
},
|
|
1349
|
+
space: "svg",
|
|
1350
|
+
transform: q
|
|
1351
|
+
}), ie = G({
|
|
1352
|
+
properties: {
|
|
1353
|
+
xLinkActuate: null,
|
|
1354
|
+
xLinkArcRole: null,
|
|
1355
|
+
xLinkHref: null,
|
|
1356
|
+
xLinkRole: null,
|
|
1357
|
+
xLinkShow: null,
|
|
1358
|
+
xLinkTitle: null,
|
|
1359
|
+
xLinkType: null
|
|
1360
|
+
},
|
|
1361
|
+
space: "xlink",
|
|
1362
|
+
transform(e, t) {
|
|
1363
|
+
return "xlink:" + t.slice(5).toLowerCase();
|
|
1364
|
+
}
|
|
1365
|
+
}), ae = G({
|
|
1366
|
+
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
1367
|
+
properties: {
|
|
1368
|
+
xmlnsXLink: null,
|
|
1369
|
+
xmlns: null
|
|
1370
|
+
},
|
|
1371
|
+
space: "xmlns",
|
|
1372
|
+
transform: J
|
|
1373
|
+
}), oe = G({
|
|
1374
|
+
properties: {
|
|
1375
|
+
xmlBase: null,
|
|
1376
|
+
xmlLang: null,
|
|
1377
|
+
xmlSpace: null
|
|
1378
|
+
},
|
|
1379
|
+
space: "xml",
|
|
1380
|
+
transform(e, t) {
|
|
1381
|
+
return "xml:" + t.slice(3).toLowerCase();
|
|
1382
|
+
}
|
|
1383
|
+
}), se = /[A-Z]/g, ce = /-[a-z]/g, le = /^data[-\w.:]+$/i;
|
|
1384
|
+
function ue(e, t) {
|
|
1385
|
+
let n = M(t), r = t, i = N;
|
|
1386
|
+
if (n in e.normal) return e.property[e.normal[n]];
|
|
1387
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && le.test(t)) {
|
|
1388
|
+
if (t.charAt(4) === "-") {
|
|
1389
|
+
let e = t.slice(5).replace(ce, fe);
|
|
1390
|
+
r = "data" + e.charAt(0).toUpperCase() + e.slice(1);
|
|
1391
|
+
} else {
|
|
1392
|
+
let e = t.slice(4);
|
|
1393
|
+
if (!ce.test(e)) {
|
|
1394
|
+
let n = e.replace(se, de);
|
|
1395
|
+
n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
i = W;
|
|
1399
|
+
}
|
|
1400
|
+
return new i(r, t);
|
|
1401
|
+
}
|
|
1402
|
+
function de(e) {
|
|
1403
|
+
return "-" + e.toLowerCase();
|
|
1404
|
+
}
|
|
1405
|
+
function fe(e) {
|
|
1406
|
+
return e.charAt(1).toUpperCase();
|
|
1407
|
+
}
|
|
1408
|
+
//#endregion
|
|
1409
|
+
//#region node_modules/property-information/index.js
|
|
1410
|
+
var pe = j([
|
|
1411
|
+
K,
|
|
1412
|
+
ne,
|
|
1413
|
+
ie,
|
|
1414
|
+
ae,
|
|
1415
|
+
oe
|
|
1416
|
+
], "html"), me = j([
|
|
1417
|
+
K,
|
|
1418
|
+
re,
|
|
1419
|
+
ie,
|
|
1420
|
+
ae,
|
|
1421
|
+
oe
|
|
1422
|
+
], "svg");
|
|
1423
|
+
//#endregion
|
|
1424
|
+
//#region node_modules/comma-separated-tokens/index.js
|
|
1425
|
+
function he(e) {
|
|
1426
|
+
let t = [], n = String(e || ""), r = n.indexOf(","), i = 0, a = !1;
|
|
1427
|
+
for (; !a;) {
|
|
1428
|
+
r === -1 && (r = n.length, a = !0);
|
|
1429
|
+
let e = n.slice(i, r).trim();
|
|
1430
|
+
(e || !a) && t.push(e), i = r + 1, r = n.indexOf(",", i);
|
|
1431
|
+
}
|
|
1432
|
+
return t;
|
|
1433
|
+
}
|
|
1434
|
+
//#endregion
|
|
1435
|
+
//#region node_modules/hast-util-parse-selector/lib/index.js
|
|
1436
|
+
var ge = /[#.]/g;
|
|
1437
|
+
function _e(e, t) {
|
|
1438
|
+
let n = e || "", r = {}, i = 0, a, o;
|
|
1439
|
+
for (; i < n.length;) {
|
|
1440
|
+
ge.lastIndex = i;
|
|
1441
|
+
let e = ge.exec(n), t = n.slice(i, e ? e.index : n.length);
|
|
1442
|
+
t && (a ? a === "#" ? r.id = t : Array.isArray(r.className) ? r.className.push(t) : r.className = [t] : o = t, i += t.length), e && (a = e[0], i++);
|
|
1443
|
+
}
|
|
1444
|
+
return {
|
|
1445
|
+
type: "element",
|
|
1446
|
+
tagName: o || t || "div",
|
|
1447
|
+
properties: r,
|
|
1448
|
+
children: []
|
|
1449
|
+
};
|
|
1450
|
+
}
|
|
1451
|
+
//#endregion
|
|
1452
|
+
//#region node_modules/space-separated-tokens/index.js
|
|
1453
|
+
function ve(e) {
|
|
1454
|
+
let t = String(e || "").trim();
|
|
1455
|
+
return t ? t.split(/[ \t\n\r\f]+/g) : [];
|
|
1456
|
+
}
|
|
1457
|
+
//#endregion
|
|
1458
|
+
//#region node_modules/hastscript/lib/create-h.js
|
|
1459
|
+
function ye(e, t, n) {
|
|
1460
|
+
let r = n ? Te(n) : void 0;
|
|
1461
|
+
function i(n, i, ...a) {
|
|
1462
|
+
let o;
|
|
1463
|
+
if (n == null) {
|
|
1464
|
+
o = {
|
|
1465
|
+
type: "root",
|
|
1466
|
+
children: []
|
|
1467
|
+
};
|
|
1468
|
+
let e = i;
|
|
1469
|
+
a.unshift(e);
|
|
1470
|
+
} else {
|
|
1471
|
+
o = _e(n, t);
|
|
1472
|
+
let s = o.tagName.toLowerCase(), c = r ? r.get(s) : void 0;
|
|
1473
|
+
if (o.tagName = c || s, be(i)) a.unshift(i);
|
|
1474
|
+
else for (let [t, n] of Object.entries(i)) xe(e, o.properties, t, n);
|
|
1475
|
+
}
|
|
1476
|
+
for (let e of a) Se(o.children, e);
|
|
1477
|
+
return o.type === "element" && o.tagName === "template" && (o.content = {
|
|
1478
|
+
type: "root",
|
|
1479
|
+
children: o.children
|
|
1480
|
+
}, o.children = []), o;
|
|
1481
|
+
}
|
|
1482
|
+
return i;
|
|
1483
|
+
}
|
|
1484
|
+
function be(e) {
|
|
1485
|
+
if (typeof e != "object" || !e || Array.isArray(e)) return !0;
|
|
1486
|
+
if (typeof e.type != "string") return !1;
|
|
1487
|
+
let t = e, n = Object.keys(e);
|
|
1488
|
+
for (let e of n) {
|
|
1489
|
+
let n = t[e];
|
|
1490
|
+
if (n && typeof n == "object") {
|
|
1491
|
+
if (!Array.isArray(n)) return !0;
|
|
1492
|
+
let e = n;
|
|
1493
|
+
for (let t of e) if (typeof t != "number" && typeof t != "string") return !0;
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
return !!("children" in e && Array.isArray(e.children));
|
|
1497
|
+
}
|
|
1498
|
+
function xe(e, t, n, r) {
|
|
1499
|
+
let i = ue(e, n), a;
|
|
1500
|
+
if (r != null) {
|
|
1501
|
+
if (typeof r == "number") {
|
|
1502
|
+
if (Number.isNaN(r)) return;
|
|
1503
|
+
a = r;
|
|
1504
|
+
} else a = typeof r == "boolean" ? r : typeof r == "string" ? i.spaceSeparated ? ve(r) : i.commaSeparated ? he(r) : i.commaOrSpaceSeparated ? ve(he(r).join(" ")) : Ce(i, i.property, r) : Array.isArray(r) ? [...r] : i.property === "style" ? we(r) : String(r);
|
|
1505
|
+
if (Array.isArray(a)) {
|
|
1506
|
+
let e = [];
|
|
1507
|
+
for (let t of a) e.push(Ce(i, i.property, t));
|
|
1508
|
+
a = e;
|
|
1509
|
+
}
|
|
1510
|
+
i.property === "className" && Array.isArray(t.className) && (a = t.className.concat(a)), t[i.property] = a;
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
function Se(e, t) {
|
|
1514
|
+
if (t != null) if (typeof t == "number" || typeof t == "string") e.push({
|
|
1515
|
+
type: "text",
|
|
1516
|
+
value: String(t)
|
|
1517
|
+
});
|
|
1518
|
+
else if (Array.isArray(t)) for (let n of t) Se(e, n);
|
|
1519
|
+
else if (typeof t == "object" && "type" in t) t.type === "root" ? Se(e, t.children) : e.push(t);
|
|
1520
|
+
else throw Error("Expected node, nodes, or string, got `" + t + "`");
|
|
1521
|
+
}
|
|
1522
|
+
function Ce(e, t, n) {
|
|
1523
|
+
if (typeof n == "string") {
|
|
1524
|
+
if (e.number && n && !Number.isNaN(Number(n))) return Number(n);
|
|
1525
|
+
if ((e.boolean || e.overloadedBoolean) && (n === "" || M(n) === M(t))) return !0;
|
|
1526
|
+
}
|
|
1527
|
+
return n;
|
|
1528
|
+
}
|
|
1529
|
+
function we(e) {
|
|
1530
|
+
let t = [];
|
|
1531
|
+
for (let [n, r] of Object.entries(e)) t.push([n, r].join(": "));
|
|
1532
|
+
return t.join("; ");
|
|
1533
|
+
}
|
|
1534
|
+
function Te(e) {
|
|
1535
|
+
let t = /* @__PURE__ */ new Map();
|
|
1536
|
+
for (let n of e) t.set(n.toLowerCase(), n);
|
|
1537
|
+
return t;
|
|
1538
|
+
}
|
|
1539
|
+
//#endregion
|
|
1540
|
+
//#region node_modules/hastscript/lib/svg-case-sensitive-tag-names.js
|
|
1541
|
+
var Ee = /* @__PURE__ */ "altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath".split("."), De = ye(pe, "div");
|
|
1542
|
+
ye(me, "g", Ee);
|
|
1543
|
+
//#endregion
|
|
1544
|
+
//#region node_modules/character-entities-legacy/index.js
|
|
1545
|
+
var Oe = /* @__PURE__ */ "AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml".split("."), ke = {
|
|
1546
|
+
0: "�",
|
|
1547
|
+
128: "€",
|
|
1548
|
+
130: "‚",
|
|
1549
|
+
131: "ƒ",
|
|
1550
|
+
132: "„",
|
|
1551
|
+
133: "…",
|
|
1552
|
+
134: "†",
|
|
1553
|
+
135: "‡",
|
|
1554
|
+
136: "ˆ",
|
|
1555
|
+
137: "‰",
|
|
1556
|
+
138: "Š",
|
|
1557
|
+
139: "‹",
|
|
1558
|
+
140: "Œ",
|
|
1559
|
+
142: "Ž",
|
|
1560
|
+
145: "‘",
|
|
1561
|
+
146: "’",
|
|
1562
|
+
147: "“",
|
|
1563
|
+
148: "”",
|
|
1564
|
+
149: "•",
|
|
1565
|
+
150: "–",
|
|
1566
|
+
151: "—",
|
|
1567
|
+
152: "˜",
|
|
1568
|
+
153: "™",
|
|
1569
|
+
154: "š",
|
|
1570
|
+
155: "›",
|
|
1571
|
+
156: "œ",
|
|
1572
|
+
158: "ž",
|
|
1573
|
+
159: "Ÿ"
|
|
1574
|
+
};
|
|
1575
|
+
//#endregion
|
|
1576
|
+
//#region node_modules/is-decimal/index.js
|
|
1577
|
+
function Ae(e) {
|
|
1578
|
+
let t = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
1579
|
+
return t >= 48 && t <= 57;
|
|
1580
|
+
}
|
|
1581
|
+
//#endregion
|
|
1582
|
+
//#region node_modules/is-hexadecimal/index.js
|
|
1583
|
+
function je(e) {
|
|
1584
|
+
let t = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
1585
|
+
return t >= 97 && t <= 102 || t >= 65 && t <= 70 || t >= 48 && t <= 57;
|
|
1586
|
+
}
|
|
1587
|
+
//#endregion
|
|
1588
|
+
//#region node_modules/is-alphabetical/index.js
|
|
1589
|
+
function Me(e) {
|
|
1590
|
+
let t = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
1591
|
+
return t >= 97 && t <= 122 || t >= 65 && t <= 90;
|
|
1592
|
+
}
|
|
1593
|
+
//#endregion
|
|
1594
|
+
//#region node_modules/is-alphanumerical/index.js
|
|
1595
|
+
function Ne(e) {
|
|
1596
|
+
return Me(e) || Ae(e);
|
|
1597
|
+
}
|
|
1598
|
+
//#endregion
|
|
1599
|
+
//#region node_modules/decode-named-character-reference/index.dom.js
|
|
1600
|
+
var Pe = document.createElement("i");
|
|
1601
|
+
function Fe(e) {
|
|
1602
|
+
let t = "&" + e + ";";
|
|
1603
|
+
Pe.innerHTML = t;
|
|
1604
|
+
let n = Pe.textContent;
|
|
1605
|
+
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
|
|
1606
|
+
}
|
|
1607
|
+
//#endregion
|
|
1608
|
+
//#region node_modules/parse-entities/lib/index.js
|
|
1609
|
+
var Ie = [
|
|
1610
|
+
"",
|
|
1611
|
+
"Named character references must be terminated by a semicolon",
|
|
1612
|
+
"Numeric character references must be terminated by a semicolon",
|
|
1613
|
+
"Named character references cannot be empty",
|
|
1614
|
+
"Numeric character references cannot be empty",
|
|
1615
|
+
"Named character references must be known",
|
|
1616
|
+
"Numeric character references cannot be disallowed",
|
|
1617
|
+
"Numeric character references cannot be outside the permissible Unicode range"
|
|
1618
|
+
];
|
|
1619
|
+
function Le(e, t) {
|
|
1620
|
+
let n = t || {}, r = typeof n.additional == "string" ? n.additional.charCodeAt(0) : n.additional, i = [], a = 0, o = -1, s = "", c, l;
|
|
1621
|
+
n.position && ("start" in n.position || "indent" in n.position ? (l = n.position.indent, c = n.position.start) : c = n.position);
|
|
1622
|
+
let u = (c ? c.line : 0) || 1, d = (c ? c.column : 0) || 1, f = m(), p;
|
|
1623
|
+
for (a--; ++a <= e.length;) if (p === 10 && (d = (l ? l[o] : 0) || 1), p = e.charCodeAt(a), p === 38) {
|
|
1624
|
+
let t = e.charCodeAt(a + 1);
|
|
1625
|
+
if (t === 9 || t === 10 || t === 12 || t === 32 || t === 38 || t === 60 || Number.isNaN(t) || r && t === r) {
|
|
1626
|
+
s += String.fromCharCode(p), d++;
|
|
1627
|
+
continue;
|
|
1628
|
+
}
|
|
1629
|
+
let o = a + 1, c = o, l = o, u;
|
|
1630
|
+
if (t === 35) {
|
|
1631
|
+
l = ++c;
|
|
1632
|
+
let t = e.charCodeAt(l);
|
|
1633
|
+
t === 88 || t === 120 ? (u = "hexadecimal", l = ++c) : u = "decimal";
|
|
1634
|
+
} else u = "named";
|
|
1635
|
+
let _ = "", v = "", y = "", b = u === "named" ? Ne : u === "decimal" ? Ae : je;
|
|
1636
|
+
for (l--; ++l <= e.length;) {
|
|
1637
|
+
let t = e.charCodeAt(l);
|
|
1638
|
+
if (!b(t)) break;
|
|
1639
|
+
y += String.fromCharCode(t), u === "named" && Oe.includes(y) && (_ = y, v = Fe(y));
|
|
1640
|
+
}
|
|
1641
|
+
let x = e.charCodeAt(l) === 59;
|
|
1642
|
+
if (x) {
|
|
1643
|
+
l++;
|
|
1644
|
+
let e = u === "named" ? Fe(y) : !1;
|
|
1645
|
+
e && (_ = y, v = e);
|
|
1646
|
+
}
|
|
1647
|
+
let S = 1 + l - o, C = "";
|
|
1648
|
+
if (!(!x && n.nonTerminated === !1)) if (!y) u !== "named" && h(4, S);
|
|
1649
|
+
else if (u === "named") {
|
|
1650
|
+
if (x && !v) h(5, 1);
|
|
1651
|
+
else if (_ !== y && (l = c + _.length, S = 1 + l - c, x = !1), !x) {
|
|
1652
|
+
let t = _ ? 1 : 3;
|
|
1653
|
+
if (n.attribute) {
|
|
1654
|
+
let n = e.charCodeAt(l);
|
|
1655
|
+
n === 61 ? (h(t, S), v = "") : Ne(n) ? v = "" : h(t, S);
|
|
1656
|
+
} else h(t, S);
|
|
1657
|
+
}
|
|
1658
|
+
C = v;
|
|
1659
|
+
} else {
|
|
1660
|
+
x || h(2, S);
|
|
1661
|
+
let e = Number.parseInt(y, u === "hexadecimal" ? 16 : 10);
|
|
1662
|
+
if (Re(e)) h(7, S), C = "�";
|
|
1663
|
+
else if (e in ke) h(6, S), C = ke[e];
|
|
1664
|
+
else {
|
|
1665
|
+
let t = "";
|
|
1666
|
+
ze(e) && h(6, S), e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 | 55296), e = 56320 | e & 1023), C = t + String.fromCharCode(e);
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
if (C) {
|
|
1670
|
+
g(), f = m(), a = l - 1, d += l - o + 1, i.push(C);
|
|
1671
|
+
let t = m();
|
|
1672
|
+
t.offset++, n.reference && n.reference.call(n.referenceContext || void 0, C, {
|
|
1673
|
+
start: f,
|
|
1674
|
+
end: t
|
|
1675
|
+
}, e.slice(o - 1, l)), f = t;
|
|
1676
|
+
} else y = e.slice(o - 1, l), s += y, d += y.length, a = l - 1;
|
|
1677
|
+
} else p === 10 && (u++, o++, d = 0), Number.isNaN(p) ? g() : (s += String.fromCharCode(p), d++);
|
|
1678
|
+
return i.join("");
|
|
1679
|
+
function m() {
|
|
1680
|
+
return {
|
|
1681
|
+
line: u,
|
|
1682
|
+
column: d,
|
|
1683
|
+
offset: a + ((c ? c.offset : 0) || 0)
|
|
1684
|
+
};
|
|
1685
|
+
}
|
|
1686
|
+
function h(e, t) {
|
|
1687
|
+
let r;
|
|
1688
|
+
n.warning && (r = m(), r.column += t, r.offset += t, n.warning.call(n.warningContext || void 0, Ie[e], r, e));
|
|
1689
|
+
}
|
|
1690
|
+
function g() {
|
|
1691
|
+
s &&= (i.push(s), n.text && n.text.call(n.textContext || void 0, s, {
|
|
1692
|
+
start: f,
|
|
1693
|
+
end: m()
|
|
1694
|
+
}), "");
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
function Re(e) {
|
|
1698
|
+
return e >= 55296 && e <= 57343 || e > 1114111;
|
|
1699
|
+
}
|
|
1700
|
+
function ze(e) {
|
|
1701
|
+
return e >= 1 && e <= 8 || e === 11 || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || (e & 65535) == 65535 || (e & 65535) == 65534;
|
|
1702
|
+
}
|
|
1703
|
+
//#endregion
|
|
1704
|
+
//#region node_modules/refractor/lib/prism-core.js
|
|
1705
|
+
var Be = 0, Y = {}, X = {
|
|
1706
|
+
util: {
|
|
1707
|
+
type: function(e) {
|
|
1708
|
+
return Object.prototype.toString.call(e).slice(8, -1);
|
|
1709
|
+
},
|
|
1710
|
+
objId: function(e) {
|
|
1711
|
+
return e.__id || Object.defineProperty(e, "__id", { value: ++Be }), e.__id;
|
|
1712
|
+
},
|
|
1713
|
+
clone: function e(t, n) {
|
|
1714
|
+
n ||= {};
|
|
1715
|
+
var r, i;
|
|
1716
|
+
switch (X.util.type(t)) {
|
|
1717
|
+
case "Object":
|
|
1718
|
+
if (i = X.util.objId(t), n[i]) return n[i];
|
|
1719
|
+
for (var a in r = {}, n[i] = r, t) t.hasOwnProperty(a) && (r[a] = e(t[a], n));
|
|
1720
|
+
return r;
|
|
1721
|
+
case "Array": return i = X.util.objId(t), n[i] ? n[i] : (r = [], n[i] = r, t.forEach(function(t, i) {
|
|
1722
|
+
r[i] = e(t, n);
|
|
1723
|
+
}), r);
|
|
1724
|
+
default: return t;
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
languages: {
|
|
1729
|
+
plain: Y,
|
|
1730
|
+
plaintext: Y,
|
|
1731
|
+
text: Y,
|
|
1732
|
+
txt: Y,
|
|
1733
|
+
extend: function(e, t) {
|
|
1734
|
+
var n = X.util.clone(X.languages[e]);
|
|
1735
|
+
for (var r in t) n[r] = t[r];
|
|
1736
|
+
return n;
|
|
1737
|
+
},
|
|
1738
|
+
insertBefore: function(e, t, n, r) {
|
|
1739
|
+
r ||= X.languages;
|
|
1740
|
+
var i = r[e], a = {};
|
|
1741
|
+
for (var o in i) if (i.hasOwnProperty(o)) {
|
|
1742
|
+
if (o == t) for (var s in n) n.hasOwnProperty(s) && (a[s] = n[s]);
|
|
1743
|
+
n.hasOwnProperty(o) || (a[o] = i[o]);
|
|
1744
|
+
}
|
|
1745
|
+
var c = r[e];
|
|
1746
|
+
return r[e] = a, X.languages.DFS(X.languages, function(t, n) {
|
|
1747
|
+
n === c && t != e && (this[t] = a);
|
|
1748
|
+
}), a;
|
|
1749
|
+
},
|
|
1750
|
+
DFS: function e(t, n, r, i) {
|
|
1751
|
+
i ||= {};
|
|
1752
|
+
var a = X.util.objId;
|
|
1753
|
+
for (var o in t) if (t.hasOwnProperty(o)) {
|
|
1754
|
+
n.call(t, o, t[o], r || o);
|
|
1755
|
+
var s = t[o], c = X.util.type(s);
|
|
1756
|
+
c === "Object" && !i[a(s)] ? (i[a(s)] = !0, e(s, n, null, i)) : c === "Array" && !i[a(s)] && (i[a(s)] = !0, e(s, n, o, i));
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
},
|
|
1760
|
+
plugins: {},
|
|
1761
|
+
highlight: function(e, t, n) {
|
|
1762
|
+
var r = {
|
|
1763
|
+
code: e,
|
|
1764
|
+
grammar: t,
|
|
1765
|
+
language: n
|
|
1766
|
+
};
|
|
1767
|
+
if (X.hooks.run("before-tokenize", r), !r.grammar) throw Error("The language \"" + r.language + "\" has no grammar.");
|
|
1768
|
+
return r.tokens = X.tokenize(r.code, r.grammar), X.hooks.run("after-tokenize", r), Z.stringify(X.util.encode(r.tokens), r.language);
|
|
1769
|
+
},
|
|
1770
|
+
tokenize: function(e, t) {
|
|
1771
|
+
var n = t.rest;
|
|
1772
|
+
if (n) {
|
|
1773
|
+
for (var r in n) t[r] = n[r];
|
|
1774
|
+
delete t.rest;
|
|
1775
|
+
}
|
|
1776
|
+
var i = new Ue();
|
|
1777
|
+
return Q(i, i.head, e), He(e, i, t, i.head, 0), Ge(i);
|
|
1778
|
+
},
|
|
1779
|
+
hooks: {
|
|
1780
|
+
all: {},
|
|
1781
|
+
add: function(e, t) {
|
|
1782
|
+
var n = X.hooks.all;
|
|
1783
|
+
n[e] = n[e] || [], n[e].push(t);
|
|
1784
|
+
},
|
|
1785
|
+
run: function(e, t) {
|
|
1786
|
+
var n = X.hooks.all[e];
|
|
1787
|
+
if (!(!n || !n.length)) for (var r = 0, i; i = n[r++];) i(t);
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
Token: Z
|
|
1791
|
+
};
|
|
1792
|
+
function Z(e, t, n, r) {
|
|
1793
|
+
this.type = e, this.content = t, this.alias = n, this.length = (r || "").length | 0;
|
|
1794
|
+
}
|
|
1795
|
+
function Ve(e, t, n, r) {
|
|
1796
|
+
e.lastIndex = t;
|
|
1797
|
+
var i = e.exec(n);
|
|
1798
|
+
if (i && r && i[1]) {
|
|
1799
|
+
var a = i[1].length;
|
|
1800
|
+
i.index += a, i[0] = i[0].slice(a);
|
|
1801
|
+
}
|
|
1802
|
+
return i;
|
|
1803
|
+
}
|
|
1804
|
+
function He(e, t, n, r, i, a) {
|
|
1805
|
+
for (var o in n) if (!(!n.hasOwnProperty(o) || !n[o])) {
|
|
1806
|
+
var s = n[o];
|
|
1807
|
+
s = Array.isArray(s) ? s : [s];
|
|
1808
|
+
for (var c = 0; c < s.length; ++c) {
|
|
1809
|
+
if (a && a.cause == o + "," + c) return;
|
|
1810
|
+
var l = s[c], u = l.inside, d = !!l.lookbehind, f = !!l.greedy, p = l.alias;
|
|
1811
|
+
if (f && !l.pattern.global) {
|
|
1812
|
+
var m = l.pattern.toString().match(/[imsuy]*$/)[0];
|
|
1813
|
+
l.pattern = RegExp(l.pattern.source, m + "g");
|
|
1814
|
+
}
|
|
1815
|
+
for (var h = l.pattern || l, g = r.next, _ = i; g !== t.tail && !(a && _ >= a.reach); _ += g.value.length, g = g.next) {
|
|
1816
|
+
var v = g.value;
|
|
1817
|
+
if (t.length > e.length) return;
|
|
1818
|
+
if (!(v instanceof Z)) {
|
|
1819
|
+
var y = 1, b;
|
|
1820
|
+
if (f) {
|
|
1821
|
+
if (b = Ve(h, _, e, d), !b || b.index >= e.length) break;
|
|
1822
|
+
var x = b.index, S = b.index + b[0].length, C = _;
|
|
1823
|
+
for (C += g.value.length; x >= C;) g = g.next, C += g.value.length;
|
|
1824
|
+
if (C -= g.value.length, _ = C, g.value instanceof Z) continue;
|
|
1825
|
+
for (var w = g; w !== t.tail && (C < S || typeof w.value == "string"); w = w.next) y++, C += w.value.length;
|
|
1826
|
+
y--, v = e.slice(_, C), b.index -= _;
|
|
1827
|
+
} else if (b = Ve(h, 0, v, d), !b) continue;
|
|
1828
|
+
var x = b.index, T = b[0], E = v.slice(0, x), D = v.slice(x + T.length), O = _ + v.length;
|
|
1829
|
+
a && O > a.reach && (a.reach = O);
|
|
1830
|
+
var k = g.prev;
|
|
1831
|
+
E && (k = Q(t, k, E), _ += E.length), We(t, k, y);
|
|
1832
|
+
var A = new Z(o, u ? X.tokenize(T, u) : T, p, T);
|
|
1833
|
+
if (g = Q(t, k, A), D && Q(t, g, D), y > 1) {
|
|
1834
|
+
var j = {
|
|
1835
|
+
cause: o + "," + c,
|
|
1836
|
+
reach: O
|
|
1837
|
+
};
|
|
1838
|
+
He(e, t, n, g.prev, _, j), a && j.reach > a.reach && (a.reach = j.reach);
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
function Ue() {
|
|
1846
|
+
var e = {
|
|
1847
|
+
value: null,
|
|
1848
|
+
prev: null,
|
|
1849
|
+
next: null
|
|
1850
|
+
}, t = {
|
|
1851
|
+
value: null,
|
|
1852
|
+
prev: e,
|
|
1853
|
+
next: null
|
|
1854
|
+
};
|
|
1855
|
+
e.next = t, this.head = e, this.tail = t, this.length = 0;
|
|
1856
|
+
}
|
|
1857
|
+
function Q(e, t, n) {
|
|
1858
|
+
var r = t.next, i = {
|
|
1859
|
+
value: n,
|
|
1860
|
+
prev: t,
|
|
1861
|
+
next: r
|
|
1862
|
+
};
|
|
1863
|
+
return t.next = i, r.prev = i, e.length++, i;
|
|
1864
|
+
}
|
|
1865
|
+
function We(e, t, n) {
|
|
1866
|
+
for (var r = t.next, i = 0; i < n && r !== e.tail; i++) r = r.next;
|
|
1867
|
+
t.next = r, r.prev = t, e.length -= i;
|
|
1868
|
+
}
|
|
1869
|
+
function Ge(e) {
|
|
1870
|
+
for (var t = [], n = e.head.next; n !== e.tail;) t.push(n.value), n = n.next;
|
|
1871
|
+
return t;
|
|
1872
|
+
}
|
|
1873
|
+
var Ke = X;
|
|
1874
|
+
//#endregion
|
|
1875
|
+
//#region node_modules/refractor/lib/core.js
|
|
1876
|
+
function qe() {}
|
|
1877
|
+
qe.prototype = Ke;
|
|
1878
|
+
var $ = new qe();
|
|
1879
|
+
$.highlight = Je, $.register = Ye, $.alias = Xe, $.registered = Ze, $.listLanguages = Qe, $.util.encode = et, $.Token.stringify = $e;
|
|
1880
|
+
function Je(e, t) {
|
|
1881
|
+
if (typeof e != "string") throw TypeError("Expected `string` for `value`, got `" + e + "`");
|
|
1882
|
+
let n, r;
|
|
1883
|
+
/* c8 ignore next 2 */
|
|
1884
|
+
if (t && typeof t == "object") n = t;
|
|
1885
|
+
else {
|
|
1886
|
+
if (r = t, typeof r != "string") throw TypeError("Expected `string` for `name`, got `" + r + "`");
|
|
1887
|
+
if (Object.hasOwn($.languages, r)) n = $.languages[r];
|
|
1888
|
+
else throw Error("Unknown language: `" + r + "` is not registered");
|
|
1889
|
+
}
|
|
1890
|
+
return {
|
|
1891
|
+
type: "root",
|
|
1892
|
+
children: Ke.highlight.call($, e, n, r)
|
|
1893
|
+
};
|
|
1894
|
+
}
|
|
1895
|
+
function Ye(e) {
|
|
1896
|
+
if (typeof e != "function" || !e.displayName) throw Error("Expected `function` for `syntax`, got `" + e + "`");
|
|
1897
|
+
Object.hasOwn($.languages, e.displayName) || e($);
|
|
1898
|
+
}
|
|
1899
|
+
function Xe(e, t) {
|
|
1900
|
+
let n = $.languages, r = {};
|
|
1901
|
+
typeof e == "string" ? t && (r[e] = t) : r = e;
|
|
1902
|
+
let i;
|
|
1903
|
+
for (i in r) if (Object.hasOwn(r, i)) {
|
|
1904
|
+
let e = r[i], t = typeof e == "string" ? [e] : e, a = -1;
|
|
1905
|
+
for (; ++a < t.length;) n[t[a]] = n[i];
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
function Ze(e) {
|
|
1909
|
+
if (typeof e != "string") throw TypeError("Expected `string` for `aliasOrLanguage`, got `" + e + "`");
|
|
1910
|
+
return Object.hasOwn($.languages, e);
|
|
1911
|
+
}
|
|
1912
|
+
function Qe() {
|
|
1913
|
+
let e = $.languages, t = [], n;
|
|
1914
|
+
for (n in e) Object.hasOwn(e, n) && typeof e[n] == "object" && t.push(n);
|
|
1915
|
+
return t;
|
|
1916
|
+
}
|
|
1917
|
+
function $e(e, t) {
|
|
1918
|
+
if (typeof e == "string") return {
|
|
1919
|
+
type: "text",
|
|
1920
|
+
value: e
|
|
1921
|
+
};
|
|
1922
|
+
if (Array.isArray(e)) {
|
|
1923
|
+
let n = [], r = -1;
|
|
1924
|
+
for (; ++r < e.length;) e[r] !== null && e[r] !== void 0 && e[r] !== "" && n.push($e(e[r], t));
|
|
1925
|
+
return n;
|
|
1926
|
+
}
|
|
1927
|
+
let n = {
|
|
1928
|
+
attributes: {},
|
|
1929
|
+
classes: ["token", e.type],
|
|
1930
|
+
content: $e(e.content, t),
|
|
1931
|
+
language: t,
|
|
1932
|
+
tag: "span",
|
|
1933
|
+
type: e.type
|
|
1934
|
+
};
|
|
1935
|
+
return e.alias && n.classes.push(...typeof e.alias == "string" ? [e.alias] : e.alias), $.hooks.run("wrap", n), De(n.tag + "." + n.classes.join("."), tt(n.attributes), n.content);
|
|
1936
|
+
}
|
|
1937
|
+
function et(e) {
|
|
1938
|
+
return e;
|
|
1939
|
+
}
|
|
1940
|
+
function tt(e) {
|
|
1941
|
+
let t;
|
|
1942
|
+
for (t in e) Object.hasOwn(e, t) && (e[t] = Le(e[t]));
|
|
1943
|
+
return e;
|
|
1944
|
+
}
|
|
1945
|
+
//#endregion
|
|
1946
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/prism-light.js
|
|
1947
|
+
var nt = k($, {});
|
|
1948
|
+
nt.registerLanguage = function(e, t) {
|
|
1949
|
+
return $.register(t);
|
|
1950
|
+
}, nt.alias = function(e, t) {
|
|
1951
|
+
return $.alias(e, t);
|
|
1952
|
+
};
|
|
1953
|
+
//#endregion
|
|
1954
|
+
export { nt as default };
|