@jackuait/blok 0.9.0 → 0.10.0-beta.10

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 (492) hide show
  1. package/codemod/migrate-editorjs-to-blok.js +50 -2
  2. package/codemod/test.js +39 -6
  3. package/dist/blok.mjs +3 -3
  4. package/dist/chunks/_basePickBy-DISiGhsr.mjs +410 -0
  5. package/dist/chunks/_baseUniq-gAuHRtRF.mjs +1045 -0
  6. package/dist/chunks/_getTag-Aj56Wgor.mjs +26 -0
  7. package/dist/chunks/arc-D-pL2Ftf.mjs +80 -0
  8. package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +3 -0
  9. package/dist/chunks/architectureDiagram-Q4EWVU46-DS7mqjL2.mjs +4066 -0
  10. package/dist/chunks/array-BsrkCVSZ.mjs +6 -0
  11. package/dist/chunks/blockDiagram-DXYQGD6D-BTtcn4NG.mjs +3259 -0
  12. package/dist/chunks/{blok-RJ3hyzDH.mjs → blok-Bg3-zpSu.mjs} +2192 -2156
  13. package/dist/chunks/c-C6JXJf5K.mjs +5 -0
  14. package/dist/chunks/c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs +2956 -0
  15. package/dist/chunks/ccount-C9Y7nqDe.mjs +10 -0
  16. package/dist/chunks/channel-Cln-eWE0.mjs +5 -0
  17. package/dist/chunks/chunk-2KRD3SAO-DkM7qh-k.mjs +20 -0
  18. package/dist/chunks/chunk-336JU56O-B17AtzlK.mjs +49 -0
  19. package/dist/chunks/chunk-426QAEUC-D6UAVUog.mjs +13 -0
  20. package/dist/chunks/chunk-4BX2VUAB-CgIkjF7Z.mjs +19 -0
  21. package/dist/chunks/chunk-4TB4RGXK-BUP4eON3.mjs +3250 -0
  22. package/dist/chunks/chunk-55IACEB6-zZ-IgaSt.mjs +8 -0
  23. package/dist/chunks/chunk-5FUZZQ4R-DsZnJYxM.mjs +3786 -0
  24. package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +1692 -0
  25. package/dist/chunks/chunk-67CJDMHE-m0UKdcSH.mjs +20 -0
  26. package/dist/chunks/chunk-7N4EOEYR-DKNajFZd.mjs +29 -0
  27. package/dist/chunks/chunk-AA7GKIK3-BeLhNzKa.mjs +24 -0
  28. package/dist/chunks/chunk-BSJP7CBP-CJExmx8a.mjs +83 -0
  29. package/dist/chunks/chunk-CIAEETIT-CTikoJ19.mjs +20 -0
  30. package/dist/chunks/chunk-D6kmoKXy.mjs +20 -0
  31. package/dist/chunks/chunk-EDXVE4YY-DjInnnwb.mjs +26 -0
  32. package/dist/chunks/chunk-ENJZ2VHE-CIl5FRDA.mjs +566 -0
  33. package/dist/chunks/chunk-FMBD7UC4-DjV0W7UE.mjs +5 -0
  34. package/dist/chunks/chunk-FOC6F5B3-LmHCCWYY.mjs +20 -0
  35. package/dist/chunks/chunk-ICPOFSXX-BHZIN46A.mjs +3290 -0
  36. package/dist/chunks/chunk-K5T4RW27-BPZ6fFnW.mjs +16370 -0
  37. package/dist/chunks/chunk-KGLVRYIC-S1OQdW76.mjs +20 -0
  38. package/dist/chunks/chunk-LIHQZDEY-CjtyJlI6.mjs +55 -0
  39. package/dist/chunks/chunk-ORNJ4GCN-CdO0hAge.mjs +25 -0
  40. package/dist/chunks/chunk-OYMX7WX6-ApX8eV4o.mjs +2038 -0
  41. package/dist/chunks/chunk-QZHKN3VN-BGFuA6-k.mjs +12 -0
  42. package/dist/chunks/chunk-U2HBQHQK-B88ZUOTL.mjs +1875 -0
  43. package/dist/chunks/chunk-X2U36JSP-1VS5TyCr.mjs +68 -0
  44. package/dist/chunks/chunk-XPW4576I-BMupdrvo.mjs +1146 -0
  45. package/dist/chunks/chunk-YZCP3GAM-BQ7eEsm2.mjs +60 -0
  46. package/dist/chunks/chunk-ZZ45TVLE-D1xks9zd.mjs +33 -0
  47. package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +30 -0
  48. package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +30 -0
  49. package/dist/chunks/clone-Ckjt1LtE.mjs +8 -0
  50. package/dist/chunks/{constants-A3iVmQL8.mjs → constants-D7zjGD5W.mjs} +529 -530
  51. package/dist/chunks/core-Bm6DWt7D.mjs +4501 -0
  52. package/dist/chunks/cose-bilkent-S5V4N54A-Bpcs2jA_.mjs +2246 -0
  53. package/dist/chunks/cpp-BdjvAny0.mjs +16 -0
  54. package/dist/chunks/csharp-YHxeHpeH.mjs +3 -0
  55. package/dist/chunks/css-DdLevFaX.mjs +3 -0
  56. package/dist/chunks/cytoscape.esm-BvD8wo00.mjs +18108 -0
  57. package/dist/chunks/dagre-CGNbYTKq.mjs +1536 -0
  58. package/dist/chunks/dagre-KV5264BT-DUD9ikgN.mjs +298 -0
  59. package/dist/chunks/dart-DrPWqfcC.mjs +3 -0
  60. package/dist/chunks/default-qigT1Xpq.mjs +4 -0
  61. package/dist/chunks/defaultLocale-ChuSeAxU.mjs +201 -0
  62. package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +112 -0
  63. package/dist/chunks/diagram-G4DWMVQ6-CuS0-h95.mjs +546 -0
  64. package/dist/chunks/diagram-MMDJMWI5-C-AEApYz.mjs +234 -0
  65. package/dist/chunks/diagram-TYMM5635-CiwAJVMq.mjs +144 -0
  66. package/dist/chunks/dist-Ctq-pyfb.mjs +59 -0
  67. package/dist/chunks/dockerfile-C68ALcaN.mjs +3 -0
  68. package/dist/chunks/engine-javascript-CJpnSvzf.mjs +2373 -0
  69. package/dist/chunks/erDiagram-SMLLAGMA-DeH5yck2.mjs +1712 -0
  70. package/dist/chunks/flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs +4175 -0
  71. package/dist/chunks/ganttDiagram-T4ZO3ILL-K-divBg_.mjs +3083 -0
  72. package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +3 -0
  73. package/dist/chunks/gitGraphDiagram-UUTBAWPF-UytPZv72.mjs +792 -0
  74. package/dist/chunks/go-Fm5N96DN.mjs +3 -0
  75. package/dist/chunks/graphlib-Cye9EPNq.mjs +223 -0
  76. package/dist/chunks/graphql-BSnqmqgO.mjs +11 -0
  77. package/dist/chunks/html-BLNeZvnp.mjs +10 -0
  78. package/dist/chunks/{i18next-Ch0gVA3V.mjs → i18next-CXx5niYF.mjs} +1 -1
  79. package/dist/chunks/{i18next-loader-dH3UPF7S.mjs → i18next-loader-CwsYu0n6.mjs} +2 -2
  80. package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +3 -0
  81. package/dist/chunks/infoDiagram-42DDH7IO-DuYnDbF3.mjs +29 -0
  82. package/dist/chunks/init-C6T-mugb.mjs +15 -0
  83. package/dist/chunks/ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs +719 -0
  84. package/dist/chunks/java-83DWBpzu.mjs +5 -0
  85. package/dist/chunks/javascript-CBgeF1Xx.mjs +3 -0
  86. package/dist/chunks/journeyDiagram-VCZTEJTY-CD25C4_n.mjs +885 -0
  87. package/dist/chunks/json-BI17y-1H.mjs +3 -0
  88. package/dist/chunks/kanban-definition-6JOO6SKY-CTCT6N_p.mjs +980 -0
  89. package/dist/chunks/katex-CmTPfM0f.mjs +22026 -0
  90. package/dist/chunks/kotlin-DjnvsrfO.mjs +3 -0
  91. package/dist/chunks/latex-24n3TcOR.mjs +5 -0
  92. package/dist/chunks/{lightweight-i18n-1rbaxIZW.mjs → lightweight-i18n-Cvv8CWh4.mjs} +69 -2
  93. package/dist/chunks/line-Dct5pMmw.mjs +34 -0
  94. package/dist/chunks/linear-BRCpMvtr.mjs +289 -0
  95. package/dist/chunks/lua-DV0fuZWx.mjs +5 -0
  96. package/dist/chunks/markdown-BqQYT45f.mjs +3 -0
  97. package/dist/chunks/mdast-util-math-BlK2Zu-1.mjs +151 -0
  98. package/dist/chunks/mermaid-parser.core-CA3DKkuk.mjs +57 -0
  99. package/dist/chunks/mermaid-vF0cEnZ0.mjs +3 -0
  100. package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +989 -0
  101. package/dist/{messages-DaOnbI6d.mjs → chunks/messages-8IHf7ZP3.mjs} +68 -1
  102. package/dist/chunks/{messages-C9aKfCro.mjs → messages-A_MkXDlG.mjs} +68 -1
  103. package/dist/{messages-BLEVLZve.mjs → chunks/messages-B0vPBsWq.mjs} +68 -1
  104. package/dist/chunks/{messages-C0hQPZmh2.mjs → messages-B2N4fUi72.mjs} +68 -1
  105. package/dist/{messages-HNAtlVax.mjs → chunks/messages-B4UMuyjT.mjs} +73 -6
  106. package/dist/chunks/{messages-DRUkmDVZ.mjs → messages-B9kmbUWV.mjs} +68 -1
  107. package/dist/{messages-Dbsx9m5q2.mjs → chunks/messages-BA8Iv99Y2.mjs} +68 -1
  108. package/dist/chunks/{messages-Da-SOTFW.mjs → messages-BAsb5CgZ.mjs} +68 -1
  109. package/dist/{messages-D1P0QGLz2.mjs → chunks/messages-BDZA10kl2.mjs} +68 -1
  110. package/dist/chunks/{messages-ComLU2T32.mjs → messages-BE6lHKwf.mjs} +68 -1
  111. package/dist/chunks/{messages-gaxTO-87.mjs → messages-BQYvBqm2.mjs} +68 -1
  112. package/dist/chunks/{messages-BwKs-9DF.mjs → messages-BSghd0ez.mjs} +68 -1
  113. package/dist/{messages-BPRR6TMf.mjs → chunks/messages-BUVhHx0q2.mjs} +68 -1
  114. package/dist/{messages-B7jZvo-m.mjs → chunks/messages-BVjoM7P0.mjs} +68 -1
  115. package/dist/{messages-C-4z1-Dh.mjs → chunks/messages-BXM80fdr2.mjs} +68 -1
  116. package/dist/{messages-Bm0nvUuj2.mjs → chunks/messages-BYlSMRkd.mjs} +68 -1
  117. package/dist/chunks/{messages-DLPrj3Dh.mjs → messages-BYxLFj7y.mjs} +68 -1
  118. package/dist/{messages-BRcLIBCd2.mjs → chunks/messages-BeFqtIrc2.mjs} +68 -1
  119. package/dist/{messages-zHkURG6V2.mjs → chunks/messages-Bfnq1xv4.mjs} +68 -1
  120. package/dist/chunks/{messages-Z762-GLL.mjs → messages-BhzzNkN-.mjs} +68 -1
  121. package/dist/chunks/{messages-COJ0CbVV2.mjs → messages-BjadX8jR2.mjs} +68 -1
  122. package/dist/{messages-B2ZwD4n9.mjs → chunks/messages-Bp8qin1R.mjs} +68 -1
  123. package/dist/chunks/{messages-DdEWnfAR.mjs → messages-Bphq_Bt3.mjs} +71 -4
  124. package/dist/{messages-CUDbNJG5.mjs → chunks/messages-Bxvi1ebN.mjs} +68 -1
  125. package/dist/chunks/{messages-B0t2L3bi.mjs → messages-C0HvoMPb.mjs} +68 -1
  126. package/dist/{messages-D6qfWi6H2.mjs → chunks/messages-C3aX3q0H.mjs} +68 -1
  127. package/dist/chunks/{messages-v9NkxRcL.mjs → messages-C6Mpiacw.mjs} +68 -1
  128. package/dist/chunks/{messages-CqZ9vFyx.mjs → messages-C7VGpihw.mjs} +69 -2
  129. package/dist/chunks/{messages-Yj4Q1_uX2.mjs → messages-CKBhDGI3.mjs} +69 -2
  130. package/dist/chunks/{messages-DxtnwNPo.mjs → messages-COO5xmcA.mjs} +68 -1
  131. package/dist/{messages-CZTcgUzd.mjs → chunks/messages-CSJ_zb3a2.mjs} +68 -1
  132. package/dist/{messages-A8aZS7d_2.mjs → chunks/messages-CSL-6xfb2.mjs} +68 -1
  133. package/dist/{messages-CxruHsuD2.mjs → chunks/messages-CVdpweyf2.mjs} +69 -2
  134. package/dist/{messages-D2Mf9z2D.mjs → chunks/messages-Cdf0W9H02.mjs} +68 -1
  135. package/dist/chunks/{messages-DAbCNake2.mjs → messages-Ck81cQkn2.mjs} +68 -1
  136. package/dist/chunks/{messages-Dyku8Cut.mjs → messages-Cmf6NhSC.mjs} +68 -1
  137. package/dist/chunks/{messages-DQ6bFum9.mjs → messages-Cs81Z_Bh.mjs} +68 -1
  138. package/dist/chunks/{messages-cegxHurd2.mjs → messages-Cu-Wevxs2.mjs} +68 -1
  139. package/dist/{messages-D2HwpoUE.mjs → chunks/messages-D3zojZ94.mjs} +69 -2
  140. package/dist/{messages-BfTBVFd9.mjs → chunks/messages-D55HRx5O2.mjs} +68 -1
  141. package/dist/chunks/{messages-Dl03jd4b2.mjs → messages-D9N2MvQx2.mjs} +68 -1
  142. package/dist/{messages-DfXh-i9o.mjs → chunks/messages-DG-4DPmP.mjs} +68 -1
  143. package/dist/chunks/{messages-DmJf9laH2.mjs → messages-DGL1ySqb2.mjs} +68 -1
  144. package/dist/chunks/{messages-DfU4yvkL.mjs → messages-DJoNVjqP.mjs} +68 -1
  145. package/dist/{messages-Bsd4ruEY.mjs → chunks/messages-DMVXnAYj.mjs} +70 -3
  146. package/dist/{messages-3WhPEFd7.mjs → chunks/messages-DOuS1Qge.mjs} +68 -1
  147. package/dist/chunks/{messages-B1kDfIN82.mjs → messages-DWu1r4gc2.mjs} +68 -1
  148. package/dist/{messages-Dtih3ffa2.mjs → chunks/messages-DlLXpgWM2.mjs} +68 -1
  149. package/dist/chunks/{messages-DKNULJpc.mjs → messages-DlonA3wa.mjs} +69 -2
  150. package/dist/{messages-C5pBfa_W.mjs → chunks/messages-Dr0Ekmbz.mjs} +81 -14
  151. package/dist/{messages-Du62vI49.mjs → chunks/messages-DzTk8bJ5.mjs} +68 -1
  152. package/dist/{messages-DNAp0U4l2.mjs → chunks/messages-FWfsxpBz.mjs} +68 -1
  153. package/dist/{messages-B2YeJw8s2.mjs → chunks/messages-G416eyjY.mjs} +68 -1
  154. package/dist/chunks/{messages-C5-aaU2b.mjs → messages-Je5YvxiY.mjs} +68 -1
  155. package/dist/chunks/{messages-DHHZUf_H2.mjs → messages-JyvWu4rf2.mjs} +68 -1
  156. package/dist/chunks/{messages-D_6vPBzT.mjs → messages-KdawW5Na.mjs} +68 -1
  157. package/dist/chunks/{messages-DnuhgHG0.mjs → messages-MxpWO1db.mjs} +68 -1
  158. package/dist/{messages-DT4rHATO2.mjs → chunks/messages-NEqrrYvE2.mjs} +68 -1
  159. package/dist/chunks/{messages-DeSSxLsh.mjs → messages-RInp1ytX.mjs} +68 -1
  160. package/dist/{messages-DfEPVRdJ.mjs → chunks/messages-TRUuyiFB.mjs} +68 -1
  161. package/dist/chunks/{messages--eH7tTJV2.mjs → messages-aZcy0JQq2.mjs} +68 -1
  162. package/dist/{messages-O6z1uabG.mjs → chunks/messages-iS34FHFB.mjs} +68 -1
  163. package/dist/{messages-BE0DjTEC.mjs → chunks/messages-ihCjSFJI2.mjs} +68 -1
  164. package/dist/chunks/{messages-_5Pg5fKy2.mjs → messages-jfVpL9c-2.mjs} +68 -1
  165. package/dist/chunks/{messages-CaRSYuhO.mjs → messages-p1mbe__S.mjs} +68 -1
  166. package/dist/chunks/{messages-BGssMBWM2.mjs → messages-rCd0Rrw6.mjs} +69 -2
  167. package/dist/{messages-COgvIEeW.mjs → chunks/messages-xuqyb6Ff2.mjs} +68 -1
  168. package/dist/chunks/micromark-extension-math-BbkUb36G.mjs +169 -0
  169. package/dist/chunks/micromark-factory-space-y4SDWQKm.mjs +36 -0
  170. package/dist/chunks/mindmap-definition-QFDTVHPH-hNnyBkEP.mjs +1013 -0
  171. package/dist/chunks/{notifier-Butv4Dvo.mjs → notifier-CuvTt9pe.mjs} +1 -1
  172. package/dist/chunks/objectWithoutProperties-D0XxKB4n.mjs +23 -0
  173. package/dist/chunks/one-light-DmNO_Y4X.mjs +4 -0
  174. package/dist/chunks/ordinal-B-kolV-i.mjs +65 -0
  175. package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +3 -0
  176. package/dist/chunks/path-rIMjg_tH.mjs +85 -0
  177. package/dist/chunks/php-DmXKyPwJ.mjs +18 -0
  178. package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +3 -0
  179. package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +179 -0
  180. package/dist/chunks/python-DfwfY9t5.mjs +3 -0
  181. package/dist/chunks/quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs +1960 -0
  182. package/dist/chunks/r-BD2D7qEW.mjs +5 -0
  183. package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +3 -0
  184. package/dist/chunks/requirementDiagram-MS252O5E-DjWKB42c.mjs +2224 -0
  185. package/dist/chunks/rough.esm-cmMIcj7N.mjs +1353 -0
  186. package/dist/chunks/ruby-DdOo03Kg.mjs +33 -0
  187. package/dist/chunks/rust-DEDueB5R.mjs +3 -0
  188. package/dist/chunks/sankeyDiagram-XADWPNL6-BIN2evSB.mjs +909 -0
  189. package/dist/chunks/scala-CsjqvxE4.mjs +3 -0
  190. package/dist/chunks/sequenceDiagram-FGHM5R23-CQz2lMoS.mjs +4181 -0
  191. package/dist/chunks/shellscript-Bh5zEpnQ.mjs +3 -0
  192. package/dist/chunks/sql-D9CrOi1i.mjs +3 -0
  193. package/dist/chunks/src-DVJl6f6s.mjs +2149 -0
  194. package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +218 -0
  195. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +28 -0
  196. package/dist/chunks/swift-Dpyt0s2c.mjs +3 -0
  197. package/dist/chunks/timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs +1084 -0
  198. package/dist/chunks/{tools-nT6zA9QL.mjs → tools-CrRhWn8L.mjs} +3043 -1303
  199. package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +3 -0
  200. package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +3 -0
  201. package/dist/chunks/typescript-DO5cd4m8.mjs +5 -0
  202. package/dist/chunks/vennDiagram-DHZGUBPP-B0DmLQqe.mjs +1876 -0
  203. package/dist/chunks/vitesse-dark-CcorSKT2.mjs +4 -0
  204. package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +3 -0
  205. package/dist/chunks/wardleyDiagram-NUSXRM2D-CzoKesUw.mjs +594 -0
  206. package/dist/chunks/xml-g8kXXALs.mjs +5 -0
  207. package/dist/chunks/xychartDiagram-5P7HB3ND-CixwR8r2.mjs +2017 -0
  208. package/dist/chunks/yaml-CrNNZyLb.mjs +3 -0
  209. package/dist/cli.mjs +1 -1
  210. package/dist/full.mjs +14 -14
  211. package/dist/locales.mjs +135 -68
  212. package/dist/markdown.mjs +3954 -0
  213. package/dist/{messages-D_CUdqU12.mjs → messages-5jvKxQNu2.mjs} +68 -1
  214. package/dist/{chunks/messages-CFfpHyTU.mjs → messages-7QD-X6XT2.mjs} +68 -1
  215. package/dist/{messages-CdX1odk_2.mjs → messages-96iaAUds2.mjs} +68 -1
  216. package/dist/{messages-C8ca-jEa.mjs → messages-B19o-Teb.mjs} +69 -2
  217. package/dist/{messages-I03yFhup.mjs → messages-B1ZUQagA.mjs} +68 -1
  218. package/dist/{chunks/messages-BSw88lIo2.mjs → messages-B7ieAJBd2.mjs} +68 -1
  219. package/dist/{messages-sNSXCkeB.mjs → messages-BECMxmfX.mjs} +68 -1
  220. package/dist/{messages-DgGZsxBB.mjs → messages-BIHc0KHY.mjs} +68 -1
  221. package/dist/{messages-yZj20Fvf.mjs → messages-BIoeoik5.mjs} +68 -1
  222. package/dist/{chunks/messages-D8JFu42v.mjs → messages-BJeGJksD.mjs} +68 -1
  223. package/dist/{messages-BSLErTnW2.mjs → messages-BRZX964b2.mjs} +68 -1
  224. package/dist/{chunks/messages-BW8arxf72.mjs → messages-BTQPpoM42.mjs} +68 -1
  225. package/dist/{messages-C52AiyVV.mjs → messages-BYNcD6uR.mjs} +68 -1
  226. package/dist/{messages-BxJv0qBn2.mjs → messages-BYmmMDrN2.mjs} +68 -1
  227. package/dist/{messages-CoCy2JIP.mjs → messages-BbYq1pk-.mjs} +68 -1
  228. package/dist/{messages-Cnz_SHE32.mjs → messages-BiUGXvYr2.mjs} +68 -1
  229. package/dist/{chunks/messages-Dl6SVT1Z.mjs → messages-BiiongNz2.mjs} +68 -1
  230. package/dist/{chunks/messages-C912bk5I.mjs → messages-Bm0Feca1.mjs} +69 -2
  231. package/dist/{chunks/messages-CTuCPqpJ.mjs → messages-BmAn22OX.mjs} +68 -1
  232. package/dist/{messages-DdiPWkV8.mjs → messages-Bq3F2Tp_.mjs} +68 -1
  233. package/dist/{chunks/messages-DJxXZi1D2.mjs → messages-BsycN_JI2.mjs} +68 -1
  234. package/dist/{chunks/messages-OdEuBvgf.mjs → messages-BwHs4cm1.mjs} +70 -3
  235. package/dist/{chunks/messages-C4ZAJzBh.mjs → messages-CJTy6JZt.mjs} +68 -1
  236. package/dist/{chunks/messages-D2OZ9dbO.mjs → messages-CR_L_UtK.mjs} +68 -1
  237. package/dist/{messages-ypuLZyw12.mjs → messages-CSUHBs4c2.mjs} +68 -1
  238. package/dist/{chunks/messages-BkES2MDr2.mjs → messages-CWIXvnDf2.mjs} +68 -1
  239. package/dist/{messages-Cpeko5kB.mjs → messages-CcF4y-E4.mjs} +68 -1
  240. package/dist/{messages-BmnC-s4X.mjs → messages-Ce6KVEbT.mjs} +68 -1
  241. package/dist/{messages-DTNfG4ZH.mjs → messages-Ci0KqX-J.mjs} +71 -4
  242. package/dist/{chunks/messages-CGh56r-H2.mjs → messages-CjbnogEC.mjs} +68 -1
  243. package/dist/{messages-B3jq5Hpa.mjs → messages-CmB406HW.mjs} +69 -2
  244. package/dist/{chunks/messages-BsZz1Hnn2.mjs → messages-CqXtJTpU.mjs} +68 -1
  245. package/dist/{messages-DL000FUf2.mjs → messages-D0aw5_0k2.mjs} +68 -1
  246. package/dist/{chunks/messages-Df2RYuup2.mjs → messages-D8FQWulF2.mjs} +68 -1
  247. package/dist/{messages-CxHn7cs2.mjs → messages-DBiVgUs2.mjs} +68 -1
  248. package/dist/{chunks/messages-Dsapm4K9.mjs → messages-DIJlIqlQ2.mjs} +68 -1
  249. package/dist/{chunks/messages-517llQmh.mjs → messages-DLX_iBDJ.mjs} +68 -1
  250. package/dist/{chunks/messages-BG8Nq35G.mjs → messages-DLlc9QPw.mjs} +68 -1
  251. package/dist/{messages-cokJPuUp2.mjs → messages-DMr62KiO2.mjs} +68 -1
  252. package/dist/{chunks/messages-Dkp-Eyu02.mjs → messages-DPA-mMWC2.mjs} +68 -1
  253. package/dist/{chunks/messages-7uCUVFea.mjs → messages-DTh9a8mR.mjs} +68 -1
  254. package/dist/{messages-VBFioL2M.mjs → messages-DY4IqlhY.mjs} +68 -1
  255. package/dist/{chunks/messages-C4X0xP3h.mjs → messages-DYTTu0O12.mjs} +68 -1
  256. package/dist/{messages-diSPQ2Da2.mjs → messages-DbySKTKt2.mjs} +69 -2
  257. package/dist/{chunks/messages-BGE43_6M.mjs → messages-Ddnj2iTG2.mjs} +68 -1
  258. package/dist/{chunks/messages-BtUqUzMG2.mjs → messages-DkLU_rWm.mjs} +68 -1
  259. package/dist/{messages-DSX2HaeN2.mjs → messages-Dl3Sv6Rq2.mjs} +68 -1
  260. package/dist/{chunks/messages-BDvpl6Ox.mjs → messages-Dl5Y2-Ia.mjs} +81 -14
  261. package/dist/{chunks/messages-C7plNvNE2.mjs → messages-DnG0ef8t2.mjs} +69 -2
  262. package/dist/{chunks/messages-qS8tM3Dk.mjs → messages-DnGJD4TL.mjs} +68 -1
  263. package/dist/{messages-Ct468oX22.mjs → messages-Dnp9N6RU2.mjs} +68 -1
  264. package/dist/{chunks/messages-CjIA--kO.mjs → messages-Dvn35ksS.mjs} +68 -1
  265. package/dist/{messages-BRxNqmJ8.mjs → messages-Dw__BcTj.mjs} +68 -1
  266. package/dist/{chunks/messages-0zhE8A9X.mjs → messages-Dy-Y_nEI.mjs} +68 -1
  267. package/dist/{chunks/messages-CCH4OETw2.mjs → messages-E_ZuzGDt.mjs} +68 -1
  268. package/dist/{chunks/messages-DZzoT0T_.mjs → messages-F2xRoY1w.mjs} +68 -1
  269. package/dist/{chunks/messages-zGdqNZbH.mjs → messages-Smt4GBbj.mjs} +73 -6
  270. package/dist/{messages-CvIxHHp92.mjs → messages-aMXpHt5X2.mjs} +68 -1
  271. package/dist/{messages-C8JVJUp12.mjs → messages-aWZH50vu2.mjs} +68 -1
  272. package/dist/{messages-Phrqr7a6.mjs → messages-dv19AkyJ.mjs} +68 -1
  273. package/dist/{chunks/messages-DngM4hda2.mjs → messages-hWwSRF-2.mjs} +68 -1
  274. package/dist/{messages-DpGo_Da5.mjs → messages-j7o5rT9s.mjs} +68 -1
  275. package/dist/{messages-C6WJx6Z0.mjs → messages-nUVjeh7K.mjs} +68 -1
  276. package/dist/{messages-CbVilNPE.mjs → messages-nlhESX9t.mjs} +68 -1
  277. package/dist/{messages-C6o0FVy02.mjs → messages-rk-A1Wa42.mjs} +69 -2
  278. package/dist/{messages-D4mCIODv.mjs → messages-xh2eOLvs.mjs} +68 -1
  279. package/dist/{chunks/messages-Ct9UUOrl2.mjs → messages-ynAe7ewZ.mjs} +68 -1
  280. package/dist/react.mjs +26 -25
  281. package/dist/tools.mjs +3 -3
  282. package/dist/vendor.LICENSE.txt +5404 -80
  283. package/package.json +16 -1
  284. package/src/components/blocks.ts +26 -1
  285. package/src/components/constants/data-attributes.ts +2 -2
  286. package/src/components/i18n/locales/am/messages.json +68 -1
  287. package/src/components/i18n/locales/ar/messages.json +68 -1
  288. package/src/components/i18n/locales/az/messages.json +68 -1
  289. package/src/components/i18n/locales/bg/messages.json +68 -1
  290. package/src/components/i18n/locales/bn/messages.json +68 -1
  291. package/src/components/i18n/locales/bs/messages.json +69 -2
  292. package/src/components/i18n/locales/cs/messages.json +70 -3
  293. package/src/components/i18n/locales/da/messages.json +71 -4
  294. package/src/components/i18n/locales/de/messages.json +73 -6
  295. package/src/components/i18n/locales/dv/messages.json +68 -1
  296. package/src/components/i18n/locales/el/messages.json +68 -1
  297. package/src/components/i18n/locales/en/messages.json +68 -1
  298. package/src/components/i18n/locales/es/messages.json +68 -1
  299. package/src/components/i18n/locales/et/messages.json +69 -2
  300. package/src/components/i18n/locales/fa/messages.json +68 -1
  301. package/src/components/i18n/locales/fi/messages.json +68 -1
  302. package/src/components/i18n/locales/fil/messages.json +81 -14
  303. package/src/components/i18n/locales/fr/messages.json +68 -1
  304. package/src/components/i18n/locales/gu/messages.json +68 -1
  305. package/src/components/i18n/locales/he/messages.json +68 -1
  306. package/src/components/i18n/locales/hi/messages.json +68 -1
  307. package/src/components/i18n/locales/hr/messages.json +69 -2
  308. package/src/components/i18n/locales/hu/messages.json +68 -1
  309. package/src/components/i18n/locales/hy/messages.json +68 -1
  310. package/src/components/i18n/locales/id/messages.json +68 -1
  311. package/src/components/i18n/locales/it/messages.json +68 -1
  312. package/src/components/i18n/locales/ja/messages.json +68 -1
  313. package/src/components/i18n/locales/ka/messages.json +68 -1
  314. package/src/components/i18n/locales/km/messages.json +68 -1
  315. package/src/components/i18n/locales/kn/messages.json +68 -1
  316. package/src/components/i18n/locales/ko/messages.json +68 -1
  317. package/src/components/i18n/locales/ku/messages.json +68 -1
  318. package/src/components/i18n/locales/lo/messages.json +68 -1
  319. package/src/components/i18n/locales/lt/messages.json +68 -1
  320. package/src/components/i18n/locales/lv/messages.json +68 -1
  321. package/src/components/i18n/locales/mk/messages.json +68 -1
  322. package/src/components/i18n/locales/ml/messages.json +68 -1
  323. package/src/components/i18n/locales/mn/messages.json +68 -1
  324. package/src/components/i18n/locales/mr/messages.json +68 -1
  325. package/src/components/i18n/locales/ms/messages.json +69 -2
  326. package/src/components/i18n/locales/my/messages.json +68 -1
  327. package/src/components/i18n/locales/ne/messages.json +68 -1
  328. package/src/components/i18n/locales/nl/messages.json +68 -1
  329. package/src/components/i18n/locales/no/messages.json +68 -1
  330. package/src/components/i18n/locales/pa/messages.json +68 -1
  331. package/src/components/i18n/locales/pl/messages.json +68 -1
  332. package/src/components/i18n/locales/ps/messages.json +68 -1
  333. package/src/components/i18n/locales/pt/messages.json +68 -1
  334. package/src/components/i18n/locales/ro/messages.json +68 -1
  335. package/src/components/i18n/locales/ru/messages.json +68 -1
  336. package/src/components/i18n/locales/sd/messages.json +68 -1
  337. package/src/components/i18n/locales/si/messages.json +68 -1
  338. package/src/components/i18n/locales/sk/messages.json +69 -2
  339. package/src/components/i18n/locales/sl/messages.json +69 -2
  340. package/src/components/i18n/locales/sq/messages.json +68 -1
  341. package/src/components/i18n/locales/sr/messages.json +68 -1
  342. package/src/components/i18n/locales/sv/messages.json +68 -1
  343. package/src/components/i18n/locales/sw/messages.json +68 -1
  344. package/src/components/i18n/locales/ta/messages.json +68 -1
  345. package/src/components/i18n/locales/te/messages.json +68 -1
  346. package/src/components/i18n/locales/th/messages.json +68 -1
  347. package/src/components/i18n/locales/tr/messages.json +68 -1
  348. package/src/components/i18n/locales/ug/messages.json +68 -1
  349. package/src/components/i18n/locales/uk/messages.json +68 -1
  350. package/src/components/i18n/locales/ur/messages.json +68 -1
  351. package/src/components/i18n/locales/vi/messages.json +68 -1
  352. package/src/components/i18n/locales/yi/messages.json +68 -1
  353. package/src/components/i18n/locales/zh/messages.json +68 -1
  354. package/src/components/icons/index.ts +78 -0
  355. package/src/components/inline-tools/inline-tool-code.ts +399 -0
  356. package/src/components/modules/api/blocks.ts +17 -0
  357. package/src/components/modules/api/ui.ts +0 -3
  358. package/src/components/modules/blockEvents/composers/blockSelectionKeys.ts +20 -3
  359. package/src/components/modules/paste/handlers/html-handler.ts +13 -10
  360. package/src/components/modules/paste/handlers/index.ts +1 -0
  361. package/src/components/modules/paste/index.ts +6 -0
  362. package/src/components/modules/renderer.ts +17 -0
  363. package/src/components/modules/ui.ts +1 -13
  364. package/src/components/ui/toolbox.ts +9 -0
  365. package/src/components/utils/caret/boundaries.ts +15 -4
  366. package/src/components/utils/popover/popover-desktop.ts +11 -0
  367. package/src/markdown/index.ts +63 -0
  368. package/src/markdown/markdown-handler.ts +110 -0
  369. package/src/markdown/mdast-to-blocks.ts +418 -0
  370. package/src/markdown/phrasing-to-html.ts +60 -0
  371. package/src/markdown/types.ts +42 -0
  372. package/src/stories/EditorModes.stories.ts +0 -60
  373. package/src/styles/main.css +57 -2
  374. package/src/tools/callout/constants.ts +2 -1
  375. package/src/tools/callout/emoji-picker/index.ts +41 -2
  376. package/src/tools/callout/index.ts +25 -0
  377. package/src/tools/code/code-keyboard.ts +142 -0
  378. package/src/tools/code/constants.ts +96 -0
  379. package/src/tools/code/dom-builder.ts +181 -0
  380. package/src/tools/code/highlight-applier.ts +229 -0
  381. package/src/tools/code/index.ts +462 -0
  382. package/src/tools/code/katex-loader.ts +50 -0
  383. package/src/tools/code/language-picker.ts +241 -0
  384. package/src/tools/code/mermaid-loader.ts +45 -0
  385. package/src/tools/code/shiki-loader.ts +135 -0
  386. package/src/tools/divider/index.ts +11 -2
  387. package/src/tools/header/index.ts +2 -0
  388. package/src/tools/index.ts +6 -0
  389. package/src/tools/list/block-operations.ts +3 -1
  390. package/src/tools/list/depth-validator.ts +4 -7
  391. package/src/tools/list/dom-builder.ts +5 -3
  392. package/src/tools/list/index.ts +21 -3
  393. package/src/tools/list/list-helpers.ts +9 -2
  394. package/src/tools/list/list-keyboard.ts +56 -14
  395. package/src/tools/list/list-lifecycle.ts +3 -1
  396. package/src/tools/list/marker-calculator.ts +37 -0
  397. package/src/tools/list/ordered-marker-manager.ts +4 -2
  398. package/src/tools/list/style-config.ts +3 -0
  399. package/src/tools/paragraph/index.ts +1 -0
  400. package/src/tools/quote/index.ts +229 -0
  401. package/src/tools/table/core/table-commands.ts +16 -0
  402. package/src/tools/table/core/table-controller.ts +29 -0
  403. package/src/tools/table/core/table-events.ts +17 -0
  404. package/src/tools/table/index.ts +220 -14
  405. package/src/tools/table/table-cell-blocks.ts +51 -6
  406. package/src/tools/table/table-cell-clipboard.ts +7 -2
  407. package/src/tools/table/table-cell-placement-picker.ts +133 -0
  408. package/src/tools/table/table-cell-selection.ts +174 -19
  409. package/src/tools/table/table-core.ts +321 -113
  410. package/src/tools/table/table-map.ts +279 -0
  411. package/src/tools/table/table-model.ts +901 -1
  412. package/src/tools/table/table-operations.ts +87 -44
  413. package/src/tools/table/table-resize.ts +19 -17
  414. package/src/tools/table/table-row-col-drag.ts +24 -10
  415. package/src/tools/table/types.ts +24 -2
  416. package/src/tools/toggle/index.ts +1 -0
  417. package/types/configs/blok-config.d.ts +7 -0
  418. package/types/data-attributes.d.ts +0 -1
  419. package/types/markdown.d.ts +2 -0
  420. package/types/tools/callout.d.ts +16 -0
  421. package/types/tools/code.d.ts +13 -0
  422. package/types/tools/quote.d.ts +13 -0
  423. package/types/tools/tool-settings.d.ts +7 -0
  424. package/types/tools-entry.d.ts +7 -0
  425. /package/dist/chunks/{am-CHDDMHkd.mjs → am-BxlkYGsI.mjs} +0 -0
  426. /package/dist/chunks/{ar-DoqfNqut.mjs → ar-9vlpr9V8.mjs} +0 -0
  427. /package/dist/chunks/{az-C34P9iEa.mjs → az-ON63W_FP.mjs} +0 -0
  428. /package/dist/chunks/{bg-jroXLY8Y.mjs → bg-CtXWTP5w.mjs} +0 -0
  429. /package/dist/chunks/{bn-BRI-WqxY.mjs → bn-BERvhXM4.mjs} +0 -0
  430. /package/dist/chunks/{bs-CCGUpNHu.mjs → bs-CBg8NVPG.mjs} +0 -0
  431. /package/dist/chunks/{cs-D5qZOGuc.mjs → cs-DeQddxS7.mjs} +0 -0
  432. /package/dist/chunks/{da-DrJ7W37K.mjs → da-DyTo-ec_.mjs} +0 -0
  433. /package/dist/chunks/{de-BW6-kp2c.mjs → de-Cu7545m1.mjs} +0 -0
  434. /package/dist/chunks/{el-C-Vc_Otu.mjs → el-oiubLRBq.mjs} +0 -0
  435. /package/dist/chunks/{es-B6fI5K9i.mjs → es-DZUC6Klv.mjs} +0 -0
  436. /package/dist/chunks/{et-BhVlZ-Yz.mjs → et-CDeklAog.mjs} +0 -0
  437. /package/dist/chunks/{fa-D55Ijdqa.mjs → fa-Cafp7_Li.mjs} +0 -0
  438. /package/dist/chunks/{fi-jNLjhKUQ.mjs → fi-BD_V_aVW.mjs} +0 -0
  439. /package/dist/chunks/{fil-DYd0T5aX.mjs → fil-Crsfbtx4.mjs} +0 -0
  440. /package/dist/chunks/{fr-yxy5xWw_.mjs → fr-BGGc04Zv.mjs} +0 -0
  441. /package/dist/chunks/{gu-CcY_LJe7.mjs → gu-Vg_BgCTp.mjs} +0 -0
  442. /package/dist/chunks/{he-DL9s7wNw.mjs → he-DTY9chlZ.mjs} +0 -0
  443. /package/dist/chunks/{hi-C8eGXgw5.mjs → hi-DChMXk0x.mjs} +0 -0
  444. /package/dist/chunks/{hr-DLpybOhU.mjs → hr-BWVgNU8k.mjs} +0 -0
  445. /package/dist/chunks/{hu-BkT0gT00.mjs → hu-B37awHXA.mjs} +0 -0
  446. /package/dist/chunks/{hy-CVFDCp2S.mjs → hy-DGC_GDHh.mjs} +0 -0
  447. /package/dist/chunks/{id-0P4W9Az0.mjs → id-V7cw6La2.mjs} +0 -0
  448. /package/dist/chunks/{it-mLY6_uoW.mjs → it-DrTGP8Rn.mjs} +0 -0
  449. /package/dist/chunks/{ja-7RkeRNWG.mjs → ja-DS4pbJEG.mjs} +0 -0
  450. /package/dist/chunks/{ka-C7Lx-Qsh.mjs → ka-BueyosRh.mjs} +0 -0
  451. /package/dist/chunks/{km-Q8udaraH.mjs → km-B0K891yW.mjs} +0 -0
  452. /package/dist/chunks/{kn-BiETM-iq.mjs → kn-BQ__skg8.mjs} +0 -0
  453. /package/dist/chunks/{ko-tiB80pF1.mjs → ko-BuPxi_7e.mjs} +0 -0
  454. /package/dist/chunks/{ku-CY-OABkR.mjs → ku-nQjwPRw2.mjs} +0 -0
  455. /package/dist/chunks/{lo-CTBhEnyk.mjs → lo-K5NVFoq1.mjs} +0 -0
  456. /package/dist/chunks/{lt-BHKHEtqK.mjs → lt-D3xD6Eb2.mjs} +0 -0
  457. /package/dist/chunks/{lv-DWxgtfUg.mjs → lv-DH13mzZj.mjs} +0 -0
  458. /package/dist/chunks/{mk-BjookGdx.mjs → mk-Bb48BcDA.mjs} +0 -0
  459. /package/dist/chunks/{ml-L-NnZcp9.mjs → ml-BHPEj1kD.mjs} +0 -0
  460. /package/dist/chunks/{mn-OMWi7Hl_.mjs → mn-BNGzpdI6.mjs} +0 -0
  461. /package/dist/chunks/{mr-B6JPzITo.mjs → mr-D5PgU-cH.mjs} +0 -0
  462. /package/dist/chunks/{ms-CG3S-sPB.mjs → ms-DPkxqKz5.mjs} +0 -0
  463. /package/dist/chunks/{my-BLAmGfhT.mjs → my-DZGcyfxy.mjs} +0 -0
  464. /package/dist/chunks/{native-BPcABu9z.mjs → native-D0cfLXsM.mjs} +0 -0
  465. /package/dist/chunks/{ne-D1JHLfYw.mjs → ne-BU_Wh4Wv.mjs} +0 -0
  466. /package/dist/chunks/{nl-Ca7Q8FnY.mjs → nl-DtAPk1mK.mjs} +0 -0
  467. /package/dist/chunks/{no-Coxcohcz.mjs → no-CdW3n3BY.mjs} +0 -0
  468. /package/dist/chunks/{objectSpread2-CyPxu8-u.mjs → objectSpread2-CWwMYL_U.mjs} +0 -0
  469. /package/dist/chunks/{pa-CCaXqpaI.mjs → pa-BacCHz87.mjs} +0 -0
  470. /package/dist/chunks/{pl-Cl_fAZ84.mjs → pl-8zBJbmhZ.mjs} +0 -0
  471. /package/dist/chunks/{ps-WD5qGAWy.mjs → ps-c6nGXD-W.mjs} +0 -0
  472. /package/dist/chunks/{pt-C4zvLfvq.mjs → pt-B5yR8Qhr.mjs} +0 -0
  473. /package/dist/chunks/{ro-DbefHcmM.mjs → ro-Nscylsqb.mjs} +0 -0
  474. /package/dist/chunks/{ru-uU1J14jd.mjs → ru-DxERQkVJ.mjs} +0 -0
  475. /package/dist/chunks/{sd-DKu368Ip.mjs → sd-5z-QY3q9.mjs} +0 -0
  476. /package/dist/chunks/{si-BsJCiPkZ.mjs → si-DTL0mzrx.mjs} +0 -0
  477. /package/dist/chunks/{sk-CD-a3SN6.mjs → sk-DrGczTvY.mjs} +0 -0
  478. /package/dist/chunks/{sl-CXhrPJe_.mjs → sl-D8nJjig4.mjs} +0 -0
  479. /package/dist/chunks/{sq-CTctCoFQ.mjs → sq-C74Hm3YL.mjs} +0 -0
  480. /package/dist/chunks/{sr-BZkhBwXj.mjs → sr-DAwB05Gj.mjs} +0 -0
  481. /package/dist/chunks/{sv-NmRZb_xi.mjs → sv-BkHBsN4y.mjs} +0 -0
  482. /package/dist/chunks/{sw-Be5ik3H6.mjs → sw-BBQLTq_z.mjs} +0 -0
  483. /package/dist/chunks/{ta-DsXh6neL.mjs → ta-DRRzdKky.mjs} +0 -0
  484. /package/dist/chunks/{te-CwpCbM8M.mjs → te-CedXLsKM.mjs} +0 -0
  485. /package/dist/chunks/{th-CcZ15OLk.mjs → th-DDOlGA0W.mjs} +0 -0
  486. /package/dist/chunks/{tr-q3bTgvhW.mjs → tr-ClgvwOlL.mjs} +0 -0
  487. /package/dist/chunks/{tw-DmW6-pCY.mjs → tw-CqxBf-1Y.mjs} +0 -0
  488. /package/dist/chunks/{ug-919EhLsL.mjs → ug-bXxwiinM.mjs} +0 -0
  489. /package/dist/chunks/{uk-aNMEzd0Y.mjs → uk-Dp46o_VT.mjs} +0 -0
  490. /package/dist/chunks/{ur-BwQI77sh.mjs → ur-MfEEhdFq.mjs} +0 -0
  491. /package/dist/chunks/{vi-Dxq806-F.mjs → vi-bt-3LPGO.mjs} +0 -0
  492. /package/dist/chunks/{zh-BcHuy1Ti.mjs → zh-Dgyb5Ly8.mjs} +0 -0
