@oxide/react-asciidoc 0.1.3-alpha.6 → 0.1.3-alpha.7

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,7 +1,8 @@
1
1
  import { default as nr } from "@asciidoctor/core";
2
2
  import w from "html-react-parser";
3
+ import { default as lr } from "html-react-parser";
3
4
  import Ve, { Fragment as ye, useMemo as ee, createElement as J, createContext as kt, useContext as Et } from "react";
4
- const z = {}, H = (e) => {
5
+ const z = {}, U = (e) => {
5
6
  const a = e.$$id;
6
7
  if (z[a])
7
8
  return z[a];
@@ -24,21 +25,21 @@ var ce = { exports: {} }, Q = {};
24
25
  * This source code is licensed under the MIT license found in the
25
26
  * LICENSE file in the root directory of this source tree.
26
27
  */
27
- var Ue;
28
+ var He;
28
29
  function St() {
29
- if (Ue)
30
+ if (He)
30
31
  return Q;
31
- Ue = 1;
32
+ He = 1;
32
33
  var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
33
34
  function f(b, h, _) {
34
- var v, S = {}, y = null, O = null;
35
- _ !== void 0 && (y = "" + _), h.key !== void 0 && (y = "" + h.key), h.ref !== void 0 && (O = h.ref);
35
+ var v, S = {}, y = null, $ = null;
36
+ _ !== void 0 && (y = "" + _), h.key !== void 0 && (y = "" + h.key), h.ref !== void 0 && ($ = h.ref);
36
37
  for (v in h)
37
38
  o.call(h, v) && !c.hasOwnProperty(v) && (S[v] = h[v]);
38
39
  if (b && b.defaultProps)
39
40
  for (v in h = b.defaultProps, h)
40
41
  S[v] === void 0 && (S[v] = h[v]);
41
- return { $$typeof: a, type: b, key: y, ref: O, props: S, _owner: g.current };
42
+ return { $$typeof: a, type: b, key: y, ref: $, props: S, _owner: g.current };
42
43
  }
43
44
  return Q.Fragment = n, Q.jsx = f, Q.jsxs = f, Q;
44
45
  }
@@ -55,22 +56,22 @@ var Z = {};
55
56
  var qe;
56
57
  function wt() {
57
58
  return qe || (qe = 1, process.env.NODE_ENV !== "production" && function() {
58
- var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), b = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), $ = Symbol.iterator, F = "@@iterator";
59
+ var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), b = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), O = Symbol.iterator, F = "@@iterator";
59
60
  function ue(t) {
60
61
  if (t === null || typeof t != "object")
61
62
  return null;
62
- var i = $ && t[$] || t[F];
63
+ var i = O && t[O] || t[F];
63
64
  return typeof i == "function" ? i : null;
64
65
  }
65
66
  var W = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
66
- function R(t) {
67
+ function T(t) {
67
68
  {
68
69
  for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
69
70
  s[u - 1] = arguments[u];
70
- U("error", t, s);
71
+ H("error", t, s);
71
72
  }
72
73
  }
73
- function U(t, i, s) {
74
+ function H(t, i, s) {
74
75
  {
75
76
  var u = W.ReactDebugCurrentFrame, p = u.getStackAddendum();
76
77
  p !== "" && (i += "%s", s = s.concat([p]));
@@ -83,7 +84,7 @@ function wt() {
83
84
  var G = !1, te = !1, Ge = !1, Ke = !1, Xe = !1, _e;
84
85
  _e = Symbol.for("react.module.reference");
85
86
  function Qe(t) {
86
- return !!(typeof t == "string" || typeof t == "function" || t === o || t === c || Xe || t === g || t === _ || t === v || Ke || t === O || G || te || Ge || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === S || t.$$typeof === f || t.$$typeof === b || t.$$typeof === h || t.$$typeof === _e || t.getModuleId !== void 0));
87
+ return !!(typeof t == "string" || typeof t == "function" || t === o || t === c || Xe || t === g || t === _ || t === v || Ke || t === $ || G || te || Ge || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === S || t.$$typeof === f || t.$$typeof === b || t.$$typeof === h || t.$$typeof === _e || t.getModuleId !== void 0));
87
88
  }
88
89
  function Ze(t, i, s) {
89
90
  var u = t.displayName;
@@ -98,7 +99,7 @@ function wt() {
98
99
  function M(t) {
99
100
  if (t == null)
100
101
  return null;
101
- if (typeof t.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
102
+ if (typeof t.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
102
103
  return t.displayName || t.name || null;
103
104
  if (typeof t == "string")
104
105
  return t;
@@ -199,7 +200,7 @@ function wt() {
199
200
  })
200
201
  });
201
202
  }
202
- K < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
203
+ K < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
203
204
  }
204
205
  }
205
206
  var fe = W.ReactCurrentDispatcher, he;
@@ -221,7 +222,7 @@ function wt() {
221
222
  var rt = typeof WeakMap == "function" ? WeakMap : Map;
222
223
  ae = new rt();
223
224
  }
224
- function $e(t, i) {
225
+ function Oe(t, i) {
225
226
  if (!t || ge)
226
227
  return "";
227
228
  {
@@ -271,29 +272,29 @@ function wt() {
271
272
  if (B && u && typeof B.stack == "string") {
272
273
  for (var d = B.stack.split(`
273
274
  `), I = u.stack.split(`
274
- `), T = d.length - 1, k = I.length - 1; T >= 1 && k >= 0 && d[T] !== I[k]; )
275
- k--;
276
- for (; T >= 1 && k >= 0; T--, k--)
277
- if (d[T] !== I[k]) {
278
- if (T !== 1 || k !== 1)
275
+ `), N = d.length - 1, R = I.length - 1; N >= 1 && R >= 0 && d[N] !== I[R]; )
276
+ R--;
277
+ for (; N >= 1 && R >= 0; N--, R--)
278
+ if (d[N] !== I[R]) {
279
+ if (N !== 1 || R !== 1)
279
280
  do
280
- if (T--, k--, k < 0 || d[T] !== I[k]) {
281
+ if (N--, R--, R < 0 || d[N] !== I[R]) {
281
282
  var j = `
282
- ` + d[T].replace(" at new ", " at ");
283
+ ` + d[N].replace(" at new ", " at ");
283
284
  return t.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", t.displayName)), typeof t == "function" && ae.set(t, j), j;
284
285
  }
285
- while (T >= 1 && k >= 0);
286
+ while (N >= 1 && R >= 0);
286
287
  break;
287
288
  }
288
289
  }
289
290
  } finally {
290
291
  ge = !1, fe.current = A, tt(), Error.prepareStackTrace = p;
291
292
  }
292
- var V = t ? t.displayName || t.name : "", He = V ? re(V) : "";
293
- return typeof t == "function" && ae.set(t, He), He;
293
+ var V = t ? t.displayName || t.name : "", Ue = V ? re(V) : "";
294
+ return typeof t == "function" && ae.set(t, Ue), Ue;
294
295
  }
295
296
  function at(t, i, s) {
296
- return $e(t, !1);
297
+ return Oe(t, !1);
297
298
  }
298
299
  function it(t) {
299
300
  var i = t.prototype;
@@ -303,7 +304,7 @@ function wt() {
303
304
  if (t == null)
304
305
  return "";
305
306
  if (typeof t == "function")
306
- return $e(t, it(t));
307
+ return Oe(t, it(t));
307
308
  if (typeof t == "string")
308
309
  return re(t);
309
310
  switch (t) {
@@ -328,7 +329,7 @@ function wt() {
328
329
  }
329
330
  return "";
330
331
  }
331
- var ne = Object.prototype.hasOwnProperty, Oe = {}, Ie = W.ReactDebugCurrentFrame;
332
+ var ne = Object.prototype.hasOwnProperty, $e = {}, Ie = W.ReactDebugCurrentFrame;
332
333
  function se(t) {
333
334
  if (t) {
334
335
  var i = t._owner, s = ie(t.type, t._source, i ? i.type : null);
@@ -348,10 +349,10 @@ function wt() {
348
349
  throw I.name = "Invariant Violation", I;
349
350
  }
350
351
  d = t[m](i, m, u, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
351
- } catch (T) {
352
- d = T;
352
+ } catch (N) {
353
+ d = N;
353
354
  }
354
- d && !(d instanceof Error) && (se(p), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", s, m, typeof d), se(null)), d instanceof Error && !(d.message in Oe) && (Oe[d.message] = !0, se(p), R("Failed %s type: %s", s, d.message), se(null));
355
+ d && !(d instanceof Error) && (se(p), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", s, m, typeof d), se(null)), d instanceof Error && !(d.message in $e) && ($e[d.message] = !0, se(p), T("Failed %s type: %s", s, d.message), se(null));
355
356
  }
356
357
  }
357
358
  }
@@ -377,7 +378,7 @@ function wt() {
377
378
  }
378
379
  function Pe(t) {
379
380
  if (ct(t))
380
- return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), xe(t);
381
+ return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), xe(t);
381
382
  }
382
383
  var X = W.ReactCurrentOwner, ot = {
383
384
  key: !0,
@@ -405,13 +406,13 @@ function wt() {
405
406
  function ht(t, i) {
406
407
  if (typeof t.ref == "string" && X.current && i && X.current.stateNode !== i) {
407
408
  var s = M(X.current.type);
408
- ve[s] || (R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', M(X.current.type), t.ref), ve[s] = !0);
409
+ ve[s] || (T('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', M(X.current.type), t.ref), ve[s] = !0);
409
410
  }
410
411
  }
411
412
  function gt(t, i) {
412
413
  {
413
414
  var s = function() {
414
- je || (je = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
415
+ je || (je = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
415
416
  };
416
417
  s.isReactWarning = !0, Object.defineProperty(t, "key", {
417
418
  get: s,
@@ -422,7 +423,7 @@ function wt() {
422
423
  function dt(t, i) {
423
424
  {
424
425
  var s = function() {
425
- De || (De = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
426
+ De || (De = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
426
427
  };
427
428
  s.isReactWarning = !0, Object.defineProperty(t, "ref", {
428
429
  get: s,
@@ -463,13 +464,13 @@ function wt() {
463
464
  for (A in i)
464
465
  ne.call(i, A) && !ot.hasOwnProperty(A) && (m[A] = i[A]);
465
466
  if (t && t.defaultProps) {
466
- var T = t.defaultProps;
467
- for (A in T)
468
- m[A] === void 0 && (m[A] = T[A]);
467
+ var N = t.defaultProps;
468
+ for (A in N)
469
+ m[A] === void 0 && (m[A] = N[A]);
469
470
  }
470
471
  if (d || I) {
471
- var k = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
472
- d && gt(m, k), I && dt(m, k);
472
+ var R = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
473
+ d && gt(m, R), I && dt(m, R);
473
474
  }
474
475
  return vt(t, d, I, p, u, X.current, m);
475
476
  }
@@ -533,7 +534,7 @@ Check the top-level render call using <` + s + ">.");
533
534
  return;
534
535
  Me[s] = !0;
535
536
  var u = "";
536
- t && t._owner && t._owner !== me.current && (u = " It was passed a child from " + M(t._owner.type) + "."), q(t), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, u), q(null);
537
+ t && t._owner && t._owner !== me.current && (u = " It was passed a child from " + M(t._owner.type) + "."), q(t), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, u), q(null);
537
538
  }
538
539
  }
539
540
  function We(t, i) {
@@ -573,9 +574,9 @@ Check the top-level render call using <` + s + ">.");
573
574
  } else if (i.PropTypes !== void 0 && !pe) {
574
575
  pe = !0;
575
576
  var p = M(i);
576
- R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
577
+ T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
577
578
  }
578
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
579
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
579
580
  }
580
581
  }
581
582
  function _t(t) {
@@ -583,11 +584,11 @@ Check the top-level render call using <` + s + ">.");
583
584
  for (var i = Object.keys(t.props), s = 0; s < i.length; s++) {
584
585
  var u = i[s];
585
586
  if (u !== "children" && u !== "key") {
586
- q(t), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
587
+ q(t), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
587
588
  break;
588
589
  }
589
590
  }
590
- t.ref !== null && (q(t), R("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
591
+ t.ref !== null && (q(t), T("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
591
592
  }
592
593
  }
593
594
  function Ye(t, i, s, u, p, A) {
@@ -598,12 +599,12 @@ Check the top-level render call using <` + s + ">.");
598
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.");
599
600
  var I = pt(p);
600
601
  I ? d += I : d += Fe();
601
- var T;
602
- t === null ? T = "null" : de(t) ? T = "array" : t !== void 0 && t.$$typeof === a ? (T = "<" + (M(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, d);
602
+ var N;
603
+ t === null ? N = "null" : de(t) ? N = "array" : t !== void 0 && t.$$typeof === a ? (N = "<" + (M(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : N = typeof t, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, d);
603
604
  }
604
- var k = mt(t, i, s, p, A);
605
- if (k == null)
606
- return k;
605
+ var R = mt(t, i, s, p, A);
606
+ if (R == null)
607
+ return R;
607
608
  if (m) {
608
609
  var j = i.children;
609
610
  if (j !== void 0)
@@ -613,11 +614,11 @@ Check the top-level render call using <` + s + ">.");
613
614
  We(j[V], t);
614
615
  Object.freeze && Object.freeze(j);
615
616
  } else
616
- R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
617
+ T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
617
618
  else
618
619
  We(j, t);
619
620
  }
620
- return t === o ? _t(k) : yt(k), k;
621
+ return t === o ? _t(R) : yt(R), R;
621
622
  }
622
623
  }
623
624
  function At(t, i, s) {
@@ -643,12 +644,12 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
643
644
  }) => e.hasTitle() ? /* @__PURE__ */ r("div", {
644
645
  className: "title",
645
646
  children: w(e.getCaptionedTitle() || "")
646
- }) : null, C = (e) => typeof e.getRole() == "string" ? e.getRole() : void 0, N = (e) => e.getLineNumber() ? {
647
+ }) : null, C = (e) => typeof e.getRole() == "string" ? e.getRole() : void 0, E = (e) => e.getLineNumber() ? {
647
648
  "data-lineno": e.getLineNumber()
648
649
  } : {}, Ct = ({
649
650
  node: e
650
651
  }) => {
651
- const a = e.getAttributes(), n = e.getDocument(), o = H(e), g = () => n.getAttribute("icons") === "font" && !a.icon ? /* @__PURE__ */ r("i", {
652
+ const a = e.getAttributes(), n = e.getDocument(), o = U(e), g = () => n.getAttribute("icons") === "font" && !a.icon ? /* @__PURE__ */ r("i", {
652
653
  className: `fa icon-${a.name}`,
653
654
  title: a.textlabel
654
655
  }) : /* @__PURE__ */ r("img", {
@@ -657,7 +658,7 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
657
658
  });
658
659
  return e.content_model, /* @__PURE__ */ r("div", {
659
660
  className: `admonitionblock ${a.name}`,
660
- ...N(e),
661
+ ...E(e),
661
662
  children: /* @__PURE__ */ r("table", {
662
663
  children: /* @__PURE__ */ r("tbody", {
663
664
  children: /* @__PURE__ */ l("tr", {
@@ -677,13 +678,13 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
677
678
  })
678
679
  })
679
680
  });
680
- }, $t = ({
681
+ }, Ot = ({
681
682
  node: e
682
683
  }) => {
683
684
  const a = e.getAttribute("start"), n = e.getAttribute("start"), o = (a || n) && `#t=${a || ""}` + n ? `,${n}` : "";
684
685
  return /* @__PURE__ */ l("div", {
685
686
  className: "audioblock",
686
- ...N(e),
687
+ ...E(e),
687
688
  children: [/* @__PURE__ */ r(x, {
688
689
  node: e
689
690
  }), /* @__PURE__ */ r("div", {
@@ -697,11 +698,11 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
697
698
  })
698
699
  })]
699
700
  });
700
- }, Ot = ({
701
+ }, $t = ({
701
702
  node: e
702
703
  }) => /* @__PURE__ */ l("div", {
703
704
  className: "colist",
704
- ...N(e),
705
+ ...E(e),
705
706
  children: [/* @__PURE__ */ r(x, {
706
707
  node: e
707
708
  }), /* @__PURE__ */ r("table", {
@@ -759,7 +760,7 @@ var Je = { exports: {} };
759
760
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
760
761
  })();
761
762
  })(Je);
762
- const E = Je.exports, It = ({
763
+ const k = Je.exports, It = ({
763
764
  node: e
764
765
  }) => {
765
766
  const a = e.getStyle(), n = (c) => {
@@ -784,8 +785,8 @@ const E = Je.exports, It = ({
784
785
  });
785
786
  if (a === "qanda")
786
787
  return /* @__PURE__ */ l("div", {
787
- className: E("qlist qanda", C(e)),
788
- ...N(e),
788
+ className: k("qlist qanda", C(e)),
789
+ ...E(e),
789
790
  children: [g, /* @__PURE__ */ r("ol", {
790
791
  children: e.getItems().map((c, f) => {
791
792
  const {
@@ -805,7 +806,7 @@ const E = Je.exports, It = ({
805
806
  if (a === "horizontal") {
806
807
  const c = e.getAttribute("labelwidth"), f = e.getAttribute("itemwidth");
807
808
  return /* @__PURE__ */ l("div", {
808
- className: E("hdlist", C(e)),
809
+ className: k("hdlist", C(e)),
809
810
  children: [g, /* @__PURE__ */ l("table", {
810
811
  children: [(c || f) && /* @__PURE__ */ l("colgroup", {
811
812
  children: [/* @__PURE__ */ r("col", {
@@ -825,7 +826,7 @@ const E = Je.exports, It = ({
825
826
  } = n(b);
826
827
  return /* @__PURE__ */ l("tr", {
827
828
  children: [/* @__PURE__ */ r("td", {
828
- className: E("hdlist1", e.isOption("strong") ? "strong" : ""),
829
+ className: k("hdlist1", e.isOption("strong") ? "strong" : ""),
829
830
  children: _.map((S, y) => /* @__PURE__ */ l(ye, {
830
831
  children: [y !== 0 && /* @__PURE__ */ r("br", {}), w(D(S))]
831
832
  }, y))
@@ -844,7 +845,7 @@ const E = Je.exports, It = ({
844
845
  });
845
846
  } else
846
847
  return /* @__PURE__ */ l("div", {
847
- className: E("dlist", e.getStyle(), C(e)),
848
+ className: k("dlist", e.getStyle(), C(e)),
848
849
  children: [g, /* @__PURE__ */ r("dl", {
849
850
  children: e.getItems().map((c, f) => {
850
851
  const {
@@ -878,8 +879,8 @@ const E = Je.exports, It = ({
878
879
  y = _.getCaptionedTitle();
879
880
  else if (S <= b)
880
881
  if (S < 2 && o.getDoctype() == "book") {
881
- const O = _.getSectionName();
882
- O === "chapter" ? y = `${g["chapter-signifier"] || ""} ${v} ${_.getTitle()}` : O === "part" ? y = `${g["part-signifier"] || ""} ${v} ${_.getTitle()}` : y = `${v} ${_.getTitle()}`;
882
+ const $ = _.getSectionName();
883
+ $ === "chapter" ? y = `${g["chapter-signifier"] || ""} ${v} ${_.getTitle()}` : $ === "part" ? y = `${g["part-signifier"] || ""} ${v} ${_.getTitle()}` : y = `${v} ${_.getTitle()}`;
883
884
  } else
884
885
  y = `${v} ${_.getTitle()}`;
885
886
  else
@@ -972,8 +973,8 @@ const E = Je.exports, It = ({
972
973
  }, Pt = ({
973
974
  node: e
974
975
  }) => /* @__PURE__ */ l("div", {
975
- className: E("exampleblock", C(e)),
976
- ...N(e),
976
+ className: k("exampleblock", C(e)),
977
+ ...E(e),
977
978
  children: [/* @__PURE__ */ r(le, {
978
979
  node: e
979
980
  }), /* @__PURE__ */ r("div", {
@@ -990,7 +991,7 @@ const E = Je.exports, It = ({
990
991
  children: [/* @__PURE__ */ r("a", {
991
992
  className: "sectionanchor",
992
993
  id: `${e.getId() || ""}`,
993
- ...N(e)
994
+ ...E(e)
994
995
  }), J(`h${a + 1}`, null, /* @__PURE__ */ r(x, {
995
996
  node: e
996
997
  }))]
@@ -1011,7 +1012,7 @@ const E = Je.exports, It = ({
1011
1012
  children: n
1012
1013
  })), /* @__PURE__ */ l("div", {
1013
1014
  className: `imageblock ${e.hasAttribute("align") ? "text-" + e.getAttribute("align") : ""} ${e.hasAttribute("float") ? e.getAttribute("float") : ""} ${e.getRole() ? e.getRole() : ""}`,
1014
- ...N(e),
1015
+ ...E(e),
1015
1016
  children: [/* @__PURE__ */ r("div", {
1016
1017
  className: "content",
1017
1018
  children: n
@@ -1022,18 +1023,18 @@ const E = Je.exports, It = ({
1022
1023
  }, Lt = ({
1023
1024
  node: e
1024
1025
  }) => {
1025
- const a = e.getDocument(), n = e.getAttributes(), o = e.isOption("nowrap") || !a.hasAttribute("prewrap"), g = H(e);
1026
+ const a = e.getDocument(), n = e.getAttributes(), o = e.isOption("nowrap") || !a.hasAttribute("prewrap"), g = U(e);
1026
1027
  if (e.getStyle() === "source") {
1027
1028
  const c = n.language;
1028
1029
  return /* @__PURE__ */ l("div", {
1029
1030
  className: "listingblock",
1030
- ...N(e),
1031
+ ...E(e),
1031
1032
  children: [/* @__PURE__ */ r(le, {
1032
1033
  node: e
1033
1034
  }), /* @__PURE__ */ r("div", {
1034
1035
  className: "content",
1035
1036
  children: /* @__PURE__ */ r("pre", {
1036
- className: E("highlight", o ? " nowrap" : ""),
1037
+ className: k("highlight", o ? " nowrap" : ""),
1037
1038
  children: c ? /* @__PURE__ */ r("code", {
1038
1039
  className: c ? `language-${c}` : "",
1039
1040
  "data-lang": c,
@@ -1051,7 +1052,7 @@ const E = Je.exports, It = ({
1051
1052
  } else
1052
1053
  return /* @__PURE__ */ l("div", {
1053
1054
  className: "listingblock",
1054
- ...N(e),
1055
+ ...E(e),
1055
1056
  children: [/* @__PURE__ */ r(le, {
1056
1057
  node: e
1057
1058
  }), /* @__PURE__ */ r("div", {
@@ -1072,7 +1073,7 @@ const E = Je.exports, It = ({
1072
1073
  const n = e.getDocument().getAttributes().prewrap === void 0 || e.isOption("nowrap");
1073
1074
  return /* @__PURE__ */ l("div", {
1074
1075
  className: "literalblock",
1075
- ...N(e),
1076
+ ...E(e),
1076
1077
  children: [/* @__PURE__ */ r(x, {
1077
1078
  node: e
1078
1079
  }), /* @__PURE__ */ r("div", {
@@ -1086,8 +1087,8 @@ const E = Je.exports, It = ({
1086
1087
  }, Mt = ({
1087
1088
  node: e
1088
1089
  }) => /* @__PURE__ */ l("div", {
1089
- className: E("olist", C(e), e.getStyle()),
1090
- ...N(e),
1090
+ className: k("olist", C(e), e.getStyle()),
1091
+ ...E(e),
1091
1092
  children: [/* @__PURE__ */ r(x, {
1092
1093
  node: e
1093
1094
  }), /* @__PURE__ */ r("ol", {
@@ -1108,8 +1109,8 @@ const E = Je.exports, It = ({
1108
1109
  }) => {
1109
1110
  const a = e.getStyle();
1110
1111
  return a === "abstract" ? /* @__PURE__ */ l("div", {
1111
- className: E("quoteblock abstract", C(e)),
1112
- ...N(e),
1112
+ className: k("quoteblock abstract", C(e)),
1113
+ ...E(e),
1113
1114
  children: [/* @__PURE__ */ r(x, {
1114
1115
  node: e
1115
1116
  }), /* @__PURE__ */ r("blockquote", {
@@ -1119,8 +1120,8 @@ const E = Je.exports, It = ({
1119
1120
  })
1120
1121
  })]
1121
1122
  }) : /* @__PURE__ */ l("div", {
1122
- className: E("openblock", a && a !== "open" ? a : "", C(e)),
1123
- ...N(e),
1123
+ className: k("openblock", a && a !== "open" ? a : "", C(e)),
1124
+ ...E(e),
1124
1125
  children: [/* @__PURE__ */ r(x, {
1125
1126
  node: e
1126
1127
  }), /* @__PURE__ */ r("div", {
@@ -1137,11 +1138,11 @@ const E = Je.exports, It = ({
1137
1138
  }), Yt = ({
1138
1139
  node: e
1139
1140
  }) => {
1140
- const a = H(e);
1141
+ const a = U(e);
1141
1142
  return /* @__PURE__ */ l("div", {
1142
1143
  id: e.getId ? e.getId() : "",
1143
- className: E("paragraph", C(e)),
1144
- ...N(e),
1144
+ className: k("paragraph", C(e)),
1145
+ ...E(e),
1145
1146
  children: [/* @__PURE__ */ r(x, {
1146
1147
  node: e
1147
1148
  }), /* @__PURE__ */ r("p", {
@@ -1150,20 +1151,20 @@ const E = Je.exports, It = ({
1150
1151
  }
1151
1152
  })]
1152
1153
  });
1153
- }, Ht = ({
1154
+ }, Ut = ({
1154
1155
  node: e
1155
1156
  }) => {
1156
- const a = H(e);
1157
+ const a = U(e);
1157
1158
  return /* @__PURE__ */ r(L, {
1158
1159
  children: w(a)
1159
1160
  });
1160
- }, Ut = ({
1161
+ }, Ht = ({
1161
1162
  node: e
1162
1163
  }) => {
1163
1164
  const a = e.getDocument(), n = a.getAttribute("toc-placement") === "preamble" && a.hasSections() && a.hasAttribute("toc");
1164
1165
  return /* @__PURE__ */ r("div", {
1165
1166
  id: "preamble",
1166
- ...N(e),
1167
+ ...E(e),
1167
1168
  children: /* @__PURE__ */ l("div", {
1168
1169
  className: "sectionbody",
1169
1170
  children: [/* @__PURE__ */ r(P, {
@@ -1183,11 +1184,11 @@ const E = Je.exports, It = ({
1183
1184
  }, qt = ({
1184
1185
  node: e
1185
1186
  }) => {
1186
- const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = H(e);
1187
+ const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
1187
1188
  return /* @__PURE__ */ l("div", {
1188
1189
  id: e.getId ? e.getId() : "",
1189
- className: E("quoteblock", C(e)),
1190
- ...N(e),
1190
+ className: k("quoteblock", C(e)),
1191
+ ...E(e),
1191
1192
  children: [/* @__PURE__ */ r(x, {
1192
1193
  node: e
1193
1194
  }), /* @__PURE__ */ r("blockquote", {
@@ -1211,37 +1212,33 @@ const E = Je.exports, It = ({
1211
1212
  if (e.getCaption())
1212
1213
  o = e.getCaptionedTitle();
1213
1214
  else if (e.isNumbered() && n <= c)
1214
- if (n < 2 && e.getDocument().getDoctype() == "book") {
1215
+ if (n < 2 && e.getDocument().getDoctype() === "book") {
1215
1216
  const f = e.getSectionName();
1216
- f === "chapter" ? o = `${a["chapter-signifier"] || ""} ${g} ${e.getTitle()}` : f === "part" ? o = `${a["part-signifier"] || ""} ${g} ${e.getTitle()}` : o = `${g} ${e.getTitle()}`;
1217
+ f === "chapter" ? o = `${a["chapter-signifier"] || ""} ${g} ${e.getTitle()}` : f === "part" ? o = `${a["part-signifier"] || ""} ${g} ${e.getTitle()}` : o = `${e.getTitle()}`;
1217
1218
  } else
1218
- o = `${g} ${e.getTitle()}`;
1219
+ o = `${e.getTitle()}`;
1219
1220
  else
1220
1221
  o = e.getTitle() || "";
1221
- return a.sectlinks && (o = /* @__PURE__ */ l(L, {
1222
+ return o = /* @__PURE__ */ l(L, {
1222
1223
  children: [/* @__PURE__ */ r("a", {
1223
1224
  className: "anchor",
1224
1225
  id: e.getId() || "",
1225
- ...N(e)
1226
+ "aria-hidden": !0
1226
1227
  }), /* @__PURE__ */ r("a", {
1227
- className: "link",
1228
+ className: "link group",
1228
1229
  href: `#${e.getId()}`,
1229
- dangerouslySetInnerHTML: {
1230
- __html: o
1231
- }
1230
+ children: o
1232
1231
  })]
1233
- })), n === 0 ? /* @__PURE__ */ l(L, {
1232
+ }), n === 0 ? /* @__PURE__ */ l(L, {
1234
1233
  children: [/* @__PURE__ */ r("h1", {
1235
- className: E("sect0", C(e)),
1234
+ className: k("sect0", C(e)),
1236
1235
  "data-sectnum": g,
1237
- ...N(e),
1238
1236
  children: o
1239
1237
  }), /* @__PURE__ */ r(P, {
1240
1238
  blocks: e.getBlocks()
1241
1239
  })]
1242
1240
  }) : /* @__PURE__ */ l("div", {
1243
- className: E(`sect${n}`, C(e)),
1244
- ...N(e),
1241
+ className: k(`sect${n}`, C(e)),
1245
1242
  children: [J(`h${n + 1}`, {
1246
1243
  "data-sectnum": g
1247
1244
  }, o), /* @__PURE__ */ r("div", {
@@ -1254,8 +1251,8 @@ const E = Je.exports, It = ({
1254
1251
  }, Jt = ({
1255
1252
  node: e
1256
1253
  }) => /* @__PURE__ */ r("div", {
1257
- className: E("sidebarblock", C(e)),
1258
- ...N(e),
1254
+ className: k("sidebarblock", C(e)),
1255
+ ...E(e),
1259
1256
  children: /* @__PURE__ */ l("div", {
1260
1257
  className: "content",
1261
1258
  children: [/* @__PURE__ */ r(x, {
@@ -1271,101 +1268,101 @@ const E = Je.exports, It = ({
1271
1268
  n && a.push("stripes-" + n);
1272
1269
  let o = e.hasAutowidthOption(), g = e.getAttribute("tablepcwidth"), c = null;
1273
1270
  o && !e.hasAttribute("width") ? a.push("fit-content") : g == 100 ? a.push("stretch") : c = `${g}%`, e.hasAttribute("float") && a.push(e.getAttribute("float")), e.getRole() && a.push(e.getRole() || "");
1274
- const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), _ = e.getBodyRows(), v = e.getFootRows(), S = (y) => E(
1271
+ const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), _ = e.getBodyRows(), v = e.getFootRows(), S = (y) => k(
1275
1272
  "tableblock",
1276
1273
  `halign-${y.getAttribute("halign")}`,
1277
1274
  `valign-${y.getAttribute("valign")}`
1278
1275
  );
1279
1276
  return /* @__PURE__ */ l("table", {
1280
- className: E("tableblock", ...a),
1277
+ className: k("tableblock", ...a),
1281
1278
  style: {
1282
1279
  width: c || void 0
1283
1280
  },
1284
- ...N(e),
1281
+ ...E(e),
1285
1282
  children: [e.hasTitle() && /* @__PURE__ */ r("caption", {
1286
1283
  className: "title",
1287
1284
  children: e.getCaptionedTitle()
1288
1285
  }), f > 0 && /* @__PURE__ */ r("colgroup", {
1289
- children: b.map((y, O) => {
1290
- const $ = y.getAttribute("colpcwidth");
1286
+ children: b.map((y, $) => {
1287
+ const O = y.getAttribute("colpcwidth");
1291
1288
  return /* @__PURE__ */ r("col", {
1292
1289
  style: {
1293
- width: `${$}%`
1290
+ width: `${O}%`
1294
1291
  }
1295
- }, O);
1292
+ }, $);
1296
1293
  })
1297
- }), h.map((y, O) => /* @__PURE__ */ r("thead", {
1294
+ }), h.map((y, $) => /* @__PURE__ */ r("thead", {
1298
1295
  children: /* @__PURE__ */ r("tr", {
1299
- children: y.map(($, F) => /* @__PURE__ */ r("th", {
1300
- className: S($),
1296
+ children: y.map((O, F) => /* @__PURE__ */ r("th", {
1297
+ className: S(O),
1301
1298
  dangerouslySetInnerHTML: {
1302
- __html: D($)
1299
+ __html: D(O)
1303
1300
  }
1304
1301
  }, F))
1305
1302
  })
1306
- }, O)), /* @__PURE__ */ r("tbody", {
1307
- children: _.map((y, O) => /* @__PURE__ */ r("tr", {
1308
- children: y.map(($, F) => {
1309
- const ue = $.getColumnSpan(), W = $.getRowSpan(), R = H($), U = {
1303
+ }, $)), /* @__PURE__ */ r("tbody", {
1304
+ children: _.map((y, $) => /* @__PURE__ */ r("tr", {
1305
+ children: y.map((O, F) => {
1306
+ const ue = O.getColumnSpan(), W = O.getRowSpan(), T = U(O), H = {
1310
1307
  colSpan: ue,
1311
1308
  rowSpan: W,
1312
- className: S($)
1313
- }, G = $.getStyle();
1309
+ className: S(O)
1310
+ }, G = O.getStyle();
1314
1311
  if (G === "asciidoc")
1315
1312
  return /* @__PURE__ */ J("td", {
1316
- ...U,
1313
+ ...H,
1317
1314
  key: F
1318
1315
  }, /* @__PURE__ */ r("div", {
1319
1316
  className: "content",
1320
1317
  dangerouslySetInnerHTML: {
1321
- __html: R
1318
+ __html: T
1322
1319
  }
1323
1320
  }));
1324
1321
  if (G === "literal")
1325
1322
  return /* @__PURE__ */ J("td", {
1326
- ...U,
1323
+ ...H,
1327
1324
  key: F
1328
1325
  }, /* @__PURE__ */ r("div", {
1329
1326
  className: "literal",
1330
1327
  children: /* @__PURE__ */ r("pre", {
1331
1328
  dangerouslySetInnerHTML: {
1332
- __html: R
1329
+ __html: T
1333
1330
  }
1334
1331
  })
1335
1332
  }));
1336
1333
  if (G === "header")
1337
1334
  return /* @__PURE__ */ J("th", {
1338
- ...U,
1335
+ ...H,
1339
1336
  key: F
1340
1337
  }, /* @__PURE__ */ r("p", {
1341
1338
  className: "tableblock",
1342
1339
  dangerouslySetInnerHTML: {
1343
- __html: R
1340
+ __html: T
1344
1341
  }
1345
1342
  }));
1346
1343
  {
1347
- let te = R;
1344
+ let te = T;
1348
1345
  return /* @__PURE__ */ J("td", {
1349
- ...U,
1346
+ ...H,
1350
1347
  key: F
1351
1348
  }, te.length === 0 ? "" : w(`<p class="tableblock">${te.join(`</p>
1352
1349
  <p class="tableblock">`)}</p>`));
1353
1350
  }
1354
1351
  })
1355
- }, O))
1356
- }), v.map((y, O) => /* @__PURE__ */ r("tfoot", {
1352
+ }, $))
1353
+ }), v.map((y, $) => /* @__PURE__ */ r("tfoot", {
1357
1354
  children: /* @__PURE__ */ r("tr", {
1358
- children: y.map(($, F) => /* @__PURE__ */ r("td", {
1359
- className: S($),
1355
+ children: y.map((O, F) => /* @__PURE__ */ r("td", {
1356
+ className: S(O),
1360
1357
  children: /* @__PURE__ */ r("p", {
1361
1358
  className: "tableblock",
1362
1359
  dangerouslySetInnerHTML: {
1363
- __html: D($)
1360
+ __html: D(O)
1364
1361
  }
1365
1362
  })
1366
1363
  }, F))
1367
1364
  })
1368
- }, O))]
1365
+ }, $))]
1369
1366
  });
1370
1367
  }, Gt = ({
1371
1368
  node: e
@@ -1374,7 +1371,7 @@ const E = Je.exports, It = ({
1374
1371
  const n = e.getDocument(), o = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), g = ee(() => n.getAttribute("toc-placement"), [e]), c = ee(() => n.hasAttribute("toc"), [e]), f = e.hasAttribute("levels") ? parseInt(e.getAttribute("levels")) : void 0;
1375
1372
  return g === "macro" && n.hasSections() && c ? /* @__PURE__ */ l("div", {
1376
1373
  id: a,
1377
- className: E("toc", C(e)),
1374
+ className: k("toc", C(e)),
1378
1375
  children: [/* @__PURE__ */ r("div", {
1379
1376
  id: `${a}title`,
1380
1377
  className: "title",
@@ -1392,8 +1389,8 @@ const E = Je.exports, It = ({
1392
1389
  const a = e.isOption("checklist");
1393
1390
  return /* @__PURE__ */ l("div", {
1394
1391
  id: e.getId ? e.getId() : "",
1395
- className: E("ulist", e.getStyle(), C(e), a && "checklist"),
1396
- ...N(e),
1392
+ className: k("ulist", e.getStyle(), C(e), a && "checklist"),
1393
+ ...E(e),
1397
1394
  children: [/* @__PURE__ */ r(x, {
1398
1395
  node: e
1399
1396
  }), /* @__PURE__ */ r("ul", {
@@ -1403,7 +1400,7 @@ const E = Je.exports, It = ({
1403
1400
  className: C(e),
1404
1401
  children: /* @__PURE__ */ l("p", {
1405
1402
  children: [a && n.hasAttribute("checkbox") && /* @__PURE__ */ r("i", {
1406
- className: E("fa", n.hasAttribute("checked") ? "fa-check-square-o" : "fa-square-o")
1403
+ className: k("fa", n.hasAttribute("checked") ? "fa-check-square-o" : "fa-square-o")
1407
1404
  }), " ", w(D(n))]
1408
1405
  })
1409
1406
  }, o) : /* @__PURE__ */ l("li", {
@@ -1422,11 +1419,11 @@ const E = Je.exports, It = ({
1422
1419
  }, Qt = ({
1423
1420
  node: e
1424
1421
  }) => {
1425
- const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = H(e);
1422
+ const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
1426
1423
  return /* @__PURE__ */ l("div", {
1427
1424
  id: e.getId ? e.getId() : "",
1428
- className: E("verseblock", C(e)),
1429
- ...N(e),
1425
+ className: k("verseblock", C(e)),
1426
+ ...E(e),
1430
1427
  children: [/* @__PURE__ */ r(x, {
1431
1428
  node: e
1432
1429
  }), /* @__PURE__ */ r("pre", {
@@ -1472,11 +1469,11 @@ const E = Je.exports, It = ({
1472
1469
  });
1473
1470
  switch (n) {
1474
1471
  case "audio":
1475
- return /* @__PURE__ */ r($t, {
1472
+ return /* @__PURE__ */ r(Ot, {
1476
1473
  node: e
1477
1474
  });
1478
1475
  case "preamble":
1479
- return /* @__PURE__ */ r(Ut, {
1476
+ return /* @__PURE__ */ r(Ht, {
1480
1477
  node: e
1481
1478
  });
1482
1479
  case "section":
@@ -1516,7 +1513,7 @@ const E = Je.exports, It = ({
1516
1513
  node: e
1517
1514
  });
1518
1515
  case "colist":
1519
- return /* @__PURE__ */ r(Ot, {
1516
+ return /* @__PURE__ */ r($t, {
1520
1517
  node: e
1521
1518
  });
1522
1519
  case "olist":
@@ -1534,7 +1531,7 @@ const E = Je.exports, It = ({
1534
1531
  node: e
1535
1532
  });
1536
1533
  case "pass":
1537
- return /* @__PURE__ */ r(Ht, {
1534
+ return /* @__PURE__ */ r(Ut, {
1538
1535
  node: e
1539
1536
  });
1540
1537
  case "page_break":
@@ -1567,9 +1564,9 @@ const E = Je.exports, It = ({
1567
1564
  };
1568
1565
  export {
1569
1566
  Ct as Admonition,
1570
- $t as Audio,
1567
+ Ot as Audio,
1571
1568
  le as CaptionedTitle,
1572
- Ot as CoList,
1569
+ $t as CoList,
1573
1570
  P as Content,
1574
1571
  It as DList,
1575
1572
  xt as Document,
@@ -1583,8 +1580,8 @@ export {
1583
1580
  oe as Outline,
1584
1581
  Wt as PageBreak,
1585
1582
  Yt as Paragraph,
1586
- Ht as Pass,
1587
- Ut as Preamble,
1583
+ Ut as Pass,
1584
+ Ht as Preamble,
1588
1585
  qt as Quote,
1589
1586
  Vt as Section,
1590
1587
  Jt as Sidebar,
@@ -1596,8 +1593,9 @@ export {
1596
1593
  Qt as Verse,
1597
1594
  nr as asciidoctor,
1598
1595
  rr as default,
1599
- H as getContent,
1600
- N as getLineNumber,
1596
+ U as getContent,
1597
+ E as getLineNumber,
1601
1598
  C as getRole,
1602
- D as getText
1599
+ D as getText,
1600
+ lr as parse
1603
1601
  };
@@ -1,4 +1,4 @@
1
- (function(f,q){typeof exports=="object"&&typeof module<"u"?q(exports,require("@asciidoctor/core"),require("html-react-parser"),require("react")):typeof define=="function"&&define.amd?define(["exports","@asciidoctor/core","html-react-parser","react"],q):(f=typeof globalThis<"u"?globalThis:f||self,q(f.ReactAsciiDoc={},f.core,f.parse,f.React))})(this,function(f,q,_t,P){"use strict";const fe=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},Tt=fe(q),C=fe(_t),Te=fe(P),J={},U=e=>{const a=e.$$id;if(J[a])return J[a];const n=e.getContent()||"";return J[a]=n,n},F=e=>{const a=e.$$id;if(J[a])return J[a];const n=e.getText()||"";return J[a]=n,n};var ie={exports:{}},X={};/**
1
+ (function(f,q){typeof exports=="object"&&typeof module<"u"?q(exports,require("@asciidoctor/core"),require("html-react-parser"),require("react")):typeof define=="function"&&define.amd?define(["exports","@asciidoctor/core","html-react-parser","react"],q):(f=typeof globalThis<"u"?globalThis:f||self,q(f.ReactAsciiDoc={},f.core,f.parse,f.React))})(this,function(f,q,_t,P){"use strict";const fe=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},Tt=fe(q),k=fe(_t),Te=fe(P),J={},U=e=>{const a=e.$$id;if(J[a])return J[a];const n=e.getContent()||"";return J[a]=n,n},F=e=>{const a=e.$$id;if(J[a])return J[a];const n=e.getText()||"";return J[a]=n,n};var ie={exports:{}},X={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -14,19 +14,19 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ne;function Nt(){return Ne||(Ne=1,process.env.NODE_ENV!=="production"&&function(){var e=Te.default,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"),d=Symbol.for("react.provider"),y=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),I=Symbol.iterator,B="@@iterator";function de(t){if(t===null||typeof t!="object")return null;var i=I&&t[I]||t[B];return typeof i=="function"?i:null}var H=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(t){{for(var i=arguments.length,s=new Array(i>1?i-1:0),u=1;u<i;u++)s[u-1]=arguments[u];z("error",t,s)}}function z(t,i,s){{var u=H.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(i+="%s",s=s.concat([p]));var A=s.map(function(b){return String(b)});A.unshift("Warning: "+i),Function.prototype.apply.call(console[t],console,A)}}var te=!1,ne=!1,Et=!1,St=!1,wt=!1,qe;qe=Symbol.for("react.module.reference");function Ct(t){return!!(typeof t=="string"||typeof t=="function"||t===o||t===c||wt||t===g||t===T||t===v||St||t===j||te||ne||Et||typeof t=="object"&&t!==null&&(t.$$typeof===_||t.$$typeof===O||t.$$typeof===d||t.$$typeof===y||t.$$typeof===h||t.$$typeof===qe||t.getModuleId!==void 0))}function Ot(t,i,s){var u=t.displayName;if(u)return u;var p=i.displayName||i.name||"";return p!==""?s+"("+p+")":s}function Xe(t){return t.displayName||"Context"}function W(t){if(t==null)return null;if(typeof t.tag=="number"&&S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case o:return"Fragment";case n:return"Portal";case c:return"Profiler";case g:return"StrictMode";case T:return"Suspense";case v:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case y:var i=t;return Xe(i)+".Consumer";case d:var s=t;return Xe(s._context)+".Provider";case h:return Ot(t,t.render,"ForwardRef");case O:var u=t.displayName||null;return u!==null?u:W(t.type)||"Memo";case _:{var p=t,A=p._payload,b=p._init;try{return W(b(A))}catch{return null}}}return null}var V=Object.assign,re=0,Qe,Ze,et,tt,rt,at,it;function nt(){}nt.__reactDisabledLog=!0;function It(){{if(re===0){Qe=console.log,Ze=console.info,et=console.warn,tt=console.error,rt=console.group,at=console.groupCollapsed,it=console.groupEnd;var t={configurable:!0,enumerable:!0,value:nt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}re++}}function Pt(){{if(re--,re===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},t,{value:Qe}),info:V({},t,{value:Ze}),warn:V({},t,{value:et}),error:V({},t,{value:tt}),group:V({},t,{value:rt}),groupCollapsed:V({},t,{value:at}),groupEnd:V({},t,{value:it})})}re<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=H.ReactCurrentDispatcher,ge;function se(t,i,s){{if(ge===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);ge=u&&u[1]||""}return`
17
+ */var Ne;function Nt(){return Ne||(Ne=1,process.env.NODE_ENV!=="production"&&function(){var e=Te.default,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"),d=Symbol.for("react.provider"),y=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),I=Symbol.iterator,B="@@iterator";function de(t){if(t===null||typeof t!="object")return null;var i=I&&t[I]||t[B];return typeof i=="function"?i:null}var H=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(t){{for(var i=arguments.length,s=new Array(i>1?i-1:0),u=1;u<i;u++)s[u-1]=arguments[u];z("error",t,s)}}function z(t,i,s){{var u=H.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(i+="%s",s=s.concat([p]));var A=s.map(function(b){return String(b)});A.unshift("Warning: "+i),Function.prototype.apply.call(console[t],console,A)}}var te=!1,ne=!1,Et=!1,St=!1,wt=!1,qe;qe=Symbol.for("react.module.reference");function Ct(t){return!!(typeof t=="string"||typeof t=="function"||t===o||t===c||wt||t===g||t===T||t===v||St||t===j||te||ne||Et||typeof t=="object"&&t!==null&&(t.$$typeof===_||t.$$typeof===O||t.$$typeof===d||t.$$typeof===y||t.$$typeof===h||t.$$typeof===qe||t.getModuleId!==void 0))}function Ot(t,i,s){var u=t.displayName;if(u)return u;var p=i.displayName||i.name||"";return p!==""?s+"("+p+")":s}function Xe(t){return t.displayName||"Context"}function W(t){if(t==null)return null;if(typeof t.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case o:return"Fragment";case n:return"Portal";case c:return"Profiler";case g:return"StrictMode";case T:return"Suspense";case v:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case y:var i=t;return Xe(i)+".Consumer";case d:var s=t;return Xe(s._context)+".Provider";case h:return Ot(t,t.render,"ForwardRef");case O:var u=t.displayName||null;return u!==null?u:W(t.type)||"Memo";case _:{var p=t,A=p._payload,b=p._init;try{return W(b(A))}catch{return null}}}return null}var V=Object.assign,re=0,Qe,Ze,et,tt,rt,at,it;function nt(){}nt.__reactDisabledLog=!0;function It(){{if(re===0){Qe=console.log,Ze=console.info,et=console.warn,tt=console.error,rt=console.group,at=console.groupCollapsed,it=console.groupEnd;var t={configurable:!0,enumerable:!0,value:nt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}re++}}function Pt(){{if(re--,re===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},t,{value:Qe}),info:V({},t,{value:Ze}),warn:V({},t,{value:et}),error:V({},t,{value:tt}),group:V({},t,{value:rt}),groupCollapsed:V({},t,{value:at}),groupEnd:V({},t,{value:it})})}re<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=H.ReactCurrentDispatcher,ge;function se(t,i,s){{if(ge===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);ge=u&&u[1]||""}return`
18
18
  `+ge+t}}var me=!1,le;{var jt=typeof WeakMap=="function"?WeakMap:Map;le=new jt}function st(t,i){if(!t||me)return"";{var s=le.get(t);if(s!==void 0)return s}var u;me=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var A;A=he.current,he.current=null,It();try{if(i){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch(Y){u=Y}Reflect.construct(t,[],b)}else{try{b.call()}catch(Y){u=Y}t.call(b.prototype)}}else{try{throw Error()}catch(Y){u=Y}t()}}catch(Y){if(Y&&u&&typeof Y.stack=="string"){for(var m=Y.stack.split(`
19
- `),L=u.stack.split(`
20
- `),R=m.length-1,w=L.length-1;R>=1&&w>=0&&m[R]!==L[w];)w--;for(;R>=1&&w>=0;R--,w--)if(m[R]!==L[w]){if(R!==1||w!==1)do if(R--,w--,w<0||m[R]!==L[w]){var x=`
21
- `+m[R].replace(" at new "," at ");return t.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",t.displayName)),typeof t=="function"&&le.set(t,x),x}while(R>=1&&w>=0);break}}}finally{me=!1,he.current=A,Pt(),Error.prepareStackTrace=p}var K=t?t.displayName||t.name:"",yt=K?se(K):"";return typeof t=="function"&&le.set(t,yt),yt}function Lt(t,i,s){return st(t,!1)}function Dt(t){var i=t.prototype;return!!(i&&i.isReactComponent)}function ce(t,i,s){if(t==null)return"";if(typeof t=="function")return st(t,Dt(t));if(typeof t=="string")return se(t);switch(t){case T:return se("Suspense");case v:return se("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case h:return Lt(t.render);case O:return ce(t.type,i,s);case _:{var u=t,p=u._payload,A=u._init;try{return ce(A(p),i,s)}catch{}}}return""}var oe=Object.prototype.hasOwnProperty,lt={},ct=H.ReactDebugCurrentFrame;function ue(t){if(t){var i=t._owner,s=ce(t.type,t._source,i?i.type:null);ct.setExtraStackFrame(s)}else ct.setExtraStackFrame(null)}function $t(t,i,s,u,p){{var A=Function.call.bind(oe);for(var b in t)if(A(t,b)){var m=void 0;try{if(typeof t[b]!="function"){var L=Error((u||"React class")+": "+s+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw L.name="Invariant Violation",L}m=t[b](i,b,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){m=R}m&&!(m instanceof Error)&&(ue(p),S("%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,b,typeof m),ue(null)),m instanceof Error&&!(m.message in lt)&&(lt[m.message]=!0,ue(p),S("Failed %s type: %s",s,m.message),ue(null))}}}var Ft=Array.isArray;function ve(t){return Ft(t)}function xt(t){{var i=typeof Symbol=="function"&&Symbol.toStringTag,s=i&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function Mt(t){try{return ot(t),!1}catch{return!0}}function ot(t){return""+t}function ut(t){if(Mt(t))return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xt(t)),ot(t)}var ae=H.ReactCurrentOwner,Bt={key:!0,ref:!0,__self:!0,__source:!0},ft,dt,be;be={};function Wt(t){if(oe.call(t,"ref")){var i=Object.getOwnPropertyDescriptor(t,"ref").get;if(i&&i.isReactWarning)return!1}return t.ref!==void 0}function Yt(t){if(oe.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function Ut(t,i){if(typeof t.ref=="string"&&ae.current&&i&&ae.current.stateNode!==i){var s=W(ae.current.type);be[s]||(S('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',W(ae.current.type),t.ref),be[s]=!0)}}function Ht(t,i){{var s=function(){ft||(ft=!0,S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};s.isReactWarning=!0,Object.defineProperty(t,"key",{get:s,configurable:!0})}}function Vt(t,i){{var s=function(){dt||(dt=!0,S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};s.isReactWarning=!0,Object.defineProperty(t,"ref",{get:s,configurable:!0})}}var Jt=function(t,i,s,u,p,A,b){var m={$$typeof:a,type:t,key:i,ref:s,props:b,_owner:A};return m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(m,"_self",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.defineProperty(m,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m};function zt(t,i,s,u,p){{var A,b={},m=null,L=null;s!==void 0&&(ut(s),m=""+s),Yt(i)&&(ut(i.key),m=""+i.key),Wt(i)&&(L=i.ref,Ut(i,p));for(A in i)oe.call(i,A)&&!Bt.hasOwnProperty(A)&&(b[A]=i[A]);if(t&&t.defaultProps){var R=t.defaultProps;for(A in R)b[A]===void 0&&(b[A]=R[A])}if(m||L){var w=typeof t=="function"?t.displayName||t.name||"Unknown":t;m&&Ht(b,w),L&&Vt(b,w)}return Jt(t,m,L,p,u,ae.current,b)}}var pe=H.ReactCurrentOwner,ht=H.ReactDebugCurrentFrame;function G(t){if(t){var i=t._owner,s=ce(t.type,t._source,i?i.type:null);ht.setExtraStackFrame(s)}else ht.setExtraStackFrame(null)}var ye;ye=!1;function _e(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function gt(){{if(pe.current){var t=W(pe.current.type);if(t)return`
19
+ `),D=u.stack.split(`
20
+ `),R=m.length-1,C=D.length-1;R>=1&&C>=0&&m[R]!==D[C];)C--;for(;R>=1&&C>=0;R--,C--)if(m[R]!==D[C]){if(R!==1||C!==1)do if(R--,C--,C<0||m[R]!==D[C]){var x=`
21
+ `+m[R].replace(" at new "," at ");return t.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",t.displayName)),typeof t=="function"&&le.set(t,x),x}while(R>=1&&C>=0);break}}}finally{me=!1,he.current=A,Pt(),Error.prepareStackTrace=p}var K=t?t.displayName||t.name:"",yt=K?se(K):"";return typeof t=="function"&&le.set(t,yt),yt}function Dt(t,i,s){return st(t,!1)}function Lt(t){var i=t.prototype;return!!(i&&i.isReactComponent)}function ce(t,i,s){if(t==null)return"";if(typeof t=="function")return st(t,Lt(t));if(typeof t=="string")return se(t);switch(t){case T:return se("Suspense");case v:return se("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case h:return Dt(t.render);case O:return ce(t.type,i,s);case _:{var u=t,p=u._payload,A=u._init;try{return ce(A(p),i,s)}catch{}}}return""}var oe=Object.prototype.hasOwnProperty,lt={},ct=H.ReactDebugCurrentFrame;function ue(t){if(t){var i=t._owner,s=ce(t.type,t._source,i?i.type:null);ct.setExtraStackFrame(s)}else ct.setExtraStackFrame(null)}function $t(t,i,s,u,p){{var A=Function.call.bind(oe);for(var b in t)if(A(t,b)){var m=void 0;try{if(typeof t[b]!="function"){var D=Error((u||"React class")+": "+s+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}m=t[b](i,b,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){m=R}m&&!(m instanceof Error)&&(ue(p),w("%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,b,typeof m),ue(null)),m instanceof Error&&!(m.message in lt)&&(lt[m.message]=!0,ue(p),w("Failed %s type: %s",s,m.message),ue(null))}}}var Ft=Array.isArray;function ve(t){return Ft(t)}function xt(t){{var i=typeof Symbol=="function"&&Symbol.toStringTag,s=i&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function Mt(t){try{return ot(t),!1}catch{return!0}}function ot(t){return""+t}function ut(t){if(Mt(t))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xt(t)),ot(t)}var ae=H.ReactCurrentOwner,Bt={key:!0,ref:!0,__self:!0,__source:!0},ft,dt,be;be={};function Wt(t){if(oe.call(t,"ref")){var i=Object.getOwnPropertyDescriptor(t,"ref").get;if(i&&i.isReactWarning)return!1}return t.ref!==void 0}function Yt(t){if(oe.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function Ut(t,i){if(typeof t.ref=="string"&&ae.current&&i&&ae.current.stateNode!==i){var s=W(ae.current.type);be[s]||(w('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',W(ae.current.type),t.ref),be[s]=!0)}}function Ht(t,i){{var s=function(){ft||(ft=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};s.isReactWarning=!0,Object.defineProperty(t,"key",{get:s,configurable:!0})}}function Vt(t,i){{var s=function(){dt||(dt=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",i))};s.isReactWarning=!0,Object.defineProperty(t,"ref",{get:s,configurable:!0})}}var Jt=function(t,i,s,u,p,A,b){var m={$$typeof:a,type:t,key:i,ref:s,props:b,_owner:A};return m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(m,"_self",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.defineProperty(m,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m};function zt(t,i,s,u,p){{var A,b={},m=null,D=null;s!==void 0&&(ut(s),m=""+s),Yt(i)&&(ut(i.key),m=""+i.key),Wt(i)&&(D=i.ref,Ut(i,p));for(A in i)oe.call(i,A)&&!Bt.hasOwnProperty(A)&&(b[A]=i[A]);if(t&&t.defaultProps){var R=t.defaultProps;for(A in R)b[A]===void 0&&(b[A]=R[A])}if(m||D){var C=typeof t=="function"?t.displayName||t.name||"Unknown":t;m&&Ht(b,C),D&&Vt(b,C)}return Jt(t,m,D,p,u,ae.current,b)}}var pe=H.ReactCurrentOwner,ht=H.ReactDebugCurrentFrame;function G(t){if(t){var i=t._owner,s=ce(t.type,t._source,i?i.type:null);ht.setExtraStackFrame(s)}else ht.setExtraStackFrame(null)}var ye;ye=!1;function _e(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function gt(){{if(pe.current){var t=W(pe.current.type);if(t)return`
22
22
 
23
23
  Check the render method of \``+t+"`."}return""}}function Gt(t){{if(t!==void 0){var i=t.fileName.replace(/^.*[\\\/]/,""),s=t.lineNumber;return`
24
24
 
25
25
  Check your code at `+i+":"+s+"."}return""}}var mt={};function Kt(t){{var i=gt();if(!i){var s=typeof t=="string"?t:t.displayName||t.name;s&&(i=`
26
26
 
27
- Check the top-level render call using <`+s+">.")}return i}}function vt(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var s=Kt(i);if(mt[s])return;mt[s]=!0;var u="";t&&t._owner&&t._owner!==pe.current&&(u=" It was passed a child from "+W(t._owner.type)+"."),G(t),S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,u),G(null)}}function bt(t,i){{if(typeof t!="object")return;if(ve(t))for(var s=0;s<t.length;s++){var u=t[s];_e(u)&&vt(u,i)}else if(_e(t))t._store&&(t._store.validated=!0);else if(t){var p=de(t);if(typeof p=="function"&&p!==t.entries)for(var A=p.call(t),b;!(b=A.next()).done;)_e(b.value)&&vt(b.value,i)}}}function qt(t){{var i=t.type;if(i==null||typeof i=="string")return;var s;if(typeof i=="function")s=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===h||i.$$typeof===O))s=i.propTypes;else return;if(s){var u=W(i);$t(s,t.props,"prop",u,t)}else if(i.PropTypes!==void 0&&!ye){ye=!0;var p=W(i);S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xt(t){{for(var i=Object.keys(t.props),s=0;s<i.length;s++){var u=i[s];if(u!=="children"&&u!=="key"){G(t),S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),G(null);break}}t.ref!==null&&(G(t),S("Invalid attribute `ref` supplied to `React.Fragment`."),G(null))}}function pt(t,i,s,u,p,A){{var b=Ct(t);if(!b){var m="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var L=Gt(p);L?m+=L:m+=gt();var R;t===null?R="null":ve(t)?R="array":t!==void 0&&t.$$typeof===a?(R="<"+(W(t.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):R=typeof t,S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,m)}var w=zt(t,i,s,p,A);if(w==null)return w;if(b){var x=i.children;if(x!==void 0)if(u)if(ve(x)){for(var K=0;K<x.length;K++)bt(x[K],t);Object.freeze&&Object.freeze(x)}else S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else bt(x,t)}return t===o?Xt(w):qt(w),w}}function Qt(t,i,s){return pt(t,i,s,!0)}function Zt(t,i,s){return pt(t,i,s,!1)}var er=Zt,tr=Qt;Q.Fragment=o,Q.jsx=er,Q.jsxs=tr}()),Q}(function(e){process.env.NODE_ENV==="production"?e.exports=At():e.exports=Nt()})(ie);const M=ie.exports.Fragment,r=ie.exports.jsx,l=ie.exports.jsxs,D=({node:e})=>e.hasTitle()?r("div",{className:"title",children:C.default(e.getTitle()||"")}):null,Z=({node:e})=>e.hasTitle()?r("div",{className:"title",children:C.default(e.getCaptionedTitle()||"")}):null,k=e=>typeof e.getRole()=="string"?e.getRole():void 0,N=e=>e.getLineNumber()?{"data-lineno":e.getLineNumber()}:{},Re=({node:e})=>{const a=e.getAttributes(),n=e.getDocument(),o=U(e),g=()=>n.getAttribute("icons")==="font"&&!a.icon?r("i",{className:`fa icon-${a.name}`,title:a.textlabel}):r("img",{src:e.getIconUri(a.name),alt:a.textlabel});return e.content_model,r("div",{className:`admonitionblock ${a.name}`,...N(e),children:r("table",{children:r("tbody",{children:l("tr",{children:[r("td",{className:"icon",children:n.hasAttribute("icons")?g():r("div",{className:"title",children:e.getAttribute("textlabel")})}),l("td",{className:"content",children:[r(D,{node:e}),C.default(o)]})]})})})})},ke=({node:e})=>{const a=e.getAttribute("start"),n=e.getAttribute("start"),o=(a||n)&&`#t=${a||""}`+n?`,${n}`:"";return l("div",{className:"audioblock",...N(e),children:[r(D,{node:e}),r("div",{className:"content",children:r("audio",{src:`${e.getMediaUri(e.getAttribute("target"))}${o}`,autoPlay:e.isOption("autoplay"),controls:!e.isOption("nocontrols"),loop:e.isOption("loop"),children:"Your browser does not support the audio tag."})})]})},Ee=({node:e})=>l("div",{className:"colist",...N(e),children:[r(D,{node:e}),r("table",{children:r("tbody",{children:e.getItems().map((a,n)=>l("tr",{children:[l("td",{children:[r("i",{className:"conum","data-value":n+1}),r("b",{children:n+1})]}),l("td",{children:[C.default(F(a)),r($,{blocks:a.getBlocks()})]})]},n))})})]});var Se={exports:{}};/*!
27
+ Check the top-level render call using <`+s+">.")}return i}}function vt(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var s=Kt(i);if(mt[s])return;mt[s]=!0;var u="";t&&t._owner&&t._owner!==pe.current&&(u=" It was passed a child from "+W(t._owner.type)+"."),G(t),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,u),G(null)}}function bt(t,i){{if(typeof t!="object")return;if(ve(t))for(var s=0;s<t.length;s++){var u=t[s];_e(u)&&vt(u,i)}else if(_e(t))t._store&&(t._store.validated=!0);else if(t){var p=de(t);if(typeof p=="function"&&p!==t.entries)for(var A=p.call(t),b;!(b=A.next()).done;)_e(b.value)&&vt(b.value,i)}}}function qt(t){{var i=t.type;if(i==null||typeof i=="string")return;var s;if(typeof i=="function")s=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===h||i.$$typeof===O))s=i.propTypes;else return;if(s){var u=W(i);$t(s,t.props,"prop",u,t)}else if(i.PropTypes!==void 0&&!ye){ye=!0;var p=W(i);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xt(t){{for(var i=Object.keys(t.props),s=0;s<i.length;s++){var u=i[s];if(u!=="children"&&u!=="key"){G(t),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),G(null);break}}t.ref!==null&&(G(t),w("Invalid attribute `ref` supplied to `React.Fragment`."),G(null))}}function pt(t,i,s,u,p,A){{var b=Ct(t);if(!b){var m="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=Gt(p);D?m+=D:m+=gt();var R;t===null?R="null":ve(t)?R="array":t!==void 0&&t.$$typeof===a?(R="<"+(W(t.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):R=typeof t,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,m)}var C=zt(t,i,s,p,A);if(C==null)return C;if(b){var x=i.children;if(x!==void 0)if(u)if(ve(x)){for(var K=0;K<x.length;K++)bt(x[K],t);Object.freeze&&Object.freeze(x)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else bt(x,t)}return t===o?Xt(C):qt(C),C}}function Qt(t,i,s){return pt(t,i,s,!0)}function Zt(t,i,s){return pt(t,i,s,!1)}var er=Zt,tr=Qt;Q.Fragment=o,Q.jsx=er,Q.jsxs=tr}()),Q}(function(e){process.env.NODE_ENV==="production"?e.exports=At():e.exports=Nt()})(ie);const M=ie.exports.Fragment,r=ie.exports.jsx,l=ie.exports.jsxs,L=({node:e})=>e.hasTitle()?r("div",{className:"title",children:k.default(e.getTitle()||"")}):null,Z=({node:e})=>e.hasTitle()?r("div",{className:"title",children:k.default(e.getCaptionedTitle()||"")}):null,E=e=>typeof e.getRole()=="string"?e.getRole():void 0,N=e=>e.getLineNumber()?{"data-lineno":e.getLineNumber()}:{},Re=({node:e})=>{const a=e.getAttributes(),n=e.getDocument(),o=U(e),g=()=>n.getAttribute("icons")==="font"&&!a.icon?r("i",{className:`fa icon-${a.name}`,title:a.textlabel}):r("img",{src:e.getIconUri(a.name),alt:a.textlabel});return e.content_model,r("div",{className:`admonitionblock ${a.name}`,...N(e),children:r("table",{children:r("tbody",{children:l("tr",{children:[r("td",{className:"icon",children:n.hasAttribute("icons")?g():r("div",{className:"title",children:e.getAttribute("textlabel")})}),l("td",{className:"content",children:[r(L,{node:e}),k.default(o)]})]})})})})},ke=({node:e})=>{const a=e.getAttribute("start"),n=e.getAttribute("start"),o=(a||n)&&`#t=${a||""}`+n?`,${n}`:"";return l("div",{className:"audioblock",...N(e),children:[r(L,{node:e}),r("div",{className:"content",children:r("audio",{src:`${e.getMediaUri(e.getAttribute("target"))}${o}`,autoPlay:e.isOption("autoplay"),controls:!e.isOption("nocontrols"),loop:e.isOption("loop"),children:"Your browser does not support the audio tag."})})]})},Ee=({node:e})=>l("div",{className:"colist",...N(e),children:[r(L,{node:e}),r("table",{children:r("tbody",{children:e.getItems().map((a,n)=>l("tr",{children:[l("td",{children:[r("i",{className:"conum","data-value":n+1}),r("b",{children:n+1})]}),l("td",{children:[k.default(F(a)),r($,{blocks:a.getBlocks()})]})]},n))})})]});var Se={exports:{}};/*!
28
28
  Copyright (c) 2018 Jed Watson.
29
29
  Licensed under the MIT License (MIT), see
30
30
  http://jedwatson.github.io/classnames
31
- */(function(e){(function(){var a={}.hasOwnProperty;function n(){for(var o=[],g=0;g<arguments.length;g++){var c=arguments[g];if(!!c){var d=typeof c;if(d==="string"||d==="number")o.push(c);else if(Array.isArray(c)){if(c.length){var y=n.apply(null,c);y&&o.push(y)}}else if(d==="object"){if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]")){o.push(c.toString());continue}for(var h in c)a.call(c,h)&&c[h]&&o.push(h)}}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Se);const E=Se.exports,we=({node:e})=>{const a=e.getStyle(),n=c=>{const d=c,y=d[0];let h=d[1];return h.getNodeName||(h=null),{terms:y,dd:h}},o=c=>{if(c)return l("dd",{children:[c.hasText()&&r("p",{children:C.default(F(c))}),c.hasBlocks()&&r($,{blocks:c.getBlocks()})]})},g=e.hasTitle()&&r("div",{className:"title",children:e.getCaptionedTitle()});if(a==="qanda")return l("div",{className:E("qlist qanda",k(e)),...N(e),children:[g,r("ol",{children:e.getItems().map((c,d)=>{const{terms:y,dd:h}=n(c);return l("li",{children:[y.map((T,v)=>r("p",{children:r("em",{children:F(T)})},v)),o(h)]},d)})})]});if(a==="horizontal"){const c=e.getAttribute("labelwidth"),d=e.getAttribute("itemwidth");return l("div",{className:E("hdlist",k(e)),children:[g,l("table",{children:[(c||d)&&l("colgroup",{children:[r("col",{style:{width:c?`${c.replace("%","")}%`:""}}),r("col",{style:{width:d?`${d.replace("%","")}%`:""}})]}),r("tbody",{children:e.getItems().map((y,h)=>{const{terms:T,dd:v}=n(y);return l("tr",{children:[r("td",{className:E("hdlist1",e.isOption("strong")?"strong":""),children:T.map((O,_)=>l(P.Fragment,{children:[_!==0&&r("br",{}),C.default(F(O))]},_))}),v&&l("td",{className:"hdlist2",children:[v.hasText()&&r("p",{children:C.default(F(v))}),v.hasBlocks()&&r($,{blocks:v.getBlocks()})]})]},h)})})]})]})}else return l("div",{className:E("dlist",e.getStyle(),k(e)),children:[g,r("dl",{children:e.getItems().map((c,d)=>{const{terms:y,dd:h}=n(c);return l(P.Fragment,{children:[y.map((T,v)=>r("dt",{className:"hdlist1",children:C.default(F(T))},v)),o(h)]},d)})})]})},ee=({node:e,opts:a})=>{if(!e.hasSections())return null;const n=e.getSections(),o=e.getDocument(),g=P.useMemo(()=>o.getAttributes(),[e]),c=P.useMemo(()=>o.getAttribute("sectnumlevels"),[e]),d=P.useMemo(()=>o.getAttribute("toclevels"),[e]),y=(a==null?void 0:a.sectNumLevels)||(c?parseInt(c):3),h=(a==null?void 0:a.tocLevels)||(d?parseInt(d):2);return r("ul",{className:`sectlevel${n[0].getLevel()}`,children:n.map(T=>{let v=T.$sectnum();v=v==="."||v===".."?"":v;const O=T.getLevel();let _="";if(T.getCaption())_=T.getCaptionedTitle();else if(O<=y)if(O<2&&o.getDoctype()=="book"){const j=T.getSectionName();j==="chapter"?_=`${g["chapter-signifier"]||""} ${v} ${T.getTitle()}`:j==="part"?_=`${g["part-signifier"]||""} ${v} ${T.getTitle()}`:_=`${v} ${T.getTitle()}`}else _=`${v} ${T.getTitle()}`;else _=T.getTitle()||"";return l("li",{children:[r("a",{href:`#${T.getId()}`,children:C.default(_)}),O<h&&r(ee,{node:T,opts:{tocLevels:h,sectNumLevels:y}})]},T.getId())})})},Ce=({document:e})=>{const a=e.getBlocks(),n=e.getFootnotes(),o=()=>{var d;return e.getNoheader()?null:r("div",{id:"header",children:e.hasHeader()&&l(M,{children:[r("h1",{dangerouslySetInnerHTML:{__html:((d=e.getDocumentTitle())==null?void 0:d.toString())||""}}),r(c,{}),e.hasSections()&&e.hasAttribute("toc")&&e.getAttribute("toc-placement")==="auto"&&l("div",{id:"toc",className:e.getAttribute("toc-class","toc"),children:[r("div",{id:"toctitle",children:e.getAttribute("toc-title")}),r(ee,{node:e})]})]})})},g=()=>n&&n.length>0&&a&&!a[0].getDocument().hasAttribute("nofootnotes")?l("div",{id:"footnotes",children:[r("hr",{}),n.map(d=>l("div",{className:"footnote",id:`_footnotedef_${d.getIndex()}`,children:[r("a",{href:`#_footnoteref_${d.getIndex()}`,children:d.getIndex()}),"."," ",C.default(F(d)||"")]},d.getIndex()))]}):null,c=()=>e.getAuthors().length>0||e.hasAttribute("revnumber")||e.hasAttribute("revdate")||e.hasAttribute("revremark")?l("div",{className:"details",children:[e.getAuthors().map((y,h)=>l(P.Fragment,{children:[y.getName()&&l(M,{children:[r("span",{id:`author${h+1>1?h+1:""}`,className:"author",children:C.default(e.applySubstitutions(y.getName()||"").toString())}),r("br",{})]}),y.getEmail()&&l(M,{children:[r("span",{id:`email${h+1>1?h+1:""}`,className:"email",children:C.default(e.applySubstitutions(y.getEmail()||"").toString())}),r("br",{})]})]},h)),e.hasAttribute("revnumber")&&r("span",{id:"revnumber",children:`${e.getAttribute("version-label").toLowerCase()} ${e.getAttribute("revnumber")}${e.hasAttribute("revdate")?",":""}`}),e.hasAttribute("revdate")&&r("span",{id:"revdate",children:e.getAttribute("revdate")}),e.hasAttribute("revremark")&&l(M,{children:[r("br",{}),r("span",{id:"revremark",children:e.getAttribute("revremark")})]})]}):null;return l(M,{children:[r(o,{}),r("div",{id:"content",children:r($,{blocks:a})}),r(g,{})]})},Oe=({node:e})=>l("div",{className:E("exampleblock",k(e)),...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r($,{blocks:e.getBlocks()})})]}),Ie=({node:e})=>{const a=e.getLevel();return l(M,{children:[r("a",{className:"sectionanchor",id:`${e.getId()||""}`,...N(e)}),P.createElement(`h${a+1}`,null,r(D,{node:e}))]})},Pe=({node:e})=>{const a=e.getAttribute("target");let n=r("img",{src:e.getImageUri(a),alt:e.getAttribute("alt"),width:e.getAttribute("width"),height:e.getAttribute("height")});return e.hasAttribute("link")&&(n=r("a",{className:"image",href:e.getAttribute("link"),children:n})),l("div",{className:`imageblock ${e.hasAttribute("align")?"text-"+e.getAttribute("align"):""} ${e.hasAttribute("float")?e.getAttribute("float"):""} ${e.getRole()?e.getRole():""}`,...N(e),children:[r("div",{className:"content",children:n}),r(Z,{node:e})]})},je=({node:e})=>{const a=e.getDocument(),n=e.getAttributes(),o=e.isOption("nowrap")||!a.hasAttribute("prewrap"),g=U(e);if(e.getStyle()==="source"){const c=n.language;return l("div",{className:"listingblock",...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r("pre",{className:E("highlight",o?" nowrap":""),children:c?r("code",{className:c?`language-${c}`:"","data-lang":c,dangerouslySetInnerHTML:{__html:g}}):r("code",{dangerouslySetInnerHTML:{__html:g}})})})]})}else return l("div",{className:"listingblock",...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r("pre",{className:o?" nowrap":"",children:r("code",{dangerouslySetInnerHTML:{__html:e.getSource()}})})})]})},Le=({node:e})=>{const n=e.getDocument().getAttributes().prewrap===void 0||e.isOption("nowrap");return l("div",{className:"literalblock",...N(e),children:[r(D,{node:e}),r("div",{className:"content",children:r("pre",{className:n?"nowrap":"",children:e.getSource()})})]})},De=({node:e})=>l("div",{className:E("olist",k(e),e.getStyle()),...N(e),children:[r(D,{node:e}),r("ol",{className:e.getStyle(),reversed:e.isOption("reversed"),start:e.getAttribute("start"),children:e.getItems().map((a,n)=>l("li",{className:k(e)?k(e):"",children:[r("p",{children:C.default(F(a))}),r($,{blocks:a.getBlocks()})]},n))})]}),$e=({node:e})=>{const a=e.getStyle();return a==="abstract"?l("div",{className:E("quoteblock abstract",k(e)),...N(e),children:[r(D,{node:e}),r("blockquote",{className:"content",children:r($,{blocks:e.getBlocks()})})]}):l("div",{className:E("openblock",a&&a!=="open"?a:"",k(e)),...N(e),children:[r(D,{node:e}),r("div",{className:"content",children:r($,{blocks:e.getBlocks()})})]})},Fe=()=>r("div",{style:{pageBreakAfter:"always"}}),xe=({node:e})=>{const a=U(e);return l("div",{id:e.getId?e.getId():"",className:E("paragraph",k(e)),...N(e),children:[r(D,{node:e}),r("p",{dangerouslySetInnerHTML:{__html:a}})]})},Me=({node:e})=>{const a=U(e);return r(M,{children:C.default(a)})},Be=({node:e})=>{const a=e.getDocument(),n=a.getAttribute("toc-placement")==="preamble"&&a.hasSections()&&a.hasAttribute("toc");return r("div",{id:"preamble",...N(e),children:l("div",{className:"sectionbody",children:[r($,{blocks:e.getBlocks()}),n&&l("div",{id:"toc",className:a.getAttribute("toc-class","toc"),children:[r("div",{id:"toctitle",children:C.default(a.getAttribute("toc-title"))}),r(ee,{node:a})]})]})})},We=({node:e})=>{const a=e.getAttribute("attribution"),n=e.getAttribute("citetitle"),o=U(e);return l("div",{id:e.getId?e.getId():"",className:E("quoteblock",k(e)),...N(e),children:[r(D,{node:e}),r("blockquote",{dangerouslySetInnerHTML:{__html:o}}),a&&l("div",{className:"attribution",children:["\u2014 ",a,n&&r("cite",{children:n})]})]})},Ye=({node:e})=>{const a=e.getDocument().getAttributes(),n=e.getLevel();let o="",g=e.getSectionNumeral();g=g==="."?"":g;const c=a.sectnumlevels?parseInt(a.sectnumlevels):3;if(e.getCaption())o=e.getCaptionedTitle();else if(e.isNumbered()&&n<=c)if(n<2&&e.getDocument().getDoctype()=="book"){const d=e.getSectionName();d==="chapter"?o=`${a["chapter-signifier"]||""} ${g} ${e.getTitle()}`:d==="part"?o=`${a["part-signifier"]||""} ${g} ${e.getTitle()}`:o=`${g} ${e.getTitle()}`}else o=`${g} ${e.getTitle()}`;else o=e.getTitle()||"";return a.sectlinks&&(o=l(M,{children:[r("a",{className:"anchor",id:e.getId()||"",...N(e)}),r("a",{className:"link",href:`#${e.getId()}`,dangerouslySetInnerHTML:{__html:o}})]})),n===0?l(M,{children:[r("h1",{className:E("sect0",k(e)),"data-sectnum":g,...N(e),children:o}),r($,{blocks:e.getBlocks()})]}):l("div",{className:E(`sect${n}`,k(e)),...N(e),children:[P.createElement(`h${n+1}`,{"data-sectnum":g},o),r("div",{className:"sectionbody",children:r($,{blocks:e.getBlocks()})})]})},Ue=({node:e})=>r("div",{className:E("sidebarblock",k(e)),...N(e),children:l("div",{className:"content",children:[r(D,{node:e}),r($,{blocks:e.getBlocks()})]})}),He=({node:e})=>{let a=["frame-"+e.getAttribute("frame","all","table-frame"),"grid-"+e.getAttribute("grid","all","table-grid")],n=e.getAttribute("stripes",null,"table-stripes");n&&a.push("stripes-"+n);let o=e.hasAutowidthOption(),g=e.getAttribute("tablepcwidth"),c=null;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()||"");const d=e.getRowCount(),y=e.getColumns(),h=e.getHeadRows(),T=e.getBodyRows(),v=e.getFootRows(),O=_=>E("tableblock",`halign-${_.getAttribute("halign")}`,`valign-${_.getAttribute("valign")}`);return l("table",{className:E("tableblock",...a),style:{width:c||void 0},...N(e),children:[e.hasTitle()&&r("caption",{className:"title",children:e.getCaptionedTitle()}),d>0&&r("colgroup",{children:y.map((_,j)=>{const I=_.getAttribute("colpcwidth");return r("col",{style:{width:`${I}%`}},j)})}),h.map((_,j)=>r("thead",{children:r("tr",{children:_.map((I,B)=>r("th",{className:O(I),dangerouslySetInnerHTML:{__html:F(I)}},B))})},j)),r("tbody",{children:T.map((_,j)=>r("tr",{children:_.map((I,B)=>{const de=I.getColumnSpan(),H=I.getRowSpan(),S=U(I),z={colSpan:de,rowSpan:H,className:O(I)},te=I.getStyle();if(te==="asciidoc")return P.createElement("td",{...z,key:B},r("div",{className:"content",dangerouslySetInnerHTML:{__html:S}}));if(te==="literal")return P.createElement("td",{...z,key:B},r("div",{className:"literal",children:r("pre",{dangerouslySetInnerHTML:{__html:S}})}));if(te==="header")return P.createElement("th",{...z,key:B},r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:S}}));{let ne=S;return P.createElement("td",{...z,key:B},ne.length===0?"":C.default(`<p class="tableblock">${ne.join(`</p>
32
- <p class="tableblock">`)}</p>`))}})},j))}),v.map((_,j)=>r("tfoot",{children:r("tr",{children:_.map((I,B)=>r("td",{className:O(I),children:r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:F(I)}})},B))})},j))]})},Ve=({node:e})=>{let a=e.getId()||"toc";const n=e.getDocument(),o=e.hasTitle()?e.getTitle():n.getAttribute("toc-title"),g=P.useMemo(()=>n.getAttribute("toc-placement"),[e]),c=P.useMemo(()=>n.hasAttribute("toc"),[e]),d=e.hasAttribute("levels")?parseInt(e.getAttribute("levels")):void 0;return g==="macro"&&n.hasSections()&&c?l("div",{id:a,className:E("toc",k(e)),children:[r("div",{id:`${a}title`,className:"title",children:C.default(o||"")}),r(ee,{node:e.getDocument(),opts:{tocLevels:d}})]}):null},Je=()=>r("hr",{}),ze=({node:e})=>{const a=e.isOption("checklist");return l("div",{id:e.getId?e.getId():"",className:E("ulist",e.getStyle(),k(e),a&&"checklist"),...N(e),children:[r(D,{node:e}),r("ul",{className:a?"checklist":"",children:e.getItems().map((n,o)=>a?r("li",{id:n.getId(),className:k(e),children:l("p",{children:[a&&n.hasAttribute("checkbox")&&r("i",{className:E("fa",n.hasAttribute("checked")?"fa-check-square-o":"fa-square-o")})," ",C.default(F(n))]})},o):l("li",{id:n.getId(),className:k(e),children:[r("p",{dangerouslySetInnerHTML:{__html:F(n)}}),r($,{blocks:n.getBlocks()})]},o))})]})},Ge=({node:e})=>{const a=e.getAttribute("attribution"),n=e.getAttribute("citetitle"),o=U(e);return l("div",{id:e.getId?e.getId():"",className:E("verseblock",k(e)),...N(e),children:[r(D,{node:e}),r("pre",{className:"content",dangerouslySetInnerHTML:{__html:o}}),a&&l("div",{className:"attribution",children:["\u2014 ",a,n&&r("cite",{children:n})]})]})},Ke=P.createContext({}),Rt=({content:e,options:a})=>{const n=a&&a.customDocument;return r(Ke.Provider,{value:a||{},children:n?r(n,{document:e}):r(Ce,{document:e})})},$=({blocks:e})=>r(M,{children:e.map((a,n)=>r(kt,{node:a},`${n}-${a.getNodeName()}`))}),kt=({node:e})=>{const a=P.useContext(Ke),n=e.getNodeName(),o=e.getDocument(),g=e.getAttributes();o.playbackAttributes(g);const c=a&&a.overrides&&a.overrides[n];if(c)return r(c,{node:e});switch(n){case"audio":return r(ke,{node:e});case"preamble":return r(Be,{node:e});case"section":return r(Ye,{node:e});case"paragraph":return r(xe,{node:e});case"dlist":return r(we,{node:e});case"ulist":return r(ze,{node:e});case"floating_title":return r(Ie,{node:e});case"admonition":return r(Re,{node:e});case"listing":return r(je,{node:e});case"literal":return r(Le,{node:e});case"image":return r(Pe,{node:e});case"colist":return r(Ee,{node:e});case"olist":return r(De,{node:e});case"table":return r(He,{node:e});case"thematic_break":return r(Je,{});case"open":return r($e,{node:e});case"pass":return r(Me,{node:e});case"page_break":return r(Fe,{});case"example":return r(Oe,{node:e});case"sidebar":return r(Ue,{node:e});case"quote":return r(We,{node:e});case"verse":return r(Ge,{node:e});case"toc":return r(Ve,{node:e});default:return r(M,{children:C.default(e.convert())})}};Object.defineProperty(f,"asciidoctor",{enumerable:!0,get:()=>Tt.default}),f.Admonition=Re,f.Audio=ke,f.CaptionedTitle=Z,f.CoList=Ee,f.Content=$,f.DList=we,f.Document=Ce,f.Example=Oe,f.FloatingTitle=Ie,f.Image=Pe,f.Listing=je,f.Literal=Le,f.OList=De,f.Open=$e,f.Outline=ee,f.PageBreak=Fe,f.Paragraph=xe,f.Pass=Me,f.Preamble=Be,f.Quote=We,f.Section=Ye,f.Sidebar=Ue,f.Table=He,f.TableOfContents=Ve,f.ThematicBreak=Je,f.Title=D,f.UList=ze,f.Verse=Ge,f.default=Rt,f.getContent=U,f.getLineNumber=N,f.getRole=k,f.getText=F,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
31
+ */(function(e){(function(){var a={}.hasOwnProperty;function n(){for(var o=[],g=0;g<arguments.length;g++){var c=arguments[g];if(!!c){var d=typeof c;if(d==="string"||d==="number")o.push(c);else if(Array.isArray(c)){if(c.length){var y=n.apply(null,c);y&&o.push(y)}}else if(d==="object"){if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]")){o.push(c.toString());continue}for(var h in c)a.call(c,h)&&c[h]&&o.push(h)}}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Se);const S=Se.exports,we=({node:e})=>{const a=e.getStyle(),n=c=>{const d=c,y=d[0];let h=d[1];return h.getNodeName||(h=null),{terms:y,dd:h}},o=c=>{if(c)return l("dd",{children:[c.hasText()&&r("p",{children:k.default(F(c))}),c.hasBlocks()&&r($,{blocks:c.getBlocks()})]})},g=e.hasTitle()&&r("div",{className:"title",children:e.getCaptionedTitle()});if(a==="qanda")return l("div",{className:S("qlist qanda",E(e)),...N(e),children:[g,r("ol",{children:e.getItems().map((c,d)=>{const{terms:y,dd:h}=n(c);return l("li",{children:[y.map((T,v)=>r("p",{children:r("em",{children:F(T)})},v)),o(h)]},d)})})]});if(a==="horizontal"){const c=e.getAttribute("labelwidth"),d=e.getAttribute("itemwidth");return l("div",{className:S("hdlist",E(e)),children:[g,l("table",{children:[(c||d)&&l("colgroup",{children:[r("col",{style:{width:c?`${c.replace("%","")}%`:""}}),r("col",{style:{width:d?`${d.replace("%","")}%`:""}})]}),r("tbody",{children:e.getItems().map((y,h)=>{const{terms:T,dd:v}=n(y);return l("tr",{children:[r("td",{className:S("hdlist1",e.isOption("strong")?"strong":""),children:T.map((O,_)=>l(P.Fragment,{children:[_!==0&&r("br",{}),k.default(F(O))]},_))}),v&&l("td",{className:"hdlist2",children:[v.hasText()&&r("p",{children:k.default(F(v))}),v.hasBlocks()&&r($,{blocks:v.getBlocks()})]})]},h)})})]})]})}else return l("div",{className:S("dlist",e.getStyle(),E(e)),children:[g,r("dl",{children:e.getItems().map((c,d)=>{const{terms:y,dd:h}=n(c);return l(P.Fragment,{children:[y.map((T,v)=>r("dt",{className:"hdlist1",children:k.default(F(T))},v)),o(h)]},d)})})]})},ee=({node:e,opts:a})=>{if(!e.hasSections())return null;const n=e.getSections(),o=e.getDocument(),g=P.useMemo(()=>o.getAttributes(),[e]),c=P.useMemo(()=>o.getAttribute("sectnumlevels"),[e]),d=P.useMemo(()=>o.getAttribute("toclevels"),[e]),y=(a==null?void 0:a.sectNumLevels)||(c?parseInt(c):3),h=(a==null?void 0:a.tocLevels)||(d?parseInt(d):2);return r("ul",{className:`sectlevel${n[0].getLevel()}`,children:n.map(T=>{let v=T.$sectnum();v=v==="."||v===".."?"":v;const O=T.getLevel();let _="";if(T.getCaption())_=T.getCaptionedTitle();else if(O<=y)if(O<2&&o.getDoctype()=="book"){const j=T.getSectionName();j==="chapter"?_=`${g["chapter-signifier"]||""} ${v} ${T.getTitle()}`:j==="part"?_=`${g["part-signifier"]||""} ${v} ${T.getTitle()}`:_=`${v} ${T.getTitle()}`}else _=`${v} ${T.getTitle()}`;else _=T.getTitle()||"";return l("li",{children:[r("a",{href:`#${T.getId()}`,children:k.default(_)}),O<h&&r(ee,{node:T,opts:{tocLevels:h,sectNumLevels:y}})]},T.getId())})})},Ce=({document:e})=>{const a=e.getBlocks(),n=e.getFootnotes(),o=()=>{var d;return e.getNoheader()?null:r("div",{id:"header",children:e.hasHeader()&&l(M,{children:[r("h1",{dangerouslySetInnerHTML:{__html:((d=e.getDocumentTitle())==null?void 0:d.toString())||""}}),r(c,{}),e.hasSections()&&e.hasAttribute("toc")&&e.getAttribute("toc-placement")==="auto"&&l("div",{id:"toc",className:e.getAttribute("toc-class","toc"),children:[r("div",{id:"toctitle",children:e.getAttribute("toc-title")}),r(ee,{node:e})]})]})})},g=()=>n&&n.length>0&&a&&!a[0].getDocument().hasAttribute("nofootnotes")?l("div",{id:"footnotes",children:[r("hr",{}),n.map(d=>l("div",{className:"footnote",id:`_footnotedef_${d.getIndex()}`,children:[r("a",{href:`#_footnoteref_${d.getIndex()}`,children:d.getIndex()}),"."," ",k.default(F(d)||"")]},d.getIndex()))]}):null,c=()=>e.getAuthors().length>0||e.hasAttribute("revnumber")||e.hasAttribute("revdate")||e.hasAttribute("revremark")?l("div",{className:"details",children:[e.getAuthors().map((y,h)=>l(P.Fragment,{children:[y.getName()&&l(M,{children:[r("span",{id:`author${h+1>1?h+1:""}`,className:"author",children:k.default(e.applySubstitutions(y.getName()||"").toString())}),r("br",{})]}),y.getEmail()&&l(M,{children:[r("span",{id:`email${h+1>1?h+1:""}`,className:"email",children:k.default(e.applySubstitutions(y.getEmail()||"").toString())}),r("br",{})]})]},h)),e.hasAttribute("revnumber")&&r("span",{id:"revnumber",children:`${e.getAttribute("version-label").toLowerCase()} ${e.getAttribute("revnumber")}${e.hasAttribute("revdate")?",":""}`}),e.hasAttribute("revdate")&&r("span",{id:"revdate",children:e.getAttribute("revdate")}),e.hasAttribute("revremark")&&l(M,{children:[r("br",{}),r("span",{id:"revremark",children:e.getAttribute("revremark")})]})]}):null;return l(M,{children:[r(o,{}),r("div",{id:"content",children:r($,{blocks:a})}),r(g,{})]})},Oe=({node:e})=>l("div",{className:S("exampleblock",E(e)),...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r($,{blocks:e.getBlocks()})})]}),Ie=({node:e})=>{const a=e.getLevel();return l(M,{children:[r("a",{className:"sectionanchor",id:`${e.getId()||""}`,...N(e)}),P.createElement(`h${a+1}`,null,r(L,{node:e}))]})},Pe=({node:e})=>{const a=e.getAttribute("target");let n=r("img",{src:e.getImageUri(a),alt:e.getAttribute("alt"),width:e.getAttribute("width"),height:e.getAttribute("height")});return e.hasAttribute("link")&&(n=r("a",{className:"image",href:e.getAttribute("link"),children:n})),l("div",{className:`imageblock ${e.hasAttribute("align")?"text-"+e.getAttribute("align"):""} ${e.hasAttribute("float")?e.getAttribute("float"):""} ${e.getRole()?e.getRole():""}`,...N(e),children:[r("div",{className:"content",children:n}),r(Z,{node:e})]})},je=({node:e})=>{const a=e.getDocument(),n=e.getAttributes(),o=e.isOption("nowrap")||!a.hasAttribute("prewrap"),g=U(e);if(e.getStyle()==="source"){const c=n.language;return l("div",{className:"listingblock",...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r("pre",{className:S("highlight",o?" nowrap":""),children:c?r("code",{className:c?`language-${c}`:"","data-lang":c,dangerouslySetInnerHTML:{__html:g}}):r("code",{dangerouslySetInnerHTML:{__html:g}})})})]})}else return l("div",{className:"listingblock",...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r("pre",{className:o?" nowrap":"",children:r("code",{dangerouslySetInnerHTML:{__html:e.getSource()}})})})]})},De=({node:e})=>{const n=e.getDocument().getAttributes().prewrap===void 0||e.isOption("nowrap");return l("div",{className:"literalblock",...N(e),children:[r(L,{node:e}),r("div",{className:"content",children:r("pre",{className:n?"nowrap":"",children:e.getSource()})})]})},Le=({node:e})=>l("div",{className:S("olist",E(e),e.getStyle()),...N(e),children:[r(L,{node:e}),r("ol",{className:e.getStyle(),reversed:e.isOption("reversed"),start:e.getAttribute("start"),children:e.getItems().map((a,n)=>l("li",{className:E(e)?E(e):"",children:[r("p",{children:k.default(F(a))}),r($,{blocks:a.getBlocks()})]},n))})]}),$e=({node:e})=>{const a=e.getStyle();return a==="abstract"?l("div",{className:S("quoteblock abstract",E(e)),...N(e),children:[r(L,{node:e}),r("blockquote",{className:"content",children:r($,{blocks:e.getBlocks()})})]}):l("div",{className:S("openblock",a&&a!=="open"?a:"",E(e)),...N(e),children:[r(L,{node:e}),r("div",{className:"content",children:r($,{blocks:e.getBlocks()})})]})},Fe=()=>r("div",{style:{pageBreakAfter:"always"}}),xe=({node:e})=>{const a=U(e);return l("div",{id:e.getId?e.getId():"",className:S("paragraph",E(e)),...N(e),children:[r(L,{node:e}),r("p",{dangerouslySetInnerHTML:{__html:a}})]})},Me=({node:e})=>{const a=U(e);return r(M,{children:k.default(a)})},Be=({node:e})=>{const a=e.getDocument(),n=a.getAttribute("toc-placement")==="preamble"&&a.hasSections()&&a.hasAttribute("toc");return r("div",{id:"preamble",...N(e),children:l("div",{className:"sectionbody",children:[r($,{blocks:e.getBlocks()}),n&&l("div",{id:"toc",className:a.getAttribute("toc-class","toc"),children:[r("div",{id:"toctitle",children:k.default(a.getAttribute("toc-title"))}),r(ee,{node:a})]})]})})},We=({node:e})=>{const a=e.getAttribute("attribution"),n=e.getAttribute("citetitle"),o=U(e);return l("div",{id:e.getId?e.getId():"",className:S("quoteblock",E(e)),...N(e),children:[r(L,{node:e}),r("blockquote",{dangerouslySetInnerHTML:{__html:o}}),a&&l("div",{className:"attribution",children:["\u2014 ",a,n&&r("cite",{children:n})]})]})},Ye=({node:e})=>{const a=e.getDocument().getAttributes(),n=e.getLevel();let o="",g=e.getSectionNumeral();g=g==="."?"":g;const c=a.sectnumlevels?parseInt(a.sectnumlevels):3;if(e.getCaption())o=e.getCaptionedTitle();else if(e.isNumbered()&&n<=c)if(n<2&&e.getDocument().getDoctype()==="book"){const d=e.getSectionName();d==="chapter"?o=`${a["chapter-signifier"]||""} ${g} ${e.getTitle()}`:d==="part"?o=`${a["part-signifier"]||""} ${g} ${e.getTitle()}`:o=`${e.getTitle()}`}else o=`${e.getTitle()}`;else o=e.getTitle()||"";return o=l(M,{children:[r("a",{className:"anchor",id:e.getId()||"","aria-hidden":!0}),r("a",{className:"link group",href:`#${e.getId()}`,children:o})]}),n===0?l(M,{children:[r("h1",{className:S("sect0",E(e)),"data-sectnum":g,children:o}),r($,{blocks:e.getBlocks()})]}):l("div",{className:S(`sect${n}`,E(e)),children:[P.createElement(`h${n+1}`,{"data-sectnum":g},o),r("div",{className:"sectionbody",children:r($,{blocks:e.getBlocks()})})]})},Ue=({node:e})=>r("div",{className:S("sidebarblock",E(e)),...N(e),children:l("div",{className:"content",children:[r(L,{node:e}),r($,{blocks:e.getBlocks()})]})}),He=({node:e})=>{let a=["frame-"+e.getAttribute("frame","all","table-frame"),"grid-"+e.getAttribute("grid","all","table-grid")],n=e.getAttribute("stripes",null,"table-stripes");n&&a.push("stripes-"+n);let o=e.hasAutowidthOption(),g=e.getAttribute("tablepcwidth"),c=null;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()||"");const d=e.getRowCount(),y=e.getColumns(),h=e.getHeadRows(),T=e.getBodyRows(),v=e.getFootRows(),O=_=>S("tableblock",`halign-${_.getAttribute("halign")}`,`valign-${_.getAttribute("valign")}`);return l("table",{className:S("tableblock",...a),style:{width:c||void 0},...N(e),children:[e.hasTitle()&&r("caption",{className:"title",children:e.getCaptionedTitle()}),d>0&&r("colgroup",{children:y.map((_,j)=>{const I=_.getAttribute("colpcwidth");return r("col",{style:{width:`${I}%`}},j)})}),h.map((_,j)=>r("thead",{children:r("tr",{children:_.map((I,B)=>r("th",{className:O(I),dangerouslySetInnerHTML:{__html:F(I)}},B))})},j)),r("tbody",{children:T.map((_,j)=>r("tr",{children:_.map((I,B)=>{const de=I.getColumnSpan(),H=I.getRowSpan(),w=U(I),z={colSpan:de,rowSpan:H,className:O(I)},te=I.getStyle();if(te==="asciidoc")return P.createElement("td",{...z,key:B},r("div",{className:"content",dangerouslySetInnerHTML:{__html:w}}));if(te==="literal")return P.createElement("td",{...z,key:B},r("div",{className:"literal",children:r("pre",{dangerouslySetInnerHTML:{__html:w}})}));if(te==="header")return P.createElement("th",{...z,key:B},r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:w}}));{let ne=w;return P.createElement("td",{...z,key:B},ne.length===0?"":k.default(`<p class="tableblock">${ne.join(`</p>
32
+ <p class="tableblock">`)}</p>`))}})},j))}),v.map((_,j)=>r("tfoot",{children:r("tr",{children:_.map((I,B)=>r("td",{className:O(I),children:r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:F(I)}})},B))})},j))]})},Ve=({node:e})=>{let a=e.getId()||"toc";const n=e.getDocument(),o=e.hasTitle()?e.getTitle():n.getAttribute("toc-title"),g=P.useMemo(()=>n.getAttribute("toc-placement"),[e]),c=P.useMemo(()=>n.hasAttribute("toc"),[e]),d=e.hasAttribute("levels")?parseInt(e.getAttribute("levels")):void 0;return g==="macro"&&n.hasSections()&&c?l("div",{id:a,className:S("toc",E(e)),children:[r("div",{id:`${a}title`,className:"title",children:k.default(o||"")}),r(ee,{node:e.getDocument(),opts:{tocLevels:d}})]}):null},Je=()=>r("hr",{}),ze=({node:e})=>{const a=e.isOption("checklist");return l("div",{id:e.getId?e.getId():"",className:S("ulist",e.getStyle(),E(e),a&&"checklist"),...N(e),children:[r(L,{node:e}),r("ul",{className:a?"checklist":"",children:e.getItems().map((n,o)=>a?r("li",{id:n.getId(),className:E(e),children:l("p",{children:[a&&n.hasAttribute("checkbox")&&r("i",{className:S("fa",n.hasAttribute("checked")?"fa-check-square-o":"fa-square-o")})," ",k.default(F(n))]})},o):l("li",{id:n.getId(),className:E(e),children:[r("p",{dangerouslySetInnerHTML:{__html:F(n)}}),r($,{blocks:n.getBlocks()})]},o))})]})},Ge=({node:e})=>{const a=e.getAttribute("attribution"),n=e.getAttribute("citetitle"),o=U(e);return l("div",{id:e.getId?e.getId():"",className:S("verseblock",E(e)),...N(e),children:[r(L,{node:e}),r("pre",{className:"content",dangerouslySetInnerHTML:{__html:o}}),a&&l("div",{className:"attribution",children:["\u2014 ",a,n&&r("cite",{children:n})]})]})},Ke=P.createContext({}),Rt=({content:e,options:a})=>{const n=a&&a.customDocument;return r(Ke.Provider,{value:a||{},children:n?r(n,{document:e}):r(Ce,{document:e})})},$=({blocks:e})=>r(M,{children:e.map((a,n)=>r(kt,{node:a},`${n}-${a.getNodeName()}`))}),kt=({node:e})=>{const a=P.useContext(Ke),n=e.getNodeName(),o=e.getDocument(),g=e.getAttributes();o.playbackAttributes(g);const c=a&&a.overrides&&a.overrides[n];if(c)return r(c,{node:e});switch(n){case"audio":return r(ke,{node:e});case"preamble":return r(Be,{node:e});case"section":return r(Ye,{node:e});case"paragraph":return r(xe,{node:e});case"dlist":return r(we,{node:e});case"ulist":return r(ze,{node:e});case"floating_title":return r(Ie,{node:e});case"admonition":return r(Re,{node:e});case"listing":return r(je,{node:e});case"literal":return r(De,{node:e});case"image":return r(Pe,{node:e});case"colist":return r(Ee,{node:e});case"olist":return r(Le,{node:e});case"table":return r(He,{node:e});case"thematic_break":return r(Je,{});case"open":return r($e,{node:e});case"pass":return r(Me,{node:e});case"page_break":return r(Fe,{});case"example":return r(Oe,{node:e});case"sidebar":return r(Ue,{node:e});case"quote":return r(We,{node:e});case"verse":return r(Ge,{node:e});case"toc":return r(Ve,{node:e});default:return r(M,{children:k.default(e.convert())})}};Object.defineProperty(f,"asciidoctor",{enumerable:!0,get:()=>Tt.default}),Object.defineProperty(f,"parse",{enumerable:!0,get:()=>k.default}),f.Admonition=Re,f.Audio=ke,f.CaptionedTitle=Z,f.CoList=Ee,f.Content=$,f.DList=we,f.Document=Ce,f.Example=Oe,f.FloatingTitle=Ie,f.Image=Pe,f.Listing=je,f.Literal=De,f.OList=Le,f.Open=$e,f.Outline=ee,f.PageBreak=Fe,f.Paragraph=xe,f.Pass=Me,f.Preamble=Be,f.Quote=We,f.Section=Ye,f.Sidebar=Ue,f.Table=He,f.TableOfContents=Ve,f.ThematicBreak=Je,f.Title=L,f.UList=ze,f.Verse=Ge,f.default=Rt,f.getContent=U,f.getLineNumber=N,f.getRole=E,f.getText=F,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -2,6 +2,7 @@
2
2
  import asciidoctor from '@asciidoctor/core';
3
3
  import type { AbstractBlock } from '@asciidoctor/core';
4
4
  import type * as AdocTypes from '@asciidoctor/core';
5
+ import parse from 'html-react-parser';
5
6
  import { Admonition, Audio, CoList, DList, Document, Example, FloatingTitle, Image, Listing, Literal, OList, Open, PageBreak, Paragraph, Pass, Preamble, Quote, Section, Sidebar, Table, TableOfContents, ThematicBreak, UList, Verse } from './templates';
6
7
  import { CaptionedTitle, Title, getLineNumber, getRole } from './templates/util';
7
8
  import { getContent, getText } from './utils/getContent';
@@ -42,5 +43,5 @@ declare const Content: ({ blocks }: {
42
43
  blocks: AbstractBlock[];
43
44
  }) => JSX.Element;
44
45
  export default Asciidoc;
45
- export { asciidoctor, Content, getContent, getText, Title, getRole, getLineNumber, CaptionedTitle, AdocTypes, };
46
+ export { asciidoctor, Content, getContent, getText, Title, getRole, getLineNumber, CaptionedTitle, AdocTypes, parse, };
46
47
  export * from './templates';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxide/react-asciidoc",
3
- "version": "0.1.3-alpha.6",
3
+ "version": "0.1.3-alpha.7",
4
4
  "files": [
5
5
  "dist"
6
6
  ],