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

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