@@ -0,0 +1,1146 @@
1
+ import { h as e } from "./src-DVJl6f6s.mjs";
2
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-XPW4576I.mjs
3
+ function t(e) {
4
+ return e == null;
5
+ }
6
+ e(t, "isNothing");
7
+ function n(e) {
8
+ return typeof e == "object" && !!e;
9
+ }
10
+ e(n, "isObject");
11
+ function r(e) {
12
+ return Array.isArray(e) ? e : t(e) ? [] : [e];
13
+ }
14
+ e(r, "toArray");
15
+ function i(e, t) {
16
+ var n, r, i, a;
17
+ if (t) for (a = Object.keys(t), n = 0, r = a.length; n < r; n += 1) i = a[n], e[i] = t[i];
18
+ return e;
19
+ }
20
+ e(i, "extend");
21
+ function a(e, t) {
22
+ var n = "", r;
23
+ for (r = 0; r < t; r += 1) n += e;
24
+ return n;
25
+ }
26
+ e(a, "repeat");
27
+ function o(e) {
28
+ return e === 0 && 1 / e == -Infinity;
29
+ }
30
+ e(o, "isNegativeZero");
31
+ var s = {
32
+ isNothing: t,
33
+ isObject: n,
34
+ toArray: r,
35
+ repeat: a,
36
+ isNegativeZero: o,
37
+ extend: i
38
+ };
39
+ function c(e, t) {
40
+ var n = "", r = e.reason || "(unknown reason)";
41
+ return e.mark ? (e.mark.name && (n += "in \"" + e.mark.name + "\" "), n += "(" + (e.mark.line + 1) + ":" + (e.mark.column + 1) + ")", !t && e.mark.snippet && (n += "\n\n" + e.mark.snippet), r + " " + n) : r;
42
+ }
43
+ e(c, "formatError");
44
+ function l(e, t) {
45
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = c(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = (/* @__PURE__ */ Error()).stack || "";
46
+ }
47
+ e(l, "YAMLException$1"), l.prototype = Object.create(Error.prototype), l.prototype.constructor = l, l.prototype.toString = /* @__PURE__ */ e(function(e) {
48
+ return this.name + ": " + c(this, e);
49
+ }, "toString");
50
+ var u = l;
51
+ function d(e, t, n, r, i) {
52
+ var a = "", o = "", s = Math.floor(i / 2) - 1;
53
+ return r - t > s && (a = " ... ", t = r - s + a.length), n - r > s && (o = " ...", n = r + s - o.length), {
54
+ str: a + e.slice(t, n).replace(/\t/g, "→") + o,
55
+ pos: r - t + a.length
56
+ };
57
+ }
58
+ e(d, "getLine");
59
+ function f(e, t) {
60
+ return s.repeat(" ", t - e.length) + e;
61
+ }
62
+ e(f, "padStart");
63
+ function p(e, t) {
64
+ if (t = Object.create(t || null), !e.buffer) return null;
65
+ t.maxLength || (t.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
66
+ for (var n = /\r?\n|\r|\0/g, r = [0], i = [], a, o = -1; a = n.exec(e.buffer);) i.push(a.index), r.push(a.index + a[0].length), e.position <= a.index && o < 0 && (o = r.length - 2);
67
+ o < 0 && (o = r.length - 1);
68
+ var c = "", l, u, p = Math.min(e.line + t.linesAfter, i.length).toString().length, m = t.maxLength - (t.indent + p + 3);
69
+ for (l = 1; l <= t.linesBefore && !(o - l < 0); l++) u = d(e.buffer, r[o - l], i[o - l], e.position - (r[o] - r[o - l]), m), c = s.repeat(" ", t.indent) + f((e.line - l + 1).toString(), p) + " | " + u.str + "\n" + c;
70
+ for (u = d(e.buffer, r[o], i[o], e.position, m), c += s.repeat(" ", t.indent) + f((e.line + 1).toString(), p) + " | " + u.str + "\n", c += s.repeat("-", t.indent + p + 3 + u.pos) + "^\n", l = 1; l <= t.linesAfter && !(o + l >= i.length); l++) u = d(e.buffer, r[o + l], i[o + l], e.position - (r[o] - r[o + l]), m), c += s.repeat(" ", t.indent) + f((e.line + l + 1).toString(), p) + " | " + u.str + "\n";
71
+ return c.replace(/\n$/, "");
72
+ }
73
+ e(p, "makeSnippet");
74
+ var m = p, h = [
75
+ "kind",
76
+ "multi",
77
+ "resolve",
78
+ "construct",
79
+ "instanceOf",
80
+ "predicate",
81
+ "represent",
82
+ "representName",
83
+ "defaultStyle",
84
+ "styleAliases"
85
+ ], g = [
86
+ "scalar",
87
+ "sequence",
88
+ "mapping"
89
+ ];
90
+ function _(e) {
91
+ var t = {};
92
+ return e !== null && Object.keys(e).forEach(function(n) {
93
+ e[n].forEach(function(e) {
94
+ t[String(e)] = n;
95
+ });
96
+ }), t;
97
+ }
98
+ e(_, "compileStyleAliases");
99
+ function v(e, t) {
100
+ if (t = t || {}, Object.keys(t).forEach(function(t) {
101
+ if (h.indexOf(t) === -1) throw new u("Unknown option \"" + t + "\" is met in definition of \"" + e + "\" YAML type.");
102
+ }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
103
+ return !0;
104
+ }, this.construct = t.construct || function(e) {
105
+ return e;
106
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = _(t.styleAliases || null), g.indexOf(this.kind) === -1) throw new u("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
107
+ }
108
+ e(v, "Type$1");
109
+ var y = v;
110
+ function b(e, t) {
111
+ var n = [];
112
+ return e[t].forEach(function(e) {
113
+ var t = n.length;
114
+ n.forEach(function(n, r) {
115
+ n.tag === e.tag && n.kind === e.kind && n.multi === e.multi && (t = r);
116
+ }), n[t] = e;
117
+ }), n;
118
+ }
119
+ e(b, "compileList");
120
+ function ee() {
121
+ var t = {
122
+ scalar: {},
123
+ sequence: {},
124
+ mapping: {},
125
+ fallback: {},
126
+ multi: {
127
+ scalar: [],
128
+ sequence: [],
129
+ mapping: [],
130
+ fallback: []
131
+ }
132
+ }, n, r;
133
+ function i(e) {
134
+ e.multi ? (t.multi[e.kind].push(e), t.multi.fallback.push(e)) : t[e.kind][e.tag] = t.fallback[e.tag] = e;
135
+ }
136
+ for (e(i, "collectType"), n = 0, r = arguments.length; n < r; n += 1) arguments[n].forEach(i);
137
+ return t;
138
+ }
139
+ e(ee, "compileMap");
140
+ function x(e) {
141
+ return this.extend(e);
142
+ }
143
+ e(x, "Schema$1"), x.prototype.extend = /* @__PURE__ */ e(function(e) {
144
+ var t = [], n = [];
145
+ if (e instanceof y) n.push(e);
146
+ else if (Array.isArray(e)) n = n.concat(e);
147
+ else if (e && (Array.isArray(e.implicit) || Array.isArray(e.explicit))) e.implicit && (t = t.concat(e.implicit)), e.explicit && (n = n.concat(e.explicit));
148
+ else throw new u("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
149
+ t.forEach(function(e) {
150
+ if (!(e instanceof y)) throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");
151
+ if (e.loadKind && e.loadKind !== "scalar") throw new u("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
152
+ if (e.multi) throw new u("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
153
+ }), n.forEach(function(e) {
154
+ if (!(e instanceof y)) throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");
155
+ });
156
+ var r = Object.create(x.prototype);
157
+ return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = b(r, "implicit"), r.compiledExplicit = b(r, "explicit"), r.compiledTypeMap = ee(r.compiledImplicit, r.compiledExplicit), r;
158
+ }, "extend");
159
+ var te = new x({ explicit: [
160
+ new y("tag:yaml.org,2002:str", {
161
+ kind: "scalar",
162
+ construct: /* @__PURE__ */ e(function(e) {
163
+ return e === null ? "" : e;
164
+ }, "construct")
165
+ }),
166
+ new y("tag:yaml.org,2002:seq", {
167
+ kind: "sequence",
168
+ construct: /* @__PURE__ */ e(function(e) {
169
+ return e === null ? [] : e;
170
+ }, "construct")
171
+ }),
172
+ new y("tag:yaml.org,2002:map", {
173
+ kind: "mapping",
174
+ construct: /* @__PURE__ */ e(function(e) {
175
+ return e === null ? {} : e;
176
+ }, "construct")
177
+ })
178
+ ] });
179
+ function ne(e) {
180
+ if (e === null) return !0;
181
+ var t = e.length;
182
+ return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
183
+ }
184
+ e(ne, "resolveYamlNull");
185
+ function re() {
186
+ return null;
187
+ }
188
+ e(re, "constructYamlNull");
189
+ function ie(e) {
190
+ return e === null;
191
+ }
192
+ e(ie, "isNull");
193
+ var ae = new y("tag:yaml.org,2002:null", {
194
+ kind: "scalar",
195
+ resolve: ne,
196
+ construct: re,
197
+ predicate: ie,
198
+ represent: {
199
+ canonical: /* @__PURE__ */ e(function() {
200
+ return "~";
201
+ }, "canonical"),
202
+ lowercase: /* @__PURE__ */ e(function() {
203
+ return "null";
204
+ }, "lowercase"),
205
+ uppercase: /* @__PURE__ */ e(function() {
206
+ return "NULL";
207
+ }, "uppercase"),
208
+ camelcase: /* @__PURE__ */ e(function() {
209
+ return "Null";
210
+ }, "camelcase"),
211
+ empty: /* @__PURE__ */ e(function() {
212
+ return "";
213
+ }, "empty")
214
+ },
215
+ defaultStyle: "lowercase"
216
+ });
217
+ function oe(e) {
218
+ if (e === null) return !1;
219
+ var t = e.length;
220
+ return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
221
+ }
222
+ e(oe, "resolveYamlBoolean");
223
+ function se(e) {
224
+ return e === "true" || e === "True" || e === "TRUE";
225
+ }
226
+ e(se, "constructYamlBoolean");
227
+ function ce(e) {
228
+ return Object.prototype.toString.call(e) === "[object Boolean]";
229
+ }
230
+ e(ce, "isBoolean");
231
+ var le = new y("tag:yaml.org,2002:bool", {
232
+ kind: "scalar",
233
+ resolve: oe,
234
+ construct: se,
235
+ predicate: ce,
236
+ represent: {
237
+ lowercase: /* @__PURE__ */ e(function(e) {
238
+ return e ? "true" : "false";
239
+ }, "lowercase"),
240
+ uppercase: /* @__PURE__ */ e(function(e) {
241
+ return e ? "TRUE" : "FALSE";
242
+ }, "uppercase"),
243
+ camelcase: /* @__PURE__ */ e(function(e) {
244
+ return e ? "True" : "False";
245
+ }, "camelcase")
246
+ },
247
+ defaultStyle: "lowercase"
248
+ });
249
+ function ue(e) {
250
+ return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
251
+ }
252
+ e(ue, "isHexCode");
253
+ function de(e) {
254
+ return 48 <= e && e <= 55;
255
+ }
256
+ e(de, "isOctCode");
257
+ function fe(e) {
258
+ return 48 <= e && e <= 57;
259
+ }
260
+ e(fe, "isDecCode");
261
+ function pe(e) {
262
+ if (e === null) return !1;
263
+ var t = e.length, n = 0, r = !1, i;
264
+ if (!t) return !1;
265
+ if (i = e[n], (i === "-" || i === "+") && (i = e[++n]), i === "0") {
266
+ if (n + 1 === t) return !0;
267
+ if (i = e[++n], i === "b") {
268
+ for (n++; n < t; n++) if (i = e[n], i !== "_") {
269
+ if (i !== "0" && i !== "1") return !1;
270
+ r = !0;
271
+ }
272
+ return r && i !== "_";
273
+ }
274
+ if (i === "x") {
275
+ for (n++; n < t; n++) if (i = e[n], i !== "_") {
276
+ if (!ue(e.charCodeAt(n))) return !1;
277
+ r = !0;
278
+ }
279
+ return r && i !== "_";
280
+ }
281
+ if (i === "o") {
282
+ for (n++; n < t; n++) if (i = e[n], i !== "_") {
283
+ if (!de(e.charCodeAt(n))) return !1;
284
+ r = !0;
285
+ }
286
+ return r && i !== "_";
287
+ }
288
+ }
289
+ if (i === "_") return !1;
290
+ for (; n < t; n++) if (i = e[n], i !== "_") {
291
+ if (!fe(e.charCodeAt(n))) return !1;
292
+ r = !0;
293
+ }
294
+ return !(!r || i === "_");
295
+ }
296
+ e(pe, "resolveYamlInteger");
297
+ function me(e) {
298
+ var t = e, n = 1, r;
299
+ if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0") return 0;
300
+ if (r === "0") {
301
+ if (t[1] === "b") return n * parseInt(t.slice(2), 2);
302
+ if (t[1] === "x") return n * parseInt(t.slice(2), 16);
303
+ if (t[1] === "o") return n * parseInt(t.slice(2), 8);
304
+ }
305
+ return n * parseInt(t, 10);
306
+ }
307
+ e(me, "constructYamlInteger");
308
+ function he(e) {
309
+ return Object.prototype.toString.call(e) === "[object Number]" && e % 1 == 0 && !s.isNegativeZero(e);
310
+ }
311
+ e(he, "isInteger");
312
+ var ge = new y("tag:yaml.org,2002:int", {
313
+ kind: "scalar",
314
+ resolve: pe,
315
+ construct: me,
316
+ predicate: he,
317
+ represent: {
318
+ binary: /* @__PURE__ */ e(function(e) {
319
+ return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
320
+ }, "binary"),
321
+ octal: /* @__PURE__ */ e(function(e) {
322
+ return e >= 0 ? "0o" + e.toString(8) : "-0o" + e.toString(8).slice(1);
323
+ }, "octal"),
324
+ decimal: /* @__PURE__ */ e(function(e) {
325
+ return e.toString(10);
326
+ }, "decimal"),
327
+ hexadecimal: /* @__PURE__ */ e(function(e) {
328
+ return e >= 0 ? "0x" + e.toString(16).toUpperCase() : "-0x" + e.toString(16).toUpperCase().slice(1);
329
+ }, "hexadecimal")
330
+ },
331
+ defaultStyle: "decimal",
332
+ styleAliases: {
333
+ binary: [2, "bin"],
334
+ octal: [8, "oct"],
335
+ decimal: [10, "dec"],
336
+ hexadecimal: [16, "hex"]
337
+ }
338
+ }), _e = /* @__PURE__ */ RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
339
+ function ve(e) {
340
+ return !(e === null || !_e.test(e) || e[e.length - 1] === "_");
341
+ }
342
+ e(ve, "resolveYamlFloat");
343
+ function ye(e) {
344
+ var t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1;
345
+ return "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Infinity : -Infinity : t === ".nan" ? NaN : n * parseFloat(t, 10);
346
+ }
347
+ e(ye, "constructYamlFloat");
348
+ var be = /^[-+]?[0-9]+e/;
349
+ function xe(e, t) {
350
+ var n;
351
+ if (isNaN(e)) switch (t) {
352
+ case "lowercase": return ".nan";
353
+ case "uppercase": return ".NAN";
354
+ case "camelcase": return ".NaN";
355
+ }
356
+ else if (e === Infinity) switch (t) {
357
+ case "lowercase": return ".inf";
358
+ case "uppercase": return ".INF";
359
+ case "camelcase": return ".Inf";
360
+ }
361
+ else if (e === -Infinity) switch (t) {
362
+ case "lowercase": return "-.inf";
363
+ case "uppercase": return "-.INF";
364
+ case "camelcase": return "-.Inf";
365
+ }
366
+ else if (s.isNegativeZero(e)) return "-0.0";
367
+ return n = e.toString(10), be.test(n) ? n.replace("e", ".e") : n;
368
+ }
369
+ e(xe, "representYamlFloat");
370
+ function Se(e) {
371
+ return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 != 0 || s.isNegativeZero(e));
372
+ }
373
+ e(Se, "isFloat");
374
+ var Ce = new y("tag:yaml.org,2002:float", {
375
+ kind: "scalar",
376
+ resolve: ve,
377
+ construct: ye,
378
+ predicate: Se,
379
+ represent: xe,
380
+ defaultStyle: "lowercase"
381
+ }), we = te.extend({ implicit: [
382
+ ae,
383
+ le,
384
+ ge,
385
+ Ce
386
+ ] }), Te = we, Ee = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), De = /* @__PURE__ */ RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
387
+ function Oe(e) {
388
+ return e === null ? !1 : Ee.exec(e) !== null || De.exec(e) !== null;
389
+ }
390
+ e(Oe, "resolveYamlTimestamp");
391
+ function ke(e) {
392
+ var t, n, r, i, a, o, s, c = 0, l = null, u, d, f;
393
+ if (t = Ee.exec(e), t === null && (t = De.exec(e)), t === null) throw Error("Date resolve error");
394
+ if (n = +t[1], r = t[2] - 1, i = +t[3], !t[4]) return new Date(Date.UTC(n, r, i));
395
+ if (a = +t[4], o = +t[5], s = +t[6], t[7]) {
396
+ for (c = t[7].slice(0, 3); c.length < 3;) c += "0";
397
+ c = +c;
398
+ }
399
+ return t[9] && (u = +t[10], d = +(t[11] || 0), l = (u * 60 + d) * 6e4, t[9] === "-" && (l = -l)), f = new Date(Date.UTC(n, r, i, a, o, s, c)), l && f.setTime(f.getTime() - l), f;
400
+ }
401
+ e(ke, "constructYamlTimestamp");
402
+ function Ae(e) {
403
+ return e.toISOString();
404
+ }
405
+ e(Ae, "representYamlTimestamp");
406
+ var je = new y("tag:yaml.org,2002:timestamp", {
407
+ kind: "scalar",
408
+ resolve: Oe,
409
+ construct: ke,
410
+ instanceOf: Date,
411
+ represent: Ae
412
+ });
413
+ function Me(e) {
414
+ return e === "<<" || e === null;
415
+ }
416
+ e(Me, "resolveYamlMerge");
417
+ var Ne = new y("tag:yaml.org,2002:merge", {
418
+ kind: "scalar",
419
+ resolve: Me
420
+ }), S = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
421
+ function Pe(e) {
422
+ if (e === null) return !1;
423
+ var t, n, r = 0, i = e.length, a = S;
424
+ for (n = 0; n < i; n++) if (t = a.indexOf(e.charAt(n)), !(t > 64)) {
425
+ if (t < 0) return !1;
426
+ r += 6;
427
+ }
428
+ return r % 8 == 0;
429
+ }
430
+ e(Pe, "resolveYamlBinary");
431
+ function Fe(e) {
432
+ var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = S, o = 0, s = [];
433
+ for (t = 0; t < i; t++) t % 4 == 0 && t && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | a.indexOf(r.charAt(t));
434
+ return n = i % 4 * 6, n === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : n === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : n === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
435
+ }
436
+ e(Fe, "constructYamlBinary");
437
+ function Ie(e) {
438
+ var t = "", n = 0, r, i, a = e.length, o = S;
439
+ for (r = 0; r < a; r++) r % 3 == 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
440
+ return i = a % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
441
+ }
442
+ e(Ie, "representYamlBinary");
443
+ function Le(e) {
444
+ return Object.prototype.toString.call(e) === "[object Uint8Array]";
445
+ }
446
+ e(Le, "isBinary");
447
+ var Re = new y("tag:yaml.org,2002:binary", {
448
+ kind: "scalar",
449
+ resolve: Pe,
450
+ construct: Fe,
451
+ predicate: Le,
452
+ represent: Ie
453
+ }), ze = Object.prototype.hasOwnProperty, Be = Object.prototype.toString;
454
+ function Ve(e) {
455
+ if (e === null) return !0;
456
+ var t = [], n, r, i, a, o, s = e;
457
+ for (n = 0, r = s.length; n < r; n += 1) {
458
+ if (i = s[n], o = !1, Be.call(i) !== "[object Object]") return !1;
459
+ for (a in i) if (ze.call(i, a)) if (!o) o = !0;
460
+ else return !1;
461
+ if (!o) return !1;
462
+ if (t.indexOf(a) === -1) t.push(a);
463
+ else return !1;
464
+ }
465
+ return !0;
466
+ }
467
+ e(Ve, "resolveYamlOmap");
468
+ function He(e) {
469
+ return e === null ? [] : e;
470
+ }
471
+ e(He, "constructYamlOmap");
472
+ var Ue = new y("tag:yaml.org,2002:omap", {
473
+ kind: "sequence",
474
+ resolve: Ve,
475
+ construct: He
476
+ }), We = Object.prototype.toString;
477
+ function Ge(e) {
478
+ if (e === null) return !0;
479
+ var t, n, r, i, a, o = e;
480
+ for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) {
481
+ if (r = o[t], We.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
482
+ a[t] = [i[0], r[i[0]]];
483
+ }
484
+ return !0;
485
+ }
486
+ e(Ge, "resolveYamlPairs");
487
+ function Ke(e) {
488
+ if (e === null) return [];
489
+ var t, n, r, i, a, o = e;
490
+ for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) r = o[t], i = Object.keys(r), a[t] = [i[0], r[i[0]]];
491
+ return a;
492
+ }
493
+ e(Ke, "constructYamlPairs");
494
+ var qe = new y("tag:yaml.org,2002:pairs", {
495
+ kind: "sequence",
496
+ resolve: Ge,
497
+ construct: Ke
498
+ }), Je = Object.prototype.hasOwnProperty;
499
+ function Ye(e) {
500
+ if (e === null) return !0;
501
+ var t, n = e;
502
+ for (t in n) if (Je.call(n, t) && n[t] !== null) return !1;
503
+ return !0;
504
+ }
505
+ e(Ye, "resolveYamlSet");
506
+ function Xe(e) {
507
+ return e === null ? {} : e;
508
+ }
509
+ e(Xe, "constructYamlSet");
510
+ var Ze = new y("tag:yaml.org,2002:set", {
511
+ kind: "mapping",
512
+ resolve: Ye,
513
+ construct: Xe
514
+ }), Qe = Te.extend({
515
+ implicit: [je, Ne],
516
+ explicit: [
517
+ Re,
518
+ Ue,
519
+ qe,
520
+ Ze
521
+ ]
522
+ }), C = Object.prototype.hasOwnProperty, w = 1, $e = 2, et = 3, T = 4, E = 1, tt = 2, nt = 3, rt = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, it = /[\x85\u2028\u2029]/, at = /[,\[\]\{\}]/, ot = /^(?:!|!!|![a-z\-]+!)$/i, st = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
523
+ function D(e) {
524
+ return Object.prototype.toString.call(e);
525
+ }
526
+ e(D, "_class");
527
+ function O(e) {
528
+ return e === 10 || e === 13;
529
+ }
530
+ e(O, "is_EOL");
531
+ function k(e) {
532
+ return e === 9 || e === 32;
533
+ }
534
+ e(k, "is_WHITE_SPACE");
535
+ function A(e) {
536
+ return e === 9 || e === 32 || e === 10 || e === 13;
537
+ }
538
+ e(A, "is_WS_OR_EOL");
539
+ function j(e) {
540
+ return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
541
+ }
542
+ e(j, "is_FLOW_INDICATOR");
543
+ function ct(e) {
544
+ var t;
545
+ return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
546
+ }
547
+ e(ct, "fromHexCode");
548
+ function lt(e) {
549
+ return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
550
+ }
551
+ e(lt, "escapedHexLen");
552
+ function ut(e) {
553
+ return 48 <= e && e <= 57 ? e - 48 : -1;
554
+ }
555
+ e(ut, "fromDecimalCode");
556
+ function dt(e) {
557
+ return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? "\n" : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? "\"" : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? "\xA0" : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
558
+ }
559
+ e(dt, "simpleEscapeSequence");
560
+ function ft(e) {
561
+ return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
562
+ }
563
+ e(ft, "charFromCodepoint");
564
+ function pt(e, t, n) {
565
+ t === "__proto__" ? Object.defineProperty(e, t, {
566
+ configurable: !0,
567
+ enumerable: !0,
568
+ writable: !0,
569
+ value: n
570
+ }) : e[t] = n;
571
+ }
572
+ e(pt, "setProperty");
573
+ var mt = Array(256), ht = Array(256);
574
+ for (M = 0; M < 256; M++) mt[M] = dt(M) ? 1 : 0, ht[M] = dt(M);
575
+ var M;
576
+ function gt(e, t) {
577
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || Qe, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
578
+ }
579
+ e(gt, "State$1");
580
+ function _t(e, t) {
581
+ var n = {
582
+ name: e.filename,
583
+ buffer: e.input.slice(0, -1),
584
+ position: e.position,
585
+ line: e.line,
586
+ column: e.position - e.lineStart
587
+ };
588
+ return n.snippet = m(n), new u(t, n);
589
+ }
590
+ e(_t, "generateError");
591
+ function N(e, t) {
592
+ throw _t(e, t);
593
+ }
594
+ e(N, "throwError");
595
+ function P(e, t) {
596
+ e.onWarning && e.onWarning.call(null, _t(e, t));
597
+ }
598
+ e(P, "throwWarning");
599
+ var vt = {
600
+ YAML: /* @__PURE__ */ e(function(e, t, n) {
601
+ var r, i, a;
602
+ e.version !== null && N(e, "duplication of %YAML directive"), n.length !== 1 && N(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && N(e, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && N(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && P(e, "unsupported YAML version of the document");
603
+ }, "handleYamlDirective"),
604
+ TAG: /* @__PURE__ */ e(function(e, t, n) {
605
+ var r, i;
606
+ n.length !== 2 && N(e, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], ot.test(r) || N(e, "ill-formed tag handle (first argument) of the TAG directive"), C.call(e.tagMap, r) && N(e, "there is a previously declared suffix for \"" + r + "\" tag handle"), st.test(i) || N(e, "ill-formed tag prefix (second argument) of the TAG directive");
607
+ try {
608
+ i = decodeURIComponent(i);
609
+ } catch (t) {
610
+ N(e, "tag prefix is malformed: " + i);
611
+ }
612
+ e.tagMap[r] = i;
613
+ }, "handleTagDirective")
614
+ };
615
+ function F(e, t, n, r) {
616
+ var i, a, o, s;
617
+ if (t < n) {
618
+ if (s = e.input.slice(t, n), r) for (i = 0, a = s.length; i < a; i += 1) o = s.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || N(e, "expected valid JSON character");
619
+ else rt.test(s) && N(e, "the stream contains non-printable characters");
620
+ e.result += s;
621
+ }
622
+ }
623
+ e(F, "captureSegment");
624
+ function yt(e, t, n, r) {
625
+ var i, a, o, c;
626
+ for (s.isObject(n) || N(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, c = i.length; o < c; o += 1) a = i[o], C.call(t, a) || (pt(t, a, n[a]), r[a] = !0);
627
+ }
628
+ e(yt, "mergeMappings");
629
+ function I(e, t, n, r, i, a, o, s, c) {
630
+ var l, u;
631
+ if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && N(e, "nested arrays are not supported inside keys"), typeof i == "object" && D(i[l]) === "[object Object]" && (i[l] = "[object Object]");
632
+ if (typeof i == "object" && D(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") if (Array.isArray(a)) for (l = 0, u = a.length; l < u; l += 1) yt(e, t, a[l], n);
633
+ else yt(e, t, a, n);
634
+ else !e.json && !C.call(n, i) && C.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, N(e, "duplicated mapping key")), pt(t, i, a), delete n[i];
635
+ return t;
636
+ }
637
+ e(I, "storeMappingPair");
638
+ function L(e) {
639
+ var t = e.input.charCodeAt(e.position);
640
+ t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : N(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
641
+ }
642
+ e(L, "readLineBreak");
643
+ function R(e, t, n) {
644
+ for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0;) {
645
+ for (; k(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
646
+ if (t && i === 35) do
647
+ i = e.input.charCodeAt(++e.position);
648
+ while (i !== 10 && i !== 13 && i !== 0);
649
+ if (O(i)) for (L(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
650
+ else break;
651
+ }
652
+ return n !== -1 && r !== 0 && e.lineIndent < n && P(e, "deficient indentation"), r;
653
+ }
654
+ e(R, "skipSeparationSpace");
655
+ function z(e) {
656
+ var t = e.position, n = e.input.charCodeAt(t);
657
+ return !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || A(n)));
658
+ }
659
+ e(z, "testDocumentSeparator");
660
+ function B(e, t) {
661
+ t === 1 ? e.result += " " : t > 1 && (e.result += s.repeat("\n", t - 1));
662
+ }
663
+ e(B, "writeFoldedLines");
664
+ function bt(e, t, n) {
665
+ var r, i, a, o, s, c, l, u, d = e.kind, f = e.result, p = e.input.charCodeAt(e.position);
666
+ if (A(p) || j(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (i = e.input.charCodeAt(e.position + 1), A(i) || n && j(i))) return !1;
667
+ for (e.kind = "scalar", e.result = "", a = o = e.position, s = !1; p !== 0;) {
668
+ if (p === 58) {
669
+ if (i = e.input.charCodeAt(e.position + 1), A(i) || n && j(i)) break;
670
+ } else if (p === 35) {
671
+ if (r = e.input.charCodeAt(e.position - 1), A(r)) break;
672
+ } else if (e.position === e.lineStart && z(e) || n && j(p)) break;
673
+ else if (O(p)) if (c = e.line, l = e.lineStart, u = e.lineIndent, R(e, !1, -1), e.lineIndent >= t) {
674
+ s = !0, p = e.input.charCodeAt(e.position);
675
+ continue;
676
+ } else {
677
+ e.position = o, e.line = c, e.lineStart = l, e.lineIndent = u;
678
+ break;
679
+ }
680
+ s && (F(e, a, o, !1), B(e, e.line - c), a = o = e.position, s = !1), k(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
681
+ }
682
+ return F(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
683
+ }
684
+ e(bt, "readPlainScalar");
685
+ function xt(e, t) {
686
+ var n = e.input.charCodeAt(e.position), r, i;
687
+ if (n !== 39) return !1;
688
+ for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) if (F(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
689
+ else return !0;
690
+ else O(n) ? (F(e, r, i, !0), B(e, R(e, !1, t)), r = i = e.position) : e.position === e.lineStart && z(e) ? N(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
691
+ N(e, "unexpected end of the stream within a single quoted scalar");
692
+ }
693
+ e(xt, "readSingleQuotedScalar");
694
+ function St(e, t) {
695
+ var n, r, i, a, o, s = e.input.charCodeAt(e.position);
696
+ if (s !== 34) return !1;
697
+ for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return F(e, n, e.position, !0), e.position++, !0;
698
+ else if (s === 92) {
699
+ if (F(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), O(s)) R(e, !1, t);
700
+ else if (s < 256 && mt[s]) e.result += ht[s], e.position++;
701
+ else if ((o = lt(s)) > 0) {
702
+ for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = ct(s)) >= 0 ? a = (a << 4) + o : N(e, "expected hexadecimal character");
703
+ e.result += ft(a), e.position++;
704
+ } else N(e, "unknown escape sequence");
705
+ n = r = e.position;
706
+ } else O(s) ? (F(e, n, r, !0), B(e, R(e, !1, t)), n = r = e.position) : e.position === e.lineStart && z(e) ? N(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
707
+ N(e, "unexpected end of the stream within a double quoted scalar");
708
+ }
709
+ e(St, "readDoubleQuotedScalar");
710
+ function Ct(e, t) {
711
+ var n = !0, r, i, a, o = e.tag, s, c = e.anchor, l, u, d, f, p, m = /* @__PURE__ */ Object.create(null), h, g, _, v = e.input.charCodeAt(e.position);
712
+ if (v === 91) u = 93, p = !1, s = [];
713
+ else if (v === 123) u = 125, p = !0, s = {};
714
+ else return !1;
715
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0;) {
716
+ if (R(e, !0, t), v = e.input.charCodeAt(e.position), v === u) return e.position++, e.tag = o, e.anchor = c, e.kind = p ? "mapping" : "sequence", e.result = s, !0;
717
+ n ? v === 44 && N(e, "expected the node content, but found ','") : N(e, "missed comma between flow collection entries"), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), A(l) && (d = f = !0, e.position++, R(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, V(e, t, w, !1, !0), g = e.tag, h = e.result, R(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), R(e, !0, t), V(e, t, w, !1, !0), _ = e.result), p ? I(e, s, m, g, h, _, r, i, a) : d ? s.push(I(e, null, m, g, h, _, r, i, a)) : s.push(h), R(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
718
+ }
719
+ N(e, "unexpected end of the stream within a flow collection");
720
+ }
721
+ e(Ct, "readFlowCollection");
722
+ function wt(e, t) {
723
+ var n, r, i = E, a = !1, o = !1, c = t, l = 0, u = !1, d, f = e.input.charCodeAt(e.position);
724
+ if (f === 124) r = !1;
725
+ else if (f === 62) r = !0;
726
+ else return !1;
727
+ for (e.kind = "scalar", e.result = ""; f !== 0;) if (f = e.input.charCodeAt(++e.position), f === 43 || f === 45) E === i ? i = f === 43 ? nt : tt : N(e, "repeat of a chomping mode identifier");
728
+ else if ((d = ut(f)) >= 0) d === 0 ? N(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? N(e, "repeat of an indentation width identifier") : (c = t + d - 1, o = !0);
729
+ else break;
730
+ if (k(f)) {
731
+ do
732
+ f = e.input.charCodeAt(++e.position);
733
+ while (k(f));
734
+ if (f === 35) do
735
+ f = e.input.charCodeAt(++e.position);
736
+ while (!O(f) && f !== 0);
737
+ }
738
+ for (; f !== 0;) {
739
+ for (L(e), e.lineIndent = 0, f = e.input.charCodeAt(e.position); (!o || e.lineIndent < c) && f === 32;) e.lineIndent++, f = e.input.charCodeAt(++e.position);
740
+ if (!o && e.lineIndent > c && (c = e.lineIndent), O(f)) {
741
+ l++;
742
+ continue;
743
+ }
744
+ if (e.lineIndent < c) {
745
+ i === nt ? e.result += s.repeat("\n", a ? 1 + l : l) : i === E && a && (e.result += "\n");
746
+ break;
747
+ }
748
+ for (r ? k(f) ? (u = !0, e.result += s.repeat("\n", a ? 1 + l : l)) : u ? (u = !1, e.result += s.repeat("\n", l + 1)) : l === 0 ? a && (e.result += " ") : e.result += s.repeat("\n", l) : e.result += s.repeat("\n", a ? 1 + l : l), a = !0, o = !0, l = 0, n = e.position; !O(f) && f !== 0;) f = e.input.charCodeAt(++e.position);
749
+ F(e, n, e.position, !1);
750
+ }
751
+ return !0;
752
+ }
753
+ e(wt, "readBlockScalar");
754
+ function Tt(e, t) {
755
+ var n, r = e.tag, i = e.anchor, a = [], o, s = !1, c;
756
+ if (e.firstTabInLine !== -1) return !1;
757
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = a), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, N(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !A(o))));) {
758
+ if (s = !0, e.position++, R(e, !0, -1) && e.lineIndent <= t) {
759
+ a.push(null), c = e.input.charCodeAt(e.position);
760
+ continue;
761
+ }
762
+ if (n = e.line, V(e, t, et, !1, !0), a.push(e.result), R(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) N(e, "bad indentation of a sequence entry");
763
+ else if (e.lineIndent < t) break;
764
+ }
765
+ return s ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
766
+ }
767
+ e(Tt, "readBlockSequence");
768
+ function Et(e, t, n) {
769
+ var r, i, a, o, s, c, l = e.tag, u = e.anchor, d = {}, f = /* @__PURE__ */ Object.create(null), p = null, m = null, h = null, g = !1, _ = !1, v;
770
+ if (e.firstTabInLine !== -1) return !1;
771
+ for (e.anchor !== null && (e.anchorMap[e.anchor] = d), v = e.input.charCodeAt(e.position); v !== 0;) {
772
+ if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, N(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && A(r)) v === 63 ? (g && (I(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : N(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
773
+ else {
774
+ if (o = e.line, s = e.lineStart, c = e.position, !V(e, n, $e, !1, !0)) break;
775
+ if (e.line === a) {
776
+ for (v = e.input.charCodeAt(e.position); k(v);) v = e.input.charCodeAt(++e.position);
777
+ if (v === 58) v = e.input.charCodeAt(++e.position), A(v) || N(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (I(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
778
+ else if (_) N(e, "can not read an implicit mapping pair; a colon is missed");
779
+ else return e.tag = l, e.anchor = u, !0;
780
+ } else if (_) N(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
781
+ else return e.tag = l, e.anchor = u, !0;
782
+ }
783
+ if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), V(e, t, T, !0, i) && (g ? m = e.result : h = e.result), g || (I(e, d, f, p, m, h, o, s, c), p = m = h = null), R(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) N(e, "bad indentation of a mapping entry");
784
+ else if (e.lineIndent < t) break;
785
+ }
786
+ return g && I(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = "mapping", e.result = d), _;
787
+ }
788
+ e(Et, "readBlockMapping");
789
+ function Dt(e) {
790
+ var t, n = !1, r = !1, i, a, o = e.input.charCodeAt(e.position);
791
+ if (o !== 33) return !1;
792
+ if (e.tag !== null && N(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
793
+ do
794
+ o = e.input.charCodeAt(++e.position);
795
+ while (o !== 0 && o !== 62);
796
+ e.position < e.length ? (a = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : N(e, "unexpected end of the stream within a verbatim tag");
797
+ } else {
798
+ for (; o !== 0 && !A(o);) o === 33 && (r ? N(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), ot.test(i) || N(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
799
+ a = e.input.slice(t, e.position), at.test(a) && N(e, "tag suffix cannot contain flow indicator characters");
800
+ }
801
+ a && !st.test(a) && N(e, "tag name cannot contain such characters: " + a);
802
+ try {
803
+ a = decodeURIComponent(a);
804
+ } catch (t) {
805
+ N(e, "tag name is malformed: " + a);
806
+ }
807
+ return n ? e.tag = a : C.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : N(e, "undeclared tag handle \"" + i + "\""), !0;
808
+ }
809
+ e(Dt, "readTagProperty");
810
+ function Ot(e) {
811
+ var t, n = e.input.charCodeAt(e.position);
812
+ if (n !== 38) return !1;
813
+ for (e.anchor !== null && N(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !A(n) && !j(n);) n = e.input.charCodeAt(++e.position);
814
+ return e.position === t && N(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
815
+ }
816
+ e(Ot, "readAnchorProperty");
817
+ function kt(e) {
818
+ var t, n, r = e.input.charCodeAt(e.position);
819
+ if (r !== 42) return !1;
820
+ for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !A(r) && !j(r);) r = e.input.charCodeAt(++e.position);
821
+ return e.position === t && N(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), C.call(e.anchorMap, n) || N(e, "unidentified alias \"" + n + "\""), e.result = e.anchorMap[n], R(e, !0, -1), !0;
822
+ }
823
+ e(kt, "readAlias");
824
+ function V(e, t, n, r, i) {
825
+ var a, o, s, c = 1, l = !1, u = !1, d, f, p, m, h, g;
826
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = s = T === n || et === n, r && R(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; Dt(e) || Ot(e);) R(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
827
+ if (s && (s = l || i), (c === 1 || T === n) && (h = w === n || $e === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (Tt(e, g) || Et(e, g, h)) || Ct(e, h) ? u = !0 : (o && wt(e, h) || xt(e, h) || St(e, h) ? u = !0 : kt(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && N(e, "alias node should not have any properties")) : bt(e, h, w === n) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && Tt(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
828
+ else if (e.tag === "?") {
829
+ for (e.result !== null && e.kind !== "scalar" && N(e, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e.kind + "\""), d = 0, f = e.implicitTypes.length; d < f; d += 1) if (m = e.implicitTypes[d], m.resolve(e.result)) {
830
+ e.result = m.construct(e.result), e.tag = m.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
831
+ break;
832
+ }
833
+ } else if (e.tag !== "!") {
834
+ if (C.call(e.typeMap[e.kind || "fallback"], e.tag)) m = e.typeMap[e.kind || "fallback"][e.tag];
835
+ else for (m = null, p = e.typeMap.multi[e.kind || "fallback"], d = 0, f = p.length; d < f; d += 1) if (e.tag.slice(0, p[d].tag.length) === p[d].tag) {
836
+ m = p[d];
837
+ break;
838
+ }
839
+ m || N(e, "unknown tag !<" + e.tag + ">"), e.result !== null && m.kind !== e.kind && N(e, "unacceptable node kind for !<" + e.tag + "> tag; it should be \"" + m.kind + "\", not \"" + e.kind + "\""), m.resolve(e.result, e.tag) ? (e.result = m.construct(e.result, e.tag), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : N(e, "cannot resolve a node with !<" + e.tag + "> explicit tag");
840
+ }
841
+ return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || u;
842
+ }
843
+ e(V, "composeNode");
844
+ function At(e) {
845
+ var t = e.position, n, r, i, a = !1, o;
846
+ for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (R(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
847
+ for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !A(o);) o = e.input.charCodeAt(++e.position);
848
+ for (r = e.input.slice(n, e.position), i = [], r.length < 1 && N(e, "directive name must not be less than one character in length"); o !== 0;) {
849
+ for (; k(o);) o = e.input.charCodeAt(++e.position);
850
+ if (o === 35) {
851
+ do
852
+ o = e.input.charCodeAt(++e.position);
853
+ while (o !== 0 && !O(o));
854
+ break;
855
+ }
856
+ if (O(o)) break;
857
+ for (n = e.position; o !== 0 && !A(o);) o = e.input.charCodeAt(++e.position);
858
+ i.push(e.input.slice(n, e.position));
859
+ }
860
+ o !== 0 && L(e), C.call(vt, r) ? vt[r](e, r, i) : P(e, "unknown document directive \"" + r + "\"");
861
+ }
862
+ if (R(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, R(e, !0, -1)) : a && N(e, "directives end mark is expected"), V(e, e.lineIndent - 1, T, !1, !0), R(e, !0, -1), e.checkLineBreaks && it.test(e.input.slice(t, e.position)) && P(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && z(e)) {
863
+ e.input.charCodeAt(e.position) === 46 && (e.position += 3, R(e, !0, -1));
864
+ return;
865
+ }
866
+ if (e.position < e.length - 1) N(e, "end of the stream or a document separator is expected");
867
+ else return;
868
+ }
869
+ e(At, "readDocument");
870
+ function jt(e, t) {
871
+ e = String(e), t = t || {}, e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += "\n"), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
872
+ var n = new gt(e, t), r = e.indexOf("\0");
873
+ for (r !== -1 && (n.position = r, N(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32;) n.lineIndent += 1, n.position += 1;
874
+ for (; n.position < n.length - 1;) At(n);
875
+ return n.documents;
876
+ }
877
+ e(jt, "loadDocuments");
878
+ function Mt(e, t, n) {
879
+ typeof t == "object" && t && n === void 0 && (n = t, t = null);
880
+ var r = jt(e, n);
881
+ if (typeof t != "function") return r;
882
+ for (var i = 0, a = r.length; i < a; i += 1) t(r[i]);
883
+ }
884
+ e(Mt, "loadAll$1");
885
+ function Nt(e, t) {
886
+ var n = jt(e, t);
887
+ if (n.length !== 0) {
888
+ if (n.length === 1) return n[0];
889
+ throw new u("expected a single document in the stream, but found more");
890
+ }
891
+ }
892
+ e(Nt, "load$1");
893
+ var Pt = {
894
+ loadAll: Mt,
895
+ load: Nt
896
+ }, Ft = Object.prototype.toString, It = Object.prototype.hasOwnProperty, Lt = 65279, Rt = 9, H = 10, zt = 13, Bt = 32, Vt = 33, Ht = 34, Ut = 35, Wt = 37, Gt = 38, Kt = 39, qt = 42, Jt = 44, Yt = 45, U = 58, Xt = 61, Zt = 62, Qt = 63, $t = 64, en = 91, tn = 93, nn = 96, rn = 123, an = 124, on = 125, W = {};
897
+ W[0] = "\\0", W[7] = "\\a", W[8] = "\\b", W[9] = "\\t", W[10] = "\\n", W[11] = "\\v", W[12] = "\\f", W[13] = "\\r", W[27] = "\\e", W[34] = "\\\"", W[92] = "\\\\", W[133] = "\\N", W[160] = "\\_", W[8232] = "\\L", W[8233] = "\\P";
898
+ var sn = [
899
+ "y",
900
+ "Y",
901
+ "yes",
902
+ "Yes",
903
+ "YES",
904
+ "on",
905
+ "On",
906
+ "ON",
907
+ "n",
908
+ "N",
909
+ "no",
910
+ "No",
911
+ "NO",
912
+ "off",
913
+ "Off",
914
+ "OFF"
915
+ ], cn = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
916
+ function ln(e, t) {
917
+ var n, r, i, a, o, s, c;
918
+ if (t === null) return {};
919
+ for (n = {}, r = Object.keys(t), i = 0, a = r.length; i < a; i += 1) o = r[i], s = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && It.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
920
+ return n;
921
+ }
922
+ e(ln, "compileStyleMap");
923
+ function un(e) {
924
+ var t = e.toString(16).toUpperCase(), n, r;
925
+ if (e <= 255) n = "x", r = 2;
926
+ else if (e <= 65535) n = "u", r = 4;
927
+ else if (e <= 4294967295) n = "U", r = 8;
928
+ else throw new u("code point within a string may not be greater than 0xFFFFFFFF");
929
+ return "\\" + n + s.repeat("0", r - t.length) + t;
930
+ }
931
+ e(un, "encodeHex");
932
+ var dn = 1, G = 2;
933
+ function fn(e) {
934
+ this.schema = e.schema || Qe, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = s.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = ln(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === "\"" ? G : dn, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
935
+ }
936
+ e(fn, "State");
937
+ function pn(e, t) {
938
+ for (var n = s.repeat(" ", t), r = 0, i = -1, a = "", o, c = e.length; r < c;) i = e.indexOf("\n", r), i === -1 ? (o = e.slice(r), r = c) : (o = e.slice(r, i + 1), r = i + 1), o.length && o !== "\n" && (a += n), a += o;
939
+ return a;
940
+ }
941
+ e(pn, "indentString");
942
+ function K(e, t) {
943
+ return "\n" + s.repeat(" ", e.indent * t);
944
+ }
945
+ e(K, "generateNextLine");
946
+ function mn(e, t) {
947
+ var n, r, i;
948
+ for (n = 0, r = e.implicitTypes.length; n < r; n += 1) if (i = e.implicitTypes[n], i.resolve(t)) return !0;
949
+ return !1;
950
+ }
951
+ e(mn, "testImplicitResolving");
952
+ function q(e) {
953
+ return e === Bt || e === Rt;
954
+ }
955
+ e(q, "isWhitespace");
956
+ function J(e) {
957
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== Lt || 65536 <= e && e <= 1114111;
958
+ }
959
+ e(J, "isPrintable");
960
+ function hn(e) {
961
+ return J(e) && e !== Lt && e !== zt && e !== H;
962
+ }
963
+ e(hn, "isNsCharOrWhitespace");
964
+ function gn(e, t, n) {
965
+ var r = hn(e), i = r && !q(e);
966
+ return (n ? r : r && e !== Jt && e !== en && e !== tn && e !== rn && e !== on) && e !== Ut && !(t === U && !i) || hn(t) && !q(t) && e === Ut || t === U && i;
967
+ }
968
+ e(gn, "isPlainSafe");
969
+ function _n(e) {
970
+ return J(e) && e !== Lt && !q(e) && e !== Yt && e !== Qt && e !== U && e !== Jt && e !== en && e !== tn && e !== rn && e !== on && e !== Ut && e !== Gt && e !== qt && e !== Vt && e !== an && e !== Xt && e !== Zt && e !== Kt && e !== Ht && e !== Wt && e !== $t && e !== nn;
971
+ }
972
+ e(_n, "isPlainSafeFirst");
973
+ function vn(e) {
974
+ return !q(e) && e !== U;
975
+ }
976
+ e(vn, "isPlainSafeLast");
977
+ function Y(e, t) {
978
+ var n = e.charCodeAt(t), r;
979
+ return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
980
+ }
981
+ e(Y, "codePointAt");
982
+ function yn(e) {
983
+ return /^\n* /.test(e);
984
+ }
985
+ e(yn, "needIndentIndicator");
986
+ var bn = 1, xn = 2, Sn = 3, Cn = 4, X = 5;
987
+ function wn(e, t, n, r, i, a, o, s) {
988
+ var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = _n(Y(e, 0)) && vn(Y(e, e.length - 1));
989
+ if (t || o) for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
990
+ if (l = Y(e, c), !J(l)) return X;
991
+ h = h && gn(l, u, s), u = l;
992
+ }
993
+ else {
994
+ for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
995
+ if (l = Y(e, c), l === H) d = !0, p && (f = f || c - m - 1 > r && e[m + 1] !== " ", m = c);
996
+ else if (!J(l)) return X;
997
+ h = h && gn(l, u, s), u = l;
998
+ }
999
+ f = f || p && c - m - 1 > r && e[m + 1] !== " ";
1000
+ }
1001
+ return !d && !f ? h && !o && !i(e) ? bn : a === G ? X : xn : n > 9 && yn(e) ? X : o ? a === G ? X : xn : f ? Cn : Sn;
1002
+ }
1003
+ e(wn, "chooseScalarStyle");
1004
+ function Tn(t, n, r, i, a) {
1005
+ t.dump = (function() {
1006
+ if (n.length === 0) return t.quotingType === G ? "\"\"" : "''";
1007
+ if (!t.noCompatMode && (sn.indexOf(n) !== -1 || cn.test(n))) return t.quotingType === G ? "\"" + n + "\"" : "'" + n + "'";
1008
+ var o = t.indent * Math.max(1, r), s = t.lineWidth === -1 ? -1 : Math.max(Math.min(t.lineWidth, 40), t.lineWidth - o), c = i || t.flowLevel > -1 && r >= t.flowLevel;
1009
+ function l(e) {
1010
+ return mn(t, e);
1011
+ }
1012
+ switch (e(l, "testAmbiguity"), wn(n, c, t.indent, s, l, t.quotingType, t.forceQuotes && !i, a)) {
1013
+ case bn: return n;
1014
+ case xn: return "'" + n.replace(/'/g, "''") + "'";
1015
+ case Sn: return "|" + En(n, t.indent) + Dn(pn(n, o));
1016
+ case Cn: return ">" + En(n, t.indent) + Dn(pn(On(n, s), o));
1017
+ case X: return "\"" + An(n) + "\"";
1018
+ default: throw new u("impossible error: invalid scalar style");
1019
+ }
1020
+ })();
1021
+ }
1022
+ e(Tn, "writeScalar");
1023
+ function En(e, t) {
1024
+ var n = yn(e) ? String(t) : "", r = e[e.length - 1] === "\n";
1025
+ return n + (r && (e[e.length - 2] === "\n" || e === "\n") ? "+" : r ? "" : "-") + "\n";
1026
+ }
1027
+ e(En, "blockHeader");
1028
+ function Dn(e) {
1029
+ return e[e.length - 1] === "\n" ? e.slice(0, -1) : e;
1030
+ }
1031
+ e(Dn, "dropEndingNewline");
1032
+ function On(e, t) {
1033
+ for (var n = /(\n+)([^\n]*)/g, r = (function() {
1034
+ var r = e.indexOf("\n");
1035
+ return r = r === -1 ? e.length : r, n.lastIndex = r, kn(e.slice(0, r), t);
1036
+ })(), i = e[0] === "\n" || e[0] === " ", a, o; o = n.exec(e);) {
1037
+ var s = o[1], c = o[2];
1038
+ a = c[0] === " ", r += s + (!i && !a && c !== "" ? "\n" : "") + kn(c, t), i = a;
1039
+ }
1040
+ return r;
1041
+ }
1042
+ e(On, "foldString");
1043
+ function kn(e, t) {
1044
+ if (e === "" || e[0] === " ") return e;
1045
+ for (var n = / [^ ]/g, r, i = 0, a, o = 0, s = 0, c = ""; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += "\n" + e.slice(i, a), i = a + 1), o = s;
1046
+ return c += "\n", e.length - i > t && o > i ? c += e.slice(i, o) + "\n" + e.slice(o + 1) : c += e.slice(i), c.slice(1);
1047
+ }
1048
+ e(kn, "foldLine");
1049
+ function An(e) {
1050
+ for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = Y(e, i), r = W[n], !r && J(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || un(n);
1051
+ return t;
1052
+ }
1053
+ e(An, "escapeString");
1054
+ function jn(e, t, n) {
1055
+ var r = "", i = e.tag, a, o, s;
1056
+ for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (Q(e, t, s, !1, !1) || s === void 0 && Q(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
1057
+ e.tag = i, e.dump = "[" + r + "]";
1058
+ }
1059
+ e(jn, "writeFlowSequence");
1060
+ function Mn(e, t, n, r) {
1061
+ var i = "", a = e.tag, o, s, c;
1062
+ for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (Q(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && Q(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += K(e, t)), e.dump && H === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
1063
+ e.tag = a, e.dump = i || "[]";
1064
+ }
1065
+ e(Mn, "writeBlockSequence");
1066
+ function Nn(e, t, n) {
1067
+ var r = "", i = e.tag, a = Object.keys(n), o, s, c, l, u;
1068
+ for (o = 0, s = a.length; o < s; o += 1) u = "", r !== "" && (u += ", "), e.condenseFlow && (u += "\""), c = a[o], l = n[c], e.replacer && (l = e.replacer.call(n, c, l)), Q(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += "? "), u += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), Q(e, t, l, !1, !1) && (u += e.dump, r += u));
1069
+ e.tag = i, e.dump = "{" + r + "}";
1070
+ }
1071
+ e(Nn, "writeFlowMapping");
1072
+ function Pn(e, t, n, r) {
1073
+ var i = "", a = e.tag, o = Object.keys(n), s, c, l, d, f, p;
1074
+ if (e.sortKeys === !0) o.sort();
1075
+ else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
1076
+ else if (e.sortKeys) throw new u("sortKeys must be a boolean or a function");
1077
+ for (s = 0, c = o.length; s < c; s += 1) p = "", (!r || i !== "") && (p += K(e, t)), l = o[s], d = n[l], e.replacer && (d = e.replacer.call(n, l, d)), Q(e, t + 1, l, !0, !0, !0) && (f = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, f && (e.dump && H === e.dump.charCodeAt(0) ? p += "?" : p += "? "), p += e.dump, f && (p += K(e, t)), Q(e, t + 1, d, !0, f) && (e.dump && H === e.dump.charCodeAt(0) ? p += ":" : p += ": ", p += e.dump, i += p));
1078
+ e.tag = a, e.dump = i || "{}";
1079
+ }
1080
+ e(Pn, "writeBlockMapping");
1081
+ function Z(e, t, n) {
1082
+ var r, i = n ? e.explicitTypes : e.implicitTypes, a, o, s, c;
1083
+ for (a = 0, o = i.length; a < o; a += 1) if (s = i[a], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof t == "object" && t instanceof s.instanceOf) && (!s.predicate || s.predicate(t))) {
1084
+ if (n ? s.multi && s.representName ? e.tag = s.representName(t) : e.tag = s.tag : e.tag = "?", s.represent) {
1085
+ if (c = e.styleMap[s.tag] || s.defaultStyle, Ft.call(s.represent) === "[object Function]") r = s.represent(t, c);
1086
+ else if (It.call(s.represent, c)) r = s.represent[c](t, c);
1087
+ else throw new u("!<" + s.tag + "> tag resolver accepts not \"" + c + "\" style");
1088
+ e.dump = r;
1089
+ }
1090
+ return !0;
1091
+ }
1092
+ return !1;
1093
+ }
1094
+ e(Z, "detectType");
1095
+ function Q(e, t, n, r, i, a, o) {
1096
+ e.tag = null, e.dump = n, Z(e, n, !1) || Z(e, n, !0);
1097
+ var s = Ft.call(e.dump), c = r, l;
1098
+ r && (r = e.flowLevel < 0 || e.flowLevel > t);
1099
+ var d = s === "[object Object]" || s === "[object Array]", f, p;
1100
+ if (d && (f = e.duplicates.indexOf(n), p = f !== -1), (e.tag !== null && e.tag !== "?" || p || e.indent !== 2 && t > 0) && (i = !1), p && e.usedDuplicates[f]) e.dump = "*ref_" + f;
1101
+ else {
1102
+ if (d && p && !e.usedDuplicates[f] && (e.usedDuplicates[f] = !0), s === "[object Object]") r && Object.keys(e.dump).length !== 0 ? (Pn(e, t, e.dump, i), p && (e.dump = "&ref_" + f + e.dump)) : (Nn(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
1103
+ else if (s === "[object Array]") r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? Mn(e, t - 1, e.dump, i) : Mn(e, t, e.dump, i), p && (e.dump = "&ref_" + f + e.dump)) : (jn(e, t, e.dump), p && (e.dump = "&ref_" + f + " " + e.dump));
1104
+ else if (s === "[object String]") e.tag !== "?" && Tn(e, e.dump, t, a, c);
1105
+ else if (s === "[object Undefined]") return !1;
1106
+ else {
1107
+ if (e.skipInvalid) return !1;
1108
+ throw new u("unacceptable kind of an object to dump " + s);
1109
+ }
1110
+ e.tag !== null && e.tag !== "?" && (l = encodeURI(e.tag[0] === "!" ? e.tag.slice(1) : e.tag).replace(/!/g, "%21"), l = e.tag[0] === "!" ? "!" + l : l.slice(0, 18) === "tag:yaml.org,2002:" ? "!!" + l.slice(18) : "!<" + l + ">", e.dump = l + " " + e.dump);
1111
+ }
1112
+ return !0;
1113
+ }
1114
+ e(Q, "writeNode");
1115
+ function Fn(e, t) {
1116
+ var n = [], r = [], i, a;
1117
+ for ($(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
1118
+ t.usedDuplicates = Array(a);
1119
+ }
1120
+ e(Fn, "getDuplicateReferences");
1121
+ function $(e, t, n) {
1122
+ var r, i, a;
1123
+ if (typeof e == "object" && e) if (i = t.indexOf(e), i !== -1) n.indexOf(i) === -1 && n.push(i);
1124
+ else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) $(e[i], t, n);
1125
+ else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) $(e[r[i]], t, n);
1126
+ }
1127
+ e($, "inspectNode");
1128
+ function In(e, t) {
1129
+ t = t || {};
1130
+ var n = new fn(t);
1131
+ n.noRefs || Fn(e, n);
1132
+ var r = e;
1133
+ return n.replacer && (r = n.replacer.call({ "": r }, "", r)), Q(n, 0, r, !0, !0) ? n.dump + "\n" : "";
1134
+ }
1135
+ e(In, "dump$1");
1136
+ var Ln = { dump: In };
1137
+ function Rn(e, t) {
1138
+ return function() {
1139
+ throw Error("Function yaml." + e + " is removed in js-yaml 4. Use yaml." + t + " instead, which is now safe by default.");
1140
+ };
1141
+ }
1142
+ e(Rn, "renamed");
1143
+ var zn = we, Bn = Pt.load;
1144
+ Pt.loadAll, Ln.dump;
1145
+ //#endregion
1146
+ export { Bn as n, zn as t };