@powerlines/plugin-content-collections 0.1.257 → 0.1.259

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.
Files changed (404) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +2 -0
  2. package/dist/_virtual/rolldown_runtime.mjs +32 -0
  3. package/dist/helpers/create-writer.cjs +5 -5
  4. package/dist/helpers/create-writer.mjs +2 -2
  5. package/dist/index.cjs +5 -5
  6. package/dist/index.mjs +3 -3
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.cjs +1946 -0
  9. package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.mjs +1939 -0
  10. package/dist/node_modules/.pnpm/@content-collections_core@0.12.0_patch_hash_bceb89349da763f8c715d7b53875be4a1e5bc5161d7_3067b2e8f290866ec343d5ebc4494f7e/node_modules/@content-collections/core/dist/index.mjs.map +1 -0
  11. package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.cjs +9 -0
  12. package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.mjs +10 -0
  13. package/dist/node_modules/.pnpm/camelcase@8.0.0/node_modules/camelcase/index.mjs.map +1 -0
  14. package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.cjs +2124 -0
  15. package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.mjs +2120 -0
  16. package/dist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.mjs.map +1 -0
  17. package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.cjs +5342 -0
  18. package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.mjs +5340 -0
  19. package/dist/node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.mjs.map +1 -0
  20. package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.cjs +35 -0
  21. package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.mjs +31 -0
  22. package/dist/node_modules/.pnpm/extend-shallow@2.0.1/node_modules/extend-shallow/index.mjs.map +1 -0
  23. package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.cjs +516 -0
  24. package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.mjs +515 -0
  25. package/dist/node_modules/.pnpm/fdir@6.5.0_@types_picomatch@4.0.2_picomatch@4.0.3/node_modules/fdir/dist/index.mjs.map +1 -0
  26. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.cjs +185 -0
  27. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.mjs +181 -0
  28. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.mjs.map +1 -0
  29. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.cjs +27 -0
  30. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.mjs +23 -0
  31. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/defaults.mjs.map +1 -0
  32. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.cjs +33 -0
  33. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.mjs +29 -0
  34. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engine.mjs.map +1 -0
  35. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.cjs +58 -0
  36. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.mjs +54 -0
  37. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/engines.mjs.map +1 -0
  38. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.cjs +28 -0
  39. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.mjs +24 -0
  40. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/excerpt.mjs.map +1 -0
  41. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.cjs +25 -0
  42. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.mjs +21 -0
  43. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/parse.mjs.map +1 -0
  44. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.cjs +53 -0
  45. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.mjs +49 -0
  46. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/stringify.mjs.map +1 -0
  47. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.cjs +41 -0
  48. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.mjs +37 -0
  49. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/to-file.mjs.map +1 -0
  50. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.cjs +66 -0
  51. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.mjs +62 -0
  52. package/dist/node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/lib/utils.mjs.map +1 -0
  53. package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.cjs +24 -0
  54. package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.mjs +20 -0
  55. package/dist/node_modules/.pnpm/is-extendable@0.1.1/node_modules/is-extendable/index.mjs.map +1 -0
  56. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.cjs +18 -0
  57. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.mjs +14 -0
  58. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/index.mjs.map +1 -0
  59. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.cjs +51 -0
  60. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.mjs +47 -0
  61. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/common.mjs.map +1 -0
  62. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.cjs +452 -0
  63. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.mjs +448 -0
  64. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/dumper.mjs.map +1 -0
  65. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.cjs +33 -0
  66. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.mjs +29 -0
  67. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/exception.mjs.map +1 -0
  68. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.cjs +820 -0
  69. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.mjs +816 -0
  70. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/loader.mjs.map +1 -0
  71. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.cjs +63 -0
  72. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.mjs +59 -0
  73. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/mark.mjs.map +1 -0
  74. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.cjs +19 -0
  75. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.mjs +15 -0
  76. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/core.mjs.map +1 -0
  77. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.cjs +29 -0
  78. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.mjs +25 -0
  79. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_full.mjs.map +1 -0
  80. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.cjs +34 -0
  81. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.mjs +30 -0
  82. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.mjs.map +1 -0
  83. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.cjs +25 -0
  84. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.mjs +21 -0
  85. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.mjs.map +1 -0
  86. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.cjs +31 -0
  87. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.mjs +27 -0
  88. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema/json.mjs.map +1 -0
  89. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.cjs +88 -0
  90. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.mjs +84 -0
  91. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/schema.mjs.map +1 -0
  92. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.cjs +95 -0
  93. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.mjs +91 -0
  94. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/binary.mjs.map +1 -0
  95. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.cjs +46 -0
  96. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.mjs +42 -0
  97. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/bool.mjs.map +1 -0
  98. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.cjs +77 -0
  99. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.mjs +73 -0
  100. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/float.mjs.map +1 -0
  101. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.cjs +136 -0
  102. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.mjs +132 -0
  103. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/int.mjs.map +1 -0
  104. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.cjs +57 -0
  105. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.mjs +53 -0
  106. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/function.mjs.map +1 -0
  107. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.cjs +53 -0
  108. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.mjs +49 -0
  109. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.mjs.map +1 -0
  110. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.cjs +34 -0
  111. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.mjs +30 -0
  112. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.mjs.map +1 -0
  113. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.cjs +23 -0
  114. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.mjs +19 -0
  115. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/map.mjs.map +1 -0
  116. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.cjs +24 -0
  117. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.mjs +20 -0
  118. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/merge.mjs.map +1 -0
  119. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.cjs +49 -0
  120. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.mjs +45 -0
  121. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/null.mjs.map +1 -0
  122. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.cjs +42 -0
  123. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.mjs +38 -0
  124. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/omap.mjs.map +1 -0
  125. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.cjs +47 -0
  126. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.mjs +43 -0
  127. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/pairs.mjs.map +1 -0
  128. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.cjs +23 -0
  129. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.mjs +19 -0
  130. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/seq.mjs.map +1 -0
  131. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.cjs +34 -0
  132. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.mjs +30 -0
  133. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/set.mjs.map +1 -0
  134. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.cjs +23 -0
  135. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.mjs +19 -0
  136. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/str.mjs.map +1 -0
  137. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.cjs +62 -0
  138. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.mjs +58 -0
  139. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type/timestamp.mjs.map +1 -0
  140. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.cjs +62 -0
  141. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.mjs +58 -0
  142. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml/type.mjs.map +1 -0
  143. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.cjs +53 -0
  144. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.mjs +49 -0
  145. package/dist/node_modules/.pnpm/js-yaml@3.14.2/node_modules/js-yaml/lib/js-yaml.mjs.map +1 -0
  146. package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.cjs +97 -0
  147. package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.mjs +95 -0
  148. package/dist/node_modules/.pnpm/kind-of@6.0.3/node_modules/kind-of/index.mjs.map +1 -0
  149. package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.cjs +62 -0
  150. package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.mjs +63 -0
  151. package/dist/node_modules/.pnpm/p-limit@6.2.0/node_modules/p-limit/index.mjs.map +1 -0
  152. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.cjs +28 -0
  153. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs +24 -0
  154. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/index.mjs.map +1 -0
  155. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.cjs +175 -0
  156. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs +171 -0
  157. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/constants.mjs.map +1 -0
  158. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.cjs +871 -0
  159. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs +867 -0
  160. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/parse.mjs.map +1 -0
  161. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.cjs +307 -0
  162. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs +303 -0
  163. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/picomatch.mjs.map +1 -0
  164. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.cjs +300 -0
  165. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs +296 -0
  166. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/scan.mjs.map +1 -0
  167. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.cjs +60 -0
  168. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs +56 -0
  169. package/dist/node_modules/.pnpm/picomatch@4.0.3/node_modules/picomatch/lib/utils.mjs.map +1 -0
  170. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.cjs +14 -0
  171. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.mjs +12 -0
  172. package/dist/node_modules/.pnpm/randombytes@2.1.0/node_modules/randombytes/index.mjs.map +1 -0
  173. package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.cjs +117 -0
  174. package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.mjs +113 -0
  175. package/dist/node_modules/.pnpm/section-matter@1.0.0/node_modules/section-matter/index.mjs.map +1 -0
  176. package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.cjs +119 -0
  177. package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.mjs +115 -0
  178. package/dist/node_modules/.pnpm/serialize-javascript@6.0.2/node_modules/serialize-javascript/index.mjs.map +1 -0
  179. package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.cjs +25 -0
  180. package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.mjs +21 -0
  181. package/dist/node_modules/.pnpm/strip-bom-string@1.0.0/node_modules/strip-bom-string/index.mjs.map +1 -0
  182. package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.cjs +294 -0
  183. package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs +293 -0
  184. package/dist/node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs.map +1 -0
  185. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.cjs +70 -0
  186. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.mjs +66 -0
  187. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.mjs.map +1 -0
  188. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.cjs +57 -0
  189. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.mjs +53 -0
  190. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.mjs.map +1 -0
  191. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.cjs +102 -0
  192. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.mjs +98 -0
  193. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.mjs.map +1 -0
  194. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.cjs +74 -0
  195. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.mjs +70 -0
  196. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.mjs.map +1 -0
  197. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.cjs +215 -0
  198. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.mjs +211 -0
  199. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.mjs.map +1 -0
  200. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.cjs +101 -0
  201. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.mjs +97 -0
  202. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.mjs.map +1 -0
  203. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.cjs +187 -0
  204. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.mjs +183 -0
  205. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.mjs.map +1 -0
  206. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.cjs +56 -0
  207. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.mjs +52 -0
  208. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.mjs.map +1 -0
  209. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.cjs +49 -0
  210. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.mjs +45 -0
  211. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.mjs.map +1 -0
  212. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.cjs +174 -0
  213. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.mjs +170 -0
  214. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.mjs.map +1 -0
  215. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.cjs +219 -0
  216. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs +215 -0
  217. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.mjs.map +1 -0
  218. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.cjs +118 -0
  219. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.mjs +114 -0
  220. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.mjs.map +1 -0
  221. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.cjs +40 -0
  222. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs +36 -0
  223. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.mjs.map +1 -0
  224. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.cjs +38 -0
  225. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs +34 -0
  226. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.mjs.map +1 -0
  227. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.cjs +24 -0
  228. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs +20 -0
  229. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.mjs.map +1 -0
  230. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.cjs +24 -0
  231. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs +20 -0
  232. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.mjs.map +1 -0
  233. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.cjs +303 -0
  234. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.mjs +299 -0
  235. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.mjs.map +1 -0
  236. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.cjs +75 -0
  237. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.mjs +71 -0
  238. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.mjs.map +1 -0
  239. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.cjs +51 -0
  240. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.mjs +47 -0
  241. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.mjs.map +1 -0
  242. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.cjs +77 -0
  243. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.mjs +73 -0
  244. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.mjs.map +1 -0
  245. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.cjs +178 -0
  246. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.mjs +174 -0
  247. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.mjs.map +1 -0
  248. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.cjs +64 -0
  249. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.mjs +60 -0
  250. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.mjs.map +1 -0
  251. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.cjs +75 -0
  252. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.mjs +71 -0
  253. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.mjs.map +1 -0
  254. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.cjs +25 -0
  255. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.mjs +21 -0
  256. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.mjs.map +1 -0
  257. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.cjs +109 -0
  258. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.mjs +105 -0
  259. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.mjs.map +1 -0
  260. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.cjs +135 -0
  261. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.mjs +131 -0
  262. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.mjs.map +1 -0
  263. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.cjs +48 -0
  264. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.mjs +44 -0
  265. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.mjs.map +1 -0
  266. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.cjs +48 -0
  267. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.mjs +44 -0
  268. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.mjs.map +1 -0
  269. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.cjs +41 -0
  270. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.mjs +37 -0
  271. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.mjs.map +1 -0
  272. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.cjs +126 -0
  273. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.mjs +122 -0
  274. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.mjs.map +1 -0
  275. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.cjs +123 -0
  276. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.mjs +119 -0
  277. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.mjs.map +1 -0
  278. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.cjs +67 -0
  279. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.mjs +63 -0
  280. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.mjs.map +1 -0
  281. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.cjs +61 -0
  282. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.mjs +57 -0
  283. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.mjs.map +1 -0
  284. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.cjs +49 -0
  285. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.mjs +45 -0
  286. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.mjs.map +1 -0
  287. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.cjs +282 -0
  288. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.mjs +278 -0
  289. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.mjs.map +1 -0
  290. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.cjs +62 -0
  291. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.mjs +58 -0
  292. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.mjs.map +1 -0
  293. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.cjs +102 -0
  294. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.mjs +98 -0
  295. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.mjs.map +1 -0
  296. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.cjs +93 -0
  297. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.mjs +89 -0
  298. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.mjs.map +1 -0
  299. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.cjs +531 -0
  300. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.mjs +527 -0
  301. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.mjs.map +1 -0
  302. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.cjs +58 -0
  303. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.mjs +54 -0
  304. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.mjs.map +1 -0
  305. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.cjs +871 -0
  306. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.mjs +867 -0
  307. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.mjs.map +1 -0
  308. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.cjs +105 -0
  309. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.mjs +101 -0
  310. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.mjs.map +1 -0
  311. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.cjs +45 -0
  312. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.mjs +41 -0
  313. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.mjs.map +1 -0
  314. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.cjs +31 -0
  315. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.mjs +27 -0
  316. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.mjs.map +1 -0
  317. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.cjs +27 -0
  318. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.mjs +23 -0
  319. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.mjs.map +1 -0
  320. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.cjs +31 -0
  321. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.mjs +27 -0
  322. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.mjs.map +1 -0
  323. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.cjs +28 -0
  324. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.mjs +24 -0
  325. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.mjs.map +1 -0
  326. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.cjs +31 -0
  327. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.mjs +27 -0
  328. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.mjs.map +1 -0
  329. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.cjs +55 -0
  330. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.mjs +51 -0
  331. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.mjs.map +1 -0
  332. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.cjs +53 -0
  333. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.mjs +49 -0
  334. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.mjs.map +1 -0
  335. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.cjs +43 -0
  336. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.mjs +39 -0
  337. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.mjs.map +1 -0
  338. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.cjs +77 -0
  339. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.mjs +73 -0
  340. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.mjs.map +1 -0
  341. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.cjs +111 -0
  342. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.mjs +107 -0
  343. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.mjs.map +1 -0
  344. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.cjs +62 -0
  345. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs +58 -0
  346. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.mjs.map +1 -0
  347. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.cjs +39 -0
  348. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs +35 -0
  349. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.mjs.map +1 -0
  350. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.cjs +58 -0
  351. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.mjs +54 -0
  352. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.mjs.map +1 -0
  353. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.cjs +87 -0
  354. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.mjs +83 -0
  355. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.mjs.map +1 -0
  356. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.cjs +53 -0
  357. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs +49 -0
  358. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.mjs.map +1 -0
  359. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.cjs +79 -0
  360. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs +75 -0
  361. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.mjs.map +1 -0
  362. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.cjs +75 -0
  363. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs +71 -0
  364. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.mjs.map +1 -0
  365. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.cjs +65 -0
  366. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs +61 -0
  367. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.mjs.map +1 -0
  368. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.cjs +82 -0
  369. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.mjs +78 -0
  370. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.mjs.map +1 -0
  371. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.cjs +95 -0
  372. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs +91 -0
  373. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.mjs.map +1 -0
  374. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.cjs +127 -0
  375. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.mjs +123 -0
  376. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.mjs.map +1 -0
  377. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.cjs +122 -0
  378. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.mjs +118 -0
  379. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.mjs.map +1 -0
  380. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.cjs +128 -0
  381. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs +124 -0
  382. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.mjs.map +1 -0
  383. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.cjs +31 -0
  384. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs +27 -0
  385. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.mjs.map +1 -0
  386. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.cjs +75 -0
  387. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs +71 -0
  388. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.mjs.map +1 -0
  389. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.cjs +32 -0
  390. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.mjs +28 -0
  391. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.mjs.map +1 -0
  392. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.cjs +112 -0
  393. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.mjs +108 -0
  394. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.mjs.map +1 -0
  395. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.cjs +237 -0
  396. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs +233 -0
  397. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.mjs.map +1 -0
  398. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.cjs +202 -0
  399. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.mjs +198 -0
  400. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.mjs.map +1 -0
  401. package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.cjs +61 -0
  402. package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.mjs +61 -0
  403. package/dist/node_modules/.pnpm/yocto-queue@1.2.2/node_modules/yocto-queue/index.mjs.map +1 -0
  404. package/package.json +4 -4
