@nldd/design-system 0.30.1 → 0.31.0

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 (289) hide show
  1. package/custom-elements.json +283 -10
  2. package/dist/cdn/autoloader.js +139 -139
  3. package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-D7VeSx-7.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DjFnuCY9.js} +5 -5
  5. package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-nshVcQbZ.js} +5 -5
  6. package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-BhYcjvcU.js} +5 -5
  7. package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-Dw9XZk73.js} +6 -6
  8. package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-B0ZliBMF.js} +15 -15
  9. package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-2ObEfIYt.js} +6 -6
  10. package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-D9d_367R.js} +8 -8
  11. package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-Cpq5j2Yd.js} +5 -5
  12. package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-M372pBfW.js} +5 -5
  13. package/dist/cdn/chunks/{box-CasAZ5pk.js → box-bpcNQSk1.js} +3 -3
  14. package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-YBuCnLD2.js} +6 -6
  15. package/dist/cdn/chunks/{button-IRm7Oibq.js → button-BsJDVMS5.js} +10 -10
  16. package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-C7WBKVht.js} +3 -3
  17. package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-D3zUCJnu.js} +2 -2
  18. package/dist/cdn/chunks/{card-BaomP9oB.js → card-BY2Fz35J.js} +4 -4
  19. package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-DfQcb8oJ.js} +6 -6
  20. package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-BurSrNRq.js} +5 -5
  21. package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-jcCJRers.js} +8 -8
  22. package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group--6ifWQ_F.js} +3 -3
  23. package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-pfTGN6Lt.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-D6xQxxSm.js} +13 -13
  25. package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CsO0Hzkz.js} +38 -38
  26. package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-Bu7mes2L.js} +345 -345
  27. package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-CLD0J381.js} +8 -8
  28. package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-cC87aRbF.js} +11 -9
  29. package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-Dcd-wtk5.js} +3 -3
  30. package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-BPzCecdN.js} +1 -1
  31. package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-CfIXnk2K.js} +14 -12
  32. package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-D4W0Be1y.js} +11 -11
  33. package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-CNSW3HVY.js} +1 -1
  34. package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-BNEosRlm.js} +2 -2
  35. package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-3zl0cEJE.js} +7 -7
  36. package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-sh4nGzvD.js} +1 -1
  37. package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-C8_pU38P.js} +1 -1
  38. package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-BA1lxpkp.js} +66 -66
  39. package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BMreXo8L.js} +36 -36
  40. package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-BQhMIRwq.js} +83 -83
  41. package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-BwkztXx2.js} +307 -307
  42. package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C0eqMXKG.js} +12 -12
  43. package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-CYoggrc-.js} +66 -66
  44. package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-D8GVh7JF.js} +103 -103
  45. package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-DHJOmDf7.js} +1 -1
  46. package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-DosCjwbX.js} +75 -75
  47. package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-Du5XeaUH.js} +80 -80
  48. package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-DwGJ42jg.js} +36 -36
  49. package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-DzvZLbav.js} +35 -35
  50. package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-UPMuGK3l.js} +47 -47
  51. package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-ja-sWdqK.js} +2 -2
  52. package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-CzlWDPeb.js} +9 -9
  53. package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-CDnfyMTi.js} +5 -5
  54. package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-VGbq3duI.js} +14 -14
  55. package/dist/cdn/chunks/{form-mkjbjprY.js → form-EDk-AXxW.js} +1 -1
  56. package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-DJlOHVjC.js} +2 -2
  57. package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BDrjhoXJ.js} +2 -2
  58. package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-DwfFYaIJ.js} +8 -8
  59. package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-D5pvpU0g.js} +3 -3
  60. package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-B2lrxacX.js} +3 -3
  61. package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-8OBYFEcb.js} +4 -4
  62. package/dist/cdn/chunks/{icon-CeybqndL.js → icon-DZh6I8EN.js} +2 -2
  63. package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-Cfl9Uloz.js} +10 -10
  64. package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-BKxm4x3C.js} +5 -5
  65. package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D6mA_Ysl.js} +7 -7
  66. package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-Laa7Mar_.js} +1 -1
  67. package/dist/cdn/chunks/{image-7aQSrryL.js → image-BNQlE_4Z.js} +9 -9
  68. package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-5vpq_6bt.js} +8 -8
  69. package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-C8uCzm2s.js} +5 -5
  70. package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-_aubAWTm.js} +5 -5
  71. package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-CmitV46A.js} +4 -4
  72. package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-DY96tl24.js} +3 -3
  73. package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-B0lgBg4r.js} +181 -170
  74. package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-CEyAJ_y7.js} +6 -6
  75. package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-DwnzL75g.js} +2 -2
  76. package/dist/cdn/chunks/{list-D2vWEpYC.js → list-D-_Z5AED.js} +9 -9
  77. package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-BqzGOqJl.js} +5 -5
  78. package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-Ct876W0e.js} +4 -4
  79. package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-BDLqu0jO.js} +10 -10
  80. package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-DbCYdFuj.js} +6 -6
  81. package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-CFfcPjci.js} +6 -6
  82. package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-DTzCjHnW.js} +3 -3
  83. package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-rYPRHllx.js} +4 -4
  84. package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-CjzoSHHj.js} +4 -4
  85. package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-D7dG2HRa.js} +6 -6
  86. package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-Cjn3EHfN.js} +4 -4
  87. package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-B8DstPYy.js} +8 -6
  88. package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-BHM4b_Gb.js} +5 -5
  89. package/dist/cdn/chunks/{nl.generated-CrkPlg69.js → nl.generated-Bu83qDco.js} +1 -1
  90. package/dist/cdn/chunks/{notification-DxsARz6U.js → notification-CieKHgKd.js} +7 -7
  91. package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CVYaConf.js} +10 -8
  92. package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-aMdIJ_5N.js} +3 -3
  93. package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-Dalek6lE.js} +3 -3
  94. package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-BxkICLRG.js} +17 -12
  95. package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-GR6uppZW.js} +1 -1
  96. package/dist/cdn/chunks/{page-DpGgV58g.js → page-C18ixnPr.js} +5 -5
  97. package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-CP6K-aw-.js} +5 -5
  98. package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-BLPRaUH6.js} +3 -3
  99. package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-YLIq3Jcw.js} +7 -7
  100. package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-CCRqiNHh.js} +11 -9
  101. package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-NvRaYQGL.js} +5 -5
  102. package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-DS0_RN2t.js} +8 -8
  103. package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-B5zlQKGK.js} +8 -8
  104. package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DZ2p1w_S.js} +7 -7
  105. package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-gY-u--Id.js} +4 -4
  106. package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-C0VdrjGz.js} +3 -3
  107. package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-SMLwIKOz.js} +1 -1
  108. package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-BfNGWoUb.js} +4 -4
  109. package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Dy5l6J0C.js} +2 -2
  110. package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-HQymq8gF.js} +2 -2
  111. package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-BALF1UpX.js} +3 -3
  112. package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-De75PIGu.js} +2 -2
  113. package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-Bj7GnOWo.js} +2 -2
  114. package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-DP7e4bm8.js} +12 -10
  115. package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-BXtb8I7v.js} +7 -7
  116. package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-CF-vkJJ8.js} +2 -2
  117. package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-Beykq5Xb.js} +3 -3
  118. package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-CTGO74H-.js} +3 -3
  119. package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-BZlxFAIM.js} +4 -4
  120. package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-CsODVvuK.js} +8 -8
  121. package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-9pgvujZx.js} +3 -3
  122. package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-qdhDQoe7.js} +5 -5
  123. package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-CR_O2nPE.js} +9 -9
  124. package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-DbZEWOe2.js} +2 -2
  125. package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-BnDgG-8g.js} +4 -4
  126. package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-rY9ZZF4m.js} +7 -7
  127. package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-CXsR2koZ.js} +2 -2
  128. package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-CA97yLNG.js} +4 -4
  129. package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-CfvOicw5.js} +1 -1
  130. package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Cg0AkR2_.js} +4 -4
  131. package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-CAF54DmI.js} +6 -6
  132. package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-BfmEAqar.js} +5 -5
  133. package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-C2oRKeaC.js} +7 -7
  134. package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-BZRDrOiA.js} +1 -1
  135. package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-DW07gML2.js} +6 -6
  136. package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-D3dbZ1J9.js} +6 -6
  137. package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DrP2P8J-.js} +7 -7
  138. package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-D0VfxxWN.js} +8 -8
  139. package/dist/cdn/chunks/{table-BLvkO5AG.js → table-CWQWdro8.js} +5 -5
  140. package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Dc2wNx-T.js} +5 -5
  141. package/dist/cdn/chunks/{term-D79d-lz3.js → term-DUIQ5xer.js} +12 -12
  142. package/dist/cdn/chunks/{text-kRZ3cyId.js → text-BGobv84x.js} +4 -4
  143. package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CGvUJRLw.js} +9 -9
  144. package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-CHsINr20.js} +1307 -903
  145. package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
  146. package/dist/cdn/chunks/{text-field-DmKGVJvm.js → text-field-CpSGZVmD.js} +8 -6
  147. package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-DHroWilR.js} +2 -2
  148. package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CJVbIp-l.js} +16 -14
  149. package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-S2rQpNA-.js} +6 -6
  150. package/dist/cdn/chunks/{title-DsOLSMHj.js → title-DrogO1fi.js} +5 -5
  151. package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-CX_yGWvW.js} +9 -9
  152. package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-CwVn3pQ-.js} +9 -9
  153. package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-BY4GlP2N.js} +2 -2
  154. package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-CgE9PfeW.js} +13 -11
  155. package/dist/cdn/chunks/{token-BYCl-dDP.js → token-vYddtNLa.js} +5 -5
  156. package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-Cl9XcbRF.js} +9 -9
  157. package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-BQKbNQGY.js} +3 -3
  158. package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-Ka7Q_vfZ.js} +4 -4
  159. package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-QMkPXyiR.js} +3 -3
  160. package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-BERJsBSV.js} +5 -5
  161. package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-CJCQf83I.js} +18 -18
  162. package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-CT4gj9gn.js} +6 -6
  163. package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-CQwCU61R.js} +3 -3
  164. package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-3b8a8S3f.js} +5 -5
  165. package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-BDaVoR0J.js} +2 -2
  166. package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-GgT4UkeT.js} +2 -2
  167. package/dist/cdn/chunks/{window-D4rLzdHo.js → window-BTU1k5p4.js} +4 -4
  168. package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-D3sJ-X8x.js} +3 -3
  169. package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
  170. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  171. package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
  172. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  173. package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
  174. package/dist/components/inputs/date-field/date-field.styles.js +2 -0
  175. package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
  176. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  177. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
  178. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  179. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  180. package/dist/components/inputs/number-field/number-field.styles.js +2 -0
  181. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  182. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +5 -2
  183. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  184. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +10 -4
  185. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  186. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  187. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
  188. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  189. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  190. package/dist/components/inputs/password-field/password-field.styles.js +2 -0
  191. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  192. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  193. package/dist/components/inputs/search-field/search-field.styles.js +2 -0
  194. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  195. package/dist/components/inputs/switch/switch.styles.js +1 -1
  196. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -1
  197. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
  198. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
  199. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
  200. package/dist/components/inputs/text-editor/text-editor.commands.d.ts +1 -0
  201. package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
  202. package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
  203. package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
  204. package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
  205. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  206. package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
  207. package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
  208. package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
  209. package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
  210. package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
  211. package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
  212. package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
  213. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
  214. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
  215. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
  216. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
  217. package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
  218. package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
  219. package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
  220. package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
  221. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -0
  222. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  223. package/dist/components/inputs/text-editor/text-editor.i18n.js +3 -0
  224. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  225. package/dist/components/inputs/text-editor/text-editor.js +67 -6
  226. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  227. package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
  228. package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
  229. package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
  230. package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
  231. package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -0
  232. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  233. package/dist/components/inputs/text-editor/text-editor.links.js +41 -12
  234. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  235. package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
  236. package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
  237. package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
  238. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  239. package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
  240. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  241. package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
  242. package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
  243. package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
  244. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
  245. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  246. package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
  247. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  248. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  249. package/dist/components/inputs/text-editor/text-editor.styles.js +116 -12
  250. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  251. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
  252. package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
  253. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
  254. package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
  255. package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
  256. package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
  257. package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
  258. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  259. package/dist/components/inputs/text-field/text-field.styles.js +2 -0
  260. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  261. package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
  262. package/dist/components/inputs/time-field/time-field.styles.js +2 -0
  263. package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
  264. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  265. package/dist/components/inputs/token-field/token-field.styles.js +2 -0
  266. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  267. package/dist/css/themes/donkergeel.css +5 -6
  268. package/dist/css/themes/geel.css +5 -6
  269. package/dist/css/themes.css +10 -12
  270. package/dist/css/variables.css +2 -6
  271. package/dist/nldd.min.js +1026 -903
  272. package/dist/translations/en-US.d.ts.map +1 -1
  273. package/dist/translations/en-US.js +1 -0
  274. package/dist/translations/en-US.js.map +1 -1
  275. package/dist/translations/fy.d.ts.map +1 -1
  276. package/dist/translations/fy.js +1 -0
  277. package/dist/translations/fy.js.map +1 -1
  278. package/dist/translations/nl.generated.d.ts +1 -0
  279. package/dist/translations/nl.generated.d.ts.map +1 -1
  280. package/dist/translations/pap-AW.d.ts.map +1 -1
  281. package/dist/translations/pap-AW.js +1 -0
  282. package/dist/translations/pap-AW.js.map +1 -1
  283. package/dist/translations/pap-CW.d.ts.map +1 -1
  284. package/dist/translations/pap-CW.js +1 -0
  285. package/dist/translations/pap-CW.js.map +1 -1
  286. package/dist/types/react.d.ts +4 -4
  287. package/dist/types/vue.d.ts +6 -4
  288. package/lint/data.generated.json +1 -1
  289. package/package.json +1 -1
