@kubb/agent 4.33.1 → 4.33.3

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 (790) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/chunks/nitro/nitro.mjs +29 -92
  3. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  4. package/.output/server/chunks/routes/api/health.get.mjs +1 -1
  5. package/.output/server/index.mjs +1 -1
  6. package/.output/server/node_modules/.nitro/picomatch@4.0.3/index.js +17 -0
  7. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/constants.js +180 -0
  8. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/parse.js +1085 -0
  9. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/picomatch.js +341 -0
  10. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/scan.js +391 -0
  11. package/.output/server/node_modules/.nitro/picomatch@4.0.3/lib/utils.js +72 -0
  12. package/.output/server/node_modules/.nitro/picomatch@4.0.3/package.json +83 -0
  13. package/.output/server/node_modules/@babel/runtime/package.json +1 -1
  14. package/.output/server/node_modules/@readme/openapi-parser/package.json +3 -3
  15. package/.output/server/node_modules/@redocly/ajv/dist/2020.js +55 -0
  16. package/.output/server/node_modules/@redocly/ajv/dist/ajv.js +50 -0
  17. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/code.js +156 -0
  18. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/index.js +697 -0
  19. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/scope.js +143 -0
  20. package/.output/server/node_modules/@redocly/ajv/dist/compile/errors.js +123 -0
  21. package/.output/server/node_modules/@redocly/ajv/dist/compile/index.js +249 -0
  22. package/.output/server/node_modules/@redocly/ajv/dist/compile/names.js +29 -0
  23. package/.output/server/node_modules/@redocly/ajv/dist/compile/ref_error.js +12 -0
  24. package/.output/server/node_modules/@redocly/ajv/dist/compile/resolve.js +155 -0
  25. package/.output/server/node_modules/@redocly/ajv/dist/compile/rules.js +26 -0
  26. package/.output/server/node_modules/@redocly/ajv/dist/compile/util.js +178 -0
  27. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/applicability.js +19 -0
  28. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/boolSchema.js +50 -0
  29. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/dataType.js +203 -0
  30. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/defaults.js +35 -0
  31. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/index.js +534 -0
  32. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/keyword.js +124 -0
  33. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/subschema.js +81 -0
  34. package/.output/server/node_modules/@redocly/ajv/dist/core.js +632 -0
  35. package/.output/server/node_modules/@redocly/ajv/dist/draft4.js +56 -0
  36. package/.output/server/node_modules/@redocly/ajv/dist/refs/data.json +13 -0
  37. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  38. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  39. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  40. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  41. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  42. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  43. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  44. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  45. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  46. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-04.json +138 -0
  47. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-07.json +151 -0
  48. package/.output/server/node_modules/@redocly/ajv/dist/runtime/equal.js +7 -0
  49. package/.output/server/node_modules/@redocly/ajv/dist/runtime/ucs2length.js +24 -0
  50. package/.output/server/node_modules/@redocly/ajv/dist/runtime/uri.js +6 -0
  51. package/.output/server/node_modules/@redocly/ajv/dist/runtime/validation_error.js +11 -0
  52. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  53. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalProperties.js +107 -0
  54. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  55. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  56. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/contains.js +95 -0
  57. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  58. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  59. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/if.js +66 -0
  60. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/index.js +44 -0
  61. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items.js +52 -0
  62. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  63. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/not.js +26 -0
  64. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  65. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  66. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  67. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/properties.js +55 -0
  68. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  69. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  70. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/code.js +138 -0
  71. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/id.js +10 -0
  72. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/index.js +16 -0
  73. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/ref.js +132 -0
  74. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/index.js +139 -0
  75. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/types.js +9 -0
  76. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft2020.js +23 -0
  77. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft4.js +29 -0
  78. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft7.js +17 -0
  79. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  80. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  81. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/index.js +9 -0
  82. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  83. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  84. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/format.js +92 -0
  85. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/index.js +6 -0
  86. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/metadata.js +26 -0
  87. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/next.js +8 -0
  88. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/oasContext.js +26 -0
  89. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  90. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  91. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +84 -0
  92. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/const.js +25 -0
  93. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  94. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumber.js +43 -0
  95. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumberExclusive.js +19 -0
  96. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/enum.js +48 -0
  97. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/index.js +37 -0
  98. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  99. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  100. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  101. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  102. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  103. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  104. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/pattern.js +33 -0
  105. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/readOnly.js +20 -0
  106. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/required.js +86 -0
  107. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  108. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/writeOnly.js +20 -0
  109. package/.output/server/node_modules/@redocly/ajv/package.json +130 -0
  110. package/.output/server/node_modules/@redocly/config/lib/asyncapi-config-schema.js +53 -0
  111. package/.output/server/node_modules/@redocly/config/lib/common.js +103 -0
  112. package/.output/server/node_modules/@redocly/config/lib/constants/config.js +17 -0
  113. package/.output/server/node_modules/@redocly/config/lib/constants/entities.js +58 -0
  114. package/.output/server/node_modules/@redocly/config/lib/constants/enum.js +6 -0
  115. package/.output/server/node_modules/@redocly/config/lib/constants/shared.js +22 -0
  116. package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +56 -0
  117. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +186 -0
  118. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +283 -0
  119. package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +683 -0
  120. package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +88 -0
  121. package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +157 -0
  122. package/.output/server/node_modules/@redocly/config/lib/index.js +41 -0
  123. package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +43 -0
  124. package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +120 -0
  125. package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +518 -0
  126. package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +28 -0
  127. package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +103 -0
  128. package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +558 -0
  129. package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +242 -0
  130. package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +3 -0
  131. package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +3 -0
  132. package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +3 -0
  133. package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +3 -0
  134. package/.output/server/node_modules/@redocly/config/lib/types/index.js +21 -0
  135. package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +18 -0
  136. package/.output/server/node_modules/@redocly/config/package.json +28 -0
  137. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +85 -0
  138. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +257 -0
  139. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +74 -0
  140. package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +310 -0
  141. package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +58 -0
  142. package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +27 -0
  143. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +335 -0
  144. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +338 -0
  145. package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +13 -0
  146. package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +9 -0
  147. package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +51 -0
  148. package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +8 -0
  149. package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +98 -0
  150. package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +289 -0
  151. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +289 -0
  152. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +289 -0
  153. package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +35 -0
  154. package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +289 -0
  155. package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +2 -0
  156. package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +129 -0
  157. package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +99 -0
  158. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +2 -0
  159. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +2 -0
  160. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +2 -0
  161. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +65 -0
  162. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +67 -0
  163. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +67 -0
  164. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +21 -0
  165. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +14 -0
  166. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +58 -0
  167. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +27 -0
  168. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +68 -0
  169. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +23 -0
  170. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +19 -0
  171. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +88 -0
  172. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +21 -0
  173. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +116 -0
  174. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +2 -0
  175. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +2 -0
  176. package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +79 -0
  177. package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +5 -0
  178. package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +14 -0
  179. package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +177 -0
  180. package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +365 -0
  181. package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +49 -0
  182. package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +11 -0
  183. package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +171 -0
  184. package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +123 -0
  185. package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +56 -0
  186. package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +35 -0
  187. package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +109 -0
  188. package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +326 -0
  189. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +106 -0
  190. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +68 -0
  191. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +52 -0
  192. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +139 -0
  193. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +27 -0
  194. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +30 -0
  195. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +19 -0
  196. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +21 -0
  197. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +15 -0
  198. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +27 -0
  199. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +27 -0
  200. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +23 -0
  201. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +53 -0
  202. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +19 -0
  203. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +16 -0
  204. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +32 -0
  205. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +13 -0
  206. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +16 -0
  207. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +32 -0
  208. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +13 -0
  209. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +39 -0
  210. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +269 -0
  211. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +22 -0
  212. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +215 -0
  213. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +14 -0
  214. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +23 -0
  215. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +14 -0
  216. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +42 -0
  217. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +21 -0
  218. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +38 -0
  219. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +31 -0
  220. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +21 -0
  221. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +32 -0
  222. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +34 -0
  223. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +13 -0
  224. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +78 -0
  225. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +19 -0
  226. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +42 -0
  227. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +20 -0
  228. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +20 -0
  229. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +9 -0
  230. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +17 -0
  231. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +15 -0
  232. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +13 -0
  233. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +37 -0
  234. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +13 -0
  235. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +9 -0
  236. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +27 -0
  237. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +19 -0
  238. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +13 -0
  239. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +23 -0
  240. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +15 -0
  241. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +145 -0
  242. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +30 -0
  243. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +17 -0
  244. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +34 -0
  245. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +26 -0
  246. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +39 -0
  247. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +62 -0
  248. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +27 -0
  249. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +150 -0
  250. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +9 -0
  251. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +18 -0
  252. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +19 -0
  253. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +93 -0
  254. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +14 -0
  255. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +34 -0
  256. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +14 -0
  257. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +26 -0
  258. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +21 -0
  259. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +130 -0
  260. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +129 -0
  261. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +20 -0
  262. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +13 -0
  263. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +59 -0
  264. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +15 -0
  265. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +15 -0
  266. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +58 -0
  267. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +28 -0
  268. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +83 -0
  269. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +15 -0
  270. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +33 -0
  271. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +28 -0
  272. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +36 -0
  273. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +28 -0
  274. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +59 -0
  275. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +32 -0
  276. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +31 -0
  277. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +16 -0
  278. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +38 -0
  279. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +65 -0
  280. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +20 -0
  281. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +82 -0
  282. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +28 -0
  283. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +31 -0
  284. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +190 -0
  285. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +12 -0
  286. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +20 -0
  287. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +30 -0
  288. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +25 -0
  289. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +18 -0
  290. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +35 -0
  291. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +60 -0
  292. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +172 -0
  293. package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +482 -0
  294. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +1157 -0
  295. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +511 -0
  296. package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +32 -0
  297. package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +90 -0
  298. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +181 -0
  299. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +101 -0
  300. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +454 -0
  301. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +828 -0
  302. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +292 -0
  303. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +306 -0
  304. package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +360 -0
  305. package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +61 -0
  306. package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +573 -0
  307. package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +3 -0
  308. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +28 -0
  309. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +36 -0
  310. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +7 -0
  311. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +3 -0
  312. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +11 -0
  313. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +4 -0
  314. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +4 -0
  315. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +4 -0
  316. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +4 -0
  317. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +4 -0
  318. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +4 -0
  319. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +5 -0
  320. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +4 -0
  321. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +6 -0
  322. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +5 -0
  323. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +27 -0
  324. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +4 -0
  325. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +4 -0
  326. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +4 -0
  327. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +4 -0
  328. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +6 -0
  329. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +4 -0
  330. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +6 -0
  331. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +4 -0
  332. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +8 -0
  333. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +4 -0
  334. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +8 -0
  335. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +26 -0
  336. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +5 -0
  337. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +99 -0
  338. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +11 -0
  339. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +13 -0
  340. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +7 -0
  341. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +31 -0
  342. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +23 -0
  343. package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +177 -0
  344. package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +303 -0
  345. package/.output/server/node_modules/@redocly/openapi-core/package.json +74 -0
  346. package/.output/server/node_modules/ajv/.runkit_example.js +23 -0
  347. package/.output/server/node_modules/ajv/LICENSE +22 -0
  348. package/.output/server/node_modules/ajv/README.md +207 -0
  349. package/.output/server/node_modules/ajv/dist/2019.d.ts +19 -0
  350. package/.output/server/node_modules/ajv/dist/2019.js +61 -0
  351. package/.output/server/node_modules/ajv/dist/2019.js.map +1 -0
  352. package/.output/server/node_modules/ajv/dist/2020.d.ts +19 -0
  353. package/.output/server/node_modules/ajv/dist/2020.js.map +1 -0
  354. package/.output/server/node_modules/ajv/dist/ajv.d.ts +18 -0
  355. package/.output/server/node_modules/ajv/dist/ajv.js +50 -0
  356. package/.output/server/node_modules/ajv/dist/ajv.js.map +1 -0
  357. package/.output/server/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  358. package/.output/server/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  359. package/.output/server/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  360. package/.output/server/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  361. package/.output/server/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  362. package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  363. package/.output/server/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  364. package/.output/server/node_modules/ajv/dist/compile/errors.js.map +1 -0
  365. package/.output/server/node_modules/ajv/dist/compile/index.d.ts +80 -0
  366. package/.output/server/node_modules/ajv/dist/compile/index.js.map +1 -0
  367. package/.output/server/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  368. package/.output/server/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  369. package/.output/server/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  370. package/.output/server/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  371. package/.output/server/node_modules/ajv/dist/compile/jtd/serialize.js +229 -0
  372. package/.output/server/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  373. package/.output/server/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  374. package/.output/server/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  375. package/.output/server/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  376. package/.output/server/node_modules/ajv/dist/compile/names.d.ts +20 -0
  377. package/.output/server/node_modules/ajv/dist/compile/names.js.map +1 -0
  378. package/.output/server/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  379. package/.output/server/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  380. package/.output/server/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  381. package/.output/server/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  382. package/.output/server/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  383. package/.output/server/node_modules/ajv/dist/compile/rules.js.map +1 -0
  384. package/.output/server/node_modules/ajv/dist/compile/util.d.ts +40 -0
  385. package/.output/server/node_modules/ajv/dist/compile/util.js.map +1 -0
  386. package/.output/server/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  387. package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  388. package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  389. package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  390. package/.output/server/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  391. package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  392. package/.output/server/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  393. package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  394. package/.output/server/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  395. package/.output/server/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  396. package/.output/server/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  397. package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  398. package/.output/server/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  399. package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  400. package/.output/server/node_modules/ajv/dist/core.d.ts +173 -0
  401. package/.output/server/node_modules/ajv/dist/core.js.map +1 -0
  402. package/.output/server/node_modules/ajv/dist/jtd.d.ts +47 -0
  403. package/.output/server/node_modules/ajv/dist/jtd.js +72 -0
  404. package/.output/server/node_modules/ajv/dist/jtd.js.map +1 -0
  405. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  406. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  407. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  408. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  409. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  410. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  411. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  412. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  413. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  414. package/.output/server/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  415. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  416. package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  417. package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  418. package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  419. package/.output/server/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  420. package/.output/server/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  421. package/.output/server/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  422. package/.output/server/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  423. package/.output/server/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  424. package/.output/server/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  425. package/.output/server/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  426. package/.output/server/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  427. package/.output/server/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  428. package/.output/server/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  429. package/.output/server/node_modules/ajv/dist/runtime/quote.js +30 -0
  430. package/.output/server/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  431. package/.output/server/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  432. package/.output/server/node_modules/ajv/dist/runtime/re2.js +6 -0
  433. package/.output/server/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  434. package/.output/server/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  435. package/.output/server/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  436. package/.output/server/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  437. package/.output/server/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  438. package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  439. package/.output/server/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  440. package/.output/server/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  441. package/.output/server/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  442. package/.output/server/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  443. package/.output/server/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  444. package/.output/server/node_modules/ajv/dist/standalone/index.js +90 -0
  445. package/.output/server/node_modules/ajv/dist/standalone/index.js.map +1 -0
  446. package/.output/server/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  447. package/.output/server/node_modules/ajv/dist/standalone/instance.js +35 -0
  448. package/.output/server/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  449. package/.output/server/node_modules/ajv/dist/types/index.d.ts +183 -0
  450. package/.output/server/node_modules/ajv/dist/types/index.js +3 -0
  451. package/.output/server/node_modules/ajv/dist/types/index.js.map +1 -0
  452. package/.output/server/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  453. package/.output/server/node_modules/ajv/dist/types/json-schema.js +3 -0
  454. package/.output/server/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  455. package/.output/server/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  456. package/.output/server/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  457. package/.output/server/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  458. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  459. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  460. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  461. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  462. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  463. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  464. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  465. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  466. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  467. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  468. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  469. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  470. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  471. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  472. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  473. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  474. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  475. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  476. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  477. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  478. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  479. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  480. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  481. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  482. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  483. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  484. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  485. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  486. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  487. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  488. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  489. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  490. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  491. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  492. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  493. package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  494. package/.output/server/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  495. package/.output/server/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  496. package/.output/server/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  497. package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  498. package/.output/server/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  499. package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  500. package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  501. package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  502. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  503. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  504. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  505. package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  506. package/.output/server/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  507. package/.output/server/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  508. package/.output/server/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  509. package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  510. package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  511. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  512. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  513. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  514. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  515. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  516. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  517. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  518. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  519. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  520. package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  521. package/.output/server/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  522. package/.output/server/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  523. package/.output/server/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  524. package/.output/server/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  525. package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  526. package/.output/server/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  527. package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  528. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  529. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  530. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  531. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  532. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  533. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  534. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  535. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  536. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  537. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  538. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  539. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  540. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  541. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  542. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  543. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  544. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  545. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  546. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  547. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  548. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  549. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  550. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  551. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  552. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  553. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  554. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  555. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  556. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  557. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  558. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  559. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  560. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  561. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  562. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  563. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  564. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  565. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  566. package/.output/server/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  567. package/.output/server/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  568. package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  569. package/.output/server/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  570. package/.output/server/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  571. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  572. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  573. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  574. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  575. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  576. package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  577. package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  578. package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  579. package/.output/server/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  580. package/.output/server/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  581. package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  582. package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  583. package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  584. package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  585. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  586. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  587. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  588. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  589. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  590. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  591. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  592. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  593. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  594. package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  595. package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  596. package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  597. package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  598. package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  599. package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  600. package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  601. package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  602. package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  603. package/.output/server/node_modules/ajv/lib/2019.ts +81 -0
  604. package/.output/server/node_modules/ajv/lib/2020.ts +75 -0
  605. package/.output/server/node_modules/ajv/lib/ajv.ts +70 -0
  606. package/.output/server/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  607. package/.output/server/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  608. package/.output/server/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  609. package/.output/server/node_modules/ajv/lib/compile/errors.ts +184 -0
  610. package/.output/server/node_modules/ajv/lib/compile/index.ts +324 -0
  611. package/.output/server/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  612. package/.output/server/node_modules/ajv/lib/compile/jtd/serialize.ts +266 -0
  613. package/.output/server/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  614. package/.output/server/node_modules/ajv/lib/compile/names.ts +27 -0
  615. package/.output/server/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  616. package/.output/server/node_modules/ajv/lib/compile/resolve.ts +149 -0
  617. package/.output/server/node_modules/ajv/lib/compile/rules.ts +50 -0
  618. package/.output/server/node_modules/ajv/lib/compile/util.ts +213 -0
  619. package/.output/server/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  620. package/.output/server/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  621. package/.output/server/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  622. package/.output/server/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  623. package/.output/server/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  624. package/.output/server/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  625. package/.output/server/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  626. package/.output/server/node_modules/ajv/lib/core.ts +891 -0
  627. package/.output/server/node_modules/ajv/lib/jtd.ts +132 -0
  628. package/.output/server/node_modules/ajv/lib/refs/data.json +13 -0
  629. package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  630. package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  631. package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  632. package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  633. package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  634. package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  635. package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  636. package/.output/server/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  637. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  638. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  639. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  640. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  641. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  642. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  643. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  644. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  645. package/.output/server/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  646. package/.output/server/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  647. package/.output/server/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  648. package/.output/server/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  649. package/.output/server/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  650. package/.output/server/node_modules/ajv/lib/runtime/equal.ts +7 -0
  651. package/.output/server/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  652. package/.output/server/node_modules/ajv/lib/runtime/quote.ts +31 -0
  653. package/.output/server/node_modules/ajv/lib/runtime/re2.ts +6 -0
  654. package/.output/server/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  655. package/.output/server/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  656. package/.output/server/node_modules/ajv/lib/runtime/uri.ts +6 -0
  657. package/.output/server/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  658. package/.output/server/node_modules/ajv/lib/standalone/index.ts +100 -0
  659. package/.output/server/node_modules/ajv/lib/standalone/instance.ts +36 -0
  660. package/.output/server/node_modules/ajv/lib/types/index.ts +244 -0
  661. package/.output/server/node_modules/ajv/lib/types/json-schema.ts +187 -0
  662. package/.output/server/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  663. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  664. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  665. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  666. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  667. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  668. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  669. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  670. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  671. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  672. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  673. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  674. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  675. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  676. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  677. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  678. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  679. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  680. package/.output/server/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  681. package/.output/server/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  682. package/.output/server/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  683. package/.output/server/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  684. package/.output/server/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  685. package/.output/server/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  686. package/.output/server/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  687. package/.output/server/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  688. package/.output/server/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  689. package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  690. package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  691. package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  692. package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  693. package/.output/server/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  694. package/.output/server/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  695. package/.output/server/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  696. package/.output/server/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  697. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  698. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  699. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  700. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  701. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  702. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  703. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  704. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  705. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  706. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  707. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  708. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  709. package/.output/server/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  710. package/.output/server/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  711. package/.output/server/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  712. package/.output/server/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  713. package/.output/server/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  714. package/.output/server/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  715. package/.output/server/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  716. package/.output/server/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  717. package/.output/server/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  718. package/.output/server/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  719. package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  720. package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  721. package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  722. package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  723. package/.output/server/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  724. package/.output/server/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  725. package/.output/server/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
  726. package/.output/server/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  727. package/.output/server/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  728. package/.output/server/node_modules/ajv/package.json +1 -1
  729. package/.output/server/node_modules/ajv-formats/dist/formats.js +208 -0
  730. package/.output/server/node_modules/ajv-formats/dist/index.js +37 -0
  731. package/.output/server/node_modules/ajv-formats/dist/limit.js +69 -0
  732. package/.output/server/node_modules/ajv-formats/package.json +74 -0
  733. package/.output/server/node_modules/colorette/index.js +82 -0
  734. package/.output/server/node_modules/colorette/package.json +39 -0
  735. package/.output/server/node_modules/js-levenshtein/index.js +105 -0
  736. package/.output/server/node_modules/js-levenshtein/package.json +49 -0
  737. package/.output/server/node_modules/oas/dist/{chunk-SH63AK3O.js → chunk-5EP6HY2E.js} +159 -70
  738. package/.output/server/node_modules/oas/dist/{chunk-L3V5TF63.js → chunk-7MARUOFZ.js} +1 -9
  739. package/.output/server/node_modules/oas/dist/{chunk-BOVZLW7Q.js → chunk-HGVFNEKW.js} +517 -126
  740. package/.output/server/node_modules/oas/dist/{chunk-JMLIY2LK.js → chunk-LSH3X5NA.js} +124 -191
  741. package/.output/server/node_modules/oas/dist/{chunk-TTCGKV5E.js → chunk-S27IGTVG.js} +4 -1
  742. package/.output/server/node_modules/oas/dist/chunk-VA3NKXX7.js +9 -0
  743. package/.output/server/node_modules/oas/dist/index.js +6 -6
  744. package/.output/server/node_modules/oas/dist/types.js +1 -5
  745. package/.output/server/node_modules/oas/dist/utils.js +6 -6
  746. package/.output/server/node_modules/oas/package.json +8 -6
  747. package/.output/server/node_modules/oas-normalize/package.json +5 -5
  748. package/.output/server/node_modules/pluralize/package.json +40 -0
  749. package/.output/server/node_modules/pluralize/pluralize.js +503 -0
  750. package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +45 -0
  751. package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +644 -0
  752. package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +40 -0
  753. package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +22 -0
  754. package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +1416 -0
  755. package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +62 -0
  756. package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +82 -0
  757. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +8 -0
  758. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +14 -0
  759. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +19 -0
  760. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +10 -0
  761. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +14 -0
  762. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +78 -0
  763. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +92 -0
  764. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +32 -0
  765. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +95 -0
  766. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +155 -0
  767. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +64 -0
  768. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +22 -0
  769. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +7 -0
  770. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +10 -0
  771. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +30 -0
  772. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +46 -0
  773. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +55 -0
  774. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +7 -0
  775. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +22 -0
  776. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +7 -0
  777. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +70 -0
  778. package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +54 -0
  779. package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +82 -0
  780. package/.output/server/node_modules/yaml-ast-parser/package.json +39 -0
  781. package/.output/server/package.json +13 -5
  782. package/package.json +16 -16
  783. package/.output/server/node_modules/oas/dist/chunk-LV26LN7C.js +0 -27
  784. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/index.js +0 -0
  785. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/constants.js +0 -0
  786. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/parse.js +0 -0
  787. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/picomatch.js +0 -0
  788. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/scan.js +0 -0
  789. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/lib/utils.js +0 -0
  790. /package/.output/server/node_modules/{picomatch → .nitro/picomatch@2.3.1}/package.json +0 -0
