@oxide/react-asciidoc 0.2.9--canary.c5bf581.0 → 0.2.9--canary.a42ac0e.0

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