@iblai/web-containers 1.73.0 → 1.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/dist/cjs/_virtual/index2.js +2 -2
  2. package/dist/cjs/_virtual/index3.js +2 -2
  3. package/dist/cjs/components/activity-tab/activity-empty-state.js +2 -2
  4. package/dist/cjs/components/activity-tab/activity-empty-state.js.map +1 -1
  5. package/dist/cjs/components/canvas/canvas-rich-text-editor.js +8 -8
  6. package/dist/cjs/components/canvas/tiptap-math-extension.js +1 -1
  7. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js +2 -2
  8. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js.map +1 -1
  9. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js +5 -5
  10. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js.map +1 -1
  11. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js +7 -6
  12. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js.map +1 -1
  13. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js +50 -42
  14. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js.map +1 -1
  15. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/index.js +64 -33
  16. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/index.js.map +1 -1
  17. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/labels.js +68 -46
  18. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/labels.js.map +1 -1
  19. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js +13 -6
  20. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js.map +1 -1
  21. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js +16 -7
  22. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js.map +1 -1
  23. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/utils.js +14 -0
  24. package/dist/cjs/components/modals/edit-mentor-modal/tabs/evaluation-tab/utils.js.map +1 -1
  25. package/dist/cjs/components/modals/edit-mentor-modal/tabs/human-support-tab/use-support-tickets-with-pagination.js +1 -1
  26. package/dist/cjs/components/modals/edit-mentor-modal/tabs/skills-tab/index.js +1 -1
  27. package/dist/cjs/components/modals/edit-mentor-modal/tabs/tasks-tab/tasks-tab-content.js +1 -1
  28. package/dist/cjs/components/modals/edit-mentor-modal/tabs/tasks-tab/tasks-tab-toolbar.js +1 -1
  29. package/dist/cjs/components/modals/edit-mentor-modal/tabs/tasks-tab.js +1 -1
  30. package/dist/cjs/components/modals/user-profile-modal.js +1 -1
  31. package/dist/cjs/components/platform-sidebar/index.js +2 -0
  32. package/dist/cjs/components/platform-sidebar/index.js.map +1 -1
  33. package/dist/cjs/components/profile/benchmarks/add-items-modal.js +25 -90
  34. package/dist/cjs/components/profile/benchmarks/add-items-modal.js.map +1 -1
  35. package/dist/cjs/components/profile/benchmarks/benchmark-items-modal.js +27 -6
  36. package/dist/cjs/components/profile/benchmarks/benchmark-items-modal.js.map +1 -1
  37. package/dist/cjs/components/profile/benchmarks/create-benchmark-modal.js +164 -18
  38. package/dist/cjs/components/profile/benchmarks/create-benchmark-modal.js.map +1 -1
  39. package/dist/cjs/components/profile/benchmarks/delete-item-confirm.js +9 -8
  40. package/dist/cjs/components/profile/benchmarks/delete-item-confirm.js.map +1 -1
  41. package/dist/cjs/components/profile/benchmarks/evals-ui.js +43 -0
  42. package/dist/cjs/components/profile/benchmarks/evals-ui.js.map +1 -0
  43. package/dist/cjs/components/profile/benchmarks/index.js +29 -10
  44. package/dist/cjs/components/profile/benchmarks/index.js.map +1 -1
  45. package/dist/cjs/components/profile/benchmarks/qa-form.js +236 -0
  46. package/dist/cjs/components/profile/benchmarks/qa-form.js.map +1 -0
  47. package/dist/cjs/components/rich-text-editor.js +33 -12
  48. package/dist/cjs/components/rich-text-editor.js.map +1 -1
  49. package/dist/cjs/components/summernote-text-editor.js +1 -1
  50. package/dist/cjs/components/workflows/workflow-editor.js +28 -8
  51. package/dist/cjs/components/workflows/workflow-editor.js.map +1 -1
  52. package/dist/cjs/i18n/messages/en.json.js +100 -74
  53. package/dist/cjs/i18n/messages/en.json.js.map +1 -1
  54. package/dist/cjs/i18n/messages/es.json.js +81 -55
  55. package/dist/cjs/i18n/messages/es.json.js.map +1 -1
  56. package/dist/cjs/i18n/messages/fr.json.js +82 -56
  57. package/dist/cjs/i18n/messages/fr.json.js.map +1 -1
  58. package/dist/cjs/i18n/messages/zh.json.js +71 -45
  59. package/dist/cjs/i18n/messages/zh.json.js.map +1 -1
  60. package/dist/cjs/index.js +1 -1
  61. package/dist/cjs/lib/sanitize-html.js +1 -1
  62. package/dist/cjs/lib/utils.js +1 -1
  63. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/index.js +6650 -0
  64. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/index.js.map +1 -0
  65. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +59 -0
  66. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +1 -0
  67. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js +16 -0
  68. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js.map +1 -0
  69. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-blockquote@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-blockquote@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-blockquote/dist/index.js +2 -2
  70. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-blockquote@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-blockquote@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-blockquote/dist/index.js.map +1 -1
  71. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-bold@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-bold@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-bold/dist/index.js +2 -2
  72. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-bold@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-bold@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-bold/dist/index.js.map +1 -1
  73. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-code-block@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-code-block@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-code-block/dist/index.js +1 -1
  74. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-code-block@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-code-block@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-code-block/dist/index.js.map +1 -1
  75. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-code@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-code@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-code/dist/index.js +1 -1
  76. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-code@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-code@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-code/dist/index.js.map +1 -1
  77. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-document@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-document@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-document/dist/index.js +1 -1
  78. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-document@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-document@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-document/dist/index.js.map +1 -1
  79. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-hard-break@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-hard-break@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-hard-break/dist/index.js +1 -1
  80. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-hard-break@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-hard-break@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-hard-break/dist/index.js.map +1 -1
  81. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-heading@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-heading@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-heading/dist/index.js +1 -1
  82. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-heading@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-heading@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-heading/dist/index.js.map +1 -1
  83. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-horizontal-rule@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-horizontal-rule@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +1 -1
  84. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-horizontal-rule@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-horizontal-rule@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +1 -1
  85. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-image@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-image@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-image/dist/index.js +1 -1
  86. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-image@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-image@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-image/dist/index.js.map +1 -1
  87. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-italic@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-italic@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-italic/dist/index.js +1 -1
  88. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-italic@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-italic@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-italic/dist/index.js.map +1 -1
  89. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-link@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-link@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-link/dist/index.js +1 -1
  90. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-link@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-link@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-link/dist/index.js.map +1 -1
  91. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-list@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-list@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-list/dist/index.js +1 -1
  92. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-list@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-list@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-list/dist/index.js.map +1 -1
  93. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-paragraph@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-paragraph@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-paragraph/dist/index.js +1 -1
  94. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-paragraph@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-paragraph@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-paragraph/dist/index.js.map +1 -1
  95. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-placeholder@3.20.4_@tiptap_extensions@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4_ → @tiptap_extension-placeholder@3.20.4_@tiptap_extensions@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-placeholder/dist/index.js +1 -1
  96. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-placeholder@3.20.4_@tiptap_extensions@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4_ → @tiptap_extension-placeholder@3.20.4_@tiptap_extensions@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-placeholder/dist/index.js.map +1 -1
  97. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-strike@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-strike@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-strike/dist/index.js +1 -1
  98. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-strike@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-strike@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-strike/dist/index.js.map +1 -1
  99. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-table-cell@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4__e5a3c3ff8b554aab527bcd6db879f930 → @tiptap_extension-table-cell@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34.0__9df690ad40c269aaedbdba7ccdf2b3c5}/node_modules/@tiptap/extension-table-cell/dist/index.js +1 -1
  100. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-table-cell@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4__e5a3c3ff8b554aab527bcd6db879f930 → @tiptap_extension-table-cell@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34.0__9df690ad40c269aaedbdba7ccdf2b3c5}/node_modules/@tiptap/extension-table-cell/dist/index.js.map +1 -1
  101. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-table-header@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20._c6a57e4e630f72502685143ac4e5ec96 → @tiptap_extension-table-header@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34._e738836bb39716a2c7e36c23583c8027}/node_modules/@tiptap/extension-table-header/dist/index.js +1 -1
  102. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-table-header@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20._c6a57e4e630f72502685143ac4e5ec96 → @tiptap_extension-table-header@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34._e738836bb39716a2c7e36c23583c8027}/node_modules/@tiptap/extension-table-header/dist/index.js.map +1 -1
  103. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-table-row@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4_@_65ee6090c5cc8114f0f28fc8fa71a1d1 → @tiptap_extension-table-row@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34.0_@_5ee469de7f353d0b0b7ac18cdf819cfe}/node_modules/@tiptap/extension-table-row/dist/index.js +1 -1
  104. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-table-row@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4_@_65ee6090c5cc8114f0f28fc8fa71a1d1 → @tiptap_extension-table-row@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34.0_@_5ee469de7f353d0b0b7ac18cdf819cfe}/node_modules/@tiptap/extension-table-row/dist/index.js.map +1 -1
  105. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-table@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-table/dist/index.js +1 -1
  106. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-table@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-table/dist/index.js.map +1 -1
  107. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-text-align@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text-align@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text-align/dist/index.js +1 -1
  108. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-text-align@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text-align@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text-align/dist/index.js.map +1 -1
  109. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-text-style@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text-style@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text-style/dist/index.js +1 -1
  110. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-text-style@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text-style@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text-style/dist/index.js.map +1 -1
  111. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-text@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text/dist/index.js +1 -1
  112. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-text@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text/dist/index.js.map +1 -1
  113. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-underline@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-underline@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-underline/dist/index.js +1 -1
  114. package/dist/cjs/node_modules/.pnpm/{@tiptap_extension-underline@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-underline@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-underline/dist/index.js.map +1 -1
  115. package/dist/cjs/node_modules/.pnpm/{@tiptap_extensions@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extensions@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extensions/dist/index.js +1 -1
  116. package/dist/cjs/node_modules/.pnpm/{@tiptap_extensions@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extensions@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extensions/dist/index.js.map +1 -1
  117. package/dist/cjs/node_modules/.pnpm/{@tiptap_react@3.14.0_@floating-ui_dom@1.7.6_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tip_17d91a0ec98b7b4802004f8a5d3f7d72 → @tiptap_react@3.14.0_@floating-ui_dom@1.7.6_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tip_3f15bb542eb86077efc89f6845872e48}/node_modules/@tiptap/react/dist/index.js +5 -8
  118. package/dist/cjs/node_modules/.pnpm/{@tiptap_react@3.14.0_@floating-ui_dom@1.7.6_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tip_17d91a0ec98b7b4802004f8a5d3f7d72 → @tiptap_react@3.14.0_@floating-ui_dom@1.7.6_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tip_3f15bb542eb86077efc89f6845872e48}/node_modules/@tiptap/react/dist/index.js.map +1 -1
  119. package/dist/cjs/node_modules/.pnpm/@tiptap_starter-kit@3.14.0/node_modules/@tiptap/starter-kit/dist/index.js +17 -17
  120. package/dist/cjs/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
  121. package/dist/cjs/node_modules/.pnpm/dompurify@3.4.18/node_modules/dompurify/dist/purify.es.js +2403 -0
  122. package/dist/cjs/node_modules/.pnpm/dompurify@3.4.18/node_modules/dompurify/dist/purify.es.js.map +1 -0
  123. package/dist/cjs/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
  124. package/dist/cjs/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  125. package/dist/cjs/node_modules/.pnpm/prosemirror-commands@1.7.1/node_modules/prosemirror-commands/dist/index.js +47 -47
  126. package/dist/cjs/node_modules/.pnpm/prosemirror-commands@1.7.1/node_modules/prosemirror-commands/dist/index.js.map +1 -1
  127. package/dist/cjs/node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.js +9 -0
  128. package/dist/cjs/node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.js.map +1 -1
  129. package/dist/cjs/web-containers/tsconfig.build.tsbuildinfo +1 -1
  130. package/dist/esm/_virtual/index2.js +2 -2
  131. package/dist/esm/_virtual/index3.js +2 -2
  132. package/dist/esm/components/activity-tab/activity-empty-state.js +2 -2
  133. package/dist/esm/components/activity-tab/activity-empty-state.js.map +1 -1
  134. package/dist/esm/components/canvas/canvas-rich-text-editor.js +8 -8
  135. package/dist/esm/components/canvas/tiptap-math-extension.js +3 -3
  136. package/dist/esm/components/canvas/tiptap-math-extension.js.map +1 -1
  137. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js +2 -2
  138. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/benchmark-combobox.js.map +1 -1
  139. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js +6 -6
  140. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/delete-experiment-modal.js.map +1 -1
  141. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js +7 -6
  142. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/evaluate-llm-picker.js.map +1 -1
  143. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js +51 -43
  144. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/experiment-detail-modal.js.map +1 -1
  145. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/index.js +68 -37
  146. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/index.js.map +1 -1
  147. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/labels.js +68 -46
  148. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/labels.js.map +1 -1
  149. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js +13 -6
  150. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/llm-judge-modal.js.map +1 -1
  151. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js +16 -7
  152. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/start-experiment-modal.js.map +1 -1
  153. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/utils.js +14 -1
  154. package/dist/esm/components/modals/edit-mentor-modal/tabs/evaluation-tab/utils.js.map +1 -1
  155. package/dist/esm/components/modals/edit-mentor-modal/tabs/human-support-tab/use-support-tickets-with-pagination.js +1 -1
  156. package/dist/esm/components/modals/edit-mentor-modal/tabs/skills-tab/index.js +1 -1
  157. package/dist/esm/components/modals/edit-mentor-modal/tabs/tasks-tab/tasks-tab-content.js +1 -1
  158. package/dist/esm/components/modals/edit-mentor-modal/tabs/tasks-tab/tasks-tab-toolbar.js +1 -1
  159. package/dist/esm/components/modals/edit-mentor-modal/tabs/tasks-tab.js +1 -1
  160. package/dist/esm/components/modals/user-profile-modal.js +1 -1
  161. package/dist/esm/components/platform-sidebar/index.js +2 -0
  162. package/dist/esm/components/platform-sidebar/index.js.map +1 -1
  163. package/dist/esm/components/profile/benchmarks/add-items-modal.js +26 -91
  164. package/dist/esm/components/profile/benchmarks/add-items-modal.js.map +1 -1
  165. package/dist/esm/components/profile/benchmarks/benchmark-items-modal.js +28 -7
  166. package/dist/esm/components/profile/benchmarks/benchmark-items-modal.js.map +1 -1
  167. package/dist/esm/components/profile/benchmarks/create-benchmark-modal.js +166 -20
  168. package/dist/esm/components/profile/benchmarks/create-benchmark-modal.js.map +1 -1
  169. package/dist/esm/components/profile/benchmarks/delete-item-confirm.js +10 -9
  170. package/dist/esm/components/profile/benchmarks/delete-item-confirm.js.map +1 -1
  171. package/dist/esm/components/profile/benchmarks/evals-ui.js +39 -0
  172. package/dist/esm/components/profile/benchmarks/evals-ui.js.map +1 -0
  173. package/dist/esm/components/profile/benchmarks/index.js +30 -11
  174. package/dist/esm/components/profile/benchmarks/index.js.map +1 -1
  175. package/dist/esm/components/profile/benchmarks/qa-form.js +233 -0
  176. package/dist/esm/components/profile/benchmarks/qa-form.js.map +1 -0
  177. package/dist/esm/components/rich-text-editor.js +37 -16
  178. package/dist/esm/components/rich-text-editor.js.map +1 -1
  179. package/dist/esm/components/summernote-text-editor.js +2 -2
  180. package/dist/esm/components/summernote-text-editor.js.map +1 -1
  181. package/dist/esm/components/workflows/workflow-editor.js +28 -8
  182. package/dist/esm/components/workflows/workflow-editor.js.map +1 -1
  183. package/dist/esm/i18n/messages/en.json.js +100 -74
  184. package/dist/esm/i18n/messages/en.json.js.map +1 -1
  185. package/dist/esm/i18n/messages/es.json.js +81 -55
  186. package/dist/esm/i18n/messages/es.json.js.map +1 -1
  187. package/dist/esm/i18n/messages/fr.json.js +82 -56
  188. package/dist/esm/i18n/messages/fr.json.js.map +1 -1
  189. package/dist/esm/i18n/messages/zh.json.js +71 -45
  190. package/dist/esm/i18n/messages/zh.json.js.map +1 -1
  191. package/dist/esm/index.js +1 -1
  192. package/dist/esm/lib/sanitize-html.js +2 -2
  193. package/dist/esm/lib/sanitize-html.js.map +1 -1
  194. package/dist/esm/lib/utils.js +1 -1
  195. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/index.js +6554 -0
  196. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/index.js.map +1 -0
  197. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +55 -0
  198. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +1 -0
  199. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js +14 -0
  200. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.34.0_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js.map +1 -0
  201. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-blockquote@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-blockquote@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-blockquote/dist/index.js +3 -3
  202. package/dist/esm/node_modules/.pnpm/@tiptap_extension-blockquote@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_/node_modules/@tiptap/extension-blockquote/dist/index.js.map +1 -0
  203. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-bold@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-bold@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-bold/dist/index.js +2 -2
  204. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-bold@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-bold@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-bold/dist/index.js.map +1 -1
  205. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-code-block@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-code-block@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-code-block/dist/index.js +2 -2
  206. package/dist/esm/node_modules/.pnpm/@tiptap_extension-code-block@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4/node_modules/@tiptap/extension-code-block/dist/index.js.map +1 -0
  207. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-code@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-code@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-code/dist/index.js +1 -1
  208. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-code@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-code@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-code/dist/index.js.map +1 -1
  209. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-document@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-document@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-document/dist/index.js +2 -2
  210. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-document@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-document@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-document/dist/index.js.map +1 -1
  211. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-hard-break@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-hard-break@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-hard-break/dist/index.js +2 -2
  212. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-hard-break@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-hard-break@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-hard-break/dist/index.js.map +1 -1
  213. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-heading@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-heading@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-heading/dist/index.js +2 -2
  214. package/dist/esm/node_modules/.pnpm/@tiptap_extension-heading@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_/node_modules/@tiptap/extension-heading/dist/index.js.map +1 -0
  215. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-horizontal-rule@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-horizontal-rule@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +2 -2
  216. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-horizontal-rule@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-horizontal-rule@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +1 -1
  217. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-image@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-image@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-image/dist/index.js +2 -2
  218. package/dist/esm/node_modules/.pnpm/@tiptap_extension-image@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_/node_modules/@tiptap/extension-image/dist/index.js.map +1 -0
  219. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-italic@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-italic@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-italic/dist/index.js +1 -1
  220. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-italic@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-italic@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-italic/dist/index.js.map +1 -1
  221. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-link@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-link@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-link/dist/index.js +1 -1
  222. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-link@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-link@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-link/dist/index.js.map +1 -1
  223. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-list@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-list@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-list/dist/index.js +6 -6
  224. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-list@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-list@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-list/dist/index.js.map +1 -1
  225. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-paragraph@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-paragraph@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-paragraph/dist/index.js +2 -2
  226. package/dist/esm/node_modules/.pnpm/@tiptap_extension-paragraph@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_/node_modules/@tiptap/extension-paragraph/dist/index.js.map +1 -0
  227. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-placeholder@3.20.4_@tiptap_extensions@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4_ → @tiptap_extension-placeholder@3.20.4_@tiptap_extensions@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-placeholder/dist/index.js +1 -1
  228. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-placeholder@3.20.4_@tiptap_extensions@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4_ → @tiptap_extension-placeholder@3.20.4_@tiptap_extensions@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-placeholder/dist/index.js.map +1 -1
  229. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-strike@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-strike@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-strike/dist/index.js +1 -1
  230. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-strike@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-strike@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-strike/dist/index.js.map +1 -1
  231. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-table-cell@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4__e5a3c3ff8b554aab527bcd6db879f930 → @tiptap_extension-table-cell@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34.0__9df690ad40c269aaedbdba7ccdf2b3c5}/node_modules/@tiptap/extension-table-cell/dist/index.js +1 -1
  232. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-table-cell@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4__e5a3c3ff8b554aab527bcd6db879f930 → @tiptap_extension-table-cell@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34.0__9df690ad40c269aaedbdba7ccdf2b3c5}/node_modules/@tiptap/extension-table-cell/dist/index.js.map +1 -1
  233. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-table-header@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20._c6a57e4e630f72502685143ac4e5ec96 → @tiptap_extension-table-header@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34._e738836bb39716a2c7e36c23583c8027}/node_modules/@tiptap/extension-table-header/dist/index.js +1 -1
  234. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-table-header@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20._c6a57e4e630f72502685143ac4e5ec96 → @tiptap_extension-table-header@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34._e738836bb39716a2c7e36c23583c8027}/node_modules/@tiptap/extension-table-header/dist/index.js.map +1 -1
  235. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-table-row@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4_@_65ee6090c5cc8114f0f28fc8fa71a1d1 → @tiptap_extension-table-row@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34.0_@_5ee469de7f353d0b0b7ac18cdf819cfe}/node_modules/@tiptap/extension-table-row/dist/index.js +1 -1
  236. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-table-row@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4_@_65ee6090c5cc8114f0f28fc8fa71a1d1 → @tiptap_extension-table-row@3.20.4_@tiptap_extension-table@3.20.4_@tiptap_core@3.34.0_@_5ee469de7f353d0b0b7ac18cdf819cfe}/node_modules/@tiptap/extension-table-row/dist/index.js.map +1 -1
  237. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-table@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-table/dist/index.js +5 -5
  238. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-table@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extension-table@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extension-table/dist/index.js.map +1 -1
  239. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-text-align@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text-align@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text-align/dist/index.js +1 -1
  240. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-text-align@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text-align@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text-align/dist/index.js.map +1 -1
  241. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-text-style@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text-style@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text-style/dist/index.js +1 -1
  242. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-text-style@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text-style@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text-style/dist/index.js.map +1 -1
  243. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-text@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text/dist/index.js +2 -2
  244. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-text@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-text@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-text/dist/index.js.map +1 -1
  245. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-underline@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-underline@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-underline/dist/index.js +1 -1
  246. package/dist/esm/node_modules/.pnpm/{@tiptap_extension-underline@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_ → @tiptap_extension-underline@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4_}/node_modules/@tiptap/extension-underline/dist/index.js.map +1 -1
  247. package/dist/esm/node_modules/.pnpm/{@tiptap_extensions@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extensions@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extensions/dist/index.js +1 -1
  248. package/dist/esm/node_modules/.pnpm/{@tiptap_extensions@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4 → @tiptap_extensions@3.20.4_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4}/node_modules/@tiptap/extensions/dist/index.js.map +1 -1
  249. package/dist/esm/node_modules/.pnpm/{@tiptap_react@3.14.0_@floating-ui_dom@1.7.6_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tip_17d91a0ec98b7b4802004f8a5d3f7d72 → @tiptap_react@3.14.0_@floating-ui_dom@1.7.6_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tip_3f15bb542eb86077efc89f6845872e48}/node_modules/@tiptap/react/dist/index.js +2 -2
  250. package/dist/esm/node_modules/.pnpm/{@tiptap_react@3.14.0_@floating-ui_dom@1.7.6_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tip_17d91a0ec98b7b4802004f8a5d3f7d72 → @tiptap_react@3.14.0_@floating-ui_dom@1.7.6_@tiptap_core@3.34.0_@tiptap_pm@3.20.4__@tip_3f15bb542eb86077efc89f6845872e48}/node_modules/@tiptap/react/dist/index.js.map +1 -1
  251. package/dist/esm/node_modules/.pnpm/@tiptap_starter-kit@3.14.0/node_modules/@tiptap/starter-kit/dist/index.js +17 -17
  252. package/dist/esm/node_modules/.pnpm/css-mediaquery@0.1.2/node_modules/css-mediaquery/index.js +1 -1
  253. package/dist/esm/node_modules/.pnpm/dompurify@3.4.18/node_modules/dompurify/dist/purify.es.js +2401 -0
  254. package/dist/esm/node_modules/.pnpm/dompurify@3.4.18/node_modules/dompurify/dist/purify.es.js.map +1 -0
  255. package/dist/esm/node_modules/.pnpm/matchmediaquery@0.4.2/node_modules/matchmediaquery/index.js +1 -1
  256. package/dist/esm/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  257. package/dist/esm/node_modules/.pnpm/prosemirror-commands@1.7.1/node_modules/prosemirror-commands/dist/index.js +2 -2
  258. package/dist/esm/node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.js +9 -1
  259. package/dist/esm/node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.js.map +1 -1
  260. package/dist/esm/node_modules/.pnpm/prosemirror-schema-list@1.5.1/node_modules/prosemirror-schema-list/dist/index.js +1 -1
  261. package/dist/esm/web-containers/tsconfig.build.tsbuildinfo +1 -1
  262. package/dist/next/index.d.ts +26 -11
  263. package/dist/package.json +1 -1
  264. package/package.json +4 -4
  265. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.20.4_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/index.js +0 -6229
  266. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.20.4_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/index.js.map +0 -1
  267. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.20.4_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +0 -23
  268. package/dist/cjs/node_modules/.pnpm/@tiptap_core@3.20.4_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +0 -1
  269. package/dist/cjs/node_modules/.pnpm/dompurify@3.4.11/node_modules/dompurify/dist/purify.es.js +0 -2251
  270. package/dist/cjs/node_modules/.pnpm/dompurify@3.4.11/node_modules/dompurify/dist/purify.es.js.map +0 -1
  271. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.20.4_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/index.js +0 -6130
  272. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.20.4_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/index.js.map +0 -1
  273. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.20.4_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +0 -17
  274. package/dist/esm/node_modules/.pnpm/@tiptap_core@3.20.4_@tiptap_pm@3.20.4/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +0 -1
  275. package/dist/esm/node_modules/.pnpm/@tiptap_extension-blockquote@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_/node_modules/@tiptap/extension-blockquote/dist/index.js.map +0 -1
  276. package/dist/esm/node_modules/.pnpm/@tiptap_extension-code-block@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4__@tiptap_pm@3.20.4/node_modules/@tiptap/extension-code-block/dist/index.js.map +0 -1
  277. package/dist/esm/node_modules/.pnpm/@tiptap_extension-heading@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_/node_modules/@tiptap/extension-heading/dist/index.js.map +0 -1
  278. package/dist/esm/node_modules/.pnpm/@tiptap_extension-image@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_/node_modules/@tiptap/extension-image/dist/index.js.map +0 -1
  279. package/dist/esm/node_modules/.pnpm/@tiptap_extension-paragraph@3.20.4_@tiptap_core@3.20.4_@tiptap_pm@3.20.4_/node_modules/@tiptap/extension-paragraph/dist/index.js.map +0 -1
  280. package/dist/esm/node_modules/.pnpm/dompurify@3.4.11/node_modules/dompurify/dist/purify.es.js +0 -2249
  281. package/dist/esm/node_modules/.pnpm/dompurify@3.4.11/node_modules/dompurify/dist/purify.es.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.js"],"sourcesContent":["import RopeSequence from 'rope-sequence';\nimport { Mapping } from 'prosemirror-transform';\nimport { PluginKey, Plugin } from 'prosemirror-state';\n\n// ProseMirror's history isn't simply a way to roll back to a previous\n// state, because ProseMirror supports applying changes without adding\n// them to the history (for example during collaboration).\n//\n// To this end, each 'Branch' (one for the undo history and one for\n// the redo history) keeps an array of 'Items', which can optionally\n// hold a step (an actual undoable change), and always hold a position\n// map (which is needed to move changes below them to apply to the\n// current document).\n//\n// An item that has both a step and a selection bookmark is the start\n// of an 'event' — a group of changes that will be undone or redone at\n// once. (It stores only the bookmark, since that way we don't have to\n// provide a document until the selection is actually applied, which\n// is useful when compressing.)\n// Used to schedule history compression\nconst max_empty_items = 500;\nclass Branch {\n constructor(items, eventCount) {\n this.items = items;\n this.eventCount = eventCount;\n }\n // Pop the latest event off the branch's history and apply it\n // to a document transform.\n popEvent(state, preserveItems) {\n if (this.eventCount == 0)\n return null;\n let end = this.items.length;\n for (;; end--) {\n let next = this.items.get(end - 1);\n if (next.selection) {\n --end;\n break;\n }\n }\n let remap, mapFrom;\n if (preserveItems) {\n remap = this.remapping(end, this.items.length);\n mapFrom = remap.maps.length;\n }\n let transform = state.tr;\n let selection, remaining;\n let addAfter = [], addBefore = [];\n this.items.forEach((item, i) => {\n if (!item.step) {\n if (!remap) {\n remap = this.remapping(end, i + 1);\n mapFrom = remap.maps.length;\n }\n mapFrom--;\n addBefore.push(item);\n return;\n }\n if (remap) {\n addBefore.push(new Item(item.map));\n let step = item.step.map(remap.slice(mapFrom)), map;\n if (step && transform.maybeStep(step).doc) {\n map = transform.mapping.maps[transform.mapping.maps.length - 1];\n addAfter.push(new Item(map, undefined, undefined, addAfter.length + addBefore.length));\n }\n mapFrom--;\n if (map)\n remap.appendMap(map, mapFrom);\n }\n else {\n transform.maybeStep(item.step);\n }\n if (item.selection) {\n selection = remap ? item.selection.map(remap.slice(mapFrom)) : item.selection;\n remaining = new Branch(this.items.slice(0, end).append(addBefore.reverse().concat(addAfter)), this.eventCount - 1);\n return false;\n }\n }, this.items.length, 0);\n return { remaining: remaining, transform, selection: selection };\n }\n // Create a new branch with the given transform added.\n addTransform(transform, selection, histOptions, preserveItems) {\n let newItems = [], eventCount = this.eventCount;\n let oldItems = this.items, lastItem = !preserveItems && oldItems.length ? oldItems.get(oldItems.length - 1) : null;\n for (let i = 0; i < transform.steps.length; i++) {\n let step = transform.steps[i].invert(transform.docs[i]);\n let item = new Item(transform.mapping.maps[i], step, selection), merged;\n if (merged = lastItem && lastItem.merge(item)) {\n item = merged;\n if (i)\n newItems.pop();\n else\n oldItems = oldItems.slice(0, oldItems.length - 1);\n }\n newItems.push(item);\n if (selection) {\n eventCount++;\n selection = undefined;\n }\n if (!preserveItems)\n lastItem = item;\n }\n let overflow = eventCount - histOptions.depth;\n if (overflow > DEPTH_OVERFLOW) {\n oldItems = cutOffEvents(oldItems, overflow);\n eventCount -= overflow;\n }\n return new Branch(oldItems.append(newItems), eventCount);\n }\n remapping(from, to) {\n let maps = new Mapping;\n this.items.forEach((item, i) => {\n let mirrorPos = item.mirrorOffset != null && i - item.mirrorOffset >= from\n ? maps.maps.length - item.mirrorOffset : undefined;\n maps.appendMap(item.map, mirrorPos);\n }, from, to);\n return maps;\n }\n addMaps(array) {\n if (this.eventCount == 0)\n return this;\n return new Branch(this.items.append(array.map(map => new Item(map))), this.eventCount);\n }\n // When the collab module receives remote changes, the history has\n // to know about those, so that it can adjust the steps that were\n // rebased on top of the remote changes, and include the position\n // maps for the remote changes in its array of items.\n rebased(rebasedTransform, rebasedCount) {\n if (!this.eventCount)\n return this;\n let rebasedItems = [], start = Math.max(0, this.items.length - rebasedCount);\n let mapping = rebasedTransform.mapping;\n let newUntil = rebasedTransform.steps.length;\n let eventCount = this.eventCount;\n this.items.forEach(item => { if (item.selection)\n eventCount--; }, start);\n let iRebased = rebasedCount;\n this.items.forEach(item => {\n let pos = mapping.getMirror(--iRebased);\n if (pos == null)\n return;\n newUntil = Math.min(newUntil, pos);\n let map = mapping.maps[pos];\n if (item.step) {\n let step = rebasedTransform.steps[pos].invert(rebasedTransform.docs[pos]);\n let selection = item.selection && item.selection.map(mapping.slice(iRebased + 1, pos));\n if (selection)\n eventCount++;\n rebasedItems.push(new Item(map, step, selection));\n }\n else {\n rebasedItems.push(new Item(map));\n }\n }, start);\n let newMaps = [];\n for (let i = rebasedCount; i < newUntil; i++)\n newMaps.push(new Item(mapping.maps[i]));\n let items = this.items.slice(0, start).append(newMaps).append(rebasedItems);\n let branch = new Branch(items, eventCount);\n if (branch.emptyItemCount() > max_empty_items)\n branch = branch.compress(this.items.length - rebasedItems.length);\n return branch;\n }\n emptyItemCount() {\n let count = 0;\n this.items.forEach(item => { if (!item.step)\n count++; });\n return count;\n }\n // Compressing a branch means rewriting it to push the air (map-only\n // items) out. During collaboration, these naturally accumulate\n // because each remote change adds one. The `upto` argument is used\n // to ensure that only the items below a given level are compressed,\n // because `rebased` relies on a clean, untouched set of items in\n // order to associate old items with rebased steps.\n compress(upto = this.items.length) {\n let remap = this.remapping(0, upto), mapFrom = remap.maps.length;\n let items = [], events = 0;\n this.items.forEach((item, i) => {\n if (i >= upto) {\n items.push(item);\n if (item.selection)\n events++;\n }\n else if (item.step) {\n let step = item.step.map(remap.slice(mapFrom)), map = step && step.getMap();\n mapFrom--;\n if (map)\n remap.appendMap(map, mapFrom);\n if (step) {\n let selection = item.selection && item.selection.map(remap.slice(mapFrom));\n if (selection)\n events++;\n let newItem = new Item(map.invert(), step, selection), merged, last = items.length - 1;\n if (merged = items.length && items[last].merge(newItem))\n items[last] = merged;\n else\n items.push(newItem);\n }\n }\n else if (item.map) {\n mapFrom--;\n }\n }, this.items.length, 0);\n return new Branch(RopeSequence.from(items.reverse()), events);\n }\n}\nBranch.empty = new Branch(RopeSequence.empty, 0);\nfunction cutOffEvents(items, n) {\n let cutPoint;\n items.forEach((item, i) => {\n if (item.selection && (n-- == 0)) {\n cutPoint = i;\n return false;\n }\n });\n return items.slice(cutPoint);\n}\nclass Item {\n constructor(\n // The (forward) step map for this item.\n map, \n // The inverted step\n step, \n // If this is non-null, this item is the start of a group, and\n // this selection is the starting selection for the group (the one\n // that was active before the first step was applied)\n selection, \n // If this item is the inverse of a previous mapping on the stack,\n // this points at the inverse's offset\n mirrorOffset) {\n this.map = map;\n this.step = step;\n this.selection = selection;\n this.mirrorOffset = mirrorOffset;\n }\n merge(other) {\n if (this.step && other.step && !other.selection) {\n let step = other.step.merge(this.step);\n if (step)\n return new Item(step.getMap().invert(), step, this.selection);\n }\n }\n}\n// The value of the state field that tracks undo/redo history for that\n// state. Will be stored in the plugin state when the history plugin\n// is active.\nclass HistoryState {\n constructor(done, undone, prevRanges, prevTime, prevComposition) {\n this.done = done;\n this.undone = undone;\n this.prevRanges = prevRanges;\n this.prevTime = prevTime;\n this.prevComposition = prevComposition;\n }\n}\nconst DEPTH_OVERFLOW = 20;\n// Record a transformation in undo history.\nfunction applyTransaction(history, state, tr, options) {\n let historyTr = tr.getMeta(historyKey), rebased;\n if (historyTr)\n return historyTr.historyState;\n if (tr.getMeta(closeHistoryKey))\n history = new HistoryState(history.done, history.undone, null, 0, -1);\n let appended = tr.getMeta(\"appendedTransaction\");\n if (tr.steps.length == 0) {\n return history;\n }\n else if (appended && appended.getMeta(historyKey)) {\n if (appended.getMeta(historyKey).redo)\n return new HistoryState(history.done.addTransform(tr, undefined, options, mustPreserveItems(state)), history.undone, rangesFor(tr.mapping.maps), history.prevTime, history.prevComposition);\n else\n return new HistoryState(history.done, history.undone.addTransform(tr, undefined, options, mustPreserveItems(state)), null, history.prevTime, history.prevComposition);\n }\n else if (tr.getMeta(\"addToHistory\") !== false && !(appended && appended.getMeta(\"addToHistory\") === false)) {\n // Group transforms that occur in quick succession into one event.\n let composition = tr.getMeta(\"composition\");\n let newGroup = history.prevTime == 0 ||\n (!appended && history.prevComposition != composition &&\n (history.prevTime < (tr.time || 0) - options.newGroupDelay || !isAdjacentTo(tr, history.prevRanges)));\n let prevRanges = appended ? mapRanges(history.prevRanges, tr.mapping) : rangesFor(tr.mapping.maps);\n return new HistoryState(history.done.addTransform(tr, newGroup ? state.selection.getBookmark() : undefined, options, mustPreserveItems(state)), Branch.empty, prevRanges, tr.time, composition == null ? history.prevComposition : composition);\n }\n else if (rebased = tr.getMeta(\"rebased\")) {\n // Used by the collab module to tell the history that some of its\n // content has been rebased.\n return new HistoryState(history.done.rebased(tr, rebased), history.undone.rebased(tr, rebased), mapRanges(history.prevRanges, tr.mapping), history.prevTime, history.prevComposition);\n }\n else {\n return new HistoryState(history.done.addMaps(tr.mapping.maps), history.undone.addMaps(tr.mapping.maps), mapRanges(history.prevRanges, tr.mapping), history.prevTime, history.prevComposition);\n }\n}\nfunction isAdjacentTo(transform, prevRanges) {\n if (!prevRanges)\n return false;\n if (!transform.docChanged)\n return true;\n let adjacent = false;\n transform.mapping.maps[0].forEach((start, end) => {\n for (let i = 0; i < prevRanges.length; i += 2)\n if (start <= prevRanges[i + 1] && end >= prevRanges[i])\n adjacent = true;\n });\n return adjacent;\n}\nfunction rangesFor(maps) {\n let result = [];\n for (let i = maps.length - 1; i >= 0 && result.length == 0; i--)\n maps[i].forEach((_from, _to, from, to) => result.push(from, to));\n return result;\n}\nfunction mapRanges(ranges, mapping) {\n if (!ranges)\n return null;\n let result = [];\n for (let i = 0; i < ranges.length; i += 2) {\n let from = mapping.map(ranges[i], 1), to = mapping.map(ranges[i + 1], -1);\n if (from <= to)\n result.push(from, to);\n }\n return result;\n}\n// Apply the latest event from one branch to the document and shift the event\n// onto the other branch.\nfunction histTransaction(history, state, redo) {\n let preserveItems = mustPreserveItems(state);\n let histOptions = historyKey.get(state).spec.config;\n let pop = (redo ? history.undone : history.done).popEvent(state, preserveItems);\n if (!pop)\n return null;\n let selection = pop.selection.resolve(pop.transform.doc);\n let added = (redo ? history.done : history.undone).addTransform(pop.transform, state.selection.getBookmark(), histOptions, preserveItems);\n let newHist = new HistoryState(redo ? added : pop.remaining, redo ? pop.remaining : added, null, 0, -1);\n return pop.transform.setSelection(selection).setMeta(historyKey, { redo, historyState: newHist });\n}\nlet cachedPreserveItems = false, cachedPreserveItemsPlugins = null;\n// Check whether any plugin in the given state has a\n// `historyPreserveItems` property in its spec, in which case we must\n// preserve steps exactly as they came in, so that they can be\n// rebased.\nfunction mustPreserveItems(state) {\n let plugins = state.plugins;\n if (cachedPreserveItemsPlugins != plugins) {\n cachedPreserveItems = false;\n cachedPreserveItemsPlugins = plugins;\n for (let i = 0; i < plugins.length; i++)\n if (plugins[i].spec.historyPreserveItems) {\n cachedPreserveItems = true;\n break;\n }\n }\n return cachedPreserveItems;\n}\n/**\nSet a flag on the given transaction that will prevent further steps\nfrom being appended to an existing history event (so that they\nrequire a separate undo command to undo).\n*/\nfunction closeHistory(tr) {\n return tr.setMeta(closeHistoryKey, true);\n}\nconst historyKey = new PluginKey(\"history\");\nconst closeHistoryKey = new PluginKey(\"closeHistory\");\n/**\nReturns a plugin that enables the undo history for an editor. The\nplugin will track undo and redo stacks, which can be used with the\n[`undo`](https://prosemirror.net/docs/ref/#history.undo) and [`redo`](https://prosemirror.net/docs/ref/#history.redo) commands.\n\nYou can set an `\"addToHistory\"` [metadata\nproperty](https://prosemirror.net/docs/ref/#state.Transaction.setMeta) of `false` on a transaction\nto prevent it from being rolled back by undo.\n*/\nfunction history(config = {}) {\n config = { depth: config.depth || 100,\n newGroupDelay: config.newGroupDelay || 500 };\n return new Plugin({\n key: historyKey,\n state: {\n init() {\n return new HistoryState(Branch.empty, Branch.empty, null, 0, -1);\n },\n apply(tr, hist, state) {\n return applyTransaction(hist, state, tr, config);\n }\n },\n config,\n props: {\n handleDOMEvents: {\n beforeinput(view, e) {\n let inputType = e.inputType;\n let command = inputType == \"historyUndo\" ? undo : inputType == \"historyRedo\" ? redo : null;\n if (!command || !view.editable)\n return false;\n e.preventDefault();\n return command(view.state, view.dispatch);\n }\n }\n }\n });\n}\nfunction buildCommand(redo, scroll) {\n return (state, dispatch) => {\n let hist = historyKey.getState(state);\n if (!hist || (redo ? hist.undone : hist.done).eventCount == 0)\n return false;\n if (dispatch) {\n let tr = histTransaction(hist, state, redo);\n if (tr)\n dispatch(scroll ? tr.scrollIntoView() : tr);\n }\n return true;\n };\n}\n/**\nA command function that undoes the last change, if any.\n*/\nconst undo = buildCommand(false, true);\n/**\nA command function that redoes the last undone change, if any.\n*/\nconst redo = buildCommand(true, true);\n/**\nA command function that undoes the last change. Don't scroll the\nselection into view.\n*/\nconst undoNoScroll = buildCommand(false, false);\n/**\nA command function that redoes the last undone change. Don't\nscroll the selection into view.\n*/\nconst redoNoScroll = buildCommand(true, false);\n/**\nThe amount of undoable events available in a given state.\n*/\nfunction undoDepth(state) {\n let hist = historyKey.getState(state);\n return hist ? hist.done.eventCount : 0;\n}\n/**\nThe amount of redoable events available in a given editor state.\n*/\nfunction redoDepth(state) {\n let hist = historyKey.getState(state);\n return hist ? hist.undone.eventCount : 0;\n}\n/**\nReturns true if the given transaction was generated by the history\nplugin.\n*/\nfunction isHistoryTransaction(tr) {\n return tr.getMeta(historyKey) != null;\n}\n\nexport { closeHistory, history, isHistoryTransaction, redo, redoDepth, redoNoScroll, undo, undoDepth, undoNoScroll };\n"],"names":["Mapping","RopeSequence","PluginKey","Plugin"],"mappings":";;;;;;AAIA;AAC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BAAoB,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ;AAClD,wBAAwB,OAAO,KAAK;AACpC,oBAAoB,CAAC,CAAC,cAAc,EAAE;AACtC,oBAAoB,OAAO,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC;AAC7D,gBAAgB;AAChB;AACA;AACA,KAAK,CAAC;AACN;AACA,SAAS,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE;AACpC,IAAI,OAAO,CAAC,KAAK,EAAE,QAAQ,KAAK;AAChC,QAAQ,IAAI,IAAI,GAAG,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC;AAC7C,QAAQ,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE,UAAU,IAAI,CAAC;AACrE,YAAY,OAAO,KAAK;AACxB,QAAQ,IAAI,QAAQ,EAAE;AACtB,YAAY,IAAI,EAAE,GAAG,eAAe,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC;AACvD,YAAY,IAAI,EAAE;AAClB,gBAAgB,QAAQ,CAAC,MAAM,GAAG,EAAE,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC;AAC3D,QAAQ;AACR,QAAQ,OAAO,IAAI;AACnB,IAAI,CAAC;AACL;AACA;AACA;AACA;AACK,MAAC,IAAI,GAAG,YAAY,CAAC,KAAK,EAAE,IAAI;AACrC;AACA;AACA;AACK,MAAC,IAAI,GAAG,YAAY,CAAC,IAAI,EAAE,IAAI;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../node_modules/.pnpm/prosemirror-history@1.5.0/node_modules/prosemirror-history/dist/index.js"],"sourcesContent":["import RopeSequence from 'rope-sequence';\nimport { Mapping } from 'prosemirror-transform';\nimport { PluginKey, Plugin } from 'prosemirror-state';\n\n// ProseMirror's history isn't simply a way to roll back to a previous\n// state, because ProseMirror supports applying changes without adding\n// them to the history (for example during collaboration).\n//\n// To this end, each 'Branch' (one for the undo history and one for\n// the redo history) keeps an array of 'Items', which can optionally\n// hold a step (an actual undoable change), and always hold a position\n// map (which is needed to move changes below them to apply to the\n// current document).\n//\n// An item that has both a step and a selection bookmark is the start\n// of an 'event' — a group of changes that will be undone or redone at\n// once. (It stores only the bookmark, since that way we don't have to\n// provide a document until the selection is actually applied, which\n// is useful when compressing.)\n// Used to schedule history compression\nconst max_empty_items = 500;\nclass Branch {\n constructor(items, eventCount) {\n this.items = items;\n this.eventCount = eventCount;\n }\n // Pop the latest event off the branch's history and apply it\n // to a document transform.\n popEvent(state, preserveItems) {\n if (this.eventCount == 0)\n return null;\n let end = this.items.length;\n for (;; end--) {\n let next = this.items.get(end - 1);\n if (next.selection) {\n --end;\n break;\n }\n }\n let remap, mapFrom;\n if (preserveItems) {\n remap = this.remapping(end, this.items.length);\n mapFrom = remap.maps.length;\n }\n let transform = state.tr;\n let selection, remaining;\n let addAfter = [], addBefore = [];\n this.items.forEach((item, i) => {\n if (!item.step) {\n if (!remap) {\n remap = this.remapping(end, i + 1);\n mapFrom = remap.maps.length;\n }\n mapFrom--;\n addBefore.push(item);\n return;\n }\n if (remap) {\n addBefore.push(new Item(item.map));\n let step = item.step.map(remap.slice(mapFrom)), map;\n if (step && transform.maybeStep(step).doc) {\n map = transform.mapping.maps[transform.mapping.maps.length - 1];\n addAfter.push(new Item(map, undefined, undefined, addAfter.length + addBefore.length));\n }\n mapFrom--;\n if (map)\n remap.appendMap(map, mapFrom);\n }\n else {\n transform.maybeStep(item.step);\n }\n if (item.selection) {\n selection = remap ? item.selection.map(remap.slice(mapFrom)) : item.selection;\n remaining = new Branch(this.items.slice(0, end).append(addBefore.reverse().concat(addAfter)), this.eventCount - 1);\n return false;\n }\n }, this.items.length, 0);\n return { remaining: remaining, transform, selection: selection };\n }\n // Create a new branch with the given transform added.\n addTransform(transform, selection, histOptions, preserveItems) {\n let newItems = [], eventCount = this.eventCount;\n let oldItems = this.items, lastItem = !preserveItems && oldItems.length ? oldItems.get(oldItems.length - 1) : null;\n for (let i = 0; i < transform.steps.length; i++) {\n let step = transform.steps[i].invert(transform.docs[i]);\n let item = new Item(transform.mapping.maps[i], step, selection), merged;\n if (merged = lastItem && lastItem.merge(item)) {\n item = merged;\n if (i)\n newItems.pop();\n else\n oldItems = oldItems.slice(0, oldItems.length - 1);\n }\n newItems.push(item);\n if (selection) {\n eventCount++;\n selection = undefined;\n }\n if (!preserveItems)\n lastItem = item;\n }\n let overflow = eventCount - histOptions.depth;\n if (overflow > DEPTH_OVERFLOW) {\n oldItems = cutOffEvents(oldItems, overflow);\n eventCount -= overflow;\n }\n return new Branch(oldItems.append(newItems), eventCount);\n }\n remapping(from, to) {\n let maps = new Mapping;\n this.items.forEach((item, i) => {\n let mirrorPos = item.mirrorOffset != null && i - item.mirrorOffset >= from\n ? maps.maps.length - item.mirrorOffset : undefined;\n maps.appendMap(item.map, mirrorPos);\n }, from, to);\n return maps;\n }\n addMaps(array) {\n if (this.eventCount == 0)\n return this;\n return new Branch(this.items.append(array.map(map => new Item(map))), this.eventCount);\n }\n // When the collab module receives remote changes, the history has\n // to know about those, so that it can adjust the steps that were\n // rebased on top of the remote changes, and include the position\n // maps for the remote changes in its array of items.\n rebased(rebasedTransform, rebasedCount) {\n if (!this.eventCount)\n return this;\n let rebasedItems = [], start = Math.max(0, this.items.length - rebasedCount);\n let mapping = rebasedTransform.mapping;\n let newUntil = rebasedTransform.steps.length;\n let eventCount = this.eventCount;\n this.items.forEach(item => { if (item.selection)\n eventCount--; }, start);\n let iRebased = rebasedCount;\n this.items.forEach(item => {\n let pos = mapping.getMirror(--iRebased);\n if (pos == null)\n return;\n newUntil = Math.min(newUntil, pos);\n let map = mapping.maps[pos];\n if (item.step) {\n let step = rebasedTransform.steps[pos].invert(rebasedTransform.docs[pos]);\n let selection = item.selection && item.selection.map(mapping.slice(iRebased + 1, pos));\n if (selection)\n eventCount++;\n rebasedItems.push(new Item(map, step, selection));\n }\n else {\n rebasedItems.push(new Item(map));\n }\n }, start);\n let newMaps = [];\n for (let i = rebasedCount; i < newUntil; i++)\n newMaps.push(new Item(mapping.maps[i]));\n let items = this.items.slice(0, start).append(newMaps).append(rebasedItems);\n let branch = new Branch(items, eventCount);\n if (branch.emptyItemCount() > max_empty_items)\n branch = branch.compress(this.items.length - rebasedItems.length);\n return branch;\n }\n emptyItemCount() {\n let count = 0;\n this.items.forEach(item => { if (!item.step)\n count++; });\n return count;\n }\n // Compressing a branch means rewriting it to push the air (map-only\n // items) out. During collaboration, these naturally accumulate\n // because each remote change adds one. The `upto` argument is used\n // to ensure that only the items below a given level are compressed,\n // because `rebased` relies on a clean, untouched set of items in\n // order to associate old items with rebased steps.\n compress(upto = this.items.length) {\n let remap = this.remapping(0, upto), mapFrom = remap.maps.length;\n let items = [], events = 0;\n this.items.forEach((item, i) => {\n if (i >= upto) {\n items.push(item);\n if (item.selection)\n events++;\n }\n else if (item.step) {\n let step = item.step.map(remap.slice(mapFrom)), map = step && step.getMap();\n mapFrom--;\n if (map)\n remap.appendMap(map, mapFrom);\n if (step) {\n let selection = item.selection && item.selection.map(remap.slice(mapFrom));\n if (selection)\n events++;\n let newItem = new Item(map.invert(), step, selection), merged, last = items.length - 1;\n if (merged = items.length && items[last].merge(newItem))\n items[last] = merged;\n else\n items.push(newItem);\n }\n }\n else if (item.map) {\n mapFrom--;\n }\n }, this.items.length, 0);\n return new Branch(RopeSequence.from(items.reverse()), events);\n }\n}\nBranch.empty = new Branch(RopeSequence.empty, 0);\nfunction cutOffEvents(items, n) {\n let cutPoint;\n items.forEach((item, i) => {\n if (item.selection && (n-- == 0)) {\n cutPoint = i;\n return false;\n }\n });\n return items.slice(cutPoint);\n}\nclass Item {\n constructor(\n // The (forward) step map for this item.\n map, \n // The inverted step\n step, \n // If this is non-null, this item is the start of a group, and\n // this selection is the starting selection for the group (the one\n // that was active before the first step was applied)\n selection, \n // If this item is the inverse of a previous mapping on the stack,\n // this points at the inverse's offset\n mirrorOffset) {\n this.map = map;\n this.step = step;\n this.selection = selection;\n this.mirrorOffset = mirrorOffset;\n }\n merge(other) {\n if (this.step && other.step && !other.selection) {\n let step = other.step.merge(this.step);\n if (step)\n return new Item(step.getMap().invert(), step, this.selection);\n }\n }\n}\n// The value of the state field that tracks undo/redo history for that\n// state. Will be stored in the plugin state when the history plugin\n// is active.\nclass HistoryState {\n constructor(done, undone, prevRanges, prevTime, prevComposition) {\n this.done = done;\n this.undone = undone;\n this.prevRanges = prevRanges;\n this.prevTime = prevTime;\n this.prevComposition = prevComposition;\n }\n}\nconst DEPTH_OVERFLOW = 20;\n// Record a transformation in undo history.\nfunction applyTransaction(history, state, tr, options) {\n let historyTr = tr.getMeta(historyKey), rebased;\n if (historyTr)\n return historyTr.historyState;\n if (tr.getMeta(closeHistoryKey))\n history = new HistoryState(history.done, history.undone, null, 0, -1);\n let appended = tr.getMeta(\"appendedTransaction\");\n if (tr.steps.length == 0) {\n return history;\n }\n else if (appended && appended.getMeta(historyKey)) {\n if (appended.getMeta(historyKey).redo)\n return new HistoryState(history.done.addTransform(tr, undefined, options, mustPreserveItems(state)), history.undone, rangesFor(tr.mapping.maps), history.prevTime, history.prevComposition);\n else\n return new HistoryState(history.done, history.undone.addTransform(tr, undefined, options, mustPreserveItems(state)), null, history.prevTime, history.prevComposition);\n }\n else if (tr.getMeta(\"addToHistory\") !== false && !(appended && appended.getMeta(\"addToHistory\") === false)) {\n // Group transforms that occur in quick succession into one event.\n let composition = tr.getMeta(\"composition\");\n let newGroup = history.prevTime == 0 ||\n (!appended && history.prevComposition != composition &&\n (history.prevTime < (tr.time || 0) - options.newGroupDelay || !isAdjacentTo(tr, history.prevRanges)));\n let prevRanges = appended ? mapRanges(history.prevRanges, tr.mapping) : rangesFor(tr.mapping.maps);\n return new HistoryState(history.done.addTransform(tr, newGroup ? state.selection.getBookmark() : undefined, options, mustPreserveItems(state)), Branch.empty, prevRanges, tr.time, composition == null ? history.prevComposition : composition);\n }\n else if (rebased = tr.getMeta(\"rebased\")) {\n // Used by the collab module to tell the history that some of its\n // content has been rebased.\n return new HistoryState(history.done.rebased(tr, rebased), history.undone.rebased(tr, rebased), mapRanges(history.prevRanges, tr.mapping), history.prevTime, history.prevComposition);\n }\n else {\n return new HistoryState(history.done.addMaps(tr.mapping.maps), history.undone.addMaps(tr.mapping.maps), mapRanges(history.prevRanges, tr.mapping), history.prevTime, history.prevComposition);\n }\n}\nfunction isAdjacentTo(transform, prevRanges) {\n if (!prevRanges)\n return false;\n if (!transform.docChanged)\n return true;\n let adjacent = false;\n transform.mapping.maps[0].forEach((start, end) => {\n for (let i = 0; i < prevRanges.length; i += 2)\n if (start <= prevRanges[i + 1] && end >= prevRanges[i])\n adjacent = true;\n });\n return adjacent;\n}\nfunction rangesFor(maps) {\n let result = [];\n for (let i = maps.length - 1; i >= 0 && result.length == 0; i--)\n maps[i].forEach((_from, _to, from, to) => result.push(from, to));\n return result;\n}\nfunction mapRanges(ranges, mapping) {\n if (!ranges)\n return null;\n let result = [];\n for (let i = 0; i < ranges.length; i += 2) {\n let from = mapping.map(ranges[i], 1), to = mapping.map(ranges[i + 1], -1);\n if (from <= to)\n result.push(from, to);\n }\n return result;\n}\n// Apply the latest event from one branch to the document and shift the event\n// onto the other branch.\nfunction histTransaction(history, state, redo) {\n let preserveItems = mustPreserveItems(state);\n let histOptions = historyKey.get(state).spec.config;\n let pop = (redo ? history.undone : history.done).popEvent(state, preserveItems);\n if (!pop)\n return null;\n let selection = pop.selection.resolve(pop.transform.doc);\n let added = (redo ? history.done : history.undone).addTransform(pop.transform, state.selection.getBookmark(), histOptions, preserveItems);\n let newHist = new HistoryState(redo ? added : pop.remaining, redo ? pop.remaining : added, null, 0, -1);\n return pop.transform.setSelection(selection).setMeta(historyKey, { redo, historyState: newHist });\n}\nlet cachedPreserveItems = false, cachedPreserveItemsPlugins = null;\n// Check whether any plugin in the given state has a\n// `historyPreserveItems` property in its spec, in which case we must\n// preserve steps exactly as they came in, so that they can be\n// rebased.\nfunction mustPreserveItems(state) {\n let plugins = state.plugins;\n if (cachedPreserveItemsPlugins != plugins) {\n cachedPreserveItems = false;\n cachedPreserveItemsPlugins = plugins;\n for (let i = 0; i < plugins.length; i++)\n if (plugins[i].spec.historyPreserveItems) {\n cachedPreserveItems = true;\n break;\n }\n }\n return cachedPreserveItems;\n}\n/**\nSet a flag on the given transaction that will prevent further steps\nfrom being appended to an existing history event (so that they\nrequire a separate undo command to undo).\n*/\nfunction closeHistory(tr) {\n return tr.setMeta(closeHistoryKey, true);\n}\nconst historyKey = new PluginKey(\"history\");\nconst closeHistoryKey = new PluginKey(\"closeHistory\");\n/**\nReturns a plugin that enables the undo history for an editor. The\nplugin will track undo and redo stacks, which can be used with the\n[`undo`](https://prosemirror.net/docs/ref/#history.undo) and [`redo`](https://prosemirror.net/docs/ref/#history.redo) commands.\n\nYou can set an `\"addToHistory\"` [metadata\nproperty](https://prosemirror.net/docs/ref/#state.Transaction.setMeta) of `false` on a transaction\nto prevent it from being rolled back by undo.\n*/\nfunction history(config = {}) {\n config = { depth: config.depth || 100,\n newGroupDelay: config.newGroupDelay || 500 };\n return new Plugin({\n key: historyKey,\n state: {\n init() {\n return new HistoryState(Branch.empty, Branch.empty, null, 0, -1);\n },\n apply(tr, hist, state) {\n return applyTransaction(hist, state, tr, config);\n }\n },\n config,\n props: {\n handleDOMEvents: {\n beforeinput(view, e) {\n let inputType = e.inputType;\n let command = inputType == \"historyUndo\" ? undo : inputType == \"historyRedo\" ? redo : null;\n if (!command || !view.editable)\n return false;\n e.preventDefault();\n return command(view.state, view.dispatch);\n }\n }\n }\n });\n}\nfunction buildCommand(redo, scroll) {\n return (state, dispatch) => {\n let hist = historyKey.getState(state);\n if (!hist || (redo ? hist.undone : hist.done).eventCount == 0)\n return false;\n if (dispatch) {\n let tr = histTransaction(hist, state, redo);\n if (tr)\n dispatch(scroll ? tr.scrollIntoView() : tr);\n }\n return true;\n };\n}\n/**\nA command function that undoes the last change, if any.\n*/\nconst undo = buildCommand(false, true);\n/**\nA command function that redoes the last undone change, if any.\n*/\nconst redo = buildCommand(true, true);\n/**\nA command function that undoes the last change. Don't scroll the\nselection into view.\n*/\nconst undoNoScroll = buildCommand(false, false);\n/**\nA command function that redoes the last undone change. Don't\nscroll the selection into view.\n*/\nconst redoNoScroll = buildCommand(true, false);\n/**\nThe amount of undoable events available in a given state.\n*/\nfunction undoDepth(state) {\n let hist = historyKey.getState(state);\n return hist ? hist.done.eventCount : 0;\n}\n/**\nThe amount of redoable events available in a given editor state.\n*/\nfunction redoDepth(state) {\n let hist = historyKey.getState(state);\n return hist ? hist.undone.eventCount : 0;\n}\n/**\nReturns true if the given transaction was generated by the history\nplugin.\n*/\nfunction isHistoryTransaction(tr) {\n return tr.getMeta(historyKey) != null;\n}\n\nexport { closeHistory, history, isHistoryTransaction, redo, redoDepth, redoNoScroll, undo, undoDepth, undoNoScroll };\n"],"names":["Mapping","RopeSequence","PluginKey","Plugin"],"mappings":";;;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,eAAe,GAAG,GAAG;AAC3B,MAAM,MAAM,CAAC;AACb,IAAI,WAAW,CAAC,KAAK,EAAE,UAAU,EAAE;AACnC,QAAQ,IAAI,CAAC,KAAK,GAAG,KAAK;AAC1B,QAAQ,IAAI,CAAC,UAAU,GAAG,UAAU;AACpC,IAAI;AACJ;AACA;AACA,IAAI,QAAQ,CAAC,KAAK,EAAE,aAAa,EAAE;AACnC,QAAQ,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC;AAChC,YAAY,OAAO,IAAI;AACvB,QAAQ,IAAI,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM;AACnC,QAAQ,QAAQ,GAAG,EAAE,EAAE;AACvB,YAAY,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC;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