@@ -0,0 +1,1416 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var ast = require("./yamlAST");
4
+ 'use strict';
5
+ var common = require("./common");
6
+ var YAMLException = require("./exception");
7
+ var Mark = require("./mark");
8
+ var DEFAULT_SAFE_SCHEMA = require("./schema/default_safe");
9
+ var DEFAULT_FULL_SCHEMA = require("./schema/default_full");
10
+ var _hasOwnProperty = Object.prototype.hasOwnProperty;
11
+ var CONTEXT_FLOW_IN = 1;
12
+ var CONTEXT_FLOW_OUT = 2;
13
+ var CONTEXT_BLOCK_IN = 3;
14
+ var CONTEXT_BLOCK_OUT = 4;
15
+ var CHOMPING_CLIP = 1;
16
+ var CHOMPING_STRIP = 2;
17
+ var CHOMPING_KEEP = 3;
18
+ var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
19
+ var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
20
+ var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
21
+ var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
22
+ var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
23
+ function is_EOL(c) {
24
+ return (c === 0x0A) || (c === 0x0D);
25
+ }
26
+ function is_WHITE_SPACE(c) {
27
+ return (c === 0x09) || (c === 0x20);
28
+ }
29
+ function is_WS_OR_EOL(c) {
30
+ return (c === 0x09) ||
31
+ (c === 0x20) ||
32
+ (c === 0x0A) ||
33
+ (c === 0x0D);
34
+ }
35
+ function is_FLOW_INDICATOR(c) {
36
+ return 0x2C === c ||
37
+ 0x5B === c ||
38
+ 0x5D === c ||
39
+ 0x7B === c ||
40
+ 0x7D === c;
41
+ }
42
+ function fromHexCode(c) {
43
+ var lc;
44
+ if ((0x30 <= c) && (c <= 0x39)) {
45
+ return c - 0x30;
46
+ }
47
+ lc = c | 0x20;
48
+ if ((0x61 <= lc) && (lc <= 0x66)) {
49
+ return lc - 0x61 + 10;
50
+ }
51
+ return -1;
52
+ }
53
+ function escapedHexLen(c) {
54
+ if (c === 0x78) {
55
+ return 2;
56
+ }
57
+ if (c === 0x75) {
58
+ return 4;
59
+ }
60
+ if (c === 0x55) {
61
+ return 8;
62
+ }
63
+ return 0;
64
+ }
65
+ function fromDecimalCode(c) {
66
+ if ((0x30 <= c) && (c <= 0x39)) {
67
+ return c - 0x30;
68
+ }
69
+ return -1;
70
+ }
71
+ function simpleEscapeSequence(c) {
72
+ return (c === 0x30) ? '\x00' :
73
+ (c === 0x61) ? '\x07' :
74
+ (c === 0x62) ? '\x08' :
75
+ (c === 0x74) ? '\x09' :
76
+ (c === 0x09) ? '\x09' :
77
+ (c === 0x6E) ? '\x0A' :
78
+ (c === 0x76) ? '\x0B' :
79
+ (c === 0x66) ? '\x0C' :
80
+ (c === 0x72) ? '\x0D' :
81
+ (c === 0x65) ? '\x1B' :
82
+ (c === 0x20) ? ' ' :
83
+ (c === 0x22) ? '\x22' :
84
+ (c === 0x2F) ? '/' :
85
+ (c === 0x5C) ? '\x5C' :
86
+ (c === 0x4E) ? '\x85' :
87
+ (c === 0x5F) ? '\xA0' :
88
+ (c === 0x4C) ? '\u2028' :
89
+ (c === 0x50) ? '\u2029' : '';
90
+ }
91
+ function charFromCodepoint(c) {
92
+ if (c <= 0xFFFF) {
93
+ return String.fromCharCode(c);
94
+ }
95
+ return String.fromCharCode(((c - 0x010000) >> 10) + 0xD800, ((c - 0x010000) & 0x03FF) + 0xDC00);
96
+ }
97
+ var simpleEscapeCheck = new Array(256);
98
+ var simpleEscapeMap = new Array(256);
99
+ var customEscapeCheck = new Array(256);
100
+ var customEscapeMap = new Array(256);
101
+ for (var i = 0; i < 256; i++) {
102
+ customEscapeMap[i] = simpleEscapeMap[i] = simpleEscapeSequence(i);
103
+ simpleEscapeCheck[i] = simpleEscapeMap[i] ? 1 : 0;
104
+ customEscapeCheck[i] = 1;
105
+ if (!simpleEscapeCheck[i]) {
106
+ customEscapeMap[i] = '\\' + String.fromCharCode(i);
107
+ }
108
+ }
109
+ var State = (function () {
110
+ function State(input, options) {
111
+ this.errorMap = {};
112
+ this.errors = [];
113
+ this.lines = [];
114
+ this.input = input;
115
+ this.filename = options['filename'] || null;
116
+ this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;
117
+ this.onWarning = options['onWarning'] || null;
118
+ this.legacy = options['legacy'] || false;
119
+ this.allowAnyEscape = options['allowAnyEscape'] || false;
120
+ this.ignoreDuplicateKeys = options['ignoreDuplicateKeys'] || false;
121
+ this.implicitTypes = this.schema.compiledImplicit;
122
+ this.typeMap = this.schema.compiledTypeMap;
123
+ this.length = input.length;
124
+ this.position = 0;
125
+ this.line = 0;
126
+ this.lineStart = 0;
127
+ this.lineIndent = 0;
128
+ this.documents = [];
129
+ }
130
+ return State;
131
+ }());
132
+ function generateError(state, message, isWarning) {
133
+ if (isWarning === void 0) { isWarning = false; }
134
+ return new YAMLException(message, new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart)), isWarning);
135
+ }
136
+ function throwErrorFromPosition(state, position, message, isWarning, toLineEnd) {
137
+ if (isWarning === void 0) { isWarning = false; }
138
+ if (toLineEnd === void 0) { toLineEnd = false; }
139
+ var line = positionToLine(state, position);
140
+ if (!line) {
141
+ return;
142
+ }
143
+ var hash = message + position;
144
+ if (state.errorMap[hash]) {
145
+ return;
146
+ }
147
+ var mark = new Mark(state.filename, state.input, position, line.line, (position - line.start));
148
+ if (toLineEnd) {
149
+ mark.toLineEnd = true;
150
+ }
151
+ var error = new YAMLException(message, mark, isWarning);
152
+ state.errors.push(error);
153
+ }
154
+ function throwError(state, message) {
155
+ var error = generateError(state, message);
156
+ var hash = error.message + error.mark.position;
157
+ if (state.errorMap[hash]) {
158
+ return;
159
+ }
160
+ state.errors.push(error);
161
+ state.errorMap[hash] = 1;
162
+ var or = state.position;
163
+ while (true) {
164
+ if (state.position >= state.input.length - 1) {
165
+ return;
166
+ }
167
+ var c = state.input.charAt(state.position);
168
+ if (c == '\n') {
169
+ state.position--;
170
+ if (state.position == or) {
171
+ state.position += 1;
172
+ }
173
+ return;
174
+ }
175
+ if (c == '\r') {
176
+ state.position--;
177
+ if (state.position == or) {
178
+ state.position += 1;
179
+ }
180
+ return;
181
+ }
182
+ state.position++;
183
+ }
184
+ }
185
+ function throwWarning(state, message) {
186
+ var error = generateError(state, message);
187
+ if (state.onWarning) {
188
+ state.onWarning.call(null, error);
189
+ }
190
+ else {
191
+ }
192
+ }
193
+ var directiveHandlers = {
194
+ YAML: function handleYamlDirective(state, name, args) {
195
+ var match, major, minor;
196
+ if (null !== state.version) {
197
+ throwError(state, 'duplication of %YAML directive');
198
+ }
199
+ if (1 !== args.length) {
200
+ throwError(state, 'YAML directive accepts exactly one argument');
201
+ }
202
+ match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
203
+ if (null === match) {
204
+ throwError(state, 'ill-formed argument of the YAML directive');
205
+ }
206
+ major = parseInt(match[1], 10);
207
+ minor = parseInt(match[2], 10);
208
+ if (1 !== major) {
209
+ throwError(state, 'found incompatible YAML document (version 1.2 is required)');
210
+ }
211
+ state.version = args[0];
212
+ state.checkLineBreaks = (minor < 2);
213
+ if (2 !== minor) {
214
+ throwError(state, 'found incompatible YAML document (version 1.2 is required)');
215
+ }
216
+ },
217
+ TAG: function handleTagDirective(state, name, args) {
218
+ var handle, prefix;
219
+ if (2 !== args.length) {
220
+ throwError(state, 'TAG directive accepts exactly two arguments');
221
+ }
222
+ handle = args[0];
223
+ prefix = args[1];
224
+ if (!PATTERN_TAG_HANDLE.test(handle)) {
225
+ throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');
226
+ }
227
+ if (_hasOwnProperty.call(state.tagMap, handle)) {
228
+ throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
229
+ }
230
+ if (!PATTERN_TAG_URI.test(prefix)) {
231
+ throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');
232
+ }
233
+ state.tagMap[handle] = prefix;
234
+ }
235
+ };
236
+ function captureSegment(state, start, end, checkJson) {
237
+ var _position, _length, _character, _result;
238
+ var scalar = state.result;
239
+ if (scalar.startPosition == -1) {
240
+ scalar.startPosition = start;
241
+ }
242
+ if (start <= end) {
243
+ _result = state.input.slice(start, end);
244
+ if (checkJson) {
245
+ for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
246
+ _character = _result.charCodeAt(_position);
247
+ if (!(0x09 === _character ||
248
+ 0x20 <= _character && _character <= 0x10FFFF)) {
249
+ throwError(state, 'expected valid JSON character');
250
+ }
251
+ }
252
+ }
253
+ else if (PATTERN_NON_PRINTABLE.test(_result)) {
254
+ throwError(state, 'the stream contains non-printable characters');
255
+ }
256
+ scalar.value += _result;
257
+ scalar.endPosition = end;
258
+ }
259
+ }
260
+ function mergeMappings(state, destination, source) {
261
+ var sourceKeys, key, index, quantity;
262
+ if (!common.isObject(source)) {
263
+ throwError(state, 'cannot merge mappings; the provided source object is unacceptable');
264
+ }
265
+ sourceKeys = Object.keys(source);
266
+ for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
267
+ key = sourceKeys[index];
268
+ if (!_hasOwnProperty.call(destination, key)) {
269
+ destination[key] = source[key];
270
+ }
271
+ }
272
+ }
273
+ function storeMappingPair(state, _result, keyTag, keyNode, valueNode) {
274
+ var index, quantity;
275
+ if (keyNode == null) {
276
+ return;
277
+ }
278
+ if (null === _result) {
279
+ _result = {
280
+ startPosition: keyNode.startPosition,
281
+ endPosition: valueNode.endPosition,
282
+ parent: null,
283
+ errors: [],
284
+ mappings: [], kind: ast.Kind.MAP
285
+ };
286
+ }
287
+ var mapping = ast.newMapping(keyNode, valueNode);
288
+ mapping.parent = _result;
289
+ keyNode.parent = mapping;
290
+ if (valueNode != null) {
291
+ valueNode.parent = mapping;
292
+ }
293
+ !state.ignoreDuplicateKeys && _result.mappings.forEach(function (sibling) {
294
+ if (sibling.key && sibling.key.value === (mapping.key && mapping.key.value)) {
295
+ throwErrorFromPosition(state, mapping.key.startPosition, 'duplicate key');
296
+ throwErrorFromPosition(state, sibling.key.startPosition, 'duplicate key');
297
+ }
298
+ });
299
+ _result.mappings.push(mapping);
300
+ _result.endPosition = valueNode ? valueNode.endPosition : keyNode.endPosition + 1;
301
+ return _result;
302
+ }
303
+ function readLineBreak(state) {
304
+ var ch;
305
+ ch = state.input.charCodeAt(state.position);
306
+ if (0x0A === ch) {
307
+ state.position++;
308
+ }
309
+ else if (0x0D === ch) {
310
+ state.position++;
311
+ if (0x0A === state.input.charCodeAt(state.position)) {
312
+ state.position++;
313
+ }
314
+ }
315
+ else {
316
+ throwError(state, 'a line break is expected');
317
+ }
318
+ state.line += 1;
319
+ state.lineStart = state.position;
320
+ state.lines.push({
321
+ start: state.lineStart,
322
+ line: state.line
323
+ });
324
+ }
325
+ var Line = (function () {
326
+ function Line() {
327
+ }
328
+ return Line;
329
+ }());
330
+ function positionToLine(state, position) {
331
+ var line;
332
+ for (var i = 0; i < state.lines.length; i++) {
333
+ if (state.lines[i].start > position) {
334
+ break;
335
+ }
336
+ line = state.lines[i];
337
+ }
338
+ if (!line) {
339
+ return {
340
+ start: 0,
341
+ line: 0
342
+ };
343
+ }
344
+ return line;
345
+ }
346
+ function skipSeparationSpace(state, allowComments, checkIndent) {
347
+ var lineBreaks = 0, ch = state.input.charCodeAt(state.position);
348
+ while (0 !== ch) {
349
+ while (is_WHITE_SPACE(ch)) {
350
+ if (ch === 0x09) {
351
+ state.errors.push(generateError(state, "Using tabs can lead to unpredictable results", true));
352
+ }
353
+ ch = state.input.charCodeAt(++state.position);
354
+ }
355
+ if (allowComments && 0x23 === ch) {
356
+ do {
357
+ ch = state.input.charCodeAt(++state.position);
358
+ } while (ch !== 0x0A && ch !== 0x0D && 0 !== ch);
359
+ }
360
+ if (is_EOL(ch)) {
361
+ readLineBreak(state);
362
+ ch = state.input.charCodeAt(state.position);
363
+ lineBreaks++;
364
+ state.lineIndent = 0;
365
+ while (0x20 === ch) {
366
+ state.lineIndent++;
367
+ ch = state.input.charCodeAt(++state.position);
368
+ }
369
+ }
370
+ else {
371
+ break;
372
+ }
373
+ }
374
+ if (-1 !== checkIndent && 0 !== lineBreaks && state.lineIndent < checkIndent) {
375
+ throwWarning(state, 'deficient indentation');
376
+ }
377
+ return lineBreaks;
378
+ }
379
+ function testDocumentSeparator(state) {
380
+ var _position = state.position, ch;
381
+ ch = state.input.charCodeAt(_position);
382
+ if ((0x2D === ch || 0x2E === ch) &&
383
+ state.input.charCodeAt(_position + 1) === ch &&
384
+ state.input.charCodeAt(_position + 2) === ch) {
385
+ _position += 3;
386
+ ch = state.input.charCodeAt(_position);
387
+ if (ch === 0 || is_WS_OR_EOL(ch)) {
388
+ return true;
389
+ }
390
+ }
391
+ return false;
392
+ }
393
+ function writeFoldedLines(state, scalar, count) {
394
+ if (1 === count) {
395
+ scalar.value += ' ';
396
+ }
397
+ else if (count > 1) {
398
+ scalar.value += common.repeat('\n', count - 1);
399
+ }
400
+ }
401
+ function readPlainScalar(state, nodeIndent, withinFlowCollection) {
402
+ var preceding, following, captureStart, captureEnd, hasPendingContent, _line, _lineStart, _lineIndent, _kind = state.kind, _result = state.result, ch;
403
+ var state_result = ast.newScalar();
404
+ state_result.plainScalar = true;
405
+ state.result = state_result;
406
+ ch = state.input.charCodeAt(state.position);
407
+ if (is_WS_OR_EOL(ch) ||
408
+ is_FLOW_INDICATOR(ch) ||
409
+ 0x23 === ch ||
410
+ 0x26 === ch ||
411
+ 0x2A === ch ||
412
+ 0x21 === ch ||
413
+ 0x7C === ch ||
414
+ 0x3E === ch ||
415
+ 0x27 === ch ||
416
+ 0x22 === ch ||
417
+ 0x25 === ch ||
418
+ 0x40 === ch ||
419
+ 0x60 === ch) {
420
+ return false;
421
+ }
422
+ if (0x3F === ch || 0x2D === ch) {
423
+ following = state.input.charCodeAt(state.position + 1);
424
+ if (is_WS_OR_EOL(following) ||
425
+ withinFlowCollection && is_FLOW_INDICATOR(following)) {
426
+ return false;
427
+ }
428
+ }
429
+ state.kind = 'scalar';
430
+ captureStart = captureEnd = state.position;
431
+ hasPendingContent = false;
432
+ while (0 !== ch) {
433
+ if (0x3A === ch) {
434
+ following = state.input.charCodeAt(state.position + 1);
435
+ if (is_WS_OR_EOL(following) ||
436
+ withinFlowCollection && is_FLOW_INDICATOR(following)) {
437
+ break;
438
+ }
439
+ }
440
+ else if (0x23 === ch) {
441
+ preceding = state.input.charCodeAt(state.position - 1);
442
+ if (is_WS_OR_EOL(preceding)) {
443
+ break;
444
+ }
445
+ }
446
+ else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||
447
+ withinFlowCollection && is_FLOW_INDICATOR(ch)) {
448
+ break;
449
+ }
450
+ else if (is_EOL(ch)) {
451
+ _line = state.line;
452
+ _lineStart = state.lineStart;
453
+ _lineIndent = state.lineIndent;
454
+ skipSeparationSpace(state, false, -1);
455
+ if (state.lineIndent >= nodeIndent) {
456
+ hasPendingContent = true;
457
+ ch = state.input.charCodeAt(state.position);
458
+ continue;
459
+ }
460
+ else {
461
+ state.position = captureEnd;
462
+ state.line = _line;
463
+ state.lineStart = _lineStart;
464
+ state.lineIndent = _lineIndent;
465
+ break;
466
+ }
467
+ }
468
+ if (hasPendingContent) {
469
+ captureSegment(state, captureStart, captureEnd, false);
470
+ writeFoldedLines(state, state_result, state.line - _line);
471
+ captureStart = captureEnd = state.position;
472
+ hasPendingContent = false;
473
+ }
474
+ if (!is_WHITE_SPACE(ch)) {
475
+ captureEnd = state.position + 1;
476
+ }
477
+ ch = state.input.charCodeAt(++state.position);
478
+ if (state.position >= state.input.length) {
479
+ return false;
480
+ }
481
+ }
482
+ captureSegment(state, captureStart, captureEnd, false);
483
+ if (state.result.startPosition != -1) {
484
+ state_result.rawValue = state.input.substring(state_result.startPosition, state_result.endPosition);
485
+ return true;
486
+ }
487
+ state.kind = _kind;
488
+ state.result = _result;
489
+ return false;
490
+ }
491
+ function readSingleQuotedScalar(state, nodeIndent) {
492
+ var ch, captureStart, captureEnd;
493
+ ch = state.input.charCodeAt(state.position);
494
+ if (0x27 !== ch) {
495
+ return false;
496
+ }
497
+ var scalar = ast.newScalar();
498
+ scalar.singleQuoted = true;
499
+ state.kind = 'scalar';
500
+ state.result = scalar;
501
+ scalar.startPosition = state.position;
502
+ state.position++;
503
+ captureStart = captureEnd = state.position;
504
+ while (0 !== (ch = state.input.charCodeAt(state.position))) {
505
+ if (0x27 === ch) {
506
+ captureSegment(state, captureStart, state.position, true);
507
+ ch = state.input.charCodeAt(++state.position);
508
+ scalar.endPosition = state.position;
509
+ if (0x27 === ch) {
510
+ captureStart = captureEnd = state.position;
511
+ state.position++;
512
+ }
513
+ else {
514
+ return true;
515
+ }
516
+ }
517
+ else if (is_EOL(ch)) {
518
+ captureSegment(state, captureStart, captureEnd, true);
519
+ writeFoldedLines(state, scalar, skipSeparationSpace(state, false, nodeIndent));
520
+ captureStart = captureEnd = state.position;
521
+ }
522
+ else if (state.position === state.lineStart && testDocumentSeparator(state)) {
523
+ throwError(state, 'unexpected end of the document within a single quoted scalar');
524
+ }
525
+ else {
526
+ state.position++;
527
+ captureEnd = state.position;
528
+ scalar.endPosition = state.position;
529
+ }
530
+ }
531
+ throwError(state, 'unexpected end of the stream within a single quoted scalar');
532
+ }
533
+ function readDoubleQuotedScalar(state, nodeIndent) {
534
+ var captureStart, captureEnd, hexLength, hexResult, tmp, tmpEsc, ch;
535
+ ch = state.input.charCodeAt(state.position);
536
+ if (0x22 !== ch) {
537
+ return false;
538
+ }
539
+ state.kind = 'scalar';
540
+ var scalar = ast.newScalar();
541
+ scalar.doubleQuoted = true;
542
+ state.result = scalar;
543
+ scalar.startPosition = state.position;
544
+ state.position++;
545
+ captureStart = captureEnd = state.position;
546
+ while (0 !== (ch = state.input.charCodeAt(state.position))) {
547
+ if (0x22 === ch) {
548
+ captureSegment(state, captureStart, state.position, true);
549
+ state.position++;
550
+ scalar.endPosition = state.position;
551
+ scalar.rawValue = state.input.substring(scalar.startPosition, scalar.endPosition);
552
+ return true;
553
+ }
554
+ else if (0x5C === ch) {
555
+ captureSegment(state, captureStart, state.position, true);
556
+ ch = state.input.charCodeAt(++state.position);
557
+ if (is_EOL(ch)) {
558
+ skipSeparationSpace(state, false, nodeIndent);
559
+ }
560
+ else if (ch < 256 && (state.allowAnyEscape ? customEscapeCheck[ch] : simpleEscapeCheck[ch])) {
561
+ scalar.value += (state.allowAnyEscape ? customEscapeMap[ch] : simpleEscapeMap[ch]);
562
+ state.position++;
563
+ }
564
+ else if ((tmp = escapedHexLen(ch)) > 0) {
565
+ hexLength = tmp;
566
+ hexResult = 0;
567
+ for (; hexLength > 0; hexLength--) {
568
+ ch = state.input.charCodeAt(++state.position);
569
+ if ((tmp = fromHexCode(ch)) >= 0) {
570
+ hexResult = (hexResult << 4) + tmp;
571
+ }
572
+ else {
573
+ throwError(state, 'expected hexadecimal character');
574
+ }
575
+ }
576
+ scalar.value += charFromCodepoint(hexResult);
577
+ state.position++;
578
+ }
579
+ else {
580
+ throwError(state, 'unknown escape sequence');
581
+ }
582
+ captureStart = captureEnd = state.position;
583
+ }
584
+ else if (is_EOL(ch)) {
585
+ captureSegment(state, captureStart, captureEnd, true);
586
+ writeFoldedLines(state, scalar, skipSeparationSpace(state, false, nodeIndent));
587
+ captureStart = captureEnd = state.position;
588
+ }
589
+ else if (state.position === state.lineStart && testDocumentSeparator(state)) {
590
+ throwError(state, 'unexpected end of the document within a double quoted scalar');
591
+ }
592
+ else {
593
+ state.position++;
594
+ captureEnd = state.position;
595
+ }
596
+ }
597
+ throwError(state, 'unexpected end of the stream within a double quoted scalar');
598
+ }
599
+ function readFlowCollection(state, nodeIndent) {
600
+ var readNext = true, _line, _tag = state.tag, _result, _anchor = state.anchor, following, terminator, isPair, isExplicitPair, isMapping, keyNode, keyTag, valueNode, ch;
601
+ ch = state.input.charCodeAt(state.position);
602
+ if (ch === 0x5B) {
603
+ terminator = 0x5D;
604
+ isMapping = false;
605
+ _result = ast.newItems();
606
+ _result.startPosition = state.position;
607
+ }
608
+ else if (ch === 0x7B) {
609
+ terminator = 0x7D;
610
+ isMapping = true;
611
+ _result = ast.newMap();
612
+ _result.startPosition = state.position;
613
+ }
614
+ else {
615
+ return false;
616
+ }
617
+ if (null !== state.anchor) {
618
+ _result.anchorId = state.anchor;
619
+ state.anchorMap[state.anchor] = _result;
620
+ }
621
+ ch = state.input.charCodeAt(++state.position);
622
+ while (0 !== ch) {
623
+ skipSeparationSpace(state, true, nodeIndent);
624
+ ch = state.input.charCodeAt(state.position);
625
+ if (ch === terminator) {
626
+ state.position++;
627
+ state.tag = _tag;
628
+ state.anchor = _anchor;
629
+ state.kind = isMapping ? 'mapping' : 'sequence';
630
+ state.result = _result;
631
+ _result.endPosition = state.position;
632
+ return true;
633
+ }
634
+ else if (!readNext) {
635
+ var p = state.position;
636
+ throwError(state, 'missed comma between flow collection entries');
637
+ state.position = p + 1;
638
+ }
639
+ keyTag = keyNode = valueNode = null;
640
+ isPair = isExplicitPair = false;
641
+ if (0x3F === ch) {
642
+ following = state.input.charCodeAt(state.position + 1);
643
+ if (is_WS_OR_EOL(following)) {
644
+ isPair = isExplicitPair = true;
645
+ state.position++;
646
+ skipSeparationSpace(state, true, nodeIndent);
647
+ }
648
+ }
649
+ _line = state.line;
650
+ composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
651
+ keyTag = state.tag;
652
+ keyNode = state.result;
653
+ skipSeparationSpace(state, true, nodeIndent);
654
+ ch = state.input.charCodeAt(state.position);
655
+ if ((isExplicitPair || state.line === _line) && 0x3A === ch) {
656
+ isPair = true;
657
+ ch = state.input.charCodeAt(++state.position);
658
+ skipSeparationSpace(state, true, nodeIndent);
659
+ composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
660
+ valueNode = state.result;
661
+ }
662
+ if (isMapping) {
663
+ storeMappingPair(state, _result, keyTag, keyNode, valueNode);
664
+ }
665
+ else if (isPair) {
666
+ var mp = storeMappingPair(state, null, keyTag, keyNode, valueNode);
667
+ mp.parent = _result;
668
+ _result.items.push(mp);
669
+ }
670
+ else {
671
+ if (keyNode) {
672
+ keyNode.parent = _result;
673
+ }
674
+ _result.items.push(keyNode);
675
+ }
676
+ _result.endPosition = state.position + 1;
677
+ skipSeparationSpace(state, true, nodeIndent);
678
+ ch = state.input.charCodeAt(state.position);
679
+ if (0x2C === ch) {
680
+ readNext = true;
681
+ ch = state.input.charCodeAt(++state.position);
682
+ }
683
+ else {
684
+ readNext = false;
685
+ }
686
+ }
687
+ throwError(state, 'unexpected end of the stream within a flow collection');
688
+ }
689
+ function readBlockScalar(state, nodeIndent) {
690
+ var captureStart, folding, chomping = CHOMPING_CLIP, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp, ch;
691
+ ch = state.input.charCodeAt(state.position);
692
+ if (ch === 0x7C) {
693
+ folding = false;
694
+ }
695
+ else if (ch === 0x3E) {
696
+ folding = true;
697
+ }
698
+ else {
699
+ return false;
700
+ }
701
+ var sc = ast.newScalar();
702
+ state.kind = 'scalar';
703
+ state.result = sc;
704
+ sc.startPosition = state.position;
705
+ while (0 !== ch) {
706
+ ch = state.input.charCodeAt(++state.position);
707
+ if (0x2B === ch || 0x2D === ch) {
708
+ if (CHOMPING_CLIP === chomping) {
709
+ chomping = (0x2B === ch) ? CHOMPING_KEEP : CHOMPING_STRIP;
710
+ }
711
+ else {
712
+ throwError(state, 'repeat of a chomping mode identifier');
713
+ }
714
+ }
715
+ else if ((tmp = fromDecimalCode(ch)) >= 0) {
716
+ if (tmp === 0) {
717
+ throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');
718
+ }
719
+ else if (!detectedIndent) {
720
+ textIndent = nodeIndent + tmp - 1;
721
+ detectedIndent = true;
722
+ }
723
+ else {
724
+ throwError(state, 'repeat of an indentation width identifier');
725
+ }
726
+ }
727
+ else {
728
+ break;
729
+ }
730
+ }
731
+ if (is_WHITE_SPACE(ch)) {
732
+ do {
733
+ ch = state.input.charCodeAt(++state.position);
734
+ } while (is_WHITE_SPACE(ch));
735
+ if (0x23 === ch) {
736
+ do {
737
+ ch = state.input.charCodeAt(++state.position);
738
+ } while (!is_EOL(ch) && (0 !== ch));
739
+ }
740
+ }
741
+ while (0 !== ch) {
742
+ readLineBreak(state);
743
+ state.lineIndent = 0;
744
+ ch = state.input.charCodeAt(state.position);
745
+ while ((!detectedIndent || state.lineIndent < textIndent) &&
746
+ (0x20 === ch)) {
747
+ state.lineIndent++;
748
+ ch = state.input.charCodeAt(++state.position);
749
+ }
750
+ if (!detectedIndent && state.lineIndent > textIndent) {
751
+ textIndent = state.lineIndent;
752
+ }
753
+ if (is_EOL(ch)) {
754
+ emptyLines++;
755
+ continue;
756
+ }
757
+ if (state.lineIndent < textIndent) {
758
+ if (chomping === CHOMPING_KEEP) {
759
+ sc.value += common.repeat('\n', emptyLines);
760
+ }
761
+ else if (chomping === CHOMPING_CLIP) {
762
+ if (detectedIndent) {
763
+ sc.value += '\n';
764
+ }
765
+ }
766
+ break;
767
+ }
768
+ if (folding) {
769
+ if (is_WHITE_SPACE(ch)) {
770
+ atMoreIndented = true;
771
+ sc.value += common.repeat('\n', emptyLines + 1);
772
+ }
773
+ else if (atMoreIndented) {
774
+ atMoreIndented = false;
775
+ sc.value += common.repeat('\n', emptyLines + 1);
776
+ }
777
+ else if (0 === emptyLines) {
778
+ if (detectedIndent) {
779
+ sc.value += ' ';
780
+ }
781
+ }
782
+ else {
783
+ sc.value += common.repeat('\n', emptyLines);
784
+ }
785
+ }
786
+ else if (detectedIndent) {
787
+ sc.value += common.repeat('\n', emptyLines + 1);
788
+ }
789
+ else {
790
+ }
791
+ detectedIndent = true;
792
+ emptyLines = 0;
793
+ captureStart = state.position;
794
+ while (!is_EOL(ch) && (0 !== ch)) {
795
+ ch = state.input.charCodeAt(++state.position);
796
+ }
797
+ captureSegment(state, captureStart, state.position, false);
798
+ }
799
+ sc.endPosition = state.position;
800
+ var i = state.position - 1;
801
+ var needMinus = false;
802
+ while (true) {
803
+ var c = state.input[i];
804
+ if (c == '\r' || c == '\n') {
805
+ if (needMinus) {
806
+ i--;
807
+ }
808
+ break;
809
+ }
810
+ if (c != ' ' && c != '\t') {
811
+ break;
812
+ }
813
+ i--;
814
+ }
815
+ sc.endPosition = i;
816
+ sc.rawValue = state.input.substring(sc.startPosition, sc.endPosition);
817
+ return true;
818
+ }
819
+ function readBlockSequence(state, nodeIndent) {
820
+ var _line, _tag = state.tag, _anchor = state.anchor, _result = ast.newItems(), following, detected = false, ch;
821
+ if (null !== state.anchor) {
822
+ _result.anchorId = state.anchor;
823
+ state.anchorMap[state.anchor] = _result;
824
+ }
825
+ _result.startPosition = state.position;
826
+ ch = state.input.charCodeAt(state.position);
827
+ while (0 !== ch) {
828
+ if (0x2D !== ch) {
829
+ break;
830
+ }
831
+ following = state.input.charCodeAt(state.position + 1);
832
+ if (!is_WS_OR_EOL(following)) {
833
+ break;
834
+ }
835
+ detected = true;
836
+ state.position++;
837
+ if (skipSeparationSpace(state, true, -1)) {
838
+ if (state.lineIndent <= nodeIndent) {
839
+ _result.items.push(null);
840
+ ch = state.input.charCodeAt(state.position);
841
+ continue;
842
+ }
843
+ }
844
+ _line = state.line;
845
+ composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
846
+ if (state.result) {
847
+ state.result.parent = _result;
848
+ _result.items.push(state.result);
849
+ }
850
+ skipSeparationSpace(state, true, -1);
851
+ ch = state.input.charCodeAt(state.position);
852
+ if ((state.line === _line || state.lineIndent > nodeIndent) && (0 !== ch)) {
853
+ throwError(state, 'bad indentation of a sequence entry');
854
+ }
855
+ else if (state.lineIndent < nodeIndent) {
856
+ break;
857
+ }
858
+ }
859
+ _result.endPosition = state.position;
860
+ if (detected) {
861
+ state.tag = _tag;
862
+ state.anchor = _anchor;
863
+ state.kind = 'sequence';
864
+ state.result = _result;
865
+ _result.endPosition = state.position;
866
+ return true;
867
+ }
868
+ return false;
869
+ }
870
+ function readBlockMapping(state, nodeIndent, flowIndent) {
871
+ var following, allowCompact, _line, _tag = state.tag, _anchor = state.anchor, _result = ast.newMap(), keyTag = null, keyNode = null, valueNode = null, atExplicitKey = false, detected = false, ch;
872
+ _result.startPosition = state.position;
873
+ if (null !== state.anchor) {
874
+ _result.anchorId = state.anchor;
875
+ state.anchorMap[state.anchor] = _result;
876
+ }
877
+ ch = state.input.charCodeAt(state.position);
878
+ while (0 !== ch) {
879
+ following = state.input.charCodeAt(state.position + 1);
880
+ _line = state.line;
881
+ if ((0x3F === ch || 0x3A === ch) && is_WS_OR_EOL(following)) {
882
+ if (0x3F === ch) {
883
+ if (atExplicitKey) {
884
+ storeMappingPair(state, _result, keyTag, keyNode, null);
885
+ keyTag = keyNode = valueNode = null;
886
+ }
887
+ detected = true;
888
+ atExplicitKey = true;
889
+ allowCompact = true;
890
+ }
891
+ else if (atExplicitKey) {
892
+ atExplicitKey = false;
893
+ allowCompact = true;
894
+ }
895
+ else {
896
+ throwError(state, 'incomplete explicit mapping pair; a key node is missed');
897
+ }
898
+ state.position += 1;
899
+ ch = following;
900
+ }
901
+ else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
902
+ if (state.line === _line) {
903
+ ch = state.input.charCodeAt(state.position);
904
+ while (is_WHITE_SPACE(ch)) {
905
+ ch = state.input.charCodeAt(++state.position);
906
+ }
907
+ if (0x3A === ch) {
908
+ ch = state.input.charCodeAt(++state.position);
909
+ if (!is_WS_OR_EOL(ch)) {
910
+ throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');
911
+ }
912
+ if (atExplicitKey) {
913
+ storeMappingPair(state, _result, keyTag, keyNode, null);
914
+ keyTag = keyNode = valueNode = null;
915
+ }
916
+ detected = true;
917
+ atExplicitKey = false;
918
+ allowCompact = false;
919
+ keyTag = state.tag;
920
+ keyNode = state.result;
921
+ }
922
+ else if (state.position == state.lineStart && testDocumentSeparator(state)) {
923
+ break;
924
+ }
925
+ else if (detected) {
926
+ throwError(state, 'can not read an implicit mapping pair; a colon is missed');
927
+ }
928
+ else {
929
+ state.tag = _tag;
930
+ state.anchor = _anchor;
931
+ return true;
932
+ }
933
+ }
934
+ else if (detected) {
935
+ throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');
936
+ while (state.position > 0) {
937
+ ch = state.input.charCodeAt(--state.position);
938
+ if (is_EOL(ch)) {
939
+ state.position++;
940
+ break;
941
+ }
942
+ }
943
+ }
944
+ else {
945
+ state.tag = _tag;
946
+ state.anchor = _anchor;
947
+ return true;
948
+ }
949
+ }
950
+ else {
951
+ break;
952
+ }
953
+ if (state.line === _line || state.lineIndent > nodeIndent) {
954
+ if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
955
+ if (atExplicitKey) {
956
+ keyNode = state.result;
957
+ }
958
+ else {
959
+ valueNode = state.result;
960
+ }
961
+ }
962
+ if (!atExplicitKey) {
963
+ storeMappingPair(state, _result, keyTag, keyNode, valueNode);
964
+ keyTag = keyNode = valueNode = null;
965
+ }
966
+ skipSeparationSpace(state, true, -1);
967
+ ch = state.input.charCodeAt(state.position);
968
+ }
969
+ if (state.lineIndent > nodeIndent && (0 !== ch)) {
970
+ throwError(state, 'bad indentation of a mapping entry');
971
+ }
972
+ else if (state.lineIndent < nodeIndent) {
973
+ break;
974
+ }
975
+ }
976
+ if (atExplicitKey) {
977
+ storeMappingPair(state, _result, keyTag, keyNode, null);
978
+ }
979
+ if (detected) {
980
+ state.tag = _tag;
981
+ state.anchor = _anchor;
982
+ state.kind = 'mapping';
983
+ state.result = _result;
984
+ }
985
+ return detected;
986
+ }
987
+ function readTagProperty(state) {
988
+ var _position, isVerbatim = false, isNamed = false, tagHandle, tagName, ch;
989
+ ch = state.input.charCodeAt(state.position);
990
+ if (0x21 !== ch) {
991
+ return false;
992
+ }
993
+ if (null !== state.tag) {
994
+ throwError(state, 'duplication of a tag property');
995
+ }
996
+ ch = state.input.charCodeAt(++state.position);
997
+ if (0x3C === ch) {
998
+ isVerbatim = true;
999
+ ch = state.input.charCodeAt(++state.position);
1000
+ }
1001
+ else if (0x21 === ch) {
1002
+ isNamed = true;
1003
+ tagHandle = '!!';
1004
+ ch = state.input.charCodeAt(++state.position);
1005
+ }
1006
+ else {
1007
+ tagHandle = '!';
1008
+ }
1009
+ _position = state.position;
1010
+ if (isVerbatim) {
1011
+ do {
1012
+ ch = state.input.charCodeAt(++state.position);
1013
+ } while (0 !== ch && 0x3E !== ch);
1014
+ if (state.position < state.length) {
1015
+ tagName = state.input.slice(_position, state.position);
1016
+ ch = state.input.charCodeAt(++state.position);
1017
+ }
1018
+ else {
1019
+ throwError(state, 'unexpected end of the stream within a verbatim tag');
1020
+ }
1021
+ }
1022
+ else {
1023
+ while (0 !== ch && !is_WS_OR_EOL(ch)) {
1024
+ if (0x21 === ch) {
1025
+ if (!isNamed) {
1026
+ tagHandle = state.input.slice(_position - 1, state.position + 1);
1027
+ if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
1028
+ throwError(state, 'named tag handle cannot contain such characters');
1029
+ }
1030
+ isNamed = true;
1031
+ _position = state.position + 1;
1032
+ }
1033
+ else {
1034
+ throwError(state, 'tag suffix cannot contain exclamation marks');
1035
+ }
1036
+ }
1037
+ ch = state.input.charCodeAt(++state.position);
1038
+ }
1039
+ tagName = state.input.slice(_position, state.position);
1040
+ if (PATTERN_FLOW_INDICATORS.test(tagName)) {
1041
+ throwError(state, 'tag suffix cannot contain flow indicator characters');
1042
+ }
1043
+ }
1044
+ if (tagName && !PATTERN_TAG_URI.test(tagName)) {
1045
+ throwError(state, 'tag name cannot contain such characters: ' + tagName);
1046
+ }
1047
+ if (isVerbatim) {
1048
+ state.tag = tagName;
1049
+ }
1050
+ else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {
1051
+ state.tag = state.tagMap[tagHandle] + tagName;
1052
+ }
1053
+ else if ('!' === tagHandle) {
1054
+ state.tag = '!' + tagName;
1055
+ }
1056
+ else if ('!!' === tagHandle) {
1057
+ state.tag = 'tag:yaml.org,2002:' + tagName;
1058
+ }
1059
+ else {
1060
+ throwError(state, 'undeclared tag handle "' + tagHandle + '"');
1061
+ }
1062
+ return true;
1063
+ }
1064
+ function readAnchorProperty(state) {
1065
+ var _position, ch;
1066
+ ch = state.input.charCodeAt(state.position);
1067
+ if (0x26 !== ch) {
1068
+ return false;
1069
+ }
1070
+ if (null !== state.anchor) {
1071
+ throwError(state, 'duplication of an anchor property');
1072
+ }
1073
+ ch = state.input.charCodeAt(++state.position);
1074
+ _position = state.position;
1075
+ while (0 !== ch && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
1076
+ ch = state.input.charCodeAt(++state.position);
1077
+ }
1078
+ if (state.position === _position) {
1079
+ throwError(state, 'name of an anchor node must contain at least one character');
1080
+ }
1081
+ state.anchor = state.input.slice(_position, state.position);
1082
+ return true;
1083
+ }
1084
+ function readAlias(state) {
1085
+ var _position, alias, len = state.length, input = state.input, ch;
1086
+ ch = state.input.charCodeAt(state.position);
1087
+ if (0x2A !== ch) {
1088
+ return false;
1089
+ }
1090
+ ch = state.input.charCodeAt(++state.position);
1091
+ _position = state.position;
1092
+ while (0 !== ch && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
1093
+ ch = state.input.charCodeAt(++state.position);
1094
+ }
1095
+ if (state.position <= _position) {
1096
+ throwError(state, 'name of an alias node must contain at least one character');
1097
+ state.position = _position + 1;
1098
+ }
1099
+ alias = state.input.slice(_position, state.position);
1100
+ if (!state.anchorMap.hasOwnProperty(alias)) {
1101
+ throwError(state, 'unidentified alias "' + alias + '"');
1102
+ if (state.position <= _position) {
1103
+ state.position = _position + 1;
1104
+ }
1105
+ }
1106
+ state.result = ast.newAnchorRef(alias, _position, state.position, state.anchorMap[alias]);
1107
+ skipSeparationSpace(state, true, -1);
1108
+ return true;
1109
+ }
1110
+ function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
1111
+ var allowBlockStyles, allowBlockScalars, allowBlockCollections, indentStatus = 1, atNewLine = false, hasContent = false, typeIndex, typeQuantity, type, flowIndent, blockIndent, _result;
1112
+ state.tag = null;
1113
+ state.anchor = null;
1114
+ state.kind = null;
1115
+ state.result = null;
1116
+ allowBlockStyles = allowBlockScalars = allowBlockCollections =
1117
+ CONTEXT_BLOCK_OUT === nodeContext ||
1118
+ CONTEXT_BLOCK_IN === nodeContext;
1119
+ if (allowToSeek) {
1120
+ if (skipSeparationSpace(state, true, -1)) {
1121
+ atNewLine = true;
1122
+ if (state.lineIndent > parentIndent) {
1123
+ indentStatus = 1;
1124
+ }
1125
+ else if (state.lineIndent === parentIndent) {
1126
+ indentStatus = 0;
1127
+ }
1128
+ else if (state.lineIndent < parentIndent) {
1129
+ indentStatus = -1;
1130
+ }
1131
+ }
1132
+ }
1133
+ var tagStart = state.position;
1134
+ var tagColumn = state.position - state.lineStart;
1135
+ if (1 === indentStatus) {
1136
+ while (readTagProperty(state) || readAnchorProperty(state)) {
1137
+ if (skipSeparationSpace(state, true, -1)) {
1138
+ atNewLine = true;
1139
+ allowBlockCollections = allowBlockStyles;
1140
+ if (state.lineIndent > parentIndent) {
1141
+ indentStatus = 1;
1142
+ }
1143
+ else if (state.lineIndent === parentIndent) {
1144
+ indentStatus = 0;
1145
+ }
1146
+ else if (state.lineIndent < parentIndent) {
1147
+ indentStatus = -1;
1148
+ }
1149
+ }
1150
+ else {
1151
+ allowBlockCollections = false;
1152
+ }
1153
+ }
1154
+ }
1155
+ if (allowBlockCollections) {
1156
+ allowBlockCollections = atNewLine || allowCompact;
1157
+ }
1158
+ if (1 === indentStatus || CONTEXT_BLOCK_OUT === nodeContext) {
1159
+ if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
1160
+ flowIndent = parentIndent;
1161
+ }
1162
+ else {
1163
+ flowIndent = parentIndent + 1;
1164
+ }
1165
+ blockIndent = state.position - state.lineStart;
1166
+ if (1 === indentStatus) {
1167
+ if (allowBlockCollections &&
1168
+ (readBlockSequence(state, blockIndent) ||
1169
+ readBlockMapping(state, blockIndent, flowIndent)) ||
1170
+ readFlowCollection(state, flowIndent)) {
1171
+ hasContent = true;
1172
+ }
1173
+ else {
1174
+ if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||
1175
+ readSingleQuotedScalar(state, flowIndent) ||
1176
+ readDoubleQuotedScalar(state, flowIndent)) {
1177
+ hasContent = true;
1178
+ }
1179
+ else if (readAlias(state)) {
1180
+ hasContent = true;
1181
+ if (null !== state.tag || null !== state.anchor) {
1182
+ throwError(state, 'alias node should not have any properties');
1183
+ }
1184
+ }
1185
+ else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
1186
+ hasContent = true;
1187
+ if (null === state.tag) {
1188
+ state.tag = '?';
1189
+ }
1190
+ }
1191
+ if (null !== state.anchor) {
1192
+ state.anchorMap[state.anchor] = state.result;
1193
+ state.result.anchorId = state.anchor;
1194
+ }
1195
+ }
1196
+ }
1197
+ else if (0 === indentStatus) {
1198
+ hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
1199
+ }
1200
+ }
1201
+ if (null !== state.tag && '!' !== state.tag) {
1202
+ if (state.tag == "!include") {
1203
+ if (!state.result) {
1204
+ state.result = ast.newScalar();
1205
+ state.result.startPosition = state.position;
1206
+ state.result.endPosition = state.position;
1207
+ throwError(state, "!include without value");
1208
+ }
1209
+ state.result.kind = ast.Kind.INCLUDE_REF;
1210
+ }
1211
+ else if ('?' === state.tag) {
1212
+ for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
1213
+ type = state.implicitTypes[typeIndex];
1214
+ var vl = state.result['value'];
1215
+ if (type.resolve(vl)) {
1216
+ state.result.valueObject = type.construct(state.result['value']);
1217
+ state.tag = type.tag;
1218
+ if (null !== state.anchor) {
1219
+ state.result.anchorId = state.anchor;
1220
+ state.anchorMap[state.anchor] = state.result;
1221
+ }
1222
+ break;
1223
+ }
1224
+ }
1225
+ }
1226
+ else if (_hasOwnProperty.call(state.typeMap, state.tag)) {
1227
+ type = state.typeMap[state.tag];
1228
+ if (null !== state.result && type.kind !== state.kind) {
1229
+ throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"');
1230
+ }
1231
+ if (!type.resolve(state.result)) {
1232
+ throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');
1233
+ }
1234
+ else {
1235
+ state.result = type.construct(state.result);
1236
+ if (null !== state.anchor) {
1237
+ state.result.anchorId = state.anchor;
1238
+ state.anchorMap[state.anchor] = state.result;
1239
+ }
1240
+ }
1241
+ }
1242
+ else {
1243
+ throwErrorFromPosition(state, tagStart, 'unknown tag <' + state.tag + '>', false, true);
1244
+ }
1245
+ }
1246
+ return null !== state.tag || null !== state.anchor || hasContent;
1247
+ }
1248
+ function readDocument(state) {
1249
+ var documentStart = state.position, _position, directiveName, directiveArgs, hasDirectives = false, ch;
1250
+ state.version = null;
1251
+ state.checkLineBreaks = state.legacy;
1252
+ state.tagMap = {};
1253
+ state.anchorMap = {};
1254
+ while (0 !== (ch = state.input.charCodeAt(state.position))) {
1255
+ skipSeparationSpace(state, true, -1);
1256
+ ch = state.input.charCodeAt(state.position);
1257
+ if (state.lineIndent > 0 || 0x25 !== ch) {
1258
+ break;
1259
+ }
1260
+ hasDirectives = true;
1261
+ ch = state.input.charCodeAt(++state.position);
1262
+ _position = state.position;
1263
+ while (0 !== ch && !is_WS_OR_EOL(ch)) {
1264
+ ch = state.input.charCodeAt(++state.position);
1265
+ }
1266
+ directiveName = state.input.slice(_position, state.position);
1267
+ directiveArgs = [];
1268
+ if (directiveName.length < 1) {
1269
+ throwError(state, 'directive name must not be less than one character in length');
1270
+ }
1271
+ while (0 !== ch) {
1272
+ while (is_WHITE_SPACE(ch)) {
1273
+ ch = state.input.charCodeAt(++state.position);
1274
+ }
1275
+ if (0x23 === ch) {
1276
+ do {
1277
+ ch = state.input.charCodeAt(++state.position);
1278
+ } while (0 !== ch && !is_EOL(ch));
1279
+ break;
1280
+ }
1281
+ if (is_EOL(ch)) {
1282
+ break;
1283
+ }
1284
+ _position = state.position;
1285
+ while (0 !== ch && !is_WS_OR_EOL(ch)) {
1286
+ ch = state.input.charCodeAt(++state.position);
1287
+ }
1288
+ directiveArgs.push(state.input.slice(_position, state.position));
1289
+ }
1290
+ if (0 !== ch) {
1291
+ readLineBreak(state);
1292
+ }
1293
+ if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
1294
+ directiveHandlers[directiveName](state, directiveName, directiveArgs);
1295
+ }
1296
+ else {
1297
+ throwWarning(state, 'unknown document directive "' + directiveName + '"');
1298
+ state.position++;
1299
+ }
1300
+ }
1301
+ skipSeparationSpace(state, true, -1);
1302
+ if (0 === state.lineIndent &&
1303
+ 0x2D === state.input.charCodeAt(state.position) &&
1304
+ 0x2D === state.input.charCodeAt(state.position + 1) &&
1305
+ 0x2D === state.input.charCodeAt(state.position + 2)) {
1306
+ state.position += 3;
1307
+ skipSeparationSpace(state, true, -1);
1308
+ }
1309
+ else if (hasDirectives) {
1310
+ throwError(state, 'directives end mark is expected');
1311
+ }
1312
+ composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
1313
+ skipSeparationSpace(state, true, -1);
1314
+ if (state.checkLineBreaks &&
1315
+ PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
1316
+ throwWarning(state, 'non-ASCII line breaks are interpreted as content');
1317
+ }
1318
+ state.documents.push(state.result);
1319
+ if (state.position === state.lineStart && testDocumentSeparator(state)) {
1320
+ if (0x2E === state.input.charCodeAt(state.position)) {
1321
+ state.position += 3;
1322
+ skipSeparationSpace(state, true, -1);
1323
+ }
1324
+ return;
1325
+ }
1326
+ if (state.position < (state.length - 1)) {
1327
+ throwError(state, 'end of the stream or a document separator is expected');
1328
+ }
1329
+ else {
1330
+ return;
1331
+ }
1332
+ }
1333
+ function loadDocuments(input, options) {
1334
+ input = String(input);
1335
+ options = options || {};
1336
+ var inputLength = input.length;
1337
+ if (inputLength !== 0) {
1338
+ if (0x0A !== input.charCodeAt(inputLength - 1) &&
1339
+ 0x0D !== input.charCodeAt(inputLength - 1)) {
1340
+ input += '\n';
1341
+ }
1342
+ if (input.charCodeAt(0) === 0xFEFF) {
1343
+ input = input.slice(1);
1344
+ }
1345
+ }
1346
+ var state = new State(input, options);
1347
+ state.input += '\0';
1348
+ while (0x20 === state.input.charCodeAt(state.position)) {
1349
+ state.lineIndent += 1;
1350
+ state.position += 1;
1351
+ }
1352
+ while (state.position < (state.length - 1)) {
1353
+ var q = state.position;
1354
+ readDocument(state);
1355
+ if (state.position <= q) {
1356
+ for (; state.position < state.length - 1; state.position++) {
1357
+ var c = state.input.charAt(state.position);
1358
+ if (c == '\n') {
1359
+ break;
1360
+ }
1361
+ }
1362
+ }
1363
+ }
1364
+ var documents = state.documents;
1365
+ var docsCount = documents.length;
1366
+ if (docsCount > 0) {
1367
+ documents[docsCount - 1].endPosition = inputLength;
1368
+ }
1369
+ for (var _i = 0, documents_1 = documents; _i < documents_1.length; _i++) {
1370
+ var x = documents_1[_i];
1371
+ x.errors = state.errors;
1372
+ if (x.startPosition > x.endPosition) {
1373
+ x.startPosition = x.endPosition;
1374
+ }
1375
+ }
1376
+ return documents;
1377
+ }
1378
+ function loadAll(input, iterator, options) {
1379
+ if (options === void 0) { options = {}; }
1380
+ var documents = loadDocuments(input, options), index, length;
1381
+ for (index = 0, length = documents.length; index < length; index += 1) {
1382
+ iterator(documents[index]);
1383
+ }
1384
+ }
1385
+ exports.loadAll = loadAll;
1386
+ function load(input, options) {
1387
+ if (options === void 0) { options = {}; }
1388
+ var documents = loadDocuments(input, options), index, length;
1389
+ if (0 === documents.length) {
1390
+ return undefined;
1391
+ }
1392
+ else if (1 === documents.length) {
1393
+ return documents[0];
1394
+ }
1395
+ var e = new YAMLException('expected a single document in the stream, but found more');
1396
+ e.mark = new Mark("", "", 0, 0, 0);
1397
+ e.mark.position = documents[0].endPosition;
1398
+ documents[0].errors.push(e);
1399
+ return documents[0];
1400
+ }
1401
+ exports.load = load;
1402
+ function safeLoadAll(input, output, options) {
1403
+ if (options === void 0) { options = {}; }
1404
+ loadAll(input, output, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
1405
+ }
1406
+ exports.safeLoadAll = safeLoadAll;
1407
+ function safeLoad(input, options) {
1408
+ if (options === void 0) { options = {}; }
1409
+ return load(input, common.extend({ schema: DEFAULT_SAFE_SCHEMA }, options));
1410
+ }
1411
+ exports.safeLoad = safeLoad;
1412
+ module.exports.loadAll = loadAll;
1413
+ module.exports.load = load;
1414
+ module.exports.safeLoadAll = safeLoadAll;
1415
+ module.exports.safeLoad = safeLoad;
1416
+ //# sourceMappingURL=loader.js.map