bitz-react-admin-ui 2.10.5 → 2.10.7-beta.1

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 (439) hide show
  1. package/dist/_virtual/AsymmetricMatcher.mjs +4 -0
  2. package/dist/_virtual/DOMCollection.mjs +4 -0
  3. package/dist/_virtual/DOMElement.mjs +4 -0
  4. package/dist/_virtual/Explorer.mjs +4 -0
  5. package/dist/_virtual/Explorer2.mjs +4 -0
  6. package/dist/_virtual/ExplorerBase.mjs +4 -0
  7. package/dist/_virtual/ExplorerBase2.mjs +4 -0
  8. package/dist/_virtual/ExplorerSync.mjs +4 -0
  9. package/dist/_virtual/ExplorerSync2.mjs +4 -0
  10. package/dist/_virtual/Immutable.mjs +4 -0
  11. package/dist/_virtual/ReactElement.mjs +4 -0
  12. package/dist/_virtual/ReactTestComponent.mjs +4 -0
  13. package/dist/_virtual/___vite-browser-external.mjs +6 -0
  14. package/dist/_virtual/__vite-browser-external.mjs +4 -0
  15. package/dist/_virtual/_commonjs-dynamic-modules.mjs +6 -0
  16. package/dist/_virtual/addComment.mjs +4 -0
  17. package/dist/_virtual/addComments.mjs +4 -0
  18. package/dist/_virtual/appendToMemberExpression.mjs +4 -0
  19. package/dist/_virtual/assertNode.mjs +4 -0
  20. package/dist/_virtual/babel-plugin-lingui-macro.28bb9ad7.mjs +4 -0
  21. package/dist/_virtual/buildChildren.mjs +4 -0
  22. package/dist/_virtual/buildMatchMemberExpression.mjs +4 -0
  23. package/dist/_virtual/cacheWrapper.mjs +4 -0
  24. package/dist/_virtual/cleanJSXElementLiteralChild.mjs +4 -0
  25. package/dist/_virtual/clone.mjs +4 -0
  26. package/dist/_virtual/cloneDeep.mjs +4 -0
  27. package/dist/_virtual/cloneDeepWithoutLoc.mjs +4 -0
  28. package/dist/_virtual/cloneNode.mjs +4 -0
  29. package/dist/_virtual/cloneWithoutLoc.mjs +4 -0
  30. package/dist/_virtual/collections.mjs +4 -0
  31. package/dist/_virtual/common2.mjs +4 -0
  32. package/dist/_virtual/condition.mjs +4 -0
  33. package/dist/_virtual/conversions.mjs +4 -0
  34. package/dist/_virtual/core.mjs +4 -0
  35. package/dist/_virtual/createFlowUnionType.mjs +4 -0
  36. package/dist/_virtual/createTSUnionType.mjs +4 -0
  37. package/dist/_virtual/createTypeAnnotationBasedOnTypeof.mjs +4 -0
  38. package/dist/_virtual/dayjs.min.mjs +2 -5
  39. package/dist/_virtual/defaultConfig.mjs +4 -0
  40. package/dist/_virtual/deprecated-aliases.mjs +4 -0
  41. package/dist/_virtual/deprecated.mjs +4 -0
  42. package/dist/_virtual/deprecationWarning.mjs +4 -0
  43. package/dist/_virtual/dumper.mjs +4 -0
  44. package/dist/_virtual/ensureBlock.mjs +4 -0
  45. package/dist/_virtual/errors.mjs +4 -0
  46. package/dist/_virtual/escapeHTML.mjs +4 -0
  47. package/dist/_virtual/experimental.mjs +4 -0
  48. package/dist/_virtual/flow.mjs +4 -0
  49. package/dist/_virtual/gatherSequenceExpressions.mjs +4 -0
  50. package/dist/_virtual/generateMessageId.mjs +4 -0
  51. package/dist/_virtual/getAssignmentIdentifiers.mjs +4 -0
  52. package/dist/_virtual/getBindingIdentifiers.mjs +4 -0
  53. package/dist/_virtual/getDirectory.mjs +4 -0
  54. package/dist/_virtual/getFunctionName.mjs +4 -0
  55. package/dist/_virtual/getOuterBindingIdentifiers.mjs +4 -0
  56. package/dist/_virtual/getPropertyByPath.mjs +4 -0
  57. package/dist/_virtual/identifier.mjs +4 -0
  58. package/dist/_virtual/index.mjs +2 -2
  59. package/dist/_virtual/index10.mjs +4 -0
  60. package/dist/_virtual/index11.mjs +4 -0
  61. package/dist/_virtual/index12.mjs +4 -0
  62. package/dist/_virtual/index13.mjs +4 -0
  63. package/dist/_virtual/index14.mjs +4 -0
  64. package/dist/_virtual/index15.mjs +4 -0
  65. package/dist/_virtual/index16.mjs +4 -0
  66. package/dist/_virtual/index17.mjs +4 -0
  67. package/dist/_virtual/index18.mjs +4 -0
  68. package/dist/_virtual/index19.mjs +4 -0
  69. package/dist/_virtual/index2.mjs +2 -2
  70. package/dist/_virtual/index20.mjs +4 -0
  71. package/dist/_virtual/index21.mjs +4 -0
  72. package/dist/_virtual/index22.mjs +4 -0
  73. package/dist/_virtual/index23.mjs +6 -0
  74. package/dist/_virtual/index24.mjs +4 -0
  75. package/dist/_virtual/index25.mjs +4 -0
  76. package/dist/_virtual/index26.mjs +4 -0
  77. package/dist/_virtual/index27.mjs +4 -0
  78. package/dist/_virtual/index29.mjs +4 -0
  79. package/dist/_virtual/index30.mjs +4 -0
  80. package/dist/_virtual/index31.mjs +4 -0
  81. package/dist/_virtual/index32.mjs +4 -0
  82. package/dist/_virtual/index33.mjs +4 -0
  83. package/dist/_virtual/index34.mjs +4 -0
  84. package/dist/_virtual/index35.mjs +4 -0
  85. package/dist/_virtual/index36.mjs +4 -0
  86. package/dist/_virtual/index37.mjs +4 -0
  87. package/dist/_virtual/index38.mjs +4 -0
  88. package/dist/_virtual/index39.mjs +4 -0
  89. package/dist/_virtual/index40.mjs +4 -0
  90. package/dist/_virtual/index7.mjs +4 -0
  91. package/dist/_virtual/index8.mjs +6 -0
  92. package/dist/_virtual/index9.mjs +4 -0
  93. package/dist/_virtual/inherit.mjs +4 -0
  94. package/dist/_virtual/inheritInnerComments.mjs +4 -0
  95. package/dist/_virtual/inheritLeadingComments.mjs +4 -0
  96. package/dist/_virtual/inheritTrailingComments.mjs +4 -0
  97. package/dist/_virtual/inherits.mjs +4 -0
  98. package/dist/_virtual/inheritsComments.mjs +4 -0
  99. package/dist/_virtual/inherits_browser.mjs +4 -0
  100. package/dist/_virtual/is.mjs +4 -0
  101. package/dist/_virtual/isBinding.mjs +4 -0
  102. package/dist/_virtual/isBlockScoped.mjs +4 -0
  103. package/dist/_virtual/isCompatTag.mjs +4 -0
  104. package/dist/_virtual/isImmutable.mjs +4 -0
  105. package/dist/_virtual/isLet.mjs +4 -0
  106. package/dist/_virtual/isNode.mjs +4 -0
  107. package/dist/_virtual/isNodesEquivalent.mjs +4 -0
  108. package/dist/_virtual/isPlaceholderType.mjs +4 -0
  109. package/dist/_virtual/isReactComponent.mjs +4 -0
  110. package/dist/_virtual/isReferenced.mjs +4 -0
  111. package/dist/_virtual/isScope.mjs +4 -0
  112. package/dist/_virtual/isSpecifierDefault.mjs +4 -0
  113. package/dist/_virtual/isType.mjs +4 -0
  114. package/dist/_virtual/isValidES3Identifier.mjs +4 -0
  115. package/dist/_virtual/isValidIdentifier.mjs +4 -0
  116. package/dist/_virtual/isVar.mjs +4 -0
  117. package/dist/_virtual/jsx.mjs +4 -0
  118. package/dist/_virtual/keyword.mjs +4 -0
  119. package/dist/_virtual/loader.mjs +4 -0
  120. package/dist/_virtual/loaders.mjs +4 -0
  121. package/dist/_virtual/loaders2.mjs +4 -0
  122. package/dist/_virtual/macro.mjs +4 -0
  123. package/dist/_virtual/markup.mjs +4 -0
  124. package/dist/_virtual/matchesPattern.mjs +4 -0
  125. package/dist/_virtual/misc.mjs +4 -0
  126. package/dist/_virtual/picocolors.browser.mjs +4 -0
  127. package/dist/_virtual/placeholders.mjs +4 -0
  128. package/dist/_virtual/prependToMemberExpression.mjs +4 -0
  129. package/dist/_virtual/productions.mjs +4 -0
  130. package/dist/_virtual/react-is.development3.mjs +4 -0
  131. package/dist/_virtual/react-is.production.min3.mjs +4 -0
  132. package/dist/_virtual/readFile.mjs +4 -0
  133. package/dist/_virtual/removeComments.mjs +4 -0
  134. package/dist/_virtual/removeProperties.mjs +4 -0
  135. package/dist/_virtual/removePropertiesDeep.mjs +4 -0
  136. package/dist/_virtual/removeTypeDuplicates.mjs +4 -0
  137. package/dist/_virtual/removeTypeDuplicates2.mjs +4 -0
  138. package/dist/_virtual/sha256.mjs +4 -0
  139. package/dist/_virtual/shallowEqual.mjs +4 -0
  140. package/dist/_virtual/toBindingIdentifierName.mjs +4 -0
  141. package/dist/_virtual/toBlock.mjs +4 -0
  142. package/dist/_virtual/toComputedKey.mjs +4 -0
  143. package/dist/_virtual/toExpression.mjs +4 -0
  144. package/dist/_virtual/toIdentifier.mjs +4 -0
  145. package/dist/_virtual/toKeyAlias.mjs +4 -0
  146. package/dist/_virtual/toSequenceExpression.mjs +4 -0
  147. package/dist/_virtual/toStatement.mjs +4 -0
  148. package/dist/_virtual/traverse.mjs +4 -0
  149. package/dist/_virtual/traverseFast.mjs +4 -0
  150. package/dist/_virtual/types.mjs +4 -0
  151. package/dist/_virtual/types2.mjs +4 -0
  152. package/dist/_virtual/typescript.mjs +4 -0
  153. package/dist/_virtual/typescript2.mjs +11 -0
  154. package/dist/_virtual/typescript3.mjs +4 -0
  155. package/dist/_virtual/uppercase.mjs +4 -0
  156. package/dist/_virtual/util.mjs +4 -0
  157. package/dist/_virtual/util2.mjs +4 -0
  158. package/dist/_virtual/utils2.mjs +4 -0
  159. package/dist/_virtual/utils3.mjs +4 -0
  160. package/dist/_virtual/validate.mjs +4 -0
  161. package/dist/_virtual/validate2.mjs +4 -0
  162. package/dist/_virtual/validateCLIOptions.mjs +4 -0
  163. package/dist/_virtual/validateNode.mjs +4 -0
  164. package/dist/_virtual/valueToNode.mjs +4 -0
  165. package/dist/_virtual/warnings.mjs +4 -0
  166. package/dist/components/BitzCalendar/index.mjs +1 -1
  167. package/dist/components/BitzDayJs/index.mjs +1 -1
  168. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  169. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
  170. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
  171. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
  172. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  173. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
  174. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
  175. package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
  176. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
  177. package/dist/components/BitzMeetingTime/index.mjs +1 -1
  178. package/dist/components/BitzTable/Store/index.mjs +279 -278
  179. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +54 -53
  180. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +15 -15
  181. package/dist/node_modules/@babel/code-frame/lib/index.mjs +133 -0
  182. package/dist/node_modules/@babel/helper-string-parser/lib/index.mjs +218 -0
  183. package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.mjs +46 -0
  184. package/dist/node_modules/@babel/helper-validator-identifier/lib/index.mjs +51 -0
  185. package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.mjs +32 -0
  186. package/dist/node_modules/@babel/highlight/lib/index.mjs +128 -0
  187. package/dist/node_modules/@babel/highlight/node_modules/ansi-styles/index.mjs +116 -0
  188. package/dist/node_modules/@babel/highlight/node_modules/chalk/index.mjs +126 -0
  189. package/dist/node_modules/@babel/highlight/node_modules/chalk/templates.mjs +86 -0
  190. package/dist/node_modules/@babel/highlight/node_modules/color-convert/conversions.mjs +274 -0
  191. package/dist/node_modules/@babel/highlight/node_modules/color-convert/index.mjs +39 -0
  192. package/dist/node_modules/@babel/highlight/node_modules/color-convert/route.mjs +47 -0
  193. package/dist/node_modules/@babel/highlight/node_modules/color-name/index.mjs +156 -0
  194. package/dist/node_modules/@babel/highlight/node_modules/supports-color/browser.mjs +10 -0
  195. package/dist/node_modules/@babel/types/lib/asserts/assertNode.mjs +15 -0
  196. package/dist/node_modules/@babel/types/lib/asserts/generated/index.mjs +1231 -0
  197. package/dist/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.mjs +21 -0
  198. package/dist/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.mjs +37 -0
  199. package/dist/node_modules/@babel/types/lib/builders/generated/index.mjs +1741 -0
  200. package/dist/node_modules/@babel/types/lib/builders/generated/uppercase.mjs +1284 -0
  201. package/dist/node_modules/@babel/types/lib/builders/productions.mjs +18 -0
  202. package/dist/node_modules/@babel/types/lib/builders/react/buildChildren.mjs +29 -0
  203. package/dist/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.mjs +23 -0
  204. package/dist/node_modules/@babel/types/lib/builders/validateNode.mjs +22 -0
  205. package/dist/node_modules/@babel/types/lib/clone/clone.mjs +11 -0
  206. package/dist/node_modules/@babel/types/lib/clone/cloneDeep.mjs +11 -0
  207. package/dist/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.mjs +11 -0
  208. package/dist/node_modules/@babel/types/lib/clone/cloneNode.mjs +57 -0
  209. package/dist/node_modules/@babel/types/lib/clone/cloneWithoutLoc.mjs +11 -0
  210. package/dist/node_modules/@babel/types/lib/comments/addComment.mjs +14 -0
  211. package/dist/node_modules/@babel/types/lib/comments/addComments.mjs +11 -0
  212. package/dist/node_modules/@babel/types/lib/comments/inheritInnerComments.mjs +11 -0
  213. package/dist/node_modules/@babel/types/lib/comments/inheritLeadingComments.mjs +11 -0
  214. package/dist/node_modules/@babel/types/lib/comments/inheritTrailingComments.mjs +11 -0
  215. package/dist/node_modules/@babel/types/lib/comments/inheritsComments.mjs +15 -0
  216. package/dist/node_modules/@babel/types/lib/comments/removeComments.mjs +13 -0
  217. package/dist/node_modules/@babel/types/lib/constants/generated/index.mjs +60 -0
  218. package/dist/node_modules/@babel/types/lib/constants/index.mjs +25 -0
  219. package/dist/node_modules/@babel/types/lib/converters/ensureBlock.mjs +19 -0
  220. package/dist/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.mjs +59 -0
  221. package/dist/node_modules/@babel/types/lib/converters/toBindingIdentifierName.mjs +11 -0
  222. package/dist/node_modules/@babel/types/lib/converters/toBlock.mjs +23 -0
  223. package/dist/node_modules/@babel/types/lib/converters/toComputedKey.mjs +20 -0
  224. package/dist/node_modules/@babel/types/lib/converters/toExpression.mjs +16 -0
  225. package/dist/node_modules/@babel/types/lib/converters/toIdentifier.mjs +19 -0
  226. package/dist/node_modules/@babel/types/lib/converters/toKeyAlias.mjs +20 -0
  227. package/dist/node_modules/@babel/types/lib/converters/toSequenceExpression.mjs +25 -0
  228. package/dist/node_modules/@babel/types/lib/converters/toStatement.mjs +35 -0
  229. package/dist/node_modules/@babel/types/lib/converters/valueToNode.mjs +63 -0
  230. package/dist/node_modules/@babel/types/lib/definitions/core.mjs +1556 -0
  231. package/dist/node_modules/@babel/types/lib/definitions/deprecated-aliases.mjs +11 -0
  232. package/dist/node_modules/@babel/types/lib/definitions/experimental.mjs +130 -0
  233. package/dist/node_modules/@babel/types/lib/definitions/flow.mjs +433 -0
  234. package/dist/node_modules/@babel/types/lib/definitions/index.mjs +84 -0
  235. package/dist/node_modules/@babel/types/lib/definitions/jsx.mjs +151 -0
  236. package/dist/node_modules/@babel/types/lib/definitions/misc.mjs +35 -0
  237. package/dist/node_modules/@babel/types/lib/definitions/placeholders.mjs +28 -0
  238. package/dist/node_modules/@babel/types/lib/definitions/typescript.mjs +445 -0
  239. package/dist/node_modules/@babel/types/lib/definitions/utils.mjs +200 -0
  240. package/dist/node_modules/@babel/types/lib/index.mjs +569 -0
  241. package/dist/node_modules/@babel/types/lib/modifications/appendToMemberExpression.mjs +18 -0
  242. package/dist/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.mjs +44 -0
  243. package/dist/node_modules/@babel/types/lib/modifications/inherits.mjs +21 -0
  244. package/dist/node_modules/@babel/types/lib/modifications/prependToMemberExpression.mjs +21 -0
  245. package/dist/node_modules/@babel/types/lib/modifications/removeProperties.mjs +19 -0
  246. package/dist/node_modules/@babel/types/lib/modifications/removePropertiesDeep.mjs +13 -0
  247. package/dist/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.mjs +44 -0
  248. package/dist/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.mjs +40 -0
  249. package/dist/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.mjs +81 -0
  250. package/dist/node_modules/@babel/types/lib/retrievers/getFunctionName.mjs +37 -0
  251. package/dist/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.mjs +12 -0
  252. package/dist/node_modules/@babel/types/lib/traverse/traverse.mjs +41 -0
  253. package/dist/node_modules/@babel/types/lib/traverse/traverseFast.mjs +23 -0
  254. package/dist/node_modules/@babel/types/lib/utils/deprecationWarning.mjs +37 -0
  255. package/dist/node_modules/@babel/types/lib/utils/inherit.mjs +8 -0
  256. package/dist/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.mjs +29 -0
  257. package/dist/node_modules/@babel/types/lib/utils/shallowEqual.mjs +12 -0
  258. package/dist/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.mjs +12 -0
  259. package/dist/node_modules/@babel/types/lib/validators/generated/index.mjs +2300 -0
  260. package/dist/node_modules/@babel/types/lib/validators/is.mjs +22 -0
  261. package/dist/node_modules/@babel/types/lib/validators/isBinding.mjs +23 -0
  262. package/dist/node_modules/@babel/types/lib/validators/isBlockScoped.mjs +13 -0
  263. package/dist/node_modules/@babel/types/lib/validators/isImmutable.mjs +12 -0
  264. package/dist/node_modules/@babel/types/lib/validators/isLet.mjs +13 -0
  265. package/dist/node_modules/@babel/types/lib/validators/isNode.mjs +10 -0
  266. package/dist/node_modules/@babel/types/lib/validators/isNodesEquivalent.mjs +40 -0
  267. package/dist/node_modules/@babel/types/lib/validators/isPlaceholderType.mjs +26 -0
  268. package/dist/node_modules/@babel/types/lib/validators/isReferenced.mjs +75 -0
  269. package/dist/node_modules/@babel/types/lib/validators/isScope.mjs +11 -0
  270. package/dist/node_modules/@babel/types/lib/validators/isSpecifierDefault.mjs +13 -0
  271. package/dist/node_modules/@babel/types/lib/validators/isType.mjs +30 -0
  272. package/dist/node_modules/@babel/types/lib/validators/isValidES3Identifier.mjs +12 -0
  273. package/dist/node_modules/@babel/types/lib/validators/isValidIdentifier.mjs +11 -0
  274. package/dist/node_modules/@babel/types/lib/validators/isVar.mjs +15 -0
  275. package/dist/node_modules/@babel/types/lib/validators/matchesPattern.mjs +33 -0
  276. package/dist/node_modules/@babel/types/lib/validators/react/isCompatTag.mjs +8 -0
  277. package/dist/node_modules/@babel/types/lib/validators/react/isReactComponent.mjs +10 -0
  278. package/dist/node_modules/@babel/types/lib/validators/validate.mjs +33 -0
  279. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/index.mjs +525 -0
  280. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/macro.mjs +47 -0
  281. package/dist/node_modules/@lingui/babel-plugin-lingui-macro/dist/shared/babel-plugin-lingui-macro.28bb9ad7.mjs +336 -0
  282. package/dist/node_modules/@lingui/conf/dist/index.mjs +384 -0
  283. package/dist/node_modules/@lingui/message-utils/dist/generateMessageId.mjs +16 -0
  284. package/dist/node_modules/@lingui/react/macro/index.mjs +5 -0
  285. package/dist/node_modules/ansi-styles/index.mjs +112 -0
  286. package/dist/node_modules/available-typed-arrays/index.mjs +10 -0
  287. package/dist/node_modules/babel-plugin-macros/dist/index.mjs +233 -0
  288. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/Explorer.mjs +67 -0
  289. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerBase.mjs +87 -0
  290. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerSync.mjs +67 -0
  291. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/cacheWrapper.mjs +27 -0
  292. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getDirectory.mjs +26 -0
  293. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getPropertyByPath.mjs +16 -0
  294. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/index.mjs +72 -0
  295. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/loaders.mjs +46 -0
  296. package/dist/node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/readFile.mjs +49 -0
  297. package/dist/node_modules/call-bind/callBound.mjs +9 -0
  298. package/dist/node_modules/call-bind/index.mjs +27 -0
  299. package/dist/node_modules/callsites/index.mjs +17 -0
  300. package/dist/node_modules/chalk/source/index.mjs +131 -0
  301. package/dist/node_modules/chalk/source/templates.mjs +89 -0
  302. package/dist/node_modules/chalk/source/util.mjs +28 -0
  303. package/dist/node_modules/classnames/index.mjs +1 -1
  304. package/dist/node_modules/color-convert/conversions.mjs +308 -0
  305. package/dist/node_modules/color-convert/index.mjs +41 -0
  306. package/dist/node_modules/color-convert/route.mjs +53 -0
  307. package/dist/node_modules/color-name/index.mjs +156 -0
  308. package/dist/node_modules/cosmiconfig/dist/Explorer.mjs +91 -0
  309. package/dist/node_modules/cosmiconfig/dist/ExplorerBase.mjs +68 -0
  310. package/dist/node_modules/cosmiconfig/dist/ExplorerSync.mjs +105 -0
  311. package/dist/node_modules/cosmiconfig/dist/index.mjs +184 -0
  312. package/dist/node_modules/cosmiconfig/dist/loaders.mjs +103 -0
  313. package/dist/node_modules/cosmiconfig/dist/types.mjs +5 -0
  314. package/dist/node_modules/cosmiconfig/dist/util.mjs +24 -0
  315. package/dist/node_modules/dayjs/dayjs.min.mjs +292 -292
  316. package/dist/node_modules/dayjs/locale/zh-cn.mjs +13 -13
  317. package/dist/node_modules/define-data-property/index.mjs +33 -0
  318. package/dist/node_modules/error-ex/index.mjs +69 -0
  319. package/dist/node_modules/es-define-property/index.mjs +18 -0
  320. package/dist/node_modules/es-errors/eval.mjs +4 -0
  321. package/dist/node_modules/es-errors/index.mjs +4 -0
  322. package/dist/node_modules/es-errors/range.mjs +4 -0
  323. package/dist/node_modules/es-errors/ref.mjs +4 -0
  324. package/dist/node_modules/es-errors/syntax.mjs +4 -0
  325. package/dist/node_modules/es-errors/type.mjs +4 -0
  326. package/dist/node_modules/es-errors/uri.mjs +4 -0
  327. package/dist/node_modules/escape-string-regexp/index.mjs +15 -0
  328. package/dist/node_modules/for-each/index.mjs +19 -0
  329. package/dist/node_modules/function-bind/implementation.mjs +42 -0
  330. package/dist/node_modules/function-bind/index.mjs +5 -0
  331. package/dist/node_modules/get-intrinsic/index.mjs +240 -0
  332. package/dist/node_modules/gopd/index.mjs +12 -0
  333. package/dist/node_modules/has-property-descriptors/index.mjs +17 -0
  334. package/dist/node_modules/has-proto/index.mjs +9 -0
  335. package/dist/node_modules/has-symbols/index.mjs +7 -0
  336. package/dist/node_modules/has-symbols/shams.mjs +27 -0
  337. package/dist/node_modules/has-tostringtag/shams.mjs +7 -0
  338. package/dist/node_modules/hasown/index.mjs +5 -0
  339. package/dist/node_modules/import-fresh/index.mjs +27 -0
  340. package/dist/node_modules/import-fresh/node_modules/resolve-from/index.mjs +41 -0
  341. package/dist/node_modules/inherits/inherits_browser.mjs +22 -0
  342. package/dist/node_modules/is-arguments/index.mjs +14 -0
  343. package/dist/node_modules/is-arrayish/index.mjs +9 -0
  344. package/dist/node_modules/is-callable/index.mjs +70 -0
  345. package/dist/node_modules/is-core-module/core.json.mjs +443 -0
  346. package/dist/node_modules/is-core-module/index.mjs +40 -0
  347. package/dist/node_modules/is-generator-function/index.mjs +28 -0
  348. package/dist/node_modules/is-typed-array/index.mjs +7 -0
  349. package/dist/node_modules/jest-get-type/build/index.mjs +47 -0
  350. package/dist/node_modules/jest-validate/build/condition.mjs +25 -0
  351. package/dist/node_modules/jest-validate/build/defaultConfig.mjs +35 -0
  352. package/dist/node_modules/jest-validate/build/deprecated.mjs +16 -0
  353. package/dist/node_modules/jest-validate/build/errors.mjs +58 -0
  354. package/dist/node_modules/jest-validate/build/index.mjs +55 -0
  355. package/dist/node_modules/jest-validate/build/utils.mjs +84 -0
  356. package/dist/node_modules/jest-validate/build/validate.mjs +66 -0
  357. package/dist/node_modules/jest-validate/build/validateCLIOptions.mjs +87 -0
  358. package/dist/node_modules/jest-validate/build/warnings.mjs +34 -0
  359. package/dist/node_modules/jest-validate/node_modules/ansi-styles/index.mjs +110 -0
  360. package/dist/node_modules/jest-validate/node_modules/camelcase/index.mjs +30 -0
  361. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/collections.mjs +94 -0
  362. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/index.mjs +275 -0
  363. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/AsymmetricMatcher.mjs +50 -0
  364. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMCollection.mjs +42 -0
  365. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/DOMElement.mjs +72 -0
  366. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/Immutable.mjs +119 -0
  367. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactElement.mjs +101 -0
  368. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/ReactTestComponent.mjs +47 -0
  369. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/escapeHTML.mjs +16 -0
  370. package/dist/node_modules/jest-validate/node_modules/pretty-format/build/plugins/lib/markup.mjs +51 -0
  371. package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.development.mjs +103 -0
  372. package/dist/node_modules/jest-validate/node_modules/react-is/cjs/react-is.production.min.mjs +82 -0
  373. package/dist/node_modules/jest-validate/node_modules/react-is/index.mjs +10 -0
  374. package/dist/node_modules/js-sha256/src/sha256.mjs +257 -0
  375. package/dist/node_modules/js-tokens/index.mjs +13 -0
  376. package/dist/node_modules/js-yaml/index.mjs +53 -0
  377. package/dist/node_modules/js-yaml/lib/common.mjs +36 -0
  378. package/dist/node_modules/js-yaml/lib/dumper.mjs +306 -0
  379. package/dist/node_modules/js-yaml/lib/exception.mjs +21 -0
  380. package/dist/node_modules/js-yaml/lib/loader.mjs +448 -0
  381. package/dist/node_modules/js-yaml/lib/schema/core.mjs +8 -0
  382. package/dist/node_modules/js-yaml/lib/schema/default.mjs +25 -0
  383. package/dist/node_modules/js-yaml/lib/schema/failsafe.mjs +21 -0
  384. package/dist/node_modules/js-yaml/lib/schema/json.mjs +19 -0
  385. package/dist/node_modules/js-yaml/lib/schema.mjs +68 -0
  386. package/dist/node_modules/js-yaml/lib/snippet.mjs +53 -0
  387. package/dist/node_modules/js-yaml/lib/type/binary.mjs +46 -0
  388. package/dist/node_modules/js-yaml/lib/type/bool.mjs +41 -0
  389. package/dist/node_modules/js-yaml/lib/type/float.mjs +69 -0
  390. package/dist/node_modules/js-yaml/lib/type/int.mjs +113 -0
  391. package/dist/node_modules/js-yaml/lib/type/map.mjs +17 -0
  392. package/dist/node_modules/js-yaml/lib/type/merge.mjs +18 -0
  393. package/dist/node_modules/js-yaml/lib/type/null.mjs +47 -0
  394. package/dist/node_modules/js-yaml/lib/type/omap.mjs +41 -0
  395. package/dist/node_modules/js-yaml/lib/type/pairs.mjs +35 -0
  396. package/dist/node_modules/js-yaml/lib/type/seq.mjs +17 -0
  397. package/dist/node_modules/js-yaml/lib/type/set.mjs +28 -0
  398. package/dist/node_modules/js-yaml/lib/type/str.mjs +17 -0
  399. package/dist/node_modules/js-yaml/lib/type/timestamp.mjs +41 -0
  400. package/dist/node_modules/js-yaml/lib/type.mjs +46 -0
  401. package/dist/node_modules/json-parse-even-better-errors/index.mjs +72 -0
  402. package/dist/node_modules/leven/index.mjs +32 -0
  403. package/dist/node_modules/lines-and-columns/build/index.mjs +47 -0
  404. package/dist/node_modules/parent-module/index.mjs +29 -0
  405. package/dist/node_modules/parse-json/index.mjs +42 -0
  406. package/dist/node_modules/path-parse/index.mjs +50 -0
  407. package/dist/node_modules/path-type/index.mjs +36 -0
  408. package/dist/node_modules/picocolors/picocolors.browser.mjs +14 -0
  409. package/dist/node_modules/possible-typed-array-names/index.mjs +16 -0
  410. package/dist/node_modules/prop-types/index.mjs +1 -1
  411. package/dist/node_modules/resolve/index.mjs +12 -0
  412. package/dist/node_modules/resolve/lib/async.mjs +237 -0
  413. package/dist/node_modules/resolve/lib/caller.mjs +11 -0
  414. package/dist/node_modules/resolve/lib/core.json.mjs +437 -0
  415. package/dist/node_modules/resolve/lib/core.mjs +9 -0
  416. package/dist/node_modules/resolve/lib/homedir.mjs +8 -0
  417. package/dist/node_modules/resolve/lib/is-core.mjs +7 -0
  418. package/dist/node_modules/resolve/lib/node-modules-paths.mjs +29 -0
  419. package/dist/node_modules/resolve/lib/normalize-options.mjs +6 -0
  420. package/dist/node_modules/resolve/lib/sync.mjs +150 -0
  421. package/dist/node_modules/set-function-length/index.mjs +32 -0
  422. package/dist/node_modules/supports-color/browser.mjs +7 -0
  423. package/dist/node_modules/to-fast-properties/index.mjs +15 -0
  424. package/dist/node_modules/typescript/lib/typescript.mjs +158039 -0
  425. package/dist/node_modules/util/support/isBufferBrowser.mjs +6 -0
  426. package/dist/node_modules/util/support/types.mjs +189 -0
  427. package/dist/node_modules/util/util.mjs +399 -0
  428. package/dist/node_modules/which-typed-array/index.mjs +71 -0
  429. package/dist/node_modules/yaml/browser/dist/PlainValue-b8036b75.mjs +883 -0
  430. package/dist/node_modules/yaml/browser/dist/Schema-e94716c8.mjs +548 -0
  431. package/dist/node_modules/yaml/browser/dist/index.mjs +690 -0
  432. package/dist/node_modules/yaml/browser/dist/parse-cst.mjs +1141 -0
  433. package/dist/node_modules/yaml/browser/dist/resolveSeq-492ab440.mjs +1566 -0
  434. package/dist/node_modules/yaml/browser/dist/warnings-df54cb69.mjs +337 -0
  435. package/dist/node_modules/yaml/browser/index.mjs +8 -0
  436. package/dist/style.css +1 -1
  437. package/dist/utils/time.mjs +1 -1
  438. package/package.json +5 -1
  439. /package/dist/_virtual/{dayjs.min2.mjs → index28.mjs} +0 -0
