@powerlines/plugin-content-collections 0.1.256 → 0.1.258

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,867 @@
1
+ import { __commonJSMin, __require } from "../../../../../../../_virtual/rolldown_runtime.mjs";
2
+ import { require_cst } from "./cst.mjs";
3
+ import { require_lexer } from "./lexer.mjs";
4
+
5
+ //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.js
6
+ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
7
+ var node_process = __require("node:process");
8
+ var cst = require_cst();
9
+ var lexer = require_lexer();
10
+ function includesToken(list, type) {
11
+ for (let i = 0; i < list.length; ++i) if (list[i].type === type) return true;
12
+ return false;
13
+ }
14
+ function findNonEmptyIndex(list) {
15
+ for (let i = 0; i < list.length; ++i) switch (list[i].type) {
16
+ case "space":
17
+ case "comment":
18
+ case "newline": break;
19
+ default: return i;
20
+ }
21
+ return -1;
22
+ }
23
+ function isFlowToken(token) {
24
+ switch (token?.type) {
25
+ case "alias":
26
+ case "scalar":
27
+ case "single-quoted-scalar":
28
+ case "double-quoted-scalar":
29
+ case "flow-collection": return true;
30
+ default: return false;
31
+ }
32
+ }
33
+ function getPrevProps(parent) {
34
+ switch (parent.type) {
35
+ case "document": return parent.start;
36
+ case "block-map": {
37
+ const it = parent.items[parent.items.length - 1];
38
+ return it.sep ?? it.start;
39
+ }
40
+ case "block-seq": return parent.items[parent.items.length - 1].start;
41
+ default: return [];
42
+ }
43
+ }
44
+ /** Note: May modify input array */
45
+ function getFirstKeyStartProps(prev) {
46
+ if (prev.length === 0) return [];
47
+ let i = prev.length;
48
+ loop: while (--i >= 0) switch (prev[i].type) {
49
+ case "doc-start":
50
+ case "explicit-key-ind":
51
+ case "map-value-ind":
52
+ case "seq-item-ind":
53
+ case "newline": break loop;
54
+ }
55
+ while (prev[++i]?.type === "space");
56
+ return prev.splice(i, prev.length);
57
+ }
58
+ function fixFlowSeqItems(fc) {
59
+ if (fc.start.type === "flow-seq-start") {
60
+ for (const it of fc.items) if (it.sep && !it.value && !includesToken(it.start, "explicit-key-ind") && !includesToken(it.sep, "map-value-ind")) {
61
+ if (it.key) it.value = it.key;
62
+ delete it.key;
63
+ if (isFlowToken(it.value)) if (it.value.end) Array.prototype.push.apply(it.value.end, it.sep);
64
+ else it.value.end = it.sep;
65
+ else Array.prototype.push.apply(it.start, it.sep);
66
+ delete it.sep;
67
+ }
68
+ }
69
+ }
70
+ /**
71
+ * A YAML concrete syntax tree (CST) parser
72
+ *
73
+ * ```ts
74
+ * const src: string = ...
75
+ * for (const token of new Parser().parse(src)) {
76
+ * // token: Token
77
+ * }
78
+ * ```
79
+ *
80
+ * To use the parser with a user-provided lexer:
81
+ *
82
+ * ```ts
83
+ * function* parse(source: string, lexer: Lexer) {
84
+ * const parser = new Parser()
85
+ * for (const lexeme of lexer.lex(source))
86
+ * yield* parser.next(lexeme)
87
+ * yield* parser.end()
88
+ * }
89
+ *
90
+ * const src: string = ...
91
+ * const lexer = new Lexer()
92
+ * for (const token of parse(src, lexer)) {
93
+ * // token: Token
94
+ * }
95
+ * ```
96
+ */
97
+ var Parser = class {
98
+ /**
99
+ * @param onNewLine - If defined, called separately with the start position of
100
+ * each new line (in `parse()`, including the start of input).
101
+ */
102
+ constructor(onNewLine) {
103
+ /** If true, space and sequence indicators count as indentation */
104
+ this.atNewLine = true;
105
+ /** If true, next token is a scalar value */
106
+ this.atScalar = false;
107
+ /** Current indentation level */
108
+ this.indent = 0;
109
+ /** Current offset since the start of parsing */
110
+ this.offset = 0;
111
+ /** On the same line with a block map key */
112
+ this.onKeyLine = false;
113
+ /** Top indicates the node that's currently being built */
114
+ this.stack = [];
115
+ /** The source of the current token, set in parse() */
116
+ this.source = "";
117
+ /** The type of the current token, set in parse() */
118
+ this.type = "";
119
+ this.lexer = new lexer.Lexer();
120
+ this.onNewLine = onNewLine;
121
+ }
122
+ /**
123
+ * Parse `source` as a YAML stream.
124
+ * If `incomplete`, a part of the last line may be left as a buffer for the next call.
125
+ *
126
+ * Errors are not thrown, but yielded as `{ type: 'error', message }` tokens.
127
+ *
128
+ * @returns A generator of tokens representing each directive, document, and other structure.
129
+ */
130
+ *parse(source, incomplete = false) {
131
+ if (this.onNewLine && this.offset === 0) this.onNewLine(0);
132
+ for (const lexeme of this.lexer.lex(source, incomplete)) yield* this.next(lexeme);
133
+ if (!incomplete) yield* this.end();
134
+ }
135
+ /**
136
+ * Advance the parser by the `source` of one lexical token.
137
+ */
138
+ *next(source) {
139
+ this.source = source;
140
+ if (node_process.env.LOG_TOKENS) console.log("|", cst.prettyToken(source));
141
+ if (this.atScalar) {
142
+ this.atScalar = false;
143
+ yield* this.step();
144
+ this.offset += source.length;
145
+ return;
146
+ }
147
+ const type = cst.tokenType(source);
148
+ if (!type) {
149
+ const message = `Not a YAML token: ${source}`;
150
+ yield* this.pop({
151
+ type: "error",
152
+ offset: this.offset,
153
+ message,
154
+ source
155
+ });
156
+ this.offset += source.length;
157
+ } else if (type === "scalar") {
158
+ this.atNewLine = false;
159
+ this.atScalar = true;
160
+ this.type = "scalar";
161
+ } else {
162
+ this.type = type;
163
+ yield* this.step();
164
+ switch (type) {
165
+ case "newline":
166
+ this.atNewLine = true;
167
+ this.indent = 0;
168
+ if (this.onNewLine) this.onNewLine(this.offset + source.length);
169
+ break;
170
+ case "space":
171
+ if (this.atNewLine && source[0] === " ") this.indent += source.length;
172
+ break;
173
+ case "explicit-key-ind":
174
+ case "map-value-ind":
175
+ case "seq-item-ind":
176
+ if (this.atNewLine) this.indent += source.length;
177
+ break;
178
+ case "doc-mode":
179
+ case "flow-error-end": return;
180
+ default: this.atNewLine = false;
181
+ }
182
+ this.offset += source.length;
183
+ }
184
+ }
185
+ /** Call at end of input to push out any remaining constructions */
186
+ *end() {
187
+ while (this.stack.length > 0) yield* this.pop();
188
+ }
189
+ get sourceToken() {
190
+ return {
191
+ type: this.type,
192
+ offset: this.offset,
193
+ indent: this.indent,
194
+ source: this.source
195
+ };
196
+ }
197
+ *step() {
198
+ const top = this.peek(1);
199
+ if (this.type === "doc-end" && top?.type !== "doc-end") {
200
+ while (this.stack.length > 0) yield* this.pop();
201
+ this.stack.push({
202
+ type: "doc-end",
203
+ offset: this.offset,
204
+ source: this.source
205
+ });
206
+ return;
207
+ }
208
+ if (!top) return yield* this.stream();
209
+ switch (top.type) {
210
+ case "document": return yield* this.document(top);
211
+ case "alias":
212
+ case "scalar":
213
+ case "single-quoted-scalar":
214
+ case "double-quoted-scalar": return yield* this.scalar(top);
215
+ case "block-scalar": return yield* this.blockScalar(top);
216
+ case "block-map": return yield* this.blockMap(top);
217
+ case "block-seq": return yield* this.blockSequence(top);
218
+ case "flow-collection": return yield* this.flowCollection(top);
219
+ case "doc-end": return yield* this.documentEnd(top);
220
+ }
221
+ /* istanbul ignore next should not happen */
222
+ yield* this.pop();
223
+ }
224
+ peek(n) {
225
+ return this.stack[this.stack.length - n];
226
+ }
227
+ *pop(error) {
228
+ const token = error ?? this.stack.pop();
229
+ /* istanbul ignore if should not happen */
230
+ if (!token) yield {
231
+ type: "error",
232
+ offset: this.offset,
233
+ source: "",
234
+ message: "Tried to pop an empty stack"
235
+ };
236
+ else if (this.stack.length === 0) yield token;
237
+ else {
238
+ const top = this.peek(1);
239
+ if (token.type === "block-scalar") token.indent = "indent" in top ? top.indent : 0;
240
+ else if (token.type === "flow-collection" && top.type === "document") token.indent = 0;
241
+ if (token.type === "flow-collection") fixFlowSeqItems(token);
242
+ switch (top.type) {
243
+ case "document":
244
+ top.value = token;
245
+ break;
246
+ case "block-scalar":
247
+ top.props.push(token);
248
+ break;
249
+ case "block-map": {
250
+ const it = top.items[top.items.length - 1];
251
+ if (it.value) {
252
+ top.items.push({
253
+ start: [],
254
+ key: token,
255
+ sep: []
256
+ });
257
+ this.onKeyLine = true;
258
+ return;
259
+ } else if (it.sep) it.value = token;
260
+ else {
261
+ Object.assign(it, {
262
+ key: token,
263
+ sep: []
264
+ });
265
+ this.onKeyLine = !it.explicitKey;
266
+ return;
267
+ }
268
+ break;
269
+ }
270
+ case "block-seq": {
271
+ const it = top.items[top.items.length - 1];
272
+ if (it.value) top.items.push({
273
+ start: [],
274
+ value: token
275
+ });
276
+ else it.value = token;
277
+ break;
278
+ }
279
+ case "flow-collection": {
280
+ const it = top.items[top.items.length - 1];
281
+ if (!it || it.value) top.items.push({
282
+ start: [],
283
+ key: token,
284
+ sep: []
285
+ });
286
+ else if (it.sep) it.value = token;
287
+ else Object.assign(it, {
288
+ key: token,
289
+ sep: []
290
+ });
291
+ return;
292
+ }
293
+ default:
294
+ yield* this.pop();
295
+ yield* this.pop(token);
296
+ }
297
+ if ((top.type === "document" || top.type === "block-map" || top.type === "block-seq") && (token.type === "block-map" || token.type === "block-seq")) {
298
+ const last = token.items[token.items.length - 1];
299
+ if (last && !last.sep && !last.value && last.start.length > 0 && findNonEmptyIndex(last.start) === -1 && (token.indent === 0 || last.start.every((st) => st.type !== "comment" || st.indent < token.indent))) {
300
+ if (top.type === "document") top.end = last.start;
301
+ else top.items.push({ start: last.start });
302
+ token.items.splice(-1, 1);
303
+ }
304
+ }
305
+ }
306
+ }
307
+ *stream() {
308
+ switch (this.type) {
309
+ case "directive-line":
310
+ yield {
311
+ type: "directive",
312
+ offset: this.offset,
313
+ source: this.source
314
+ };
315
+ return;
316
+ case "byte-order-mark":
317
+ case "space":
318
+ case "comment":
319
+ case "newline":
320
+ yield this.sourceToken;
321
+ return;
322
+ case "doc-mode":
323
+ case "doc-start": {
324
+ const doc = {
325
+ type: "document",
326
+ offset: this.offset,
327
+ start: []
328
+ };
329
+ if (this.type === "doc-start") doc.start.push(this.sourceToken);
330
+ this.stack.push(doc);
331
+ return;
332
+ }
333
+ }
334
+ yield {
335
+ type: "error",
336
+ offset: this.offset,
337
+ message: `Unexpected ${this.type} token in YAML stream`,
338
+ source: this.source
339
+ };
340
+ }
341
+ *document(doc) {
342
+ if (doc.value) return yield* this.lineEnd(doc);
343
+ switch (this.type) {
344
+ case "doc-start":
345
+ if (findNonEmptyIndex(doc.start) !== -1) {
346
+ yield* this.pop();
347
+ yield* this.step();
348
+ } else doc.start.push(this.sourceToken);
349
+ return;
350
+ case "anchor":
351
+ case "tag":
352
+ case "space":
353
+ case "comment":
354
+ case "newline":
355
+ doc.start.push(this.sourceToken);
356
+ return;
357
+ }
358
+ const bv = this.startBlockValue(doc);
359
+ if (bv) this.stack.push(bv);
360
+ else yield {
361
+ type: "error",
362
+ offset: this.offset,
363
+ message: `Unexpected ${this.type} token in YAML document`,
364
+ source: this.source
365
+ };
366
+ }
367
+ *scalar(scalar) {
368
+ if (this.type === "map-value-ind") {
369
+ const start = getFirstKeyStartProps(getPrevProps(this.peek(2)));
370
+ let sep;
371
+ if (scalar.end) {
372
+ sep = scalar.end;
373
+ sep.push(this.sourceToken);
374
+ delete scalar.end;
375
+ } else sep = [this.sourceToken];
376
+ const map = {
377
+ type: "block-map",
378
+ offset: scalar.offset,
379
+ indent: scalar.indent,
380
+ items: [{
381
+ start,
382
+ key: scalar,
383
+ sep
384
+ }]
385
+ };
386
+ this.onKeyLine = true;
387
+ this.stack[this.stack.length - 1] = map;
388
+ } else yield* this.lineEnd(scalar);
389
+ }
390
+ *blockScalar(scalar) {
391
+ switch (this.type) {
392
+ case "space":
393
+ case "comment":
394
+ case "newline":
395
+ scalar.props.push(this.sourceToken);
396
+ return;
397
+ case "scalar":
398
+ scalar.source = this.source;
399
+ this.atNewLine = true;
400
+ this.indent = 0;
401
+ if (this.onNewLine) {
402
+ let nl = this.source.indexOf("\n") + 1;
403
+ while (nl !== 0) {
404
+ this.onNewLine(this.offset + nl);
405
+ nl = this.source.indexOf("\n", nl) + 1;
406
+ }
407
+ }
408
+ yield* this.pop();
409
+ break;
410
+ default:
411
+ yield* this.pop();
412
+ yield* this.step();
413
+ }
414
+ }
415
+ *blockMap(map) {
416
+ const it = map.items[map.items.length - 1];
417
+ switch (this.type) {
418
+ case "newline":
419
+ this.onKeyLine = false;
420
+ if (it.value) {
421
+ const end = "end" in it.value ? it.value.end : void 0;
422
+ if ((Array.isArray(end) ? end[end.length - 1] : void 0)?.type === "comment") end?.push(this.sourceToken);
423
+ else map.items.push({ start: [this.sourceToken] });
424
+ } else if (it.sep) it.sep.push(this.sourceToken);
425
+ else it.start.push(this.sourceToken);
426
+ return;
427
+ case "space":
428
+ case "comment":
429
+ if (it.value) map.items.push({ start: [this.sourceToken] });
430
+ else if (it.sep) it.sep.push(this.sourceToken);
431
+ else {
432
+ if (this.atIndentedComment(it.start, map.indent)) {
433
+ const end = map.items[map.items.length - 2]?.value?.end;
434
+ if (Array.isArray(end)) {
435
+ Array.prototype.push.apply(end, it.start);
436
+ end.push(this.sourceToken);
437
+ map.items.pop();
438
+ return;
439
+ }
440
+ }
441
+ it.start.push(this.sourceToken);
442
+ }
443
+ return;
444
+ }
445
+ if (this.indent >= map.indent) {
446
+ const atMapIndent = !this.onKeyLine && this.indent === map.indent;
447
+ const atNextItem = atMapIndent && (it.sep || it.explicitKey) && this.type !== "seq-item-ind";
448
+ let start = [];
449
+ if (atNextItem && it.sep && !it.value) {
450
+ const nl = [];
451
+ for (let i = 0; i < it.sep.length; ++i) {
452
+ const st = it.sep[i];
453
+ switch (st.type) {
454
+ case "newline":
455
+ nl.push(i);
456
+ break;
457
+ case "space": break;
458
+ case "comment":
459
+ if (st.indent > map.indent) nl.length = 0;
460
+ break;
461
+ default: nl.length = 0;
462
+ }
463
+ }
464
+ if (nl.length >= 2) start = it.sep.splice(nl[1]);
465
+ }
466
+ switch (this.type) {
467
+ case "anchor":
468
+ case "tag":
469
+ if (atNextItem || it.value) {
470
+ start.push(this.sourceToken);
471
+ map.items.push({ start });
472
+ this.onKeyLine = true;
473
+ } else if (it.sep) it.sep.push(this.sourceToken);
474
+ else it.start.push(this.sourceToken);
475
+ return;
476
+ case "explicit-key-ind":
477
+ if (!it.sep && !it.explicitKey) {
478
+ it.start.push(this.sourceToken);
479
+ it.explicitKey = true;
480
+ } else if (atNextItem || it.value) {
481
+ start.push(this.sourceToken);
482
+ map.items.push({
483
+ start,
484
+ explicitKey: true
485
+ });
486
+ } else this.stack.push({
487
+ type: "block-map",
488
+ offset: this.offset,
489
+ indent: this.indent,
490
+ items: [{
491
+ start: [this.sourceToken],
492
+ explicitKey: true
493
+ }]
494
+ });
495
+ this.onKeyLine = true;
496
+ return;
497
+ case "map-value-ind":
498
+ if (it.explicitKey) if (!it.sep) if (includesToken(it.start, "newline")) Object.assign(it, {
499
+ key: null,
500
+ sep: [this.sourceToken]
501
+ });
502
+ else {
503
+ const start$1 = getFirstKeyStartProps(it.start);
504
+ this.stack.push({
505
+ type: "block-map",
506
+ offset: this.offset,
507
+ indent: this.indent,
508
+ items: [{
509
+ start: start$1,
510
+ key: null,
511
+ sep: [this.sourceToken]
512
+ }]
513
+ });
514
+ }
515
+ else if (it.value) map.items.push({
516
+ start: [],
517
+ key: null,
518
+ sep: [this.sourceToken]
519
+ });
520
+ else if (includesToken(it.sep, "map-value-ind")) this.stack.push({
521
+ type: "block-map",
522
+ offset: this.offset,
523
+ indent: this.indent,
524
+ items: [{
525
+ start,
526
+ key: null,
527
+ sep: [this.sourceToken]
528
+ }]
529
+ });
530
+ else if (isFlowToken(it.key) && !includesToken(it.sep, "newline")) {
531
+ const start$1 = getFirstKeyStartProps(it.start);
532
+ const key = it.key;
533
+ const sep = it.sep;
534
+ sep.push(this.sourceToken);
535
+ delete it.key;
536
+ delete it.sep;
537
+ this.stack.push({
538
+ type: "block-map",
539
+ offset: this.offset,
540
+ indent: this.indent,
541
+ items: [{
542
+ start: start$1,
543
+ key,
544
+ sep
545
+ }]
546
+ });
547
+ } else if (start.length > 0) it.sep = it.sep.concat(start, this.sourceToken);
548
+ else it.sep.push(this.sourceToken);
549
+ else if (!it.sep) Object.assign(it, {
550
+ key: null,
551
+ sep: [this.sourceToken]
552
+ });
553
+ else if (it.value || atNextItem) map.items.push({
554
+ start,
555
+ key: null,
556
+ sep: [this.sourceToken]
557
+ });
558
+ else if (includesToken(it.sep, "map-value-ind")) this.stack.push({
559
+ type: "block-map",
560
+ offset: this.offset,
561
+ indent: this.indent,
562
+ items: [{
563
+ start: [],
564
+ key: null,
565
+ sep: [this.sourceToken]
566
+ }]
567
+ });
568
+ else it.sep.push(this.sourceToken);
569
+ this.onKeyLine = true;
570
+ return;
571
+ case "alias":
572
+ case "scalar":
573
+ case "single-quoted-scalar":
574
+ case "double-quoted-scalar": {
575
+ const fs = this.flowScalar(this.type);
576
+ if (atNextItem || it.value) {
577
+ map.items.push({
578
+ start,
579
+ key: fs,
580
+ sep: []
581
+ });
582
+ this.onKeyLine = true;
583
+ } else if (it.sep) this.stack.push(fs);
584
+ else {
585
+ Object.assign(it, {
586
+ key: fs,
587
+ sep: []
588
+ });
589
+ this.onKeyLine = true;
590
+ }
591
+ return;
592
+ }
593
+ default: {
594
+ const bv = this.startBlockValue(map);
595
+ if (bv) {
596
+ if (bv.type === "block-seq") {
597
+ if (!it.explicitKey && it.sep && !includesToken(it.sep, "newline")) {
598
+ yield* this.pop({
599
+ type: "error",
600
+ offset: this.offset,
601
+ message: "Unexpected block-seq-ind on same line with key",
602
+ source: this.source
603
+ });
604
+ return;
605
+ }
606
+ } else if (atMapIndent) map.items.push({ start });
607
+ this.stack.push(bv);
608
+ return;
609
+ }
610
+ }
611
+ }
612
+ }
613
+ yield* this.pop();
614
+ yield* this.step();
615
+ }
616
+ *blockSequence(seq) {
617
+ const it = seq.items[seq.items.length - 1];
618
+ switch (this.type) {
619
+ case "newline":
620
+ if (it.value) {
621
+ const end = "end" in it.value ? it.value.end : void 0;
622
+ if ((Array.isArray(end) ? end[end.length - 1] : void 0)?.type === "comment") end?.push(this.sourceToken);
623
+ else seq.items.push({ start: [this.sourceToken] });
624
+ } else it.start.push(this.sourceToken);
625
+ return;
626
+ case "space":
627
+ case "comment":
628
+ if (it.value) seq.items.push({ start: [this.sourceToken] });
629
+ else {
630
+ if (this.atIndentedComment(it.start, seq.indent)) {
631
+ const end = seq.items[seq.items.length - 2]?.value?.end;
632
+ if (Array.isArray(end)) {
633
+ Array.prototype.push.apply(end, it.start);
634
+ end.push(this.sourceToken);
635
+ seq.items.pop();
636
+ return;
637
+ }
638
+ }
639
+ it.start.push(this.sourceToken);
640
+ }
641
+ return;
642
+ case "anchor":
643
+ case "tag":
644
+ if (it.value || this.indent <= seq.indent) break;
645
+ it.start.push(this.sourceToken);
646
+ return;
647
+ case "seq-item-ind":
648
+ if (this.indent !== seq.indent) break;
649
+ if (it.value || includesToken(it.start, "seq-item-ind")) seq.items.push({ start: [this.sourceToken] });
650
+ else it.start.push(this.sourceToken);
651
+ return;
652
+ }
653
+ if (this.indent > seq.indent) {
654
+ const bv = this.startBlockValue(seq);
655
+ if (bv) {
656
+ this.stack.push(bv);
657
+ return;
658
+ }
659
+ }
660
+ yield* this.pop();
661
+ yield* this.step();
662
+ }
663
+ *flowCollection(fc) {
664
+ const it = fc.items[fc.items.length - 1];
665
+ if (this.type === "flow-error-end") {
666
+ let top;
667
+ do {
668
+ yield* this.pop();
669
+ top = this.peek(1);
670
+ } while (top?.type === "flow-collection");
671
+ } else if (fc.end.length === 0) {
672
+ switch (this.type) {
673
+ case "comma":
674
+ case "explicit-key-ind":
675
+ if (!it || it.sep) fc.items.push({ start: [this.sourceToken] });
676
+ else it.start.push(this.sourceToken);
677
+ return;
678
+ case "map-value-ind":
679
+ if (!it || it.value) fc.items.push({
680
+ start: [],
681
+ key: null,
682
+ sep: [this.sourceToken]
683
+ });
684
+ else if (it.sep) it.sep.push(this.sourceToken);
685
+ else Object.assign(it, {
686
+ key: null,
687
+ sep: [this.sourceToken]
688
+ });
689
+ return;
690
+ case "space":
691
+ case "comment":
692
+ case "newline":
693
+ case "anchor":
694
+ case "tag":
695
+ if (!it || it.value) fc.items.push({ start: [this.sourceToken] });
696
+ else if (it.sep) it.sep.push(this.sourceToken);
697
+ else it.start.push(this.sourceToken);
698
+ return;
699
+ case "alias":
700
+ case "scalar":
701
+ case "single-quoted-scalar":
702
+ case "double-quoted-scalar": {
703
+ const fs = this.flowScalar(this.type);
704
+ if (!it || it.value) fc.items.push({
705
+ start: [],
706
+ key: fs,
707
+ sep: []
708
+ });
709
+ else if (it.sep) this.stack.push(fs);
710
+ else Object.assign(it, {
711
+ key: fs,
712
+ sep: []
713
+ });
714
+ return;
715
+ }
716
+ case "flow-map-end":
717
+ case "flow-seq-end":
718
+ fc.end.push(this.sourceToken);
719
+ return;
720
+ }
721
+ const bv = this.startBlockValue(fc);
722
+ /* istanbul ignore else should not happen */
723
+ if (bv) this.stack.push(bv);
724
+ else {
725
+ yield* this.pop();
726
+ yield* this.step();
727
+ }
728
+ } else {
729
+ const parent = this.peek(2);
730
+ if (parent.type === "block-map" && (this.type === "map-value-ind" && parent.indent === fc.indent || this.type === "newline" && !parent.items[parent.items.length - 1].sep)) {
731
+ yield* this.pop();
732
+ yield* this.step();
733
+ } else if (this.type === "map-value-ind" && parent.type !== "flow-collection") {
734
+ const start = getFirstKeyStartProps(getPrevProps(parent));
735
+ fixFlowSeqItems(fc);
736
+ const sep = fc.end.splice(1, fc.end.length);
737
+ sep.push(this.sourceToken);
738
+ const map = {
739
+ type: "block-map",
740
+ offset: fc.offset,
741
+ indent: fc.indent,
742
+ items: [{
743
+ start,
744
+ key: fc,
745
+ sep
746
+ }]
747
+ };
748
+ this.onKeyLine = true;
749
+ this.stack[this.stack.length - 1] = map;
750
+ } else yield* this.lineEnd(fc);
751
+ }
752
+ }
753
+ flowScalar(type) {
754
+ if (this.onNewLine) {
755
+ let nl = this.source.indexOf("\n") + 1;
756
+ while (nl !== 0) {
757
+ this.onNewLine(this.offset + nl);
758
+ nl = this.source.indexOf("\n", nl) + 1;
759
+ }
760
+ }
761
+ return {
762
+ type,
763
+ offset: this.offset,
764
+ indent: this.indent,
765
+ source: this.source
766
+ };
767
+ }
768
+ startBlockValue(parent) {
769
+ switch (this.type) {
770
+ case "alias":
771
+ case "scalar":
772
+ case "single-quoted-scalar":
773
+ case "double-quoted-scalar": return this.flowScalar(this.type);
774
+ case "block-scalar-header": return {
775
+ type: "block-scalar",
776
+ offset: this.offset,
777
+ indent: this.indent,
778
+ props: [this.sourceToken],
779
+ source: ""
780
+ };
781
+ case "flow-map-start":
782
+ case "flow-seq-start": return {
783
+ type: "flow-collection",
784
+ offset: this.offset,
785
+ indent: this.indent,
786
+ start: this.sourceToken,
787
+ items: [],
788
+ end: []
789
+ };
790
+ case "seq-item-ind": return {
791
+ type: "block-seq",
792
+ offset: this.offset,
793
+ indent: this.indent,
794
+ items: [{ start: [this.sourceToken] }]
795
+ };
796
+ case "explicit-key-ind": {
797
+ this.onKeyLine = true;
798
+ const start = getFirstKeyStartProps(getPrevProps(parent));
799
+ start.push(this.sourceToken);
800
+ return {
801
+ type: "block-map",
802
+ offset: this.offset,
803
+ indent: this.indent,
804
+ items: [{
805
+ start,
806
+ explicitKey: true
807
+ }]
808
+ };
809
+ }
810
+ case "map-value-ind": {
811
+ this.onKeyLine = true;
812
+ const start = getFirstKeyStartProps(getPrevProps(parent));
813
+ return {
814
+ type: "block-map",
815
+ offset: this.offset,
816
+ indent: this.indent,
817
+ items: [{
818
+ start,
819
+ key: null,
820
+ sep: [this.sourceToken]
821
+ }]
822
+ };
823
+ }
824
+ }
825
+ return null;
826
+ }
827
+ atIndentedComment(start, indent) {
828
+ if (this.type !== "comment") return false;
829
+ if (this.indent <= indent) return false;
830
+ return start.every((st) => st.type === "newline" || st.type === "space");
831
+ }
832
+ *documentEnd(docEnd) {
833
+ if (this.type !== "doc-mode") {
834
+ if (docEnd.end) docEnd.end.push(this.sourceToken);
835
+ else docEnd.end = [this.sourceToken];
836
+ if (this.type === "newline") yield* this.pop();
837
+ }
838
+ }
839
+ *lineEnd(token) {
840
+ switch (this.type) {
841
+ case "comma":
842
+ case "doc-start":
843
+ case "doc-end":
844
+ case "flow-seq-end":
845
+ case "flow-map-end":
846
+ case "map-value-ind":
847
+ yield* this.pop();
848
+ yield* this.step();
849
+ break;
850
+ case "newline": this.onKeyLine = false;
851
+ case "space":
852
+ case "comment":
853
+ default:
854
+ if (token.end) token.end.push(this.sourceToken);
855
+ else token.end = [this.sourceToken];
856
+ if (this.type === "newline") yield* this.pop();
857
+ }
858
+ }
859
+ };
860
+ exports.Parser = Parser;
861
+ }));
862
+
863
+ //#endregion
864
+ export default require_parser();
865
+
866
+ export { require_parser };
867
+ //# sourceMappingURL=parser.mjs.map