@nldd/design-system 0.30.0 → 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 (347) hide show
  1. package/custom-elements.json +288 -15
  2. package/dist/cdn/autoloader.js +139 -139
  3. package/dist/cdn/chunks/{accordion-DgR70Lf-.js → accordion-D7VeSx-7.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-BDevWF9t.js → accordion-item-DjFnuCY9.js} +6 -6
  5. package/dist/cdn/chunks/{activity-indicator-B-iqA8XF.js → activity-indicator-nshVcQbZ.js} +7 -7
  6. package/dist/cdn/chunks/{admonition-PKX7ePb3.js → admonition-BhYcjvcU.js} +6 -6
  7. package/dist/cdn/chunks/{avatar-Bm_cbn5X.js → avatar-Dw9XZk73.js} +8 -8
  8. package/dist/cdn/chunks/{avatar-group-5XxwtbbC.js → avatar-group-B0ZliBMF.js} +16 -16
  9. package/dist/cdn/chunks/{badge-CpxDQfHS.js → badge-2ObEfIYt.js} +7 -7
  10. package/dist/cdn/chunks/{banner-Ccc9LgDk.js → banner-D9d_367R.js} +9 -9
  11. package/dist/cdn/chunks/{bar-split-view-0yxggCZe.js → bar-split-view-Cpq5j2Yd.js} +6 -6
  12. package/dist/cdn/chunks/{blockquote-CmbDjlPB.js → blockquote-M372pBfW.js} +6 -6
  13. package/dist/cdn/chunks/{box-DQjgR2YI.js → box-bpcNQSk1.js} +4 -4
  14. package/dist/cdn/chunks/{breadcrumbs-C8yzb9pA.js → breadcrumbs-YBuCnLD2.js} +7 -7
  15. package/dist/cdn/chunks/{button-D_KfPyHS.js → button-BsJDVMS5.js} +12 -12
  16. package/dist/cdn/chunks/{button-bar-f-qcw_zA.js → button-bar-C7WBKVht.js} +5 -5
  17. package/dist/cdn/chunks/{button-group-Dq3q44jB.js → button-group-D3zUCJnu.js} +4 -4
  18. package/dist/cdn/chunks/{card-CDT7nkKG.js → card-BY2Fz35J.js} +5 -5
  19. package/dist/cdn/chunks/{cell-B7ksoCyd.js → cell-DfQcb8oJ.js} +8 -8
  20. package/dist/cdn/chunks/{checkbox-CUReiYVg.js → checkbox-BurSrNRq.js} +7 -7
  21. package/dist/cdn/chunks/{checkbox-field-CkQ8WLSq.js → checkbox-field-jcCJRers.js} +9 -9
  22. package/dist/cdn/chunks/{checkbox-group-BpDzGuFk.js → checkbox-group--6ifWQ_F.js} +3 -3
  23. package/dist/cdn/chunks/{class-map-BQWXee9F.js → class-map-pfTGN6Lt.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-CwLcukqn.js → code-editor-D6xQxxSm.js} +14 -14
  25. package/dist/cdn/chunks/{code-viewer-CvSF5fyg.js → code-viewer-CsO0Hzkz.js} +40 -40
  26. package/dist/cdn/chunks/{codemirror-input-CcaHTu9u.js → codemirror-input-Bu7mes2L.js} +328 -329
  27. package/dist/cdn/chunks/{collection-DqqkdrVS.js → collection-CLD0J381.js} +9 -9
  28. package/dist/cdn/chunks/{combo-box-BQ9jS1fP.js → combo-box-cC87aRbF.js} +12 -10
  29. package/dist/cdn/chunks/{container-BC5PiMvR.js → container-Dcd-wtk5.js} +5 -5
  30. package/dist/cdn/chunks/{custom-element-DGdiDiuN.js → custom-element-BPzCecdN.js} +1 -1
  31. package/dist/cdn/chunks/{date-field-Dmli_GlI.js → date-field-CfIXnk2K.js} +15 -13
  32. package/dist/cdn/chunks/{date-picker-BCHBh6vd.js → date-picker-D4W0Be1y.js} +13 -13
  33. package/dist/cdn/chunks/{decorate-D2snH_th.js → decorate-CNSW3HVY.js} +10 -12
  34. package/dist/cdn/chunks/{described-by-mixin-Doan1yj6.js → described-by-mixin-BNEosRlm.js} +2 -2
  35. package/dist/cdn/chunks/{description-cell-QL0CUcxH.js → description-cell-3zl0cEJE.js} +8 -8
  36. package/dist/cdn/chunks/{dev-checks-BQsZ10CZ.js → dev-checks-sh4nGzvD.js} +2 -2
  37. package/dist/cdn/chunks/{directive-helpers-BtIbEaBv.js → directive-helpers-C8_pU38P.js} +1 -1
  38. package/dist/cdn/chunks/{dist-CeovKDYB.js → dist-BA1lxpkp.js} +41 -42
  39. package/dist/cdn/chunks/{dist-Dj0pXI2B.js → dist-BMreXo8L.js} +33 -34
  40. package/dist/cdn/chunks/{dist-CUCs0edm.js → dist-BQhMIRwq.js} +103 -104
  41. package/dist/cdn/chunks/{dist-0sEOO4c9.js → dist-BwkztXx2.js} +337 -338
  42. package/dist/cdn/chunks/{dist-DizTxYTi.js → dist-C0eqMXKG.js} +9 -10
  43. package/dist/cdn/chunks/{dist-3C80SZN9.js → dist-CYoggrc-.js} +100 -101
  44. package/dist/cdn/chunks/{dist-QheJD595.js → dist-D8GVh7JF.js} +103 -103
  45. package/dist/cdn/chunks/{dist-BTUxFM2V.js → dist-DHJOmDf7.js} +1 -1
  46. package/dist/cdn/chunks/{dist-Dtn2rsM6.js → dist-DosCjwbX.js} +10 -11
  47. package/dist/cdn/chunks/{dist-CJ-hLN4o.js → dist-Du5XeaUH.js} +80 -81
  48. package/dist/cdn/chunks/{dist-BX-aE56q.js → dist-DwGJ42jg.js} +13 -14
  49. package/dist/cdn/chunks/{dist-DM49yEzE.js → dist-DzvZLbav.js} +37 -38
  50. package/dist/cdn/chunks/{dist-CoM5yDHD.js → dist-UPMuGK3l.js} +12 -13
  51. package/dist/cdn/chunks/{divider-D8o0JPE2.js → divider-ja-sWdqK.js} +2 -2
  52. package/dist/cdn/chunks/{document-tab-bar-BX6UhFBl.js → document-tab-bar-CzlWDPeb.js} +10 -10
  53. package/dist/cdn/chunks/{dropdown-afozwXVW.js → dropdown-CDnfyMTi.js} +6 -6
  54. package/dist/cdn/chunks/{file-field-BKhUYcHf.js → file-field-VGbq3duI.js} +16 -16
  55. package/dist/cdn/chunks/{floating-ui.dom-CB34tcZx.js → floating-ui.dom-DlsknQ4T.js} +3 -3
  56. package/dist/cdn/chunks/{form-DnZIiX9b.js → form-EDk-AXxW.js} +1 -1
  57. package/dist/cdn/chunks/{form-actions-Ddg9vIVq.js → form-actions-DJlOHVjC.js} +2 -2
  58. package/dist/cdn/chunks/{form-associated-mixin-BMQQpMlL.js → form-associated-mixin-BDrjhoXJ.js} +2 -2
  59. package/dist/cdn/chunks/{form-field-DDBYuAl_.js → form-field-DwfFYaIJ.js} +17 -8
  60. package/dist/cdn/chunks/{form-section-Co0TM35-.js → form-section-D5pvpU0g.js} +3 -3
  61. package/dist/cdn/chunks/{full-bleed-section-DD8ibmsa.js → full-bleed-section-B2lrxacX.js} +4 -4
  62. package/dist/cdn/chunks/{hero-BYrY2MZc.js → hero-8OBYFEcb.js} +5 -5
  63. package/dist/cdn/chunks/{icon-BzeHXcdi.js → icon-DZh6I8EN.js} +4 -4
  64. package/dist/cdn/chunks/{icon-button-BErQf42w.js → icon-button-Cfl9Uloz.js} +12 -12
  65. package/dist/cdn/chunks/{icon-cell-DGIMXKxK.js → icon-cell-BKxm4x3C.js} +8 -7
  66. package/dist/cdn/chunks/{identity-Cq-WnU6u.js → identity-D6mA_Ysl.js} +10 -10
  67. package/dist/cdn/chunks/{if-defined-CuY6t6gH.js → if-defined-Laa7Mar_.js} +1 -1
  68. package/dist/cdn/chunks/{image-BjjyqV0V.js → image-BNQlE_4Z.js} +10 -10
  69. package/dist/cdn/chunks/{inline-dialog-Bk2G7f5r.js → inline-dialog-5vpq_6bt.js} +10 -10
  70. package/dist/cdn/chunks/{just-in-time-education-Dxh5DNCy.js → just-in-time-education-C8uCzm2s.js} +7 -7
  71. package/dist/cdn/chunks/{kanban-BvmtB9D9.js → kanban-_aubAWTm.js} +7 -7
  72. package/dist/cdn/chunks/{kanban-column-CJ2g7pgA.js → kanban-column-CmitV46A.js} +38 -37
  73. package/dist/cdn/chunks/{keyboard-shortcut-BV5DFQtT.js → keyboard-shortcut-DY96tl24.js} +5 -5
  74. package/dist/cdn/chunks/{languages-DJjHEjGl.js → languages-B0lgBg4r.js} +3486 -1841
  75. package/dist/cdn/chunks/{link-BcukwT5Y.js → link-CEyAJ_y7.js} +7 -7
  76. package/dist/cdn/chunks/{link-group-Ci1q3uEd.js → link-group-DwnzL75g.js} +3 -3
  77. package/dist/cdn/chunks/{list-CFFHWUSC.js → list-D-_Z5AED.js} +11 -11
  78. package/dist/cdn/chunks/{list-item-Bg1NyOXd.js → list-item-BqzGOqJl.js} +7 -7
  79. package/dist/cdn/chunks/{list-item-segment-DJ8pk08-.js → list-item-segment-Ct876W0e.js} +5 -5
  80. package/dist/cdn/chunks/{menu-BEjqhn1-.js → menu-BDLqu0jO.js} +13 -13
  81. package/dist/cdn/chunks/{menu-bar-DkjXy-TE.js → menu-bar-DbCYdFuj.js} +7 -7
  82. package/dist/cdn/chunks/{menu-bar-item-3cJS29Ey.js → menu-bar-item-CFfcPjci.js} +7 -7
  83. package/dist/cdn/chunks/{menu-divider-CYmEimsb.js → menu-divider-DTzCjHnW.js} +4 -4
  84. package/dist/cdn/chunks/{menu-group-ggwAcgis.js → menu-group-rYPRHllx.js} +6 -6
  85. package/dist/cdn/chunks/{menu-item-BzH9H87h.js → menu-item-CjzoSHHj.js} +6 -6
  86. package/dist/cdn/chunks/{menu.template-PG82-P20.js → menu.template-D7dG2HRa.js} +10 -7
  87. package/dist/cdn/chunks/{modal-dialog-Bu7ETELf.js → modal-dialog-Cjn3EHfN.js} +5 -5
  88. package/dist/cdn/chunks/{multi-line-text-field-CQTKNBN7.js → multi-line-text-field-B8DstPYy.js} +9 -7
  89. package/dist/cdn/chunks/{navigation-split-view-elMoUjHh.js → navigation-split-view-BHM4b_Gb.js} +5 -5
  90. package/dist/cdn/chunks/{nl.generated-Lu29XEF3.js → nl.generated-Bu83qDco.js} +2 -2
  91. package/dist/cdn/chunks/{notification-DCjXGfbY.js → notification-CieKHgKd.js} +8 -8
  92. package/dist/cdn/chunks/{number-field-BUQUcG--.js → number-field-CVYaConf.js} +12 -10
  93. package/dist/cdn/chunks/{one-half-one-half-section-DiGkeUVr.js → one-half-one-half-section-aMdIJ_5N.js} +4 -4
  94. package/dist/cdn/chunks/{one-third-two-thirds-section-q_AP4qIJ.js → one-third-two-thirds-section-Dalek6lE.js} +4 -4
  95. package/dist/cdn/chunks/{one-time-code-field-BybS_l6h.js → one-time-code-field-BxkICLRG.js} +19 -14
  96. package/dist/cdn/chunks/{overflow-menu-Duey_XJs.js → overflow-menu-GR6uppZW.js} +1 -1
  97. package/dist/cdn/chunks/{page-BrIeWp1b.js → page-C18ixnPr.js} +7 -7
  98. package/dist/cdn/chunks/{page-footer-DPQg9Qbw.js → page-footer-CP6K-aw-.js} +6 -6
  99. package/dist/cdn/chunks/{page-section-mixin-B8FbeXaK.js → page-section-mixin-BLPRaUH6.js} +4 -4
  100. package/dist/cdn/chunks/{pagination-CfLJwflH.js → pagination-YLIq3Jcw.js} +8 -8
  101. package/dist/cdn/chunks/{password-field-CmoopbNF.js → password-field-CCRqiNHh.js} +12 -10
  102. package/dist/cdn/chunks/{popover-CPAR4N_a.js → popover-NvRaYQGL.js} +9 -9
  103. package/dist/cdn/chunks/{progress-bar-vKGXvxfe.js → progress-bar-DS0_RN2t.js} +9 -9
  104. package/dist/cdn/chunks/{progress-circle-dweisHzt.js → progress-circle-B5zlQKGK.js} +9 -9
  105. package/dist/cdn/chunks/{radio-button-field-DCrWiVoA.js → radio-button-field-DZ2p1w_S.js} +8 -8
  106. package/dist/cdn/chunks/{radio-button-DE1K49_2.js → radio-button-gY-u--Id.js} +6 -6
  107. package/dist/cdn/chunks/{radio-button-group-oLP_1cGy.js → radio-button-group-C0VdrjGz.js} +3 -3
  108. package/dist/cdn/chunks/{reflect-non-default-Bu3rpCvg.js → reflect-non-default-DUOcGZKf.js} +1 -1
  109. package/dist/cdn/chunks/{render-marked-BE3kBc1D.js → render-marked-SMLwIKOz.js} +1 -1
  110. package/dist/cdn/chunks/{reorder-handle-cell-COCN6knt.js → reorder-handle-cell-BfNGWoUb.js} +5 -5
  111. package/dist/cdn/chunks/{reorder-handle-mixin-CG-KhmuT.js → reorder-handle-mixin-Dy5l6J0C.js} +2 -2
  112. package/dist/cdn/chunks/{repeat-D69H_dsv.js → repeat-HQymq8gF.js} +2 -2
  113. package/dist/cdn/chunks/{rich-text-jEyIU58i.js → rich-text-BALF1UpX.js} +4 -4
  114. package/dist/cdn/chunks/{rolldown-runtime-CGnMp29N.js → rolldown-runtime-BMBA7GOT.js} +2 -2
  115. package/dist/cdn/chunks/{row-header-mixin-BejxhOCs.js → row-header-mixin-De75PIGu.js} +2 -2
  116. package/dist/cdn/chunks/{scroll-fade-Cae9xqXr.js → scroll-fade-Bj7GnOWo.js} +2 -2
  117. package/dist/cdn/chunks/{search-field-B8woxFh-.js → search-field-DP7e4bm8.js} +13 -11
  118. package/dist/cdn/chunks/{segmented-control-DbOi6Wk6.js → segmented-control-BXtb8I7v.js} +8 -8
  119. package/dist/cdn/chunks/{shadow-resets-CNmJbdJw.js → shadow-resets-CF-vkJJ8.js} +2 -2
  120. package/dist/cdn/chunks/{sheet-bK663_K4.js → sheet-Beykq5Xb.js} +4 -4
  121. package/dist/cdn/chunks/{shell-DLu1fHOH.js → shell-CTGO74H-.js} +4 -4
  122. package/dist/cdn/chunks/{side-by-side-split-view-vNhUmTiE.js → side-by-side-split-view-BZlxFAIM.js} +6 -6
  123. package/dist/cdn/chunks/{sidebar-section-CoE5F_h5.js → sidebar-section-CsODVvuK.js} +9 -9
  124. package/dist/cdn/chunks/{simple-section-1v7a_ZgI.js → simple-section-9pgvujZx.js} +4 -4
  125. package/dist/cdn/chunks/{skip-link-C6B6mMkA.js → skip-link-qdhDQoe7.js} +6 -6
  126. package/dist/cdn/chunks/{slider-BT-q6SP2.js → slider-CR_O2nPE.js} +10 -10
  127. package/dist/cdn/chunks/{spacer-DlFn3NtV.js → spacer-DbZEWOe2.js} +4 -4
  128. package/dist/cdn/chunks/{spacer-cell-Dy_twSDQ.js → spacer-cell-BnDgG-8g.js} +6 -6
  129. package/dist/cdn/chunks/{split-button-URHM5eTx.js → split-button-rY9ZZF4m.js} +8 -8
  130. package/dist/cdn/chunks/{split-view-divider-DeLyeDBx.js → split-view-divider-CXsR2koZ.js} +4 -4
  131. package/dist/cdn/chunks/{stacked-split-view-D0kiQJmL.js → stacked-split-view-CA97yLNG.js} +6 -6
  132. package/dist/cdn/chunks/{static-html-CAKb1-Ht.js → static-html-CfvOicw5.js} +1 -1
  133. package/dist/cdn/chunks/{status-bar-Bov-LrPy.js → status-bar-Cg0AkR2_.js} +14 -6
  134. package/dist/cdn/chunks/{step-bar-BLtsl_S_.js → step-bar-CAF54DmI.js} +7 -7
  135. package/dist/cdn/chunks/{step-cell-cxM7vhtH.js → step-cell-BfmEAqar.js} +6 -6
  136. package/dist/cdn/chunks/{stepper-DeIcLT7G.js → stepper-C2oRKeaC.js} +9 -9
  137. package/dist/cdn/chunks/{style-map-CQX4CmTz.js → style-map-BZRDrOiA.js} +1 -1
  138. package/dist/cdn/chunks/{swatch-picker-A7AU6Agu.js → swatch-picker-DW07gML2.js} +7 -7
  139. package/dist/cdn/chunks/{switch-D0UPsKws.js → switch-D3dbZ1J9.js} +8 -8
  140. package/dist/cdn/chunks/{switch-field-D63lc5C0.js → switch-field-DrP2P8J-.js} +8 -8
  141. package/dist/cdn/chunks/{tab-bar-CzGSRfKd.js → tab-bar-D0VfxxWN.js} +21 -17
  142. package/dist/cdn/chunks/tab-bar.i18n-9sChoP56.js +6 -0
  143. package/dist/cdn/chunks/{table-DfunY2Dn.js → table-CWQWdro8.js} +6 -6
  144. package/dist/cdn/chunks/{tag-DSWjjDBo.js → tag-Dc2wNx-T.js} +6 -6
  145. package/dist/cdn/chunks/{term-Bk9cdlCz.js → term-DUIQ5xer.js} +12 -12
  146. package/dist/cdn/chunks/{text-CDBiVulh.js → text-BGobv84x.js} +5 -5
  147. package/dist/cdn/chunks/{text-cell-DUOJAXZo.js → text-cell-CGvUJRLw.js} +11 -11
  148. package/dist/cdn/chunks/{text-editor-BIbYF0AB.js → text-editor-CHsINr20.js} +1308 -904
  149. package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
  150. package/dist/cdn/chunks/{text-field-CAnQNcXB.js → text-field-CpSGZVmD.js} +9 -7
  151. package/dist/cdn/chunks/{text-wrap-COu7AY91.js → text-wrap-DHroWilR.js} +2 -2
  152. package/dist/cdn/chunks/{time-field-xriXgFMl.js → time-field-CJVbIp-l.js} +17 -15
  153. package/dist/cdn/chunks/{time-picker-D3_KbYUW.js → time-picker-S2rQpNA-.js} +9 -9
  154. package/dist/cdn/chunks/{title-HPn4c-s5.js → title-DrogO1fi.js} +6 -6
  155. package/dist/cdn/chunks/{title-cell-BXMZkbXf.js → title-cell-CX_yGWvW.js} +10 -10
  156. package/dist/cdn/chunks/{toggle-button-DY22KEwY.js → toggle-button-CwVn3pQ-.js} +10 -10
  157. package/dist/cdn/chunks/{toggle-button-group-DsjZofEG.js → toggle-button-group-BY4GlP2N.js} +3 -3
  158. package/dist/cdn/chunks/{token-field-CQxSARGi.js → token-field-CgE9PfeW.js} +13 -11
  159. package/dist/cdn/chunks/{token-DwT2i71b.js → token-vYddtNLa.js} +7 -7
  160. package/dist/cdn/chunks/{toolbar-CaDvhCqm.js → toolbar-Cl9XcbRF.js} +10 -10
  161. package/dist/cdn/chunks/{toolbar-item-BDl4ys-w.js → toolbar-item-BQKbNQGY.js} +5 -8
  162. package/dist/cdn/chunks/{toolbar-title-yGR8Hzhp.js → toolbar-title-Ka7Q_vfZ.js} +5 -5
  163. package/dist/cdn/chunks/{toolbar.styles-DlyfZkRq.js → toolbar.styles-QMkPXyiR.js} +4 -3
  164. package/dist/cdn/chunks/{tooltip-BDiYghAz.js → tooltip-BERJsBSV.js} +8 -8
  165. package/dist/cdn/chunks/{top-navigation-bar-ibsjezN_.js → top-navigation-bar-CJCQf83I.js} +19 -19
  166. package/dist/cdn/chunks/{top-title-bar-BKdwEZfj.js → top-title-bar-CT4gj9gn.js} +12 -9
  167. package/dist/cdn/chunks/{two-thirds-one-third-section-DmumCsGo.js → two-thirds-one-third-section-CQwCU61R.js} +4 -4
  168. package/dist/cdn/chunks/{validation-list-CXcJfvOJ.js → validation-list-3b8a8S3f.js} +5 -5
  169. package/dist/cdn/chunks/{visibility-mixin-C7s59UlL.js → visibility-mixin-BDaVoR0J.js} +2 -2
  170. package/dist/cdn/chunks/{visually-hidden-CMzKHcSc.js → visually-hidden-GgT4UkeT.js} +2 -2
  171. package/dist/cdn/chunks/{window-CSNx5wt1.js → window-BTU1k5p4.js} +5 -5
  172. package/dist/cdn/chunks/{with-translations-0oyNXfdD.js → with-translations-D3sJ-X8x.js} +3 -3
  173. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  174. package/dist/components/actions/menu/menu.styles.js +4 -1
  175. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  176. package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
  177. package/dist/components/actions/toolbar/toolbar-item.js +1 -7
  178. package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
  179. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  180. package/dist/components/actions/toolbar/toolbar.styles.js +1 -0
  181. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  182. package/dist/components/content/identity/identity.d.ts +6 -0
  183. package/dist/components/content/identity/identity.d.ts.map +1 -1
  184. package/dist/components/content/identity/identity.js +6 -0
  185. package/dist/components/content/identity/identity.js.map +1 -1
  186. package/dist/components/content/identity/identity.styles.js +2 -2
  187. package/dist/components/content/rich-text/rich-text.d.ts +8 -8
  188. package/dist/components/content/rich-text/rich-text.js +8 -8
  189. package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
  190. package/dist/components/forms/form-field/form-field.styles.js +9 -0
  191. package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
  192. package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
  193. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  194. package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
  195. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  196. package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
  197. package/dist/components/inputs/date-field/date-field.styles.js +2 -0
  198. package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
  199. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  200. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
  201. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  202. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  203. package/dist/components/inputs/number-field/number-field.styles.js +2 -0
  204. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  205. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +5 -2
  206. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  207. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +10 -4
  208. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  209. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  210. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
  211. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  212. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  213. package/dist/components/inputs/password-field/password-field.styles.js +2 -0
  214. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  215. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  216. package/dist/components/inputs/search-field/search-field.styles.js +2 -0
  217. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  218. package/dist/components/inputs/switch/switch.styles.js +1 -1
  219. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -1
  220. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
  221. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
  222. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
  223. package/dist/components/inputs/text-editor/text-editor.commands.d.ts +1 -0
  224. package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
  225. package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
  226. package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
  227. package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
  228. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  229. package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
  230. package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
  231. package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
  232. package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
  233. package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
  234. package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
  235. package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
  236. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
  237. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
  238. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
  239. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
  240. package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
  241. package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
  242. package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
  243. package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
  244. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -0
  245. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  246. package/dist/components/inputs/text-editor/text-editor.i18n.js +3 -0
  247. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  248. package/dist/components/inputs/text-editor/text-editor.js +67 -6
  249. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  250. package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
  251. package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
  252. package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
  253. package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
  254. package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -0
  255. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  256. package/dist/components/inputs/text-editor/text-editor.links.js +41 -12
  257. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  258. package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
  259. package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
  260. package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
  261. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  262. package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
  263. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  264. package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
  265. package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
  266. package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
  267. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
  268. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  269. package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
  270. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  271. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  272. package/dist/components/inputs/text-editor/text-editor.styles.js +116 -12
  273. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  274. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
  275. package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
  276. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
  277. package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
  278. package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
  279. package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
  280. package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
  281. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  282. package/dist/components/inputs/text-field/text-field.styles.js +2 -0
  283. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  284. package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
  285. package/dist/components/inputs/time-field/time-field.styles.js +2 -0
  286. package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
  287. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  288. package/dist/components/inputs/token-field/token-field.styles.js +2 -0
  289. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  290. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -0
  291. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  292. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -0
  293. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  294. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  295. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +2 -1
  296. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
  297. package/dist/components/navigation/tab-bar/tab-bar.d.ts +8 -0
  298. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  299. package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts +1 -0
  300. package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts.map +1 -1
  301. package/dist/components/navigation/tab-bar/tab-bar.i18n.js +1 -0
  302. package/dist/components/navigation/tab-bar/tab-bar.i18n.js.map +1 -1
  303. package/dist/components/navigation/tab-bar/tab-bar.js +16 -0
  304. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  305. package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
  306. package/dist/components/navigation/tab-bar/tab-bar.template.js +3 -2
  307. package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
  308. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
  309. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  310. package/dist/components/navigation/top-title-bar/top-title-bar.js +6 -1
  311. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  312. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +12 -6
  313. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  314. package/dist/components/status-and-feedback/status-bar/status-bar.js +28 -7
  315. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  316. package/dist/css/rich-text.css +5 -0
  317. package/dist/css/themes/donkergeel.css +5 -6
  318. package/dist/css/themes/geel.css +5 -6
  319. package/dist/css/themes.css +10 -12
  320. package/dist/css/variables.css +2 -6
  321. package/dist/nldd.min.js +1852 -1714
  322. package/dist/translations/en-US.d.ts.map +1 -1
  323. package/dist/translations/en-US.js +2 -0
  324. package/dist/translations/en-US.js.map +1 -1
  325. package/dist/translations/fy.d.ts.map +1 -1
  326. package/dist/translations/fy.js +2 -0
  327. package/dist/translations/fy.js.map +1 -1
  328. package/dist/translations/nl.generated.d.ts +2 -0
  329. package/dist/translations/nl.generated.d.ts.map +1 -1
  330. package/dist/translations/pap-AW.d.ts.map +1 -1
  331. package/dist/translations/pap-AW.js +2 -0
  332. package/dist/translations/pap-AW.js.map +1 -1
  333. package/dist/translations/pap-CW.d.ts.map +1 -1
  334. package/dist/translations/pap-CW.js +2 -0
  335. package/dist/translations/pap-CW.js.map +1 -1
  336. package/dist/types/react.d.ts +8 -8
  337. package/dist/types/vue.d.ts +10 -8
  338. package/dist/utilities/dev-rules.generated.js +1 -1
  339. package/dist/utilities/dev-rules.generated.js.map +1 -1
  340. package/dist/utilities/reflect-non-default.d.ts +2 -1
  341. package/dist/utilities/reflect-non-default.d.ts.map +1 -1
  342. package/dist/utilities/reflect-non-default.js +3 -2
  343. package/dist/utilities/reflect-non-default.js.map +1 -1
  344. package/lint/data.generated.json +1 -1
  345. package/package.json +6 -6
  346. package/dist/cdn/chunks/style-mod-DGMhzWuk.js +0 -1583
  347. package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +0 -3
