@oxide/react-asciidoc 0.2.9--canary.cb6a104.0 → 0.2.9--canary.f075326.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 +227 -224
- package/dist/react-asciidoc.umd.cjs +11 -11
- package/package.json +1 -1
package/dist/react-asciidoc.js
CHANGED
|
@@ -17,17 +17,17 @@ function Be() {
|
|
|
17
17
|
return X;
|
|
18
18
|
Xr = 1;
|
|
19
19
|
var r = ee, a = Symbol.for("react.element"), i = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
20
|
-
function
|
|
20
|
+
function m(l, n, N) {
|
|
21
21
|
var q, v = {}, p = null, h = null;
|
|
22
22
|
N !== void 0 && (p = "" + N), n.key !== void 0 && (p = "" + n.key), n.ref !== void 0 && (h = n.ref);
|
|
23
23
|
for (q in n)
|
|
24
24
|
s.call(n, q) && !d.hasOwnProperty(q) && (v[q] = n[q]);
|
|
25
|
-
if (
|
|
26
|
-
for (q in n =
|
|
25
|
+
if (l && l.defaultProps)
|
|
26
|
+
for (q in n = l.defaultProps, n)
|
|
27
27
|
v[q] === void 0 && (v[q] = n[q]);
|
|
28
|
-
return { $$typeof: a, type:
|
|
28
|
+
return { $$typeof: a, type: l, key: p, ref: h, props: v, _owner: c.current };
|
|
29
29
|
}
|
|
30
|
-
return X.Fragment = i, X.jsx =
|
|
30
|
+
return X.Fragment = i, X.jsx = m, X.jsxs = m, X;
|
|
31
31
|
}
|
|
32
32
|
var Q = {};
|
|
33
33
|
/**
|
|
@@ -42,41 +42,41 @@ var Q = {};
|
|
|
42
42
|
var Qr;
|
|
43
43
|
function Ve() {
|
|
44
44
|
return Qr || (Qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
-
var r = ee, a = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"),
|
|
45
|
+
var r = ee, a = Symbol.for("react.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), l = Symbol.for("react.context"), n = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), q = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), x = Symbol.iterator, O = "@@iterator";
|
|
46
46
|
function _(e) {
|
|
47
47
|
if (e === null || typeof e != "object")
|
|
48
48
|
return null;
|
|
49
|
-
var
|
|
50
|
-
return typeof
|
|
49
|
+
var o = x && e[x] || e[O];
|
|
50
|
+
return typeof o == "function" ? o : null;
|
|
51
51
|
}
|
|
52
52
|
var P = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
53
|
function A(e) {
|
|
54
54
|
{
|
|
55
|
-
for (var
|
|
55
|
+
for (var o = arguments.length, u = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
|
|
56
56
|
u[f - 1] = arguments[f];
|
|
57
57
|
$("error", e, u);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function $(e,
|
|
60
|
+
function $(e, o, u) {
|
|
61
61
|
{
|
|
62
62
|
var f = P.ReactDebugCurrentFrame, w = f.getStackAddendum();
|
|
63
|
-
w !== "" && (
|
|
63
|
+
w !== "" && (o += "%s", u = u.concat([w]));
|
|
64
64
|
var E = u.map(function(y) {
|
|
65
65
|
return String(y);
|
|
66
66
|
});
|
|
67
|
-
E.unshift("Warning: " +
|
|
67
|
+
E.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, E);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
var J = !1, tr = !1, ce = !1, ne = !1, ue = !1, Dr;
|
|
71
71
|
Dr = Symbol.for("react.module.reference");
|
|
72
72
|
function pe(e) {
|
|
73
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === d || ue || e === c || e === N || e === q || ne || e === h || J || tr || ce || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === v || e.$$typeof ===
|
|
73
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === d || ue || e === c || e === N || e === q || ne || e === h || J || tr || ce || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === v || e.$$typeof === m || e.$$typeof === l || e.$$typeof === n || e.$$typeof === Dr || e.getModuleId !== void 0));
|
|
74
74
|
}
|
|
75
|
-
function de(e,
|
|
75
|
+
function de(e, o, u) {
|
|
76
76
|
var f = e.displayName;
|
|
77
77
|
if (f)
|
|
78
78
|
return f;
|
|
79
|
-
var w =
|
|
79
|
+
var w = o.displayName || o.name || "";
|
|
80
80
|
return w !== "" ? u + "(" + w + ")" : u;
|
|
81
81
|
}
|
|
82
82
|
function Sr(e) {
|
|
@@ -105,10 +105,10 @@ function Ve() {
|
|
|
105
105
|
}
|
|
106
106
|
if (typeof e == "object")
|
|
107
107
|
switch (e.$$typeof) {
|
|
108
|
-
case
|
|
109
|
-
var
|
|
110
|
-
return Sr(
|
|
111
|
-
case
|
|
108
|
+
case l:
|
|
109
|
+
var o = e;
|
|
110
|
+
return Sr(o) + ".Consumer";
|
|
111
|
+
case m:
|
|
112
112
|
var u = e;
|
|
113
113
|
return Sr(u._context) + ".Provider";
|
|
114
114
|
case n:
|
|
@@ -190,7 +190,7 @@ function Ve() {
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
var mr = P.ReactCurrentDispatcher, gr;
|
|
193
|
-
function ar(e,
|
|
193
|
+
function ar(e, o, u) {
|
|
194
194
|
{
|
|
195
195
|
if (gr === void 0)
|
|
196
196
|
try {
|
|
@@ -208,7 +208,7 @@ function Ve() {
|
|
|
208
208
|
var fe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
209
209
|
ir = new fe();
|
|
210
210
|
}
|
|
211
|
-
function Pr(e,
|
|
211
|
+
function Pr(e, o) {
|
|
212
212
|
if (!e || fr)
|
|
213
213
|
return "";
|
|
214
214
|
{
|
|
@@ -223,7 +223,7 @@ function Ve() {
|
|
|
223
223
|
var E;
|
|
224
224
|
E = mr.current, mr.current = null, me();
|
|
225
225
|
try {
|
|
226
|
-
if (
|
|
226
|
+
if (o) {
|
|
227
227
|
var y = function() {
|
|
228
228
|
throw Error();
|
|
229
229
|
};
|
|
@@ -279,14 +279,14 @@ function Ve() {
|
|
|
279
279
|
var G = e ? e.displayName || e.name : "", Zr = G ? ar(G) : "";
|
|
280
280
|
return typeof e == "function" && ir.set(e, Zr), Zr;
|
|
281
281
|
}
|
|
282
|
-
function he(e,
|
|
282
|
+
function he(e, o, u) {
|
|
283
283
|
return Pr(e, !1);
|
|
284
284
|
}
|
|
285
285
|
function be(e) {
|
|
286
|
-
var
|
|
287
|
-
return !!(
|
|
286
|
+
var o = e.prototype;
|
|
287
|
+
return !!(o && o.isReactComponent);
|
|
288
288
|
}
|
|
289
|
-
function sr(e,
|
|
289
|
+
function sr(e, o, u) {
|
|
290
290
|
if (e == null)
|
|
291
291
|
return "";
|
|
292
292
|
if (typeof e == "function")
|
|
@@ -304,11 +304,11 @@ function Ve() {
|
|
|
304
304
|
case n:
|
|
305
305
|
return he(e.render);
|
|
306
306
|
case v:
|
|
307
|
-
return sr(e.type,
|
|
307
|
+
return sr(e.type, o, u);
|
|
308
308
|
case p: {
|
|
309
309
|
var f = e, w = f._payload, E = f._init;
|
|
310
310
|
try {
|
|
311
|
-
return sr(E(w),
|
|
311
|
+
return sr(E(w), o, u);
|
|
312
312
|
} catch {
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -318,12 +318,12 @@ function Ve() {
|
|
|
318
318
|
var lr = Object.prototype.hasOwnProperty, Ir = {}, Br = P.ReactDebugCurrentFrame;
|
|
319
319
|
function or(e) {
|
|
320
320
|
if (e) {
|
|
321
|
-
var
|
|
321
|
+
var o = e._owner, u = sr(e.type, e._source, o ? o.type : null);
|
|
322
322
|
Br.setExtraStackFrame(u);
|
|
323
323
|
} else
|
|
324
324
|
Br.setExtraStackFrame(null);
|
|
325
325
|
}
|
|
326
|
-
function ve(e,
|
|
326
|
+
function ve(e, o, u, f, w) {
|
|
327
327
|
{
|
|
328
328
|
var E = Function.call.bind(lr);
|
|
329
329
|
for (var y in e)
|
|
@@ -334,7 +334,7 @@ function Ve() {
|
|
|
334
334
|
var L = Error((f || "React class") + ": " + u + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
335
335
|
throw L.name = "Invariant Violation", L;
|
|
336
336
|
}
|
|
337
|
-
b = e[y](
|
|
337
|
+
b = e[y](o, y, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
338
338
|
} catch (k) {
|
|
339
339
|
b = k;
|
|
340
340
|
}
|
|
@@ -348,7 +348,7 @@ function Ve() {
|
|
|
348
348
|
}
|
|
349
349
|
function we(e) {
|
|
350
350
|
{
|
|
351
|
-
var
|
|
351
|
+
var o = typeof Symbol == "function" && Symbol.toStringTag, u = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
352
352
|
return u;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
@@ -375,30 +375,30 @@ function Ve() {
|
|
|
375
375
|
br = {};
|
|
376
376
|
function Ee(e) {
|
|
377
377
|
if (lr.call(e, "ref")) {
|
|
378
|
-
var
|
|
379
|
-
if (
|
|
378
|
+
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
379
|
+
if (o && o.isReactWarning)
|
|
380
380
|
return !1;
|
|
381
381
|
}
|
|
382
382
|
return e.ref !== void 0;
|
|
383
383
|
}
|
|
384
384
|
function Ne(e) {
|
|
385
385
|
if (lr.call(e, "key")) {
|
|
386
|
-
var
|
|
387
|
-
if (
|
|
386
|
+
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
387
|
+
if (o && o.isReactWarning)
|
|
388
388
|
return !1;
|
|
389
389
|
}
|
|
390
390
|
return e.key !== void 0;
|
|
391
391
|
}
|
|
392
|
-
function Ae(e,
|
|
393
|
-
if (typeof e.ref == "string" && K.current &&
|
|
392
|
+
function Ae(e, o) {
|
|
393
|
+
if (typeof e.ref == "string" && K.current && o && K.current.stateNode !== o) {
|
|
394
394
|
var u = I(K.current.type);
|
|
395
395
|
br[u] || (A('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', I(K.current.type), e.ref), br[u] = !0);
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
function ke(e,
|
|
398
|
+
function ke(e, o) {
|
|
399
399
|
{
|
|
400
400
|
var u = function() {
|
|
401
|
-
Hr || (Hr = !0, A("%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)",
|
|
401
|
+
Hr || (Hr = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
402
402
|
};
|
|
403
403
|
u.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
404
404
|
get: u,
|
|
@@ -406,10 +406,10 @@ function Ve() {
|
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function De(e,
|
|
409
|
+
function De(e, o) {
|
|
410
410
|
{
|
|
411
411
|
var u = function() {
|
|
412
|
-
$r || ($r = !0, A("%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)",
|
|
412
|
+
$r || ($r = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
|
|
413
413
|
};
|
|
414
414
|
u.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
415
415
|
get: u,
|
|
@@ -417,11 +417,11 @@ function Ve() {
|
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
var Se = function(e,
|
|
420
|
+
var Se = function(e, o, u, f, w, E, y) {
|
|
421
421
|
var b = {
|
|
422
422
|
$$typeof: a,
|
|
423
423
|
type: e,
|
|
424
|
-
key:
|
|
424
|
+
key: o,
|
|
425
425
|
ref: u,
|
|
426
426
|
props: y,
|
|
427
427
|
_owner: E
|
|
@@ -443,12 +443,12 @@ function Ve() {
|
|
|
443
443
|
value: w
|
|
444
444
|
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
445
445
|
};
|
|
446
|
-
function Re(e,
|
|
446
|
+
function Re(e, o, u, f, w) {
|
|
447
447
|
{
|
|
448
448
|
var E, y = {}, b = null, L = null;
|
|
449
|
-
u !== void 0 && (jr(u), b = "" + u), Ne(
|
|
450
|
-
for (E in
|
|
451
|
-
lr.call(
|
|
449
|
+
u !== void 0 && (jr(u), b = "" + u), Ne(o) && (jr(o.key), b = "" + o.key), Ee(o) && (L = o.ref, Ae(o, w));
|
|
450
|
+
for (E in o)
|
|
451
|
+
lr.call(o, E) && !xe.hasOwnProperty(E) && (y[E] = o[E]);
|
|
452
452
|
if (e && e.defaultProps) {
|
|
453
453
|
var k = e.defaultProps;
|
|
454
454
|
for (E in k)
|
|
@@ -464,7 +464,7 @@ function Ve() {
|
|
|
464
464
|
var vr = P.ReactCurrentOwner, zr = P.ReactDebugCurrentFrame;
|
|
465
465
|
function z(e) {
|
|
466
466
|
if (e) {
|
|
467
|
-
var
|
|
467
|
+
var o = e._owner, u = sr(e.type, e._source, o ? o.type : null);
|
|
468
468
|
zr.setExtraStackFrame(u);
|
|
469
469
|
} else
|
|
470
470
|
zr.setExtraStackFrame(null);
|
|
@@ -489,10 +489,10 @@ Check the render method of \`` + e + "`.";
|
|
|
489
489
|
function Te(e) {
|
|
490
490
|
{
|
|
491
491
|
if (e !== void 0) {
|
|
492
|
-
var
|
|
492
|
+
var o = e.fileName.replace(/^.*[\\\/]/, ""), u = e.lineNumber;
|
|
493
493
|
return `
|
|
494
494
|
|
|
495
|
-
Check your code at ` +
|
|
495
|
+
Check your code at ` + o + ":" + u + ".";
|
|
496
496
|
}
|
|
497
497
|
return "";
|
|
498
498
|
}
|
|
@@ -500,22 +500,22 @@ Check your code at ` + l + ":" + u + ".";
|
|
|
500
500
|
var Mr = {};
|
|
501
501
|
function Ce(e) {
|
|
502
502
|
{
|
|
503
|
-
var
|
|
504
|
-
if (!
|
|
503
|
+
var o = Gr();
|
|
504
|
+
if (!o) {
|
|
505
505
|
var u = typeof e == "string" ? e : e.displayName || e.name;
|
|
506
|
-
u && (
|
|
506
|
+
u && (o = `
|
|
507
507
|
|
|
508
508
|
Check the top-level render call using <` + u + ">.");
|
|
509
509
|
}
|
|
510
|
-
return
|
|
510
|
+
return o;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
function Yr(e,
|
|
513
|
+
function Yr(e, o) {
|
|
514
514
|
{
|
|
515
515
|
if (!e._store || e._store.validated || e.key != null)
|
|
516
516
|
return;
|
|
517
517
|
e._store.validated = !0;
|
|
518
|
-
var u = Ce(
|
|
518
|
+
var u = Ce(o);
|
|
519
519
|
if (Mr[u])
|
|
520
520
|
return;
|
|
521
521
|
Mr[u] = !0;
|
|
@@ -523,14 +523,14 @@ Check the top-level render call using <` + u + ">.");
|
|
|
523
523
|
e && e._owner && e._owner !== vr.current && (f = " It was passed a child from " + I(e._owner.type) + "."), z(e), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), z(null);
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
|
-
function Wr(e,
|
|
526
|
+
function Wr(e, o) {
|
|
527
527
|
{
|
|
528
528
|
if (typeof e != "object")
|
|
529
529
|
return;
|
|
530
530
|
if (hr(e))
|
|
531
531
|
for (var u = 0; u < e.length; u++) {
|
|
532
532
|
var f = e[u];
|
|
533
|
-
wr(f) && Yr(f,
|
|
533
|
+
wr(f) && Yr(f, o);
|
|
534
534
|
}
|
|
535
535
|
else if (wr(e))
|
|
536
536
|
e._store && (e._store.validated = !0);
|
|
@@ -538,37 +538,37 @@ Check the top-level render call using <` + u + ">.");
|
|
|
538
538
|
var w = _(e);
|
|
539
539
|
if (typeof w == "function" && w !== e.entries)
|
|
540
540
|
for (var E = w.call(e), y; !(y = E.next()).done; )
|
|
541
|
-
wr(y.value) && Yr(y.value,
|
|
541
|
+
wr(y.value) && Yr(y.value, o);
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
function Le(e) {
|
|
546
546
|
{
|
|
547
|
-
var
|
|
548
|
-
if (
|
|
547
|
+
var o = e.type;
|
|
548
|
+
if (o == null || typeof o == "string")
|
|
549
549
|
return;
|
|
550
550
|
var u;
|
|
551
|
-
if (typeof
|
|
552
|
-
u =
|
|
553
|
-
else if (typeof
|
|
554
|
-
u =
|
|
551
|
+
if (typeof o == "function")
|
|
552
|
+
u = o.propTypes;
|
|
553
|
+
else if (typeof o == "object" && (o.$$typeof === n || o.$$typeof === v))
|
|
554
|
+
u = o.propTypes;
|
|
555
555
|
else
|
|
556
556
|
return;
|
|
557
557
|
if (u) {
|
|
558
|
-
var f = I(
|
|
558
|
+
var f = I(o);
|
|
559
559
|
ve(u, e.props, "prop", f, e);
|
|
560
|
-
} else if (
|
|
560
|
+
} else if (o.PropTypes !== void 0 && !yr) {
|
|
561
561
|
yr = !0;
|
|
562
|
-
var w = I(
|
|
562
|
+
var w = I(o);
|
|
563
563
|
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
|
|
564
564
|
}
|
|
565
|
-
typeof
|
|
565
|
+
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
function Oe(e) {
|
|
569
569
|
{
|
|
570
|
-
for (var
|
|
571
|
-
var f =
|
|
570
|
+
for (var o = Object.keys(e.props), u = 0; u < o.length; u++) {
|
|
571
|
+
var f = o[u];
|
|
572
572
|
if (f !== "children" && f !== "key") {
|
|
573
573
|
z(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), z(null);
|
|
574
574
|
break;
|
|
@@ -577,7 +577,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
577
577
|
e.ref !== null && (z(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), z(null));
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
function Jr(e,
|
|
580
|
+
function Jr(e, o, u, f, w, E) {
|
|
581
581
|
{
|
|
582
582
|
var y = pe(e);
|
|
583
583
|
if (!y) {
|
|
@@ -588,11 +588,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
588
588
|
var k;
|
|
589
589
|
e === null ? k = "null" : hr(e) ? k = "array" : e !== void 0 && e.$$typeof === a ? (k = "<" + (I(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : k = typeof e, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, b);
|
|
590
590
|
}
|
|
591
|
-
var S = Re(e,
|
|
591
|
+
var S = Re(e, o, u, w, E);
|
|
592
592
|
if (S == null)
|
|
593
593
|
return S;
|
|
594
594
|
if (y) {
|
|
595
|
-
var F =
|
|
595
|
+
var F = o.children;
|
|
596
596
|
if (F !== void 0)
|
|
597
597
|
if (f)
|
|
598
598
|
if (hr(F)) {
|
|
@@ -607,11 +607,11 @@ Check the top-level render call using <` + u + ">.");
|
|
|
607
607
|
return e === s ? Oe(S) : Le(S), S;
|
|
608
608
|
}
|
|
609
609
|
}
|
|
610
|
-
function _e(e,
|
|
611
|
-
return Jr(e,
|
|
610
|
+
function _e(e, o, u) {
|
|
611
|
+
return Jr(e, o, u, !0);
|
|
612
612
|
}
|
|
613
|
-
function Fe(e,
|
|
614
|
-
return Jr(e,
|
|
613
|
+
function Fe(e, o, u) {
|
|
614
|
+
return Jr(e, o, u, !1);
|
|
615
615
|
}
|
|
616
616
|
var Ue = Fe, Pe = _e;
|
|
617
617
|
Q.Fragment = s, Q.jsx = Ue, Q.jsxs = Pe;
|
|
@@ -620,7 +620,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
620
620
|
(function(r) {
|
|
621
621
|
process.env.NODE_ENV === "production" ? r.exports = Be() : r.exports = Ve();
|
|
622
622
|
})(nr);
|
|
623
|
-
const U = nr.exports.Fragment, t = nr.exports.jsx,
|
|
623
|
+
const U = nr.exports.Fragment, t = nr.exports.jsx, g = nr.exports.jsxs, T = ({
|
|
624
624
|
text: r
|
|
625
625
|
}) => r ? /* @__PURE__ */ t("div", {
|
|
626
626
|
className: "title",
|
|
@@ -644,14 +644,14 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, m = nr.exports.jsxs, T = ({
|
|
|
644
644
|
} : {},
|
|
645
645
|
children: /* @__PURE__ */ t("table", {
|
|
646
646
|
children: /* @__PURE__ */ t("tbody", {
|
|
647
|
-
children: /* @__PURE__ */
|
|
647
|
+
children: /* @__PURE__ */ g("tr", {
|
|
648
648
|
children: [/* @__PURE__ */ t("td", {
|
|
649
649
|
className: "icon",
|
|
650
650
|
children: i.icons ? c() : /* @__PURE__ */ t("div", {
|
|
651
651
|
className: "title",
|
|
652
652
|
children: s.textlabel
|
|
653
653
|
})
|
|
654
|
-
}), /* @__PURE__ */
|
|
654
|
+
}), /* @__PURE__ */ g("td", {
|
|
655
655
|
className: "content",
|
|
656
656
|
children: [/* @__PURE__ */ t(T, {
|
|
657
657
|
text: r.title
|
|
@@ -667,7 +667,7 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, m = nr.exports.jsxs, T = ({
|
|
|
667
667
|
node: r
|
|
668
668
|
}) => {
|
|
669
669
|
const a = r.attributes.start, i = r.attributes.end, s = (a || i) && `#t=${a || ""}` + i ? `,${i}` : "";
|
|
670
|
-
return /* @__PURE__ */
|
|
670
|
+
return /* @__PURE__ */ g("div", {
|
|
671
671
|
className: "audioblock",
|
|
672
672
|
...r.lineNumber ? {
|
|
673
673
|
"data-lineno": r.lineNumber
|
|
@@ -687,7 +687,7 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, m = nr.exports.jsxs, T = ({
|
|
|
687
687
|
});
|
|
688
688
|
}, $e = ({
|
|
689
689
|
node: r
|
|
690
|
-
}) => /* @__PURE__ */
|
|
690
|
+
}) => /* @__PURE__ */ g("div", {
|
|
691
691
|
className: "colist",
|
|
692
692
|
...r.lineNumber ? {
|
|
693
693
|
"data-lineno": r.lineNumber
|
|
@@ -696,15 +696,15 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, m = nr.exports.jsxs, T = ({
|
|
|
696
696
|
text: r.title
|
|
697
697
|
}), /* @__PURE__ */ t("table", {
|
|
698
698
|
children: /* @__PURE__ */ t("tbody", {
|
|
699
|
-
children: r.items.map((a, i) => /* @__PURE__ */
|
|
700
|
-
children: [/* @__PURE__ */
|
|
699
|
+
children: r.items.map((a, i) => /* @__PURE__ */ g("tr", {
|
|
700
|
+
children: [/* @__PURE__ */ g("td", {
|
|
701
701
|
children: [/* @__PURE__ */ t("i", {
|
|
702
702
|
className: "conum",
|
|
703
703
|
"data-value": i + 1
|
|
704
704
|
}), /* @__PURE__ */ t("b", {
|
|
705
705
|
children: i + 1
|
|
706
706
|
})]
|
|
707
|
-
}), /* @__PURE__ */
|
|
707
|
+
}), /* @__PURE__ */ g("td", {
|
|
708
708
|
children: [a.text && R(a.text), /* @__PURE__ */ t(C, {
|
|
709
709
|
blocks: a.blocks
|
|
710
710
|
})]
|
|
@@ -726,15 +726,15 @@ var ae = { exports: {} };
|
|
|
726
726
|
for (var s = [], c = 0; c < arguments.length; c++) {
|
|
727
727
|
var d = arguments[c];
|
|
728
728
|
if (!!d) {
|
|
729
|
-
var
|
|
730
|
-
if (
|
|
729
|
+
var m = typeof d;
|
|
730
|
+
if (m === "string" || m === "number")
|
|
731
731
|
s.push(d);
|
|
732
732
|
else if (Array.isArray(d)) {
|
|
733
733
|
if (d.length) {
|
|
734
|
-
var
|
|
735
|
-
|
|
734
|
+
var l = i.apply(null, d);
|
|
735
|
+
l && s.push(l);
|
|
736
736
|
}
|
|
737
|
-
} else if (
|
|
737
|
+
} else if (m === "object") {
|
|
738
738
|
if (d.toString !== Object.prototype.toString && !d.toString.toString().includes("[native code]")) {
|
|
739
739
|
s.push(d.toString());
|
|
740
740
|
continue;
|
|
@@ -790,8 +790,8 @@ function se(r, a, i) {
|
|
|
790
790
|
var d = 0;
|
|
791
791
|
do {
|
|
792
792
|
d !== s.index && (c += r.substring(d, s.index));
|
|
793
|
-
var
|
|
794
|
-
c += i(
|
|
793
|
+
var m = s[0];
|
|
794
|
+
c += i(m), d = s.index + m.length;
|
|
795
795
|
} while (s = a.exec(r));
|
|
796
796
|
d !== r.length && (c += r.substring(d));
|
|
797
797
|
} else
|
|
@@ -800,10 +800,10 @@ function se(r, a, i) {
|
|
|
800
800
|
}
|
|
801
801
|
var Ge = { specialChars: /[<>'"&]/g, nonAscii: /[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, nonAsciiPrintable: /[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, nonAsciiPrintableOnly: /[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g, extensive: /[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g }, Me = { mode: "specialChars", level: "all", numeric: "decimal" };
|
|
802
802
|
function Ye(r, a) {
|
|
803
|
-
var i = a === void 0 ? Me : a, s = i.mode, c = s === void 0 ? "specialChars" : s, d = i.numeric,
|
|
803
|
+
var i = a === void 0 ? Me : a, s = i.mode, c = s === void 0 ? "specialChars" : s, d = i.numeric, m = d === void 0 ? "decimal" : d, l = i.level, n = l === void 0 ? "all" : l;
|
|
804
804
|
if (!r)
|
|
805
805
|
return "";
|
|
806
|
-
var N = Ge[c], q = Ar[n].characters, v =
|
|
806
|
+
var N = Ge[c], q = Ar[n].characters, v = m === "hexadecimal";
|
|
807
807
|
return se(r, N, function(p) {
|
|
808
808
|
var h = q[p];
|
|
809
809
|
if (!h) {
|
|
@@ -822,11 +822,11 @@ function oe(r, a, i, s) {
|
|
|
822
822
|
else if (s && d !== ";")
|
|
823
823
|
c = r;
|
|
824
824
|
else {
|
|
825
|
-
var
|
|
826
|
-
if (
|
|
827
|
-
c =
|
|
825
|
+
var m = a[r];
|
|
826
|
+
if (m)
|
|
827
|
+
c = m;
|
|
828
828
|
else if (r[0] === "&" && r[1] === "#") {
|
|
829
|
-
var
|
|
829
|
+
var l = r[2], n = l == "x" || l == "X" ? parseInt(r.substr(3), 16) : parseInt(r.substr(2));
|
|
830
830
|
c = n >= 1114111 ? Ze : n > 65535 ? ie.fromCodePoint(n) : le(ze.numericUnicodeMap[n] || n);
|
|
831
831
|
}
|
|
832
832
|
}
|
|
@@ -838,11 +838,11 @@ function Xe(r, a) {
|
|
|
838
838
|
}
|
|
839
839
|
ur.decodeEntity = Xe;
|
|
840
840
|
function Qe(r, a) {
|
|
841
|
-
var i = a === void 0 ? We : a, s = i.level, c = s === void 0 ? "all" : s, d = i.scope,
|
|
841
|
+
var i = a === void 0 ? We : a, s = i.level, c = s === void 0 ? "all" : s, d = i.scope, m = d === void 0 ? c === "xml" ? "strict" : "body" : d;
|
|
842
842
|
if (!r)
|
|
843
843
|
return "";
|
|
844
|
-
var
|
|
845
|
-
return se(r,
|
|
844
|
+
var l = Je[c][m], n = Ar[c].entities, N = m === "attribute", q = m === "strict";
|
|
845
|
+
return se(r, l, function(v) {
|
|
846
846
|
return oe(v, n, N, q);
|
|
847
847
|
});
|
|
848
848
|
}
|
|
@@ -853,46 +853,46 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
853
853
|
const d = s || a;
|
|
854
854
|
return d && c && c[d] !== void 0 ? c[d] : i;
|
|
855
855
|
}, V = (r, a) => r[a] !== void 0, kt = (r) => {
|
|
856
|
-
var
|
|
856
|
+
var m;
|
|
857
857
|
let a;
|
|
858
|
-
function i(
|
|
859
|
-
const n =
|
|
858
|
+
function i(l) {
|
|
859
|
+
const n = l.getNodeName && l.getNodeName(), N = l.getContentModel && l.getContentModel(), q = n && l.hasBlocks() ? l.getBlocks().map((p) => i(p)) : [];
|
|
860
860
|
let v = {
|
|
861
|
-
id:
|
|
861
|
+
id: l.getId && l.getId(),
|
|
862
862
|
type: n,
|
|
863
863
|
blocks: q,
|
|
864
|
-
content: q.length > 0 ? void 0 :
|
|
865
|
-
attributes:
|
|
864
|
+
content: q.length > 0 ? void 0 : l.getContent && l.getContent(),
|
|
865
|
+
attributes: l.getAttributes && l.getAttributes(),
|
|
866
866
|
contentModel: N,
|
|
867
|
-
lineNumber:
|
|
868
|
-
style:
|
|
869
|
-
role:
|
|
870
|
-
title:
|
|
871
|
-
level:
|
|
867
|
+
lineNumber: l.getLineNumber && l.getLineNumber(),
|
|
868
|
+
style: l.getStyle && l.getStyle(),
|
|
869
|
+
role: l.getRole && l.getRole(),
|
|
870
|
+
title: l.hasTitle && l.hasTitle() ? l.getTitle() : void 0,
|
|
871
|
+
level: l.getLevel && l.getLevel()
|
|
872
872
|
};
|
|
873
873
|
if (n === "admonition") {
|
|
874
874
|
let p = v;
|
|
875
|
-
p.iconUri =
|
|
875
|
+
p.iconUri = l.getIconUri(v.attributes.name);
|
|
876
876
|
}
|
|
877
877
|
if (n === "audio") {
|
|
878
878
|
let p = v;
|
|
879
|
-
p.mediaUri =
|
|
879
|
+
p.mediaUri = l.getMediaUri(l.getAttribute("target")), p.autoplay = l.isOption("autoplay"), p.noControls = !l.isOption("nocontrols"), p.loop = l.isOption("loop"), v = p;
|
|
880
880
|
}
|
|
881
881
|
if (n === "image") {
|
|
882
882
|
let p = v;
|
|
883
|
-
p.imageUri =
|
|
883
|
+
p.imageUri = l.getImageUri(l.getAttribute("target"));
|
|
884
884
|
}
|
|
885
|
-
if ((n === "listing" || n === "literal") && "getSource" in
|
|
885
|
+
if ((n === "listing" || n === "literal") && "getSource" in l) {
|
|
886
886
|
const p = v;
|
|
887
|
-
p.source =
|
|
887
|
+
p.source = l.getSource(), p.language = l.getAttribute("language"), p.content = p.content ? rt(p.content) : void 0;
|
|
888
888
|
}
|
|
889
889
|
if (n === "section") {
|
|
890
890
|
const p = v;
|
|
891
|
-
p.title =
|
|
891
|
+
p.title = l.getCaption() ? l.getCaptionedTitle() : l.getTitle() || "", "getSectionNumeral" in l && (p.name = l.getSectionName(), p.numbered = l.isNumbered(), p.num = l.getSectionNumeral());
|
|
892
892
|
}
|
|
893
893
|
if (n === "dlist") {
|
|
894
894
|
let p = v;
|
|
895
|
-
p.items =
|
|
895
|
+
p.items = l.getItems().map((h) => [
|
|
896
896
|
h[0].map(
|
|
897
897
|
(x) => i(x)
|
|
898
898
|
),
|
|
@@ -901,16 +901,16 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
901
901
|
}
|
|
902
902
|
if (n === "colist" || n === "olist" || n === "ulist") {
|
|
903
903
|
let p = v;
|
|
904
|
-
p.items =
|
|
904
|
+
p.items = l.getItems().map((h) => i(h));
|
|
905
905
|
}
|
|
906
906
|
if (n === "list_item") {
|
|
907
907
|
let p = v;
|
|
908
|
-
const h =
|
|
908
|
+
const h = l;
|
|
909
909
|
p.text = h.hasText() ? h.getText() : void 0;
|
|
910
910
|
}
|
|
911
911
|
if (n === "table") {
|
|
912
912
|
let p = v;
|
|
913
|
-
const h =
|
|
913
|
+
const h = l;
|
|
914
914
|
p.columns = h.getColumns().map((_) => ({
|
|
915
915
|
attributes: _.getAttributes(),
|
|
916
916
|
columnNumber: _.getColumnNumber(),
|
|
@@ -938,7 +938,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
938
938
|
}, v = p;
|
|
939
939
|
}
|
|
940
940
|
if (n === "table_cell") {
|
|
941
|
-
const p =
|
|
941
|
+
const p = l, h = p.getColumn();
|
|
942
942
|
v = {
|
|
943
943
|
...v,
|
|
944
944
|
type: "table_cell",
|
|
@@ -961,8 +961,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
961
961
|
}
|
|
962
962
|
return v;
|
|
963
963
|
}
|
|
964
|
-
function s(
|
|
965
|
-
return
|
|
964
|
+
function s(l) {
|
|
965
|
+
return l.getSections().map((n) => ({
|
|
966
966
|
id: n.getId(),
|
|
967
967
|
title: (n.getCaption() ? n.getCaptionedTitle() : n.getTitle()) || "",
|
|
968
968
|
level: n.getLevel(),
|
|
@@ -972,40 +972,40 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
972
972
|
}
|
|
973
973
|
a = {
|
|
974
974
|
type: "document",
|
|
975
|
-
title: ((
|
|
975
|
+
title: ((m = r.getDocumentTitle()) == null ? void 0 : m.toString()) || "",
|
|
976
976
|
hasHeader: r.hasHeader(),
|
|
977
977
|
noHeader: r.getNoheader(),
|
|
978
978
|
contentModel: r.getContentModel(),
|
|
979
979
|
footnotes: [],
|
|
980
980
|
attributes: r.getAttributes(),
|
|
981
|
-
blocks: r.getBlocks().map((
|
|
981
|
+
blocks: r.getBlocks().map((l) => i(l)),
|
|
982
982
|
sections: s(r),
|
|
983
983
|
authors: []
|
|
984
984
|
};
|
|
985
985
|
const c = r.getFootnotes();
|
|
986
|
-
return c && (a.footnotes = c.map((
|
|
987
|
-
text:
|
|
988
|
-
index:
|
|
989
|
-
}))), r.getAuthors() && (a.authors = r.getAuthors().map((
|
|
990
|
-
const n =
|
|
986
|
+
return c && (a.footnotes = c.map((l) => ({
|
|
987
|
+
text: l.getText(),
|
|
988
|
+
index: l.getIndex()
|
|
989
|
+
}))), r.getAuthors() && (a.authors = r.getAuthors().map((l) => {
|
|
990
|
+
const n = l.getName(), N = l.getEmail();
|
|
991
991
|
return {
|
|
992
992
|
name: n ? r.applySubstitutions(n).toString() : void 0,
|
|
993
993
|
email: N ? r.applySubstitutions(N).toString() : void 0
|
|
994
994
|
};
|
|
995
995
|
})), a;
|
|
996
996
|
}, Dt = async (r, a) => {
|
|
997
|
-
async
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
997
|
+
const i = async (c) => Promise.all(
|
|
998
|
+
c.map(async (d) => {
|
|
999
|
+
let m = await a(d);
|
|
1000
|
+
if (m.blocks && m.blocks.length > 0 && (m.blocks = await i(m.blocks)), m.items) {
|
|
1001
|
+
const l = m;
|
|
1002
|
+
l.items = await i(
|
|
1003
|
+
l.items
|
|
1004
|
+
);
|
|
1005
|
+
}
|
|
1006
|
+
return m;
|
|
1007
|
+
})
|
|
1008
|
+
), s = await i(r.blocks);
|
|
1009
1009
|
return {
|
|
1010
1010
|
...r,
|
|
1011
1011
|
blocks: s
|
|
@@ -1013,11 +1013,14 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1013
1013
|
}, St = (r, a) => {
|
|
1014
1014
|
function i(c) {
|
|
1015
1015
|
return c.map((d) => {
|
|
1016
|
-
let
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1016
|
+
let m = a(d);
|
|
1017
|
+
if (m.blocks && m.blocks.length > 0 && (m.blocks = i(m.blocks)), m.items) {
|
|
1018
|
+
const l = m;
|
|
1019
|
+
l.items = i(
|
|
1020
|
+
l.items
|
|
1021
|
+
);
|
|
1022
|
+
}
|
|
1023
|
+
return m;
|
|
1021
1024
|
});
|
|
1022
1025
|
}
|
|
1023
1026
|
const s = i(r.blocks);
|
|
@@ -1030,14 +1033,14 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1030
1033
|
}) => {
|
|
1031
1034
|
const a = (s) => {
|
|
1032
1035
|
const c = s, d = c[0];
|
|
1033
|
-
let
|
|
1034
|
-
return
|
|
1036
|
+
let m = c[1];
|
|
1037
|
+
return m.type || (m = null), {
|
|
1035
1038
|
terms: d,
|
|
1036
|
-
dd:
|
|
1039
|
+
dd: m
|
|
1037
1040
|
};
|
|
1038
1041
|
}, i = (s) => {
|
|
1039
1042
|
if (s)
|
|
1040
|
-
return /* @__PURE__ */
|
|
1043
|
+
return /* @__PURE__ */ g("dd", {
|
|
1041
1044
|
children: [s.text && /* @__PURE__ */ t("p", {
|
|
1042
1045
|
children: R(s.text)
|
|
1043
1046
|
}), /* @__PURE__ */ t(C, {
|
|
@@ -1046,7 +1049,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1046
1049
|
});
|
|
1047
1050
|
};
|
|
1048
1051
|
if (r.style === "qanda")
|
|
1049
|
-
return /* @__PURE__ */
|
|
1052
|
+
return /* @__PURE__ */ g("div", {
|
|
1050
1053
|
className: D("qlist qanda", r.role),
|
|
1051
1054
|
...r.lineNumber ? {
|
|
1052
1055
|
"data-lineno": r.lineNumber
|
|
@@ -1057,27 +1060,27 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1057
1060
|
children: r.items.map((s, c) => {
|
|
1058
1061
|
const {
|
|
1059
1062
|
terms: d,
|
|
1060
|
-
dd:
|
|
1063
|
+
dd: m
|
|
1061
1064
|
} = a(s);
|
|
1062
1065
|
if (!!d)
|
|
1063
|
-
return /* @__PURE__ */
|
|
1064
|
-
children: [d.map((
|
|
1066
|
+
return /* @__PURE__ */ g("li", {
|
|
1067
|
+
children: [d.map((l, n) => /* @__PURE__ */ t("p", {
|
|
1065
1068
|
children: /* @__PURE__ */ t("em", {
|
|
1066
|
-
children: R(
|
|
1069
|
+
children: R(l.text)
|
|
1067
1070
|
})
|
|
1068
|
-
}, n)), i(
|
|
1071
|
+
}, n)), i(m)]
|
|
1069
1072
|
}, c);
|
|
1070
1073
|
})
|
|
1071
1074
|
})]
|
|
1072
1075
|
});
|
|
1073
1076
|
if (r.style === "horizontal") {
|
|
1074
1077
|
const s = r.attributes.labelwidth, c = r.attributes.itemwidth;
|
|
1075
|
-
return /* @__PURE__ */
|
|
1078
|
+
return /* @__PURE__ */ g("div", {
|
|
1076
1079
|
className: D("hdlist", r.role),
|
|
1077
1080
|
children: [/* @__PURE__ */ t(T, {
|
|
1078
1081
|
text: r.title
|
|
1079
|
-
}), /* @__PURE__ */
|
|
1080
|
-
children: [(s || c) && /* @__PURE__ */
|
|
1082
|
+
}), /* @__PURE__ */ g("table", {
|
|
1083
|
+
children: [(s || c) && /* @__PURE__ */ g("colgroup", {
|
|
1081
1084
|
children: [/* @__PURE__ */ t("col", {
|
|
1082
1085
|
style: {
|
|
1083
1086
|
width: s ? `${s.toString().replace("%", "")}%` : ""
|
|
@@ -1088,19 +1091,19 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1088
1091
|
}
|
|
1089
1092
|
})]
|
|
1090
1093
|
}), /* @__PURE__ */ t("tbody", {
|
|
1091
|
-
children: r.items.map((d,
|
|
1094
|
+
children: r.items.map((d, m) => {
|
|
1092
1095
|
const {
|
|
1093
|
-
terms:
|
|
1096
|
+
terms: l,
|
|
1094
1097
|
dd: n
|
|
1095
1098
|
} = a(d);
|
|
1096
|
-
if (!!
|
|
1097
|
-
return /* @__PURE__ */
|
|
1099
|
+
if (!!l)
|
|
1100
|
+
return /* @__PURE__ */ g("tr", {
|
|
1098
1101
|
children: [/* @__PURE__ */ t("td", {
|
|
1099
1102
|
className: D("hdlist1", er(r.attributes, "strong") ? "strong" : ""),
|
|
1100
|
-
children:
|
|
1103
|
+
children: l.map((N, q) => /* @__PURE__ */ g(Er, {
|
|
1101
1104
|
children: [q !== 0 && /* @__PURE__ */ t("br", {}), R(N.text)]
|
|
1102
1105
|
}, q))
|
|
1103
|
-
}), n && /* @__PURE__ */
|
|
1106
|
+
}), n && /* @__PURE__ */ g("td", {
|
|
1104
1107
|
className: "hdlist2",
|
|
1105
1108
|
children: [n.text && /* @__PURE__ */ t("p", {
|
|
1106
1109
|
children: R(n.text)
|
|
@@ -1108,13 +1111,13 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1108
1111
|
blocks: n.blocks
|
|
1109
1112
|
})]
|
|
1110
1113
|
})]
|
|
1111
|
-
},
|
|
1114
|
+
}, m);
|
|
1112
1115
|
})
|
|
1113
1116
|
})]
|
|
1114
1117
|
})]
|
|
1115
1118
|
});
|
|
1116
1119
|
} else
|
|
1117
|
-
return /* @__PURE__ */
|
|
1120
|
+
return /* @__PURE__ */ g("div", {
|
|
1118
1121
|
className: D("dlist", r.style, r.role),
|
|
1119
1122
|
children: [/* @__PURE__ */ t(T, {
|
|
1120
1123
|
text: r.title
|
|
@@ -1122,14 +1125,14 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1122
1125
|
children: r.items.map((s, c) => {
|
|
1123
1126
|
const {
|
|
1124
1127
|
terms: d,
|
|
1125
|
-
dd:
|
|
1128
|
+
dd: m
|
|
1126
1129
|
} = a(s);
|
|
1127
1130
|
if (!!d)
|
|
1128
|
-
return /* @__PURE__ */
|
|
1129
|
-
children: [d.map((
|
|
1131
|
+
return /* @__PURE__ */ g(Er, {
|
|
1132
|
+
children: [d.map((l, n) => /* @__PURE__ */ t("dt", {
|
|
1130
1133
|
className: "hdlist1",
|
|
1131
|
-
children: R(
|
|
1132
|
-
}, n)), i(
|
|
1134
|
+
children: R(l.text)
|
|
1135
|
+
}, n)), i(m)]
|
|
1133
1136
|
}, c);
|
|
1134
1137
|
})
|
|
1135
1138
|
})]
|
|
@@ -1143,7 +1146,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1143
1146
|
} = j();
|
|
1144
1147
|
if (!r || r.length === 0)
|
|
1145
1148
|
return null;
|
|
1146
|
-
const s = i.attributes || {}, c = s.sectnumlevels, d = s.toclevels,
|
|
1149
|
+
const s = i.attributes || {}, c = s.sectnumlevels, d = s.toclevels, m = (a == null ? void 0 : a.sectNumLevels) || (c ? parseInt(`${c}`) : 3), l = (a == null ? void 0 : a.tocLevels) || (d ? parseInt(`${d}`) : 2);
|
|
1147
1150
|
return /* @__PURE__ */ t("ul", {
|
|
1148
1151
|
className: `sectlevel${r[0].level}`,
|
|
1149
1152
|
children: r.map((n) => {
|
|
@@ -1151,15 +1154,15 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1151
1154
|
N = N === "." || N === ".." ? "" : N;
|
|
1152
1155
|
const q = n.level;
|
|
1153
1156
|
let v = n.title;
|
|
1154
|
-
return q <=
|
|
1157
|
+
return q <= m && (v = `${N} ${n.title}`), /* @__PURE__ */ g("li", {
|
|
1155
1158
|
children: [/* @__PURE__ */ t("a", {
|
|
1156
1159
|
href: `#${n.id}`,
|
|
1157
1160
|
children: R(v)
|
|
1158
|
-
}), q <
|
|
1161
|
+
}), q < l && /* @__PURE__ */ t(dr, {
|
|
1159
1162
|
sections: n.sections,
|
|
1160
1163
|
opts: {
|
|
1161
|
-
tocLevels:
|
|
1162
|
-
sectNumLevels:
|
|
1164
|
+
tocLevels: l,
|
|
1165
|
+
sectNumLevels: m
|
|
1163
1166
|
}
|
|
1164
1167
|
})]
|
|
1165
1168
|
}, n.id);
|
|
@@ -1170,12 +1173,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1170
1173
|
}) => {
|
|
1171
1174
|
const a = () => r.noHeader ? null : /* @__PURE__ */ t("div", {
|
|
1172
1175
|
id: "header",
|
|
1173
|
-
children: r.hasHeader && /* @__PURE__ */
|
|
1176
|
+
children: r.hasHeader && /* @__PURE__ */ g(U, {
|
|
1174
1177
|
children: [/* @__PURE__ */ t("h1", {
|
|
1175
1178
|
dangerouslySetInnerHTML: {
|
|
1176
1179
|
__html: r.title
|
|
1177
1180
|
}
|
|
1178
|
-
}), /* @__PURE__ */ t(s, {}), r.sections && r.sections.length > 0 && r.attributes.toc !== void 0 && r.attributes["toc-placement"] === "auto" && /* @__PURE__ */
|
|
1181
|
+
}), /* @__PURE__ */ t(s, {}), r.sections && r.sections.length > 0 && r.attributes.toc !== void 0 && r.attributes["toc-placement"] === "auto" && /* @__PURE__ */ g("div", {
|
|
1179
1182
|
id: "toc",
|
|
1180
1183
|
className: cr(r.attributes, "toc-class", "toc"),
|
|
1181
1184
|
children: [/* @__PURE__ */ t("div", {
|
|
@@ -1186,9 +1189,9 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1186
1189
|
})]
|
|
1187
1190
|
})]
|
|
1188
1191
|
})
|
|
1189
|
-
}), i = () => r.footnotes && r.footnotes.length > 0 && r.blocks && !V(r.attributes, "nofootnotes") ? /* @__PURE__ */
|
|
1192
|
+
}), i = () => r.footnotes && r.footnotes.length > 0 && r.blocks && !V(r.attributes, "nofootnotes") ? /* @__PURE__ */ g("div", {
|
|
1190
1193
|
id: "footnotes",
|
|
1191
|
-
children: [/* @__PURE__ */ t("hr", {}), r.footnotes.map((c) => /* @__PURE__ */
|
|
1194
|
+
children: [/* @__PURE__ */ t("hr", {}), r.footnotes.map((c) => /* @__PURE__ */ g("div", {
|
|
1192
1195
|
className: "footnote",
|
|
1193
1196
|
id: `_footnotedef_${c.index}`,
|
|
1194
1197
|
children: [/* @__PURE__ */ t("a", {
|
|
@@ -1196,16 +1199,16 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1196
1199
|
children: c.index
|
|
1197
1200
|
}), ".", " ", R(c.text || "")]
|
|
1198
1201
|
}, c.index))]
|
|
1199
|
-
}) : null, s = () => r.authors.length > 0 || V(r.attributes, "revnumber") || V(r.attributes, "revdate") || V(r.attributes, "revremark") ? /* @__PURE__ */
|
|
1202
|
+
}) : null, s = () => r.authors.length > 0 || V(r.attributes, "revnumber") || V(r.attributes, "revdate") || V(r.attributes, "revremark") ? /* @__PURE__ */ g("div", {
|
|
1200
1203
|
className: "details",
|
|
1201
|
-
children: [r.authors.map((c, d) => /* @__PURE__ */
|
|
1202
|
-
children: [c.name && /* @__PURE__ */
|
|
1204
|
+
children: [r.authors.map((c, d) => /* @__PURE__ */ g(Er, {
|
|
1205
|
+
children: [c.name && /* @__PURE__ */ g(U, {
|
|
1203
1206
|
children: [/* @__PURE__ */ t("span", {
|
|
1204
1207
|
id: `author${d + 1 > 1 ? d + 1 : ""}`,
|
|
1205
1208
|
className: "author",
|
|
1206
1209
|
children: R(c.name)
|
|
1207
1210
|
}), /* @__PURE__ */ t("br", {})]
|
|
1208
|
-
}), c.email && /* @__PURE__ */
|
|
1211
|
+
}), c.email && /* @__PURE__ */ g(U, {
|
|
1209
1212
|
children: [/* @__PURE__ */ t("span", {
|
|
1210
1213
|
id: `email${d + 1 > 1 ? d + 1 : ""}`,
|
|
1211
1214
|
className: "email",
|
|
@@ -1218,14 +1221,14 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1218
1221
|
}), V(r.attributes, "revdate") && /* @__PURE__ */ t("span", {
|
|
1219
1222
|
id: "revdate",
|
|
1220
1223
|
children: r.attributes.revdate
|
|
1221
|
-
}), V(r.attributes, "revremark") && /* @__PURE__ */
|
|
1224
|
+
}), V(r.attributes, "revremark") && /* @__PURE__ */ g(U, {
|
|
1222
1225
|
children: [/* @__PURE__ */ t("br", {}), /* @__PURE__ */ t("span", {
|
|
1223
1226
|
id: "revremark",
|
|
1224
1227
|
children: r.attributes.revremark
|
|
1225
1228
|
})]
|
|
1226
1229
|
})]
|
|
1227
1230
|
}) : null;
|
|
1228
|
-
return /* @__PURE__ */
|
|
1231
|
+
return /* @__PURE__ */ g(U, {
|
|
1229
1232
|
children: [/* @__PURE__ */ t(a, {}), /* @__PURE__ */ t("div", {
|
|
1230
1233
|
id: "content",
|
|
1231
1234
|
children: /* @__PURE__ */ t(C, {
|
|
@@ -1238,7 +1241,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1238
1241
|
}) => {
|
|
1239
1242
|
if (er(r.attributes, "collapsible")) {
|
|
1240
1243
|
const i = r.title || "Details", s = r.attributes.open ? !0 : void 0;
|
|
1241
|
-
return /* @__PURE__ */
|
|
1244
|
+
return /* @__PURE__ */ g("details", {
|
|
1242
1245
|
className: r.role,
|
|
1243
1246
|
open: s,
|
|
1244
1247
|
...r.lineNumber ? {
|
|
@@ -1258,7 +1261,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1258
1261
|
})]
|
|
1259
1262
|
});
|
|
1260
1263
|
}
|
|
1261
|
-
return /* @__PURE__ */
|
|
1264
|
+
return /* @__PURE__ */ g("div", {
|
|
1262
1265
|
className: D("exampleblock", r.role),
|
|
1263
1266
|
...r.lineNumber ? {
|
|
1264
1267
|
"data-lineno": r.lineNumber
|
|
@@ -1277,7 +1280,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1277
1280
|
});
|
|
1278
1281
|
}, it = ({
|
|
1279
1282
|
node: r
|
|
1280
|
-
}) => /* @__PURE__ */
|
|
1283
|
+
}) => /* @__PURE__ */ g(U, {
|
|
1281
1284
|
children: [/* @__PURE__ */ t("a", {
|
|
1282
1285
|
className: "sectionanchor",
|
|
1283
1286
|
...r.id ? {
|
|
@@ -1302,7 +1305,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1302
1305
|
className: "image",
|
|
1303
1306
|
href: r.attributes.link.toString(),
|
|
1304
1307
|
children: a
|
|
1305
|
-
})), /* @__PURE__ */
|
|
1308
|
+
})), /* @__PURE__ */ g("div", {
|
|
1306
1309
|
className: `imageblock ${r.attributes.align ? "text-" + r.attributes.align : ""} ${r.attributes.float ? r.attributes.float : ""} ${r.role ? r.role : ""}`,
|
|
1307
1310
|
...r.lineNumber ? {
|
|
1308
1311
|
"data-lineno": r.lineNumber
|
|
@@ -1326,7 +1329,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1326
1329
|
} = j(), i = a.attributes || {}, s = r.attributes.nowrap || i.prewrap === void 0;
|
|
1327
1330
|
if (r.style === "source") {
|
|
1328
1331
|
const c = r.language;
|
|
1329
|
-
return /* @__PURE__ */
|
|
1332
|
+
return /* @__PURE__ */ g("div", {
|
|
1330
1333
|
className: "listingblock",
|
|
1331
1334
|
...r.lineNumber ? {
|
|
1332
1335
|
"data-lineno": r.lineNumber
|
|
@@ -1352,7 +1355,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1352
1355
|
})]
|
|
1353
1356
|
});
|
|
1354
1357
|
} else
|
|
1355
|
-
return /* @__PURE__ */
|
|
1358
|
+
return /* @__PURE__ */ g("div", {
|
|
1356
1359
|
className: "listingblock",
|
|
1357
1360
|
...r.lineNumber ? {
|
|
1358
1361
|
"data-lineno": r.lineNumber
|
|
@@ -1377,7 +1380,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1377
1380
|
const {
|
|
1378
1381
|
document: a
|
|
1379
1382
|
} = j(), i = a.attributes || {}, s = r.attributes.nowrap || i.prewrap === void 0;
|
|
1380
|
-
return /* @__PURE__ */
|
|
1383
|
+
return /* @__PURE__ */ g("div", {
|
|
1381
1384
|
className: "literalblock",
|
|
1382
1385
|
...r.lineNumber ? {
|
|
1383
1386
|
"data-lineno": r.lineNumber
|
|
@@ -1394,7 +1397,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1394
1397
|
});
|
|
1395
1398
|
}, ct = ({
|
|
1396
1399
|
node: r
|
|
1397
|
-
}) => /* @__PURE__ */
|
|
1400
|
+
}) => /* @__PURE__ */ g("div", {
|
|
1398
1401
|
className: D("olist", r.role, r.style),
|
|
1399
1402
|
...r.lineNumber ? {
|
|
1400
1403
|
"data-lineno": r.lineNumber
|
|
@@ -1407,7 +1410,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1407
1410
|
...r.attributes.start ? {
|
|
1408
1411
|
start: parseInt(`${r.attributes.start}`)
|
|
1409
1412
|
} : {},
|
|
1410
|
-
children: r.items.map((a, i) => /* @__PURE__ */
|
|
1413
|
+
children: r.items.map((a, i) => /* @__PURE__ */ g("li", {
|
|
1411
1414
|
className: r.role ? r.role : "",
|
|
1412
1415
|
children: [/* @__PURE__ */ t("p", {
|
|
1413
1416
|
children: R(a.text || "")
|
|
@@ -1420,7 +1423,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1420
1423
|
node: r
|
|
1421
1424
|
}) => {
|
|
1422
1425
|
const a = r.style;
|
|
1423
|
-
return a === "abstract" ? /* @__PURE__ */
|
|
1426
|
+
return a === "abstract" ? /* @__PURE__ */ g("div", {
|
|
1424
1427
|
className: D("quoteblock abstract", r.role),
|
|
1425
1428
|
...r.lineNumber ? {
|
|
1426
1429
|
"data-lineno": r.lineNumber
|
|
@@ -1433,7 +1436,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1433
1436
|
blocks: r.blocks
|
|
1434
1437
|
})
|
|
1435
1438
|
})]
|
|
1436
|
-
}) : /* @__PURE__ */
|
|
1439
|
+
}) : /* @__PURE__ */ g("div", {
|
|
1437
1440
|
className: D("openblock", a && a !== "open" ? a : "", r.role),
|
|
1438
1441
|
...r.lineNumber ? {
|
|
1439
1442
|
"data-lineno": r.lineNumber
|
|
@@ -1453,7 +1456,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1453
1456
|
}
|
|
1454
1457
|
}), pt = ({
|
|
1455
1458
|
node: r
|
|
1456
|
-
}) => /* @__PURE__ */
|
|
1459
|
+
}) => /* @__PURE__ */ g("div", {
|
|
1457
1460
|
...r.id ? {
|
|
1458
1461
|
id: r.id
|
|
1459
1462
|
} : {},
|
|
@@ -1483,11 +1486,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1483
1486
|
...r.lineNumber ? {
|
|
1484
1487
|
"data-lineno": r.lineNumber
|
|
1485
1488
|
} : {},
|
|
1486
|
-
children: /* @__PURE__ */
|
|
1489
|
+
children: /* @__PURE__ */ g("div", {
|
|
1487
1490
|
className: "sectionbody",
|
|
1488
1491
|
children: [/* @__PURE__ */ t(C, {
|
|
1489
1492
|
blocks: r.blocks
|
|
1490
|
-
}), s && /* @__PURE__ */
|
|
1493
|
+
}), s && /* @__PURE__ */ g("div", {
|
|
1491
1494
|
id: "toc",
|
|
1492
1495
|
className: r.attributes["toc-class"] ? `${r.attributes["toc-class"]}` : "toc",
|
|
1493
1496
|
children: [/* @__PURE__ */ t("div", {
|
|
@@ -1503,7 +1506,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1503
1506
|
node: r
|
|
1504
1507
|
}) => {
|
|
1505
1508
|
const a = r.attributes.attribution, i = r.attributes.citetitle;
|
|
1506
|
-
return /* @__PURE__ */
|
|
1509
|
+
return /* @__PURE__ */ g("div", {
|
|
1507
1510
|
...r.id ? {
|
|
1508
1511
|
id: r.id
|
|
1509
1512
|
} : {},
|
|
@@ -1519,7 +1522,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1519
1522
|
}
|
|
1520
1523
|
}), /* @__PURE__ */ t(C, {
|
|
1521
1524
|
blocks: r.blocks
|
|
1522
|
-
}), a && /* @__PURE__ */
|
|
1525
|
+
}), a && /* @__PURE__ */ g("div", {
|
|
1523
1526
|
className: "attribution",
|
|
1524
1527
|
children: ["\u2014 ", a, i && /* @__PURE__ */ t("cite", {
|
|
1525
1528
|
children: i
|
|
@@ -1535,7 +1538,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1535
1538
|
let s = r.title, c = r.num;
|
|
1536
1539
|
c = c === "." ? "" : c;
|
|
1537
1540
|
const d = i.sectnumlevels ? parseInt(`${i.sectnumlevels}`) : 3;
|
|
1538
|
-
return r.numbered && r.level <= d && (s = `${c} ${r.title}`), i.sectlinks && (s = /* @__PURE__ */
|
|
1541
|
+
return r.numbered && r.level <= d && (s = `${c} ${r.title}`), i.sectlinks && (s = /* @__PURE__ */ g(U, {
|
|
1539
1542
|
children: [/* @__PURE__ */ t("a", {
|
|
1540
1543
|
className: "anchor",
|
|
1541
1544
|
id: r.id || "",
|
|
@@ -1549,7 +1552,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1549
1552
|
__html: s
|
|
1550
1553
|
}
|
|
1551
1554
|
})]
|
|
1552
|
-
})), r.level === 0 ? /* @__PURE__ */
|
|
1555
|
+
})), r.level === 0 ? /* @__PURE__ */ g(U, {
|
|
1553
1556
|
children: [/* @__PURE__ */ t("h1", {
|
|
1554
1557
|
className: D("sect0", r.role),
|
|
1555
1558
|
"data-sectnum": c,
|
|
@@ -1560,7 +1563,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1560
1563
|
}), /* @__PURE__ */ t(C, {
|
|
1561
1564
|
blocks: r.blocks
|
|
1562
1565
|
})]
|
|
1563
|
-
}) : /* @__PURE__ */
|
|
1566
|
+
}) : /* @__PURE__ */ g("div", {
|
|
1564
1567
|
className: D(`sect${r.level}`, r.role),
|
|
1565
1568
|
...r.lineNumber ? {
|
|
1566
1569
|
"data-lineno": r.lineNumber
|
|
@@ -1581,7 +1584,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1581
1584
|
...r.lineNumber ? {
|
|
1582
1585
|
"data-lineno": r.lineNumber
|
|
1583
1586
|
} : {},
|
|
1584
|
-
children: /* @__PURE__ */
|
|
1587
|
+
children: /* @__PURE__ */ g("div", {
|
|
1585
1588
|
className: "content",
|
|
1586
1589
|
children: [/* @__PURE__ */ t(T, {
|
|
1587
1590
|
text: r.title
|
|
@@ -1597,18 +1600,18 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1597
1600
|
} = j(), i = a.attributes || {};
|
|
1598
1601
|
let s = ["frame-" + cr(r.attributes, "frame", "all", "table-frame", i), "grid-" + cr(r.attributes, "grid", "all", "table-grid", i)], c = cr(r.attributes, "stripes", null, "table-stripes", i);
|
|
1599
1602
|
c && s.push("stripes-" + c);
|
|
1600
|
-
let d = er(r.attributes, "autowidth"),
|
|
1601
|
-
d && !V(r.attributes, "width") ? s.push("fit-content") :
|
|
1603
|
+
let d = er(r.attributes, "autowidth"), m = parseInt(`${r.attributes.tablepcwidth}`), l = null;
|
|
1604
|
+
d && !V(r.attributes, "width") ? s.push("fit-content") : m === 100 ? s.push("stretch") : l = `${m}%`, V(r.attributes, "float") && s.push(`${r.attributes.float}`), r.role && s.push(r.role || "");
|
|
1602
1605
|
const n = (p) => D("tableblock", `halign-${p.attributes.halign}`, `valign-${p.attributes.valign}`), N = r.title, q = r.id, v = q || vt(N || "");
|
|
1603
|
-
return /* @__PURE__ */
|
|
1606
|
+
return /* @__PURE__ */ g("table", {
|
|
1604
1607
|
className: D("tableblock", ...s),
|
|
1605
1608
|
style: {
|
|
1606
|
-
width:
|
|
1609
|
+
width: l || void 0
|
|
1607
1610
|
},
|
|
1608
1611
|
...r.lineNumber ? {
|
|
1609
1612
|
"data-lineno": r.lineNumber
|
|
1610
1613
|
} : {},
|
|
1611
|
-
children: [r.title && /* @__PURE__ */
|
|
1614
|
+
children: [r.title && /* @__PURE__ */ g("caption", {
|
|
1612
1615
|
className: "title",
|
|
1613
1616
|
children: [!q && /* @__PURE__ */ t("a", {
|
|
1614
1617
|
className: "anchor",
|
|
@@ -1706,8 +1709,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1706
1709
|
document: a
|
|
1707
1710
|
} = j(), i = a.attributes || {}, s = a.sections && a.sections.length > 0;
|
|
1708
1711
|
let c = r.id || "toc";
|
|
1709
|
-
const d = r.title ? r.title : i["toc-title"],
|
|
1710
|
-
return
|
|
1712
|
+
const d = r.title ? r.title : i["toc-title"], m = i["toc-placement"], l = i.toc !== void 0, n = r.attributes.levels ? parseInt(`${r.attributes.levels}`) : void 0;
|
|
1713
|
+
return m === "macro" && s && l ? /* @__PURE__ */ g("div", {
|
|
1711
1714
|
id: c,
|
|
1712
1715
|
className: D("toc", r.role),
|
|
1713
1716
|
children: [/* @__PURE__ */ t("div", {
|
|
@@ -1725,7 +1728,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1725
1728
|
node: r
|
|
1726
1729
|
}) => {
|
|
1727
1730
|
const a = er(r.attributes, "checklist");
|
|
1728
|
-
return /* @__PURE__ */
|
|
1731
|
+
return /* @__PURE__ */ g("div", {
|
|
1729
1732
|
...r.id ? {
|
|
1730
1733
|
id: r.id
|
|
1731
1734
|
} : {},
|
|
@@ -1740,12 +1743,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1740
1743
|
children: r.items.map((i, s) => a ? /* @__PURE__ */ t("li", {
|
|
1741
1744
|
id: i.id,
|
|
1742
1745
|
className: r.role,
|
|
1743
|
-
children: /* @__PURE__ */
|
|
1746
|
+
children: /* @__PURE__ */ g("p", {
|
|
1744
1747
|
children: [a && i.attributes.checkbox && /* @__PURE__ */ t("i", {
|
|
1745
1748
|
className: D("fa", i.attributes.checked ? "fa-check-square-o" : "fa-square-o")
|
|
1746
1749
|
}), " ", R(i.text || "")]
|
|
1747
1750
|
})
|
|
1748
|
-
}, s) : /* @__PURE__ */
|
|
1751
|
+
}, s) : /* @__PURE__ */ g("li", {
|
|
1749
1752
|
id: i.id,
|
|
1750
1753
|
className: r.role,
|
|
1751
1754
|
children: [/* @__PURE__ */ t("p", {
|
|
@@ -1762,7 +1765,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1762
1765
|
node: r
|
|
1763
1766
|
}) => {
|
|
1764
1767
|
const a = r.attributes.attribution, i = r.attributes.citetitle;
|
|
1765
|
-
return /* @__PURE__ */
|
|
1768
|
+
return /* @__PURE__ */ g("div", {
|
|
1766
1769
|
...r.id ? {
|
|
1767
1770
|
id: r.id
|
|
1768
1771
|
} : {},
|
|
@@ -1777,7 +1780,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
|
|
|
1777
1780
|
dangerouslySetInnerHTML: {
|
|
1778
1781
|
__html: r.content
|
|
1779
1782
|
}
|
|
1780
|
-
}), a && /* @__PURE__ */
|
|
1783
|
+
}), a && /* @__PURE__ */ g("div", {
|
|
1781
1784
|
className: "attribution",
|
|
1782
1785
|
children: ["\u2014 ", a, i && /* @__PURE__ */ t("cite", {
|
|
1783
1786
|
children: i
|