@quartz-community/github-flavored-markdown 1.0.0 → 2.1.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.
package/dist/index.js CHANGED
@@ -80,19 +80,19 @@ var require_extend = __commonJS({
80
80
  module.exports = function extend2() {
81
81
  var options, name, src, copy, copyIsArray, clone2;
82
82
  var target = arguments[0];
83
- var i = 1;
83
+ var i2 = 1;
84
84
  var length = arguments.length;
85
85
  var deep = false;
86
86
  if (typeof target === "boolean") {
87
87
  deep = target;
88
88
  target = arguments[1] || {};
89
- i = 2;
89
+ i2 = 2;
90
90
  }
91
91
  if (target == null || typeof target !== "object" && typeof target !== "function") {
92
92
  target = {};
93
93
  }
94
- for (; i < length; ++i) {
95
- options = arguments[i];
94
+ for (; i2 < length; ++i2) {
95
+ options = arguments[i2];
96
96
  if (options != null) {
97
97
  for (name in options) {
98
98
  src = getProperty(target, name);
@@ -125,10 +125,10 @@ function ccount(value, character) {
125
125
  throw new TypeError("Expected character");
126
126
  }
127
127
  let count = 0;
128
- let index2 = source.indexOf(character);
129
- while (index2 !== -1) {
128
+ let index3 = source.indexOf(character);
129
+ while (index3 !== -1) {
130
130
  count++;
131
- index2 = source.indexOf(character, index2 + character.length);
131
+ index3 = source.indexOf(character, index3 + character.length);
132
132
  }
133
133
  return count;
134
134
  }
@@ -213,16 +213,16 @@ var convert = (
213
213
  })
214
214
  );
215
215
  function anyFactory(tests) {
216
- const checks = [];
217
- let index2 = -1;
218
- while (++index2 < tests.length) {
219
- checks[index2] = convert(tests[index2]);
216
+ const checks2 = [];
217
+ let index3 = -1;
218
+ while (++index3 < tests.length) {
219
+ checks2[index3] = convert(tests[index3]);
220
220
  }
221
221
  return castFactory(any);
222
222
  function any(...parameters) {
223
- let index3 = -1;
224
- while (++index3 < checks.length) {
225
- if (checks[index3].apply(this, parameters)) return true;
223
+ let index4 = -1;
224
+ while (++index4 < checks2.length) {
225
+ if (checks2[index4].apply(this, parameters)) return true;
226
226
  }
227
227
  return false;
228
228
  }
@@ -232,8 +232,8 @@ function propertiesFactory(check2) {
232
232
  /** @type {Record<string, unknown>} */
233
233
  check2
234
234
  );
235
- return castFactory(all3);
236
- function all3(node2) {
235
+ return castFactory(all2);
236
+ function all2(node2) {
237
237
  const nodeAsRecord = (
238
238
  /** @type {Record<string, unknown>} */
239
239
  /** @type {unknown} */
@@ -254,12 +254,12 @@ function typeFactory(check2) {
254
254
  }
255
255
  function castFactory(testFunction) {
256
256
  return check2;
257
- function check2(value, index2, parent) {
257
+ function check2(value, index3, parent) {
258
258
  return Boolean(
259
259
  looksLikeANode(value) && testFunction.call(
260
260
  this,
261
261
  value,
262
- typeof index2 === "number" ? index2 : void 0,
262
+ typeof index3 === "number" ? index3 : void 0,
263
263
  parent || void 0
264
264
  )
265
265
  );
@@ -273,8 +273,8 @@ function looksLikeANode(value) {
273
273
  }
274
274
 
275
275
  // node_modules/unist-util-visit-parents/lib/color.node.js
276
- function color(d) {
277
- return "\x1B[33m" + d + "\x1B[39m";
276
+ function color(d2) {
277
+ return "\x1B[33m" + d2 + "\x1B[39m";
278
278
  }
279
279
 
280
280
  // node_modules/unist-util-visit-parents/lib/index.js
@@ -293,7 +293,7 @@ function visitParents(tree, test, visitor, reverse) {
293
293
  const is2 = convert(check2);
294
294
  const step = reverse ? -1 : 1;
295
295
  factory(tree, void 0, [])();
296
- function factory(node2, index2, parents) {
296
+ function factory(node2, index3, parents) {
297
297
  const value = (
298
298
  /** @type {Record<string, unknown>} */
299
299
  node2 && typeof node2 === "object" ? node2 : {}
@@ -316,7 +316,7 @@ function visitParents(tree, test, visitor, reverse) {
316
316
  let subresult;
317
317
  let offset;
318
318
  let grandparents;
319
- if (!test || is2(node2, index2, parents[parents.length - 1] || void 0)) {
319
+ if (!test || is2(node2, index3, parents[parents.length - 1] || void 0)) {
320
320
  result = toResult(visitor(node2, parents));
321
321
  if (result[0] === EXIT) {
322
322
  return result;
@@ -364,10 +364,10 @@ function findAndReplace(tree, list2, options) {
364
364
  visitParents(tree, "text", visitor);
365
365
  }
366
366
  function visitor(node2, parents) {
367
- let index2 = -1;
367
+ let index3 = -1;
368
368
  let grandparent;
369
- while (++index2 < parents.length) {
370
- const parent = parents[index2];
369
+ while (++index3 < parents.length) {
370
+ const parent = parents[index3];
371
371
  const siblings = grandparent ? grandparent.children : void 0;
372
372
  if (ignored(
373
373
  parent,
@@ -388,13 +388,13 @@ function findAndReplace(tree, list2, options) {
388
388
  const replace2 = pairs[pairIndex][1];
389
389
  let start = 0;
390
390
  const siblings = parent.children;
391
- const index2 = siblings.indexOf(node2);
391
+ const index3 = siblings.indexOf(node2);
392
392
  let change = false;
393
393
  let nodes = [];
394
394
  find.lastIndex = 0;
395
395
  let match = find.exec(node2.value);
396
396
  while (match) {
397
- const position2 = match.index;
397
+ const position3 = match.index;
398
398
  const matchObject = {
399
399
  index: match.index,
400
400
  input: match.input,
@@ -405,12 +405,12 @@ function findAndReplace(tree, list2, options) {
405
405
  value = value.length > 0 ? { type: "text", value } : void 0;
406
406
  }
407
407
  if (value === false) {
408
- find.lastIndex = position2 + 1;
408
+ find.lastIndex = position3 + 1;
409
409
  } else {
410
- if (start !== position2) {
410
+ if (start !== position3) {
411
411
  nodes.push({
412
412
  type: "text",
413
- value: node2.value.slice(start, position2)
413
+ value: node2.value.slice(start, position3)
414
414
  });
415
415
  }
416
416
  if (Array.isArray(value)) {
@@ -418,7 +418,7 @@ function findAndReplace(tree, list2, options) {
418
418
  } else if (value) {
419
419
  nodes.push(value);
420
420
  }
421
- start = position2 + match[0].length;
421
+ start = position3 + match[0].length;
422
422
  change = true;
423
423
  }
424
424
  if (!find.global) {
@@ -430,11 +430,11 @@ function findAndReplace(tree, list2, options) {
430
430
  if (start < node2.value.length) {
431
431
  nodes.push({ type: "text", value: node2.value.slice(start) });
432
432
  }
433
- parent.children.splice(index2, 1, ...nodes);
433
+ parent.children.splice(index3, 1, ...nodes);
434
434
  } else {
435
435
  nodes = [node2];
436
436
  }
437
- return index2 + nodes.length;
437
+ return index3 + nodes.length;
438
438
  }
439
439
  }
440
440
  function toPairs(tupleOrList) {
@@ -443,9 +443,9 @@ function toPairs(tupleOrList) {
443
443
  throw new TypeError("Expected find and replace tuple or list of tuples");
444
444
  }
445
445
  const list2 = !tupleOrList[0] || Array.isArray(tupleOrList[0]) ? tupleOrList : [tupleOrList];
446
- let index2 = -1;
447
- while (++index2 < list2.length) {
448
- const tuple = list2[index2];
446
+ let index3 = -1;
447
+ while (++index3 < list2.length) {
448
+ const tuple = list2[index3];
449
449
  result.push([toExpression(tuple[0]), toFunction(tuple[1])]);
450
450
  }
451
451
  return result;
@@ -537,7 +537,7 @@ function transformGfmAutolinkLiterals(tree) {
537
537
  { ignore: ["link", "linkReference"] }
538
538
  );
539
539
  }
540
- function findUrl(_, protocol, domain2, path2, match) {
540
+ function findUrl(_2, protocol, domain2, path2, match) {
541
541
  let prefix = "";
542
542
  if (!previous(match)) {
543
543
  return false;
@@ -563,7 +563,7 @@ function findUrl(_, protocol, domain2, path2, match) {
563
563
  }
564
564
  return result;
565
565
  }
566
- function findEmail(_, atext, label, match) {
566
+ function findEmail(_2, atext, label, match) {
567
567
  if (
568
568
  // Not an expected previous character.
569
569
  !previous(match, true) || // Label ends in not allowed character.
@@ -658,7 +658,7 @@ function exitFootnoteDefinition(token) {
658
658
  function footnoteReferencePeek() {
659
659
  return "[";
660
660
  }
661
- function footnoteReference(node2, _, state, info) {
661
+ function footnoteReference(node2, _2, state, info) {
662
662
  const tracker = state.createTracker(info);
663
663
  let value = tracker.move("[^");
664
664
  const exit2 = state.enter("footnoteReference");
@@ -697,7 +697,7 @@ function gfmFootnoteToMarkdown(options) {
697
697
  // This is on by default already.
698
698
  unsafe: [{ character: "[", inConstruct: ["label", "phrasing", "reference"] }]
699
699
  };
700
- function footnoteDefinition(node2, _, state, info) {
700
+ function footnoteDefinition(node2, _2, state, info) {
701
701
  const tracker = state.createTracker(info);
702
702
  let value = tracker.move("[^");
703
703
  const exit2 = state.enter("footnoteDefinition");
@@ -720,10 +720,10 @@ function gfmFootnoteToMarkdown(options) {
720
720
  return value;
721
721
  }
722
722
  }
723
- function mapExceptFirst(line, index2, blank) {
724
- return index2 === 0 ? line : mapAll(line, index2, blank);
723
+ function mapExceptFirst(line, index3, blank) {
724
+ return index3 === 0 ? line : mapAll(line, index3, blank);
725
725
  }
726
- function mapAll(line, index2, blank) {
726
+ function mapAll(line, index3, blank) {
727
727
  return (blank ? "" : " ") + line;
728
728
  }
729
729
 
@@ -762,7 +762,7 @@ function enterStrikethrough(token) {
762
762
  function exitStrikethrough(token) {
763
763
  this.exit(token);
764
764
  }
765
- function handleDelete(node2, _, state, info) {
765
+ function handleDelete(node2, _2, state, info) {
766
766
  const tracker = state.createTracker(info);
767
767
  const exit2 = state.enter("strikethrough");
768
768
  let value = tracker.move("~~");
@@ -921,7 +921,7 @@ function toAlignment(value) {
921
921
  }
922
922
 
923
923
  // node_modules/mdast-util-to-markdown/lib/handle/blockquote.js
924
- function blockquote(node2, _, state, info) {
924
+ function blockquote(node2, _2, state, info) {
925
925
  const exit2 = state.enter("blockquote");
926
926
  const tracker = state.createTracker(info);
927
927
  tracker.move("> ");
@@ -933,7 +933,7 @@ function blockquote(node2, _, state, info) {
933
933
  exit2();
934
934
  return value;
935
935
  }
936
- function map(line, _, blank) {
936
+ function map(line, _2, blank) {
937
937
  return ">" + (blank ? "" : " ") + line;
938
938
  }
939
939
 
@@ -948,9 +948,9 @@ function listInScope(stack, list2, none) {
948
948
  if (!list2 || list2.length === 0) {
949
949
  return none;
950
950
  }
951
- let index2 = -1;
952
- while (++index2 < list2.length) {
953
- if (stack.includes(list2[index2])) {
951
+ let index3 = -1;
952
+ while (++index3 < list2.length) {
953
+ if (stack.includes(list2[index3])) {
954
954
  return true;
955
955
  }
956
956
  }
@@ -958,10 +958,10 @@ function listInScope(stack, list2, none) {
958
958
  }
959
959
 
960
960
  // node_modules/mdast-util-to-markdown/lib/handle/break.js
961
- function hardBreak(_, _1, state, info) {
962
- let index2 = -1;
963
- while (++index2 < state.unsafe.length) {
964
- if (state.unsafe[index2].character === "\n" && patternInScope(state.stack, state.unsafe[index2])) {
961
+ function hardBreak(_2, _1, state, info) {
962
+ let index3 = -1;
963
+ while (++index3 < state.unsafe.length) {
964
+ if (state.unsafe[index3].character === "\n" && patternInScope(state.stack, state.unsafe[index3])) {
965
965
  return /[ \t]/.test(info.before) ? "" : " ";
966
966
  }
967
967
  }
@@ -971,23 +971,23 @@ function hardBreak(_, _1, state, info) {
971
971
  // node_modules/longest-streak/index.js
972
972
  function longestStreak(value, substring) {
973
973
  const source = String(value);
974
- let index2 = source.indexOf(substring);
975
- let expected = index2;
974
+ let index3 = source.indexOf(substring);
975
+ let expected = index3;
976
976
  let count = 0;
977
977
  let max = 0;
978
978
  if (typeof substring !== "string") {
979
979
  throw new TypeError("Expected substring");
980
980
  }
981
- while (index2 !== -1) {
982
- if (index2 === expected) {
981
+ while (index3 !== -1) {
982
+ if (index3 === expected) {
983
983
  if (++count > max) {
984
984
  max = count;
985
985
  }
986
986
  } else {
987
987
  count = 1;
988
988
  }
989
- expected = index2 + substring.length;
990
- index2 = source.indexOf(substring, expected);
989
+ expected = index3 + substring.length;
990
+ index3 = source.indexOf(substring, expected);
991
991
  }
992
992
  return max;
993
993
  }
@@ -1014,7 +1014,7 @@ function checkFence(state) {
1014
1014
  }
1015
1015
 
1016
1016
  // node_modules/mdast-util-to-markdown/lib/handle/code.js
1017
- function code(node2, _, state, info) {
1017
+ function code(node2, _2, state, info) {
1018
1018
  const marker = checkFence(state);
1019
1019
  const raw = node2.value || "";
1020
1020
  const suffix = marker === "`" ? "GraveAccent" : "Tilde";
@@ -1061,7 +1061,7 @@ function code(node2, _, state, info) {
1061
1061
  exit2();
1062
1062
  return value;
1063
1063
  }
1064
- function map2(line, _, blank) {
1064
+ function map2(line, _2, blank) {
1065
1065
  return (blank ? "" : " ") + line;
1066
1066
  }
1067
1067
 
@@ -1077,7 +1077,7 @@ function checkQuote(state) {
1077
1077
  }
1078
1078
 
1079
1079
  // node_modules/mdast-util-to-markdown/lib/handle/definition.js
1080
- function definition(node2, _, state, info) {
1080
+ function definition(node2, _2, state, info) {
1081
1081
  const quote = checkQuote(state);
1082
1082
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1083
1083
  const exit2 = state.enter("definition");
@@ -1202,7 +1202,7 @@ function encodeInfo(outside, inside, marker) {
1202
1202
 
1203
1203
  // node_modules/mdast-util-to-markdown/lib/handle/emphasis.js
1204
1204
  emphasis.peek = emphasisPeek;
1205
- function emphasis(node2, _, state, info) {
1205
+ function emphasis(node2, _2, state, info) {
1206
1206
  const marker = checkEmphasis(state);
1207
1207
  const exit2 = state.enter("emphasis");
1208
1208
  const tracker = state.createTracker(info);
@@ -1236,7 +1236,7 @@ function emphasis(node2, _, state, info) {
1236
1236
  };
1237
1237
  return before + between + after;
1238
1238
  }
1239
- function emphasisPeek(_, _1, state) {
1239
+ function emphasisPeek(_2, _1, state) {
1240
1240
  return state.options.emphasis || "*";
1241
1241
  }
1242
1242
 
@@ -1257,8 +1257,8 @@ function visit(tree, testOrVisitor, visitorOrReverse, maybeReverse) {
1257
1257
  visitParents(tree, test, overload, reverse);
1258
1258
  function overload(node2, parents) {
1259
1259
  const parent = parents[parents.length - 1];
1260
- const index2 = parent ? parent.children.indexOf(node2) : void 0;
1261
- return visitor(node2, index2, parent);
1260
+ const index3 = parent ? parent.children.indexOf(node2) : void 0;
1261
+ return visitor(node2, index3, parent);
1262
1262
  }
1263
1263
  }
1264
1264
 
@@ -1289,9 +1289,9 @@ function one(value, includeImageAlt, includeHtml) {
1289
1289
  }
1290
1290
  function all(values, includeImageAlt, includeHtml) {
1291
1291
  const result = [];
1292
- let index2 = -1;
1293
- while (++index2 < values.length) {
1294
- result[index2] = one(values[index2], includeImageAlt, includeHtml);
1292
+ let index3 = -1;
1293
+ while (++index3 < values.length) {
1294
+ result[index3] = one(values[index3], includeImageAlt, includeHtml);
1295
1295
  }
1296
1296
  return result.join("");
1297
1297
  }
@@ -1314,7 +1314,7 @@ function formatHeadingAsSetext(node2, state) {
1314
1314
  }
1315
1315
 
1316
1316
  // node_modules/mdast-util-to-markdown/lib/handle/heading.js
1317
- function heading(node2, _, state, info) {
1317
+ function heading(node2, _2, state, info) {
1318
1318
  const rank = Math.max(Math.min(6, node2.depth || 1), 1);
1319
1319
  const tracker = state.createTracker(info);
1320
1320
  if (formatHeadingAsSetext(node2, state)) {
@@ -1366,7 +1366,7 @@ function htmlPeek() {
1366
1366
 
1367
1367
  // node_modules/mdast-util-to-markdown/lib/handle/image.js
1368
1368
  image.peek = imagePeek;
1369
- function image(node2, _, state, info) {
1369
+ function image(node2, _2, state, info) {
1370
1370
  const quote = checkQuote(state);
1371
1371
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1372
1372
  const exit2 = state.enter("image");
@@ -1423,7 +1423,7 @@ function imagePeek() {
1423
1423
 
1424
1424
  // node_modules/mdast-util-to-markdown/lib/handle/image-reference.js
1425
1425
  imageReference.peek = imageReferencePeek;
1426
- function imageReference(node2, _, state, info) {
1426
+ function imageReference(node2, _2, state, info) {
1427
1427
  const type = node2.referenceType;
1428
1428
  const exit2 = state.enter("imageReference");
1429
1429
  let subexit = state.enter("label");
@@ -1462,27 +1462,27 @@ function imageReferencePeek() {
1462
1462
 
1463
1463
  // node_modules/mdast-util-to-markdown/lib/handle/inline-code.js
1464
1464
  inlineCode.peek = inlineCodePeek;
1465
- function inlineCode(node2, _, state) {
1465
+ function inlineCode(node2, _2, state) {
1466
1466
  let value = node2.value || "";
1467
1467
  let sequence = "`";
1468
- let index2 = -1;
1468
+ let index3 = -1;
1469
1469
  while (new RegExp("(^|[^`])" + sequence + "([^`]|$)").test(value)) {
1470
1470
  sequence += "`";
1471
1471
  }
1472
1472
  if (/[^ \r\n]/.test(value) && (/^[ \r\n]/.test(value) && /[ \r\n]$/.test(value) || /^`|`$/.test(value))) {
1473
1473
  value = " " + value + " ";
1474
1474
  }
1475
- while (++index2 < state.unsafe.length) {
1476
- const pattern = state.unsafe[index2];
1475
+ while (++index3 < state.unsafe.length) {
1476
+ const pattern = state.unsafe[index3];
1477
1477
  const expression = state.compilePattern(pattern);
1478
1478
  let match;
1479
1479
  if (!pattern.atBreak) continue;
1480
1480
  while (match = expression.exec(value)) {
1481
- let position2 = match.index;
1482
- if (value.charCodeAt(position2) === 10 && value.charCodeAt(position2 - 1) === 13) {
1483
- position2--;
1481
+ let position3 = match.index;
1482
+ if (value.charCodeAt(position3) === 10 && value.charCodeAt(position3 - 1) === 13) {
1483
+ position3--;
1484
1484
  }
1485
- value = value.slice(0, position2) + " " + value.slice(match.index + 1);
1485
+ value = value.slice(0, position3) + " " + value.slice(match.index + 1);
1486
1486
  }
1487
1487
  }
1488
1488
  return sequence + value + sequence;
@@ -1508,7 +1508,7 @@ function formatLinkAsAutolink(node2, state) {
1508
1508
 
1509
1509
  // node_modules/mdast-util-to-markdown/lib/handle/link.js
1510
1510
  link.peek = linkPeek;
1511
- function link(node2, _, state, info) {
1511
+ function link(node2, _2, state, info) {
1512
1512
  const quote = checkQuote(state);
1513
1513
  const suffix = quote === '"' ? "Quote" : "Apostrophe";
1514
1514
  const tracker = state.createTracker(info);
@@ -1582,13 +1582,13 @@ function link(node2, _, state, info) {
1582
1582
  exit2();
1583
1583
  return value;
1584
1584
  }
1585
- function linkPeek(node2, _, state) {
1585
+ function linkPeek(node2, _2, state) {
1586
1586
  return formatLinkAsAutolink(node2, state) ? "<" : "[";
1587
1587
  }
1588
1588
 
1589
1589
  // node_modules/mdast-util-to-markdown/lib/handle/link-reference.js
1590
1590
  linkReference.peek = linkReferencePeek;
1591
- function linkReference(node2, _, state, info) {
1591
+ function linkReference(node2, _2, state, info) {
1592
1592
  const type = node2.referenceType;
1593
1593
  const exit2 = state.enter("linkReference");
1594
1594
  let subexit = state.enter("label");
@@ -1697,9 +1697,9 @@ function list(node2, parent, state, info) {
1697
1697
  useDifferentMarker = true;
1698
1698
  }
1699
1699
  if (checkRule(state) === bullet && firstListItem) {
1700
- let index2 = -1;
1701
- while (++index2 < node2.children.length) {
1702
- const item = node2.children[index2];
1700
+ let index3 = -1;
1701
+ while (++index3 < node2.children.length) {
1702
+ const item = node2.children[index3];
1703
1703
  if (item && item.type === "listItem" && item.children && item.children[0] && item.children[0].type === "thematicBreak") {
1704
1704
  useDifferentMarker = true;
1705
1705
  break;
@@ -1750,8 +1750,8 @@ function listItem(node2, parent, state, info) {
1750
1750
  );
1751
1751
  exit2();
1752
1752
  return value;
1753
- function map3(line, index2, blank) {
1754
- if (index2) {
1753
+ function map3(line, index3, blank) {
1754
+ if (index3) {
1755
1755
  return (blank ? "" : " ".repeat(size)) + line;
1756
1756
  }
1757
1757
  return (blank ? bullet : bullet + " ".repeat(size - bullet.length)) + line;
@@ -1759,7 +1759,7 @@ function listItem(node2, parent, state, info) {
1759
1759
  }
1760
1760
 
1761
1761
  // node_modules/mdast-util-to-markdown/lib/handle/paragraph.js
1762
- function paragraph(node2, _, state, info) {
1762
+ function paragraph(node2, _2, state, info) {
1763
1763
  const exit2 = state.enter("paragraph");
1764
1764
  const subexit = state.enter("phrasing");
1765
1765
  const value = state.containerPhrasing(node2, info);
@@ -1797,9 +1797,9 @@ var phrasing = (
1797
1797
  );
1798
1798
 
1799
1799
  // node_modules/mdast-util-to-markdown/lib/handle/root.js
1800
- function root(node2, _, state, info) {
1801
- const hasPhrasing = node2.children.some(function(d) {
1802
- return phrasing(d);
1800
+ function root(node2, _2, state, info) {
1801
+ const hasPhrasing = node2.children.some(function(d2) {
1802
+ return phrasing(d2);
1803
1803
  });
1804
1804
  const container = hasPhrasing ? state.containerPhrasing : state.containerFlow;
1805
1805
  return container.call(state, node2, info);
@@ -1818,7 +1818,7 @@ function checkStrong(state) {
1818
1818
 
1819
1819
  // node_modules/mdast-util-to-markdown/lib/handle/strong.js
1820
1820
  strong.peek = strongPeek;
1821
- function strong(node2, _, state, info) {
1821
+ function strong(node2, _2, state, info) {
1822
1822
  const marker = checkStrong(state);
1823
1823
  const exit2 = state.enter("strong");
1824
1824
  const tracker = state.createTracker(info);
@@ -1852,12 +1852,12 @@ function strong(node2, _, state, info) {
1852
1852
  };
1853
1853
  return before + between + after;
1854
1854
  }
1855
- function strongPeek(_, _1, state) {
1855
+ function strongPeek(_2, _1, state) {
1856
1856
  return state.options.strong || "*";
1857
1857
  }
1858
1858
 
1859
1859
  // node_modules/mdast-util-to-markdown/lib/handle/text.js
1860
- function text(node2, _, state, info) {
1860
+ function text(node2, _2, state, info) {
1861
1861
  return state.safe(node2.value, info);
1862
1862
  }
1863
1863
 
@@ -1873,7 +1873,7 @@ function checkRuleRepetition(state) {
1873
1873
  }
1874
1874
 
1875
1875
  // node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js
1876
- function thematicBreak(_, _1, state) {
1876
+ function thematicBreak(_2, _1, state) {
1877
1877
  const value = (checkRule(state) + (state.options.ruleSpaces ? " " : "")).repeat(checkRuleRepetition(state));
1878
1878
  return state.options.ruleSpaces ? value.slice(0, -1) : value;
1879
1879
  }
@@ -1925,8 +1925,8 @@ function enterTable(token) {
1925
1925
  this.enter(
1926
1926
  {
1927
1927
  type: "table",
1928
- align: align.map(function(d) {
1929
- return d === "none" ? null : d;
1928
+ align: align.map(function(d2) {
1929
+ return d2 === "none" ? null : d2;
1930
1930
  }),
1931
1931
  children: []
1932
1932
  },
@@ -1992,15 +1992,15 @@ function gfmTableToMarkdown(options) {
1992
1992
  tableRow: handleTableRow
1993
1993
  }
1994
1994
  };
1995
- function handleTable(node2, _, state, info) {
1995
+ function handleTable(node2, _2, state, info) {
1996
1996
  return serializeData(handleTableAsData(node2, state, info), node2.align);
1997
1997
  }
1998
- function handleTableRow(node2, _, state, info) {
1998
+ function handleTableRow(node2, _2, state, info) {
1999
1999
  const row = handleTableRowAsData(node2, state, info);
2000
2000
  const value = serializeData([row]);
2001
2001
  return value.slice(0, value.indexOf("\n"));
2002
2002
  }
2003
- function handleTableCell(node2, _, state, info) {
2003
+ function handleTableCell(node2, _2, state, info) {
2004
2004
  const exit2 = state.enter("tableCell");
2005
2005
  const subexit = state.enter("phrasing");
2006
2006
  const value = state.containerPhrasing(node2, {
@@ -2025,22 +2025,22 @@ function gfmTableToMarkdown(options) {
2025
2025
  }
2026
2026
  function handleTableAsData(node2, state, info) {
2027
2027
  const children = node2.children;
2028
- let index2 = -1;
2028
+ let index3 = -1;
2029
2029
  const result = [];
2030
2030
  const subexit = state.enter("table");
2031
- while (++index2 < children.length) {
2032
- result[index2] = handleTableRowAsData(children[index2], state, info);
2031
+ while (++index3 < children.length) {
2032
+ result[index3] = handleTableRowAsData(children[index3], state, info);
2033
2033
  }
2034
2034
  subexit();
2035
2035
  return result;
2036
2036
  }
2037
2037
  function handleTableRowAsData(node2, state, info) {
2038
2038
  const children = node2.children;
2039
- let index2 = -1;
2039
+ let index3 = -1;
2040
2040
  const result = [];
2041
2041
  const subexit = state.enter("tableRow");
2042
- while (++index2 < children.length) {
2043
- result[index2] = handleTableCell(children[index2], node2, state, info);
2042
+ while (++index3 < children.length) {
2043
+ result[index3] = handleTableCell(children[index3], node2, state, info);
2044
2044
  }
2045
2045
  subexit();
2046
2046
  return result;
@@ -2083,10 +2083,10 @@ function exitParagraphWithTaskListItem(token) {
2083
2083
  const head = node2.children[0];
2084
2084
  if (head && head.type === "text") {
2085
2085
  const siblings = parent.children;
2086
- let index2 = -1;
2086
+ let index3 = -1;
2087
2087
  let firstParaghraph;
2088
- while (++index2 < siblings.length) {
2089
- const sibling = siblings[index2];
2088
+ while (++index3 < siblings.length) {
2089
+ const sibling = siblings[index3];
2090
2090
  if (sibling.type === "paragraph") {
2091
2091
  firstParaghraph = sibling;
2092
2092
  break;
@@ -2179,18 +2179,18 @@ function splice(list2, start, remove, items) {
2179
2179
  // node_modules/micromark-util-combine-extensions/index.js
2180
2180
  var hasOwnProperty = {}.hasOwnProperty;
2181
2181
  function combineExtensions(extensions) {
2182
- const all3 = {};
2183
- let index2 = -1;
2184
- while (++index2 < extensions.length) {
2185
- syntaxExtension(all3, extensions[index2]);
2182
+ const all2 = {};
2183
+ let index3 = -1;
2184
+ while (++index3 < extensions.length) {
2185
+ syntaxExtension(all2, extensions[index3]);
2186
2186
  }
2187
- return all3;
2187
+ return all2;
2188
2188
  }
2189
- function syntaxExtension(all3, extension) {
2189
+ function syntaxExtension(all2, extension) {
2190
2190
  let hook;
2191
2191
  for (hook in extension) {
2192
- const maybe = hasOwnProperty.call(all3, hook) ? all3[hook] : void 0;
2193
- const left = maybe || (all3[hook] = {});
2192
+ const maybe = hasOwnProperty.call(all2, hook) ? all2[hook] : void 0;
2193
+ const left = maybe || (all2[hook] = {});
2194
2194
  const right = extension[hook];
2195
2195
  let code3;
2196
2196
  if (right) {
@@ -2207,10 +2207,10 @@ function syntaxExtension(all3, extension) {
2207
2207
  }
2208
2208
  }
2209
2209
  function constructs(existing, list2) {
2210
- let index2 = -1;
2210
+ let index3 = -1;
2211
2211
  const before = [];
2212
- while (++index2 < list2.length) {
2213
- (list2[index2].add === "after" ? existing : before).push(list2[index2]);
2212
+ while (++index3 < list2.length) {
2213
+ (list2[index3].add === "after" ? existing : before).push(list2[index3]);
2214
2214
  }
2215
2215
  splice(existing, 0, 0, before);
2216
2216
  }
@@ -2538,10 +2538,10 @@ function gfmAtext(code3) {
2538
2538
  return code3 === 43 || code3 === 45 || code3 === 46 || code3 === 95 || asciiAlphanumeric(code3);
2539
2539
  }
2540
2540
  function previousUnbalanced(events) {
2541
- let index2 = events.length;
2541
+ let index3 = events.length;
2542
2542
  let result = false;
2543
- while (index2--) {
2544
- const token = events[index2][1];
2543
+ while (index3--) {
2544
+ const token = events[index3][1];
2545
2545
  if ((token.type === "labelLink" || token.type === "labelImage") && !token._balanced) {
2546
2546
  result = true;
2547
2547
  break;
@@ -2560,9 +2560,9 @@ function previousUnbalanced(events) {
2560
2560
  // node_modules/micromark-util-resolve-all/index.js
2561
2561
  function resolveAll(constructs2, events, context) {
2562
2562
  const called = [];
2563
- let index2 = -1;
2564
- while (++index2 < constructs2.length) {
2565
- const resolve = constructs2[index2].resolveAll;
2563
+ let index3 = -1;
2564
+ while (++index3 < constructs2.length) {
2565
+ const resolve = constructs2[index3].resolveAll;
2566
2566
  if (resolve && !called.includes(resolve)) {
2567
2567
  events = resolve(events, context);
2568
2568
  called.push(resolve);
@@ -2641,11 +2641,11 @@ function gfmFootnote() {
2641
2641
  }
2642
2642
  function tokenizePotentialGfmFootnoteCall(effects, ok3, nok) {
2643
2643
  const self2 = this;
2644
- let index2 = self2.events.length;
2644
+ let index3 = self2.events.length;
2645
2645
  const defined = self2.parser.gfmFootnotes || (self2.parser.gfmFootnotes = []);
2646
2646
  let labelStart;
2647
- while (index2--) {
2648
- const token = self2.events[index2][1];
2647
+ while (index3--) {
2648
+ const token = self2.events[index3][1];
2649
2649
  if (token.type === "labelImage") {
2650
2650
  labelStart = token;
2651
2651
  break;
@@ -2673,24 +2673,24 @@ function tokenizePotentialGfmFootnoteCall(effects, ok3, nok) {
2673
2673
  }
2674
2674
  }
2675
2675
  function resolveToPotentialGfmFootnoteCall(events, context) {
2676
- let index2 = events.length;
2677
- while (index2--) {
2678
- if (events[index2][1].type === "labelImage" && events[index2][0] === "enter") {
2679
- events[index2][1];
2676
+ let index3 = events.length;
2677
+ while (index3--) {
2678
+ if (events[index3][1].type === "labelImage" && events[index3][0] === "enter") {
2679
+ events[index3][1];
2680
2680
  break;
2681
2681
  }
2682
2682
  }
2683
- events[index2 + 1][1].type = "data";
2684
- events[index2 + 3][1].type = "gfmFootnoteCallLabelMarker";
2683
+ events[index3 + 1][1].type = "data";
2684
+ events[index3 + 3][1].type = "gfmFootnoteCallLabelMarker";
2685
2685
  const call = {
2686
2686
  type: "gfmFootnoteCall",
2687
- start: Object.assign({}, events[index2 + 3][1].start),
2687
+ start: Object.assign({}, events[index3 + 3][1].start),
2688
2688
  end: Object.assign({}, events[events.length - 1][1].end)
2689
2689
  };
2690
2690
  const marker = {
2691
2691
  type: "gfmFootnoteCallMarker",
2692
- start: Object.assign({}, events[index2 + 3][1].end),
2693
- end: Object.assign({}, events[index2 + 3][1].end)
2692
+ start: Object.assign({}, events[index3 + 3][1].end),
2693
+ end: Object.assign({}, events[index3 + 3][1].end)
2694
2694
  };
2695
2695
  marker.end.column++;
2696
2696
  marker.end.offset++;
@@ -2708,12 +2708,12 @@ function resolveToPotentialGfmFootnoteCall(events, context) {
2708
2708
  };
2709
2709
  const replacement = [
2710
2710
  // Take the `labelImageMarker` (now `data`, the `!`)
2711
- events[index2 + 1],
2712
- events[index2 + 2],
2711
+ events[index3 + 1],
2712
+ events[index3 + 2],
2713
2713
  ["enter", call, context],
2714
2714
  // The `[`
2715
- events[index2 + 3],
2716
- events[index2 + 4],
2715
+ events[index3 + 3],
2716
+ events[index3 + 4],
2717
2717
  // The `^`.
2718
2718
  ["enter", marker, context],
2719
2719
  ["exit", marker, context],
@@ -2727,7 +2727,7 @@ function resolveToPotentialGfmFootnoteCall(events, context) {
2727
2727
  events[events.length - 1],
2728
2728
  ["exit", call, context]
2729
2729
  ];
2730
- events.splice(index2, events.length - index2 + 1, ...replacement);
2730
+ events.splice(index3, events.length - index3 + 1, ...replacement);
2731
2731
  return events;
2732
2732
  }
2733
2733
  function tokenizeGfmFootnoteCall(effects, ok3, nok) {
@@ -2906,42 +2906,42 @@ function gfmStrikethrough(options) {
2906
2906
  }
2907
2907
  };
2908
2908
  function resolveAllStrikethrough(events, context) {
2909
- let index2 = -1;
2910
- while (++index2 < events.length) {
2911
- if (events[index2][0] === "enter" && events[index2][1].type === "strikethroughSequenceTemporary" && events[index2][1]._close) {
2912
- let open = index2;
2909
+ let index3 = -1;
2910
+ while (++index3 < events.length) {
2911
+ if (events[index3][0] === "enter" && events[index3][1].type === "strikethroughSequenceTemporary" && events[index3][1]._close) {
2912
+ let open = index3;
2913
2913
  while (open--) {
2914
2914
  if (events[open][0] === "exit" && events[open][1].type === "strikethroughSequenceTemporary" && events[open][1]._open && // If the sizes are the same:
2915
- events[index2][1].end.offset - events[index2][1].start.offset === events[open][1].end.offset - events[open][1].start.offset) {
2916
- events[index2][1].type = "strikethroughSequence";
2915
+ events[index3][1].end.offset - events[index3][1].start.offset === events[open][1].end.offset - events[open][1].start.offset) {
2916
+ events[index3][1].type = "strikethroughSequence";
2917
2917
  events[open][1].type = "strikethroughSequence";
2918
2918
  const strikethrough = {
2919
2919
  type: "strikethrough",
2920
2920
  start: Object.assign({}, events[open][1].start),
2921
- end: Object.assign({}, events[index2][1].end)
2921
+ end: Object.assign({}, events[index3][1].end)
2922
2922
  };
2923
2923
  const text3 = {
2924
2924
  type: "strikethroughText",
2925
2925
  start: Object.assign({}, events[open][1].end),
2926
- end: Object.assign({}, events[index2][1].start)
2926
+ end: Object.assign({}, events[index3][1].start)
2927
2927
  };
2928
2928
  const nextEvents = [["enter", strikethrough, context], ["enter", events[open][1], context], ["exit", events[open][1], context], ["enter", text3, context]];
2929
2929
  const insideSpan = context.parser.constructs.insideSpan.null;
2930
2930
  if (insideSpan) {
2931
- splice(nextEvents, nextEvents.length, 0, resolveAll(insideSpan, events.slice(open + 1, index2), context));
2931
+ splice(nextEvents, nextEvents.length, 0, resolveAll(insideSpan, events.slice(open + 1, index3), context));
2932
2932
  }
2933
- splice(nextEvents, nextEvents.length, 0, [["exit", text3, context], ["enter", events[index2][1], context], ["exit", events[index2][1], context], ["exit", strikethrough, context]]);
2934
- splice(events, open - 1, index2 - open + 3, nextEvents);
2935
- index2 = open + nextEvents.length - 2;
2933
+ splice(nextEvents, nextEvents.length, 0, [["exit", text3, context], ["enter", events[index3][1], context], ["exit", events[index3][1], context], ["exit", strikethrough, context]]);
2934
+ splice(events, open - 1, index3 - open + 3, nextEvents);
2935
+ index3 = open + nextEvents.length - 2;
2936
2936
  break;
2937
2937
  }
2938
2938
  }
2939
2939
  }
2940
2940
  }
2941
- index2 = -1;
2942
- while (++index2 < events.length) {
2943
- if (events[index2][1].type === "strikethroughSequenceTemporary") {
2944
- events[index2][1].type = "data";
2941
+ index3 = -1;
2942
+ while (++index3 < events.length) {
2943
+ if (events[index3][1].type === "strikethroughSequenceTemporary") {
2944
+ events[index3][1].type = "data";
2945
2945
  }
2946
2946
  }
2947
2947
  return events;
@@ -2992,8 +2992,8 @@ var EditMap = class {
2992
2992
  * @param {Array<Event>} add
2993
2993
  * @returns {undefined}
2994
2994
  */
2995
- add(index2, remove, add2) {
2996
- addImplementation(this, index2, remove, add2);
2995
+ add(index3, remove, add2) {
2996
+ addImplementation(this, index3, remove, add2);
2997
2997
  }
2998
2998
  // To do: add this when moving to `micromark`.
2999
2999
  // /**
@@ -3014,18 +3014,18 @@ var EditMap = class {
3014
3014
  * @returns {undefined}
3015
3015
  */
3016
3016
  consume(events) {
3017
- this.map.sort(function(a, b) {
3018
- return a[0] - b[0];
3017
+ this.map.sort(function(a2, b2) {
3018
+ return a2[0] - b2[0];
3019
3019
  });
3020
3020
  if (this.map.length === 0) {
3021
3021
  return;
3022
3022
  }
3023
- let index2 = this.map.length;
3023
+ let index3 = this.map.length;
3024
3024
  const vecs = [];
3025
- while (index2 > 0) {
3026
- index2 -= 1;
3027
- vecs.push(events.slice(this.map[index2][0] + this.map[index2][1]), this.map[index2][2]);
3028
- events.length = this.map[index2][0];
3025
+ while (index3 > 0) {
3026
+ index3 -= 1;
3027
+ vecs.push(events.slice(this.map[index3][0] + this.map[index3][1]), this.map[index3][2]);
3028
+ events.length = this.map[index3][0];
3029
3029
  }
3030
3030
  vecs.push(events.slice());
3031
3031
  events.length = 0;
@@ -3040,34 +3040,34 @@ var EditMap = class {
3040
3040
  }
3041
3041
  };
3042
3042
  function addImplementation(editMap, at, remove, add2) {
3043
- let index2 = 0;
3043
+ let index3 = 0;
3044
3044
  if (remove === 0 && add2.length === 0) {
3045
3045
  return;
3046
3046
  }
3047
- while (index2 < editMap.map.length) {
3048
- if (editMap.map[index2][0] === at) {
3049
- editMap.map[index2][1] += remove;
3050
- editMap.map[index2][2].push(...add2);
3047
+ while (index3 < editMap.map.length) {
3048
+ if (editMap.map[index3][0] === at) {
3049
+ editMap.map[index3][1] += remove;
3050
+ editMap.map[index3][2].push(...add2);
3051
3051
  return;
3052
3052
  }
3053
- index2 += 1;
3053
+ index3 += 1;
3054
3054
  }
3055
3055
  editMap.map.push([at, remove, add2]);
3056
3056
  }
3057
3057
 
3058
3058
  // node_modules/micromark-extension-gfm-table/lib/infer.js
3059
- function gfmTableAlign(events, index2) {
3059
+ function gfmTableAlign(events, index3) {
3060
3060
  let inDelimiterRow = false;
3061
3061
  const align = [];
3062
- while (index2 < events.length) {
3063
- const event = events[index2];
3062
+ while (index3 < events.length) {
3063
+ const event = events[index3];
3064
3064
  if (inDelimiterRow) {
3065
3065
  if (event[0] === "enter") {
3066
3066
  if (event[1].type === "tableContent") {
3067
- align.push(events[index2 + 1][1].type === "tableDelimiterMarker" ? "left" : "none");
3067
+ align.push(events[index3 + 1][1].type === "tableDelimiterMarker" ? "left" : "none");
3068
3068
  }
3069
3069
  } else if (event[1].type === "tableContent") {
3070
- if (events[index2 - 1][1].type === "tableDelimiterMarker") {
3070
+ if (events[index3 - 1][1].type === "tableDelimiterMarker") {
3071
3071
  const alignIndex = align.length - 1;
3072
3072
  align[alignIndex] = align[alignIndex] === "left" ? "center" : "right";
3073
3073
  }
@@ -3077,7 +3077,7 @@ function gfmTableAlign(events, index2) {
3077
3077
  } else if (event[0] === "enter" && event[1].type === "tableDelimiterRow") {
3078
3078
  inDelimiterRow = true;
3079
3079
  }
3080
- index2 += 1;
3080
+ index3 += 1;
3081
3081
  }
3082
3082
  return align;
3083
3083
  }
@@ -3101,14 +3101,14 @@ function tokenizeTable(effects, ok3, nok) {
3101
3101
  let seen;
3102
3102
  return start;
3103
3103
  function start(code3) {
3104
- let index2 = self2.events.length - 1;
3105
- while (index2 > -1) {
3106
- const type = self2.events[index2][1].type;
3104
+ let index3 = self2.events.length - 1;
3105
+ while (index3 > -1) {
3106
+ const type = self2.events[index3][1].type;
3107
3107
  if (type === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
3108
- type === "linePrefix") index2--;
3108
+ type === "linePrefix") index3--;
3109
3109
  else break;
3110
3110
  }
3111
- const tail = index2 > -1 ? self2.events[index2][1].type : null;
3111
+ const tail = index3 > -1 ? self2.events[index3][1].type : null;
3112
3112
  const next = tail === "tableHead" || tail === "tableRow" ? bodyRowStart : headRowBefore;
3113
3113
  if (next === bodyRowStart && self2.parser.lazy[self2.now().line]) {
3114
3114
  return nok(code3);
@@ -3310,7 +3310,7 @@ function tokenizeTable(effects, ok3, nok) {
3310
3310
  }
3311
3311
  }
3312
3312
  function resolveTable(events, context) {
3313
- let index2 = -1;
3313
+ let index3 = -1;
3314
3314
  let inFirstCellAwaitingPipe = true;
3315
3315
  let rowKind = 0;
3316
3316
  let lastCell = [0, 0, 0, 0];
@@ -3321,8 +3321,8 @@ function resolveTable(events, context) {
3321
3321
  let currentBody;
3322
3322
  let currentCell;
3323
3323
  const map3 = new EditMap();
3324
- while (++index2 < events.length) {
3325
- const event = events[index2];
3324
+ while (++index3 < events.length) {
3325
+ const event = events[index3];
3326
3326
  const token = event[1];
3327
3327
  if (event[0] === "enter") {
3328
3328
  if (token.type === "tableHead") {
@@ -3338,12 +3338,12 @@ function resolveTable(events, context) {
3338
3338
  // Note: correct end is set later.
3339
3339
  end: Object.assign({}, token.end)
3340
3340
  };
3341
- map3.add(index2, 0, [["enter", currentTable, context]]);
3341
+ map3.add(index3, 0, [["enter", currentTable, context]]);
3342
3342
  } else if (token.type === "tableRow" || token.type === "tableDelimiterRow") {
3343
3343
  inFirstCellAwaitingPipe = true;
3344
3344
  currentCell = void 0;
3345
3345
  lastCell = [0, 0, 0, 0];
3346
- cell = [0, index2 + 1, 0, 0];
3346
+ cell = [0, index3 + 1, 0, 0];
3347
3347
  if (afterHeadAwaitingFirstBodyRow) {
3348
3348
  afterHeadAwaitingFirstBodyRow = false;
3349
3349
  currentBody = {
@@ -3352,7 +3352,7 @@ function resolveTable(events, context) {
3352
3352
  // Note: correct end is set later.
3353
3353
  end: Object.assign({}, token.end)
3354
3354
  };
3355
- map3.add(index2, 0, [["enter", currentBody, context]]);
3355
+ map3.add(index3, 0, [["enter", currentBody, context]]);
3356
3356
  }
3357
3357
  rowKind = token.type === "tableDelimiterRow" ? 2 : currentBody ? 3 : 1;
3358
3358
  } else if (rowKind && (token.type === "data" || token.type === "tableDelimiterMarker" || token.type === "tableDelimiterFiller")) {
@@ -3363,7 +3363,7 @@ function resolveTable(events, context) {
3363
3363
  currentCell = flushCell(map3, context, lastCell, rowKind, void 0, currentCell);
3364
3364
  lastCell = [0, 0, 0, 0];
3365
3365
  }
3366
- cell[2] = index2;
3366
+ cell[2] = index3;
3367
3367
  }
3368
3368
  } else if (token.type === "tableCellDivider") {
3369
3369
  if (inFirstCellAwaitingPipe) {
@@ -3374,34 +3374,34 @@ function resolveTable(events, context) {
3374
3374
  currentCell = flushCell(map3, context, lastCell, rowKind, void 0, currentCell);
3375
3375
  }
3376
3376
  lastCell = cell;
3377
- cell = [lastCell[1], index2, 0, 0];
3377
+ cell = [lastCell[1], index3, 0, 0];
3378
3378
  }
3379
3379
  }
3380
3380
  } else if (token.type === "tableHead") {
3381
3381
  afterHeadAwaitingFirstBodyRow = true;
3382
- lastTableEnd = index2;
3382
+ lastTableEnd = index3;
3383
3383
  } else if (token.type === "tableRow" || token.type === "tableDelimiterRow") {
3384
- lastTableEnd = index2;
3384
+ lastTableEnd = index3;
3385
3385
  if (lastCell[1] !== 0) {
3386
3386
  cell[0] = cell[1];
3387
- currentCell = flushCell(map3, context, lastCell, rowKind, index2, currentCell);
3387
+ currentCell = flushCell(map3, context, lastCell, rowKind, index3, currentCell);
3388
3388
  } else if (cell[1] !== 0) {
3389
- currentCell = flushCell(map3, context, cell, rowKind, index2, currentCell);
3389
+ currentCell = flushCell(map3, context, cell, rowKind, index3, currentCell);
3390
3390
  }
3391
3391
  rowKind = 0;
3392
3392
  } else if (rowKind && (token.type === "data" || token.type === "tableDelimiterMarker" || token.type === "tableDelimiterFiller")) {
3393
- cell[3] = index2;
3393
+ cell[3] = index3;
3394
3394
  }
3395
3395
  }
3396
3396
  if (lastTableEnd !== 0) {
3397
3397
  flushTableEnd(map3, context, lastTableEnd, currentTable, currentBody);
3398
3398
  }
3399
3399
  map3.consume(context.events);
3400
- index2 = -1;
3401
- while (++index2 < context.events.length) {
3402
- const event = context.events[index2];
3400
+ index3 = -1;
3401
+ while (++index3 < context.events.length) {
3402
+ const event = context.events[index3];
3403
3403
  if (event[0] === "enter" && event[1].type === "table") {
3404
- event[1]._align = gfmTableAlign(context.events, index2);
3404
+ event[1]._align = gfmTableAlign(context.events, index3);
3405
3405
  }
3406
3406
  }
3407
3407
  return events;
@@ -3437,9 +3437,9 @@ function flushCell(map3, context, range, rowKind, rowEnd, previousCell) {
3437
3437
  start[1].type = "chunkText";
3438
3438
  start[1].contentType = "text";
3439
3439
  if (range[3] > range[2] + 1) {
3440
- const a = range[2] + 1;
3441
- const b = range[3] - range[2] - 1;
3442
- map3.add(a, b, []);
3440
+ const a2 = range[2] + 1;
3441
+ const b2 = range[3] - range[2] - 1;
3442
+ map3.add(a2, b2, []);
3443
3443
  }
3444
3444
  }
3445
3445
  map3.add(range[3] + 1, 0, [["exit", valueToken, context]]);
@@ -3451,19 +3451,19 @@ function flushCell(map3, context, range, rowKind, rowEnd, previousCell) {
3451
3451
  }
3452
3452
  return previousCell;
3453
3453
  }
3454
- function flushTableEnd(map3, context, index2, table, tableBody) {
3454
+ function flushTableEnd(map3, context, index3, table, tableBody) {
3455
3455
  const exits = [];
3456
- const related = getPoint(context.events, index2);
3456
+ const related = getPoint(context.events, index3);
3457
3457
  if (tableBody) {
3458
3458
  tableBody.end = Object.assign({}, related);
3459
3459
  exits.push(["exit", tableBody, context]);
3460
3460
  }
3461
3461
  table.end = Object.assign({}, related);
3462
3462
  exits.push(["exit", table, context]);
3463
- map3.add(index2 + 1, 0, exits);
3463
+ map3.add(index3 + 1, 0, exits);
3464
3464
  }
3465
- function getPoint(events, index2) {
3466
- const event = events[index2];
3465
+ function getPoint(events, index3) {
3466
+ const event = events[index3];
3467
3467
  const side = event[0] === "enter" ? "start" : "end";
3468
3468
  return event[1][side];
3469
3469
  }
@@ -3603,14 +3603,14 @@ function trough() {
3603
3603
  next(null, ...values);
3604
3604
  function next(error, ...output) {
3605
3605
  const fn = fns[++middlewareIndex];
3606
- let index2 = -1;
3606
+ let index3 = -1;
3607
3607
  if (error) {
3608
3608
  callback(error);
3609
3609
  return;
3610
3610
  }
3611
- while (++index2 < values.length) {
3612
- if (output[index2] === null || output[index2] === void 0) {
3613
- output[index2] = values[index2];
3611
+ while (++index3 < values.length) {
3612
+ if (output[index3] === null || output[index3] === void 0) {
3613
+ output[index3] = values[index3];
3614
3614
  }
3615
3615
  }
3616
3616
  values = output;
@@ -3689,8 +3689,8 @@ function stringifyPosition(value) {
3689
3689
  }
3690
3690
  return "";
3691
3691
  }
3692
- function point(point2) {
3693
- return index(point2 && point2.line) + ":" + index(point2 && point2.column);
3692
+ function point(point3) {
3693
+ return index(point3 && point3.line) + ":" + index(point3 && point3.column);
3694
3694
  }
3695
3695
  function position(pos) {
3696
3696
  return point(pos && pos.start) + "-" + point(pos && pos.end);
@@ -3787,12 +3787,12 @@ var VFileMessage = class extends Error {
3787
3787
  options.cause = causeOrReason;
3788
3788
  }
3789
3789
  if (!options.ruleId && !options.source && typeof origin === "string") {
3790
- const index2 = origin.indexOf(":");
3791
- if (index2 === -1) {
3790
+ const index3 = origin.indexOf(":");
3791
+ if (index3 === -1) {
3792
3792
  options.ruleId = origin;
3793
3793
  } else {
3794
- options.source = origin.slice(0, index2);
3795
- options.ruleId = origin.slice(index2 + 1);
3794
+ options.source = origin.slice(0, index3);
3795
+ options.ruleId = origin.slice(index3 + 1);
3796
3796
  }
3797
3797
  }
3798
3798
  if (!options.place && options.ancestors && options.ancestors) {
@@ -3897,9 +3897,9 @@ var VFile = class {
3897
3897
  this.map;
3898
3898
  this.result;
3899
3899
  this.stored;
3900
- let index2 = -1;
3901
- while (++index2 < order.length) {
3902
- const field2 = order[index2];
3900
+ let index3 = -1;
3901
+ while (++index3 < order.length) {
3902
+ const field2 = order[index3];
3903
3903
  if (field2 in options && options[field2] !== void 0 && options[field2] !== null) {
3904
3904
  this[field2] = field2 === "history" ? [...options[field2]] : options[field2];
3905
3905
  }
@@ -4362,9 +4362,9 @@ var Processor = class _Processor extends CallableInstance {
4362
4362
  /** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
4363
4363
  new _Processor()
4364
4364
  );
4365
- let index2 = -1;
4366
- while (++index2 < this.attachers.length) {
4367
- const attacher = this.attachers[index2];
4365
+ let index3 = -1;
4366
+ while (++index3 < this.attachers.length) {
4367
+ const attacher = this.attachers[index3];
4368
4368
  destination.use(...attacher);
4369
4369
  }
4370
4370
  destination.data((0, import_extend.default)(true, {}, this.namespace));
@@ -4875,10 +4875,10 @@ var Processor = class _Processor extends CallableInstance {
4875
4875
  }
4876
4876
  }
4877
4877
  function addList(plugins) {
4878
- let index2 = -1;
4878
+ let index3 = -1;
4879
4879
  if (plugins === null || plugins === void 0) ; else if (Array.isArray(plugins)) {
4880
- while (++index2 < plugins.length) {
4881
- const thing = plugins[index2];
4880
+ while (++index3 < plugins.length) {
4881
+ const thing = plugins[index3];
4882
4882
  add2(thing);
4883
4883
  }
4884
4884
  } else {
@@ -4886,11 +4886,11 @@ var Processor = class _Processor extends CallableInstance {
4886
4886
  }
4887
4887
  }
4888
4888
  function addPlugin(plugin, parameters2) {
4889
- let index2 = -1;
4889
+ let index3 = -1;
4890
4890
  let entryIndex = -1;
4891
- while (++index2 < attachers.length) {
4892
- if (attachers[index2][0] === plugin) {
4893
- entryIndex = index2;
4891
+ while (++index3 < attachers.length) {
4892
+ if (attachers[index3][0] === plugin) {
4893
+ entryIndex = index3;
4894
4894
  break;
4895
4895
  }
4896
4896
  }
@@ -4957,15 +4957,15 @@ function isUint8Array2(value) {
4957
4957
  // node_modules/nlcst-to-string/lib/index.js
4958
4958
  var emptyNodes = [];
4959
4959
  function toString2(value) {
4960
- let index2 = -1;
4960
+ let index3 = -1;
4961
4961
  if (!value || !Array.isArray(value) && !value.type) {
4962
4962
  throw new Error("Expected node, not `" + value + "`");
4963
4963
  }
4964
4964
  if ("value" in value) return value.value;
4965
4965
  const children = (Array.isArray(value) ? value : value.children) || emptyNodes;
4966
4966
  const values = [];
4967
- while (++index2 < children.length) {
4968
- values[index2] = toString2(children[index2]);
4967
+ while (++index3 < children.length) {
4968
+ values[index3] = toString2(children[index3]);
4969
4969
  }
4970
4970
  return values.join("");
4971
4971
  }
@@ -4973,7 +4973,7 @@ function toString2(value) {
4973
4973
  // node_modules/array-iterate/lib/index.js
4974
4974
  var own2 = {}.hasOwnProperty;
4975
4975
  function arrayIterate(values, callbackFn, thisArg) {
4976
- let index2 = -1;
4976
+ let index3 = -1;
4977
4977
  if (!values) {
4978
4978
  throw new Error("Iterate requires that |this| not be " + values);
4979
4979
  }
@@ -4983,16 +4983,16 @@ function arrayIterate(values, callbackFn, thisArg) {
4983
4983
  if (typeof callbackFn !== "function") {
4984
4984
  throw new TypeError("`callback` must be a function");
4985
4985
  }
4986
- while (++index2 < values.length) {
4987
- if (!(index2 in values)) {
4986
+ while (++index3 < values.length) {
4987
+ if (!(index3 in values)) {
4988
4988
  continue;
4989
4989
  }
4990
- const result = callbackFn.call(thisArg, values[index2], index2, values);
4990
+ const result = callbackFn.call(thisArg, values[index3], index3, values);
4991
4991
  if (typeof result === "number") {
4992
4992
  if (result < 0) {
4993
- index2 = 0;
4993
+ index3 = 0;
4994
4994
  }
4995
- index2 = result - 1;
4995
+ index3 = result - 1;
4996
4996
  }
4997
4997
  }
4998
4998
  }
@@ -5006,8 +5006,8 @@ function modifyChildren(modifier) {
5006
5006
  }
5007
5007
  arrayIterate(parent.children, iteratee, parent);
5008
5008
  }
5009
- function iteratee(node2, index2) {
5010
- return modifier(node2, index2, this);
5009
+ function iteratee(node2, index3) {
5010
+ return modifier(node2, index3, this);
5011
5011
  }
5012
5012
  }
5013
5013
 
@@ -5016,12 +5016,12 @@ var mergeAffixExceptions = modifyChildren(
5016
5016
  /**
5017
5017
  * @type {import('unist-util-modify-children').Modifier<Paragraph>}
5018
5018
  */
5019
- function(child, index2, parent) {
5020
- const previous2 = parent.children[index2 - 1];
5019
+ function(child, index3, parent) {
5020
+ const previous2 = parent.children[index3 - 1];
5021
5021
  if (previous2 && "children" in previous2 && "children" in child && child.children.length > 0) {
5022
- let position2 = -1;
5023
- while (child.children[++position2]) {
5024
- const node2 = child.children[position2];
5022
+ let position3 = -1;
5023
+ while (child.children[++position3]) {
5024
+ const node2 = child.children[position3];
5025
5025
  if (node2.type === "WordNode") {
5026
5026
  return;
5027
5027
  }
@@ -5034,8 +5034,8 @@ var mergeAffixExceptions = modifyChildren(
5034
5034
  if (previous2.position && child.position) {
5035
5035
  previous2.position.end = child.position.end;
5036
5036
  }
5037
- parent.children.splice(index2, 1);
5038
- return index2;
5037
+ parent.children.splice(index3, 1);
5038
+ return index3;
5039
5039
  }
5040
5040
  }
5041
5041
  }
@@ -5060,9 +5060,9 @@ var mergeAffixSymbol = modifyChildren(
5060
5060
  /**
5061
5061
  * @type {import('unist-util-modify-children').Modifier<Paragraph>}
5062
5062
  */
5063
- function(child, index2, parent) {
5064
- if ("children" in child && child.children.length > 0 && index2 > 0) {
5065
- const previous2 = parent.children[index2 - 1];
5063
+ function(child, index3, parent) {
5064
+ if ("children" in child && child.children.length > 0 && index3 > 0) {
5065
+ const previous2 = parent.children[index3 - 1];
5066
5066
  const first = child.children[0];
5067
5067
  const second = child.children[1];
5068
5068
  if (previous2 && previous2.type === "SentenceNode" && (first.type === "SymbolNode" || first.type === "PunctuationNode") && affixSymbol.test(toString2(first))) {
@@ -5074,7 +5074,7 @@ var mergeAffixSymbol = modifyChildren(
5074
5074
  if (second && second.position && child.position) {
5075
5075
  child.position.start = second.position.start;
5076
5076
  }
5077
- return index2 - 1;
5077
+ return index3 - 1;
5078
5078
  }
5079
5079
  }
5080
5080
  }
@@ -5085,31 +5085,31 @@ var breakImplicitSentences = modifyChildren(
5085
5085
  /**
5086
5086
  * @type {import('unist-util-modify-children').Modifier<Paragraph>}
5087
5087
  */
5088
- function(child, index2, parent) {
5088
+ function(child, index3, parent) {
5089
5089
  if (child.type !== "SentenceNode") {
5090
5090
  return;
5091
5091
  }
5092
5092
  const children = child.children;
5093
- let position2 = 0;
5094
- while (++position2 < children.length - 1) {
5095
- const node2 = children[position2];
5093
+ let position3 = 0;
5094
+ while (++position3 < children.length - 1) {
5095
+ const node2 = children[position3];
5096
5096
  if (node2.type !== "WhiteSpaceNode" || toString2(node2).split(/\r\n|\r|\n/).length < 3) {
5097
5097
  continue;
5098
5098
  }
5099
- child.children = children.slice(0, position2);
5099
+ child.children = children.slice(0, position3);
5100
5100
  const insertion = {
5101
5101
  type: "SentenceNode",
5102
- children: children.slice(position2 + 1)
5102
+ children: children.slice(position3 + 1)
5103
5103
  };
5104
- const tail = children[position2 - 1];
5105
- const head = children[position2 + 1];
5106
- parent.children.splice(index2 + 1, 0, node2, insertion);
5104
+ const tail = children[position3 - 1];
5105
+ const head = children[position3 + 1];
5106
+ parent.children.splice(index3 + 1, 0, node2, insertion);
5107
5107
  if (child.position && tail.position && head.position) {
5108
5108
  const end = child.position.end;
5109
5109
  child.position.end = tail.position.end;
5110
5110
  insertion.position = { start: head.position.start, end };
5111
5111
  }
5112
- return index2 + 1;
5112
+ return index3 + 1;
5113
5113
  }
5114
5114
  }
5115
5115
  );
@@ -5119,17 +5119,17 @@ var makeFinalWhiteSpaceSiblings = modifyChildren(
5119
5119
  /**
5120
5120
  * @type {import('unist-util-modify-children').Modifier<Paragraph | Root>}
5121
5121
  */
5122
- function(child, index2, parent) {
5122
+ function(child, index3, parent) {
5123
5123
  if ("children" in child) {
5124
5124
  const tail = child.children[child.children.length - 1];
5125
5125
  if (tail && tail.type === "WhiteSpaceNode") {
5126
5126
  child.children.pop();
5127
- parent.children.splice(index2 + 1, 0, tail);
5127
+ parent.children.splice(index3 + 1, 0, tail);
5128
5128
  const previous2 = child.children[child.children.length - 1];
5129
5129
  if (previous2 && previous2.position && child.position) {
5130
5130
  child.position.end = previous2.position.end;
5131
5131
  }
5132
- return index2;
5132
+ return index3;
5133
5133
  }
5134
5134
  }
5135
5135
  }
@@ -5140,12 +5140,12 @@ function visitChildren(visitor) {
5140
5140
  return visit2;
5141
5141
  function visit2(parent) {
5142
5142
  const children = parent && parent.children;
5143
- let index2 = -1;
5143
+ let index3 = -1;
5144
5144
  if (!children) {
5145
5145
  throw new Error("Missing children in `parent` for `visit`");
5146
5146
  }
5147
- while (++index2 in children) {
5148
- visitor(children[index2], index2, parent);
5147
+ while (++index3 in children) {
5148
+ visitor(children[index3], index3, parent);
5149
5149
  }
5150
5150
  }
5151
5151
  }
@@ -5155,12 +5155,12 @@ var makeInitialWhiteSpaceSiblings = visitChildren(
5155
5155
  /**
5156
5156
  * @type {import('unist-util-visit-children').Visitor<Paragraph | Root>}
5157
5157
  */
5158
- function(child, index2, parent) {
5158
+ function(child, index3, parent) {
5159
5159
  if ("children" in child && child.children) {
5160
5160
  const head = child.children[0];
5161
5161
  if (head && head.type === "WhiteSpaceNode") {
5162
5162
  child.children.shift();
5163
- parent.children.splice(index2, 0, head);
5163
+ parent.children.splice(index3, 0, head);
5164
5164
  const next = child.children[0];
5165
5165
  if (next && next.position && child.position) {
5166
5166
  child.position.start = next.position.start;
@@ -5175,18 +5175,18 @@ var mergeFinalWordSymbol = modifyChildren(
5175
5175
  /**
5176
5176
  * @type {import('unist-util-modify-children').Modifier<Sentence>}
5177
5177
  */
5178
- function(child, index2, parent) {
5179
- if (index2 > 0 && (child.type === "SymbolNode" || child.type === "PunctuationNode") && toString2(child) === "-") {
5178
+ function(child, index3, parent) {
5179
+ if (index3 > 0 && (child.type === "SymbolNode" || child.type === "PunctuationNode") && toString2(child) === "-") {
5180
5180
  const children = parent.children;
5181
- const previous2 = children[index2 - 1];
5182
- const next = children[index2 + 1];
5181
+ const previous2 = children[index3 - 1];
5182
+ const next = children[index3 + 1];
5183
5183
  if ((!next || next.type !== "WordNode") && previous2 && previous2.type === "WordNode") {
5184
- children.splice(index2, 1);
5184
+ children.splice(index3, 1);
5185
5185
  previous2.children.push(child);
5186
5186
  if (previous2.position && child.position) {
5187
5187
  previous2.position.end = child.position.end;
5188
5188
  }
5189
- return index2;
5189
+ return index3;
5190
5190
  }
5191
5191
  }
5192
5192
  }
@@ -5197,17 +5197,17 @@ var mergeInitialDigitSentences = modifyChildren(
5197
5197
  /**
5198
5198
  * @type {import('unist-util-modify-children').Modifier<Paragraph>}
5199
5199
  */
5200
- function(child, index2, parent) {
5201
- const previous2 = parent.children[index2 - 1];
5200
+ function(child, index3, parent) {
5201
+ const previous2 = parent.children[index3 - 1];
5202
5202
  if (previous2 && previous2.type === "SentenceNode" && child.type === "SentenceNode") {
5203
5203
  const head = child.children[0];
5204
5204
  if (head && head.type === "WordNode" && digitStart.test(toString2(head))) {
5205
5205
  previous2.children.push(...child.children);
5206
- parent.children.splice(index2, 1);
5206
+ parent.children.splice(index3, 1);
5207
5207
  if (previous2.position && child.position) {
5208
5208
  previous2.position.end = child.position.end;
5209
5209
  }
5210
- return index2;
5210
+ return index3;
5211
5211
  }
5212
5212
  }
5213
5213
  }
@@ -5218,24 +5218,24 @@ var mergeInitialLowerCaseLetterSentences = modifyChildren(
5218
5218
  /**
5219
5219
  * @type {import('unist-util-modify-children').Modifier<Paragraph>}
5220
5220
  */
5221
- function(child, index2, parent) {
5222
- if (child.type === "SentenceNode" && index2 > 0) {
5223
- const previous2 = parent.children[index2 - 1];
5221
+ function(child, index3, parent) {
5222
+ if (child.type === "SentenceNode" && index3 > 0) {
5223
+ const previous2 = parent.children[index3 - 1];
5224
5224
  const children = child.children;
5225
5225
  if (children.length > 0 && previous2.type === "SentenceNode") {
5226
- let position2 = -1;
5227
- while (children[++position2]) {
5228
- const node2 = children[position2];
5226
+ let position3 = -1;
5227
+ while (children[++position3]) {
5228
+ const node2 = children[position3];
5229
5229
  if (node2.type === "WordNode") {
5230
5230
  if (!lowerInitial.test(toString2(node2))) {
5231
5231
  return;
5232
5232
  }
5233
5233
  previous2.children.push(...children);
5234
- parent.children.splice(index2, 1);
5234
+ parent.children.splice(index3, 1);
5235
5235
  if (previous2.position && child.position) {
5236
5236
  previous2.position.end = child.position.end;
5237
5237
  }
5238
- return index2;
5238
+ return index3;
5239
5239
  }
5240
5240
  if (node2.type === "SymbolNode" || node2.type === "PunctuationNode") {
5241
5241
  return;
@@ -5251,21 +5251,21 @@ var mergeInitialWordSymbol = modifyChildren(
5251
5251
  /**
5252
5252
  * @type {import('unist-util-modify-children').Modifier<Sentence>}
5253
5253
  */
5254
- function(child, index2, parent) {
5254
+ function(child, index3, parent) {
5255
5255
  if (child.type !== "SymbolNode" && child.type !== "PunctuationNode" || toString2(child) !== "&") {
5256
5256
  return;
5257
5257
  }
5258
5258
  const children = parent.children;
5259
- const next = children[index2 + 1];
5260
- if (index2 > 0 && children[index2 - 1].type === "WordNode" || !(next && next.type === "WordNode")) {
5259
+ const next = children[index3 + 1];
5260
+ if (index3 > 0 && children[index3 - 1].type === "WordNode" || !(next && next.type === "WordNode")) {
5261
5261
  return;
5262
5262
  }
5263
- children.splice(index2, 1);
5263
+ children.splice(index3, 1);
5264
5264
  next.children.unshift(child);
5265
5265
  if (next.position && child.position) {
5266
5266
  next.position.start = child.position.start;
5267
5267
  }
5268
- return index2 - 1;
5268
+ return index3 - 1;
5269
5269
  }
5270
5270
  );
5271
5271
 
@@ -5274,16 +5274,16 @@ var mergeInitialisms = modifyChildren(
5274
5274
  /**
5275
5275
  * @type {import('unist-util-modify-children').Modifier<Sentence>}
5276
5276
  */
5277
- function(child, index2, parent) {
5278
- if (index2 > 0 && child.type === "PunctuationNode" && toString2(child) === ".") {
5279
- const previous2 = parent.children[index2 - 1];
5277
+ function(child, index3, parent) {
5278
+ if (index3 > 0 && child.type === "PunctuationNode" && toString2(child) === ".") {
5279
+ const previous2 = parent.children[index3 - 1];
5280
5280
  if (previous2.type === "WordNode" && previous2.children && previous2.children.length !== 1 && previous2.children.length % 2 !== 0) {
5281
- let position2 = previous2.children.length;
5281
+ let position3 = previous2.children.length;
5282
5282
  let isAllDigits = true;
5283
- while (previous2.children[--position2]) {
5284
- const otherChild = previous2.children[position2];
5283
+ while (previous2.children[--position3]) {
5284
+ const otherChild = previous2.children[position3];
5285
5285
  const value = toString2(otherChild);
5286
- if (position2 % 2 === 0) {
5286
+ if (position3 % 2 === 0) {
5287
5287
  if (value.length > 1) {
5288
5288
  return;
5289
5289
  }
@@ -5291,7 +5291,7 @@ var mergeInitialisms = modifyChildren(
5291
5291
  isAllDigits = false;
5292
5292
  }
5293
5293
  } else if (value !== ".") {
5294
- if (position2 < previous2.children.length - 2) {
5294
+ if (position3 < previous2.children.length - 2) {
5295
5295
  break;
5296
5296
  } else {
5297
5297
  return;
@@ -5299,12 +5299,12 @@ var mergeInitialisms = modifyChildren(
5299
5299
  }
5300
5300
  }
5301
5301
  if (!isAllDigits) {
5302
- parent.children.splice(index2, 1);
5302
+ parent.children.splice(index3, 1);
5303
5303
  previous2.children.push(child);
5304
5304
  if (previous2.position && child.position) {
5305
5305
  previous2.position.end = child.position.end;
5306
5306
  }
5307
- return index2;
5307
+ return index3;
5308
5308
  }
5309
5309
  }
5310
5310
  }
@@ -5316,16 +5316,16 @@ var mergeInnerWordSymbol = modifyChildren(
5316
5316
  /**
5317
5317
  * @type {import('unist-util-modify-children').Modifier<Sentence>}
5318
5318
  */
5319
- function(child, index2, parent) {
5320
- if (index2 > 0 && (child.type === "SymbolNode" || child.type === "PunctuationNode")) {
5319
+ function(child, index3, parent) {
5320
+ if (index3 > 0 && (child.type === "SymbolNode" || child.type === "PunctuationNode")) {
5321
5321
  const siblings = parent.children;
5322
- const previous2 = siblings[index2 - 1];
5322
+ const previous2 = siblings[index3 - 1];
5323
5323
  if (previous2 && previous2.type === "WordNode") {
5324
- let position2 = index2 - 1;
5324
+ let position3 = index3 - 1;
5325
5325
  const tokens = [];
5326
5326
  let queue = [];
5327
- while (siblings[++position2]) {
5328
- const sibling = siblings[position2];
5327
+ while (siblings[++position3]) {
5328
+ const sibling = siblings[position3];
5329
5329
  if (sibling.type === "WordNode") {
5330
5330
  tokens.push(...queue, ...sibling.children);
5331
5331
  queue = [];
@@ -5337,15 +5337,15 @@ var mergeInnerWordSymbol = modifyChildren(
5337
5337
  }
5338
5338
  if (tokens.length > 0) {
5339
5339
  if (queue.length > 0) {
5340
- position2 -= queue.length;
5340
+ position3 -= queue.length;
5341
5341
  }
5342
- siblings.splice(index2, position2 - index2);
5342
+ siblings.splice(index3, position3 - index3);
5343
5343
  previous2.children.push(...tokens);
5344
5344
  const last = tokens[tokens.length - 1];
5345
5345
  if (previous2.position && last.position) {
5346
5346
  previous2.position.end = last.position.end;
5347
5347
  }
5348
- return index2;
5348
+ return index3;
5349
5349
  }
5350
5350
  }
5351
5351
  }
@@ -5357,16 +5357,16 @@ var mergeInnerWordSlash = modifyChildren(
5357
5357
  /**
5358
5358
  * @type {import('unist-util-modify-children').Modifier<Sentence>}
5359
5359
  */
5360
- function(child, index2, parent) {
5360
+ function(child, index3, parent) {
5361
5361
  const siblings = parent.children;
5362
- const previous2 = siblings[index2 - 1];
5362
+ const previous2 = siblings[index3 - 1];
5363
5363
  if (previous2 && previous2.type === "WordNode" && (child.type === "SymbolNode" || child.type === "PunctuationNode") && toString2(child) === "/") {
5364
5364
  const previousValue = toString2(previous2);
5365
5365
  let tail = child;
5366
5366
  const queue = [child];
5367
5367
  let count = 1;
5368
5368
  let nextValue = "";
5369
- const next = siblings[index2 + 1];
5369
+ const next = siblings[index3 + 1];
5370
5370
  if (next && next.type === "WordNode") {
5371
5371
  nextValue = toString2(next);
5372
5372
  tail = next;
@@ -5375,11 +5375,11 @@ var mergeInnerWordSlash = modifyChildren(
5375
5375
  }
5376
5376
  if (previousValue.length < 3 && (!nextValue || nextValue.length < 3)) {
5377
5377
  previous2.children.push(...queue);
5378
- siblings.splice(index2, count);
5378
+ siblings.splice(index3, count);
5379
5379
  if (previous2.position && tail.position) {
5380
5380
  previous2.position.end = tail.position.end;
5381
5381
  }
5382
- return index2;
5382
+ return index3;
5383
5383
  }
5384
5384
  }
5385
5385
  }
@@ -5390,30 +5390,30 @@ var mergeNonWordSentences = modifyChildren(
5390
5390
  /**
5391
5391
  * @type {import('unist-util-modify-children').Modifier<Paragraph>}
5392
5392
  */
5393
- function(child, index2, parent) {
5393
+ function(child, index3, parent) {
5394
5394
  if ("children" in child) {
5395
- let position2 = -1;
5396
- while (child.children[++position2]) {
5397
- if (child.children[position2].type === "WordNode") {
5395
+ let position3 = -1;
5396
+ while (child.children[++position3]) {
5397
+ if (child.children[position3].type === "WordNode") {
5398
5398
  return;
5399
5399
  }
5400
5400
  }
5401
- const previous2 = parent.children[index2 - 1];
5401
+ const previous2 = parent.children[index3 - 1];
5402
5402
  if (previous2 && "children" in previous2) {
5403
5403
  previous2.children.push(...child.children);
5404
- parent.children.splice(index2, 1);
5404
+ parent.children.splice(index3, 1);
5405
5405
  if (previous2.position && child.position) {
5406
5406
  previous2.position.end = child.position.end;
5407
5407
  }
5408
- return index2;
5408
+ return index3;
5409
5409
  }
5410
- const next = parent.children[index2 + 1];
5410
+ const next = parent.children[index3 + 1];
5411
5411
  if (next && "children" in next) {
5412
5412
  next.children.unshift(...child.children);
5413
5413
  if (next.position && child.position) {
5414
5414
  next.position.start = child.position.start;
5415
5415
  }
5416
- parent.children.splice(index2, 1);
5416
+ parent.children.splice(index3, 1);
5417
5417
  }
5418
5418
  }
5419
5419
  }
@@ -5427,7 +5427,7 @@ var mergePrefixExceptions = modifyChildren(
5427
5427
  /**
5428
5428
  * @type {import('unist-util-modify-children').Modifier<Paragraph>}
5429
5429
  */
5430
- function(child, index2, parent) {
5430
+ function(child, index3, parent) {
5431
5431
  if ("children" in child && child.children.length > 1) {
5432
5432
  const period = child.children[child.children.length - 1];
5433
5433
  if (period && (period.type === "PunctuationNode" || period.type === "SymbolNode") && toString2(period) === ".") {
@@ -5438,14 +5438,14 @@ var mergePrefixExceptions = modifyChildren(
5438
5438
  if (period.position && node2.position) {
5439
5439
  node2.position.end = period.position.end;
5440
5440
  }
5441
- const next = parent.children[index2 + 1];
5441
+ const next = parent.children[index3 + 1];
5442
5442
  if (next && next.type === "SentenceNode") {
5443
5443
  child.children.push(...next.children);
5444
- parent.children.splice(index2 + 1, 1);
5444
+ parent.children.splice(index3 + 1, 1);
5445
5445
  if (next.position && child.position) {
5446
5446
  child.position.end = next.position.end;
5447
5447
  }
5448
- return index2 - 1;
5448
+ return index3 - 1;
5449
5449
  }
5450
5450
  }
5451
5451
  }
@@ -5459,12 +5459,12 @@ var mergeRemainingFullStops = visitChildren(
5459
5459
  * @type {import('unist-util-visit-children').Visitor<Paragraph>}
5460
5460
  */
5461
5461
  // eslint-disable-next-line complexity
5462
- function(child, _, _parent) {
5462
+ function(child, _2, _parent) {
5463
5463
  if ("children" in child) {
5464
- let position2 = child.children.length;
5464
+ let position3 = child.children.length;
5465
5465
  let hasFoundDelimiter = false;
5466
- while (child.children[--position2]) {
5467
- const grandchild = child.children[position2];
5466
+ while (child.children[--position3]) {
5467
+ const grandchild = child.children[position3];
5468
5468
  if (grandchild.type !== "SymbolNode" && grandchild.type !== "PunctuationNode") {
5469
5469
  if (grandchild.type === "WordNode") {
5470
5470
  hasFoundDelimiter = true;
@@ -5481,21 +5481,21 @@ var mergeRemainingFullStops = visitChildren(
5481
5481
  if (toString2(grandchild) !== ".") {
5482
5482
  continue;
5483
5483
  }
5484
- const previous2 = child.children[position2 - 1];
5485
- const next = child.children[position2 + 1];
5484
+ const previous2 = child.children[position3 - 1];
5485
+ const next = child.children[position3 + 1];
5486
5486
  if (previous2 && previous2.type === "WordNode") {
5487
- const nextNext = child.children[position2 + 2];
5487
+ const nextNext = child.children[position3 + 2];
5488
5488
  if (next && nextNext && next.type === "WhiteSpaceNode" && toString2(nextNext) === ".") {
5489
5489
  continue;
5490
5490
  }
5491
- child.children.splice(position2, 1);
5491
+ child.children.splice(position3, 1);
5492
5492
  previous2.children.push(grandchild);
5493
5493
  if (grandchild.position && previous2.position) {
5494
5494
  previous2.position.end = grandchild.position.end;
5495
5495
  }
5496
- position2--;
5496
+ position3--;
5497
5497
  } else if (next && next.type === "WordNode") {
5498
- child.children.splice(position2, 1);
5498
+ child.children.splice(position3, 1);
5499
5499
  next.children.unshift(grandchild);
5500
5500
  if (grandchild.position && next.position) {
5501
5501
  next.position.start = grandchild.position.start;
@@ -5511,10 +5511,10 @@ var removeEmptyNodes = modifyChildren(
5511
5511
  /**
5512
5512
  * @type {import('unist-util-modify-children').Modifier<Paragraph | Root>}
5513
5513
  */
5514
- function(child, index2, parent) {
5514
+ function(child, index3, parent) {
5515
5515
  if ("children" in child && child.children.length === 0) {
5516
- parent.children.splice(index2, 1);
5517
- return index2;
5516
+ parent.children.splice(index3, 1);
5517
+ return index3;
5518
5518
  }
5519
5519
  }
5520
5520
  );
@@ -5524,14 +5524,14 @@ var patchPosition = visitChildren(
5524
5524
  /**
5525
5525
  * @type {import('unist-util-visit-children').Visitor<Paragraph | Root | Sentence>}
5526
5526
  */
5527
- function(child, index2, node2) {
5527
+ function(child, index3, node2) {
5528
5528
  const siblings = node2.children;
5529
- if (child.position && index2 < 1 && /* c8 ignore next */
5529
+ if (child.position && index3 < 1 && /* c8 ignore next */
5530
5530
  (!node2.position || !node2.position.start)) {
5531
5531
  patch(node2);
5532
5532
  node2.position.start = child.position.start;
5533
5533
  }
5534
- if (child.position && index2 === siblings.length - 1 && (!node2.position || !node2.position.end)) {
5534
+ if (child.position && index3 === siblings.length - 1 && (!node2.position || !node2.position.end)) {
5535
5535
  patch(node2);
5536
5536
  node2.position.end = child.position.end;
5537
5537
  }
@@ -5588,9 +5588,9 @@ var ParseLatin = class {
5588
5588
  type: "RootNode",
5589
5589
  children: splitNode(paragraph2, "WhiteSpaceNode", newLine)
5590
5590
  };
5591
- let index2 = -1;
5592
- while (this.tokenizeRootPlugins[++index2]) {
5593
- this.tokenizeRootPlugins[index2](result);
5591
+ let index3 = -1;
5592
+ while (this.tokenizeRootPlugins[++index3]) {
5593
+ this.tokenizeRootPlugins[index3](result);
5594
5594
  }
5595
5595
  return result;
5596
5596
  }
@@ -5608,9 +5608,9 @@ var ParseLatin = class {
5608
5608
  type: "ParagraphNode",
5609
5609
  children: splitNode(sentence, "PunctuationNode", terminalMarker)
5610
5610
  };
5611
- let index2 = -1;
5612
- while (this.tokenizeParagraphPlugins[++index2]) {
5613
- this.tokenizeParagraphPlugins[index2](result);
5611
+ let index3 = -1;
5612
+ while (this.tokenizeParagraphPlugins[++index3]) {
5613
+ this.tokenizeParagraphPlugins[index3](result);
5614
5614
  }
5615
5615
  return result;
5616
5616
  }
@@ -5625,9 +5625,9 @@ var ParseLatin = class {
5625
5625
  tokenizeSentence(value) {
5626
5626
  const children = this.tokenize(value);
5627
5627
  const result = { type: "SentenceNode", children };
5628
- let index2 = -1;
5629
- while (this.tokenizeSentencePlugins[++index2]) {
5630
- this.tokenizeSentencePlugins[index2](result);
5628
+ let index3 = -1;
5629
+ while (this.tokenizeSentencePlugins[++index3]) {
5630
+ this.tokenizeSentencePlugins[index3](result);
5631
5631
  }
5632
5632
  return result;
5633
5633
  }
@@ -5646,19 +5646,19 @@ var ParseLatin = class {
5646
5646
  }
5647
5647
  const currentPoint = { line: 1, column: 1, offset: 0 };
5648
5648
  let from = 0;
5649
- let index2 = 0;
5649
+ let index3 = 0;
5650
5650
  let start = { ...currentPoint };
5651
5651
  let previousType;
5652
5652
  let previous2;
5653
- while (index2 < value.length) {
5654
- const current = value.charAt(index2);
5653
+ while (index3 < value.length) {
5654
+ const current = value.charAt(index3);
5655
5655
  const currentType = whiteSpace.test(current) ? "WhiteSpaceNode" : punctuation.test(current) ? "PunctuationNode" : word.test(current) ? "WordNode" : "SymbolNode";
5656
- if (from < index2 && previousType && currentType && !(previousType === currentType && // Words or white space continue.
5656
+ if (from < index3 && previousType && currentType && !(previousType === currentType && // Words or white space continue.
5657
5657
  (previousType === "WordNode" || previousType === "WhiteSpaceNode" || // Same character of punctuation or symbol also continues.
5658
5658
  current === previous2 || // Surrogates of punctuation or symbol also continue.
5659
5659
  surrogates.test(current)))) {
5660
- children.push(createNode(previousType, value.slice(from, index2)));
5661
- from = index2;
5660
+ children.push(createNode(previousType, value.slice(from, index3)));
5661
+ from = index3;
5662
5662
  start = { ...currentPoint };
5663
5663
  }
5664
5664
  if (current === "\r" || current === "\n" && previous2 !== "\r") {
@@ -5670,10 +5670,10 @@ var ParseLatin = class {
5670
5670
  currentPoint.offset++;
5671
5671
  previousType = currentType;
5672
5672
  previous2 = current;
5673
- index2++;
5673
+ index3++;
5674
5674
  }
5675
- if (previousType && from < index2) {
5676
- children.push(createNode(previousType, value.slice(from, index2)));
5675
+ if (previousType && from < index3) {
5676
+ children.push(createNode(previousType, value.slice(from, index3)));
5677
5677
  }
5678
5678
  return children;
5679
5679
  function createNode(type, value2) {
@@ -5721,14 +5721,14 @@ ParseLatin.prototype.tokenizeRootPlugins = [
5721
5721
  ];
5722
5722
  function splitNode(node2, childType, expression) {
5723
5723
  const result = [];
5724
- let index2 = -1;
5724
+ let index3 = -1;
5725
5725
  let start = 0;
5726
- while (++index2 < node2.children.length) {
5727
- const token = node2.children[index2];
5728
- if (index2 === node2.children.length - 1 || token.type === childType && expression.test(toString2(token))) {
5726
+ while (++index3 < node2.children.length) {
5727
+ const token = node2.children[index3];
5728
+ if (index3 === node2.children.length - 1 || token.type === childType && expression.test(toString2(token))) {
5729
5729
  const parent = {
5730
5730
  type: node2.type,
5731
- children: node2.children.slice(start, index2 + 1)
5731
+ children: node2.children.slice(start, index3 + 1)
5732
5732
  };
5733
5733
  const first = node2.children[start];
5734
5734
  const last = token;
@@ -5739,7 +5739,7 @@ function splitNode(node2, childType, expression) {
5739
5739
  };
5740
5740
  }
5741
5741
  result.push(parent);
5742
- start = index2 + 1;
5742
+ start = index3 + 1;
5743
5743
  }
5744
5744
  }
5745
5745
  return result;
@@ -5817,22 +5817,22 @@ function retextSmartypants(options) {
5817
5817
  open: settings.openingQuotes ? [settings.openingQuotes.double, settings.openingQuotes.single] : defaultOpeningQuotes
5818
5818
  };
5819
5819
  return function(tree) {
5820
- visit(tree, function(node2, position2, parent) {
5821
- let index2 = -1;
5822
- if (parent && position2 !== void 0 && (node2.type === "PunctuationNode" || node2.type === "SymbolNode")) {
5823
- while (++index2 < methods.length) {
5824
- const result = methods[index2](state, node2, position2, parent);
5820
+ visit(tree, function(node2, position3, parent) {
5821
+ let index3 = -1;
5822
+ if (parent && position3 !== void 0 && (node2.type === "PunctuationNode" || node2.type === "SymbolNode")) {
5823
+ while (++index3 < methods.length) {
5824
+ const result = methods[index3](state, node2, position3, parent);
5825
5825
  if (result === true) {
5826
5826
  console.log("drop", node2);
5827
- parent.children.splice(position2, 1);
5828
- return position2;
5827
+ parent.children.splice(position3, 1);
5828
+ return position3;
5829
5829
  }
5830
5830
  }
5831
5831
  }
5832
5832
  });
5833
5833
  };
5834
5834
  }
5835
- function backticksAll(state, node2, index2, parent) {
5835
+ function backticksAll(state, node2, index3, parent) {
5836
5836
  backticksDefault(state, node2);
5837
5837
  if (node2.value === "`") {
5838
5838
  node2.value = "\u2018";
@@ -5840,20 +5840,20 @@ function backticksAll(state, node2, index2, parent) {
5840
5840
  node2.value = "\u2019";
5841
5841
  }
5842
5842
  }
5843
- function backticksDefault(_, node2) {
5843
+ function backticksDefault(_2, node2) {
5844
5844
  if (node2.value === "``") {
5845
5845
  node2.value = "\u201C";
5846
5846
  } else if (node2.value === "''") {
5847
5847
  node2.value = "\u201D";
5848
5848
  }
5849
5849
  }
5850
- function dashesDefault(_, node2) {
5850
+ function dashesDefault(_2, node2) {
5851
5851
  if (node2.value === "--") {
5852
5852
  node2.value = "\u2014";
5853
5853
  }
5854
5854
  }
5855
- function dashesInverted(_, node2, index2, parent) {
5856
- const next = parent.children[index2 + 1];
5855
+ function dashesInverted(_2, node2, index3, parent) {
5856
+ const next = parent.children[index3 + 1];
5857
5857
  if (node2.value === "\u2014" && next && next.type === "PunctuationNode" && next.value === "-") {
5858
5858
  next.value = "\u2013";
5859
5859
  return true;
@@ -5864,8 +5864,8 @@ function dashesInverted(_, node2, index2, parent) {
5864
5864
  node2.value = "\u2014";
5865
5865
  }
5866
5866
  }
5867
- function dashesOldschool(_, node2, index2, parent) {
5868
- const next = parent.children[index2 + 1];
5867
+ function dashesOldschool(_2, node2, index3, parent) {
5868
+ const next = parent.children[index3 + 1];
5869
5869
  if (node2.value === "\u2013" && next && next.type === "PunctuationNode" && next.value === "-") {
5870
5870
  next.value = "\u2014";
5871
5871
  return true;
@@ -5876,26 +5876,26 @@ function dashesOldschool(_, node2, index2, parent) {
5876
5876
  node2.value = "\u2013";
5877
5877
  }
5878
5878
  }
5879
- function ellipsesDefault(_, node2, index2, parent) {
5880
- ellipsesSpaced(_, node2, index2, parent);
5881
- ellipsesUnspaced(_, node2);
5879
+ function ellipsesDefault(_2, node2, index3, parent) {
5880
+ ellipsesSpaced(_2, node2, index3, parent);
5881
+ ellipsesUnspaced(_2, node2);
5882
5882
  }
5883
- function ellipsesSpaced(_, node2, index2, parent) {
5883
+ function ellipsesSpaced(_2, node2, index3, parent) {
5884
5884
  const value = node2.value;
5885
5885
  const siblings = parent.children;
5886
5886
  if (!/^\.+$/.test(value)) {
5887
5887
  return;
5888
5888
  }
5889
5889
  const nodes = [];
5890
- let position2 = index2;
5890
+ let position3 = index3;
5891
5891
  let count = 1;
5892
- while (--position2 > 0) {
5893
- let sibling = siblings[position2];
5892
+ while (--position3 > 0) {
5893
+ let sibling = siblings[position3];
5894
5894
  if (sibling.type !== "WhiteSpaceNode") {
5895
5895
  break;
5896
5896
  }
5897
5897
  const queue = sibling;
5898
- sibling = siblings[--position2];
5898
+ sibling = siblings[--position3];
5899
5899
  if (sibling && (sibling.type === "PunctuationNode" || sibling.type === "SymbolNode") && /^\.+$/.test(sibling.value)) {
5900
5900
  nodes.push(queue, sibling);
5901
5901
  count++;
@@ -5906,24 +5906,24 @@ function ellipsesSpaced(_, node2, index2, parent) {
5906
5906
  if (count < 3) {
5907
5907
  return;
5908
5908
  }
5909
- siblings.splice(index2 - nodes.length, nodes.length);
5909
+ siblings.splice(index3 - nodes.length, nodes.length);
5910
5910
  node2.value = "\u2026";
5911
5911
  }
5912
- function ellipsesUnspaced(_, node2) {
5912
+ function ellipsesUnspaced(_2, node2) {
5913
5913
  if (/^\.{3,}$/.test(node2.value)) {
5914
5914
  node2.value = "\u2026";
5915
5915
  }
5916
5916
  }
5917
- function quotesDefault(state, node2, index2, parent) {
5917
+ function quotesDefault(state, node2, index3, parent) {
5918
5918
  const siblings = parent.children;
5919
5919
  const value = node2.value;
5920
5920
  if (value !== '"' && value !== "'") {
5921
5921
  return;
5922
5922
  }
5923
5923
  const quoteIndex = value === '"' ? 0 : 1;
5924
- const previous2 = siblings[index2 - 1];
5925
- const next = siblings[index2 + 1];
5926
- const nextNext = siblings[index2 + 2];
5924
+ const previous2 = siblings[index3 - 1];
5925
+ const next = siblings[index3 + 1];
5926
+ const nextNext = siblings[index3 + 2];
5927
5927
  const nextValue = next ? toString2(next) : "";
5928
5928
  if (next && (next.type === "PunctuationNode" || next.type === "SymbolNode") && (!nextNext || nextNext.type !== "WordNode")) {
5929
5929
  node2.value = state.close[quoteIndex];
@@ -5946,7 +5946,7 @@ function quotesDefault(state, node2, index2, parent) {
5946
5946
  // node_modules/remark-smartypants/dist/plugin.js
5947
5947
  var VISITED_NODES = /* @__PURE__ */ new Set(["text", "inlineCode", "paragraph"]);
5948
5948
  var IGNORED_HTML_ELEMENTS = /* @__PURE__ */ new Set(["style", "script"]);
5949
- var check = (node2, index2, parent) => {
5949
+ var check = (node2, index3, parent) => {
5950
5950
  return parent && (parent.type !== "mdxJsxTextElement" || "name" in parent && typeof parent.name === "string" && !IGNORED_HTML_ELEMENTS.has(parent.name)) && VISITED_NODES.has(node2.type) && (isLiteral(node2) || isParagraph(node2));
5951
5951
  };
5952
5952
  var remarkSmartypants = (options) => {
@@ -6000,104 +6000,6 @@ function isParagraph(node2) {
6000
6000
  }
6001
6001
  var plugin_default = remarkSmartypants;
6002
6002
 
6003
- // node_modules/github-slugger/regex.js
6004
- var regex = /[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;
6005
-
6006
- // node_modules/github-slugger/index.js
6007
- var own3 = Object.hasOwnProperty;
6008
- var BananaSlug = class {
6009
- /**
6010
- * Create a new slug class.
6011
- */
6012
- constructor() {
6013
- this.occurrences;
6014
- this.reset();
6015
- }
6016
- /**
6017
- * Generate a unique slug.
6018
- *
6019
- * Tracks previously generated slugs: repeated calls with the same value
6020
- * will result in different slugs.
6021
- * Use the `slug` function to get same slugs.
6022
- *
6023
- * @param {string} value
6024
- * String of text to slugify
6025
- * @param {boolean} [maintainCase=false]
6026
- * Keep the current case, otherwise make all lowercase
6027
- * @return {string}
6028
- * A unique slug string
6029
- */
6030
- slug(value, maintainCase) {
6031
- const self2 = this;
6032
- let result = slug(value, maintainCase === true);
6033
- const originalSlug = result;
6034
- while (own3.call(self2.occurrences, result)) {
6035
- self2.occurrences[originalSlug]++;
6036
- result = originalSlug + "-" + self2.occurrences[originalSlug];
6037
- }
6038
- self2.occurrences[result] = 0;
6039
- return result;
6040
- }
6041
- /**
6042
- * Reset - Forget all previous slugs
6043
- *
6044
- * @return void
6045
- */
6046
- reset() {
6047
- this.occurrences = /* @__PURE__ */ Object.create(null);
6048
- }
6049
- };
6050
- function slug(value, maintainCase) {
6051
- if (typeof value !== "string") return "";
6052
- if (!maintainCase) value = value.toLowerCase();
6053
- return value.replace(regex, "").replace(/ /g, "-");
6054
- }
6055
-
6056
- // node_modules/hast-util-heading-rank/lib/index.js
6057
- function headingRank(node2) {
6058
- const name = node2.type === "element" ? node2.tagName.toLowerCase() : "";
6059
- const code3 = name.length === 2 && name.charCodeAt(0) === 104 ? name.charCodeAt(1) : 0;
6060
- return code3 > 48 && code3 < 55 ? code3 - 48 : void 0;
6061
- }
6062
-
6063
- // node_modules/hast-util-to-string/lib/index.js
6064
- function toString3(node2) {
6065
- if ("children" in node2) {
6066
- return all2(node2);
6067
- }
6068
- return "value" in node2 ? node2.value : "";
6069
- }
6070
- function one2(node2) {
6071
- if (node2.type === "text") {
6072
- return node2.value;
6073
- }
6074
- return "children" in node2 ? all2(node2) : "";
6075
- }
6076
- function all2(node2) {
6077
- let index2 = -1;
6078
- const result = [];
6079
- while (++index2 < node2.children.length) {
6080
- result[index2] = one2(node2.children[index2]);
6081
- }
6082
- return result.join("");
6083
- }
6084
-
6085
- // node_modules/rehype-slug/lib/index.js
6086
- var emptyOptions4 = {};
6087
- var slugs = new BananaSlug();
6088
- function rehypeSlug(options) {
6089
- const settings = options || emptyOptions4;
6090
- const prefix = settings.prefix || "";
6091
- return function(tree) {
6092
- slugs.reset();
6093
- visit(tree, "element", function(node2) {
6094
- if (headingRank(node2) && !node2.properties.id) {
6095
- node2.properties.id = prefix + slugs.slug(toString3(node2));
6096
- }
6097
- });
6098
- };
6099
- }
6100
-
6101
6003
  // node_modules/@ungap/structured-clone/esm/types.js
6102
6004
  var VOID = -1;
6103
6005
  var PRIMITIVE = 0;
@@ -6124,60 +6026,60 @@ var guard = (name, init) => {
6124
6026
  }
6125
6027
  return new env[name](init);
6126
6028
  };
6127
- var deserializer = ($, _) => {
6128
- const as = (out, index2) => {
6129
- $.set(index2, out);
6029
+ var deserializer = ($2, _2) => {
6030
+ const as = (out, index3) => {
6031
+ $2.set(index3, out);
6130
6032
  return out;
6131
6033
  };
6132
- const unpair = (index2) => {
6133
- if ($.has(index2))
6134
- return $.get(index2);
6135
- const [type, value] = _[index2];
6034
+ const unpair = (index3) => {
6035
+ if ($2.has(index3))
6036
+ return $2.get(index3);
6037
+ const [type, value] = _2[index3];
6136
6038
  switch (type) {
6137
6039
  case PRIMITIVE:
6138
6040
  case VOID:
6139
- return as(value, index2);
6041
+ return as(value, index3);
6140
6042
  case ARRAY: {
6141
- const arr = as([], index2);
6142
- for (const index3 of value)
6143
- arr.push(unpair(index3));
6043
+ const arr = as([], index3);
6044
+ for (const index4 of value)
6045
+ arr.push(unpair(index4));
6144
6046
  return arr;
6145
6047
  }
6146
6048
  case OBJECT: {
6147
- const object = as({}, index2);
6148
- for (const [key, index3] of value)
6149
- object[unpair(key)] = unpair(index3);
6049
+ const object = as({}, index3);
6050
+ for (const [key, index4] of value)
6051
+ object[unpair(key)] = unpair(index4);
6150
6052
  return object;
6151
6053
  }
6152
6054
  case DATE:
6153
- return as(new Date(value), index2);
6055
+ return as(new Date(value), index3);
6154
6056
  case REGEXP: {
6155
6057
  const { source, flags } = value;
6156
- return as(new RegExp(source, flags), index2);
6058
+ return as(new RegExp(source, flags), index3);
6157
6059
  }
6158
6060
  case MAP: {
6159
- const map3 = as(/* @__PURE__ */ new Map(), index2);
6160
- for (const [key, index3] of value)
6161
- map3.set(unpair(key), unpair(index3));
6061
+ const map3 = as(/* @__PURE__ */ new Map(), index3);
6062
+ for (const [key, index4] of value)
6063
+ map3.set(unpair(key), unpair(index4));
6162
6064
  return map3;
6163
6065
  }
6164
6066
  case SET: {
6165
- const set = as(/* @__PURE__ */ new Set(), index2);
6166
- for (const index3 of value)
6167
- set.add(unpair(index3));
6067
+ const set = as(/* @__PURE__ */ new Set(), index3);
6068
+ for (const index4 of value)
6069
+ set.add(unpair(index4));
6168
6070
  return set;
6169
6071
  }
6170
6072
  case ERROR: {
6171
6073
  const { name, message } = value;
6172
6074
  return as(
6173
6075
  typeof env[name] === "function" ? guard(name, message) : new Error(message),
6174
- index2
6076
+ index3
6175
6077
  );
6176
6078
  }
6177
6079
  case BIGINT:
6178
- return as(BigInt(value), index2);
6080
+ return as(BigInt(value), index3);
6179
6081
  case "BigInt":
6180
- return as(Object(BigInt(value)), index2);
6082
+ return as(Object(BigInt(value)), index3);
6181
6083
  case "ArrayBuffer":
6182
6084
  return as(new Uint8Array(value).buffer, value);
6183
6085
  case "DataView": {
@@ -6185,7 +6087,7 @@ var deserializer = ($, _) => {
6185
6087
  return as(new DataView(buffer), value);
6186
6088
  }
6187
6089
  }
6188
- return as(guard(type, value), index2);
6090
+ return as(guard(type, value), index3);
6189
6091
  };
6190
6092
  return unpair;
6191
6093
  };
@@ -6193,13 +6095,13 @@ var deserialize = (serialized) => deserializer(/* @__PURE__ */ new Map(), serial
6193
6095
 
6194
6096
  // node_modules/@ungap/structured-clone/esm/serialize.js
6195
6097
  var EMPTY = "";
6196
- var { toString: toString4 } = {};
6098
+ var { toString: toString3 } = {};
6197
6099
  var { keys } = Object;
6198
6100
  var typeOf = (value) => {
6199
6101
  const type = typeof value;
6200
6102
  if (type !== "object" || !value)
6201
6103
  return [PRIMITIVE, type];
6202
- const asString = toString4.call(value).slice(8, -1);
6104
+ const asString = toString3.call(value).slice(8, -1);
6203
6105
  switch (asString) {
6204
6106
  case "Array":
6205
6107
  return [ARRAY, EMPTY];
@@ -6223,15 +6125,15 @@ var typeOf = (value) => {
6223
6125
  return [OBJECT, asString];
6224
6126
  };
6225
6127
  var shouldSkip = ([TYPE, type]) => TYPE === PRIMITIVE && (type === "function" || type === "symbol");
6226
- var serializer = (strict, json, $, _) => {
6128
+ var serializer = (strict, json, $2, _2) => {
6227
6129
  const as = (out, value) => {
6228
- const index2 = _.push(out) - 1;
6229
- $.set(value, index2);
6230
- return index2;
6130
+ const index3 = _2.push(out) - 1;
6131
+ $2.set(value, index3);
6132
+ return index3;
6231
6133
  };
6232
6134
  const pair = (value) => {
6233
- if ($.has(value))
6234
- return $.get(value);
6135
+ if ($2.has(value))
6136
+ return $2.get(value);
6235
6137
  let [TYPE, type] = typeOf(value);
6236
6138
  switch (TYPE) {
6237
6139
  case PRIMITIVE: {
@@ -6263,10 +6165,10 @@ var serializer = (strict, json, $, _) => {
6263
6165
  return as([type, [...spread]], value);
6264
6166
  }
6265
6167
  const arr = [];
6266
- const index2 = as([TYPE, arr], value);
6168
+ const index3 = as([TYPE, arr], value);
6267
6169
  for (const entry of value)
6268
6170
  arr.push(pair(entry));
6269
- return index2;
6171
+ return index3;
6270
6172
  }
6271
6173
  case OBJECT: {
6272
6174
  if (type) {
@@ -6282,12 +6184,12 @@ var serializer = (strict, json, $, _) => {
6282
6184
  if (json && "toJSON" in value)
6283
6185
  return pair(value.toJSON());
6284
6186
  const entries = [];
6285
- const index2 = as([TYPE, entries], value);
6187
+ const index3 = as([TYPE, entries], value);
6286
6188
  for (const key of keys(value)) {
6287
6189
  if (strict || !shouldSkip(typeOf(value[key])))
6288
6190
  entries.push([pair(key), pair(value[key])]);
6289
6191
  }
6290
- return index2;
6192
+ return index3;
6291
6193
  }
6292
6194
  case DATE:
6293
6195
  return as([TYPE, isNaN(value.getTime()) ? EMPTY : value.toISOString()], value);
@@ -6297,21 +6199,21 @@ var serializer = (strict, json, $, _) => {
6297
6199
  }
6298
6200
  case MAP: {
6299
6201
  const entries = [];
6300
- const index2 = as([TYPE, entries], value);
6202
+ const index3 = as([TYPE, entries], value);
6301
6203
  for (const [key, entry] of value) {
6302
6204
  if (strict || !(shouldSkip(typeOf(key)) || shouldSkip(typeOf(entry))))
6303
6205
  entries.push([pair(key), pair(entry)]);
6304
6206
  }
6305
- return index2;
6207
+ return index3;
6306
6208
  }
6307
6209
  case SET: {
6308
6210
  const entries = [];
6309
- const index2 = as([TYPE, entries], value);
6211
+ const index3 = as([TYPE, entries], value);
6310
6212
  for (const entry of value) {
6311
6213
  if (strict || !shouldSkip(typeOf(entry)))
6312
6214
  entries.push(pair(entry));
6313
6215
  }
6314
- return index2;
6216
+ return index3;
6315
6217
  }
6316
6218
  }
6317
6219
  const { message } = value;
@@ -6320,8 +6222,8 @@ var serializer = (strict, json, $, _) => {
6320
6222
  return pair;
6321
6223
  };
6322
6224
  var serialize2 = (value, { json, lossy } = {}) => {
6323
- const _ = [];
6324
- return serializer(!(json || lossy), !!json, /* @__PURE__ */ new Map(), _)(value), _;
6225
+ const _2 = [];
6226
+ return serializer(!(json || lossy), !!json, /* @__PURE__ */ new Map(), _2)(value), _2;
6325
6227
  };
6326
6228
 
6327
6229
  // node_modules/@ungap/structured-clone/esm/index.js
@@ -6330,6 +6232,13 @@ var esm_default = typeof structuredClone === "function" ? (
6330
6232
  (any, options) => options && ("json" in options || "lossy" in options) ? deserialize(serialize2(any, options)) : structuredClone(any)
6331
6233
  ) : (any, options) => deserialize(serialize2(any, options));
6332
6234
 
6235
+ // node_modules/hast-util-heading-rank/lib/index.js
6236
+ function headingRank(node2) {
6237
+ const name = node2.type === "element" ? node2.tagName.toLowerCase() : "";
6238
+ const code3 = name.length === 2 && name.charCodeAt(0) === 104 ? name.charCodeAt(1) : 0;
6239
+ return code3 > 48 && code3 < 55 ? code3 - 48 : void 0;
6240
+ }
6241
+
6333
6242
  // node_modules/hast-util-is-element/lib/index.js
6334
6243
  var convertElement = (
6335
6244
  // Note: overloads in JSDoc can’t yet use different `@template`s.
@@ -6362,16 +6271,16 @@ var convertElement = (
6362
6271
  })
6363
6272
  );
6364
6273
  function anyFactory2(tests) {
6365
- const checks = [];
6366
- let index2 = -1;
6367
- while (++index2 < tests.length) {
6368
- checks[index2] = convertElement(tests[index2]);
6274
+ const checks2 = [];
6275
+ let index3 = -1;
6276
+ while (++index3 < tests.length) {
6277
+ checks2[index3] = convertElement(tests[index3]);
6369
6278
  }
6370
6279
  return castFactory2(any);
6371
6280
  function any(...parameters) {
6372
- let index3 = -1;
6373
- while (++index3 < checks.length) {
6374
- if (checks[index3].apply(this, parameters)) return true;
6281
+ let index4 = -1;
6282
+ while (++index4 < checks2.length) {
6283
+ if (checks2[index4].apply(this, parameters)) return true;
6375
6284
  }
6376
6285
  return false;
6377
6286
  }
@@ -6384,12 +6293,12 @@ function tagNameFactory(check2) {
6384
6293
  }
6385
6294
  function castFactory2(testFunction) {
6386
6295
  return check2;
6387
- function check2(value, index2, parent) {
6296
+ function check2(value, index3, parent) {
6388
6297
  return Boolean(
6389
6298
  looksLikeAnElement(value) && testFunction.call(
6390
6299
  this,
6391
6300
  value,
6392
- typeof index2 === "number" ? index2 : void 0,
6301
+ typeof index3 === "number" ? index3 : void 0,
6393
6302
  parent || void 0
6394
6303
  )
6395
6304
  );
@@ -6411,9 +6320,9 @@ var contentDefaults = {
6411
6320
  properties: { className: ["icon", "icon-link"] },
6412
6321
  children: []
6413
6322
  };
6414
- var emptyOptions5 = {};
6323
+ var emptyOptions4 = {};
6415
6324
  function rehypeAutolinkHeadings(options) {
6416
- const settings = options || emptyOptions5;
6325
+ const settings = options || emptyOptions4;
6417
6326
  let properties = settings.properties;
6418
6327
  const headingOroperties = settings.headingProperties;
6419
6328
  const behavior = settings.behavior || "prepend";
@@ -6432,10 +6341,10 @@ function rehypeAutolinkHeadings(options) {
6432
6341
  }
6433
6342
  }
6434
6343
  return function(tree) {
6435
- visit(tree, "element", function(node2, index2, parent) {
6436
- if (headingRank(node2) && node2.properties.id && is2(node2, index2, parent)) {
6344
+ visit(tree, "element", function(node2, index3, parent) {
6345
+ if (headingRank(node2) && node2.properties.id && is2(node2, index3, parent)) {
6437
6346
  Object.assign(node2.properties, toProperties(headingOroperties, node2));
6438
- return method(node2, index2, parent);
6347
+ return method(node2, index3, parent);
6439
6348
  }
6440
6349
  });
6441
6350
  };
@@ -6446,8 +6355,8 @@ function rehypeAutolinkHeadings(options) {
6446
6355
  );
6447
6356
  return [SKIP];
6448
6357
  }
6449
- function around(node2, index2, parent) {
6450
- if (typeof index2 !== "number" || !parent) return;
6358
+ function around(node2, index3, parent) {
6359
+ if (typeof index3 !== "number" || !parent) return;
6451
6360
  const children = toChildren(content || contentDefaults, node2);
6452
6361
  const link2 = create(node2, toProperties(properties, node2), children);
6453
6362
  let nodes = behavior === "before" ? [link2, node2] : [node2, link2];
@@ -6458,8 +6367,8 @@ function rehypeAutolinkHeadings(options) {
6458
6367
  nodes = [grouping];
6459
6368
  }
6460
6369
  }
6461
- parent.children.splice(index2, 1, ...nodes);
6462
- return [SKIP, index2 + nodes.length];
6370
+ parent.children.splice(index3, 1, ...nodes);
6371
+ return [SKIP, index3 + nodes.length];
6463
6372
  }
6464
6373
  function wrap2(node2) {
6465
6374
  let before = node2.children;
@@ -6506,6 +6415,1775 @@ function toProperties(value, node2) {
6506
6415
  if (typeof value === "function") return value(node2);
6507
6416
  return value ? clone(value) : {};
6508
6417
  }
6418
+ "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Math.random().toString(8);
6419
+
6420
+ // node_modules/@quartz-community/utils/dist/index.js
6421
+ var __create2 = Object.create;
6422
+ var __defProp2 = Object.defineProperty;
6423
+ var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
6424
+ var __getOwnPropNames2 = Object.getOwnPropertyNames;
6425
+ var __getProtoOf2 = Object.getPrototypeOf;
6426
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
6427
+ var __commonJS2 = (cb, mod) => function __require() {
6428
+ return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
6429
+ };
6430
+ var __export = (target, all2) => {
6431
+ for (var name2 in all2)
6432
+ __defProp2(target, name2, { get: all2[name2], enumerable: true });
6433
+ };
6434
+ var __copyProps2 = (to, from, except, desc) => {
6435
+ if (from && typeof from === "object" || typeof from === "function") {
6436
+ for (let key of __getOwnPropNames2(from))
6437
+ if (!__hasOwnProp2.call(to, key) && key !== except)
6438
+ __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
6439
+ }
6440
+ return to;
6441
+ };
6442
+ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
6443
+ // If the importer is in node compatibility mode or this is not an ESM
6444
+ // file that has been converted to a CommonJS file using a Babel-
6445
+ // compatible transform (i.e. "__esModule" has not been set), then set
6446
+ // "default" to the CommonJS "module.exports" for node compatibility.
6447
+ __defProp2(target, "default", { value: mod, enumerable: true }),
6448
+ mod
6449
+ ));
6450
+ var require_cjs = __commonJS2({
6451
+ "node_modules/inline-style-parser/cjs/index.js"(exports, module) {
6452
+ var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
6453
+ var NEWLINE_REGEX = /\n/g;
6454
+ var WHITESPACE_REGEX = /^\s*/;
6455
+ var PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/;
6456
+ var COLON_REGEX = /^:\s*/;
6457
+ var VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/;
6458
+ var SEMICOLON_REGEX = /^[;\s]*/;
6459
+ var TRIM_REGEX = /^\s+|\s+$/g;
6460
+ var NEWLINE = "\n";
6461
+ var FORWARD_SLASH = "/";
6462
+ var ASTERISK = "*";
6463
+ var EMPTY_STRING = "";
6464
+ var TYPE_COMMENT = "comment";
6465
+ var TYPE_DECLARATION = "declaration";
6466
+ function index22(style, options) {
6467
+ if (typeof style !== "string") {
6468
+ throw new TypeError("First argument must be a string");
6469
+ }
6470
+ if (!style) return [];
6471
+ options = options || {};
6472
+ var lineno = 1;
6473
+ var column = 1;
6474
+ function updatePosition(str) {
6475
+ var lines = str.match(NEWLINE_REGEX);
6476
+ if (lines) lineno += lines.length;
6477
+ var i2 = str.lastIndexOf(NEWLINE);
6478
+ column = ~i2 ? str.length - i2 : column + str.length;
6479
+ }
6480
+ function position3() {
6481
+ var start2 = { line: lineno, column };
6482
+ return function(node2) {
6483
+ node2.position = new Position(start2);
6484
+ whitespace2();
6485
+ return node2;
6486
+ };
6487
+ }
6488
+ function Position(start2) {
6489
+ this.start = start2;
6490
+ this.end = { line: lineno, column };
6491
+ this.source = options.source;
6492
+ }
6493
+ Position.prototype.content = style;
6494
+ function error(msg) {
6495
+ var err = new Error(
6496
+ options.source + ":" + lineno + ":" + column + ": " + msg
6497
+ );
6498
+ err.reason = msg;
6499
+ err.filename = options.source;
6500
+ err.line = lineno;
6501
+ err.column = column;
6502
+ err.source = style;
6503
+ if (options.silent) ;
6504
+ else {
6505
+ throw err;
6506
+ }
6507
+ }
6508
+ function match(re2) {
6509
+ var m2 = re2.exec(style);
6510
+ if (!m2) return;
6511
+ var str = m2[0];
6512
+ updatePosition(str);
6513
+ style = style.slice(str.length);
6514
+ return m2;
6515
+ }
6516
+ function whitespace2() {
6517
+ match(WHITESPACE_REGEX);
6518
+ }
6519
+ function comments(rules) {
6520
+ var c2;
6521
+ rules = rules || [];
6522
+ while (c2 = comment()) {
6523
+ if (c2 !== false) {
6524
+ rules.push(c2);
6525
+ }
6526
+ }
6527
+ return rules;
6528
+ }
6529
+ function comment() {
6530
+ var pos = position3();
6531
+ if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;
6532
+ var i2 = 2;
6533
+ while (EMPTY_STRING != style.charAt(i2) && (ASTERISK != style.charAt(i2) || FORWARD_SLASH != style.charAt(i2 + 1))) {
6534
+ ++i2;
6535
+ }
6536
+ i2 += 2;
6537
+ if (EMPTY_STRING === style.charAt(i2 - 1)) {
6538
+ return error("End of comment missing");
6539
+ }
6540
+ var str = style.slice(2, i2 - 2);
6541
+ column += 2;
6542
+ updatePosition(str);
6543
+ style = style.slice(i2);
6544
+ column += 2;
6545
+ return pos({
6546
+ type: TYPE_COMMENT,
6547
+ comment: str
6548
+ });
6549
+ }
6550
+ function declaration() {
6551
+ var pos = position3();
6552
+ var prop = match(PROPERTY_REGEX);
6553
+ if (!prop) return;
6554
+ comment();
6555
+ if (!match(COLON_REGEX)) return error("property missing ':'");
6556
+ var val = match(VALUE_REGEX);
6557
+ var ret = pos({
6558
+ type: TYPE_DECLARATION,
6559
+ property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),
6560
+ value: val ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING)) : EMPTY_STRING
6561
+ });
6562
+ match(SEMICOLON_REGEX);
6563
+ return ret;
6564
+ }
6565
+ function declarations() {
6566
+ var decls = [];
6567
+ comments(decls);
6568
+ var decl;
6569
+ while (decl = declaration()) {
6570
+ if (decl !== false) {
6571
+ decls.push(decl);
6572
+ comments(decls);
6573
+ }
6574
+ }
6575
+ return decls;
6576
+ }
6577
+ whitespace2();
6578
+ return declarations();
6579
+ }
6580
+ function trim(str) {
6581
+ return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;
6582
+ }
6583
+ module.exports = index22;
6584
+ }
6585
+ });
6586
+ var require_cjs2 = __commonJS2({
6587
+ "node_modules/style-to-object/cjs/index.js"(exports) {
6588
+ var __importDefault = exports && exports.__importDefault || function(mod) {
6589
+ return mod && mod.__esModule ? mod : { "default": mod };
6590
+ };
6591
+ Object.defineProperty(exports, "__esModule", { value: true });
6592
+ exports.default = StyleToObject;
6593
+ var inline_style_parser_1 = __importDefault(require_cjs());
6594
+ function StyleToObject(style, iterator) {
6595
+ let styleObject = null;
6596
+ if (!style || typeof style !== "string") {
6597
+ return styleObject;
6598
+ }
6599
+ const declarations = (0, inline_style_parser_1.default)(style);
6600
+ const hasIterator = typeof iterator === "function";
6601
+ declarations.forEach((declaration) => {
6602
+ if (declaration.type !== "declaration") {
6603
+ return;
6604
+ }
6605
+ const { property, value } = declaration;
6606
+ if (hasIterator) {
6607
+ iterator(property, value, declaration);
6608
+ } else if (value) {
6609
+ styleObject = styleObject || {};
6610
+ styleObject[property] = value;
6611
+ }
6612
+ });
6613
+ return styleObject;
6614
+ }
6615
+ }
6616
+ });
6617
+ var require_utilities = __commonJS2({
6618
+ "node_modules/style-to-js/cjs/utilities.js"(exports) {
6619
+ Object.defineProperty(exports, "__esModule", { value: true });
6620
+ exports.camelCase = void 0;
6621
+ var CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9_-]+$/;
6622
+ var HYPHEN_REGEX = /-([a-z])/g;
6623
+ var NO_HYPHEN_REGEX = /^[^-]+$/;
6624
+ var VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/;
6625
+ var MS_VENDOR_PREFIX_REGEX = /^-(ms)-/;
6626
+ var skipCamelCase = function(property) {
6627
+ return !property || NO_HYPHEN_REGEX.test(property) || CUSTOM_PROPERTY_REGEX.test(property);
6628
+ };
6629
+ var capitalize2 = function(match, character) {
6630
+ return character.toUpperCase();
6631
+ };
6632
+ var trimHyphen = function(match, prefix) {
6633
+ return "".concat(prefix, "-");
6634
+ };
6635
+ var camelCase = function(property, options) {
6636
+ if (options === void 0) {
6637
+ options = {};
6638
+ }
6639
+ if (skipCamelCase(property)) {
6640
+ return property;
6641
+ }
6642
+ property = property.toLowerCase();
6643
+ if (options.reactCompat) {
6644
+ property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen);
6645
+ } else {
6646
+ property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen);
6647
+ }
6648
+ return property.replace(HYPHEN_REGEX, capitalize2);
6649
+ };
6650
+ exports.camelCase = camelCase;
6651
+ }
6652
+ });
6653
+ var require_cjs3 = __commonJS2({
6654
+ "node_modules/style-to-js/cjs/index.js"(exports, module) {
6655
+ var __importDefault = exports && exports.__importDefault || function(mod) {
6656
+ return mod && mod.__esModule ? mod : { "default": mod };
6657
+ };
6658
+ var style_to_object_1 = __importDefault(require_cjs2());
6659
+ var utilities_1 = require_utilities();
6660
+ function StyleToJS(style, options) {
6661
+ var output = {};
6662
+ if (!style || typeof style !== "string") {
6663
+ return output;
6664
+ }
6665
+ (0, style_to_object_1.default)(style, function(property, value) {
6666
+ if (property && value) {
6667
+ output[(0, utilities_1.camelCase)(property, options)] = value;
6668
+ }
6669
+ });
6670
+ return output;
6671
+ }
6672
+ StyleToJS.default = StyleToJS;
6673
+ module.exports = StyleToJS;
6674
+ }
6675
+ });
6676
+ var regex = /[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;
6677
+ var own3 = Object.hasOwnProperty;
6678
+ var BananaSlug = class {
6679
+ /**
6680
+ * Create a new slug class.
6681
+ */
6682
+ constructor() {
6683
+ this.occurrences;
6684
+ this.reset();
6685
+ }
6686
+ /**
6687
+ * Generate a unique slug.
6688
+ *
6689
+ * Tracks previously generated slugs: repeated calls with the same value
6690
+ * will result in different slugs.
6691
+ * Use the `slug` function to get same slugs.
6692
+ *
6693
+ * @param {string} value
6694
+ * String of text to slugify
6695
+ * @param {boolean} [maintainCase=false]
6696
+ * Keep the current case, otherwise make all lowercase
6697
+ * @return {string}
6698
+ * A unique slug string
6699
+ */
6700
+ slug(value, maintainCase) {
6701
+ const self2 = this;
6702
+ let result = slug(value, maintainCase === true);
6703
+ const originalSlug = result;
6704
+ while (own3.call(self2.occurrences, result)) {
6705
+ self2.occurrences[originalSlug]++;
6706
+ result = originalSlug + "-" + self2.occurrences[originalSlug];
6707
+ }
6708
+ self2.occurrences[result] = 0;
6709
+ return result;
6710
+ }
6711
+ /**
6712
+ * Reset - Forget all previous slugs
6713
+ *
6714
+ * @return void
6715
+ */
6716
+ reset() {
6717
+ this.occurrences = /* @__PURE__ */ Object.create(null);
6718
+ }
6719
+ };
6720
+ function slug(value, maintainCase) {
6721
+ if (typeof value !== "string") return "";
6722
+ if (!maintainCase) value = value.toLowerCase();
6723
+ return value.replace(regex, "").replace(/ /g, "-");
6724
+ }
6725
+ function slugHeading(text22) {
6726
+ return slug(text22);
6727
+ }
6728
+ var HeadingSlugger = class {
6729
+ slugger = new BananaSlug();
6730
+ /** Slug `text`, unique among the slugs this instance has returned. */
6731
+ slug(text22) {
6732
+ return this.slugger.slug(text22);
6733
+ }
6734
+ reset() {
6735
+ this.slugger.reset();
6736
+ }
6737
+ };
6738
+ function obsidianHeadingAnchor(text22) {
6739
+ return text22.replace(/[:|^#\\]/g, " ").replace(/\s+/g, " ").trim();
6740
+ }
6741
+ function resolveAnchorHref(href, ids) {
6742
+ if (!href.startsWith("#") || href.length === 1) return href;
6743
+ const raw = href.slice(1);
6744
+ let decoded = raw;
6745
+ try {
6746
+ decoded = decodeURIComponent(raw);
6747
+ } catch {
6748
+ }
6749
+ if (ids.has(raw) || ids.has(decoded)) return href;
6750
+ const bare = decoded.startsWith("^") ? decoded.slice(1) : decoded;
6751
+ if (ids.has(bare)) return "#" + bare;
6752
+ const slugged = slugHeading(bare);
6753
+ return ids.has(slugged) ? "#" + slugged : href;
6754
+ }
6755
+ var Schema = class {
6756
+ /**
6757
+ * @param {SchemaType['property']} property
6758
+ * Property.
6759
+ * @param {SchemaType['normal']} normal
6760
+ * Normal.
6761
+ * @param {Space | undefined} [space]
6762
+ * Space.
6763
+ * @returns
6764
+ * Schema.
6765
+ */
6766
+ constructor(property, normal, space) {
6767
+ this.normal = normal;
6768
+ this.property = property;
6769
+ if (space) {
6770
+ this.space = space;
6771
+ }
6772
+ }
6773
+ };
6774
+ Schema.prototype.normal = {};
6775
+ Schema.prototype.property = {};
6776
+ Schema.prototype.space = void 0;
6777
+ function merge(definitions, space) {
6778
+ const property = {};
6779
+ const normal = {};
6780
+ for (const definition2 of definitions) {
6781
+ Object.assign(property, definition2.property);
6782
+ Object.assign(normal, definition2.normal);
6783
+ }
6784
+ return new Schema(property, normal, space);
6785
+ }
6786
+ function normalize(value) {
6787
+ return value.toLowerCase();
6788
+ }
6789
+ var Info = class {
6790
+ /**
6791
+ * @param {string} property
6792
+ * Property.
6793
+ * @param {string} attribute
6794
+ * Attribute.
6795
+ * @returns
6796
+ * Info.
6797
+ */
6798
+ constructor(property, attribute) {
6799
+ this.attribute = attribute;
6800
+ this.property = property;
6801
+ }
6802
+ };
6803
+ Info.prototype.attribute = "";
6804
+ Info.prototype.booleanish = false;
6805
+ Info.prototype.boolean = false;
6806
+ Info.prototype.commaOrSpaceSeparated = false;
6807
+ Info.prototype.commaSeparated = false;
6808
+ Info.prototype.defined = false;
6809
+ Info.prototype.mustUseProperty = false;
6810
+ Info.prototype.number = false;
6811
+ Info.prototype.overloadedBoolean = false;
6812
+ Info.prototype.property = "";
6813
+ Info.prototype.spaceSeparated = false;
6814
+ Info.prototype.space = void 0;
6815
+ var types_exports = {};
6816
+ __export(types_exports, {
6817
+ boolean: () => boolean,
6818
+ booleanish: () => booleanish,
6819
+ commaOrSpaceSeparated: () => commaOrSpaceSeparated,
6820
+ commaSeparated: () => commaSeparated,
6821
+ number: () => number,
6822
+ overloadedBoolean: () => overloadedBoolean,
6823
+ spaceSeparated: () => spaceSeparated
6824
+ });
6825
+ var powers = 0;
6826
+ var boolean = increment();
6827
+ var booleanish = increment();
6828
+ var overloadedBoolean = increment();
6829
+ var number = increment();
6830
+ var spaceSeparated = increment();
6831
+ var commaSeparated = increment();
6832
+ var commaOrSpaceSeparated = increment();
6833
+ function increment() {
6834
+ return 2 ** ++powers;
6835
+ }
6836
+ var checks = (
6837
+ /** @type {ReadonlyArray<keyof typeof types>} */
6838
+ Object.keys(types_exports)
6839
+ );
6840
+ var DefinedInfo = class extends Info {
6841
+ /**
6842
+ * @constructor
6843
+ * @param {string} property
6844
+ * Property.
6845
+ * @param {string} attribute
6846
+ * Attribute.
6847
+ * @param {number | null | undefined} [mask]
6848
+ * Mask.
6849
+ * @param {Space | undefined} [space]
6850
+ * Space.
6851
+ * @returns
6852
+ * Info.
6853
+ */
6854
+ constructor(property, attribute, mask, space) {
6855
+ let index22 = -1;
6856
+ super(property, attribute);
6857
+ mark(this, "space", space);
6858
+ if (typeof mask === "number") {
6859
+ while (++index22 < checks.length) {
6860
+ const check2 = checks[index22];
6861
+ mark(this, checks[index22], (mask & types_exports[check2]) === types_exports[check2]);
6862
+ }
6863
+ }
6864
+ }
6865
+ };
6866
+ DefinedInfo.prototype.defined = true;
6867
+ function mark(values, key, value) {
6868
+ if (value) {
6869
+ values[key] = value;
6870
+ }
6871
+ }
6872
+ function create2(definition2) {
6873
+ const properties = {};
6874
+ const normals = {};
6875
+ for (const [property, value] of Object.entries(definition2.properties)) {
6876
+ const info = new DefinedInfo(
6877
+ property,
6878
+ definition2.transform(definition2.attributes || {}, property),
6879
+ value,
6880
+ definition2.space
6881
+ );
6882
+ if (definition2.mustUseProperty && definition2.mustUseProperty.includes(property)) {
6883
+ info.mustUseProperty = true;
6884
+ }
6885
+ properties[property] = info;
6886
+ normals[normalize(property)] = property;
6887
+ normals[normalize(info.attribute)] = property;
6888
+ }
6889
+ return new Schema(properties, normals, definition2.space);
6890
+ }
6891
+ var aria = create2({
6892
+ properties: {
6893
+ ariaActiveDescendant: null,
6894
+ ariaAtomic: booleanish,
6895
+ ariaAutoComplete: null,
6896
+ ariaBusy: booleanish,
6897
+ ariaChecked: booleanish,
6898
+ ariaColCount: number,
6899
+ ariaColIndex: number,
6900
+ ariaColSpan: number,
6901
+ ariaControls: spaceSeparated,
6902
+ ariaCurrent: null,
6903
+ ariaDescribedBy: spaceSeparated,
6904
+ ariaDetails: null,
6905
+ ariaDisabled: booleanish,
6906
+ ariaDropEffect: spaceSeparated,
6907
+ ariaErrorMessage: null,
6908
+ ariaExpanded: booleanish,
6909
+ ariaFlowTo: spaceSeparated,
6910
+ ariaGrabbed: booleanish,
6911
+ ariaHasPopup: null,
6912
+ ariaHidden: booleanish,
6913
+ ariaInvalid: null,
6914
+ ariaKeyShortcuts: null,
6915
+ ariaLabel: null,
6916
+ ariaLabelledBy: spaceSeparated,
6917
+ ariaLevel: number,
6918
+ ariaLive: null,
6919
+ ariaModal: booleanish,
6920
+ ariaMultiLine: booleanish,
6921
+ ariaMultiSelectable: booleanish,
6922
+ ariaOrientation: null,
6923
+ ariaOwns: spaceSeparated,
6924
+ ariaPlaceholder: null,
6925
+ ariaPosInSet: number,
6926
+ ariaPressed: booleanish,
6927
+ ariaReadOnly: booleanish,
6928
+ ariaRelevant: null,
6929
+ ariaRequired: booleanish,
6930
+ ariaRoleDescription: spaceSeparated,
6931
+ ariaRowCount: number,
6932
+ ariaRowIndex: number,
6933
+ ariaRowSpan: number,
6934
+ ariaSelected: booleanish,
6935
+ ariaSetSize: number,
6936
+ ariaSort: null,
6937
+ ariaValueMax: number,
6938
+ ariaValueMin: number,
6939
+ ariaValueNow: number,
6940
+ ariaValueText: null,
6941
+ role: null
6942
+ },
6943
+ transform(_2, property) {
6944
+ return property === "role" ? property : "aria-" + property.slice(4).toLowerCase();
6945
+ }
6946
+ });
6947
+ function caseSensitiveTransform(attributes, attribute) {
6948
+ return attribute in attributes ? attributes[attribute] : attribute;
6949
+ }
6950
+ function caseInsensitiveTransform(attributes, property) {
6951
+ return caseSensitiveTransform(attributes, property.toLowerCase());
6952
+ }
6953
+ var html2 = create2({
6954
+ attributes: {
6955
+ acceptcharset: "accept-charset",
6956
+ classname: "class",
6957
+ htmlfor: "for",
6958
+ httpequiv: "http-equiv"
6959
+ },
6960
+ mustUseProperty: ["checked", "multiple", "muted", "selected"],
6961
+ properties: {
6962
+ // Standard Properties.
6963
+ abbr: null,
6964
+ accept: commaSeparated,
6965
+ acceptCharset: spaceSeparated,
6966
+ accessKey: spaceSeparated,
6967
+ action: null,
6968
+ allow: null,
6969
+ allowFullScreen: boolean,
6970
+ allowPaymentRequest: boolean,
6971
+ allowUserMedia: boolean,
6972
+ alpha: boolean,
6973
+ alt: null,
6974
+ as: null,
6975
+ async: boolean,
6976
+ autoCapitalize: null,
6977
+ autoComplete: spaceSeparated,
6978
+ autoFocus: boolean,
6979
+ autoPlay: boolean,
6980
+ blocking: spaceSeparated,
6981
+ capture: null,
6982
+ charSet: null,
6983
+ checked: boolean,
6984
+ cite: null,
6985
+ className: spaceSeparated,
6986
+ closedBy: null,
6987
+ colorSpace: null,
6988
+ cols: number,
6989
+ colSpan: number,
6990
+ command: null,
6991
+ commandFor: null,
6992
+ content: null,
6993
+ contentEditable: booleanish,
6994
+ controls: boolean,
6995
+ controlsList: spaceSeparated,
6996
+ coords: number | commaSeparated,
6997
+ crossOrigin: null,
6998
+ data: null,
6999
+ dateTime: null,
7000
+ decoding: null,
7001
+ default: boolean,
7002
+ defer: boolean,
7003
+ dir: null,
7004
+ dirName: null,
7005
+ disabled: boolean,
7006
+ download: overloadedBoolean,
7007
+ draggable: booleanish,
7008
+ encType: null,
7009
+ enterKeyHint: null,
7010
+ fetchPriority: null,
7011
+ form: null,
7012
+ formAction: null,
7013
+ formEncType: null,
7014
+ formMethod: null,
7015
+ formNoValidate: boolean,
7016
+ formTarget: null,
7017
+ headers: spaceSeparated,
7018
+ height: number,
7019
+ hidden: overloadedBoolean,
7020
+ high: number,
7021
+ href: null,
7022
+ hrefLang: null,
7023
+ htmlFor: spaceSeparated,
7024
+ httpEquiv: spaceSeparated,
7025
+ id: null,
7026
+ imageSizes: null,
7027
+ imageSrcSet: null,
7028
+ inert: boolean,
7029
+ inputMode: null,
7030
+ integrity: null,
7031
+ is: null,
7032
+ isMap: boolean,
7033
+ itemId: null,
7034
+ itemProp: spaceSeparated,
7035
+ itemRef: spaceSeparated,
7036
+ itemScope: boolean,
7037
+ itemType: spaceSeparated,
7038
+ kind: null,
7039
+ label: null,
7040
+ lang: null,
7041
+ language: null,
7042
+ list: null,
7043
+ loading: null,
7044
+ loop: boolean,
7045
+ low: number,
7046
+ manifest: null,
7047
+ max: null,
7048
+ maxLength: number,
7049
+ media: null,
7050
+ method: null,
7051
+ min: null,
7052
+ minLength: number,
7053
+ multiple: boolean,
7054
+ muted: boolean,
7055
+ name: null,
7056
+ nonce: null,
7057
+ noModule: boolean,
7058
+ noValidate: boolean,
7059
+ onAbort: null,
7060
+ onAfterPrint: null,
7061
+ onAuxClick: null,
7062
+ onBeforeMatch: null,
7063
+ onBeforePrint: null,
7064
+ onBeforeToggle: null,
7065
+ onBeforeUnload: null,
7066
+ onBlur: null,
7067
+ onCancel: null,
7068
+ onCanPlay: null,
7069
+ onCanPlayThrough: null,
7070
+ onChange: null,
7071
+ onClick: null,
7072
+ onClose: null,
7073
+ onContextLost: null,
7074
+ onContextMenu: null,
7075
+ onContextRestored: null,
7076
+ onCopy: null,
7077
+ onCueChange: null,
7078
+ onCut: null,
7079
+ onDblClick: null,
7080
+ onDrag: null,
7081
+ onDragEnd: null,
7082
+ onDragEnter: null,
7083
+ onDragExit: null,
7084
+ onDragLeave: null,
7085
+ onDragOver: null,
7086
+ onDragStart: null,
7087
+ onDrop: null,
7088
+ onDurationChange: null,
7089
+ onEmptied: null,
7090
+ onEnded: null,
7091
+ onError: null,
7092
+ onFocus: null,
7093
+ onFormData: null,
7094
+ onHashChange: null,
7095
+ onInput: null,
7096
+ onInvalid: null,
7097
+ onKeyDown: null,
7098
+ onKeyPress: null,
7099
+ onKeyUp: null,
7100
+ onLanguageChange: null,
7101
+ onLoad: null,
7102
+ onLoadedData: null,
7103
+ onLoadedMetadata: null,
7104
+ onLoadEnd: null,
7105
+ onLoadStart: null,
7106
+ onMessage: null,
7107
+ onMessageError: null,
7108
+ onMouseDown: null,
7109
+ onMouseEnter: null,
7110
+ onMouseLeave: null,
7111
+ onMouseMove: null,
7112
+ onMouseOut: null,
7113
+ onMouseOver: null,
7114
+ onMouseUp: null,
7115
+ onOffline: null,
7116
+ onOnline: null,
7117
+ onPageHide: null,
7118
+ onPageShow: null,
7119
+ onPaste: null,
7120
+ onPause: null,
7121
+ onPlay: null,
7122
+ onPlaying: null,
7123
+ onPopState: null,
7124
+ onProgress: null,
7125
+ onRateChange: null,
7126
+ onRejectionHandled: null,
7127
+ onReset: null,
7128
+ onResize: null,
7129
+ onScroll: null,
7130
+ onScrollEnd: null,
7131
+ onSecurityPolicyViolation: null,
7132
+ onSeeked: null,
7133
+ onSeeking: null,
7134
+ onSelect: null,
7135
+ onSlotChange: null,
7136
+ onStalled: null,
7137
+ onStorage: null,
7138
+ onSubmit: null,
7139
+ onSuspend: null,
7140
+ onTimeUpdate: null,
7141
+ onToggle: null,
7142
+ onUnhandledRejection: null,
7143
+ onUnload: null,
7144
+ onVolumeChange: null,
7145
+ onWaiting: null,
7146
+ onWheel: null,
7147
+ open: boolean,
7148
+ optimum: number,
7149
+ pattern: null,
7150
+ ping: spaceSeparated,
7151
+ placeholder: null,
7152
+ playsInline: boolean,
7153
+ popover: null,
7154
+ popoverTarget: null,
7155
+ popoverTargetAction: null,
7156
+ poster: null,
7157
+ preload: null,
7158
+ readOnly: boolean,
7159
+ referrerPolicy: null,
7160
+ rel: spaceSeparated,
7161
+ required: boolean,
7162
+ reversed: boolean,
7163
+ rows: number,
7164
+ rowSpan: number,
7165
+ sandbox: spaceSeparated,
7166
+ scope: null,
7167
+ scoped: boolean,
7168
+ seamless: boolean,
7169
+ selected: boolean,
7170
+ shadowRootClonable: boolean,
7171
+ shadowRootCustomElementRegistry: boolean,
7172
+ shadowRootDelegatesFocus: boolean,
7173
+ shadowRootMode: null,
7174
+ shadowRootSerializable: boolean,
7175
+ shape: null,
7176
+ size: number,
7177
+ sizes: null,
7178
+ slot: null,
7179
+ span: number,
7180
+ spellCheck: booleanish,
7181
+ src: null,
7182
+ srcDoc: null,
7183
+ srcLang: null,
7184
+ srcSet: null,
7185
+ start: number,
7186
+ step: null,
7187
+ style: null,
7188
+ tabIndex: number,
7189
+ target: null,
7190
+ title: null,
7191
+ translate: null,
7192
+ type: null,
7193
+ typeMustMatch: boolean,
7194
+ useMap: null,
7195
+ value: booleanish,
7196
+ width: number,
7197
+ wrap: null,
7198
+ writingSuggestions: null,
7199
+ // Legacy.
7200
+ // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
7201
+ align: null,
7202
+ // Several. Use CSS `text-align` instead,
7203
+ aLink: null,
7204
+ // `<body>`. Use CSS `a:active {color}` instead
7205
+ archive: spaceSeparated,
7206
+ // `<object>`. List of URIs to archives
7207
+ axis: null,
7208
+ // `<td>` and `<th>`. Use `scope` on `<th>`
7209
+ background: null,
7210
+ // `<body>`. Use CSS `background-image` instead
7211
+ bgColor: null,
7212
+ // `<body>` and table elements. Use CSS `background-color` instead
7213
+ border: number,
7214
+ // `<table>`. Use CSS `border-width` instead,
7215
+ borderColor: null,
7216
+ // `<table>`. Use CSS `border-color` instead,
7217
+ bottomMargin: number,
7218
+ // `<body>`
7219
+ cellPadding: null,
7220
+ // `<table>`
7221
+ cellSpacing: null,
7222
+ // `<table>`
7223
+ char: null,
7224
+ // Several table elements. When `align=char`, sets the character to align on
7225
+ charOff: null,
7226
+ // Several table elements. When `char`, offsets the alignment
7227
+ classId: null,
7228
+ // `<object>`
7229
+ clear: null,
7230
+ // `<br>`. Use CSS `clear` instead
7231
+ code: null,
7232
+ // `<object>`
7233
+ codeBase: null,
7234
+ // `<object>`
7235
+ codeType: null,
7236
+ // `<object>`
7237
+ color: null,
7238
+ // `<font>` and `<hr>`. Use CSS instead
7239
+ compact: boolean,
7240
+ // Lists. Use CSS to reduce space between items instead
7241
+ declare: boolean,
7242
+ // `<object>`
7243
+ event: null,
7244
+ // `<script>`
7245
+ face: null,
7246
+ // `<font>`. Use CSS instead
7247
+ frame: null,
7248
+ // `<table>`
7249
+ frameBorder: null,
7250
+ // `<iframe>`. Use CSS `border` instead
7251
+ hSpace: number,
7252
+ // `<img>` and `<object>`
7253
+ leftMargin: number,
7254
+ // `<body>`
7255
+ link: null,
7256
+ // `<body>`. Use CSS `a:link {color: *}` instead
7257
+ longDesc: null,
7258
+ // `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
7259
+ lowSrc: null,
7260
+ // `<img>`. Use a `<picture>`
7261
+ marginHeight: number,
7262
+ // `<body>`
7263
+ marginWidth: number,
7264
+ // `<body>`
7265
+ noResize: boolean,
7266
+ // `<frame>`
7267
+ noHref: boolean,
7268
+ // `<area>`. Use no href instead of an explicit `nohref`
7269
+ noShade: boolean,
7270
+ // `<hr>`. Use background-color and height instead of borders
7271
+ noWrap: boolean,
7272
+ // `<td>` and `<th>`
7273
+ object: null,
7274
+ // `<applet>`
7275
+ profile: null,
7276
+ // `<head>`
7277
+ prompt: null,
7278
+ // `<isindex>`
7279
+ rev: null,
7280
+ // `<link>`
7281
+ rightMargin: number,
7282
+ // `<body>`
7283
+ rules: null,
7284
+ // `<table>`
7285
+ scheme: null,
7286
+ // `<meta>`
7287
+ scrolling: booleanish,
7288
+ // `<frame>`. Use overflow in the child context
7289
+ standby: null,
7290
+ // `<object>`
7291
+ summary: null,
7292
+ // `<table>`
7293
+ text: null,
7294
+ // `<body>`. Use CSS `color` instead
7295
+ topMargin: number,
7296
+ // `<body>`
7297
+ valueType: null,
7298
+ // `<param>`
7299
+ version: null,
7300
+ // `<html>`. Use a doctype.
7301
+ vAlign: null,
7302
+ // Several. Use CSS `vertical-align` instead
7303
+ vLink: null,
7304
+ // `<body>`. Use CSS `a:visited {color}` instead
7305
+ vSpace: number,
7306
+ // `<img>` and `<object>`
7307
+ // Non-standard Properties.
7308
+ allowTransparency: null,
7309
+ autoCorrect: null,
7310
+ autoSave: null,
7311
+ credentialless: boolean,
7312
+ disablePictureInPicture: boolean,
7313
+ disableRemotePlayback: boolean,
7314
+ exportParts: commaSeparated,
7315
+ part: spaceSeparated,
7316
+ prefix: null,
7317
+ property: null,
7318
+ results: number,
7319
+ security: null,
7320
+ unselectable: null
7321
+ },
7322
+ space: "html",
7323
+ transform: caseInsensitiveTransform
7324
+ });
7325
+ var svg = create2({
7326
+ attributes: {
7327
+ accentHeight: "accent-height",
7328
+ alignmentBaseline: "alignment-baseline",
7329
+ arabicForm: "arabic-form",
7330
+ baselineShift: "baseline-shift",
7331
+ capHeight: "cap-height",
7332
+ className: "class",
7333
+ clipPath: "clip-path",
7334
+ clipRule: "clip-rule",
7335
+ colorInterpolation: "color-interpolation",
7336
+ colorInterpolationFilters: "color-interpolation-filters",
7337
+ colorProfile: "color-profile",
7338
+ colorRendering: "color-rendering",
7339
+ crossOrigin: "crossorigin",
7340
+ dataType: "datatype",
7341
+ dominantBaseline: "dominant-baseline",
7342
+ enableBackground: "enable-background",
7343
+ fillOpacity: "fill-opacity",
7344
+ fillRule: "fill-rule",
7345
+ floodColor: "flood-color",
7346
+ floodOpacity: "flood-opacity",
7347
+ fontFamily: "font-family",
7348
+ fontSize: "font-size",
7349
+ fontSizeAdjust: "font-size-adjust",
7350
+ fontStretch: "font-stretch",
7351
+ fontStyle: "font-style",
7352
+ fontVariant: "font-variant",
7353
+ fontWeight: "font-weight",
7354
+ glyphName: "glyph-name",
7355
+ glyphOrientationHorizontal: "glyph-orientation-horizontal",
7356
+ glyphOrientationVertical: "glyph-orientation-vertical",
7357
+ hrefLang: "hreflang",
7358
+ horizAdvX: "horiz-adv-x",
7359
+ horizOriginX: "horiz-origin-x",
7360
+ horizOriginY: "horiz-origin-y",
7361
+ imageRendering: "image-rendering",
7362
+ letterSpacing: "letter-spacing",
7363
+ lightingColor: "lighting-color",
7364
+ markerEnd: "marker-end",
7365
+ markerMid: "marker-mid",
7366
+ markerStart: "marker-start",
7367
+ maskType: "mask-type",
7368
+ navDown: "nav-down",
7369
+ navDownLeft: "nav-down-left",
7370
+ navDownRight: "nav-down-right",
7371
+ navLeft: "nav-left",
7372
+ navNext: "nav-next",
7373
+ navPrev: "nav-prev",
7374
+ navRight: "nav-right",
7375
+ navUp: "nav-up",
7376
+ navUpLeft: "nav-up-left",
7377
+ navUpRight: "nav-up-right",
7378
+ onAbort: "onabort",
7379
+ onActivate: "onactivate",
7380
+ onAfterPrint: "onafterprint",
7381
+ onBeforePrint: "onbeforeprint",
7382
+ onBegin: "onbegin",
7383
+ onCancel: "oncancel",
7384
+ onCanPlay: "oncanplay",
7385
+ onCanPlayThrough: "oncanplaythrough",
7386
+ onChange: "onchange",
7387
+ onClick: "onclick",
7388
+ onClose: "onclose",
7389
+ onCopy: "oncopy",
7390
+ onCueChange: "oncuechange",
7391
+ onCut: "oncut",
7392
+ onDblClick: "ondblclick",
7393
+ onDrag: "ondrag",
7394
+ onDragEnd: "ondragend",
7395
+ onDragEnter: "ondragenter",
7396
+ onDragExit: "ondragexit",
7397
+ onDragLeave: "ondragleave",
7398
+ onDragOver: "ondragover",
7399
+ onDragStart: "ondragstart",
7400
+ onDrop: "ondrop",
7401
+ onDurationChange: "ondurationchange",
7402
+ onEmptied: "onemptied",
7403
+ onEnd: "onend",
7404
+ onEnded: "onended",
7405
+ onError: "onerror",
7406
+ onFocus: "onfocus",
7407
+ onFocusIn: "onfocusin",
7408
+ onFocusOut: "onfocusout",
7409
+ onHashChange: "onhashchange",
7410
+ onInput: "oninput",
7411
+ onInvalid: "oninvalid",
7412
+ onKeyDown: "onkeydown",
7413
+ onKeyPress: "onkeypress",
7414
+ onKeyUp: "onkeyup",
7415
+ onLoad: "onload",
7416
+ onLoadedData: "onloadeddata",
7417
+ onLoadedMetadata: "onloadedmetadata",
7418
+ onLoadStart: "onloadstart",
7419
+ onMessage: "onmessage",
7420
+ onMouseDown: "onmousedown",
7421
+ onMouseEnter: "onmouseenter",
7422
+ onMouseLeave: "onmouseleave",
7423
+ onMouseMove: "onmousemove",
7424
+ onMouseOut: "onmouseout",
7425
+ onMouseOver: "onmouseover",
7426
+ onMouseUp: "onmouseup",
7427
+ onMouseWheel: "onmousewheel",
7428
+ onOffline: "onoffline",
7429
+ onOnline: "ononline",
7430
+ onPageHide: "onpagehide",
7431
+ onPageShow: "onpageshow",
7432
+ onPaste: "onpaste",
7433
+ onPause: "onpause",
7434
+ onPlay: "onplay",
7435
+ onPlaying: "onplaying",
7436
+ onPopState: "onpopstate",
7437
+ onProgress: "onprogress",
7438
+ onRateChange: "onratechange",
7439
+ onRepeat: "onrepeat",
7440
+ onReset: "onreset",
7441
+ onResize: "onresize",
7442
+ onScroll: "onscroll",
7443
+ onSeeked: "onseeked",
7444
+ onSeeking: "onseeking",
7445
+ onSelect: "onselect",
7446
+ onShow: "onshow",
7447
+ onStalled: "onstalled",
7448
+ onStorage: "onstorage",
7449
+ onSubmit: "onsubmit",
7450
+ onSuspend: "onsuspend",
7451
+ onTimeUpdate: "ontimeupdate",
7452
+ onToggle: "ontoggle",
7453
+ onUnload: "onunload",
7454
+ onVolumeChange: "onvolumechange",
7455
+ onWaiting: "onwaiting",
7456
+ onZoom: "onzoom",
7457
+ overlinePosition: "overline-position",
7458
+ overlineThickness: "overline-thickness",
7459
+ paintOrder: "paint-order",
7460
+ panose1: "panose-1",
7461
+ pointerEvents: "pointer-events",
7462
+ referrerPolicy: "referrerpolicy",
7463
+ renderingIntent: "rendering-intent",
7464
+ shapeRendering: "shape-rendering",
7465
+ stopColor: "stop-color",
7466
+ stopOpacity: "stop-opacity",
7467
+ strikethroughPosition: "strikethrough-position",
7468
+ strikethroughThickness: "strikethrough-thickness",
7469
+ strokeDashArray: "stroke-dasharray",
7470
+ strokeDashOffset: "stroke-dashoffset",
7471
+ strokeLineCap: "stroke-linecap",
7472
+ strokeLineJoin: "stroke-linejoin",
7473
+ strokeMiterLimit: "stroke-miterlimit",
7474
+ strokeOpacity: "stroke-opacity",
7475
+ strokeWidth: "stroke-width",
7476
+ tabIndex: "tabindex",
7477
+ textAnchor: "text-anchor",
7478
+ textDecoration: "text-decoration",
7479
+ textRendering: "text-rendering",
7480
+ transformOrigin: "transform-origin",
7481
+ typeOf: "typeof",
7482
+ underlinePosition: "underline-position",
7483
+ underlineThickness: "underline-thickness",
7484
+ unicodeBidi: "unicode-bidi",
7485
+ unicodeRange: "unicode-range",
7486
+ unitsPerEm: "units-per-em",
7487
+ vAlphabetic: "v-alphabetic",
7488
+ vHanging: "v-hanging",
7489
+ vIdeographic: "v-ideographic",
7490
+ vMathematical: "v-mathematical",
7491
+ vectorEffect: "vector-effect",
7492
+ vertAdvY: "vert-adv-y",
7493
+ vertOriginX: "vert-origin-x",
7494
+ vertOriginY: "vert-origin-y",
7495
+ wordSpacing: "word-spacing",
7496
+ writingMode: "writing-mode",
7497
+ xHeight: "x-height",
7498
+ // These were camelcased in Tiny. Now lowercased in SVG 2
7499
+ playbackOrder: "playbackorder",
7500
+ timelineBegin: "timelinebegin"
7501
+ },
7502
+ properties: {
7503
+ about: commaOrSpaceSeparated,
7504
+ accentHeight: number,
7505
+ accumulate: null,
7506
+ additive: null,
7507
+ alignmentBaseline: null,
7508
+ alphabetic: number,
7509
+ amplitude: number,
7510
+ arabicForm: null,
7511
+ ascent: number,
7512
+ attributeName: null,
7513
+ attributeType: null,
7514
+ azimuth: number,
7515
+ bandwidth: null,
7516
+ baselineShift: null,
7517
+ baseFrequency: null,
7518
+ baseProfile: null,
7519
+ bbox: null,
7520
+ begin: null,
7521
+ bias: number,
7522
+ by: null,
7523
+ calcMode: null,
7524
+ capHeight: number,
7525
+ className: spaceSeparated,
7526
+ clip: null,
7527
+ clipPath: null,
7528
+ clipPathUnits: null,
7529
+ clipRule: null,
7530
+ color: null,
7531
+ colorInterpolation: null,
7532
+ colorInterpolationFilters: null,
7533
+ colorProfile: null,
7534
+ colorRendering: null,
7535
+ content: null,
7536
+ contentScriptType: null,
7537
+ contentStyleType: null,
7538
+ crossOrigin: null,
7539
+ cursor: null,
7540
+ cx: null,
7541
+ cy: null,
7542
+ d: null,
7543
+ dataType: null,
7544
+ defaultAction: null,
7545
+ descent: number,
7546
+ diffuseConstant: number,
7547
+ direction: null,
7548
+ display: null,
7549
+ dur: null,
7550
+ divisor: number,
7551
+ dominantBaseline: null,
7552
+ download: boolean,
7553
+ dx: null,
7554
+ dy: null,
7555
+ edgeMode: null,
7556
+ editable: null,
7557
+ elevation: number,
7558
+ enableBackground: null,
7559
+ end: null,
7560
+ event: null,
7561
+ exponent: number,
7562
+ externalResourcesRequired: null,
7563
+ fill: null,
7564
+ fillOpacity: number,
7565
+ fillRule: null,
7566
+ filter: null,
7567
+ filterRes: null,
7568
+ filterUnits: null,
7569
+ floodColor: null,
7570
+ floodOpacity: null,
7571
+ focusable: null,
7572
+ focusHighlight: null,
7573
+ fontFamily: null,
7574
+ fontSize: null,
7575
+ fontSizeAdjust: null,
7576
+ fontStretch: null,
7577
+ fontStyle: null,
7578
+ fontVariant: null,
7579
+ fontWeight: null,
7580
+ format: null,
7581
+ fr: null,
7582
+ from: null,
7583
+ fx: null,
7584
+ fy: null,
7585
+ g1: commaSeparated,
7586
+ g2: commaSeparated,
7587
+ glyphName: commaSeparated,
7588
+ glyphOrientationHorizontal: null,
7589
+ glyphOrientationVertical: null,
7590
+ glyphRef: null,
7591
+ gradientTransform: null,
7592
+ gradientUnits: null,
7593
+ handler: null,
7594
+ hanging: number,
7595
+ hatchContentUnits: null,
7596
+ hatchUnits: null,
7597
+ height: null,
7598
+ href: null,
7599
+ hrefLang: null,
7600
+ horizAdvX: number,
7601
+ horizOriginX: number,
7602
+ horizOriginY: number,
7603
+ id: null,
7604
+ ideographic: number,
7605
+ imageRendering: null,
7606
+ initialVisibility: null,
7607
+ in: null,
7608
+ in2: null,
7609
+ intercept: number,
7610
+ k: number,
7611
+ k1: number,
7612
+ k2: number,
7613
+ k3: number,
7614
+ k4: number,
7615
+ kernelMatrix: commaOrSpaceSeparated,
7616
+ kernelUnitLength: null,
7617
+ keyPoints: null,
7618
+ // SEMI_COLON_SEPARATED
7619
+ keySplines: null,
7620
+ // SEMI_COLON_SEPARATED
7621
+ keyTimes: null,
7622
+ // SEMI_COLON_SEPARATED
7623
+ kerning: null,
7624
+ lang: null,
7625
+ lengthAdjust: null,
7626
+ letterSpacing: null,
7627
+ lightingColor: null,
7628
+ limitingConeAngle: number,
7629
+ local: null,
7630
+ markerEnd: null,
7631
+ markerMid: null,
7632
+ markerStart: null,
7633
+ markerHeight: null,
7634
+ markerUnits: null,
7635
+ markerWidth: null,
7636
+ mask: null,
7637
+ maskContentUnits: null,
7638
+ maskType: null,
7639
+ maskUnits: null,
7640
+ mathematical: null,
7641
+ max: null,
7642
+ media: null,
7643
+ mediaCharacterEncoding: null,
7644
+ mediaContentEncodings: null,
7645
+ mediaSize: number,
7646
+ mediaTime: null,
7647
+ method: null,
7648
+ min: null,
7649
+ mode: null,
7650
+ name: null,
7651
+ navDown: null,
7652
+ navDownLeft: null,
7653
+ navDownRight: null,
7654
+ navLeft: null,
7655
+ navNext: null,
7656
+ navPrev: null,
7657
+ navRight: null,
7658
+ navUp: null,
7659
+ navUpLeft: null,
7660
+ navUpRight: null,
7661
+ numOctaves: null,
7662
+ observer: null,
7663
+ offset: null,
7664
+ onAbort: null,
7665
+ onActivate: null,
7666
+ onAfterPrint: null,
7667
+ onBeforePrint: null,
7668
+ onBegin: null,
7669
+ onCancel: null,
7670
+ onCanPlay: null,
7671
+ onCanPlayThrough: null,
7672
+ onChange: null,
7673
+ onClick: null,
7674
+ onClose: null,
7675
+ onCopy: null,
7676
+ onCueChange: null,
7677
+ onCut: null,
7678
+ onDblClick: null,
7679
+ onDrag: null,
7680
+ onDragEnd: null,
7681
+ onDragEnter: null,
7682
+ onDragExit: null,
7683
+ onDragLeave: null,
7684
+ onDragOver: null,
7685
+ onDragStart: null,
7686
+ onDrop: null,
7687
+ onDurationChange: null,
7688
+ onEmptied: null,
7689
+ onEnd: null,
7690
+ onEnded: null,
7691
+ onError: null,
7692
+ onFocus: null,
7693
+ onFocusIn: null,
7694
+ onFocusOut: null,
7695
+ onHashChange: null,
7696
+ onInput: null,
7697
+ onInvalid: null,
7698
+ onKeyDown: null,
7699
+ onKeyPress: null,
7700
+ onKeyUp: null,
7701
+ onLoad: null,
7702
+ onLoadedData: null,
7703
+ onLoadedMetadata: null,
7704
+ onLoadStart: null,
7705
+ onMessage: null,
7706
+ onMouseDown: null,
7707
+ onMouseEnter: null,
7708
+ onMouseLeave: null,
7709
+ onMouseMove: null,
7710
+ onMouseOut: null,
7711
+ onMouseOver: null,
7712
+ onMouseUp: null,
7713
+ onMouseWheel: null,
7714
+ onOffline: null,
7715
+ onOnline: null,
7716
+ onPageHide: null,
7717
+ onPageShow: null,
7718
+ onPaste: null,
7719
+ onPause: null,
7720
+ onPlay: null,
7721
+ onPlaying: null,
7722
+ onPopState: null,
7723
+ onProgress: null,
7724
+ onRateChange: null,
7725
+ onRepeat: null,
7726
+ onReset: null,
7727
+ onResize: null,
7728
+ onScroll: null,
7729
+ onSeeked: null,
7730
+ onSeeking: null,
7731
+ onSelect: null,
7732
+ onShow: null,
7733
+ onStalled: null,
7734
+ onStorage: null,
7735
+ onSubmit: null,
7736
+ onSuspend: null,
7737
+ onTimeUpdate: null,
7738
+ onToggle: null,
7739
+ onUnload: null,
7740
+ onVolumeChange: null,
7741
+ onWaiting: null,
7742
+ onZoom: null,
7743
+ opacity: null,
7744
+ operator: null,
7745
+ order: null,
7746
+ orient: null,
7747
+ orientation: null,
7748
+ origin: null,
7749
+ overflow: null,
7750
+ overlay: null,
7751
+ overlinePosition: number,
7752
+ overlineThickness: number,
7753
+ paintOrder: null,
7754
+ panose1: null,
7755
+ path: null,
7756
+ pathLength: number,
7757
+ patternContentUnits: null,
7758
+ patternTransform: null,
7759
+ patternUnits: null,
7760
+ phase: null,
7761
+ ping: spaceSeparated,
7762
+ pitch: null,
7763
+ playbackOrder: null,
7764
+ pointerEvents: null,
7765
+ points: null,
7766
+ pointsAtX: number,
7767
+ pointsAtY: number,
7768
+ pointsAtZ: number,
7769
+ preserveAlpha: null,
7770
+ preserveAspectRatio: null,
7771
+ primitiveUnits: null,
7772
+ propagate: null,
7773
+ property: commaOrSpaceSeparated,
7774
+ r: null,
7775
+ radius: null,
7776
+ referrerPolicy: null,
7777
+ refX: null,
7778
+ refY: null,
7779
+ rel: commaOrSpaceSeparated,
7780
+ rev: commaOrSpaceSeparated,
7781
+ renderingIntent: null,
7782
+ repeatCount: null,
7783
+ repeatDur: null,
7784
+ requiredExtensions: commaOrSpaceSeparated,
7785
+ requiredFeatures: commaOrSpaceSeparated,
7786
+ requiredFonts: commaOrSpaceSeparated,
7787
+ requiredFormats: commaOrSpaceSeparated,
7788
+ resource: null,
7789
+ restart: null,
7790
+ result: null,
7791
+ rotate: null,
7792
+ rx: null,
7793
+ ry: null,
7794
+ scale: null,
7795
+ seed: null,
7796
+ shapeRendering: null,
7797
+ side: null,
7798
+ slope: null,
7799
+ snapshotTime: null,
7800
+ specularConstant: number,
7801
+ specularExponent: number,
7802
+ spreadMethod: null,
7803
+ spacing: null,
7804
+ startOffset: null,
7805
+ stdDeviation: null,
7806
+ stemh: null,
7807
+ stemv: null,
7808
+ stitchTiles: null,
7809
+ stopColor: null,
7810
+ stopOpacity: null,
7811
+ strikethroughPosition: number,
7812
+ strikethroughThickness: number,
7813
+ string: null,
7814
+ stroke: null,
7815
+ strokeDashArray: commaOrSpaceSeparated,
7816
+ strokeDashOffset: null,
7817
+ strokeLineCap: null,
7818
+ strokeLineJoin: null,
7819
+ strokeMiterLimit: number,
7820
+ strokeOpacity: number,
7821
+ strokeWidth: null,
7822
+ style: null,
7823
+ surfaceScale: number,
7824
+ syncBehavior: null,
7825
+ syncBehaviorDefault: null,
7826
+ syncMaster: null,
7827
+ syncTolerance: null,
7828
+ syncToleranceDefault: null,
7829
+ systemLanguage: commaOrSpaceSeparated,
7830
+ tabIndex: number,
7831
+ tableValues: null,
7832
+ target: null,
7833
+ targetX: number,
7834
+ targetY: number,
7835
+ textAnchor: null,
7836
+ textDecoration: null,
7837
+ textRendering: null,
7838
+ textLength: null,
7839
+ timelineBegin: null,
7840
+ title: null,
7841
+ transformBehavior: null,
7842
+ type: null,
7843
+ typeOf: commaOrSpaceSeparated,
7844
+ to: null,
7845
+ transform: null,
7846
+ transformOrigin: null,
7847
+ u1: null,
7848
+ u2: null,
7849
+ underlinePosition: number,
7850
+ underlineThickness: number,
7851
+ unicode: null,
7852
+ unicodeBidi: null,
7853
+ unicodeRange: null,
7854
+ unitsPerEm: number,
7855
+ values: null,
7856
+ vAlphabetic: number,
7857
+ vMathematical: number,
7858
+ vectorEffect: null,
7859
+ vHanging: number,
7860
+ vIdeographic: number,
7861
+ version: null,
7862
+ vertAdvY: number,
7863
+ vertOriginX: number,
7864
+ vertOriginY: number,
7865
+ viewBox: null,
7866
+ viewTarget: null,
7867
+ visibility: null,
7868
+ width: null,
7869
+ widths: null,
7870
+ wordSpacing: null,
7871
+ writingMode: null,
7872
+ x: null,
7873
+ x1: null,
7874
+ x2: null,
7875
+ xChannelSelector: null,
7876
+ xHeight: number,
7877
+ y: null,
7878
+ y1: null,
7879
+ y2: null,
7880
+ yChannelSelector: null,
7881
+ z: null,
7882
+ zoomAndPan: null
7883
+ },
7884
+ space: "svg",
7885
+ transform: caseSensitiveTransform
7886
+ });
7887
+ var xlink = create2({
7888
+ properties: {
7889
+ xLinkActuate: null,
7890
+ xLinkArcRole: null,
7891
+ xLinkHref: null,
7892
+ xLinkRole: null,
7893
+ xLinkShow: null,
7894
+ xLinkTitle: null,
7895
+ xLinkType: null
7896
+ },
7897
+ space: "xlink",
7898
+ transform(_2, property) {
7899
+ return "xlink:" + property.slice(5).toLowerCase();
7900
+ }
7901
+ });
7902
+ var xmlns = create2({
7903
+ attributes: { xmlnsxlink: "xmlns:xlink" },
7904
+ properties: { xmlnsXLink: null, xmlns: null },
7905
+ space: "xmlns",
7906
+ transform: caseInsensitiveTransform
7907
+ });
7908
+ var xml = create2({
7909
+ properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
7910
+ space: "xml",
7911
+ transform(_2, property) {
7912
+ return "xml:" + property.slice(3).toLowerCase();
7913
+ }
7914
+ });
7915
+ merge([aria, html2, xlink, xmlns, xml], "html");
7916
+ merge([aria, svg, xlink, xmlns, xml], "svg");
7917
+ __toESM2(require_cjs3());
7918
+ function stringifyPosition2(value) {
7919
+ if (!value || typeof value !== "object") {
7920
+ return "";
7921
+ }
7922
+ if ("position" in value || "type" in value) {
7923
+ return position2(value.position);
7924
+ }
7925
+ if ("start" in value || "end" in value) {
7926
+ return position2(value);
7927
+ }
7928
+ if ("line" in value || "column" in value) {
7929
+ return point22(value);
7930
+ }
7931
+ return "";
7932
+ }
7933
+ function point22(point3) {
7934
+ return index2(point3 && point3.line) + ":" + index2(point3 && point3.column);
7935
+ }
7936
+ function position2(pos) {
7937
+ return point22(pos && pos.start) + "-" + point22(pos && pos.end);
7938
+ }
7939
+ function index2(value) {
7940
+ return value && typeof value === "number" ? value : 1;
7941
+ }
7942
+ var VFileMessage2 = class extends Error {
7943
+ /**
7944
+ * Create a message for `reason`.
7945
+ *
7946
+ * > 🪦 **Note**: also has obsolete signatures.
7947
+ *
7948
+ * @overload
7949
+ * @param {string} reason
7950
+ * @param {Options | null | undefined} [options]
7951
+ * @returns
7952
+ *
7953
+ * @overload
7954
+ * @param {string} reason
7955
+ * @param {Node | NodeLike | null | undefined} parent
7956
+ * @param {string | null | undefined} [origin]
7957
+ * @returns
7958
+ *
7959
+ * @overload
7960
+ * @param {string} reason
7961
+ * @param {Point | Position | null | undefined} place
7962
+ * @param {string | null | undefined} [origin]
7963
+ * @returns
7964
+ *
7965
+ * @overload
7966
+ * @param {string} reason
7967
+ * @param {string | null | undefined} [origin]
7968
+ * @returns
7969
+ *
7970
+ * @overload
7971
+ * @param {Error | VFileMessage} cause
7972
+ * @param {Node | NodeLike | null | undefined} parent
7973
+ * @param {string | null | undefined} [origin]
7974
+ * @returns
7975
+ *
7976
+ * @overload
7977
+ * @param {Error | VFileMessage} cause
7978
+ * @param {Point | Position | null | undefined} place
7979
+ * @param {string | null | undefined} [origin]
7980
+ * @returns
7981
+ *
7982
+ * @overload
7983
+ * @param {Error | VFileMessage} cause
7984
+ * @param {string | null | undefined} [origin]
7985
+ * @returns
7986
+ *
7987
+ * @param {Error | VFileMessage | string} causeOrReason
7988
+ * Reason for message, should use markdown.
7989
+ * @param {Node | NodeLike | Options | Point | Position | string | null | undefined} [optionsOrParentOrPlace]
7990
+ * Configuration (optional).
7991
+ * @param {string | null | undefined} [origin]
7992
+ * Place in code where the message originates (example:
7993
+ * `'my-package:my-rule'` or `'my-rule'`).
7994
+ * @returns
7995
+ * Instance of `VFileMessage`.
7996
+ */
7997
+ // eslint-disable-next-line complexity
7998
+ constructor(causeOrReason, optionsOrParentOrPlace, origin) {
7999
+ super();
8000
+ if (typeof optionsOrParentOrPlace === "string") {
8001
+ origin = optionsOrParentOrPlace;
8002
+ optionsOrParentOrPlace = void 0;
8003
+ }
8004
+ let reason = "";
8005
+ let options = {};
8006
+ let legacyCause = false;
8007
+ if (optionsOrParentOrPlace) {
8008
+ if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) {
8009
+ options = { place: optionsOrParentOrPlace };
8010
+ } else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) {
8011
+ options = { place: optionsOrParentOrPlace };
8012
+ } else if ("type" in optionsOrParentOrPlace) {
8013
+ options = {
8014
+ ancestors: [optionsOrParentOrPlace],
8015
+ place: optionsOrParentOrPlace.position
8016
+ };
8017
+ } else {
8018
+ options = { ...optionsOrParentOrPlace };
8019
+ }
8020
+ }
8021
+ if (typeof causeOrReason === "string") {
8022
+ reason = causeOrReason;
8023
+ } else if (!options.cause && causeOrReason) {
8024
+ legacyCause = true;
8025
+ reason = causeOrReason.message;
8026
+ options.cause = causeOrReason;
8027
+ }
8028
+ if (!options.ruleId && !options.source && typeof origin === "string") {
8029
+ const index22 = origin.indexOf(":");
8030
+ if (index22 === -1) {
8031
+ options.ruleId = origin;
8032
+ } else {
8033
+ options.source = origin.slice(0, index22);
8034
+ options.ruleId = origin.slice(index22 + 1);
8035
+ }
8036
+ }
8037
+ if (!options.place && options.ancestors && options.ancestors) {
8038
+ const parent = options.ancestors[options.ancestors.length - 1];
8039
+ if (parent) {
8040
+ options.place = parent.position;
8041
+ }
8042
+ }
8043
+ const start2 = options.place && "start" in options.place ? options.place.start : options.place;
8044
+ this.ancestors = options.ancestors || void 0;
8045
+ this.cause = options.cause || void 0;
8046
+ this.column = start2 ? start2.column : void 0;
8047
+ this.fatal = void 0;
8048
+ this.file = "";
8049
+ this.message = reason;
8050
+ this.line = start2 ? start2.line : void 0;
8051
+ this.name = stringifyPosition2(options.place) || "1:1";
8052
+ this.place = options.place || void 0;
8053
+ this.reason = this.message;
8054
+ this.ruleId = options.ruleId || void 0;
8055
+ this.source = options.source || void 0;
8056
+ this.stack = legacyCause && options.cause && typeof options.cause.stack === "string" ? options.cause.stack : "";
8057
+ this.actual = void 0;
8058
+ this.expected = void 0;
8059
+ this.note = void 0;
8060
+ this.url = void 0;
8061
+ }
8062
+ };
8063
+ VFileMessage2.prototype.file = "";
8064
+ VFileMessage2.prototype.name = "";
8065
+ VFileMessage2.prototype.reason = "";
8066
+ VFileMessage2.prototype.message = "";
8067
+ VFileMessage2.prototype.stack = "";
8068
+ VFileMessage2.prototype.column = void 0;
8069
+ VFileMessage2.prototype.line = void 0;
8070
+ VFileMessage2.prototype.ancestors = void 0;
8071
+ VFileMessage2.prototype.cause = void 0;
8072
+ VFileMessage2.prototype.fatal = void 0;
8073
+ VFileMessage2.prototype.place = void 0;
8074
+ VFileMessage2.prototype.ruleId = void 0;
8075
+ VFileMessage2.prototype.source = void 0;
8076
+
8077
+ // src/headingIds.ts
8078
+ var REWRITES_PROPERTY = "dataQuartzHeadingRewrites";
8079
+ var originalText = /* @__PURE__ */ new WeakMap();
8080
+ function eachMdastHeading(tree, fn) {
8081
+ if (tree.type === "heading") {
8082
+ fn(tree);
8083
+ return;
8084
+ }
8085
+ if ("children" in tree) for (const child of tree.children) eachMdastHeading(child, fn);
8086
+ }
8087
+ function eachMdastText(node2, fn) {
8088
+ if (node2.type === "text") fn(node2);
8089
+ if ("children" in node2) for (const child of node2.children) eachMdastText(child, fn);
8090
+ }
8091
+ function remarkRememberHeadingText() {
8092
+ return (tree) => {
8093
+ eachMdastHeading(
8094
+ tree,
8095
+ (heading2) => eachMdastText(heading2, (text3) => originalText.set(text3, text3.value))
8096
+ );
8097
+ };
8098
+ }
8099
+ function remarkRecordHeadingRewrites() {
8100
+ return (tree) => {
8101
+ eachMdastHeading(tree, (heading2) => {
8102
+ const rewrites = [];
8103
+ eachMdastText(heading2, (text3) => {
8104
+ const original = originalText.get(text3);
8105
+ if (original !== void 0 && original !== text3.value)
8106
+ rewrites.push([text3.value, original]);
8107
+ });
8108
+ if (rewrites.length === 0) return;
8109
+ heading2.data ??= {};
8110
+ heading2.data.hProperties = {
8111
+ ...heading2.data.hProperties,
8112
+ [REWRITES_PROPERTY]: JSON.stringify(rewrites)
8113
+ };
8114
+ });
8115
+ };
8116
+ }
8117
+ function eachElement(node2, fn) {
8118
+ if (node2.type === "element") fn(node2);
8119
+ if ("children" in node2) for (const child of node2.children) eachElement(child, fn);
8120
+ }
8121
+ var isHeading = (el) => /^h[1-6]$/.test(el.tagName);
8122
+ function takeRewrites(el) {
8123
+ const raw = el.properties[REWRITES_PROPERTY];
8124
+ delete el.properties[REWRITES_PROPERTY];
8125
+ if (typeof raw !== "string") return [];
8126
+ try {
8127
+ return JSON.parse(raw);
8128
+ } catch {
8129
+ return [];
8130
+ }
8131
+ }
8132
+ function headingText(el, rewrites = []) {
8133
+ const pending = [...rewrites];
8134
+ let text3 = "";
8135
+ const walk = (node2) => {
8136
+ if (node2.type === "text") {
8137
+ const i2 = pending.findIndex(([rewritten]) => rewritten === node2.value);
8138
+ if (i2 === -1) {
8139
+ text3 += node2.value;
8140
+ } else {
8141
+ text3 += pending[i2][1];
8142
+ pending.splice(i2, 1);
8143
+ }
8144
+ } else if ("children" in node2) {
8145
+ for (const child of node2.children) walk(child);
8146
+ }
8147
+ };
8148
+ walk(el);
8149
+ return text3;
8150
+ }
8151
+ function rehypeHeadingIds() {
8152
+ return (tree) => {
8153
+ const slugger = new HeadingSlugger();
8154
+ const slugged = [];
8155
+ eachElement(tree, (el) => {
8156
+ if (!isHeading(el)) return;
8157
+ const rewrites = takeRewrites(el);
8158
+ if (el.properties.id) return;
8159
+ const text3 = headingText(el, rewrites);
8160
+ el.properties.id = slugger.slug(text3);
8161
+ slugged.push({ el, text: text3 });
8162
+ });
8163
+ const ids = /* @__PURE__ */ new Set();
8164
+ eachElement(tree, (el) => {
8165
+ const id = el.properties.id;
8166
+ if (typeof id === "string" && id !== "") ids.add(id);
8167
+ });
8168
+ for (const { el, text: text3 } of slugged) {
8169
+ const alias = slugHeading(obsidianHeadingAnchor(text3));
8170
+ if (alias === "" || ids.has(alias)) continue;
8171
+ ids.add(alias);
8172
+ el.children.unshift({
8173
+ type: "element",
8174
+ tagName: "span",
8175
+ properties: { id: alias, className: ["heading-alias"] },
8176
+ children: []
8177
+ });
8178
+ }
8179
+ eachElement(tree, (el) => {
8180
+ const href = el.properties.href;
8181
+ if (el.tagName === "a" && typeof href === "string" && href.startsWith("#")) {
8182
+ el.properties.href = resolveAnchorHref(href, ids);
8183
+ }
8184
+ });
8185
+ };
8186
+ }
6509
8187
 
6510
8188
  // src/transformer.ts
6511
8189
  var defaultOptions = {
@@ -6517,12 +8195,13 @@ var GitHubFlavoredMarkdown = (userOpts) => {
6517
8195
  return {
6518
8196
  name: "GitHubFlavoredMarkdown",
6519
8197
  markdownPlugins() {
6520
- return opts.enableSmartyPants ? [remarkGfm, plugin_default] : [remarkGfm];
8198
+ if (!opts.enableSmartyPants) return [remarkGfm];
8199
+ return opts.linkHeadings ? [remarkGfm, remarkRememberHeadingText, plugin_default, remarkRecordHeadingRewrites] : [remarkGfm, plugin_default];
6521
8200
  },
6522
8201
  htmlPlugins() {
6523
8202
  if (opts.linkHeadings) {
6524
8203
  return [
6525
- rehypeSlug,
8204
+ rehypeHeadingIds,
6526
8205
  [
6527
8206
  rehypeAutolinkHeadings,
6528
8207
  {