@@ -1,10 +1,9 @@
1
- import { l as e } from "./style-mod-DGMhzWuk.js";
2
- import { $ as t, A as n, C as r, E as i, K as a, O as o, Q as s, X as c, Y as l, Z as u, b as d, ct as f, et as p, ht as m, i as ee, j as h, lt as te, mt as g, o as ne, pt as re, st as ie, tt as ae, ut as _, w as oe, x as se } from "./languages-DJjHEjGl.js";
3
- import { r as v } from "./custom-element-DGdiDiuN.js";
4
- import { n as ce, t as y } from "./decorate-D2snH_th.js";
5
- import { t as le } from "./reflect-non-default-Bu3rpCvg.js";
6
- import { t as ue } from "./described-by-mixin-Doan1yj6.js";
7
- import { t as de } from "./form-associated-mixin-BMQQpMlL.js";
1
+ import { $ as e, Ct as t, D as n, M as r, Q as i, S as a, T as o, X as s, Z as c, ct as l, dt as u, et as d, gt as f, ht as p, i as m, j as ee, k as h, lt as te, mt as ne, nt as re, o as ie, q as ae, tt as oe, ut as se, w as g, x as _ } from "./languages-B0lgBg4r.js";
2
+ import { r as v } from "./custom-element-BPzCecdN.js";
3
+ import { n as ce, t as y } from "./decorate-CNSW3HVY.js";
4
+ import { t as le } from "./reflect-non-default-DUOcGZKf.js";
5
+ import { t as ue } from "./described-by-mixin-BNEosRlm.js";
6
+ import { t as de } from "./form-associated-mixin-BDrjhoXJ.js";
8
7
  // node_modules/@codemirror/commands/dist/index.js
