@oxide/react-asciidoc 0.1.3-alpha.3 → 0.1.3-alpha.5
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 +226 -228
- package/dist/react-asciidoc.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/react-asciidoc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as nr } from "@asciidoctor/core";
|
|
2
2
|
import w from "html-react-parser";
|
|
3
|
-
import Ve, { Fragment as ye, useMemo as ee, createElement as J, createContext as
|
|
3
|
+
import Ve, { Fragment as ye, useMemo as ee, createElement as J, createContext as kt, useContext as Et } from "react";
|
|
4
4
|
const z = {}, H = (e) => {
|
|
5
5
|
const a = e.$$id;
|
|
6
6
|
if (z[a])
|
|
@@ -29,15 +29,15 @@ function St() {
|
|
|
29
29
|
if (Ue)
|
|
30
30
|
return Q;
|
|
31
31
|
Ue = 1;
|
|
32
|
-
var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
32
|
+
var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
33
33
|
function f(b, h, _) {
|
|
34
|
-
var
|
|
34
|
+
var v, S = {}, y = null, O = null;
|
|
35
35
|
_ !== void 0 && (y = "" + _), h.key !== void 0 && (y = "" + h.key), h.ref !== void 0 && (O = h.ref);
|
|
36
|
-
for (
|
|
37
|
-
o.call(h,
|
|
36
|
+
for (v in h)
|
|
37
|
+
o.call(h, v) && !c.hasOwnProperty(v) && (S[v] = h[v]);
|
|
38
38
|
if (b && b.defaultProps)
|
|
39
|
-
for (
|
|
40
|
-
S[
|
|
39
|
+
for (v in h = b.defaultProps, h)
|
|
40
|
+
S[v] === void 0 && (S[v] = h[v]);
|
|
41
41
|
return { $$typeof: a, type: b, key: y, ref: O, props: S, _owner: g.current };
|
|
42
42
|
}
|
|
43
43
|
return Q.Fragment = n, Q.jsx = f, Q.jsxs = f, Q;
|
|
@@ -55,7 +55,7 @@ var Z = {};
|
|
|
55
55
|
var qe;
|
|
56
56
|
function wt() {
|
|
57
57
|
return qe || (qe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
58
|
-
var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"),
|
|
58
|
+
var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), b = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), $ = Symbol.iterator, F = "@@iterator";
|
|
59
59
|
function ue(t) {
|
|
60
60
|
if (t === null || typeof t != "object")
|
|
61
61
|
return null;
|
|
@@ -63,7 +63,7 @@ function wt() {
|
|
|
63
63
|
return typeof i == "function" ? i : null;
|
|
64
64
|
}
|
|
65
65
|
var W = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
66
|
-
function
|
|
66
|
+
function R(t) {
|
|
67
67
|
{
|
|
68
68
|
for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
|
|
69
69
|
s[u - 1] = arguments[u];
|
|
@@ -74,8 +74,8 @@ function wt() {
|
|
|
74
74
|
{
|
|
75
75
|
var u = W.ReactDebugCurrentFrame, p = u.getStackAddendum();
|
|
76
76
|
p !== "" && (i += "%s", s = s.concat([p]));
|
|
77
|
-
var A = s.map(function(
|
|
78
|
-
return String(
|
|
77
|
+
var A = s.map(function(m) {
|
|
78
|
+
return String(m);
|
|
79
79
|
});
|
|
80
80
|
A.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, A);
|
|
81
81
|
}
|
|
@@ -83,7 +83,7 @@ function wt() {
|
|
|
83
83
|
var G = !1, te = !1, Ge = !1, Ke = !1, Xe = !1, _e;
|
|
84
84
|
_e = Symbol.for("react.module.reference");
|
|
85
85
|
function Qe(t) {
|
|
86
|
-
return !!(typeof t == "string" || typeof t == "function" || t === o || t ===
|
|
86
|
+
return !!(typeof t == "string" || typeof t == "function" || t === o || t === c || Xe || t === g || t === _ || t === v || Ke || t === O || G || te || Ge || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === S || t.$$typeof === f || t.$$typeof === b || t.$$typeof === h || t.$$typeof === _e || t.getModuleId !== void 0));
|
|
87
87
|
}
|
|
88
88
|
function Ze(t, i, s) {
|
|
89
89
|
var u = t.displayName;
|
|
@@ -98,7 +98,7 @@ function wt() {
|
|
|
98
98
|
function M(t) {
|
|
99
99
|
if (t == null)
|
|
100
100
|
return null;
|
|
101
|
-
if (typeof t.tag == "number" &&
|
|
101
|
+
if (typeof t.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
102
102
|
return t.displayName || t.name || null;
|
|
103
103
|
if (typeof t == "string")
|
|
104
104
|
return t;
|
|
@@ -107,13 +107,13 @@ function wt() {
|
|
|
107
107
|
return "Fragment";
|
|
108
108
|
case n:
|
|
109
109
|
return "Portal";
|
|
110
|
-
case
|
|
110
|
+
case c:
|
|
111
111
|
return "Profiler";
|
|
112
112
|
case g:
|
|
113
113
|
return "StrictMode";
|
|
114
114
|
case _:
|
|
115
115
|
return "Suspense";
|
|
116
|
-
case
|
|
116
|
+
case v:
|
|
117
117
|
return "SuspenseList";
|
|
118
118
|
}
|
|
119
119
|
if (typeof t == "object")
|
|
@@ -130,9 +130,9 @@ function wt() {
|
|
|
130
130
|
var u = t.displayName || null;
|
|
131
131
|
return u !== null ? u : M(t.type) || "Memo";
|
|
132
132
|
case y: {
|
|
133
|
-
var p = t, A = p._payload,
|
|
133
|
+
var p = t, A = p._payload, m = p._init;
|
|
134
134
|
try {
|
|
135
|
-
return M(
|
|
135
|
+
return M(m(A));
|
|
136
136
|
} catch {
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
@@ -140,14 +140,14 @@ function wt() {
|
|
|
140
140
|
}
|
|
141
141
|
return null;
|
|
142
142
|
}
|
|
143
|
-
var Y = Object.assign, K = 0, Ne, Te,
|
|
143
|
+
var Y = Object.assign, K = 0, Ne, Te, Re, ke, Ee, Se, we;
|
|
144
144
|
function Ce() {
|
|
145
145
|
}
|
|
146
146
|
Ce.__reactDisabledLog = !0;
|
|
147
147
|
function et() {
|
|
148
148
|
{
|
|
149
149
|
if (K === 0) {
|
|
150
|
-
Ne = console.log, Te = console.info,
|
|
150
|
+
Ne = console.log, Te = console.info, Re = console.warn, ke = console.error, Ee = console.group, Se = console.groupCollapsed, we = console.groupEnd;
|
|
151
151
|
var t = {
|
|
152
152
|
configurable: !0,
|
|
153
153
|
enumerable: !0,
|
|
@@ -183,10 +183,10 @@ function wt() {
|
|
|
183
183
|
value: Te
|
|
184
184
|
}),
|
|
185
185
|
warn: Y({}, t, {
|
|
186
|
-
value:
|
|
186
|
+
value: Re
|
|
187
187
|
}),
|
|
188
188
|
error: Y({}, t, {
|
|
189
|
-
value:
|
|
189
|
+
value: ke
|
|
190
190
|
}),
|
|
191
191
|
group: Y({}, t, {
|
|
192
192
|
value: Ee
|
|
@@ -199,7 +199,7 @@ function wt() {
|
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
|
-
K < 0 &&
|
|
202
|
+
K < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
var fe = W.ReactCurrentDispatcher, he;
|
|
@@ -237,27 +237,27 @@ function wt() {
|
|
|
237
237
|
A = fe.current, fe.current = null, et();
|
|
238
238
|
try {
|
|
239
239
|
if (i) {
|
|
240
|
-
var
|
|
240
|
+
var m = function() {
|
|
241
241
|
throw Error();
|
|
242
242
|
};
|
|
243
|
-
if (Object.defineProperty(
|
|
243
|
+
if (Object.defineProperty(m.prototype, "props", {
|
|
244
244
|
set: function() {
|
|
245
245
|
throw Error();
|
|
246
246
|
}
|
|
247
247
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
248
248
|
try {
|
|
249
|
-
Reflect.construct(
|
|
249
|
+
Reflect.construct(m, []);
|
|
250
250
|
} catch (B) {
|
|
251
251
|
u = B;
|
|
252
252
|
}
|
|
253
|
-
Reflect.construct(t, [],
|
|
253
|
+
Reflect.construct(t, [], m);
|
|
254
254
|
} else {
|
|
255
255
|
try {
|
|
256
|
-
|
|
256
|
+
m.call();
|
|
257
257
|
} catch (B) {
|
|
258
258
|
u = B;
|
|
259
259
|
}
|
|
260
|
-
t.call(
|
|
260
|
+
t.call(m.prototype);
|
|
261
261
|
}
|
|
262
262
|
} else {
|
|
263
263
|
try {
|
|
@@ -271,18 +271,18 @@ function wt() {
|
|
|
271
271
|
if (B && u && typeof B.stack == "string") {
|
|
272
272
|
for (var d = B.stack.split(`
|
|
273
273
|
`), I = u.stack.split(`
|
|
274
|
-
`), T = d.length - 1,
|
|
275
|
-
|
|
276
|
-
for (; T >= 1 &&
|
|
277
|
-
if (d[T] !== I[
|
|
278
|
-
if (T !== 1 ||
|
|
274
|
+
`), T = d.length - 1, k = I.length - 1; T >= 1 && k >= 0 && d[T] !== I[k]; )
|
|
275
|
+
k--;
|
|
276
|
+
for (; T >= 1 && k >= 0; T--, k--)
|
|
277
|
+
if (d[T] !== I[k]) {
|
|
278
|
+
if (T !== 1 || k !== 1)
|
|
279
279
|
do
|
|
280
|
-
if (T--,
|
|
280
|
+
if (T--, k--, k < 0 || d[T] !== I[k]) {
|
|
281
281
|
var j = `
|
|
282
282
|
` + d[T].replace(" at new ", " at ");
|
|
283
283
|
return t.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", t.displayName)), typeof t == "function" && ae.set(t, j), j;
|
|
284
284
|
}
|
|
285
|
-
while (T >= 1 &&
|
|
285
|
+
while (T >= 1 && k >= 0);
|
|
286
286
|
break;
|
|
287
287
|
}
|
|
288
288
|
}
|
|
@@ -309,7 +309,7 @@ function wt() {
|
|
|
309
309
|
switch (t) {
|
|
310
310
|
case _:
|
|
311
311
|
return re("Suspense");
|
|
312
|
-
case
|
|
312
|
+
case v:
|
|
313
313
|
return re("SuspenseList");
|
|
314
314
|
}
|
|
315
315
|
if (typeof t == "object")
|
|
@@ -339,19 +339,19 @@ function wt() {
|
|
|
339
339
|
function nt(t, i, s, u, p) {
|
|
340
340
|
{
|
|
341
341
|
var A = Function.call.bind(ne);
|
|
342
|
-
for (var
|
|
343
|
-
if (A(t,
|
|
342
|
+
for (var m in t)
|
|
343
|
+
if (A(t, m)) {
|
|
344
344
|
var d = void 0;
|
|
345
345
|
try {
|
|
346
|
-
if (typeof t[
|
|
347
|
-
var I = Error((u || "React class") + ": " + s + " type `" +
|
|
346
|
+
if (typeof t[m] != "function") {
|
|
347
|
+
var I = Error((u || "React class") + ": " + s + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
348
348
|
throw I.name = "Invariant Violation", I;
|
|
349
349
|
}
|
|
350
|
-
d = t[
|
|
350
|
+
d = t[m](i, m, u, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
351
351
|
} catch (T) {
|
|
352
352
|
d = T;
|
|
353
353
|
}
|
|
354
|
-
d && !(d instanceof Error) && (se(p),
|
|
354
|
+
d && !(d instanceof Error) && (se(p), R("%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).", u || "React class", s, m, typeof d), se(null)), d instanceof Error && !(d.message in Oe) && (Oe[d.message] = !0, se(p), R("Failed %s type: %s", s, d.message), se(null));
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
}
|
|
@@ -377,15 +377,15 @@ function wt() {
|
|
|
377
377
|
}
|
|
378
378
|
function Pe(t) {
|
|
379
379
|
if (ct(t))
|
|
380
|
-
return
|
|
380
|
+
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), xe(t);
|
|
381
381
|
}
|
|
382
382
|
var X = W.ReactCurrentOwner, ot = {
|
|
383
383
|
key: !0,
|
|
384
384
|
ref: !0,
|
|
385
385
|
__self: !0,
|
|
386
386
|
__source: !0
|
|
387
|
-
}, je, De,
|
|
388
|
-
|
|
387
|
+
}, je, De, ve;
|
|
388
|
+
ve = {};
|
|
389
389
|
function ut(t) {
|
|
390
390
|
if (ne.call(t, "ref")) {
|
|
391
391
|
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
@@ -405,13 +405,13 @@ function wt() {
|
|
|
405
405
|
function ht(t, i) {
|
|
406
406
|
if (typeof t.ref == "string" && X.current && i && X.current.stateNode !== i) {
|
|
407
407
|
var s = M(X.current.type);
|
|
408
|
-
|
|
408
|
+
ve[s] || (R('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', M(X.current.type), t.ref), ve[s] = !0);
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
function gt(t, i) {
|
|
412
412
|
{
|
|
413
413
|
var s = function() {
|
|
414
|
-
je || (je = !0,
|
|
414
|
+
je || (je = !0, R("%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)", i));
|
|
415
415
|
};
|
|
416
416
|
s.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
417
417
|
get: s,
|
|
@@ -422,7 +422,7 @@ function wt() {
|
|
|
422
422
|
function dt(t, i) {
|
|
423
423
|
{
|
|
424
424
|
var s = function() {
|
|
425
|
-
De || (De = !0,
|
|
425
|
+
De || (De = !0, R("%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)", i));
|
|
426
426
|
};
|
|
427
427
|
s.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
428
428
|
get: s,
|
|
@@ -430,13 +430,13 @@ function wt() {
|
|
|
430
430
|
});
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
var
|
|
433
|
+
var vt = function(t, i, s, u, p, A, m) {
|
|
434
434
|
var d = {
|
|
435
435
|
$$typeof: a,
|
|
436
436
|
type: t,
|
|
437
437
|
key: i,
|
|
438
438
|
ref: s,
|
|
439
|
-
props:
|
|
439
|
+
props: m,
|
|
440
440
|
_owner: A
|
|
441
441
|
};
|
|
442
442
|
return d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
@@ -456,25 +456,25 @@ function wt() {
|
|
|
456
456
|
value: p
|
|
457
457
|
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
458
458
|
};
|
|
459
|
-
function
|
|
459
|
+
function mt(t, i, s, u, p) {
|
|
460
460
|
{
|
|
461
|
-
var A,
|
|
461
|
+
var A, m = {}, d = null, I = null;
|
|
462
462
|
s !== void 0 && (Pe(s), d = "" + s), ft(i) && (Pe(i.key), d = "" + i.key), ut(i) && (I = i.ref, ht(i, p));
|
|
463
463
|
for (A in i)
|
|
464
|
-
ne.call(i, A) && !ot.hasOwnProperty(A) && (
|
|
464
|
+
ne.call(i, A) && !ot.hasOwnProperty(A) && (m[A] = i[A]);
|
|
465
465
|
if (t && t.defaultProps) {
|
|
466
466
|
var T = t.defaultProps;
|
|
467
467
|
for (A in T)
|
|
468
|
-
|
|
468
|
+
m[A] === void 0 && (m[A] = T[A]);
|
|
469
469
|
}
|
|
470
470
|
if (d || I) {
|
|
471
|
-
var
|
|
472
|
-
d && gt(
|
|
471
|
+
var k = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
472
|
+
d && gt(m, k), I && dt(m, k);
|
|
473
473
|
}
|
|
474
|
-
return
|
|
474
|
+
return vt(t, d, I, p, u, X.current, m);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
var
|
|
477
|
+
var me = W.ReactCurrentOwner, Le = W.ReactDebugCurrentFrame;
|
|
478
478
|
function q(t) {
|
|
479
479
|
if (t) {
|
|
480
480
|
var i = t._owner, s = ie(t.type, t._source, i ? i.type : null);
|
|
@@ -489,8 +489,8 @@ function wt() {
|
|
|
489
489
|
}
|
|
490
490
|
function Fe() {
|
|
491
491
|
{
|
|
492
|
-
if (
|
|
493
|
-
var t = M(
|
|
492
|
+
if (me.current) {
|
|
493
|
+
var t = M(me.current.type);
|
|
494
494
|
if (t)
|
|
495
495
|
return `
|
|
496
496
|
|
|
@@ -533,7 +533,7 @@ Check the top-level render call using <` + s + ">.");
|
|
|
533
533
|
return;
|
|
534
534
|
Me[s] = !0;
|
|
535
535
|
var u = "";
|
|
536
|
-
t && t._owner && t._owner !==
|
|
536
|
+
t && t._owner && t._owner !== me.current && (u = " It was passed a child from " + M(t._owner.type) + "."), q(t), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, u), q(null);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
function We(t, i) {
|
|
@@ -550,8 +550,8 @@ Check the top-level render call using <` + s + ">.");
|
|
|
550
550
|
else if (t) {
|
|
551
551
|
var p = ue(t);
|
|
552
552
|
if (typeof p == "function" && p !== t.entries)
|
|
553
|
-
for (var A = p.call(t),
|
|
554
|
-
be(
|
|
553
|
+
for (var A = p.call(t), m; !(m = A.next()).done; )
|
|
554
|
+
be(m.value) && Be(m.value, i);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
}
|
|
@@ -573,9 +573,9 @@ Check the top-level render call using <` + s + ">.");
|
|
|
573
573
|
} else if (i.PropTypes !== void 0 && !pe) {
|
|
574
574
|
pe = !0;
|
|
575
575
|
var p = M(i);
|
|
576
|
-
|
|
576
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
577
577
|
}
|
|
578
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved &&
|
|
578
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
function _t(t) {
|
|
@@ -583,28 +583,28 @@ Check the top-level render call using <` + s + ">.");
|
|
|
583
583
|
for (var i = Object.keys(t.props), s = 0; s < i.length; s++) {
|
|
584
584
|
var u = i[s];
|
|
585
585
|
if (u !== "children" && u !== "key") {
|
|
586
|
-
q(t),
|
|
586
|
+
q(t), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
|
|
587
587
|
break;
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
t.ref !== null && (q(t),
|
|
590
|
+
t.ref !== null && (q(t), R("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
function Ye(t, i, s, u, p, A) {
|
|
594
594
|
{
|
|
595
|
-
var
|
|
596
|
-
if (!
|
|
595
|
+
var m = Qe(t);
|
|
596
|
+
if (!m) {
|
|
597
597
|
var d = "";
|
|
598
598
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
599
599
|
var I = pt(p);
|
|
600
600
|
I ? d += I : d += Fe();
|
|
601
601
|
var T;
|
|
602
|
-
t === null ? T = "null" : de(t) ? T = "array" : t !== void 0 && t.$$typeof === a ? (T = "<" + (M(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t,
|
|
602
|
+
t === null ? T = "null" : de(t) ? T = "array" : t !== void 0 && t.$$typeof === a ? (T = "<" + (M(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, d);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
if (
|
|
606
|
-
return
|
|
607
|
-
if (
|
|
604
|
+
var k = mt(t, i, s, p, A);
|
|
605
|
+
if (k == null)
|
|
606
|
+
return k;
|
|
607
|
+
if (m) {
|
|
608
608
|
var j = i.children;
|
|
609
609
|
if (j !== void 0)
|
|
610
610
|
if (u)
|
|
@@ -613,11 +613,11 @@ Check the top-level render call using <` + s + ">.");
|
|
|
613
613
|
We(j[V], t);
|
|
614
614
|
Object.freeze && Object.freeze(j);
|
|
615
615
|
} else
|
|
616
|
-
|
|
616
|
+
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
617
617
|
else
|
|
618
618
|
We(j, t);
|
|
619
619
|
}
|
|
620
|
-
return t === o ? _t(
|
|
620
|
+
return t === o ? _t(k) : yt(k), k;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
function At(t, i, s) {
|
|
@@ -626,14 +626,14 @@ Check the top-level render call using <` + s + ">.");
|
|
|
626
626
|
function Nt(t, i, s) {
|
|
627
627
|
return Ye(t, i, s, !1);
|
|
628
628
|
}
|
|
629
|
-
var Tt = Nt,
|
|
630
|
-
Z.Fragment = o, Z.jsx = Tt, Z.jsxs =
|
|
629
|
+
var Tt = Nt, Rt = At;
|
|
630
|
+
Z.Fragment = o, Z.jsx = Tt, Z.jsxs = Rt;
|
|
631
631
|
}()), Z;
|
|
632
632
|
}
|
|
633
633
|
(function(e) {
|
|
634
634
|
process.env.NODE_ENV === "production" ? e.exports = St() : e.exports = wt();
|
|
635
635
|
})(ce);
|
|
636
|
-
const L = ce.exports.Fragment, r = ce.exports.jsx,
|
|
636
|
+
const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
|
|
637
637
|
node: e
|
|
638
638
|
}) => e.hasTitle() ? /* @__PURE__ */ r("div", {
|
|
639
639
|
className: "title",
|
|
@@ -654,26 +654,24 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, P = ({
|
|
|
654
654
|
}) : /* @__PURE__ */ r("img", {
|
|
655
655
|
src: e.getIconUri(a.name),
|
|
656
656
|
alt: a.textlabel
|
|
657
|
-
})
|
|
658
|
-
return /* @__PURE__ */ r("div", {
|
|
657
|
+
});
|
|
658
|
+
return e.content_model, /* @__PURE__ */ r("div", {
|
|
659
659
|
className: `admonitionblock ${a.name}`,
|
|
660
660
|
...N(e),
|
|
661
661
|
children: /* @__PURE__ */ r("table", {
|
|
662
662
|
children: /* @__PURE__ */ r("tbody", {
|
|
663
|
-
children: /* @__PURE__ */
|
|
663
|
+
children: /* @__PURE__ */ l("tr", {
|
|
664
664
|
children: [/* @__PURE__ */ r("td", {
|
|
665
665
|
className: "icon",
|
|
666
666
|
children: n.hasAttribute("icons") ? g() : /* @__PURE__ */ r("div", {
|
|
667
667
|
className: "title",
|
|
668
668
|
children: e.getAttribute("textlabel")
|
|
669
669
|
})
|
|
670
|
-
}), /* @__PURE__ */
|
|
670
|
+
}), /* @__PURE__ */ l("td", {
|
|
671
671
|
className: "content",
|
|
672
|
-
children: [/* @__PURE__ */ r(
|
|
672
|
+
children: [/* @__PURE__ */ r(x, {
|
|
673
673
|
node: e
|
|
674
|
-
}),
|
|
675
|
-
blocks: e.getBlocks()
|
|
676
|
-
})]
|
|
674
|
+
}), w(o)]
|
|
677
675
|
})]
|
|
678
676
|
})
|
|
679
677
|
})
|
|
@@ -683,10 +681,10 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, P = ({
|
|
|
683
681
|
node: e
|
|
684
682
|
}) => {
|
|
685
683
|
const a = e.getAttribute("start"), n = e.getAttribute("start"), o = (a || n) && `#t=${a || ""}` + n ? `,${n}` : "";
|
|
686
|
-
return /* @__PURE__ */
|
|
684
|
+
return /* @__PURE__ */ l("div", {
|
|
687
685
|
className: "audioblock",
|
|
688
686
|
...N(e),
|
|
689
|
-
children: [/* @__PURE__ */ r(
|
|
687
|
+
children: [/* @__PURE__ */ r(x, {
|
|
690
688
|
node: e
|
|
691
689
|
}), /* @__PURE__ */ r("div", {
|
|
692
690
|
className: "content",
|
|
@@ -701,23 +699,23 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, P = ({
|
|
|
701
699
|
});
|
|
702
700
|
}, Ot = ({
|
|
703
701
|
node: e
|
|
704
|
-
}) => /* @__PURE__ */
|
|
702
|
+
}) => /* @__PURE__ */ l("div", {
|
|
705
703
|
className: "colist",
|
|
706
704
|
...N(e),
|
|
707
|
-
children: [/* @__PURE__ */ r(
|
|
705
|
+
children: [/* @__PURE__ */ r(x, {
|
|
708
706
|
node: e
|
|
709
707
|
}), /* @__PURE__ */ r("table", {
|
|
710
708
|
children: /* @__PURE__ */ r("tbody", {
|
|
711
|
-
children: e.getItems().map((a, n) => /* @__PURE__ */
|
|
712
|
-
children: [/* @__PURE__ */
|
|
709
|
+
children: e.getItems().map((a, n) => /* @__PURE__ */ l("tr", {
|
|
710
|
+
children: [/* @__PURE__ */ l("td", {
|
|
713
711
|
children: [/* @__PURE__ */ r("i", {
|
|
714
712
|
className: "conum",
|
|
715
713
|
"data-value": n + 1
|
|
716
714
|
}), /* @__PURE__ */ r("b", {
|
|
717
715
|
children: n + 1
|
|
718
716
|
})]
|
|
719
|
-
}), /* @__PURE__ */
|
|
720
|
-
children: [w(D(a)), /* @__PURE__ */ r(
|
|
717
|
+
}), /* @__PURE__ */ l("td", {
|
|
718
|
+
children: [w(D(a)), /* @__PURE__ */ r(P, {
|
|
721
719
|
blocks: a.getBlocks()
|
|
722
720
|
})]
|
|
723
721
|
})]
|
|
@@ -736,23 +734,23 @@ var Je = { exports: {} };
|
|
|
736
734
|
var a = {}.hasOwnProperty;
|
|
737
735
|
function n() {
|
|
738
736
|
for (var o = [], g = 0; g < arguments.length; g++) {
|
|
739
|
-
var
|
|
740
|
-
if (!!
|
|
741
|
-
var f = typeof
|
|
737
|
+
var c = arguments[g];
|
|
738
|
+
if (!!c) {
|
|
739
|
+
var f = typeof c;
|
|
742
740
|
if (f === "string" || f === "number")
|
|
743
|
-
o.push(
|
|
744
|
-
else if (Array.isArray(
|
|
745
|
-
if (
|
|
746
|
-
var b = n.apply(null,
|
|
741
|
+
o.push(c);
|
|
742
|
+
else if (Array.isArray(c)) {
|
|
743
|
+
if (c.length) {
|
|
744
|
+
var b = n.apply(null, c);
|
|
747
745
|
b && o.push(b);
|
|
748
746
|
}
|
|
749
747
|
} else if (f === "object") {
|
|
750
|
-
if (
|
|
751
|
-
o.push(
|
|
748
|
+
if (c.toString !== Object.prototype.toString && !c.toString.toString().includes("[native code]")) {
|
|
749
|
+
o.push(c.toString());
|
|
752
750
|
continue;
|
|
753
751
|
}
|
|
754
|
-
for (var h in
|
|
755
|
-
a.call(
|
|
752
|
+
for (var h in c)
|
|
753
|
+
a.call(c, h) && c[h] && o.push(h);
|
|
756
754
|
}
|
|
757
755
|
}
|
|
758
756
|
}
|
|
@@ -764,20 +762,20 @@ var Je = { exports: {} };
|
|
|
764
762
|
const E = Je.exports, It = ({
|
|
765
763
|
node: e
|
|
766
764
|
}) => {
|
|
767
|
-
const a = e.getStyle(), n = (
|
|
768
|
-
const f =
|
|
765
|
+
const a = e.getStyle(), n = (c) => {
|
|
766
|
+
const f = c, b = f[0];
|
|
769
767
|
let h = f[1];
|
|
770
768
|
return h.getNodeName || (h = null), {
|
|
771
769
|
terms: b,
|
|
772
770
|
dd: h
|
|
773
771
|
};
|
|
774
|
-
}, o = (
|
|
775
|
-
if (
|
|
776
|
-
return /* @__PURE__ */
|
|
777
|
-
children: [
|
|
778
|
-
children: w(D(
|
|
779
|
-
}),
|
|
780
|
-
blocks:
|
|
772
|
+
}, o = (c) => {
|
|
773
|
+
if (c)
|
|
774
|
+
return /* @__PURE__ */ l("dd", {
|
|
775
|
+
children: [c.hasText() && /* @__PURE__ */ r("p", {
|
|
776
|
+
children: w(D(c))
|
|
777
|
+
}), c.hasBlocks() && /* @__PURE__ */ r(P, {
|
|
778
|
+
blocks: c.getBlocks()
|
|
781
779
|
})]
|
|
782
780
|
});
|
|
783
781
|
}, g = e.hasTitle() && /* @__PURE__ */ r("div", {
|
|
@@ -785,34 +783,34 @@ const E = Je.exports, It = ({
|
|
|
785
783
|
children: e.getCaptionedTitle()
|
|
786
784
|
});
|
|
787
785
|
if (a === "qanda")
|
|
788
|
-
return /* @__PURE__ */
|
|
786
|
+
return /* @__PURE__ */ l("div", {
|
|
789
787
|
className: E("qlist qanda", C(e)),
|
|
790
788
|
...N(e),
|
|
791
789
|
children: [g, /* @__PURE__ */ r("ol", {
|
|
792
|
-
children: e.getItems().map((
|
|
790
|
+
children: e.getItems().map((c, f) => {
|
|
793
791
|
const {
|
|
794
792
|
terms: b,
|
|
795
793
|
dd: h
|
|
796
|
-
} = n(
|
|
797
|
-
return /* @__PURE__ */
|
|
798
|
-
children: [b.map((_,
|
|
794
|
+
} = n(c);
|
|
795
|
+
return /* @__PURE__ */ l("li", {
|
|
796
|
+
children: [b.map((_, v) => /* @__PURE__ */ r("p", {
|
|
799
797
|
children: /* @__PURE__ */ r("em", {
|
|
800
798
|
children: D(_)
|
|
801
799
|
})
|
|
802
|
-
},
|
|
800
|
+
}, v)), o(h)]
|
|
803
801
|
}, f);
|
|
804
802
|
})
|
|
805
803
|
})]
|
|
806
804
|
});
|
|
807
805
|
if (a === "horizontal") {
|
|
808
|
-
const
|
|
809
|
-
return /* @__PURE__ */
|
|
806
|
+
const c = e.getAttribute("labelwidth"), f = e.getAttribute("itemwidth");
|
|
807
|
+
return /* @__PURE__ */ l("div", {
|
|
810
808
|
className: E("hdlist", C(e)),
|
|
811
|
-
children: [g, /* @__PURE__ */
|
|
812
|
-
children: [(
|
|
809
|
+
children: [g, /* @__PURE__ */ l("table", {
|
|
810
|
+
children: [(c || f) && /* @__PURE__ */ l("colgroup", {
|
|
813
811
|
children: [/* @__PURE__ */ r("col", {
|
|
814
812
|
style: {
|
|
815
|
-
width:
|
|
813
|
+
width: c ? `${c.replace("%", "")}%` : ""
|
|
816
814
|
}
|
|
817
815
|
}), /* @__PURE__ */ r("col", {
|
|
818
816
|
style: {
|
|
@@ -823,20 +821,20 @@ const E = Je.exports, It = ({
|
|
|
823
821
|
children: e.getItems().map((b, h) => {
|
|
824
822
|
const {
|
|
825
823
|
terms: _,
|
|
826
|
-
dd:
|
|
824
|
+
dd: v
|
|
827
825
|
} = n(b);
|
|
828
|
-
return /* @__PURE__ */
|
|
826
|
+
return /* @__PURE__ */ l("tr", {
|
|
829
827
|
children: [/* @__PURE__ */ r("td", {
|
|
830
828
|
className: E("hdlist1", e.isOption("strong") ? "strong" : ""),
|
|
831
|
-
children: _.map((S, y) => /* @__PURE__ */
|
|
829
|
+
children: _.map((S, y) => /* @__PURE__ */ l(ye, {
|
|
832
830
|
children: [y !== 0 && /* @__PURE__ */ r("br", {}), w(D(S))]
|
|
833
831
|
}, y))
|
|
834
|
-
}),
|
|
832
|
+
}), v && /* @__PURE__ */ l("td", {
|
|
835
833
|
className: "hdlist2",
|
|
836
|
-
children: [
|
|
837
|
-
children: w(D(
|
|
838
|
-
}),
|
|
839
|
-
blocks:
|
|
834
|
+
children: [v.hasText() && /* @__PURE__ */ r("p", {
|
|
835
|
+
children: w(D(v))
|
|
836
|
+
}), v.hasBlocks() && /* @__PURE__ */ r(P, {
|
|
837
|
+
blocks: v.getBlocks()
|
|
840
838
|
})]
|
|
841
839
|
})]
|
|
842
840
|
}, h);
|
|
@@ -845,19 +843,19 @@ const E = Je.exports, It = ({
|
|
|
845
843
|
})]
|
|
846
844
|
});
|
|
847
845
|
} else
|
|
848
|
-
return /* @__PURE__ */
|
|
846
|
+
return /* @__PURE__ */ l("div", {
|
|
849
847
|
className: E("dlist", e.getStyle(), C(e)),
|
|
850
848
|
children: [g, /* @__PURE__ */ r("dl", {
|
|
851
|
-
children: e.getItems().map((
|
|
849
|
+
children: e.getItems().map((c, f) => {
|
|
852
850
|
const {
|
|
853
851
|
terms: b,
|
|
854
852
|
dd: h
|
|
855
|
-
} = n(
|
|
856
|
-
return /* @__PURE__ */
|
|
857
|
-
children: [b.map((_,
|
|
853
|
+
} = n(c);
|
|
854
|
+
return /* @__PURE__ */ l(ye, {
|
|
855
|
+
children: [b.map((_, v) => /* @__PURE__ */ r("dt", {
|
|
858
856
|
className: "hdlist1",
|
|
859
857
|
children: w(D(_))
|
|
860
|
-
},
|
|
858
|
+
}, v)), o(h)]
|
|
861
859
|
}, f);
|
|
862
860
|
})
|
|
863
861
|
})]
|
|
@@ -868,12 +866,12 @@ const E = Je.exports, It = ({
|
|
|
868
866
|
}) => {
|
|
869
867
|
if (!e.hasSections())
|
|
870
868
|
return null;
|
|
871
|
-
const n = e.getSections(), o = e.getDocument(), g = ee(() => o.getAttributes(), [e]),
|
|
869
|
+
const n = e.getSections(), o = e.getDocument(), g = ee(() => o.getAttributes(), [e]), c = ee(() => o.getAttribute("sectnumlevels"), [e]), f = ee(() => o.getAttribute("toclevels"), [e]), b = (a == null ? void 0 : a.sectNumLevels) || (c ? parseInt(c) : 3), h = (a == null ? void 0 : a.tocLevels) || (f ? parseInt(f) : 2);
|
|
872
870
|
return /* @__PURE__ */ r("ul", {
|
|
873
871
|
className: `sectlevel${n[0].getLevel()}`,
|
|
874
872
|
children: n.map((_) => {
|
|
875
|
-
let
|
|
876
|
-
|
|
873
|
+
let v = _.$sectnum();
|
|
874
|
+
v = v === "." || v === ".." ? "" : v;
|
|
877
875
|
const S = _.getLevel();
|
|
878
876
|
let y = "";
|
|
879
877
|
if (_.getCaption())
|
|
@@ -881,12 +879,12 @@ const E = Je.exports, It = ({
|
|
|
881
879
|
else if (S <= b)
|
|
882
880
|
if (S < 2 && o.getDoctype() == "book") {
|
|
883
881
|
const O = _.getSectionName();
|
|
884
|
-
O === "chapter" ? y = `${g["chapter-signifier"] || ""} ${
|
|
882
|
+
O === "chapter" ? y = `${g["chapter-signifier"] || ""} ${v} ${_.getTitle()}` : O === "part" ? y = `${g["part-signifier"] || ""} ${v} ${_.getTitle()}` : y = `${v} ${_.getTitle()}`;
|
|
885
883
|
} else
|
|
886
|
-
y = `${
|
|
884
|
+
y = `${v} ${_.getTitle()}`;
|
|
887
885
|
else
|
|
888
886
|
y = _.getTitle() || "";
|
|
889
|
-
return /* @__PURE__ */
|
|
887
|
+
return /* @__PURE__ */ l("li", {
|
|
890
888
|
children: [/* @__PURE__ */ r("a", {
|
|
891
889
|
href: `#${_.getId()}`,
|
|
892
890
|
children: w(y)
|
|
@@ -907,12 +905,12 @@ const E = Je.exports, It = ({
|
|
|
907
905
|
var f;
|
|
908
906
|
return e.getNoheader() ? null : /* @__PURE__ */ r("div", {
|
|
909
907
|
id: "header",
|
|
910
|
-
children: e.hasHeader() && /* @__PURE__ */
|
|
908
|
+
children: e.hasHeader() && /* @__PURE__ */ l(L, {
|
|
911
909
|
children: [/* @__PURE__ */ r("h1", {
|
|
912
910
|
dangerouslySetInnerHTML: {
|
|
913
911
|
__html: ((f = e.getDocumentTitle()) == null ? void 0 : f.toString()) || ""
|
|
914
912
|
}
|
|
915
|
-
}), /* @__PURE__ */ r(
|
|
913
|
+
}), /* @__PURE__ */ r(c, {}), e.hasSections() && e.hasAttribute("toc") && e.getAttribute("toc-placement") === "auto" && /* @__PURE__ */ l("div", {
|
|
916
914
|
id: "toc",
|
|
917
915
|
className: e.getAttribute("toc-class", "toc"),
|
|
918
916
|
children: [/* @__PURE__ */ r("div", {
|
|
@@ -924,9 +922,9 @@ const E = Je.exports, It = ({
|
|
|
924
922
|
})]
|
|
925
923
|
})
|
|
926
924
|
});
|
|
927
|
-
}, g = () => n && n.length > 0 && a && !a[0].getDocument().hasAttribute("nofootnotes") ? /* @__PURE__ */
|
|
925
|
+
}, g = () => n && n.length > 0 && a && !a[0].getDocument().hasAttribute("nofootnotes") ? /* @__PURE__ */ l("div", {
|
|
928
926
|
id: "footnotes",
|
|
929
|
-
children: [/* @__PURE__ */ r("hr", {}), n.map((f) => /* @__PURE__ */
|
|
927
|
+
children: [/* @__PURE__ */ r("hr", {}), n.map((f) => /* @__PURE__ */ l("div", {
|
|
930
928
|
className: "footnote",
|
|
931
929
|
id: `_footnotedef_${f.getIndex()}`,
|
|
932
930
|
children: [/* @__PURE__ */ r("a", {
|
|
@@ -934,16 +932,16 @@ const E = Je.exports, It = ({
|
|
|
934
932
|
children: f.getIndex()
|
|
935
933
|
}), ".", " ", w(D(f) || "")]
|
|
936
934
|
}, f.getIndex()))]
|
|
937
|
-
}) : null,
|
|
935
|
+
}) : null, c = () => e.getAuthors().length > 0 || e.hasAttribute("revnumber") || e.hasAttribute("revdate") || e.hasAttribute("revremark") ? /* @__PURE__ */ l("div", {
|
|
938
936
|
className: "details",
|
|
939
|
-
children: [e.getAuthors().map((b, h) => /* @__PURE__ */
|
|
940
|
-
children: [b.getName() && /* @__PURE__ */
|
|
937
|
+
children: [e.getAuthors().map((b, h) => /* @__PURE__ */ l(ye, {
|
|
938
|
+
children: [b.getName() && /* @__PURE__ */ l(L, {
|
|
941
939
|
children: [/* @__PURE__ */ r("span", {
|
|
942
940
|
id: `author${h + 1 > 1 ? h + 1 : ""}`,
|
|
943
941
|
className: "author",
|
|
944
942
|
children: w(e.applySubstitutions(b.getName() || "").toString())
|
|
945
943
|
}), /* @__PURE__ */ r("br", {})]
|
|
946
|
-
}), b.getEmail() && /* @__PURE__ */
|
|
944
|
+
}), b.getEmail() && /* @__PURE__ */ l(L, {
|
|
947
945
|
children: [/* @__PURE__ */ r("span", {
|
|
948
946
|
id: `email${h + 1 > 1 ? h + 1 : ""}`,
|
|
949
947
|
className: "email",
|
|
@@ -956,31 +954,31 @@ const E = Je.exports, It = ({
|
|
|
956
954
|
}), e.hasAttribute("revdate") && /* @__PURE__ */ r("span", {
|
|
957
955
|
id: "revdate",
|
|
958
956
|
children: e.getAttribute("revdate")
|
|
959
|
-
}), e.hasAttribute("revremark") && /* @__PURE__ */
|
|
957
|
+
}), e.hasAttribute("revremark") && /* @__PURE__ */ l(L, {
|
|
960
958
|
children: [/* @__PURE__ */ r("br", {}), /* @__PURE__ */ r("span", {
|
|
961
959
|
id: "revremark",
|
|
962
960
|
children: e.getAttribute("revremark")
|
|
963
961
|
})]
|
|
964
962
|
})]
|
|
965
963
|
}) : null;
|
|
966
|
-
return /* @__PURE__ */
|
|
964
|
+
return /* @__PURE__ */ l(L, {
|
|
967
965
|
children: [/* @__PURE__ */ r(o, {}), /* @__PURE__ */ r("div", {
|
|
968
966
|
id: "content",
|
|
969
|
-
children: /* @__PURE__ */ r(
|
|
967
|
+
children: /* @__PURE__ */ r(P, {
|
|
970
968
|
blocks: a
|
|
971
969
|
})
|
|
972
970
|
}), /* @__PURE__ */ r(g, {})]
|
|
973
971
|
});
|
|
974
972
|
}, Pt = ({
|
|
975
973
|
node: e
|
|
976
|
-
}) => /* @__PURE__ */
|
|
974
|
+
}) => /* @__PURE__ */ l("div", {
|
|
977
975
|
className: E("exampleblock", C(e)),
|
|
978
976
|
...N(e),
|
|
979
977
|
children: [/* @__PURE__ */ r(le, {
|
|
980
978
|
node: e
|
|
981
979
|
}), /* @__PURE__ */ r("div", {
|
|
982
980
|
className: "content",
|
|
983
|
-
children: /* @__PURE__ */ r(
|
|
981
|
+
children: /* @__PURE__ */ r(P, {
|
|
984
982
|
blocks: e.getBlocks()
|
|
985
983
|
})
|
|
986
984
|
})]
|
|
@@ -988,12 +986,12 @@ const E = Je.exports, It = ({
|
|
|
988
986
|
node: e
|
|
989
987
|
}) => {
|
|
990
988
|
const a = e.getLevel();
|
|
991
|
-
return /* @__PURE__ */
|
|
989
|
+
return /* @__PURE__ */ l(L, {
|
|
992
990
|
children: [/* @__PURE__ */ r("a", {
|
|
993
991
|
className: "sectionanchor",
|
|
994
992
|
id: `${e.getId() || ""}`,
|
|
995
993
|
...N(e)
|
|
996
|
-
}), J(`h${a + 1}`, null, /* @__PURE__ */ r(
|
|
994
|
+
}), J(`h${a + 1}`, null, /* @__PURE__ */ r(x, {
|
|
997
995
|
node: e
|
|
998
996
|
}))]
|
|
999
997
|
});
|
|
@@ -1011,7 +1009,7 @@ const E = Je.exports, It = ({
|
|
|
1011
1009
|
className: "image",
|
|
1012
1010
|
href: e.getAttribute("link"),
|
|
1013
1011
|
children: n
|
|
1014
|
-
})), /* @__PURE__ */
|
|
1012
|
+
})), /* @__PURE__ */ l("div", {
|
|
1015
1013
|
className: `imageblock ${e.hasAttribute("align") ? "text-" + e.getAttribute("align") : ""} ${e.hasAttribute("float") ? e.getAttribute("float") : ""} ${e.getRole() ? e.getRole() : ""}`,
|
|
1016
1014
|
...N(e),
|
|
1017
1015
|
children: [/* @__PURE__ */ r("div", {
|
|
@@ -1026,8 +1024,8 @@ const E = Je.exports, It = ({
|
|
|
1026
1024
|
}) => {
|
|
1027
1025
|
const a = e.getDocument(), n = e.getAttributes(), o = e.isOption("nowrap") || !a.hasAttribute("prewrap"), g = H(e);
|
|
1028
1026
|
if (e.getStyle() === "source") {
|
|
1029
|
-
const
|
|
1030
|
-
return /* @__PURE__ */
|
|
1027
|
+
const c = n.language;
|
|
1028
|
+
return /* @__PURE__ */ l("div", {
|
|
1031
1029
|
className: "listingblock",
|
|
1032
1030
|
...N(e),
|
|
1033
1031
|
children: [/* @__PURE__ */ r(le, {
|
|
@@ -1036,9 +1034,9 @@ const E = Je.exports, It = ({
|
|
|
1036
1034
|
className: "content",
|
|
1037
1035
|
children: /* @__PURE__ */ r("pre", {
|
|
1038
1036
|
className: E("highlight", o ? " nowrap" : ""),
|
|
1039
|
-
children:
|
|
1040
|
-
className:
|
|
1041
|
-
"data-lang":
|
|
1037
|
+
children: c ? /* @__PURE__ */ r("code", {
|
|
1038
|
+
className: c ? `language-${c}` : "",
|
|
1039
|
+
"data-lang": c,
|
|
1042
1040
|
dangerouslySetInnerHTML: {
|
|
1043
1041
|
__html: g
|
|
1044
1042
|
}
|
|
@@ -1051,7 +1049,7 @@ const E = Je.exports, It = ({
|
|
|
1051
1049
|
})]
|
|
1052
1050
|
});
|
|
1053
1051
|
} else
|
|
1054
|
-
return /* @__PURE__ */
|
|
1052
|
+
return /* @__PURE__ */ l("div", {
|
|
1055
1053
|
className: "listingblock",
|
|
1056
1054
|
...N(e),
|
|
1057
1055
|
children: [/* @__PURE__ */ r(le, {
|
|
@@ -1072,10 +1070,10 @@ const E = Je.exports, It = ({
|
|
|
1072
1070
|
node: e
|
|
1073
1071
|
}) => {
|
|
1074
1072
|
const n = e.getDocument().getAttributes().prewrap === void 0 || e.isOption("nowrap");
|
|
1075
|
-
return /* @__PURE__ */
|
|
1073
|
+
return /* @__PURE__ */ l("div", {
|
|
1076
1074
|
className: "literalblock",
|
|
1077
1075
|
...N(e),
|
|
1078
|
-
children: [/* @__PURE__ */ r(
|
|
1076
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1079
1077
|
node: e
|
|
1080
1078
|
}), /* @__PURE__ */ r("div", {
|
|
1081
1079
|
className: "content",
|
|
@@ -1087,20 +1085,20 @@ const E = Je.exports, It = ({
|
|
|
1087
1085
|
});
|
|
1088
1086
|
}, Mt = ({
|
|
1089
1087
|
node: e
|
|
1090
|
-
}) => /* @__PURE__ */
|
|
1088
|
+
}) => /* @__PURE__ */ l("div", {
|
|
1091
1089
|
className: E("olist", C(e), e.getStyle()),
|
|
1092
1090
|
...N(e),
|
|
1093
|
-
children: [/* @__PURE__ */ r(
|
|
1091
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1094
1092
|
node: e
|
|
1095
1093
|
}), /* @__PURE__ */ r("ol", {
|
|
1096
1094
|
className: e.getStyle(),
|
|
1097
1095
|
reversed: e.isOption("reversed"),
|
|
1098
1096
|
start: e.getAttribute("start"),
|
|
1099
|
-
children: e.getItems().map((a, n) => /* @__PURE__ */
|
|
1097
|
+
children: e.getItems().map((a, n) => /* @__PURE__ */ l("li", {
|
|
1100
1098
|
className: C(e) ? C(e) : "",
|
|
1101
1099
|
children: [/* @__PURE__ */ r("p", {
|
|
1102
1100
|
children: w(D(a))
|
|
1103
|
-
}), /* @__PURE__ */ r(
|
|
1101
|
+
}), /* @__PURE__ */ r(P, {
|
|
1104
1102
|
blocks: a.getBlocks()
|
|
1105
1103
|
})]
|
|
1106
1104
|
}, n))
|
|
@@ -1109,25 +1107,25 @@ const E = Je.exports, It = ({
|
|
|
1109
1107
|
node: e
|
|
1110
1108
|
}) => {
|
|
1111
1109
|
const a = e.getStyle();
|
|
1112
|
-
return a === "abstract" ? /* @__PURE__ */
|
|
1110
|
+
return a === "abstract" ? /* @__PURE__ */ l("div", {
|
|
1113
1111
|
className: E("quoteblock abstract", C(e)),
|
|
1114
1112
|
...N(e),
|
|
1115
|
-
children: [/* @__PURE__ */ r(
|
|
1113
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1116
1114
|
node: e
|
|
1117
1115
|
}), /* @__PURE__ */ r("blockquote", {
|
|
1118
1116
|
className: "content",
|
|
1119
|
-
children: /* @__PURE__ */ r(
|
|
1117
|
+
children: /* @__PURE__ */ r(P, {
|
|
1120
1118
|
blocks: e.getBlocks()
|
|
1121
1119
|
})
|
|
1122
1120
|
})]
|
|
1123
|
-
}) : /* @__PURE__ */
|
|
1121
|
+
}) : /* @__PURE__ */ l("div", {
|
|
1124
1122
|
className: E("openblock", a && a !== "open" ? a : "", C(e)),
|
|
1125
1123
|
...N(e),
|
|
1126
|
-
children: [/* @__PURE__ */ r(
|
|
1124
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1127
1125
|
node: e
|
|
1128
1126
|
}), /* @__PURE__ */ r("div", {
|
|
1129
1127
|
className: "content",
|
|
1130
|
-
children: /* @__PURE__ */ r(
|
|
1128
|
+
children: /* @__PURE__ */ r(P, {
|
|
1131
1129
|
blocks: e.getBlocks()
|
|
1132
1130
|
})
|
|
1133
1131
|
})]
|
|
@@ -1140,11 +1138,11 @@ const E = Je.exports, It = ({
|
|
|
1140
1138
|
node: e
|
|
1141
1139
|
}) => {
|
|
1142
1140
|
const a = H(e);
|
|
1143
|
-
return /* @__PURE__ */
|
|
1141
|
+
return /* @__PURE__ */ l("div", {
|
|
1144
1142
|
id: e.getId ? e.getId() : "",
|
|
1145
1143
|
className: E("paragraph", C(e)),
|
|
1146
1144
|
...N(e),
|
|
1147
|
-
children: [/* @__PURE__ */ r(
|
|
1145
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1148
1146
|
node: e
|
|
1149
1147
|
}), /* @__PURE__ */ r("p", {
|
|
1150
1148
|
dangerouslySetInnerHTML: {
|
|
@@ -1166,11 +1164,11 @@ const E = Je.exports, It = ({
|
|
|
1166
1164
|
return /* @__PURE__ */ r("div", {
|
|
1167
1165
|
id: "preamble",
|
|
1168
1166
|
...N(e),
|
|
1169
|
-
children: /* @__PURE__ */
|
|
1167
|
+
children: /* @__PURE__ */ l("div", {
|
|
1170
1168
|
className: "sectionbody",
|
|
1171
|
-
children: [/* @__PURE__ */ r(
|
|
1169
|
+
children: [/* @__PURE__ */ r(P, {
|
|
1172
1170
|
blocks: e.getBlocks()
|
|
1173
|
-
}), n && /* @__PURE__ */
|
|
1171
|
+
}), n && /* @__PURE__ */ l("div", {
|
|
1174
1172
|
id: "toc",
|
|
1175
1173
|
className: a.getAttribute("toc-class", "toc"),
|
|
1176
1174
|
children: [/* @__PURE__ */ r("div", {
|
|
@@ -1186,17 +1184,17 @@ const E = Je.exports, It = ({
|
|
|
1186
1184
|
node: e
|
|
1187
1185
|
}) => {
|
|
1188
1186
|
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = H(e);
|
|
1189
|
-
return /* @__PURE__ */
|
|
1187
|
+
return /* @__PURE__ */ l("div", {
|
|
1190
1188
|
id: e.getId ? e.getId() : "",
|
|
1191
1189
|
className: E("quoteblock", C(e)),
|
|
1192
1190
|
...N(e),
|
|
1193
|
-
children: [/* @__PURE__ */ r(
|
|
1191
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1194
1192
|
node: e
|
|
1195
1193
|
}), /* @__PURE__ */ r("blockquote", {
|
|
1196
1194
|
dangerouslySetInnerHTML: {
|
|
1197
1195
|
__html: o
|
|
1198
1196
|
}
|
|
1199
|
-
}), a && /* @__PURE__ */
|
|
1197
|
+
}), a && /* @__PURE__ */ l("div", {
|
|
1200
1198
|
className: "attribution",
|
|
1201
1199
|
children: ["\u2014 ", a, n && /* @__PURE__ */ r("cite", {
|
|
1202
1200
|
children: n
|
|
@@ -1209,10 +1207,10 @@ const E = Je.exports, It = ({
|
|
|
1209
1207
|
const a = e.getDocument().getAttributes(), n = e.getLevel();
|
|
1210
1208
|
let o = "", g = e.getSectionNumeral();
|
|
1211
1209
|
g = g === "." ? "" : g;
|
|
1212
|
-
const
|
|
1210
|
+
const c = a.sectnumlevels ? parseInt(a.sectnumlevels) : 3;
|
|
1213
1211
|
if (e.getCaption())
|
|
1214
1212
|
o = e.getCaptionedTitle();
|
|
1215
|
-
else if (e.isNumbered() && n <=
|
|
1213
|
+
else if (e.isNumbered() && n <= c)
|
|
1216
1214
|
if (n < 2 && e.getDocument().getDoctype() == "book") {
|
|
1217
1215
|
const f = e.getSectionName();
|
|
1218
1216
|
f === "chapter" ? o = `${a["chapter-signifier"] || ""} ${g} ${e.getTitle()}` : f === "part" ? o = `${a["part-signifier"] || ""} ${g} ${e.getTitle()}` : o = `${g} ${e.getTitle()}`;
|
|
@@ -1220,7 +1218,7 @@ const E = Je.exports, It = ({
|
|
|
1220
1218
|
o = `${g} ${e.getTitle()}`;
|
|
1221
1219
|
else
|
|
1222
1220
|
o = e.getTitle() || "";
|
|
1223
|
-
return a.sectlinks && (o = /* @__PURE__ */
|
|
1221
|
+
return a.sectlinks && (o = /* @__PURE__ */ l(L, {
|
|
1224
1222
|
children: [/* @__PURE__ */ r("a", {
|
|
1225
1223
|
className: "anchor",
|
|
1226
1224
|
id: e.getId() || "",
|
|
@@ -1232,23 +1230,23 @@ const E = Je.exports, It = ({
|
|
|
1232
1230
|
__html: o
|
|
1233
1231
|
}
|
|
1234
1232
|
})]
|
|
1235
|
-
})), n === 0 ? /* @__PURE__ */
|
|
1233
|
+
})), n === 0 ? /* @__PURE__ */ l(L, {
|
|
1236
1234
|
children: [/* @__PURE__ */ r("h1", {
|
|
1237
1235
|
className: E("sect0", C(e)),
|
|
1238
1236
|
"data-sectnum": g,
|
|
1239
1237
|
...N(e),
|
|
1240
1238
|
children: o
|
|
1241
|
-
}), /* @__PURE__ */ r(
|
|
1239
|
+
}), /* @__PURE__ */ r(P, {
|
|
1242
1240
|
blocks: e.getBlocks()
|
|
1243
1241
|
})]
|
|
1244
|
-
}) : /* @__PURE__ */
|
|
1242
|
+
}) : /* @__PURE__ */ l("div", {
|
|
1245
1243
|
className: E(`sect${n}`, C(e)),
|
|
1246
1244
|
...N(e),
|
|
1247
1245
|
children: [J(`h${n + 1}`, {
|
|
1248
1246
|
"data-sectnum": g
|
|
1249
1247
|
}, o), /* @__PURE__ */ r("div", {
|
|
1250
1248
|
className: "sectionbody",
|
|
1251
|
-
children: /* @__PURE__ */ r(
|
|
1249
|
+
children: /* @__PURE__ */ r(P, {
|
|
1252
1250
|
blocks: e.getBlocks()
|
|
1253
1251
|
})
|
|
1254
1252
|
})]
|
|
@@ -1258,11 +1256,11 @@ const E = Je.exports, It = ({
|
|
|
1258
1256
|
}) => /* @__PURE__ */ r("div", {
|
|
1259
1257
|
className: E("sidebarblock", C(e)),
|
|
1260
1258
|
...N(e),
|
|
1261
|
-
children: /* @__PURE__ */
|
|
1259
|
+
children: /* @__PURE__ */ l("div", {
|
|
1262
1260
|
className: "content",
|
|
1263
|
-
children: [/* @__PURE__ */ r(
|
|
1261
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1264
1262
|
node: e
|
|
1265
|
-
}), /* @__PURE__ */ r(
|
|
1263
|
+
}), /* @__PURE__ */ r(P, {
|
|
1266
1264
|
blocks: e.getBlocks()
|
|
1267
1265
|
})]
|
|
1268
1266
|
})
|
|
@@ -1271,17 +1269,17 @@ const E = Je.exports, It = ({
|
|
|
1271
1269
|
}) => {
|
|
1272
1270
|
let a = ["frame-" + e.getAttribute("frame", "all", "table-frame"), "grid-" + e.getAttribute("grid", "all", "table-grid")], n = e.getAttribute("stripes", null, "table-stripes");
|
|
1273
1271
|
n && a.push("stripes-" + n);
|
|
1274
|
-
let o = e.hasAutowidthOption(), g = e.getAttribute("tablepcwidth"),
|
|
1275
|
-
o && !e.hasAttribute("width") ? a.push("fit-content") : g == 100 ? a.push("stretch") :
|
|
1276
|
-
const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), _ = e.getBodyRows(),
|
|
1272
|
+
let o = e.hasAutowidthOption(), g = e.getAttribute("tablepcwidth"), c = null;
|
|
1273
|
+
o && !e.hasAttribute("width") ? a.push("fit-content") : g == 100 ? a.push("stretch") : c = `${g}%`, e.hasAttribute("float") && a.push(e.getAttribute("float")), e.getRole() && a.push(e.getRole() || "");
|
|
1274
|
+
const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), _ = e.getBodyRows(), v = e.getFootRows(), S = (y) => E(
|
|
1277
1275
|
"tableblock",
|
|
1278
1276
|
`halign-${y.getAttribute("halign")}`,
|
|
1279
1277
|
`valign-${y.getAttribute("valign")}`
|
|
1280
1278
|
);
|
|
1281
|
-
return /* @__PURE__ */
|
|
1279
|
+
return /* @__PURE__ */ l("table", {
|
|
1282
1280
|
className: E("tableblock", ...a),
|
|
1283
1281
|
style: {
|
|
1284
|
-
width:
|
|
1282
|
+
width: c || void 0
|
|
1285
1283
|
},
|
|
1286
1284
|
...N(e),
|
|
1287
1285
|
children: [e.hasTitle() && /* @__PURE__ */ r("caption", {
|
|
@@ -1308,7 +1306,7 @@ const E = Je.exports, It = ({
|
|
|
1308
1306
|
}, O)), /* @__PURE__ */ r("tbody", {
|
|
1309
1307
|
children: _.map((y, O) => /* @__PURE__ */ r("tr", {
|
|
1310
1308
|
children: y.map(($, F) => {
|
|
1311
|
-
const ue = $.getColumnSpan(), W = $.getRowSpan(),
|
|
1309
|
+
const ue = $.getColumnSpan(), W = $.getRowSpan(), R = H($), U = {
|
|
1312
1310
|
colSpan: ue,
|
|
1313
1311
|
rowSpan: W,
|
|
1314
1312
|
className: S($)
|
|
@@ -1320,7 +1318,7 @@ const E = Je.exports, It = ({
|
|
|
1320
1318
|
}, /* @__PURE__ */ r("div", {
|
|
1321
1319
|
className: "content",
|
|
1322
1320
|
dangerouslySetInnerHTML: {
|
|
1323
|
-
__html:
|
|
1321
|
+
__html: R
|
|
1324
1322
|
}
|
|
1325
1323
|
}));
|
|
1326
1324
|
if (G === "literal")
|
|
@@ -1331,7 +1329,7 @@ const E = Je.exports, It = ({
|
|
|
1331
1329
|
className: "literal",
|
|
1332
1330
|
children: /* @__PURE__ */ r("pre", {
|
|
1333
1331
|
dangerouslySetInnerHTML: {
|
|
1334
|
-
__html:
|
|
1332
|
+
__html: R
|
|
1335
1333
|
}
|
|
1336
1334
|
})
|
|
1337
1335
|
}));
|
|
@@ -1342,11 +1340,11 @@ const E = Je.exports, It = ({
|
|
|
1342
1340
|
}, /* @__PURE__ */ r("p", {
|
|
1343
1341
|
className: "tableblock",
|
|
1344
1342
|
dangerouslySetInnerHTML: {
|
|
1345
|
-
__html:
|
|
1343
|
+
__html: R
|
|
1346
1344
|
}
|
|
1347
1345
|
}));
|
|
1348
1346
|
{
|
|
1349
|
-
let te =
|
|
1347
|
+
let te = R;
|
|
1350
1348
|
return /* @__PURE__ */ J("td", {
|
|
1351
1349
|
...U,
|
|
1352
1350
|
key: F
|
|
@@ -1355,7 +1353,7 @@ const E = Je.exports, It = ({
|
|
|
1355
1353
|
}
|
|
1356
1354
|
})
|
|
1357
1355
|
}, O))
|
|
1358
|
-
}),
|
|
1356
|
+
}), v.map((y, O) => /* @__PURE__ */ r("tfoot", {
|
|
1359
1357
|
children: /* @__PURE__ */ r("tr", {
|
|
1360
1358
|
children: y.map(($, F) => /* @__PURE__ */ r("td", {
|
|
1361
1359
|
className: S($),
|
|
@@ -1373,8 +1371,8 @@ const E = Je.exports, It = ({
|
|
|
1373
1371
|
node: e
|
|
1374
1372
|
}) => {
|
|
1375
1373
|
let a = e.getId() || "toc";
|
|
1376
|
-
const n = e.getDocument(), o = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), g = ee(() => n.getAttribute("toc-placement"), [e]),
|
|
1377
|
-
return g === "macro" && n.hasSections() &&
|
|
1374
|
+
const n = e.getDocument(), o = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), g = ee(() => n.getAttribute("toc-placement"), [e]), c = ee(() => n.hasAttribute("toc"), [e]), f = e.hasAttribute("levels") ? parseInt(e.getAttribute("levels")) : void 0;
|
|
1375
|
+
return g === "macro" && n.hasSections() && c ? /* @__PURE__ */ l("div", {
|
|
1378
1376
|
id: a,
|
|
1379
1377
|
className: E("toc", C(e)),
|
|
1380
1378
|
children: [/* @__PURE__ */ r("div", {
|
|
@@ -1392,30 +1390,30 @@ const E = Je.exports, It = ({
|
|
|
1392
1390
|
node: e
|
|
1393
1391
|
}) => {
|
|
1394
1392
|
const a = e.isOption("checklist");
|
|
1395
|
-
return /* @__PURE__ */
|
|
1393
|
+
return /* @__PURE__ */ l("div", {
|
|
1396
1394
|
id: e.getId ? e.getId() : "",
|
|
1397
1395
|
className: E("ulist", e.getStyle(), C(e), a && "checklist"),
|
|
1398
1396
|
...N(e),
|
|
1399
|
-
children: [/* @__PURE__ */ r(
|
|
1397
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1400
1398
|
node: e
|
|
1401
1399
|
}), /* @__PURE__ */ r("ul", {
|
|
1402
1400
|
className: a ? "checklist" : "",
|
|
1403
1401
|
children: e.getItems().map((n, o) => a ? /* @__PURE__ */ r("li", {
|
|
1404
1402
|
id: n.getId(),
|
|
1405
1403
|
className: C(e),
|
|
1406
|
-
children: /* @__PURE__ */
|
|
1404
|
+
children: /* @__PURE__ */ l("p", {
|
|
1407
1405
|
children: [a && n.hasAttribute("checkbox") && /* @__PURE__ */ r("i", {
|
|
1408
1406
|
className: E("fa", n.hasAttribute("checked") ? "fa-check-square-o" : "fa-square-o")
|
|
1409
1407
|
}), " ", w(D(n))]
|
|
1410
1408
|
})
|
|
1411
|
-
}, o) : /* @__PURE__ */
|
|
1409
|
+
}, o) : /* @__PURE__ */ l("li", {
|
|
1412
1410
|
id: n.getId(),
|
|
1413
1411
|
className: C(e),
|
|
1414
1412
|
children: [/* @__PURE__ */ r("p", {
|
|
1415
1413
|
dangerouslySetInnerHTML: {
|
|
1416
1414
|
__html: D(n)
|
|
1417
1415
|
}
|
|
1418
|
-
}), /* @__PURE__ */ r(
|
|
1416
|
+
}), /* @__PURE__ */ r(P, {
|
|
1419
1417
|
blocks: n.getBlocks()
|
|
1420
1418
|
})]
|
|
1421
1419
|
}, o))
|
|
@@ -1425,25 +1423,25 @@ const E = Je.exports, It = ({
|
|
|
1425
1423
|
node: e
|
|
1426
1424
|
}) => {
|
|
1427
1425
|
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = H(e);
|
|
1428
|
-
return /* @__PURE__ */
|
|
1426
|
+
return /* @__PURE__ */ l("div", {
|
|
1429
1427
|
id: e.getId ? e.getId() : "",
|
|
1430
1428
|
className: E("verseblock", C(e)),
|
|
1431
1429
|
...N(e),
|
|
1432
|
-
children: [/* @__PURE__ */ r(
|
|
1430
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1433
1431
|
node: e
|
|
1434
1432
|
}), /* @__PURE__ */ r("pre", {
|
|
1435
1433
|
className: "content",
|
|
1436
1434
|
dangerouslySetInnerHTML: {
|
|
1437
1435
|
__html: o
|
|
1438
1436
|
}
|
|
1439
|
-
}), a && /* @__PURE__ */
|
|
1437
|
+
}), a && /* @__PURE__ */ l("div", {
|
|
1440
1438
|
className: "attribution",
|
|
1441
1439
|
children: ["\u2014 ", a, n && /* @__PURE__ */ r("cite", {
|
|
1442
1440
|
children: n
|
|
1443
1441
|
})]
|
|
1444
1442
|
})]
|
|
1445
1443
|
});
|
|
1446
|
-
}, ze =
|
|
1444
|
+
}, ze = kt({}), rr = ({
|
|
1447
1445
|
content: e,
|
|
1448
1446
|
options: a
|
|
1449
1447
|
}) => {
|
|
@@ -1456,20 +1454,20 @@ const E = Je.exports, It = ({
|
|
|
1456
1454
|
document: e
|
|
1457
1455
|
})
|
|
1458
1456
|
});
|
|
1459
|
-
},
|
|
1457
|
+
}, P = ({
|
|
1460
1458
|
blocks: e
|
|
1461
|
-
}) => /* @__PURE__ */ r(L, {
|
|
1459
|
+
}) => (console.log(e), /* @__PURE__ */ r(L, {
|
|
1462
1460
|
children: e.map((a, n) => /* @__PURE__ */ r(Zt, {
|
|
1463
1461
|
node: a
|
|
1464
1462
|
}, `${n}-${a.getNodeName()}`))
|
|
1465
|
-
}), Zt = ({
|
|
1463
|
+
})), Zt = ({
|
|
1466
1464
|
node: e
|
|
1467
1465
|
}) => {
|
|
1468
1466
|
const a = Et(ze), n = e.getNodeName(), o = e.getDocument(), g = e.getAttributes();
|
|
1469
1467
|
o.playbackAttributes(g);
|
|
1470
|
-
const
|
|
1471
|
-
if (
|
|
1472
|
-
return /* @__PURE__ */ r(
|
|
1468
|
+
const c = a && a.overrides && a.overrides[n];
|
|
1469
|
+
if (c)
|
|
1470
|
+
return /* @__PURE__ */ r(c, {
|
|
1473
1471
|
node: e
|
|
1474
1472
|
});
|
|
1475
1473
|
switch (n) {
|
|
@@ -1572,7 +1570,7 @@ export {
|
|
|
1572
1570
|
$t as Audio,
|
|
1573
1571
|
le as CaptionedTitle,
|
|
1574
1572
|
Ot as CoList,
|
|
1575
|
-
|
|
1573
|
+
P as Content,
|
|
1576
1574
|
It as DList,
|
|
1577
1575
|
xt as Document,
|
|
1578
1576
|
Pt as Example,
|
|
@@ -1593,7 +1591,7 @@ export {
|
|
|
1593
1591
|
zt as Table,
|
|
1594
1592
|
Gt as TableOfContents,
|
|
1595
1593
|
Kt as ThematicBreak,
|
|
1596
|
-
|
|
1594
|
+
x as Title,
|
|
1597
1595
|
Xt as UList,
|
|
1598
1596
|
Qt as Verse,
|
|
1599
1597
|
nr as asciidoctor,
|