@stachelock/ui 0.3.1 → 0.4.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 (670) hide show
  1. package/dist/{AlertModal.vue_vue_type_script_setup_true_lang-CxwewAVy.js → AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js} +2 -2
  2. package/dist/{AlertModal.vue_vue_type_script_setup_true_lang-CxwewAVy.js.map → AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js.map} +1 -1
  3. package/dist/{BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-B570pdYL.js → BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js} +6 -6
  4. package/dist/{BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-B570pdYL.js.map → BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js.map} +1 -1
  5. package/dist/{BarChart.vue_vue_type_script_setup_true_lang-Dnuzd7vZ.js → BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js} +19 -19
  6. package/dist/{BarChart.vue_vue_type_script_setup_true_lang-Dnuzd7vZ.js.map → BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js.map} +1 -1
  7. package/dist/{BaseModal.vue_vue_type_script_setup_true_lang-Cr_GAD6Q.js → BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js} +5 -6
  8. package/dist/{BaseModal.vue_vue_type_script_setup_true_lang-Cr_GAD6Q.js.map → BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js.map} +1 -1
  9. package/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-DRwe4rw8.js → CalendarHeader.vue_vue_type_script_setup_true_lang-P5ypRyGV.js} +111 -111
  10. package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-P5ypRyGV.js.map +1 -0
  11. package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js +187 -0
  12. package/dist/{CheckboxInput.vue_vue_type_script_setup_true_lang-B8wJVkPP.js.map → CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js.map} +1 -1
  13. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js +1351 -0
  14. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js.map +1 -0
  15. package/dist/{ComingSoon.vue_vue_type_script_setup_true_lang-C5GU-yiK.js → ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js} +19 -19
  16. package/dist/{ComingSoon.vue_vue_type_script_setup_true_lang-C5GU-yiK.js.map → ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js.map} +1 -1
  17. package/dist/{DashboardLayout.vue_vue_type_script_setup_true_lang-DV-XVWqh.js → DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js} +7 -8
  18. package/dist/{DashboardLayout.vue_vue_type_script_setup_true_lang-DV-XVWqh.js.map → DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js.map} +1 -1
  19. package/dist/DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js.map +1 -1
  20. package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-BV9vYYuX.js → DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js} +47 -47
  21. package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-BV9vYYuX.js.map → DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js.map} +1 -1
  22. package/dist/{DisclosureWrapper.vue_vue_type_script_setup_true_lang-B-Mr_vdx.js → DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js} +38 -38
  23. package/dist/{DisclosureWrapper.vue_vue_type_script_setup_true_lang-B-Mr_vdx.js.map → DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js.map} +1 -1
  24. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js +253 -0
  25. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js.map +1 -0
  26. package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-Ct8b80dM.js → DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js} +16 -16
  27. package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js.map +1 -0
  28. package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js +122 -0
  29. package/dist/{EmailInput.vue_vue_type_script_setup_true_lang-Dhfgs2Jn.js.map → EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js.map} +1 -1
  30. package/dist/{EmptyInput.vue_vue_type_script_setup_true_lang-BDxgc5Bs.js → EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js} +9 -9
  31. package/dist/{EmptyInput.vue_vue_type_script_setup_true_lang-BDxgc5Bs.js.map → EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js.map} +1 -1
  32. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-B_XAq5Sr.js → EmptyState.vue_vue_type_script_setup_true_lang-Dxy-cLPT.js} +29 -29
  33. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-B_XAq5Sr.js.map → EmptyState.vue_vue_type_script_setup_true_lang-Dxy-cLPT.js.map} +1 -1
  34. package/dist/{EventsList.vue_vue_type_script_setup_true_lang-D3q9wJ4E.js → EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js} +30 -31
  35. package/dist/{EventsList.vue_vue_type_script_setup_true_lang-D3q9wJ4E.js.map → EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js.map} +1 -1
  36. package/dist/{FunnelChart.vue_vue_type_script_setup_true_lang-B8QYlJ-s.js → FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js} +12 -12
  37. package/dist/{FunnelChart.vue_vue_type_script_setup_true_lang-B8QYlJ-s.js.map → FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js.map} +1 -1
  38. package/dist/{HiddenInput.vue_vue_type_script_setup_true_lang-DYdvWmVE.js → HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js} +10 -10
  39. package/dist/{HiddenInput.vue_vue_type_script_setup_true_lang-DYdvWmVE.js.map → HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js.map} +1 -1
  40. package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-DhkX5sWS.js → InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js} +29 -29
  41. package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-DhkX5sWS.js.map → InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js.map} +1 -1
  42. package/dist/{LineChart.vue_vue_type_script_setup_true_lang-DszQ-a5L.js → LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js} +17 -17
  43. package/dist/{LineChart.vue_vue_type_script_setup_true_lang-DszQ-a5L.js.map → LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js.map} +1 -1
  44. package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js +36 -0
  45. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CwOOShcM.js.map → LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js.map} +1 -1
  46. package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-CnX3Ih0W.js → MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js} +2 -2
  47. package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-CnX3Ih0W.js.map → MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js.map} +1 -1
  48. package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js +30 -0
  49. package/dist/{NavigationGroup.vue_vue_type_script_setup_true_lang-2tAB9Hbx.js.map → NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js.map} +1 -1
  50. package/dist/{NavigationItem.vue_vue_type_script_setup_true_lang-CEsuYl3S.js → NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js} +18 -18
  51. package/dist/{NavigationItem.vue_vue_type_script_setup_true_lang-CEsuYl3S.js.map → NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js.map} +1 -1
  52. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-DZxcEZkP.js +277 -0
  53. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-DZxcEZkP.js.map +1 -0
  54. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DJRcsty7.js → PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js} +12 -12
  55. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DJRcsty7.js.map → PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js.map} +1 -1
  56. package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-DkABeWJt.js +130 -0
  57. package/dist/{ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-Cri9BiBy.js.map → ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-DkABeWJt.js.map} +1 -1
  58. package/dist/{ProjectLogo.vue_vue_type_script_setup_true_lang-CtroDq7L.js → ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js} +24 -24
  59. package/dist/{ProjectLogo.vue_vue_type_script_setup_true_lang-CtroDq7L.js.map → ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js.map} +1 -1
  60. package/dist/{SelectInput.vue_vue_type_script_setup_true_lang--yUL7bcx.js → SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js} +111 -111
  61. package/dist/SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js.map +1 -0
  62. package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-B2Gw_se2.js → SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js} +2 -2
  63. package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-B2Gw_se2.js.map → SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js.map} +1 -1
  64. package/dist/{SidebarLayout.vue_vue_type_script_setup_true_lang-BD2PF5xp.js → SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js} +9 -10
  65. package/dist/{SidebarLayout.vue_vue_type_script_setup_true_lang-BD2PF5xp.js.map → SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js.map} +1 -1
  66. package/dist/{SparklineChart.vue_vue_type_script_setup_true_lang-DDTcpEjy.js → SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js} +17 -17
  67. package/dist/{SparklineChart.vue_vue_type_script_setup_true_lang-DDTcpEjy.js.map → SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js.map} +1 -1
  68. package/dist/{StatCard.vue_vue_type_script_setup_true_lang-DTOT0-WB.js → StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js} +40 -40
  69. package/dist/{StatCard.vue_vue_type_script_setup_true_lang-DTOT0-WB.js.map → StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js.map} +1 -1
  70. package/dist/{StepperPanels.vue_vue_type_script_setup_true_lang-BtHrfqFI.js → StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js} +38 -38
  71. package/dist/{StepperPanels.vue_vue_type_script_setup_true_lang-BtHrfqFI.js.map → StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js.map} +1 -1
  72. package/dist/{SwitchInput.vue_vue_type_script_setup_true_lang-D6M1qwP1.js → SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js} +110 -108
  73. package/dist/{SwitchInput.vue_vue_type_script_setup_true_lang-D6M1qwP1.js.map → SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js.map} +1 -1
  74. package/dist/{SwitchInputGroup.vue_vue_type_script_setup_true_lang-BNKKEAMq.js → SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js} +2 -2
  75. package/dist/{SwitchInputGroup.vue_vue_type_script_setup_true_lang-BNKKEAMq.js.map → SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js.map} +1 -1
  76. package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-DrhDwLL3.js → TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js} +3 -3
  77. package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-DrhDwLL3.js.map → TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js.map} +1 -1
  78. package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-Di33js6c.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js} +32 -32
  79. package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-Di33js6c.js.map → TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js.map} +1 -1
  80. package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-CMxaK0Kw.js → TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js} +21 -21
  81. package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-CMxaK0Kw.js.map → TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js.map} +1 -1
  82. package/dist/{TagifyInput.vue_vue_type_script_setup_true_lang-CAK6ZIiz.js → TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js} +2 -2
  83. package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js.map +1 -0
  84. package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-BMpc-5ln.js → TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js} +47 -47
  85. package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-BMpc-5ln.js.map → TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js.map} +1 -1
  86. package/dist/{UiAvatar.vue_vue_type_script_setup_true_lang-Ci7VLRZx.js → UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js} +36 -36
  87. package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js.map +1 -0
  88. package/dist/{UiBadge.vue_vue_type_script_setup_true_lang-CV8WVEXL.js → UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js} +19 -19
  89. package/dist/{UiBadge.vue_vue_type_script_setup_true_lang-CV8WVEXL.js.map → UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js.map} +1 -1
  90. package/dist/{UiButtonGroup.vue_vue_type_script_setup_true_lang-BKyznfxi.js → UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js} +28 -28
  91. package/dist/{UiButtonGroup.vue_vue_type_script_setup_true_lang-BKyznfxi.js.map → UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js.map} +1 -1
  92. package/dist/{UiCheckbox.vue_vue_type_script_setup_true_lang-B5fPB7PH.js → UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js} +37 -37
  93. package/dist/{UiCheckbox.vue_vue_type_script_setup_true_lang-B5fPB7PH.js.map → UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js.map} +1 -1
  94. package/dist/{UiLoading.vue_vue_type_script_setup_true_lang-DldleD-3.js → UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js} +42 -42
  95. package/dist/{UiLoading.vue_vue_type_script_setup_true_lang-DldleD-3.js.map → UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js.map} +1 -1
  96. package/dist/{UiMenu.vue_vue_type_script_setup_true_lang-aJddpshR.js → UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js} +74 -74
  97. package/dist/{UiMenu.vue_vue_type_script_setup_true_lang-aJddpshR.js.map → UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js.map} +1 -1
  98. package/dist/{UiModal.vue_vue_type_script_setup_true_lang-CFgLuifQ.js → UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js} +9 -10
  99. package/dist/{UiModal.vue_vue_type_script_setup_true_lang-CFgLuifQ.js.map → UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js.map} +1 -1
  100. package/dist/{UiNavLink.vue_vue_type_script_setup_true_lang-C23h6Do0.js → UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js} +2 -2
  101. package/dist/{UiNavLink.vue_vue_type_script_setup_true_lang-C23h6Do0.js.map → UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js.map} +1 -1
  102. package/dist/{UiProgressBar.vue_vue_type_script_setup_true_lang-BioTMORv.js → UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js} +24 -24
  103. package/dist/{UiProgressBar.vue_vue_type_script_setup_true_lang-BioTMORv.js.map → UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js.map} +1 -1
  104. package/dist/{UiTable.vue_vue_type_script_setup_true_lang-BuOCaPzi.js → UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js} +80 -83
  105. package/dist/UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js.map +1 -0
  106. package/dist/{UiTransition.vue_vue_type_script_setup_true_lang-DwBTj18t.js → UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js} +15 -15
  107. package/dist/{UiTransition.vue_vue_type_script_setup_true_lang-DwBTj18t.js.map → UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js.map} +1 -1
  108. package/dist/{YearCalendar.vue_vue_type_script_setup_true_lang-C01PTLg8.js → YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js} +15 -15
  109. package/dist/{YearCalendar.vue_vue_type_script_setup_true_lang-C01PTLg8.js.map → YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js.map} +1 -1
  110. package/dist/{calendar-DyIP7WGv.js → calendar-BlSSD4nO.js} +2 -2
  111. package/dist/calendar-BlSSD4nO.js.map +1 -0
  112. package/dist/calendars/CalendarDashboard.d.ts +1 -3
  113. package/dist/calendars/CalendarDashboard.js +32 -33
  114. package/dist/calendars/CalendarDashboard.js.map +1 -1
  115. package/dist/calendars/CalendarHeader.d.ts +1 -3
  116. package/dist/calendars/CalendarHeader.js +1 -1
  117. package/dist/calendars/DayCalendar.d.ts +1 -3
  118. package/dist/calendars/DayCalendar.js +1 -1
  119. package/dist/calendars/EventCard.d.ts +1 -3
  120. package/dist/calendars/EventsList.d.ts +1 -3
  121. package/dist/calendars/EventsList.js +1 -1
  122. package/dist/calendars/MonthCalendar.d.ts +1 -3
  123. package/dist/calendars/MonthCalendar.js +1 -1
  124. package/dist/calendars/WeekCalendar.d.ts +1 -3
  125. package/dist/calendars/WeekCalendar.js +118 -118
  126. package/dist/calendars/WeekCalendar.js.map +1 -1
  127. package/dist/calendars/YearCalendar.d.ts +1 -3
  128. package/dist/calendars/YearCalendar.js +1 -1
  129. package/dist/charts/BarChart.d.ts +1 -3
  130. package/dist/charts/BarChart.js +1 -1
  131. package/dist/charts/BaseChart.d.ts +1 -3
  132. package/dist/charts/BaseChart.js +54 -54
  133. package/dist/charts/BaseChart.js.map +1 -1
  134. package/dist/charts/FunnelChart.d.ts +1 -3
  135. package/dist/charts/FunnelChart.js +1 -1
  136. package/dist/charts/LineChart.d.ts +1 -3
  137. package/dist/charts/LineChart.js +1 -1
  138. package/dist/charts/PieChart.d.ts +1 -3
  139. package/dist/charts/PieChart.js +1 -1
  140. package/dist/charts/SparklineChart.d.ts +1 -3
  141. package/dist/charts/SparklineChart.js +1 -1
  142. package/dist/charts/StatCard.d.ts +1 -3
  143. package/dist/charts/StatCard.js +1 -1
  144. package/dist/charts/chartTheme.d.ts +3 -0
  145. package/dist/charts/index.d.ts +1 -0
  146. package/dist/charts/index.js +6 -6
  147. package/dist/components/Avatar.d.ts +1 -3
  148. package/dist/components/Avatar.js +1 -1
  149. package/dist/components/Badge.d.ts +1 -3
  150. package/dist/components/Badge.js +1 -1
  151. package/dist/components/Banner.d.ts +1 -3
  152. package/dist/components/Banner.js +69 -69
  153. package/dist/components/Banner.js.map +1 -1
  154. package/dist/components/Breadcrumb.d.ts +1 -3
  155. package/dist/components/Breadcrumb.js +5 -5
  156. package/dist/components/Breadcrumb.js.map +1 -1
  157. package/dist/components/Button.d.ts +1 -3
  158. package/dist/components/Button.js +29 -29
  159. package/dist/components/Button.js.map +1 -1
  160. package/dist/components/ButtonGroup.d.ts +1 -3
  161. package/dist/components/ButtonGroup.js +1 -1
  162. package/dist/components/Checkbox.d.ts +1 -3
  163. package/dist/components/Checkbox.js +1 -1
  164. package/dist/components/CloudinaryImage.d.ts +1 -3
  165. package/dist/components/Loading.d.ts +1 -3
  166. package/dist/components/Loading.js +1 -1
  167. package/dist/components/LoadingDots.d.ts +1 -3
  168. package/dist/components/LottieAnimation.d.ts +1 -3
  169. package/dist/components/LottieAnimation.js +1 -1
  170. package/dist/components/Menu.d.ts +1 -3
  171. package/dist/components/Menu.js +1 -1
  172. package/dist/components/Modal.d.ts +1 -3
  173. package/dist/components/Modal.js +1 -1
  174. package/dist/components/NavLink.d.ts +1 -3
  175. package/dist/components/NavLink.js +1 -1
  176. package/dist/components/ProgressBar.d.ts +1 -3
  177. package/dist/components/ProgressBar.js +1 -1
  178. package/dist/components/RadialProgressBar.d.ts +1 -3
  179. package/dist/components/RadialProgressBar.js +1 -1
  180. package/dist/components/Table.d.ts +1 -3
  181. package/dist/components/Table.js +1 -1
  182. package/dist/components/Transition.d.ts +1 -3
  183. package/dist/components/Transition.js +1 -1
  184. package/dist/composables/index.d.ts +1 -0
  185. package/dist/composables/useCalendar.d.ts +3 -0
  186. package/dist/composables/useCalendar.js +1 -1
  187. package/dist/composables/useFormValidation.d.ts +3 -0
  188. package/dist/composables/useMap.d.ts +3 -0
  189. package/dist/composables/useModal.d.ts +3 -0
  190. package/dist/composables/useNotifications.d.ts +3 -0
  191. package/dist/composables/useNotifications.js +221 -58
  192. package/dist/composables/useNotifications.js.map +1 -1
  193. package/dist/composables/useTabs.d.ts +1 -0
  194. package/dist/composables/useTheme.d.ts +3 -0
  195. package/dist/{dialog-B2WA4G25.js → dialog-BJ2Ld8l3.js} +2 -2
  196. package/dist/{dialog-B2WA4G25.js.map → dialog-BJ2Ld8l3.js.map} +1 -1
  197. package/dist/empty-state/ComingSoon.d.ts +1 -3
  198. package/dist/empty-state/ComingSoon.js +1 -1
  199. package/dist/empty-state/EmptyState.d.ts +1 -3
  200. package/dist/empty-state/EmptyState.js +1 -1
  201. package/dist/empty-state/index.d.ts +1 -0
  202. package/dist/empty-state/index.js +2 -2
  203. package/dist/forms/DynamicForm.d.ts +1 -3
  204. package/dist/forms/DynamicForm.js +1 -1
  205. package/dist/forms/DynamicFormField.d.ts +1 -3
  206. package/dist/forms/DynamicFormField.js +1 -1
  207. package/dist/forms/FormFieldWrapper.d.ts +1 -3
  208. package/dist/forms/FormFieldWrapper.js +56 -56
  209. package/dist/forms/FormFieldWrapper.js.map +1 -1
  210. package/dist/index.d.ts +3 -0
  211. package/dist/index.js +505 -511
  212. package/dist/index.js.map +1 -1
  213. package/dist/inputs/AddDeleteButtonGroup.d.ts +1 -3
  214. package/dist/inputs/CheckboxInput.d.ts +1 -3
  215. package/dist/inputs/CheckboxInput.js +1 -1
  216. package/dist/inputs/ComboboxInput.d.ts +1 -3
  217. package/dist/inputs/ComboboxInput.js +1 -1
  218. package/dist/inputs/DatepickerInput.d.ts +1 -3
  219. package/dist/inputs/EmailInput.d.ts +1 -3
  220. package/dist/inputs/EmailInput.js +1 -1
  221. package/dist/inputs/EmptyInput.d.ts +1 -3
  222. package/dist/inputs/EmptyInput.js +1 -1
  223. package/dist/inputs/FileDropzoneInput.d.ts +1 -3
  224. package/dist/inputs/HiddenInput.d.ts +1 -3
  225. package/dist/inputs/HiddenInput.js +1 -1
  226. package/dist/inputs/PhoneInput.d.ts +1 -3
  227. package/dist/inputs/PhoneInput.js +33 -23
  228. package/dist/inputs/PhoneInput.js.map +1 -1
  229. package/dist/inputs/RichTextInput.d.ts +1 -3
  230. package/dist/inputs/RichTextInput.js +693 -693
  231. package/dist/inputs/RichTextInput.js.map +1 -1
  232. package/dist/inputs/SelectInput.d.ts +1 -3
  233. package/dist/inputs/SelectInput.js +1 -1
  234. package/dist/inputs/SelectTextInput.d.ts +1 -3
  235. package/dist/inputs/SelectTextInput.js +1 -1
  236. package/dist/inputs/SwitchInput.d.ts +1 -3
  237. package/dist/inputs/SwitchInput.js +1 -1
  238. package/dist/inputs/SwitchInputGroup.d.ts +1 -3
  239. package/dist/inputs/SwitchInputGroup.js +1 -1
  240. package/dist/inputs/TagifyInput.d.ts +1 -3
  241. package/dist/inputs/TagifyInput.js +1 -1
  242. package/dist/inputs/TextAreaInput.d.ts +1 -3
  243. package/dist/inputs/TextAreaInput.js +1 -1
  244. package/dist/inputs/TextInput.d.ts +1 -3
  245. package/dist/inputs/TextInput.js +43 -43
  246. package/dist/inputs/TextInput.js.map +1 -1
  247. package/dist/layouts/DashboardLayout.d.ts +1 -3
  248. package/dist/layouts/DashboardLayout.js +1 -1
  249. package/dist/layouts/DefaultLayout.d.ts +1 -3
  250. package/dist/layouts/HeaderLayout.d.ts +1 -3
  251. package/dist/layouts/NavigationGroup.d.ts +1 -3
  252. package/dist/layouts/NavigationGroup.js +1 -1
  253. package/dist/layouts/NavigationItem.d.ts +1 -3
  254. package/dist/layouts/NavigationItem.js +1 -1
  255. package/dist/layouts/ProfileHeaderAvatar.d.ts +1 -3
  256. package/dist/layouts/ProfileHeaderAvatar.js +1 -1
  257. package/dist/layouts/ProjectLogo.d.ts +1 -3
  258. package/dist/layouts/ProjectLogo.js +1 -1
  259. package/dist/layouts/SidebarLayout.d.ts +1 -3
  260. package/dist/layouts/SidebarLayout.js +1 -1
  261. package/dist/{listbox-p2_4hUSD.js → listbox-YaWWZiiG.js} +2 -2
  262. package/dist/{listbox-p2_4hUSD.js.map → listbox-YaWWZiiG.js.map} +1 -1
  263. package/dist/loading/ContentSkeleton.d.ts +1 -3
  264. package/dist/loading/ContentSkeleton.js +32 -32
  265. package/dist/loading/ContentSkeleton.js.map +1 -1
  266. package/dist/loading/SmartLoadingIndicator.d.ts +1 -3
  267. package/dist/loading/SmartLoadingIndicator.js +92 -92
  268. package/dist/loading/SmartLoadingIndicator.js.map +1 -1
  269. package/dist/loading/index.d.ts +1 -0
  270. package/dist/maps/GoogleMap.d.ts +1 -3
  271. package/dist/maps/GoogleMap.js +2 -2
  272. package/dist/maps/GoogleMap.js.map +1 -1
  273. package/dist/maps/UiInfoWindow.d.ts +1 -3
  274. package/dist/maps/UiMap.d.ts +1 -3
  275. package/dist/maps/UiMap.js +18 -15
  276. package/dist/maps/UiMap.js.map +1 -1
  277. package/dist/maps/UiMapAll.d.ts +1 -3
  278. package/dist/maps/UiMapMarker.d.ts +1 -3
  279. package/dist/maps/index.d.ts +1 -0
  280. package/dist/modals/AlertModal.d.ts +1 -3
  281. package/dist/modals/AlertModal.js +1 -1
  282. package/dist/modals/BaseModal.d.ts +1 -3
  283. package/dist/modals/BaseModal.js +1 -1
  284. package/dist/modals/ImageCropperModal.d.ts +1 -3
  285. package/dist/modals/ImageCropperModal.js +182 -185
  286. package/dist/modals/ImageCropperModal.js.map +1 -1
  287. package/dist/notifications/NotificationContainer.d.ts +1 -3
  288. package/dist/notifications/NotificationContainer.js +30 -16
  289. package/dist/notifications/NotificationContainer.js.map +1 -1
  290. package/dist/notifications/NotificationToast.d.ts +1 -3
  291. package/dist/notifications/NotificationToast.js +1 -1
  292. package/dist/notifications/index.d.ts +1 -0
  293. package/dist/notifications/index.js +1 -1
  294. package/dist/src/components/CloudinaryImage.d.ts +7 -8
  295. package/dist/src/components/CloudinaryImage.d.ts.map +1 -1
  296. package/dist/src/components/LottieAnimation.d.ts +6 -37
  297. package/dist/src/components/LottieAnimation.d.ts.map +1 -1
  298. package/dist/src/components/ThemeDebugModal.d.ts +6 -16
  299. package/dist/src/components/ThemeDebugModal.d.ts.map +1 -1
  300. package/dist/src/components/UiAvatar.d.ts +26 -36
  301. package/dist/src/components/UiAvatar.d.ts.map +1 -1
  302. package/dist/src/components/UiBadge.d.ts +6 -33
  303. package/dist/src/components/UiBadge.d.ts.map +1 -1
  304. package/dist/src/components/UiBanner.d.ts +34 -107
  305. package/dist/src/components/UiBanner.d.ts.map +1 -1
  306. package/dist/src/components/UiBreadcrumb.d.ts +10 -11
  307. package/dist/src/components/UiBreadcrumb.d.ts.map +1 -1
  308. package/dist/src/components/UiButton.d.ts +13 -66
  309. package/dist/src/components/UiButton.d.ts.map +1 -1
  310. package/dist/src/components/UiButtonGroup.d.ts +7 -37
  311. package/dist/src/components/UiButtonGroup.d.ts.map +1 -1
  312. package/dist/src/components/UiCheckbox.d.ts +8 -33
  313. package/dist/src/components/UiCheckbox.d.ts.map +1 -1
  314. package/dist/src/components/UiLoading.d.ts +2 -28
  315. package/dist/src/components/UiLoading.d.ts.map +1 -1
  316. package/dist/src/components/UiLoadingDots.d.ts +1 -1
  317. package/dist/src/components/UiLoadingDots.d.ts.map +1 -1
  318. package/dist/src/components/UiMenu.d.ts +4 -32
  319. package/dist/src/components/UiMenu.d.ts.map +1 -1
  320. package/dist/src/components/UiModal.d.ts +3 -2
  321. package/dist/src/components/UiModal.d.ts.map +1 -1
  322. package/dist/src/components/UiNavLink.d.ts +6 -40
  323. package/dist/src/components/UiNavLink.d.ts.map +1 -1
  324. package/dist/src/components/UiProgressBar.d.ts +3 -32
  325. package/dist/src/components/UiProgressBar.d.ts.map +1 -1
  326. package/dist/src/components/UiRadialProgressBar.d.ts +3 -34
  327. package/dist/src/components/UiRadialProgressBar.d.ts.map +1 -1
  328. package/dist/src/components/UiTable.d.ts +25 -67
  329. package/dist/src/components/UiTable.d.ts.map +1 -1
  330. package/dist/src/components/UiTransition.d.ts +3 -26
  331. package/dist/src/components/UiTransition.d.ts.map +1 -1
  332. package/dist/src/components/calendars/CalendarDashboard.d.ts +5 -17
  333. package/dist/src/components/calendars/CalendarDashboard.d.ts.map +1 -1
  334. package/dist/src/components/calendars/CalendarHeader.d.ts +8 -7
  335. package/dist/src/components/calendars/CalendarHeader.d.ts.map +1 -1
  336. package/dist/src/components/calendars/DayCalendar.d.ts +11 -17
  337. package/dist/src/components/calendars/DayCalendar.d.ts.map +1 -1
  338. package/dist/src/components/calendars/EventCard.d.ts +1 -2
  339. package/dist/src/components/calendars/EventCard.d.ts.map +1 -1
  340. package/dist/src/components/calendars/EventsList.d.ts +6 -18
  341. package/dist/src/components/calendars/EventsList.d.ts.map +1 -1
  342. package/dist/src/components/calendars/MonthCalendar.d.ts +6 -30
  343. package/dist/src/components/calendars/MonthCalendar.d.ts.map +1 -1
  344. package/dist/src/components/calendars/WeekCalendar.d.ts +10 -16
  345. package/dist/src/components/calendars/WeekCalendar.d.ts.map +1 -1
  346. package/dist/src/components/calendars/YearCalendar.d.ts +5 -29
  347. package/dist/src/components/calendars/YearCalendar.d.ts.map +1 -1
  348. package/dist/src/components/charts/BarChart.d.ts +6 -39
  349. package/dist/src/components/charts/BarChart.d.ts.map +1 -1
  350. package/dist/src/components/charts/FunnelChart.d.ts +5 -34
  351. package/dist/src/components/charts/FunnelChart.d.ts.map +1 -1
  352. package/dist/src/components/charts/LineChart.d.ts +6 -37
  353. package/dist/src/components/charts/LineChart.d.ts.map +1 -1
  354. package/dist/src/components/charts/PieChart.d.ts +6 -37
  355. package/dist/src/components/charts/PieChart.d.ts.map +1 -1
  356. package/dist/src/components/charts/SparklineChart.d.ts +3 -32
  357. package/dist/src/components/charts/SparklineChart.d.ts.map +1 -1
  358. package/dist/src/components/charts/StatCard.d.ts +2 -24
  359. package/dist/src/components/charts/StatCard.d.ts.map +1 -1
  360. package/dist/src/components/charts/chartTheme.d.ts +0 -1
  361. package/dist/src/components/empty-state/ComingSoon.d.ts +2 -29
  362. package/dist/src/components/empty-state/ComingSoon.d.ts.map +1 -1
  363. package/dist/src/components/empty-state/EmptyState.d.ts +4 -26
  364. package/dist/src/components/empty-state/EmptyState.d.ts.map +1 -1
  365. package/dist/src/components/forms/DynamicForm.d.ts +21 -47
  366. package/dist/src/components/forms/DynamicForm.d.ts.map +1 -1
  367. package/dist/src/components/forms/DynamicFormField.d.ts +8 -18
  368. package/dist/src/components/forms/DynamicFormField.d.ts.map +1 -1
  369. package/dist/src/components/forms/FormFieldWrapper.d.ts +14 -58
  370. package/dist/src/components/forms/FormFieldWrapper.d.ts.map +1 -1
  371. package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts +3 -4
  372. package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts.map +1 -1
  373. package/dist/src/components/inputs/CheckboxInput.d.ts +10 -37
  374. package/dist/src/components/inputs/CheckboxInput.d.ts.map +1 -1
  375. package/dist/src/components/inputs/ComboboxInput.d.ts +13 -48
  376. package/dist/src/components/inputs/ComboboxInput.d.ts.map +1 -1
  377. package/dist/src/components/inputs/DatepickerInput.d.ts +1045 -42
  378. package/dist/src/components/inputs/DatepickerInput.d.ts.map +1 -1
  379. package/dist/src/components/inputs/EmailInput.d.ts +10 -54
  380. package/dist/src/components/inputs/EmailInput.d.ts.map +1 -1
  381. package/dist/src/components/inputs/EmptyInput.d.ts +2 -26
  382. package/dist/src/components/inputs/EmptyInput.d.ts.map +1 -1
  383. package/dist/src/components/inputs/FileDropzoneInput.d.ts +8 -7
  384. package/dist/src/components/inputs/FileDropzoneInput.d.ts.map +1 -1
  385. package/dist/src/components/inputs/HiddenInput.d.ts +2 -23
  386. package/dist/src/components/inputs/HiddenInput.d.ts.map +1 -1
  387. package/dist/src/components/inputs/InputsShowcase.d.ts +1 -1
  388. package/dist/src/components/inputs/InputsShowcase.d.ts.map +1 -1
  389. package/dist/src/components/inputs/PhoneInput.d.ts +79 -16
  390. package/dist/src/components/inputs/PhoneInput.d.ts.map +1 -1
  391. package/dist/src/components/inputs/RichTextInput.d.ts +22 -80
  392. package/dist/src/components/inputs/RichTextInput.d.ts.map +1 -1
  393. package/dist/src/components/inputs/SelectInput.d.ts +49 -42
  394. package/dist/src/components/inputs/SelectInput.d.ts.map +1 -1
  395. package/dist/src/components/inputs/SelectTextInput.d.ts +52 -12
  396. package/dist/src/components/inputs/SelectTextInput.d.ts.map +1 -1
  397. package/dist/src/components/inputs/SwitchInput.d.ts +115 -42
  398. package/dist/src/components/inputs/SwitchInput.d.ts.map +1 -1
  399. package/dist/src/components/inputs/SwitchInputGroup.d.ts +2 -3
  400. package/dist/src/components/inputs/SwitchInputGroup.d.ts.map +1 -1
  401. package/dist/src/components/inputs/TagifyInput.d.ts +30 -20
  402. package/dist/src/components/inputs/TagifyInput.d.ts.map +1 -1
  403. package/dist/src/components/inputs/TextAreaInput.d.ts +9 -35
  404. package/dist/src/components/inputs/TextAreaInput.d.ts.map +1 -1
  405. package/dist/src/components/inputs/TextInput.d.ts +13 -73
  406. package/dist/src/components/inputs/TextInput.d.ts.map +1 -1
  407. package/dist/src/components/layouts/CardLayout.d.ts +20 -66
  408. package/dist/src/components/layouts/CardLayout.d.ts.map +1 -1
  409. package/dist/src/components/layouts/DashboardLayout.d.ts +8 -5
  410. package/dist/src/components/layouts/DashboardLayout.d.ts.map +1 -1
  411. package/dist/src/components/layouts/DefaultLayout.d.ts +1 -1
  412. package/dist/src/components/layouts/DefaultLayout.d.ts.map +1 -1
  413. package/dist/src/components/layouts/HeaderLayout.d.ts +4 -4
  414. package/dist/src/components/layouts/HeaderLayout.d.ts.map +1 -1
  415. package/dist/src/components/layouts/InfoCard.d.ts +2 -25
  416. package/dist/src/components/layouts/InfoCard.d.ts.map +1 -1
  417. package/dist/src/components/layouts/NavigationGroup.d.ts +5 -16
  418. package/dist/src/components/layouts/NavigationGroup.d.ts.map +1 -1
  419. package/dist/src/components/layouts/NavigationItem.d.ts +7 -24
  420. package/dist/src/components/layouts/NavigationItem.d.ts.map +1 -1
  421. package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts +10 -40
  422. package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts.map +1 -1
  423. package/dist/src/components/layouts/ProjectLogo.d.ts +2 -33
  424. package/dist/src/components/layouts/ProjectLogo.d.ts.map +1 -1
  425. package/dist/src/components/layouts/PropsTable.d.ts +2 -23
  426. package/dist/src/components/layouts/PropsTable.d.ts.map +1 -1
  427. package/dist/src/components/layouts/ShowcaseCard.d.ts +2 -29
  428. package/dist/src/components/layouts/ShowcaseCard.d.ts.map +1 -1
  429. package/dist/src/components/layouts/ShowcaseLayout.d.ts +5 -28
  430. package/dist/src/components/layouts/ShowcaseLayout.d.ts.map +1 -1
  431. package/dist/src/components/layouts/SidebarLayout.d.ts +7 -4
  432. package/dist/src/components/layouts/SidebarLayout.d.ts.map +1 -1
  433. package/dist/src/components/layouts/StateDisplay.d.ts +2 -23
  434. package/dist/src/components/layouts/StateDisplay.d.ts.map +1 -1
  435. package/dist/src/components/loading/ContentSkeleton.d.ts +2 -31
  436. package/dist/src/components/loading/ContentSkeleton.d.ts.map +1 -1
  437. package/dist/src/components/loading/SmartLoadingIndicator.d.ts +6 -47
  438. package/dist/src/components/loading/SmartLoadingIndicator.d.ts.map +1 -1
  439. package/dist/src/components/maps/GoogleMap.d.ts +7 -8
  440. package/dist/src/components/maps/GoogleMap.d.ts.map +1 -1
  441. package/dist/src/components/maps/UiInfoWindow.d.ts +229 -14
  442. package/dist/src/components/maps/UiInfoWindow.d.ts.map +1 -1
  443. package/dist/src/components/maps/UiMap.d.ts +5091 -101
  444. package/dist/src/components/maps/UiMap.d.ts.map +1 -1
  445. package/dist/src/components/maps/UiMapAll.d.ts +1130 -20
  446. package/dist/src/components/maps/UiMapAll.d.ts.map +1 -1
  447. package/dist/src/components/maps/UiMapMarker.d.ts +16 -17
  448. package/dist/src/components/maps/UiMapMarker.d.ts.map +1 -1
  449. package/dist/src/components/modals/AlertModal.d.ts +9 -10
  450. package/dist/src/components/modals/AlertModal.d.ts.map +1 -1
  451. package/dist/src/components/modals/BaseModal.d.ts +6 -7
  452. package/dist/src/components/modals/BaseModal.d.ts.map +1 -1
  453. package/dist/src/components/modals/ImageCropperModal.d.ts +379 -75
  454. package/dist/src/components/modals/ImageCropperModal.d.ts.map +1 -1
  455. package/dist/src/components/notifications/NotificationContainer.d.ts.map +1 -1
  456. package/dist/src/components/notifications/NotificationToast.d.ts +9 -18
  457. package/dist/src/components/notifications/NotificationToast.d.ts.map +1 -1
  458. package/dist/src/components/stepper/StepperPanels.d.ts +4 -14
  459. package/dist/src/components/stepper/StepperPanels.d.ts.map +1 -1
  460. package/dist/src/components/tabs/InlineTabs.d.ts +4 -28
  461. package/dist/src/components/tabs/InlineTabs.d.ts.map +1 -1
  462. package/dist/src/components/tabs/TabGroup.d.ts +6 -32
  463. package/dist/src/components/tabs/TabGroup.d.ts.map +1 -1
  464. package/dist/src/components/tabs/TabGroupUnderline.d.ts +6 -32
  465. package/dist/src/components/tabs/TabGroupUnderline.d.ts.map +1 -1
  466. package/dist/src/components/tabs/TabsInPills.d.ts +4 -26
  467. package/dist/src/components/tabs/TabsInPills.d.ts.map +1 -1
  468. package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts +2 -37
  469. package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts.map +1 -1
  470. package/dist/src/components/wrappers/CardWrapper.d.ts +1 -1
  471. package/dist/src/components/wrappers/CardWrapper.d.ts.map +1 -1
  472. package/dist/src/components/wrappers/DisclosureWrapper.d.ts +2 -23
  473. package/dist/src/components/wrappers/DisclosureWrapper.d.ts.map +1 -1
  474. package/dist/src/components/wrappers/FormErrorWrapper.d.ts +2 -25
  475. package/dist/src/components/wrappers/FormErrorWrapper.d.ts.map +1 -1
  476. package/dist/src/composables/useCalendar.d.ts +4 -5
  477. package/dist/src/composables/useFormValidation.d.ts +0 -1
  478. package/dist/src/composables/useMap.d.ts +0 -1
  479. package/dist/src/composables/useNotifications.d.ts +1308 -30
  480. package/dist/src/composables/useNotifications.d.ts.map +1 -1
  481. package/dist/src/composables/useSimpleTabs.d.ts +0 -1
  482. package/dist/src/composables/useStringTransform.d.ts +0 -1
  483. package/dist/src/composables/useTabs.d.ts +0 -1
  484. package/dist/src/config/css-variables.d.ts +0 -1
  485. package/dist/src/config/design-tokens.d.ts +1 -1
  486. package/dist/src/config/design-tokens.d.ts.map +1 -1
  487. package/dist/src/dev.d.ts +0 -1
  488. package/dist/src/plugin/configure.d.ts +0 -1
  489. package/dist/src/types/calendars.d.ts +12 -11
  490. package/dist/src/types/calendars.d.ts.map +1 -1
  491. package/dist/src/types/core.d.ts +3 -4
  492. package/dist/src/types/core.d.ts.map +1 -1
  493. package/dist/src/types/form.d.ts +15 -13
  494. package/dist/src/types/form.d.ts.map +1 -1
  495. package/dist/src/types/forms.d.ts +2 -1
  496. package/dist/src/types/forms.d.ts.map +1 -1
  497. package/dist/src/types/inputs.d.ts +14 -9
  498. package/dist/src/types/inputs.d.ts.map +1 -1
  499. package/dist/src/types/layouts.d.ts +0 -1
  500. package/dist/src/types/navigation.d.ts +2 -1
  501. package/dist/src/types/navigation.d.ts.map +1 -1
  502. package/dist/src/types/tables.d.ts +8 -6
  503. package/dist/src/types/tables.d.ts.map +1 -1
  504. package/dist/src/types/ui.d.ts +1 -2
  505. package/dist/src/types/ui.d.ts.map +1 -1
  506. package/dist/src/utils/calendar.d.ts +1 -1
  507. package/dist/src/utils/calendar.d.ts.map +1 -1
  508. package/dist/src/utils/component-registry.d.ts +0 -1
  509. package/dist/src/utils/mapThemes.d.ts +0 -1
  510. package/dist/src/utils/phone.d.ts +0 -1
  511. package/dist/src/views/ButtonsShowcase.d.ts +3 -0
  512. package/dist/src/views/ButtonsShowcase.d.ts.map +1 -0
  513. package/dist/src/views/CalendarsShowcase.d.ts +3 -0
  514. package/dist/src/views/CalendarsShowcase.d.ts.map +1 -0
  515. package/dist/src/views/CardsShowcase.d.ts +3 -0
  516. package/dist/src/views/CardsShowcase.d.ts.map +1 -0
  517. package/dist/src/views/ChartsShowcase.d.ts +3 -0
  518. package/dist/src/views/ChartsShowcase.d.ts.map +1 -0
  519. package/dist/src/views/EmptyStatesShowcase.d.ts +3 -0
  520. package/dist/src/views/EmptyStatesShowcase.d.ts.map +1 -0
  521. package/dist/src/views/InputsShowcase.d.ts +3 -0
  522. package/dist/src/views/InputsShowcase.d.ts.map +1 -0
  523. package/dist/src/views/KitchenSink.d.ts +3 -0
  524. package/dist/src/views/KitchenSink.d.ts.map +1 -0
  525. package/dist/src/views/LayoutsShowcase.d.ts +3 -0
  526. package/dist/src/views/LayoutsShowcase.d.ts.map +1 -0
  527. package/dist/src/views/LoadingShowcase.d.ts +3 -0
  528. package/dist/src/views/LoadingShowcase.d.ts.map +1 -0
  529. package/dist/src/views/MapsShowcase.d.ts +3 -0
  530. package/dist/src/views/MapsShowcase.d.ts.map +1 -0
  531. package/dist/src/views/ModalsShowcase.d.ts +3 -0
  532. package/dist/src/views/ModalsShowcase.d.ts.map +1 -0
  533. package/dist/src/views/NotificationsShowcase.d.ts +3 -0
  534. package/dist/src/views/NotificationsShowcase.d.ts.map +1 -0
  535. package/dist/src/views/StepperShowcase.d.ts +3 -0
  536. package/dist/src/views/StepperShowcase.d.ts.map +1 -0
  537. package/dist/src/views/TabsShowcase.d.ts +3 -0
  538. package/dist/src/views/TabsShowcase.d.ts.map +1 -0
  539. package/dist/src/views/ValidationDemo.d.ts +3 -0
  540. package/dist/src/views/ValidationDemo.d.ts.map +1 -0
  541. package/dist/src/views/WrappersShowcase.d.ts +3 -0
  542. package/dist/src/views/WrappersShowcase.d.ts.map +1 -0
  543. package/dist/src/views/components/AvatarPage.d.ts +3 -0
  544. package/dist/src/views/components/AvatarPage.d.ts.map +1 -0
  545. package/dist/src/views/components/BadgePage.d.ts +3 -0
  546. package/dist/src/views/components/BadgePage.d.ts.map +1 -0
  547. package/dist/src/views/components/BannerPage.d.ts +3 -0
  548. package/dist/src/views/components/BannerPage.d.ts.map +1 -0
  549. package/dist/src/views/components/BreadcrumbPage.d.ts +3 -0
  550. package/dist/src/views/components/BreadcrumbPage.d.ts.map +1 -0
  551. package/dist/src/views/components/ButtonPage.d.ts +3 -0
  552. package/dist/src/views/components/ButtonPage.d.ts.map +1 -0
  553. package/dist/src/views/components/CloudinaryImagePage.d.ts +3 -0
  554. package/dist/src/views/components/CloudinaryImagePage.d.ts.map +1 -0
  555. package/dist/src/views/components/LoadingPage.d.ts +3 -0
  556. package/dist/src/views/components/LoadingPage.d.ts.map +1 -0
  557. package/dist/src/views/components/MenuPage.d.ts +3 -0
  558. package/dist/src/views/components/MenuPage.d.ts.map +1 -0
  559. package/dist/src/views/components/ModalPage.d.ts +3 -0
  560. package/dist/src/views/components/ModalPage.d.ts.map +1 -0
  561. package/dist/src/views/components/ProgressPage.d.ts +3 -0
  562. package/dist/src/views/components/ProgressPage.d.ts.map +1 -0
  563. package/dist/src/views/components/RichTextInputPage.d.ts +3 -0
  564. package/dist/src/views/components/RichTextInputPage.d.ts.map +1 -0
  565. package/dist/src/views/components/TablePage.d.ts +3 -0
  566. package/dist/src/views/components/TablePage.d.ts.map +1 -0
  567. package/dist/src/views/components/TextInputPage.d.ts +3 -0
  568. package/dist/src/views/components/TextInputPage.d.ts.map +1 -0
  569. package/dist/src/views/components/TransitionPage.d.ts +3 -0
  570. package/dist/src/views/components/TransitionPage.d.ts.map +1 -0
  571. package/dist/src/views/examples/CheckoutFormExample.d.ts +3 -0
  572. package/dist/src/views/examples/CheckoutFormExample.d.ts.map +1 -0
  573. package/dist/src/views/examples/ContactFormExample.d.ts +3 -0
  574. package/dist/src/views/examples/ContactFormExample.d.ts.map +1 -0
  575. package/dist/src/views/examples/RegistrationFormExample.d.ts +3 -0
  576. package/dist/src/views/examples/RegistrationFormExample.d.ts.map +1 -0
  577. package/dist/src/views/examples/SettingsFormExample.d.ts +3 -0
  578. package/dist/src/views/examples/SettingsFormExample.d.ts.map +1 -0
  579. package/dist/src/views/forms/ValidationPage.d.ts +3 -0
  580. package/dist/src/views/forms/ValidationPage.d.ts.map +1 -0
  581. package/dist/src/views/inputs/CheckboxPage.d.ts +3 -0
  582. package/dist/src/views/inputs/CheckboxPage.d.ts.map +1 -0
  583. package/dist/src/views/inputs/ComboboxPage.d.ts +3 -0
  584. package/dist/src/views/inputs/ComboboxPage.d.ts.map +1 -0
  585. package/dist/src/views/inputs/DatepickerPage.d.ts +3 -0
  586. package/dist/src/views/inputs/DatepickerPage.d.ts.map +1 -0
  587. package/dist/src/views/inputs/EmailPage.d.ts +3 -0
  588. package/dist/src/views/inputs/EmailPage.d.ts.map +1 -0
  589. package/dist/src/views/inputs/FileDropzonePage.d.ts +3 -0
  590. package/dist/src/views/inputs/FileDropzonePage.d.ts.map +1 -0
  591. package/dist/src/views/inputs/MiscInputsPage.d.ts +3 -0
  592. package/dist/src/views/inputs/MiscInputsPage.d.ts.map +1 -0
  593. package/dist/src/views/inputs/PhonePage.d.ts +3 -0
  594. package/dist/src/views/inputs/PhonePage.d.ts.map +1 -0
  595. package/dist/src/views/inputs/SelectPage.d.ts +3 -0
  596. package/dist/src/views/inputs/SelectPage.d.ts.map +1 -0
  597. package/dist/src/views/inputs/SelectTextPage.d.ts +3 -0
  598. package/dist/src/views/inputs/SelectTextPage.d.ts.map +1 -0
  599. package/dist/src/views/inputs/SwitchGroupPage.d.ts +3 -0
  600. package/dist/src/views/inputs/SwitchGroupPage.d.ts.map +1 -0
  601. package/dist/src/views/inputs/SwitchPage.d.ts +3 -0
  602. package/dist/src/views/inputs/SwitchPage.d.ts.map +1 -0
  603. package/dist/src/views/inputs/TextAreaPage.d.ts +3 -0
  604. package/dist/src/views/inputs/TextAreaPage.d.ts.map +1 -0
  605. package/dist/src/views/layouts/CardLayoutPage.d.ts +3 -0
  606. package/dist/src/views/layouts/CardLayoutPage.d.ts.map +1 -0
  607. package/dist/src/views/layouts/DashboardLayoutPage.d.ts +3 -0
  608. package/dist/src/views/layouts/DashboardLayoutPage.d.ts.map +1 -0
  609. package/dist/src/views/layouts/HeaderLayoutPage.d.ts +3 -0
  610. package/dist/src/views/layouts/HeaderLayoutPage.d.ts.map +1 -0
  611. package/dist/src/views/layouts/SidebarLayoutPage.d.ts +3 -0
  612. package/dist/src/views/layouts/SidebarLayoutPage.d.ts.map +1 -0
  613. package/dist/stepper/StepperPanels.d.ts +1 -3
  614. package/dist/stepper/StepperPanels.js +1 -1
  615. package/dist/stepper/index.d.ts +1 -0
  616. package/dist/stepper/index.js +1 -1
  617. package/dist/style.css +1 -1
  618. package/dist/tabs/InlineTabs.d.ts +1 -3
  619. package/dist/tabs/InlineTabs.js +1 -1
  620. package/dist/tabs/TabGroup.d.ts +1 -3
  621. package/dist/tabs/TabGroup.js +1 -1
  622. package/dist/tabs/TabGroupUnderline.d.ts +1 -3
  623. package/dist/tabs/TabGroupUnderline.js +1 -1
  624. package/dist/tabs/TabsInPills.d.ts +1 -3
  625. package/dist/tabs/TabsInPills.js +1 -1
  626. package/dist/tabs/index.d.ts +1 -0
  627. package/dist/tabs/index.js +4 -4
  628. package/dist/{tabs-Da32Mbhf.js → tabs-J5phClGv.js} +2 -2
  629. package/dist/{tabs-Da32Mbhf.js.map → tabs-J5phClGv.js.map} +1 -1
  630. package/dist/ui.css +1 -0
  631. package/dist/{use-outside-click-DNDV36Sc.js → use-outside-click-14T0Zn98.js} +3 -3
  632. package/dist/{use-outside-click-DNDV36Sc.js.map → use-outside-click-14T0Zn98.js.map} +1 -1
  633. package/dist/{use-tree-walker-BHCORE7u.js → use-tree-walker-Bo9gIb_K.js} +2 -2
  634. package/dist/{use-tree-walker-BHCORE7u.js.map → use-tree-walker-Bo9gIb_K.js.map} +1 -1
  635. package/dist/vue-router-B3K2xmg_.js +120 -0
  636. package/dist/vue-router-B3K2xmg_.js.map +1 -0
  637. package/dist/vue3-lottie.es-DT4qZE-F.js +7981 -0
  638. package/dist/{vue3-lottie.es-C_MDkNwR.js.map → vue3-lottie.es-DT4qZE-F.js.map} +1 -1
  639. package/dist/wrappers/BackgroundGradientWrapper.d.ts +1 -3
  640. package/dist/wrappers/BackgroundGradientWrapper.js +1 -1
  641. package/dist/wrappers/CardWrapper.d.ts +1 -3
  642. package/dist/wrappers/DisclosureWrapper.d.ts +1 -3
  643. package/dist/wrappers/DisclosureWrapper.js +1 -1
  644. package/dist/wrappers/FormErrorWrapper.d.ts +1 -3
  645. package/dist/wrappers/index.d.ts +1 -0
  646. package/dist/wrappers/index.js +2 -2
  647. package/package.json +24 -16
  648. package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-DRwe4rw8.js.map +0 -1
  649. package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-B8wJVkPP.js +0 -187
  650. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-ClGP5YU0.js +0 -1315
  651. package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-ClGP5YU0.js.map +0 -1
  652. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-DRDP86Yc.js +0 -253
  653. package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-DRDP86Yc.js.map +0 -1
  654. package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-Ct8b80dM.js.map +0 -1
  655. package/dist/EmailInput.vue_vue_type_script_setup_true_lang-Dhfgs2Jn.js +0 -122
  656. package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-CwOOShcM.js +0 -36
  657. package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-2tAB9Hbx.js +0 -30
  658. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-Cm5RsC7C.js +0 -162
  659. package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-Cm5RsC7C.js.map +0 -1
  660. package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-Cri9BiBy.js +0 -130
  661. package/dist/SelectInput.vue_vue_type_script_setup_true_lang--yUL7bcx.js.map +0 -1
  662. package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-CAK6ZIiz.js.map +0 -1
  663. package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-Ci7VLRZx.js.map +0 -1
  664. package/dist/UiTable.vue_vue_type_script_setup_true_lang-BuOCaPzi.js.map +0 -1
  665. package/dist/calendar-DyIP7WGv.js.map +0 -1
  666. package/dist/src/components/charts/BaseChart.d.ts +0 -81
  667. package/dist/src/components/charts/BaseChart.d.ts.map +0 -1
  668. package/dist/vue-router-BPbyZ7xA.js +0 -145
  669. package/dist/vue-router-BPbyZ7xA.js.map +0 -1
  670. package/dist/vue3-lottie.es-C_MDkNwR.js +0 -7976
@@ -1,4 +1,4 @@
1
- import { defineComponent as Gn, shallowRef as jd, onMounted as Io, onBeforeUnmount as Pr, h as H, ref as rs, getCurrentInstance as Wd, watchEffect as Ud, nextTick as Kd, unref as Dn, markRaw as qd, customRef as _d, computed as nn, watch as Cl, createBlock as Jd, openBlock as We, withCtx as Gd, createElementVNode as Q, normalizeClass as ae, createVNode as ce, createElementBlock as et, createCommentVNode as yt, Fragment as Ml, withDirectives as Yd, withKeys as Xd, withModifiers as Qd, vModelText as Zd, toDisplayString as Tl } from "vue";
1
+ import { defineComponent as Gn, shallowRef as jd, onMounted as Io, onBeforeUnmount as Pr, h as z, ref as rs, getCurrentInstance as Wd, watchEffect as Ud, nextTick as Kd, unref as Dn, markRaw as qd, customRef as Jd, computed as nn, watch as Cl, createBlock as _d, openBlock as We, withCtx as Gd, createElementVNode as Q, normalizeClass as ae, createVNode as ce, createElementBlock as et, createCommentVNode as yt, Fragment as Ml, withDirectives as Yd, withKeys as Xd, withModifiers as Qd, vModelText as Zd, toDisplayString as Tl } from "vue";
2
2
  import { useField as ef } from "vee-validate";
3
3
  import tf from "../forms/FormFieldWrapper.js";
4
4
  import { g as nf } from "../id-DafBB_QF.js";
@@ -433,7 +433,7 @@ function pi(n, e) {
433
433
  }
434
434
  return !0;
435
435
  }
436
- let J = class Zs {
436
+ let _ = class Zs {
437
437
  /**
438
438
  @internal
439
439
  */
@@ -538,10 +538,10 @@ let J = class Zs {
538
538
  return t.sort((r, i) => r.type.rank - i.type.rank), t;
539
539
  }
540
540
  };
541
- J.none = [];
541
+ _.none = [];
542
542
  class mi extends Error {
543
543
  }
544
- class O {
544
+ class E {
545
545
  /**
546
546
  Create a slice. When specifying a non-zero open depth, you must
547
547
  make sure that there are nodes of at least that depth at the
@@ -568,13 +568,13 @@ class O {
568
568
  */
569
569
  insertAt(e, t) {
570
570
  let r = gc(this.content, e + this.openStart, t);
571
- return r && new O(r, this.openStart, this.openEnd);
571
+ return r && new E(r, this.openStart, this.openEnd);
572
572
  }
573
573
  /**
574
574
  @internal
575
575
  */
576
576
  removeBetween(e, t) {
577
- return new O(mc(this.content, e + this.openStart, t + this.openStart), this.openStart, this.openEnd);
577
+ return new E(mc(this.content, e + this.openStart, t + this.openStart), this.openStart, this.openEnd);
578
578
  }
579
579
  /**
580
580
  Tests whether this slice is equal to another slice.
@@ -602,11 +602,11 @@ class O {
602
602
  */
603
603
  static fromJSON(e, t) {
604
604
  if (!t)
605
- return O.empty;
605
+ return E.empty;
606
606
  let r = t.openStart || 0, i = t.openEnd || 0;
607
607
  if (typeof r != "number" || typeof i != "number")
608
608
  throw new RangeError("Invalid input for Slice.fromJSON");
609
- return new O(x.fromJSON(e, t.content), r, i);
609
+ return new E(x.fromJSON(e, t.content), r, i);
610
610
  }
611
611
  /**
612
612
  Create a slice from a fragment by taking the maximum possible
@@ -618,10 +618,10 @@ class O {
618
618
  r++;
619
619
  for (let s = e.lastChild; s && !s.isLeaf && (t || !s.type.spec.isolating); s = s.lastChild)
620
620
  i++;
621
- return new O(e, r, i);
621
+ return new E(e, r, i);
622
622
  }
623
623
  }
624
- O.empty = new O(x.empty, 0, 0);
624
+ E.empty = new E(x.empty, 0, 0);
625
625
  function mc(n, e, t) {
626
626
  let { index: r, offset: i } = n.findIndex(e), s = n.maybeChild(r), { index: o, offset: l } = n.findIndex(t);
627
627
  if (i == e || s.isText) {
@@ -836,7 +836,7 @@ class kr {
836
836
  marks() {
837
837
  let e = this.parent, t = this.index();
838
838
  if (e.content.size == 0)
839
- return J.none;
839
+ return _.none;
840
840
  if (this.textOffset)
841
841
  return e.child(t).marks;
842
842
  let r = e.maybeChild(t - 1), i = e.maybeChild(t);
@@ -1003,7 +1003,7 @@ let jt = class to {
1003
1003
  /**
1004
1004
  @internal
1005
1005
  */
1006
- constructor(e, t, r, i = J.none) {
1006
+ constructor(e, t, r, i = _.none) {
1007
1007
  this.type = e, this.attrs = t, this.marks = i, this.content = r || x.empty;
1008
1008
  }
1009
1009
  /**
@@ -1117,7 +1117,7 @@ let jt = class to {
1117
1117
  attributes, and marks.
1118
1118
  */
1119
1119
  hasMarkup(e, t, r) {
1120
- return this.type == e && pi(this.attrs, t || e.defaultAttrs || cf) && J.sameSet(this.marks, r || J.none);
1120
+ return this.type == e && pi(this.attrs, t || e.defaultAttrs || cf) && _.sameSet(this.marks, r || _.none);
1121
1121
  }
1122
1122
  /**
1123
1123
  Create a new node with the same markup as this node, containing
@@ -1147,9 +1147,9 @@ let jt = class to {
1147
1147
  */
1148
1148
  slice(e, t = this.content.size, r = !1) {
1149
1149
  if (e == t)
1150
- return O.empty;
1150
+ return E.empty;
1151
1151
  let i = this.resolve(e), s = this.resolve(t), o = r ? 0 : i.sharedDepth(t), l = i.start(o), c = i.node(o).content.cut(i.pos - l, s.pos - l);
1152
- return new O(c, i.depth - o, s.depth - o);
1152
+ return new E(c, i.depth - o, s.depth - o);
1153
1153
  }
1154
1154
  /**
1155
1155
  Replace the part of the document between the given positions with
@@ -1327,12 +1327,12 @@ let jt = class to {
1327
1327
  */
1328
1328
  check() {
1329
1329
  this.type.checkContent(this.content), this.type.checkAttrs(this.attrs);
1330
- let e = J.none;
1330
+ let e = _.none;
1331
1331
  for (let t = 0; t < this.marks.length; t++) {
1332
1332
  let r = this.marks[t];
1333
1333
  r.type.checkAttrs(r.attrs), e = r.addToSet(e);
1334
1334
  }
1335
- if (!J.sameSet(e, this.marks))
1335
+ if (!_.sameSet(e, this.marks))
1336
1336
  throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map((t) => t.type.name)}`);
1337
1337
  this.content.forEach((t) => t.check());
1338
1338
  }
@@ -1875,7 +1875,7 @@ let Nl = class Ec {
1875
1875
  create(e = null, t, r) {
1876
1876
  if (this.isText)
1877
1877
  throw new Error("NodeType.create can't construct text nodes");
1878
- return new jt(this, this.computeAttrs(e), x.from(t), J.setFrom(r));
1878
+ return new jt(this, this.computeAttrs(e), x.from(t), _.setFrom(r));
1879
1879
  }
1880
1880
  /**
1881
1881
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -1883,7 +1883,7 @@ let Nl = class Ec {
1883
1883
  if it doesn't match.
1884
1884
  */
1885
1885
  createChecked(e = null, t, r) {
1886
- return t = x.from(t), this.checkContent(t), new jt(this, this.computeAttrs(e), t, J.setFrom(r));
1886
+ return t = x.from(t), this.checkContent(t), new jt(this, this.computeAttrs(e), t, _.setFrom(r));
1887
1887
  }
1888
1888
  /**
1889
1889
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -1901,7 +1901,7 @@ let Nl = class Ec {
1901
1901
  t = o.append(t);
1902
1902
  }
1903
1903
  let i = this.contentMatch.matchFragment(t), s = i && i.fillBefore(x.empty, !0);
1904
- return s ? new jt(this, e, t.append(s), J.setFrom(r)) : null;
1904
+ return s ? new jt(this, e, t.append(s), _.setFrom(r)) : null;
1905
1905
  }
1906
1906
  /**
1907
1907
  Returns true if the given fragment is valid content for this node
@@ -1957,7 +1957,7 @@ let Nl = class Ec {
1957
1957
  let t;
1958
1958
  for (let r = 0; r < e.length; r++)
1959
1959
  this.allowsMarkType(e[r].type) ? t && t.push(e[r]) : t || (t = e.slice(0, r));
1960
- return t ? t.length ? t : J.none : e;
1960
+ return t ? t.length ? t : _.none : e;
1961
1961
  }
1962
1962
  /**
1963
1963
  @internal
@@ -1998,7 +1998,7 @@ class is {
1998
1998
  constructor(e, t, r, i) {
1999
1999
  this.name = e, this.rank = t, this.schema = r, this.spec = i, this.attrs = Tc(e, i.attrs), this.excluded = null;
2000
2000
  let s = Sc(this.attrs);
2001
- this.instance = s ? new J(this, s) : null;
2001
+ this.instance = s ? new _(this, s) : null;
2002
2002
  }
2003
2003
  /**
2004
2004
  Create a mark of this type. `attrs` may be `null` or an object
@@ -2006,7 +2006,7 @@ class is {
2006
2006
  they have defaults, will be added.
2007
2007
  */
2008
2008
  create(e = null) {
2009
- return !e && this.instance ? this.instance : new J(this, Cc(this.attrs, e));
2009
+ return !e && this.instance ? this.instance : new _(this, Cc(this.attrs, e));
2010
2010
  }
2011
2011
  /**
2012
2012
  @internal
@@ -2074,7 +2074,7 @@ class Oc {
2074
2074
  let s = this.marks[i], o = s.spec.excludes;
2075
2075
  s.excluded = o == null ? [s] : o == "" ? [] : Dl(this, o.split(" "));
2076
2076
  }
2077
- this.nodeFromJSON = (i) => jt.fromJSON(this, i), this.markFromJSON = (i) => J.fromJSON(this, i), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
2077
+ this.nodeFromJSON = (i) => jt.fromJSON(this, i), this.markFromJSON = (i) => _.fromJSON(this, i), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
2078
2078
  }
2079
2079
  /**
2080
2080
  Create a node in this schema. The `type` may be a string or a
@@ -2097,7 +2097,7 @@ class Oc {
2097
2097
  */
2098
2098
  text(e, t) {
2099
2099
  let r = this.nodes.text;
2100
- return new bi(r, r.defaultAttrs, e, J.setFrom(t));
2100
+ return new bi(r, r.defaultAttrs, e, _.setFrom(t));
2101
2101
  }
2102
2102
  /**
2103
2103
  Create a mark with the given type and attributes.
@@ -2164,7 +2164,7 @@ class Wt {
2164
2164
  */
2165
2165
  parse(e, t = {}) {
2166
2166
  let r = new Il(this, t, !1);
2167
- return r.addAll(e, J.none, t.from, t.to), r.finish();
2167
+ return r.addAll(e, _.none, t.from, t.to), r.finish();
2168
2168
  }
2169
2169
  /**
2170
2170
  Parses the content of the given DOM node, like
@@ -2176,7 +2176,7 @@ class Wt {
2176
2176
  */
2177
2177
  parseSlice(e, t = {}) {
2178
2178
  let r = new Il(this, t, !0);
2179
- return r.addAll(e, J.none, t.from, t.to), O.maxOpen(r.finish());
2179
+ return r.addAll(e, _.none, t.from, t.to), E.maxOpen(r.finish());
2180
2180
  }
2181
2181
  /**
2182
2182
  @internal
@@ -2298,7 +2298,7 @@ function Rl(n, e, t) {
2298
2298
  }
2299
2299
  class Yr {
2300
2300
  constructor(e, t, r, i, s, o) {
2301
- this.type = e, this.attrs = t, this.marks = r, this.solid = i, this.options = o, this.content = [], this.activeMarks = J.none, this.match = s || (o & ar ? null : e.contentMatch);
2301
+ this.type = e, this.attrs = t, this.marks = r, this.solid = i, this.options = o, this.content = [], this.activeMarks = _.none, this.match = s || (o & ar ? null : e.contentMatch);
2302
2302
  }
2303
2303
  findWrapping(e) {
2304
2304
  if (!this.match) {
@@ -2333,7 +2333,7 @@ class Il {
2333
2333
  constructor(e, t, r) {
2334
2334
  this.parser = e, this.options = t, this.isOpen = r, this.open = 0, this.localPreserveWS = !1;
2335
2335
  let i = t.topNode, s, o = Rl(null, t.preserveWhitespace, 0) | (r ? ar : 0);
2336
- i ? s = new Yr(i.type, i.attrs, J.none, !0, t.topMatch || i.type.contentMatch, o) : r ? s = new Yr(null, null, J.none, !0, null, o) : s = new Yr(e.schema.topNodeType, null, J.none, !0, null, o), this.nodes = [s], this.find = t.findPositions, this.needsBlock = !1;
2336
+ i ? s = new Yr(i.type, i.attrs, _.none, !0, t.topMatch || i.type.contentMatch, o) : r ? s = new Yr(null, null, _.none, !0, null, o) : s = new Yr(e.schema.topNodeType, null, _.none, !0, null, o), this.nodes = [s], this.find = t.findPositions, this.needsBlock = !1;
2337
2337
  }
2338
2338
  get top() {
2339
2339
  return this.nodes[this.open];
@@ -2496,7 +2496,7 @@ class Il {
2496
2496
  this.closeExtra();
2497
2497
  let s = this.top;
2498
2498
  s.match && (s.match = s.match.matchType(e.type));
2499
- let o = J.none;
2499
+ let o = _.none;
2500
2500
  for (let l of i.concat(e.marks))
2501
2501
  (s.type ? s.type.allowsMarkType(l.type) : Pl(l.type, e.type)) && (o = l.addToSet(o));
2502
2502
  return s.content.push(e.mark(o)), !0;
@@ -2516,7 +2516,7 @@ class Il {
2516
2516
  o.match = o.match && o.match.matchType(e);
2517
2517
  let l = Rl(e, s, o.options);
2518
2518
  o.options & ar && o.content.length == 0 && (l |= ar);
2519
- let a = J.none;
2519
+ let a = _.none;
2520
2520
  return r = r.filter((c) => (o.type ? o.type.allowsMarkType(c.type) : Pl(c.type, e)) ? (a = c.addToSet(a), !1) : !0), this.nodes.push(new Yr(e, t, a, i, null, l)), this.open++, r;
2521
2521
  }
2522
2522
  // Make sure all nodes above this.open are finished and added to
@@ -3163,7 +3163,7 @@ class Ft extends xe {
3163
3163
  super(), this.from = e, this.to = t, this.mark = r;
3164
3164
  }
3165
3165
  apply(e) {
3166
- let t = e.slice(this.from, this.to), r = e.resolve(this.from), i = r.node(r.sharedDepth(this.to)), s = new O(Lo(t.content, (o, l) => !o.isAtom || !l.type.allowsMarkType(this.mark.type) ? o : o.mark(this.mark.addToSet(o.marks)), i), t.openStart, t.openEnd);
3166
+ let t = e.slice(this.from, this.to), r = e.resolve(this.from), i = r.node(r.sharedDepth(this.to)), s = new E(Lo(t.content, (o, l) => !o.isAtom || !l.type.allowsMarkType(this.mark.type) ? o : o.mark(this.mark.addToSet(o.marks)), i), t.openStart, t.openEnd);
3167
3167
  return ie.fromReplace(e, this.from, this.to, s);
3168
3168
  }
3169
3169
  invert() {
@@ -3202,7 +3202,7 @@ class at extends xe {
3202
3202
  super(), this.from = e, this.to = t, this.mark = r;
3203
3203
  }
3204
3204
  apply(e) {
3205
- let t = e.slice(this.from, this.to), r = new O(Lo(t.content, (i) => i.mark(this.mark.removeFromSet(i.marks)), e), t.openStart, t.openEnd);
3205
+ let t = e.slice(this.from, this.to), r = new E(Lo(t.content, (i) => i.mark(this.mark.removeFromSet(i.marks)), e), t.openStart, t.openEnd);
3206
3206
  return ie.fromReplace(e, this.from, this.to, r);
3207
3207
  }
3208
3208
  invert() {
@@ -3245,7 +3245,7 @@ class Vt extends xe {
3245
3245
  if (!t)
3246
3246
  return ie.fail("No node at mark step's position");
3247
3247
  let r = t.type.create(t.attrs, null, this.mark.addToSet(t.marks));
3248
- return ie.fromReplace(e, this.pos, this.pos + 1, new O(x.from(r), 0, t.isLeaf ? 0 : 1));
3248
+ return ie.fromReplace(e, this.pos, this.pos + 1, new E(x.from(r), 0, t.isLeaf ? 0 : 1));
3249
3249
  }
3250
3250
  invert(e) {
3251
3251
  let t = e.nodeAt(this.pos);
@@ -3289,7 +3289,7 @@ class bn extends xe {
3289
3289
  if (!t)
3290
3290
  return ie.fail("No node at mark step's position");
3291
3291
  let r = t.type.create(t.attrs, null, this.mark.removeFromSet(t.marks));
3292
- return ie.fromReplace(e, this.pos, this.pos + 1, new O(x.from(r), 0, t.isLeaf ? 0 : 1));
3292
+ return ie.fromReplace(e, this.pos, this.pos + 1, new E(x.from(r), 0, t.isLeaf ? 0 : 1));
3293
3293
  }
3294
3294
  invert(e) {
3295
3295
  let t = e.nodeAt(this.pos);
@@ -3342,10 +3342,10 @@ class ue extends xe {
3342
3342
  if (!(e instanceof ue) || e.structure || this.structure)
3343
3343
  return null;
3344
3344
  if (this.from + this.slice.size == e.from && !this.slice.openEnd && !e.slice.openStart) {
3345
- let t = this.slice.size + e.slice.size == 0 ? O.empty : new O(this.slice.content.append(e.slice.content), this.slice.openStart, e.slice.openEnd);
3345
+ let t = this.slice.size + e.slice.size == 0 ? E.empty : new E(this.slice.content.append(e.slice.content), this.slice.openStart, e.slice.openEnd);
3346
3346
  return new ue(this.from, this.to + (e.to - e.from), t, this.structure);
3347
3347
  } else if (e.to == this.from && !this.slice.openStart && !e.slice.openEnd) {
3348
- let t = this.slice.size + e.slice.size == 0 ? O.empty : new O(e.slice.content.append(this.slice.content), e.slice.openStart, this.slice.openEnd);
3348
+ let t = this.slice.size + e.slice.size == 0 ? E.empty : new E(e.slice.content.append(this.slice.content), e.slice.openStart, this.slice.openEnd);
3349
3349
  return new ue(e.from, this.to, t, this.structure);
3350
3350
  } else
3351
3351
  return null;
@@ -3360,7 +3360,7 @@ class ue extends xe {
3360
3360
  static fromJSON(e, t) {
3361
3361
  if (typeof t.from != "number" || typeof t.to != "number")
3362
3362
  throw new RangeError("Invalid input for ReplaceStep.fromJSON");
3363
- return new ue(t.from, t.to, O.fromJSON(e, t.slice), !!t.structure);
3363
+ return new ue(t.from, t.to, E.fromJSON(e, t.slice), !!t.structure);
3364
3364
  }
3365
3365
  }
3366
3366
  xe.jsonID("replace", ue);
@@ -3418,7 +3418,7 @@ class fe extends xe {
3418
3418
  static fromJSON(e, t) {
3419
3419
  if (typeof t.from != "number" || typeof t.to != "number" || typeof t.gapFrom != "number" || typeof t.gapTo != "number" || typeof t.insert != "number")
3420
3420
  throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");
3421
- return new fe(t.from, t.to, t.gapFrom, t.gapTo, O.fromJSON(e, t.slice), t.insert, !!t.structure);
3421
+ return new fe(t.from, t.to, t.gapFrom, t.gapTo, E.fromJSON(e, t.slice), t.insert, !!t.structure);
3422
3422
  }
3423
3423
  }
3424
3424
  xe.jsonID("replaceAround", fe);
@@ -3480,7 +3480,7 @@ function Po(n, e, t, r = t.contentMatch, i = !0) {
3480
3480
  for (let a = 0; a < s.childCount; a++) {
3481
3481
  let c = s.child(a), u = l + c.nodeSize, d = r.matchType(c.type);
3482
3482
  if (!d)
3483
- o.push(new ue(l, u, O.empty));
3483
+ o.push(new ue(l, u, E.empty));
3484
3484
  else {
3485
3485
  r = d;
3486
3486
  for (let f = 0; f < c.marks.length; f++)
@@ -3488,14 +3488,14 @@ function Po(n, e, t, r = t.contentMatch, i = !0) {
3488
3488
  if (i && c.isText && t.whitespace != "pre") {
3489
3489
  let f, h = /\r?\n|\r/g, p;
3490
3490
  for (; f = h.exec(c.text); )
3491
- p || (p = new O(x.from(t.schema.text(" ", t.allowedMarks(c.marks))), 0, 0)), o.push(new ue(l + f.index, l + f.index + f[0].length, p));
3491
+ p || (p = new E(x.from(t.schema.text(" ", t.allowedMarks(c.marks))), 0, 0)), o.push(new ue(l + f.index, l + f.index + f[0].length, p));
3492
3492
  }
3493
3493
  }
3494
3494
  l = u;
3495
3495
  }
3496
3496
  if (!r.validEnd) {
3497
3497
  let a = r.fillBefore(x.empty, !0);
3498
- n.replace(l, l, new O(a, 0, 0));
3498
+ n.replace(l, l, new E(a, 0, 0));
3499
3499
  }
3500
3500
  for (let a = o.length - 1; a >= 0; a--)
3501
3501
  n.step(o[a]);
@@ -3522,7 +3522,7 @@ function If(n, e, t) {
3522
3522
  let f = x.empty, h = 0;
3523
3523
  for (let p = s, m = !1; p > t; p--)
3524
3524
  m || i.after(p + 1) < i.end(p) ? (m = !0, f = x.from(i.node(p).copy(f)), h++) : c++;
3525
- n.step(new fe(a, c, o, l, new O(u.append(f), d, h), u.size - d, !0));
3525
+ n.step(new fe(a, c, o, l, new E(u.append(f), d, h), u.size - d, !0));
3526
3526
  }
3527
3527
  function Bo(n, e, t = null, r = n) {
3528
3528
  let i = Lf(n, e), s = i && Pf(r, e);
@@ -3558,7 +3558,7 @@ function Bf(n, e, t) {
3558
3558
  r = x.from(t[o].type.create(t[o].attrs, r));
3559
3559
  }
3560
3560
  let i = e.start, s = e.end;
3561
- n.step(new fe(i, s, i, s, new O(r, 0, 0), t.length, !0));
3561
+ n.step(new fe(i, s, i, s, new E(r, 0, 0), t.length, !0));
3562
3562
  }
3563
3563
  function zf(n, e, t, r, i) {
3564
3564
  if (!r.isTextblock)
@@ -3574,7 +3574,7 @@ function zf(n, e, t, r, i) {
3574
3574
  }
3575
3575
  c === !1 && zc(n, o, l, s), Po(n, n.mapping.slice(s).map(l, 1), r, void 0, c === null);
3576
3576
  let u = n.mapping.slice(s), d = u.map(l, 1), f = u.map(l + o.nodeSize, 1);
3577
- return n.step(new fe(d, f, d + 1, f - 1, new O(x.from(r.create(a, null, o.marks)), 0, 0), 1, !0)), c === !0 && Bc(n, o, l, s), !1;
3577
+ return n.step(new fe(d, f, d + 1, f - 1, new E(x.from(r.create(a, null, o.marks)), 0, 0), 1, !0)), c === !0 && Bc(n, o, l, s), !1;
3578
3578
  }
3579
3579
  });
3580
3580
  }
@@ -3612,7 +3612,7 @@ function Ff(n, e, t, r, i) {
3612
3612
  return n.replaceWith(e, e + s.nodeSize, o);
3613
3613
  if (!t.validContent(s.content))
3614
3614
  throw new RangeError("Invalid content for node type " + t.name);
3615
- n.step(new fe(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new O(x.from(o), 0, 0), 1, !0));
3615
+ n.step(new fe(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new E(x.from(o), 0, 0), 1, !0));
3616
3616
  }
3617
3617
  function Tt(n, e, t = 1, r) {
3618
3618
  let i = n.resolve(e), s = i.depth - t, o = r && r[r.length - 1] || i.parent;
@@ -3638,7 +3638,7 @@ function Vf(n, e, t = 1, r) {
3638
3638
  let u = r && r[c];
3639
3639
  o = x.from(u ? u.type.create(u.attrs, o) : i.node(l).copy(o));
3640
3640
  }
3641
- n.step(new ue(e, e, new O(s.append(o), t, t), !0));
3641
+ n.step(new ue(e, e, new E(s.append(o), t, t), !0));
3642
3642
  }
3643
3643
  function Gt(n, e) {
3644
3644
  let t = n.resolve(e), r = t.index();
@@ -3681,7 +3681,7 @@ function jf(n, e, t) {
3681
3681
  }
3682
3682
  o.inlineContent && Po(n, e + t - 1, o, s.node().contentMatchAt(s.index()), r == null);
3683
3683
  let a = n.mapping.slice(l), c = a.map(e - t);
3684
- if (n.step(new ue(c, a.map(e + t, -1), O.empty, !0)), r === !0) {
3684
+ if (n.step(new ue(c, a.map(e + t, -1), E.empty, !0)), r === !0) {
3685
3685
  let u = n.doc.resolve(c);
3686
3686
  Bc(n, u.node(), u.before(), n.steps.length);
3687
3687
  }
@@ -3730,7 +3730,7 @@ function Fc(n, e, t) {
3730
3730
  }
3731
3731
  return null;
3732
3732
  }
3733
- function ls(n, e, t = e, r = O.empty) {
3733
+ function ls(n, e, t = e, r = E.empty) {
3734
3734
  if (e == t && !r.size)
3735
3735
  return null;
3736
3736
  let i = n.resolve(e), s = n.resolve(t);
@@ -3766,7 +3766,7 @@ class Uf {
3766
3766
  let s = this.placed, o = r.depth, l = i.depth;
3767
3767
  for (; o && l && s.childCount == 1; )
3768
3768
  s = s.firstChild.content, o--, l--;
3769
- let a = new O(s, o, l);
3769
+ let a = new E(s, o, l);
3770
3770
  return e > -1 ? new fe(r.pos, e, this.$to.pos, this.$to.end(), a, t) : a.size || r.pos != this.$to.pos ? new ue(r.pos, i.pos, a) : null;
3771
3771
  }
3772
3772
  // Find a position on the start spine of `this.unplaced` that has
@@ -3800,15 +3800,15 @@ class Uf {
3800
3800
  }
3801
3801
  openMore() {
3802
3802
  let { content: e, openStart: t, openEnd: r } = this.unplaced, i = Ts(e, t);
3803
- return !i.childCount || i.firstChild.isLeaf ? !1 : (this.unplaced = new O(e, t + 1, Math.max(r, i.size + t >= e.size - r ? t + 1 : 0)), !0);
3803
+ return !i.childCount || i.firstChild.isLeaf ? !1 : (this.unplaced = new E(e, t + 1, Math.max(r, i.size + t >= e.size - r ? t + 1 : 0)), !0);
3804
3804
  }
3805
3805
  dropNode() {
3806
3806
  let { content: e, openStart: t, openEnd: r } = this.unplaced, i = Ts(e, t);
3807
3807
  if (i.childCount <= 1 && t > 0) {
3808
3808
  let s = e.size - t <= t + i.size;
3809
- this.unplaced = new O(rr(e, t - 1, 1), t - 1, s ? t - 1 : r);
3809
+ this.unplaced = new E(rr(e, t - 1, 1), t - 1, s ? t - 1 : r);
3810
3810
  } else
3811
- this.unplaced = new O(rr(e, t, 1), t, r);
3811
+ this.unplaced = new E(rr(e, t, 1), t, r);
3812
3812
  }
3813
3813
  // Move content from the unplaced slice at `sliceDepth` to the
3814
3814
  // frontier node at `frontierDepth`. Close that frontier node when
@@ -3838,7 +3838,7 @@ class Uf {
3838
3838
  let b = g.lastChild;
3839
3839
  this.frontier.push({ type: b.type, match: b.contentMatchAt(b.childCount) }), g = b.content;
3840
3840
  }
3841
- this.unplaced = p ? e == 0 ? O.empty : new O(rr(o.content, e - 1, 1), e - 1, h < 0 ? o.openEnd : e - 1) : new O(rr(o.content, e, c), o.openStart, o.openEnd);
3841
+ this.unplaced = p ? e == 0 ? E.empty : new E(rr(o.content, e - 1, 1), e - 1, h < 0 ? o.openEnd : e - 1) : new E(rr(o.content, e, c), o.openStart, o.openEnd);
3842
3842
  }
3843
3843
  mustMoveInline() {
3844
3844
  if (!this.$to.parent.isTextblock)
@@ -3919,7 +3919,7 @@ function Kf(n, e, t) {
3919
3919
  function qf(n) {
3920
3920
  return n.spec.defining || n.spec.definingForContent;
3921
3921
  }
3922
- function _f(n, e, t, r) {
3922
+ function Jf(n, e, t, r) {
3923
3923
  if (!r.size)
3924
3924
  return n.deleteRange(e, t);
3925
3925
  let i = n.doc.resolve(e), s = n.doc.resolve(t);
@@ -3957,7 +3957,7 @@ function _f(n, e, t, r) {
3957
3957
  g < 0 && (b = !1, g = -g);
3958
3958
  let w = i.node(g - 1), T = i.index(g - 1);
3959
3959
  if (w.canReplaceWith(T, T, p.type, p.marks))
3960
- return n.replace(i.before(g), b ? s.after(g) : t, new O(jc(r.content, 0, r.openStart, h), h, r.openEnd));
3960
+ return n.replace(i.before(g), b ? s.after(g) : t, new E(jc(r.content, 0, r.openStart, h), h, r.openEnd));
3961
3961
  }
3962
3962
  }
3963
3963
  let d = n.steps.length;
@@ -3977,12 +3977,12 @@ function jc(n, e, t, r, i) {
3977
3977
  }
3978
3978
  return n;
3979
3979
  }
3980
- function Jf(n, e, t, r) {
3980
+ function _f(n, e, t, r) {
3981
3981
  if (!r.isInline && e == t && n.doc.resolve(e).parent.content.size) {
3982
3982
  let i = Wf(n.doc, e, r.type);
3983
3983
  i != null && (e = t = i);
3984
3984
  }
3985
- n.replaceRange(e, t, new O(x.from(r), 0, 0));
3985
+ n.replaceRange(e, t, new E(x.from(r), 0, 0));
3986
3986
  }
3987
3987
  function Gf(n, e, t) {
3988
3988
  let r = n.doc.resolve(e), i = n.doc.resolve(t), s = Wc(r, i);
@@ -4024,7 +4024,7 @@ class Hn extends xe {
4024
4024
  r[s] = t.attrs[s];
4025
4025
  r[this.attr] = this.value;
4026
4026
  let i = t.type.create(r, null, t.marks);
4027
- return ie.fromReplace(e, this.pos, this.pos + 1, new O(x.from(i), 0, t.isLeaf ? 0 : 1));
4027
+ return ie.fromReplace(e, this.pos, this.pos + 1, new E(x.from(i), 0, t.isLeaf ? 0 : 1));
4028
4028
  }
4029
4029
  getMap() {
4030
4030
  return Re.empty;
@@ -4137,7 +4137,7 @@ class Uc {
4137
4137
  Replace the part of the document between `from` and `to` with the
4138
4138
  given `slice`.
4139
4139
  */
4140
- replace(e, t = e, r = O.empty) {
4140
+ replace(e, t = e, r = E.empty) {
4141
4141
  let i = ls(this.doc, e, t, r);
4142
4142
  return i && this.step(i), this;
4143
4143
  }
@@ -4146,13 +4146,13 @@ class Uc {
4146
4146
  fragment, node, or array of nodes.
4147
4147
  */
4148
4148
  replaceWith(e, t, r) {
4149
- return this.replace(e, t, new O(x.from(r), 0, 0));
4149
+ return this.replace(e, t, new E(x.from(r), 0, 0));
4150
4150
  }
4151
4151
  /**
4152
4152
  Delete the content between the given positions.
4153
4153
  */
4154
4154
  delete(e, t) {
4155
- return this.replace(e, t, O.empty);
4155
+ return this.replace(e, t, E.empty);
4156
4156
  }
4157
4157
  /**
4158
4158
  Insert the given content at the given position.
@@ -4180,7 +4180,7 @@ class Uc {
4180
4180
  control over what happens.
4181
4181
  */
4182
4182
  replaceRange(e, t, r) {
4183
- return _f(this, e, t, r), this;
4183
+ return Jf(this, e, t, r), this;
4184
4184
  }
4185
4185
  /**
4186
4186
  Replace the given range with a node, but use `from` and `to` as
@@ -4192,7 +4192,7 @@ class Uc {
4192
4192
  that parent node.
4193
4193
  */
4194
4194
  replaceRangeWith(e, t, r) {
4195
- return Jf(this, e, t, r), this;
4195
+ return _f(this, e, t, r), this;
4196
4196
  }
4197
4197
  /**
4198
4198
  Delete the given range, expanding it to cover fully covered
@@ -4268,7 +4268,7 @@ class Uc {
4268
4268
  let r = this.doc.nodeAt(e);
4269
4269
  if (!r)
4270
4270
  throw new RangeError("No node at position " + e);
4271
- if (t instanceof J)
4271
+ if (t instanceof _)
4272
4272
  t.isInSet(r.marks) && this.step(new bn(e, t));
4273
4273
  else {
4274
4274
  let i = r.marks, s, o = [];
@@ -4315,7 +4315,7 @@ class Uc {
4315
4315
  }
4316
4316
  }
4317
4317
  const Os = /* @__PURE__ */ Object.create(null);
4318
- class F {
4318
+ class H {
4319
4319
  /**
4320
4320
  Initialize a selection with the head and anchor and ranges. If no
4321
4321
  ranges are given, constructs a single range across `$anchor` and
@@ -4380,14 +4380,14 @@ class F {
4380
4380
  Replace the selection with a slice or, if no slice is given,
4381
4381
  delete the selection. Will append to the given transaction.
4382
4382
  */
4383
- replace(e, t = O.empty) {
4383
+ replace(e, t = E.empty) {
4384
4384
  let r = t.content.lastChild, i = null;
4385
4385
  for (let l = 0; l < t.openEnd; l++)
4386
4386
  i = r, r = r.lastChild;
4387
4387
  let s = e.steps.length, o = this.ranges;
4388
4388
  for (let l = 0; l < o.length; l++) {
4389
4389
  let { $from: a, $to: c } = o[l], u = e.mapping.slice(s);
4390
- e.replaceRange(u.map(a.pos), u.map(c.pos), l ? O.empty : t), l == 0 && jl(e, s, (r ? r.isInline : i && i.isTextblock) ? -1 : 1);
4390
+ e.replaceRange(u.map(a.pos), u.map(c.pos), l ? E.empty : t), l == 0 && jl(e, s, (r ? r.isInline : i && i.isTextblock) ? -1 : 1);
4391
4391
  }
4392
4392
  }
4393
4393
  /**
@@ -4409,7 +4409,7 @@ class F {
4409
4409
  found.
4410
4410
  */
4411
4411
  static findFrom(e, t, r = !1) {
4412
- let i = e.parent.inlineContent ? new P(e) : Rn(e.node(0), e.parent, e.pos, e.index(), t, r);
4412
+ let i = e.parent.inlineContent ? new L(e) : Rn(e.node(0), e.parent, e.pos, e.index(), t, r);
4413
4413
  if (i)
4414
4414
  return i;
4415
4415
  for (let s = e.depth - 1; s >= 0; s--) {
@@ -4476,10 +4476,10 @@ class F {
4476
4476
  returns the bookmark for that.
4477
4477
  */
4478
4478
  getBookmark() {
4479
- return P.between(this.$anchor, this.$head).getBookmark();
4479
+ return L.between(this.$anchor, this.$head).getBookmark();
4480
4480
  }
4481
4481
  }
4482
- F.prototype.visible = !0;
4482
+ H.prototype.visible = !0;
4483
4483
  class Yf {
4484
4484
  /**
4485
4485
  Create a range.
@@ -4492,7 +4492,7 @@ let Vl = !1;
4492
4492
  function $l(n) {
4493
4493
  !Vl && !n.parent.inlineContent && (Vl = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + n.parent.type.name + ")"));
4494
4494
  }
4495
- class P extends F {
4495
+ class L extends H {
4496
4496
  /**
4497
4497
  Construct a text selection between the given points.
4498
4498
  */
@@ -4509,18 +4509,18 @@ class P extends F {
4509
4509
  map(e, t) {
4510
4510
  let r = e.resolve(t.map(this.head));
4511
4511
  if (!r.parent.inlineContent)
4512
- return F.near(r);
4512
+ return H.near(r);
4513
4513
  let i = e.resolve(t.map(this.anchor));
4514
- return new P(i.parent.inlineContent ? i : r, r);
4514
+ return new L(i.parent.inlineContent ? i : r, r);
4515
4515
  }
4516
- replace(e, t = O.empty) {
4517
- if (super.replace(e, t), t == O.empty) {
4516
+ replace(e, t = E.empty) {
4517
+ if (super.replace(e, t), t == E.empty) {
4518
4518
  let r = this.$from.marksAcross(this.$to);
4519
4519
  r && e.ensureMarks(r);
4520
4520
  }
4521
4521
  }
4522
4522
  eq(e) {
4523
- return e instanceof P && e.anchor == this.anchor && e.head == this.head;
4523
+ return e instanceof L && e.anchor == this.anchor && e.head == this.head;
4524
4524
  }
4525
4525
  getBookmark() {
4526
4526
  return new as(this.anchor, this.head);
@@ -4534,7 +4534,7 @@ class P extends F {
4534
4534
  static fromJSON(e, t) {
4535
4535
  if (typeof t.anchor != "number" || typeof t.head != "number")
4536
4536
  throw new RangeError("Invalid input for TextSelection.fromJSON");
4537
- return new P(e.resolve(t.anchor), e.resolve(t.head));
4537
+ return new L(e.resolve(t.anchor), e.resolve(t.head));
4538
4538
  }
4539
4539
  /**
4540
4540
  Create a text selection from non-resolved positions.
@@ -4554,16 +4554,16 @@ class P extends F {
4554
4554
  static between(e, t, r) {
4555
4555
  let i = e.pos - t.pos;
4556
4556
  if ((!r || i) && (r = i >= 0 ? 1 : -1), !t.parent.inlineContent) {
4557
- let s = F.findFrom(t, r, !0) || F.findFrom(t, -r, !0);
4557
+ let s = H.findFrom(t, r, !0) || H.findFrom(t, -r, !0);
4558
4558
  if (s)
4559
4559
  t = s.$head;
4560
4560
  else
4561
- return F.near(t, r);
4561
+ return H.near(t, r);
4562
4562
  }
4563
- return e.parent.inlineContent || (i == 0 ? e = t : (e = (F.findFrom(e, -r, !0) || F.findFrom(e, r, !0)).$anchor, e.pos < t.pos != i < 0 && (e = t))), new P(e, t);
4563
+ return e.parent.inlineContent || (i == 0 ? e = t : (e = (H.findFrom(e, -r, !0) || H.findFrom(e, r, !0)).$anchor, e.pos < t.pos != i < 0 && (e = t))), new L(e, t);
4564
4564
  }
4565
4565
  }
4566
- F.jsonID("text", P);
4566
+ H.jsonID("text", L);
4567
4567
  class as {
4568
4568
  constructor(e, t) {
4569
4569
  this.anchor = e, this.head = t;
@@ -4572,10 +4572,10 @@ class as {
4572
4572
  return new as(e.map(this.anchor), e.map(this.head));
4573
4573
  }
4574
4574
  resolve(e) {
4575
- return P.between(e.resolve(this.anchor), e.resolve(this.head));
4575
+ return L.between(e.resolve(this.anchor), e.resolve(this.head));
4576
4576
  }
4577
4577
  }
4578
- class I extends F {
4578
+ class R extends H {
4579
4579
  /**
4580
4580
  Create a node selection. Does not verify the validity of its
4581
4581
  argument.
@@ -4586,13 +4586,13 @@ class I extends F {
4586
4586
  }
4587
4587
  map(e, t) {
4588
4588
  let { deleted: r, pos: i } = t.mapResult(this.anchor), s = e.resolve(i);
4589
- return r ? F.near(s) : new I(s);
4589
+ return r ? H.near(s) : new R(s);
4590
4590
  }
4591
4591
  content() {
4592
- return new O(x.from(this.node), 0, 0);
4592
+ return new E(x.from(this.node), 0, 0);
4593
4593
  }
4594
4594
  eq(e) {
4595
- return e instanceof I && e.anchor == this.anchor;
4595
+ return e instanceof R && e.anchor == this.anchor;
4596
4596
  }
4597
4597
  toJSON() {
4598
4598
  return { type: "node", anchor: this.anchor };
@@ -4606,13 +4606,13 @@ class I extends F {
4606
4606
  static fromJSON(e, t) {
4607
4607
  if (typeof t.anchor != "number")
4608
4608
  throw new RangeError("Invalid input for NodeSelection.fromJSON");
4609
- return new I(e.resolve(t.anchor));
4609
+ return new R(e.resolve(t.anchor));
4610
4610
  }
4611
4611
  /**
4612
4612
  Create a node selection from non-resolved positions.
4613
4613
  */
4614
4614
  static create(e, t) {
4615
- return new I(e.resolve(t));
4615
+ return new R(e.resolve(t));
4616
4616
  }
4617
4617
  /**
4618
4618
  Determines whether the given node may be selected as a node
@@ -4622,8 +4622,8 @@ class I extends F {
4622
4622
  return !e.isText && e.type.spec.selectable !== !1;
4623
4623
  }
4624
4624
  }
4625
- I.prototype.visible = !1;
4626
- F.jsonID("node", I);
4625
+ R.prototype.visible = !1;
4626
+ H.jsonID("node", R);
4627
4627
  class zo {
4628
4628
  constructor(e) {
4629
4629
  this.anchor = e;
@@ -4634,20 +4634,20 @@ class zo {
4634
4634
  }
4635
4635
  resolve(e) {
4636
4636
  let t = e.resolve(this.anchor), r = t.nodeAfter;
4637
- return r && I.isSelectable(r) ? new I(t) : F.near(t);
4637
+ return r && R.isSelectable(r) ? new R(t) : H.near(t);
4638
4638
  }
4639
4639
  }
4640
- class Pe extends F {
4640
+ class Pe extends H {
4641
4641
  /**
4642
4642
  Create an all-selection over the given document.
4643
4643
  */
4644
4644
  constructor(e) {
4645
4645
  super(e.resolve(0), e.resolve(e.content.size));
4646
4646
  }
4647
- replace(e, t = O.empty) {
4648
- if (t == O.empty) {
4647
+ replace(e, t = E.empty) {
4648
+ if (t == E.empty) {
4649
4649
  e.delete(0, e.doc.content.size);
4650
- let r = F.atStart(e.doc);
4650
+ let r = H.atStart(e.doc);
4651
4651
  r.eq(e.selection) || e.setSelection(r);
4652
4652
  } else
4653
4653
  super.replace(e, t);
@@ -4671,7 +4671,7 @@ class Pe extends F {
4671
4671
  return Xf;
4672
4672
  }
4673
4673
  }
4674
- F.jsonID("all", Pe);
4674
+ H.jsonID("all", Pe);
4675
4675
  const Xf = {
4676
4676
  map() {
4677
4677
  return this;
@@ -4682,12 +4682,12 @@ const Xf = {
4682
4682
  };
4683
4683
  function Rn(n, e, t, r, i, s = !1) {
4684
4684
  if (e.inlineContent)
4685
- return P.create(n, t);
4685
+ return L.create(n, t);
4686
4686
  for (let o = r - (i > 0 ? 0 : 1); i > 0 ? o < e.childCount : o >= 0; o += i) {
4687
4687
  let l = e.child(o);
4688
4688
  if (l.isAtom) {
4689
- if (!s && I.isSelectable(l))
4690
- return I.create(n, t - (i < 0 ? l.nodeSize : 0));
4689
+ if (!s && R.isSelectable(l))
4690
+ return R.create(n, t - (i < 0 ? l.nodeSize : 0));
4691
4691
  } else {
4692
4692
  let a = Rn(n, l, t + i, i < 0 ? l.childCount : 0, i, s);
4693
4693
  if (a)
@@ -4707,7 +4707,7 @@ function jl(n, e, t) {
4707
4707
  let s = n.mapping.maps[r], o;
4708
4708
  s.forEach((l, a, c, u) => {
4709
4709
  o == null && (o = u);
4710
- }), n.setSelection(F.near(n.doc.resolve(o), t));
4710
+ }), n.setSelection(H.near(n.doc.resolve(o), t));
4711
4711
  }
4712
4712
  const Wl = 1, Xr = 2, Ul = 4;
4713
4713
  class Qf extends Uc {
@@ -4753,7 +4753,7 @@ class Qf extends Uc {
4753
4753
  this is already the case.
4754
4754
  */
4755
4755
  ensureMarks(e) {
4756
- return J.sameSet(this.storedMarks || this.selection.$from.marks(), e) || this.setStoredMarks(e), this;
4756
+ return _.sameSet(this.storedMarks || this.selection.$from.marks(), e) || this.setStoredMarks(e), this;
4757
4757
  }
4758
4758
  /**
4759
4759
  Add a mark to the set of stored marks.
@@ -4798,7 +4798,7 @@ class Qf extends Uc {
4798
4798
  */
4799
4799
  replaceSelectionWith(e, t = !0) {
4800
4800
  let r = this.selection;
4801
- return t && (e = e.mark(this.storedMarks || (r.empty ? r.$from.marks() : r.$from.marksAcross(r.$to) || J.none))), r.replaceWith(this, e), this;
4801
+ return t && (e = e.mark(this.storedMarks || (r.empty ? r.$from.marks() : r.$from.marksAcross(r.$to) || _.none))), r.replaceWith(this, e), this;
4802
4802
  }
4803
4803
  /**
4804
4804
  Delete the selection.
@@ -4822,7 +4822,7 @@ class Qf extends Uc {
4822
4822
  let o = this.doc.resolve(t);
4823
4823
  s = r == t ? o.marks() : o.marksAcross(this.doc.resolve(r));
4824
4824
  }
4825
- return this.replaceRangeWith(t, r, i.text(e, s)), !this.selection.empty && this.selection.to == t + e.length && this.setSelection(F.near(this.selection.$to)), this;
4825
+ return this.replaceRangeWith(t, r, i.text(e, s)), !this.selection.empty && this.selection.to == t + e.length && this.setSelection(H.near(this.selection.$to)), this;
4826
4826
  }
4827
4827
  }
4828
4828
  /**
@@ -4880,7 +4880,7 @@ const Zf = [
4880
4880
  }),
4881
4881
  new sr("selection", {
4882
4882
  init(n, e) {
4883
- return n.selection || F.atStart(e.doc);
4883
+ return n.selection || H.atStart(e.doc);
4884
4884
  },
4885
4885
  apply(n) {
4886
4886
  return n.selection;
@@ -5060,7 +5060,7 @@ class Bn {
5060
5060
  if (o.name == "doc")
5061
5061
  s.doc = jt.fromJSON(e.schema, t.doc);
5062
5062
  else if (o.name == "selection")
5063
- s.selection = F.fromJSON(s.doc, t.selection);
5063
+ s.selection = H.fromJSON(s.doc, t.selection);
5064
5064
  else if (o.name == "storedMarks")
5065
5065
  t.storedMarks && (s.storedMarks = t.storedMarks.map(e.schema.markFromJSON));
5066
5066
  else {
@@ -5144,7 +5144,7 @@ function ql(n, e, t, r, i) {
5144
5144
  for (var s; ; ) {
5145
5145
  if (n == t && e == r)
5146
5146
  return !0;
5147
- if (e == (i < 0 ? 0 : _e(n))) {
5147
+ if (e == (i < 0 ? 0 : Je(n))) {
5148
5148
  let o = n.parentNode;
5149
5149
  if (!o || o.nodeType != 1 || Br(n) || th.test(n.nodeName) || n.contentEditable == "false")
5150
5150
  return !1;
@@ -5157,12 +5157,12 @@ function ql(n, e, t, r, i) {
5157
5157
  else
5158
5158
  return !1;
5159
5159
  else
5160
- n = o, e = i < 0 ? _e(n) : 0;
5160
+ n = o, e = i < 0 ? Je(n) : 0;
5161
5161
  } else
5162
5162
  return !1;
5163
5163
  }
5164
5164
  }
5165
- function _e(n) {
5165
+ function Je(n) {
5166
5166
  return n.nodeType == 3 ? n.nodeValue.length : n.childNodes.length;
5167
5167
  }
5168
5168
  function nh(n, e) {
@@ -5172,7 +5172,7 @@ function nh(n, e) {
5172
5172
  if (n.nodeType == 1 && e > 0) {
5173
5173
  if (n.contentEditable == "false")
5174
5174
  return null;
5175
- n = n.childNodes[e - 1], e = _e(n);
5175
+ n = n.childNodes[e - 1], e = Je(n);
5176
5176
  } else if (n.parentNode && !Br(n))
5177
5177
  e = ge(n), n = n.parentNode;
5178
5178
  else
@@ -5194,13 +5194,13 @@ function rh(n, e) {
5194
5194
  }
5195
5195
  }
5196
5196
  function ih(n, e, t) {
5197
- for (let r = e == 0, i = e == _e(n); r || i; ) {
5197
+ for (let r = e == 0, i = e == Je(n); r || i; ) {
5198
5198
  if (n == t)
5199
5199
  return !0;
5200
5200
  let s = ge(n);
5201
5201
  if (n = n.parentNode, !n)
5202
5202
  return !1;
5203
- r = r && s == 0, i = i && s == _e(n);
5203
+ r = r && s == 0, i = i && s == Je(n);
5204
5204
  }
5205
5205
  }
5206
5206
  function Br(n) {
@@ -5227,18 +5227,18 @@ function oh(n, e, t) {
5227
5227
  try {
5228
5228
  let r = n.caretPositionFromPoint(e, t);
5229
5229
  if (r)
5230
- return { node: r.offsetNode, offset: Math.min(_e(r.offsetNode), r.offset) };
5230
+ return { node: r.offsetNode, offset: Math.min(Je(r.offsetNode), r.offset) };
5231
5231
  } catch {
5232
5232
  }
5233
5233
  if (n.caretRangeFromPoint) {
5234
5234
  let r = n.caretRangeFromPoint(e, t);
5235
5235
  if (r)
5236
- return { node: r.startContainer, offset: Math.min(_e(r.startContainer), r.startOffset) };
5236
+ return { node: r.startContainer, offset: Math.min(Je(r.startContainer), r.startOffset) };
5237
5237
  }
5238
5238
  }
5239
- const ut = typeof navigator < "u" ? navigator : null, _l = typeof document < "u" ? document : null, Yt = ut && ut.userAgent || "", oo = /Edge\/(\d+)/.exec(Yt), _c = /MSIE \d/.exec(Yt), lo = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Yt), Ee = !!(_c || lo || oo), Ut = _c ? document.documentMode : lo ? +lo[1] : oo ? +oo[1] : 0, Je = !Ee && /gecko\/(\d+)/i.test(Yt);
5240
- Je && +(/Firefox\/(\d+)/.exec(Yt) || [0, 0])[1];
5241
- const ao = !Ee && /Chrome\/(\d+)/.exec(Yt), de = !!ao, Jc = ao ? +ao[1] : 0, ve = !Ee && !!ut && /Apple Computer/.test(ut.vendor), jn = ve && (/Mobile\/\w+/.test(Yt) || !!ut && ut.maxTouchPoints > 2), qe = jn || (ut ? /Mac/.test(ut.platform) : !1), Gc = ut ? /Win/.test(ut.platform) : !1, Ct = /Android \d/.test(Yt), zr = !!_l && "webkitFontSmoothing" in _l.documentElement.style, lh = zr ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
5239
+ const ut = typeof navigator < "u" ? navigator : null, Jl = typeof document < "u" ? document : null, Yt = ut && ut.userAgent || "", oo = /Edge\/(\d+)/.exec(Yt), Jc = /MSIE \d/.exec(Yt), lo = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Yt), Ee = !!(Jc || lo || oo), Ut = Jc ? document.documentMode : lo ? +lo[1] : oo ? +oo[1] : 0, _e = !Ee && /gecko\/(\d+)/i.test(Yt);
5240
+ _e && +(/Firefox\/(\d+)/.exec(Yt) || [0, 0])[1];
5241
+ const ao = !Ee && /Chrome\/(\d+)/.exec(Yt), de = !!ao, _c = ao ? +ao[1] : 0, ve = !Ee && !!ut && /Apple Computer/.test(ut.vendor), jn = ve && (/Mobile\/\w+/.test(Yt) || !!ut && ut.maxTouchPoints > 2), qe = jn || (ut ? /Mac/.test(ut.platform) : !1), Gc = ut ? /Win/.test(ut.platform) : !1, Ct = /Android \d/.test(Yt), zr = !!Jl && "webkitFontSmoothing" in Jl.documentElement.style, lh = zr ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
5242
5242
  function ah(n) {
5243
5243
  let e = n.defaultView && n.defaultView.visualViewport;
5244
5244
  return e ? {
@@ -5265,7 +5265,7 @@ function ch(n) {
5265
5265
  bottom: e.top + n.clientHeight * r
5266
5266
  };
5267
5267
  }
5268
- function Jl(n, e, t) {
5268
+ function _l(n, e, t) {
5269
5269
  let r = n.someProp("scrollThreshold") || 0, i = n.someProp("scrollMargin") || 5, s = n.dom.ownerDocument;
5270
5270
  for (let o = t || n.dom; o; ) {
5271
5271
  if (o.nodeType != 1) {
@@ -5430,7 +5430,7 @@ function yh(n, e) {
5430
5430
  for (let c = o; r && c; c = $n(c))
5431
5431
  c.draggable && (r = void 0);
5432
5432
  if (o = ph(o, e), r) {
5433
- if (Je && r.nodeType == 1 && (i = Math.min(i, r.childNodes.length), i < r.childNodes.length)) {
5433
+ if (_e && r.nodeType == 1 && (i = Math.min(i, r.childNodes.length), i < r.childNodes.length)) {
5434
5434
  let u = r.childNodes[i], d;
5435
5435
  u.nodeName == "IMG" && (d = u.getBoundingClientRect()).right <= e.left && d.bottom > e.top && i++;
5436
5436
  }
@@ -5455,11 +5455,11 @@ function It(n, e) {
5455
5455
  }
5456
5456
  const bh = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
5457
5457
  function eu(n, e, t) {
5458
- let { node: r, offset: i, atom: s } = n.docView.domFromPos(e, t < 0 ? -1 : 1), o = zr || Je;
5458
+ let { node: r, offset: i, atom: s } = n.docView.domFromPos(e, t < 0 ? -1 : 1), o = zr || _e;
5459
5459
  if (r.nodeType == 3)
5460
5460
  if (o && (bh.test(r.nodeValue) || (t < 0 ? !i : i == r.nodeValue.length))) {
5461
5461
  let a = It(wt(r, i, i), t);
5462
- if (Je && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) {
5462
+ if (_e && i && /\s/.test(r.nodeValue[i - 1]) && i < r.nodeValue.length) {
5463
5463
  let c = It(wt(r, i - 1, i - 1), -1);
5464
5464
  if (c.top == a.top) {
5465
5465
  let u = It(wt(r, i, i + 1), -1);
@@ -5473,24 +5473,24 @@ function eu(n, e, t) {
5473
5473
  return t < 0 && !i ? (c++, u = -1) : t >= 0 && i == r.nodeValue.length ? (a--, u = 1) : t < 0 ? a-- : c++, er(It(wt(r, a, c), u), u < 0);
5474
5474
  }
5475
5475
  if (!n.state.doc.resolve(e - (s || 0)).parent.inlineContent) {
5476
- if (s == null && i && (t < 0 || i == _e(r))) {
5476
+ if (s == null && i && (t < 0 || i == Je(r))) {
5477
5477
  let a = r.childNodes[i - 1];
5478
5478
  if (a.nodeType == 1)
5479
5479
  return Ds(a.getBoundingClientRect(), !1);
5480
5480
  }
5481
- if (s == null && i < _e(r)) {
5481
+ if (s == null && i < Je(r)) {
5482
5482
  let a = r.childNodes[i];
5483
5483
  if (a.nodeType == 1)
5484
5484
  return Ds(a.getBoundingClientRect(), !0);
5485
5485
  }
5486
5486
  return Ds(r.getBoundingClientRect(), t >= 0);
5487
5487
  }
5488
- if (s == null && i && (t < 0 || i == _e(r))) {
5489
- let a = r.childNodes[i - 1], c = a.nodeType == 3 ? wt(a, _e(a) - (o ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
5488
+ if (s == null && i && (t < 0 || i == Je(r))) {
5489
+ let a = r.childNodes[i - 1], c = a.nodeType == 3 ? wt(a, Je(a) - (o ? 0 : 1)) : a.nodeType == 1 && (a.nodeName != "BR" || !a.nextSibling) ? a : null;
5490
5490
  if (c)
5491
5491
  return er(It(c, 1), !1);
5492
5492
  }
5493
- if (s == null && i < _e(r)) {
5493
+ if (s == null && i < Je(r)) {
5494
5494
  let a = r.childNodes[i];
5495
5495
  for (; a.pmViewDesc && a.pmViewDesc.ignoreForCoords; )
5496
5496
  a = a.nextSibling;
@@ -5834,7 +5834,7 @@ class Hr {
5834
5834
  p = g;
5835
5835
  }
5836
5836
  let l = this.domFromPos(e, e ? -1 : 1), a = t == e ? l : this.domFromPos(t, t ? -1 : 1), c = r.root.getSelection(), u = r.domSelectionRange(), d = !1;
5837
- if ((Je || ve) && e == t) {
5837
+ if ((_e || ve) && e == t) {
5838
5838
  let { node: h, offset: p } = l;
5839
5839
  if (h.nodeType == 3) {
5840
5840
  if (d = !!(p && h.nodeValue[p - 1] == `
@@ -5853,14 +5853,14 @@ class Hr {
5853
5853
  d = m && (m.nodeName == "BR" || m.contentEditable == "false");
5854
5854
  }
5855
5855
  }
5856
- if (Je && u.focusNode && u.focusNode != a.node && u.focusNode.nodeType == 1) {
5856
+ if (_e && u.focusNode && u.focusNode != a.node && u.focusNode.nodeType == 1) {
5857
5857
  let h = u.focusNode.childNodes[u.focusOffset];
5858
5858
  h && h.contentEditable == "false" && (i = !0);
5859
5859
  }
5860
5860
  if (!(i || d && ve) && vn(l.node, l.offset, u.anchorNode, u.anchorOffset) && vn(a.node, a.offset, u.focusNode, u.focusOffset))
5861
5861
  return;
5862
5862
  let f = !1;
5863
- if ((c.extend || e == t) && !(d && Je)) {
5863
+ if ((c.extend || e == t) && !(d && _e)) {
5864
5864
  c.collapse(l.node, l.offset);
5865
5865
  try {
5866
5866
  e != t && c.extend(a.node, a.offset), f = !0;
@@ -6081,7 +6081,7 @@ class Kt extends Hr {
6081
6081
  updateChildren(e, t) {
6082
6082
  let r = this.node.inlineContent, i = t, s = e.composing ? this.localCompositionInfo(e, t) : null, o = s && s.pos > -1 ? s : null, l = s && s.pos < 0, a = new Th(this, o && o.node, e);
6083
6083
  Ah(this.node, this.innerDeco, (c, u, d) => {
6084
- c.spec.marks ? a.syncToMarks(c.spec.marks, r, e) : c.type.side >= 0 && !d && a.syncToMarks(u == this.node.childCount ? J.none : this.node.child(u).marks, r, e), a.placeWidget(c, e, i);
6084
+ c.spec.marks ? a.syncToMarks(c.spec.marks, r, e) : c.type.side >= 0 && !d && a.syncToMarks(u == this.node.childCount ? _.none : this.node.child(u).marks, r, e), a.placeWidget(c, e, i);
6085
6085
  }, (c, u, d, f) => {
6086
6086
  a.syncToMarks(c.marks, r, e);
6087
6087
  let h;
@@ -6090,7 +6090,7 @@ class Kt extends Hr {
6090
6090
  }
6091
6091
  localCompositionInfo(e, t) {
6092
6092
  let { from: r, to: i } = e.state.selection;
6093
- if (!(e.state.selection instanceof P) || r < t || i > t + this.node.content.size)
6093
+ if (!(e.state.selection instanceof L) || r < t || i > t + this.node.content.size)
6094
6094
  return null;
6095
6095
  let s = e.input.compositionNode;
6096
6096
  if (!s || !this.dom.contains(s.parentNode))
@@ -6606,9 +6606,9 @@ function Fo(n, e = null) {
6606
6606
  for (a = o; i && !i.node; )
6607
6607
  i = i.parent;
6608
6608
  let d = i.node;
6609
- if (i && d.isAtom && I.isSelectable(d) && i.parent && !(d.isInline && ih(t.focusNode, t.focusOffset, i.dom))) {
6609
+ if (i && d.isAtom && R.isSelectable(d) && i.parent && !(d.isInline && ih(t.focusNode, t.focusOffset, i.dom))) {
6610
6610
  let f = i.posBefore;
6611
- c = new I(o == f ? l : r.resolve(f));
6611
+ c = new R(o == f ? l : r.resolve(f));
6612
6612
  }
6613
6613
  } else {
6614
6614
  if (t instanceof n.dom.ownerDocument.defaultView.Selection && t.rangeCount > 1) {
@@ -6649,12 +6649,12 @@ function Et(n, e = !1) {
6649
6649
  Ih(n);
6650
6650
  else {
6651
6651
  let { anchor: r, head: i } = t, s, o;
6652
- na && !(t instanceof P) && (t.$from.parent.inlineContent || (s = ra(n, t.from)), !t.empty && !t.$from.parent.inlineContent && (o = ra(n, t.to))), n.docView.setSelection(r, i, n, e), na && (s && ia(s), o && ia(o)), t.visible ? n.dom.classList.remove("ProseMirror-hideselection") : (n.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && Rh(n));
6652
+ na && !(t instanceof L) && (t.$from.parent.inlineContent || (s = ra(n, t.from)), !t.empty && !t.$from.parent.inlineContent && (o = ra(n, t.to))), n.docView.setSelection(r, i, n, e), na && (s && ia(s), o && ia(o)), t.visible ? n.dom.classList.remove("ProseMirror-hideselection") : (n.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && Rh(n));
6653
6653
  }
6654
6654
  n.domObserver.setCurSelection(), n.domObserver.connectSelection();
6655
6655
  }
6656
6656
  }
6657
- const na = ve || de && Jc < 63;
6657
+ const na = ve || de && _c < 63;
6658
6658
  function ra(n, e) {
6659
6659
  let { node: t, offset: r } = n.docView.domFromPos(e, 0), i = r < t.childNodes.length ? t.childNodes[r] : null, s = r ? t.childNodes[r - 1] : null;
6660
6660
  if (ve && i && i.contentEditable == "false")
@@ -6690,7 +6690,7 @@ function Ih(n) {
6690
6690
  r ? e.collapse(t.parentNode, ge(t) + 1) : e.collapse(t, 0), !r && !n.state.selection.visible && Ee && Ut <= 11 && (t.disabled = !0, t.disabled = !1);
6691
6691
  }
6692
6692
  function au(n, e) {
6693
- if (e instanceof I) {
6693
+ if (e instanceof R) {
6694
6694
  let t = n.docView.descAt(e.from);
6695
6695
  t != n.lastSelectedViewDesc && (sa(n), t && t.selectNode(), n.lastSelectedViewDesc = t);
6696
6696
  } else
@@ -6700,7 +6700,7 @@ function sa(n) {
6700
6700
  n.lastSelectedViewDesc && (n.lastSelectedViewDesc.parent && n.lastSelectedViewDesc.deselectNode(), n.lastSelectedViewDesc = void 0);
6701
6701
  }
6702
6702
  function Vo(n, e, t, r) {
6703
- return n.someProp("createSelectionBetween", (i) => i(n, e, t)) || P.between(e, t, r);
6703
+ return n.someProp("createSelectionBetween", (i) => i(n, e, t)) || L.between(e, t, r);
6704
6704
  }
6705
6705
  function oa(n) {
6706
6706
  return n.editable && !n.hasFocus() ? !1 : cu(n);
@@ -6721,35 +6721,35 @@ function Lh(n) {
6721
6721
  }
6722
6722
  function fo(n, e) {
6723
6723
  let { $anchor: t, $head: r } = n.selection, i = e > 0 ? t.max(r) : t.min(r), s = i.parent.inlineContent ? i.depth ? n.doc.resolve(e > 0 ? i.after() : i.before()) : null : i;
6724
- return s && F.findFrom(s, e);
6724
+ return s && H.findFrom(s, e);
6725
6725
  }
6726
6726
  function Lt(n, e) {
6727
6727
  return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()), !0;
6728
6728
  }
6729
6729
  function la(n, e, t) {
6730
6730
  let r = n.state.selection;
6731
- if (r instanceof P)
6731
+ if (r instanceof L)
6732
6732
  if (t.indexOf("s") > -1) {
6733
6733
  let { $head: i } = r, s = i.textOffset ? null : e < 0 ? i.nodeBefore : i.nodeAfter;
6734
6734
  if (!s || s.isText || !s.isLeaf)
6735
6735
  return !1;
6736
6736
  let o = n.state.doc.resolve(i.pos + s.nodeSize * (e < 0 ? -1 : 1));
6737
- return Lt(n, new P(r.$anchor, o));
6737
+ return Lt(n, new L(r.$anchor, o));
6738
6738
  } else if (r.empty) {
6739
6739
  if (n.endOfTextblock(e > 0 ? "forward" : "backward")) {
6740
6740
  let i = fo(n.state, e);
6741
- return i && i instanceof I ? Lt(n, i) : !1;
6741
+ return i && i instanceof R ? Lt(n, i) : !1;
6742
6742
  } else if (!(qe && t.indexOf("m") > -1)) {
6743
6743
  let i = r.$head, s = i.textOffset ? null : e < 0 ? i.nodeBefore : i.nodeAfter, o;
6744
6744
  if (!s || s.isText)
6745
6745
  return !1;
6746
6746
  let l = e < 0 ? i.pos - s.nodeSize : i.pos;
6747
- return s.isAtom || (o = n.docView.descAt(l)) && !o.contentDOM ? I.isSelectable(s) ? Lt(n, new I(e < 0 ? n.state.doc.resolve(i.pos - s.nodeSize) : i)) : zr ? Lt(n, new P(n.state.doc.resolve(e < 0 ? l : l + s.nodeSize))) : !1 : !1;
6747
+ return s.isAtom || (o = n.docView.descAt(l)) && !o.contentDOM ? R.isSelectable(s) ? Lt(n, new R(e < 0 ? n.state.doc.resolve(i.pos - s.nodeSize) : i)) : zr ? Lt(n, new L(n.state.doc.resolve(e < 0 ? l : l + s.nodeSize))) : !1 : !1;
6748
6748
  }
6749
6749
  } else return !1;
6750
6750
  else {
6751
- if (r instanceof I && r.node.isInline)
6752
- return Lt(n, new P(e > 0 ? r.$to : r.$from));
6751
+ if (r instanceof R && r.node.isInline)
6752
+ return Lt(n, new L(e > 0 ? r.$to : r.$from));
6753
6753
  {
6754
6754
  let i = fo(n.state, e);
6755
6755
  return i ? Lt(n, i) : !1;
@@ -6771,7 +6771,7 @@ function Ph(n) {
6771
6771
  if (!t)
6772
6772
  return;
6773
6773
  let i, s, o = !1;
6774
- for (Je && t.nodeType == 1 && r < ki(t) && ur(t.childNodes[r], -1) && (o = !0); ; )
6774
+ for (_e && t.nodeType == 1 && r < ki(t) && ur(t.childNodes[r], -1) && (o = !0); ; )
6775
6775
  if (r > 0) {
6776
6776
  if (t.nodeType != 1)
6777
6777
  break;
@@ -6899,22 +6899,22 @@ function aa(n, e) {
6899
6899
  }
6900
6900
  function ca(n, e, t) {
6901
6901
  let r = n.state.selection;
6902
- if (r instanceof P && !r.empty || t.indexOf("s") > -1 || qe && t.indexOf("m") > -1)
6902
+ if (r instanceof L && !r.empty || t.indexOf("s") > -1 || qe && t.indexOf("m") > -1)
6903
6903
  return !1;
6904
6904
  let { $from: i, $to: s } = r;
6905
6905
  if (!i.parent.inlineContent || n.endOfTextblock(e < 0 ? "up" : "down")) {
6906
6906
  let o = fo(n.state, e);
6907
- if (o && o instanceof I)
6907
+ if (o && o instanceof R)
6908
6908
  return Lt(n, o);
6909
6909
  }
6910
6910
  if (!i.parent.inlineContent) {
6911
- let o = e < 0 ? i : s, l = r instanceof Pe ? F.near(o, e) : F.findFrom(o, e);
6911
+ let o = e < 0 ? i : s, l = r instanceof Pe ? H.near(o, e) : H.findFrom(o, e);
6912
6912
  return l ? Lt(n, l) : !1;
6913
6913
  }
6914
6914
  return !1;
6915
6915
  }
6916
6916
  function ua(n, e) {
6917
- if (!(n.state.selection instanceof P))
6917
+ if (!(n.state.selection instanceof L))
6918
6918
  return !0;
6919
6919
  let { $head: t, $anchor: r, empty: i } = n.state.selection;
6920
6920
  if (!t.sameParent(r))
@@ -7008,7 +7008,7 @@ function du(n, e, t, r, i) {
7008
7008
  if (n.someProp("transformPastedText", (f) => {
7009
7009
  e = f(e, s || r, n);
7010
7010
  }), s)
7011
- return l = new O(x.from(n.state.schema.text(e.replace(/\r\n?/g, `
7011
+ return l = new E(x.from(n.state.schema.text(e.replace(/\r\n?/g, `
7012
7012
  `))), 0, 0), n.someProp("transformPasted", (f) => {
7013
7013
  l = f(l, n, !0);
7014
7014
  }), l;
@@ -7043,8 +7043,8 @@ function du(n, e, t, r, i) {
7043
7043
  return f.nodeName == "BR" && !f.nextSibling && f.parentNode && !jh.test(f.parentNode.nodeName) ? { ignore: !0 } : null;
7044
7044
  }
7045
7045
  })), u)
7046
- l = _h(fa(l, +u[1], +u[2]), u[4]);
7047
- else if (l = O.maxOpen(Wh(l.content, i), !0), l.openStart || l.openEnd) {
7046
+ l = Jh(fa(l, +u[1], +u[2]), u[4]);
7047
+ else if (l = E.maxOpen(Wh(l.content, i), !0), l.openStart || l.openEnd) {
7048
7048
  let d = 0, f = 0;
7049
7049
  for (let h = l.content.firstChild; d < l.openStart && !h.type.spec.isolating; d++, h = h.firstChild)
7050
7050
  ;
@@ -7105,7 +7105,7 @@ function po(n, e, t, r, i, s) {
7105
7105
  return n.childCount > 1 && (s = 0), i < r - 1 && (l = po(l, e, t, r, i + 1, s)), i >= t && (l = e < 0 ? o.contentMatchAt(0).fillBefore(l, s <= i).append(l) : l.append(o.contentMatchAt(o.childCount).fillBefore(x.empty, !0))), n.replaceChild(e < 0 ? 0 : n.childCount - 1, o.copy(l));
7106
7106
  }
7107
7107
  function fa(n, e, t) {
7108
- return e < n.openStart && (n = new O(po(n.content, -1, e, n.openStart, 0, n.openEnd), e, n.openEnd)), t < n.openEnd && (n = new O(po(n.content, 1, t, n.openEnd, 0, 0), n.openStart, t)), n;
7108
+ return e < n.openStart && (n = new E(po(n.content, -1, e, n.openStart, 0, n.openEnd), e, n.openEnd)), t < n.openEnd && (n = new E(po(n.content, 1, t, n.openEnd, 0, 0), n.openStart, t)), n;
7109
7109
  }
7110
7110
  const mu = {
7111
7111
  thead: ["table"],
@@ -7143,7 +7143,7 @@ function qh(n) {
7143
7143
  r.childNodes.length == 1 && r.textContent == " " && r.parentNode && r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "), r);
7144
7144
  }
7145
7145
  }
7146
- function _h(n, e) {
7146
+ function Jh(n, e) {
7147
7147
  if (!n.size)
7148
7148
  return n;
7149
7149
  let t = n.content.firstChild.type.schema, r;
@@ -7159,9 +7159,9 @@ function _h(n, e) {
7159
7159
  break;
7160
7160
  i = x.from(a.create(r[l + 1], i)), s++, o++;
7161
7161
  }
7162
- return new O(i, s, o);
7162
+ return new E(i, s, o);
7163
7163
  }
7164
- const Ce = {}, Me = {}, Jh = { touchstart: !0, touchmove: !0 };
7164
+ const Ce = {}, Me = {}, _h = { touchstart: !0, touchmove: !0 };
7165
7165
  class Gh {
7166
7166
  constructor() {
7167
7167
  this.shiftKey = !1, this.mouseDown = null, this.lastKeyCode = null, this.lastKeyCodeTime = 0, this.lastClick = { time: 0, x: 0, y: 0, type: "", button: 0 }, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastIOSEnter = 0, this.lastIOSEnterFallbackTimeout = -1, this.lastFocus = 0, this.lastTouch = 0, this.lastChromeDelete = 0, this.composing = !1, this.compositionNode = null, this.composingTimeout = -1, this.compositionNodes = [], this.compositionEndedAt = -2e8, this.compositionID = 1, this.compositionPendingChanges = 0, this.domChangeCount = 0, this.eventHandlers = /* @__PURE__ */ Object.create(null), this.hideSelectionGuard = null;
@@ -7172,7 +7172,7 @@ function Yh(n) {
7172
7172
  let t = Ce[e];
7173
7173
  n.dom.addEventListener(e, n.input.eventHandlers[e] = (r) => {
7174
7174
  Qh(n, r) && !jo(n, r) && (n.editable || !(r.type in Me)) && t(n, r);
7175
- }, Jh[e] ? { passive: !0 } : void 0);
7175
+ }, _h[e] ? { passive: !0 } : void 0);
7176
7176
  }
7177
7177
  ve && n.dom.addEventListener("input", () => null), mo(n);
7178
7178
  }
@@ -7232,7 +7232,7 @@ Me.keypress = (n, e) => {
7232
7232
  return;
7233
7233
  }
7234
7234
  let r = n.state.selection;
7235
- if (!(r instanceof P) || !r.$from.sameParent(r.$to)) {
7235
+ if (!(r instanceof L) || !r.$from.sameParent(r.$to)) {
7236
7236
  let i = String.fromCharCode(t.charCode), s = () => n.state.tr.insertText(i).scrollIntoView();
7237
7237
  !/[\r\n]/.test(i) && !n.someProp("handleTextInput", (o) => o(n, r.$from.pos, r.$to.pos, i, s)) && n.dispatch(s()), t.preventDefault();
7238
7238
  }
@@ -7263,22 +7263,22 @@ function tp(n, e) {
7263
7263
  if (e == -1)
7264
7264
  return !1;
7265
7265
  let t = n.state.doc.resolve(e), r = t.nodeAfter;
7266
- return r && r.isAtom && I.isSelectable(r) ? (Fn(n, new I(t)), !0) : !1;
7266
+ return r && r.isAtom && R.isSelectable(r) ? (Fn(n, new R(t)), !0) : !1;
7267
7267
  }
7268
7268
  function np(n, e) {
7269
7269
  if (e == -1)
7270
7270
  return !1;
7271
7271
  let t = n.state.selection, r, i;
7272
- t instanceof I && (r = t.node);
7272
+ t instanceof R && (r = t.node);
7273
7273
  let s = n.state.doc.resolve(e);
7274
7274
  for (let o = s.depth + 1; o > 0; o--) {
7275
7275
  let l = o > s.depth ? s.nodeAfter : s.node(o);
7276
- if (I.isSelectable(l)) {
7276
+ if (R.isSelectable(l)) {
7277
7277
  r && t.$from.depth > 0 && o >= t.$from.depth && s.before(t.$from.depth + 1) == t.$from.pos ? i = s.before(t.$from.depth) : i = s.before(o);
7278
7278
  break;
7279
7279
  }
7280
7280
  }
7281
- return i != null ? (Fn(n, I.create(n.state.doc, i)), !0) : !1;
7281
+ return i != null ? (Fn(n, R.create(n.state.doc, i)), !0) : !1;
7282
7282
  }
7283
7283
  function rp(n, e, t, r, i) {
7284
7284
  return Wo(n, "handleClickOn", e, t, r) || n.someProp("handleClick", (s) => s(n, e, r)) || (i ? np(n, t) : tp(n, t));
@@ -7294,14 +7294,14 @@ function op(n, e, t) {
7294
7294
  return !1;
7295
7295
  let r = n.state.doc;
7296
7296
  if (e == -1)
7297
- return r.inlineContent ? (Fn(n, P.create(r, 0, r.content.size)), !0) : !1;
7297
+ return r.inlineContent ? (Fn(n, L.create(r, 0, r.content.size)), !0) : !1;
7298
7298
  let i = r.resolve(e);
7299
7299
  for (let s = i.depth + 1; s > 0; s--) {
7300
7300
  let o = s > i.depth ? i.nodeAfter : i.node(s), l = i.before(s);
7301
7301
  if (o.inlineContent)
7302
- Fn(n, P.create(r, l + 1, l + 1 + o.content.size));
7303
- else if (I.isSelectable(o))
7304
- Fn(n, I.create(r, l));
7302
+ Fn(n, L.create(r, l + 1, l + 1 + o.content.size));
7303
+ else if (R.isSelectable(o))
7304
+ Fn(n, R.create(r, l));
7305
7305
  else
7306
7306
  continue;
7307
7307
  return !0;
@@ -7332,11 +7332,11 @@ class lp {
7332
7332
  const l = i ? null : r.target, a = l ? e.docView.nearestDesc(l, !0) : null;
7333
7333
  this.target = a && a.nodeDOM.nodeType == 1 ? a.nodeDOM : null;
7334
7334
  let { selection: c } = e.state;
7335
- (r.button == 0 && s.type.spec.draggable && s.type.spec.selectable !== !1 || c instanceof I && c.from <= o && c.to > o) && (this.mightDrag = {
7335
+ (r.button == 0 && s.type.spec.draggable && s.type.spec.selectable !== !1 || c instanceof R && c.from <= o && c.to > o) && (this.mightDrag = {
7336
7336
  node: s,
7337
7337
  pos: o,
7338
7338
  addAttr: !!(this.target && !this.target.draggable),
7339
- setUneditable: !!(this.target && Je && !this.target.hasAttribute("contentEditable"))
7339
+ setUneditable: !!(this.target && _e && !this.target.hasAttribute("contentEditable"))
7340
7340
  }), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
7341
7341
  this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
7342
7342
  }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), $t(e, "pointer");
@@ -7356,7 +7356,7 @@ class lp {
7356
7356
  // (hidden) cursor is doesn't change the selection, and
7357
7357
  // thus doesn't get a reaction from ProseMirror. This
7358
7358
  // works around that.
7359
- de && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (Fn(this.view, F.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : $t(this.view, "pointer");
7359
+ de && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (Fn(this.view, H.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : $t(this.view, "pointer");
7360
7360
  }
7361
7361
  move(e) {
7362
7362
  this.updateAllowDefault(e), $t(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -7380,9 +7380,9 @@ Me.compositionstart = Me.compositionupdate = (n) => {
7380
7380
  if (!n.composing) {
7381
7381
  n.domObserver.flush();
7382
7382
  let { state: e } = n, t = e.selection.$to;
7383
- if (e.selection instanceof P && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1) || de && Gc && cp(n)))
7383
+ if (e.selection instanceof L && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((r) => r.type.spec.inclusive === !1) || de && Gc && cp(n)))
7384
7384
  n.markCursor = n.state.storedMarks || t.marks(), xi(n, !0), n.markCursor = null;
7385
- else if (xi(n, !e.selection.empty), Je && e.selection.empty && t.parentOffset && !t.textOffset && t.nodeBefore.marks.length) {
7385
+ else if (xi(n, !e.selection.empty), _e && e.selection.empty && t.parentOffset && !t.textOffset && t.nodeBefore.marks.length) {
7386
7386
  let r = n.domSelectionRange();
7387
7387
  for (let i = r.focusNode, s = r.focusOffset; i && i.nodeType == 1 && s != 0; ) {
7388
7388
  let o = s < 0 ? i.lastChild : i.childNodes[s - 1];
@@ -7482,7 +7482,7 @@ function pp(n, e) {
7482
7482
  }
7483
7483
  function Mr(n, e, t, r, i) {
7484
7484
  let s = du(n, e, t, r, n.state.selection.$from);
7485
- if (n.someProp("handlePaste", (a) => a(n, i, s || O.empty)))
7485
+ if (n.someProp("handlePaste", (a) => a(n, i, s || E.empty)))
7486
7486
  return !0;
7487
7487
  if (!s)
7488
7488
  return !1;
@@ -7518,16 +7518,16 @@ Ce.dragstart = (n, e) => {
7518
7518
  if (r && r.done(), !t.dataTransfer)
7519
7519
  return;
7520
7520
  let i = n.state.selection, s = i.empty ? null : n.posAtCoords(ds(t)), o;
7521
- if (!(s && s.pos >= i.from && s.pos <= (i instanceof I ? i.to - 1 : i.to))) {
7521
+ if (!(s && s.pos >= i.from && s.pos <= (i instanceof R ? i.to - 1 : i.to))) {
7522
7522
  if (r && r.mightDrag)
7523
- o = I.create(n.state.doc, r.mightDrag.pos);
7523
+ o = R.create(n.state.doc, r.mightDrag.pos);
7524
7524
  else if (t.target && t.target.nodeType == 1) {
7525
7525
  let d = n.docView.nearestDesc(t.target, !0);
7526
- d && d.node.type.spec.draggable && d != n.docView && (o = I.create(n.state.doc, d.posBefore));
7526
+ d && d.node.type.spec.draggable && d != n.docView && (o = R.create(n.state.doc, d.posBefore));
7527
7527
  }
7528
7528
  }
7529
7529
  let l = (o || n.state.selection).content(), { dom: a, text: c, slice: u } = $o(n, l);
7530
- (!t.dataTransfer.files.length || !de || Jc > 120) && t.dataTransfer.clearData(), t.dataTransfer.setData(Cr ? "Text" : "text/html", a.innerHTML), t.dataTransfer.effectAllowed = "copyMove", Cr || t.dataTransfer.setData("text/plain", c), n.dragging = new wu(u, Su(n, t), o);
7530
+ (!t.dataTransfer.files.length || !de || _c > 120) && t.dataTransfer.clearData(), t.dataTransfer.setData(Cr ? "Text" : "text/html", a.innerHTML), t.dataTransfer.effectAllowed = "copyMove", Cr || t.dataTransfer.setData("text/plain", c), n.dragging = new wu(u, Su(n, t), o);
7531
7531
  };
7532
7532
  Ce.dragend = (n) => {
7533
7533
  let e = n.dragging;
@@ -7554,7 +7554,7 @@ function gp(n, e, t) {
7554
7554
  s = h(s, n, !1);
7555
7555
  }) : s = du(n, xu(e.dataTransfer), Cr ? null : e.dataTransfer.getData("text/html"), !1, i);
7556
7556
  let o = !!(t && Su(n, e));
7557
- if (n.someProp("handleDrop", (h) => h(n, e, s || O.empty, o))) {
7557
+ if (n.someProp("handleDrop", (h) => h(n, e, s || E.empty, o))) {
7558
7558
  e.preventDefault();
7559
7559
  return;
7560
7560
  }
@@ -7572,8 +7572,8 @@ function gp(n, e, t) {
7572
7572
  if (u ? a.replaceRangeWith(c, c, s.content.firstChild) : a.replaceRange(c, c, s), a.doc.eq(d))
7573
7573
  return;
7574
7574
  let f = a.doc.resolve(c);
7575
- if (u && I.isSelectable(s.content.firstChild) && f.nodeAfter && f.nodeAfter.sameMarkup(s.content.firstChild))
7576
- a.setSelection(new I(f));
7575
+ if (u && R.isSelectable(s.content.firstChild) && f.nodeAfter && f.nodeAfter.sameMarkup(s.content.firstChild))
7576
+ a.setSelection(new R(f));
7577
7577
  else {
7578
7578
  let h = a.mapping.map(l);
7579
7579
  a.mapping.maps[a.mapping.maps.length - 1].forEach((p, m, g, b) => h = b), a.setSelection(Vo(n, f, a.doc.resolve(h)));
@@ -8226,7 +8226,7 @@ class wp {
8226
8226
  let d = this.registerMutation(t[u], a);
8227
8227
  d && (s = s < 0 ? d.from : Math.min(d.from, s), o = o < 0 ? d.to : Math.max(d.to, o), d.typeOver && (l = !0));
8228
8228
  }
8229
- if (Je && a.length) {
8229
+ if (_e && a.length) {
8230
8230
  let u = a.filter((d) => d.nodeName == "BR");
8231
8231
  if (u.length == 2) {
8232
8232
  let [d, f] = u;
@@ -8246,7 +8246,7 @@ class wp {
8246
8246
  }
8247
8247
  }
8248
8248
  let c = null;
8249
- s < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && cs(r) && (c = Fo(e)) && c.eq(F.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Et(e), this.currentSelection.set(r), e.scrollToSelection()) : (s > -1 || i) && (s > -1 && (e.docView.markDirty(s, o), Sp(e)), this.handleDOMChange(s, o, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Et(e), this.currentSelection.set(r));
8249
+ s < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && cs(r) && (c = Fo(e)) && c.eq(H.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Et(e), this.currentSelection.set(r), e.scrollToSelection()) : (s > -1 || i) && (s > -1 && (e.docView.markDirty(s, o), Sp(e)), this.handleDOMChange(s, o, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Et(e), this.currentSelection.set(r));
8250
8250
  }
8251
8251
  registerMutation(e, t) {
8252
8252
  if (t.indexOf(e.target) > -1)
@@ -8284,7 +8284,7 @@ class wp {
8284
8284
  let ma = /* @__PURE__ */ new WeakMap(), ga = !1;
8285
8285
  function Sp(n) {
8286
8286
  if (!ma.has(n) && (ma.set(n, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace) !== -1)) {
8287
- if (n.requiresGeckoHackNode = Je, ga)
8287
+ if (n.requiresGeckoHackNode = _e, ga)
8288
8288
  return;
8289
8289
  console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), ga = !0;
8290
8290
  }
@@ -8360,12 +8360,12 @@ const Op = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|df
8360
8360
  function Ap(n, e, t, r, i) {
8361
8361
  let s = n.input.compositionPendingChanges || (n.composing ? n.input.compositionID : 0);
8362
8362
  if (n.input.compositionPendingChanges = 0, e < 0) {
8363
- let C = n.input.lastSelectionTime > Date.now() - 50 ? n.input.lastSelectionOrigin : null, R = Fo(n, C);
8364
- if (R && !n.state.selection.eq(R)) {
8365
- if (de && Ct && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (j) => j(n, on(13, "Enter"))))
8363
+ let C = n.input.lastSelectionTime > Date.now() - 50 ? n.input.lastSelectionOrigin : null, D = Fo(n, C);
8364
+ if (D && !n.state.selection.eq(D)) {
8365
+ if (de && Ct && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", ($) => $(n, on(13, "Enter"))))
8366
8366
  return;
8367
- let B = n.state.tr.setSelection(R);
8368
- C == "pointer" ? B.setMeta("pointer", !0) : C == "key" && B.scrollIntoView(), s && B.setMeta("composition", s), n.dispatch(B);
8367
+ let P = n.state.tr.setSelection(D);
8368
+ C == "pointer" ? P.setMeta("pointer", !0) : C == "key" && P.scrollIntoView(), s && P.setMeta("composition", s), n.dispatch(P);
8369
8369
  }
8370
8370
  return;
8371
8371
  }
@@ -8379,19 +8379,19 @@ function Ap(n, e, t, r, i) {
8379
8379
  return;
8380
8380
  }
8381
8381
  if (!p)
8382
- if (r && a instanceof P && !a.empty && a.$head.sameParent(a.$anchor) && !n.composing && !(c.sel && c.sel.anchor != c.sel.head))
8382
+ if (r && a instanceof L && !a.empty && a.$head.sameParent(a.$anchor) && !n.composing && !(c.sel && c.sel.anchor != c.sel.head))
8383
8383
  p = { start: a.from, endA: a.to, endB: a.to };
8384
8384
  else {
8385
8385
  if (c.sel) {
8386
8386
  let C = ba(n, n.state.doc, c.sel);
8387
8387
  if (C && !C.eq(n.state.selection)) {
8388
- let R = n.state.tr.setSelection(C);
8389
- s && R.setMeta("composition", s), n.dispatch(R);
8388
+ let D = n.state.tr.setSelection(C);
8389
+ s && D.setMeta("composition", s), n.dispatch(D);
8390
8390
  }
8391
8391
  }
8392
8392
  return;
8393
8393
  }
8394
- n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof P && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= c.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= c.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), Ee && Ut <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
8394
+ n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof L && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= c.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= c.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), Ee && Ut <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
8395
8395
  let m = c.doc.resolveNoCache(p.start - c.from), g = c.doc.resolveNoCache(p.endB - c.from), b = u.resolve(p.start), w = m.sameParent(g) && m.parent.inlineContent && b.end() >= p.endA;
8396
8396
  if ((jn && n.input.lastIOSEnter > Date.now() - 225 && (!w || i.some((C) => C.nodeName == "DIV" || C.nodeName == "P")) || !w && m.pos < c.doc.content.size && (!m.sameParent(g) || !m.parent.inlineContent) && m.pos < g.pos && !/\S/.test(c.doc.textBetween(m.pos, g.pos, "", ""))) && n.someProp("handleKeyDown", (C) => C(n, on(13, "Enter")))) {
8397
8397
  n.input.lastIOSEnter = 0;
@@ -8407,18 +8407,18 @@ function Ap(n, e, t, r, i) {
8407
8407
  });
8408
8408
  }, 20));
8409
8409
  let T = p.start, y = p.endA, M = (C) => {
8410
- let R = C || n.state.tr.replace(T, y, c.doc.slice(p.start - c.from, p.endB - c.from));
8410
+ let D = C || n.state.tr.replace(T, y, c.doc.slice(p.start - c.from, p.endB - c.from));
8411
8411
  if (c.sel) {
8412
- let B = ba(n, R.doc, c.sel);
8413
- B && !(de && n.composing && B.empty && (p.start != p.endB || n.input.lastChromeDelete < Date.now() - 100) && (B.head == T || B.head == R.mapping.map(y) - 1) || Ee && B.empty && B.head == T) && R.setSelection(B);
8412
+ let P = ba(n, D.doc, c.sel);
8413
+ P && !(de && n.composing && P.empty && (p.start != p.endB || n.input.lastChromeDelete < Date.now() - 100) && (P.head == T || P.head == D.mapping.map(y) - 1) || Ee && P.empty && P.head == T) && D.setSelection(P);
8414
8414
  }
8415
- return s && R.setMeta("composition", s), R.scrollIntoView();
8415
+ return s && D.setMeta("composition", s), D.scrollIntoView();
8416
8416
  }, k;
8417
8417
  if (w)
8418
8418
  if (m.pos == g.pos) {
8419
8419
  Ee && Ut <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => Et(n), 20));
8420
- let C = M(n.state.tr.delete(T, y)), R = u.resolve(p.start).marksAcross(u.resolve(p.endA));
8421
- R && C.ensureMarks(R), n.dispatch(C);
8420
+ let C = M(n.state.tr.delete(T, y)), D = u.resolve(p.start).marksAcross(u.resolve(p.endA));
8421
+ D && C.ensureMarks(D), n.dispatch(C);
8422
8422
  } else if (
8423
8423
  // Adding or removing a mark
8424
8424
  p.endA == p.endB && (k = Np(m.parent.content.cut(m.parentOffset, g.parentOffset), b.parent.content.cut(b.parentOffset, p.endA - b.start())))
@@ -8426,8 +8426,8 @@ function Ap(n, e, t, r, i) {
8426
8426
  let C = M(n.state.tr);
8427
8427
  k.type == "add" ? C.addMark(T, y, k.mark) : C.removeMark(T, y, k.mark), n.dispatch(C);
8428
8428
  } else if (m.parent.child(m.index()).isText && m.index() == g.index() - (g.textOffset ? 0 : 1)) {
8429
- let C = m.parent.textBetween(m.parentOffset, g.parentOffset), R = () => M(n.state.tr.insertText(C, T, y));
8430
- n.someProp("handleTextInput", (B) => B(n, T, y, C, R)) || n.dispatch(R());
8429
+ let C = m.parent.textBetween(m.parentOffset, g.parentOffset), D = () => M(n.state.tr.insertText(C, T, y));
8430
+ n.someProp("handleTextInput", (P) => P(n, T, y, C, D)) || n.dispatch(D());
8431
8431
  } else
8432
8432
  n.dispatch(M());
8433
8433
  else
@@ -8598,11 +8598,11 @@ class Eu {
8598
8598
  scrollToSelection() {
8599
8599
  let e = this.domSelectionRange().focusNode;
8600
8600
  if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode))) {
8601
- if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof I) {
8601
+ if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof R) {
8602
8602
  let t = this.docView.domAfterPos(this.state.selection.from);
8603
- t.nodeType == 1 && Jl(this, t.getBoundingClientRect(), e);
8603
+ t.nodeType == 1 && _l(this, t.getBoundingClientRect(), e);
8604
8604
  } else
8605
- Jl(this, this.coordsAtPos(this.state.selection.head, 1), e);
8605
+ _l(this, this.coordsAtPos(this.state.selection.head, 1), e);
8606
8606
  }
8607
8607
  }
8608
8608
  destroyPluginViews() {
@@ -8635,7 +8635,7 @@ class Eu {
8635
8635
  let s = r.from + (this.state.doc.content.size - t.doc.content.size);
8636
8636
  (s > 0 && this.state.doc.nodeAt(s)) == r.node && (i = s);
8637
8637
  }
8638
- this.dragging = new wu(e.slice, e.move, i < 0 ? void 0 : I.create(this.state.doc, i));
8638
+ this.dragging = new wu(e.slice, e.move, i < 0 ? void 0 : R.create(this.state.doc, i));
8639
8639
  }
8640
8640
  someProp(e, t) {
8641
8641
  let r = this._props && this._props[e], i;
@@ -8887,7 +8887,7 @@ function Ca(n) {
8887
8887
  if (n.spec.state || n.spec.filterTransaction || n.spec.appendTransaction)
8888
8888
  throw new RangeError("Plugins passed directly to the view must not have a state component");
8889
8889
  }
8890
- var _t = {
8890
+ var Jt = {
8891
8891
  8: "Backspace",
8892
8892
  9: "Tab",
8893
8893
  10: "Enter",
@@ -8966,13 +8966,13 @@ var _t = {
8966
8966
  221: "}",
8967
8967
  222: '"'
8968
8968
  }, Pp = typeof navigator < "u" && /Mac/.test(navigator.platform), Bp = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
8969
- for (var ye = 0; ye < 10; ye++) _t[48 + ye] = _t[96 + ye] = String(ye);
8970
- for (var ye = 1; ye <= 24; ye++) _t[ye + 111] = "F" + ye;
8969
+ for (var ye = 0; ye < 10; ye++) Jt[48 + ye] = Jt[96 + ye] = String(ye);
8970
+ for (var ye = 1; ye <= 24; ye++) Jt[ye + 111] = "F" + ye;
8971
8971
  for (var ye = 65; ye <= 90; ye++)
8972
- _t[ye] = String.fromCharCode(ye + 32), Ci[ye] = String.fromCharCode(ye);
8973
- for (var Bs in _t) Ci.hasOwnProperty(Bs) || (Ci[Bs] = _t[Bs]);
8972
+ Jt[ye] = String.fromCharCode(ye + 32), Ci[ye] = String.fromCharCode(ye);
8973
+ for (var Bs in Jt) Ci.hasOwnProperty(Bs) || (Ci[Bs] = Jt[Bs]);
8974
8974
  function zp(n) {
8975
- var e = Pp && n.metaKey && n.shiftKey && !n.ctrlKey && !n.altKey || Bp && n.shiftKey && n.key && n.key.length == 1 || n.key == "Unidentified", t = !e && n.key || (n.shiftKey ? Ci : _t)[n.keyCode] || n.key || "Unidentified";
8975
+ var e = Pp && n.metaKey && n.shiftKey && !n.ctrlKey && !n.altKey || Bp && n.shiftKey && n.key && n.key.length == 1 || n.key == "Unidentified", t = !e && n.key || (n.shiftKey ? Ci : Jt)[n.keyCode] || n.key || "Unidentified";
8976
8976
  return t == "Esc" && (t = "Escape"), t == "Del" && (t = "Delete"), t == "Left" && (t = "ArrowLeft"), t == "Up" && (t = "ArrowUp"), t == "Right" && (t = "ArrowRight"), t == "Down" && (t = "ArrowDown"), t;
8977
8977
  }
8978
8978
  const Hp = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), Fp = typeof navigator < "u" && /Win/.test(navigator.platform);
@@ -9022,7 +9022,7 @@ function Ou(n) {
9022
9022
  return !0;
9023
9023
  }
9024
9024
  if ((r.altKey || r.metaKey || r.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
9025
- !(Fp && r.ctrlKey && r.altKey) && (s = _t[r.keyCode]) && s != i) {
9025
+ !(Fp && r.ctrlKey && r.altKey) && (s = Jt[r.keyCode]) && s != i) {
9026
9026
  let l = e[zs(s, r)];
9027
9027
  if (l && l(t.state, t.dispatch, t))
9028
9028
  return !0;
@@ -9031,7 +9031,7 @@ function Ou(n) {
9031
9031
  return !1;
9032
9032
  };
9033
9033
  }
9034
- const _o = (n, e) => n.selection.empty ? !1 : (e && e(n.tr.deleteSelection().scrollIntoView()), !0);
9034
+ const Jo = (n, e) => n.selection.empty ? !1 : (e && e(n.tr.deleteSelection().scrollIntoView()), !0);
9035
9035
  function Au(n, e) {
9036
9036
  let { $cursor: t } = n.selection;
9037
9037
  return !t || (e ? !e.endOfTextblock("backward", n) : t.parentOffset > 0) ? null : t;
@@ -9040,7 +9040,7 @@ const Nu = (n, e, t) => {
9040
9040
  let r = Au(n, t);
9041
9041
  if (!r)
9042
9042
  return !1;
9043
- let i = Jo(r);
9043
+ let i = _o(r);
9044
9044
  if (!i) {
9045
9045
  let o = r.blockRange(), l = o && Yn(o);
9046
9046
  return l == null ? !1 : (e && e(n.tr.lift(o, l).scrollIntoView()), !0);
@@ -9048,13 +9048,13 @@ const Nu = (n, e, t) => {
9048
9048
  let s = i.nodeBefore;
9049
9049
  if (Fu(n, i, e, -1))
9050
9050
  return !0;
9051
- if (r.parent.content.size == 0 && (Wn(s, "end") || I.isSelectable(s)))
9051
+ if (r.parent.content.size == 0 && (Wn(s, "end") || R.isSelectable(s)))
9052
9052
  for (let o = r.depth; ; o--) {
9053
- let l = ls(n.doc, r.before(o), r.after(o), O.empty);
9053
+ let l = ls(n.doc, r.before(o), r.after(o), E.empty);
9054
9054
  if (l && l.slice.size < l.to - l.from) {
9055
9055
  if (e) {
9056
9056
  let a = n.tr.step(l);
9057
- a.setSelection(Wn(s, "end") ? F.findFrom(a.doc.resolve(a.mapping.map(i.pos, -1)), -1) : I.create(a.doc, i.pos - s.nodeSize)), e(a.scrollIntoView());
9057
+ a.setSelection(Wn(s, "end") ? H.findFrom(a.doc.resolve(a.mapping.map(i.pos, -1)), -1) : R.create(a.doc, i.pos - s.nodeSize)), e(a.scrollIntoView());
9058
9058
  }
9059
9059
  return !0;
9060
9060
  }
@@ -9066,7 +9066,7 @@ const Nu = (n, e, t) => {
9066
9066
  let r = Au(n, t);
9067
9067
  if (!r)
9068
9068
  return !1;
9069
- let i = Jo(r);
9069
+ let i = _o(r);
9070
9070
  return i ? Du(n, i, e) : !1;
9071
9071
  }, Up = (n, e, t) => {
9072
9072
  let r = Iu(n, t);
@@ -9094,12 +9094,12 @@ function Du(n, e, t) {
9094
9094
  return !1;
9095
9095
  l = u;
9096
9096
  }
9097
- let c = ls(n.doc, s, a, O.empty);
9097
+ let c = ls(n.doc, s, a, E.empty);
9098
9098
  if (!c || c.from != s || c instanceof ue && c.slice.size >= a - s)
9099
9099
  return !1;
9100
9100
  if (t) {
9101
9101
  let u = n.tr.step(c);
9102
- u.setSelection(P.create(u.doc, s)), t(u.scrollIntoView());
9102
+ u.setSelection(L.create(u.doc, s)), t(u.scrollIntoView());
9103
9103
  }
9104
9104
  return !0;
9105
9105
  }
@@ -9119,12 +9119,12 @@ const Ru = (n, e, t) => {
9119
9119
  if (r.parent.isTextblock) {
9120
9120
  if (t ? !t.endOfTextblock("backward", n) : r.parentOffset > 0)
9121
9121
  return !1;
9122
- s = Jo(r);
9122
+ s = _o(r);
9123
9123
  }
9124
9124
  let o = s && s.nodeBefore;
9125
- return !o || !I.isSelectable(o) ? !1 : (e && e(n.tr.setSelection(I.create(n.doc, s.pos - o.nodeSize)).scrollIntoView()), !0);
9125
+ return !o || !R.isSelectable(o) ? !1 : (e && e(n.tr.setSelection(R.create(n.doc, s.pos - o.nodeSize)).scrollIntoView()), !0);
9126
9126
  };
9127
- function Jo(n) {
9127
+ function _o(n) {
9128
9128
  if (!n.parent.type.spec.isolating)
9129
9129
  for (let e = n.depth - 1; e >= 0; e--) {
9130
9130
  if (n.index(e) > 0)
@@ -9148,12 +9148,12 @@ const Lu = (n, e, t) => {
9148
9148
  let s = i.nodeAfter;
9149
9149
  if (Fu(n, i, e, 1))
9150
9150
  return !0;
9151
- if (r.parent.content.size == 0 && (Wn(s, "start") || I.isSelectable(s))) {
9152
- let o = ls(n.doc, r.before(), r.after(), O.empty);
9151
+ if (r.parent.content.size == 0 && (Wn(s, "start") || R.isSelectable(s))) {
9152
+ let o = ls(n.doc, r.before(), r.after(), E.empty);
9153
9153
  if (o && o.slice.size < o.to - o.from) {
9154
9154
  if (e) {
9155
9155
  let l = n.tr.step(o);
9156
- l.setSelection(Wn(s, "start") ? F.findFrom(l.doc.resolve(l.mapping.map(i.pos)), 1) : I.create(l.doc, l.mapping.map(i.pos))), e(l.scrollIntoView());
9156
+ l.setSelection(Wn(s, "start") ? H.findFrom(l.doc.resolve(l.mapping.map(i.pos)), 1) : R.create(l.doc, l.mapping.map(i.pos))), e(l.scrollIntoView());
9157
9157
  }
9158
9158
  return !0;
9159
9159
  }
@@ -9169,7 +9169,7 @@ const Lu = (n, e, t) => {
9169
9169
  s = Go(r);
9170
9170
  }
9171
9171
  let o = s && s.nodeAfter;
9172
- return !o || !I.isSelectable(o) ? !1 : (e && e(n.tr.setSelection(I.create(n.doc, s.pos)).scrollIntoView()), !0);
9172
+ return !o || !R.isSelectable(o) ? !1 : (e && e(n.tr.setSelection(R.create(n.doc, s.pos)).scrollIntoView()), !0);
9173
9173
  };
9174
9174
  function Go(n) {
9175
9175
  if (!n.parent.type.spec.isolating)
@@ -9183,7 +9183,7 @@ function Go(n) {
9183
9183
  return null;
9184
9184
  }
9185
9185
  const Kp = (n, e) => {
9186
- let t = n.selection, r = t instanceof I, i;
9186
+ let t = n.selection, r = t instanceof R, i;
9187
9187
  if (r) {
9188
9188
  if (t.node.isTextblock || !Gt(n.doc, t.from))
9189
9189
  return !1;
@@ -9192,19 +9192,19 @@ const Kp = (n, e) => {
9192
9192
  return !1;
9193
9193
  if (e) {
9194
9194
  let s = n.tr.join(i);
9195
- r && s.setSelection(I.create(s.doc, i - n.doc.resolve(i).nodeBefore.nodeSize)), e(s.scrollIntoView());
9195
+ r && s.setSelection(R.create(s.doc, i - n.doc.resolve(i).nodeBefore.nodeSize)), e(s.scrollIntoView());
9196
9196
  }
9197
9197
  return !0;
9198
9198
  }, qp = (n, e) => {
9199
9199
  let t = n.selection, r;
9200
- if (t instanceof I) {
9200
+ if (t instanceof R) {
9201
9201
  if (t.node.isTextblock || !Gt(n.doc, t.to))
9202
9202
  return !1;
9203
9203
  r = t.to;
9204
9204
  } else if (r = ss(n.doc, t.to, 1), r == null)
9205
9205
  return !1;
9206
9206
  return e && e(n.tr.join(r).scrollIntoView()), !0;
9207
- }, _p = (n, e) => {
9207
+ }, Jp = (n, e) => {
9208
9208
  let { $from: t, $to: r } = n.selection, i = t.blockRange(r), s = i && Yn(i);
9209
9209
  return s == null ? !1 : (e && e(n.tr.lift(i, s).scrollIntoView()), !0);
9210
9210
  }, Bu = (n, e) => {
@@ -9220,7 +9220,7 @@ function Yo(n) {
9220
9220
  }
9221
9221
  return null;
9222
9222
  }
9223
- const Jp = (n, e) => {
9223
+ const _p = (n, e) => {
9224
9224
  let { $head: t, $anchor: r } = n.selection;
9225
9225
  if (!t.parent.type.spec.code || !t.sameParent(r))
9226
9226
  return !1;
@@ -9229,7 +9229,7 @@ const Jp = (n, e) => {
9229
9229
  return !1;
9230
9230
  if (e) {
9231
9231
  let l = t.after(), a = n.tr.replaceWith(l, l, o.createAndFill());
9232
- a.setSelection(F.near(a.doc.resolve(l), 1)), e(a.scrollIntoView());
9232
+ a.setSelection(H.near(a.doc.resolve(l), 1)), e(a.scrollIntoView());
9233
9233
  }
9234
9234
  return !0;
9235
9235
  }, zu = (n, e) => {
@@ -9241,7 +9241,7 @@ const Jp = (n, e) => {
9241
9241
  return !1;
9242
9242
  if (e) {
9243
9243
  let o = (!r.parentOffset && i.index() < i.parent.childCount ? r : i).pos, l = n.tr.insert(o, s.createAndFill());
9244
- l.setSelection(P.create(l.doc, o + 1)), e(l.scrollIntoView());
9244
+ l.setSelection(L.create(l.doc, o + 1)), e(l.scrollIntoView());
9245
9245
  }
9246
9246
  return !0;
9247
9247
  }, Hu = (n, e) => {
@@ -9259,7 +9259,7 @@ const Jp = (n, e) => {
9259
9259
  function Gp(n) {
9260
9260
  return (e, t) => {
9261
9261
  let { $from: r, $to: i } = e.selection;
9262
- if (e.selection instanceof I && e.selection.node.isBlock)
9262
+ if (e.selection instanceof R && e.selection.node.isBlock)
9263
9263
  return !r.parentOffset || !Tt(e.doc, r.pos) ? !1 : (t && t(e.tr.split(r.pos).scrollIntoView()), !0);
9264
9264
  if (!r.depth)
9265
9265
  return !1;
@@ -9274,7 +9274,7 @@ function Gp(n) {
9274
9274
  s.unshift(null);
9275
9275
  }
9276
9276
  let u = e.tr;
9277
- (e.selection instanceof P || e.selection instanceof Pe) && u.deleteSelection();
9277
+ (e.selection instanceof L || e.selection instanceof Pe) && u.deleteSelection();
9278
9278
  let d = u.mapping.map(r.pos), f = Tt(u.doc, d, s.length, s);
9279
9279
  if (f || (s[0] = l ? { type: l } : null, f = Tt(u.doc, d, s.length, s)), !f)
9280
9280
  return !1;
@@ -9287,7 +9287,7 @@ function Gp(n) {
9287
9287
  }
9288
9288
  const Yp = Gp(), Xp = (n, e) => {
9289
9289
  let { $from: t, to: r } = n.selection, i, s = t.sharedDepth(r);
9290
- return s == 0 ? !1 : (i = t.before(s), e && e(n.tr.setSelection(I.create(n.doc, i))), !0);
9290
+ return s == 0 ? !1 : (i = t.before(s), e && e(n.tr.setSelection(R.create(n.doc, i))), !0);
9291
9291
  };
9292
9292
  function Qp(n, e, t) {
9293
9293
  let r = e.nodeBefore, i = e.nodeAfter, s = e.index();
@@ -9304,12 +9304,12 @@ function Fu(n, e, t, r) {
9304
9304
  for (let b = o.length - 1; b >= 0; b--)
9305
9305
  p = x.from(o[b].create(null, p));
9306
9306
  p = x.from(i.copy(p));
9307
- let m = n.tr.step(new fe(e.pos - 1, h, e.pos, h, new O(p, 1, 0), o.length, !0)), g = m.doc.resolve(h + 2 * o.length);
9307
+ let m = n.tr.step(new fe(e.pos - 1, h, e.pos, h, new E(p, 1, 0), o.length, !0)), g = m.doc.resolve(h + 2 * o.length);
9308
9308
  g.nodeAfter && g.nodeAfter.type == i.type && Gt(m.doc, g.pos) && m.join(g.pos), t(m.scrollIntoView());
9309
9309
  }
9310
9310
  return !0;
9311
9311
  }
9312
- let u = s.type.spec.isolating || r > 0 && a ? null : F.findFrom(e, 1), d = u && u.$from.blockRange(u.$to), f = d && Yn(d);
9312
+ let u = s.type.spec.isolating || r > 0 && a ? null : H.findFrom(e, 1), d = u && u.$from.blockRange(u.$to), f = d && Yn(d);
9313
9313
  if (f != null && f >= e.depth)
9314
9314
  return t && t(n.tr.lift(d, f).scrollIntoView()), !0;
9315
9315
  if (c && Wn(s, "start", !0) && Wn(i, "end")) {
@@ -9324,7 +9324,7 @@ function Fu(n, e, t, r) {
9324
9324
  let b = x.empty;
9325
9325
  for (let T = p.length - 1; T >= 0; T--)
9326
9326
  b = x.from(p[T].copy(b));
9327
- let w = n.tr.step(new fe(e.pos - p.length, e.pos + s.nodeSize, e.pos + g, e.pos + s.nodeSize - g, new O(b, p.length, 0), 0, !0));
9327
+ let w = n.tr.step(new fe(e.pos - p.length, e.pos + s.nodeSize, e.pos + g, e.pos + s.nodeSize - g, new E(b, p.length, 0), 0, !0));
9328
9328
  t(w.scrollIntoView());
9329
9329
  }
9330
9330
  return !0;
@@ -9340,7 +9340,7 @@ function Vu(n) {
9340
9340
  return !1;
9341
9341
  s--;
9342
9342
  }
9343
- return i.node(s).isTextblock ? (t && t(e.tr.setSelection(P.create(e.doc, n < 0 ? i.start(s) : i.end(s)))), !0) : !1;
9343
+ return i.node(s).isTextblock ? (t && t(e.tr.setSelection(L.create(e.doc, n < 0 ? i.start(s) : i.end(s)))), !0) : !1;
9344
9344
  };
9345
9345
  }
9346
9346
  const Zp = Vu(-1), em = Vu(1);
@@ -9388,8 +9388,8 @@ function Xo(...n) {
9388
9388
  return !1;
9389
9389
  };
9390
9390
  }
9391
- Xo(_o, Nu, Ru);
9392
- Xo(_o, Lu, Pu);
9391
+ Xo(Jo, Nu, Ru);
9392
+ Xo(Jo, Lu, Pu);
9393
9393
  Xo(Bu, zu, Hu, Yp);
9394
9394
  typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os < "u" && os.platform && os.platform() == "darwin";
9395
9395
  function nm(n, e = null) {
@@ -9416,7 +9416,7 @@ function im(n, e, t, r, i) {
9416
9416
  let s = x.empty;
9417
9417
  for (let u = t.length - 1; u >= 0; u--)
9418
9418
  s = x.from(t[u].type.create(t[u].attrs, s));
9419
- n.step(new fe(e.start - (r ? 2 : 0), e.end, e.start, e.end, new O(s, 0, 0), t.length, !0));
9419
+ n.step(new fe(e.start - (r ? 2 : 0), e.end, e.start, e.end, new E(s, 0, 0), t.length, !0));
9420
9420
  let o = 0;
9421
9421
  for (let u = 0; u < t.length; u++)
9422
9422
  t[u].type == i && (o = u + 1);
@@ -9433,7 +9433,7 @@ function sm(n) {
9433
9433
  }
9434
9434
  function om(n, e, t, r) {
9435
9435
  let i = n.tr, s = r.end, o = r.$to.end(r.depth);
9436
- s < o && (i.step(new fe(s - 1, o, s, o, new O(x.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new yi(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
9436
+ s < o && (i.step(new fe(s - 1, o, s, o, new E(x.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new yi(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
9437
9437
  const l = Yn(r);
9438
9438
  if (l == null)
9439
9439
  return !1;
@@ -9452,7 +9452,7 @@ function lm(n, e, t) {
9452
9452
  if (!c.canReplace(u + (l ? 0 : 1), u + 1, o.content.append(a ? x.empty : x.from(i))))
9453
9453
  return !1;
9454
9454
  let d = s.pos, f = d + o.nodeSize;
9455
- return r.step(new fe(d - (l ? 1 : 0), f + (a ? 1 : 0), d + 1, f - 1, new O((l ? x.empty : x.from(i.copy(x.empty))).append(a ? x.empty : x.from(i.copy(x.empty))), l ? 0 : 1, a ? 0 : 1), l ? 0 : 1)), e(r.scrollIntoView()), !0;
9455
+ return r.step(new fe(d - (l ? 1 : 0), f + (a ? 1 : 0), d + 1, f - 1, new E((l ? x.empty : x.from(i.copy(x.empty))).append(a ? x.empty : x.from(i.copy(x.empty))), l ? 0 : 1, a ? 0 : 1), l ? 0 : 1)), e(r.scrollIntoView()), !0;
9456
9456
  }
9457
9457
  function am(n) {
9458
9458
  return function(e, t) {
@@ -9466,7 +9466,7 @@ function am(n) {
9466
9466
  if (a.type != n)
9467
9467
  return !1;
9468
9468
  if (t) {
9469
- let c = a.lastChild && a.lastChild.type == l.type, u = x.from(c ? n.create() : null), d = new O(x.from(n.create(null, x.from(l.type.create(null, u)))), c ? 3 : 1, 0), f = s.start, h = s.end;
9469
+ let c = a.lastChild && a.lastChild.type == l.type, u = x.from(c ? n.create() : null), d = new E(x.from(n.create(null, x.from(l.type.create(null, u)))), c ? 3 : 1, 0), f = s.start, h = s.end;
9470
9470
  t(e.tr.step(new fe(f - (c ? 3 : 1), h, f, h, d, 1, !0)).scrollIntoView());
9471
9471
  }
9472
9472
  return !0;
@@ -9582,10 +9582,10 @@ class cm {
9582
9582
  this.callbacks = {};
9583
9583
  }
9584
9584
  }
9585
- function A(n, e, t) {
9586
- return n.config[e] === void 0 && n.parent ? A(n.parent, e, t) : typeof n.config[e] == "function" ? n.config[e].bind({
9585
+ function O(n, e, t) {
9586
+ return n.config[e] === void 0 && n.parent ? O(n.parent, e, t) : typeof n.config[e] == "function" ? n.config[e].bind({
9587
9587
  ...t,
9588
- parent: n.parent ? A(n.parent, e, t) : null
9588
+ parent: n.parent ? O(n.parent, e, t) : null
9589
9589
  }) : n.config[e];
9590
9590
  }
9591
9591
  function ps(n) {
@@ -9611,7 +9611,7 @@ function $u(n) {
9611
9611
  options: o.options,
9612
9612
  storage: o.storage,
9613
9613
  extensions: i
9614
- }, a = A(o, "addGlobalAttributes", l);
9614
+ }, a = O(o, "addGlobalAttributes", l);
9615
9615
  if (!a)
9616
9616
  return;
9617
9617
  a().forEach((u) => {
@@ -9633,7 +9633,7 @@ function $u(n) {
9633
9633
  name: o.name,
9634
9634
  options: o.options,
9635
9635
  storage: o.storage
9636
- }, a = A(o, "addAttributes", l);
9636
+ }, a = O(o, "addAttributes", l);
9637
9637
  if (!a)
9638
9638
  return;
9639
9639
  const c = a();
@@ -9691,7 +9691,7 @@ function go(n, e) {
9691
9691
  function ju(n) {
9692
9692
  return typeof n == "function";
9693
9693
  }
9694
- function V(n, e = void 0, ...t) {
9694
+ function F(n, e = void 0, ...t) {
9695
9695
  return ju(n) ? e ? n.bind(e)(...t) : n(...t) : n;
9696
9696
  }
9697
9697
  function um(n = {}) {
@@ -9726,44 +9726,44 @@ function Ea(n) {
9726
9726
  }
9727
9727
  function fm(n, e) {
9728
9728
  var t;
9729
- const r = $u(n), { nodeExtensions: i, markExtensions: s } = ps(n), o = (t = i.find((c) => A(c, "topNode"))) === null || t === void 0 ? void 0 : t.name, l = Object.fromEntries(i.map((c) => {
9729
+ const r = $u(n), { nodeExtensions: i, markExtensions: s } = ps(n), o = (t = i.find((c) => O(c, "topNode"))) === null || t === void 0 ? void 0 : t.name, l = Object.fromEntries(i.map((c) => {
9730
9730
  const u = r.filter((b) => b.type === c.name), d = {
9731
9731
  name: c.name,
9732
9732
  options: c.options,
9733
9733
  storage: c.storage,
9734
9734
  editor: e
9735
9735
  }, f = n.reduce((b, w) => {
9736
- const T = A(w, "extendNodeSchema", d);
9736
+ const T = O(w, "extendNodeSchema", d);
9737
9737
  return {
9738
9738
  ...b,
9739
9739
  ...T ? T(c) : {}
9740
9740
  };
9741
9741
  }, {}), h = Ea({
9742
9742
  ...f,
9743
- content: V(A(c, "content", d)),
9744
- marks: V(A(c, "marks", d)),
9745
- group: V(A(c, "group", d)),
9746
- inline: V(A(c, "inline", d)),
9747
- atom: V(A(c, "atom", d)),
9748
- selectable: V(A(c, "selectable", d)),
9749
- draggable: V(A(c, "draggable", d)),
9750
- code: V(A(c, "code", d)),
9751
- whitespace: V(A(c, "whitespace", d)),
9752
- linebreakReplacement: V(A(c, "linebreakReplacement", d)),
9753
- defining: V(A(c, "defining", d)),
9754
- isolating: V(A(c, "isolating", d)),
9743
+ content: F(O(c, "content", d)),
9744
+ marks: F(O(c, "marks", d)),
9745
+ group: F(O(c, "group", d)),
9746
+ inline: F(O(c, "inline", d)),
9747
+ atom: F(O(c, "atom", d)),
9748
+ selectable: F(O(c, "selectable", d)),
9749
+ draggable: F(O(c, "draggable", d)),
9750
+ code: F(O(c, "code", d)),
9751
+ whitespace: F(O(c, "whitespace", d)),
9752
+ linebreakReplacement: F(O(c, "linebreakReplacement", d)),
9753
+ defining: F(O(c, "defining", d)),
9754
+ isolating: F(O(c, "isolating", d)),
9755
9755
  attrs: Object.fromEntries(u.map((b) => {
9756
9756
  var w;
9757
9757
  return [b.name, { default: (w = b?.attribute) === null || w === void 0 ? void 0 : w.default }];
9758
9758
  }))
9759
- }), p = V(A(c, "parseHTML", d));
9759
+ }), p = F(O(c, "parseHTML", d));
9760
9760
  p && (h.parseDOM = p.map((b) => Ta(b, u)));
9761
- const m = A(c, "renderHTML", d);
9761
+ const m = O(c, "renderHTML", d);
9762
9762
  m && (h.toDOM = (b) => m({
9763
9763
  node: b,
9764
9764
  HTMLAttributes: go(b, u)
9765
9765
  }));
9766
- const g = A(c, "renderText", d);
9766
+ const g = O(c, "renderText", d);
9767
9767
  return g && (h.toText = g), [c.name, h];
9768
9768
  })), a = Object.fromEntries(s.map((c) => {
9769
9769
  const u = r.filter((g) => g.type === c.name), d = {
@@ -9772,25 +9772,25 @@ function fm(n, e) {
9772
9772
  storage: c.storage,
9773
9773
  editor: e
9774
9774
  }, f = n.reduce((g, b) => {
9775
- const w = A(b, "extendMarkSchema", d);
9775
+ const w = O(b, "extendMarkSchema", d);
9776
9776
  return {
9777
9777
  ...g,
9778
9778
  ...w ? w(c) : {}
9779
9779
  };
9780
9780
  }, {}), h = Ea({
9781
9781
  ...f,
9782
- inclusive: V(A(c, "inclusive", d)),
9783
- excludes: V(A(c, "excludes", d)),
9784
- group: V(A(c, "group", d)),
9785
- spanning: V(A(c, "spanning", d)),
9786
- code: V(A(c, "code", d)),
9782
+ inclusive: F(O(c, "inclusive", d)),
9783
+ excludes: F(O(c, "excludes", d)),
9784
+ group: F(O(c, "group", d)),
9785
+ spanning: F(O(c, "spanning", d)),
9786
+ code: F(O(c, "code", d)),
9787
9787
  attrs: Object.fromEntries(u.map((g) => {
9788
9788
  var b;
9789
9789
  return [g.name, { default: (b = g?.attribute) === null || b === void 0 ? void 0 : b.default }];
9790
9790
  }))
9791
- }), p = V(A(c, "parseHTML", d));
9791
+ }), p = F(O(c, "parseHTML", d));
9792
9792
  p && (h.parseDOM = p.map((g) => Ta(g, u)));
9793
- const m = A(c, "renderHTML", d);
9793
+ const m = O(c, "renderHTML", d);
9794
9794
  return m && (h.toDOM = (g) => m({
9795
9795
  mark: g,
9796
9796
  HTMLAttributes: go(g, u)
@@ -9979,9 +9979,9 @@ class nt {
9979
9979
  }, this.config = {
9980
9980
  ...this.config,
9981
9981
  ...e
9982
- }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = V(A(this, "addOptions", {
9982
+ }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = F(O(this, "addOptions", {
9983
9983
  name: this.name
9984
- }))), this.storage = V(A(this, "addStorage", {
9984
+ }))), this.storage = F(O(this, "addStorage", {
9985
9985
  name: this.name,
9986
9986
  options: this.options
9987
9987
  })) || {};
@@ -9998,9 +9998,9 @@ class nt {
9998
9998
  }
9999
9999
  extend(e = {}) {
10000
10000
  const t = new nt(e);
10001
- return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = V(A(t, "addOptions", {
10001
+ return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = F(O(t, "addOptions", {
10002
10002
  name: t.name
10003
- })), t.storage = V(A(t, "addStorage", {
10003
+ })), t.storage = F(O(t, "addStorage", {
10004
10004
  name: t.name,
10005
10005
  options: t.options
10006
10006
  })), t;
@@ -10142,13 +10142,13 @@ function wm(n) {
10142
10142
  if (w) {
10143
10143
  let { text: M } = b;
10144
10144
  typeof M == "string" ? M = M : M = Qo(x.from(M), h.schema);
10145
- const { from: k } = b, C = k + M.length, R = xm(M);
10145
+ const { from: k } = b, C = k + M.length, D = xm(M);
10146
10146
  return a({
10147
10147
  rule: u,
10148
10148
  state: h,
10149
10149
  from: k,
10150
10150
  to: { b: C },
10151
- pasteEvt: R
10151
+ pasteEvt: D
10152
10152
  });
10153
10153
  }
10154
10154
  const T = f.doc.content.findDiffStart(h.doc.content), y = f.doc.content.findDiffEnd(h.doc.content);
@@ -10192,7 +10192,7 @@ class zn {
10192
10192
  name: t.name,
10193
10193
  options: t.options,
10194
10194
  storage: t.storage
10195
- }, i = A(t, "addExtensions", r);
10195
+ }, i = O(t, "addExtensions", r);
10196
10196
  return i ? [t, ...this.flatten(i())] : t;
10197
10197
  }).flat(10);
10198
10198
  }
@@ -10203,7 +10203,7 @@ class zn {
10203
10203
  */
10204
10204
  static sort(e) {
10205
10205
  return e.sort((r, i) => {
10206
- const s = A(r, "priority") || 100, o = A(i, "priority") || 100;
10206
+ const s = O(r, "priority") || 100, o = O(i, "priority") || 100;
10207
10207
  return s > o ? -1 : s < o ? 1 : 0;
10208
10208
  });
10209
10209
  }
@@ -10219,7 +10219,7 @@ class zn {
10219
10219
  storage: t.storage,
10220
10220
  editor: this.editor,
10221
10221
  type: Hs(t.name, this.schema)
10222
- }, i = A(t, "addCommands", r);
10222
+ }, i = O(t, "addCommands", r);
10223
10223
  return i ? {
10224
10224
  ...e,
10225
10225
  ...i()
@@ -10238,19 +10238,19 @@ class zn {
10238
10238
  storage: o.storage,
10239
10239
  editor: e,
10240
10240
  type: Hs(o.name, this.schema)
10241
- }, a = [], c = A(o, "addKeyboardShortcuts", l);
10241
+ }, a = [], c = O(o, "addKeyboardShortcuts", l);
10242
10242
  let u = {};
10243
- if (o.type === "mark" && A(o, "exitable", l) && (u.ArrowRight = () => nt.handleExit({ editor: e, mark: o })), c) {
10243
+ if (o.type === "mark" && O(o, "exitable", l) && (u.ArrowRight = () => nt.handleExit({ editor: e, mark: o })), c) {
10244
10244
  const m = Object.fromEntries(Object.entries(c()).map(([g, b]) => [g, () => b({ editor: e })]));
10245
10245
  u = { ...u, ...m };
10246
10246
  }
10247
10247
  const d = jp(u);
10248
10248
  a.push(d);
10249
- const f = A(o, "addInputRules", l);
10249
+ const f = O(o, "addInputRules", l);
10250
10250
  Oa(o, e.options.enableInputRules) && f && r.push(...f());
10251
- const h = A(o, "addPasteRules", l);
10251
+ const h = O(o, "addPasteRules", l);
10252
10252
  Oa(o, e.options.enablePasteRules) && h && i.push(...h());
10253
- const p = A(o, "addProseMirrorPlugins", l);
10253
+ const p = O(o, "addProseMirrorPlugins", l);
10254
10254
  if (p) {
10255
10255
  const m = p();
10256
10256
  a.push(...m);
@@ -10282,14 +10282,14 @@ class zn {
10282
10282
  */
10283
10283
  get nodeViews() {
10284
10284
  const { editor: e } = this, { nodeExtensions: t } = ps(this.extensions);
10285
- return Object.fromEntries(t.filter((r) => !!A(r, "addNodeView")).map((r) => {
10285
+ return Object.fromEntries(t.filter((r) => !!O(r, "addNodeView")).map((r) => {
10286
10286
  const i = this.attributes.filter((a) => a.type === r.name), s = {
10287
10287
  name: r.name,
10288
10288
  options: r.options,
10289
10289
  storage: r.storage,
10290
10290
  editor: e,
10291
10291
  type: pe(r.name, this.schema)
10292
- }, o = A(r, "addNodeView", s);
10292
+ }, o = O(r, "addNodeView", s);
10293
10293
  if (!o)
10294
10294
  return [];
10295
10295
  const l = (a, c, u, d, f) => {
@@ -10325,8 +10325,8 @@ class zn {
10325
10325
  editor: this.editor,
10326
10326
  type: Hs(e.name, this.schema)
10327
10327
  };
10328
- e.type === "mark" && (!((t = V(A(e, "keepOnSplit", r))) !== null && t !== void 0) || t) && this.splittableMarks.push(e.name);
10329
- const i = A(e, "onBeforeCreate", r), s = A(e, "onCreate", r), o = A(e, "onUpdate", r), l = A(e, "onSelectionUpdate", r), a = A(e, "onTransaction", r), c = A(e, "onFocus", r), u = A(e, "onBlur", r), d = A(e, "onDestroy", r);
10328
+ e.type === "mark" && (!((t = F(O(e, "keepOnSplit", r))) !== null && t !== void 0) || t) && this.splittableMarks.push(e.name);
10329
+ const i = O(e, "onBeforeCreate", r), s = O(e, "onCreate", r), o = O(e, "onUpdate", r), l = O(e, "onSelectionUpdate", r), a = O(e, "onTransaction", r), c = O(e, "onFocus", r), u = O(e, "onBlur", r), d = O(e, "onDestroy", r);
10330
10330
  i && this.editor.on("beforeCreate", i), s && this.editor.on("create", s), o && this.editor.on("update", o), l && this.editor.on("selectionUpdate", l), a && this.editor.on("transaction", a), c && this.editor.on("focus", c), u && this.editor.on("blur", u), d && this.editor.on("destroy", d);
10331
10331
  });
10332
10332
  }
@@ -10339,9 +10339,9 @@ class le {
10339
10339
  }, this.config = {
10340
10340
  ...this.config,
10341
10341
  ...e
10342
- }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = V(A(this, "addOptions", {
10342
+ }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = F(O(this, "addOptions", {
10343
10343
  name: this.name
10344
- }))), this.storage = V(A(this, "addStorage", {
10344
+ }))), this.storage = F(O(this, "addStorage", {
10345
10345
  name: this.name,
10346
10346
  options: this.options
10347
10347
  })) || {};
@@ -10358,9 +10358,9 @@ class le {
10358
10358
  }
10359
10359
  extend(e = {}) {
10360
10360
  const t = new le({ ...this.config, ...e });
10361
- return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = V(A(t, "addOptions", {
10361
+ return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = F(O(t, "addOptions", {
10362
10362
  name: t.name
10363
- })), t.storage = V(A(t, "addStorage", {
10363
+ })), t.storage = F(O(t, "addStorage", {
10364
10364
  name: t.name,
10365
10365
  options: t.options
10366
10366
  })), t;
@@ -10436,7 +10436,7 @@ const Cm = le.create({
10436
10436
  const { state: i } = t, s = i.doc.slice(n.from, n.to);
10437
10437
  r.deleteRange(n.from, n.to);
10438
10438
  const o = r.mapping.map(e);
10439
- return r.insert(o, s.content), r.setSelection(new P(r.doc.resolve(Math.max(o - 1, 0)))), !0;
10439
+ return r.insert(o, s.content), r.setSelection(new L(r.doc.resolve(Math.max(o - 1, 0)))), !0;
10440
10440
  }, Dm = () => ({ tr: n, dispatch: e }) => {
10441
10441
  const { selection: t } = n, r = t.$anchor.node();
10442
10442
  if (r.content.size > 0)
@@ -10465,7 +10465,7 @@ const Cm = le.create({
10465
10465
  }, Im = (n) => ({ tr: e, dispatch: t }) => {
10466
10466
  const { from: r, to: i } = n;
10467
10467
  return t && e.delete(r, i), !0;
10468
- }, Lm = () => ({ state: n, dispatch: e }) => _o(n, e), Pm = () => ({ commands: n }) => n.keyboardShortcut("Enter"), Bm = () => ({ state: n, dispatch: e }) => Jp(n, e);
10468
+ }, Lm = () => ({ state: n, dispatch: e }) => Jo(n, e), Pm = () => ({ commands: n }) => n.keyboardShortcut("Enter"), Bm = () => ({ state: n, dispatch: e }) => _p(n, e);
10469
10469
  function Mi(n, e, t = { strict: !0 }) {
10470
10470
  const r = Object.keys(e);
10471
10471
  return r.length ? r.every((i) => t.strict ? e[i] === n[i] : Zo(e[i]) ? e[i].test(n[i]) : e[i] === n[i]) : !0;
@@ -10510,7 +10510,7 @@ const zm = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
10510
10510
  if (i) {
10511
10511
  const d = tl(a, s, e);
10512
10512
  if (d && d.from <= c && d.to >= u) {
10513
- const f = P.create(o, d.from, d.to);
10513
+ const f = L.create(o, d.from, d.to);
10514
10514
  t.setSelection(f);
10515
10515
  }
10516
10516
  }
@@ -10523,7 +10523,7 @@ const zm = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
10523
10523
  return !1;
10524
10524
  };
10525
10525
  function nl(n) {
10526
- return n instanceof P;
10526
+ return n instanceof L;
10527
10527
  }
10528
10528
  function Mt(n = 0, e = 0, t = 0) {
10529
10529
  return Math.min(Math.max(n, e), t);
@@ -10531,13 +10531,13 @@ function Mt(n = 0, e = 0, t = 0) {
10531
10531
  function Ku(n, e = null) {
10532
10532
  if (!e)
10533
10533
  return null;
10534
- const t = F.atStart(n), r = F.atEnd(n);
10534
+ const t = H.atStart(n), r = H.atEnd(n);
10535
10535
  if (e === "start" || e === !0)
10536
10536
  return t;
10537
10537
  if (e === "end")
10538
10538
  return r;
10539
10539
  const i = t.from, s = r.to;
10540
- return e === "all" ? P.create(n, Mt(0, i, s), Mt(n.content.size, i, s)) : P.create(n, Mt(e, i, s), Mt(e, i, s));
10540
+ return e === "all" ? L.create(n, Mt(0, i, s), Mt(n.content.size, i, s)) : L.create(n, Mt(e, i, s), Mt(e, i, s));
10541
10541
  }
10542
10542
  function Na() {
10543
10543
  return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
@@ -10643,7 +10643,7 @@ function Wm(n, e, t) {
10643
10643
  let o = 0;
10644
10644
  s.forEach((l, a, c, u) => {
10645
10645
  o === 0 && (o = u);
10646
- }), n.setSelection(F.near(n.doc.resolve(o), t));
10646
+ }), n.setSelection(H.near(n.doc.resolve(o), t));
10647
10647
  }
10648
10648
  const Um = (n) => !("type" in n), Km = (n, e, t) => ({ tr: r, dispatch: i, editor: s }) => {
10649
10649
  var o;
@@ -10708,7 +10708,7 @@ const Um = (n) => !("type" in n), Km = (n, e, t) => ({ tr: r, dispatch: i, edito
10708
10708
  t.updateSelection && Wm(r, r.steps.length - 1, -1), t.applyInputRules && r.setMeta("applyInputRules", { from: u, text: m }), t.applyPasteRules && r.setMeta("applyPasteRules", { from: u, text: m });
10709
10709
  }
10710
10710
  return !0;
10711
- }, qm = () => ({ state: n, dispatch: e }) => Kp(n, e), _m = () => ({ state: n, dispatch: e }) => qp(n, e), Jm = () => ({ state: n, dispatch: e }) => Nu(n, e), Gm = () => ({ state: n, dispatch: e }) => Lu(n, e), Ym = () => ({ state: n, dispatch: e, tr: t }) => {
10711
+ }, qm = () => ({ state: n, dispatch: e }) => Kp(n, e), Jm = () => ({ state: n, dispatch: e }) => qp(n, e), _m = () => ({ state: n, dispatch: e }) => Nu(n, e), Gm = () => ({ state: n, dispatch: e }) => Lu(n, e), Ym = () => ({ state: n, dispatch: e, tr: t }) => {
10712
10712
  try {
10713
10713
  const r = ss(n.doc, n.selection.$from.pos, -1);
10714
10714
  return r == null ? !1 : (t.join(r, 2), e && e(t), !0);
@@ -10723,7 +10723,7 @@ const Um = (n) => !("type" in n), Km = (n, e, t) => ({ tr: r, dispatch: i, edito
10723
10723
  return !1;
10724
10724
  }
10725
10725
  }, Qm = () => ({ state: n, dispatch: e }) => Wp(n, e), Zm = () => ({ state: n, dispatch: e }) => Up(n, e);
10726
- function _u() {
10726
+ function Ju() {
10727
10727
  return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
10728
10728
  }
10729
10729
  function eg(n) {
@@ -10742,7 +10742,7 @@ function eg(n) {
10742
10742
  else if (/^s(hift)?$/i.test(a))
10743
10743
  s = !0;
10744
10744
  else if (/^mod$/i.test(a))
10745
- Ti() || _u() ? o = !0 : i = !0;
10745
+ Ti() || Ju() ? o = !0 : i = !0;
10746
10746
  else
10747
10747
  throw new Error(`Unrecognized modifier name: ${a}`);
10748
10748
  }
@@ -10782,7 +10782,7 @@ function Or(n, e, t = {}) {
10782
10782
  }
10783
10783
  const ng = (n, e = {}) => ({ state: t, dispatch: r }) => {
10784
10784
  const i = pe(n, t.schema);
10785
- return Or(t, i, e) ? _p(t, r) : !1;
10785
+ return Or(t, i, e) ? Jp(t, r) : !1;
10786
10786
  }, rg = () => ({ state: n, dispatch: e }) => Hu(n, e), ig = (n) => ({ state: e, dispatch: t }) => {
10787
10787
  const r = pe(n, e.schema);
10788
10788
  return sm(r)(e, t);
@@ -10832,7 +10832,7 @@ const pg = (n, e = !1, t = {}, r = {}) => ({ editor: i, tr: s, dispatch: o, comm
10832
10832
  errorOnInvalidContent: (c = r.errorOnInvalidContent) !== null && c !== void 0 ? c : i.options.enableContentCheck
10833
10833
  });
10834
10834
  };
10835
- function Ju(n, e) {
10835
+ function _u(n, e) {
10836
10836
  const t = Xt(e, n.schema), { from: r, to: i, empty: s } = n.selection, o = [];
10837
10837
  s ? (n.storedMarks && o.push(...n.storedMarks), o.push(...n.selection.$head.marks())) : n.doc.nodesBetween(r, i, (a) => {
10838
10838
  o.push(...a.marks);
@@ -10897,7 +10897,7 @@ function vg(n, e) {
10897
10897
  }
10898
10898
  function Yu(n, e) {
10899
10899
  const t = ys(typeof e == "string" ? e : e.name, n.schema);
10900
- return t === "node" ? vg(n, e) : t === "mark" ? Ju(n, e) : {};
10900
+ return t === "node" ? vg(n, e) : t === "mark" ? _u(n, e) : {};
10901
10901
  }
10902
10902
  function kg(n, e = JSON.stringify) {
10903
10903
  const t = {};
@@ -10998,7 +10998,7 @@ function Ra(n, e) {
10998
10998
  name: r.name,
10999
10999
  options: r.options,
11000
11000
  storage: r.storage
11001
- }, s = V(A(r, "group", i));
11001
+ }, s = F(O(r, "group", i));
11002
11002
  return typeof s != "string" ? !1 : s.split(" ").includes("list");
11003
11003
  }
11004
11004
  function bs(n, { checkChildren: e = !0, ignoreWhitespace: t = !1 } = {}) {
@@ -11024,7 +11024,7 @@ function bs(n, { checkChildren: e = !0, ignoreWhitespace: t = !1 } = {}) {
11024
11024
  return !1;
11025
11025
  }
11026
11026
  function Xu(n) {
11027
- return n instanceof I;
11027
+ return n instanceof R;
11028
11028
  }
11029
11029
  function Qu(n, e, t) {
11030
11030
  const i = n.state.doc.content.size, s = Mt(e, 0, i), o = Mt(t, 0, i), l = n.coordsAtPos(s), a = n.coordsAtPos(o, -1), c = Math.min(l.top, a.top), u = Math.max(l.bottom, a.bottom), d = Math.min(l.left, a.left), f = Math.max(l.right, a.right), h = f - d, p = u - c, b = {
@@ -11068,7 +11068,7 @@ const Mg = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
11068
11068
  const { selection: s } = t, { empty: o, ranges: l } = s, a = Xt(n, r.schema);
11069
11069
  if (i)
11070
11070
  if (o) {
11071
- const c = Ju(r, a);
11071
+ const c = _u(r, a);
11072
11072
  t.addStoredMark(a.create({
11073
11073
  ...c,
11074
11074
  ...e
@@ -11093,13 +11093,13 @@ const Mg = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
11093
11093
  return t.selection.$anchor.sameParent(t.selection.$head) && (o = t.selection.$anchor.parent.attrs), s.isTextblock ? i().command(({ commands: l }) => Ma(s, { ...o, ...e })(t) ? !0 : l.clearNodes()).command(({ state: l }) => Ma(s, { ...o, ...e })(l, r)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
11094
11094
  }, Og = (n) => ({ tr: e, dispatch: t }) => {
11095
11095
  if (t) {
11096
- const { doc: r } = e, i = Mt(n, 0, r.content.size), s = I.create(r, i);
11096
+ const { doc: r } = e, i = Mt(n, 0, r.content.size), s = R.create(r, i);
11097
11097
  e.setSelection(s);
11098
11098
  }
11099
11099
  return !0;
11100
11100
  }, Ag = (n) => ({ tr: e, dispatch: t }) => {
11101
11101
  if (t) {
11102
- const { doc: r } = e, { from: i, to: s } = typeof n == "number" ? { from: n, to: n } : n, o = P.atStart(r).from, l = P.atEnd(r).to, a = Mt(i, o, l), c = Mt(s, o, l), u = P.create(r, a, c);
11102
+ const { doc: r } = e, { from: i, to: s } = typeof n == "number" ? { from: n, to: n } : n, o = L.atStart(r).from, l = L.atEnd(r).to, a = Mt(i, o, l), c = Mt(s, o, l), u = L.create(r, a, c);
11103
11103
  e.setSelection(u);
11104
11104
  }
11105
11105
  return !0;
@@ -11116,7 +11116,7 @@ function Ia(n, e) {
11116
11116
  }
11117
11117
  const Dg = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, editor: i }) => {
11118
11118
  const { selection: s, doc: o } = e, { $from: l, $to: a } = s, c = i.extensionManager.attributes, u = ui(c, l.node().type.name, l.node().attrs);
11119
- if (s instanceof I && s.node.isBlock)
11119
+ if (s instanceof R && s.node.isBlock)
11120
11120
  return !l.parentOffset || !Tt(o, l.pos) ? !1 : (r && (n && Ia(t, i.extensionManager.splittableMarks), e.split(l.pos).scrollIntoView()), !0);
11121
11121
  if (!l.parent.isBlock)
11122
11122
  return !1;
@@ -11133,7 +11133,7 @@ const Dg = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
11133
11133
  attrs: u
11134
11134
  }
11135
11135
  ] : void 0), r) {
11136
- if (p && (s instanceof P && e.deleteSelection(), e.split(e.mapping.map(l.pos), 1, h), f && !d && !l.parentOffset && l.parent.type !== f)) {
11136
+ if (p && (s instanceof L && e.deleteSelection(), e.split(e.mapping.map(l.pos), 1, h), f && !d && !l.parentOffset && l.parent.type !== f)) {
11137
11137
  const m = e.mapping.map(l.before()), g = e.doc.resolve(m);
11138
11138
  l.node(-1).canReplaceWith(g.index(), g.index() + 1, f) && e.setNodeMarkup(e.mapping.map(l.before()), f);
11139
11139
  }
@@ -11155,21 +11155,21 @@ const Dg = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
11155
11155
  if (i) {
11156
11156
  let b = x.empty;
11157
11157
  const w = a.index(-1) ? 1 : a.index(-2) ? 2 : 3;
11158
- for (let R = a.depth - w; R >= a.depth - 3; R -= 1)
11159
- b = x.from(a.node(R).copy(b));
11158
+ for (let D = a.depth - w; D >= a.depth - 3; D -= 1)
11159
+ b = x.from(a.node(D).copy(b));
11160
11160
  const T = a.indexAfter(-1) < a.node(-2).childCount ? 1 : a.indexAfter(-2) < a.node(-3).childCount ? 2 : 3, y = {
11161
11161
  ...ui(f, a.node().type.name, a.node().attrs),
11162
11162
  ...e
11163
11163
  }, M = ((o = l.contentMatch.defaultType) === null || o === void 0 ? void 0 : o.createAndFill(y)) || void 0;
11164
11164
  b = b.append(x.from(l.createAndFill(null, M) || void 0));
11165
11165
  const k = a.before(a.depth - (w - 1));
11166
- t.replace(k, a.after(-T), new O(b, 4 - w, 0));
11166
+ t.replace(k, a.after(-T), new E(b, 4 - w, 0));
11167
11167
  let C = -1;
11168
- t.doc.nodesBetween(k, t.doc.content.size, (R, B) => {
11168
+ t.doc.nodesBetween(k, t.doc.content.size, (D, P) => {
11169
11169
  if (C > -1)
11170
11170
  return !1;
11171
- R.isTextblock && R.content.size === 0 && (C = B + 1);
11172
- }), C > -1 && t.setSelection(P.near(t.doc.resolve(C))), t.scrollIntoView();
11171
+ D.isTextblock && D.content.size === 0 && (C = P + 1);
11172
+ }), C > -1 && t.setSelection(L.near(t.doc.resolve(C))), t.scrollIntoView();
11173
11173
  }
11174
11174
  return !0;
11175
11175
  }
@@ -11225,7 +11225,7 @@ const Dg = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
11225
11225
  return a().command(() => (s.setNodeMarkup(M.pos, h), !0)).command(() => Fs(s, h)).command(() => Vs(s, h)).run();
11226
11226
  }
11227
11227
  return !t || !y || !l ? a().command(() => u().wrapInList(h, r) ? !0 : c.clearNodes()).wrapInList(h, r).command(() => Fs(s, h)).command(() => Vs(s, h)).run() : a().command(() => {
11228
- const k = u().wrapInList(h, r), C = y.filter((R) => f.includes(R.type.name));
11228
+ const k = u().wrapInList(h, r), C = y.filter((D) => f.includes(D.type.name));
11229
11229
  return s.ensureMarks(C), k ? !0 : c.clearNodes();
11230
11230
  }).wrapInList(h, r).command(() => Fs(s, h)).command(() => Vs(s, h)).run();
11231
11231
  }, Lg = (n, e = {}, t = {}) => ({ state: r, commands: i }) => {
@@ -11335,8 +11335,8 @@ var Wg = /* @__PURE__ */ Object.freeze({
11335
11335
  forEach: $m,
11336
11336
  insertContent: jm,
11337
11337
  insertContentAt: Km,
11338
- joinBackward: Jm,
11339
- joinDown: _m,
11338
+ joinBackward: _m,
11339
+ joinDown: Jm,
11340
11340
  joinForward: Gm,
11341
11341
  joinItemBackward: Ym,
11342
11342
  joinItemForward: Xm,
@@ -11414,13 +11414,13 @@ const Ug = le.create({
11414
11414
  })
11415
11415
  ];
11416
11416
  }
11417
- }), _g = new we("focusEvents"), Jg = le.create({
11417
+ }), Jg = new we("focusEvents"), _g = le.create({
11418
11418
  name: "focusEvents",
11419
11419
  addProseMirrorPlugins() {
11420
11420
  const { editor: n } = this;
11421
11421
  return [
11422
11422
  new se({
11423
- key: _g,
11423
+ key: Jg,
11424
11424
  props: {
11425
11425
  handleDOMEvents: {
11426
11426
  focus: (e, t) => {
@@ -11445,7 +11445,7 @@ const Ug = le.create({
11445
11445
  () => o.undoInputRule(),
11446
11446
  // maybe convert first text block node to default node
11447
11447
  () => o.command(({ tr: l }) => {
11448
- const { selection: a, doc: c } = l, { empty: u, $anchor: d } = a, { pos: f, parent: h } = d, p = d.parent.isTextblock && f > 0 ? l.doc.resolve(f - 1) : d, m = p.parent.type.spec.isolating, g = d.pos - d.parentOffset, b = m && p.parent.childCount === 1 ? g === d.pos : F.atStart(c).from === f;
11448
+ const { selection: a, doc: c } = l, { empty: u, $anchor: d } = a, { pos: f, parent: h } = d, p = d.parent.isTextblock && f > 0 ? l.doc.resolve(f - 1) : d, m = p.parent.type.spec.isolating, g = d.pos - d.parentOffset, b = m && p.parent.childCount === 1 ? g === d.pos : H.atStart(c).from === f;
11449
11449
  return !u || !h.type.isTextblock || h.textContent.length || !b || b && d.parent.type.name === "paragraph" ? !1 : o.clearNodes();
11450
11450
  }),
11451
11451
  () => o.deleteSelection(),
@@ -11483,7 +11483,7 @@ const Ug = le.create({
11483
11483
  "Ctrl-a": () => this.editor.commands.selectTextblockStart(),
11484
11484
  "Ctrl-e": () => this.editor.commands.selectTextblockEnd()
11485
11485
  };
11486
- return Ti() || _u() ? s : i;
11486
+ return Ti() || Ju() ? s : i;
11487
11487
  },
11488
11488
  addProseMirrorPlugins() {
11489
11489
  return [
@@ -11500,7 +11500,7 @@ const Ug = le.create({
11500
11500
  const r = n.some((m) => m.docChanged) && !e.doc.eq(t.doc), i = n.some((m) => m.getMeta("preventClearDocument"));
11501
11501
  if (!r || i)
11502
11502
  return;
11503
- const { empty: s, from: o, to: l } = e.selection, a = F.atStart(e.doc).from, c = F.atEnd(e.doc).to;
11503
+ const { empty: s, from: o, to: l } = e.selection, a = H.atStart(e.doc).from, c = H.atEnd(e.doc).to;
11504
11504
  if (s || !(o === a && l === c) || !bs(t.doc))
11505
11505
  return;
11506
11506
  const f = t.tr, h = fs({
@@ -11892,7 +11892,7 @@ let e0 = class extends cm {
11892
11892
  blockSeparator: (t = (e = this.options.coreExtensionOptions) === null || e === void 0 ? void 0 : e.clipboardTextSerializer) === null || t === void 0 ? void 0 : t.blockSeparator
11893
11893
  }),
11894
11894
  Ug,
11895
- Jg,
11895
+ _g,
11896
11896
  Gg,
11897
11897
  Xg,
11898
11898
  Kg,
@@ -12106,7 +12106,7 @@ function xn(n) {
12106
12106
  return new ms({
12107
12107
  find: n.find,
12108
12108
  handler: ({ state: e, range: t, match: r }) => {
12109
- const i = V(n.getAttributes, void 0, r);
12109
+ const i = F(n.getAttributes, void 0, r);
12110
12110
  if (i === !1 || i === null)
12111
12111
  return null;
12112
12112
  const { tr: s } = e, o = r[r.length - 1], l = r[0];
@@ -12125,7 +12125,7 @@ function t0(n) {
12125
12125
  return new ms({
12126
12126
  find: n.find,
12127
12127
  handler: ({ state: e, range: t, match: r }) => {
12128
- const i = V(n.getAttributes, void 0, r) || {}, { tr: s } = e, o = t.from;
12128
+ const i = F(n.getAttributes, void 0, r) || {}, { tr: s } = e, o = t.from;
12129
12129
  let l = t.to;
12130
12130
  const a = n.type.create(i);
12131
12131
  if (r[1]) {
@@ -12146,7 +12146,7 @@ function vo(n) {
12146
12146
  return new ms({
12147
12147
  find: n.find,
12148
12148
  handler: ({ state: e, range: t, match: r }) => {
12149
- const i = e.doc.resolve(t.from), s = V(n.getAttributes, void 0, r) || {};
12149
+ const i = e.doc.resolve(t.from), s = F(n.getAttributes, void 0, r) || {};
12150
12150
  if (!i.node(-1).canReplaceWith(i.index(-1), i.indexAfter(-1), n.type))
12151
12151
  return null;
12152
12152
  e.tr.delete(t.from, t.to).setBlockType(t.from, t.from, n.type, s);
@@ -12157,7 +12157,7 @@ function Un(n) {
12157
12157
  return new ms({
12158
12158
  find: n.find,
12159
12159
  handler: ({ state: e, range: t, match: r, chain: i }) => {
12160
- const s = V(n.getAttributes, void 0, r) || {}, o = e.tr.delete(t.from, t.to), a = o.doc.resolve(t.from).blockRange(), c = a && Bo(a, n.type, s);
12160
+ const s = F(n.getAttributes, void 0, r) || {}, o = e.tr.delete(t.from, t.to), a = o.doc.resolve(t.from).blockRange(), c = a && Bo(a, n.type, s);
12161
12161
  if (!c)
12162
12162
  return null;
12163
12163
  if (o.wrap(a, c), n.keepMarks && n.editor) {
@@ -12184,9 +12184,9 @@ class ke {
12184
12184
  }, this.config = {
12185
12185
  ...this.config,
12186
12186
  ...e
12187
- }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = V(A(this, "addOptions", {
12187
+ }, this.name = this.config.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`), this.options = this.config.defaultOptions, this.config.addOptions && (this.options = F(O(this, "addOptions", {
12188
12188
  name: this.name
12189
- }))), this.storage = V(A(this, "addStorage", {
12189
+ }))), this.storage = F(O(this, "addStorage", {
12190
12190
  name: this.name,
12191
12191
  options: this.options
12192
12192
  })) || {};
@@ -12203,19 +12203,19 @@ class ke {
12203
12203
  }
12204
12204
  extend(e = {}) {
12205
12205
  const t = new ke(e);
12206
- return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = V(A(t, "addOptions", {
12206
+ return t.parent = this, this.child = t, t.name = e.name ? e.name : t.parent.name, e.defaultOptions && Object.keys(e.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`), t.options = F(O(t, "addOptions", {
12207
12207
  name: t.name
12208
- })), t.storage = V(A(t, "addStorage", {
12208
+ })), t.storage = F(O(t, "addStorage", {
12209
12209
  name: t.name,
12210
12210
  options: t.options
12211
12211
  })), t;
12212
12212
  }
12213
12213
  }
12214
- function Jt(n) {
12214
+ function _t(n) {
12215
12215
  return new bm({
12216
12216
  find: n.find,
12217
12217
  handler: ({ state: e, range: t, match: r, pasteEvent: i }) => {
12218
- const s = V(n.getAttributes, void 0, r, i);
12218
+ const s = F(n.getAttributes, void 0, r, i);
12219
12219
  if (s === !1 || s === null)
12220
12220
  return null;
12221
12221
  const { tr: o } = e, l = r[r.length - 1], a = r[0];
@@ -12231,7 +12231,7 @@ function Jt(n) {
12231
12231
  }
12232
12232
  function n0(n, e) {
12233
12233
  const { selection: t } = n, { $from: r } = t;
12234
- if (t instanceof I) {
12234
+ if (t instanceof R) {
12235
12235
  const s = r.index();
12236
12236
  return r.parent.canReplaceWith(s, s + 1, e);
12237
12237
  }
@@ -12338,11 +12338,11 @@ const r0 = /^\s*>\s$/, i0 = ke.create({
12338
12338
  },
12339
12339
  addPasteRules() {
12340
12340
  return [
12341
- Jt({
12341
+ _t({
12342
12342
  find: o0,
12343
12343
  type: this.type
12344
12344
  }),
12345
- Jt({
12345
+ _t({
12346
12346
  find: a0,
12347
12347
  type: this.type
12348
12348
  })
@@ -12436,7 +12436,7 @@ const r0 = /^\s*>\s$/, i0 = ke.create({
12436
12436
  },
12437
12437
  addPasteRules() {
12438
12438
  return [
12439
- Jt({
12439
+ _t({
12440
12440
  find: h0,
12441
12441
  type: this.type
12442
12442
  })
@@ -12526,7 +12526,7 @@ const r0 = /^\s*>\s$/, i0 = ke.create({
12526
12526
  if (!s || i.parent.type !== this.type || !(i.parentOffset === i.parent.nodeSize - 2))
12527
12527
  return !1;
12528
12528
  const l = i.after();
12529
- return l === void 0 ? !1 : r.nodeAt(l) ? n.commands.command(({ tr: c }) => (c.setSelection(F.near(r.resolve(l))), !0)) : n.commands.exitCode();
12529
+ return l === void 0 ? !1 : r.nodeAt(l) ? n.commands.command(({ tr: c }) => (c.setSelection(H.near(r.resolve(l))), !0)) : n.commands.exitCode();
12530
12530
  }
12531
12531
  };
12532
12532
  },
@@ -12563,7 +12563,7 @@ const r0 = /^\s*>\s$/, i0 = ke.create({
12563
12563
  return !1;
12564
12564
  const { tr: o, schema: l } = n.state, a = l.text(t.replace(/\r\n?/g, `
12565
12565
  `));
12566
- return o.replaceSelectionWith(this.type.create({ language: s }, a)), o.selection.$from.parent.type !== this.type && o.setSelection(P.near(o.doc.resolve(Math.max(0, o.selection.from - 2)))), o.setMeta("paste", !0), n.dispatch(o), !0;
12566
+ return o.replaceSelectionWith(this.type.create({ language: s }, a)), o.selection.$from.parent.type !== this.type && o.setSelection(L.near(o.doc.resolve(Math.max(0, o.selection.from - 2)))), o.setMeta("paste", !0), n.dispatch(o), !0;
12567
12567
  }
12568
12568
  }
12569
12569
  })
@@ -12670,7 +12670,7 @@ const x0 = le.create({
12670
12670
  ];
12671
12671
  }
12672
12672
  });
12673
- class ee extends F {
12673
+ class ee extends H {
12674
12674
  /**
12675
12675
  Create a gap cursor.
12676
12676
  */
@@ -12679,10 +12679,10 @@ class ee extends F {
12679
12679
  }
12680
12680
  map(e, t) {
12681
12681
  let r = e.resolve(t.map(this.head));
12682
- return ee.valid(r) ? new ee(r) : F.near(r);
12682
+ return ee.valid(r) ? new ee(r) : H.near(r);
12683
12683
  }
12684
12684
  content() {
12685
- return O.empty;
12685
+ return E.empty;
12686
12686
  }
12687
12687
  eq(e) {
12688
12688
  return e instanceof ee && e.head == this.head;
@@ -12740,7 +12740,7 @@ class ee extends F {
12740
12740
  for (; ; ) {
12741
12741
  let o = t > 0 ? s.firstChild : s.lastChild;
12742
12742
  if (!o) {
12743
- if (s.isAtom && !s.isText && !I.isSelectable(s)) {
12743
+ if (s.isAtom && !s.isText && !R.isSelectable(s)) {
12744
12744
  e = e.doc.resolve(i + s.nodeSize * t), r = !1;
12745
12745
  continue e;
12746
12746
  }
@@ -12757,7 +12757,7 @@ class ee extends F {
12757
12757
  }
12758
12758
  ee.prototype.visible = !1;
12759
12759
  ee.findFrom = ee.findGapCursorFrom;
12760
- F.jsonID("gapcursor", ee);
12760
+ H.jsonID("gapcursor", ee);
12761
12761
  class sl {
12762
12762
  constructor(e) {
12763
12763
  this.pos = e;
@@ -12767,7 +12767,7 @@ class sl {
12767
12767
  }
12768
12768
  resolve(e) {
12769
12769
  let t = e.resolve(this.pos);
12770
- return ee.valid(t) ? new ee(t) : F.near(t);
12770
+ return ee.valid(t) ? new ee(t) : H.near(t);
12771
12771
  }
12772
12772
  }
12773
12773
  function Zu(n) {
@@ -12830,7 +12830,7 @@ function ni(n, e) {
12830
12830
  const t = n == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left";
12831
12831
  return function(r, i, s) {
12832
12832
  let o = r.selection, l = e > 0 ? o.$to : o.$from, a = o.empty;
12833
- if (o instanceof P) {
12833
+ if (o instanceof L) {
12834
12834
  if (!s.endOfTextblock(t) || l.depth == 0)
12835
12835
  return !1;
12836
12836
  a = !1, l = r.doc.resolve(e > 0 ? l.after() : l.before());
@@ -12846,7 +12846,7 @@ function T0(n, e, t) {
12846
12846
  if (!ee.valid(r))
12847
12847
  return !1;
12848
12848
  let i = n.posAtCoords({ left: t.clientX, top: t.clientY });
12849
- return i && i.inside > -1 && I.isSelectable(n.state.doc.nodeAt(i.inside)) ? !1 : (n.dispatch(n.state.tr.setSelection(new ee(r))), !0);
12849
+ return i && i.inside > -1 && R.isSelectable(n.state.doc.nodeAt(i.inside)) ? !1 : (n.dispatch(n.state.tr.setSelection(new ee(r))), !0);
12850
12850
  }
12851
12851
  function E0(n, e) {
12852
12852
  if (e.inputType != "insertCompositionText" || !(n.state.selection instanceof ee))
@@ -12857,8 +12857,8 @@ function E0(n, e) {
12857
12857
  let i = x.empty;
12858
12858
  for (let o = r.length - 1; o >= 0; o--)
12859
12859
  i = x.from(r[o].createAndFill(null, i));
12860
- let s = n.state.tr.replace(t.pos, t.pos, new O(i, 0, 0));
12861
- return s.setSelection(P.near(s.doc.resolve(t.pos + 1))), n.dispatch(s), !1;
12860
+ let s = n.state.tr.replace(t.pos, t.pos, new E(i, 0, 0));
12861
+ return s.setSelection(L.near(s.doc.resolve(t.pos + 1))), n.dispatch(s), !1;
12862
12862
  }
12863
12863
  function O0(n) {
12864
12864
  if (!(n.selection instanceof ee))
@@ -12881,7 +12881,7 @@ const A0 = le.create({
12881
12881
  storage: n.storage
12882
12882
  };
12883
12883
  return {
12884
- allowGapCursor: (e = V(A(n, "allowGapCursor", t))) !== null && e !== void 0 ? e : null
12884
+ allowGapCursor: (e = F(O(n, "allowGapCursor", t))) !== null && e !== void 0 ? e : null
12885
12885
  };
12886
12886
  }
12887
12887
  }), N0 = ke.create({
@@ -13015,7 +13015,7 @@ he.prototype.map = function(e, t, r) {
13015
13015
  he.from = function(e) {
13016
13016
  return e instanceof he ? e : e && e.length ? new ed(e) : he.empty;
13017
13017
  };
13018
- var ed = /* @__PURE__ */ function(n) {
13018
+ var ed = /* @__PURE__ */ (function(n) {
13019
13019
  function e(r) {
13020
13020
  n.call(this), this.values = r;
13021
13021
  }
@@ -13046,9 +13046,9 @@ var ed = /* @__PURE__ */ function(n) {
13046
13046
  }, t.depth.get = function() {
13047
13047
  return 0;
13048
13048
  }, Object.defineProperties(e.prototype, t), e;
13049
- }(he);
13049
+ })(he);
13050
13050
  he.empty = new ed([]);
13051
- var R0 = /* @__PURE__ */ function(n) {
13051
+ var R0 = /* @__PURE__ */ (function(n) {
13052
13052
  function e(t, r) {
13053
13053
  n.call(this), this.left = t, this.right = r, this.length = t.length + r.length, this.depth = Math.max(t.depth, r.depth) + 1;
13054
13054
  }
@@ -13080,7 +13080,7 @@ var R0 = /* @__PURE__ */ function(n) {
13080
13080
  }, e.prototype.appendInner = function(r) {
13081
13081
  return this.left.depth >= Math.max(this.right.depth, r.depth) + 1 ? new e(this.left, new e(this.right, r)) : new e(this, r);
13082
13082
  }, e;
13083
- }(he);
13083
+ })(he);
13084
13084
  const I0 = 500;
13085
13085
  class tt {
13086
13086
  constructor(e, t) {
@@ -13381,10 +13381,10 @@ const nd = td(!1, !0), rd = td(!0, !0), $0 = le.create({
13381
13381
  if (l) {
13382
13382
  const { $to: c } = o.selection, u = c.end();
13383
13383
  if (c.nodeAfter)
13384
- c.nodeAfter.isTextblock ? o.setSelection(P.create(o.doc, c.pos + 1)) : c.nodeAfter.isBlock ? o.setSelection(I.create(o.doc, c.pos)) : o.setSelection(P.create(o.doc, c.pos));
13384
+ c.nodeAfter.isTextblock ? o.setSelection(L.create(o.doc, c.pos + 1)) : c.nodeAfter.isBlock ? o.setSelection(R.create(o.doc, c.pos)) : o.setSelection(L.create(o.doc, c.pos));
13385
13385
  else {
13386
13386
  const d = (a = c.parent.type.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.create();
13387
- d && (o.insert(u, d), o.setSelection(P.create(o.doc, u + 1)));
13387
+ d && (o.insert(u, d), o.setSelection(L.create(o.doc, u + 1)));
13388
13388
  }
13389
13389
  o.scrollIntoView();
13390
13390
  }
@@ -13401,7 +13401,7 @@ const nd = td(!1, !0), rd = td(!0, !0), $0 = le.create({
13401
13401
  })
13402
13402
  ];
13403
13403
  }
13404
- }), W0 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, U0 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, K0 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, q0 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, _0 = nt.create({
13404
+ }), W0 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, U0 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, K0 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, q0 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, J0 = nt.create({
13405
13405
  name: "italic",
13406
13406
  addOptions() {
13407
13407
  return {
@@ -13456,17 +13456,17 @@ const nd = td(!1, !0), rd = td(!0, !0), $0 = le.create({
13456
13456
  },
13457
13457
  addPasteRules() {
13458
13458
  return [
13459
- Jt({
13459
+ _t({
13460
13460
  find: U0,
13461
13461
  type: this.type
13462
13462
  }),
13463
- Jt({
13463
+ _t({
13464
13464
  find: q0,
13465
13465
  type: this.type
13466
13466
  })
13467
13467
  ];
13468
13468
  }
13469
- }), J0 = ke.create({
13469
+ }), _0 = ke.create({
13470
13470
  name: "listItem",
13471
13471
  addOptions() {
13472
13472
  return {
@@ -13638,7 +13638,7 @@ const nd = td(!1, !0), rd = td(!0, !0), $0 = le.create({
13638
13638
  },
13639
13639
  addPasteRules() {
13640
13640
  return [
13641
- Jt({
13641
+ _t({
13642
13642
  find: Z0,
13643
13643
  type: this.type
13644
13644
  })
@@ -13651,7 +13651,7 @@ const nd = td(!1, !0), rd = td(!0, !0), $0 = le.create({
13651
13651
  name: "starterKit",
13652
13652
  addExtensions() {
13653
13653
  const n = [];
13654
- return this.options.bold !== !1 && n.push(c0.configure(this.options.bold)), this.options.blockquote !== !1 && n.push(i0.configure(this.options.blockquote)), this.options.bulletList !== !1 && n.push(d0.configure(this.options.bulletList)), this.options.code !== !1 && n.push(p0.configure(this.options.code)), this.options.codeBlock !== !1 && n.push(y0.configure(this.options.codeBlock)), this.options.document !== !1 && n.push(b0.configure(this.options.document)), this.options.dropcursor !== !1 && n.push(x0.configure(this.options.dropcursor)), this.options.gapcursor !== !1 && n.push(A0.configure(this.options.gapcursor)), this.options.hardBreak !== !1 && n.push(N0.configure(this.options.hardBreak)), this.options.heading !== !1 && n.push(D0.configure(this.options.heading)), this.options.history !== !1 && n.push($0.configure(this.options.history)), this.options.horizontalRule !== !1 && n.push(j0.configure(this.options.horizontalRule)), this.options.italic !== !1 && n.push(_0.configure(this.options.italic)), this.options.listItem !== !1 && n.push(J0.configure(this.options.listItem)), this.options.orderedList !== !1 && n.push(Y0.configure(this.options.orderedList)), this.options.paragraph !== !1 && n.push(X0.configure(this.options.paragraph)), this.options.strike !== !1 && n.push(ey.configure(this.options.strike)), this.options.text !== !1 && n.push(ty.configure(this.options.text)), n;
13654
+ return this.options.bold !== !1 && n.push(c0.configure(this.options.bold)), this.options.blockquote !== !1 && n.push(i0.configure(this.options.blockquote)), this.options.bulletList !== !1 && n.push(d0.configure(this.options.bulletList)), this.options.code !== !1 && n.push(p0.configure(this.options.code)), this.options.codeBlock !== !1 && n.push(y0.configure(this.options.codeBlock)), this.options.document !== !1 && n.push(b0.configure(this.options.document)), this.options.dropcursor !== !1 && n.push(x0.configure(this.options.dropcursor)), this.options.gapcursor !== !1 && n.push(A0.configure(this.options.gapcursor)), this.options.hardBreak !== !1 && n.push(N0.configure(this.options.hardBreak)), this.options.heading !== !1 && n.push(D0.configure(this.options.heading)), this.options.history !== !1 && n.push($0.configure(this.options.history)), this.options.horizontalRule !== !1 && n.push(j0.configure(this.options.horizontalRule)), this.options.italic !== !1 && n.push(J0.configure(this.options.italic)), this.options.listItem !== !1 && n.push(_0.configure(this.options.listItem)), this.options.orderedList !== !1 && n.push(Y0.configure(this.options.orderedList)), this.options.paragraph !== !1 && n.push(X0.configure(this.options.paragraph)), this.options.strike !== !1 && n.push(ey.configure(this.options.strike)), this.options.text !== !1 && n.push(ty.configure(this.options.text)), n;
13655
13655
  }
13656
13656
  }), ry = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", iy = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", ko = "numeric", xo = "ascii", wo = "alpha", dr = "asciinumeric", or = "alphanumeric", So = "domain", id = "emoji", sy = "scheme", oy = "slashscheme", Ws = "whitespace";
13657
13657
  function ly(n, e) {
@@ -13794,7 +13794,7 @@ Te.prototype = {
13794
13794
  return i.j[n] = o, o;
13795
13795
  }
13796
13796
  };
13797
- const z = (n, e, t, r, i) => n.ta(e, t, r, i), Z = (n, e, t, r, i) => n.tr(e, t, r, i), Va = (n, e, t, r, i) => n.ts(e, t, r, i), S = (n, e, t, r, i) => n.tt(e, t, r, i), xt = "WORD", Co = "UWORD", sd = "ASCIINUMERICAL", od = "ALPHANUMERICAL", Ar = "LOCALHOST", Mo = "TLD", To = "UTLD", fi = "SCHEME", Ln = "SLASH_SCHEME", ol = "NUM", Eo = "WS", ll = "NL", fr = "OPENBRACE", hr = "CLOSEBRACE", Oi = "OPENBRACKET", Ai = "CLOSEBRACKET", Ni = "OPENPAREN", Di = "CLOSEPAREN", Ri = "OPENANGLEBRACKET", Ii = "CLOSEANGLEBRACKET", Li = "FULLWIDTHLEFTPAREN", Pi = "FULLWIDTHRIGHTPAREN", Bi = "LEFTCORNERBRACKET", zi = "RIGHTCORNERBRACKET", Hi = "LEFTWHITECORNERBRACKET", Fi = "RIGHTWHITECORNERBRACKET", Vi = "FULLWIDTHLESSTHAN", $i = "FULLWIDTHGREATERTHAN", ji = "AMPERSAND", Wi = "APOSTROPHE", Ui = "ASTERISK", Bt = "AT", Ki = "BACKSLASH", qi = "BACKTICK", _i = "CARET", Ht = "COLON", al = "COMMA", Ji = "DOLLAR", st = "DOT", Gi = "EQUALS", cl = "EXCLAMATION", Ke = "HYPHEN", pr = "PERCENT", Yi = "PIPE", Xi = "PLUS", Qi = "POUND", mr = "QUERY", ul = "QUOTE", ld = "FULLWIDTHMIDDLEDOT", dl = "SEMI", ot = "SLASH", gr = "TILDE", Zi = "UNDERSCORE", ad = "EMOJI", es = "SYM";
13797
+ const B = (n, e, t, r, i) => n.ta(e, t, r, i), Z = (n, e, t, r, i) => n.tr(e, t, r, i), Va = (n, e, t, r, i) => n.ts(e, t, r, i), S = (n, e, t, r, i) => n.tt(e, t, r, i), xt = "WORD", Co = "UWORD", sd = "ASCIINUMERICAL", od = "ALPHANUMERICAL", Ar = "LOCALHOST", Mo = "TLD", To = "UTLD", fi = "SCHEME", Ln = "SLASH_SCHEME", ol = "NUM", Eo = "WS", ll = "NL", fr = "OPENBRACE", hr = "CLOSEBRACE", Oi = "OPENBRACKET", Ai = "CLOSEBRACKET", Ni = "OPENPAREN", Di = "CLOSEPAREN", Ri = "OPENANGLEBRACKET", Ii = "CLOSEANGLEBRACKET", Li = "FULLWIDTHLEFTPAREN", Pi = "FULLWIDTHRIGHTPAREN", Bi = "LEFTCORNERBRACKET", zi = "RIGHTCORNERBRACKET", Hi = "LEFTWHITECORNERBRACKET", Fi = "RIGHTWHITECORNERBRACKET", Vi = "FULLWIDTHLESSTHAN", $i = "FULLWIDTHGREATERTHAN", ji = "AMPERSAND", Wi = "APOSTROPHE", Ui = "ASTERISK", Bt = "AT", Ki = "BACKSLASH", qi = "BACKTICK", Ji = "CARET", Ht = "COLON", al = "COMMA", _i = "DOLLAR", st = "DOT", Gi = "EQUALS", cl = "EXCLAMATION", Ke = "HYPHEN", pr = "PERCENT", Yi = "PIPE", Xi = "PLUS", Qi = "POUND", mr = "QUERY", ul = "QUOTE", ld = "FULLWIDTHMIDDLEDOT", dl = "SEMI", ot = "SLASH", gr = "TILDE", Zi = "UNDERSCORE", ad = "EMOJI", es = "SYM";
13798
13798
  var cd = /* @__PURE__ */ Object.freeze({
13799
13799
  __proto__: null,
13800
13800
  ALPHANUMERICAL: od,
@@ -13805,14 +13805,14 @@ var cd = /* @__PURE__ */ Object.freeze({
13805
13805
  AT: Bt,
13806
13806
  BACKSLASH: Ki,
13807
13807
  BACKTICK: qi,
13808
- CARET: _i,
13808
+ CARET: Ji,
13809
13809
  CLOSEANGLEBRACKET: Ii,
13810
13810
  CLOSEBRACE: hr,
13811
13811
  CLOSEBRACKET: Ai,
13812
13812
  CLOSEPAREN: Di,
13813
13813
  COLON: Ht,
13814
13814
  COMMA: al,
13815
- DOLLAR: Ji,
13815
+ DOLLAR: _i,
13816
13816
  DOT: st,
13817
13817
  EMOJI: ad,
13818
13818
  EQUALS: Gi,
@@ -13854,13 +13854,13 @@ var cd = /* @__PURE__ */ Object.freeze({
13854
13854
  WS: Eo
13855
13855
  });
13856
13856
  const vt = /[a-z]/, tr = /\p{L}/u, Us = /\p{Emoji}/u, kt = /\d/, Ks = /\s/, $a = "\r", qs = `
13857
- `, cy = "️", uy = "‍", _s = "";
13857
+ `, cy = "️", uy = "‍", Js = "";
13858
13858
  let ri = null, ii = null;
13859
13859
  function dy(n = []) {
13860
13860
  const e = {};
13861
13861
  Te.groups = e;
13862
13862
  const t = new Te();
13863
- ri == null && (ri = ja(ry)), ii == null && (ii = ja(iy)), S(t, "'", Wi), S(t, "{", fr), S(t, "}", hr), S(t, "[", Oi), S(t, "]", Ai), S(t, "(", Ni), S(t, ")", Di), S(t, "<", Ri), S(t, ">", Ii), S(t, "(", Li), S(t, ")", Pi), S(t, "「", Bi), S(t, "」", zi), S(t, "『", Hi), S(t, "』", Fi), S(t, "<", Vi), S(t, ">", $i), S(t, "&", ji), S(t, "*", Ui), S(t, "@", Bt), S(t, "`", qi), S(t, "^", _i), S(t, ":", Ht), S(t, ",", al), S(t, "$", Ji), S(t, ".", st), S(t, "=", Gi), S(t, "!", cl), S(t, "-", Ke), S(t, "%", pr), S(t, "|", Yi), S(t, "+", Xi), S(t, "#", Qi), S(t, "?", mr), S(t, '"', ul), S(t, "/", ot), S(t, ";", dl), S(t, "~", gr), S(t, "_", Zi), S(t, "\\", Ki), S(t, "・", ld);
13863
+ ri == null && (ri = ja(ry)), ii == null && (ii = ja(iy)), S(t, "'", Wi), S(t, "{", fr), S(t, "}", hr), S(t, "[", Oi), S(t, "]", Ai), S(t, "(", Ni), S(t, ")", Di), S(t, "<", Ri), S(t, ">", Ii), S(t, "(", Li), S(t, ")", Pi), S(t, "「", Bi), S(t, "」", zi), S(t, "『", Hi), S(t, "』", Fi), S(t, "<", Vi), S(t, ">", $i), S(t, "&", ji), S(t, "*", Ui), S(t, "@", Bt), S(t, "`", qi), S(t, "^", Ji), S(t, ":", Ht), S(t, ",", al), S(t, "$", _i), S(t, ".", st), S(t, "=", Gi), S(t, "!", cl), S(t, "-", Ke), S(t, "%", pr), S(t, "|", Yi), S(t, "+", Xi), S(t, "#", Qi), S(t, "?", mr), S(t, '"', ul), S(t, "/", ot), S(t, ";", dl), S(t, "~", gr), S(t, "_", Zi), S(t, "\\", Ki), S(t, "・", ld);
13864
13864
  const r = Z(t, kt, ol, {
13865
13865
  [ko]: !0
13866
13866
  });
@@ -13884,7 +13884,7 @@ function dy(n = []) {
13884
13884
  }), u = Z(t, Ks, Eo, {
13885
13885
  [Ws]: !0
13886
13886
  });
13887
- S(t, _s, u), S(c, qs, a), S(c, _s, u), Z(c, Ks, u), S(u, $a), S(u, qs), Z(u, Ks, u), S(u, _s, u);
13887
+ S(t, Js, u), S(c, qs, a), S(c, Js, u), Z(c, Ks, u), S(u, $a), S(u, qs), Z(u, Ks, u), S(u, Js, u);
13888
13888
  const d = Z(t, Us, ad, {
13889
13889
  [id]: !0
13890
13890
  });
@@ -14216,35 +14216,35 @@ const Ua = vs("email", {
14216
14216
  function py({
14217
14217
  groups: n
14218
14218
  }) {
14219
- const e = n.domain.concat([ji, Ui, Bt, Ki, qi, _i, Ji, Gi, Ke, ol, pr, Yi, Xi, Qi, ot, es, gr, Zi]), t = [Wi, Ht, al, st, cl, pr, mr, ul, dl, Ri, Ii, fr, hr, Ai, Oi, Ni, Di, Li, Pi, Bi, zi, Hi, Fi, Vi, $i], r = [ji, Wi, Ui, Ki, qi, _i, Ji, Gi, Ke, fr, hr, pr, Yi, Xi, Qi, mr, ot, es, gr, Zi], i = Ue(), s = S(i, gr);
14220
- z(s, r, s), z(s, n.domain, s);
14219
+ const e = n.domain.concat([ji, Ui, Bt, Ki, qi, Ji, _i, Gi, Ke, ol, pr, Yi, Xi, Qi, ot, es, gr, Zi]), t = [Wi, Ht, al, st, cl, pr, mr, ul, dl, Ri, Ii, fr, hr, Ai, Oi, Ni, Di, Li, Pi, Bi, zi, Hi, Fi, Vi, $i], r = [ji, Wi, Ui, Ki, qi, Ji, _i, Gi, Ke, fr, hr, pr, Yi, Xi, Qi, mr, ot, es, gr, Zi], i = Ue(), s = S(i, gr);
14220
+ B(s, r, s), B(s, n.domain, s);
14221
14221
  const o = Ue(), l = Ue(), a = Ue();
14222
- z(i, n.domain, o), z(i, n.scheme, l), z(i, n.slashscheme, a), z(o, r, s), z(o, n.domain, o);
14222
+ B(i, n.domain, o), B(i, n.scheme, l), B(i, n.slashscheme, a), B(o, r, s), B(o, n.domain, o);
14223
14223
  const c = S(o, Bt);
14224
14224
  S(s, Bt, c), S(l, Bt, c), S(a, Bt, c);
14225
14225
  const u = S(s, st);
14226
- z(u, r, s), z(u, n.domain, s);
14226
+ B(u, r, s), B(u, n.domain, s);
14227
14227
  const d = Ue();
14228
- z(c, n.domain, d), z(d, n.domain, d);
14228
+ B(c, n.domain, d), B(d, n.domain, d);
14229
14229
  const f = S(d, st);
14230
- z(f, n.domain, d);
14230
+ B(f, n.domain, d);
14231
14231
  const h = Ue(Ua);
14232
- z(f, n.tld, h), z(f, n.utld, h), S(c, Ar, h);
14232
+ B(f, n.tld, h), B(f, n.utld, h), S(c, Ar, h);
14233
14233
  const p = S(d, Ke);
14234
- S(p, Ke, p), z(p, n.domain, d), z(h, n.domain, d), S(h, st, f), S(h, Ke, p);
14234
+ S(p, Ke, p), B(p, n.domain, d), B(h, n.domain, d), S(h, st, f), S(h, Ke, p);
14235
14235
  const m = S(h, Ht);
14236
- z(m, n.numeric, Ua);
14236
+ B(m, n.numeric, Ua);
14237
14237
  const g = S(o, Ke), b = S(o, st);
14238
- S(g, Ke, g), z(g, n.domain, o), z(b, r, s), z(b, n.domain, o);
14238
+ S(g, Ke, g), B(g, n.domain, o), B(b, r, s), B(b, n.domain, o);
14239
14239
  const w = Ue(si);
14240
- z(b, n.tld, w), z(b, n.utld, w), z(w, n.domain, o), z(w, r, s), S(w, st, b), S(w, Ke, g), S(w, Bt, c);
14240
+ B(b, n.tld, w), B(b, n.utld, w), B(w, n.domain, o), B(w, r, s), S(w, st, b), S(w, Ke, g), S(w, Bt, c);
14241
14241
  const T = S(w, Ht), y = Ue(si);
14242
- z(T, n.numeric, y);
14242
+ B(T, n.numeric, y);
14243
14243
  const M = Ue(si), k = Ue();
14244
- z(M, e, M), z(M, t, k), z(k, e, M), z(k, t, k), S(w, ot, M), S(y, ot, M);
14245
- const C = S(l, Ht), R = S(a, Ht), B = S(R, ot), j = S(B, ot);
14246
- z(l, n.domain, o), S(l, st, b), S(l, Ke, g), z(a, n.domain, o), S(a, st, b), S(a, Ke, g), z(C, n.domain, M), S(C, ot, M), S(C, mr, M), z(j, n.domain, M), z(j, e, M), S(j, ot, M);
14247
- const D = [
14244
+ B(M, e, M), B(M, t, k), B(k, e, M), B(k, t, k), S(w, ot, M), S(y, ot, M);
14245
+ const C = S(l, Ht), D = S(a, Ht), P = S(D, ot), $ = S(P, ot);
14246
+ B(l, n.domain, o), S(l, st, b), S(l, Ke, g), B(a, n.domain, o), S(a, st, b), S(a, Ke, g), B(C, n.domain, M), S(C, ot, M), S(C, mr, M), B($, n.domain, M), B($, e, M), S($, ot, M);
14247
+ const N = [
14248
14248
  [fr, hr],
14249
14249
  // {}
14250
14250
  [Oi, Ai],
@@ -14262,13 +14262,13 @@ function py({
14262
14262
  [Vi, $i]
14263
14263
  // <>
14264
14264
  ];
14265
- for (let q = 0; q < D.length; q++) {
14266
- const [_, oe] = D[q], ne = S(M, _);
14267
- S(k, _, ne), S(ne, oe, M);
14265
+ for (let q = 0; q < N.length; q++) {
14266
+ const [J, oe] = N[q], ne = S(M, J);
14267
+ S(k, J, ne), S(ne, oe, M);
14268
14268
  const G = Ue(si);
14269
- z(ne, e, G);
14269
+ B(ne, e, G);
14270
14270
  const X = Ue();
14271
- z(ne, t), z(G, e, G), z(G, t, X), z(X, e, G), z(X, t, X), S(G, oe, M), S(X, oe, M);
14271
+ B(ne, t), B(G, e, G), B(G, t, X), B(X, e, G), B(X, t, X), S(G, oe, M), S(X, oe, M);
14272
14272
  }
14273
14273
  return S(i, Ar, w), S(i, ll, hy), {
14274
14274
  start: i,
@@ -14286,14 +14286,14 @@ function my(n, e, t) {
14286
14286
  if (f < 0)
14287
14287
  i -= u, i < r && (o.push(t[i]), i++);
14288
14288
  else {
14289
- o.length > 0 && (s.push(Js(Ka, e, o)), o = []), i -= f, u -= f;
14289
+ o.length > 0 && (s.push(_s(Ka, e, o)), o = []), i -= f, u -= f;
14290
14290
  const h = d.t, p = t.slice(i - u, i);
14291
- s.push(Js(h, e, p));
14291
+ s.push(_s(h, e, p));
14292
14292
  }
14293
14293
  }
14294
- return o.length > 0 && s.push(Js(Ka, e, o)), s;
14294
+ return o.length > 0 && s.push(_s(Ka, e, o)), s;
14295
14295
  }
14296
- function Js(n, e, t) {
14296
+ function _s(n, e, t) {
14297
14297
  const r = t[0].s, i = t[t.length - 1].e, s = e.slice(r, i);
14298
14298
  return new n(s, t);
14299
14299
  }
@@ -14563,7 +14563,7 @@ const Ey = nt.create({
14563
14563
  },
14564
14564
  addPasteRules() {
14565
14565
  return [
14566
- Jt({
14566
+ _t({
14567
14567
  find: (n) => {
14568
14568
  const e = [];
14569
14569
  if (n) {
@@ -14928,18 +14928,18 @@ const Ey = nt.create({
14928
14928
  },
14929
14929
  addPasteRules() {
14930
14930
  return [
14931
- Jt({
14931
+ _t({
14932
14932
  find: Py,
14933
14933
  type: this.type
14934
14934
  })
14935
14935
  ];
14936
14936
  }
14937
14937
  });
14938
- var Oe = "top", Xe = "bottom", Qe = "right", Ae = "left", ml = "auto", Fr = [Oe, Xe, Qe, Ae], Kn = "start", Dr = "end", zy = "clippingParents", hd = "viewport", nr = "popper", Hy = "reference", _a = /* @__PURE__ */ Fr.reduce(function(n, e) {
14938
+ var Oe = "top", Xe = "bottom", Qe = "right", Ae = "left", ml = "auto", Fr = [Oe, Xe, Qe, Ae], Kn = "start", Dr = "end", zy = "clippingParents", hd = "viewport", nr = "popper", Hy = "reference", Ja = /* @__PURE__ */ Fr.reduce(function(n, e) {
14939
14939
  return n.concat([e + "-" + Kn, e + "-" + Dr]);
14940
14940
  }, []), pd = /* @__PURE__ */ [].concat(Fr, [ml]).reduce(function(n, e) {
14941
14941
  return n.concat([e, e + "-" + Kn, e + "-" + Dr]);
14942
- }, []), Fy = "beforeRead", Vy = "read", $y = "afterRead", jy = "beforeMain", Wy = "main", Uy = "afterMain", Ky = "beforeWrite", qy = "write", _y = "afterWrite", Jy = [Fy, Vy, $y, jy, Wy, Uy, Ky, qy, _y];
14942
+ }, []), Fy = "beforeRead", Vy = "read", $y = "afterRead", jy = "beforeMain", Wy = "main", Uy = "afterMain", Ky = "beforeWrite", qy = "write", Jy = "afterWrite", _y = [Fy, Vy, $y, jy, Wy, Uy, Ky, qy, Jy];
14943
14943
  function ft(n) {
14944
14944
  return n ? (n.nodeName || "").toLowerCase() : null;
14945
14945
  }
@@ -15021,7 +15021,7 @@ function Oo() {
15021
15021
  function gd() {
15022
15022
  return !/^((?!chrome|android).)*safari/i.test(Oo());
15023
15023
  }
15024
- function _n(n, e, t) {
15024
+ function Jn(n, e, t) {
15025
15025
  e === void 0 && (e = !1), t === void 0 && (t = !1);
15026
15026
  var r = n.getBoundingClientRect(), i = 1, s = 1;
15027
15027
  e && Ye(n) && (i = n.offsetWidth > 0 && qn(r.width) / n.offsetWidth || 1, s = n.offsetHeight > 0 && qn(r.height) / n.offsetHeight || 1);
@@ -15038,7 +15038,7 @@ function _n(n, e, t) {
15038
15038
  };
15039
15039
  }
15040
15040
  function yl(n) {
15041
- var e = _n(n), t = n.offsetWidth, r = n.offsetHeight;
15041
+ var e = Jn(n), t = n.offsetWidth, r = n.offsetHeight;
15042
15042
  return Math.abs(e.width - t) <= 1 && (t = e.width), Math.abs(e.height - r) <= 1 && (r = e.height), {
15043
15043
  x: n.offsetLeft,
15044
15044
  y: n.offsetTop,
@@ -15084,7 +15084,7 @@ function ks(n) {
15084
15084
  Qt(n)
15085
15085
  );
15086
15086
  }
15087
- function Ja(n) {
15087
+ function _a(n) {
15088
15088
  return !Ye(n) || // https://github.com/popperjs/popper-core/issues/837
15089
15089
  Ot(n).position === "fixed" ? null : n.offsetParent;
15090
15090
  }
@@ -15105,8 +15105,8 @@ function Qy(n) {
15105
15105
  return null;
15106
15106
  }
15107
15107
  function Vr(n) {
15108
- for (var e = Be(n), t = Ja(n); t && Xy(t) && Ot(t).position === "static"; )
15109
- t = Ja(t);
15108
+ for (var e = Be(n), t = _a(n); t && Xy(t) && Ot(t).position === "static"; )
15109
+ t = _a(t);
15110
15110
  return t && (ft(t) === "html" || ft(t) === "body" && Ot(t).position === "static") ? e : t || Qy(n) || e;
15111
15111
  }
15112
15112
  function bl(n) {
@@ -15143,8 +15143,8 @@ var eb = function(e, t) {
15143
15143
  function tb(n) {
15144
15144
  var e, t = n.state, r = n.name, i = n.options, s = t.elements.arrow, o = t.modifiersData.popperOffsets, l = ct(t.placement), a = bl(l), c = [Ae, Qe].indexOf(l) >= 0, u = c ? "height" : "width";
15145
15145
  if (!(!s || !o)) {
15146
- var d = eb(i.padding, t), f = yl(s), h = a === "y" ? Oe : Ae, p = a === "y" ? Xe : Qe, m = t.rects.reference[u] + t.rects.reference[a] - o[a] - t.rects.popper[u], g = o[a] - t.rects.reference[a], b = Vr(s), w = b ? a === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, T = m / 2 - g / 2, y = d[h], M = w - f[u] - d[p], k = w / 2 - f[u] / 2 + T, C = yr(y, k, M), R = a;
15147
- t.modifiersData[r] = (e = {}, e[R] = C, e.centerOffset = C - k, e);
15146
+ var d = eb(i.padding, t), f = yl(s), h = a === "y" ? Oe : Ae, p = a === "y" ? Xe : Qe, m = t.rects.reference[u] + t.rects.reference[a] - o[a] - t.rects.popper[u], g = o[a] - t.rects.reference[a], b = Vr(s), w = b ? a === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, T = m / 2 - g / 2, y = d[h], M = w - f[u] - d[p], k = w / 2 - f[u] / 2 + T, C = yr(y, k, M), D = a;
15147
+ t.modifiersData[r] = (e = {}, e[D] = C, e.centerOffset = C - k, e);
15148
15148
  }
15149
15149
  }
15150
15150
  function nb(n) {
@@ -15160,7 +15160,7 @@ const rb = {
15160
15160
  requires: ["popperOffsets"],
15161
15161
  requiresIfExists: ["preventOverflow"]
15162
15162
  };
15163
- function Jn(n) {
15163
+ function _n(n) {
15164
15164
  return n.split("-")[1];
15165
15165
  }
15166
15166
  var ib = {
@@ -15187,25 +15187,25 @@ function Ga(n) {
15187
15187
  h = g.x, m = g.y;
15188
15188
  var b = o.hasOwnProperty("x"), w = o.hasOwnProperty("y"), T = Ae, y = Oe, M = window;
15189
15189
  if (c) {
15190
- var k = Vr(t), C = "clientHeight", R = "clientWidth";
15191
- if (k === Be(t) && (k = Qt(t), Ot(k).position !== "static" && l === "absolute" && (C = "scrollHeight", R = "scrollWidth")), k = k, i === Oe || (i === Ae || i === Qe) && s === Dr) {
15190
+ var k = Vr(t), C = "clientHeight", D = "clientWidth";
15191
+ if (k === Be(t) && (k = Qt(t), Ot(k).position !== "static" && l === "absolute" && (C = "scrollHeight", D = "scrollWidth")), k = k, i === Oe || (i === Ae || i === Qe) && s === Dr) {
15192
15192
  y = Xe;
15193
- var B = d && k === M && M.visualViewport ? M.visualViewport.height : (
15193
+ var P = d && k === M && M.visualViewport ? M.visualViewport.height : (
15194
15194
  // $FlowFixMe[prop-missing]
15195
15195
  k[C]
15196
15196
  );
15197
- m -= B - r.height, m *= a ? 1 : -1;
15197
+ m -= P - r.height, m *= a ? 1 : -1;
15198
15198
  }
15199
15199
  if (i === Ae || (i === Oe || i === Xe) && s === Dr) {
15200
15200
  T = Qe;
15201
- var j = d && k === M && M.visualViewport ? M.visualViewport.width : (
15201
+ var $ = d && k === M && M.visualViewport ? M.visualViewport.width : (
15202
15202
  // $FlowFixMe[prop-missing]
15203
- k[R]
15203
+ k[D]
15204
15204
  );
15205
- h -= j - r.width, h *= a ? 1 : -1;
15205
+ h -= $ - r.width, h *= a ? 1 : -1;
15206
15206
  }
15207
15207
  }
15208
- var D = Object.assign({
15208
+ var N = Object.assign({
15209
15209
  position: l
15210
15210
  }, c && ib), q = u === !0 ? sb({
15211
15211
  x: h,
@@ -15215,15 +15215,15 @@ function Ga(n) {
15215
15215
  y: m
15216
15216
  };
15217
15217
  if (h = q.x, m = q.y, a) {
15218
- var _;
15219
- return Object.assign({}, D, (_ = {}, _[y] = w ? "0" : "", _[T] = b ? "0" : "", _.transform = (M.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", _));
15218
+ var J;
15219
+ return Object.assign({}, N, (J = {}, J[y] = w ? "0" : "", J[T] = b ? "0" : "", J.transform = (M.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", J));
15220
15220
  }
15221
- return Object.assign({}, D, (e = {}, e[y] = w ? m + "px" : "", e[T] = b ? h + "px" : "", e.transform = "", e));
15221
+ return Object.assign({}, N, (e = {}, e[y] = w ? m + "px" : "", e[T] = b ? h + "px" : "", e.transform = "", e));
15222
15222
  }
15223
15223
  function ob(n) {
15224
15224
  var e = n.state, t = n.options, r = t.gpuAcceleration, i = r === void 0 ? !0 : r, s = t.adaptive, o = s === void 0 ? !0 : s, l = t.roundOffsets, a = l === void 0 ? !0 : l, c = {
15225
15225
  placement: ct(e.placement),
15226
- variation: Jn(e.placement),
15226
+ variation: _n(e.placement),
15227
15227
  popper: e.elements.popper,
15228
15228
  popperRect: e.rects.popper,
15229
15229
  gpuAcceleration: i,
@@ -15300,7 +15300,7 @@ function vl(n) {
15300
15300
  };
15301
15301
  }
15302
15302
  function kl(n) {
15303
- return _n(Qt(n)).left + vl(n).scrollLeft;
15303
+ return Jn(Qt(n)).left + vl(n).scrollLeft;
15304
15304
  }
15305
15305
  function fb(n, e) {
15306
15306
  var t = Be(n), r = Qt(n), i = t.visualViewport, s = r.clientWidth, o = r.clientHeight, l = 0, a = 0;
@@ -15350,7 +15350,7 @@ function Ao(n) {
15350
15350
  });
15351
15351
  }
15352
15352
  function pb(n, e) {
15353
- var t = _n(n, !1, e === "fixed");
15353
+ var t = Jn(n, !1, e === "fixed");
15354
15354
  return t.top = t.top + n.clientTop, t.left = t.left + n.clientLeft, t.bottom = t.top + n.clientHeight, t.right = t.left + n.clientWidth, t.width = n.clientWidth, t.height = n.clientHeight, t.x = t.left, t.y = t.top, t;
15355
15355
  }
15356
15356
  function Xa(n, e, t) {
@@ -15370,7 +15370,7 @@ function gb(n, e, t, r) {
15370
15370
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
15371
15371
  }
15372
15372
  function wd(n) {
15373
- var e = n.reference, t = n.element, r = n.placement, i = r ? ct(r) : null, s = r ? Jn(r) : null, o = e.x + e.width / 2 - t.width / 2, l = e.y + e.height / 2 - t.height / 2, a;
15373
+ var e = n.reference, t = n.element, r = n.placement, i = r ? ct(r) : null, s = r ? _n(r) : null, o = e.x + e.width / 2 - t.width / 2, l = e.y + e.height / 2 - t.height / 2, a;
15374
15374
  switch (i) {
15375
15375
  case Oe:
15376
15376
  a = {
@@ -15418,29 +15418,29 @@ function wd(n) {
15418
15418
  }
15419
15419
  function Rr(n, e) {
15420
15420
  e === void 0 && (e = {});
15421
- var t = e, r = t.placement, i = r === void 0 ? n.placement : r, s = t.strategy, o = s === void 0 ? n.strategy : s, l = t.boundary, a = l === void 0 ? zy : l, c = t.rootBoundary, u = c === void 0 ? hd : c, d = t.elementContext, f = d === void 0 ? nr : d, h = t.altBoundary, p = h === void 0 ? !1 : h, m = t.padding, g = m === void 0 ? 0 : m, b = vd(typeof g != "number" ? g : kd(g, Fr)), w = f === nr ? Hy : nr, T = n.rects.popper, y = n.elements[p ? w : f], M = gb(wn(y) ? y : y.contextElement || Qt(n.elements.popper), a, u, o), k = _n(n.elements.reference), C = wd({
15421
+ var t = e, r = t.placement, i = r === void 0 ? n.placement : r, s = t.strategy, o = s === void 0 ? n.strategy : s, l = t.boundary, a = l === void 0 ? zy : l, c = t.rootBoundary, u = c === void 0 ? hd : c, d = t.elementContext, f = d === void 0 ? nr : d, h = t.altBoundary, p = h === void 0 ? !1 : h, m = t.padding, g = m === void 0 ? 0 : m, b = vd(typeof g != "number" ? g : kd(g, Fr)), w = f === nr ? Hy : nr, T = n.rects.popper, y = n.elements[p ? w : f], M = gb(wn(y) ? y : y.contextElement || Qt(n.elements.popper), a, u, o), k = Jn(n.elements.reference), C = wd({
15422
15422
  reference: k,
15423
15423
  element: T,
15424
15424
  placement: i
15425
- }), R = Ao(Object.assign({}, T, C)), B = f === nr ? R : k, j = {
15426
- top: M.top - B.top + b.top,
15427
- bottom: B.bottom - M.bottom + b.bottom,
15428
- left: M.left - B.left + b.left,
15429
- right: B.right - M.right + b.right
15430
- }, D = n.modifiersData.offset;
15431
- if (f === nr && D) {
15432
- var q = D[i];
15433
- Object.keys(j).forEach(function(_) {
15434
- var oe = [Qe, Xe].indexOf(_) >= 0 ? 1 : -1, ne = [Oe, Xe].indexOf(_) >= 0 ? "y" : "x";
15435
- j[_] += q[ne] * oe;
15425
+ }), D = Ao(Object.assign({}, T, C)), P = f === nr ? D : k, $ = {
15426
+ top: M.top - P.top + b.top,
15427
+ bottom: P.bottom - M.bottom + b.bottom,
15428
+ left: M.left - P.left + b.left,
15429
+ right: P.right - M.right + b.right
15430
+ }, N = n.modifiersData.offset;
15431
+ if (f === nr && N) {
15432
+ var q = N[i];
15433
+ Object.keys($).forEach(function(J) {
15434
+ var oe = [Qe, Xe].indexOf(J) >= 0 ? 1 : -1, ne = [Oe, Xe].indexOf(J) >= 0 ? "y" : "x";
15435
+ $[J] += q[ne] * oe;
15436
15436
  });
15437
15437
  }
15438
- return j;
15438
+ return $;
15439
15439
  }
15440
15440
  function yb(n, e) {
15441
15441
  e === void 0 && (e = {});
15442
- var t = e, r = t.placement, i = t.boundary, s = t.rootBoundary, o = t.padding, l = t.flipVariations, a = t.allowedAutoPlacements, c = a === void 0 ? pd : a, u = Jn(r), d = u ? l ? _a : _a.filter(function(p) {
15443
- return Jn(p) === u;
15442
+ var t = e, r = t.placement, i = t.boundary, s = t.rootBoundary, o = t.padding, l = t.flipVariations, a = t.allowedAutoPlacements, c = a === void 0 ? pd : a, u = _n(r), d = u ? l ? Ja : Ja.filter(function(p) {
15443
+ return _n(p) === u;
15444
15444
  }) : Fr, f = d.filter(function(p) {
15445
15445
  return c.indexOf(p) >= 0;
15446
15446
  });
@@ -15475,25 +15475,25 @@ function vb(n) {
15475
15475
  flipVariations: p,
15476
15476
  allowedAutoPlacements: m
15477
15477
  }) : Ne);
15478
- }, []), M = e.rects.reference, k = e.rects.popper, C = /* @__PURE__ */ new Map(), R = !0, B = y[0], j = 0; j < y.length; j++) {
15479
- var D = y[j], q = ct(D), _ = Jn(D) === Kn, oe = [Oe, Xe].indexOf(q) >= 0, ne = oe ? "width" : "height", G = Rr(e, {
15480
- placement: D,
15478
+ }, []), M = e.rects.reference, k = e.rects.popper, C = /* @__PURE__ */ new Map(), D = !0, P = y[0], $ = 0; $ < y.length; $++) {
15479
+ var N = y[$], q = ct(N), J = _n(N) === Kn, oe = [Oe, Xe].indexOf(q) >= 0, ne = oe ? "width" : "height", G = Rr(e, {
15480
+ placement: N,
15481
15481
  boundary: u,
15482
15482
  rootBoundary: d,
15483
15483
  altBoundary: f,
15484
15484
  padding: c
15485
- }), X = oe ? _ ? Qe : Ae : _ ? Xe : Oe;
15485
+ }), X = oe ? J ? Qe : Ae : J ? Xe : Oe;
15486
15486
  M[ne] > k[ne] && (X = hi(X));
15487
- var W = hi(X), ze = [];
15488
- if (s && ze.push(G[q] <= 0), l && ze.push(G[X] <= 0, G[W] <= 0), ze.every(function(Ve) {
15487
+ var j = hi(X), ze = [];
15488
+ if (s && ze.push(G[q] <= 0), l && ze.push(G[X] <= 0, G[j] <= 0), ze.every(function(Ve) {
15489
15489
  return Ve;
15490
15490
  })) {
15491
- B = D, R = !1;
15491
+ P = N, D = !1;
15492
15492
  break;
15493
15493
  }
15494
- C.set(D, ze);
15494
+ C.set(N, ze);
15495
15495
  }
15496
- if (R)
15496
+ if (D)
15497
15497
  for (var He = p ? 3 : 1, ht = function(Ne) {
15498
15498
  var Ze = y.find(function(At) {
15499
15499
  var De = C.get(At);
@@ -15503,12 +15503,12 @@ function vb(n) {
15503
15503
  });
15504
15504
  });
15505
15505
  if (Ze)
15506
- return B = Ze, "break";
15506
+ return P = Ze, "break";
15507
15507
  }, Fe = He; Fe > 0; Fe--) {
15508
15508
  var pt = ht(Fe);
15509
15509
  if (pt === "break") break;
15510
15510
  }
15511
- e.placement !== B && (e.modifiersData[r]._skip = !0, e.placement = B, e.reset = !0);
15511
+ e.placement !== P && (e.modifiersData[r]._skip = !0, e.placement = P, e.reset = !0);
15512
15512
  }
15513
15513
  }
15514
15514
  const kb = {
@@ -15609,28 +15609,28 @@ function Ab(n) {
15609
15609
  rootBoundary: c,
15610
15610
  padding: d,
15611
15611
  altBoundary: u
15612
- }), b = ct(e.placement), w = Jn(e.placement), T = !w, y = bl(b), M = Ob(y), k = e.modifiersData.popperOffsets, C = e.rects.reference, R = e.rects.popper, B = typeof m == "function" ? m(Object.assign({}, e.rects, {
15612
+ }), b = ct(e.placement), w = _n(e.placement), T = !w, y = bl(b), M = Ob(y), k = e.modifiersData.popperOffsets, C = e.rects.reference, D = e.rects.popper, P = typeof m == "function" ? m(Object.assign({}, e.rects, {
15613
15613
  placement: e.placement
15614
- })) : m, j = typeof B == "number" ? {
15615
- mainAxis: B,
15616
- altAxis: B
15614
+ })) : m, $ = typeof P == "number" ? {
15615
+ mainAxis: P,
15616
+ altAxis: P
15617
15617
  } : Object.assign({
15618
15618
  mainAxis: 0,
15619
15619
  altAxis: 0
15620
- }, B), D = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, q = {
15620
+ }, P), N = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, q = {
15621
15621
  x: 0,
15622
15622
  y: 0
15623
15623
  };
15624
15624
  if (k) {
15625
15625
  if (s) {
15626
- var _, oe = y === "y" ? Oe : Ae, ne = y === "y" ? Xe : Qe, G = y === "y" ? "height" : "width", X = k[y], W = X + g[oe], ze = X - g[ne], He = h ? -R[G] / 2 : 0, ht = w === Kn ? C[G] : R[G], Fe = w === Kn ? -R[G] : -C[G], pt = e.elements.arrow, Ve = h && pt ? yl(pt) : {
15626
+ var J, oe = y === "y" ? Oe : Ae, ne = y === "y" ? Xe : Qe, G = y === "y" ? "height" : "width", X = k[y], j = X + g[oe], ze = X - g[ne], He = h ? -D[G] / 2 : 0, ht = w === Kn ? C[G] : D[G], Fe = w === Kn ? -D[G] : -C[G], pt = e.elements.arrow, Ve = h && pt ? yl(pt) : {
15627
15627
  width: 0,
15628
15628
  height: 0
15629
- }, Ne = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : bd(), Ze = Ne[oe], At = Ne[ne], De = yr(0, C[G], Ve[G]), Nt = T ? C[G] / 2 - He - De - Ze - j.mainAxis : ht - De - Ze - j.mainAxis, rt = T ? -C[G] / 2 + He + De + At + j.mainAxis : Fe + De + At + j.mainAxis, mt = e.elements.arrow && Vr(e.elements.arrow), Cn = mt ? y === "y" ? mt.clientTop || 0 : mt.clientLeft || 0 : 0, Zt = (_ = D?.[y]) != null ? _ : 0, Mn = X + Nt - Zt - Cn, E = X + rt - Zt, $ = yr(h ? ts(W, Mn) : W, X, h ? gn(ze, E) : ze);
15630
- k[y] = $, q[y] = $ - X;
15629
+ }, Ne = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : bd(), Ze = Ne[oe], At = Ne[ne], De = yr(0, C[G], Ve[G]), Nt = T ? C[G] / 2 - He - De - Ze - $.mainAxis : ht - De - Ze - $.mainAxis, rt = T ? -C[G] / 2 + He + De + At + $.mainAxis : Fe + De + At + $.mainAxis, mt = e.elements.arrow && Vr(e.elements.arrow), Cn = mt ? y === "y" ? mt.clientTop || 0 : mt.clientLeft || 0 : 0, Zt = (J = N?.[y]) != null ? J : 0, Mn = X + Nt - Zt - Cn, W = X + rt - Zt, V = yr(h ? ts(j, Mn) : j, X, h ? gn(ze, W) : ze);
15630
+ k[y] = V, q[y] = V - X;
15631
15631
  }
15632
15632
  if (l) {
15633
- var $e, $r = y === "x" ? Oe : Ae, jr = y === "x" ? Xe : Qe, gt = k[M], Dt = M === "y" ? "height" : "width", Qn = gt + g[$r], en = gt - g[jr], Zn = [Oe, Ae].indexOf(b) !== -1, Wr = ($e = D?.[M]) != null ? $e : 0, Ur = Zn ? Qn : gt - C[Dt] - R[Dt] - Wr + j.altAxis, Kr = Zn ? gt + C[Dt] + R[Dt] - Wr - j.altAxis : en, qr = h && Zn ? Zy(Ur, gt, Kr) : yr(h ? Ur : Qn, gt, h ? Kr : en);
15633
+ var $e, $r = y === "x" ? Oe : Ae, jr = y === "x" ? Xe : Qe, gt = k[M], Dt = M === "y" ? "height" : "width", Qn = gt + g[$r], en = gt - g[jr], Zn = [Oe, Ae].indexOf(b) !== -1, Wr = ($e = N?.[M]) != null ? $e : 0, Ur = Zn ? Qn : gt - C[Dt] - D[Dt] - Wr + $.altAxis, Kr = Zn ? gt + C[Dt] + D[Dt] - Wr - $.altAxis : en, qr = h && Zn ? Zy(Ur, gt, Kr) : yr(h ? Ur : Qn, gt, h ? Kr : en);
15634
15634
  k[M] = qr, q[M] = qr - gt;
15635
15635
  }
15636
15636
  e.modifiersData[r] = q;
@@ -15658,7 +15658,7 @@ function Ib(n) {
15658
15658
  }
15659
15659
  function Lb(n, e, t) {
15660
15660
  t === void 0 && (t = !1);
15661
- var r = Ye(e), i = Ye(e) && Ib(e), s = Qt(e), o = _n(n, i, t), l = {
15661
+ var r = Ye(e), i = Ye(e) && Ib(e), s = Qt(e), o = Jn(n, i, t), l = {
15662
15662
  scrollLeft: 0,
15663
15663
  scrollTop: 0
15664
15664
  }, a = {
@@ -15666,7 +15666,7 @@ function Lb(n, e, t) {
15666
15666
  y: 0
15667
15667
  };
15668
15668
  return (r || !r && !t) && ((ft(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
15669
- xl(s)) && (l = Rb(e)), Ye(e) ? (a = _n(e, !0), a.x += e.clientLeft, a.y += e.clientTop) : s && (a.x = kl(s))), {
15669
+ xl(s)) && (l = Rb(e)), Ye(e) ? (a = Jn(e, !0), a.x += e.clientLeft, a.y += e.clientTop) : s && (a.x = kl(s))), {
15670
15670
  x: o.left + l.scrollLeft - a.x,
15671
15671
  y: o.top + l.scrollTop - a.y,
15672
15672
  width: o.width,
@@ -15694,7 +15694,7 @@ function Pb(n) {
15694
15694
  }
15695
15695
  function Bb(n) {
15696
15696
  var e = Pb(n);
15697
- return Jy.reduce(function(t, r) {
15697
+ return _y.reduce(function(t, r) {
15698
15698
  return t.concat(e.filter(function(i) {
15699
15699
  return i.phase === r;
15700
15700
  }));
@@ -15775,19 +15775,19 @@ function Fb(n) {
15775
15775
  u.rects = {
15776
15776
  reference: Lb(w, Vr(T), u.options.strategy === "fixed"),
15777
15777
  popper: yl(T)
15778
- }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(j) {
15779
- return u.modifiersData[j.name] = Object.assign({}, j.data);
15778
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function($) {
15779
+ return u.modifiersData[$.name] = Object.assign({}, $.data);
15780
15780
  });
15781
15781
  for (var y = 0; y < u.orderedModifiers.length; y++) {
15782
15782
  if (u.reset === !0) {
15783
15783
  u.reset = !1, y = -1;
15784
15784
  continue;
15785
15785
  }
15786
- var M = u.orderedModifiers[y], k = M.fn, C = M.options, R = C === void 0 ? {} : C, B = M.name;
15786
+ var M = u.orderedModifiers[y], k = M.fn, C = M.options, D = C === void 0 ? {} : C, P = M.name;
15787
15787
  typeof k == "function" && (u = k({
15788
15788
  state: u,
15789
- options: R,
15790
- name: B,
15789
+ options: D,
15790
+ name: P,
15791
15791
  instance: h
15792
15792
  }) || u);
15793
15793
  }
@@ -15883,12 +15883,12 @@ function Pn(n) {
15883
15883
  function rc(n, e) {
15884
15884
  n.indexOf(e) === -1 && n.push(e);
15885
15885
  }
15886
- function _b(n) {
15886
+ function Jb(n) {
15887
15887
  return n.filter(function(e, t) {
15888
15888
  return n.indexOf(e) === t;
15889
15889
  });
15890
15890
  }
15891
- function Jb(n) {
15891
+ function _b(n) {
15892
15892
  return n.split("-")[0];
15893
15893
  }
15894
15894
  function ns(n) {
@@ -15936,7 +15936,7 @@ function Zb(n) {
15936
15936
  function e1(n, e) {
15937
15937
  var t = e.clientX, r = e.clientY;
15938
15938
  return n.every(function(i) {
15939
- var s = i.popperRect, o = i.popperState, l = i.props, a = l.interactiveBorder, c = Jb(o.placement), u = o.modifiersData.offset;
15939
+ var s = i.popperRect, o = i.popperState, l = i.props, a = l.interactiveBorder, c = _b(o.placement), u = o.modifiersData.offset;
15940
15940
  if (!u)
15941
15941
  return !0;
15942
15942
  var d = c === "bottom" ? u.top.y : 0, f = c === "top" ? u.bottom.y : 0, h = c === "right" ? u.left.x : 0, p = c === "left" ? u.right.x : 0, m = s.top - r + d > a, g = r - s.bottom - f > a, b = s.left - t + h > a, w = t - s.right - p > a;
@@ -16198,7 +16198,7 @@ function Id(n) {
16198
16198
  Id.$$tippy = !0;
16199
16199
  var p1 = 1, li = [], Qs = [];
16200
16200
  function m1(n, e) {
16201
- var t = cc(n, Object.assign({}, Ie, Dd(ic(e)))), r, i, s, o = !1, l = !1, a = !1, c = !1, u, d, f, h = [], p = nc(Mn, t.interactiveDebounce), m, g = p1++, b = null, w = _b(t.plugins), T = {
16201
+ var t = cc(n, Object.assign({}, Ie, Dd(ic(e)))), r, i, s, o = !1, l = !1, a = !1, c = !1, u, d, f, h = [], p = nc(Mn, t.interactiveDebounce), m, g = p1++, b = null, w = Jb(t.plugins), T = {
16202
16202
  // Is the instance currently enabled?
16203
16203
  isEnabled: !0,
16204
16204
  // Is the tippy currently showing and not transitioning out?
@@ -16234,30 +16234,30 @@ function m1(n, e) {
16234
16234
  return process.env.NODE_ENV !== "production" && No(!0, "render() function has not been supplied."), y;
16235
16235
  var M = t.render(y), k = M.popper, C = M.onUpdate;
16236
16236
  k.setAttribute("data-tippy-root", ""), k.id = "tippy-" + y.id, y.popper = k, n._tippy = y, k._tippy = y;
16237
- var R = w.map(function(v) {
16237
+ var D = w.map(function(v) {
16238
16238
  return v.fn(y);
16239
- }), B = n.hasAttribute("aria-expanded");
16240
- return mt(), He(), X(), W("onCreate", [y]), t.showOnCreate && Qn(), k.addEventListener("mouseenter", function() {
16239
+ }), P = n.hasAttribute("aria-expanded");
16240
+ return mt(), He(), X(), j("onCreate", [y]), t.showOnCreate && Qn(), k.addEventListener("mouseenter", function() {
16241
16241
  y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
16242
16242
  }), k.addEventListener("mouseleave", function() {
16243
16243
  y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && oe().addEventListener("mousemove", p);
16244
16244
  }), y;
16245
- function j() {
16245
+ function $() {
16246
16246
  var v = y.props.touch;
16247
16247
  return Array.isArray(v) ? v : [v, 0];
16248
16248
  }
16249
- function D() {
16250
- return j()[0] === "hold";
16249
+ function N() {
16250
+ return $()[0] === "hold";
16251
16251
  }
16252
16252
  function q() {
16253
16253
  var v;
16254
16254
  return !!((v = y.props.render) != null && v.$$tippy);
16255
16255
  }
16256
- function _() {
16256
+ function J() {
16257
16257
  return m || n;
16258
16258
  }
16259
16259
  function oe() {
16260
- var v = _().parentNode;
16260
+ var v = J().parentNode;
16261
16261
  return v ? Zb(v) : document;
16262
16262
  }
16263
16263
  function ne() {
@@ -16269,34 +16269,34 @@ function m1(n, e) {
16269
16269
  function X(v) {
16270
16270
  v === void 0 && (v = !1), k.style.pointerEvents = y.props.interactive && !v ? "" : "none", k.style.zIndex = "" + y.props.zIndex;
16271
16271
  }
16272
- function W(v, N, L) {
16273
- if (L === void 0 && (L = !0), R.forEach(function(U) {
16274
- U[v] && U[v].apply(U, N);
16275
- }), L) {
16272
+ function j(v, A, I) {
16273
+ if (I === void 0 && (I = !0), D.forEach(function(U) {
16274
+ U[v] && U[v].apply(U, A);
16275
+ }), I) {
16276
16276
  var K;
16277
- (K = y.props)[v].apply(K, N);
16277
+ (K = y.props)[v].apply(K, A);
16278
16278
  }
16279
16279
  }
16280
16280
  function ze() {
16281
16281
  var v = y.props.aria;
16282
16282
  if (v.content) {
16283
- var N = "aria-" + v.content, L = k.id, K = Pn(y.props.triggerTarget || n);
16283
+ var A = "aria-" + v.content, I = k.id, K = Pn(y.props.triggerTarget || n);
16284
16284
  K.forEach(function(U) {
16285
- var Se = U.getAttribute(N);
16285
+ var Se = U.getAttribute(A);
16286
16286
  if (y.state.isVisible)
16287
- U.setAttribute(N, Se ? Se + " " + L : L);
16287
+ U.setAttribute(A, Se ? Se + " " + I : I);
16288
16288
  else {
16289
- var je = Se && Se.replace(L, "").trim();
16290
- je ? U.setAttribute(N, je) : U.removeAttribute(N);
16289
+ var je = Se && Se.replace(I, "").trim();
16290
+ je ? U.setAttribute(A, je) : U.removeAttribute(A);
16291
16291
  }
16292
16292
  });
16293
16293
  }
16294
16294
  }
16295
16295
  function He() {
16296
- if (!(B || !y.props.aria.expanded)) {
16296
+ if (!(P || !y.props.aria.expanded)) {
16297
16297
  var v = Pn(y.props.triggerTarget || n);
16298
- v.forEach(function(N) {
16299
- y.props.interactive ? N.setAttribute("aria-expanded", y.state.isVisible && N === _() ? "true" : "false") : N.removeAttribute("aria-expanded");
16298
+ v.forEach(function(A) {
16299
+ y.props.interactive ? A.setAttribute("aria-expanded", y.state.isVisible && A === J() ? "true" : "false") : A.removeAttribute("aria-expanded");
16300
16300
  });
16301
16301
  }
16302
16302
  }
@@ -16307,15 +16307,15 @@ function m1(n, e) {
16307
16307
  }
16308
16308
  function Fe(v) {
16309
16309
  if (!(lt.isTouch && (a || v.type === "mousedown"))) {
16310
- var N = v.composedPath && v.composedPath()[0] || v.target;
16311
- if (!(y.props.interactive && oc(k, N))) {
16312
- if (Pn(y.props.triggerTarget || n).some(function(L) {
16313
- return oc(L, N);
16310
+ var A = v.composedPath && v.composedPath()[0] || v.target;
16311
+ if (!(y.props.interactive && oc(k, A))) {
16312
+ if (Pn(y.props.triggerTarget || n).some(function(I) {
16313
+ return oc(I, A);
16314
16314
  })) {
16315
16315
  if (lt.isTouch || y.state.isVisible && y.props.trigger.indexOf("click") >= 0)
16316
16316
  return;
16317
16317
  } else
16318
- W("onClickOutside", [y, v]);
16318
+ j("onClickOutside", [y, v]);
16319
16319
  y.props.hideOnClick === !0 && (y.clearDelayTimeouts(), y.hide(), l = !0, setTimeout(function() {
16320
16320
  l = !1;
16321
16321
  }), y.state.isMounted || Ze());
@@ -16336,73 +16336,73 @@ function m1(n, e) {
16336
16336
  var v = oe();
16337
16337
  v.removeEventListener("mousedown", Fe, !0), v.removeEventListener("touchend", Fe, sn), v.removeEventListener("touchstart", Ve, sn), v.removeEventListener("touchmove", pt, sn);
16338
16338
  }
16339
- function At(v, N) {
16339
+ function At(v, A) {
16340
16340
  Nt(v, function() {
16341
- !y.state.isVisible && k.parentNode && k.parentNode.contains(k) && N();
16341
+ !y.state.isVisible && k.parentNode && k.parentNode.contains(k) && A();
16342
16342
  });
16343
16343
  }
16344
- function De(v, N) {
16345
- Nt(v, N);
16344
+ function De(v, A) {
16345
+ Nt(v, A);
16346
16346
  }
16347
- function Nt(v, N) {
16348
- var L = ne().box;
16347
+ function Nt(v, A) {
16348
+ var I = ne().box;
16349
16349
  function K(U) {
16350
- U.target === L && (Xs(L, "remove", K), N());
16350
+ U.target === I && (Xs(I, "remove", K), A());
16351
16351
  }
16352
16352
  if (v === 0)
16353
- return N();
16354
- Xs(L, "remove", d), Xs(L, "add", K), d = K;
16353
+ return A();
16354
+ Xs(I, "remove", d), Xs(I, "add", K), d = K;
16355
16355
  }
16356
- function rt(v, N, L) {
16357
- L === void 0 && (L = !1);
16356
+ function rt(v, A, I) {
16357
+ I === void 0 && (I = !1);
16358
16358
  var K = Pn(y.props.triggerTarget || n);
16359
16359
  K.forEach(function(U) {
16360
- U.addEventListener(v, N, L), h.push({
16360
+ U.addEventListener(v, A, I), h.push({
16361
16361
  node: U,
16362
16362
  eventType: v,
16363
- handler: N,
16364
- options: L
16363
+ handler: A,
16364
+ options: I
16365
16365
  });
16366
16366
  });
16367
16367
  }
16368
16368
  function mt() {
16369
- D() && (rt("touchstart", Zt, {
16369
+ N() && (rt("touchstart", Zt, {
16370
16370
  passive: !0
16371
- }), rt("touchend", E, {
16371
+ }), rt("touchend", W, {
16372
16372
  passive: !0
16373
16373
  })), qb(y.props.trigger).forEach(function(v) {
16374
16374
  if (v !== "manual")
16375
16375
  switch (rt(v, Zt), v) {
16376
16376
  case "mouseenter":
16377
- rt("mouseleave", E);
16377
+ rt("mouseleave", W);
16378
16378
  break;
16379
16379
  case "focus":
16380
- rt(s1 ? "focusout" : "blur", $);
16380
+ rt(s1 ? "focusout" : "blur", V);
16381
16381
  break;
16382
16382
  case "focusin":
16383
- rt("focusout", $);
16383
+ rt("focusout", V);
16384
16384
  break;
16385
16385
  }
16386
16386
  });
16387
16387
  }
16388
16388
  function Cn() {
16389
16389
  h.forEach(function(v) {
16390
- var N = v.node, L = v.eventType, K = v.handler, U = v.options;
16391
- N.removeEventListener(L, K, U);
16390
+ var A = v.node, I = v.eventType, K = v.handler, U = v.options;
16391
+ A.removeEventListener(I, K, U);
16392
16392
  }), h = [];
16393
16393
  }
16394
16394
  function Zt(v) {
16395
- var N, L = !1;
16395
+ var A, I = !1;
16396
16396
  if (!(!y.state.isEnabled || $e(v) || l)) {
16397
- var K = ((N = u) == null ? void 0 : N.type) === "focus";
16397
+ var K = ((A = u) == null ? void 0 : A.type) === "focus";
16398
16398
  u = v, m = v.currentTarget, He(), !y.state.isVisible && Yb(v) && li.forEach(function(U) {
16399
16399
  return U(v);
16400
- }), v.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || o) && y.props.hideOnClick !== !1 && y.state.isVisible ? L = !0 : Qn(v), v.type === "click" && (o = !L), L && !K && en(v);
16400
+ }), v.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || o) && y.props.hideOnClick !== !1 && y.state.isVisible ? I = !0 : Qn(v), v.type === "click" && (o = !I), I && !K && en(v);
16401
16401
  }
16402
16402
  }
16403
16403
  function Mn(v) {
16404
- var N = v.target, L = _().contains(N) || k.contains(N);
16405
- if (!(v.type === "mousemove" && L)) {
16404
+ var A = v.target, I = J().contains(A) || k.contains(A);
16405
+ if (!(v.type === "mousemove" && I)) {
16406
16406
  var K = Dt().concat(k).map(function(U) {
16407
16407
  var Se, je = U._tippy, Tn = (Se = je.popperInstance) == null ? void 0 : Se.state;
16408
16408
  return Tn ? {
@@ -16414,9 +16414,9 @@ function m1(n, e) {
16414
16414
  e1(K, v) && (ht(), en(v));
16415
16415
  }
16416
16416
  }
16417
- function E(v) {
16418
- var N = $e(v) || y.props.trigger.indexOf("click") >= 0 && o;
16419
- if (!N) {
16417
+ function W(v) {
16418
+ var A = $e(v) || y.props.trigger.indexOf("click") >= 0 && o;
16419
+ if (!A) {
16420
16420
  if (y.props.interactive) {
16421
16421
  y.hideWithInteractivity(v);
16422
16422
  return;
@@ -16424,28 +16424,28 @@ function m1(n, e) {
16424
16424
  en(v);
16425
16425
  }
16426
16426
  }
16427
- function $(v) {
16428
- y.props.trigger.indexOf("focusin") < 0 && v.target !== _() || y.props.interactive && v.relatedTarget && k.contains(v.relatedTarget) || en(v);
16427
+ function V(v) {
16428
+ y.props.trigger.indexOf("focusin") < 0 && v.target !== J() || y.props.interactive && v.relatedTarget && k.contains(v.relatedTarget) || en(v);
16429
16429
  }
16430
16430
  function $e(v) {
16431
- return lt.isTouch ? D() !== v.type.indexOf("touch") >= 0 : !1;
16431
+ return lt.isTouch ? N() !== v.type.indexOf("touch") >= 0 : !1;
16432
16432
  }
16433
16433
  function $r() {
16434
16434
  jr();
16435
- var v = y.props, N = v.popperOptions, L = v.placement, K = v.offset, U = v.getReferenceClientRect, Se = v.moveTransition, je = q() ? Ro(k).arrow : null, Tn = U ? {
16435
+ var v = y.props, A = v.popperOptions, I = v.placement, K = v.offset, U = v.getReferenceClientRect, Se = v.moveTransition, je = q() ? Ro(k).arrow : null, Tn = U ? {
16436
16436
  getBoundingClientRect: U,
16437
- contextElement: U.contextElement || _()
16437
+ contextElement: U.contextElement || J()
16438
16438
  } : n, Sl = {
16439
16439
  name: "$$tippy",
16440
16440
  enabled: !0,
16441
16441
  phase: "beforeWrite",
16442
16442
  requires: ["computeStyles"],
16443
- fn: function(_r) {
16444
- var En = _r.state;
16443
+ fn: function(Jr) {
16444
+ var En = Jr.state;
16445
16445
  if (q()) {
16446
16446
  var $d = ne(), ws = $d.box;
16447
- ["placement", "reference-hidden", "escaped"].forEach(function(Jr) {
16448
- Jr === "placement" ? ws.setAttribute("data-placement", En.placement) : En.attributes.popper["data-popper-" + Jr] ? ws.setAttribute("data-" + Jr, "") : ws.removeAttribute("data-" + Jr);
16447
+ ["placement", "reference-hidden", "escaped"].forEach(function(_r) {
16448
+ _r === "placement" ? ws.setAttribute("data-placement", En.placement) : En.attributes.popper["data-popper-" + _r] ? ws.setAttribute("data-" + _r, "") : ws.removeAttribute("data-" + _r);
16449
16449
  }), En.attributes.popper = {};
16450
16450
  }
16451
16451
  }
@@ -16481,8 +16481,8 @@ function m1(n, e) {
16481
16481
  element: je,
16482
16482
  padding: 3
16483
16483
  }
16484
- }), tn.push.apply(tn, N?.modifiers || []), y.popperInstance = $b(Tn, k, Object.assign({}, N, {
16485
- placement: L,
16484
+ }), tn.push.apply(tn, A?.modifiers || []), y.popperInstance = $b(Tn, k, Object.assign({}, A, {
16485
+ placement: I,
16486
16486
  onFirstUpdate: f,
16487
16487
  modifiers: tn
16488
16488
  }));
@@ -16491,8 +16491,8 @@ function m1(n, e) {
16491
16491
  y.popperInstance && (y.popperInstance.destroy(), y.popperInstance = null);
16492
16492
  }
16493
16493
  function gt() {
16494
- var v = y.props.appendTo, N, L = _();
16495
- y.props.interactive && v === Td || v === "parent" ? N = L.parentNode : N = Ed(v, [L]), N.contains(k) || N.appendChild(k), y.state.isMounted = !0, $r(), process.env.NODE_ENV !== "production" && St(y.props.interactive && v === Ie.appendTo && L.nextElementSibling !== k, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
16494
+ var v = y.props.appendTo, A, I = J();
16495
+ y.props.interactive && v === Td || v === "parent" ? A = I.parentNode : A = Ed(v, [I]), A.contains(k) || A.appendChild(k), y.state.isMounted = !0, $r(), process.env.NODE_ENV !== "production" && St(y.props.interactive && v === Ie.appendTo && I.nextElementSibling !== k, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
16496
16496
 
16497
16497
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
16498
16498
 
@@ -16504,22 +16504,22 @@ function m1(n, e) {
16504
16504
  return ns(k.querySelectorAll("[data-tippy-root]"));
16505
16505
  }
16506
16506
  function Qn(v) {
16507
- y.clearDelayTimeouts(), v && W("onTrigger", [y, v]), Ne();
16508
- var N = G(!0), L = j(), K = L[0], U = L[1];
16509
- lt.isTouch && K === "hold" && U && (N = U), N ? r = setTimeout(function() {
16507
+ y.clearDelayTimeouts(), v && j("onTrigger", [y, v]), Ne();
16508
+ var A = G(!0), I = $(), K = I[0], U = I[1];
16509
+ lt.isTouch && K === "hold" && U && (A = U), A ? r = setTimeout(function() {
16510
16510
  y.show();
16511
- }, N) : y.show();
16511
+ }, A) : y.show();
16512
16512
  }
16513
16513
  function en(v) {
16514
- if (y.clearDelayTimeouts(), W("onUntrigger", [y, v]), !y.state.isVisible) {
16514
+ if (y.clearDelayTimeouts(), j("onUntrigger", [y, v]), !y.state.isVisible) {
16515
16515
  Ze();
16516
16516
  return;
16517
16517
  }
16518
16518
  if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(v.type) >= 0 && o)) {
16519
- var N = G(!1);
16520
- N ? i = setTimeout(function() {
16519
+ var A = G(!1);
16520
+ A ? i = setTimeout(function() {
16521
16521
  y.state.isVisible && y.hide();
16522
- }, N) : s = requestAnimationFrame(function() {
16522
+ }, A) : s = requestAnimationFrame(function() {
16523
16523
  y.hide();
16524
16524
  });
16525
16525
  }
@@ -16535,15 +16535,15 @@ function m1(n, e) {
16535
16535
  }
16536
16536
  function Kr(v) {
16537
16537
  if (process.env.NODE_ENV !== "production" && St(y.state.isDestroyed, Nn("setProps")), !y.state.isDestroyed) {
16538
- W("onBeforeUpdate", [y, v]), Cn();
16539
- var N = y.props, L = cc(n, Object.assign({}, N, ic(v), {
16538
+ j("onBeforeUpdate", [y, v]), Cn();
16539
+ var A = y.props, I = cc(n, Object.assign({}, A, ic(v), {
16540
16540
  ignoreAttributes: !0
16541
16541
  }));
16542
- y.props = L, mt(), N.interactiveDebounce !== L.interactiveDebounce && (ht(), p = nc(Mn, L.interactiveDebounce)), N.triggerTarget && !L.triggerTarget ? Pn(N.triggerTarget).forEach(function(K) {
16542
+ y.props = I, mt(), A.interactiveDebounce !== I.interactiveDebounce && (ht(), p = nc(Mn, I.interactiveDebounce)), A.triggerTarget && !I.triggerTarget ? Pn(A.triggerTarget).forEach(function(K) {
16543
16543
  K.removeAttribute("aria-expanded");
16544
- }) : L.triggerTarget && n.removeAttribute("aria-expanded"), He(), X(), C && C(N, L), y.popperInstance && ($r(), Dt().forEach(function(K) {
16544
+ }) : I.triggerTarget && n.removeAttribute("aria-expanded"), He(), X(), C && C(A, I), y.popperInstance && ($r(), Dt().forEach(function(K) {
16545
16545
  requestAnimationFrame(K._tippy.popperInstance.forceUpdate);
16546
- })), W("onAfterUpdate", [y, v]);
16546
+ })), j("onAfterUpdate", [y, v]);
16547
16547
  }
16548
16548
  }
16549
16549
  function qr(v) {
@@ -16553,8 +16553,8 @@ function m1(n, e) {
16553
16553
  }
16554
16554
  function Bd() {
16555
16555
  process.env.NODE_ENV !== "production" && St(y.state.isDestroyed, Nn("show"));
16556
- var v = y.state.isVisible, N = y.state.isDestroyed, L = !y.state.isEnabled, K = lt.isTouch && !y.props.touch, U = Gs(y.props.duration, 0, Ie.duration);
16557
- if (!(v || N || L || K) && !_().hasAttribute("disabled") && (W("onShow", [y], !1), y.props.onShow(y) !== !1)) {
16556
+ var v = y.state.isVisible, A = y.state.isDestroyed, I = !y.state.isEnabled, K = lt.isTouch && !y.props.touch, U = Gs(y.props.duration, 0, Ie.duration);
16557
+ if (!(v || A || I || K) && !J().hasAttribute("disabled") && (j("onShow", [y], !1), y.props.onShow(y) !== !1)) {
16558
16558
  if (y.state.isVisible = !0, q() && (k.style.visibility = "visible"), X(), Ne(), y.state.isMounted || (k.style.transition = "none"), q()) {
16559
16559
  var Se = ne(), je = Se.box, Tn = Se.content;
16560
16560
  Ys([je, Tn], 0);
@@ -16563,11 +16563,11 @@ function m1(n, e) {
16563
16563
  var tn;
16564
16564
  if (!(!y.state.isVisible || c)) {
16565
16565
  if (c = !0, k.offsetHeight, k.style.transition = y.props.moveTransition, q() && y.props.animation) {
16566
- var xs = ne(), _r = xs.box, En = xs.content;
16567
- Ys([_r, En], U), sc([_r, En], "visible");
16566
+ var xs = ne(), Jr = xs.box, En = xs.content;
16567
+ Ys([Jr, En], U), sc([Jr, En], "visible");
16568
16568
  }
16569
- ze(), He(), rc(Qs, y), (tn = y.popperInstance) == null || tn.forceUpdate(), W("onMount", [y]), y.props.animation && q() && De(U, function() {
16570
- y.state.isShown = !0, W("onShown", [y]);
16569
+ ze(), He(), rc(Qs, y), (tn = y.popperInstance) == null || tn.forceUpdate(), j("onMount", [y]), y.props.animation && q() && De(U, function() {
16570
+ y.state.isShown = !0, j("onShown", [y]);
16571
16571
  });
16572
16572
  }
16573
16573
  }, gt();
@@ -16575,8 +16575,8 @@ function m1(n, e) {
16575
16575
  }
16576
16576
  function zd() {
16577
16577
  process.env.NODE_ENV !== "production" && St(y.state.isDestroyed, Nn("hide"));
16578
- var v = !y.state.isVisible, N = y.state.isDestroyed, L = !y.state.isEnabled, K = Gs(y.props.duration, 1, Ie.duration);
16579
- if (!(v || N || L) && (W("onHide", [y], !1), y.props.onHide(y) !== !1)) {
16578
+ var v = !y.state.isVisible, A = y.state.isDestroyed, I = !y.state.isEnabled, K = Gs(y.props.duration, 1, Ie.duration);
16579
+ if (!(v || A || I) && (j("onHide", [y], !1), y.props.onHide(y) !== !1)) {
16580
16580
  if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, q() && (k.style.visibility = "hidden"), ht(), Ze(), X(!0), q()) {
16581
16581
  var U = ne(), Se = U.box, je = U.content;
16582
16582
  y.props.animation && (Ys([Se, je], K), sc([Se, je], "hidden"));
@@ -16592,10 +16592,10 @@ function m1(n, e) {
16592
16592
  v._tippy.unmount();
16593
16593
  }), k.parentNode && k.parentNode.removeChild(k), Qs = Qs.filter(function(v) {
16594
16594
  return v !== y;
16595
- }), y.state.isMounted = !1, W("onHidden", [y]));
16595
+ }), y.state.isMounted = !1, j("onHidden", [y]));
16596
16596
  }
16597
16597
  function Vd() {
16598
- process.env.NODE_ENV !== "production" && St(y.state.isDestroyed, Nn("destroy")), !y.state.isDestroyed && (y.clearDelayTimeouts(), y.unmount(), Cn(), delete n._tippy, y.state.isDestroyed = !0, W("onDestroy", [y]));
16598
+ process.env.NODE_ENV !== "production" && St(y.state.isDestroyed, Nn("destroy")), !y.state.isDestroyed && (y.clearDelayTimeouts(), y.unmount(), Cn(), delete n._tippy, y.state.isDestroyed = !0, j("onDestroy", [y]));
16599
16599
  }
16600
16600
  }
16601
16601
  function Xn(n, e) {
@@ -16899,12 +16899,12 @@ Gn({
16899
16899
  i.unregisterPlugin(r);
16900
16900
  }), () => {
16901
16901
  var r;
16902
- return H("div", { ref: t }, (r = e.default) === null || r === void 0 ? void 0 : r.call(e));
16902
+ return z("div", { ref: t }, (r = e.default) === null || r === void 0 ? void 0 : r.call(e));
16903
16903
  };
16904
16904
  }
16905
16905
  });
16906
16906
  function fc(n) {
16907
- return _d((e, t) => ({
16907
+ return Jd((e, t) => ({
16908
16908
  get() {
16909
16909
  return e(), n;
16910
16910
  },
@@ -16976,7 +16976,7 @@ const v1 = Gn({
16976
16976
  }), { rootEl: e };
16977
16977
  },
16978
16978
  render() {
16979
- return H("div", {
16979
+ return z("div", {
16980
16980
  ref: (n) => {
16981
16981
  this.rootEl = n;
16982
16982
  }
@@ -17021,7 +17021,7 @@ Gn({
17021
17021
  i.unregisterPlugin(r);
17022
17022
  }), () => {
17023
17023
  var r;
17024
- return H("div", { ref: t }, (r = e.default) === null || r === void 0 ? void 0 : r.call(e));
17024
+ return z("div", { ref: t }, (r = e.default) === null || r === void 0 ? void 0 : r.call(e));
17025
17025
  };
17026
17026
  }
17027
17027
  });
@@ -17034,7 +17034,7 @@ Gn({
17034
17034
  }
17035
17035
  },
17036
17036
  render() {
17037
- return H(this.as, {
17037
+ return z(this.as, {
17038
17038
  style: {
17039
17039
  whiteSpace: "pre-wrap"
17040
17040
  },
@@ -17053,7 +17053,7 @@ Gn({
17053
17053
  inject: ["onDragStart", "decorationClasses"],
17054
17054
  render() {
17055
17055
  var n, e;
17056
- return H(this.as, {
17056
+ return z(this.as, {
17057
17057
  // @ts-ignore
17058
17058
  class: this.decorationClasses,
17059
17059
  style: {
@@ -17086,7 +17086,7 @@ const k1 = (n = {}) => {
17086
17086
  }, K1 = { key: 1 }, q1 = {
17087
17087
  key: 2,
17088
17088
  class: "sl-text-gray-400 dark:sl-text-slate-500"
17089
- }, _1 = /* @__PURE__ */ Gn({
17089
+ }, J1 = /* @__PURE__ */ Gn({
17090
17090
  __name: "RichTextInput",
17091
17091
  props: {
17092
17092
  name: {},
@@ -17105,81 +17105,81 @@ const k1 = (n = {}) => {
17105
17105
  },
17106
17106
  emits: ["update:value"],
17107
17107
  setup(n, { expose: e, emit: t }) {
17108
- const r = () => H("svg", {
17108
+ const r = () => z("svg", {
17109
17109
  xmlns: "http://www.w3.org/2000/svg",
17110
17110
  viewBox: "0 0 20 20",
17111
17111
  fill: "currentColor"
17112
- }, [H("path", { "fill-rule": "evenodd", d: "M5 3a1 1 0 011-1h5a4 4 0 013.5 5.9A4 4 0 0111 16H6a1 1 0 01-1-1V3zm3 2v3h2.5a1.5 1.5 0 000-3H8zm0 5v3h3.5a1.5 1.5 0 000-3H8z", "clip-rule": "evenodd" })]), i = () => H("svg", {
17112
+ }, [z("path", { "fill-rule": "evenodd", d: "M5 3a1 1 0 011-1h5a4 4 0 013.5 5.9A4 4 0 0111 16H6a1 1 0 01-1-1V3zm3 2v3h2.5a1.5 1.5 0 000-3H8zm0 5v3h3.5a1.5 1.5 0 000-3H8z", "clip-rule": "evenodd" })]), i = () => z("svg", {
17113
17113
  xmlns: "http://www.w3.org/2000/svg",
17114
17114
  viewBox: "0 0 20 20",
17115
17115
  fill: "currentColor"
17116
- }, [H("path", { d: "M8 3a1 1 0 011-1h6a1 1 0 110 2h-2.268l-2.4 12H12a1 1 0 110 2H6a1 1 0 110-2h2.268l2.4-12H8a1 1 0 01-1-1z" })]), s = () => H("svg", {
17116
+ }, [z("path", { d: "M8 3a1 1 0 011-1h6a1 1 0 110 2h-2.268l-2.4 12H12a1 1 0 110 2H6a1 1 0 110-2h2.268l2.4-12H8a1 1 0 01-1-1z" })]), s = () => z("svg", {
17117
17117
  xmlns: "http://www.w3.org/2000/svg",
17118
17118
  viewBox: "0 0 20 20",
17119
17119
  fill: "currentColor"
17120
- }, [H("path", { d: "M5.5 3a.5.5 0 01.5.5v6a4 4 0 008 0v-6a.5.5 0 011 0v6a5 5 0 01-10 0v-6a.5.5 0 01.5-.5zM4 16.5a.5.5 0 01.5-.5h11a.5.5 0 010 1h-11a.5.5 0 01-.5-.5z" })]), o = () => H("svg", {
17120
+ }, [z("path", { d: "M5.5 3a.5.5 0 01.5.5v6a4 4 0 008 0v-6a.5.5 0 011 0v6a5 5 0 01-10 0v-6a.5.5 0 01.5-.5zM4 16.5a.5.5 0 01.5-.5h11a.5.5 0 010 1h-11a.5.5 0 01-.5-.5z" })]), o = () => z("svg", {
17121
17121
  xmlns: "http://www.w3.org/2000/svg",
17122
17122
  viewBox: "0 0 20 20",
17123
17123
  fill: "currentColor"
17124
- }, [H("path", { "fill-rule": "evenodd", d: "M3.5 10a.75.75 0 01.75-.75h11.5a.75.75 0 010 1.5H4.25A.75.75 0 013.5 10zm3-4a2 2 0 012-2h3a2 2 0 012 2v.5a.75.75 0 01-1.5 0V6a.5.5 0 00-.5-.5h-3a.5.5 0 00-.5.5v.5a.75.75 0 01-1.5 0V6zm0 8a.75.75 0 01.75-.75h5.5a.75.75 0 010 1.5h-5.5A.75.75 0 016.5 14z", "clip-rule": "evenodd" })]), l = () => H("svg", {
17124
+ }, [z("path", { "fill-rule": "evenodd", d: "M3.5 10a.75.75 0 01.75-.75h11.5a.75.75 0 010 1.5H4.25A.75.75 0 013.5 10zm3-4a2 2 0 012-2h3a2 2 0 012 2v.5a.75.75 0 01-1.5 0V6a.5.5 0 00-.5-.5h-3a.5.5 0 00-.5.5v.5a.75.75 0 01-1.5 0V6zm0 8a.75.75 0 01.75-.75h5.5a.75.75 0 010 1.5h-5.5A.75.75 0 016.5 14z", "clip-rule": "evenodd" })]), l = () => z("svg", {
17125
17125
  xmlns: "http://www.w3.org/2000/svg",
17126
17126
  viewBox: "0 0 20 20",
17127
17127
  fill: "currentColor"
17128
- }, [H("path", { "fill-rule": "evenodd", d: "M10 2a.75.75 0 01.75.75v.25h3.5a.75.75 0 010 1.5h-8.5a.75.75 0 010-1.5h3.5v-.25A.75.75 0 0110 2zm-6 6.5a.75.75 0 01.75-.75h10.5a.75.75 0 01.75.75v7a.75.75 0 01-.75.75H4.75a.75.75 0 01-.75-.75v-7zm1.5.75v5.5h9v-5.5h-9z", "clip-rule": "evenodd" })]), a = () => H("svg", {
17128
+ }, [z("path", { "fill-rule": "evenodd", d: "M10 2a.75.75 0 01.75.75v.25h3.5a.75.75 0 010 1.5h-8.5a.75.75 0 010-1.5h3.5v-.25A.75.75 0 0110 2zm-6 6.5a.75.75 0 01.75-.75h10.5a.75.75 0 01.75.75v7a.75.75 0 01-.75.75H4.75a.75.75 0 01-.75-.75v-7zm1.5.75v5.5h9v-5.5h-9z", "clip-rule": "evenodd" })]), a = () => z("svg", {
17129
17129
  xmlns: "http://www.w3.org/2000/svg",
17130
17130
  viewBox: "0 0 20 20",
17131
17131
  fill: "currentColor"
17132
- }, [H("path", { "fill-rule": "evenodd", d: "M6 4.5a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0zm-1 5a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0zm0 5a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0zM7 4a1 1 0 011-1h9a1 1 0 110 2H8a1 1 0 01-1-1zm0 5a1 1 0 011-1h9a1 1 0 110 2H8a1 1 0 01-1-1zm0 5a1 1 0 011-1h9a1 1 0 110 2H8a1 1 0 01-1-1z", "clip-rule": "evenodd" })]), c = () => H("svg", {
17132
+ }, [z("path", { "fill-rule": "evenodd", d: "M6 4.5a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0zm-1 5a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0zm0 5a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0zM7 4a1 1 0 011-1h9a1 1 0 110 2H8a1 1 0 01-1-1zm0 5a1 1 0 011-1h9a1 1 0 110 2H8a1 1 0 01-1-1zm0 5a1 1 0 011-1h9a1 1 0 110 2H8a1 1 0 01-1-1z", "clip-rule": "evenodd" })]), c = () => z("svg", {
17133
17133
  xmlns: "http://www.w3.org/2000/svg",
17134
17134
  viewBox: "0 0 20 20",
17135
17135
  fill: "currentColor"
17136
- }, [H("path", { "fill-rule": "evenodd", d: "M3 3a1 1 0 011-1h.5a1 1 0 011 1v3H6a1 1 0 110 2H4a1 1 0 110-2V3zm0 6a1 1 0 011-1h1.5a1 1 0 011 1v.382l-.447.894A1 1 0 005.618 11H6a1 1 0 110 2H4a1 1 0 01-.894-1.447l.894-1.789V9zm0 6a1 1 0 011-1h1.5a1 1 0 01.8.4l.3.4.3-.4a1 1 0 01.8-.4H6a1 1 0 110 2H5.5l-.3.4a1 1 0 01-1.6 0L3.3 17H4a1 1 0 01-1-1zM8 4a1 1 0 011-1h9a1 1 0 110 2H9a1 1 0 01-1-1zm0 5a1 1 0 011-1h9a1 1 0 110 2H9a1 1 0 01-1-1zm0 5a1 1 0 011-1h9a1 1 0 110 2H9a1 1 0 01-1-1z", "clip-rule": "evenodd" })]), u = () => H("svg", {
17136
+ }, [z("path", { "fill-rule": "evenodd", d: "M3 3a1 1 0 011-1h.5a1 1 0 011 1v3H6a1 1 0 110 2H4a1 1 0 110-2V3zm0 6a1 1 0 011-1h1.5a1 1 0 011 1v.382l-.447.894A1 1 0 005.618 11H6a1 1 0 110 2H4a1 1 0 01-.894-1.447l.894-1.789V9zm0 6a1 1 0 011-1h1.5a1 1 0 01.8.4l.3.4.3-.4a1 1 0 01.8-.4H6a1 1 0 110 2H5.5l-.3.4a1 1 0 01-1.6 0L3.3 17H4a1 1 0 01-1-1zM8 4a1 1 0 011-1h9a1 1 0 110 2H9a1 1 0 01-1-1zm0 5a1 1 0 011-1h9a1 1 0 110 2H9a1 1 0 01-1-1zm0 5a1 1 0 011-1h9a1 1 0 110 2H9a1 1 0 01-1-1z", "clip-rule": "evenodd" })]), u = () => z("svg", {
17137
17137
  xmlns: "http://www.w3.org/2000/svg",
17138
17138
  viewBox: "0 0 20 20",
17139
17139
  fill: "currentColor"
17140
- }, [H("path", { "fill-rule": "evenodd", d: "M3 5a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H5a2 2 0 01-2-2V5zm2-.5a.5.5 0 00-.5.5v2a.5.5 0 00.5.5h2a.5.5 0 00.5-.5V5a.5.5 0 00-.5-.5H5zm8.354.146a.5.5 0 010 .708l-3 3a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 11.708-.708L10 7.293l2.646-2.647a.5.5 0 01.708 0zM3 13a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-2zm2-.5a.5.5 0 00-.5.5v2a.5.5 0 00.5.5h2a.5.5 0 00.5-.5v-2a.5.5 0 00-.5-.5H5zm6-1.5a1 1 0 011-1h4a1 1 0 110 2h-4a1 1 0 01-1-1zm0 4a1 1 0 011-1h4a1 1 0 110 2h-4a1 1 0 01-1-1z", "clip-rule": "evenodd" })]), d = () => H("svg", {
17140
+ }, [z("path", { "fill-rule": "evenodd", d: "M3 5a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H5a2 2 0 01-2-2V5zm2-.5a.5.5 0 00-.5.5v2a.5.5 0 00.5.5h2a.5.5 0 00.5-.5V5a.5.5 0 00-.5-.5H5zm8.354.146a.5.5 0 010 .708l-3 3a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 11.708-.708L10 7.293l2.646-2.647a.5.5 0 01.708 0zM3 13a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-2zm2-.5a.5.5 0 00-.5.5v2a.5.5 0 00.5.5h2a.5.5 0 00.5-.5v-2a.5.5 0 00-.5-.5H5zm6-1.5a1 1 0 011-1h4a1 1 0 110 2h-4a1 1 0 01-1-1zm0 4a1 1 0 011-1h4a1 1 0 110 2h-4a1 1 0 01-1-1z", "clip-rule": "evenodd" })]), d = () => z("svg", {
17141
17141
  xmlns: "http://www.w3.org/2000/svg",
17142
17142
  viewBox: "0 0 20 20",
17143
17143
  fill: "currentColor"
17144
- }, [H("path", { "fill-rule": "evenodd", d: "M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 5A.75.75 0 012.75 9h9.5a.75.75 0 010 1.5h-9.5A.75.75 0 012 9.75zm0 5a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75a.75.75 0 01-.75-.75z", "clip-rule": "evenodd" })]), f = () => H("svg", {
17144
+ }, [z("path", { "fill-rule": "evenodd", d: "M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 5A.75.75 0 012.75 9h9.5a.75.75 0 010 1.5h-9.5A.75.75 0 012 9.75zm0 5a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75a.75.75 0 01-.75-.75z", "clip-rule": "evenodd" })]), f = () => z("svg", {
17145
17145
  xmlns: "http://www.w3.org/2000/svg",
17146
17146
  viewBox: "0 0 20 20",
17147
17147
  fill: "currentColor"
17148
- }, [H("path", { "fill-rule": "evenodd", d: "M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm2.5 5a.75.75 0 01.75-.75h9.5a.75.75 0 010 1.5h-9.5a.75.75 0 01-.75-.75zm-2.5 5a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75a.75.75 0 01-.75-.75z", "clip-rule": "evenodd" })]), h = () => H("svg", {
17148
+ }, [z("path", { "fill-rule": "evenodd", d: "M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm2.5 5a.75.75 0 01.75-.75h9.5a.75.75 0 010 1.5h-9.5a.75.75 0 01-.75-.75zm-2.5 5a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75a.75.75 0 01-.75-.75z", "clip-rule": "evenodd" })]), h = () => z("svg", {
17149
17149
  xmlns: "http://www.w3.org/2000/svg",
17150
17150
  viewBox: "0 0 20 20",
17151
17151
  fill: "currentColor"
17152
- }, [H("path", { "fill-rule": "evenodd", d: "M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm5 5a.75.75 0 01.75-.75h9.5a.75.75 0 010 1.5h-9.5A.75.75 0 017 9.75zm-5 5a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75a.75.75 0 01-.75-.75z", "clip-rule": "evenodd" })]), p = () => H("svg", {
17152
+ }, [z("path", { "fill-rule": "evenodd", d: "M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm5 5a.75.75 0 01.75-.75h9.5a.75.75 0 010 1.5h-9.5A.75.75 0 017 9.75zm-5 5a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75a.75.75 0 01-.75-.75z", "clip-rule": "evenodd" })]), p = () => z("svg", {
17153
17153
  xmlns: "http://www.w3.org/2000/svg",
17154
17154
  viewBox: "0 0 20 20",
17155
17155
  fill: "currentColor"
17156
- }, [H("path", { d: "M6 5a1 1 0 011-1h.5a.5.5 0 01.5.5v2.086A1.5 1.5 0 019.5 8v1A1.5 1.5 0 018 10.5H7a.5.5 0 01-.5-.5V8.914A1.5 1.5 0 015 7.5V6a1 1 0 011-1zm6 0a1 1 0 011-1h.5a.5.5 0 01.5.5v2.086A1.5 1.5 0 0115.5 8v1a1.5 1.5 0 01-1.5 1.5h-1a.5.5 0 01-.5-.5V8.914A1.5 1.5 0 0111 7.5V6a1 1 0 011-1z" })]), m = () => H("svg", {
17156
+ }, [z("path", { d: "M6 5a1 1 0 011-1h.5a.5.5 0 01.5.5v2.086A1.5 1.5 0 019.5 8v1A1.5 1.5 0 018 10.5H7a.5.5 0 01-.5-.5V8.914A1.5 1.5 0 015 7.5V6a1 1 0 011-1zm6 0a1 1 0 011-1h.5a.5.5 0 01.5.5v2.086A1.5 1.5 0 0115.5 8v1a1.5 1.5 0 01-1.5 1.5h-1a.5.5 0 01-.5-.5V8.914A1.5 1.5 0 0111 7.5V6a1 1 0 011-1z" })]), m = () => z("svg", {
17157
17157
  xmlns: "http://www.w3.org/2000/svg",
17158
17158
  viewBox: "0 0 20 20",
17159
17159
  fill: "currentColor"
17160
- }, [H("path", { "fill-rule": "evenodd", d: "M2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z", "clip-rule": "evenodd" })]), g = () => H("svg", {
17160
+ }, [z("path", { "fill-rule": "evenodd", d: "M2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z", "clip-rule": "evenodd" })]), g = () => z("svg", {
17161
17161
  xmlns: "http://www.w3.org/2000/svg",
17162
17162
  viewBox: "0 0 20 20",
17163
17163
  fill: "currentColor"
17164
- }, [H("path", { d: "M12.232 4.232a2.5 2.5 0 013.536 3.536l-1.225 1.224a.75.75 0 001.061 1.06l1.224-1.224a4 4 0 00-5.656-5.656l-3 3a4 4 0 00.225 5.865.75.75 0 00.977-1.138 2.5 2.5 0 01-.142-3.667l3-3z" }), H("path", { d: "M11.603 7.963a.75.75 0 00-.977 1.138 2.5 2.5 0 01.142 3.667l-3 3a2.5 2.5 0 01-3.536-3.536l1.225-1.224a.75.75 0 00-1.061-1.06l-1.224 1.224a4 4 0 105.656 5.656l3-3a4 4 0 00-.225-5.865z" })]), b = () => H("svg", {
17164
+ }, [z("path", { d: "M12.232 4.232a2.5 2.5 0 013.536 3.536l-1.225 1.224a.75.75 0 001.061 1.06l1.224-1.224a4 4 0 00-5.656-5.656l-3 3a4 4 0 00.225 5.865.75.75 0 00.977-1.138 2.5 2.5 0 01-.142-3.667l3-3z" }), z("path", { d: "M11.603 7.963a.75.75 0 00-.977 1.138 2.5 2.5 0 01.142 3.667l-3 3a2.5 2.5 0 01-3.536-3.536l1.225-1.224a.75.75 0 00-1.061-1.06l-1.224 1.224a4 4 0 105.656 5.656l3-3a4 4 0 00-.225-5.865z" })]), b = () => z("svg", {
17165
17165
  xmlns: "http://www.w3.org/2000/svg",
17166
17166
  viewBox: "0 0 20 20",
17167
17167
  fill: "currentColor"
17168
- }, [H("path", { d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" })]), w = () => H("svg", {
17168
+ }, [z("path", { d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" })]), w = () => z("svg", {
17169
17169
  xmlns: "http://www.w3.org/2000/svg",
17170
17170
  viewBox: "0 0 20 20",
17171
17171
  fill: "currentColor"
17172
- }, [H("path", { "fill-rule": "evenodd", d: "M7.793 2.232a.75.75 0 01-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 010 10.75H10.75a.75.75 0 010-1.5h2.875a3.875 3.875 0 000-7.75H3.622l4.146 3.957a.75.75 0 01-1.036 1.085l-5.5-5.25a.75.75 0 010-1.085l5.5-5.25a.75.75 0 011.06.025z", "clip-rule": "evenodd" })]), T = () => H("svg", {
17172
+ }, [z("path", { "fill-rule": "evenodd", d: "M7.793 2.232a.75.75 0 01-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 010 10.75H10.75a.75.75 0 010-1.5h2.875a3.875 3.875 0 000-7.75H3.622l4.146 3.957a.75.75 0 01-1.036 1.085l-5.5-5.25a.75.75 0 010-1.085l5.5-5.25a.75.75 0 011.06.025z", "clip-rule": "evenodd" })]), T = () => z("svg", {
17173
17173
  xmlns: "http://www.w3.org/2000/svg",
17174
17174
  viewBox: "0 0 20 20",
17175
17175
  fill: "currentColor"
17176
- }, [H("path", { "fill-rule": "evenodd", d: "M12.207 2.232a.75.75 0 01.025 1.06l4.146 3.958H6.375a5.375 5.375 0 000 10.75H9.25a.75.75 0 010 1.5H6.375a6.875 6.875 0 010-13.75h10.003l-4.146-3.957a.75.75 0 01-.025-1.06z", "clip-rule": "evenodd" })]), y = n, M = t, k = nn(() => nf(y.name)), C = rs(""), {
17177
- errorMessage: R,
17178
- handleChange: B,
17179
- meta: j
17176
+ }, [z("path", { "fill-rule": "evenodd", d: "M12.207 2.232a.75.75 0 01.025 1.06l4.146 3.958H6.375a5.375 5.375 0 000 10.75H9.25a.75.75 0 010 1.5H6.375a6.875 6.875 0 010-13.75h10.003l-4.146-3.957a.75.75 0 01-.025-1.06z", "clip-rule": "evenodd" })]), y = n, M = t, k = nn(() => nf(y.name)), C = rs(""), {
17177
+ errorMessage: D,
17178
+ handleChange: P,
17179
+ meta: $
17180
17180
  } = ef(y.name, y.rules, {
17181
17181
  initialValue: y.value
17182
- }), D = k1({
17182
+ }), N = k1({
17183
17183
  extensions: [
17184
17184
  ny.configure({
17185
17185
  bulletList: {},
@@ -17220,56 +17220,56 @@ const k1 = (n = {}) => {
17220
17220
  class: "prose prose-sm sm:prose-base focus:outline-none"
17221
17221
  }
17222
17222
  },
17223
- onUpdate: ({ editor: E }) => {
17224
- const $ = E.getHTML();
17225
- B($), M("update:value", $);
17223
+ onUpdate: ({ editor: W }) => {
17224
+ const V = W.getHTML();
17225
+ P(V), M("update:value", V);
17226
17226
  }
17227
17227
  });
17228
17228
  Pr(() => {
17229
- D.value?.destroy();
17230
- }), Cl(() => y.value, (E) => {
17231
- if (!D.value) return;
17232
- const $ = D.value.getHTML();
17233
- E !== $ && D.value.commands.setContent(E || "", !1);
17234
- }), Cl(() => y.disabled, (E) => {
17235
- D.value?.setEditable(!E);
17229
+ N.value?.destroy();
17230
+ }), Cl(() => y.value, (W) => {
17231
+ if (!N.value) return;
17232
+ const V = N.value.getHTML();
17233
+ W !== V && N.value.commands.setContent(W || "", !1);
17234
+ }), Cl(() => y.disabled, (W) => {
17235
+ N.value?.setEditable(!W);
17236
17236
  });
17237
- const q = nn(() => D.value?.getText().length ?? 0), _ = nn(() => D.value?.can().undo() ?? !1), oe = nn(() => D.value?.can().redo() ?? !1), ne = nn(() => {
17238
- const E = ["sl-border-gray-300", "dark:sl-border-slate-600"];
17239
- return y.disabled && E.push("sl-opacity-60", "sl-cursor-not-allowed"), R.value && (j.touched || y.showErrors) ? E.push("sl-border-red-500", "dark:sl-border-red-500") : j.valid && j.touched && E.push("sl-border-green-500", "dark:sl-border-green-500"), E;
17237
+ const q = nn(() => N.value?.getText().length ?? 0), J = nn(() => N.value?.can().undo() ?? !1), oe = nn(() => N.value?.can().redo() ?? !1), ne = nn(() => {
17238
+ const W = ["sl-border-gray-300", "dark:sl-border-slate-600"];
17239
+ return y.disabled && W.push("sl-opacity-60", "sl-cursor-not-allowed"), D.value && ($.touched || y.showErrors) ? W.push("sl-border-red-500", "dark:sl-border-red-500") : $.valid && $.touched && W.push("sl-border-green-500", "dark:sl-border-green-500"), W;
17240
17240
  }), G = nn(() => [
17241
17241
  "sl-border-gray-200",
17242
17242
  "dark:sl-border-slate-700",
17243
17243
  "sl-bg-gray-50",
17244
17244
  "dark:sl-bg-slate-800"
17245
17245
  ]), X = nn(() => {
17246
- const E = ["sl-bg-white", "dark:sl-bg-slate-900"];
17247
- return y.disabled && E.push("sl-bg-gray-50", "dark:sl-bg-slate-800", "sl-cursor-not-allowed"), E;
17248
- }), W = (E, $) => D.value ? typeof E == "object" ? D.value.isActive(E) : D.value.isActive(E, $) : !1, ze = () => D.value?.chain().focus().toggleBold().run(), He = () => D.value?.chain().focus().toggleItalic().run(), ht = () => D.value?.chain().focus().toggleUnderline().run(), Fe = () => D.value?.chain().focus().toggleStrike().run(), pt = () => D.value?.chain().focus().toggleHighlight().run(), Ve = (E) => D.value?.chain().focus().toggleHeading({ level: E }).run(), Ne = () => D.value?.chain().focus().toggleBulletList().run(), Ze = () => D.value?.chain().focus().toggleOrderedList().run(), At = () => D.value?.chain().focus().toggleTaskList().run(), De = (E) => D.value?.chain().focus().setTextAlign(E).run(), Nt = () => D.value?.chain().focus().toggleBlockquote().run(), rt = () => D.value?.chain().focus().setHorizontalRule().run(), mt = () => {
17249
- if (!D.value) return;
17250
- const E = (C.value || "").trim();
17251
- if (!E) return;
17252
- const $ = E.match(/^https?:\/\//) ? E : `https://${E}`;
17253
- D.value.chain().focus().extendMarkRange("link").setLink({ href: $ }).run(), C.value = "";
17254
- }, Cn = () => D.value?.chain().focus().unsetLink().run(), Zt = () => D.value?.chain().focus().undo().run(), Mn = () => D.value?.chain().focus().redo().run();
17246
+ const W = ["sl-bg-white", "dark:sl-bg-slate-900"];
17247
+ return y.disabled && W.push("sl-bg-gray-50", "dark:sl-bg-slate-800", "sl-cursor-not-allowed"), W;
17248
+ }), j = (W, V) => N.value ? typeof W == "object" ? N.value.isActive(W) : N.value.isActive(W, V) : !1, ze = () => N.value?.chain().focus().toggleBold().run(), He = () => N.value?.chain().focus().toggleItalic().run(), ht = () => N.value?.chain().focus().toggleUnderline().run(), Fe = () => N.value?.chain().focus().toggleStrike().run(), pt = () => N.value?.chain().focus().toggleHighlight().run(), Ve = (W) => N.value?.chain().focus().toggleHeading({ level: W }).run(), Ne = () => N.value?.chain().focus().toggleBulletList().run(), Ze = () => N.value?.chain().focus().toggleOrderedList().run(), At = () => N.value?.chain().focus().toggleTaskList().run(), De = (W) => N.value?.chain().focus().setTextAlign(W).run(), Nt = () => N.value?.chain().focus().toggleBlockquote().run(), rt = () => N.value?.chain().focus().setHorizontalRule().run(), mt = () => {
17249
+ if (!N.value) return;
17250
+ const W = (C.value || "").trim();
17251
+ if (!W) return;
17252
+ const V = W.match(/^https?:\/\//) ? W : `https://${W}`;
17253
+ N.value.chain().focus().extendMarkRange("link").setLink({ href: V }).run(), C.value = "";
17254
+ }, Cn = () => N.value?.chain().focus().unsetLink().run(), Zt = () => N.value?.chain().focus().undo().run(), Mn = () => N.value?.chain().focus().redo().run();
17255
17255
  return e({
17256
- editor: D,
17257
- focus: () => D.value?.chain().focus().run(),
17258
- blur: () => D.value?.commands.blur(),
17259
- getHTML: () => D.value?.getHTML() ?? "",
17260
- getText: () => D.value?.getText() ?? "",
17261
- isEmpty: () => D.value?.isEmpty ?? !0
17262
- }), (E, $) => (We(), Jd(tf, {
17256
+ editor: N,
17257
+ focus: () => N.value?.chain().focus().run(),
17258
+ blur: () => N.value?.commands.blur(),
17259
+ getHTML: () => N.value?.getHTML() ?? "",
17260
+ getText: () => N.value?.getText() ?? "",
17261
+ isEmpty: () => N.value?.isEmpty ?? !0
17262
+ }), (W, V) => (We(), _d(tf, {
17263
17263
  id: k.value,
17264
- name: E.name,
17265
- label: E.label,
17266
- optional: !E.rules,
17267
- "error-message": Dn(R),
17268
- "is-valid": Dn(j).valid,
17269
- "is-touched": Dn(j).touched,
17270
- "show-errors": E.showErrors,
17271
- "tertiary-label": E.tertiaryLabel,
17272
- disabled: E.disabled
17264
+ name: n.name,
17265
+ label: n.label,
17266
+ optional: !n.rules,
17267
+ "error-message": Dn(D),
17268
+ "is-valid": Dn($).valid,
17269
+ "is-touched": Dn($).touched,
17270
+ "show-errors": n.showErrors,
17271
+ "tertiary-label": n.tertiaryLabel,
17272
+ disabled: n.disabled
17273
17273
  }, {
17274
17274
  default: Gd(() => [
17275
17275
  Q("div", {
@@ -17280,184 +17280,184 @@ const k1 = (n = {}) => {
17280
17280
  }, [
17281
17281
  Q("button", {
17282
17282
  type: "button",
17283
- class: ae(["sl-toolbar-btn", { "sl-active": W("bold") }]),
17283
+ class: ae(["sl-toolbar-btn", { "sl-active": j("bold") }]),
17284
17284
  title: "Bold (Ctrl+B)",
17285
- disabled: E.disabled,
17285
+ disabled: n.disabled,
17286
17286
  onClick: ze
17287
17287
  }, [
17288
17288
  ce(r, { class: "sl-h-4 sl-w-4" })
17289
17289
  ], 10, x1),
17290
17290
  Q("button", {
17291
17291
  type: "button",
17292
- class: ae(["sl-toolbar-btn", { "sl-active": W("italic") }]),
17292
+ class: ae(["sl-toolbar-btn", { "sl-active": j("italic") }]),
17293
17293
  title: "Italic (Ctrl+I)",
17294
- disabled: E.disabled,
17294
+ disabled: n.disabled,
17295
17295
  onClick: He
17296
17296
  }, [
17297
17297
  ce(i, { class: "sl-h-4 sl-w-4" })
17298
17298
  ], 10, w1),
17299
17299
  Q("button", {
17300
17300
  type: "button",
17301
- class: ae(["sl-toolbar-btn", { "sl-active": W("underline") }]),
17301
+ class: ae(["sl-toolbar-btn", { "sl-active": j("underline") }]),
17302
17302
  title: "Underline (Ctrl+U)",
17303
- disabled: E.disabled,
17303
+ disabled: n.disabled,
17304
17304
  onClick: ht
17305
17305
  }, [
17306
17306
  ce(s, { class: "sl-h-4 sl-w-4" })
17307
17307
  ], 10, S1),
17308
17308
  Q("button", {
17309
17309
  type: "button",
17310
- class: ae(["sl-toolbar-btn", { "sl-active": W("strike") }]),
17310
+ class: ae(["sl-toolbar-btn", { "sl-active": j("strike") }]),
17311
17311
  title: "Strikethrough",
17312
- disabled: E.disabled,
17312
+ disabled: n.disabled,
17313
17313
  onClick: Fe
17314
17314
  }, [
17315
17315
  ce(o, { class: "sl-h-4 sl-w-4" })
17316
17316
  ], 10, C1),
17317
17317
  Q("button", {
17318
17318
  type: "button",
17319
- class: ae(["sl-toolbar-btn", { "sl-active": W("highlight") }]),
17319
+ class: ae(["sl-toolbar-btn", { "sl-active": j("highlight") }]),
17320
17320
  title: "Highlight",
17321
- disabled: E.disabled,
17321
+ disabled: n.disabled,
17322
17322
  onClick: pt
17323
17323
  }, [
17324
17324
  ce(l, { class: "sl-h-4 sl-w-4" })
17325
17325
  ], 10, M1),
17326
- $[8] || ($[8] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1)),
17327
- E.minimal ? yt("", !0) : (We(), et(Ml, { key: 0 }, [
17326
+ V[8] || (V[8] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1)),
17327
+ n.minimal ? yt("", !0) : (We(), et(Ml, { key: 0 }, [
17328
17328
  Q("button", {
17329
17329
  type: "button",
17330
- class: ae(["sl-toolbar-btn sl-text-xs sl-font-bold sl-px-1.5", { "sl-active": W("heading", { level: 2 }) }]),
17330
+ class: ae(["sl-toolbar-btn sl-text-xs sl-font-bold sl-px-1.5", { "sl-active": j("heading", { level: 2 }) }]),
17331
17331
  title: "Heading 2",
17332
- disabled: E.disabled,
17333
- onClick: $[0] || ($[0] = ($e) => Ve(2))
17332
+ disabled: n.disabled,
17333
+ onClick: V[0] || (V[0] = ($e) => Ve(2))
17334
17334
  }, " H2 ", 10, T1),
17335
17335
  Q("button", {
17336
17336
  type: "button",
17337
- class: ae(["sl-toolbar-btn sl-text-xs sl-font-bold sl-px-1.5", { "sl-active": W("heading", { level: 3 }) }]),
17337
+ class: ae(["sl-toolbar-btn sl-text-xs sl-font-bold sl-px-1.5", { "sl-active": j("heading", { level: 3 }) }]),
17338
17338
  title: "Heading 3",
17339
- disabled: E.disabled,
17340
- onClick: $[1] || ($[1] = ($e) => Ve(3))
17339
+ disabled: n.disabled,
17340
+ onClick: V[1] || (V[1] = ($e) => Ve(3))
17341
17341
  }, " H3 ", 10, E1),
17342
- $[6] || ($[6] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1))
17342
+ V[6] || (V[6] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1))
17343
17343
  ], 64)),
17344
17344
  Q("button", {
17345
17345
  type: "button",
17346
- class: ae(["sl-toolbar-btn", { "sl-active": W("bulletList") }]),
17346
+ class: ae(["sl-toolbar-btn", { "sl-active": j("bulletList") }]),
17347
17347
  title: "Bullet List",
17348
- disabled: E.disabled,
17348
+ disabled: n.disabled,
17349
17349
  onClick: Ne
17350
17350
  }, [
17351
17351
  ce(a, { class: "sl-h-4 sl-w-4" })
17352
17352
  ], 10, O1),
17353
17353
  Q("button", {
17354
17354
  type: "button",
17355
- class: ae(["sl-toolbar-btn", { "sl-active": W("orderedList") }]),
17355
+ class: ae(["sl-toolbar-btn", { "sl-active": j("orderedList") }]),
17356
17356
  title: "Numbered List",
17357
- disabled: E.disabled,
17357
+ disabled: n.disabled,
17358
17358
  onClick: Ze
17359
17359
  }, [
17360
17360
  ce(c, { class: "sl-h-4 sl-w-4" })
17361
17361
  ], 10, A1),
17362
- E.minimal ? yt("", !0) : (We(), et("button", {
17362
+ n.minimal ? yt("", !0) : (We(), et("button", {
17363
17363
  key: 1,
17364
17364
  type: "button",
17365
- class: ae(["sl-toolbar-btn", { "sl-active": W("taskList") }]),
17365
+ class: ae(["sl-toolbar-btn", { "sl-active": j("taskList") }]),
17366
17366
  title: "Task List (Checkbox)",
17367
- disabled: E.disabled,
17367
+ disabled: n.disabled,
17368
17368
  onClick: At
17369
17369
  }, [
17370
17370
  ce(u, { class: "sl-h-4 sl-w-4" })
17371
17371
  ], 10, N1)),
17372
- $[9] || ($[9] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1)),
17373
- E.minimal ? yt("", !0) : (We(), et(Ml, { key: 2 }, [
17372
+ V[9] || (V[9] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1)),
17373
+ n.minimal ? yt("", !0) : (We(), et(Ml, { key: 2 }, [
17374
17374
  Q("button", {
17375
17375
  type: "button",
17376
- class: ae(["sl-toolbar-btn", { "sl-active": W({ textAlign: "left" }) }]),
17376
+ class: ae(["sl-toolbar-btn", { "sl-active": j({ textAlign: "left" }) }]),
17377
17377
  title: "Align Left",
17378
- disabled: E.disabled,
17379
- onClick: $[2] || ($[2] = ($e) => De("left"))
17378
+ disabled: n.disabled,
17379
+ onClick: V[2] || (V[2] = ($e) => De("left"))
17380
17380
  }, [
17381
17381
  ce(d, { class: "sl-h-4 sl-w-4" })
17382
17382
  ], 10, D1),
17383
17383
  Q("button", {
17384
17384
  type: "button",
17385
- class: ae(["sl-toolbar-btn", { "sl-active": W({ textAlign: "center" }) }]),
17385
+ class: ae(["sl-toolbar-btn", { "sl-active": j({ textAlign: "center" }) }]),
17386
17386
  title: "Align Center",
17387
- disabled: E.disabled,
17388
- onClick: $[3] || ($[3] = ($e) => De("center"))
17387
+ disabled: n.disabled,
17388
+ onClick: V[3] || (V[3] = ($e) => De("center"))
17389
17389
  }, [
17390
17390
  ce(f, { class: "sl-h-4 sl-w-4" })
17391
17391
  ], 10, R1),
17392
17392
  Q("button", {
17393
17393
  type: "button",
17394
- class: ae(["sl-toolbar-btn", { "sl-active": W({ textAlign: "right" }) }]),
17394
+ class: ae(["sl-toolbar-btn", { "sl-active": j({ textAlign: "right" }) }]),
17395
17395
  title: "Align Right",
17396
- disabled: E.disabled,
17397
- onClick: $[4] || ($[4] = ($e) => De("right"))
17396
+ disabled: n.disabled,
17397
+ onClick: V[4] || (V[4] = ($e) => De("right"))
17398
17398
  }, [
17399
17399
  ce(h, { class: "sl-h-4 sl-w-4" })
17400
17400
  ], 10, I1),
17401
- $[7] || ($[7] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1))
17401
+ V[7] || (V[7] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1))
17402
17402
  ], 64)),
17403
- E.minimal ? yt("", !0) : (We(), et("button", {
17403
+ n.minimal ? yt("", !0) : (We(), et("button", {
17404
17404
  key: 3,
17405
17405
  type: "button",
17406
- class: ae(["sl-toolbar-btn", { "sl-active": W("blockquote") }]),
17406
+ class: ae(["sl-toolbar-btn", { "sl-active": j("blockquote") }]),
17407
17407
  title: "Blockquote",
17408
- disabled: E.disabled,
17408
+ disabled: n.disabled,
17409
17409
  onClick: Nt
17410
17410
  }, [
17411
17411
  ce(p, { class: "sl-h-4 sl-w-4" })
17412
17412
  ], 10, L1)),
17413
- E.minimal ? yt("", !0) : (We(), et("button", {
17413
+ n.minimal ? yt("", !0) : (We(), et("button", {
17414
17414
  key: 4,
17415
17415
  type: "button",
17416
17416
  class: "sl-toolbar-btn",
17417
17417
  title: "Horizontal Rule",
17418
- disabled: E.disabled,
17418
+ disabled: n.disabled,
17419
17419
  onClick: rt
17420
17420
  }, [
17421
17421
  ce(m, { class: "sl-h-4 sl-w-4" })
17422
17422
  ], 8, P1)),
17423
- E.minimal ? yt("", !0) : (We(), et("div", B1)),
17423
+ n.minimal ? yt("", !0) : (We(), et("div", B1)),
17424
17424
  Q("div", z1, [
17425
17425
  Yd(Q("input", {
17426
- "onUpdate:modelValue": $[5] || ($[5] = ($e) => C.value = $e),
17426
+ "onUpdate:modelValue": V[5] || (V[5] = ($e) => C.value = $e),
17427
17427
  type: "text",
17428
17428
  class: "sl-text-xs sl-px-2 sl-py-1 sl-border sl-rounded sl-w-28 sm:sl-w-36 sl-bg-white dark:sl-bg-slate-800 sl-border-gray-300 dark:sl-border-slate-600 sl-text-gray-900 dark:sl-text-slate-100 placeholder:sl-text-gray-400 dark:placeholder:sl-text-slate-500",
17429
17429
  placeholder: "https://...",
17430
- disabled: E.disabled,
17430
+ disabled: n.disabled,
17431
17431
  onKeydown: Xd(Qd(mt, ["prevent"]), ["enter"])
17432
17432
  }, null, 40, H1), [
17433
17433
  [Zd, C.value]
17434
17434
  ]),
17435
17435
  Q("button", {
17436
17436
  type: "button",
17437
- class: ae(["sl-toolbar-btn", { "sl-active": W("link") }]),
17437
+ class: ae(["sl-toolbar-btn", { "sl-active": j("link") }]),
17438
17438
  title: "Set Link",
17439
- disabled: E.disabled,
17439
+ disabled: n.disabled,
17440
17440
  onClick: mt
17441
17441
  }, [
17442
17442
  ce(g, { class: "sl-h-4 sl-w-4" })
17443
17443
  ], 10, F1),
17444
- W("link") ? (We(), et("button", {
17444
+ j("link") ? (We(), et("button", {
17445
17445
  key: 0,
17446
17446
  type: "button",
17447
17447
  class: "sl-toolbar-btn",
17448
17448
  title: "Remove Link",
17449
- disabled: E.disabled,
17449
+ disabled: n.disabled,
17450
17450
  onClick: Cn
17451
17451
  }, [
17452
17452
  ce(b, { class: "sl-h-4 sl-w-4" })
17453
17453
  ], 8, V1)) : yt("", !0)
17454
17454
  ]),
17455
- $[10] || ($[10] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1)),
17455
+ V[10] || (V[10] = Q("div", { class: "sl-h-4 sl-w-px sl-bg-gray-300 dark:sl-bg-slate-600 sl-mx-1" }, null, -1)),
17456
17456
  Q("button", {
17457
17457
  type: "button",
17458
17458
  class: "sl-toolbar-btn",
17459
17459
  title: "Undo (Ctrl+Z)",
17460
- disabled: E.disabled || !_.value,
17460
+ disabled: n.disabled || !J.value,
17461
17461
  onClick: Zt
17462
17462
  }, [
17463
17463
  ce(w, { class: "sl-h-4 sl-w-4" })
@@ -17466,26 +17466,26 @@ const k1 = (n = {}) => {
17466
17466
  type: "button",
17467
17467
  class: "sl-toolbar-btn",
17468
17468
  title: "Redo (Ctrl+Shift+Z)",
17469
- disabled: E.disabled || !oe.value,
17469
+ disabled: n.disabled || !oe.value,
17470
17470
  onClick: Mn
17471
17471
  }, [
17472
17472
  ce(T, { class: "sl-h-4 sl-w-4" })
17473
17473
  ], 8, j1)
17474
17474
  ], 2),
17475
17475
  ce(Dn(v1), {
17476
- editor: Dn(D),
17476
+ editor: Dn(N),
17477
17477
  class: ae(["sl-editor-content", X.value])
17478
17478
  }, null, 8, ["editor", "class"]),
17479
- E.hint || E.showCharCount ? (We(), et("div", W1, [
17480
- E.hint ? (We(), et("span", U1, Tl(E.hint), 1)) : (We(), et("span", K1)),
17481
- E.showCharCount ? (We(), et("span", q1, Tl(q.value) + " characters ", 1)) : yt("", !0)
17479
+ n.hint || n.showCharCount ? (We(), et("div", W1, [
17480
+ n.hint ? (We(), et("span", U1, Tl(n.hint), 1)) : (We(), et("span", K1)),
17481
+ n.showCharCount ? (We(), et("span", q1, Tl(q.value) + " characters ", 1)) : yt("", !0)
17482
17482
  ])) : yt("", !0)
17483
17483
  ], 2)
17484
17484
  ]),
17485
17485
  _: 1
17486
17486
  }, 8, ["id", "name", "label", "optional", "error-message", "is-valid", "is-touched", "show-errors", "tertiary-label", "disabled"]));
17487
17487
  }
17488
- }), ev = /* @__PURE__ */ rf(_1, [["__scopeId", "data-v-64b191e4"]]);
17488
+ }), ev = /* @__PURE__ */ rf(J1, [["__scopeId", "data-v-64b191e4"]]);
17489
17489
  export {
17490
17490
  ev as default
17491
17491
  };