9
8
  var fe = (e) => {
10
9
  let { state: t } = e, n = t.doc.lineAt(t.selection.main.from), r = x(e.state, n.from);
@@ -91,11 +90,11 @@ function ve(e, t, n = t.selection.ranges) {
91
90
  }
92
91
  function ye(e, t, n = t.selection.ranges) {
93
92
  let r = [], i = -1;
94
- ranges: for (let { from: e, to: a } of n) {
93
+ e: for (let { from: e, to: a } of n) {
95
94
  let n = r.length, o = 1e9, s;
96
95
  for (let n = e; n <= a;) {
97
96
  let c = t.doc.lineAt(n);
98
- if (s == null && (s = x(t, c.from).line, !s)) continue ranges;
97
+ if (s == null && (s = x(t, c.from).line, !s)) continue e;
99
98
  if (c.from > i && (e == a || a > c.from)) {
100
99
  i = c.from;
101
100
  let e = /^\s*/.exec(c.text)[0].length, t = e == c.length, n = c.text.slice(e, e + s.length) == s ? e : -1;
@@ -138,8 +137,8 @@ function ye(e, t, n = t.selection.ranges) {
138
137
  }
139
138
  return null;
140
139
  }
141
- var C = /*@__PURE__*/ l.define(), be = /*@__PURE__*/ l.define(), xe = /*@__PURE__*/ ae.define(), Se = /*@__PURE__*/ ae.define({ combine(e) {
142
- return re(e, {
140
+ var C = /*@__PURE__*/ s.define(), be = /*@__PURE__*/ s.define(), w = /*@__PURE__*/ re.define(), xe = /*@__PURE__*/ re.define({ combine(e) {
141
+ return ne(e, {
143
142
  minDepth: 100,
144
143
  newGroupDelay: 500,
145
144
  joinToEvent: (e, t) => t
@@ -148,19 +147,19 @@ var C = /*@__PURE__*/ l.define(), be = /*@__PURE__*/ l.define(), xe = /*@__PURE_
148
147
  newGroupDelay: Math.min,
149
148
  joinToEvent: (e, t) => (n, r) => e(n, r) || t(n, r)
150
149
  });
151
- } }), w = /*@__PURE__*/ f.define({
150
+ } }), T = /*@__PURE__*/ te.define({
152
151
  create() {
153
152
  return N.empty;
154
153
  },
155
154
  update(e, t) {
156
- let n = t.state.facet(Se), r = t.annotation(C);
155
+ let n = t.state.facet(xe), r = t.annotation(C);
157
156
  if (r) {
158
- let i = O.fromTransaction(t, r.selection), a = r.side, o = a == 0 ? e.undone : e.done;
159
- return o = i ? k(o, o.length, n.minDepth, i) : Me(o, t.startState.selection), new N(a == 0 ? r.rest : o, a == 0 ? o : r.rest);
157
+ let i = k.fromTransaction(t, r.selection), a = r.side, o = a == 0 ? e.undone : e.done;
158
+ return o = i ? A(o, o.length, n.minDepth, i) : Me(o, t.startState.selection), new N(a == 0 ? r.rest : o, a == 0 ? o : r.rest);
160
159
  }
161
160
  let i = t.annotation(be);
162
- if ((i == "full" || i == "before") && (e = e.isolate()), t.annotation(_.addToHistory) === !1) return t.changes.empty ? e : e.addMapping(t.changes.desc);
163
- let a = O.fromTransaction(t), o = t.annotation(_.time), s = t.annotation(_.userEvent);
161
+ if ((i == "full" || i == "before") && (e = e.isolate()), t.annotation(u.addToHistory) === !1) return t.changes.empty ? e : e.addMapping(t.changes.desc);
162
+ let a = k.fromTransaction(t), o = t.annotation(u.time), s = t.annotation(u.userEvent);
164
163
  return a ? e = e.addChanges(a, o, s, n, t) : t.selection && (e = e.addSelection(t.startState.selection, o, s, n.newGroupDelay)), (i == "full" || i == "after") && (e = e.isolate()), e;
165
164
  },
166
165
  toJSON(e) {
@@ -170,38 +169,38 @@ var C = /*@__PURE__*/ l.define(), be = /*@__PURE__*/ l.define(), xe = /*@__PURE_
170
169
  };
171
170
  },
172
171
  fromJSON(e) {
173
- return new N(e.done.map(O.fromJSON), e.undone.map(O.fromJSON));
172
+ return new N(e.done.map(k.fromJSON), e.undone.map(k.fromJSON));
174
173
  }
175
174
  });
176
- function Ce(e = {}) {
175
+ function Se(e = {}) {
177
176
  return [
178
- w,
179
- Se.of(e),
180
- h.domEventHandlers({ beforeinput(e, t) {
181
- let n = e.inputType == "historyUndo" ? E : e.inputType == "historyRedo" ? D : null;
177
+ T,
178
+ xe.of(e),
179
+ r.domEventHandlers({ beforeinput(e, t) {
180
+ let n = e.inputType == "historyUndo" ? D : e.inputType == "historyRedo" ? O : null;
182
181
  return n ? (e.preventDefault(), n(t)) : !1;
183
182
  } })
184
183
  ];
185
184
  }
186
- function T(e, t) {
185
+ function E(e, t) {
187
186
  return function({ state: n, dispatch: r }) {
188
187
  if (!t && n.readOnly) return !1;
189
- let i = n.field(w, !1);
188
+ let i = n.field(T, !1);
190
189
  if (!i) return !1;
191
190
  let a = i.pop(e, n, t);
192
191
  return a ? (r(a), !0) : !1;
193
192
  };
194
193
  }
195
- var E = /*@__PURE__*/ T(0, !1), D = /*@__PURE__*/ T(1, !1), we = /*@__PURE__*/ T(0, !0), Te = /*@__PURE__*/ T(1, !0);
196
- function Ee(e) {
194
+ var D = /*@__PURE__*/ E(0, !1), O = /*@__PURE__*/ E(1, !1), Ce = /*@__PURE__*/ E(0, !0), we = /*@__PURE__*/ E(1, !0);
195
+ function Te(e) {
197
196
  return function(t) {
198
- let n = t.field(w, !1);
197
+ let n = t.field(T, !1);
199
198
  if (!n) return 0;
200
199
  let r = e == 0 ? n.done : n.undone;
201
200
  return r.length - (r.length && !r[0].changes ? 1 : 0);
202
201
  };
203
202
  }
204
- var De = /*@__PURE__*/ Ee(0), Oe = /*@__PURE__*/ Ee(1), O = class e {
203
+ var Ee = /*@__PURE__*/ Te(0), De = /*@__PURE__*/ Te(1), k = class e {
205
204
  constructor(e, t, n, r, i) {
206
205
  this.changes = e, this.effects = t, this.mapped = n, this.startSelection = r, this.selectionsAfter = i;
207
206
  }
@@ -216,12 +215,12 @@ var De = /*@__PURE__*/ Ee(0), Oe = /*@__PURE__*/ Ee(1), O = class e {
216
215
  selectionsAfter: this.selectionsAfter.map((e) => e.toJSON())
217
216
  };
218
217
  }
219
- static fromJSON(n) {
220
- return new e(n.changes && u.fromJSON(n.changes), [], n.mapped && c.fromJSON(n.mapped), n.startSelection && t.fromJSON(n.startSelection), n.selectionsAfter.map(t.fromJSON));
218
+ static fromJSON(t) {
219
+ return new e(t.changes && i.fromJSON(t.changes), [], t.mapped && c.fromJSON(t.mapped), t.startSelection && d.fromJSON(t.startSelection), t.selectionsAfter.map(d.fromJSON));
221
220
  }
222
221
  static fromTransaction(t, n) {
223
222
  let r = j;
224
- for (let e of t.startState.facet(xe)) {
223
+ for (let e of t.startState.facet(w)) {
225
224
  let n = e(t);
226
225
  n.length && (r = r.concat(n));
227
226
  }
@@ -231,11 +230,11 @@ var De = /*@__PURE__*/ Ee(0), Oe = /*@__PURE__*/ Ee(1), O = class e {
231
230
  return new e(void 0, j, void 0, void 0, t);
232
231
  }
233
232
  };
234
- function k(e, t, n, r) {
233
+ function A(e, t, n, r) {
235
234
  let i = t + 1 > n + 20 ? t - n - 1 : 0, a = e.slice(i, t);
236
235
  return a.push(r), a;
237
236
  }
238
- function ke(e, t) {
237
+ function Oe(e, t) {
239
238
  let n = [], r = !1;
240
239
  return e.iterChangedRanges((e, t) => n.push(e, t)), t.iterChangedRanges((e, t, i, a) => {
241
240
  for (let e = 0; e < n.length;) {
@@ -244,19 +243,19 @@ function ke(e, t) {
244
243
  }
245
244
  }), r;
246
245
  }
247
- function Ae(e, t) {
246
+ function ke(e, t) {
248
247
  return e.ranges.length == t.ranges.length && e.ranges.filter((e, n) => e.empty != t.ranges[n].empty).length === 0;
249
248
  }
250
- function A(e, t) {
249
+ function Ae(e, t) {
251
250
  return e.length ? t.length ? e.concat(t) : e : t;
252
251
  }
253
252
  var j = [], je = 200;
254
253
  function Me(e, t) {
255
254
  if (e.length) {
256
255
  let n = e[e.length - 1], r = n.selectionsAfter.slice(Math.max(0, n.selectionsAfter.length - je));
257
- return r.length && r[r.length - 1].eq(t) ? e : (r.push(t), k(e, e.length - 1, 1e9, n.setSelAfter(r)));
256
+ return r.length && r[r.length - 1].eq(t) ? e : (r.push(t), A(e, e.length - 1, 1e9, n.setSelAfter(r)));
258
257
  }
259
- return [O.selection([t])];
258
+ return [k.selection([t])];
260
259
  }
261
260
  function Ne(e) {
262
261
  let t = e[e.length - 1], n = e.slice();
@@ -273,13 +272,13 @@ function M(e, t) {
273
272
  }
274
273
  t = i.mapped, n--, r = i.selectionsAfter;
275
274
  }
276
- return r.length ? [O.selection(r)] : j;
275
+ return r.length ? [k.selection(r)] : j;
277
276
  }
278
277
  function Pe(e, t, n) {
279
- let r = A(e.selectionsAfter.length ? e.selectionsAfter.map((e) => e.map(t)) : j, n);
280
- if (!e.changes) return O.selection(r);
278
+ let r = Ae(e.selectionsAfter.length ? e.selectionsAfter.map((e) => e.map(t)) : j, n);
279
+ if (!e.changes) return k.selection(r);
281
280
  let i = e.changes.map(t), a = t.mapDesc(e.changes, !0), o = e.mapped ? e.mapped.composeDesc(a) : a;
282
- return new O(i, ie.mapEffects(e.effects, t), o, e.startSelection.map(a), r);
281
+ return new k(i, l.mapEffects(e.effects, t), o, e.startSelection.map(a), r);
283
282
  }
284
283
  var Fe = /^(input\.type|delete)($|\.)/, N = class e {
285
284
  constructor(e, t, n = 0, r = void 0) {
@@ -290,11 +289,11 @@ var Fe = /^(input\.type|delete)($|\.)/, N = class e {
290
289
  }
291
290
  addChanges(t, n, r, i, a) {
292
291
  let o = this.done, s = o[o.length - 1];
293
- return o = s && s.changes && !s.changes.empty && t.changes && (!r || Fe.test(r)) && (!s.selectionsAfter.length && n - this.prevTime < i.newGroupDelay && i.joinToEvent(a, ke(s.changes, t.changes)) || r == "input.type.compose") ? k(o, o.length - 1, i.minDepth, new O(t.changes.compose(s.changes), A(ie.mapEffects(t.effects, s.changes), s.effects), s.mapped, s.startSelection, j)) : k(o, o.length, i.minDepth, t), new e(o, j, n, r);
292
+ return o = s && s.changes && !s.changes.empty && t.changes && (!r || Fe.test(r)) && (!s.selectionsAfter.length && n - this.prevTime < i.newGroupDelay && i.joinToEvent(a, Oe(s.changes, t.changes)) || r == "input.type.compose") ? A(o, o.length - 1, i.minDepth, new k(t.changes.compose(s.changes), Ae(l.mapEffects(t.effects, s.changes), s.effects), s.mapped, s.startSelection, j)) : A(o, o.length, i.minDepth, t), new e(o, j, n, r);
294
293
  }
295
294
  addSelection(t, n, r, i) {
296
295
  let a = this.done.length ? this.done[this.done.length - 1].selectionsAfter : j;
297
- return a.length > 0 && n - this.prevTime < i && r == this.prevUserEvent && r && /^select($|\.)/.test(r) && Ae(a[a.length - 1], t) ? this : new e(Me(this.done, t), this.undone, n, r);
296
+ return a.length > 0 && n - this.prevTime < i && r == this.prevUserEvent && r && /^select($|\.)/.test(r) && ke(a[a.length - 1], t) ? this : new e(Me(this.done, t), this.undone, n, r);
298
297
  }
299
298
  addMapping(t) {
300
299
  return new e(M(this.done, t), M(this.undone, t), this.prevTime, this.prevUserEvent);
@@ -336,34 +335,34 @@ N.empty = /*@__PURE__*/ new N(j, j);
336
335
  var Ie = [
337
336
  {
338
337
  key: "Mod-z",
339
- run: E,
338
+ run: D,
340
339
  preventDefault: !0
341
340
  },
342
341
  {
343
342
  key: "Mod-y",
344
343
  mac: "Mod-Shift-z",
345
- run: D,
344
+ run: O,
346
345
  preventDefault: !0
347
346
  },
348
347
  {
349
348
  linux: "Ctrl-Shift-z",
350
- run: D,
349
+ run: O,
351
350
  preventDefault: !0
352
351
  },
353
352
  {
354
353
  key: "Mod-u",
355
- run: we,
354
+ run: Ce,
356
355
  preventDefault: !0
357
356
  },
358
357
  {
359
358
  key: "Alt-u",
360
359
  mac: "Mod-Shift-u",
361
- run: Te,
360
+ run: we,
362
361
  preventDefault: !0
363
362
  }
364
363
  ];
365
- function P(e, n) {
366
- return t.create(e.ranges.map(n), e.mainIndex);
364
+ function P(e, t) {
365
+ return d.create(e.ranges.map(t), e.mainIndex);
367
366
  }
368
367
  function F(e, t) {
369
368
  return e.update({
@@ -376,275 +375,275 @@ function I({ state: e, dispatch: t }, n) {
376
375
  let r = P(e.selection, n);
377
376
  return !r.eq(e.selection, !0) && (t(F(e, r)), !0);
378
377
  }
379
- function L(e, n) {
380
- return t.cursor(n ? e.to : e.from);
378
+ function L(e, t) {
379
+ return d.cursor(t ? e.to : e.from);
381
380
  }
382
381
  function Le(e, t) {
383
382
  return I(e, (n) => n.empty ? e.moveByChar(n, t) : L(n, t));
384
383
  }
385
384
  function R(e) {
386
- return e.textDirectionAt(e.state.selection.main.head) == n.LTR;
385
+ return e.textDirectionAt(e.state.selection.main.head) == ee.LTR;
387
386
  }
388
- var Re = (e) => Le(e, !R(e)), z = (e) => Le(e, R(e));
389
- function B(e, t) {
387
+ var Re = (e) => Le(e, !R(e)), ze = (e) => Le(e, R(e));
388
+ function Be(e, t) {
390
389
  return I(e, (n) => n.empty ? e.moveByGroup(n, t) : L(n, t));
391
390
  }
392
- var ze = (e) => B(e, !R(e)), Be = (e) => B(e, R(e));
391
+ var Ve = (e) => Be(e, !R(e)), He = (e) => Be(e, R(e));
393
392
  typeof Intl < "u" && Intl.Segmenter;
394
- function Ve(e, t, n) {
393
+ function Ue(e, t, n) {
395
394
  if (t.type.prop(n)) return !0;
396
395
  let r = t.to - t.from;
397
396
  return r && (r > 2 || /[^\s,.;:]/.test(e.sliceDoc(t.from, t.to))) || t.firstChild;
398
397
  }
399
- function V(n, r, a) {
400
- let s = o(n).resolveInner(r.head), c = a ? e.closedBy : e.openedBy;
401
- for (let e = r.head;;) {
402
- let t = a ? s.childAfter(e) : s.childBefore(e);
403
- if (!t) break;
404
- Ve(n, t, c) ? s = t : e = a ? t.to : t.from;
398
+ function z(e, r, i) {
399
+ let a = h(e).resolveInner(r.head), o = i ? t.closedBy : t.openedBy;
400
+ for (let t = r.head;;) {
401
+ let n = i ? a.childAfter(t) : a.childBefore(t);
402
+ if (!n) break;
403
+ Ue(e, n, o) ? a = n : t = i ? n.to : n.from;
405
404
  }
406
- let l = s.type.prop(c), u, d;
407
- return d = l && (u = a ? i(n, s.from, 1) : i(n, s.to, -1)) && u.matched ? a ? u.end.to : u.end.from : a ? s.to : s.from, t.cursor(d, a ? -1 : 1);
405
+ let s = a.type.prop(o), c, l;
406
+ return l = s && (c = i ? n(e, a.from, 1) : n(e, a.to, -1)) && c.matched ? i ? c.end.to : c.end.from : i ? a.to : a.from, d.cursor(l, i ? -1 : 1);
408
407
  }
409
- var He = (e) => I(e, (t) => V(e.state, t, !R(e))), Ue = (e) => I(e, (t) => V(e.state, t, R(e)));
410
- function We(e, t) {
408
+ var We = (e) => I(e, (t) => z(e.state, t, !R(e))), Ge = (e) => I(e, (t) => z(e.state, t, R(e)));
409
+ function B(e, t) {
411
410
  return I(e, (n) => {
412
411
  if (!n.empty) return L(n, t);
413
412
  let r = e.moveVertically(n, t);
414
413
  return r.head == n.head ? e.moveToLineBoundary(n, t) : r;
415
414
  });
416
415
  }
417
- var Ge = (e) => We(e, !1), Ke = (e) => We(e, !0);
416
+ var V = (e) => B(e, !1), Ke = (e) => B(e, !0);
418
417
  function qe(e) {
419
- let t = e.scrollDOM.clientHeight < e.scrollDOM.scrollHeight - 2, n = 0, r = 0, i;
418
+ let t = e.scrollDOM.clientHeight < e.scrollDOM.scrollHeight - 2, n = 0, i = 0, a;
420
419
  if (t) {
421
- for (let t of e.state.facet(h.scrollMargins)) {
422
- let i = t(e);
423
- i?.top && (n = Math.max(i?.top, n)), i?.bottom && (r = Math.max(i?.bottom, r));
420
+ for (let t of e.state.facet(r.scrollMargins)) {
421
+ let r = t(e);
422
+ r?.top && (n = Math.max(r?.top, n)), r?.bottom && (i = Math.max(r?.bottom, i));
424
423
  }
425
- i = e.scrollDOM.clientHeight - n - r;
426
- } else i = (e.dom.ownerDocument.defaultView || window).innerHeight;
424
+ a = e.scrollDOM.clientHeight - n - i;
425
+ } else a = (e.dom.ownerDocument.defaultView || window).innerHeight;
427
426
  return {
428
427
  marginTop: n,
429
- marginBottom: r,
428
+ marginBottom: i,
430
429
  selfScroll: t,
431
- height: Math.max(e.defaultLineHeight, i - 5)
430
+ height: Math.max(e.defaultLineHeight, a - 5)
432
431
  };
433
432
  }
434
433
  function Je(e, t) {
435
- let n = qe(e), { state: r } = e, i = P(r.selection, (r) => r.empty ? e.moveVertically(r, t, n.height) : L(r, t));
436
- if (i.eq(r.selection)) return !1;
437
- let a;
434
+ let n = qe(e), { state: i } = e, a = P(i.selection, (r) => r.empty ? e.moveVertically(r, t, n.height) : L(r, t));
435
+ if (a.eq(i.selection)) return !1;
436
+ let o;
438
437
  if (n.selfScroll) {
439
- let t = e.coordsAtPos(r.selection.main.head), o = e.scrollDOM.getBoundingClientRect(), s = o.top + n.marginTop, c = o.bottom - n.marginBottom;
440
- t && t.top > s && t.bottom < c && (a = h.scrollIntoView(i.main.head, {
438
+ let t = e.coordsAtPos(i.selection.main.head), s = e.scrollDOM.getBoundingClientRect(), c = s.top + n.marginTop, l = s.bottom - n.marginBottom;
439
+ t && t.top > c && t.bottom < l && (o = r.scrollIntoView(a.main.head, {
441
440
  y: "start",
442
- yMargin: t.top - s
441
+ yMargin: t.top - c
443
442
  }));
444
443
  }
445
- return e.dispatch(F(r, i), { effects: a }), !0;
444
+ return e.dispatch(F(i, a), { effects: o }), !0;
446
445
  }
447
446
  var Ye = (e) => Je(e, !1), H = (e) => Je(e, !0);
448
- function U(e, n, r) {
449
- let i = e.lineBlockAt(n.head), a = e.moveToLineBoundary(n, r);
450
- if (a.head == n.head && a.head != (r ? i.to : i.from) && (a = e.moveToLineBoundary(n, r, !1)), !r && a.head == i.from && i.length) {
451
- let r = /^\s*/.exec(e.state.sliceDoc(i.from, Math.min(i.from + 100, i.to)))[0].length;
452
- r && n.head != i.from + r && (a = t.cursor(i.from + r));
447
+ function U(e, t, n) {
448
+ let r = e.lineBlockAt(t.head), i = e.moveToLineBoundary(t, n);
449
+ if (i.head == t.head && i.head != (n ? r.to : r.from) && (i = e.moveToLineBoundary(t, n, !1)), !n && i.head == r.from && r.length) {
450
+ let n = /^\s*/.exec(e.state.sliceDoc(r.from, Math.min(r.from + 100, r.to)))[0].length;
451
+ n && t.head != r.from + n && (i = d.cursor(r.from + n));
453
452
  }
454
- return a;
453
+ return i;
455
454
  }
456
455
  var Xe = (e) => I(e, (t) => U(e, t, !0)), Ze = (e) => I(e, (t) => U(e, t, !1)), Qe = (e) => I(e, (t) => U(e, t, !R(e))), $e = (e) => I(e, (t) => U(e, t, R(e))), et = (e) => I(e, (t) => e.moveToLineBoundary(t, !1, !1)), tt = (e) => I(e, (t) => e.moveToLineBoundary(t, !0, !1));
457
- function nt(e, n, r) {
458
- let a = !1, o = P(e.selection, (n) => {
459
- let o = i(e, n.head, -1) || i(e, n.head, 1) || n.head > 0 && i(e, n.head - 1, 1) || n.head < e.doc.length && i(e, n.head + 1, -1);
460
- if (!o || !o.end) return n;
461
- a = !0;
462
- let s = o.start.from == n.head ? o.end.to : o.end.from;
463
- return r ? t.range(n.anchor, s) : t.cursor(s);
456
+ function nt(e, t, r) {
457
+ let i = !1, a = P(e.selection, (t) => {
458
+ let a = n(e, t.head, -1) || n(e, t.head, 1) || t.head > 0 && n(e, t.head - 1, 1) || t.head < e.doc.length && n(e, t.head + 1, -1);
459
+ if (!a || !a.end) return t;
460
+ i = !0;
461
+ let o = a.start.from == t.head ? a.end.to : a.end.from;
462
+ return r ? d.range(t.anchor, o) : d.cursor(o);
464
463
  });
465
- return a ? (n(F(e, o)), !0) : !1;
464
+ return i ? (t(F(e, a)), !0) : !1;
466
465
  }
467
466
  var rt = ({ state: e, dispatch: t }) => nt(e, t, !1);
468
- function W(e, n, r) {
469
- let i = P(e.state.selection, (e) => {
470
- e.undirectional && e.head >= e.anchor != n && (e = t.range(e.head, e.anchor));
471
- let i = r(e);
472
- return t.range(e.anchor, i.head, i.goalColumn, i.bidiLevel || void 0, i.assoc);
467
+ function W(e, t, n) {
468
+ let r = P(e.state.selection, (e) => {
469
+ e.undirectional && e.head >= e.anchor != t && (e = d.range(e.head, e.anchor));
470
+ let r = n(e);
471
+ return d.range(e.anchor, r.head, r.goalColumn, r.bidiLevel || void 0, r.assoc);
473
472
  });
474
- return !i.eq(e.state.selection) && (e.dispatch(F(e.state, i)), !0);
473
+ return !r.eq(e.state.selection) && (e.dispatch(F(e.state, r)), !0);
475
474
  }
476
475
  function it(e, t) {
477
476
  return W(e, t, (n) => e.moveByChar(n, t));
478
477
  }
479
- var at = (e) => it(e, !R(e)), ot = (e) => it(e, R(e));
480
- function st(e, t) {
478
+ var at = (e) => it(e, !R(e)), G = (e) => it(e, R(e));
479
+ function ot(e, t) {
481
480
  return W(e, t, (n) => e.moveByGroup(n, t));
482
481
  }
483
- var ct = (e) => st(e, !R(e)), lt = (e) => st(e, R(e)), ut = (e) => {
482
+ var st = (e) => ot(e, !R(e)), ct = (e) => ot(e, R(e)), lt = (e) => {
484
483
  let t = !R(e);
485
- return W(e, t, (n) => V(e.state, n, t));
486
- }, dt = (e) => {
484
+ return W(e, t, (n) => z(e.state, n, t));
485
+ }, ut = (e) => {
487
486
  let t = R(e);
488
- return W(e, t, (n) => V(e.state, n, t));
487
+ return W(e, t, (n) => z(e.state, n, t));
489
488
  };
490
- function ft(e, t) {
489
+ function dt(e, t) {
491
490
  return W(e, t, (n) => e.moveVertically(n, t));
492
491
  }
493
- var pt = (e) => ft(e, !1), mt = (e) => ft(e, !0);
494
- function ht(e, t) {
492
+ var ft = (e) => dt(e, !1), pt = (e) => dt(e, !0);
493
+ function mt(e, t) {
495
494
  return W(e, t, (n) => e.moveVertically(n, t, qe(e).height));
496
495
  }
497
- var gt = (e) => ht(e, !1), _t = (e) => ht(e, !0), vt = (e) => W(e, !0, (t) => U(e, t, !0)), yt = (e) => W(e, !1, (t) => U(e, t, !1)), bt = (e) => {
496
+ var ht = (e) => mt(e, !1), gt = (e) => mt(e, !0), _t = (e) => W(e, !0, (t) => U(e, t, !0)), vt = (e) => W(e, !1, (t) => U(e, t, !1)), yt = (e) => {
498
497
  let t = !R(e);
499
498
  return W(e, t, (n) => U(e, n, t));
500
- }, xt = (e) => {
499
+ }, bt = (e) => {
501
500
  let t = R(e);
502
501
  return W(e, t, (n) => U(e, n, t));
503
- }, St = (e) => W(e, !1, (n) => t.cursor(e.lineBlockAt(n.head).from)), Ct = (e) => W(e, !0, (n) => t.cursor(e.lineBlockAt(n.head).to)), wt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: 0 })), !0), Tt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: e.doc.length })), !0), Et = ({ state: e, dispatch: t }) => (t(F(e, {
502
+ }, xt = (e) => W(e, !1, (t) => d.cursor(e.lineBlockAt(t.head).from)), St = (e) => W(e, !0, (t) => d.cursor(e.lineBlockAt(t.head).to)), Ct = ({ state: e, dispatch: t }) => (t(F(e, { anchor: 0 })), !0), wt = ({ state: e, dispatch: t }) => (t(F(e, { anchor: e.doc.length })), !0), Tt = ({ state: e, dispatch: t }) => (t(F(e, {
504
503
  anchor: e.selection.main.anchor,
505
504
  head: 0
506
- })), !0), Dt = ({ state: e, dispatch: t }) => (t(F(e, {
505
+ })), !0), Et = ({ state: e, dispatch: t }) => (t(F(e, {
507
506
  anchor: e.selection.main.anchor,
508
507
  head: e.doc.length
509
- })), !0), Ot = ({ state: e, dispatch: t }) => (t(e.update({
508
+ })), !0), Dt = ({ state: e, dispatch: t }) => (t(e.update({
510
509
  selection: {
511
510
  anchor: 0,
512
511
  head: e.doc.length
513
512
  },
514
513
  userEvent: "select"
515
- })), !0), kt = ({ state: e, dispatch: n }) => {
516
- let r = Y(e).map(({ from: n, to: r }) => t.undirectionalRange(n, Math.min(r + 1, e.doc.length)));
517
- return n(e.update({
518
- selection: t.create(r),
514
+ })), !0), Ot = ({ state: e, dispatch: t }) => {
515
+ let n = X(e).map(({ from: t, to: n }) => d.undirectionalRange(t, Math.min(n + 1, e.doc.length)));
516
+ return t(e.update({
517
+ selection: d.create(n),
519
518
  userEvent: "select"
520
519
  })), !0;
521
- }, At = ({ state: e, dispatch: n }) => {
522
- let r = P(e.selection, (n) => {
523
- let r = o(e), i = r.resolveStack(n.from, 1);
524
- if (n.empty) {
525
- let e = r.resolveStack(n.from, -1);
526
- e.node.from >= i.node.from && e.node.to <= i.node.to && (i = e);
520
+ }, kt = ({ state: e, dispatch: t }) => {
521
+ let n = P(e.selection, (t) => {
522
+ let n = h(e), r = n.resolveStack(t.from, 1);
523
+ if (t.empty) {
524
+ let e = n.resolveStack(t.from, -1);
525
+ e.node.from >= r.node.from && e.node.to <= r.node.to && (r = e);
527
526
  }
528
- for (let e = i; e; e = e.next) {
529
- let { node: r } = e;
530
- if ((r.from < n.from && r.to >= n.to || r.to > n.to && r.from <= n.from) && e.next) return t.undirectionalRange(r.from, r.to);
527
+ for (let e = r; e; e = e.next) {
528
+ let { node: n } = e;
529
+ if ((n.from < t.from && n.to >= t.to || n.to > t.to && n.from <= t.from) && e.next) return d.undirectionalRange(n.from, n.to);
531
530
  }
532
- return n;
531
+ return t;
533
532
  });
534
- return !r.eq(e.selection) && (n(F(e, r)), !0);
533
+ return !n.eq(e.selection) && (t(F(e, n)), !0);
535
534
  };
536
- function jt(e, n) {
537
- let { state: r } = e, i = r.selection, a = r.selection.ranges.slice();
538
- for (let t of r.selection.ranges) {
539
- let i = r.doc.lineAt(t.head);
540
- if (n ? i.to < e.state.doc.length : i.from > 0) for (let r = t;;) {
541
- let t = e.moveVertically(r, n);
542
- if (t.head < i.from || t.head > i.to) {
543
- a.some((e) => e.head == t.head) || a.push(t);
535
+ function At(e, t) {
536
+ let { state: n } = e, r = n.selection, i = n.selection.ranges.slice();
537
+ for (let r of n.selection.ranges) {
538
+ let a = n.doc.lineAt(r.head);
539
+ if (t ? a.to < e.state.doc.length : a.from > 0) for (let n = r;;) {
540
+ let r = e.moveVertically(n, t);
541
+ if (r.head < a.from || r.head > a.to) {
542
+ i.some((e) => e.head == r.head) || i.push(r);
544
543
  break;
545
544
  }
546
- if (t.head == r.head) break;
547
- r = t;
545
+ if (r.head == n.head) break;
546
+ n = r;
548
547
  }
549
548
  }
550
- return a.length != i.ranges.length && (e.dispatch(F(r, t.create(a, a.length - 1))), !0);
549
+ return i.length != r.ranges.length && (e.dispatch(F(n, d.create(i, i.length - 1))), !0);
551
550
  }
552
- var Mt = (e) => jt(e, !1), Nt = (e) => jt(e, !0), Pt = ({ state: e, dispatch: n }) => {
553
- let r = e.selection, i = null;
554
- return r.ranges.length > 1 ? i = t.create([r.main]) : r.main.empty || (i = t.create([t.cursor(r.main.head)])), i ? (n(F(e, i)), !0) : !1;
551
+ var jt = (e) => At(e, !1), Mt = (e) => At(e, !0), Nt = ({ state: e, dispatch: t }) => {
552
+ let n = e.selection, r = null;
553
+ return n.ranges.length > 1 ? r = d.create([n.main]) : n.main.empty || (r = d.create([d.cursor(n.main.head)])), r ? (t(F(e, r)), !0) : !1;
555
554
  };
556
- function G(e, n) {
555
+ function K(e, t) {
557
556
  if (e.state.readOnly) return !1;
558
- let r = "delete.selection", { state: i } = e, a = i.changeByRange((i) => {
559
- let { from: a, to: o } = i;
560
- if (a == o) {
561
- let t = n(i);
562
- t < a ? (r = "delete.backward", t = K(e, t, !1)) : t > a && (r = "delete.forward", t = K(e, t, !0)), a = Math.min(a, t), o = Math.max(o, t);
563
- } else a = K(e, a, !1), o = K(e, o, !0);
564
- return a == o ? { range: i } : {
557
+ let n = "delete.selection", { state: i } = e, a = i.changeByRange((r) => {
558
+ let { from: i, to: a } = r;
559
+ if (i == a) {
560
+ let o = t(r);
561
+ o < i ? (n = "delete.backward", o = q(e, o, !1)) : o > i && (n = "delete.forward", o = q(e, o, !0)), i = Math.min(i, o), a = Math.max(a, o);
562
+ } else i = q(e, i, !1), a = q(e, a, !0);
563
+ return i == a ? { range: r } : {
565
564
  changes: {
566
- from: a,
567
- to: o
565
+ from: i,
566
+ to: a
568
567
  },
569
- range: t.cursor(a, a < i.head ? -1 : 1)
568
+ range: d.cursor(i, i < r.head ? -1 : 1)
570
569
  };
571
570
  });
572
571
  return !a.changes.empty && (e.dispatch(i.update(a, {
573
572
  scrollIntoView: !0,
574
- userEvent: r,
575
- effects: r == "delete.selection" ? h.announce.of(i.phrase("Selection deleted")) : void 0
573
+ userEvent: n,
574
+ effects: n == "delete.selection" ? r.announce.of(i.phrase("Selection deleted")) : void 0
576
575
  })), !0);
577
576
  }
578
- function K(e, t, n) {
579
- if (e instanceof h) for (let r of e.state.facet(h.atomicRanges).map((t) => t(e))) r.between(t, t, (e, r) => {
577
+ function q(e, t, n) {
578
+ if (e instanceof r) for (let i of e.state.facet(r.atomicRanges).map((t) => t(e))) i.between(t, t, (e, r) => {
580
579
  e < t && r > t && (t = n ? r : e);
581
580
  });
582
581
  return t;
583
582
  }
584
- var Ft = (e, t, n) => G(e, (r) => {
583
+ var Pt = (e, t, n) => K(e, (r) => {
585
584
  let i = r.from, { state: a } = e, o = a.doc.lineAt(i), s, c;
586
585
  if (n && !t && i > o.from && i < o.from + 200 && !/[^ \t]/.test(s = o.text.slice(0, i - o.from))) {
587
586
  if (s[s.length - 1] == " ") return i - 1;
588
- let e = g(s, a.tabSize) % d(a) || d(a);
587
+ let e = p(s, a.tabSize) % _(a) || _(a);
589
588
  for (let t = 0; t < e && s[s.length - 1 - t] == " "; t++) i--;
590
589
  c = i;
591
- } else c = m(o.text, i - o.from, t, t) + o.from, c == i && o.number != (t ? a.doc.lines : 1) ? c += t ? 1 : -1 : !t && /[\ufe00-\ufe0f]/.test(o.text.slice(c - o.from, i - o.from)) && (c = m(o.text, c - o.from, !1, !1) + o.from);
590
+ } else c = f(o.text, i - o.from, t, t) + o.from, c == i && o.number != (t ? a.doc.lines : 1) ? c += t ? 1 : -1 : !t && /[\ufe00-\ufe0f]/.test(o.text.slice(c - o.from, i - o.from)) && (c = f(o.text, c - o.from, !1, !1) + o.from);
592
591
  return c;
593
- }), q = (e) => Ft(e, !1, !0), J = (e) => Ft(e, !0, !1), It = (e, t) => G(e, (n) => {
592
+ }), J = (e) => Pt(e, !1, !0), Y = (e) => Pt(e, !0, !1), Ft = (e, t) => K(e, (n) => {
594
593
  let r = n.head, { state: i } = e, a = i.doc.lineAt(r), o = i.charCategorizer(r);
595
594
  for (let e = null;;) {
596
595
  if (r == (t ? a.to : a.from)) {
597
596
  r == n.head && a.number != (t ? i.doc.lines : 1) && (r += t ? 1 : -1);
598
597
  break;
599
598
  }
600
- let s = m(a.text, r - a.from, t) + a.from, c = a.text.slice(Math.min(r, s) - a.from, Math.max(r, s) - a.from), l = o(c);
599
+ let s = f(a.text, r - a.from, t) + a.from, c = a.text.slice(Math.min(r, s) - a.from, Math.max(r, s) - a.from), l = o(c);
601
600
  if (e != null && l != e) break;
602
601
  (c != " " || r != n.head) && (e = l), r = s;
603
602
  }
604
603
  return r;
605
- }), Lt = (e) => It(e, !1), Rt = (e) => It(e, !0), zt = (e) => G(e, (t) => {
604
+ }), It = (e) => Ft(e, !1), Lt = (e) => Ft(e, !0), Rt = (e) => K(e, (t) => {
606
605
  let n = e.lineBlockAt(t.head).to;
607
606
  return t.head < n ? n : Math.min(e.state.doc.length, t.head + 1);
608
- }), Bt = (e) => G(e, (t) => {
607
+ }), zt = (e) => K(e, (t) => {
609
608
  let n = e.moveToLineBoundary(t, !1).head;
610
609
  return t.head > n ? n : Math.max(0, t.head - 1);
611
- }), Vt = (e) => G(e, (t) => {
610
+ }), Bt = (e) => K(e, (t) => {
612
611
  let n = e.moveToLineBoundary(t, !0).head;
613
612
  return t.head < n ? n : Math.min(e.state.doc.length, t.head + 1);
614
- }), Ht = ({ state: e, dispatch: n }) => {
613
+ }), Vt = ({ state: e, dispatch: t }) => {
615
614
  if (e.readOnly) return !1;
616
- let r = e.changeByRange((e) => ({
615
+ let n = e.changeByRange((e) => ({
617
616
  changes: {
618
617
  from: e.from,
619
618
  to: e.to,
620
- insert: te.of(["", ""])
619
+ insert: se.of(["", ""])
621
620
  },
622
- range: t.cursor(e.from)
621
+ range: d.cursor(e.from)
623
622
  }));
624
- return n(e.update(r, {
623
+ return t(e.update(n, {
625
624
  scrollIntoView: !0,
626
625
  userEvent: "input"
627
626
  })), !0;
628
- }, Ut = ({ state: e, dispatch: n }) => {
627
+ }, Ht = ({ state: e, dispatch: t }) => {
629
628
  if (e.readOnly) return !1;
630
- let r = e.changeByRange((n) => {
631
- if (!n.empty || n.from == 0 || n.from == e.doc.length) return { range: n };
632
- let r = n.from, i = e.doc.lineAt(r), a = r == i.from ? r - 1 : m(i.text, r - i.from, !1) + i.from, o = r == i.to ? r + 1 : m(i.text, r - i.from, !0) + i.from;
629
+ let n = e.changeByRange((t) => {
630
+ if (!t.empty || t.from == 0 || t.from == e.doc.length) return { range: t };
631
+ let n = t.from, r = e.doc.lineAt(n), i = n == r.from ? n - 1 : f(r.text, n - r.from, !1) + r.from, a = n == r.to ? n + 1 : f(r.text, n - r.from, !0) + r.from;
633
632
  return {
634
633
  changes: {
635
- from: a,
636
- to: o,
637
- insert: e.doc.slice(r, o).append(e.doc.slice(a, r))
634
+ from: i,
635
+ to: a,
636
+ insert: e.doc.slice(n, a).append(e.doc.slice(i, n))
638
637
  },
639
- range: t.cursor(o)
638
+ range: d.cursor(a)
640
639
  };
641
640
  });
642
- return !r.changes.empty && (n(e.update(r, {
641
+ return !n.changes.empty && (t(e.update(n, {
643
642
  scrollIntoView: !0,
644
643
  userEvent: "move.character"
645
644
  })), !0);
646
645
  };
647
- function Y(e) {
646
+ function X(e) {
648
647
  let t = [], n = -1;
649
648
  for (let r of e.selection.ranges) {
650
649
  let i = e.doc.lineAt(r.from), a = e.doc.lineAt(r.to);
@@ -660,44 +659,44 @@ function Y(e) {
660
659
  }
661
660
  return t;
662
661
  }
663
- function Wt(e, n, r) {
662
+ function Ut(e, t, n) {
664
663
  if (e.readOnly) return !1;
665
- let i = [], a = [];
666
- for (let n of Y(e)) {
667
- if (r ? n.to == e.doc.length : n.from == 0) continue;
668
- let o = e.doc.lineAt(r ? n.to + 1 : n.from - 1), s = o.length + 1;
669
- if (r) {
670
- i.push({
671
- from: n.to,
672
- to: o.to
664
+ let r = [], i = [];
665
+ for (let t of X(e)) {
666
+ if (n ? t.to == e.doc.length : t.from == 0) continue;
667
+ let a = e.doc.lineAt(n ? t.to + 1 : t.from - 1), o = a.length + 1;
668
+ if (n) {
669
+ r.push({
670
+ from: t.to,
671
+ to: a.to
673
672
  }, {
674
- from: n.from,
675
- insert: o.text + e.lineBreak
673
+ from: t.from,
674
+ insert: a.text + e.lineBreak
676
675
  });
677
- for (let r of n.ranges) a.push(t.range(Math.min(e.doc.length, r.anchor + s), Math.min(e.doc.length, r.head + s)));
676
+ for (let n of t.ranges) i.push(d.range(Math.min(e.doc.length, n.anchor + o), Math.min(e.doc.length, n.head + o)));
678
677
  } else {
679
- i.push({
680
- from: o.from,
681
- to: n.from
678
+ r.push({
679
+ from: a.from,
680
+ to: t.from
682
681
  }, {
683
- from: n.to,
684
- insert: e.lineBreak + o.text
682
+ from: t.to,
683
+ insert: e.lineBreak + a.text
685
684
  });
686
- for (let e of n.ranges) a.push(t.range(e.anchor - s, e.head - s));
685
+ for (let e of t.ranges) i.push(d.range(e.anchor - o, e.head - o));
687
686
  }
688
687
  }
689
- return i.length ? (n(e.update({
690
- changes: i,
688
+ return r.length ? (t(e.update({
689
+ changes: r,
691
690
  scrollIntoView: !0,
692
- selection: t.create(a, e.selection.mainIndex),
691
+ selection: d.create(i, e.selection.mainIndex),
693
692
  userEvent: "move.line"
694
693
  })), !0) : !1;
695
694
  }
696
- var Gt = ({ state: e, dispatch: t }) => Wt(e, t, !1), Kt = ({ state: e, dispatch: t }) => Wt(e, t, !0);
697
- function qt(e, t, n) {
695
+ var Wt = ({ state: e, dispatch: t }) => Ut(e, t, !1), Gt = ({ state: e, dispatch: t }) => Ut(e, t, !0);
696
+ function Kt(e, t, n) {
698
697
  if (e.readOnly) return !1;
699
698
  let r = [];
700
- for (let t of Y(e)) n ? r.push({
699
+ for (let t of X(e)) n ? r.push({
701
700
  from: t.from,
702
701
  insert: e.doc.slice(t.from, t.to) + e.lineBreak
703
702
  }) : r.push({
@@ -712,9 +711,9 @@ function qt(e, t, n) {
712
711
  userEvent: "input.copyline"
713
712
  })), !0;
714
713
  }
715
- var Jt = ({ state: e, dispatch: t }) => qt(e, t, !1), Yt = ({ state: e, dispatch: t }) => qt(e, t, !0), Xt = (e) => {
714
+ var qt = ({ state: e, dispatch: t }) => Kt(e, t, !1), Jt = ({ state: e, dispatch: t }) => Kt(e, t, !0), Yt = (e) => {
716
715
  if (e.state.readOnly) return !1;
717
- let { state: t } = e, n = t.changes(Y(t).map(({ from: e, to: n }) => (e > 0 ? e-- : n < t.doc.length && n++, {
716
+ let { state: t } = e, n = t.changes(X(t).map(({ from: e, to: n }) => (e > 0 ? e-- : n < t.doc.length && n++, {
718
717
  from: e,
719
718
  to: n
720
719
  }))), r = P(t.selection, (t) => {
@@ -732,89 +731,89 @@ var Jt = ({ state: e, dispatch: t }) => qt(e, t, !1), Yt = ({ state: e, dispatch
732
731
  userEvent: "delete.line"
733
732
  }), !0;
734
733
  };
735
- function Zt(t, n) {
736
- if (/\(\)|\[\]|\{\}/.test(t.sliceDoc(n - 1, n + 1))) return {
734
+ function Xt(e, n) {
735
+ if (/\(\)|\[\]|\{\}/.test(e.sliceDoc(n - 1, n + 1))) return {
737
736
  from: n,
738
737
  to: n
739
738
  };
740
- let r = o(t).resolveInner(n), i = r.childBefore(n), a = r.childAfter(n), s;
741
- return i && a && i.to <= n && a.from >= n && (s = i.type.prop(e.closedBy)) && s.indexOf(a.name) > -1 && t.doc.lineAt(i.to).from == t.doc.lineAt(a.from).from && !/\S/.test(t.sliceDoc(i.to, a.from)) ? {
739
+ let r = h(e).resolveInner(n), i = r.childBefore(n), a = r.childAfter(n), o;
740
+ return i && a && i.to <= n && a.from >= n && (o = i.type.prop(t.closedBy)) && o.indexOf(a.name) > -1 && e.doc.lineAt(i.to).from == e.doc.lineAt(a.from).from && !/\S/.test(e.sliceDoc(i.to, a.from)) ? {
742
741
  from: i.to,
743
742
  to: a.from
744
743
  } : null;
745
744
  }
746
- var X = /*@__PURE__*/ $t(!1), Qt = /*@__PURE__*/ $t(!0);
745
+ var Zt = /*@__PURE__*/ $t(!1), Qt = /*@__PURE__*/ $t(!0);
747
746
  function $t(e) {
748
- return ({ state: n, dispatch: i }) => {
749
- if (n.readOnly) return !1;
750
- let a = n.changeByRange((i) => {
751
- let { from: a, to: o } = i, s = n.doc.lineAt(a), c = !e && a == o && Zt(n, a);
752
- e && (a = o = (o <= s.to ? s : n.doc.lineAt(o)).to);
753
- let l = new ne(n, {
754
- simulateBreak: a,
755
- simulateDoubleBreak: !!c
756
- }), u = se(l, a);
757
- for (u ?? (u = g(/^\s*/.exec(n.doc.lineAt(a).text)[0], n.tabSize)); o < s.to && /\s/.test(s.text[o - s.from]);) o++;
758
- c ? {from: a, to: o} = c : a > s.from && a < s.from + 100 && !/\S/.test(s.text.slice(0, a)) && (a = s.from);
759
- let d = ["", r(n, u)];
760
- return c && d.push(r(n, l.lineIndent(s.from, -1))), {
747
+ return ({ state: t, dispatch: n }) => {
748
+ if (t.readOnly) return !1;
749
+ let r = t.changeByRange((n) => {
750
+ let { from: r, to: i } = n, o = t.doc.lineAt(r), s = !e && r == i && Xt(t, r);
751
+ e && (r = i = (i <= o.to ? o : t.doc.lineAt(i)).to);
752
+ let c = new ie(t, {
753
+ simulateBreak: r,
754
+ simulateDoubleBreak: !!s
755
+ }), l = a(c, r);
756
+ for (l ?? (l = p(/^\s*/.exec(t.doc.lineAt(r).text)[0], t.tabSize)); i < o.to && /\s/.test(o.text[i - o.from]);) i++;
757
+ s ? {from: r, to: i} = s : r > o.from && r < o.from + 100 && !/\S/.test(o.text.slice(0, r)) && (r = o.from);
758
+ let u = ["", g(t, l)];
759
+ return s && u.push(g(t, c.lineIndent(o.from, -1))), {
761
760
  changes: {
762
- from: a,
763
- to: o,
764
- insert: te.of(d)
761
+ from: r,
762
+ to: i,
763
+ insert: se.of(u)
765
764
  },
766
- range: t.cursor(a + 1 + d[1].length)
765
+ range: d.cursor(r + 1 + u[1].length)
767
766
  };
768
767
  });
769
- return i(n.update(a, {
768
+ return n(t.update(r, {
770
769
  scrollIntoView: !0,
771
770
  userEvent: "input"
772
771
  })), !0;
773
772
  };
774
773
  }
775
- function Z(e, n) {
776
- let r = -1;
777
- return e.changeByRange((i) => {
778
- let a = [];
779
- for (let t = i.from; t <= i.to;) {
780
- let o = e.doc.lineAt(t);
781
- o.number > r && (i.empty || i.to > o.from) && (n(o, a, i), r = o.number), t = o.to + 1;
774
+ function Z(e, t) {
775
+ let n = -1;
776
+ return e.changeByRange((r) => {
777
+ let i = [];
778
+ for (let a = r.from; a <= r.to;) {
779
+ let o = e.doc.lineAt(a);
780
+ o.number > n && (r.empty || r.to > o.from) && (t(o, i, r), n = o.number), a = o.to + 1;
782
781
  }
783
- let o = e.changes(a);
782
+ let a = e.changes(i);
784
783
  return {
785
- changes: a,
786
- range: t.range(o.mapPos(i.anchor, 1), o.mapPos(i.head, 1))
784
+ changes: i,
785
+ range: d.range(a.mapPos(r.anchor, 1), a.mapPos(r.head, 1))
787
786
  };
788
787
  });
789
788
  }
790
789
  var en = ({ state: e, dispatch: t }) => {
791
790
  if (e.readOnly) return !1;
792
- let n = Object.create(null), i = new ne(e, { overrideIndentation: (e) => n[e] ?? -1 }), a = Z(e, (t, a, o) => {
793
- let s = se(i, t.from);
791
+ let n = Object.create(null), r = new ie(e, { overrideIndentation: (e) => n[e] ?? -1 }), i = Z(e, (t, i, o) => {
792
+ let s = a(r, t.from);
794
793
  if (s == null) return;
795
794
  /\S/.test(t.text) || (s = 0);
796
- let c = /^\s*/.exec(t.text)[0], l = r(e, s);
797
- (c != l || o.from < t.from + c.length) && (n[t.from] = s, a.push({
795
+ let c = /^\s*/.exec(t.text)[0], l = g(e, s);
796
+ (c != l || o.from < t.from + c.length) && (n[t.from] = s, i.push({
798
797
  from: t.from,
799
798
  to: t.from + c.length,
800
799
  insert: l
801
800
  }));
802
801
  });
803
- return a.changes.empty || t(e.update(a, { userEvent: "indent" })), !0;
802
+ return i.changes.empty || t(e.update(i, { userEvent: "indent" })), !0;
804
803
  }, tn = ({ state: e, dispatch: t }) => !e.readOnly && (t(e.update(Z(e, (t, n) => {
805
804
  n.push({
806
805
  from: t.from,
807
- insert: e.facet(oe)
806
+ insert: e.facet(o)
808
807
  });
809
808
  }), { userEvent: "input.indent" })), !0), nn = ({ state: e, dispatch: t }) => !e.readOnly && (t(e.update(Z(e, (t, n) => {
810
- let i = /^\s*/.exec(t.text)[0];
811
- if (!i) return;
812
- let a = g(i, e.tabSize), o = 0, s = r(e, Math.max(0, a - d(e)));
813
- for (; o < i.length && o < s.length && i.charCodeAt(o) == s.charCodeAt(o);) o++;
809
+ let r = /^\s*/.exec(t.text)[0];
810
+ if (!r) return;
811
+ let i = p(r, e.tabSize), a = 0, o = g(e, Math.max(0, i - _(e)));
812
+ for (; a < r.length && a < o.length && r.charCodeAt(a) == o.charCodeAt(a);) a++;
814
813
  n.push({
815
- from: t.from + o,
816
- to: t.from + i.length,
817
- insert: s.slice(o)
814
+ from: t.from + a,
815
+ to: t.from + r.length,
816
+ insert: o.slice(a)
818
817
  });
819
818
  }), { userEvent: "delete.dedent" })), !0), rn = (e) => (e.setTabFocusMode(), !0), an = [
820
819
  {
@@ -825,52 +824,52 @@ var en = ({ state: e, dispatch: t }) => {
825
824
  },
826
825
  {
827
826
  key: "Ctrl-f",
828
- run: z,
829
- shift: ot
827
+ run: ze,
828
+ shift: G
830
829
  },
831
830
  {
832
831
  key: "Ctrl-p",
833
- run: Ge,
834
- shift: pt
832
+ run: V,
833
+ shift: ft
835
834
  },
836
835
  {
837
836
  key: "Ctrl-n",
838
837
  run: Ke,
839
- shift: mt
838
+ shift: pt
840
839
  },
841
840
  {
842
841
  key: "Ctrl-a",
843
842
  run: et,
844
- shift: St
843
+ shift: xt
845
844
  },
846
845
  {
847
846
  key: "Ctrl-e",
848
847
  run: tt,
849
- shift: Ct
848
+ shift: St
850
849
  },
851
850
  {
852
851
  key: "Ctrl-d",
853
- run: J
852
+ run: Y
854
853
  },
855
854
  {
856
855
  key: "Ctrl-h",
857
- run: q
856
+ run: J
858
857
  },
859
858
  {
860
859
  key: "Ctrl-k",
861
- run: zt
860
+ run: Rt
862
861
  },
863
862
  {
864
863
  key: "Ctrl-Alt-h",
865
- run: Lt
864
+ run: It
866
865
  },
867
866
  {
868
867
  key: "Ctrl-o",
869
- run: Ht
868
+ run: Vt
870
869
  },
871
870
  {
872
871
  key: "Ctrl-t",
873
- run: Ut
872
+ run: Ht
874
873
  },
875
874
  {
876
875
  key: "Ctrl-v",
@@ -886,139 +885,139 @@ var en = ({ state: e, dispatch: t }) => {
886
885
  {
887
886
  key: "Mod-ArrowLeft",
888
887
  mac: "Alt-ArrowLeft",
889
- run: ze,
890
- shift: ct,
888
+ run: Ve,
889
+ shift: st,
891
890
  preventDefault: !0
892
891
  },
893
892
  {
894
893
  mac: "Cmd-ArrowLeft",
895
894
  run: Qe,
896
- shift: bt,
895
+ shift: yt,
897
896
  preventDefault: !0
898
897
  },
899
898
  {
900
899
  key: "ArrowRight",
901
- run: z,
902
- shift: ot,
900
+ run: ze,
901
+ shift: G,
903
902
  preventDefault: !0
904
903
  },
905
904
  {
906
905
  key: "Mod-ArrowRight",
907
906
  mac: "Alt-ArrowRight",
908
- run: Be,
909
- shift: lt,
907
+ run: He,
908
+ shift: ct,
910
909
  preventDefault: !0
911
910
  },
912
911
  {
913
912
  mac: "Cmd-ArrowRight",
914
913
  run: $e,
915
- shift: xt,
914
+ shift: bt,
916
915
  preventDefault: !0
917
916
  },
918
917
  {
919
918
  key: "ArrowUp",
920
- run: Ge,
921
- shift: pt,
919
+ run: V,
920
+ shift: ft,
922
921
  preventDefault: !0
923
922
  },
924
923
  {
925
924
  mac: "Cmd-ArrowUp",
926
- run: wt,
927
- shift: Et
925
+ run: Ct,
926
+ shift: Tt
928
927
  },
929
928
  {
930
929
  mac: "Ctrl-ArrowUp",
931
930
  run: Ye,
932
- shift: gt
931
+ shift: ht
933
932
  },
934
933
  {
935
934
  key: "ArrowDown",
936
935
  run: Ke,
937
- shift: mt,
936
+ shift: pt,
938
937
  preventDefault: !0
939
938
  },
940
939
  {
941
940
  mac: "Cmd-ArrowDown",
942
- run: Tt,
943
- shift: Dt
941
+ run: wt,
942
+ shift: Et
944
943
  },
945
944
  {
946
945
  mac: "Ctrl-ArrowDown",
947
946
  run: H,
948
- shift: _t
947
+ shift: gt
949
948
  },
950
949
  {
951
950
  key: "PageUp",
952
951
  run: Ye,
953
- shift: gt
952
+ shift: ht
954
953
  },
955
954
  {
956
955
  key: "PageDown",
957
956
  run: H,
958
- shift: _t
957
+ shift: gt
959
958
  },
960
959
  {
961
960
  key: "Home",
962
961
  run: Ze,
963
- shift: yt,
962
+ shift: vt,
964
963
  preventDefault: !0
965
964
  },
966
965
  {
967
966
  key: "Mod-Home",
968
- run: wt,
969
- shift: Et
967
+ run: Ct,
968
+ shift: Tt
970
969
  },
971
970
  {
972
971
  key: "End",
973
972
  run: Xe,
974
- shift: vt,
973
+ shift: _t,
975
974
  preventDefault: !0
976
975
  },
977
976
  {
978
977
  key: "Mod-End",
979
- run: Tt,
980
- shift: Dt
978
+ run: wt,
979
+ shift: Et
981
980
  },
982
981
  {
983
982
  key: "Enter",
984
- run: X,
985
- shift: X
983
+ run: Zt,
984
+ shift: Zt
986
985
  },
987
986
  {
988
987
  key: "Mod-a",
989
- run: Ot
988
+ run: Dt
990
989
  },
991
990
  {
992
991
  key: "Backspace",
993
- run: q,
994
- shift: q,
992
+ run: J,
993
+ shift: J,
995
994
  preventDefault: !0
996
995
  },
997
996
  {
998
997
  key: "Delete",
999
- run: J,
998
+ run: Y,
1000
999
  preventDefault: !0
1001
1000
  },
1002
1001
  {
1003
1002
  key: "Mod-Backspace",
1004
1003
  mac: "Alt-Backspace",
1005
- run: Lt,
1004
+ run: It,
1006
1005
  preventDefault: !0
1007
1006
  },
1008
1007
  {
1009
1008
  key: "Mod-Delete",
1010
1009
  mac: "Alt-Delete",
1011
- run: Rt,
1010
+ run: Lt,
1012
1011
  preventDefault: !0
1013
1012
  },
1014
1013
  {
1015
1014
  mac: "Mod-Backspace",
1016
- run: Bt,
1015
+ run: zt,
1017
1016
  preventDefault: !0
1018
1017
  },
1019
1018
  {
1020
1019
  mac: "Mod-Delete",
1021
- run: Vt,
1020
+ run: Bt,
1022
1021
  preventDefault: !0
1023
1022
  }
1024
1023
  ].concat(/*@__PURE__*/ an.map((e) => ({
@@ -1029,42 +1028,42 @@ var en = ({ state: e, dispatch: t }) => {
1029
1028
  {
1030
1029
  key: "Alt-ArrowLeft",
1031
1030
  mac: "Ctrl-ArrowLeft",
1032
- run: He,
1033
- shift: ut
1031
+ run: We,
1032
+ shift: lt
1034
1033
  },
1035
1034
  {
1036
1035
  key: "Alt-ArrowRight",
1037
1036
  mac: "Ctrl-ArrowRight",
1038
- run: Ue,
1039
- shift: dt
1037
+ run: Ge,
1038
+ shift: ut
1040
1039
  },
1041
1040
  {
1042
1041
  key: "Alt-ArrowUp",
1043
- run: Gt
1042
+ run: Wt
1044
1043
  },
1045
1044
  {
1046
1045
  key: "Shift-Alt-ArrowUp",
1047
- run: Jt
1046
+ run: qt
1048
1047
  },
1049
1048
  {
1050
1049
  key: "Alt-ArrowDown",
1051
- run: Kt
1050
+ run: Gt
1052
1051
  },
1053
1052
  {
1054
1053
  key: "Shift-Alt-ArrowDown",
1055
- run: Yt
1054
+ run: Jt
1056
1055
  },
1057
1056
  {
1058
1057
  key: "Mod-Alt-ArrowUp",
1059
- run: Mt
1058
+ run: jt
1060
1059
  },
1061
1060
  {
1062
1061
  key: "Mod-Alt-ArrowDown",
1063
- run: Nt
1062
+ run: Mt
1064
1063
  },
1065
1064
  {
1066
1065
  key: "Escape",
1067
- run: Pt
1066
+ run: Nt
1068
1067
  },
1069
1068
  {
1070
1069
  key: "Mod-Enter",
@@ -1073,11 +1072,11 @@ var en = ({ state: e, dispatch: t }) => {
1073
1072
  {
1074
1073
  key: "Alt-l",
1075
1074
  mac: "Ctrl-l",
1076
- run: kt
1075
+ run: Ot
1077
1076
  },
1078
1077
  {
1079
1078
  key: "Mod-i",
1080
- run: At,
1079
+ run: kt,
1081
1080
  preventDefault: !0
1082
1081
  },
1083
1082
  {
@@ -1094,7 +1093,7 @@ var en = ({ state: e, dispatch: t }) => {
1094
1093
  },
1095
1094
  {
1096
1095
  key: "Shift-Mod-k",
1097
- run: Xt
1096
+ run: Yt
1098
1097
  },
1099
1098
  {
1100
1099
  key: "Shift-Mod-\\",
@@ -1114,9 +1113,9 @@ var en = ({ state: e, dispatch: t }) => {
1114
1113
  mac: "Shift-Alt-m",
1115
1114
  run: rn
1116
1115
  }
1117
- ].concat(on), Q, $ = class extends ue(de(ee)) {
1118
- constructor(...e) {
1119
- super(...e), this.value = "", this.inputId = "", this.placeholder = "", this.disabled = !1, this.name = "", this.readonly = !1, this.required = !1, this.rows = 6, this.accessibleLabel = "", this.invalid = !1, this._initialValue = "", this._valueAtFocus = "", this._editableCompartment = new s(), this._placeholderCompartment = new s(), this._attrsCompartment = new s(), this._onScrollerPointerDown = (e) => {
1116
+ ].concat(on), Q, $ = class extends ue(de(m)) {
1117
+ constructor(...t) {
1118
+ super(...t), this.value = "", this.inputId = "", this.placeholder = "", this.disabled = !1, this.name = "", this.readonly = !1, this.required = !1, this.rows = 6, this.accessibleLabel = "", this.invalid = !1, this._initialValue = "", this._valueAtFocus = "", this._editableCompartment = new e(), this._placeholderCompartment = new e(), this._attrsCompartment = new e(), this._onScrollerPointerDown = (e) => {
1120
1119
  e.target === this.view?.scrollDOM && (this.focusFromPoint(e.clientX, e.clientY), e.preventDefault());
1121
1120
  };
1122
1121
  }
@@ -1132,10 +1131,10 @@ var en = ({ state: e, dispatch: t }) => {
1132
1131
  this._placeholderCompartment.of(this._placeholderExtension()),
1133
1132
  this._editableCompartment.of(this._editableExtension()),
1134
1133
  this._attrsCompartment.of(this._attrsExtension()),
1135
- h.updateListener.of((e) => {
1136
- e.docChanged && this._onDocChanged(e.transactions.every((e) => !e.docChanged || e.annotation(_.remote)));
1134
+ r.updateListener.of((e) => {
1135
+ e.docChanged && this._onDocChanged(e.transactions.every((e) => !e.docChanged || e.annotation(u.remote)));
1137
1136
  }),
1138
- h.domEventHandlers({
1137
+ r.domEventHandlers({
1139
1138
  focus: () => {
1140
1139
  this._valueAtFocus = this.value;
1141
1140
  },
@@ -1146,14 +1145,14 @@ var en = ({ state: e, dispatch: t }) => {
1146
1145
  ];
1147
1146
  }
1148
1147
  _editableExtension() {
1149
- return [h.editable.of(!this.disabled), p.readOnly.of(this.disabled || this.readonly)];
1148
+ return [r.editable.of(!this.disabled), oe.readOnly.of(this.disabled || this.readonly)];
1150
1149
  }
1151
1150
  _placeholderExtension() {
1152
- return this.placeholder ? a(this.placeholder) : [];
1151
+ return this.placeholder ? ae(this.placeholder) : [];
1153
1152
  }
1154
1153
  _attrsExtension() {
1155
1154
  let e = { ...this.contentAttributes() };
1156
- return this.accessibleLabel && (e["aria-label"] = this.accessibleLabel), this.inputId && (e.id = this.inputId), (this.readonly || this.disabled) && (e["aria-readonly"] = "true"), this.required && (e["aria-required"] = "true"), h.contentAttributes.of(e);
1155
+ return this.accessibleLabel && (e["aria-label"] = this.accessibleLabel), this.inputId && (e.id = this.inputId), (this.readonly || this.disabled) && (e["aria-readonly"] = "true"), this.required && (e["aria-required"] = "true"), r.contentAttributes.of(e);
1157
1156
  }
1158
1157
  refreshContentAttributes() {
1159
1158
  this.reconfigure(this._attrsCompartment, this._attrsExtension());
@@ -1229,4 +1228,4 @@ Q = $, Q.shadowRootOptions = {
1229
1228
  type: Boolean,
1230
1229
  reflect: !0
1231
1230
  })], $.prototype, "invalid", void 0);
1232
- export { Ce as a, be as c, E as d, De as f, J as i, D as l, sn as n, Ie as o, q as r, xe as s, $ as t, Oe as u };
1231
+ export { Se as a, be as c, D as d, Ee as f, Y as i, O as l, sn as n, Ie as o, J as r, w as s, $ as t, De as u };