@oxide/react-asciidoc 0.2.9--canary.782d600.0 → 0.2.9--canary.ee94c35.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/react-asciidoc.js +744 -713
- package/dist/react-asciidoc.umd.cjs +13 -13
- package/dist/types/index.d.ts +2 -2
- package/dist/types/utils/prepareDocument.d.ts +3 -3
- package/package.json +1 -1
package/dist/react-asciidoc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import R from "html-react-parser";
|
|
2
|
-
import { default as
|
|
3
|
-
import ee, { useContext as
|
|
2
|
+
import { default as Lt } from "html-react-parser";
|
|
3
|
+
import ee, { useContext as I, Fragment as Nr, createElement as $, createContext as Pe } from "react";
|
|
4
4
|
var Kr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, nr = { exports: {} }, Q = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
@@ -16,18 +16,18 @@ function Ie() {
|
|
|
16
16
|
if (Xr)
|
|
17
17
|
return Q;
|
|
18
18
|
Xr = 1;
|
|
19
|
-
var r = ee, a = Symbol.for("react.element"),
|
|
20
|
-
function
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
for (
|
|
24
|
-
|
|
25
|
-
if (
|
|
26
|
-
for (
|
|
27
|
-
|
|
28
|
-
return { $$typeof: a, type:
|
|
19
|
+
var r = ee, a = Symbol.for("react.element"), s = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
20
|
+
function i(d, m, E) {
|
|
21
|
+
var b, p = {}, f = null, q = null;
|
|
22
|
+
E !== void 0 && (f = "" + E), m.key !== void 0 && (f = "" + m.key), m.ref !== void 0 && (q = m.ref);
|
|
23
|
+
for (b in m)
|
|
24
|
+
l.call(m, b) && !u.hasOwnProperty(b) && (p[b] = m[b]);
|
|
25
|
+
if (d && d.defaultProps)
|
|
26
|
+
for (b in m = d.defaultProps, m)
|
|
27
|
+
p[b] === void 0 && (p[b] = m[b]);
|
|
28
|
+
return { $$typeof: a, type: d, key: f, ref: q, props: p, _owner: c.current };
|
|
29
29
|
}
|
|
30
|
-
return Q.Fragment =
|
|
30
|
+
return Q.Fragment = s, Q.jsx = i, Q.jsxs = i, Q;
|
|
31
31
|
}
|
|
32
32
|
var rr = {};
|
|
33
33
|
/**
|
|
@@ -40,44 +40,44 @@ var rr = {};
|
|
|
40
40
|
* LICENSE file in the root directory of this source tree.
|
|
41
41
|
*/
|
|
42
42
|
var Qr;
|
|
43
|
-
function
|
|
43
|
+
function Be() {
|
|
44
44
|
return Qr || (Qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
-
var r = ee, a = Symbol.for("react.element"),
|
|
46
|
-
function
|
|
45
|
+
var r = ee, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), d = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), N = Symbol.iterator, T = "@@iterator";
|
|
46
|
+
function J(e) {
|
|
47
47
|
if (e === null || typeof e != "object")
|
|
48
48
|
return null;
|
|
49
|
-
var
|
|
50
|
-
return typeof
|
|
49
|
+
var o = N && e[N] || e[T];
|
|
50
|
+
return typeof o == "function" ? o : null;
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
function
|
|
52
|
+
var P = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
|
+
function D(e) {
|
|
54
54
|
{
|
|
55
|
-
for (var
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), h = 1; h < o; h++)
|
|
56
|
+
n[h - 1] = arguments[h];
|
|
57
|
+
z("error", e, n);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function z(e, o, n) {
|
|
61
61
|
{
|
|
62
|
-
var
|
|
63
|
-
w !== "" && (
|
|
64
|
-
var
|
|
62
|
+
var h = P.ReactDebugCurrentFrame, w = h.getStackAddendum();
|
|
63
|
+
w !== "" && (o += "%s", n = n.concat([w]));
|
|
64
|
+
var x = n.map(function(y) {
|
|
65
65
|
return String(y);
|
|
66
66
|
});
|
|
67
|
-
|
|
67
|
+
x.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, x);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
var Z = !1, tr = !1, oe = !1, ce = !1, ne = !1,
|
|
71
|
-
|
|
70
|
+
var Z = !1, tr = !1, oe = !1, ce = !1, ne = !1, Dr;
|
|
71
|
+
Dr = Symbol.for("react.module.reference");
|
|
72
72
|
function ue(e) {
|
|
73
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
73
|
+
return !!(typeof e == "string" || typeof e == "function" || e === l || e === u || ne || e === c || e === E || e === b || ce || e === q || Z || tr || oe || typeof e == "object" && e !== null && (e.$$typeof === f || e.$$typeof === p || e.$$typeof === i || e.$$typeof === d || e.$$typeof === m || e.$$typeof === Dr || e.getModuleId !== void 0));
|
|
74
74
|
}
|
|
75
|
-
function pe(e,
|
|
76
|
-
var
|
|
77
|
-
if (
|
|
78
|
-
return
|
|
79
|
-
var w =
|
|
80
|
-
return w !== "" ?
|
|
75
|
+
function pe(e, o, n) {
|
|
76
|
+
var h = e.displayName;
|
|
77
|
+
if (h)
|
|
78
|
+
return h;
|
|
79
|
+
var w = o.displayName || o.name || "";
|
|
80
|
+
return w !== "" ? n + "(" + w + ")" : n;
|
|
81
81
|
}
|
|
82
82
|
function Sr(e) {
|
|
83
83
|
return e.displayName || "Context";
|
|
@@ -85,41 +85,41 @@ function Ve() {
|
|
|
85
85
|
function B(e) {
|
|
86
86
|
if (e == null)
|
|
87
87
|
return null;
|
|
88
|
-
if (typeof e.tag == "number" &&
|
|
88
|
+
if (typeof e.tag == "number" && D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
89
89
|
return e.displayName || e.name || null;
|
|
90
90
|
if (typeof e == "string")
|
|
91
91
|
return e;
|
|
92
92
|
switch (e) {
|
|
93
|
-
case i:
|
|
94
|
-
return "Fragment";
|
|
95
93
|
case l:
|
|
94
|
+
return "Fragment";
|
|
95
|
+
case s:
|
|
96
96
|
return "Portal";
|
|
97
|
-
case
|
|
97
|
+
case u:
|
|
98
98
|
return "Profiler";
|
|
99
|
-
case
|
|
99
|
+
case c:
|
|
100
100
|
return "StrictMode";
|
|
101
|
-
case
|
|
101
|
+
case E:
|
|
102
102
|
return "Suspense";
|
|
103
|
-
case
|
|
103
|
+
case b:
|
|
104
104
|
return "SuspenseList";
|
|
105
105
|
}
|
|
106
106
|
if (typeof e == "object")
|
|
107
107
|
switch (e.$$typeof) {
|
|
108
|
-
case
|
|
109
|
-
var
|
|
110
|
-
return Sr(
|
|
111
|
-
case
|
|
112
|
-
var
|
|
113
|
-
return Sr(
|
|
114
|
-
case
|
|
108
|
+
case d:
|
|
109
|
+
var o = e;
|
|
110
|
+
return Sr(o) + ".Consumer";
|
|
111
|
+
case i:
|
|
112
|
+
var n = e;
|
|
113
|
+
return Sr(n._context) + ".Provider";
|
|
114
|
+
case m:
|
|
115
115
|
return pe(e, e.render, "ForwardRef");
|
|
116
|
-
case
|
|
117
|
-
var
|
|
118
|
-
return
|
|
119
|
-
case
|
|
120
|
-
var w = e,
|
|
116
|
+
case p:
|
|
117
|
+
var h = e.displayName || null;
|
|
118
|
+
return h !== null ? h : B(e.type) || "Memo";
|
|
119
|
+
case f: {
|
|
120
|
+
var w = e, x = w._payload, y = w._init;
|
|
121
121
|
try {
|
|
122
|
-
return B(y(
|
|
122
|
+
return B(y(x));
|
|
123
123
|
} catch {
|
|
124
124
|
return null;
|
|
125
125
|
}
|
|
@@ -127,7 +127,7 @@ function Ve() {
|
|
|
127
127
|
}
|
|
128
128
|
return null;
|
|
129
129
|
}
|
|
130
|
-
var
|
|
130
|
+
var H = Object.assign, K = 0, Rr, Tr, Cr, Lr, Or, _r, Fr;
|
|
131
131
|
function Ur() {
|
|
132
132
|
}
|
|
133
133
|
Ur.__reactDisabledLog = !0;
|
|
@@ -163,41 +163,41 @@ function Ve() {
|
|
|
163
163
|
writable: !0
|
|
164
164
|
};
|
|
165
165
|
Object.defineProperties(console, {
|
|
166
|
-
log:
|
|
166
|
+
log: H({}, e, {
|
|
167
167
|
value: Rr
|
|
168
168
|
}),
|
|
169
|
-
info:
|
|
169
|
+
info: H({}, e, {
|
|
170
170
|
value: Tr
|
|
171
171
|
}),
|
|
172
|
-
warn:
|
|
172
|
+
warn: H({}, e, {
|
|
173
173
|
value: Cr
|
|
174
174
|
}),
|
|
175
|
-
error:
|
|
175
|
+
error: H({}, e, {
|
|
176
176
|
value: Lr
|
|
177
177
|
}),
|
|
178
|
-
group:
|
|
178
|
+
group: H({}, e, {
|
|
179
179
|
value: Or
|
|
180
180
|
}),
|
|
181
|
-
groupCollapsed:
|
|
181
|
+
groupCollapsed: H({}, e, {
|
|
182
182
|
value: _r
|
|
183
183
|
}),
|
|
184
|
-
groupEnd:
|
|
184
|
+
groupEnd: H({}, e, {
|
|
185
185
|
value: Fr
|
|
186
186
|
})
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
|
-
K < 0 &&
|
|
189
|
+
K < 0 && D("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
var gr =
|
|
193
|
-
function ar(e,
|
|
192
|
+
var gr = P.ReactCurrentDispatcher, fr;
|
|
193
|
+
function ar(e, o, n) {
|
|
194
194
|
{
|
|
195
195
|
if (fr === void 0)
|
|
196
196
|
try {
|
|
197
197
|
throw Error();
|
|
198
198
|
} catch (w) {
|
|
199
|
-
var
|
|
200
|
-
fr =
|
|
199
|
+
var h = w.stack.trim().match(/\n( *(at )?)/);
|
|
200
|
+
fr = h && h[1] || "";
|
|
201
201
|
}
|
|
202
202
|
return `
|
|
203
203
|
` + fr + e;
|
|
@@ -208,22 +208,22 @@ function Ve() {
|
|
|
208
208
|
var ge = typeof WeakMap == "function" ? WeakMap : Map;
|
|
209
209
|
ir = new ge();
|
|
210
210
|
}
|
|
211
|
-
function Pr(e,
|
|
211
|
+
function Pr(e, o) {
|
|
212
212
|
if (!e || hr)
|
|
213
213
|
return "";
|
|
214
214
|
{
|
|
215
|
-
var
|
|
216
|
-
if (
|
|
217
|
-
return
|
|
215
|
+
var n = ir.get(e);
|
|
216
|
+
if (n !== void 0)
|
|
217
|
+
return n;
|
|
218
218
|
}
|
|
219
|
-
var
|
|
219
|
+
var h;
|
|
220
220
|
hr = !0;
|
|
221
221
|
var w = Error.prepareStackTrace;
|
|
222
222
|
Error.prepareStackTrace = void 0;
|
|
223
|
-
var
|
|
224
|
-
|
|
223
|
+
var x;
|
|
224
|
+
x = gr.current, gr.current = null, de();
|
|
225
225
|
try {
|
|
226
|
-
if (
|
|
226
|
+
if (o) {
|
|
227
227
|
var y = function() {
|
|
228
228
|
throw Error();
|
|
229
229
|
};
|
|
@@ -234,59 +234,59 @@ function Ve() {
|
|
|
234
234
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
235
235
|
try {
|
|
236
236
|
Reflect.construct(y, []);
|
|
237
|
-
} catch (
|
|
238
|
-
|
|
237
|
+
} catch (V) {
|
|
238
|
+
h = V;
|
|
239
239
|
}
|
|
240
240
|
Reflect.construct(e, [], y);
|
|
241
241
|
} else {
|
|
242
242
|
try {
|
|
243
243
|
y.call();
|
|
244
|
-
} catch (
|
|
245
|
-
|
|
244
|
+
} catch (V) {
|
|
245
|
+
h = V;
|
|
246
246
|
}
|
|
247
247
|
e.call(y.prototype);
|
|
248
248
|
}
|
|
249
249
|
} else {
|
|
250
250
|
try {
|
|
251
251
|
throw Error();
|
|
252
|
-
} catch (
|
|
253
|
-
|
|
252
|
+
} catch (V) {
|
|
253
|
+
h = V;
|
|
254
254
|
}
|
|
255
255
|
e();
|
|
256
256
|
}
|
|
257
|
-
} catch (
|
|
258
|
-
if (
|
|
259
|
-
for (var
|
|
260
|
-
`),
|
|
261
|
-
`),
|
|
257
|
+
} catch (V) {
|
|
258
|
+
if (V && h && typeof V.stack == "string") {
|
|
259
|
+
for (var v = V.stack.split(`
|
|
260
|
+
`), L = h.stack.split(`
|
|
261
|
+
`), A = v.length - 1, S = L.length - 1; A >= 1 && S >= 0 && v[A] !== L[S]; )
|
|
262
262
|
S--;
|
|
263
|
-
for (;
|
|
264
|
-
if (
|
|
265
|
-
if (
|
|
263
|
+
for (; A >= 1 && S >= 0; A--, S--)
|
|
264
|
+
if (v[A] !== L[S]) {
|
|
265
|
+
if (A !== 1 || S !== 1)
|
|
266
266
|
do
|
|
267
|
-
if (
|
|
268
|
-
var
|
|
269
|
-
` +
|
|
270
|
-
return e.displayName &&
|
|
267
|
+
if (A--, S--, S < 0 || v[A] !== L[S]) {
|
|
268
|
+
var _ = `
|
|
269
|
+
` + v[A].replace(" at new ", " at ");
|
|
270
|
+
return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && ir.set(e, _), _;
|
|
271
271
|
}
|
|
272
|
-
while (
|
|
272
|
+
while (A >= 1 && S >= 0);
|
|
273
273
|
break;
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
} finally {
|
|
277
|
-
hr = !1, gr.current =
|
|
277
|
+
hr = !1, gr.current = x, me(), Error.prepareStackTrace = w;
|
|
278
278
|
}
|
|
279
|
-
var
|
|
279
|
+
var M = e ? e.displayName || e.name : "", Zr = M ? ar(M) : "";
|
|
280
280
|
return typeof e == "function" && ir.set(e, Zr), Zr;
|
|
281
281
|
}
|
|
282
|
-
function fe(e,
|
|
282
|
+
function fe(e, o, n) {
|
|
283
283
|
return Pr(e, !1);
|
|
284
284
|
}
|
|
285
285
|
function he(e) {
|
|
286
|
-
var
|
|
287
|
-
return !!(
|
|
286
|
+
var o = e.prototype;
|
|
287
|
+
return !!(o && o.isReactComponent);
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function sr(e, o, n) {
|
|
290
290
|
if (e == null)
|
|
291
291
|
return "";
|
|
292
292
|
if (typeof e == "function")
|
|
@@ -294,51 +294,51 @@ function Ve() {
|
|
|
294
294
|
if (typeof e == "string")
|
|
295
295
|
return ar(e);
|
|
296
296
|
switch (e) {
|
|
297
|
-
case
|
|
297
|
+
case E:
|
|
298
298
|
return ar("Suspense");
|
|
299
|
-
case
|
|
299
|
+
case b:
|
|
300
300
|
return ar("SuspenseList");
|
|
301
301
|
}
|
|
302
302
|
if (typeof e == "object")
|
|
303
303
|
switch (e.$$typeof) {
|
|
304
|
-
case
|
|
304
|
+
case m:
|
|
305
305
|
return fe(e.render);
|
|
306
|
-
case
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
var
|
|
306
|
+
case p:
|
|
307
|
+
return sr(e.type, o, n);
|
|
308
|
+
case f: {
|
|
309
|
+
var h = e, w = h._payload, x = h._init;
|
|
310
310
|
try {
|
|
311
|
-
return
|
|
311
|
+
return sr(x(w), o, n);
|
|
312
312
|
} catch {
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
return "";
|
|
317
317
|
}
|
|
318
|
-
var
|
|
318
|
+
var lr = Object.prototype.hasOwnProperty, Ir = {}, Br = P.ReactDebugCurrentFrame;
|
|
319
319
|
function or(e) {
|
|
320
320
|
if (e) {
|
|
321
|
-
var
|
|
322
|
-
|
|
321
|
+
var o = e._owner, n = sr(e.type, e._source, o ? o.type : null);
|
|
322
|
+
Br.setExtraStackFrame(n);
|
|
323
323
|
} else
|
|
324
|
-
|
|
324
|
+
Br.setExtraStackFrame(null);
|
|
325
325
|
}
|
|
326
|
-
function be(e,
|
|
326
|
+
function be(e, o, n, h, w) {
|
|
327
327
|
{
|
|
328
|
-
var
|
|
328
|
+
var x = Function.call.bind(lr);
|
|
329
329
|
for (var y in e)
|
|
330
|
-
if (
|
|
331
|
-
var
|
|
330
|
+
if (x(e, y)) {
|
|
331
|
+
var v = void 0;
|
|
332
332
|
try {
|
|
333
333
|
if (typeof e[y] != "function") {
|
|
334
|
-
var
|
|
335
|
-
throw
|
|
334
|
+
var L = Error((h || "React class") + ": " + n + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
335
|
+
throw L.name = "Invariant Violation", L;
|
|
336
336
|
}
|
|
337
|
-
|
|
338
|
-
} catch (
|
|
339
|
-
|
|
337
|
+
v = e[y](o, y, h, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
338
|
+
} catch (A) {
|
|
339
|
+
v = A;
|
|
340
340
|
}
|
|
341
|
-
|
|
341
|
+
v && !(v instanceof Error) && (or(w), D("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", h || "React class", n, y, typeof v), or(null)), v instanceof Error && !(v.message in Ir) && (Ir[v.message] = !0, or(w), D("Failed %s type: %s", n, v.message), or(null));
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
}
|
|
@@ -348,25 +348,25 @@ function Ve() {
|
|
|
348
348
|
}
|
|
349
349
|
function ye(e) {
|
|
350
350
|
{
|
|
351
|
-
var
|
|
352
|
-
return
|
|
351
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, n = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
352
|
+
return n;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
function we(e) {
|
|
356
356
|
try {
|
|
357
|
-
return
|
|
357
|
+
return Vr(e), !1;
|
|
358
358
|
} catch {
|
|
359
359
|
return !0;
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function Vr(e) {
|
|
363
363
|
return "" + e;
|
|
364
364
|
}
|
|
365
365
|
function jr(e) {
|
|
366
366
|
if (we(e))
|
|
367
|
-
return
|
|
367
|
+
return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ye(e)), Vr(e);
|
|
368
368
|
}
|
|
369
|
-
var X =
|
|
369
|
+
var X = P.ReactCurrentOwner, qe = {
|
|
370
370
|
key: !0,
|
|
371
371
|
ref: !0,
|
|
372
372
|
__self: !0,
|
|
@@ -374,98 +374,98 @@ function Ve() {
|
|
|
374
374
|
}, Hr, zr, vr;
|
|
375
375
|
vr = {};
|
|
376
376
|
function xe(e) {
|
|
377
|
-
if (
|
|
378
|
-
var
|
|
379
|
-
if (
|
|
377
|
+
if (lr.call(e, "ref")) {
|
|
378
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
379
|
+
if (o && o.isReactWarning)
|
|
380
380
|
return !1;
|
|
381
381
|
}
|
|
382
382
|
return e.ref !== void 0;
|
|
383
383
|
}
|
|
384
384
|
function Ee(e) {
|
|
385
|
-
if (
|
|
386
|
-
var
|
|
387
|
-
if (
|
|
385
|
+
if (lr.call(e, "key")) {
|
|
386
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
387
|
+
if (o && o.isReactWarning)
|
|
388
388
|
return !1;
|
|
389
389
|
}
|
|
390
390
|
return e.key !== void 0;
|
|
391
391
|
}
|
|
392
|
-
function Ne(e,
|
|
393
|
-
if (typeof e.ref == "string" && X.current &&
|
|
394
|
-
var
|
|
395
|
-
vr[
|
|
392
|
+
function Ne(e, o) {
|
|
393
|
+
if (typeof e.ref == "string" && X.current && o && X.current.stateNode !== o) {
|
|
394
|
+
var n = B(X.current.type);
|
|
395
|
+
vr[n] || (D('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(X.current.type), e.ref), vr[n] = !0);
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
function Ae(e,
|
|
398
|
+
function Ae(e, o) {
|
|
399
399
|
{
|
|
400
|
-
var
|
|
401
|
-
Hr || (Hr = !0,
|
|
400
|
+
var n = function() {
|
|
401
|
+
Hr || (Hr = !0, D("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
402
402
|
};
|
|
403
|
-
|
|
404
|
-
get:
|
|
403
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
404
|
+
get: n,
|
|
405
405
|
configurable: !0
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function ke(e, o) {
|
|
410
410
|
{
|
|
411
|
-
var
|
|
412
|
-
zr || (zr = !0,
|
|
411
|
+
var n = function() {
|
|
412
|
+
zr || (zr = !0, D("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
413
413
|
};
|
|
414
|
-
|
|
415
|
-
get:
|
|
414
|
+
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
415
|
+
get: n,
|
|
416
416
|
configurable: !0
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
var
|
|
421
|
-
var
|
|
420
|
+
var De = function(e, o, n, h, w, x, y) {
|
|
421
|
+
var v = {
|
|
422
422
|
$$typeof: a,
|
|
423
423
|
type: e,
|
|
424
|
-
key:
|
|
425
|
-
ref:
|
|
424
|
+
key: o,
|
|
425
|
+
ref: n,
|
|
426
426
|
props: y,
|
|
427
|
-
_owner:
|
|
427
|
+
_owner: x
|
|
428
428
|
};
|
|
429
|
-
return
|
|
429
|
+
return v._store = {}, Object.defineProperty(v._store, "validated", {
|
|
430
430
|
configurable: !1,
|
|
431
431
|
enumerable: !1,
|
|
432
432
|
writable: !0,
|
|
433
433
|
value: !1
|
|
434
|
-
}), Object.defineProperty(
|
|
434
|
+
}), Object.defineProperty(v, "_self", {
|
|
435
435
|
configurable: !1,
|
|
436
436
|
enumerable: !1,
|
|
437
437
|
writable: !1,
|
|
438
|
-
value:
|
|
439
|
-
}), Object.defineProperty(
|
|
438
|
+
value: h
|
|
439
|
+
}), Object.defineProperty(v, "_source", {
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
443
|
value: w
|
|
444
|
-
}), Object.freeze && (Object.freeze(
|
|
444
|
+
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
445
445
|
};
|
|
446
|
-
function Se(e,
|
|
446
|
+
function Se(e, o, n, h, w) {
|
|
447
447
|
{
|
|
448
|
-
var
|
|
449
|
-
|
|
450
|
-
for (
|
|
451
|
-
|
|
448
|
+
var x, y = {}, v = null, L = null;
|
|
449
|
+
n !== void 0 && (jr(n), v = "" + n), Ee(o) && (jr(o.key), v = "" + o.key), xe(o) && (L = o.ref, Ne(o, w));
|
|
450
|
+
for (x in o)
|
|
451
|
+
lr.call(o, x) && !qe.hasOwnProperty(x) && (y[x] = o[x]);
|
|
452
452
|
if (e && e.defaultProps) {
|
|
453
|
-
var
|
|
454
|
-
for (
|
|
455
|
-
y[
|
|
453
|
+
var A = e.defaultProps;
|
|
454
|
+
for (x in A)
|
|
455
|
+
y[x] === void 0 && (y[x] = A[x]);
|
|
456
456
|
}
|
|
457
|
-
if (
|
|
457
|
+
if (v || L) {
|
|
458
458
|
var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
459
|
-
|
|
459
|
+
v && Ae(y, S), L && ke(y, S);
|
|
460
460
|
}
|
|
461
|
-
return
|
|
461
|
+
return De(e, v, L, w, h, X.current, y);
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
var yr =
|
|
465
|
-
function
|
|
464
|
+
var yr = P.ReactCurrentOwner, Gr = P.ReactDebugCurrentFrame;
|
|
465
|
+
function G(e) {
|
|
466
466
|
if (e) {
|
|
467
|
-
var
|
|
468
|
-
Gr.setExtraStackFrame(
|
|
467
|
+
var o = e._owner, n = sr(e.type, e._source, o ? o.type : null);
|
|
468
|
+
Gr.setExtraStackFrame(n);
|
|
469
469
|
} else
|
|
470
470
|
Gr.setExtraStackFrame(null);
|
|
471
471
|
}
|
|
@@ -489,10 +489,10 @@ Check the render method of \`` + e + "`.";
|
|
|
489
489
|
function Re(e) {
|
|
490
490
|
{
|
|
491
491
|
if (e !== void 0) {
|
|
492
|
-
var
|
|
492
|
+
var o = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
|
|
493
493
|
return `
|
|
494
494
|
|
|
495
|
-
Check your code at ` +
|
|
495
|
+
Check your code at ` + o + ":" + n + ".";
|
|
496
496
|
}
|
|
497
497
|
return "";
|
|
498
498
|
}
|
|
@@ -500,160 +500,160 @@ Check your code at ` + s + ":" + u + ".";
|
|
|
500
500
|
var $r = {};
|
|
501
501
|
function Te(e) {
|
|
502
502
|
{
|
|
503
|
-
var
|
|
504
|
-
if (!
|
|
505
|
-
var
|
|
506
|
-
|
|
503
|
+
var o = Mr();
|
|
504
|
+
if (!o) {
|
|
505
|
+
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
506
|
+
n && (o = `
|
|
507
507
|
|
|
508
|
-
Check the top-level render call using <` +
|
|
508
|
+
Check the top-level render call using <` + n + ">.");
|
|
509
509
|
}
|
|
510
|
-
return
|
|
510
|
+
return o;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
function Yr(e,
|
|
513
|
+
function Yr(e, o) {
|
|
514
514
|
{
|
|
515
515
|
if (!e._store || e._store.validated || e.key != null)
|
|
516
516
|
return;
|
|
517
517
|
e._store.validated = !0;
|
|
518
|
-
var
|
|
519
|
-
if ($r[
|
|
518
|
+
var n = Te(o);
|
|
519
|
+
if ($r[n])
|
|
520
520
|
return;
|
|
521
|
-
$r[
|
|
522
|
-
var
|
|
523
|
-
e && e._owner && e._owner !== yr.current && (
|
|
521
|
+
$r[n] = !0;
|
|
522
|
+
var h = "";
|
|
523
|
+
e && e._owner && e._owner !== yr.current && (h = " It was passed a child from " + B(e._owner.type) + "."), G(e), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, h), G(null);
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
|
-
function Wr(e,
|
|
526
|
+
function Wr(e, o) {
|
|
527
527
|
{
|
|
528
528
|
if (typeof e != "object")
|
|
529
529
|
return;
|
|
530
530
|
if (br(e))
|
|
531
|
-
for (var
|
|
532
|
-
var
|
|
533
|
-
qr(
|
|
531
|
+
for (var n = 0; n < e.length; n++) {
|
|
532
|
+
var h = e[n];
|
|
533
|
+
qr(h) && Yr(h, o);
|
|
534
534
|
}
|
|
535
535
|
else if (qr(e))
|
|
536
536
|
e._store && (e._store.validated = !0);
|
|
537
537
|
else if (e) {
|
|
538
|
-
var w =
|
|
538
|
+
var w = J(e);
|
|
539
539
|
if (typeof w == "function" && w !== e.entries)
|
|
540
|
-
for (var
|
|
541
|
-
qr(y.value) && Yr(y.value,
|
|
540
|
+
for (var x = w.call(e), y; !(y = x.next()).done; )
|
|
541
|
+
qr(y.value) && Yr(y.value, o);
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
function Ce(e) {
|
|
546
546
|
{
|
|
547
|
-
var
|
|
548
|
-
if (
|
|
547
|
+
var o = e.type;
|
|
548
|
+
if (o == null || typeof o == "string")
|
|
549
549
|
return;
|
|
550
|
-
var
|
|
551
|
-
if (typeof
|
|
552
|
-
|
|
553
|
-
else if (typeof
|
|
554
|
-
|
|
550
|
+
var n;
|
|
551
|
+
if (typeof o == "function")
|
|
552
|
+
n = o.propTypes;
|
|
553
|
+
else if (typeof o == "object" && (o.$$typeof === m || o.$$typeof === p))
|
|
554
|
+
n = o.propTypes;
|
|
555
555
|
else
|
|
556
556
|
return;
|
|
557
|
-
if (
|
|
558
|
-
var
|
|
559
|
-
be(
|
|
560
|
-
} else if (
|
|
557
|
+
if (n) {
|
|
558
|
+
var h = B(o);
|
|
559
|
+
be(n, e.props, "prop", h, e);
|
|
560
|
+
} else if (o.PropTypes !== void 0 && !wr) {
|
|
561
561
|
wr = !0;
|
|
562
|
-
var w = B(
|
|
563
|
-
|
|
562
|
+
var w = B(o);
|
|
563
|
+
D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
|
|
564
564
|
}
|
|
565
|
-
typeof
|
|
565
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
function Le(e) {
|
|
569
569
|
{
|
|
570
|
-
for (var
|
|
571
|
-
var
|
|
572
|
-
if (
|
|
573
|
-
|
|
570
|
+
for (var o = Object.keys(e.props), n = 0; n < o.length; n++) {
|
|
571
|
+
var h = o[n];
|
|
572
|
+
if (h !== "children" && h !== "key") {
|
|
573
|
+
G(e), D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), G(null);
|
|
574
574
|
break;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
e.ref !== null && (
|
|
577
|
+
e.ref !== null && (G(e), D("Invalid attribute `ref` supplied to `React.Fragment`."), G(null));
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
function Jr(e,
|
|
580
|
+
function Jr(e, o, n, h, w, x) {
|
|
581
581
|
{
|
|
582
582
|
var y = ue(e);
|
|
583
583
|
if (!y) {
|
|
584
|
-
var
|
|
585
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
586
|
-
var
|
|
587
|
-
|
|
588
|
-
var
|
|
589
|
-
e === null ?
|
|
584
|
+
var v = "";
|
|
585
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
586
|
+
var L = Re(w);
|
|
587
|
+
L ? v += L : v += Mr();
|
|
588
|
+
var A;
|
|
589
|
+
e === null ? A = "null" : br(e) ? A = "array" : e !== void 0 && e.$$typeof === a ? (A = "<" + (B(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : A = typeof e, D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, v);
|
|
590
590
|
}
|
|
591
|
-
var S = Se(e,
|
|
591
|
+
var S = Se(e, o, n, w, x);
|
|
592
592
|
if (S == null)
|
|
593
593
|
return S;
|
|
594
594
|
if (y) {
|
|
595
|
-
var
|
|
596
|
-
if (
|
|
597
|
-
if (
|
|
598
|
-
if (br(
|
|
599
|
-
for (var
|
|
600
|
-
Wr(
|
|
601
|
-
Object.freeze && Object.freeze(
|
|
595
|
+
var _ = o.children;
|
|
596
|
+
if (_ !== void 0)
|
|
597
|
+
if (h)
|
|
598
|
+
if (br(_)) {
|
|
599
|
+
for (var M = 0; M < _.length; M++)
|
|
600
|
+
Wr(_[M], e);
|
|
601
|
+
Object.freeze && Object.freeze(_);
|
|
602
602
|
} else
|
|
603
|
-
|
|
603
|
+
D("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
604
604
|
else
|
|
605
|
-
Wr(
|
|
605
|
+
Wr(_, e);
|
|
606
606
|
}
|
|
607
|
-
return e ===
|
|
607
|
+
return e === l ? Le(S) : Ce(S), S;
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
-
function Oe(e,
|
|
611
|
-
return Jr(e,
|
|
610
|
+
function Oe(e, o, n) {
|
|
611
|
+
return Jr(e, o, n, !0);
|
|
612
612
|
}
|
|
613
|
-
function _e(e,
|
|
614
|
-
return Jr(e,
|
|
613
|
+
function _e(e, o, n) {
|
|
614
|
+
return Jr(e, o, n, !1);
|
|
615
615
|
}
|
|
616
616
|
var Fe = _e, Ue = Oe;
|
|
617
|
-
rr.Fragment =
|
|
617
|
+
rr.Fragment = l, rr.jsx = Fe, rr.jsxs = Ue;
|
|
618
618
|
}()), rr;
|
|
619
619
|
}
|
|
620
620
|
(function(r) {
|
|
621
|
-
process.env.NODE_ENV === "production" ? r.exports = Ie() : r.exports =
|
|
621
|
+
process.env.NODE_ENV === "production" ? r.exports = Ie() : r.exports = Be();
|
|
622
622
|
})(nr);
|
|
623
|
-
const
|
|
623
|
+
const F = nr.exports.Fragment, t = nr.exports.jsx, g = nr.exports.jsxs, C = ({
|
|
624
624
|
text: r
|
|
625
625
|
}) => r ? /* @__PURE__ */ t("div", {
|
|
626
626
|
className: "title",
|
|
627
627
|
children: R(r)
|
|
628
|
-
}) : null,
|
|
628
|
+
}) : null, Ve = ({
|
|
629
629
|
node: r
|
|
630
630
|
}) => {
|
|
631
631
|
const {
|
|
632
632
|
document: a
|
|
633
|
-
} =
|
|
634
|
-
className: `fa icon-${
|
|
635
|
-
title:
|
|
633
|
+
} = I(U), s = a.attributes || {}, l = r.attributes, c = () => s.icons === "font" && !l.icon ? /* @__PURE__ */ t("i", {
|
|
634
|
+
className: `fa icon-${l.name}`,
|
|
635
|
+
title: l.textlabel
|
|
636
636
|
}) : /* @__PURE__ */ t("img", {
|
|
637
637
|
src: r.iconUri,
|
|
638
|
-
alt:
|
|
638
|
+
alt: l.textlabel
|
|
639
639
|
});
|
|
640
640
|
return /* @__PURE__ */ t("div", {
|
|
641
|
-
className: `admonitionblock ${
|
|
641
|
+
className: `admonitionblock ${l.name}`,
|
|
642
642
|
...r.lineNumber ? {
|
|
643
643
|
"data-lineno": r.lineNumber
|
|
644
644
|
} : {},
|
|
645
645
|
children: /* @__PURE__ */ t("table", {
|
|
646
646
|
children: /* @__PURE__ */ t("tbody", {
|
|
647
|
-
children: /* @__PURE__ */
|
|
647
|
+
children: /* @__PURE__ */ g("tr", {
|
|
648
648
|
children: [/* @__PURE__ */ t("td", {
|
|
649
649
|
className: "icon",
|
|
650
|
-
children:
|
|
650
|
+
children: s.icons ? c() : /* @__PURE__ */ t("div", {
|
|
651
651
|
className: "title",
|
|
652
|
-
children:
|
|
652
|
+
children: l.textlabel
|
|
653
653
|
})
|
|
654
|
-
}), /* @__PURE__ */
|
|
654
|
+
}), /* @__PURE__ */ g("td", {
|
|
655
655
|
className: "content",
|
|
656
|
-
children: [/* @__PURE__ */ t(
|
|
656
|
+
children: [/* @__PURE__ */ t(C, {
|
|
657
657
|
text: r.title
|
|
658
658
|
}), r.content && R(r.content)]
|
|
659
659
|
})]
|
|
@@ -664,18 +664,18 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, m = nr.exports.jsxs, T = ({
|
|
|
664
664
|
}, je = ({
|
|
665
665
|
node: r
|
|
666
666
|
}) => {
|
|
667
|
-
const a = r.attributes.start,
|
|
668
|
-
return /* @__PURE__ */
|
|
667
|
+
const a = r.attributes.start, s = r.attributes.end, l = (a || s) && `#t=${a || ""}` + s ? `,${s}` : "";
|
|
668
|
+
return /* @__PURE__ */ g("div", {
|
|
669
669
|
className: "audioblock",
|
|
670
670
|
...r.lineNumber ? {
|
|
671
671
|
"data-lineno": r.lineNumber
|
|
672
672
|
} : {},
|
|
673
|
-
children: [/* @__PURE__ */ t(
|
|
673
|
+
children: [/* @__PURE__ */ t(C, {
|
|
674
674
|
text: r.title
|
|
675
675
|
}), /* @__PURE__ */ t("div", {
|
|
676
676
|
className: "content",
|
|
677
677
|
children: /* @__PURE__ */ t("audio", {
|
|
678
|
-
src: `${r.mediaUri}${
|
|
678
|
+
src: `${r.mediaUri}${l}`,
|
|
679
679
|
autoPlay: r.autoplay,
|
|
680
680
|
controls: !r.noControls,
|
|
681
681
|
loop: r.loop,
|
|
@@ -685,29 +685,29 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, m = nr.exports.jsxs, T = ({
|
|
|
685
685
|
});
|
|
686
686
|
}, He = ({
|
|
687
687
|
node: r
|
|
688
|
-
}) => /* @__PURE__ */
|
|
688
|
+
}) => /* @__PURE__ */ g("div", {
|
|
689
689
|
className: "colist",
|
|
690
690
|
...r.lineNumber ? {
|
|
691
691
|
"data-lineno": r.lineNumber
|
|
692
692
|
} : {},
|
|
693
|
-
children: [/* @__PURE__ */ t(
|
|
693
|
+
children: [/* @__PURE__ */ t(C, {
|
|
694
694
|
text: r.title
|
|
695
695
|
}), /* @__PURE__ */ t("table", {
|
|
696
696
|
children: /* @__PURE__ */ t("tbody", {
|
|
697
|
-
children: r.items.map((a,
|
|
698
|
-
children: [/* @__PURE__ */
|
|
697
|
+
children: r.items.map((a, s) => /* @__PURE__ */ g("tr", {
|
|
698
|
+
children: [/* @__PURE__ */ g("td", {
|
|
699
699
|
children: [/* @__PURE__ */ t("i", {
|
|
700
700
|
className: "conum",
|
|
701
|
-
"data-value":
|
|
701
|
+
"data-value": s + 1
|
|
702
702
|
}), /* @__PURE__ */ t("b", {
|
|
703
|
-
children:
|
|
703
|
+
children: s + 1
|
|
704
704
|
})]
|
|
705
|
-
}), /* @__PURE__ */
|
|
706
|
-
children: [a.text && R(a.text), /* @__PURE__ */ t(
|
|
705
|
+
}), /* @__PURE__ */ g("td", {
|
|
706
|
+
children: [a.text && R(a.text), /* @__PURE__ */ t(O, {
|
|
707
707
|
blocks: a.blocks
|
|
708
708
|
})]
|
|
709
709
|
})]
|
|
710
|
-
},
|
|
710
|
+
}, s))
|
|
711
711
|
})
|
|
712
712
|
})]
|
|
713
713
|
});
|
|
@@ -720,31 +720,31 @@ var te = { exports: {} };
|
|
|
720
720
|
(function(r) {
|
|
721
721
|
(function() {
|
|
722
722
|
var a = {}.hasOwnProperty;
|
|
723
|
-
function
|
|
724
|
-
for (var
|
|
725
|
-
var
|
|
726
|
-
if (!!
|
|
727
|
-
var
|
|
728
|
-
if (
|
|
729
|
-
|
|
730
|
-
else if (Array.isArray(
|
|
731
|
-
if (
|
|
732
|
-
var
|
|
733
|
-
|
|
723
|
+
function s() {
|
|
724
|
+
for (var l = [], c = 0; c < arguments.length; c++) {
|
|
725
|
+
var u = arguments[c];
|
|
726
|
+
if (!!u) {
|
|
727
|
+
var i = typeof u;
|
|
728
|
+
if (i === "string" || i === "number")
|
|
729
|
+
l.push(u);
|
|
730
|
+
else if (Array.isArray(u)) {
|
|
731
|
+
if (u.length) {
|
|
732
|
+
var d = s.apply(null, u);
|
|
733
|
+
d && l.push(d);
|
|
734
734
|
}
|
|
735
|
-
} else if (
|
|
736
|
-
if (
|
|
737
|
-
|
|
735
|
+
} else if (i === "object") {
|
|
736
|
+
if (u.toString !== Object.prototype.toString && !u.toString.toString().includes("[native code]")) {
|
|
737
|
+
l.push(u.toString());
|
|
738
738
|
continue;
|
|
739
739
|
}
|
|
740
|
-
for (var
|
|
741
|
-
a.call(
|
|
740
|
+
for (var m in u)
|
|
741
|
+
a.call(u, m) && u[m] && l.push(m);
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
return
|
|
745
|
+
return l.join(" ");
|
|
746
746
|
}
|
|
747
|
-
r.exports ? (
|
|
747
|
+
r.exports ? (s.default = s, r.exports = s) : window.classNames = s;
|
|
748
748
|
})();
|
|
749
749
|
})(te);
|
|
750
750
|
const k = te.exports;
|
|
@@ -756,191 +756,188 @@ pr.namedReferences = { xml: { entities: { "<": "<", ">": ">", """: '"
|
|
|
756
756
|
var Ar = {};
|
|
757
757
|
Object.defineProperty(Ar, "__esModule", { value: !0 });
|
|
758
758
|
Ar.numericUnicodeMap = { 0: 65533, 128: 8364, 130: 8218, 131: 402, 132: 8222, 133: 8230, 134: 8224, 135: 8225, 136: 710, 137: 8240, 138: 352, 139: 8249, 140: 338, 142: 381, 145: 8216, 146: 8217, 147: 8220, 148: 8221, 149: 8226, 150: 8211, 151: 8212, 152: 732, 153: 8482, 154: 353, 155: 8250, 156: 339, 158: 382, 159: 376 };
|
|
759
|
-
var
|
|
760
|
-
Object.defineProperty(
|
|
761
|
-
|
|
759
|
+
var W = {};
|
|
760
|
+
Object.defineProperty(W, "__esModule", { value: !0 });
|
|
761
|
+
W.fromCodePoint = String.fromCodePoint || function(r) {
|
|
762
762
|
return String.fromCharCode(Math.floor((r - 65536) / 1024) + 55296, (r - 65536) % 1024 + 56320);
|
|
763
763
|
};
|
|
764
|
-
|
|
764
|
+
W.getCodePoint = String.prototype.codePointAt ? function(r, a) {
|
|
765
765
|
return r.codePointAt(a);
|
|
766
766
|
} : function(r, a) {
|
|
767
767
|
return (r.charCodeAt(a) - 55296) * 1024 + r.charCodeAt(a + 1) - 56320 + 65536;
|
|
768
768
|
};
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
var
|
|
772
|
-
return
|
|
773
|
-
for (var a,
|
|
774
|
-
a = arguments[
|
|
775
|
-
for (var
|
|
776
|
-
Object.prototype.hasOwnProperty.call(a,
|
|
769
|
+
W.highSurrogateFrom = 55296;
|
|
770
|
+
W.highSurrogateTo = 56319;
|
|
771
|
+
var Y = Kr && Kr.__assign || function() {
|
|
772
|
+
return Y = Object.assign || function(r) {
|
|
773
|
+
for (var a, s = 1, l = arguments.length; s < l; s++) {
|
|
774
|
+
a = arguments[s];
|
|
775
|
+
for (var c in a)
|
|
776
|
+
Object.prototype.hasOwnProperty.call(a, c) && (r[c] = a[c]);
|
|
777
777
|
}
|
|
778
778
|
return r;
|
|
779
|
-
},
|
|
779
|
+
}, Y.apply(this, arguments);
|
|
780
780
|
};
|
|
781
781
|
Object.defineProperty(ur, "__esModule", { value: !0 });
|
|
782
|
-
var er = pr, ze = Ar, ae =
|
|
783
|
-
function ie(r, a,
|
|
782
|
+
var er = pr, ze = Ar, ae = W, kr = Y(Y({}, er.namedReferences), { all: er.namedReferences.html5 });
|
|
783
|
+
function ie(r, a, s) {
|
|
784
784
|
a.lastIndex = 0;
|
|
785
|
-
var
|
|
786
|
-
if (
|
|
787
|
-
|
|
788
|
-
var
|
|
785
|
+
var l = a.exec(r), c;
|
|
786
|
+
if (l) {
|
|
787
|
+
c = "";
|
|
788
|
+
var u = 0;
|
|
789
789
|
do {
|
|
790
|
-
|
|
791
|
-
var
|
|
792
|
-
|
|
793
|
-
} while (
|
|
794
|
-
|
|
790
|
+
u !== l.index && (c += r.substring(u, l.index));
|
|
791
|
+
var i = l[0];
|
|
792
|
+
c += s(i), u = l.index + i.length;
|
|
793
|
+
} while (l = a.exec(r));
|
|
794
|
+
u !== r.length && (c += r.substring(u));
|
|
795
795
|
} else
|
|
796
|
-
|
|
797
|
-
return
|
|
796
|
+
c = r;
|
|
797
|
+
return c;
|
|
798
798
|
}
|
|
799
799
|
var Ge = { specialChars: /[<>'"&]/g, nonAscii: /[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, nonAsciiPrintable: /[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, nonAsciiPrintableOnly: /[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, extensive: /[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g }, Me = { mode: "specialChars", level: "all", numeric: "decimal" };
|
|
800
800
|
function $e(r, a) {
|
|
801
|
-
var
|
|
801
|
+
var s = a === void 0 ? Me : a, l = s.mode, c = l === void 0 ? "specialChars" : l, u = s.numeric, i = u === void 0 ? "decimal" : u, d = s.level, m = d === void 0 ? "all" : d;
|
|
802
802
|
if (!r)
|
|
803
803
|
return "";
|
|
804
|
-
var
|
|
805
|
-
return ie(r,
|
|
806
|
-
var
|
|
807
|
-
if (!
|
|
808
|
-
var
|
|
809
|
-
|
|
804
|
+
var E = Ge[c], b = kr[m].characters, p = i === "hexadecimal";
|
|
805
|
+
return ie(r, E, function(f) {
|
|
806
|
+
var q = b[f];
|
|
807
|
+
if (!q) {
|
|
808
|
+
var N = f.length > 1 ? ae.getCodePoint(f, 0) : f.charCodeAt(0);
|
|
809
|
+
q = (p ? "&#x" + N.toString(16) : "&#" + N) + ";";
|
|
810
810
|
}
|
|
811
|
-
return
|
|
811
|
+
return q;
|
|
812
812
|
});
|
|
813
813
|
}
|
|
814
814
|
ur.encode = $e;
|
|
815
|
-
var Ye = { scope: "body", level: "all" }, xr = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g, Er = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g, re = { xml: { strict: xr, attribute: Er, body: er.bodyRegExps.xml }, html4: { strict: xr, attribute: Er, body: er.bodyRegExps.html4 }, html5: { strict: xr, attribute: Er, body: er.bodyRegExps.html5 } }, We =
|
|
816
|
-
function
|
|
817
|
-
var
|
|
818
|
-
if (
|
|
819
|
-
|
|
820
|
-
else if (
|
|
821
|
-
|
|
815
|
+
var Ye = { scope: "body", level: "all" }, xr = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g, Er = /&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g, re = { xml: { strict: xr, attribute: Er, body: er.bodyRegExps.xml }, html4: { strict: xr, attribute: Er, body: er.bodyRegExps.html4 }, html5: { strict: xr, attribute: Er, body: er.bodyRegExps.html5 } }, We = Y(Y({}, re), { all: re.html5 }), se = String.fromCharCode, Je = se(65533), Ze = { level: "all" };
|
|
816
|
+
function le(r, a, s, l) {
|
|
817
|
+
var c = r, u = r[r.length - 1];
|
|
818
|
+
if (s && u === "=")
|
|
819
|
+
c = r;
|
|
820
|
+
else if (l && u !== ";")
|
|
821
|
+
c = r;
|
|
822
822
|
else {
|
|
823
|
-
var
|
|
824
|
-
if (
|
|
825
|
-
|
|
823
|
+
var i = a[r];
|
|
824
|
+
if (i)
|
|
825
|
+
c = i;
|
|
826
826
|
else if (r[0] === "&" && r[1] === "#") {
|
|
827
|
-
var
|
|
828
|
-
|
|
827
|
+
var d = r[2], m = d == "x" || d == "X" ? parseInt(r.substr(3), 16) : parseInt(r.substr(2));
|
|
828
|
+
c = m >= 1114111 ? Je : m > 65535 ? ae.fromCodePoint(m) : se(ze.numericUnicodeMap[m] || m);
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
|
-
return
|
|
831
|
+
return c;
|
|
832
832
|
}
|
|
833
833
|
function Ke(r, a) {
|
|
834
|
-
var
|
|
835
|
-
return r ?
|
|
834
|
+
var s = (a === void 0 ? Ze : a).level, l = s === void 0 ? "all" : s;
|
|
835
|
+
return r ? le(r, kr[l].entities, !1, !1) : "";
|
|
836
836
|
}
|
|
837
837
|
ur.decodeEntity = Ke;
|
|
838
838
|
function Xe(r, a) {
|
|
839
|
-
var
|
|
839
|
+
var s = a === void 0 ? Ye : a, l = s.level, c = l === void 0 ? "all" : l, u = s.scope, i = u === void 0 ? c === "xml" ? "strict" : "body" : u;
|
|
840
840
|
if (!r)
|
|
841
841
|
return "";
|
|
842
|
-
var
|
|
843
|
-
return ie(r,
|
|
844
|
-
return
|
|
842
|
+
var d = We[c][i], m = kr[c].entities, E = i === "attribute", b = i === "strict";
|
|
843
|
+
return ie(r, d, function(p) {
|
|
844
|
+
return le(p, m, E, b);
|
|
845
845
|
});
|
|
846
846
|
}
|
|
847
847
|
var Qe = ur.decode = Xe;
|
|
848
|
-
const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a,
|
|
848
|
+
const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, s = void 0, l, c) => {
|
|
849
849
|
if (r[a] !== void 0)
|
|
850
850
|
return r[a];
|
|
851
|
-
const
|
|
852
|
-
return
|
|
853
|
-
},
|
|
854
|
-
var
|
|
855
|
-
let
|
|
856
|
-
function i
|
|
857
|
-
const
|
|
858
|
-
let
|
|
859
|
-
id:
|
|
860
|
-
type:
|
|
861
|
-
blocks:
|
|
862
|
-
content:
|
|
863
|
-
attributes:
|
|
864
|
-
contentModel:
|
|
865
|
-
lineNumber:
|
|
866
|
-
style:
|
|
867
|
-
role:
|
|
868
|
-
title:
|
|
869
|
-
level:
|
|
851
|
+
const u = l || a;
|
|
852
|
+
return u && c && c[u] !== void 0 ? c[u] : s;
|
|
853
|
+
}, j = (r, a) => r[a] !== void 0, At = (r) => {
|
|
854
|
+
var u;
|
|
855
|
+
let a;
|
|
856
|
+
function s(i) {
|
|
857
|
+
const d = i.getNodeName && i.getNodeName(), m = i.getContentModel && i.getContentModel(), E = d && i.hasBlocks() ? i.getBlocks().map((p) => s(p)) : [];
|
|
858
|
+
let b = {
|
|
859
|
+
id: i.getId && i.getId(),
|
|
860
|
+
type: d,
|
|
861
|
+
blocks: E,
|
|
862
|
+
content: E.length > 0 ? void 0 : i.getContent && i.getContent(),
|
|
863
|
+
attributes: i.getAttributes && i.getAttributes(),
|
|
864
|
+
contentModel: m,
|
|
865
|
+
lineNumber: i.getLineNumber && i.getLineNumber(),
|
|
866
|
+
style: i.getStyle && i.getStyle(),
|
|
867
|
+
role: i.getRole && i.getRole(),
|
|
868
|
+
title: i.hasTitle && i.hasTitle() ? i.getTitle() : void 0,
|
|
869
|
+
level: i.getLevel && i.getLevel()
|
|
870
870
|
};
|
|
871
|
-
if (
|
|
872
|
-
let p =
|
|
873
|
-
p.iconUri =
|
|
871
|
+
if (d === "admonition") {
|
|
872
|
+
let p = b;
|
|
873
|
+
p.iconUri = i.getIconUri(b.attributes.name);
|
|
874
874
|
}
|
|
875
|
-
if (
|
|
876
|
-
let p =
|
|
877
|
-
p.mediaUri =
|
|
875
|
+
if (d === "audio") {
|
|
876
|
+
let p = b;
|
|
877
|
+
p.mediaUri = i.getMediaUri(i.getAttribute("target")), p.autoplay = i.isOption("autoplay"), p.noControls = !i.isOption("nocontrols"), p.loop = i.isOption("loop"), b = p;
|
|
878
878
|
}
|
|
879
|
-
if (
|
|
880
|
-
let p =
|
|
881
|
-
p.imageUri =
|
|
879
|
+
if (d === "image") {
|
|
880
|
+
let p = b;
|
|
881
|
+
p.imageUri = i.getImageUri(i.getAttribute("target"));
|
|
882
882
|
}
|
|
883
|
-
if ((
|
|
884
|
-
const p =
|
|
885
|
-
p.source =
|
|
886
|
-
p.language,
|
|
887
|
-
Qe(p.content)
|
|
888
|
-
));
|
|
883
|
+
if ((d === "listing" || d === "literal") && "getSource" in i) {
|
|
884
|
+
const p = b;
|
|
885
|
+
p.source = i.getSource(), p.language = i.getAttribute("language"), p.content = p.content ? Qe(p.content) : void 0;
|
|
889
886
|
}
|
|
890
|
-
if (
|
|
891
|
-
const p =
|
|
892
|
-
p.title =
|
|
887
|
+
if (d === "section") {
|
|
888
|
+
const p = b;
|
|
889
|
+
p.title = i.getCaption() ? i.getCaptionedTitle() : i.getTitle() || "", "getSectionNumeral" in i && (p.name = i.getSectionName(), p.numbered = i.isNumbered(), p.num = i.getSectionNumeral());
|
|
893
890
|
}
|
|
894
|
-
if (
|
|
895
|
-
let p =
|
|
896
|
-
p.items =
|
|
891
|
+
if (d === "dlist") {
|
|
892
|
+
let p = b;
|
|
893
|
+
p.items = i.getItems().map((f) => [
|
|
897
894
|
f[0].map(
|
|
898
|
-
(
|
|
895
|
+
(q) => s(q)
|
|
899
896
|
),
|
|
900
|
-
|
|
897
|
+
s(f[1])
|
|
901
898
|
]);
|
|
902
899
|
}
|
|
903
|
-
if (
|
|
904
|
-
let p =
|
|
905
|
-
p.items =
|
|
900
|
+
if (d === "colist" || d === "olist" || d === "ulist") {
|
|
901
|
+
let p = b;
|
|
902
|
+
p.items = i.getItems().map((f) => s(f));
|
|
906
903
|
}
|
|
907
|
-
if (
|
|
908
|
-
let p =
|
|
909
|
-
const f =
|
|
904
|
+
if (d === "list_item") {
|
|
905
|
+
let p = b;
|
|
906
|
+
const f = i;
|
|
910
907
|
p.text = f.hasText() ? f.getText() : void 0;
|
|
911
908
|
}
|
|
912
|
-
if (
|
|
913
|
-
let p =
|
|
914
|
-
const f =
|
|
915
|
-
p.columns = f.getColumns().map((
|
|
916
|
-
attributes:
|
|
917
|
-
columnNumber:
|
|
918
|
-
width:
|
|
919
|
-
horizontalAlign:
|
|
920
|
-
verticalAlign:
|
|
921
|
-
style:
|
|
909
|
+
if (d === "table") {
|
|
910
|
+
let p = b;
|
|
911
|
+
const f = i;
|
|
912
|
+
p.columns = f.getColumns().map((T) => ({
|
|
913
|
+
attributes: T.getAttributes(),
|
|
914
|
+
columnNumber: T.getColumnNumber(),
|
|
915
|
+
width: T.getWidth(),
|
|
916
|
+
horizontalAlign: T.getHorizontalAlign(),
|
|
917
|
+
verticalAlign: T.getVerticalAlign(),
|
|
918
|
+
style: T.getStyle()
|
|
922
919
|
}));
|
|
923
|
-
const
|
|
924
|
-
(
|
|
925
|
-
),
|
|
920
|
+
const q = (T) => T.map(
|
|
921
|
+
(J) => J.map((P) => s(P))
|
|
922
|
+
), N = f.getRows();
|
|
926
923
|
p.rows = {
|
|
927
|
-
head:
|
|
928
|
-
body:
|
|
929
|
-
foot:
|
|
924
|
+
head: q(N.head),
|
|
925
|
+
body: q(N.body),
|
|
926
|
+
foot: q(N.foot)
|
|
930
927
|
}, p = {
|
|
931
928
|
...p,
|
|
932
929
|
caption: f.getCaption(),
|
|
933
930
|
hasHeader: f.hasHeaderOption(),
|
|
934
931
|
hasFooter: f.hasFooterOption(),
|
|
935
932
|
hasAutowidth: f.hasAutowidthOption(),
|
|
936
|
-
headRows:
|
|
937
|
-
bodyRows:
|
|
938
|
-
footRows:
|
|
939
|
-
},
|
|
933
|
+
headRows: q(f.getHeadRows()),
|
|
934
|
+
bodyRows: q(f.getBodyRows()),
|
|
935
|
+
footRows: q(f.getFootRows())
|
|
936
|
+
}, b = p;
|
|
940
937
|
}
|
|
941
|
-
if (
|
|
942
|
-
const p =
|
|
943
|
-
|
|
938
|
+
if (d === "table_cell") {
|
|
939
|
+
const p = i, f = p.getColumn();
|
|
940
|
+
b = {
|
|
944
941
|
text: p.getText(),
|
|
945
942
|
columnSpan: p.getColumnSpan(),
|
|
946
943
|
rowSpan: p.getRowSpan(),
|
|
@@ -956,151 +953,183 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
956
953
|
verticalAlign: f.getVerticalAlign(),
|
|
957
954
|
style: f.getStyle()
|
|
958
955
|
} : void 0,
|
|
959
|
-
...
|
|
956
|
+
...b
|
|
960
957
|
};
|
|
961
958
|
}
|
|
962
|
-
return
|
|
959
|
+
return b;
|
|
963
960
|
}
|
|
964
|
-
function
|
|
965
|
-
return
|
|
966
|
-
id:
|
|
967
|
-
title: (
|
|
968
|
-
level:
|
|
969
|
-
num:
|
|
970
|
-
sections:
|
|
961
|
+
function l(i) {
|
|
962
|
+
return i.getSections().map((d) => ({
|
|
963
|
+
id: d.getId(),
|
|
964
|
+
title: (d.getCaption() ? d.getCaptionedTitle() : d.getTitle()) || "",
|
|
965
|
+
level: d.getLevel(),
|
|
966
|
+
num: d.getSectionNumber(),
|
|
967
|
+
sections: l(d)
|
|
971
968
|
}));
|
|
972
969
|
}
|
|
973
|
-
const
|
|
974
|
-
const
|
|
970
|
+
const c = r.getAuthors().map((i) => {
|
|
971
|
+
const d = i.getName(), m = i.getEmail();
|
|
975
972
|
return {
|
|
976
|
-
name:
|
|
977
|
-
email:
|
|
973
|
+
name: d ? r.applySubstitutions(d).toString() : void 0,
|
|
974
|
+
email: m ? r.applySubstitutions(m).toString() : void 0
|
|
978
975
|
};
|
|
979
976
|
});
|
|
980
|
-
return
|
|
977
|
+
return a = {
|
|
981
978
|
type: "document",
|
|
982
|
-
title: ((
|
|
979
|
+
title: ((u = r.getDocumentTitle()) == null ? void 0 : u.toString()) || "",
|
|
983
980
|
hasHeader: r.hasHeader(),
|
|
984
981
|
noHeader: r.getNoheader(),
|
|
985
982
|
contentModel: r.getContentModel(),
|
|
986
983
|
attributes: r.getAttributes(),
|
|
987
|
-
footnotes: r.getFootnotes().map((
|
|
988
|
-
text:
|
|
989
|
-
index:
|
|
984
|
+
footnotes: r.getFootnotes().map((i) => ({
|
|
985
|
+
text: i.getText(),
|
|
986
|
+
index: i.getIndex()
|
|
990
987
|
})),
|
|
991
|
-
blocks: r.getBlocks().map((
|
|
992
|
-
sections:
|
|
993
|
-
authors:
|
|
994
|
-
},
|
|
995
|
-
text:
|
|
996
|
-
index:
|
|
997
|
-
})),
|
|
988
|
+
blocks: r.getBlocks().map((i) => s(i)),
|
|
989
|
+
sections: l(r),
|
|
990
|
+
authors: c
|
|
991
|
+
}, a.footnotes = r.getFootnotes().map((i) => ({
|
|
992
|
+
text: i.getText(),
|
|
993
|
+
index: i.getIndex()
|
|
994
|
+
})), a;
|
|
995
|
+
}, kt = async (r, a) => {
|
|
996
|
+
async function s(c) {
|
|
997
|
+
return Promise.all(
|
|
998
|
+
c.map(async (u) => {
|
|
999
|
+
let i = await a(u);
|
|
1000
|
+
return i.blocks && i.blocks.length > 0 && (i = {
|
|
1001
|
+
...i,
|
|
1002
|
+
blocks: await s(i.blocks)
|
|
1003
|
+
}), i;
|
|
1004
|
+
})
|
|
1005
|
+
);
|
|
1006
|
+
}
|
|
1007
|
+
const l = await s(r.blocks);
|
|
1008
|
+
return {
|
|
1009
|
+
...r,
|
|
1010
|
+
blocks: l
|
|
1011
|
+
};
|
|
1012
|
+
}, Dt = (r, a) => {
|
|
1013
|
+
function s(c) {
|
|
1014
|
+
return c.map((u) => {
|
|
1015
|
+
let i = a(u);
|
|
1016
|
+
return i.blocks && i.blocks.length > 0 && (i = {
|
|
1017
|
+
...i,
|
|
1018
|
+
blocks: s(i.blocks)
|
|
1019
|
+
}), i;
|
|
1020
|
+
});
|
|
1021
|
+
}
|
|
1022
|
+
const l = s(r.blocks);
|
|
1023
|
+
return {
|
|
1024
|
+
...r,
|
|
1025
|
+
blocks: l
|
|
1026
|
+
};
|
|
998
1027
|
}, rt = ({
|
|
999
1028
|
node: r
|
|
1000
1029
|
}) => {
|
|
1001
|
-
const a = (
|
|
1002
|
-
const
|
|
1003
|
-
let
|
|
1004
|
-
return
|
|
1005
|
-
terms:
|
|
1006
|
-
dd:
|
|
1030
|
+
const a = (l) => {
|
|
1031
|
+
const c = l, u = c[0];
|
|
1032
|
+
let i = c[1];
|
|
1033
|
+
return i.type || (i = null), {
|
|
1034
|
+
terms: u,
|
|
1035
|
+
dd: i
|
|
1007
1036
|
};
|
|
1008
|
-
},
|
|
1009
|
-
if (
|
|
1010
|
-
return /* @__PURE__ */
|
|
1011
|
-
children: [
|
|
1012
|
-
children: R(
|
|
1013
|
-
}), /* @__PURE__ */ t(
|
|
1014
|
-
blocks:
|
|
1037
|
+
}, s = (l) => {
|
|
1038
|
+
if (l)
|
|
1039
|
+
return /* @__PURE__ */ g("dd", {
|
|
1040
|
+
children: [l.text && /* @__PURE__ */ t("p", {
|
|
1041
|
+
children: R(l.text)
|
|
1042
|
+
}), /* @__PURE__ */ t(O, {
|
|
1043
|
+
blocks: l.blocks
|
|
1015
1044
|
})]
|
|
1016
1045
|
});
|
|
1017
1046
|
};
|
|
1018
1047
|
if (r.style === "qanda")
|
|
1019
|
-
return /* @__PURE__ */
|
|
1048
|
+
return /* @__PURE__ */ g("div", {
|
|
1020
1049
|
className: k("qlist qanda", r.role),
|
|
1021
1050
|
...r.lineNumber ? {
|
|
1022
1051
|
"data-lineno": r.lineNumber
|
|
1023
1052
|
} : {},
|
|
1024
|
-
children: [/* @__PURE__ */ t(
|
|
1053
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1025
1054
|
text: r.title
|
|
1026
1055
|
}), /* @__PURE__ */ t("ol", {
|
|
1027
|
-
children: r.items.map((
|
|
1056
|
+
children: r.items.map((l, c) => {
|
|
1028
1057
|
const {
|
|
1029
|
-
terms:
|
|
1030
|
-
dd:
|
|
1031
|
-
} = a(
|
|
1032
|
-
if (!!
|
|
1033
|
-
return /* @__PURE__ */
|
|
1034
|
-
children: [
|
|
1058
|
+
terms: u,
|
|
1059
|
+
dd: i
|
|
1060
|
+
} = a(l);
|
|
1061
|
+
if (!!u)
|
|
1062
|
+
return /* @__PURE__ */ g("li", {
|
|
1063
|
+
children: [u.map((d, m) => /* @__PURE__ */ t("p", {
|
|
1035
1064
|
children: /* @__PURE__ */ t("em", {
|
|
1036
|
-
children: R(
|
|
1065
|
+
children: R(d.text)
|
|
1037
1066
|
})
|
|
1038
|
-
},
|
|
1039
|
-
},
|
|
1067
|
+
}, m)), s(i)]
|
|
1068
|
+
}, c);
|
|
1040
1069
|
})
|
|
1041
1070
|
})]
|
|
1042
1071
|
});
|
|
1043
1072
|
if (r.style === "horizontal") {
|
|
1044
|
-
const
|
|
1045
|
-
return /* @__PURE__ */
|
|
1073
|
+
const l = r.attributes.labelwidth, c = r.attributes.itemwidth;
|
|
1074
|
+
return /* @__PURE__ */ g("div", {
|
|
1046
1075
|
className: k("hdlist", r.role),
|
|
1047
|
-
children: [/* @__PURE__ */ t(
|
|
1076
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1048
1077
|
text: r.title
|
|
1049
|
-
}), /* @__PURE__ */
|
|
1050
|
-
children: [(
|
|
1078
|
+
}), /* @__PURE__ */ g("table", {
|
|
1079
|
+
children: [(l || c) && /* @__PURE__ */ g("colgroup", {
|
|
1051
1080
|
children: [/* @__PURE__ */ t("col", {
|
|
1052
1081
|
style: {
|
|
1053
|
-
width:
|
|
1082
|
+
width: l ? `${l.replace("%", "")}%` : ""
|
|
1054
1083
|
}
|
|
1055
1084
|
}), /* @__PURE__ */ t("col", {
|
|
1056
1085
|
style: {
|
|
1057
|
-
width:
|
|
1086
|
+
width: c ? `${c.replace("%", "")}%` : ""
|
|
1058
1087
|
}
|
|
1059
1088
|
})]
|
|
1060
1089
|
}), /* @__PURE__ */ t("tbody", {
|
|
1061
|
-
children: r.items.map((
|
|
1090
|
+
children: r.items.map((u, i) => {
|
|
1062
1091
|
const {
|
|
1063
|
-
terms:
|
|
1064
|
-
dd:
|
|
1065
|
-
} = a(
|
|
1066
|
-
if (!!
|
|
1067
|
-
return /* @__PURE__ */
|
|
1092
|
+
terms: d,
|
|
1093
|
+
dd: m
|
|
1094
|
+
} = a(u);
|
|
1095
|
+
if (!!d)
|
|
1096
|
+
return /* @__PURE__ */ g("tr", {
|
|
1068
1097
|
children: [/* @__PURE__ */ t("td", {
|
|
1069
1098
|
className: k("hdlist1", dr(r.attributes, "strong") ? "strong" : ""),
|
|
1070
|
-
children:
|
|
1071
|
-
children: [
|
|
1072
|
-
},
|
|
1073
|
-
}),
|
|
1099
|
+
children: d.map((E, b) => /* @__PURE__ */ g(Nr, {
|
|
1100
|
+
children: [b !== 0 && /* @__PURE__ */ t("br", {}), R(E.text)]
|
|
1101
|
+
}, b))
|
|
1102
|
+
}), m && /* @__PURE__ */ g("td", {
|
|
1074
1103
|
className: "hdlist2",
|
|
1075
|
-
children: [
|
|
1076
|
-
children: R(
|
|
1077
|
-
}), /* @__PURE__ */ t(
|
|
1078
|
-
blocks:
|
|
1104
|
+
children: [m.text && /* @__PURE__ */ t("p", {
|
|
1105
|
+
children: R(m.text)
|
|
1106
|
+
}), /* @__PURE__ */ t(O, {
|
|
1107
|
+
blocks: m.blocks
|
|
1079
1108
|
})]
|
|
1080
1109
|
})]
|
|
1081
|
-
},
|
|
1110
|
+
}, i);
|
|
1082
1111
|
})
|
|
1083
1112
|
})]
|
|
1084
1113
|
})]
|
|
1085
1114
|
});
|
|
1086
1115
|
} else
|
|
1087
|
-
return /* @__PURE__ */
|
|
1116
|
+
return /* @__PURE__ */ g("div", {
|
|
1088
1117
|
className: k("dlist", r.style, r.role),
|
|
1089
|
-
children: [/* @__PURE__ */ t(
|
|
1118
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1090
1119
|
text: r.title
|
|
1091
1120
|
}), /* @__PURE__ */ t("dl", {
|
|
1092
|
-
children: r.items.map((
|
|
1121
|
+
children: r.items.map((l, c) => {
|
|
1093
1122
|
const {
|
|
1094
|
-
terms:
|
|
1095
|
-
dd:
|
|
1096
|
-
} = a(
|
|
1097
|
-
if (!!
|
|
1098
|
-
return /* @__PURE__ */
|
|
1099
|
-
children: [
|
|
1123
|
+
terms: u,
|
|
1124
|
+
dd: i
|
|
1125
|
+
} = a(l);
|
|
1126
|
+
if (!!u)
|
|
1127
|
+
return /* @__PURE__ */ g(Nr, {
|
|
1128
|
+
children: [u.map((d, m) => /* @__PURE__ */ t("dt", {
|
|
1100
1129
|
className: "hdlist1",
|
|
1101
|
-
children: R(
|
|
1102
|
-
},
|
|
1103
|
-
},
|
|
1130
|
+
children: R(d.text)
|
|
1131
|
+
}, m)), s(i)]
|
|
1132
|
+
}, c);
|
|
1104
1133
|
})
|
|
1105
1134
|
})]
|
|
1106
1135
|
});
|
|
@@ -1109,30 +1138,30 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1109
1138
|
opts: a
|
|
1110
1139
|
}) => {
|
|
1111
1140
|
const {
|
|
1112
|
-
document:
|
|
1113
|
-
} =
|
|
1141
|
+
document: s
|
|
1142
|
+
} = I(U);
|
|
1114
1143
|
if (!r || r.length === 0)
|
|
1115
1144
|
return null;
|
|
1116
|
-
const
|
|
1145
|
+
const l = s.attributes || {}, c = l.sectnumlevels, u = l.toclevels, i = (a == null ? void 0 : a.sectNumLevels) || (c ? parseInt(c) : 3), d = (a == null ? void 0 : a.tocLevels) || (u ? parseInt(u) : 2);
|
|
1117
1146
|
return /* @__PURE__ */ t("ul", {
|
|
1118
1147
|
className: `sectlevel${r[0].level}`,
|
|
1119
|
-
children: r.map((
|
|
1120
|
-
let
|
|
1121
|
-
|
|
1122
|
-
const
|
|
1123
|
-
let
|
|
1124
|
-
return
|
|
1148
|
+
children: r.map((m) => {
|
|
1149
|
+
let E = m.num;
|
|
1150
|
+
E = E === "." || E === ".." ? "" : E;
|
|
1151
|
+
const b = m.level;
|
|
1152
|
+
let p = m.title;
|
|
1153
|
+
return b <= i && (p = `${E} ${m.title}`), /* @__PURE__ */ g("li", {
|
|
1125
1154
|
children: [/* @__PURE__ */ t("a", {
|
|
1126
|
-
href: `#${
|
|
1127
|
-
children: R(
|
|
1128
|
-
}),
|
|
1129
|
-
sections:
|
|
1155
|
+
href: `#${m.id}`,
|
|
1156
|
+
children: R(p)
|
|
1157
|
+
}), b < d && /* @__PURE__ */ t(mr, {
|
|
1158
|
+
sections: m.sections,
|
|
1130
1159
|
opts: {
|
|
1131
|
-
tocLevels:
|
|
1132
|
-
sectNumLevels:
|
|
1160
|
+
tocLevels: d,
|
|
1161
|
+
sectNumLevels: i
|
|
1133
1162
|
}
|
|
1134
1163
|
})]
|
|
1135
|
-
},
|
|
1164
|
+
}, m.id);
|
|
1136
1165
|
})
|
|
1137
1166
|
});
|
|
1138
1167
|
}, et = ({
|
|
@@ -1140,12 +1169,12 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1140
1169
|
}) => {
|
|
1141
1170
|
const a = () => r.noHeader ? null : /* @__PURE__ */ t("div", {
|
|
1142
1171
|
id: "header",
|
|
1143
|
-
children: r.hasHeader && /* @__PURE__ */
|
|
1172
|
+
children: r.hasHeader && /* @__PURE__ */ g(F, {
|
|
1144
1173
|
children: [/* @__PURE__ */ t("h1", {
|
|
1145
1174
|
dangerouslySetInnerHTML: {
|
|
1146
1175
|
__html: r.title
|
|
1147
1176
|
}
|
|
1148
|
-
}), /* @__PURE__ */ t(
|
|
1177
|
+
}), /* @__PURE__ */ t(l, {}), r.sections && r.sections.length > 0 && r.attributes.toc !== void 0 && r.attributes["toc-placement"] === "auto" && /* @__PURE__ */ g("div", {
|
|
1149
1178
|
id: "toc",
|
|
1150
1179
|
className: cr(r.attributes, "toc-class", "toc"),
|
|
1151
1180
|
children: [/* @__PURE__ */ t("div", {
|
|
@@ -1156,62 +1185,62 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1156
1185
|
})]
|
|
1157
1186
|
})]
|
|
1158
1187
|
})
|
|
1159
|
-
}),
|
|
1188
|
+
}), s = () => r.footnotes && r.footnotes.length > 0 && r.blocks && !j(r.attributes, "nofootnotes") ? /* @__PURE__ */ g("div", {
|
|
1160
1189
|
id: "footnotes",
|
|
1161
|
-
children: [/* @__PURE__ */ t("hr", {}), r.footnotes.map((
|
|
1190
|
+
children: [/* @__PURE__ */ t("hr", {}), r.footnotes.map((c) => /* @__PURE__ */ g("div", {
|
|
1162
1191
|
className: "footnote",
|
|
1163
|
-
id: `_footnotedef_${
|
|
1192
|
+
id: `_footnotedef_${c.index}`,
|
|
1164
1193
|
children: [/* @__PURE__ */ t("a", {
|
|
1165
|
-
href: `#_footnoteref_${
|
|
1166
|
-
children:
|
|
1167
|
-
}), ".", " ", R(
|
|
1168
|
-
},
|
|
1169
|
-
}) : null,
|
|
1194
|
+
href: `#_footnoteref_${c.index}`,
|
|
1195
|
+
children: c.index
|
|
1196
|
+
}), ".", " ", R(c.text || "")]
|
|
1197
|
+
}, c.index))]
|
|
1198
|
+
}) : null, l = () => r.authors.length > 0 || j(r.attributes, "revnumber") || j(r.attributes, "revdate") || j(r.attributes, "revremark") ? /* @__PURE__ */ g("div", {
|
|
1170
1199
|
className: "details",
|
|
1171
|
-
children: [r.authors.map((
|
|
1172
|
-
children: [
|
|
1200
|
+
children: [r.authors.map((c, u) => /* @__PURE__ */ g(Nr, {
|
|
1201
|
+
children: [c.name && /* @__PURE__ */ g(F, {
|
|
1173
1202
|
children: [/* @__PURE__ */ t("span", {
|
|
1174
|
-
id: `author${
|
|
1203
|
+
id: `author${u + 1 > 1 ? u + 1 : ""}`,
|
|
1175
1204
|
className: "author",
|
|
1176
|
-
children: R(
|
|
1205
|
+
children: R(c.name)
|
|
1177
1206
|
}), /* @__PURE__ */ t("br", {})]
|
|
1178
|
-
}),
|
|
1207
|
+
}), c.email && /* @__PURE__ */ g(F, {
|
|
1179
1208
|
children: [/* @__PURE__ */ t("span", {
|
|
1180
|
-
id: `email${
|
|
1209
|
+
id: `email${u + 1 > 1 ? u + 1 : ""}`,
|
|
1181
1210
|
className: "email",
|
|
1182
|
-
children: R(
|
|
1211
|
+
children: R(c.email)
|
|
1183
1212
|
}), /* @__PURE__ */ t("br", {})]
|
|
1184
1213
|
})]
|
|
1185
|
-
},
|
|
1214
|
+
}, u)), j(r.attributes, "revnumber") && /* @__PURE__ */ t("span", {
|
|
1186
1215
|
id: "revnumber",
|
|
1187
1216
|
children: `${r.attributes["version-label"].toLowerCase()} ${r.attributes.revnumber}${r.attributes.revdate ? "," : ""}`
|
|
1188
|
-
}),
|
|
1217
|
+
}), j(r.attributes, "revdate") && /* @__PURE__ */ t("span", {
|
|
1189
1218
|
id: "revdate",
|
|
1190
1219
|
children: r.attributes.revdate
|
|
1191
|
-
}),
|
|
1220
|
+
}), j(r.attributes, "revremark") && /* @__PURE__ */ g(F, {
|
|
1192
1221
|
children: [/* @__PURE__ */ t("br", {}), /* @__PURE__ */ t("span", {
|
|
1193
1222
|
id: "revremark",
|
|
1194
1223
|
children: r.attributes.revremark
|
|
1195
1224
|
})]
|
|
1196
1225
|
})]
|
|
1197
1226
|
}) : null;
|
|
1198
|
-
return /* @__PURE__ */
|
|
1227
|
+
return /* @__PURE__ */ g(F, {
|
|
1199
1228
|
children: [/* @__PURE__ */ t(a, {}), /* @__PURE__ */ t("div", {
|
|
1200
1229
|
id: "content",
|
|
1201
|
-
children: /* @__PURE__ */ t(
|
|
1230
|
+
children: /* @__PURE__ */ t(O, {
|
|
1202
1231
|
blocks: r.blocks
|
|
1203
1232
|
})
|
|
1204
|
-
}), /* @__PURE__ */ t(
|
|
1233
|
+
}), /* @__PURE__ */ t(s, {})]
|
|
1205
1234
|
});
|
|
1206
1235
|
}, tt = ({
|
|
1207
1236
|
node: r
|
|
1208
1237
|
}) => {
|
|
1209
1238
|
if (r.attributes.collapsible) {
|
|
1210
|
-
const a = r.attributes.collapsible,
|
|
1239
|
+
const a = r.attributes.collapsible, s = r.title || "Details", l = r.attributes.open ? !0 : void 0;
|
|
1211
1240
|
if (a)
|
|
1212
|
-
return /* @__PURE__ */
|
|
1241
|
+
return /* @__PURE__ */ g("details", {
|
|
1213
1242
|
className: r.role,
|
|
1214
|
-
open:
|
|
1243
|
+
open: l,
|
|
1215
1244
|
...r.lineNumber ? {
|
|
1216
1245
|
"data-lineno": r.lineNumber
|
|
1217
1246
|
} : {},
|
|
@@ -1220,16 +1249,16 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1220
1249
|
} : {},
|
|
1221
1250
|
children: [/* @__PURE__ */ t("summary", {
|
|
1222
1251
|
className: "title",
|
|
1223
|
-
children: R(
|
|
1252
|
+
children: R(s)
|
|
1224
1253
|
}), /* @__PURE__ */ t("div", {
|
|
1225
1254
|
className: "content",
|
|
1226
|
-
children: /* @__PURE__ */ t(
|
|
1255
|
+
children: /* @__PURE__ */ t(O, {
|
|
1227
1256
|
blocks: r.blocks
|
|
1228
1257
|
})
|
|
1229
1258
|
})]
|
|
1230
1259
|
});
|
|
1231
1260
|
}
|
|
1232
|
-
return /* @__PURE__ */
|
|
1261
|
+
return /* @__PURE__ */ g("div", {
|
|
1233
1262
|
className: k("exampleblock", r.role),
|
|
1234
1263
|
...r.lineNumber ? {
|
|
1235
1264
|
"data-lineno": r.lineNumber
|
|
@@ -1237,18 +1266,18 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1237
1266
|
...r.id ? {
|
|
1238
1267
|
id: r.id
|
|
1239
1268
|
} : {},
|
|
1240
|
-
children: [/* @__PURE__ */ t(
|
|
1269
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1241
1270
|
text: r.title
|
|
1242
1271
|
}), /* @__PURE__ */ t("div", {
|
|
1243
1272
|
className: "content",
|
|
1244
|
-
children: /* @__PURE__ */ t(
|
|
1273
|
+
children: /* @__PURE__ */ t(O, {
|
|
1245
1274
|
blocks: r.blocks
|
|
1246
1275
|
})
|
|
1247
1276
|
})]
|
|
1248
1277
|
});
|
|
1249
1278
|
}, at = ({
|
|
1250
1279
|
node: r
|
|
1251
|
-
}) => /* @__PURE__ */
|
|
1280
|
+
}) => /* @__PURE__ */ g(F, {
|
|
1252
1281
|
children: [/* @__PURE__ */ t("a", {
|
|
1253
1282
|
className: "sectionanchor",
|
|
1254
1283
|
...r.id ? {
|
|
@@ -1257,7 +1286,7 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1257
1286
|
...r.lineNumber ? {
|
|
1258
1287
|
"data-lineno": r.lineNumber
|
|
1259
1288
|
} : {}
|
|
1260
|
-
}),
|
|
1289
|
+
}), $(`h${r.level + 1}`, {
|
|
1261
1290
|
className: k(r.role, r.style)
|
|
1262
1291
|
}, R(r.title || ""))]
|
|
1263
1292
|
}), it = ({
|
|
@@ -1273,7 +1302,7 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1273
1302
|
className: "image",
|
|
1274
1303
|
href: r.attributes.link,
|
|
1275
1304
|
children: a
|
|
1276
|
-
})), /* @__PURE__ */
|
|
1305
|
+
})), /* @__PURE__ */ g("div", {
|
|
1277
1306
|
className: `imageblock ${r.attributes.align ? "text-" + r.attributes.align : ""} ${r.attributes.float ? r.attributes.float : ""} ${r.role ? r.role : ""}`,
|
|
1278
1307
|
...r.lineNumber ? {
|
|
1279
1308
|
"data-lineno": r.lineNumber
|
|
@@ -1285,32 +1314,32 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1285
1314
|
children: [/* @__PURE__ */ t("div", {
|
|
1286
1315
|
className: "content",
|
|
1287
1316
|
children: a
|
|
1288
|
-
}), /* @__PURE__ */ t(
|
|
1317
|
+
}), /* @__PURE__ */ t(C, {
|
|
1289
1318
|
text: r.title
|
|
1290
1319
|
})]
|
|
1291
1320
|
});
|
|
1292
|
-
},
|
|
1321
|
+
}, st = ({
|
|
1293
1322
|
node: r
|
|
1294
1323
|
}) => {
|
|
1295
1324
|
const {
|
|
1296
1325
|
document: a
|
|
1297
|
-
} =
|
|
1326
|
+
} = I(U), s = r.attributes.nowrap || a.attributes.prewrap;
|
|
1298
1327
|
if (r.style === "source") {
|
|
1299
|
-
const
|
|
1300
|
-
return /* @__PURE__ */
|
|
1328
|
+
const l = r.language;
|
|
1329
|
+
return /* @__PURE__ */ g("div", {
|
|
1301
1330
|
className: "listingblock",
|
|
1302
1331
|
...r.lineNumber ? {
|
|
1303
1332
|
"data-lineno": r.lineNumber
|
|
1304
1333
|
} : {},
|
|
1305
|
-
children: [/* @__PURE__ */ t(
|
|
1334
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1306
1335
|
text: r.title
|
|
1307
1336
|
}), /* @__PURE__ */ t("div", {
|
|
1308
1337
|
className: "content",
|
|
1309
1338
|
children: /* @__PURE__ */ t("pre", {
|
|
1310
|
-
className: k("highlight",
|
|
1311
|
-
children:
|
|
1312
|
-
className:
|
|
1313
|
-
"data-lang":
|
|
1339
|
+
className: k("highlight", s ? " nowrap" : ""),
|
|
1340
|
+
children: l ? /* @__PURE__ */ t("code", {
|
|
1341
|
+
className: l ? `language-${l}` : "",
|
|
1342
|
+
"data-lang": l,
|
|
1314
1343
|
dangerouslySetInnerHTML: {
|
|
1315
1344
|
__html: r.content || ""
|
|
1316
1345
|
}
|
|
@@ -1323,17 +1352,17 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1323
1352
|
})]
|
|
1324
1353
|
});
|
|
1325
1354
|
} else
|
|
1326
|
-
return /* @__PURE__ */
|
|
1355
|
+
return /* @__PURE__ */ g("div", {
|
|
1327
1356
|
className: "listingblock",
|
|
1328
1357
|
...r.lineNumber ? {
|
|
1329
1358
|
"data-lineno": r.lineNumber
|
|
1330
1359
|
} : {},
|
|
1331
|
-
children: [/* @__PURE__ */ t(
|
|
1360
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1332
1361
|
text: r.title
|
|
1333
1362
|
}), /* @__PURE__ */ t("div", {
|
|
1334
1363
|
className: "content",
|
|
1335
1364
|
children: /* @__PURE__ */ t("pre", {
|
|
1336
|
-
className:
|
|
1365
|
+
className: s ? " nowrap" : "",
|
|
1337
1366
|
children: /* @__PURE__ */ t("code", {
|
|
1338
1367
|
dangerouslySetInnerHTML: {
|
|
1339
1368
|
__html: r.source
|
|
@@ -1342,35 +1371,35 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1342
1371
|
})
|
|
1343
1372
|
})]
|
|
1344
1373
|
});
|
|
1345
|
-
},
|
|
1374
|
+
}, lt = ({
|
|
1346
1375
|
node: r
|
|
1347
1376
|
}) => {
|
|
1348
1377
|
const {
|
|
1349
1378
|
document: a
|
|
1350
|
-
} =
|
|
1351
|
-
return /* @__PURE__ */
|
|
1379
|
+
} = I(U), s = a.attributes || {}, l = r.attributes.nowrap || s.prewrap === void 0;
|
|
1380
|
+
return /* @__PURE__ */ g("div", {
|
|
1352
1381
|
className: "literalblock",
|
|
1353
1382
|
...r.lineNumber ? {
|
|
1354
1383
|
"data-lineno": r.lineNumber
|
|
1355
1384
|
} : {},
|
|
1356
|
-
children: [/* @__PURE__ */ t(
|
|
1385
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1357
1386
|
text: r.title
|
|
1358
1387
|
}), /* @__PURE__ */ t("div", {
|
|
1359
1388
|
className: "content",
|
|
1360
1389
|
children: /* @__PURE__ */ t("pre", {
|
|
1361
|
-
className:
|
|
1390
|
+
className: l ? "nowrap" : "",
|
|
1362
1391
|
children: r.source
|
|
1363
1392
|
})
|
|
1364
1393
|
})]
|
|
1365
1394
|
});
|
|
1366
1395
|
}, ot = ({
|
|
1367
1396
|
node: r
|
|
1368
|
-
}) => /* @__PURE__ */
|
|
1397
|
+
}) => /* @__PURE__ */ g("div", {
|
|
1369
1398
|
className: k("olist", r.role, r.style),
|
|
1370
1399
|
...r.lineNumber ? {
|
|
1371
1400
|
"data-lineno": r.lineNumber
|
|
1372
1401
|
} : {},
|
|
1373
|
-
children: [/* @__PURE__ */ t(
|
|
1402
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1374
1403
|
text: r.title
|
|
1375
1404
|
}), /* @__PURE__ */ t("ol", {
|
|
1376
1405
|
className: r.style,
|
|
@@ -1378,42 +1407,42 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1378
1407
|
...r.attributes.start ? {
|
|
1379
1408
|
start: parseInt(r.attributes.start)
|
|
1380
1409
|
} : {},
|
|
1381
|
-
children: r.items.map((a,
|
|
1410
|
+
children: r.items.map((a, s) => /* @__PURE__ */ g("li", {
|
|
1382
1411
|
className: r.role ? r.role : "",
|
|
1383
1412
|
children: [/* @__PURE__ */ t("p", {
|
|
1384
1413
|
children: R(a.text || "")
|
|
1385
|
-
}), /* @__PURE__ */ t(
|
|
1414
|
+
}), /* @__PURE__ */ t(O, {
|
|
1386
1415
|
blocks: a.blocks
|
|
1387
1416
|
})]
|
|
1388
|
-
},
|
|
1417
|
+
}, s))
|
|
1389
1418
|
})]
|
|
1390
1419
|
}), ct = ({
|
|
1391
1420
|
node: r
|
|
1392
1421
|
}) => {
|
|
1393
1422
|
const a = r.style;
|
|
1394
|
-
return a === "abstract" ? /* @__PURE__ */
|
|
1423
|
+
return a === "abstract" ? /* @__PURE__ */ g("div", {
|
|
1395
1424
|
className: k("quoteblock abstract", r.role),
|
|
1396
1425
|
...r.lineNumber ? {
|
|
1397
1426
|
"data-lineno": r.lineNumber
|
|
1398
1427
|
} : {},
|
|
1399
|
-
children: [/* @__PURE__ */ t(
|
|
1428
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1400
1429
|
text: r.title
|
|
1401
1430
|
}), /* @__PURE__ */ t("blockquote", {
|
|
1402
1431
|
className: "content",
|
|
1403
|
-
children: /* @__PURE__ */ t(
|
|
1432
|
+
children: /* @__PURE__ */ t(O, {
|
|
1404
1433
|
blocks: r.blocks
|
|
1405
1434
|
})
|
|
1406
1435
|
})]
|
|
1407
|
-
}) : /* @__PURE__ */
|
|
1436
|
+
}) : /* @__PURE__ */ g("div", {
|
|
1408
1437
|
className: k("openblock", a && a !== "open" ? a : "", r.role),
|
|
1409
1438
|
...r.lineNumber ? {
|
|
1410
1439
|
"data-lineno": r.lineNumber
|
|
1411
1440
|
} : {},
|
|
1412
|
-
children: [/* @__PURE__ */ t(
|
|
1441
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1413
1442
|
text: r.title
|
|
1414
1443
|
}), /* @__PURE__ */ t("div", {
|
|
1415
1444
|
className: "content",
|
|
1416
|
-
children: /* @__PURE__ */ t(
|
|
1445
|
+
children: /* @__PURE__ */ t(O, {
|
|
1417
1446
|
blocks: r.blocks
|
|
1418
1447
|
})
|
|
1419
1448
|
})]
|
|
@@ -1424,7 +1453,7 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1424
1453
|
}
|
|
1425
1454
|
}), ut = ({
|
|
1426
1455
|
node: r
|
|
1427
|
-
}) => /* @__PURE__ */
|
|
1456
|
+
}) => /* @__PURE__ */ g("div", {
|
|
1428
1457
|
...r.id ? {
|
|
1429
1458
|
id: r.id
|
|
1430
1459
|
} : {},
|
|
@@ -1432,7 +1461,7 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1432
1461
|
...r.lineNumber ? {
|
|
1433
1462
|
"data-lineno": r.lineNumber
|
|
1434
1463
|
} : {},
|
|
1435
|
-
children: [/* @__PURE__ */ t(
|
|
1464
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1436
1465
|
text: r.title
|
|
1437
1466
|
}), r.content && /* @__PURE__ */ t("p", {
|
|
1438
1467
|
dangerouslySetInnerHTML: {
|
|
@@ -1441,29 +1470,29 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1441
1470
|
})]
|
|
1442
1471
|
}), pt = ({
|
|
1443
1472
|
node: r
|
|
1444
|
-
}) => /* @__PURE__ */ t(
|
|
1473
|
+
}) => /* @__PURE__ */ t(F, {
|
|
1445
1474
|
children: R(r.content || "")
|
|
1446
1475
|
}), dt = ({
|
|
1447
1476
|
node: r
|
|
1448
1477
|
}) => {
|
|
1449
1478
|
const {
|
|
1450
1479
|
document: a
|
|
1451
|
-
} =
|
|
1480
|
+
} = I(U), s = a.attributes || {}, l = s["toc-placement"] === "preamble" && a.sections && a.sections.length > 0 && s.toc !== void 0;
|
|
1452
1481
|
return /* @__PURE__ */ t("div", {
|
|
1453
1482
|
id: "preamble",
|
|
1454
1483
|
...r.lineNumber ? {
|
|
1455
1484
|
"data-lineno": r.lineNumber
|
|
1456
1485
|
} : {},
|
|
1457
|
-
children: /* @__PURE__ */
|
|
1486
|
+
children: /* @__PURE__ */ g("div", {
|
|
1458
1487
|
className: "sectionbody",
|
|
1459
|
-
children: [/* @__PURE__ */ t(
|
|
1488
|
+
children: [/* @__PURE__ */ t(O, {
|
|
1460
1489
|
blocks: r.blocks
|
|
1461
|
-
}),
|
|
1490
|
+
}), l && /* @__PURE__ */ g("div", {
|
|
1462
1491
|
id: "toc",
|
|
1463
1492
|
className: r.attributes["toc-class"] ? r.attributes["toc-class"] : "toc",
|
|
1464
1493
|
children: [/* @__PURE__ */ t("div", {
|
|
1465
1494
|
id: "toctitle",
|
|
1466
|
-
children: R(
|
|
1495
|
+
children: R(s["toc-title"])
|
|
1467
1496
|
}), a.sections && /* @__PURE__ */ t(mr, {
|
|
1468
1497
|
sections: a.sections
|
|
1469
1498
|
})]
|
|
@@ -1473,8 +1502,8 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1473
1502
|
}, mt = ({
|
|
1474
1503
|
node: r
|
|
1475
1504
|
}) => {
|
|
1476
|
-
const a = r.attributes.attribution,
|
|
1477
|
-
return /* @__PURE__ */
|
|
1505
|
+
const a = r.attributes.attribution, s = r.attributes.citetitle;
|
|
1506
|
+
return /* @__PURE__ */ g("div", {
|
|
1478
1507
|
...r.id ? {
|
|
1479
1508
|
id: r.id
|
|
1480
1509
|
} : {},
|
|
@@ -1482,18 +1511,18 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1482
1511
|
...r.lineNumber ? {
|
|
1483
1512
|
"data-lineno": r.lineNumber
|
|
1484
1513
|
} : {},
|
|
1485
|
-
children: [/* @__PURE__ */ t(
|
|
1514
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1486
1515
|
text: r.title
|
|
1487
1516
|
}), r.content && /* @__PURE__ */ t("blockquote", {
|
|
1488
1517
|
dangerouslySetInnerHTML: {
|
|
1489
1518
|
__html: r.content
|
|
1490
1519
|
}
|
|
1491
|
-
}), /* @__PURE__ */ t(
|
|
1520
|
+
}), /* @__PURE__ */ t(O, {
|
|
1492
1521
|
blocks: r.blocks
|
|
1493
|
-
}), a && /* @__PURE__ */
|
|
1522
|
+
}), a && /* @__PURE__ */ g("div", {
|
|
1494
1523
|
className: "attribution",
|
|
1495
|
-
children: ["\u2014 ", a,
|
|
1496
|
-
children:
|
|
1524
|
+
children: ["\u2014 ", a, s && /* @__PURE__ */ t("cite", {
|
|
1525
|
+
children: s
|
|
1497
1526
|
})]
|
|
1498
1527
|
})]
|
|
1499
1528
|
});
|
|
@@ -1502,11 +1531,11 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1502
1531
|
}) => {
|
|
1503
1532
|
const {
|
|
1504
1533
|
document: a
|
|
1505
|
-
} =
|
|
1506
|
-
let
|
|
1507
|
-
|
|
1508
|
-
const
|
|
1509
|
-
return r.numbered && r.level <=
|
|
1534
|
+
} = I(U), s = a.attributes || {};
|
|
1535
|
+
let l = r.title, c = r.num;
|
|
1536
|
+
c = c === "." ? "" : c;
|
|
1537
|
+
const u = s.sectnumlevels ? parseInt(s.sectnumlevels) : 3;
|
|
1538
|
+
return r.numbered && r.level <= u && (l = `${c} ${r.title}`), s.sectlinks && (l = /* @__PURE__ */ g(F, {
|
|
1510
1539
|
children: [/* @__PURE__ */ t("a", {
|
|
1511
1540
|
className: "anchor",
|
|
1512
1541
|
id: r.id || "",
|
|
@@ -1517,30 +1546,30 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1517
1546
|
className: "link",
|
|
1518
1547
|
href: `#${r.id}`,
|
|
1519
1548
|
dangerouslySetInnerHTML: {
|
|
1520
|
-
__html:
|
|
1549
|
+
__html: l
|
|
1521
1550
|
}
|
|
1522
1551
|
})]
|
|
1523
|
-
})), r.level === 0 ? /* @__PURE__ */
|
|
1552
|
+
})), r.level === 0 ? /* @__PURE__ */ g(F, {
|
|
1524
1553
|
children: [/* @__PURE__ */ t("h1", {
|
|
1525
1554
|
className: k("sect0", r.role),
|
|
1526
|
-
"data-sectnum":
|
|
1555
|
+
"data-sectnum": c,
|
|
1527
1556
|
...r.lineNumber ? {
|
|
1528
1557
|
"data-lineno": r.lineNumber
|
|
1529
1558
|
} : {},
|
|
1530
|
-
children:
|
|
1531
|
-
}), /* @__PURE__ */ t(
|
|
1559
|
+
children: l
|
|
1560
|
+
}), /* @__PURE__ */ t(O, {
|
|
1532
1561
|
blocks: r.blocks
|
|
1533
1562
|
})]
|
|
1534
|
-
}) : /* @__PURE__ */
|
|
1563
|
+
}) : /* @__PURE__ */ g("div", {
|
|
1535
1564
|
className: k(`sect${r.level}`, r.role),
|
|
1536
1565
|
...r.lineNumber ? {
|
|
1537
1566
|
"data-lineno": r.lineNumber
|
|
1538
1567
|
} : {},
|
|
1539
|
-
children: [
|
|
1540
|
-
"data-sectnum":
|
|
1541
|
-
},
|
|
1568
|
+
children: [$(`h${r.level + 1}`, {
|
|
1569
|
+
"data-sectnum": c
|
|
1570
|
+
}, l), /* @__PURE__ */ t("div", {
|
|
1542
1571
|
className: "sectionbody",
|
|
1543
|
-
children: /* @__PURE__ */ t(
|
|
1572
|
+
children: /* @__PURE__ */ t(O, {
|
|
1544
1573
|
blocks: r.blocks
|
|
1545
1574
|
})
|
|
1546
1575
|
})]
|
|
@@ -1552,11 +1581,11 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1552
1581
|
...r.lineNumber ? {
|
|
1553
1582
|
"data-lineno": r.lineNumber
|
|
1554
1583
|
} : {},
|
|
1555
|
-
children: /* @__PURE__ */
|
|
1584
|
+
children: /* @__PURE__ */ g("div", {
|
|
1556
1585
|
className: "content",
|
|
1557
|
-
children: [/* @__PURE__ */ t(
|
|
1586
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1558
1587
|
text: r.title
|
|
1559
|
-
}), /* @__PURE__ */ t(
|
|
1588
|
+
}), /* @__PURE__ */ t(O, {
|
|
1560
1589
|
blocks: r.blocks
|
|
1561
1590
|
})]
|
|
1562
1591
|
})
|
|
@@ -1565,130 +1594,130 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1565
1594
|
}) => {
|
|
1566
1595
|
const {
|
|
1567
1596
|
document: a
|
|
1568
|
-
} =
|
|
1569
|
-
let
|
|
1570
|
-
|
|
1571
|
-
let
|
|
1572
|
-
|
|
1573
|
-
const
|
|
1574
|
-
return /* @__PURE__ */
|
|
1575
|
-
className: k("tableblock", ...
|
|
1597
|
+
} = I(U), s = a.attributes || {};
|
|
1598
|
+
let l = ["frame-" + cr(r.attributes, "frame", "all", "table-frame", s), "grid-" + cr(r.attributes, "grid", "all", "table-grid", s)], c = cr(r.attributes, "stripes", null, "table-stripes", s);
|
|
1599
|
+
c && l.push("stripes-" + c);
|
|
1600
|
+
let u = dr(r.attributes, "autowidth"), i = parseInt(r.attributes.tablepcwidth), d = null;
|
|
1601
|
+
u && !j(r.attributes, "width") ? l.push("fit-content") : i === 100 ? l.push("stretch") : d = `${i}%`, j(r.attributes, "float") && l.push(r.attributes.float), r.role && l.push(r.role || "");
|
|
1602
|
+
const m = (f) => k("tableblock", `halign-${f.attributes.halign}`, `valign-${f.attributes.valign}`), E = r.title, b = r.id, p = b || bt(E || "");
|
|
1603
|
+
return /* @__PURE__ */ g("table", {
|
|
1604
|
+
className: k("tableblock", ...l),
|
|
1576
1605
|
style: {
|
|
1577
|
-
width:
|
|
1606
|
+
width: d || void 0
|
|
1578
1607
|
},
|
|
1579
1608
|
...r.lineNumber ? {
|
|
1580
1609
|
"data-lineno": r.lineNumber
|
|
1581
1610
|
} : {},
|
|
1582
|
-
children: [r.title && /* @__PURE__ */
|
|
1611
|
+
children: [r.title && /* @__PURE__ */ g("caption", {
|
|
1583
1612
|
className: "title",
|
|
1584
|
-
children: [!
|
|
1613
|
+
children: [!b && /* @__PURE__ */ t("a", {
|
|
1585
1614
|
className: "anchor",
|
|
1586
|
-
id:
|
|
1615
|
+
id: p
|
|
1587
1616
|
}), /* @__PURE__ */ t("a", {
|
|
1588
|
-
href: `#${
|
|
1617
|
+
href: `#${p}`,
|
|
1589
1618
|
children: r.title
|
|
1590
1619
|
})]
|
|
1591
1620
|
}), r.columns.length > 0 && /* @__PURE__ */ t("colgroup", {
|
|
1592
|
-
children: r.columns.map((
|
|
1593
|
-
const
|
|
1621
|
+
children: r.columns.map((f, q) => {
|
|
1622
|
+
const N = f.attributes.colpcwidth;
|
|
1594
1623
|
return /* @__PURE__ */ t("col", {
|
|
1595
1624
|
style: {
|
|
1596
|
-
width: `${
|
|
1625
|
+
width: `${N}%`
|
|
1597
1626
|
}
|
|
1598
|
-
},
|
|
1627
|
+
}, q);
|
|
1599
1628
|
})
|
|
1600
|
-
}), r.headRows.map((
|
|
1629
|
+
}), r.headRows.map((f, q) => /* @__PURE__ */ t("thead", {
|
|
1601
1630
|
children: /* @__PURE__ */ t("tr", {
|
|
1602
|
-
children:
|
|
1603
|
-
className:
|
|
1631
|
+
children: f.map((N, T) => /* @__PURE__ */ t("th", {
|
|
1632
|
+
className: m(N),
|
|
1604
1633
|
dangerouslySetInnerHTML: {
|
|
1605
|
-
__html:
|
|
1634
|
+
__html: N.text
|
|
1606
1635
|
}
|
|
1607
|
-
},
|
|
1636
|
+
}, T))
|
|
1608
1637
|
})
|
|
1609
|
-
},
|
|
1610
|
-
children: r.bodyRows.map((
|
|
1611
|
-
children:
|
|
1612
|
-
const
|
|
1613
|
-
colSpan:
|
|
1614
|
-
rowSpan:
|
|
1615
|
-
className:
|
|
1616
|
-
}, Z =
|
|
1638
|
+
}, q)), /* @__PURE__ */ t("tbody", {
|
|
1639
|
+
children: r.bodyRows.map((f, q) => /* @__PURE__ */ t("tr", {
|
|
1640
|
+
children: f.map((N, T) => {
|
|
1641
|
+
const J = N.columnSpan, P = N.rowSpan, D = N.content, z = {
|
|
1642
|
+
colSpan: J,
|
|
1643
|
+
rowSpan: P,
|
|
1644
|
+
className: m(N)
|
|
1645
|
+
}, Z = N.style;
|
|
1617
1646
|
if (Z === "asciidoc")
|
|
1618
|
-
return /* @__PURE__ */
|
|
1619
|
-
...
|
|
1620
|
-
key:
|
|
1647
|
+
return /* @__PURE__ */ $("td", {
|
|
1648
|
+
...z,
|
|
1649
|
+
key: T
|
|
1621
1650
|
}, /* @__PURE__ */ t("div", {
|
|
1622
1651
|
className: "content",
|
|
1623
1652
|
dangerouslySetInnerHTML: {
|
|
1624
|
-
__html:
|
|
1653
|
+
__html: D || ""
|
|
1625
1654
|
}
|
|
1626
1655
|
}));
|
|
1627
1656
|
if (Z === "literal")
|
|
1628
|
-
return /* @__PURE__ */
|
|
1629
|
-
...
|
|
1630
|
-
key:
|
|
1657
|
+
return /* @__PURE__ */ $("td", {
|
|
1658
|
+
...z,
|
|
1659
|
+
key: T
|
|
1631
1660
|
}, /* @__PURE__ */ t("div", {
|
|
1632
1661
|
className: "literal",
|
|
1633
1662
|
children: /* @__PURE__ */ t("pre", {
|
|
1634
1663
|
dangerouslySetInnerHTML: {
|
|
1635
|
-
__html:
|
|
1664
|
+
__html: D || ""
|
|
1636
1665
|
}
|
|
1637
1666
|
})
|
|
1638
1667
|
}));
|
|
1639
1668
|
if (Z === "header")
|
|
1640
|
-
return /* @__PURE__ */
|
|
1641
|
-
...
|
|
1642
|
-
key:
|
|
1669
|
+
return /* @__PURE__ */ $("th", {
|
|
1670
|
+
...z,
|
|
1671
|
+
key: T
|
|
1643
1672
|
}, /* @__PURE__ */ t("p", {
|
|
1644
1673
|
className: "tableblock",
|
|
1645
1674
|
dangerouslySetInnerHTML: {
|
|
1646
|
-
__html:
|
|
1675
|
+
__html: D || ""
|
|
1647
1676
|
}
|
|
1648
1677
|
}));
|
|
1649
1678
|
{
|
|
1650
|
-
let tr =
|
|
1651
|
-
return /* @__PURE__ */
|
|
1652
|
-
...
|
|
1653
|
-
key:
|
|
1679
|
+
let tr = D;
|
|
1680
|
+
return /* @__PURE__ */ $("td", {
|
|
1681
|
+
...z,
|
|
1682
|
+
key: T
|
|
1654
1683
|
}, tr.length === 0 ? "" : R(`<p class="tableblock">${tr.join(`</p>
|
|
1655
1684
|
<p class="tableblock">`)}</p>`));
|
|
1656
1685
|
}
|
|
1657
1686
|
})
|
|
1658
|
-
},
|
|
1659
|
-
}), r.footRows.map((
|
|
1687
|
+
}, q))
|
|
1688
|
+
}), r.footRows.map((f, q) => /* @__PURE__ */ t("tfoot", {
|
|
1660
1689
|
children: /* @__PURE__ */ t("tr", {
|
|
1661
|
-
children:
|
|
1662
|
-
className:
|
|
1690
|
+
children: f.map((N, T) => /* @__PURE__ */ t("td", {
|
|
1691
|
+
className: m(N),
|
|
1663
1692
|
children: /* @__PURE__ */ t("p", {
|
|
1664
1693
|
className: "tableblock",
|
|
1665
1694
|
dangerouslySetInnerHTML: {
|
|
1666
|
-
__html:
|
|
1695
|
+
__html: N.text
|
|
1667
1696
|
}
|
|
1668
1697
|
})
|
|
1669
|
-
},
|
|
1698
|
+
}, T))
|
|
1670
1699
|
})
|
|
1671
|
-
},
|
|
1700
|
+
}, q))]
|
|
1672
1701
|
});
|
|
1673
1702
|
}, bt = (r) => r.toString().normalize("NFKD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim().replace(/\s+/g, "_").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/-$/g, ""), vt = ({
|
|
1674
1703
|
node: r
|
|
1675
1704
|
}) => {
|
|
1676
1705
|
const {
|
|
1677
1706
|
document: a
|
|
1678
|
-
} =
|
|
1679
|
-
let
|
|
1680
|
-
const
|
|
1681
|
-
return
|
|
1682
|
-
id:
|
|
1707
|
+
} = I(U), s = a.attributes || {}, l = a.sections && a.sections.length > 0;
|
|
1708
|
+
let c = r.id || "toc";
|
|
1709
|
+
const u = r.title ? r.title : s["toc-title"], i = s["toc-placement"], d = s.toc !== void 0, m = r.attributes.levels ? parseInt(r.attributes.levels) : void 0;
|
|
1710
|
+
return i === "macro" && l && d ? /* @__PURE__ */ g("div", {
|
|
1711
|
+
id: c,
|
|
1683
1712
|
className: k("toc", r.role),
|
|
1684
1713
|
children: [/* @__PURE__ */ t("div", {
|
|
1685
|
-
id: `${
|
|
1714
|
+
id: `${c}title`,
|
|
1686
1715
|
className: "title",
|
|
1687
|
-
children: R(
|
|
1716
|
+
children: R(u || "")
|
|
1688
1717
|
}), a.sections && /* @__PURE__ */ t(mr, {
|
|
1689
1718
|
sections: a.sections,
|
|
1690
1719
|
opts: {
|
|
1691
|
-
tocLevels:
|
|
1720
|
+
tocLevels: m
|
|
1692
1721
|
}
|
|
1693
1722
|
})]
|
|
1694
1723
|
}) : null;
|
|
@@ -1696,7 +1725,7 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1696
1725
|
node: r
|
|
1697
1726
|
}) => {
|
|
1698
1727
|
const a = dr(r.attributes, "checklist");
|
|
1699
|
-
return /* @__PURE__ */
|
|
1728
|
+
return /* @__PURE__ */ g("div", {
|
|
1700
1729
|
...r.id ? {
|
|
1701
1730
|
id: r.id
|
|
1702
1731
|
} : {},
|
|
@@ -1704,36 +1733,36 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1704
1733
|
...r.lineNumber ? {
|
|
1705
1734
|
"data-lineno": r.lineNumber
|
|
1706
1735
|
} : {},
|
|
1707
|
-
children: [/* @__PURE__ */ t(
|
|
1736
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1708
1737
|
text: r.title
|
|
1709
1738
|
}), /* @__PURE__ */ t("ul", {
|
|
1710
1739
|
className: a ? "checklist" : "",
|
|
1711
|
-
children: r.items.map((
|
|
1712
|
-
id:
|
|
1740
|
+
children: r.items.map((s, l) => a ? /* @__PURE__ */ t("li", {
|
|
1741
|
+
id: s.id,
|
|
1713
1742
|
className: r.role,
|
|
1714
|
-
children: /* @__PURE__ */
|
|
1715
|
-
children: [a &&
|
|
1716
|
-
className: k("fa",
|
|
1717
|
-
}), " ", R(
|
|
1743
|
+
children: /* @__PURE__ */ g("p", {
|
|
1744
|
+
children: [a && s.attributes.checkbox && /* @__PURE__ */ t("i", {
|
|
1745
|
+
className: k("fa", s.attributes.checked ? "fa-check-square-o" : "fa-square-o")
|
|
1746
|
+
}), " ", R(s.text || "")]
|
|
1718
1747
|
})
|
|
1719
|
-
},
|
|
1720
|
-
id:
|
|
1748
|
+
}, l) : /* @__PURE__ */ g("li", {
|
|
1749
|
+
id: s.id,
|
|
1721
1750
|
className: r.role,
|
|
1722
1751
|
children: [/* @__PURE__ */ t("p", {
|
|
1723
1752
|
dangerouslySetInnerHTML: {
|
|
1724
|
-
__html:
|
|
1753
|
+
__html: s.text || ""
|
|
1725
1754
|
}
|
|
1726
|
-
}), /* @__PURE__ */ t(
|
|
1727
|
-
blocks:
|
|
1755
|
+
}), /* @__PURE__ */ t(O, {
|
|
1756
|
+
blocks: s.blocks
|
|
1728
1757
|
})]
|
|
1729
|
-
},
|
|
1758
|
+
}, l))
|
|
1730
1759
|
})]
|
|
1731
1760
|
});
|
|
1732
1761
|
}, qt = ({
|
|
1733
1762
|
node: r
|
|
1734
1763
|
}) => {
|
|
1735
|
-
const a = r.attributes.attribution,
|
|
1736
|
-
return /* @__PURE__ */
|
|
1764
|
+
const a = r.attributes.attribution, s = r.attributes.citetitle;
|
|
1765
|
+
return /* @__PURE__ */ g("div", {
|
|
1737
1766
|
...r.id ? {
|
|
1738
1767
|
id: r.id
|
|
1739
1768
|
} : {},
|
|
@@ -1741,28 +1770,28 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1741
1770
|
...r.lineNumber ? {
|
|
1742
1771
|
"data-lineno": r.lineNumber
|
|
1743
1772
|
} : {},
|
|
1744
|
-
children: [/* @__PURE__ */ t(
|
|
1773
|
+
children: [/* @__PURE__ */ t(C, {
|
|
1745
1774
|
text: r.title
|
|
1746
1775
|
}), r.content && /* @__PURE__ */ t("pre", {
|
|
1747
1776
|
className: "content",
|
|
1748
1777
|
dangerouslySetInnerHTML: {
|
|
1749
1778
|
__html: r.content
|
|
1750
1779
|
}
|
|
1751
|
-
}), a && /* @__PURE__ */
|
|
1780
|
+
}), a && /* @__PURE__ */ g("div", {
|
|
1752
1781
|
className: "attribution",
|
|
1753
|
-
children: ["\u2014 ", a,
|
|
1754
|
-
children:
|
|
1782
|
+
children: ["\u2014 ", a, s && /* @__PURE__ */ t("cite", {
|
|
1783
|
+
children: s
|
|
1755
1784
|
})]
|
|
1756
1785
|
})]
|
|
1757
1786
|
});
|
|
1758
|
-
},
|
|
1787
|
+
}, U = Pe({
|
|
1759
1788
|
document: {}
|
|
1760
|
-
}),
|
|
1789
|
+
}), St = ({
|
|
1761
1790
|
document: r,
|
|
1762
1791
|
options: a
|
|
1763
1792
|
}) => {
|
|
1764
|
-
const
|
|
1765
|
-
return /* @__PURE__ */ t(
|
|
1793
|
+
const s = a && a.customDocument;
|
|
1794
|
+
return /* @__PURE__ */ t(U.Provider, {
|
|
1766
1795
|
value: {
|
|
1767
1796
|
...a,
|
|
1768
1797
|
document: {
|
|
@@ -1770,29 +1799,29 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1770
1799
|
sections: r.sections
|
|
1771
1800
|
}
|
|
1772
1801
|
},
|
|
1773
|
-
children:
|
|
1802
|
+
children: s ? /* @__PURE__ */ t(s, {
|
|
1774
1803
|
document: r
|
|
1775
1804
|
}) : /* @__PURE__ */ t(et, {
|
|
1776
1805
|
document: r
|
|
1777
1806
|
})
|
|
1778
1807
|
});
|
|
1779
|
-
},
|
|
1808
|
+
}, O = ({
|
|
1780
1809
|
blocks: r
|
|
1781
|
-
}) => /* @__PURE__ */ t(
|
|
1782
|
-
children: r.map((a,
|
|
1810
|
+
}) => /* @__PURE__ */ t(F, {
|
|
1811
|
+
children: r.map((a, s) => /* @__PURE__ */ t(xt, {
|
|
1783
1812
|
node: a
|
|
1784
|
-
}, `${
|
|
1813
|
+
}, `${s}-${a.type}`))
|
|
1785
1814
|
}), xt = ({
|
|
1786
1815
|
node: r
|
|
1787
1816
|
}) => {
|
|
1788
1817
|
const {
|
|
1789
1818
|
overrides: a
|
|
1790
|
-
} =
|
|
1791
|
-
if (
|
|
1792
|
-
return /* @__PURE__ */ t(
|
|
1819
|
+
} = I(U), s = r.type, l = a && a[s];
|
|
1820
|
+
if (l)
|
|
1821
|
+
return /* @__PURE__ */ t(l, {
|
|
1793
1822
|
node: r
|
|
1794
1823
|
});
|
|
1795
|
-
switch (
|
|
1824
|
+
switch (s) {
|
|
1796
1825
|
case "audio":
|
|
1797
1826
|
return /* @__PURE__ */ t(je, {
|
|
1798
1827
|
node: r
|
|
@@ -1822,15 +1851,15 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1822
1851
|
node: r
|
|
1823
1852
|
});
|
|
1824
1853
|
case "admonition":
|
|
1825
|
-
return /* @__PURE__ */ t(
|
|
1854
|
+
return /* @__PURE__ */ t(Ve, {
|
|
1826
1855
|
node: r
|
|
1827
1856
|
});
|
|
1828
1857
|
case "listing":
|
|
1829
|
-
return /* @__PURE__ */ t(
|
|
1858
|
+
return /* @__PURE__ */ t(st, {
|
|
1830
1859
|
node: r
|
|
1831
1860
|
});
|
|
1832
1861
|
case "literal":
|
|
1833
|
-
return /* @__PURE__ */ t(
|
|
1862
|
+
return /* @__PURE__ */ t(lt, {
|
|
1834
1863
|
node: r
|
|
1835
1864
|
});
|
|
1836
1865
|
case "image":
|
|
@@ -1882,28 +1911,28 @@ const dr = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, l = void 0, i, n)
|
|
|
1882
1911
|
node: r
|
|
1883
1912
|
});
|
|
1884
1913
|
default:
|
|
1885
|
-
return /* @__PURE__ */ t(
|
|
1914
|
+
return /* @__PURE__ */ t(F, {});
|
|
1886
1915
|
}
|
|
1887
|
-
},
|
|
1888
|
-
const r =
|
|
1916
|
+
}, Rt = () => {
|
|
1917
|
+
const r = I(U);
|
|
1889
1918
|
if (r === void 0)
|
|
1890
1919
|
throw new Error("useConverterContext must be used within a Provider");
|
|
1891
1920
|
return r;
|
|
1892
1921
|
};
|
|
1893
1922
|
export {
|
|
1894
|
-
|
|
1895
|
-
|
|
1923
|
+
Ve as Admonition,
|
|
1924
|
+
St as Asciidoc,
|
|
1896
1925
|
je as Audio,
|
|
1897
1926
|
He as CoList,
|
|
1898
|
-
|
|
1899
|
-
|
|
1927
|
+
O as Content,
|
|
1928
|
+
U as Context,
|
|
1900
1929
|
rt as DList,
|
|
1901
1930
|
et as Document,
|
|
1902
1931
|
tt as Example,
|
|
1903
1932
|
at as FloatingTitle,
|
|
1904
1933
|
it as Image,
|
|
1905
|
-
|
|
1906
|
-
|
|
1934
|
+
st as Listing,
|
|
1935
|
+
lt as Literal,
|
|
1907
1936
|
ot as OList,
|
|
1908
1937
|
ct as Open,
|
|
1909
1938
|
mr as Outline,
|
|
@@ -1917,10 +1946,12 @@ export {
|
|
|
1917
1946
|
ht as Table,
|
|
1918
1947
|
vt as TableOfContents,
|
|
1919
1948
|
yt as ThematicBreak,
|
|
1920
|
-
|
|
1949
|
+
C as Title,
|
|
1921
1950
|
wt as UList,
|
|
1922
1951
|
qt as Verse,
|
|
1923
|
-
|
|
1952
|
+
Lt as parse,
|
|
1924
1953
|
At as prepareDocument,
|
|
1925
|
-
kt as
|
|
1954
|
+
kt as processDocument,
|
|
1955
|
+
Dt as processDocumentSync,
|
|
1956
|
+
Rt as useConverterContext
|
|
1926
1957
|
};
|