@ncino/web-components 7.0.0 → 8.0.0-preview.2

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 (1385) hide show
  1. package/dist/_slds/icons/doctype-sprite/svg/symbols-rtl.svg +1 -1
  2. package/dist/_slds/icons/doctype-sprite/svg/symbols.svg +1 -1
  3. package/dist/_slds/icons/standard-sprite/svg/symbols-rtl.svg +1 -1
  4. package/dist/_slds/icons/standard-sprite/svg/symbols.svg +1 -1
  5. package/dist/_slds/icons/svg/symbols-rtl.svg +1 -1
  6. package/dist/_slds/icons/svg/symbols.svg +1 -1
  7. package/dist/_slds/icons/symbols-rtl.svg +1 -1
  8. package/dist/_slds/icons/symbols.svg +1 -1
  9. package/dist/_slds/icons/utility-sprite/svg/symbols-rtl.svg +1 -1
  10. package/dist/_slds/icons/utility-sprite/svg/symbols.svg +1 -1
  11. package/dist/_virtual/index.js +1 -1
  12. package/dist/_virtual/index10.js +1 -1
  13. package/dist/_virtual/index11.js +1 -1
  14. package/dist/_virtual/index12.js +1 -1
  15. package/dist/_virtual/index2.js +1 -1
  16. package/dist/_virtual/index3.js +1 -1
  17. package/dist/_virtual/index4.js +1 -1
  18. package/dist/_virtual/index5.js +1 -1
  19. package/dist/_virtual/index7.js +1 -1
  20. package/dist/_virtual/index8.js +1 -1
  21. package/dist/_virtual/index9.js +1 -1
  22. package/dist/_virtual/index_html.js +1 -1
  23. package/dist/_virtual/index_react.js +1 -1
  24. package/dist/assets/node_modules/.pnpm/ckeditor5@46.1.0/node_modules/ckeditor5/dist/ckeditor5.css +4 -0
  25. package/dist/components/accordion/accordion.js +1 -1
  26. package/dist/components/accordion/gator/base/accordion.gator.js +1 -1
  27. package/dist/components/accordion/gator/group/accordion-group.gator.js +1 -1
  28. package/dist/components/alert/alert.js +1 -1
  29. package/dist/components/alert/gator/base/alert.gator.js +1 -1
  30. package/dist/components/alert/gator/subtitle/alert-subtitle.gator.js +2 -2
  31. package/dist/components/alert/gator/title/alert-title.gator.js +2 -2
  32. package/dist/components/avatar/avatar.js +1 -1
  33. package/dist/components/avatar/gator/avatar.gator.js +1 -1
  34. package/dist/components/badge/badge.js +1 -1
  35. package/dist/components/badge/gator/badge.gator.js +1 -1
  36. package/dist/components/badge/slds/badge.slds.js +1 -1
  37. package/dist/components/banner/banner.js +1 -1
  38. package/dist/components/banner/gator/banner.gator.js +2 -2
  39. package/dist/components/boolean/boolean.gator.js +1 -1
  40. package/dist/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.js +2 -2
  41. package/dist/components/breadcrumbs/gator/container/breadcrumbs.gator.js +1 -1
  42. package/dist/components/button/button.js +1 -1
  43. package/dist/components/button/gator/button.gator.js +3 -3
  44. package/dist/components/button/slds/button.slds.js +1 -1
  45. package/dist/components/button-card/button-card.js +1 -1
  46. package/dist/components/button-card/gator/button-card.gator.js +1 -1
  47. package/dist/components/button-group/gator/button-group.gator.js +1 -1
  48. package/dist/components/card/card.js +1 -1
  49. package/dist/components/card/gator/base/card.gator.js +1 -1
  50. package/dist/components/card/gator/content/card-content.gator.js +1 -1
  51. package/dist/components/card/gator/footer/card-footer.gator.js +2 -2
  52. package/dist/components/card/gator/header/card-header.gator.js +2 -2
  53. package/dist/components/checkbox/checkbox.gator.js +1 -1
  54. package/dist/components/checkbox-group/checkbox-group.gator.js +1 -1
  55. package/dist/components/chip/chip.js +1 -1
  56. package/dist/components/chip/gator/chip.gator.js +1 -1
  57. package/dist/components/combobox/base/combobox.js +1 -1
  58. package/dist/components/combobox/base/combobox.slds.js +1 -1
  59. package/dist/components/combobox/combobox-item/combobox-item.js +1 -1
  60. package/dist/components/combobox/combobox-item/combobox-item.slds.js +1 -1
  61. package/dist/components/date-picker/base/datepicker.js +1 -1
  62. package/dist/components/date-picker/base/gator/datepicker.gator.js +1 -1
  63. package/dist/components/date-picker/year-month-selector/year-month-selector.gator.js +1 -1
  64. package/dist/components/display-card/display-card.js +1 -1
  65. package/dist/components/display-card/gator/display-card.gator.js +1 -1
  66. package/dist/components/divider/gator/divider.gator.js +1 -1
  67. package/dist/components/fab/fab.js +1 -1
  68. package/dist/components/fab/gator/fab.gator.js +1 -1
  69. package/dist/components/guided-nav/gator/guided-nav/guided-nav.gator.js +1 -1
  70. package/dist/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.js +4 -4
  71. package/dist/components/guided-nav/gator/guided-nav-substep/guided-nav-substep.gator.js +1 -1
  72. package/dist/components/guided-nav/guided-nav.js +1 -1
  73. package/dist/components/headline-card/gator/headline-card.gator.js +1 -1
  74. package/dist/components/headline-card/headline-card.js +1 -1
  75. package/dist/components/icon/gator/icon.gator.js +1 -1
  76. package/dist/components/icon/gator/index.js +1 -1
  77. package/dist/components/icon/gator/templates/add-link.js +1 -1
  78. package/dist/components/icon/gator/templates/airplane.js +1 -1
  79. package/dist/components/icon/gator/templates/alarm.js +1 -1
  80. package/dist/components/icon/gator/templates/apartment.js +1 -1
  81. package/dist/components/icon/gator/templates/arrow-around.js +1 -1
  82. package/dist/components/icon/gator/templates/arrow-down.js +1 -1
  83. package/dist/components/icon/gator/templates/arrow-left.js +1 -1
  84. package/dist/components/icon/gator/templates/arrow-line-left.js +1 -1
  85. package/dist/components/icon/gator/templates/arrow-line-right.js +1 -1
  86. package/dist/components/icon/gator/templates/arrow-right.js +1 -1
  87. package/dist/components/icon/gator/templates/arrow-up.js +1 -1
  88. package/dist/components/icon/gator/templates/bank.js +1 -1
  89. package/dist/components/icon/gator/templates/bell-disabled.js +1 -1
  90. package/dist/components/icon/gator/templates/bell.js +1 -1
  91. package/dist/components/icon/gator/templates/binoculars.js +1 -1
  92. package/dist/components/icon/gator/templates/book.js +1 -1
  93. package/dist/components/icon/gator/templates/box.js +1 -1
  94. package/dist/components/icon/gator/templates/cake.js +1 -1
  95. package/dist/components/icon/gator/templates/calculator.js +1 -1
  96. package/dist/components/icon/gator/templates/calendar.js +1 -1
  97. package/dist/components/icon/gator/templates/camera.js +1 -1
  98. package/dist/components/icon/gator/templates/caret-up-down.js +1 -1
  99. package/dist/components/icon/gator/templates/case.js +1 -1
  100. package/dist/components/icon/gator/templates/chart-bar-horizontal.js +1 -1
  101. package/dist/components/icon/gator/templates/chart-bar.js +1 -1
  102. package/dist/components/icon/gator/templates/chart-donut.js +1 -1
  103. package/dist/components/icon/gator/templates/chart-line.js +1 -1
  104. package/dist/components/icon/gator/templates/chart-pie.js +1 -1
  105. package/dist/components/icon/gator/templates/chart-rise.js +1 -1
  106. package/dist/components/icon/gator/templates/chart-scatter.js +1 -1
  107. package/dist/components/icon/gator/templates/chat-circle-ai.js +6 -0
  108. package/dist/components/icon/gator/templates/chat-circle-dots.js +5 -0
  109. package/dist/components/icon/gator/templates/chat-circle-slash.js +5 -0
  110. package/dist/components/icon/gator/templates/chat-circle-text.js +5 -0
  111. package/dist/components/icon/gator/templates/chat-circle.js +5 -0
  112. package/dist/components/icon/gator/templates/chat.js +1 -1
  113. package/dist/components/icon/gator/templates/check-circle-filled.js +5 -0
  114. package/dist/components/icon/gator/templates/check-circle.js +1 -1
  115. package/dist/components/icon/gator/templates/check.js +1 -1
  116. package/dist/components/icon/gator/templates/checkbox-indeterminate.js +1 -1
  117. package/dist/components/icon/gator/templates/checkbox-selected.js +1 -1
  118. package/dist/components/icon/gator/templates/checkbox.js +1 -1
  119. package/dist/components/icon/gator/templates/checkerboard.js +1 -1
  120. package/dist/components/icon/gator/templates/chevron-down.js +1 -1
  121. package/dist/components/icon/gator/templates/chevron-left.js +1 -1
  122. package/dist/components/icon/gator/templates/chevron-right.js +1 -1
  123. package/dist/components/icon/gator/templates/chevron-up.js +1 -1
  124. package/dist/components/icon/gator/templates/circle-arrow-down.js +1 -1
  125. package/dist/components/icon/gator/templates/circle-arrow-left.js +1 -1
  126. package/dist/components/icon/gator/templates/circle-arrow-right.js +1 -1
  127. package/dist/components/icon/gator/templates/circle-arrow-up.js +1 -1
  128. package/dist/components/icon/gator/templates/circle-dashed.js +1 -1
  129. package/dist/components/icon/gator/templates/circle-filled.js +1 -1
  130. package/dist/components/icon/gator/templates/circle.js +1 -1
  131. package/dist/components/icon/gator/templates/city.js +1 -1
  132. package/dist/components/icon/gator/templates/clipboard.js +1 -1
  133. package/dist/components/icon/gator/templates/clock-clockwise.js +1 -1
  134. package/dist/components/icon/gator/templates/clock-counter-clockwise.js +1 -1
  135. package/dist/components/icon/gator/templates/clock.js +1 -1
  136. package/dist/components/icon/gator/templates/collapse.js +1 -1
  137. package/dist/components/icon/gator/templates/cone.js +1 -1
  138. package/dist/components/icon/gator/templates/contact-info.js +1 -1
  139. package/dist/components/icon/gator/templates/copy.js +1 -1
  140. package/dist/components/icon/gator/templates/credit-card.js +1 -1
  141. package/dist/components/icon/gator/templates/crop.js +1 -1
  142. package/dist/components/icon/gator/templates/crosshairs.js +1 -1
  143. package/dist/components/icon/gator/templates/currency-dollar-simple.js +1 -1
  144. package/dist/components/icon/gator/templates/currency-eur.js +1 -1
  145. package/dist/components/icon/gator/templates/currency-gbp.js +1 -1
  146. package/dist/components/icon/gator/templates/currency-inr.js +1 -1
  147. package/dist/components/icon/gator/templates/currency-jpy.js +1 -1
  148. package/dist/components/icon/gator/templates/currency-krw.js +1 -1
  149. package/dist/components/icon/gator/templates/currency-kzt.js +1 -1
  150. package/dist/components/icon/gator/templates/currency-ngn.js +1 -1
  151. package/dist/components/icon/gator/templates/currency-rub.js +1 -1
  152. package/dist/components/icon/gator/templates/cursor-arrow.js +1 -1
  153. package/dist/components/icon/gator/templates/cursor-hand.js +1 -1
  154. package/dist/components/icon/gator/templates/cursor.js +1 -1
  155. package/dist/components/icon/gator/templates/dashboard.js +1 -1
  156. package/dist/components/icon/gator/templates/delete.js +1 -1
  157. package/dist/components/icon/gator/templates/dna.js +1 -1
  158. package/dist/components/icon/gator/templates/document-add.js +1 -1
  159. package/dist/components/icon/gator/templates/document-check.js +1 -1
  160. package/dist/components/icon/gator/templates/document-e-sign.js +1 -1
  161. package/dist/components/icon/gator/templates/document-image.js +1 -1
  162. package/dist/components/icon/gator/templates/document-pdf.js +1 -1
  163. package/dist/components/icon/gator/templates/document-sign.js +1 -1
  164. package/dist/components/icon/gator/templates/document-zip.js +1 -1
  165. package/dist/components/icon/gator/templates/document.js +1 -1
  166. package/dist/components/icon/gator/templates/dollar-bills.js +1 -1
  167. package/dist/components/icon/gator/templates/dollar-house.js +1 -1
  168. package/dist/components/icon/gator/templates/down-payment.js +1 -1
  169. package/dist/components/icon/gator/templates/download.js +1 -1
  170. package/dist/components/icon/gator/templates/drag-drop.js +1 -1
  171. package/dist/components/icon/gator/templates/earth.js +1 -1
  172. package/dist/components/icon/gator/templates/exclude-square.js +1 -1
  173. package/dist/components/icon/gator/templates/exit-circle.js +1 -1
  174. package/dist/components/icon/gator/templates/exit-left.js +1 -1
  175. package/dist/components/icon/gator/templates/exit.js +1 -1
  176. package/dist/components/icon/gator/templates/expand-arrows.js +1 -1
  177. package/dist/components/icon/gator/templates/expand.js +1 -1
  178. package/dist/components/icon/gator/templates/export.js +1 -1
  179. package/dist/components/icon/gator/templates/eye-closed.js +1 -1
  180. package/dist/components/icon/gator/templates/eye-crossed.js +1 -1
  181. package/dist/components/icon/gator/templates/eye.js +1 -1
  182. package/dist/components/icon/gator/templates/facebook-logo.js +1 -1
  183. package/dist/components/icon/gator/templates/file-code.js +1 -1
  184. package/dist/components/icon/gator/templates/files.js +1 -1
  185. package/dist/components/icon/gator/templates/filter-funnel.js +1 -1
  186. package/dist/components/icon/gator/templates/filters-2.js +1 -1
  187. package/dist/components/icon/gator/templates/filters.js +1 -1
  188. package/dist/components/icon/gator/templates/flags/flag-ad-andorra.js +1 -1
  189. package/dist/components/icon/gator/templates/flags/flag-ae-united-arab-emirates.js +1 -1
  190. package/dist/components/icon/gator/templates/flags/flag-af-afghanistan.js +1 -1
  191. package/dist/components/icon/gator/templates/flags/flag-ag-antigua-and-barbuda.js +1 -1
  192. package/dist/components/icon/gator/templates/flags/flag-ai-anguilla.js +1 -1
  193. package/dist/components/icon/gator/templates/flags/flag-al-albania.js +1 -1
  194. package/dist/components/icon/gator/templates/flags/flag-am-armenia.js +1 -1
  195. package/dist/components/icon/gator/templates/flags/flag-ao-angola.js +1 -1
  196. package/dist/components/icon/gator/templates/flags/flag-aq-antarctica.js +1 -1
  197. package/dist/components/icon/gator/templates/flags/flag-ar-argentina.js +1 -1
  198. package/dist/components/icon/gator/templates/flags/flag-as-american-smoa.js +1 -1
  199. package/dist/components/icon/gator/templates/flags/flag-at-austria.js +1 -1
  200. package/dist/components/icon/gator/templates/flags/flag-au-australia.js +1 -1
  201. package/dist/components/icon/gator/templates/flags/flag-aw-aruba.js +1 -1
  202. package/dist/components/icon/gator/templates/flags/flag-ax-aland-islands.js +1 -1
  203. package/dist/components/icon/gator/templates/flags/flag-az-azerbaijan.js +1 -1
  204. package/dist/components/icon/gator/templates/flags/flag-ba-bosnia-and-herzegovina.js +1 -1
  205. package/dist/components/icon/gator/templates/flags/flag-bb-barbados.js +1 -1
  206. package/dist/components/icon/gator/templates/flags/flag-bd-bangladesh.js +1 -1
  207. package/dist/components/icon/gator/templates/flags/flag-be-belgium.js +1 -1
  208. package/dist/components/icon/gator/templates/flags/flag-bf-burkina-faso.js +1 -1
  209. package/dist/components/icon/gator/templates/flags/flag-bg-bulgaria.js +1 -1
  210. package/dist/components/icon/gator/templates/flags/flag-bh-bahrain.js +1 -1
  211. package/dist/components/icon/gator/templates/flags/flag-bi-burundi.js +1 -1
  212. package/dist/components/icon/gator/templates/flags/flag-bj-benin.js +1 -1
  213. package/dist/components/icon/gator/templates/flags/flag-bl-saint-barthelemy.js +1 -1
  214. package/dist/components/icon/gator/templates/flags/flag-bm-bermuda.js +1 -1
  215. package/dist/components/icon/gator/templates/flags/flag-bn-brunei-darussalam.js +1 -1
  216. package/dist/components/icon/gator/templates/flags/flag-bo-bolivia.js +1 -1
  217. package/dist/components/icon/gator/templates/flags/flag-bq-bo-bonaire.js +1 -1
  218. package/dist/components/icon/gator/templates/flags/flag-bq-sa-sba.js +1 -1
  219. package/dist/components/icon/gator/templates/flags/flag-bq-se-snt-eustatius.js +1 -1
  220. package/dist/components/icon/gator/templates/flags/flag-br-brazil.js +1 -1
  221. package/dist/components/icon/gator/templates/flags/flag-bs-bahamas.js +1 -1
  222. package/dist/components/icon/gator/templates/flags/flag-bt-bhutan.js +1 -1
  223. package/dist/components/icon/gator/templates/flags/flag-bv-bouvet-island.js +1 -1
  224. package/dist/components/icon/gator/templates/flags/flag-bw-botswana.js +1 -1
  225. package/dist/components/icon/gator/templates/flags/flag-by-belarus.js +1 -1
  226. package/dist/components/icon/gator/templates/flags/flag-bz-belize.js +1 -1
  227. package/dist/components/icon/gator/templates/flags/flag-ca-canada.js +1 -1
  228. package/dist/components/icon/gator/templates/flags/flag-cc-cocos-keeling-islands.js +1 -1
  229. package/dist/components/icon/gator/templates/flags/flag-cd-democratic-republic-of-the-congo.js +1 -1
  230. package/dist/components/icon/gator/templates/flags/flag-cf-central-african-republic.js +1 -1
  231. package/dist/components/icon/gator/templates/flags/flag-cg-republic-of-the-congo.js +1 -1
  232. package/dist/components/icon/gator/templates/flags/flag-ch-switzerland.js +1 -1
  233. package/dist/components/icon/gator/templates/flags/flag-ci-c/303/264te-divoire-ivory-coast.js +1 -1
  234. package/dist/components/icon/gator/templates/flags/flag-ck-cook-islands.js +1 -1
  235. package/dist/components/icon/gator/templates/flags/flag-cl-chile.js +1 -1
  236. package/dist/components/icon/gator/templates/flags/flag-cm-cameroon.js +1 -1
  237. package/dist/components/icon/gator/templates/flags/flag-cn-china.js +1 -1
  238. package/dist/components/icon/gator/templates/flags/flag-co-colombia.js +1 -1
  239. package/dist/components/icon/gator/templates/flags/flag-cr-costa-rica.js +1 -1
  240. package/dist/components/icon/gator/templates/flags/flag-cu-cuba.js +1 -1
  241. package/dist/components/icon/gator/templates/flags/flag-cv-cabo-verde.js +1 -1
  242. package/dist/components/icon/gator/templates/flags/flag-cw-cura/303/247ao.js +1 -1
  243. package/dist/components/icon/gator/templates/flags/flag-cx-christmas-island.js +1 -1
  244. package/dist/components/icon/gator/templates/flags/flag-cy-cyprus.js +1 -1
  245. package/dist/components/icon/gator/templates/flags/flag-cz-czech-republic.js +1 -1
  246. package/dist/components/icon/gator/templates/flags/flag-de-germany.js +1 -1
  247. package/dist/components/icon/gator/templates/flags/flag-dj-djibouti.js +1 -1
  248. package/dist/components/icon/gator/templates/flags/flag-dk-denmark.js +1 -1
  249. package/dist/components/icon/gator/templates/flags/flag-dm-dominica.js +1 -1
  250. package/dist/components/icon/gator/templates/flags/flag-do-dominican-republic.js +1 -1
  251. package/dist/components/icon/gator/templates/flags/flag-dz-algeria.js +1 -1
  252. package/dist/components/icon/gator/templates/flags/flag-ec-ecuador.js +1 -1
  253. package/dist/components/icon/gator/templates/flags/flag-ee-estonia.js +1 -1
  254. package/dist/components/icon/gator/templates/flags/flag-eg-egypt.js +1 -1
  255. package/dist/components/icon/gator/templates/flags/flag-eh-western-sahara.js +1 -1
  256. package/dist/components/icon/gator/templates/flags/flag-er-eritrea.js +1 -1
  257. package/dist/components/icon/gator/templates/flags/flag-es-sain.js +1 -1
  258. package/dist/components/icon/gator/templates/flags/flag-et-ethiopia.js +1 -1
  259. package/dist/components/icon/gator/templates/flags/flag-fi-finland.js +1 -1
  260. package/dist/components/icon/gator/templates/flags/flag-fj-fiji.js +1 -1
  261. package/dist/components/icon/gator/templates/flags/flag-fk-falkland-islands.js +1 -1
  262. package/dist/components/icon/gator/templates/flags/flag-fm-federated-states-of-micronesia.js +1 -1
  263. package/dist/components/icon/gator/templates/flags/flag-fo-faroe-islands.js +1 -1
  264. package/dist/components/icon/gator/templates/flags/flag-fr-france.js +1 -1
  265. package/dist/components/icon/gator/templates/flags/flag-ga-gabon.js +1 -1
  266. package/dist/components/icon/gator/templates/flags/flag-gb-eng-england.js +1 -1
  267. package/dist/components/icon/gator/templates/flags/flag-gb-nir-northern-ireland.js +1 -1
  268. package/dist/components/icon/gator/templates/flags/flag-gb-sct-sotland.js +1 -1
  269. package/dist/components/icon/gator/templates/flags/flag-gb-ukm-united-kingdom.js +1 -1
  270. package/dist/components/icon/gator/templates/flags/flag-gb-wls-wales.js +1 -1
  271. package/dist/components/icon/gator/templates/flags/flag-gd-grenada.js +1 -1
  272. package/dist/components/icon/gator/templates/flags/flag-ge-georgia.js +1 -1
  273. package/dist/components/icon/gator/templates/flags/flag-gf-french-guiana.js +1 -1
  274. package/dist/components/icon/gator/templates/flags/flag-gg-guernsey.js +1 -1
  275. package/dist/components/icon/gator/templates/flags/flag-gh-ghana.js +1 -1
  276. package/dist/components/icon/gator/templates/flags/flag-gi-gibraltar.js +1 -1
  277. package/dist/components/icon/gator/templates/flags/flag-gl-greenland.js +1 -1
  278. package/dist/components/icon/gator/templates/flags/flag-gm-gambia.js +1 -1
  279. package/dist/components/icon/gator/templates/flags/flag-gn-guinea.js +1 -1
  280. package/dist/components/icon/gator/templates/flags/flag-gp-guadeloupe-2.js +1 -1
  281. package/dist/components/icon/gator/templates/flags/flag-gp-guadeloupe.js +1 -1
  282. package/dist/components/icon/gator/templates/flags/flag-gq-equatorial-guinea.js +1 -1
  283. package/dist/components/icon/gator/templates/flags/flag-gr-greece.js +1 -1
  284. package/dist/components/icon/gator/templates/flags/flag-gs-s-georgia-and-s-sandwich-islands.js +1 -1
  285. package/dist/components/icon/gator/templates/flags/flag-gt-guatemala.js +1 -1
  286. package/dist/components/icon/gator/templates/flags/flag-gu-guam.js +1 -1
  287. package/dist/components/icon/gator/templates/flags/flag-gw-guinea-bissau.js +1 -1
  288. package/dist/components/icon/gator/templates/flags/flag-gy-guyana.js +1 -1
  289. package/dist/components/icon/gator/templates/flags/flag-hk-hong-kong.js +1 -1
  290. package/dist/components/icon/gator/templates/flags/flag-hm-heard-and-mcdonald-islands.js +1 -1
  291. package/dist/components/icon/gator/templates/flags/flag-hn-honduras.js +1 -1
  292. package/dist/components/icon/gator/templates/flags/flag-hr-croatia-hrvatska.js +1 -1
  293. package/dist/components/icon/gator/templates/flags/flag-ht-haiti.js +1 -1
  294. package/dist/components/icon/gator/templates/flags/flag-hu-hungary.js +1 -1
  295. package/dist/components/icon/gator/templates/flags/flag-id-indonesia.js +1 -1
  296. package/dist/components/icon/gator/templates/flags/flag-ie-ireland.js +1 -1
  297. package/dist/components/icon/gator/templates/flags/flag-il-isreal.js +1 -1
  298. package/dist/components/icon/gator/templates/flags/flag-im-isle-of-man.js +1 -1
  299. package/dist/components/icon/gator/templates/flags/flag-in-india.js +1 -1
  300. package/dist/components/icon/gator/templates/flags/flag-io-british-indian-ocean-territory.js +1 -1
  301. package/dist/components/icon/gator/templates/flags/flag-iq-iraq.js +1 -1
  302. package/dist/components/icon/gator/templates/flags/flag-ir-iran.js +1 -1
  303. package/dist/components/icon/gator/templates/flags/flag-is-iceland.js +1 -1
  304. package/dist/components/icon/gator/templates/flags/flag-it-italy.js +1 -1
  305. package/dist/components/icon/gator/templates/flags/flag-je-jersey.js +1 -1
  306. package/dist/components/icon/gator/templates/flags/flag-jm-jamaica.js +1 -1
  307. package/dist/components/icon/gator/templates/flags/flag-jo-jordan.js +1 -1
  308. package/dist/components/icon/gator/templates/flags/flag-jp-japan.js +1 -1
  309. package/dist/components/icon/gator/templates/flags/flag-ke-kenia.js +1 -1
  310. package/dist/components/icon/gator/templates/flags/flag-kg-kyrgyzstan.js +1 -1
  311. package/dist/components/icon/gator/templates/flags/flag-kh-cambodia.js +1 -1
  312. package/dist/components/icon/gator/templates/flags/flag-ki--kiribati.js +1 -1
  313. package/dist/components/icon/gator/templates/flags/flag-km-comoros.js +1 -1
  314. package/dist/components/icon/gator/templates/flags/flag-kn-saint-kitts-and-nevis.js +1 -1
  315. package/dist/components/icon/gator/templates/flags/flag-kp-korea-north.js +1 -1
  316. package/dist/components/icon/gator/templates/flags/flag-kr-korea-south.js +1 -1
  317. package/dist/components/icon/gator/templates/flags/flag-kw-kuwait.js +1 -1
  318. package/dist/components/icon/gator/templates/flags/flag-ky-cayman-islands.js +1 -1
  319. package/dist/components/icon/gator/templates/flags/flag-kz-kazakhstan.js +1 -1
  320. package/dist/components/icon/gator/templates/flags/flag-la-laos.js +1 -1
  321. package/dist/components/icon/gator/templates/flags/flag-lb-lebanon.js +1 -1
  322. package/dist/components/icon/gator/templates/flags/flag-lc-saint-lucia.js +1 -1
  323. package/dist/components/icon/gator/templates/flags/flag-li-liechtenstein.js +1 -1
  324. package/dist/components/icon/gator/templates/flags/flag-lk-sri-lanka.js +1 -1
  325. package/dist/components/icon/gator/templates/flags/flag-lr-liberia.js +1 -1
  326. package/dist/components/icon/gator/templates/flags/flag-ls-lesotho.js +1 -1
  327. package/dist/components/icon/gator/templates/flags/flag-lt-lithuania.js +1 -1
  328. package/dist/components/icon/gator/templates/flags/flag-lu-luxembourg.js +1 -1
  329. package/dist/components/icon/gator/templates/flags/flag-lv-latvia.js +1 -1
  330. package/dist/components/icon/gator/templates/flags/flag-ly-libya.js +1 -1
  331. package/dist/components/icon/gator/templates/flags/flag-ma-morocco.js +1 -1
  332. package/dist/components/icon/gator/templates/flags/flag-mc-monaco.js +1 -1
  333. package/dist/components/icon/gator/templates/flags/flag-md-moldova.js +1 -1
  334. package/dist/components/icon/gator/templates/flags/flag-me-montenegro.js +1 -1
  335. package/dist/components/icon/gator/templates/flags/flag-mf-saint-martin.js +1 -1
  336. package/dist/components/icon/gator/templates/flags/flag-mg-madagascar.js +1 -1
  337. package/dist/components/icon/gator/templates/flags/flag-mh-marshall-islands.js +1 -1
  338. package/dist/components/icon/gator/templates/flags/flag-mk-north-macedonia.js +1 -1
  339. package/dist/components/icon/gator/templates/flags/flag-ml-mali.js +1 -1
  340. package/dist/components/icon/gator/templates/flags/flag-mm-myanmar.js +1 -1
  341. package/dist/components/icon/gator/templates/flags/flag-mn-mongolia.js +1 -1
  342. package/dist/components/icon/gator/templates/flags/flag-mo-macao.js +1 -1
  343. package/dist/components/icon/gator/templates/flags/flag-mp-northern-mariana-islands.js +1 -1
  344. package/dist/components/icon/gator/templates/flags/flag-mq-martinique-2.js +1 -1
  345. package/dist/components/icon/gator/templates/flags/flag-mq-martinique.js +1 -1
  346. package/dist/components/icon/gator/templates/flags/flag-mr-mauritania.js +1 -1
  347. package/dist/components/icon/gator/templates/flags/flag-ms-montserrat.js +1 -1
  348. package/dist/components/icon/gator/templates/flags/flag-mt-malta.js +1 -1
  349. package/dist/components/icon/gator/templates/flags/flag-mu-mauritius.js +1 -1
  350. package/dist/components/icon/gator/templates/flags/flag-mv-maldives.js +1 -1
  351. package/dist/components/icon/gator/templates/flags/flag-mw-malawi.js +1 -1
  352. package/dist/components/icon/gator/templates/flags/flag-mx-mexico.js +1 -1
  353. package/dist/components/icon/gator/templates/flags/flag-my-malaysia.js +1 -1
  354. package/dist/components/icon/gator/templates/flags/flag-mz-mozambique.js +1 -1
  355. package/dist/components/icon/gator/templates/flags/flag-na-namibia.js +1 -1
  356. package/dist/components/icon/gator/templates/flags/flag-nc-new-caledonia.js +1 -1
  357. package/dist/components/icon/gator/templates/flags/flag-ne-niger.js +1 -1
  358. package/dist/components/icon/gator/templates/flags/flag-nf-norfolk-island.js +1 -1
  359. package/dist/components/icon/gator/templates/flags/flag-ng-nigeria.js +1 -1
  360. package/dist/components/icon/gator/templates/flags/flag-ni-nicaragua.js +1 -1
  361. package/dist/components/icon/gator/templates/flags/flag-nl-netherlands.js +1 -1
  362. package/dist/components/icon/gator/templates/flags/flag-no-norway.js +1 -1
  363. package/dist/components/icon/gator/templates/flags/flag-np-nepal.js +1 -1
  364. package/dist/components/icon/gator/templates/flags/flag-nr-nauru.js +1 -1
  365. package/dist/components/icon/gator/templates/flags/flag-nu-niue.js +1 -1
  366. package/dist/components/icon/gator/templates/flags/flag-nz-new-zealand-aotearoa.js +1 -1
  367. package/dist/components/icon/gator/templates/flags/flag-om-oman.js +1 -1
  368. package/dist/components/icon/gator/templates/flags/flag-pa-panama.js +1 -1
  369. package/dist/components/icon/gator/templates/flags/flag-pe-peru.js +1 -1
  370. package/dist/components/icon/gator/templates/flags/flag-pf-french-polynesia.js +1 -1
  371. package/dist/components/icon/gator/templates/flags/flag-pg-papua-new-guinea.js +1 -1
  372. package/dist/components/icon/gator/templates/flags/flag-ph-philippines.js +1 -1
  373. package/dist/components/icon/gator/templates/flags/flag-pk-pakistan.js +1 -1
  374. package/dist/components/icon/gator/templates/flags/flag-pl-poland.js +1 -1
  375. package/dist/components/icon/gator/templates/flags/flag-pm-saint-pierre-and-miquelon.js +1 -1
  376. package/dist/components/icon/gator/templates/flags/flag-pm-st-pierre-and-miquelon.js +1 -1
  377. package/dist/components/icon/gator/templates/flags/flag-pn-pitcairn-islands.js +1 -1
  378. package/dist/components/icon/gator/templates/flags/flag-pr-puerto-rico.js +1 -1
  379. package/dist/components/icon/gator/templates/flags/flag-ps-palestinian-territory.js +1 -1
  380. package/dist/components/icon/gator/templates/flags/flag-pt-portugal.js +1 -1
  381. package/dist/components/icon/gator/templates/flags/flag-pw-palau.js +1 -1
  382. package/dist/components/icon/gator/templates/flags/flag-py-paraguay.js +1 -1
  383. package/dist/components/icon/gator/templates/flags/flag-qa-qatar.js +1 -1
  384. package/dist/components/icon/gator/templates/flags/flag-re-reunion.js +1 -1
  385. package/dist/components/icon/gator/templates/flags/flag-ro-romania.js +1 -1
  386. package/dist/components/icon/gator/templates/flags/flag-rs-srbia.js +1 -1
  387. package/dist/components/icon/gator/templates/flags/flag-ru-russian-federation.js +1 -1
  388. package/dist/components/icon/gator/templates/flags/flag-rw-rwanda.js +1 -1
  389. package/dist/components/icon/gator/templates/flags/flag-sa-sudi-arabia.js +1 -1
  390. package/dist/components/icon/gator/templates/flags/flag-sb-slomon-islands.js +1 -1
  391. package/dist/components/icon/gator/templates/flags/flag-sc-sychelles.js +1 -1
  392. package/dist/components/icon/gator/templates/flags/flag-sd-sdan.js +1 -1
  393. package/dist/components/icon/gator/templates/flags/flag-se-seden.js +1 -1
  394. package/dist/components/icon/gator/templates/flags/flag-sg-sngapore.js +1 -1
  395. package/dist/components/icon/gator/templates/flags/flag-sh-sint-helena.js +1 -1
  396. package/dist/components/icon/gator/templates/flags/flag-si-sovenia.js +1 -1
  397. package/dist/components/icon/gator/templates/flags/flag-sj-salbard-and-jan-mayen.js +1 -1
  398. package/dist/components/icon/gator/templates/flags/flag-sk-sovakia.js +1 -1
  399. package/dist/components/icon/gator/templates/flags/flag-sl-serra-leone.js +1 -1
  400. package/dist/components/icon/gator/templates/flags/flag-sm-sn-marino.js +1 -1
  401. package/dist/components/icon/gator/templates/flags/flag-sn-snegal.js +1 -1
  402. package/dist/components/icon/gator/templates/flags/flag-so-smalia.js +1 -1
  403. package/dist/components/icon/gator/templates/flags/flag-sr-sriname.js +1 -1
  404. package/dist/components/icon/gator/templates/flags/flag-ss-south-sudan.js +1 -1
  405. package/dist/components/icon/gator/templates/flags/flag-st-so-tome-and-principe.js +1 -1
  406. package/dist/components/icon/gator/templates/flags/flag-sv-el-slvador.js +1 -1
  407. package/dist/components/icon/gator/templates/flags/flag-sx-snt-maarten.js +1 -1
  408. package/dist/components/icon/gator/templates/flags/flag-sy-sria.js +1 -1
  409. package/dist/components/icon/gator/templates/flags/flag-sz-saziland.js +1 -1
  410. package/dist/components/icon/gator/templates/flags/flag-tc-turks-and-caicos-islands.js +1 -1
  411. package/dist/components/icon/gator/templates/flags/flag-td-chad.js +1 -1
  412. package/dist/components/icon/gator/templates/flags/flag-tf-french-southern-and-antarctic-lands.js +1 -1
  413. package/dist/components/icon/gator/templates/flags/flag-tg-togo.js +1 -1
  414. package/dist/components/icon/gator/templates/flags/flag-th-thailand.js +1 -1
  415. package/dist/components/icon/gator/templates/flags/flag-tj-tajikistan.js +1 -1
  416. package/dist/components/icon/gator/templates/flags/flag-tk-tokelau.js +1 -1
  417. package/dist/components/icon/gator/templates/flags/flag-tl-timor-leste.js +1 -1
  418. package/dist/components/icon/gator/templates/flags/flag-tm-turkmenistan.js +1 -1
  419. package/dist/components/icon/gator/templates/flags/flag-tn-tunisia.js +1 -1
  420. package/dist/components/icon/gator/templates/flags/flag-to-tonga.js +1 -1
  421. package/dist/components/icon/gator/templates/flags/flag-tr-turkey.js +1 -1
  422. package/dist/components/icon/gator/templates/flags/flag-tt-trinidad-and-tobago.js +1 -1
  423. package/dist/components/icon/gator/templates/flags/flag-tv-tuvalu.js +1 -1
  424. package/dist/components/icon/gator/templates/flags/flag-tw-taiwan.js +1 -1
  425. package/dist/components/icon/gator/templates/flags/flag-tz-tanzania.js +1 -1
  426. package/dist/components/icon/gator/templates/flags/flag-ua-ukraine.js +1 -1
  427. package/dist/components/icon/gator/templates/flags/flag-ug-uganda.js +1 -1
  428. package/dist/components/icon/gator/templates/flags/flag-um-united-states-minor-outlying-islands.js +1 -1
  429. package/dist/components/icon/gator/templates/flags/flag-us-united-states.js +1 -1
  430. package/dist/components/icon/gator/templates/flags/flag-uy-uruguay.js +1 -1
  431. package/dist/components/icon/gator/templates/flags/flag-uz-uzbekistan.js +1 -1
  432. package/dist/components/icon/gator/templates/flags/flag-va-vatican-city-state.js +1 -1
  433. package/dist/components/icon/gator/templates/flags/flag-vc-saint-vincent-and-the-grenadines.js +1 -1
  434. package/dist/components/icon/gator/templates/flags/flag-ve-venezuela.js +1 -1
  435. package/dist/components/icon/gator/templates/flags/flag-vg-virgin-islands-british.js +1 -1
  436. package/dist/components/icon/gator/templates/flags/flag-vi-virgin-islands-us.js +1 -1
  437. package/dist/components/icon/gator/templates/flags/flag-vn-vietnam.js +1 -1
  438. package/dist/components/icon/gator/templates/flags/flag-vu-vanuatu.js +1 -1
  439. package/dist/components/icon/gator/templates/flags/flag-wf-wallis-and-futuna.js +1 -1
  440. package/dist/components/icon/gator/templates/flags/flag-ws-smoa.js +1 -1
  441. package/dist/components/icon/gator/templates/flags/flag-ye-yemen.js +1 -1
  442. package/dist/components/icon/gator/templates/flags/flag-yt-unf-mayotte.js +1 -1
  443. package/dist/components/icon/gator/templates/flags/flag-za-south-africa.js +1 -1
  444. package/dist/components/icon/gator/templates/flags/flag-zm-zambia.js +1 -1
  445. package/dist/components/icon/gator/templates/flags/flag-zw-zimbabwe.js +1 -1
  446. package/dist/components/icon/gator/templates/flame.js +1 -1
  447. package/dist/components/icon/gator/templates/flash-off.js +1 -1
  448. package/dist/components/icon/gator/templates/flash-on.js +1 -1
  449. package/dist/components/icon/gator/templates/folder.js +1 -1
  450. package/dist/components/icon/gator/templates/gauge.js +1 -1
  451. package/dist/components/icon/gator/templates/grid-four.js +1 -1
  452. package/dist/components/icon/gator/templates/grid-nine.js +1 -1
  453. package/dist/components/icon/gator/templates/hammer.js +1 -1
  454. package/dist/components/icon/gator/templates/hand-pointing.js +1 -1
  455. package/dist/components/icon/gator/templates/heart.js +1 -1
  456. package/dist/components/icon/gator/templates/home-door.js +1 -1
  457. package/dist/components/icon/gator/templates/home-finance-arrow.js +1 -1
  458. package/dist/components/icon/gator/templates/home-finance.js +1 -1
  459. package/dist/components/icon/gator/templates/home-search.js +1 -1
  460. package/dist/components/icon/gator/templates/house-simple.js +1 -1
  461. package/dist/components/icon/gator/templates/house.js +1 -1
  462. package/dist/components/icon/gator/templates/inbox.js +1 -1
  463. package/dist/components/icon/gator/templates/index.js +1 -1
  464. package/dist/components/icon/gator/templates/info.js +1 -1
  465. package/dist/components/icon/gator/templates/instagram-logo.js +1 -1
  466. package/dist/components/icon/gator/templates/interest-rate.js +1 -1
  467. package/dist/components/icon/gator/templates/invoice.js +1 -1
  468. package/dist/components/icon/gator/templates/kanban.js +1 -1
  469. package/dist/components/icon/gator/templates/label.js +1 -1
  470. package/dist/components/icon/gator/templates/laptop.js +1 -1
  471. package/dist/components/icon/gator/templates/layout.js +1 -1
  472. package/dist/components/icon/gator/templates/lightbulb-filament.js +1 -1
  473. package/dist/components/icon/gator/templates/lightbulb.js +1 -1
  474. package/dist/components/icon/gator/templates/link.js +1 -1
  475. package/dist/components/icon/gator/templates/linkedin-logo.js +1 -1
  476. package/dist/components/icon/gator/templates/list-star.js +1 -1
  477. package/dist/components/icon/gator/templates/list.js +1 -1
  478. package/dist/components/icon/gator/templates/loading-spinner-gif.js +1 -1
  479. package/dist/components/icon/gator/templates/loading.js +1 -1
  480. package/dist/components/icon/gator/templates/lock.js +1 -1
  481. package/dist/components/icon/gator/templates/magic-wand.js +1 -1
  482. package/dist/components/icon/gator/templates/mail-open.js +1 -1
  483. package/dist/components/icon/gator/templates/mail.js +1 -1
  484. package/dist/components/icon/gator/templates/mailbox.js +1 -1
  485. package/dist/components/icon/gator/templates/map.js +1 -1
  486. package/dist/components/icon/gator/templates/menu-hamburger.js +1 -1
  487. package/dist/components/icon/gator/templates/microsoft-excel-logo.js +1 -1
  488. package/dist/components/icon/gator/templates/microsoft-outlook-logo.js +1 -1
  489. package/dist/components/icon/gator/templates/microsoft-powerpoint-logo.js +1 -1
  490. package/dist/components/icon/gator/templates/microsoft-teams-logo.js +1 -1
  491. package/dist/components/icon/gator/templates/microsoft-word-logo.js +1 -1
  492. package/dist/components/icon/gator/templates/minus-circle.js +1 -1
  493. package/dist/components/icon/gator/templates/minus-square.js +1 -1
  494. package/dist/components/icon/gator/templates/minus.js +1 -1
  495. package/dist/components/icon/gator/templates/mobile-phone-2.js +1 -1
  496. package/dist/components/icon/gator/templates/monitor.js +1 -1
  497. package/dist/components/icon/gator/templates/move-doc.js +1 -1
  498. package/dist/components/icon/gator/templates/move.js +1 -1
  499. package/dist/components/icon/gator/templates/music.js +1 -1
  500. package/dist/components/icon/gator/templates/number-1.js +1 -1
  501. package/dist/components/icon/gator/templates/number-2.js +1 -1
  502. package/dist/components/icon/gator/templates/number-3.js +1 -1
  503. package/dist/components/icon/gator/templates/overflow-menu.js +1 -1
  504. package/dist/components/icon/gator/templates/paper-airplane.js +1 -1
  505. package/dist/components/icon/gator/templates/paperclip.js +1 -1
  506. package/dist/components/icon/gator/templates/pause-circle.js +1 -1
  507. package/dist/components/icon/gator/templates/pause.js +1 -1
  508. package/dist/components/icon/gator/templates/payments/payment-amazon-pay.js +1 -1
  509. package/dist/components/icon/gator/templates/payments/payment-amex.js +1 -1
  510. package/dist/components/icon/gator/templates/payments/payment-apple-pay.js +1 -1
  511. package/dist/components/icon/gator/templates/payments/payment-discover.js +1 -1
  512. package/dist/components/icon/gator/templates/payments/payment-google-pay.js +1 -1
  513. package/dist/components/icon/gator/templates/payments/payment-mastercard.js +1 -1
  514. package/dist/components/icon/gator/templates/payments/payment-visa.js +1 -1
  515. package/dist/components/icon/gator/templates/pen.js +1 -1
  516. package/dist/components/icon/gator/templates/pencil-paper.js +1 -1
  517. package/dist/components/icon/gator/templates/pencil.js +1 -1
  518. package/dist/components/icon/gator/templates/people-multiple.js +1 -1
  519. package/dist/components/icon/gator/templates/people-share.js +1 -1
  520. package/dist/components/icon/gator/templates/percent.js +1 -1
  521. package/dist/components/icon/gator/templates/person-add.js +1 -1
  522. package/dist/components/icon/gator/templates/person-check.js +1 -1
  523. package/dist/components/icon/gator/templates/person-lock.js +1 -1
  524. package/dist/components/icon/gator/templates/person.js +1 -1
  525. package/dist/components/icon/gator/templates/phone-alert.js +1 -1
  526. package/dist/components/icon/gator/templates/phone-mobile.js +1 -1
  527. package/dist/components/icon/gator/templates/phone.js +1 -1
  528. package/dist/components/icon/gator/templates/picture.js +1 -1
  529. package/dist/components/icon/gator/templates/pin.js +1 -1
  530. package/dist/components/icon/gator/templates/pinterest-logo.js +1 -1
  531. package/dist/components/icon/gator/templates/play-circle.js +1 -1
  532. package/dist/components/icon/gator/templates/play.js +1 -1
  533. package/dist/components/icon/gator/templates/plus-circle.js +1 -1
  534. package/dist/components/icon/gator/templates/plus.js +1 -1
  535. package/dist/components/icon/gator/templates/printer.js +1 -1
  536. package/dist/components/icon/gator/templates/question-chat-bubble.js +1 -1
  537. package/dist/components/icon/gator/templates/question-circle.js +1 -1
  538. package/dist/components/icon/gator/templates/question-mark.js +1 -1
  539. package/dist/components/icon/gator/templates/radio-selected.js +1 -1
  540. package/dist/components/icon/gator/templates/radio.js +1 -1
  541. package/dist/components/icon/gator/templates/receipt.js +1 -1
  542. package/dist/components/icon/gator/templates/restricted-filled.js +5 -0
  543. package/dist/components/icon/gator/templates/restricted.js +1 -1
  544. package/dist/components/icon/gator/templates/sandals.js +1 -1
  545. package/dist/components/icon/gator/templates/save.js +1 -1
  546. package/dist/components/icon/gator/templates/screen.js +1 -1
  547. package/dist/components/icon/gator/templates/search.js +1 -1
  548. package/dist/components/icon/gator/templates/selection.js +1 -1
  549. package/dist/components/icon/gator/templates/send-filled.js +5 -0
  550. package/dist/components/icon/gator/templates/send.js +1 -1
  551. package/dist/components/icon/gator/templates/settings.js +1 -1
  552. package/dist/components/icon/gator/templates/share-1.js +1 -1
  553. package/dist/components/icon/gator/templates/share-2.js +1 -1
  554. package/dist/components/icon/gator/templates/shield-lock.js +1 -1
  555. package/dist/components/icon/gator/templates/shield-warning.js +1 -1
  556. package/dist/components/icon/gator/templates/sidebar-simple.js +1 -1
  557. package/dist/components/icon/gator/templates/sidebar.js +1 -1
  558. package/dist/components/icon/gator/templates/smart-home.js +1 -1
  559. package/dist/components/icon/gator/templates/sort-arrow-solid-down.js +1 -1
  560. package/dist/components/icon/gator/templates/sort-arrow-solid-left.js +1 -1
  561. package/dist/components/icon/gator/templates/sort-arrow-solid-right.js +1 -1
  562. package/dist/components/icon/gator/templates/sort-arrow-solid-up-down.js +1 -1
  563. package/dist/components/icon/gator/templates/sort-arrow-solid-up.js +1 -1
  564. package/dist/components/icon/gator/templates/sort-reverse-variant.js +1 -1
  565. package/dist/components/icon/gator/templates/sort-variant.js +1 -1
  566. package/dist/components/icon/gator/templates/sparkle-filled.js +1 -1
  567. package/dist/components/icon/gator/templates/sparkle.js +1 -1
  568. package/dist/components/icon/gator/templates/speech-bubble.js +1 -1
  569. package/dist/components/icon/gator/templates/square-split-horizontal.js +1 -1
  570. package/dist/components/icon/gator/templates/square-split-vertical.js +1 -1
  571. package/dist/components/icon/gator/templates/square.js +1 -1
  572. package/dist/components/icon/gator/templates/stack.js +1 -1
  573. package/dist/components/icon/gator/templates/stamp.js +1 -1
  574. package/dist/components/icon/gator/templates/star-four-filled.js +1 -1
  575. package/dist/components/icon/gator/templates/star-four.js +1 -1
  576. package/dist/components/icon/gator/templates/star.js +1 -1
  577. package/dist/components/icon/gator/templates/stopwatch.js +1 -1
  578. package/dist/components/icon/gator/templates/sun.js +1 -1
  579. package/dist/components/icon/gator/templates/sync.js +1 -1
  580. package/dist/components/icon/gator/templates/tab-arrows.js +1 -1
  581. package/dist/components/icon/gator/templates/table.js +1 -1
  582. package/dist/components/icon/gator/templates/target.js +1 -1
  583. package/dist/components/icon/gator/templates/text-aa.js +1 -1
  584. package/dist/components/icon/gator/templates/thumbs-down.js +1 -1
  585. package/dist/components/icon/gator/templates/thumbs-up.js +1 -1
  586. package/dist/components/icon/gator/templates/tools.js +1 -1
  587. package/dist/components/icon/gator/templates/touch-id.js +1 -1
  588. package/dist/components/icon/gator/templates/trash.js +1 -1
  589. package/dist/components/icon/gator/templates/trend-up.js +1 -1
  590. package/dist/components/icon/gator/templates/twitter-logo.js +1 -1
  591. package/dist/components/icon/gator/templates/unlink.js +1 -1
  592. package/dist/components/icon/gator/templates/unlock.js +1 -1
  593. package/dist/components/icon/gator/templates/upload.js +1 -1
  594. package/dist/components/icon/gator/templates/video.js +1 -1
  595. package/dist/components/icon/gator/templates/waffle.js +1 -1
  596. package/dist/components/icon/gator/templates/warning-circle.js +1 -1
  597. package/dist/components/icon/gator/templates/warning-diamond.js +1 -1
  598. package/dist/components/icon/gator/templates/warning-filled.js +5 -0
  599. package/dist/components/icon/gator/templates/warning-octagon.js +1 -1
  600. package/dist/components/icon/gator/templates/warning.js +1 -1
  601. package/dist/components/icon/gator/templates/wet-sign.js +1 -1
  602. package/dist/components/icon/gator/templates/wifi-off.js +1 -1
  603. package/dist/components/icon/gator/templates/wifi.js +1 -1
  604. package/dist/components/icon/gator/templates/x-logo.js +1 -1
  605. package/dist/components/icon/gator/templates/yelp-logo.js +1 -1
  606. package/dist/components/icon/gator/templates/youtube-logo.js +1 -1
  607. package/dist/components/icon/gator/templates/zillow-logo.js +1 -1
  608. package/dist/components/icon/icon.js +1 -1
  609. package/dist/components/icon/slds/icon.slds.js +1 -1
  610. package/dist/components/icon-button/gator/icon-button.gator.js +1 -1
  611. package/dist/components/icon-button/icon-button.js +1 -1
  612. package/dist/components/illustration/gator/illustration.gator.js +1 -1
  613. package/dist/components/illustration/gator/templates/add-note.js +1 -1
  614. package/dist/components/illustration/gator/templates/address.js +1 -1
  615. package/dist/components/illustration/gator/templates/appointment-confirmed.js +1 -1
  616. package/dist/components/illustration/gator/templates/assets.js +1 -1
  617. package/dist/components/illustration/gator/templates/auto-money.js +1 -1
  618. package/dist/components/illustration/gator/templates/balloons.js +1 -1
  619. package/dist/components/illustration/gator/templates/bank-account.js +1 -1
  620. package/dist/components/illustration/gator/templates/brief-case.js +1 -1
  621. package/dist/components/illustration/gator/templates/calendar-home.js +1 -1
  622. package/dist/components/illustration/gator/templates/change-data.js +1 -1
  623. package/dist/components/illustration/gator/templates/check-with-pencil.js +1 -1
  624. package/dist/components/illustration/gator/templates/co-borrower.js +1 -1
  625. package/dist/components/illustration/gator/templates/co-borrowers-incomplete.js +1 -1
  626. package/dist/components/illustration/gator/templates/co-borrowers.js +1 -1
  627. package/dist/components/illustration/gator/templates/commercial.js +1 -1
  628. package/dist/components/illustration/gator/templates/connectivity.js +1 -1
  629. package/dist/components/illustration/gator/templates/consumer.js +1 -1
  630. package/dist/components/illustration/gator/templates/contact-search.js +1 -1
  631. package/dist/components/illustration/gator/templates/conversation-multiple.js +1 -1
  632. package/dist/components/illustration/gator/templates/credit-card.js +1 -1
  633. package/dist/components/illustration/gator/templates/crop-background.js +1 -1
  634. package/dist/components/illustration/gator/templates/crop-page.js +1 -1
  635. package/dist/components/illustration/gator/templates/declarations-legal.js +1 -1
  636. package/dist/components/illustration/gator/templates/deliver.js +1 -1
  637. package/dist/components/illustration/gator/templates/demographic-info.js +1 -1
  638. package/dist/components/illustration/gator/templates/document-add.js +1 -1
  639. package/dist/components/illustration/gator/templates/document-signature.js +1 -1
  640. package/dist/components/illustration/gator/templates/download-app.js +1 -1
  641. package/dist/components/illustration/gator/templates/empty-box.js +1 -1
  642. package/dist/components/illustration/gator/templates/home-search.js +1 -1
  643. package/dist/components/illustration/gator/templates/house-5.js +1 -1
  644. package/dist/components/illustration/gator/templates/house-6.js +1 -1
  645. package/dist/components/illustration/gator/templates/house-fireworks.js +1 -1
  646. package/dist/components/illustration/gator/templates/house-under-construction.js +1 -1
  647. package/dist/components/illustration/gator/templates/house-with-shield.js +1 -1
  648. package/dist/components/illustration/gator/templates/inquiry.js +1 -1
  649. package/dist/components/illustration/gator/templates/locked.js +1 -1
  650. package/dist/components/illustration/gator/templates/make-an-offer.js +1 -1
  651. package/dist/components/illustration/gator/templates/mortgage.js +1 -1
  652. package/dist/components/illustration/gator/templates/network-error.js +1 -1
  653. package/dist/components/illustration/gator/templates/page-1.js +1 -1
  654. package/dist/components/illustration/gator/templates/page-2.js +1 -1
  655. package/dist/components/illustration/gator/templates/page-3.js +1 -1
  656. package/dist/components/illustration/gator/templates/paper-3.js +1 -1
  657. package/dist/components/illustration/gator/templates/paper-7.js +1 -1
  658. package/dist/components/illustration/gator/templates/person-2.js +1 -1
  659. package/dist/components/illustration/gator/templates/personal-info.js +1 -1
  660. package/dist/components/illustration/gator/templates/portfolio-analytics.js +1 -1
  661. package/dist/components/illustration/gator/templates/price-search.js +1 -1
  662. package/dist/components/illustration/gator/templates/quick-links.js +1 -1
  663. package/dist/components/illustration/gator/templates/register.js +1 -1
  664. package/dist/components/illustration/gator/templates/schedule-home-tour.js +1 -1
  665. package/dist/components/illustration/gator/templates/small-business.js +1 -1
  666. package/dist/components/illustration/gator/templates/social-security.js +1 -1
  667. package/dist/components/illustration/gator/templates/start-conversation.js +1 -1
  668. package/dist/components/illustration/gator/templates/status-no-x.js +1 -1
  669. package/dist/components/illustration/gator/templates/status.js +1 -1
  670. package/dist/components/illustration/gator/templates/success.js +1 -1
  671. package/dist/components/illustration/gator/templates/talkluments.js +1 -1
  672. package/dist/components/illustration/gator/templates/thumbs-down-man.js +1 -1
  673. package/dist/components/illustration/gator/templates/transfer.js +1 -1
  674. package/dist/components/illustration/gator/templates/treasury.js +1 -1
  675. package/dist/components/illustration/gator/templates/unsecured-line-of-credit.js +1 -1
  676. package/dist/components/illustration/gator/templates/upload-cloud.js +1 -1
  677. package/dist/components/illustration/gator/templates/your-bank-placeholder.js +1 -1
  678. package/dist/components/illustration/gator/templates/your-bank.js +1 -1
  679. package/dist/components/input/base/input-base.gator.js +1 -1
  680. package/dist/components/input/base/input-base.js +1 -1
  681. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +5 -5
  682. package/dist/components/input/gator/help-text/help-text.gator.js +1 -1
  683. package/dist/components/input/gator/input-currency/input-currency.gator.js +1 -1
  684. package/dist/components/input/gator/input-date/input-date.gator.js +1 -1
  685. package/dist/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.js +19 -3
  686. package/dist/components/input/gator/input-file/input-file.gator.js +3 -2
  687. package/dist/components/input/gator/input-label/input-label.gator.js +1 -1
  688. package/dist/components/input/gator/input-masked/input-masked.gator.js +1 -1
  689. package/dist/components/input/gator/input-percent/input-percent.gator.js +1 -1
  690. package/dist/components/input/gator/input-phone/input-phone.gator.js +1 -1
  691. package/dist/components/input/gator/input-search/input-search.gator.js +1 -1
  692. package/dist/components/input/gator/input-text/input-text.gator.js +1 -1
  693. package/dist/components/input/gator/input-textarea/input-textarea.gator.js +1 -1
  694. package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
  695. package/dist/components/input/slds/input-error/input-error.slds.js +1 -1
  696. package/dist/components/input/slds/input-label/input-label.slds.js +1 -1
  697. package/dist/components/input/slds/input-text/input-text.slds.js +1 -1
  698. package/dist/components/input-rich-text/ckeditor-config.js +1 -1
  699. package/dist/components/input-rich-text/input-rich-text.js +1 -1
  700. package/dist/components/input-rich-text/input-rich-text.slds.js +2 -2
  701. package/dist/components/list/gator/list/list.gator.js +3 -3
  702. package/dist/components/list/gator/list-item/list-item.gator.js +1 -1
  703. package/dist/components/loading-spinner/gator/loading-spinner.gator.js +1 -1
  704. package/dist/components/loading-spinner/loading-spinner.js +1 -1
  705. package/dist/components/menu/base/gator/menu.gator.js +1 -1
  706. package/dist/components/menu/base/menu.js +1 -1
  707. package/dist/components/menu/base/slds/menu.slds.js +1 -1
  708. package/dist/components/menu/menu-divider/menu-divider.js +1 -1
  709. package/dist/components/menu/menu-divider/menu-divider.slds.js +1 -1
  710. package/dist/components/menu/menu-item/gator/menu-item.gator.js +1 -1
  711. package/dist/components/menu/menu-item/menu-item.js +1 -1
  712. package/dist/components/menu/menu-item/slds/menu-item.slds.js +1 -1
  713. package/dist/components/menu/menu-submenu/menu-submenu.js +1 -1
  714. package/dist/components/menu/menu-submenu/menu-submenu.slds.js +1 -1
  715. package/dist/components/modal/gator/modal.gator.js +1 -1
  716. package/dist/components/modal/modal.js +1 -1
  717. package/dist/components/page-header/gator/page-header.gator.js +1 -1
  718. package/dist/components/panel/gator/panel.gator.js +1 -1
  719. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  720. package/dist/components/pill/pill.js +1 -1
  721. package/dist/components/pill/pill.slds.js +1 -1
  722. package/dist/components/popover/gator/popover.gator.js +2 -2
  723. package/dist/components/popover/popover.js +1 -1
  724. package/dist/components/progress-bar/gator/progress-bar.gator.js +1 -1
  725. package/dist/components/progress-ring/gator/progress-ring.gator.js +1 -1
  726. package/dist/components/radio/radio.gator.js +1 -1
  727. package/dist/components/radio-group/radio-group.gator.js +1 -1
  728. package/dist/components/scoped-notification/scoped-notification.js +1 -1
  729. package/dist/components/scoped-notification/scoped-notification.slds.js +1 -1
  730. package/dist/components/selection-box/selection-box.gator.js +1 -1
  731. package/dist/components/selection-box-group/selection-box-group.gator.js +1 -1
  732. package/dist/components/selector/gator/selector.gator.js +1 -1
  733. package/dist/components/skeleton-loader/gator/skeleton-loader.gator.js +1 -1
  734. package/dist/components/skip-link/gator/base/skip-link.gator.js +1 -1
  735. package/dist/components/skip-link/gator/list-item/skip-link-list-item.gator.js +1 -1
  736. package/dist/components/switch/gator/switch.gator.js +1 -1
  737. package/dist/components/switch/switch.js +1 -1
  738. package/dist/components/table/gator/table-bulk-controls/table-bulk-controls.gator.js +1 -1
  739. package/dist/components/table/gator/table-controls/table-controls.gator.js +1 -1
  740. package/dist/components/table/gator/table-pagination/table-pagination.gator.js +1 -1
  741. package/dist/components/table/gator/table.gator.js +1 -1
  742. package/dist/components/table/table.js +1 -1
  743. package/dist/components/tabs/gator/tab/tab.gator.js +1 -1
  744. package/dist/components/tabs/gator/tabset/tabset.gator.js +1 -1
  745. package/dist/components/text-detail/gator/text-detail.gator.js +1 -1
  746. package/dist/components/text-detail/text-detail.js +1 -1
  747. package/dist/components/text-link/gator/text-link.gator.js +1 -1
  748. package/dist/components/text-link/text-link.js +1 -1
  749. package/dist/components/time-picker/gator/time-picker.gator.js +1 -1
  750. package/dist/components/toast/gator/base/toast.gator.js +1 -1
  751. package/dist/components/toast/gator/subtitle/toast-subtitle.gator.js +2 -2
  752. package/dist/components/toast/gator/title/toast-title.gator.js +2 -2
  753. package/dist/components/toast/toast.js +1 -1
  754. package/dist/components/toast-container/gator/toast-container.gator.js +3 -3
  755. package/dist/components/toaster/gator/toaster.gator.js +2 -2
  756. package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
  757. package/dist/components/tooltip/slds/tooltip.slds.js +1 -1
  758. package/dist/components/tooltip/tooltip.js +1 -1
  759. package/dist/index.js +1 -1
  760. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-alignment@45.2.2 → @ckeditor_ckeditor5-alignment@46.1.0}/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js +2 -2
  761. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@46.1.0/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +7 -0
  762. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-autosave@45.2.2 → @ckeditor_ckeditor5-autosave@46.1.0}/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js +1 -1
  763. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-basic-styles@45.2.2 → @ckeditor_ckeditor5-basic-styles@46.1.0}/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +2 -2
  764. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-block-quote@45.2.2 → @ckeditor_ckeditor5-block-quote@46.1.0}/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js +2 -2
  765. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-clipboard@45.2.2 → @ckeditor_ckeditor5-clipboard@46.1.0}/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +10 -10
  766. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@46.1.0/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +4 -0
  767. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@46.1.0/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +7 -0
  768. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js +4 -0
  769. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-editor-classic@45.2.2 → @ckeditor_ckeditor5-editor-classic@46.1.0}/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +2 -2
  770. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-engine@46.1.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +30 -0
  771. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-enter@45.2.2 → @ckeditor_ckeditor5-enter@46.1.0}/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +2 -2
  772. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-essentials@45.2.2 → @ckeditor_ckeditor5-essentials@46.1.0}/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +1 -1
  773. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-find-and-replace@45.2.2 → @ckeditor_ckeditor5-find-and-replace@46.1.0}/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js +3 -3
  774. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-font@46.1.0/node_modules/@ckeditor/ckeditor5-font/dist/index.js +7 -0
  775. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-heading@45.2.2 → @ckeditor_ckeditor5-heading@46.1.0}/node_modules/@ckeditor/ckeditor5-heading/dist/index.js +3 -3
  776. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-highlight@46.1.0/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +4 -0
  777. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-horizontal-line@45.2.2 → @ckeditor_ckeditor5-horizontal-line@46.1.0}/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js +2 -2
  778. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-html-embed@45.2.2 → @ckeditor_ckeditor5-html-embed@46.1.0}/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js +2 -2
  779. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-support@46.1.0/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +12 -0
  780. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-icons@46.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +6 -0
  781. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@46.1.0/node_modules/@ckeditor/ckeditor5-image/dist/index.js +10 -0
  782. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-indent@45.2.2 → @ckeditor_ckeditor5-indent@46.1.0}/node_modules/@ckeditor/ckeditor5-indent/dist/index.js +2 -2
  783. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-language@45.2.2 → @ckeditor_ckeditor5-language@46.1.0}/node_modules/@ckeditor/ckeditor5-language/dist/index.js +2 -2
  784. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-link@45.2.2 → @ckeditor_ckeditor5-link@46.1.0}/node_modules/@ckeditor/ckeditor5-link/dist/index.js +2 -2
  785. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-list@46.1.0/node_modules/@ckeditor/ckeditor5-list/dist/index.js +13 -0
  786. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@46.1.0/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +7 -0
  787. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-media-embed@45.2.2 → @ckeditor_ckeditor5-media-embed@46.1.0}/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js +2 -2
  788. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-mention@46.1.0/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +4 -0
  789. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-page-break@46.1.0/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +4 -0
  790. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-paragraph@45.2.2 → @ckeditor_ckeditor5-paragraph@46.1.0}/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +2 -2
  791. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@46.1.0/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +31 -0
  792. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@46.1.0/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +4 -0
  793. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-select-all@45.2.2 → @ckeditor_ckeditor5-select-all@46.1.0}/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +2 -2
  794. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-show-blocks@45.2.2 → @ckeditor_ckeditor5-show-blocks@46.1.0}/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js +1 -1
  795. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-source-editing@45.2.2 → @ckeditor_ckeditor5-source-editing@46.1.0}/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js +1 -1
  796. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-special-characters@45.2.2 → @ckeditor_ckeditor5-special-characters@46.1.0}/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js +2 -2
  797. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-style@45.2.2 → @ckeditor_ckeditor5-style@46.1.0}/node_modules/@ckeditor/ckeditor5-style/dist/index.js +2 -2
  798. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@46.1.0/node_modules/@ckeditor/ckeditor5-table/dist/index.js +16 -0
  799. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-typing@45.2.2 → @ckeditor_ckeditor5-typing@46.1.0}/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +2 -2
  800. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +25 -0
  801. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-undo@45.2.2 → @ckeditor_ckeditor5-undo@46.1.0}/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +2 -2
  802. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-upload@45.2.2 → @ckeditor_ckeditor5-upload@46.1.0}/node_modules/@ckeditor/ckeditor5-upload/dist/index.js +2 -2
  803. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-utils@46.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +113 -0
  804. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-watchdog@45.2.2 → @ckeditor_ckeditor5-watchdog@46.1.0}/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +2 -2
  805. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@46.1.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +4 -0
  806. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/client/external.js +1 -0
  807. package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/client/figma_client.js +1 -1
  808. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/common/logging.js +1 -0
  809. package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/common/updates.js +1 -1
  810. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/connect/helpers.js +1 -0
  811. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/html/external.js +1 -0
  812. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/html/index_html.js +1 -0
  813. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/react/external.js +1 -0
  814. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/dist/react/index_react.js +1 -0
  815. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.5/node_modules/@figma/code-connect/package.json.js +1 -0
  816. package/dist/node_modules/.pnpm/{@floating-ui_core@1.7.2 → @floating-ui_core@1.7.3}/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
  817. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -0
  818. package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/default-msg.js +1 -1
  819. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +5 -0
  820. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js +5 -0
  821. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +5 -0
  822. package/dist/node_modules/.pnpm/@ungap_structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/deserialize.js +1 -0
  823. package/dist/node_modules/.pnpm/@ungap_structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/index.js +1 -0
  824. package/dist/node_modules/.pnpm/@ungap_structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/serialize.js +1 -0
  825. package/dist/node_modules/.pnpm/@ungap_structured-clone@1.3.0/node_modules/@ungap/structured-clone/esm/types.js +1 -0
  826. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +2 -2
  827. package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
  828. package/dist/node_modules/.pnpm/axe-core@4.10.3/node_modules/axe-core/axe.js +8 -8
  829. package/dist/node_modules/.pnpm/bail@2.0.2/node_modules/bail/index.js +1 -0
  830. package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js +1 -1
  831. package/dist/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js +2 -2
  832. package/dist/node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js +1 -1
  833. package/dist/node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js +1 -0
  834. package/dist/node_modules/.pnpm/character-entities-html4@2.1.0/node_modules/character-entities-html4/index.js +1 -0
  835. package/dist/node_modules/.pnpm/character-entities-legacy@3.0.0/node_modules/character-entities-legacy/index.js +1 -0
  836. package/dist/node_modules/.pnpm/color-name@2.0.2/node_modules/color-name/index.js +1 -0
  837. package/dist/node_modules/.pnpm/color-parse@2.0.2/node_modules/color-parse/index.js +1 -0
  838. package/dist/node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js +1 -0
  839. package/dist/node_modules/.pnpm/decode-named-character-reference@1.2.0/node_modules/decode-named-character-reference/index.dom.js +1 -0
  840. package/dist/node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/default.js +1 -0
  841. package/dist/node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js +3 -0
  842. package/dist/node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json.js +1 -0
  843. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +1 -0
  844. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/_internal/assignValue.js +1 -0
  845. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/_internal/isKey.js +1 -0
  846. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/_internal/toKey.js +1 -0
  847. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/function/debounce.js +1 -0
  848. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/function/throttle.js +1 -0
  849. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/assignIn.js +1 -0
  850. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/clone.js +1 -0
  851. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/get.js +1 -0
  852. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/has.js +1 -0
  853. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/mapValues.js +1 -0
  854. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/mergeWith.js +1 -0
  855. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/set.js +1 -0
  856. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/updateWith.js +1 -0
  857. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isArray.js +1 -0
  858. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js +1 -0
  859. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +1 -0
  860. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +1 -0
  861. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/matches.js +1 -0
  862. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +1 -0
  863. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/util/iteratee.js +1 -0
  864. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/util/toString.js +1 -0
  865. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/function/identity.js +1 -0
  866. package/dist/node_modules/.pnpm/es-toolkit@1.39.5/node_modules/es-toolkit/dist/object/cloneDeep.js +1 -0
  867. package/dist/node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js +1 -0
  868. package/dist/node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js +1 -0
  869. package/dist/node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.js +1 -1
  870. package/dist/node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js +1 -1
  871. package/dist/node_modules/.pnpm/hast-util-embedded@3.0.0/node_modules/hast-util-embedded/lib/index.js +1 -0
  872. package/dist/node_modules/.pnpm/hast-util-from-dom@5.0.1/node_modules/hast-util-from-dom/lib/index.js +1 -0
  873. package/dist/node_modules/.pnpm/hast-util-has-property@3.0.0/node_modules/hast-util-has-property/lib/index.js +1 -0
  874. package/dist/node_modules/.pnpm/hast-util-is-body-ok-link@3.0.1/node_modules/hast-util-is-body-ok-link/lib/index.js +1 -0
  875. package/dist/node_modules/.pnpm/hast-util-is-element@3.0.0/node_modules/hast-util-is-element/lib/index.js +1 -0
  876. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/block.js +1 -0
  877. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/content.js +1 -0
  878. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/index.js +2 -0
  879. package/dist/node_modules/.pnpm/hast-util-minify-whitespace@1.0.1/node_modules/hast-util-minify-whitespace/lib/skippable.js +1 -0
  880. package/dist/node_modules/.pnpm/hast-util-parse-selector@4.0.0/node_modules/hast-util-parse-selector/lib/index.js +1 -0
  881. package/dist/node_modules/.pnpm/hast-util-phrasing@3.0.1/node_modules/hast-util-phrasing/lib/index.js +1 -0
  882. package/dist/node_modules/.pnpm/hast-util-to-dom@4.0.1/node_modules/hast-util-to-dom/lib/index.js +1 -0
  883. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/comment.js +1 -0
  884. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/doctype.js +1 -0
  885. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/element.js +9 -0
  886. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/index.js +1 -0
  887. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/raw.js +1 -0
  888. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/root.js +1 -0
  889. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/handle/text.js +1 -0
  890. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/index.js +1 -0
  891. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.js +1 -0
  892. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/omission.js +1 -0
  893. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.js +1 -0
  894. package/dist/node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/util/siblings.js +1 -0
  895. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/a.js +1 -0
  896. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/base.js +1 -0
  897. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/blockquote.js +1 -0
  898. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/br.js +1 -0
  899. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/code.js +1 -0
  900. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/comment.js +1 -0
  901. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/del.js +1 -0
  902. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/dl.js +1 -0
  903. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/em.js +1 -0
  904. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/heading.js +1 -0
  905. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/hr.js +1 -0
  906. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/iframe.js +1 -0
  907. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/img.js +1 -0
  908. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/index.js +1 -0
  909. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/inline-code.js +1 -0
  910. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/input.js +1 -0
  911. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/li.js +1 -0
  912. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/list.js +1 -0
  913. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/media.js +1 -0
  914. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/p.js +1 -0
  915. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/q.js +1 -0
  916. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/root.js +1 -0
  917. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/select.js +1 -0
  918. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/strong.js +1 -0
  919. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/table-cell.js +1 -0
  920. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/table-row.js +1 -0
  921. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/table.js +1 -0
  922. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/text.js +1 -0
  923. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/textarea.js +1 -0
  924. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/handlers/wbr.js +1 -0
  925. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/index.js +1 -0
  926. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/state.js +1 -0
  927. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/util/drop-surrounding-breaks.js +1 -0
  928. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/util/find-selected-options.js +1 -0
  929. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/util/list-items-spread.js +1 -0
  930. package/dist/node_modules/.pnpm/hast-util-to-mdast@10.1.2/node_modules/hast-util-to-mdast/lib/util/wrap.js +1 -0
  931. package/dist/node_modules/.pnpm/hast-util-to-text@4.0.2/node_modules/hast-util-to-text/lib/index.js +3 -0
  932. package/dist/node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js +1 -0
  933. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/create-h.js +1 -0
  934. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/index.js +1 -0
  935. package/dist/node_modules/.pnpm/hastscript@9.0.1/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +1 -0
  936. package/dist/node_modules/.pnpm/html-void-elements@3.0.0/node_modules/html-void-elements/index.js +1 -0
  937. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +1 -1
  938. package/dist/node_modules/.pnpm/is-arguments@1.2.0/node_modules/is-arguments/index.js +1 -1
  939. package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js +1 -0
  940. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/ParseError.js +1 -0
  941. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/PhoneNumber.js +1 -0
  942. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/format.js +2 -0
  943. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +2 -0
  944. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +2 -0
  945. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/metadata.js +1 -0
  946. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/normalizeArguments.js +2 -0
  947. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +2 -0
  948. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +1 -0
  949. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +1 -0
  950. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.15/node_modules/libphonenumber-js/metadata.min.json.js +1 -0
  951. package/dist/node_modules/.pnpm/{lit-element@4.2.0 → lit-element@4.2.1}/node_modules/lit-element/lit-element.js +2 -2
  952. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive-helpers.js +5 -0
  953. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js +5 -0
  954. package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/repeat.js +5 -0
  955. package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/lit-html.js +1 -1
  956. package/dist/node_modules/.pnpm/longest-streak@3.1.0/node_modules/longest-streak/index.js +1 -0
  957. package/dist/node_modules/.pnpm/{magic-string@0.30.18 → magic-string@0.30.19}/node_modules/magic-string/dist/magic-string.es.js +2 -2
  958. package/dist/node_modules/.pnpm/markdown-table@3.0.4/node_modules/markdown-table/index.js +2 -0
  959. package/dist/node_modules/.pnpm/mdast-util-find-and-replace@3.0.2/node_modules/mdast-util-find-and-replace/lib/index.js +1 -0
  960. package/dist/node_modules/.pnpm/mdast-util-from-markdown@2.0.2/node_modules/mdast-util-from-markdown/lib/index.js +1 -0
  961. package/dist/node_modules/.pnpm/mdast-util-gfm-autolink-literal@2.0.1/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +1 -0
  962. package/dist/node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js +2 -0
  963. package/dist/node_modules/.pnpm/mdast-util-gfm-strikethrough@2.0.0/node_modules/mdast-util-gfm-strikethrough/lib/index.js +1 -0
  964. package/dist/node_modules/.pnpm/mdast-util-gfm-table@2.0.0/node_modules/mdast-util-gfm-table/lib/index.js +3 -0
  965. package/dist/node_modules/.pnpm/mdast-util-gfm-task-list-item@2.0.0/node_modules/mdast-util-gfm-task-list-item/lib/index.js +1 -0
  966. package/dist/node_modules/.pnpm/mdast-util-gfm@3.1.0/node_modules/mdast-util-gfm/lib/index.js +1 -0
  967. package/dist/node_modules/.pnpm/mdast-util-newline-to-break@2.0.0/node_modules/mdast-util-newline-to-break/lib/index.js +1 -0
  968. package/dist/node_modules/.pnpm/mdast-util-phrasing@4.1.0/node_modules/mdast-util-phrasing/lib/index.js +1 -0
  969. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/footer.js +3 -0
  970. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +1 -0
  971. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
  972. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  973. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/delete.js +1 -0
  974. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +1 -0
  975. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +1 -0
  976. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/heading.js +1 -0
  977. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/html.js +1 -0
  978. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +1 -0
  979. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/image.js +1 -0
  980. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/index.js +1 -0
  981. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +1 -0
  982. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +1 -0
  983. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/link.js +1 -0
  984. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +3 -0
  985. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/list.js +1 -0
  986. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +1 -0
  987. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/root.js +1 -0
  988. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/strong.js +1 -0
  989. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +1 -0
  990. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +1 -0
  991. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/table.js +1 -0
  992. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/text.js +1 -0
  993. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +1 -0
  994. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/index.js +2 -0
  995. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/revert.js +1 -0
  996. package/dist/node_modules/.pnpm/mdast-util-to-hast@13.2.0/node_modules/mdast-util-to-hast/lib/state.js +4 -0
  997. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/configure.js +1 -0
  998. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +1 -0
  999. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/break.js +3 -0
  1000. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/code.js +4 -0
  1001. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/definition.js +2 -0
  1002. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +1 -0
  1003. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.js +6 -0
  1004. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/html.js +1 -0
  1005. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +1 -0
  1006. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/image.js +1 -0
  1007. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/index.js +1 -0
  1008. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +1 -0
  1009. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +1 -0
  1010. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.js +1 -0
  1011. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +1 -0
  1012. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/list.js +1 -0
  1013. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +1 -0
  1014. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/root.js +1 -0
  1015. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/strong.js +1 -0
  1016. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/text.js +1 -0
  1017. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +1 -0
  1018. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/index.js +4 -0
  1019. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/join.js +1 -0
  1020. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/unsafe.js +7 -0
  1021. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/association.js +1 -0
  1022. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +1 -0
  1023. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +1 -0
  1024. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +1 -0
  1025. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +1 -0
  1026. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +1 -0
  1027. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +1 -0
  1028. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +1 -0
  1029. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +1 -0
  1030. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +1 -0
  1031. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +1 -0
  1032. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +1 -0
  1033. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +10 -0
  1034. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +2 -0
  1035. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +1 -0
  1036. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +1 -0
  1037. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +1 -0
  1038. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +1 -0
  1039. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +1 -0
  1040. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +1 -0
  1041. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +1 -0
  1042. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/safe.js +1 -0
  1043. package/dist/node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/track.js +1 -0
  1044. package/dist/node_modules/.pnpm/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string/lib/index.js +1 -0
  1045. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/attention.js +1 -0
  1046. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/autolink.js +1 -0
  1047. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js +1 -0
  1048. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.js +1 -0
  1049. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-escape.js +1 -0
  1050. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.js +1 -0
  1051. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-fenced.js +1 -0
  1052. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-indented.js +1 -0
  1053. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.js +1 -0
  1054. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/content.js +1 -0
  1055. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.js +1 -0
  1056. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +1 -0
  1057. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.js +1 -0
  1058. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-flow.js +1 -0
  1059. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/html-text.js +1 -0
  1060. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-end.js +1 -0
  1061. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-image.js +1 -0
  1062. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/label-start-link.js +1 -0
  1063. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js +1 -0
  1064. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.js +1 -0
  1065. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.js +1 -0
  1066. package/dist/node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.js +1 -0
  1067. package/dist/node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +1 -0
  1068. package/dist/node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +1 -0
  1069. package/dist/node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +1 -0
  1070. package/dist/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/edit-map.js +1 -0
  1071. package/dist/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/infer.js +1 -0
  1072. package/dist/node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.js +1 -0
  1073. package/dist/node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +1 -0
  1074. package/dist/node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js +1 -0
  1075. package/dist/node_modules/.pnpm/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination/index.js +1 -0
  1076. package/dist/node_modules/.pnpm/micromark-factory-label@2.0.1/node_modules/micromark-factory-label/index.js +1 -0
  1077. package/dist/node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js +1 -0
  1078. package/dist/node_modules/.pnpm/micromark-factory-title@2.0.1/node_modules/micromark-factory-title/index.js +1 -0
  1079. package/dist/node_modules/.pnpm/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js +1 -0
  1080. package/dist/node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js +1 -0
  1081. package/dist/node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js +1 -0
  1082. package/dist/node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js +1 -0
  1083. package/dist/node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js +1 -0
  1084. package/dist/node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js +1 -0
  1085. package/dist/node_modules/.pnpm/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js +1 -0
  1086. package/dist/node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js +1 -0
  1087. package/dist/node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js +1 -0
  1088. package/dist/node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js +1 -0
  1089. package/dist/node_modules/.pnpm/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri/index.js +1 -0
  1090. package/dist/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/index.js +1 -0
  1091. package/dist/node_modules/.pnpm/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +1 -0
  1092. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js +1 -0
  1093. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js +3 -0
  1094. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js +1 -0
  1095. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js +1 -0
  1096. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js +1 -0
  1097. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js +1 -0
  1098. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js +1 -0
  1099. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js +1 -0
  1100. package/dist/node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js +1 -0
  1101. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/index.js +1 -0
  1102. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/aria.js +1 -0
  1103. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.js +1 -0
  1104. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/html.js +1 -0
  1105. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/normalize.js +1 -0
  1106. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/svg.js +1 -0
  1107. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-insensitive-transform.js +1 -0
  1108. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js +1 -0
  1109. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/create.js +1 -0
  1110. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/defined-info.js +1 -0
  1111. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/info.js +1 -0
  1112. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/merge.js +1 -0
  1113. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.js +1 -0
  1114. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/types.js +1 -0
  1115. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xlink.js +1 -0
  1116. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xml.js +1 -0
  1117. package/dist/node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/xmlns.js +1 -0
  1118. package/dist/node_modules/.pnpm/{react@19.1.0 → react@19.1.1}/node_modules/react/cjs/react.production.js +1 -1
  1119. package/dist/node_modules/.pnpm/{react@19.1.0 → react@19.1.1}/node_modules/react/index.js +1 -1
  1120. package/dist/node_modules/.pnpm/rehype-dom-parse@5.0.2/node_modules/rehype-dom-parse/lib/index.js +1 -0
  1121. package/dist/node_modules/.pnpm/rehype-dom-stringify@4.0.2/node_modules/rehype-dom-stringify/lib/index.js +1 -0
  1122. package/dist/node_modules/.pnpm/rehype-minify-whitespace@6.0.2/node_modules/rehype-minify-whitespace/lib/index.js +1 -0
  1123. package/dist/node_modules/.pnpm/rehype-remark@10.0.1/node_modules/rehype-remark/lib/index.js +1 -0
  1124. package/dist/node_modules/.pnpm/remark-breaks@4.0.0/node_modules/remark-breaks/lib/index.js +1 -0
  1125. package/dist/node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js +1 -0
  1126. package/dist/node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js +1 -0
  1127. package/dist/node_modules/.pnpm/remark-rehype@11.1.2/node_modules/remark-rehype/lib/index.js +1 -0
  1128. package/dist/node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.js +1 -0
  1129. package/dist/node_modules/.pnpm/safe-buffer@5.1.2/node_modules/safe-buffer/index.js +1 -1
  1130. package/dist/node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +1 -0
  1131. package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1 → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a}/node_modules/storybook/dist/instrumenter/index.js +1 -1
  1132. package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1 → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a}/node_modules/storybook/dist/test/index.js +12 -12
  1133. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/constant/dangerous.js +1 -0
  1134. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/core.js +1 -0
  1135. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js +1 -0
  1136. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/format-smart.js +1 -0
  1137. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-decimal.js +1 -0
  1138. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-hexadecimal.js +1 -0
  1139. package/dist/node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/util/to-named.js +1 -0
  1140. package/dist/node_modules/.pnpm/strip-literal@3.0.0/node_modules/strip-literal/dist/index.js +1 -1
  1141. package/dist/node_modules/.pnpm/trim-lines@3.0.1/node_modules/trim-lines/index.js +1 -0
  1142. package/dist/node_modules/.pnpm/trim-trailing-lines@2.1.0/node_modules/trim-trailing-lines/index.js +1 -0
  1143. package/dist/node_modules/.pnpm/trough@2.2.0/node_modules/trough/lib/index.js +1 -0
  1144. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/index.js +1 -1
  1145. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/fetch/index.js +1 -1
  1146. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/llhttp/constants.js +1 -1
  1147. package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/callable-instance.js +1 -0
  1148. package/dist/node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js +1 -0
  1149. package/dist/node_modules/.pnpm/unist-util-find-after@5.0.0/node_modules/unist-util-find-after/lib/index.js +1 -0
  1150. package/dist/node_modules/.pnpm/unist-util-is@6.0.0/node_modules/unist-util-is/lib/index.js +1 -0
  1151. package/dist/node_modules/.pnpm/unist-util-position@5.0.0/node_modules/unist-util-position/lib/index.js +1 -0
  1152. package/dist/node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js +1 -0
  1153. package/dist/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/color.js +1 -0
  1154. package/dist/node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js +1 -0
  1155. package/dist/node_modules/.pnpm/unist-util-visit@5.0.0/node_modules/unist-util-visit/lib/index.js +1 -0
  1156. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js +1 -1
  1157. package/dist/node_modules/.pnpm/util@0.12.5/node_modules/util/util.js +2 -2
  1158. package/dist/node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js +1 -0
  1159. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/index.js +1 -0
  1160. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.browser.js +1 -0
  1161. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minproc.browser.js +1 -0
  1162. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.browser.js +1 -0
  1163. package/dist/node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minurl.shared.js +1 -0
  1164. package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +2 -2
  1165. package/dist/node_modules/.pnpm/web-namespaces@2.0.1/node_modules/web-namespaces/index.js +1 -0
  1166. package/dist/node_modules/.pnpm/zwitch@2.0.4/node_modules/zwitch/index.js +1 -0
  1167. package/dist/packages/web-components/src/components/button/gator/button.gator.scss.js +1 -1
  1168. package/dist/packages/web-components/src/tokens/primitive-new.tokens.scss.js +1 -0
  1169. package/dist/packages/web-components/src/tokens/semantic-new.tokens.scss.js +1 -0
  1170. package/dist/styles/gator/_gator-typography.css +2 -2
  1171. package/dist/styles/gator/fonts/OpenSans-VariableFont.woff2 +0 -0
  1172. package/dist/styles/gator/fonts/nCino+Avenir.woff2 +0 -0
  1173. package/dist/styles/gator/fonts/nCino+AvenirBd.woff2 +0 -0
  1174. package/dist/styles/gator/fonts.css +20 -0
  1175. package/dist/types/components/accordion/gator/base/accordion.gator.d.ts +2 -0
  1176. package/dist/types/components/breadcrumbs/gator/breadcrumb/breadcrumb.gator.d.ts +2 -0
  1177. package/dist/types/components/button/gator/button.gator.d.ts +7 -5
  1178. package/dist/types/components/button/slds/button.slds.d.ts +2 -0
  1179. package/dist/types/components/button-card/gator/button-card.gator.d.ts +2 -0
  1180. package/dist/types/components/chip/gator/chip.gator.d.ts +2 -0
  1181. package/dist/types/components/combobox/base/combobox.slds.d.ts +2 -0
  1182. package/dist/types/components/date-picker/base/gator/datepicker.gator.d.ts +2 -0
  1183. package/dist/types/components/date-picker/year-month-selector/year-month-selector.gator.d.ts +2 -0
  1184. package/dist/types/components/fab/gator/fab.gator.d.ts +2 -0
  1185. package/dist/types/components/guided-nav/gator/guided-nav-step/guided-nav-step.gator.d.ts +2 -0
  1186. package/dist/types/components/icon/gator/templates/chat-circle-ai.d.ts +1 -0
  1187. package/dist/types/components/icon/gator/templates/chat-circle-dots.d.ts +1 -0
  1188. package/dist/types/components/icon/gator/templates/chat-circle-slash.d.ts +1 -0
  1189. package/dist/types/components/icon/gator/templates/chat-circle-text.d.ts +1 -0
  1190. package/dist/types/components/icon/gator/templates/chat-circle.d.ts +1 -0
  1191. package/dist/types/components/icon/gator/templates/check-circle-filled.d.ts +1 -0
  1192. package/dist/types/components/icon/gator/templates/index.d.ts +11 -2
  1193. package/dist/types/components/icon/gator/templates/restricted-filled.d.ts +1 -0
  1194. package/dist/types/components/icon/gator/templates/send-filled.d.ts +1 -0
  1195. package/dist/types/components/icon/gator/templates/warning-filled.d.ts +1 -0
  1196. package/dist/types/components/icon-button/gator/icon-button.gator.d.ts +2 -0
  1197. package/dist/types/components/input/base/input-base.d.ts +1 -1
  1198. package/dist/types/components/input/gator/dropdown/input-dropdown.gator.d.ts +3 -0
  1199. package/dist/types/components/input/gator/input-file/file-uploaded-preview/file-upload-preview.gator.d.ts +1 -0
  1200. package/dist/types/components/input/gator/input-file/input-file.gator.d.ts +1 -0
  1201. package/dist/types/components/input/gator/input-label/input-label.gator.d.ts +2 -0
  1202. package/dist/types/components/input/gator/input-search/input-search.gator.d.ts +2 -0
  1203. package/dist/types/components/input/gator/input-text/input-text.gator.d.ts +2 -0
  1204. package/dist/types/components/input/gator/input-textarea/input-textarea.gator.d.ts +2 -0
  1205. package/dist/types/components/input/gator/input-time/input-time.gator.d.ts +2 -0
  1206. package/dist/types/components/list/gator/list/list.gator.d.ts +4 -2
  1207. package/dist/types/components/list/gator/list-item/list-item.gator.d.ts +2 -0
  1208. package/dist/types/components/popover/gator/popover.gator.d.ts +2 -0
  1209. package/dist/types/components/selection-box/selection-box.gator.d.ts +2 -0
  1210. package/dist/types/components/skip-link/gator/base/skip-link.gator.d.ts +2 -0
  1211. package/dist/types/components/switch/gator/switch.gator.d.ts +2 -0
  1212. package/dist/types/components/table/gator/table-bulk-controls/table-bulk-controls.gator.d.ts +2 -0
  1213. package/dist/types/components/text-link/gator/text-link.gator.d.ts +2 -0
  1214. package/dist/types/components/time-picker/gator/time-picker.gator.d.ts +2 -0
  1215. package/dist/types/components/tooltip/gator/tooltip.gator.d.ts +2 -0
  1216. package/dist/types/index.d.ts +1 -0
  1217. package/dist/types/utils/components/design-tokens/token-parser.d.ts +1 -0
  1218. package/dist/utils/components/design-tokens/token-parser.js +1 -0
  1219. package/dist/utils/components/illustration-list/illustration-list.gator.js +1 -1
  1220. package/dist/utils/components/ngc-component.js +1 -1
  1221. package/dist/utils/components/slot-placeholder/slot-placeholder.js +1 -1
  1222. package/dist/utils/components/testable-lit-element/testable-lit-element.js +1 -1
  1223. package/dist/utils/vitest-a11y-utils.js +1 -1
  1224. package/package.json +134 -129
  1225. package/web-types.json +71 -64
  1226. package/dist/_virtual/index13.js +0 -1
  1227. package/dist/assets/node_modules/.pnpm/ckeditor5@45.2.2/node_modules/ckeditor5/dist/ckeditor5.css +0 -4
  1228. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@45.2.2/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +0 -7
  1229. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@45.2.2/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +0 -4
  1230. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.2.2/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +0 -7
  1231. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js +0 -4
  1232. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +0 -30
  1233. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-font@45.2.2/node_modules/@ckeditor/ckeditor5-font/dist/index.js +0 -7
  1234. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-highlight@45.2.2/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +0 -4
  1235. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-html-support@45.2.2/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +0 -12
  1236. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +0 -6
  1237. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-image@45.2.2/node_modules/@ckeditor/ckeditor5-image/dist/index.js +0 -10
  1238. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.2/node_modules/@ckeditor/ckeditor5-list/dist/index.js +0 -13
  1239. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@45.2.2/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +0 -6
  1240. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-mention@45.2.2/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +0 -4
  1241. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-page-break@45.2.2/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +0 -4
  1242. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@45.2.2/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +0 -28
  1243. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@45.2.2/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +0 -4
  1244. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-table@45.2.2/node_modules/@ckeditor/ckeditor5-table/dist/index.js +0 -16
  1245. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +0 -28
  1246. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +0 -112
  1247. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.2/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +0 -4
  1248. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/client/external.js +0 -1
  1249. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/common/logging.js +0 -1
  1250. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/connect/helpers.js +0 -1
  1251. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/html/external.js +0 -1
  1252. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/html/index_html.js +0 -1
  1253. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/react/external.js +0 -1
  1254. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/dist/react/index_react.js +0 -1
  1255. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.4/node_modules/@figma/code-connect/package.json.js +0 -1
  1256. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -1
  1257. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js +0 -5
  1258. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -5
  1259. package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js +0 -5
  1260. package/dist/node_modules/.pnpm/color-parse@1.4.2/node_modules/color-parse/index.js +0 -1
  1261. package/dist/node_modules/.pnpm/dotenv@16.4.7/node_modules/dotenv/lib/main.js +0 -3
  1262. package/dist/node_modules/.pnpm/dotenv@16.4.7/node_modules/dotenv/package.json.js +0 -1
  1263. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/toKey.js +0 -1
  1264. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/debounce.js +0 -1
  1265. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/throttle.js +0 -1
  1266. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/assignIn.js +0 -1
  1267. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/get.js +0 -1
  1268. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mapValues.js +0 -1
  1269. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mergeWith.js +0 -1
  1270. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/set.js +0 -1
  1271. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/unset.js +0 -1
  1272. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js +0 -1
  1273. package/dist/node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toString.js +0 -1
  1274. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/ParseError.js +0 -1
  1275. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/PhoneNumber.js +0 -1
  1276. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/format.js +0 -2
  1277. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +0 -2
  1278. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +0 -2
  1279. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/metadata.js +0 -1
  1280. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/normalizeArguments.js +0 -2
  1281. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -2
  1282. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js +0 -1
  1283. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +0 -1
  1284. package/dist/node_modules/.pnpm/libphonenumber-js@1.12.9/node_modules/libphonenumber-js/metadata.min.json.js +0 -1
  1285. package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directive-helpers.js +0 -5
  1286. package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/class-map.js +0 -5
  1287. package/dist/node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/repeat.js +0 -5
  1288. package/dist/node_modules/.pnpm/marked@4.0.12/node_modules/marked/lib/marked.esm.js +0 -48
  1289. package/dist/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.js +0 -16
  1290. package/dist/node_modules/.pnpm/turndown@7.2.0/node_modules/turndown/lib/turndown.browser.es.js +0 -61
  1291. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/common/fetch.js +0 -0
  1292. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/connect/external_types.js +0 -0
  1293. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/connect/figma_rest_api.js +0 -0
  1294. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/connect/index_common.js +0 -0
  1295. /package/dist/node_modules/.pnpm/{@figma_code-connect@1.3.4 → @figma_code-connect@1.3.5}/node_modules/@figma/code-connect/dist/html/template_literal.js +0 -0
  1296. /package/dist/node_modules/.pnpm/{@lit_reactive-element@2.1.0 → @lit_reactive-element@2.1.1}/node_modules/@lit/reactive-element/decorators/property.js +0 -0
  1297. /package/dist/node_modules/.pnpm/{@lit_reactive-element@2.1.0 → @lit_reactive-element@2.1.1}/node_modules/@lit/reactive-element/decorators/state.js +0 -0
  1298. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.0_typescript@5.8.3__playwright@1.55.0__52d7c6cd144c32d9cfaaa0e5cd39c583 → @vitest_browser@3.2.4_msw@2.7.3_@types_node@24.3.1_typescript@5.9.2__playwright@1.55.0__87f0b62113e4cf466e19137faba4c80e}/node_modules/@vitest/browser/context.js +0 -0
  1299. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +0 -0
  1300. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/getTag.js +0 -0
  1301. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +0 -0
  1302. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +0 -0
  1303. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +0 -0
  1304. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/normalizeForCase.js +0 -0
  1305. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/_internal/tags.js +0 -0
  1306. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0/node_modules/es-toolkit/dist → es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat}/function/identity.js +0 -0
  1307. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +0 -0
  1308. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +0 -0
  1309. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/keysIn.js +0 -0
  1310. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/merge.js +0 -0
  1311. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/object/property.js +0 -0
  1312. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +0 -0
  1313. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +0 -0
  1314. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isElement.js +0 -0
  1315. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0/node_modules/es-toolkit/dist → es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat}/predicate/isFunction.js +0 -0
  1316. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isObject.js +0 -0
  1317. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +0 -0
  1318. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +0 -0
  1319. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isString.js +0 -0
  1320. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +0 -0
  1321. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +0 -0
  1322. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/string/escapeRegExp.js +0 -0
  1323. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/string/startCase.js +0 -0
  1324. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/string/upperFirst.js +0 -0
  1325. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/eq.js +0 -0
  1326. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/times.js +0 -0
  1327. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/toFinite.js +0 -0
  1328. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/toInteger.js +0 -0
  1329. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/toNumber.js +0 -0
  1330. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/compat/util/toPath.js +0 -0
  1331. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/function/after.js +0 -0
  1332. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/function/debounce.js +0 -0
  1333. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/function/noop.js +0 -0
  1334. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/object/clone.js +0 -0
  1335. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/object/cloneDeepWith.js +0 -0
  1336. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/object/mapValues.js +0 -0
  1337. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isBuffer.js +0 -0
  1338. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isEqual.js +0 -0
  1339. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isEqualWith.js +0 -0
  1340. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isLength.js +0 -0
  1341. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isPlainObject.js +0 -0
  1342. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isPrimitive.js +0 -0
  1343. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/predicate/isTypedArray.js +0 -0
  1344. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/string/escapeRegExp.js +0 -0
  1345. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/string/upperFirst.js +0 -0
  1346. /package/dist/node_modules/.pnpm/{es-toolkit@1.32.0 → es-toolkit@1.39.5}/node_modules/es-toolkit/dist/string/words.js +0 -0
  1347. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/constants.js +0 -0
  1348. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +0 -0
  1349. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -0
  1350. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -0
  1351. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -0
  1352. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -0
  1353. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -0
  1354. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -0
  1355. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js +0 -0
  1356. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -0
  1357. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -0
  1358. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js +0 -0
  1359. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -0
  1360. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -0
  1361. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -0
  1362. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.js +0 -0
  1363. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/isObject.js +0 -0
  1364. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -0
  1365. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -0
  1366. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +0 -0
  1367. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -0
  1368. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/isPossible.js +0 -0
  1369. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/isValid.js +0 -0
  1370. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/parse.js +0 -0
  1371. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +0 -0
  1372. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/es6/tools/semver-compare.js +0 -0
  1373. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.js +0 -0
  1374. /package/dist/node_modules/.pnpm/{libphonenumber-js@1.12.9 → libphonenumber-js@1.12.15}/node_modules/libphonenumber-js/min/exports/withMetadataArgument.js +0 -0
  1375. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/async-directive.js +0 -0
  1376. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directive.js +0 -0
  1377. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directives/if-defined.js +0 -0
  1378. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directives/live.js +0 -0
  1379. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directives/ref.js +0 -0
  1380. /package/dist/node_modules/.pnpm/{lit-html@3.3.0 → lit-html@3.3.1}/node_modules/lit-html/directives/unsafe-html.js +0 -0
  1381. /package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1 → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a}/node_modules/storybook/dist/client-logger/index.js +0 -0
  1382. /package/dist/node_modules/.pnpm/{storybook@9.1.2_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.0_typescript@5.8_12bf3ca86ec884caaedcd4eb1ffccee1 → storybook@9.1.5_@testing-library_dom@10.4.0_msw@2.7.3_@types_node@24.3.1_typescript@5.9_72cffe61c3938b770feb5ac395c7392a}/node_modules/storybook/dist/core-events/index.js +0 -0
  1383. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  1384. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
  1385. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.0_@vitest_browser@3.2.4_@vitest_ui@3._b3f9e7a46c2fec06a40d2eaf7fb1b902 → vitest@3.2.4_@types_debug@4.1.12_@types_node@24.3.1_@vitest_browser@3.2.4_@vitest_ui@3._1b07986b91643c89c81b0014d2711937}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +0 -0
