@oxide/react-asciidoc 0.1.3-alpha.2 → 0.1.3-alpha.4

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