@oxide/react-asciidoc 0.1.2-alpha.6 → 0.1.3-alpha.1

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.
Files changed (34) hide show
  1. package/dist/react-asciidoc.js +341 -335
  2. package/dist/react-asciidoc.umd.cjs +11 -11
  3. package/dist/types/hooks/useGetContent.d.ts +4 -0
  4. package/dist/{index.d.ts → types/index.d.ts} +4 -4
  5. package/dist/types/templates/index.d.ts +26 -0
  6. package/package.json +3 -3
  7. package/dist/hooks/useGetContent.d.ts +0 -3
  8. package/dist/templates/index.d.ts +0 -26
  9. /package/dist/{templates → types/templates}/Admonition.d.ts +0 -0
  10. /package/dist/{templates → types/templates}/Audio.d.ts +0 -0
  11. /package/dist/{templates → types/templates}/CoList.d.ts +0 -0
  12. /package/dist/{templates → types/templates}/DList.d.ts +0 -0
  13. /package/dist/{templates → types/templates}/Document.d.ts +0 -0
  14. /package/dist/{templates → types/templates}/Example.d.ts +0 -0
  15. /package/dist/{templates → types/templates}/FloatingTitle.d.ts +0 -0
  16. /package/dist/{templates → types/templates}/Image.d.ts +0 -0
  17. /package/dist/{templates → types/templates}/Listing.d.ts +0 -0
  18. /package/dist/{templates → types/templates}/Literal.d.ts +0 -0
  19. /package/dist/{templates → types/templates}/OList.d.ts +0 -0
  20. /package/dist/{templates → types/templates}/Open.d.ts +0 -0
  21. /package/dist/{templates → types/templates}/Outline.d.ts +0 -0
  22. /package/dist/{templates → types/templates}/PageBreak.d.ts +0 -0
  23. /package/dist/{templates → types/templates}/Paragraph.d.ts +0 -0
  24. /package/dist/{templates → types/templates}/Pass.d.ts +0 -0
  25. /package/dist/{templates → types/templates}/Preamble.d.ts +0 -0
  26. /package/dist/{templates → types/templates}/Quote.d.ts +0 -0
  27. /package/dist/{templates → types/templates}/Section.d.ts +0 -0
  28. /package/dist/{templates → types/templates}/Sidebar.d.ts +0 -0
  29. /package/dist/{templates → types/templates}/Table.d.ts +0 -0
  30. /package/dist/{templates → types/templates}/TableOfContents.d.ts +0 -0
  31. /package/dist/{templates → types/templates}/ThematicBreak.d.ts +0 -0
  32. /package/dist/{templates → types/templates}/UList.d.ts +0 -0
  33. /package/dist/{templates → types/templates}/Verse.d.ts +0 -0
  34. /package/dist/{templates → types/templates}/util.d.ts +0 -0
@@ -1,11 +1,17 @@
1
- import { default as nr } from "@asciidoctor/core";
1
+ import { default as sr } from "@asciidoctor/core";
2
2
  import w from "html-react-parser";
