@oxide/react-asciidoc 0.2.9--canary.cf652b0.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.
@@ -16,7 +16,7 @@ function Rt() {
16
16
  if (Be)
17
17
  return X;
18
18
  Be = 1;
19
- var e = Ye, a = 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 };
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
20
  function n(m, h, k) {
21
21
  var p, u = {}, v = null, w = null;
22
22
  k !== void 0 && (v = "" + k), h.key !== void 0 && (v = "" + h.key), h.ref !== void 0 && (w = h.ref);
@@ -25,7 +25,7 @@ function Rt() {
25
25
  if (m && m.defaultProps)
26
26
  for (p in h = m.defaultProps, h)
27
27
  u[p] === void 0 && (u[p] = h[p]);
28
- return { $$typeof: a, type: m, key: v, ref: w, props: u, _owner: f.current };
28
+ return { $$typeof: i, type: m, key: v, ref: w, props: u, _owner: f.current };
29
29
  }
30
30
  return X.Fragment = s, X.jsx = n, X.jsxs = n, X;
31
31
  }
@@ -42,29 +42,29 @@ var Q = {};
42
42
  var Ue;
43
43
  function xt() {
44
44
  return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
45
- var e = Ye, a = 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";
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
46
  function z(t) {
47
47
  if (t === null || typeof t != "object")
48
48
  return null;
49
- var i = E && t[E] || t[O];
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
52
  var L = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
53
  function S(t) {
54
54
  {
55
- for (var i = arguments.length, c = new Array(i > 1 ? i - 1 : 0), b = 1; b < i; b++)
55
+ for (var a = arguments.length, c = new Array(a > 1 ? a - 1 : 0), b = 1; b < a; b++)
56
56
  c[b - 1] = arguments[b];
57
57
  U("error", t, c);
58
58
  }
59
59
  }
60
- function U(t, i, c) {
60
+ function U(t, a, c) {
61
61
  {
62
62
  var b = L.ReactDebugCurrentFrame, y = b.getStackAddendum();
63
- y !== "" && (i += "%s", c = c.concat([y]));
63
+ y !== "" && (a += "%s", c = c.concat([y]));
64
64
  var _ = c.map(function(N) {
65
65
  return String(N);
66
66
  });
67
- _.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, _);
67
+ _.unshift("Warning: " + a), Function.prototype.apply.call(console[t], console, _);
68
68
  }
69
69
  }
70
70
  var J = !1, Z = !1, qe = !1, ze = !1, Je = !1, ge;
@@ -72,17 +72,17 @@ function xt() {
72
72
  function Ge(t) {
73
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 Ke(t, i, c) {
75
+ function Ke(t, a, c) {
76
76
  var b = t.displayName;
77
77
  if (b)
78
78
  return b;
79
- var y = i.displayName || i.name || "";
79
+ var y = a.displayName || a.name || "";
80
80
  return y !== "" ? c + "(" + y + ")" : c;
81
81
  }
82
82
  function Ne(t) {
83
83
  return t.displayName || "Context";
84
84
  }
85
- function F(t) {
85
+ function D(t) {
86
86
  if (t == null)
87
87
  return null;
88
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")
@@ -106,8 +106,8 @@ function xt() {
106
106
  if (typeof t == "object")
107
107
  switch (t.$$typeof) {
108
108
  case m:
109
- var i = t;
110
- return Ne(i) + ".Consumer";
109
+ var a = t;
110
+ return Ne(a) + ".Consumer";
111
111
  case n:
112
112
  var c = t;
113
113
  return Ne(c._context) + ".Provider";
@@ -115,11 +115,11 @@ function xt() {
115
115
  return Ke(t, t.render, "ForwardRef");
116
116
  case u:
117
117
  var b = t.displayName || null;
118
- return b !== null ? b : F(t.type) || "Memo";
118
+ return b !== null ? b : D(t.type) || "Memo";
119
119
  case v: {
120
120
  var y = t, _ = y._payload, N = y._init;
121
121
  try {
122
- return F(N(_));
122
+ return D(N(_));
123
123
  } catch {
124
124
  return null;
125
125
  }
@@ -190,7 +190,7 @@ function xt() {
190
190
  }
191
191
  }
192
192
  var oe = L.ReactCurrentDispatcher, ue;
193
- function ee(t, i, c) {
193
+ function ee(t, a, c) {
194
194
  {
195
195
  if (ue === void 0)
196
196
  try {
@@ -208,7 +208,7 @@ function xt() {
208
208
  var Ze = typeof WeakMap == "function" ? WeakMap : Map;
209
209
  te = new Ze();
210
210
  }
211
- function Ce(t, i) {
211
+ function Ce(t, a) {
212
212
  if (!t || fe)
213
213
  return "";
214
214
  {
@@ -223,7 +223,7 @@ function xt() {
223
223
  var _;
224
224
  _ = oe.current, oe.current = null, Xe();
225
225
  try {
226
- if (i) {
226
+ if (a) {
227
227
  var N = function() {
228
228
  throw Error();
229
229
  };
@@ -234,29 +234,29 @@ function xt() {
234
234
  }), typeof Reflect == "object" && Reflect.construct) {
235
235
  try {
236
236
  Reflect.construct(N, []);
237
- } catch (D) {
238
- b = D;
237
+ } catch (M) {
238
+ b = M;
239
239
  }
240
240
  Reflect.construct(t, [], N);
241
241
  } else {
242
242
  try {
243
243
  N.call();
244
- } catch (D) {
245
- b = D;
244
+ } catch (M) {
245
+ b = M;
246
246
  }
247
247
  t.call(N.prototype);
248
248
  }
249
249
  } else {
250
250
  try {
251
251
  throw Error();
252
- } catch (D) {
253
- b = D;
252
+ } catch (M) {
253
+ b = M;
254
254
  }
255
255
  t();
256
256
  }
257
- } catch (D) {
258
- if (D && b && typeof D.stack == "string") {
259
- for (var g = D.stack.split(`
257
+ } catch (M) {
258
+ if (M && b && typeof M.stack == "string") {
259
+ for (var g = M.stack.split(`
260
260
  `), P = b.stack.split(`
261
261
  `), R = g.length - 1, T = P.length - 1; R >= 1 && T >= 0 && g[R] !== P[T]; )
262
262
  T--;
@@ -279,14 +279,14 @@ function xt() {
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 et(t, i, c) {
282
+ function et(t, a, c) {
283
283
  return Ce(t, !1);
284
284
  }
285
285
  function tt(t) {
286
- var i = t.prototype;
287
- return !!(i && i.isReactComponent);
286
+ var a = t.prototype;
287
+ return !!(a && a.isReactComponent);
288
288
  }
289
- function re(t, i, c) {
289
+ function re(t, a, c) {
290
290
  if (t == null)
291
291
  return "";
292
292
  if (typeof t == "function")
@@ -304,11 +304,11 @@ function xt() {
304
304
  case h:
305
305
  return et(t.render);
306
306
  case u:
307
- return re(t.type, i, c);
307
+ return re(t.type, a, c);
308
308
  case v: {
309
309
  var b = t, y = b._payload, _ = b._init;
310
310
  try {
311
- return re(_(y), i, c);
311
+ return re(_(y), a, c);
312
312
  } catch {
313
313
  }
314
314
  }
@@ -318,12 +318,12 @@ function xt() {
318
318
  var ie = Object.prototype.hasOwnProperty, ke = {}, Oe = L.ReactDebugCurrentFrame;
319
319
  function ae(t) {
320
320
  if (t) {
321
- var i = t._owner, c = re(t.type, t._source, i ? i.type : null);
321
+ var a = t._owner, c = re(t.type, t._source, a ? a.type : null);
322
322
  Oe.setExtraStackFrame(c);
323
323
  } else
324
324
  Oe.setExtraStackFrame(null);
325
325
  }
326
- function rt(t, i, c, b, y) {
326
+ function rt(t, a, c, b, y) {
327
327
  {
328
328
  var _ = Function.call.bind(ie);
329
329
  for (var N in t)
@@ -334,7 +334,7 @@ function xt() {
334
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
335
  throw P.name = "Invariant Violation", P;
336
336
  }
337
- g = t[N](i, N, b, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
+ g = t[N](a, N, b, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
338
  } catch (R) {
339
339
  g = R;
340
340
  }
@@ -348,7 +348,7 @@ function xt() {
348
348
  }
349
349
  function at(t) {
350
350
  {
351
- var i = typeof Symbol == "function" && Symbol.toStringTag, c = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
351
+ var a = typeof Symbol == "function" && Symbol.toStringTag, c = a && t[Symbol.toStringTag] || t.constructor.name || "Object";
352
352
  return c;
353
353
  }
354
354
  }
@@ -375,30 +375,30 @@ function xt() {
375
375
  de = {};
376
376
  function lt(t) {
377
377
  if (ie.call(t, "ref")) {
378
- var i = Object.getOwnPropertyDescriptor(t, "ref").get;
379
- if (i && i.isReactWarning)
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
384
  function ct(t) {
385
385
  if (ie.call(t, "key")) {
386
- var i = Object.getOwnPropertyDescriptor(t, "key").get;
387
- if (i && i.isReactWarning)
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 ot(t, i) {
393
- if (typeof t.ref == "string" && K.current && i && K.current.stateNode !== i) {
394
- var c = F(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', F(K.current.type), t.ref), de[c] = !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 ut(t, i) {
398
+ function ut(t, a) {
399
399
  {
400
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)", i));
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
403
  c.isReactWarning = !0, Object.defineProperty(t, "key", {
404
404
  get: c,
@@ -406,10 +406,10 @@ function xt() {
406
406
  });
407
407
  }
408
408
  }
409
- function ft(t, i) {
409
+ function ft(t, a) {
410
410
  {
411
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)", i));
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
414
  c.isReactWarning = !0, Object.defineProperty(t, "ref", {
415
415
  get: c,
@@ -417,11 +417,11 @@ function xt() {
417
417
  });
418
418
  }
419
419
  }
420
- var mt = function(t, i, c, b, y, _, N) {
420
+ var mt = function(t, a, c, b, y, _, N) {
421
421
  var g = {
422
- $$typeof: a,
422
+ $$typeof: i,
423
423
  type: t,
424
- key: i,
424
+ key: a,
425
425
  ref: c,
426
426
  props: N,
427
427
  _owner: _
@@ -443,12 +443,12 @@ function xt() {
443
443
  value: y
444
444
  }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
445
445
  };
446
- function dt(t, i, c, b, y) {
446
+ function dt(t, a, c, b, y) {
447
447
  {
448
448
  var _, N = {}, g = null, P = null;
449
- c !== void 0 && (Pe(c), g = "" + c), ct(i) && (Pe(i.key), g = "" + i.key), lt(i) && (P = i.ref, ot(i, y));
450
- for (_ in i)
451
- ie.call(i, _) && !st.hasOwnProperty(_) && (N[_] = i[_]);
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
453
  var R = t.defaultProps;
454
454
  for (_ in R)
@@ -464,7 +464,7 @@ function xt() {
464
464
  var he = L.ReactCurrentOwner, je = L.ReactDebugCurrentFrame;
465
465
  function Y(t) {
466
466
  if (t) {
467
- var i = t._owner, c = re(t.type, t._source, i ? i.type : null);
467
+ var a = t._owner, c = re(t.type, t._source, a ? a.type : null);
468
468
  je.setExtraStackFrame(c);
469
469
  } else
470
470
  je.setExtraStackFrame(null);
@@ -472,12 +472,12 @@ function xt() {
472
472
  var be;
473
473
  be = !1;
474
474
  function ve(t) {
475
- return typeof t == "object" && t !== null && t.$$typeof === a;
475
+ return typeof t == "object" && t !== null && t.$$typeof === i;
476
476
  }
477
477
  function Le() {
478
478
  {
479
479
  if (he.current) {
480
- var t = F(he.current.type);
480
+ var t = D(he.current.type);
481
481
  if (t)
482
482
  return `
483
483
 
@@ -489,10 +489,10 @@ Check the render method of \`` + t + "`.";
489
489
  function ht(t) {
490
490
  {
491
491
  if (t !== void 0) {
492
- var i = t.fileName.replace(/^.*[\\\/]/, ""), c = t.lineNumber;
492
+ var a = t.fileName.replace(/^.*[\\\/]/, ""), c = t.lineNumber;
493
493
  return `
494
494
 
495
- Check your code at ` + i + ":" + c + ".";
495
+ Check your code at ` + a + ":" + c + ".";
496
496
  }
497
497
  return "";
498
498
  }
@@ -500,37 +500,37 @@ Check your code at ` + i + ":" + c + ".";
500
500
  var Fe = {};
501
501
  function bt(t) {
502
502
  {
503
- var i = Le();
504
- if (!i) {
503
+ var a = Le();
504
+ if (!a) {
505
505
  var c = typeof t == "string" ? t : t.displayName || t.name;
506
- c && (i = `
506
+ c && (a = `
507
507
 
508
508
  Check the top-level render call using <` + c + ">.");
509
509
  }
510
- return i;
510
+ return a;
511
511
  }
512
512
  }
513
- function De(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 c = bt(i);
518
+ var c = bt(a);
519
519
  if (Fe[c])
520
520
  return;
521
521
  Fe[c] = !0;
522
522
  var b = "";
523
- t && t._owner && t._owner !== he.current && (b = " It was passed a child from " + F(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);
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 Me(t, i) {
526
+ function Me(t, a) {
527
527
  {
528
528
  if (typeof t != "object")
529
529
  return;
530
530
  if (me(t))
531
531
  for (var c = 0; c < t.length; c++) {
532
532
  var b = t[c];
533
- ve(b) && De(b, i);
533
+ ve(b) && De(b, a);
534
534
  }
535
535
  else if (ve(t))
536
536
  t._store && (t._store.validated = !0);
@@ -538,37 +538,37 @@ Check the top-level render call using <` + c + ">.");
538
538
  var y = z(t);
539
539
  if (typeof y == "function" && y !== t.entries)
540
540
  for (var _ = y.call(t), N; !(N = _.next()).done; )
541
- ve(N.value) && De(N.value, i);
541
+ ve(N.value) && De(N.value, a);
542
542
  }
543
543
  }
544
544
  }
545
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
550
  var c;
551
- if (typeof i == "function")
552
- c = i.propTypes;
553
- else if (typeof i == "object" && (i.$$typeof === h || i.$$typeof === u))
554
- c = i.propTypes;
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
557
  if (c) {
558
- var b = F(i);
558
+ var b = D(a);
559
559
  rt(c, t.props, "prop", b, t);
560
- } else if (i.PropTypes !== void 0 && !be) {
560
+ } else if (a.PropTypes !== void 0 && !be) {
561
561
  be = !0;
562
- var y = F(i);
562
+ var y = D(a);
563
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 && S("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
568
  function pt(t) {
569
569
  {
570
- for (var i = Object.keys(t.props), c = 0; c < i.length; c++) {
571
- var b = i[c];
570
+ for (var a = Object.keys(t.props), c = 0; c < a.length; c++) {
571
+ var b = a[c];
572
572
  if (b !== "children" && b !== "key") {
573
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;
@@ -577,7 +577,7 @@ Check the top-level render call using <` + c + ">.");
577
577
  t.ref !== null && (Y(t), S("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
578
578
  }
579
579
  }
580
- function We(t, i, c, b, y, _) {
580
+ function We(t, a, c, b, y, _) {
581
581
  {
582
582
  var N = Ge(t);
583
583
  if (!N) {
@@ -586,13 +586,13 @@ Check the top-level render call using <` + c + ">.");
586
586
  var P = ht(y);
587
587
  P ? g += P : g += Le();
588
588
  var R;
589
- t === null ? R = "null" : me(t) ? R = "array" : t !== void 0 && t.$$typeof === a ? (R = "<" + (F(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);
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 T = dt(t, i, c, y, _);
591
+ var T = dt(t, a, c, y, _);
592
592
  if (T == null)
593
593
  return T;
594
594
  if (N) {
595
- var I = i.children;
595
+ var I = a.children;
596
596
  if (I !== void 0)
597
597
  if (b)
598
598
  if (me(I)) {
@@ -607,11 +607,11 @@ Check the top-level render call using <` + c + ">.");
607
607
  return t === l ? pt(T) : vt(T), T;
608
608
  }
609
609
  }
610
- function gt(t, i, c) {
611
- return We(t, i, c, !0);
610
+ function gt(t, a, c) {
611
+ return We(t, a, c, !0);
612
612
  }
613
- function Nt(t, i, c) {
614
- return We(t, i, c, !1);
613
+ function Nt(t, a, c) {
614
+ return We(t, a, c, !1);
615
615
  }
616
616
  var yt = Nt, _t = gt;
617
617
  Q.Fragment = l, Q.jsx = yt, Q.jsxs = _t;
@@ -629,8 +629,8 @@ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
629
629
  node: e
630
630
  }) => {
631
631
  const {
632
- document: a
633
- } = H(W), s = a.attributes || {}, l = e.attributes, f = () => s.icons === "font" && !l.icon ? /* @__PURE__ */ r("i", {
632
+ document: i
633
+ } = H(F), s = i.attributes || {}, l = e.attributes, f = () => s.icons === "font" && !l.icon ? /* @__PURE__ */ r("i", {
634
634
  className: `fa icon-${l.name}`,
635
635
  title: l.textlabel
636
636
  }) : /* @__PURE__ */ r("img", {
@@ -664,7 +664,7 @@ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
664
664
  }, St = ({
665
665
  node: e
666
666
  }) => {
667
- const a = e.attributes.start, s = e.attributes.end, l = (a || s) && `#t=${a || ""}` + s ? `,${s}` : "";
667
+ const i = e.attributes.start, s = e.attributes.end, l = (i || s) && `#t=${i || ""}` + s ? `,${s}` : "";
668
668
  return /* @__PURE__ */ o("div", {
669
669
  className: "audioblock",
670
670
  ...e.lineNumber ? {
@@ -694,7 +694,7 @@ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
694
694
  text: e.title
695
695
  }), /* @__PURE__ */ r("table", {
696
696
  children: /* @__PURE__ */ r("tbody", {
697
- children: e.items.map((a, s) => /* @__PURE__ */ o("tr", {
697
+ children: e.items.map((i, s) => /* @__PURE__ */ o("tr", {
698
698
  children: [/* @__PURE__ */ o("td", {
699
699
  children: [/* @__PURE__ */ r("i", {
700
700
  className: "conum",
@@ -703,8 +703,8 @@ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
703
703
  children: s + 1
704
704
  })]
705
705
  }), /* @__PURE__ */ o("td", {
706
- children: [a.text && C(a.text), /* @__PURE__ */ r($, {
707
- blocks: a.blocks
706
+ children: [i.text && C(i.text), /* @__PURE__ */ r($, {
707
+ blocks: i.blocks
708
708
  })]
709
709
  })]
710
710
  }, s))
@@ -719,7 +719,7 @@ var Ve = { exports: {} };
719
719
  */
720
720
  (function(e) {
721
721
  (function() {
722
- var a = {}.hasOwnProperty;
722
+ var i = {}.hasOwnProperty;
723
723
  function s() {
724
724
  for (var l = [], f = 0; f < arguments.length; f++) {
725
725
  var d = arguments[f];
@@ -738,7 +738,7 @@ var Ve = { exports: {} };
738
738
  continue;
739
739
  }
740
740
  for (var h in d)
741
- a.call(d, h) && d[h] && l.push(h);
741
+ i.call(d, h) && d[h] && l.push(h);
742
742
  }
743
743
  }
744
744
  }
@@ -747,14 +747,14 @@ var Ve = { exports: {} };
747
747
  e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
748
748
  })();
749
749
  })(Ve);
750
- const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s = void 0, l, f) => {
751
- if (e[a] !== void 0)
752
- return e[a];
753
- const d = l || a;
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
754
  return d && f && f[d] !== void 0 ? f[d] : s;
755
- }, M = (e, a) => e[a] !== void 0, Zt = (e) => {
755
+ }, W = (e, i) => e[i] !== void 0, Zt = (e) => {
756
756
  var d;
757
- let a;
757
+ let i;
758
758
  function s(n) {
759
759
  const m = n.getNodeName && n.getNodeName(), h = n.getContentModel && n.getContentModel(), k = m && n.hasBlocks() ? n.getBlocks().map((u) => s(u)) : [];
760
760
  let p = {
@@ -876,7 +876,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
876
876
  email: h ? e.applySubstitutions(h).toString() : void 0
877
877
  };
878
878
  });
879
- return a = {
879
+ return i = {
880
880
  type: "document",
881
881
  title: ((d = e.getDocumentTitle()) == null ? void 0 : d.toString()) || "",
882
882
  hasHeader: e.hasHeader(),
@@ -890,14 +890,14 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
890
890
  blocks: e.getBlocks().map((n) => s(n)),
891
891
  sections: l(e),
892
892
  authors: f
893
- }, a.footnotes = e.getFootnotes().map((n) => ({
893
+ }, i.footnotes = e.getFootnotes().map((n) => ({
894
894
  text: n.getText(),
895
895
  index: n.getIndex()
896
- })), a;
896
+ })), i;
897
897
  }, Ct = ({
898
898
  node: e
899
899
  }) => {
900
- const a = (l) => {
900
+ const i = (l) => {
901
901
  const f = l, d = f[0];
902
902
  let n = f[1];
903
903
  return n.type || (n = null), {
@@ -927,7 +927,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
927
927
  const {
928
928
  terms: d,
929
929
  dd: n
930
- } = a(l);
930
+ } = i(l);
931
931
  if (!!d)
932
932
  return /* @__PURE__ */ o("li", {
933
933
  children: [d.map((m, h) => /* @__PURE__ */ r("p", {
@@ -961,7 +961,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
961
961
  const {
962
962
  terms: m,
963
963
  dd: h
964
- } = a(d);
964
+ } = i(d);
965
965
  if (!!m)
966
966
  return /* @__PURE__ */ o("tr", {
967
967
  children: [/* @__PURE__ */ r("td", {
@@ -992,7 +992,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
992
992
  const {
993
993
  terms: d,
994
994
  dd: n
995
- } = a(l);
995
+ } = i(l);
996
996
  if (!!d)
997
997
  return /* @__PURE__ */ o(pe, {
998
998
  children: [d.map((m, h) => /* @__PURE__ */ r("dt", {
@@ -1005,14 +1005,14 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1005
1005
  });
1006
1006
  }, ce = ({
1007
1007
  sections: e,
1008
- opts: a
1008
+ opts: i
1009
1009
  }) => {
1010
1010
  const {
1011
1011
  document: s
1012
- } = H(W);
1012
+ } = H(F);
1013
1013
  if (!e || e.length === 0)
1014
1014
  return null;
1015
- const l = s.attributes || {}, f = l.sectnumlevels, d = l.toclevels, n = (a == null ? void 0 : a.sectNumLevels) || (f ? parseInt(f) : 3), m = (a == null ? void 0 : a.tocLevels) || (d ? parseInt(d) : 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);
1016
1016
  return /* @__PURE__ */ r("ul", {
1017
1017
  className: `sectlevel${e[0].level}`,
1018
1018
  children: e.map((h) => {
@@ -1037,7 +1037,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1037
1037
  }, kt = ({
1038
1038
  document: e
1039
1039
  }) => {
1040
- const a = () => e.noHeader ? null : /* @__PURE__ */ r("div", {
1040
+ const i = () => e.noHeader ? null : /* @__PURE__ */ r("div", {
1041
1041
  id: "header",
1042
1042
  children: e.hasHeader && /* @__PURE__ */ o(j, {
1043
1043
  children: [/* @__PURE__ */ r("h1", {
@@ -1055,7 +1055,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1055
1055
  })]
1056
1056
  })]
1057
1057
  })
1058
- }), s = () => e.footnotes && e.footnotes.length > 0 && e.blocks && !M(e.attributes, "nofootnotes") ? /* @__PURE__ */ o("div", {
1058
+ }), s = () => e.footnotes && e.footnotes.length > 0 && e.blocks && !W(e.attributes, "nofootnotes") ? /* @__PURE__ */ o("div", {
1059
1059
  id: "footnotes",
1060
1060
  children: [/* @__PURE__ */ r("hr", {}), e.footnotes.map((f) => /* @__PURE__ */ o("div", {
1061
1061
  className: "footnote",
@@ -1065,7 +1065,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1065
1065
  children: f.index
1066
1066
  }), ".", " ", C(f.text || "")]
1067
1067
  }, f.index))]
1068
- }) : null, l = () => e.authors.length > 0 || M(e.attributes, "revnumber") || M(e.attributes, "revdate") || M(e.attributes, "revremark") ? /* @__PURE__ */ o("div", {
1068
+ }) : null, l = () => e.authors.length > 0 || W(e.attributes, "revnumber") || W(e.attributes, "revdate") || W(e.attributes, "revremark") ? /* @__PURE__ */ o("div", {
1069
1069
  className: "details",
1070
1070
  children: [e.authors.map((f, d) => /* @__PURE__ */ o(pe, {
1071
1071
  children: [f.name && /* @__PURE__ */ o(j, {
@@ -1081,13 +1081,13 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1081
1081
  children: C(f.email)
1082
1082
  }), /* @__PURE__ */ r("br", {})]
1083
1083
  })]
1084
- }, d)), M(e.attributes, "revnumber") && /* @__PURE__ */ r("span", {
1084
+ }, d)), W(e.attributes, "revnumber") && /* @__PURE__ */ r("span", {
1085
1085
  id: "revnumber",
1086
1086
  children: `${e.attributes["version-label"].toLowerCase()} ${e.attributes.revnumber}${e.attributes.revdate ? "," : ""}`
1087
- }), M(e.attributes, "revdate") && /* @__PURE__ */ r("span", {
1087
+ }), W(e.attributes, "revdate") && /* @__PURE__ */ r("span", {
1088
1088
  id: "revdate",
1089
1089
  children: e.attributes.revdate
1090
- }), M(e.attributes, "revremark") && /* @__PURE__ */ o(j, {
1090
+ }), W(e.attributes, "revremark") && /* @__PURE__ */ o(j, {
1091
1091
  children: [/* @__PURE__ */ r("br", {}), /* @__PURE__ */ r("span", {
1092
1092
  id: "revremark",
1093
1093
  children: e.attributes.revremark
@@ -1095,7 +1095,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1095
1095
  })]
1096
1096
  }) : null;
1097
1097
  return /* @__PURE__ */ o(j, {
1098
- children: [/* @__PURE__ */ r(a, {}), /* @__PURE__ */ r("div", {
1098
+ children: [/* @__PURE__ */ r(i, {}), /* @__PURE__ */ r("div", {
1099
1099
  id: "content",
1100
1100
  children: /* @__PURE__ */ r($, {
1101
1101
  blocks: e.blocks
@@ -1106,8 +1106,8 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1106
1106
  node: e
1107
1107
  }) => {
1108
1108
  if (e.attributes.collapsible) {
1109
- const a = e.attributes.collapsible, s = e.title || "Details", l = e.attributes.open ? !0 : void 0;
1110
- if (a)
1109
+ const i = e.attributes.collapsible, s = e.title || "Details", l = e.attributes.open ? !0 : void 0;
1110
+ if (i)
1111
1111
  return /* @__PURE__ */ o("details", {
1112
1112
  className: e.role,
1113
1113
  open: l,
@@ -1162,16 +1162,16 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1162
1162
  }), Pt = ({
1163
1163
  node: e
1164
1164
  }) => {
1165
- let a = /* @__PURE__ */ r("img", {
1165
+ let i = /* @__PURE__ */ r("img", {
1166
1166
  src: e.imageUri,
1167
1167
  alt: e.attributes.alt,
1168
1168
  width: e.attributes.width,
1169
1169
  height: e.attributes.height
1170
1170
  });
1171
- return e.attributes.link && (a = /* @__PURE__ */ r("a", {
1171
+ return e.attributes.link && (i = /* @__PURE__ */ r("a", {
1172
1172
  className: "image",
1173
1173
  href: e.attributes.link,
1174
- children: a
1174
+ children: i
1175
1175
  })), /* @__PURE__ */ o("div", {
1176
1176
  className: `imageblock ${e.attributes.align ? "text-" + e.attributes.align : ""} ${e.attributes.float ? e.attributes.float : ""} ${e.role ? e.role : ""}`,
1177
1177
  ...e.lineNumber ? {
@@ -1183,7 +1183,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1183
1183
  },
1184
1184
  children: [/* @__PURE__ */ r("div", {
1185
1185
  className: "content",
1186
- children: a
1186
+ children: i
1187
1187
  }), /* @__PURE__ */ r(A, {
1188
1188
  text: e.title
1189
1189
  })]
@@ -1192,8 +1192,8 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1192
1192
  node: e
1193
1193
  }) => {
1194
1194
  const {
1195
- document: a
1196
- } = H(W), s = e.attributes.nowrap || a.attributes.prewrap;
1195
+ document: i
1196
+ } = H(F), s = e.attributes.nowrap || i.attributes.prewrap;
1197
1197
  if (e.style === "source") {
1198
1198
  const l = e.language;
1199
1199
  return /* @__PURE__ */ o("div", {
@@ -1245,8 +1245,8 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1245
1245
  node: e
1246
1246
  }) => {
1247
1247
  const {
1248
- document: a
1249
- } = H(W), s = a.attributes || {}, l = e.attributes.nowrap || s.prewrap === void 0;
1248
+ document: i
1249
+ } = H(F), s = i.attributes || {}, l = e.attributes.nowrap || s.prewrap === void 0;
1250
1250
  return /* @__PURE__ */ o("div", {
1251
1251
  className: "literalblock",
1252
1252
  ...e.lineNumber ? {
@@ -1277,20 +1277,20 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1277
1277
  ...e.attributes.start ? {
1278
1278
  start: parseInt(e.attributes.start)
1279
1279
  } : {},
1280
- children: e.items.map((a, s) => /* @__PURE__ */ o("li", {
1280
+ children: e.items.map((i, s) => /* @__PURE__ */ o("li", {
1281
1281
  className: e.role ? e.role : "",
1282
1282
  children: [/* @__PURE__ */ r("p", {
1283
- children: C(a.text || "")
1283
+ children: C(i.text || "")
1284
1284
  }), /* @__PURE__ */ r($, {
1285
- blocks: a.blocks
1285
+ blocks: i.blocks
1286
1286
  })]
1287
1287
  }, s))
1288
1288
  })]
1289
1289
  }), Lt = ({
1290
1290
  node: e
1291
1291
  }) => {
1292
- const a = e.style;
1293
- return a === "abstract" ? /* @__PURE__ */ o("div", {
1292
+ const i = e.style;
1293
+ return i === "abstract" ? /* @__PURE__ */ o("div", {
1294
1294
  className: x("quoteblock abstract", e.role),
1295
1295
  ...e.lineNumber ? {
1296
1296
  "data-lineno": e.lineNumber
@@ -1304,7 +1304,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1304
1304
  })
1305
1305
  })]
1306
1306
  }) : /* @__PURE__ */ o("div", {
1307
- className: x("openblock", a && a !== "open" ? a : "", e.role),
1307
+ className: x("openblock", i && i !== "open" ? i : "", e.role),
1308
1308
  ...e.lineNumber ? {
1309
1309
  "data-lineno": e.lineNumber
1310
1310
  } : {},
@@ -1346,8 +1346,8 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1346
1346
  node: e
1347
1347
  }) => {
1348
1348
  const {
1349
- document: a
1350
- } = H(W), s = a.attributes || {}, l = s["toc-placement"] === "preamble" && a.sections && a.sections.length > 0 && s.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;
1351
1351
  return /* @__PURE__ */ r("div", {
1352
1352
  id: "preamble",
1353
1353
  ...e.lineNumber ? {
@@ -1363,8 +1363,8 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1363
1363
  children: [/* @__PURE__ */ r("div", {
1364
1364
  id: "toctitle",
1365
1365
  children: C(s["toc-title"])
1366
- }), a.sections && /* @__PURE__ */ r(ce, {
1367
- sections: a.sections
1366
+ }), i.sections && /* @__PURE__ */ r(ce, {
1367
+ sections: i.sections
1368
1368
  })]
1369
1369
  })]
1370
1370
  })
@@ -1372,7 +1372,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1372
1372
  }, Ht = ({
1373
1373
  node: e
1374
1374
  }) => {
1375
- const a = e.attributes.attribution, s = e.attributes.citetitle;
1375
+ const i = e.attributes.attribution, s = e.attributes.citetitle;
1376
1376
  return /* @__PURE__ */ o("div", {
1377
1377
  ...e.id ? {
1378
1378
  id: e.id
@@ -1389,9 +1389,9 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1389
1389
  }
1390
1390
  }), /* @__PURE__ */ r($, {
1391
1391
  blocks: e.blocks
1392
- }), a && /* @__PURE__ */ o("div", {
1392
+ }), i && /* @__PURE__ */ o("div", {
1393
1393
  className: "attribution",
1394
- children: ["\u2014 ", a, s && /* @__PURE__ */ r("cite", {
1394
+ children: ["\u2014 ", i, s && /* @__PURE__ */ r("cite", {
1395
1395
  children: s
1396
1396
  })]
1397
1397
  })]
@@ -1400,8 +1400,8 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1400
1400
  node: e
1401
1401
  }) => {
1402
1402
  const {
1403
- document: a
1404
- } = H(W), s = a.attributes || {};
1403
+ document: i
1404
+ } = H(F), s = i.attributes || {};
1405
1405
  let l = e.title, f = e.num;
1406
1406
  f = f === "." ? "" : f;
1407
1407
  const d = s.sectnumlevels ? parseInt(s.sectnumlevels) : 3;
@@ -1463,12 +1463,12 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1463
1463
  node: e
1464
1464
  }) => {
1465
1465
  const {
1466
- document: a
1467
- } = H(W), s = a.attributes || {};
1466
+ document: i
1467
+ } = H(F), s = i.attributes || {};
1468
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
1469
  f && l.push("stripes-" + f);
1470
1470
  let d = le(e.attributes, "autowidth"), n = parseInt(e.attributes.tablepcwidth), m = null;
1471
- d && !M(e.attributes, "width") ? l.push("fit-content") : n === 100 ? l.push("stretch") : m = `${n}%`, M(e.attributes, "float") && l.push(e.attributes.float), e.role && l.push(e.role || "");
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
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
1473
  return /* @__PURE__ */ o("table", {
1474
1474
  className: x("tableblock", ...l),
@@ -1573,8 +1573,8 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1573
1573
  node: e
1574
1574
  }) => {
1575
1575
  const {
1576
- document: a
1577
- } = H(W), s = a.attributes || {}, l = a.sections && a.sections.length > 0;
1576
+ document: i
1577
+ } = H(F), s = i.attributes || {}, l = i.sections && i.sections.length > 0;
1578
1578
  let f = e.id || "toc";
1579
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
1580
  return n === "macro" && l && m ? /* @__PURE__ */ o("div", {
@@ -1584,8 +1584,8 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1584
1584
  id: `${f}title`,
1585
1585
  className: "title",
1586
1586
  children: C(d || "")
1587
- }), a.sections && /* @__PURE__ */ r(ce, {
1588
- sections: a.sections,
1587
+ }), i.sections && /* @__PURE__ */ r(ce, {
1588
+ sections: i.sections,
1589
1589
  opts: {
1590
1590
  tocLevels: h
1591
1591
  }
@@ -1594,24 +1594,24 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1594
1594
  }, zt = () => /* @__PURE__ */ r("hr", {}), Jt = ({
1595
1595
  node: e
1596
1596
  }) => {
1597
- const a = le(e.attributes, "checklist");
1597
+ const i = le(e.attributes, "checklist");
1598
1598
  return /* @__PURE__ */ o("div", {
1599
1599
  ...e.id ? {
1600
1600
  id: e.id
1601
1601
  } : {},
1602
- className: x("ulist", e.style, e.role, a && "checklist"),
1602
+ className: x("ulist", e.style, e.role, i && "checklist"),
1603
1603
  ...e.lineNumber ? {
1604
1604
  "data-lineno": e.lineNumber
1605
1605
  } : {},
1606
1606
  children: [/* @__PURE__ */ r(A, {
1607
1607
  text: e.title
1608
1608
  }), /* @__PURE__ */ r("ul", {
1609
- className: a ? "checklist" : "",
1610
- children: e.items.map((s, l) => a ? /* @__PURE__ */ r("li", {
1609
+ className: i ? "checklist" : "",
1610
+ children: e.items.map((s, l) => i ? /* @__PURE__ */ r("li", {
1611
1611
  id: s.id,
1612
1612
  className: e.role,
1613
1613
  children: /* @__PURE__ */ o("p", {
1614
- children: [a && s.attributes.checkbox && /* @__PURE__ */ r("i", {
1614
+ children: [i && s.attributes.checkbox && /* @__PURE__ */ r("i", {
1615
1615
  className: x("fa", s.attributes.checked ? "fa-check-square-o" : "fa-square-o")
1616
1616
  }), " ", C(s.text || "")]
1617
1617
  })
@@ -1631,7 +1631,7 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1631
1631
  }, Gt = ({
1632
1632
  node: e
1633
1633
  }) => {
1634
- const a = e.attributes.attribution, s = e.attributes.citetitle;
1634
+ const i = e.attributes.attribution, s = e.attributes.citetitle;
1635
1635
  return /* @__PURE__ */ o("div", {
1636
1636
  ...e.id ? {
1637
1637
  id: e.id
@@ -1647,23 +1647,23 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1647
1647
  dangerouslySetInnerHTML: {
1648
1648
  __html: e.content
1649
1649
  }
1650
- }), a && /* @__PURE__ */ o("div", {
1650
+ }), i && /* @__PURE__ */ o("div", {
1651
1651
  className: "attribution",
1652
- children: ["\u2014 ", a, s && /* @__PURE__ */ r("cite", {
1652
+ children: ["\u2014 ", i, s && /* @__PURE__ */ r("cite", {
1653
1653
  children: s
1654
1654
  })]
1655
1655
  })]
1656
1656
  });
1657
- }, W = wt({
1657
+ }, F = wt({
1658
1658
  document: {}
1659
1659
  }), er = ({
1660
1660
  document: e,
1661
- options: a
1661
+ options: i
1662
1662
  }) => {
1663
- const s = a && a.customDocument;
1664
- return /* @__PURE__ */ r(W.Provider, {
1663
+ const s = i && i.customDocument;
1664
+ return /* @__PURE__ */ r(F.Provider, {
1665
1665
  value: {
1666
- ...a,
1666
+ ...i,
1667
1667
  document: {
1668
1668
  attributes: e.attributes,
1669
1669
  sections: e.sections
@@ -1678,13 +1678,20 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1678
1678
  }, $ = ({
1679
1679
  blocks: e
1680
1680
  }) => /* @__PURE__ */ r(j, {
1681
- children: e.map((a, s) => /* @__PURE__ */ r(Kt, {
1682
- node: a
1683
- }, `${s}-${a.type}`))
1681
+ children: e.map((i, s) => /* @__PURE__ */ r(Kt, {
1682
+ node: i
1683
+ }, `${s}-${i.type}`))
1684
1684
  }), Kt = ({
1685
1685
  node: e
1686
1686
  }) => {
1687
- 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) {
1688
1695
  case "audio":
1689
1696
  return /* @__PURE__ */ r(St, {
1690
1697
  node: e
@@ -1779,10 +1786,11 @@ const x = Ve.exports, le = (e, a) => e[`${a}-option`] !== void 0, ne = (e, a, s
1779
1786
  };
1780
1787
  export {
1781
1788
  Et as Admonition,
1789
+ er as Asciidoc,
1782
1790
  St as Audio,
1783
1791
  Tt as CoList,
1784
1792
  $ as Content,
1785
- W as Context,
1793
+ F as Context,
1786
1794
  Ct as DList,
1787
1795
  kt as Document,
1788
1796
  Ot as Example,
@@ -1806,7 +1814,6 @@ export {
1806
1814
  A as Title,
1807
1815
  Jt as UList,
1808
1816
  Gt as Verse,
1809
- er as default,
1810
1817
  ir as parse,
1811
1818
  Zt as prepareDocument
1812
1819
  };
@@ -1,4 +1,4 @@
1
- (function(g,J){typeof exports=="object"&&typeof module<"u"?J(exports,require("html-react-parser"),require("react")):typeof define=="function"&&define.amd?define(["exports","html-react-parser","react"],J):(g=typeof globalThis<"u"?globalThis:g||self,J(g.ReactAsciiDoc={},g.parse,g.React))})(this,function(g,J,P){"use strict";const pe=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},w=pe(J),ye=pe(P);var te={exports:{}},G={};/**
1
+ (function(g,J){typeof exports=="object"&&typeof module<"u"?J(exports,require("html-react-parser"),require("react")):typeof define=="function"&&define.amd?define(["exports","html-react-parser","react"],J):(g=typeof globalThis<"u"?globalThis:g||self,J(g.ReactAsciiDoc={},g.parse,g.React))})(this,function(g,J,C){"use strict";const pe=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},w=pe(J),ye=pe(C);var te={exports:{}},G={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Ne;function gt(){if(Ne)return G;Ne=1;var e=ye.default,i=Symbol.for("react.element"),l=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,f=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function n(d,h,A){var p,u={},v=null,E=null;A!==void 0&&(v=""+A),h.key!==void 0&&(v=""+h.key),h.ref!==void 0&&(E=h.ref);for(p in h)s.call(h,p)&&!m.hasOwnProperty(p)&&(u[p]=h[p]);if(d&&d.defaultProps)for(p in h=d.defaultProps,h)u[p]===void 0&&(u[p]=h[p]);return{$$typeof:i,type:d,key:v,ref:E,props:u,_owner:f.current}}return G.Fragment=l,G.jsx=n,G.jsxs=n,G}var K={};/**
9
+ */var Ne;function gt(){if(Ne)return G;Ne=1;var e=ye.default,a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,f=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function n(d,h,A){var p,u={},v=null,E=null;A!==void 0&&(v=""+A),h.key!==void 0&&(v=""+h.key),h.ref!==void 0&&(E=h.ref);for(p in h)s.call(h,p)&&!m.hasOwnProperty(p)&&(u[p]=h[p]);if(d&&d.defaultProps)for(p in h=d.defaultProps,h)u[p]===void 0&&(u[p]=h[p]);return{$$typeof:a,type:d,key:v,ref:E,props:u,_owner:f.current}}return G.Fragment=l,G.jsx=n,G.jsxs=n,G}var K={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,19 +14,19 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var _e;function pt(){return _e||(_e=1,process.env.NODE_ENV!=="production"&&function(){var e=ye.default,i=Symbol.for("react.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),x=Symbol.iterator,I="@@iterator";function q(t){if(t===null||typeof t!="object")return null;var a=x&&t[x]||t[I];return typeof a=="function"?a:null}var W=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(t){{for(var a=arguments.length,c=new Array(a>1?a-1:0),b=1;b<a;b++)c[b-1]=arguments[b];Y("error",t,c)}}function Y(t,a,c){{var b=W.ReactDebugCurrentFrame,_=b.getStackAddendum();_!==""&&(a+="%s",c=c.concat([_]));var R=c.map(function(N){return String(N)});R.unshift("Warning: "+a),Function.prototype.apply.call(console[t],console,R)}}var Q=!1,ie=!1,Et=!1,wt=!1,Tt=!1,Je;Je=Symbol.for("react.module.reference");function St(t){return!!(typeof t=="string"||typeof t=="function"||t===s||t===m||Tt||t===f||t===A||t===p||wt||t===E||Q||ie||Et||typeof t=="object"&&t!==null&&(t.$$typeof===v||t.$$typeof===u||t.$$typeof===n||t.$$typeof===d||t.$$typeof===h||t.$$typeof===Je||t.getModuleId!==void 0))}function Ct(t,a,c){var b=t.displayName;if(b)return b;var _=a.displayName||a.name||"";return _!==""?c+"("+_+")":c}function Ge(t){return t.displayName||"Context"}function H(t){if(t==null)return null;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")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case s:return"Fragment";case l:return"Portal";case m:return"Profiler";case f:return"StrictMode";case A:return"Suspense";case p:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case d:var a=t;return Ge(a)+".Consumer";case n:var c=t;return Ge(c._context)+".Provider";case h:return Ct(t,t.render,"ForwardRef");case u:var b=t.displayName||null;return b!==null?b:H(t.type)||"Memo";case v:{var _=t,R=_._payload,N=_._init;try{return H(N(R))}catch{return null}}}return null}var U=Object.assign,Z=0,Ke,Xe,qe,Qe,Ze,et,tt;function rt(){}rt.__reactDisabledLog=!0;function xt(){{if(Z===0){Ke=console.log,Xe=console.info,qe=console.warn,Qe=console.error,Ze=console.group,et=console.groupCollapsed,tt=console.groupEnd;var t={configurable:!0,enumerable:!0,value:rt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}Z++}}function kt(){{if(Z--,Z===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:U({},t,{value:Ke}),info:U({},t,{value:Xe}),warn:U({},t,{value:qe}),error:U({},t,{value:Qe}),group:U({},t,{value:Ze}),groupCollapsed:U({},t,{value:et}),groupEnd:U({},t,{value:tt})})}Z<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ue=W.ReactCurrentDispatcher,fe;function ne(t,a,c){{if(fe===void 0)try{throw Error()}catch(_){var b=_.stack.trim().match(/\n( *(at )?)/);fe=b&&b[1]||""}return`
18
- `+fe+t}}var de=!1,le;{var Ot=typeof WeakMap=="function"?WeakMap:Map;le=new Ot}function at(t,a){if(!t||de)return"";{var c=le.get(t);if(c!==void 0)return c}var b;de=!0;var _=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var R;R=ue.current,ue.current=null,xt();try{if(a){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch($){b=$}Reflect.construct(t,[],N)}else{try{N.call()}catch($){b=$}t.call(N.prototype)}}else{try{throw Error()}catch($){b=$}t()}}catch($){if($&&b&&typeof $.stack=="string"){for(var y=$.stack.split(`
17
+ */var _e;function pt(){return _e||(_e=1,process.env.NODE_ENV!=="production"&&function(){var e=ye.default,a=Symbol.for("react.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),k=Symbol.iterator,I="@@iterator";function Q(t){if(t===null||typeof t!="object")return null;var i=k&&t[k]||t[I];return typeof i=="function"?i:null}var W=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(t){{for(var i=arguments.length,c=new Array(i>1?i-1:0),b=1;b<i;b++)c[b-1]=arguments[b];Y("error",t,c)}}function Y(t,i,c){{var b=W.ReactDebugCurrentFrame,_=b.getStackAddendum();_!==""&&(i+="%s",c=c.concat([_]));var R=c.map(function(N){return String(N)});R.unshift("Warning: "+i),Function.prototype.apply.call(console[t],console,R)}}var q=!1,ie=!1,Et=!1,wt=!1,Tt=!1,Je;Je=Symbol.for("react.module.reference");function St(t){return!!(typeof t=="string"||typeof t=="function"||t===s||t===m||Tt||t===f||t===A||t===p||wt||t===E||q||ie||Et||typeof t=="object"&&t!==null&&(t.$$typeof===v||t.$$typeof===u||t.$$typeof===n||t.$$typeof===d||t.$$typeof===h||t.$$typeof===Je||t.getModuleId!==void 0))}function Ct(t,i,c){var b=t.displayName;if(b)return b;var _=i.displayName||i.name||"";return _!==""?c+"("+_+")":c}function Ge(t){return t.displayName||"Context"}function H(t){if(t==null)return null;if(typeof t.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case s:return"Fragment";case l:return"Portal";case m:return"Profiler";case f:return"StrictMode";case A:return"Suspense";case p:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case d:var i=t;return Ge(i)+".Consumer";case n:var c=t;return Ge(c._context)+".Provider";case h:return Ct(t,t.render,"ForwardRef");case u:var b=t.displayName||null;return b!==null?b:H(t.type)||"Memo";case v:{var _=t,R=_._payload,N=_._init;try{return H(N(R))}catch{return null}}}return null}var $=Object.assign,Z=0,Ke,Xe,Qe,qe,Ze,et,tt;function rt(){}rt.__reactDisabledLog=!0;function xt(){{if(Z===0){Ke=console.log,Xe=console.info,Qe=console.warn,qe=console.error,Ze=console.group,et=console.groupCollapsed,tt=console.groupEnd;var t={configurable:!0,enumerable:!0,value:rt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}Z++}}function kt(){{if(Z--,Z===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},t,{value:Ke}),info:$({},t,{value:Xe}),warn:$({},t,{value:Qe}),error:$({},t,{value:qe}),group:$({},t,{value:Ze}),groupCollapsed:$({},t,{value:et}),groupEnd:$({},t,{value:tt})})}Z<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ue=W.ReactCurrentDispatcher,fe;function ne(t,i,c){{if(fe===void 0)try{throw Error()}catch(_){var b=_.stack.trim().match(/\n( *(at )?)/);fe=b&&b[1]||""}return`
18
+ `+fe+t}}var de=!1,le;{var Ot=typeof WeakMap=="function"?WeakMap:Map;le=new Ot}function at(t,i){if(!t||de)return"";{var c=le.get(t);if(c!==void 0)return c}var b;de=!0;var _=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var R;R=ue.current,ue.current=null,xt();try{if(i){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(U){b=U}Reflect.construct(t,[],N)}else{try{N.call()}catch(U){b=U}t.call(N.prototype)}}else{try{throw Error()}catch(U){b=U}t()}}catch(U){if(U&&b&&typeof U.stack=="string"){for(var y=U.stack.split(`
19
19
  `),j=b.stack.split(`
20
- `),S=y.length-1,O=j.length-1;S>=1&&O>=0&&y[S]!==j[O];)O--;for(;S>=1&&O>=0;S--,O--)if(y[S]!==j[O]){if(S!==1||O!==1)do if(S--,O--,O<0||y[S]!==j[O]){var D=`
21
- `+y[S].replace(" at new "," at ");return t.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",t.displayName)),typeof t=="function"&&le.set(t,D),D}while(S>=1&&O>=0);break}}}finally{de=!1,ue.current=R,kt(),Error.prepareStackTrace=_}var z=t?t.displayName||t.name:"",vt=z?ne(z):"";return typeof t=="function"&&le.set(t,vt),vt}function Pt(t,a,c){return at(t,!1)}function At(t){var a=t.prototype;return!!(a&&a.isReactComponent)}function se(t,a,c){if(t==null)return"";if(typeof t=="function")return at(t,At(t));if(typeof t=="string")return ne(t);switch(t){case A:return ne("Suspense");case p:return ne("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case h:return Pt(t.render);case u:return se(t.type,a,c);case v:{var b=t,_=b._payload,R=b._init;try{return se(R(_),a,c)}catch{}}}return""}var ce=Object.prototype.hasOwnProperty,it={},nt=W.ReactDebugCurrentFrame;function oe(t){if(t){var a=t._owner,c=se(t.type,t._source,a?a.type:null);nt.setExtraStackFrame(c)}else nt.setExtraStackFrame(null)}function It(t,a,c,b,_){{var R=Function.call.bind(ce);for(var N in t)if(R(t,N)){var y=void 0;try{if(typeof t[N]!="function"){var j=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`.");throw j.name="Invariant Violation",j}y=t[N](a,N,b,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){y=S}y&&!(y instanceof Error)&&(oe(_),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).",b||"React class",c,N,typeof y),oe(null)),y instanceof Error&&!(y.message in it)&&(it[y.message]=!0,oe(_),k("Failed %s type: %s",c,y.message),oe(null))}}}var Lt=Array.isArray;function me(t){return Lt(t)}function jt(t){{var a=typeof Symbol=="function"&&Symbol.toStringTag,c=a&&t[Symbol.toStringTag]||t.constructor.name||"Object";return c}}function Dt(t){try{return lt(t),!1}catch{return!0}}function lt(t){return""+t}function st(t){if(Dt(t))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(t)),lt(t)}var ee=W.ReactCurrentOwner,Ft={key:!0,ref:!0,__self:!0,__source:!0},ct,ot,he;he={};function Mt(t){if(ce.call(t,"ref")){var a=Object.getOwnPropertyDescriptor(t,"ref").get;if(a&&a.isReactWarning)return!1}return t.ref!==void 0}function Wt(t){if(ce.call(t,"key")){var a=Object.getOwnPropertyDescriptor(t,"key").get;if(a&&a.isReactWarning)return!1}return t.key!==void 0}function Bt(t,a){if(typeof t.ref=="string"&&ee.current&&a&&ee.current.stateNode!==a){var c=H(ee.current.type);he[c]||(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',H(ee.current.type),t.ref),he[c]=!0)}}function Ht(t,a){{var c=function(){ct||(ct=!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)",a))};c.isReactWarning=!0,Object.defineProperty(t,"key",{get:c,configurable:!0})}}function $t(t,a){{var c=function(){ot||(ot=!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)",a))};c.isReactWarning=!0,Object.defineProperty(t,"ref",{get:c,configurable:!0})}}var Ut=function(t,a,c,b,_,R,N){var y={$$typeof:i,type:t,key:a,ref:c,props:N,_owner:R};return y._store={},Object.defineProperty(y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.defineProperty(y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.freeze&&(Object.freeze(y.props),Object.freeze(y)),y};function Yt(t,a,c,b,_){{var R,N={},y=null,j=null;c!==void 0&&(st(c),y=""+c),Wt(a)&&(st(a.key),y=""+a.key),Mt(a)&&(j=a.ref,Bt(a,_));for(R in a)ce.call(a,R)&&!Ft.hasOwnProperty(R)&&(N[R]=a[R]);if(t&&t.defaultProps){var S=t.defaultProps;for(R in S)N[R]===void 0&&(N[R]=S[R])}if(y||j){var O=typeof t=="function"?t.displayName||t.name||"Unknown":t;y&&Ht(N,O),j&&$t(N,O)}return Ut(t,y,j,_,b,ee.current,N)}}var be=W.ReactCurrentOwner,ut=W.ReactDebugCurrentFrame;function V(t){if(t){var a=t._owner,c=se(t.type,t._source,a?a.type:null);ut.setExtraStackFrame(c)}else ut.setExtraStackFrame(null)}var ve;ve=!1;function ge(t){return typeof t=="object"&&t!==null&&t.$$typeof===i}function ft(){{if(be.current){var t=H(be.current.type);if(t)return`
20
+ `),S=y.length-1,P=j.length-1;S>=1&&P>=0&&y[S]!==j[P];)P--;for(;S>=1&&P>=0;S--,P--)if(y[S]!==j[P]){if(S!==1||P!==1)do if(S--,P--,P<0||y[S]!==j[P]){var D=`
21
+ `+y[S].replace(" at new "," at ");return t.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",t.displayName)),typeof t=="function"&&le.set(t,D),D}while(S>=1&&P>=0);break}}}finally{de=!1,ue.current=R,kt(),Error.prepareStackTrace=_}var z=t?t.displayName||t.name:"",vt=z?ne(z):"";return typeof t=="function"&&le.set(t,vt),vt}function Pt(t,i,c){return at(t,!1)}function At(t){var i=t.prototype;return!!(i&&i.isReactComponent)}function se(t,i,c){if(t==null)return"";if(typeof t=="function")return at(t,At(t));if(typeof t=="string")return ne(t);switch(t){case A:return ne("Suspense");case p:return ne("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case h:return Pt(t.render);case u:return se(t.type,i,c);case v:{var b=t,_=b._payload,R=b._init;try{return se(R(_),i,c)}catch{}}}return""}var ce=Object.prototype.hasOwnProperty,it={},nt=W.ReactDebugCurrentFrame;function oe(t){if(t){var i=t._owner,c=se(t.type,t._source,i?i.type:null);nt.setExtraStackFrame(c)}else nt.setExtraStackFrame(null)}function It(t,i,c,b,_){{var R=Function.call.bind(ce);for(var N in t)if(R(t,N)){var y=void 0;try{if(typeof t[N]!="function"){var j=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`.");throw j.name="Invariant Violation",j}y=t[N](i,N,b,c,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){y=S}y&&!(y instanceof Error)&&(oe(_),O("%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 y),oe(null)),y instanceof Error&&!(y.message in it)&&(it[y.message]=!0,oe(_),O("Failed %s type: %s",c,y.message),oe(null))}}}var Lt=Array.isArray;function me(t){return Lt(t)}function jt(t){{var i=typeof Symbol=="function"&&Symbol.toStringTag,c=i&&t[Symbol.toStringTag]||t.constructor.name||"Object";return c}}function Dt(t){try{return lt(t),!1}catch{return!0}}function lt(t){return""+t}function st(t){if(Dt(t))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(t)),lt(t)}var ee=W.ReactCurrentOwner,Ft={key:!0,ref:!0,__self:!0,__source:!0},ct,ot,he;he={};function Mt(t){if(ce.call(t,"ref")){var i=Object.getOwnPropertyDescriptor(t,"ref").get;if(i&&i.isReactWarning)return!1}return t.ref!==void 0}function Wt(t){if(ce.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function Bt(t,i){if(typeof t.ref=="string"&&ee.current&&i&&ee.current.stateNode!==i){var c=H(ee.current.type);he[c]||(O('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',H(ee.current.type),t.ref),he[c]=!0)}}function Ht(t,i){{var c=function(){ct||(ct=!0,O("%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))};c.isReactWarning=!0,Object.defineProperty(t,"key",{get:c,configurable:!0})}}function Ut(t,i){{var c=function(){ot||(ot=!0,O("%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))};c.isReactWarning=!0,Object.defineProperty(t,"ref",{get:c,configurable:!0})}}var $t=function(t,i,c,b,_,R,N){var y={$$typeof:a,type:t,key:i,ref:c,props:N,_owner:R};return y._store={},Object.defineProperty(y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.defineProperty(y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.freeze&&(Object.freeze(y.props),Object.freeze(y)),y};function Yt(t,i,c,b,_){{var R,N={},y=null,j=null;c!==void 0&&(st(c),y=""+c),Wt(i)&&(st(i.key),y=""+i.key),Mt(i)&&(j=i.ref,Bt(i,_));for(R in i)ce.call(i,R)&&!Ft.hasOwnProperty(R)&&(N[R]=i[R]);if(t&&t.defaultProps){var S=t.defaultProps;for(R in S)N[R]===void 0&&(N[R]=S[R])}if(y||j){var P=typeof t=="function"?t.displayName||t.name||"Unknown":t;y&&Ht(N,P),j&&Ut(N,P)}return $t(t,y,j,_,b,ee.current,N)}}var be=W.ReactCurrentOwner,ut=W.ReactDebugCurrentFrame;function V(t){if(t){var i=t._owner,c=se(t.type,t._source,i?i.type:null);ut.setExtraStackFrame(c)}else ut.setExtraStackFrame(null)}var ve;ve=!1;function ge(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function ft(){{if(be.current){var t=H(be.current.type);if(t)return`
22
22
 
23
- Check the render method of \``+t+"`."}return""}}function Vt(t){{if(t!==void 0){var a=t.fileName.replace(/^.*[\\\/]/,""),c=t.lineNumber;return`
23
+ Check the render method of \``+t+"`."}return""}}function Vt(t){{if(t!==void 0){var i=t.fileName.replace(/^.*[\\\/]/,""),c=t.lineNumber;return`
24
24
 
25
- Check your code at `+a+":"+c+"."}return""}}var dt={};function zt(t){{var a=ft();if(!a){var c=typeof t=="string"?t:t.displayName||t.name;c&&(a=`
25
+ Check your code at `+i+":"+c+"."}return""}}var dt={};function zt(t){{var i=ft();if(!i){var c=typeof t=="string"?t:t.displayName||t.name;c&&(i=`
26
26
 
27
- Check the top-level render call using <`+c+">.")}return a}}function mt(t,a){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var c=zt(a);if(dt[c])return;dt[c]=!0;var b="";t&&t._owner&&t._owner!==be.current&&(b=" It was passed a child from "+H(t._owner.type)+"."),V(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.',c,b),V(null)}}function ht(t,a){{if(typeof t!="object")return;if(me(t))for(var c=0;c<t.length;c++){var b=t[c];ge(b)&&mt(b,a)}else if(ge(t))t._store&&(t._store.validated=!0);else if(t){var _=q(t);if(typeof _=="function"&&_!==t.entries)for(var R=_.call(t),N;!(N=R.next()).done;)ge(N.value)&&mt(N.value,a)}}}function Jt(t){{var a=t.type;if(a==null||typeof a=="string")return;var c;if(typeof a=="function")c=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===h||a.$$typeof===u))c=a.propTypes;else return;if(c){var b=H(a);It(c,t.props,"prop",b,t)}else if(a.PropTypes!==void 0&&!ve){ve=!0;var _=H(a);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Gt(t){{for(var a=Object.keys(t.props),c=0;c<a.length;c++){var b=a[c];if(b!=="children"&&b!=="key"){V(t),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b),V(null);break}}t.ref!==null&&(V(t),k("Invalid attribute `ref` supplied to `React.Fragment`."),V(null))}}function bt(t,a,c,b,_,R){{var N=St(t);if(!N){var y="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var j=Vt(_);j?y+=j:y+=ft();var S;t===null?S="null":me(t)?S="array":t!==void 0&&t.$$typeof===i?(S="<"+(H(t.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):S=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",S,y)}var O=Yt(t,a,c,_,R);if(O==null)return O;if(N){var D=a.children;if(D!==void 0)if(b)if(me(D)){for(var z=0;z<D.length;z++)ht(D[z],t);Object.freeze&&Object.freeze(D)}else 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.");else ht(D,t)}return t===s?Gt(O):Jt(O),O}}function Kt(t,a,c){return bt(t,a,c,!0)}function Xt(t,a,c){return bt(t,a,c,!1)}var qt=Xt,Qt=Kt;K.Fragment=s,K.jsx=qt,K.jsxs=Qt}()),K}(function(e){process.env.NODE_ENV==="production"?e.exports=gt():e.exports=pt()})(te);const F=te.exports.Fragment,r=te.exports.jsx,o=te.exports.jsxs,C=({text:e})=>e?r("div",{className:"title",children:w.default(e)}):null,Re=({node:e})=>{const{document:i}=P.useContext(M),l=i.attributes||{},s=e.attributes,f=()=>l.icons==="font"&&!s.icon?r("i",{className:`fa icon-${s.name}`,title:s.textlabel}):r("img",{src:e.iconUri,alt:s.textlabel});return r("div",{className:`admonitionblock ${s.name}`,...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:r("table",{children:r("tbody",{children:o("tr",{children:[r("td",{className:"icon",children:l.icons?f():r("div",{className:"title",children:s.textlabel})}),o("td",{className:"content",children:[r(C,{text:e.title}),e.content&&w.default(e.content)]})]})})})})},Ee=({node:e})=>{const i=e.attributes.start,l=e.attributes.end,s=(i||l)&&`#t=${i||""}`+l?`,${l}`:"";return o("div",{className:"audioblock",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("div",{className:"content",children:r("audio",{src:`${e.mediaUri}${s}`,autoPlay:e.autoplay,controls:!e.noControls,loop:e.loop,children:"Your browser does not support the audio tag."})})]})},we=({node:e})=>o("div",{className:"colist",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("table",{children:r("tbody",{children:e.items.map((i,l)=>o("tr",{children:[o("td",{children:[r("i",{className:"conum","data-value":l+1}),r("b",{children:l+1})]}),o("td",{children:[i.text&&w.default(i.text),r(L,{blocks:i.blocks})]})]},l))})})]});var Te={exports:{}};/*!
27
+ Check the top-level render call using <`+c+">.")}return i}}function mt(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var c=zt(i);if(dt[c])return;dt[c]=!0;var b="";t&&t._owner&&t._owner!==be.current&&(b=" It was passed a child from "+H(t._owner.type)+"."),V(t),O('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),V(null)}}function ht(t,i){{if(typeof t!="object")return;if(me(t))for(var c=0;c<t.length;c++){var b=t[c];ge(b)&&mt(b,i)}else if(ge(t))t._store&&(t._store.validated=!0);else if(t){var _=Q(t);if(typeof _=="function"&&_!==t.entries)for(var R=_.call(t),N;!(N=R.next()).done;)ge(N.value)&&mt(N.value,i)}}}function Jt(t){{var i=t.type;if(i==null||typeof i=="string")return;var c;if(typeof i=="function")c=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===h||i.$$typeof===u))c=i.propTypes;else return;if(c){var b=H(i);It(c,t.props,"prop",b,t)}else if(i.PropTypes!==void 0&&!ve){ve=!0;var _=H(i);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Gt(t){{for(var i=Object.keys(t.props),c=0;c<i.length;c++){var b=i[c];if(b!=="children"&&b!=="key"){V(t),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",b),V(null);break}}t.ref!==null&&(V(t),O("Invalid attribute `ref` supplied to `React.Fragment`."),V(null))}}function bt(t,i,c,b,_,R){{var N=St(t);if(!N){var y="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var j=Vt(_);j?y+=j:y+=ft();var S;t===null?S="null":me(t)?S="array":t!==void 0&&t.$$typeof===a?(S="<"+(H(t.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):S=typeof t,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,y)}var P=Yt(t,i,c,_,R);if(P==null)return P;if(N){var D=i.children;if(D!==void 0)if(b)if(me(D)){for(var z=0;z<D.length;z++)ht(D[z],t);Object.freeze&&Object.freeze(D)}else O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ht(D,t)}return t===s?Gt(P):Jt(P),P}}function Kt(t,i,c){return bt(t,i,c,!0)}function Xt(t,i,c){return bt(t,i,c,!1)}var Qt=Xt,qt=Kt;K.Fragment=s,K.jsx=Qt,K.jsxs=qt}()),K}(function(e){process.env.NODE_ENV==="production"?e.exports=gt():e.exports=pt()})(te);const F=te.exports.Fragment,r=te.exports.jsx,o=te.exports.jsxs,x=({text:e})=>e?r("div",{className:"title",children:w.default(e)}):null,Re=({node:e})=>{const{document:a}=C.useContext(M),l=a.attributes||{},s=e.attributes,f=()=>l.icons==="font"&&!s.icon?r("i",{className:`fa icon-${s.name}`,title:s.textlabel}):r("img",{src:e.iconUri,alt:s.textlabel});return r("div",{className:`admonitionblock ${s.name}`,...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:r("table",{children:r("tbody",{children:o("tr",{children:[r("td",{className:"icon",children:l.icons?f():r("div",{className:"title",children:s.textlabel})}),o("td",{className:"content",children:[r(x,{text:e.title}),e.content&&w.default(e.content)]})]})})})})},Ee=({node:e})=>{const a=e.attributes.start,l=e.attributes.end,s=(a||l)&&`#t=${a||""}`+l?`,${l}`:"";return o("div",{className:"audioblock",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("div",{className:"content",children:r("audio",{src:`${e.mediaUri}${s}`,autoPlay:e.autoplay,controls:!e.noControls,loop:e.loop,children:"Your browser does not support the audio tag."})})]})},we=({node:e})=>o("div",{className:"colist",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("table",{children:r("tbody",{children:e.items.map((a,l)=>o("tr",{children:[o("td",{children:[r("i",{className:"conum","data-value":l+1}),r("b",{children:l+1})]}),o("td",{children:[a.text&&w.default(a.text),r(L,{blocks:a.blocks})]})]},l))})})]});var Te={exports:{}};/*!
28
28
  Copyright (c) 2018 Jed Watson.
29
29
  Licensed under the MIT License (MIT), see
30
30
  http://jedwatson.github.io/classnames
31
- */(function(e){(function(){var i={}.hasOwnProperty;function l(){for(var s=[],f=0;f<arguments.length;f++){var m=arguments[f];if(!!m){var n=typeof m;if(n==="string"||n==="number")s.push(m);else if(Array.isArray(m)){if(m.length){var d=l.apply(null,m);d&&s.push(d)}}else if(n==="object"){if(m.toString!==Object.prototype.toString&&!m.toString.toString().includes("[native code]")){s.push(m.toString());continue}for(var h in m)i.call(m,h)&&m[h]&&s.push(h)}}}return s.join(" ")}e.exports?(l.default=l,e.exports=l):window.classNames=l})()})(Te);const T=Te.exports,re=(e,i)=>e[`${i}-option`]!==void 0,ae=(e,i,l=void 0,s,f)=>{if(e[i]!==void 0)return e[i];const m=s||i;return m&&f&&f[m]!==void 0?f[m]:l},B=(e,i)=>e[i]!==void 0,yt=e=>{var m;let i;function l(n){const d=n.getNodeName&&n.getNodeName(),h=n.getContentModel&&n.getContentModel(),A=d&&n.hasBlocks()?n.getBlocks().map(u=>l(u)):[];let p={id:n.getId&&n.getId(),type:d,blocks:A,content:A.length>0?void 0:n.getContent&&n.getContent(),attributes:n.getAttributes&&n.getAttributes(),contentModel:h,lineNumber:n.getLineNumber&&n.getLineNumber(),style:n.getStyle&&n.getStyle(),role:n.getRole&&n.getRole(),title:n.hasTitle&&n.hasTitle()?n.getTitle():void 0,level:n.getLevel&&n.getLevel()};if(d==="admonition"){let u=p;u.iconUri=n.getIconUri(p.attributes.name)}if(d==="audio"){let u=p;u.mediaUri=n.getMediaUri(n.getAttribute("target")),u.autoplay=n.isOption("autoplay"),u.noControls=!n.isOption("nocontrols"),u.loop=n.isOption("loop"),p=u}if(d==="image"){let u=p;u.imageUri=n.getImageUri(n.getAttribute("target"))}if((d==="listing"||d==="literal")&&"getSource"in n){const u=p;u.source=n.getSource(),u.language=n.getAttribute("language")}if(d==="section"){const u=p;u.title=n.getCaption()?n.getCaptionedTitle():n.getTitle()||"","getSectionNumeral"in n&&(u.name=n.getSectionName(),u.numbered=n.isNumbered(),u.num=n.getSectionNumeral())}if(d==="dlist"){let u=p;u.items=n.getItems().map(v=>[v[0].map(E=>l(E)),l(v[1])])}if(d==="colist"||d==="olist"||d==="ulist"){let u=p;u.items=n.getItems().map(v=>l(v))}if(d==="list_item"){let u=p;const v=n;u.text=v.hasText()?v.getText():void 0}if(d==="table"){let u=p;const v=n;u.columns=v.getColumns().map(I=>({attributes:I.getAttributes(),columnNumber:I.getColumnNumber(),width:I.getWidth(),horizontalAlign:I.getHorizontalAlign(),verticalAlign:I.getVerticalAlign(),style:I.getStyle()}));const E=I=>I.map(q=>q.map(W=>l(W))),x=v.getRows();u.rows={head:E(x.head),body:E(x.body),foot:E(x.foot)},u={...u,caption:v.getCaption(),hasHeader:v.hasHeaderOption(),hasFooter:v.hasFooterOption(),hasAutowidth:v.hasAutowidthOption(),headRows:E(v.getHeadRows()),bodyRows:E(v.getBodyRows()),footRows:E(v.getFootRows())},p=u}if(d==="table_cell"){const u=n,v=u.getColumn();p={text:u.getText(),columnSpan:u.getColumnSpan(),rowSpan:u.getRowSpan(),source:u.getSource(),lines:u.getLines(),width:u.getWidth(),columnPercentageWidth:u.getColumnPercentageWidth(),column:v?{attributes:v.getAttributes(),columnNumber:v.getColumnNumber(),width:v.getWidth(),horizontalAlign:v.getHorizontalAlign(),verticalAlign:v.getVerticalAlign(),style:v.getStyle()}:void 0,...p}}return p}function s(n){return n.getSections().map(d=>({id:d.getId(),title:(d.getCaption()?d.getCaptionedTitle():d.getTitle())||"",level:d.getLevel(),num:d.getSectionNumber(),sections:s(d)}))}const f=e.getAuthors().map(n=>{const d=n.getName(),h=n.getEmail();return{name:d?e.applySubstitutions(d).toString():void 0,email:h?e.applySubstitutions(h).toString():void 0}});return i={type:"document",title:((m=e.getDocumentTitle())==null?void 0:m.toString())||"",hasHeader:e.hasHeader(),noHeader:e.getNoheader(),contentModel:e.getContentModel(),attributes:e.getAttributes(),footnotes:e.getFootnotes().map(n=>({text:n.getText(),index:n.getIndex()})),blocks:e.getBlocks().map(n=>l(n)),sections:s(e),authors:f},i.footnotes=e.getFootnotes().map(n=>({text:n.getText(),index:n.getIndex()})),i},Se=({node:e})=>{const i=s=>{const f=s,m=f[0];let n=f[1];return n.type||(n=null),{terms:m,dd:n}},l=s=>{if(s)return o("dd",{children:[s.text&&r("p",{children:w.default(s.text)}),r(L,{blocks:s.blocks})]})};if(e.style==="qanda")return o("div",{className:T("qlist qanda",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("ol",{children:e.items.map((s,f)=>{const{terms:m,dd:n}=i(s);if(!!m)return o("li",{children:[m.map((d,h)=>r("p",{children:r("em",{children:w.default(d.text)})},h)),l(n)]},f)})})]});if(e.style==="horizontal"){const s=e.attributes.labelwidth,f=e.attributes.itemwidth;return o("div",{className:T("hdlist",e.role),children:[r(C,{text:e.title}),o("table",{children:[(s||f)&&o("colgroup",{children:[r("col",{style:{width:s?`${s.replace("%","")}%`:""}}),r("col",{style:{width:f?`${f.replace("%","")}%`:""}})]}),r("tbody",{children:e.items.map((m,n)=>{const{terms:d,dd:h}=i(m);if(!!d)return o("tr",{children:[r("td",{className:T("hdlist1",re(e.attributes,"strong")?"strong":""),children:d.map((A,p)=>o(P.Fragment,{children:[p!==0&&r("br",{}),w.default(A.text)]},p))}),h&&o("td",{className:"hdlist2",children:[h.text&&r("p",{children:w.default(h.text)}),r(L,{blocks:h.blocks})]})]},n)})})]})]})}else return o("div",{className:T("dlist",e.style,e.role),children:[r(C,{text:e.title}),r("dl",{children:e.items.map((s,f)=>{const{terms:m,dd:n}=i(s);if(!!m)return o(P.Fragment,{children:[m.map((d,h)=>r("dt",{className:"hdlist1",children:w.default(d.text)},h)),l(n)]},f)})})]})},X=({sections:e,opts:i})=>{const{document:l}=P.useContext(M);if(!e||e.length===0)return null;const s=l.attributes||{},f=s.sectnumlevels,m=s.toclevels,n=(i==null?void 0:i.sectNumLevels)||(f?parseInt(f):3),d=(i==null?void 0:i.tocLevels)||(m?parseInt(m):2);return r("ul",{className:`sectlevel${e[0].level}`,children:e.map(h=>{let A=h.num;A=A==="."||A===".."?"":A;const p=h.level;let u=h.title;return p<=n&&(u=`${A} ${h.title}`),o("li",{children:[r("a",{href:`#${h.id}`,children:w.default(u)}),p<d&&r(X,{sections:h.sections,opts:{tocLevels:d,sectNumLevels:n}})]},h.id)})})},Ce=({document:e})=>{const i=()=>e.noHeader?null:r("div",{id:"header",children:e.hasHeader&&o(F,{children:[r("h1",{dangerouslySetInnerHTML:{__html:e.title}}),r(s,{}),e.sections&&e.sections.length>0&&e.attributes.toc!==void 0&&e.attributes["toc-placement"]==="auto"&&o("div",{id:"toc",className:ae(e.attributes,"toc-class","toc"),children:[r("div",{id:"toctitle",children:e.attributes["toc-title"]}),r(X,{sections:e.sections})]})]})}),l=()=>e.footnotes&&e.footnotes.length>0&&e.blocks&&!B(e.attributes,"nofootnotes")?o("div",{id:"footnotes",children:[r("hr",{}),e.footnotes.map(f=>o("div",{className:"footnote",id:`_footnotedef_${f.index}`,children:[r("a",{href:`#_footnoteref_${f.index}`,children:f.index}),"."," ",w.default(f.text||"")]},f.index))]}):null,s=()=>e.authors.length>0||B(e.attributes,"revnumber")||B(e.attributes,"revdate")||B(e.attributes,"revremark")?o("div",{className:"details",children:[e.authors.map((f,m)=>o(P.Fragment,{children:[f.name&&o(F,{children:[r("span",{id:`author${m+1>1?m+1:""}`,className:"author",children:w.default(f.name)}),r("br",{})]}),f.email&&o(F,{children:[r("span",{id:`email${m+1>1?m+1:""}`,className:"email",children:w.default(f.email)}),r("br",{})]})]},m)),B(e.attributes,"revnumber")&&r("span",{id:"revnumber",children:`${e.attributes["version-label"].toLowerCase()} ${e.attributes.revnumber}${e.attributes.revdate?",":""}`}),B(e.attributes,"revdate")&&r("span",{id:"revdate",children:e.attributes.revdate}),B(e.attributes,"revremark")&&o(F,{children:[r("br",{}),r("span",{id:"revremark",children:e.attributes.revremark})]})]}):null;return o(F,{children:[r(i,{}),r("div",{id:"content",children:r(L,{blocks:e.blocks})}),r(l,{})]})},xe=({node:e})=>{if(e.attributes.collapsible){const i=e.attributes.collapsible,l=e.title||"Details",s=e.attributes.open?!0:void 0;if(i)return o("details",{className:e.role,open:s,...e.lineNumber?{"data-lineno":e.lineNumber}:{},...e.id?{id:e.id}:{},children:[r("summary",{className:"title",children:w.default(l)}),r("div",{className:"content",children:r(L,{blocks:e.blocks})})]})}return o("div",{className:T("exampleblock",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},...e.id?{id:e.id}:{},children:[r(C,{text:e.title}),r("div",{className:"content",children:r(L,{blocks:e.blocks})})]})},ke=({node:e})=>o(F,{children:[r("a",{className:"sectionanchor",...e.id?{id:e.id}:{},...e.lineNumber?{"data-lineno":e.lineNumber}:{}}),P.createElement(`h${e.level+1}`,{className:T(e.role,e.style)},w.default(e.title||""))]}),Oe=({node:e})=>{let i=r("img",{src:e.imageUri,alt:e.attributes.alt,width:e.attributes.width,height:e.attributes.height});return e.attributes.link&&(i=r("a",{className:"image",href:e.attributes.link,children:i})),o("div",{className:`imageblock ${e.attributes.align?"text-"+e.attributes.align:""} ${e.attributes.float?e.attributes.float:""} ${e.role?e.role:""}`,...e.lineNumber?{"data-lineno":e.lineNumber}:{},style:{maxWidth:e.attributes.width,maxHeight:e.attributes.height},children:[r("div",{className:"content",children:i}),r(C,{text:e.title})]})},Pe=({node:e})=>{const{document:i}=P.useContext(M),l=e.attributes.nowrap||i.attributes.prewrap;if(e.style==="source"){const s=e.language;return o("div",{className:"listingblock",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("div",{className:"content",children:r("pre",{className:T("highlight",l?" nowrap":""),children:s?r("code",{className:s?`language-${s}`:"","data-lang":s,dangerouslySetInnerHTML:{__html:e.content||""}}):r("code",{dangerouslySetInnerHTML:{__html:e.content||""}})})})]})}else return o("div",{className:"listingblock",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("div",{className:"content",children:r("pre",{className:l?" nowrap":"",children:r("code",{dangerouslySetInnerHTML:{__html:e.source}})})})]})},Ae=({node:e})=>{const{document:i}=P.useContext(M),l=i.attributes||{},s=e.attributes.nowrap||l.prewrap===void 0;return o("div",{className:"literalblock",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("div",{className:"content",children:r("pre",{className:s?"nowrap":"",children:e.source})})]})},Ie=({node:e})=>o("div",{className:T("olist",e.role,e.style),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("ol",{className:e.style,reversed:re(e.attributes,"reversed"),...e.attributes.start?{start:parseInt(e.attributes.start)}:{},children:e.items.map((i,l)=>o("li",{className:e.role?e.role:"",children:[r("p",{children:w.default(i.text||"")}),r(L,{blocks:i.blocks})]},l))})]}),Le=({node:e})=>{const i=e.style;return i==="abstract"?o("div",{className:T("quoteblock abstract",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("blockquote",{className:"content",children:r(L,{blocks:e.blocks})})]}):o("div",{className:T("openblock",i&&i!=="open"?i:"",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("div",{className:"content",children:r(L,{blocks:e.blocks})})]})},je=()=>r("div",{style:{pageBreakAfter:"always"}}),De=({node:e})=>o("div",{...e.id?{id:e.id}:{},className:T("paragraph",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),e.content&&r("p",{dangerouslySetInnerHTML:{__html:e.content}})]}),Fe=({node:e})=>r(F,{children:w.default(e.content||"")}),Me=({node:e})=>{const{document:i}=P.useContext(M),l=i.attributes||{},s=l["toc-placement"]==="preamble"&&i.sections&&i.sections.length>0&&l.toc!==void 0;return r("div",{id:"preamble",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:o("div",{className:"sectionbody",children:[r(L,{blocks:e.blocks}),s&&o("div",{id:"toc",className:e.attributes["toc-class"]?e.attributes["toc-class"]:"toc",children:[r("div",{id:"toctitle",children:w.default(l["toc-title"])}),i.sections&&r(X,{sections:i.sections})]})]})})},We=({node:e})=>{const i=e.attributes.attribution,l=e.attributes.citetitle;return o("div",{...e.id?{id:e.id}:{},className:T("quoteblock",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),e.content&&r("blockquote",{dangerouslySetInnerHTML:{__html:e.content}}),r(L,{blocks:e.blocks}),i&&o("div",{className:"attribution",children:["\u2014 ",i,l&&r("cite",{children:l})]})]})},Be=({node:e})=>{const{document:i}=P.useContext(M),l=i.attributes||{};let s=e.title,f=e.num;f=f==="."?"":f;const m=l.sectnumlevels?parseInt(l.sectnumlevels):3;return e.numbered&&e.level<=m&&(s=`${f} ${e.title}`),l.sectlinks&&(s=o(F,{children:[r("a",{className:"anchor",id:e.id||"",...e.lineNumber?{"data-lineno":e.lineNumber}:{}}),r("a",{className:"link",href:`#${e.id}`,dangerouslySetInnerHTML:{__html:s}})]})),e.level===0?o(F,{children:[r("h1",{className:T("sect0",e.role),"data-sectnum":f,...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:s}),r(L,{blocks:e.blocks})]}):o("div",{className:T(`sect${e.level}`,e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[P.createElement(`h${e.level+1}`,{"data-sectnum":f},s),r("div",{className:"sectionbody",children:r(L,{blocks:e.blocks})})]})},He=({node:e})=>r("div",{className:T("sidebarblock",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:o("div",{className:"content",children:[r(C,{text:e.title}),r(L,{blocks:e.blocks})]})}),$e=({node:e})=>{const{document:i}=P.useContext(M),l=i.attributes||{};let s=["frame-"+ae(e.attributes,"frame","all","table-frame",l),"grid-"+ae(e.attributes,"grid","all","table-grid",l)],f=ae(e.attributes,"stripes",null,"table-stripes",l);f&&s.push("stripes-"+f);let m=re(e.attributes,"autowidth"),n=parseInt(e.attributes.tablepcwidth),d=null;m&&!B(e.attributes,"width")?s.push("fit-content"):n===100?s.push("stretch"):d=`${n}%`,B(e.attributes,"float")&&s.push(e.attributes.float),e.role&&s.push(e.role||"");const h=v=>T("tableblock",`halign-${v.attributes.halign}`,`valign-${v.attributes.valign}`),A=e.title,p=e.id,u=p||Nt(A||"");return o("table",{className:T("tableblock",...s),style:{width:d||void 0},...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[e.title&&o("caption",{className:"title",children:[!p&&r("a",{className:"anchor",id:u}),r("a",{href:`#${u}`,children:e.title})]}),e.columns.length>0&&r("colgroup",{children:e.columns.map((v,E)=>{const x=v.attributes.colpcwidth;return r("col",{style:{width:`${x}%`}},E)})}),e.headRows.map((v,E)=>r("thead",{children:r("tr",{children:v.map((x,I)=>r("th",{className:h(x),dangerouslySetInnerHTML:{__html:x.text}},I))})},E)),r("tbody",{children:e.bodyRows.map((v,E)=>r("tr",{children:v.map((x,I)=>{const q=x.columnSpan,W=x.rowSpan,k=x.content,Y={colSpan:q,rowSpan:W,className:h(x)},Q=x.style;if(Q==="asciidoc")return P.createElement("td",{...Y,key:I},r("div",{className:"content",dangerouslySetInnerHTML:{__html:k||""}}));if(Q==="literal")return P.createElement("td",{...Y,key:I},r("div",{className:"literal",children:r("pre",{dangerouslySetInnerHTML:{__html:k||""}})}));if(Q==="header")return P.createElement("th",{...Y,key:I},r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:k||""}}));{let ie=k;return P.createElement("td",{...Y,key:I},ie.length===0?"":w.default(`<p class="tableblock">${ie.join(`</p>
32
- <p class="tableblock">`)}</p>`))}})},E))}),e.footRows.map((v,E)=>r("tfoot",{children:r("tr",{children:v.map((x,I)=>r("td",{className:h(x),children:r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:x.text}})},I))})},E))]})},Nt=e=>e.toString().normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim().replace(/\s+/g,"_").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/-$/g,""),Ue=({node:e})=>{const{document:i}=P.useContext(M),l=i.attributes||{},s=i.sections&&i.sections.length>0;let f=e.id||"toc";const m=e.title?e.title:l["toc-title"],n=l["toc-placement"],d=l.toc!==void 0,h=e.attributes.levels?parseInt(e.attributes.levels):void 0;return n==="macro"&&s&&d?o("div",{id:f,className:T("toc",e.role),children:[r("div",{id:`${f}title`,className:"title",children:w.default(m||"")}),i.sections&&r(X,{sections:i.sections,opts:{tocLevels:h}})]}):null},Ye=()=>r("hr",{}),Ve=({node:e})=>{const i=re(e.attributes,"checklist");return o("div",{...e.id?{id:e.id}:{},className:T("ulist",e.style,e.role,i&&"checklist"),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),r("ul",{className:i?"checklist":"",children:e.items.map((l,s)=>i?r("li",{id:l.id,className:e.role,children:o("p",{children:[i&&l.attributes.checkbox&&r("i",{className:T("fa",l.attributes.checked?"fa-check-square-o":"fa-square-o")})," ",w.default(l.text||"")]})},s):o("li",{id:l.id,className:e.role,children:[r("p",{dangerouslySetInnerHTML:{__html:l.text||""}}),r(L,{blocks:l.blocks})]},s))})]})},ze=({node:e})=>{const i=e.attributes.attribution,l=e.attributes.citetitle;return o("div",{...e.id?{id:e.id}:{},className:T("verseblock",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(C,{text:e.title}),e.content&&r("pre",{className:"content",dangerouslySetInnerHTML:{__html:e.content}}),i&&o("div",{className:"attribution",children:["\u2014 ",i,l&&r("cite",{children:l})]})]})},M=P.createContext({document:{}}),_t=({document:e,options:i})=>{const l=i&&i.customDocument;return r(M.Provider,{value:{...i,document:{attributes:e.attributes,sections:e.sections}},children:l?r(l,{document:e}):r(Ce,{document:e})})},L=({blocks:e})=>r(F,{children:e.map((i,l)=>r(Rt,{node:i},`${l}-${i.type}`))}),Rt=({node:e})=>{switch(e.type){case"audio":return r(Ee,{node:e});case"preamble":return r(Me,{node:e});case"section":return r(Be,{node:e});case"paragraph":return r(De,{node:e});case"dlist":return r(Se,{node:e});case"ulist":return r(Ve,{node:e});case"floating_title":return r(ke,{node:e});case"admonition":return r(Re,{node:e});case"listing":return r(Pe,{node:e});case"literal":return r(Ae,{node:e});case"image":return r(Oe,{node:e});case"colist":return r(we,{node:e});case"olist":return r(Ie,{node:e});case"table":return r($e,{node:e});case"thematic_break":return r(Ye,{});case"open":return r(Le,{node:e});case"pass":return r(Fe,{node:e});case"page_break":return r(je,{});case"example":return r(xe,{node:e});case"sidebar":return r(He,{node:e});case"quote":return r(We,{node:e});case"verse":return r(ze,{node:e});case"toc":return r(Ue,{node:e});default:return r(F,{})}};Object.defineProperty(g,"parse",{enumerable:!0,get:()=>w.default}),g.Admonition=Re,g.Audio=Ee,g.CoList=we,g.Content=L,g.Context=M,g.DList=Se,g.Document=Ce,g.Example=xe,g.FloatingTitle=ke,g.Image=Oe,g.Listing=Pe,g.Literal=Ae,g.OList=Ie,g.Open=Le,g.Outline=X,g.PageBreak=je,g.Paragraph=De,g.Pass=Fe,g.Preamble=Me,g.Quote=We,g.Section=Be,g.Sidebar=He,g.Table=$e,g.TableOfContents=Ue,g.ThematicBreak=Ye,g.Title=C,g.UList=Ve,g.Verse=ze,g.default=_t,g.prepareDocument=yt,Object.defineProperties(g,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
31
+ */(function(e){(function(){var a={}.hasOwnProperty;function l(){for(var s=[],f=0;f<arguments.length;f++){var m=arguments[f];if(!!m){var n=typeof m;if(n==="string"||n==="number")s.push(m);else if(Array.isArray(m)){if(m.length){var d=l.apply(null,m);d&&s.push(d)}}else if(n==="object"){if(m.toString!==Object.prototype.toString&&!m.toString.toString().includes("[native code]")){s.push(m.toString());continue}for(var h in m)a.call(m,h)&&m[h]&&s.push(h)}}}return s.join(" ")}e.exports?(l.default=l,e.exports=l):window.classNames=l})()})(Te);const T=Te.exports,re=(e,a)=>e[`${a}-option`]!==void 0,ae=(e,a,l=void 0,s,f)=>{if(e[a]!==void 0)return e[a];const m=s||a;return m&&f&&f[m]!==void 0?f[m]:l},B=(e,a)=>e[a]!==void 0,yt=e=>{var m;let a;function l(n){const d=n.getNodeName&&n.getNodeName(),h=n.getContentModel&&n.getContentModel(),A=d&&n.hasBlocks()?n.getBlocks().map(u=>l(u)):[];let p={id:n.getId&&n.getId(),type:d,blocks:A,content:A.length>0?void 0:n.getContent&&n.getContent(),attributes:n.getAttributes&&n.getAttributes(),contentModel:h,lineNumber:n.getLineNumber&&n.getLineNumber(),style:n.getStyle&&n.getStyle(),role:n.getRole&&n.getRole(),title:n.hasTitle&&n.hasTitle()?n.getTitle():void 0,level:n.getLevel&&n.getLevel()};if(d==="admonition"){let u=p;u.iconUri=n.getIconUri(p.attributes.name)}if(d==="audio"){let u=p;u.mediaUri=n.getMediaUri(n.getAttribute("target")),u.autoplay=n.isOption("autoplay"),u.noControls=!n.isOption("nocontrols"),u.loop=n.isOption("loop"),p=u}if(d==="image"){let u=p;u.imageUri=n.getImageUri(n.getAttribute("target"))}if((d==="listing"||d==="literal")&&"getSource"in n){const u=p;u.source=n.getSource(),u.language=n.getAttribute("language")}if(d==="section"){const u=p;u.title=n.getCaption()?n.getCaptionedTitle():n.getTitle()||"","getSectionNumeral"in n&&(u.name=n.getSectionName(),u.numbered=n.isNumbered(),u.num=n.getSectionNumeral())}if(d==="dlist"){let u=p;u.items=n.getItems().map(v=>[v[0].map(E=>l(E)),l(v[1])])}if(d==="colist"||d==="olist"||d==="ulist"){let u=p;u.items=n.getItems().map(v=>l(v))}if(d==="list_item"){let u=p;const v=n;u.text=v.hasText()?v.getText():void 0}if(d==="table"){let u=p;const v=n;u.columns=v.getColumns().map(I=>({attributes:I.getAttributes(),columnNumber:I.getColumnNumber(),width:I.getWidth(),horizontalAlign:I.getHorizontalAlign(),verticalAlign:I.getVerticalAlign(),style:I.getStyle()}));const E=I=>I.map(Q=>Q.map(W=>l(W))),k=v.getRows();u.rows={head:E(k.head),body:E(k.body),foot:E(k.foot)},u={...u,caption:v.getCaption(),hasHeader:v.hasHeaderOption(),hasFooter:v.hasFooterOption(),hasAutowidth:v.hasAutowidthOption(),headRows:E(v.getHeadRows()),bodyRows:E(v.getBodyRows()),footRows:E(v.getFootRows())},p=u}if(d==="table_cell"){const u=n,v=u.getColumn();p={text:u.getText(),columnSpan:u.getColumnSpan(),rowSpan:u.getRowSpan(),source:u.getSource(),lines:u.getLines(),width:u.getWidth(),columnPercentageWidth:u.getColumnPercentageWidth(),column:v?{attributes:v.getAttributes(),columnNumber:v.getColumnNumber(),width:v.getWidth(),horizontalAlign:v.getHorizontalAlign(),verticalAlign:v.getVerticalAlign(),style:v.getStyle()}:void 0,...p}}return p}function s(n){return n.getSections().map(d=>({id:d.getId(),title:(d.getCaption()?d.getCaptionedTitle():d.getTitle())||"",level:d.getLevel(),num:d.getSectionNumber(),sections:s(d)}))}const f=e.getAuthors().map(n=>{const d=n.getName(),h=n.getEmail();return{name:d?e.applySubstitutions(d).toString():void 0,email:h?e.applySubstitutions(h).toString():void 0}});return a={type:"document",title:((m=e.getDocumentTitle())==null?void 0:m.toString())||"",hasHeader:e.hasHeader(),noHeader:e.getNoheader(),contentModel:e.getContentModel(),attributes:e.getAttributes(),footnotes:e.getFootnotes().map(n=>({text:n.getText(),index:n.getIndex()})),blocks:e.getBlocks().map(n=>l(n)),sections:s(e),authors:f},a.footnotes=e.getFootnotes().map(n=>({text:n.getText(),index:n.getIndex()})),a},Se=({node:e})=>{const a=s=>{const f=s,m=f[0];let n=f[1];return n.type||(n=null),{terms:m,dd:n}},l=s=>{if(s)return o("dd",{children:[s.text&&r("p",{children:w.default(s.text)}),r(L,{blocks:s.blocks})]})};if(e.style==="qanda")return o("div",{className:T("qlist qanda",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("ol",{children:e.items.map((s,f)=>{const{terms:m,dd:n}=a(s);if(!!m)return o("li",{children:[m.map((d,h)=>r("p",{children:r("em",{children:w.default(d.text)})},h)),l(n)]},f)})})]});if(e.style==="horizontal"){const s=e.attributes.labelwidth,f=e.attributes.itemwidth;return o("div",{className:T("hdlist",e.role),children:[r(x,{text:e.title}),o("table",{children:[(s||f)&&o("colgroup",{children:[r("col",{style:{width:s?`${s.replace("%","")}%`:""}}),r("col",{style:{width:f?`${f.replace("%","")}%`:""}})]}),r("tbody",{children:e.items.map((m,n)=>{const{terms:d,dd:h}=a(m);if(!!d)return o("tr",{children:[r("td",{className:T("hdlist1",re(e.attributes,"strong")?"strong":""),children:d.map((A,p)=>o(C.Fragment,{children:[p!==0&&r("br",{}),w.default(A.text)]},p))}),h&&o("td",{className:"hdlist2",children:[h.text&&r("p",{children:w.default(h.text)}),r(L,{blocks:h.blocks})]})]},n)})})]})]})}else return o("div",{className:T("dlist",e.style,e.role),children:[r(x,{text:e.title}),r("dl",{children:e.items.map((s,f)=>{const{terms:m,dd:n}=a(s);if(!!m)return o(C.Fragment,{children:[m.map((d,h)=>r("dt",{className:"hdlist1",children:w.default(d.text)},h)),l(n)]},f)})})]})},X=({sections:e,opts:a})=>{const{document:l}=C.useContext(M);if(!e||e.length===0)return null;const s=l.attributes||{},f=s.sectnumlevels,m=s.toclevels,n=(a==null?void 0:a.sectNumLevels)||(f?parseInt(f):3),d=(a==null?void 0:a.tocLevels)||(m?parseInt(m):2);return r("ul",{className:`sectlevel${e[0].level}`,children:e.map(h=>{let A=h.num;A=A==="."||A===".."?"":A;const p=h.level;let u=h.title;return p<=n&&(u=`${A} ${h.title}`),o("li",{children:[r("a",{href:`#${h.id}`,children:w.default(u)}),p<d&&r(X,{sections:h.sections,opts:{tocLevels:d,sectNumLevels:n}})]},h.id)})})},Ce=({document:e})=>{const a=()=>e.noHeader?null:r("div",{id:"header",children:e.hasHeader&&o(F,{children:[r("h1",{dangerouslySetInnerHTML:{__html:e.title}}),r(s,{}),e.sections&&e.sections.length>0&&e.attributes.toc!==void 0&&e.attributes["toc-placement"]==="auto"&&o("div",{id:"toc",className:ae(e.attributes,"toc-class","toc"),children:[r("div",{id:"toctitle",children:e.attributes["toc-title"]}),r(X,{sections:e.sections})]})]})}),l=()=>e.footnotes&&e.footnotes.length>0&&e.blocks&&!B(e.attributes,"nofootnotes")?o("div",{id:"footnotes",children:[r("hr",{}),e.footnotes.map(f=>o("div",{className:"footnote",id:`_footnotedef_${f.index}`,children:[r("a",{href:`#_footnoteref_${f.index}`,children:f.index}),"."," ",w.default(f.text||"")]},f.index))]}):null,s=()=>e.authors.length>0||B(e.attributes,"revnumber")||B(e.attributes,"revdate")||B(e.attributes,"revremark")?o("div",{className:"details",children:[e.authors.map((f,m)=>o(C.Fragment,{children:[f.name&&o(F,{children:[r("span",{id:`author${m+1>1?m+1:""}`,className:"author",children:w.default(f.name)}),r("br",{})]}),f.email&&o(F,{children:[r("span",{id:`email${m+1>1?m+1:""}`,className:"email",children:w.default(f.email)}),r("br",{})]})]},m)),B(e.attributes,"revnumber")&&r("span",{id:"revnumber",children:`${e.attributes["version-label"].toLowerCase()} ${e.attributes.revnumber}${e.attributes.revdate?",":""}`}),B(e.attributes,"revdate")&&r("span",{id:"revdate",children:e.attributes.revdate}),B(e.attributes,"revremark")&&o(F,{children:[r("br",{}),r("span",{id:"revremark",children:e.attributes.revremark})]})]}):null;return o(F,{children:[r(a,{}),r("div",{id:"content",children:r(L,{blocks:e.blocks})}),r(l,{})]})},xe=({node:e})=>{if(e.attributes.collapsible){const a=e.attributes.collapsible,l=e.title||"Details",s=e.attributes.open?!0:void 0;if(a)return o("details",{className:e.role,open:s,...e.lineNumber?{"data-lineno":e.lineNumber}:{},...e.id?{id:e.id}:{},children:[r("summary",{className:"title",children:w.default(l)}),r("div",{className:"content",children:r(L,{blocks:e.blocks})})]})}return o("div",{className:T("exampleblock",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},...e.id?{id:e.id}:{},children:[r(x,{text:e.title}),r("div",{className:"content",children:r(L,{blocks:e.blocks})})]})},ke=({node:e})=>o(F,{children:[r("a",{className:"sectionanchor",...e.id?{id:e.id}:{},...e.lineNumber?{"data-lineno":e.lineNumber}:{}}),C.createElement(`h${e.level+1}`,{className:T(e.role,e.style)},w.default(e.title||""))]}),Oe=({node:e})=>{let a=r("img",{src:e.imageUri,alt:e.attributes.alt,width:e.attributes.width,height:e.attributes.height});return e.attributes.link&&(a=r("a",{className:"image",href:e.attributes.link,children:a})),o("div",{className:`imageblock ${e.attributes.align?"text-"+e.attributes.align:""} ${e.attributes.float?e.attributes.float:""} ${e.role?e.role:""}`,...e.lineNumber?{"data-lineno":e.lineNumber}:{},style:{maxWidth:e.attributes.width,maxHeight:e.attributes.height},children:[r("div",{className:"content",children:a}),r(x,{text:e.title})]})},Pe=({node:e})=>{const{document:a}=C.useContext(M),l=e.attributes.nowrap||a.attributes.prewrap;if(e.style==="source"){const s=e.language;return o("div",{className:"listingblock",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("div",{className:"content",children:r("pre",{className:T("highlight",l?" nowrap":""),children:s?r("code",{className:s?`language-${s}`:"","data-lang":s,dangerouslySetInnerHTML:{__html:e.content||""}}):r("code",{dangerouslySetInnerHTML:{__html:e.content||""}})})})]})}else return o("div",{className:"listingblock",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("div",{className:"content",children:r("pre",{className:l?" nowrap":"",children:r("code",{dangerouslySetInnerHTML:{__html:e.source}})})})]})},Ae=({node:e})=>{const{document:a}=C.useContext(M),l=a.attributes||{},s=e.attributes.nowrap||l.prewrap===void 0;return o("div",{className:"literalblock",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("div",{className:"content",children:r("pre",{className:s?"nowrap":"",children:e.source})})]})},Ie=({node:e})=>o("div",{className:T("olist",e.role,e.style),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("ol",{className:e.style,reversed:re(e.attributes,"reversed"),...e.attributes.start?{start:parseInt(e.attributes.start)}:{},children:e.items.map((a,l)=>o("li",{className:e.role?e.role:"",children:[r("p",{children:w.default(a.text||"")}),r(L,{blocks:a.blocks})]},l))})]}),Le=({node:e})=>{const a=e.style;return a==="abstract"?o("div",{className:T("quoteblock abstract",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("blockquote",{className:"content",children:r(L,{blocks:e.blocks})})]}):o("div",{className:T("openblock",a&&a!=="open"?a:"",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("div",{className:"content",children:r(L,{blocks:e.blocks})})]})},je=()=>r("div",{style:{pageBreakAfter:"always"}}),De=({node:e})=>o("div",{...e.id?{id:e.id}:{},className:T("paragraph",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),e.content&&r("p",{dangerouslySetInnerHTML:{__html:e.content}})]}),Fe=({node:e})=>r(F,{children:w.default(e.content||"")}),Me=({node:e})=>{const{document:a}=C.useContext(M),l=a.attributes||{},s=l["toc-placement"]==="preamble"&&a.sections&&a.sections.length>0&&l.toc!==void 0;return r("div",{id:"preamble",...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:o("div",{className:"sectionbody",children:[r(L,{blocks:e.blocks}),s&&o("div",{id:"toc",className:e.attributes["toc-class"]?e.attributes["toc-class"]:"toc",children:[r("div",{id:"toctitle",children:w.default(l["toc-title"])}),a.sections&&r(X,{sections:a.sections})]})]})})},We=({node:e})=>{const a=e.attributes.attribution,l=e.attributes.citetitle;return o("div",{...e.id?{id:e.id}:{},className:T("quoteblock",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),e.content&&r("blockquote",{dangerouslySetInnerHTML:{__html:e.content}}),r(L,{blocks:e.blocks}),a&&o("div",{className:"attribution",children:["\u2014 ",a,l&&r("cite",{children:l})]})]})},Be=({node:e})=>{const{document:a}=C.useContext(M),l=a.attributes||{};let s=e.title,f=e.num;f=f==="."?"":f;const m=l.sectnumlevels?parseInt(l.sectnumlevels):3;return e.numbered&&e.level<=m&&(s=`${f} ${e.title}`),l.sectlinks&&(s=o(F,{children:[r("a",{className:"anchor",id:e.id||"",...e.lineNumber?{"data-lineno":e.lineNumber}:{}}),r("a",{className:"link",href:`#${e.id}`,dangerouslySetInnerHTML:{__html:s}})]})),e.level===0?o(F,{children:[r("h1",{className:T("sect0",e.role),"data-sectnum":f,...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:s}),r(L,{blocks:e.blocks})]}):o("div",{className:T(`sect${e.level}`,e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[C.createElement(`h${e.level+1}`,{"data-sectnum":f},s),r("div",{className:"sectionbody",children:r(L,{blocks:e.blocks})})]})},He=({node:e})=>r("div",{className:T("sidebarblock",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:o("div",{className:"content",children:[r(x,{text:e.title}),r(L,{blocks:e.blocks})]})}),Ue=({node:e})=>{const{document:a}=C.useContext(M),l=a.attributes||{};let s=["frame-"+ae(e.attributes,"frame","all","table-frame",l),"grid-"+ae(e.attributes,"grid","all","table-grid",l)],f=ae(e.attributes,"stripes",null,"table-stripes",l);f&&s.push("stripes-"+f);let m=re(e.attributes,"autowidth"),n=parseInt(e.attributes.tablepcwidth),d=null;m&&!B(e.attributes,"width")?s.push("fit-content"):n===100?s.push("stretch"):d=`${n}%`,B(e.attributes,"float")&&s.push(e.attributes.float),e.role&&s.push(e.role||"");const h=v=>T("tableblock",`halign-${v.attributes.halign}`,`valign-${v.attributes.valign}`),A=e.title,p=e.id,u=p||Nt(A||"");return o("table",{className:T("tableblock",...s),style:{width:d||void 0},...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[e.title&&o("caption",{className:"title",children:[!p&&r("a",{className:"anchor",id:u}),r("a",{href:`#${u}`,children:e.title})]}),e.columns.length>0&&r("colgroup",{children:e.columns.map((v,E)=>{const k=v.attributes.colpcwidth;return r("col",{style:{width:`${k}%`}},E)})}),e.headRows.map((v,E)=>r("thead",{children:r("tr",{children:v.map((k,I)=>r("th",{className:h(k),dangerouslySetInnerHTML:{__html:k.text}},I))})},E)),r("tbody",{children:e.bodyRows.map((v,E)=>r("tr",{children:v.map((k,I)=>{const Q=k.columnSpan,W=k.rowSpan,O=k.content,Y={colSpan:Q,rowSpan:W,className:h(k)},q=k.style;if(q==="asciidoc")return C.createElement("td",{...Y,key:I},r("div",{className:"content",dangerouslySetInnerHTML:{__html:O||""}}));if(q==="literal")return C.createElement("td",{...Y,key:I},r("div",{className:"literal",children:r("pre",{dangerouslySetInnerHTML:{__html:O||""}})}));if(q==="header")return C.createElement("th",{...Y,key:I},r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:O||""}}));{let ie=O;return C.createElement("td",{...Y,key:I},ie.length===0?"":w.default(`<p class="tableblock">${ie.join(`</p>
32
+ <p class="tableblock">`)}</p>`))}})},E))}),e.footRows.map((v,E)=>r("tfoot",{children:r("tr",{children:v.map((k,I)=>r("td",{className:h(k),children:r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:k.text}})},I))})},E))]})},Nt=e=>e.toString().normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim().replace(/\s+/g,"_").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/-$/g,""),$e=({node:e})=>{const{document:a}=C.useContext(M),l=a.attributes||{},s=a.sections&&a.sections.length>0;let f=e.id||"toc";const m=e.title?e.title:l["toc-title"],n=l["toc-placement"],d=l.toc!==void 0,h=e.attributes.levels?parseInt(e.attributes.levels):void 0;return n==="macro"&&s&&d?o("div",{id:f,className:T("toc",e.role),children:[r("div",{id:`${f}title`,className:"title",children:w.default(m||"")}),a.sections&&r(X,{sections:a.sections,opts:{tocLevels:h}})]}):null},Ye=()=>r("hr",{}),Ve=({node:e})=>{const a=re(e.attributes,"checklist");return o("div",{...e.id?{id:e.id}:{},className:T("ulist",e.style,e.role,a&&"checklist"),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),r("ul",{className:a?"checklist":"",children:e.items.map((l,s)=>a?r("li",{id:l.id,className:e.role,children:o("p",{children:[a&&l.attributes.checkbox&&r("i",{className:T("fa",l.attributes.checked?"fa-check-square-o":"fa-square-o")})," ",w.default(l.text||"")]})},s):o("li",{id:l.id,className:e.role,children:[r("p",{dangerouslySetInnerHTML:{__html:l.text||""}}),r(L,{blocks:l.blocks})]},s))})]})},ze=({node:e})=>{const a=e.attributes.attribution,l=e.attributes.citetitle;return o("div",{...e.id?{id:e.id}:{},className:T("verseblock",e.role),...e.lineNumber?{"data-lineno":e.lineNumber}:{},children:[r(x,{text:e.title}),e.content&&r("pre",{className:"content",dangerouslySetInnerHTML:{__html:e.content}}),a&&o("div",{className:"attribution",children:["\u2014 ",a,l&&r("cite",{children:l})]})]})},M=C.createContext({document:{}}),_t=({document:e,options:a})=>{const l=a&&a.customDocument;return r(M.Provider,{value:{...a,document:{attributes:e.attributes,sections:e.sections}},children:l?r(l,{document:e}):r(Ce,{document:e})})},L=({blocks:e})=>r(F,{children:e.map((a,l)=>r(Rt,{node:a},`${l}-${a.type}`))}),Rt=({node:e})=>{const{overrides:a}=C.useContext(M),l=e.type,s=a&&a[l];if(s)return r(s,{node:e});switch(l){case"audio":return r(Ee,{node:e});case"preamble":return r(Me,{node:e});case"section":return r(Be,{node:e});case"paragraph":return r(De,{node:e});case"dlist":return r(Se,{node:e});case"ulist":return r(Ve,{node:e});case"floating_title":return r(ke,{node:e});case"admonition":return r(Re,{node:e});case"listing":return r(Pe,{node:e});case"literal":return r(Ae,{node:e});case"image":return r(Oe,{node:e});case"colist":return r(we,{node:e});case"olist":return r(Ie,{node:e});case"table":return r(Ue,{node:e});case"thematic_break":return r(Ye,{});case"open":return r(Le,{node:e});case"pass":return r(Fe,{node:e});case"page_break":return r(je,{});case"example":return r(xe,{node:e});case"sidebar":return r(He,{node:e});case"quote":return r(We,{node:e});case"verse":return r(ze,{node:e});case"toc":return r($e,{node:e});default:return r(F,{})}};Object.defineProperty(g,"parse",{enumerable:!0,get:()=>w.default}),g.Admonition=Re,g.Asciidoc=_t,g.Audio=Ee,g.CoList=we,g.Content=L,g.Context=M,g.DList=Se,g.Document=Ce,g.Example=xe,g.FloatingTitle=ke,g.Image=Oe,g.Listing=Pe,g.Literal=Ae,g.OList=Ie,g.Open=Le,g.Outline=X,g.PageBreak=je,g.Paragraph=De,g.Pass=Fe,g.Preamble=Me,g.Quote=We,g.Section=Be,g.Sidebar=He,g.Table=Ue,g.TableOfContents=$e,g.ThematicBreak=Ye,g.Title=x,g.UList=Ve,g.Verse=ze,g.prepareDocument=yt,Object.defineProperties(g,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -3,7 +3,7 @@ import parse from 'html-react-parser';
3
3
  import { Admonition, Audio, CoList, DList, Document, Example, FloatingTitle, Image, Listing, Literal, OList, Open, PageBreak, Paragraph, Pass, Preamble, Quote, Section, Sidebar, Table, TableOfContents, ThematicBreak, UList, Verse } from './templates';
4
4
  import { Title } from './templates/util';
5
5
  import { prepareDocument } from './utils/prepareDocument';
6
- import { DocumentBlock, DocumentSection, Block as PreparedBlock } from './utils/prepareDocument';
6
+ import { Block, DocumentBlock, DocumentSection } from './utils/prepareDocument';
7
7
  type Overrides = {
8
8
  admonition?: typeof Admonition;
9
9
  audio?: typeof Audio;
@@ -43,8 +43,7 @@ declare const Asciidoc: ({ document, options, }: {
43
43
  options?: Options | undefined;
44
44
  }) => JSX.Element;
45
45
  declare const Content: ({ blocks }: {
46
- blocks: PreparedBlock[];
46
+ blocks: Block[];
47
47
  }) => JSX.Element;
48
- export default Asciidoc;
49
- export { Content, prepareDocument, Title, parse };
48
+ export { Asciidoc, Content, prepareDocument, Title, parse };
50
49
  export * from './templates';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxide/react-asciidoc",
3
- "version": "0.2.9--canary.cf652b0.0",
3
+ "version": "0.2.9--canary.a42ac0e.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],