commspliant-html-editor 0.0.5 → 0.0.6

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 (448) hide show
  1. package/README.md +2 -1
  2. package/dist/chrome/ChromeTheme.d.ts +14 -0
  3. package/dist/chrome/ChromeTheme.d.ts.map +1 -0
  4. package/dist/commspliant-html-editor.css +1 -0
  5. package/dist/components/Editor.d.ts +3 -0
  6. package/dist/components/Editor.d.ts.map +1 -0
  7. package/dist/components/HtmlSurface.d.ts +9 -0
  8. package/dist/components/HtmlSurface.d.ts.map +1 -0
  9. package/dist/components/MultiPageVisualSurface.d.ts +22 -0
  10. package/dist/components/MultiPageVisualSurface.d.ts.map +1 -0
  11. package/dist/components/VisualSurface.d.ts +14 -0
  12. package/dist/components/VisualSurface.d.ts.map +1 -0
  13. package/dist/core/audio.d.ts +16 -0
  14. package/dist/core/audio.d.ts.map +1 -0
  15. package/dist/core/blockFormat.d.ts +10 -0
  16. package/dist/core/blockFormat.d.ts.map +1 -0
  17. package/dist/core/blocks.d.ts +19 -0
  18. package/dist/core/blocks.d.ts.map +1 -0
  19. package/dist/core/bookmark.d.ts +10 -0
  20. package/dist/core/bookmark.d.ts.map +1 -0
  21. package/dist/core/cellProperties.d.ts +22 -0
  22. package/dist/core/cellProperties.d.ts.map +1 -0
  23. package/dist/core/clearFormatting.d.ts +2 -0
  24. package/dist/core/clearFormatting.d.ts.map +1 -0
  25. package/dist/core/clipboard.d.ts +9 -0
  26. package/dist/core/clipboard.d.ts.map +1 -0
  27. package/dist/core/commandTypes.d.ts +332 -0
  28. package/dist/core/commandTypes.d.ts.map +1 -0
  29. package/dist/core/commands.d.ts +5 -0
  30. package/dist/core/commands.d.ts.map +1 -0
  31. package/dist/core/comments/anchors.d.ts +12 -0
  32. package/dist/core/comments/anchors.d.ts.map +1 -0
  33. package/dist/core/comments/constants.d.ts +5 -0
  34. package/dist/core/comments/constants.d.ts.map +1 -0
  35. package/dist/core/comments/sanitize.d.ts +2 -0
  36. package/dist/core/comments/sanitize.d.ts.map +1 -0
  37. package/dist/core/comments/threads.d.ts +6 -0
  38. package/dist/core/comments/threads.d.ts.map +1 -0
  39. package/dist/core/cssLength.d.ts +13 -0
  40. package/dist/core/cssLength.d.ts.map +1 -0
  41. package/dist/core/customActions.d.ts +12 -0
  42. package/dist/core/customActions.d.ts.map +1 -0
  43. package/dist/core/customCss.d.ts +15 -0
  44. package/dist/core/customCss.d.ts.map +1 -0
  45. package/dist/core/documentStyles.d.ts +4 -0
  46. package/dist/core/documentStyles.d.ts.map +1 -0
  47. package/dist/core/flowBreakInsert.d.ts +2 -0
  48. package/dist/core/flowBreakInsert.d.ts.map +1 -0
  49. package/dist/core/fontFamily.d.ts +40 -0
  50. package/dist/core/fontFamily.d.ts.map +1 -0
  51. package/dist/core/fontSize.d.ts +25 -0
  52. package/dist/core/fontSize.d.ts.map +1 -0
  53. package/dist/core/fontSizeUnits.d.ts +29 -0
  54. package/dist/core/fontSizeUnits.d.ts.map +1 -0
  55. package/dist/core/formatBrush.d.ts +10 -0
  56. package/dist/core/formatBrush.d.ts.map +1 -0
  57. package/dist/core/horizontalRule.d.ts +4 -0
  58. package/dist/core/horizontalRule.d.ts.map +1 -0
  59. package/dist/core/image.d.ts +19 -0
  60. package/dist/core/image.d.ts.map +1 -0
  61. package/dist/core/imageProperties.d.ts +35 -0
  62. package/dist/core/imageProperties.d.ts.map +1 -0
  63. package/dist/core/imageResize.d.ts +18 -0
  64. package/dist/core/imageResize.d.ts.map +1 -0
  65. package/dist/core/imageSize.d.ts +23 -0
  66. package/dist/core/imageSize.d.ts.map +1 -0
  67. package/dist/core/indent.d.ts +7 -0
  68. package/dist/core/indent.d.ts.map +1 -0
  69. package/dist/core/inlineColor.d.ts +23 -0
  70. package/dist/core/inlineColor.d.ts.map +1 -0
  71. package/dist/core/inlineRange.d.ts +10 -0
  72. package/dist/core/inlineRange.d.ts.map +1 -0
  73. package/dist/core/link.d.ts +18 -0
  74. package/dist/core/link.d.ts.map +1 -0
  75. package/dist/core/lists.d.ts +12 -0
  76. package/dist/core/lists.d.ts.map +1 -0
  77. package/dist/core/marks.d.ts +18 -0
  78. package/dist/core/marks.d.ts.map +1 -0
  79. package/dist/core/multiPage.d.ts +10 -0
  80. package/dist/core/multiPage.d.ts.map +1 -0
  81. package/dist/core/page.d.ts +14 -0
  82. package/dist/core/page.d.ts.map +1 -0
  83. package/dist/core/pageAtRule.d.ts +21 -0
  84. package/dist/core/pageAtRule.d.ts.map +1 -0
  85. package/dist/core/pageBackgroundImage.d.ts +16 -0
  86. package/dist/core/pageBackgroundImage.d.ts.map +1 -0
  87. package/dist/core/pageBreak.d.ts +5 -0
  88. package/dist/core/pageBreak.d.ts.map +1 -0
  89. package/dist/core/pageCanvasLayout.d.ts +19 -0
  90. package/dist/core/pageCanvasLayout.d.ts.map +1 -0
  91. package/dist/core/pageProperties.d.ts +8 -0
  92. package/dist/core/pageProperties.d.ts.map +1 -0
  93. package/dist/core/pageZoom.d.ts +9 -0
  94. package/dist/core/pageZoom.d.ts.map +1 -0
  95. package/dist/core/paragraphBox.d.ts +93 -0
  96. package/dist/core/paragraphBox.d.ts.map +1 -0
  97. package/dist/core/paragraphBreak.d.ts +19 -0
  98. package/dist/core/paragraphBreak.d.ts.map +1 -0
  99. package/dist/core/paragraphProperties.d.ts +17 -0
  100. package/dist/core/paragraphProperties.d.ts.map +1 -0
  101. package/dist/core/readAloud.d.ts +11 -0
  102. package/dist/core/readAloud.d.ts.map +1 -0
  103. package/dist/core/rowProperties.d.ts +17 -0
  104. package/dist/core/rowProperties.d.ts.map +1 -0
  105. package/dist/core/selection.d.ts +25 -0
  106. package/dist/core/selection.d.ts.map +1 -0
  107. package/dist/core/table.d.ts +34 -0
  108. package/dist/core/table.d.ts.map +1 -0
  109. package/dist/core/tableGrid.d.ts +40 -0
  110. package/dist/core/tableGrid.d.ts.map +1 -0
  111. package/dist/core/tableProperties.d.ts +18 -0
  112. package/dist/core/tableProperties.d.ts.map +1 -0
  113. package/dist/core/textAlign.d.ts +11 -0
  114. package/dist/core/textAlign.d.ts.map +1 -0
  115. package/dist/core/youtube.d.ts +20 -0
  116. package/dist/core/youtube.d.ts.map +1 -0
  117. package/dist/hooks/useAutoSave.d.ts +9 -0
  118. package/dist/hooks/useAutoSave.d.ts.map +1 -0
  119. package/dist/hooks/useControllableState.d.ts +8 -0
  120. package/dist/hooks/useControllableState.d.ts.map +1 -0
  121. package/dist/i18n/LocaleProvider.d.ts +11 -0
  122. package/dist/i18n/LocaleProvider.d.ts.map +1 -0
  123. package/dist/i18n/en.d.ts +3 -0
  124. package/dist/i18n/en.d.ts.map +1 -0
  125. package/dist/i18n/es.d.ts +3 -0
  126. package/dist/i18n/es.d.ts.map +1 -0
  127. package/dist/i18n/types.d.ts +468 -0
  128. package/dist/i18n/types.d.ts.map +1 -0
  129. package/dist/icons/AlignCenterIcon.d.ts +3 -0
  130. package/dist/icons/AlignCenterIcon.d.ts.map +1 -0
  131. package/dist/icons/AlignJustifyIcon.d.ts +3 -0
  132. package/dist/icons/AlignJustifyIcon.d.ts.map +1 -0
  133. package/dist/icons/AlignLeftIcon.d.ts +3 -0
  134. package/dist/icons/AlignLeftIcon.d.ts.map +1 -0
  135. package/dist/icons/AlignRightIcon.d.ts +3 -0
  136. package/dist/icons/AlignRightIcon.d.ts.map +1 -0
  137. package/dist/icons/AudioIcon.d.ts +3 -0
  138. package/dist/icons/AudioIcon.d.ts.map +1 -0
  139. package/dist/icons/BoldIcon.d.ts +3 -0
  140. package/dist/icons/BoldIcon.d.ts.map +1 -0
  141. package/dist/icons/BookmarkIcon.d.ts +3 -0
  142. package/dist/icons/BookmarkIcon.d.ts.map +1 -0
  143. package/dist/icons/BulletListIcon.d.ts +3 -0
  144. package/dist/icons/BulletListIcon.d.ts.map +1 -0
  145. package/dist/icons/CellPropertiesIcon.d.ts +3 -0
  146. package/dist/icons/CellPropertiesIcon.d.ts.map +1 -0
  147. package/dist/icons/ClearFormattingIcon.d.ts +3 -0
  148. package/dist/icons/ClearFormattingIcon.d.ts.map +1 -0
  149. package/dist/icons/CloseIcon.d.ts +3 -0
  150. package/dist/icons/CloseIcon.d.ts.map +1 -0
  151. package/dist/icons/CommentIcon.d.ts +3 -0
  152. package/dist/icons/CommentIcon.d.ts.map +1 -0
  153. package/dist/icons/CommentsVisibleIcon.d.ts +3 -0
  154. package/dist/icons/CommentsVisibleIcon.d.ts.map +1 -0
  155. package/dist/icons/CommspliantShieldIcon.d.ts +3 -0
  156. package/dist/icons/CommspliantShieldIcon.d.ts.map +1 -0
  157. package/dist/icons/CustomActionIcon.d.ts +3 -0
  158. package/dist/icons/CustomActionIcon.d.ts.map +1 -0
  159. package/dist/icons/CustomCssIcon.d.ts +3 -0
  160. package/dist/icons/CustomCssIcon.d.ts.map +1 -0
  161. package/dist/icons/CustomizeToolbarIcon.d.ts +3 -0
  162. package/dist/icons/CustomizeToolbarIcon.d.ts.map +1 -0
  163. package/dist/icons/DarkModeIcon.d.ts +3 -0
  164. package/dist/icons/DarkModeIcon.d.ts.map +1 -0
  165. package/dist/icons/FontColorIcon.d.ts +3 -0
  166. package/dist/icons/FontColorIcon.d.ts.map +1 -0
  167. package/dist/icons/FontFamilyIcon.d.ts +3 -0
  168. package/dist/icons/FontFamilyIcon.d.ts.map +1 -0
  169. package/dist/icons/FontPropertiesIcon.d.ts +3 -0
  170. package/dist/icons/FontPropertiesIcon.d.ts.map +1 -0
  171. package/dist/icons/FontSizeIcon.d.ts +3 -0
  172. package/dist/icons/FontSizeIcon.d.ts.map +1 -0
  173. package/dist/icons/FormatBrushIcon.d.ts +3 -0
  174. package/dist/icons/FormatBrushIcon.d.ts.map +1 -0
  175. package/dist/icons/FullscreenIcon.d.ts +3 -0
  176. package/dist/icons/FullscreenIcon.d.ts.map +1 -0
  177. package/dist/icons/HighlightColorIcon.d.ts +3 -0
  178. package/dist/icons/HighlightColorIcon.d.ts.map +1 -0
  179. package/dist/icons/HorizontalRuleIcon.d.ts +3 -0
  180. package/dist/icons/HorizontalRuleIcon.d.ts.map +1 -0
  181. package/dist/icons/HtmlIcon.d.ts +3 -0
  182. package/dist/icons/HtmlIcon.d.ts.map +1 -0
  183. package/dist/icons/ImageIcon.d.ts +3 -0
  184. package/dist/icons/ImageIcon.d.ts.map +1 -0
  185. package/dist/icons/IndentIcon.d.ts +3 -0
  186. package/dist/icons/IndentIcon.d.ts.map +1 -0
  187. package/dist/icons/ItalicIcon.d.ts +3 -0
  188. package/dist/icons/ItalicIcon.d.ts.map +1 -0
  189. package/dist/icons/LightModeIcon.d.ts +3 -0
  190. package/dist/icons/LightModeIcon.d.ts.map +1 -0
  191. package/dist/icons/LinkIcon.d.ts +3 -0
  192. package/dist/icons/LinkIcon.d.ts.map +1 -0
  193. package/dist/icons/MenuIcon.d.ts +3 -0
  194. package/dist/icons/MenuIcon.d.ts.map +1 -0
  195. package/dist/icons/MergeCellsIcon.d.ts +3 -0
  196. package/dist/icons/MergeCellsIcon.d.ts.map +1 -0
  197. package/dist/icons/NumberedListIcon.d.ts +3 -0
  198. package/dist/icons/NumberedListIcon.d.ts.map +1 -0
  199. package/dist/icons/OpenIcon.d.ts +3 -0
  200. package/dist/icons/OpenIcon.d.ts.map +1 -0
  201. package/dist/icons/OutdentIcon.d.ts +3 -0
  202. package/dist/icons/OutdentIcon.d.ts.map +1 -0
  203. package/dist/icons/PageBreakIcon.d.ts +3 -0
  204. package/dist/icons/PageBreakIcon.d.ts.map +1 -0
  205. package/dist/icons/PagePropertiesIcon.d.ts +3 -0
  206. package/dist/icons/PagePropertiesIcon.d.ts.map +1 -0
  207. package/dist/icons/ParagraphPropertiesIcon.d.ts +3 -0
  208. package/dist/icons/ParagraphPropertiesIcon.d.ts.map +1 -0
  209. package/dist/icons/ParagraphStyleIcon.d.ts +3 -0
  210. package/dist/icons/ParagraphStyleIcon.d.ts.map +1 -0
  211. package/dist/icons/PlusIcon.d.ts +3 -0
  212. package/dist/icons/PlusIcon.d.ts.map +1 -0
  213. package/dist/icons/PreviewIcon.d.ts +3 -0
  214. package/dist/icons/PreviewIcon.d.ts.map +1 -0
  215. package/dist/icons/PrintIcon.d.ts +3 -0
  216. package/dist/icons/PrintIcon.d.ts.map +1 -0
  217. package/dist/icons/ReadAloudIcon.d.ts +3 -0
  218. package/dist/icons/ReadAloudIcon.d.ts.map +1 -0
  219. package/dist/icons/RedoIcon.d.ts +3 -0
  220. package/dist/icons/RedoIcon.d.ts.map +1 -0
  221. package/dist/icons/RowPropertiesIcon.d.ts +3 -0
  222. package/dist/icons/RowPropertiesIcon.d.ts.map +1 -0
  223. package/dist/icons/SaveIcon.d.ts +3 -0
  224. package/dist/icons/SaveIcon.d.ts.map +1 -0
  225. package/dist/icons/StrikethroughIcon.d.ts +3 -0
  226. package/dist/icons/StrikethroughIcon.d.ts.map +1 -0
  227. package/dist/icons/TableColumnIcon.d.ts +3 -0
  228. package/dist/icons/TableColumnIcon.d.ts.map +1 -0
  229. package/dist/icons/TableIcon.d.ts +3 -0
  230. package/dist/icons/TableIcon.d.ts.map +1 -0
  231. package/dist/icons/TableRowIcon.d.ts +3 -0
  232. package/dist/icons/TableRowIcon.d.ts.map +1 -0
  233. package/dist/icons/UnderlineIcon.d.ts +3 -0
  234. package/dist/icons/UnderlineIcon.d.ts.map +1 -0
  235. package/dist/icons/UndoIcon.d.ts +3 -0
  236. package/dist/icons/UndoIcon.d.ts.map +1 -0
  237. package/dist/icons/UnmergeCellsIcon.d.ts +3 -0
  238. package/dist/icons/UnmergeCellsIcon.d.ts.map +1 -0
  239. package/dist/icons/VisualIcon.d.ts +3 -0
  240. package/dist/icons/VisualIcon.d.ts.map +1 -0
  241. package/dist/icons/YoutubeIcon.d.ts +3 -0
  242. package/dist/icons/YoutubeIcon.d.ts.map +1 -0
  243. package/dist/icons/index.d.ts +59 -0
  244. package/dist/icons/index.d.ts.map +1 -0
  245. package/dist/icons/types.d.ts +4 -0
  246. package/dist/icons/types.d.ts.map +1 -0
  247. package/dist/index.cjs +96 -0
  248. package/dist/index.d.ts +6 -0
  249. package/dist/index.d.ts.map +1 -0
  250. package/dist/index.js +18313 -0
  251. package/dist/modules/comments/CommentPanel.d.ts +13 -0
  252. package/dist/modules/comments/CommentPanel.d.ts.map +1 -0
  253. package/dist/modules/comments/catalog.d.ts +4 -0
  254. package/dist/modules/comments/catalog.d.ts.map +1 -0
  255. package/dist/modules/comments/commands.d.ts +4 -0
  256. package/dist/modules/comments/commands.d.ts.map +1 -0
  257. package/dist/modules/comments/index.d.ts +4 -0
  258. package/dist/modules/comments/index.d.ts.map +1 -0
  259. package/dist/modules/contextMenu/ContextMenu.d.ts +15 -0
  260. package/dist/modules/contextMenu/ContextMenu.d.ts.map +1 -0
  261. package/dist/modules/contextMenu/commands.d.ts +3 -0
  262. package/dist/modules/contextMenu/commands.d.ts.map +1 -0
  263. package/dist/modules/contextMenu/index.d.ts +5 -0
  264. package/dist/modules/contextMenu/index.d.ts.map +1 -0
  265. package/dist/modules/contextMenu/shouldOpenEditorContextMenu.d.ts +6 -0
  266. package/dist/modules/contextMenu/shouldOpenEditorContextMenu.d.ts.map +1 -0
  267. package/dist/modules/file/catalog.d.ts +3 -0
  268. package/dist/modules/file/catalog.d.ts.map +1 -0
  269. package/dist/modules/file/commands.d.ts +3 -0
  270. package/dist/modules/file/commands.d.ts.map +1 -0
  271. package/dist/modules/file/fileDialogs.d.ts +3 -0
  272. package/dist/modules/file/fileDialogs.d.ts.map +1 -0
  273. package/dist/modules/file/htmlFile.d.ts +5 -0
  274. package/dist/modules/file/htmlFile.d.ts.map +1 -0
  275. package/dist/modules/file/index.d.ts +4 -0
  276. package/dist/modules/file/index.d.ts.map +1 -0
  277. package/dist/modules/file/printHtml.d.ts +3 -0
  278. package/dist/modules/file/printHtml.d.ts.map +1 -0
  279. package/dist/modules/file/useHtmlFileDrop.d.ts +14 -0
  280. package/dist/modules/file/useHtmlFileDrop.d.ts.map +1 -0
  281. package/dist/modules/format/ColorField.d.ts +11 -0
  282. package/dist/modules/format/ColorField.d.ts.map +1 -0
  283. package/dist/modules/format/ColorPicker.d.ts +13 -0
  284. package/dist/modules/format/ColorPicker.d.ts.map +1 -0
  285. package/dist/modules/format/ColorSelect.d.ts +16 -0
  286. package/dist/modules/format/ColorSelect.d.ts.map +1 -0
  287. package/dist/modules/format/CustomCssDialog.d.ts +9 -0
  288. package/dist/modules/format/CustomCssDialog.d.ts.map +1 -0
  289. package/dist/modules/format/CustomParagraphStyleDialog.d.ts +21 -0
  290. package/dist/modules/format/CustomParagraphStyleDialog.d.ts.map +1 -0
  291. package/dist/modules/format/FontColorSelect.d.ts +3 -0
  292. package/dist/modules/format/FontColorSelect.d.ts.map +1 -0
  293. package/dist/modules/format/FontFamilyList.d.ts +16 -0
  294. package/dist/modules/format/FontFamilyList.d.ts.map +1 -0
  295. package/dist/modules/format/FontFamilySelect.d.ts +15 -0
  296. package/dist/modules/format/FontFamilySelect.d.ts.map +1 -0
  297. package/dist/modules/format/FontPropertiesDialog.d.ts +24 -0
  298. package/dist/modules/format/FontPropertiesDialog.d.ts.map +1 -0
  299. package/dist/modules/format/FontPropertiesFields.d.ts +12 -0
  300. package/dist/modules/format/FontPropertiesFields.d.ts.map +1 -0
  301. package/dist/modules/format/FontSizeCombobox.d.ts +13 -0
  302. package/dist/modules/format/FontSizeCombobox.d.ts.map +1 -0
  303. package/dist/modules/format/FontSizeSelect.d.ts +3 -0
  304. package/dist/modules/format/FontSizeSelect.d.ts.map +1 -0
  305. package/dist/modules/format/HighlightColorSelect.d.ts +4 -0
  306. package/dist/modules/format/HighlightColorSelect.d.ts.map +1 -0
  307. package/dist/modules/format/LengthField.d.ts +12 -0
  308. package/dist/modules/format/LengthField.d.ts.map +1 -0
  309. package/dist/modules/format/PageAtRuleFields.d.ts +9 -0
  310. package/dist/modules/format/PageAtRuleFields.d.ts.map +1 -0
  311. package/dist/modules/format/PageBackgroundImageFields.d.ts +11 -0
  312. package/dist/modules/format/PageBackgroundImageFields.d.ts.map +1 -0
  313. package/dist/modules/format/PagePropertiesDialog.d.ts +18 -0
  314. package/dist/modules/format/PagePropertiesDialog.d.ts.map +1 -0
  315. package/dist/modules/format/ParagraphPropertiesDialog.d.ts +12 -0
  316. package/dist/modules/format/ParagraphPropertiesDialog.d.ts.map +1 -0
  317. package/dist/modules/format/ParagraphPropertiesFields.d.ts +19 -0
  318. package/dist/modules/format/ParagraphPropertiesFields.d.ts.map +1 -0
  319. package/dist/modules/format/ParagraphStyleList.d.ts +22 -0
  320. package/dist/modules/format/ParagraphStyleList.d.ts.map +1 -0
  321. package/dist/modules/format/ParagraphStyleSelect.d.ts +4 -0
  322. package/dist/modules/format/ParagraphStyleSelect.d.ts.map +1 -0
  323. package/dist/modules/format/ShadowFields.d.ts +8 -0
  324. package/dist/modules/format/ShadowFields.d.ts.map +1 -0
  325. package/dist/modules/format/catalog.d.ts +3 -0
  326. package/dist/modules/format/catalog.d.ts.map +1 -0
  327. package/dist/modules/format/colorModel.d.ts +22 -0
  328. package/dist/modules/format/colorModel.d.ts.map +1 -0
  329. package/dist/modules/format/colorPalette.d.ts +3 -0
  330. package/dist/modules/format/colorPalette.d.ts.map +1 -0
  331. package/dist/modules/format/commands.d.ts +4 -0
  332. package/dist/modules/format/commands.d.ts.map +1 -0
  333. package/dist/modules/format/fontDialog.d.ts +9 -0
  334. package/dist/modules/format/fontDialog.d.ts.map +1 -0
  335. package/dist/modules/format/fontSize.d.ts +2 -0
  336. package/dist/modules/format/fontSize.d.ts.map +1 -0
  337. package/dist/modules/format/index.d.ts +3 -0
  338. package/dist/modules/format/index.d.ts.map +1 -0
  339. package/dist/modules/format/pageDialog.d.ts +9 -0
  340. package/dist/modules/format/pageDialog.d.ts.map +1 -0
  341. package/dist/modules/format/paragraphDialog.d.ts +9 -0
  342. package/dist/modules/format/paragraphDialog.d.ts.map +1 -0
  343. package/dist/modules/history/catalog.d.ts +3 -0
  344. package/dist/modules/history/catalog.d.ts.map +1 -0
  345. package/dist/modules/history/commands.d.ts +4 -0
  346. package/dist/modules/history/commands.d.ts.map +1 -0
  347. package/dist/modules/history/history.d.ts +17 -0
  348. package/dist/modules/history/history.d.ts.map +1 -0
  349. package/dist/modules/history/index.d.ts +5 -0
  350. package/dist/modules/history/index.d.ts.map +1 -0
  351. package/dist/modules/insert/AudioDialog.d.ts +12 -0
  352. package/dist/modules/insert/AudioDialog.d.ts.map +1 -0
  353. package/dist/modules/insert/BookmarkDialog.d.ts +9 -0
  354. package/dist/modules/insert/BookmarkDialog.d.ts.map +1 -0
  355. package/dist/modules/insert/ImageAdvancedFields.d.ts +15 -0
  356. package/dist/modules/insert/ImageAdvancedFields.d.ts.map +1 -0
  357. package/dist/modules/insert/ImageDialog.d.ts +12 -0
  358. package/dist/modules/insert/ImageDialog.d.ts.map +1 -0
  359. package/dist/modules/insert/ImagePropertiesDialog.d.ts +13 -0
  360. package/dist/modules/insert/ImagePropertiesDialog.d.ts.map +1 -0
  361. package/dist/modules/insert/ImagePropertiesFields.d.ts +11 -0
  362. package/dist/modules/insert/ImagePropertiesFields.d.ts.map +1 -0
  363. package/dist/modules/insert/ImageResizeOverlay.d.ts +7 -0
  364. package/dist/modules/insert/ImageResizeOverlay.d.ts.map +1 -0
  365. package/dist/modules/insert/ImageSizeField.d.ts +10 -0
  366. package/dist/modules/insert/ImageSizeField.d.ts.map +1 -0
  367. package/dist/modules/insert/ImageSourcePicker.d.ts +14 -0
  368. package/dist/modules/insert/ImageSourcePicker.d.ts.map +1 -0
  369. package/dist/modules/insert/LinkDialog.d.ts +22 -0
  370. package/dist/modules/insert/LinkDialog.d.ts.map +1 -0
  371. package/dist/modules/insert/YoutubeDialog.d.ts +12 -0
  372. package/dist/modules/insert/YoutubeDialog.d.ts.map +1 -0
  373. package/dist/modules/insert/catalog.d.ts +3 -0
  374. package/dist/modules/insert/catalog.d.ts.map +1 -0
  375. package/dist/modules/insert/commands.d.ts +4 -0
  376. package/dist/modules/insert/commands.d.ts.map +1 -0
  377. package/dist/modules/insert/imagePropertiesDialog.d.ts +9 -0
  378. package/dist/modules/insert/imagePropertiesDialog.d.ts.map +1 -0
  379. package/dist/modules/insert/index.d.ts +3 -0
  380. package/dist/modules/insert/index.d.ts.map +1 -0
  381. package/dist/modules/table/CellPropertiesDialog.d.ts +10 -0
  382. package/dist/modules/table/CellPropertiesDialog.d.ts.map +1 -0
  383. package/dist/modules/table/CellPropertiesFields.d.ts +8 -0
  384. package/dist/modules/table/CellPropertiesFields.d.ts.map +1 -0
  385. package/dist/modules/table/RowPropertiesDialog.d.ts +10 -0
  386. package/dist/modules/table/RowPropertiesDialog.d.ts.map +1 -0
  387. package/dist/modules/table/RowPropertiesFields.d.ts +8 -0
  388. package/dist/modules/table/RowPropertiesFields.d.ts.map +1 -0
  389. package/dist/modules/table/TableDialog.d.ts +9 -0
  390. package/dist/modules/table/TableDialog.d.ts.map +1 -0
  391. package/dist/modules/table/TablePropertiesDialog.d.ts +10 -0
  392. package/dist/modules/table/TablePropertiesDialog.d.ts.map +1 -0
  393. package/dist/modules/table/TablePropertiesFields.d.ts +8 -0
  394. package/dist/modules/table/TablePropertiesFields.d.ts.map +1 -0
  395. package/dist/modules/table/catalog.d.ts +3 -0
  396. package/dist/modules/table/catalog.d.ts.map +1 -0
  397. package/dist/modules/table/commands.d.ts +4 -0
  398. package/dist/modules/table/commands.d.ts.map +1 -0
  399. package/dist/modules/table/index.d.ts +3 -0
  400. package/dist/modules/table/index.d.ts.map +1 -0
  401. package/dist/modules/view/DocumentPreviewDialog.d.ts +7 -0
  402. package/dist/modules/view/DocumentPreviewDialog.d.ts.map +1 -0
  403. package/dist/modules/view/catalog.d.ts +3 -0
  404. package/dist/modules/view/catalog.d.ts.map +1 -0
  405. package/dist/modules/view/commands.d.ts +6 -0
  406. package/dist/modules/view/commands.d.ts.map +1 -0
  407. package/dist/modules/view/darkModePersistence.d.ts +5 -0
  408. package/dist/modules/view/darkModePersistence.d.ts.map +1 -0
  409. package/dist/modules/view/index.d.ts +3 -0
  410. package/dist/modules/view/index.d.ts.map +1 -0
  411. package/dist/modules/view/pageZoomPersistence.d.ts +6 -0
  412. package/dist/modules/view/pageZoomPersistence.d.ts.map +1 -0
  413. package/dist/modules/view/toolbarPositionPersistence.d.ts +6 -0
  414. package/dist/modules/view/toolbarPositionPersistence.d.ts.map +1 -0
  415. package/dist/toolbar/CustomizeToolbarDialog.d.ts +16 -0
  416. package/dist/toolbar/CustomizeToolbarDialog.d.ts.map +1 -0
  417. package/dist/toolbar/EditorToolbar.d.ts +18 -0
  418. package/dist/toolbar/EditorToolbar.d.ts.map +1 -0
  419. package/dist/toolbar/IconNav.d.ts +14 -0
  420. package/dist/toolbar/IconNav.d.ts.map +1 -0
  421. package/dist/toolbar/MenuBar.d.ts +20 -0
  422. package/dist/toolbar/MenuBar.d.ts.map +1 -0
  423. package/dist/toolbar/Tooltip.d.ts +11 -0
  424. package/dist/toolbar/Tooltip.d.ts.map +1 -0
  425. package/dist/toolbar/allowedChrome.d.ts +4 -0
  426. package/dist/toolbar/allowedChrome.d.ts.map +1 -0
  427. package/dist/toolbar/commentsChrome.d.ts +11 -0
  428. package/dist/toolbar/commentsChrome.d.ts.map +1 -0
  429. package/dist/toolbar/defaultCatalog.d.ts +4 -0
  430. package/dist/toolbar/defaultCatalog.d.ts.map +1 -0
  431. package/dist/toolbar/defaultLayout.d.ts +3 -0
  432. package/dist/toolbar/defaultLayout.d.ts.map +1 -0
  433. package/dist/toolbar/index.d.ts +10 -0
  434. package/dist/toolbar/index.d.ts.map +1 -0
  435. package/dist/toolbar/resolveChrome.d.ts +12 -0
  436. package/dist/toolbar/resolveChrome.d.ts.map +1 -0
  437. package/dist/toolbar/toolbarCustomization.d.ts +14 -0
  438. package/dist/toolbar/toolbarCustomization.d.ts.map +1 -0
  439. package/dist/toolbar/types.d.ts +65 -0
  440. package/dist/toolbar/types.d.ts.map +1 -0
  441. package/dist/types.d.ts +400 -0
  442. package/dist/types.d.ts.map +1 -0
  443. package/package.json +1 -1
  444. package/dist/404.html +0 -19
  445. package/dist/assets/index-8mpvnzOy.js +0 -375
  446. package/dist/assets/index-Cu8klpl0.css +0 -1
  447. package/dist/index.html +0 -19
  448. package/dist/logo.svg +0 -314