3
- import Ue, { useRef as Rt, useState as qe, useMemo as Y, Fragment as pe, createElement as G, createContext as kt, useContext as Et } from "react";
4
- const H = (e) => {
5
- const a = Rt(!1), [n, c] = qe("");
6
- return Y(() => {
7
- a.current || (a.current = !0, c(e.getContent() || ""));
8
- }, [e]), n;
3
+ import qe, { useState as Ve, useEffect as Rt, Fragment as be, useMemo as G, createElement as V, createContext as Et, useContext as St } from "react";
4
+ const pe = {}, Y = (e) => {
5
+ const [a, n] = Ve("");
6
+ return Rt(() => {
7
+ const l = e.$$id;
8
+ if (pe[l]) {
9
+ n(pe[l]);
10
+ return;
11
+ }
12
+ const f = e.getContent() || "";
13
+ pe[l] = f, n(f);
14
+ }, [e]), a;
9
15
  };
10
16
  var se = { exports: {} }, X = {};
11
17
  /**
@@ -17,17 +23,17 @@ var se = { exports: {} }, X = {};
17
23
  * This source code is licensed under the MIT license found in the
18
24
  * LICENSE file in the root directory of this source tree.
19
25
  */
20
- var Ye;
21
- function St() {
22
- if (Ye)
26
+ var He;
27
+ function wt() {
28
+ if (He)
23
29
  return X;
24
- Ye = 1;
25
- var e = Ue, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, f = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
30
+ He = 1;
31
+ var e = qe, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, f = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
26
32
  function b(d, g, m) {
27
33
  var v, S = {}, _ = null, $ = null;
28
34
  m !== void 0 && (_ = "" + m), g.key !== void 0 && (_ = "" + g.key), g.ref !== void 0 && ($ = g.ref);
29
35
  for (v in g)
30
- c.call(g, v) && !l.hasOwnProperty(v) && (S[v] = g[v]);
36
+ l.call(g, v) && !c.hasOwnProperty(v) && (S[v] = g[v]);
31
37
  if (d && d.defaultProps)
32
38
  for (v in g = d.defaultProps, g)
33
39
  S[v] === void 0 && (S[v] = g[v]);
@@ -45,10 +51,10 @@ var Q = {};
45
51
  * This source code is licensed under the MIT license found in the
46
52
  * LICENSE file in the root directory of this source tree.
47
53
  */
48
- var He;
49
- function wt() {
50
- return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
51
- var e = Ue, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), O = Symbol.iterator, L = "@@iterator";
54
+ var Ue;
55
+ function Ct() {
56
+ return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
57
+ var e = qe, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), O = Symbol.iterator, L = "@@iterator";
52
58
  function ce(t) {
53
59
  if (t === null || typeof t != "object")
54
60
  return null;
@@ -56,14 +62,14 @@ function wt() {
56
62
  return typeof i == "function" ? i : null;
57
63
  }
58
64
  var B = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
59
- function R(t) {
65
+ function k(t) {
60
66
  {
61
67
  for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
62
68
  s[u - 1] = arguments[u];
63
- U("error", t, s);
69
+ H("error", t, s);
64
70
  }
65
71
  }
66
- function U(t, i, s) {
72
+ function H(t, i, s) {
67
73
  {
68
74
  var u = B.ReactDebugCurrentFrame, y = u.getStackAddendum();
69
75
  y !== "" && (i += "%s", s = s.concat([y]));
@@ -73,34 +79,34 @@ function wt() {
73
79
  T.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, T);
74
80
  }
75
81
  }
76
- var J = !1, Z = !1, Je = !1, ze = !1, Ke = !1, be;
77
- be = Symbol.for("react.module.reference");
78
- function Xe(t) {
79
- return !!(typeof t == "string" || typeof t == "function" || t === c || t === l || Ke || t === f || t === m || t === v || ze || t === $ || J || Z || Je || typeof t == "object" && t !== null && (t.$$typeof === _ || t.$$typeof === S || t.$$typeof === b || t.$$typeof === d || t.$$typeof === g || t.$$typeof === be || t.getModuleId !== void 0));
82
+ var J = !1, Z = !1, ze = !1, Ke = !1, Xe = !1, ye;
83
+ ye = Symbol.for("react.module.reference");
84
+ function Qe(t) {
85
+ return !!(typeof t == "string" || typeof t == "function" || t === l || t === c || Xe || t === f || t === m || t === v || Ke || t === $ || J || Z || ze || typeof t == "object" && t !== null && (t.$$typeof === _ || t.$$typeof === S || t.$$typeof === b || t.$$typeof === d || t.$$typeof === g || t.$$typeof === ye || t.getModuleId !== void 0));
80
86
  }
81
- function Qe(t, i, s) {
87
+ function Ze(t, i, s) {
82
88
  var u = t.displayName;
83
89
  if (u)
84
90
  return u;
85
91
  var y = i.displayName || i.name || "";
86
92
  return y !== "" ? s + "(" + y + ")" : s;
87
93
  }
88
- function ye(t) {
94
+ function _e(t) {
89
95
  return t.displayName || "Context";
90
96
  }
91
97
  function F(t) {
92
98
  if (t == null)
93
99
  return null;
94
- 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")
100
+ if (typeof t.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
95
101
  return t.displayName || t.name || null;
96
102
  if (typeof t == "string")
97
103
  return t;
98
104
  switch (t) {
99
- case c:
105
+ case l:
100
106
  return "Fragment";
101
107
  case n:
102
108
  return "Portal";
103
- case l:
109
+ case c:
104
110
  return "Profiler";
105
111
  case f:
106
112
  return "StrictMode";
@@ -113,12 +119,12 @@ function wt() {
113
119
  switch (t.$$typeof) {
114
120
  case d:
115
121
  var i = t;
116
- return ye(i) + ".Consumer";
122
+ return _e(i) + ".Consumer";
117
123
  case b:
118
124
  var s = t;
119
- return ye(s._context) + ".Provider";
125
+ return _e(s._context) + ".Provider";
120
126
  case g:
121
- return Qe(t, t.render, "ForwardRef");
127
+ return Ze(t, t.render, "ForwardRef");
122
128
  case S:
123
129
  var u = t.displayName || null;
124
130
  return u !== null ? u : F(t.type) || "Memo";
@@ -133,18 +139,18 @@ function wt() {
133
139
  }
134
140
  return null;
135
141
  }
136
- var W = Object.assign, z = 0, _e, Te, Ae, Ne, Re, ke, Ee;
137
- function Se() {
142
+ var W = Object.assign, z = 0, Te, Ae, Ne, ke, Re, Ee, Se;
143
+ function we() {
138
144
  }
139
- Se.__reactDisabledLog = !0;
140
- function Ze() {
145
+ we.__reactDisabledLog = !0;
146
+ function et() {
141
147
  {
142
148
  if (z === 0) {
143
- _e = console.log, Te = console.info, Ae = console.warn, Ne = console.error, Re = console.group, ke = console.groupCollapsed, Ee = console.groupEnd;
149
+ Te = console.log, Ae = console.info, Ne = console.warn, ke = console.error, Re = console.group, Ee = console.groupCollapsed, Se = console.groupEnd;
144
150
  var t = {
145
151
  configurable: !0,
146
152
  enumerable: !0,
147
- value: Se,
153
+ value: we,
148
154
  writable: !0
149
155
  };
150
156
  Object.defineProperties(console, {
@@ -160,7 +166,7 @@ function wt() {
160
166
  z++;
161
167
  }
162
168
  }
163
- function et() {
169
+ function tt() {
164
170
  {
165
171
  if (z--, z === 0) {
166
172
  var t = {
@@ -170,29 +176,29 @@ function wt() {
170
176
  };
171
177
  Object.defineProperties(console, {
172
178
  log: W({}, t, {
173
- value: _e
179
+ value: Te
174
180
  }),
175
181
  info: W({}, t, {
176
- value: Te
182
+ value: Ae
177
183
  }),
178
184
  warn: W({}, t, {
179
- value: Ae
185
+ value: Ne
180
186
  }),
181
187
  error: W({}, t, {
182
- value: Ne
188
+ value: ke
183
189
  }),
184
190
  group: W({}, t, {
185
191
  value: Re
186
192
  }),
187
193
  groupCollapsed: W({}, t, {
188
- value: ke
194
+ value: Ee
189
195
  }),
190
196
  groupEnd: W({}, t, {
191
- value: Ee
197
+ value: Se
192
198
  })
193
199
  });
194
200
  }
195
- z < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
201
+ z < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
202
  }
197
203
  }
198
204
  var oe = B.ReactCurrentDispatcher, ue;
@@ -211,10 +217,10 @@ function wt() {
211
217
  }
212
218
  var fe = !1, te;
213
219
  {
214
- var tt = typeof WeakMap == "function" ? WeakMap : Map;
215
- te = new tt();
220
+ var rt = typeof WeakMap == "function" ? WeakMap : Map;
221
+ te = new rt();
216
222
  }
217
- function we(t, i) {
223
+ function Ce(t, i) {
218
224
  if (!t || fe)
219
225
  return "";
220
226
  {
@@ -227,7 +233,7 @@ function wt() {
227
233
  var y = Error.prepareStackTrace;
228
234
  Error.prepareStackTrace = void 0;
229
235
  var T;
230
- T = oe.current, oe.current = null, Ze();
236
+ T = oe.current, oe.current = null, et();
231
237
  try {
232
238
  if (i) {
233
239
  var p = function() {
@@ -264,31 +270,31 @@ function wt() {
264
270
  if (M && u && typeof M.stack == "string") {
265
271
  for (var h = M.stack.split(`
266
272
  `), x = u.stack.split(`
267
- `), N = h.length - 1, k = x.length - 1; N >= 1 && k >= 0 && h[N] !== x[k]; )
268
- k--;
269
- for (; N >= 1 && k >= 0; N--, k--)
270
- if (h[N] !== x[k]) {
271
- if (N !== 1 || k !== 1)
273
+ `), N = h.length - 1, R = x.length - 1; N >= 1 && R >= 0 && h[N] !== x[R]; )
274
+ R--;
275
+ for (; N >= 1 && R >= 0; N--, R--)
276
+ if (h[N] !== x[R]) {
277
+ if (N !== 1 || R !== 1)
272
278
  do
273
- if (N--, k--, k < 0 || h[N] !== x[k]) {
279
+ if (N--, R--, R < 0 || h[N] !== x[R]) {
274
280
  var j = `
275
281
  ` + h[N].replace(" at new ", " at ");
276
282
  return t.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", t.displayName)), typeof t == "function" && te.set(t, j), j;
277
283
  }
278
- while (N >= 1 && k >= 0);
284
+ while (N >= 1 && R >= 0);
279
285
  break;
280
286
  }
281
287
  }
282
288
  } finally {
283
- fe = !1, oe.current = T, et(), Error.prepareStackTrace = y;
289
+ fe = !1, oe.current = T, tt(), Error.prepareStackTrace = y;
284
290
  }
285
- var V = t ? t.displayName || t.name : "", We = V ? ee(V) : "";
286
- return typeof t == "function" && te.set(t, We), We;
291
+ var q = t ? t.displayName || t.name : "", Ye = q ? ee(q) : "";
292
+ return typeof t == "function" && te.set(t, Ye), Ye;
287
293
  }
288
- function rt(t, i, s) {
289
- return we(t, !1);
294
+ function at(t, i, s) {
295
+ return Ce(t, !1);
290
296
  }
291
- function at(t) {
297
+ function it(t) {
292
298
  var i = t.prototype;
293
299
  return !!(i && i.isReactComponent);
294
300
  }
@@ -296,7 +302,7 @@ function wt() {
296
302
  if (t == null)
297
303
  return "";
298
304
  if (typeof t == "function")
299
- return we(t, at(t));
305
+ return Ce(t, it(t));
300
306
  if (typeof t == "string")
301
307
  return ee(t);
302
308
  switch (t) {
@@ -308,7 +314,7 @@ function wt() {
308
314
  if (typeof t == "object")
309
315
  switch (t.$$typeof) {
310
316
  case g:
311
- return rt(t.render);
317
+ return at(t.render);
312
318
  case S:
313
319
  return re(t.type, i, s);
314
320
  case _: {
@@ -321,15 +327,15 @@ function wt() {
321
327
  }
322
328
  return "";
323
329
  }
324
- var ae = Object.prototype.hasOwnProperty, Ce = {}, Oe = B.ReactDebugCurrentFrame;
330
+ var ae = Object.prototype.hasOwnProperty, Oe = {}, $e = B.ReactDebugCurrentFrame;
325
331
  function ie(t) {
326
332
  if (t) {
327
333
  var i = t._owner, s = re(t.type, t._source, i ? i.type : null);
328
- Oe.setExtraStackFrame(s);
334
+ $e.setExtraStackFrame(s);
329
335
  } else
330
- Oe.setExtraStackFrame(null);
336
+ $e.setExtraStackFrame(null);
331
337
  }
332
- function it(t, i, s, u, y) {
338
+ function nt(t, i, s, u, y) {
333
339
  {
334
340
  var T = Function.call.bind(ae);
335
341
  for (var p in t)
@@ -344,42 +350,42 @@ function wt() {
344
350
  } catch (N) {
345
351
  h = N;
346
352
  }
347
- h && !(h instanceof Error) && (ie(y), 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, p, typeof h), ie(null)), h instanceof Error && !(h.message in Ce) && (Ce[h.message] = !0, ie(y), R("Failed %s type: %s", s, h.message), ie(null));
353
+ h && !(h instanceof Error) && (ie(y), k("%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, p, typeof h), ie(null)), h instanceof Error && !(h.message in Oe) && (Oe[h.message] = !0, ie(y), k("Failed %s type: %s", s, h.message), ie(null));
348
354
  }
349
355
  }
350
356
  }
351
- var nt = Array.isArray;
357
+ var st = Array.isArray;
352
358
  function ge(t) {
353
- return nt(t);
359
+ return st(t);
354
360
  }
355
- function st(t) {
361
+ function lt(t) {
356
362
  {
357
363
  var i = typeof Symbol == "function" && Symbol.toStringTag, s = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
358
364
  return s;
359
365
  }
360
366
  }
361
- function lt(t) {
367
+ function ct(t) {
362
368
  try {
363
- return $e(t), !1;
369
+ return xe(t), !1;
364
370
  } catch {
365
371
  return !0;
366
372
  }
367
373
  }
368
- function $e(t) {
374
+ function xe(t) {
369
375
  return "" + t;
370
376
  }
371
- function xe(t) {
372
- if (lt(t))
373
- return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", st(t)), $e(t);
377
+ function Ie(t) {
378
+ if (ct(t))
379
+ return k("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);
374
380
  }
375
- var K = B.ReactCurrentOwner, ct = {
381
+ var K = B.ReactCurrentOwner, ot = {
376
382
  key: !0,
377
383
  ref: !0,
378
384
  __self: !0,
379
385
  __source: !0
380
- }, Ie, Pe, he;
386
+ }, Pe, je, he;
381
387
  he = {};
382
- function ot(t) {
388
+ function ut(t) {
383
389
  if (ae.call(t, "ref")) {
384
390
  var i = Object.getOwnPropertyDescriptor(t, "ref").get;
385
391
  if (i && i.isReactWarning)
@@ -387,7 +393,7 @@ function wt() {
387
393
  }
388
394
  return t.ref !== void 0;
389
395
  }
390
- function ut(t) {
396
+ function ft(t) {
391
397
  if (ae.call(t, "key")) {
392
398
  var i = Object.getOwnPropertyDescriptor(t, "key").get;
393
399
  if (i && i.isReactWarning)
@@ -395,16 +401,16 @@ function wt() {
395
401
  }
396
402
  return t.key !== void 0;
397
403
  }
398
- function ft(t, i) {
404
+ function gt(t, i) {
399
405
  if (typeof t.ref == "string" && K.current && i && K.current.stateNode !== i) {
400
406
  var s = F(K.current.type);
401
- he[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', F(K.current.type), t.ref), he[s] = !0);
407
+ he[s] || (k('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', F(K.current.type), t.ref), he[s] = !0);
402
408
  }
403
409
  }
404
- function gt(t, i) {
410
+ function ht(t, i) {
405
411
  {
406
412
  var s = function() {
407
- Ie || (Ie = !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));
413
+ Pe || (Pe = !0, k("%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));
408
414
  };
409
415
  s.isReactWarning = !0, Object.defineProperty(t, "key", {
410
416
  get: s,
@@ -412,10 +418,10 @@ function wt() {
412
418
  });
413
419
  }
414
420
  }
415
- function ht(t, i) {
421
+ function dt(t, i) {
416
422
  {
417
423
  var s = function() {
418
- Pe || (Pe = !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));
424
+ je || (je = !0, k("%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));
419
425
  };
420
426
  s.isReactWarning = !0, Object.defineProperty(t, "ref", {
421
427
  get: s,
@@ -423,7 +429,7 @@ function wt() {
423
429
  });
424
430
  }
425
431
  }
426
- var dt = function(t, i, s, u, y, T, p) {
432
+ var mt = function(t, i, s, u, y, T, p) {
427
433
  var h = {
428
434
  $$typeof: a,
429
435
  type: t,
@@ -449,38 +455,38 @@ function wt() {
449
455
  value: y
450
456
  }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
451
457
  };
452
- function mt(t, i, s, u, y) {
458
+ function vt(t, i, s, u, y) {
453
459
  {
454
460
  var T, p = {}, h = null, x = null;
455
- s !== void 0 && (xe(s), h = "" + s), ut(i) && (xe(i.key), h = "" + i.key), ot(i) && (x = i.ref, ft(i, y));
461
+ s !== void 0 && (Ie(s), h = "" + s), ft(i) && (Ie(i.key), h = "" + i.key), ut(i) && (x = i.ref, gt(i, y));
456
462
  for (T in i)
457
- ae.call(i, T) && !ct.hasOwnProperty(T) && (p[T] = i[T]);
463
+ ae.call(i, T) && !ot.hasOwnProperty(T) && (p[T] = i[T]);
458
464
  if (t && t.defaultProps) {
459
465
  var N = t.defaultProps;
460
466
  for (T in N)
461
467
  p[T] === void 0 && (p[T] = N[T]);
462
468
  }
463
469
  if (h || x) {
464
- var k = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
- h && gt(p, k), x && ht(p, k);
470
+ var R = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
471
+ h && ht(p, R), x && dt(p, R);
466
472
  }
467
- return dt(t, h, x, y, u, K.current, p);
473
+ return mt(t, h, x, y, u, K.current, p);
468
474
  }
469
475
  }
470
- var de = B.ReactCurrentOwner, je = B.ReactDebugCurrentFrame;
471
- function q(t) {
476
+ var de = B.ReactCurrentOwner, De = B.ReactDebugCurrentFrame;
477
+ function U(t) {
472
478
  if (t) {
473
479
  var i = t._owner, s = re(t.type, t._source, i ? i.type : null);
474
- je.setExtraStackFrame(s);
480
+ De.setExtraStackFrame(s);
475
481
  } else
476
- je.setExtraStackFrame(null);
482
+ De.setExtraStackFrame(null);
477
483
  }
478
484
  var me;
479
485
  me = !1;
480
486
  function ve(t) {
481
487
  return typeof t == "object" && t !== null && t.$$typeof === a;
482
488
  }
483
- function De() {
489
+ function Le() {
484
490
  {
485
491
  if (de.current) {
486
492
  var t = F(de.current.type);
@@ -492,7 +498,7 @@ Check the render method of \`` + t + "`.";
492
498
  return "";
493
499
  }
494
500
  }
495
- function vt(t) {
501
+ function pt(t) {
496
502
  {
497
503
  if (t !== void 0) {
498
504
  var i = t.fileName.replace(/^.*[\\\/]/, ""), s = t.lineNumber;
@@ -503,10 +509,10 @@ Check your code at ` + i + ":" + s + ".";
503
509
  return "";
504
510
  }
505
511
  }
506
- var Le = {};
507
- function pt(t) {
512
+ var Fe = {};
513
+ function bt(t) {
508
514
  {
509
- var i = De();
515
+ var i = Le();
510
516
  if (!i) {
511
517
  var s = typeof t == "string" ? t : t.displayName || t.name;
512
518
  s && (i = `
@@ -516,27 +522,27 @@ Check the top-level render call using <` + s + ">.");
516
522
  return i;
517
523
  }
518
524
  }
519
- function Fe(t, i) {
525
+ function Me(t, i) {
520
526
  {
521
527
  if (!t._store || t._store.validated || t.key != null)
522
528
  return;
523
529
  t._store.validated = !0;
524
- var s = pt(i);
525
- if (Le[s])
530
+ var s = bt(i);
531
+ if (Fe[s])
526
532
  return;
527
- Le[s] = !0;
533
+ Fe[s] = !0;
528
534
  var u = "";
529
- t && t._owner && t._owner !== de.current && (u = " It was passed a child from " + F(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);
535
+ t && t._owner && t._owner !== de.current && (u = " It was passed a child from " + F(t._owner.type) + "."), U(t), k('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), U(null);
530
536
  }
531
537
  }
532
- function Me(t, i) {
538
+ function Be(t, i) {
533
539
  {
534
540
  if (typeof t != "object")
535
541
  return;
536
542
  if (ge(t))
537
543
  for (var s = 0; s < t.length; s++) {
538
544
  var u = t[s];
539
- ve(u) && Fe(u, i);
545
+ ve(u) && Me(u, i);
540
546
  }
541
547
  else if (ve(t))
542
548
  t._store && (t._store.validated = !0);
@@ -544,11 +550,11 @@ Check the top-level render call using <` + s + ">.");
544
550
  var y = ce(t);
545
551
  if (typeof y == "function" && y !== t.entries)
546
552
  for (var T = y.call(t), p; !(p = T.next()).done; )
547
- ve(p.value) && Fe(p.value, i);
553
+ ve(p.value) && Me(p.value, i);
548
554
  }
549
555
  }
550
556
  }
551
- function bt(t) {
557
+ function yt(t) {
552
558
  {
553
559
  var i = t.type;
554
560
  if (i == null || typeof i == "string")
@@ -562,92 +568,92 @@ Check the top-level render call using <` + s + ">.");
562
568
  return;
563
569
  if (s) {
564
570
  var u = F(i);
565
- it(s, t.props, "prop", u, t);
571
+ nt(s, t.props, "prop", u, t);
566
572
  } else if (i.PropTypes !== void 0 && !me) {
567
573
  me = !0;
568
574
  var y = F(i);
569
- R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
575
+ k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
570
576
  }
571
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
577
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
572
578
  }
573
579
  }
574
- function yt(t) {
580
+ function _t(t) {
575
581
  {
576
582
  for (var i = Object.keys(t.props), s = 0; s < i.length; s++) {
577
583
  var u = i[s];
578
584
  if (u !== "children" && u !== "key") {
579
- q(t), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
585
+ U(t), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), U(null);
580
586
  break;
581
587
  }
582
588
  }
583
- t.ref !== null && (q(t), R("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
589
+ t.ref !== null && (U(t), k("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
584
590
  }
585
591
  }
586
- function Be(t, i, s, u, y, T) {
592
+ function We(t, i, s, u, y, T) {
587
593
  {
588
- var p = Xe(t);
594
+ var p = Qe(t);
589
595
  if (!p) {
590
596
  var h = "";
591
597
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var x = vt(y);
593
- x ? h += x : h += De();
598
+ var x = pt(y);
599
+ x ? h += x : h += Le();
594
600
  var N;
595
- t === null ? N = "null" : ge(t) ? N = "array" : t !== void 0 && t.$$typeof === a ? (N = "<" + (F(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : N = 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", N, h);
601
+ t === null ? N = "null" : ge(t) ? N = "array" : t !== void 0 && t.$$typeof === a ? (N = "<" + (F(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : N = typeof t, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", N, h);
596
602
  }
597
- var k = mt(t, i, s, y, T);
598
- if (k == null)
599
- return k;
603
+ var R = vt(t, i, s, y, T);
604
+ if (R == null)
605
+ return R;
600
606
  if (p) {
601
607
  var j = i.children;
602
608
  if (j !== void 0)
603
609
  if (u)
604
610
  if (ge(j)) {
605
- for (var V = 0; V < j.length; V++)
606
- Me(j[V], t);
611
+ for (var q = 0; q < j.length; q++)
612
+ Be(j[q], t);
607
613
  Object.freeze && Object.freeze(j);
608
614
  } else
609
- 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.");
615
+ k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
610
616
  else
611
- Me(j, t);
617
+ Be(j, t);
612
618
  }
613
- return t === c ? yt(k) : bt(k), k;
619
+ return t === l ? _t(R) : yt(R), R;
614
620
  }
615
621
  }
616
- function _t(t, i, s) {
617
- return Be(t, i, s, !0);
618
- }
619
622
  function Tt(t, i, s) {
620
- return Be(t, i, s, !1);
623
+ return We(t, i, s, !0);
624
+ }
625
+ function At(t, i, s) {
626
+ return We(t, i, s, !1);
621
627
  }
622
- var At = Tt, Nt = _t;
623
- Q.Fragment = c, Q.jsx = At, Q.jsxs = Nt;
628
+ var Nt = At, kt = Tt;
629
+ Q.Fragment = l, Q.jsx = Nt, Q.jsxs = kt;
624
630
  }()), Q;
625
631
  }
626
632
  (function(e) {
627
- process.env.NODE_ENV === "production" ? e.exports = St() : e.exports = wt();
633
+ process.env.NODE_ENV === "production" ? e.exports = wt() : e.exports = Ct();
628
634
  })(se);
629
635
  const D = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, P = ({
630
636
  node: e
631
637
  }) => e.hasTitle() ? /* @__PURE__ */ r("div", {
632
638
  className: "title",
633
- children: w.default(e.getTitle() || "")
639
+ children: w(e.getTitle() || "")
634
640
  }) : null, ne = ({
635
641
  node: e
636
642
  }) => e.hasTitle() ? /* @__PURE__ */ r("div", {
637
643
  className: "title",
638
- children: w.default(e.getCaptionedTitle() || "")
644
+ children: w(e.getCaptionedTitle() || "")
639
645
  }) : null, C = (e) => typeof e.getRole() == "string" ? e.getRole() : void 0, A = (e) => e.getLineNumber() ? {
640
646
  "data-lineno": e.getLineNumber()
641
- } : {}, Ct = ({
647
+ } : {}, Ot = ({
642
648
  node: e
643
649
  }) => {
644
- const a = e.getAttributes(), n = e.getDocument(), c = H(e), f = () => n.getAttribute("icons") === "font" && !a.icon ? /* @__PURE__ */ r("i", {
650
+ const a = e.getAttributes(), n = e.getDocument(), l = Y(e), f = () => n.getAttribute("icons") === "font" && !a.icon ? /* @__PURE__ */ r("i", {
645
651
  className: `fa icon-${a.name}`,
646
652
  title: a.textlabel
647
653
  }) : /* @__PURE__ */ r("img", {
648
654
  src: e.getIconUri(a.name),
649
655
  alt: a.textlabel
650
- }), l = e.content_model;
656
+ }), c = e.content_model;
651
657
  return /* @__PURE__ */ r("div", {
652
658
  className: `admonitionblock ${a.name}`,
653
659
  ...A(e),
@@ -664,7 +670,7 @@ const D = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, P = ({
664
670
  className: "content",
665
671
  children: [/* @__PURE__ */ r(P, {
666
672
  node: e
667
- }), l === "simple" ? w.default(c) : /* @__PURE__ */ r(I, {
673
+ }), c === "simple" ? w(l) : /* @__PURE__ */ r(I, {
668
674
  blocks: e.getBlocks()
669
675
  })]
670
676
  })]
@@ -672,10 +678,10 @@ const D = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, P = ({
672
678
  })
673
679
  })
674
680
  });
675
- }, Ot = ({
681
+ }, $t = ({
676
682
  node: e
677
683
  }) => {
678
- const a = e.getAttribute("start"), n = e.getAttribute("start"), c = (a || n) && `#t=${a || ""}` + n ? `,${n}` : "";
684
+ const a = e.getAttribute("start"), n = e.getAttribute("start"), l = (a || n) && `#t=${a || ""}` + n ? `,${n}` : "";
679
685
  return /* @__PURE__ */ o("div", {
680
686
  className: "audioblock",
681
687
  ...A(e),
@@ -684,7 +690,7 @@ const D = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, P = ({
684
690
  }), /* @__PURE__ */ r("div", {
685
691
  className: "content",
686
692
  children: /* @__PURE__ */ r("audio", {
687
- src: `${e.getMediaUri(e.getAttribute("target"))}${c}`,
693
+ src: `${e.getMediaUri(e.getAttribute("target"))}${l}`,
688
694
  autoPlay: e.isOption("autoplay"),
689
695
  controls: !e.isOption("nocontrols"),
690
696
  loop: e.isOption("loop"),
@@ -692,7 +698,7 @@ const D = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, P = ({
692
698
  })
693
699
  })]
694
700
  });
695
- }, $t = ({
701
+ }, xt = ({
696
702
  node: e
697
703
  }) => /* @__PURE__ */ o("div", {
698
704
  className: "colist",
@@ -710,7 +716,7 @@ const D = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, P = ({
710
716
  children: n + 1
711
717
  })]
712
718
  }), /* @__PURE__ */ o("td", {
713
- children: [w.default(a.getText()), /* @__PURE__ */ r(I, {
719
+ children: [w(a.getText()), /* @__PURE__ */ r(I, {
714
720
  blocks: a.getBlocks()
715
721
  })]
716
722
  })]
@@ -718,7 +724,7 @@ const D = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, P = ({
718
724
  })
719
725
  })]
720
726
  });
721
- var Ve = { exports: {} };
727
+ var Ge = { exports: {} };
722
728
  /*!
723
729
  Copyright (c) 2018 Jed Watson.
724
730
  Licensed under the MIT License (MIT), see
@@ -728,49 +734,49 @@ var Ve = { exports: {} };
728
734
  (function() {
729
735
  var a = {}.hasOwnProperty;
730
736
  function n() {
731
- for (var c = [], f = 0; f < arguments.length; f++) {
732
- var l = arguments[f];
733
- if (!!l) {
734
- var b = typeof l;
737
+ for (var l = [], f = 0; f < arguments.length; f++) {
738
+ var c = arguments[f];
739
+ if (!!c) {
740
+ var b = typeof c;
735
741
  if (b === "string" || b === "number")
736
- c.push(l);
737
- else if (Array.isArray(l)) {
738
- if (l.length) {
739
- var d = n.apply(null, l);
740
- d && c.push(d);
742
+ l.push(c);
743
+ else if (Array.isArray(c)) {
744
+ if (c.length) {
745
+ var d = n.apply(null, c);
746
+ d && l.push(d);
741
747
  }
742
748
  } else if (b === "object") {
743
- if (l.toString !== Object.prototype.toString && !l.toString.toString().includes("[native code]")) {
744
- c.push(l.toString());
749
+ if (c.toString !== Object.prototype.toString && !c.toString.toString().includes("[native code]")) {
750
+ l.push(c.toString());
745
751
  continue;
746
752
  }
747
- for (var g in l)
748
- a.call(l, g) && l[g] && c.push(g);
753
+ for (var g in c)
754
+ a.call(c, g) && c[g] && l.push(g);
749
755
  }
750
756
  }
751
757
  }
752
- return c.join(" ");
758
+ return l.join(" ");
753
759
  }
754
760
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
755
761
  })();
756
- })(Ve);
757
- const E = Ve.exports, xt = ({
762
+ })(Ge);
763
+ const E = Ge.exports, It = ({
758
764
  node: e
759
765
  }) => {
760
- const a = e.getStyle(), n = (l) => {
761
- const b = l, d = b[0];
766
+ const a = e.getStyle(), n = (c) => {
767
+ const b = c, d = b[0];
762
768
  let g = b[1];
763
769
  return g.getNodeName || (g = null), {
764
770
  terms: d,
765
771
  dd: g
766
772
  };
767
- }, c = (l) => {
768
- if (l)
773
+ }, l = (c) => {
774
+ if (c)
769
775
  return /* @__PURE__ */ o("dd", {
770
- children: [l.hasText() && /* @__PURE__ */ r("p", {
771
- children: w.default(l.getText())
772
- }), l.hasBlocks() && /* @__PURE__ */ r(I, {
773
- blocks: l.getBlocks()
776
+ children: [c.hasText() && /* @__PURE__ */ r("p", {
777
+ children: w(c.getText())
778
+ }), c.hasBlocks() && /* @__PURE__ */ r(I, {
779
+ blocks: c.getBlocks()
774
780
  })]
775
781
  });
776
782
  }, f = e.hasTitle() && /* @__PURE__ */ r("div", {
@@ -782,30 +788,30 @@ const E = Ve.exports, xt = ({
782
788
  className: E("qlist qanda", C(e)),
783
789
  ...A(e),
784
790
  children: [f, /* @__PURE__ */ r("ol", {
785
- children: e.getItems().map((l, b) => {
791
+ children: e.getItems().map((c, b) => {
786
792
  const {
787
793
  terms: d,
788
794
  dd: g
789
- } = n(l);
795
+ } = n(c);
790
796
  return /* @__PURE__ */ o("li", {
791
797
  children: [d.map((m, v) => /* @__PURE__ */ r("p", {
792
798
  children: /* @__PURE__ */ r("em", {
793
799
  children: m.getText()
794
800
  })
795
- }, v)), c(g)]
801
+ }, v)), l(g)]
796
802
  }, b);
797
803
  })
798
804
  })]
799
805
  });
800
806
  if (a === "horizontal") {
801
- const l = e.getAttribute("labelwidth"), b = e.getAttribute("itemwidth");
807
+ const c = e.getAttribute("labelwidth"), b = e.getAttribute("itemwidth");
802
808
  return /* @__PURE__ */ o("div", {
803
809
  className: E("hdlist", C(e)),
804
810
  children: [f, /* @__PURE__ */ o("table", {
805
- children: [(l || b) && /* @__PURE__ */ o("colgroup", {
811
+ children: [(c || b) && /* @__PURE__ */ o("colgroup", {
806
812
  children: [/* @__PURE__ */ r("col", {
807
813
  style: {
808
- width: l ? `${l.replace("%", "")}%` : ""
814
+ width: c ? `${c.replace("%", "")}%` : ""
809
815
  }
810
816
  }), /* @__PURE__ */ r("col", {
811
817
  style: {
@@ -821,13 +827,13 @@ const E = Ve.exports, xt = ({
821
827
  return /* @__PURE__ */ o("tr", {
822
828
  children: [/* @__PURE__ */ r("td", {
823
829
  className: E("hdlist1", e.isOption("strong") ? "strong" : ""),
824
- children: m.map((S, _) => /* @__PURE__ */ o(pe, {
825
- children: [_ !== 0 && /* @__PURE__ */ r("br", {}), w.default(S.getText())]
830
+ children: m.map((S, _) => /* @__PURE__ */ o(be, {
831
+ children: [_ !== 0 && /* @__PURE__ */ r("br", {}), w(S.getText())]
826
832
  }, _))
827
833
  }), v && /* @__PURE__ */ o("td", {
828
834
  className: "hdlist2",
829
835
  children: [v.hasText() && /* @__PURE__ */ r("p", {
830
- children: w.default(v.getText())
836
+ children: w(v.getText())
831
837
  }), v.hasBlocks() && /* @__PURE__ */ r(I, {
832
838
  blocks: v.getBlocks()
833
839
  })]
@@ -841,16 +847,16 @@ const E = Ve.exports, xt = ({
841
847
  return /* @__PURE__ */ o("div", {
842
848
  className: E("dlist", e.getStyle(), C(e)),
843
849
  children: [f, /* @__PURE__ */ r("dl", {
844
- children: e.getItems().map((l, b) => {
850
+ children: e.getItems().map((c, b) => {
845
851
  const {
846
852
  terms: d,
847
853
  dd: g
848
- } = n(l);
849
- return /* @__PURE__ */ o(pe, {
854
+ } = n(c);
855
+ return /* @__PURE__ */ o(be, {
850
856
  children: [d.map((m, v) => /* @__PURE__ */ r("dt", {
851
857
  className: "hdlist1",
852
- children: w.default(m.getText())
853
- }, v)), c(g)]
858
+ children: w(m.getText())
859
+ }, v)), l(g)]
854
860
  }, b);
855
861
  })
856
862
  })]
@@ -861,7 +867,7 @@ const E = Ve.exports, xt = ({
861
867
  }) => {
862
868
  if (!e.hasSections())
863
869
  return null;
864
- const n = e.getSections(), c = e.getDocument(), f = Y(() => c.getAttributes(), [e]), l = Y(() => c.getAttribute("sectnumlevels"), [e]), b = Y(() => c.getAttribute("toclevels"), [e]), d = (a == null ? void 0 : a.sectNumLevels) || (l ? parseInt(l) : 3), g = (a == null ? void 0 : a.tocLevels) || (b ? parseInt(b) : 2);
870
+ const n = e.getSections(), l = e.getDocument(), f = G(() => l.getAttributes(), [e]), c = G(() => l.getAttribute("sectnumlevels"), [e]), b = G(() => l.getAttribute("toclevels"), [e]), d = (a == null ? void 0 : a.sectNumLevels) || (c ? parseInt(c) : 3), g = (a == null ? void 0 : a.tocLevels) || (b ? parseInt(b) : 2);
865
871
  return /* @__PURE__ */ r("ul", {
866
872
  className: `sectlevel${n[0].getLevel()}`,
867
873
  children: n.map((m) => {
@@ -872,7 +878,7 @@ const E = Ve.exports, xt = ({
872
878
  if (m.getCaption())
873
879
  _ = m.getCaptionedTitle();
874
880
  else if (S <= d)
875
- if (S < 2 && c.getDoctype() == "book") {
881
+ if (S < 2 && l.getDoctype() == "book") {
876
882
  const $ = m.getSectionName();
877
883
  $ === "chapter" ? _ = `${f["chapter-signifier"] || ""} ${v} ${m.getTitle()}` : $ === "part" ? _ = `${f["part-signifier"] || ""} ${v} ${m.getTitle()}` : _ = `${v} ${m.getTitle()}`;
878
884
  } else
@@ -882,7 +888,7 @@ const E = Ve.exports, xt = ({
882
888
  return /* @__PURE__ */ o("li", {
883
889
  children: [/* @__PURE__ */ r("a", {
884
890
  href: `#${m.getId()}`,
885
- children: w.default(_)
891
+ children: w(_)
886
892
  }), S < g && /* @__PURE__ */ r(le, {
887
893
  node: m,
888
894
  opts: {
@@ -893,12 +899,12 @@ const E = Ve.exports, xt = ({
893
899
  }, m.getId());
894
900
  })
895
901
  });
896
- }, It = ({
902
+ }, Pt = ({
897
903
  document: e
898
904
  }) => {
899
- const a = e.getBlocks(), [n, c] = qe();
900
- Y(() => {
901
- (a || a[0]) && c(e.getFootnotes());
905
+ const a = e.getBlocks(), [n, l] = Ve();
906
+ G(() => {
907
+ (a || a[0]) && l(e.getFootnotes());
902
908
  }, [a]);
903
909
  const f = () => {
904
910
  var d;
@@ -921,7 +927,7 @@ const E = Ve.exports, xt = ({
921
927
  })]
922
928
  })
923
929
  });
924
- }, l = () => n && n.length > 0 && a && !a[0].getDocument().hasAttribute("nofootnotes") ? /* @__PURE__ */ o("div", {
930
+ }, c = () => n && n.length > 0 && a && !a[0].getDocument().hasAttribute("nofootnotes") ? /* @__PURE__ */ o("div", {
925
931
  id: "footnotes",
926
932
  children: [/* @__PURE__ */ r("hr", {}), n.map((d) => /* @__PURE__ */ o("div", {
927
933
  className: "footnote",
@@ -929,22 +935,22 @@ const E = Ve.exports, xt = ({
929
935
  children: [/* @__PURE__ */ r("a", {
930
936
  href: `#_footnoteref_${d.getIndex()}`,
931
937
  children: d.getIndex()
932
- }), ".", " ", w.default(d.getText() || "")]
938
+ }), ".", " ", w(d.getText() || "")]
933
939
  }, d.getIndex()))]
934
940
  }) : null, b = () => e.getAuthors().length > 0 || e.hasAttribute("revnumber") || e.hasAttribute("revdate") || e.hasAttribute("revremark") ? /* @__PURE__ */ o("div", {
935
941
  className: "details",
936
- children: [e.getAuthors().map((g, m) => /* @__PURE__ */ o(pe, {
942
+ children: [e.getAuthors().map((g, m) => /* @__PURE__ */ o(be, {
937
943
  children: [g.getName() && /* @__PURE__ */ o(D, {
938
944
  children: [/* @__PURE__ */ r("span", {
939
945
  id: `author${m + 1 > 1 ? m + 1 : ""}`,
940
946
  className: "author",
941
- children: w.default(e.applySubstitutions(g.getName() || "").toString())
947
+ children: w(e.applySubstitutions(g.getName() || "").toString())
942
948
  }), /* @__PURE__ */ r("br", {})]
943
949
  }), g.getEmail() && /* @__PURE__ */ o(D, {
944
950
  children: [/* @__PURE__ */ r("span", {
945
951
  id: `email${m + 1 > 1 ? m + 1 : ""}`,
946
952
  className: "email",
947
- children: w.default(e.applySubstitutions(g.getEmail() || "").toString())
953
+ children: w(e.applySubstitutions(g.getEmail() || "").toString())
948
954
  }), /* @__PURE__ */ r("br", {})]
949
955
  })]
950
956
  }, m)), e.hasAttribute("revnumber") && /* @__PURE__ */ r("span", {
@@ -966,9 +972,9 @@ const E = Ve.exports, xt = ({
966
972
  children: /* @__PURE__ */ r(I, {
967
973
  blocks: a
968
974
  })
969
- }), /* @__PURE__ */ r(l, {})]
975
+ }), /* @__PURE__ */ r(c, {})]
970
976
  });
971
- }, Pt = ({
977
+ }, jt = ({
972
978
  node: e
973
979
  }) => /* @__PURE__ */ o("div", {
974
980
  className: E("exampleblock", C(e)),
@@ -981,7 +987,7 @@ const E = Ve.exports, xt = ({
981
987
  blocks: e.getBlocks()
982
988
  })
983
989
  })]
984
- }), jt = ({
990
+ }), Dt = ({
985
991
  node: e
986
992
  }) => {
987
993
  const a = e.getLevel();
@@ -990,11 +996,11 @@ const E = Ve.exports, xt = ({
990
996
  className: "sectionanchor",
991
997
  id: `${e.getId() || ""}`,
992
998
  ...A(e)
993
- }), G(`h${a + 1}`, null, /* @__PURE__ */ r(P, {
999
+ }), V(`h${a + 1}`, null, /* @__PURE__ */ r(P, {
994
1000
  node: e
995
1001
  }))]
996
1002
  });
997
- }, Dt = ({
1003
+ }, Lt = ({
998
1004
  node: e
999
1005
  }) => {
1000
1006
  const a = e.getAttribute("target");
@@ -1018,12 +1024,12 @@ const E = Ve.exports, xt = ({
1018
1024
  node: e
1019
1025
  })]
1020
1026
  });
1021
- }, Lt = ({
1027
+ }, Ft = ({
1022
1028
  node: e
1023
1029
  }) => {
1024
- const a = e.getDocument(), n = e.getAttributes(), c = e.isOption("nowrap") || !a.hasAttribute("prewrap"), f = H(e);
1030
+ const a = e.getDocument(), n = e.getAttributes(), l = e.isOption("nowrap") || !a.hasAttribute("prewrap"), f = Y(e);
1025
1031
  if (e.getStyle() === "source") {
1026
- const l = n.language;
1032
+ const c = n.language;
1027
1033
  return /* @__PURE__ */ o("div", {
1028
1034
  className: "listingblock",
1029
1035
  ...A(e),
@@ -1032,10 +1038,10 @@ const E = Ve.exports, xt = ({
1032
1038
  }), /* @__PURE__ */ r("div", {
1033
1039
  className: "content",
1034
1040
  children: /* @__PURE__ */ r("pre", {
1035
- className: E("highlight", c ? " nowrap" : ""),
1036
- children: l ? /* @__PURE__ */ r("code", {
1037
- className: l ? `language-${l}` : "",
1038
- "data-lang": l,
1041
+ className: E("highlight", l ? " nowrap" : ""),
1042
+ children: c ? /* @__PURE__ */ r("code", {
1043
+ className: c ? `language-${c}` : "",
1044
+ "data-lang": c,
1039
1045
  dangerouslySetInnerHTML: {
1040
1046
  __html: f
1041
1047
  }
@@ -1056,7 +1062,7 @@ const E = Ve.exports, xt = ({
1056
1062
  }), /* @__PURE__ */ r("div", {
1057
1063
  className: "content",
1058
1064
  children: /* @__PURE__ */ r("pre", {
1059
- className: c ? " nowrap" : "",
1065
+ className: l ? " nowrap" : "",
1060
1066
  children: /* @__PURE__ */ r("code", {
1061
1067
  dangerouslySetInnerHTML: {
1062
1068
  __html: e.getSource()
@@ -1065,7 +1071,7 @@ const E = Ve.exports, xt = ({
1065
1071
  })
1066
1072
  })]
1067
1073
  });
1068
- }, Ft = ({
1074
+ }, Mt = ({
1069
1075
  node: e
1070
1076
  }) => {
1071
1077
  const n = e.getDocument().getAttributes().prewrap === void 0 || e.isOption("nowrap");
@@ -1082,7 +1088,7 @@ const E = Ve.exports, xt = ({
1082
1088
  })
1083
1089
  })]
1084
1090
  });
1085
- }, Mt = ({
1091
+ }, Bt = ({
1086
1092
  node: e
1087
1093
  }) => /* @__PURE__ */ o("div", {
1088
1094
  className: E("olist", C(e), e.getStyle()),
@@ -1096,13 +1102,13 @@ const E = Ve.exports, xt = ({
1096
1102
  children: e.getItems().map((a, n) => /* @__PURE__ */ o("li", {
1097
1103
  className: C(e) ? C(e) : "",
1098
1104
  children: [/* @__PURE__ */ r("p", {
1099
- children: w.default(a.getText())
1105
+ children: w(a.getText())
1100
1106
  }), /* @__PURE__ */ r(I, {
1101
1107
  blocks: a.getBlocks()
1102
1108
  })]
1103
1109
  }, n))
1104
1110
  })]
1105
- }), Bt = ({
1111
+ }), Wt = ({
1106
1112
  node: e
1107
1113
  }) => {
1108
1114
  const a = e.getStyle();
@@ -1129,14 +1135,14 @@ const E = Ve.exports, xt = ({
1129
1135
  })
1130
1136
  })]
1131
1137
  });
1132
- }, Wt = () => /* @__PURE__ */ r("div", {
1138
+ }, Yt = () => /* @__PURE__ */ r("div", {
1133
1139
  style: {
1134
1140
  pageBreakAfter: "always"
1135
1141
  }
1136
- }), Yt = ({
1142
+ }), Ht = ({
1137
1143
  node: e
1138
1144
  }) => {
1139
- const a = H(e);
1145
+ const a = Y(e);
1140
1146
  return /* @__PURE__ */ o("div", {
1141
1147
  id: e.getId ? e.getId() : "",
1142
1148
  className: E("paragraph", C(e)),
@@ -1149,14 +1155,14 @@ const E = Ve.exports, xt = ({
1149
1155
  }
1150
1156
  })]
1151
1157
  });
1152
- }, Ht = ({
1158
+ }, Ut = ({
1153
1159
  node: e
1154
1160
  }) => {
1155
- const a = H(e);
1161
+ const a = Y(e);
1156
1162
  return /* @__PURE__ */ r(D, {
1157
- children: w.default(a)
1163
+ children: w(a)
1158
1164
  });
1159
- }, Ut = ({
1165
+ }, qt = ({
1160
1166
  node: e
1161
1167
  }) => {
1162
1168
  const a = e.getDocument(), n = a.getAttribute("toc-placement") === "preamble" && a.hasSections() && a.hasAttribute("toc");
@@ -1172,17 +1178,17 @@ const E = Ve.exports, xt = ({
1172
1178
  className: a.getAttribute("toc-class", "toc"),
1173
1179
  children: [/* @__PURE__ */ r("div", {
1174
1180
  id: "toctitle",
1175
- children: w.default(a.getAttribute("toc-title"))
1181
+ children: w(a.getAttribute("toc-title"))
1176
1182
  }), /* @__PURE__ */ r(le, {
1177
1183
  node: a
1178
1184
  })]
1179
1185
  })]
1180
1186
  })
1181
1187
  });
1182
- }, qt = ({
1188
+ }, Vt = ({
1183
1189
  node: e
1184
1190
  }) => {
1185
- const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), c = H(e);
1191
+ const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), l = Y(e);
1186
1192
  return /* @__PURE__ */ o("div", {
1187
1193
  id: e.getId ? e.getId() : "",
1188
1194
  className: E("quoteblock", C(e)),
@@ -1191,7 +1197,7 @@ const E = Ve.exports, xt = ({
1191
1197
  node: e
1192
1198
  }), /* @__PURE__ */ r("blockquote", {
1193
1199
  dangerouslySetInnerHTML: {
1194
- __html: c
1200
+ __html: l
1195
1201
  }
1196
1202
  }), a && /* @__PURE__ */ o("div", {
1197
1203
  className: "attribution",
@@ -1200,24 +1206,24 @@ const E = Ve.exports, xt = ({
1200
1206
  })]
1201
1207
  })]
1202
1208
  });
1203
- }, Vt = ({
1209
+ }, Gt = ({
1204
1210
  node: e
1205
1211
  }) => {
1206
1212
  const a = e.getDocument().getAttributes(), n = e.getLevel();
1207
- let c = "", f = e.getSectionNumeral();
1213
+ let l = "", f = e.getSectionNumeral();
1208
1214
  f = f === "." ? "" : f;
1209
- const l = a.sectnumlevels ? parseInt(a.sectnumlevels) : 3;
1215
+ const c = a.sectnumlevels ? parseInt(a.sectnumlevels) : 3;
1210
1216
  if (e.getCaption())
1211
- c = e.getCaptionedTitle();
1212
- else if (e.isNumbered() && n <= l)
1217
+ l = e.getCaptionedTitle();
1218
+ else if (e.isNumbered() && n <= c)
1213
1219
  if (n < 2 && e.getDocument().getDoctype() == "book") {
1214
1220
  const b = e.getSectionName();
1215
- b === "chapter" ? c = `${a["chapter-signifier"] || ""} ${f} ${e.getTitle()}` : b === "part" ? c = `${a["part-signifier"] || ""} ${f} ${e.getTitle()}` : c = `${f} ${e.getTitle()}`;
1221
+ b === "chapter" ? l = `${a["chapter-signifier"] || ""} ${f} ${e.getTitle()}` : b === "part" ? l = `${a["part-signifier"] || ""} ${f} ${e.getTitle()}` : l = `${f} ${e.getTitle()}`;
1216
1222
  } else
1217
- c = `${f} ${e.getTitle()}`;
1223
+ l = `${f} ${e.getTitle()}`;
1218
1224
  else
1219
- c = e.getTitle() || "";
1220
- return a.sectlinks && (c = /* @__PURE__ */ o(D, {
1225
+ l = e.getTitle() || "";
1226
+ return a.sectlinks && (l = /* @__PURE__ */ o(D, {
1221
1227
  children: [/* @__PURE__ */ r("a", {
1222
1228
  className: "anchor",
1223
1229
  id: e.getId() || "",
@@ -1226,7 +1232,7 @@ const E = Ve.exports, xt = ({
1226
1232
  className: "link",
1227
1233
  href: `#${e.getId()}`,
1228
1234
  dangerouslySetInnerHTML: {
1229
- __html: c
1235
+ __html: l
1230
1236
  }
1231
1237
  })]
1232
1238
  })), n === 0 ? /* @__PURE__ */ o(D, {
@@ -1234,23 +1240,23 @@ const E = Ve.exports, xt = ({
1234
1240
  className: E("sect0", C(e)),
1235
1241
  "data-sectnum": f,
1236
1242
  ...A(e),
1237
- children: c
1243
+ children: l
1238
1244
  }), /* @__PURE__ */ r(I, {
1239
1245
  blocks: e.getBlocks()
1240
1246
  })]
1241
1247
  }) : /* @__PURE__ */ o("div", {
1242
1248
  className: E(`sect${n}`, C(e)),
1243
1249
  ...A(e),
1244
- children: [G(`h${n + 1}`, {
1250
+ children: [V(`h${n + 1}`, {
1245
1251
  "data-sectnum": f
1246
- }, c), /* @__PURE__ */ r("div", {
1252
+ }, l), /* @__PURE__ */ r("div", {
1247
1253
  className: "sectionbody",
1248
1254
  children: /* @__PURE__ */ r(I, {
1249
1255
  blocks: e.getBlocks()
1250
1256
  })
1251
1257
  })]
1252
1258
  });
1253
- }, Gt = ({
1259
+ }, Jt = ({
1254
1260
  node: e
1255
1261
  }) => /* @__PURE__ */ r("div", {
1256
1262
  className: E("sidebarblock", C(e)),
@@ -1263,13 +1269,13 @@ const E = Ve.exports, xt = ({
1263
1269
  blocks: e.getBlocks()
1264
1270
  })]
1265
1271
  })
1266
- }), Jt = ({
1272
+ }), zt = ({
1267
1273
  node: e
1268
1274
  }) => {
1269
1275
  let a = ["frame-" + e.getAttribute("frame", "all", "table-frame"), "grid-" + e.getAttribute("grid", "all", "table-grid")], n = e.getAttribute("stripes", null, "table-stripes");
1270
1276
  n && a.push("stripes-" + n);
1271
- let c = e.hasAutowidthOption(), f = e.getAttribute("tablepcwidth"), l = null;
1272
- c && !e.hasAttribute("width") ? a.push("fit-content") : f == 100 ? a.push("stretch") : l = `${f}%`, e.hasAttribute("float") && a.push(e.getAttribute("float")), e.getRole() && a.push(e.getRole() || "");
1277
+ let l = e.hasAutowidthOption(), f = e.getAttribute("tablepcwidth"), c = null;
1278
+ l && !e.hasAttribute("width") ? a.push("fit-content") : f == 100 ? a.push("stretch") : c = `${f}%`, e.hasAttribute("float") && a.push(e.getAttribute("float")), e.getRole() && a.push(e.getRole() || "");
1273
1279
  const b = e.getRowCount(), d = e.getColumns(), g = e.getHeadRows(), m = e.getBodyRows(), v = e.getFootRows(), S = (_) => E(
1274
1280
  "tableblock",
1275
1281
  `halign-${_.getAttribute("halign")}`,
@@ -1278,7 +1284,7 @@ const E = Ve.exports, xt = ({
1278
1284
  return /* @__PURE__ */ o("table", {
1279
1285
  className: E("tableblock", ...a),
1280
1286
  style: {
1281
- width: l || void 0
1287
+ width: c || void 0
1282
1288
  },
1283
1289
  ...A(e),
1284
1290
  children: [e.hasTitle() && /* @__PURE__ */ r("caption", {
@@ -1305,49 +1311,49 @@ const E = Ve.exports, xt = ({
1305
1311
  }, $)), /* @__PURE__ */ r("tbody", {
1306
1312
  children: m.map((_, $) => /* @__PURE__ */ r("tr", {
1307
1313
  children: _.map((O, L) => {
1308
- const ce = O.getColumnSpan(), B = O.getRowSpan(), R = H(O), U = {
1314
+ const ce = O.getColumnSpan(), B = O.getRowSpan(), k = Y(O), H = {
1309
1315
  colSpan: ce,
1310
1316
  rowSpan: B,
1311
1317
  className: S(O)
1312
1318
  }, J = O.getStyle();
1313
1319
  if (J === "asciidoc")
1314
- return /* @__PURE__ */ G("td", {
1315
- ...U,
1320
+ return /* @__PURE__ */ V("td", {
1321
+ ...H,
1316
1322
  key: L
1317
1323
  }, /* @__PURE__ */ r("div", {
1318
1324
  className: "content",
1319
1325
  dangerouslySetInnerHTML: {
1320
- __html: R
1326
+ __html: k
1321
1327
  }
1322
1328
  }));
1323
1329
  if (J === "literal")
1324
- return /* @__PURE__ */ G("td", {
1325
- ...U,
1330
+ return /* @__PURE__ */ V("td", {
1331
+ ...H,
1326
1332
  key: L
1327
1333
  }, /* @__PURE__ */ r("div", {
1328
1334
  className: "literal",
1329
1335
  children: /* @__PURE__ */ r("pre", {
1330
1336
  dangerouslySetInnerHTML: {
1331
- __html: R
1337
+ __html: k
1332
1338
  }
1333
1339
  })
1334
1340
  }));
1335
1341
  if (J === "header")
1336
- return /* @__PURE__ */ G("th", {
1337
- ...U,
1342
+ return /* @__PURE__ */ V("th", {
1343
+ ...H,
1338
1344
  key: L
1339
1345
  }, /* @__PURE__ */ r("p", {
1340
1346
  className: "tableblock",
1341
1347
  dangerouslySetInnerHTML: {
1342
- __html: R
1348
+ __html: k
1343
1349
  }
1344
1350
  }));
1345
1351
  {
1346
- let Z = R;
1347
- return /* @__PURE__ */ G("td", {
1348
- ...U,
1352
+ let Z = k;
1353
+ return /* @__PURE__ */ V("td", {
1354
+ ...H,
1349
1355
  key: L
1350
- }, Z.length === 0 ? "" : w.default(`<p class="tableblock">${Z.join(`</p>
1356
+ }, Z.length === 0 ? "" : w(`<p class="tableblock">${Z.join(`</p>
1351
1357
  <p class="tableblock">`)}</p>`));
1352
1358
  }
1353
1359
  })
@@ -1366,18 +1372,18 @@ const E = Ve.exports, xt = ({
1366
1372
  })
1367
1373
  }, $))]
1368
1374
  });
1369
- }, zt = ({
1375
+ }, Kt = ({
1370
1376
  node: e
1371
1377
  }) => {
1372
1378
  let a = e.getId() || "toc";
1373
- const n = e.getDocument(), c = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), f = Y(() => n.getAttribute("toc-placement"), [e]), l = Y(() => n.hasAttribute("toc"), [e]), b = e.hasAttribute("levels") ? parseInt(e.getAttribute("levels")) : void 0;
1374
- return f === "macro" && n.hasSections() && l ? /* @__PURE__ */ o("div", {
1379
+ const n = e.getDocument(), l = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), f = G(() => n.getAttribute("toc-placement"), [e]), c = G(() => n.hasAttribute("toc"), [e]), b = e.hasAttribute("levels") ? parseInt(e.getAttribute("levels")) : void 0;
1380
+ return f === "macro" && n.hasSections() && c ? /* @__PURE__ */ o("div", {
1375
1381
  id: a,
1376
1382
  className: E("toc", C(e)),
1377
1383
  children: [/* @__PURE__ */ r("div", {
1378
1384
  id: `${a}title`,
1379
1385
  className: "title",
1380
- children: w.default(c || "")
1386
+ children: w(l || "")
1381
1387
  }), /* @__PURE__ */ r(le, {
1382
1388
  node: e.getDocument(),
1383
1389
  opts: {
@@ -1385,7 +1391,7 @@ const E = Ve.exports, xt = ({
1385
1391
  }
1386
1392
  })]
1387
1393
  }) : null;
1388
- }, Kt = () => /* @__PURE__ */ r("hr", {}), Xt = ({
1394
+ }, Xt = () => /* @__PURE__ */ r("hr", {}), Qt = ({
1389
1395
  node: e
1390
1396
  }) => {
1391
1397
  const a = e.isOption("checklist");
@@ -1397,15 +1403,15 @@ const E = Ve.exports, xt = ({
1397
1403
  node: e
1398
1404
  }), /* @__PURE__ */ r("ul", {
1399
1405
  className: a ? "checklist" : "",
1400
- children: e.getItems().map((n, c) => a ? /* @__PURE__ */ r("li", {
1406
+ children: e.getItems().map((n, l) => a ? /* @__PURE__ */ r("li", {
1401
1407
  id: n.getId(),
1402
1408
  className: C(e),
1403
1409
  children: /* @__PURE__ */ o("p", {
1404
1410
  children: [a && n.hasAttribute("checkbox") && /* @__PURE__ */ r("i", {
1405
1411
  className: E("fa", n.hasAttribute("checked") ? "fa-check-square-o" : "fa-square-o")
1406
- }), " ", w.default(n.getText())]
1412
+ }), " ", w(n.getText())]
1407
1413
  })
1408
- }, c) : /* @__PURE__ */ o("li", {
1414
+ }, l) : /* @__PURE__ */ o("li", {
1409
1415
  id: n.getId(),
1410
1416
  className: C(e),
1411
1417
  children: [/* @__PURE__ */ r("p", {
@@ -1415,13 +1421,13 @@ const E = Ve.exports, xt = ({
1415
1421
  }), /* @__PURE__ */ r(I, {
1416
1422
  blocks: n.getBlocks()
1417
1423
  })]
1418
- }, c))
1424
+ }, l))
1419
1425
  })]
1420
1426
  });
1421
- }, Qt = ({
1427
+ }, Zt = ({
1422
1428
  node: e
1423
1429
  }) => {
1424
- const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), c = H(e);
1430
+ const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), l = Y(e);
1425
1431
  return /* @__PURE__ */ o("div", {
1426
1432
  id: e.getId ? e.getId() : "",
1427
1433
  className: E("verseblock", C(e)),
@@ -1431,7 +1437,7 @@ const E = Ve.exports, xt = ({
1431
1437
  }), /* @__PURE__ */ r("pre", {
1432
1438
  className: "content",
1433
1439
  dangerouslySetInnerHTML: {
1434
- __html: c
1440
+ __html: l
1435
1441
  }
1436
1442
  }), a && /* @__PURE__ */ o("div", {
1437
1443
  className: "attribution",
@@ -1440,162 +1446,162 @@ const E = Ve.exports, xt = ({
1440
1446
  })]
1441
1447
  })]
1442
1448
  });
1443
- }, Ge = kt({}), rr = ({
1449
+ }, Je = Et({}), ar = ({
1444
1450
  content: e,
1445
1451
  options: a
1446
1452
  }) => {
1447
1453
  const n = a && a.customDocument;
1448
- return /* @__PURE__ */ r(Ge.Provider, {
1454
+ return /* @__PURE__ */ r(Je.Provider, {
1449
1455
  value: a || {},
1450
1456
  children: n ? /* @__PURE__ */ r(n, {
1451
1457
  document: e
1452
- }) : /* @__PURE__ */ r(It, {
1458
+ }) : /* @__PURE__ */ r(Pt, {
1453
1459
  document: e
1454
1460
  })
1455
1461
  });
1456
1462
  }, I = ({
1457
1463
  blocks: e
1458
1464
  }) => /* @__PURE__ */ r(D, {
1459
- children: e.map((a, n) => /* @__PURE__ */ r(Zt, {
1465
+ children: e.map((a, n) => /* @__PURE__ */ r(er, {
1460
1466
  node: a
1461
1467
  }, `${n}-${a.getNodeName()}`))
1462
- }), Zt = ({
1468
+ }), er = ({
1463
1469
  node: e
1464
1470
  }) => {
1465
- const a = Et(Ge), n = e.getNodeName(), c = e.getDocument(), f = e.getAttributes();
1466
- c.playbackAttributes(f);
1467
- const l = a && a.overrides && a.overrides[n];
1468
- if (l)
1469
- return /* @__PURE__ */ r(l, {
1471
+ const a = St(Je), n = e.getNodeName(), l = e.getDocument(), f = e.getAttributes();
1472
+ l.playbackAttributes(f);
1473
+ const c = a && a.overrides && a.overrides[n];
1474
+ if (c)
1475
+ return /* @__PURE__ */ r(c, {
1470
1476
  node: e
1471
1477
  });
1472
1478
  switch (n) {
1473
1479
  case "audio":
1474
- return /* @__PURE__ */ r(Ot, {
1480
+ return /* @__PURE__ */ r($t, {
1475
1481
  node: e
1476
1482
  });
1477
1483
  case "preamble":
1478
- return /* @__PURE__ */ r(Ut, {
1484
+ return /* @__PURE__ */ r(qt, {
1479
1485
  node: e
1480
1486
  });
1481
1487
  case "section":
1482
- return /* @__PURE__ */ r(Vt, {
1488
+ return /* @__PURE__ */ r(Gt, {
1483
1489
  node: e
1484
1490
  });
1485
1491
  case "paragraph":
1486
- return /* @__PURE__ */ r(Yt, {
1492
+ return /* @__PURE__ */ r(Ht, {
1487
1493
  node: e
1488
1494
  });
1489
1495
  case "dlist":
1490
- return /* @__PURE__ */ r(xt, {
1496
+ return /* @__PURE__ */ r(It, {
1491
1497
  node: e
1492
1498
  });
1493
1499
  case "ulist":
1494
- return /* @__PURE__ */ r(Xt, {
1500
+ return /* @__PURE__ */ r(Qt, {
1495
1501
  node: e
1496
1502
  });
1497
1503
  case "floating_title":
1498
- return /* @__PURE__ */ r(jt, {
1504
+ return /* @__PURE__ */ r(Dt, {
1499
1505
  node: e
1500
1506
  });
1501
1507
  case "admonition":
1502
- return /* @__PURE__ */ r(Ct, {
1508
+ return /* @__PURE__ */ r(Ot, {
1503
1509
  node: e
1504
1510
  });
1505
1511
  case "listing":
1506
- return /* @__PURE__ */ r(Lt, {
1512
+ return /* @__PURE__ */ r(Ft, {
1507
1513
  node: e
1508
1514
  });
1509
1515
  case "literal":
1510
- return /* @__PURE__ */ r(Ft, {
1516
+ return /* @__PURE__ */ r(Mt, {
1511
1517
  node: e
1512
1518
  });
1513
1519
  case "image":
1514
- return /* @__PURE__ */ r(Dt, {
1520
+ return /* @__PURE__ */ r(Lt, {
1515
1521
  node: e
1516
1522
  });
1517
1523
  case "colist":
1518
- return /* @__PURE__ */ r($t, {
1524
+ return /* @__PURE__ */ r(xt, {
1519
1525
  node: e
1520
1526
  });
1521
1527
  case "olist":
1522
- return /* @__PURE__ */ r(Mt, {
1528
+ return /* @__PURE__ */ r(Bt, {
1523
1529
  node: e
1524
1530
  });
1525
1531
  case "table":
1526
- return /* @__PURE__ */ r(Jt, {
1532
+ return /* @__PURE__ */ r(zt, {
1527
1533
  node: e
1528
1534
  });
1529
1535
  case "thematic_break":
1530
- return /* @__PURE__ */ r(Kt, {});
1536
+ return /* @__PURE__ */ r(Xt, {});
1531
1537
  case "open":
1532
- return /* @__PURE__ */ r(Bt, {
1538
+ return /* @__PURE__ */ r(Wt, {
1533
1539
  node: e
1534
1540
  });
1535
1541
  case "pass":
1536
- return /* @__PURE__ */ r(Ht, {
1542
+ return /* @__PURE__ */ r(Ut, {
1537
1543
  node: e
1538
1544
  });
1539
1545
  case "page_break":
1540
- return /* @__PURE__ */ r(Wt, {});
1546
+ return /* @__PURE__ */ r(Yt, {});
1541
1547
  case "example":
1542
- return /* @__PURE__ */ r(Pt, {
1548
+ return /* @__PURE__ */ r(jt, {
1543
1549
  node: e
1544
1550
  });
1545
1551
  case "sidebar":
1546
- return /* @__PURE__ */ r(Gt, {
1552
+ return /* @__PURE__ */ r(Jt, {
1547
1553
  node: e
1548
1554
  });
1549
1555
  case "quote":
1550
- return /* @__PURE__ */ r(qt, {
1556
+ return /* @__PURE__ */ r(Vt, {
1551
1557
  node: e
1552
1558
  });
1553
1559
  case "verse":
1554
- return /* @__PURE__ */ r(Qt, {
1560
+ return /* @__PURE__ */ r(Zt, {
1555
1561
  node: e
1556
1562
  });
1557
1563
  case "toc":
1558
- return /* @__PURE__ */ r(zt, {
1564
+ return /* @__PURE__ */ r(Kt, {
1559
1565
  node: e
1560
1566
  });
1561
1567
  default:
1562
1568
  return /* @__PURE__ */ r(D, {
1563
- children: w.default(e.convert())
1569
+ children: w(e.convert())
1564
1570
  });
1565
1571
  }
1566
1572
  };
1567
1573
  export {
1568
- Ct as Admonition,
1569
- Ot as Audio,
1574
+ Ot as Admonition,
1575
+ $t as Audio,
1570
1576
  ne as CaptionedTitle,
1571
- $t as CoList,
1577
+ xt as CoList,
1572
1578
  I as Content,
1573
- xt as DList,
1574
- It as Document,
1575
- Pt as Example,
1576
- jt as FloatingTitle,
1577
- Dt as Image,
1578
- Lt as Listing,
1579
- Ft as Literal,
1580
- Mt as OList,
1581
- Bt as Open,
1579
+ It as DList,
1580
+ Pt as Document,
1581
+ jt as Example,
1582
+ Dt as FloatingTitle,
1583
+ Lt as Image,
1584
+ Ft as Listing,
1585
+ Mt as Literal,
1586
+ Bt as OList,
1587
+ Wt as Open,
1582
1588
  le as Outline,
1583
- Wt as PageBreak,
1584
- Yt as Paragraph,
1585
- Ht as Pass,
1586
- Ut as Preamble,
1587
- qt as Quote,
1588
- Vt as Section,
1589
- Gt as Sidebar,
1590
- Jt as Table,
1591
- zt as TableOfContents,
1592
- Kt as ThematicBreak,
1589
+ Yt as PageBreak,
1590
+ Ht as Paragraph,
1591
+ Ut as Pass,
1592
+ qt as Preamble,
1593
+ Vt as Quote,
1594
+ Gt as Section,
1595
+ Jt as Sidebar,
1596
+ zt as Table,
1597
+ Kt as TableOfContents,
1598
+ Xt as ThematicBreak,
1593
1599
  P as Title,
1594
- Xt as UList,
1595
- Qt as Verse,
1596
- nr as asciidoctor,
1597
- rr as default,
1600
+ Qt as UList,
1601
+ Zt as Verse,
1602
+ sr as asciidoctor,
1603
+ ar as default,
1598
1604
  A as getLineNumber,
1599
1605
  C as getRole,
1600
- H as useGetContent
1606
+ Y as useGetContent
1601
1607
  };