@eigenpal/docx-js-editor 0.0.30 → 0.0.32

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 (62) hide show
  1. package/dist/{ClipboardManager-D0D4aUKE.d.ts → ClipboardManager-C0rTRkVQ.d.ts} +29 -1
  2. package/dist/{ClipboardManager-t936d0KD.d.mts → ClipboardManager-CgpKW2At.d.mts} +29 -1
  3. package/dist/PageSetupDialog-2SKHDRTF.js +1 -0
  4. package/dist/PageSetupDialog-SMQJXEBL.mjs +1 -0
  5. package/dist/chunk-2HDYCD2Q.mjs +1 -0
  6. package/dist/chunk-37SLIJPH.mjs +58 -0
  7. package/dist/{chunk-KCUPCJFL.mjs → chunk-6AJI5NPH.mjs} +1 -1
  8. package/dist/chunk-7MGFEP2R.mjs +26 -0
  9. package/dist/chunk-7QTNB64A.mjs +9 -0
  10. package/dist/chunk-EEV6TUOX.mjs +261 -0
  11. package/dist/chunk-EF3LLEN7.js +4 -0
  12. package/dist/chunk-EV3CM6TU.js +1 -0
  13. package/dist/chunk-HWWZOJMR.mjs +4 -0
  14. package/dist/{chunk-VHWEKJ35.js → chunk-KCOGY3V2.js} +5 -5
  15. package/dist/chunk-KUL2SDYC.js +26 -0
  16. package/dist/chunk-P7WEP4JU.js +9 -0
  17. package/dist/{chunk-Z35FA4M4.mjs → chunk-RTFUE3KK.mjs} +5 -5
  18. package/dist/{chunk-XGL3EGKF.js → chunk-UMDJQ3Q4.js} +4 -4
  19. package/dist/chunk-WH2EK2HU.js +261 -0
  20. package/dist/chunk-ZJNGMDRE.js +58 -0
  21. package/dist/core-plugins-reexport.js +1 -1
  22. package/dist/core-plugins-reexport.mjs +1 -1
  23. package/dist/core-reexport.d.mts +2 -2
  24. package/dist/core-reexport.d.ts +2 -2
  25. package/dist/core-reexport.js +1 -1
  26. package/dist/core-reexport.mjs +1 -1
  27. package/dist/headless-reexport.js +2 -2
  28. package/dist/headless-reexport.mjs +1 -1
  29. package/dist/index.d.mts +10 -27
  30. package/dist/index.d.ts +10 -27
  31. package/dist/index.js +23 -66
  32. package/dist/index.mjs +23 -66
  33. package/dist/mcp-reexport.js +10 -10
  34. package/dist/mcp-reexport.mjs +9 -9
  35. package/dist/{react-C-pJU0Y4.d.mts → react-B2h6vE3D.d.mts} +118 -83
  36. package/dist/{react-By80Gfi-.d.ts → react-CAc4htNH.d.ts} +118 -83
  37. package/dist/react.d.mts +2 -2
  38. package/dist/react.d.ts +2 -2
  39. package/dist/react.js +1 -1
  40. package/dist/react.mjs +1 -1
  41. package/dist/selectionRects-DEX5THEG.js +1 -0
  42. package/dist/selectionRects-SQTAHMCH.mjs +1 -0
  43. package/dist/styles.css +1 -1
  44. package/dist/ui.js +1 -1
  45. package/dist/ui.mjs +1 -1
  46. package/package.json +2 -1
  47. package/dist/PageSetupDialog-3QCVUNDL.mjs +0 -1
  48. package/dist/PageSetupDialog-ZZTFPZKJ.js +0 -1
  49. package/dist/chunk-2KHL5RSD.js +0 -4
  50. package/dist/chunk-7HZRJTOL.mjs +0 -4
  51. package/dist/chunk-CQRI4YUS.mjs +0 -26
  52. package/dist/chunk-G72SXG7G.js +0 -258
  53. package/dist/chunk-I6LFWQFR.mjs +0 -59
  54. package/dist/chunk-IRO7KGGC.js +0 -59
  55. package/dist/chunk-MRWJ3GNH.js +0 -9
  56. package/dist/chunk-MVCTPHRR.mjs +0 -258
  57. package/dist/chunk-QQ63M65M.js +0 -1
  58. package/dist/chunk-TDEHAPMZ.mjs +0 -1
  59. package/dist/chunk-VR6PT4IZ.js +0 -26
  60. package/dist/chunk-YGTSQZRK.mjs +0 -9
  61. package/dist/selectionRects-6TRAXB7D.js +0 -1
  62. package/dist/selectionRects-IS7ZAS3A.mjs +0 -1
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as ReactEditorPlugin } from './react-C-pJU0Y4.mjs';
2
- export { D as DEFAULT_SELECTION_STYLE, a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, E as EditorMode, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, H as HIGH_CONTRAST_SELECTION_STYLE, j as HighlightRect, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as RenderAsyncOptions, S as SELECTION_CSS_VARS, r as SelectionHighlightConfig, s as SelectionOverlayProps, t as SelectionRange, T as TableSelectionState, U as UnsupportedFeatureWarning, u as UnsupportedFeatureWarningProps, v as UseAutoSaveOptions, w as UseAutoSaveReturn, x as UseClipboardOptions, y as UseClipboardReturn, z as UseSelectionHighlightOptions, A as UseSelectionHighlightReturn, B as UseTableSelectionOptions, C as UseTableSelectionReturn, F as UseWheelZoomOptions, G as UseWheelZoomReturn, Z as ZOOM_PRESETS, I as areSelectionStylesInjected, J as clampZoom, K as clearSelection, L as createSelectionChangeHandler, M as findNearestZoomPreset, N as formatZoom, O as generateOverlayElements, Q as generateSelectionCSS, V as getHighlightRectStyle, W as getMergedSelectionRects, X as getNextZoomPreset, Y as getPreviousZoomPreset, _ as getSelectedText, $ as getSelectionBoundingRect, a0 as getSelectionRects, a1 as getUserFriendlyMessage, a2 as getZoomPresets, a3 as hasActiveSelection, a4 as highlightTextRange, a5 as injectSelectionStyles, a6 as isParseError, a7 as isSelectionBackwards, a8 as isSelectionWithin, a9 as isZoomPreset, aa as mergeAdjacentRects, ab as normalizeSelectionDirection, ac as parseZoom, ad as removeSelectionStyles, ae as renderAsync, af as selectRange, ag as useAutoSave, ah as useClipboard, ai as useErrorNotifications, aj as useSelectionHighlight, ak as useTableSelection, al as useWheelZoom } from './react-C-pJU0Y4.mjs';
1
+ import { R as ReactEditorPlugin } from './react-B2h6vE3D.mjs';
2
+ export { D as DEFAULT_SELECTION_STYLE, a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, E as EditorMode, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, H as HIGH_CONTRAST_SELECTION_STYLE, j as HighlightRect, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as ReactSidebarItem, r as RenderAsyncOptions, S as SELECTION_CSS_VARS, s as SelectionHighlightConfig, t as SelectionOverlayProps, u as SelectionRange, v as SidebarItemRenderProps, T as TableSelectionState, U as UnsupportedFeatureWarning, w as UnsupportedFeatureWarningProps, x as UseAutoSaveOptions, y as UseAutoSaveReturn, z as UseClipboardOptions, A as UseClipboardReturn, B as UseSelectionHighlightOptions, C as UseSelectionHighlightReturn, F as UseTableSelectionOptions, G as UseTableSelectionReturn, I as UseWheelZoomOptions, J as UseWheelZoomReturn, Z as ZOOM_PRESETS, K as areSelectionStylesInjected, L as clampZoom, M as clearSelection, N as createSelectionChangeHandler, O as findNearestZoomPreset, Q as formatZoom, V as generateOverlayElements, W as generateSelectionCSS, X as getHighlightRectStyle, Y as getMergedSelectionRects, _ as getNextZoomPreset, $ as getPreviousZoomPreset, a0 as getSelectedText, a1 as getSelectionBoundingRect, a2 as getSelectionRects, a3 as getUserFriendlyMessage, a4 as getZoomPresets, a5 as hasActiveSelection, a6 as highlightTextRange, a7 as injectSelectionStyles, a8 as isParseError, a9 as isSelectionBackwards, aa as isSelectionWithin, ab as isZoomPreset, ac as mergeAdjacentRects, ad as normalizeSelectionDirection, ae as parseZoom, af as removeSelectionStyles, ag as renderAsync, ah as selectRange, ai as useAutoSave, aj as useClipboard, ak as useErrorNotifications, al as useSelectionHighlight, am as useTableSelection, an as useWheelZoom } from './react-B2h6vE3D.mjs';
3
3
  export { D as DocumentAgent, g as DocxInput, t as toArrayBuffer } from './DocumentAgent-BqA9EJ3F.mjs';
4
4
  export { A as AgentContextOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, p as executeCommand, q as executeCommands, r as formatPx, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, x as getTemplateTags, y as halfPointsToPixels, z as isBlack, B as isWhite, D as lightenColor, G as parseColorString, H as parseDocx, I as pixelsToEmu, J as pixelsToTwips, K as pointsToPixels, M as processTemplate, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './colorResolver-BwI_Uxp3.mjs';
5
5
  export { I as InsertPosition, c as canRenderFont, a as countPageBreaks, b as createColumnBreak, d as createHorizontalRule, e as createLineBreak, f as createPageBreak, g as createPageBreakParagraph, h as createPageBreakRun, i as findPageBreaks, j as getLoadedFonts, k as hasPageBreakBefore, l as insertHorizontalRule, m as insertPageBreak, n as isBreakContent, o as isColumnBreak, p as isFontLoaded, q as isFontsLoading, r as isLineBreak, s as isPageBreak, t as loadFont, u as loadFontFromBuffer, v as loadFonts, w as onFontsLoaded, x as preloadCommonFonts, y as removePageBreak } from './fontLoader-DicgJidU.mjs';
@@ -8,15 +8,14 @@ export { AdvancedColorPicker, AlignmentButtons, AlignmentButtonsProps, ColorOpti
8
8
  import { ReactNode } from 'react';
9
9
  import * as react_jsx_runtime from 'react/jsx-runtime';
10
10
  export { C as CLIPBOARD_TYPES, a as ClipboardContent, b as ClipboardOptions, I as INTERNAL_CLIPBOARD_TYPE, P as ParsedClipboardContent, c as PrintButton, d as PrintButtonProps, e as PrintOptions, f as PrintStyles, T as TableAction, g as TableContext, h as TableSelection, i as TableToolbar, j as TableToolbarProps, k as addColumn, l as addRow, m as cleanWordHtml, n as copyParagraphs, o as copyRuns, p as createClipboardHandlers, q as createTableContext, r as deleteColumn, s as deleteRow, t as formatPrintPageRange, u as getCellAt, v as getColumnCount, w as getDefaultPrintOptions, x as handlePasteEvent, y as htmlToRuns, z as isEditorHtml, A as isPrintSupported, B as isWordHtml, D as mergeCells, E as openPrintWindow, F as paragraphsToClipboardContent, G as parseClipboardHtml, H as parsePageRange, J as readFromClipboard, K as runsToClipboardContent, L as splitCell, M as triggerPrint, N as writeToClipboard } from './clipboard-BkM7Zvgs.mjs';
11
- export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, l as BlockContent, ad as BookmarkEnd, ae as BookmarkStart, p as DeleteTextCommand, D as Document, d as DocumentBody, r as DocxPackage, E as Endnote, af as Field, ag as FooterReference, F as Footnote, t as FormatTextCommand, ah as HeaderFooter, ai as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, N as NumberingDefinitions, a as Paragraph, J as ParagraphContext, K as ParagraphFormatting, P as Position, R as Range, Q as Relationship, S as ReplaceTextCommand, b as Run, c as RunContent, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, aj as Shape, Y as Style, Z as StyleDefinitions, $ as SuggestedAction, e as Table, a0 as TableCell, a1 as TableRow, ak as TextBox, a2 as TextContent, T as TextFormatting, a3 as Theme, al as ThemeColorScheme, am as ThemeFont, an as ThemeFontScheme } from './agentApi-BVHzyk2l.mjs';
11
+ export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, l as BlockContent, ad as BookmarkEnd, ae as BookmarkStart, C as Comment, p as DeleteTextCommand, D as Document, d as DocumentBody, r as DocxPackage, E as Endnote, af as Field, ag as FooterReference, F as Footnote, t as FormatTextCommand, ah as HeaderFooter, ai as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, N as NumberingDefinitions, a as Paragraph, J as ParagraphContext, K as ParagraphFormatting, P as Position, R as Range, Q as Relationship, S as ReplaceTextCommand, b as Run, c as RunContent, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, aj as Shape, Y as Style, Z as StyleDefinitions, $ as SuggestedAction, e as Table, a0 as TableCell, a1 as TableRow, ak as TextBox, a2 as TextContent, T as TextFormatting, a3 as Theme, al as ThemeColorScheme, am as ThemeFont, an as ThemeFontScheme } from './agentApi-BVHzyk2l.mjs';
12
12
  import * as prosemirror_state from 'prosemirror-state';
13
13
  import { Plugin, PluginKey } from 'prosemirror-state';
14
14
  import { DecorationSet, EditorView } from 'prosemirror-view';
15
15
  export { C as CorePlugin, e as McpSession, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult } from './types-B3LkfO0u.mjs';
16
16
  export { P as PluginRegistry, p as pluginRegistry, r as registerPlugins } from './registry-DyIMyB-0.mjs';
17
17
  export { docxtemplaterPlugin } from './core-plugins-reexport.mjs';
18
- import { k as PluginPanelProps } from './ClipboardManager-t936d0KD.mjs';
19
- export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, l as PositionCoordinates, R as RenderedDomContext, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-t936d0KD.mjs';
18
+ export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, l as PositionCoordinates, R as RenderedDomContext, m as SavedDocumentData, F as SidebarItem, G as SidebarItemContext, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-CgpKW2At.mjs';
20
19
  import 'prosemirror-model';
21
20
 
22
21
  /**
@@ -399,16 +398,6 @@ declare function setSelectedElement(view: EditorView, id: string | undefined): v
399
398
  */
400
399
  declare const TEMPLATE_DECORATION_STYLES = "\n.docx-template-tag {\n cursor: pointer;\n transition: background-color 0.1s;\n}\n\n.docx-template-tag:hover,\n.docx-template-tag.hovered {\n filter: brightness(0.95);\n}\n\n.docx-template-tag.selected {\n box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);\n}\n";
401
400
 
402
- interface PluginState {
403
- tags: TemplateTag[];
404
- hoveredId?: string;
405
- selectedId?: string;
406
- }
407
- interface AnnotationPanelProps extends PluginPanelProps<PluginState> {
408
- }
409
- declare function AnnotationPanel({ editorView, pluginState, renderedDomContext, }: AnnotationPanelProps): react_jsx_runtime.JSX.Element | null;
410
- declare const ANNOTATION_PANEL_STYLES = "\n.template-panel {\n display: flex;\n min-height: 100%;\n background: transparent;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n position: relative;\n}\n\n.template-panel-annotations {\n flex: 1;\n position: relative;\n overflow: visible;\n min-height: 100%;\n pointer-events: none;\n will-change: transform;\n}\n\n.template-panel-annotations > * {\n pointer-events: auto;\n}\n\n.template-annotation-anchor {\n position: absolute;\n left: 0;\n right: 0;\n display: flex;\n align-items: flex-start;\n transition: top 0.15s ease-out;\n}\n\n.template-annotation-connector {\n width: 20px;\n height: 1px;\n background: #d0d0d0;\n margin-top: 12px;\n margin-right: 4px;\n flex-shrink: 0;\n}\n\n.template-annotation-anchor:hover .template-annotation-connector {\n background: #3b82f6;\n}\n\n.template-annotation-chip {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n padding: 5px 10px;\n background: white;\n border: 1px solid #e2e8f0;\n border-left: 3px solid #6c757d;\n border-radius: 4px;\n font-size: 11px;\n cursor: pointer;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);\n max-width: 200px;\n}\n\n.template-annotation-chip:hover,\n.template-annotation-chip.hovered {\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);\n border-color: #cbd5e1;\n}\n\n.template-annotation-chip.selected {\n box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);\n}\n\n.template-chip-badge {\n font-size: 9px;\n font-weight: 600;\n padding: 1px 5px;\n border-radius: 3px;\n color: white;\n text-transform: uppercase;\n letter-spacing: 0.3px;\n}\n\n.template-chip-dot {\n font-size: 8px;\n}\n\n.template-chip-name {\n color: #334155;\n font-weight: 500;\n}\n\n.template-chip-nested {\n display: flex;\n flex-wrap: wrap;\n gap: 4px;\n width: 100%;\n margin-top: 4px;\n padding-top: 4px;\n border-top: 1px solid rgba(0, 0, 0, 0.06);\n}\n\n.template-nested-var {\n font-size: 10px;\n color: #64748b;\n background: rgba(0, 0, 0, 0.04);\n padding: 2px 6px;\n border-radius: 3px;\n}\n\n.template-nested-var:hover {\n background: rgba(59, 130, 246, 0.15);\n color: #1e40af;\n}\n";
411
-
412
401
  /**
413
402
  * Template Plugin
414
403
  *
@@ -416,7 +405,7 @@ declare const ANNOTATION_PANEL_STYLES = "\n.template-panel {\n display: flex;\n
416
405
  *
417
406
  * Features:
418
407
  * - Full docxtemplater syntax detection (variables, loops, conditionals)
419
- * - Schema annotation panel showing template structure
408
+ * - Sidebar annotation chips showing template structure (via getSidebarItems)
420
409
  * - Differentiated visual highlighting by element type
421
410
  *
422
411
  * @example
@@ -434,9 +423,6 @@ declare const ANNOTATION_PANEL_STYLES = "\n.template-panel {\n display: flex;\n
434
423
  * ```
435
424
  */
436
425
 
