@viswa-test/test-citation 0.0.379 → 0.0.382

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 (599) hide show
  1. package/README.md +151 -0
  2. package/dist/assests/icons/InfoAlert.js +2 -0
  3. package/dist/assests/icons/InfoAlert.js.map +1 -0
  4. package/dist/cjs/assests/icons/InfoAlert.js +2 -0
  5. package/dist/cjs/assests/icons/InfoAlert.js.map +1 -0
  6. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  7. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  8. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  9. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  10. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  11. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  12. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  13. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  14. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  15. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  16. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  17. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  18. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  19. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  20. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  21. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  22. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
  23. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  24. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  25. package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js +2 -0
  26. package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js.map +1 -0
  27. package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
  28. package/dist/cjs/features/PdfViewer/PdfStyle.js +1 -1
  29. package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
  30. package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
  31. package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js +2 -0
  32. package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js.map +1 -0
  33. package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js +2 -0
  34. package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js.map +1 -0
  35. package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js +2 -0
  36. package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js.map +1 -0
  37. package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js +2 -0
  38. package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js.map +1 -0
  39. package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +2 -0
  40. package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +1 -0
  41. package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js +2 -0
  42. package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js.map +1 -0
  43. package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js +2 -0
  44. package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +1 -0
  45. package/dist/cjs/features/PdfViewer/rotationManager.js +2 -0
  46. package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -0
  47. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
  48. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +2 -0
  49. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -0
  50. package/dist/cjs/features/PromptCitation/PromptCitation.js +2 -0
  51. package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -0
  52. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +2 -0
  53. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -0
  54. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +2 -0
  55. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -0
  56. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  57. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  58. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
  59. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
  60. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  61. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  62. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  63. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  64. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +1 -1
  65. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  66. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  67. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  68. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  69. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +1 -1
  70. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +1 -1
  71. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
  72. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
  73. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  74. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  75. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  76. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +1 -1
  77. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  78. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  79. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  80. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  81. package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
  82. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  83. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  84. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  85. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
  86. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  87. package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  88. package/dist/cjs/features/RequirementAI/utils/helpers.js +1 -1
  89. package/dist/cjs/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
  90. package/dist/cjs/features/ReviewPanel/ReviewPanel.js +2 -0
  91. package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -0
  92. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +2 -0
  93. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -0
  94. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +2 -0
  95. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -0
  96. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +2 -0
  97. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -0
  98. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +2 -0
  99. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -0
  100. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +2 -0
  101. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -0
  102. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +2 -0
  103. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -0
  104. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +2 -0
  105. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -0
  106. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +2 -0
  107. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -0
  108. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +2 -0
  109. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -0
  110. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +2 -0
  111. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -0
  112. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +2 -0
  113. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -0
  114. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +2 -0
  115. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -0
  116. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +2 -0
  117. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -0
  118. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +2 -0
  119. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -0
  120. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +2 -0
  121. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -0
  122. package/dist/cjs/features/SegmentReviewComponents/helper.js +2 -0
  123. package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -0
  124. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +2 -0
  125. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -0
  126. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +2 -0
  127. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -0
  128. package/dist/cjs/index.js +1 -1
  129. package/dist/cjs/service/redlineService.js +1 -1
  130. package/dist/cjs/utils/tagHelper.js +1 -1
  131. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  132. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  133. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  134. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  135. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  136. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  137. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  138. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  139. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  140. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  141. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  142. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  143. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  144. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  145. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  146. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  147. package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
  148. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  149. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  150. package/dist/features/ParentCitationComponent/ParentCitationComponent.js +2 -0
  151. package/dist/features/ParentCitationComponent/ParentCitationComponent.js.map +1 -0
  152. package/dist/features/PdfViewer/PdfContainer.js +1 -1
  153. package/dist/features/PdfViewer/PdfStyle.js +1 -1
  154. package/dist/features/PdfViewer/PdfToolbar.js +1 -1
  155. package/dist/features/PdfViewer/PdfViewer.js +1 -1
  156. package/dist/features/PdfViewer/nyc-components/BoundaryCard.js +2 -0
  157. package/dist/features/PdfViewer/nyc-components/BoundaryCard.js.map +1 -0
  158. package/dist/features/PdfViewer/nyc-components/CardWrapper.js +2 -0
  159. package/dist/features/PdfViewer/nyc-components/CardWrapper.js.map +1 -0
  160. package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js +2 -0
  161. package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js.map +1 -0
  162. package/dist/features/PdfViewer/nyc-components/LabelCheck.js +2 -0
  163. package/dist/features/PdfViewer/nyc-components/LabelCheck.js.map +1 -0
  164. package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +2 -0
  165. package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +1 -0
  166. package/dist/features/PdfViewer/nyc-components/infoAlert.js +2 -0
  167. package/dist/features/PdfViewer/nyc-components/infoAlert.js.map +1 -0
  168. package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js +2 -0
  169. package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +1 -0
  170. package/dist/features/PdfViewer/rotationManager.js +2 -0
  171. package/dist/features/PdfViewer/rotationManager.js.map +1 -0
  172. package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
  173. package/dist/features/PromptCitation/CitationDependencyGraph.js +2 -0
  174. package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -0
  175. package/dist/features/PromptCitation/PromptCitation.js +2 -0
  176. package/dist/features/PromptCitation/PromptCitation.js.map +1 -0
  177. package/dist/features/PromptCitation/_components/CodeEditor.js +2 -0
  178. package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -0
  179. package/dist/features/PromptCitation/_components/Markdownrenderer.js +2 -0
  180. package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -0
  181. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  182. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  183. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
  184. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
  185. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  186. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  187. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  188. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  189. package/dist/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +1 -1
  190. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  191. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  192. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  193. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  194. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +1 -1
  195. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +1 -1
  196. package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
  197. package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
  198. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  199. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  200. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  201. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +1 -1
  202. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  203. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  204. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  205. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  206. package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
  207. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  208. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  209. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  210. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
  211. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  212. package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  213. package/dist/features/RequirementAI/utils/helpers.js +1 -1
  214. package/dist/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
  215. package/dist/features/ReviewPanel/ReviewPanel.js +2 -0
  216. package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -0
  217. package/dist/features/SegmentReviewComponents/BoundaryCard.js +2 -0
  218. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -0
  219. package/dist/features/SegmentReviewComponents/CardWrapper.js +2 -0
  220. package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -0
  221. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +2 -0
  222. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -0
  223. package/dist/features/SegmentReviewComponents/CognitiveIcon.js +2 -0
  224. package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -0
  225. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +2 -0
  226. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -0
  227. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +2 -0
  228. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -0
  229. package/dist/features/SegmentReviewComponents/LabelCheck.js +2 -0
  230. package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -0
  231. package/dist/features/SegmentReviewComponents/PageCheck.js +2 -0
  232. package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -0
  233. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +2 -0
  234. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -0
  235. package/dist/features/SegmentReviewComponents/RevertCard.js +2 -0
  236. package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -0
  237. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +2 -0
  238. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -0
  239. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +2 -0
  240. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -0
  241. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +2 -0
  242. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -0
  243. package/dist/features/SegmentReviewComponents/ReviewedCard.js +2 -0
  244. package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -0
  245. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +2 -0
  246. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -0
  247. package/dist/features/SegmentReviewComponents/helper.js +2 -0
  248. package/dist/features/SegmentReviewComponents/helper.js.map +1 -0
  249. package/dist/features/SegmentReviewComponents/reviewScore.js +2 -0
  250. package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -0
  251. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +2 -0
  252. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -0
  253. package/dist/index.js +1 -1
  254. package/dist/service/redlineService.js +1 -1
  255. package/dist/types/src/CitationDependencyGraphTest.d.ts +4 -0
  256. package/dist/types/src/CitationDependencyGraphTest.d.ts.map +1 -0
  257. package/dist/types/src/RedlineApprovalCardTest.d.ts +1 -0
  258. package/dist/types/src/RedlineApprovalCardTest.d.ts.map +1 -0
  259. package/dist/types/src/RedlineEditorTest.d.ts.map +1 -1
  260. package/dist/types/src/RedlineEditorTest2.d.ts +3 -0
  261. package/dist/types/src/RedlineEditorTest2.d.ts.map +1 -0
  262. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  263. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +3 -0
  264. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +1 -0
  265. package/dist/types/src/assests/icons/InfoAlert.d.ts +3 -0
  266. package/dist/types/src/assests/icons/InfoAlert.d.ts.map +1 -0
  267. package/dist/types/src/commonConstants.d.ts +31103 -0
  268. package/dist/types/src/commonConstants.d.ts.map +1 -0
  269. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -1
  270. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +1 -0
  271. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -1
  272. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -1
  273. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +1 -1
  274. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
  275. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +1 -1
  276. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -1
  277. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +1 -1
  278. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
  279. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -12
  280. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -1
  281. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -1
  282. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -1
  283. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -1
  284. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +456 -11335
  285. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -1
  286. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +1 -14
  287. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -1
  288. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
  289. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
  290. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +1 -2
  291. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -1
  292. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +1 -1
  293. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -1
  294. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +1 -0
  295. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +1 -1
  296. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -1
  297. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
  298. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts +2 -0
  299. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts.map +1 -0
  300. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -1
  301. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -1
  302. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +1 -1
  303. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +1 -2
  304. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -1
  305. package/dist/types/src/features/GptWebCitation/types.d.ts +0 -11
  306. package/dist/types/src/features/GptWebCitation/types.d.ts.map +1 -1
  307. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -2
  308. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -1
  309. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts +128 -0
  310. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts.map +1 -0
  311. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts +13 -0
  312. package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts.map +1 -0
  313. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +4 -2
  314. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +1 -1
  315. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +1 -1
  316. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +4 -1
  317. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +1 -1
  318. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +19 -2
  319. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -1
  320. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +41 -0
  321. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +1 -0
  322. package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts +59 -0
  323. package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts.map +1 -0
  324. package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts +19 -0
  325. package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts.map +1 -0
  326. package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts +3 -0
  327. package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts.map +1 -0
  328. package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts +77 -0
  329. package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts.map +1 -0
  330. package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts +47 -0
  331. package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts.map +1 -0
  332. package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts +15 -0
  333. package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts.map +1 -0
  334. package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts +3 -0
  335. package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts.map +1 -0
  336. package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts +36 -0
  337. package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts.map +1 -0
  338. package/dist/types/src/features/PdfViewer/rotationManager.d.ts +23 -0
  339. package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +1 -0
  340. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +1 -0
  341. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +1 -1
  342. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
  343. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
  344. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +326 -0
  345. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +1 -0
  346. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +4 -0
  347. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +1 -0
  348. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
  349. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
  350. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  351. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  352. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
  353. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
  354. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
  355. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
  356. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +8 -0
  357. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +1 -0
  358. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +29 -39
  359. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  360. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +1 -1
  361. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts +0 -2
  362. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts.map +1 -1
  363. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts +0 -2
  364. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts.map +1 -1
  365. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  366. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
  367. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +1 -1
  368. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  369. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts +5439 -84
  370. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts.map +1 -1
  371. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +1 -1
  372. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -1
  373. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts +1 -1
  374. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts.map +1 -1
  375. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +2 -2
  376. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -1
  377. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +2 -20
  378. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  379. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts +2 -7
  380. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts.map +1 -1
  381. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.d.ts.map +1 -1
  382. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts +1 -15
  383. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts.map +1 -1
  384. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts +1 -2
  385. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts.map +1 -1
  386. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts +2 -3
  387. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +1 -1
  388. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +1 -1
  389. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts +0 -1
  390. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts.map +1 -1
  391. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts +0 -1
  392. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts.map +1 -1
  393. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +1 -1
  394. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +2 -3
  395. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
  396. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +1 -1
  397. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
  398. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +1 -3
  399. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
  400. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +1 -2
  401. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
  402. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts +0 -1
  403. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts.map +1 -1
  404. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts +0 -2
  405. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts.map +1 -1
  406. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +1 -2
  407. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
  408. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +1 -2
  409. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
  410. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +1 -1
  411. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +1 -1
  412. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +0 -2
  413. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -1
  414. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +0 -7
  415. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
  416. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +1 -2
  417. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
  418. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts +0 -2
  419. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts.map +1 -1
  420. package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts.map +1 -1
  421. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
  422. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
  423. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
  424. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
  425. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +3 -0
  426. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
  427. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
  428. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
  429. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
  430. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
  431. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
  432. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
  433. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
  434. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
  435. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
  436. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
  437. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
  438. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
  439. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
  440. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
  441. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
  442. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
  443. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
  444. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
  445. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
  446. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
  447. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
  448. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
  449. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
  450. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
  451. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +13 -0
  452. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +1 -0
  453. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +51 -0
  454. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +1 -0
  455. package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts +2 -0
  456. package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts.map +1 -0
  457. package/dist/types/src/features/SegmentReviewComponents/index.d.ts +25 -0
  458. package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +1 -0
  459. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
  460. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
  461. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
  462. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
  463. package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts +2 -0
  464. package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts.map +1 -0
  465. package/dist/types/src/index.d.ts +8 -0
  466. package/dist/types/src/index.d.ts.map +1 -1
  467. package/dist/types/src/service/redlineService.d.ts.map +1 -1
  468. package/dist/types/src/utils/tagHelper.d.ts +0 -9
  469. package/dist/types/src/utils/tagHelper.d.ts.map +1 -1
  470. package/dist/utils/tagHelper.js +1 -1
  471. package/package.json +12 -2
  472. package/dist/cjs/features/CognitiveCompare/utils/normalizeInlineMarkdown.js +0 -2
  473. package/dist/cjs/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +0 -1
  474. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
  475. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
  476. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js +0 -2
  477. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +0 -1
  478. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +0 -2
  479. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +0 -1
  480. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
  481. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
  482. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
  483. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
  484. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
  485. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
  486. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
  487. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
  488. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
  489. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
  490. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
  491. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
  492. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +0 -2
  493. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +0 -1
  494. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +0 -2
  495. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +0 -1
  496. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +0 -2
  497. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +0 -1
  498. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +0 -2
  499. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +0 -1
  500. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +0 -2
  501. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +0 -1
  502. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +0 -2
  503. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +0 -1
  504. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +0 -2
  505. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +0 -1
  506. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +0 -2
  507. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +0 -1
  508. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
  509. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
  510. package/dist/cjs/features/RequirementAI/utils/exponential-retry.js +0 -2
  511. package/dist/cjs/features/RequirementAI/utils/exponential-retry.js.map +0 -1
  512. package/dist/features/CognitiveCompare/utils/normalizeInlineMarkdown.js +0 -2
  513. package/dist/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +0 -1
  514. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
  515. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
  516. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js +0 -2
  517. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +0 -1
  518. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +0 -2
  519. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +0 -1
  520. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
  521. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
  522. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
  523. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
  524. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
  525. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
  526. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
  527. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
  528. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
  529. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
  530. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
  531. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
  532. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +0 -2
  533. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +0 -1
  534. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +0 -2
  535. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +0 -1
  536. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +0 -2
  537. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +0 -1
  538. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +0 -2
  539. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +0 -1
  540. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +0 -2
  541. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +0 -1
  542. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +0 -2
  543. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +0 -1
  544. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +0 -2
  545. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +0 -1
  546. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +0 -2
  547. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +0 -1
  548. package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
  549. package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
  550. package/dist/features/RequirementAI/utils/exponential-retry.js +0 -2
  551. package/dist/features/RequirementAI/utils/exponential-retry.js.map +0 -1
  552. package/dist/types/src/CitationAccordionTest.d.ts +0 -1
  553. package/dist/types/src/CitationAccordionTest.d.ts.map +0 -1
  554. package/dist/types/src/MockDeviationSummary.d.ts +0 -1
  555. package/dist/types/src/MockDeviationSummary.d.ts.map +0 -1
  556. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts +0 -33
  557. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts.map +0 -1
  558. package/dist/types/src/features/CognitiveCompare/utils/normalizeInlineMarkdown.d.ts +0 -25
  559. package/dist/types/src/features/CognitiveCompare/utils/normalizeInlineMarkdown.d.ts.map +0 -1
  560. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts +0 -2
  561. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts.map +0 -1
  562. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts +0 -3
  563. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts.map +0 -1
  564. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts +0 -2
  565. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts.map +0 -1
  566. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts +0 -7
  567. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts.map +0 -1
  568. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts +0 -2
  569. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts.map +0 -1
  570. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts +0 -29
  571. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts.map +0 -1
  572. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts +0 -2
  573. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts.map +0 -1
  574. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts +0 -7
  575. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts.map +0 -1
  576. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts +0 -3
  577. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts.map +0 -1
  578. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts +0 -86
  579. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts.map +0 -1
  580. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts +0 -9
  581. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts.map +0 -1
  582. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts +0 -7
  583. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts.map +0 -1
  584. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts +0 -5
  585. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts.map +0 -1
  586. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts +0 -10
  587. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts.map +0 -1
  588. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts +0 -17
  589. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts.map +0 -1
  590. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts +0 -23
  591. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts.map +0 -1
  592. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts +0 -3
  593. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts.map +0 -1
  594. package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts +0 -12
  595. package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts.map +0 -1
  596. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts +0 -9
  597. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts.map +0 -1
  598. package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts +0 -12
  599. package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsPopup.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("./CollaboratorsPopup.css.js");var s=require("./Avatar.js"),i=require("@mui/material");function r({user:r}){return e.jsxs("div",{className:"user-row "+(r.faded?"faded":""),children:[e.jsx(s.default,{name:r.name,online:r.online,size:40}),e.jsxs("div",{className:"user-info",children:[e.jsxs("div",{className:"user-name",children:[e.jsx(i.Tooltip,{title:r.name,children:e.jsx("span",{className:"user-text",children:r.name})}),!!r.isUser&&e.jsx("span",{className:"you",children:"(You)"})]}),e.jsx("div",{className:"user-subtitle",children:e.jsx(i.Tooltip,{title:r.subtitle,children:e.jsx("span",{className:"user-text",children:r.subtitle})})})]})]})}exports.default=function({owner:a,activeUsers:l,previousUsers:n=[]}){return e.jsxs("div",{className:"collaborators-popover",children:[a&&e.jsxs("div",{className:"owner-section",children:[e.jsx(s.default,{name:a.name,online:a.online,size:40}),e.jsxs("div",{className:"user-info",children:[e.jsxs("div",{className:"user-name",children:[e.jsx(i.Tooltip,{title:a.name,children:e.jsx("span",{className:"user-text",children:a.name})}),!!a.isUser&&e.jsx("span",{className:"you",children:"(You)"})]}),e.jsx("div",{className:"user-subtitle",children:"Owner"})]})]}),(l.length>0||n.length>0)&&e.jsx("div",{className:"divider"}),l.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"section-title",children:"On this document"}),l.map(s=>e.jsx(r,{user:s},s.id))]}),n.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"section-title previous",children:"Previously active"}),n.map(s=>e.jsx(r,{user:{...s,faded:!0}},s.id))]})]})};