@@ -0,0 +1,1141 @@
1
+ import { j as b, k as R, c as C, T as d, b as E, N as o, C as _, R as y, g as I, Y as N, l as x, m as Q, e as q, P as H } from "./PlainValue-b8036b75.mjs";
2
+ var D = /* @__PURE__ */ function(p) {
3
+ b(i, p);
4
+ var v = R(i);
5
+ function i() {
6
+ return C(this, i), v.call(this, d.BLANK_LINE);
7
+ }
8
+ return E(i, [{
9
+ key: "includesTrailingLines",
10
+ get: function() {
11
+ return !0;
12
+ }
13
+ /**
14
+ * Parses a blank line from the source
15
+ *
16
+ * @param {ParseContext} context
17
+ * @param {number} start - Index of first \n character
18
+ * @returns {number} - Index of the character after this
19
+ */
20
+ }, {
21
+ key: "parse",
22
+ value: function(r, e) {
23
+ return this.context = r, this.range = new y(e, e + 1), e + 1;
24
+ }
25
+ }]), i;
26
+ }(o), K = /* @__PURE__ */ function(p) {
27
+ b(i, p);
28
+ var v = R(i);
29
+ function i(u, r) {
30
+ var e;
31
+ return C(this, i), e = v.call(this, u, r), e.node = null, e;
32
+ }
33
+ return E(i, [{
34
+ key: "includesTrailingLines",
35
+ get: function() {
36
+ return !!this.node && this.node.includesTrailingLines;
37
+ }
38
+ /**
39
+ * @param {ParseContext} context
40
+ * @param {number} start - Index of first character
41
+ * @returns {number} - Index of the character after this
42
+ */
43
+ }, {
44
+ key: "parse",
45
+ value: function(r, e) {
46
+ this.context = r;
47
+ var a = r.parseNode, t = r.src, l = r.atLineStart, s = r.lineStart;
48
+ !l && this.type === d.SEQ_ITEM && (this.error = new I(this, "Sequence items must not have preceding content on the same line"));
49
+ for (var c = l ? e - s : r.indent, n = o.endOfWhiteSpace(t, e + 1), h = t[n], f = h === "#", k = [], m = null; h === `
50
+ ` || h === "#"; ) {
51
+ if (h === "#") {
52
+ var O = o.endOfLine(t, n + 1);
53
+ k.push(new y(n, O)), n = O;
54
+ } else {
55
+ l = !0, s = n + 1;
56
+ var g = o.endOfWhiteSpace(t, s);
57
+ t[g] === `
58
+ ` && k.length === 0 && (m = new D(), s = m.parse({
59
+ src: t
60
+ }, s)), n = o.endOfIndent(t, s);
61
+ }
62
+ h = t[n];
63
+ }
64
+ if (o.nextNodeIsIndented(h, n - (s + c), this.type !== d.SEQ_ITEM) ? this.node = a({
65
+ atLineStart: l,
66
+ inCollection: !1,
67
+ indent: c,
68
+ lineStart: s,
69
+ parent: this
70
+ }, n) : h && s > e + 1 && (n = s - 1), this.node) {
71
+ if (m) {
72
+ var S = r.parent.items || r.parent.contents;
73
+ S && S.push(m);
74
+ }
75
+ k.length && Array.prototype.push.apply(this.props, k), n = this.node.range.end;
76
+ } else if (f) {
77
+ var w = k[0];
78
+ this.props.push(w), n = w.end;
79
+ } else
80
+ n = o.endOfLine(t, e + 1);
81
+ var M = this.node ? this.node.valueRange.end : n;
82
+ return this.valueRange = new y(e, M), n;
83
+ }
84
+ }, {
85
+ key: "setOrigRanges",
86
+ value: function(r, e) {
87
+ return e = x(Q(i.prototype), "setOrigRanges", this).call(this, r, e), this.node ? this.node.setOrigRanges(r, e) : e;
88
+ }
89
+ }, {
90
+ key: "toString",
91
+ value: function() {
92
+ var r = this.context.src, e = this.node, a = this.range, t = this.value;
93
+ if (t != null)
94
+ return t;
95
+ var l = e ? r.slice(a.start, e.range.start) + String(e) : r.slice(a.start, a.end);
96
+ return o.addStringTerminator(r, a.end, l);
97
+ }
98
+ }]), i;
99
+ }(o), B = /* @__PURE__ */ function(p) {
100
+ b(i, p);
101
+ var v = R(i);
102
+ function i() {
103
+ return C(this, i), v.call(this, d.COMMENT);
104
+ }
105
+ return E(i, [{
106
+ key: "parse",
107
+ value: function(r, e) {
108
+ this.context = r;
109
+ var a = this.parseComment(e);
110
+ return this.range = new y(e, a), a;
111
+ }
112
+ }]), i;
113
+ }(o);
114
+ function F(p) {
115
+ for (var v = p; v instanceof K; )
116
+ v = v.node;
117
+ if (!(v instanceof U))
118
+ return null;
119
+ for (var i = v.items.length, u = -1, r = i - 1; r >= 0; --r) {
120
+ var e = v.items[r];
121
+ if (e.type === d.COMMENT) {
122
+ var a = e.context, t = a.indent, l = a.lineStart;
123
+ if (t > 0 && e.range.start >= l + t)
124
+ break;
125
+ u = r;
126
+ } else if (e.type === d.BLANK_LINE)
127
+ u = r;
128
+ else
129
+ break;
130
+ }
131
+ if (u === -1)
132
+ return null;
133
+ for (var s = v.items.splice(u, i - u), c = s[0].range.start; v.range.end = c, v.valueRange && v.valueRange.end > c && (v.valueRange.end = c), v !== p; )
134
+ v = v.context.parent;
135
+ return s;
136
+ }
137
+ var U = /* @__PURE__ */ function(p) {
138
+ b(i, p);
139
+ var v = R(i);
140
+ function i(u) {
141
+ var r;
142
+ C(this, i), r = v.call(this, u.type === d.SEQ_ITEM ? d.SEQ : d.MAP);
143
+ for (var e = u.props.length - 1; e >= 0; --e)
144
+ if (u.props[e].start < u.context.lineStart) {
145
+ r.props = u.props.slice(0, e + 1), u.props = u.props.slice(e + 1);
146
+ var a = u.props[0] || u.valueRange;
147
+ u.range.start = a.start;
148
+ break;
149
+ }
150
+ r.items = [u];
151
+ var t = F(u);
152
+ return t && Array.prototype.push.apply(r.items, t), r;
153
+ }
154
+ return E(i, [{
155
+ key: "includesTrailingLines",
156
+ get: function() {
157
+ return this.items.length > 0;
158
+ }
159
+ /**
160
+ * @param {ParseContext} context
161
+ * @param {number} start - Index of first character
162
+ * @returns {number} - Index of the character after this
163
+ */
164
+ }, {
165
+ key: "parse",
166
+ value: function(r, e) {
167
+ this.context = r;
168
+ var a = r.parseNode, t = r.src, l = o.startOfLine(t, e), s = this.items[0];
169
+ s.context.parent = this, this.valueRange = y.copy(s.valueRange);
170
+ var c = s.range.start - s.context.lineStart, n = e;
171
+ n = o.normalizeOffset(t, n);
172
+ for (var h = t[n], f = o.endOfWhiteSpace(t, l) === n, k = !1; h; ) {
173
+ for (; h === `
174
+ ` || h === "#"; ) {
175
+ if (f && h === `
176
+ ` && !k) {
177
+ var m = new D();
178
+ if (n = m.parse({
179
+ src: t
180
+ }, n), this.valueRange.end = n, n >= t.length) {
181
+ h = null;
182
+ break;
183
+ }
184
+ this.items.push(m), n -= 1;
185
+ } else if (h === "#") {
186
+ if (n < l + c && !i.nextContentHasIndent(t, n, c))
187
+ return n;
188
+ var O = new B();
189
+ if (n = O.parse({
190
+ indent: c,
191
+ lineStart: l,
192
+ src: t
193
+ }, n), this.items.push(O), this.valueRange.end = n, n >= t.length) {
194
+ h = null;
195
+ break;
196
+ }
197
+ }
198
+ if (l = n + 1, n = o.endOfIndent(t, l), o.atBlank(t, n)) {
199
+ var g = o.endOfWhiteSpace(t, n), S = t[g];
200
+ (!S || S === `
201
+ ` || S === "#") && (n = g);
202
+ }
203
+ h = t[n], f = !0;
204
+ }
205
+ if (!h)
206
+ break;
207
+ if (n !== l + c && (f || h !== ":")) {
208
+ if (n < l + c) {
209
+ l > e && (n = l);
210
+ break;
211
+ } else if (!this.error) {
212
+ var w = "All collection items must start at the same column";
213
+ this.error = new N(this, w);
214
+ }
215
+ }
216
+ if (s.type === d.SEQ_ITEM) {
217
+ if (h !== "-") {
218
+ l > e && (n = l);
219
+ break;
220
+ }
221
+ } else if (h === "-" && !this.error) {
222
+ var M = t[n + 1];
223
+ if (!M || M === `
224
+ ` || M === " " || M === " ") {
225
+ var A = "A collection cannot be both a mapping and a sequence";
226
+ this.error = new N(this, A);
227
+ }
228
+ }
229
+ var L = a({
230
+ atLineStart: f,
231
+ inCollection: !0,
232
+ indent: c,
233
+ lineStart: l,
234
+ parent: this
235
+ }, n);
236
+ if (!L)
237
+ return n;
238
+ if (this.items.push(L), this.valueRange.end = L.valueRange.end, n = o.normalizeOffset(t, L.range.end), h = t[n], f = !1, k = L.includesTrailingLines, h) {
239
+ for (var P = n - 1, W = t[P]; W === " " || W === " "; )
240
+ W = t[--P];
241
+ W === `
242
+ ` && (l = P + 1, f = !0);
243
+ }
244
+ var V = F(L);
245
+ V && Array.prototype.push.apply(this.items, V);
246
+ }
247
+ return n;
248
+ }
249
+ }, {
250
+ key: "setOrigRanges",
251
+ value: function(r, e) {
252
+ return e = x(Q(i.prototype), "setOrigRanges", this).call(this, r, e), this.items.forEach(function(a) {
253
+ e = a.setOrigRanges(r, e);
254
+ }), e;
255
+ }
256
+ }, {
257
+ key: "toString",
258
+ value: function() {
259
+ var r = this.context.src, e = this.items, a = this.range, t = this.value;
260
+ if (t != null)
261
+ return t;
262
+ for (var l = r.slice(a.start, e[0].range.start) + String(e[0]), s = 1; s < e.length; ++s) {
263
+ var c = e[s], n = c.context, h = n.atLineStart, f = n.indent;
264
+ if (h)
265
+ for (var k = 0; k < f; ++k)
266
+ l += " ";
267
+ l += String(c);
268
+ }
269
+ return o.addStringTerminator(r, a.end, l);
270
+ }
271
+ }], [{
272
+ key: "nextContentHasIndent",
273
+ value: function(r, e, a) {
274
+ var t = o.endOfLine(r, e) + 1;
275
+ e = o.endOfWhiteSpace(r, t);
276
+ var l = r[e];
277
+ return l ? e >= t + a ? !0 : l !== "#" && l !== `
278
+ ` ? !1 : i.nextContentHasIndent(r, e, a) : !1;
279
+ }
280
+ }]), i;
281
+ }(o), z = /* @__PURE__ */ function(p) {
282
+ b(i, p);
283
+ var v = R(i);
284
+ function i() {
285
+ var u;
286
+ return C(this, i), u = v.call(this, d.DIRECTIVE), u.name = null, u;
287
+ }
288
+ return E(i, [{
289
+ key: "parameters",
290
+ get: function() {
291
+ var r = this.rawValue;
292
+ return r ? r.trim().split(/[ \t]+/) : [];
293
+ }
294
+ }, {
295
+ key: "parseName",
296
+ value: function(r) {
297
+ for (var e = this.context.src, a = r, t = e[a]; t && t !== `
298
+ ` && t !== " " && t !== " "; )
299
+ t = e[a += 1];
300
+ return this.name = e.slice(r, a), a;
301
+ }
302
+ }, {
303
+ key: "parseParameters",
304
+ value: function(r) {
305
+ for (var e = this.context.src, a = r, t = e[a]; t && t !== `
306
+ ` && t !== "#"; )
307
+ t = e[a += 1];
308
+ return this.valueRange = new y(r, a), a;
309
+ }
310
+ }, {
311
+ key: "parse",
312
+ value: function(r, e) {
313
+ this.context = r;
314
+ var a = this.parseName(e + 1);
315
+ return a = this.parseParameters(a), a = this.parseComment(a), this.range = new y(e, a), a;
316
+ }
317
+ }]), i;
318
+ }(o), Y = /* @__PURE__ */ function(p) {
319
+ b(i, p);
320
+ var v = R(i);
321
+ function i() {
322
+ var u;
323
+ return C(this, i), u = v.call(this, d.DOCUMENT), u.directives = null, u.contents = null, u.directivesEndMarker = null, u.documentEndMarker = null, u;
324
+ }
325
+ return E(i, [{
326
+ key: "parseDirectives",
327
+ value: function(r) {
328
+ var e = this.context.src;
329
+ this.directives = [];
330
+ for (var a = !0, t = !1, l = r; !o.atDocumentBoundary(e, l, _.DIRECTIVES_END); )
331
+ switch (l = i.startCommentOrEndBlankLine(e, l), e[l]) {
332
+ case `
333
+ `:
334
+ if (a) {
335
+ var s = new D();
336
+ l = s.parse({
337
+ src: e
338
+ }, l), l < e.length && this.directives.push(s);
339
+ } else
340
+ l += 1, a = !0;
341
+ break;
342
+ case "#":
343
+ {
344
+ var c = new B();
345
+ l = c.parse({
346
+ src: e
347
+ }, l), this.directives.push(c), a = !1;
348
+ }
349
+ break;
350
+ case "%":
351
+ {
352
+ var n = new z();
353
+ l = n.parse({
354
+ parent: this,
355
+ src: e
356
+ }, l), this.directives.push(n), t = !0, a = !1;
357
+ }
358
+ break;
359
+ default:
360
+ return t ? this.error = new I(this, "Missing directives-end indicator line") : this.directives.length > 0 && (this.contents = this.directives, this.directives = []), l;
361
+ }
362
+ return e[l] ? (this.directivesEndMarker = new y(l, l + 3), l + 3) : (t ? this.error = new I(this, "Missing directives-end indicator line") : this.directives.length > 0 && (this.contents = this.directives, this.directives = []), l);
363
+ }
364
+ }, {
365
+ key: "parseContents",
366
+ value: function(r) {
367
+ var e = this.context, a = e.parseNode, t = e.src;
368
+ this.contents || (this.contents = []);
369
+ for (var l = r; t[l - 1] === "-"; )
370
+ l -= 1;
371
+ var s = o.endOfWhiteSpace(t, r), c = l === r;
372
+ for (this.valueRange = new y(s); !o.atDocumentBoundary(t, s, _.DOCUMENT_END); ) {
373
+ switch (t[s]) {
374
+ case `
375
+ `:
376
+ if (c) {
377
+ var n = new D();
378
+ s = n.parse({
379
+ src: t
380
+ }, s), s < t.length && this.contents.push(n);
381
+ } else
382
+ s += 1, c = !0;
383
+ l = s;
384
+ break;
385
+ case "#":
386
+ {
387
+ var h = new B();
388
+ s = h.parse({
389
+ src: t
390
+ }, s), this.contents.push(h), c = !1;
391
+ }
392
+ break;
393
+ default: {
394
+ var f = o.endOfIndent(t, s), k = {
395
+ atLineStart: c,
396
+ indent: -1,
397
+ inFlow: !1,
398
+ inCollection: !1,
399
+ lineStart: l,
400
+ parent: this
401
+ }, m = a(k, f);
402
+ if (!m)
403
+ return this.valueRange.end = f;
404
+ this.contents.push(m), s = m.range.end, c = !1;
405
+ var O = F(m);
406
+ O && Array.prototype.push.apply(this.contents, O);
407
+ }
408
+ }
409
+ s = i.startCommentOrEndBlankLine(t, s);
410
+ }
411
+ if (this.valueRange.end = s, t[s] && (this.documentEndMarker = new y(s, s + 3), s += 3, t[s])) {
412
+ if (s = o.endOfWhiteSpace(t, s), t[s] === "#") {
413
+ var g = new B();
414
+ s = g.parse({
415
+ src: t
416
+ }, s), this.contents.push(g);
417
+ }
418
+ switch (t[s]) {
419
+ case `
420
+ `:
421
+ s += 1;
422
+ break;
423
+ case void 0:
424
+ break;
425
+ default:
426
+ this.error = new N(this, "Document end marker line cannot have a non-comment suffix");
427
+ }
428
+ }
429
+ return s;
430
+ }
431
+ /**
432
+ * @param {ParseContext} context
433
+ * @param {number} start - Index of first character
434
+ * @returns {number} - Index of the character after this
435
+ */
436
+ }, {
437
+ key: "parse",
438
+ value: function(r, e) {
439
+ r.root = this, this.context = r;
440
+ var a = r.src, t = a.charCodeAt(e) === 65279 ? e + 1 : e;
441
+ return t = this.parseDirectives(t), t = this.parseContents(t), t;
442
+ }
443
+ }, {
444
+ key: "setOrigRanges",
445
+ value: function(r, e) {
446
+ return e = x(Q(i.prototype), "setOrigRanges", this).call(this, r, e), this.directives.forEach(function(a) {
447
+ e = a.setOrigRanges(r, e);
448
+ }), this.directivesEndMarker && (e = this.directivesEndMarker.setOrigRange(r, e)), this.contents.forEach(function(a) {
449
+ e = a.setOrigRanges(r, e);
450
+ }), this.documentEndMarker && (e = this.documentEndMarker.setOrigRange(r, e)), e;
451
+ }
452
+ }, {
453
+ key: "toString",
454
+ value: function() {
455
+ var r = this.contents, e = this.directives, a = this.value;
456
+ if (a != null)
457
+ return a;
458
+ var t = e.join("");
459
+ return r.length > 0 && ((e.length > 0 || r[0].type === d.COMMENT) && (t += `---
460
+ `), t += r.join("")), t[t.length - 1] !== `
461
+ ` && (t += `
462
+ `), t;
463
+ }
464
+ }], [{
465
+ key: "startCommentOrEndBlankLine",
466
+ value: function(r, e) {
467
+ var a = o.endOfWhiteSpace(r, e), t = r[a];
468
+ return t === "#" || t === `
469
+ ` ? a : e;
470
+ }
471
+ }]), i;
472
+ }(o), j = /* @__PURE__ */ function(p) {
473
+ b(i, p);
474
+ var v = R(i);
475
+ function i() {
476
+ return C(this, i), v.apply(this, arguments);
477
+ }
478
+ return E(i, [{
479
+ key: "parse",
480
+ value: (
481
+ /**
482
+ * Parses an *alias from the source
483
+ *
484
+ * @param {ParseContext} context
485
+ * @param {number} start - Index of first character
486
+ * @returns {number} - Index of the character after this scalar
487
+ */
488
+ function(r, e) {
489
+ this.context = r;
490
+ var a = r.src, t = o.endOfIdentifier(a, e + 1);
491
+ return this.valueRange = new y(e + 1, t), t = o.endOfWhiteSpace(a, t), t = this.parseComment(t), t;
492
+ }
493
+ )
494
+ }]), i;
495
+ }(o), T = {
496
+ CLIP: "CLIP",
497
+ KEEP: "KEEP",
498
+ STRIP: "STRIP"
499
+ }, G = /* @__PURE__ */ function(p) {
500
+ b(i, p);
501
+ var v = R(i);
502
+ function i(u, r) {
503
+ var e;
504
+ return C(this, i), e = v.call(this, u, r), e.blockIndent = null, e.chomping = T.CLIP, e.header = null, e;
505
+ }
506
+ return E(i, [{
507
+ key: "includesTrailingLines",
508
+ get: function() {
509
+ return this.chomping === T.KEEP;
510
+ }
511
+ }, {
512
+ key: "strValue",
513
+ get: function() {
514
+ if (!this.valueRange || !this.context)
515
+ return null;
516
+ var r = this.valueRange, e = r.start, a = r.end, t = this.context, l = t.indent, s = t.src;
517
+ if (this.valueRange.isEmpty())
518
+ return "";
519
+ for (var c = null, n = s[a - 1]; n === `
520
+ ` || n === " " || n === " "; ) {
521
+ if (a -= 1, a <= e) {
522
+ if (this.chomping === T.KEEP)
523
+ break;
524
+ return "";
525
+ }
526
+ n === `
527
+ ` && (c = a), n = s[a - 1];
528
+ }
529
+ var h = a + 1;
530
+ c && (this.chomping === T.KEEP ? (h = c, a = this.valueRange.end) : a = c);
531
+ for (var f = l + this.blockIndent, k = this.type === d.BLOCK_FOLDED, m = !0, O = "", g = "", S = !1, w = e; w < a; ++w) {
532
+ for (var M = 0; M < f && s[w] === " "; ++M)
533
+ w += 1;
534
+ var A = s[w];
535
+ if (A === `
536
+ `)
537
+ g === `
538
+ ` ? O += `
539
+ ` : g = `
540
+ `;
541
+ else {
542
+ var L = o.endOfLine(s, w), P = s.slice(w, L);
543
+ w = L, k && (A === " " || A === " ") && w < h ? (g === " " ? g = `
544
+ ` : !S && !m && g === `
545
+ ` && (g = `
546
+
547
+ `), O += g + P, g = L < a && s[L] || "", S = !0) : (O += g + P, g = k && w < h ? " " : `
548
+ `, S = !1), m && P !== "" && (m = !1);
549
+ }
550
+ }
551
+ return this.chomping === T.STRIP ? O : O + `
552
+ `;
553
+ }
554
+ }, {
555
+ key: "parseBlockHeader",
556
+ value: function(r) {
557
+ for (var e = this.context.src, a = r + 1, t = ""; ; ) {
558
+ var l = e[a];
559
+ switch (l) {
560
+ case "-":
561
+ this.chomping = T.STRIP;
562
+ break;
563
+ case "+":
564
+ this.chomping = T.KEEP;
565
+ break;
566
+ case "0":
567
+ case "1":
568
+ case "2":
569
+ case "3":
570
+ case "4":
571
+ case "5":
572
+ case "6":
573
+ case "7":
574
+ case "8":
575
+ case "9":
576
+ t += l;
577
+ break;
578
+ default:
579
+ return this.blockIndent = Number(t) || null, this.header = new y(r, a), a;
580
+ }
581
+ a += 1;
582
+ }
583
+ }
584
+ }, {
585
+ key: "parseBlockValue",
586
+ value: function(r) {
587
+ for (var e = this.context, a = e.indent, t = e.src, l = !!this.blockIndent, s = r, c = r, n = 1, h = t[s]; h === `
588
+ ` && (s += 1, !o.atDocumentBoundary(t, s)); h = t[s]) {
589
+ var f = o.endOfBlockIndent(t, a, s);
590
+ if (f === null)
591
+ break;
592
+ var k = t[f], m = f - (s + a);
593
+ if (this.blockIndent) {
594
+ if (k && k !== `
595
+ ` && m < this.blockIndent) {
596
+ if (t[f] === "#")
597
+ break;
598
+ if (!this.error) {
599
+ var g = l ? "explicit indentation indicator" : "first line", S = "Block scalars must not be less indented than their ".concat(g);
600
+ this.error = new I(this, S);
601
+ }
602
+ }
603
+ } else if (t[f] !== `
604
+ `) {
605
+ if (m < n) {
606
+ var O = "Block scalars with more-indented leading empty lines must use an explicit indentation indicator";
607
+ this.error = new I(this, O);
608
+ }
609
+ this.blockIndent = m;
610
+ } else
611
+ m > n && (n = m);
612
+ t[f] === `
613
+ ` ? s = f : s = c = o.endOfLine(t, f);
614
+ }
615
+ return this.chomping !== T.KEEP && (s = t[c] ? c + 1 : c), this.valueRange = new y(r + 1, s), s;
616
+ }
617
+ /**
618
+ * Parses a block value from the source
619
+ *
620
+ * Accepted forms are:
621
+ * ```
622
+ * BS
623
+ * block
624
+ * lines
625
+ *
626
+ * BS #comment
627
+ * block
628
+ * lines
629
+ * ```
630
+ * where the block style BS matches the regexp `[|>][-+1-9]*` and block lines
631
+ * are empty or have an indent level greater than `indent`.
632
+ *
633
+ * @param {ParseContext} context
634
+ * @param {number} start - Index of first character
635
+ * @returns {number} - Index of the character after this block
636
+ */
637
+ }, {
638
+ key: "parse",
639
+ value: function(r, e) {
640
+ this.context = r;
641
+ var a = r.src, t = this.parseBlockHeader(e);
642
+ return t = o.endOfWhiteSpace(a, t), t = this.parseComment(t), t = this.parseBlockValue(t), t;
643
+ }
644
+ }, {
645
+ key: "setOrigRanges",
646
+ value: function(r, e) {
647
+ return e = x(Q(i.prototype), "setOrigRanges", this).call(this, r, e), this.header ? this.header.setOrigRange(r, e) : e;
648
+ }
649
+ }]), i;
650
+ }(o), J = /* @__PURE__ */ function(p) {
651
+ b(i, p);
652
+ var v = R(i);
653
+ function i(u, r) {
654
+ var e;
655
+ return C(this, i), e = v.call(this, u, r), e.items = null, e;
656
+ }
657
+ return E(i, [{
658
+ key: "prevNodeIsJsonLike",
659
+ value: function() {
660
+ var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.items.length, e = this.items[r - 1];
661
+ return !!e && (e.jsonLike || e.type === d.COMMENT && this.prevNodeIsJsonLike(r - 1));
662
+ }
663
+ /**
664
+ * @param {ParseContext} context
665
+ * @param {number} start - Index of first character
666
+ * @returns {number} - Index of the character after this
667
+ */
668
+ }, {
669
+ key: "parse",
670
+ value: function(r, e) {
671
+ this.context = r;
672
+ var a = r.parseNode, t = r.src, l = r.indent, s = r.lineStart, c = t[e];
673
+ this.items = [{
674
+ char: c,
675
+ offset: e
676
+ }];
677
+ var n = o.endOfWhiteSpace(t, e + 1);
678
+ for (c = t[n]; c && c !== "]" && c !== "}"; ) {
679
+ switch (c) {
680
+ case `
681
+ `:
682
+ {
683
+ s = n + 1;
684
+ var h = o.endOfWhiteSpace(t, s);
685
+ if (t[h] === `
686
+ `) {
687
+ var f = new D();
688
+ s = f.parse({
689
+ src: t
690
+ }, s), this.items.push(f);
691
+ }
692
+ if (n = o.endOfIndent(t, s), n <= s + l && (c = t[n], n < s + l || c !== "]" && c !== "}")) {
693
+ var k = "Insufficient indentation in flow collection";
694
+ this.error = new I(this, k);
695
+ }
696
+ }
697
+ break;
698
+ case ",":
699
+ this.items.push({
700
+ char: c,
701
+ offset: n
702
+ }), n += 1;
703
+ break;
704
+ case "#":
705
+ {
706
+ var m = new B();
707
+ n = m.parse({
708
+ src: t
709
+ }, n), this.items.push(m);
710
+ }
711
+ break;
712
+ case "?":
713
+ case ":": {
714
+ var O = t[n + 1];
715
+ if (O === `
716
+ ` || O === " " || O === " " || O === "," || // in-flow : after JSON-like key does not need to be followed by whitespace
717
+ c === ":" && this.prevNodeIsJsonLike()) {
718
+ this.items.push({
719
+ char: c,
720
+ offset: n
721
+ }), n += 1;
722
+ break;
723
+ }
724
+ }
725
+ default: {
726
+ var g = a({
727
+ atLineStart: !1,
728
+ inCollection: !1,
729
+ inFlow: !0,
730
+ indent: -1,
731
+ lineStart: s,
732
+ parent: this
733
+ }, n);
734
+ if (!g)
735
+ return this.valueRange = new y(e, n), n;
736
+ this.items.push(g), n = o.normalizeOffset(t, g.range.end);
737
+ }
738
+ }
739
+ n = o.endOfWhiteSpace(t, n), c = t[n];
740
+ }
741
+ return this.valueRange = new y(e, n + 1), c && (this.items.push({
742
+ char: c,
743
+ offset: n
744
+ }), n = o.endOfWhiteSpace(t, n + 1), n = this.parseComment(n)), n;
745
+ }
746
+ }, {
747
+ key: "setOrigRanges",
748
+ value: function(r, e) {
749
+ return e = x(Q(i.prototype), "setOrigRanges", this).call(this, r, e), this.items.forEach(function(a) {
750
+ if (a instanceof o)
751
+ e = a.setOrigRanges(r, e);
752
+ else if (r.length === 0)
753
+ a.origOffset = a.offset;
754
+ else {
755
+ for (var t = e; t < r.length && !(r[t] > a.offset); )
756
+ ++t;
757
+ a.origOffset = a.offset + t, e = t;
758
+ }
759
+ }), e;
760
+ }
761
+ }, {
762
+ key: "toString",
763
+ value: function() {
764
+ var r = this.context.src, e = this.items, a = this.range, t = this.value;
765
+ if (t != null)
766
+ return t;
767
+ var l = e.filter(function(n) {
768
+ return n instanceof o;
769
+ }), s = "", c = a.start;
770
+ return l.forEach(function(n) {
771
+ var h = r.slice(c, n.range.start);
772
+ c = n.range.end, s += h + String(n), s[s.length - 1] === `
773
+ ` && r[c - 1] !== `
774
+ ` && r[c] === `
775
+ ` && (c += 1);
776
+ }), s += r.slice(c, a.end), o.addStringTerminator(r, a.end, s);
777
+ }
778
+ }]), i;
779
+ }(o), $ = /* @__PURE__ */ function(p) {
780
+ b(i, p);
781
+ var v = R(i);
782
+ function i() {
783
+ return C(this, i), v.apply(this, arguments);
784
+ }
785
+ return E(i, [{
786
+ key: "strValue",
787
+ get: (
788
+ /**
789
+ * @returns {string | { str: string, errors: YAMLSyntaxError[] }}
790
+ */
791
+ function() {
792
+ if (!this.valueRange || !this.context)
793
+ return null;
794
+ var r = [], e = this.valueRange, a = e.start, t = e.end, l = this.context, s = l.indent, c = l.src;
795
+ c[t - 1] !== '"' && r.push(new N(this, 'Missing closing "quote'));
796
+ for (var n = "", h = a + 1; h < t - 1; ++h) {
797
+ var f = c[h];
798
+ if (f === `
799
+ `) {
800
+ o.atDocumentBoundary(c, h + 1) && r.push(new I(this, "Document boundary indicators are not allowed within string values"));
801
+ var k = o.foldNewline(c, h, s), m = k.fold, O = k.offset, g = k.error;
802
+ n += m, h = O, g && r.push(new I(this, "Multi-line double-quoted string needs to be sufficiently indented"));
803
+ } else if (f === "\\")
804
+ switch (h += 1, c[h]) {
805
+ case "0":
806
+ n += "\0";
807
+ break;
808
+ case "a":
809
+ n += "\x07";
810
+ break;
811
+ case "b":
812
+ n += "\b";
813
+ break;
814
+ case "e":
815
+ n += "\x1B";
816
+ break;
817
+ case "f":
818
+ n += "\f";
819
+ break;
820
+ case "n":
821
+ n += `
822
+ `;
823
+ break;
824
+ case "r":
825
+ n += "\r";
826
+ break;
827
+ case "t":
828
+ n += " ";
829
+ break;
830
+ case "v":
831
+ n += "\v";
832
+ break;
833
+ case "N":
834
+ n += "…";
835
+ break;
836
+ case "_":
837
+ n += " ";
838
+ break;
839
+ case "L":
840
+ n += "\u2028";
841
+ break;
842
+ case "P":
843
+ n += "\u2029";
844
+ break;
845
+ case " ":
846
+ n += " ";
847
+ break;
848
+ case '"':
849
+ n += '"';
850
+ break;
851
+ case "/":
852
+ n += "/";
853
+ break;
854
+ case "\\":
855
+ n += "\\";
856
+ break;
857
+ case " ":
858
+ n += " ";
859
+ break;
860
+ case "x":
861
+ n += this.parseCharCode(h + 1, 2, r), h += 2;
862
+ break;
863
+ case "u":
864
+ n += this.parseCharCode(h + 1, 4, r), h += 4;
865
+ break;
866
+ case "U":
867
+ n += this.parseCharCode(h + 1, 8, r), h += 8;
868
+ break;
869
+ case `
870
+ `:
871
+ for (; c[h + 1] === " " || c[h + 1] === " "; )
872
+ h += 1;
873
+ break;
874
+ default:
875
+ r.push(new N(this, "Invalid escape sequence ".concat(c.substr(h - 1, 2)))), n += "\\" + c[h];
876
+ }
877
+ else if (f === " " || f === " ") {
878
+ for (var S = h, w = c[h + 1]; w === " " || w === " "; )
879
+ h += 1, w = c[h + 1];
880
+ w !== `
881
+ ` && (n += h > S ? c.slice(S, h + 1) : f);
882
+ } else
883
+ n += f;
884
+ }
885
+ return r.length > 0 ? {
886
+ errors: r,
887
+ str: n
888
+ } : n;
889
+ }
890
+ )
891
+ }, {
892
+ key: "parseCharCode",
893
+ value: function(r, e, a) {
894
+ var t = this.context.src, l = t.substr(r, e), s = l.length === e && /^[0-9a-fA-F]+$/.test(l), c = s ? parseInt(l, 16) : NaN;
895
+ return isNaN(c) ? (a.push(new N(this, "Invalid escape sequence ".concat(t.substr(r - 2, e + 2)))), t.substr(r - 2, e + 2)) : String.fromCodePoint(c);
896
+ }
897
+ /**
898
+ * Parses a "double quoted" value from the source
899
+ *
900
+ * @param {ParseContext} context
901
+ * @param {number} start - Index of first character
902
+ * @returns {number} - Index of the character after this scalar
903
+ */
904
+ }, {
905
+ key: "parse",
906
+ value: function(r, e) {
907
+ this.context = r;
908
+ var a = r.src, t = i.endOfQuote(a, e + 1);
909
+ return this.valueRange = new y(e, t), t = o.endOfWhiteSpace(a, t), t = this.parseComment(t), t;
910
+ }
911
+ }], [{
912
+ key: "endOfQuote",
913
+ value: function(r, e) {
914
+ for (var a = r[e]; a && a !== '"'; )
915
+ e += a === "\\" ? 2 : 1, a = r[e];
916
+ return e + 1;
917
+ }
918
+ }]), i;
919
+ }(o), Z = /* @__PURE__ */ function(p) {
920
+ b(i, p);
921
+ var v = R(i);
922
+ function i() {
923
+ return C(this, i), v.apply(this, arguments);
924
+ }
925
+ return E(i, [{
926
+ key: "strValue",
927
+ get: (
928
+ /**
929
+ * @returns {string | { str: string, errors: YAMLSyntaxError[] }}
930
+ */
931
+ function() {
932
+ if (!this.valueRange || !this.context)
933
+ return null;
934
+ var r = [], e = this.valueRange, a = e.start, t = e.end, l = this.context, s = l.indent, c = l.src;
935
+ c[t - 1] !== "'" && r.push(new N(this, "Missing closing 'quote"));
936
+ for (var n = "", h = a + 1; h < t - 1; ++h) {
937
+ var f = c[h];
938
+ if (f === `
939
+ `) {
940
+ o.atDocumentBoundary(c, h + 1) && r.push(new I(this, "Document boundary indicators are not allowed within string values"));
941
+ var k = o.foldNewline(c, h, s), m = k.fold, O = k.offset, g = k.error;
942
+ n += m, h = O, g && r.push(new I(this, "Multi-line single-quoted string needs to be sufficiently indented"));
943
+ } else if (f === "'")
944
+ n += f, h += 1, c[h] !== "'" && r.push(new N(this, "Unescaped single quote? This should not happen."));
945
+ else if (f === " " || f === " ") {
946
+ for (var S = h, w = c[h + 1]; w === " " || w === " "; )
947
+ h += 1, w = c[h + 1];
948
+ w !== `
949
+ ` && (n += h > S ? c.slice(S, h + 1) : f);
950
+ } else
951
+ n += f;
952
+ }
953
+ return r.length > 0 ? {
954
+ errors: r,
955
+ str: n
956
+ } : n;
957
+ }
958
+ )
959
+ /**
960
+ * Parses a 'single quoted' value from the source
961
+ *
962
+ * @param {ParseContext} context
963
+ * @param {number} start - Index of first character
964
+ * @returns {number} - Index of the character after this scalar
965
+ */
966
+ }, {
967
+ key: "parse",
968
+ value: function(r, e) {
969
+ this.context = r;
970
+ var a = r.src, t = i.endOfQuote(a, e + 1);
971
+ return this.valueRange = new y(e, t), t = o.endOfWhiteSpace(a, t), t = this.parseComment(t), t;
972
+ }
973
+ }], [{
974
+ key: "endOfQuote",
975
+ value: function(r, e) {
976
+ for (var a = r[e]; a; )
977
+ if (a === "'") {
978
+ if (r[e + 1] !== "'")
979
+ break;
980
+ a = r[e += 2];
981
+ } else
982
+ a = r[e += 1];
983
+ return e + 1;
984
+ }
985
+ }]), i;
986
+ }(o);
987
+ function X(p, v) {
988
+ switch (p) {
989
+ case d.ALIAS:
990
+ return new j(p, v);
991
+ case d.BLOCK_FOLDED:
992
+ case d.BLOCK_LITERAL:
993
+ return new G(p, v);
994
+ case d.FLOW_MAP:
995
+ case d.FLOW_SEQ:
996
+ return new J(p, v);
997
+ case d.MAP_KEY:
998
+ case d.MAP_VALUE:
999
+ case d.SEQ_ITEM:
1000
+ return new K(p, v);
1001
+ case d.COMMENT:
1002
+ case d.PLAIN:
1003
+ return new H(p, v);
1004
+ case d.QUOTE_DOUBLE:
1005
+ return new $(p, v);
1006
+ case d.QUOTE_SINGLE:
1007
+ return new Z(p, v);
1008
+ default:
1009
+ return null;
1010
+ }
1011
+ }
1012
+ var ee = /* @__PURE__ */ function() {
1013
+ function p() {
1014
+ var v = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = u.atLineStart, e = u.inCollection, a = u.inFlow, t = u.indent, l = u.lineStart, s = u.parent;
1015
+ C(this, p), q(this, "parseNode", function(c, n) {
1016
+ if (o.atDocumentBoundary(v.src, n))
1017
+ return null;
1018
+ var h = new p(v, c), f = h.parseProps(n), k = f.props, m = f.type, O = f.valueStart, g = X(m, k), S = g.parse(h, O);
1019
+ if (g.range = new y(n, S), S <= n && (g.error = new Error("Node#parse consumed no characters"), g.error.parseEnd = S, g.error.source = g, g.range.end = n + 1), h.nodeStartsCollection(g)) {
1020
+ !g.error && !h.atLineStart && h.parent.type === d.DOCUMENT && (g.error = new N(g, "Block collection must not have preceding content here (e.g. directives-end indicator)"));
1021
+ var w = new U(g);
1022
+ return S = w.parse(new p(h), S), w.range = new y(n, S), w;
1023
+ }
1024
+ return g;
1025
+ }), this.atLineStart = r ?? (i.atLineStart || !1), this.inCollection = e ?? (i.inCollection || !1), this.inFlow = a ?? (i.inFlow || !1), this.indent = t ?? i.indent, this.lineStart = l ?? i.lineStart, this.parent = s ?? (i.parent || {}), this.root = i.root, this.src = i.src;
1026
+ }
1027
+ return E(p, [{
1028
+ key: "nodeStartsCollection",
1029
+ value: function(i) {
1030
+ var u = this.inCollection, r = this.inFlow, e = this.src;
1031
+ if (u || r)
1032
+ return !1;
1033
+ if (i instanceof K)
1034
+ return !0;
1035
+ var a = i.range.end;
1036
+ return e[a] === `
1037
+ ` || e[a - 1] === `
1038
+ ` ? !1 : (a = o.endOfWhiteSpace(e, a), e[a] === ":");
1039
+ }
1040
+ // Anchor and tag are before type, which determines the node implementation
1041
+ // class; hence this intermediate step.
1042
+ }, {
1043
+ key: "parseProps",
1044
+ value: function(i) {
1045
+ var u = this.inFlow, r = this.parent, e = this.src, a = [], t = !1;
1046
+ i = this.atLineStart ? o.endOfIndent(e, i) : o.endOfWhiteSpace(e, i);
1047
+ for (var l = e[i]; l === _.ANCHOR || l === _.COMMENT || l === _.TAG || l === `
1048
+ `; ) {
1049
+ if (l === `
1050
+ `) {
1051
+ var s = i, c = void 0;
1052
+ do
1053
+ c = s + 1, s = o.endOfIndent(e, c);
1054
+ while (e[s] === `
1055
+ `);
1056
+ var n = s - (c + this.indent), h = r.type === d.SEQ_ITEM && r.context.atLineStart;
1057
+ if (e[s] !== "#" && !o.nextNodeIsIndented(e[s], n, !h))
1058
+ break;
1059
+ this.atLineStart = !0, this.lineStart = c, t = !1, i = s;
1060
+ } else if (l === _.COMMENT) {
1061
+ var f = o.endOfLine(e, i + 1);
1062
+ a.push(new y(i, f)), i = f;
1063
+ } else {
1064
+ var k = o.endOfIdentifier(e, i + 1);
1065
+ l === _.TAG && e[k] === "," && /^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(e.slice(i + 1, k + 13)) && (k = o.endOfIdentifier(e, k + 5)), a.push(new y(i, k)), t = !0, i = o.endOfWhiteSpace(e, k);
1066
+ }
1067
+ l = e[i];
1068
+ }
1069
+ t && l === ":" && o.atBlank(e, i + 1, !0) && (i -= 1);
1070
+ var m = p.parseType(e, i, u);
1071
+ return {
1072
+ props: a,
1073
+ type: m,
1074
+ valueStart: i
1075
+ };
1076
+ }
1077
+ /**
1078
+ * Parses a node from the source
1079
+ * @param {ParseContext} overlay
1080
+ * @param {number} start - Index of first non-whitespace character for the node
1081
+ * @returns {?Node} - null if at a document boundary
1082
+ */
1083
+ }], [{
1084
+ key: "parseType",
1085
+ value: function(i, u, r) {
1086
+ switch (i[u]) {
1087
+ case "*":
1088
+ return d.ALIAS;
1089
+ case ">":
1090
+ return d.BLOCK_FOLDED;
1091
+ case "|":
1092
+ return d.BLOCK_LITERAL;
1093
+ case "{":
1094
+ return d.FLOW_MAP;
1095
+ case "[":
1096
+ return d.FLOW_SEQ;
1097
+ case "?":
1098
+ return !r && o.atBlank(i, u + 1, !0) ? d.MAP_KEY : d.PLAIN;
1099
+ case ":":
1100
+ return !r && o.atBlank(i, u + 1, !0) ? d.MAP_VALUE : d.PLAIN;
1101
+ case "-":
1102
+ return !r && o.atBlank(i, u + 1, !0) ? d.SEQ_ITEM : d.PLAIN;
1103
+ case '"':
1104
+ return d.QUOTE_DOUBLE;
1105
+ case "'":
1106
+ return d.QUOTE_SINGLE;
1107
+ default:
1108
+ return d.PLAIN;
1109
+ }
1110
+ }
1111
+ }]), p;
1112
+ }();
1113
+ function re(p) {
1114
+ var v = [];
1115
+ p.indexOf("\r") !== -1 && (p = p.replace(/\r\n?/g, function(a, t) {
1116
+ return a.length > 1 && v.push(t), `
1117
+ `;
1118
+ }));
1119
+ var i = [], u = 0;
1120
+ do {
1121
+ var r = new Y(), e = new ee({
1122
+ src: p
1123
+ });
1124
+ u = r.parse(e, u), i.push(r);
1125
+ } while (u < p.length);
1126
+ return i.setOrigRanges = function() {
1127
+ if (v.length === 0)
1128
+ return !1;
1129
+ for (var a = 1; a < v.length; ++a)
1130
+ v[a] -= a;
1131
+ for (var t = 0, l = 0; l < i.length; ++l)
1132
+ t = i[l].setOrigRanges(v, t);
1133
+ return v.splice(0, v.length), !0;
1134
+ }, i.toString = function() {
1135
+ return i.join(`...
1136
+ `);
1137
+ }, i;
1138
+ }
1139
+ export {
1140
+ re as parse
1141
+ };