@quartz-community/bases-page 0.2.0 → 0.2.2

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
@@ -1,10 +1,10 @@
1
1
  import { createRequire } from 'module';
2
- import { BasesBody_default, resolveBasesEntries, registerBuiltinViews, i18n, ViewSelector } from './chunk-4HXXKSJ4.js';
3
- export { BasesBody_default as BasesBody } from './chunk-4HXXKSJ4.js';
2
+ import { BasesBody_default, resolveBasesEntries, registerBuiltinViews, i18n, ViewSelector } from './chunk-3MNNFWJ7.js';
3
+ export { BasesBody_default as BasesBody } from './chunk-3MNNFWJ7.js';
4
4
  import { registerCustomViews, viewRegistry } from './chunk-2AUMER56.js';
5
5
  export { registerCustomViews, viewRegistry } from './chunk-2AUMER56.js';
6
- import { slugifyFilePath, k, S, l } from './chunk-X2AZ5GOJ.js';
7
- export { compile, evaluate, evaluateFilter, resolvePropertyValue, slugifyPath, transformLink } from './chunk-X2AZ5GOJ.js';
6
+ import { slugifyFilePath, k, S, l } from './chunk-Y4KGLVLV.js';
7
+ export { compile, evaluate, evaluateFilter, resolvePropertyValue, slugifyPath, transformLink } from './chunk-Y4KGLVLV.js';
8
8
  import { __commonJS, __require, __export, __toESM } from './chunk-TDUJOYTU.js';
9
9
  import default2, { join } from 'path';
10
10
  import default3 from 'process';
@@ -15,7 +15,7 @@ createRequire(import.meta.url);
15
15
 
16
16
  // node_modules/yaml/dist/nodes/identity.js