package/README.md CHANGED
@@ -89,6 +89,7 @@ Give the editor a parent with a definite height (`height: 100%` on a sized ances
89
89
  | `defaultPages` | `string[]` | — | Initial pages when uncontrolled and `enableMultiPages` is true |
90
90
  | `onPagesChange` | `(pages: string[], activePageIndex: number) => void` | — | Fires when any page changes while multi-page mode is enabled |
91
91
  | `enableComments` | `boolean` | `false` | When true, comment chrome and thread state are enabled. See [Comments](#comments) |
92
+ | `defaultCommentsVisible` | `boolean` | `true` | Initial comment highlight visibility when `enableComments` is true. When `true`, highlights are shown and View shows "Hide comments". See [Comments](#comments) |
92
93
  | `commentAuthor` | `CommentAuthor` | — | `{ userId, userName }` identity for posting messages in the comment panel |
93
94
  | `comments` | `CommentThread[]` | — | Controlled comment thread array (metadata separate from document HTML) |
94
95
  | `defaultComments` | `CommentThread[]` | `[]` | Initial threads when uncontrolled |
@@ -466,7 +467,7 @@ This is not the same as **Insert → Page** (multi-page mode), which adds a sepa
466
467
  Set `enableComments` to add lightweight comment threads anchored in the document with `data-comment-thread` markers. Thread metadata (`CommentThread[]`) is separate from document HTML — use `comments` / `onCommentsChange` to persist it.
467
468
 
468
469
  - **Add comment** (toolbar Insert group and Insert → Comment) wraps the selection or marks the selected image, then opens the comment panel.
469
- - **Show/Hide comments** (View menu and View icon group) toggles highlight styling only; thread data and anchors remain.
470
+ - **Show/Hide comments** (View menu and View icon group) toggles highlight styling only; thread data and anchors remain. Highlights are visible by default; pass `defaultCommentsVisible={false}` to start hidden.
470
471
  - **`commentAuthor`** (`{ userId, userName }`) is required to enable Post in the panel.
471
472
 
472
473
  **Sanitized HTML:** export `stripCommentAnchors` from the package to remove comment-only spans and attributes for published document HTML:
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ export declare function ChromeThemeProvider({ dark, children, }: {
3
+ dark: boolean;
4
+ children: ReactNode;
5
+ }): import("react").JSX.Element;
6
+ export declare function useChromeTheme(): boolean;
7
+ export declare function chromeThemeProps(dark: boolean): {
8
+ readonly className: string;
9
+ readonly 'data-wysiwyg-theme': "dark" | "light";
10
+ };
11
+ export declare function ChromePortal({ children }: {
12
+ children: ReactNode;
13
+ }): import('react').ReactPortal;
14
+ //# sourceMappingURL=ChromeTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChromeTheme.d.ts","sourceRoot":"","sources":["../../src/chrome/ChromeTheme.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAMjE,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,SAAS,CAAA;CACpB,+BAEA;AAED,wBAAgB,cAAc,YAE7B;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO;;;EAK7C;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BASjE"}
@@ -0,0 +1 @@
1
+ ._chrome_boy0f_1{--wysiwyg-chrome-text: #444;--wysiwyg-chrome-text-strong: #111;--wysiwyg-chrome-text-muted: #555;--wysiwyg-chrome-toolbar: #f0f0f0;--wysiwyg-chrome-menu: #fff;--wysiwyg-chrome-border: #e5e5e5;--wysiwyg-chrome-divider: #d0d0d0;--wysiwyg-chrome-hover: #f0f0f0;--wysiwyg-chrome-pressed: #ececec;--wysiwyg-chrome-dialog: #fff;--wysiwyg-chrome-dialog-text: #222;--wysiwyg-chrome-dialog-border: #c8c8c8;--wysiwyg-chrome-dialog-muted: #f7f7f7;--wysiwyg-chrome-dialog-group: #fafafa;--wysiwyg-chrome-input: #fff;--wysiwyg-chrome-focus: #8ab4ff;--wysiwyg-chrome-backdrop: rgb(0 0 0 / 32%);--wysiwyg-chrome-shadow: rgb(0 0 0 / 18%);--wysiwyg-chrome-menu-shadow: rgb(0 0 0 / 8%);--wysiwyg-chrome-tooltip-bg: #222;--wysiwyg-chrome-tooltip-fg: #fff;--wysiwyg-chrome-selected: #e8f0fe;--wysiwyg-chrome-danger: #b33;--wysiwyg-chrome-primary: #4a7fd4;--wysiwyg-chrome-primary-fg: #fff;--wysiwyg-chrome-primary-soft: #e8eef8;--wysiwyg-chrome-empty: #ddd;--wysiwyg-chrome-icon: #333}._chrome_boy0f_1[data-wysiwyg-theme=dark]{--wysiwyg-chrome-text: #e4e4e4;--wysiwyg-chrome-text-strong: #fff;--wysiwyg-chrome-text-muted: #bbb;--wysiwyg-chrome-toolbar: #2b2b2b;--wysiwyg-chrome-menu: #1e1e1e;--wysiwyg-chrome-border: #3a3a3a;--wysiwyg-chrome-divider: #4a4a4a;--wysiwyg-chrome-hover: #3a3a3a;--wysiwyg-chrome-pressed: #444;--wysiwyg-chrome-dialog: #252525;--wysiwyg-chrome-dialog-text: #e8e8e8;--wysiwyg-chrome-dialog-border: #4a4a4a;--wysiwyg-chrome-dialog-muted: #1a1a1a;--wysiwyg-chrome-dialog-group: #1a1a1a;--wysiwyg-chrome-input: #1e1e1e;--wysiwyg-chrome-focus: #8ab4ff;--wysiwyg-chrome-backdrop: rgb(0 0 0 / 55%);--wysiwyg-chrome-shadow: rgb(0 0 0 / 45%);--wysiwyg-chrome-menu-shadow: rgb(0 0 0 / 40%);--wysiwyg-chrome-tooltip-bg: #eee;--wysiwyg-chrome-tooltip-fg: #111;--wysiwyg-chrome-selected: #2a3a50;--wysiwyg-chrome-danger: #f66;--wysiwyg-chrome-primary: #6a9ae0;--wysiwyg-chrome-primary-fg: #111;--wysiwyg-chrome-primary-soft: #2a3a50;--wysiwyg-chrome-empty: #555;--wysiwyg-chrome-icon: #eee}._menu_c1m45_1{position:fixed;z-index:1150;display:flex;flex-direction:column;min-width:12rem;max-height:calc(100vh - 16px);margin:0;padding:.25rem 0;overflow:auto;border:1px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-radius:4px;background:var(--wysiwyg-chrome-menu, #fff);box-shadow:0 4px 12px var(--wysiwyg-chrome-menu-shadow, rgb(0 0 0 / 8%));color:var(--wysiwyg-chrome-text, #444);font:.875rem/1.4 system-ui,sans-serif}._item_c1m45_19{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;width:100%;margin:0;padding:.4rem .75rem;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:start;white-space:nowrap;cursor:pointer;box-shadow:none}._item_c1m45_19:hover,._item_c1m45_19:focus-visible{background:var(--wysiwyg-chrome-hover, #f0f0f0);color:var(--wysiwyg-chrome-text-strong, #111)}._item_c1m45_19:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:-2px}._item_c1m45_19:disabled{cursor:not-allowed;opacity:.5}._item_c1m45_19:disabled:hover,._item_c1m45_19:disabled:focus-visible{background:transparent;color:inherit}._separator_c1m45_59{height:1px;margin:.25rem .5rem;background:var(--wysiwyg-chrome-divider, #d0d0d0);border:0}._picker_ag1yo_1{display:flex;flex-direction:column;gap:.45rem;box-sizing:border-box;width:14.5rem;padding:.4rem .5rem .5rem;color:var(--wysiwyg-chrome-dialog-text, #222);font:.75rem/1.2 system-ui,sans-serif}._none_ag1yo_12,._customToggle_ag1yo_13,._eyedrop_ag1yo_14{display:flex;align-items:center;gap:.4rem;width:100%;margin:0;padding:.25rem .35rem;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}._none_ag1yo_12:hover,._none_ag1yo_12:focus-visible,._customToggle_ag1yo_13:hover,._customToggle_ag1yo_13:focus-visible,._eyedrop_ag1yo_14:hover,._eyedrop_ag1yo_14:focus-visible{background:var(--wysiwyg-chrome-selected, #e8f0fe);outline:none}._none_ag1yo_12[aria-checked=true],._none_ag1yo_12[aria-selected=true]{font-weight:600}._none_ag1yo_12:disabled,._customToggle_ag1yo_13:disabled,._eyedrop_ag1yo_14:disabled,._swatch_ag1yo_48:disabled,._field_ag1yo_49 input:disabled{cursor:not-allowed;opacity:.5}._grid_ag1yo_54,._recents_ag1yo_55{display:grid;grid-template-columns:repeat(8,1.25rem);gap:.22rem;justify-content:space-between}._swatch_ag1yo_48{box-sizing:border-box;width:1.25rem;height:1.25rem;padding:0;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:2px;cursor:pointer}._swatch_ag1yo_48:hover,._swatch_ag1yo_48:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:1px}._swatch_ag1yo_48[aria-checked=true],._swatch_ag1yo_48[aria-selected=true]{outline:2px solid #111;outline-offset:1px}._sectionLabel_ag1yo_84{margin:.15rem 0 0;font-weight:600}._custom_ag1yo_13{display:flex;flex-direction:column;gap:.45rem}._sv_ag1yo_95{position:relative;width:100%;height:7.5rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:3px;cursor:crosshair;touch-action:none}._svThumb_ag1yo_105{position:absolute;width:.7rem;height:.7rem;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #111;transform:translate(-50%,-50%);pointer-events:none}._hue_ag1yo_116{width:100%;height:.85rem;margin:0;padding:0;border-radius:3px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);cursor:pointer}._hue_ag1yo_116::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:.7rem;height:.85rem;border:2px solid #fff;border-radius:2px;background:transparent;box-shadow:0 0 0 1px #111}._hue_ag1yo_116::-moz-range-thumb{width:.7rem;height:.85rem;border:2px solid #fff;border-radius:2px;background:transparent;box-shadow:0 0 0 1px #111}._rgbRow_ag1yo_155,._hexRow_ag1yo_156{display:flex;align-items:center;gap:.3rem}._field_ag1yo_49{display:flex;flex:1 1 0;flex-direction:column;gap:.1rem;min-width:0}._field_ag1yo_49 label{font-weight:600}._field_ag1yo_49 input{box-sizing:border-box;width:100%;margin:0;padding:.15rem .25rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);color:inherit;font:inherit}._hexRow_ag1yo_156 ._field_ag1yo_49{flex:1 1 auto}._eyedrop_ag1yo_14{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.5 4.5l4 4-9 9H6.5v-4.5z'/%3E%3Cpath d='M13.5 6.5l4 4'/%3E%3C/svg%3E") 2 18,crosshair}._wrap_hfz5s_1{position:relative;display:inline-flex;flex-shrink:0;align-items:stretch}._button_hfz5s_8{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:.15rem;min-width:1.75rem;padding:.4rem .5rem .3rem}._icon_hfz5s_18{display:block;width:1rem;height:1rem}._bar_hfz5s_24{display:block;width:1rem;height:.2rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:1px;background:transparent}._barEmpty_hfz5s_33{background:repeating-linear-gradient(-45deg,var(--wysiwyg-chrome-empty, #ddd),var(--wysiwyg-chrome-empty, #ddd) 1px,transparent 1px,transparent 3px)}._popover_hfz5s_43{position:fixed;z-index:1300;max-height:calc(100vh - 8px);overflow:auto;border:1px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-radius:4px;background:var(--wysiwyg-chrome-dialog, #fff);box-shadow:0 4px 12px var(--wysiwyg-chrome-menu-shadow, rgb(0 0 0 / 12%))}._field_1knrr_1{display:flex;align-items:center;justify-content:space-between;gap:.75rem}._label_1knrr_8{font-weight:600}._button_1knrr_12{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;width:2.4rem;height:1.5rem;margin:0;padding:.15rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);cursor:pointer}._button_1knrr_12:disabled{cursor:not-allowed;opacity:.5}._button_1knrr_12:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:1px}._swatch_1knrr_37{display:block;width:100%;height:100%;border-radius:2px}._swatchEmpty_1knrr_44{background:repeating-linear-gradient(-45deg,var(--wysiwyg-chrome-empty, #ddd),var(--wysiwyg-chrome-empty, #ddd) 1px,transparent 1px,transparent 3px)}._toolbar_1aggm_1{display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0}._toolbar_1aggm_1._toolbar_1aggm_1{display:flex;flex-direction:column;container-type:inline-size}._toolbar_1aggm_1._toolbar_1aggm_1[data-toolbar-position=left],._toolbar_1aggm_1._toolbar_1aggm_1[data-toolbar-position=right]{container-type:normal;width:100%;min-width:0;height:auto;min-height:100%}._toolbar_1aggm_1._toolbar_1aggm_1[data-menu-overlay-portal]{container-type:normal;width:0;height:0;min-width:0;overflow:visible}._toolbar_1aggm_1 ._menuBar_1aggm_35{display:flex;align-items:stretch;width:100%;background:var(--wysiwyg-menu-background, var(--wysiwyg-chrome-menu, #fff));border-bottom:1px solid var(--wysiwyg-chrome-border, #e5e5e5)}._toolbar_1aggm_1 ._menuBarDesktop_1aggm_43{display:flex;align-items:stretch;min-width:0}._toolbar_1aggm_1 ._brandMark_1aggm_49{display:inline-flex;flex-shrink:0;align-items:center;padding:.25rem .65rem .25rem .5rem}._toolbar_1aggm_1 ._brandMarkIcon_1aggm_56{display:block;height:2.5rem;width:auto;aspect-ratio:616.23 / 542.09;overflow:visible}._toolbar_1aggm_1 ._brandMarkIcon_1aggm_56 *{stroke:none}._toolbar_1aggm_1 ._menuBarCompact_1aggm_68{display:none;align-items:stretch}._toolbar_1aggm_1[data-compact] ._menuBarDesktop_1aggm_43{display:none}._toolbar_1aggm_1[data-compact] ._menuBarCompact_1aggm_68{display:flex}@container (max-width: 40rem){._toolbar_1aggm_1 ._menuBarDesktop_1aggm_43{display:none}._toolbar_1aggm_1 ._menuBarCompact_1aggm_68{display:flex}}._toolbar_1aggm_1 ._menuWrap_1aggm_91{position:relative;display:flex;align-items:stretch}._toolbar_1aggm_1 ._menuButton_1aggm_97,._toolbar_1aggm_1 ._iconButton_1aggm_98,._toolbar_1aggm_1 ._menuItem_1aggm_99{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;border:0;border-radius:0;background:transparent;font:inherit;font-weight:400;line-height:inherit;letter-spacing:inherit;text-transform:none;text-decoration:none;color:var(--wysiwyg-chrome-text, #444);cursor:pointer;box-shadow:none}._toolbar_1aggm_1 ._menuButton_1aggm_97,._toolbar_1aggm_1 ._menuItem_1aggm_99{color:var(--wysiwyg-menu-color, var(--wysiwyg-chrome-text, #444));font-size:var(--wysiwyg-menu-font-size, .875rem);font-family:var(--wysiwyg-menu-font-family, inherit)}._toolbar_1aggm_1 ._menuButton_1aggm_97{display:inline-flex;align-items:center;padding:.5rem .9rem;text-align:center}._toolbar_1aggm_1 ._menuButton_1aggm_97:after{content:"";display:inline-block;width:0;height:0;margin-left:.4rem;border-style:solid;border-width:.28rem .22rem 0;border-color:currentColor transparent transparent;transform:translateY(.08em)}._toolbar_1aggm_1 ._hamburgerButton_1aggm_142:after{content:none;display:none;margin:0;border:0}._toolbar_1aggm_1 ._iconNav_1aggm_149{position:relative;display:flex;flex-wrap:nowrap;align-items:flex-start;width:100%;max-width:100%;min-width:0;background:var(--wysiwyg-toolbar-background, var(--wysiwyg-chrome-toolbar, #f0f0f0))}._toolbar_1aggm_1 ._iconNavMain_1aggm_160{display:flex;flex:1 1 auto;flex-wrap:wrap;align-items:stretch;min-width:0;max-width:100%}._toolbar_1aggm_1 ._iconNavEnd_1aggm_169{display:flex;flex:0 0 auto;flex-wrap:nowrap;align-items:stretch;align-self:flex-start}._toolbar_1aggm_1 ._iconNavMain_1aggm_160+._iconNavEnd_1aggm_169:before{content:"";width:1px;align-self:stretch;margin:.35rem .15rem;background:var(--wysiwyg-chrome-divider, #d0d0d0)}._toolbar_1aggm_1 ._iconGroup_1aggm_185{display:flex;flex:0 0 auto;flex-wrap:wrap;align-items:stretch;max-width:100%}._toolbar_1aggm_1 ._iconNavEnd_1aggm_169 ._iconGroup_1aggm_185{flex-wrap:nowrap}._toolbar_1aggm_1[data-toolbar-position=left] ._iconNav_1aggm_149,._toolbar_1aggm_1[data-toolbar-position=right] ._iconNav_1aggm_149{flex:1 0 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;width:100%;min-width:0;max-width:none;height:auto;min-height:100%}._toolbar_1aggm_1[data-toolbar-position=left] ._iconNavMain_1aggm_160,._toolbar_1aggm_1[data-toolbar-position=right] ._iconNavMain_1aggm_160{flex:1 0 auto;flex-direction:column;flex-wrap:nowrap;width:100%;min-width:0;max-width:none}._toolbar_1aggm_1[data-toolbar-position=left] ._iconNavEnd_1aggm_169,._toolbar_1aggm_1[data-toolbar-position=right] ._iconNavEnd_1aggm_169{flex-direction:column;margin-top:auto;align-self:stretch}._toolbar_1aggm_1[data-toolbar-position=left] ._iconGroup_1aggm_185,._toolbar_1aggm_1[data-toolbar-position=right] ._iconGroup_1aggm_185{flex-direction:column;flex-wrap:nowrap;width:100%;min-width:0;max-width:none}._toolbar_1aggm_1[data-toolbar-position=left] ._iconGroup_1aggm_185:not(:last-child):after,._toolbar_1aggm_1[data-toolbar-position=right] ._iconGroup_1aggm_185:not(:last-child):after{width:auto;height:1px;margin:.15rem .35rem}._toolbar_1aggm_1[data-toolbar-position=left] ._iconNavMain_1aggm_160+._iconNavEnd_1aggm_169:before,._toolbar_1aggm_1[data-toolbar-position=right] ._iconNavMain_1aggm_160+._iconNavEnd_1aggm_169:before{width:auto;height:1px;align-self:stretch;margin:.15rem .35rem}._toolbar_1aggm_1[data-toolbar-position=left] ._iconButton_1aggm_98[aria-pressed=true],._toolbar_1aggm_1[data-toolbar-position=right] ._iconButton_1aggm_98[aria-pressed=true]{box-shadow:inset -2px 0 0 var(--wysiwyg-chrome-text-strong, #111)}._toolbar_1aggm_1 ._iconGroup_1aggm_185:not(:last-child):after{content:"";width:1px;align-self:stretch;margin:.35rem .15rem;background:var(--wysiwyg-chrome-divider, #d0d0d0)}._toolbar_1aggm_1 ._iconButton_1aggm_98{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:.5rem .65rem}._toolbar_1aggm_1 ._iconNav_1aggm_149 ._iconButton_1aggm_98{padding:calc(.5rem + 2px) .65rem calc(.5rem - 2px)}._tooltipTrigger_1aggm_276{display:inline-flex;flex-shrink:0;align-items:stretch}._toolbar_1aggm_1 ._iconButton_1aggm_98[aria-pressed=true]{color:var(--wysiwyg-chrome-text-strong, #111);background:var(--wysiwyg-chrome-pressed, #ececec);box-shadow:inset 0 -2px 0 var(--wysiwyg-chrome-text-strong, #111)}._toolbar_1aggm_1 ._menu_1aggm_35{position:absolute;top:100%;left:0;z-index:2;display:flex;flex-direction:column;min-width:10rem;margin:0;padding:.25rem 0;overflow:visible;border:1px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-radius:4px;background:var(--wysiwyg-menu-background, var(--wysiwyg-chrome-menu, #fff));box-shadow:0 4px 12px var(--wysiwyg-chrome-menu-shadow, rgb(0 0 0 / 8%))}._toolbar_1aggm_1 ._submenuWrap_1aggm_305{position:relative}._toolbar_1aggm_1 ._submenu_1aggm_305{top:0;left:100%;z-index:3}._toolbar_1aggm_1 ._submenuTrigger_1aggm_315{justify-content:space-between}._toolbar_1aggm_1 ._submenuTrigger_1aggm_315:after{content:"";display:inline-block;width:0;height:0;margin-left:.75rem;border-style:solid;border-width:.22rem 0 .22rem .28rem;border-color:transparent transparent transparent currentColor}._toolbar_1aggm_1 ._menuOverlay_1aggm_330{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;flex-direction:column;background:var(--wysiwyg-menu-background, var(--wysiwyg-chrome-menu, #fff));color:var(--wysiwyg-menu-color, var(--wysiwyg-chrome-text, #444));font-size:var(--wysiwyg-menu-font-size, .875rem);font-family:var(--wysiwyg-menu-font-family, inherit)}._toolbar_1aggm_1 ._menuOverlayHeader_1aggm_342{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:.5rem;padding:.15rem .15rem .15rem .9rem;border-bottom:1px solid var(--wysiwyg-chrome-border, #e5e5e5)}._toolbar_1aggm_1 ._menuOverlayTitle_1aggm_352{font-size:inherit;font-weight:600;color:inherit}._toolbar_1aggm_1 ._menuOverlayBody_1aggm_358{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:auto}._toolbar_1aggm_1 ._menuOverlay_1aggm_330 ._menuWrap_1aggm_91{flex-direction:column;align-items:stretch;width:100%}._toolbar_1aggm_1 ._menuOverlay_1aggm_330 ._menuButton_1aggm_97{width:100%;justify-content:space-between}._toolbar_1aggm_1 ._menuOverlay_1aggm_330 ._menu_1aggm_35{position:static;top:auto;left:auto;z-index:auto;min-width:0;width:100%;border:0;border-radius:0;box-shadow:none;padding:0 0 .25rem}._toolbar_1aggm_1 ._menuOverlay_1aggm_330 ._submenuWrap_1aggm_305{position:static}._toolbar_1aggm_1 ._menuOverlay_1aggm_330 ._submenu_1aggm_305{position:static;top:auto;left:auto;z-index:auto}._toolbar_1aggm_1 ._menuOverlay_1aggm_330 ._submenuTrigger_1aggm_315:after{transform:rotate(90deg)}._toolbar_1aggm_1 ._menuOverlay_1aggm_330 ._menuItem_1aggm_99{white-space:normal}._toolbar_1aggm_1 ._menuSeparator_1aggm_409{height:1px;margin:.25rem .5rem;background:var(--wysiwyg-chrome-divider, #d0d0d0);border:0}._toolbar_1aggm_1 ._menuItem_1aggm_99{display:flex;align-items:center;gap:.5rem;width:100%;padding:.4rem .75rem;text-align:start;white-space:nowrap}._toolbar_1aggm_1 ._menuItem_1aggm_99:hover,._toolbar_1aggm_1 ._menuItem_1aggm_99:focus-visible{background:var(--wysiwyg-chrome-hover, #f0f0f0);color:var(--wysiwyg-chrome-text-strong, #111)}._toolbar_1aggm_1 ._menuItem_1aggm_99[aria-checked=true]{color:var(--wysiwyg-chrome-text-strong, #111);font-weight:600}._toolbar_1aggm_1 ._menuButton_1aggm_97:hover,._toolbar_1aggm_1 ._iconButton_1aggm_98:hover,._toolbar_1aggm_1 ._menuButton_1aggm_97:focus-visible,._toolbar_1aggm_1 ._iconButton_1aggm_98:focus-visible{color:var(--wysiwyg-chrome-text-strong, #111);background:var(--wysiwyg-chrome-hover, #f0f0f0)}._toolbar_1aggm_1 ._menuButton_1aggm_97:focus-visible,._toolbar_1aggm_1 ._iconButton_1aggm_98:focus-visible,._toolbar_1aggm_1 ._menuItem_1aggm_99:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:-2px}._toolbar_1aggm_1 ._menuButton_1aggm_97:disabled,._toolbar_1aggm_1 ._iconButton_1aggm_98:disabled,._toolbar_1aggm_1 ._menuItem_1aggm_99:disabled{cursor:not-allowed;opacity:.5}._toolbar_1aggm_1 ._menuItem_1aggm_99:disabled:hover,._toolbar_1aggm_1 ._menuItem_1aggm_99:disabled:focus-visible{background:transparent;color:inherit}._toolbar_1aggm_1 ._icon_1aggm_98,._toolbar_1aggm_1 ._icon_1aggm_98 *{overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}._toolbar_1aggm_1 ._icon_1aggm_98{display:block;width:1rem;height:1rem;flex-shrink:0}._tooltip_1aggm_276{position:fixed;z-index:1100;padding:.2rem .45rem;border-radius:3px;background:var(--wysiwyg-chrome-tooltip-bg, #222);color:var(--wysiwyg-chrome-tooltip-fg, #fff);font:.75rem/1.2 system-ui,sans-serif;white-space:nowrap;pointer-events:none}._tooltipElevated_1aggm_494{z-index:1300;max-width:18rem;white-space:normal}._wrap_1vjt0_1._wrap_1vjt0_1{display:inline-flex;flex-shrink:0;align-items:stretch}._wrap_1vjt0_1._wrapToolbar_1vjt0_7{align-self:stretch;padding:5px .35rem 0}._wrap_1vjt0_1 ._field_1vjt0_12{position:relative;display:flex;flex:0 0 auto;align-items:stretch;height:1.6rem}._wrap_1vjt0_1 ._trigger_1vjt0_20{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;min-width:9.5rem;max-width:12rem;height:100%;margin:0;padding:0 1.35rem 0 .45rem;overflow:hidden;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);color:var(--wysiwyg-chrome-dialog-text, #222);font:.75rem/1.2 system-ui,sans-serif;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}._wrap_1vjt0_1 ._trigger_1vjt0_20:focus{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:-1px}._wrap_1vjt0_1 ._trigger_1vjt0_20:disabled{cursor:not-allowed;opacity:.5}._wrap_1vjt0_1 ._chevron_1vjt0_50{position:absolute;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;width:1.15rem;pointer-events:none;color:var(--wysiwyg-chrome-text, #444)}._wrap_1vjt0_1 ._chevron_1vjt0_50:after{content:"";display:block;width:0;height:0;border-style:solid;border-width:.28rem .22rem 0;border-color:currentColor transparent transparent}._list_1vjt0_73{position:fixed;z-index:1300;min-width:12rem;max-height:min(18rem,calc(100vh - 8px));margin:0;padding:.15rem 0;overflow:auto;border:1px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);box-shadow:0 4px 12px var(--wysiwyg-chrome-menu-shadow, rgb(0 0 0 / 12%));list-style:none}._listInline_1vjt0_88{position:static;z-index:auto;min-width:100%;max-height:min(14rem,calc(100vh - 8px));box-shadow:none}._option_1vjt0_96{display:block;width:100%;margin:0;padding:.3rem .75rem;border:0;background:transparent;color:var(--wysiwyg-chrome-dialog-text, #222);font-size:.875rem;line-height:1.3;text-align:start;cursor:pointer}._option_1vjt0_96:hover,._option_1vjt0_96:focus-visible{background:var(--wysiwyg-chrome-selected, #e8f0fe);outline:none}._option_1vjt0_96[aria-checked=true]{font-weight:600}._option_1vjt0_96:disabled{cursor:not-allowed;opacity:.5}._separator_1vjt0_125{height:1px;margin:.25rem .5rem;padding:0;background:var(--wysiwyg-chrome-divider, #d0d0d0);border:0;list-style:none}._wrap_58i0x_1._wrap_58i0x_1{display:inline-flex;flex-direction:row;flex-shrink:0;align-items:center;gap:.25rem}._wrap_58i0x_1._wrapToolbar_58i0x_9{align-self:stretch;padding:5px .35rem 0}._wrap_58i0x_1 ._field_58i0x_14{position:relative;display:flex;flex:0 0 auto;align-items:stretch;height:1.6rem}._wrap_58i0x_1 ._input_58i0x_22{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:3.4rem;height:100%;margin:0;padding:0 1.35rem 0 .35rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);color:var(--wysiwyg-chrome-dialog-text, #222);font:.75rem/1.2 system-ui,sans-serif}._wrap_58i0x_1 ._input_58i0x_22:focus{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:-1px}._wrap_58i0x_1 ._toggle_58i0x_41,._wrap_58i0x_1 ._chevron_58i0x_42{position:absolute;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.15rem;margin:0;padding:0;border:0;border-radius:0 3px 3px 0;background:transparent;color:var(--wysiwyg-chrome-text, #444)}._wrap_58i0x_1 ._toggle_58i0x_41{cursor:pointer}._wrap_58i0x_1 ._chevron_58i0x_42{pointer-events:none}._wrap_58i0x_1 ._toggle_58i0x_41:after,._wrap_58i0x_1 ._chevron_58i0x_42:after{content:"";display:block;width:0;height:0;margin:0;border-style:solid;border-width:.28rem .22rem 0;border-color:currentColor transparent transparent}._wrap_58i0x_1 ._unit_58i0x_80{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:3.4rem;height:100%;margin:0;padding:0 1.35rem 0 .35rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);color:var(--wysiwyg-chrome-dialog-text, #222);font:.75rem/1.2 system-ui,sans-serif}._wrap_58i0x_1 ._unit_58i0x_80::-ms-expand{display:none}._wrap_58i0x_1 ._unit_58i0x_80:focus{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:-1px}._wrap_58i0x_1 ._input_58i0x_22:disabled,._wrap_58i0x_1 ._toggle_58i0x_41:disabled,._wrap_58i0x_1 ._unit_58i0x_80:disabled{cursor:not-allowed;opacity:.5}._list_58i0x_110{position:fixed;z-index:1300;min-width:4.5rem;max-height:min(12rem,calc(100vh - 8px));margin:0;padding:.15rem 0;overflow:auto;border:1px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);box-shadow:0 4px 12px var(--wysiwyg-chrome-menu-shadow, rgb(0 0 0 / 12%));list-style:none}._list_58i0x_110 ._option_58i0x_125{display:block;width:100%;margin:0;padding:.2rem .5rem;border:0;background:transparent;color:var(--wysiwyg-chrome-dialog-text, #222);font:.75rem/1.3 system-ui,sans-serif;text-align:start;cursor:pointer}._list_58i0x_110 ._option_58i0x_125:hover,._list_58i0x_110 ._option_58i0x_125:focus-visible{background:var(--wysiwyg-chrome-selected, #e8f0fe);outline:none}._backdrop_1p9zk_1{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:1rem;background:var(--wysiwyg-chrome-backdrop, rgb(0 0 0 / 32%))}._backdrop_1p9zk_1 ._dialog_1p9zk_12{display:flex;flex-direction:column;box-sizing:border-box;width:min(32rem,100%);max-width:100%;min-width:0;max-height:100%;margin:0;padding:0;overflow:hidden;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:6px;background:var(--wysiwyg-chrome-dialog, #fff);box-shadow:0 8px 24px var(--wysiwyg-chrome-shadow, rgb(0 0 0 / 18%));color:var(--wysiwyg-chrome-dialog-text, #222);font:.875rem/1.4 system-ui,sans-serif}._backdrop_1p9zk_1 ._dialogWide_1p9zk_31{width:min(38rem,100%)}._backdrop_1p9zk_1 ._header_1p9zk_35{flex-shrink:0;margin:0;padding:.75rem 1rem .5rem;font-size:1rem;font-weight:600}._backdrop_1p9zk_1 ._tabs_1p9zk_43{display:flex;flex-shrink:0;flex-wrap:wrap;gap:.15rem;padding:0 1rem;border-bottom:1px solid var(--wysiwyg-chrome-border, #e5e5e5)}._backdrop_1p9zk_1 ._tab_1p9zk_43{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0 0 -1px;padding:.4rem .75rem;border:1px solid transparent;border-bottom:0;border-radius:4px 4px 0 0;background:transparent;color:inherit;font:inherit;cursor:pointer}._backdrop_1p9zk_1 ._tab_1p9zk_43[aria-selected=true]{border-color:var(--wysiwyg-chrome-border, #e5e5e5);background:var(--wysiwyg-chrome-dialog, #fff);font-weight:600}._backdrop_1p9zk_1 ._tab_1p9zk_43:disabled{cursor:not-allowed;opacity:.5}._backdrop_1p9zk_1 ._body_1p9zk_76{display:flex;flex:1 1 auto;flex-direction:column;gap:.85rem;min-height:0;padding:1rem;overflow:auto}._backdrop_1p9zk_1 ._field_1p9zk_86{display:flex;flex-direction:column;gap:.35rem}._backdrop_1p9zk_1 ._label_1p9zk_92{font-weight:600}._backdrop_1p9zk_1 ._sizeRow_1p9zk_96{display:flex;gap:.4rem;align-items:center}._backdrop_1p9zk_1 ._fileRow_1p9zk_102{display:flex;align-items:center;gap:.5rem}._backdrop_1p9zk_1 ._fileName_1p9zk_108{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--wysiwyg-chrome-text-muted, #555)}._backdrop_1p9zk_1 ._previewImage_1p9zk_115{display:block;max-width:100%;max-height:8rem;margin-top:.35rem;object-fit:contain;border:1px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-radius:4px}._backdrop_1p9zk_1 ._marks_1p9zk_125{display:flex;flex-direction:column;gap:.35rem;margin:0;padding:0;border:0}._backdrop_1p9zk_1 ._mark_1p9zk_125{display:flex;align-items:center;gap:.4rem}._backdrop_1p9zk_1 ._actions_1p9zk_140{display:flex;flex-shrink:0;justify-content:flex-end;gap:.5rem;padding:.75rem 1rem 1rem}._backdrop_1p9zk_1 ._actionsSpread_1p9zk_148{justify-content:space-between}._backdrop_1p9zk_1 ._actionsEnd_1p9zk_152{display:flex;gap:.5rem}._backdrop_1p9zk_1 ._headerRow_1p9zk_157{display:flex;flex-shrink:0;align-items:flex-start;gap:.5rem;padding:.75rem .5rem .5rem 1rem}._backdrop_1p9zk_1 ._headerRow_1p9zk_157 ._header_1p9zk_35{flex:1;padding:0}._backdrop_1p9zk_1 ._close_1p9zk_170{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-shrink:0;margin:0;padding:.25rem;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}._backdrop_1p9zk_1 ._close_1p9zk_170:hover,._backdrop_1p9zk_1 ._close_1p9zk_170:focus-visible{background:var(--wysiwyg-chrome-hover, #f0f0f0)}._backdrop_1p9zk_1 ._nameSection_1p9zk_187{flex-shrink:0;padding:.5rem 1rem .75rem}._backdrop_1p9zk_1 ._nameInput_1p9zk_192{box-sizing:border-box;width:100%;margin:0;padding:.35rem .5rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-dialog, #fff);color:inherit;font:inherit}._backdrop_1p9zk_1 ._nameInput_1p9zk_192:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:1px}._backdrop_1p9zk_1 ._labelRow_1p9zk_209{display:flex;align-items:center;gap:.35rem}._backdrop_1p9zk_1 ._help_1p9zk_215{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;margin:0;padding:0;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:50%;background:var(--wysiwyg-chrome-dialog-muted, #f7f7f7);color:inherit;font:.7rem/1 system-ui,sans-serif;font-weight:700;cursor:help}._backdrop_1p9zk_1 ._textInput_1p9zk_233{box-sizing:border-box;width:100%;margin:0;padding:.35rem .5rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-dialog, #fff);color:inherit;font:inherit}._backdrop_1p9zk_1 ._fullSelect_1p9zk_245{width:100%}._backdrop_1p9zk_1 ._error_1p9zk_249{color:var(--wysiwyg-chrome-danger, #b33);font-size:.8rem}._backdrop_1p9zk_1 ._emptyHint_1p9zk_254{margin:0;color:var(--wysiwyg-chrome-text-muted, #666)}._backdrop_1p9zk_1 ._action_1p9zk_140[aria-pressed=true],._backdrop_1p9zk_1 ._action_1p9zk_140[aria-checked=true]{border-color:var(--wysiwyg-chrome-primary, #4a7fd4);background:var(--wysiwyg-chrome-primary-soft, #e8eef8)}._backdrop_1p9zk_1 ._textarea_1p9zk_265{box-sizing:border-box;width:100%;min-height:6.5rem;margin:0;padding:.4rem .5rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-dialog, #fff);color:inherit;font:.8rem/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:vertical}._backdrop_1p9zk_1 ._actionDanger_1p9zk_279{border-color:var(--wysiwyg-chrome-danger, #c44);background:var(--wysiwyg-chrome-dialog, #fff);color:var(--wysiwyg-chrome-danger, #b33)}._backdrop_1p9zk_1 ._confirmBody_1p9zk_285{flex-shrink:0;padding:1rem}._backdrop_1p9zk_1 ._emptyPanel_1p9zk_290{min-height:4rem}._backdrop_1p9zk_1 ._nestedPanel_1p9zk_294{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;margin:.85rem 1rem .15rem;overflow:hidden;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px}._backdrop_1p9zk_1 ._nestedPanel_1p9zk_294 ._tabs_1p9zk_43{padding-top:.4rem}._spinnerWrap_1p9zk_309{display:flex;align-items:center;justify-content:center;padding:.5rem .75rem}._spinner_1p9zk_309{width:1.1rem;height:1.1rem;border:2px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-top-color:var(--wysiwyg-chrome-primary, #4a7fd4);border-radius:50%;animation:_spin_1p9zk_309 .7s linear infinite}@keyframes _spin_1p9zk_309{to{transform:rotate(360deg)}}._backdrop_1p9zk_1 ._action_1p9zk_140{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:5.5rem;margin:0;padding:.35rem .75rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-dialog-muted, #f7f7f7);color:inherit;font:inherit;cursor:pointer}._backdrop_1p9zk_1 ._actionPrimary_1p9zk_344{border-color:var(--wysiwyg-chrome-primary, #4a7fd4);background:var(--wysiwyg-chrome-primary, #4a7fd4);color:var(--wysiwyg-chrome-primary-fg, #fff)}._backdrop_1p9zk_1 ._action_1p9zk_140:disabled{cursor:not-allowed;opacity:.5}._backdrop_1p9zk_1 ._action_1p9zk_140:focus-visible,._backdrop_1p9zk_1 ._tab_1p9zk_43:focus-visible,._backdrop_1p9zk_1 ._close_1p9zk_170:focus-visible,._backdrop_1p9zk_1 ._iconButton_1p9zk_358:focus-visible,._backdrop_1p9zk_1 ._select_1p9zk_359:focus-visible,._backdrop_1p9zk_1 ._lengthInput_1p9zk_360:focus-visible,._backdrop_1p9zk_1 ._lengthUnit_1p9zk_361:focus-visible,._backdrop_1p9zk_1 ._textInput_1p9zk_233:focus-visible,._backdrop_1p9zk_1 ._textarea_1p9zk_265:focus-visible,._backdrop_1p9zk_1 ._help_1p9zk_215:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:1px}._backdrop_1p9zk_1 ._group_1p9zk_369{display:flex;flex-direction:column;gap:.75rem;margin:0;padding:.75rem;border:1px solid var(--wysiwyg-chrome-border, #e5e5e5);border-radius:4px}._backdrop_1p9zk_1 ._nestedGroup_1p9zk_379{display:flex;flex-direction:column;gap:.5rem;margin:0;padding:.6rem .7rem;border:1px solid var(--wysiwyg-chrome-border, #ececec);border-radius:4px}._backdrop_1p9zk_1 ._subLabel_1p9zk_389{font-weight:600}._backdrop_1p9zk_1 ._iconRow_1p9zk_393{display:flex;gap:.25rem}._backdrop_1p9zk_1 ._iconButton_1p9zk_358{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin:0;padding:0;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-dialog-muted, #f7f7f7);color:inherit;cursor:pointer}._backdrop_1p9zk_1 ._iconButton_1p9zk_358[aria-checked=true],._backdrop_1p9zk_1 ._iconButton_1p9zk_358[aria-pressed=true]{border-color:var(--wysiwyg-chrome-primary, #4a7fd4);background:var(--wysiwyg-chrome-primary-soft, #e8eef8)}._backdrop_1p9zk_1 ._iconButton_1p9zk_358:disabled{cursor:not-allowed;opacity:.5}._backdrop_1p9zk_1 ._lengthField_1p9zk_425{display:flex;flex-direction:column;gap:.25rem}._backdrop_1p9zk_1 ._sideLabel_1p9zk_431{font-weight:600}._backdrop_1p9zk_1 ._lengthRow_1p9zk_435{display:flex;gap:.35rem;align-items:center}._backdrop_1p9zk_1 ._lengthInput_1p9zk_360,._backdrop_1p9zk_1 ._select_1p9zk_359,._backdrop_1p9zk_1 ._lengthUnit_1p9zk_361{box-sizing:border-box;margin:0;padding:.3rem .4rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-dialog, #fff);color:inherit;font:inherit}._backdrop_1p9zk_1 ._lengthInput_1p9zk_360{width:4.75rem}._backdrop_1p9zk_1 ._select_1p9zk_359,._backdrop_1p9zk_1 ._lengthUnit_1p9zk_361{min-width:4.5rem}._backdrop_1p9zk_1 ._sideGrid_1p9zk_463,._backdrop_1p9zk_1 ._shadowGrid_1p9zk_464{display:grid;grid-template-columns:1fr 1fr;gap:.55rem .75rem}@media(max-width:28rem){._backdrop_1p9zk_1 ._sideGrid_1p9zk_463,._backdrop_1p9zk_1 ._shadowGrid_1p9zk_464{grid-template-columns:1fr}}._frame_bwkh8_1{position:fixed;z-index:1140;box-sizing:border-box;pointer-events:none;border:1px solid #4a90d9}._handle_bwkh8_9{position:absolute;box-sizing:border-box;padding:0;pointer-events:auto;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;box-shadow:none}._handle_bwkh8_9:focus{outline:none}._handle_bwkh8_9:focus-visible{outline:2px solid #8ab4ff;outline-offset:1px}._handleEast_bwkh8_29{top:0;right:-4px;width:8px;height:calc(100% - 10px);cursor:e-resize}._handleSouth_bwkh8_37{left:0;bottom:-4px;width:calc(100% - 10px);height:8px;cursor:s-resize}._handleSouthEast_bwkh8_45{right:-5px;bottom:-5px;z-index:1;width:10px;height:10px;cursor:se-resize;border:1px solid #4a90d9;background:#fff}._grid_1bpma_1{display:grid;grid-template-columns:repeat(10,1.15rem);gap:2px;width:max-content}._cell_1bpma_8{width:1.15rem;height:1.15rem;padding:0;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);background:var(--wysiwyg-chrome-input, #fff);cursor:pointer}._cell_1bpma_8[data-active=true]{background:var(--wysiwyg-chrome-selected, #cfe3ff);border-color:var(--wysiwyg-chrome-primary, #4a90d9)}._cell_1bpma_8:focus-visible{outline:2px solid var(--wysiwyg-chrome-primary, #4a90d9);outline-offset:1px}._sizeLabel_1bpma_27{margin:.35rem 0 0;color:var(--wysiwyg-chrome-text, #444);font-variant-numeric:tabular-nums}._sizeFields_1bpma_33{align-items:flex-end}._numberInput_1bpma_37{box-sizing:border-box;width:4.5rem;margin:0;padding:.35rem .4rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-input, #fff);color:inherit;font:inherit}._numberInput_1bpma_37:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:1px}._backdrop_9d3gw_1{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:1rem;background:var(--wysiwyg-chrome-backdrop, rgb(0 0 0 / 32%))}._dialog_9d3gw_12{display:flex;flex-direction:column;width:min(90vw,72rem);height:min(90vh,56rem);max-height:calc(100% - 2rem);margin:0;padding:0;overflow:hidden;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:6px;background:var(--wysiwyg-chrome-dialog, #fff);box-shadow:0 8px 24px var(--wysiwyg-chrome-shadow, rgb(0 0 0 / 18%));color:var(--wysiwyg-chrome-dialog-text, #222);font:.875rem/1.4 system-ui,sans-serif}._headerRow_9d3gw_29{display:flex;align-items:flex-start;gap:.5rem;padding:.75rem .5rem .5rem 1rem}._header_9d3gw_29{flex:1;margin:0;padding:0;font-size:1rem;font-weight:600}._close_9d3gw_44{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex-shrink:0;margin:0;padding:.25rem;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}._close_9d3gw_44:hover,._close_9d3gw_44:focus-visible{background:var(--wysiwyg-chrome-hover, #f0f0f0)}._close_9d3gw_44:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:1px}._body_9d3gw_66{flex:1;min-height:0;overflow:hidden;border-top:1px solid var(--wysiwyg-chrome-border, #e5e5e5);border-bottom:1px solid var(--wysiwyg-chrome-border, #e5e5e5);background:var(--wysiwyg-chrome-dialog-muted, #f3f3f3)}._frame_9d3gw_75{display:block;width:100%;height:100%;border:0;background:#fff}._actions_9d3gw_83{display:flex;justify-content:flex-end;gap:.5rem;padding:.75rem 1rem 1rem}._action_9d3gw_83{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:5.5rem;margin:0;padding:.35rem .75rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-dialog-muted, #f7f7f7);color:inherit;font:inherit;cursor:pointer}._action_9d3gw_83:hover,._action_9d3gw_83:focus-visible{background:var(--wysiwyg-chrome-dialog, #fff)}._action_9d3gw_83:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:1px}._panel_6xdnw_1{position:fixed;right:16px;bottom:16px;z-index:10000;width:min(360px,calc(100vw - 32px));max-height:min(480px,calc(100vh - 32px));display:flex;flex-direction:column;border:1px solid var(--wysiwyg-border-color, #d0d0d0);border-radius:8px;background:var(--wysiwyg-surface-background, #fff);color:var(--wysiwyg-text-color, #222);box-shadow:0 8px 24px #0000001f}._header_6xdnw_17{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 12px 8px;border-bottom:1px solid var(--wysiwyg-border-color, #e8e8e8)}._title_6xdnw_26{margin:0;font-size:.9375rem;font-weight:600}._close_6xdnw_32{display:flex;align-items:center;justify-content:center;padding:4px;border:none;border-radius:4px;background:transparent;color:inherit;cursor:pointer}._close_6xdnw_32:hover{background:#0000000f}._messages_6xdnw_48{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:12px}._empty_6xdnw_57{margin:0;color:var(--wysiwyg-muted-color, #666);font-size:.875rem}._message_6xdnw_48{display:flex;flex-direction:column;gap:4px}._messageHeader_6xdnw_69{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:.8125rem}._author_6xdnw_77{font-weight:600}._time_6xdnw_81{color:var(--wysiwyg-muted-color, #666);font-size:.75rem}._body_6xdnw_86{margin:0;font-size:.875rem;line-height:1.45}._reply_6xdnw_92{display:flex;flex-direction:column;gap:8px;padding:12px;border-top:1px solid var(--wysiwyg-border-color, #e8e8e8)}._input_6xdnw_100{width:100%;min-height:72px;padding:8px;border:1px solid var(--wysiwyg-border-color, #d0d0d0);border-radius:6px;font:inherit;resize:vertical;box-sizing:border-box}._post_6xdnw_111{align-self:flex-end;padding:6px 14px;border:none;border-radius:6px;background:var(--wysiwyg-accent-color, #2563eb);color:#fff;font-size:.875rem;font-weight:600;cursor:pointer}._post_6xdnw_111:disabled{opacity:.5;cursor:not-allowed}._backdrop_11w4e_1{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:1rem;background:var(--wysiwyg-chrome-backdrop, rgb(0 0 0 / 32%))}._dialog_11w4e_12{display:flex;flex-direction:column;box-sizing:border-box;width:min(52rem,100%);max-width:100%;min-width:0;max-height:100%;margin:0;padding:0;overflow:hidden;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:6px;background:var(--wysiwyg-chrome-dialog, #fff);box-shadow:0 8px 24px var(--wysiwyg-chrome-shadow, rgb(0 0 0 / 18%));color:var(--wysiwyg-chrome-dialog-text, #222);font:.875rem/1.4 system-ui,sans-serif}._header_11w4e_31{flex-shrink:0;margin:0;padding:.75rem 1rem .5rem;font-size:1rem;font-weight:600}._body_11w4e_39{display:flex;flex:1 1 auto;flex-direction:column;gap:.75rem;min-height:0;padding:.75rem 1rem;overflow:auto}._group_11w4e_49{border:1px solid var(--wysiwyg-chrome-border, #e5e5e5);border-radius:6px;background:var(--wysiwyg-chrome-dialog-group, #fafafa)}._groupDragging_11w4e_55{opacity:.55}._groupDropTarget_11w4e_59{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:-2px}._groupHeader_11w4e_64{display:flex;align-items:center;gap:.4rem;padding:.45rem .6rem;border-bottom:1px solid var(--wysiwyg-chrome-border, #ececec)}._groupTitle_11w4e_72{flex:1;font-weight:600}._dragHandle_11w4e_77,._moveButton_11w4e_78{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;margin:0;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--wysiwyg-chrome-text-muted, #555);cursor:grab}._moveButton_11w4e_78{cursor:pointer}._dragHandle_11w4e_77:hover,._moveButton_11w4e_78:hover,._dragHandle_11w4e_77:focus-visible,._moveButton_11w4e_78:focus-visible{border-color:var(--wysiwyg-chrome-divider, #d0d0d0);background:var(--wysiwyg-chrome-dialog, #fff);color:var(--wysiwyg-chrome-text-strong, #111)}._dragHandle_11w4e_77:focus-visible,._moveButton_11w4e_78:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:-2px}._dragHandle_11w4e_77:disabled,._moveButton_11w4e_78:disabled{cursor:not-allowed;opacity:.4}._items_11w4e_119{display:flex;flex-wrap:wrap;gap:.75rem 1rem;padding:.75rem .85rem .85rem}._item_11w4e_119{display:flex;flex-direction:column;align-items:center;gap:.3rem;min-width:4.5rem;max-width:6.5rem}._itemIcon_11w4e_135{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;color:var(--wysiwyg-chrome-icon, #333)}._itemTitle_11w4e_144{text-align:center;font-size:.75rem;line-height:1.25;overflow-wrap:anywhere}._itemCheckbox_11w4e_151{margin:0}._actions_11w4e_155{display:flex;flex-shrink:0;justify-content:space-between;gap:.5rem;padding:.75rem 1rem 1rem}._action_11w4e_155{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:5.5rem;margin:0;padding:.35rem .75rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:4px;background:var(--wysiwyg-chrome-dialog-muted, #f7f7f7);color:inherit;font:inherit;cursor:pointer}._action_11w4e_155:hover,._action_11w4e_155:focus-visible{background:var(--wysiwyg-chrome-dialog, #fff)}._action_11w4e_155:focus-visible{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:1px}._action_11w4e_155:disabled{cursor:not-allowed;opacity:.5}._spinnerWrap_11w4e_191{display:flex;align-items:center;justify-content:center;min-height:6rem}._spinner_11w4e_191{width:1.1rem;height:1.1rem;border:2px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-top-color:var(--wysiwyg-chrome-primary, #4a7fd4);border-radius:50%;animation:_spin_11w4e_191 .7s linear infinite}@keyframes _spin_11w4e_191{to{transform:rotate(360deg)}}._wrap_1gtdc_1._wrap_1gtdc_1{display:inline-flex;flex-shrink:0;align-items:stretch}._wrap_1gtdc_1._wrapToolbar_1gtdc_7{align-self:stretch;padding:5px .35rem 0}._wrap_1gtdc_1 ._field_1gtdc_12{position:relative;display:flex;flex:0 0 auto;align-items:stretch;height:1.6rem}._wrap_1gtdc_1 ._trigger_1gtdc_20{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;min-width:8.5rem;height:100%;margin:0;padding:0 1.35rem 0 .45rem;border:1px solid var(--wysiwyg-chrome-dialog-border, #c8c8c8);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);color:var(--wysiwyg-chrome-dialog-text, #222);font:.75rem/1.2 system-ui,sans-serif;text-align:start;cursor:pointer}._wrap_1gtdc_1 ._trigger_1gtdc_20:focus{outline:2px solid var(--wysiwyg-chrome-focus, #8ab4ff);outline-offset:-1px}._wrap_1gtdc_1 ._trigger_1gtdc_20:disabled{cursor:not-allowed;opacity:.5}._wrap_1gtdc_1 ._chevron_1gtdc_46{position:absolute;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;width:1.15rem;pointer-events:none;color:var(--wysiwyg-chrome-text, #444)}._wrap_1gtdc_1 ._chevron_1gtdc_46:after{content:"";display:block;width:0;height:0;border-style:solid;border-width:.28rem .22rem 0;border-color:currentColor transparent transparent}._list_1gtdc_69{position:fixed;z-index:1300;min-width:10rem;max-height:min(18rem,calc(100vh - 8px));margin:0;padding:.15rem 0;overflow:auto;border:1px solid var(--wysiwyg-chrome-divider, #d0d0d0);border-radius:3px;background:var(--wysiwyg-chrome-input, #fff);box-shadow:0 4px 12px var(--wysiwyg-chrome-menu-shadow, rgb(0 0 0 / 12%));list-style:none}._option_1gtdc_84{display:block;width:100%;margin:0;padding:.25rem .75rem;border:0;background:transparent;color:var(--wysiwyg-chrome-dialog-text, #222);font-family:system-ui,sans-serif;line-height:1.25;text-align:start;cursor:pointer}._option_1gtdc_84:hover,._option_1gtdc_84:focus-visible{background:var(--wysiwyg-chrome-selected, #e8f0fe);outline:none}._option_1gtdc_84[aria-checked=true]{font-weight:600}._option_1gtdc_84:disabled{cursor:not-allowed;opacity:.5}._separator_1gtdc_113{height:1px;margin:.25rem .5rem;padding:0;background:var(--wysiwyg-chrome-divider, #d0d0d0);border:0;list-style:none}._root_3hjd3_1{all:revert;position:relative;box-sizing:border-box;display:flex;flex-direction:column;flex:1 1 auto;width:100%;min-width:0;height:100%;max-height:100%;min-height:16rem;border:var(--wysiwyg-border-width, 1px) solid var(--wysiwyg-border-color, var(--wysiwyg-chrome-divider, #d0d0d0));border-radius:var(--wysiwyg-border-radius, 6px);box-shadow:var(--wysiwyg-border-shadow, none);overflow:hidden;background:#fff;color:#111;font-family:system-ui,sans-serif;font-size:1rem;font-weight:400;font-style:normal;font-variant:normal;line-height:1.5;letter-spacing:normal;text-align:start;text-indent:0;text-transform:none;text-decoration:none;text-shadow:none;white-space:normal;word-spacing:normal;direction:ltr}._root_3hjd3_1._fullscreen_3hjd3_36{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;width:100%;height:100%;min-height:0;border:none;border-radius:0;box-shadow:none}._root_3hjd3_1 ._exitFullscreen_3hjd3_48{position:absolute;z-index:2;top:.4rem;right:.4rem;display:inline-flex;align-items:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:2rem;height:2rem;margin:0;padding:0;border:0;border-radius:4px;background:var(--wysiwyg-chrome-menu, #fff);color:var(--wysiwyg-chrome-text, #444);font:inherit;cursor:pointer;box-shadow:0 1px 3px var(--wysiwyg-chrome-menu-shadow, rgb(0 0 0 / 20%))}._root_3hjd3_1 ._exitFullscreen_3hjd3_48:hover{background:var(--wysiwyg-chrome-hover, #f4f4f4)}._root_3hjd3_1 ._exitFullscreen_3hjd3_48:focus{outline:none;box-shadow:inset 0 0 0 2px var(--wysiwyg-chrome-focus, #8ab4ff)}._root_3hjd3_1 ._exitFullscreenIcon_3hjd3_79{display:block;width:1rem;height:1rem;flex-shrink:0}._root_3hjd3_1 *:not(:is(svg,svg *)),._root_3hjd3_1 *:before,._root_3hjd3_1 *:after{all:revert;box-sizing:border-box}._root_3hjd3_1 ._menuChrome_3hjd3_94{display:flex;flex-direction:column;flex-shrink:0;align-items:stretch;z-index:2;width:100%;min-width:0}._root_3hjd3_1 ._body_3hjd3_105._body_3hjd3_105{position:relative;display:grid;flex:1 1 auto;min-width:0;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}._root_3hjd3_1 ._body_3hjd3_105._body_3hjd3_105[data-icon-dock=top]{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}._root_3hjd3_1 ._body_3hjd3_105._body_3hjd3_105[data-icon-dock=bottom]{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}._root_3hjd3_1 ._body_3hjd3_105._body_3hjd3_105[data-icon-dock=left]{grid-template-columns:12rem minmax(0,1fr);grid-template-rows:minmax(min-content,1fr)}._root_3hjd3_1 ._body_3hjd3_105._body_3hjd3_105[data-icon-dock=right]{grid-template-columns:minmax(0,1fr) 12rem;grid-template-rows:minmax(min-content,1fr)}._root_3hjd3_1 ._iconChrome_3hjd3_135._iconChrome_3hjd3_135{display:flex;flex-direction:column;align-items:stretch;z-index:1;min-width:0}._root_3hjd3_1[data-toolbar-position=top] ._iconChrome_3hjd3_135{width:100%;border-bottom:1px solid var(--wysiwyg-chrome-border, #e5e5e5)}._root_3hjd3_1[data-toolbar-position=bottom] ._iconChrome_3hjd3_135{width:100%;border-top:1px solid var(--wysiwyg-chrome-border, #e5e5e5)}._root_3hjd3_1[data-toolbar-position=left] ._iconChrome_3hjd3_135._iconChrome_3hjd3_135,._root_3hjd3_1[data-toolbar-position=right] ._iconChrome_3hjd3_135._iconChrome_3hjd3_135{align-self:stretch;box-sizing:border-box;width:100%;min-width:12rem;overflow-x:hidden;overflow-y:auto}._root_3hjd3_1[data-toolbar-position=left] ._iconChrome_3hjd3_135{border-right:1px solid var(--wysiwyg-chrome-border, #e5e5e5)}._root_3hjd3_1[data-toolbar-position=right] ._iconChrome_3hjd3_135{border-left:1px solid var(--wysiwyg-chrome-border, #e5e5e5)}._root_3hjd3_1[data-toolbar-position=left] ._iconChrome_3hjd3_135>*,._root_3hjd3_1[data-toolbar-position=right] ._iconChrome_3hjd3_135>*{width:100%;min-width:0;height:auto;min-height:100%}._root_3hjd3_1 ._workspace_3hjd3_179{position:relative;display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;overflow:auto;padding:1rem;background:#f0f0f0}._root_3hjd3_1 ._workspacePageSized_3hjd3_191{align-items:center}._root_3hjd3_1 ._pageCanvasViewport_3hjd3_195{display:flex;flex:1 0 auto;flex-direction:column;align-items:center;width:100%;min-height:min-content;transform-origin:top center}._root_3hjd3_1 ._htmlFileDropOverlay_3hjd3_205{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;pointer-events:none;background:#ffffffd9;color:#111;font-size:1rem;font-weight:600}._root_3hjd3_1 ._surface_3hjd3_219{width:100%;min-height:100%;background:#fff;box-shadow:0 1px 3px #0000001f}._root_3hjd3_1 ._visual_3hjd3_226{flex:1 0 auto;min-height:100%;padding:.75rem;outline:none;user-select:text;-webkit-user-select:text}._root_3hjd3_1 ._visual_3hjd3_226[data-page-sized]{flex:0 0 auto;width:auto;min-height:auto;margin:0 auto;padding:0;box-sizing:border-box}._root_3hjd3_1 ._visual_3hjd3_226:focus{box-shadow:inset 0 0 0 2px #8ab4ff}._root_3hjd3_1 ._visual_3hjd3_226:empty:before{content:attr(data-placeholder);color:#888}._root_3hjd3_1 ._visual_3hjd3_226[aria-disabled=true]{opacity:.6;background:#f7f7f7}._root_3hjd3_1 ._multiPageContainer_3hjd3_258{display:flex;flex-direction:column;align-items:center;width:100%;min-height:100%}._root_3hjd3_1 ._pageBlock_3hjd3_266{display:flex;flex-direction:column;width:100%;align-items:center}._root_3hjd3_1 ._pageGap_3hjd3_273{flex-shrink:0;height:1.5rem;background:var(--wysiwyg-toolbar-background, var(--wysiwyg-chrome-toolbar, #f4f4f4))}._root_3hjd3_1 ._pageSurface_3hjd3_279{flex-shrink:0;min-height:12rem}._root_3hjd3_1 ._html_3hjd3_205{display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;flex:1 1 auto;width:100%;margin:0;min-height:100%;padding:.75rem;border:0;border-radius:0;resize:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875rem;font-weight:400;font-style:normal;line-height:1.5;letter-spacing:normal;color:#111;outline:none;background:#fff}._root_3hjd3_1 ._html_3hjd3_205:focus{box-shadow:inset 0 0 0 2px #8ab4ff}._root_3hjd3_1 ._html_3hjd3_205:disabled{opacity:.6}._visual_3hjd3_226 p{margin:0 0 .75em}._visual_3hjd3_226 p:last-child{margin-bottom:0}._visual_3hjd3_226 h1,._visual_3hjd3_226 h2,._visual_3hjd3_226 h3,._visual_3hjd3_226 h4,._visual_3hjd3_226 h5,._visual_3hjd3_226 h6{margin:1em 0 .5em;font-weight:600;line-height:1.25;color:inherit}._visual_3hjd3_226 h1:first-child,._visual_3hjd3_226 h2:first-child,._visual_3hjd3_226 h3:first-child,._visual_3hjd3_226 h4:first-child,._visual_3hjd3_226 h5:first-child,._visual_3hjd3_226 h6:first-child{margin-top:0}._visual_3hjd3_226 h1{font-size:1.75rem}._visual_3hjd3_226 h2{font-size:1.5rem}._visual_3hjd3_226 h3{font-size:1.25rem}._visual_3hjd3_226 h4{font-size:1.125rem}._visual_3hjd3_226 h5{font-size:1rem}._visual_3hjd3_226 h6{font-size:.875rem}._visual_3hjd3_226 ul,._visual_3hjd3_226 ol{margin:0 0 .75em;padding-left:1.5em}._visual_3hjd3_226 li{margin:.25em 0}._visual_3hjd3_226 a{color:#06c;text-decoration:underline}._visual_3hjd3_226 strong,._visual_3hjd3_226 b{font-weight:700}._visual_3hjd3_226 em,._visual_3hjd3_226 i{font-style:italic}._visual_3hjd3_226 u{text-decoration:underline}._visual_3hjd3_226 s{text-decoration:line-through}._visual_3hjd3_226 blockquote{margin:0 0 .75em;padding:0 0 0 .75em;border:0;border-left:3px solid #d0d0d0;color:#444}._visual_3hjd3_226 code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875em;background:#f4f4f4;padding:.1em .3em;border-radius:3px}._visual_3hjd3_226 pre{margin:0 0 .75em;padding:.75em;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.875rem;line-height:1.5;background:#f4f4f4;border-radius:4px}._visual_3hjd3_226 pre code{background:transparent;padding:0;font-size:inherit}._visual_3hjd3_226 hr{margin:1em 0;border:0;border-top:1px solid #d0d0d0}._visual_3hjd3_226 img{max-width:100%;vertical-align:middle}._root_3hjd3_1[data-comments-visible] .wysiwyg-comment-anchor{background-color:#ffd40059;outline:1px solid rgba(255,170,0,.8)}._root_3hjd3_1[data-comments-visible] img.wysiwyg-comment-anchor{outline:2px solid rgba(255,170,0,.9);outline-offset:2px}
@@ -0,0 +1,3 @@
1
+ import { EditorProps } from '../types';
2
+ export declare function Editor({ value, defaultValue, onChange, onAutoSave, onSave, onOpen, mode: modeProp, defaultMode, onModeChange, fullscreen: fullscreenProp, defaultFullscreen, onFullscreenChange, placeholder, disabled, readOnly, className, locale, toolbarBackground, menuColor, menuBackground, menuFontSize, menuFontFamily, border, menuVisible, toolbarVisible, allowedChrome, customActions, customFonts, transformHtml, loadCustomParagraphStyles, onSaveCustomParagraphStyle, onDeleteCustomParagraphStyle, customImagePicker, disableBuiltinImageInsert, customAudioPicker, disableBuiltinAudioInsert, customVideoPicker, disableBuiltinVideoInsert, disableHtmlFileDrop, toolbarCustomization, darkMode, darkModePersistence, toolbarPosition, toolbarPositionPersistence, enableMultiPages, pages: pagesProp, defaultPages, onPagesChange, enableComments, defaultCommentsVisible, commentAuthor, comments: commentsProp, defaultComments, onCommentsChange, }: EditorProps): import("react").JSX.Element;
3
+ //# sourceMappingURL=Editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/components/Editor.tsx"],"names":[],"mappings":"AAgPA,OAAO,KAAK,EASV,WAAW,EAIZ,MAAM,UAAU,CAAA;AASjB,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,YAAiB,EACjB,QAAQ,EACR,UAAU,EACV,MAAM,EACN,MAAM,EACN,IAAI,EAAE,QAAQ,EACd,WAAsB,EACtB,YAAY,EACZ,UAAU,EAAE,cAAc,EAC1B,iBAAyB,EACzB,kBAAkB,EAClB,WAAW,EACX,QAAQ,EACR,QAAgB,EAChB,SAAS,EACT,MAAa,EACb,iBAAiB,EACjB,SAAS,EACT,cAAc,EACd,YAAY,EACZ,cAAc,EACd,MAAM,EACN,WAAkB,EAClB,cAAqB,EACrB,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,yBAAyB,EACzB,0BAA0B,EAC1B,4BAA4B,EAC5B,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EACjB,yBAAyB,EACzB,mBAA2B,EAC3B,oBAAoB,EACpB,QAAgB,EAChB,mBAAmB,EACnB,eAAuB,EACvB,0BAA0B,EAC1B,gBAAwB,EACxB,KAAK,EAAE,SAAS,EAChB,YAAY,EACZ,aAAa,EACb,cAAsB,EACtB,sBAA6B,EAC7B,aAAa,EACb,QAAQ,EAAE,YAAY,EACtB,eAAoB,EACpB,gBAAgB,GACjB,EAAE,WAAW,+BA29Fb"}
@@ -0,0 +1,9 @@
1
+ type HtmlSurfaceProps = {
2
+ html: string;
3
+ onChange: (html: string) => void;
4
+ placeholder?: string;
5
+ disabled?: boolean;
6
+ };
7
+ export declare const HtmlSurface: import('react').ForwardRefExoticComponent<HtmlSurfaceProps & import('react').RefAttributes<HTMLTextAreaElement>>;
8
+ export {};
9
+ //# sourceMappingURL=HtmlSurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HtmlSurface.d.ts","sourceRoot":"","sources":["../../src/components/HtmlSurface.tsx"],"names":[],"mappings":"AAIA,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,WAAW,kHAiBvB,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { MouseEvent as ReactMouseEvent, PointerEvent as ReactPointerEvent } from 'react';
2
+ export type MultiPageVisualSurfaceHandle = {
3
+ getContainer: () => HTMLDivElement | null;
4
+ getActivePageRoot: () => HTMLElement | null;
5
+ getActivePageIndex: () => number;
6
+ flushPageHtml: (index: number) => string | null;
7
+ };
8
+ type MultiPageVisualSurfaceProps = {
9
+ pages: readonly string[];
10
+ activePageIndex: number;
11
+ onActivePageIndexChange: (index: number) => void;
12
+ onPageChange: (index: number, html: string) => void;
13
+ placeholder?: string;
14
+ disabled?: boolean;
15
+ onBeforeInput?: (event: InputEvent) => void;
16
+ onPointerDown?: (event: ReactPointerEvent<HTMLDivElement>) => void;
17
+ onMouseUp?: (event: ReactMouseEvent<HTMLDivElement>) => void;
18
+ onContextMenu?: (event: ReactMouseEvent<HTMLDivElement>) => void;
19
+ };
20
+ export declare const MultiPageVisualSurface: import('react').ForwardRefExoticComponent<MultiPageVisualSurfaceProps & import('react').RefAttributes<MultiPageVisualSurfaceHandle>>;
21
+ export {};
22
+ //# sourceMappingURL=MultiPageVisualSurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiPageVisualSurface.d.ts","sourceRoot":"","sources":["../../src/components/MultiPageVisualSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,UAAU,IAAI,eAAe,EAClC,KAAK,YAAY,IAAI,iBAAiB,EACvC,MAAM,OAAO,CAAA;AAQd,MAAM,MAAM,4BAA4B,GAAG;IACzC,YAAY,EAAE,MAAM,cAAc,GAAG,IAAI,CAAA;IACzC,iBAAiB,EAAE,MAAM,WAAW,GAAG,IAAI,CAAA;IAC3C,kBAAkB,EAAE,MAAM,MAAM,CAAA;IAChC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAA;CAChD,CAAA;AAED,KAAK,2BAA2B,GAAG;IACjC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;IACvB,uBAAuB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChD,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IAC3C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;IAClE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;IAC5D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;CACjE,CAAA;AAED,eAAO,MAAM,sBAAsB,sIAsGjC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { MouseEvent as ReactMouseEvent, PointerEvent as ReactPointerEvent } from 'react';
2
+ type VisualSurfaceProps = {
3
+ html: string;
4
+ onChange: (html: string) => void;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ onBeforeInput?: (event: InputEvent) => void;
8
+ onPointerDown?: (event: ReactPointerEvent<HTMLDivElement>) => void;
9
+ onMouseUp?: (event: ReactMouseEvent<HTMLDivElement>) => void;
10
+ onContextMenu?: (event: ReactMouseEvent<HTMLDivElement>) => void;
11
+ };
12
+ export declare const VisualSurface: import('react').ForwardRefExoticComponent<VisualSurfaceProps & import('react').RefAttributes<HTMLDivElement>>;
13
+ export {};
14
+ //# sourceMappingURL=VisualSurface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VisualSurface.d.ts","sourceRoot":"","sources":["../../src/components/VisualSurface.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,UAAU,IAAI,eAAe,EAClC,KAAK,YAAY,IAAI,iBAAiB,EACvC,MAAM,OAAO,CAAA;AAMd,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IAC3C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;IAClE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;IAC5D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,KAAK,IAAI,CAAA;CACjE,CAAA;AAED,eAAO,MAAM,aAAa,+GA2DzB,CAAA"}
@@ -0,0 +1,16 @@
1
+ export type AudioAttrs = {
2
+ src: string;
3
+ title: string;
4
+ css?: string;
5
+ };
6
+ export type AudioSrcError = 'empty' | 'invalid';
7
+ export type AudioFileError = 'type' | 'tooLarge';
8
+ export declare const AUDIO_MAX_FILE_BYTES: number;
9
+ export declare const AUDIO_ACCEPT = "audio/mpeg,audio/mp3,audio/wav,audio/x-wav,audio/ogg,audio/aac,audio/webm,audio/mp4,audio/x-m4a,.mp3,.wav,.ogg,.aac,.webm,.m4a";
10
+ export declare function defaultAudioAttrs(overrides?: Partial<AudioAttrs>): AudioAttrs;
11
+ export declare function validateAudioSrc(src: string): AudioSrcError | null;
12
+ export declare function validateAudioFile(file: File): AudioFileError | null;
13
+ export declare function readAudioFileAsDataUrl(file: File): Promise<string>;
14
+ export declare function applyAudioAttrs(audio: HTMLAudioElement, attrs: AudioAttrs): void;
15
+ export declare function insertAudioInDocument(root: HTMLElement, attrs: AudioAttrs): boolean;
16
+ //# sourceMappingURL=audio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/core/audio.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,CAAA;AAE/C,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,CAAA;AAEhD,eAAO,MAAM,oBAAoB,QAAkB,CAAA;AAEnD,eAAO,MAAM,YAAY,mIACyG,CAAA;AAqBlI,wBAAgB,iBAAiB,CAAC,SAAS,GAAE,OAAO,CAAC,UAAU,CAAM,GAAG,UAAU,CAMjF;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAYlE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,cAAc,GAAG,IAAI,CAInE;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAmBlE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI,CAQhF;AAeD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAmBnF"}
@@ -0,0 +1,10 @@
1
+ export declare const PARAGRAPH_STYLE_TAGS: readonly ["p", "h1", "h2", "h3", "h4", "h5", "h6"];
2
+ export type ParagraphStyleTag = (typeof PARAGRAPH_STYLE_TAGS)[number];
3
+ export type BlockFormatQuery = {
4
+ tag: ParagraphStyleTag | null;
5
+ mixed: boolean;
6
+ };
7
+ export declare function isParagraphStyleTag(tag: string): tag is ParagraphStyleTag;
8
+ export declare function queryBlockFormat(root: HTMLElement): BlockFormatQuery;
9
+ export declare function setBlockFormatInDocument(root: HTMLElement, tag: ParagraphStyleTag): boolean;
10
+ //# sourceMappingURL=blockFormat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockFormat.d.ts","sourceRoot":"","sources":["../../src/core/blockFormat.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,oBAAoB,oDAAqD,CAAA;AAEtF,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAA;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC7B,KAAK,EAAE,OAAO,CAAA;CACf,CAAA;AAoBD,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,iBAAiB,CAEzE;AA6ID,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,GAAG,gBAAgB,CAapE;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAyB3F"}
@@ -0,0 +1,19 @@
1
+ export declare const ALIGNABLE_TAGS: Set<string>;
2
+ export declare function tagName(el: Element): string;
3
+ export declare function elementFromNode(node: Node): Element | null;
4
+ export declare function isListContainer(node: Node): node is HTMLElement;
5
+ export declare function isListItem(node: Node): node is HTMLElement;
6
+ export declare function currentRange(root: HTMLElement): Range | null;
7
+ export declare function nodesForRange(range: Range): Node[];
8
+ export declare function textOffsetFromRoot(root: HTMLElement, node: Node, offset: number): number;
9
+ export declare function restoreOffsets(root: HTMLElement, start: number, end: number): void;
10
+ export declare function withRestoredSelection(root: HTMLElement, mutate: () => boolean): boolean;
11
+ export declare function renameElement(el: HTMLElement, tag: string): HTMLElement;
12
+ export declare function clearEmptyStyle(el: HTMLElement): void;
13
+ export declare function nearestAlignable(root: HTMLElement, node: Node): HTMLElement | null;
14
+ export declare function collectSelectedBlocks(root: HTMLElement): HTMLElement[];
15
+ export declare function wrapLoosePhrasing(root: HTMLElement, range: Range): HTMLElement | null;
16
+ export declare function ensureSelectedBlocks(root: HTMLElement): HTMLElement[];
17
+ export declare function parentList(li: HTMLElement): HTMLElement | null;
18
+ export declare function groupConsecutiveSiblings(blocks: HTMLElement[]): HTMLElement[][];
19
+ //# sourceMappingURL=blocks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../src/core/blocks.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,aAWzB,CAAA;AAKF,wBAAgB,OAAO,CAAC,EAAE,EAAE,OAAO,GAAG,MAAM,CAE3C;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,GAAG,IAAI,CAI1D;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,IAAI,WAAW,CAE/D;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,IAAI,WAAW,CAE1D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,KAAK,GAAG,IAAI,CAM5D;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,EAAE,CAKlD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CA2BxF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAKlF;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,GAAG,OAAO,CAUvF;AAED,wBAAgB,aAAa,CAAC,EAAE,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW,CAWvE;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAIrD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,GAAG,WAAW,GAAG,IAAI,CAalF;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,EAAE,CAatE;AAkED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,GAAG,WAAW,GAAG,IAAI,CA4BrF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,EAAE,CAOrE;AAED,wBAAgB,UAAU,CAAC,EAAE,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAG9D;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,EAAE,EAAE,CAa/E"}
@@ -0,0 +1,10 @@
1
+ export declare const BOOKMARK_NAME_PATTERN: RegExp;
2
+ export type BookmarkEntry = {
3
+ id: string;
4
+ };
5
+ export type BookmarkNameError = 'empty' | 'invalid' | 'duplicate';
6
+ export declare function listBookmarks(visualRoot: HTMLElement): BookmarkEntry[];
7
+ export declare function bookmarkIds(visualRoot: HTMLElement): Set<string>;
8
+ export declare function validateBookmarkName(name: string, existingIds: ReadonlySet<string>): BookmarkNameError | null;
9
+ export declare function insertBookmarkInDocument(root: HTMLElement, name: string): boolean;
10
+ //# sourceMappingURL=bookmark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bookmark.d.ts","sourceRoot":"","sources":["../../src/core/bookmark.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,QAA6B,CAAA;AAE/D,MAAM,MAAM,aAAa,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAA;AAE1C,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAAA;AAIjE,wBAAgB,aAAa,CAAC,UAAU,EAAE,WAAW,GAAG,aAAa,EAAE,CAatE;AAED,wBAAgB,WAAW,CAAC,UAAU,EAAE,WAAW,GAAG,GAAG,CAAC,MAAM,CAAC,CAEhE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,GAC/B,iBAAiB,GAAG,IAAI,CAM1B;AAqBD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CA8BjF"}
@@ -0,0 +1,22 @@
1
+ import { CssLength } from './cssLength';
2
+ import { BoxSides } from './paragraphBox';
3
+ import { TextAlign } from './textAlign';
4
+ export declare const CELL_VERTICAL_ALIGNS: readonly ["top", "middle", "bottom", "baseline"];
5
+ export type CellVerticalAlign = (typeof CELL_VERTICAL_ALIGNS)[number];
6
+ export type CellPropertiesApply = {
7
+ backgroundColor: string | null;
8
+ color: string | null;
9
+ padding: BoxSides;
10
+ textAlign: TextAlign | null;
11
+ verticalAlign: CellVerticalAlign | null;
12
+ width: CssLength | null;
13
+ colSpan: number;
14
+ rowSpan: number;
15
+ };
16
+ export declare function defaultCellPropertiesApply(overrides?: Partial<CellPropertiesApply>): CellPropertiesApply;
17
+ export declare function readCellProperties(cell: HTMLTableCellElement): CellPropertiesApply;
18
+ export declare function writeCellProperties(cell: HTMLTableCellElement, draft: CellPropertiesApply): boolean;
19
+ export declare function queryCellAtSelection(root: HTMLElement): CellPropertiesApply | null;
20
+ export declare function applyCellPropertiesInDocument(root: HTMLElement, draft: CellPropertiesApply): boolean;
21
+ export declare function cellPropertiesEqual(a: CellPropertiesApply, b: CellPropertiesApply): boolean;
22
+ //# sourceMappingURL=cellProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cellProperties.d.ts","sourceRoot":"","sources":["../../src/core/cellProperties.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,aAAa,CAAA;AAEpB,OAAO,EAKL,KAAK,QAAQ,EACd,MAAM,gBAAgB,CAAA;AAGvB,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,aAAa,CAAA;AAE3E,eAAO,MAAM,oBAAoB,kDAAmD,CAAA;AAEpF,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAA;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,OAAO,EAAE,QAAQ,CAAA;IACjB,SAAS,EAAE,SAAS,GAAG,IAAI,CAAA;IAC3B,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAA;IACvC,KAAK,EAAE,SAAS,GAAG,IAAI,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAID,wBAAgB,0BAA0B,CACxC,SAAS,GAAE,OAAO,CAAC,mBAAmB,CAAM,GAC3C,mBAAmB,CAYrB;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,oBAAoB,GAAG,mBAAmB,CAWlF;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,oBAAoB,EAC1B,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAyBT;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,mBAAmB,GAAG,IAAI,CAIlF;AAED,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAeT;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,mBAAmB,EAAE,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAW3F"}
@@ -0,0 +1,2 @@
1
+ export declare function clearFormattingInDocument(root: HTMLElement): boolean;
2
+ //# sourceMappingURL=clearFormatting.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clearFormatting.d.ts","sourceRoot":"","sources":["../../src/core/clearFormatting.ts"],"names":[],"mappings":"AAyDA,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAcpE"}
@@ -0,0 +1,9 @@
1
+ export type ClipboardPayload = {
2
+ html: string;
3
+ text: string;
4
+ };
5
+ export declare function serializeSelection(root: HTMLElement): ClipboardPayload | null;
6
+ export declare function deleteSelectionInDocument(root: HTMLElement): boolean;
7
+ export declare function copySelectionInDocument(root: HTMLElement): Promise<boolean>;
8
+ export declare function cutSelectionInDocument(root: HTMLElement): Promise<boolean>;
9
+ //# sourceMappingURL=clipboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../src/core/clipboard.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAUD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,WAAW,GAAG,gBAAgB,GAAG,IAAI,CAe7E;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAQpE;AAiCD,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAIjF;AAED,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAGhF"}