@oxide/react-asciidoc 0.1.3-alpha.8 → 0.1.3-alpha.9

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.
@@ -1,14 +1,14 @@
1
1
  import { default as sr } from "@asciidoctor/core";
2
2
  import S from "html-react-parser";
3
3
  import { default as cr } from "html-react-parser";
4
- import Ke, { Fragment as Ae, useMemo as re, createElement as K, createContext as kt, useContext as Et } from "react";
4
+ import Ke, { Fragment as Te, useMemo as re, createElement as K, createContext as Rt, useContext as Et } from "react";
5
5
  const G = {}, U = (e) => {
6
6
  const a = e.$$id;
7
7
  if (G[a])
8
8
  return G[a];
9
9
  const n = e.getContent() || "";
10
10
  return G[a] = n, n;
11
- }, D = (e) => {
11
+ }, j = (e) => {
12
12
  const a = e.$$id;
13
13
  if (G[a])
14
14
  return G[a];
@@ -30,16 +30,16 @@ function St() {
30
30
  if (ze)
31
31
  return ee;
32
32
  ze = 1;
33
- var e = Ke, 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
+ var e = Ke, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
34
34
  function f(b, h, y) {
35
- var m, C = {}, R = null, F = null;
36
- y !== void 0 && (R = "" + y), h.key !== void 0 && (R = "" + h.key), h.ref !== void 0 && (F = h.ref);
35
+ var m, O = {}, k = null, F = null;
36
+ y !== void 0 && (k = "" + y), h.key !== void 0 && (k = "" + h.key), h.ref !== void 0 && (F = h.ref);
37
37
  for (m in h)
38
- o.call(h, m) && !c.hasOwnProperty(m) && (C[m] = h[m]);
38
+ c.call(h, m) && !o.hasOwnProperty(m) && (O[m] = h[m]);
39
39
  if (b && b.defaultProps)
40
40
  for (m in h = b.defaultProps, h)
41
- C[m] === void 0 && (C[m] = h[m]);
42
- return { $$typeof: a, type: b, key: R, ref: F, props: C, _owner: g.current };
41
+ O[m] === void 0 && (O[m] = h[m]);
42
+ return { $$typeof: a, type: b, key: k, ref: F, props: O, _owner: g.current };
43
43
  }
44
44
  return ee.Fragment = n, ee.jsx = f, ee.jsxs = f, ee;
45
45
  }
@@ -56,14 +56,14 @@ var te = {};
56
56
  var Je;
57
57
  function wt() {
58
58
  return Je || (Je = 1, process.env.NODE_ENV !== "production" && function() {
59
- var e = Ke, 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"), y = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), Y = Symbol.iterator, P = "@@iterator";
59
+ var e = Ke, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), b = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), O = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), Y = Symbol.iterator, P = "@@iterator";
60
60
  function M(t) {
61
61
  if (t === null || typeof t != "object")
62
62
  return null;
63
63
  var i = Y && t[Y] || t[P];
64
64
  return typeof i == "function" ? i : null;
65
65
  }
66
- var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
66
+ var R = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
67
67
  function N(t) {
68
68
  {
69
69
  for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
@@ -73,7 +73,7 @@ function wt() {
73
73
  }
74
74
  function he(t, i, s) {
75
75
  {
76
- var u = k.ReactDebugCurrentFrame, p = u.getStackAddendum();
76
+ var u = R.ReactDebugCurrentFrame, p = u.getStackAddendum();
77
77
  p !== "" && (i += "%s", s = s.concat([p]));
78
78
  var _ = s.map(function(v) {
79
79
  return String(v);
@@ -81,10 +81,10 @@ function wt() {
81
81
  _.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, _);
82
82
  }
83
83
  }
84
- var ge = !1, q = !1, V = !1, X = !1, ae = !1, Te;
85
- Te = Symbol.for("react.module.reference");
84
+ var ge = !1, q = !1, V = !1, X = !1, ae = !1, Ae;
85
+ Ae = Symbol.for("react.module.reference");
86
86
  function Qe(t) {
87
- return !!(typeof t == "string" || typeof t == "function" || t === o || t === c || ae || t === g || t === y || t === m || X || t === F || ge || q || V || typeof t == "object" && t !== null && (t.$$typeof === R || t.$$typeof === C || t.$$typeof === f || t.$$typeof === b || t.$$typeof === h || t.$$typeof === Te || t.getModuleId !== void 0));
87
+ return !!(typeof t == "string" || typeof t == "function" || t === c || t === o || ae || t === g || t === y || t === m || X || t === F || ge || q || V || typeof t == "object" && t !== null && (t.$$typeof === k || t.$$typeof === O || t.$$typeof === f || t.$$typeof === b || t.$$typeof === h || t.$$typeof === Ae || t.getModuleId !== void 0));
88
88
  }
89
89
  function Ze(t, i, s) {
90
90
  var u = t.displayName;
@@ -93,7 +93,7 @@ function wt() {
93
93
  var p = i.displayName || i.name || "";
94
94
  return p !== "" ? s + "(" + p + ")" : s;
95
95
  }
96
- function Re(t) {
96
+ function ke(t) {
97
97
  return t.displayName || "Context";
98
98
  }
99
99
  function B(t) {
@@ -104,11 +104,11 @@ function wt() {
104
104
  if (typeof t == "string")
105
105
  return t;
106
106
  switch (t) {
107
- case o:
107
+ case c:
108
108
  return "Fragment";
109
109
  case n:
110
110
  return "Portal";
111
- case c:
111
+ case o:
112
112
  return "Profiler";
113
113
  case g:
114
114
  return "StrictMode";
@@ -121,16 +121,16 @@ function wt() {
121
121
  switch (t.$$typeof) {
122
122
  case b:
123
123
  var i = t;
124
- return Re(i) + ".Consumer";
124
+ return ke(i) + ".Consumer";
125
125
  case f:
126
126
  var s = t;
127
- return Re(s._context) + ".Provider";
127
+ return ke(s._context) + ".Provider";
128
128
  case h:
129
129
  return Ze(t, t.render, "ForwardRef");
130
- case C:
130
+ case O:
131
131
  var u = t.displayName || null;
132
132
  return u !== null ? u : B(t.type) || "Memo";
133
- case R: {
133
+ case k: {
134
134
  var p = t, _ = p._payload, v = p._init;
135
135
  try {
136
136
  return B(v(_));
@@ -141,14 +141,14 @@ function wt() {
141
141
  }
142
142
  return null;
143
143
  }
144
- var H = Object.assign, Q = 0, ke, Ee, Se, we, Ce, $e, Oe;
144
+ var H = Object.assign, Q = 0, Re, Ee, Se, we, Ce, Oe, $e;
145
145
  function Ie() {
146
146
  }
147
147
  Ie.__reactDisabledLog = !0;
148
148
  function et() {
149
149
  {
150
150
  if (Q === 0) {
151
- ke = console.log, Ee = console.info, Se = console.warn, we = console.error, Ce = console.group, $e = console.groupCollapsed, Oe = console.groupEnd;
151
+ Re = console.log, Ee = console.info, Se = console.warn, we = console.error, Ce = console.group, Oe = console.groupCollapsed, $e = console.groupEnd;
152
152
  var t = {
153
153
  configurable: !0,
154
154
  enumerable: !0,
@@ -178,7 +178,7 @@ function wt() {
178
178
  };
179
179
  Object.defineProperties(console, {
180
180
  log: H({}, t, {
181
- value: ke
181
+ value: Re
182
182
  }),
183
183
  info: H({}, t, {
184
184
  value: Ee
@@ -193,17 +193,17 @@ function wt() {
193
193
  value: Ce
194
194
  }),
195
195
  groupCollapsed: H({}, t, {
196
- value: $e
196
+ value: Oe
197
197
  }),
198
198
  groupEnd: H({}, t, {
199
- value: Oe
199
+ value: $e
200
200
  })
201
201
  });
202
202
  }
203
203
  Q < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
204
204
  }
205
205
  }
206
- var de = k.ReactCurrentDispatcher, me;
206
+ var de = R.ReactCurrentDispatcher, me;
207
207
  function ie(t, i, s) {
208
208
  {
209
209
  if (me === void 0)
@@ -271,19 +271,19 @@ function wt() {
271
271
  } catch (W) {
272
272
  if (W && u && typeof W.stack == "string") {
273
273
  for (var d = W.stack.split(`
274
- `), O = u.stack.split(`
275
- `), T = d.length - 1, E = O.length - 1; T >= 1 && E >= 0 && d[T] !== O[E]; )
274
+ `), $ = u.stack.split(`
275
+ `), A = d.length - 1, E = $.length - 1; A >= 1 && E >= 0 && d[A] !== $[E]; )
276
276
  E--;
277
- for (; T >= 1 && E >= 0; T--, E--)
278
- if (d[T] !== O[E]) {
279
- if (T !== 1 || E !== 1)
277
+ for (; A >= 1 && E >= 0; A--, E--)
278
+ if (d[A] !== $[E]) {
279
+ if (A !== 1 || E !== 1)
280
280
  do
281
- if (T--, E--, E < 0 || d[T] !== O[E]) {
282
- var j = `
283
- ` + d[T].replace(" at new ", " at ");
284
- return t.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", t.displayName)), typeof t == "function" && ne.set(t, j), j;
281
+ if (A--, E--, E < 0 || d[A] !== $[E]) {
282
+ var D = `
283
+ ` + d[A].replace(" at new ", " at ");
284
+ return t.displayName && D.includes("<anonymous>") && (D = D.replace("<anonymous>", t.displayName)), typeof t == "function" && ne.set(t, D), D;
285
285
  }
286
- while (T >= 1 && E >= 0);
286
+ while (A >= 1 && E >= 0);
287
287
  break;
288
288
  }
289
289
  }
@@ -317,9 +317,9 @@ function wt() {
317
317
  switch (t.$$typeof) {
318
318
  case h:
319
319
  return at(t.render);
320
- case C:
320
+ case O:
321
321
  return se(t.type, i, s);
322
- case R: {
322
+ case k: {
323
323
  var u = t, p = u._payload, _ = u._init;
324
324
  try {
325
325
  return se(_(p), i, s);
@@ -329,13 +329,13 @@ function wt() {
329
329
  }
330
330
  return "";
331
331
  }
332
- var le = Object.prototype.hasOwnProperty, Pe = {}, je = k.ReactDebugCurrentFrame;
332
+ var le = Object.prototype.hasOwnProperty, Pe = {}, De = R.ReactDebugCurrentFrame;
333
333
  function ce(t) {
334
334
  if (t) {
335
335
  var i = t._owner, s = se(t.type, t._source, i ? i.type : null);
336
- je.setExtraStackFrame(s);
336
+ De.setExtraStackFrame(s);
337
337
  } else
338
- je.setExtraStackFrame(null);
338
+ De.setExtraStackFrame(null);
339
339
  }
340
340
  function nt(t, i, s, u, p) {
341
341
  {
@@ -345,12 +345,12 @@ function wt() {
345
345
  var d = void 0;
346
346
  try {
347
347
  if (typeof t[v] != "function") {
348
- var O = Error((u || "React class") + ": " + s + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
349
- throw O.name = "Invariant Violation", O;
348
+ var $ = Error((u || "React class") + ": " + s + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
349
+ throw $.name = "Invariant Violation", $;
350
350
  }
351
351
  d = t[v](i, v, u, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
352
- } catch (T) {
353
- d = T;
352
+ } catch (A) {
353
+ d = A;
354
354
  }
355
355
  d && !(d instanceof Error) && (ce(p), N("%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, v, typeof d), ce(null)), d instanceof Error && !(d.message in Pe) && (Pe[d.message] = !0, ce(p), N("Failed %s type: %s", s, d.message), ce(null));
356
356
  }
@@ -368,19 +368,19 @@ function wt() {
368
368
  }
369
369
  function ct(t) {
370
370
  try {
371
- return De(t), !1;
371
+ return je(t), !1;
372
372
  } catch {
373
373
  return !0;
374
374
  }
375
375
  }
376
- function De(t) {
376
+ function je(t) {
377
377
  return "" + t;
378
378
  }
379
379
  function Le(t) {
380
380
  if (ct(t))
381
- return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), De(t);
381
+ return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), je(t);
382
382
  }
383
- var Z = k.ReactCurrentOwner, ot = {
383
+ var Z = R.ReactCurrentOwner, ot = {
384
384
  key: !0,
385
385
  ref: !0,
386
386
  __self: !0,
@@ -459,23 +459,23 @@ function wt() {
459
459
  };
460
460
  function vt(t, i, s, u, p) {
461
461
  {
462
- var _, v = {}, d = null, O = null;
463
- s !== void 0 && (Le(s), d = "" + s), ft(i) && (Le(i.key), d = "" + i.key), ut(i) && (O = i.ref, ht(i, p));
462
+ var _, v = {}, d = null, $ = null;
463
+ s !== void 0 && (Le(s), d = "" + s), ft(i) && (Le(i.key), d = "" + i.key), ut(i) && ($ = i.ref, ht(i, p));
464
464
  for (_ in i)
465
465
  le.call(i, _) && !ot.hasOwnProperty(_) && (v[_] = i[_]);
466
466
  if (t && t.defaultProps) {
467
- var T = t.defaultProps;
468
- for (_ in T)
469
- v[_] === void 0 && (v[_] = T[_]);
467
+ var A = t.defaultProps;
468
+ for (_ in A)
469
+ v[_] === void 0 && (v[_] = A[_]);
470
470
  }
471
- if (d || O) {
471
+ if (d || $) {
472
472
  var E = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
473
- d && gt(v, E), O && dt(v, E);
473
+ d && gt(v, E), $ && dt(v, E);
474
474
  }
475
- return mt(t, d, O, p, u, Z.current, v);
475
+ return mt(t, d, $, p, u, Z.current, v);
476
476
  }
477
477
  }
478
- var ye = k.ReactCurrentOwner, Be = k.ReactDebugCurrentFrame;
478
+ var ye = R.ReactCurrentOwner, Be = R.ReactDebugCurrentFrame;
479
479
  function z(t) {
480
480
  if (t) {
481
481
  var i = t._owner, s = se(t.type, t._source, i ? i.type : null);
@@ -564,7 +564,7 @@ Check the top-level render call using <` + s + ">.");
564
564
  var s;
565
565
  if (typeof i == "function")
566
566
  s = i.propTypes;
567
- else if (typeof i == "object" && (i.$$typeof === h || i.$$typeof === C))
567
+ else if (typeof i == "object" && (i.$$typeof === h || i.$$typeof === O))
568
568
  s = i.propTypes;
569
569
  else
570
570
  return;
@@ -597,44 +597,44 @@ Check the top-level render call using <` + s + ">.");
597
597
  if (!v) {
598
598
  var d = "";
599
599
  (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.");
600
- var O = pt(p);
601
- O ? d += O : d += We();
602
- var T;
603
- t === null ? T = "null" : pe(t) ? T = "array" : t !== void 0 && t.$$typeof === a ? (T = "<" + (B(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t, N("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);
600
+ var $ = pt(p);
601
+ $ ? d += $ : d += We();
602
+ var A;
603
+ t === null ? A = "null" : pe(t) ? A = "array" : t !== void 0 && t.$$typeof === a ? (A = "<" + (B(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : A = typeof t, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, d);
604
604
  }
605
605
  var E = vt(t, i, s, p, _);
606
606
  if (E == null)
607
607
  return E;
608
608
  if (v) {
609
- var j = i.children;
610
- if (j !== void 0)
609
+ var D = i.children;
610
+ if (D !== void 0)
611
611
  if (u)
612
- if (pe(j)) {
613
- for (var J = 0; J < j.length; J++)
614
- Ue(j[J], t);
615
- Object.freeze && Object.freeze(j);
612
+ if (pe(D)) {
613
+ for (var J = 0; J < D.length; J++)
614
+ Ue(D[J], t);
615
+ Object.freeze && Object.freeze(D);
616
616
  } else
617
617
  N("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
618
618
  else
619
- Ue(j, t);
619
+ Ue(D, t);
620
620
  }
621
- return t === o ? _t(E) : yt(E), E;
621
+ return t === c ? _t(E) : yt(E), E;
622
622
  }
623
623
  }
624
624
  function Nt(t, i, s) {
625
625
  return qe(t, i, s, !0);
626
626
  }
627
- function At(t, i, s) {
627
+ function Tt(t, i, s) {
628
628
  return qe(t, i, s, !1);
629
629
  }
630
- var Tt = At, Rt = Nt;
631
- te.Fragment = o, te.jsx = Tt, te.jsxs = Rt;
630
+ var At = Tt, kt = Nt;
631
+ te.Fragment = c, te.jsx = At, te.jsxs = kt;
632
632
  }()), te;
633
633
  }
634
634
  (function(e) {
635
635
  process.env.NODE_ENV === "production" ? e.exports = St() : e.exports = wt();
636
636
  })(ue);
637
- const L = ue.exports.Fragment, r = ue.exports.jsx, l = ue.exports.jsxs, I = ({
637
+ const L = ue.exports.Fragment, r = ue.exports.jsx, l = ue.exports.jsxs, x = ({
638
638
  node: e
639
639
  }) => e.hasTitle() ? /* @__PURE__ */ r("div", {
640
640
  className: "title",
@@ -644,12 +644,12 @@ const L = ue.exports.Fragment, r = ue.exports.jsx, l = ue.exports.jsxs, I = ({
644
644
  }) => e.hasTitle() ? /* @__PURE__ */ r("div", {
645
645
  className: "title",
646
646
  children: S(e.getCaptionedTitle() || "")
647
- }) : null, $ = (e) => typeof e.getRole() == "string" ? e.getRole() : void 0, A = (e) => e.getLineNumber() ? {
647
+ }) : null, C = (e) => typeof e.getRole() == "string" ? e.getRole() : void 0, T = (e) => e.getLineNumber() ? {
648
648
  "data-lineno": e.getLineNumber()
649
649
  } : {}, Ct = ({
650
650
  node: e
651
651
  }) => {
652
- const a = e.getAttributes(), n = e.getDocument(), o = U(e), g = () => n.getAttribute("icons") === "font" && !a.icon ? /* @__PURE__ */ r("i", {
652
+ const a = e.getAttributes(), n = e.getDocument(), c = U(e), g = () => n.getAttribute("icons") === "font" && !a.icon ? /* @__PURE__ */ r("i", {
653
653
  className: `fa icon-${a.name}`,
654
654
  title: a.textlabel
655
655
  }) : /* @__PURE__ */ r("img", {
@@ -658,7 +658,7 @@ const L = ue.exports.Fragment, r = ue.exports.jsx, l = ue.exports.jsxs, I = ({
658
658
  });
659
659
  return e.content_model, /* @__PURE__ */ r("div", {
660
660
  className: `admonitionblock ${a.name}`,
661
- ...A(e),
661
+ ...T(e),
662
662
  children: /* @__PURE__ */ r("table", {
663
663
  children: /* @__PURE__ */ r("tbody", {
664
664
  children: /* @__PURE__ */ l("tr", {
@@ -670,27 +670,27 @@ const L = ue.exports.Fragment, r = ue.exports.jsx, l = ue.exports.jsxs, I = ({
670
670
  })
671
671
  }), /* @__PURE__ */ l("td", {
672
672
  className: "content",
673
- children: [/* @__PURE__ */ r(I, {
673
+ children: [/* @__PURE__ */ r(x, {
674
674
  node: e
675
- }), S(o)]
675
+ }), S(c)]
676
676
  })]
677
677
  })
678
678
  })
679
679
  })
680
680
  });
681
- }, $t = ({
681
+ }, Ot = ({
682
682
  node: e
683
683
  }) => {
684
- const a = e.getAttribute("start"), n = e.getAttribute("start"), o = (a || n) && `#t=${a || ""}` + n ? `,${n}` : "";
684
+ const a = e.getAttribute("start"), n = e.getAttribute("start"), c = (a || n) && `#t=${a || ""}` + n ? `,${n}` : "";
685
685
  return /* @__PURE__ */ l("div", {
686
686
  className: "audioblock",
687
- ...A(e),
688
- children: [/* @__PURE__ */ r(I, {
687
+ ...T(e),
688
+ children: [/* @__PURE__ */ r(x, {
689
689
  node: e
690
690
  }), /* @__PURE__ */ r("div", {
691
691
  className: "content",
692
692
  children: /* @__PURE__ */ r("audio", {
693
- src: `${e.getMediaUri(e.getAttribute("target"))}${o}`,
693
+ src: `${e.getMediaUri(e.getAttribute("target"))}${c}`,
694
694
  autoPlay: e.isOption("autoplay"),
695
695
  controls: !e.isOption("nocontrols"),
696
696
  loop: e.isOption("loop"),
@@ -698,12 +698,12 @@ const L = ue.exports.Fragment, r = ue.exports.jsx, l = ue.exports.jsxs, I = ({
698
698
  })
699
699
  })]
700
700
  });
701
- }, Ot = ({
701
+ }, $t = ({
702
702
  node: e
703
703
  }) => /* @__PURE__ */ l("div", {
704
704
  className: "colist",
705
- ...A(e),
706
- children: [/* @__PURE__ */ r(I, {
705
+ ...T(e),
706
+ children: [/* @__PURE__ */ r(x, {
707
707
  node: e
708
708
  }), /* @__PURE__ */ r("table", {
709
709
  children: /* @__PURE__ */ r("tbody", {
@@ -716,7 +716,7 @@ const L = ue.exports.Fragment, r = ue.exports.jsx, l = ue.exports.jsxs, I = ({
716
716
  children: n + 1
717
717
  })]
718
718
  }), /* @__PURE__ */ l("td", {
719
- children: [S(D(a)), /* @__PURE__ */ r(x, {
719
+ children: [S(j(a)), /* @__PURE__ */ r(I, {
720
720
  blocks: a.getBlocks()
721
721
  })]
722
722
  })]
@@ -734,28 +734,28 @@ var Ge = { exports: {} };
734
734
  (function() {
735
735
  var a = {}.hasOwnProperty;
736
736
  function n() {
737
- for (var o = [], g = 0; g < arguments.length; g++) {
738
- var c = arguments[g];
739
- if (!!c) {
740
- var f = typeof c;
737
+ for (var c = [], g = 0; g < arguments.length; g++) {
738
+ var o = arguments[g];
739
+ if (!!o) {
740
+ var f = typeof o;
741
741
  if (f === "string" || f === "number")
742
- o.push(c);
743
- else if (Array.isArray(c)) {
744
- if (c.length) {
745
- var b = n.apply(null, c);
746
- b && o.push(b);
742
+ c.push(o);
743
+ else if (Array.isArray(o)) {
744
+ if (o.length) {
745
+ var b = n.apply(null, o);
746
+ b && c.push(b);
747
747
  }
748
748
  } else if (f === "object") {
749
- if (c.toString !== Object.prototype.toString && !c.toString.toString().includes("[native code]")) {
750
- o.push(c.toString());
749
+ if (o.toString !== Object.prototype.toString && !o.toString.toString().includes("[native code]")) {
750
+ c.push(o.toString());
751
751
  continue;
752
752
  }
753
- for (var h in c)
754
- a.call(c, h) && c[h] && o.push(h);
753
+ for (var h in o)
754
+ a.call(o, h) && o[h] && c.push(h);
755
755
  }
756
756
  }
757
757
  }
758
- return o.join(" ");
758
+ return c.join(" ");
759
759
  }
760
760
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
761
761
  })();
@@ -763,20 +763,20 @@ var Ge = { exports: {} };
763
763
  const w = Ge.exports, It = ({
764
764
  node: e
765
765
  }) => {
766
- const a = e.getStyle(), n = (c) => {
767
- const f = c, b = f[0];
766
+ const a = e.getStyle(), n = (o) => {
767
+ const f = o, b = f[0];
768
768
  let h = f[1];
769
769
  return h.getNodeName || (h = null), {
770
770
  terms: b,
771
771
  dd: h
772
772
  };
773
- }, o = (c) => {
774
- if (c)
773
+ }, c = (o) => {
774
+ if (o)
775
775
  return /* @__PURE__ */ l("dd", {
776
- children: [c.hasText() && /* @__PURE__ */ r("p", {
777
- children: S(D(c))
778
- }), c.hasBlocks() && /* @__PURE__ */ r(x, {
779
- blocks: c.getBlocks()
776
+ children: [o.hasText() && /* @__PURE__ */ r("p", {
777
+ children: S(j(o))
778
+ }), o.hasBlocks() && /* @__PURE__ */ r(I, {
779
+ blocks: o.getBlocks()
780
780
  })]
781
781
  });
782
782
  }, g = e.hasTitle() && /* @__PURE__ */ r("div", {
@@ -785,33 +785,33 @@ const w = Ge.exports, It = ({
785
785
  });
786
786
  if (a === "qanda")
787
787
  return /* @__PURE__ */ l("div", {
788
- className: w("qlist qanda", $(e)),
789
- ...A(e),
788
+ className: w("qlist qanda", C(e)),
789
+ ...T(e),
790
790
  children: [g, /* @__PURE__ */ r("ol", {
791
- children: e.getItems().map((c, f) => {
791
+ children: e.getItems().map((o, f) => {
792
792
  const {
793
793
  terms: b,
794
794
  dd: h
795
- } = n(c);
795
+ } = n(o);
796
796
  return /* @__PURE__ */ l("li", {
797
797
  children: [b.map((y, m) => /* @__PURE__ */ r("p", {
798
798
  children: /* @__PURE__ */ r("em", {
799
- children: S(D(y))
799
+ children: S(j(y))
800
800
  })
801
- }, m)), o(h)]
801
+ }, m)), c(h)]
802
802
  }, f);
803
803
  })
804
804
  })]
805
805
  });
806
806
  if (a === "horizontal") {
807
- const c = e.getAttribute("labelwidth"), f = e.getAttribute("itemwidth");
807
+ const o = e.getAttribute("labelwidth"), f = e.getAttribute("itemwidth");
808
808
  return /* @__PURE__ */ l("div", {
809
- className: w("hdlist", $(e)),
809
+ className: w("hdlist", C(e)),
810
810
  children: [g, /* @__PURE__ */ l("table", {
811
- children: [(c || f) && /* @__PURE__ */ l("colgroup", {
811
+ children: [(o || f) && /* @__PURE__ */ l("colgroup", {
812
812
  children: [/* @__PURE__ */ r("col", {
813
813
  style: {
814
- width: c ? `${c.replace("%", "")}%` : ""
814
+ width: o ? `${o.replace("%", "")}%` : ""
815
815
  }
816
816
  }), /* @__PURE__ */ r("col", {
817
817
  style: {
@@ -827,14 +827,14 @@ const w = Ge.exports, It = ({
827
827
  return /* @__PURE__ */ l("tr", {
828
828
  children: [/* @__PURE__ */ r("td", {
829
829
  className: w("hdlist1", e.isOption("strong") ? "strong" : ""),
830
- children: y.map((C, R) => /* @__PURE__ */ l(Ae, {
831
- children: [R !== 0 && /* @__PURE__ */ r("br", {}), S(D(C))]
832
- }, R))
830
+ children: y.map((O, k) => /* @__PURE__ */ l(Te, {
831
+ children: [k !== 0 && /* @__PURE__ */ r("br", {}), S(j(O))]
832
+ }, k))
833
833
  }), m && /* @__PURE__ */ l("td", {
834
834
  className: "hdlist2",
835
835
  children: [m.hasText() && /* @__PURE__ */ r("p", {
836
- children: S(D(m))
837
- }), m.hasBlocks() && /* @__PURE__ */ r(x, {
836
+ children: S(j(m))
837
+ }), m.hasBlocks() && /* @__PURE__ */ r(I, {
838
838
  blocks: m.getBlocks()
839
839
  })]
840
840
  })]
@@ -845,18 +845,18 @@ const w = Ge.exports, It = ({
845
845
  });
846
846
  } else
847
847
  return /* @__PURE__ */ l("div", {
848
- className: w("dlist", e.getStyle(), $(e)),
848
+ className: w("dlist", e.getStyle(), C(e)),
849
849
  children: [g, /* @__PURE__ */ r("dl", {
850
- children: e.getItems().map((c, f) => {
850
+ children: e.getItems().map((o, f) => {
851
851
  const {
852
852
  terms: b,
853
853
  dd: h
854
- } = n(c);
855
- return /* @__PURE__ */ l(Ae, {
854
+ } = n(o);
855
+ return /* @__PURE__ */ l(Te, {
856
856
  children: [b.map((y, m) => /* @__PURE__ */ r("dt", {
857
857
  className: "hdlist1",
858
- children: S(D(y))
859
- }, m)), o(h)]
858
+ children: S(j(y))
859
+ }, m)), c(h)]
860
860
  }, f);
861
861
  })
862
862
  })]
@@ -867,29 +867,29 @@ const w = Ge.exports, It = ({
867
867
  }) => {
868
868
  if (!e.hasSections())
869
869
  return null;
870
- const n = e.getSections(), o = e.getDocument(), g = re(() => o.getAttributes(), [e]), c = re(() => o.getAttribute("sectnumlevels"), [e]), f = re(() => 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);
870
+ const n = e.getSections(), c = e.getDocument(), g = re(() => c.getAttributes(), [e]), o = re(() => c.getAttribute("sectnumlevels"), [e]), f = re(() => c.getAttribute("toclevels"), [e]), b = (a == null ? void 0 : a.sectNumLevels) || (o ? parseInt(o) : 3), h = (a == null ? void 0 : a.tocLevels) || (f ? parseInt(f) : 2);
871
871
  return /* @__PURE__ */ r("ul", {
872
872
  className: `sectlevel${n[0].getLevel()}`,
873
873
  children: n.map((y) => {
874
874
  let m = y.$sectnum();
875
875
  m = m === "." || m === ".." ? "" : m;
876
- const C = y.getLevel();
877
- let R = "";
876
+ const O = y.getLevel();
877
+ let k = "";
878
878
  if (y.getCaption())
879
- R = y.getCaptionedTitle();
880
- else if (C <= b)
881
- if (C < 2 && o.getDoctype() == "book") {
879
+ k = y.getCaptionedTitle();
880
+ else if (O <= b)
881
+ if (O < 2 && c.getDoctype() == "book") {
882
882
  const F = y.getSectionName();
883
- F === "chapter" ? R = `${g["chapter-signifier"] || ""} ${m} ${y.getTitle()}` : F === "part" ? R = `${g["part-signifier"] || ""} ${m} ${y.getTitle()}` : R = `${m} ${y.getTitle()}`;
883
+ F === "chapter" ? k = `${g["chapter-signifier"] || ""} ${m} ${y.getTitle()}` : F === "part" ? k = `${g["part-signifier"] || ""} ${m} ${y.getTitle()}` : k = `${m} ${y.getTitle()}`;
884
884
  } else
885
- R = `${m} ${y.getTitle()}`;
885
+ k = `${m} ${y.getTitle()}`;
886
886
  else
887
- R = y.getTitle() || "";
887
+ k = y.getTitle() || "";
888
888
  return /* @__PURE__ */ l("li", {
889
889
  children: [/* @__PURE__ */ r("a", {
890
890
  href: `#${y.getId()}`,
891
- children: S(R)
892
- }), C < h && /* @__PURE__ */ r(fe, {
891
+ children: S(k)
892
+ }), O < h && /* @__PURE__ */ r(fe, {
893
893
  node: y,
894
894
  opts: {
895
895
  tocLevels: h,
@@ -902,7 +902,7 @@ const w = Ge.exports, It = ({
902
902
  }, xt = ({
903
903
  document: e
904
904
  }) => {
905
- const a = e.getBlocks(), n = e.getFootnotes(), o = () => {
905
+ const a = e.getBlocks(), n = e.getFootnotes(), c = () => {
906
906
  var f;
907
907
  return e.getNoheader() ? null : /* @__PURE__ */ r("div", {
908
908
  id: "header",
@@ -911,7 +911,7 @@ const w = Ge.exports, It = ({
911
911
  dangerouslySetInnerHTML: {
912
912
  __html: ((f = e.getDocumentTitle()) == null ? void 0 : f.toString()) || ""
913
913
  }
914
- }), /* @__PURE__ */ r(c, {}), e.hasSections() && e.hasAttribute("toc") && e.getAttribute("toc-placement") === "auto" && /* @__PURE__ */ l("div", {
914
+ }), /* @__PURE__ */ r(o, {}), e.hasSections() && e.hasAttribute("toc") && e.getAttribute("toc-placement") === "auto" && /* @__PURE__ */ l("div", {
915
915
  id: "toc",
916
916
  className: e.getAttribute("toc-class", "toc"),
917
917
  children: [/* @__PURE__ */ r("div", {
@@ -931,11 +931,11 @@ const w = Ge.exports, It = ({
931
931
  children: [/* @__PURE__ */ r("a", {
932
932
  href: `#_footnoteref_${f.getIndex()}`,
933
933
  children: f.getIndex()
934
- }), ".", " ", S(D(f) || "")]
934
+ }), ".", " ", S(j(f) || "")]
935
935
  }, f.getIndex()))]
936
- }) : null, c = () => e.getAuthors().length > 0 || e.hasAttribute("revnumber") || e.hasAttribute("revdate") || e.hasAttribute("revremark") ? /* @__PURE__ */ l("div", {
936
+ }) : null, o = () => e.getAuthors().length > 0 || e.hasAttribute("revnumber") || e.hasAttribute("revdate") || e.hasAttribute("revremark") ? /* @__PURE__ */ l("div", {
937
937
  className: "details",
938
- children: [e.getAuthors().map((b, h) => /* @__PURE__ */ l(Ae, {
938
+ children: [e.getAuthors().map((b, h) => /* @__PURE__ */ l(Te, {
939
939
  children: [b.getName() && /* @__PURE__ */ l(L, {
940
940
  children: [/* @__PURE__ */ r("span", {
941
941
  id: `author${h + 1 > 1 ? h + 1 : ""}`,
@@ -963,27 +963,47 @@ const w = Ge.exports, It = ({
963
963
  })]
964
964
  }) : null;
965
965
  return /* @__PURE__ */ l(L, {
966
- children: [/* @__PURE__ */ r(o, {}), /* @__PURE__ */ r("div", {
966
+ children: [/* @__PURE__ */ r(c, {}), /* @__PURE__ */ r("div", {
967
967
  id: "content",
968
- children: /* @__PURE__ */ r(x, {
968
+ children: /* @__PURE__ */ r(I, {
969
969
  blocks: a
970
970
  })
971
971
  }), /* @__PURE__ */ r(g, {})]
972
972
  });
973
973
  }, Pt = ({
974
974
  node: e
975
- }) => /* @__PURE__ */ l("div", {
976
- className: w("exampleblock", $(e)),
977
- ...A(e),
978
- children: [/* @__PURE__ */ r(oe, {
979
- node: e
980
- }), /* @__PURE__ */ r("div", {
981
- className: "content",
982
- children: /* @__PURE__ */ r(x, {
983
- blocks: e.getBlocks()
984
- })
985
- })]
986
- }), jt = ({
975
+ }) => {
976
+ if (e.isOption("collapsible")) {
977
+ const a = e.isOption("collapsible"), n = e.getTitle() || "Details", c = e.isOption("open") ? !0 : void 0;
978
+ if (a)
979
+ return /* @__PURE__ */ l("details", {
980
+ className: C(e),
981
+ open: c,
982
+ ...T(e),
983
+ children: [/* @__PURE__ */ r("summary", {
984
+ className: "title",
985
+ children: n
986
+ }), /* @__PURE__ */ r("div", {
987
+ className: "content",
988
+ children: /* @__PURE__ */ r(I, {
989
+ blocks: e.getBlocks()
990
+ })
991
+ })]
992
+ });
993
+ }
994
+ return /* @__PURE__ */ l("div", {
995
+ className: w("exampleblock", C(e)),
996
+ ...T(e),
997
+ children: [/* @__PURE__ */ r(oe, {
998
+ node: e
999
+ }), /* @__PURE__ */ r("div", {
1000
+ className: "content",
1001
+ children: /* @__PURE__ */ r(I, {
1002
+ blocks: e.getBlocks()
1003
+ })
1004
+ })]
1005
+ });
1006
+ }, Dt = ({
987
1007
  node: e
988
1008
  }) => {
989
1009
  const a = e.getLevel();
@@ -991,12 +1011,12 @@ const w = Ge.exports, It = ({
991
1011
  children: [/* @__PURE__ */ r("a", {
992
1012
  className: "sectionanchor",
993
1013
  id: `${e.getId() || ""}`,
994
- ...A(e)
995
- }), K(`h${a + 1}`, null, /* @__PURE__ */ r(I, {
1014
+ ...T(e)
1015
+ }), K(`h${a + 1}`, null, /* @__PURE__ */ r(x, {
996
1016
  node: e
997
1017
  }))]
998
1018
  });
999
- }, Dt = ({
1019
+ }, jt = ({
1000
1020
  node: e
1001
1021
  }) => {
1002
1022
  const a = e.getAttribute("target");
@@ -1012,7 +1032,7 @@ const w = Ge.exports, It = ({
1012
1032
  children: n
1013
1033
  })), /* @__PURE__ */ l("div", {
1014
1034
  className: `imageblock ${e.hasAttribute("align") ? "text-" + e.getAttribute("align") : ""} ${e.hasAttribute("float") ? e.getAttribute("float") : ""} ${e.getRole() ? e.getRole() : ""}`,
1015
- ...A(e),
1035
+ ...T(e),
1016
1036
  children: [/* @__PURE__ */ r("div", {
1017
1037
  className: "content",
1018
1038
  children: n
@@ -1023,21 +1043,21 @@ const w = Ge.exports, It = ({
1023
1043
  }, Lt = ({
1024
1044
  node: e
1025
1045
  }) => {
1026
- const a = e.getDocument(), n = e.getAttributes(), o = e.isOption("nowrap") || !a.hasAttribute("prewrap"), g = U(e);
1046
+ const a = e.getDocument(), n = e.getAttributes(), c = e.isOption("nowrap") || !a.hasAttribute("prewrap"), g = U(e);
1027
1047
  if (e.getStyle() === "source") {
1028
- const c = n.language;
1048
+ const o = n.language;
1029
1049
  return /* @__PURE__ */ l("div", {
1030
1050
  className: "listingblock",
1031
- ...A(e),
1051
+ ...T(e),
1032
1052
  children: [/* @__PURE__ */ r(oe, {
1033
1053
  node: e
1034
1054
  }), /* @__PURE__ */ r("div", {
1035
1055
  className: "content",
1036
1056
  children: /* @__PURE__ */ r("pre", {
1037
- className: w("highlight", o ? " nowrap" : ""),
1038
- children: c ? /* @__PURE__ */ r("code", {
1039
- className: c ? `language-${c}` : "",
1040
- "data-lang": c,
1057
+ className: w("highlight", c ? " nowrap" : ""),
1058
+ children: o ? /* @__PURE__ */ r("code", {
1059
+ className: o ? `language-${o}` : "",
1060
+ "data-lang": o,
1041
1061
  dangerouslySetInnerHTML: {
1042
1062
  __html: g
1043
1063
  }
@@ -1052,13 +1072,13 @@ const w = Ge.exports, It = ({
1052
1072
  } else
1053
1073
  return /* @__PURE__ */ l("div", {
1054
1074
  className: "listingblock",
1055
- ...A(e),
1075
+ ...T(e),
1056
1076
  children: [/* @__PURE__ */ r(oe, {
1057
1077
  node: e
1058
1078
  }), /* @__PURE__ */ r("div", {
1059
1079
  className: "content",
1060
1080
  children: /* @__PURE__ */ r("pre", {
1061
- className: o ? " nowrap" : "",
1081
+ className: c ? " nowrap" : "",
1062
1082
  children: /* @__PURE__ */ r("code", {
1063
1083
  dangerouslySetInnerHTML: {
1064
1084
  __html: e.getSource()
@@ -1073,8 +1093,8 @@ const w = Ge.exports, It = ({
1073
1093
  const n = e.getDocument().getAttributes().prewrap === void 0 || e.isOption("nowrap");
1074
1094
  return /* @__PURE__ */ l("div", {
1075
1095
  className: "literalblock",
1076
- ...A(e),
1077
- children: [/* @__PURE__ */ r(I, {
1096
+ ...T(e),
1097
+ children: [/* @__PURE__ */ r(x, {
1078
1098
  node: e
1079
1099
  }), /* @__PURE__ */ r("div", {
1080
1100
  className: "content",
@@ -1087,19 +1107,19 @@ const w = Ge.exports, It = ({
1087
1107
  }, Mt = ({
1088
1108
  node: e
1089
1109
  }) => /* @__PURE__ */ l("div", {
1090
- className: w("olist", $(e), e.getStyle()),
1091
- ...A(e),
1092
- children: [/* @__PURE__ */ r(I, {
1110
+ className: w("olist", C(e), e.getStyle()),
1111
+ ...T(e),
1112
+ children: [/* @__PURE__ */ r(x, {
1093
1113
  node: e
1094
1114
  }), /* @__PURE__ */ r("ol", {
1095
1115
  className: e.getStyle(),
1096
1116
  reversed: e.isOption("reversed"),
1097
1117
  start: e.getAttribute("start"),
1098
1118
  children: e.getItems().map((a, n) => /* @__PURE__ */ l("li", {
1099
- className: $(e) ? $(e) : "",
1119
+ className: C(e) ? C(e) : "",
1100
1120
  children: [/* @__PURE__ */ r("p", {
1101
- children: S(D(a))
1102
- }), /* @__PURE__ */ r(x, {
1121
+ children: S(j(a))
1122
+ }), /* @__PURE__ */ r(I, {
1103
1123
  blocks: a.getBlocks()
1104
1124
  })]
1105
1125
  }, n))
@@ -1109,24 +1129,24 @@ const w = Ge.exports, It = ({
1109
1129
  }) => {
1110
1130
  const a = e.getStyle();
1111
1131
  return a === "abstract" ? /* @__PURE__ */ l("div", {
1112
- className: w("quoteblock abstract", $(e)),
1113
- ...A(e),
1114
- children: [/* @__PURE__ */ r(I, {
1132
+ className: w("quoteblock abstract", C(e)),
1133
+ ...T(e),
1134
+ children: [/* @__PURE__ */ r(x, {
1115
1135
  node: e
1116
1136
  }), /* @__PURE__ */ r("blockquote", {
1117
1137
  className: "content",
1118
- children: /* @__PURE__ */ r(x, {
1138
+ children: /* @__PURE__ */ r(I, {
1119
1139
  blocks: e.getBlocks()
1120
1140
  })
1121
1141
  })]
1122
1142
  }) : /* @__PURE__ */ l("div", {
1123
- className: w("openblock", a && a !== "open" ? a : "", $(e)),
1124
- ...A(e),
1125
- children: [/* @__PURE__ */ r(I, {
1143
+ className: w("openblock", a && a !== "open" ? a : "", C(e)),
1144
+ ...T(e),
1145
+ children: [/* @__PURE__ */ r(x, {
1126
1146
  node: e
1127
1147
  }), /* @__PURE__ */ r("div", {
1128
1148
  className: "content",
1129
- children: /* @__PURE__ */ r(x, {
1149
+ children: /* @__PURE__ */ r(I, {
1130
1150
  blocks: e.getBlocks()
1131
1151
  })
1132
1152
  })]
@@ -1141,9 +1161,9 @@ const w = Ge.exports, It = ({
1141
1161
  const a = U(e);
1142
1162
  return /* @__PURE__ */ l("div", {
1143
1163
  id: e.getId ? e.getId() : "",
1144
- className: w("paragraph", $(e)),
1145
- ...A(e),
1146
- children: [/* @__PURE__ */ r(I, {
1164
+ className: w("paragraph", C(e)),
1165
+ ...T(e),
1166
+ children: [/* @__PURE__ */ r(x, {
1147
1167
  node: e
1148
1168
  }), /* @__PURE__ */ r("p", {
1149
1169
  dangerouslySetInnerHTML: {
@@ -1164,10 +1184,10 @@ const w = Ge.exports, It = ({
1164
1184
  const a = e.getDocument(), n = a.getAttribute("toc-placement") === "preamble" && a.hasSections() && a.hasAttribute("toc");
1165
1185
  return /* @__PURE__ */ r("div", {
1166
1186
  id: "preamble",
1167
- ...A(e),
1187
+ ...T(e),
1168
1188
  children: /* @__PURE__ */ l("div", {
1169
1189
  className: "sectionbody",
1170
- children: [/* @__PURE__ */ r(x, {
1190
+ children: [/* @__PURE__ */ r(I, {
1171
1191
  blocks: e.getBlocks()
1172
1192
  }), n && /* @__PURE__ */ l("div", {
1173
1193
  id: "toc",
@@ -1184,16 +1204,16 @@ const w = Ge.exports, It = ({
1184
1204
  }, qt = ({
1185
1205
  node: e
1186
1206
  }) => {
1187
- const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
1207
+ const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), c = U(e);
1188
1208
  return /* @__PURE__ */ l("div", {
1189
1209
  id: e.getId ? e.getId() : "",
1190
- className: w("quoteblock", $(e)),
1191
- ...A(e),
1192
- children: [/* @__PURE__ */ r(I, {
1210
+ className: w("quoteblock", C(e)),
1211
+ ...T(e),
1212
+ children: [/* @__PURE__ */ r(x, {
1193
1213
  node: e
1194
1214
  }), /* @__PURE__ */ r("blockquote", {
1195
1215
  dangerouslySetInnerHTML: {
1196
- __html: o
1216
+ __html: c
1197
1217
  }
1198
1218
  }), a && /* @__PURE__ */ l("div", {
1199
1219
  className: "attribution",
@@ -1206,48 +1226,48 @@ const w = Ge.exports, It = ({
1206
1226
  node: e
1207
1227
  }) => {
1208
1228
  const a = e.getDocument().getAttributes(), n = e.getLevel();
1209
- let o = "", g = e.getSectionNumeral();
1229
+ let c = "", g = e.getSectionNumeral();
1210
1230
  g = g === "." ? "" : g;
1211
- const c = a.sectnumlevels ? parseInt(a.sectnumlevels) : 3;
1231
+ const o = a.sectnumlevels ? parseInt(a.sectnumlevels) : 3;
1212
1232
  if (e.getCaption())
1213
- o = e.getCaptionedTitle();
1214
- else if (e.isNumbered() && n <= c)
1233
+ c = e.getCaptionedTitle();
1234
+ else if (e.isNumbered() && n <= o)
1215
1235
  if (n < 2 && e.getDocument().getDoctype() == "book") {
1216
1236
  const f = e.getSectionName();
1217
- f === "chapter" ? o = `${a["chapter-signifier"] || ""} ${g} ${e.getTitle()}` : f === "part" ? o = `${a["part-signifier"] || ""} ${g} ${e.getTitle()}` : o = `${g} ${e.getTitle()}`;
1237
+ f === "chapter" ? c = `${a["chapter-signifier"] || ""} ${g} ${e.getTitle()}` : f === "part" ? c = `${a["part-signifier"] || ""} ${g} ${e.getTitle()}` : c = `${g} ${e.getTitle()}`;
1218
1238
  } else
1219
- o = `${g} ${e.getTitle()}`;
1239
+ c = `${g} ${e.getTitle()}`;
1220
1240
  else
1221
- o = e.getTitle() || "";
1222
- return a.sectlinks && (o = /* @__PURE__ */ l(L, {
1241
+ c = e.getTitle() || "";
1242
+ return a.sectlinks && (c = /* @__PURE__ */ l(L, {
1223
1243
  children: [/* @__PURE__ */ r("a", {
1224
1244
  className: "anchor",
1225
1245
  id: e.getId() || "",
1226
- ...A(e)
1246
+ ...T(e)
1227
1247
  }), /* @__PURE__ */ r("a", {
1228
1248
  className: "link",
1229
1249
  href: `#${e.getId()}`,
1230
1250
  dangerouslySetInnerHTML: {
1231
- __html: o
1251
+ __html: c
1232
1252
  }
1233
1253
  })]
1234
1254
  })), n === 0 ? /* @__PURE__ */ l(L, {
1235
1255
  children: [/* @__PURE__ */ r("h1", {
1236
- className: w("sect0", $(e)),
1256
+ className: w("sect0", C(e)),
1237
1257
  "data-sectnum": g,
1238
- ...A(e),
1239
- children: o
1240
- }), /* @__PURE__ */ r(x, {
1258
+ ...T(e),
1259
+ children: c
1260
+ }), /* @__PURE__ */ r(I, {
1241
1261
  blocks: e.getBlocks()
1242
1262
  })]
1243
1263
  }) : /* @__PURE__ */ l("div", {
1244
- className: w(`sect${n}`, $(e)),
1245
- ...A(e),
1264
+ className: w(`sect${n}`, C(e)),
1265
+ ...T(e),
1246
1266
  children: [K(`h${n + 1}`, {
1247
1267
  "data-sectnum": g
1248
- }, o), /* @__PURE__ */ r("div", {
1268
+ }, c), /* @__PURE__ */ r("div", {
1249
1269
  className: "sectionbody",
1250
- children: /* @__PURE__ */ r(x, {
1270
+ children: /* @__PURE__ */ r(I, {
1251
1271
  blocks: e.getBlocks()
1252
1272
  })
1253
1273
  })]
@@ -1255,13 +1275,13 @@ const w = Ge.exports, It = ({
1255
1275
  }, zt = ({
1256
1276
  node: e
1257
1277
  }) => /* @__PURE__ */ r("div", {
1258
- className: w("sidebarblock", $(e)),
1259
- ...A(e),
1278
+ className: w("sidebarblock", C(e)),
1279
+ ...T(e),
1260
1280
  children: /* @__PURE__ */ l("div", {
1261
1281
  className: "content",
1262
- children: [/* @__PURE__ */ r(I, {
1282
+ children: [/* @__PURE__ */ r(x, {
1263
1283
  node: e
1264
- }), /* @__PURE__ */ r(x, {
1284
+ }), /* @__PURE__ */ r(I, {
1265
1285
  blocks: e.getBlocks()
1266
1286
  })]
1267
1287
  })
@@ -1270,23 +1290,23 @@ const w = Ge.exports, It = ({
1270
1290
  }) => {
1271
1291
  let a = ["frame-" + e.getAttribute("frame", "all", "table-frame"), "grid-" + e.getAttribute("grid", "all", "table-grid")], n = e.getAttribute("stripes", null, "table-stripes");
1272
1292
  n && a.push("stripes-" + n);
1273
- let o = e.hasAutowidthOption(), g = e.getAttribute("tablepcwidth"), c = null;
1274
- 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() || "");
1275
- const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), y = e.getBodyRows(), m = e.getFootRows(), C = (P) => w(
1293
+ let c = e.hasAutowidthOption(), g = e.getAttribute("tablepcwidth"), o = null;
1294
+ c && !e.hasAttribute("width") ? a.push("fit-content") : g == 100 ? a.push("stretch") : o = `${g}%`, e.hasAttribute("float") && a.push(e.getAttribute("float")), e.getRole() && a.push(e.getRole() || "");
1295
+ const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), y = e.getBodyRows(), m = e.getFootRows(), O = (P) => w(
1276
1296
  "tableblock",
1277
1297
  `halign-${P.getAttribute("halign")}`,
1278
1298
  `valign-${P.getAttribute("valign")}`
1279
- ), R = e.getTitle(), F = e.getId(), Y = F || Kt(R || "");
1299
+ ), k = e.getTitle(), F = e.getId(), Y = F || Kt(k || "");
1280
1300
  return /* @__PURE__ */ l("table", {
1281
1301
  className: w("tableblock", ...a),
1282
1302
  style: {
1283
- width: c || void 0
1303
+ width: o || void 0
1284
1304
  },
1285
- ...A(e),
1305
+ ...T(e),
1286
1306
  children: [e.hasTitle() && /* @__PURE__ */ l("caption", {
1287
1307
  className: "title",
1288
1308
  children: [!F && /* @__PURE__ */ r("a", {
1289
- className: "tableanchor",
1309
+ className: "anchor",
1290
1310
  id: Y
1291
1311
  }), /* @__PURE__ */ r("a", {
1292
1312
  href: `#${Y}`,
@@ -1294,30 +1314,30 @@ const w = Ge.exports, It = ({
1294
1314
  })]
1295
1315
  }), f > 0 && /* @__PURE__ */ r("colgroup", {
1296
1316
  children: b.map((P, M) => {
1297
- const k = P.getAttribute("colpcwidth");
1317
+ const R = P.getAttribute("colpcwidth");
1298
1318
  return /* @__PURE__ */ r("col", {
1299
1319
  style: {
1300
- width: `${k}%`
1320
+ width: `${R}%`
1301
1321
  }
1302
1322
  }, M);
1303
1323
  })
1304
1324
  }), h.map((P, M) => /* @__PURE__ */ r("thead", {
1305
1325
  children: /* @__PURE__ */ r("tr", {
1306
- children: P.map((k, N) => /* @__PURE__ */ r("th", {
1307
- className: C(k),
1326
+ children: P.map((R, N) => /* @__PURE__ */ r("th", {
1327
+ className: O(R),
1308
1328
  dangerouslySetInnerHTML: {
1309
- __html: D(k)
1329
+ __html: j(R)
1310
1330
  }
1311
1331
  }, N))
1312
1332
  })
1313
1333
  }, M)), /* @__PURE__ */ r("tbody", {
1314
1334
  children: y.map((P, M) => /* @__PURE__ */ r("tr", {
1315
- children: P.map((k, N) => {
1316
- const he = k.getColumnSpan(), ge = k.getRowSpan(), q = U(k), V = {
1335
+ children: P.map((R, N) => {
1336
+ const he = R.getColumnSpan(), ge = R.getRowSpan(), q = U(R), V = {
1317
1337
  colSpan: he,
1318
1338
  rowSpan: ge,
1319
- className: C(k)
1320
- }, X = k.getStyle();
1339
+ className: O(R)
1340
+ }, X = R.getStyle();
1321
1341
  if (X === "asciidoc")
1322
1342
  return /* @__PURE__ */ K("td", {
1323
1343
  ...V,
@@ -1362,12 +1382,12 @@ const w = Ge.exports, It = ({
1362
1382
  }, M))
1363
1383
  }), m.map((P, M) => /* @__PURE__ */ r("tfoot", {
1364
1384
  children: /* @__PURE__ */ r("tr", {
1365
- children: P.map((k, N) => /* @__PURE__ */ r("td", {
1366
- className: C(k),
1385
+ children: P.map((R, N) => /* @__PURE__ */ r("td", {
1386
+ className: O(R),
1367
1387
  children: /* @__PURE__ */ r("p", {
1368
1388
  className: "tableblock",
1369
1389
  dangerouslySetInnerHTML: {
1370
- __html: D(k)
1390
+ __html: j(R)
1371
1391
  }
1372
1392
  })
1373
1393
  }, N))
@@ -1378,14 +1398,14 @@ const w = Ge.exports, It = ({
1378
1398
  node: e
1379
1399
  }) => {
1380
1400
  let a = e.getId() || "toc";
1381
- const n = e.getDocument(), o = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), g = re(() => n.getAttribute("toc-placement"), [e]), c = re(() => n.hasAttribute("toc"), [e]), f = e.hasAttribute("levels") ? parseInt(e.getAttribute("levels")) : void 0;
1382
- return g === "macro" && n.hasSections() && c ? /* @__PURE__ */ l("div", {
1401
+ const n = e.getDocument(), c = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), g = re(() => n.getAttribute("toc-placement"), [e]), o = re(() => n.hasAttribute("toc"), [e]), f = e.hasAttribute("levels") ? parseInt(e.getAttribute("levels")) : void 0;
1402
+ return g === "macro" && n.hasSections() && o ? /* @__PURE__ */ l("div", {
1383
1403
  id: a,
1384
- className: w("toc", $(e)),
1404
+ className: w("toc", C(e)),
1385
1405
  children: [/* @__PURE__ */ r("div", {
1386
1406
  id: `${a}title`,
1387
1407
  className: "title",
1388
- children: S(o || "")
1408
+ children: S(c || "")
1389
1409
  }), /* @__PURE__ */ r(fe, {
1390
1410
  node: e.getDocument(),
1391
1411
  opts: {
@@ -1399,47 +1419,47 @@ const w = Ge.exports, It = ({
1399
1419
  const a = e.isOption("checklist");
1400
1420
  return /* @__PURE__ */ l("div", {
1401
1421
  id: e.getId ? e.getId() : "",
1402
- className: w("ulist", e.getStyle(), $(e), a && "checklist"),
1403
- ...A(e),
1404
- children: [/* @__PURE__ */ r(I, {
1422
+ className: w("ulist", e.getStyle(), C(e), a && "checklist"),
1423
+ ...T(e),
1424
+ children: [/* @__PURE__ */ r(x, {
1405
1425
  node: e
1406
1426
  }), /* @__PURE__ */ r("ul", {
1407
1427
  className: a ? "checklist" : "",
1408
- children: e.getItems().map((n, o) => a ? /* @__PURE__ */ r("li", {
1428
+ children: e.getItems().map((n, c) => a ? /* @__PURE__ */ r("li", {
1409
1429
  id: n.getId(),
1410
- className: $(e),
1430
+ className: C(e),
1411
1431
  children: /* @__PURE__ */ l("p", {
1412
1432
  children: [a && n.hasAttribute("checkbox") && /* @__PURE__ */ r("i", {
1413
1433
  className: w("fa", n.hasAttribute("checked") ? "fa-check-square-o" : "fa-square-o")
1414
- }), " ", S(D(n))]
1434
+ }), " ", S(j(n))]
1415
1435
  })
1416
- }, o) : /* @__PURE__ */ l("li", {
1436
+ }, c) : /* @__PURE__ */ l("li", {
1417
1437
  id: n.getId(),
1418
- className: $(e),
1438
+ className: C(e),
1419
1439
  children: [/* @__PURE__ */ r("p", {
1420
1440
  dangerouslySetInnerHTML: {
1421
- __html: D(n)
1441
+ __html: j(n)
1422
1442
  }
1423
- }), /* @__PURE__ */ r(x, {
1443
+ }), /* @__PURE__ */ r(I, {
1424
1444
  blocks: n.getBlocks()
1425
1445
  })]
1426
- }, o))
1446
+ }, c))
1427
1447
  })]
1428
1448
  });
1429
1449
  }, Zt = ({
1430
1450
  node: e
1431
1451
  }) => {
1432
- const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
1452
+ const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), c = U(e);
1433
1453
  return /* @__PURE__ */ l("div", {
1434
1454
  id: e.getId ? e.getId() : "",
1435
- className: w("verseblock", $(e)),
1436
- ...A(e),
1437
- children: [/* @__PURE__ */ r(I, {
1455
+ className: w("verseblock", C(e)),
1456
+ ...T(e),
1457
+ children: [/* @__PURE__ */ r(x, {
1438
1458
  node: e
1439
1459
  }), /* @__PURE__ */ r("pre", {
1440
1460
  className: "content",
1441
1461
  dangerouslySetInnerHTML: {
1442
- __html: o
1462
+ __html: c
1443
1463
  }
1444
1464
  }), a && /* @__PURE__ */ l("div", {
1445
1465
  className: "attribution",
@@ -1448,7 +1468,7 @@ const w = Ge.exports, It = ({
1448
1468
  })]
1449
1469
  })]
1450
1470
  });
1451
- }, Xe = kt({}), ar = ({
1471
+ }, Xe = Rt({}), ar = ({
1452
1472
  content: e,
1453
1473
  options: a
1454
1474
  }) => {
@@ -1461,7 +1481,7 @@ const w = Ge.exports, It = ({
1461
1481
  document: e
1462
1482
  })
1463
1483
  });
1464
- }, x = ({
1484
+ }, I = ({
1465
1485
  blocks: e
1466
1486
  }) => /* @__PURE__ */ r(L, {
1467
1487
  children: e.map((a, n) => /* @__PURE__ */ r(er, {
@@ -1470,16 +1490,16 @@ const w = Ge.exports, It = ({
1470
1490
  }), er = ({
1471
1491
  node: e
1472
1492
  }) => {
1473
- const a = Et(Xe), n = e.getNodeName(), o = e.getDocument(), g = e.getAttributes();
1474
- o.playbackAttributes(g);
1475
- const c = a && a.overrides && a.overrides[n];
1476
- if (c)
1477
- return /* @__PURE__ */ r(c, {
1493
+ const a = Et(Xe), n = e.getNodeName(), c = e.getDocument(), g = e.getAttributes();
1494
+ c.playbackAttributes(g);
1495
+ const o = a && a.overrides && a.overrides[n];
1496
+ if (o)
1497
+ return /* @__PURE__ */ r(o, {
1478
1498
  node: e
1479
1499
  });
1480
1500
  switch (n) {
1481
1501
  case "audio":
1482
- return /* @__PURE__ */ r($t, {
1502
+ return /* @__PURE__ */ r(Ot, {
1483
1503
  node: e
1484
1504
  });
1485
1505
  case "preamble":
@@ -1503,7 +1523,7 @@ const w = Ge.exports, It = ({
1503
1523
  node: e
1504
1524
  });
1505
1525
  case "floating_title":
1506
- return /* @__PURE__ */ r(jt, {
1526
+ return /* @__PURE__ */ r(Dt, {
1507
1527
  node: e
1508
1528
  });
1509
1529
  case "admonition":
@@ -1519,11 +1539,11 @@ const w = Ge.exports, It = ({
1519
1539
  node: e
1520
1540
  });
1521
1541
  case "image":
1522
- return /* @__PURE__ */ r(Dt, {
1542
+ return /* @__PURE__ */ r(jt, {
1523
1543
  node: e
1524
1544
  });
1525
1545
  case "colist":
1526
- return /* @__PURE__ */ r(Ot, {
1546
+ return /* @__PURE__ */ r($t, {
1527
1547
  node: e
1528
1548
  });
1529
1549
  case "olist":
@@ -1574,15 +1594,15 @@ const w = Ge.exports, It = ({
1574
1594
  };
1575
1595
  export {
1576
1596
  Ct as Admonition,
1577
- $t as Audio,
1597
+ Ot as Audio,
1578
1598
  oe as CaptionedTitle,
1579
- Ot as CoList,
1580
- x as Content,
1599
+ $t as CoList,
1600
+ I as Content,
1581
1601
  It as DList,
1582
1602
  xt as Document,
1583
1603
  Pt as Example,
1584
- jt as FloatingTitle,
1585
- Dt as Image,
1604
+ Dt as FloatingTitle,
1605
+ jt as Image,
1586
1606
  Lt as Listing,
1587
1607
  Ft as Literal,
1588
1608
  Mt as OList,
@@ -1598,14 +1618,14 @@ export {
1598
1618
  Jt as Table,
1599
1619
  Gt as TableOfContents,
1600
1620
  Xt as ThematicBreak,
1601
- I as Title,
1621
+ x as Title,
1602
1622
  Qt as UList,
1603
1623
  Zt as Verse,
1604
1624
  sr as asciidoctor,
1605
1625
  ar as default,
1606
1626
  U as getContent,
1607
- A as getLineNumber,
1608
- $ as getRole,
1609
- D as getText,
1627
+ T as getLineNumber,
1628
+ C as getRole,
1629
+ j as getText,
1610
1630
  cr as parse
1611
1631
  };