@@ -1,32 +1,32 @@
1
1
  import { t as e } from "./rolldown-runtime-BMBA7GOT.js";
2
- import { $ as t, Ct as n, Dt as r, Et as i, H as a, O as o, Ot as s, S as c, St as l, T as u, _t as d, c as f, d as p, et as m, j as h, l as ee, m as te, mt as g, rt as ne, u as re, v as ie, vt as _, w as ae, wt as v, y as oe, yt as y } from "./languages-CT6Im_c5.js";
3
- import { t as se } from "./dist-CrMq7oqC.js";
4
- import { n as ce, r as le } from "./dist-C8wDJyDH.js";
2
+ import { C as t, Ct as n, Dt as r, E as i, M as a, Ot as o, T as s, Tt as c, U as l, b as u, bt as d, c as f, d as p, et as m, ht as h, it as g, k as _, kt as ee, l as te, m as ne, tt as re, u as v, vt as ie, wt as ae, y as oe, yt as se } from "./languages-B0lgBg4r.js";
3
+ import { t as ce } from "./dist-D8GVh7JF.js";
4
+ import { n as le, r as ue } from "./dist-BA1lxpkp.js";
5
5
  // node_modules/@lezer/markdown/dist/index.js
6
- var ue = class e {
6
+ var de = class e {
7
7
  static create(t, n, r, i, a) {
8
8
  let o = i + (i << 8) + t + (n << 4) | 0;
9
9
  return new e(t, n, r, o, a, [], []);
10
10
  }
11
- constructor(e, t, n, r, i, a, o) {
12
- this.type = e, this.value = t, this.from = n, this.hash = r, this.end = i, this.children = a, this.positions = o, this.hashProp = [[l.contextHash, r]];
11
+ constructor(e, t, r, i, a, o, s) {
12
+ this.type = e, this.value = t, this.from = r, this.hash = i, this.end = a, this.children = o, this.positions = s, this.hashProp = [[n.contextHash, i]];
13
13
  }
14
14
  addChild(e, t) {
15
- e.prop(l.contextHash) != this.hash && (e = new r(e.type, e.children, e.positions, e.length, this.hashProp)), this.children.push(e), this.positions.push(t);
15
+ e.prop(n.contextHash) != this.hash && (e = new o(e.type, e.children, e.positions, e.length, this.hashProp)), this.children.push(e), this.positions.push(t);
16
16
  }
17
17
  toTree(e, t = this.end) {
18
18
  let n = this.children.length - 1;
19
- return n >= 0 && (t = Math.max(t, this.positions[n] + this.children[n].length + this.from)), new r(e.types[this.type], this.children, this.positions, t - this.from).balance({ makeTree: (e, t, n) => new r(v.none, e, t, n, this.hashProp) });
19
+ return n >= 0 && (t = Math.max(t, this.positions[n] + this.children[n].length + this.from)), new o(e.types[this.type], this.children, this.positions, t - this.from).balance({ makeTree: (e, t, n) => new o(c.none, e, t, n, this.hashProp) });
20
20
  }
21
- }, b;
21
+ }, y;
22
22
  (function(e) {
23
23
  e[e.Document = 1] = "Document", e[e.CodeBlock = 2] = "CodeBlock", e[e.FencedCode = 3] = "FencedCode", e[e.Blockquote = 4] = "Blockquote", e[e.HorizontalRule = 5] = "HorizontalRule", e[e.BulletList = 6] = "BulletList", e[e.OrderedList = 7] = "OrderedList", e[e.ListItem = 8] = "ListItem", e[e.ATXHeading1 = 9] = "ATXHeading1", e[e.ATXHeading2 = 10] = "ATXHeading2", e[e.ATXHeading3 = 11] = "ATXHeading3", e[e.ATXHeading4 = 12] = "ATXHeading4", e[e.ATXHeading5 = 13] = "ATXHeading5", e[e.ATXHeading6 = 14] = "ATXHeading6", e[e.SetextHeading1 = 15] = "SetextHeading1", e[e.SetextHeading2 = 16] = "SetextHeading2", e[e.HTMLBlock = 17] = "HTMLBlock", e[e.LinkReference = 18] = "LinkReference", e[e.Paragraph = 19] = "Paragraph", e[e.CommentBlock = 20] = "CommentBlock", e[e.ProcessingInstructionBlock = 21] = "ProcessingInstructionBlock", e[e.Escape = 22] = "Escape", e[e.Entity = 23] = "Entity", e[e.HardBreak = 24] = "HardBreak", e[e.Emphasis = 25] = "Emphasis", e[e.StrongEmphasis = 26] = "StrongEmphasis", e[e.Link = 27] = "Link", e[e.Image = 28] = "Image", e[e.InlineCode = 29] = "InlineCode", e[e.HTMLTag = 30] = "HTMLTag", e[e.Comment = 31] = "Comment", e[e.ProcessingInstruction = 32] = "ProcessingInstruction", e[e.Autolink = 33] = "Autolink", e[e.HeaderMark = 34] = "HeaderMark", e[e.QuoteMark = 35] = "QuoteMark", e[e.ListMark = 36] = "ListMark", e[e.LinkMark = 37] = "LinkMark", e[e.EmphasisMark = 38] = "EmphasisMark", e[e.CodeMark = 39] = "CodeMark", e[e.CodeText = 40] = "CodeText", e[e.CodeInfo = 41] = "CodeInfo", e[e.LinkTitle = 42] = "LinkTitle", e[e.LinkLabel = 43] = "LinkLabel", e[e.URL = 44] = "URL";
24
- })(b || (b = {}));
25
- var de = class {
24
+ })(y || (y = {}));
25
+ var fe = class {
26
26
  constructor(e, t) {
27
27
  this.start = e, this.content = t, this.marks = [], this.parsers = [];
28
28
  }
29
- }, fe = class {
29
+ }, pe = class {
30
30
  constructor() {
31
31
  this.text = "", this.baseIndent = 0, this.basePos = 0, this.depth = 0, this.markers = [], this.pos = 0, this.indent = 0, this.next = -1;
32
32
  }
@@ -38,7 +38,7 @@ var de = class {
38
38
  this.indent = this.countIndent(e, this.pos, this.indent), this.pos = e, this.next = e == this.text.length ? -1 : this.text.charCodeAt(e);
39
39
  }
40
40
  skipSpace(e) {
41
- return S(this.text, e);
41
+ return x(this.text, e);
42
42
  }
43
43
  reset(e) {
44
44
  for (this.text = e, this.baseIndent = this.basePos = this.pos = this.indent = 0, this.forwardInner(), this.depth = 1; this.markers.length;) this.markers.pop();
@@ -68,37 +68,37 @@ var de = class {
68
68
  return e + this.text.slice(this.basePos);
69
69
  }
70
70
  };
71
- function pe(e, t, n) {
71
+ function me(e, t, n) {
72
72
  if (n.pos == n.text.length || e != t.block && n.indent >= t.stack[n.depth + 1].value + n.baseIndent) return !0;
73
73
  if (n.indent >= n.baseIndent + 4) return !1;
74
- let r = (e.type == b.OrderedList ? D : E)(n, t, !1);
75
- return r > 0 && (e.type != b.BulletList || T(n, t, !1) < 0) && n.text.charCodeAt(n.pos + r - 1) == e.value;
74
+ let r = (e.type == y.OrderedList ? E : T)(n, t, !1);
75
+ return r > 0 && (e.type != y.BulletList || C(n, t, !1) < 0) && n.text.charCodeAt(n.pos + r - 1) == e.value;
76
76
  }
77
- var me = {
78
- [b.Blockquote](e, t, n) {
79
- return n.next == 62 && (n.markers.push(R(b.QuoteMark, t.lineStart + n.pos, t.lineStart + n.pos + 1)), n.moveBase(n.pos + (x(n.text.charCodeAt(n.pos + 1)) ? 2 : 1)), e.end = t.lineStart + n.text.length, !0);
77
+ var he = {
78
+ [y.Blockquote](e, t, n) {
79
+ return n.next == 62 && (n.markers.push(R(y.QuoteMark, t.lineStart + n.pos, t.lineStart + n.pos + 1)), n.moveBase(n.pos + (b(n.text.charCodeAt(n.pos + 1)) ? 2 : 1)), e.end = t.lineStart + n.text.length, !0);
80
80
  },
81
- [b.ListItem](e, t, n) {
81
+ [y.ListItem](e, t, n) {
82
82
  return n.indent < n.baseIndent + e.value && n.next > -1 ? !1 : (n.moveBaseColumn(n.baseIndent + e.value), !0);
83
83
  },
84
- [b.OrderedList]: pe,
85
- [b.BulletList]: pe,
86
- [b.Document]() {
84
+ [y.OrderedList]: me,
85
+ [y.BulletList]: me,
86
+ [y.Document]() {
87
87
  return !0;
88
88
  }
89
89
  };
90
- function x(e) {
90
+ function b(e) {
91
91
  return e == 32 || e == 9 || e == 10 || e == 13;
92
92
  }
93
- function S(e, t = 0) {
94
- for (; t < e.length && x(e.charCodeAt(t));) t++;
93
+ function x(e, t = 0) {
94
+ for (; t < e.length && b(e.charCodeAt(t));) t++;
95
95
  return t;
96
96
  }
97
- function he(e, t, n) {
98
- for (; t > n && x(e.charCodeAt(t - 1));) t--;
97
+ function ge(e, t, n) {
98
+ for (; t > n && b(e.charCodeAt(t - 1));) t--;
99
99
  return t;
100
100
  }
101
- function C(e) {
101
+ function S(e) {
102
102
  if (e.next != 96 && e.next != 126) return -1;
103
103
  let t = e.pos + 1;
104
104
  for (; t < e.text.length && e.text.charCodeAt(t) == e.next;) t++;
@@ -108,35 +108,35 @@ function C(e) {
108
108
  }
109
109
  return t;
110
110
  }
111
- function w(e) {
111
+ function _e(e) {
112
112
  return e.next == 62 ? e.text.charCodeAt(e.pos + 1) == 32 ? 2 : 1 : -1;
113
113
  }
114
- function T(e, t, n) {
114
+ function C(e, t, n) {
115
115
  if (e.next != 42 && e.next != 45 && e.next != 95) return -1;
116
116
  let r = 1;
117
117
  for (let t = e.pos + 1; t < e.text.length; t++) {
118
118
  let n = e.text.charCodeAt(t);
119
119
  if (n == e.next) r++;
120
- else if (!x(n)) return -1;
120
+ else if (!b(n)) return -1;
121
121
  }
122
- return n && e.next == 45 && ve(e) > -1 && e.depth == t.stack.length && t.parser.leafBlockParsers.indexOf(Te.SetextHeading) > -1 || r < 3 ? -1 : 1;
122
+ return n && e.next == 45 && ye(e) > -1 && e.depth == t.stack.length && t.parser.leafBlockParsers.indexOf(Te.SetextHeading) > -1 || r < 3 ? -1 : 1;
123
123
  }
124
- function ge(e, t) {
124
+ function w(e, t) {
125
125
  for (let n = e.stack.length - 1; n >= 0; n--) if (e.stack[n].type == t) return !0;
126
126
  return !1;
127
127
  }
128
- function E(e, t, n) {
129
- return (e.next == 45 || e.next == 43 || e.next == 42) && (e.pos == e.text.length - 1 || x(e.text.charCodeAt(e.pos + 1))) && (!n || ge(t, b.BulletList) || e.skipSpace(e.pos + 2) < e.text.length) ? 1 : -1;
128
+ function T(e, t, n) {
129
+ return (e.next == 45 || e.next == 43 || e.next == 42) && (e.pos == e.text.length - 1 || b(e.text.charCodeAt(e.pos + 1))) && (!n || w(t, y.BulletList) || e.skipSpace(e.pos + 2) < e.text.length) ? 1 : -1;
130
130
  }
131
- function D(e, t, n) {
131
+ function E(e, t, n) {
132
132
  let r = e.pos, i = e.next;
133
133
  for (; i >= 48 && i <= 57;) {
134
134
  if (r++, r == e.text.length) return -1;
135
135
  i = e.text.charCodeAt(r);
136
136
  }
137
- return r == e.pos || r > e.pos + 9 || i != 46 && i != 41 || r < e.text.length - 1 && !x(e.text.charCodeAt(r + 1)) || n && !ge(t, b.OrderedList) && (e.skipSpace(r + 1) == e.text.length || r > e.pos + 1 || e.next != 49) ? -1 : r + 1 - e.pos;
137
+ return r == e.pos || r > e.pos + 9 || i != 46 && i != 41 || r < e.text.length - 1 && !b(e.text.charCodeAt(r + 1)) || n && !w(t, y.OrderedList) && (e.skipSpace(r + 1) == e.text.length || r > e.pos + 1 || e.next != 49) ? -1 : r + 1 - e.pos;
138
138
  }
139
- function _e(e) {
139
+ function ve(e) {
140
140
  if (e.next != 35) return -1;
141
141
  let t = e.pos + 1;
142
142
  for (; t < e.text.length && e.text.charCodeAt(t) == 35;) t++;
@@ -144,36 +144,36 @@ function _e(e) {
144
144
  let n = t - e.pos;
145
145
  return n > 6 ? -1 : n;
146
146
  }
147
- function ve(e) {
147
+ function ye(e) {
148
148
  if (e.next != 45 && e.next != 61 || e.indent >= e.baseIndent + 4) return -1;
149
149
  let t = e.pos + 1;
150
150
  for (; t < e.text.length && e.text.charCodeAt(t) == e.next;) t++;
151
151
  let n = t;
152
- for (; t < e.text.length && x(e.text.charCodeAt(t));) t++;
152
+ for (; t < e.text.length && b(e.text.charCodeAt(t));) t++;
153
153
  return t == e.text.length ? n : -1;
154
154
  }
155
- var O = /^[ \t]*$/, ye = /-->/, be = /\?>/, k = [
155
+ var D = /^[ \t]*$/, be = /-->/, xe = /\?>/, O = [
156
156
  [/^<(?:script|pre|style)(?:\s|>|$)/i, /<\/(?:script|pre|style)>/i],
157
- [/^\s*<!--/, ye],
158
- [/^\s*<\?/, be],
157
+ [/^\s*<!--/, be],
158
+ [/^\s*<\?/, xe],
159
159
  [/^\s*<![A-Z]/, />/],
160
160
  [/^\s*<!\[CDATA\[/, /\]\]>/],
161
- [/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i, O],
162
- [/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i, O]
161
+ [/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i, D],
162
+ [/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i, D]
163
163
  ];
164
- function xe(e, t, n) {
164
+ function Se(e, t, n) {
165
165
  if (e.next != 60) return -1;
166
166
  let r = e.text.slice(e.pos);
167
- for (let e = 0, t = k.length - +!!n; e < t; e++) if (k[e][0].test(r)) return e;
167
+ for (let e = 0, t = O.length - +!!n; e < t; e++) if (O[e][0].test(r)) return e;
168
168
  return -1;
169
169
  }
170
- function Se(e, t) {
170
+ function k(e, t) {
171
171
  let n = e.countIndent(t, e.pos, e.indent), r = e.skipSpace(t), i = e.countIndent(r, t, n);
172
172
  return i >= n + 5 || r == e.text.length ? n + 1 : i;
173
173
  }
174
174
  function A(e, t, n) {
175
175
  let r = e.length - 1;
176
- r >= 0 && e[r].to == t && e[r].type == b.CodeText ? e[r].to = n : e.push(R(b.CodeText, t, n));
176
+ r >= 0 && e[r].to == t && e[r].type == y.CodeText ? e[r].to = n : e.push(R(y.CodeText, t, n));
177
177
  }
178
178
  var j = {
179
179
  LinkReference: void 0,
@@ -187,7 +187,7 @@ var j = {
187
187
  } else if (t.indent < n) break;
188
188
  else {
189
189
  if (s.length) {
190
- for (let e of s) e.type == b.CodeText ? A(o, e.from, e.to) : o.push(e);
190
+ for (let e of s) e.type == y.CodeText ? A(o, e.from, e.to) : o.push(e);
191
191
  s = [];
192
192
  }
193
193
  A(o, e.lineStart - 1, e.lineStart);
@@ -196,19 +196,19 @@ var j = {
196
196
  let n = e.lineStart + t.findColumn(t.baseIndent + 4);
197
197
  n < a && A(o, n, a);
198
198
  }
199
- return s.length && (s = s.filter((e) => e.type != b.CodeText), s.length && (t.markers = s.concat(t.markers))), e.addNode(e.buffer.writeElements(o, -i).finish(b.CodeBlock, a - i), i), !0;
199
+ return s.length && (s = s.filter((e) => e.type != y.CodeText), s.length && (t.markers = s.concat(t.markers))), e.addNode(e.buffer.writeElements(o, -i).finish(y.CodeBlock, a - i), i), !0;
200
200
  },
201
201
  FencedCode(e, t) {
202
- let n = C(t);
202
+ let n = S(t);
203
203
  if (n < 0) return !1;
204
- let r = e.lineStart + t.pos, i = t.next, a = n - t.pos, o = t.skipSpace(n), s = he(t.text, t.text.length, o), c = [R(b.CodeMark, r, r + a)];
205
- o < s && c.push(R(b.CodeInfo, e.lineStart + o, e.lineStart + s));
204
+ let r = e.lineStart + t.pos, i = t.next, a = n - t.pos, o = t.skipSpace(n), s = ge(t.text, t.text.length, o), c = [R(y.CodeMark, r, r + a)];
205
+ o < s && c.push(R(y.CodeInfo, e.lineStart + o, e.lineStart + s));
206
206
  for (let n = !0, r = !0, o = !1; e.nextLine() && t.depth >= e.stack.length; n = !1) {
207
207
  let s = t.pos;
208
208
  if (t.indent - t.baseIndent < 4) for (; s < t.text.length && t.text.charCodeAt(s) == i;) s++;
209
209
  if (s - t.pos >= a && t.skipSpace(s) == t.text.length) {
210
210
  for (let e of t.markers) c.push(e);
211
- r && o && A(c, e.lineStart - 1, e.lineStart), c.push(R(b.CodeMark, e.lineStart + t.pos, e.lineStart + s)), e.nextLine();
211
+ r && o && A(c, e.lineStart - 1, e.lineStart), c.push(R(y.CodeMark, e.lineStart + t.pos, e.lineStart + s)), e.nextLine();
212
212
  break;
213
213
  }
214
214
  {
@@ -218,46 +218,46 @@ var j = {
218
218
  i < a && (A(c, i, a), r = !1);
219
219
  }
220
220
  }
221
- return e.addNode(e.buffer.writeElements(c, -r).finish(b.FencedCode, e.prevLineEnd() - r), r), !0;
221
+ return e.addNode(e.buffer.writeElements(c, -r).finish(y.FencedCode, e.prevLineEnd() - r), r), !0;
222
222
  },
223
223
  Blockquote(e, t) {
224
- let n = w(t);
225
- return n < 0 ? !1 : (e.startContext(b.Blockquote, t.pos), e.addNode(b.QuoteMark, e.lineStart + t.pos, e.lineStart + t.pos + 1), t.moveBase(t.pos + n), null);
224
+ let n = _e(t);
225
+ return n < 0 ? !1 : (e.startContext(y.Blockquote, t.pos), e.addNode(y.QuoteMark, e.lineStart + t.pos, e.lineStart + t.pos + 1), t.moveBase(t.pos + n), null);
226
226
  },
227
227
  HorizontalRule(e, t) {
228
- if (T(t, e, !1) < 0) return !1;
228
+ if (C(t, e, !1) < 0) return !1;
229
229
  let n = e.lineStart + t.pos;
230
- return e.nextLine(), e.addNode(b.HorizontalRule, n), !0;
230
+ return e.nextLine(), e.addNode(y.HorizontalRule, n), !0;
231
231
  },
232
232
  BulletList(e, t) {
233
- let n = E(t, e, !1);
233
+ let n = T(t, e, !1);
234
234
  if (n < 0) return !1;
235
- e.block.type != b.BulletList && e.startContext(b.BulletList, t.basePos, t.next);
236
- let r = Se(t, t.pos + 1);
237
- return e.startContext(b.ListItem, t.basePos, r - t.baseIndent), e.addNode(b.ListMark, e.lineStart + t.pos, e.lineStart + t.pos + n), t.moveBaseColumn(r), null;
235
+ e.block.type != y.BulletList && e.startContext(y.BulletList, t.basePos, t.next);
236
+ let r = k(t, t.pos + 1);
237
+ return e.startContext(y.ListItem, t.basePos, r - t.baseIndent), e.addNode(y.ListMark, e.lineStart + t.pos, e.lineStart + t.pos + n), t.moveBaseColumn(r), null;
238
238
  },
239
239
  OrderedList(e, t) {
240
- let n = D(t, e, !1);
240
+ let n = E(t, e, !1);
241
241
  if (n < 0) return !1;
242
- e.block.type != b.OrderedList && e.startContext(b.OrderedList, t.basePos, t.text.charCodeAt(t.pos + n - 1));
243
- let r = Se(t, t.pos + n);
244
- return e.startContext(b.ListItem, t.basePos, r - t.baseIndent), e.addNode(b.ListMark, e.lineStart + t.pos, e.lineStart + t.pos + n), t.moveBaseColumn(r), null;
242
+ e.block.type != y.OrderedList && e.startContext(y.OrderedList, t.basePos, t.text.charCodeAt(t.pos + n - 1));
243
+ let r = k(t, t.pos + n);
244
+ return e.startContext(y.ListItem, t.basePos, r - t.baseIndent), e.addNode(y.ListMark, e.lineStart + t.pos, e.lineStart + t.pos + n), t.moveBaseColumn(r), null;
245
245
  },
246
246
  ATXHeading(e, t) {
247
- let n = _e(t);
247
+ let n = ve(t);
248
248
  if (n < 0) return !1;
249
- let r = t.pos, i = e.lineStart + r, a = he(t.text, t.text.length, r), o = a;
249
+ let r = t.pos, i = e.lineStart + r, a = ge(t.text, t.text.length, r), o = a;
250
250
  for (; o > r && t.text.charCodeAt(o - 1) == t.next;) o--;
251
- o != a && o != r && x(t.text.charCodeAt(o - 1)) || (o = t.text.length);
252
- let s = e.buffer.write(b.HeaderMark, 0, n).writeElements(e.parser.parseInline(t.text.slice(r + n + 1, o), i + n + 1), -i);
253
- o < t.text.length && s.write(b.HeaderMark, o - r, a - r);
254
- let c = s.finish(b.ATXHeading1 - 1 + n, t.text.length - r);
251
+ o != a && o != r && b(t.text.charCodeAt(o - 1)) || (o = t.text.length);
252
+ let s = e.buffer.write(y.HeaderMark, 0, n).writeElements(e.parser.parseInline(t.text.slice(r + n + 1, o), i + n + 1), -i);
253
+ o < t.text.length && s.write(y.HeaderMark, o - r, a - r);
254
+ let c = s.finish(y.ATXHeading1 - 1 + n, t.text.length - r);
255
255
  return e.nextLine(), e.addNode(c, i), !0;
256
256
  },
257
257
  HTMLBlock(e, t) {
258
- let n = xe(t, e, !1);
258
+ let n = Se(t, e, !1);
259
259
  if (n < 0) return !1;
260
- let r = e.lineStart + t.pos, i = k[n][1], a = [], o = i != O;
260
+ let r = e.lineStart + t.pos, i = O[n][1], a = [], o = i != D;
261
261
  for (; !i.test(t.text) && e.nextLine();) {
262
262
  if (t.depth < e.stack.length) {
263
263
  o = !1;
@@ -266,7 +266,7 @@ var j = {
266
266
  for (let e of t.markers) a.push(e);
267
267
  }
268
268
  o && e.nextLine();
269
- let s = i == ye ? b.CommentBlock : i == be ? b.ProcessingInstructionBlock : b.HTMLBlock, c = e.prevLineEnd();
269
+ let s = i == be ? y.CommentBlock : i == xe ? y.ProcessingInstructionBlock : y.HTMLBlock, c = e.prevLineEnd();
270
270
  return e.addNode(e.buffer.writeElements(a, -r).finish(s, c - r), r), !0;
271
271
  },
272
272
  SetextHeading: void 0
@@ -280,10 +280,10 @@ var j = {
280
280
  return i > -1 && i < r.length && this.complete(e, n, i);
281
281
  }
282
282
  finish(e, t) {
283
- return (this.stage == 2 || this.stage == 3) && S(t.content, this.pos) == t.content.length && this.complete(e, t, t.content.length);
283
+ return (this.stage == 2 || this.stage == 3) && x(t.content, this.pos) == t.content.length && this.complete(e, t, t.content.length);
284
284
  }
285
285
  complete(e, t, n) {
286
- return e.addLeafElement(t, R(b.LinkReference, this.start, this.start + n, this.elts)), !0;
286
+ return e.addLeafElement(t, R(y.LinkReference, this.start, this.start + n, this.elts)), !0;
287
287
  }
288
288
  nextStage(e) {
289
289
  return e ? (this.pos = e.to - this.start, this.elts.push(e), this.stage++, !0) : (e === !1 && (this.stage = -1), !1);
@@ -293,11 +293,11 @@ var j = {
293
293
  else if (this.stage == 0) {
294
294
  if (!this.nextStage(Be(e, this.pos, this.start, !0))) return -1;
295
295
  if (e.charCodeAt(this.pos) != 58) return this.stage = -1;
296
- this.elts.push(R(b.LinkMark, this.pos + this.start, this.pos + this.start + 1)), this.pos++;
296
+ this.elts.push(R(y.LinkMark, this.pos + this.start, this.pos + this.start + 1)), this.pos++;
297
297
  } else if (this.stage == 1) {
298
- if (!this.nextStage(Re(e, S(e, this.pos), this.start))) return -1;
298
+ if (!this.nextStage(Re(e, x(e, this.pos), this.start))) return -1;
299
299
  } else if (this.stage == 2) {
300
- let t = S(e, this.pos), n = 0;
300
+ let t = x(e, this.pos), n = 0;
301
301
  if (t > this.pos) {
302
302
  let r = ze(e, t, this.start);
303
303
  if (r) {
@@ -313,16 +313,16 @@ function M(e, t) {
313
313
  for (; t < e.length; t++) {
314
314
  let n = e.charCodeAt(t);
315
315
  if (n == 10) break;
316
- if (!x(n)) return -1;
316
+ if (!b(n)) return -1;
317
317
  }
318
318
  return t;
319
319
  }
320
320
  var we = class {
321
321
  nextLine(e, t, n) {
322
- let r = t.depth < e.stack.length ? -1 : ve(t), i = t.next;
322
+ let r = t.depth < e.stack.length ? -1 : ye(t), i = t.next;
323
323
  if (r < 0) return !1;
324
- let a = R(b.HeaderMark, e.lineStart + t.pos, e.lineStart + r);
325
- return e.nextLine(), e.addLeafElement(n, R(i == 61 ? b.SetextHeading1 : b.SetextHeading2, n.start, e.prevLineEnd(), [...e.parser.parseInline(n.content, n.start), a])), !0;
324
+ let a = R(y.HeaderMark, e.lineStart + t.pos, e.lineStart + r);
325
+ return e.nextLine(), e.addLeafElement(n, R(i == 61 ? y.SetextHeading1 : y.SetextHeading2, n.start, e.prevLineEnd(), [...e.parser.parseInline(n.content, n.start), a])), !0;
326
326
  }
327
327
  finish() {
328
328
  return !1;
@@ -335,19 +335,19 @@ var we = class {
335
335
  return new we();
336
336
  }
337
337
  }, Ee = [
338
+ (e, t) => ve(t) >= 0,
339
+ (e, t) => S(t) >= 0,
338
340
  (e, t) => _e(t) >= 0,
339
- (e, t) => C(t) >= 0,
340
- (e, t) => w(t) >= 0,
341
- (e, t) => E(t, e, !0) >= 0,
342
- (e, t) => D(t, e, !0) >= 0,
343
341
  (e, t) => T(t, e, !0) >= 0,
344
- (e, t) => xe(t, e, !0) >= 0
342
+ (e, t) => E(t, e, !0) >= 0,
343
+ (e, t) => C(t, e, !0) >= 0,
344
+ (e, t) => Se(t, e, !0) >= 0
345
345
  ], De = {
346
346
  text: "",
347
347
  end: 0
348
348
  }, Oe = class {
349
349
  constructor(e, t, n, r) {
350
- this.parser = e, this.input = t, this.ranges = r, this.line = new fe(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = r[r.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = r[0].from, this.block = ue.create(b.Document, 0, this.lineStart, 0, 0), this.stack = [this.block], this.fragments = n.length ? new He(n, t) : null, this.readLine();
350
+ this.parser = e, this.input = t, this.ranges = r, this.line = new pe(), this.atEnd = !1, this.reusePlaceholders = /* @__PURE__ */ new Map(), this.stoppedAt = null, this.rangeI = 0, this.to = r[r.length - 1].to, this.lineStart = this.absoluteLineStart = this.absoluteLineEnd = r[0].from, this.block = de.create(y.Document, 0, this.lineStart, 0, 0), this.stack = [this.block], this.fragments = n.length ? new He(n, t) : null, this.readLine();
351
351
  }
352
352
  get parsedPos() {
353
353
  return this.absoluteLineStart;
@@ -381,7 +381,7 @@ var we = class {
381
381
  break;
382
382
  }
383
383
  if (e.pos == e.text.length) return this.nextLine() ? null : this.finish();
384
- let t = new de(this.lineStart + e.pos, e.text.slice(e.pos));
384
+ let t = new fe(this.lineStart + e.pos, e.text.slice(e.pos));
385
385
  for (let e of this.parser.leafBlockParsers) if (e) {
386
386
  let n = e(this, t);
387
387
  n && t.parsers.push(n);
@@ -437,7 +437,7 @@ var we = class {
437
437
  let { line: e } = this, { text: t, end: n } = this.scanLine(this.absoluteLineStart);
438
438
  for (this.absoluteLineEnd = n, e.reset(t); e.depth < this.stack.length; e.depth++) {
439
439
  let t = this.stack[e.depth], n = this.parser.skipContextMarkup[t.type];
440
- if (!n) throw Error("Unhandled block context " + b[t.type]);
440
+ if (!n) throw Error("Unhandled block context " + y[t.type]);
441
441
  let r = this.line.markers.length;
442
442
  if (!n(t, this, e)) {
443
443
  this.line.markers.length > r && (t.end = this.line.markers[this.line.markers.length - 1].to), e.forward();
@@ -459,13 +459,13 @@ var we = class {
459
459
  return this.atEnd ? this.lineStart : this.lineStart - 1;
460
460
  }
461
461
  startContext(e, t, n = 0) {
462
- this.block = ue.create(e, n, this.lineStart + t, this.block.hash, this.lineStart + this.line.text.length), this.stack.push(this.block);
462
+ this.block = de.create(e, n, this.lineStart + t, this.block.hash, this.lineStart + this.line.text.length), this.stack.push(this.block);
463
463
  }
464
464
  startComposite(e, t, n = 0) {
465
465
  this.startContext(this.parser.getNodeType(e), t, n);
466
466
  }
467
467
  addNode(e, t, n) {
468
- typeof e == "number" && (e = new r(this.parser.nodeSet.types[e], I, I, (n ?? this.prevLineEnd()) - t)), this.block.addChild(e, t - this.block.from);
468
+ typeof e == "number" && (e = new o(this.parser.nodeSet.types[e], I, I, (n ?? this.prevLineEnd()) - t)), this.block.addChild(e, t - this.block.from);
469
469
  }
470
470
  addElement(e) {
471
471
  this.block.addChild(e.toTree(this.parser.nodeSet), e.from - this.block.from);
@@ -487,7 +487,7 @@ var we = class {
487
487
  finishLeaf(e) {
488
488
  for (let t of e.parsers) if (t.finish(this, e)) return;
489
489
  let t = G(this.parser.parseInline(e.content, e.start), e.marks);
490
- this.addNode(this.buffer.writeElements(t, -e.start).finish(b.Paragraph, e.content.length), e.start);
490
+ this.addNode(this.buffer.writeElements(t, -e.start).finish(y.Paragraph, e.content.length), e.start);
491
491
  }
492
492
  elt(e, t, n, r) {
493
493
  return typeof e == "string" ? R(this.parser.getNodeType(e), t, n, r) : new Ne(e, t);
@@ -496,22 +496,22 @@ var we = class {
496
496
  return new Me(this.parser.nodeSet);
497
497
  }
498
498
  };
499
- function ke(e, t, n, i, a) {
500
- let o = e[t].to, s = [], c = [], l = n.from + i;
501
- function u(n, r) {
502
- for (; r ? n >= o : n > o;) {
503
- let r = e[t + 1].from - o;
504
- i += r, n += r, t++, o = e[t].to;
499
+ function ke(e, t, n, r, i) {
500
+ let a = e[t].to, s = [], c = [], l = n.from + r;
501
+ function u(n, i) {
502
+ for (; i ? n >= a : n > a;) {
503
+ let i = e[t + 1].from - a;
504
+ r += i, n += i, t++, a = e[t].to;
505
505
  }
506
506
  }
507
- for (let r = n.firstChild; r; r = r.nextSibling) {
508
- u(r.from + i, !0);
509
- let n = r.from + i, d, f = a.get(r.tree);
510
- f ? d = f : r.to + i > o ? (d = ke(e, t, r, i, a), u(r.to + i, !1)) : d = r.toTree(), s.push(d), c.push(n - l);
507
+ for (let o = n.firstChild; o; o = o.nextSibling) {
508
+ u(o.from + r, !0);
509
+ let n = o.from + r, d, f = i.get(o.tree);
510
+ f ? d = f : o.to + r > a ? (d = ke(e, t, o, r, i), u(o.to + r, !1)) : d = o.toTree(), s.push(d), c.push(n - l);
511
511
  }
512
- return u(n.to + i, !1), new r(n.type, s, c, n.to + i - l, n.tree ? n.tree.propValues : void 0);
512
+ return u(n.to + r, !1), new o(n.type, s, c, n.to + r - l, n.tree ? n.tree.propValues : void 0);
513
513
  }
514
- var Ae = class e extends i {
514
+ var Ae = class e extends r {
515
515
  constructor(e, t, n, r, i, a, o, s, c) {
516
516
  super(), this.nodeSet = e, this.blockParsers = t, this.leafBlockParsers = n, this.blockNames = r, this.endLeafBlock = i, this.skipContextMarkup = a, this.inlineParsers = o, this.inlineNames = s, this.wrappers = c, this.nodeTypes = Object.create(null);
517
517
  for (let t of e.types) this.nodeTypes[t.name] = t.id;
@@ -524,49 +524,49 @@ var Ae = class e extends i {
524
524
  configure(t) {
525
525
  let r = P(t);
526
526
  if (!r) return this;
527
- let { nodeSet: i, skipContextMarkup: a } = this, o = this.blockParsers.slice(), s = this.leafBlockParsers.slice(), c = this.blockNames.slice(), u = this.inlineParsers.slice(), f = this.inlineNames.slice(), p = this.endLeafBlock.slice(), m = this.wrappers;
527
+ let { nodeSet: i, skipContextMarkup: a } = this, o = this.blockParsers.slice(), s = this.leafBlockParsers.slice(), l = this.blockNames.slice(), u = this.inlineParsers.slice(), d = this.inlineNames.slice(), f = this.endLeafBlock.slice(), p = this.wrappers;
528
528
  if (N(r.defineNodes)) {
529
529
  a = Object.assign({}, a);
530
530
  let e = i.types.slice(), t;
531
- for (let n of r.defineNodes) {
532
- let { name: r, block: i, composite: o, style: s } = typeof n == "string" ? { name: n } : n;
531
+ for (let i of r.defineNodes) {
532
+ let { name: r, block: o, composite: s, style: l } = typeof i == "string" ? { name: i } : i;
533
533
  if (e.some((e) => e.name == r)) continue;
534
- o && (a[e.length] = (e, t, n) => o(t, n, e.value));
535
- let c = e.length, u = o ? ["Block", "BlockContext"] : i ? c >= b.ATXHeading1 && c <= b.SetextHeading2 ? [
534
+ s && (a[e.length] = (e, t, n) => s(t, n, e.value));
535
+ let u = e.length, d = s ? ["Block", "BlockContext"] : o ? u >= y.ATXHeading1 && u <= y.SetextHeading2 ? [
536
536
  "Block",
537
537
  "LeafBlock",
538
538
  "Heading"
539
539
  ] : ["Block", "LeafBlock"] : void 0;
540
- e.push(v.define({
541
- id: c,
540
+ e.push(c.define({
541
+ id: u,
542
542
  name: r,
543
- props: u && [[l.group, u]]
544
- })), s && (t || (t = {}), Array.isArray(s) || s instanceof d ? t[r] = s : Object.assign(t, s));
543
+ props: d && [[n.group, d]]
544
+ })), l && (t || (t = {}), Array.isArray(l) || l instanceof ie ? t[r] = l : Object.assign(t, l));
545
545
  }
546
- i = new n(e), t && (i = i.extend(_(t)));
546
+ i = new ae(e), t && (i = i.extend(se(t)));
547
547
  }
548
548
  if (N(r.props) && (i = i.extend(...r.props)), N(r.remove)) for (let e of r.remove) {
549
549
  let t = this.blockNames.indexOf(e), n = this.inlineNames.indexOf(e);
550
550
  t > -1 && (o[t] = s[t] = void 0), n > -1 && (u[n] = void 0);
551
551
  }
552
552
  if (N(r.parseBlock)) for (let e of r.parseBlock) {
553
- let t = c.indexOf(e.name);
553
+ let t = l.indexOf(e.name);
554
554
  if (t > -1) o[t] = e.parse, s[t] = e.leaf;
555
555
  else {
556
- let t = e.before ? F(c, e.before) : e.after ? F(c, e.after) + 1 : c.length - 1;
557
- o.splice(t, 0, e.parse), s.splice(t, 0, e.leaf), c.splice(t, 0, e.name);
556
+ let t = e.before ? F(l, e.before) : e.after ? F(l, e.after) + 1 : l.length - 1;
557
+ o.splice(t, 0, e.parse), s.splice(t, 0, e.leaf), l.splice(t, 0, e.name);
558
558
  }
559
- e.endLeaf && p.push(e.endLeaf);
559
+ e.endLeaf && f.push(e.endLeaf);
560
560
  }
561
561
  if (N(r.parseInline)) for (let e of r.parseInline) {
562
- let t = f.indexOf(e.name);
562
+ let t = d.indexOf(e.name);
563
563
  if (t > -1) u[t] = e.parse;
564
564
  else {
565
- let t = e.before ? F(f, e.before) : e.after ? F(f, e.after) + 1 : f.length - 1;
566
- u.splice(t, 0, e.parse), f.splice(t, 0, e.name);
565
+ let t = e.before ? F(d, e.before) : e.after ? F(d, e.after) + 1 : d.length - 1;
566
+ u.splice(t, 0, e.parse), d.splice(t, 0, e.name);
567
567
  }
568
568
  }
569
- return r.wrap && (m = m.concat(r.wrap)), new e(i, o, s, c, p, a, u, f, m);
569
+ return r.wrap && (p = p.concat(r.wrap)), new e(i, o, s, l, f, a, u, d, p);
570
570
  }
571
571
  getNodeType(e) {
572
572
  let t = this.nodeTypes[e];
@@ -614,11 +614,11 @@ function F(e, t) {
614
614
  if (n < 0) throw RangeError(`Position specified relative to unknown parser ${t}`);
615
615
  return n;
616
616
  }
617
- var je = [v.none];
618
- for (let e = 1, t; t = b[e]; e++) je[e] = v.define({
617
+ var je = [c.none];
618
+ for (let e = 1, t; t = y[e]; e++) je[e] = c.define({
619
619
  id: e,
620
620
  name: t,
621
- props: e >= b.Escape ? [] : [[l.group, e in me ? ["Block", "BlockContext"] : ["Block", "LeafBlock"]]],
621
+ props: e >= y.Escape ? [] : [[n.group, e in he ? ["Block", "BlockContext"] : ["Block", "LeafBlock"]]],
622
622
  top: t == "Document"
623
623
  });
624
624
  var I = [], Me = class {
@@ -633,7 +633,7 @@ var I = [], Me = class {
633
633
  return this;
634
634
  }
635
635
  finish(e, t) {
636
- return r.build({
636
+ return o.build({
637
637
  buffer: this.content,
638
638
  nodeSet: this.nodeSet,
639
639
  reused: this.nodes,
@@ -693,13 +693,13 @@ var U = {
693
693
  Escape(e, t, n) {
694
694
  if (t != 92 || n == e.end - 1) return -1;
695
695
  let r = e.char(n + 1);
696
- for (let t = 0; t < 32; t++) if (Ie.charCodeAt(t) == r) return e.append(R(b.Escape, n, n + 2));
696
+ for (let t = 0; t < 32; t++) if (Ie.charCodeAt(t) == r) return e.append(R(y.Escape, n, n + 2));
697
697
  return -1;
698
698
  },
699
699
  Entity(e, t, n) {
700
700
  if (t != 38) return -1;
701
701
  let r = /^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(n + 1, n + 31));
702
- return r ? e.append(R(b.Entity, n, n + 1 + r[0].length)) : -1;
702
+ return r ? e.append(R(y.Entity, n, n + 1 + r[0].length)) : -1;
703
703
  },
704
704
  InlineCode(e, t, n) {
705
705
  if (t != 96 || n && e.char(n - 1) == 96) return -1;
@@ -707,24 +707,24 @@ var U = {
707
707
  for (; r < e.end && e.char(r) == 96;) r++;
708
708
  let i = r - n, a = 0;
709
709
  for (; r < e.end; r++) if (e.char(r) == 96) {
710
- if (a++, a == i && e.char(r + 1) != 96) return e.append(R(b.InlineCode, n, r + 1, [R(b.CodeMark, n, n + i), R(b.CodeMark, r + 1 - i, r + 1)]));
710
+ if (a++, a == i && e.char(r + 1) != 96) return e.append(R(y.InlineCode, n, r + 1, [R(y.CodeMark, n, n + i), R(y.CodeMark, r + 1 - i, r + 1)]));
711
711
  } else a = 0;
712
712
  return -1;
713
713
  },
714
714
  HTMLTag(e, t, n) {
715
715
  if (t != 60 || n == e.end - 1) return -1;
716
716
  let r = e.slice(n + 1, e.end), i = /^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(r);
717
- if (i) return e.append(R(b.Autolink, n, n + 1 + i[0].length, [
718
- R(b.LinkMark, n, n + 1),
719
- R(b.URL, n + 1, n + i[0].length),
720
- R(b.LinkMark, n + i[0].length, n + 1 + i[0].length)
717
+ if (i) return e.append(R(y.Autolink, n, n + 1 + i[0].length, [
718
+ R(y.LinkMark, n, n + 1),
719
+ R(y.URL, n + 1, n + i[0].length),
720
+ R(y.LinkMark, n + i[0].length, n + 1 + i[0].length)
721
721
  ]));
722
722
  let a = /^!--[^>](?:-[^-]|[^-])*?-->/i.exec(r);
723
- if (a) return e.append(R(b.Comment, n, n + 1 + a[0].length));
723
+ if (a) return e.append(R(y.Comment, n, n + 1 + a[0].length));
724
724
  let o = /^\?[^]*?\?>/.exec(r);
725
- if (o) return e.append(R(b.ProcessingInstruction, n, n + 1 + o[0].length));
725
+ if (o) return e.append(R(y.ProcessingInstruction, n, n + 1 + o[0].length));
726
726
  let s = /^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(r);
727
- return s ? e.append(R(b.HTMLTag, n, n + 1 + s[0].length)) : -1;
727
+ return s ? e.append(R(y.HTMLTag, n, n + 1 + s[0].length)) : -1;
728
728
  },
729
729
  Emphasis(e, t, n) {
730
730
  if (t != 95 && t != 42) return -1;
@@ -734,11 +734,11 @@ var U = {
734
734
  return e.append(new V(t == 95 ? Pe : Fe, n, r, !!f | (p ? 2 : 0)));
735
735
  },
736
736
  HardBreak(e, t, n) {
737
- if (t == 92 && e.char(n + 1) == 10) return e.append(R(b.HardBreak, n, n + 2));
737
+ if (t == 92 && e.char(n + 1) == 10) return e.append(R(y.HardBreak, n, n + 2));
738
738
  if (t == 32) {
739
739
  let t = n + 1;
740
740
  for (; e.char(t) == 32;) t++;
741
- if (e.char(t) == 10 && t >= n + 2) return e.append(R(b.HardBreak, n, t + 1));
741
+ if (e.char(t) == 10 && t >= n + 2) return e.append(R(y.HardBreak, n, t + 1));
742
742
  }
743
743
  return -1;
744
744
  },
@@ -754,7 +754,7 @@ var U = {
754
754
  let r = e.parts[t];
755
755
  if (r instanceof V && (r.type == z || r.type == B)) {
756
756
  if (!r.side || e.skipSpace(r.to) == n && !/[(\[]/.test(e.slice(n + 1, n + 2))) return e.parts[t] = null, -1;
757
- let i = e.takeContent(t), a = e.parts[t] = Le(e, i, r.type == z ? b.Link : b.Image, r.from, n + 1);
757
+ let i = e.takeContent(t), a = e.parts[t] = Le(e, i, r.type == z ? y.Link : y.Image, r.from, n + 1);
758
758
  if (r.type == z) for (let n = 0; n < t; n++) {
759
759
  let t = e.parts[n];
760
760
  t instanceof V && t.type == z && (t.side = 0);
@@ -767,9 +767,9 @@ var U = {
767
767
  };
768
768
  function Le(e, t, n, r, i) {
769
769
  let { text: a } = e, o = e.char(i), s = i;
770
- if (t.unshift(R(b.LinkMark, r, r + (n == b.Image ? 2 : 1))), t.push(R(b.LinkMark, i - 1, i)), o == 40) {
770
+ if (t.unshift(R(y.LinkMark, r, r + (n == y.Image ? 2 : 1))), t.push(R(y.LinkMark, i - 1, i)), o == 40) {
771
771
  let n = e.skipSpace(i + 1), r = Re(a, n - e.offset, e.offset), o;
772
- r && (n = e.skipSpace(r.to), n != r.to && (o = ze(a, n - e.offset, e.offset), o && (n = e.skipSpace(o.to)))), e.char(n) == 41 && (t.push(R(b.LinkMark, i, i + 1)), s = n + 1, r && t.push(r), o && t.push(o), t.push(R(b.LinkMark, n, s)));
772
+ r && (n = e.skipSpace(r.to), n != r.to && (o = ze(a, n - e.offset, e.offset), o && (n = e.skipSpace(o.to)))), e.char(n) == 41 && (t.push(R(y.LinkMark, i, i + 1)), s = n + 1, r && t.push(r), o && t.push(o), t.push(R(y.LinkMark, n, s)));
773
773
  } else if (o == 91) {
774
774
  let n = Be(a, i - e.offset, e.offset, !1);
775
775
  n && (t.push(n), s = n.to);
@@ -780,7 +780,7 @@ function Re(e, t, n) {
780
780
  if (e.charCodeAt(t) == 60) {
781
781
  for (let r = t + 1; r < e.length; r++) {
782
782
  let i = e.charCodeAt(r);
783
- if (i == 62) return R(b.URL, t + n, r + 1 + n);
783
+ if (i == 62) return R(y.URL, t + n, r + 1 + n);
784
784
  if (i == 60 || i == 10) return !1;
785
785
  }
786
786
  return null;
@@ -789,7 +789,7 @@ function Re(e, t, n) {
789
789
  let r = 0, i = t;
790
790
  for (let t = !1; i < e.length; i++) {
791
791
  let n = e.charCodeAt(i);
792
- if (x(n)) break;
792
+ if (b(n)) break;
793
793
  if (t) t = !1;
794
794
  else if (n == 40) r++;
795
795
  else if (n == 41) {
@@ -797,7 +797,7 @@ function Re(e, t, n) {
797
797
  r--;
798
798
  } else n == 92 && (t = !0);
799
799
  }
800
- return i > t ? R(b.URL, t + n, i + n) : i == e.length && null;
800
+ return i > t ? R(y.URL, t + n, i + n) : i == e.length && null;
801
801
  }
802
802
  }
803
803
  function ze(e, t, n) {
@@ -807,7 +807,7 @@ function ze(e, t, n) {
807
807
  for (let r = t + 1, a = !1; r < e.length; r++) {
808
808
  let o = e.charCodeAt(r);
809
809
  if (a) a = !1;
810
- else if (o == i) return R(b.LinkTitle, t + n, r + 1 + n);
810
+ else if (o == i) return R(y.LinkTitle, t + n, r + 1 + n);
811
811
  else o == 92 && (a = !0);
812
812
  }
813
813
  return null;
@@ -816,9 +816,9 @@ function Be(e, t, n, r) {
816
816
  for (let i = !1, a = t + 1, o = Math.min(e.length, a + 999); a < o; a++) {
817
817
  let o = e.charCodeAt(a);
818
818
  if (i) i = !1;
819
- else if (o == 93) return !r && R(b.LinkLabel, t + n, a + 1 + n);
819
+ else if (o == 93) return !r && R(y.LinkLabel, t + n, a + 1 + n);
820
820
  else {
821
- if (r && !x(o) && (r = !1), o == 91) return !1;
821
+ if (r && !b(o) && (r = !1), o == 91) return !1;
822
822
  o == 92 && (i = !0);
823
823
  }
824
824
  }
@@ -900,7 +900,7 @@ var W = class {
900
900
  return t instanceof V ? t : null;
901
901
  }
902
902
  skipSpace(e) {
903
- return S(this.text, e - this.offset) + this.offset;
903
+ return x(this.text, e - this.offset) + this.offset;
904
904
  }
905
905
  elt(e, t, n, r) {
906
906
  return typeof e == "string" ? R(this.parser.getNodeType(e), t, n, r) : new Ne(e, t);
@@ -921,10 +921,10 @@ function G(e, t) {
921
921
  return n;
922
922
  }
923
923
  var Ve = [
924
- b.CodeBlock,
925
- b.ListItem,
926
- b.OrderedList,
927
- b.BulletList
924
+ y.CodeBlock,
925
+ y.ListItem,
926
+ y.OrderedList,
927
+ y.BulletList
928
928
  ], He = class {
929
929
  constructor(e, t) {
930
930
  this.fragments = e, this.input = t, this.i = 0, this.fragment = null, this.fragmentEnd = -1, this.cursor = null, e.length && (this.fragment = e[this.i++]);
@@ -951,25 +951,25 @@ var Ve = [
951
951
  }
952
952
  matches(e) {
953
953
  let t = this.cursor.tree;
954
- return t && t.prop(l.contextHash) == e;
954
+ return t && t.prop(n.contextHash) == e;
955
955
  }
956
956
  takeNodes(e) {
957
- let t = this.cursor, n = this.fragment.offset, i = this.fragmentEnd - +!!this.fragment.openEnd, a = e.absoluteLineStart, o = a, s = e.block.children.length, c = o, l = s;
957
+ let t = this.cursor, n = this.fragment.offset, r = this.fragmentEnd - +!!this.fragment.openEnd, i = e.absoluteLineStart, a = i, s = e.block.children.length, c = a, l = s;
958
958
  for (;;) {
959
- if (t.to - n > i) {
959
+ if (t.to - n > r) {
960
960
  if (t.type.isAnonymous && t.firstChild()) continue;
961
961
  break;
962
962
  }
963
- let a = Ue(t.from - n, e.ranges);
964
- if (t.to - n <= e.ranges[e.rangeI].to) e.addNode(t.tree, a);
963
+ let i = Ue(t.from - n, e.ranges);
964
+ if (t.to - n <= e.ranges[e.rangeI].to) e.addNode(t.tree, i);
965
965
  else {
966
- let n = new r(e.parser.nodeSet.types[b.Paragraph], [], [], 0, e.block.hashProp);
967
- e.reusePlaceholders.set(n, t.tree), e.addNode(n, a);
966
+ let n = new o(e.parser.nodeSet.types[y.Paragraph], [], [], 0, e.block.hashProp);
967
+ e.reusePlaceholders.set(n, t.tree), e.addNode(n, i);
968
968
  }
969
- if (t.type.is("Block") && (Ve.indexOf(t.type.id) < 0 ? (o = t.to - n, s = e.block.children.length) : (o = c, s = l), c = t.to - n, l = e.block.children.length), !t.nextSibling()) break;
969
+ if (t.type.is("Block") && (Ve.indexOf(t.type.id) < 0 ? (a = t.to - n, s = e.block.children.length) : (a = c, s = l), c = t.to - n, l = e.block.children.length), !t.nextSibling()) break;
970
970
  }
971
971
  for (; e.block.children.length > s;) e.block.children.pop(), e.block.positions.pop();
972
- return o - a;
972
+ return a - i;
973
973
  }
974
974
  };
975
975
  function Ue(e, t) {
@@ -980,30 +980,30 @@ function Ue(e, t) {
980
980
  }
981
981
  return n;
982
982
  }
983
- var We = _({
984
- "Blockquote/...": y.quote,
985
- HorizontalRule: y.contentSeparator,
986
- "ATXHeading1/... SetextHeading1/...": y.heading1,
987
- "ATXHeading2/... SetextHeading2/...": y.heading2,
988
- "ATXHeading3/...": y.heading3,
989
- "ATXHeading4/...": y.heading4,
990
- "ATXHeading5/...": y.heading5,
991
- "ATXHeading6/...": y.heading6,
992
- "Comment CommentBlock": y.comment,
993
- Escape: y.escape,
994
- Entity: y.character,
995
- "Emphasis/...": y.emphasis,
996
- "StrongEmphasis/...": y.strong,
997
- "Link/... Image/...": y.link,
998
- "OrderedList/... BulletList/...": y.list,
999
- "BlockQuote/...": y.quote,
1000
- "InlineCode CodeText": y.monospace,
1001
- "URL Autolink": y.url,
1002
- "HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark": y.processingInstruction,
1003
- "CodeInfo LinkLabel": y.labelName,
1004
- LinkTitle: y.string,
1005
- Paragraph: y.content
1006
- }), Ge = new Ae(new n(je).extend(We), Object.keys(j).map((e) => j[e]), Object.keys(j).map((e) => Te[e]), Object.keys(j), Ee, me, Object.keys(U).map((e) => U[e]), Object.keys(U), []);
983
+ var We = se({
984
+ "Blockquote/...": d.quote,
985
+ HorizontalRule: d.contentSeparator,
986
+ "ATXHeading1/... SetextHeading1/...": d.heading1,
987
+ "ATXHeading2/... SetextHeading2/...": d.heading2,
988
+ "ATXHeading3/...": d.heading3,
989
+ "ATXHeading4/...": d.heading4,
990
+ "ATXHeading5/...": d.heading5,
991
+ "ATXHeading6/...": d.heading6,
992
+ "Comment CommentBlock": d.comment,
993
+ Escape: d.escape,
994
+ Entity: d.character,
995
+ "Emphasis/...": d.emphasis,
996
+ "StrongEmphasis/...": d.strong,
997
+ "Link/... Image/...": d.link,
998
+ "OrderedList/... BulletList/...": d.list,
999
+ "BlockQuote/...": d.quote,
1000
+ "InlineCode CodeText": d.monospace,
1001
+ "URL Autolink": d.url,
1002
+ "HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark": d.processingInstruction,
1003
+ "CodeInfo LinkLabel": d.labelName,
1004
+ LinkTitle: d.string,
1005
+ Paragraph: d.content
1006
+ }), Ge = new Ae(new ae(je).extend(We), Object.keys(j).map((e) => j[e]), Object.keys(j).map((e) => Te[e]), Object.keys(j), Ee, he, Object.keys(U).map((e) => U[e]), Object.keys(U), []);
1007
1007
  function Ke(e, t, n) {
1008
1008
  let r = [];
1009
1009
  for (let i = e.firstChild, a = t;; i = i.nextSibling) {
@@ -1018,21 +1018,21 @@ function Ke(e, t, n) {
1018
1018
  }
1019
1019
  function qe(e) {
1020
1020
  let { codeParser: t, htmlParser: n } = e;
1021
- return { wrap: s((e, r) => {
1021
+ return { wrap: ee((e, r) => {
1022
1022
  let i = e.type.id;
1023
- if (t && (i == b.CodeBlock || i == b.FencedCode)) {
1023
+ if (t && (i == y.CodeBlock || i == y.FencedCode)) {
1024
1024
  let n = "";
1025
- if (i == b.FencedCode) {
1026
- let t = e.node.getChild(b.CodeInfo);
1025
+ if (i == y.FencedCode) {
1026
+ let t = e.node.getChild(y.CodeInfo);
1027
1027
  t && (n = r.read(t.from, t.to));
1028
1028
  }
1029
1029
  let a = t(n);
1030
1030
  if (a) return {
1031
1031
  parser: a,
1032
- overlay: (e) => e.type.id == b.CodeText,
1033
- bracketed: i == b.FencedCode
1032
+ overlay: (e) => e.type.id == y.CodeText,
1033
+ bracketed: i == y.FencedCode
1034
1034
  };
1035
- } else if (n && (i == b.HTMLBlock || i == b.HTMLTag || i == b.CommentBlock)) return {
1035
+ } else if (n && (i == y.HTMLBlock || i == y.HTMLTag || i == y.CommentBlock)) return {
1036
1036
  parser: n,
1037
1037
  overlay: Ke(e.node, e.from, e.to)
1038
1038
  };
@@ -1045,10 +1045,10 @@ var Je = {
1045
1045
  }, Ye = {
1046
1046
  defineNodes: [{
1047
1047
  name: "Strikethrough",
1048
- style: { "Strikethrough/...": y.strikethrough }
1048
+ style: { "Strikethrough/...": d.strikethrough }
1049
1049
  }, {
1050
1050
  name: "StrikethroughMark",
1051
- style: y.processingInstruction
1051
+ style: d.processingInstruction
1052
1052
  }],
1053
1053
  parseInline: [{
1054
1054
  name: "Strikethrough",
@@ -1107,16 +1107,16 @@ var Ze = /^[>\s]*\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/, Qe = class {
1107
1107
  },
1108
1108
  {
1109
1109
  name: "TableHeader",
1110
- style: { "TableHeader/...": y.heading }
1110
+ style: { "TableHeader/...": d.heading }
1111
1111
  },
1112
1112
  "TableRow",
1113
1113
  {
1114
1114
  name: "TableCell",
1115
- style: y.content
1115
+ style: d.content
1116
1116
  },
1117
1117
  {
1118
1118
  name: "TableDelimiter",
1119
- style: y.processingInstruction
1119
+ style: d.processingInstruction
1120
1120
  }
1121
1121
  ],
1122
1122
  parseBlock: [{
@@ -1142,10 +1142,10 @@ var Ze = /^[>\s]*\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/, Qe = class {
1142
1142
  defineNodes: [{
1143
1143
  name: "Task",
1144
1144
  block: !0,
1145
- style: y.list
1145
+ style: d.list
1146
1146
  }, {
1147
1147
  name: "TaskMarker",
1148
- style: y.atom
1148
+ style: d.atom
1149
1149
  }],
1150
1150
  parseBlock: [{
1151
1151
  name: "TaskList",
@@ -1202,7 +1202,7 @@ function dt(e, t, n) {
1202
1202
  for (let i = a + 1; i < r.end; i++) {
1203
1203
  let s = r.char(i);
1204
1204
  if (s == e) return r.addElement(r.elt(t, a, i + 1, o.concat(r.elt(n, i, i + 1))));
1205
- if (s == 92 && o.push(r.elt("Escape", i, i++ + 2)), x(s)) break;
1205
+ if (s == 92 && o.push(r.elt("Escape", i, i++ + 2)), b(s)) break;
1206
1206
  }
1207
1207
  return -1;
1208
1208
  };
@@ -1210,10 +1210,10 @@ function dt(e, t, n) {
1210
1210
  var ft = {
1211
1211
  defineNodes: [{
1212
1212
  name: "Superscript",
1213
- style: y.special(y.content)
1213
+ style: d.special(d.content)
1214
1214
  }, {
1215
1215
  name: "SuperscriptMark",
1216
- style: y.processingInstruction
1216
+ style: d.processingInstruction
1217
1217
  }],
1218
1218
  parseInline: [{
1219
1219
  name: "Superscript",
@@ -1222,10 +1222,10 @@ var ft = {
1222
1222
  }, pt = {
1223
1223
  defineNodes: [{
1224
1224
  name: "Subscript",
1225
- style: y.special(y.content)
1225
+ style: d.special(d.content)
1226
1226
  }, {
1227
1227
  name: "SubscriptMark",
1228
- style: y.processingInstruction
1228
+ style: d.processingInstruction
1229
1229
  }],
1230
1230
  parseInline: [{
1231
1231
  name: "Subscript",
@@ -1234,7 +1234,7 @@ var ft = {
1234
1234
  }, mt = {
1235
1235
  defineNodes: [{
1236
1236
  name: "Emoji",
1237
- style: y.character
1237
+ style: d.character
1238
1238
  }],
1239
1239
  parseInline: [{
1240
1240
  name: "Emoji",
@@ -1243,17 +1243,17 @@ var ft = {
1243
1243
  return t != 58 || !(r = /^[a-zA-Z_0-9]+:/.exec(e.slice(n + 1, e.end))) ? -1 : e.addElement(e.elt("Emoji", n, n + 1 + r[0].length));
1244
1244
  }
1245
1245
  }]
1246
- }, ht = /* @__PURE__ */ e({ markdown: () => Ft }), gt = /*@__PURE__*/ te({ commentTokens: { block: {
1246
+ }, ht = /* @__PURE__ */ e({ markdown: () => Ft }), gt = /*@__PURE__*/ ne({ commentTokens: { block: {
1247
1247
  open: "<!--",
1248
1248
  close: "-->"
1249
- } } }), _t = /*@__PURE__*/ new l(), vt = /*@__PURE__*/ Ge.configure({ props: [
1250
- /*@__PURE__*/ ie.add((e) => !e.is("Block") || e.is("Document") || q(e) != null || yt(e) ? void 0 : (e, t) => ({
1249
+ } } }), _t = /*@__PURE__*/ new n(), vt = /*@__PURE__*/ Ge.configure({ props: [
1250
+ /*@__PURE__*/ oe.add((e) => !e.is("Block") || e.is("Document") || q(e) != null || yt(e) ? void 0 : (e, t) => ({
1251
1251
  from: t.doc.lineAt(e.from).to,
1252
1252
  to: e.to
1253
1253
  })),
1254
1254
  /*@__PURE__*/ _t.add(q),
1255
- /*@__PURE__*/ c.add({ Document: () => null }),
1256
- /*@__PURE__*/ u.add({ Document: gt })
1255
+ /*@__PURE__*/ t.add({ Document: () => null }),
1256
+ /*@__PURE__*/ i.add({ Document: gt })
1257
1257
  ] });
1258
1258
  function q(e) {
1259
1259
  let t = /^(?:ATX|Setext)Heading(\d)$/.exec(e.name);
@@ -1271,8 +1271,8 @@ function bt(e, t) {
1271
1271
  }
1272
1272
  return n.to;
1273
1273
  }
1274
- var xt = /*@__PURE__*/ oe.of((e, t, n) => {
1275
- for (let r = o(e).resolveInner(n, -1); r && !(r.from < t); r = r.parent) {
1274
+ var xt = /*@__PURE__*/ u.of((e, t, n) => {
1275
+ for (let r = _(e).resolveInner(n, -1); r && !(r.from < t); r = r.parent) {
1276
1276
  let e = r.type.prop(_t);
1277
1277
  if (e == null) continue;
1278
1278
  let t = bt(r, e);
@@ -1291,7 +1291,7 @@ var St = /*@__PURE__*/ J(vt), Y = /*@__PURE__*/ J(/* @__PURE__ */ vt.configure([
1291
1291
  pt,
1292
1292
  ft,
1293
1293
  mt,
1294
- { props: [/*@__PURE__*/ ie.add({ Table: (e, t) => ({
1294
+ { props: [/*@__PURE__*/ oe.add({ Table: (e, t) => ({
1295
1295
  from: t.doc.lineAt(e.from).to,
1296
1296
  to: e.to
1297
1297
  }) })] }
@@ -1300,7 +1300,7 @@ function Ct(e, t) {
1300
1300
  return (n) => {
1301
1301
  if (n && e) {
1302
1302
  let t = null;
1303
- if (n = /\S*/.exec(n)[0], t = typeof e == "function" ? e(n) : ee.matchLanguageName(e, n, !0), t instanceof ee) return t.support ? t.support.language.parser : p.getSkippingParser(t.load());
1303
+ if (n = /\S*/.exec(n)[0], t = typeof e == "function" ? e(n) : te.matchLanguageName(e, n, !0), t instanceof te) return t.support ? t.support.language.parser : p.getSkippingParser(t.load());
1304
1304
  if (t) return t.parser;
1305
1305
  }
1306
1306
  return t ? t.parser : null;
@@ -1369,79 +1369,79 @@ function Z(e, t, n, r = 0) {
1369
1369
  }
1370
1370
  function Q(e, t) {
1371
1371
  let n = /^[ \t]*/.exec(e)[0].length;
1372
- if (!n || t.facet(ae) != " ") return e;
1373
- let r = g(e, 4, n), i = "";
1372
+ if (!n || t.facet(s) != " ") return e;
1373
+ let r = h(e, 4, n), i = "";
1374
1374
  for (let e = r; e > 0;) e >= 4 ? (i += " ", e -= 4) : (i += " ", e--);
1375
1375
  return i + e.slice(n);
1376
1376
  }
1377
- var Et = (e = {}) => ({ state: n, dispatch: r }) => {
1378
- let i = o(n), { doc: a } = n, s = null, c = n.changeByRange((r) => {
1379
- if (!r.empty || !Y.isActiveAt(n, r.from, -1) && !Y.isActiveAt(n, r.from, 1)) return s = { range: r };
1380
- let o = r.from, c = a.lineAt(o), l = wt(i.resolveInner(o, -1), a);
1381
- for (; l.length && l[l.length - 1].from > o - c.from;) l.pop();
1382
- if (!l.length) return s = { range: r };
1383
- let u = l[l.length - 1];
1384
- if (u.to - u.spaceAfter.length > o - c.from) return s = { range: r };
1385
- let d = o >= u.to - u.spaceAfter.length && !/\S/.test(c.text.slice(u.to));
1386
- if (u.item && d) {
1387
- if (u.item.from < c.from && !/^[\s>]*$/.test(c.text.slice(0, u.to))) return s = { range: r };
1388
- let i = u.node.firstChild, d = u.node.getChild("ListItem", "ListItem");
1389
- if (i.to >= o || d && d.to < o || c.from > 0 && !/[^\s>]/.test(a.lineAt(c.from - 1).text) || e.nonTightLists === !1) {
1390
- let e = l.length > 1 ? l[l.length - 2] : null, n, r = "";
1391
- e && e.item ? (n = c.from + e.from, r = e.marker(a, 1)) : n = c.from + (e ? e.to : 0);
1392
- let i = [{
1393
- from: n,
1377
+ var Et = (e = {}) => ({ state: t, dispatch: n }) => {
1378
+ let r = _(t), { doc: i } = t, a = null, o = t.changeByRange((n) => {
1379
+ if (!n.empty || !Y.isActiveAt(t, n.from, -1) && !Y.isActiveAt(t, n.from, 1)) return a = { range: n };
1380
+ let o = n.from, s = i.lineAt(o), c = wt(r.resolveInner(o, -1), i);
1381
+ for (; c.length && c[c.length - 1].from > o - s.from;) c.pop();
1382
+ if (!c.length) return a = { range: n };
1383
+ let l = c[c.length - 1];
1384
+ if (l.to - l.spaceAfter.length > o - s.from) return a = { range: n };
1385
+ let u = o >= l.to - l.spaceAfter.length && !/\S/.test(s.text.slice(l.to));
1386
+ if (l.item && u) {
1387
+ if (l.item.from < s.from && !/^[\s>]*$/.test(s.text.slice(0, l.to))) return a = { range: n };
1388
+ let r = l.node.firstChild, u = l.node.getChild("ListItem", "ListItem");
1389
+ if (r.to >= o || u && u.to < o || s.from > 0 && !/[^\s>]/.test(i.lineAt(s.from - 1).text) || e.nonTightLists === !1) {
1390
+ let e = c.length > 1 ? c[c.length - 2] : null, t, n = "";
1391
+ e && e.item ? (t = s.from + e.from, n = e.marker(i, 1)) : t = s.from + (e ? e.to : 0);
1392
+ let r = [{
1393
+ from: t,
1394
1394
  to: o,
1395
- insert: r
1395
+ insert: n
1396
1396
  }];
1397
- return u.node.name == "OrderedList" && Z(u.item, a, i, -2), e && e.node.name == "OrderedList" && Z(e.item, a, i), {
1398
- range: t.cursor(n + r.length),
1399
- changes: i
1397
+ return l.node.name == "OrderedList" && Z(l.item, i, r, -2), e && e.node.name == "OrderedList" && Z(e.item, i, r), {
1398
+ range: m.cursor(t + n.length),
1399
+ changes: r
1400
1400
  };
1401
1401
  }
1402
1402
  {
1403
- let e = At(l, n, c);
1403
+ let e = At(c, t, s);
1404
1404
  return {
1405
- range: t.cursor(o + e.length + 1),
1405
+ range: m.cursor(o + e.length + 1),
1406
1406
  changes: {
1407
- from: c.from,
1408
- insert: e + n.lineBreak
1407
+ from: s.from,
1408
+ insert: e + t.lineBreak
1409
1409
  }
1410
1410
  };
1411
1411
  }
1412
1412
  }
1413
- if (u.node.name == "Blockquote" && d && c.from) {
1414
- let e = a.lineAt(c.from - 1), t = />\s*$/.exec(e.text);
1415
- if (t && t.index == u.from) {
1416
- let i = n.changes([{
1417
- from: e.from + t.index,
1413
+ if (l.node.name == "Blockquote" && u && s.from) {
1414
+ let e = i.lineAt(s.from - 1), r = />\s*$/.exec(e.text);
1415
+ if (r && r.index == l.from) {
1416
+ let i = t.changes([{
1417
+ from: e.from + r.index,
1418
1418
  to: e.to
1419
1419
  }, {
1420
- from: c.from + u.from,
1421
- to: c.to
1420
+ from: s.from + l.from,
1421
+ to: s.to
1422
1422
  }]);
1423
1423
  return {
1424
- range: r.map(i),
1424
+ range: n.map(i),
1425
1425
  changes: i
1426
1426
  };
1427
1427
  }
1428
1428
  }
1429
- let f = [];
1430
- u.node.name == "OrderedList" && Z(u.item, a, f);
1431
- let p = u.item && u.item.from < c.from, m = "";
1432
- if (!p || /^[\s\d.)\-+*>]*/.exec(c.text)[0].length >= u.to) for (let e = 0, t = l.length - 1; e <= t; e++) m += e == t && !p ? l[e].marker(a, 1) : l[e].blank(e < t ? g(c.text, 4, l[e + 1].from) - m.length : null);
1433
- let h = o;
1434
- for (; h > c.from && /\s/.test(c.text.charAt(h - c.from - 1));) h--;
1435
- return m = Q(m, n), kt(u.node, n.doc) && (m = At(l, n, c) + n.lineBreak + m), f.push({
1436
- from: h,
1429
+ let d = [];
1430
+ l.node.name == "OrderedList" && Z(l.item, i, d);
1431
+ let f = l.item && l.item.from < s.from, p = "";
1432
+ if (!f || /^[\s\d.)\-+*>]*/.exec(s.text)[0].length >= l.to) for (let e = 0, t = c.length - 1; e <= t; e++) p += e == t && !f ? c[e].marker(i, 1) : c[e].blank(e < t ? h(s.text, 4, c[e + 1].from) - p.length : null);
1433
+ let g = o;
1434
+ for (; g > s.from && /\s/.test(s.text.charAt(g - s.from - 1));) g--;
1435
+ return p = Q(p, t), kt(l.node, t.doc) && (p = At(c, t, s) + t.lineBreak + p), d.push({
1436
+ from: g,
1437
1437
  to: o,
1438
- insert: n.lineBreak + m
1438
+ insert: t.lineBreak + p
1439
1439
  }), {
1440
- range: t.cursor(h + m.length + 1),
1441
- changes: f
1440
+ range: m.cursor(g + p.length + 1),
1441
+ changes: d
1442
1442
  };
1443
1443
  });
1444
- return !s && (r(n.update(c, {
1444
+ return !a && (n(t.update(o, {
1445
1445
  scrollIntoView: !0,
1446
1446
  userEvent: "input"
1447
1447
  })), !0);
@@ -1458,7 +1458,7 @@ function kt(e, t) {
1458
1458
  }
1459
1459
  function At(e, t, n) {
1460
1460
  let r = "";
1461
- for (let t = 0, i = e.length - 2; t <= i; t++) r += e[t].blank(t < i ? g(n.text, 4, e[t + 1].from) - r.length : null, t < i);
1461
+ for (let t = 0, i = e.length - 2; t <= i; t++) r += e[t].blank(t < i ? h(n.text, 4, e[t + 1].from) - r.length : null, t < i);
1462
1462
  return Q(r, t);
1463
1463
  }
1464
1464
  function jt(e, t) {
@@ -1469,46 +1469,46 @@ function jt(e, t) {
1469
1469
  else break;
1470
1470
  return n;
1471
1471
  }
1472
- var Mt = ({ state: e, dispatch: n }) => {
1473
- let r = o(e), i = null, a = e.changeByRange((n) => {
1474
- let a = n.from, { doc: o } = e;
1475
- if (n.empty && Y.isActiveAt(e, n.from)) {
1476
- let n = o.lineAt(a), i = wt(jt(r, a), o);
1477
- if (i.length) {
1478
- let r = i[i.length - 1], o = r.to - r.spaceAfter.length + +!!r.spaceAfter;
1479
- if (a - n.from > o && !/\S/.test(n.text.slice(o, a - n.from))) return {
1480
- range: t.cursor(n.from + o),
1472
+ var Mt = ({ state: e, dispatch: t }) => {
1473
+ let n = _(e), r = null, i = e.changeByRange((t) => {
1474
+ let i = t.from, { doc: a } = e;
1475
+ if (t.empty && Y.isActiveAt(e, t.from)) {
1476
+ let t = a.lineAt(i), r = wt(jt(n, i), a);
1477
+ if (r.length) {
1478
+ let n = r[r.length - 1], a = n.to - n.spaceAfter.length + +!!n.spaceAfter;
1479
+ if (i - t.from > a && !/\S/.test(t.text.slice(a, i - t.from))) return {
1480
+ range: m.cursor(t.from + a),
1481
1481
  changes: {
1482
- from: n.from + o,
1483
- to: a
1482
+ from: t.from + a,
1483
+ to: i
1484
1484
  }
1485
1485
  };
1486
- if (a - n.from == o && (r.item && n.from <= r.item.from || /^[\s>]*$/.test(n.text.slice(0, r.to)))) {
1487
- let i = n.from + r.from;
1488
- if (r.item && r.node.from < r.item.from && /\S/.test(n.text.slice(r.from, r.to))) {
1489
- let a = r.blank(g(n.text, 4, r.to) - g(n.text, 4, r.from));
1490
- return i == n.from && (a = Q(a, e)), {
1491
- range: t.cursor(i + a.length),
1486
+ if (i - t.from == a && (n.item && t.from <= n.item.from || /^[\s>]*$/.test(t.text.slice(0, n.to)))) {
1487
+ let r = t.from + n.from;
1488
+ if (n.item && n.node.from < n.item.from && /\S/.test(t.text.slice(n.from, n.to))) {
1489
+ let i = n.blank(h(t.text, 4, n.to) - h(t.text, 4, n.from));
1490
+ return r == t.from && (i = Q(i, e)), {
1491
+ range: m.cursor(r + i.length),
1492
1492
  changes: {
1493
- from: i,
1494
- to: n.from + r.to,
1495
- insert: a
1493
+ from: r,
1494
+ to: t.from + n.to,
1495
+ insert: i
1496
1496
  }
1497
1497
  };
1498
1498
  }
1499
- if (i < a) return {
1500
- range: t.cursor(i),
1499
+ if (r < i) return {
1500
+ range: m.cursor(r),
1501
1501
  changes: {
1502
- from: i,
1503
- to: a
1502
+ from: r,
1503
+ to: i
1504
1504
  }
1505
1505
  };
1506
1506
  }
1507
1507
  }
1508
1508
  }
1509
- return i = { range: n };
1509
+ return r = { range: t };
1510
1510
  });
1511
- return !i && (n(e.update(a, {
1511
+ return !r && (t(e.update(i, {
1512
1512
  scrollIntoView: !0,
1513
1513
  userEvent: "delete"
1514
1514
  })), !0);
@@ -1518,24 +1518,24 @@ var Mt = ({ state: e, dispatch: n }) => {
1518
1518
  }, {
1519
1519
  key: "Backspace",
1520
1520
  run: Mt
1521
- }], Pt = /*@__PURE__*/ ce({ matchClosingTags: !1 });
1521
+ }], Pt = /*@__PURE__*/ le({ matchClosingTags: !1 });
1522
1522
  function Ft(e = {}) {
1523
- let { codeLanguages: t, defaultCodeLanguage: n, addKeymap: r = !0, base: { parser: i } = St, completeHTMLTags: o = !0, pasteURLAsLink: s = !0, htmlTagLanguage: c = Pt } = e;
1523
+ let { codeLanguages: t, defaultCodeLanguage: n, addKeymap: r = !0, base: { parser: i } = St, completeHTMLTags: a = !0, pasteURLAsLink: o = !0, htmlTagLanguage: s = Pt } = e;
1524
1524
  if (!(i instanceof Ae)) throw RangeError("Base parser provided to `markdown` should be a Markdown parser");
1525
- let l = e.extensions ? [e.extensions] : [], u = [c.support, xt], d;
1526
- s && u.push(zt), n instanceof re ? (u.push(n.support), d = n.language) : n && (d = n);
1525
+ let c = e.extensions ? [e.extensions] : [], u = [s.support, xt], d;
1526
+ o && u.push(zt), n instanceof v ? (u.push(n.support), d = n.language) : n && (d = n);
1527
1527
  let f = t || d ? Ct(t, d) : void 0;
1528
- l.push(qe({
1528
+ c.push(qe({
1529
1529
  codeParser: f,
1530
- htmlParser: c.language.parser
1531
- })), r && u.push(ne.high(a.of(Nt)));
1532
- let p = J(i.configure(l));
1533
- return o && u.push(p.data.of({ autocomplete: It })), new re(p, u);
1530
+ htmlParser: s.language.parser
1531
+ })), r && u.push(g.high(l.of(Nt)));
1532
+ let p = J(i.configure(c));
1533
+ return a && u.push(p.data.of({ autocomplete: It })), new v(p, u);
1534
1534
  }
1535
1535
  function It(e) {
1536
1536
  let { state: t, pos: n } = e, r = /<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n - 25, n));
1537
1537
  if (!r) return null;
1538
- let i = o(t).resolveInner(n, -1);
1538
+ let i = _(t).resolveInner(n, -1);
1539
1539
  for (; i && !i.type.isTop;) {
1540
1540
  if (i.name == "CodeBlock" || i.name == "FencedCode" || i.name == "ProcessingInstructionBlock" || i.name == "CommentBlock" || i.name == "Link" || i.name == "Image") return null;
1541
1541
  i = i.parent;
@@ -1550,15 +1550,15 @@ function It(e) {
1550
1550
  var $ = null;
1551
1551
  function Lt() {
1552
1552
  if ($) return $;
1553
- let e = le(new se(m.create({ extensions: Pt }), 0, !0));
1553
+ let e = ue(new ce(re.create({ extensions: Pt }), 0, !0));
1554
1554
  return $ = e ? e.options : [];
1555
1555
  }
1556
- var Rt = /code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i, zt = /*@__PURE__*/ h.domEventHandlers({ paste: (e, t) => {
1556
+ var Rt = /code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i, zt = /*@__PURE__*/ a.domEventHandlers({ paste: (e, t) => {
1557
1557
  let { main: n } = t.state.selection;
1558
1558
  if (n.empty) return !1;
1559
1559
  let r = e.clipboardData?.getData("text/plain");
1560
1560
  if (!r || !/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(r) || (/^www\./.test(r) && (r = "https://" + r), !Y.isActiveAt(t.state, n.from, 1))) return !1;
1561
- let i = o(t.state), a = !1;
1561
+ let i = _(t.state), a = !1;
1562
1562
  return i.iterate({
1563
1563
  from: n.from,
1564
1564
  to: n.to,