@nldd/design-system 0.30.1 → 0.32.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 (426) hide show
  1. package/custom-elements.json +2319 -110
  2. package/dist/cdn/autoloader.js +139 -139
  3. package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-CLT6C7Ys.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DqkLuze7.js} +5 -5
  5. package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-DYgJcdQr.js} +7 -6
  6. package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-307OSenQ.js} +5 -5
  7. package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-DZx4eWGL.js} +7 -7
  8. package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-D0Z4Yu0y.js} +15 -15
  9. package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-Ez8ID47C.js} +6 -6
  10. package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-Cu1cwuLr.js} +9 -8
  11. package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-7bviCuBj.js} +52 -32
  12. package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-PCr0GO6z.js} +7 -7
  13. package/dist/cdn/chunks/{box-CasAZ5pk.js → box-BOZDuPmd.js} +3 -3
  14. package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-CVXCsvXU.js} +6 -6
  15. package/dist/cdn/chunks/{button-IRm7Oibq.js → button-3Up7cEWx.js} +14 -10
  16. package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-bK3oi0e-.js} +3 -3
  17. package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-DSBBqKvs.js} +2 -2
  18. package/dist/cdn/chunks/{card-BaomP9oB.js → card-CH0xAbO6.js} +4 -4
  19. package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-BwW6TV8v.js} +6 -6
  20. package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-CYR3ChYP.js} +5 -5
  21. package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-D43DeCUk.js} +8 -8
  22. package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group-BVr37vFn.js} +3 -3
  23. package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-B9MjP-Ik.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-CGx_sn9q.js} +13 -13
  25. package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CyEZJm0a.js} +38 -38
  26. package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-BRShjOew.js} +345 -345
  27. package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-B3wQHswI.js} +8 -8
  28. package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-UI2A1nHw.js} +11 -9
  29. package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-GzgjWXSY.js} +3 -3
  30. package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-CF94IDoN.js} +1 -1
  31. package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-BoAnSKOD.js} +14 -12
  32. package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-Dn80yrfN.js} +11 -11
  33. package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-DNdCDV-Z.js} +1 -1
  34. package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-6MEe_hOH.js} +2 -2
  35. package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-QR-as1SF.js} +7 -7
  36. package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-DlNQtR5p.js} +24 -19
  37. package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-9JM8Li8K.js} +1 -1
  38. package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-B5rtEAPd.js} +35 -35
  39. package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-BGxQOo33.js} +103 -103
  40. package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-BKGDiUni.js} +75 -75
  41. package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BvZqEQHV.js} +36 -36
  42. package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C6dhaR9M.js} +12 -12
  43. package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-CIp0mUeR.js} +83 -83
  44. package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-DVm3azdM.js} +66 -66
  45. package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-Drahkxmv.js} +1 -1
  46. package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-Dtrv48QJ.js} +47 -47
  47. package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-Duw9BWmb.js} +307 -307
  48. package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-QKanuZ5c.js} +36 -36
  49. package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-gCusBxjl.js} +66 -66
  50. package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-z3iYo2pQ.js} +80 -80
  51. package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-Dv0ZKI-0.js} +2 -2
  52. package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-Dzp5ncIl.js} +9 -9
  53. package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-kVarufY1.js} +5 -5
  54. package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-B0aEvinG.js} +14 -14
  55. package/dist/cdn/chunks/{form-mkjbjprY.js → form-CvuALdyG.js} +1 -1
  56. package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-BPehBKcl.js} +2 -2
  57. package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BMdwBjn_.js} +29 -3
  58. package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-B0pcB33o.js} +8 -8
  59. package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-DWlfhgMj.js} +3 -3
  60. package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-4orVi9nk.js} +3 -3
  61. package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-DvG8bQx1.js} +155 -103
  62. package/dist/cdn/chunks/{icon-CeybqndL.js → icon-CoujQk37.js} +3 -3
  63. package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-CghwJ1ZM.js} +10 -10
  64. package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-CB8JJxPx.js} +5 -5
  65. package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D7knBYp4.js} +7 -7
  66. package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-DogpZQqB.js} +1 -1
  67. package/dist/cdn/chunks/{image-7aQSrryL.js → image-Cabp3_Mm.js} +19 -14
  68. package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-BA1HLcgr.js} +8 -8
  69. package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-k1iYVZNa.js} +5 -5
  70. package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-MhZkM6ah.js} +5 -5
  71. package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-EHsh2VXL.js} +4 -4
  72. package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-ClT66akm.js} +4 -4
  73. package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-ksBh8Hul.js} +181 -170
  74. package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-B9gG-fEr.js} +6 -6
  75. package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-C3Z_3TDw.js} +2 -2
  76. package/dist/cdn/chunks/{list-D2vWEpYC.js → list-BqJ_ucfa.js} +9 -9
  77. package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-DpQBn1El.js} +74 -73
  78. package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-AVJcFdeh.js} +29 -28
  79. package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-CYxTNgBa.js} +10 -10
  80. package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-BcZ1EP6b.js} +13 -8
  81. package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-D0UrqKlH.js} +7 -7
  82. package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-uvK-8rJG.js} +3 -3
  83. package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-BIPjBdrU.js} +4 -4
  84. package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-DcBe9_qD.js} +4 -4
  85. package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-BFq905uv.js} +6 -6
  86. package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-CXfPMsvc.js} +4 -4
  87. package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-BLibOq1E.js} +8 -6
  88. package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-jk6HesTp.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-Bc53Pa5u.js} +7 -7
  91. package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CYDiJ7CO.js} +40 -16
  92. package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-DTTHJknv.js} +3 -3
  93. package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-C0YU3ss3.js} +3 -3
  94. package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-DsfKUJDd.js} +18 -13
  95. package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-8GWanho5.js} +1 -1
  96. package/dist/cdn/chunks/{page-DpGgV58g.js → page-BIXY8Czs.js} +5 -5
  97. package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-BSPneEMd.js} +5 -5
  98. package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-HrMHOk9c.js} +3 -3
  99. package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-DkV6axw8.js} +7 -7
  100. package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-eZtU3DR2.js} +11 -9
  101. package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-BjXDnHDF.js} +5 -5
  102. package/dist/cdn/chunks/press-feedback-BtUqwC_0.js +12 -0
  103. package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-D5-CB4NJ.js} +14 -15
  104. package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-tXH6BMlN.js} +18 -16
  105. package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-CsgnS_Qn.js} +4 -4
  106. package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DbnG-fR8.js} +7 -7
  107. package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-BUujUoVm.js} +3 -3
  108. package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-BSbmklIR.js} +1 -1
  109. package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-Bi_v5VZB.js} +4 -4
  110. package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Cu-u0TY-.js} +2 -2
  111. package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-DU632DST.js} +2 -2
  112. package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-C4DZxOTU.js} +3 -3
  113. package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-CMAyjE-7.js} +2 -2
  114. package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-DBQ2mD8Y.js} +2 -2
  115. package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-NJcMkh2l.js} +12 -10
  116. package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-Bx0X7A2X.js} +7 -7
  117. package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-BplgOKPc.js} +2 -2
  118. package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-96shetPW.js} +3 -3
  119. package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-D53z8Daa.js} +3 -3
  120. package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-CA3ZYDmC.js} +4 -4
  121. package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-oUXcNchf.js} +8 -8
  122. package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-DhSCulaz.js} +3 -3
  123. package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-CNvkL2ng.js} +5 -5
  124. package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-Ba5O0jF6.js} +12 -11
  125. package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-Bz-xBLrh.js} +2 -2
  126. package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-k1AYw_80.js} +4 -4
  127. package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-DwHGhJ94.js} +7 -7
  128. package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-BTt7hrtq.js} +2 -2
  129. package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-Cq3kBEo7.js} +4 -4
  130. package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-C1_QY9-9.js} +1 -1
  131. package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Y3NC9vFo.js} +4 -4
  132. package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-DEOX-7NN.js} +7 -7
  133. package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-Crml9Hpt.js} +5 -5
  134. package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-XZGIlIIU.js} +7 -7
  135. package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-Bznyirg7.js} +1 -1
  136. package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-4fIhPJQc.js} +6 -6
  137. package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-DPjb_Wtv.js} +6 -6
  138. package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DF96_PUQ.js} +7 -7
  139. package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-CtZpacEn.js} +8 -8
  140. package/dist/cdn/chunks/{table-BLvkO5AG.js → table-S76Xq4j8.js} +5 -5
  141. package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Bzem1z9I.js} +5 -5
  142. package/dist/cdn/chunks/{term-D79d-lz3.js → term-Bbuv7_kb.js} +12 -12
  143. package/dist/cdn/chunks/{text-kRZ3cyId.js → text-C7mSKF-E.js} +4 -4
  144. package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CMXSo5Ra.js} +9 -9
  145. package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-DgkEF4fV.js} +1307 -903
  146. package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
  147. package/dist/cdn/chunks/{text-field-DmKGVJvm.js → text-field-B06CiuOY.js} +8 -6
  148. package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-EQF-fBi4.js} +2 -2
  149. package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CUvhCoHF.js} +16 -14
  150. package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-wgfjQpFB.js} +6 -6
  151. package/dist/cdn/chunks/{title-DsOLSMHj.js → title-Uzi0g--W.js} +5 -5
  152. package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-Cc9j1I4W.js} +9 -9
  153. package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-DeKfh6eM.js} +9 -9
  154. package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-DU2SGR3P.js} +2 -2
  155. package/dist/cdn/chunks/{token-BYCl-dDP.js → token-BC3tY59o.js} +5 -5
  156. package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-BO_hUPuR.js} +13 -11
  157. package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-BWmrbOds.js} +9 -9
  158. package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-jnrwcrih.js} +3 -3
  159. package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-STB4FCnn.js} +4 -4
  160. package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-D7-Iy0U9.js} +3 -11
  161. package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-C1qPjhuT.js} +5 -5
  162. package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-9Iy3niRW.js} +117 -128
  163. package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-AiWXxvEn.js} +6 -6
  164. package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-B4-HS2qN.js} +3 -3
  165. package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-_cQOzDKg.js} +5 -5
  166. package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-yf02zdEy.js} +2 -2
  167. package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-hjpQo7w2.js} +2 -2
  168. package/dist/cdn/chunks/{window-D4rLzdHo.js → window-Br52FScm.js} +4 -4
  169. package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-Z7dHTxzy.js} +3 -3
  170. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  171. package/dist/components/actions/button/button.styles.js +4 -0
  172. package/dist/components/actions/button/button.styles.js.map +1 -1
  173. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  174. package/dist/components/actions/toolbar/toolbar.styles.js +0 -8
  175. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  176. package/dist/components/content/avatar/avatar.styles.js +1 -1
  177. package/dist/components/content/blockquote/blockquote.d.ts +2 -2
  178. package/dist/components/content/blockquote/blockquote.js +2 -2
  179. package/dist/components/content/blockquote/blockquote.styles.js +2 -2
  180. package/dist/components/content/icon/icon.d.ts +1 -1
  181. package/dist/components/content/icon/icon.js +1 -1
  182. package/dist/components/content/icon/icon.styles.js +1 -1
  183. package/dist/components/content/identity/identity.d.ts +1 -1
  184. package/dist/components/content/identity/identity.js +1 -1
  185. package/dist/components/content/image/image.d.ts +2 -2
  186. package/dist/components/content/image/image.d.ts.map +1 -1
  187. package/dist/components/content/image/image.js +3 -3
  188. package/dist/components/content/image/image.js.map +1 -1
  189. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  190. package/dist/components/content/image/image.styles.js +5 -2
  191. package/dist/components/content/image/image.styles.js.map +1 -1
  192. package/dist/components/content/image/image.template.d.ts.map +1 -1
  193. package/dist/components/content/image/image.template.js +3 -1
  194. package/dist/components/content/image/image.template.js.map +1 -1
  195. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +1 -1
  196. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +1 -1
  197. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +1 -1
  198. package/dist/components/content/text/text.d.ts +1 -1
  199. package/dist/components/content/text/text.js +1 -1
  200. package/dist/components/inputs/checkbox/checkbox.d.ts +1 -1
  201. package/dist/components/inputs/checkbox/checkbox.js +1 -1
  202. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +1 -1
  203. package/dist/components/inputs/checkbox-field/checkbox-field.js +1 -1
  204. package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
  205. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  206. package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
  207. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  208. package/dist/components/inputs/date-field/date-field.d.ts +1 -1
  209. package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
  210. package/dist/components/inputs/date-field/date-field.styles.js +2 -0
  211. package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
  212. package/dist/components/inputs/date-picker/date-picker.d.ts +1 -1
  213. package/dist/components/inputs/date-picker/date-picker.js +1 -1
  214. package/dist/components/inputs/file-field/file-field.d.ts +1 -1
  215. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
  216. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  217. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
  218. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  219. package/dist/components/inputs/number-field/number-field.d.ts +10 -2
  220. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  221. package/dist/components/inputs/number-field/number-field.js +32 -4
  222. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  223. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  224. package/dist/components/inputs/number-field/number-field.styles.js +15 -5
  225. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  226. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +10 -3
  227. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  228. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +16 -6
  229. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  230. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  231. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
  232. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  233. package/dist/components/inputs/password-field/password-field.d.ts +1 -1
  234. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  235. package/dist/components/inputs/password-field/password-field.styles.js +2 -0
  236. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  237. package/dist/components/inputs/radio-button/radio-button.d.ts +1 -1
  238. package/dist/components/inputs/radio-button/radio-button.js +1 -1
  239. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +1 -1
  240. package/dist/components/inputs/radio-button-field/radio-button-field.js +1 -1
  241. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  242. package/dist/components/inputs/search-field/search-field.styles.js +2 -0
  243. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  244. package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
  245. package/dist/components/inputs/slider/slider.styles.js +3 -2
  246. package/dist/components/inputs/slider/slider.styles.js.map +1 -1
  247. package/dist/components/inputs/switch/switch.d.ts +1 -1
  248. package/dist/components/inputs/switch/switch.js +1 -1
  249. package/dist/components/inputs/switch/switch.styles.js +1 -1
  250. package/dist/components/inputs/switch-field/switch-field.d.ts +1 -1
  251. package/dist/components/inputs/switch-field/switch-field.js +1 -1
  252. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -1
  253. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
  254. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
  255. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
  256. package/dist/components/inputs/text-editor/text-editor.commands.d.ts +1 -0
  257. package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
  258. package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
  259. package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
  260. package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
  261. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  262. package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
  263. package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
  264. package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
  265. package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
  266. package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
  267. package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
  268. package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
  269. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
  270. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
  271. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
  272. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
  273. package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
  274. package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
  275. package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
  276. package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
  277. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -0
  278. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  279. package/dist/components/inputs/text-editor/text-editor.i18n.js +3 -0
  280. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  281. package/dist/components/inputs/text-editor/text-editor.js +67 -6
  282. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  283. package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
  284. package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
  285. package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
  286. package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
  287. package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -0
  288. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  289. package/dist/components/inputs/text-editor/text-editor.links.js +41 -12
  290. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  291. package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
  292. package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
  293. package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
  294. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  295. package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
  296. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  297. package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
  298. package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
  299. package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
  300. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
  301. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  302. package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
  303. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  304. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  305. package/dist/components/inputs/text-editor/text-editor.styles.js +116 -12
  306. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  307. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
  308. package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
  309. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
  310. package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
  311. package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
  312. package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
  313. package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
  314. package/dist/components/inputs/text-field/text-field.d.ts +1 -1
  315. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  316. package/dist/components/inputs/text-field/text-field.styles.js +2 -0
  317. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  318. package/dist/components/inputs/time-field/time-field.d.ts +1 -1
  319. package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
  320. package/dist/components/inputs/time-field/time-field.styles.js +2 -0
  321. package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
  322. package/dist/components/inputs/time-picker/time-picker.d.ts +1 -1
  323. package/dist/components/inputs/time-picker/time-picker.js +1 -1
  324. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  325. package/dist/components/inputs/token-field/token-field.styles.js +2 -0
  326. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  327. package/dist/components/layout/page-sections/hero/hero-corner.d.ts +3 -3
  328. package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
  329. package/dist/components/layout/page-sections/hero/hero-corner.js +31 -24
  330. package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
  331. package/dist/components/layout/page-sections/hero/hero-corner.styles.js +9 -9
  332. package/dist/components/layout/page-sections/hero/hero.d.ts +32 -28
  333. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  334. package/dist/components/layout/page-sections/hero/hero.js +40 -33
  335. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  336. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  337. package/dist/components/layout/page-sections/hero/hero.styles.js +61 -23
  338. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  339. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +20 -10
  340. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  341. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +80 -32
  342. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  343. package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
  344. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
  345. package/dist/components/lists-and-tables/list-item/list-item.d.ts +2 -1
  346. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  347. package/dist/components/lists-and-tables/list-item/list-item.js +6 -3
  348. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  349. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +1 -0
  350. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  351. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +4 -2
  352. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  353. package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -1
  354. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  355. package/dist/components/navigation/menu-bar/menu-bar.js +21 -7
  356. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  357. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  358. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +4 -0
  359. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  360. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -3
  361. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  362. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +5 -3
  363. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  364. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  365. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +10 -21
  366. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  367. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
  368. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -1
  369. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
  370. package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
  371. package/dist/components/status-and-feedback/banner/banner.styles.js +1 -0
  372. package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
  373. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  374. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -7
  375. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  376. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -0
  377. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  378. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -8
  379. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  380. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +6 -6
  381. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
  382. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
  383. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +0 -1
  384. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
  385. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +3 -2
  386. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  387. package/dist/components/status-and-feedback/status-bar/status-bar.js +3 -2
  388. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  389. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
  390. package/dist/css/rich-text.css +2 -3
  391. package/dist/css/themes/donkergeel.css +5 -6
  392. package/dist/css/themes/geel.css +5 -6
  393. package/dist/css/themes.css +10 -12
  394. package/dist/css/variables.css +24 -15
  395. package/dist/nldd.min.js +1006 -846
  396. package/dist/translations/en-US.d.ts.map +1 -1
  397. package/dist/translations/en-US.js +1 -0
  398. package/dist/translations/en-US.js.map +1 -1
  399. package/dist/translations/fy.d.ts.map +1 -1
  400. package/dist/translations/fy.js +1 -0
  401. package/dist/translations/fy.js.map +1 -1
  402. package/dist/translations/nl.generated.d.ts +1 -0
  403. package/dist/translations/nl.generated.d.ts.map +1 -1
  404. package/dist/translations/pap-AW.d.ts.map +1 -1
  405. package/dist/translations/pap-AW.js +1 -0
  406. package/dist/translations/pap-AW.js.map +1 -1
  407. package/dist/translations/pap-CW.d.ts.map +1 -1
  408. package/dist/translations/pap-CW.js +1 -0
  409. package/dist/translations/pap-CW.js.map +1 -1
  410. package/dist/types/react.d.ts +40 -44
  411. package/dist/types/vue.d.ts +213 -55
  412. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  413. package/dist/utilities/dev-rules.generated.js +23 -18
  414. package/dist/utilities/dev-rules.generated.js.map +1 -1
  415. package/dist/utilities/form-associated-mixin.d.ts +10 -0
  416. package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
  417. package/dist/utilities/form-associated-mixin.js +49 -0
  418. package/dist/utilities/form-associated-mixin.js.map +1 -1
  419. package/dist/utilities/press-feedback.d.ts +16 -0
  420. package/dist/utilities/press-feedback.d.ts.map +1 -0
  421. package/dist/utilities/press-feedback.js +27 -0
  422. package/dist/utilities/press-feedback.js.map +1 -0
  423. package/lint/data.generated.json +1 -1
  424. package/lint/fix.js +43 -6
  425. package/lint/rule.schema.json +2 -1
  426. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { n as e } from "./decorate-CuJsiFnl.js";