437
- /**
438
- * Plugin state interface
439
- */
440
426
  interface TemplatePluginState {
441
427
  tags: TemplateTag[];
442
428
  hoveredId?: string;
@@ -444,20 +430,17 @@ interface TemplatePluginState {
444
430
  }
445
431
  /**
446
432
  * Create the template plugin instance.
447
- *
448
- * @param options - Plugin configuration options
449
433
  */
450
- declare function createPlugin(options?: {
451
- /** Initial panel collapsed state */
434
+ declare function createPlugin(_options?: {
435
+ /** @deprecated panel is no longer used; template chips render in the unified sidebar */
452
436
  defaultCollapsed?: boolean;
453
- /** Panel position */
437
+ /** @deprecated */
454
438
  panelPosition?: 'left' | 'right';
455
- /** Panel default width */
439
+ /** @deprecated */
456
440
  panelWidth?: number;
457
441
  }): ReactEditorPlugin<TemplatePluginState>;
458
442
  /**
459
443
  * Default template plugin instance.
460
- * Use this for quick setup without custom configuration.
461
444
  */
462
445
  declare const templatePlugin: ReactEditorPlugin<TemplatePluginState>;
463
446
 
@@ -484,4 +467,4 @@ declare const templatePlugin: ReactEditorPlugin<TemplatePluginState>;
484
467
  */
485
468
  declare const VERSION = "0.0.2";
486
469
 
487
- export { ANNOTATION_PANEL_STYLES, AnnotationPanel, type DocumentNameProps, EditorToolbar, type EditorToolbarProps, FormattingBar, type FormattingBarProps, type KeyboardShortcut, type LogoProps, NAVIGATION_SHORTCUTS, type NavigationAction, type NavigationDirection, type NavigationUnit, PluginPanelProps, TEMPLATE_DECORATION_STYLES, type TagType, type TemplateTag, type TitleBarProps, type TitleBarRightProps, ToolbarProps, VERSION, type WordSelectionResult, createDoubleClickWordSelector, createPlugin as createTemplatePlugin, createTemplatePlugin as createTemplateProseMirrorPlugin, createTripleClickParagraphSelector, describeShortcut, expandSelectionToWord, expandSelectionToWordBoundaries, extendSelectionTo, findNextWordStart, findPreviousWordStart, findVisualLineEnd, findVisualLineStart, findWordAt, findWordBoundaries, findWordEnd, findWordStart, getNavigationShortcutDescriptions, getSelectionInfo, getTemplateTags as getTemplatePluginTags, getWordAt, getWordAtCursor, handleClickForMultiClick, handleNavigationKey, isNavigationKey, isPunctuation, isWhitespace$1 as isWhitespace, isWhitespace as isWhitespaceChar, isWordCharacter as isWordChar, isWordCharacter$1 as isWordCharacter, matchesShortcut, moveByWord, moveToLineEdge, parseNavigationAction, selectParagraphAtCursor, selectWordAtCursor, selectWordInTextNode, setHoveredElement, setSelectedElement, setSelectionPosition, templatePlugin, templatePluginKey };
470
+ export { type DocumentNameProps, EditorToolbar, type EditorToolbarProps, FormattingBar, type FormattingBarProps, type KeyboardShortcut, type LogoProps, NAVIGATION_SHORTCUTS, type NavigationAction, type NavigationDirection, type NavigationUnit, TEMPLATE_DECORATION_STYLES, type TagType, type TemplateTag, type TitleBarProps, type TitleBarRightProps, ToolbarProps, VERSION, type WordSelectionResult, createDoubleClickWordSelector, createPlugin as createTemplatePlugin, createTemplatePlugin as createTemplateProseMirrorPlugin, createTripleClickParagraphSelector, describeShortcut, expandSelectionToWord, expandSelectionToWordBoundaries, extendSelectionTo, findNextWordStart, findPreviousWordStart, findVisualLineEnd, findVisualLineStart, findWordAt, findWordBoundaries, findWordEnd, findWordStart, getNavigationShortcutDescriptions, getSelectionInfo, getTemplateTags as getTemplatePluginTags, getWordAt, getWordAtCursor, handleClickForMultiClick, handleNavigationKey, isNavigationKey, isPunctuation, isWhitespace$1 as isWhitespace, isWhitespace as isWhitespaceChar, isWordCharacter as isWordChar, isWordCharacter$1 as isWordCharacter, matchesShortcut, moveByWord, moveToLineEdge, parseNavigationAction, selectParagraphAtCursor, selectWordAtCursor, selectWordInTextNode, setHoveredElement, setSelectedElement, setSelectionPosition, templatePlugin, templatePluginKey };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { R as ReactEditorPlugin } from './react-By80Gfi-.js';
2
- export { D as DEFAULT_SELECTION_STYLE, a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, E as EditorMode, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, H as HIGH_CONTRAST_SELECTION_STYLE, j as HighlightRect, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as RenderAsyncOptions, S as SELECTION_CSS_VARS, r as SelectionHighlightConfig, s as SelectionOverlayProps, t as SelectionRange, T as TableSelectionState, U as UnsupportedFeatureWarning, u as UnsupportedFeatureWarningProps, v as UseAutoSaveOptions, w as UseAutoSaveReturn, x as UseClipboardOptions, y as UseClipboardReturn, z as UseSelectionHighlightOptions, A as UseSelectionHighlightReturn, B as UseTableSelectionOptions, C as UseTableSelectionReturn, F as UseWheelZoomOptions, G as UseWheelZoomReturn, Z as ZOOM_PRESETS, I as areSelectionStylesInjected, J as clampZoom, K as clearSelection, L as createSelectionChangeHandler, M as findNearestZoomPreset, N as formatZoom, O as generateOverlayElements, Q as generateSelectionCSS, V as getHighlightRectStyle, W as getMergedSelectionRects, X as getNextZoomPreset, Y as getPreviousZoomPreset, _ as getSelectedText, $ as getSelectionBoundingRect, a0 as getSelectionRects, a1 as getUserFriendlyMessage, a2 as getZoomPresets, a3 as hasActiveSelection, a4 as highlightTextRange, a5 as injectSelectionStyles, a6 as isParseError, a7 as isSelectionBackwards, a8 as isSelectionWithin, a9 as isZoomPreset, aa as mergeAdjacentRects, ab as normalizeSelectionDirection, ac as parseZoom, ad as removeSelectionStyles, ae as renderAsync, af as selectRange, ag as useAutoSave, ah as useClipboard, ai as useErrorNotifications, aj as useSelectionHighlight, ak as useTableSelection, al as useWheelZoom } from './react-By80Gfi-.js';
1
+ import { R as ReactEditorPlugin } from './react-CAc4htNH.js';
2
+ export { D as DEFAULT_SELECTION_STYLE, a as DocxEditor, b as DocxEditorHandle, c as DocxEditorProps, d as DocxEditorRef, E as EditorMode, e as EditorPlugin, f as ErrorBoundary, g as ErrorBoundaryProps, h as ErrorContextValue, i as ErrorProvider, H as HIGH_CONTRAST_SELECTION_STYLE, j as HighlightRect, P as PLUGIN_HOST_STYLES, k as ParseErrorDisplay, l as ParseErrorDisplayProps, m as PluginContext, n as PluginHost, o as PluginHostProps, p as PluginHostRef, q as ReactSidebarItem, r as RenderAsyncOptions, S as SELECTION_CSS_VARS, s as SelectionHighlightConfig, t as SelectionOverlayProps, u as SelectionRange, v as SidebarItemRenderProps, T as TableSelectionState, U as UnsupportedFeatureWarning, w as UnsupportedFeatureWarningProps, x as UseAutoSaveOptions, y as UseAutoSaveReturn, z as UseClipboardOptions, A as UseClipboardReturn, B as UseSelectionHighlightOptions, C as UseSelectionHighlightReturn, F as UseTableSelectionOptions, G as UseTableSelectionReturn, I as UseWheelZoomOptions, J as UseWheelZoomReturn, Z as ZOOM_PRESETS, K as areSelectionStylesInjected, L as clampZoom, M as clearSelection, N as createSelectionChangeHandler, O as findNearestZoomPreset, Q as formatZoom, V as generateOverlayElements, W as generateSelectionCSS, X as getHighlightRectStyle, Y as getMergedSelectionRects, _ as getNextZoomPreset, $ as getPreviousZoomPreset, a0 as getSelectedText, a1 as getSelectionBoundingRect, a2 as getSelectionRects, a3 as getUserFriendlyMessage, a4 as getZoomPresets, a5 as hasActiveSelection, a6 as highlightTextRange, a7 as injectSelectionStyles, a8 as isParseError, a9 as isSelectionBackwards, aa as isSelectionWithin, ab as isZoomPreset, ac as mergeAdjacentRects, ad as normalizeSelectionDirection, ae as parseZoom, af as removeSelectionStyles, ag as renderAsync, ah as selectRange, ai as useAutoSave, aj as useClipboard, ak as useErrorNotifications, al as useSelectionHighlight, am as useTableSelection, an as useWheelZoom } from './react-CAc4htNH.js';
3
3
  export { D as DocumentAgent, g as DocxInput, t as toArrayBuffer } from './DocumentAgent-CRCXiBT7.js';
4
4
  export { A as AgentContextOptions, C as CreateEmptyDocumentOptions, E as ExtendedSelectionContext, P as ProcessTemplateOptions, a as ProcessTemplateResult, b as SelectionContextOptions, c as blendColors, d as buildExtendedSelectionContext, e as buildSelectionContext, g as colorsEqual, h as createDocumentWithText, i as createEmptyDocument, j as createRgbColor, l as createThemeColor, m as darkenColor, n as emuToPixels, o as emuToTwips, p as executeCommand, q as executeCommands, r as formatPx, s as getAgentContext, t as getContrastingColor, u as getDocumentSummary, x as getTemplateTags, y as halfPointsToPixels, z as isBlack, B as isWhite, D as lightenColor, G as parseColorString, H as parseDocx, I as pixelsToEmu, J as pixelsToTwips, K as pointsToPixels, M as processTemplate, O as processTemplateAsBlob, Q as processTemplateDetailed, R as resolveColor, U as resolveHighlightColor, V as resolveShadingColor, W as serializeDocumentBody, X as serializeDocx, Y as serializeSectionProperties, Z as twipsToEmu, _ as twipsToPixels, $ as validateTemplate } from './colorResolver-Dlmk3itT.js';
5
5
  export { I as InsertPosition, c as canRenderFont, a as countPageBreaks, b as createColumnBreak, d as createHorizontalRule, e as createLineBreak, f as createPageBreak, g as createPageBreakParagraph, h as createPageBreakRun, i as findPageBreaks, j as getLoadedFonts, k as hasPageBreakBefore, l as insertHorizontalRule, m as insertPageBreak, n as isBreakContent, o as isColumnBreak, p as isFontLoaded, q as isFontsLoading, r as isLineBreak, s as isPageBreak, t as loadFont, u as loadFontFromBuffer, v as loadFonts, w as onFontsLoaded, x as preloadCommonFonts, y as removePageBreak } from './fontLoader-BI9ZoACv.js';
@@ -8,15 +8,14 @@ export { AdvancedColorPicker, AlignmentButtons, AlignmentButtonsProps, ColorOpti
8
8
  import { ReactNode } from 'react';
9
9
  import * as react_jsx_runtime from 'react/jsx-runtime';
10
10
  export { C as CLIPBOARD_TYPES, a as ClipboardContent, b as ClipboardOptions, I as INTERNAL_CLIPBOARD_TYPE, P as ParsedClipboardContent, c as PrintButton, d as PrintButtonProps, e as PrintOptions, f as PrintStyles, T as TableAction, g as TableContext, h as TableSelection, i as TableToolbar, j as TableToolbarProps, k as addColumn, l as addRow, m as cleanWordHtml, n as copyParagraphs, o as copyRuns, p as createClipboardHandlers, q as createTableContext, r as deleteColumn, s as deleteRow, t as formatPrintPageRange, u as getCellAt, v as getColumnCount, w as getDefaultPrintOptions, x as handlePasteEvent, y as htmlToRuns, z as isEditorHtml, A as isPrintSupported, B as isWordHtml, D as mergeCells, E as openPrintWindow, F as paragraphsToClipboardContent, G as parseClipboardHtml, H as parsePageRange, J as readFromClipboard, K as runsToClipboardContent, L as splitCell, M as triggerPrint, N as writeToClipboard } from './clipboard-B7N7Kx2X.js';
11
- export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, l as BlockContent, ad as BookmarkEnd, ae as BookmarkStart, p as DeleteTextCommand, D as Document, d as DocumentBody, r as DocxPackage, E as Endnote, af as Field, ag as FooterReference, F as Footnote, t as FormatTextCommand, ah as HeaderFooter, ai as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, N as NumberingDefinitions, a as Paragraph, J as ParagraphContext, K as ParagraphFormatting, P as Position, R as Range, Q as Relationship, S as ReplaceTextCommand, b as Run, c as RunContent, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, aj as Shape, Y as Style, Z as StyleDefinitions, $ as SuggestedAction, e as Table, a0 as TableCell, a1 as TableRow, ak as TextBox, a2 as TextContent, T as TextFormatting, a3 as Theme, al as ThemeColorScheme, am as ThemeFont, an as ThemeFontScheme } from './agentApi-BVHzyk2l.js';
11
+ export { f as AIAction, g as AIActionRequest, A as AgentCommand, h as AgentContext, i as AgentResponse, j as ApplyStyleCommand, l as BlockContent, ad as BookmarkEnd, ae as BookmarkStart, C as Comment, p as DeleteTextCommand, D as Document, d as DocumentBody, r as DocxPackage, E as Endnote, af as Field, ag as FooterReference, F as Footnote, t as FormatTextCommand, ah as HeaderFooter, ai as HeaderReference, H as Hyperlink, I as Image, u as InsertHyperlinkCommand, v as InsertImageCommand, w as InsertTableCommand, x as InsertTextCommand, L as ListLevel, N as NumberingDefinitions, a as Paragraph, J as ParagraphContext, K as ParagraphFormatting, P as Position, R as Range, Q as Relationship, S as ReplaceTextCommand, b as Run, c as RunContent, V as SectionProperties, W as SelectionContext, X as SetVariableCommand, aj as Shape, Y as Style, Z as StyleDefinitions, $ as SuggestedAction, e as Table, a0 as TableCell, a1 as TableRow, ak as TextBox, a2 as TextContent, T as TextFormatting, a3 as Theme, al as ThemeColorScheme, am as ThemeFont, an as ThemeFontScheme } from './agentApi-BVHzyk2l.js';
12
12
  import * as prosemirror_state from 'prosemirror-state';
13
13
  import { Plugin, PluginKey } from 'prosemirror-state';
14
14
  import { DecorationSet, EditorView } from 'prosemirror-view';
15
15
  export { C as CorePlugin, e as McpSession, M as McpToolDefinition, i as McpToolHandler, j as McpToolResult } from './types-igZ1x_e4.js';
16
16
  export { P as PluginRegistry, p as pluginRegistry, r as registerPlugins } from './registry-CgWNVTk9.js';
17
17
  export { docxtemplaterPlugin } from './core-plugins-reexport.js';
18
- import { k as PluginPanelProps } from './ClipboardManager-D0D4aUKE.js';
19
- export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, l as PositionCoordinates, R as RenderedDomContext, m as SavedDocumentData, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-D0D4aUKE.js';
18
+ export { d as AutoSaveStatus, e as ClipboardSelection, h as ErrorNotification, i as ErrorSeverity, j as PanelConfig, k as PluginPanelProps, l as PositionCoordinates, R as RenderedDomContext, m as SavedDocumentData, F as SidebarItem, G as SidebarItemContext, T as TABLE_DATA_ATTRIBUTES, p as createSelectionFromDOM, t as formatLastSaveTime, u as formatStorageSize, v as getAutoSaveStatusLabel, w as getAutoSaveStorageSize, x as getSelectionRuns, z as isAutoSaveSupported } from './ClipboardManager-C0rTRkVQ.js';
20
19
  import 'prosemirror-model';
21
20
 
22
21
  /**
@@ -399,16 +398,6 @@ declare function setSelectedElement(view: EditorView, id: string | undefined): v
399
398
  */
400
399
  declare const TEMPLATE_DECORATION_STYLES = "\n.docx-template-tag {\n cursor: pointer;\n transition: background-color 0.1s;\n}\n\n.docx-template-tag:hover,\n.docx-template-tag.hovered {\n filter: brightness(0.95);\n}\n\n.docx-template-tag.selected {\n box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);\n}\n";
401
400
 
402
- interface PluginState {
403
- tags: TemplateTag[];
404
- hoveredId?: string;
405
- selectedId?: string;
406
- }
407
- interface AnnotationPanelProps extends PluginPanelProps<PluginState> {
408
- }
409
- declare function AnnotationPanel({ editorView, pluginState, renderedDomContext, }: AnnotationPanelProps): react_jsx_runtime.JSX.Element | null;
410
- declare const ANNOTATION_PANEL_STYLES = "\n.template-panel {\n display: flex;\n min-height: 100%;\n background: transparent;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n position: relative;\n}\n\n.template-panel-annotations {\n flex: 1;\n position: relative;\n overflow: visible;\n min-height: 100%;\n pointer-events: none;\n will-change: transform;\n}\n\n.template-panel-annotations > * {\n pointer-events: auto;\n}\n\n.template-annotation-anchor {\n position: absolute;\n left: 0;\n right: 0;\n display: flex;\n align-items: flex-start;\n transition: top 0.15s ease-out;\n}\n\n.template-annotation-connector {\n width: 20px;\n height: 1px;\n background: #d0d0d0;\n margin-top: 12px;\n margin-right: 4px;\n flex-shrink: 0;\n}\n\n.template-annotation-anchor:hover .template-annotation-connector {\n background: #3b82f6;\n}\n\n.template-annotation-chip {\n display: inline-flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 4px;\n padding: 5px 10px;\n background: white;\n border: 1px solid #e2e8f0;\n border-left: 3px solid #6c757d;\n border-radius: 4px;\n font-size: 11px;\n cursor: pointer;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);\n max-width: 200px;\n}\n\n.template-annotation-chip:hover,\n.template-annotation-chip.hovered {\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);\n border-color: #cbd5e1;\n}\n\n.template-annotation-chip.selected {\n box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);\n}\n\n.template-chip-badge {\n font-size: 9px;\n font-weight: 600;\n padding: 1px 5px;\n border-radius: 3px;\n color: white;\n text-transform: uppercase;\n letter-spacing: 0.3px;\n}\n\n.template-chip-dot {\n font-size: 8px;\n}\n\n.template-chip-name {\n color: #334155;\n font-weight: 500;\n}\n\n.template-chip-nested {\n display: flex;\n flex-wrap: wrap;\n gap: 4px;\n width: 100%;\n margin-top: 4px;\n padding-top: 4px;\n border-top: 1px solid rgba(0, 0, 0, 0.06);\n}\n\n.template-nested-var {\n font-size: 10px;\n color: #64748b;\n background: rgba(0, 0, 0, 0.04);\n padding: 2px 6px;\n border-radius: 3px;\n}\n\n.template-nested-var:hover {\n background: rgba(59, 130, 246, 0.15);\n color: #1e40af;\n}\n";
411
-
412
401
  /**
413
402
  * Template Plugin
414
403
  *
@@ -416,7 +405,7 @@ declare const ANNOTATION_PANEL_STYLES = "\n.template-panel {\n display: flex;\n
416
405
  *
417
406
  * Features:
418
407
  * - Full docxtemplater syntax detection (variables, loops, conditionals)
419
- * - Schema annotation panel showing template structure
408
+ * - Sidebar annotation chips showing template structure (via getSidebarItems)
420
409
  * - Differentiated visual highlighting by element type
421
410
  *
422
411
  * @example
@@ -434,9 +423,6 @@ declare const ANNOTATION_PANEL_STYLES = "\n.template-panel {\n display: flex;\n
434
423
  * ```
435
424
  */
436
425
 
437
- /**
438
- * Plugin state interface
439
- */
440
426
  interface TemplatePluginState {
441
427
  tags: TemplateTag[];
442
428
  hoveredId?: string;
@@ -444,20 +430,17 @@ interface TemplatePluginState {
444
430
  }
445
431
  /**
446
432
  * Create the template plugin instance.
447
- *
448
- * @param options - Plugin configuration options
449
433
  */
450
- declare function createPlugin(options?: {
451
- /** Initial panel collapsed state */
434
+ declare function createPlugin(_options?: {
435
+ /** @deprecated panel is no longer used; template chips render in the unified sidebar */
452
436
  defaultCollapsed?: boolean;
453
- /** Panel position */
437
+ /** @deprecated */
454
438
  panelPosition?: 'left' | 'right';
455
- /** Panel default width */
439
+ /** @deprecated */
456
440
  panelWidth?: number;
457
441
  }): ReactEditorPlugin<TemplatePluginState>;
458
442
  /**
459
443
  * Default template plugin instance.
460
- * Use this for quick setup without custom configuration.
461
444
  */
462
445
  declare const templatePlugin: ReactEditorPlugin<TemplatePluginState>;
463
446
 
@@ -484,4 +467,4 @@ declare const templatePlugin: ReactEditorPlugin<TemplatePluginState>;
484
467
  */
485
468
  declare const VERSION = "0.0.2";
486
469
 
487
- export { ANNOTATION_PANEL_STYLES, AnnotationPanel, type DocumentNameProps, EditorToolbar, type EditorToolbarProps, FormattingBar, type FormattingBarProps, type KeyboardShortcut, type LogoProps, NAVIGATION_SHORTCUTS, type NavigationAction, type NavigationDirection, type NavigationUnit, PluginPanelProps, TEMPLATE_DECORATION_STYLES, type TagType, type TemplateTag, type TitleBarProps, type TitleBarRightProps, ToolbarProps, VERSION, type WordSelectionResult, createDoubleClickWordSelector, createPlugin as createTemplatePlugin, createTemplatePlugin as createTemplateProseMirrorPlugin, createTripleClickParagraphSelector, describeShortcut, expandSelectionToWord, expandSelectionToWordBoundaries, extendSelectionTo, findNextWordStart, findPreviousWordStart, findVisualLineEnd, findVisualLineStart, findWordAt, findWordBoundaries, findWordEnd, findWordStart, getNavigationShortcutDescriptions, getSelectionInfo, getTemplateTags as getTemplatePluginTags, getWordAt, getWordAtCursor, handleClickForMultiClick, handleNavigationKey, isNavigationKey, isPunctuation, isWhitespace$1 as isWhitespace, isWhitespace as isWhitespaceChar, isWordCharacter as isWordChar, isWordCharacter$1 as isWordCharacter, matchesShortcut, moveByWord, moveToLineEdge, parseNavigationAction, selectParagraphAtCursor, selectWordAtCursor, selectWordInTextNode, setHoveredElement, setSelectedElement, setSelectionPosition, templatePlugin, templatePluginKey };
470
+ export { type DocumentNameProps, EditorToolbar, type EditorToolbarProps, FormattingBar, type FormattingBarProps, type KeyboardShortcut, type LogoProps, NAVIGATION_SHORTCUTS, type NavigationAction, type NavigationDirection, type NavigationUnit, TEMPLATE_DECORATION_STYLES, type TagType, type TemplateTag, type TitleBarProps, type TitleBarRightProps, ToolbarProps, VERSION, type WordSelectionResult, createDoubleClickWordSelector, createPlugin as createTemplatePlugin, createTemplatePlugin as createTemplateProseMirrorPlugin, createTripleClickParagraphSelector, describeShortcut, expandSelectionToWord, expandSelectionToWordBoundaries, extendSelectionTo, findNextWordStart, findPreviousWordStart, findVisualLineEnd, findVisualLineStart, findWordAt, findWordBoundaries, findWordEnd, findWordStart, getNavigationShortcutDescriptions, getSelectionInfo, getTemplateTags as getTemplatePluginTags, getWordAt, getWordAtCursor, handleClickForMultiClick, handleNavigationKey, isNavigationKey, isPunctuation, isWhitespace$1 as isWhitespace, isWhitespace as isWhitespaceChar, isWordCharacter as isWordChar, isWordCharacter$1 as isWordCharacter, matchesShortcut, moveByWord, moveToLineEdge, parseNavigationAction, selectParagraphAtCursor, selectWordAtCursor, selectWordInTextNode, setHoveredElement, setSelectedElement, setSelectionPosition, templatePlugin, templatePluginKey };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';var chunkG72SXG7G_js=require('./chunk-G72SXG7G.js');require('./chunk-QQ63M65M.js');var chunkXGL3EGKF_js=require('./chunk-XGL3EGKF.js'),chunk2KHL5RSD_js=require('./chunk-2KHL5RSD.js'),chunkCTYOM6BE_js=require('./chunk-CTYOM6BE.js'),chunkPJVI53AH_js=require('./chunk-PJVI53AH.js'),chunkFVUGBRDD_js=require('./chunk-FVUGBRDD.js');require('./chunk-QVPR2W5S.js');var chunkMRWJ3GNH_js=require('./chunk-MRWJ3GNH.js'),chunk4VUZBV2S_js=require('./chunk-4VUZBV2S.js'),chunkVHWEKJ35_js=require('./chunk-VHWEKJ35.js'),chunkPB7VMDDP_js=require('./chunk-PB7VMDDP.js'),chunkIRO7KGGC_js=require('./chunk-IRO7KGGC.js'),chunkAARNCPWR_js=require('./chunk-AARNCPWR.js'),chunkVR6PT4IZ_js=require('./chunk-VR6PT4IZ.js'),chunkBUEMG4NW_js=require('./chunk-BUEMG4NW.js'),chunkSE5EN2QL_js=require('./chunk-SE5EN2QL.js');require('./chunk-IFPN3NT3.js'),require('./chunk-H5NTJZO4.js');var ye=require('react'),prosemirrorState=require('prosemirror-state'),prosemirrorView=require('prosemirror-view'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var ye__default=/*#__PURE__*/_interopDefault(ye);var Ra=/[\p{L}\p{N}''\-]/u,Aa=/\s/;function M(e){return !e||e.length===0?false:Ra.test(e)}function K(e){return !e||e.length===0?false:Aa.test(e)}function R(e,t){if(!e||e.length===0)return [0,0];t=Math.max(0,Math.min(t,e.length-1));let o=e[t];if(K(o)){let n=t,r=t;for(;n>0&&K(e[n-1]);)n--;for(;r<e.length&&K(e[r]);)r++;return [n,r]}if(M(o)){let n=t,r=t;for(;n>0&&M(e[n-1]);)n--;for(;r<e.length&&M(e[r]);)r++;return [n,r]}return [t,t+1]}function wa(e,t){let[o,n]=R(e,t);return e.slice(o,n)}function Ia(e,t){let[o,n]=R(e,t);return {word:e.slice(o,n),startIndex:o,endIndex:n}}function $(){let e=window.getSelection();if(!e||e.rangeCount===0)return false;let t=e.getRangeAt(0),o=t.startContainer;if(o.nodeType===Node.TEXT_NODE){let n=o.textContent||"",r=t.startOffset,[a,i]=R(n,r);if(i>a)return t.setStart(o,a),t.setEnd(o,i),e.removeAllRanges(),e.addRange(t),true}if(o.nodeType===Node.ELEMENT_NODE){let n=o,r=q(n);if(r.length>0){let a=t.startOffset,i=null,l=a;if(a<n.childNodes.length){let p=n.childNodes[a];if(p.nodeType===Node.TEXT_NODE)i=p,l=0;else if(p instanceof Element){let d=q(p);d.length>0&&(i=d[0],l=0);}}if(!i&&r.length>0&&(i=r[0],l=0),i){let p=i.textContent||"",[d,c]=R(p,l);if(c>d){let u=document.createRange();return u.setStart(i,d),u.setEnd(i,c),e.removeAllRanges(),e.addRange(u),true}}}}return false}function Na(e,t){let o=window.getSelection();if(!o)return false;let n=e.textContent||"",[r,a]=R(n,t);if(a>r){let i=document.createRange();return i.setStart(e,r),i.setEnd(e,a),o.removeAllRanges(),o.addRange(i),true}return false}function Oa(){let e=window.getSelection();if(!e||e.rangeCount===0)return false;let t=e.getRangeAt(0);if(t.collapsed)return $();let o=t.startContainer,n=t.endContainer,r=t.startOffset,a=t.endOffset;if(o.nodeType===Node.TEXT_NODE){let i=o.textContent||"",[l]=R(i,t.startOffset);r=l;}if(n.nodeType===Node.TEXT_NODE){let i=n.textContent||"",l=Math.max(0,t.endOffset-1),[,p]=R(i,l);a=p;}try{return t.setStart(o,r),t.setEnd(n,a),e.removeAllRanges(),e.addRange(t),!0}catch(i){return console.warn("Could not expand selection to word boundaries:",i),false}}function J(){let e=window.getSelection();if(!e||e.rangeCount===0)return false;let o=e.getRangeAt(0).commonAncestorContainer,n=Da(o);if(n){let r=document.createRange();return r.selectNodeContents(n),e.removeAllRanges(),e.addRange(r),true}return false}function Da(e){if(!e)return null;let t=e;for(;t;){if(t instanceof Element&&t.hasAttribute("data-paragraph-index"))return t;t=t.parentNode;}return null}function q(e){let t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),n;for(;n=o.nextNode();)n.nodeType===Node.TEXT_NODE&&t.push(n);return t}var V=0,O=null,G=null,La=500;function j(){V=0,G=null,O&&(clearTimeout(O),O=null);}function Q(e){return e.target!==G&&j(),V++,G=e.target,O&&clearTimeout(O),O=setTimeout(j,La),Math.min(V,3)}function ka(){return e=>{e.ctrlKey||e.metaKey||e.altKey||$();}}function Ma(){return e=>{if(Q(e)===3){if(e.ctrlKey||e.metaKey||e.altKey)return;J();}}}function P(e){return e?/[\p{L}\p{N}_]/u.test(e):false}function Y(e){return e?/\s/.test(e):false}function Ka(e){return e?/[\p{P}]/u.test(e):false}function Ha(e,t){if(t<=0)return 0;t>e.length&&(t=e.length);let o=t;for(;o>0&&Y(e[o-1]);)o--;if(o===0)return 0;for(;o>0&&P(e[o-1]);)o--;return o}function _a(e,t){if(t>=e.length)return e.length;t<0&&(t=0);let o=t;for(;o<e.length&&P(e[o]);)o++;for(;o<e.length&&Y(e[o]);)o++;return o}function ee(e,t){if(t>=e.length)return e.length;let o=t;for(;o<e.length&&P(e[o]);)o++;for(;o<e.length&&!P(e[o]);)o++;return o}function te(e,t){if(t<=0)return 0;let o=t;for(;o>0&&!P(e[o-1]);)o--;for(;o>0&&P(e[o-1]);)o--;return o}function oe(e,t){if(!window.getSelection())return null;let n=document.createRange();if(e.nodeType===Node.TEXT_NODE){n.setStart(e,Math.min(t,e.textContent?.length||0)),n.collapse(true);let a=n.getBoundingClientRect().top,i=0,l=t;for(;i<l;){let p=Math.floor((i+l)/2);n.setStart(e,p),n.collapse(true);let d=n.getBoundingClientRect();Math.abs(d.top-a)<2?l=p:i=p+1;}return {node:e,offset:i}}return null}function ne(e,t){if(!window.getSelection())return null;let n=e.textContent?.length||0,r=document.createRange();if(e.nodeType===Node.TEXT_NODE){r.setStart(e,Math.min(t,n)),r.collapse(true);let i=r.getBoundingClientRect().top,l=t,p=n;for(;l<p;){let d=Math.ceil((l+p)/2);r.setStart(e,d),r.collapse(true);let c=r.getBoundingClientRect();Math.abs(c.top-i)<2?l=d:p=d-1;}return {node:e,offset:l}}return null}function Ba(){let e=window.getSelection();if(!e||e.rangeCount===0)return null;let t=e.getRangeAt(0);return {node:t.startContainer,offset:t.startOffset,anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset,isCollapsed:e.isCollapsed,text:e.toString()}}function H(e,t){let o=window.getSelection();if(!o)return;let n=document.createRange(),r=e.nodeType===Node.TEXT_NODE?e.textContent?.length||0:e.childNodes.length;n.setStart(e,Math.min(t,r)),n.collapse(true),o.removeAllRanges(),o.addRange(n);}function _(e,t){let o=window.getSelection();if(!(!o||!o.anchorNode))try{o.extend(e,Math.min(t,e.textContent?.length||0));}catch{let n=e.nodeType===Node.TEXT_NODE?e.textContent?.length||0:e.childNodes.length;o.setBaseAndExtent(o.anchorNode,o.anchorOffset,e,Math.min(t,n));}}function re(e,t=false){let o=window.getSelection();if(!o||o.rangeCount===0)return false;let n=o.focusNode;if(!n||n.nodeType!==Node.TEXT_NODE)return false;let r=n.textContent||"",a=o.focusOffset,i;return e==="left"?i=te(r,a):i=ee(r,a),t?_(n,i):H(n,i),true}function ae(e,t=false){let o=window.getSelection();if(!o||o.rangeCount===0)return false;let n=o.focusNode;if(!n)return false;if(n.nodeType===Node.TEXT_NODE){let i=e==="start"?oe(n,o.focusOffset):ne(n,o.focusOffset);if(i)return t?_(i.node,i.offset):H(i.node,i.offset),true}let r=n.textContent||"",a=e==="start"?0:r.length;return t?_(n,a):H(n,a),true}function ie(e){let{key:t,ctrlKey:o,metaKey:n,shiftKey:r,altKey:a}=e,i=o||n;switch(t){case "ArrowLeft":if(i)return {direction:"left",unit:"word",extend:r};break;case "ArrowRight":if(i)return {direction:"right",unit:"word",extend:r};break;case "Home":return i?{direction:"left",unit:"document",extend:r}:{direction:"left",unit:"line",extend:r};case "End":return i?{direction:"right",unit:"document",extend:r}:{direction:"right",unit:"line",extend:r}}return null}function Wa(e,t){let o=ie(e);if(!o)return false;switch(o.unit){case "word":if((o.direction==="left"||o.direction==="right")&&re(o.direction,o.extend))return e.preventDefault(),true;break;case "line":let n=o.direction==="left"?"start":"end";if(ae(n,o.extend))return e.preventDefault(),true;break;case "document":if(o.direction==="left"&&t?.onDocumentStart)return e.preventDefault(),t.onDocumentStart(),true;if(o.direction==="right"&&t?.onDocumentEnd)return e.preventDefault(),t.onDocumentEnd(),true;break}return false}function Fa(e){let{key:t,ctrlKey:o,metaKey:n}=e;return !!((o||n)&&(t==="ArrowLeft"||t==="ArrowRight")||t==="Home"||t==="End")}function Ua(){let e=window.getSelection();if(!e||e.rangeCount===0)return false;let t=e.focusNode;if(!t||t.nodeType!==Node.TEXT_NODE)return false;let o=t.textContent||"",n=e.focusOffset,r=n,a=n;for(;r>0&&P(o[r-1]);)r--;for(;a<o.length&&P(o[a]);)a++;if(r===a)return false;let i=document.createRange();return i.setStart(t,r),i.setEnd(t,a),e.removeAllRanges(),e.addRange(i),true}function za(){let e=window.getSelection();if(!e||e.rangeCount===0)return null;let t=e.focusNode;if(!t||t.nodeType!==Node.TEXT_NODE)return null;let o=t.textContent||"",n=e.focusOffset,r=n,a=n;for(;r>0&&P(o[r-1]);)r--;for(;a<o.length&&P(o[a]);)a++;return r===a?null:o.slice(r,a)}function Va(e,t){let o=e.ctrlKey||e.metaKey,n=t.ctrlKey||t.metaKey;return e.key.toLowerCase()===t.key.toLowerCase()&&o===!!n&&e.shiftKey===!!t.shiftKey&&e.altKey===!!t.altKey}var T={wordLeft:{key:"ArrowLeft",ctrlKey:true},wordRight:{key:"ArrowRight",ctrlKey:true},selectWordLeft:{key:"ArrowLeft",ctrlKey:true,shiftKey:true},selectWordRight:{key:"ArrowRight",ctrlKey:true,shiftKey:true},lineStart:{key:"Home"},lineEnd:{key:"End"},selectToLineStart:{key:"Home",shiftKey:true},selectToLineEnd:{key:"End",shiftKey:true},documentStart:{key:"Home",ctrlKey:true},documentEnd:{key:"End",ctrlKey:true},selectToDocumentStart:{key:"Home",ctrlKey:true,shiftKey:true},selectToDocumentEnd:{key:"End",ctrlKey:true,shiftKey:true}};function S(e){let t=[];if(e.ctrlKey||e.metaKey){let n=typeof navigator<"u"&&/Mac/i.test(navigator.platform);t.push(n?"\u2318":"Ctrl");}e.shiftKey&&t.push("Shift"),e.altKey&&t.push("Alt");let o=e.key;return o==="ArrowLeft"?o="\u2190":o==="ArrowRight"?o="\u2192":o==="ArrowUp"?o="\u2191":o==="ArrowDown"&&(o="\u2193"),t.push(o),t.join("+")}function Ga(){return [{action:"Move by word (left)",shortcut:S(T.wordLeft)},{action:"Move by word (right)",shortcut:S(T.wordRight)},{action:"Select word (left)",shortcut:S(T.selectWordLeft)},{action:"Select word (right)",shortcut:S(T.selectWordRight)},{action:"Go to line start",shortcut:S(T.lineStart)},{action:"Go to line end",shortcut:S(T.lineEnd)},{action:"Select to line start",shortcut:S(T.selectToLineStart)},{action:"Select to line end",shortcut:S(T.selectToLineEnd)},{action:"Go to document start",shortcut:S(T.documentStart)},{action:"Go to document end",shortcut:S(T.documentEnd)},{action:"Select to document start",shortcut:S(T.selectToDocumentStart)},{action:"Select to document end",shortcut:S(T.selectToDocumentEnd)}]}var se=/\{([#/^@]?)([a-zA-Z_][a-zA-Z0-9_]*(?:\.[a-zA-Z_][a-zA-Z0-9_]*)*)\}/g,m=new prosemirrorState.PluginKey("template");function Xa(e,t,o){return `${e}:${t}:${o}`}function le(e){let t=[];e.descendants((p,d)=>(p.isText&&p.text&&t.push({text:p.text,pos:d}),true));let o="",n=[];for(let p of t){for(let d=0;d<p.text.length;d++)n.push(p.pos+d);o+=p.text;}let r=[],a=[],i=new Map,l;for(se.lastIndex=0;(l=se.exec(o))!==null;){let[p,d,c]=l,u=n[l.index],x=n[l.index+p.length-1]+1,g;d==="#"?g="sectionStart":d==="/"?g="sectionEnd":d==="^"?g="invertedStart":d==="@"?g="raw":g="variable";let b=`${g}:${c}`,k=i.get(b)??0;i.set(b,k+1);let w={id:Xa(g,c,k),type:g,name:c,rawTag:p,from:u,to:x};if(g==="sectionStart"||g==="invertedStart")w.nestedVars=[],a.push(w);else if(g==="sectionEnd"){for(let s=a.length-1;s>=0;s--)if(a[s].name===c){a.splice(s,1);break}}else g==="variable"&&a.length>0&&(a[a.length-1].nestedVars?.push(c),w.insideSection=true);r.push(w);}return r}function qa(e){switch(e){case "sectionStart":case "sectionEnd":return "#3b82f6";case "invertedStart":return "#8b5cf6";case "raw":return "#ef4444";default:return "#f59e0b"}}function Z(e,t,o,n){let r=[];for(let a of t){let i=a.id===o,l=a.id===n,p=qa(a.type),d=["docx-template-tag"];i&&d.push("hovered"),l&&d.push("selected"),r.push(prosemirrorView.Decoration.inline(a.from,a.to,{class:d.join(" "),"data-tag-id":a.id,style:`background-color: ${p}22; border-radius: 2px;`}));}return prosemirrorView.DecorationSet.create(e,r)}function ja(e,t){if(e.length!==t.length)return false;for(let o=0;o<e.length;o++)if(e[o].id!==t[o].id)return false;return true}function B(){return new prosemirrorState.Plugin({key:m,state:{init(e,t){let o=le(t.doc);return {tags:o,decorations:Z(t.doc,o)}},apply(e,t,o,n){if(e.docChanged){let a=le(n.doc),i=ja(t.tags,a);return {tags:a,decorations:i?t.decorations.map(e.mapping,e.doc):Z(n.doc,a,t.hoveredId,t.selectedId),hoveredId:t.hoveredId,selectedId:t.selectedId}}let r=e.getMeta(m);if(r){let a=r.hoveredId??t.hoveredId,i=r.selectedId??t.selectedId;return {...t,hoveredId:a,selectedId:i,decorations:Z(n.doc,t.tags,a,i)}}return {...t,decorations:t.decorations.map(e.mapping,e.doc)}}},props:{decorations(e){return m.getState(e)?.decorations??prosemirrorView.DecorationSet.empty},handleClick(e,t){let n=(m.getState(e.state)?.tags??[]).find(a=>t>=a.from&&t<=a.to);return n?(e.dispatch(e.state.tr.setMeta(m,{selectedId:n.id})),true):(m.getState(e.state)?.selectedId&&e.dispatch(e.state.tr.setMeta(m,{selectedId:void 0})),false)},handleDOMEvents:{mouseover(e,t){let n=t.target.closest?.("[data-tag-id]")?.getAttribute("data-tag-id")||void 0,r=m.getState(e.state)?.hoveredId;return n!==r&&e.dispatch(e.state.tr.setMeta(m,{hoveredId:n})),false},mouseout(e,t){return t.relatedTarget?.closest?.("[data-tag-id]")||m.getState(e.state)?.hoveredId&&e.dispatch(e.state.tr.setMeta(m,{hoveredId:void 0})),false}}}})}function pe(e){return m.getState(e)?.tags??[]}function D(e,t){e.dispatch(e.state.tr.setMeta(m,{hoveredId:t}));}function L(e,t){e.dispatch(e.state.tr.setMeta(m,{selectedId:t}));}var W=`
1
+ 'use strict';var chunkWH2EK2HU_js=require('./chunk-WH2EK2HU.js');require('./chunk-EV3CM6TU.js');var chunkUMDJQ3Q4_js=require('./chunk-UMDJQ3Q4.js'),chunkEF3LLEN7_js=require('./chunk-EF3LLEN7.js'),chunkCTYOM6BE_js=require('./chunk-CTYOM6BE.js'),chunkPJVI53AH_js=require('./chunk-PJVI53AH.js'),chunkFVUGBRDD_js=require('./chunk-FVUGBRDD.js');require('./chunk-QVPR2W5S.js');var chunkP7WEP4JU_js=require('./chunk-P7WEP4JU.js'),chunk4VUZBV2S_js=require('./chunk-4VUZBV2S.js'),chunkKCOGY3V2_js=require('./chunk-KCOGY3V2.js'),chunkPB7VMDDP_js=require('./chunk-PB7VMDDP.js'),chunkZJNGMDRE_js=require('./chunk-ZJNGMDRE.js'),chunkAARNCPWR_js=require('./chunk-AARNCPWR.js'),chunkKUL2SDYC_js=require('./chunk-KUL2SDYC.js'),chunkBUEMG4NW_js=require('./chunk-BUEMG4NW.js'),chunkSE5EN2QL_js=require('./chunk-SE5EN2QL.js');require('./chunk-IFPN3NT3.js'),require('./chunk-H5NTJZO4.js');var ae=require('react'),prosemirrorState=require('prosemirror-state'),prosemirrorView=require('prosemirror-view'),jsxRuntime=require('react/jsx-runtime');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var ae__default=/*#__PURE__*/_interopDefault(ae);var yi=/[\p{L}\p{N}''\-]/u,hi=/\s/;function R(e){return !e||e.length===0?false:yi.test(e)}function v(e){return !e||e.length===0?false:hi.test(e)}function S(e,t){if(!e||e.length===0)return [0,0];t=Math.max(0,Math.min(t,e.length-1));let o=e[t];if(v(o)){let r=t,n=t;for(;r>0&&v(e[r-1]);)r--;for(;n<e.length&&v(e[n]);)n++;return [r,n]}if(R(o)){let r=t,n=t;for(;r>0&&R(e[r-1]);)r--;for(;n<e.length&&R(e[n]);)n++;return [r,n]}return [t,t+1]}function Ti(e,t){let[o,r]=S(e,t);return e.slice(o,r)}function Si(e,t){let[o,r]=S(e,t);return {word:e.slice(o,r),startIndex:o,endIndex:r}}function L(){let e=window.getSelection();if(!e||e.rangeCount===0)return false;let t=e.getRangeAt(0),o=t.startContainer;if(o.nodeType===Node.TEXT_NODE){let r=o.textContent||"",n=t.startOffset,[i,a]=S(r,n);if(a>i)return t.setStart(o,i),t.setEnd(o,a),e.removeAllRanges(),e.addRange(t),true}if(o.nodeType===Node.ELEMENT_NODE){let r=o,n=B(r);if(n.length>0){let i=t.startOffset,a=null,l=i;if(i<r.childNodes.length){let s=r.childNodes[i];if(s.nodeType===Node.TEXT_NODE)a=s,l=0;else if(s instanceof Element){let c=B(s);c.length>0&&(a=c[0],l=0);}}if(!a&&n.length>0&&(a=n[0],l=0),a){let s=a.textContent||"",[c,d]=S(s,l);if(d>c){let g=document.createRange();return g.setStart(a,c),g.setEnd(a,d),e.removeAllRanges(),e.addRange(g),true}}}}return false}function xi(e,t){let o=window.getSelection();if(!o)return false;let r=e.textContent||"",[n,i]=S(r,t);if(i>n){let a=document.createRange();return a.setStart(e,n),a.setEnd(e,i),o.removeAllRanges(),o.addRange(a),true}return false}function bi(){let e=window.getSelection();if(!e||e.rangeCount===0)return false;let t=e.getRangeAt(0);if(t.collapsed)return L();let o=t.startContainer,r=t.endContainer,n=t.startOffset,i=t.endOffset;if(o.nodeType===Node.TEXT_NODE){let a=o.textContent||"",[l]=S(a,t.startOffset);n=l;}if(r.nodeType===Node.TEXT_NODE){let a=r.textContent||"",l=Math.max(0,t.endOffset-1),[,s]=S(a,l);i=s;}try{return t.setStart(o,n),t.setEnd(r,i),e.removeAllRanges(),e.addRange(t),!0}catch(a){return console.warn("Could not expand selection to word boundaries:",a),false}}function W(){let e=window.getSelection();if(!e||e.rangeCount===0)return false;let o=e.getRangeAt(0).commonAncestorContainer,r=Pi(o);if(r){let n=document.createRange();return n.selectNodeContents(r),e.removeAllRanges(),e.addRange(n),true}return false}function Pi(e){if(!e)return null;let t=e;for(;t;){if(t instanceof Element&&t.hasAttribute("data-paragraph-index"))return t;t=t.parentNode;}return null}function B(e){let t=[],o=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null),r;for(;r=o.nextNode();)r.nodeType===Node.TEXT_NODE&&t.push(r);return t}var O=0,x=null,k=null,Ci=500;function _(){O=0,k=null,x&&(clearTimeout(x),x=null);}function F(e){return e.target!==k&&_(),O++,k=e.target,x&&clearTimeout(x),x=setTimeout(_,Ci),Math.min(O,3)}function Ei(){return e=>{e.ctrlKey||e.metaKey||e.altKey||L();}}function Ri(){return e=>{if(F(e)===3){if(e.ctrlKey||e.metaKey||e.altKey)return;W();}}}function y(e){return e?/[\p{L}\p{N}_]/u.test(e):false}function M(e){return e?/\s/.test(e):false}function vi(e){return e?/[\p{P}]/u.test(e):false}function wi(e,t){if(t<=0)return 0;t>e.length&&(t=e.length);let o=t;for(;o>0&&M(e[o-1]);)o--;if(o===0)return 0;for(;o>0&&y(e[o-1]);)o--;return o}function Ii(e,t){if(t>=e.length)return e.length;t<0&&(t=0);let o=t;for(;o<e.length&&y(e[o]);)o++;for(;o<e.length&&M(e[o]);)o++;return o}function U(e,t){if(t>=e.length)return e.length;let o=t;for(;o<e.length&&y(e[o]);)o++;for(;o<e.length&&!y(e[o]);)o++;return o}function V(e,t){if(t<=0)return 0;let o=t;for(;o>0&&!y(e[o-1]);)o--;for(;o>0&&y(e[o-1]);)o--;return o}function z(e,t){if(!window.getSelection())return null;let r=document.createRange();if(e.nodeType===Node.TEXT_NODE){r.setStart(e,Math.min(t,e.textContent?.length||0)),r.collapse(true);let i=r.getBoundingClientRect().top,a=0,l=t;for(;a<l;){let s=Math.floor((a+l)/2);r.setStart(e,s),r.collapse(true);let c=r.getBoundingClientRect();Math.abs(c.top-i)<2?l=s:a=s+1;}return {node:e,offset:a}}return null}function G(e,t){if(!window.getSelection())return null;let r=e.textContent?.length||0,n=document.createRange();if(e.nodeType===Node.TEXT_NODE){n.setStart(e,Math.min(t,r)),n.collapse(true);let a=n.getBoundingClientRect().top,l=t,s=r;for(;l<s;){let c=Math.ceil((l+s)/2);n.setStart(e,c),n.collapse(true);let d=n.getBoundingClientRect();Math.abs(d.top-a)<2?l=c:s=c-1;}return {node:e,offset:l}}return null}function Ai(){let e=window.getSelection();if(!e||e.rangeCount===0)return null;let t=e.getRangeAt(0);return {node:t.startContainer,offset:t.startOffset,anchorNode:e.anchorNode,anchorOffset:e.anchorOffset,focusNode:e.focusNode,focusOffset:e.focusOffset,isCollapsed:e.isCollapsed,text:e.toString()}}function w(e,t){let o=window.getSelection();if(!o)return;let r=document.createRange(),n=e.nodeType===Node.TEXT_NODE?e.textContent?.length||0:e.childNodes.length;r.setStart(e,Math.min(t,n)),r.collapse(true),o.removeAllRanges(),o.addRange(r);}function I(e,t){let o=window.getSelection();if(!(!o||!o.anchorNode))try{o.extend(e,Math.min(t,e.textContent?.length||0));}catch{let r=e.nodeType===Node.TEXT_NODE?e.textContent?.length||0:e.childNodes.length;o.setBaseAndExtent(o.anchorNode,o.anchorOffset,e,Math.min(t,r));}}function $(e,t=false){let o=window.getSelection();if(!o||o.rangeCount===0)return false;let r=o.focusNode;if(!r||r.nodeType!==Node.TEXT_NODE)return false;let n=r.textContent||"",i=o.focusOffset,a;return e==="left"?a=V(n,i):a=U(n,i),t?I(r,a):w(r,a),true}function Z(e,t=false){let o=window.getSelection();if(!o||o.rangeCount===0)return false;let r=o.focusNode;if(!r)return false;if(r.nodeType===Node.TEXT_NODE){let a=e==="start"?z(r,o.focusOffset):G(r,o.focusOffset);if(a)return t?I(a.node,a.offset):w(a.node,a.offset),true}let n=r.textContent||"",i=e==="start"?0:n.length;return t?I(r,i):w(r,i),true}function X(e){let{key:t,ctrlKey:o,metaKey:r,shiftKey:n,altKey:i}=e,a=o||r;switch(t){case "ArrowLeft":if(a)return {direction:"left",unit:"word",extend:n};break;case "ArrowRight":if(a)return {direction:"right",unit:"word",extend:n};break;case "Home":return a?{direction:"left",unit:"document",extend:n}:{direction:"left",unit:"line",extend:n};case "End":return a?{direction:"right",unit:"document",extend:n}:{direction:"right",unit:"line",extend:n}}return null}function Ni(e,t){let o=X(e);if(!o)return false;switch(o.unit){case "word":if((o.direction==="left"||o.direction==="right")&&$(o.direction,o.extend))return e.preventDefault(),true;break;case "line":let r=o.direction==="left"?"start":"end";if(Z(r,o.extend))return e.preventDefault(),true;break;case "document":if(o.direction==="left"&&t?.onDocumentStart)return e.preventDefault(),t.onDocumentStart(),true;if(o.direction==="right"&&t?.onDocumentEnd)return e.preventDefault(),t.onDocumentEnd(),true;break}return false}function Di(e){let{key:t,ctrlKey:o,metaKey:r}=e;return !!((o||r)&&(t==="ArrowLeft"||t==="ArrowRight")||t==="Home"||t==="End")}function Oi(){let e=window.getSelection();if(!e||e.rangeCount===0)return false;let t=e.focusNode;if(!t||t.nodeType!==Node.TEXT_NODE)return false;let o=t.textContent||"",r=e.focusOffset,n=r,i=r;for(;n>0&&y(o[n-1]);)n--;for(;i<o.length&&y(o[i]);)i++;if(n===i)return false;let a=document.createRange();return a.setStart(t,n),a.setEnd(t,i),e.removeAllRanges(),e.addRange(a),true}function ki(){let e=window.getSelection();if(!e||e.rangeCount===0)return null;let t=e.focusNode;if(!t||t.nodeType!==Node.TEXT_NODE)return null;let o=t.textContent||"",r=e.focusOffset,n=r,i=r;for(;n>0&&y(o[n-1]);)n--;for(;i<o.length&&y(o[i]);)i++;return n===i?null:o.slice(n,i)}function Li(e,t){let o=e.ctrlKey||e.metaKey,r=t.ctrlKey||t.metaKey;return e.key.toLowerCase()===t.key.toLowerCase()&&o===!!r&&e.shiftKey===!!t.shiftKey&&e.altKey===!!t.altKey}var f={wordLeft:{key:"ArrowLeft",ctrlKey:true},wordRight:{key:"ArrowRight",ctrlKey:true},selectWordLeft:{key:"ArrowLeft",ctrlKey:true,shiftKey:true},selectWordRight:{key:"ArrowRight",ctrlKey:true,shiftKey:true},lineStart:{key:"Home"},lineEnd:{key:"End"},selectToLineStart:{key:"Home",shiftKey:true},selectToLineEnd:{key:"End",shiftKey:true},documentStart:{key:"Home",ctrlKey:true},documentEnd:{key:"End",ctrlKey:true},selectToDocumentStart:{key:"Home",ctrlKey:true,shiftKey:true},selectToDocumentEnd:{key:"End",ctrlKey:true,shiftKey:true}};function m(e){let t=[];if(e.ctrlKey||e.metaKey){let r=typeof navigator<"u"&&/Mac/i.test(navigator.platform);t.push(r?"\u2318":"Ctrl");}e.shiftKey&&t.push("Shift"),e.altKey&&t.push("Alt");let o=e.key;return o==="ArrowLeft"?o="\u2190":o==="ArrowRight"?o="\u2192":o==="ArrowUp"?o="\u2191":o==="ArrowDown"&&(o="\u2193"),t.push(o),t.join("+")}function Mi(){return [{action:"Move by word (left)",shortcut:m(f.wordLeft)},{action:"Move by word (right)",shortcut:m(f.wordRight)},{action:"Select word (left)",shortcut:m(f.selectWordLeft)},{action:"Select word (right)",shortcut:m(f.selectWordRight)},{action:"Go to line start",shortcut:m(f.lineStart)},{action:"Go to line end",shortcut:m(f.lineEnd)},{action:"Select to line start",shortcut:m(f.selectToLineStart)},{action:"Select to line end",shortcut:m(f.selectToLineEnd)},{action:"Go to document start",shortcut:m(f.documentStart)},{action:"Go to document end",shortcut:m(f.documentEnd)},{action:"Select to document start",shortcut:m(f.selectToDocumentStart)},{action:"Select to document end",shortcut:m(f.selectToDocumentEnd)}]}var Y=/\{([#/^@]?)([a-zA-Z_][a-zA-Z0-9_]*(?:\.[a-zA-Z_][a-zA-Z0-9_]*)*)\}/g,p=new prosemirrorState.PluginKey("template");function _i(e,t,o){return `${e}:${t}:${o}`}function q(e){let t=[];e.descendants((s,c)=>(s.isText&&s.text&&t.push({text:s.text,pos:c}),true));let o="",r=[];for(let s of t){for(let c=0;c<s.text.length;c++)r.push(s.pos+c);o+=s.text;}let n=[],i=[],a=new Map,l;for(Y.lastIndex=0;(l=Y.exec(o))!==null;){let[s,c,d]=l,g=r[l.index],h=r[l.index+s.length-1]+1,u;c==="#"?u="sectionStart":c==="/"?u="sectionEnd":c==="^"?u="invertedStart":c==="@"?u="raw":u="variable";let T=`${u}:${d}`,H=a.get(T)??0;a.set(T,H+1);let E={id:_i(u,d,H),type:u,name:d,rawTag:s,from:g,to:h};if(u==="sectionStart"||u==="invertedStart")E.nestedVars=[],i.push(E);else if(u==="sectionEnd"){for(let P=i.length-1;P>=0;P--)if(i[P].name===d){i.splice(P,1);break}}else u==="variable"&&i.length>0&&(i[i.length-1].nestedVars?.push(d),E.insideSection=true);n.push(E);}return n}function Wi(e){switch(e){case "sectionStart":case "sectionEnd":return "#3b82f6";case "invertedStart":return "#8b5cf6";case "raw":return "#ef4444";default:return "#f59e0b"}}function K(e,t,o,r){let n=[];for(let i of t){let a=i.id===o,l=i.id===r,s=Wi(i.type),c=["docx-template-tag"];a&&c.push("hovered"),l&&c.push("selected"),n.push(prosemirrorView.Decoration.inline(i.from,i.to,{class:c.join(" "),"data-tag-id":i.id,style:`background-color: ${s}22; border-radius: 2px;`}));}return prosemirrorView.DecorationSet.create(e,n)}function Fi(e,t){if(e.length!==t.length)return false;for(let o=0;o<e.length;o++)if(e[o].id!==t[o].id)return false;return true}function A(){return new prosemirrorState.Plugin({key:p,state:{init(e,t){let o=q(t.doc);return {tags:o,decorations:K(t.doc,o)}},apply(e,t,o,r){if(e.docChanged){let i=q(r.doc),a=Fi(t.tags,i);return {tags:i,decorations:a?t.decorations.map(e.mapping,e.doc):K(r.doc,i,t.hoveredId,t.selectedId),hoveredId:t.hoveredId,selectedId:t.selectedId}}let n=e.getMeta(p);if(n){let i=n.hoveredId??t.hoveredId,a=n.selectedId??t.selectedId;return {...t,hoveredId:i,selectedId:a,decorations:K(r.doc,t.tags,i,a)}}return {...t,decorations:t.decorations.map(e.mapping,e.doc)}}},props:{decorations(e){return p.getState(e)?.decorations??prosemirrorView.DecorationSet.empty},handleClick(e,t){let r=(p.getState(e.state)?.tags??[]).find(i=>t>=i.from&&t<=i.to);return r?(e.dispatch(e.state.tr.setMeta(p,{selectedId:r.id})),true):(p.getState(e.state)?.selectedId&&e.dispatch(e.state.tr.setMeta(p,{selectedId:void 0})),false)},handleDOMEvents:{mouseover(e,t){let r=t.target.closest?.("[data-tag-id]")?.getAttribute("data-tag-id")||void 0,n=p.getState(e.state)?.hoveredId;return r!==n&&e.dispatch(e.state.tr.setMeta(p,{hoveredId:r})),false},mouseout(e,t){return t.relatedTarget?.closest?.("[data-tag-id]")||p.getState(e.state)?.hoveredId&&e.dispatch(e.state.tr.setMeta(p,{hoveredId:void 0})),false}}}})}function J(e){return p.getState(e)?.tags??[]}function C(e,t){e.dispatch(e.state.tr.setMeta(p,{hoveredId:t}));}function N(e,t){e.dispatch(e.state.tr.setMeta(p,{selectedId:t}));}var D=`
2
2
  .docx-template-tag {
3
3
  cursor: pointer;
4
4
  transition: background-color 0.1s;
@@ -12,51 +12,31 @@
12
12
  .docx-template-tag.selected {
13
13
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
14
14
  }
15
- `;var ti={variable:"#f59e0b",sectionStart:"#3b82f6",sectionEnd:"#3b82f6",invertedStart:"#8b5cf6",raw:"#ef4444"};function oi(e){switch(e){case "sectionStart":return "LOOP / IF";case "invertedStart":return "IF NOT";case "raw":return "HTML";default:return ""}}function U({editorView:e,pluginState:t,renderedDomContext:o}){let n=t?.tags??[],r=t?.hoveredId,a=t?.selectedId,[i,l]=ye.useState(0),p=ye.useRef(null),d=ye.useRef(new Map),c=ye.useRef([]),u=ye.useMemo(()=>n.filter(s=>s.type!=="sectionEnd"&&!s.insideSection),[n]),x=ye.useCallback(()=>{if(u.length===0||!o)return c.current;let s=[],h=o.getContainerOffset(),E=new Map;for(let f of c.current)E.set(f.tag.id,f.top);for(let f of u){let y=o.getRectsForRange(f.from,f.from+1);if(y.length>0){let v=y[0].y+h.y-40;s.push({tag:f,top:v});}else {let v=E.get(f.id);v!==void 0&&s.push({tag:f,top:v});}}s.sort((f,y)=>f.top-y.top);let I=6;for(let f=1;f<s.length;f++){let y=s[f-1],v=s[f],C=d.current.get(y.tag.id),N=32;C?N=C.offsetHeight:y.tag.nestedVars&&y.tag.nestedVars.length>0&&(N=42+y.tag.nestedVars.length*26),v.top<y.top+N+I&&(v.top=y.top+N+I);}return c.current=s,s},[u,o]),g=ye.useMemo(()=>x(),[x,i]);ye.useEffect(()=>{if(!o)return;let s=new ResizeObserver(()=>{requestAnimationFrame(()=>l(h=>h+1));});return s.observe(o.pagesContainer),()=>s.disconnect()},[o]),ye.useEffect(()=>{let s=()=>{requestAnimationFrame(()=>l(h=>h+1));};return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[]);let b=ye.useRef("");ye.useEffect(()=>{let s=u.map(h=>h.id).join(",");if(s&&b.current!==s){let h=setTimeout(()=>{b.current=s,l(E=>E+1);},50);return ()=>clearTimeout(h)}},[u]);let k=s=>{e&&D(e,s);},w=s=>{if(!e)return;L(e,s.id);let{state:h}=e,E=h.tr.setSelection(prosemirrorState.TextSelection.near(h.doc.resolve(s.from)));e.dispatch(E),e.focus();};return u.length===0?null:jsxRuntime.jsx("div",{className:"template-panel",ref:p,children:jsxRuntime.jsx("div",{className:"template-panel-annotations",children:g.map(({tag:s,top:h})=>{let E=oi(s.type),I=ti[s.type],f=s.type==="sectionStart"||s.type==="invertedStart",y=s.id===r,v=s.id===a;return jsxRuntime.jsxs("div",{className:"template-annotation-anchor",style:{top:`${h}px`},children:[jsxRuntime.jsx("div",{className:"template-annotation-connector"}),jsxRuntime.jsxs("div",{ref:C=>{C?d.current.set(s.id,C):d.current.delete(s.id);},className:`template-annotation-chip ${y?"hovered":""} ${v?"selected":""}`,style:{borderLeftColor:I},onMouseEnter:()=>k(s.id),onMouseLeave:()=>k(void 0),onClick:()=>w(s),title:f?`${s.rawTag}
16
- Iterates over ${s.name}[]. Access nested properties via ${s.name}.property`:s.rawTag,children:[E&&jsxRuntime.jsx("span",{className:"template-chip-badge",style:{background:I},children:E}),!E&&jsxRuntime.jsx("span",{className:"template-chip-dot",style:{color:I},children:"\u25CF"}),jsxRuntime.jsx("span",{className:"template-chip-name",children:s.name}),f&&s.nestedVars&&s.nestedVars.length>0&&jsxRuntime.jsx("div",{className:"template-chip-nested",children:s.nestedVars.map((C,N)=>jsxRuntime.jsx("span",{className:"template-nested-var",title:`Access: ${s.name}.${C}`,children:C.includes(".")?C.split(".").pop():C},N))})]})]},s.id)})})})}var z=`
17
- .template-panel {
18
- display: flex;
19
- min-height: 100%;
20
- background: transparent;
21
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
22
- position: relative;
23
- }
24
-
25
- .template-panel-annotations {
26
- flex: 1;
27
- position: relative;
28
- overflow: visible;
29
- min-height: 100%;
30
- pointer-events: none;
31
- will-change: transform;
32
- }
33
-
34
- .template-panel-annotations > * {
35
- pointer-events: auto;
36
- }
37
-
38
- .template-annotation-anchor {
15
+ `;var Gi={variable:"rgba(245, 158, 11, 0.3)",sectionStart:"rgba(59, 130, 246, 0.3)",sectionEnd:"rgba(59, 130, 246, 0.3)",invertedStart:"rgba(139, 92, 246, 0.3)",raw:"rgba(239, 68, 68, 0.3)"},$i={variable:"rgba(245, 158, 11, 0.5)",sectionStart:"rgba(59, 130, 246, 0.5)",sectionEnd:"rgba(59, 130, 246, 0.5)",invertedStart:"rgba(139, 92, 246, 0.5)",raw:"rgba(239, 68, 68, 0.5)"};function te({context:e,tags:t,hoveredId:o,selectedId:r,onHover:n,onSelect:i}){let[a,l]=ae.useState(0),s=ae.useCallback(()=>{let d=e.getContainerOffset(),g=[];for(let h of t){let u=e.getRectsForRange(h.from,h.to);for(let T of u)g.push({tagId:h.id,tagType:h.type,x:T.x+d.x,y:T.y+d.y,width:T.width,height:T.height});}return g},[e,t]),c=ae.useMemo(()=>s(),[s,a]);return ae.useEffect(()=>{let d=()=>{requestAnimationFrame(()=>l(g=>g+1));};return window.addEventListener("resize",d),()=>window.removeEventListener("resize",d)},[]),ae.useEffect(()=>{let d=new ResizeObserver(()=>{requestAnimationFrame(()=>l(g=>g+1));});return d.observe(e.pagesContainer),()=>d.disconnect()},[e.pagesContainer]),c.length===0?null:jsxRuntime.jsx("div",{className:"template-highlight-overlay",children:c.map((d,g)=>{let h=d.tagId===o,u=d.tagId===r,T=h||u?$i[d.tagType]:Gi[d.tagType];return jsxRuntime.jsx("div",{className:`template-highlight ${h?"hovered":""} ${u?"selected":""}`,style:{position:"absolute",left:d.x,top:d.y,width:d.width,height:d.height,backgroundColor:T,borderRadius:2,cursor:"pointer"},onMouseEnter:()=>n?.(d.tagId),onMouseLeave:()=>n?.(void 0),onClick:()=>i?.(d.tagId)},`${d.tagId}-${g}`)})})}var oe=`
16
+ .template-highlight-overlay {
39
17
  position: absolute;
18
+ top: 0;
40
19
  left: 0;
41
20
  right: 0;
42
- display: flex;
43
- align-items: flex-start;
44
- transition: top 0.15s ease-out;
21
+ bottom: 0;
22
+ pointer-events: none;
23
+ overflow: visible;
45
24
  }
46
25
 
47
- .template-annotation-connector {
48
- width: 20px;
49
- height: 1px;
50
- background: #d0d0d0;
51
- margin-top: 12px;
52
- margin-right: 4px;
53
- flex-shrink: 0;
26
+ .template-highlight {
27
+ pointer-events: auto;
28
+ transition: background-color 0.1s ease;
54
29
  }
55
30
 
56
- .template-annotation-anchor:hover .template-annotation-connector {
57
- background: #3b82f6;
31
+ .template-highlight:hover,
32
+ .template-highlight.hovered {
33
+ filter: brightness(0.9);
58
34
  }
59
35
 
36
+ .template-highlight.selected {
37
+ box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6);
38
+ }
39
+ `;var Zi={variable:"#f59e0b",sectionStart:"#3b82f6",sectionEnd:"#3b82f6",invertedStart:"#8b5cf6",raw:"#ef4444"};function Xi(e){switch(e){case "sectionStart":return "LOOP / IF";case "invertedStart":return "IF NOT";case "raw":return "HTML";default:return ""}}var ne=`
60
40
  .template-annotation-chip {
61
41
  display: inline-flex;
62
42
  flex-wrap: wrap;
@@ -124,32 +104,9 @@ Iterates over ${s.name}[]. Access nested properties via ${s.name}.property`:s.ra
124
104
  background: rgba(59, 130, 246, 0.15);
125
105
  color: #1e40af;
126
106
  }
127
- `;var ii={variable:"rgba(245, 158, 11, 0.3)",sectionStart:"rgba(59, 130, 246, 0.3)",sectionEnd:"rgba(59, 130, 246, 0.3)",invertedStart:"rgba(139, 92, 246, 0.3)",raw:"rgba(239, 68, 68, 0.3)"},si={variable:"rgba(245, 158, 11, 0.5)",sectionStart:"rgba(59, 130, 246, 0.5)",sectionEnd:"rgba(59, 130, 246, 0.5)",invertedStart:"rgba(139, 92, 246, 0.5)",raw:"rgba(239, 68, 68, 0.5)"};function me({context:e,tags:t,hoveredId:o,selectedId:n,onHover:r,onSelect:a}){let[i,l]=ye.useState(0),p=ye.useCallback(()=>{let c=e.getContainerOffset(),u=[];for(let x of t){let g=e.getRectsForRange(x.from,x.to);for(let b of g)u.push({tagId:x.id,tagType:x.type,x:b.x+c.x,y:b.y+c.y,width:b.width,height:b.height});}return u},[e,t]),d=ye.useMemo(()=>p(),[p,i]);return ye.useEffect(()=>{let c=()=>{requestAnimationFrame(()=>l(u=>u+1));};return window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)},[]),ye.useEffect(()=>{let c=new ResizeObserver(()=>{requestAnimationFrame(()=>l(u=>u+1));});return c.observe(e.pagesContainer),()=>c.disconnect()},[e.pagesContainer]),d.length===0?null:jsxRuntime.jsx("div",{className:"template-highlight-overlay",children:d.map((c,u)=>{let x=c.tagId===o,g=c.tagId===n,b=x||g?si[c.tagType]:ii[c.tagType];return jsxRuntime.jsx("div",{className:`template-highlight ${x?"hovered":""} ${g?"selected":""}`,style:{position:"absolute",left:c.x,top:c.y,width:c.width,height:c.height,backgroundColor:b,borderRadius:2,cursor:"pointer"},onMouseEnter:()=>r?.(c.tagId),onMouseLeave:()=>r?.(void 0),onClick:()=>a?.(c.tagId)},`${c.tagId}-${u}`)})})}var he=`
128
- .template-highlight-overlay {
129
- position: absolute;
130
- top: 0;
131
- left: 0;
132
- right: 0;
133
- bottom: 0;
134
- pointer-events: none;
135
- overflow: visible;
136
- }
137
-
138
- .template-highlight {
139
- pointer-events: auto;
140
- transition: background-color 0.1s ease;
141
- }
142
-
143
- .template-highlight:hover,
144
- .template-highlight.hovered {
145
- filter: brightness(0.9);
146
- }
147
-
148
- .template-highlight.selected {
149
- box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6);
150
- }
151
- `;var ci=ye__default.default.memo(U,(e,t)=>{let o=e.pluginState,n=t.pluginState;if(o?.hoveredId!==n?.hoveredId||o?.selectedId!==n?.selectedId)return false;let r=o?.tags??[],a=n?.tags??[];if(r.length!==a.length)return false;for(let i=0;i<r.length;i++)if(r[i].id!==a[i].id)return false;return e.renderedDomContext===t.renderedDomContext});function Te(e={}){return {id:"template",name:"Template",proseMirrorPlugins:[B()],Panel:ci,panelConfig:{position:e.panelPosition??"right",defaultSize:e.panelWidth??280,minSize:200,maxSize:400,resizable:true,collapsible:true,defaultCollapsed:e.defaultCollapsed??false},onStateChange:o=>{let n=m.getState(o.state);if(n)return {tags:n.tags,hoveredId:n.hoveredId,selectedId:n.selectedId}},initialize:o=>({tags:[]}),renderOverlay:(o,n,r)=>!n||n.tags.length===0?null:ye__default.default.createElement(me,{context:o,tags:n.tags,hoveredId:n.hoveredId,selectedId:n.selectedId,onHover:a=>{r&&D(r,a);},onSelect:a=>{if(r){L(r,a);let i=n.tags.find(l=>l.id===a);if(i){let l=r.state.tr.setSelection(prosemirrorState.TextSelection.near(r.state.doc.resolve(i.from)));r.dispatch(l),r.focus();}}}}),styles:`
152
- ${W}
153
- ${z}
154
- ${he}
155
- `}}var pi=Te();var Di="0.0.2";Object.defineProperty(exports,"DEFAULT_SELECTION_STYLE",{enumerable:true,get:function(){return chunkG72SXG7G_js.w}});Object.defineProperty(exports,"DocxEditor",{enumerable:true,get:function(){return chunkG72SXG7G_js.j}});Object.defineProperty(exports,"EditorToolbar",{enumerable:true,get:function(){return chunkG72SXG7G_js.a}});Object.defineProperty(exports,"ErrorBoundary",{enumerable:true,get:function(){return chunkG72SXG7G_js.d}});Object.defineProperty(exports,"ErrorProvider",{enumerable:true,get:function(){return chunkG72SXG7G_js.c}});Object.defineProperty(exports,"HIGH_CONTRAST_SELECTION_STYLE",{enumerable:true,get:function(){return chunkG72SXG7G_js.x}});Object.defineProperty(exports,"PLUGIN_HOST_STYLES",{enumerable:true,get:function(){return chunkG72SXG7G_js.U}});Object.defineProperty(exports,"ParseErrorDisplay",{enumerable:true,get:function(){return chunkG72SXG7G_js.e}});Object.defineProperty(exports,"PluginHost",{enumerable:true,get:function(){return chunkG72SXG7G_js.V}});Object.defineProperty(exports,"SELECTION_CSS_VARS",{enumerable:true,get:function(){return chunkG72SXG7G_js.y}});Object.defineProperty(exports,"UnsupportedFeatureWarning",{enumerable:true,get:function(){return chunkG72SXG7G_js.f}});Object.defineProperty(exports,"ZOOM_PRESETS",{enumerable:true,get:function(){return chunkG72SXG7G_js.m}});Object.defineProperty(exports,"areSelectionStylesInjected",{enumerable:true,get:function(){return chunkG72SXG7G_js.P}});Object.defineProperty(exports,"clampZoom",{enumerable:true,get:function(){return chunkG72SXG7G_js.v}});Object.defineProperty(exports,"clearSelection",{enumerable:true,get:function(){return chunkG72SXG7G_js.K}});Object.defineProperty(exports,"createSelectionChangeHandler",{enumerable:true,get:function(){return chunkG72SXG7G_js.Q}});Object.defineProperty(exports,"findNearestZoomPreset",{enumerable:true,get:function(){return chunkG72SXG7G_js.p}});Object.defineProperty(exports,"formatZoom",{enumerable:true,get:function(){return chunkG72SXG7G_js.s}});Object.defineProperty(exports,"generateOverlayElements",{enumerable:true,get:function(){return chunkG72SXG7G_js.S}});Object.defineProperty(exports,"generateSelectionCSS",{enumerable:true,get:function(){return chunkG72SXG7G_js.D}});Object.defineProperty(exports,"getHighlightRectStyle",{enumerable:true,get:function(){return chunkG72SXG7G_js.C}});Object.defineProperty(exports,"getMergedSelectionRects",{enumerable:true,get:function(){return chunkG72SXG7G_js.B}});Object.defineProperty(exports,"getNextZoomPreset",{enumerable:true,get:function(){return chunkG72SXG7G_js.q}});Object.defineProperty(exports,"getPreviousZoomPreset",{enumerable:true,get:function(){return chunkG72SXG7G_js.r}});Object.defineProperty(exports,"getSelectedText",{enumerable:true,get:function(){return chunkG72SXG7G_js.F}});Object.defineProperty(exports,"getSelectionBoundingRect",{enumerable:true,get:function(){return chunkG72SXG7G_js.H}});Object.defineProperty(exports,"getSelectionRects",{enumerable:true,get:function(){return chunkG72SXG7G_js.z}});Object.defineProperty(exports,"getUserFriendlyMessage",{enumerable:true,get:function(){return chunkG72SXG7G_js.h}});Object.defineProperty(exports,"getZoomPresets",{enumerable:true,get:function(){return chunkG72SXG7G_js.o}});Object.defineProperty(exports,"hasActiveSelection",{enumerable:true,get:function(){return chunkG72SXG7G_js.E}});Object.defineProperty(exports,"highlightTextRange",{enumerable:true,get:function(){return chunkG72SXG7G_js.I}});Object.defineProperty(exports,"injectSelectionStyles",{enumerable:true,get:function(){return chunkG72SXG7G_js.N}});Object.defineProperty(exports,"isParseError",{enumerable:true,get:function(){return chunkG72SXG7G_js.g}});Object.defineProperty(exports,"isSelectionBackwards",{enumerable:true,get:function(){return chunkG72SXG7G_js.L}});Object.defineProperty(exports,"isSelectionWithin",{enumerable:true,get:function(){return chunkG72SXG7G_js.G}});Object.defineProperty(exports,"isZoomPreset",{enumerable:true,get:function(){return chunkG72SXG7G_js.u}});Object.defineProperty(exports,"mergeAdjacentRects",{enumerable:true,get:function(){return chunkG72SXG7G_js.A}});Object.defineProperty(exports,"normalizeSelectionDirection",{enumerable:true,get:function(){return chunkG72SXG7G_js.M}});Object.defineProperty(exports,"parseZoom",{enumerable:true,get:function(){return chunkG72SXG7G_js.t}});Object.defineProperty(exports,"removeSelectionStyles",{enumerable:true,get:function(){return chunkG72SXG7G_js.O}});Object.defineProperty(exports,"renderAsync",{enumerable:true,get:function(){return chunkG72SXG7G_js.k}});Object.defineProperty(exports,"selectRange",{enumerable:true,get:function(){return chunkG72SXG7G_js.J}});Object.defineProperty(exports,"useAutoSave",{enumerable:true,get:function(){return chunkG72SXG7G_js.l}});Object.defineProperty(exports,"useClipboard",{enumerable:true,get:function(){return chunkG72SXG7G_js.T}});Object.defineProperty(exports,"useErrorNotifications",{enumerable:true,get:function(){return chunkG72SXG7G_js.b}});Object.defineProperty(exports,"useSelectionHighlight",{enumerable:true,get:function(){return chunkG72SXG7G_js.R}});Object.defineProperty(exports,"useTableSelection",{enumerable:true,get:function(){return chunkG72SXG7G_js.i}});Object.defineProperty(exports,"useWheelZoom",{enumerable:true,get:function(){return chunkG72SXG7G_js.n}});Object.defineProperty(exports,"ColorPicker",{enumerable:true,get:function(){return chunkXGL3EGKF_js.k}});Object.defineProperty(exports,"ContextMenu",{enumerable:true,get:function(){return chunkXGL3EGKF_js.a}});Object.defineProperty(exports,"InsertImageDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.V}});Object.defineProperty(exports,"InsertSymbolDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.da}});Object.defineProperty(exports,"InsertTableDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.O}});Object.defineProperty(exports,"KeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.qa}});Object.defineProperty(exports,"LoadingIndicator",{enumerable:true,get:function(){return chunkXGL3EGKF_js.B}});Object.defineProperty(exports,"PasteSpecialDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ka}});Object.defineProperty(exports,"PrintButton",{enumerable:true,get:function(){return chunkXGL3EGKF_js.l}});Object.defineProperty(exports,"PrintStyles",{enumerable:true,get:function(){return chunkXGL3EGKF_js.m}});Object.defineProperty(exports,"ResponsePreview",{enumerable:true,get:function(){return chunkXGL3EGKF_js.g}});Object.defineProperty(exports,"ResponsiveToolbar",{enumerable:true,get:function(){return chunkXGL3EGKF_js.J}});Object.defineProperty(exports,"ResponsiveToolbarGroup",{enumerable:true,get:function(){return chunkXGL3EGKF_js.K}});Object.defineProperty(exports,"SYMBOL_CATEGORIES",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ca}});Object.defineProperty(exports,"TableInsertButtons",{enumerable:true,get:function(){return chunkXGL3EGKF_js.u}});Object.defineProperty(exports,"TableMergeButton",{enumerable:true,get:function(){return chunkXGL3EGKF_js.t}});Object.defineProperty(exports,"UnsavedIndicator",{enumerable:true,get:function(){return chunkXGL3EGKF_js.v}});Object.defineProperty(exports,"calculateFitDimensions",{enumerable:true,get:function(){return chunkXGL3EGKF_js._}});Object.defineProperty(exports,"clampTableConfig",{enumerable:true,get:function(){return chunkXGL3EGKF_js.S}});Object.defineProperty(exports,"createChangeTracker",{enumerable:true,get:function(){return chunkXGL3EGKF_js.A}});Object.defineProperty(exports,"createDefaultTableConfig",{enumerable:true,get:function(){return chunkXGL3EGKF_js.Q}});Object.defineProperty(exports,"createErrorResponse",{enumerable:true,get:function(){return chunkXGL3EGKF_js.j}});Object.defineProperty(exports,"createMockResponse",{enumerable:true,get:function(){return chunkXGL3EGKF_js.i}});Object.defineProperty(exports,"createToolbarItem",{enumerable:true,get:function(){return chunkXGL3EGKF_js.L}});Object.defineProperty(exports,"createToolbarItems",{enumerable:true,get:function(){return chunkXGL3EGKF_js.M}});Object.defineProperty(exports,"dataUrlToBlob",{enumerable:true,get:function(){return chunkXGL3EGKF_js.$}});Object.defineProperty(exports,"delay",{enumerable:true,get:function(){return chunkXGL3EGKF_js.H}});Object.defineProperty(exports,"formatFileSize",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ba}});Object.defineProperty(exports,"formatPrintPageRange",{enumerable:true,get:function(){return chunkXGL3EGKF_js.r}});Object.defineProperty(exports,"formatShortcutKeys",{enumerable:true,get:function(){return chunkXGL3EGKF_js.xa}});Object.defineProperty(exports,"formatTableDimensions",{enumerable:true,get:function(){return chunkXGL3EGKF_js.T}});Object.defineProperty(exports,"getActionShortcut",{enumerable:true,get:function(){return chunkXGL3EGKF_js.c}});Object.defineProperty(exports,"getAllActions",{enumerable:true,get:function(){return chunkXGL3EGKF_js.f}});Object.defineProperty(exports,"getAllCategories",{enumerable:true,get:function(){return chunkXGL3EGKF_js.wa}});Object.defineProperty(exports,"getAllIndicatorPositions",{enumerable:true,get:function(){return chunkXGL3EGKF_js.z}});Object.defineProperty(exports,"getAllIndicatorVariants",{enumerable:true,get:function(){return chunkXGL3EGKF_js.y}});Object.defineProperty(exports,"getAllLoadingSizes",{enumerable:true,get:function(){return chunkXGL3EGKF_js.G}});Object.defineProperty(exports,"getAllLoadingVariants",{enumerable:true,get:function(){return chunkXGL3EGKF_js.F}});Object.defineProperty(exports,"getAllPasteOptions",{enumerable:true,get:function(){return chunkXGL3EGKF_js.na}});Object.defineProperty(exports,"getCategoryLabel",{enumerable:true,get:function(){return chunkXGL3EGKF_js.va}});Object.defineProperty(exports,"getCommonShortcuts",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ua}});Object.defineProperty(exports,"getDefaultActions",{enumerable:true,get:function(){return chunkXGL3EGKF_js.e}});Object.defineProperty(exports,"getDefaultPasteOption",{enumerable:true,get:function(){return chunkXGL3EGKF_js.oa}});Object.defineProperty(exports,"getDefaultPrintOptions",{enumerable:true,get:function(){return chunkXGL3EGKF_js.p}});Object.defineProperty(exports,"getDefaultShortcuts",{enumerable:true,get:function(){return chunkXGL3EGKF_js.sa}});Object.defineProperty(exports,"getImageAcceptString",{enumerable:true,get:function(){return chunkXGL3EGKF_js.Z}});Object.defineProperty(exports,"getImageDimensions",{enumerable:true,get:function(){return chunkXGL3EGKF_js.aa}});Object.defineProperty(exports,"getLoadingVariantLabel",{enumerable:true,get:function(){return chunkXGL3EGKF_js.E}});Object.defineProperty(exports,"getPasteOption",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ma}});Object.defineProperty(exports,"getRecommendedPriority",{enumerable:true,get:function(){return chunkXGL3EGKF_js.N}});Object.defineProperty(exports,"getShortcutsByCategory",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ta}});Object.defineProperty(exports,"getSupportedImageExtensions",{enumerable:true,get:function(){return chunkXGL3EGKF_js.Y}});Object.defineProperty(exports,"getSymbolCategories",{enumerable:true,get:function(){return chunkXGL3EGKF_js.fa}});Object.defineProperty(exports,"getSymbolUnicodeInfo",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ha}});Object.defineProperty(exports,"getSymbolsByCategory",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ga}});Object.defineProperty(exports,"getTablePresets",{enumerable:true,get:function(){return chunkXGL3EGKF_js.U}});Object.defineProperty(exports,"getVariantLabel",{enumerable:true,get:function(){return chunkXGL3EGKF_js.x}});Object.defineProperty(exports,"isActionAvailable",{enumerable:true,get:function(){return chunkXGL3EGKF_js.d}});Object.defineProperty(exports,"isPasteSpecialShortcut",{enumerable:true,get:function(){return chunkXGL3EGKF_js.pa}});Object.defineProperty(exports,"isPrintSupported",{enumerable:true,get:function(){return chunkXGL3EGKF_js.s}});Object.defineProperty(exports,"isValidImageFile",{enumerable:true,get:function(){return chunkXGL3EGKF_js.X}});Object.defineProperty(exports,"isValidTableConfig",{enumerable:true,get:function(){return chunkXGL3EGKF_js.R}});Object.defineProperty(exports,"openPrintWindow",{enumerable:true,get:function(){return chunkXGL3EGKF_js.o}});Object.defineProperty(exports,"parsePageRange",{enumerable:true,get:function(){return chunkXGL3EGKF_js.q}});Object.defineProperty(exports,"searchSymbols",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ia}});Object.defineProperty(exports,"symbolFromCodePoint",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ja}});Object.defineProperty(exports,"triggerPrint",{enumerable:true,get:function(){return chunkXGL3EGKF_js.n}});Object.defineProperty(exports,"useContextMenu",{enumerable:true,get:function(){return chunkXGL3EGKF_js.b}});Object.defineProperty(exports,"useInsertImageDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.W}});Object.defineProperty(exports,"useInsertSymbolDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ea}});Object.defineProperty(exports,"useInsertTableDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.P}});Object.defineProperty(exports,"useKeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkXGL3EGKF_js.ra}});Object.defineProperty(exports,"useLoading",{enumerable:true,get:function(){return chunkXGL3EGKF_js.C}});Object.defineProperty(exports,"useLoadingOperations",{enumerable:true,get:function(){return chunkXGL3EGKF_js.D}});Object.defineProperty(exports,"usePasteSpecial",{enumerable:true,get:function(){return chunkXGL3EGKF_js.la}});Object.defineProperty(exports,"useResponsePreview",{enumerable:true,get:function(){return chunkXGL3EGKF_js.h}});Object.defineProperty(exports,"useResponsiveToolbar",{enumerable:true,get:function(){return chunkXGL3EGKF_js.I}});Object.defineProperty(exports,"useUnsavedChanges",{enumerable:true,get:function(){return chunkXGL3EGKF_js.w}});Object.defineProperty(exports,"AdvancedColorPicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.k}});Object.defineProperty(exports,"AlignmentButtons",{enumerable:true,get:function(){return chunk2KHL5RSD_js.l}});Object.defineProperty(exports,"CLIPBOARD_TYPES",{enumerable:true,get:function(){return chunk2KHL5RSD_js.K}});Object.defineProperty(exports,"FontPicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.g}});Object.defineProperty(exports,"FontSizePicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.j}});Object.defineProperty(exports,"FormattingBar",{enumerable:true,get:function(){return chunk2KHL5RSD_js.y}});Object.defineProperty(exports,"HorizontalRuler",{enumerable:true,get:function(){return chunk2KHL5RSD_js.E}});Object.defineProperty(exports,"INTERNAL_CLIPBOARD_TYPE",{enumerable:true,get:function(){return chunk2KHL5RSD_js.J}});Object.defineProperty(exports,"LineSpacingPicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.o}});Object.defineProperty(exports,"ListButtons",{enumerable:true,get:function(){return chunk2KHL5RSD_js.m}});Object.defineProperty(exports,"StylePicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.p}});Object.defineProperty(exports,"TableBorderColorPicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.s}});Object.defineProperty(exports,"TableBorderPicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.r}});Object.defineProperty(exports,"TableBorderWidthPicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.t}});Object.defineProperty(exports,"TableCellFillPicker",{enumerable:true,get:function(){return chunk2KHL5RSD_js.u}});Object.defineProperty(exports,"TableMoreDropdown",{enumerable:true,get:function(){return chunk2KHL5RSD_js.v}});Object.defineProperty(exports,"TableToolbar",{enumerable:true,get:function(){return chunk2KHL5RSD_js.da}});Object.defineProperty(exports,"TextContextMenu",{enumerable:true,get:function(){return chunk2KHL5RSD_js.Z}});Object.defineProperty(exports,"Toolbar",{enumerable:true,get:function(){return chunk2KHL5RSD_js.D}});Object.defineProperty(exports,"ToolbarButton",{enumerable:true,get:function(){return chunk2KHL5RSD_js.A}});Object.defineProperty(exports,"ToolbarGroup",{enumerable:true,get:function(){return chunk2KHL5RSD_js.B}});Object.defineProperty(exports,"ToolbarSeparator",{enumerable:true,get:function(){return chunk2KHL5RSD_js.C}});Object.defineProperty(exports,"ZoomControl",{enumerable:true,get:function(){return chunk2KHL5RSD_js.q}});Object.defineProperty(exports,"addColumn",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ja}});Object.defineProperty(exports,"addRow",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ha}});Object.defineProperty(exports,"cleanWordHtml",{enumerable:true,get:function(){return chunk2KHL5RSD_js.W}});Object.defineProperty(exports,"copyParagraphs",{enumerable:true,get:function(){return chunk2KHL5RSD_js.N}});Object.defineProperty(exports,"copyRuns",{enumerable:true,get:function(){return chunk2KHL5RSD_js.M}});Object.defineProperty(exports,"createClipboardHandlers",{enumerable:true,get:function(){return chunk2KHL5RSD_js.Y}});Object.defineProperty(exports,"createDefaultListState",{enumerable:true,get:function(){return chunk2KHL5RSD_js.n}});Object.defineProperty(exports,"createTableContext",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ea}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ka}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ia}});Object.defineProperty(exports,"getCellAt",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ga}});Object.defineProperty(exports,"getColumnCount",{enumerable:true,get:function(){return chunk2KHL5RSD_js.fa}});Object.defineProperty(exports,"getDefaultTextContextMenuItems",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ba}});Object.defineProperty(exports,"getMarginInUnits",{enumerable:true,get:function(){return chunk2KHL5RSD_js.H}});Object.defineProperty(exports,"getRulerDimensions",{enumerable:true,get:function(){return chunk2KHL5RSD_js.G}});Object.defineProperty(exports,"getTextActionLabel",{enumerable:true,get:function(){return chunk2KHL5RSD_js.$}});Object.defineProperty(exports,"getTextActionShortcut",{enumerable:true,get:function(){return chunk2KHL5RSD_js.aa}});Object.defineProperty(exports,"handlePasteEvent",{enumerable:true,get:function(){return chunk2KHL5RSD_js.S}});Object.defineProperty(exports,"htmlToRuns",{enumerable:true,get:function(){return chunk2KHL5RSD_js.X}});Object.defineProperty(exports,"isEditorHtml",{enumerable:true,get:function(){return chunk2KHL5RSD_js.V}});Object.defineProperty(exports,"isTextActionAvailable",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ca}});Object.defineProperty(exports,"isWordHtml",{enumerable:true,get:function(){return chunk2KHL5RSD_js.U}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunk2KHL5RSD_js.la}});Object.defineProperty(exports,"paragraphsToClipboardContent",{enumerable:true,get:function(){return chunk2KHL5RSD_js.P}});Object.defineProperty(exports,"parseClipboardHtml",{enumerable:true,get:function(){return chunk2KHL5RSD_js.T}});Object.defineProperty(exports,"parseMarginFromUnits",{enumerable:true,get:function(){return chunk2KHL5RSD_js.I}});Object.defineProperty(exports,"positionToMargin",{enumerable:true,get:function(){return chunk2KHL5RSD_js.F}});Object.defineProperty(exports,"readFromClipboard",{enumerable:true,get:function(){return chunk2KHL5RSD_js.R}});Object.defineProperty(exports,"runsToClipboardContent",{enumerable:true,get:function(){return chunk2KHL5RSD_js.O}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunk2KHL5RSD_js.ma}});Object.defineProperty(exports,"useTextContextMenu",{enumerable:true,get:function(){return chunk2KHL5RSD_js._}});Object.defineProperty(exports,"writeToClipboard",{enumerable:true,get:function(){return chunk2KHL5RSD_js.Q}});Object.defineProperty(exports,"FindReplaceDialog",{enumerable:true,get:function(){return chunkCTYOM6BE_js.n}});Object.defineProperty(exports,"createDefaultFindOptions",{enumerable:true,get:function(){return chunkCTYOM6BE_js.a}});Object.defineProperty(exports,"createSearchPattern",{enumerable:true,get:function(){return chunkCTYOM6BE_js.c}});Object.defineProperty(exports,"escapeRegexString",{enumerable:true,get:function(){return chunkCTYOM6BE_js.b}});Object.defineProperty(exports,"findAllMatches",{enumerable:true,get:function(){return chunkCTYOM6BE_js.d}});Object.defineProperty(exports,"findInDocument",{enumerable:true,get:function(){return chunkCTYOM6BE_js.j}});Object.defineProperty(exports,"findInParagraph",{enumerable:true,get:function(){return chunkCTYOM6BE_js.k}});Object.defineProperty(exports,"getDefaultHighlightOptions",{enumerable:true,get:function(){return chunkCTYOM6BE_js.i}});Object.defineProperty(exports,"getMatchCountText",{enumerable:true,get:function(){return chunkCTYOM6BE_js.g}});Object.defineProperty(exports,"isEmptySearch",{enumerable:true,get:function(){return chunkCTYOM6BE_js.h}});Object.defineProperty(exports,"replaceAllInContent",{enumerable:true,get:function(){return chunkCTYOM6BE_js.e}});Object.defineProperty(exports,"replaceFirstInContent",{enumerable:true,get:function(){return chunkCTYOM6BE_js.f}});Object.defineProperty(exports,"scrollToMatch",{enumerable:true,get:function(){return chunkCTYOM6BE_js.l}});Object.defineProperty(exports,"useFindReplace",{enumerable:true,get:function(){return chunkCTYOM6BE_js.m}});Object.defineProperty(exports,"HyperlinkDialog",{enumerable:true,get:function(){return chunkPJVI53AH_js.d}});Object.defineProperty(exports,"useHyperlinkDialog",{enumerable:true,get:function(){return chunkPJVI53AH_js.m}});Object.defineProperty(exports,"TABLE_DATA_ATTRIBUTES",{enumerable:true,get:function(){return chunkFVUGBRDD_js.x}});Object.defineProperty(exports,"countPageBreaks",{enumerable:true,get:function(){return chunkFVUGBRDD_js.n}});Object.defineProperty(exports,"createColumnBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.b}});Object.defineProperty(exports,"createHorizontalRule",{enumerable:true,get:function(){return chunkFVUGBRDD_js.g}});Object.defineProperty(exports,"createLineBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.c}});Object.defineProperty(exports,"createPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.a}});Object.defineProperty(exports,"createPageBreakParagraph",{enumerable:true,get:function(){return chunkFVUGBRDD_js.e}});Object.defineProperty(exports,"createPageBreakRun",{enumerable:true,get:function(){return chunkFVUGBRDD_js.d}});Object.defineProperty(exports,"createSelectionFromDOM",{enumerable:true,get:function(){return chunkFVUGBRDD_js.F}});Object.defineProperty(exports,"findPageBreaks",{enumerable:true,get:function(){return chunkFVUGBRDD_js.o}});Object.defineProperty(exports,"formatLastSaveTime",{enumerable:true,get:function(){return chunkFVUGBRDD_js.s}});Object.defineProperty(exports,"formatStorageSize",{enumerable:true,get:function(){return chunkFVUGBRDD_js.v}});Object.defineProperty(exports,"getAutoSaveStatusLabel",{enumerable:true,get:function(){return chunkFVUGBRDD_js.t}});Object.defineProperty(exports,"getAutoSaveStorageSize",{enumerable:true,get:function(){return chunkFVUGBRDD_js.u}});Object.defineProperty(exports,"getSelectionRuns",{enumerable:true,get:function(){return chunkFVUGBRDD_js.E}});Object.defineProperty(exports,"hasPageBreakBefore",{enumerable:true,get:function(){return chunkFVUGBRDD_js.m}});Object.defineProperty(exports,"insertHorizontalRule",{enumerable:true,get:function(){return chunkFVUGBRDD_js.h}});Object.defineProperty(exports,"insertPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.f}});Object.defineProperty(exports,"isAutoSaveSupported",{enumerable:true,get:function(){return chunkFVUGBRDD_js.w}});Object.defineProperty(exports,"isBreakContent",{enumerable:true,get:function(){return chunkFVUGBRDD_js.l}});Object.defineProperty(exports,"isColumnBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.j}});Object.defineProperty(exports,"isLineBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.k}});Object.defineProperty(exports,"isPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.i}});Object.defineProperty(exports,"removePageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.p}});Object.defineProperty(exports,"DocumentAgent",{enumerable:true,get:function(){return chunkMRWJ3GNH_js.f}});Object.defineProperty(exports,"buildExtendedSelectionContext",{enumerable:true,get:function(){return chunkMRWJ3GNH_js.m}});Object.defineProperty(exports,"buildSelectionContext",{enumerable:true,get:function(){return chunkMRWJ3GNH_js.l}});Object.defineProperty(exports,"createDocumentWithText",{enumerable:true,get:function(){return chunkMRWJ3GNH_js.e}});Object.defineProperty(exports,"createEmptyDocument",{enumerable:true,get:function(){return chunkMRWJ3GNH_js.d}});Object.defineProperty(exports,"getAgentContext",{enumerable:true,get:function(){return chunkMRWJ3GNH_js.i}});Object.defineProperty(exports,"getDocumentSummary",{enumerable:true,get:function(){return chunkMRWJ3GNH_js.k}});Object.defineProperty(exports,"blendColors",{enumerable:true,get:function(){return chunk4VUZBV2S_js.l}});Object.defineProperty(exports,"colorsEqual",{enumerable:true,get:function(){return chunk4VUZBV2S_js.q}});Object.defineProperty(exports,"createRgbColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.i}});Object.defineProperty(exports,"createThemeColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.h}});Object.defineProperty(exports,"darkenColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.j}});Object.defineProperty(exports,"getContrastingColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.f}});Object.defineProperty(exports,"isBlack",{enumerable:true,get:function(){return chunk4VUZBV2S_js.d}});Object.defineProperty(exports,"isWhite",{enumerable:true,get:function(){return chunk4VUZBV2S_js.e}});Object.defineProperty(exports,"lightenColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.k}});Object.defineProperty(exports,"parseColorString",{enumerable:true,get:function(){return chunk4VUZBV2S_js.g}});Object.defineProperty(exports,"resolveColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.a}});Object.defineProperty(exports,"resolveHighlightColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.b}});Object.defineProperty(exports,"resolveShadingColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.c}});Object.defineProperty(exports,"docxtemplaterPlugin",{enumerable:true,get:function(){return chunkVHWEKJ35_js.o}});Object.defineProperty(exports,"getTemplateTags",{enumerable:true,get:function(){return chunkPB7VMDDP_js.e}});Object.defineProperty(exports,"processTemplate",{enumerable:true,get:function(){return chunkPB7VMDDP_js.a}});Object.defineProperty(exports,"processTemplateAsBlob",{enumerable:true,get:function(){return chunkPB7VMDDP_js.c}});Object.defineProperty(exports,"processTemplateDetailed",{enumerable:true,get:function(){return chunkPB7VMDDP_js.b}});Object.defineProperty(exports,"validateTemplate",{enumerable:true,get:function(){return chunkPB7VMDDP_js.f}});Object.defineProperty(exports,"serializeDocumentBody",{enumerable:true,get:function(){return chunkIRO7KGGC_js.b}});Object.defineProperty(exports,"serializeDocx",{enumerable:true,get:function(){return chunkIRO7KGGC_js.c}});Object.defineProperty(exports,"serializeSectionProperties",{enumerable:true,get:function(){return chunkIRO7KGGC_js.a}});Object.defineProperty(exports,"executeCommand",{enumerable:true,get:function(){return chunkAARNCPWR_js.a}});Object.defineProperty(exports,"executeCommands",{enumerable:true,get:function(){return chunkAARNCPWR_js.b}});Object.defineProperty(exports,"canRenderFont",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.i}});Object.defineProperty(exports,"getLoadedFonts",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.g}});Object.defineProperty(exports,"isFontLoaded",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.e}});Object.defineProperty(exports,"isFontsLoading",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.f}});Object.defineProperty(exports,"loadFont",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.c}});Object.defineProperty(exports,"loadFontFromBuffer",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.j}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.d}});Object.defineProperty(exports,"onFontsLoaded",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.h}});Object.defineProperty(exports,"parseDocx",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.n}});Object.defineProperty(exports,"preloadCommonFonts",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.k}});Object.defineProperty(exports,"toArrayBuffer",{enumerable:true,get:function(){return chunkVR6PT4IZ_js.m}});Object.defineProperty(exports,"PluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.a}});Object.defineProperty(exports,"pluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.b}});Object.defineProperty(exports,"registerPlugins",{enumerable:true,get:function(){return chunkBUEMG4NW_js.c}});Object.defineProperty(exports,"emuToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.c}});Object.defineProperty(exports,"emuToTwips",{enumerable:true,get:function(){return chunkSE5EN2QL_js.e}});Object.defineProperty(exports,"formatPx",{enumerable:true,get:function(){return chunkSE5EN2QL_js.k}});Object.defineProperty(exports,"halfPointsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.h}});Object.defineProperty(exports,"pixelsToEmu",{enumerable:true,get:function(){return chunkSE5EN2QL_js.d}});Object.defineProperty(exports,"pixelsToTwips",{enumerable:true,get:function(){return chunkSE5EN2QL_js.b}});Object.defineProperty(exports,"pointsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.g}});Object.defineProperty(exports,"twipsToEmu",{enumerable:true,get:function(){return chunkSE5EN2QL_js.f}});Object.defineProperty(exports,"twipsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.a}});exports.ANNOTATION_PANEL_STYLES=z;exports.AnnotationPanel=U;exports.NAVIGATION_SHORTCUTS=T;exports.TEMPLATE_DECORATION_STYLES=W;exports.VERSION=Di;exports.createDoubleClickWordSelector=ka;exports.createTemplatePlugin=Te;exports.createTemplateProseMirrorPlugin=B;exports.createTripleClickParagraphSelector=Ma;exports.describeShortcut=S;exports.expandSelectionToWord=Ua;exports.expandSelectionToWordBoundaries=Oa;exports.extendSelectionTo=_;exports.findNextWordStart=ee;exports.findPreviousWordStart=te;exports.findVisualLineEnd=ne;exports.findVisualLineStart=oe;exports.findWordAt=Ia;exports.findWordBoundaries=R;exports.findWordEnd=_a;exports.findWordStart=Ha;exports.getNavigationShortcutDescriptions=Ga;exports.getSelectionInfo=Ba;exports.getTemplatePluginTags=pe;exports.getWordAt=wa;exports.getWordAtCursor=za;exports.handleClickForMultiClick=Q;exports.handleNavigationKey=Wa;exports.isNavigationKey=Fa;exports.isPunctuation=Ka;exports.isWhitespace=K;exports.isWhitespaceChar=Y;exports.isWordChar=P;exports.isWordCharacter=M;exports.matchesShortcut=Va;exports.moveByWord=re;exports.moveToLineEdge=ae;exports.parseNavigationAction=ie;exports.selectParagraphAtCursor=J;exports.selectWordAtCursor=$;exports.selectWordInTextNode=Na;exports.setHoveredElement=D;exports.setSelectedElement=L;exports.setSelectionPosition=H;exports.templatePlugin=pi;exports.templatePluginKey=m;
107
+ `;function ie({tag:e,isHovered:t,measureRef:o,onHover:r,onSelect:n}){let i=Xi(e.type),a=Zi[e.type],l=e.type==="sectionStart"||e.type==="invertedStart";return jsxRuntime.jsxs("div",{ref:o,style:{display:"flex",alignItems:"flex-start"},children:[jsxRuntime.jsx("div",{style:{width:20,height:1,background:t?"#3b82f6":"#d0d0d0",marginTop:12,marginRight:4,flexShrink:0}}),jsxRuntime.jsxs("div",{className:`template-annotation-chip ${t?"hovered":""}`,style:{borderLeftColor:a},onMouseEnter:()=>r(e.id),onMouseLeave:()=>r(void 0),onClick:s=>{s.stopPropagation(),n(e.id);},onMouseDown:s=>s.stopPropagation(),title:l?`${e.rawTag}
108
+ Iterates over ${e.name}[]. Access nested properties via ${e.name}.property`:e.rawTag,children:[i&&jsxRuntime.jsx("span",{className:"template-chip-badge",style:{background:a},children:i}),!i&&jsxRuntime.jsx("span",{className:"template-chip-dot",style:{color:a},children:"\u25CF"}),jsxRuntime.jsx("span",{className:"template-chip-name",children:e.name}),l&&e.nestedVars&&e.nestedVars.length>0&&jsxRuntime.jsx("div",{className:"template-chip-nested",children:e.nestedVars.map((s,c)=>jsxRuntime.jsx("span",{className:"template-nested-var",title:`Access: ${e.name}.${s}`,children:s.includes(".")?s.split(".").pop():s},c))})]})]})}function se(e,t,o){if(!e)return;N(e,o);let r=t.find(n=>n.id===o);if(r){let n=e.state.tr.setSelection(prosemirrorState.TextSelection.near(e.state.doc.resolve(r.from)));e.dispatch(n),e.focus();}}function le(e={}){return {id:"template",name:"Template",proseMirrorPlugins:[A()],onStateChange:o=>{let r=p.getState(o.state);if(r)return {tags:r.tags,hoveredId:r.hoveredId,selectedId:r.selectedId}},initialize:o=>({tags:[]}),getSidebarItems:(o,r)=>!o||o.tags.length===0?[]:o.tags.filter(i=>i.type!=="sectionEnd"&&!i.insideSection).map(i=>({id:`template-${i.id}`,anchorPos:i.from,priority:10,estimatedHeight:32,render:a=>ae__default.default.createElement(ie,{...a,tag:i,isHovered:i.id===o.hoveredId,onHover:l=>{r.editorView&&C(r.editorView,l);},onSelect:l=>se(r.editorView,o.tags,l)})})),renderOverlay:(o,r,n)=>!r||r.tags.length===0?null:ae__default.default.createElement(te,{context:o,tags:r.tags,hoveredId:r.hoveredId,selectedId:r.selectedId,onHover:i=>{n&&C(n,i);},onSelect:i=>se(n,r.tags,i)}),styles:`
109
+ ${D}
110
+ ${ne}
111
+ ${oe}
112
+ `}}var qi=le();var fa="0.0.2";Object.defineProperty(exports,"DEFAULT_SELECTION_STYLE",{enumerable:true,get:function(){return chunkWH2EK2HU_js.w}});Object.defineProperty(exports,"DocxEditor",{enumerable:true,get:function(){return chunkWH2EK2HU_js.j}});Object.defineProperty(exports,"EditorToolbar",{enumerable:true,get:function(){return chunkWH2EK2HU_js.a}});Object.defineProperty(exports,"ErrorBoundary",{enumerable:true,get:function(){return chunkWH2EK2HU_js.d}});Object.defineProperty(exports,"ErrorProvider",{enumerable:true,get:function(){return chunkWH2EK2HU_js.c}});Object.defineProperty(exports,"HIGH_CONTRAST_SELECTION_STYLE",{enumerable:true,get:function(){return chunkWH2EK2HU_js.x}});Object.defineProperty(exports,"PLUGIN_HOST_STYLES",{enumerable:true,get:function(){return chunkWH2EK2HU_js.U}});Object.defineProperty(exports,"ParseErrorDisplay",{enumerable:true,get:function(){return chunkWH2EK2HU_js.e}});Object.defineProperty(exports,"PluginHost",{enumerable:true,get:function(){return chunkWH2EK2HU_js.V}});Object.defineProperty(exports,"SELECTION_CSS_VARS",{enumerable:true,get:function(){return chunkWH2EK2HU_js.y}});Object.defineProperty(exports,"UnsupportedFeatureWarning",{enumerable:true,get:function(){return chunkWH2EK2HU_js.f}});Object.defineProperty(exports,"ZOOM_PRESETS",{enumerable:true,get:function(){return chunkWH2EK2HU_js.m}});Object.defineProperty(exports,"areSelectionStylesInjected",{enumerable:true,get:function(){return chunkWH2EK2HU_js.P}});Object.defineProperty(exports,"clampZoom",{enumerable:true,get:function(){return chunkWH2EK2HU_js.v}});Object.defineProperty(exports,"clearSelection",{enumerable:true,get:function(){return chunkWH2EK2HU_js.K}});Object.defineProperty(exports,"createSelectionChangeHandler",{enumerable:true,get:function(){return chunkWH2EK2HU_js.Q}});Object.defineProperty(exports,"findNearestZoomPreset",{enumerable:true,get:function(){return chunkWH2EK2HU_js.p}});Object.defineProperty(exports,"formatZoom",{enumerable:true,get:function(){return chunkWH2EK2HU_js.s}});Object.defineProperty(exports,"generateOverlayElements",{enumerable:true,get:function(){return chunkWH2EK2HU_js.S}});Object.defineProperty(exports,"generateSelectionCSS",{enumerable:true,get:function(){return chunkWH2EK2HU_js.D}});Object.defineProperty(exports,"getHighlightRectStyle",{enumerable:true,get:function(){return chunkWH2EK2HU_js.C}});Object.defineProperty(exports,"getMergedSelectionRects",{enumerable:true,get:function(){return chunkWH2EK2HU_js.B}});Object.defineProperty(exports,"getNextZoomPreset",{enumerable:true,get:function(){return chunkWH2EK2HU_js.q}});Object.defineProperty(exports,"getPreviousZoomPreset",{enumerable:true,get:function(){return chunkWH2EK2HU_js.r}});Object.defineProperty(exports,"getSelectedText",{enumerable:true,get:function(){return chunkWH2EK2HU_js.F}});Object.defineProperty(exports,"getSelectionBoundingRect",{enumerable:true,get:function(){return chunkWH2EK2HU_js.H}});Object.defineProperty(exports,"getSelectionRects",{enumerable:true,get:function(){return chunkWH2EK2HU_js.z}});Object.defineProperty(exports,"getUserFriendlyMessage",{enumerable:true,get:function(){return chunkWH2EK2HU_js.h}});Object.defineProperty(exports,"getZoomPresets",{enumerable:true,get:function(){return chunkWH2EK2HU_js.o}});Object.defineProperty(exports,"hasActiveSelection",{enumerable:true,get:function(){return chunkWH2EK2HU_js.E}});Object.defineProperty(exports,"highlightTextRange",{enumerable:true,get:function(){return chunkWH2EK2HU_js.I}});Object.defineProperty(exports,"injectSelectionStyles",{enumerable:true,get:function(){return chunkWH2EK2HU_js.N}});Object.defineProperty(exports,"isParseError",{enumerable:true,get:function(){return chunkWH2EK2HU_js.g}});Object.defineProperty(exports,"isSelectionBackwards",{enumerable:true,get:function(){return chunkWH2EK2HU_js.L}});Object.defineProperty(exports,"isSelectionWithin",{enumerable:true,get:function(){return chunkWH2EK2HU_js.G}});Object.defineProperty(exports,"isZoomPreset",{enumerable:true,get:function(){return chunkWH2EK2HU_js.u}});Object.defineProperty(exports,"mergeAdjacentRects",{enumerable:true,get:function(){return chunkWH2EK2HU_js.A}});Object.defineProperty(exports,"normalizeSelectionDirection",{enumerable:true,get:function(){return chunkWH2EK2HU_js.M}});Object.defineProperty(exports,"parseZoom",{enumerable:true,get:function(){return chunkWH2EK2HU_js.t}});Object.defineProperty(exports,"removeSelectionStyles",{enumerable:true,get:function(){return chunkWH2EK2HU_js.O}});Object.defineProperty(exports,"renderAsync",{enumerable:true,get:function(){return chunkWH2EK2HU_js.k}});Object.defineProperty(exports,"selectRange",{enumerable:true,get:function(){return chunkWH2EK2HU_js.J}});Object.defineProperty(exports,"useAutoSave",{enumerable:true,get:function(){return chunkWH2EK2HU_js.l}});Object.defineProperty(exports,"useClipboard",{enumerable:true,get:function(){return chunkWH2EK2HU_js.T}});Object.defineProperty(exports,"useErrorNotifications",{enumerable:true,get:function(){return chunkWH2EK2HU_js.b}});Object.defineProperty(exports,"useSelectionHighlight",{enumerable:true,get:function(){return chunkWH2EK2HU_js.R}});Object.defineProperty(exports,"useTableSelection",{enumerable:true,get:function(){return chunkWH2EK2HU_js.i}});Object.defineProperty(exports,"useWheelZoom",{enumerable:true,get:function(){return chunkWH2EK2HU_js.n}});Object.defineProperty(exports,"ColorPicker",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.k}});Object.defineProperty(exports,"ContextMenu",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.a}});Object.defineProperty(exports,"InsertImageDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.V}});Object.defineProperty(exports,"InsertSymbolDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.da}});Object.defineProperty(exports,"InsertTableDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.O}});Object.defineProperty(exports,"KeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.qa}});Object.defineProperty(exports,"LoadingIndicator",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.B}});Object.defineProperty(exports,"PasteSpecialDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ka}});Object.defineProperty(exports,"PrintButton",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.l}});Object.defineProperty(exports,"PrintStyles",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.m}});Object.defineProperty(exports,"ResponsePreview",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.g}});Object.defineProperty(exports,"ResponsiveToolbar",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.J}});Object.defineProperty(exports,"ResponsiveToolbarGroup",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.K}});Object.defineProperty(exports,"SYMBOL_CATEGORIES",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ca}});Object.defineProperty(exports,"TableInsertButtons",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.u}});Object.defineProperty(exports,"TableMergeButton",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.t}});Object.defineProperty(exports,"UnsavedIndicator",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.v}});Object.defineProperty(exports,"calculateFitDimensions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js._}});Object.defineProperty(exports,"clampTableConfig",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.S}});Object.defineProperty(exports,"createChangeTracker",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.A}});Object.defineProperty(exports,"createDefaultTableConfig",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.Q}});Object.defineProperty(exports,"createErrorResponse",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.j}});Object.defineProperty(exports,"createMockResponse",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.i}});Object.defineProperty(exports,"createToolbarItem",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.L}});Object.defineProperty(exports,"createToolbarItems",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.M}});Object.defineProperty(exports,"dataUrlToBlob",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.$}});Object.defineProperty(exports,"delay",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.H}});Object.defineProperty(exports,"formatFileSize",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ba}});Object.defineProperty(exports,"formatPrintPageRange",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.r}});Object.defineProperty(exports,"formatShortcutKeys",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.xa}});Object.defineProperty(exports,"formatTableDimensions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.T}});Object.defineProperty(exports,"getActionShortcut",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.c}});Object.defineProperty(exports,"getAllActions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.f}});Object.defineProperty(exports,"getAllCategories",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.wa}});Object.defineProperty(exports,"getAllIndicatorPositions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.z}});Object.defineProperty(exports,"getAllIndicatorVariants",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.y}});Object.defineProperty(exports,"getAllLoadingSizes",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.G}});Object.defineProperty(exports,"getAllLoadingVariants",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.F}});Object.defineProperty(exports,"getAllPasteOptions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.na}});Object.defineProperty(exports,"getCategoryLabel",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.va}});Object.defineProperty(exports,"getCommonShortcuts",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ua}});Object.defineProperty(exports,"getDefaultActions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.e}});Object.defineProperty(exports,"getDefaultPasteOption",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.oa}});Object.defineProperty(exports,"getDefaultPrintOptions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.p}});Object.defineProperty(exports,"getDefaultShortcuts",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.sa}});Object.defineProperty(exports,"getImageAcceptString",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.Z}});Object.defineProperty(exports,"getImageDimensions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.aa}});Object.defineProperty(exports,"getLoadingVariantLabel",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.E}});Object.defineProperty(exports,"getPasteOption",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ma}});Object.defineProperty(exports,"getRecommendedPriority",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.N}});Object.defineProperty(exports,"getShortcutsByCategory",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ta}});Object.defineProperty(exports,"getSupportedImageExtensions",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.Y}});Object.defineProperty(exports,"getSymbolCategories",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.fa}});Object.defineProperty(exports,"getSymbolUnicodeInfo",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ha}});Object.defineProperty(exports,"getSymbolsByCategory",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ga}});Object.defineProperty(exports,"getTablePresets",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.U}});Object.defineProperty(exports,"getVariantLabel",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.x}});Object.defineProperty(exports,"isActionAvailable",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.d}});Object.defineProperty(exports,"isPasteSpecialShortcut",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.pa}});Object.defineProperty(exports,"isPrintSupported",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.s}});Object.defineProperty(exports,"isValidImageFile",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.X}});Object.defineProperty(exports,"isValidTableConfig",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.R}});Object.defineProperty(exports,"openPrintWindow",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.o}});Object.defineProperty(exports,"parsePageRange",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.q}});Object.defineProperty(exports,"searchSymbols",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ia}});Object.defineProperty(exports,"symbolFromCodePoint",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ja}});Object.defineProperty(exports,"triggerPrint",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.n}});Object.defineProperty(exports,"useContextMenu",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.b}});Object.defineProperty(exports,"useInsertImageDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.W}});Object.defineProperty(exports,"useInsertSymbolDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ea}});Object.defineProperty(exports,"useInsertTableDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.P}});Object.defineProperty(exports,"useKeyboardShortcutsDialog",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.ra}});Object.defineProperty(exports,"useLoading",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.C}});Object.defineProperty(exports,"useLoadingOperations",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.D}});Object.defineProperty(exports,"usePasteSpecial",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.la}});Object.defineProperty(exports,"useResponsePreview",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.h}});Object.defineProperty(exports,"useResponsiveToolbar",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.I}});Object.defineProperty(exports,"useUnsavedChanges",{enumerable:true,get:function(){return chunkUMDJQ3Q4_js.w}});Object.defineProperty(exports,"AdvancedColorPicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.k}});Object.defineProperty(exports,"AlignmentButtons",{enumerable:true,get:function(){return chunkEF3LLEN7_js.l}});Object.defineProperty(exports,"CLIPBOARD_TYPES",{enumerable:true,get:function(){return chunkEF3LLEN7_js.K}});Object.defineProperty(exports,"FontPicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.g}});Object.defineProperty(exports,"FontSizePicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.j}});Object.defineProperty(exports,"FormattingBar",{enumerable:true,get:function(){return chunkEF3LLEN7_js.y}});Object.defineProperty(exports,"HorizontalRuler",{enumerable:true,get:function(){return chunkEF3LLEN7_js.E}});Object.defineProperty(exports,"INTERNAL_CLIPBOARD_TYPE",{enumerable:true,get:function(){return chunkEF3LLEN7_js.J}});Object.defineProperty(exports,"LineSpacingPicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.o}});Object.defineProperty(exports,"ListButtons",{enumerable:true,get:function(){return chunkEF3LLEN7_js.m}});Object.defineProperty(exports,"StylePicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.p}});Object.defineProperty(exports,"TableBorderColorPicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.s}});Object.defineProperty(exports,"TableBorderPicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.r}});Object.defineProperty(exports,"TableBorderWidthPicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.t}});Object.defineProperty(exports,"TableCellFillPicker",{enumerable:true,get:function(){return chunkEF3LLEN7_js.u}});Object.defineProperty(exports,"TableMoreDropdown",{enumerable:true,get:function(){return chunkEF3LLEN7_js.v}});Object.defineProperty(exports,"TableToolbar",{enumerable:true,get:function(){return chunkEF3LLEN7_js.da}});Object.defineProperty(exports,"TextContextMenu",{enumerable:true,get:function(){return chunkEF3LLEN7_js.Z}});Object.defineProperty(exports,"Toolbar",{enumerable:true,get:function(){return chunkEF3LLEN7_js.D}});Object.defineProperty(exports,"ToolbarButton",{enumerable:true,get:function(){return chunkEF3LLEN7_js.A}});Object.defineProperty(exports,"ToolbarGroup",{enumerable:true,get:function(){return chunkEF3LLEN7_js.B}});Object.defineProperty(exports,"ToolbarSeparator",{enumerable:true,get:function(){return chunkEF3LLEN7_js.C}});Object.defineProperty(exports,"ZoomControl",{enumerable:true,get:function(){return chunkEF3LLEN7_js.q}});Object.defineProperty(exports,"addColumn",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ja}});Object.defineProperty(exports,"addRow",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ha}});Object.defineProperty(exports,"cleanWordHtml",{enumerable:true,get:function(){return chunkEF3LLEN7_js.W}});Object.defineProperty(exports,"copyParagraphs",{enumerable:true,get:function(){return chunkEF3LLEN7_js.N}});Object.defineProperty(exports,"copyRuns",{enumerable:true,get:function(){return chunkEF3LLEN7_js.M}});Object.defineProperty(exports,"createClipboardHandlers",{enumerable:true,get:function(){return chunkEF3LLEN7_js.Y}});Object.defineProperty(exports,"createDefaultListState",{enumerable:true,get:function(){return chunkEF3LLEN7_js.n}});Object.defineProperty(exports,"createTableContext",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ea}});Object.defineProperty(exports,"deleteColumn",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ka}});Object.defineProperty(exports,"deleteRow",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ia}});Object.defineProperty(exports,"getCellAt",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ga}});Object.defineProperty(exports,"getColumnCount",{enumerable:true,get:function(){return chunkEF3LLEN7_js.fa}});Object.defineProperty(exports,"getDefaultTextContextMenuItems",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ba}});Object.defineProperty(exports,"getMarginInUnits",{enumerable:true,get:function(){return chunkEF3LLEN7_js.H}});Object.defineProperty(exports,"getRulerDimensions",{enumerable:true,get:function(){return chunkEF3LLEN7_js.G}});Object.defineProperty(exports,"getTextActionLabel",{enumerable:true,get:function(){return chunkEF3LLEN7_js.$}});Object.defineProperty(exports,"getTextActionShortcut",{enumerable:true,get:function(){return chunkEF3LLEN7_js.aa}});Object.defineProperty(exports,"handlePasteEvent",{enumerable:true,get:function(){return chunkEF3LLEN7_js.S}});Object.defineProperty(exports,"htmlToRuns",{enumerable:true,get:function(){return chunkEF3LLEN7_js.X}});Object.defineProperty(exports,"isEditorHtml",{enumerable:true,get:function(){return chunkEF3LLEN7_js.V}});Object.defineProperty(exports,"isTextActionAvailable",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ca}});Object.defineProperty(exports,"isWordHtml",{enumerable:true,get:function(){return chunkEF3LLEN7_js.U}});Object.defineProperty(exports,"mergeCells",{enumerable:true,get:function(){return chunkEF3LLEN7_js.la}});Object.defineProperty(exports,"paragraphsToClipboardContent",{enumerable:true,get:function(){return chunkEF3LLEN7_js.P}});Object.defineProperty(exports,"parseClipboardHtml",{enumerable:true,get:function(){return chunkEF3LLEN7_js.T}});Object.defineProperty(exports,"parseMarginFromUnits",{enumerable:true,get:function(){return chunkEF3LLEN7_js.I}});Object.defineProperty(exports,"positionToMargin",{enumerable:true,get:function(){return chunkEF3LLEN7_js.F}});Object.defineProperty(exports,"readFromClipboard",{enumerable:true,get:function(){return chunkEF3LLEN7_js.R}});Object.defineProperty(exports,"runsToClipboardContent",{enumerable:true,get:function(){return chunkEF3LLEN7_js.O}});Object.defineProperty(exports,"splitCell",{enumerable:true,get:function(){return chunkEF3LLEN7_js.ma}});Object.defineProperty(exports,"useTextContextMenu",{enumerable:true,get:function(){return chunkEF3LLEN7_js._}});Object.defineProperty(exports,"writeToClipboard",{enumerable:true,get:function(){return chunkEF3LLEN7_js.Q}});Object.defineProperty(exports,"FindReplaceDialog",{enumerable:true,get:function(){return chunkCTYOM6BE_js.n}});Object.defineProperty(exports,"createDefaultFindOptions",{enumerable:true,get:function(){return chunkCTYOM6BE_js.a}});Object.defineProperty(exports,"createSearchPattern",{enumerable:true,get:function(){return chunkCTYOM6BE_js.c}});Object.defineProperty(exports,"escapeRegexString",{enumerable:true,get:function(){return chunkCTYOM6BE_js.b}});Object.defineProperty(exports,"findAllMatches",{enumerable:true,get:function(){return chunkCTYOM6BE_js.d}});Object.defineProperty(exports,"findInDocument",{enumerable:true,get:function(){return chunkCTYOM6BE_js.j}});Object.defineProperty(exports,"findInParagraph",{enumerable:true,get:function(){return chunkCTYOM6BE_js.k}});Object.defineProperty(exports,"getDefaultHighlightOptions",{enumerable:true,get:function(){return chunkCTYOM6BE_js.i}});Object.defineProperty(exports,"getMatchCountText",{enumerable:true,get:function(){return chunkCTYOM6BE_js.g}});Object.defineProperty(exports,"isEmptySearch",{enumerable:true,get:function(){return chunkCTYOM6BE_js.h}});Object.defineProperty(exports,"replaceAllInContent",{enumerable:true,get:function(){return chunkCTYOM6BE_js.e}});Object.defineProperty(exports,"replaceFirstInContent",{enumerable:true,get:function(){return chunkCTYOM6BE_js.f}});Object.defineProperty(exports,"scrollToMatch",{enumerable:true,get:function(){return chunkCTYOM6BE_js.l}});Object.defineProperty(exports,"useFindReplace",{enumerable:true,get:function(){return chunkCTYOM6BE_js.m}});Object.defineProperty(exports,"HyperlinkDialog",{enumerable:true,get:function(){return chunkPJVI53AH_js.d}});Object.defineProperty(exports,"useHyperlinkDialog",{enumerable:true,get:function(){return chunkPJVI53AH_js.m}});Object.defineProperty(exports,"TABLE_DATA_ATTRIBUTES",{enumerable:true,get:function(){return chunkFVUGBRDD_js.x}});Object.defineProperty(exports,"countPageBreaks",{enumerable:true,get:function(){return chunkFVUGBRDD_js.n}});Object.defineProperty(exports,"createColumnBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.b}});Object.defineProperty(exports,"createHorizontalRule",{enumerable:true,get:function(){return chunkFVUGBRDD_js.g}});Object.defineProperty(exports,"createLineBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.c}});Object.defineProperty(exports,"createPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.a}});Object.defineProperty(exports,"createPageBreakParagraph",{enumerable:true,get:function(){return chunkFVUGBRDD_js.e}});Object.defineProperty(exports,"createPageBreakRun",{enumerable:true,get:function(){return chunkFVUGBRDD_js.d}});Object.defineProperty(exports,"createSelectionFromDOM",{enumerable:true,get:function(){return chunkFVUGBRDD_js.F}});Object.defineProperty(exports,"findPageBreaks",{enumerable:true,get:function(){return chunkFVUGBRDD_js.o}});Object.defineProperty(exports,"formatLastSaveTime",{enumerable:true,get:function(){return chunkFVUGBRDD_js.s}});Object.defineProperty(exports,"formatStorageSize",{enumerable:true,get:function(){return chunkFVUGBRDD_js.v}});Object.defineProperty(exports,"getAutoSaveStatusLabel",{enumerable:true,get:function(){return chunkFVUGBRDD_js.t}});Object.defineProperty(exports,"getAutoSaveStorageSize",{enumerable:true,get:function(){return chunkFVUGBRDD_js.u}});Object.defineProperty(exports,"getSelectionRuns",{enumerable:true,get:function(){return chunkFVUGBRDD_js.E}});Object.defineProperty(exports,"hasPageBreakBefore",{enumerable:true,get:function(){return chunkFVUGBRDD_js.m}});Object.defineProperty(exports,"insertHorizontalRule",{enumerable:true,get:function(){return chunkFVUGBRDD_js.h}});Object.defineProperty(exports,"insertPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.f}});Object.defineProperty(exports,"isAutoSaveSupported",{enumerable:true,get:function(){return chunkFVUGBRDD_js.w}});Object.defineProperty(exports,"isBreakContent",{enumerable:true,get:function(){return chunkFVUGBRDD_js.l}});Object.defineProperty(exports,"isColumnBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.j}});Object.defineProperty(exports,"isLineBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.k}});Object.defineProperty(exports,"isPageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.i}});Object.defineProperty(exports,"removePageBreak",{enumerable:true,get:function(){return chunkFVUGBRDD_js.p}});Object.defineProperty(exports,"DocumentAgent",{enumerable:true,get:function(){return chunkP7WEP4JU_js.f}});Object.defineProperty(exports,"buildExtendedSelectionContext",{enumerable:true,get:function(){return chunkP7WEP4JU_js.m}});Object.defineProperty(exports,"buildSelectionContext",{enumerable:true,get:function(){return chunkP7WEP4JU_js.l}});Object.defineProperty(exports,"createDocumentWithText",{enumerable:true,get:function(){return chunkP7WEP4JU_js.e}});Object.defineProperty(exports,"createEmptyDocument",{enumerable:true,get:function(){return chunkP7WEP4JU_js.d}});Object.defineProperty(exports,"getAgentContext",{enumerable:true,get:function(){return chunkP7WEP4JU_js.i}});Object.defineProperty(exports,"getDocumentSummary",{enumerable:true,get:function(){return chunkP7WEP4JU_js.k}});Object.defineProperty(exports,"blendColors",{enumerable:true,get:function(){return chunk4VUZBV2S_js.l}});Object.defineProperty(exports,"colorsEqual",{enumerable:true,get:function(){return chunk4VUZBV2S_js.q}});Object.defineProperty(exports,"createRgbColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.i}});Object.defineProperty(exports,"createThemeColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.h}});Object.defineProperty(exports,"darkenColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.j}});Object.defineProperty(exports,"getContrastingColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.f}});Object.defineProperty(exports,"isBlack",{enumerable:true,get:function(){return chunk4VUZBV2S_js.d}});Object.defineProperty(exports,"isWhite",{enumerable:true,get:function(){return chunk4VUZBV2S_js.e}});Object.defineProperty(exports,"lightenColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.k}});Object.defineProperty(exports,"parseColorString",{enumerable:true,get:function(){return chunk4VUZBV2S_js.g}});Object.defineProperty(exports,"resolveColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.a}});Object.defineProperty(exports,"resolveHighlightColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.b}});Object.defineProperty(exports,"resolveShadingColor",{enumerable:true,get:function(){return chunk4VUZBV2S_js.c}});Object.defineProperty(exports,"docxtemplaterPlugin",{enumerable:true,get:function(){return chunkKCOGY3V2_js.o}});Object.defineProperty(exports,"getTemplateTags",{enumerable:true,get:function(){return chunkPB7VMDDP_js.e}});Object.defineProperty(exports,"processTemplate",{enumerable:true,get:function(){return chunkPB7VMDDP_js.a}});Object.defineProperty(exports,"processTemplateAsBlob",{enumerable:true,get:function(){return chunkPB7VMDDP_js.c}});Object.defineProperty(exports,"processTemplateDetailed",{enumerable:true,get:function(){return chunkPB7VMDDP_js.b}});Object.defineProperty(exports,"validateTemplate",{enumerable:true,get:function(){return chunkPB7VMDDP_js.f}});Object.defineProperty(exports,"serializeDocumentBody",{enumerable:true,get:function(){return chunkZJNGMDRE_js.b}});Object.defineProperty(exports,"serializeDocx",{enumerable:true,get:function(){return chunkZJNGMDRE_js.c}});Object.defineProperty(exports,"serializeSectionProperties",{enumerable:true,get:function(){return chunkZJNGMDRE_js.a}});Object.defineProperty(exports,"executeCommand",{enumerable:true,get:function(){return chunkAARNCPWR_js.a}});Object.defineProperty(exports,"executeCommands",{enumerable:true,get:function(){return chunkAARNCPWR_js.b}});Object.defineProperty(exports,"canRenderFont",{enumerable:true,get:function(){return chunkKUL2SDYC_js.i}});Object.defineProperty(exports,"getLoadedFonts",{enumerable:true,get:function(){return chunkKUL2SDYC_js.g}});Object.defineProperty(exports,"isFontLoaded",{enumerable:true,get:function(){return chunkKUL2SDYC_js.e}});Object.defineProperty(exports,"isFontsLoading",{enumerable:true,get:function(){return chunkKUL2SDYC_js.f}});Object.defineProperty(exports,"loadFont",{enumerable:true,get:function(){return chunkKUL2SDYC_js.c}});Object.defineProperty(exports,"loadFontFromBuffer",{enumerable:true,get:function(){return chunkKUL2SDYC_js.j}});Object.defineProperty(exports,"loadFonts",{enumerable:true,get:function(){return chunkKUL2SDYC_js.d}});Object.defineProperty(exports,"onFontsLoaded",{enumerable:true,get:function(){return chunkKUL2SDYC_js.h}});Object.defineProperty(exports,"parseDocx",{enumerable:true,get:function(){return chunkKUL2SDYC_js.n}});Object.defineProperty(exports,"preloadCommonFonts",{enumerable:true,get:function(){return chunkKUL2SDYC_js.k}});Object.defineProperty(exports,"toArrayBuffer",{enumerable:true,get:function(){return chunkKUL2SDYC_js.m}});Object.defineProperty(exports,"PluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.a}});Object.defineProperty(exports,"pluginRegistry",{enumerable:true,get:function(){return chunkBUEMG4NW_js.b}});Object.defineProperty(exports,"registerPlugins",{enumerable:true,get:function(){return chunkBUEMG4NW_js.c}});Object.defineProperty(exports,"emuToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.c}});Object.defineProperty(exports,"emuToTwips",{enumerable:true,get:function(){return chunkSE5EN2QL_js.e}});Object.defineProperty(exports,"formatPx",{enumerable:true,get:function(){return chunkSE5EN2QL_js.k}});Object.defineProperty(exports,"halfPointsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.h}});Object.defineProperty(exports,"pixelsToEmu",{enumerable:true,get:function(){return chunkSE5EN2QL_js.d}});Object.defineProperty(exports,"pixelsToTwips",{enumerable:true,get:function(){return chunkSE5EN2QL_js.b}});Object.defineProperty(exports,"pointsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.g}});Object.defineProperty(exports,"twipsToEmu",{enumerable:true,get:function(){return chunkSE5EN2QL_js.f}});Object.defineProperty(exports,"twipsToPixels",{enumerable:true,get:function(){return chunkSE5EN2QL_js.a}});exports.NAVIGATION_SHORTCUTS=f;exports.TEMPLATE_DECORATION_STYLES=D;exports.VERSION=fa;exports.createDoubleClickWordSelector=Ei;exports.createTemplatePlugin=le;exports.createTemplateProseMirrorPlugin=A;exports.createTripleClickParagraphSelector=Ri;exports.describeShortcut=m;exports.expandSelectionToWord=Oi;exports.expandSelectionToWordBoundaries=bi;exports.extendSelectionTo=I;exports.findNextWordStart=U;exports.findPreviousWordStart=V;exports.findVisualLineEnd=G;exports.findVisualLineStart=z;exports.findWordAt=Si;exports.findWordBoundaries=S;exports.findWordEnd=Ii;exports.findWordStart=wi;exports.getNavigationShortcutDescriptions=Mi;exports.getSelectionInfo=Ai;exports.getTemplatePluginTags=J;exports.getWordAt=Ti;exports.getWordAtCursor=ki;exports.handleClickForMultiClick=F;exports.handleNavigationKey=Ni;exports.isNavigationKey=Di;exports.isPunctuation=vi;exports.isWhitespace=v;exports.isWhitespaceChar=M;exports.isWordChar=y;exports.isWordCharacter=R;exports.matchesShortcut=Li;exports.moveByWord=$;exports.moveToLineEdge=Z;exports.parseNavigationAction=X;exports.selectParagraphAtCursor=W;exports.selectWordAtCursor=L;exports.selectWordInTextNode=xi;exports.setHoveredElement=C;exports.setSelectedElement=N;exports.setSelectionPosition=w;exports.templatePlugin=qi;exports.templatePluginKey=p;