@oxide/react-asciidoc 1.0.5--canary.e50ecd3.0 → 1.0.5--canary.e9648be.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ee, { Fragment as qr, createElement as G, createContext as Ve, useContext as te } from "react";
|
|
2
|
-
import
|
|
3
|
-
import { default as
|
|
2
|
+
import S from "html-react-parser";
|
|
3
|
+
import { default as Ft } from "html-react-parser";
|
|
4
4
|
var Kr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5
5
|
function Be(r) {
|
|
6
6
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
@@ -21,11 +21,11 @@ function He() {
|
|
|
21
21
|
Xr = 1;
|
|
22
22
|
var r = ee, a = Symbol.for("react.element"), s = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, n = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
23
|
function m(i, c, j) {
|
|
24
|
-
var y,
|
|
25
|
-
j !== void 0 && (
|
|
26
|
-
for (y in c) o.call(c, y) && !u.hasOwnProperty(y) && (
|
|
27
|
-
if (i && i.defaultProps) for (y in c = i.defaultProps, c)
|
|
28
|
-
return { $$typeof: a, type: i, key:
|
|
24
|
+
var y, h = {}, p = null, f = null;
|
|
25
|
+
j !== void 0 && (p = "" + j), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (f = c.ref);
|
|
26
|
+
for (y in c) o.call(c, y) && !u.hasOwnProperty(y) && (h[y] = c[y]);
|
|
27
|
+
if (i && i.defaultProps) for (y in c = i.defaultProps, c) h[y] === void 0 && (h[y] = c[y]);
|
|
28
|
+
return { $$typeof: a, type: i, key: p, ref: f, props: h, _owner: n.current };
|
|
29
29
|
}
|
|
30
30
|
return X.Fragment = s, X.jsx = m, X.jsxs = m, X;
|
|
31
31
|
}
|
|
@@ -42,7 +42,7 @@ var Q = {};
|
|
|
42
42
|
var Qr;
|
|
43
43
|
function $e() {
|
|
44
44
|
return Qr || (Qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
-
var r = ee, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"),
|
|
45
|
+
var r = ee, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), w = Symbol.iterator, C = "@@iterator";
|
|
46
46
|
function O(t) {
|
|
47
47
|
if (t === null || typeof t != "object")
|
|
48
48
|
return null;
|
|
@@ -52,38 +52,38 @@ function $e() {
|
|
|
52
52
|
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
53
|
function E(t) {
|
|
54
54
|
{
|
|
55
|
-
for (var l = arguments.length,
|
|
56
|
-
|
|
57
|
-
H("error", t,
|
|
55
|
+
for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), g = 1; g < l; g++)
|
|
56
|
+
d[g - 1] = arguments[g];
|
|
57
|
+
H("error", t, d);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function H(t, l,
|
|
60
|
+
function H(t, l, d) {
|
|
61
61
|
{
|
|
62
62
|
var g = F.ReactDebugCurrentFrame, x = g.getStackAddendum();
|
|
63
|
-
x !== "" && (l += "%s",
|
|
64
|
-
var q =
|
|
63
|
+
x !== "" && (l += "%s", d = d.concat([x]));
|
|
64
|
+
var q = d.map(function(v) {
|
|
65
65
|
return String(v);
|
|
66
66
|
});
|
|
67
67
|
q.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, q);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
var W = !1, tr = !1, ne = !1, ce = !1, ue = !1,
|
|
71
|
-
|
|
70
|
+
var W = !1, tr = !1, ne = !1, ce = !1, ue = !1, Dr;
|
|
71
|
+
Dr = Symbol.for("react.module.reference");
|
|
72
72
|
function pe(t) {
|
|
73
|
-
return !!(typeof t == "string" || typeof t == "function" || t === o || t === u || ue || t === n || t === j || t === y || ce || t === f || W || tr || ne || typeof t == "object" && t !== null && (t.$$typeof ===
|
|
73
|
+
return !!(typeof t == "string" || typeof t == "function" || t === o || t === u || ue || t === n || t === j || t === y || ce || t === f || W || tr || ne || typeof t == "object" && t !== null && (t.$$typeof === p || t.$$typeof === h || t.$$typeof === m || t.$$typeof === i || t.$$typeof === c || // This needs to include all possible module reference object
|
|
74
74
|
// types supported by any Flight configuration anywhere since
|
|
75
75
|
// we don't know which Flight build this will end up being used
|
|
76
76
|
// with.
|
|
77
|
-
t.$$typeof ===
|
|
77
|
+
t.$$typeof === Dr || t.getModuleId !== void 0));
|
|
78
78
|
}
|
|
79
|
-
function de(t, l,
|
|
79
|
+
function de(t, l, d) {
|
|
80
80
|
var g = t.displayName;
|
|
81
81
|
if (g)
|
|
82
82
|
return g;
|
|
83
83
|
var x = l.displayName || l.name || "";
|
|
84
|
-
return x !== "" ?
|
|
84
|
+
return x !== "" ? d + "(" + x + ")" : d;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function kr(t) {
|
|
87
87
|
return t.displayName || "Context";
|
|
88
88
|
}
|
|
89
89
|
function U(t) {
|
|
@@ -111,16 +111,16 @@ function $e() {
|
|
|
111
111
|
switch (t.$$typeof) {
|
|
112
112
|
case i:
|
|
113
113
|
var l = t;
|
|
114
|
-
return
|
|
114
|
+
return kr(l) + ".Consumer";
|
|
115
115
|
case m:
|
|
116
|
-
var
|
|
117
|
-
return
|
|
116
|
+
var d = t;
|
|
117
|
+
return kr(d._context) + ".Provider";
|
|
118
118
|
case c:
|
|
119
119
|
return de(t, t.render, "ForwardRef");
|
|
120
|
-
case
|
|
120
|
+
case h:
|
|
121
121
|
var g = t.displayName || null;
|
|
122
122
|
return g !== null ? g : U(t.type) || "Memo";
|
|
123
|
-
case
|
|
123
|
+
case p: {
|
|
124
124
|
var x = t, q = x._payload, v = x._init;
|
|
125
125
|
try {
|
|
126
126
|
return U(v(q));
|
|
@@ -194,7 +194,7 @@ function $e() {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
var pr = F.ReactCurrentDispatcher, dr;
|
|
197
|
-
function ar(t, l,
|
|
197
|
+
function ar(t, l, d) {
|
|
198
198
|
{
|
|
199
199
|
if (dr === void 0)
|
|
200
200
|
try {
|
|
@@ -216,9 +216,9 @@ function $e() {
|
|
|
216
216
|
if (!t || mr)
|
|
217
217
|
return "";
|
|
218
218
|
{
|
|
219
|
-
var
|
|
220
|
-
if (
|
|
221
|
-
return
|
|
219
|
+
var d = sr.get(t);
|
|
220
|
+
if (d !== void 0)
|
|
221
|
+
return d;
|
|
222
222
|
}
|
|
223
223
|
var g;
|
|
224
224
|
mr = !0;
|
|
@@ -260,20 +260,20 @@ function $e() {
|
|
|
260
260
|
}
|
|
261
261
|
} catch (L) {
|
|
262
262
|
if (L && g && typeof L.stack == "string") {
|
|
263
|
-
for (var
|
|
263
|
+
for (var b = L.stack.split(`
|
|
264
264
|
`), T = g.stack.split(`
|
|
265
|
-
`), A =
|
|
266
|
-
|
|
267
|
-
for (; A >= 1 &&
|
|
268
|
-
if (
|
|
269
|
-
if (A !== 1 ||
|
|
265
|
+
`), A = b.length - 1, k = T.length - 1; A >= 1 && k >= 0 && b[A] !== T[k]; )
|
|
266
|
+
k--;
|
|
267
|
+
for (; A >= 1 && k >= 0; A--, k--)
|
|
268
|
+
if (b[A] !== T[k]) {
|
|
269
|
+
if (A !== 1 || k !== 1)
|
|
270
270
|
do
|
|
271
|
-
if (A--,
|
|
271
|
+
if (A--, k--, k < 0 || b[A] !== T[k]) {
|
|
272
272
|
var _ = `
|
|
273
|
-
` +
|
|
273
|
+
` + b[A].replace(" at new ", " at ");
|
|
274
274
|
return t.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", t.displayName)), typeof t == "function" && sr.set(t, _), _;
|
|
275
275
|
}
|
|
276
|
-
while (A >= 1 &&
|
|
276
|
+
while (A >= 1 && k >= 0);
|
|
277
277
|
break;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
@@ -283,14 +283,14 @@ function $e() {
|
|
|
283
283
|
var z = t ? t.displayName || t.name : "", B = z ? ar(z) : "";
|
|
284
284
|
return typeof t == "function" && sr.set(t, B), B;
|
|
285
285
|
}
|
|
286
|
-
function he(t, l,
|
|
286
|
+
function he(t, l, d) {
|
|
287
287
|
return Ur(t, !1);
|
|
288
288
|
}
|
|
289
289
|
function be(t) {
|
|
290
290
|
var l = t.prototype;
|
|
291
291
|
return !!(l && l.isReactComponent);
|
|
292
292
|
}
|
|
293
|
-
function ir(t, l,
|
|
293
|
+
function ir(t, l, d) {
|
|
294
294
|
if (t == null)
|
|
295
295
|
return "";
|
|
296
296
|
if (typeof t == "function")
|
|
@@ -307,12 +307,12 @@ function $e() {
|
|
|
307
307
|
switch (t.$$typeof) {
|
|
308
308
|
case c:
|
|
309
309
|
return he(t.render);
|
|
310
|
-
case
|
|
311
|
-
return ir(t.type, l,
|
|
312
|
-
case
|
|
310
|
+
case h:
|
|
311
|
+
return ir(t.type, l, d);
|
|
312
|
+
case p: {
|
|
313
313
|
var g = t, x = g._payload, q = g._init;
|
|
314
314
|
try {
|
|
315
|
-
return ir(q(x), l,
|
|
315
|
+
return ir(q(x), l, d);
|
|
316
316
|
} catch {
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -322,27 +322,27 @@ function $e() {
|
|
|
322
322
|
var Z = Object.prototype.hasOwnProperty, Pr = {}, Ir = F.ReactDebugCurrentFrame;
|
|
323
323
|
function lr(t) {
|
|
324
324
|
if (t) {
|
|
325
|
-
var l = t._owner,
|
|
326
|
-
Ir.setExtraStackFrame(
|
|
325
|
+
var l = t._owner, d = ir(t.type, t._source, l ? l.type : null);
|
|
326
|
+
Ir.setExtraStackFrame(d);
|
|
327
327
|
} else
|
|
328
328
|
Ir.setExtraStackFrame(null);
|
|
329
329
|
}
|
|
330
|
-
function ve(t, l,
|
|
330
|
+
function ve(t, l, d, g, x) {
|
|
331
331
|
{
|
|
332
332
|
var q = Function.call.bind(Z);
|
|
333
333
|
for (var v in t)
|
|
334
334
|
if (q(t, v)) {
|
|
335
|
-
var
|
|
335
|
+
var b = void 0;
|
|
336
336
|
try {
|
|
337
337
|
if (typeof t[v] != "function") {
|
|
338
|
-
var T = Error((g || "React class") + ": " +
|
|
338
|
+
var T = Error((g || "React class") + ": " + d + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
339
|
throw T.name = "Invariant Violation", T;
|
|
340
340
|
}
|
|
341
|
-
|
|
341
|
+
b = t[v](l, v, g, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
342
|
} catch (A) {
|
|
343
|
-
|
|
343
|
+
b = A;
|
|
344
344
|
}
|
|
345
|
-
|
|
345
|
+
b && !(b instanceof Error) && (lr(x), E("%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).", g || "React class", d, v, typeof b), lr(null)), b instanceof Error && !(b.message in Pr) && (Pr[b.message] = !0, lr(x), E("Failed %s type: %s", d, b.message), lr(null));
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
}
|
|
@@ -352,8 +352,8 @@ function $e() {
|
|
|
352
352
|
}
|
|
353
353
|
function ye(t) {
|
|
354
354
|
{
|
|
355
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag,
|
|
356
|
-
return
|
|
355
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, d = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
356
|
+
return d;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
function we(t) {
|
|
@@ -395,65 +395,65 @@ function $e() {
|
|
|
395
395
|
}
|
|
396
396
|
function Ne(t, l) {
|
|
397
397
|
if (typeof t.ref == "string" && K.current && l && K.current.stateNode !== l) {
|
|
398
|
-
var
|
|
399
|
-
fr[
|
|
398
|
+
var d = U(K.current.type);
|
|
399
|
+
fr[d] || (E('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', U(K.current.type), t.ref), fr[d] = !0);
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
function Ae(t, l) {
|
|
403
403
|
{
|
|
404
|
-
var
|
|
404
|
+
var d = function() {
|
|
405
405
|
Hr || (Hr = !0, E("%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)", l));
|
|
406
406
|
};
|
|
407
|
-
|
|
408
|
-
get:
|
|
407
|
+
d.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
408
|
+
get: d,
|
|
409
409
|
configurable: !0
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function De(t, l) {
|
|
414
414
|
{
|
|
415
|
-
var
|
|
415
|
+
var d = function() {
|
|
416
416
|
$r || ($r = !0, E("%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)", l));
|
|
417
417
|
};
|
|
418
|
-
|
|
419
|
-
get:
|
|
418
|
+
d.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
419
|
+
get: d,
|
|
420
420
|
configurable: !0
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
var
|
|
425
|
-
var
|
|
424
|
+
var ke = function(t, l, d, g, x, q, v) {
|
|
425
|
+
var b = {
|
|
426
426
|
// This tag allows us to uniquely identify this as a React Element
|
|
427
427
|
$$typeof: a,
|
|
428
428
|
// Built-in properties that belong on the element
|
|
429
429
|
type: t,
|
|
430
430
|
key: l,
|
|
431
|
-
ref:
|
|
431
|
+
ref: d,
|
|
432
432
|
props: v,
|
|
433
433
|
// Record the component responsible for creating this element.
|
|
434
434
|
_owner: q
|
|
435
435
|
};
|
|
436
|
-
return
|
|
436
|
+
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !0,
|
|
440
440
|
value: !1
|
|
441
|
-
}), Object.defineProperty(
|
|
441
|
+
}), Object.defineProperty(b, "_self", {
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
444
444
|
writable: !1,
|
|
445
445
|
value: g
|
|
446
|
-
}), Object.defineProperty(
|
|
446
|
+
}), Object.defineProperty(b, "_source", {
|
|
447
447
|
configurable: !1,
|
|
448
448
|
enumerable: !1,
|
|
449
449
|
writable: !1,
|
|
450
450
|
value: x
|
|
451
|
-
}), Object.freeze && (Object.freeze(
|
|
451
|
+
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
452
452
|
};
|
|
453
|
-
function Se(t, l,
|
|
453
|
+
function Se(t, l, d, g, x) {
|
|
454
454
|
{
|
|
455
|
-
var q, v = {},
|
|
456
|
-
|
|
455
|
+
var q, v = {}, b = null, T = null;
|
|
456
|
+
d !== void 0 && (Br(d), b = "" + d), Ee(l) && (Br(l.key), b = "" + l.key), je(l) && (T = l.ref, Ne(l, x));
|
|
457
457
|
for (q in l)
|
|
458
458
|
Z.call(l, q) && !qe.hasOwnProperty(q) && (v[q] = l[q]);
|
|
459
459
|
if (t && t.defaultProps) {
|
|
@@ -461,18 +461,18 @@ function $e() {
|
|
|
461
461
|
for (q in A)
|
|
462
462
|
v[q] === void 0 && (v[q] = A[q]);
|
|
463
463
|
}
|
|
464
|
-
if (
|
|
465
|
-
var
|
|
466
|
-
|
|
464
|
+
if (b || T) {
|
|
465
|
+
var k = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
466
|
+
b && Ae(v, k), T && De(v, k);
|
|
467
467
|
}
|
|
468
|
-
return
|
|
468
|
+
return ke(t, b, T, x, g, K.current, v);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
var hr = F.ReactCurrentOwner, zr = F.ReactDebugCurrentFrame;
|
|
472
472
|
function $(t) {
|
|
473
473
|
if (t) {
|
|
474
|
-
var l = t._owner,
|
|
475
|
-
zr.setExtraStackFrame(
|
|
474
|
+
var l = t._owner, d = ir(t.type, t._source, l ? l.type : null);
|
|
475
|
+
zr.setExtraStackFrame(d);
|
|
476
476
|
} else
|
|
477
477
|
zr.setExtraStackFrame(null);
|
|
478
478
|
}
|
|
@@ -501,10 +501,10 @@ Check the render method of \`` + t + "`.";
|
|
|
501
501
|
{
|
|
502
502
|
var l = Gr();
|
|
503
503
|
if (!l) {
|
|
504
|
-
var
|
|
505
|
-
|
|
504
|
+
var d = typeof t == "string" ? t : t.displayName || t.name;
|
|
505
|
+
d && (l = `
|
|
506
506
|
|
|
507
|
-
Check the top-level render call using <` +
|
|
507
|
+
Check the top-level render call using <` + d + ">.");
|
|
508
508
|
}
|
|
509
509
|
return l;
|
|
510
510
|
}
|
|
@@ -514,12 +514,12 @@ Check the top-level render call using <` + p + ">.");
|
|
|
514
514
|
if (!t._store || t._store.validated || t.key != null)
|
|
515
515
|
return;
|
|
516
516
|
t._store.validated = !0;
|
|
517
|
-
var
|
|
518
|
-
if (Mr[
|
|
517
|
+
var d = Te(l);
|
|
518
|
+
if (Mr[d])
|
|
519
519
|
return;
|
|
520
|
-
Mr[
|
|
520
|
+
Mr[d] = !0;
|
|
521
521
|
var g = "";
|
|
522
|
-
t && t._owner && t._owner !== hr.current && (g = " It was passed a child from " + U(t._owner.type) + "."), $(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
522
|
+
t && t._owner && t._owner !== hr.current && (g = " It was passed a child from " + U(t._owner.type) + "."), $(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, g), $(null);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
function Wr(t, l) {
|
|
@@ -527,8 +527,8 @@ Check the top-level render call using <` + p + ">.");
|
|
|
527
527
|
if (typeof t != "object")
|
|
528
528
|
return;
|
|
529
529
|
if (gr(t))
|
|
530
|
-
for (var
|
|
531
|
-
var g = t[
|
|
530
|
+
for (var d = 0; d < t.length; d++) {
|
|
531
|
+
var g = t[d];
|
|
532
532
|
vr(g) && Yr(g, l);
|
|
533
533
|
}
|
|
534
534
|
else if (vr(t))
|
|
@@ -546,18 +546,18 @@ Check the top-level render call using <` + p + ">.");
|
|
|
546
546
|
var l = t.type;
|
|
547
547
|
if (l == null || typeof l == "string")
|
|
548
548
|
return;
|
|
549
|
-
var
|
|
549
|
+
var d;
|
|
550
550
|
if (typeof l == "function")
|
|
551
|
-
|
|
551
|
+
d = l.propTypes;
|
|
552
552
|
else if (typeof l == "object" && (l.$$typeof === c || // Note: Memo only checks outer props here.
|
|
553
553
|
// Inner props are checked in the reconciler.
|
|
554
|
-
l.$$typeof ===
|
|
555
|
-
|
|
554
|
+
l.$$typeof === h))
|
|
555
|
+
d = l.propTypes;
|
|
556
556
|
else
|
|
557
557
|
return;
|
|
558
|
-
if (
|
|
558
|
+
if (d) {
|
|
559
559
|
var g = U(l);
|
|
560
|
-
ve(
|
|
560
|
+
ve(d, t.props, "prop", g, t);
|
|
561
561
|
} else if (l.PropTypes !== void 0 && !br) {
|
|
562
562
|
br = !0;
|
|
563
563
|
var x = U(l);
|
|
@@ -568,8 +568,8 @@ Check the top-level render call using <` + p + ">.");
|
|
|
568
568
|
}
|
|
569
569
|
function Le(t) {
|
|
570
570
|
{
|
|
571
|
-
for (var l = Object.keys(t.props),
|
|
572
|
-
var g = l[
|
|
571
|
+
for (var l = Object.keys(t.props), d = 0; d < l.length; d++) {
|
|
572
|
+
var g = l[d];
|
|
573
573
|
if (g !== "children" && g !== "key") {
|
|
574
574
|
$(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), $(null);
|
|
575
575
|
break;
|
|
@@ -579,20 +579,20 @@ Check the top-level render call using <` + p + ">.");
|
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
var Jr = {};
|
|
582
|
-
function Zr(t, l,
|
|
582
|
+
function Zr(t, l, d, g, x, q) {
|
|
583
583
|
{
|
|
584
584
|
var v = pe(t);
|
|
585
585
|
if (!v) {
|
|
586
|
-
var
|
|
587
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
586
|
+
var b = "";
|
|
587
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
588
588
|
var T = Re();
|
|
589
|
-
T ?
|
|
589
|
+
T ? b += T : b += Gr();
|
|
590
590
|
var A;
|
|
591
|
-
t === null ? A = "null" : gr(t) ? A = "array" : t !== void 0 && t.$$typeof === a ? (A = "<" + (U(t.type) || "Unknown") + " />",
|
|
591
|
+
t === null ? A = "null" : gr(t) ? A = "array" : t !== void 0 && t.$$typeof === a ? (A = "<" + (U(t.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : A = typeof t, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, b);
|
|
592
592
|
}
|
|
593
|
-
var
|
|
594
|
-
if (
|
|
595
|
-
return
|
|
593
|
+
var k = Se(t, l, d, x, q);
|
|
594
|
+
if (k == null)
|
|
595
|
+
return k;
|
|
596
596
|
if (v) {
|
|
597
597
|
var _ = l.children;
|
|
598
598
|
if (_ !== void 0)
|
|
@@ -620,14 +620,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
620
620
|
<%s key={someKey} {...props} />`, xr, B, Pe, B), Jr[B + xr] = !0;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
return t === o ? Le(
|
|
623
|
+
return t === o ? Le(k) : Ce(k), k;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
function Oe(t, l,
|
|
627
|
-
return Zr(t, l,
|
|
626
|
+
function Oe(t, l, d) {
|
|
627
|
+
return Zr(t, l, d, !0);
|
|
628
628
|
}
|
|
629
|
-
function _e(t, l,
|
|
630
|
-
return Zr(t, l,
|
|
629
|
+
function _e(t, l, d) {
|
|
630
|
+
return Zr(t, l, d, !1);
|
|
631
631
|
}
|
|
632
632
|
var Fe = _e, Ue = Oe;
|
|
633
633
|
Q.Fragment = o, Q.jsx = Fe, Q.jsxs = Ue;
|
|
@@ -635,7 +635,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
635
635
|
}
|
|
636
636
|
process.env.NODE_ENV === "production" ? jr.exports = He() : jr.exports = $e();
|
|
637
637
|
var e = jr.exports;
|
|
638
|
-
const
|
|
638
|
+
const D = ({ text: r }) => r ? /* @__PURE__ */ e.jsx("div", { className: "title", children: S(r) }) : null, ze = ({ node: r }) => {
|
|
639
639
|
const { document: a } = I(), s = a.attributes || {}, o = r.attributes, n = () => s.icons === "font" && !o.icon ? /* @__PURE__ */ e.jsx("i", { className: `fa icon-${o.name}`, title: `${o.textlabel}` }) : /* @__PURE__ */ e.jsx("img", { src: r.iconUri, alt: `${o.textlabel}` });
|
|
640
640
|
return /* @__PURE__ */ e.jsx(
|
|
641
641
|
"div",
|
|
@@ -645,8 +645,8 @@ const S = ({ text: r }) => r ? /* @__PURE__ */ e.jsx("div", { className: "title"
|
|
|
645
645
|
children: /* @__PURE__ */ e.jsx("table", { children: /* @__PURE__ */ e.jsx("tbody", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
646
646
|
/* @__PURE__ */ e.jsx("td", { className: "icon", children: s.icons ? n() : /* @__PURE__ */ e.jsx("div", { className: "title", children: o.textlabel }) }),
|
|
647
647
|
/* @__PURE__ */ e.jsxs("td", { className: "content", children: [
|
|
648
|
-
/* @__PURE__ */ e.jsx(
|
|
649
|
-
r.content &&
|
|
648
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
649
|
+
r.content && S(r.content),
|
|
650
650
|
/* @__PURE__ */ e.jsx(R, { blocks: r.blocks })
|
|
651
651
|
] })
|
|
652
652
|
] }) }) })
|
|
@@ -660,7 +660,7 @@ const S = ({ text: r }) => r ? /* @__PURE__ */ e.jsx("div", { className: "title"
|
|
|
660
660
|
className: "audioblock",
|
|
661
661
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
662
662
|
children: [
|
|
663
|
-
/* @__PURE__ */ e.jsx(
|
|
663
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
664
664
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(
|
|
665
665
|
"audio",
|
|
666
666
|
{
|
|
@@ -675,14 +675,14 @@ const S = ({ text: r }) => r ? /* @__PURE__ */ e.jsx("div", { className: "title"
|
|
|
675
675
|
}
|
|
676
676
|
);
|
|
677
677
|
}, Me = ({ node: r }) => /* @__PURE__ */ e.jsxs("div", { className: "colist", ...r.lineNumber ? { "data-lineno": r.lineNumber } : {}, children: [
|
|
678
|
-
/* @__PURE__ */ e.jsx(
|
|
678
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
679
679
|
/* @__PURE__ */ e.jsx("table", { children: /* @__PURE__ */ e.jsx("tbody", { children: r.items.map((a, s) => /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
680
680
|
/* @__PURE__ */ e.jsxs("td", { children: [
|
|
681
681
|
/* @__PURE__ */ e.jsx("i", { className: "conum", "data-value": s + 1 }),
|
|
682
682
|
/* @__PURE__ */ e.jsx("b", { children: s + 1 })
|
|
683
683
|
] }),
|
|
684
684
|
/* @__PURE__ */ e.jsxs("td", { children: [
|
|
685
|
-
a.text &&
|
|
685
|
+
a.text && S(a.text),
|
|
686
686
|
/* @__PURE__ */ e.jsx(R, { blocks: a.blocks })
|
|
687
687
|
] })
|
|
688
688
|
] }, s)) }) })
|
|
@@ -777,12 +777,12 @@ function Ke(r, a) {
|
|
|
777
777
|
var s = a === void 0 ? Ze : a, o = s.mode, n = o === void 0 ? "specialChars" : o, u = s.numeric, m = u === void 0 ? "decimal" : u, i = s.level, c = i === void 0 ? "all" : i;
|
|
778
778
|
if (!r)
|
|
779
779
|
return "";
|
|
780
|
-
var j = Je[n], y = Nr[c].characters,
|
|
781
|
-
return ie(r, j, function(
|
|
782
|
-
var f = y[
|
|
780
|
+
var j = Je[n], y = Nr[c].characters, h = m === "hexadecimal";
|
|
781
|
+
return ie(r, j, function(p) {
|
|
782
|
+
var f = y[p];
|
|
783
783
|
if (!f) {
|
|
784
|
-
var w =
|
|
785
|
-
f = (
|
|
784
|
+
var w = p.length > 1 ? se.getCodePoint(p, 0) : p.charCodeAt(0);
|
|
785
|
+
f = (h ? "&#x" + w.toString(16) : "&#" + w) + ";";
|
|
786
786
|
}
|
|
787
787
|
return f;
|
|
788
788
|
});
|
|
@@ -816,8 +816,8 @@ function at(r, a) {
|
|
|
816
816
|
if (!r)
|
|
817
817
|
return "";
|
|
818
818
|
var i = Qe[n][m], c = Nr[n].entities, j = m === "attribute", y = m === "strict";
|
|
819
|
-
return ie(r, i, function(
|
|
820
|
-
return oe(
|
|
819
|
+
return ie(r, i, function(h) {
|
|
820
|
+
return oe(h, c, j, y);
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
var st = nr.decode = at;
|
|
@@ -826,12 +826,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
826
826
|
return r[a];
|
|
827
827
|
const u = o || a;
|
|
828
828
|
return u && n && n[u] !== void 0 ? n[u] : s;
|
|
829
|
-
}, P = (r, a) => r[a] !== void 0,
|
|
829
|
+
}, P = (r, a) => r[a] !== void 0, Tt = (r) => {
|
|
830
830
|
var m;
|
|
831
831
|
let a;
|
|
832
832
|
function s(i) {
|
|
833
|
-
const c = i.getNodeName && i.getNodeName(), j = i.getContentModel && i.getContentModel(), y = c && i.hasBlocks() ? i.getBlocks().map((
|
|
834
|
-
let
|
|
833
|
+
const c = i.getNodeName && i.getNodeName(), j = i.getContentModel && i.getContentModel(), y = c && i.hasBlocks() ? i.getBlocks().map((p) => s(p)) : [];
|
|
834
|
+
let h = {
|
|
835
835
|
id: i.getId && i.getId(),
|
|
836
836
|
type: c,
|
|
837
837
|
blocks: y,
|
|
@@ -845,28 +845,32 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
845
845
|
level: i.getLevel && i.getLevel()
|
|
846
846
|
};
|
|
847
847
|
if (c === "admonition") {
|
|
848
|
-
let
|
|
849
|
-
|
|
848
|
+
let p = h;
|
|
849
|
+
p.iconUri = i.getIconUri(h.attributes.name);
|
|
850
850
|
}
|
|
851
851
|
if (c === "audio") {
|
|
852
|
-
let
|
|
853
|
-
|
|
852
|
+
let p = h;
|
|
853
|
+
p.mediaUri = i.getMediaUri(i.getAttribute("target")), p.autoplay = i.isOption("autoplay"), p.noControls = !i.isOption("nocontrols"), p.loop = i.isOption("loop"), h = p;
|
|
854
|
+
}
|
|
855
|
+
if (c === "video") {
|
|
856
|
+
let p = h;
|
|
857
|
+
p.mediaUri = i.getMediaUri(i.getAttribute("target")), p.autoplay = i.isOption("autoplay"), p.noControls = !i.isOption("nocontrols"), p.loop = i.isOption("loop"), h = p;
|
|
854
858
|
}
|
|
855
859
|
if (c === "image") {
|
|
856
|
-
let
|
|
857
|
-
|
|
860
|
+
let p = h;
|
|
861
|
+
p.imageUri = i.getImageUri(i.getAttribute("target"));
|
|
858
862
|
}
|
|
859
863
|
if ((c === "listing" || c === "literal") && "getSource" in i) {
|
|
860
|
-
const
|
|
861
|
-
|
|
864
|
+
const p = h;
|
|
865
|
+
p.source = i.getSource(), p.language = i.getAttribute("language"), p.content = p.content ? st(p.content) : void 0;
|
|
862
866
|
}
|
|
863
867
|
if (c === "section") {
|
|
864
|
-
const
|
|
865
|
-
|
|
868
|
+
const p = h;
|
|
869
|
+
p.title = i.getCaption() ? i.getCaptionedTitle() : i.getTitle() || "", "getSectionNumeral" in i && (p.name = i.getSectionName(), p.numbered = i.isNumbered(), p.num = i.getSectionNumeral());
|
|
866
870
|
}
|
|
867
871
|
if (c === "dlist") {
|
|
868
|
-
let
|
|
869
|
-
|
|
872
|
+
let p = h;
|
|
873
|
+
p.items = i.getItems().map((f) => [
|
|
870
874
|
f[0].map(
|
|
871
875
|
(w) => s(w)
|
|
872
876
|
),
|
|
@@ -874,18 +878,18 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
874
878
|
]);
|
|
875
879
|
}
|
|
876
880
|
if (c === "colist" || c === "olist" || c === "ulist") {
|
|
877
|
-
let
|
|
878
|
-
|
|
881
|
+
let p = h;
|
|
882
|
+
p.items = i.getItems().map((f) => s(f));
|
|
879
883
|
}
|
|
880
884
|
if (c === "list_item") {
|
|
881
|
-
let
|
|
885
|
+
let p = h;
|
|
882
886
|
const f = i;
|
|
883
|
-
|
|
887
|
+
p.text = f.hasText() ? f.getText() : void 0;
|
|
884
888
|
}
|
|
885
889
|
if (c === "table") {
|
|
886
|
-
let
|
|
890
|
+
let p = h;
|
|
887
891
|
const f = i;
|
|
888
|
-
|
|
892
|
+
p.columns = f.getColumns().map((O) => ({
|
|
889
893
|
// @ts-ignore
|
|
890
894
|
attributes: O.getAttributes(),
|
|
891
895
|
columnNumber: O.getColumnNumber(),
|
|
@@ -897,12 +901,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
897
901
|
const w = (O) => O.map(
|
|
898
902
|
(F) => F.map((E) => s(E))
|
|
899
903
|
), C = f.getRows();
|
|
900
|
-
|
|
904
|
+
p.rows = {
|
|
901
905
|
head: w(C.head),
|
|
902
906
|
body: w(C.body),
|
|
903
907
|
foot: w(C.foot)
|
|
904
|
-
},
|
|
905
|
-
...
|
|
908
|
+
}, p = {
|
|
909
|
+
...p,
|
|
906
910
|
caption: f.getCaption(),
|
|
907
911
|
hasHeader: f.hasHeaderOption(),
|
|
908
912
|
hasFooter: f.hasFooterOption(),
|
|
@@ -910,20 +914,20 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
910
914
|
headRows: w(f.getHeadRows()),
|
|
911
915
|
bodyRows: w(f.getBodyRows()),
|
|
912
916
|
footRows: w(f.getFootRows())
|
|
913
|
-
},
|
|
917
|
+
}, h = p;
|
|
914
918
|
}
|
|
915
919
|
if (c === "table_cell") {
|
|
916
|
-
const
|
|
917
|
-
|
|
918
|
-
...
|
|
920
|
+
const p = i, f = p.getColumn();
|
|
921
|
+
h = {
|
|
922
|
+
...h,
|
|
919
923
|
type: "table_cell",
|
|
920
|
-
text:
|
|
921
|
-
columnSpan:
|
|
922
|
-
rowSpan:
|
|
923
|
-
source:
|
|
924
|
-
lines:
|
|
925
|
-
width:
|
|
926
|
-
columnPercentageWidth:
|
|
924
|
+
text: p.getText(),
|
|
925
|
+
columnSpan: p.getColumnSpan(),
|
|
926
|
+
rowSpan: p.getRowSpan(),
|
|
927
|
+
source: p.getSource(),
|
|
928
|
+
lines: p.getLines(),
|
|
929
|
+
width: p.getWidth(),
|
|
930
|
+
columnPercentageWidth: p.getColumnPercentageWidth(),
|
|
927
931
|
column: f ? {
|
|
928
932
|
// @ts-ignore
|
|
929
933
|
attributes: f.getAttributes(),
|
|
@@ -935,7 +939,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
935
939
|
} : void 0
|
|
936
940
|
};
|
|
937
941
|
}
|
|
938
|
-
return
|
|
942
|
+
return h;
|
|
939
943
|
}
|
|
940
944
|
function o(i) {
|
|
941
945
|
return i.getSections().map((c) => ({
|
|
@@ -969,7 +973,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
969
973
|
email: j ? r.applySubstitutions(j).toString() : void 0
|
|
970
974
|
};
|
|
971
975
|
})), a;
|
|
972
|
-
},
|
|
976
|
+
}, Ct = async (r, a) => {
|
|
973
977
|
const s = async (n) => Promise.all(
|
|
974
978
|
n.map(async (u) => {
|
|
975
979
|
let m = await a(u);
|
|
@@ -997,7 +1001,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
997
1001
|
}, s = (o) => {
|
|
998
1002
|
if (o)
|
|
999
1003
|
return /* @__PURE__ */ e.jsxs("dd", { children: [
|
|
1000
|
-
o.text && /* @__PURE__ */ e.jsx("p", { children:
|
|
1004
|
+
o.text && /* @__PURE__ */ e.jsx("p", { children: S(o.text) }),
|
|
1001
1005
|
/* @__PURE__ */ e.jsx(R, { blocks: o.blocks })
|
|
1002
1006
|
] });
|
|
1003
1007
|
};
|
|
@@ -1008,12 +1012,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1008
1012
|
className: N("qlist qanda", r.role),
|
|
1009
1013
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1010
1014
|
children: [
|
|
1011
|
-
/* @__PURE__ */ e.jsx(
|
|
1015
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1012
1016
|
/* @__PURE__ */ e.jsx("ol", { children: r.items.map((o, n) => {
|
|
1013
1017
|
const { terms: u, dd: m } = a(o);
|
|
1014
1018
|
if (u)
|
|
1015
1019
|
return /* @__PURE__ */ e.jsxs("li", { children: [
|
|
1016
|
-
u.map((i, c) => /* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx("em", { children:
|
|
1020
|
+
u.map((i, c) => /* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx("em", { children: S(i.text) }) }, c)),
|
|
1017
1021
|
s(m)
|
|
1018
1022
|
] }, n);
|
|
1019
1023
|
}) })
|
|
@@ -1023,7 +1027,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1023
1027
|
if (r.style === "horizontal") {
|
|
1024
1028
|
const o = r.attributes.labelwidth, n = r.attributes.itemwidth;
|
|
1025
1029
|
return /* @__PURE__ */ e.jsxs("div", { className: N("hdlist", r.role), children: [
|
|
1026
|
-
/* @__PURE__ */ e.jsx(
|
|
1030
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1027
1031
|
/* @__PURE__ */ e.jsxs("table", { children: [
|
|
1028
1032
|
(o || n) && /* @__PURE__ */ e.jsxs("colgroup", { children: [
|
|
1029
1033
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1057,12 +1061,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1057
1061
|
),
|
|
1058
1062
|
children: i.map((j, y) => /* @__PURE__ */ e.jsxs(qr, { children: [
|
|
1059
1063
|
y !== 0 && /* @__PURE__ */ e.jsx("br", {}),
|
|
1060
|
-
|
|
1064
|
+
S(j.text)
|
|
1061
1065
|
] }, y))
|
|
1062
1066
|
}
|
|
1063
1067
|
),
|
|
1064
1068
|
c && /* @__PURE__ */ e.jsxs("td", { className: "hdlist2", children: [
|
|
1065
|
-
c.text && /* @__PURE__ */ e.jsx("p", { children:
|
|
1069
|
+
c.text && /* @__PURE__ */ e.jsx("p", { children: S(c.text) }),
|
|
1066
1070
|
/* @__PURE__ */ e.jsx(R, { blocks: c.blocks })
|
|
1067
1071
|
] })
|
|
1068
1072
|
] }, m);
|
|
@@ -1071,12 +1075,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1071
1075
|
] });
|
|
1072
1076
|
} else
|
|
1073
1077
|
return /* @__PURE__ */ e.jsxs("div", { className: N("dlist", r.style, r.role), children: [
|
|
1074
|
-
/* @__PURE__ */ e.jsx(
|
|
1078
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1075
1079
|
/* @__PURE__ */ e.jsx("dl", { children: r.items.map((o, n) => {
|
|
1076
1080
|
const { terms: u, dd: m } = a(o);
|
|
1077
1081
|
if (u)
|
|
1078
1082
|
return /* @__PURE__ */ e.jsxs(qr, { children: [
|
|
1079
|
-
u.map((i, c) => /* @__PURE__ */ e.jsx("dt", { className: "hdlist1", children:
|
|
1083
|
+
u.map((i, c) => /* @__PURE__ */ e.jsx("dt", { className: "hdlist1", children: S(i.text) }, c)),
|
|
1080
1084
|
s(m)
|
|
1081
1085
|
] }, n);
|
|
1082
1086
|
}) })
|
|
@@ -1092,9 +1096,9 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1092
1096
|
let j = c.num;
|
|
1093
1097
|
j = j === "." || j === ".." ? "" : j;
|
|
1094
1098
|
const y = c.level;
|
|
1095
|
-
let
|
|
1096
|
-
return y <= m && (
|
|
1097
|
-
/* @__PURE__ */ e.jsx("a", { href: `#${c.id}`, children:
|
|
1099
|
+
let h = c.title;
|
|
1100
|
+
return y <= m && (h = `${j} ${c.title}`), /* @__PURE__ */ e.jsxs("li", { children: [
|
|
1101
|
+
/* @__PURE__ */ e.jsx("a", { href: `#${c.id}`, children: S(h) }),
|
|
1098
1102
|
y < i && /* @__PURE__ */ e.jsx(
|
|
1099
1103
|
ur,
|
|
1100
1104
|
{
|
|
@@ -1140,7 +1144,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1140
1144
|
/* @__PURE__ */ e.jsx("a", { href: `#_footnoteref_${n.index}`, children: n.index }),
|
|
1141
1145
|
".",
|
|
1142
1146
|
" ",
|
|
1143
|
-
|
|
1147
|
+
S(n.text || "")
|
|
1144
1148
|
]
|
|
1145
1149
|
},
|
|
1146
1150
|
n.index
|
|
@@ -1148,11 +1152,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1148
1152
|
] }) : null, o = () => r.authors.length > 0 || P(r.attributes, "revnumber") || P(r.attributes, "revdate") || P(r.attributes, "revremark") ? /* @__PURE__ */ e.jsxs("div", { className: "details", children: [
|
|
1149
1153
|
r.authors.map((n, u) => /* @__PURE__ */ e.jsxs(qr, { children: [
|
|
1150
1154
|
n.name && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1151
|
-
/* @__PURE__ */ e.jsx("span", { id: `author${u + 1 > 1 ? u + 1 : ""}`, className: "author", children:
|
|
1155
|
+
/* @__PURE__ */ e.jsx("span", { id: `author${u + 1 > 1 ? u + 1 : ""}`, className: "author", children: S(n.name) }),
|
|
1152
1156
|
/* @__PURE__ */ e.jsx("br", {})
|
|
1153
1157
|
] }),
|
|
1154
1158
|
n.email && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1155
|
-
/* @__PURE__ */ e.jsx("span", { id: `email${u + 1 > 1 ? u + 1 : ""}`, className: "email", children:
|
|
1159
|
+
/* @__PURE__ */ e.jsx("span", { id: `email${u + 1 > 1 ? u + 1 : ""}`, className: "email", children: S(n.email) }),
|
|
1156
1160
|
/* @__PURE__ */ e.jsx("br", {})
|
|
1157
1161
|
] })
|
|
1158
1162
|
] }, u)),
|
|
@@ -1179,7 +1183,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1179
1183
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1180
1184
|
...r.id ? { id: r.id } : {},
|
|
1181
1185
|
children: [
|
|
1182
|
-
/* @__PURE__ */ e.jsx("summary", { className: "title", children:
|
|
1186
|
+
/* @__PURE__ */ e.jsx("summary", { className: "title", children: S(s) }),
|
|
1183
1187
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(R, { blocks: r.blocks }) })
|
|
1184
1188
|
]
|
|
1185
1189
|
}
|
|
@@ -1192,7 +1196,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1192
1196
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1193
1197
|
...r.id ? { id: r.id } : {},
|
|
1194
1198
|
children: [
|
|
1195
|
-
/* @__PURE__ */ e.jsx(
|
|
1199
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1196
1200
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(R, { blocks: r.blocks }) })
|
|
1197
1201
|
]
|
|
1198
1202
|
}
|
|
@@ -1209,7 +1213,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1209
1213
|
G(
|
|
1210
1214
|
`h${r.level + 1}`,
|
|
1211
1215
|
{ className: N(r.role, r.style) },
|
|
1212
|
-
|
|
1216
|
+
S(r.title || "")
|
|
1213
1217
|
)
|
|
1214
1218
|
] }), ct = ({ node: r }) => {
|
|
1215
1219
|
let a = /* @__PURE__ */ e.jsx(
|
|
@@ -1232,7 +1236,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1232
1236
|
},
|
|
1233
1237
|
children: [
|
|
1234
1238
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: a }),
|
|
1235
|
-
/* @__PURE__ */ e.jsx(
|
|
1239
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title })
|
|
1236
1240
|
]
|
|
1237
1241
|
}
|
|
1238
1242
|
);
|
|
@@ -1246,7 +1250,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1246
1250
|
className: "listingblock",
|
|
1247
1251
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1248
1252
|
children: [
|
|
1249
|
-
/* @__PURE__ */ e.jsx(
|
|
1253
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1250
1254
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx("pre", { className: N("highlight", o ? " nowrap" : ""), children: n ? /* @__PURE__ */ e.jsx(
|
|
1251
1255
|
"code",
|
|
1252
1256
|
{
|
|
@@ -1267,7 +1271,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1267
1271
|
className: "listingblock",
|
|
1268
1272
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1269
1273
|
children: [
|
|
1270
|
-
/* @__PURE__ */ e.jsx(
|
|
1274
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1271
1275
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(
|
|
1272
1276
|
"pre",
|
|
1273
1277
|
{
|
|
@@ -1288,7 +1292,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1288
1292
|
className: "literalblock",
|
|
1289
1293
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1290
1294
|
children: [
|
|
1291
|
-
/* @__PURE__ */ e.jsx(
|
|
1295
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1292
1296
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx("pre", { className: o ? "nowrap" : "", children: r.source }) })
|
|
1293
1297
|
]
|
|
1294
1298
|
}
|
|
@@ -1299,7 +1303,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1299
1303
|
className: N("olist", r.role, r.style),
|
|
1300
1304
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1301
1305
|
children: [
|
|
1302
|
-
/* @__PURE__ */ e.jsx(
|
|
1306
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1303
1307
|
/* @__PURE__ */ e.jsx(
|
|
1304
1308
|
"ol",
|
|
1305
1309
|
{
|
|
@@ -1307,7 +1311,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1307
1311
|
reversed: er(r.attributes, "reversed"),
|
|
1308
1312
|
...r.attributes.start ? { start: parseInt(`${r.attributes.start}`) } : {},
|
|
1309
1313
|
children: r.items.map((a, s) => /* @__PURE__ */ e.jsxs("li", { className: r.role ? r.role : "", children: [
|
|
1310
|
-
/* @__PURE__ */ e.jsx("p", { children:
|
|
1314
|
+
/* @__PURE__ */ e.jsx("p", { children: S(a.text || "") }),
|
|
1311
1315
|
/* @__PURE__ */ e.jsx(R, { blocks: a.blocks })
|
|
1312
1316
|
] }, s))
|
|
1313
1317
|
}
|
|
@@ -1322,7 +1326,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1322
1326
|
className: N("quoteblock abstract", r.role),
|
|
1323
1327
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1324
1328
|
children: [
|
|
1325
|
-
/* @__PURE__ */ e.jsx(
|
|
1329
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1326
1330
|
/* @__PURE__ */ e.jsx("blockquote", { className: "content", children: /* @__PURE__ */ e.jsx(R, { blocks: r.blocks }) })
|
|
1327
1331
|
]
|
|
1328
1332
|
}
|
|
@@ -1332,7 +1336,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1332
1336
|
className: N("openblock", a && a !== "open" ? a : "", r.role),
|
|
1333
1337
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1334
1338
|
children: [
|
|
1335
|
-
/* @__PURE__ */ e.jsx(
|
|
1339
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1336
1340
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(R, { blocks: r.blocks }) })
|
|
1337
1341
|
]
|
|
1338
1342
|
}
|
|
@@ -1344,11 +1348,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1344
1348
|
className: N("paragraph", r.role),
|
|
1345
1349
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1346
1350
|
children: [
|
|
1347
|
-
/* @__PURE__ */ e.jsx(
|
|
1351
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1348
1352
|
r.content && /* @__PURE__ */ e.jsx("p", { dangerouslySetInnerHTML: { __html: r.content } })
|
|
1349
1353
|
]
|
|
1350
1354
|
}
|
|
1351
|
-
), ht = ({ node: r }) => /* @__PURE__ */ e.jsx(e.Fragment, { children:
|
|
1355
|
+
), ht = ({ node: r }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: S(r.content || "") }), bt = ({ node: r }) => {
|
|
1352
1356
|
const { document: a } = I(), s = a.attributes || {}, o = s["toc-placement"] === "preamble" && a.sections && a.sections.length > 0 && s.toc !== void 0;
|
|
1353
1357
|
return /* @__PURE__ */ e.jsx("div", { id: "preamble", ...r.lineNumber ? { "data-lineno": r.lineNumber } : {}, children: /* @__PURE__ */ e.jsxs("div", { className: "sectionbody", children: [
|
|
1354
1358
|
/* @__PURE__ */ e.jsx(R, { blocks: r.blocks }),
|
|
@@ -1358,7 +1362,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1358
1362
|
id: "toc",
|
|
1359
1363
|
className: r.attributes["toc-class"] ? `${r.attributes["toc-class"]}` : "toc",
|
|
1360
1364
|
children: [
|
|
1361
|
-
/* @__PURE__ */ e.jsx("div", { id: "toctitle", children:
|
|
1365
|
+
/* @__PURE__ */ e.jsx("div", { id: "toctitle", children: S(`${s["toc-title"]}`) }),
|
|
1362
1366
|
a.sections && /* @__PURE__ */ e.jsx(ur, { sections: a.sections })
|
|
1363
1367
|
]
|
|
1364
1368
|
}
|
|
@@ -1373,12 +1377,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1373
1377
|
className: N("quoteblock", r.role),
|
|
1374
1378
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1375
1379
|
children: [
|
|
1376
|
-
/* @__PURE__ */ e.jsx(
|
|
1380
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1377
1381
|
r.content && /* @__PURE__ */ e.jsx("blockquote", { dangerouslySetInnerHTML: { __html: r.content } }),
|
|
1378
1382
|
/* @__PURE__ */ e.jsx(R, { blocks: r.blocks }),
|
|
1379
1383
|
a && /* @__PURE__ */ e.jsxs("div", { className: "attribution", children: [
|
|
1380
1384
|
"— ",
|
|
1381
|
-
|
|
1385
|
+
a,
|
|
1382
1386
|
s && /* @__PURE__ */ e.jsx("cite", { children: s })
|
|
1383
1387
|
] })
|
|
1384
1388
|
]
|
|
@@ -1436,7 +1440,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1436
1440
|
className: N("sidebarblock", r.role),
|
|
1437
1441
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1438
1442
|
children: /* @__PURE__ */ e.jsxs("div", { className: "content", children: [
|
|
1439
|
-
/* @__PURE__ */ e.jsx(
|
|
1443
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1440
1444
|
/* @__PURE__ */ e.jsx(R, { blocks: r.blocks })
|
|
1441
1445
|
] })
|
|
1442
1446
|
}
|
|
@@ -1449,11 +1453,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1449
1453
|
n && o.push("stripes-" + n);
|
|
1450
1454
|
let u = er(r.attributes, "autowidth"), m = parseInt(`${r.attributes.tablepcwidth}`), i = null;
|
|
1451
1455
|
u && !P(r.attributes, "width") ? o.push("fit-content") : m === 100 ? o.push("stretch") : i = `${m}%`, P(r.attributes, "float") && o.push(`${r.attributes.float}`), r.role && o.push(r.role || "");
|
|
1452
|
-
const c = (
|
|
1456
|
+
const c = (p) => N(
|
|
1453
1457
|
"tableblock",
|
|
1454
|
-
`halign-${
|
|
1455
|
-
`valign-${
|
|
1456
|
-
), j = r.title, y = r.id,
|
|
1458
|
+
`halign-${p.attributes.halign}`,
|
|
1459
|
+
`valign-${p.attributes.valign}`
|
|
1460
|
+
), j = r.title, y = r.id, h = y || qt(j || "");
|
|
1457
1461
|
return /* @__PURE__ */ e.jsxs(
|
|
1458
1462
|
"table",
|
|
1459
1463
|
{
|
|
@@ -1462,14 +1466,14 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1462
1466
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1463
1467
|
children: [
|
|
1464
1468
|
r.title && /* @__PURE__ */ e.jsxs("caption", { className: "title", children: [
|
|
1465
|
-
!y && /* @__PURE__ */ e.jsx("a", { className: "anchor", id:
|
|
1466
|
-
/* @__PURE__ */ e.jsx("a", { href: `#${
|
|
1469
|
+
!y && /* @__PURE__ */ e.jsx("a", { className: "anchor", id: h }),
|
|
1470
|
+
/* @__PURE__ */ e.jsx("a", { href: `#${h}`, children: /* @__PURE__ */ e.jsx(D, { text: r.title }) })
|
|
1467
1471
|
] }),
|
|
1468
|
-
r.columns.length > 0 && /* @__PURE__ */ e.jsx("colgroup", { children: r.columns.map((
|
|
1469
|
-
const w =
|
|
1472
|
+
r.columns.length > 0 && /* @__PURE__ */ e.jsx("colgroup", { children: r.columns.map((p, f) => {
|
|
1473
|
+
const w = p.attributes.colpcwidth;
|
|
1470
1474
|
return /* @__PURE__ */ e.jsx("col", { style: { width: `${w}%` } }, f);
|
|
1471
1475
|
}) }),
|
|
1472
|
-
r.headRows.map((
|
|
1476
|
+
r.headRows.map((p, f) => /* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsx("tr", { children: p.map((w, C) => /* @__PURE__ */ e.jsx(
|
|
1473
1477
|
"th",
|
|
1474
1478
|
{
|
|
1475
1479
|
className: c(w),
|
|
@@ -1477,7 +1481,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1477
1481
|
},
|
|
1478
1482
|
C
|
|
1479
1483
|
)) }) }, f)),
|
|
1480
|
-
/* @__PURE__ */ e.jsx("tbody", { children: r.bodyRows.map((
|
|
1484
|
+
/* @__PURE__ */ e.jsx("tbody", { children: r.bodyRows.map((p, f) => /* @__PURE__ */ e.jsx("tr", { children: p.map((w, C) => {
|
|
1481
1485
|
const O = w.columnSpan, F = w.rowSpan, E = w.content, H = {
|
|
1482
1486
|
colSpan: O,
|
|
1483
1487
|
rowSpan: F,
|
|
@@ -1503,7 +1507,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1503
1507
|
));
|
|
1504
1508
|
{
|
|
1505
1509
|
let tr = E;
|
|
1506
|
-
return /* @__PURE__ */ G("td", { ...H, key: C }, tr.length === 0 ? "" :
|
|
1510
|
+
return /* @__PURE__ */ G("td", { ...H, key: C }, tr.length === 0 ? "" : S(
|
|
1507
1511
|
`<p class="tableblock">${tr.join(
|
|
1508
1512
|
`</p>
|
|
1509
1513
|
<p class="tableblock">`
|
|
@@ -1511,7 +1515,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1511
1515
|
));
|
|
1512
1516
|
}
|
|
1513
1517
|
}) }, f)) }),
|
|
1514
|
-
r.footRows.map((
|
|
1518
|
+
r.footRows.map((p, f) => /* @__PURE__ */ e.jsx("tfoot", { children: /* @__PURE__ */ e.jsx("tr", { children: p.map((w, C) => /* @__PURE__ */ e.jsx("td", { className: c(w), children: /* @__PURE__ */ e.jsx("p", { className: "tableblock", dangerouslySetInnerHTML: { __html: w.text } }) }, C)) }) }, f))
|
|
1515
1519
|
]
|
|
1516
1520
|
}
|
|
1517
1521
|
);
|
|
@@ -1520,7 +1524,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1520
1524
|
let n = r.id || "toc";
|
|
1521
1525
|
const u = r.title ? r.title : s["toc-title"], m = s["toc-placement"], i = s.toc !== void 0, c = r.attributes.levels ? parseInt(`${r.attributes.levels}`) : void 0;
|
|
1522
1526
|
return m === "macro" && o && i ? /* @__PURE__ */ e.jsxs("div", { id: n, className: N("toc", r.role), children: [
|
|
1523
|
-
/* @__PURE__ */ e.jsx("div", { id: `${n}title`, className: "title", children:
|
|
1527
|
+
/* @__PURE__ */ e.jsx("div", { id: `${n}title`, className: "title", children: S(`${u}` || "") }),
|
|
1524
1528
|
a.sections && /* @__PURE__ */ e.jsx(ur, { sections: a.sections, opts: { tocLevels: c } })
|
|
1525
1529
|
] }) : null;
|
|
1526
1530
|
}, Et = () => /* @__PURE__ */ e.jsx("hr", {}), Nt = ({ node: r }) => {
|
|
@@ -1532,7 +1536,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1532
1536
|
className: N("ulist", r.style, r.role, a && "checklist"),
|
|
1533
1537
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1534
1538
|
children: [
|
|
1535
|
-
/* @__PURE__ */ e.jsx(
|
|
1539
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1536
1540
|
/* @__PURE__ */ e.jsx("ul", { className: a ? "checklist" : "", children: r.items.map((s, o) => a ? /* @__PURE__ */ e.jsx("li", { id: s.id, className: r.role, children: /* @__PURE__ */ e.jsxs("p", { children: [
|
|
1537
1541
|
a && s.attributes.checkbox && /* @__PURE__ */ e.jsx(
|
|
1538
1542
|
"i",
|
|
@@ -1544,7 +1548,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1544
1548
|
}
|
|
1545
1549
|
),
|
|
1546
1550
|
" ",
|
|
1547
|
-
|
|
1551
|
+
S(s.text || "")
|
|
1548
1552
|
] }) }, o) : /* @__PURE__ */ e.jsxs("li", { id: s.id, className: r.role, children: [
|
|
1549
1553
|
/* @__PURE__ */ e.jsx("p", { dangerouslySetInnerHTML: { __html: s.text || "" } }),
|
|
1550
1554
|
/* @__PURE__ */ e.jsx(R, { blocks: s.blocks })
|
|
@@ -1561,7 +1565,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1561
1565
|
className: N("verseblock", r.role),
|
|
1562
1566
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1563
1567
|
children: [
|
|
1564
|
-
/* @__PURE__ */ e.jsx(
|
|
1568
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1565
1569
|
r.content && /* @__PURE__ */ e.jsx("pre", { className: "content", dangerouslySetInnerHTML: { __html: r.content } }),
|
|
1566
1570
|
a && /* @__PURE__ */ e.jsxs("div", { className: "attribution", children: [
|
|
1567
1571
|
"— ",
|
|
@@ -1571,7 +1575,29 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1571
1575
|
]
|
|
1572
1576
|
}
|
|
1573
1577
|
);
|
|
1574
|
-
},
|
|
1578
|
+
}, Dt = ({ node: r }) => {
|
|
1579
|
+
const a = r.attributes.start, s = r.attributes.end, o = (a || s) && `#t=${a || ""}` + s ? `,${s}` : "";
|
|
1580
|
+
return /* @__PURE__ */ e.jsxs(
|
|
1581
|
+
"div",
|
|
1582
|
+
{
|
|
1583
|
+
className: "videoblock",
|
|
1584
|
+
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1585
|
+
children: [
|
|
1586
|
+
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1587
|
+
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(
|
|
1588
|
+
"video",
|
|
1589
|
+
{
|
|
1590
|
+
src: `${r.mediaUri}${o}`,
|
|
1591
|
+
autoPlay: r.autoplay,
|
|
1592
|
+
controls: !r.noControls,
|
|
1593
|
+
loop: r.loop,
|
|
1594
|
+
children: "Your browser does not support the video tag."
|
|
1595
|
+
}
|
|
1596
|
+
) })
|
|
1597
|
+
]
|
|
1598
|
+
}
|
|
1599
|
+
);
|
|
1600
|
+
}, Ar = Ve({ document: {} }), Lt = ({
|
|
1575
1601
|
document: r,
|
|
1576
1602
|
options: a
|
|
1577
1603
|
}) => {
|
|
@@ -1635,6 +1661,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1635
1661
|
return /* @__PURE__ */ e.jsx(vt, { node: r });
|
|
1636
1662
|
case "verse":
|
|
1637
1663
|
return /* @__PURE__ */ e.jsx(At, { node: r });
|
|
1664
|
+
case "video":
|
|
1665
|
+
return /* @__PURE__ */ e.jsx(Dt, { node: r });
|
|
1638
1666
|
case "toc":
|
|
1639
1667
|
return /* @__PURE__ */ e.jsx(jt, { node: r });
|
|
1640
1668
|
default:
|
|
@@ -1648,7 +1676,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1648
1676
|
};
|
|
1649
1677
|
export {
|
|
1650
1678
|
ze as Admonition,
|
|
1651
|
-
|
|
1679
|
+
Lt as Asciidoc,
|
|
1652
1680
|
Ge as Audio,
|
|
1653
1681
|
Me as CoList,
|
|
1654
1682
|
R as Content,
|
|
@@ -1673,11 +1701,13 @@ export {
|
|
|
1673
1701
|
wt as Table,
|
|
1674
1702
|
jt as TableOfContents,
|
|
1675
1703
|
Et as ThematicBreak,
|
|
1676
|
-
|
|
1704
|
+
D as Title,
|
|
1677
1705
|
Nt as UList,
|
|
1678
1706
|
At as Verse,
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1707
|
+
Dt as Video,
|
|
1708
|
+
er as isOption,
|
|
1709
|
+
Ft as parse,
|
|
1710
|
+
Tt as prepareDocument,
|
|
1711
|
+
Ct as processDocument,
|
|
1682
1712
|
I as useConverterContext
|
|
1683
1713
|
};
|