2
- //# sourceMappingURL=CollaboratorsPopup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsPopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=["#FFF3B0","#D9F7E5","#EEE3FF","#DDEBFF","#FFE2E2","#FFE9CC","#DFF5FF","#FDE2F3"];exports.getAvatarColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=e.charCodeAt(t)+((r<<5)-r);return t[Math.abs(r)%t.length]},exports.getInitials=function(t){return t.trim().split(/\s+/).slice(0,2).map(t=>{var e;return null===(e=t[0])||void 0===e?void 0:e.toUpperCase()}).join("")};
2
- //# sourceMappingURL=avatarUtils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"avatarUtils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=(e,t,r)=>e.replace(t,(e,t,g,n)=>`${t}${r(g)}${n}`);exports.convertInlineMarkdownToHtml=t=>{if(!t)return t;const r=[],g=e=>`ZXQINLINEPROTECTED${r.push(e)-1}QXZ`;let n=t.replace(/(`+)([^\n]*?)\1/g,(e,t,r)=>{return g(`<code>${n=r,n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}</code>`);var n});return n=n.replace(/\\\*/g,()=>g("*")),n=e(n,/\*{3}([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)\*{3}/g,e=>`<strong><em>${e}</em></strong>`),n=e(n,/_{3}([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)_{3}/g,e=>`<strong><em>${e}</em></strong>`),n=e(n,/\*{2}([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)\*{2}/g,e=>`<strong>${e}</strong>`),n=e(n,/_{2}([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)_{2}/g,e=>`<strong>${e}</strong>`),n=e(n,/\*([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)\*/g,e=>`<em>${e}</em>`),n.replace(/ZXQINLINEPROTECTED(\d+)QXZ/g,(e,t)=>{var g;return null!==(g=r[Number(t)])&&void 0!==g?g:""})};
2
- //# sourceMappingURL=inlineMarkdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inlineMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}Object.defineProperty(exports,"__esModule",{value:!0});var e=t(require("react-hot-toast"));const r=(t,e)=>new Promise((r,o)=>{if(null==e?void 0:e.aborted)return void o(new DOMException("Operation aborted","AbortError"));const a=setTimeout(r,t);null==e||e.addEventListener("abort",()=>{clearTimeout(a),o(new DOMException("Operation aborted","AbortError"))},{once:!0})});exports.retryWithExponentialBackoff=async function(t,o={}){const{maxAttempts:a=5,initialDelayMs:n=500,maxDelayMs:i=3e4,backoffFactor:l=2,jitter:s=!0,signal:u,shouldRetry:c=()=>!0,onRetry:f}=o;if(a<1)throw new Error("maxAttempts must be at least 1");let d;for(let o=1;o<=a;o++){null==u||u.throwIfAborted();try{return await t(o)}catch(t){d=t;if(o===a||!c(t,o))throw t;const m=Math.min(n*l**(o-1),i),p=s?Math.floor(Math.random()*m):m;e.default.error(`Request failed. Retrying attempt ${o} of ${a}.`),null==f||f(t,o,p),await r(p,u)}}throw d};
2
- //# sourceMappingURL=exponential-retry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exponential-retry.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e=function(e){if(!e||"string"!=typeof e)return e;var r=e;return(r=(r=(r=(r=(r=(r=(r=(r=(r=r.replace(/\*\*([^*]*?)\*\*/g,"$1")).replace(/__([^_]*?)__/g,"$1")).replace(/\*([^*]*?)\*/g,"$1")).replace(/_([^_]*?)_/g,"$1")).replace(/~~([^~]*?)~~/g,"$1")).replace(/`([^`]*?)`/g,"$1")).replace(/\[([^\]]*?)\]\([^)]*?\)/g,"$1")).replace(/<[^>]*?>/g,"")).replace(/\s+/g," ")).trim()},r=function(r,n){if(!r||!n)return null;var f=r.indexOf(n);if(-1!==f)return{start:f,end:f+n.length};var l=e(r),t=e(n);if(!l||!t)return null;var a=l.indexOf(t);if(-1===a)return null;var i=function(e,r,n){var f=0,l=0,t=-1,a=-1;for(;f<e.length;){var i=e[f],u=i+e[f+1],g=0;if("**"===u||"__"===u||"~~"===u)g=2;else if("<["===u){if("<"===i){var c=e.indexOf(">",f);-1!==c&&(g=c-f+1)}else if("["===i){var v=e.indexOf("]",f);if(-1!==v&&"("===e[v+1]){var p=e.indexOf(")",v);if(-1!==p){for(var _=f+1;_<v;_++)if(l===r&&-1===t&&(t=f+1),++l===r+n)return a=_+1,-1!==t&&-1!==a?{start:t,end:a}:null;f=p,g=1}}}}else"*"!==i&&"_"!==i&&"`"!==i&&"<"!==i||(g=1);if(g>0)f+=g;else{if(l===r&&-1===t&&(t=f),++l===r+n){a=f+1;break}f++}}if(-1===t||-1===a)return null;return{start:t,end:a}}(r,a,t.length);return i};export{r as findTextRangeWithFormatting,e as stripMarkdownFormatting};
2
- //# sourceMappingURL=normalizeInlineMarkdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeInlineMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const t="rich-text-editor-initial-content";export{t as INITIAL_CONTENT_UPDATE_TAG};
2
- //# sourceMappingURL=updateTags.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateTags.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{useEffect as e}from"react";import{useLexicalComposerContext as t}from"@lexical/react/LexicalComposerContext";import{KEY_DOWN_COMMAND as o,$getSelection as r,$isRangeSelection as n,COMMAND_PRIORITY_CRITICAL as s,PASTE_COMMAND as i,CONTROLLED_TEXT_INSERTION_COMMAND as c,$isTextNode as a,$isElementNode as l,$getNearestNodeFromDOMNode as f}from"lexical";import{$getTableCellNodeFromLexicalNode as u,$isTableCellNode as d}from"@lexical/table";const g=(e,t,o)=>{var r;let n=e.getNode();if(!(a(n)?e.offset===("start"===o?0:n.getTextContentSize()):!!l(n)&&e.offset===("start"===o?0:n.getChildrenSize())))return!1;for(;n&&!n.is(t);){if("start"===o?n.getPreviousSibling():n.getNextSibling())return!1;n=n.getParent()}return null!==(r=null==n?void 0:n.is(t))&&void 0!==r&&r},m=()=>{const[a]=t();return e(()=>{const e=()=>{const e=r();if(!n(e)||e.isCollapsed())return!1;const t=u(e.anchor.getNode()),o=u(e.focus.getNode());return!(!t||!o||t.is(o))&&(e.anchor.set(e.focus.key,e.focus.offset,e.focus.type),!0)},t=a.registerCommand(o,e=>{const t=r();if(!n(t))return!1;const o=u(t.anchor.getNode()),s=u(t.focus.getNode());return!(!o||!s)&&(o.is(s)?!!t.isCollapsed()&&(("Backspace"===e.key&&g(t.anchor,o,"start")||!("Delete"!==e.key||!g(t.anchor,o,"end")))&&(e.preventDefault(),!0)):"Backspace"===e.key||"Delete"===e.key?(e.preventDefault(),!0):(1!==e.key.length||e.metaKey||e.ctrlKey||e.altKey||t.anchor.set(t.focus.key,t.focus.offset,t.focus.type),!1))},s),l=a.registerCommand(i,()=>(e(),!1),s),m=a.registerCommand(c,()=>(e(),!1),s),p=e=>{const t=e.target;if(!(t instanceof Element))return;const o=t.closest("td, th");o&&a.update(()=>{const e=f(o);if(!d(e))return;const t=r();if(!n(t)||!t.isCollapsed())return;const s=u(t.anchor.getNode());if(s&&!s.is(e)){const t=a.getElementByKey(s.getKey());!!t&&!!(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)?e.selectStart():e.selectEnd()}})},y=a.registerRootListener((e,t)=>{null==t||t.removeEventListener("pointerup",p),null==e||e.addEventListener("pointerup",p)});return()=>{t(),l(),m(),y()}},[a]),null};export{m as ProtectTableCellBoundaries};
2
- //# sourceMappingURL=ProtectTableCellBoundaries.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProtectTableCellBoundaries.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import e from"turndown";const r=/<table\b[^>]*>[\s\S]*?<\/table\s*>/gi,t=/<invisible\b[^>]*\bid\s*=\s*(["'])(.*?)\1[^>]*>\s*<\/invisible\s*>/gi,n=/<!--\s*([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})\s*-->/gi,l=r=>{const t=Array.from(r.rows);if(!t.length)return"";const n=(()=>{const r=new e({headingStyle:"atx",codeBlockStyle:"fenced"}),t=["invisible","manual","upt","ins","del","preserved","deleted","changed"];return r.keep(e=>t.includes(e.nodeName.toLowerCase())),r.addRule("table-cell-line-break",{filter:"br",replacement:()=>"<br>"}),r})(),l=t.map(e=>Array.from(e.cells)),i=Math.max(...l.map(e=>e.length)),a=e=>Array.from({length:i},(r,t)=>((e,r)=>{if(!e)return"";const t=[],n=e.cloneNode(!0);n.querySelectorAll("invisible").forEach(e=>{const r=`MANUALEDITINVISIBLE${t.length}TOKEN`;t.push(e.outerHTML),e.replaceWith(r)});let l=r.turndown(n.innerHTML).trim().replace(/\n{2,}/g,"<br><br>").replace(/\n/g,"<br>");return t.forEach((e,r)=>{l=l.replace(`MANUALEDITINVISIBLE${r}TOKEN`,e)}),l.split(/(<[^>]+>)/g).map(e=>e.startsWith("<")?e:e.replace(/(^|[^\\])\|/g,"$1\\|")).join("")})(e[t],n)),o=e=>`| ${e.join(" | ")} |`,s=l[0];return`\n\n${[o(a(s)),o(Array.from({length:i},(e,r)=>(e=>{const r=((null==e?void 0:e.getAttribute("align"))||(null==e?void 0:e.style.textAlign)||"").toLowerCase();return"center"===r?":---:":"right"===r?"---:":"left"===r?":---":"---"})(s[r]))),...l.slice(1).map(e=>o(a(e)))].join("\n")}\n\n`},i=e=>e&&/<table\b/i.test(e)?e.replace(r,e=>{const r=(new DOMParser).parseFromString(e,"text/html").querySelector("table");return r?l(r):e}):e||"",a=e=>i(e).replace(t,(e,r,t)=>`\x3c!-- ${t} --\x3e`),o=e=>(e||"").replace(n,'<invisible id="$1"></invisible>');export{i as convertHtmlTablesToMarkdownPipes,o as restoreInvisibleTagsForEditor,a as serializeUpdateManualPayload};
2
- //# sourceMappingURL=manualEditSerialization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manualEditSerialization.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const e=String.raw`(?:[^>"']|"[^"]*"|'[^']*')*`,t=new RegExp(String.raw`<updated\b(${e})>([\s\S]*?)<\/updated\s*>`,"gi"),n=new RegExp(String.raw`<upt\b(${e})>([\s\S]*?)<\/upt\s*>`,"gi"),r=new RegExp(String.raw`<(deleted|changed)\b(${e})>([\s\S]*?)<\/\1\s*>`,"gi"),i=e=>{const t=e.trim();if(!t.includes("|"))return null;const n=[];let r="";for(let e=0;e<t.length;e+=1){const i=t[e],s=e>0&&"\\"===t[e-1];"|"!==i||s?r+=i:(n.push(r.trim()),r="")}return n.push(r.trim()),t.startsWith("|")&&n.shift(),t.endsWith("|")&&n.pop(),n},s=e=>!!(null==e?void 0:e.length)&&e.every(e=>/^:?-{3,}:?$/.test(e)),d=e=>`| ${e.join(" | ")} |`,l=e=>e.replace(n,(e,t,n)=>{if(!(e=>{const t=e.split("\n");return t.some((e,n)=>{var r;return n>0&&s(i(e))&&!!(null===(r=i(t[n-1]))||void 0===r?void 0:r.length)})})(n))return e;return`<updated${t}>${n.replace(/<del\b([^>]*)>/gi,"<deleted$1>").replace(/<\/del\s*>/gi,"</deleted>").replace(/<ins\b([^>]*)>/gi,"<changed$1>").replace(/<\/ins\s*>/gi,"</changed>")}</updated>`}),a=n=>{if(!n)return"";let a=l(n).replace(t,(e,t,n)=>{if(!n.includes("|"))return e;if(!/\bid\s*=\s*["']ai_reasoning\$/i.test(t))return n;const r=/\bdata-main\b/i.test(t)?"":" data-main",i=((e,t)=>{const n=t.match(/\bid\s*=\s*["']([^"']+)["']/i);if(!n)return e;const r=encodeURIComponent(n[1]);return e.replace(/<(deleted|changed)\b([^>]*)>/gi,(e,t,n)=>/\bdata-upt-id\s*=/i.test(n)?e:`<${t}${n} data-upt-id="${r}">`)})(n,t);return`<upt${t}${r}></upt>\n\n${i}`});return a=(t=>{const n=new RegExp(String.raw`(<deleted\b${e}>(?:(?!<\/deleted\s*>)[\s\S])*?\|(?:(?!<\/deleted\s*>)[\s\S])*?<\/deleted\s*>)\s*(<changed\b${e}>[^|]*?<\/changed\s*>)\s*\|`,"gi"),d=t.replace(n,(e,t,n)=>{var r;return`${(null!==(r=t.replace(/<\/deleted\s*>$/i,"").trimEnd().split("\n").at(-1))&&void 0!==r?r:"").trimEnd().endsWith("|")?t:t.replace(/<\/deleted\s*>$/i," |</deleted>")}\n${n}`}),l=new RegExp(String.raw`(<deleted\b${e}>(?:(?!<\/deleted\s*>)[\s\S])*?\|(?:(?!<\/deleted\s*>)[\s\S])*?<\/deleted\s*>)\s*(?=<changed\b${e}>)`,"gi"),a=d.replace(l,"$1\n\n");return a.replace(r,(e,t,n,r,d)=>{if(!r.includes("|"))return e;const l=a.slice(0,d),c=/(?:^|\n)[ \t]*$/.test(l);return r.split("\n").map((e,r)=>{if(!e)return e;let d=e;d.includes("|")&&!/^\s*\|/.test(d)&&(r>0||c)&&(d=`| ${d}`);const l=i(d);return s(l)?d:d.split(/(\|)/).map(e=>"|"!==e&&e.trim()?`<${t}${n}>${e}</${t}>`:e).join("")}).join("\n")})})(a),a=a.replace(/([([])\s+(?=<(?:deleted|changed)>)/gi,"$1"),(e=>{const t=e.split("\n");for(let e=1;e<t.length;e+=1){const n=i(t[e]);if(!s(n))continue;const r=i(t[e-1]);if(!(null==r?void 0:r.length))continue;for(;r.length>n.length;){const e=r.findIndex(e=>""===e);if(-1===e)break;r.splice(e,1)}const l=Math.max(r.length,n.length);let a=e+1,c=0;for(;a<t.length&&""!==t[a].trim();){const e=i(t[a]);if(!e)break;for(;e.length>l;){const t=e.findIndex(e=>""===e);if(-1===t)break;e.splice(t,1)}t[a]=d(e),c=Math.max(c,e.length),a+=1}const g=Math.max(r.length,n.length,c);for(;r.length<g;)r.push("");for(;n.length<g;)n.push("---");t[e-1]=d(r),t[e]=d(n)}return t.join("\n")})(a)};export{a as normalizeRedlineMarkdown};
2
- //# sourceMappingURL=normalizeRedlineMarkdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeRedlineMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const e=(e,n)=>{let t=0;for(let r=n-1;r>=0&&"\\"===e[r];r-=1)t+=1;return t%2==1},n=e=>/[\p{L}\p{N}]/u.test(e),t=t=>{var r,l,o;const a=[],s=[];let c="",d=!1,i=0;for(let g=0;g<t.length;g+=1){const h=t[g];if(d){c?h!==c||e(t,g)||(c=""):'"'===h||"'"===h?c=h:">"===h&&(d=!1);continue}if(!i&&"<"===h&&/[A-Za-z/!?]/.test(null!==(r=t[g+1])&&void 0!==r?r:"")){d=!0;continue}if("`"===h&&!e(t,g)){let e=1;for(;"`"===t[g+e];)e+=1;i?i===e&&(i=0):i=e,g+=e-1;continue}if(i||"*"!==h&&"_"!==h)continue;if(e(t,g))continue;let p=1;for(;t[g+p]===h;)p+=1;const x=null!==(l=t[g-1])&&void 0!==l?l:"",u=null!==(o=t[g+p])&&void 0!==o?o:"",I="_"===h&&n(x)&&n(u),m=""!==u&&!/\s/.test(u)&&!I;let f=0,$=p;if(""!==x&&!/\s/.test(x)&&!I){let e=s.at(-1);for(;e&&e.marker===h&&$>=e.markerLength;)a.push({...e,closeIndex:g+f}),f+=e.markerLength,$-=e.markerLength,s.pop(),e=s.at(-1)}m&&$>0&&$<=3&&s.push({openIndex:g+f,marker:h,markerLength:$}),g+=p-1}return a.sort((e,n)=>e.openIndex-n.openIndex)},r=e=>{let n="";return e.split("\n").map(e=>{const t=e.match(/^\s*(`{3,}|~{3,})/);if(t){const r=t[1][0];return n?n===r&&(n=""):n=r,e}return n?e:e.split(/(`+[^`]*`+)/g).map((e,n)=>n%2==1?e:e.replace(/\*{3}([ \t]*)(\S(?:.*?\S)?)([ \t]*)\*{3}/g,(e,n,t,r)=>`${n}***${t}***${r}`)).join("")}).join("\n")},l=e=>e.replace(/(<(?:manual|upt)\b(?:[^>"']|"[^"]*"|'[^']*')*>)(<del\b(?:[^>"']|"[^"]*"|'[^']*')*>)(\*{1,3}|_{1,3})([\s\S]*?)(<\/del\s*>)([ \t]*)(<ins\b(?:[^>"']|"[^"]*"|'[^']*')*>)\3([\s\S]*?)(<\/ins\s*>)(<\/(?:manual|upt)\s*>)([^\n]*?)\3/g,(e,n,t,r,l,o,a,s,c,d,i,g)=>`${r}${n}${t}${l}${o}${a}${s}${c}${d}${i}${g}${r}`),o=e=>{const n=[];let t="",r=0;return e.split("\n").forEach(e=>{const l=e.match(/^\s*(`{3,}|~{3,})/);if(l){const n=l[1][0];return t?t===n&&(t=""):t=n,void(r+=e.length+1)}if(!t){let t=0;e.split(/(`+[^`]*`+)/g).forEach((e,l)=>{l%2==0&&Array.from(e.matchAll(/\*{3}([ \t]*)(\S(?:.*?\S)?)([ \t]*)\*{3}/g)).forEach(e=>{var l;const o=r+t+(null!==(l=e.index)&&void 0!==l?l:0);n.push({openIndex:o,closeIndex:o+e[0].length-3,leadingSpace:e[1],content:e[2],trailingSpace:e[3]})}),t+=e.length})}r+=e.length+1}),n},a=e=>t(e).flatMap(e=>[{index:e.openIndex,length:e.markerLength},{index:e.closeIndex,length:e.markerLength}]).sort((e,n)=>n.index-e.index).reduce((e,n)=>e.slice(0,n.index)+e.slice(n.index+n.length),e),s=/(<(manual|upt)\b(?:[^>"']|"[^"]*"|'[^']*')*>[\s\S]*?<\/\2\s*>)/gi,c=(e,n)=>{n=((e,n)=>{const t=o(e),r=o(n);if(!t.length||!r.length)return n;const l=[];if(t.length===r.length)r.forEach((e,n)=>{l.push({sourceIndex:n,generatedIndex:n})});else{let e=0;r.forEach((n,r)=>{const o=t.findIndex((t,r)=>r>=e&&t.content===n.content);-1!==o&&(l.push({sourceIndex:o,generatedIndex:r}),e=o+1)})}let a=n;return l.sort((e,n)=>r[n.generatedIndex].openIndex-r[e.generatedIndex].openIndex).forEach(({sourceIndex:e,generatedIndex:n})=>{const l=t[e],o=r[n],s=`***${l.leadingSpace}${o.content}${l.trailingSpace}***`;a=a.slice(0,o.openIndex)+s+a.slice(o.closeIndex+3)}),a})(e,n),n=((e,n)=>{const r=t(e).filter(n=>/<(?:manual|upt)\b/i.test(e.slice(n.openIndex+n.markerLength,n.closeIndex)));let l=n;return r.sort((e,n)=>n.openIndex-e.openIndex).forEach(n=>{const t=n.marker.repeat(n.markerLength),r="*".repeat(n.markerLength),o=e.slice(n.openIndex+n.markerLength,n.closeIndex),a=o.split(new RegExp(s.source,"gi")).filter((e,n)=>e&&(n%3==0||n%3==1)).map(e=>/^<(?:manual|upt)\b/i.test(e)?e:`${r}${e}${r}`).join(""),c=`${t}${o}${t}`;a&&l.includes(a)&&(l=l.replace(a,c))}),l})(e,n);const r=t(e),l=t(n),a=(e,n)=>e.slice(n.openIndex+n.markerLength,n.closeIndex).replace(/\r\n/g,"\n"),c=r.map(n=>a(e,n)),d=l.map(e=>a(n,e)),i=[],g=(e,n)=>r[e].markerLength===l[n].markerLength&&c[e]===d[n],h=Array.from({length:c.length+1},()=>Array(d.length+1).fill(0));for(let e=c.length-1;e>=0;e-=1)for(let n=d.length-1;n>=0;n-=1)h[e][n]=g(e,n)?h[e+1][n+1]+1:Math.max(h[e+1][n],h[e][n+1]);let p=0,x=0;for(;p<c.length&&x<d.length;)g(p,x)?(i.push({sourceIndex:p,generatedIndex:x}),p+=1,x+=1):h[p+1][x]>=h[p][x+1]?p+=1:x+=1;if(r.length===l.length){const e=new Set(i.map(e=>e.generatedIndex));for(let n=0;n<l.length;n+=1)e.has(n)||r[n].markerLength!==l[n].markerLength||i.push({sourceIndex:n,generatedIndex:n})}let u=n;return i.sort((e,n)=>n.generatedIndex-e.generatedIndex),i.forEach(({sourceIndex:e,generatedIndex:n})=>{const t=r[e],o=l[n],a=t.marker.repeat(t.markerLength);u=u.slice(0,o.closeIndex)+a+u.slice(o.closeIndex+o.markerLength),u=u.slice(0,o.openIndex)+a+u.slice(o.openIndex+o.markerLength)}),u};export{t as collectMarkdownEmphasisRanges,a as markdownWithoutEmphasisMarkers,r as normalizeCombinedEmphasisForRendering,l as normalizeReviewBoundaryEmphasisForRendering,c as preserveEmphasisMarkersFromSource};
2
- //# sourceMappingURL=preserveMarkdownEmphasis.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownEmphasis.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const e=/<br\s*\/?>|\r\n|\r|\n/gi,t=e=>e.replace(/<[^>]*>/g," ").replace(/[*_`~]+/g,"").replace(/&nbsp;|\u00a0/gi," ").replace(/&gt;/gi,">").replace(/&lt;/gi,"<").replace(/&quot;/gi,'"').replace(/&#39;|&apos;/gi,"'").replace(/&amp;/gi,"&").replace(/\s+/g," ").trim().toLocaleLowerCase(),l=l=>{const r=Array.from(l.matchAll(new RegExp(e.source,"gi")));return r.map((e,i)=>{var n,g,c,h;const s=null!==(n=e.index)&&void 0!==n?n:0,a=i>0?(null!==(g=r[i-1].index)&&void 0!==g?g:0)+r[i-1][0].length:0,o=null!==(h=null===(c=r[i+1])||void 0===c?void 0:c.index)&&void 0!==h?h:l.length;return{raw:e[0],left:t(l.slice(a,s).slice(-100)),right:t(l.slice(s+e[0].length,o).slice(0,100))}})},r=(t,r)=>{if(!t||!r)return r;const i=l(t),n=l(r);if(!i.length||!n.length)return r;if(i.length===n.length){let t=0;return r.replace(e,()=>i[t++].raw)}let g=0,c=0;return r.replace(e,e=>{const t=n[c++],l=i.findIndex((e,l)=>l>=g&&((e,t)=>{const l=Boolean(e.left&&t.left&&(e.left.endsWith(t.left)||t.left.endsWith(e.left))),r=Boolean(e.right&&t.right&&(e.right.startsWith(t.right)||t.right.startsWith(e.right)));if(l||r)return!0;const i=e.left&&e.left.length>=50&&t.left&&t.left.length>=50,n=e.right&&e.right.length>=50&&t.right&&t.right.length>=50;if(i){const l=e.left.slice(-30),r=t.left.slice(-30);if(l.split("").filter((e,t)=>r[t]===e).length>=15)return!0}if(n){const l=e.right.slice(0,30),r=t.right.slice(0,30);if(l.split("").filter((e,t)=>r[t]===e).length>=15)return!0}return!1})(e,t));return-1===l?e:(g=l+1,i[l].raw)})};export{r as preserveLineBreaksFromSource};
2
- //# sourceMappingURL=preserveMarkdownLineBreaks.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownLineBreaks.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const n=n=>{const e=[];let t="";return n.forEach((n,r)=>{const c=n.match(/^\s*(`{3,}|~{3,})/);if(c){const n=c[1][0];return void(t?t===n&&(t=""):t=n)}if(t)return;const o=n.match(/^(\s*)([*+-])([ \t]+)(.*)$/);o&&e.push({lineIndex:r,indent:o[1],marker:o[2],spacing:o[3],content:o[4]})}),e},e=(e,t)=>{if(!e||!t)return t;const r=e.split("\n"),c=t.split("\n"),o=n(r),s=n(c);if(!o.length||!s.length)return t;const d=[];if(o.length===s.length)s.forEach((n,e)=>{d.push({sourceIndex:e,generatedIndex:e})});else{let n=0;s.forEach((e,t)=>{const r=o.findIndex((t,r)=>r>=n&&t.content===e.content);-1!==r&&(d.push({sourceIndex:r,generatedIndex:t}),n=r+1)})}return d.forEach(({sourceIndex:n,generatedIndex:e})=>{const t=o[n],r=s[e];c[r.lineIndex]=`${t.indent}${t.marker}${t.spacing}`+r.content}),c.join("\n")};export{e as preserveListFormattingFromSource};
2
- //# sourceMappingURL=preserveMarkdownListFormatting.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownListFormatting.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{$nodesOfType as t,$isTextNode as e,$createTextNode as o}from"lexical";import{ManualNode as n}from"../plugins/ManualNode.js";import{UpdateNode as i}from"../plugins/UpdateNode.js";const r=(t,e)=>`${t.toLowerCase()}:${e}`,l=t=>{const e=new Map;return t.querySelectorAll("manual[id], upt[id]").forEach(t=>{var o,n,i,l,a,s;const d=t.getAttribute("id");if(!d)return;const u=null===(n=null===(o=t.previousSibling)||void 0===o?void 0:o.textContent)||void 0===n?void 0:n.match(/[ \t]+$/),f=null!==(i=null==u?void 0:u[0])&&void 0!==i?i:"",c=null===(a=null===(l=t.nextSibling)||void 0===l?void 0:l.textContent)||void 0===a?void 0:a.match(/^[ \t]+/),g=null!==(s=null==c?void 0:c[0])&&void 0!==s?s:"";e.set(r(t.tagName,d),{before:f,after:g})}),e},a=l=>{[...t(n).map(t=>({tag:"manual",node:t})),...t(i).map(t=>({tag:"upt",node:t}))].forEach(({tag:t,node:n})=>{const i=n.getId(),a=l.get(r(t,i));if(!a)return;const s=n.getPreviousSibling();if(e(s)){const t=s.getTextContent();s.setTextContent(`${t.replace(/[ \t]*$/,"")}${a.before}`)}else a.before&&n.insertBefore(o(a.before));const d=n.getNextSibling();if(e(d)){const t=d.getTextContent();d.setTextContent(`${a.after}${t.replace(/^[ \t]*/,"")}`)}else a.after&&n.insertAfter(o(a.after))})};export{l as collectReviewBoundaryWhitespace,a as restoreReviewBoundaryWhitespace};
2
- //# sourceMappingURL=preserveReviewBoundaryWhitespace.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveReviewBoundaryWhitespace.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const n=n=>{const e=[],t=[],r=/\r\n|\n|\r|\\r\\n|\\n|\\r/g;let l,s=0;for(;null!==(l=r.exec(n));)e.push(n.slice(s,l.index)),t.push(l[0]),s=l.index+l[0].length;return e.push(n.slice(s)),{lines:e,separators:t}},e=(n,e)=>{let t=0;for(let r=e-1;r>=0&&"\\"===n[r];r-=1)t+=1;return t%2==1},t=n=>n.flatMap((n,t)=>{const r=(n=>{let t=n.trim();if(!t.includes("|"))return 0;t.startsWith("|")&&(t=t.slice(1)),t.endsWith("|")&&!e(t,t.length-1)&&(t=t.slice(0,-1));const r=[];let l="";for(let n=0;n<t.length;n+=1)"|"!==t[n]||e(t,n)?l+=t[n]:(r.push(l.trim()),l="");return r.push(l.trim()),r.length>=2&&r.every(n=>/^:?-{3,}:?$/.test(n))?r.length:0})(n);return r?[{lineIndex:t,columnCount:r,raw:n}]:[]}),r=(e,r)=>{if(!e||!r)return r;const l=n(e),s=n(r),u=t(l.lines),i=t(s.lines);if(!u.length||!i.length)return r;let o=0;return i.forEach((n,e)=>{let t=u.findIndex((e,t)=>t>=o&&e.columnCount===n.columnCount);if(t<0){const r=u[e];if(!r||r.columnCount!==n.columnCount)return;t=e}s.lines[n.lineIndex]=u[t].raw,o=t+1}),(({lines:n,separators:e})=>n.map((n,t)=>{var r;return`${n}${null!==(r=e[t])&&void 0!==r?r:""}`}).join(""))(s)};export{r as preserveTableDelimiterRowsFromSource};
2
- //# sourceMappingURL=preserveTableDelimiters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveTableDelimiters.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const e=String.raw`(?:[^>"']|"[^"]*"|'[^']*')*`,n=String.raw`(<manual\b${e}>)([\s\S]*?)<\/manual\s*>`,t="__LEXICAL_TABLE_BOUNDARY_PART_",r=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=(e,n)=>{let t=0;for(let r=n-1;r>=0&&"\\"===e[r];r-=1)t+=1;return t%2==1},l=(e,n)=>{const t=[];let r="",l=0,o=!1,i="";for(let a=0;a<e.length;a+=1){const d=e[a];o?(r+=d,i?d!==i||s(e,a)||(i=""):'"'===d||"'"===d?i=d:">"===d&&(o=!1)):"<"!==d?"|"!==d||s(e,a)?r+=d:(l<n?(t.push(r),r=""):r+="\\|",l+=1):(o=!0,r+=d)}return t.push(r),{parts:t,pipeCount:l}},o=e=>l(e,0).pipeCount,i=e=>{var n;return null!==(n=e.toLocaleLowerCase().match(/[\p{L}\p{N}]+/gu))&&void 0!==n?n:[]},a=(e,n,t)=>{if(e.length===t)return e;const r=Array(t).fill("");if(1===e.length){let s=0,l=-1;return n.forEach((n,t)=>{const r=((e,n)=>{const t=i(e).join(" "),r=i(n).join(" ");if(!t||!r)return 0;if(r.includes(t))return 4*t.length;if(t.includes(r))return 4*r.length;const s=new Set(i(n));return i(e).reduce((e,n)=>e+(s.has(n)?n.length:0),0)})(e[0],n);r>l&&(s=t,l=r)}),r[Math.min(s,t-1)]=e[0],r}return e.slice(0,t).forEach((e,n)=>{r[n]=e}),r},d=(e,n,r)=>`${e}${t}${n}_OF_${r}`,u=n=>{const t=n.match(new RegExp(String.raw`^(\s*)(<del\b${e}>)([\s\S]*?)<\/del\s*>(\s*)(<ins\b${e}>)([\s\S]*?)<\/ins\s*>(\s*)$`,"i"));if(t)return{prefix:t[1],deletedOpen:t[2],deletedBody:t[3],between:t[4],insertedOpen:t[5],insertedBody:t[6],suffix:t[7]};const r=n.match(new RegExp(String.raw`^(\s*)(<(del|ins)\b${e}>)([\s\S]*?)<\/\3\s*>(\s*)$`,"i"));return r?"del"===r[3].toLowerCase()?{prefix:r[1],deletedOpen:r[2],deletedBody:r[4],between:"",suffix:r[5]}:{prefix:r[1],between:"",insertedOpen:r[2],insertedBody:r[4],suffix:r[5]}:null},c=e=>{const n=e.trim();if(!n.includes("|"))return 0;let t=n;t.startsWith("|")&&(t=t.slice(1)),t.endsWith("|")&&!s(t,t.length-1)&&(t=t.slice(0,-1));const r=l(t,Number.MAX_SAFE_INTEGER).parts.map(e=>e.trim());return r.length>0&&r.every(e=>/^:?-{3,}:?$/.test(e))?r.length:0},p=(e,t)=>{const r=Array.from(e.matchAll(new RegExp(n,"gi")));if(!r.length)return{normalized:e,plans:[]};let s=e;r.forEach(e=>{s=s.replace(e[0],"")});let i=Math.max(0,t-o(s));const c=[];return{normalized:e.replace(new RegExp(n,"gi"),(e,n,t)=>{const r=null!==(p=null===(s=n.match(/\bid\s*=\s*(?:"([^"]*)"|'([^']*)')/i))||void 0===s?void 0:s.slice(1).find(Boolean))&&void 0!==p?p:"";var s,p;const f=(e=>{var n,t;const r=u(e);return r?Math.max(o(null!==(n=r.deletedBody)&&void 0!==n?n:""),o(null!==(t=r.insertedBody)&&void 0!==t?t:"")):o(e)})(t);if(!r||!f)return e;const m=Math.min(i,f);i-=m;const h=((e,n,t,r)=>{var s,o;const i=r+1,c=u(n);let p;if(c){const e=l(null!==(s=c.deletedBody)&&void 0!==s?s:"",r).parts,n=l(null!==(o=c.insertedBody)&&void 0!==o?o:"",r).parts,t=a(e,n,i),d=a(n,e,i);p=Array.from({length:i},(e,n)=>{const r=t[n],s=d[n],l=c.deletedOpen&&r?`${c.deletedOpen}${r}</del>`:"",o=c.insertedOpen&&s?`${c.insertedOpen}${s}</ins>`:"";return`${c.prefix}${l}${c.between}${o}${c.suffix}`})}else p=l(n,r).parts;const f=p.map((n,r)=>{return n?`${s=e,l=d(t,r,i),s.replace(/(\bid\s*=\s*)(?:"[^"]*"|'[^']*')/i,(e,n)=>`${n}"${l}"`)}${n}</manual>`:"";var s,l});return{normalized:f.join("|"),slots:f.map(Boolean)}})(n,t,r,m);return h.slots.some(Boolean)?(c.push({sourceBlock:e,manualId:r,fragmentSlots:h.slots}),h.normalized):e}),plans:c}},f=e=>{const n=e.split("\n"),t=(e=>{const n=new Map;for(let t=1;t<e.length;t+=1){if(!c(e[t])||!e[t-1].includes("|"))continue;const r=o(e[t]);n.set(t-1,r),n.set(t,r);let s=t+1;for(;s<e.length&&e[s].trim()&&e[s].includes("|");)n.set(s,r),s+=1;t=s-1}return n})(n),r=[];return t.forEach((e,t)=>{const s=p(n[t],e);n[t]=s.normalized,r.push(...s.plans)}),{normalized:n.join("\n"),plans:r}},m=e=>e?f(e).normalized:"",h=(n,s)=>{if(!n||!s)return s;const{plans:l}=f(n);let o=s;return l.forEach(({sourceBlock:n,manualId:t,fragmentSlots:s})=>{const l=s.length,i=s.map((n,s)=>{if(!n)return"";const o=r(d(t,s,l));return String.raw`<manual\b(?=${e}\bid\s*=\s*(?:"${o}"|'${o}'))${e}>[\s\S]*?<\/manual\s*>`}),a=String.raw`(?:\s|&nbsp;|<br\s*\/?>)*\\?\|(?:\s|&nbsp;|<br\s*\/?>)*`;o=o.replace(new RegExp(i.join(a),"i"),()=>n)}),o.replace(new RegExp(`${r(t)}\\d+_OF_\\d+`,"g"),"")};export{m as normalizeTableBoundaryManualRedlines,h as preserveTableBoundaryManualRedlinesFromSource};
2
- //# sourceMappingURL=tableBoundaryRedlines.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableBoundaryRedlines.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e=".avatar{align-items:center;border-radius:50%;box-sizing:border-box;color:#475467;display:flex;flex-shrink:0;font-family:Inter;font-weight:600;justify-content:center;line-height:1;position:relative;user-select:none}.avatar--bordered{border:2px solid #fff}.online-dot{background:#22c55e;border:2px solid #fff;border-radius:50%;bottom:-1px;position:absolute;right:-1px}";!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&t.setAttribute("nonce",n),t.appendChild(document.createTextNode(e));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(t)}();export{e as default};
2
- //# sourceMappingURL=Avatar.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Avatar.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsxs as a,jsx as t}from"react/jsx-runtime";import"./Avatar.css.js";import{getAvatarColor as e,getInitials as r}from"./avatarUtils.js";function i({name:i,online:s=!1,size:o=56,bordered:n=!1}){return a("div",{className:"avatar "+(n?"avatar--bordered":""),style:{width:o,height:o,background:e(i),fontSize:Math.max(12,.38*o)},children:[r(i),s&&t("span",{className:"online-dot",style:{width:Math.max(8,.28*o),height:Math.max(8,.28*o)}})]})}export{i as default};
2
- //# sourceMappingURL=Avatar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Avatar.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e=".avatar-group{align-items:center;cursor:pointer;display:inline-flex;gap:6px;position:relative;user-select:none}.avatar-stack{align-items:center;display:flex}.avatar-wrapper{margin-left:-10px;position:relative}.avatar-wrapper:first-child{margin-left:0}.avatar-more{align-items:center;background:#f2f4f7;border:2px solid #fff;border-radius:50%;box-sizing:border-box;color:#667085;display:flex;font-size:11px;font-weight:600;height:32px;justify-content:center;line-height:1;user-select:none;width:32px}.avatar-chevron{color:#667085;cursor:pointer;height:16px;transition:transform .2s ease;width:16px}.avatar-chevron.open{transform:rotate(180deg)}.avatar-group-container{display:inline-block;position:relative}.collaborators-popup-wrapper{left:-100px;position:absolute;z-index:1000}";!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&t.setAttribute("nonce",n),t.appendChild(document.createTextNode(e));const a=document.head||document.getElementsByTagName("head")[0]||document.documentElement;a&&a.appendChild(t)}();export{e as default};
2
- //# sourceMappingURL=CollaboratorsGroup.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsGroup.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsxs as e,jsx as r}from"react/jsx-runtime";import{useState as a,useRef as s,useEffect as o}from"react";import"./CollaboratorsGroup.css.js";import t from"./Avatar.js";import n from"./CollaboratorsPopup.js";import{ChevronDown as i}from"lucide-react";function c({users:c,owner:l,activeUsers:m,previousUsers:d=[],maxVisible:p=3}){const v=c.slice(0,p),u=c.length-v.length,[h,f]=a(!1),N=s(null);return o(()=>{function e(e){N.current&&!N.current.contains(e.target)&&f(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),e("div",{className:"avatar-group-container",ref:N,children:[e("div",{className:"avatar-group",onClick:()=>f(e=>!e),children:[e("div",{className:"avatar-stack",children:[v.map((e,a)=>r("div",{className:"avatar-wrapper",style:{zIndex:a+1},children:r(t,{name:e.name,online:e.online,size:32,bordered:!0})},e.id)),u>0&&r("div",{className:"avatar-wrapper",style:{zIndex:v.length+1},children:e("div",{className:"avatar-more",children:["+",u]})})]}),r(i,{className:"avatar-chevron "+(h?"open":"")})]}),h&&r("div",{className:"collaborators-popup-wrapper",children:r(n,{owner:l,activeUsers:m,previousUsers:d})})]})}export{c as default};
2
- //# sourceMappingURL=CollaboratorsGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e=".collaborators-popover{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000001f,0 2px 8px #0000000f;font-family:Inter,sans-serif;max-height:400px;overflow-y:auto;padding:12px;width:280px}.owner-section,.user-row{align-items:center;display:flex}.user-row+.user-row{margin-top:10px}.user-info{margin-left:12px;min-width:0}.user-name{align-items:center;color:#344054;display:flex;font-size:14px;font-weight:600;gap:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.you{color:#667085;font-weight:400}.user-subtitle{color:#667085;font-size:13px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.divider{background:#eaecf0;height:1px;margin:12px 0}.section-title{color:#98a2b3;font-size:12px;font-weight:600;letter-spacing:.04em;margin-bottom:10px;text-transform:uppercase}.section-title.previous{margin-top:18px}.faded{opacity:.45}.user-text{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&t.setAttribute("nonce",o),t.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(t)}();export{e as default};
2
- //# sourceMappingURL=CollaboratorsPopup.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsPopup.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsxs as e,jsx as s,Fragment as i}from"react/jsx-runtime";import"./CollaboratorsPopup.css.js";import a from"./Avatar.js";import{Tooltip as r}from"@mui/material";function n({user:i}){return e("div",{className:"user-row "+(i.faded?"faded":""),children:[s(a,{name:i.name,online:i.online,size:40}),e("div",{className:"user-info",children:[e("div",{className:"user-name",children:[s(r,{title:i.name,children:s("span",{className:"user-text",children:i.name})}),!!i.isUser&&s("span",{className:"you",children:"(You)"})]}),s("div",{className:"user-subtitle",children:s(r,{title:i.subtitle,children:s("span",{className:"user-text",children:i.subtitle})})})]})]})}function l({owner:l,activeUsers:t,previousUsers:c=[]}){return e("div",{className:"collaborators-popover",children:[l&&e("div",{className:"owner-section",children:[s(a,{name:l.name,online:l.online,size:40}),e("div",{className:"user-info",children:[e("div",{className:"user-name",children:[s(r,{title:l.name,children:s("span",{className:"user-text",children:l.name})}),!!l.isUser&&s("span",{className:"you",children:"(You)"})]}),s("div",{className:"user-subtitle",children:"Owner"})]})]}),(t.length>0||c.length>0)&&s("div",{className:"divider"}),t.length>0&&e(i,{children:[s("div",{className:"section-title",children:"On this document"}),t.map(e=>s(n,{user:e},e.id))]}),c.length>0&&e(i,{children:[s("div",{className:"section-title previous",children:"Previously active"}),c.map(e=>s(n,{user:{...e,faded:!0}},e.id))]})]})}export{l as default};
2
- //# sourceMappingURL=CollaboratorsPopup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollaboratorsPopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const F=["#FFF3B0","#D9F7E5","#EEE3FF","#DDEBFF","#FFE2E2","#FFE9CC","#DFF5FF","#FDE2F3"];function t(F){return F.trim().split(/\s+/).slice(0,2).map(F=>{var t;return null===(t=F[0])||void 0===t?void 0:t.toUpperCase()}).join("")}function e(t){let e=0;for(let F=0;F<t.length;F++)e=t.charCodeAt(F)+((e<<5)-e);return F[Math.abs(e)%F.length]}export{e as getAvatarColor,t as getInitials};
2
- //# sourceMappingURL=avatarUtils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"avatarUtils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- const e=(e,r,t)=>e.replace(r,(e,r,g,n)=>`${r}${t(g)}${n}`),r=r=>{if(!r)return r;const t=[],g=e=>`ZXQINLINEPROTECTED${t.push(e)-1}QXZ`;let n=r.replace(/(`+)([^\n]*?)\1/g,(e,r,t)=>{return g(`<code>${n=t,n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}</code>`);var n});return n=n.replace(/\\\*/g,()=>g("*")),n=e(n,/\*{3}([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)\*{3}/g,e=>`<strong><em>${e}</em></strong>`),n=e(n,/_{3}([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)_{3}/g,e=>`<strong><em>${e}</em></strong>`),n=e(n,/\*{2}([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)\*{2}/g,e=>`<strong>${e}</strong>`),n=e(n,/_{2}([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)_{2}/g,e=>`<strong>${e}</strong>`),n=e(n,/\*([ \t]*)(\S(?:[\s\S]*?\S)?)([ \t]*)\*/g,e=>`<em>${e}</em>`),n.replace(/ZXQINLINEPROTECTED(\d+)QXZ/g,(e,r)=>{var g;return null!==(g=t[Number(r)])&&void 0!==g?g:""})};export{r as convertInlineMarkdownToHtml};
2
- //# sourceMappingURL=inlineMarkdown.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inlineMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import t from"react-hot-toast";const r=(t,r)=>new Promise((o,e)=>{if(null==r?void 0:r.aborted)return void e(new DOMException("Operation aborted","AbortError"));const a=setTimeout(o,t);null==r||r.addEventListener("abort",()=>{clearTimeout(a),e(new DOMException("Operation aborted","AbortError"))},{once:!0})});async function o(o,e={}){const{maxAttempts:a=5,initialDelayMs:n=500,maxDelayMs:i=3e4,backoffFactor:l=2,jitter:s=!0,signal:c,shouldRetry:m=()=>!0,onRetry:f}=e;if(a<1)throw new Error("maxAttempts must be at least 1");let u;for(let e=1;e<=a;e++){null==c||c.throwIfAborted();try{return await o(e)}catch(o){u=o;if(e===a||!m(o,e))throw o;const d=Math.min(n*l**(e-1),i),h=s?Math.floor(Math.random()*d):d;t.error(`Request failed. Retrying attempt ${e} of ${a}.`),null==f||f(o,e,h),await r(h,c)}}throw u}export{o as retryWithExponentialBackoff};
2
- //# sourceMappingURL=exponential-retry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exponential-retry.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=CitationAccordionTest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CitationAccordionTest.d.ts","sourceRoot":"","sources":["../../../src/CitationAccordionTest.tsx"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=MockDeviationSummary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MockDeviationSummary.d.ts","sourceRoot":"","sources":["../../../src/MockDeviationSummary.tsx"],"names":[],"mappings":""}
@@ -1,33 +0,0 @@
1
- export declare const UPDATED_GUIDELINES_DATA: {
2
- request_id: string;
3
- learnings_data: {
4
- L2: {
5
- variant_id: string;
6
- question_id: string;
7
- title: string;
8
- tier_id: string;
9
- description: string;
10
- instruction_prompt: string;
11
- when_to_apply: string;
12
- when_not_to_apply: string;
13
- variant_type: string;
14
- similarity_score: number;
15
- keyword_rank: number;
16
- variant_keyword_score: number;
17
- wta_keyword_score: number;
18
- wnta_keyword_score: number;
19
- document_count_score: number;
20
- wta_similarity_score: number;
21
- wnta_similarity_score: number;
22
- variant_similarity_score: number;
23
- context_score: number;
24
- is_user_accepted_risk: boolean;
25
- user_accepted_risk_at: string;
26
- has_accepted_risk: string;
27
- variant_priority_order: null;
28
- question_priority_order: number;
29
- learning_id: string;
30
- };
31
- };
32
- };
33
- //# sourceMappingURL=new-guidelines.mockData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"new-guidelines.mockData.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BnC,CAAA"}
@@ -1,25 +0,0 @@
1
- /**
2
- * Utility for handling highlights that cross markdown formatting boundaries.
3
- * Removes inline markdown markers while preserving text contiguity for reliable matching.
4
- */
5
- /**
6
- * Removes inline markdown formatting while preserving text content.
7
- * Handles bold, italic, strikethrough, code, links, and HTML tags.
8
- *
9
- * Examples:
10
- * - "**bold text**" → "bold text"
11
- * - "[link](url)" → "link"
12
- * - "<br>" → ""
13
- * - "_italic_" → "italic"
14
- */
15
- export declare const stripMarkdownFormatting: (text: string) => string;
16
- /**
17
- * Finds the character range of highlight text in content.
18
- * First attempts exact match, then tries normalized (formatting-stripped) match.
19
- * Returns the range in the ORIGINAL content for accurate badge positioning.
20
- */
21
- export declare const findTextRangeWithFormatting: (originalContent: string, highlightText: string) => {
22
- start: number;
23
- end: number;
24
- } | null;
25
- //# sourceMappingURL=normalizeInlineMarkdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeInlineMarkdown.d.ts","sourceRoot":"","sources":["../../../../../../src/features/CognitiveCompare/utils/normalizeInlineMarkdown.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,SAAU,MAAM,KAAG,MA6BtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,oBACrB,MAAM,iBACR,MAAM,KACpB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,IA2BnC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const INITIAL_CONTENT_UPDATE_TAG = "rich-text-editor-initial-content";
2
- //# sourceMappingURL=updateTags.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateTags.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,qCAAqC,CAAC"}
@@ -1,3 +0,0 @@
1
- /** Keep ordinary text edits from merging or ambiguously crossing table cells. */
2
- export declare const ProtectTableCellBoundaries: () => null;
3
- //# sourceMappingURL=ProtectTableCellBoundaries.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProtectTableCellBoundaries.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.tsx"],"names":[],"mappings":"AA8CA,iFAAiF;AACjF,eAAO,MAAM,0BAA0B,YAqItC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=reviewBoundaryLexical.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reviewBoundaryLexical.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- /** Converts only raw HTML tables, leaving all surrounding Markdown unchanged. */
2
- export declare const convertHtmlTablesToMarkdownPipes: (source: string) => string;
3
- /** Produces the canonical update-manual payload while retaining anchor IDs. */
4
- export declare const serializeUpdateManualPayload: (editorValue: string) => string;
5
- /** Restores backend anchor comments to the editor's non-editable invisible nodes. */
6
- export declare const restoreInvisibleTagsForEditor: (backendValue: string) => string;
7
- //# sourceMappingURL=manualEditSerialization.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"manualEditSerialization.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.ts"],"names":[],"mappings":"AA8GA,iFAAiF;AACjF,eAAO,MAAM,gCAAgC,WAAY,MAAM,KAAG,MAUjE,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,4BAA4B,gBAAiB,MAAM,KAAG,MAIhE,CAAC;AAEJ,qFAAqF;AACrF,eAAO,MAAM,6BAA6B,iBAAkB,MAAM,KAAG,MAIlE,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const normalizeRedlineMarkdown: (source: string) => string;
2
- //# sourceMappingURL=normalizeRedlineMarkdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalizeRedlineMarkdown.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.ts"],"names":[],"mappings":"AAuMA,eAAO,MAAM,wBAAwB,WAAY,MAAM,KAAG,MAqBzD,CAAC"}
@@ -1,29 +0,0 @@
1
- interface MarkdownEmphasisRange {
2
- openIndex: number;
3
- closeIndex: number;
4
- marker: "*" | "_";
5
- markerLength: 1 | 2 | 3;
6
- }
7
- export declare const collectMarkdownEmphasisRanges: (value: string) => MarkdownEmphasisRange[];
8
- export declare const normalizeCombinedEmphasisForRendering: (value: string) => string;
9
- /**
10
- * Move emphasis delimiters outside a review block when legacy redline data
11
- * opens the same delimiter inside both <del> and <ins>, but closes it after
12
- * </manual>/<upt>. Passing that overlapping structure to Showdown produces
13
- * invalid HTML, which DOMParser then repairs by moving text out of <ins>.
14
- *
15
- * Example:
16
- * <manual><del>**old</del><ins>**new</ins></manual> tail**
17
- * becomes:
18
- * **<manual><del>old</del><ins>new</ins></manual> tail**
19
- *
20
- * This is a rendering-only normalization. The original source remains the
21
- * editor's persistence baseline and is restored by the preservation helpers.
22
- */
23
- export declare const normalizeReviewBoundaryEmphasisForRendering: (value: string) => string;
24
- /** Remove only delimiter runs that were parsed as emphasis, leaving literals/code intact. */
25
- export declare const markdownWithoutEmphasisMarkers: (value: string) => string;
26
- /** Preserve the source choice of `*`/`_` for both emphasis and strong text. */
27
- export declare const preserveEmphasisMarkersFromSource: (source: string, generated: string) => string;
28
- export {};
29
- //# sourceMappingURL=preserveMarkdownEmphasis.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownEmphasis.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,GAAG,GAAG,GAAG,CAAC;IAClB,YAAY,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CACzB;AAYD,eAAO,MAAM,6BAA6B,UAAW,MAAM,KAAG,qBAAqB,EA8ElF,CAAC;AAEF,eAAO,MAAM,qCAAqC,UAAW,MAAM,WA6BlE,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,2CAA2C,UAAW,MAAM,WAMtE,CAAC;AAiGJ,6FAA6F;AAC7F,eAAO,MAAM,8BAA8B,UAAW,MAAM,WAa3D,CAAC;AAgDF,+EAA+E;AAC/E,eAAO,MAAM,iCAAiC,WAAY,MAAM,aAAa,MAAM,WAoFlF,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=preserveMarkdownEmphasis.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownEmphasis.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- /**
2
- * Preserve the original representation of existing line boundaries. Showdown
3
- * converts a Markdown soft newline to `<br>` before Lexical imports it, so the
4
- * final serializer otherwise cannot distinguish it from an explicit `<br>`.
5
- */
6
- export declare const preserveLineBreaksFromSource: (source: string, generated: string) => string;
7
- //# sourceMappingURL=preserveMarkdownLineBreaks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownLineBreaks.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.ts"],"names":[],"mappings":"AAoFA;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,WAAY,MAAM,aAAa,MAAM,WA8B7E,CAAC"}
@@ -1,3 +0,0 @@
1
- /** Preserve existing bullet marker and spacing while retaining edited text. */
2
- export declare const preserveListFormattingFromSource: (source: string, generated: string) => string;
3
- //# sourceMappingURL=preserveMarkdownListFormatting.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveMarkdownListFormatting.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.ts"],"names":[],"mappings":"AAoCA,+EAA+E;AAC/E,eAAO,MAAM,gCAAgC,WAAY,MAAM,aAAa,MAAM,WAqCjF,CAAC"}
@@ -1,86 +0,0 @@
1
- /**
2
- * Utility module for preserving and restoring whitespace around review boundary tags
3
- * (<manual> and <upt>) during markdown-to-lexical-to-markdown conversions.
4
- *
5
- * Problem being solved:
6
- * When converting HTML with review boundary tags to markdown (via Turndown) and back,
7
- * trailing whitespace before and leading whitespace after these tags can be trimmed,
8
- * causing text like "Both <manual>text</manual>parties" to lose the space before "Both".
9
- *
10
- * Solution approach:
11
- * 1. BEFORE converting to markdown, extract and store whitespace around boundaries
12
- * 2. During markdown conversion, preserve the stored whitespace separately
13
- * 3. AFTER conversion back to lexical, restore whitespace to the correct positions
14
- */
15
- /**
16
- * Represents whitespace preserved around a review boundary node.
17
- * Used to maintain spacing through conversion processes that may trim whitespace.
18
- */
19
- export interface ReviewBoundaryWhitespace {
20
- /** Whitespace (spaces/tabs) immediately before the review boundary node */
21
- before: string;
22
- /** Whitespace (spaces/tabs) immediately after the review boundary node */
23
- after: string;
24
- }
25
- /**
26
- * Collects whitespace from around review boundary elements in a DOM tree.
27
- * This function should be called BEFORE converting to markdown to capture
28
- * whitespace that may be trimmed by markdown processors (e.g., Turndown).
29
- *
30
- * Algorithm:
31
- * 1. For each <manual> and <upt> tag in the DOM
32
- * 2. Check if previous sibling is a text node
33
- * - Extract trailing whitespace from that text node
34
- * 3. Check if next sibling is a text node
35
- * - Extract leading whitespace from that text node
36
- * 4. Store both in a map keyed by tag name and ID
37
- *
38
- * @param dom The DOM Document to scan for review boundaries
39
- * @returns A Map of review boundary keys to their preserved whitespace
40
- *
41
- * @example
42
- * // Given: "Both <manual id='x'> content</manual>parties"
43
- * // Returns: Map { "manual:x" => { before: " ", after: "" } }
44
- */
45
- export declare const collectReviewBoundaryWhitespace: (dom: Document) => Map<string, ReviewBoundaryWhitespace>;
46
- /**
47
- * Restores previously collected whitespace around review boundary nodes
48
- * in the current Lexical editor state.
49
- *
50
- * This function must be called AFTER the markdown has been converted back
51
- * to a Lexical editor state and the nodes have been appended to the root.
52
- *
53
- * Algorithm for each review boundary node:
54
- * 1. Look up stored whitespace using node ID
55
- * 2. If previous sibling is text node:
56
- * - Remove trailing whitespace from it
57
- * - Append the stored "before" whitespace
58
- * 3. Else if we have "before" whitespace to restore:
59
- * - Insert a new text node before the boundary with the whitespace
60
- * 4. If next sibling is text node:
61
- * - Remove leading whitespace from it
62
- * - Prepend the stored "after" whitespace
63
- * 5. Else if we have "after" whitespace to restore:
64
- * - Insert a new text node after the boundary with the whitespace
65
- *
66
- * @param boundaries A Map of preserved whitespace from collectReviewBoundaryWhitespace
67
- *
68
- * @example
69
- * // Given: boundaries with "manual:x" => { before: " ", after: "" }
70
- * // Finds the ManualNode with ID "x" and ensures the space before it is restored
71
- * // Even if text was "BothContent" after markdown, becomes "Both Content"
72
- */
73
- export declare const restoreReviewBoundaryWhitespace: (boundaries: ReadonlyMap<string, ReviewBoundaryWhitespace>) => void;
74
- /**
75
- * Validates that whitespace has been properly preserved around review boundaries.
76
- * This is primarily for testing and debugging purposes.
77
- *
78
- * @param dom The DOM to check for whitespace preservation
79
- * @param expectedBoundaries The map of expected whitespace
80
- * @returns An object with validation results and any issues found
81
- */
82
- export declare const validateReviewBoundaryWhitespace: (dom: Document, expectedBoundaries: ReadonlyMap<string, ReviewBoundaryWhitespace>) => {
83
- isValid: boolean;
84
- issues: string[];
85
- };
86
- //# sourceMappingURL=preserveReviewBoundaryWhitespace.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preserveReviewBoundaryWhitespace.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAWH;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAC;CACf;AAaD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,+BAA+B,QACrC,QAAQ,KACZ,IAAI,MAAM,EAAE,wBAAwB,CAwBtC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,+BAA+B,eAC9B,YAAY,MAAM,EAAE,wBAAwB,CAAC,KACxD,IA2CF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC,QACtC,QAAQ,sBACO,YAAY,MAAM,EAAE,wBAAwB,CAAC;aACrD,OAAO;YAAU,MAAM,EAAE;CAoCtC,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Comprehensive test suite for review boundary whitespace preservation.
3
- *
4
- * Tests validate that whitespace around <manual> and <upt> tags is correctly
5
- * preserved through markdown-to-lexical-to-markdown round trips, including
6
- * edge cases that could cause whitespace loss.
7
- */
8
- export {};
9
- //# sourceMappingURL=preserveReviewBoundaryWhitespace.test.d.ts.map