@@ -1,7 +1,7 @@
1
- import{Plugin as m,Command as E}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Observer as b,BubblingEventInfo as v,DomEventData as k}from"../../../../../@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{env as S}from"../../../../../@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
1
+ import{Plugin as m,Command as E}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Observer as b,BubblingEventInfo as v,ViewDocumentDomEventData as k}from"../../../../../@ckeditor_ckeditor5-engine@46.1.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{env as S}from"../../../../../@ckeditor_ckeditor5-utils@46.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  *//**
5
5
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
6
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
7
- */function*p(s,e){for(const t of e)t&&s.getAttributeProperties(t[0]).copyOnEnter&&(yield t)}class y extends E{execute(){this.editor.model.change(e=>{this.enterBlock(e),this.fire("afterExecute",{writer:e})})}enterBlock(e){const t=this.editor.model,n=t.document.selection,i=t.schema,o=n.isCollapsed,r=n.getFirstRange(),a=r.start.parent,c=r.end.parent;if(i.isLimit(a)||i.isLimit(c))return!o&&a==c&&t.deleteContent(n),!1;if(o){const l=p(e.model.schema,n.getAttributes());return f(e,r.start),e.setSelectionAttribute(l),!0}else{const l=!(r.start.isAtStart&&r.end.isAtEnd),g=a==c;if(t.deleteContent(n,{leaveUnmerged:l}),l){if(g)return f(e,n.focus),!0;e.setSelection(c,0)}}return!1}}function f(s,e){s.split(e),s.setSelection(e.parent.nextSibling,0)}const C={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class h extends b{constructor(e){super(e);const t=this.document;let n=!1;t.on("keydown",(i,o)=>{n=o.shiftKey}),t.on("beforeinput",(i,o)=>{if(!this.isEnabled)return;let r=o.inputType;S.isSafari&&n&&r=="insertParagraph"&&(r="insertLineBreak");const a=o.domEvent,c=C[r];if(!c)return;const l=new v(t,"enter",o.targetRanges[0]);t.fire(l,new k(e,a,{isSoft:c.isSoft})),l.stop.called&&i.stop()})}observe(){}stopObserving(){}}class I extends m{static get pluginName(){return"Enter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view,n=t.document,i=this.editor.t;t.addObserver(h),e.commands.add("enter",new y(e)),this.listenTo(n,"enter",(o,r)=>{n.isComposing||r.preventDefault(),!r.isSoft&&(e.execute("enter"),t.scrollToTheSelection())},{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Insert a hard break (a new paragraph)"),keystroke:"Enter"}]})}}class T extends E{execute(){const e=this.editor.model,t=e.document;e.change(n=>{A(e,n,t.selection),this.fire("afterExecute",{writer:n})})}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=x(e.schema,t.selection)}}function x(s,e){if(e.rangeCount>1)return!1;const t=e.anchor;if(!t||!s.checkChild(t,"softBreak"))return!1;const n=e.getFirstRange(),i=n.start.parent,o=n.end.parent;return!((d(i,s)||d(o,s))&&i!==o)}function A(s,e,t){const n=t.isCollapsed,i=t.getFirstRange(),o=i.start.parent,r=i.end.parent,a=o==r;if(n){const c=p(s.schema,t.getAttributes());u(s,e,i.end),e.removeSelectionAttribute(t.getAttributeKeys()),e.setSelectionAttribute(c)}else{const c=!(i.start.isAtStart&&i.end.isAtEnd);s.deleteContent(t,{leaveUnmerged:c}),a?u(s,e,t.focus):c&&e.setSelection(r,0)}}function u(s,e,t){const n=e.createElement("softBreak");s.insertContent(n,t),e.setSelection(n,"after")}function d(s,e){return s.is("rootElement")?!1:e.isLimit(s)||d(s.parent,e)}class L extends m{static get pluginName(){return"ShiftEnter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.schema,n=e.conversion,i=e.editing.view,o=i.document,r=this.editor.t;t.register("softBreak",{allowWhere:"$text",isInline:!0}),n.for("upcast").elementToElement({model:"softBreak",view:"br"}),n.for("downcast").elementToElement({model:"softBreak",view:(a,{writer:c})=>c.createEmptyElement("br")}),i.addObserver(h),e.commands.add("shiftEnter",new T(e)),this.listenTo(o,"enter",(a,c)=>{o.isComposing||c.preventDefault(),c.isSoft&&(e.execute("shiftEnter"),i.scrollToTheSelection())},{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Insert a soft break (a <code>&lt;br&gt;</code> element)"),keystroke:"Shift+Enter"}]})}}export{I as Enter,L as ShiftEnter};
7
+ */function*p(s,e){for(const t of e)t&&s.getAttributeProperties(t[0]).copyOnEnter&&(yield t)}class y extends E{execute(){this.editor.model.change(e=>{this.enterBlock(e),this.fire("afterExecute",{writer:e})})}enterBlock(e){const t=this.editor.model,n=t.document.selection,i=t.schema,o=n.isCollapsed,r=n.getFirstRange(),a=r.start.parent,c=r.end.parent;if(i.isLimit(a)||i.isLimit(c))return!o&&a==c&&t.deleteContent(n),!1;if(o){const l=p(e.model.schema,n.getAttributes());return f(e,r.start),e.setSelectionAttribute(l),!0}else{const l=!(r.start.isAtStart&&r.end.isAtEnd),g=a==c;if(t.deleteContent(n,{leaveUnmerged:l}),l){if(g)return f(e,n.focus),!0;e.setSelection(c,0)}}return!1}}function f(s,e){s.split(e),s.setSelection(e.parent.nextSibling,0)}const C={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class h extends b{constructor(e){super(e);const t=this.document;let n=!1;t.on("keydown",(i,o)=>{n=o.shiftKey}),t.on("beforeinput",(i,o)=>{if(!this.isEnabled)return;let r=o.inputType;S.isSafari&&n&&r=="insertParagraph"&&(r="insertLineBreak");const a=o.domEvent,c=C[r];if(!c)return;const l=new v(t,"enter",o.targetRanges[0]);t.fire(l,new k(e,a,{isSoft:c.isSoft})),l.stop.called&&i.stop()})}observe(){}stopObserving(){}}class D extends m{static get pluginName(){return"Enter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.editing.view,n=t.document,i=this.editor.t;t.addObserver(h),e.commands.add("enter",new y(e)),this.listenTo(n,"enter",(o,r)=>{n.isComposing||r.preventDefault(),!r.isSoft&&(e.execute("enter"),t.scrollToTheSelection())},{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:i("Insert a hard break (a new paragraph)"),keystroke:"Enter"}]})}}class T extends E{execute(){const e=this.editor.model,t=e.document;e.change(n=>{A(e,n,t.selection),this.fire("afterExecute",{writer:n})})}refresh(){const e=this.editor.model,t=e.document;this.isEnabled=x(e.schema,t.selection)}}function x(s,e){if(e.rangeCount>1)return!1;const t=e.anchor;if(!t||!s.checkChild(t,"softBreak"))return!1;const n=e.getFirstRange(),i=n.start.parent,o=n.end.parent;return!((d(i,s)||d(o,s))&&i!==o)}function A(s,e,t){const n=t.isCollapsed,i=t.getFirstRange(),o=i.start.parent,r=i.end.parent,a=o==r;if(n){const c=p(s.schema,t.getAttributes());u(s,e,i.end),e.removeSelectionAttribute(t.getAttributeKeys()),e.setSelectionAttribute(c)}else{const c=!(i.start.isAtStart&&i.end.isAtEnd);s.deleteContent(t,{leaveUnmerged:c}),a?u(s,e,t.focus):c&&e.setSelection(r,0)}}function u(s,e,t){const n=e.createElement("softBreak");s.insertContent(n,t),e.setSelection(n,"after")}function d(s,e){return s.is("rootElement")?!1:e.isLimit(s)||d(s.parent,e)}class I extends m{static get pluginName(){return"ShiftEnter"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.model.schema,n=e.conversion,i=e.editing.view,o=i.document,r=this.editor.t;t.register("softBreak",{allowWhere:"$text",isInline:!0}),n.for("upcast").elementToElement({model:"softBreak",view:"br"}),n.for("downcast").elementToElement({model:"softBreak",view:(a,{writer:c})=>c.createEmptyElement("br")}),i.addObserver(h),e.commands.add("shiftEnter",new T(e)),this.listenTo(o,"enter",(a,c)=>{o.isComposing||c.preventDefault(),c.isSoft&&(e.execute("shiftEnter"),i.scrollToTheSelection())},{priority:"low"}),e.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Insert a soft break (a <code>&lt;br&gt;</code> element)"),keystroke:"Shift+Enter"}]})}}export{D as Enter,y as EnterCommand,h as EnterObserver,I as ShiftEnter,T as ShiftEnterCommand,p as _getCopyOnEnterAttributes};
@@ -1,4 +1,4 @@
1
- import{Plugin as t}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Clipboard as r}from"../../../../../@ckeditor_ckeditor5-clipboard@45.2.2/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js";import{Enter as i,ShiftEnter as e}from"../../../../../@ckeditor_ckeditor5-enter@45.2.2/node_modules/@ckeditor/ckeditor5-enter/dist/index.js";import{SelectAll as o}from"../../../../../@ckeditor_ckeditor5-select-all@45.2.2/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js";import{Typing as s}from"../../../../../@ckeditor_ckeditor5-typing@45.2.2/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{Undo as m}from"../../../../../@ckeditor_ckeditor5-undo@45.2.2/node_modules/@ckeditor/ckeditor5-undo/dist/index.js";import{AccessibilityHelp as l}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
1
+ import{Plugin as t}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Clipboard as r}from"../../../../../@ckeditor_ckeditor5-clipboard@46.1.0/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js";import{Enter as i,ShiftEnter as e}from"../../../../../@ckeditor_ckeditor5-enter@46.1.0/node_modules/@ckeditor/ckeditor5-enter/dist/index.js";import{SelectAll as o}from"../../../../../@ckeditor_ckeditor5-select-all@46.1.0/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js";import{Typing as s}from"../../../../../@ckeditor_ckeditor5-typing@46.1.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{Undo as m}from"../../../../../@ckeditor_ckeditor5-undo@46.1.0/node_modules/@ckeditor/ckeditor5-undo/dist/index.js";import{AccessibilityHelp as l}from"../../../../../@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class d extends t{static get requires(){return[l,r,i,o,e,s,m]}static get pluginName(){return"Essentials"}static get isOfficialPlugin(){return!0}}export{d as Essentials};
@@ -1,5 +1,5 @@
1
- import{Plugin as p,Command as _}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconFindReplace as w,IconPreviousArrow as x}from"../../../../../@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{Dialog as T,DropdownView as v,createDropdown as F,FormHeaderView as B,ButtonView as V,MenuBarMenuListItemButtonView as A,DialogViewPosition as I,CssTransitionDisablerMixin as E,View as g,ViewCollection as D,FocusCycler as O,submitHandler as S,CollapsibleView as P,SwitchButtonView as b,LabeledFieldView as N,createLabeledInputText as M}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{scrollViewportToShowTarget as H,Collection as m,uid as W,ObservableMixin as $,FocusTracker as L,KeystrokeHandler as U,isVisible as q,Rect as G}from"../../../../../@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{debounce as K}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/debounce.js";import{escapeRegExp as j}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/string/escapeRegExp.js";/**
1
+ import{Plugin as p,Command as _}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconFindReplace as w,IconPreviousArrow as x}from"../../../../../@ckeditor_ckeditor5-icons@46.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{Dialog as T,DropdownView as F,createDropdown as v,FormHeaderView as B,ButtonView as V,MenuBarMenuListItemButtonView as A,DialogViewPosition as I,CssTransitionDisablerMixin as E,View as g,ViewCollection as D,FocusCycler as O,submitHandler as S,CollapsibleView as P,SwitchButtonView as b,LabeledFieldView as M,createLabeledInputText as N}from"../../../../../@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{scrollViewportToShowTarget as H,Collection as m,uid as W,ObservableMixin as $,FocusTracker as L,KeystrokeHandler as U,isVisible as q,Rect as G}from"../../../../../@ckeditor_ckeditor5-utils@46.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{debounce as K}from"../../../../../es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/function/debounce.js";import{escapeRegExp as j}from"../../../../../es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/string/escapeRegExp.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */class z extends g{children;_findInputView;_replaceInputView;_findButtonView;_findPrevButtonView;_findNextButtonView;_advancedOptionsCollapsibleView;_matchCaseSwitchView;_wholeWordsOnlySwitchView;_replaceButtonView;_replaceAllButtonView;_inputsDivView;_actionButtonsDivView;_focusTracker;_keystrokes;_focusables;focusCycler;constructor(t){super(t);const e=t.t;this.children=this.createCollection(),this.set("matchCount",0),this.set("highlightOffset",0),this.set("isDirty",!1),this.set("_areCommandsEnabled",{}),this.set("_resultsCounterText",""),this.set("_matchCase",!1),this.set("_wholeWordsOnly",!1),this.bind("_searchResultsFound").to(this,"matchCount",this,"isDirty",(i,s)=>i>0&&!s),this._findInputView=this._createInputField(e("Find in text…")),this._findPrevButtonView=this._createButton({label:e("Previous result"),class:"ck-button-prev",icon:x,keystroke:"Shift+F3",tooltip:!0}),this._findNextButtonView=this._createButton({label:e("Next result"),class:"ck-button-next",icon:x,keystroke:"F3",tooltip:!0}),this._replaceInputView=this._createInputField(e("Replace with…"),"ck-labeled-field-replace"),this._inputsDivView=this._createInputsDiv(),this._matchCaseSwitchView=this._createMatchCaseSwitch(),this._wholeWordsOnlySwitchView=this._createWholeWordsOnlySwitch(),this._advancedOptionsCollapsibleView=this._createAdvancedOptionsCollapsible(),this._replaceAllButtonView=this._createButton({label:e("Replace all"),class:"ck-button-replaceall",withText:!0}),this._replaceButtonView=this._createButton({label:e("Replace"),class:"ck-button-replace",withText:!0}),this._findButtonView=this._createButton({label:e("Find"),class:"ck-button-find ck-button-action",withText:!0}),this._actionButtonsDivView=this._createActionButtonsDiv(),this._focusTracker=new L,this._keystrokes=new U,this._focusables=new D,this.focusCycler=new O({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this._keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.addMany([this._inputsDivView,this._advancedOptionsCollapsibleView,this._actionButtonsDivView]),this.setTemplate({tag:"form",attributes:{class:["ck","ck-find-and-replace-form"],tabindex:"-1"},children:this.children})}render(){super.render(),S({view:this}),this._initFocusCycling(),this._initKeystrokeHandling()}destroy(){super.destroy(),this._focusTracker.destroy(),this._keystrokes.destroy()}focus(t){t===-1?this.focusCycler.focusLast():this.focusCycler.focusFirst()}reset(){this._findInputView.errorText=null,this.isDirty=!0}get _textToFind(){return this._findInputView.fieldView.element.value}get _textToReplace(){return this._replaceInputView.fieldView.element.value}_createInputsDiv(){const t=this.locale,e=t.t,i=new g(t);return this._findInputView.fieldView.on("input",()=>{this.isDirty=!0}),this._findPrevButtonView.delegate("execute").to(this,"findPrevious"),this._findNextButtonView.delegate("execute").to(this,"findNext"),this._findPrevButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",({findPrevious:s})=>s),this._findNextButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",({findNext:s})=>s),this._injectFindResultsCounter(),this._replaceInputView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replace:s},n)=>s&&n),this._replaceInputView.bind("infoText").to(this._replaceInputView,"isEnabled",this._replaceInputView,"isFocused",(s,n)=>s||!n?"":e("Tip: Find some text first in order to replace it.")),i.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__inputs"]},children:[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView]}),i}_onFindButtonExecute(){if(!this._textToFind){const t=this.t;this._findInputView.errorText=t("Text to find must not be empty.");return}this.isDirty=!1,this.fire("findNext",{searchText:this._textToFind,matchCase:this._matchCase,wholeWords:this._wholeWordsOnly})}_injectFindResultsCounter(){const t=this.locale,e=t.t,i=this.bindTemplate,s=new g(this.locale);this.bind("_resultsCounterText").to(this,"highlightOffset",this,"matchCount",(o,r)=>e("%0 of %1",[o,r])),s.setTemplate({tag:"span",attributes:{class:["ck","ck-results-counter",i.if("isDirty","ck-hidden")]},children:[{text:i.to("_resultsCounterText")}]});const n=()=>{const o=this._findInputView.fieldView.element;if(!o||!q(o))return;const r=new G(s.element).width,h=t.uiLanguageDirection==="ltr"?"paddingRight":"paddingLeft";r?o.style[h]=`calc( 2 * var(--ck-spacing-standard) + ${r}px )`:o.style[h]=""};this.on("change:_resultsCounterText",n,{priority:"low"}),this.on("change:isDirty",n,{priority:"low"}),this._findInputView.template.children[0].children.push(s)}_createAdvancedOptionsCollapsible(){const t=this.locale.t,e=new P(this.locale,[this._matchCaseSwitchView,this._wholeWordsOnlySwitchView]);return e.set({label:t("Advanced options"),isCollapsed:!0}),e}_createActionButtonsDiv(){const t=new g(this.locale);return this._replaceButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replace:e},i)=>e&&i),this._replaceAllButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replaceAll:e},i)=>e&&i),this._replaceButtonView.on("execute",()=>{this.fire("replace",{searchText:this._textToFind,replaceText:this._textToReplace})}),this._replaceAllButtonView.on("execute",()=>{this.fire("replaceAll",{searchText:this._textToFind,replaceText:this._textToReplace}),this.focus()}),this._findButtonView.on("execute",this._onFindButtonExecute.bind(this)),t.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__actions"]},children:[this._replaceAllButtonView,this._replaceButtonView,this._findButtonView]}),t}_createMatchCaseSwitch(){const t=this.locale.t,e=new b(this.locale);return e.set({label:t("Match case"),withText:!0}),e.bind("isOn").to(this,"_matchCase"),e.on("execute",()=>{this._matchCase=!this._matchCase,this.isDirty=!0}),e}_createWholeWordsOnlySwitch(){const t=this.locale.t,e=new b(this.locale);return e.set({label:t("Whole words only"),withText:!0}),e.bind("isOn").to(this,"_wholeWordsOnly"),e.on("execute",()=>{this._wholeWordsOnly=!this._wholeWordsOnly,this.isDirty=!0}),e}_initFocusCycling(){[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView,this._advancedOptionsCollapsibleView.buttonView,this._matchCaseSwitchView,this._wholeWordsOnlySwitchView,this._replaceAllButtonView,this._replaceButtonView,this._findButtonView].forEach(e=>{this._focusables.add(e),this._focusTracker.add(e.element)})}_initKeystrokeHandling(){const t=i=>i.stopPropagation(),e=i=>{i.stopPropagation(),i.preventDefault()};this._keystrokes.listenTo(this.element),this._keystrokes.set("f3",i=>{e(i),this._findNextButtonView.fire("execute")}),this._keystrokes.set("shift+f3",i=>{e(i),this._findPrevButtonView.fire("execute")}),this._keystrokes.set("enter",i=>{const s=i.target;s===this._findInputView.fieldView.element?(this._areCommandsEnabled.findNext?this._findNextButtonView.fire("execute"):this._findButtonView.fire("execute"),e(i)):s===this._replaceInputView.fieldView.element&&!this.isDirty&&(this._replaceButtonView.fire("execute"),e(i))}),this._keystrokes.set("shift+enter",i=>{i.target===this._findInputView.fieldView.element&&(this._areCommandsEnabled.findPrevious?this._findPrevButtonView.fire("execute"):this._findButtonView.fire("execute"),e(i))}),this._keystrokes.set("arrowright",t),this._keystrokes.set("arrowleft",t),this._keystrokes.set("arrowup",t),this._keystrokes.set("arrowdown",t)}_createButton(t){const e=new V(this.locale);return e.set(t),e}_createInputField(t,e){const i=new N(this.locale,M);return i.label=t,i.class=e,i}}class Q extends p{static get requires(){return[T]}static get pluginName(){return"FindAndReplaceUI"}static get isOfficialPlugin(){return!0}formView;constructor(t){super(t),t.config.define("findAndReplace.uiType","dialog"),this.formView=null}init(){const t=this.editor,e=t.config.get("findAndReplace.uiType")==="dropdown",i=t.commands.get("find"),s=this.editor.t;t.ui.componentFactory.add("findAndReplace",()=>{let n;return e?(n=this._createDropdown(),n.bind("isEnabled").to(i)):n=this._createDialogButtonForToolbar(),t.keystrokes.set("Ctrl+F",(o,r)=>{if(i.isEnabled){if(n instanceof v){const h=n.buttonView;h.isOn||h.fire("execute")}else n.isOn?t.plugins.get("Dialog").view.focus():n.fire("execute");r()}}),n}),e||t.ui.componentFactory.add("menuBar:findAndReplace",()=>this._createDialogButtonForMenuBar()),t.accessibility.addKeystrokeInfos({keystrokes:[{label:s("Find in the document"),keystroke:"CTRL+F"}]})}_createDropdown(){const t=this.editor,e=t.locale.t,i=F(t.locale);return i.once("change:isOpen",()=>{this.formView=this._createFormView(),this.formView.children.add(new B(t.locale,{label:e("Find and replace")}),0),i.panelView.children.add(this.formView)}),i.on("change:isOpen",(s,n,o)=>{o?this._setupFormView():this.fire("searchReseted")},{priority:"low"}),i.buttonView.set({icon:w,label:e("Find and replace"),keystroke:"CTRL+F",tooltip:!0}),i}_createDialogButtonForToolbar(){const t=this.editor,e=this._createButton(V),i=t.plugins.get("Dialog");return e.set({tooltip:!0}),e.bind("isOn").to(i,"id",s=>s==="findAndReplace"),e.on("execute",()=>{e.isOn?i.hide():this._showDialog()}),e}_createDialogButtonForMenuBar(){const t=this._createButton(A),e=this.editor.plugins.get("Dialog"),i=this.editor.plugins.get("Dialog");return t.set({role:"menuitemcheckbox",isToggleable:!0}),t.bind("isOn").to(i,"id",s=>s==="findAndReplace"),t.on("execute",()=>{if(e.id==="findAndReplace"){e.hide();return}this._showDialog()}),t}_createButton(t){const e=this.editor,i=e.commands.get("find"),s=new t(e.locale),n=e.locale.t;return s.bind("isEnabled").to(i),s.set({icon:w,label:n("Find and replace"),keystroke:"CTRL+F"}),s}_showDialog(){const t=this.editor,e=t.plugins.get("Dialog"),i=t.locale.t;this.formView||(this.formView=this._createFormView()),e.show({id:"findAndReplace",title:i("Find and replace"),content:this.formView,position:I.EDITOR_TOP_SIDE,onShow:()=>{this._setupFormView()},onHide:()=>{this.fire("searchReseted")}})}_createFormView(){const t=this.editor,e=new(E(z))(t.locale),i=t.commands,n=this.editor.plugins.get("FindAndReplaceEditing").state;e.bind("highlightOffset").to(n,"highlightedOffset"),e.listenTo(n.results,"change",()=>{e.matchCount=n.results.length});const o=i.get("findNext"),r=i.get("findPrevious"),h=i.get("replace"),a=i.get("replaceAll");return e.bind("_areCommandsEnabled").to(o,"isEnabled",r,"isEnabled",h,"isEnabled",a,"isEnabled",(l,d,u,f)=>({findNext:l,findPrevious:d,replace:u,replaceAll:f})),e.delegate("findNext","findPrevious","replace","replaceAll").to(this),e.on("change:isDirty",(l,d,u)=>{u&&this.fire("searchReseted")}),e}_setupFormView(){this.formView.disableCssTransitions(),this.formView.reset(),this.formView._findInputView.fieldView.select(),this.formView.enableCssTransitions()}}class Z extends _{_state;constructor(t,e){super(t),this.isEnabled=!0,this.affectsData=!1,this._state=e}execute(t,{matchCase:e,wholeWords:i}={}){const{editor:s}=this,{model:n}=s,o=s.plugins.get("FindAndReplaceUtils");let r,h="";typeof t=="string"?r=(...d)=>({results:o.findByTextCallback(t,{matchCase:e,wholeWords:i})(...d),searchText:t}):r=t;const a=r;r=(...d)=>{const u=a(...d);return u&&"searchText"in u&&(h=u.searchText),u};const l=n.document.getRootNames().reduce((d,u)=>o.updateFindResultFromRange(n.createRangeIn(n.document.getRoot(u)),n,r,d),null);return this._state.clear(n),this._state.results.addMany(l),this._state.highlightedResult=l.get(0),this._state.searchText=h,r&&(this._state.lastSearchCallback=r),this._state.matchCase=!!e,this._state.matchWholeWords=!!i,{results:l,findCallback:r}}}class J extends $(){constructor(t){super(),this.set("results",new m),this.set("highlightedResult",null),this.set("highlightedOffset",0),this.set("searchText",""),this.set("replaceText",""),this.set("lastSearchCallback",null),this.set("matchCase",!1),this.set("matchWholeWords",!1),this.results.on("change",(e,{removed:i,index:s})=>{if(Array.from(i).length){let n=!1;if(t.change(o=>{for(const r of i)this.highlightedResult===r&&(n=!0),t.markers.has(r.marker.name)&&o.removeMarker(r.marker)}),n){const o=s>=this.results.length?0:s;this.highlightedResult=this.results.get(o)}}}),this.on("change:highlightedResult",()=>{this.refreshHighlightOffset(t)})}clear(t){this.searchText="",t.change(e=>{if(this.highlightedResult){const i=this.highlightedResult.marker.name.split(":")[1],s=t.markers.get(`findResultHighlighted:${i}`);s&&e.removeMarker(s)}[...this.results].forEach(({marker:i})=>{e.removeMarker(i)})}),this.results.clear()}refreshHighlightOffset(t){const{highlightedResult:e,results:i}=this;e?this.highlightedOffset=R(t,[...i]).indexOf(e)+1:this.highlightedOffset=0}}function R(c,t){const e={before:-1,same:0,after:1,different:1};return c.document.getRootNames().flatMap(i=>t.filter(s=>s.marker.getStart().root.rootName===i).sort((s,n)=>e[s.marker.getStart().compareWith(n.marker.getStart())]))}class k extends _{_state;constructor(t,e){super(t),this.isEnabled=!0,this._state=e,this._isEnabledBasedOnSelection=!1}_replace(t,e){const{model:i}=this.editor,s=e.marker.getRange();i.canEditAt(s)&&i.change(n=>{if(s.root.rootName==="$graveyard"){this._state.results.remove(e);return}let o={};for(const r of s.getItems())if(r.is("$text")||r.is("$textProxy")){o=r.getAttributes();break}i.insertContent(n.createText(t,o),s),this._state.results.has(e)&&this._state.results.remove(e)})}}class X extends k{execute(t,e){const i=Math.max(this._state.highlightedOffset-1,0);if(this._replace(t,e),this._state.results.length){const s=R(this.editor.model,[...this._state.results]);this._state.highlightedResult=s[i%s.length]}}}class Y extends k{execute(t,e){const{editor:i}=this,{model:s}=i,n=i.plugins.get("FindAndReplaceUtils"),o=e instanceof m?e:s.document.getRootNames().reduce((r,h)=>n.updateFindResultFromRange(s.createRangeIn(s.document.getRoot(h)),s,n.findByTextCallback(e,this._state),r),null);o.length&&s.change(()=>{[...o].forEach(r=>{this._replace(t,r)})})}}class C extends _{_state;constructor(t,e){super(t),this.affectsData=!1,this._state=e,this.isEnabled=!1,this.listenTo(this._state.results,"change",()=>{this.isEnabled=this._state.results.length>1})}refresh(){this.isEnabled=this._state.results.length>1}execute(){const t=this._state.results,e=t.getIndex(this._state.highlightedResult),i=e+1>=t.length?0:e+1;this._state.highlightedResult=this._state.results.get(i)}}class ee extends C{execute(){const e=this._state.results.getIndex(this._state.highlightedResult),i=e-1<0?this._state.results.length-1:e-1;this._state.highlightedResult=this._state.results.get(i)}}class te extends p{static get pluginName(){return"FindAndReplaceUtils"}static get isOfficialPlugin(){return!0}updateFindResultFromRange(t,e,i,s){const n=s||new m,o=r=>n.find(h=>{const{marker:a}=h,l=a.getRange(),d=r.getRange();return l.isEqual(d)});return e.change(r=>{[...t].forEach(({type:h,item:a})=>{if(h==="elementStart"&&e.schema.checkChild(a,"$text")){let l=i({item:a,text:this.rangeToText(e.createRangeIn(a))});if(!l)return;"results"in l&&(l=l.results),l.forEach(d=>{const u=`findResult:${W()}`,f=r.addMarker(u,{usingOperation:!1,affectsData:!1,range:r.createRange(r.createPositionAt(a,d.start),r.createPositionAt(a,d.end))}),y=ie(n,f);o(f)||n.add({id:u,label:d.label,marker:f},y)})}})}),n}rangeToText(t){return Array.from(t.getItems({shallow:!0})).reduce((e,i)=>i.is("$text")||i.is("$textProxy")?e+i.data:`${e}
5
- `,"")}findByTextCallback(t,e){let i="gu";e.matchCase||(i+="i");let s=`(${j(t)})`;if(e.wholeWords){const r="[^a-zA-ZÀ-ɏḀ-ỿ]";new RegExp("^"+r).test(t)||(s=`(^|${r}|_)${s}`),new RegExp(r+"$").test(t)||(s=`${s}(?=_|${r}|$)`)}const n=new RegExp(s,i);function o({text:r}){return[...r.matchAll(n)].map(se)}return o}}function ie(c,t){const e=c.find(({marker:i})=>t.getStart().isBefore(i.getStart()));return e?c.getIndex(e):c.length}function se(c){const t=c.length-1;let e=c.index;return c.length===3&&(e+=c[1].length),{label:c[t],start:e,end:e+c[t].length}}const ne="ck-find-result_selected";class re extends p{static get requires(){return[te]}static get pluginName(){return"FindAndReplaceEditing"}static get isOfficialPlugin(){return!0}state;init(){this.state=new J(this.editor.model),this.set("_isSearchActive",!1),this._defineConverters(),this._defineCommands(),this.listenTo(this.state,"change:highlightedResult",(i,s,n,o)=>{const{model:r}=this.editor;r.change(h=>{if(o){const a=o.marker.name.split(":")[1],l=r.markers.get(`findResultHighlighted:${a}`);l&&h.removeMarker(l)}if(n){const a=n.marker.name.split(":")[1];h.addMarker(`findResultHighlighted:${a}`,{usingOperation:!1,affectsData:!1,range:n.marker.getRange()})}})});/* istanbul ignore next -- @preserve */const e=K(((i,s,n)=>{if(n){const o=this.editor.editing.view.domConverter,r=this.editor.editing.mapper.toViewRange(n.marker.getRange());H({target:o.viewRangeToDom(r),viewportOffset:40})}}).bind(this),32);this.listenTo(this.state,"change:highlightedResult",e,{priority:"low"}),this.listenTo(this.editor,"destroy",e.cancel),this.on("change:_isSearchActive",(i,s,n)=>{n?this.listenTo(this.editor.model.document,"change:data",this._onDocumentChange):this.stopListening(this.editor.model.document,"change:data",this._onDocumentChange)})}find(t,e){return this._isSearchActive=!0,this.editor.execute("find",t,e),this.state.results}stop(){this.state.clear(this.editor.model),this._isSearchActive=!1}_defineCommands(){this.editor.commands.add("find",new Z(this.editor,this.state)),this.editor.commands.add("findNext",new C(this.editor,this.state)),this.editor.commands.add("findPrevious",new ee(this.editor,this.state)),this.editor.commands.add("replace",new X(this.editor,this.state)),this.editor.commands.add("replaceAll",new Y(this.editor,this.state))}_defineConverters(){const{editor:t}=this;t.conversion.for("editingDowncast").markerToHighlight({model:"findResult",view:({markerName:e})=>{const[,i]=e.split(":");return{name:"span",classes:["ck-find-result"],attributes:{"data-find-result":i}}}}),t.conversion.for("editingDowncast").markerToHighlight({model:"findResultHighlighted",view:({markerName:e})=>{const[,i]=e.split(":");return{name:"span",classes:[ne],attributes:{"data-find-result":i}}}})}_onDocumentChange=()=>{const t=new Set,e=new Set,i=this.editor.model,{results:s}=this.state,n=i.document.differ.getChanges(),o=i.document.differ.getChangedMarkers();n.forEach(a=>{a.position&&(a.name==="$text"||a.position.nodeAfter&&i.schema.isInline(a.position.nodeAfter)?(t.add(a.position.parent),[...i.markers.getMarkersAtPosition(a.position)].forEach(l=>{e.add(l.name)})):a.type==="insert"&&a.position.nodeAfter&&t.add(a.position.nodeAfter))}),o.forEach(({name:a,data:{newRange:l}})=>{l&&l.start.root.rootName==="$graveyard"&&e.add(a)}),t.forEach(a=>{[...i.markers.getMarkersIntersectingRange(i.createRangeIn(a))].forEach(d=>e.add(d.name))}),e.forEach(a=>{s.has(a)&&(s.get(a)===this.state.highlightedResult&&(this.state.highlightedResult=null),s.remove(a))});const r=[],h=this.editor.plugins.get("FindAndReplaceUtils");t.forEach(a=>{const l=h.updateFindResultFromRange(i.createRangeOn(a),i,this.state.lastSearchCallback,s);r.push(...l)}),o.forEach(a=>{if(a.data.newRange){const l=h.updateFindResultFromRange(a.data.newRange,i,this.state.lastSearchCallback,s);r.push(...l)}}),!this.state.highlightedResult&&r.length?this.state.highlightedResult=r[0]:this.state.refreshHighlightOffset(i)}}class ue extends p{static get requires(){return[re,Q]}static get pluginName(){return"FindAndReplace"}static get isOfficialPlugin(){return!0}init(){const t=this.editor.plugins.get("FindAndReplaceUI"),e=this.editor.plugins.get("FindAndReplaceEditing"),i=e.state;t.on("findNext",(s,n)=>{n?(i.searchText=n.searchText,e.find(n.searchText,n)):this.editor.execute("findNext")}),t.on("findPrevious",(s,n)=>{n&&i.searchText!==n.searchText?e.find(n.searchText):this.editor.execute("findPrevious")}),t.on("replace",(s,n)=>{i.searchText!==n.searchText&&e.find(n.searchText);const o=i.highlightedResult;o&&this.editor.execute("replace",n.replaceText,o)}),t.on("replaceAll",(s,n)=>{i.searchText!==n.searchText&&e.find(n.searchText),this.editor.execute("replaceAll",n.replaceText,i.results)}),t.on("searchReseted",()=>{i.clear(this.editor.model),e.stop()})}}export{ue as FindAndReplace,re as FindAndReplaceEditing,Q as FindAndReplaceUI,te as FindAndReplaceUtils,Z as FindCommand,C as FindNextCommand,ee as FindPreviousCommand,Y as ReplaceAllCommand,X as ReplaceCommand};
4
+ */class z extends g{children;_findInputView;_replaceInputView;_findButtonView;_findPrevButtonView;_findNextButtonView;_advancedOptionsCollapsibleView;_matchCaseSwitchView;_wholeWordsOnlySwitchView;_replaceButtonView;_replaceAllButtonView;_inputsDivView;_actionButtonsDivView;_focusTracker;_keystrokes;_focusables;focusCycler;constructor(t){super(t);const e=t.t;this.children=this.createCollection(),this.set("matchCount",0),this.set("highlightOffset",0),this.set("isDirty",!1),this.set("_areCommandsEnabled",{}),this.set("_resultsCounterText",""),this.set("_matchCase",!1),this.set("_wholeWordsOnly",!1),this.bind("_searchResultsFound").to(this,"matchCount",this,"isDirty",(i,s)=>i>0&&!s),this._findInputView=this._createInputField(e("Find in text…")),this._findPrevButtonView=this._createButton({label:e("Previous result"),class:"ck-button-prev",icon:x,keystroke:"Shift+F3",tooltip:!0}),this._findNextButtonView=this._createButton({label:e("Next result"),class:"ck-button-next",icon:x,keystroke:"F3",tooltip:!0}),this._replaceInputView=this._createInputField(e("Replace with…"),"ck-labeled-field-replace"),this._inputsDivView=this._createInputsDiv(),this._matchCaseSwitchView=this._createMatchCaseSwitch(),this._wholeWordsOnlySwitchView=this._createWholeWordsOnlySwitch(),this._advancedOptionsCollapsibleView=this._createAdvancedOptionsCollapsible(),this._replaceAllButtonView=this._createButton({label:e("Replace all"),class:"ck-button-replaceall",withText:!0}),this._replaceButtonView=this._createButton({label:e("Replace"),class:"ck-button-replace",withText:!0}),this._findButtonView=this._createButton({label:e("Find"),class:"ck-button-find ck-button-action",withText:!0}),this._actionButtonsDivView=this._createActionButtonsDiv(),this._focusTracker=new L,this._keystrokes=new U,this._focusables=new D,this.focusCycler=new O({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this._keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.children.addMany([this._inputsDivView,this._advancedOptionsCollapsibleView,this._actionButtonsDivView]),this.setTemplate({tag:"form",attributes:{class:["ck","ck-find-and-replace-form"],tabindex:"-1"},children:this.children})}render(){super.render(),S({view:this}),this._initFocusCycling(),this._initKeystrokeHandling()}destroy(){super.destroy(),this._focusTracker.destroy(),this._keystrokes.destroy()}focus(t){t===-1?this.focusCycler.focusLast():this.focusCycler.focusFirst()}reset(){this._findInputView.errorText=null,this.isDirty=!0}get _textToFind(){return this._findInputView.fieldView.element.value}get _textToReplace(){return this._replaceInputView.fieldView.element.value}_createInputsDiv(){const t=this.locale,e=t.t,i=new g(t);return this._findInputView.fieldView.on("input",()=>{this.isDirty=!0}),this._findPrevButtonView.delegate("execute").to(this,"findPrevious"),this._findNextButtonView.delegate("execute").to(this,"findNext"),this._findPrevButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",({findPrevious:s})=>s),this._findNextButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",({findNext:s})=>s),this._injectFindResultsCounter(),this._replaceInputView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replace:s},n)=>s&&n),this._replaceInputView.bind("infoText").to(this._replaceInputView,"isEnabled",this._replaceInputView,"isFocused",(s,n)=>s||!n?"":e("Tip: Find some text first in order to replace it.")),i.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__inputs"]},children:[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView]}),i}_onFindButtonExecute(){if(!this._textToFind){const t=this.t;this._findInputView.errorText=t("Text to find must not be empty.");return}this.isDirty=!1,this.fire("findNext",{searchText:this._textToFind,matchCase:this._matchCase,wholeWords:this._wholeWordsOnly})}_injectFindResultsCounter(){const t=this.locale,e=t.t,i=this.bindTemplate,s=new g(this.locale);this.bind("_resultsCounterText").to(this,"highlightOffset",this,"matchCount",(o,r)=>e("%0 of %1",[o,r])),s.setTemplate({tag:"span",attributes:{class:["ck","ck-results-counter",i.if("isDirty","ck-hidden")]},children:[{text:i.to("_resultsCounterText")}]});const n=()=>{const o=this._findInputView.fieldView.element;if(!o||!q(o))return;const r=new G(s.element).width,h=t.uiLanguageDirection==="ltr"?"paddingRight":"paddingLeft";r?o.style[h]=`calc( 2 * var(--ck-spacing-standard) + ${r}px )`:o.style[h]=""};this.on("change:_resultsCounterText",n,{priority:"low"}),this.on("change:isDirty",n,{priority:"low"}),this._findInputView.template.children[0].children.push(s)}_createAdvancedOptionsCollapsible(){const t=this.locale.t,e=new P(this.locale,[this._matchCaseSwitchView,this._wholeWordsOnlySwitchView]);return e.set({label:t("Advanced options"),isCollapsed:!0}),e}_createActionButtonsDiv(){const t=new g(this.locale);return this._replaceButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replace:e},i)=>e&&i),this._replaceAllButtonView.bind("isEnabled").to(this,"_areCommandsEnabled",this,"_searchResultsFound",({replaceAll:e},i)=>e&&i),this._replaceButtonView.on("execute",()=>{this.fire("replace",{searchText:this._textToFind,replaceText:this._textToReplace})}),this._replaceAllButtonView.on("execute",()=>{this.fire("replaceAll",{searchText:this._textToFind,replaceText:this._textToReplace}),this.focus()}),this._findButtonView.on("execute",this._onFindButtonExecute.bind(this)),t.setTemplate({tag:"div",attributes:{class:["ck","ck-find-and-replace-form__actions"]},children:[this._replaceAllButtonView,this._replaceButtonView,this._findButtonView]}),t}_createMatchCaseSwitch(){const t=this.locale.t,e=new b(this.locale);return e.set({label:t("Match case"),withText:!0}),e.bind("isOn").to(this,"_matchCase"),e.on("execute",()=>{this._matchCase=!this._matchCase,this.isDirty=!0}),e}_createWholeWordsOnlySwitch(){const t=this.locale.t,e=new b(this.locale);return e.set({label:t("Whole words only"),withText:!0}),e.bind("isOn").to(this,"_wholeWordsOnly"),e.on("execute",()=>{this._wholeWordsOnly=!this._wholeWordsOnly,this.isDirty=!0}),e}_initFocusCycling(){[this._findInputView,this._findPrevButtonView,this._findNextButtonView,this._replaceInputView,this._advancedOptionsCollapsibleView.buttonView,this._matchCaseSwitchView,this._wholeWordsOnlySwitchView,this._replaceAllButtonView,this._replaceButtonView,this._findButtonView].forEach(e=>{this._focusables.add(e),this._focusTracker.add(e.element)})}_initKeystrokeHandling(){const t=i=>i.stopPropagation(),e=i=>{i.stopPropagation(),i.preventDefault()};this._keystrokes.listenTo(this.element),this._keystrokes.set("f3",i=>{e(i),this._findNextButtonView.fire("execute")}),this._keystrokes.set("shift+f3",i=>{e(i),this._findPrevButtonView.fire("execute")}),this._keystrokes.set("enter",i=>{const s=i.target;s===this._findInputView.fieldView.element?(this._areCommandsEnabled.findNext?this._findNextButtonView.fire("execute"):this._findButtonView.fire("execute"),e(i)):s===this._replaceInputView.fieldView.element&&!this.isDirty&&(this._replaceButtonView.fire("execute"),e(i))}),this._keystrokes.set("shift+enter",i=>{i.target===this._findInputView.fieldView.element&&(this._areCommandsEnabled.findPrevious?this._findPrevButtonView.fire("execute"):this._findButtonView.fire("execute"),e(i))}),this._keystrokes.set("arrowright",t),this._keystrokes.set("arrowleft",t),this._keystrokes.set("arrowup",t),this._keystrokes.set("arrowdown",t)}_createButton(t){const e=new V(this.locale);return e.set(t),e}_createInputField(t,e){const i=new M(this.locale,N);return i.label=t,i.class=e,i}}class Q extends p{static get requires(){return[T]}static get pluginName(){return"FindAndReplaceUI"}static get isOfficialPlugin(){return!0}formView;constructor(t){super(t),t.config.define("findAndReplace.uiType","dialog"),this.formView=null}init(){const t=this.editor,e=t.config.get("findAndReplace.uiType")==="dropdown",i=t.commands.get("find"),s=this.editor.t;t.ui.componentFactory.add("findAndReplace",()=>{let n;return e?(n=this._createDropdown(),n.bind("isEnabled").to(i)):n=this._createDialogButtonForToolbar(),t.keystrokes.set("Ctrl+F",(o,r)=>{if(i.isEnabled){if(n instanceof F){const h=n.buttonView;h.isOn||h.fire("execute")}else n.isOn?t.plugins.get("Dialog").view.focus():n.fire("execute");r()}}),n}),e||t.ui.componentFactory.add("menuBar:findAndReplace",()=>this._createDialogButtonForMenuBar()),t.accessibility.addKeystrokeInfos({keystrokes:[{label:s("Find in the document"),keystroke:"CTRL+F"}]})}_createDropdown(){const t=this.editor,e=t.locale.t,i=v(t.locale);return i.once("change:isOpen",()=>{this.formView=this._createFormView(),this.formView.children.add(new B(t.locale,{label:e("Find and replace")}),0),i.panelView.children.add(this.formView)}),i.on("change:isOpen",(s,n,o)=>{o?this._setupFormView():this.fire("searchReseted")},{priority:"low"}),i.buttonView.set({icon:w,label:e("Find and replace"),keystroke:"CTRL+F",tooltip:!0}),i}_createDialogButtonForToolbar(){const t=this.editor,e=this._createButton(V),i=t.plugins.get("Dialog");return e.set({tooltip:!0}),e.bind("isOn").to(i,"id",s=>s==="findAndReplace"),e.on("execute",()=>{e.isOn?i.hide():this._showDialog()}),e}_createDialogButtonForMenuBar(){const t=this._createButton(A),e=this.editor.plugins.get("Dialog"),i=this.editor.plugins.get("Dialog");return t.set({role:"menuitemcheckbox",isToggleable:!0}),t.bind("isOn").to(i,"id",s=>s==="findAndReplace"),t.on("execute",()=>{if(e.id==="findAndReplace"){e.hide();return}this._showDialog()}),t}_createButton(t){const e=this.editor,i=e.commands.get("find"),s=new t(e.locale),n=e.locale.t;return s.bind("isEnabled").to(i),s.set({icon:w,label:n("Find and replace"),keystroke:"CTRL+F"}),s}_showDialog(){const t=this.editor,e=t.plugins.get("Dialog"),i=t.locale.t;this.formView||(this.formView=this._createFormView()),e.show({id:"findAndReplace",title:i("Find and replace"),content:this.formView,position:I.EDITOR_TOP_SIDE,onShow:()=>{this._setupFormView()},onHide:()=>{this.fire("searchReseted")}})}_createFormView(){const t=this.editor,e=new(E(z))(t.locale),i=t.commands,n=this.editor.plugins.get("FindAndReplaceEditing").state;e.bind("highlightOffset").to(n,"highlightedOffset"),e.listenTo(n.results,"change",()=>{e.matchCount=n.results.length});const o=i.get("findNext"),r=i.get("findPrevious"),h=i.get("replace"),a=i.get("replaceAll");return e.bind("_areCommandsEnabled").to(o,"isEnabled",r,"isEnabled",h,"isEnabled",a,"isEnabled",(l,d,u,f)=>({findNext:l,findPrevious:d,replace:u,replaceAll:f})),e.delegate("findNext","findPrevious","replace","replaceAll").to(this),e.on("change:isDirty",(l,d,u)=>{u&&this.fire("searchReseted")}),e}_setupFormView(){this.formView.disableCssTransitions(),this.formView.reset(),this.formView._findInputView.fieldView.select(),this.formView.enableCssTransitions()}}class Z extends _{_state;constructor(t,e){super(t),this.isEnabled=!0,this.affectsData=!1,this._state=e}execute(t,{matchCase:e,wholeWords:i}={}){const{editor:s}=this,{model:n}=s,o=s.plugins.get("FindAndReplaceUtils");let r,h="";typeof t=="string"?r=(...d)=>({results:o.findByTextCallback(t,{matchCase:e,wholeWords:i})(...d),searchText:t}):r=t;const a=r;r=(...d)=>{const u=a(...d);return u&&"searchText"in u&&(h=u.searchText),u};const l=n.document.getRootNames().reduce((d,u)=>o.updateFindResultFromRange(n.createRangeIn(n.document.getRoot(u)),n,r,d),null);return this._state.clear(n),this._state.results.addMany(l),this._state.highlightedResult=l.get(0),this._state.searchText=h,r&&(this._state.lastSearchCallback=r),this._state.matchCase=!!e,this._state.matchWholeWords=!!i,{results:l,findCallback:r}}}class J extends $(){constructor(t){super(),this.set("results",new m),this.set("highlightedResult",null),this.set("highlightedOffset",0),this.set("searchText",""),this.set("replaceText",""),this.set("lastSearchCallback",null),this.set("matchCase",!1),this.set("matchWholeWords",!1),this.results.on("change",(e,{removed:i,index:s})=>{if(Array.from(i).length){let n=!1;if(t.change(o=>{for(const r of i)this.highlightedResult===r&&(n=!0),t.markers.has(r.marker.name)&&o.removeMarker(r.marker)}),n){const o=s>=this.results.length?0:s;this.highlightedResult=this.results.get(o)}}}),this.on("change:highlightedResult",()=>{this.refreshHighlightOffset(t)})}clear(t){this.searchText="",t.change(e=>{if(this.highlightedResult){const i=this.highlightedResult.marker.name.split(":")[1],s=t.markers.get(`findResultHighlighted:${i}`);s&&e.removeMarker(s)}[...this.results].forEach(({marker:i})=>{e.removeMarker(i)})}),this.results.clear()}refreshHighlightOffset(t){const{highlightedResult:e,results:i}=this;e?this.highlightedOffset=R(t,[...i]).indexOf(e)+1:this.highlightedOffset=0}}function R(c,t){const e={before:-1,same:0,after:1,different:1};return c.document.getRootNames().flatMap(i=>t.filter(s=>s.marker.getStart().root.rootName===i).sort((s,n)=>e[s.marker.getStart().compareWith(n.marker.getStart())]))}class k extends _{_state;constructor(t,e){super(t),this.isEnabled=!0,this._state=e,this._isEnabledBasedOnSelection=!1}_replace(t,e){const{model:i}=this.editor,s=e.marker.getRange();i.canEditAt(s)&&i.change(n=>{if(s.root.rootName==="$graveyard"){this._state.results.remove(e);return}let o={};for(const r of s.getItems())if(r.is("$text")||r.is("$textProxy")){o=r.getAttributes();break}i.insertContent(n.createText(t,o),s),this._state.results.has(e)&&this._state.results.remove(e)})}}class X extends k{execute(t,e){const i=Math.max(this._state.highlightedOffset-1,0);if(this._replace(t,e),this._state.results.length){const s=R(this.editor.model,[...this._state.results]);this._state.highlightedResult=s[i%s.length]}}}class Y extends k{execute(t,e){const{editor:i}=this,{model:s}=i,n=i.plugins.get("FindAndReplaceUtils"),o=e instanceof m?e:s.document.getRootNames().reduce((r,h)=>n.updateFindResultFromRange(s.createRangeIn(s.document.getRoot(h)),s,n.findByTextCallback(e,this._state),r),null);o.length&&s.change(()=>{[...o].forEach(r=>{this._replace(t,r)})})}}class C extends _{_state;constructor(t,e){super(t),this.affectsData=!1,this._state=e,this.isEnabled=!1,this.listenTo(this._state.results,"change",()=>{this.isEnabled=this._state.results.length>1})}refresh(){this.isEnabled=this._state.results.length>1}execute(){const t=this._state.results,e=t.getIndex(this._state.highlightedResult),i=e+1>=t.length?0:e+1;this._state.highlightedResult=this._state.results.get(i)}}class ee extends C{execute(){const e=this._state.results.getIndex(this._state.highlightedResult),i=e-1<0?this._state.results.length-1:e-1;this._state.highlightedResult=this._state.results.get(i)}}class te extends p{static get pluginName(){return"FindAndReplaceUtils"}static get isOfficialPlugin(){return!0}updateFindResultFromRange(t,e,i,s){const n=s||new m,o=r=>n.find(h=>{const{marker:a}=h,l=a.getRange(),d=r.getRange();return l.isEqual(d)});return e.change(r=>{[...t].forEach(({type:h,item:a})=>{if(h==="elementStart"&&e.schema.checkChild(a,"$text")){let l=i({item:a,text:this.rangeToText(e.createRangeIn(a))});if(!l)return;"results"in l&&(l=l.results),l.forEach(d=>{const u=`findResult:${W()}`,f=r.addMarker(u,{usingOperation:!1,affectsData:!1,range:r.createRange(r.createPositionAt(a,d.start),r.createPositionAt(a,d.end))}),y=ie(n,f);o(f)||n.add({id:u,label:d.label,marker:f},y)})}})}),n}rangeToText(t){return Array.from(t.getItems({shallow:!0})).reduce((e,i)=>i.is("$text")||i.is("$textProxy")?e+i.data:`${e}
5
+ `,"")}findByTextCallback(t,e){let i="gu";e.matchCase||(i+="i");let s=`(${j(t)})`;if(e.wholeWords){const r="[^a-zA-ZÀ-ɏḀ-ỿ]";new RegExp("^"+r).test(t)||(s=`(^|${r}|_)${s}`),new RegExp(r+"$").test(t)||(s=`${s}(?=_|${r}|$)`)}const n=new RegExp(s,i);function o({text:r}){return[...r.matchAll(n)].map(se)}return o}}function ie(c,t){const e=c.find(({marker:i})=>t.getStart().isBefore(i.getStart()));return e?c.getIndex(e):c.length}function se(c){const t=c.length-1;let e=c.index;return c.length===3&&(e+=c[1].length),{label:c[t],start:e,end:e+c[t].length}}const ne="ck-find-result_selected";class re extends p{static get requires(){return[te]}static get pluginName(){return"FindAndReplaceEditing"}static get isOfficialPlugin(){return!0}state;init(){this.state=new J(this.editor.model),this.set("_isSearchActive",!1),this._defineConverters(),this._defineCommands(),this.listenTo(this.state,"change:highlightedResult",(i,s,n,o)=>{const{model:r}=this.editor;r.change(h=>{if(o){const a=o.marker.name.split(":")[1],l=r.markers.get(`findResultHighlighted:${a}`);l&&h.removeMarker(l)}if(n){const a=n.marker.name.split(":")[1];h.addMarker(`findResultHighlighted:${a}`,{usingOperation:!1,affectsData:!1,range:n.marker.getRange()})}})});/* istanbul ignore next -- @preserve */const e=K(((i,s,n)=>{if(n){const o=this.editor.editing.view.domConverter,r=this.editor.editing.mapper.toViewRange(n.marker.getRange());H({target:o.viewRangeToDom(r),viewportOffset:40})}}).bind(this),32);this.listenTo(this.state,"change:highlightedResult",e,{priority:"low"}),this.listenTo(this.editor,"destroy",e.cancel),this.on("change:_isSearchActive",(i,s,n)=>{n?this.listenTo(this.editor.model.document,"change:data",this._onDocumentChange):this.stopListening(this.editor.model.document,"change:data",this._onDocumentChange)})}find(t,e){return this._isSearchActive=!0,this.editor.execute("find",t,e),this.state.results}stop(){this.state.clear(this.editor.model),this._isSearchActive=!1}_defineCommands(){this.editor.commands.add("find",new Z(this.editor,this.state)),this.editor.commands.add("findNext",new C(this.editor,this.state)),this.editor.commands.add("findPrevious",new ee(this.editor,this.state)),this.editor.commands.add("replace",new X(this.editor,this.state)),this.editor.commands.add("replaceAll",new Y(this.editor,this.state))}_defineConverters(){const{editor:t}=this;t.conversion.for("editingDowncast").markerToHighlight({model:"findResult",view:({markerName:e})=>{const[,i]=e.split(":");return{name:"span",classes:["ck-find-result"],attributes:{"data-find-result":i}}}}),t.conversion.for("editingDowncast").markerToHighlight({model:"findResultHighlighted",view:({markerName:e})=>{const[,i]=e.split(":");return{name:"span",classes:[ne],attributes:{"data-find-result":i}}}})}_onDocumentChange=()=>{const t=new Set,e=new Set,i=this.editor.model,{results:s}=this.state,n=i.document.differ.getChanges(),o=i.document.differ.getChangedMarkers();n.forEach(a=>{a.position&&(a.name==="$text"||a.position.nodeAfter&&i.schema.isInline(a.position.nodeAfter)?(t.add(a.position.parent),[...i.markers.getMarkersAtPosition(a.position)].forEach(l=>{e.add(l.name)})):a.type==="insert"&&a.position.nodeAfter&&t.add(a.position.nodeAfter))}),o.forEach(({name:a,data:{newRange:l}})=>{l&&l.start.root.rootName==="$graveyard"&&e.add(a)}),t.forEach(a=>{[...i.markers.getMarkersIntersectingRange(i.createRangeIn(a))].forEach(d=>e.add(d.name))}),e.forEach(a=>{s.has(a)&&(s.get(a)===this.state.highlightedResult&&(this.state.highlightedResult=null),s.remove(a))});const r=[],h=this.editor.plugins.get("FindAndReplaceUtils");t.forEach(a=>{const l=h.updateFindResultFromRange(i.createRangeOn(a),i,this.state.lastSearchCallback,s);r.push(...l)}),o.forEach(a=>{if(a.data.newRange){const l=h.updateFindResultFromRange(a.data.newRange,i,this.state.lastSearchCallback,s);r.push(...l)}}),!this.state.highlightedResult&&r.length?this.state.highlightedResult=r[0]:this.state.refreshHighlightOffset(i)}}class ue extends p{static get requires(){return[re,Q]}static get pluginName(){return"FindAndReplace"}static get isOfficialPlugin(){return!0}init(){const t=this.editor.plugins.get("FindAndReplaceUI"),e=this.editor.plugins.get("FindAndReplaceEditing"),i=e.state;t.on("findNext",(s,n)=>{n?(i.searchText=n.searchText,e.find(n.searchText,n)):this.editor.execute("findNext")}),t.on("findPrevious",(s,n)=>{n&&i.searchText!==n.searchText?e.find(n.searchText):this.editor.execute("findPrevious")}),t.on("replace",(s,n)=>{i.searchText!==n.searchText&&e.find(n.searchText);const o=i.highlightedResult;o&&this.editor.execute("replace",n.replaceText,o)}),t.on("replaceAll",(s,n)=>{i.searchText!==n.searchText&&e.find(n.searchText),this.editor.execute("replaceAll",n.replaceText,i.results)}),t.on("searchReseted",()=>{i.clear(this.editor.model),e.stop()})}}export{ue as FindAndReplace,re as FindAndReplaceEditing,z as FindAndReplaceFormView,J as FindAndReplaceState,Q as FindAndReplaceUI,te as FindAndReplaceUtils,Z as FindCommand,C as FindNextCommand,ee as FindPreviousCommand,k as FindReplaceCommandBase,Y as ReplaceAllCommand,X as ReplaceCommand,R as _sortFindResultsByMarkerPositions};
@@ -0,0 +1,7 @@
1
+ import{Plugin as h,Command as q}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{createDropdown as O,addListToDropdown as P,MenuBarMenuView as z,MenuBarMenuListView as L,MenuBarMenuListItemView as T,MenuBarMenuListItemButtonView as E,normalizeColorOptions as j,getLocalizedColorOptions as H,focusChildOnDropdownOpen as Y,ColorSelectorView as _,UIModel as D}from"../../../../../@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{CKEditorError as I,Collection as $}from"../../../../../@ckeditor_ckeditor5-utils@46.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{IconFontBackground as W,IconFontColor as Z,IconFontFamily as V,IconFontSize as N}from"../../../../../@ckeditor_ckeditor5-icons@46.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{addBackgroundStylesRules as J,isLengthStyleValue as Q,isPercentageStyleValue as X}from"../../../../../@ckeditor_ckeditor5-engine@46.1.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";/**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */class F extends q{attributeKey;constructor(e,o){super(e),this.attributeKey=o}refresh(){const e=this.editor.model,o=e.document;this.value=o.selection.getAttribute(this.attributeKey),this.isEnabled=e.schema.checkAttributeInSelection(o.selection,this.attributeKey)}execute(e={}){const o=this.editor.model,i=o.document.selection,s=e.value,c=e.batch,l=r=>{if(i.isCollapsed)s?r.setSelectionAttribute(this.attributeKey,s):r.removeSelectionAttribute(this.attributeKey);else{const u=o.schema.getValidRanges(i.getRanges(),this.attributeKey);for(const m of u)s?r.setAttribute(this.attributeKey,s,m):r.removeAttribute(this.attributeKey,m)}};c?o.enqueueChange(c,r=>{l(r)}):o.change(r=>{l(r)})}}const p="fontSize",g="fontFamily",w="fontColor",y="fontBackgroundColor";function U(t,e){const o={model:{key:t,values:[]},view:{},upcastAlso:{}};for(const n of e)o.model.values.push(n.model),o.view[n.model]=n.view,n.upcastAlso&&(o.upcastAlso[n.model]=n.upcastAlso);return o}function R(t){return e=>te(e.getStyle(t))}function G(t){return(e,{writer:o})=>o.createAttributeElement("span",{style:`${t}:${e}`},{priority:7})}function ee({dropdownView:t,colors:e,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:s,documentColorsCount:c,colorPickerViewConfig:l}){const r=t.locale,u=new _(r,{colors:e,columns:o,removeButtonLabel:n,colorPickerLabel:i,documentColorsLabel:s,documentColorsCount:c,colorPickerViewConfig:l});return t.colorSelectorView=u,t.panelView.children.add(u),u}function te(t){return t.replace(/\s/g,"")}class oe extends F{constructor(e){super(e,g)}}/**
5
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
7
+ */function M(t){return t.map(ne).filter(e=>e!==void 0)}function x(t){return t.replace(/["']/g,"").split(",").map(e=>e.trim())}function ne(t){if(typeof t=="object")return t;if(t==="default")return{title:"Default",model:void 0};if(typeof t=="string")return ie(t)}function ie(t){const e=x(t),o=e[0],n=e.map(re).join(", ");return{title:o,model:n,view:{name:"span",styles:{"font-family":n},priority:7}}}function re(t){return t=t.trim(),t.indexOf(" ")>0&&(t=`'${t}'`),t}class se extends h{static get pluginName(){return"FontFamilyEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(g,{options:["default","Arial, Helvetica, sans-serif","Courier New, Courier, monospace","Georgia, serif","Lucida Sans Unicode, Lucida Grande, sans-serif","Tahoma, Geneva, sans-serif","Times New Roman, Times, serif","Trebuchet MS, Helvetica, sans-serif","Verdana, Geneva, sans-serif"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:g}),e.model.schema.setAttributeProperties(g,{isFormatting:!0,copyOnEnter:!0});const o=M(e.config.get("fontFamily.options")).filter(i=>i.model),n=U(g,o);e.config.get("fontFamily.supportAllValues")?(this._prepareAnyValueConverters(),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(n),e.commands.add(g,new oe(e))}_prepareAnyValueConverters(){const e=this.editor;e.conversion.for("downcast").attributeToElement({model:g,view:(o,{writer:n})=>n.createAttributeElement("span",{style:"font-family:"+o},{priority:7})}),e.conversion.for("upcast").elementToAttribute({model:{key:g,value:o=>o.getStyle("font-family")},view:{name:"span",styles:{"font-family":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{face:/.*/}},model:{key:g,value:o=>o.getAttribute("face")}})}}class le extends h{static get pluginName(){return"FontFamilyUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,o=e.t,n=this._getLocalizedOptions(),i=e.commands.get(g),s=o("Font Family"),c=ae(n,i);e.ui.componentFactory.add(g,l=>{const r=O(l);return P(r,c,{role:"menu",ariaLabel:s}),r.buttonView.set({label:s,icon:V,tooltip:!0}),r.extendTemplate({attributes:{class:"ck-font-family-dropdown"}}),r.bind("isEnabled").to(i),this.listenTo(r,"execute",u=>{e.execute(u.source.commandName,{value:u.source.commandParam}),e.editing.view.focus()}),r}),e.ui.componentFactory.add(`menuBar:${g}`,l=>{const r=new z(l);r.buttonView.set({label:s,icon:V}),r.bind("isEnabled").to(i);const u=new L(l);for(const m of c){const a=new T(l,r),d=new E(l);d.set({role:"menuitemradio",isToggleable:!0}),d.bind(...Object.keys(m.model)).to(m.model),d.delegate("execute").to(r),d.on("execute",()=>{e.execute(m.model.commandName,{value:m.model.commandParam}),e.editing.view.focus()}),a.children.add(d),u.items.add(a)}return r.panelView.children.add(u),r})}_getLocalizedOptions(){const e=this.editor,o=e.t;return M(e.config.get(g).options).map(i=>(i.title==="Default"&&(i.title=o("Default")),i))}}function ae(t,e){const o=new $;for(const n of t){const i={type:"button",model:new D({commandName:g,commandParam:n.model,label:n.title,role:"menuitemradio",withText:!0})};i.model.bind("isOn").to(e,"value",s=>{if(s===n.model)return!0;if(!s||!n.model)return!1;const c=x(s)[0].toLowerCase(),l=x(n.model)[0].toLowerCase();return c===l}),n.view&&typeof n.view!="string"&&n.view.styles&&i.model.set("labelStyle",`font-family: ${n.view.styles["font-family"]}`),o.add(i)}return o}class Ne extends h{static get requires(){return[se,le]}static get pluginName(){return"FontFamily"}static get isOfficialPlugin(){return!0}}class ce extends F{constructor(e){super(e,p)}}function A(t){return t.map(e=>ue(e)).filter(e=>e!==void 0)}const k={get tiny(){return{title:"Tiny",model:"tiny",view:{name:"span",classes:"text-tiny",priority:7}}},get small(){return{title:"Small",model:"small",view:{name:"span",classes:"text-small",priority:7}}},get big(){return{title:"Big",model:"big",view:{name:"span",classes:"text-big",priority:7}}},get huge(){return{title:"Huge",model:"huge",view:{name:"span",classes:"text-huge",priority:7}}}};function ue(t){if(typeof t=="number"&&(t=String(t)),typeof t=="object"&&fe(t))return S(t);const e=de(t);if(e)return S(e);if(t==="default")return{model:void 0,title:"Default"};if(!pe(t))return me(t)}function me(t){return typeof t=="string"&&(t={title:t,model:`${parseFloat(t)}px`}),t.view={name:"span",styles:{"font-size":t.model}},S(t)}function S(t){return t.view&&typeof t.view!="string"&&!t.view.priority&&(t.view.priority=7),t}function de(t){return typeof t=="string"?k[t]:k[t.model]}function fe(t){return t.title&&t.model&&t.view}function pe(t){let e;if(typeof t=="object")if(t.model)e=parseFloat(t.model);else throw new I("font-size-invalid-definition",null,t);else e=parseFloat(t);return isNaN(e)}const B=["x-small","x-small","small","medium","large","x-large","xx-large","xxx-large"];class ge extends h{static get pluginName(){return"FontSizeEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(p,{options:["tiny","small","default","big","huge"],supportAllValues:!1})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:p}),e.model.schema.setAttributeProperties(p,{isFormatting:!0,copyOnEnter:!0});const o=e.config.get("fontSize.supportAllValues"),n=A(this.editor.config.get("fontSize.options")).filter(s=>s.model),i=U(p,n);o?(this._prepareAnyValueConverters(i),this._prepareCompatibilityConverter()):e.conversion.attributeToElement(i),e.commands.add(p,new ce(e))}_prepareAnyValueConverters(e){const o=this.editor,n=e.model.values.filter(i=>!Q(String(i))&&!X(String(i)));if(n.length)throw new I("font-size-invalid-use-of-named-presets",null,{presets:n});o.conversion.for("downcast").attributeToElement({model:p,view:(i,{writer:s})=>{if(i)return s.createAttributeElement("span",{style:"font-size:"+i},{priority:7})}}),o.conversion.for("upcast").elementToAttribute({model:{key:p,value:i=>i.getStyle("font-size")},view:{name:"span",styles:{"font-size":/.*/}}})}_prepareCompatibilityConverter(){this.editor.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{size:/^[+-]?\d{1,3}$/}},model:{key:p,value:o=>{const n=o.getAttribute("size"),i=n[0]==="-"||n[0]==="+";let s=parseInt(n,10);i&&(s=3+s);const c=B.length-1,l=Math.min(Math.max(s,0),c);return B[l]}}})}}class be extends h{static get pluginName(){return"FontSizeUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,o=e.t,n=this._getLocalizedOptions(),i=e.commands.get(p),s=o("Font Size"),c=he(n,i);e.ui.componentFactory.add(p,l=>{const r=O(l);return P(r,c,{role:"menu",ariaLabel:s}),r.buttonView.set({label:s,icon:N,tooltip:!0}),r.extendTemplate({attributes:{class:["ck-font-size-dropdown"]}}),r.bind("isEnabled").to(i),this.listenTo(r,"execute",u=>{e.execute(u.source.commandName,{value:u.source.commandParam}),e.editing.view.focus()}),r}),e.ui.componentFactory.add(`menuBar:${p}`,l=>{const r=new z(l);r.buttonView.set({label:s,icon:N}),r.bind("isEnabled").to(i);const u=new L(l);for(const m of c){const a=new T(l,r),d=new E(l);d.set({role:"menuitemradio",isToggleable:!0}),d.bind(...Object.keys(m.model)).to(m.model),d.delegate("execute").to(r),d.on("execute",()=>{e.execute(m.model.commandName,{value:m.model.commandParam}),e.editing.view.focus()}),a.children.add(d),u.items.add(a)}return r.panelView.children.add(u),r})}_getLocalizedOptions(){const e=this.editor,o=e.t,n={Default:o("Default"),Tiny:o("Tiny"),Small:o("Small"),Big:o("Big"),Huge:o("Huge")};return A(e.config.get(p).options).map(s=>{const c=n[s.title];return c&&c!=s.title&&(s=Object.assign({},s,{title:c})),s})}}function he(t,e){const o=new $;for(const n of t){const i={type:"button",model:new D({commandName:p,commandParam:n.model,label:n.title,class:"ck-fontsize-option",role:"menuitemradio",withText:!0})};n.view&&typeof n.view!="string"&&(n.view.styles&&i.model.set("labelStyle",`font-size:${n.view.styles["font-size"]}`),n.view.classes&&i.model.set("class",`${i.model.class} ${n.view.classes}`)),i.model.bind("isOn").to(e,"value",s=>s===n.model),o.add(i)}return o}class ke extends h{static get requires(){return[ge,be]}static get pluginName(){return"FontSize"}static get isOfficialPlugin(){return!0}normalizeSizeOptions(e){return A(e)}}class we extends F{constructor(e){super(e,w)}}class ye extends h{static get pluginName(){return"FontColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(w,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{color:/[\s\S]+/}},model:{key:w,value:R("color")}}),e.conversion.for("upcast").elementToAttribute({view:{name:"font",attributes:{color:/^#?\w+$/}},model:{key:w,value:o=>o.getAttribute("color")}}),e.conversion.for("downcast").attributeToElement({model:w,view:G("color")}),e.commands.add(w,new we(e)),e.model.schema.extend("$text",{allowAttributes:w}),e.model.schema.setAttributeProperties(w,{isFormatting:!0,copyOnEnter:!0})}}class K extends h{commandName;componentName;icon;dropdownLabel;columns;constructor(e,{commandName:o,componentName:n,icon:i,dropdownLabel:s}){super(e),this.commandName=o,this.componentName=n,this.icon=i,this.dropdownLabel=s,this.columns=e.config.get(`${this.componentName}.columns`)}init(){const e=this.editor,o=e.locale,n=o.t,i=e.commands.get(this.commandName),s=e.config.get(this.componentName),c=j(s.colors),l=H(o,c),r=s.documentColors,u=s.colorPicker!==!1;e.ui.componentFactory.add(this.componentName,m=>{const a=O(m);let d=!1;const f=ee({dropdownView:a,colors:l.map(b=>({label:b.label,color:b.model,options:{hasBorder:b.hasBorder}})),columns:this.columns,removeButtonLabel:n("Remove color"),colorPickerLabel:n("Color picker"),documentColorsLabel:r!==0?n("Document colors"):"",documentColorsCount:r===void 0?this.columns:r,colorPickerViewConfig:u?s.colorPicker||{}:!1});return f.bind("selectedColor").to(i,"value"),a.buttonView.set({label:this.dropdownLabel,icon:this.icon,tooltip:!0}),a.extendTemplate({attributes:{class:"ck-color-ui-dropdown"}}),a.bind("isEnabled").to(i),f.on("execute",(b,v)=>{a.isOpen&&e.execute(this.commandName,{value:v.value,batch:this._undoStepBatch}),v.source!=="colorPicker"&&e.editing.view.focus(),v.source==="colorPickerSaveButton"&&(a.isOpen=!1)}),f.on("colorPicker:show",()=>{this._undoStepBatch=e.model.createBatch()}),f.on("colorPicker:cancel",()=>{this._undoStepBatch.operations.length&&(a.isOpen=!1,e.execute("undo",this._undoStepBatch)),e.editing.view.focus()}),a.on("change:isOpen",(b,v,C)=>{d||(d=!0,a.colorSelectorView.appendUI()),C&&(r!==0&&f.updateDocumentColors(e.model,this.componentName),f.updateSelectedColors(),f.showColorGridsFragment())}),Y(a,()=>a.colorSelectorView.colorGridsFragmentView.staticColorsGrid.items.find(b=>b.isOn)),a}),e.ui.componentFactory.add(`menuBar:${this.componentName}`,m=>{const a=new z(m);a.buttonView.set({label:this.dropdownLabel,icon:this.icon}),a.bind("isEnabled").to(i);let d=!1;const f=new _(m,{colors:l.map(b=>({label:b.label,color:b.model,options:{hasBorder:b.hasBorder}})),columns:this.columns,removeButtonLabel:n("Remove color"),colorPickerLabel:n("Color picker"),documentColorsLabel:r!==0?n("Document colors"):"",documentColorsCount:r===void 0?this.columns:r,colorPickerViewConfig:!1});return f.bind("selectedColor").to(i,"value"),f.delegate("execute").to(a),f.on("execute",(b,v)=>{e.execute(this.commandName,{value:v.value,batch:this._undoStepBatch}),e.editing.view.focus()}),a.on("change:isOpen",(b,v,C)=>{d||(d=!0,f.appendUI()),C&&(r!==0&&f.updateDocumentColors(e.model,this.componentName),f.updateSelectedColors(),f.showColorGridsFragment())}),a.panelView.children.add(f),a})}}class ve extends K{constructor(e){const o=e.locale.t;super(e,{commandName:w,componentName:w,icon:Z,dropdownLabel:o("Font Color")})}static get pluginName(){return"FontColorUI"}}class Be extends h{static get requires(){return[ye,ve]}static get pluginName(){return"FontColor"}static get isOfficialPlugin(){return!0}}class Fe extends F{constructor(e){super(e,y)}}class Ce extends h{static get pluginName(){return"FontBackgroundColorEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define(y,{colors:[{color:"hsl(0, 0%, 0%)",label:"Black"},{color:"hsl(0, 0%, 30%)",label:"Dim grey"},{color:"hsl(0, 0%, 60%)",label:"Grey"},{color:"hsl(0, 0%, 90%)",label:"Light grey"},{color:"hsl(0, 0%, 100%)",label:"White",hasBorder:!0},{color:"hsl(0, 75%, 60%)",label:"Red"},{color:"hsl(30, 75%, 60%)",label:"Orange"},{color:"hsl(60, 75%, 60%)",label:"Yellow"},{color:"hsl(90, 75%, 60%)",label:"Light green"},{color:"hsl(120, 75%, 60%)",label:"Green"},{color:"hsl(150, 75%, 60%)",label:"Aquamarine"},{color:"hsl(180, 75%, 60%)",label:"Turquoise"},{color:"hsl(210, 75%, 60%)",label:"Light blue"},{color:"hsl(240, 75%, 60%)",label:"Blue"},{color:"hsl(270, 75%, 60%)",label:"Purple"}],columns:5}),e.data.addStyleProcessorRules(J),e.conversion.for("upcast").elementToAttribute({view:{name:"span",styles:{"background-color":/[\s\S]+/}},model:{key:y,value:R("background-color")}}),e.conversion.for("downcast").attributeToElement({model:y,view:G("background-color")}),e.commands.add(y,new Fe(e)),e.model.schema.extend("$text",{allowAttributes:y}),e.model.schema.setAttributeProperties(y,{isFormatting:!0,copyOnEnter:!0})}}class xe extends K{constructor(e){const o=e.locale.t;super(e,{commandName:y,componentName:y,icon:W,dropdownLabel:o("Font Background Color")})}static get pluginName(){return"FontBackgroundColorUI"}}class Pe extends h{static get requires(){return[Ce,xe]}static get pluginName(){return"FontBackgroundColor"}static get isOfficialPlugin(){return!0}}export{Pe as FontBackgroundColor,Fe as FontBackgroundColorCommand,Ce as FontBackgroundColorEditing,xe as FontBackgroundColorUI,Be as FontColor,we as FontColorCommand,ye as FontColorEditing,ve as FontColorUI,K as FontColorUIBase,F as FontCommand,Ne as FontFamily,oe as FontFamilyCommand,se as FontFamilyEditing,le as FontFamilyUI,ke as FontSize,ce as FontSizeCommand,ge as FontSizeEditing,be as FontSizeUI,ee as _addFontColorSelectorToDropdown,U as _buildFontDefinition,M as _normalizeFontFamilyOptions,A as _normalizeFontSizeOptions,G as _renderDowncastFontElement,R as _renderUpcastFontColorAttribute};
@@ -1,7 +1,7 @@
1
- import{Plugin as f,Command as H}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Paragraph as v}from"../../../../../@ckeditor_ckeditor5-paragraph@45.2.2/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js";import{priorities as E,Collection as V,first as x}from"../../../../../@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{ViewModel as M,createDropdown as C,addListToDropdown as k,MenuBarMenuView as L,MenuBarMenuListView as P,MenuBarMenuListItemView as T,MenuBarMenuListItemButtonView as y}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import"../../../../../@ckeditor_ckeditor5-engine@45.2.2/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";/**
1
+ import{Plugin as f,Command as H}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Paragraph as v}from"../../../../../@ckeditor_ckeditor5-paragraph@46.1.0/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js";import{priorities as E,Collection as V,first as x}from"../../../../../@ckeditor_ckeditor5-utils@46.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{UIModel as C,createDropdown as M,addListToDropdown as k,MenuBarMenuView as L,MenuBarMenuListView as O,MenuBarMenuListItemView as P,MenuBarMenuListItemButtonView as T}from"../../../../../@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import"../../../../../@ckeditor_ckeditor5-engine@46.1.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */class B extends H{modelElements;constructor(e,t){super(e),this.modelElements=t}refresh(){const e=x(this.editor.model.document.selection.getSelectedBlocks());this.value=!!e&&this.modelElements.includes(e.name)&&e.name,this.isEnabled=!!e&&this.modelElements.some(t=>w(e,t,this.editor.model.schema))}execute(e){const t=this.editor.model,r=t.document,s=e.value;t.change(c=>{const l=Array.from(r.selection.getSelectedBlocks()).filter(a=>w(a,s,t.schema));for(const a of l)a.is("element",s)||c.rename(a,s)})}}function w(m,e,t){return t.checkChild(m.parent,e)&&!t.isObject(m)}const b="paragraph";class O extends f{static get pluginName(){return"HeadingEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[v]}init(){const e=this.editor,t=e.config.get("heading.options"),r=[];for(const s of t)s.model!=="paragraph"&&(e.model.schema.register(s.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(s),r.push(s.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new B(e,r))}afterInit(){const e=this.editor,t=e.commands.get("enter"),r=e.config.get("heading.options");t&&this.listenTo(t,"afterExecute",(s,c)=>{const l=e.model.document.selection.getFirstPosition().parent;r.some(g=>l.is("element",g.model))&&!l.is("element",b)&&l.childCount===0&&c.writer.rename(l,b)})}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:E.low+1})}}/**
4
+ */class y extends H{modelElements;constructor(e,t){super(e),this.modelElements=t}refresh(){const e=x(this.editor.model.document.selection.getSelectedBlocks());this.value=!!e&&this.modelElements.includes(e.name)&&e.name,this.isEnabled=!!e&&this.modelElements.some(t=>b(e,t,this.editor.model.schema))}execute(e){const t=this.editor.model,r=t.document,s=e.value;t.change(c=>{const l=Array.from(r.selection.getSelectedBlocks()).filter(a=>b(a,s,t.schema));for(const a of l)a.is("element",s)||c.rename(a,s)})}}function b(m,e,t){return t.checkChild(m.parent,e)&&!t.isObject(m)}const w="paragraph";class B extends f{static get pluginName(){return"HeadingEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[v]}init(){const e=this.editor,t=e.config.get("heading.options"),r=[];for(const s of t)s.model!=="paragraph"&&(e.model.schema.register(s.model,{inheritAllFrom:"$block"}),e.conversion.elementToElement(s),r.push(s.model));this._addDefaultH1Conversion(e),e.commands.add("heading",new y(e,r))}afterInit(){const e=this.editor,t=e.commands.get("enter"),r=e.config.get("heading.options");t&&this.listenTo(t,"afterExecute",(s,c)=>{const l=e.model.document.selection.getFirstPosition().parent;r.some(g=>l.is("element",g.model))&&!l.is("element",w)&&l.childCount===0&&c.writer.rename(l,w)})}_addDefaultH1Conversion(e){e.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:E.low+1})}}/**
5
5
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
6
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
7
- */function N(m){const e=m.t,t={Paragraph:e("Paragraph"),"Heading 1":e("Heading 1"),"Heading 2":e("Heading 2"),"Heading 3":e("Heading 3"),"Heading 4":e("Heading 4"),"Heading 5":e("Heading 5"),"Heading 6":e("Heading 6")};return m.config.get("heading.options").map(r=>{const s=t[r.title];return s&&s!=r.title&&(r.title=s),r})}class I extends f{static get pluginName(){return"HeadingUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,r=N(e),s=t("Choose heading"),c=t("Heading");e.ui.componentFactory.add("heading",l=>{const a={},g=new V,u=e.commands.get("heading"),h=e.commands.get("paragraph"),p=[u];for(const n of r){const i={type:"button",model:new M({label:n.title,class:n.class,role:"menuitemradio",withText:!0})};n.model==="paragraph"?(i.model.bind("isOn").to(h,"value"),i.model.set("commandName","paragraph"),p.push(h)):(i.model.bind("isOn").to(u,"value",d=>d===n.model),i.model.set({commandName:"heading",commandValue:n.model})),g.add(i),a[n.model]=n.title}const o=C(l);return k(o,g,{ariaLabel:c,role:"menu"}),o.buttonView.set({ariaLabel:c,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:c}),o.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),o.bind("isEnabled").toMany(p,"isEnabled",(...n)=>n.some(i=>i)),o.buttonView.bind("label").to(u,"value",h,"value",(n,i)=>{const d=i?"paragraph":n;return typeof d=="boolean"||!a[d]?s:a[d]}),o.buttonView.bind("ariaLabel").to(u,"value",h,"value",(n,i)=>{const d=i?"paragraph":n;return typeof d=="boolean"||!a[d]?c:`${a[d]}, ${c}`}),this.listenTo(o,"execute",n=>{const{commandName:i,commandValue:d}=n.source;e.execute(i,d?{value:d}:void 0),e.editing.view.focus()}),o}),e.ui.componentFactory.add("menuBar:heading",l=>{const a=new L(l),g=e.commands.get("heading"),u=e.commands.get("paragraph"),h=[g],p=new P(l);a.set({class:"ck-heading-dropdown"}),p.set({ariaLabel:t("Heading"),role:"menu"}),a.buttonView.set({label:t("Heading")}),a.panelView.children.add(p);for(const o of r){const n=new T(l,a),i=new y(l);n.children.add(i),p.items.add(n),i.set({isToggleable:!0,label:o.title,role:"menuitemradio",class:o.class}),i.delegate("execute").to(a),i.on("execute",()=>{const d=o.model==="paragraph"?"paragraph":"heading";e.execute(d,{value:o.model}),e.editing.view.focus()}),o.model==="paragraph"?(i.bind("isOn").to(u,"value"),h.push(u)):i.bind("isOn").to(g,"value",d=>d===o.model)}return a.bind("isEnabled").toMany(h,"isEnabled",(...o)=>o.some(n=>n)),a})}}class z extends f{static get requires(){return[O,I]}static get pluginName(){return"Heading"}static get isOfficialPlugin(){return!0}}export{z as Heading,O as HeadingEditing,I as HeadingUI};
7
+ */function I(m){const e=m.t,t={Paragraph:e("Paragraph"),"Heading 1":e("Heading 1"),"Heading 2":e("Heading 2"),"Heading 3":e("Heading 3"),"Heading 4":e("Heading 4"),"Heading 5":e("Heading 5"),"Heading 6":e("Heading 6")};return m.config.get("heading.options").map(r=>{const s=t[r.title];return s&&s!=r.title&&(r.title=s),r})}class N extends f{static get pluginName(){return"HeadingUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=e.t,r=I(e),s=t("Choose heading"),c=t("Heading");e.ui.componentFactory.add("heading",l=>{const a={},g=new V,u=e.commands.get("heading"),h=e.commands.get("paragraph"),p=[u];for(const n of r){const i={type:"button",model:new C({label:n.title,class:n.class,role:"menuitemradio",withText:!0})};n.model==="paragraph"?(i.model.bind("isOn").to(h,"value"),i.model.set("commandName","paragraph"),p.push(h)):(i.model.bind("isOn").to(u,"value",d=>d===n.model),i.model.set({commandName:"heading",commandValue:n.model})),g.add(i),a[n.model]=n.title}const o=M(l);return k(o,g,{ariaLabel:c,role:"menu"}),o.buttonView.set({ariaLabel:c,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:c}),o.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),o.bind("isEnabled").toMany(p,"isEnabled",(...n)=>n.some(i=>i)),o.buttonView.bind("label").to(u,"value",h,"value",(n,i)=>{const d=i?"paragraph":n;return typeof d=="boolean"||!a[d]?s:a[d]}),o.buttonView.bind("ariaLabel").to(u,"value",h,"value",(n,i)=>{const d=i?"paragraph":n;return typeof d=="boolean"||!a[d]?c:`${a[d]}, ${c}`}),this.listenTo(o,"execute",n=>{const{commandName:i,commandValue:d}=n.source;e.execute(i,d?{value:d}:void 0),e.editing.view.focus()}),o}),e.ui.componentFactory.add("menuBar:heading",l=>{const a=new L(l),g=e.commands.get("heading"),u=e.commands.get("paragraph"),h=[g],p=new O(l);a.set({class:"ck-heading-dropdown"}),p.set({ariaLabel:t("Heading"),role:"menu"}),a.buttonView.set({label:t("Heading")}),a.panelView.children.add(p);for(const o of r){const n=new P(l,a),i=new T(l);n.children.add(i),p.items.add(n),i.set({isToggleable:!0,label:o.title,role:"menuitemradio",class:o.class}),i.delegate("execute").to(a),i.on("execute",()=>{const d=o.model==="paragraph"?"paragraph":"heading";e.execute(d,{value:o.model}),e.editing.view.focus()}),o.model==="paragraph"?(i.bind("isOn").to(u,"value"),h.push(u)):i.bind("isOn").to(g,"value",d=>d===o.model)}return a.bind("isEnabled").toMany(h,"isEnabled",(...o)=>o.some(n=>n)),a})}}class $ extends f{static get requires(){return[B,N]}static get pluginName(){return"Heading"}static get isOfficialPlugin(){return!0}}export{$ as Heading,y as HeadingCommand,B as HeadingEditing,N as HeadingUI,I as _getLocalizedHeadingOptions};
@@ -0,0 +1,4 @@
1
+ import{Plugin as w,Command as V}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconEraser as k,IconMarker as x,IconPen as B}from"../../../../../@ckeditor_ckeditor5-icons@46.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as y,createDropdown as E,addToolbarToDropdown as H,MenuBarMenuView as M,MenuBarMenuListView as A,MenuBarMenuListItemView as f,MenuBarMenuListItemButtonView as v,ListSeparatorView as T,SplitButtonView as I,ToolbarSeparatorView as P}from"../../../../../@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */class O extends V{refresh(){const e=this.editor.model,t=e.document;this.value=t.selection.getAttribute("highlight"),this.isEnabled=e.schema.checkAttributeInSelection(t.selection,"highlight")}execute(e={}){const t=this.editor.model,r=t.document.selection,o=e.value;t.change(i=>{if(r.isCollapsed){const s=r.getFirstPosition();if(r.hasAttribute("highlight")){const n=c=>c.item.hasAttribute("highlight")&&c.item.getAttribute("highlight")===this.value,h=s.getLastMatchingPosition(n,{direction:"backward"}),l=s.getLastMatchingPosition(n),u=i.createRange(h,l);!o||this.value===o?(s.isEqual(l)||i.removeAttribute("highlight",u),i.removeSelectionAttribute("highlight")):(s.isEqual(l)||i.setAttribute("highlight",o,u),i.setSelectionAttribute("highlight",o))}else o&&i.setSelectionAttribute("highlight",o)}else{const s=t.schema.getValidRanges(r.getRanges(),"highlight");for(const n of s)o?i.setAttribute("highlight",o,n):i.removeAttribute("highlight",n)}})}}class _ extends w{static get pluginName(){return"HighlightEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("highlight",{options:[{model:"yellowMarker",class:"marker-yellow",title:"Yellow marker",color:"var(--ck-content-highlight-marker-yellow)",type:"marker"},{model:"greenMarker",class:"marker-green",title:"Green marker",color:"var(--ck-content-highlight-marker-green)",type:"marker"},{model:"pinkMarker",class:"marker-pink",title:"Pink marker",color:"var(--ck-content-highlight-marker-pink)",type:"marker"},{model:"blueMarker",class:"marker-blue",title:"Blue marker",color:"var(--ck-content-highlight-marker-blue)",type:"marker"},{model:"redPen",class:"pen-red",title:"Red pen",color:"var(--ck-content-highlight-pen-red)",type:"pen"},{model:"greenPen",class:"pen-green",title:"Green pen",color:"var(--ck-content-highlight-pen-green)",type:"pen"}]})}init(){const e=this.editor;e.model.schema.extend("$text",{allowAttributes:"highlight"});const t=e.config.get("highlight.options");e.conversion.attributeToElement(R(t)),e.commands.add("highlight",new O(e))}}function R(d){const e={model:{key:"highlight",values:[]},view:{}};for(const t of d)e.model.values.push(t.model),e.view[t.model]={name:"mark",classes:t.class};return e}class S extends w{get localizedOptionTitles(){const e=this.editor.t;return{"Yellow marker":e("Yellow marker"),"Green marker":e("Green marker"),"Pink marker":e("Pink marker"),"Blue marker":e("Blue marker"),"Red pen":e("Red pen"),"Green pen":e("Green pen")}}static get pluginName(){return"HighlightUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.config.get("highlight.options");for(const t of e)this._addHighlighterButton(t);this._addRemoveHighlightButton(),this._addDropdown(e),this._addMenuBarButton(e)}_addRemoveHighlightButton(){const e=this.editor.t,t=this.editor.commands.get("highlight");this._addButton("removeHighlight",e("Remove highlight"),k,null,g=>{g.bind("isEnabled").to(t,"isEnabled")})}_addHighlighterButton(e){const t=this.editor.commands.get("highlight");this._addButton("highlight:"+e.model,e.title,b(e.type),e.model,g);function g(r){r.bind("isEnabled").to(t,"isEnabled"),r.bind("isOn").to(t,"value",o=>o===e.model),r.iconView.fillColor=e.color,r.isToggleable=!0}}_addButton(e,t,g,r,o){const i=this.editor;i.ui.componentFactory.add(e,s=>{const n=new y(s),h=this.localizedOptionTitles[t]?this.localizedOptionTitles[t]:t;return n.set({label:h,icon:g,tooltip:!0}),n.on("execute",()=>{i.execute("highlight",{value:r}),i.editing.view.focus()}),o(n),n})}_addDropdown(e){const t=this.editor,g=t.t,r=t.ui.componentFactory,o=e[0],i=e.reduce((s,n)=>(s[n.model]=n,s),{});r.add("highlight",s=>{const n=t.commands.get("highlight"),h=E(s,I),l=h.buttonView;l.set({label:g("Highlight"),tooltip:!0,lastExecuted:o.model,commandValue:o.model,isToggleable:!0}),l.bind("icon").to(n,"value",a=>b(c(a,"type"))),l.bind("color").to(n,"value",a=>c(a,"color")),l.bind("commandValue").to(n,"value",a=>c(a,"model")),l.bind("isOn").to(n,"value",a=>!!a),l.delegate("execute").to(h);const u=()=>{const a=e.map(m=>{const p=r.create("highlight:"+m.model);return this.listenTo(p,"execute",()=>{h.buttonView.set({lastExecuted:m.model})}),p});return a.push(new P),a.push(r.create("removeHighlight")),a};h.bind("isEnabled").to(n,"isEnabled"),H(h,u,{enableActiveItemFocusOnDropdownOpen:!0,ariaLabel:g("Text highlight toolbar")}),C(h),l.on("execute",()=>{t.execute("highlight",{value:l.commandValue})}),this.listenTo(h,"execute",()=>{t.editing.view.focus()});function c(a,m){const p=!a||a===l.lastExecuted?l.lastExecuted:a;return i[p][m]}return h})}_addMenuBarButton(e){const t=this.editor,g=t.t,r=t.commands.get("highlight");t.ui.componentFactory.add("menuBar:highlight",o=>{const i=new M(o);i.buttonView.set({label:g("Highlight"),icon:b("marker")}),i.bind("isEnabled").to(r),i.buttonView.iconView.fillColor="transparent";const s=new A(o);for(const l of e){const u=new f(o,i),c=new v(o);c.set({label:l.title,icon:b(l.type),role:"menuitemradio",isToggleable:!0}),c.iconView.fillColor=l.color,c.delegate("execute").to(i),c.bind("isOn").to(r,"value",a=>a===l.model),c.on("execute",()=>{t.execute("highlight",{value:l.model}),t.editing.view.focus()}),u.children.add(c),s.items.add(u)}s.items.add(new T(o));const n=new f(o,i),h=new v(o);return h.set({label:g("Remove highlight"),icon:k}),h.delegate("execute").to(i),h.on("execute",()=>{t.execute("highlight",{value:null}),t.editing.view.focus()}),n.children.add(h),s.items.add(n),i.panelView.children.add(s),i})}}function C(d){d.buttonView.actionView.iconView.bind("fillColor").to(d.buttonView,"color")}function b(d){return d==="marker"?x:B}class G extends w{static get requires(){return[_,S]}static get pluginName(){return"Highlight"}static get isOfficialPlugin(){return!0}}export{G as Highlight,O as HighlightCommand,_ as HighlightEditing,S as HighlightUI};
@@ -1,4 +1,4 @@
1
- import{Plugin as s,Command as m}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Widget as u,toWidget as d,findOptimalInsertionRange as h}from"../../../../../@ckeditor_ckeditor5-widget@45.2.2/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{IconHorizontalLine as g}from"../../../../../@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as z,MenuBarMenuListItemButtonView as L}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
1
+ import{Plugin as s,Command as m}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Widget as u,toWidget as d,findOptimalInsertionRange as h}from"../../../../../@ckeditor_ckeditor5-widget@46.1.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{IconHorizontalLine as g}from"../../../../../@ckeditor_ckeditor5-icons@46.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as z,MenuBarMenuListItemButtonView as L}from"../../../../../@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */class p extends m{refresh(){const t=this.editor.model,e=t.schema,n=t.document.selection;this.isEnabled=f(n,e,t)}execute(){const t=this.editor.model;t.change(e=>{const n=e.createElement("horizontalLine");t.insertObject(n,null,null,{setSelection:"after"})})}}function f(o,t,e){const n=E(o,e);return t.checkChild(n,"horizontalLine")}function E(o,t){const n=h(o,t).start.parent;return n.isEmpty&&!n.is("element","$root")?n.parent:n}class H extends s{static get pluginName(){return"HorizontalLineEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.model.schema,n=t.t,a=t.conversion;e.register("horizontalLine",{inheritAllFrom:"$blockObject"}),a.for("dataDowncast").elementToElement({model:"horizontalLine",view:(r,{writer:i})=>i.createEmptyElement("hr")}),a.for("editingDowncast").elementToStructure({model:"horizontalLine",view:(r,{writer:i})=>{const c=n("Horizontal line"),l=i.createContainerElement("div",null,i.createEmptyElement("hr"));return i.addClass("ck-horizontal-line",l),i.setCustomProperty("hr",!0,l),b(l,i,c)}}),a.for("upcast").elementToElement({view:"hr",model:"horizontalLine"}),t.commands.add("horizontalLine",new p(t))}}function b(o,t,e){return t.setCustomProperty("horizontalLine",!0,o),d(o,t,{label:e})}class v extends s{static get pluginName(){return"HorizontalLineUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.ui.componentFactory.add("horizontalLine",()=>{const e=this._createButton(z);return e.set({tooltip:!0}),e}),t.ui.componentFactory.add("menuBar:horizontalLine",()=>this._createButton(L))}_createButton(t){const e=this.editor,n=e.locale,a=e.commands.get("horizontalLine"),r=new t(e.locale),i=n.t;return r.set({label:i("Horizontal line"),icon:g}),r.bind("isEnabled").to(a,"isEnabled"),this.listenTo(r,"execute",()=>{e.execute("horizontalLine"),e.editing.view.focus()}),r}}class B extends s{static get requires(){return[H,v,u]}static get pluginName(){return"HorizontalLine"}static get isOfficialPlugin(){return!0}}export{B as HorizontalLine,H as HorizontalLineEditing,v as HorizontalLineUI};
4
+ */class p extends m{refresh(){const t=this.editor.model,e=t.schema,n=t.document.selection;this.isEnabled=f(n,e,t)}execute(){const t=this.editor.model;t.change(e=>{const n=e.createElement("horizontalLine");t.insertObject(n,null,null,{setSelection:"after"})})}}function f(o,t,e){const n=E(o,e);return t.checkChild(n,"horizontalLine")}function E(o,t){const n=h(o,t).start.parent;return n.isEmpty&&!n.is("element","$root")?n.parent:n}class H extends s{static get pluginName(){return"HorizontalLineEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.model.schema,n=t.t,a=t.conversion;e.register("horizontalLine",{inheritAllFrom:"$blockObject"}),a.for("dataDowncast").elementToElement({model:"horizontalLine",view:(r,{writer:i})=>i.createEmptyElement("hr")}),a.for("editingDowncast").elementToStructure({model:"horizontalLine",view:(r,{writer:i})=>{const c=n("Horizontal line"),l=i.createContainerElement("div",null,i.createEmptyElement("hr"));return i.addClass("ck-horizontal-line",l),i.setCustomProperty("hr",!0,l),b(l,i,c)}}),a.for("upcast").elementToElement({view:"hr",model:"horizontalLine"}),t.commands.add("horizontalLine",new p(t))}}function b(o,t,e){return t.setCustomProperty("horizontalLine",!0,o),d(o,t,{label:e})}class v extends s{static get pluginName(){return"HorizontalLineUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.ui.componentFactory.add("horizontalLine",()=>{const e=this._createButton(z);return e.set({tooltip:!0}),e}),t.ui.componentFactory.add("menuBar:horizontalLine",()=>this._createButton(L))}_createButton(t){const e=this.editor,n=e.locale,a=e.commands.get("horizontalLine"),r=new t(e.locale),i=n.t;return r.set({label:i("Horizontal line"),icon:g}),r.bind("isEnabled").to(a,"isEnabled"),this.listenTo(r,"execute",()=>{e.execute("horizontalLine"),e.editing.view.focus()}),r}}class B extends s{static get requires(){return[H,v,u]}static get pluginName(){return"HorizontalLine"}static get isOfficialPlugin(){return!0}}export{B as HorizontalLine,p as HorizontalLineCommand,H as HorizontalLineEditing,v as HorizontalLineUI};
@@ -1,4 +1,4 @@
1
- import{Plugin as f,Command as B}from"../../../../../@ckeditor_ckeditor5-core@45.2.2/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Widget as V,toWidget as S,findOptimalInsertionRange as A}from"../../../../../@ckeditor_ckeditor5-widget@45.2.2/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{ButtonView as P,MenuBarMenuListItemButtonView as T}from"../../../../../@ckeditor_ckeditor5-ui@45.2.2/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{logWarning as I,createElement as b}from"../../../../../@ckeditor_ckeditor5-utils@45.2.2/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{IconHtml as L,IconPencil as C,IconCheck as D,IconCancel as M}from"../../../../../@ckeditor_ckeditor5-icons@45.2.2/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";/**
1
+ import{Plugin as f,Command as B}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Widget as V,toWidget as S,findOptimalInsertionRange as A}from"../../../../../@ckeditor_ckeditor5-widget@46.1.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{ButtonView as P,MenuBarMenuListItemButtonView as T}from"../../../../../@ckeditor_ckeditor5-ui@46.1.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{logWarning as I,createElement as b}from"../../../../../@ckeditor_ckeditor5-utils@46.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{IconHtml as L,IconPencil as C,IconCheck as D,IconCancel as M}from"../../../../../@ckeditor_ckeditor5-icons@46.1.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */class y extends B{refresh(){const e=this.editor.model,i=e.schema,a=e.document.selection,t=H(a);this.isEnabled=O(a,i,e),this.value=t?t.getAttribute("value")||"":null}execute(e){const i=this.editor.model,a=i.document.selection;i.change(t=>{let w;this.value!==null?w=H(a):(w=t.createElement("rawHtml"),i.insertObject(w,null,null,{setSelection:"on"})),t.setAttribute("value",e,w)})}}function O(m,e,i){const a=W(m,i);return e.checkChild(a,"rawHtml")}function W(m,e){const a=A(m,e).start.parent;return a.isEmpty&&!a.is("rootElement")?a.parent:a}function H(m){const e=m.getSelectedElement();return e&&e.is("element","rawHtml")?e:null}class z extends f{_widgetButtonViewReferences=new Set;static get pluginName(){return"HtmlEmbedEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("htmlEmbed",{showPreviews:!1,sanitizeHtml:i=>(I("html-embed-provide-sanitize-function"),{html:i,hasChanged:!1})})}init(){const e=this.editor;e.model.schema.register("rawHtml",{inheritAllFrom:"$blockObject",allowAttributes:["value"]}),e.commands.add("htmlEmbed",new y(e)),this._setupConversion()}_setupConversion(){const e=this.editor,i=e.t,a=e.editing.view,t=this._widgetButtonViewReferences,w=e.config.get("htmlEmbed");this.editor.editing.view.on("render",()=>{for(const o of t){if(o.element&&o.element.isConnected)return;o.destroy(),t.delete(o)}},{priority:"lowest"}),e.data.registerRawContentMatcher({name:"div",classes:"raw-html-embed"}),e.conversion.for("upcast").elementToElement({view:{name:"div",classes:"raw-html-embed"},model:(o,{writer:l})=>l.createElement("rawHtml",{value:o.getCustomProperty("$rawContent")})}),e.conversion.for("dataDowncast").elementToElement({model:"rawHtml",view:(o,{writer:l})=>l.createRawElement("div",{class:"raw-html-embed"},function(s){s.innerHTML=o.getAttribute("value")||""})}),e.conversion.for("editingDowncast").elementToStructure({model:{name:"rawHtml",attributes:["value"]},view:(o,{writer:l})=>{let s,n,c;const r=l.createRawElement("div",{class:"raw-html-embed__content-wrapper"},function(u){s=u,g({editor:e,domElement:u,state:n,props:c}),s.addEventListener("mousedown",()=>{if(n.isEditable){const h=e.model;h.document.selection.getSelectedElement()!==o&&h.change(R=>R.setSelection(o,"on"))}},!0)}),p={makeEditable(){n=Object.assign({},n,{isEditable:!0}),g({domElement:s,editor:e,state:n,props:c}),a.change(u=>{u.setAttribute("data-cke-ignore-events","true",r)}),s.querySelector("textarea").focus()},save(u){u!==n.getRawHtmlValue()?(e.execute("htmlEmbed",u),e.editing.view.focus()):this.cancel()},cancel(){n=Object.assign({},n,{isEditable:!1}),g({domElement:s,editor:e,state:n,props:c}),e.editing.view.focus(),a.change(u=>{u.removeAttribute("data-cke-ignore-events",r)})}};n={showPreviews:w.showPreviews,isEditable:!1,getRawHtmlValue:()=>o.getAttribute("value")||""},c={sanitizeHtml:w.sanitizeHtml,textareaPlaceholder:i("Paste raw HTML here..."),onEditClick(){p.makeEditable()},onSaveClick(u){p.save(u)},onCancelClick(){p.cancel()}};const d=l.createContainerElement("div",{class:"raw-html-embed","data-html-embed-label":i("HTML snippet"),dir:e.locale.uiLanguageDirection},r);return l.setCustomProperty("rawHtmlApi",p,d),l.setCustomProperty("rawHtml",!0,d),S(d,l,{label:i("HTML snippet"),hasSelectionHandle:!0})}});function g({editor:o,domElement:l,state:s,props:n}){l.textContent="";const c=l.ownerDocument;let r;if(s.isEditable){const d={isDisabled:!1,placeholder:n.textareaPlaceholder};r=E({domDocument:c,state:s,props:d}),l.append(r)}else if(s.showPreviews){const d={sanitizeHtml:n.sanitizeHtml};l.append(x({domDocument:c,state:s,props:d,editor:o}))}else{const d={isDisabled:!0,placeholder:n.textareaPlaceholder};l.append(E({domDocument:c,state:s,props:d}))}const p={onEditClick:n.onEditClick,onSaveClick:()=>{n.onSaveClick(r.value)},onCancelClick:n.onCancelClick};l.prepend(k({editor:o,domDocument:c,state:s,props:p}))}function k({editor:o,domDocument:l,state:s,props:n}){const c=b(l,"div",{class:"raw-html-embed__buttons-wrapper"});if(s.isEditable){const r=v(o,"save",n.onSaveClick),p=v(o,"cancel",n.onCancelClick);c.append(r.element,p.element),t.add(r).add(p)}else{const r=v(o,"edit",n.onEditClick);c.append(r.element),t.add(r)}return c}function E({domDocument:o,state:l,props:s}){const n=b(o,"textarea",{placeholder:s.placeholder,class:"ck ck-reset ck-input ck-input-text raw-html-embed__source"});return n.disabled=s.isDisabled,n.value=l.getRawHtmlValue(),n}function x({editor:o,domDocument:l,state:s,props:n}){const c=n.sanitizeHtml(s.getRawHtmlValue()),r=s.getRawHtmlValue().length>0?i("No preview available"):i("Empty snippet content"),p=b(l,"div",{class:"ck ck-reset_all raw-html-embed__preview-placeholder"},r),d=b(l,"div",{class:"raw-html-embed__preview-content",dir:o.locale.contentLanguageDirection}),h=l.createRange().createContextualFragment(c.html);return d.appendChild(h),b(l,"div",{class:"raw-html-embed__preview"},[p,d])}}}function v(m,e,i){const{t:a}=m.locale,t=new P(m.locale),w=m.commands.get("htmlEmbed");return t.set({class:`raw-html-embed__${e}-button`,icon:C,tooltip:!0,tooltipPosition:m.locale.uiLanguageDirection==="rtl"?"e":"w"}),t.render(),e==="edit"?(t.set({icon:C,label:a("Edit source")}),t.bind("isEnabled").to(w)):e==="save"?(t.set({icon:D,label:a("Save changes")}),t.bind("isEnabled").to(w)):t.set({icon:M,label:a("Cancel")}),t.on("execute",i),t}class F extends f{static get pluginName(){return"HtmlEmbedUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,a=e.locale.t;e.ui.componentFactory.add("htmlEmbed",()=>{const t=this._createButton(P);return t.set({tooltip:!0,label:a("Insert HTML")}),t}),e.ui.componentFactory.add("menuBar:htmlEmbed",()=>{const t=this._createButton(T);return t.set({label:a("HTML snippet")}),t})}_createButton(e){const i=this.editor,a=i.commands.get("htmlEmbed"),t=new e(i.locale);return t.set({icon:L}),t.bind("isEnabled").to(a,"isEnabled"),this.listenTo(t,"execute",()=>{i.execute("htmlEmbed"),i.editing.view.focus(),i.editing.view.document.selection.getSelectedElement().getCustomProperty("rawHtmlApi").makeEditable()}),t}}class G extends f{static get requires(){return[z,F,V]}static get pluginName(){return"HtmlEmbed"}static get isOfficialPlugin(){return!0}}export{G as HtmlEmbed,z as HtmlEmbedEditing,F as HtmlEmbedUI};
4
+ */class y extends B{refresh(){const e=this.editor.model,i=e.schema,a=e.document.selection,t=H(a);this.isEnabled=O(a,i,e),this.value=t?t.getAttribute("value")||"":null}execute(e){const i=this.editor.model,a=i.document.selection;i.change(t=>{let w;this.value!==null?w=H(a):(w=t.createElement("rawHtml"),i.insertObject(w,null,null,{setSelection:"on"})),t.setAttribute("value",e,w)})}}function O(m,e,i){const a=W(m,i);return e.checkChild(a,"rawHtml")}function W(m,e){const a=A(m,e).start.parent;return a.isEmpty&&!a.is("rootElement")?a.parent:a}function H(m){const e=m.getSelectedElement();return e&&e.is("element","rawHtml")?e:null}class z extends f{_widgetButtonViewReferences=new Set;static get pluginName(){return"HtmlEmbedEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("htmlEmbed",{showPreviews:!1,sanitizeHtml:i=>(I("html-embed-provide-sanitize-function"),{html:i,hasChanged:!1})})}init(){const e=this.editor;e.model.schema.register("rawHtml",{inheritAllFrom:"$blockObject",allowAttributes:["value"]}),e.commands.add("htmlEmbed",new y(e)),this._setupConversion()}_setupConversion(){const e=this.editor,i=e.t,a=e.editing.view,t=this._widgetButtonViewReferences,w=e.config.get("htmlEmbed");this.editor.editing.view.on("render",()=>{for(const o of t){if(o.element&&o.element.isConnected)return;o.destroy(),t.delete(o)}},{priority:"lowest"}),e.data.registerRawContentMatcher({name:"div",classes:"raw-html-embed"}),e.conversion.for("upcast").elementToElement({view:{name:"div",classes:"raw-html-embed"},model:(o,{writer:l})=>l.createElement("rawHtml",{value:o.getCustomProperty("$rawContent")})}),e.conversion.for("dataDowncast").elementToElement({model:"rawHtml",view:(o,{writer:l})=>l.createRawElement("div",{class:"raw-html-embed"},function(s){s.innerHTML=o.getAttribute("value")||""})}),e.conversion.for("editingDowncast").elementToStructure({model:{name:"rawHtml",attributes:["value"]},view:(o,{writer:l})=>{let s,n,c;const r=l.createRawElement("div",{class:"raw-html-embed__content-wrapper"},function(u){s=u,g({editor:e,domElement:u,state:n,props:c}),s.addEventListener("mousedown",()=>{if(n.isEditable){const h=e.model;h.document.selection.getSelectedElement()!==o&&h.change(R=>R.setSelection(o,"on"))}},!0)}),p={makeEditable(){n=Object.assign({},n,{isEditable:!0}),g({domElement:s,editor:e,state:n,props:c}),a.change(u=>{u.setAttribute("data-cke-ignore-events","true",r)}),s.querySelector("textarea").focus()},save(u){u!==n.getRawHtmlValue()?(e.execute("htmlEmbed",u),e.editing.view.focus()):this.cancel()},cancel(){n=Object.assign({},n,{isEditable:!1}),g({domElement:s,editor:e,state:n,props:c}),e.editing.view.focus(),a.change(u=>{u.removeAttribute("data-cke-ignore-events",r)})}};n={showPreviews:w.showPreviews,isEditable:!1,getRawHtmlValue:()=>o.getAttribute("value")||""},c={sanitizeHtml:w.sanitizeHtml,textareaPlaceholder:i("Paste raw HTML here..."),onEditClick(){p.makeEditable()},onSaveClick(u){p.save(u)},onCancelClick(){p.cancel()}};const d=l.createContainerElement("div",{class:"raw-html-embed","data-html-embed-label":i("HTML snippet"),dir:e.locale.uiLanguageDirection},r);return l.setCustomProperty("rawHtmlApi",p,d),l.setCustomProperty("rawHtml",!0,d),S(d,l,{label:i("HTML snippet"),hasSelectionHandle:!0})}});function g({editor:o,domElement:l,state:s,props:n}){l.textContent="";const c=l.ownerDocument;let r;if(s.isEditable){const d={isDisabled:!1,placeholder:n.textareaPlaceholder};r=E({domDocument:c,state:s,props:d}),l.append(r)}else if(s.showPreviews){const d={sanitizeHtml:n.sanitizeHtml};l.append(x({domDocument:c,state:s,props:d,editor:o}))}else{const d={isDisabled:!0,placeholder:n.textareaPlaceholder};l.append(E({domDocument:c,state:s,props:d}))}const p={onEditClick:n.onEditClick,onSaveClick:()=>{n.onSaveClick(r.value)},onCancelClick:n.onCancelClick};l.prepend(k({editor:o,domDocument:c,state:s,props:p}))}function k({editor:o,domDocument:l,state:s,props:n}){const c=b(l,"div",{class:"raw-html-embed__buttons-wrapper"});if(s.isEditable){const r=v(o,"save",n.onSaveClick),p=v(o,"cancel",n.onCancelClick);c.append(r.element,p.element),t.add(r).add(p)}else{const r=v(o,"edit",n.onEditClick);c.append(r.element),t.add(r)}return c}function E({domDocument:o,state:l,props:s}){const n=b(o,"textarea",{placeholder:s.placeholder,class:"ck ck-reset ck-input ck-input-text raw-html-embed__source"});return n.disabled=s.isDisabled,n.value=l.getRawHtmlValue(),n}function x({editor:o,domDocument:l,state:s,props:n}){const c=n.sanitizeHtml(s.getRawHtmlValue()),r=s.getRawHtmlValue().length>0?i("No preview available"):i("Empty snippet content"),p=b(l,"div",{class:"ck ck-reset_all raw-html-embed__preview-placeholder"},r),d=b(l,"div",{class:"raw-html-embed__preview-content",dir:o.locale.contentLanguageDirection}),h=l.createRange().createContextualFragment(c.html);return d.appendChild(h),b(l,"div",{class:"raw-html-embed__preview"},[p,d])}}}function v(m,e,i){const{t:a}=m.locale,t=new P(m.locale),w=m.commands.get("htmlEmbed");return t.set({class:`raw-html-embed__${e}-button`,icon:C,tooltip:!0,tooltipPosition:m.locale.uiLanguageDirection==="rtl"?"e":"w"}),t.render(),e==="edit"?(t.set({icon:C,label:a("Edit source")}),t.bind("isEnabled").to(w)):e==="save"?(t.set({icon:D,label:a("Save changes")}),t.bind("isEnabled").to(w)):t.set({icon:M,label:a("Cancel")}),t.on("execute",i),t}class F extends f{static get pluginName(){return"HtmlEmbedUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,a=e.locale.t;e.ui.componentFactory.add("htmlEmbed",()=>{const t=this._createButton(P);return t.set({tooltip:!0,label:a("Insert HTML")}),t}),e.ui.componentFactory.add("menuBar:htmlEmbed",()=>{const t=this._createButton(T);return t.set({label:a("HTML snippet")}),t})}_createButton(e){const i=this.editor,a=i.commands.get("htmlEmbed"),t=new e(i.locale);return t.set({icon:L}),t.bind("isEnabled").to(a,"isEnabled"),this.listenTo(t,"execute",()=>{i.execute("htmlEmbed"),i.editing.view.focus(),i.editing.view.document.selection.getSelectedElement().getCustomProperty("rawHtmlApi").makeEditable()}),t}}class G extends f{static get requires(){return[z,F,V]}static get pluginName(){return"HtmlEmbed"}static get isOfficialPlugin(){return!0}}export{G as HtmlEmbed,y as HtmlEmbedCommand,z as HtmlEmbedEditing,F as HtmlEmbedUI};
@@ -0,0 +1,12 @@
1
+ import{Plugin as f}from"../../../../../@ckeditor_ckeditor5-core@46.1.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{logWarning as X,global as R,uid as x,priorities as C,CKEditorError as Q,toArray as k,isValidAttributeName as Y}from"../../../../../@ckeditor_ckeditor5-utils@46.1.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{UpcastWriter as B,HtmlDataProcessor as J,Matcher as M,StylesMap as Z}from"../../../../../@ckeditor_ckeditor5-engine@46.1.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{Widget as ee,toWidget as K}from"../../../../../@ckeditor_ckeditor5-widget@46.1.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{Enter as te}from"../../../../../@ckeditor_ckeditor5-enter@46.1.0/node_modules/@ckeditor/ckeditor5-enter/dist/index.js";import{isEqual as N}from"../../../../../es-toolkit@1.39.5/node_modules/es-toolkit/dist/predicate/isEqual.js";import{mergeWith as re}from"../../../../../es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/mergeWith.js";import{startCase as ie}from"../../../../../es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/string/startCase.js";import{isPlainObject as oe}from"../../../../../es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js";import{cloneDeep as le}from"../../../../../es-toolkit@1.39.5/node_modules/es-toolkit/dist/compat/object/cloneDeep.js";/**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */function p(s,e,t,i){e&&ne(s,e,i),t&&w(s,t,i)}function w(s,e,t){if(e.attributes)for(const[i,r]of Object.entries(e.attributes))s.setAttribute(i,r,t);e.styles&&s.setStyle(e.styles,t),e.classes&&s.addClass(e.classes,t)}function ne(s,e,t){if(e.attributes)for(const[i]of Object.entries(e.attributes))s.removeAttribute(i,t);if(e.styles)for(const i of Object.keys(e.styles))s.removeStyle(i,t);e.classes&&s.removeClass(e.classes,t)}function se(s,e){const t=le(s);let i="attributes";for(i in e)i=="classes"?t[i]=Array.from(new Set([...s[i]||[],...e[i]])):t[i]={...s[i],...e[i]};return t}function v(s,e,t,i,r){const o=e.getAttribute(t),l={};for(const n of["attributes","styles","classes"]){if(n!=i){o&&o[n]&&(l[n]=o[n]);continue}if(i=="classes"){const a=new Set(o&&o.classes||[]);r(a),a.size&&(l[n]=Array.from(a));continue}const m=new Map(Object.entries(o&&o[n]||{}));r(m),m.size&&(l[n]=Object.fromEntries(m))}Object.keys(l).length?e.is("documentSelection")?s.setSelectionAttribute(t,l):s.setAttribute(t,l,e):o&&(e.is("documentSelection")?s.removeSelectionAttribute(t):s.removeAttribute(t,e))}function me(s,e,t){for(const i of e.getItems({shallow:!0})){const r=i.getAttribute(s);r&&r.attributes&&Object.keys(r.attributes).length?Object.keys(r).length>1&&t.setAttribute(s,{attributes:r.attributes},i):t.removeAttribute(s,i)}}function ae(s){return ie(s).replace(/ /g,"")}function b(s){return`html${ae(s)}Attributes`}function V({model:s}){return(e,t)=>t.writer.createElement(s,{htmlContent:e.getCustomProperty("$rawContent")})}function ue(s,{view:e,isInline:t}){const i=s.t;return(r,{writer:o})=>{const l=i("HTML object"),n=P(e,r,o),m=r.getAttribute(b(e));o.addClass("html-object-embed__content",n),m&&w(o,m,n);const a=o.createContainerElement(t?"span":"div",{class:"html-object-embed","data-html-object-embed-label":l},n);return K(a,o,{label:l})}}function P(s,e,t){return t.createRawElement(s,null,(i,r)=>{r.setContentOf(i,e.getAttribute("htmlContent"))})}function ce({view:s,model:e,allowEmpty:t},i){return o=>{o.on(`element:${s}`,(l,n,m)=>{let a=i.processViewAttributes(n.viewItem,m);if(!(!a&&!m.consumable.test(n.viewItem,{name:!0}))){if(a=a||{},m.consumable.consume(n.viewItem,{name:!0}),n.modelRange||(n=Object.assign(n,m.convertChildren(n.viewItem,n.modelCursor))),t&&n.modelRange.isCollapsed&&Object.keys(a).length){const u=m.writer.createElement("htmlEmptyElement");if(!m.safeInsert(u,n.modelCursor))return;const c=m.getSplitParts(u);n.modelRange=m.writer.createRange(n.modelRange.start,m.writer.createPositionAfter(c[c.length-1])),m.updateConversionResult(u,n),r(u,a,m);return}for(const u of n.modelRange.getItems())r(u,a,m)}},{priority:"low"})};function r(o,l,n){if(n.schema.checkAttribute(o,e)){const m=o.getAttribute(e),a=se(l,m||{});n.writer.setAttribute(e,a,o)}}}function j({model:s,view:e},t){return(i,{writer:r,consumable:o})=>{if(!i.hasAttribute(s))return null;const l=r.createContainerElement(e),n=i.getAttribute(s);return o.consume(i,`attribute:${s}`),w(r,n,l),l.getFillerOffset=()=>null,t?K(l,r):l}}function de({priority:s,view:e}){return(t,i)=>{if(!t)return;const{writer:r}=i,o=r.createAttributeElement(e,null,{priority:s});return w(r,t,o),o}}function E({view:s},e){return t=>{t.on(`element:${s}`,(i,r,o)=>{if(!r.modelRange||r.modelRange.isCollapsed)return;const l=e.processViewAttributes(r.viewItem,o);l&&o.writer.setAttribute(b(r.viewItem.name),l,r.modelRange)},{priority:"low"})}}function F({view:s,model:e}){return t=>{t.on(`attribute:${b(s)}:${e}`,(i,r,o)=>{if(!o.consumable.consume(r.item,i.name))return;const{attributeOldValue:l,attributeNewValue:n}=r,m=o.writer,a=o.mapper.toViewElement(r.item);p(m,l,n,a)})}}/**
5
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
7
+ */const L={block:[{model:"codeBlock",view:"pre"},{model:"paragraph",view:"p"},{model:"blockQuote",view:"blockquote"},{model:"listItem",view:"li"},{model:"pageBreak",view:"div"},{model:"rawHtml",view:"div"},{model:"table",view:"table"},{model:"tableRow",view:"tr"},{model:"tableCell",view:"td"},{model:"tableCell",view:"th"},{model:"tableColumnGroup",view:"colgroup"},{model:"tableColumn",view:"col"},{model:"caption",view:"caption"},{model:"caption",view:"figcaption"},{model:"imageBlock",view:"img"},{model:"imageInline",view:"img"},{model:"horizontalLine",view:"hr"},{model:"htmlP",view:"p",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlBlockquote",view:"blockquote",modelSchema:{inheritAllFrom:"$container"}},{model:"htmlTable",view:"table",modelSchema:{allowWhere:"$block",isBlock:!0}},{model:"htmlTbody",view:"tbody",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlThead",view:"thead",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlTfoot",view:"tfoot",modelSchema:{allowIn:"htmlTable",isBlock:!1}},{model:"htmlCaption",view:"caption",modelSchema:{allowIn:"htmlTable",allowChildren:"$text",isBlock:!1}},{model:"htmlColgroup",view:"colgroup",modelSchema:{allowIn:"htmlTable",allowChildren:"col",isBlock:!1}},{model:"htmlCol",view:"col",modelSchema:{allowIn:"htmlColgroup",isBlock:!1}},{model:"htmlTr",view:"tr",modelSchema:{allowIn:["htmlTable","htmlThead","htmlTbody"],isLimit:!0}},{model:"htmlTd",view:"td",modelSchema:{allowIn:"htmlTr",allowContentOf:"$container",isLimit:!0,isBlock:!1}},{model:"htmlTh",view:"th",modelSchema:{allowIn:"htmlTr",allowContentOf:"$container",isLimit:!0,isBlock:!1}},{model:"htmlFigure",view:"figure",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlFigcaption",view:"figcaption",modelSchema:{allowIn:"htmlFigure",allowChildren:"$text",isBlock:!1}},{model:"htmlAddress",view:"address",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlAside",view:"aside",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlMain",view:"main",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlDetails",view:"details",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlSummary",view:"summary",modelSchema:{allowChildren:["htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6","$text"],allowIn:"htmlDetails",isBlock:!1}},{model:"htmlDiv",view:"div",paragraphLikeModel:"htmlDivParagraph",modelSchema:{inheritAllFrom:"$container"}},{model:"htmlFieldset",view:"fieldset",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlLegend",view:"legend",modelSchema:{allowIn:"htmlFieldset",allowChildren:"$text"}},{model:"htmlHeader",view:"header",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlFooter",view:"footer",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlForm",view:"form",modelSchema:{inheritAllFrom:"$container",isBlock:!0}},{model:"htmlHgroup",view:"hgroup",modelSchema:{allowIn:["$root","$container"],allowChildren:["paragraph","htmlP","htmlH1","htmlH2","htmlH3","htmlH4","htmlH5","htmlH6"],isBlock:!1}},{model:"htmlH1",view:"h1",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH2",view:"h2",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH3",view:"h3",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH4",view:"h4",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH5",view:"h5",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlH6",view:"h6",modelSchema:{inheritAllFrom:"$block"}},{model:"$htmlList",modelSchema:{allowWhere:"$container",allowChildren:["$htmlList","htmlLi"],isBlock:!1}},{model:"htmlDir",view:"dir",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlMenu",view:"menu",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlUl",view:"ul",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlOl",view:"ol",modelSchema:{inheritAllFrom:"$htmlList"}},{model:"htmlLi",view:"li",modelSchema:{allowIn:"$htmlList",allowChildren:"$text",isBlock:!1}},{model:"htmlPre",view:"pre",modelSchema:{inheritAllFrom:"$block"}},{model:"htmlArticle",view:"article",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlSection",view:"section",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlNav",view:"nav",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlDivDl",view:"div",modelSchema:{allowChildren:["htmlDt","htmlDd"],allowIn:"htmlDl"}},{model:"htmlDl",view:"dl",modelSchema:{allowWhere:"$container",allowChildren:["htmlDt","htmlDd","htmlDivDl"],isBlock:!1}},{model:"htmlDt",view:"dt",modelSchema:{allowChildren:"$block",isBlock:!1}},{model:"htmlDd",view:"dd",modelSchema:{allowChildren:"$block",isBlock:!1}},{model:"htmlCenter",view:"center",modelSchema:{inheritAllFrom:"$container",isBlock:!1}},{model:"htmlHr",view:"hr",isEmpty:!0,modelSchema:{inheritAllFrom:"$blockObject"}}],inline:[{model:"htmlLiAttributes",view:"li",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlOlAttributes",view:"ol",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlUlAttributes",view:"ul",appliesToBlock:!0,coupledAttribute:"listItemId"},{model:"htmlFigureAttributes",view:"figure",appliesToBlock:"table"},{model:"htmlTheadAttributes",view:"thead",appliesToBlock:"table"},{model:"htmlTbodyAttributes",view:"tbody",appliesToBlock:"table"},{model:"htmlFigureAttributes",view:"figure",appliesToBlock:"imageBlock"},{model:"htmlAcronym",view:"acronym",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlTt",view:"tt",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlFont",view:"font",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlTime",view:"time",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlVar",view:"var",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBig",view:"big",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSmall",view:"small",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSamp",view:"samp",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlQ",view:"q",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlOutput",view:"output",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlKbd",view:"kbd",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBdi",view:"bdi",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlBdo",view:"bdo",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlAbbr",view:"abbr",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlA",view:"a",priority:5,coupledAttribute:"linkHref",attributeProperties:{isFormatting:!0}},{model:"htmlStrong",view:"strong",coupledAttribute:"bold",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlB",view:"b",coupledAttribute:"bold",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlI",view:"i",coupledAttribute:"italic",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlEm",view:"em",coupledAttribute:"italic",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlS",view:"s",coupledAttribute:"strikethrough",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlDel",view:"del",coupledAttribute:"strikethrough",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlIns",view:"ins",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlU",view:"u",coupledAttribute:"underline",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSub",view:"sub",coupledAttribute:"subscript",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSup",view:"sup",coupledAttribute:"superscript",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlCode",view:"code",coupledAttribute:"code",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlMark",view:"mark",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlSpan",view:"span",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlCite",view:"cite",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlLabel",view:"label",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlDfn",view:"dfn",attributeProperties:{copyOnEnter:!0,isFormatting:!0}},{model:"htmlObject",view:"object",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlIframe",view:"iframe",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlInput",view:"input",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlButton",view:"button",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlTextarea",view:"textarea",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlSelect",view:"select",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlVideo",view:"video",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlEmbed",view:"embed",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlOembed",view:"oembed",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlAudio",view:"audio",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlImg",view:"img",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlCanvas",view:"canvas",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlMeter",view:"meter",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlProgress",view:"progress",isObject:!0,modelSchema:{inheritAllFrom:"$inlineObject"}},{model:"htmlScript",view:"script",modelSchema:{allowWhere:["$text","$block"],isInline:!0}},{model:"htmlStyle",view:"style",modelSchema:{allowWhere:["$text","$block"],isInline:!0}},{model:"htmlCustomElement",view:"$customElement",modelSchema:{allowWhere:["$text","$block"],allowAttributesOf:"$inlineObject",isInline:!0}}]};class S extends f{_definitions=[];static get pluginName(){return"DataSchema"}static get isOfficialPlugin(){return!0}init(){for(const e of L.block)this.registerBlockElement(e);for(const e of L.inline)this.registerInlineElement(e)}registerBlockElement(e){this._definitions.push({...e,isBlock:!0})}registerInlineElement(e){this._definitions.push({...e,isInline:!0})}extendBlockElement(e){this._extendDefinition({...e,isBlock:!0})}extendInlineElement(e){this._extendDefinition({...e,isInline:!0})}getDefinitionsForView(e,t=!1){const i=new Set;for(const r of this._getMatchingViewDefinitions(e)){if(t)for(const o of this._getReferences(r.model))i.add(o);i.add(r)}return i}getDefinitionsForModel(e){return this._definitions.filter(t=>t.model==e)}_getMatchingViewDefinitions(e){return this._definitions.filter(t=>t.view&&he(e,t.view))}*_getReferences(e){const t=["inheritAllFrom","inheritTypesFrom","allowWhere","allowContentOf","allowAttributesOf"],i=this._definitions.filter(r=>r.model==e);for(const{modelSchema:r}of i)if(r)for(const o of t)for(const l of k(r[o]||[])){const n=this._definitions.filter(m=>m.model==l);for(const m of n)l!==e&&(yield*this._getReferences(m.model),yield m)}}_extendDefinition(e){const t=Array.from(this._definitions.entries()).filter(([,i])=>i.model==e.model);if(t.length==0){this._definitions.push(e);return}for(const[i,r]of t)this._definitions[i]=re({},r,e,(o,l)=>Array.isArray(o)?o.concat(l):void 0)}}function he(s,e){return typeof s=="string"?s===e:s instanceof RegExp?s.test(e):!1}class h extends f{_dataSchema;_allowedAttributes;_disallowedAttributes;_allowedElements;_disallowedElements;_dataInitialized;_coupledAttributes;constructor(e){super(e),this._dataSchema=e.plugins.get("DataSchema"),this._allowedAttributes=new M,this._disallowedAttributes=new M,this._allowedElements=new Set,this._disallowedElements=new Set,this._dataInitialized=!1,this._coupledAttributes=null,this._registerElementsAfterInit(),this._registerElementHandlers(),this._registerCoupledAttributesPostFixer(),this._registerAssociatedHtmlAttributesPostFixer()}static get pluginName(){return"DataFilter"}static get isOfficialPlugin(){return!0}static get requires(){return[S,ee]}loadAllowedConfig(e){for(const t of e){const i=t.name||/[\s\S]+/,r=U(t);this.allowElement(i),r.forEach(o=>this.allowAttributes(o))}}loadDisallowedConfig(e){for(const t of e){const i=t.name||/[\s\S]+/,r=U(t);r.length==0?this.disallowElement(i):r.forEach(o=>this.disallowAttributes(o))}}loadAllowedEmptyElementsConfig(e){for(const t of e)this.allowEmptyElement(t)}allowElement(e){for(const t of this._dataSchema.getDefinitionsForView(e,!0))this._addAllowedElement(t),this._coupledAttributes=null}disallowElement(e){for(const t of this._dataSchema.getDefinitionsForView(e,!1))this._disallowedElements.add(t.view)}allowEmptyElement(e){for(const t of this._dataSchema.getDefinitionsForView(e,!0))t.isInline&&this._dataSchema.extendInlineElement({...t,allowEmpty:!0})}allowAttributes(e){this._allowedAttributes.add(e)}disallowAttributes(e){this._disallowedAttributes.add(e)}processViewAttributes(e,t){const{consumable:i}=t;return W(e,this._disallowedAttributes,i),fe(e,W(e,this._allowedAttributes,i))}_addAllowedElement(e){if(!this._allowedElements.has(e)){if(this._allowedElements.add(e),"appliesToBlock"in e&&typeof e.appliesToBlock=="string")for(const t of this._dataSchema.getDefinitionsForModel(e.appliesToBlock))t.isBlock&&this._addAllowedElement(t);this._dataInitialized&&this.editor.data.once("set",()=>{this._fireRegisterEvent(e)},{priority:C.highest+1})}}_registerElementsAfterInit(){this.editor.data.on("init",()=>{this._dataInitialized=!0;for(const e of this._allowedElements)this._fireRegisterEvent(e)},{priority:C.highest+1})}_registerElementHandlers(){this.on("register",(e,t)=>{const i=this.editor.model.schema;if(t.isObject&&!i.isRegistered(t.model))this._registerObjectElement(t);else if(t.isBlock)this._registerBlockElement(t);else if(t.isInline)this._registerInlineElement(t);else throw new Q("data-filter-invalid-definition",null,t);e.stop()},{priority:"lowest"})}_registerCoupledAttributesPostFixer(){const e=this.editor.model,t=e.document.selection;e.document.registerPostFixer(i=>{const r=e.document.differ.getChanges();let o=!1;const l=this._getCoupledAttributesMap();for(const n of r){if(n.type!="attribute"||n.attributeNewValue!==null)continue;const m=l.get(n.attributeKey);if(m)for(const{item:a}of n.range.getWalker())for(const u of m)a.hasAttribute(u)&&(i.removeAttribute(u,a),o=!0)}return o}),this.listenTo(t,"change:attribute",(i,{attributeKeys:r})=>{const o=new Set,l=this._getCoupledAttributesMap();for(const n of r){if(t.hasAttribute(n))continue;const m=l.get(n);if(m)for(const a of m)t.hasAttribute(a)&&o.add(a)}o.size!=0&&e.change(n=>{for(const m of o)n.removeSelectionAttribute(m)})})}_registerAssociatedHtmlAttributesPostFixer(){const e=this.editor.model;e.document.registerPostFixer(t=>{const i=e.document.differ.getChanges();let r=!1;for(const o of i)if(!(o.type!=="insert"||o.name==="$text"))for(const l of o.attributes.keys())!l.startsWith("html")||!l.endsWith("Attributes")||e.schema.checkAttribute(o.name,l)||(t.removeAttribute(l,o.position.nodeAfter),r=!0);return r})}_getCoupledAttributesMap(){if(this._coupledAttributes)return this._coupledAttributes;this._coupledAttributes=new Map;for(const e of this._allowedElements)if(e.coupledAttribute&&e.model){const t=this._coupledAttributes.get(e.coupledAttribute);t?t.push(e.model):this._coupledAttributes.set(e.coupledAttribute,[e.model])}return this._coupledAttributes}_fireRegisterEvent(e){e.view&&this._disallowedElements.has(e.view)||this.fire(e.view?`register:${e.view}`:"register",e)}_registerObjectElement(e){const t=this.editor,i=t.model.schema,r=t.conversion,{view:o,model:l}=e;i.register(l,e.modelSchema);/* istanbul ignore next: paranoid check -- @preserve */o&&(i.extend(e.model,{allowAttributes:[b(o),"htmlContent"]}),t.data.registerRawContentMatcher({name:o}),r.for("upcast").elementToElement({view:o,model:V(e),converterPriority:C.low+2}),r.for("upcast").add(E(e,this)),r.for("editingDowncast").elementToStructure({model:{name:l,attributes:[b(o)]},view:ue(t,e)}),r.for("dataDowncast").elementToElement({model:l,view:(n,{writer:m})=>P(o,n,m)}),r.for("dataDowncast").add(F(e)))}_registerBlockElement(e){const t=this.editor,i=t.model.schema,r=t.conversion,{view:o,model:l}=e;if(!i.isRegistered(e.model)){if(!e.modelSchema||(i.register(e.model,e.modelSchema),!o))return;r.for("upcast").elementToElement({model:l,view:o,converterPriority:C.low+2}),r.for("downcast").elementToElement({model:l,view:(n,{writer:m})=>e.isEmpty?m.createEmptyElement(o):m.createContainerElement(o)})}o&&(i.extend(e.model,{allowAttributes:b(o)}),r.for("upcast").add(E(e,this)),r.for("downcast").add(F(e)))}_registerInlineElement(e){const t=this.editor,i=t.model.schema,r=t.conversion,o=e.model;if(!e.appliesToBlock&&(i.extend("$text",{allowAttributes:o}),e.attributeProperties&&i.setAttributeProperties(o,e.attributeProperties),r.for("upcast").add(ce(e,this)),r.for("downcast").attributeToElement({model:o,view:de(e)}),!!e.allowEmpty)){if(i.setAttributeProperties(o,{copyFromObject:!1}),!i.isRegistered("htmlEmptyElement")){i.register("htmlEmptyElement",{inheritAllFrom:"$inlineObject"});const l=n=>Array.from(n.getAttributeKeys()).some(m=>m.startsWith("html"));t.model.document.registerPostFixer(n=>{const m=t.model.document.differ.getChanges(),a=new Set;for(const u of m)if(u.type!=="remove"){if(u.type==="attribute"&&u.attributeNewValue===null)for(const{item:c}of u.range)c.is("element","htmlEmptyElement")&&!l(c)&&a.add(c);if(u.type==="insert"&&u.position.nodeAfter){const c=u.position.nodeAfter;for(const{item:d}of n.createRangeOn(c))d.is("element","htmlEmptyElement")&&!l(d)&&a.add(d)}}for(const u of a)n.remove(u);return a.size>0})}t.data.htmlProcessor.domConverter.registerInlineObjectMatcher(l=>l.name==e.view&&l.isEmpty&&Array.from(l.getAttributeKeys()).length?{name:!0}:null),r.for("editingDowncast").elementToElement({model:"htmlEmptyElement",view:j(e,!0)}),r.for("dataDowncast").elementToElement({model:"htmlEmptyElement",view:j(e)})}}}function W(s,e,t){const i=e.matchAll(s)||[],r=s.document.stylesProcessor;return i.reduce((o,{match:l})=>{for(const[n,m]of l.attributes||[])if(n=="style"){const a=m,u=r.getRelatedStyles(a).filter(c=>c.split("-").length>a.split("-").length).sort((c,d)=>d.split("-").length-c.split("-").length);for(const c of u)t.consume(s,{styles:[c]})&&o.styles.push(c);t.consume(s,{styles:[a]})&&o.styles.push(a)}else if(n=="class"){const a=m;t.consume(s,{classes:[a]})&&o.classes.push(a)}else t.consume(s,{attributes:[n]})&&o.attributes.push(n);return o},{attributes:[],classes:[],styles:[]})}function fe(s,{attributes:e,classes:t,styles:i}){return!e.length&&!t.length&&!i.length?null:{...e.length&&{attributes:ge(s,e)},...i.length&&{styles:be(s,i)},...t.length&&{classes:t}}}function ge(s,e){const t={};for(const i of e){const r=s.getAttribute(i);r!==void 0&&Y(i)&&(t[i]=r)}return t}function be(s,e){const t=new Z(s.document.stylesProcessor);for(const i of e){const r=s.getStyle(i);r!==void 0&&t.set(i,r)}return Object.fromEntries(t.getStylesEntries())}function D(s,e){const{name:t}=s,i=s[e];return oe(i)?Object.entries(i).map(([r,o])=>({name:t,[e]:{[r]:o}})):Array.isArray(i)?i.map(r=>({name:t,[e]:[r]})):[s]}function U(s){const{name:e,attributes:t,classes:i,styles:r}=s,o=[];return t&&o.push(...D({name:e,attributes:t},"attributes")),i&&o.push(...D({name:e,classes:i},"classes")),r&&o.push(...D({name:e,styles:r},"styles")),o}class pe extends f{static get requires(){return[h]}static get pluginName(){return"CodeBlockElementSupport"}static get isOfficialPlugin(){return!0}init(){if(!this.editor.plugins.has("CodeBlockEditing"))return;const e=this.editor.plugins.get(h);e.on("register:pre",(t,i)=>{if(i.model!=="codeBlock")return;const r=this.editor,o=r.model.schema,l=r.conversion;o.extend("codeBlock",{allowAttributes:["htmlPreAttributes","htmlContentAttributes"]}),l.for("upcast").add(we(e)),l.for("downcast").add(Ae()),t.stop()})}}function we(s){return e=>{e.on("element:code",(t,i,r)=>{const o=i.viewItem,l=o.parent;if(!l||!l.is("element","pre"))return;n(l,"htmlPreAttributes"),n(o,"htmlContentAttributes");function n(m,a){const u=s.processViewAttributes(m,r);u&&r.writer.setAttribute(a,u,i.modelRange)}},{priority:"low"})}}function Ae(){return s=>{s.on("attribute:htmlPreAttributes:codeBlock",(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const{attributeOldValue:r,attributeNewValue:o}=t,n=i.mapper.toViewElement(t.item).parent;p(i.writer,r,o,n)}),s.on("attribute:htmlContentAttributes:codeBlock",(e,t,i)=>{if(!i.consumable.consume(t.item,e.name))return;const{attributeOldValue:r,attributeNewValue:o}=t,l=i.mapper.toViewElement(t.item);p(i.writer,r,o,l)})}}class ve extends f{static get requires(){return[h]}static get pluginName(){return"DualContentModelElementSupport"}static get isOfficialPlugin(){return!0}init(){this.editor.plugins.get(h).on("register",(t,i)=>{const r=i,o=this.editor,l=o.model.schema,n=o.conversion;if(!r.paragraphLikeModel||l.isRegistered(r.model)||l.isRegistered(r.paragraphLikeModel))return;const m={model:r.paragraphLikeModel,view:r.view};l.register(r.model,r.modelSchema),l.register(m.model,{inheritAllFrom:"$block"}),n.for("upcast").elementToElement({view:r.view,model:(a,{writer:u})=>this._hasBlockContent(a)?u.createElement(r.model):u.createElement(m.model),converterPriority:C.low+.5}),n.for("downcast").elementToElement({view:r.view,model:r.model}),this._addAttributeConversion(r),n.for("downcast").elementToElement({view:m.view,model:m.model}),this._addAttributeConversion(m),t.stop()})}_hasBlockContent(e){const t=this.editor.editing.view,i=t.domConverter.blockElements;for(const r of t.createRangeIn(e).getItems())if(r.is("element")&&i.includes(r.name))return!0;return!1}_addAttributeConversion(e){const t=this.editor,i=t.conversion,r=t.plugins.get(h);t.model.schema.extend(e.model,{allowAttributes:b(e.view)}),i.for("upcast").add(E(e,r)),i.for("downcast").add(F(e))}}class ye extends f{static get requires(){return[S,te]}static get pluginName(){return"HeadingElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("HeadingEditing"))return;const t=e.config.get("heading.options");this.registerHeadingElements(e,t)}registerHeadingElements(e,t){const i=e.plugins.get(S),r=[];for(const o of t)"model"in o&&"view"in o&&(i.registerBlockElement({view:o.view,model:o.model}),r.push(o.model));i.extendBlockElement({model:"htmlHgroup",modelSchema:{allowChildren:r}}),i.extendBlockElement({model:"htmlSummary",modelSchema:{allowChildren:r}})}}/**
8
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
9
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
10
+ */function O(s,e,t){const i=s.createRangeOn(e);for(const{item:r}of i.getWalker())if(r.is("element",t))return r}class Ee extends f{static get requires(){return[h]}static get pluginName(){return"ImageElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("ImageInlineEditing")&&!e.plugins.has("ImageBlockEditing"))return;const t=e.model.schema,i=e.conversion,r=e.plugins.get(h);r.on("register:figure",()=>{i.for("upcast").add(ke(r))}),r.on("register:img",(o,l)=>{l.model!=="imageBlock"&&l.model!=="imageInline"||(t.isRegistered("imageBlock")&&t.extend("imageBlock",{allowAttributes:["htmlImgAttributes","htmlFigureAttributes","htmlLinkAttributes"]}),t.isRegistered("imageInline")&&t.extend("imageInline",{allowAttributes:["htmlA","htmlImgAttributes"]}),i.for("upcast").add(Se(r)),i.for("downcast").add(Fe()),e.plugins.has("LinkImage")&&i.for("upcast").add(Ce(r,e)),o.stop())})}}function Se(s){return e=>{e.on("element:img",(t,i,r)=>{if(!i.modelRange)return;const o=i.viewItem,l=s.processViewAttributes(o,r);l&&r.writer.setAttribute("htmlImgAttributes",l,i.modelRange)},{priority:"low"})}}function Ce(s,e){const t=e.plugins.get("ImageUtils");return i=>{i.on("element:a",(r,o,l)=>{const n=o.viewItem;if(!t.findViewImgElement(n))return;const a=o.modelCursor.parent;if(!a.is("element","imageBlock"))return;const u=s.processViewAttributes(n,l);u&&l.writer.setAttribute("htmlLinkAttributes",u,a)},{priority:"low"})}}function ke(s){return e=>{e.on("element:figure",(t,i,r)=>{const o=i.viewItem;if(!i.modelRange||!o.hasClass("image"))return;const l=s.processViewAttributes(o,r);l&&r.writer.setAttribute("htmlFigureAttributes",l,i.modelRange)},{priority:"low"})}}function Fe(){return s=>{e("htmlImgAttributes"),t("img","htmlImgAttributes"),t("figure","htmlFigureAttributes"),t("a","htmlLinkAttributes");function e(i){s.on(`attribute:${i}:imageInline`,(r,o,l)=>{if(!l.consumable.consume(o.item,r.name))return;const{attributeOldValue:n,attributeNewValue:m}=o,a=l.mapper.toViewElement(o.item);p(l.writer,n,m,a)},{priority:"low"})}function t(i,r){s.on(`attribute:${r}:imageBlock`,(o,l,n)=>{if(!n.consumable.test(l.item,o.name))return;const{attributeOldValue:m,attributeNewValue:a}=l,u=n.mapper.toViewElement(l.item),c=O(n.writer,u,i);c&&(p(n.writer,m,a,c),n.consumable.consume(l.item,o.name))},{priority:"low"}),i==="a"&&s.on("attribute:linkHref:imageBlock",(o,l,n)=>{if(!n.consumable.consume(l.item,"attribute:htmlLinkAttributes:imageBlock"))return;const m=n.mapper.toViewElement(l.item),a=O(n.writer,m,"a");w(n.writer,l.item.getAttribute("htmlLinkAttributes"),a)},{priority:"low"})}}}class Oe extends f{static get requires(){return[h]}static get pluginName(){return"MediaEmbedElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("MediaEmbed")||e.config.get("mediaEmbed.previewsInData"))return;const t=e.model.schema,i=e.conversion,r=this.editor.plugins.get(h),o=this.editor.plugins.get(S),l=e.config.get("mediaEmbed.elementName");o.registerBlockElement({model:"media",view:l}),r.on("register:figure",()=>{i.for("upcast").add(Pe(r))}),r.on(`register:${l}`,(n,m)=>{m.model==="media"&&(t.extend("media",{allowAttributes:[b(l),"htmlFigureAttributes"]}),i.for("upcast").add(Te(r,l)),i.for("dataDowncast").add(Ie(l)),n.stop())})}}function Te(s,e){const t=(i,r,o)=>{const l=r.viewItem;n(l,b(e));function n(m,a){const u=s.processViewAttributes(m,o);u&&o.writer.setAttribute(a,u,r.modelRange)}};return i=>{i.on(`element:${e}`,t,{priority:"low"})}}function Pe(s){return e=>{e.on("element:figure",(t,i,r)=>{const o=i.viewItem;if(!i.modelRange||!o.hasClass("media"))return;const l=s.processViewAttributes(o,r);l&&r.writer.setAttribute("htmlFigureAttributes",l,i.modelRange)},{priority:"low"})}}function Ie(s){return e=>{t(s,b(s)),t("figure","htmlFigureAttributes");function t(i,r){e.on(`attribute:${r}:media`,(o,l,n)=>{if(!n.consumable.consume(l.item,o.name))return;const{attributeOldValue:m,attributeNewValue:a}=l,u=n.mapper.toViewElement(l.item),c=O(n.writer,u,i);p(n.writer,m,a,c)})}}}class $e extends f{static get requires(){return[h]}static get pluginName(){return"ScriptElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get(h);e.on("register:script",(t,i)=>{const r=this.editor,o=r.model.schema,l=r.conversion;o.register("htmlScript",i.modelSchema),o.extend("htmlScript",{allowAttributes:["htmlScriptAttributes","htmlContent"],isContent:!0}),r.data.registerRawContentMatcher({name:"script"}),l.for("upcast").elementToElement({view:"script",model:V(i)}),l.for("upcast").add(E(i,e)),l.for("downcast").elementToElement({model:"htmlScript",view:(n,{writer:m})=>P("script",n,m)}),l.for("downcast").add(F(i)),t.stop()})}}const _e=["width","max-width","min-width","height","min-height","max-height"];class De extends f{static get requires(){return[h]}static get pluginName(){return"TableElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("TableEditing"))return;const t=e.model.schema,i=e.conversion,r=e.plugins.get(h),o=e.plugins.get("TableUtils");r.on("register:figure",()=>{i.for("upcast").add(Ve(r))}),r.on("register:table",(l,n)=>{n.model==="table"&&(t.extend("table",{allowAttributes:["htmlTableAttributes","htmlFigureAttributes","htmlTheadAttributes","htmlTbodyAttributes"]}),i.for("upcast").add(Be(r)),i.for("downcast").add(Re()),e.model.document.registerPostFixer(He(e.model,o)),l.stop())})}}function He(s,e){return t=>{const i=s.document.differ.getChanges();let r=!1;for(const o of i){if(o.type!="attribute"||o.attributeKey!="headingRows")continue;const l=o.range.start.nodeAfter,n=l.getAttribute("htmlTheadAttributes"),m=l.getAttribute("htmlTbodyAttributes");n&&!o.attributeNewValue?(t.removeAttribute("htmlTheadAttributes",l),r=!0):m&&o.attributeNewValue==e.getRows(l)&&(t.removeAttribute("htmlTbodyAttributes",l),r=!0)}return r}}function Be(s){return e=>{e.on("element:table",(t,i,r)=>{if(!i.modelRange)return;const o=i.viewItem;l(o,"htmlTableAttributes");for(const n of o.getChildren())n.is("element","thead")&&l(n,"htmlTheadAttributes"),n.is("element","tbody")&&l(n,"htmlTbodyAttributes");function l(n,m){const a=s.processViewAttributes(n,r);a&&r.writer.setAttribute(m,a,i.modelRange)}},{priority:"low"})}}function Ve(s){return e=>{e.on("element:figure",(t,i,r)=>{const o=i.viewItem;if(!i.modelRange||!o.hasClass("table"))return;const l=s.processViewAttributes(o,r);l&&r.writer.setAttribute("htmlFigureAttributes",l,i.modelRange)},{priority:"low"})}}function Re(){return s=>{e("table","htmlTableAttributes"),e("figure","htmlFigureAttributes"),e("thead","htmlTheadAttributes"),e("tbody","htmlTbodyAttributes");function e(t,i){s.on(`attribute:${i}:table`,(r,o,l)=>{if(!l.consumable.test(o.item,r.name))return;const n=l.mapper.toViewElement(o.item),m=O(l.writer,n,t);if(m)if(l.consumable.consume(o.item,r.name),i==="htmlTableAttributes"&&n!==m){const a=q(o.attributeOldValue),u=q(o.attributeNewValue);p(l.writer,a.tableAttributes,u.tableAttributes,m),p(l.writer,a.figureAttributes,u.figureAttributes,n)}else p(l.writer,o.attributeOldValue,o.attributeNewValue,m)})}}}function q(s){const e={},t={...s};if(!s||!("styles"in s))return{figureAttributes:e,tableAttributes:t};t.styles={};for(const[i,r]of Object.entries(s.styles))_e.includes(i)?e.styles={...e.styles,[i]:r}:t.styles={...t.styles,[i]:r};return{figureAttributes:e,tableAttributes:t}}class xe extends f{static get requires(){return[h]}static get pluginName(){return"StyleElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get(h);e.on("register:style",(t,i)=>{const r=this.editor,o=r.model.schema,l=r.conversion;o.register("htmlStyle",i.modelSchema),o.extend("htmlStyle",{allowAttributes:["htmlStyleAttributes","htmlContent"],isContent:!0}),r.data.registerRawContentMatcher({name:"style"}),l.for("upcast").elementToElement({view:"style",model:V(i)}),l.for("upcast").add(E(i,e)),l.for("downcast").elementToElement({model:"htmlStyle",view:(n,{writer:m})=>P("style",n,m)}),l.for("downcast").add(F(i)),t.stop()})}}class Me extends f{static get requires(){return[h]}static get pluginName(){return"ListElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("ListEditing"))return;const t=e.model.schema,i=e.conversion,r=e.plugins.get(h),o=e.plugins.get("ListEditing"),l=e.plugins.get("ListUtils"),n=["ul","ol","li"];o.registerDowncastStrategy({scope:"item",attributeName:"htmlLiAttributes",setAttributeOnDowncast:w}),o.registerDowncastStrategy({scope:"list",attributeName:"htmlUlAttributes",setAttributeOnDowncast:w}),o.registerDowncastStrategy({scope:"list",attributeName:"htmlOlAttributes",setAttributeOnDowncast:w}),r.on("register",(m,a)=>{if(!n.includes(a.view)||(m.stop(),t.checkAttribute("$block","htmlLiAttributes")))return;const u=n.map(c=>b(c));t.extend("$listItem",{allowAttributes:u}),i.for("upcast").add(c=>{c.on("element:ul",H("htmlUlAttributes",r),{priority:"low"}),c.on("element:ol",H("htmlOlAttributes",r),{priority:"low"}),c.on("element:li",H("htmlLiAttributes",r),{priority:"low"})})}),o.on("postFixer",(m,{listNodes:a,writer:u})=>{for(const{node:c,previousNodeInList:d}of a)if(d){if(d.getAttribute("listType")==c.getAttribute("listType")){const g=z(d.getAttribute("listType")),A=d.getAttribute(g);!N(c.getAttribute(g),A)&&u.model.schema.checkAttribute(c,g)&&(u.setAttribute(g,A,c),m.return=!0)}if(d.getAttribute("listItemId")==c.getAttribute("listItemId")){const g=d.getAttribute("htmlLiAttributes");!N(c.getAttribute("htmlLiAttributes"),g)&&u.model.schema.checkAttribute(c,"htmlLiAttributes")&&(u.setAttribute("htmlLiAttributes",g,c),m.return=!0)}}}),o.on("postFixer",(m,{listNodes:a,writer:u})=>{for(const{node:c}of a){const d=c.getAttribute("listType");!l.isNumberedListType(d)&&c.getAttribute("htmlOlAttributes")&&(u.removeAttribute("htmlOlAttributes",c),m.return=!0),l.isNumberedListType(d)&&c.getAttribute("htmlUlAttributes")&&(u.removeAttribute("htmlUlAttributes",c),m.return=!0)}})}afterInit(){const e=this.editor;if(!e.commands.get("indentList"))return;const t=e.commands.get("indentList");this.listenTo(t,"afterExecute",(i,r)=>{e.model.change(o=>{for(const l of r){const n=z(l.getAttribute("listType"));e.model.schema.checkAttribute(l,n)&&o.setAttribute(n,{},l)}})})}}function H(s,e){return(t,i,r)=>{const o=i.viewItem;i.modelRange||Object.assign(i,r.convertChildren(i.viewItem,i.modelCursor));const l=e.processViewAttributes(o,r);for(const n of i.modelRange.getItems({shallow:!0}))n.hasAttribute("listItemId")&&(n.hasAttribute("htmlUlAttributes")||n.hasAttribute("htmlOlAttributes")||r.writer.model.schema.checkAttribute(n,s)&&r.writer.setAttribute(s,l||{},n))}}function z(s){return s==="numbered"||s=="customNumbered"?"htmlOlAttributes":"htmlUlAttributes"}class Ne extends f{static get requires(){return[h]}static get pluginName(){return"HorizontalLineElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;if(!e.plugins.has("HorizontalLineEditing"))return;const t=e.model.schema,i=e.conversion,r=e.plugins.get(h);r.on("register:hr",(o,l)=>{l.model==="horizontalLine"&&(t.extend("horizontalLine",{allowAttributes:["htmlHrAttributes"]}),i.for("upcast").add(E(l,r)),i.for("downcast").add(je()),o.stop())})}}function je(){return s=>{s.on("attribute:htmlHrAttributes:horizontalLine",(e,t,i)=>{if(!i.consumable.test(t.item,e.name))return;const{attributeOldValue:r,attributeNewValue:o}=t,l=i.mapper.toViewElement(t.item),n=O(i.writer,l,"hr");n&&(p(i.writer,r,o,n),i.consumable.consume(t.item,e.name))},{priority:"low"})}}class Le extends f{static get requires(){return[h,S]}static get pluginName(){return"CustomElementSupport"}static get isOfficialPlugin(){return!0}init(){const e=this.editor.plugins.get(h),t=this.editor.plugins.get(S);e.on("register:$customElement",(i,r)=>{i.stop();const o=this.editor,l=o.model.schema,n=o.conversion,m=o.editing.view.domConverter.unsafeElements,a=o.data.htmlProcessor.domConverter.preElements;l.register(r.model,r.modelSchema),l.extend(r.model,{allowAttributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"],isContent:!0}),o.data.htmlProcessor.domConverter.registerRawContentMatcher({name:"template"}),n.for("upcast").elementToElement({view:/.*/,model:(u,c)=>{if(u.name=="$comment"||!We(u.name)||t.getDefinitionsForView(u.name).size)return null;m.includes(u.name)||m.push(u.name),a.includes(u.name)||a.push(u.name);const d=c.writer.createElement(r.model,{htmlElementName:u.name}),g=e.processViewAttributes(u,c);g&&c.writer.setAttribute("htmlCustomElementAttributes",g,d);let A;if(u.is("element","template")&&u.getCustomProperty("$rawContent"))A=u.getCustomProperty("$rawContent");else{const I=new B(u.document).createDocumentFragment(u),$=o.data.htmlProcessor.domConverter.viewToDom(I),_=$.firstChild;for(;_.firstChild;)$.appendChild(_.firstChild);_.remove(),A=o.data.htmlProcessor.htmlWriter.getHtml($)}c.writer.setAttribute("htmlContent",A,d);for(const{item:T}of o.editing.view.createRangeIn(u))c.consumable.consume(T,{name:!0});return d},converterPriority:"low"}),n.for("editingDowncast").elementToElement({model:{name:r.model,attributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"]},view:(u,{writer:c})=>{const d=u.getAttribute("htmlElementName"),g=c.createRawElement(d);return u.hasAttribute("htmlCustomElementAttributes")&&w(c,u.getAttribute("htmlCustomElementAttributes"),g),g}}),n.for("dataDowncast").elementToElement({model:{name:r.model,attributes:["htmlElementName","htmlCustomElementAttributes","htmlContent"]},view:(u,{writer:c})=>{const d=u.getAttribute("htmlElementName"),g=u.getAttribute("htmlContent"),A=c.createRawElement(d,null,(T,I)=>{I.setContentOf(T,g)});return u.hasAttribute("htmlCustomElementAttributes")&&w(c,u.getAttribute("htmlCustomElementAttributes"),A),A}})})}}function We(s){try{document.createElement(s)}catch{return!1}return!0}class rt extends f{static get pluginName(){return"GeneralHtmlSupport"}static get isOfficialPlugin(){return!0}static get requires(){return[h,pe,ve,ye,Ee,Oe,$e,De,xe,Me,Ne,Le]}init(){const e=this.editor,t=e.plugins.get(h);t.loadAllowedEmptyElementsConfig(e.config.get("htmlSupport.allowEmpty")||[]),t.loadAllowedConfig(e.config.get("htmlSupport.allow")||[]),t.loadDisallowedConfig(e.config.get("htmlSupport.disallow")||[])}afterInit(){this.editor.commands.get("removeFormat")?.registerCustomAttribute(t=>t.startsWith("html")&&t.endsWith("Attributes"),me)}getGhsAttributeNameForElement(e){const t=this.editor.plugins.get("DataSchema"),i=Array.from(t.getDefinitionsForView(e,!1)),r=i.find(o=>o.isInline&&!i[0].isObject);return r?r.model:b(e)}addModelHtmlClass(e,t,i){const r=this.editor.model,o=this.getGhsAttributeNameForElement(e);r.change(l=>{for(const n of y(r,i,o))v(l,n,o,"classes",m=>{for(const a of k(t))m.add(a)})})}removeModelHtmlClass(e,t,i){const r=this.editor.model,o=this.getGhsAttributeNameForElement(e);r.change(l=>{for(const n of y(r,i,o))v(l,n,o,"classes",m=>{for(const a of k(t))m.delete(a)})})}setModelHtmlAttributes(e,t,i){const r=this.editor.model,o=this.getGhsAttributeNameForElement(e);r.change(l=>{for(const n of y(r,i,o))v(l,n,o,"attributes",m=>{for(const[a,u]of Object.entries(t))m.set(a,u)})})}removeModelHtmlAttributes(e,t,i){const r=this.editor.model,o=this.getGhsAttributeNameForElement(e);r.change(l=>{for(const n of y(r,i,o))v(l,n,o,"attributes",m=>{for(const a of k(t))m.delete(a)})})}setModelHtmlStyles(e,t,i){const r=this.editor.model,o=this.getGhsAttributeNameForElement(e);r.change(l=>{for(const n of y(r,i,o))v(l,n,o,"styles",m=>{for(const[a,u]of Object.entries(t))m.set(a,u)})})}removeModelHtmlStyles(e,t,i){const r=this.editor.model,o=this.getGhsAttributeNameForElement(e);r.change(l=>{for(const n of y(r,i,o))v(l,n,o,"styles",m=>{for(const a of k(t))m.delete(a)})})}}function*y(s,e,t){if(e)if(!(Symbol.iterator in e)&&e.is("documentSelection")&&e.isCollapsed)s.schema.checkAttributeInSelection(e,t)&&(yield e);else for(const i of Ue(s,e,t))yield*i.getItems({shallow:!0})}function Ue(s,e,t){return!(Symbol.iterator in e)&&(e.is("node")||e.is("$text")||e.is("$textProxy"))?s.schema.checkAttribute(e,t)?[s.createRangeOn(e)]:[]:s.schema.getValidRanges(s.createSelection(e).getRanges(),t)}class it extends f{static get pluginName(){return"HtmlComment"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,t=new Map;e.data.processor.skipComments=!1,e.model.schema.addAttributeCheck((i,r)=>{if(i.endsWith("$root")&&r.startsWith("$comment"))return!0}),e.conversion.for("upcast").elementToMarker({view:"$comment",model:i=>{const o=`$comment:${x()}`,l=i.getCustomProperty("$rawContent");return t.set(o,l),o}}),e.conversion.for("dataDowncast").markerToElement({model:"$comment",view:(i,{writer:r})=>{let o;for(const a of this.editor.model.document.getRootNames())if(o=this.editor.model.document.getRoot(a),o.hasAttribute(i.markerName))break;const l=i.markerName,n=o.getAttribute(l),m=r.createUIElement("$comment");return r.setCustomProperty("$rawContent",n,m),m}}),e.model.document.registerPostFixer(i=>{let r=!1;const o=e.model.document.differ.getChangedMarkers().filter(l=>l.name.startsWith("$comment:"));for(const l of o){const{oldRange:n,newRange:m}=l.data;if(!(n&&m&&n.root==m.root)){if(n){const a=n.root;a.hasAttribute(l.name)&&(i.removeAttribute(l.name,a),r=!0)}if(m){const a=m.root;a.rootName=="$graveyard"?(i.removeMarker(l.name),r=!0):a.hasAttribute(l.name)||(i.setAttribute(l.name,t.get(l.name)||"",a),r=!0)}}}return r}),e.data.on("set",()=>{for(const i of e.model.markers.getMarkersGroup("$comment"))this.removeHtmlComment(i.name)},{priority:"high"}),e.model.on("deleteContent",(i,[r])=>{for(const o of r.getRanges()){const l=e.model.schema.getLimitElement(o),n=e.model.createPositionAt(l,0),m=e.model.createPositionAt(l,"end");let a;n.isTouching(o.start)&&m.isTouching(o.end)?a=this.getHtmlCommentsInRange(e.model.createRange(n,m)):a=this.getHtmlCommentsInRange(o,{skipBoundaries:!0});for(const u of a)this.removeHtmlComment(u)}},{priority:"high"})}createHtmlComment(e,t){const i=x(),o=this.editor.model,l=o.document.getRoot(e.root.rootName),n=`$comment:${i}`;return o.change(m=>{const a=m.createRange(e);return m.addMarker(n,{usingOperation:!0,affectsData:!0,range:a}),m.setAttribute(n,t,l),n})}removeHtmlComment(e){const t=this.editor,i=t.model.markers.get(e);return i?(t.model.change(r=>{r.removeMarker(i)}),!0):!1}getHtmlCommentData(e){const i=this.editor.model.markers.get(e);if(!i)return null;let r="";for(const o of this.editor.model.document.getRoots())if(o.hasAttribute(e)){r=o.getAttribute(e);break}return{content:r,position:i.getStart()}}getHtmlCommentsInRange(e,{skipBoundaries:t=!1}={}){const i=!t;return Array.from(this.editor.model.markers.getMarkersGroup("$comment")).filter(o=>r(o,e)).map(o=>o.name);function r(o,l){const n=o.getRange().start;return(n.isAfter(l.start)||i&&n.isEqual(l.start))&&(n.isBefore(l.end)||i&&n.isEqual(l.end))}}}class qe extends J{toView(e){if(!/<(?:html|body|head|meta)(?:\s[^>]*)?>/i.test(e.trim().slice(0,1e4)))return super.toView(e);let t="",i="";e=e.trim().replace(/<\?xml\s[^?]*\?>/i,m=>(i=m,"")),e=e.trim().replace(/^<!DOCTYPE\s[^>]*?>/i,m=>(t=m,""));const r=this._toDom(e),o=this.domConverter.domToView(r,{skipComments:this.skipComments}),l=new B(o.document);l.setCustomProperty("$fullPageDocument",r.ownerDocument.documentElement.outerHTML,o);const n=Array.from(r.ownerDocument.querySelectorAll("head style"));return l.setCustomProperty("$fullPageHeadStyles",n,o),t&&l.setCustomProperty("$fullPageDocType",t,o),i&&l.setCustomProperty("$fullPageXmlDeclaration",i,o),o}toData(e){let t=super.toData(e);const i=e.getCustomProperty("$fullPageDocument"),r=e.getCustomProperty("$fullPageDocType"),o=e.getCustomProperty("$fullPageXmlDeclaration");return i&&(t=i.replace(/<\/body\s*>/,t+"$&"),r&&(t=r+`
11
+ `+t),o&&(t=o+`
12
+ `+t)),t}}class ot extends f{static get pluginName(){return"FullPage"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("htmlSupport.fullPage",{allowRenderStylesFromHead:!1,sanitizeCss:t=>(X("css-full-page-provide-sanitize-function"),{css:t,hasChanged:!1})}),e.data.processor=new qe(e.data.viewDocument)}init(){const e=this.editor,t=["$fullPageDocument","$fullPageDocType","$fullPageXmlDeclaration","$fullPageHeadStyles"];e.model.schema.extend("$root",{allowAttributes:t}),e.data.on("toModel",(i,[r])=>{const o=e.model.document.getRoot();e.model.change(l=>{for(const n of t){const m=r.getCustomProperty(n);m&&l.setAttribute(n,m,o)}}),G(e)&&this._renderStylesFromHead(o)},{priority:"low"}),e.data.on("toView",(i,[r])=>{if(!r.is("rootElement"))return;const o=r,l=i.return;if(!o.hasAttribute("$fullPageDocument"))return;const n=new B(l.document);for(const m of t){const a=o.getAttribute(m);a&&n.setCustomProperty(m,a,l)}},{priority:"low"}),e.data.on("set",()=>{const i=e.model.document.getRoot();e.model.change(r=>{for(const o of t)i.hasAttribute(o)&&r.removeAttribute(o,i)})},{priority:"high"}),e.data.on("get",(i,r)=>{r[0]||(r[0]={}),r[0].trim=!1},{priority:"high"})}destroy(){super.destroy(),G(this.editor)&&this._removeStyleElementsFromDom()}_removeStyleElementsFromDom(){const e=Array.from(R.document.querySelectorAll(`[data-full-page-style-id="${this.editor.id}"]`));for(const t of e)t.remove()}_renderStyleElementsInDom(e){const t=this.editor,i=e.getAttribute("$fullPageHeadStyles");if(!i)return;const r=t.config.get("htmlSupport.fullPage.sanitizeCss");for(const o of i){o.setAttribute("data-full-page-style-id",t.id);const l=r(o.innerText);l.hasChanged&&(o.innerText=l.css),R.document.head.append(o)}}_renderStylesFromHead(e){this._removeStyleElementsFromDom(),this._renderStyleElementsInDom(e)}}function G(s){return s.config.get("htmlSupport.fullPage.allowRenderStylesFromHead")}export{pe as CodeBlockElementSupport,Le as CustomElementSupport,h as DataFilter,S as DataSchema,ve as DualContentModelElementSupport,ot as FullPage,rt as GeneralHtmlSupport,ye as HeadingElementSupport,Ne as HorizontalLineElementSupport,it as HtmlComment,qe as HtmlPageDataProcessor,Ee as ImageElementSupport,Me as ListElementSupport,Oe as MediaEmbedElementSupport,$e as ScriptElementSupport,xe as StyleElementSupport,De as TableElementSupport,L as _HTML_SUPPORT_SCHEMA_DEFINITIONS,de as _attributeToInlineHtmlSupportConverter,P as _createObjectHtmlSupportView,j as _emptyInlineModelElementToViewHtmlSupportConverter,b as _getHtmlSupportAttributeName,O as _getHtmlSupportDescendantElement,se as _mergeHtmlSupportViewElementAttributes,F as _modelToViewBlockAttributeHtmlSupportConverter,v as _modifyHtmlSupportGhsAttribute,ne as _removeHtmlSupportViewAttributes,w as _setHtmlSupportViewAttributes,ae as _toHtmlSupportPascalCase,ue as _toObjectWidgetHtmlSupportConverter,p as _updateHtmlSupportViewAttributes,ce as _viewToAttributeInlineHtmlSupportConverter,E as _viewToModelBlockAttributeHtmlSupportConverter,V as _viewToModelObjectContentHtmlSupportConverter};