@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,9 +1,9 @@
1
- import { $ as e, A as t, C as n, E as r, K as i, O as a, Q as o, St 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-CT6Im_c5.js";
2
- import { r as v } from "./custom-element-CDepWGgp.js";
3
- import { n as ce, t as y } from "./decorate-CuJsiFnl.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-ksBh8Hul.js";
2
+ import { r as v } from "./custom-element-CF94IDoN.js";
3
+ import { n as ce, t as y } from "./decorate-DNdCDV-Z.js";
4
4
  import { t as le } from "./reflect-non-default-DUOcGZKf.js";
5
- import { t as ue } from "./described-by-mixin-Ih_IoqBD.js";
6
- import { t as de } from "./form-associated-mixin-YG9BXK0j.js";
5
+ import { t as ue } from "./described-by-mixin-6MEe_hOH.js";
6
+ import { t as de } from "./form-associated-mixin-BMdwBjn_.js";
7
7
  // node_modules/@codemirror/commands/dist/index.js
8
8
  var fe = (e) => {
9
9
  let { state: t } = e, n = t.doc.lineAt(t.selection.main.from), r = x(e.state, n.from);
@@ -137,8 +137,8 @@ function ye(e, t, n = t.selection.ranges) {
137
137
  }
138
138
  return null;
139
139
  }
140
- var C = /*@__PURE__*/ l.define(), be = /*@__PURE__*/ l.define(), xe = /*@__PURE__*/ ae.define(), Se = /*@__PURE__*/ ae.define({ combine(e) {
141
- 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, {
142
142
  minDepth: 100,
143
143
  newGroupDelay: 500,
144
144
  joinToEvent: (e, t) => t
@@ -147,19 +147,19 @@ var C = /*@__PURE__*/ l.define(), be = /*@__PURE__*/ l.define(), xe = /*@__PURE_
147
147
  newGroupDelay: Math.min,
148
148
  joinToEvent: (e, t) => (n, r) => e(n, r) || t(n, r)
149
149
  });
150
- } }), w = /*@__PURE__*/ f.define({
150
+ } }), T = /*@__PURE__*/ te.define({
151
151
  create() {
152
152
  return N.empty;
153
153
  },
154
154
  update(e, t) {
155
- let n = t.state.facet(Se), r = t.annotation(C);
155
+ let n = t.state.facet(xe), r = t.annotation(C);
156
156
  if (r) {
157
- let i = O.fromTransaction(t, r.selection), a = r.side, o = a == 0 ? e.undone : e.done;
158
- 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);
159
159
  }
160
160
  let i = t.annotation(be);
161
- if ((i == "full" || i == "before") && (e = e.isolate()), t.annotation(_.addToHistory) === !1) return t.changes.empty ? e : e.addMapping(t.changes.desc);
162
- 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);
163
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;
164
164
  },
165
165
  toJSON(e) {
@@ -169,43 +169,43 @@ var C = /*@__PURE__*/ l.define(), be = /*@__PURE__*/ l.define(), xe = /*@__PURE_
169
169
  };
170
170
  },
171
171
  fromJSON(e) {
172
- 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));
173
173
  }
174
174
  });
175
- function Ce(e = {}) {
175
+ function Se(e = {}) {
176
176
  return [
177
- w,
178
- Se.of(e),
179
- h.domEventHandlers({ beforeinput(e, t) {
180
- 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;
181
181
  return n ? (e.preventDefault(), n(t)) : !1;
182
182
  } })
183
183
  ];
184
184
  }
185
- function T(e, t) {
185
+ function E(e, t) {
186
186
  return function({ state: n, dispatch: r }) {
187
187
  if (!t && n.readOnly) return !1;
188
- let i = n.field(w, !1);
188
+ let i = n.field(T, !1);
189
189
  if (!i) return !1;
190
190
  let a = i.pop(e, n, t);
191
191
  return a ? (r(a), !0) : !1;
192
192
  };
193
193
  }
194
- var E = /*@__PURE__*/ T(0, !1), D = /*@__PURE__*/ T(1, !1), we = /*@__PURE__*/ T(0, !0), Te = /*@__PURE__*/ T(1, !0);
195
- 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) {
196
196
  return function(t) {
197
- let n = t.field(w, !1);
197
+ let n = t.field(T, !1);
198
198
  if (!n) return 0;
199
199
  let r = e == 0 ? n.done : n.undone;
200
200
  return r.length - (r.length && !r[0].changes ? 1 : 0);
201
201
  };
202
202
  }
203
- var De = /*@__PURE__*/ Ee(0), Oe = /*@__PURE__*/ Ee(1), O = class t {
203
+ var Ee = /*@__PURE__*/ Te(0), De = /*@__PURE__*/ Te(1), k = class e {
204
204
  constructor(e, t, n, r, i) {
205
205
  this.changes = e, this.effects = t, this.mapped = n, this.startSelection = r, this.selectionsAfter = i;
206
206
  }
207
- setSelAfter(e) {
208
- return new t(this.changes, this.effects, this.mapped, this.startSelection, e);
207
+ setSelAfter(t) {
208
+ return new e(this.changes, this.effects, this.mapped, this.startSelection, t);
209
209
  }
210
210
  toJSON() {
211
211
  return {
@@ -215,26 +215,26 @@ var De = /*@__PURE__*/ Ee(0), Oe = /*@__PURE__*/ Ee(1), O = class t {
215
215
  selectionsAfter: this.selectionsAfter.map((e) => e.toJSON())
216
216
  };
217
217
  }
218
- static fromJSON(n) {
219
- return new t(n.changes && u.fromJSON(n.changes), [], n.mapped && c.fromJSON(n.mapped), n.startSelection && e.fromJSON(n.startSelection), n.selectionsAfter.map(e.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));
220
220
  }
221
- static fromTransaction(e, n) {
221
+ static fromTransaction(t, n) {
222
222
  let r = j;
223
- for (let t of e.startState.facet(xe)) {
224
- let n = t(e);
223
+ for (let e of t.startState.facet(w)) {
224
+ let n = e(t);
225
225
  n.length && (r = r.concat(n));
226
226
  }
227
- return !r.length && e.changes.empty ? null : new t(e.changes.invert(e.startState.doc), r, void 0, n || e.startState.selection, j);
227
+ return !r.length && t.changes.empty ? null : new e(t.changes.invert(t.startState.doc), r, void 0, n || t.startState.selection, j);
228
228
  }
229
- static selection(e) {
230
- return new t(void 0, j, void 0, void 0, e);
229
+ static selection(t) {
230
+ return new e(void 0, j, void 0, void 0, t);
231
231
  }
232
232
  };
233
- function k(e, t, n, r) {
233
+ function A(e, t, n, r) {
234
234
  let i = t + 1 > n + 20 ? t - n - 1 : 0, a = e.slice(i, t);
235
235
  return a.push(r), a;
236
236
  }
237
- function ke(e, t) {
237
+ function Oe(e, t) {
238
238
  let n = [], r = !1;
239
239
  return e.iterChangedRanges((e, t) => n.push(e, t)), t.iterChangedRanges((e, t, i, a) => {
240
240
  for (let e = 0; e < n.length;) {
@@ -243,19 +243,19 @@ function ke(e, t) {
243
243
  }
244
244
  }), r;
245
245
  }
246
- function Ae(e, t) {
246
+ function ke(e, t) {
247
247
  return e.ranges.length == t.ranges.length && e.ranges.filter((e, n) => e.empty != t.ranges[n].empty).length === 0;
248
248
  }
249
- function A(e, t) {
249
+ function Ae(e, t) {
250
250
  return e.length ? t.length ? e.concat(t) : e : t;
251
251
  }
252
252
  var j = [], je = 200;
253
253
  function Me(e, t) {
254
254
  if (e.length) {
255
255
  let n = e[e.length - 1], r = n.selectionsAfter.slice(Math.max(0, n.selectionsAfter.length - je));
256
- 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)));
257
257
  }
258
- return [O.selection([t])];
258
+ return [k.selection([t])];
259
259
  }
260
260
  function Ne(e) {
261
261
  let t = e[e.length - 1], n = e.slice();
@@ -272,13 +272,13 @@ function M(e, t) {
272
272
  }
273
273
  t = i.mapped, n--, r = i.selectionsAfter;
274
274
  }
275
- return r.length ? [O.selection(r)] : j;
275
+ return r.length ? [k.selection(r)] : j;
276
276
  }
277
277
  function Pe(e, t, n) {
278
- let r = A(e.selectionsAfter.length ? e.selectionsAfter.map((e) => e.map(t)) : j, n);
279
- 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);
280
280
  let i = e.changes.map(t), a = t.mapDesc(e.changes, !0), o = e.mapped ? e.mapped.composeDesc(a) : a;
281
- 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);
282
282
  }
283
283
  var Fe = /^(input\.type|delete)($|\.)/, N = class e {
284
284
  constructor(e, t, n = 0, r = void 0) {
@@ -289,11 +289,11 @@ var Fe = /^(input\.type|delete)($|\.)/, N = class e {
289
289
  }
290
290
  addChanges(t, n, r, i, a) {
291
291
  let o = this.done, s = o[o.length - 1];
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, 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);
293
293
  }
294
294
  addSelection(t, n, r, i) {
295
295
  let a = this.done.length ? this.done[this.done.length - 1].selectionsAfter : j;
296
- 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);
297
297
  }
298
298
  addMapping(t) {
299
299
  return new e(M(this.done, t), M(this.undone, t), this.prevTime, this.prevUserEvent);
@@ -335,34 +335,34 @@ N.empty = /*@__PURE__*/ new N(j, j);
335
335
  var Ie = [
336
336
  {
337
337
  key: "Mod-z",
338
- run: E,
338
+ run: D,
339
339
  preventDefault: !0
340
340
  },
341
341
  {
342
342
  key: "Mod-y",
343
343
  mac: "Mod-Shift-z",
344
- run: D,
344
+ run: O,
345
345
  preventDefault: !0
346
346
  },
347
347
  {
348
348
  linux: "Ctrl-Shift-z",
349
- run: D,
349
+ run: O,
350
350
  preventDefault: !0
351
351
  },
352
352
  {
353
353
  key: "Mod-u",
354
- run: we,
354
+ run: Ce,
355
355
  preventDefault: !0
356
356
  },
357
357
  {
358
358
  key: "Alt-u",
359
359
  mac: "Mod-Shift-u",
360
- run: Te,
360
+ run: we,
361
361
  preventDefault: !0
362
362
  }
363
363
  ];
364
- function P(t, n) {
365
- return e.create(t.ranges.map(n), t.mainIndex);
364
+ function P(e, t) {
365
+ return d.create(e.ranges.map(t), e.mainIndex);
366
366
  }
367
367
  function F(e, t) {
368
368
  return e.update({
@@ -375,275 +375,275 @@ function I({ state: e, dispatch: t }, n) {
375
375
  let r = P(e.selection, n);
376
376
  return !r.eq(e.selection, !0) && (t(F(e, r)), !0);
377
377
  }
378
- function L(t, n) {
379
- return e.cursor(n ? t.to : t.from);
378
+ function L(e, t) {
379
+ return d.cursor(t ? e.to : e.from);
380
380
  }
381
381
  function Le(e, t) {
382
382
  return I(e, (n) => n.empty ? e.moveByChar(n, t) : L(n, t));
383
383
  }
384
384
  function R(e) {
385
- return e.textDirectionAt(e.state.selection.main.head) == t.LTR;
385
+ return e.textDirectionAt(e.state.selection.main.head) == ee.LTR;
386
386
  }
387
- var Re = (e) => Le(e, !R(e)), z = (e) => Le(e, R(e));
388
- function B(e, t) {
387
+ var Re = (e) => Le(e, !R(e)), ze = (e) => Le(e, R(e));
388
+ function Be(e, t) {
389
389
  return I(e, (n) => n.empty ? e.moveByGroup(n, t) : L(n, t));
390
390
  }
391
- 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));
392
392
  typeof Intl < "u" && Intl.Segmenter;
393
- function Ve(e, t, n) {
393
+ function Ue(e, t, n) {
394
394
  if (t.type.prop(n)) return !0;
395
395
  let r = t.to - t.from;
396
396
  return r && (r > 2 || /[^\s,.;:]/.test(e.sliceDoc(t.from, t.to))) || t.firstChild;
397
397
  }
398
- function V(t, n, i) {
399
- let o = a(t).resolveInner(n.head), c = i ? s.closedBy : s.openedBy;
400
- for (let e = n.head;;) {
401
- let n = i ? o.childAfter(e) : o.childBefore(e);
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
402
  if (!n) break;
403
- Ve(t, n, c) ? o = n : e = i ? n.to : n.from;
403
+ Ue(e, n, o) ? a = n : t = i ? n.to : n.from;
404
404
  }
405
- let l = o.type.prop(c), u, d;
406
- return d = l && (u = i ? r(t, o.from, 1) : r(t, o.to, -1)) && u.matched ? i ? u.end.to : u.end.from : i ? o.to : o.from, e.cursor(d, i ? -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);
407
407
  }
408
- var He = (e) => I(e, (t) => V(e.state, t, !R(e))), Ue = (e) => I(e, (t) => V(e.state, t, R(e)));
409
- 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) {
410
410
  return I(e, (n) => {
411
411
  if (!n.empty) return L(n, t);
412
412
  let r = e.moveVertically(n, t);
413
413
  return r.head == n.head ? e.moveToLineBoundary(n, t) : r;
414
414
  });
415
415
  }
416
- var Ge = (e) => We(e, !1), Ke = (e) => We(e, !0);
416
+ var V = (e) => B(e, !1), Ke = (e) => B(e, !0);
417
417
  function qe(e) {
418
- 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;
419
419
  if (t) {
420
- for (let t of e.state.facet(h.scrollMargins)) {
421
- let i = t(e);
422
- 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));
423
423
  }
424
- i = e.scrollDOM.clientHeight - n - r;
425
- } else i = (e.dom.ownerDocument.defaultView || window).innerHeight;
424
+ a = e.scrollDOM.clientHeight - n - i;
425
+ } else a = (e.dom.ownerDocument.defaultView || window).innerHeight;
426
426
  return {
427
427
  marginTop: n,
428
- marginBottom: r,
428
+ marginBottom: i,
429
429
  selfScroll: t,
430
- height: Math.max(e.defaultLineHeight, i - 5)
430
+ height: Math.max(e.defaultLineHeight, a - 5)
431
431
  };
432
432
  }
433
433
  function Je(e, t) {
434
- let n = qe(e), { state: r } = e, i = P(r.selection, (r) => r.empty ? e.moveVertically(r, t, n.height) : L(r, t));
435
- if (i.eq(r.selection)) return !1;
436
- 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;
437
437
  if (n.selfScroll) {
438
- let t = e.coordsAtPos(r.selection.main.head), o = e.scrollDOM.getBoundingClientRect(), s = o.top + n.marginTop, c = o.bottom - n.marginBottom;
439
- 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, {
440
440
  y: "start",
441
- yMargin: t.top - s
441
+ yMargin: t.top - c
442
442
  }));
443
443
  }
444
- return e.dispatch(F(r, i), { effects: a }), !0;
444
+ return e.dispatch(F(i, a), { effects: o }), !0;
445
445
  }
446
446
  var Ye = (e) => Je(e, !1), H = (e) => Je(e, !0);
447
- function U(t, n, r) {
448
- let i = t.lineBlockAt(n.head), a = t.moveToLineBoundary(n, r);
449
- if (a.head == n.head && a.head != (r ? i.to : i.from) && (a = t.moveToLineBoundary(n, r, !1)), !r && a.head == i.from && i.length) {
450
- let r = /^\s*/.exec(t.state.sliceDoc(i.from, Math.min(i.from + 100, i.to)))[0].length;
451
- r && n.head != i.from + r && (a = e.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));
452
452
  }
453
- return a;
453
+ return i;
454
454
  }
455
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));
456
- function nt(t, n, i) {
457
- let a = !1, o = P(t.selection, (n) => {
458
- let o = r(t, n.head, -1) || r(t, n.head, 1) || n.head > 0 && r(t, n.head - 1, 1) || n.head < t.doc.length && r(t, n.head + 1, -1);
459
- if (!o || !o.end) return n;
460
- a = !0;
461
- let s = o.start.from == n.head ? o.end.to : o.end.from;
462
- return i ? e.range(n.anchor, s) : e.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);
463
463
  });
464
- return a ? (n(F(t, o)), !0) : !1;
464
+ return i ? (t(F(e, a)), !0) : !1;
465
465
  }
466
466
  var rt = ({ state: e, dispatch: t }) => nt(e, t, !1);
467
- function W(t, n, r) {
468
- let i = P(t.state.selection, (t) => {
469
- t.undirectional && t.head >= t.anchor != n && (t = e.range(t.head, t.anchor));
470
- let i = r(t);
471
- return e.range(t.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);
472
472
  });
473
- return !i.eq(t.state.selection) && (t.dispatch(F(t.state, i)), !0);
473
+ return !r.eq(e.state.selection) && (e.dispatch(F(e.state, r)), !0);
474
474
  }
475
475
  function it(e, t) {
476
476
  return W(e, t, (n) => e.moveByChar(n, t));
477
477
  }
478
- var at = (e) => it(e, !R(e)), ot = (e) => it(e, R(e));
479
- function st(e, t) {
478
+ var at = (e) => it(e, !R(e)), G = (e) => it(e, R(e));
479
+ function ot(e, t) {
480
480
  return W(e, t, (n) => e.moveByGroup(n, t));
481
481
  }
482
- 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) => {
483
483
  let t = !R(e);
484
- return W(e, t, (n) => V(e.state, n, t));
485
- }, dt = (e) => {
484
+ return W(e, t, (n) => z(e.state, n, t));
485
+ }, ut = (e) => {
486
486
  let t = R(e);
487
- return W(e, t, (n) => V(e.state, n, t));
487
+ return W(e, t, (n) => z(e.state, n, t));
488
488
  };
489
- function ft(e, t) {
489
+ function dt(e, t) {
490
490
  return W(e, t, (n) => e.moveVertically(n, t));
491
491
  }
492
- var pt = (e) => ft(e, !1), mt = (e) => ft(e, !0);
493
- function ht(e, t) {
492
+ var ft = (e) => dt(e, !1), pt = (e) => dt(e, !0);
493
+ function mt(e, t) {
494
494
  return W(e, t, (n) => e.moveVertically(n, t, qe(e).height));
495
495
  }
496
- 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) => {
497
497
  let t = !R(e);
498
498
  return W(e, t, (n) => U(e, n, t));
499
- }, xt = (e) => {
499
+ }, bt = (e) => {
500
500
  let t = R(e);
501
501
  return W(e, t, (n) => U(e, n, t));
502
- }, St = (t) => W(t, !1, (n) => e.cursor(t.lineBlockAt(n.head).from)), Ct = (t) => W(t, !0, (n) => e.cursor(t.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, {
503
503
  anchor: e.selection.main.anchor,
504
504
  head: 0
505
- })), !0), Dt = ({ state: e, dispatch: t }) => (t(F(e, {
505
+ })), !0), Et = ({ state: e, dispatch: t }) => (t(F(e, {
506
506
  anchor: e.selection.main.anchor,
507
507
  head: e.doc.length
508
- })), !0), Ot = ({ state: e, dispatch: t }) => (t(e.update({
508
+ })), !0), Dt = ({ state: e, dispatch: t }) => (t(e.update({
509
509
  selection: {
510
510
  anchor: 0,
511
511
  head: e.doc.length
512
512
  },
513
513
  userEvent: "select"
514
- })), !0), kt = ({ state: t, dispatch: n }) => {
515
- let r = Y(t).map(({ from: n, to: r }) => e.undirectionalRange(n, Math.min(r + 1, t.doc.length)));
516
- return n(t.update({
517
- selection: e.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),
518
518
  userEvent: "select"
519
519
  })), !0;
520
- }, At = ({ state: t, dispatch: n }) => {
521
- let r = P(t.selection, (n) => {
522
- let r = a(t), i = r.resolveStack(n.from, 1);
523
- if (n.empty) {
524
- let e = r.resolveStack(n.from, -1);
525
- 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);
526
526
  }
527
- for (let t = i; t; t = t.next) {
528
- let { node: r } = t;
529
- if ((r.from < n.from && r.to >= n.to || r.to > n.to && r.from <= n.from) && t.next) return e.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);
530
530
  }
531
- return n;
531
+ return t;
532
532
  });
533
- return !r.eq(t.selection) && (n(F(t, r)), !0);
533
+ return !n.eq(e.selection) && (t(F(e, n)), !0);
534
534
  };
535
- function jt(t, n) {
536
- let { state: r } = t, i = r.selection, a = r.selection.ranges.slice();
537
- for (let e of r.selection.ranges) {
538
- let i = r.doc.lineAt(e.head);
539
- if (n ? i.to < t.state.doc.length : i.from > 0) for (let r = e;;) {
540
- let e = t.moveVertically(r, n);
541
- if (e.head < i.from || e.head > i.to) {
542
- a.some((t) => t.head == e.head) || a.push(e);
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);
543
543
  break;
544
544
  }
545
- if (e.head == r.head) break;
546
- r = e;
545
+ if (r.head == n.head) break;
546
+ n = r;
547
547
  }
548
548
  }
549
- return a.length != i.ranges.length && (t.dispatch(F(r, e.create(a, a.length - 1))), !0);
549
+ return i.length != r.ranges.length && (e.dispatch(F(n, d.create(i, i.length - 1))), !0);
550
550
  }
551
- var Mt = (e) => jt(e, !1), Nt = (e) => jt(e, !0), Pt = ({ state: t, dispatch: n }) => {
552
- let r = t.selection, i = null;
553
- return r.ranges.length > 1 ? i = e.create([r.main]) : r.main.empty || (i = e.create([e.cursor(r.main.head)])), i ? (n(F(t, 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;
554
554
  };
555
- function G(t, n) {
556
- if (t.state.readOnly) return !1;
557
- let r = "delete.selection", { state: i } = t, a = i.changeByRange((i) => {
558
- let { from: a, to: o } = i;
559
- if (a == o) {
560
- let e = n(i);
561
- e < a ? (r = "delete.backward", e = K(t, e, !1)) : e > a && (r = "delete.forward", e = K(t, e, !0)), a = Math.min(a, e), o = Math.max(o, e);
562
- } else a = K(t, a, !1), o = K(t, o, !0);
563
- return a == o ? { range: i } : {
555
+ function K(e, t) {
556
+ if (e.state.readOnly) return !1;
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 } : {
564
564
  changes: {
565
- from: a,
566
- to: o
565
+ from: i,
566
+ to: a
567
567
  },
568
- range: e.cursor(a, a < i.head ? -1 : 1)
568
+ range: d.cursor(i, i < r.head ? -1 : 1)
569
569
  };
570
570
  });
571
- return !a.changes.empty && (t.dispatch(i.update(a, {
571
+ return !a.changes.empty && (e.dispatch(i.update(a, {
572
572
  scrollIntoView: !0,
573
- userEvent: r,
574
- 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
575
575
  })), !0);
576
576
  }
577
- function K(e, t, n) {
578
- 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) => {
579
579
  e < t && r > t && (t = n ? r : e);
580
580
  });
581
581
  return t;
582
582
  }
583
- var Ft = (e, t, n) => G(e, (r) => {
583
+ var Pt = (e, t, n) => K(e, (r) => {
584
584
  let i = r.from, { state: a } = e, o = a.doc.lineAt(i), s, c;
585
585
  if (n && !t && i > o.from && i < o.from + 200 && !/[^ \t]/.test(s = o.text.slice(0, i - o.from))) {
586
586
  if (s[s.length - 1] == " ") return i - 1;
587
- let e = g(s, a.tabSize) % d(a) || d(a);
587
+ let e = p(s, a.tabSize) % _(a) || _(a);
588
588
  for (let t = 0; t < e && s[s.length - 1 - t] == " "; t++) i--;
589
589
  c = i;
590
- } 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);
591
591
  return c;
592
- }), 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) => {
593
593
  let r = n.head, { state: i } = e, a = i.doc.lineAt(r), o = i.charCategorizer(r);
594
594
  for (let e = null;;) {
595
595
  if (r == (t ? a.to : a.from)) {
596
596
  r == n.head && a.number != (t ? i.doc.lines : 1) && (r += t ? 1 : -1);
597
597
  break;
598
598
  }
599
- 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);
600
600
  if (e != null && l != e) break;
601
601
  (c != " " || r != n.head) && (e = l), r = s;
602
602
  }
603
603
  return r;
604
- }), 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) => {
605
605
  let n = e.lineBlockAt(t.head).to;
606
606
  return t.head < n ? n : Math.min(e.state.doc.length, t.head + 1);
607
- }), Bt = (e) => G(e, (t) => {
607
+ }), zt = (e) => K(e, (t) => {
608
608
  let n = e.moveToLineBoundary(t, !1).head;
609
609
  return t.head > n ? n : Math.max(0, t.head - 1);
610
- }), Vt = (e) => G(e, (t) => {
610
+ }), Bt = (e) => K(e, (t) => {
611
611
  let n = e.moveToLineBoundary(t, !0).head;
612
612
  return t.head < n ? n : Math.min(e.state.doc.length, t.head + 1);
613
- }), Ht = ({ state: t, dispatch: n }) => {
614
- if (t.readOnly) return !1;
615
- let r = t.changeByRange((t) => ({
613
+ }), Vt = ({ state: e, dispatch: t }) => {
614
+ if (e.readOnly) return !1;
615
+ let n = e.changeByRange((e) => ({
616
616
  changes: {
617
- from: t.from,
618
- to: t.to,
619
- insert: te.of(["", ""])
617
+ from: e.from,
618
+ to: e.to,
619
+ insert: se.of(["", ""])
620
620
  },
621
- range: e.cursor(t.from)
621
+ range: d.cursor(e.from)
622
622
  }));
623
- return n(t.update(r, {
623
+ return t(e.update(n, {
624
624
  scrollIntoView: !0,
625
625
  userEvent: "input"
626
626
  })), !0;
627
- }, Ut = ({ state: t, dispatch: n }) => {
628
- if (t.readOnly) return !1;
629
- let r = t.changeByRange((n) => {
630
- if (!n.empty || n.from == 0 || n.from == t.doc.length) return { range: n };
631
- let r = n.from, i = t.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;
627
+ }, Ht = ({ state: e, dispatch: t }) => {
628
+ if (e.readOnly) return !1;
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;
632
632
  return {
633
633
  changes: {
634
- from: a,
635
- to: o,
636
- insert: t.doc.slice(r, o).append(t.doc.slice(a, r))
634
+ from: i,
635
+ to: a,
636
+ insert: e.doc.slice(n, a).append(e.doc.slice(i, n))
637
637
  },
638
- range: e.cursor(o)
638
+ range: d.cursor(a)
639
639
  };
640
640
  });
641
- return !r.changes.empty && (n(t.update(r, {
641
+ return !n.changes.empty && (t(e.update(n, {
642
642
  scrollIntoView: !0,
643
643
  userEvent: "move.character"
644
644
  })), !0);
645
645
  };
646
- function Y(e) {
646
+ function X(e) {
647
647
  let t = [], n = -1;
648
648
  for (let r of e.selection.ranges) {
649
649
  let i = e.doc.lineAt(r.from), a = e.doc.lineAt(r.to);
@@ -659,44 +659,44 @@ function Y(e) {
659
659
  }
660
660
  return t;
661
661
  }
662
- function Wt(t, n, r) {
663
- if (t.readOnly) return !1;
664
- let i = [], a = [];
665
- for (let n of Y(t)) {
666
- if (r ? n.to == t.doc.length : n.from == 0) continue;
667
- let o = t.doc.lineAt(r ? n.to + 1 : n.from - 1), s = o.length + 1;
668
- if (r) {
669
- i.push({
670
- from: n.to,
671
- to: o.to
662
+ function Ut(e, t, n) {
663
+ if (e.readOnly) return !1;
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
672
672
  }, {
673
- from: n.from,
674
- insert: o.text + t.lineBreak
673
+ from: t.from,
674
+ insert: a.text + e.lineBreak
675
675
  });
676
- for (let r of n.ranges) a.push(e.range(Math.min(t.doc.length, r.anchor + s), Math.min(t.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)));
677
677
  } else {
678
- i.push({
679
- from: o.from,
680
- to: n.from
678
+ r.push({
679
+ from: a.from,
680
+ to: t.from
681
681
  }, {
682
- from: n.to,
683
- insert: t.lineBreak + o.text
682
+ from: t.to,
683
+ insert: e.lineBreak + a.text
684
684
  });
685
- for (let t of n.ranges) a.push(e.range(t.anchor - s, t.head - s));
685
+ for (let e of t.ranges) i.push(d.range(e.anchor - o, e.head - o));
686
686
  }
687
687
  }
688
- return i.length ? (n(t.update({
689
- changes: i,
688
+ return r.length ? (t(e.update({
689
+ changes: r,
690
690
  scrollIntoView: !0,
691
- selection: e.create(a, t.selection.mainIndex),
691
+ selection: d.create(i, e.selection.mainIndex),
692
692
  userEvent: "move.line"
693
693
  })), !0) : !1;
694
694
  }
695
- var Gt = ({ state: e, dispatch: t }) => Wt(e, t, !1), Kt = ({ state: e, dispatch: t }) => Wt(e, t, !0);
696
- 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) {
697
697
  if (e.readOnly) return !1;
698
698
  let r = [];
699
- for (let t of Y(e)) n ? r.push({
699
+ for (let t of X(e)) n ? r.push({
700
700
  from: t.from,
701
701
  insert: e.doc.slice(t.from, t.to) + e.lineBreak
702
702
  }) : r.push({
@@ -711,9 +711,9 @@ function qt(e, t, n) {
711
711
  userEvent: "input.copyline"
712
712
  })), !0;
713
713
  }
714
- 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) => {
715
715
  if (e.state.readOnly) return !1;
716
- 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++, {
717
717
  from: e,
718
718
  to: n
719
719
  }))), r = P(t.selection, (t) => {
@@ -731,89 +731,89 @@ var Jt = ({ state: e, dispatch: t }) => qt(e, t, !1), Yt = ({ state: e, dispatch
731
731
  userEvent: "delete.line"
732
732
  }), !0;
733
733
  };
734
- function Zt(e, t) {
735
- if (/\(\)|\[\]|\{\}/.test(e.sliceDoc(t - 1, t + 1))) return {
736
- from: t,
737
- to: t
734
+ function Xt(e, n) {
735
+ if (/\(\)|\[\]|\{\}/.test(e.sliceDoc(n - 1, n + 1))) return {
736
+ from: n,
737
+ to: n
738
738
  };
739
- let n = a(e).resolveInner(t), r = n.childBefore(t), i = n.childAfter(t), o;
740
- return r && i && r.to <= t && i.from >= t && (o = r.type.prop(s.closedBy)) && o.indexOf(i.name) > -1 && e.doc.lineAt(r.to).from == e.doc.lineAt(i.from).from && !/\S/.test(e.sliceDoc(r.to, i.from)) ? {
741
- from: r.to,
742
- to: i.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)) ? {
741
+ from: i.to,
742
+ to: a.from
743
743
  } : null;
744
744
  }
745
- var X = /*@__PURE__*/ $t(!1), Qt = /*@__PURE__*/ $t(!0);
746
- function $t(t) {
747
- return ({ state: r, dispatch: i }) => {
748
- if (r.readOnly) return !1;
749
- let a = r.changeByRange((i) => {
750
- let { from: a, to: o } = i, s = r.doc.lineAt(a), c = !t && a == o && Zt(r, a);
751
- t && (a = o = (o <= s.to ? s : r.doc.lineAt(o)).to);
752
- let l = new ne(r, {
753
- simulateBreak: a,
754
- simulateDoubleBreak: !!c
755
- }), u = se(l, a);
756
- for (u ?? (u = g(/^\s*/.exec(r.doc.lineAt(a).text)[0], r.tabSize)); o < s.to && /\s/.test(s.text[o - s.from]);) o++;
757
- c ? {from: a, to: o} = c : a > s.from && a < s.from + 100 && !/\S/.test(s.text.slice(0, a)) && (a = s.from);
758
- let d = ["", n(r, u)];
759
- return c && d.push(n(r, l.lineIndent(s.from, -1))), {
745
+ var Zt = /*@__PURE__*/ $t(!1), Qt = /*@__PURE__*/ $t(!0);
746
+ function $t(e) {
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))), {
760
760
  changes: {
761
- from: a,
762
- to: o,
763
- insert: te.of(d)
761
+ from: r,
762
+ to: i,
763
+ insert: se.of(u)
764
764
  },
765
- range: e.cursor(a + 1 + d[1].length)
765
+ range: d.cursor(r + 1 + u[1].length)
766
766
  };
767
767
  });
768
- return i(r.update(a, {
768
+ return n(t.update(r, {
769
769
  scrollIntoView: !0,
770
770
  userEvent: "input"
771
771
  })), !0;
772
772
  };
773
773
  }
774
- function Z(t, n) {
775
- let r = -1;
776
- return t.changeByRange((i) => {
777
- let a = [];
778
- for (let e = i.from; e <= i.to;) {
779
- let o = t.doc.lineAt(e);
780
- o.number > r && (i.empty || i.to > o.from) && (n(o, a, i), r = o.number), e = 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;
781
781
  }
782
- let o = t.changes(a);
782
+ let a = e.changes(i);
783
783
  return {
784
- changes: a,
785
- range: e.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))
786
786
  };
787
787
  });
788
788
  }
789
789
  var en = ({ state: e, dispatch: t }) => {
790
790
  if (e.readOnly) return !1;
791
- let r = Object.create(null), i = new ne(e, { overrideIndentation: (e) => r[e] ?? -1 }), a = Z(e, (t, a, o) => {
792
- 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);
793
793
  if (s == null) return;
794
794
  /\S/.test(t.text) || (s = 0);
795
- let c = /^\s*/.exec(t.text)[0], l = n(e, s);
796
- (c != l || o.from < t.from + c.length) && (r[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({
797
797
  from: t.from,
798
798
  to: t.from + c.length,
799
799
  insert: l
800
800
  }));
801
801
  });
802
- return a.changes.empty || t(e.update(a, { userEvent: "indent" })), !0;
802
+ return i.changes.empty || t(e.update(i, { userEvent: "indent" })), !0;
803
803
  }, tn = ({ state: e, dispatch: t }) => !e.readOnly && (t(e.update(Z(e, (t, n) => {
804
804
  n.push({
805
805
  from: t.from,
806
- insert: e.facet(oe)
806
+ insert: e.facet(o)
807
807
  });
808
- }), { userEvent: "input.indent" })), !0), nn = ({ state: e, dispatch: t }) => !e.readOnly && (t(e.update(Z(e, (t, r) => {
809
- let i = /^\s*/.exec(t.text)[0];
810
- if (!i) return;
811
- let a = g(i, e.tabSize), o = 0, s = n(e, Math.max(0, a - d(e)));
812
- for (; o < i.length && o < s.length && i.charCodeAt(o) == s.charCodeAt(o);) o++;
813
- r.push({
814
- from: t.from + o,
815
- to: t.from + i.length,
816
- insert: s.slice(o)
808
+ }), { userEvent: "input.indent" })), !0), nn = ({ state: e, dispatch: t }) => !e.readOnly && (t(e.update(Z(e, (t, n) => {
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++;
813
+ n.push({
814
+ from: t.from + a,
815
+ to: t.from + r.length,
816
+ insert: o.slice(a)
817
817
  });
818
818
  }), { userEvent: "delete.dedent" })), !0), rn = (e) => (e.setTabFocusMode(), !0), an = [
819
819
  {
@@ -824,52 +824,52 @@ var en = ({ state: e, dispatch: t }) => {
824
824
  },
825
825
  {
826
826
  key: "Ctrl-f",
827
- run: z,
828
- shift: ot
827
+ run: ze,
828
+ shift: G
829
829
  },
830
830
  {
831
831
  key: "Ctrl-p",
832
- run: Ge,
833
- shift: pt
832
+ run: V,
833
+ shift: ft
834
834
  },
835
835
  {
836
836
  key: "Ctrl-n",
837
837
  run: Ke,
838
- shift: mt
838
+ shift: pt
839
839
  },
840
840
  {
841
841
  key: "Ctrl-a",
842
842
  run: et,
843
- shift: St
843
+ shift: xt
844
844
  },
845
845
  {
846
846
  key: "Ctrl-e",
847
847
  run: tt,
848
- shift: Ct
848
+ shift: St
849
849
  },
850
850
  {
851
851
  key: "Ctrl-d",
852
- run: J
852
+ run: Y
853
853
  },
854
854
  {
855
855
  key: "Ctrl-h",
856
- run: q
856
+ run: J
857
857
  },
858
858
  {
859
859
  key: "Ctrl-k",
860
- run: zt
860
+ run: Rt
861
861
  },
862
862
  {
863
863
  key: "Ctrl-Alt-h",
864
- run: Lt
864
+ run: It
865
865
  },
866
866
  {
867
867
  key: "Ctrl-o",
868
- run: Ht
868
+ run: Vt
869
869
  },
870
870
  {
871
871
  key: "Ctrl-t",
872
- run: Ut
872
+ run: Ht
873
873
  },
874
874
  {
875
875
  key: "Ctrl-v",
@@ -885,139 +885,139 @@ var en = ({ state: e, dispatch: t }) => {
885
885
  {
886
886
  key: "Mod-ArrowLeft",
887
887
  mac: "Alt-ArrowLeft",
888
- run: ze,
889
- shift: ct,
888
+ run: Ve,
889
+ shift: st,
890
890
  preventDefault: !0
891
891
  },
892
892
  {
893
893
  mac: "Cmd-ArrowLeft",
894
894
  run: Qe,
895
- shift: bt,
895
+ shift: yt,
896
896
  preventDefault: !0
897
897
  },
898
898
  {
899
899
  key: "ArrowRight",
900
- run: z,
901
- shift: ot,
900
+ run: ze,
901
+ shift: G,
902
902
  preventDefault: !0
903
903
  },
904
904
  {
905
905
  key: "Mod-ArrowRight",
906
906
  mac: "Alt-ArrowRight",
907
- run: Be,
908
- shift: lt,
907
+ run: He,
908
+ shift: ct,
909
909
  preventDefault: !0
910
910
  },
911
911
  {
912
912
  mac: "Cmd-ArrowRight",
913
913
  run: $e,
914
- shift: xt,
914
+ shift: bt,
915
915
  preventDefault: !0
916
916
  },
917
917
  {
918
918
  key: "ArrowUp",
919
- run: Ge,
920
- shift: pt,
919
+ run: V,
920
+ shift: ft,
921
921
  preventDefault: !0
922
922
  },
923
923
  {
924
924
  mac: "Cmd-ArrowUp",
925
- run: wt,
926
- shift: Et
925
+ run: Ct,
926
+ shift: Tt
927
927
  },
928
928
  {
929
929
  mac: "Ctrl-ArrowUp",
930
930
  run: Ye,
931
- shift: gt
931
+ shift: ht
932
932
  },
933
933
  {
934
934
  key: "ArrowDown",
935
935
  run: Ke,
936
- shift: mt,
936
+ shift: pt,
937
937
  preventDefault: !0
938
938
  },
939
939
  {
940
940
  mac: "Cmd-ArrowDown",
941
- run: Tt,
942
- shift: Dt
941
+ run: wt,
942
+ shift: Et
943
943
  },
944
944
  {
945
945
  mac: "Ctrl-ArrowDown",
946
946
  run: H,
947
- shift: _t
947
+ shift: gt
948
948
  },
949
949
  {
950
950
  key: "PageUp",
951
951
  run: Ye,
952
- shift: gt
952
+ shift: ht
953
953
  },
954
954
  {
955
955
  key: "PageDown",
956
956
  run: H,
957
- shift: _t
957
+ shift: gt
958
958
  },
959
959
  {
960
960
  key: "Home",
961
961
  run: Ze,
962
- shift: yt,
962
+ shift: vt,
963
963
  preventDefault: !0
964
964
  },
965
965
  {
966
966
  key: "Mod-Home",
967
- run: wt,
968
- shift: Et
967
+ run: Ct,
968
+ shift: Tt
969
969
  },
970
970
  {
971
971
  key: "End",
972
972
  run: Xe,
973
- shift: vt,
973
+ shift: _t,
974
974
  preventDefault: !0
975
975
  },
976
976
  {
977
977
  key: "Mod-End",
978
- run: Tt,
979
- shift: Dt
978
+ run: wt,
979
+ shift: Et
980
980
  },
981
981
  {
982
982
  key: "Enter",
983
- run: X,
984
- shift: X
983
+ run: Zt,
984
+ shift: Zt
985
985
  },
986
986
  {
987
987
  key: "Mod-a",
988
- run: Ot
988
+ run: Dt
989
989
  },
990
990
  {
991
991
  key: "Backspace",
992
- run: q,
993
- shift: q,
992
+ run: J,
993
+ shift: J,
994
994
  preventDefault: !0
995
995
  },
996
996
  {
997
997
  key: "Delete",
998
- run: J,
998
+ run: Y,
999
999
  preventDefault: !0
1000
1000
  },
1001
1001
  {
1002
1002
  key: "Mod-Backspace",
1003
1003
  mac: "Alt-Backspace",
1004
- run: Lt,
1004
+ run: It,
1005
1005
  preventDefault: !0
1006
1006
  },
1007
1007
  {
1008
1008
  key: "Mod-Delete",
1009
1009
  mac: "Alt-Delete",
1010
- run: Rt,
1010
+ run: Lt,
1011
1011
  preventDefault: !0
1012
1012
  },
1013
1013
  {
1014
1014
  mac: "Mod-Backspace",
1015
- run: Bt,
1015
+ run: zt,
1016
1016
  preventDefault: !0
1017
1017
  },
1018
1018
  {
1019
1019
  mac: "Mod-Delete",
1020
- run: Vt,
1020
+ run: Bt,
1021
1021
  preventDefault: !0
1022
1022
  }
1023
1023
  ].concat(/*@__PURE__*/ an.map((e) => ({
@@ -1028,42 +1028,42 @@ var en = ({ state: e, dispatch: t }) => {
1028
1028
  {
1029
1029
  key: "Alt-ArrowLeft",
1030
1030
  mac: "Ctrl-ArrowLeft",
1031
- run: He,
1032
- shift: ut
1031
+ run: We,
1032
+ shift: lt
1033
1033
  },
1034
1034
  {
1035
1035
  key: "Alt-ArrowRight",
1036
1036
  mac: "Ctrl-ArrowRight",
1037
- run: Ue,
1038
- shift: dt
1037
+ run: Ge,
1038
+ shift: ut
1039
1039
  },
1040
1040
  {
1041
1041
  key: "Alt-ArrowUp",
1042
- run: Gt
1042
+ run: Wt
1043
1043
  },
1044
1044
  {
1045
1045
  key: "Shift-Alt-ArrowUp",
1046
- run: Jt
1046
+ run: qt
1047
1047
  },
1048
1048
  {
1049
1049
  key: "Alt-ArrowDown",
1050
- run: Kt
1050
+ run: Gt
1051
1051
  },
1052
1052
  {
1053
1053
  key: "Shift-Alt-ArrowDown",
1054
- run: Yt
1054
+ run: Jt
1055
1055
  },
1056
1056
  {
1057
1057
  key: "Mod-Alt-ArrowUp",
1058
- run: Mt
1058
+ run: jt
1059
1059
  },
1060
1060
  {
1061
1061
  key: "Mod-Alt-ArrowDown",
1062
- run: Nt
1062
+ run: Mt
1063
1063
  },
1064
1064
  {
1065
1065
  key: "Escape",
1066
- run: Pt
1066
+ run: Nt
1067
1067
  },
1068
1068
  {
1069
1069
  key: "Mod-Enter",
@@ -1072,11 +1072,11 @@ var en = ({ state: e, dispatch: t }) => {
1072
1072
  {
1073
1073
  key: "Alt-l",
1074
1074
  mac: "Ctrl-l",
1075
- run: kt
1075
+ run: Ot
1076
1076
  },
1077
1077
  {
1078
1078
  key: "Mod-i",
1079
- run: At,
1079
+ run: kt,
1080
1080
  preventDefault: !0
1081
1081
  },
1082
1082
  {
@@ -1093,7 +1093,7 @@ var en = ({ state: e, dispatch: t }) => {
1093
1093
  },
1094
1094
  {
1095
1095
  key: "Shift-Mod-k",
1096
- run: Xt
1096
+ run: Yt
1097
1097
  },
1098
1098
  {
1099
1099
  key: "Shift-Mod-\\",
@@ -1113,9 +1113,9 @@ var en = ({ state: e, dispatch: t }) => {
1113
1113
  mac: "Shift-Alt-m",
1114
1114
  run: rn
1115
1115
  }
1116
- ].concat(on), Q, $ = class extends ue(de(ee)) {
1117
- constructor(...e) {
1118
- 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 o(), this._placeholderCompartment = new o(), this._attrsCompartment = new o(), 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) => {
1119
1119
  e.target === this.view?.scrollDOM && (this.focusFromPoint(e.clientX, e.clientY), e.preventDefault());
1120
1120
  };
1121
1121
  }
@@ -1131,10 +1131,10 @@ var en = ({ state: e, dispatch: t }) => {
1131
1131
  this._placeholderCompartment.of(this._placeholderExtension()),
1132
1132
  this._editableCompartment.of(this._editableExtension()),
1133
1133
  this._attrsCompartment.of(this._attrsExtension()),
1134
- h.updateListener.of((e) => {
1135
- 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)));
1136
1136
  }),
1137
- h.domEventHandlers({
1137
+ r.domEventHandlers({
1138
1138
  focus: () => {
1139
1139
  this._valueAtFocus = this.value;
1140
1140
  },
@@ -1145,14 +1145,14 @@ var en = ({ state: e, dispatch: t }) => {
1145
1145
  ];
1146
1146
  }
1147
1147
  _editableExtension() {
1148
- 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)];
1149
1149
  }
1150
1150
  _placeholderExtension() {
1151
- return this.placeholder ? i(this.placeholder) : [];
1151
+ return this.placeholder ? ae(this.placeholder) : [];
1152
1152
  }
1153
1153
  _attrsExtension() {
1154
1154
  let e = { ...this.contentAttributes() };
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"), 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);
1156
1156
  }
1157
1157
  refreshContentAttributes() {
1158
1158
  this.reconfigure(this._attrsCompartment, this._attrsExtension());
@@ -1228,4 +1228,4 @@ Q = $, Q.shadowRootOptions = {
1228
1228
  type: Boolean,
1229
1229
  reflect: !0
1230
1230
  })], $.prototype, "invalid", void 0);
1231
- 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 };