1
+ import { n as e } from "./decorate-DNdCDV-Z.js";
2
2
  import { t } from "./defer-focus-F73ud2D9.js";
3
3
  // node_modules/@lezer/common/dist/index.js
4
4
  var n = 1024, r = 0, i = class {
@@ -9378,7 +9378,7 @@ var Cl = /*@__PURE__*/ new a(), $ = class {
9378
9378
  constructor(e, t, n = [], r = "") {
9379
9379
  this.data = e, this.name = r, I.prototype.hasOwnProperty("tree") || Object.defineProperty(I.prototype, "tree", { get() {
9380
9380
  return El(this);
9381
- } }), this.parser = t, this.extension = [Fl.of(this), I.languageData.of((e, t, n) => {
9381
+ } }), this.parser = t, this.extension = [Il.of(this), I.languageData.of((e, t, n) => {
9382
9382
  let r = wl(e, t, n), i = r.type.prop(xl);
9383
9383
  if (!i) return [];
9384
9384
  let a = e.facet(i), o = r.type.prop(Cl);
@@ -9396,7 +9396,7 @@ var Cl = /*@__PURE__*/ new a(), $ = class {
9396
9396
  return wl(e, t, n).type.prop(xl) == this.data;
9397
9397
  }
9398
9398
  findRegions(e) {
9399
- let t = e.facet(Fl);
9399
+ let t = e.facet(Il);
9400
9400
  if (t?.data == this.data) return [{
9401
9401
  from: 0,
9402
9402
  to: e.doc.length
@@ -9441,7 +9441,7 @@ var Cl = /*@__PURE__*/ new a(), $ = class {
9441
9441
  };
9442
9442
  $.setState = /*@__PURE__*/ P.define();
9443
9443
  function wl(e, t, n) {
9444
- let r = e.facet(Fl), i = El(e).topNode;
9444
+ let r = e.facet(Il), i = El(e).topNode;
9445
9445
  if (!r || r.allowsNesting) for (let e = i; e; e = e.enter(t, n, f.ExcludeBuffers | f.EnterBracketed)) e.type.isTop && (i = e);
9446
9446
  return i;
9447
9447
  }
@@ -9464,7 +9464,18 @@ function El(e) {
9464
9464
  let t = e.field($.state, !1);
9465
9465
  return t ? t.tree : p.empty;
9466
9466
  }
9467
- var Dl = class {
9467
+ function Dl(e, t, n = 50) {
9468
+ let r = e.field($.state, !1)?.context;
9469
+ if (!r) return null;
9470
+ let i = r.viewport;
9471
+ r.updateViewport({
9472
+ from: 0,
9473
+ to: t
9474
+ });
9475
+ let a = r.isDone(t) || r.work(n, t) ? r.tree : null;
9476
+ return r.updateViewport(i), a;
9477
+ }
9478
+ var Ol = class {
9468
9479
  constructor(e) {
9469
9480
  this.doc = e, this.cursorPos = 0, this.string = "", this.cursor = e.iter();
9470
9481
  }
@@ -9484,7 +9495,7 @@ var Dl = class {
9484
9495
  let n = this.cursorPos - this.string.length;
9485
9496
  return e < n || t >= this.cursorPos ? this.doc.sliceString(e, t) : this.string.slice(e - n, t - n);
9486
9497
  }
9487
- }, Ol = null, kl = class e {
9498
+ }, kl = null, Al = class e {
9488
9499
  constructor(e, t, n = [], r, i, a, o, s) {
9489
9500
  this.parser = e, this.state = t, this.fragments = n, this.tree = r, this.treeLen = i, this.viewport = a, this.skipped = o, this.scheduleOn = s, this.parse = null, this.tempSkipped = [];
9490
9501
  }
@@ -9492,7 +9503,7 @@ var Dl = class {
9492
9503
  return new e(t, n, [], p.empty, 0, r, [], null);
9493
9504
  }
9494
9505
  startParse() {
9495
- return this.parser.startParse(new Dl(this.state.doc), this.fragments);
9506
+ return this.parser.startParse(new Ol(this.state.doc), this.fragments);
9496
9507
  }
9497
9508
  work(e, t) {
9498
9509
  return t != null && t >= this.state.doc.length && (t = void 0), this.tree != p.empty && this.isDone(t ?? this.state.doc.length) ? (this.takeTree(), !0) : this.withContext(() => {
@@ -9517,16 +9528,16 @@ var Dl = class {
9517
9528
  }), this.treeLen = e, this.tree = t, this.fragments = this.withoutTempSkipped(ue.addTree(this.tree, this.fragments, !0)), this.parse = null);
9518
9529
  }
9519
9530
  withContext(e) {
9520
- let t = Ol;
9521
- Ol = this;
9531
+ let t = kl;
9532
+ kl = this;
9522
9533
  try {
9523
9534
  return e();
9524
9535
  } finally {
9525
- Ol = t;
9536
+ kl = t;
9526
9537
  }
9527
9538
  }
9528
9539
  withoutTempSkipped(e) {
9529
- for (let t; t = this.tempSkipped.pop();) e = Al(e, t.from, t.to);
9540
+ for (let t; t = this.tempSkipped.pop();) e = jl(e, t.from, t.to);
9530
9541
  return e;
9531
9542
  }
9532
9543
  changes(t, n) {
@@ -9560,7 +9571,7 @@ var Dl = class {
9560
9571
  let t = this.skipped.length;
9561
9572
  for (let t = 0; t < this.skipped.length; t++) {
9562
9573
  let { from: n, to: r } = this.skipped[t];
9563
- n < e.to && r > e.from && (this.fragments = Al(this.fragments, n, r), this.skipped.splice(t--, 1));
9574
+ n < e.to && r > e.from && (this.fragments = jl(this.fragments, n, r), this.skipped.splice(t--, 1));
9564
9575
  }
9565
9576
  return this.skipped.length >= t ? !1 : (this.reset(), !0);
9566
9577
  }
@@ -9580,7 +9591,7 @@ var Dl = class {
9580
9591
  return {
9581
9592
  parsedPos: i,
9582
9593
  advance() {
9583
- let t = Ol;
9594
+ let t = kl;
9584
9595
  if (t) {
9585
9596
  for (let e of r) t.tempSkipped.push(e);
9586
9597
  e && (t.scheduleOn = t.scheduleOn ? Promise.all([t.scheduleOn, e]) : e);
@@ -9599,10 +9610,10 @@ var Dl = class {
9599
9610
  return this.treeLen >= e && t.length && t[0].from == 0 && t[0].to >= e;
9600
9611
  }
9601
9612
  static get() {
9602
- return Ol;
9613
+ return kl;
9603
9614
  }
9604
9615
  };
9605
- function Al(e, t, n) {
9616
+ function jl(e, t, n) {
9606
9617
  return ue.applyChanges(e, [{
9607
9618
  fromA: t,
9608
9619
  toA: n,
@@ -9610,7 +9621,7 @@ function Al(e, t, n) {
9610
9621
  toB: n
9611
9622
  }]);
9612
9623
  }
9613
- var jl = class e {
9624
+ var Ml = class e {
9614
9625
  constructor(e) {
9615
9626
  this.context = e, this.tree = e.tree;
9616
9627
  }
@@ -9620,7 +9631,7 @@ var jl = class e {
9620
9631
  return n.work(20, r) || n.takeTree(), new e(n);
9621
9632
  }
9622
9633
  static init(t) {
9623
- let n = Math.min(3e3, t.doc.length), r = kl.create(t.facet(Fl).parser, t, {
9634
+ let n = Math.min(3e3, t.doc.length), r = Al.create(t.facet(Il).parser, t, {
9624
9635
  from: 0,
9625
9636
  to: n
9626
9637
  });
@@ -9628,23 +9639,23 @@ var jl = class e {
9628
9639
  }
9629
9640
  };
9630
9641
  $.state = /*@__PURE__*/ Ut.define({
9631
- create: jl.init,
9642
+ create: Ml.init,
9632
9643
  update(e, t) {
9633
9644
  for (let e of t.effects) if (e.is($.setState)) return e.value;
9634
- return t.startState.facet(Fl) == t.state.facet(Fl) ? e.apply(t) : jl.init(t.state);
9645
+ return t.startState.facet(Il) == t.state.facet(Il) ? e.apply(t) : Ml.init(t.state);
9635
9646
  }
9636
9647
  });
9637
- var Ml = (e) => {
9648
+ var Nl = (e) => {
9638
9649
  let t = setTimeout(() => e(), 500);
9639
9650
  return () => clearTimeout(t);
9640
9651
  };
9641
- typeof requestIdleCallback < "u" && (Ml = (e) => {
9652
+ typeof requestIdleCallback < "u" && (Nl = (e) => {
9642
9653
  let t = -1, n = setTimeout(() => {
9643
9654
  t = requestIdleCallback(e, { timeout: 400 });
9644
9655
  }, 100);
9645
9656
  return () => t < 0 ? clearTimeout(n) : cancelIdleCallback(t);
9646
9657
  });
9647
- var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () => navigator.scheduling.isInputPending() : null, Pl = /*@__PURE__*/ Ui.fromClass(class {
9658
+ var Pl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () => navigator.scheduling.isInputPending() : null, Fl = /*@__PURE__*/ Ui.fromClass(class {
9648
9659
  constructor(e) {
9649
9660
  this.view = e, this.working = null, this.workScheduled = 0, this.chunkEnd = -1, this.chunkBudget = -1, this.work = this.work.bind(this), this.scheduleWork();
9650
9661
  }
@@ -9655,7 +9666,7 @@ var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () =>
9655
9666
  scheduleWork() {
9656
9667
  if (this.working) return;
9657
9668
  let { state: e } = this.view, t = e.field($.state);
9658
- t.tree == t.context.tree && t.context.isDone(e.doc.length) || (this.working = Ml(this.work));
9669
+ t.tree == t.context.tree && t.context.isDone(e.doc.length) || (this.working = Nl(this.work));
9659
9670
  }
9660
9671
  work(e) {
9661
9672
  this.working = null;
@@ -9663,8 +9674,8 @@ var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () =>
9663
9674
  if (this.chunkEnd < t && (this.chunkEnd < 0 || this.view.hasFocus) && (this.chunkEnd = t + 3e4, this.chunkBudget = 3e3), this.chunkBudget <= 0) return;
9664
9675
  let { state: n, viewport: { to: r } } = this.view, i = n.field($.state);
9665
9676
  if (i.tree == i.context.tree && i.context.isDone(r + 1e5)) return;
9666
- let a = Date.now() + Math.min(this.chunkBudget, 100, e && !Nl ? Math.max(25, e.timeRemaining() - 5) : 1e9), o = i.context.treeLen < r && n.doc.length > r + 1e3, s = i.context.work(() => Nl && Nl() || Date.now() > a, r + (o ? 0 : 1e5));
9667
- this.chunkBudget -= Date.now() - t, (s || this.chunkBudget <= 0) && (i.context.takeTree(), this.view.dispatch({ effects: $.setState.of(new jl(i.context)) })), this.chunkBudget > 0 && (!s || o) && this.scheduleWork(), this.checkAsyncSchedule(i.context);
9677
+ let a = Date.now() + Math.min(this.chunkBudget, 100, e && !Pl ? Math.max(25, e.timeRemaining() - 5) : 1e9), o = i.context.treeLen < r && n.doc.length > r + 1e3, s = i.context.work(() => Pl && Pl() || Date.now() > a, r + (o ? 0 : 1e5));
9678
+ this.chunkBudget -= Date.now() - t, (s || this.chunkBudget <= 0) && (i.context.takeTree(), this.view.dispatch({ effects: $.setState.of(new Ml(i.context)) })), this.chunkBudget > 0 && (!s || o) && this.scheduleWork(), this.checkAsyncSchedule(i.context);
9668
9679
  }
9669
9680
  checkAsyncSchedule(e) {
9670
9681
  e.scheduleOn && (this.workScheduled++, e.scheduleOn.then(() => this.scheduleWork()).catch((e) => K(this.view.state, e)).then(() => this.workScheduled--), e.scheduleOn = null);
@@ -9677,23 +9688,23 @@ var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () =>
9677
9688
  }
9678
9689
  }, { eventHandlers: { focus() {
9679
9690
  this.scheduleWork();
9680
- } } }), Fl = /*@__PURE__*/ N.define({
9691
+ } } }), Il = /*@__PURE__*/ N.define({
9681
9692
  combine(e) {
9682
9693
  return e.length ? e[0] : null;
9683
9694
  },
9684
9695
  enables: (e) => [
9685
9696
  $.state,
9686
- Pl,
9697
+ Fl,
9687
9698
  Q.contentAttributes.compute([e], (t) => {
9688
9699
  let n = t.facet(e);
9689
9700
  return n && n.name ? { "data-language": n.name } : {};
9690
9701
  })
9691
9702
  ]
9692
- }), Il = class {
9703
+ }), Ll = class {
9693
9704
  constructor(e, t = []) {
9694
9705
  this.language = e, this.support = t, this.extension = [e, t];
9695
9706
  }
9696
- }, Ll = class e {
9707
+ }, Rl = class e {
9697
9708
  constructor(e, t, n, r, i, a = void 0) {
9698
9709
  this.name = e, this.alias = t, this.extensions = n, this.filename = r, this.loadFunc = i, this.support = a, this.loading = null;
9699
9710
  }
@@ -9727,18 +9738,18 @@ var Nl = typeof navigator < "u" && navigator.scheduling?.isInputPending ? () =>
9727
9738
  }
9728
9739
  return null;
9729
9740
  }
9730
- }, Rl = /*@__PURE__*/ N.define(), zl = /*@__PURE__*/ N.define({ combine: (e) => {
9741
+ }, zl = /*@__PURE__*/ N.define(), Bl = /*@__PURE__*/ N.define({ combine: (e) => {
9731
9742
  if (!e.length) return " ";
9732
9743
  let t = e[0];
9733
9744
  if (!t || /\S/.test(t) || Array.from(t).some((e) => e != t[0])) throw Error("Invalid indent unit: " + JSON.stringify(e[0]));
9734
9745
  return t;
9735
9746
  } });
9736
- function Bl(e) {
9737
- let t = e.facet(zl);
9747
+ function Vl(e) {
9748
+ let t = e.facet(Bl);
9738
9749
  return t.charCodeAt(0) == 9 ? e.tabSize * t.length : t.length;
9739
9750
  }
9740
- function Vl(e, t) {
9741
- let n = "", r = e.tabSize, i = e.facet(zl)[0];
9751
+ function Hl(e, t) {
9752
+ let n = "", r = e.tabSize, i = e.facet(Bl)[0];
9742
9753
  if (i == " ") {
9743
9754
  for (; t >= r;) n += " ", t -= r;
9744
9755
  i = " ";
@@ -9746,18 +9757,18 @@ function Vl(e, t) {
9746
9757
  for (let e = 0; e < t; e++) n += i;
9747
9758
  return n;
9748
9759
  }
9749
- function Hl(e, t) {
9750
- e instanceof I && (e = new Ul(e));
9751
- for (let n of e.state.facet(Rl)) {
9760
+ function Ul(e, t) {
9761
+ e instanceof I && (e = new Wl(e));
9762
+ for (let n of e.state.facet(zl)) {
9752
9763
  let r = n(e, t);
9753
9764
  if (r !== void 0) return r;
9754
9765
  }
9755
9766
  let n = El(e.state);
9756
- return n.length >= t ? Gl(e, n, t) : null;
9767
+ return n.length >= t ? Kl(e, n, t) : null;
9757
9768
  }
9758
- var Ul = class {
9769
+ var Wl = class {
9759
9770
  constructor(e, t = {}) {
9760
- this.state = e, this.options = t, this.unit = Bl(e);
9771
+ this.state = e, this.options = t, this.unit = Vl(e);
9761
9772
  }
9762
9773
  lineAt(e, t = 1) {
9763
9774
  let n = this.state.doc.lineAt(e), { simulateBreak: r, simulateDoubleBreak: i } = this.options;
@@ -9795,8 +9806,8 @@ var Ul = class {
9795
9806
  get simulatedBreak() {
9796
9807
  return this.options.simulateBreak || null;
9797
9808
  }
9798
- }, Wl = /*@__PURE__*/ new a();
9799
- function Gl(e, t, n) {
9809
+ }, Gl = /*@__PURE__*/ new a();
9810
+ function Kl(e, t, n) {
9800
9811
  let r = t.resolveStack(n), i = t.resolveInner(n, -1).resolve(n, 0).enterUnfinishedNodesBefore(n);
9801
9812
  if (i != r.node) {
9802
9813
  let e = [];
@@ -9806,32 +9817,32 @@ function Gl(e, t, n) {
9806
9817
  next: r
9807
9818
  };
9808
9819
  }
9809
- return Kl(r, e, n);
9820
+ return ql(r, e, n);
9810
9821
  }
9811
- function Kl(e, t, n) {
9822
+ function ql(e, t, n) {
9812
9823
  for (let r = e; r; r = r.next) {
9813
- let e = Jl(r.node);
9814
- if (e) return e(Xl.create(t, n, r));
9824
+ let e = Yl(r.node);
9825
+ if (e) return e(Zl.create(t, n, r));
9815
9826
  }
9816
9827
  return 0;
9817
9828
  }
9818
- function ql(e) {
9829
+ function Jl(e) {
9819
9830
  return e.pos == e.options.simulateBreak && e.options.simulateDoubleBreak;
9820
9831
  }
9821
- function Jl(e) {
9822
- let t = e.type.prop(Wl);
9832
+ function Yl(e) {
9833
+ let t = e.type.prop(Gl);
9823
9834
  if (t) return t;
9824
9835
  let n = e.firstChild, r;
9825
9836
  if (n && (r = n.type.prop(a.closedBy))) {
9826
9837
  let t = e.lastChild, n = t && r.indexOf(t.name) > -1;
9827
- return (e) => eu(e, !0, 1, void 0, n && !ql(e) ? t.from : void 0);
9838
+ return (e) => tu(e, !0, 1, void 0, n && !Jl(e) ? t.from : void 0);
9828
9839
  }
9829
- return e.parent == null ? Yl : null;
9840
+ return e.parent == null ? Xl : null;
9830
9841
  }
9831
- function Yl() {
9842
+ function Xl() {
9832
9843
  return 0;
9833
9844
  }
9834
- var Xl = class e extends Ul {
9845
+ var Zl = class e extends Wl {
9835
9846
  constructor(e, t, n) {
9836
9847
  super(e.state, e.options), this.base = e, this.pos = t, this.context = n;
9837
9848
  }
@@ -9852,20 +9863,20 @@ var Xl = class e extends Ul {
9852
9863
  for (;;) {
9853
9864
  let n = e.resolve(t.from);
9854
9865
  for (; n.parent && n.parent.from == n.from;) n = n.parent;
9855
- if (Zl(n, e)) break;
9866
+ if (Ql(n, e)) break;
9856
9867
  t = this.state.doc.lineAt(n.from);
9857
9868
  }
9858
9869
  return this.lineIndent(t.from);
9859
9870
  }
9860
9871
  continue() {
9861
- return Kl(this.context.next, this.base, this.pos);
9872
+ return ql(this.context.next, this.base, this.pos);
9862
9873
  }
9863
9874
  };
9864
- function Zl(e, t) {
9875
+ function Ql(e, t) {
9865
9876
  for (let n = t; n; n = n.parent) if (e == n) return !0;
9866
9877
  return !1;
9867
9878
  }
9868
- function Ql(e) {
9879
+ function $l(e) {
9869
9880
  let t = e.node, n = t.childAfter(t.from), r = t.lastChild;
9870
9881
  if (!n) return null;
9871
9882
  let i = e.options.simulateBreak, a = e.state.doc.lineAt(n.from), o = i == null || i <= a.from ? a.to : Math.min(a.to, i);
@@ -9883,29 +9894,29 @@ function Ql(e) {
9883
9894
  e = i.to;
9884
9895
  }
9885
9896
  }
9886
- function $l({ closing: e, align: t = !0, units: n = 1 }) {
9887
- return (r) => eu(r, t, n, e);
9897
+ function eu({ closing: e, align: t = !0, units: n = 1 }) {
9898
+ return (r) => tu(r, t, n, e);
9888
9899
  }
9889
- function eu(e, t, n, r, i) {
9890
- let a = e.textAfter, o = a.match(/^\s*/)[0].length, s = r && a.slice(o, o + r.length) == r || i == e.pos + o, c = t ? Ql(e) : null;
9900
+ function tu(e, t, n, r, i) {
9901
+ let a = e.textAfter, o = a.match(/^\s*/)[0].length, s = r && a.slice(o, o + r.length) == r || i == e.pos + o, c = t ? $l(e) : null;
9891
9902
  return c ? s ? e.column(c.from) : e.column(c.to) : e.baseIndent + (s ? 0 : e.unit * n);
9892
9903
  }
9893
- var tu = (e) => e.baseIndent;
9894
- function nu({ except: e, units: t = 1 } = {}) {
9904
+ var nu = (e) => e.baseIndent;
9905
+ function ru({ except: e, units: t = 1 } = {}) {
9895
9906
  return (n) => {
9896
9907
  let r = e && e.test(n.textAfter);
9897
9908
  return n.baseIndent + (r ? 0 : t * n.unit);
9898
9909
  };
9899
9910
  }
9900
- var ru = /*@__PURE__*/ N.define(), iu = /*@__PURE__*/ new a();
9901
- function au(e) {
9911
+ var iu = /*@__PURE__*/ N.define(), au = /*@__PURE__*/ new a();
9912
+ function ou(e) {
9902
9913
  let t = e.firstChild, n = e.lastChild;
9903
9914
  return t && t.to < n.from ? {
9904
9915
  from: t.to,
9905
9916
  to: n.type.isError ? e.to : n.from
9906
9917
  } : null;
9907
9918
  }
9908
- var ou = class e {
9919
+ var su = class e {
9909
9920
  constructor(e, t) {
9910
9921
  this.specs = e;
9911
9922
  let n;
@@ -9922,23 +9933,23 @@ var ou = class e {
9922
9933
  static define(t, n) {
9923
9934
  return new e(t, n || {});
9924
9935
  }
9925
- }, su = /*@__PURE__*/ N.define(), cu = /*@__PURE__*/ N.define({ combine(e) {
9936
+ }, cu = /*@__PURE__*/ N.define(), lu = /*@__PURE__*/ N.define({ combine(e) {
9926
9937
  return e.length ? [e[0]] : null;
9927
9938
  } });
9928
- function lu(e) {
9929
- let t = e.facet(su);
9930
- return t.length ? t : e.facet(cu);
9939
+ function uu(e) {
9940
+ let t = e.facet(cu);
9941
+ return t.length ? t : e.facet(lu);
9931
9942
  }
9932
- function uu(e, t) {
9933
- let n = [fu], r;
9934
- return e instanceof ou && (e.module && n.push(Q.styleModule.of(e.module)), r = e.themeType), t?.fallback ? n.push(cu.of(e)) : r ? n.push(su.computeN([Q.darkTheme], (t) => t.facet(Q.darkTheme) == (r == "dark") ? [e] : [])) : n.push(su.of(e)), n;
9943
+ function du(e, t) {
9944
+ let n = [pu], r;
9945
+ return e instanceof su && (e.module && n.push(Q.styleModule.of(e.module)), r = e.themeType), t?.fallback ? n.push(lu.of(e)) : r ? n.push(cu.computeN([Q.darkTheme], (t) => t.facet(Q.darkTheme) == (r == "dark") ? [e] : [])) : n.push(cu.of(e)), n;
9935
9946
  }
9936
- var du = class {
9947
+ var fu = class {
9937
9948
  constructor(e) {
9938
- this.markCache = Object.create(null), this.tree = El(e.state), this.decorations = this.buildDeco(e, lu(e.state)), this.decoratedTo = e.viewport.to;
9949
+ this.markCache = Object.create(null), this.tree = El(e.state), this.decorations = this.buildDeco(e, uu(e.state)), this.decoratedTo = e.viewport.to;
9939
9950
  }
9940
9951
  update(e) {
9941
- let t = El(e.state), n = lu(e.state), r = n != lu(e.startState), { viewport: i } = e.view, a = e.changes.mapPos(this.decoratedTo, 1);
9952
+ let t = El(e.state), n = uu(e.state), r = n != uu(e.startState), { viewport: i } = e.view, a = e.changes.mapPos(this.decoratedTo, 1);
9942
9953
  t.length < i.to && !r && t.type == this.tree.type && a >= i.to ? (this.decorations = this.decorations.map(e.changes), this.decoratedTo = a) : (t != this.tree || e.viewportChanged || r) && (this.tree = t, this.decorations = this.buildDeco(e.view, n), this.decoratedTo = i.to);
9943
9954
  }
9944
9955
  buildDeco(e, t) {
@@ -9949,10 +9960,10 @@ var du = class {
9949
9960
  }, r, i);
9950
9961
  return n.finish();
9951
9962
  }
9952
- }, fu = /*@__PURE__*/ Kt.high(/*@__PURE__*/ Ui.fromClass(du, { decorations: (e) => e.decorations }));
9963
+ }, pu = /*@__PURE__*/ Kt.high(/*@__PURE__*/ Ui.fromClass(fu, { decorations: (e) => e.decorations }));
9953
9964
  T.meta, T.link, T.heading, T.emphasis, T.strong, T.strikethrough, T.keyword, T.atom, T.bool, T.url, T.contentSeparator, T.labelName, T.literal, T.inserted, T.string, T.deleted, T.regexp, T.escape, T.string, T.variableName, T.variableName, T.typeName, T.namespace, T.className, T.variableName, T.macroName, T.propertyName, T.comment, T.invalid;
9954
- var pu = 1e4, mu = "()[]{}", hu = /*@__PURE__*/ new a();
9955
- function gu(e, t, n) {
9965
+ var mu = 1e4, hu = "()[]{}", gu = /*@__PURE__*/ new a();
9966
+ function _u(e, t, n) {
9956
9967
  let r = e.prop(t < 0 ? a.openedBy : a.closedBy);
9957
9968
  if (r) return r;
9958
9969
  if (e.name.length == 1) {
@@ -9961,22 +9972,22 @@ function gu(e, t, n) {
9961
9972
  }
9962
9973
  return null;
9963
9974
  }
9964
- function _u(e) {
9965
- let t = e.type.prop(hu);
9975
+ function vu(e) {
9976
+ let t = e.type.prop(gu);
9966
9977
  return t ? t(e.node) : e;
9967
9978
  }
9968
- function vu(e, t, n, r = {}) {
9969
- let i = r.maxScanDistance || pu, a = r.brackets || mu, o = El(e), s = o.resolveInner(t, n);
9979
+ function yu(e, t, n, r = {}) {
9980
+ let i = r.maxScanDistance || mu, a = r.brackets || hu, o = El(e), s = o.resolveInner(t, n);
9970
9981
  for (let r = s; r; r = r.parent) {
9971
- let i = gu(r.type, n, a);
9982
+ let i = _u(r.type, n, a);
9972
9983
  if (i && r.from < r.to) {
9973
- let o = _u(r);
9974
- if (o && (n > 0 ? t >= o.from && t < o.to : t > o.from && t <= o.to)) return yu(e, t, n, r, o, i, a);
9984
+ let o = vu(r);
9985
+ if (o && (n > 0 ? t >= o.from && t < o.to : t > o.from && t <= o.to)) return bu(e, t, n, r, o, i, a);
9975
9986
  }
9976
9987
  }
9977
- return bu(e, t, n, o, s.type, i, a);
9988
+ return xu(e, t, n, o, s.type, i, a);
9978
9989
  }
9979
- function yu(e, t, n, r, i, a, o) {
9990
+ function bu(e, t, n, r, i, a, o) {
9980
9991
  let s = r.parent, c = {
9981
9992
  from: i.from,
9982
9993
  to: i.to
@@ -9984,7 +9995,7 @@ function yu(e, t, n, r, i, a, o) {
9984
9995
  if (u && (n < 0 ? u.childBefore(r.from) : u.childAfter(r.to))) do
9985
9996
  if (n < 0 ? u.to <= r.from : u.from >= r.to) {
9986
9997
  if (l == 0 && a.indexOf(u.type.name) > -1 && u.from < u.to) {
9987
- let e = _u(u);
9998
+ let e = vu(u);
9988
9999
  return {
9989
10000
  start: c,
9990
10001
  end: e ? {
@@ -9994,10 +10005,10 @@ function yu(e, t, n, r, i, a, o) {
9994
10005
  matched: !0
9995
10006
  };
9996
10007
  }
9997
- if (gu(u.type, n, o)) l++;
9998
- else if (gu(u.type, -n, o)) {
10008
+ if (_u(u.type, n, o)) l++;
10009
+ else if (_u(u.type, -n, o)) {
9999
10010
  if (l == 0) {
10000
- let e = _u(u);
10011
+ let e = vu(u);
10001
10012
  return {
10002
10013
  start: c,
10003
10014
  end: e && e.from < e.to ? {
@@ -10016,7 +10027,7 @@ function yu(e, t, n, r, i, a, o) {
10016
10027
  matched: !1
10017
10028
  };
10018
10029
  }
10019
- function bu(e, t, n, r, i, a, o) {
10030
+ function xu(e, t, n, r, i, a, o) {
10020
10031
  if (n < 0 ? !t : t == e.doc.length) return null;
10021
10032
  let s = n < 0 ? e.sliceDoc(t - 1, t) : e.sliceDoc(t, t + 1), c = o.indexOf(s);
10022
10033
  if (c < 0 || c % 2 == 0 != n > 0) return null;
@@ -10050,20 +10061,20 @@ function bu(e, t, n, r, i, a, o) {
10050
10061
  matched: !1
10051
10062
  } : null;
10052
10063
  }
10053
- function xu(e) {
10064
+ function Su(e) {
10054
10065
  return {
10055
10066
  name: e.name || "",
10056
10067
  token: e.token,
10057
10068
  blankLine: e.blankLine || (() => {}),
10058
10069
  startState: e.startState || (() => !0),
10059
- copyState: e.copyState || Su,
10070
+ copyState: e.copyState || Cu,
10060
10071
  indent: e.indent || (() => null),
10061
10072
  languageData: e.languageData || {},
10062
- tokenTable: e.tokenTable || Au,
10073
+ tokenTable: e.tokenTable || ju,
10063
10074
  mergeTokens: e.mergeTokens !== !1
10064
10075
  };
10065
10076
  }
10066
- function Su(e) {
10077
+ function Cu(e) {
10067
10078
  if (typeof e != "object") return e;
10068
10079
  let t = {};
10069
10080
  for (let n in e) {
@@ -10072,86 +10083,86 @@ function Su(e) {
10072
10083
  }
10073
10084
  return t;
10074
10085
  }
10075
- var Cu = /*@__PURE__*/ new WeakMap(), wu = class e extends $ {
10086
+ var wu = /*@__PURE__*/ new WeakMap(), Tu = class e extends $ {
10076
10087
  constructor(e) {
10077
- let t = Sl(e.languageData), n = xu(e), r, i = new class extends de {
10088
+ let t = Sl(e.languageData), n = Su(e), r, i = new class extends de {
10078
10089
  createParse(e, t, n) {
10079
- return new Ou(r, e, t, n);
10090
+ return new ku(r, e, t, n);
10080
10091
  }
10081
10092
  }();
10082
- super(t, i, [], e.name), this.topNode = Bu(t, this), r = this, this.streamParser = n, this.stateAfter = new a({ perNode: !0 }), this.tokenTable = e.tokenTable ? new Iu(n.tokenTable) : Lu;
10093
+ super(t, i, [], e.name), this.topNode = Vu(t, this), r = this, this.streamParser = n, this.stateAfter = new a({ perNode: !0 }), this.tokenTable = e.tokenTable ? new Lu(n.tokenTable) : Ru;
10083
10094
  }
10084
10095
  static define(t) {
10085
10096
  return new e(t);
10086
10097
  }
10087
10098
  getIndent(e) {
10088
10099
  let t, { overrideIndentation: n } = e.options;
10089
- n && (t = Cu.get(e.state), t != null && t < e.pos - 1e4 && (t = void 0));
10090
- let r = Tu(this, e.node.tree, e.node.from, e.node.from, t ?? e.pos), i, a;
10100
+ n && (t = wu.get(e.state), t != null && t < e.pos - 1e4 && (t = void 0));
10101
+ let r = Eu(this, e.node.tree, e.node.from, e.node.from, t ?? e.pos), i, a;
10091
10102
  if (r ? (a = r.state, i = r.pos + 1) : (a = this.streamParser.startState(e.unit), i = e.node.from), e.pos - i > 1e4) return null;
10092
10103
  for (; i < e.pos;) {
10093
10104
  let t = e.state.doc.lineAt(i), r = Math.min(e.pos, t.to);
10094
10105
  if (t.length) {
10095
10106
  let i = n ? n(t.from) : -1, o = new bl(t.text, e.state.tabSize, e.unit, i < 0 ? void 0 : i);
10096
- for (; o.pos < r - t.from;) ku(this.streamParser.token, o, a);
10107
+ for (; o.pos < r - t.from;) Au(this.streamParser.token, o, a);
10097
10108
  } else this.streamParser.blankLine(a, e.unit);
10098
10109
  if (r == e.pos) break;
10099
10110
  i = t.to + 1;
10100
10111
  }
10101
10112
  let o = e.lineAt(e.pos);
10102
- return n && t == null && Cu.set(e.state, o.from), this.streamParser.indent(a, /^\s*(.*)/.exec(o.text)[1], e);
10113
+ return n && t == null && wu.set(e.state, o.from), this.streamParser.indent(a, /^\s*(.*)/.exec(o.text)[1], e);
10103
10114
  }
10104
10115
  get allowsNesting() {
10105
10116
  return !1;
10106
10117
  }
10107
10118
  };
10108
- function Tu(e, t, n, r, i) {
10119
+ function Eu(e, t, n, r, i) {
10109
10120
  let a = n >= r && n + t.length <= i && t.prop(e.stateAfter);
10110
10121
  if (a) return {
10111
10122
  state: e.streamParser.copyState(a),
10112
10123
  pos: n + t.length
10113
10124
  };
10114
10125
  for (let a = t.children.length - 1; a >= 0; a--) {
10115
- let o = t.children[a], s = n + t.positions[a], c = o instanceof p && s < i && Tu(e, o, s, r, i);
10126
+ let o = t.children[a], s = n + t.positions[a], c = o instanceof p && s < i && Eu(e, o, s, r, i);
10116
10127
  if (c) return c;
10117
10128
  }
10118
10129
  return null;
10119
10130
  }
10120
- function Eu(e, t, n, r, i) {
10131
+ function Du(e, t, n, r, i) {
10121
10132
  if (i && n <= 0 && r >= t.length) return t;
10122
10133
  !i && n == 0 && t.type == e.topNode && (i = !0);
10123
10134
  for (let a = t.children.length - 1; a >= 0; a--) {
10124
10135
  let o = t.positions[a], s = t.children[a], c;
10125
10136
  if (o < r && s instanceof p) {
10126
- if (!(c = Eu(e, s, n - o, r - o, i))) break;
10137
+ if (!(c = Du(e, s, n - o, r - o, i))) break;
10127
10138
  return i ? new p(t.type, t.children.slice(0, a).concat(c), t.positions.slice(0, a + 1), o + c.length) : c;
10128
10139
  }
10129
10140
  }
10130
10141
  return null;
10131
10142
  }
10132
- function Du(e, t, n, r, i) {
10143
+ function Ou(e, t, n, r, i) {
10133
10144
  for (let i of t) {
10134
- let t = i.from + (i.openStart ? 25 : 0), a = i.to - (i.openEnd ? 25 : 0), o = t <= n && a > n && Tu(e, i.tree, 0 - i.offset, n, a), s;
10135
- if (o && o.pos <= r && (s = Eu(e, i.tree, n + i.offset, o.pos + i.offset, !1))) return {
10145
+ let t = i.from + (i.openStart ? 25 : 0), a = i.to - (i.openEnd ? 25 : 0), o = t <= n && a > n && Eu(e, i.tree, 0 - i.offset, n, a), s;
10146
+ if (o && o.pos <= r && (s = Du(e, i.tree, n + i.offset, o.pos + i.offset, !1))) return {
10136
10147
  state: o.state,
10137
10148
  tree: s
10138
10149
  };
10139
10150
  }
10140
10151
  return {
10141
- state: e.streamParser.startState(i ? Bl(i) : 4),
10152
+ state: e.streamParser.startState(i ? Vl(i) : 4),
10142
10153
  tree: p.empty
10143
10154
  };
10144
10155
  }
10145
- var Ou = class {
10156
+ var ku = class {
10146
10157
  constructor(e, t, n, r) {
10147
10158
  this.lang = e, this.input = t, this.fragments = n, this.ranges = r, this.stoppedAt = null, this.chunks = [], this.chunkPos = [], this.chunk = [], this.chunkReused = void 0, this.rangeIndex = 0, this.to = r[r.length - 1].to;
10148
- let i = kl.get(), a = r[0].from, { state: o, tree: s } = Du(e, n, a, this.to, i?.state);
10159
+ let i = Al.get(), a = r[0].from, { state: o, tree: s } = Ou(e, n, a, this.to, i?.state);
10149
10160
  this.state = o, this.parsedPos = this.chunkStart = a + s.length;
10150
10161
  for (let e = 0; e < s.children.length; e++) this.chunks.push(s.children[e]), this.chunkPos.push(s.positions[e]);
10151
- i && this.parsedPos < i.viewport.from - 1e5 && r.some((e) => e.from <= i.viewport.from && e.to >= i.viewport.from) && (this.state = this.lang.streamParser.startState(Bl(i.state)), i.skipUntilInView(this.parsedPos, i.viewport.from), this.parsedPos = i.viewport.from), this.moveRangeIndex();
10162
+ i && this.parsedPos < i.viewport.from - 1e5 && r.some((e) => e.from <= i.viewport.from && e.to >= i.viewport.from) && (this.state = this.lang.streamParser.startState(Vl(i.state)), i.skipUntilInView(this.parsedPos, i.viewport.from), this.parsedPos = i.viewport.from), this.moveRangeIndex();
10152
10163
  }
10153
10164
  advance() {
10154
- let e = kl.get(), t = this.stoppedAt == null ? this.to : Math.min(this.to, this.stoppedAt), n = Math.min(t, this.chunkStart + 512);
10165
+ let e = Al.get(), t = this.stoppedAt == null ? this.to : Math.min(this.to, this.stoppedAt), n = Math.min(t, this.chunkStart + 512);
10155
10166
  for (e && (n = Math.min(n, e.viewport.to)); this.parsedPos < n;) this.parseLine(e);
10156
10167
  return this.chunkStart < this.parsedPos && this.finishChunk(), this.parsedPos >= t ? this.finish() : e && this.parsedPos >= e.viewport.to ? (e.skipUntilInView(this.parsedPos, t), this.finish()) : null;
10157
10168
  }
@@ -10203,10 +10214,10 @@ var Ou = class {
10203
10214
  return this.lang.streamParser.mergeTokens && i == 4 && a >= 0 && this.chunk[a] == e && this.chunk[a + 2] == t ? this.chunk[a + 2] = n : this.chunk.push(e, t, n, i), r;
10204
10215
  }
10205
10216
  parseLine(e) {
10206
- let { line: t, end: n } = this.nextLine(), r = 0, { streamParser: i } = this.lang, a = new bl(t, e ? e.state.tabSize : 4, e ? Bl(e.state) : 2);
10217
+ let { line: t, end: n } = this.nextLine(), r = 0, { streamParser: i } = this.lang, a = new bl(t, e ? e.state.tabSize : 4, e ? Vl(e.state) : 2);
10207
10218
  if (a.eol()) i.blankLine(this.state, a.indentUnit);
10208
10219
  else for (; !a.eol();) {
10209
- let e = ku(i.token, a, this.state);
10220
+ let e = Au(i.token, a, this.state);
10210
10221
  if (e && (r = this.emitToken(this.lang.tokenTable.resolve(e), this.parsedPos + a.start, this.parsedPos + a.pos, r)), a.start > 1e4) break;
10211
10222
  }
10212
10223
  this.parsedPos = n, this.moveRangeIndex(), this.parsedPos < this.to && this.parsedPos++;
@@ -10216,7 +10227,7 @@ var Ou = class {
10216
10227
  buffer: this.chunk,
10217
10228
  start: this.chunkStart,
10218
10229
  length: this.parsedPos - this.chunkStart,
10219
- nodeSet: Mu,
10230
+ nodeSet: Nu,
10220
10231
  topID: 0,
10221
10232
  maxBufferLength: 512,
10222
10233
  reused: this.chunkReused
@@ -10227,7 +10238,7 @@ var Ou = class {
10227
10238
  return new p(this.lang.topNode, this.chunks, this.chunkPos, this.parsedPos - this.ranges[0].from).balance();
10228
10239
  }
10229
10240
  };
10230
- function ku(e, t, n) {
10241
+ function Au(e, t, n) {
10231
10242
  t.start = t.pos;
10232
10243
  for (let r = 0; r < 10; r++) {
10233
10244
  let r = e(t, n);
@@ -10235,7 +10246,7 @@ function ku(e, t, n) {
10235
10246
  }
10236
10247
  throw Error("Stream parser failed to advance stream.");
10237
10248
  }
10238
- var Au = /*@__PURE__*/ Object.create(null), ju = [c.none], Mu = /*@__PURE__*/ new l(ju), Nu = [], Pu = /*@__PURE__*/ Object.create(null), Fu = /*@__PURE__*/ Object.create(null);
10249
+ var ju = /*@__PURE__*/ Object.create(null), Mu = [c.none], Nu = /*@__PURE__*/ new l(Mu), Pu = [], Fu = /*@__PURE__*/ Object.create(null), Iu = /*@__PURE__*/ Object.create(null);
10239
10250
  for (let [e, t] of [
10240
10251
  ["variable", "variableName"],
10241
10252
  ["variable-2", "variableName.special"],
@@ -10249,50 +10260,50 @@ for (let [e, t] of [
10249
10260
  ["error", "invalid"],
10250
10261
  ["header", "heading"],
10251
10262
  ["property", "propertyName"]
10252
- ]) Fu[e] = /*@__PURE__*/ zu(Au, t);
10253
- var Iu = class {
10263
+ ]) Iu[e] = /*@__PURE__*/ Bu(ju, t);
10264
+ var Lu = class {
10254
10265
  constructor(e) {
10255
- this.extra = e, this.table = Object.assign(Object.create(null), Fu);
10266
+ this.extra = e, this.table = Object.assign(Object.create(null), Iu);
10256
10267
  }
10257
10268
  resolve(e) {
10258
- return e ? this.table[e] || (this.table[e] = zu(this.extra, e)) : 0;
10269
+ return e ? this.table[e] || (this.table[e] = Bu(this.extra, e)) : 0;
10259
10270
  }
10260
- }, Lu = /*@__PURE__*/ new Iu(Au);
10261
- function Ru(e, t) {
10262
- Nu.indexOf(e) > -1 || (Nu.push(e), console.warn(t));
10263
- }
10271
+ }, Ru = /*@__PURE__*/ new Lu(ju);
10264
10272
  function zu(e, t) {
10273
+ Pu.indexOf(e) > -1 || (Pu.push(e), console.warn(t));
10274
+ }
10275
+ function Bu(e, t) {
10265
10276
  let n = [];
10266
10277
  for (let r of t.split(" ")) {
10267
10278
  let t = [];
10268
10279
  for (let n of r.split(".")) {
10269
10280
  let r = e[n] || T[n];
10270
- r ? typeof r == "function" ? t.length ? t = t.map(r) : Ru(n, `Modifier ${n} used at start of tag`) : t.length ? Ru(n, `Tag ${n} used as modifier`) : t = Array.isArray(r) ? r : [r] : Ru(n, `Unknown highlighting tag ${n}`);
10281
+ r ? typeof r == "function" ? t.length ? t = t.map(r) : zu(n, `Modifier ${n} used at start of tag`) : t.length ? zu(n, `Tag ${n} used as modifier`) : t = Array.isArray(r) ? r : [r] : zu(n, `Unknown highlighting tag ${n}`);
10271
10282
  }
10272
10283
  for (let e of t) n.push(e);
10273
10284
  }
10274
10285
  if (!n.length) return 0;
10275
- let r = t.replace(/ /g, "_"), i = r + " " + n.map((e) => e.id), a = Pu[i];
10286
+ let r = t.replace(/ /g, "_"), i = r + " " + n.map((e) => e.id), a = Fu[i];
10276
10287
  if (a) return a.id;
10277
- let o = Pu[i] = c.define({
10278
- id: ju.length,
10288
+ let o = Fu[i] = c.define({
10289
+ id: Mu.length,
10279
10290
  name: r,
10280
10291
  props: [Ne({ [r]: n })]
10281
10292
  });
10282
- return ju.push(o), o.id;
10293
+ return Mu.push(o), o.id;
10283
10294
  }
10284
- function Bu(e, t) {
10295
+ function Vu(e, t) {
10285
10296
  let n = c.define({
10286
- id: ju.length,
10297
+ id: Mu.length,
10287
10298
  name: "Document",
10288
- props: [xl.add(() => e), Wl.add(() => (e) => t.getIndent(e))],
10299
+ props: [xl.add(() => e), Gl.add(() => (e) => t.getIndent(e))],
10289
10300
  top: !0
10290
10301
  });
10291
- return ju.push(n), n;
10302
+ return Mu.push(n), n;
10292
10303
  }
10293
10304
  W.RTL, W.LTR;
10294
10305
  // src/utilities/codemirror/codemirror-element.ts
10295
- function Vu(e, t) {
10306
+ function Hu(e, t) {
10296
10307
  if (e === t) return null;
10297
10308
  let n = Math.min(e.length, t.length), r = 0;
10298
10309
  for (; r < n && e.charCodeAt(r) === t.charCodeAt(r);) r++;
@@ -10304,7 +10315,7 @@ function Vu(e, t) {
10304
10315
  insert: t.slice(r, t.length - i)
10305
10316
  };
10306
10317
  }
10307
- var Hu = class extends e {
10318
+ var Uu = class extends e {
10308
10319
  constructor(...e) {
10309
10320
  super(...e), this._hasMounted = !1;
10310
10321
  }
@@ -10330,7 +10341,7 @@ var Hu = class extends e {
10330
10341
  this.view?.destroy(), this.view = void 0;
10331
10342
  }
10332
10343
  setDoc(e) {
10333
- let t = this.view, n = t && Vu(t.state.doc.toString(), e);
10344
+ let t = this.view, n = t && Hu(t.state.doc.toString(), e);
10334
10345
  t && n && t.dispatch({
10335
10346
  changes: n,
10336
10347
  annotations: [F.remote.of(!0), F.addToHistory.of(!1)]
@@ -10357,7 +10368,7 @@ var Hu = class extends e {
10357
10368
  disconnectedCallback() {
10358
10369
  super.disconnectedCallback(), this.view && (this._preservedDoc = this.doc), this.destroyEditor();
10359
10370
  }
10360
- }, Uu = [Q.theme({
10371
+ }, Wu = [Q.theme({
10361
10372
  "&": {
10362
10373
  height: "100%",
10363
10374
  color: "var(--semantics-content-color)",
@@ -10384,7 +10395,7 @@ var Hu = class extends e {
10384
10395
  },
10385
10396
  ".cm-lineNumbers .cm-gutterElement": { padding: "0 var(--primitives-space-16) 0 var(--primitives-space-8)" },
10386
10397
  ".cm-activeLine, .cm-activeLineGutter": { backgroundColor: "transparent" }
10387
- }), uu(ou.define([
10398
+ }), du(su.define([
10388
10399
  {
10389
10400
  tag: [
10390
10401
  T.comment,
@@ -10488,31 +10499,31 @@ var Hu = class extends e {
10488
10499
  tag: T.emphasis,
10489
10500
  fontStyle: "italic"
10490
10501
  }
10491
- ]))], Wu = {
10492
- json: async () => (await import("./dist-cg8p9qPS.js")).json(),
10493
- yaml: async () => (await import("./dist-DPnEBzju.js")).yaml(),
10494
- javascript: async () => (await import("./dist-UpdpX10o.js").then((e) => e.t)).javascript(),
10495
- typescript: async () => (await import("./dist-UpdpX10o.js").then((e) => e.t)).javascript({ typescript: !0 }),
10496
- css: async () => (await import("./dist-BEZuPWxd.js").then((e) => e.r)).css(),
10497
- html: async () => (await import("./dist-C8wDJyDH.js").then((e) => e.t)).html(),
10498
- xml: async () => (await import("./dist-DsQS8bTi.js")).xml(),
10499
- python: async () => (await import("./dist-BFGGXlGI.js")).python(),
10500
- rust: async () => (await import("./dist-Djmp37M0.js")).rust(),
10501
- sql: async () => (await import("./dist-BYPfq6x4.js")).sql(),
10502
- markdown: async () => (await import("./dist-CUXioD4z.js").then((e) => e.n)).markdown(),
10503
- bash: async () => new Il(wu.define((await import("./shell-DmJOYhyF.js")).shell)),
10504
- toml: async () => new Il(wu.define((await import("./toml-w97zZfFO.js")).toml)),
10505
- gherkin: async () => new Il(wu.define((await import("./gherkin-eseYvsxh.js")).gherkin))
10506
- }, Gu = /* @__PURE__ */ new Map();
10507
- function Ku(e) {
10508
- let t = Wu[e];
10502
+ ]))], Gu = {
10503
+ json: async () => (await import("./dist-C6dhaR9M.js")).json(),
10504
+ yaml: async () => (await import("./dist-QKanuZ5c.js")).yaml(),
10505
+ javascript: async () => (await import("./dist-z3iYo2pQ.js").then((e) => e.t)).javascript(),
10506
+ typescript: async () => (await import("./dist-z3iYo2pQ.js").then((e) => e.t)).javascript({ typescript: !0 }),
10507
+ css: async () => (await import("./dist-BKGDiUni.js").then((e) => e.r)).css(),
10508
+ html: async () => (await import("./dist-gCusBxjl.js").then((e) => e.t)).html(),
10509
+ xml: async () => (await import("./dist-BvZqEQHV.js")).xml(),
10510
+ python: async () => (await import("./dist-CIp0mUeR.js")).python(),
10511
+ rust: async () => (await import("./dist-Dtrv48QJ.js")).rust(),
10512
+ sql: async () => (await import("./dist-B5rtEAPd.js")).sql(),
10513
+ markdown: async () => (await import("./dist-Duw9BWmb.js").then((e) => e.n)).markdown(),
10514
+ bash: async () => new Ll(Tu.define((await import("./shell-DmJOYhyF.js")).shell)),
10515
+ toml: async () => new Ll(Tu.define((await import("./toml-w97zZfFO.js")).toml)),
10516
+ gherkin: async () => new Ll(Tu.define((await import("./gherkin-eseYvsxh.js")).gherkin))
10517
+ }, Ku = /* @__PURE__ */ new Map();
10518
+ function qu(e) {
10519
+ let t = Gu[e];
10509
10520
  if (!t) return;
10510
- let n = Gu.get(e);
10521
+ let n = Ku.get(e);
10511
10522
  return n || (n = t().catch((t) => {
10512
- throw Gu.delete(e), t;
10513
- }), Gu.set(e, n)), n;
10523
+ throw Ku.delete(e), t;
10524
+ }), Ku.set(e, n)), n;
10514
10525
  }
10515
- var qu = {
10526
+ var Ju = {
10516
10527
  javascript: [
10517
10528
  "js",
10518
10529
  "jsx",
@@ -10531,9 +10542,9 @@ var qu = {
10531
10542
  markdown: ["md"],
10532
10543
  html: ["htm"],
10533
10544
  rust: ["rs"]
10534
- }, Ju = Object.keys(Wu).map((e) => Ll.of({
10545
+ }, Yu = Object.keys(Gu).map((e) => Rl.of({
10535
10546
  name: e,
10536
- alias: qu[e] ?? [],
10537
- load: () => Ku(e)
10547
+ alias: Ju[e] ?? [],
10548
+ load: () => qu(e)
10538
10549
  }));
10539
- export { M as $, W as A, tl as B, Vl as C, l as Ct, Cl as D, p as Dt, vu as E, de as Et, br as F, K as G, ac as H, Cc as I, zc as J, Ic as K, Pc as L, Xc as M, pc as N, El as O, pe as Ot, Ui as P, Jt as Q, wc as R, Wl as S, a as St, xl as T, le as Tt, bc as U, Zc as V, _l as W, Ot as X, cn as Y, A as Z, au as _, Oe as _t, Vu as a, Mn as at, Bl as b, n as bt, $ as c, Ut as ct, kl as d, wt as dt, I as et, hu as f, Et as ft, tu as g, Tt as gt, $l as h, O as ht, Hu as i, L as it, Q as j, H as k, Ll as l, E as lt, Sl as m, Un as mt, Ju as n, k as nt, Ul as o, Tn as ot, nu as p, wn as pt, Jc as q, Uu as r, Kt as rt, Tl as s, P as st, Ku as t, N as tt, Il as u, F as ut, iu as v, Ne as vt, zl as w, c as wt, Hl as x, f as xt, ru as y, T as yt, Yc as z };
10550
+ export { Jt as $, H as A, Yc as B, Gl as C, a as Ct, yu as D, de as Dt, xl as E, le as Et, Ui as F, _l as G, Zc as H, br as I, Jc as J, K, Cc as L, Q as M, Xc as N, Cl as O, p as Ot, pc as P, A as Q, Pc as R, Ul as S, f as St, Bl as T, c as Tt, ac as U, tl as V, bc as W, cn as X, zc as Y, Ot as Z, nu as _, Tt as _t, Hu as a, L as at, iu as b, T as bt, $ as c, P as ct, Al as d, F as dt, M as et, gu as f, wt as ft, Dl as g, O as gt, eu as h, Un as ht, Uu as i, Kt as it, W as j, El as k, pe as kt, Rl as l, Ut as lt, Sl as m, wn as mt, Yu as n, N as nt, Wl as o, Mn as ot, ru as p, Et as pt, Ic as q, Wu as r, k as rt, Tl as s, Tn as st, qu as t, I as tt, Ll as u, E as ut, ou as v, Oe as vt, Hl as w, l as wt, Vl as x, n as xt, au as y, Ne as yt, wc as z };