17
17
  var require_identity = __commonJS({
18
- "node_modules/yaml/dist/nodes/identity.js"(exports$1) {
18
+ "node_modules/yaml/dist/nodes/identity.js"(exports) {
19
19
  var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
20
20
  var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
21
21
  var MAP = /* @__PURE__ */ Symbol.for("yaml.map");
@@ -50,28 +50,28 @@ var require_identity = __commonJS({
50
50
  return false;
51
51
  }
52
52
  var hasAnchor = (node) => (isScalar(node) || isCollection(node)) && !!node.anchor;
53
- exports$1.ALIAS = ALIAS;
54
- exports$1.DOC = DOC;
55
- exports$1.MAP = MAP;
56
- exports$1.NODE_TYPE = NODE_TYPE;
57
- exports$1.PAIR = PAIR;
58
- exports$1.SCALAR = SCALAR;
59
- exports$1.SEQ = SEQ;
60
- exports$1.hasAnchor = hasAnchor;
61
- exports$1.isAlias = isAlias;
62
- exports$1.isCollection = isCollection;
63
- exports$1.isDocument = isDocument;
64
- exports$1.isMap = isMap;
65
- exports$1.isNode = isNode;
66
- exports$1.isPair = isPair;
67
- exports$1.isScalar = isScalar;
68
- exports$1.isSeq = isSeq;
53
+ exports.ALIAS = ALIAS;
54
+ exports.DOC = DOC;
55
+ exports.MAP = MAP;
56
+ exports.NODE_TYPE = NODE_TYPE;
57
+ exports.PAIR = PAIR;
58
+ exports.SCALAR = SCALAR;
59
+ exports.SEQ = SEQ;
60
+ exports.hasAnchor = hasAnchor;
61
+ exports.isAlias = isAlias;
62
+ exports.isCollection = isCollection;
63
+ exports.isDocument = isDocument;
64
+ exports.isMap = isMap;
65
+ exports.isNode = isNode;
66
+ exports.isPair = isPair;
67
+ exports.isScalar = isScalar;
68
+ exports.isSeq = isSeq;
69
69
  }
70
70
  });
71
71
 
72
72
  // node_modules/yaml/dist/visit.js
73
73
  var require_visit = __commonJS({
74
- "node_modules/yaml/dist/visit.js"(exports$1) {
74
+ "node_modules/yaml/dist/visit.js"(exports) {
75
75
  var identity = require_identity();
76
76
  var BREAK = /* @__PURE__ */ Symbol("break visit");
77
77
  var SKIP2 = /* @__PURE__ */ Symbol("skip children");
@@ -221,14 +221,14 @@ var require_visit = __commonJS({
221
221
  throw new Error(`Cannot replace node with ${pt} parent`);
222
222
  }
223
223
  }
224
- exports$1.visit = visit2;
225
- exports$1.visitAsync = visitAsync;
224
+ exports.visit = visit2;
225
+ exports.visitAsync = visitAsync;
226
226
  }
227
227
  });
228
228
 
229
229
  // node_modules/yaml/dist/doc/directives.js
230
230
  var require_directives = __commonJS({
231
- "node_modules/yaml/dist/doc/directives.js"(exports$1) {
231
+ "node_modules/yaml/dist/doc/directives.js"(exports) {
232
232
  var identity = require_identity();
233
233
  var visit2 = require_visit();
234
234
  var escapeChars = {
@@ -392,13 +392,13 @@ var require_directives = __commonJS({
392
392
  };
393
393
  Directives.defaultYaml = { explicit: false, version: "1.2" };
394
394
  Directives.defaultTags = { "!!": "tag:yaml.org,2002:" };
395
- exports$1.Directives = Directives;
395
+ exports.Directives = Directives;
396
396
  }
397
397
  });
398
398
 
399
399
  // node_modules/yaml/dist/doc/anchors.js
400
400
  var require_anchors = __commonJS({
401
- "node_modules/yaml/dist/doc/anchors.js"(exports$1) {
401
+ "node_modules/yaml/dist/doc/anchors.js"(exports) {
402
402
  var identity = require_identity();
403
403
  var visit2 = require_visit();
404
404
  function anchorIsValid(anchor) {
@@ -458,16 +458,16 @@ var require_anchors = __commonJS({
458
458
  sourceObjects
459
459
  };
460
460
  }
461
- exports$1.anchorIsValid = anchorIsValid;
462
- exports$1.anchorNames = anchorNames;
463
- exports$1.createNodeAnchors = createNodeAnchors;
464
- exports$1.findNewAnchor = findNewAnchor;
461
+ exports.anchorIsValid = anchorIsValid;
462
+ exports.anchorNames = anchorNames;
463
+ exports.createNodeAnchors = createNodeAnchors;
464
+ exports.findNewAnchor = findNewAnchor;
465
465
  }
466
466
  });
467
467
 
468
468
  // node_modules/yaml/dist/doc/applyReviver.js
469
469
  var require_applyReviver = __commonJS({
470
- "node_modules/yaml/dist/doc/applyReviver.js"(exports$1) {
470
+ "node_modules/yaml/dist/doc/applyReviver.js"(exports) {
471
471
  function applyReviver(reviver, obj, key, val) {
472
472
  if (val && typeof val === "object") {
473
473
  if (Array.isArray(val)) {
@@ -510,13 +510,13 @@ var require_applyReviver = __commonJS({
510
510
  }
511
511
  return reviver.call(obj, key, val);
512
512
  }
513
- exports$1.applyReviver = applyReviver;
513
+ exports.applyReviver = applyReviver;
514
514
  }
515
515
  });
516
516
 
517
517
  // node_modules/yaml/dist/nodes/toJS.js
518
518
  var require_toJS = __commonJS({
519
- "node_modules/yaml/dist/nodes/toJS.js"(exports$1) {
519
+ "node_modules/yaml/dist/nodes/toJS.js"(exports) {
520
520
  var identity = require_identity();
521
521
  function toJS(value, arg, ctx) {
522
522
  if (Array.isArray(value))
@@ -539,13 +539,13 @@ var require_toJS = __commonJS({
539
539
  return Number(value);
540
540
  return value;
541
541
  }
542
- exports$1.toJS = toJS;
542
+ exports.toJS = toJS;
543
543
  }
544
544
  });
545
545
 
546
546
  // node_modules/yaml/dist/nodes/Node.js
547
547
  var require_Node = __commonJS({
548
- "node_modules/yaml/dist/nodes/Node.js"(exports$1) {
548
+ "node_modules/yaml/dist/nodes/Node.js"(exports) {
549
549
  var applyReviver = require_applyReviver();
550
550
  var identity = require_identity();
551
551
  var toJS = require_toJS();
@@ -579,13 +579,13 @@ var require_Node = __commonJS({
579
579
  return typeof reviver === "function" ? applyReviver.applyReviver(reviver, { "": res }, "", res) : res;
580
580
  }
581
581
  };
582
- exports$1.NodeBase = NodeBase;
582
+ exports.NodeBase = NodeBase;
583
583
  }
584
584
  });
585
585
 
586
586
  // node_modules/yaml/dist/nodes/Alias.js
587
587
  var require_Alias = __commonJS({
588
- "node_modules/yaml/dist/nodes/Alias.js"(exports$1) {
588
+ "node_modules/yaml/dist/nodes/Alias.js"(exports) {
589
589
  var anchors = require_anchors();
590
590
  var visit2 = require_visit();
591
591
  var identity = require_identity();
@@ -606,6 +606,8 @@ var require_Alias = __commonJS({
606
606
  * instance of the `source` anchor before this node.
607
607
  */
608
608
  resolve(doc, ctx) {
609
+ if (ctx?.maxAliasCount === 0)
610
+ throw new ReferenceError("Alias resolution is disabled");
609
611
  let nodes;
610
612
  if (ctx?.aliasResolveCache) {
611
613
  nodes = ctx.aliasResolveCache;
@@ -692,13 +694,13 @@ var require_Alias = __commonJS({
692
694
  }
693
695
  return 1;
694
696
  }
695
- exports$1.Alias = Alias;
697
+ exports.Alias = Alias;
696
698
  }
697
699
  });
698
700
 
699
701
  // node_modules/yaml/dist/nodes/Scalar.js
700
702
  var require_Scalar = __commonJS({
701
- "node_modules/yaml/dist/nodes/Scalar.js"(exports$1) {
703
+ "node_modules/yaml/dist/nodes/Scalar.js"(exports) {
702
704
  var identity = require_identity();
703
705
  var Node = require_Node();
704
706
  var toJS = require_toJS();
@@ -720,14 +722,14 @@ var require_Scalar = __commonJS({
720
722
  Scalar.PLAIN = "PLAIN";
721
723
  Scalar.QUOTE_DOUBLE = "QUOTE_DOUBLE";
722
724
  Scalar.QUOTE_SINGLE = "QUOTE_SINGLE";
723
- exports$1.Scalar = Scalar;
724
- exports$1.isScalarValue = isScalarValue;
725
+ exports.Scalar = Scalar;
726
+ exports.isScalarValue = isScalarValue;
725
727
  }
726
728
  });
727
729
 
728
730
  // node_modules/yaml/dist/doc/createNode.js
729
731
  var require_createNode = __commonJS({
730
- "node_modules/yaml/dist/doc/createNode.js"(exports$1) {
732
+ "node_modules/yaml/dist/doc/createNode.js"(exports) {
731
733
  var Alias = require_Alias();
732
734
  var identity = require_identity();
733
735
  var Scalar = require_Scalar();
@@ -795,13 +797,13 @@ var require_createNode = __commonJS({
795
797
  ref.node = node;
796
798
  return node;
797
799
  }
798
- exports$1.createNode = createNode;
800
+ exports.createNode = createNode;
799
801
  }
800
802
  });
801
803
 
802
804
  // node_modules/yaml/dist/nodes/Collection.js
803
805
  var require_Collection = __commonJS({
804
- "node_modules/yaml/dist/nodes/Collection.js"(exports$1) {
806
+ "node_modules/yaml/dist/nodes/Collection.js"(exports) {
805
807
  var createNode = require_createNode();
806
808
  var identity = require_identity();
807
809
  var Node = require_Node();
@@ -935,15 +937,15 @@ var require_Collection = __commonJS({
935
937
  }
936
938
  }
937
939
  };
938
- exports$1.Collection = Collection;
939
- exports$1.collectionFromPath = collectionFromPath;
940
- exports$1.isEmptyPath = isEmptyPath;
940
+ exports.Collection = Collection;
941
+ exports.collectionFromPath = collectionFromPath;
942
+ exports.isEmptyPath = isEmptyPath;
941
943
  }
942
944
  });
943
945
 
944
946
  // node_modules/yaml/dist/stringify/stringifyComment.js
945
947
  var require_stringifyComment = __commonJS({
946
- "node_modules/yaml/dist/stringify/stringifyComment.js"(exports$1) {
948
+ "node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
947
949
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
948
950
  function indentComment(comment, indent) {
949
951
  if (/^\n+$/.test(comment))
@@ -951,15 +953,15 @@ var require_stringifyComment = __commonJS({
951
953
  return indent ? comment.replace(/^(?! *$)/gm, indent) : comment;
952
954
  }
953
955
  var lineComment = (str, indent, comment) => str.endsWith("\n") ? indentComment(comment, indent) : comment.includes("\n") ? "\n" + indentComment(comment, indent) : (str.endsWith(" ") ? "" : " ") + comment;
954
- exports$1.indentComment = indentComment;
955
- exports$1.lineComment = lineComment;
956
- exports$1.stringifyComment = stringifyComment;
956
+ exports.indentComment = indentComment;
957
+ exports.lineComment = lineComment;
958
+ exports.stringifyComment = stringifyComment;
957
959
  }
958
960
  });
959
961
 
960
962
  // node_modules/yaml/dist/stringify/foldFlowLines.js
961
963
  var require_foldFlowLines = __commonJS({
962
- "node_modules/yaml/dist/stringify/foldFlowLines.js"(exports$1) {
964
+ "node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
963
965
  var FOLD_FLOW = "flow";
964
966
  var FOLD_BLOCK = "block";
965
967
  var FOLD_QUOTED = "quoted";
@@ -1085,16 +1087,16 @@ ${indent}${text.slice(fold + 1, end2)}`;
1085
1087
  }
1086
1088
  return end;
1087
1089
  }
1088
- exports$1.FOLD_BLOCK = FOLD_BLOCK;
1089
- exports$1.FOLD_FLOW = FOLD_FLOW;
1090
- exports$1.FOLD_QUOTED = FOLD_QUOTED;
1091
- exports$1.foldFlowLines = foldFlowLines;
1090
+ exports.FOLD_BLOCK = FOLD_BLOCK;
1091
+ exports.FOLD_FLOW = FOLD_FLOW;
1092
+ exports.FOLD_QUOTED = FOLD_QUOTED;
1093
+ exports.foldFlowLines = foldFlowLines;
1092
1094
  }
1093
1095
  });
1094
1096
 
1095
1097
  // node_modules/yaml/dist/stringify/stringifyString.js
1096
1098
  var require_stringifyString = __commonJS({
1097
- "node_modules/yaml/dist/stringify/stringifyString.js"(exports$1) {
1099
+ "node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
1098
1100
  var Scalar = require_Scalar();
1099
1101
  var foldFlowLines = require_foldFlowLines();
1100
1102
  var getFoldOptions = (ctx, isBlock) => ({
@@ -1370,13 +1372,13 @@ ${indent}`);
1370
1372
  }
1371
1373
  return res;
1372
1374
  }
1373
- exports$1.stringifyString = stringifyString;
1375
+ exports.stringifyString = stringifyString;
1374
1376
  }
1375
1377
  });
1376
1378
 
1377
1379
  // node_modules/yaml/dist/stringify/stringify.js
1378
1380
  var require_stringify = __commonJS({
1379
- "node_modules/yaml/dist/stringify/stringify.js"(exports$1) {
1381
+ "node_modules/yaml/dist/stringify/stringify.js"(exports) {
1380
1382
  var anchors = require_anchors();
1381
1383
  var identity = require_identity();
1382
1384
  var stringifyComment = require_stringifyComment();
@@ -1492,14 +1494,14 @@ var require_stringify = __commonJS({
1492
1494
  return identity.isScalar(node) || str[0] === "{" || str[0] === "[" ? `${props} ${str}` : `${props}
1493
1495
  ${ctx.indent}${str}`;
1494
1496
  }
1495
- exports$1.createStringifyContext = createStringifyContext;
1496
- exports$1.stringify = stringify;
1497
+ exports.createStringifyContext = createStringifyContext;
1498
+ exports.stringify = stringify;
1497
1499
  }
1498
1500
  });
1499
1501
 
1500
1502
  // node_modules/yaml/dist/stringify/stringifyPair.js
1501
1503
  var require_stringifyPair = __commonJS({
1502
- "node_modules/yaml/dist/stringify/stringifyPair.js"(exports$1) {
1504
+ "node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
1503
1505
  var identity = require_identity();
1504
1506
  var Scalar = require_Scalar();
1505
1507
  var stringify = require_stringify();
@@ -1625,13 +1627,13 @@ ${ctx.indent}`;
1625
1627
  }
1626
1628
  return str;
1627
1629
  }
1628
- exports$1.stringifyPair = stringifyPair;
1630
+ exports.stringifyPair = stringifyPair;
1629
1631
  }
1630
1632
  });
1631
1633
 
1632
1634
  // node_modules/yaml/dist/log.js
1633
1635
  var require_log = __commonJS({
1634
- "node_modules/yaml/dist/log.js"(exports$1) {
1636
+ "node_modules/yaml/dist/log.js"(exports) {
1635
1637
  var node_process = __require("process");
1636
1638
  function debug(logLevel, ...messages) {
1637
1639
  if (logLevel === "debug")
@@ -1645,14 +1647,14 @@ var require_log = __commonJS({
1645
1647
  console.warn(warning);
1646
1648
  }
1647
1649
  }
1648
- exports$1.debug = debug;
1649
- exports$1.warn = warn;
1650
+ exports.debug = debug;
1651
+ exports.warn = warn;
1650
1652
  }
1651
1653
  });
1652
1654
 
1653
1655
  // node_modules/yaml/dist/schema/yaml-1.1/merge.js
1654
1656
  var require_merge = __commonJS({
1655
- "node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports$1) {
1657
+ "node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
1656
1658
  var identity = require_identity();
1657
1659
  var Scalar = require_Scalar();
1658
1660
  var MERGE_KEY = "<<";
@@ -1668,18 +1670,18 @@ var require_merge = __commonJS({
1668
1670
  };
1669
1671
  var isMergeKey = (ctx, key) => (merge2.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge2.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge2.tag && tag.default);
1670
1672
  function addMergeToJSMap(ctx, map, value) {
1671
- value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
1672
- if (identity.isSeq(value))
1673
- for (const it of value.items)
1673
+ const source = resolveAliasValue(ctx, value);
1674
+ if (identity.isSeq(source))
1675
+ for (const it of source.items)
1674
1676
  mergeValue(ctx, map, it);
1675
- else if (Array.isArray(value))
1676
- for (const it of value)
1677
+ else if (Array.isArray(source))
1678
+ for (const it of source)
1677
1679
  mergeValue(ctx, map, it);
1678
1680
  else
1679
- mergeValue(ctx, map, value);
1681
+ mergeValue(ctx, map, source);
1680
1682
  }
1681
1683
  function mergeValue(ctx, map, value) {
1682
- const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
1684
+ const source = resolveAliasValue(ctx, value);
1683
1685
  if (!identity.isMap(source))
1684
1686
  throw new Error("Merge sources must be maps or map aliases");
1685
1687
  const srcMap = source.toJSON(null, ctx, Map);
@@ -1700,15 +1702,18 @@ var require_merge = __commonJS({
1700
1702
  }
1701
1703
  return map;
1702
1704
  }
1703
- exports$1.addMergeToJSMap = addMergeToJSMap;
1704
- exports$1.isMergeKey = isMergeKey;
1705
- exports$1.merge = merge2;
1705
+ function resolveAliasValue(ctx, value) {
1706
+ return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
1707
+ }
1708
+ exports.addMergeToJSMap = addMergeToJSMap;
1709
+ exports.isMergeKey = isMergeKey;
1710
+ exports.merge = merge2;
1706
1711
  }
1707
1712
  });
1708
1713
 
1709
1714
  // node_modules/yaml/dist/nodes/addPairToJSMap.js
1710
1715
  var require_addPairToJSMap = __commonJS({
1711
- "node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports$1) {
1716
+ "node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
1712
1717
  var log = require_log();
1713
1718
  var merge2 = require_merge();
1714
1719
  var stringify = require_stringify();
@@ -1765,13 +1770,13 @@ var require_addPairToJSMap = __commonJS({
1765
1770
  }
1766
1771
  return JSON.stringify(jsKey);
1767
1772
  }
1768
- exports$1.addPairToJSMap = addPairToJSMap;
1773
+ exports.addPairToJSMap = addPairToJSMap;
1769
1774
  }
1770
1775
  });
1771
1776
 
1772
1777
  // node_modules/yaml/dist/nodes/Pair.js
1773
1778
  var require_Pair = __commonJS({
1774
- "node_modules/yaml/dist/nodes/Pair.js"(exports$1) {
1779
+ "node_modules/yaml/dist/nodes/Pair.js"(exports) {
1775
1780
  var createNode = require_createNode();
1776
1781
  var stringifyPair = require_stringifyPair();
1777
1782
  var addPairToJSMap = require_addPairToJSMap();
@@ -1803,14 +1808,14 @@ var require_Pair = __commonJS({
1803
1808
  return ctx?.doc ? stringifyPair.stringifyPair(this, ctx, onComment, onChompKeep) : JSON.stringify(this);
1804
1809
  }
1805
1810
  };
1806
- exports$1.Pair = Pair;
1807
- exports$1.createPair = createPair;
1811
+ exports.Pair = Pair;
1812
+ exports.createPair = createPair;
1808
1813
  }
1809
1814
  });
1810
1815
 
1811
1816
  // node_modules/yaml/dist/stringify/stringifyCollection.js
1812
1817
  var require_stringifyCollection = __commonJS({
1813
- "node_modules/yaml/dist/stringify/stringifyCollection.js"(exports$1) {
1818
+ "node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
1814
1819
  var identity = require_identity();
1815
1820
  var stringify = require_stringify();
1816
1821
  var stringifyComment = require_stringifyComment();
@@ -1954,13 +1959,13 @@ ${indent}${end}`;
1954
1959
  lines.push(ic.trimStart());
1955
1960
  }
1956
1961
  }
1957
- exports$1.stringifyCollection = stringifyCollection;
1962
+ exports.stringifyCollection = stringifyCollection;
1958
1963
  }
1959
1964
  });
1960
1965
 
1961
1966
  // node_modules/yaml/dist/nodes/YAMLMap.js
1962
1967
  var require_YAMLMap = __commonJS({
1963
- "node_modules/yaml/dist/nodes/YAMLMap.js"(exports$1) {
1968
+ "node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
1964
1969
  var stringifyCollection = require_stringifyCollection();
1965
1970
  var addPairToJSMap = require_addPairToJSMap();
1966
1971
  var Collection = require_Collection();
@@ -2096,14 +2101,14 @@ var require_YAMLMap = __commonJS({
2096
2101
  });
2097
2102
  }
2098
2103
  };
2099
- exports$1.YAMLMap = YAMLMap;
2100
- exports$1.findPair = findPair;
2104
+ exports.YAMLMap = YAMLMap;
2105
+ exports.findPair = findPair;
2101
2106
  }
2102
2107
  });
2103
2108
 
2104
2109
  // node_modules/yaml/dist/schema/common/map.js
2105
2110
  var require_map = __commonJS({
2106
- "node_modules/yaml/dist/schema/common/map.js"(exports$1) {
2111
+ "node_modules/yaml/dist/schema/common/map.js"(exports) {
2107
2112
  var identity = require_identity();
2108
2113
  var YAMLMap = require_YAMLMap();
2109
2114
  var map = {
@@ -2118,13 +2123,13 @@ var require_map = __commonJS({
2118
2123
  },
2119
2124
  createNode: (schema, obj, ctx) => YAMLMap.YAMLMap.from(schema, obj, ctx)
2120
2125
  };
2121
- exports$1.map = map;
2126
+ exports.map = map;
2122
2127
  }
2123
2128
  });
2124
2129
 
2125
2130
  // node_modules/yaml/dist/nodes/YAMLSeq.js
2126
2131
  var require_YAMLSeq = __commonJS({
2127
- "node_modules/yaml/dist/nodes/YAMLSeq.js"(exports$1) {
2132
+ "node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
2128
2133
  var createNode = require_createNode();
2129
2134
  var stringifyCollection = require_stringifyCollection();
2130
2135
  var Collection = require_Collection();
@@ -2233,13 +2238,13 @@ var require_YAMLSeq = __commonJS({
2233
2238
  idx = Number(idx);
2234
2239
  return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
2235
2240
  }
2236
- exports$1.YAMLSeq = YAMLSeq;
2241
+ exports.YAMLSeq = YAMLSeq;
2237
2242
  }
2238
2243
  });
2239
2244
 
2240
2245
  // node_modules/yaml/dist/schema/common/seq.js
2241
2246
  var require_seq = __commonJS({
2242
- "node_modules/yaml/dist/schema/common/seq.js"(exports$1) {
2247
+ "node_modules/yaml/dist/schema/common/seq.js"(exports) {
2243
2248
  var identity = require_identity();
2244
2249
  var YAMLSeq = require_YAMLSeq();
2245
2250
  var seq = {
@@ -2254,13 +2259,13 @@ var require_seq = __commonJS({
2254
2259
  },
2255
2260
  createNode: (schema, obj, ctx) => YAMLSeq.YAMLSeq.from(schema, obj, ctx)
2256
2261
  };
2257
- exports$1.seq = seq;
2262
+ exports.seq = seq;
2258
2263
  }
2259
2264
  });
2260
2265
 
2261
2266
  // node_modules/yaml/dist/schema/common/string.js
2262
2267
  var require_string = __commonJS({
2263
- "node_modules/yaml/dist/schema/common/string.js"(exports$1) {
2268
+ "node_modules/yaml/dist/schema/common/string.js"(exports) {
2264
2269
  var stringifyString = require_stringifyString();
2265
2270
  var string = {
2266
2271
  identify: (value) => typeof value === "string",
@@ -2272,13 +2277,13 @@ var require_string = __commonJS({
2272
2277
  return stringifyString.stringifyString(item, ctx, onComment, onChompKeep);
2273
2278
  }
2274
2279
  };
2275
- exports$1.string = string;
2280
+ exports.string = string;
2276
2281
  }
2277
2282
  });
2278
2283
 
2279
2284
  // node_modules/yaml/dist/schema/common/null.js
2280
2285
  var require_null = __commonJS({
2281
- "node_modules/yaml/dist/schema/common/null.js"(exports$1) {
2286
+ "node_modules/yaml/dist/schema/common/null.js"(exports) {
2282
2287
  var Scalar = require_Scalar();
2283
2288
  var nullTag = {
2284
2289
  identify: (value) => value == null,
@@ -2289,13 +2294,13 @@ var require_null = __commonJS({
2289
2294
  resolve: () => new Scalar.Scalar(null),
2290
2295
  stringify: ({ source }, ctx) => typeof source === "string" && nullTag.test.test(source) ? source : ctx.options.nullStr
2291
2296
  };
2292
- exports$1.nullTag = nullTag;
2297
+ exports.nullTag = nullTag;
2293
2298
  }
2294
2299
  });
2295
2300
 
2296
2301
  // node_modules/yaml/dist/schema/core/bool.js
2297
2302
  var require_bool = __commonJS({
2298
- "node_modules/yaml/dist/schema/core/bool.js"(exports$1) {
2303
+ "node_modules/yaml/dist/schema/core/bool.js"(exports) {
2299
2304
  var Scalar = require_Scalar();
2300
2305
  var boolTag = {
2301
2306
  identify: (value) => typeof value === "boolean",
@@ -2312,13 +2317,13 @@ var require_bool = __commonJS({
2312
2317
  return value ? ctx.options.trueStr : ctx.options.falseStr;
2313
2318
  }
2314
2319
  };
2315
- exports$1.boolTag = boolTag;
2320
+ exports.boolTag = boolTag;
2316
2321
  }
2317
2322
  });
2318
2323
 
2319
2324
  // node_modules/yaml/dist/stringify/stringifyNumber.js
2320
2325
  var require_stringifyNumber = __commonJS({
2321
- "node_modules/yaml/dist/stringify/stringifyNumber.js"(exports$1) {
2326
+ "node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
2322
2327
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2323
2328
  if (typeof value === "bigint")
2324
2329
  return String(value);
@@ -2326,7 +2331,7 @@ var require_stringifyNumber = __commonJS({
2326
2331
  if (!isFinite(num))
2327
2332
  return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
2328
2333
  let n = Object.is(value, -0) ? "-0" : JSON.stringify(value);
2329
- if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n)) {
2334
+ if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
2330
2335
  let i2 = n.indexOf(".");
2331
2336
  if (i2 < 0) {
2332
2337
  i2 = n.length;
@@ -2338,13 +2343,13 @@ var require_stringifyNumber = __commonJS({
2338
2343
  }
2339
2344
  return n;
2340
2345
  }
2341
- exports$1.stringifyNumber = stringifyNumber;
2346
+ exports.stringifyNumber = stringifyNumber;
2342
2347
  }
2343
2348
  });
2344
2349
 
2345
2350
  // node_modules/yaml/dist/schema/core/float.js
2346
2351
  var require_float = __commonJS({
2347
- "node_modules/yaml/dist/schema/core/float.js"(exports$1) {
2352
+ "node_modules/yaml/dist/schema/core/float.js"(exports) {
2348
2353
  var Scalar = require_Scalar();
2349
2354
  var stringifyNumber = require_stringifyNumber();
2350
2355
  var floatNaN = {
@@ -2381,15 +2386,15 @@ var require_float = __commonJS({
2381
2386
  },
2382
2387
  stringify: stringifyNumber.stringifyNumber
2383
2388
  };
2384
- exports$1.float = float;
2385
- exports$1.floatExp = floatExp;
2386
- exports$1.floatNaN = floatNaN;
2389
+ exports.float = float;
2390
+ exports.floatExp = floatExp;
2391
+ exports.floatNaN = floatNaN;
2387
2392
  }
2388
2393
  });
2389
2394
 
2390
2395
  // node_modules/yaml/dist/schema/core/int.js
2391
2396
  var require_int = __commonJS({
2392
- "node_modules/yaml/dist/schema/core/int.js"(exports$1) {
2397
+ "node_modules/yaml/dist/schema/core/int.js"(exports) {
2393
2398
  var stringifyNumber = require_stringifyNumber();
2394
2399
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
2395
2400
  var intResolve = (str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix);
@@ -2425,15 +2430,15 @@ var require_int = __commonJS({
2425
2430
  resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt),
2426
2431
  stringify: (node) => intStringify(node, 16, "0x")
2427
2432
  };
2428
- exports$1.int = int;
2429
- exports$1.intHex = intHex;
2430
- exports$1.intOct = intOct;
2433
+ exports.int = int;
2434
+ exports.intHex = intHex;
2435
+ exports.intOct = intOct;
2431
2436
  }
2432
2437
  });
2433
2438
 
2434
2439
  // node_modules/yaml/dist/schema/core/schema.js
2435
2440
  var require_schema = __commonJS({
2436
- "node_modules/yaml/dist/schema/core/schema.js"(exports$1) {
2441
+ "node_modules/yaml/dist/schema/core/schema.js"(exports) {
2437
2442
  var map = require_map();
2438
2443
  var _null = require_null();
2439
2444
  var seq = require_seq();
@@ -2454,13 +2459,13 @@ var require_schema = __commonJS({
2454
2459
  float.floatExp,
2455
2460
  float.float
2456
2461
  ];
2457
- exports$1.schema = schema;
2462
+ exports.schema = schema;
2458
2463
  }
2459
2464
  });
2460
2465
 
2461
2466
  // node_modules/yaml/dist/schema/json/schema.js
2462
2467
  var require_schema2 = __commonJS({
2463
- "node_modules/yaml/dist/schema/json/schema.js"(exports$1) {
2468
+ "node_modules/yaml/dist/schema/json/schema.js"(exports) {
2464
2469
  var Scalar = require_Scalar();
2465
2470
  var map = require_map();
2466
2471
  var seq = require_seq();
@@ -2520,13 +2525,13 @@ var require_schema2 = __commonJS({
2520
2525
  }
2521
2526
  };
2522
2527
  var schema = [map.map, seq.seq].concat(jsonScalars, jsonError);
2523
- exports$1.schema = schema;
2528
+ exports.schema = schema;
2524
2529
  }
2525
2530
  });
2526
2531
 
2527
2532
  // node_modules/yaml/dist/schema/yaml-1.1/binary.js
2528
2533
  var require_binary = __commonJS({
2529
- "node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports$1) {
2534
+ "node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
2530
2535
  var node_buffer = __require("buffer");
2531
2536
  var Scalar = require_Scalar();
2532
2537
  var stringifyString = require_stringifyString();
@@ -2585,13 +2590,13 @@ var require_binary = __commonJS({
2585
2590
  return stringifyString.stringifyString({ comment, type, value: str }, ctx, onComment, onChompKeep);
2586
2591
  }
2587
2592
  };
2588
- exports$1.binary = binary;
2593
+ exports.binary = binary;
2589
2594
  }
2590
2595
  });
2591
2596
 
2592
2597
  // node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2593
2598
  var require_pairs = __commonJS({
2594
- "node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports$1) {
2599
+ "node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
2595
2600
  var identity = require_identity();
2596
2601
  var Pair = require_Pair();
2597
2602
  var Scalar = require_Scalar();
@@ -2660,15 +2665,15 @@ ${cn.comment}` : item.comment;
2660
2665
  resolve: resolvePairs,
2661
2666
  createNode: createPairs
2662
2667
  };
2663
- exports$1.createPairs = createPairs;
2664
- exports$1.pairs = pairs;
2665
- exports$1.resolvePairs = resolvePairs;
2668
+ exports.createPairs = createPairs;
2669
+ exports.pairs = pairs;
2670
+ exports.resolvePairs = resolvePairs;
2666
2671
  }
2667
2672
  });
2668
2673
 
2669
2674
  // node_modules/yaml/dist/schema/yaml-1.1/omap.js
2670
2675
  var require_omap = __commonJS({
2671
- "node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports$1) {
2676
+ "node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
2672
2677
  var identity = require_identity();
2673
2678
  var toJS = require_toJS();
2674
2679
  var YAMLMap = require_YAMLMap();
@@ -2738,14 +2743,14 @@ var require_omap = __commonJS({
2738
2743
  },
2739
2744
  createNode: (schema, iterable, ctx) => YAMLOMap.from(schema, iterable, ctx)
2740
2745
  };
2741
- exports$1.YAMLOMap = YAMLOMap;
2742
- exports$1.omap = omap;
2746
+ exports.YAMLOMap = YAMLOMap;
2747
+ exports.omap = omap;
2743
2748
  }
2744
2749
  });
2745
2750
 
2746
2751
  // node_modules/yaml/dist/schema/yaml-1.1/bool.js
2747
2752
  var require_bool2 = __commonJS({
2748
- "node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports$1) {
2753
+ "node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
2749
2754
  var Scalar = require_Scalar();
2750
2755
  function boolStringify({ value, source }, ctx) {
2751
2756
  const boolObj = value ? trueTag : falseTag;
@@ -2769,14 +2774,14 @@ var require_bool2 = __commonJS({
2769
2774
  resolve: () => new Scalar.Scalar(false),
2770
2775
  stringify: boolStringify
2771
2776
  };
2772
- exports$1.falseTag = falseTag;
2773
- exports$1.trueTag = trueTag;
2777
+ exports.falseTag = falseTag;
2778
+ exports.trueTag = trueTag;
2774
2779
  }
2775
2780
  });
2776
2781
 
2777
2782
  // node_modules/yaml/dist/schema/yaml-1.1/float.js
2778
2783
  var require_float2 = __commonJS({
2779
- "node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports$1) {
2784
+ "node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
2780
2785
  var Scalar = require_Scalar();
2781
2786
  var stringifyNumber = require_stringifyNumber();
2782
2787
  var floatNaN = {
@@ -2816,15 +2821,15 @@ var require_float2 = __commonJS({
2816
2821
  },
2817
2822
  stringify: stringifyNumber.stringifyNumber
2818
2823
  };
2819
- exports$1.float = float;
2820
- exports$1.floatExp = floatExp;
2821
- exports$1.floatNaN = floatNaN;
2824
+ exports.float = float;
2825
+ exports.floatExp = floatExp;
2826
+ exports.floatNaN = floatNaN;
2822
2827
  }
2823
2828
  });
2824
2829
 
2825
2830
  // node_modules/yaml/dist/schema/yaml-1.1/int.js
2826
2831
  var require_int2 = __commonJS({
2827
- "node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports$1) {
2832
+ "node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
2828
2833
  var stringifyNumber = require_stringifyNumber();
2829
2834
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
2830
2835
  function intResolve(str, offset, radix, { intAsBigInt }) {
@@ -2893,16 +2898,16 @@ var require_int2 = __commonJS({
2893
2898
  resolve: (str, _onError, opt) => intResolve(str, 2, 16, opt),
2894
2899
  stringify: (node) => intStringify(node, 16, "0x")
2895
2900
  };
2896
- exports$1.int = int;
2897
- exports$1.intBin = intBin;
2898
- exports$1.intHex = intHex;
2899
- exports$1.intOct = intOct;
2901
+ exports.int = int;
2902
+ exports.intBin = intBin;
2903
+ exports.intHex = intHex;
2904
+ exports.intOct = intOct;
2900
2905
  }
2901
2906
  });
2902
2907
 
2903
2908
  // node_modules/yaml/dist/schema/yaml-1.1/set.js
2904
2909
  var require_set = __commonJS({
2905
- "node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports$1) {
2910
+ "node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
2906
2911
  var identity = require_identity();
2907
2912
  var Pair = require_Pair();
2908
2913
  var YAMLMap = require_YAMLMap();
@@ -2983,14 +2988,14 @@ var require_set = __commonJS({
2983
2988
  return map;
2984
2989
  }
2985
2990
  };
2986
- exports$1.YAMLSet = YAMLSet;
2987
- exports$1.set = set;
2991
+ exports.YAMLSet = YAMLSet;
2992
+ exports.set = set;
2988
2993
  }
2989
2994
  });
2990
2995
 
2991
2996
  // node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2992
2997
  var require_timestamp = __commonJS({
2993
- "node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports$1) {
2998
+ "node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
2994
2999
  var stringifyNumber = require_stringifyNumber();
2995
3000
  function parseSexagesimal(str, asBigInt) {
2996
3001
  const sign = str[0];
@@ -3069,15 +3074,15 @@ var require_timestamp = __commonJS({
3069
3074
  },
3070
3075
  stringify: ({ value }) => value?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
3071
3076
  };
3072
- exports$1.floatTime = floatTime;
3073
- exports$1.intTime = intTime;
3074
- exports$1.timestamp = timestamp;
3077
+ exports.floatTime = floatTime;
3078
+ exports.intTime = intTime;
3079
+ exports.timestamp = timestamp;
3075
3080
  }
3076
3081
  });
3077
3082
 
3078
3083
  // node_modules/yaml/dist/schema/yaml-1.1/schema.js
3079
3084
  var require_schema3 = __commonJS({
3080
- "node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports$1) {
3085
+ "node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
3081
3086
  var map = require_map();
3082
3087
  var _null = require_null();
3083
3088
  var seq = require_seq();
@@ -3114,13 +3119,13 @@ var require_schema3 = __commonJS({
3114
3119
  timestamp.floatTime,
3115
3120
  timestamp.timestamp
3116
3121
  ];
3117
- exports$1.schema = schema;
3122
+ exports.schema = schema;
3118
3123
  }
3119
3124
  });
3120
3125
 
3121
3126
  // node_modules/yaml/dist/schema/tags.js
3122
3127
  var require_tags = __commonJS({
3123
- "node_modules/yaml/dist/schema/tags.js"(exports$1) {
3128
+ "node_modules/yaml/dist/schema/tags.js"(exports) {
3124
3129
  var map = require_map();
3125
3130
  var _null = require_null();
3126
3131
  var seq = require_seq();
@@ -3206,14 +3211,14 @@ var require_tags = __commonJS({
3206
3211
  return tags2;
3207
3212
  }, []);
3208
3213
  }
3209
- exports$1.coreKnownTags = coreKnownTags;
3210
- exports$1.getTags = getTags;
3214
+ exports.coreKnownTags = coreKnownTags;
3215
+ exports.getTags = getTags;
3211
3216
  }
3212
3217
  });
3213
3218
 
3214
3219
  // node_modules/yaml/dist/schema/Schema.js
3215
3220
  var require_Schema = __commonJS({
3216
- "node_modules/yaml/dist/schema/Schema.js"(exports$1) {
3221
+ "node_modules/yaml/dist/schema/Schema.js"(exports) {
3217
3222
  var identity = require_identity();
3218
3223
  var map = require_map();
3219
3224
  var seq = require_seq();
@@ -3238,13 +3243,13 @@ var require_Schema = __commonJS({
3238
3243
  return copy;
3239
3244
  }
3240
3245
  };
3241
- exports$1.Schema = Schema2;
3246
+ exports.Schema = Schema2;
3242
3247
  }
3243
3248
  });
3244
3249
 
3245
3250
  // node_modules/yaml/dist/stringify/stringifyDocument.js
3246
3251
  var require_stringifyDocument = __commonJS({
3247
- "node_modules/yaml/dist/stringify/stringifyDocument.js"(exports$1) {
3252
+ "node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
3248
3253
  var identity = require_identity();
3249
3254
  var stringify = require_stringify();
3250
3255
  var stringifyComment = require_stringifyComment();
@@ -3317,13 +3322,13 @@ var require_stringifyDocument = __commonJS({
3317
3322
  }
3318
3323
  return lines.join("\n") + "\n";
3319
3324
  }
3320
- exports$1.stringifyDocument = stringifyDocument;
3325
+ exports.stringifyDocument = stringifyDocument;
3321
3326
  }
3322
3327
  });
3323
3328
 
3324
3329
  // node_modules/yaml/dist/doc/Document.js
3325
3330
  var require_Document = __commonJS({
3326
- "node_modules/yaml/dist/doc/Document.js"(exports$1) {
3331
+ "node_modules/yaml/dist/doc/Document.js"(exports) {
3327
3332
  var Alias = require_Alias();
3328
3333
  var Collection = require_Collection();
3329
3334
  var identity = require_identity();
@@ -3625,13 +3630,13 @@ var require_Document = __commonJS({
3625
3630
  return true;
3626
3631
  throw new Error("Expected a YAML collection as document contents");
3627
3632
  }
3628
- exports$1.Document = Document;
3633
+ exports.Document = Document;
3629
3634
  }
3630
3635
  });
3631
3636
 
3632
3637
  // node_modules/yaml/dist/errors.js
3633
3638
  var require_errors = __commonJS({
3634
- "node_modules/yaml/dist/errors.js"(exports$1) {
3639
+ "node_modules/yaml/dist/errors.js"(exports) {
3635
3640
  var YAMLError = class extends Error {
3636
3641
  constructor(name, pos, code, message) {
3637
3642
  super();
@@ -3686,16 +3691,16 @@ ${pointer}
3686
3691
  `;
3687
3692
  }
3688
3693
  };
3689
- exports$1.YAMLError = YAMLError;
3690
- exports$1.YAMLParseError = YAMLParseError;
3691
- exports$1.YAMLWarning = YAMLWarning;
3692
- exports$1.prettifyError = prettifyError;
3694
+ exports.YAMLError = YAMLError;
3695
+ exports.YAMLParseError = YAMLParseError;
3696
+ exports.YAMLWarning = YAMLWarning;
3697
+ exports.prettifyError = prettifyError;
3693
3698
  }
3694
3699
  });
3695
3700
 
3696
3701
  // node_modules/yaml/dist/compose/resolve-props.js
3697
3702
  var require_resolve_props = __commonJS({
3698
- "node_modules/yaml/dist/compose/resolve-props.js"(exports$1) {
3703
+ "node_modules/yaml/dist/compose/resolve-props.js"(exports) {
3699
3704
  function resolveProps(tokens, { flow, indicator, next: next2, offset, onError, parentIndent, startOnNewline }) {
3700
3705
  let spaceBefore = false;
3701
3706
  let atNewline = startOnNewline;
@@ -3822,13 +3827,13 @@ var require_resolve_props = __commonJS({
3822
3827
  start: start ?? end
3823
3828
  };
3824
3829
  }
3825
- exports$1.resolveProps = resolveProps;
3830
+ exports.resolveProps = resolveProps;
3826
3831
  }
3827
3832
  });
3828
3833
 
3829
3834
  // node_modules/yaml/dist/compose/util-contains-newline.js
3830
3835
  var require_util_contains_newline = __commonJS({
3831
- "node_modules/yaml/dist/compose/util-contains-newline.js"(exports$1) {
3836
+ "node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
3832
3837
  function containsNewline(key) {
3833
3838
  if (!key)
3834
3839
  return null;
@@ -3863,13 +3868,13 @@ var require_util_contains_newline = __commonJS({
3863
3868
  return true;
3864
3869
  }
3865
3870
  }
3866
- exports$1.containsNewline = containsNewline;
3871
+ exports.containsNewline = containsNewline;
3867
3872
  }
3868
3873
  });
3869
3874
 
3870
3875
  // node_modules/yaml/dist/compose/util-flow-indent-check.js
3871
3876
  var require_util_flow_indent_check = __commonJS({
3872
- "node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports$1) {
3877
+ "node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
3873
3878
  var utilContainsNewline = require_util_contains_newline();
3874
3879
  function flowIndentCheck(indent, fc, onError) {
3875
3880
  if (fc?.type === "flow-collection") {
@@ -3880,13 +3885,13 @@ var require_util_flow_indent_check = __commonJS({
3880
3885
  }
3881
3886
  }
3882
3887
  }
3883
- exports$1.flowIndentCheck = flowIndentCheck;
3888
+ exports.flowIndentCheck = flowIndentCheck;
3884
3889
  }
3885
3890
  });
3886
3891
 
3887
3892
  // node_modules/yaml/dist/compose/util-map-includes.js
3888
3893
  var require_util_map_includes = __commonJS({
3889
- "node_modules/yaml/dist/compose/util-map-includes.js"(exports$1) {
3894
+ "node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
3890
3895
  var identity = require_identity();
3891
3896
  function mapIncludes(ctx, items, search2) {
3892
3897
  const { uniqueKeys } = ctx.options;
@@ -3895,13 +3900,13 @@ var require_util_map_includes = __commonJS({
3895
3900
  const isEqual = typeof uniqueKeys === "function" ? uniqueKeys : (a2, b2) => a2 === b2 || identity.isScalar(a2) && identity.isScalar(b2) && a2.value === b2.value;
3896
3901
  return items.some((pair) => isEqual(pair.key, search2));
3897
3902
  }
3898
- exports$1.mapIncludes = mapIncludes;
3903
+ exports.mapIncludes = mapIncludes;
3899
3904
  }
3900
3905
  });
3901
3906
 
3902
3907
  // node_modules/yaml/dist/compose/resolve-block-map.js
3903
3908
  var require_resolve_block_map = __commonJS({
3904
- "node_modules/yaml/dist/compose/resolve-block-map.js"(exports$1) {
3909
+ "node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
3905
3910
  var Pair = require_Pair();
3906
3911
  var YAMLMap = require_YAMLMap();
3907
3912
  var resolveProps = require_resolve_props();
@@ -4002,13 +4007,13 @@ var require_resolve_block_map = __commonJS({
4002
4007
  map.range = [bm.offset, offset, commentEnd ?? offset];
4003
4008
  return map;
4004
4009
  }
4005
- exports$1.resolveBlockMap = resolveBlockMap;
4010
+ exports.resolveBlockMap = resolveBlockMap;
4006
4011
  }
4007
4012
  });
4008
4013
 
4009
4014
  // node_modules/yaml/dist/compose/resolve-block-seq.js
4010
4015
  var require_resolve_block_seq = __commonJS({
4011
- "node_modules/yaml/dist/compose/resolve-block-seq.js"(exports$1) {
4016
+ "node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
4012
4017
  var YAMLSeq = require_YAMLSeq();
4013
4018
  var resolveProps = require_resolve_props();
4014
4019
  var utilFlowIndentCheck = require_util_flow_indent_check();
@@ -4052,13 +4057,13 @@ var require_resolve_block_seq = __commonJS({
4052
4057
  seq.range = [bs.offset, offset, commentEnd ?? offset];
4053
4058
  return seq;
4054
4059
  }
4055
- exports$1.resolveBlockSeq = resolveBlockSeq;
4060
+ exports.resolveBlockSeq = resolveBlockSeq;
4056
4061
  }
4057
4062
  });
4058
4063
 
4059
4064
  // node_modules/yaml/dist/compose/resolve-end.js
4060
4065
  var require_resolve_end = __commonJS({
4061
- "node_modules/yaml/dist/compose/resolve-end.js"(exports$1) {
4066
+ "node_modules/yaml/dist/compose/resolve-end.js"(exports) {
4062
4067
  function resolveEnd(end, offset, reqSpace, onError) {
4063
4068
  let comment = "";
4064
4069
  if (end) {
@@ -4094,13 +4099,13 @@ var require_resolve_end = __commonJS({
4094
4099
  }
4095
4100
  return { comment, offset };
4096
4101
  }
4097
- exports$1.resolveEnd = resolveEnd;
4102
+ exports.resolveEnd = resolveEnd;
4098
4103
  }
4099
4104
  });
4100
4105
 
4101
4106
  // node_modules/yaml/dist/compose/resolve-flow-collection.js
4102
4107
  var require_resolve_flow_collection = __commonJS({
4103
- "node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports$1) {
4108
+ "node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
4104
4109
  var identity = require_identity();
4105
4110
  var Pair = require_Pair();
4106
4111
  var YAMLMap = require_YAMLMap();
@@ -4287,13 +4292,13 @@ var require_resolve_flow_collection = __commonJS({
4287
4292
  }
4288
4293
  return coll;
4289
4294
  }
4290
- exports$1.resolveFlowCollection = resolveFlowCollection;
4295
+ exports.resolveFlowCollection = resolveFlowCollection;
4291
4296
  }
4292
4297
  });
4293
4298
 
4294
4299
  // node_modules/yaml/dist/compose/compose-collection.js
4295
4300
  var require_compose_collection = __commonJS({
4296
- "node_modules/yaml/dist/compose/compose-collection.js"(exports$1) {
4301
+ "node_modules/yaml/dist/compose/compose-collection.js"(exports) {
4297
4302
  var identity = require_identity();
4298
4303
  var Scalar = require_Scalar();
4299
4304
  var YAMLMap = require_YAMLMap();
@@ -4351,13 +4356,13 @@ var require_compose_collection = __commonJS({
4351
4356
  node.format = tag.format;
4352
4357
  return node;
4353
4358
  }
4354
- exports$1.composeCollection = composeCollection;
4359
+ exports.composeCollection = composeCollection;
4355
4360
  }
4356
4361
  });
4357
4362
 
4358
4363
  // node_modules/yaml/dist/compose/resolve-block-scalar.js
4359
4364
  var require_resolve_block_scalar = __commonJS({
4360
- "node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports$1) {
4365
+ "node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
4361
4366
  var Scalar = require_Scalar();
4362
4367
  function resolveBlockScalar(ctx, scalar, onError) {
4363
4368
  const start = scalar.offset;
@@ -4533,13 +4538,13 @@ var require_resolve_block_scalar = __commonJS({
4533
4538
  lines.push([split[i2], split[i2 + 1]]);
4534
4539
  return lines;
4535
4540
  }
4536
- exports$1.resolveBlockScalar = resolveBlockScalar;
4541
+ exports.resolveBlockScalar = resolveBlockScalar;
4537
4542
  }
4538
4543
  });
4539
4544
 
4540
4545
  // node_modules/yaml/dist/compose/resolve-flow-scalar.js
4541
4546
  var require_resolve_flow_scalar = __commonJS({
4542
- "node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports$1) {
4547
+ "node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
4543
4548
  var Scalar = require_Scalar();
4544
4549
  var resolveEnd = require_resolve_end();
4545
4550
  function resolveFlowScalar(scalar, strict, onError) {
@@ -4669,7 +4674,7 @@ var require_resolve_flow_scalar = __commonJS({
4669
4674
  while (next2 === " " || next2 === " ")
4670
4675
  next2 = source[++i2 + 1];
4671
4676
  } else if (next2 === "x" || next2 === "u" || next2 === "U") {
4672
- const length = { x: 2, u: 4, U: 8 }[next2];
4677
+ const length = next2 === "x" ? 2 : next2 === "u" ? 4 : 8;
4673
4678
  res += parseCharCode(source, i2 + 1, length, onError);
4674
4679
  i2 += length;
4675
4680
  } else {
@@ -4744,20 +4749,21 @@ var require_resolve_flow_scalar = __commonJS({
4744
4749
  const cc = source.substr(offset, length);
4745
4750
  const ok3 = cc.length === length && /^[0-9a-fA-F]+$/.test(cc);
4746
4751
  const code = ok3 ? parseInt(cc, 16) : NaN;
4747
- if (isNaN(code)) {
4752
+ try {
4753
+ return String.fromCodePoint(code);
4754
+ } catch {
4748
4755
  const raw = source.substr(offset - 2, length + 2);
4749
4756
  onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`);
4750
4757
  return raw;
4751
4758
  }
4752
- return String.fromCodePoint(code);
4753
4759
  }
4754
- exports$1.resolveFlowScalar = resolveFlowScalar;
4760
+ exports.resolveFlowScalar = resolveFlowScalar;
4755
4761
  }
4756
4762
  });
4757
4763
 
4758
4764
  // node_modules/yaml/dist/compose/compose-scalar.js
4759
4765
  var require_compose_scalar = __commonJS({
4760
- "node_modules/yaml/dist/compose/compose-scalar.js"(exports$1) {
4766
+ "node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
4761
4767
  var identity = require_identity();
4762
4768
  var Scalar = require_Scalar();
4763
4769
  var resolveBlockScalar = require_resolve_block_scalar();
@@ -4831,13 +4837,13 @@ var require_compose_scalar = __commonJS({
4831
4837
  }
4832
4838
  return tag;
4833
4839
  }
4834
- exports$1.composeScalar = composeScalar;
4840
+ exports.composeScalar = composeScalar;
4835
4841
  }
4836
4842
  });
4837
4843
 
4838
4844
  // node_modules/yaml/dist/compose/util-empty-scalar-position.js
4839
4845
  var require_util_empty_scalar_position = __commonJS({
4840
- "node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports$1) {
4846
+ "node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
4841
4847
  function emptyScalarPosition(offset, before, pos) {
4842
4848
  if (before) {
4843
4849
  pos ?? (pos = before.length);
@@ -4860,13 +4866,13 @@ var require_util_empty_scalar_position = __commonJS({
4860
4866
  }
4861
4867
  return offset;
4862
4868
  }
4863
- exports$1.emptyScalarPosition = emptyScalarPosition;
4869
+ exports.emptyScalarPosition = emptyScalarPosition;
4864
4870
  }
4865
4871
  });
4866
4872
 
4867
4873
  // node_modules/yaml/dist/compose/compose-node.js
4868
4874
  var require_compose_node = __commonJS({
4869
- "node_modules/yaml/dist/compose/compose-node.js"(exports$1) {
4875
+ "node_modules/yaml/dist/compose/compose-node.js"(exports) {
4870
4876
  var Alias = require_Alias();
4871
4877
  var identity = require_identity();
4872
4878
  var composeCollection = require_compose_collection();
@@ -4964,14 +4970,14 @@ var require_compose_node = __commonJS({
4964
4970
  alias.comment = re.comment;
4965
4971
  return alias;
4966
4972
  }
4967
- exports$1.composeEmptyNode = composeEmptyNode;
4968
- exports$1.composeNode = composeNode;
4973
+ exports.composeEmptyNode = composeEmptyNode;
4974
+ exports.composeNode = composeNode;
4969
4975
  }
4970
4976
  });
4971
4977
 
4972
4978
  // node_modules/yaml/dist/compose/compose-doc.js
4973
4979
  var require_compose_doc = __commonJS({
4974
- "node_modules/yaml/dist/compose/compose-doc.js"(exports$1) {
4980
+ "node_modules/yaml/dist/compose/compose-doc.js"(exports) {
4975
4981
  var Document = require_Document();
4976
4982
  var composeNode = require_compose_node();
4977
4983
  var resolveEnd = require_resolve_end();
@@ -5007,13 +5013,13 @@ var require_compose_doc = __commonJS({
5007
5013
  doc.range = [offset, contentEnd, re.offset];
5008
5014
  return doc;
5009
5015
  }
5010
- exports$1.composeDoc = composeDoc;
5016
+ exports.composeDoc = composeDoc;
5011
5017
  }
5012
5018
  });
5013
5019
 
5014
5020
  // node_modules/yaml/dist/compose/composer.js
5015
5021
  var require_composer = __commonJS({
5016
- "node_modules/yaml/dist/compose/composer.js"(exports$1) {
5022
+ "node_modules/yaml/dist/compose/composer.js"(exports) {
5017
5023
  var node_process = __require("process");
5018
5024
  var directives = require_directives();
5019
5025
  var Document = require_Document();
@@ -5094,8 +5100,10 @@ ${cb}` : comment;
5094
5100
  }
5095
5101
  }
5096
5102
  if (afterDoc) {
5097
- Array.prototype.push.apply(doc.errors, this.errors);
5098
- Array.prototype.push.apply(doc.warnings, this.warnings);
5103
+ for (let i2 = 0; i2 < this.errors.length; ++i2)
5104
+ doc.errors.push(this.errors[i2]);
5105
+ for (let i2 = 0; i2 < this.warnings.length; ++i2)
5106
+ doc.warnings.push(this.warnings[i2]);
5099
5107
  } else {
5100
5108
  doc.errors = this.errors;
5101
5109
  doc.warnings = this.warnings;
@@ -5212,13 +5220,13 @@ ${end.comment}` : end.comment;
5212
5220
  }
5213
5221
  }
5214
5222
  };
5215
- exports$1.Composer = Composer;
5223
+ exports.Composer = Composer;
5216
5224
  }
5217
5225
  });
5218
5226
 
5219
5227
  // node_modules/yaml/dist/parse/cst-scalar.js
5220
5228
  var require_cst_scalar = __commonJS({
5221
- "node_modules/yaml/dist/parse/cst-scalar.js"(exports$1) {
5229
+ "node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
5222
5230
  var resolveBlockScalar = require_resolve_block_scalar();
5223
5231
  var resolveFlowScalar = require_resolve_flow_scalar();
5224
5232
  var errors2 = require_errors();
@@ -5394,15 +5402,15 @@ var require_cst_scalar = __commonJS({
5394
5402
  }
5395
5403
  }
5396
5404
  }
5397
- exports$1.createScalarToken = createScalarToken;
5398
- exports$1.resolveAsScalar = resolveAsScalar;
5399
- exports$1.setScalarValue = setScalarValue;
5405
+ exports.createScalarToken = createScalarToken;
5406
+ exports.resolveAsScalar = resolveAsScalar;
5407
+ exports.setScalarValue = setScalarValue;
5400
5408
  }
5401
5409
  });
5402
5410
 
5403
5411
  // node_modules/yaml/dist/parse/cst-stringify.js
5404
5412
  var require_cst_stringify = __commonJS({
5405
- "node_modules/yaml/dist/parse/cst-stringify.js"(exports$1) {
5413
+ "node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
5406
5414
  var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
5407
5415
  function stringifyToken(token) {
5408
5416
  switch (token.type) {
@@ -5456,13 +5464,13 @@ var require_cst_stringify = __commonJS({
5456
5464
  res += stringifyToken(value);
5457
5465
  return res;
5458
5466
  }
5459
- exports$1.stringify = stringify;
5467
+ exports.stringify = stringify;
5460
5468
  }
5461
5469
  });
5462
5470
 
5463
5471
  // node_modules/yaml/dist/parse/cst-visit.js
5464
5472
  var require_cst_visit = __commonJS({
5465
- "node_modules/yaml/dist/parse/cst-visit.js"(exports$1) {
5473
+ "node_modules/yaml/dist/parse/cst-visit.js"(exports) {
5466
5474
  var BREAK = /* @__PURE__ */ Symbol("break visit");
5467
5475
  var SKIP2 = /* @__PURE__ */ Symbol("skip children");
5468
5476
  var REMOVE = /* @__PURE__ */ Symbol("remove item");
@@ -5517,13 +5525,13 @@ var require_cst_visit = __commonJS({
5517
5525
  }
5518
5526
  return typeof ctrl === "function" ? ctrl(item, path) : ctrl;
5519
5527
  }
5520
- exports$1.visit = visit2;
5528
+ exports.visit = visit2;
5521
5529
  }
5522
5530
  });
5523
5531
 
5524
5532
  // node_modules/yaml/dist/parse/cst.js
5525
5533
  var require_cst = __commonJS({
5526
- "node_modules/yaml/dist/parse/cst.js"(exports$1) {
5534
+ "node_modules/yaml/dist/parse/cst.js"(exports) {
5527
5535
  var cstScalar = require_cst_scalar();
5528
5536
  var cstStringify = require_cst_stringify();
5529
5537
  var cstVisit = require_cst_visit();
@@ -5606,25 +5614,25 @@ var require_cst = __commonJS({
5606
5614
  }
5607
5615
  return null;
5608
5616
  }
5609
- exports$1.createScalarToken = cstScalar.createScalarToken;
5610
- exports$1.resolveAsScalar = cstScalar.resolveAsScalar;
5611
- exports$1.setScalarValue = cstScalar.setScalarValue;
5612
- exports$1.stringify = cstStringify.stringify;
5613
- exports$1.visit = cstVisit.visit;
5614
- exports$1.BOM = BOM;
5615
- exports$1.DOCUMENT = DOCUMENT;
5616
- exports$1.FLOW_END = FLOW_END;
5617
- exports$1.SCALAR = SCALAR;
5618
- exports$1.isCollection = isCollection;
5619
- exports$1.isScalar = isScalar;
5620
- exports$1.prettyToken = prettyToken;
5621
- exports$1.tokenType = tokenType;
5617
+ exports.createScalarToken = cstScalar.createScalarToken;
5618
+ exports.resolveAsScalar = cstScalar.resolveAsScalar;
5619
+ exports.setScalarValue = cstScalar.setScalarValue;
5620
+ exports.stringify = cstStringify.stringify;
5621
+ exports.visit = cstVisit.visit;
5622
+ exports.BOM = BOM;
5623
+ exports.DOCUMENT = DOCUMENT;
5624
+ exports.FLOW_END = FLOW_END;
5625
+ exports.SCALAR = SCALAR;
5626
+ exports.isCollection = isCollection;
5627
+ exports.isScalar = isScalar;
5628
+ exports.prettyToken = prettyToken;
5629
+ exports.tokenType = tokenType;
5622
5630
  }
5623
5631
  });
5624
5632
 
5625
5633
  // node_modules/yaml/dist/parse/lexer.js
5626
5634
  var require_lexer = __commonJS({
5627
- "node_modules/yaml/dist/parse/lexer.js"(exports$1) {
5635
+ "node_modules/yaml/dist/parse/lexer.js"(exports) {
5628
5636
  var cst = require_cst();
5629
5637
  function isEmpty(ch) {
5630
5638
  switch (ch) {
@@ -5823,7 +5831,7 @@ var require_lexer = __commonJS({
5823
5831
  const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
5824
5832
  this.indentNext = this.indentValue + 1;
5825
5833
  this.indentValue += n;
5826
- return yield* this.parseBlockStart();
5834
+ return "block-start";
5827
5835
  }
5828
5836
  return "doc";
5829
5837
  }
@@ -6122,28 +6130,38 @@ var require_lexer = __commonJS({
6122
6130
  return 0;
6123
6131
  }
6124
6132
  *pushIndicators() {
6125
- switch (this.charAt(0)) {
6126
- case "!":
6127
- return (yield* this.pushTag()) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
6128
- case "&":
6129
- return (yield* this.pushUntil(isNotAnchorChar)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
6130
- case "-":
6131
- // this is an error
6132
- case "?":
6133
- // this is an error outside flow collections
6134
- case ":": {
6135
- const inFlow = this.flowLevel > 0;
6136
- const ch1 = this.charAt(1);
6137
- if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
6138
- if (!inFlow)
6139
- this.indentNext = this.indentValue + 1;
6140
- else if (this.flowKey)
6141
- this.flowKey = false;
6142
- return (yield* this.pushCount(1)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
6133
+ let n = 0;
6134
+ loop: while (true) {
6135
+ switch (this.charAt(0)) {
6136
+ case "!":
6137
+ n += yield* this.pushTag();
6138
+ n += yield* this.pushSpaces(true);
6139
+ continue loop;
6140
+ case "&":
6141
+ n += yield* this.pushUntil(isNotAnchorChar);
6142
+ n += yield* this.pushSpaces(true);
6143
+ continue loop;
6144
+ case "-":
6145
+ // this is an error
6146
+ case "?":
6147
+ // this is an error outside flow collections
6148
+ case ":": {
6149
+ const inFlow = this.flowLevel > 0;
6150
+ const ch1 = this.charAt(1);
6151
+ if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
6152
+ if (!inFlow)
6153
+ this.indentNext = this.indentValue + 1;
6154
+ else if (this.flowKey)
6155
+ this.flowKey = false;
6156
+ n += yield* this.pushCount(1);
6157
+ n += yield* this.pushSpaces(true);
6158
+ continue loop;
6159
+ }
6143
6160
  }
6144
6161
  }
6162
+ break loop;
6145
6163
  }
6146
- return 0;
6164
+ return n;
6147
6165
  }
6148
6166
  *pushTag() {
6149
6167
  if (this.charAt(1) === "<") {
@@ -6196,13 +6214,13 @@ var require_lexer = __commonJS({
6196
6214
  return yield* this.pushToIndex(i2, false);
6197
6215
  }
6198
6216
  };
6199
- exports$1.Lexer = Lexer;
6217
+ exports.Lexer = Lexer;
6200
6218
  }
6201
6219
  });
6202
6220
 
6203
6221
  // node_modules/yaml/dist/parse/line-counter.js
6204
6222
  var require_line_counter = __commonJS({
6205
- "node_modules/yaml/dist/parse/line-counter.js"(exports$1) {
6223
+ "node_modules/yaml/dist/parse/line-counter.js"(exports) {
6206
6224
  var LineCounter = class {
6207
6225
  constructor() {
6208
6226
  this.lineStarts = [];
@@ -6226,13 +6244,13 @@ var require_line_counter = __commonJS({
6226
6244
  };
6227
6245
  }
6228
6246
  };
6229
- exports$1.LineCounter = LineCounter;
6247
+ exports.LineCounter = LineCounter;
6230
6248
  }
6231
6249
  });
6232
6250
 
6233
6251
  // node_modules/yaml/dist/parse/parser.js
6234
6252
  var require_parser = __commonJS({
6235
- "node_modules/yaml/dist/parse/parser.js"(exports$1) {
6253
+ "node_modules/yaml/dist/parse/parser.js"(exports) {
6236
6254
  var node_process = __require("process");
6237
6255
  var cst = require_cst();
6238
6256
  var lexer = require_lexer();
@@ -6300,6 +6318,13 @@ var require_parser = __commonJS({
6300
6318
  }
6301
6319
  return prev.splice(i2, prev.length);
6302
6320
  }
6321
+ function arrayPushArray(target, source) {
6322
+ if (source.length < 1e5)
6323
+ Array.prototype.push.apply(target, source);
6324
+ else
6325
+ for (let i2 = 0; i2 < source.length; ++i2)
6326
+ target.push(source[i2]);
6327
+ }
6303
6328
  function fixFlowSeqItems(fc) {
6304
6329
  if (fc.start.type === "flow-seq-start") {
6305
6330
  for (const it of fc.items) {
@@ -6309,11 +6334,11 @@ var require_parser = __commonJS({
6309
6334
  delete it.key;
6310
6335
  if (isFlowToken(it.value)) {
6311
6336
  if (it.value.end)
6312
- Array.prototype.push.apply(it.value.end, it.sep);
6337
+ arrayPushArray(it.value.end, it.sep);
6313
6338
  else
6314
6339
  it.value.end = it.sep;
6315
6340
  } else
6316
- Array.prototype.push.apply(it.start, it.sep);
6341
+ arrayPushArray(it.start, it.sep);
6317
6342
  delete it.sep;
6318
6343
  }
6319
6344
  }
@@ -6668,7 +6693,7 @@ var require_parser = __commonJS({
6668
6693
  const prev = map.items[map.items.length - 2];
6669
6694
  const end = prev?.value?.end;
6670
6695
  if (Array.isArray(end)) {
6671
- Array.prototype.push.apply(end, it.start);
6696
+ arrayPushArray(end, it.start);
6672
6697
  end.push(this.sourceToken);
6673
6698
  map.items.pop();
6674
6699
  return;
@@ -6856,7 +6881,7 @@ var require_parser = __commonJS({
6856
6881
  const prev = seq.items[seq.items.length - 2];
6857
6882
  const end = prev?.value?.end;
6858
6883
  if (Array.isArray(end)) {
6859
- Array.prototype.push.apply(end, it.start);
6884
+ arrayPushArray(end, it.start);
6860
6885
  end.push(this.sourceToken);
6861
6886
  seq.items.pop();
6862
6887
  return;
@@ -7092,13 +7117,13 @@ var require_parser = __commonJS({
7092
7117
  }
7093
7118
  }
7094
7119
  };
7095
- exports$1.Parser = Parser2;
7120
+ exports.Parser = Parser2;
7096
7121
  }
7097
7122
  });
7098
7123
 
7099
7124
  // node_modules/yaml/dist/public-api.js
7100
7125
  var require_public_api = __commonJS({
7101
- "node_modules/yaml/dist/public-api.js"(exports$1) {
7126
+ "node_modules/yaml/dist/public-api.js"(exports) {
7102
7127
  var composer = require_composer();
7103
7128
  var Document = require_Document();
7104
7129
  var errors2 = require_errors();
@@ -7185,16 +7210,16 @@ var require_public_api = __commonJS({
7185
7210
  return value.toString(options);
7186
7211
  return new Document.Document(value, _replacer, options).toString(options);
7187
7212
  }
7188
- exports$1.parse = parse5;
7189
- exports$1.parseAllDocuments = parseAllDocuments;
7190
- exports$1.parseDocument = parseDocument;
7191
- exports$1.stringify = stringify;
7213
+ exports.parse = parse5;
7214
+ exports.parseAllDocuments = parseAllDocuments;
7215
+ exports.parseDocument = parseDocument;
7216
+ exports.stringify = stringify;
7192
7217
  }
7193
7218
  });
7194
7219
 
7195
7220
  // node_modules/yaml/dist/index.js
7196
7221
  var require_dist = __commonJS({
7197
- "node_modules/yaml/dist/index.js"(exports$1) {
7222
+ "node_modules/yaml/dist/index.js"(exports) {
7198
7223
  var composer = require_composer();
7199
7224
  var Document = require_Document();
7200
7225
  var Schema2 = require_Schema();
@@ -7211,35 +7236,35 @@ var require_dist = __commonJS({
7211
7236
  var parser = require_parser();
7212
7237
  var publicApi = require_public_api();
7213
7238
  var visit2 = require_visit();
7214
- exports$1.Composer = composer.Composer;
7215
- exports$1.Document = Document.Document;
7216
- exports$1.Schema = Schema2.Schema;
7217
- exports$1.YAMLError = errors2.YAMLError;
7218
- exports$1.YAMLParseError = errors2.YAMLParseError;
7219
- exports$1.YAMLWarning = errors2.YAMLWarning;
7220
- exports$1.Alias = Alias.Alias;
7221
- exports$1.isAlias = identity.isAlias;
7222
- exports$1.isCollection = identity.isCollection;
7223
- exports$1.isDocument = identity.isDocument;
7224
- exports$1.isMap = identity.isMap;
7225
- exports$1.isNode = identity.isNode;
7226
- exports$1.isPair = identity.isPair;
7227
- exports$1.isScalar = identity.isScalar;
7228
- exports$1.isSeq = identity.isSeq;
7229
- exports$1.Pair = Pair.Pair;
7230
- exports$1.Scalar = Scalar.Scalar;
7231
- exports$1.YAMLMap = YAMLMap.YAMLMap;
7232
- exports$1.YAMLSeq = YAMLSeq.YAMLSeq;
7233
- exports$1.CST = cst;
7234
- exports$1.Lexer = lexer.Lexer;
7235
- exports$1.LineCounter = lineCounter.LineCounter;
7236
- exports$1.Parser = parser.Parser;
7237
- exports$1.parse = publicApi.parse;
7238
- exports$1.parseAllDocuments = publicApi.parseAllDocuments;
7239
- exports$1.parseDocument = publicApi.parseDocument;
7240
- exports$1.stringify = publicApi.stringify;
7241
- exports$1.visit = visit2.visit;
7242
- exports$1.visitAsync = visit2.visitAsync;
7239
+ exports.Composer = composer.Composer;
7240
+ exports.Document = Document.Document;
7241
+ exports.Schema = Schema2.Schema;
7242
+ exports.YAMLError = errors2.YAMLError;
7243
+ exports.YAMLParseError = errors2.YAMLParseError;
7244
+ exports.YAMLWarning = errors2.YAMLWarning;
7245
+ exports.Alias = Alias.Alias;
7246
+ exports.isAlias = identity.isAlias;
7247
+ exports.isCollection = identity.isCollection;
7248
+ exports.isDocument = identity.isDocument;
7249
+ exports.isMap = identity.isMap;
7250
+ exports.isNode = identity.isNode;
7251
+ exports.isPair = identity.isPair;
7252
+ exports.isScalar = identity.isScalar;
7253
+ exports.isSeq = identity.isSeq;
7254
+ exports.Pair = Pair.Pair;
7255
+ exports.Scalar = Scalar.Scalar;
7256
+ exports.YAMLMap = YAMLMap.YAMLMap;
7257
+ exports.YAMLSeq = YAMLSeq.YAMLSeq;
7258
+ exports.CST = cst;
7259
+ exports.Lexer = lexer.Lexer;
7260
+ exports.LineCounter = lineCounter.LineCounter;
7261
+ exports.Parser = parser.Parser;
7262
+ exports.parse = publicApi.parse;
7263
+ exports.parseAllDocuments = publicApi.parseAllDocuments;
7264
+ exports.parseDocument = publicApi.parseDocument;
7265
+ exports.stringify = publicApi.stringify;
7266
+ exports.visit = visit2.visit;
7267
+ exports.visitAsync = visit2.visitAsync;
7243
7268
  }
7244
7269
  });
7245
7270
 
@@ -7677,11 +7702,8 @@ function R(t, r2, o2, i2, u2, _2, b2) {
7677
7702
  ue = "http-equiv";
7678
7703
  break;
7679
7704
  default:
7680
- if (f.test(ue)) ue = ue.replace(f, "$1:$2").toLowerCase();
7681
- else {
7682
- if (l2.test(ue)) continue;
7683
- "-" !== ue[4] && !d.has(ue) || null == se ? o2 ? h.test(ue) && (ue = "panose1" === ue ? "panose-1" : ue.replace(/([A-Z])/g, "-$1").toLowerCase()) : p.test(ue) && (ue = ue.toLowerCase()) : se += H;
7684
- }
7705
+ if (l2.test(ue)) continue;
7706
+ f.test(ue) ? ue = ue.replace(f, "$1:$2").toLowerCase() : "-" !== ue[4] && !d.has(ue) || null == se ? o2 ? h.test(ue) && (ue = "panose1" === ue ? "panose-1" : ue.replace(/([A-Z])/g, "-$1").toLowerCase()) : p.test(ue) && (ue = ue.toLowerCase()) : se += H;
7685
7707
  }
7686
7708
  null != se && false !== se && (ae = true === se || se === H ? ae + " " + ue : ae + " " + ue + '="' + ("string" == typeof se ? g(se) : se + H) + '"');
7687
7709
  }
@@ -7939,6 +7961,7 @@ var html = create({
7939
7961
  allowFullScreen: boolean,
7940
7962
  allowPaymentRequest: boolean,
7941
7963
  allowUserMedia: boolean,
7964
+ alpha: boolean,
7942
7965
  alt: null,
7943
7966
  as: null,
7944
7967
  async: boolean,
@@ -7952,8 +7975,12 @@ var html = create({
7952
7975
  checked: boolean,
7953
7976
  cite: null,
7954
7977
  className: spaceSeparated,
7978
+ closedBy: null,
7979
+ colorSpace: null,
7955
7980
  cols: number,
7956
- colSpan: null,
7981
+ colSpan: number,
7982
+ command: null,
7983
+ commandFor: null,
7957
7984
  content: null,
7958
7985
  contentEditable: booleanish,
7959
7986
  controls: boolean,
@@ -8133,8 +8160,10 @@ var html = create({
8133
8160
  seamless: boolean,
8134
8161
  selected: boolean,
8135
8162
  shadowRootClonable: boolean,
8163
+ shadowRootCustomElementRegistry: boolean,
8136
8164
  shadowRootDelegatesFocus: boolean,
8137
8165
  shadowRootMode: null,
8166
+ shadowRootSerializable: boolean,
8138
8167
  shape: null,
8139
8168
  size: number,
8140
8169
  sizes: null,
@@ -8271,8 +8300,11 @@ var html = create({
8271
8300
  allowTransparency: null,
8272
8301
  autoCorrect: null,
8273
8302
  autoSave: null,
8303
+ credentialless: boolean,
8274
8304
  disablePictureInPicture: boolean,
8275
8305
  disableRemotePlayback: boolean,
8306
+ exportParts: commaSeparated,
8307
+ part: spaceSeparated,
8276
8308
  prefix: null,
8277
8309
  property: null,
8278
8310
  results: number,
@@ -8326,6 +8358,7 @@ var svg = create({
8326
8358
  markerEnd: "marker-end",
8327
8359
  markerMid: "marker-mid",
8328
8360
  markerStart: "marker-start",
8361
+ maskType: "mask-type",
8329
8362
  navDown: "nav-down",
8330
8363
  navDownLeft: "nav-down-left",
8331
8364
  navDownRight: "nav-down-right",
@@ -8596,6 +8629,7 @@ var svg = create({
8596
8629
  markerWidth: null,
8597
8630
  mask: null,
8598
8631
  maskContentUnits: null,
8632
+ maskType: null,
8599
8633
  maskUnits: null,
8600
8634
  mathematical: null,
8601
8635
  max: null,
@@ -18468,8 +18502,9 @@ function createBasesCodeblockTransform(opts) {
18468
18502
  function renderBasesInline(basesData, allFiles, locale, localeStrings, opts, slug, allSlugs, linkResolution, viewName, selfContext) {
18469
18503
  let views = basesData.views ?? [];
18470
18504
  if (viewName) {
18471
- const viewNameLower = viewName.toLowerCase();
18472
- views = views.filter((v2) => v2.name?.toLowerCase() === viewNameLower);
18505
+ const normalize2 = (s3) => s3.toLowerCase().replace(/\s+/g, "-");
18506
+ const viewNameNorm = normalize2(viewName);
18507
+ views = views.filter((v2) => v2.name !== void 0 && normalize2(v2.name) === viewNameNorm);
18473
18508
  if (views.length === 0) {
18474
18509
  return `<div class="bases-empty">View &quot;${viewName}&quot; not found</div>`;
18475
18510
  }