@@ -0,0 +1,215 @@
1
+ 'use strict';
2
+
3
+ const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
4
+ const require_identity$1 = require('../nodes/identity.cjs');
5
+ const require_directives$1 = require('../doc/directives.cjs');
6
+ const require_Document$1 = require('../doc/Document.cjs');
7
+ const require_errors$1 = require('../errors.cjs');
8
+ const require_resolve_end$1 = require('./resolve-end.cjs');
9
+ const require_compose_doc$1 = require('./compose-doc.cjs');
10
+
11
+ //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.js
12
+ var require_composer = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
13
+ var node_process = require("node:process");
14
+ var directives = require_directives$1.default;
15
+ var Document = require_Document$1.default;
16
+ var errors = require_errors$1.default;
17
+ var identity = require_identity$1.default;
18
+ var composeDoc = require_compose_doc$1.default;
19
+ var resolveEnd = require_resolve_end$1.default;
20
+ function getErrorPos(src) {
21
+ if (typeof src === "number") return [src, src + 1];
22
+ if (Array.isArray(src)) return src.length === 2 ? src : [src[0], src[1]];
23
+ const { offset, source } = src;
24
+ return [offset, offset + (typeof source === "string" ? source.length : 1)];
25
+ }
26
+ function parsePrelude(prelude) {
27
+ let comment = "";
28
+ let atComment = false;
29
+ let afterEmptyLine = false;
30
+ for (let i = 0; i < prelude.length; ++i) {
31
+ const source = prelude[i];
32
+ switch (source[0]) {
33
+ case "#":
34
+ comment += (comment === "" ? "" : afterEmptyLine ? "\n\n" : "\n") + (source.substring(1) || " ");
35
+ atComment = true;
36
+ afterEmptyLine = false;
37
+ break;
38
+ case "%":
39
+ if (prelude[i + 1]?.[0] !== "#") i += 1;
40
+ atComment = false;
41
+ break;
42
+ default:
43
+ if (!atComment) afterEmptyLine = true;
44
+ atComment = false;
45
+ }
46
+ }
47
+ return {
48
+ comment,
49
+ afterEmptyLine
50
+ };
51
+ }
52
+ /**
53
+ * Compose a stream of CST nodes into a stream of YAML Documents.
54
+ *
55
+ * ```ts
56
+ * import { Composer, Parser } from 'yaml'
57
+ *
58
+ * const src: string = ...
59
+ * const tokens = new Parser().parse(src)
60
+ * const docs = new Composer().compose(tokens)
61
+ * ```
62
+ */
63
+ var Composer = class {
64
+ constructor(options = {}) {
65
+ this.doc = null;
66
+ this.atDirectives = false;
67
+ this.prelude = [];
68
+ this.errors = [];
69
+ this.warnings = [];
70
+ this.onError = (source, code, message, warning) => {
71
+ const pos = getErrorPos(source);
72
+ if (warning) this.warnings.push(new errors.YAMLWarning(pos, code, message));
73
+ else this.errors.push(new errors.YAMLParseError(pos, code, message));
74
+ };
75
+ this.directives = new directives.Directives({ version: options.version || "1.2" });
76
+ this.options = options;
77
+ }
78
+ decorate(doc, afterDoc) {
79
+ const { comment, afterEmptyLine } = parsePrelude(this.prelude);
80
+ if (comment) {
81
+ const dc = doc.contents;
82
+ if (afterDoc) doc.comment = doc.comment ? `${doc.comment}\n${comment}` : comment;
83
+ else if (afterEmptyLine || doc.directives.docStart || !dc) doc.commentBefore = comment;
84
+ else if (identity.isCollection(dc) && !dc.flow && dc.items.length > 0) {
85
+ let it = dc.items[0];
86
+ if (identity.isPair(it)) it = it.key;
87
+ const cb = it.commentBefore;
88
+ it.commentBefore = cb ? `${comment}\n${cb}` : comment;
89
+ } else {
90
+ const cb = dc.commentBefore;
91
+ dc.commentBefore = cb ? `${comment}\n${cb}` : comment;
92
+ }
93
+ }
94
+ if (afterDoc) {
95
+ Array.prototype.push.apply(doc.errors, this.errors);
96
+ Array.prototype.push.apply(doc.warnings, this.warnings);
97
+ } else {
98
+ doc.errors = this.errors;
99
+ doc.warnings = this.warnings;
100
+ }
101
+ this.prelude = [];
102
+ this.errors = [];
103
+ this.warnings = [];
104
+ }
105
+ /**
106
+ * Current stream status information.
107
+ *
108
+ * Mostly useful at the end of input for an empty stream.
109
+ */
110
+ streamInfo() {
111
+ return {
112
+ comment: parsePrelude(this.prelude).comment,
113
+ directives: this.directives,
114
+ errors: this.errors,
115
+ warnings: this.warnings
116
+ };
117
+ }
118
+ /**
119
+ * Compose tokens into documents.
120
+ *
121
+ * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.
122
+ * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.
123
+ */
124
+ *compose(tokens, forceDoc = false, endOffset = -1) {
125
+ for (const token of tokens) yield* this.next(token);
126
+ yield* this.end(forceDoc, endOffset);
127
+ }
128
+ /** Advance the composer by one CST token. */
129
+ *next(token) {
130
+ if (node_process.env.LOG_STREAM) console.dir(token, { depth: null });
131
+ switch (token.type) {
132
+ case "directive":
133
+ this.directives.add(token.source, (offset, message, warning) => {
134
+ const pos = getErrorPos(token);
135
+ pos[0] += offset;
136
+ this.onError(pos, "BAD_DIRECTIVE", message, warning);
137
+ });
138
+ this.prelude.push(token.source);
139
+ this.atDirectives = true;
140
+ break;
141
+ case "document": {
142
+ const doc = composeDoc.composeDoc(this.options, this.directives, token, this.onError);
143
+ if (this.atDirectives && !doc.directives.docStart) this.onError(token, "MISSING_CHAR", "Missing directives-end/doc-start indicator line");
144
+ this.decorate(doc, false);
145
+ if (this.doc) yield this.doc;
146
+ this.doc = doc;
147
+ this.atDirectives = false;
148
+ break;
149
+ }
150
+ case "byte-order-mark":
151
+ case "space": break;
152
+ case "comment":
153
+ case "newline":
154
+ this.prelude.push(token.source);
155
+ break;
156
+ case "error": {
157
+ const msg = token.source ? `${token.message}: ${JSON.stringify(token.source)}` : token.message;
158
+ const error = new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg);
159
+ if (this.atDirectives || !this.doc) this.errors.push(error);
160
+ else this.doc.errors.push(error);
161
+ break;
162
+ }
163
+ case "doc-end": {
164
+ if (!this.doc) {
165
+ this.errors.push(new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", "Unexpected doc-end without preceding document"));
166
+ break;
167
+ }
168
+ this.doc.directives.docEnd = true;
169
+ const end = resolveEnd.resolveEnd(token.end, token.offset + token.source.length, this.doc.options.strict, this.onError);
170
+ this.decorate(this.doc, true);
171
+ if (end.comment) {
172
+ const dc = this.doc.comment;
173
+ this.doc.comment = dc ? `${dc}\n${end.comment}` : end.comment;
174
+ }
175
+ this.doc.range[2] = end.offset;
176
+ break;
177
+ }
178
+ default: this.errors.push(new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`));
179
+ }
180
+ }
181
+ /**
182
+ * Call at end of input to yield any remaining document.
183
+ *
184
+ * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.
185
+ * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.
186
+ */
187
+ *end(forceDoc = false, endOffset = -1) {
188
+ if (this.doc) {
189
+ this.decorate(this.doc, true);
190
+ yield this.doc;
191
+ this.doc = null;
192
+ } else if (forceDoc) {
193
+ const opts = Object.assign({ _directives: this.directives }, this.options);
194
+ const doc = new Document.Document(void 0, opts);
195
+ if (this.atDirectives) this.onError(endOffset, "MISSING_CHAR", "Missing directives-end indicator line");
196
+ doc.range = [
197
+ 0,
198
+ endOffset,
199
+ endOffset
200
+ ];
201
+ this.decorate(doc, false);
202
+ yield doc;
203
+ }
204
+ }
205
+ };
206
+ exports.Composer = Composer;
207
+ }));
208
+
209
+ //#endregion
210
+ Object.defineProperty(exports, 'default', {
211
+ enumerable: true,
212
+ get: function () {
213
+ return require_composer();
214
+ }
215
+ });
@@ -0,0 +1,211 @@
1
+ import { __commonJSMin, __require } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
+ import { require_identity } from "../nodes/identity.mjs";
3
+ import { require_directives } from "../doc/directives.mjs";
4
+ import { require_Document } from "../doc/Document.mjs";
5
+ import { require_errors } from "../errors.mjs";
6
+ import { require_resolve_end } from "./resolve-end.mjs";
7
+ import { require_compose_doc } from "./compose-doc.mjs";
8
+
9
+ //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.js
10
+ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
11
+ var node_process = __require("node:process");
12
+ var directives = require_directives();
13
+ var Document = require_Document();
14
+ var errors = require_errors();
15
+ var identity = require_identity();
16
+ var composeDoc = require_compose_doc();
17
+ var resolveEnd = require_resolve_end();
18
+ function getErrorPos(src) {
19
+ if (typeof src === "number") return [src, src + 1];
20
+ if (Array.isArray(src)) return src.length === 2 ? src : [src[0], src[1]];
21
+ const { offset, source } = src;
22
+ return [offset, offset + (typeof source === "string" ? source.length : 1)];
23
+ }
24
+ function parsePrelude(prelude) {
25
+ let comment = "";
26
+ let atComment = false;
27
+ let afterEmptyLine = false;
28
+ for (let i = 0; i < prelude.length; ++i) {
29
+ const source = prelude[i];
30
+ switch (source[0]) {
31
+ case "#":
32
+ comment += (comment === "" ? "" : afterEmptyLine ? "\n\n" : "\n") + (source.substring(1) || " ");
33
+ atComment = true;
34
+ afterEmptyLine = false;
35
+ break;
36
+ case "%":
37
+ if (prelude[i + 1]?.[0] !== "#") i += 1;
38
+ atComment = false;
39
+ break;
40
+ default:
41
+ if (!atComment) afterEmptyLine = true;
42
+ atComment = false;
43
+ }
44
+ }
45
+ return {
46
+ comment,
47
+ afterEmptyLine
48
+ };
49
+ }
50
+ /**
51
+ * Compose a stream of CST nodes into a stream of YAML Documents.
52
+ *
53
+ * ```ts
54
+ * import { Composer, Parser } from 'yaml'
55
+ *
56
+ * const src: string = ...
57
+ * const tokens = new Parser().parse(src)
58
+ * const docs = new Composer().compose(tokens)
59
+ * ```
60
+ */
61
+ var Composer = class {
62
+ constructor(options = {}) {
63
+ this.doc = null;
64
+ this.atDirectives = false;
65
+ this.prelude = [];
66
+ this.errors = [];
67
+ this.warnings = [];
68
+ this.onError = (source, code, message, warning) => {
69
+ const pos = getErrorPos(source);
70
+ if (warning) this.warnings.push(new errors.YAMLWarning(pos, code, message));
71
+ else this.errors.push(new errors.YAMLParseError(pos, code, message));
72
+ };
73
+ this.directives = new directives.Directives({ version: options.version || "1.2" });
74
+ this.options = options;
75
+ }
76
+ decorate(doc, afterDoc) {
77
+ const { comment, afterEmptyLine } = parsePrelude(this.prelude);
78
+ if (comment) {
79
+ const dc = doc.contents;
80
+ if (afterDoc) doc.comment = doc.comment ? `${doc.comment}\n${comment}` : comment;
81
+ else if (afterEmptyLine || doc.directives.docStart || !dc) doc.commentBefore = comment;
82
+ else if (identity.isCollection(dc) && !dc.flow && dc.items.length > 0) {
83
+ let it = dc.items[0];
84
+ if (identity.isPair(it)) it = it.key;
85
+ const cb = it.commentBefore;
86
+ it.commentBefore = cb ? `${comment}\n${cb}` : comment;
87
+ } else {
88
+ const cb = dc.commentBefore;
89
+ dc.commentBefore = cb ? `${comment}\n${cb}` : comment;
90
+ }
91
+ }
92
+ if (afterDoc) {
93
+ Array.prototype.push.apply(doc.errors, this.errors);
94
+ Array.prototype.push.apply(doc.warnings, this.warnings);
95
+ } else {
96
+ doc.errors = this.errors;
97
+ doc.warnings = this.warnings;
98
+ }
99
+ this.prelude = [];
100
+ this.errors = [];
101
+ this.warnings = [];
102
+ }
103
+ /**
104
+ * Current stream status information.
105
+ *
106
+ * Mostly useful at the end of input for an empty stream.
107
+ */
108
+ streamInfo() {
109
+ return {
110
+ comment: parsePrelude(this.prelude).comment,
111
+ directives: this.directives,
112
+ errors: this.errors,
113
+ warnings: this.warnings
114
+ };
115
+ }
116
+ /**
117
+ * Compose tokens into documents.
118
+ *
119
+ * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.
120
+ * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.
121
+ */
122
+ *compose(tokens, forceDoc = false, endOffset = -1) {
123
+ for (const token of tokens) yield* this.next(token);
124
+ yield* this.end(forceDoc, endOffset);
125
+ }
126
+ /** Advance the composer by one CST token. */
127
+ *next(token) {
128
+ if (node_process.env.LOG_STREAM) console.dir(token, { depth: null });
129
+ switch (token.type) {
130
+ case "directive":
131
+ this.directives.add(token.source, (offset, message, warning) => {
132
+ const pos = getErrorPos(token);
133
+ pos[0] += offset;
134
+ this.onError(pos, "BAD_DIRECTIVE", message, warning);
135
+ });
136
+ this.prelude.push(token.source);
137
+ this.atDirectives = true;
138
+ break;
139
+ case "document": {
140
+ const doc = composeDoc.composeDoc(this.options, this.directives, token, this.onError);
141
+ if (this.atDirectives && !doc.directives.docStart) this.onError(token, "MISSING_CHAR", "Missing directives-end/doc-start indicator line");
142
+ this.decorate(doc, false);
143
+ if (this.doc) yield this.doc;
144
+ this.doc = doc;
145
+ this.atDirectives = false;
146
+ break;
147
+ }
148
+ case "byte-order-mark":
149
+ case "space": break;
150
+ case "comment":
151
+ case "newline":
152
+ this.prelude.push(token.source);
153
+ break;
154
+ case "error": {
155
+ const msg = token.source ? `${token.message}: ${JSON.stringify(token.source)}` : token.message;
156
+ const error = new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg);
157
+ if (this.atDirectives || !this.doc) this.errors.push(error);
158
+ else this.doc.errors.push(error);
159
+ break;
160
+ }
161
+ case "doc-end": {
162
+ if (!this.doc) {
163
+ this.errors.push(new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", "Unexpected doc-end without preceding document"));
164
+ break;
165
+ }
166
+ this.doc.directives.docEnd = true;
167
+ const end = resolveEnd.resolveEnd(token.end, token.offset + token.source.length, this.doc.options.strict, this.onError);
168
+ this.decorate(this.doc, true);
169
+ if (end.comment) {
170
+ const dc = this.doc.comment;
171
+ this.doc.comment = dc ? `${dc}\n${end.comment}` : end.comment;
172
+ }
173
+ this.doc.range[2] = end.offset;
174
+ break;
175
+ }
176
+ default: this.errors.push(new errors.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`));
177
+ }
178
+ }
179
+ /**
180
+ * Call at end of input to yield any remaining document.
181
+ *
182
+ * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.
183
+ * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.
184
+ */
185
+ *end(forceDoc = false, endOffset = -1) {
186
+ if (this.doc) {
187
+ this.decorate(this.doc, true);
188
+ yield this.doc;
189
+ this.doc = null;
190
+ } else if (forceDoc) {
191
+ const opts = Object.assign({ _directives: this.directives }, this.options);
192
+ const doc = new Document.Document(void 0, opts);
193
+ if (this.atDirectives) this.onError(endOffset, "MISSING_CHAR", "Missing directives-end indicator line");
194
+ doc.range = [
195
+ 0,
196
+ endOffset,
197
+ endOffset
198
+ ];
199
+ this.decorate(doc, false);
200
+ yield doc;
201
+ }
202
+ }
203
+ };
204
+ exports.Composer = Composer;
205
+ }));
206
+
207
+ //#endregion
208
+ export default require_composer();
209
+
210
+ export { require_composer };
211
+ //# sourceMappingURL=composer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composer.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.js"],"sourcesContent":["'use strict';\n\nvar node_process = require('process');\nvar directives = require('../doc/directives.js');\nvar Document = require('../doc/Document.js');\nvar errors = require('../errors.js');\nvar identity = require('../nodes/identity.js');\nvar composeDoc = require('./compose-doc.js');\nvar resolveEnd = require('./resolve-end.js');\n\nfunction getErrorPos(src) {\n if (typeof src === 'number')\n return [src, src + 1];\n if (Array.isArray(src))\n return src.length === 2 ? src : [src[0], src[1]];\n const { offset, source } = src;\n return [offset, offset + (typeof source === 'string' ? source.length : 1)];\n}\nfunction parsePrelude(prelude) {\n let comment = '';\n let atComment = false;\n let afterEmptyLine = false;\n for (let i = 0; i < prelude.length; ++i) {\n const source = prelude[i];\n switch (source[0]) {\n case '#':\n comment +=\n (comment === '' ? '' : afterEmptyLine ? '\\n\\n' : '\\n') +\n (source.substring(1) || ' ');\n atComment = true;\n afterEmptyLine = false;\n break;\n case '%':\n if (prelude[i + 1]?.[0] !== '#')\n i += 1;\n atComment = false;\n break;\n default:\n // This may be wrong after doc-end, but in that case it doesn't matter\n if (!atComment)\n afterEmptyLine = true;\n atComment = false;\n }\n }\n return { comment, afterEmptyLine };\n}\n/**\n * Compose a stream of CST nodes into a stream of YAML Documents.\n *\n * ```ts\n * import { Composer, Parser } from 'yaml'\n *\n * const src: string = ...\n * const tokens = new Parser().parse(src)\n * const docs = new Composer().compose(tokens)\n * ```\n */\nclass Composer {\n constructor(options = {}) {\n this.doc = null;\n this.atDirectives = false;\n this.prelude = [];\n this.errors = [];\n this.warnings = [];\n this.onError = (source, code, message, warning) => {\n const pos = getErrorPos(source);\n if (warning)\n this.warnings.push(new errors.YAMLWarning(pos, code, message));\n else\n this.errors.push(new errors.YAMLParseError(pos, code, message));\n };\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n this.directives = new directives.Directives({ version: options.version || '1.2' });\n this.options = options;\n }\n decorate(doc, afterDoc) {\n const { comment, afterEmptyLine } = parsePrelude(this.prelude);\n //console.log({ dc: doc.comment, prelude, comment })\n if (comment) {\n const dc = doc.contents;\n if (afterDoc) {\n doc.comment = doc.comment ? `${doc.comment}\\n${comment}` : comment;\n }\n else if (afterEmptyLine || doc.directives.docStart || !dc) {\n doc.commentBefore = comment;\n }\n else if (identity.isCollection(dc) && !dc.flow && dc.items.length > 0) {\n let it = dc.items[0];\n if (identity.isPair(it))\n it = it.key;\n const cb = it.commentBefore;\n it.commentBefore = cb ? `${comment}\\n${cb}` : comment;\n }\n else {\n const cb = dc.commentBefore;\n dc.commentBefore = cb ? `${comment}\\n${cb}` : comment;\n }\n }\n if (afterDoc) {\n Array.prototype.push.apply(doc.errors, this.errors);\n Array.prototype.push.apply(doc.warnings, this.warnings);\n }\n else {\n doc.errors = this.errors;\n doc.warnings = this.warnings;\n }\n this.prelude = [];\n this.errors = [];\n this.warnings = [];\n }\n /**\n * Current stream status information.\n *\n * Mostly useful at the end of input for an empty stream.\n */\n streamInfo() {\n return {\n comment: parsePrelude(this.prelude).comment,\n directives: this.directives,\n errors: this.errors,\n warnings: this.warnings\n };\n }\n /**\n * Compose tokens into documents.\n *\n * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.\n * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.\n */\n *compose(tokens, forceDoc = false, endOffset = -1) {\n for (const token of tokens)\n yield* this.next(token);\n yield* this.end(forceDoc, endOffset);\n }\n /** Advance the composer by one CST token. */\n *next(token) {\n if (node_process.env.LOG_STREAM)\n console.dir(token, { depth: null });\n switch (token.type) {\n case 'directive':\n this.directives.add(token.source, (offset, message, warning) => {\n const pos = getErrorPos(token);\n pos[0] += offset;\n this.onError(pos, 'BAD_DIRECTIVE', message, warning);\n });\n this.prelude.push(token.source);\n this.atDirectives = true;\n break;\n case 'document': {\n const doc = composeDoc.composeDoc(this.options, this.directives, token, this.onError);\n if (this.atDirectives && !doc.directives.docStart)\n this.onError(token, 'MISSING_CHAR', 'Missing directives-end/doc-start indicator line');\n this.decorate(doc, false);\n if (this.doc)\n yield this.doc;\n this.doc = doc;\n this.atDirectives = false;\n break;\n }\n case 'byte-order-mark':\n case 'space':\n break;\n case 'comment':\n case 'newline':\n this.prelude.push(token.source);\n break;\n case 'error': {\n const msg = token.source\n ? `${token.message}: ${JSON.stringify(token.source)}`\n : token.message;\n const error = new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', msg);\n if (this.atDirectives || !this.doc)\n this.errors.push(error);\n else\n this.doc.errors.push(error);\n break;\n }\n case 'doc-end': {\n if (!this.doc) {\n const msg = 'Unexpected doc-end without preceding document';\n this.errors.push(new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', msg));\n break;\n }\n this.doc.directives.docEnd = true;\n const end = resolveEnd.resolveEnd(token.end, token.offset + token.source.length, this.doc.options.strict, this.onError);\n this.decorate(this.doc, true);\n if (end.comment) {\n const dc = this.doc.comment;\n this.doc.comment = dc ? `${dc}\\n${end.comment}` : end.comment;\n }\n this.doc.range[2] = end.offset;\n break;\n }\n default:\n this.errors.push(new errors.YAMLParseError(getErrorPos(token), 'UNEXPECTED_TOKEN', `Unsupported token ${token.type}`));\n }\n }\n /**\n * Call at end of input to yield any remaining document.\n *\n * @param forceDoc - If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.\n * @param endOffset - Should be set if `forceDoc` is also set, to set the document range end and to indicate errors correctly.\n */\n *end(forceDoc = false, endOffset = -1) {\n if (this.doc) {\n this.decorate(this.doc, true);\n yield this.doc;\n this.doc = null;\n }\n else if (forceDoc) {\n const opts = Object.assign({ _directives: this.directives }, this.options);\n const doc = new Document.Document(undefined, opts);\n if (this.atDirectives)\n this.onError(endOffset, 'MISSING_CHAR', 'Missing directives-end indicator line');\n doc.range = [0, endOffset, endOffset];\n this.decorate(doc, false);\n yield doc;\n }\n }\n}\n\nexports.Composer = Composer;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;CAEA,IAAI,yBAAuB,eAAU;CACrC,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CAEJ,SAAS,YAAY,KAAK;AACtB,MAAI,OAAO,QAAQ,SACf,QAAO,CAAC,KAAK,MAAM,EAAE;AACzB,MAAI,MAAM,QAAQ,IAAI,CAClB,QAAO,IAAI,WAAW,IAAI,MAAM,CAAC,IAAI,IAAI,IAAI,GAAG;EACpD,MAAM,EAAE,QAAQ,WAAW;AAC3B,SAAO,CAAC,QAAQ,UAAU,OAAO,WAAW,WAAW,OAAO,SAAS,GAAG;;CAE9E,SAAS,aAAa,SAAS;EAC3B,IAAI,UAAU;EACd,IAAI,YAAY;EAChB,IAAI,iBAAiB;AACrB,OAAK,IAAI,IAAI,GAAG,IAAI,QAAQ,QAAQ,EAAE,GAAG;GACrC,MAAM,SAAS,QAAQ;AACvB,WAAQ,OAAO,IAAf;IACI,KAAK;AACD,iBACK,YAAY,KAAK,KAAK,iBAAiB,SAAS,SAC5C,OAAO,UAAU,EAAE,IAAI;AAChC,iBAAY;AACZ,sBAAiB;AACjB;IACJ,KAAK;AACD,SAAI,QAAQ,IAAI,KAAK,OAAO,IACxB,MAAK;AACT,iBAAY;AACZ;IACJ;AAEI,SAAI,CAAC,UACD,kBAAiB;AACrB,iBAAY;;;AAGxB,SAAO;GAAE;GAAS;GAAgB;;;;;;;;;;;;;CAatC,IAAM,WAAN,MAAe;EACX,YAAY,UAAU,EAAE,EAAE;AAC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Pair.cjs');
5
+ const require_YAMLMap$1 = require('../nodes/YAMLMap.cjs');
6
+ const require_resolve_props$1 = require('./resolve-props.cjs');
7
+ const require_util_contains_newline$1 = require('./util-contains-newline.cjs');
8
+ const require_util_flow_indent_check$1 = require('./util-flow-indent-check.cjs');
9
+ const require_util_map_includes$1 = require('./util-map-includes.cjs');
10
+
11
+ //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.js
12
+ var require_resolve_block_map = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
13
+ var Pair = require_Pair$1.default;
14
+ var YAMLMap = require_YAMLMap$1.default;
15
+ var resolveProps = require_resolve_props$1.default;
16
+ var utilContainsNewline = require_util_contains_newline$1.default;
17
+ var utilFlowIndentCheck = require_util_flow_indent_check$1.default;
18
+ var utilMapIncludes = require_util_map_includes$1.default;
19
+ const startColMsg = "All mapping items must start at the same column";
20
+ function resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag) {
21
+ const map = new (tag?.nodeClass ?? YAMLMap.YAMLMap)(ctx.schema);
22
+ if (ctx.atRoot) ctx.atRoot = false;
23
+ let offset = bm.offset;
24
+ let commentEnd = null;
25
+ for (const collItem of bm.items) {
26
+ const { start, key, sep, value } = collItem;
27
+ const keyProps = resolveProps.resolveProps(start, {
28
+ indicator: "explicit-key-ind",
29
+ next: key ?? sep?.[0],
30
+ offset,
31
+ onError,
32
+ parentIndent: bm.indent,
33
+ startOnNewline: true
34
+ });
35
+ const implicitKey = !keyProps.found;
36
+ if (implicitKey) {
37
+ if (key) {
38
+ if (key.type === "block-seq") onError(offset, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key");
39
+ else if ("indent" in key && key.indent !== bm.indent) onError(offset, "BAD_INDENT", startColMsg);
40
+ }
41
+ if (!keyProps.anchor && !keyProps.tag && !sep) {
42
+ commentEnd = keyProps.end;
43
+ if (keyProps.comment) if (map.comment) map.comment += "\n" + keyProps.comment;
44
+ else map.comment = keyProps.comment;
45
+ continue;
46
+ }
47
+ if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key)) onError(key ?? start[start.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
48
+ } else if (keyProps.found?.indent !== bm.indent) onError(offset, "BAD_INDENT", startColMsg);
49
+ ctx.atKey = true;
50
+ const keyStart = keyProps.end;
51
+ const keyNode = key ? composeNode(ctx, key, keyProps, onError) : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError);
52
+ if (ctx.schema.compat) utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError);
53
+ ctx.atKey = false;
54
+ if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode)) onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
55
+ const valueProps = resolveProps.resolveProps(sep ?? [], {
56
+ indicator: "map-value-ind",
57
+ next: value,
58
+ offset: keyNode.range[2],
59
+ onError,
60
+ parentIndent: bm.indent,
61
+ startOnNewline: !key || key.type === "block-scalar"
62
+ });
63
+ offset = valueProps.end;
64
+ if (valueProps.found) {
65
+ if (implicitKey) {
66
+ if (value?.type === "block-map" && !valueProps.hasNewline) onError(offset, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings");
67
+ if (ctx.options.strict && keyProps.start < valueProps.found.offset - 1024) onError(keyNode.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key");
68
+ }
69
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep, null, valueProps, onError);
70
+ if (ctx.schema.compat) utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);
71
+ offset = valueNode.range[2];
72
+ const pair = new Pair.Pair(keyNode, valueNode);
73
+ if (ctx.options.keepSourceTokens) pair.srcToken = collItem;
74
+ map.items.push(pair);
75
+ } else {
76
+ if (implicitKey) onError(keyNode.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values");
77
+ if (valueProps.comment) if (keyNode.comment) keyNode.comment += "\n" + valueProps.comment;
78
+ else keyNode.comment = valueProps.comment;
79
+ const pair = new Pair.Pair(keyNode);
80
+ if (ctx.options.keepSourceTokens) pair.srcToken = collItem;
81
+ map.items.push(pair);
82
+ }
83
+ }
84
+ if (commentEnd && commentEnd < offset) onError(commentEnd, "IMPOSSIBLE", "Map comment with trailing content");
85
+ map.range = [
86
+ bm.offset,
87
+ offset,
88
+ commentEnd ?? offset
89
+ ];
90
+ return map;
91
+ }
92
+ exports.resolveBlockMap = resolveBlockMap;
93
+ }));
94
+
95
+ //#endregion
96
+ Object.defineProperty(exports, 'default', {
97
+ enumerable: true,
98
+ get: function () {
99
+ return require_resolve_block_map();
100
+ }
101
+ });
@@ -0,0 +1,97 @@
1
+ import { __commonJSMin } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
+ import { require_Pair } from "../nodes/Pair.mjs";
3
+ import { require_YAMLMap } from "../nodes/YAMLMap.mjs";
4
+ import { require_resolve_props } from "./resolve-props.mjs";
5
+ import { require_util_contains_newline } from "./util-contains-newline.mjs";
6
+ import { require_util_flow_indent_check } from "./util-flow-indent-check.mjs";
7
+ import { require_util_map_includes } from "./util-map-includes.mjs";
8
+
9
+ //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.js
10
+ var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
11
+ var Pair = require_Pair();
12
+ var YAMLMap = require_YAMLMap();
13
+ var resolveProps = require_resolve_props();
14
+ var utilContainsNewline = require_util_contains_newline();
15
+ var utilFlowIndentCheck = require_util_flow_indent_check();
16
+ var utilMapIncludes = require_util_map_includes();
17
+ const startColMsg = "All mapping items must start at the same column";
18
+ function resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag) {
19
+ const map = new (tag?.nodeClass ?? YAMLMap.YAMLMap)(ctx.schema);
20
+ if (ctx.atRoot) ctx.atRoot = false;
21
+ let offset = bm.offset;
22
+ let commentEnd = null;
23
+ for (const collItem of bm.items) {
24
+ const { start, key, sep, value } = collItem;
25
+ const keyProps = resolveProps.resolveProps(start, {
26
+ indicator: "explicit-key-ind",
27
+ next: key ?? sep?.[0],
28
+ offset,
29
+ onError,
30
+ parentIndent: bm.indent,
31
+ startOnNewline: true
32
+ });
33
+ const implicitKey = !keyProps.found;
34
+ if (implicitKey) {
35
+ if (key) {
36
+ if (key.type === "block-seq") onError(offset, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key");
37
+ else if ("indent" in key && key.indent !== bm.indent) onError(offset, "BAD_INDENT", startColMsg);
38
+ }
39
+ if (!keyProps.anchor && !keyProps.tag && !sep) {
40
+ commentEnd = keyProps.end;
41
+ if (keyProps.comment) if (map.comment) map.comment += "\n" + keyProps.comment;
42
+ else map.comment = keyProps.comment;
43
+ continue;
44
+ }
45
+ if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key)) onError(key ?? start[start.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
46
+ } else if (keyProps.found?.indent !== bm.indent) onError(offset, "BAD_INDENT", startColMsg);
47
+ ctx.atKey = true;
48
+ const keyStart = keyProps.end;
49
+ const keyNode = key ? composeNode(ctx, key, keyProps, onError) : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError);
50
+ if (ctx.schema.compat) utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError);
51
+ ctx.atKey = false;
52
+ if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode)) onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
53
+ const valueProps = resolveProps.resolveProps(sep ?? [], {
54
+ indicator: "map-value-ind",
55
+ next: value,
56
+ offset: keyNode.range[2],
57
+ onError,
58
+ parentIndent: bm.indent,
59
+ startOnNewline: !key || key.type === "block-scalar"
60
+ });
61
+ offset = valueProps.end;
62
+ if (valueProps.found) {
63
+ if (implicitKey) {
64
+ if (value?.type === "block-map" && !valueProps.hasNewline) onError(offset, "BLOCK_AS_IMPLICIT_KEY", "Nested mappings are not allowed in compact mappings");
65
+ if (ctx.options.strict && keyProps.start < valueProps.found.offset - 1024) onError(keyNode.range, "KEY_OVER_1024_CHARS", "The : indicator must be at most 1024 chars after the start of an implicit block mapping key");
66
+ }
67
+ const valueNode = value ? composeNode(ctx, value, valueProps, onError) : composeEmptyNode(ctx, offset, sep, null, valueProps, onError);
68
+ if (ctx.schema.compat) utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);
69
+ offset = valueNode.range[2];
70
+ const pair = new Pair.Pair(keyNode, valueNode);
71
+ if (ctx.options.keepSourceTokens) pair.srcToken = collItem;
72
+ map.items.push(pair);
73
+ } else {
74
+ if (implicitKey) onError(keyNode.range, "MISSING_CHAR", "Implicit map keys need to be followed by map values");
75
+ if (valueProps.comment) if (keyNode.comment) keyNode.comment += "\n" + valueProps.comment;
76
+ else keyNode.comment = valueProps.comment;
77
+ const pair = new Pair.Pair(keyNode);
78
+ if (ctx.options.keepSourceTokens) pair.srcToken = collItem;
79
+ map.items.push(pair);
80
+ }
81
+ }
82
+ if (commentEnd && commentEnd < offset) onError(commentEnd, "IMPOSSIBLE", "Map comment with trailing content");
83
+ map.range = [
84
+ bm.offset,
85
+ offset,
86
+ commentEnd ?? offset
87
+ ];
88
+ return map;
89
+ }
90
+ exports.resolveBlockMap = resolveBlockMap;
91
+ }));
92
+
93
+ //#endregion
94
+ export default require_resolve_block_map();
95
+
96
+ export { require_resolve_block_map };
97
+ //# sourceMappingURL=resolve-block-map.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-block-map.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.js"],"sourcesContent":["'use strict';\n\nvar Pair = require('../nodes/Pair.js');\nvar YAMLMap = require('../nodes/YAMLMap.js');\nvar resolveProps = require('./resolve-props.js');\nvar utilContainsNewline = require('./util-contains-newline.js');\nvar utilFlowIndentCheck = require('./util-flow-indent-check.js');\nvar utilMapIncludes = require('./util-map-includes.js');\n\nconst startColMsg = 'All mapping items must start at the same column';\nfunction resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag) {\n const NodeClass = tag?.nodeClass ?? YAMLMap.YAMLMap;\n const map = new NodeClass(ctx.schema);\n if (ctx.atRoot)\n ctx.atRoot = false;\n let offset = bm.offset;\n let commentEnd = null;\n for (const collItem of bm.items) {\n const { start, key, sep, value } = collItem;\n // key properties\n const keyProps = resolveProps.resolveProps(start, {\n indicator: 'explicit-key-ind',\n next: key ?? sep?.[0],\n offset,\n onError,\n parentIndent: bm.indent,\n startOnNewline: true\n });\n const implicitKey = !keyProps.found;\n if (implicitKey) {\n if (key) {\n if (key.type === 'block-seq')\n onError(offset, 'BLOCK_AS_IMPLICIT_KEY', 'A block sequence may not be used as an implicit map key');\n else if ('indent' in key && key.indent !== bm.indent)\n onError(offset, 'BAD_INDENT', startColMsg);\n }\n if (!keyProps.anchor && !keyProps.tag && !sep) {\n commentEnd = keyProps.end;\n if (keyProps.comment) {\n if (map.comment)\n map.comment += '\\n' + keyProps.comment;\n else\n map.comment = keyProps.comment;\n }\n continue;\n }\n if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key)) {\n onError(key ?? start[start.length - 1], 'MULTILINE_IMPLICIT_KEY', 'Implicit keys need to be on a single line');\n }\n }\n else if (keyProps.found?.indent !== bm.indent) {\n onError(offset, 'BAD_INDENT', startColMsg);\n }\n // key value\n ctx.atKey = true;\n const keyStart = keyProps.end;\n const keyNode = key\n ? composeNode(ctx, key, keyProps, onError)\n : composeEmptyNode(ctx, keyStart, start, null, keyProps, onError);\n if (ctx.schema.compat)\n utilFlowIndentCheck.flowIndentCheck(bm.indent, key, onError);\n ctx.atKey = false;\n if (utilMapIncludes.mapIncludes(ctx, map.items, keyNode))\n onError(keyStart, 'DUPLICATE_KEY', 'Map keys must be unique');\n // value properties\n const valueProps = resolveProps.resolveProps(sep ?? [], {\n indicator: 'map-value-ind',\n next: value,\n offset: keyNode.range[2],\n onError,\n parentIndent: bm.indent,\n startOnNewline: !key || key.type === 'block-scalar'\n });\n offset = valueProps.end;\n if (valueProps.found) {\n if (implicitKey) {\n if (value?.type === 'block-map' && !valueProps.hasNewline)\n onError(offset, 'BLOCK_AS_IMPLICIT_KEY', 'Nested mappings are not allowed in compact mappings');\n if (ctx.options.strict &&\n keyProps.start < valueProps.found.offset - 1024)\n onError(keyNode.range, 'KEY_OVER_1024_CHARS', 'The : indicator must be at most 1024 chars after the start of an implicit block mapping key');\n }\n // value value\n const valueNode = value\n ? composeNode(ctx, value, valueProps, onError)\n : composeEmptyNode(ctx, offset, sep, null, valueProps, onError);\n if (ctx.schema.compat)\n utilFlowIndentCheck.flowIndentCheck(bm.indent, value, onError);\n offset = valueNode.range[2];\n const pair = new Pair.Pair(keyNode, valueNode);\n if (ctx.options.keepSourceTokens)\n pair.srcToken = collItem;\n map.items.push(pair);\n }\n else {\n // key with no value\n if (implicitKey)\n onError(keyNode.range, 'MISSING_CHAR', 'Implicit map keys need to be followed by map values');\n if (valueProps.comment) {\n if (keyNode.comment)\n keyNode.comment += '\\n' + valueProps.comment;\n else\n keyNode.comment = valueProps.comment;\n }\n const pair = new Pair.Pair(keyNode);\n if (ctx.options.keepSourceTokens)\n pair.srcToken = collItem;\n map.items.push(pair);\n }\n }\n if (commentEnd && commentEnd < offset)\n onError(commentEnd, 'IMPOSSIBLE', 'Map comment with trailing content');\n map.range = [bm.offset, offset, commentEnd ?? offset];\n return map;\n}\n\nexports.resolveBlockMap = resolveBlockMap;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;CAEA,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CAEJ,MAAM,cAAc;CACpB,SAAS,gBAAgB,EAAE,aAAa,oBAAoB,KAAK,IAAI,SAAS,KAAK;EAE/E,MAAM,MAAM,KADM,KAAK,aAAa,QAAQ,SACl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