@e-llm-studio/citation 0.0.249 → 0.0.250

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 (2374) hide show
  1. package/README.md +36 -183
  2. package/dist/BPACitationRenderer.js +2 -0
  3. package/dist/BPACitationRenderer.js.map +1 -0
  4. package/dist/BookCitation.js +2 -0
  5. package/dist/BookCitation.js.map +1 -0
  6. package/dist/Bookemon.js +2 -0
  7. package/dist/Bookemon.js.map +1 -0
  8. package/dist/ChatCitation.js +2 -0
  9. package/dist/ChatCitation.js.map +1 -0
  10. package/dist/ChatDrawer.js +2 -0
  11. package/dist/ChatDrawer.js.map +1 -0
  12. package/dist/CitationRenderer.js +2 -0
  13. package/dist/CitationRenderer.js.map +1 -0
  14. package/dist/CodeCitation.js +2 -0
  15. package/dist/CodeCitation.js.map +1 -0
  16. package/dist/CognitiveInternalgptCoreComponent.js +2 -0
  17. package/dist/CognitiveInternalgptCoreComponent.js.map +1 -0
  18. package/dist/CognitiveInternalgptReasoning.js +2 -0
  19. package/dist/CognitiveInternalgptReasoning.js.map +1 -0
  20. package/dist/GptWebCitation.js +2 -0
  21. package/dist/GptWebCitation.js.map +1 -0
  22. package/dist/IngestionStatusComponent.js +2 -0
  23. package/dist/IngestionStatusComponent.js.map +1 -0
  24. package/dist/PdfViewer.js +2 -0
  25. package/dist/PdfViewer.js.map +1 -0
  26. package/dist/ProjectAccordion.js +2 -0
  27. package/dist/ProjectAccordion.js.map +1 -0
  28. package/dist/SplitterCitationsComponent.js +2 -0
  29. package/dist/SplitterCitationsComponent.js.map +1 -0
  30. package/dist/TextualGuideLinesComponent.js +2 -0
  31. package/dist/TextualGuideLinesComponent.js.map +1 -0
  32. package/dist/assests/icons/CitationsIcon.js +1 -1
  33. package/dist/assests/icons/CitationsIcon.js.map +1 -1
  34. package/dist/assests/icons/CitationsSparkleIcon.js +1 -1
  35. package/dist/assests/icons/CitationsSparkleIcon.js.map +1 -1
  36. package/dist/assests/icons/InfoAlert.js +1 -1
  37. package/dist/assests/icons/InfoAlert.js.map +1 -1
  38. package/dist/assests/svg/ButtonCognitiveIcon.js +1 -1
  39. package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -1
  40. package/dist/assests/svg/NeuralNetworkIcon.js +1 -1
  41. package/dist/assests/svg/NeuralNetworkIcon.js.map +1 -1
  42. package/dist/assests/svg/PdfViewerIcons.js +1 -1
  43. package/dist/assests/svg/PdfViewerIcons.js.map +1 -1
  44. package/dist/assests/svg/SparkleIcon.js +1 -1
  45. package/dist/assests/svg/SparkleIcon.js.map +1 -1
  46. package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -1
  47. package/dist/assests/svg/chevronUp.svg.js.map +1 -1
  48. package/dist/cjs/BPACitationRenderer.js +2 -0
  49. package/dist/cjs/BPACitationRenderer.js.map +1 -0
  50. package/dist/cjs/BookCitation.js +2 -0
  51. package/dist/cjs/BookCitation.js.map +1 -0
  52. package/dist/cjs/Bookemon.js +2 -0
  53. package/dist/cjs/Bookemon.js.map +1 -0
  54. package/dist/cjs/ChatCitation.js +2 -0
  55. package/dist/cjs/ChatCitation.js.map +1 -0
  56. package/dist/cjs/ChatDrawer.js +2 -0
  57. package/dist/cjs/ChatDrawer.js.map +1 -0
  58. package/dist/cjs/CitationRenderer.js +2 -0
  59. package/dist/cjs/CitationRenderer.js.map +1 -0
  60. package/dist/cjs/CodeCitation.js +2 -0
  61. package/dist/cjs/CodeCitation.js.map +1 -0
  62. package/dist/cjs/CognitiveInternalgptCoreComponent.js +2 -0
  63. package/dist/cjs/CognitiveInternalgptCoreComponent.js.map +1 -0
  64. package/dist/cjs/CognitiveInternalgptReasoning.js +2 -0
  65. package/dist/cjs/CognitiveInternalgptReasoning.js.map +1 -0
  66. package/dist/cjs/GptWebCitation.js +2 -0
  67. package/dist/cjs/GptWebCitation.js.map +1 -0
  68. package/dist/cjs/IngestionStatusComponent.js +2 -0
  69. package/dist/cjs/IngestionStatusComponent.js.map +1 -0
  70. package/dist/cjs/PdfViewer.js +2 -0
  71. package/dist/cjs/PdfViewer.js.map +1 -0
  72. package/dist/cjs/ProjectAccordion.js +2 -0
  73. package/dist/cjs/ProjectAccordion.js.map +1 -0
  74. package/dist/cjs/SplitterCitationsComponent.js +2 -0
  75. package/dist/cjs/SplitterCitationsComponent.js.map +1 -0
  76. package/dist/cjs/TextualGuideLinesComponent.js +2 -0
  77. package/dist/cjs/TextualGuideLinesComponent.js.map +1 -0
  78. package/dist/cjs/assests/icons/CitationsIcon.js +1 -1
  79. package/dist/cjs/assests/icons/CitationsIcon.js.map +1 -1
  80. package/dist/cjs/assests/icons/CitationsSparkleIcon.js +1 -1
  81. package/dist/cjs/assests/icons/CitationsSparkleIcon.js.map +1 -1
  82. package/dist/cjs/assests/icons/InfoAlert.js +1 -1
  83. package/dist/cjs/assests/icons/InfoAlert.js.map +1 -1
  84. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +1 -1
  85. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -1
  86. package/dist/cjs/assests/svg/NeuralNetworkIcon.js +1 -1
  87. package/dist/cjs/assests/svg/NeuralNetworkIcon.js.map +1 -1
  88. package/dist/cjs/assests/svg/PdfViewerIcons.js +1 -1
  89. package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -1
  90. package/dist/cjs/assests/svg/SparkleIcon.js +1 -1
  91. package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -1
  92. package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -1
  93. package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -1
  94. package/dist/cjs/constants/diagnosticStylesBySeverity.js +1 -1
  95. package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -1
  96. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  97. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  98. package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -1
  99. package/dist/cjs/features/BookCitation/BookCitation.js +1 -1
  100. package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -1
  101. package/dist/cjs/features/BookCitation/BookCitation.module.css.js +1 -1
  102. package/dist/cjs/features/BookCitation/text-cleaner.js +1 -1
  103. package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -1
  104. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  105. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  106. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  107. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  108. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  109. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  110. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  111. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  112. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  113. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  114. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  115. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  116. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  117. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  118. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  119. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  120. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  121. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  122. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  123. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  124. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
  125. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  126. package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
  127. package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -1
  128. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +1 -1
  129. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  130. package/dist/cjs/features/Bookemon/BookemonContent.js +1 -1
  131. package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -1
  132. package/dist/cjs/features/Bookemon/BookemonStyles.js +2 -0
  133. package/dist/cjs/features/Bookemon/BookemonStyles.js.map +1 -0
  134. package/dist/cjs/features/Bookemon/utils/highlight.js +1 -1
  135. package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -1
  136. package/dist/cjs/features/ChatCitation/BigQueryTable.js +1 -1
  137. package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -1
  138. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +1 -1
  139. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  140. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  141. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  142. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  143. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  144. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +1 -1
  145. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  146. package/dist/cjs/features/ChatCitation/components/ChatCitation.js +1 -1
  147. package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -1
  148. package/dist/cjs/features/ChatCitation/components/Chip.js +1 -1
  149. package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -1
  150. package/dist/cjs/features/ChatCitation/components/DetailedView.js +1 -1
  151. package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -1
  152. package/dist/cjs/features/ChatCitation/components/IconContainer.js +1 -1
  153. package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -1
  154. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +1 -1
  155. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  156. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  157. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  158. package/dist/cjs/features/ChatCitation/components/RuleBook.js +1 -1
  159. package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -1
  160. package/dist/cjs/features/ChatCitation/components/SummarizedView.js +1 -1
  161. package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -1
  162. package/dist/cjs/features/ChatCitation/components/UserChatItem.js +1 -1
  163. package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -1
  164. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  165. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  166. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +1 -1
  167. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  168. package/dist/cjs/features/ChatCitation/constants/renderer.js +1 -1
  169. package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -1
  170. package/dist/cjs/features/ChatCitation/styles/common.css.js +2 -0
  171. package/dist/cjs/features/ChatCitation/styles/common.css.js.map +1 -0
  172. package/dist/cjs/features/ChatCitation/utils/helpers.js +1 -1
  173. package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -1
  174. package/dist/cjs/features/ChatDrawer/ChatDrawer.js +1 -1
  175. package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -1
  176. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  177. package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
  178. package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +1 -1
  179. package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  180. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +1 -1
  181. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  182. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  183. package/dist/cjs/features/CitationViewer/CitationsViewer.js +1 -1
  184. package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -1
  185. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +1 -1
  186. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  187. package/dist/cjs/features/CitationViewer/components/Header.js +1 -1
  188. package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -1
  189. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +1 -1
  190. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  191. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  192. package/dist/cjs/features/CitationViewer/components/Transcript.js +1 -1
  193. package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -1
  194. package/dist/cjs/features/CitationViewer/config/apiConfig.js +1 -1
  195. package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -1
  196. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  197. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  198. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  199. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  200. package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
  201. package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -1
  202. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +1 -1
  203. package/dist/cjs/features/CodeCitation/_components/Accordian.js +1 -1
  204. package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -1
  205. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  206. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  207. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  208. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  209. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +1 -1
  210. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  211. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  212. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  213. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  214. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  215. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  216. package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  217. package/dist/cjs/features/CodeCitation/_components/Spinner.js +1 -1
  218. package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -1
  219. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  220. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  221. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  222. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  223. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  224. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  225. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +1 -1
  226. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  227. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +1 -1
  228. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  229. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
  230. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  231. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
  232. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  233. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
  234. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  235. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  236. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  237. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  238. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  239. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  240. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
  241. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  242. package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
  243. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
  244. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  245. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  246. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  247. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  248. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  249. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  250. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  251. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  252. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +1 -1
  253. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  254. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  255. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  256. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +1 -1
  257. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  258. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  259. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  260. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  261. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  262. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +1 -1
  263. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  264. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  265. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  266. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  267. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  268. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  269. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  270. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  271. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  272. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  273. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  274. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  275. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  276. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  277. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  278. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
  279. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  280. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  281. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  282. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  283. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  284. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  285. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  286. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  287. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  288. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  289. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  290. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  291. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  292. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  293. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  294. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  295. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  296. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  297. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  298. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +1 -1
  299. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  300. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  301. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  302. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  303. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  304. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  305. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  306. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  307. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  308. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  309. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  310. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  311. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  312. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  313. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  314. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  315. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  316. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  317. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +1 -1
  318. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  319. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +1 -1
  320. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  321. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  322. package/dist/cjs/features/ExcelCitation/ExcelCitations.js +1 -1
  323. package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -1
  324. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js +2 -0
  325. package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  326. package/dist/cjs/features/ExcelCitation/utils/helper.js +1 -1
  327. package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -1
  328. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
  329. package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -1
  330. package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  331. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  332. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  333. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  334. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  335. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  336. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  337. package/dist/cjs/features/GptWebCitation/types.js +1 -1
  338. package/dist/cjs/features/GptWebCitation/types.js.map +1 -1
  339. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +1 -1
  340. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  341. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  342. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  343. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  344. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  345. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  346. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  347. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +1 -1
  348. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +1 -1
  349. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  350. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  351. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  352. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  353. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  354. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  355. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  356. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  357. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  358. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  359. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  360. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  361. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  362. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  363. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  364. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +1 -1
  365. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  366. package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  367. package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  368. package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  369. package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +1 -1
  370. package/dist/cjs/features/InstantLearningCitation/types/Types.js +1 -1
  371. package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -1
  372. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  373. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  374. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  375. package/dist/cjs/features/ManageRemainders/ManageReminders.js +1 -1
  376. package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -1
  377. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  378. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  379. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  380. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  381. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  382. package/dist/cjs/features/PaginatedTable/PaginatedTable.js +1 -1
  383. package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -1
  384. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  385. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  386. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  387. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  388. package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
  389. package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -1
  390. package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -1
  391. package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
  392. package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -1
  393. package/dist/cjs/features/PdfViewer/PdfViewer.css.js +2 -0
  394. package/dist/cjs/features/PdfViewer/PdfViewer.css.js.map +1 -0
  395. package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
  396. package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -1
  397. package/dist/cjs/features/PdfViewer/rotationManager.js +1 -1
  398. package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -1
  399. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
  400. package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -1
  401. package/dist/cjs/features/PdfViewer/zoomStateManager.js +2 -0
  402. package/dist/cjs/features/PdfViewer/zoomStateManager.js.map +1 -0
  403. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +1 -1
  404. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  405. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  406. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +1 -1
  407. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  408. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +1 -1
  409. package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  410. package/dist/cjs/features/PromptCitation/PromptCitation.js +1 -1
  411. package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -1
  412. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +1 -1
  413. package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  414. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  415. package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  416. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  417. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  418. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
  419. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  420. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  421. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  422. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  423. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  424. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  425. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  426. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  427. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  428. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  429. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  430. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  431. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  432. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  433. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  434. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  435. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  436. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  437. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  438. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  439. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  440. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  441. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  442. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  443. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  444. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  445. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  446. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  447. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  448. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  449. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  450. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  451. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  452. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  453. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  454. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  455. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  456. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  457. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  458. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  459. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  460. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  461. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  462. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  463. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  464. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  465. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  466. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  467. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  468. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  469. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  470. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  471. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  472. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  473. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  474. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  475. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  476. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  477. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  478. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  479. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js +2 -0
  480. package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  481. package/dist/cjs/features/ReviewPanel/ReviewPanel.js +1 -1
  482. package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -1
  483. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  484. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  485. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  486. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  487. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  488. package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  489. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  490. package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  491. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  492. package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  493. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  494. package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  495. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  496. package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  497. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  498. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  499. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  500. package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  501. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
  502. package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  503. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  504. package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  505. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  506. package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  507. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  508. package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  509. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  510. package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  511. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +1 -1
  512. package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  513. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +1 -1
  514. package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  515. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  516. package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  517. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +1 -1
  518. package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  519. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  520. package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  521. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  522. package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  523. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  524. package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  525. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  526. package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  527. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  528. package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  529. package/dist/cjs/features/SegmentReviewComponents/helper.js +1 -1
  530. package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -1
  531. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +1 -1
  532. package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  533. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  534. package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  535. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
  536. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  537. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  538. package/dist/cjs/features/SplitterCitations/icons/icons.js +1 -1
  539. package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -1
  540. package/dist/cjs/features/TableCitation/TableCitationContent.js +1 -1
  541. package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -1
  542. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +1 -1
  543. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  544. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  545. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  546. package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
  547. package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -1
  548. package/dist/cjs/index.js +1 -1
  549. package/dist/cjs/lib/ui/icons.js +2 -0
  550. package/dist/cjs/lib/ui/icons.js.map +1 -0
  551. package/dist/cjs/lib/ui/materialCompat.js +2 -0
  552. package/dist/cjs/lib/ui/materialCompat.js.map +1 -0
  553. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  554. package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  555. package/dist/cjs/service/apicache.service.js +1 -1
  556. package/dist/cjs/service/apicache.service.js.map +1 -1
  557. package/dist/cjs/service/onDemandApi.js +1 -1
  558. package/dist/cjs/service/onDemandApi.js.map +1 -1
  559. package/dist/cjs/types/onDemandApi.types.js +1 -1
  560. package/dist/cjs/types/onDemandApi.types.js.map +1 -1
  561. package/dist/cjs/utils/codeCitations.utils.js +1 -1
  562. package/dist/cjs/utils/codeCitations.utils.js.map +1 -1
  563. package/dist/cjs/utils/sanitizeHtml.js +1 -1
  564. package/dist/cjs/utils/sanitizeHtml.js.map +1 -1
  565. package/dist/cjs/utils/themeManager.js +1 -1
  566. package/dist/cjs/utils/themeManager.js.map +1 -1
  567. package/dist/constants/diagnosticStylesBySeverity.js +1 -1
  568. package/dist/constants/diagnosticStylesBySeverity.js.map +1 -1
  569. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
  570. package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
  571. package/dist/features/BPACitationRenderer/citationTypes.js +1 -1
  572. package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -1
  573. package/dist/features/BookCitation/BookCitation.js +1 -1
  574. package/dist/features/BookCitation/BookCitation.js.map +1 -1
  575. package/dist/features/BookCitation/BookCitation.module.css.js +1 -1
  576. package/dist/features/BookCitation/text-cleaner.js +1 -1
  577. package/dist/features/BookCitation/text-cleaner.js.map +1 -1
  578. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
  579. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
  580. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
  581. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
  582. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
  583. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
  584. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
  585. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
  586. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
  587. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
  588. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
  589. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
  590. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
  591. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
  592. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
  593. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
  594. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
  595. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
  596. package/dist/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
  597. package/dist/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
  598. package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
  599. package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
  600. package/dist/features/Bookemon/Bookemon.js +1 -1
  601. package/dist/features/Bookemon/Bookemon.js.map +1 -1
  602. package/dist/features/Bookemon/BookemonCitationLayer.js +1 -1
  603. package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -1
  604. package/dist/features/Bookemon/BookemonContent.js +1 -1
  605. package/dist/features/Bookemon/BookemonContent.js.map +1 -1
  606. package/dist/features/Bookemon/BookemonStyles.js +2 -0
  607. package/dist/features/Bookemon/BookemonStyles.js.map +1 -0
  608. package/dist/features/Bookemon/utils/highlight.js +1 -1
  609. package/dist/features/Bookemon/utils/highlight.js.map +1 -1
  610. package/dist/features/ChatCitation/BigQueryTable.js +1 -1
  611. package/dist/features/ChatCitation/BigQueryTable.js.map +1 -1
  612. package/dist/features/ChatCitation/ChatCitationRenderer.js +1 -1
  613. package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
  614. package/dist/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
  615. package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
  616. package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
  617. package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
  618. package/dist/features/ChatCitation/components/AssistantChatItem.js +1 -1
  619. package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
  620. package/dist/features/ChatCitation/components/ChatCitation.js +1 -1
  621. package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -1
  622. package/dist/features/ChatCitation/components/Chip.js +1 -1
  623. package/dist/features/ChatCitation/components/Chip.js.map +1 -1
  624. package/dist/features/ChatCitation/components/DetailedView.js +1 -1
  625. package/dist/features/ChatCitation/components/DetailedView.js.map +1 -1
  626. package/dist/features/ChatCitation/components/IconContainer.js +1 -1
  627. package/dist/features/ChatCitation/components/IconContainer.js.map +1 -1
  628. package/dist/features/ChatCitation/components/InViewNavigation.js +1 -1
  629. package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -1
  630. package/dist/features/ChatCitation/components/MarkdownRenderer.js +1 -1
  631. package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
  632. package/dist/features/ChatCitation/components/RuleBook.js +1 -1
  633. package/dist/features/ChatCitation/components/RuleBook.js.map +1 -1
  634. package/dist/features/ChatCitation/components/SummarizedView.js +1 -1
  635. package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -1
  636. package/dist/features/ChatCitation/components/UserChatItem.js +1 -1
  637. package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -1
  638. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
  639. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
  640. package/dist/features/ChatCitation/components/wrappers/Modal.js +1 -1
  641. package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
  642. package/dist/features/ChatCitation/constants/renderer.js +1 -1
  643. package/dist/features/ChatCitation/constants/renderer.js.map +1 -1
  644. package/dist/features/ChatCitation/styles/common.css.js +2 -0
  645. package/dist/features/ChatCitation/styles/common.css.js.map +1 -0
  646. package/dist/features/ChatCitation/utils/helpers.js +1 -1
  647. package/dist/features/ChatCitation/utils/helpers.js.map +1 -1
  648. package/dist/features/ChatDrawer/ChatDrawer.js +1 -1
  649. package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -1
  650. package/dist/features/ChatDrawer/constants/ChatDrawer.js +1 -1
  651. package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
  652. package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
  653. package/dist/features/CitationRenderer/CitationRenderer.js.map +1 -1
  654. package/dist/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
  655. package/dist/features/CitationRenderer/MarkdownRenderer.js +1 -1
  656. package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
  657. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
  658. package/dist/features/CitationViewer/CitationsViewer.js +1 -1
  659. package/dist/features/CitationViewer/CitationsViewer.js.map +1 -1
  660. package/dist/features/CitationViewer/components/AudioWaveform.js +1 -1
  661. package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -1
  662. package/dist/features/CitationViewer/components/Header.js +1 -1
  663. package/dist/features/CitationViewer/components/Header.js.map +1 -1
  664. package/dist/features/CitationViewer/components/KeyTakeaways.js +1 -1
  665. package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
  666. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
  667. package/dist/features/CitationViewer/components/Transcript.js +1 -1
  668. package/dist/features/CitationViewer/components/Transcript.js.map +1 -1
  669. package/dist/features/CitationViewer/config/apiConfig.js +1 -1
  670. package/dist/features/CitationViewer/config/apiConfig.js.map +1 -1
  671. package/dist/features/CitationViewer/hooks/getSignedUrl.js +1 -1
  672. package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
  673. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
  674. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
  675. package/dist/features/CodeCitation/CodeCitation.js +1 -1
  676. package/dist/features/CodeCitation/CodeCitation.js.map +1 -1
  677. package/dist/features/CodeCitation/CodeCitation.module.css.js +1 -1
  678. package/dist/features/CodeCitation/_components/Accordian.js +1 -1
  679. package/dist/features/CodeCitation/_components/Accordian.js.map +1 -1
  680. package/dist/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
  681. package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
  682. package/dist/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
  683. package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
  684. package/dist/features/CodeCitation/_components/CodeEditor.js +1 -1
  685. package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -1
  686. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
  687. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
  688. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
  689. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
  690. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
  691. package/dist/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
  692. package/dist/features/CodeCitation/_components/Spinner.js +1 -1
  693. package/dist/features/CodeCitation/_components/Spinner.js.map +1 -1
  694. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
  695. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
  696. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
  697. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
  698. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
  699. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
  700. package/dist/features/CodeCitation/_components/ThemeToggle.js +1 -1
  701. package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
  702. package/dist/features/CodeCitation/_components/TooltipComponent.js +1 -1
  703. package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
  704. package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
  705. package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
  706. package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
  707. package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
  708. package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
  709. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
  710. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
  711. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
  712. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
  713. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
  714. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
  715. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
  716. package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
  717. package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
  718. package/dist/features/CognitiveCompare/CompareContext.js +1 -1
  719. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
  720. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
  721. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
  722. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
  723. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
  724. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
  725. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
  726. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
  727. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
  728. package/dist/features/CognitiveCompare/LoaderComponent.js +1 -1
  729. package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -1
  730. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
  731. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
  732. package/dist/features/CognitiveCompare/OverlayComponent.js +1 -1
  733. package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -1
  734. package/dist/features/CognitiveCompare/ResizableSplitPane.js +1 -1
  735. package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
  736. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
  737. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
  738. package/dist/features/CognitiveCompare/components/CompareHeader.js +1 -1
  739. package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
  740. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
  741. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
  742. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
  743. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
  744. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
  745. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
  746. package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
  747. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
  748. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
  749. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
  750. package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
  751. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
  752. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
  753. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
  754. package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
  755. package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -1
  756. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
  757. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
  758. package/dist/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
  759. package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
  760. package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
  761. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
  762. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
  763. package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
  764. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
  765. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
  766. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
  767. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
  768. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
  769. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
  770. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
  771. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
  772. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
  773. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
  774. package/dist/features/CognitiveCompare/hooks/useStyles.js +1 -1
  775. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
  776. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
  777. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
  778. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
  779. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
  780. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
  781. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
  782. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
  783. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
  784. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
  785. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
  786. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
  787. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
  788. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
  789. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
  790. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
  791. package/dist/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
  792. package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
  793. package/dist/features/DualCitation/RuleBookCitationComponent.js +1 -1
  794. package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
  795. package/dist/features/DualCitation/SourceBQDataCompnent.js +1 -1
  796. package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
  797. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
  798. package/dist/features/ExcelCitation/ExcelCitations.js +1 -1
  799. package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -1
  800. package/dist/features/ExcelCitation/css/excel-citation.css.js +2 -0
  801. package/dist/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
  802. package/dist/features/ExcelCitation/utils/helper.js +1 -1
  803. package/dist/features/ExcelCitation/utils/helper.js.map +1 -1
  804. package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
  805. package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -1
  806. package/dist/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
  807. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
  808. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
  809. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
  810. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
  811. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
  812. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
  813. package/dist/features/GptWebCitation/types.js +1 -1
  814. package/dist/features/GptWebCitation/types.js.map +1 -1
  815. package/dist/features/GptWebCitation/utils/citationData.utils.js +1 -1
  816. package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
  817. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
  818. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
  819. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
  820. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
  821. package/dist/features/IngestionStatus/IngestionStatusComponent.js +1 -1
  822. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
  823. package/dist/features/IngestionStatus/ingestion.module.css.js +1 -1
  824. package/dist/features/IngestionStatus/useIngestionStatus.js +1 -1
  825. package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -1
  826. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
  827. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
  828. package/dist/features/InstantLearningCitation/HistorySkeleton.js +1 -1
  829. package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
  830. package/dist/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
  831. package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
  832. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
  833. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
  834. package/dist/features/InstantLearningCitation/OverrideTimeline.js +1 -1
  835. package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
  836. package/dist/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
  837. package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
  838. package/dist/features/InstantLearningCitation/RuleContentComponent.js +1 -1
  839. package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
  840. package/dist/features/InstantLearningCitation/SlashLoader.js +1 -1
  841. package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -1
  842. package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
  843. package/dist/features/InstantLearningCitation/css/Override.module.css.js +1 -1
  844. package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
  845. package/dist/features/InstantLearningCitation/css/common.module.css.js +1 -1
  846. package/dist/features/InstantLearningCitation/types/Types.js +1 -1
  847. package/dist/features/InstantLearningCitation/types/Types.js.map +1 -1
  848. package/dist/features/ManageRemainders/AssigneeCalendarView.js +1 -1
  849. package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
  850. package/dist/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
  851. package/dist/features/ManageRemainders/ManageReminders.js +1 -1
  852. package/dist/features/ManageRemainders/ManageReminders.js.map +1 -1
  853. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
  854. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
  855. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
  856. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
  857. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
  858. package/dist/features/PaginatedTable/PaginatedTable.js +1 -1
  859. package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -1
  860. package/dist/features/PaginatedTable/paginatedTable.module.css.js +1 -1
  861. package/dist/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
  862. package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
  863. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
  864. package/dist/features/PdfViewer/PdfContainer.js +1 -1
  865. package/dist/features/PdfViewer/PdfContainer.js.map +1 -1
  866. package/dist/features/PdfViewer/PdfStyle.js +1 -1
  867. package/dist/features/PdfViewer/PdfStyle.js.map +1 -1
  868. package/dist/features/PdfViewer/PdfToolbar.js +1 -1
  869. package/dist/features/PdfViewer/PdfToolbar.js.map +1 -1
  870. package/dist/features/PdfViewer/PdfViewer.css.js +2 -0
  871. package/dist/features/PdfViewer/PdfViewer.css.js.map +1 -0
  872. package/dist/features/PdfViewer/PdfViewer.js +1 -1
  873. package/dist/features/PdfViewer/PdfViewer.js.map +1 -1
  874. package/dist/features/PdfViewer/rotationManager.js +1 -1
  875. package/dist/features/PdfViewer/rotationManager.js.map +1 -1
  876. package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
  877. package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -1
  878. package/dist/features/PdfViewer/zoomStateManager.js +2 -0
  879. package/dist/features/PdfViewer/zoomStateManager.js.map +1 -0
  880. package/dist/features/ProjectAccordion/ProjectAccordion.js +1 -1
  881. package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
  882. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
  883. package/dist/features/ProjectAccordion/_components/Markdown.js +1 -1
  884. package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -1
  885. package/dist/features/PromptCitation/CitationDependencyGraph.js +1 -1
  886. package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
  887. package/dist/features/PromptCitation/PromptCitation.js +1 -1
  888. package/dist/features/PromptCitation/PromptCitation.js.map +1 -1
  889. package/dist/features/PromptCitation/_components/CodeEditor.js +1 -1
  890. package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -1
  891. package/dist/features/PromptCitation/_components/Markdownrenderer.js +1 -1
  892. package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
  893. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
  894. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
  895. package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
  896. package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
  897. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
  898. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
  899. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  900. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
  901. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
  902. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
  903. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
  904. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
  905. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
  906. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
  907. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
  908. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
  909. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
  910. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
  911. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
  912. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
  913. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
  914. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
  915. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
  916. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
  917. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
  918. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
  919. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
  920. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
  921. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
  922. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
  923. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
  924. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
  925. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
  926. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  927. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
  928. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
  929. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
  930. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
  931. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
  932. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
  933. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
  934. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  935. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
  936. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
  937. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
  938. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
  939. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
  940. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
  941. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
  942. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
  943. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
  944. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
  945. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
  946. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
  947. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
  948. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
  949. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
  950. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
  951. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
  952. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
  953. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
  954. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
  955. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
  956. package/dist/features/ReviewPanel/ReviewPanel.css.js +2 -0
  957. package/dist/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
  958. package/dist/features/ReviewPanel/ReviewPanel.js +1 -1
  959. package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -1
  960. package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
  961. package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
  962. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
  963. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
  964. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
  965. package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
  966. package/dist/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
  967. package/dist/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
  968. package/dist/features/SPBAnalysisPanel/Internaleditor.js +1 -1
  969. package/dist/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
  970. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
  971. package/dist/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
  972. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
  973. package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
  974. package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
  975. package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
  976. package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
  977. package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
  978. package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
  979. package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
  980. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
  981. package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
  982. package/dist/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
  983. package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
  984. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
  985. package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
  986. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
  987. package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
  988. package/dist/features/SegmentReviewComponents/LabelCheck.js +1 -1
  989. package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
  990. package/dist/features/SegmentReviewComponents/PageCheck.js +1 -1
  991. package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -1
  992. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
  993. package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
  994. package/dist/features/SegmentReviewComponents/RevertCard.js +1 -1
  995. package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -1
  996. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
  997. package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
  998. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
  999. package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
  1000. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
  1001. package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
  1002. package/dist/features/SegmentReviewComponents/ReviewedCard.js +1 -1
  1003. package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
  1004. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
  1005. package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
  1006. package/dist/features/SegmentReviewComponents/helper.js +1 -1
  1007. package/dist/features/SegmentReviewComponents/helper.js.map +1 -1
  1008. package/dist/features/SegmentReviewComponents/reviewScore.js +1 -1
  1009. package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -1
  1010. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
  1011. package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
  1012. package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
  1013. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
  1014. package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
  1015. package/dist/features/SplitterCitations/icons/icons.js +1 -1
  1016. package/dist/features/SplitterCitations/icons/icons.js.map +1 -1
  1017. package/dist/features/TableCitation/TableCitationContent.js +1 -1
  1018. package/dist/features/TableCitation/TableCitationContent.js.map +1 -1
  1019. package/dist/features/TableCitation/TableCitationContent.module.css.js +1 -1
  1020. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
  1021. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
  1022. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
  1023. package/dist/hooks/useOnDemandCitationFetch.js +1 -1
  1024. package/dist/hooks/useOnDemandCitationFetch.js.map +1 -1
  1025. package/dist/index.js +1 -1
  1026. package/dist/lib/ui/icons.js +2 -0
  1027. package/dist/lib/ui/icons.js.map +1 -0
  1028. package/dist/lib/ui/materialCompat.js +2 -0
  1029. package/dist/lib/ui/materialCompat.js.map +1 -0
  1030. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
  1031. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  1032. package/dist/service/apicache.service.js +1 -1
  1033. package/dist/service/apicache.service.js.map +1 -1
  1034. package/dist/service/onDemandApi.js +1 -1
  1035. package/dist/service/onDemandApi.js.map +1 -1
  1036. package/dist/types/AutopilotStyle.d.ts +2 -0
  1037. package/dist/types/AutopilotStyle.d.ts.map +1 -0
  1038. package/dist/types/BPACitationRenderer.d.ts +3 -0
  1039. package/dist/types/BPACitationRenderer.d.ts.map +1 -0
  1040. package/dist/types/BookCitation.d.ts +3 -0
  1041. package/dist/types/BookCitation.d.ts.map +1 -0
  1042. package/dist/types/Bookemon.d.ts +3 -0
  1043. package/dist/types/Bookemon.d.ts.map +1 -0
  1044. package/dist/types/ChatCitation.d.ts +3 -0
  1045. package/dist/types/ChatCitation.d.ts.map +1 -0
  1046. package/dist/types/ChatDrawer.d.ts +3 -0
  1047. package/dist/types/ChatDrawer.d.ts.map +1 -0
  1048. package/dist/types/CitationRenderer.d.ts +3 -0
  1049. package/dist/types/CitationRenderer.d.ts.map +1 -0
  1050. package/dist/types/CodeCitation.d.ts +3 -0
  1051. package/dist/types/CodeCitation.d.ts.map +1 -0
  1052. package/dist/types/CognitiveInternalgptCoreComponent.d.ts +3 -0
  1053. package/dist/types/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1054. package/dist/types/CognitiveInternalgptReasoning.d.ts +3 -0
  1055. package/dist/types/CognitiveInternalgptReasoning.d.ts.map +1 -0
  1056. package/dist/types/CommonConstants/CommonConstants.d.ts +5 -0
  1057. package/dist/types/CommonConstants/CommonConstants.d.ts.map +1 -0
  1058. package/dist/types/GptWebCitation.d.ts +3 -0
  1059. package/dist/types/GptWebCitation.d.ts.map +1 -0
  1060. package/dist/types/IngestionStatusComponent.d.ts +2 -0
  1061. package/dist/types/IngestionStatusComponent.d.ts.map +1 -0
  1062. package/dist/types/PdfViewer.d.ts +3 -0
  1063. package/dist/types/PdfViewer.d.ts.map +1 -0
  1064. package/dist/types/ProjectAccordion.d.ts +3 -0
  1065. package/dist/types/ProjectAccordion.d.ts.map +1 -0
  1066. package/dist/types/SplitterCitationsComponent.d.ts +3 -0
  1067. package/dist/types/SplitterCitationsComponent.d.ts.map +1 -0
  1068. package/dist/types/TextualGuideLinesComponent.d.ts +3 -0
  1069. package/dist/types/TextualGuideLinesComponent.d.ts.map +1 -0
  1070. package/dist/types/assests/icons/CitationsIcon.d.ts +2 -0
  1071. package/dist/types/assests/icons/CitationsIcon.d.ts.map +1 -0
  1072. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts +9 -0
  1073. package/dist/types/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
  1074. package/dist/types/assests/icons/InfoAlert.d.ts +3 -0
  1075. package/dist/types/assests/icons/InfoAlert.d.ts.map +1 -0
  1076. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts +2 -0
  1077. package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts.map +1 -0
  1078. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts +10 -0
  1079. package/dist/types/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
  1080. package/dist/types/assests/svg/PdfViewerIcons.d.ts +6 -0
  1081. package/dist/types/assests/svg/PdfViewerIcons.d.ts.map +1 -0
  1082. package/dist/types/assests/svg/SparkleIcon.d.ts +3 -0
  1083. package/dist/types/assests/svg/SparkleIcon.d.ts.map +1 -0
  1084. package/dist/types/constants/diagnosticStylesBySeverity.d.ts +3 -0
  1085. package/dist/types/constants/diagnosticStylesBySeverity.d.ts.map +1 -0
  1086. package/dist/types/context/DataSelectedContext.d.ts +73 -0
  1087. package/dist/types/context/DataSelectedContext.d.ts.map +1 -0
  1088. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
  1089. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
  1090. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +230 -0
  1091. package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
  1092. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts +15 -0
  1093. package/dist/types/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
  1094. package/dist/types/features/BookCitation/BookCitation.d.ts +42 -0
  1095. package/dist/types/features/BookCitation/BookCitation.d.ts.map +1 -0
  1096. package/dist/types/features/BookCitation/text-cleaner.d.ts +2 -0
  1097. package/dist/types/features/BookCitation/text-cleaner.d.ts.map +1 -0
  1098. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +22 -0
  1099. package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
  1100. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +14 -0
  1101. package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
  1102. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +53 -0
  1103. package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
  1104. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +21 -0
  1105. package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
  1106. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +36 -0
  1107. package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
  1108. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
  1109. package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
  1110. package/dist/types/features/Bookemon/Bookemon.d.ts +9 -0
  1111. package/dist/types/features/Bookemon/Bookemon.d.ts.map +1 -0
  1112. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts +8 -0
  1113. package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
  1114. package/dist/types/features/Bookemon/BookemonContent.d.ts +3 -0
  1115. package/dist/types/features/Bookemon/BookemonContent.d.ts.map +1 -0
  1116. package/dist/types/features/Bookemon/BookemonStyles.d.ts +6 -0
  1117. package/dist/types/features/Bookemon/BookemonStyles.d.ts.map +1 -0
  1118. package/dist/types/features/Bookemon/types/citation.types.d.ts +65 -0
  1119. package/dist/types/features/Bookemon/types/citation.types.d.ts.map +1 -0
  1120. package/dist/types/features/Bookemon/utils/highlight.d.ts +7 -0
  1121. package/dist/types/features/Bookemon/utils/highlight.d.ts.map +1 -0
  1122. package/dist/types/features/ChatCitation/BigQueryTable.d.ts +8 -0
  1123. package/dist/types/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
  1124. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts +25 -0
  1125. package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
  1126. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
  1127. package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
  1128. package/dist/types/features/ChatCitation/assets/collapse.d.ts +4 -0
  1129. package/dist/types/features/ChatCitation/assets/collapse.d.ts.map +1 -0
  1130. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts +7 -0
  1131. package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
  1132. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts +16 -0
  1133. package/dist/types/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
  1134. package/dist/types/features/ChatCitation/components/Chip.d.ts +8 -0
  1135. package/dist/types/features/ChatCitation/components/Chip.d.ts.map +1 -0
  1136. package/dist/types/features/ChatCitation/components/DetailedView.d.ts +11 -0
  1137. package/dist/types/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
  1138. package/dist/types/features/ChatCitation/components/IconContainer.d.ts +8 -0
  1139. package/dist/types/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
  1140. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts +12 -0
  1141. package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
  1142. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts +9 -0
  1143. package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
  1144. package/dist/types/features/ChatCitation/components/RuleBook.d.ts +10 -0
  1145. package/dist/types/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
  1146. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts +19 -0
  1147. package/dist/types/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
  1148. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts +7 -0
  1149. package/dist/types/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
  1150. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
  1151. package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
  1152. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
  1153. package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
  1154. package/dist/types/features/ChatCitation/constants/icons.d.ts +9 -0
  1155. package/dist/types/features/ChatCitation/constants/icons.d.ts.map +1 -0
  1156. package/dist/types/features/ChatCitation/constants/renderer.d.ts +7 -0
  1157. package/dist/types/features/ChatCitation/constants/renderer.d.ts.map +1 -0
  1158. package/dist/types/features/ChatCitation/types/citations.types.d.ts +113 -0
  1159. package/dist/types/features/ChatCitation/types/citations.types.d.ts.map +1 -0
  1160. package/dist/types/features/ChatCitation/utils/helpers.d.ts +16 -0
  1161. package/dist/types/features/ChatCitation/utils/helpers.d.ts.map +1 -0
  1162. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts +5 -0
  1163. package/dist/types/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
  1164. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
  1165. package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
  1166. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
  1167. package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
  1168. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts +21 -0
  1169. package/dist/types/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
  1170. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
  1171. package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
  1172. package/dist/types/features/CitationViewer/CitationsViewer.d.ts +4 -0
  1173. package/dist/types/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
  1174. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
  1175. package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
  1176. package/dist/types/features/CitationViewer/components/Header.d.ts +12 -0
  1177. package/dist/types/features/CitationViewer/components/Header.d.ts.map +1 -0
  1178. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
  1179. package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
  1180. package/dist/types/features/CitationViewer/components/Transcript.d.ts +10 -0
  1181. package/dist/types/features/CitationViewer/components/Transcript.d.ts.map +1 -0
  1182. package/dist/types/features/CitationViewer/config/apiConfig.d.ts +3 -0
  1183. package/dist/types/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
  1184. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
  1185. package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
  1186. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
  1187. package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
  1188. package/dist/types/features/CitationViewer/types/artifact.d.ts +58 -0
  1189. package/dist/types/features/CitationViewer/types/artifact.d.ts.map +1 -0
  1190. package/dist/types/features/CodeCitation/CodeCitation.d.ts +51 -0
  1191. package/dist/types/features/CodeCitation/CodeCitation.d.ts.map +1 -0
  1192. package/dist/types/features/CodeCitation/_components/Accordian.d.ts +10 -0
  1193. package/dist/types/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
  1194. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts +34 -0
  1195. package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
  1196. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
  1197. package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
  1198. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
  1199. package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
  1200. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts +7 -0
  1201. package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
  1202. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  1203. package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  1204. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts +9 -0
  1205. package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +1 -0
  1206. package/dist/types/features/CodeCitation/_components/Spinner.d.ts +4 -0
  1207. package/dist/types/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
  1208. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
  1209. package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
  1210. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
  1211. package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
  1212. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
  1213. package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
  1214. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
  1215. package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
  1216. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
  1217. package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
  1218. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
  1219. package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
  1220. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +14 -0
  1221. package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
  1222. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +7 -0
  1223. package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
  1224. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
  1225. package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
  1226. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
  1227. package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
  1228. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +321 -0
  1229. package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
  1230. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
  1231. package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
  1232. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
  1233. package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
  1234. package/dist/types/features/CognitiveCompare/CompareContext.d.ts +72 -0
  1235. package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
  1236. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +4 -0
  1237. package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
  1238. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +9 -0
  1239. package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
  1240. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
  1241. package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
  1242. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
  1243. package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
  1244. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts +4 -0
  1245. package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
  1246. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
  1247. package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
  1248. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
  1249. package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
  1250. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
  1251. package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
  1252. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
  1253. package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
  1254. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts +13 -0
  1255. package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
  1256. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
  1257. package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
  1258. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
  1259. package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
  1260. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
  1261. package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
  1262. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
  1263. package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
  1264. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
  1265. package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
  1266. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
  1267. package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
  1268. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
  1269. package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
  1270. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
  1271. package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
  1272. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
  1273. package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
  1274. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
  1275. package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
  1276. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
  1277. package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
  1278. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
  1279. package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
  1280. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
  1281. package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
  1282. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +26 -0
  1283. package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
  1284. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
  1285. package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
  1286. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
  1287. package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
  1288. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
  1289. package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
  1290. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
  1291. package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
  1292. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
  1293. package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
  1294. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
  1295. package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
  1296. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
  1297. package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
  1298. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
  1299. package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
  1300. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +19 -0
  1301. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1302. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +26 -0
  1303. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
  1304. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
  1305. package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
  1306. package/dist/types/features/DataSelector/DataSelector.d.ts +18 -0
  1307. package/dist/types/features/DataSelector/DataSelector.d.ts.map +1 -0
  1308. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
  1309. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
  1310. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
  1311. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
  1312. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
  1313. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
  1314. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +4 -0
  1315. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
  1316. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +4 -0
  1317. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
  1318. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
  1319. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
  1320. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +3 -0
  1321. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
  1322. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +10 -0
  1323. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
  1324. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
  1325. package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
  1326. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
  1327. package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
  1328. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
  1329. package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
  1330. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts +15 -0
  1331. package/dist/types/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
  1332. package/dist/types/features/ExcelCitation/utils/helper.d.ts +2 -0
  1333. package/dist/types/features/ExcelCitation/utils/helper.d.ts.map +1 -0
  1334. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts +15 -0
  1335. package/dist/types/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
  1336. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
  1337. package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
  1338. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
  1339. package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
  1340. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
  1341. package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
  1342. package/dist/types/features/GptWebCitation/types.d.ts +405 -0
  1343. package/dist/types/features/GptWebCitation/types.d.ts.map +1 -0
  1344. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
  1345. package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
  1346. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
  1347. package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
  1348. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
  1349. package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
  1350. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
  1351. package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
  1352. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
  1353. package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
  1354. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
  1355. package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
  1356. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
  1357. package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
  1358. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
  1359. package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
  1360. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
  1361. package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
  1362. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
  1363. package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
  1364. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
  1365. package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
  1366. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
  1367. package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
  1368. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
  1369. package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
  1370. package/dist/types/features/InstantLearningCitation/types/Types.d.ts +356 -0
  1371. package/dist/types/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
  1372. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
  1373. package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
  1374. package/dist/types/features/ManageRemainders/ManageReminders.d.ts +48 -0
  1375. package/dist/types/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
  1376. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
  1377. package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
  1378. package/dist/types/features/ManageRemainders/types/type.d.ts +78 -0
  1379. package/dist/types/features/ManageRemainders/types/type.d.ts.map +1 -0
  1380. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
  1381. package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
  1382. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts +27 -0
  1383. package/dist/types/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
  1384. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
  1385. package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
  1386. package/dist/types/features/PdfViewer/PdfContainer.d.ts +16 -0
  1387. package/dist/types/features/PdfViewer/PdfContainer.d.ts.map +1 -0
  1388. package/dist/types/features/PdfViewer/PdfStyle.d.ts +33 -0
  1389. package/dist/types/features/PdfViewer/PdfStyle.d.ts.map +1 -0
  1390. package/dist/types/features/PdfViewer/PdfToolbar.d.ts +34 -0
  1391. package/dist/types/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
  1392. package/dist/types/features/PdfViewer/PdfViewer.d.ts +94 -0
  1393. package/dist/types/features/PdfViewer/PdfViewer.d.ts.map +1 -0
  1394. package/dist/types/features/PdfViewer/rotationManager.d.ts +23 -0
  1395. package/dist/types/features/PdfViewer/rotationManager.d.ts.map +1 -0
  1396. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts +25 -0
  1397. package/dist/types/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
  1398. package/dist/types/features/PdfViewer/zoomStateManager.d.ts +21 -0
  1399. package/dist/types/features/PdfViewer/zoomStateManager.d.ts.map +1 -0
  1400. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
  1401. package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
  1402. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
  1403. package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
  1404. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
  1405. package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
  1406. package/dist/types/features/PromptCitation/PromptCitation.d.ts +326 -0
  1407. package/dist/types/features/PromptCitation/PromptCitation.d.ts.map +1 -0
  1408. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
  1409. package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
  1410. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
  1411. package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
  1412. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
  1413. package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
  1414. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +23 -0
  1415. package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
  1416. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
  1417. package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
  1418. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +125 -0
  1419. package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
  1420. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +6 -0
  1421. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
  1422. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
  1423. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
  1424. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
  1425. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
  1426. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
  1427. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
  1428. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
  1429. package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
  1430. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
  1431. package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
  1432. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
  1433. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
  1434. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
  1435. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
  1436. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
  1437. package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
  1438. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
  1439. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
  1440. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
  1441. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
  1442. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
  1443. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
  1444. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
  1445. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
  1446. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
  1447. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
  1448. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
  1449. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
  1450. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
  1451. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
  1452. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +6 -0
  1453. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
  1454. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
  1455. package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
  1456. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +207 -0
  1457. package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
  1458. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +31 -0
  1459. package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
  1460. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
  1461. package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
  1462. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +45 -0
  1463. package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
  1464. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +47 -0
  1465. package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
  1466. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +16 -0
  1467. package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
  1468. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
  1469. package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
  1470. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts +52 -0
  1471. package/dist/types/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
  1472. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
  1473. package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
  1474. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
  1475. package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
  1476. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
  1477. package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
  1478. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +52 -0
  1479. package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
  1480. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts +71 -0
  1481. package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
  1482. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts +11 -0
  1483. package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
  1484. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts +16 -0
  1485. package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
  1486. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +134 -0
  1487. package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
  1488. package/dist/types/features/SPBAnalysisPanel/index.d.ts +10 -0
  1489. package/dist/types/features/SPBAnalysisPanel/index.d.ts.map +1 -0
  1490. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts +56 -0
  1491. package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
  1492. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
  1493. package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
  1494. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
  1495. package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
  1496. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +2 -0
  1497. package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
  1498. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
  1499. package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
  1500. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
  1501. package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
  1502. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
  1503. package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
  1504. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
  1505. package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
  1506. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
  1507. package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
  1508. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
  1509. package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
  1510. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
  1511. package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
  1512. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
  1513. package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
  1514. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
  1515. package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
  1516. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
  1517. package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
  1518. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
  1519. package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
  1520. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
  1521. package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
  1522. package/dist/types/features/SegmentReviewComponents/helper.d.ts +51 -0
  1523. package/dist/types/features/SegmentReviewComponents/helper.d.ts.map +1 -0
  1524. package/dist/types/features/SegmentReviewComponents/index.d.ts +23 -0
  1525. package/dist/types/features/SegmentReviewComponents/index.d.ts.map +1 -0
  1526. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
  1527. package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
  1528. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
  1529. package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
  1530. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
  1531. package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
  1532. package/dist/types/features/SplitterCitations/icons/icons.d.ts +17 -0
  1533. package/dist/types/features/SplitterCitations/icons/icons.d.ts.map +1 -0
  1534. package/dist/types/features/SplitterCitations/types.d.ts +77 -0
  1535. package/dist/types/features/SplitterCitations/types.d.ts.map +1 -0
  1536. package/dist/types/features/TableCitation/TableCitationContent.d.ts +14 -0
  1537. package/dist/types/features/TableCitation/TableCitationContent.d.ts.map +1 -0
  1538. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
  1539. package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
  1540. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
  1541. package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
  1542. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
  1543. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
  1544. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
  1545. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
  1546. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1107 -0
  1547. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
  1548. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
  1549. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
  1550. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
  1551. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
  1552. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
  1553. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
  1554. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
  1555. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
  1556. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
  1557. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
  1558. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
  1559. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
  1560. package/dist/types/features/UploadData/main.d.ts +9 -0
  1561. package/dist/types/features/UploadData/main.d.ts.map +1 -0
  1562. package/dist/types/hooks/useOnDemandCitationFetch.d.ts +11 -0
  1563. package/dist/types/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
  1564. package/dist/types/index.d.ts +63 -0
  1565. package/dist/types/index.d.ts.map +1 -0
  1566. package/dist/types/lib/ui/icons.d.ts +46 -0
  1567. package/dist/types/lib/ui/icons.d.ts.map +1 -0
  1568. package/dist/types/lib/ui/materialCompat.d.ts +117 -0
  1569. package/dist/types/lib/ui/materialCompat.d.ts.map +1 -0
  1570. package/dist/types/methodsToExpose.d.ts +18 -0
  1571. package/dist/types/methodsToExpose.d.ts.map +1 -0
  1572. package/dist/types/onDemandApi.types.js +1 -1
  1573. package/dist/types/onDemandApi.types.js.map +1 -1
  1574. package/dist/types/service/API.d.ts +6 -0
  1575. package/dist/types/service/API.d.ts.map +1 -0
  1576. package/dist/types/service/DataService.d.ts +73 -0
  1577. package/dist/types/service/DataService.d.ts.map +1 -0
  1578. package/dist/types/service/ModelService.d.ts +68 -0
  1579. package/dist/types/service/ModelService.d.ts.map +1 -0
  1580. package/dist/types/service/ProjectService.d.ts +16 -0
  1581. package/dist/types/service/ProjectService.d.ts.map +1 -0
  1582. package/dist/types/service/SavedDataSetService.d.ts +27 -0
  1583. package/dist/types/service/SavedDataSetService.d.ts.map +1 -0
  1584. package/dist/types/service/apicache.service.d.ts +43 -0
  1585. package/dist/types/service/apicache.service.d.ts.map +1 -0
  1586. package/dist/types/service/constants.d.ts +3 -0
  1587. package/dist/types/service/constants.d.ts.map +1 -0
  1588. package/dist/types/service/envHelperService.d.ts +5 -0
  1589. package/dist/types/service/envHelperService.d.ts.map +1 -0
  1590. package/dist/types/service/onDemandApi.d.ts +27 -0
  1591. package/dist/types/service/onDemandApi.d.ts.map +1 -0
  1592. package/dist/types/service/variableHelperService.d.ts +6 -0
  1593. package/dist/types/service/variableHelperService.d.ts.map +1 -0
  1594. package/dist/types/theme.d.ts +4 -0
  1595. package/dist/types/theme.d.ts.map +1 -0
  1596. package/dist/types/types/CodeCitationTypes.d.ts +46 -0
  1597. package/dist/types/types/CodeCitationTypes.d.ts.map +1 -0
  1598. package/dist/types/types/onDemandApi.types.d.ts +63 -0
  1599. package/dist/types/types/onDemandApi.types.d.ts.map +1 -0
  1600. package/dist/types/types/useOnDemandCitationFetch.types.d.ts +70 -0
  1601. package/dist/types/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
  1602. package/dist/types/userProvidedConfig.d.ts +8 -0
  1603. package/dist/types/userProvidedConfig.d.ts.map +1 -0
  1604. package/dist/types/utils/api.d.ts +2 -0
  1605. package/dist/types/utils/api.d.ts.map +1 -0
  1606. package/dist/types/utils/codeCitations.utils.d.ts +9 -0
  1607. package/dist/types/utils/codeCitations.utils.d.ts.map +1 -0
  1608. package/dist/types/utils/sanitizeHtml.d.ts +5 -0
  1609. package/dist/types/utils/sanitizeHtml.d.ts.map +1 -0
  1610. package/dist/types/utils/themeManager.d.ts +13 -0
  1611. package/dist/types/utils/themeManager.d.ts.map +1 -0
  1612. package/dist/utils/codeCitations.utils.js +1 -1
  1613. package/dist/utils/codeCitations.utils.js.map +1 -1
  1614. package/dist/utils/sanitizeHtml.js +1 -1
  1615. package/dist/utils/sanitizeHtml.js.map +1 -1
  1616. package/dist/utils/themeManager.js +1 -1
  1617. package/dist/utils/themeManager.js.map +1 -1
  1618. package/package.json +135 -278
  1619. package/dist/types/src/AccordianHeadTest.d.ts +0 -2
  1620. package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
  1621. package/dist/types/src/App.d.ts +0 -3
  1622. package/dist/types/src/App.d.ts.map +0 -1
  1623. package/dist/types/src/AutopilotStyle.d.ts +0 -2
  1624. package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
  1625. package/dist/types/src/BookCitationTest.d.ts +0 -3
  1626. package/dist/types/src/BookCitationTest.d.ts.map +0 -1
  1627. package/dist/types/src/BookemonTest.d.ts +0 -83
  1628. package/dist/types/src/BookemonTest.d.ts.map +0 -1
  1629. package/dist/types/src/ChatCitationTest.d.ts +0 -7
  1630. package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
  1631. package/dist/types/src/ChatDrawerTest.d.ts +0 -17
  1632. package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
  1633. package/dist/types/src/CitationDependencyGraphTest.d.ts +0 -4
  1634. package/dist/types/src/CitationDependencyGraphTest.d.ts.map +0 -1
  1635. package/dist/types/src/CodeCitationTest.d.ts +0 -3
  1636. package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
  1637. package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
  1638. package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
  1639. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
  1640. package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
  1641. package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
  1642. package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
  1643. package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
  1644. package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
  1645. package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
  1646. package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
  1647. package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
  1648. package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
  1649. package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
  1650. package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
  1651. package/dist/types/src/CustomStylesProvider.d.ts +0 -6
  1652. package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
  1653. package/dist/types/src/CustomThemeProvider.d.ts +0 -7
  1654. package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
  1655. package/dist/types/src/DatagestMonTest.d.ts +0 -3
  1656. package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
  1657. package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
  1658. package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
  1659. package/dist/types/src/EmailCitationTest.d.ts +0 -3
  1660. package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
  1661. package/dist/types/src/ExcelCitationTest.d.ts +0 -2
  1662. package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
  1663. package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
  1664. package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
  1665. package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
  1666. package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
  1667. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
  1668. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
  1669. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
  1670. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
  1671. package/dist/types/src/PdfViewerTest.d.ts +0 -5
  1672. package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
  1673. package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
  1674. package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
  1675. package/dist/types/src/PromptemonBlockViewerTest.d.ts +0 -3
  1676. package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +0 -1
  1677. package/dist/types/src/PromptemonViewerTest.d.ts +0 -3
  1678. package/dist/types/src/PromptemonViewerTest.d.ts.map +0 -1
  1679. package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
  1680. package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
  1681. package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
  1682. package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
  1683. package/dist/types/src/Spbanalysispaneltest.d.ts +0 -3
  1684. package/dist/types/src/Spbanalysispaneltest.d.ts.map +0 -1
  1685. package/dist/types/src/TableCitationTest.d.ts +0 -3
  1686. package/dist/types/src/TableCitationTest.d.ts.map +0 -1
  1687. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +0 -3
  1688. package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +0 -1
  1689. package/dist/types/src/assests/icons/CitationsIcon.d.ts +0 -2
  1690. package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +0 -1
  1691. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +0 -10
  1692. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts.map +0 -1
  1693. package/dist/types/src/assests/icons/InfoAlert.d.ts +0 -3
  1694. package/dist/types/src/assests/icons/InfoAlert.d.ts.map +0 -1
  1695. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
  1696. package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
  1697. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +0 -9
  1698. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +0 -1
  1699. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -6
  1700. package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
  1701. package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
  1702. package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
  1703. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
  1704. package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
  1705. package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
  1706. package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
  1707. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +0 -5
  1708. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +0 -1
  1709. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +0 -230
  1710. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +0 -1
  1711. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +0 -6
  1712. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +0 -1
  1713. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +0 -4
  1714. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +0 -1
  1715. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +0 -4
  1716. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +0 -1
  1717. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +0 -4
  1718. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +0 -1
  1719. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +0 -15
  1720. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +0 -1
  1721. package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
  1722. package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
  1723. package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
  1724. package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
  1725. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
  1726. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
  1727. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
  1728. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
  1729. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
  1730. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
  1731. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
  1732. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
  1733. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
  1734. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
  1735. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
  1736. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
  1737. package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
  1738. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
  1739. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
  1740. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
  1741. package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
  1742. package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
  1743. package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
  1744. package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
  1745. package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
  1746. package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
  1747. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
  1748. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
  1749. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
  1750. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
  1751. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
  1752. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
  1753. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
  1754. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
  1755. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
  1756. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
  1757. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -16
  1758. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
  1759. package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
  1760. package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
  1761. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
  1762. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
  1763. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
  1764. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
  1765. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
  1766. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
  1767. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
  1768. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
  1769. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
  1770. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
  1771. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
  1772. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
  1773. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
  1774. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
  1775. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
  1776. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
  1777. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
  1778. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
  1779. package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
  1780. package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
  1781. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
  1782. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
  1783. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -114
  1784. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
  1785. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
  1786. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
  1787. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
  1788. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
  1789. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
  1790. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
  1791. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
  1792. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
  1793. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
  1794. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
  1795. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
  1796. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
  1797. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
  1798. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
  1799. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
  1800. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
  1801. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
  1802. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
  1803. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
  1804. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
  1805. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
  1806. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
  1807. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
  1808. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
  1809. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
  1810. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
  1811. package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
  1812. package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
  1813. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
  1814. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
  1815. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
  1816. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
  1817. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
  1818. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
  1819. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
  1820. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
  1821. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
  1822. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
  1823. package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
  1824. package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
  1825. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -51
  1826. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
  1827. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
  1828. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
  1829. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -34
  1830. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
  1831. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
  1832. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
  1833. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
  1834. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
  1835. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
  1836. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
  1837. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  1838. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  1839. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts +0 -8
  1840. package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +0 -1
  1841. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
  1842. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
  1843. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
  1844. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
  1845. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
  1846. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
  1847. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
  1848. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
  1849. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
  1850. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
  1851. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
  1852. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
  1853. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -30
  1854. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
  1855. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -13
  1856. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
  1857. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
  1858. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
  1859. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
  1860. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
  1861. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
  1862. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
  1863. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -322
  1864. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
  1865. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -83
  1866. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
  1867. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
  1868. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
  1869. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -72
  1870. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
  1871. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +0 -3
  1872. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +0 -1
  1873. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +0 -8
  1874. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +0 -1
  1875. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +0 -2524
  1876. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +0 -1
  1877. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
  1878. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
  1879. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +0 -6
  1880. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +0 -1
  1881. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
  1882. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
  1883. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -19
  1884. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
  1885. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
  1886. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
  1887. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
  1888. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
  1889. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
  1890. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
  1891. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
  1892. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
  1893. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
  1894. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
  1895. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
  1896. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
  1897. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
  1898. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
  1899. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
  1900. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
  1901. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -14
  1902. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
  1903. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -37
  1904. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
  1905. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
  1906. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
  1907. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -9
  1908. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
  1909. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
  1910. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
  1911. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
  1912. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
  1913. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -20
  1914. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
  1915. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
  1916. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
  1917. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
  1918. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
  1919. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
  1920. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
  1921. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
  1922. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
  1923. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
  1924. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
  1925. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
  1926. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
  1927. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
  1928. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
  1929. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -16
  1930. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
  1931. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
  1932. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
  1933. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
  1934. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
  1935. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
  1936. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
  1937. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
  1938. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
  1939. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
  1940. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
  1941. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -20
  1942. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
  1943. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -27
  1944. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
  1945. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
  1946. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
  1947. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +0 -162
  1948. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +0 -1
  1949. package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
  1950. package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
  1951. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
  1952. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
  1953. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
  1954. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
  1955. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
  1956. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
  1957. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
  1958. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
  1959. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
  1960. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
  1961. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
  1962. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
  1963. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
  1964. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
  1965. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
  1966. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
  1967. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
  1968. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
  1969. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
  1970. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
  1971. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
  1972. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
  1973. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
  1974. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
  1975. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
  1976. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
  1977. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +0 -20
  1978. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +0 -1
  1979. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +0 -31
  1980. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +0 -1
  1981. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +0 -36
  1982. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +0 -1
  1983. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
  1984. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
  1985. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
  1986. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
  1987. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
  1988. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
  1989. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
  1990. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
  1991. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +0 -15
  1992. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +0 -1
  1993. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +0 -16
  1994. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +0 -1
  1995. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +0 -10
  1996. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +0 -1
  1997. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +0 -9
  1998. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +0 -1
  1999. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +0 -14
  2000. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +0 -1
  2001. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +0 -4
  2002. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +0 -1
  2003. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +0 -4
  2004. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +0 -1
  2005. package/dist/types/src/features/GptWebCitation/types.d.ts +0 -405
  2006. package/dist/types/src/features/GptWebCitation/types.d.ts.map +0 -1
  2007. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +0 -10
  2008. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +0 -1
  2009. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -10
  2010. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +0 -1
  2011. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +0 -6
  2012. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +0 -1
  2013. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -28
  2014. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
  2015. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
  2016. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
  2017. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
  2018. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
  2019. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +0 -5
  2020. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +0 -1
  2021. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +0 -10
  2022. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +0 -1
  2023. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +0 -2
  2024. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +0 -1
  2025. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +0 -23
  2026. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +0 -1
  2027. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +0 -6
  2028. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +0 -1
  2029. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +0 -13
  2030. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +0 -1
  2031. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +0 -13
  2032. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +0 -1
  2033. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +0 -5
  2034. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +0 -1
  2035. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +0 -12
  2036. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +0 -1
  2037. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +0 -356
  2038. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +0 -1
  2039. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
  2040. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
  2041. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
  2042. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
  2043. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
  2044. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
  2045. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
  2046. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
  2047. package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
  2048. package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
  2049. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
  2050. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
  2051. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
  2052. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
  2053. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
  2054. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
  2055. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
  2056. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
  2057. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -16
  2058. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
  2059. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
  2060. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
  2061. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -34
  2062. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
  2063. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -94
  2064. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
  2065. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +0 -41
  2066. package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +0 -1
  2067. package/dist/types/src/features/PdfViewer/rotationManager.d.ts +0 -23
  2068. package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
  2069. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
  2070. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
  2071. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
  2072. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
  2073. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
  2074. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
  2075. package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
  2076. package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
  2077. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +0 -56
  2078. package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +0 -1
  2079. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +0 -326
  2080. package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +0 -1
  2081. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +0 -4
  2082. package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +0 -1
  2083. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +0 -30
  2084. package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +0 -1
  2085. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  2086. package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  2087. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +0 -23
  2088. package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +0 -1
  2089. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +0 -12
  2090. package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +0 -1
  2091. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +0 -8
  2092. package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +0 -1
  2093. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +0 -24
  2094. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +0 -1
  2095. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +0 -3
  2096. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +0 -1
  2097. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +0 -43
  2098. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +0 -1
  2099. package/dist/types/src/features/PromptemonViewer/index.d.ts +0 -3
  2100. package/dist/types/src/features/PromptemonViewer/index.d.ts.map +0 -1
  2101. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
  2102. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
  2103. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
  2104. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
  2105. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
  2106. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
  2107. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
  2108. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
  2109. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
  2110. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
  2111. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
  2112. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
  2113. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
  2114. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
  2115. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
  2116. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
  2117. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
  2118. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
  2119. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
  2120. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
  2121. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
  2122. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
  2123. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
  2124. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
  2125. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
  2126. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
  2127. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
  2128. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
  2129. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
  2130. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
  2131. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
  2132. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
  2133. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
  2134. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
  2135. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
  2136. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
  2137. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
  2138. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
  2139. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
  2140. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
  2141. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
  2142. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
  2143. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
  2144. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
  2145. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
  2146. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
  2147. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
  2148. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
  2149. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
  2150. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
  2151. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
  2152. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
  2153. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
  2154. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
  2155. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
  2156. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
  2157. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +0 -40
  2158. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +0 -1
  2159. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +0 -18
  2160. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +0 -1
  2161. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +0 -26
  2162. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +0 -1
  2163. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -1
  2164. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +0 -1
  2165. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +0 -52
  2166. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +0 -1
  2167. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +0 -71
  2168. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +0 -1
  2169. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +0 -11
  2170. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +0 -1
  2171. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +0 -16
  2172. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +0 -1
  2173. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +0 -124
  2174. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +0 -1
  2175. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +0 -10
  2176. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +0 -1
  2177. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
  2178. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
  2179. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +0 -85
  2180. package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +0 -1
  2181. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +0 -26
  2182. package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +0 -1
  2183. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +0 -3
  2184. package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +0 -1
  2185. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +0 -3
  2186. package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +0 -1
  2187. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +0 -33
  2188. package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +0 -1
  2189. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +0 -7
  2190. package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +0 -1
  2191. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +0 -87
  2192. package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +0 -1
  2193. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +0 -57
  2194. package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
  2195. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +0 -28
  2196. package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +0 -1
  2197. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +0 -37
  2198. package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +0 -1
  2199. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +0 -9
  2200. package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +0 -1
  2201. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +0 -7
  2202. package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +0 -1
  2203. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +0 -17
  2204. package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +0 -1
  2205. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +0 -33
  2206. package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +0 -1
  2207. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +0 -124
  2208. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +0 -1
  2209. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +0 -13
  2210. package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +0 -1
  2211. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +0 -51
  2212. package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +0 -1
  2213. package/dist/types/src/features/SegmentReviewComponents/index.d.ts +0 -23
  2214. package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +0 -1
  2215. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +0 -4
  2216. package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +0 -1
  2217. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -243
  2218. package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
  2219. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -5
  2220. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
  2221. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
  2222. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
  2223. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +0 -17
  2224. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +0 -1
  2225. package/dist/types/src/features/SplitterCitations/types.d.ts +0 -78
  2226. package/dist/types/src/features/SplitterCitations/types.d.ts.map +0 -1
  2227. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
  2228. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
  2229. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
  2230. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
  2231. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -25
  2232. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
  2233. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +0 -81
  2234. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +0 -1
  2235. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
  2236. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
  2237. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
  2238. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
  2239. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
  2240. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
  2241. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
  2242. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
  2243. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
  2244. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
  2245. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
  2246. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
  2247. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
  2248. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
  2249. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
  2250. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
  2251. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
  2252. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
  2253. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
  2254. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
  2255. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
  2256. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
  2257. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
  2258. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
  2259. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
  2260. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
  2261. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
  2262. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
  2263. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
  2264. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
  2265. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
  2266. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
  2267. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
  2268. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
  2269. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
  2270. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
  2271. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
  2272. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
  2273. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
  2274. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
  2275. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
  2276. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
  2277. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
  2278. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
  2279. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
  2280. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
  2281. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
  2282. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
  2283. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
  2284. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
  2285. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
  2286. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
  2287. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
  2288. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
  2289. package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
  2290. package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
  2291. package/dist/types/src/features/UploadData/main.d.ts +0 -10
  2292. package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
  2293. package/dist/types/src/hooks/useDebounce.d.ts +0 -2
  2294. package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
  2295. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +0 -11
  2296. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +0 -1
  2297. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +0 -4
  2298. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +0 -1
  2299. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
  2300. package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
  2301. package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
  2302. package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
  2303. package/dist/types/src/index.d.ts +0 -63
  2304. package/dist/types/src/index.d.ts.map +0 -1
  2305. package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
  2306. package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
  2307. package/dist/types/src/methodsToExpose.d.ts +0 -13
  2308. package/dist/types/src/methodsToExpose.d.ts.map +0 -1
  2309. package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
  2310. package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
  2311. package/dist/types/src/routes/Routes.d.ts +0 -2
  2312. package/dist/types/src/routes/Routes.d.ts.map +0 -1
  2313. package/dist/types/src/service/API.d.ts +0 -6
  2314. package/dist/types/src/service/API.d.ts.map +0 -1
  2315. package/dist/types/src/service/DataService.d.ts +0 -73
  2316. package/dist/types/src/service/DataService.d.ts.map +0 -1
  2317. package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
  2318. package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
  2319. package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
  2320. package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
  2321. package/dist/types/src/service/ModelService.d.ts +0 -68
  2322. package/dist/types/src/service/ModelService.d.ts.map +0 -1
  2323. package/dist/types/src/service/ProjectService.d.ts +0 -16
  2324. package/dist/types/src/service/ProjectService.d.ts.map +0 -1
  2325. package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
  2326. package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
  2327. package/dist/types/src/service/apicache.service.d.ts +0 -43
  2328. package/dist/types/src/service/apicache.service.d.ts.map +0 -1
  2329. package/dist/types/src/service/constants.d.ts +0 -3
  2330. package/dist/types/src/service/constants.d.ts.map +0 -1
  2331. package/dist/types/src/service/envHelperService.d.ts +0 -5
  2332. package/dist/types/src/service/envHelperService.d.ts.map +0 -1
  2333. package/dist/types/src/service/onDemandApi.d.ts +0 -27
  2334. package/dist/types/src/service/onDemandApi.d.ts.map +0 -1
  2335. package/dist/types/src/service/variableHelperService.d.ts +0 -6
  2336. package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
  2337. package/dist/types/src/theme.d.ts +0 -4
  2338. package/dist/types/src/theme.d.ts.map +0 -1
  2339. package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
  2340. package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
  2341. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
  2342. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
  2343. package/dist/types/src/types/epubItems.d.ts +0 -23
  2344. package/dist/types/src/types/epubItems.d.ts.map +0 -1
  2345. package/dist/types/src/types/onDemandApi.types.d.ts +0 -63
  2346. package/dist/types/src/types/onDemandApi.types.d.ts.map +0 -1
  2347. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +0 -70
  2348. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +0 -1
  2349. package/dist/types/src/userProvidedConfig.d.ts +0 -8
  2350. package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
  2351. package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
  2352. package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
  2353. package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
  2354. package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
  2355. package/dist/types/src/utils/api.d.ts +0 -2
  2356. package/dist/types/src/utils/api.d.ts.map +0 -1
  2357. package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
  2358. package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
  2359. package/dist/types/src/utils/colors.d.ts +0 -5
  2360. package/dist/types/src/utils/colors.d.ts.map +0 -1
  2361. package/dist/types/src/utils/date.d.ts +0 -1
  2362. package/dist/types/src/utils/date.d.ts.map +0 -1
  2363. package/dist/types/src/utils/helperFunctions.d.ts +0 -6
  2364. package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
  2365. package/dist/types/src/utils/regexHelperService.d.ts +0 -9
  2366. package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
  2367. package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
  2368. package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
  2369. package/dist/types/src/utils/themeManager.d.ts +0 -13
  2370. package/dist/types/src/utils/themeManager.d.ts.map +0 -1
  2371. package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
  2372. package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
  2373. package/dist/types/src/utils/variableHelperService.d.ts +0 -7
  2374. package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"useDeviationNavigation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"useDeviationNavigation.js","sources":["../../../../../src/features/CognitiveCompare/hooks/useDeviationNavigation.ts"],"sourcesContent":["import React, { useCallback, useEffect, useRef, useState } from \"react\";\nimport { DEVIATION_BADGE_SEPARATOR, debounce, smoothScrollTo } from \"../CognitiveComparehelpers\";\nimport { SectionBlock } from \"../CognitiveCompareTypes\";\n\nexport type DeviationNavigationEntry = {\n showAbove: boolean;\n showAboveRef: React.RefObject<HTMLDivElement> | null;\n showBelow: boolean;\n showBelowRef: React.RefObject<HTMLDivElement> | null;\n firstDeviationRef: React.RefObject<HTMLDivElement> | null;\n firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null;\n columnKey: \"left\" | \"right\";\n};\n\ntype UseDeviationNavigationParams = {\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n parentDeviationRecord: Record<string, SectionBlock[]>;\n expandedSections: Record<string, boolean>;\n maintainRelativeOrder: boolean;\n scrollContainerRef: React.RefObject<HTMLDivElement>;\n leftContainerRef: React.RefObject<HTMLDivElement>;\n rightContainerRef: React.RefObject<HTMLDivElement>;\n lhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n rhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n};\n\nexport const useDeviationNavigation = ({\n proposedSections,\n existingSections,\n parentDeviationRecord,\n expandedSections,\n maintainRelativeOrder,\n scrollContainerRef,\n leftContainerRef,\n rightContainerRef,\n lhsBadgeRefs,\n rhsBadgeRefs,\n}: UseDeviationNavigationParams) => {\n const [showDeviationNavigation, setShowDeviationNavigation] = useState<\n Record<string, DeviationNavigationEntry>\n >({});\n const showOpenNodeRef = useRef<string | undefined>();\n\n useEffect(() => {\n if (!scrollContainerRef.current) return;\n\n const scrollElement = maintainRelativeOrder\n ? leftContainerRef.current\n : scrollContainerRef.current;\n if (!scrollElement) return;\n\n let debouncedHandleScroll: (() => void) | null = null;\n const timer = setTimeout(() => {\n const getPositionInContainer = (\n element: HTMLElement,\n container: HTMLElement,\n ) => {\n const rect = element.getBoundingClientRect();\n const parentRect = container.getBoundingClientRect();\n if (rect.bottom < parentRect.top) return \"above\";\n if (rect.top > parentRect.bottom) return \"below\";\n return \"inside\";\n };\n\n const handleScroll = () => {\n setShowDeviationNavigation((prev) => {\n const next = { ...prev };\n\n proposedSections.forEach((section, idx) => {\n const isExpanded = maintainRelativeOrder\n ? !!expandedSections[`left-${idx}`]\n : !!expandedSections[String(idx)];\n let showAbove = false;\n let showBelow = false;\n let showAboveRef: React.RefObject<HTMLDivElement> | null = null;\n let showBelowRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null = null;\n\n if (isExpanded && section?.id) {\n (parentDeviationRecord[section.id] || []).forEach((child) => {\n const refId = `${child.id}${DEVIATION_BADGE_SEPARATOR}0`;\n const ref = lhsBadgeRefs.current[refId];\n if (!ref?.current) return;\n const pos = getPositionInContainer(ref.current, scrollElement);\n if (!firstDeviationRef) {\n firstDeviationRef = ref;\n firstDeviationPosition = pos;\n }\n if (pos === \"above\") {\n showAbove = true;\n showAboveRef = ref;\n } else if (pos === \"below\" && !showBelow) {\n showBelow = true;\n showBelowRef = ref;\n } else if (showOpenNodeRef.current === section.id) {\n showOpenNodeRef.current = \"\";\n }\n });\n }\n\n if (section.id) {\n next[section.id] = {\n showAbove,\n showBelow,\n showAboveRef,\n showBelowRef,\n firstDeviationRef,\n firstDeviationPosition,\n columnKey: \"left\",\n };\n }\n });\n\n if (maintainRelativeOrder) {\n return next;\n }\n\n existingSections.forEach((section, idx) => {\n const isExpanded = !!expandedSections[String(idx)];\n let showAbove = false;\n let showBelow = false;\n let showAboveRef: React.RefObject<HTMLDivElement> | null = null;\n let showBelowRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null = null;\n\n if (isExpanded && section?.id) {\n (parentDeviationRecord[section.id] || []).forEach((child) => {\n const isChildOrphan =\n !child.refIndexes?.length ||\n (child.selfIndex !== undefined && child.selfIndex < 0);\n const refId = `${child.id}${DEVIATION_BADGE_SEPARATOR}0`;\n const ref = rhsBadgeRefs.current[refId];\n if (\n !ref?.current ||\n !isChildOrphan ||\n !section?.id\n ) {\n return;\n }\n\n const pos = getPositionInContainer(ref.current, scrollElement);\n if (!firstDeviationRef) {\n firstDeviationRef = ref;\n firstDeviationPosition = pos;\n }\n if (pos === \"above\") {\n const currentAboveRef = next[section.id]?.showAboveRef?.current;\n if (\n !currentAboveRef ||\n currentAboveRef.getBoundingClientRect().top <\n ref.current.getBoundingClientRect().top\n ) {\n showAbove = true;\n showAboveRef = ref;\n }\n } else if (pos === \"below\" && !showBelow) {\n const currentBelowRef = next[section.id]?.showBelowRef?.current;\n if (\n !currentBelowRef ||\n currentBelowRef.getBoundingClientRect().top >\n ref.current.getBoundingClientRect().top\n ) {\n showBelow = true;\n showBelowRef = ref;\n }\n } else if (showOpenNodeRef.current === section.id) {\n showOpenNodeRef.current = \"\";\n }\n });\n }\n\n if (section.id && isExpanded) {\n if (showAbove) {\n next[section.id] = next[section.id] || {\n showAbove: false,\n showAboveRef: null,\n showBelow: false,\n showBelowRef: null,\n firstDeviationRef: null,\n firstDeviationPosition: null,\n columnKey: \"right\",\n };\n next[section.id].showAbove = showAbove;\n next[section.id].showAboveRef = showAboveRef;\n next[section.id].firstDeviationRef = firstDeviationRef;\n next[section.id].firstDeviationPosition = firstDeviationPosition;\n next[section.id].columnKey = \"right\";\n }\n if (showBelow) {\n next[section.id] = next[section.id] || {\n showAbove: false,\n showAboveRef: null,\n showBelow: false,\n showBelowRef: null,\n firstDeviationRef: null,\n firstDeviationPosition: null,\n columnKey: \"right\",\n };\n next[section.id].showBelow = showBelow;\n next[section.id].showBelowRef = showBelowRef;\n next[section.id].firstDeviationRef = firstDeviationRef;\n next[section.id].firstDeviationPosition = firstDeviationPosition;\n next[section.id].columnKey = \"right\";\n }\n }\n });\n\n return next;\n });\n };\n\n debouncedHandleScroll = debounce(handleScroll, 100);\n debouncedHandleScroll();\n scrollElement?.addEventListener(\"scroll\", debouncedHandleScroll);\n }, 0);\n\n return () => {\n clearTimeout(timer);\n if (debouncedHandleScroll) {\n scrollElement.removeEventListener(\"scroll\", debouncedHandleScroll);\n }\n };\n }, [\n proposedSections,\n existingSections,\n parentDeviationRecord,\n expandedSections,\n maintainRelativeOrder,\n scrollContainerRef,\n leftContainerRef,\n lhsBadgeRefs,\n rhsBadgeRefs,\n ]);\n\n // Centralized scroll adjuster for popups\n const adjustScrollForPopup = useCallback((\n anchorEl: HTMLElement | null,\n onComplete: () => void,\n options?: { skipScroll?: boolean },\n ) => {\n if (options?.skipScroll) {\n onComplete();\n return;\n }\n if (!anchorEl) {\n onComplete();\n return;\n }\n // 1. Determine the primary container to measure the boundary threshold against\n let primaryContainer: HTMLElement | null = scrollContainerRef.current;\n if (maintainRelativeOrder) {\n if (leftContainerRef.current?.contains(anchorEl)) {\n primaryContainer = leftContainerRef.current;\n } else if (rightContainerRef.current?.contains(anchorEl)) {\n primaryContainer = rightContainerRef.current;\n }\n }\n\n if (!primaryContainer) {\n onComplete();\n return;\n }\n\n const rect = anchorEl.getBoundingClientRect();\n const containerRect = primaryContainer.getBoundingClientRect();\n const bottomThreshold = containerRect.bottom - (containerRect.height * 0.35);\n const topThreshold = containerRect.top + (containerRect.height * 0.35);\n\n if (rect.top > bottomThreshold || rect.top < topThreshold) {\n const targetViewY = containerRect.top + (containerRect.height / 2);\n const currentViewY = rect.top + (rect.height / 2);\n const scrollOffset = currentViewY - targetViewY;\n const ANIM_SPEED = 250;\n\n if (maintainRelativeOrder) {\n const leftC = leftContainerRef.current;\n const rightC = rightContainerRef.current;\n \n // Smoothly scroll both columns, but only attach the onComplete \n // callback to one of them so the popup doesn't open twice.\n if (leftC && rightC) {\n smoothScrollTo(rightC, rightC.scrollTop + scrollOffset, ANIM_SPEED);\n smoothScrollTo(leftC, leftC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else if (leftC) {\n smoothScrollTo(leftC, leftC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else if (rightC) {\n smoothScrollTo(rightC, rightC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else {\n onComplete();\n }\n } else {\n if (scrollContainerRef.current) {\n smoothScrollTo(\n scrollContainerRef.current, \n scrollContainerRef.current.scrollTop + scrollOffset, \n ANIM_SPEED, \n onComplete\n );\n } else {\n onComplete();\n }\n }\n } else {\n // If no scrolling is needed, execute the callback immediately\n onComplete();\n }\n }, [maintainRelativeOrder]);\n\n return {\n showDeviationNavigation,\n showOpenNodeRef,\n adjustScrollForPopup,\n };\n};\n"],"names":["proposedSections","existingSections","parentDeviationRecord","expandedSections","maintainRelativeOrder","scrollContainerRef","leftContainerRef","rightContainerRef","lhsBadgeRefs","rhsBadgeRefs","showDeviationNavigation","setShowDeviationNavigation","useState","showOpenNodeRef","useRef","useEffect","current","scrollElement","debouncedHandleScroll","timer","setTimeout","getPositionInContainer","element","container","rect","getBoundingClientRect","parentRect","bottom","top","debounce","prev","next","forEach","section","idx","isExpanded","String","showAbove","showBelow","showAboveRef","showBelowRef","firstDeviationRef","firstDeviationPosition","id","child","refId","DEVIATION_BADGE_SEPARATOR","ref","pos","columnKey","isChildOrphan","refIndexes","length","selfIndex","currentAboveRef","currentBelowRef","addEventListener","clearTimeout","removeEventListener","adjustScrollForPopup","useCallback","anchorEl","onComplete","options","skipScroll","primaryContainer","contains","containerRect","bottomThreshold","height","topThreshold","targetViewY","scrollOffset","ANIM_SPEED","leftC","rightC","smoothScrollTo","scrollTop"],"mappings":"qKA2BsC,EACpCA,mBACAC,mBACAC,wBACAC,mBACAC,wBACAC,qBACAC,mBACAC,oBACAC,eACAC,mBAEA,MAAOC,EAAyBC,GAA8BC,EAAAA,SAE5D,CAAE,GACEC,EAAkBC,EAAAA,SAExBC,EAAAA,UAAU,KACJ,IAACV,EAAmBW,QAAS,OAEjC,MAAMC,EAAgBb,EAClBE,EAAiBU,QACjBX,EAAmBW,QACvB,IAAKC,EAAe,OAEpB,IAAIC,EAA6C,KAC3C,MAAAC,EAAQC,WAAW,KACjB,MAAAC,EAAyB,CAC7BC,EACAC,KAEM,MAAAC,EAAOF,EAAQG,wBACfC,EAAaH,EAAUE,wBAC7B,OAAID,EAAKG,OAASD,EAAWE,IAAY,QACrCJ,EAAKI,IAAMF,EAAWC,OAAe,QAClC,UAwJeT,EAAAW,EAAAA,SArJH,KACnBlB,EAA4BmB,IACpB,MAAAC,EAAO,IAAKD,GAgDlB,OA9CiB9B,EAAAgC,QAAQ,CAACC,EAASC,KACjC,MAAMC,EAAa/B,IACbD,EAAiB,QAAQ+B,OACzB/B,EAAiBiC,OAAOF,IAC9B,IAAIG,GAAY,E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GAASC,WAEX,YADWF,IAGb,IAAKD,EAEH,YADWC,IAIb,IAAIG,EAAuC5D,EAAmBW,QAS9D,GARIZ,IACEE,EAAiBU,SAASkD,SAASL,GACrCI,EAAmB3D,EAAiBU,QAC3BT,EAAkBS,SAASkD,SAASL,KAC7CI,EAAmB1D,EAAkBS,WAIpCiD,EAEH,YADWH,IAIP,MAAAtC,EAAOqC,EAASpC,wBAChB0C,EAAgBF,EAAiBxC,wBACjC2C,EAAkBD,EAAcxC,OAAiC,IAAvBwC,EAAcE,OACxDC,EAAeH,EAAcvC,IAA8B,IAAvBuC,EAAcE,OAExD,GAAI7C,EAAKI,IAAMwC,GAAmB5C,EAAKI,IAAM0C,EAAc,CACzD,MAAMC,EAAcJ,EAAcvC,IAAOuC,EAAcE,OAAS,EAE1DG,EADehD,EAAKI,IAAOJ,EAAK6C,OAAS,EACXE,EAC9BE,EAAa,IAEnB,GAAIrE,EAAuB,CACzB,MAAMsE,EAAQpE,EAAiBU,QACzB2D,EAASpE,EAAkBS,QAI7B0D,GAASC,GACXC,EAAAA,eAAeD,EAAQA,EAAOE,UAAYL,EAAcC,GACxDG,EAAAA,eAAeF,EAAOA,EAAMG,UAAYL,EAAcC,EAAYX,IACzDY,EACTE,EAAAA,eAAeF,EAAOA,EAAMG,UAAYL,EAAcC,EAAYX,GACzDa,EACTC,EAAAA,eAAeD,EAAQA,EAAOE,UAAYL,EAAcC,EAAYX,GAEzDA,GACb,MAEIzD,EAAmBW,QACrB4D,EAAAA,eACEvE,EAAmBW,QACnBX,EAAmBW,QAAQ6D,UAAYL,EACvCC,EACAX,GAGSA,GAEf,MAGWA,KAEZ,CAAC1D,IAEG,MAAA,CACLM,0BACAG,kBACA8C"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("../CognitiveComparehelpers.js");exports.useLinesCalculator=function(n){var i=n.containerRef,r=n.leftContainerRef,c=n.rightContainerRef;n.svgContainerRef;var l=n.pathRefs,o=n.leftHeaderRef,u=n.rightHeaderRef,a=n.proposedSections,d=n.existingSections,s=n.visibleFields,v=n.leftRefs,h=n.rightRefs,g=n.sectionLeftRefs,f=n.sectionRightRefs,p=n.subSectionLeftRefs,b=n.subSectionRightRefs,A=n.lhsBadgeRefs,y=n.rhsBadgeRefs,R=n.sectionRowRefs,x=n.expandedSections,m=n.expandedSubSections,B=n.connectedSections,S=n.isSideBySide,I=n.activeSideBySideSection,T=n.maintainRelativeOrder,C=n.isGuidelineMode,E=n.cognitiveMap,M=n.getSectionCompareStyle,D=n.getSubSectionCompareStyle,O=n.getDeviationStyleByKey,L=n.isArrowVisible,_=n.isAnimatingRef,F=n.isSideBySideRef,N=n.sideBySideCacheRef,H=n.sideBySideLineRef,P=n.activeSideBySideSectionRef,k=n.activeSideBySideRightSectionRef,w=n.connectedLines,G=n.setConnectedLines,V=n.cachedConnectedPositions,Y=n.calculateLinesRef,j=n.resizeTimerRef,z=n.scrollLock,Q=n.scrollSyncLocked,X=n.handleResizeRef,q=n.activeProposed,K=n.existingRule,J=n.analysisData,U=n.pendingScrollTargetRef,W=n.pendingScrollCallbackRef,Z=n.resolvedComparisonConfig,$=n.getFieldData,tt=t.useState([]),et=tt[0],nt=tt[1],it=t.useState(null),rt=it[0],ct=it[1],lt=t.useState([]),ot=lt[0],ut=lt[1],at=null!=w?w:ot,dt=null!=G?G:ut,st=t.useState({width:0,height:0}),vt=st[0],ht=st[1],gt=t.useRef(!1),ft=t.useRef(!1),pt=t.useRef(!1),bt=t.useRef(null),At=t.useRef([]),yt=null!=V?V:At,Rt=function(t,e,n,i,r,c,l){if(Math.abs(i-e)<=1)return c&&l?"M ".concat(t,",").concat(e," L ").concat(n,",").concat(i):c&&!l?"M ".concat(t,",").concat(e," L ").concat(r,",").concat(e):!c&&l?"M ".concat(r,",").concat(e," L ").concat(n,",").concat(i):"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i);var o=Math.min(15,Math.abs(r-t),Math.abs(i-e)/2),u=Math.min(15,Math.abs(n-r),Math.abs(i-e)/2),a=i>e?o:-o,d=i>e?u:-u,s=n>r?u:-u;return c&&l?"M ".concat(t,",").concat(e," L ").concat(r-o,",").concat(e," Q ").concat(r,",").concat(e," ").concat(r,",").concat(e+a," L ").concat(r,",").concat(i-d," Q ").concat(r,",").concat(i," ").concat(r+s,",").concat(i," L ").concat(n,",").concat(i):c&&!l?"M ".concat(t,",").concat(e," L ").concat(r-o,",").concat(e," Q ").concat(r,",").concat(e," ").concat(r,",").concat(e+a," L ").concat(r,",").concat(i):!c&&l?"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i-d," Q ").concat(r,",").concat(i," ").concat(r+s,",").concat(i," L ").concat(n,",").concat(i):"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i)},xt=t.useCallback(function(){var t,n,l,R,L,F,N,H,P,k,w,G,V,Y,j,z,Q,X;if(!gt.current&&!_.current){gt.current=!0;try{if(!i.current)return;var q=function(t){var e=t.split("-"),n=e[0];if(!x[n]&&!1===T)return!1;if(T&&!x["left-".concat(n)]&&!x["right-".concat(n)]&&!x[n])return!1;for(var i=n,r=1;r<e.length-1;r++)if(i+="-".concat(e[r]),!m[i])return!1;return!0},K=i.current.getBoundingClientRect();ht({width:K.width,height:K.height});var J=[];if(s.forEach(function(t){var e,n,i=t.key,r=null===(e=v.current[i])||void 0===e?void 0:e.current,c=null===(n=h.current[i])||void 0===n?void 0:n.current;r&&c&&(r.style.height="auto",c.style.height="auto",r.style.minHeight="0px",c.style.minHeight="0px")}),!_.current){for(var U=0;U<Math.max(a.length,d.length);U++){var W=null===(t=g.current[U])||void 0===t?void 0:t.current,Z=null===(n=f.current[U])||void 0===n?void 0:n.current;W&&(W.style.height="auto",W.style.minHeight="0px"),Z&&(Z.style.height="auto",Z.style.minHeight="0px")}T||Object.keys(p.current).forEach(function(t){var e,n;if(q(t)){var i=null===(e=p.current[t])||void 0===e?void 0:e.current,r=null===(n=b.current[t])||void 0===n?void 0:n.current;i&&r&&(i.style.height="auto",r.style.height="auto",i.style.minHeight="0px",r.style.minHeight="0px")}})}var $={};s.forEach(function(t){var e,n,i=t.key,r=null===(e=v.current[i])||void 0===e?void 0:e.current,c=null===(n=h.current[i])||void 0===n?void 0:n.current;if(r&&c){var l=r.getBoundingClientRect(),o=c.getBoundingClientRect();$[i]=Math.max(l.height,o.height)}});var tt={left:{},right:{}},et={};if(!_.current)if(T){if(S&&null!==I)if("number"==typeof I){var it=I,rt=a[it],lt=null===(L=g.current[it])||void 0===L?void 0:L.current;lt&&rt&&(rt.refIndexes||[]).forEach(function(t){var e,n=d.findIndex(function(e){return e.selfIndex===t}),i=null===(e=f.current[n])||void 0===e?void 0:e.current;if(i&&(x["left-".concat(it)]||x["right-".concat(n)])){var r=Math.max(lt.getBoundingClientRect().height,i.getBoundingClientRect().height);tt.left[it]=Math.max(tt.left[it]||0,r),tt.right[n]=Math.max(tt.right[n]||0,r)}})}else{var ot=I.split(e.DEVIATION_BADGE_SEPARATOR)[2];if(ot){W=null===(F=p.current[ot])||void 0===F?void 0:F.current,Z=null===(N=b.current[ot])||void 0===N?void 0:N.current;if(W&&Z){ut=Math.max(W.getBoundingClientRect().height,Z.getBoundingClientRect().height);et[ot]=Math.max(et[ot]||0,ut)}}}}else{Object.keys(p.current).forEach(function(t){var e,n;if(q(t)){var i=null===(e=p.current[t])||void 0===e?void 0:e.current,r=null===(n=b.current[t])||void 0===n?void 0:n.current;if(i&&r&&null!==i.offsetParent&&null!==r.offsetParent){var c=i.getBoundingClientRect(),l=r.getBoundingClientRect(),o=Math.max(c.height,l.height);et[t]=o,i.style.minHeight="".concat(o,"px"),r.style.minHeight="".concat(o,"px")}}});for(U=0;U<Math.min(a.length,d.length);U++){var W=null===(l=g.current[U])||void 0===l?void 0:l.current,Z=null===(R=f.current[U])||void 0===R?void 0:R.current;if(W&&Z){var ut=Math.max(W.getBoundingClientRect().height,Z.getBoundingClientRect().height);tt.left[U]=ut,tt.right[U]=ut}}}if(s.forEach(function(t){var e,n,i=t.key,r=null===(e=v.current[i])||void 0===e?void 0:e.current,c=null===(n=h.current[i])||void 0===n?void 0:n.current;if(r&&c){var l=$[i];r.style.minHeight="".concat(l,"px"),c.style.minHeight="".concat(l,"px")}}),_.current||(Object.entries(tt.left).forEach(function(t){var e,n=t[0],i=t[1],r=null===(e=g.current[Number(n)])||void 0===e?void 0:e.current;r&&(r.style.minHeight="".concat(i,"px"))}),Object.entries(tt.right).forEach(function(t){var e,n=t[0],i=t[1],r=null===(e=f.current[Number(n)])||void 0===e?void 0:e.current;r&&(r.style.minHeight="".concat(i,"px"))}),T||Object.keys(et).forEach(function(t){var e,n,i=null===(e=p.current[t])||void 0===e?void 0:e.current,r=null===(n=b.current[t])||void 0===n?void 0:n.current;if(i&&r&&et[t]){var c=et[t];i.style.minHeight="".concat(c,"px"),r.style.minHeight="".concat(c,"px")}})),!C){a.forEach(function(t,e){var n,i=t.continuationSourceRowId?a.findIndex(function(e){return e.comparisonRowId===t.continuationSourceRowId}):-1,l=i>=0?i:e,o=null===(n=g.current[l])||void 0===n?void 0:n.current;if(o){var u=function(t,e){if(!T)return d[e]?[e]:[];var n=(t.refIndexes||[]).map(function(t){return d.findIndex(function(e){return e.selfIndex===t})}).filter(function(t){return-1!==t});return!n.length&&d[e]?[e]:Array.from(new Set(n))}(t,e);u.forEach(function(t){var n,u,s,v,h,g,p,b,A,y,R,x,m=null===(n=f.current[t])||void 0===n?void 0:n.current;if(m){var B=o.getBoundingClientRect(),C=m.getBoundingClientRect(),D=B.right-K.left,O=C.left-K.left,L=B.top+18-K.top,_=C.top+18-K.top;if(T&&S&&I===e){var F=null!==(s=null===(u=r.current)||void 0===u?void 0:u.getBoundingClientRect().top)&&void 0!==s?s:0,N=null!==(h=null===(v=c.current)||void 0===v?void 0:v.getBoundingClientRect().top)&&void 0!==h?h:0,H=F+(null!==(p=null===(g=r.current)||void 0===g?void 0:g.clientHeight)&&void 0!==p?p:1/0),P=N+(null!==(A=null===(b=c.current)||void 0===b?void 0:b.clientHeight)&&void 0!==A?A:1/0),k=function(t,e,n){return Math.max(e,Math.min(n,t))};L=k(B.top+18,F,H)-K.top,_=k(C.top+18,N,P)-K.top}var w=M(l);w&&J.push({id:"line-".concat(l,"-").concat(t),x1:D,y1:L,x2:O,y2:_,style:w,sectionIdx:l,targetRightIdx:t,isSubSection:!1,isMappingContinuation:i>=0,hasCognitive:!!((null===(y=a[l])||void 0===y?void 0:y.cognitiveData)||(null===(R=d[t])||void 0===R?void 0:R.cognitiveData)||(null===(x=a[l])||void 0===x?void 0:x.nodeId)&&E[a[l].nodeId])})}})}})}if(!C&&S&&"string"==typeof I&&I.includes(e.DEVIATION_BADGE_SEPARATOR)){var at=I.split(e.DEVIATION_BADGE_SEPARATOR),st=at[0],vt=at[1],ft=at[2],pt=(at[3],"".concat(st).concat(e.DEVIATION_BADGE_SEPARATOR).concat(vt)),bt=null===(H=A.current[pt])||void 0===H?void 0:H.current,At=null===(P=y.current[pt])||void 0===P?void 0:P.current;if(bt&&At){var xt=bt.getBoundingClientRect(),Bt=At.getBoundingClientRect(),St=xt.right-K.left,It=Bt.left-K.left,Tt=xt.top+xt.height/2-K.top,Ct=Bt.top+Bt.height/2-K.top;if(T){var Et=null!==(w=null===(k=r.current)||void 0===k?void 0:k.getBoundingClientRect().top)&&void 0!==w?w:0,Mt=null!==(V=null===(G=c.current)||void 0===G?void 0:G.getBoundingClientRect().top)&&void 0!==V?V:0,Dt=Et+(null!==(j=null===(Y=r.current)||void 0===Y?void 0:Y.clientHeight)&&void 0!==j?j:1/0),Ot=Mt+(null!==(Q=null===(z=c.current)||void 0===z?void 0:z.clientHeight)&&void 0!==Q?Q:1/0),Lt=function(t,e,n){return Math.max(e,Math.min(n,t))};Tt=Lt(xt.top+xt.height/2,Et,Dt)-K.top,Ct=Lt(Bt.top+Bt.height/2,Mt,Ot)-K.top}var _t=null!==(X=O(st,vt))&&void 0!==X?X:D(ft);_t&&J.push({id:"line-subsec-".concat(pt),x1:St,y1:Tt,x2:It,y2:Ct,style:_t,sectionIdx:Number(ft.split("-")[0]),isSubSection:!0,subSectionKeyPath:I})}}if(nt(J),o.current&&u.current){var Ft=o.current.getBoundingClientRect(),Nt=u.current.getBoundingClientRect(),Ht=(Ft.top+Ft.height/2-K.top+Nt.top+Nt.height/2-K.top)/2;ct({x1:Ft.right-K.left,x2:Nt.left-K.left,y:Ht})}else ct(null);if(B.size>0){var Pt=[],kt=r.current,wt=c.current;if(kt&&wt){var Gt=[],Vt=kt.getBoundingClientRect().top,Yt=wt.getBoundingClientRect().top,jt=Vt+kt.clientHeight,zt=Yt+wt.clientHeight,Qt=kt.scrollTop,Xt=wt.scrollTop,qt=K.top,Kt=function(t,e,n){return Math.max(e,Math.min(n,t))};B.forEach(function(t){var n,i,r,c,l,o,u,s,v;if(C){var h=null,g=null,f=null;if("string"==typeof t&&t.includes(e.DEVIATION_BADGE_SEPARATOR)){var p=t.split(e.DEVIATION_BADGE_SEPARATOR),b=p[0],R=p[1],x=p[2],m="".concat(b).concat(e.DEVIATION_BADGE_SEPARATOR).concat(R);h=null===(n=A.current[m])||void 0===n?void 0:n.current,f=null!==(i=O(b,R))&&void 0!==i?i:D(x),g=Number((null==x?void 0:x.split("-")[0])||0)}else g=Number(t),h=null===(r=A.current[g])||void 0===r?void 0:r.current,f=M(g);if(!h)return;var B=document.querySelectorAll('[id^="guideline-target-"]');B.forEach(function(n,i){var r=h.getBoundingClientRect(),c=n.getBoundingClientRect(),l=r.right-K.left,o=c.left-K.left-0,u=l+75,a=r.top+r.height/2,d=c.top+c.height/2,s=a-Vt+Qt,v=d-Yt+Xt,g="conn-guide-".concat(t,"-").concat(i),p="";"string"==typeof t&&t.includes(e.DEVIATION_BADGE_SEPARATOR)?p=(t.split(e.DEVIATION_BADGE_SEPARATOR)[2]||"").split("-").map(function(t){return Number(t)+1}).join("."):p=String(Number(t)+1);var b=String.fromCharCode(97+i),A=1===B.length?null:"".concat(p,"(").concat(b,")");Gt.push({lhsScrollY:s,rhsScrollY:v,x1:l,x2:o,containerTop:qt,leftIdx:t,rhsArrayIdx:i,styleColor:(null==f?void 0:f.badgeBorder)||"#6366F1",styleBg:(null==f?void 0:f.badgeBg)||"#FFFFFF",styleText:(null==f?void 0:f.badgeText)||"#A16207",styleId:g,centerX:u});var y=Kt(a,Vt,jt),R=Kt(d,Yt,zt),x=y-qt,m=R-qt,S=Rt(l,x,o,m,u,a>=Vt-4&&a<=jt+4,d>=Yt-4&&d<=zt+4);Pt.push({id:g,pathD:S,style:f,leftIdx:t,rhsArrayIdx:i,x1:l,x2:o,y1:x,y2:m,centerX:u,matchLabel:A,isGuideline:!0})})}else if("string"==typeof t&&t.includes(e.DEVIATION_BADGE_SEPARATOR)){var S=t.split(e.DEVIATION_BADGE_SEPARATOR),I=(b=S[0],R=S[1],x=S[2],S[3],m="".concat(b).concat(e.DEVIATION_BADGE_SEPARATOR).concat(R),null===(c=A.current[m])||void 0===c?void 0:c.current),E=null===(l=y.current[m])||void 0===l?void 0:l.current;if(!I||!E)return;var L=I.getBoundingClientRect(),_=E.getBoundingClientRect(),F=null!==(o=O(b,R))&&void 0!==o?o:D(x),N=L.right-K.left,H=_.left-K.left-0,P=N+75,k=L.top+L.height/2,w=_.top+_.height/2,G=k-Vt+Qt,V=w-Yt+Xt,Y="conn-subsec-".concat(m),j=((x||"").split("-").map(function(t){return Number(t)+1}).join("."),null);Gt.push({lhsScrollY:G,rhsScrollY:V,x1:N,x2:H,containerTop:qt,leftIdx:t,rhsArrayIdx:t,styleColor:(null==F?void 0:F.badgeBorder)||"#6366F1",styleBg:(null==F?void 0:F.badgeBg)||"#FFFFFF",styleText:(null==F?void 0:F.badgeText)||"#A16207",styleId:Y,centerX:P});var z=Kt(k,Vt,jt),Q=Kt(w,Yt,zt),X=Rt(N,Z=z-qt,H,$=Q-qt,P,k>=Vt-4&&k<=jt+4,w>=Yt-4&&w<=zt+4);Pt.push({id:Y,pathD:X,style:F,leftIdx:t,rhsArrayIdx:t,x1:N,x2:H,y1:Z,y2:$,matchLabel:j})}else if(T){var q=t,J=a[q];if(!(null===(v=null==J?void 0:J.refIndexes)||void 0===v?void 0:v.length))return;J.refIndexes.forEach(function(e,n){var i,r,c=d.findIndex(function(t){return t.selfIndex===e});if(-1!==c){var l=null===(i=A.current[q])||void 0===i?void 0:i.current,o=null===(r=y.current[c])||void 0===r?void 0:r.current;if(l&&o){var u=l.getBoundingClientRect(),a=o.getBoundingClientRect(),s=M(q),v=u.right-K.left,h=a.left-K.left-0,g=v+75,f=u.top+u.height/2,p=a.top+a.height/2,b=f-Vt+Qt,R=p-Yt+Xt,x="conn-".concat(q,"-").concat(c),m=String(Number(t)+1),B=String.fromCharCode(97+n),S=1===J.refIndexes.length?null:"".concat(m,"(").concat(B,")");Gt.push({lhsScrollY:b,rhsScrollY:R,x1:v,x2:h,containerTop:qt,leftIdx:q,rhsArrayIdx:c,styleColor:(null==s?void 0:s.badgeBorder)||"#6366F1",styleBg:(null==s?void 0:s.badgeBg)||"#FFFFFF",styleText:(null==s?void 0:s.badgeText)||"#A16207",styleId:x,centerX:g});var I=Kt(f,Vt,jt),T=Kt(p,Yt,zt),C=I-qt,E=T-qt,D=Rt(v,C,h,E,g,f>=Vt-4&&f<=jt+4,p>=Yt-4&&p<=zt+4);Pt.push({id:x,pathD:D,style:s,leftIdx:q,rhsArrayIdx:c,x1:v,x2:h,y1:C,y2:E,matchLabel:S})}}})}else{var U=t,W=U;I=null===(u=A.current[U])||void 0===u?void 0:u.current,E=null===(s=y.current[W])||void 0===s?void 0:s.current;if(!I||!E)return;L=I.getBoundingClientRect(),_=E.getBoundingClientRect(),F=M(U),N=L.right-K.left,H=_.left-K.left-0,P=N+75,k=L.top+L.height/2,w=_.top+_.height/2,G=k-Vt+Qt,V=w-Yt+Xt,Y="conn-".concat(U,"-").concat(W),String(Number(t)+1),j=null;Gt.push({lhsScrollY:G,rhsScrollY:V,x1:N,x2:H,containerTop:qt,leftIdx:U,rhsArrayIdx:W,styleColor:(null==F?void 0:F.badgeBorder)||"#6366F1",styleBg:(null==F?void 0:F.badgeBg)||"#FFFFFF",styleText:(null==F?void 0:F.badgeText)||"#A16207",styleId:Y,centerX:P});var Z,$;z=Kt(k,Vt,jt),Q=Kt(w,Yt,zt),X=Rt(N,Z=z-qt,H,$=Q-qt,P,k>=Vt-4&&k<=jt+4,w>=Yt-4&&w<=zt+4);Pt.push({id:Y,pathD:X,style:F,leftIdx:U,rhsArrayIdx:W,x1:N,x2:H,y1:Z,y2:$,matchLabel:j})}}),yt.current=Gt}dt(Pt),setTimeout(function(){return mt()},10)}else dt([]),yt.current=[],setTimeout(function(){return mt()},10)}catch(t){console.error("Line render safe fail: ",t)}finally{gt.current=!1}}},[s,a,d,E,Z,$,M,O,T,S,I,B,x,m,C]),mt=t.useCallback(function(){var t,e,n,o,u,a,d,s,v,h,g,f,p,b,A,y,R,x,m,B=yt.current;if(!B.length)return null===(t=l.current["guideline-up-stroke"])||void 0===t||t.setAttribute("visibility","hidden"),null===(e=l.current["guideline-up-badge"])||void 0===e||e.setAttribute("visibility","hidden"),null===(n=l.current["guideline-down-stroke"])||void 0===n||n.setAttribute("visibility","hidden"),void(null===(o=l.current["guideline-down-badge"])||void 0===o||o.setAttribute("visibility","hidden"));if(!_.current){var S=null!==(a=null===(u=r.current)||void 0===u?void 0:u.scrollTop)&&void 0!==a?a:0,I=null!==(s=null===(d=c.current)||void 0===d?void 0:d.scrollTop)&&void 0!==s?s:0,T=null!==(h=null===(v=r.current)||void 0===v?void 0:v.clientHeight)&&void 0!==h?h:1/0,C=null!==(f=null===(g=c.current)||void 0===g?void 0:g.clientHeight)&&void 0!==f?f:1/0,E=null!==(b=null===(p=r.current)||void 0===p?void 0:p.getBoundingClientRect().top)&&void 0!==b?b:0,M=null!==(y=null===(A=c.current)||void 0===A?void 0:A.getBoundingClientRect().top)&&void 0!==y?y:0,D=E+T,O=M+C,L=null===(R=i.current)||void 0===R?void 0:R.getBoundingClientRect(),F=null!==(x=null==L?void 0:L.top)&&void 0!==x?x:0,N=null!==(m=null==L?void 0:L.height)&&void 0!==m?m:1/0,H=function(t,e,n){return Math.max(e,Math.min(n,t))},P=0,k=0,w=0,G=0,V="#6366F1",Y="#A16207",j=!1,z=0;if(B.forEach(function(t){var e=t.lhsScrollY-S+E,n=t.rhsScrollY-I+M,i=l.current[t.styleId+"-stroke"],r=l.current[t.styleId+"-bg"],c=l.current[t.styleId+"-btn"],o=l.current[t.styleId+"-number"];if(i||r){var u=H(e,E,D),a=H(n,M,O),d=u-F,s=a-F,v=e>=E-4&&e<=D+4,h=n>=M-4&&n<=O+4,g=!0;j=!0;var f=t.centerX||t.x1+75;0===w&&(w=t.x1,G=d,z=f,V=t.styleColor,t.styleBg,Y=t.styleText||"#A16207"),n<M-4?(P++,g=!1):n>O+4&&(k++,g=!1);var p=Rt(t.x1,d,t.x2,s,z,v,h);i&&(g&&p?(i.setAttribute("visibility","visible"),i.setAttribute("d",p)):i.setAttribute("visibility","hidden")),r&&(g&&p?(r.setAttribute("visibility","visible"),r.setAttribute("d",p)):r.setAttribute("visibility","hidden")),c&&(v&&g?(c.setAttribute("visibility","visible"),c.setAttribute("y",String(d-12))):c.setAttribute("visibility","hidden")),o&&(v&&g?(o.setAttribute("visibility","visible"),o.setAttribute("transform","translate(".concat(t.x2-42,", ").concat(s,")"))):o.setAttribute("visibility","hidden"))}}),j&&z>0){var Q=l.current["guideline-up-stroke"],X=l.current["guideline-up-badge"],q=l.current["guideline-up-arrow"],K=l.current["guideline-up-text"],J=l.current["guideline-up-badge-rect"];if(P>0){var U=Math.max(15,M-F+15),W=Math.min(15,Math.abs(z-w),Math.max(0,G-U)),Z="M ".concat(w,",").concat(G," L ").concat(z-W,",").concat(G," Q ").concat(z,",").concat(G," ").concat(z,",").concat(G-W," L ").concat(z,",").concat(U);null==Q||Q.setAttribute("visibility","visible"),null==Q||Q.setAttribute("d",Z),null==Q||Q.setAttribute("stroke",V),null==X||X.setAttribute("visibility","visible"),null==X||X.setAttribute("transform","translate(".concat(z,", ").concat(U,")")),q&&q.setAttribute("fill",V),K&&(K.textContent="+".concat(P),K.setAttribute("fill",Y)),J&&J.setAttribute("stroke",V)}else null==Q||Q.setAttribute("visibility","hidden"),null==X||X.setAttribute("visibility","hidden");var $=l.current["guideline-down-stroke"],tt=l.current["guideline-down-badge"],et=l.current["guideline-down-arrow"],nt=l.current["guideline-down-text"],it=l.current["guideline-down-badge-rect"];if(k>0){var rt=Math.min(N-15,O-F-15);W=Math.min(15,Math.abs(z-w),Math.max(0,rt-G)),Z="M ".concat(w,",").concat(G," L ").concat(z-W,",").concat(G," Q ").concat(z,",").concat(G," ").concat(z,",").concat(G+W," L ").concat(z,",").concat(rt);null==$||$.setAttribute("visibility","visible"),null==$||$.setAttribute("d",Z),null==$||$.setAttribute("stroke",V),null==tt||tt.setAttribute("visibility","visible"),null==tt||tt.setAttribute("transform","translate(".concat(z,", ").concat(rt,")")),et&&et.setAttribute("fill",V),nt&&(nt.textContent="+".concat(k),nt.setAttribute("fill",Y)),it&&it.setAttribute("stroke",V)}else null==$||$.setAttribute("visibility","hidden"),null==tt||tt.setAttribute("visibility","hidden")}}},[]),Bt=t.useCallback(function(){yt.current.length>0&&!_.current||(null!==bt.current&&clearTimeout(bt.current),bt.current=setTimeout(function(){Y.current(),bt.current=null},50))},[]),St=t.useCallback(function(t){if(null!==U.current&&W.current&&Math.abs(t.currentTarget.scrollTop-U.current)<=2){var n=W.current;U.current=null,W.current=null,n()}if(!pt.current&&!z.current){if(T&&Q&&(F.current||B.size>0)){var l=t.currentTarget,o=r.current,u=c.current,a=l===o?u:l===u?o:null;if(l&&a){var d=function(){var t,n,i,r,c,l,o,u,a,d,s,v=P.current,h=k.current;if(null===v)return{leftAnchor:null,rightAnchor:null};if("string"==typeof v&&v.includes(e.DEVIATION_BADGE_SEPARATOR)){var x=v.split(e.DEVIATION_BADGE_SEPARATOR),m="".concat(x[0]).concat(e.DEVIATION_BADGE_SEPARATOR).concat(x[1]);return{leftAnchor:(null===(t=A.current[m])||void 0===t?void 0:t.current)||(null===(n=p.current[x[2]])||void 0===n?void 0:n.current)||(null===(i=g.current[Number(x[2])])||void 0===i?void 0:i.current)||null,rightAnchor:(null===(r=y.current[m])||void 0===r?void 0:r.current)||(null===(c=b.current[x[3]])||void 0===c?void 0:c.current)||(null===(l=f.current[Number(x[3])])||void 0===l?void 0:l.current)||null}}var B=Number(v),S=null!==h?Number(h):B;return{leftAnchor:(null===(o=A.current[B])||void 0===o?void 0:o.current)||(null===(u=R.current[B])||void 0===u?void 0:u.current)||(null===(a=g.current[B])||void 0===a?void 0:a.current)||null,rightAnchor:(null===(d=y.current[S])||void 0===d?void 0:d.current)||(null===(s=f.current[S])||void 0===s?void 0:s.current)||null}}(),s=d.leftAnchor,v=d.rightAnchor,h=l===o?s:v,x=l===o?v:s,m=null;if(h&&x){var S=h.getBoundingClientRect(),I=x.getBoundingClientRect(),C=a.getBoundingClientRect(),E=S.top+S.height/2;m=I.top-C.top+a.scrollTop+I.height/2-(E-C.top)}else{var M=Math.max(0,l.scrollHeight-l.clientHeight),D=Math.max(0,a.scrollHeight-a.clientHeight);m=M>0?l.scrollTop/M*D:l.scrollTop}var O=Math.max(0,a.scrollHeight-a.clientHeight);m=Math.max(0,Math.min(m,O)),Math.abs(a.scrollTop-m)>1&&(pt.current=!0,a.scrollTop=m,requestAnimationFrame(function(){pt.current=!1}))}}T||Bt(),ft.current||(ft.current=!0,requestAnimationFrame(function(){var t,n,l,o,u,a,d;if(F.current){var s=r.current,v=c.current;if(s&&v&&H.current){if(!N.current){var h=P.current,g=void 0;if("string"==typeof h&&h.includes(e.DEVIATION_BADGE_SEPARATOR)){var f=h.split(e.DEVIATION_BADGE_SEPARATOR),p="".concat(f[0]).concat(e.DEVIATION_BADGE_SEPARATOR).concat(f[1]);g=null===(t=A.current[p])||void 0===t?void 0:t.current}else g=null===(n=A.current[h])||void 0===n?void 0:n.current;if(g){var b=g.getBoundingClientRect();N.current={badgeScreenY:b.top+b.height/2,initialScrollTop:s.scrollTop,leftTop:s.getBoundingClientRect().top,leftBottom:s.getBoundingClientRect().top+s.clientHeight,cTop:null!==(o=null===(l=i.current)||void 0===l?void 0:l.getBoundingClientRect().top)&&void 0!==o?o:0}}}if(N.current){var y=N.current,R=s.scrollTop-y.initialScrollTop,x=y.badgeScreenY-R,m=((u=x,a=y.leftTop,d=y.leftBottom,Math.max(a,Math.min(d,u)))-y.cTop).toString(),B=x>=y.leftTop-4&&x<=y.leftBottom+4;H.current.setAttribute("y1",m),H.current.setAttribute("y2",m),H.current.setAttribute("visibility",B?"visible":"hidden")}}}mt(),ft.current=!1}))}},[mt,T,Q,B,Bt]);return t.useEffect(function(){Y.current=xt},[xt]),t.useEffect(function(){var t=setTimeout(Bt,250),e=function(){return X.current()};return window.addEventListener("resize",e),function(){clearTimeout(t),null!==bt.current&&clearTimeout(bt.current),null!==j.current&&clearTimeout(j.current),window.removeEventListener("resize",e)}},[q,K,J,s,x,m,a,d,Z,Bt,S,I,L,B]),{lines:et,setLines:nt,overallConnector:rt,setOverallConnector:ct,connectedLines:at,setConnectedLines:dt,svgDimensions:vt,cachedConnectedPositions:yt,calculateLines:xt,calculateLinesRef:Y,calculateLinesDebounced:Bt,handleColumnScroll:St}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("../CognitiveComparehelpers.js");exports.useLinesCalculator=({containerRef:n,leftContainerRef:r,rightContainerRef:i,svgContainerRef:c,pathRefs:l,leftHeaderRef:u,rightHeaderRef:s,proposedSections:o,existingSections:h,visibleFields:g,leftRefs:a,rightRefs:d,sectionLeftRefs:f,sectionRightRefs:p,subSectionLeftRefs:b,subSectionRightRefs:A,lhsBadgeRefs:y,rhsBadgeRefs:$,sectionRowRefs:R,expandedSections:x,expandedSubSections:m,connectedSections:B,isSideBySide:S,activeSideBySideSection:I,maintainRelativeOrder:T,isGuidelineMode:C,cognitiveMap:E,getSectionCompareStyle:M,getSubSectionCompareStyle:v,getDeviationStyleByKey:D,isArrowVisible:O,isAnimatingRef:L,isSideBySideRef:_,sideBySideCacheRef:F,sideBySideLineRef:N,activeSideBySideSectionRef:H,activeSideBySideRightSectionRef:P,connectedLines:k,setConnectedLines:w,cachedConnectedPositions:G,calculateLinesRef:V,resizeTimerRef:Y,scrollLock:j,scrollSyncLocked:z,handleResizeRef:Q,activeProposed:X,existingRule:q,analysisData:K,pendingScrollTargetRef:J,pendingScrollCallbackRef:U,resolvedComparisonConfig:W,getFieldData:Z})=>{const[tt,et]=t.useState([]),[nt,rt]=t.useState(null),[it,ct]=t.useState([]),lt=k??it,ut=w??ct,[st,ot]=t.useState({width:0,height:0}),ht=t.useRef(!1),gt=t.useRef(!1),at=t.useRef(!1),dt=t.useRef(null),ft=t.useRef([]),pt=G??ft,bt=(t,e,n,r,i,c,l)=>{if(Math.abs(r-e)<=1)return c&&l?`M ${t},${e} L ${n},${r}`:c&&!l?`M ${t},${e} L ${i},${e}`:!c&&l?`M ${i},${e} L ${n},${r}`:`M ${i},${e} L ${i},${r}`;const u=Math.min(15,Math.abs(i-t),Math.abs(r-e)/2),s=Math.min(15,Math.abs(n-i),Math.abs(r-e)/2),o=r>e?u:-u,h=r>e?s:-s,g=n>i?s:-s;return c&&l?`M ${t},${e} L ${i-u},${e} Q ${i},${e} ${i},${e+o} L ${i},${r-h} Q ${i},${r} ${i+g},${r} L ${n},${r}`:c&&!l?`M ${t},${e} L ${i-u},${e} Q ${i},${e} ${i},${e+o} L ${i},${r}`:!c&&l?`M ${i},${e} L ${i},${r-h} Q ${i},${r} ${i+g},${r} L ${n},${r}`:`M ${i},${e} L ${i},${r}`},At=t.useCallback(()=>{if(!ht.current&&!L.current){ht.current=!0;try{if(!n.current)return;const t=t=>{const e=t.split("-"),n=e[0];if(!x[n]&&!1===T)return!1;if(T&&!x[`left-${n}`]&&!x[`right-${n}`]&&!x[n])return!1;let r=n;for(let t=1;t<e.length-1;t++)if(r+=`-${e[t]}`,!m[r])return!1;return!0},c=n.current.getBoundingClientRect();ot({width:c.width,height:c.height});const l=[];if(g.forEach(({key:t})=>{const e=a.current[t]?.current,n=d.current[t]?.current;e&&n&&(e.style.height="auto",n.style.height="auto",e.style.minHeight="0px",n.style.minHeight="0px")}),!L.current){for(let t=0;t<Math.max(o.length,h.length);t++){const e=f.current[t]?.current,n=p.current[t]?.current;e&&(e.style.height="auto",e.style.minHeight="0px"),n&&(n.style.height="auto",n.style.minHeight="0px")}T||Object.keys(b.current).forEach(e=>{if(!t(e))return;const n=b.current[e]?.current,r=A.current[e]?.current;n&&r&&(n.style.height="auto",r.style.height="auto",n.style.minHeight="0px",r.style.minHeight="0px")})}const R={};g.forEach(({key:t})=>{const e=a.current[t]?.current,n=d.current[t]?.current;if(e&&n){const r=e.getBoundingClientRect(),i=n.getBoundingClientRect();R[t]=Math.max(r.height,i.height)}});const O={left:{},right:{}},_={};if(!L.current)if(T){if(S&&null!==I)if("number"==typeof I){const t=I,e=o[t],n=f.current[t]?.current;n&&e&&(e.refIndexes||[]).forEach(e=>{const r=h.findIndex(t=>t.selfIndex===e),i=p.current[r]?.current;if(i&&(x[`left-${t}`]||x[`right-${r}`])){const e=Math.max(n.getBoundingClientRect().height,i.getBoundingClientRect().height);O.left[t]=Math.max(O.left[t]||0,e),O.right[r]=Math.max(O.right[r]||0,e)}})}else{const t=I.split(e.DEVIATION_BADGE_SEPARATOR)[2];if(t){const e=b.current[t]?.current,n=A.current[t]?.current;if(e&&n){const r=Math.max(e.getBoundingClientRect().height,n.getBoundingClientRect().height);_[t]=Math.max(_[t]||0,r)}}}}else{Object.keys(b.current).forEach(e=>{if(!t(e))return;const n=b.current[e]?.current,r=A.current[e]?.current;if(n&&r&&null!==n.offsetParent&&null!==r.offsetParent){const t=n.getBoundingClientRect(),i=r.getBoundingClientRect(),c=Math.max(t.height,i.height);_[e]=c,n.style.minHeight=`${c}px`,r.style.minHeight=`${c}px`}});for(let t=0;t<Math.min(o.length,h.length);t++){const e=f.current[t]?.current,n=p.current[t]?.current;if(e&&n){const r=Math.max(e.getBoundingClientRect().height,n.getBoundingClientRect().height);O.left[t]=r,O.right[t]=r}}}if(g.forEach(({key:t})=>{const e=a.current[t]?.current,n=d.current[t]?.current;if(e&&n){const r=R[t];e.style.minHeight=`${r}px`,n.style.minHeight=`${r}px`}}),L.current||(Object.entries(O.left).forEach(([t,e])=>{const n=f.current[Number(t)]?.current;n&&(n.style.minHeight=`${e}px`)}),Object.entries(O.right).forEach(([t,e])=>{const n=p.current[Number(t)]?.current;n&&(n.style.minHeight=`${e}px`)}),T||Object.keys(_).forEach(t=>{const e=b.current[t]?.current,n=A.current[t]?.current;if(e&&n&&_[t]){const r=_[t];e.style.minHeight=`${r}px`,n.style.minHeight=`${r}px`}})),!C){const t=(t,e)=>{if(!T)return h[e]?[e]:[];const n=(t.refIndexes||[]).map(t=>h.findIndex(e=>e.selfIndex===t)).filter(t=>-1!==t);return!n.length&&h[e]?[e]:Array.from(new Set(n))};o.forEach((e,n)=>{const u=e.continuationSourceRowId?o.findIndex(t=>t.comparisonRowId===e.continuationSourceRowId):-1,s=u>=0?u:n,g=f.current[s]?.current;if(!g)return;t(e,n).forEach(t=>{const e=p.current[t]?.current;if(!e)return;const a=g.getBoundingClientRect(),d=e.getBoundingClientRect(),f=a.right-c.left,b=d.left-c.left;let A=a.top+18-c.top,y=d.top+18-c.top;if(T&&S&&I===n){const t=r.current?.getBoundingClientRect().top??0,e=i.current?.getBoundingClientRect().top??0,n=t+(r.current?.clientHeight??1/0),l=e+(i.current?.clientHeight??1/0),u=(t,e,n)=>Math.max(e,Math.min(n,t));A=u(a.top+18,t,n)-c.top,y=u(d.top+18,e,l)-c.top}const $=M(s);$&&l.push({id:`line-${s}-${t}`,x1:f,y1:A,x2:b,y2:y,style:$,sectionIdx:s,targetRightIdx:t,isSubSection:!1,isMappingContinuation:u>=0,hasCognitive:!!(o[s]?.cognitiveData||h[t]?.cognitiveData||o[s]?.nodeId&&E[o[s].nodeId])})})})}if(!C&&S&&"string"==typeof I&&I.includes(e.DEVIATION_BADGE_SEPARATOR)){const[t,n,u,s]=I.split(e.DEVIATION_BADGE_SEPARATOR),o=`${t}${e.DEVIATION_BADGE_SEPARATOR}${n}`,h=y.current[o]?.current,g=$.current[o]?.current;if(h&&g){const e=h.getBoundingClientRect(),s=g.getBoundingClientRect(),a=e.right-c.left,d=s.left-c.left;let f=e.top+e.height/2-c.top,p=s.top+s.height/2-c.top;if(T){const t=r.current?.getBoundingClientRect().top??0,n=i.current?.getBoundingClientRect().top??0,l=t+(r.current?.clientHeight??1/0),u=n+(i.current?.clientHeight??1/0),o=(t,e,n)=>Math.max(e,Math.min(n,t));f=o(e.top+e.height/2,t,l)-c.top,p=o(s.top+s.height/2,n,u)-c.top}const b=D(t,n)??v(u);b&&l.push({id:`line-subsec-${o}`,x1:a,y1:f,x2:d,y2:p,style:b,sectionIdx:Number(u.split("-")[0]),isSubSection:!0,subSectionKeyPath:I})}}if(et(l),u.current&&s.current){const t=u.current.getBoundingClientRect(),e=s.current.getBoundingClientRect(),n=(t.top+t.height/2-c.top+e.top+e.height/2-c.top)/2;rt({x1:t.right-c.left,x2:e.left-c.left,y:n})}else rt(null);if(B.size>0){const t=[],n=r.current,l=i.current;if(n&&l){const r=[],i=n.getBoundingClientRect().top,u=l.getBoundingClientRect().top,s=i+n.clientHeight,g=u+l.clientHeight,a=n.scrollTop,d=l.scrollTop,f=c.top,p=(t,e,n)=>Math.max(e,Math.min(n,t));B.forEach(n=>{if(C){let l=null,o=null,h=null;if("string"==typeof n&&n.includes(e.DEVIATION_BADGE_SEPARATOR)){const[t,r,i]=n.split(e.DEVIATION_BADGE_SEPARATOR),c=`${t}${e.DEVIATION_BADGE_SEPARATOR}${r}`;l=y.current[c]?.current,h=D(t,r)??v(i),o=Number(i?.split("-")[0]||0)}else o=Number(n),l=y.current[o]?.current,h=M(o);if(!l)return;const b=document.querySelectorAll('[id^="guideline-target-"]');b.forEach((o,A)=>{const y=l.getBoundingClientRect(),$=o.getBoundingClientRect(),R=y.right-c.left,x=$.left-c.left-0,m=R+75,B=y.top+y.height/2,S=$.top+$.height/2,I=B-i+a,T=S-u+d,C=`conn-guide-${n}-${A}`;let E="";if("string"==typeof n&&n.includes(e.DEVIATION_BADGE_SEPARATOR)){E=(n.split(e.DEVIATION_BADGE_SEPARATOR)[2]||"").split("-").map(t=>Number(t)+1).join(".")}else E=String(Number(n)+1);const M=String.fromCharCode(97+A),v=1===b.length?null:`${E}(${M})`;r.push({lhsScrollY:I,rhsScrollY:T,x1:R,x2:x,containerTop:f,leftIdx:n,rhsArrayIdx:A,styleColor:h?.badgeBorder||"#6366F1",styleBg:h?.badgeBg||"#FFFFFF",styleText:h?.badgeText||"#A16207",styleId:C,centerX:m});const D=p(B,i,s),O=p(S,u,g),L=D-f,_=O-f,F=bt(R,L,x,_,m,B>=i-4&&B<=s+4,S>=u-4&&S<=g+4);t.push({id:C,pathD:F,style:h,leftIdx:n,rhsArrayIdx:A,x1:R,x2:x,y1:L,y2:_,centerX:m,matchLabel:v,isGuideline:!0})})}else if("string"==typeof n&&n.includes(e.DEVIATION_BADGE_SEPARATOR)){const[l,o,h,b]=n.split(e.DEVIATION_BADGE_SEPARATOR),A=`${l}${e.DEVIATION_BADGE_SEPARATOR}${o}`,R=y.current[A]?.current,x=$.current[A]?.current;if(!R||!x)return;const m=R.getBoundingClientRect(),B=x.getBoundingClientRect(),S=D(l,o)??v(h),I=m.right-c.left,T=B.left-c.left-0,C=I+75,E=m.top+m.height/2,M=B.top+B.height/2,O=E-i+a,L=M-u+d,_=`conn-subsec-${A}`,F=((h||"").split("-").map(t=>Number(t)+1).join("."),null);r.push({lhsScrollY:O,rhsScrollY:L,x1:I,x2:T,containerTop:f,leftIdx:n,rhsArrayIdx:n,styleColor:S?.badgeBorder||"#6366F1",styleBg:S?.badgeBg||"#FFFFFF",styleText:S?.badgeText||"#A16207",styleId:_,centerX:C});const N=p(E,i,s),H=p(M,u,g),P=N-f,k=H-f,w=bt(I,P,T,k,C,E>=i-4&&E<=s+4,M>=u-4&&M<=g+4);t.push({id:_,pathD:w,style:S,leftIdx:n,rhsArrayIdx:n,x1:I,x2:T,y1:P,y2:k,matchLabel:F})}else if(T){const e=n,l=o[e];if(!l?.refIndexes?.length)return;l.refIndexes.forEach((o,b)=>{const A=h.findIndex(t=>t.selfIndex===o);if(-1===A)return;const R=y.current[e]?.current,x=$.current[A]?.current;if(!R||!x)return;const m=R.getBoundingClientRect(),B=x.getBoundingClientRect(),S=M(e),I=m.right-c.left,T=B.left-c.left-0,C=I+75,E=m.top+m.height/2,v=B.top+B.height/2,D=E-i+a,O=v-u+d,L=`conn-${e}-${A}`,_=String(Number(n)+1),F=String.fromCharCode(97+b),N=1===l.refIndexes.length?null:`${_}(${F})`;r.push({lhsScrollY:D,rhsScrollY:O,x1:I,x2:T,containerTop:f,leftIdx:e,rhsArrayIdx:A,styleColor:S?.badgeBorder||"#6366F1",styleBg:S?.badgeBg||"#FFFFFF",styleText:S?.badgeText||"#A16207",styleId:L,centerX:C});const H=p(E,i,s),P=p(v,u,g),k=H-f,w=P-f,G=bt(I,k,T,w,C,E>=i-4&&E<=s+4,v>=u-4&&v<=g+4);t.push({id:L,pathD:G,style:S,leftIdx:e,rhsArrayIdx:A,x1:I,x2:T,y1:k,y2:w,matchLabel:N})})}else{const e=n,l=e,o=y.current[e]?.current,h=$.current[l]?.current;if(!o||!h)return;const b=o.getBoundingClientRect(),A=h.getBoundingClientRect(),R=M(e),x=b.right-c.left,m=A.left-c.left-0,B=x+75,S=b.top+b.height/2,I=A.top+A.height/2,T=S-i+a,C=I-u+d,E=`conn-${e}-${l}`,v=(String(Number(n)+1),null);r.push({lhsScrollY:T,rhsScrollY:C,x1:x,x2:m,containerTop:f,leftIdx:e,rhsArrayIdx:l,styleColor:R?.badgeBorder||"#6366F1",styleBg:R?.badgeBg||"#FFFFFF",styleText:R?.badgeText||"#A16207",styleId:E,centerX:B});const D=p(S,i,s),O=p(I,u,g),L=D-f,_=O-f,F=bt(x,L,m,_,B,S>=i-4&&S<=s+4,I>=u-4&&I<=g+4);t.push({id:E,pathD:F,style:R,leftIdx:e,rhsArrayIdx:l,x1:x,x2:m,y1:L,y2:_,matchLabel:v})}}),pt.current=r}ut(t),setTimeout(()=>yt(),10)}else ut([]),pt.current=[],setTimeout(()=>yt(),10)}catch(t){console.error("Line render safe fail: ",t)}finally{ht.current=!1}}},[g,o,h,E,W,Z,M,D,T,S,I,B,x,m,C]),yt=t.useCallback(()=>{const t=pt.current;if(!t.length)return l.current["guideline-up-stroke"]?.setAttribute("visibility","hidden"),l.current["guideline-up-badge"]?.setAttribute("visibility","hidden"),l.current["guideline-down-stroke"]?.setAttribute("visibility","hidden"),void l.current["guideline-down-badge"]?.setAttribute("visibility","hidden");if(L.current)return;const e=r.current?.scrollTop??0,c=i.current?.scrollTop??0,u=r.current?.clientHeight??1/0,s=i.current?.clientHeight??1/0,o=r.current?.getBoundingClientRect().top??0,h=i.current?.getBoundingClientRect().top??0,g=o+u,a=h+s,d=n.current?.getBoundingClientRect(),f=d?.top??0,p=d?.height??1/0,b=(t,e,n)=>Math.max(e,Math.min(n,t));let A=0,y=0,$=0,R=0,x="#6366F1",m="#A16207",B=!1,S=0;if(t.forEach(t=>{const n=t.lhsScrollY-e+o,r=t.rhsScrollY-c+h,i=l.current[t.styleId+"-stroke"],u=l.current[t.styleId+"-bg"],s=l.current[t.styleId+"-btn"],d=l.current[t.styleId+"-number"];if(!i&&!u)return;const p=b(n,o,g),I=b(r,h,a),T=p-f,C=I-f,E=n>=o-4&&n<=g+4,M=r>=h-4&&r<=a+4;let v=!0;B=!0;const D=t.centerX||t.x1+75;0===$&&($=t.x1,R=T,S=D,x=t.styleColor,t.styleBg,m=t.styleText||"#A16207"),r<h-4?(A++,v=!1):r>a+4&&(y++,v=!1);const O=bt(t.x1,T,t.x2,C,S,E,M);i&&(v&&O?(i.setAttribute("visibility","visible"),i.setAttribute("d",O)):i.setAttribute("visibility","hidden")),u&&(v&&O?(u.setAttribute("visibility","visible"),u.setAttribute("d",O)):u.setAttribute("visibility","hidden")),s&&(E&&v?(s.setAttribute("visibility","visible"),s.setAttribute("y",String(T-12))):s.setAttribute("visibility","hidden")),d&&(E&&v?(d.setAttribute("visibility","visible"),d.setAttribute("transform",`translate(${t.x2-42}, ${C})`)):d.setAttribute("visibility","hidden"))}),B&&S>0){const t=l.current["guideline-up-stroke"],e=l.current["guideline-up-badge"],n=l.current["guideline-up-arrow"],r=l.current["guideline-up-text"],i=l.current["guideline-up-badge-rect"];if(A>0){const c=Math.max(15,h-f+15),l=Math.min(15,Math.abs(S-$),Math.max(0,R-c)),u=`M ${$},${R} L ${S-l},${R} Q ${S},${R} ${S},${R-l} L ${S},${c}`;t?.setAttribute("visibility","visible"),t?.setAttribute("d",u),t?.setAttribute("stroke",x),e?.setAttribute("visibility","visible"),e?.setAttribute("transform",`translate(${S}, ${c})`),n&&n.setAttribute("fill",x),r&&(r.textContent=`+${A}`,r.setAttribute("fill",m)),i&&i.setAttribute("stroke",x)}else t?.setAttribute("visibility","hidden"),e?.setAttribute("visibility","hidden");const c=l.current["guideline-down-stroke"],u=l.current["guideline-down-badge"],s=l.current["guideline-down-arrow"],o=l.current["guideline-down-text"],g=l.current["guideline-down-badge-rect"];if(y>0){const t=Math.min(p-15,a-f-15),e=Math.min(15,Math.abs(S-$),Math.max(0,t-R)),n=`M ${$},${R} L ${S-e},${R} Q ${S},${R} ${S},${R+e} L ${S},${t}`;c?.setAttribute("visibility","visible"),c?.setAttribute("d",n),c?.setAttribute("stroke",x),u?.setAttribute("visibility","visible"),u?.setAttribute("transform",`translate(${S}, ${t})`),s&&s.setAttribute("fill",x),o&&(o.textContent=`+${y}`,o.setAttribute("fill",m)),g&&g.setAttribute("stroke",x)}else c?.setAttribute("visibility","hidden"),u?.setAttribute("visibility","hidden")}},[]),$t=t.useCallback(()=>{pt.current.length>0&&!L.current||(null!==dt.current&&clearTimeout(dt.current),dt.current=setTimeout(()=>{V.current(),dt.current=null},50))},[]),Rt=t.useCallback(t=>{if(null!==J.current&&U.current&&Math.abs(t.currentTarget.scrollTop-J.current)<=2){const t=U.current;J.current=null,U.current=null,t()}if(!at.current&&!j.current){if(T&&z&&(_.current||B.size>0)){const n=t.currentTarget,c=r.current,l=i.current,u=n===c?l:n===l?c:null;if(n&&u){const t=()=>{const t=H.current,n=P.current;if(null===t)return{leftAnchor:null,rightAnchor:null};if("string"==typeof t&&t.includes(e.DEVIATION_BADGE_SEPARATOR)){const n=t.split(e.DEVIATION_BADGE_SEPARATOR),r=`${n[0]}${e.DEVIATION_BADGE_SEPARATOR}${n[1]}`;return{leftAnchor:y.current[r]?.current||b.current[n[2]]?.current||f.current[Number(n[2])]?.current||null,rightAnchor:$.current[r]?.current||A.current[n[3]]?.current||p.current[Number(n[3])]?.current||null}}const r=Number(t),i=null!==n?Number(n):r;return{leftAnchor:y.current[r]?.current||R.current[r]?.current||f.current[r]?.current||null,rightAnchor:$.current[i]?.current||p.current[i]?.current||null}},{leftAnchor:r,rightAnchor:i}=t(),l=n===c?r:i,s=n===c?i:r;let o=null;if(l&&s){const t=l.getBoundingClientRect(),e=s.getBoundingClientRect(),n=u.getBoundingClientRect(),r=t.top+t.height/2;o=e.top-n.top+u.scrollTop+e.height/2-(r-n.top)}else{const t=Math.max(0,n.scrollHeight-n.clientHeight),e=Math.max(0,u.scrollHeight-u.clientHeight);o=t>0?n.scrollTop/t*e:n.scrollTop}const h=Math.max(0,u.scrollHeight-u.clientHeight);o=Math.max(0,Math.min(o,h)),Math.abs(u.scrollTop-o)>1&&(at.current=!0,u.scrollTop=o,requestAnimationFrame(()=>{at.current=!1}))}}T||$t(),gt.current||(gt.current=!0,requestAnimationFrame(()=>{if(_.current){const t=r.current,c=i.current;if(t&&c&&N.current){if(!F.current){const r=H.current;let i;if("string"==typeof r&&r.includes(e.DEVIATION_BADGE_SEPARATOR)){const t=r.split(e.DEVIATION_BADGE_SEPARATOR),n=`${t[0]}${e.DEVIATION_BADGE_SEPARATOR}${t[1]}`;i=y.current[n]?.current}else i=y.current[r]?.current;if(i){const e=i.getBoundingClientRect();F.current={badgeScreenY:e.top+e.height/2,initialScrollTop:t.scrollTop,leftTop:t.getBoundingClientRect().top,leftBottom:t.getBoundingClientRect().top+t.clientHeight,cTop:n.current?.getBoundingClientRect().top??0}}}if(F.current){const e=F.current,n=t.scrollTop-e.initialScrollTop,r=e.badgeScreenY-n,i=(((t,e,n)=>Math.max(e,Math.min(n,t)))(r,e.leftTop,e.leftBottom)-e.cTop).toString(),c=r>=e.leftTop-4&&r<=e.leftBottom+4;N.current.setAttribute("y1",i),N.current.setAttribute("y2",i),N.current.setAttribute("visibility",c?"visible":"hidden")}}}yt(),gt.current=!1}))}},[yt,T,z,B,$t]);return t.useEffect(()=>{V.current=At},[At]),t.useEffect(()=>{const t=setTimeout($t,250),e=()=>Q.current();return window.addEventListener("resize",e),()=>{clearTimeout(t),null!==dt.current&&clearTimeout(dt.current),null!==Y.current&&clearTimeout(Y.current),window.removeEventListener("resize",e)}},[X,q,K,g,x,m,o,h,W,$t,S,I,O,B]),{lines:tt,setLines:et,overallConnector:nt,setOverallConnector:rt,connectedLines:lt,setConnectedLines:ut,svgDimensions:st,cachedConnectedPositions:pt,calculateLines:At,calculateLinesRef:V,calculateLinesDebounced:$t,handleColumnScroll:Rt}};
2
2
  //# sourceMappingURL=useLinesCalculator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLinesCalculator.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"useLinesCalculator.js","sources":["../../../../../src/features/CognitiveCompare/hooks/useLinesCalculator.tsx"],"sourcesContent":["import { useCallback, useEffect, useRef, useState } from \"react\"\nimport { CachedBadgePosition, SectionBlock } from \"../CognitiveCompareTypes\";\nimport { DEVIATION_BADGE_SEPARATOR, getBentArrowPath, hasValue } from \"../CognitiveComparehelpers\";\nimport { maxHeight } from \"@mui/system\";\n\nexport const useLinesCalculator = ({\n containerRef,\n leftContainerRef,\n rightContainerRef,\n svgContainerRef,\n pathRefs,\n leftHeaderRef, rightHeaderRef,\n proposedSections, existingSections,\n visibleFields,\n leftRefs, rightRefs,\n sectionLeftRefs, sectionRightRefs,\n subSectionLeftRefs, subSectionRightRefs,\n lhsBadgeRefs, rhsBadgeRefs,\n sectionRowRefs,\n expandedSections, expandedSubSections,\n connectedSections,\n isSideBySide, activeSideBySideSection,\n maintainRelativeOrder,\n isGuidelineMode, // ── NEW PROP ──\n cognitiveMap,\n getSectionCompareStyle, getSubSectionCompareStyle, getDeviationStyleByKey,\n isArrowVisible,\n\n isAnimatingRef,\n isSideBySideRef,\n sideBySideCacheRef,\n sideBySideLineRef,\n activeSideBySideSectionRef,\n activeSideBySideRightSectionRef,\n connectedLines: providedConnectedLines,\n setConnectedLines: providedSetConnectedLines,\n cachedConnectedPositions: providedCachedConnectedPositions,\n calculateLinesRef,\n resizeTimerRef,\n scrollLock,\n scrollSyncLocked,\n\n handleResizeRef,\n activeProposed, existingRule, analysisData,\n pendingScrollTargetRef, pendingScrollCallbackRef,\n\n resolvedComparisonConfig,\n getFieldData\n}: any) => {\n // States and Refs\n const [lines, setLines] = useState<Record<string, any>[]>([]);\n const [overallConnector, setOverallConnector] = useState<{ x1: number; x2: number; y: number; } | null>(null);\n const [internalConnectedLines, internalSetConnectedLines] = useState<Record<string, any>[]>([]);\n const connectedLines = providedConnectedLines ?? internalConnectedLines;\n const setConnectedLines = providedSetConnectedLines ?? internalSetConnectedLines;\n const [svgDimensions, setSvgDimensions] = useState<{ width: number; height: number }>({ width: 0, height: 0 });\n\n const isCalculatingLines = useRef(false);\n const scrollTicking = useRef(false);\n const scrollSyncing = useRef(false);\n const timerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const internalCachedConnectedPositions = useRef<CachedBadgePosition[]>([]);\n const cachedConnectedPositions =\n providedCachedConnectedPositions ?? internalCachedConnectedPositions;\n\n\n \n // Helpers\n // ── UNIFIED ROUNDED PATH GENERATOR (Guarantees shared trunk for ALL modes) ──\n const getRoundedStaggeredPath = (x1: number, y1: number, x2: number, y2: number, cX: number, visL: boolean, visR: boolean) => {\n if (Math.abs(y2 - y1) <= 1) {\n if (visL && visR) return `M ${x1},${y1} L ${x2},${y2}`;\n if (visL && !visR) return `M ${x1},${y1} L ${cX},${y1}`;\n if (!visL && visR) return `M ${cX},${y1} L ${x2},${y2}`;\n return `M ${cX},${y1} L ${cX},${y2}`;\n }\n const r1 = Math.min(15, Math.abs(cX - x1), Math.abs(y2 - y1) / 2);\n const r2 = Math.min(15, Math.abs(x2 - cX), Math.abs(y2 - y1) / 2);\n const dy1 = y2 > y1 ? r1 : -r1;\n const dy2 = y2 > y1 ? r2 : -r2;\n const dx2 = x2 > cX ? r2 : -r2; // Safe horizontal direction\n \n if (visL && visR) {\n return `M ${x1},${y1} L ${cX - r1},${y1} Q ${cX},${y1} ${cX},${y1 + dy1} L ${cX},${y2 - dy2} Q ${cX},${y2} ${cX + dx2},${y2} L ${x2},${y2}`;\n } else if (visL && !visR) {\n return `M ${x1},${y1} L ${cX - r1},${y1} Q ${cX},${y1} ${cX},${y1 + dy1} L ${cX},${y2}`;\n } else if (!visL && visR) {\n return `M ${cX},${y1} L ${cX},${y2 - dy2} Q ${cX},${y2} ${cX + dx2},${y2} L ${x2},${y2}`;\n } else {\n return `M ${cX},${y1} L ${cX},${y2}`;\n }\n };\n\n // Helper to check if a subsection is actually visible in the expanded section\n const isSubSectionVisible = (keyPath: string) => {\n const pathParts = keyPath.split('-');\n const rootIdx = pathParts[0];\n\n // Edge case\n // Early return if root parent is not expanded\n // Only happens in side by side view for deeply nested children\n if (!expandedSections[rootIdx] && maintainRelativeOrder === false) return;\n\n if (maintainRelativeOrder) {\n if (!expandedSections[`left-${rootIdx}`] && !expandedSections[`right-${rootIdx}`] && !expandedSections[rootIdx]) return false;\n }\n\n // Check to confirm if all the ancestors of the node are expanded otherwise early return\n let ancestorPath = rootIdx;\n for (let i = 1; i < pathParts.length - 1; i++) {\n ancestorPath += `-${pathParts[i]}`;\n if (!expandedSections[ancestorPath]) return false;\n }\n\n return true;\n };\n\n // Callbacks\n const calculateLines = useCallback(() => {\n if (isCalculatingLines.current) return;\n if (isAnimatingRef.current) return;\n isCalculatingLines.current = true;\n try {\n if (!containerRef.current) return;\n\n // Helper to check if a subsection is actually visible in the expanded accordion tree\n const isSubSectionVisible = (keyPath: string) => {\n const pathParts = keyPath.split('-');\n const rootIdx = pathParts[0];\n\n // 1. Root Parent must be expanded\n if (!expandedSections[rootIdx] && maintainRelativeOrder === false) return false;\n if (maintainRelativeOrder) {\n if (!expandedSections[`left-${rootIdx}`] && !expandedSections[`right-${rootIdx}`] && !expandedSections[rootIdx]) return false;\n }\n\n // 2. All intermediate ancestor subsections must be expanded\n let ancestorPath = rootIdx;\n for (let i = 1; i < pathParts.length - 1; i++) {\n ancestorPath += `-${pathParts[i]}`;\n if (!expandedSubSections[ancestorPath]) {\n return false;\n }\n }\n return true;\n };\n\n // 3. Keep the SVG setup and field heights logic intact\n const containerRect = containerRef.current.getBoundingClientRect();\n setSvgDimensions({\n width: containerRect.width,\n height: containerRect.height,\n });\n\n const newLines: Record<string, any>[] = [];\n\n // RESET STYLES (WRITE ONLY)\n visibleFields.forEach(({ key }: {key: any}) => {\n const l = leftRefs.current[key]?.current;\n const r = rightRefs.current[key]?.current;\n\n if (l && r) {\n l.style.height = \"auto\";\n r.style.height = \"auto\";\n l.style.minHeight = \"0px\";\n r.style.minHeight = \"0px\";\n }\n });\n\n if (!isAnimatingRef.current) {\n for (let idx = 0; idx < Math.max(proposedSections.length, existingSections.length); idx++) {\n const l = sectionLeftRefs.current[idx]?.current;\n const r = sectionRightRefs.current[idx]?.current;\n\n if (l) {\n l.style.height = \"auto\";\n l.style.minHeight = \"0px\";\n }\n if (r) {\n r.style.height = \"auto\";\n r.style.minHeight = \"0px\";\n }\n }\n \n if (!maintainRelativeOrder) {\n // Subsections reset\n Object.keys(subSectionLeftRefs.current).forEach(keyPath => {\n if (!isSubSectionVisible(keyPath)) return;\n const l = subSectionLeftRefs.current[keyPath]?.current;\n const r = subSectionRightRefs.current[keyPath]?.current;\n if (l && r) {\n l.style.height = \"auto\";\n r.style.height = \"auto\";\n l.style.minHeight = \"0px\";\n r.style.minHeight = \"0px\";\n }\n });\n }\n }\n\n // READ HEIGHTS (READ ONLY)\n const fieldHeights: Record<string, number> = {};\n\n visibleFields.forEach(({ key } : {key: any}) => {\n const l = leftRefs.current[key]?.current;\n const r = rightRefs.current[key]?.current;\n\n if (l && r) {\n const lRect = l.getBoundingClientRect();\n const rRect = r.getBoundingClientRect();\n fieldHeights[key] = Math.max(lRect.height, rRect.height);\n }\n });\n\n const syncHeights = { left: {} as Record<number, number>, right: {} as Record<number, number> };\n const subSectionHeights: Record<string, number> = {};\n\n if (!isAnimatingRef.current) {\n if (!maintainRelativeOrder) {\n // ── FIX: Measure and apply subsection heights FIRST so their new heights push the parent containers ──\n Object.keys(subSectionLeftRefs.current).forEach(keyPath => {\n if (!isSubSectionVisible(keyPath)) return;\n const l = subSectionLeftRefs.current[keyPath]?.current;\n const r = subSectionRightRefs.current[keyPath]?.current;\n if (l && r && l.offsetParent !== null && r.offsetParent !== null) {\n const lRect = l.getBoundingClientRect();\n const rRect = r.getBoundingClientRect();\n const maxH = Math.max(lRect.height, rRect.height);\n subSectionHeights[keyPath] = maxH;\n \n // Apply immediately so the browser recalculates layout for the parent block below\n l.style.minHeight = `${maxH}px`;\n r.style.minHeight = `${maxH}px`;\n }\n });\n\n // ── NOW measure main sections (which will naturally wrap the aligned subsections) ──\n for (let idx = 0; idx < Math.min(proposedSections.length, existingSections.length); idx++) {\n const l = sectionLeftRefs.current[idx]?.current;\n const r = sectionRightRefs.current[idx]?.current;\n\n if (l && r) {\n const maxH = Math.max(l.getBoundingClientRect().height, r.getBoundingClientRect().height);\n syncHeights.left[idx] = maxH;\n syncHeights.right[idx] = maxH;\n }\n }\n\n } else if (isSideBySide && activeSideBySideSection !== null) {\n if (typeof activeSideBySideSection === \"number\") {\n const leftIdx = activeSideBySideSection;\n const leftSec = proposedSections[leftIdx] as any;\n const l = sectionLeftRefs.current[leftIdx]?.current;\n\n if (l && leftSec) {\n (leftSec.refIndexes || []).forEach((rhsSelfIdx: number) => {\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIdx);\n const r = sectionRightRefs.current[rhsArrayIdx]?.current;\n if (!r) return;\n\n if (expandedSections[`left-${leftIdx}`] || expandedSections[`right-${rhsArrayIdx}`]) {\n const maxH = Math.max(l.getBoundingClientRect().height, r.getBoundingClientRect().height);\n syncHeights.left[leftIdx] = Math.max(syncHeights.left[leftIdx] || 0, maxH);\n syncHeights.right[rhsArrayIdx] = Math.max(syncHeights.right[rhsArrayIdx] || 0, maxH);\n }\n });\n }\n } else {\n const keyPath = activeSideBySideSection.split(DEVIATION_BADGE_SEPARATOR)[2]; \n if (keyPath) {\n const l = subSectionLeftRefs.current[keyPath]?.current;\n const r = subSectionRightRefs.current[keyPath]?.current;\n if (l && r) {\n const maxH = Math.max(l.getBoundingClientRect().height, r.getBoundingClientRect().height);\n subSectionHeights[keyPath] = Math.max(subSectionHeights[keyPath] || 0, maxH);\n }\n }\n }\n }\n }\n\n visibleFields.forEach(({ key } : {key : any}) => {\n const l = leftRefs.current[key]?.current;\n const r = rightRefs.current[key]?.current;\n\n if (l && r) {\n const maxH = fieldHeights[key];\n l.style.minHeight = `${maxH}px`;\n r.style.minHeight = `${maxH}px`;\n }\n });\n\n if (!isAnimatingRef.current) {\n Object.entries(syncHeights.left).forEach(([idx, maxH]) => {\n const l = sectionLeftRefs.current[Number(idx)]?.current;\n if (l) l.style.minHeight = `${maxH}px`;\n });\n \n Object.entries(syncHeights.right).forEach(([idx, maxH]) => {\n const r = sectionRightRefs.current[Number(idx)]?.current;\n if (r) r.style.minHeight = `${maxH}px`;\n });\n\n if (!maintainRelativeOrder) {\n Object.keys(subSectionHeights).forEach(keyPath => {\n const l = subSectionLeftRefs.current[keyPath]?.current;\n const r = subSectionRightRefs.current[keyPath]?.current;\n if (l && r && subSectionHeights[keyPath]) {\n const maxH = subSectionHeights[keyPath];\n l.style.minHeight = `${maxH}px`;\n r.style.minHeight = `${maxH}px`;\n }\n });\n }\n }\n\n // SECTION CONNECTORS\n // ── SKIP SECTION LINES IF IN GUIDELINE MODE ──\n if (!isGuidelineMode) {\n const getMappedRightIndexes = (leftSec: any, leftIdx: number) => {\n // Standard/Side-by-Side data is already materialized as explicit\n // mapping rows, so its counterpart is always at the same row index.\n // Looking up by display_index is ambiguous when a target section is\n // intentionally repeated for more than one mapping edge.\n if (!maintainRelativeOrder) {\n return existingSections[leftIdx] ? [leftIdx] : [];\n }\n\n const mapped = (leftSec.refIndexes || [])\n .map((rhsSelfIdx: number) =>\n existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIdx),\n )\n .filter((idx: number) => idx !== -1);\n\n // Backward-compatible fallback for old one-to-one/index-based data\n if (!mapped.length && existingSections[leftIdx]) {\n return [leftIdx];\n }\n\n return Array.from(new Set(mapped));\n };\n\n proposedSections.forEach((leftSec: any, leftIdx: number) => {\n const continuationSourceIdx = leftSec.continuationSourceRowId\n ? proposedSections.findIndex(\n (section: any) =>\n section.comparisonRowId === leftSec.continuationSourceRowId,\n )\n : -1;\n const resolvedLeftIdx =\n continuationSourceIdx >= 0 ? continuationSourceIdx : leftIdx;\n const lWrap = sectionLeftRefs.current[resolvedLeftIdx]?.current;\n if (!lWrap) return;\n\n const rightIndexes = getMappedRightIndexes(leftSec, leftIdx);\n\n rightIndexes.forEach((rhsArrayIdx: any) => {\n const rWrap = sectionRightRefs.current[rhsArrayIdx]?.current;\n if (!rWrap) return;\n\n const leftRect = lWrap.getBoundingClientRect();\n const rightRect = rWrap.getBoundingClientRect();\n\n const x1 = leftRect.right - containerRect.left;\n const x2 = rightRect.left - containerRect.left;\n\n let y1 = leftRect.top + 18 - containerRect.top;\n let y2 = rightRect.top + 18 - containerRect.top;\n\n if (maintainRelativeOrder && isSideBySide && activeSideBySideSection === leftIdx) {\n const leftTop = leftContainerRef.current?.getBoundingClientRect().top ?? 0;\n const rightTop = rightContainerRef.current?.getBoundingClientRect().top ?? 0;\n const leftBottom = leftTop + (leftContainerRef.current?.clientHeight ?? Infinity);\n const rightBottom = rightTop + (rightContainerRef.current?.clientHeight ?? Infinity);\n\n const clamp = (v: number, min: number, max: number) =>\n Math.max(min, Math.min(max, v));\n\n y1 = clamp(leftRect.top + 18, leftTop, leftBottom) - containerRect.top;\n y2 = clamp(rightRect.top + 18, rightTop, rightBottom) - containerRect.top;\n }\n\n const style = getSectionCompareStyle(resolvedLeftIdx);\n\n if (style) {\n newLines.push({\n id: `line-${resolvedLeftIdx}-${rhsArrayIdx}`,\n x1,\n y1,\n x2,\n y2,\n style,\n sectionIdx: resolvedLeftIdx,\n targetRightIdx: rhsArrayIdx,\n isSubSection: false,\n isMappingContinuation: continuationSourceIdx >= 0,\n hasCognitive: !!(\n proposedSections[resolvedLeftIdx]?.cognitiveData ||\n existingSections[rhsArrayIdx]?.cognitiveData ||\n proposedSections[resolvedLeftIdx]?.nodeId &&\n cognitiveMap[proposedSections[resolvedLeftIdx].nodeId as string]\n ),\n });\n }\n });\n });\n }\n\n if (!isGuidelineMode && isSideBySide && typeof activeSideBySideSection === 'string' && activeSideBySideSection.includes(DEVIATION_BADGE_SEPARATOR)) {\n const [nodeId, devKey, leftKeyPath, rightKeyPath] = activeSideBySideSection.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n\n const lBadgeEl = lhsBadgeRefs.current[refId]?.current;\n const rBadgeEl = rhsBadgeRefs.current[refId]?.current;\n\n if (lBadgeEl && rBadgeEl) {\n const lRect = lBadgeEl.getBoundingClientRect();\n const rRect = rBadgeEl.getBoundingClientRect();\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left;\n \n let y1 = lRect.top + lRect.height / 2 - containerRect.top;\n let y2 = rRect.top + rRect.height / 2 - containerRect.top;\n\n if (maintainRelativeOrder) {\n const leftTop = leftContainerRef.current?.getBoundingClientRect().top ?? 0;\n const rightTop = rightContainerRef.current?.getBoundingClientRect().top ?? 0;\n const leftBottom = leftTop + (leftContainerRef.current?.clientHeight ?? Infinity);\n const rightBottom = rightTop + (rightContainerRef.current?.clientHeight ?? Infinity);\n const clamp = (v: number, min: number, max: number) => Math.max(min, Math.min(max, v));\n\n y1 = clamp(lRect.top + lRect.height / 2, leftTop, leftBottom) - containerRect.top;\n y2 = clamp(rRect.top + rRect.height / 2, rightTop, rightBottom) - containerRect.top;\n }\n \n const style =\n getDeviationStyleByKey(nodeId, devKey) ??\n getSubSectionCompareStyle(leftKeyPath);\n if (style) {\n newLines.push({\n id: `line-subsec-${refId}`,\n x1, y1, x2, y2,\n style,\n sectionIdx: Number(leftKeyPath.split('-')[0]),\n isSubSection: true,\n subSectionKeyPath: activeSideBySideSection,\n });\n }\n }\n }\n\n setLines(newLines);\n\n if (leftHeaderRef.current && rightHeaderRef.current) {\n const leftHeaderRect = leftHeaderRef.current.getBoundingClientRect();\n const rightHeaderRect = rightHeaderRef.current.getBoundingClientRect();\n const overallY =\n (leftHeaderRect.top +\n leftHeaderRect.height / 2 -\n containerRect.top +\n rightHeaderRect.top +\n rightHeaderRect.height / 2 -\n containerRect.top) /\n 2;\n setOverallConnector({\n x1: leftHeaderRect.right - containerRect.left,\n x2: rightHeaderRect.left - containerRect.left,\n y: overallY,\n });\n } else {\n setOverallConnector(null);\n }\n\n if (connectedSections.size > 0) {\n const newConnectedLines: Record<string, any>[] = [];\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n\n if (leftContainer && rightContainer) {\n const newCache: CachedBadgePosition[] = [];\n \n const leftTop = leftContainer.getBoundingClientRect().top;\n const rightTop = rightContainer.getBoundingClientRect().top;\n const leftBottom = leftTop + leftContainer.clientHeight;\n const rightBottom = rightTop + rightContainer.clientHeight;\n\n const leftScrollTop = leftContainer.scrollTop;\n const rightScrollTop = rightContainer.scrollTop;\n const cTop = containerRect.top;\n\n const clamp = (v: number, min: number, max: number) =>\n Math.max(min, Math.min(max, v));\n\n connectedSections.forEach((connectedIdx:any) => {\n // ── GUIDELINE MODE LOGIC ──\n if (isGuidelineMode) {\n let lBadge: HTMLElement | null = null;\n let leftIdxNum: number | null = null;\n let style: any = null;\n\n if (typeof connectedIdx === 'string' && connectedIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const [nodeId, devKey, leftKeyPath] = connectedIdx.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n lBadge = lhsBadgeRefs.current[refId]?.current;\n style = getDeviationStyleByKey(nodeId, devKey) ?? getSubSectionCompareStyle(leftKeyPath);\n leftIdxNum = Number(leftKeyPath?.split('-')[0] || 0);\n } else {\n leftIdxNum = Number(connectedIdx);\n lBadge = lhsBadgeRefs.current[leftIdxNum]?.current;\n style = getSectionCompareStyle(leftIdxNum);\n }\n\n if (!lBadge) return;\n\n const targetMarks = document.querySelectorAll('[id^=\"guideline-target-\"]');\n \n targetMarks.forEach((rBadge, index) => {\n const lRect = lBadge!.getBoundingClientRect();\n const rRect = rBadge.getBoundingClientRect();\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left - 0;\n \n // ── UNIVERSAL SPINE JUNCTION PUSHED TO X1+75 TO CLEAR LOCK ICON ──\n const centerX = x1 + 75;\n\n const rawLhsY = lRect.top + lRect.height / 2;\n // Target the middle of the highlighted text vertically\n const rawRhsY = rRect.top + rRect.height / 2;\n\n const lhsScrollY = (rawLhsY - leftTop) + leftScrollTop;\n const rhsScrollY = (rawRhsY - rightTop) + rightScrollTop;\n \n const styleId = `conn-guide-${connectedIdx}-${index}`;\n \n // ── BULLETPROOF MATH LABEL GENERATION ──\n let baseLabel = \"\";\n if (typeof connectedIdx === 'string' && connectedIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const parts = connectedIdx.split(DEVIATION_BADGE_SEPARATOR);\n const leftKeyPath = parts[2] || \"\";\n baseLabel = leftKeyPath.split('-').map(n => Number(n) + 1).join('.');\n } else {\n baseLabel = String(Number(connectedIdx) + 1);\n }\n const letter = String.fromCharCode(97 + index); // a, b, c...\n const matchLabel = targetMarks.length === 1 ? null : `${baseLabel}(${letter})`;\n\n newCache.push({\n lhsScrollY, rhsScrollY, x1, x2, containerTop: cTop,\n leftIdx: connectedIdx, rhsArrayIdx: index, \n styleColor: style?.badgeBorder || \"#6366F1\", \n styleBg: style?.badgeBg || \"#FFFFFF\",\n styleText: style?.badgeText || \"#A16207\",\n styleId, centerX,\n });\n\n const clampedLhsY = clamp(rawLhsY, leftTop, leftBottom);\n const clampedRhsY = clamp(rawRhsY, rightTop, rightBottom);\n\n const y1 = clampedLhsY - cTop;\n const y2 = clampedRhsY - cTop;\n\n const lhsVisible = rawLhsY >= leftTop - 4 && rawLhsY <= leftBottom + 4;\n const rhsVisible = rawRhsY >= rightTop - 4 && rawRhsY <= rightBottom + 4;\n\n const pathD = getRoundedStaggeredPath(x1, y1, x2, y2, centerX, lhsVisible, rhsVisible);\n\n newConnectedLines.push({ \n id: styleId, pathD, style, leftIdx: connectedIdx, rhsArrayIdx: index, \n x1, x2, y1, y2, centerX, matchLabel, isGuideline: true \n });\n });\n } else {\n // ── UNIFIED CONTRACT TO CONTRACT LOGIC ──\n if (typeof connectedIdx === 'string' && connectedIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const [nodeId, devKey, leftKeyPath, rightKeyPath] = connectedIdx.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n\n const lBadge = lhsBadgeRefs.current[refId]?.current;\n const rBadge = rhsBadgeRefs.current[refId]?.current;\n if (!lBadge || !rBadge) return;\n\n const lRect = lBadge.getBoundingClientRect();\n const rRect = rBadge.getBoundingClientRect();\n const style = getDeviationStyleByKey(nodeId, devKey) ?? getSubSectionCompareStyle(leftKeyPath);\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left - 0;\n const centerX = x1 + 75; // ── UNIVERSAL SPINE JUNCTION ──\n\n const rawLhsY = lRect.top + lRect.height / 2;\n const rawRhsY = rRect.top + rRect.height / 2;\n\n const lhsScrollY = (rawLhsY - leftTop) + leftScrollTop;\n const rhsScrollY = (rawRhsY - rightTop) + rightScrollTop;\n const styleId = `conn-subsec-${refId}`;\n \n const leftKeyP = leftKeyPath || \"\";\n const baseLabel = leftKeyP.split('-').map(n => Number(n) + 1).join('.');\n const matchLabel = null; // 1-to-1 connection, no badge needed\n\n newCache.push({\n lhsScrollY, rhsScrollY, x1, x2, containerTop: cTop,\n leftIdx: connectedIdx, rhsArrayIdx: connectedIdx,\n styleColor: style?.badgeBorder || \"#6366F1\", styleBg: style?.badgeBg || \"#FFFFFF\", styleText: style?.badgeText || \"#A16207\",\n styleId, centerX, \n });\n\n const clampedLhsY = clamp(rawLhsY, leftTop, leftBottom);\n const clampedRhsY = clamp(rawRhsY, rightTop, rightBottom);\n const y1 = clampedLhsY - cTop;\n const y2 = clampedRhsY - cTop;\n const lhsVisible = rawLhsY >= leftTop - 4 && rawLhsY <= leftBottom + 4;\n const rhsVisible = rawRhsY >= rightTop - 4 && rawRhsY <= rightBottom + 4;\n\n const pathD = getRoundedStaggeredPath(x1, y1, x2, y2, centerX, lhsVisible, rhsVisible);\n\n newConnectedLines.push({ id: styleId, pathD, style, leftIdx: connectedIdx, rhsArrayIdx: connectedIdx, x1, x2, y1, y2, matchLabel });\n } else {\n if (!maintainRelativeOrder) {\n const leftIdx = connectedIdx;\n const rhsArrayIdx = leftIdx as number;\n const lBadge = lhsBadgeRefs.current[leftIdx]?.current;\n const rBadge = rhsBadgeRefs.current[rhsArrayIdx]?.current;\n if (!lBadge || !rBadge) return;\n\n const lRect = lBadge.getBoundingClientRect();\n const rRect = rBadge.getBoundingClientRect();\n const style = getSectionCompareStyle(leftIdx as number);\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left - 0;\n const centerX = x1 + 75; // ── UNIVERSAL SPINE JUNCTION ──\n\n const rawLhsY = lRect.top + lRect.height / 2;\n const rawRhsY = rRect.top + rRect.height / 2;\n const lhsScrollY = (rawLhsY - leftTop) + leftScrollTop;\n const rhsScrollY = (rawRhsY - rightTop) + rightScrollTop;\n const styleId = `conn-${leftIdx}-${rhsArrayIdx}`;\n \n const baseLabel = String(Number(connectedIdx) + 1);\n const matchLabel = null; // 1-to-1 connection, no badge needed\n\n newCache.push({\n lhsScrollY, rhsScrollY, x1, x2, containerTop: cTop,\n leftIdx, rhsArrayIdx, \n styleColor: style?.badgeBorder || \"#6366F1\", styleBg: style?.badgeBg || \"#FFFFFF\", styleText: style?.badgeText || \"#A16207\",\n styleId, centerX,\n });\n\n const clampedLhsY = clamp(rawLhsY, leftTop, leftBottom);\n const clampedRhsY = clamp(rawRhsY, rightTop, rightBottom);\n const y1 = clampedLhsY - cTop;\n const y2 = clampedRhsY - cTop;\n const lhsVisible = rawLhsY >= leftTop - 4 && rawLhsY <= leftBottom + 4;\n const rhsVisible = rawRhsY >= rightTop - 4 && rawRhsY <= rightBottom + 4;\n\n const pathD = getRoundedStaggeredPath(x1, y1, x2, y2, centerX, lhsVisible, rhsVisible);\n\n newConnectedLines.push({ id: styleId, pathD, style, leftIdx, rhsArrayIdx, x1, x2, y1, y2, matchLabel });\n } else {\n const leftIdx = connectedIdx as number;\n const leftSec = proposedSections[leftIdx] as any;\n if (!leftSec?.refIndexes?.length) return;\n\n leftSec.refIndexes.forEach((rhsSelfIdx: number, index: number) => {\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIdx);\n if (rhsArrayIdx === -1) return;\n\n const lBadge = lhsBadgeRefs.current[leftIdx]?.current;\n const rBadge = rhsBadgeRefs.current[rhsArrayIdx]?.current;\n if (!lBadge || !rBadge) return;\n\n const lRect = lBadge.getBoundingClientRect();\n const rRect = rBadge.getBoundingClientRect();\n const style = getSectionCompareStyle(leftIdx);\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left - 0;\n \n const centerX = x1 + 75; // ── UNIVERSAL SPINE JUNCTION ──\n\n const rawLhsY = lRect.top + lRect.height / 2;\n const rawRhsY = rRect.top + rRect.height / 2;\n const lhsScrollY = (rawLhsY - leftTop) + leftScrollTop;\n const rhsScrollY = (rawRhsY - rightTop) + rightScrollTop;\n const styleId = `conn-${leftIdx}-${rhsArrayIdx}`;\n \n const baseLabel = String(Number(connectedIdx) + 1);\n const letter = String.fromCharCode(97 + index); \n const matchLabel = leftSec.refIndexes.length === 1 ? null : `${baseLabel}(${letter})`;\n\n newCache.push({\n lhsScrollY, rhsScrollY, x1, x2, containerTop: cTop,\n leftIdx, rhsArrayIdx,\n styleColor: style?.badgeBorder || \"#6366F1\", styleBg: style?.badgeBg || \"#FFFFFF\", styleText: style?.badgeText || \"#A16207\",\n styleId, centerX,\n });\n\n const clampedLhsY = clamp(rawLhsY, leftTop, leftBottom);\n const clampedRhsY = clamp(rawRhsY, rightTop, rightBottom);\n const y1 = clampedLhsY - cTop;\n const y2 = clampedRhsY - cTop;\n const lhsVisible = rawLhsY >= leftTop - 4 && rawLhsY <= leftBottom + 4;\n const rhsVisible = rawRhsY >= rightTop - 4 && rawRhsY <= rightBottom + 4;\n\n const pathD = getRoundedStaggeredPath(x1, y1, x2, y2, centerX, lhsVisible, rhsVisible);\n\n newConnectedLines.push({\n id: styleId, pathD, style, leftIdx, rhsArrayIdx, x1, x2, y1, y2, matchLabel,\n });\n });\n }\n }\n }\n });\n cachedConnectedPositions.current = newCache;\n }\n setConnectedLines(newConnectedLines);\n\n setTimeout(() => updateConnectedLinesOnScroll(), 10);\n } else {\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n setTimeout(() => updateConnectedLinesOnScroll(), 10);\n }\n } catch (e) {\n console.error(\"Line render safe fail: \", e);\n } finally {\n isCalculatingLines.current = false;\n }\n }, [\n visibleFields,\n proposedSections,\n existingSections,\n cognitiveMap,\n resolvedComparisonConfig,\n getFieldData,\n getSectionCompareStyle,\n getDeviationStyleByKey,\n maintainRelativeOrder,\n isSideBySide, \n activeSideBySideSection, \n connectedSections,\n expandedSections,\n expandedSubSections,\n isGuidelineMode, \n ]);\n\n const updateConnectedLinesOnScroll = useCallback(() => {\n const cache = cachedConnectedPositions.current;\n \n if (!cache.length) {\n pathRefs.current[\"guideline-up-stroke\"]?.setAttribute(\"visibility\", \"hidden\");\n pathRefs.current[\"guideline-up-badge\"]?.setAttribute(\"visibility\", \"hidden\");\n pathRefs.current[\"guideline-down-stroke\"]?.setAttribute(\"visibility\", \"hidden\");\n pathRefs.current[\"guideline-down-badge\"]?.setAttribute(\"visibility\", \"hidden\");\n return;\n }\n\n if (isAnimatingRef.current) return;\n \n const leftScroll = leftContainerRef.current?.scrollTop ?? 0;\n const rightScroll = rightContainerRef.current?.scrollTop ?? 0;\n \n const leftHeight = leftContainerRef.current?.clientHeight ?? Infinity;\n const rightHeight = rightContainerRef.current?.clientHeight ?? Infinity;\n \n const leftTop = leftContainerRef.current?.getBoundingClientRect().top ?? 0;\n const rightTop = rightContainerRef.current?.getBoundingClientRect().top ?? 0;\n \n const leftBottom = leftTop + leftHeight;\n const rightBottom = rightTop + rightHeight;\n \n const containerRect = containerRef.current?.getBoundingClientRect();\n const containerTop = containerRect?.top ?? 0;\n const containerHeight = containerRect?.height ?? Infinity;\n \n const clamp = (v: number, min: number, max: number) => Math.max(min, Math.min(max, v));\n \n let topCount = 0;\n let bottomCount = 0;\n let sharedX1 = 0, sharedY1 = 0;\n let sharedColor = \"#6366F1\", sharedBg = \"#FFFFFF\", sharedTextCol = \"#A16207\";\n let hasActiveConnections = false;\n let universalSpineX = 0; \n\n cache.forEach((entry: any) => {\n const lhsViewportY = (entry.lhsScrollY - leftScroll) + leftTop;\n const rhsViewportY = (entry.rhsScrollY - rightScroll) + rightTop;\n \n const strokeEl = pathRefs.current[entry.styleId + \"-stroke\"];\n const bgEl = pathRefs.current[entry.styleId + \"-bg\"];\n const btnEl = pathRefs.current[entry.styleId + \"-btn\"];\n const numberBadgeEl = pathRefs.current[entry.styleId + \"-number\"];\n \n if (!strokeEl && !bgEl) return;\n \n const visibleLhsY = clamp(lhsViewportY, leftTop, leftBottom);\n const visibleRhsY = clamp(rhsViewportY, rightTop, rightBottom);\n \n const y1 = visibleLhsY - containerTop;\n const y2 = visibleRhsY - containerTop;\n \n const lhsVisible = lhsViewportY >= leftTop - 4 && lhsViewportY <= leftBottom + 4;\n const rhsVisible = rhsViewportY >= rightTop - 4 && rhsViewportY <= rightBottom + 4;\n \n let showLine = true;\n hasActiveConnections = true;\n\n // Enforce absolute strict universal spine\n const centerX = entry.centerX || (entry.x1 + 75);\n\n if (sharedX1 === 0) {\n sharedX1 = entry.x1;\n sharedY1 = y1;\n universalSpineX = centerX;\n sharedColor = entry.styleColor;\n sharedBg = entry.styleBg || \"#FFFFFF\";\n sharedTextCol = entry.styleText || \"#A16207\";\n }\n\n if (rhsViewportY < rightTop - 4) {\n topCount++; showLine = false; \n } else if (rhsViewportY > rightBottom + 4) {\n bottomCount++; showLine = false; \n } \n \n const pathD = getRoundedStaggeredPath(entry.x1, y1, entry.x2, y2, universalSpineX, lhsVisible, rhsVisible);\n \n if (strokeEl) {\n if (showLine && pathD) {\n strokeEl.setAttribute(\"visibility\", \"visible\");\n strokeEl.setAttribute(\"d\", pathD);\n } else { strokeEl.setAttribute(\"visibility\", \"hidden\"); }\n }\n \n if (bgEl) {\n if (showLine && pathD) {\n bgEl.setAttribute(\"visibility\", \"visible\");\n bgEl.setAttribute(\"d\", pathD);\n } else { bgEl.setAttribute(\"visibility\", \"hidden\"); }\n }\n\n if (btnEl) {\n if (!lhsVisible || !showLine) {\n btnEl.setAttribute(\"visibility\", \"hidden\");\n } else {\n btnEl.setAttribute(\"visibility\", \"visible\");\n btnEl.setAttribute(\"y\", String(y1 - 12)); \n }\n }\n\n if (numberBadgeEl) {\n if (!lhsVisible || !showLine) {\n numberBadgeEl.setAttribute(\"visibility\", \"hidden\");\n } else {\n numberBadgeEl.setAttribute(\"visibility\", \"visible\");\n numberBadgeEl.setAttribute(\"transform\", `translate(${entry.x2 - 42}, ${y2})`);\n }\n }\n });\n\n // ── UNIVERSAL OFF-SCREEN ARROWS (ALWAYS ORIGINATE EXACTLY AT THE SPINE: X1 + 75) ──\n if (hasActiveConnections && universalSpineX > 0) {\n const upStroke = pathRefs.current[\"guideline-up-stroke\"];\n const upBadge = pathRefs.current[\"guideline-up-badge\"];\n const upArrow = pathRefs.current[\"guideline-up-arrow\"];\n const upText = pathRefs.current[\"guideline-up-text\"];\n const upRect = pathRefs.current[\"guideline-up-badge-rect\"];\n\n if (topCount > 0) {\n const upY = Math.max(15, rightTop - containerTop + 15); \n const r = Math.min(15, Math.abs(universalSpineX - sharedX1), Math.max(0, sharedY1 - upY));\n const pathD = `M ${sharedX1},${sharedY1} L ${universalSpineX - r},${sharedY1} Q ${universalSpineX},${sharedY1} ${universalSpineX},${sharedY1 - r} L ${universalSpineX},${upY}`;\n\n upStroke?.setAttribute(\"visibility\", \"visible\");\n upStroke?.setAttribute(\"d\", pathD);\n upStroke?.setAttribute(\"stroke\", sharedColor);\n\n upBadge?.setAttribute(\"visibility\", \"visible\");\n upBadge?.setAttribute(\"transform\", `translate(${universalSpineX}, ${upY})`);\n \n if (upArrow) { upArrow.setAttribute(\"fill\", sharedColor); }\n if (upText) { upText.textContent = `+${topCount}`; upText.setAttribute(\"fill\", sharedTextCol); }\n if (upRect) { upRect.setAttribute(\"stroke\", sharedColor); }\n } else {\n upStroke?.setAttribute(\"visibility\", \"hidden\");\n upBadge?.setAttribute(\"visibility\", \"hidden\");\n }\n\n const downStroke = pathRefs.current[\"guideline-down-stroke\"];\n const downBadge = pathRefs.current[\"guideline-down-badge\"];\n const downArrow = pathRefs.current[\"guideline-down-arrow\"];\n const downText = pathRefs.current[\"guideline-down-text\"];\n const downRect = pathRefs.current[\"guideline-down-badge-rect\"];\n\n if (bottomCount > 0) {\n const downY = Math.min(containerHeight - 15, rightBottom - containerTop - 15);\n const r = Math.min(15, Math.abs(universalSpineX - sharedX1), Math.max(0, downY - sharedY1));\n const pathD = `M ${sharedX1},${sharedY1} L ${universalSpineX - r},${sharedY1} Q ${universalSpineX},${sharedY1} ${universalSpineX},${sharedY1 + r} L ${universalSpineX},${downY}`;\n\n downStroke?.setAttribute(\"visibility\", \"visible\");\n downStroke?.setAttribute(\"d\", pathD);\n downStroke?.setAttribute(\"stroke\", sharedColor);\n\n downBadge?.setAttribute(\"visibility\", \"visible\");\n downBadge?.setAttribute(\"transform\", `translate(${universalSpineX}, ${downY})`);\n \n if (downArrow) { downArrow.setAttribute(\"fill\", sharedColor); }\n if (downText) { downText.textContent = `+${bottomCount}`; downText.setAttribute(\"fill\", sharedTextCol); }\n if (downRect) { downRect.setAttribute(\"stroke\", sharedColor); }\n } else {\n downStroke?.setAttribute(\"visibility\", \"hidden\");\n downBadge?.setAttribute(\"visibility\", \"hidden\");\n }\n }\n }, []);\n\n const calculateLinesDebounced = useCallback(() => {\n if (cachedConnectedPositions.current.length > 0 && !isAnimatingRef.current) {\n return;\n }\n if (timerRef.current !== null) {\n clearTimeout(timerRef.current);\n }\n timerRef.current = setTimeout(() => {\n calculateLinesRef.current();\n timerRef.current = null;\n }, 50);\n }, []); \n \n \n const handleColumnScroll = useCallback((e: any) => {\n if (pendingScrollTargetRef.current !== null && pendingScrollCallbackRef.current) {\n if (Math.abs(e.currentTarget.scrollTop - pendingScrollTargetRef.current) <= 2) {\n const callback = pendingScrollCallbackRef.current;\n pendingScrollTargetRef.current = null;\n pendingScrollCallbackRef.current = null;\n callback();\n }\n }\n \n if (scrollSyncing.current) return;\n if (scrollLock.current) return;\n\n if (\n maintainRelativeOrder &&\n scrollSyncLocked &&\n (isSideBySideRef.current || connectedSections.size > 0)\n ) {\n const source = e.currentTarget as HTMLElement;\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n const target =\n source === leftContainer\n ? rightContainer\n : source === rightContainer\n ? leftContainer\n : null;\n\n if (source && target) {\n const resolveActiveAnchors = () => {\n const activeLeftIdx = activeSideBySideSectionRef.current;\n const activeRightIdx = activeSideBySideRightSectionRef.current;\n\n if (activeLeftIdx === null) return { leftAnchor: null, rightAnchor: null };\n\n if (\n typeof activeLeftIdx === \"string\" &&\n activeLeftIdx.includes(DEVIATION_BADGE_SEPARATOR)\n ) {\n const parts = activeLeftIdx.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n\n return {\n leftAnchor:\n lhsBadgeRefs.current[refId]?.current ||\n subSectionLeftRefs.current[parts[2]]?.current ||\n sectionLeftRefs.current[Number(parts[2])]?.current ||\n null,\n rightAnchor:\n rhsBadgeRefs.current[refId]?.current ||\n subSectionRightRefs.current[parts[3]]?.current ||\n sectionRightRefs.current[Number(parts[3])]?.current ||\n null,\n };\n }\n\n const leftIdx = Number(activeLeftIdx);\n const rightIdx = activeRightIdx !== null ? Number(activeRightIdx) : leftIdx;\n\n return {\n leftAnchor:\n lhsBadgeRefs.current[leftIdx]?.current ||\n sectionRowRefs.current[leftIdx]?.current ||\n sectionLeftRefs.current[leftIdx]?.current ||\n null,\n rightAnchor:\n rhsBadgeRefs.current[rightIdx]?.current ||\n sectionRightRefs.current[rightIdx]?.current ||\n null,\n };\n };\n\n const { leftAnchor, rightAnchor } = resolveActiveAnchors();\n const sourceAnchor = source === leftContainer ? leftAnchor : rightAnchor;\n const targetAnchor = source === leftContainer ? rightAnchor : leftAnchor;\n\n let nextTargetTop: number | null = null;\n\n if (sourceAnchor && targetAnchor) {\n const sourceAnchorRect = sourceAnchor.getBoundingClientRect();\n const targetAnchorRect = targetAnchor.getBoundingClientRect();\n const targetRect = target.getBoundingClientRect();\n\n const sourceAnchorCenterY =\n sourceAnchorRect.top + sourceAnchorRect.height / 2;\n const targetAnchorAbsoluteCenterY =\n targetAnchorRect.top -\n targetRect.top +\n target.scrollTop +\n targetAnchorRect.height / 2;\n\n nextTargetTop =\n targetAnchorAbsoluteCenterY - (sourceAnchorCenterY - targetRect.top);\n } else {\n const sourceMaxScroll = Math.max(0, source.scrollHeight - source.clientHeight);\n const targetMaxScroll = Math.max(0, target.scrollHeight - target.clientHeight);\n nextTargetTop = sourceMaxScroll > 0\n ? (source.scrollTop / sourceMaxScroll) * targetMaxScroll\n : source.scrollTop;\n }\n\n const targetMaxScroll = Math.max(0, target.scrollHeight - target.clientHeight);\n nextTargetTop = Math.max(0, Math.min(nextTargetTop, targetMaxScroll));\n\n if (Math.abs(target.scrollTop - nextTargetTop) > 1) {\n scrollSyncing.current = true;\n target.scrollTop = nextTargetTop;\n requestAnimationFrame(() => {\n scrollSyncing.current = false;\n });\n }\n }\n }\n \n if (!maintainRelativeOrder) {\n calculateLinesDebounced();\n }\n \n if (!scrollTicking.current) {\n scrollTicking.current = true;\n \n requestAnimationFrame(() => {\n if (isSideBySideRef.current) {\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n \n if (leftContainer && rightContainer && sideBySideLineRef.current) {\n if (!sideBySideCacheRef.current) {\n const activeLeftIdx = activeSideBySideSectionRef.current;\n let lBadge;\n \n if (typeof activeLeftIdx === 'string' && activeLeftIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const parts = activeLeftIdx.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n lBadge = lhsBadgeRefs.current[refId]?.current;\n } else {\n lBadge = lhsBadgeRefs.current[activeLeftIdx as number]?.current;\n }\n \n if (lBadge) {\n const lRect = lBadge.getBoundingClientRect();\n sideBySideCacheRef.current = {\n badgeScreenY: lRect.top + lRect.height / 2, \n initialScrollTop: leftContainer.scrollTop, \n leftTop: leftContainer.getBoundingClientRect().top,\n leftBottom: leftContainer.getBoundingClientRect().top + leftContainer.clientHeight,\n cTop: containerRef.current?.getBoundingClientRect().top ?? 0\n };\n }\n }\n \n if (sideBySideCacheRef.current) {\n const cache = sideBySideCacheRef.current;\n const scrollDelta = leftContainer.scrollTop - cache.initialScrollTop;\n const rawLhsY = cache.badgeScreenY - scrollDelta;\n const clamp = (v: number, min: number, max: number) => Math.max(min, Math.min(max, v));\n const clampedLhsY = clamp(rawLhsY, cache.leftTop, cache.leftBottom);\n const horizontalY = (clampedLhsY - cache.cTop).toString();\n const isVisible = rawLhsY >= cache.leftTop - 4 && rawLhsY <= cache.leftBottom + 4;\n \n sideBySideLineRef.current.setAttribute(\"y1\", horizontalY);\n sideBySideLineRef.current.setAttribute(\"y2\", horizontalY); \n sideBySideLineRef.current.setAttribute(\"visibility\", isVisible ? \"visible\" : \"hidden\");\n }\n }\n }\n \n updateConnectedLinesOnScroll(); \n scrollTicking.current = false;\n });\n }\n }, [\n updateConnectedLinesOnScroll,\n maintainRelativeOrder,\n scrollSyncLocked,\n connectedSections,\n calculateLinesDebounced,\n ]);\n\n\n useEffect(() => {\n calculateLinesRef.current = calculateLines;\n }, [calculateLines]);\n\n useEffect(() => {\n const timer = setTimeout(calculateLinesDebounced, 250);\n const onWindowResize = () => handleResizeRef.current();\n window.addEventListener(\"resize\", onWindowResize);\n \n return () => {\n clearTimeout(timer);\n if (timerRef.current !== null) clearTimeout(timerRef.current);\n if (resizeTimerRef.current !== null) clearTimeout(resizeTimerRef.current);\n window.removeEventListener(\"resize\", onWindowResize);\n };\n }, [\n activeProposed,\n existingRule,\n analysisData,\n visibleFields,\n expandedSections,\n expandedSubSections,\n proposedSections,\n existingSections,\n resolvedComparisonConfig,\n calculateLinesDebounced,\n isSideBySide,\n activeSideBySideSection,\n isArrowVisible,\n connectedSections,\n ]);\n\n\n return {\n lines, setLines,\n overallConnector, setOverallConnector,\n connectedLines, setConnectedLines,\n svgDimensions,\n cachedConnectedPositions,\n calculateLines,\n calculateLinesRef,\n calculateLinesDebounced,\n handleColumnScroll,\n}\n\n}\n"],"names":["containerRef","leftContainerRef","rightContainerRef","svgContainerRef","pathRefs","leftHeaderRef","rightHeaderRef","proposedSections","existingSections","visibleFields","leftRefs","rightRefs","sectionLeftRefs","sectionRightRefs","subSectionLeftRefs","subSectionRightRefs","lhsBadgeRefs","rhsBadgeRefs","sectionRowRefs","expandedSections","expandedSubSections","connectedSections","isSideBySide","activeSideBySideSection","maintainRelativeOrder","isGuidelineMode","cognitiveMap","getSectionCompareStyle","getSubSectionCompareStyle","getDeviationStyleByKey","isArrowVisible","isAnimatingRef","isSideBySideRef","sideBySideCacheRef","sideBySideLineRef","activeSideBySideSectionRef","activeSideBySideRightSectionRef","connectedLines","providedConnectedLines","setConnectedLines","providedSetConnectedLines","cachedConnectedPositions","providedCachedConnectedPositions","calculateLinesRef","resizeTimerRef","scrollLock","scrollSyncLocked","handleResizeRef","activeProposed","existingRule","analysisData","pendingScrollTargetRef","pendingScrollCallbackRef","resolvedComparisonConfig","getFieldData","lines","setLines","useState","overallConnector","setOverallConnector","internalConnectedLines","internalSetConnectedLines","svgDimensions","setSvgDimensions","width","height","isCalculatingLines","useRef","scrollTicking","scrollSyncing","timerRef","internalCachedConnectedPositions","getRoundedStaggeredPath","x1","y1","x2","y2","cX","visL","visR","Math","abs","r1","min","r2","dy1","dy2","dx2","calculateLines","useCallback","current","isSubSectionVisible","keyPath","pathParts","split","rootIdx","ancestorPath","i","length","containerRect","getBoundingClientRect","newLines","forEach","key","l","r","style","minHeight","idx","max","Object","keys","fieldHeights","lRect","rRect","syncHeights","left","right","subSectionHeights","leftIdx","leftSec","refIndexes","rhsSelfIdx","rhsArrayIdx","findIndex","s","selfIndex","maxH","DEVIATION_BADGE_SEPARATOR","offsetParent","entries","Number","getMappedRightIndexes","mapped","map","filter","Array","from","Set","continuationSourceIdx","continuationSourceRowId","section","comparisonRowId","resolvedLeftIdx","lWrap","rWrap","leftRect","rightRect","top","leftTop","rightTop","leftBottom","clientHeight","Infinity","rightBottom","clamp","v","push","id","sectionIdx","targetRightIdx","isSubSection","isMappingContinuation","hasCognitive","cognitiveData","nodeId","includes","devKey","leftKeyPath","rightKeyPath","refId","lBadgeEl","rBadgeEl","subSectionKeyPath","leftHeaderRect","rightHeaderRect","overallY","y","size","newConnectedLines","leftContainer","rightContainer","newCache","leftScrollTop","scrollTop","rightScrollTop","cTop","connectedIdx","lBadge","leftIdxNum","targetMarks","document","querySelectorAll","rBadge","index","centerX","rawLhsY","rawRhsY","lhsScrollY","rhsScrollY","styleId","baseLabel","n","join","String","letter","fromCharCode","matchLabel","containerTop","styleColor","badgeBorder","styleBg","badgeBg","styleText","badgeText","clampedLhsY","clampedRhsY","pathD","isGuideline","setTimeout","updateConnectedLinesOnScroll","e","console","error","cache","setAttribute","leftScroll","rightScroll","leftHeight","rightHeight","containerHeight","topCount","bottomCount","sharedX1","sharedY1","sharedColor","sharedTextCol","hasActiveConnections","universalSpineX","entry","lhsViewportY","rhsViewportY","strokeEl","bgEl","btnEl","numberBadgeEl","visibleLhsY","visibleRhsY","lhsVisible","rhsVisible","showLine","upStroke","upBadge","upArrow","upText","upRect","upY","textContent","downStroke","downBadge","downArrow","downText","downRect","downY","calculateLinesDebounced","clearTimeout","handleColumnScroll","currentTarget","callback","source","target","resolveActiveAnchors","activeLeftIdx","activeRightIdx","leftAnchor","rightAnchor","parts","rightIdx","sourceAnchor","targetAnchor","nextTargetTop","sourceAnchorRect","targetAnchorRect","targetRect","sourceAnchorCenterY","sourceMaxScroll","scrollHeight","targetMaxScroll","requestAnimationFrame","badgeScreenY","initialScrollTop","scrollDelta","horizontalY","toString","isVisible","useEffect","timer","onWindowResize","window","addEventListener","removeEventListener"],"mappings":"iKAKkC,EAC9BA,eACAC,mBACAC,oBACAC,kBACAC,WACAC,gBAAeC,iBACfC,mBAAkBC,mBAClBC,gBACAC,WAAUC,YACVC,kBAAiBC,mBACjBC,qBAAoBC,sBACpBC,eAAcC,eACdC,iBACAC,mBAAkBC,sBAClBC,oBACAC,eAAcC,0BACdC,wBACAC,kBACAC,eACAC,yB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MmE,GAC7ClQ,EAAkBwD,QAAQuI,aAAa,aAAcqE,EAAY,UAAY,SAC/E,CACF,CACF,CAE6B1E,KAC7BxJ,GAAcsB,SAAU,IA7JJ,GAgKvB,CACDkI,GACApM,EACAsB,EACAzB,EACAmP,KAqCK,OAjCP+B,EAAAA,UAAU,KACR5P,EAAkB+C,QAAUF,IAC3B,CAACA,KAEJ+M,EAAAA,UAAU,KACA,MAAAC,EAAQ7E,WAAW6C,GAAyB,KAC5CiC,EAAiB,IAAM1P,EAAgB2C,UAG7C,OAFOgN,OAAAC,iBAAiB,SAAUF,GAE3B,KACLhC,aAAa+B,GACY,OAArBlO,GAASoB,SAAkB+K,aAAanM,GAASoB,SACtB,OAA3B9C,EAAe8C,SAAkB+K,aAAa7N,EAAe8C,SAC1DgN,OAAAE,oBAAoB,SAAUH,KAEtC,CACDzP,EACAC,EACAC,EACAzC,EACAU,EACAC,EACAb,EACAC,EACA6C,EACAmN,GACAlP,EACAC,EACAO,EACAT,IAIG,CACXkC,SAAOC,YACPE,oBAAkBC,uBAClBtB,kBAAgBE,qBAChBuB,iBACArB,4BACA+C,kBACA7C,oBACA6N,2BACAE"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),n=require("../CognitiveComparehelpers.js");exports.useResizeHandler=function(r){var t=r.timerRef,u=r.ruleComponentRef,i=r.scrollContainerRef,l=r.containerRef,c=r.maintainRelativeOrder,o=r.proposedSections,s=r.existingSections,a=r.isSideBySideRef,d=r.activeSideBySideSectionRef,f=r.activeSideBySideRightSectionRef,R=r.sectionRowRefs,v=r.sectionRightRowRefs,p=r.sectionLeftRefs,g=r.sectionRightRefs,h=r.subSectionLeftRefs,S=r.subSectionRightRefs,T=r.lhsBadgeRefs,B=r.rhsBadgeRefs,A=r.leftContainerRef,C=r.rightContainerRef,m=r.calculateLinesRef,b=r.handleResizeRef,E=r.setIsResizing,y=r.setIsArrowVisible,z=r.sideBySideCacheRef,O=r.cachedConnectedPositions,x=e.useRef(0),I=e.useRef(0),_=e.useRef(0),w=e.useRef(function(){}),D=null!=b?b:w,N=e.useRef(null);e.useRef(t),e.useEffect(function(){var e=function(e,n,r,t,u){n.current=e.getBoundingClientRect().width;var i=new ResizeObserver(function(e){null!==r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(function(){var i,l,c;r.current=null;var o=e[e.length-1];if(o){var s=null!==(c=null===(l=null===(i=o.borderBoxSize)||void 0===i?void 0:i[0])||void 0===l?void 0:l.inlineSize)&&void 0!==c?c:o.contentRect.width;Math.abs(s-n.current)<1?u():(n.current=s,t())}})});return i.observe(e),i},n={current:null},r={current:null},t={current:null},c=[],o=[n,r,t];return u.current&&c.push(e(u.current,x,n,function(){return D.current()},function(){})),i.current&&c.push(e(i.current,I,r,function(){return D.current()},function(){var e;return null===(e=m.current)||void 0===e?void 0:e.call(m)})),l.current&&c.push(e(l.current,_,t,function(){return D.current()},function(){var e;return null===(e=m.current)||void 0===e?void 0:e.call(m)})),function(){c.forEach(function(e){return e.disconnect()}),o.forEach(function(e){null!==e.current&&(cancelAnimationFrame(e.current),e.current=null)})}},[]);var P=e.useCallback(function(){E(!0),y(!1),z.current=null,null!==N.current&&clearTimeout(N.current),null!==t.current&&(clearTimeout(t.current),t.current=null),N.current=setTimeout(function(){var e,r,t,u,i,l,o,s,b,z,x;try{if(O.current=[],a.current&&null!==d.current&&null!==f.current){var I=d.current,_=f.current,w="string"==typeof I&&I.includes(n.DEVIATION_BADGE_SEPARATOR),D=null,P=null,M=null,V=null;if(w){var q=I.split(n.DEVIATION_BADGE_SEPARATOR),F="".concat(q[0]).concat(n.DEVIATION_BADGE_SEPARATOR).concat(q[1]);D=(null===(e=T.current[F])||void 0===e?void 0:e.current)||null,P=(null===(r=B.current[F])||void 0===r?void 0:r.current)||null,M=(null===(t=h.current[q[2]])||void 0===t?void 0:t.current)||(null===(u=p.current[Number(q[2])])||void 0===u?void 0:u.current)||null,V=(null===(i=S.current[q[3]])||void 0===i?void 0:i.current)||(null===(l=g.current[Number(q[3])])||void 0===l?void 0:l.current)||null}else D=(null===(o=R.current[I])||void 0===o?void 0:o.current)||null,M=(null===(s=p.current[I])||void 0===s?void 0:s.current)||null,P=(null===(b=v.current[_])||void 0===b?void 0:b.current)||null,V=(null===(z=g.current[_])||void 0===z?void 0:z.current)||null;if(D&&P&&M&&V){if(M.style.paddingTop="0px",V.style.paddingTop="0px",!c){var G=D.getBoundingClientRect(),L=P.getBoundingClientRect(),j=G.top-L.top;j>0?V.style.paddingTop="".concat(j,"px"):j<0&&(M.style.paddingTop="".concat(Math.abs(j),"px"))}var k=A.current,H=C.current;if(k&&H){var J=D.getBoundingClientRect().top-k.getBoundingClientRect().top+k.scrollTop,K=P.getBoundingClientRect().top-H.getBoundingClientRect().top+H.scrollTop-(J-k.scrollTop);Math.abs(H.scrollTop-K)>1&&(H.scrollTop=K)}}}null===(x=m.current)||void 0===x||x.call(m),a.current&&y(!0)}catch(e){console.error("Error in resize handler: ",e)}finally{E(!1),N.current=null}},150)},[c,o,s]);return{handleResize:P,handleResizeRef:D}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("../CognitiveComparehelpers.js");exports.useResizeHandler=({timerRef:n,ruleComponentRef:t,scrollContainerRef:u,containerRef:c,maintainRelativeOrder:l,proposedSections:i,existingSections:s,isSideBySideRef:o,activeSideBySideSectionRef:R,activeSideBySideRightSectionRef:a,sectionRowRefs:f,sectionRightRowRefs:d,sectionLeftRefs:p,sectionRightRefs:g,subSectionLeftRefs:h,subSectionRightRefs:S,lhsBadgeRefs:T,rhsBadgeRefs:B,leftContainerRef:A,rightContainerRef:C,calculateLinesRef:m,handleResizeRef:b,setIsResizing:E,setIsArrowVisible:y,sideBySideCacheRef:z,cachedConnectedPositions:O})=>{const v=e.useRef(0),x=e.useRef(0),I=e.useRef(0),_=e.useRef(()=>{}),w=b??_,D=e.useRef(null);e.useRef(n),e.useEffect(()=>{const e=(e,r,n,t,u)=>{r.current=e.getBoundingClientRect().width;const c=new ResizeObserver(e=>{null!==n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{n.current=null;const c=e[e.length-1];if(!c)return;const l=c.borderBoxSize?.[0]?.inlineSize??c.contentRect.width;Math.abs(l-r.current)<1?u():(r.current=l,t())})});return c.observe(e),c},r={current:null},n={current:null},l={current:null},i=[],s=[r,n,l];return t.current&&i.push(e(t.current,v,r,()=>w.current(),()=>{})),u.current&&i.push(e(u.current,x,n,()=>w.current(),()=>m.current?.())),c.current&&i.push(e(c.current,I,l,()=>w.current(),()=>m.current?.())),()=>{i.forEach(e=>e.disconnect()),s.forEach(e=>{null!==e.current&&(cancelAnimationFrame(e.current),e.current=null)})}},[]);return{handleResize:e.useCallback(()=>{E(!0),y(!1),z.current=null,null!==D.current&&clearTimeout(D.current),null!==n.current&&(clearTimeout(n.current),n.current=null),D.current=setTimeout(()=>{try{if(O.current=[],o.current&&null!==R.current&&null!==a.current){const e=R.current,n=a.current,t="string"==typeof e&&e.includes(r.DEVIATION_BADGE_SEPARATOR);let u=null,c=null,i=null,s=null;if(t){const n=e.split(r.DEVIATION_BADGE_SEPARATOR),t=`${n[0]}${r.DEVIATION_BADGE_SEPARATOR}${n[1]}`;u=T.current[t]?.current||null,c=B.current[t]?.current||null,i=h.current[n[2]]?.current||p.current[Number(n[2])]?.current||null,s=S.current[n[3]]?.current||g.current[Number(n[3])]?.current||null}else u=f.current[e]?.current||null,i=p.current[e]?.current||null,c=d.current[n]?.current||null,s=g.current[n]?.current||null;if(u&&c&&i&&s){if(i.style.paddingTop="0px",s.style.paddingTop="0px",!l){const e=u.getBoundingClientRect(),r=c.getBoundingClientRect(),n=e.top-r.top;n>0?s.style.paddingTop=`${n}px`:n<0&&(i.style.paddingTop=`${Math.abs(n)}px`)}const e=A.current,r=C.current;if(e&&r){const n=u.getBoundingClientRect().top-e.getBoundingClientRect().top+e.scrollTop,t=c.getBoundingClientRect().top-r.getBoundingClientRect().top+r.scrollTop,l=t-(n-e.scrollTop);Math.abs(r.scrollTop-l)>1&&(r.scrollTop=l)}}}m.current?.(),o.current&&y(!0)}catch(e){console.error("Error in resize handler: ",e)}finally{E(!1),D.current=null}},150)},[l,i,s]),handleResizeRef:w}};
2
2
  //# sourceMappingURL=useResizeHandler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useResizeHandler.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"useResizeHandler.js","sources":["../../../../../src/features/CognitiveCompare/hooks/useResizeHandler.ts"],"sourcesContent":["import React, { useCallback, useEffect, useRef } from \"react\";\nimport { DEVIATION_BADGE_SEPARATOR } from \"../CognitiveComparehelpers\";\n\nexport const useResizeHandler = ({\n timerRef,\n ruleComponentRef,\n scrollContainerRef,\n containerRef,\n maintainRelativeOrder,\n proposedSections,\n existingSections,\n isSideBySideRef,\n activeSideBySideSectionRef,\n activeSideBySideRightSectionRef,\n sectionRowRefs,\n sectionRightRowRefs,\n sectionLeftRefs,\n sectionRightRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n lhsBadgeRefs,\n rhsBadgeRefs,\n leftContainerRef,\n rightContainerRef,\n calculateLinesRef,\n handleResizeRef: externalHandleResizeRef,\n setIsResizing,\n setIsArrowVisible,\n sideBySideCacheRef,\n cachedConnectedPositions\n}: any) => {\n\n // REFS Declaration\n const prevRootWidthRef = useRef<number>(0);\n const prevScrollWidthRef = useRef<number>(0);\n const prevContainerWidthRef = useRef<number>(0);\n const internalHandleResizeRef = useRef<() => void>(() => { });\n const handleResizeRef = externalHandleResizeRef ?? internalHandleResizeRef;\n const resizeTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const timerRefLocal = useRef<ReturnType<typeof setTimeout> | null>(timerRef);\n\n useEffect(() => {\n // Local function to create a ResizeObserver for a given element and width reference, with debouncing using requestAnimationFrame\n const makeWidthObserver = (\n element: HTMLElement,\n prevWidthRef: React.MutableRefObject<number>,\n rafRef: React.MutableRefObject<number | null>, // Request AnimationFrame reference for debouncing\n onWidthChange: () => void,\n onNoChange: () => void\n ): ResizeObserver => {\n prevWidthRef.current = element.getBoundingClientRect().width;\n\n const observer = new ResizeObserver((entries) => {\n // Cancel the animation frame if rAF is already scheduled to prevent multiple calls during rapid resize events\n if (rafRef.current !== null) cancelAnimationFrame(rafRef.current);\n\n rafRef.current = requestAnimationFrame(() => {\n rafRef.current = null; // Reset rAF reference after execution\n\n const entry = entries[entries.length - 1];\n if (!entry) return;\n\n // Calculate the new width using borderBoxSize if available for more accurate measurements, otherwise fallback to contentRect\n const newWidth = entry.borderBoxSize?.[0]?.inlineSize ?? entry.contentRect.width;\n\n if (Math.abs(newWidth - prevWidthRef.current) < 1) {\n onNoChange();\n return;\n }\n\n prevWidthRef.current = newWidth;\n onWidthChange();\n });\n });\n observer.observe(element);\n return observer;\n };\n\n // Each observer gets its own rAF so they don't cancel each other\n // Preventing race conditions\n const rootRafRef: React.MutableRefObject<number | null> = { current: null };\n const scrollRafRef: React.MutableRefObject<number | null> = { current: null };\n const containerRafRef: React.MutableRefObject<number | null> = { current: null };\n\n const observers: ResizeObserver[] = [];\n const rafRefs = [rootRafRef, scrollRafRef, containerRafRef];\n\n if (ruleComponentRef.current) {\n observers.push(makeWidthObserver(\n ruleComponentRef.current,\n prevRootWidthRef,\n rootRafRef,\n () => handleResizeRef.current(),\n () => { },\n ));\n }\n\n if (scrollContainerRef.current) {\n observers.push(\n makeWidthObserver(\n scrollContainerRef.current,\n prevScrollWidthRef,\n scrollRafRef,\n () => handleResizeRef.current(),\n // Optional chaining to prevent runtime crashes\n () => calculateLinesRef.current?.(),\n ),\n )\n }\n\n if (containerRef.current) {\n observers.push(makeWidthObserver(\n containerRef.current,\n prevContainerWidthRef,\n containerRafRef,\n () => handleResizeRef.current(),\n () => calculateLinesRef.current?.(),\n ));\n }\n\n // Cleanup function to disconnect\n return () => {\n observers.forEach((observer: ResizeObserver) => observer.disconnect());\n rafRefs.forEach((rafRef: React.MutableRefObject<number | null>) => {\n if (rafRef.current !== null) {\n cancelAnimationFrame(rafRef.current);\n rafRef.current = null;\n }\n })\n }\n // add observers in initial mount only\n }, []);\n\n const handleResize = useCallback(() => {\n setIsResizing(true);\n setIsArrowVisible(false);\n\n sideBySideCacheRef.current = null;\n if (resizeTimerRef.current !== null) clearTimeout(resizeTimerRef.current);\n\n if (timerRef.current !== null) {\n clearTimeout(timerRef.current);\n timerRef.current = null;\n }\n\n resizeTimerRef.current = setTimeout(() => {\n try {\n cachedConnectedPositions.current = [];\n\n if (isSideBySideRef.current && activeSideBySideSectionRef.current !== null && activeSideBySideRightSectionRef.current !== null) {\n const activeLeftIdx = activeSideBySideSectionRef.current;\n const activeRightIdx = activeSideBySideRightSectionRef.current;\n\n const isSubSection = typeof activeLeftIdx === \"string\" && activeLeftIdx.includes(DEVIATION_BADGE_SEPARATOR);\n\n let leftElement: HTMLElement | null = null;\n let rightElement: HTMLElement | null = null;\n let leftPadTarget: HTMLElement | null = null;\n let rightPadTarget: HTMLElement | null = null;\n\n if (isSubSection) {\n const parts = (activeLeftIdx as string).split(DEVIATION_BADGE_SEPARATOR);\n\n const refIdx = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n\n leftElement = lhsBadgeRefs.current[refIdx]?.current || null;\n rightElement = rhsBadgeRefs.current[refIdx]?.current || null;\n\n leftPadTarget =\n subSectionLeftRefs.current[parts[2]]?.current ||\n sectionLeftRefs.current[Number(parts[2])]?.current ||\n null;\n\n rightPadTarget =\n subSectionRightRefs.current[parts[3]]?.current ||\n sectionRightRefs.current[Number(parts[3])]?.current ||\n null;\n } else {\n leftElement = sectionRowRefs.current[activeLeftIdx as number]?.current || null;\n leftPadTarget = sectionLeftRefs.current[activeLeftIdx as number]?.current || null;\n\n rightElement = sectionRightRowRefs.current[activeRightIdx as number]?.current || null;\n rightPadTarget = sectionRightRefs.current[activeRightIdx as number]?.current || null;\n\n }\n\n\n if (leftElement && rightElement && leftPadTarget && rightPadTarget) {\n leftPadTarget.style.paddingTop = \"0px\";\n rightPadTarget.style.paddingTop = \"0px\";\n\n\n if (!maintainRelativeOrder) {\n const leftBadgeRect = leftElement.getBoundingClientRect();\n const rightBadgeRect = rightElement.getBoundingClientRect();\n\n const badgeDiff = leftBadgeRect.top - rightBadgeRect.top;\n\n // Add padding based on the left / right click\n if (badgeDiff > 0) {\n rightPadTarget.style.paddingTop = `${badgeDiff}px`;\n } else if (badgeDiff < 0) {\n leftPadTarget.style.paddingTop = `${Math.abs(badgeDiff)}px`;\n }\n }\n\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n\n if (leftContainer && rightContainer) {\n const leftAbsoluteTop =\n leftElement.getBoundingClientRect().top - leftContainer.getBoundingClientRect().top + leftContainer.scrollTop;\n\n const rightAbsoluteTop =\n rightElement.getBoundingClientRect().top - rightContainer.getBoundingClientRect().top + rightContainer.scrollTop;\n\n // Get relative position of left deviation badge\n const currentRelativeY = leftAbsoluteTop - leftContainer.scrollTop;\n\n // Amount of scroll to be performed in the RHS\n const targetRightScroll = rightAbsoluteTop - currentRelativeY;\n\n if (Math.abs(rightContainer.scrollTop - targetRightScroll) > 1) {\n rightContainer.scrollTop = targetRightScroll;\n }\n }\n }\n }\n\n // Recalculate lines once the position and scroll calculation is completed\n calculateLinesRef.current?.();\n\n // Once calculation are done show the arrows\n if (isSideBySideRef.current) {\n setIsArrowVisible(true);\n }\n } catch (err: any) {\n console.error(\"Error in resize handler: \", err);\n }\n finally {\n setIsResizing(false);\n resizeTimerRef.current = null;\n }\n // 150 ms delay timeout to trigger handleResize once resizing animation is completed\n }, 150);\n }, [maintainRelativeOrder, proposedSections, existingSections]);\n\n return {\n handleResize,\n handleResizeRef\n }\n}\n"],"names":["timerRef","ruleComponentRef","scrollContainerRef","containerRef","maintainRelativeOrder","proposedSections","existingSections","isSideBySideRef","activeSideBySideSectionRef","activeSideBySideRightSectionRef","sectionRowRefs","sectionRightRowRefs","sectionLeftRefs","sectionRightRefs","subSectionLeftRefs","subSectionRightRefs","lhsBadgeRefs","rhsBadgeRefs","leftContainerRef","rightContainerRef","calculateLinesRef","handleResizeRef","externalHandleResizeRef","setIsResizing","setIsArrowVisible","sideBySideCacheRef","cachedConnectedPositions","prevRootWidthRef","useRef","prevScrollWidthRef","prevContainerWidthRef","internalHandleResizeRef","resizeTimerRef","useEffect","makeWidthObserver","element","prevWidthRef","rafRef","onWidthChange","onNoChange","current","getBoundingClientRect","width","observer","ResizeObserver","entries","cancelAnimationFrame","requestAnimationFrame","entry","length","newWidth","borderBoxSize","inlineSize","contentRect","Math","abs","observe","rootRafRef","scrollRafRef","containerRafRef","observers","rafRefs","push","forEach","disconnect","handleResize","useCallback","clearTimeout","setTimeout","activeLeftIdx","activeRightIdx","isSubSection","includes","DEVIATION_BADGE_SEPARATOR","leftElement","rightElement","leftPadTarget","rightPadTarget","parts","split","refIdx","Number","style","paddingTop","leftBadgeRect","rightBadgeRect","badgeDiff","top","leftContainer","rightContainer","leftAbsoluteTop","scrollTop","rightAbsoluteTop","targetRightScroll","err","console","error"],"mappings":"+JAGgC,EAC5BA,WACAC,mBACAC,qBACAC,eACAC,wBACAC,mBACAC,mBACAC,kBACAC,6BACAC,kCACAC,iBACAC,sBACAC,kBACAC,mBACAC,qBACAC,sBACAC,eACAC,eACAC,mBACAC,oBACAC,oBACAC,gBAAiBC,EACjBC,gBACAC,oBACAC,qBACAC,+BAIM,MAAAC,EAAmBC,SAAe,GAClCC,EAAqBD,SAAe,GACpCE,EAAwBF,SAAe,GACvCG,EAA0BH,EAAAA,OAAmB,QAC7CP,EAAkBC,GAA2BS,EAC7CC,EAAiBJ,SAA6C,MAC9CA,EAAAA,OAA6C5B,GAEnEiC,EAAAA,UAAU,KAEN,MAAMC,EAAoB,CACtBC,EACAC,EACAC,EACAC,EACAC,KAEaH,EAAAI,QAAUL,EAAQM,wBAAwBC,MAEvD,MAAMC,EAAW,IAAIC,eAAgBC,IAEV,OAAnBR,EAAOG,SAAk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,EAAgBtE,EAAiBsB,QACjCiD,EAAiBtE,EAAkBqB,QAEzC,GAAIgD,GAAiBC,EAAgB,CAC3B,MAAAC,EACFhB,EAAYjC,wBAAwB8C,IAAMC,EAAc/C,wBAAwB8C,IAAMC,EAAcG,UAElGC,EACFjB,EAAalC,wBAAwB8C,IAAME,EAAehD,wBAAwB8C,IAAME,EAAeE,UAMrGE,EAAoBD,GAHDF,EAAkBF,EAAcG,WAKrDrC,KAAKC,IAAIkC,EAAeE,UAAYE,GAAqB,IACzDJ,EAAeE,UAAYE,EAEnC,CACJ,CACJ,CAGAzE,EAAkBoB,YAGdjC,EAAgBiC,SAChBhB,GAAkB,SAEjBsE,GACGC,QAAAC,MAAM,4BAA6BF,EAAG,CAElD,QACIvE,GAAc,GACdS,EAAeQ,QAAU,IAC7B,GAED,MACJ,CAACpC,EAAuBC,EAAkBC,IAIzCe"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e),u=function(){return r.default.createRef()};exports.useSectionRefs=function(t,r){var f=e.useRef({}),n=e.useRef({}),s=e.useRef({}),c=e.useRef({}),R=e.useRef({}),o=e.useRef({}),i=e.useRef({}),a=e.useRef({}),l=e.useRef({}),g=e.useRef({}),b=e.useCallback(function(e,t){var r="left"===e?f.current:n.current;return r[t]||(r[t]=u()),r[t]},[]),d=e.useCallback(function(e,t){return e.current[t]||(e.current[t]=u()),e.current[t]},[]);t.forEach(function(e){b("left",e),b("right",e)});for(var h=0;h<r;h+=1)d(s,h),d(c,h),d(R,h),d(o,h),d(i,h);var v=e.useCallback(function(e){return d(g,e)},[d]),S=e.useCallback(function(e,t){var r="left"===e?a.current:l.current;return r[t]||(r[t]=u()),r[t]},[]),k=e.useCallback(function(e,t){return d("left"===e?R:o,t)},[d]);return{leftRefs:f,rightRefs:n,sectionLeftRefs:s,sectionRightRefs:c,lhsBadgeRefs:R,rhsBadgeRefs:o,sectionRightRowRefs:i,subSectionLeftRefs:a,subSectionRightRefs:l,sectionRowRefs:g,getFieldRef:b,getSectionRowRef:v,getSubSectionRef:S,getBadgeRef:k}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=t(e);const f=()=>s.default.createRef();exports.useSectionRefs=(t,s)=>{const r=e.useRef({}),u=e.useRef({}),c=e.useRef({}),R=e.useRef({}),n=e.useRef({}),o=e.useRef({}),l=e.useRef({}),a=e.useRef({}),i=e.useRef({}),g=e.useRef({}),b=e.useCallback((e,t)=>{const s="left"===e?r.current:u.current;return s[t]||(s[t]=f()),s[t]},[]),d=e.useCallback((e,t)=>(e.current[t]||(e.current[t]=f()),e.current[t]),[]);t.forEach(e=>{b("left",e),b("right",e)});for(let e=0;e<s;e+=1)d(c,e),d(R,e),d(n,e),d(o,e),d(l,e);const h=e.useCallback(e=>d(g,e),[d]),S=e.useCallback((e,t)=>{const s="left"===e?a.current:i.current;return s[t]||(s[t]=f()),s[t]},[]),k=e.useCallback((e,t)=>d("left"===e?n:o,t),[d]);return{leftRefs:r,rightRefs:u,sectionLeftRefs:c,sectionRightRefs:R,lhsBadgeRefs:n,rhsBadgeRefs:o,sectionRightRowRefs:l,subSectionLeftRefs:a,subSectionRightRefs:i,sectionRowRefs:g,getFieldRef:b,getSectionRowRef:h,getSubSectionRef:S,getBadgeRef:k}};
2
2
  //# sourceMappingURL=useSectionRefs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSectionRefs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"useSectionRefs.js","sources":["../../../../../src/features/CognitiveCompare/hooks/useSectionRefs.ts"],"sourcesContent":["import React, { useCallback, useRef } from \"react\";\nimport { DivRefMap } from \"../CognitiveCompareTypes\";\n\n\n\nconst createDivRef = () => React.createRef<HTMLDivElement>();\n\nexport const useSectionRefs = (\n visibleFieldKeys: string[],\n sectionCount: number,\n) => {\n const leftRefs = useRef<DivRefMap<string>>({});\n const rightRefs = useRef<DivRefMap<string>>({});\n const sectionLeftRefs = useRef<DivRefMap>({});\n const sectionRightRefs = useRef<DivRefMap>({});\n const lhsBadgeRefs = useRef<DivRefMap>({});\n const rhsBadgeRefs = useRef<DivRefMap>({});\n const sectionRightRowRefs = useRef<DivRefMap>({});\n const subSectionLeftRefs = useRef<DivRefMap<string>>({});\n const subSectionRightRefs = useRef<DivRefMap<string>>({});\n const sectionRowRefs = useRef<DivRefMap>({});\n\n const getFieldRef = useCallback(\n (side: \"left\" | \"right\", key: string) => {\n const store = side === \"left\" ? leftRefs.current : rightRefs.current;\n if (!store[key]) {\n store[key] = createDivRef();\n }\n return store[key];\n },\n [],\n );\n\n const getIndexedRef = useCallback(\n (store: React.MutableRefObject<DivRefMap>, key: string | number) => {\n if (!store.current[key]) {\n store.current[key] = createDivRef();\n }\n return store.current[key];\n },\n [],\n );\n\n visibleFieldKeys.forEach((key) => {\n getFieldRef(\"left\", key);\n getFieldRef(\"right\", key);\n });\n\n for (let i = 0; i < sectionCount; i += 1) {\n getIndexedRef(sectionLeftRefs, i);\n getIndexedRef(sectionRightRefs, i);\n getIndexedRef(lhsBadgeRefs, i);\n getIndexedRef(rhsBadgeRefs, i);\n getIndexedRef(sectionRightRowRefs, i);\n }\n\n const getSectionRowRef = useCallback(\n (idx: string | number) => getIndexedRef(sectionRowRefs, idx),\n [getIndexedRef],\n );\n\n const getSubSectionRef = useCallback(\n (side: \"left\" | \"right\", keyPath: string) => {\n const store =\n side === \"left\" ? subSectionLeftRefs.current : subSectionRightRefs.current;\n if (!store[keyPath]) {\n store[keyPath] = createDivRef();\n }\n return store[keyPath];\n },\n [],\n );\n\n const getBadgeRef = useCallback(\n (side: \"left\" | \"right\", key: string | number) => {\n const store = side === \"left\" ? lhsBadgeRefs : rhsBadgeRefs;\n return getIndexedRef(store, key);\n },\n [getIndexedRef],\n );\n\n return {\n leftRefs,\n rightRefs,\n sectionLeftRefs,\n sectionRightRefs,\n lhsBadgeRefs,\n rhsBadgeRefs,\n sectionRightRowRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n sectionRowRefs,\n getFieldRef,\n getSectionRowRef,\n getSubSectionRef,\n getBadgeRef,\n };\n};\n"],"names":["createDivRef","React","createRef","visibleFieldKeys","sectionCount","leftRefs","useRef","rightRefs","sectionLeftRefs","sectionRightRefs","lhsBadgeRefs","rhsBadgeRefs","sectionRightRowRefs","subSectionLeftRefs","subSectionRightRefs","sectionRowRefs","getFieldRef","useCallback","side","key","store","current","getIndexedRef","forEach","i","getSectionRowRef","idx","getSubSectionRef","keyPath","getBadgeRef"],"mappings":"8KAKA,MAAMA,EAAe,IAAMC,UAAMC,mCAEH,CAC5BC,EACAC,KAEM,MAAAC,EAAWC,SAA0B,CAAA,GACrCC,EAAYD,SAA0B,CAAA,GACtCE,EAAkBF,SAAkB,CAAA,GACpCG,EAAmBH,SAAkB,CAAA,GACrCI,EAAeJ,SAAkB,CAAA,GACjCK,EAAeL,SAAkB,CAAA,GACjCM,EAAsBN,SAAkB,CAAA,GACxCO,EAAqBP,SAA0B,CAAA,GAC/CQ,EAAsBR,SAA0B,CAAA,GAChDS,EAAiBT,SAAkB,CAAA,GAEnCU,EAAcC,EAAAA,YAClB,CAACC,EAAwBC,KACvB,MAAMC,EAAiB,SAATF,EAAkBb,EAASgB,QAAUd,EAAUc,QAI7D,OAHKD,EAAMD,KACHC,EAAAD,GAAOnB,KAERoB,EAAMD,IAEf,IAGIG,EAAgBL,EAAAA,YACpB,CAACG,EAA0CD,KACpCC,EAAMC,QAAQF,KACXC,EAAAC,QAAQF,GAAOnB,KAEhBoB,EAAMC,QAAQF,IAEvB,IAGehB,EAAAoB,QAASJ,IACxBH,EAAY,OAAQG,GACpBH,EAAY,QAASG,KAGvB,IAAA,IAASK,EAAI,EAAGA,EAAIpB,EAAcoB,GAAK,EACrCF,EAAcd,EAAiBgB,GAC/BF,EAAcb,EAAkBe,GAChCF,EAAcZ,EAAcc,GAC5BF,EAAcX,EAAca,GAC5BF,EAAcV,EAAqBY,GAGrC,MAAMC,EAAmBR,EAAAA,YACtBS,GAAyBJ,EAAcP,EAAgBW,GACxD,CAACJ,IAGGK,EAAmBV,EAAAA,YACvB,CAACC,EAAwBU,KACvB,MAAMR,EACK,SAATF,EAAkBL,EAAmBQ,QAAUP,EAAoBO,QAIrE,OAHKD,EAAMQ,KACHR,EAAAQ,GAAW5B,KAEZoB,EAAMQ,IAEf,IAGIC,EAAcZ,EAAAA,YAClB,CAACC,EAAwBC,IAEhBG,EADgB,SAATJ,EAAkBR,EAAeC,EACnBQ,GAE9B,CAACG,IAGI,MAAA,CACLjB,WACAE,YACAC,kBACAC,mBACAC,eACAC,eACAC,sBACAC,qBACAC,sBACAC,iBACAC,cACAS,mBACAE,mBACAE"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),n=require("../CognitiveComparehelpers.js");exports.useSideBySide=function(t){var r=t.isGuidelineMode,i=t.maintainRelativeOrder,l=t.proposedSections,u=t.existingSections,o=t.leftContainerRef,c=t.rightContainerRef,s=t.scrollContainerRef,d=t.sectionLeftRefs,a=t.sectionRightRefs,v=t.subSectionLeftRefs,f=t.subSectionRightRefs,p=t.lhsBadgeRefs,g=t.rhsBadgeRefs,R=t.sectionRowRefs,S=t.sectionRightRowRefs,h=t.rhsTopSpacerRef,A=t.rhsBottomSpacerRef,T=t.lhsTopSpacerRef,y=t.lhsBottomSpacerRef,B=t.calculateLinesRef,m=t.setConnectedSections,E=t.setConnectedLines,x=t.cachedConnectedPositions,C=t.closeMoreFunctionsPopup,I=t.setErrorToast;t.moreFunctions,t.closeSummaryPopup;var O=e.useState(!1),_=O[0],b=O[1],D=e.useState(!1),N=D[0],P=D[1],V=e.useState(!1),G=V[0],w=V[1],L=e.useState(!1),q=L[0],F=L[1],H=e.useState(null),M=H[0],k=H[1],j=e.useRef(!1),z=e.useRef(null),J=e.useRef(!1),K=e.useRef(null),Q=e.useRef(null),U=e.useRef(null),W=e.useRef(new Set),X=function(){W.current.forEach(function(e){n.resetClauseHighlight(e)}),W.current.clear()},Y=function(e,t,r){var i,l,u,s,h,A,T,y,B,m,E,x,C=null,I=null,O=null,_=null,b=null,D=null,N=function(e,n){if(!e||!n)return!0;var t=e.getBoundingClientRect(),r=n.getBoundingClientRect();return t.bottom>=r.top&&t.top<=r.bottom};if(e){var P=t.split(n.DEVIATION_BADGE_SEPARATOR),V="".concat(P[0]).concat(n.DEVIATION_BADGE_SEPARATOR).concat(P[1]);C=(null===(i=v.current[P[2]])||void 0===i?void 0:i.current)||(null===(l=d.current[Number(P[2])])||void 0===l?void 0:l.current)||null,I=(null===(u=f.current[P[3]])||void 0===u?void 0:u.current)||(null===(s=a.current[Number(P[3])])||void 0===s?void 0:s.current)||null,O=(null===(h=p.current[V])||void 0===h?void 0:h.current)||C,_=(null===(A=g.current[V])||void 0===A?void 0:A.current)||I}else{var G=Number(t),w=null!==r?Number(r):G;C=(null===(T=d.current[G])||void 0===T?void 0:T.current)||null,I=(null===(y=a.current[w])||void 0===y?void 0:y.current)||null,b=(null===(B=p.current[G])||void 0===B?void 0:B.current)||null,D=(null===(m=g.current[w])||void 0===m?void 0:m.current)||null,O=b||(null===(E=R.current[G])||void 0===E?void 0:E.current)||C,_=D||(null===(x=S.current[w])||void 0===x?void 0:x.current)||I}if(C&&(C.style.paddingTop="0px"),I&&(I.style.paddingTop="0px"),e||(b&&(b.style.marginTop="0px"),D&&(D.style.marginTop="0px")),!e&&b&&D){var L=o.current,q=c.current;if(!N(b,L)||!N(D,q))return;var F=b.getBoundingClientRect(),H=D.getBoundingClientRect(),M=F.top-H.top;if(Math.abs(M)>32)return;M>0&&(D.style.marginTop="".concat(M,"px"))}else if(O&&_&&C&&I){F=O.getBoundingClientRect(),H=_.getBoundingClientRect();(M=F.top-H.top)>0&&(I.style.paddingTop="".concat(M,"px"))}},Z=e.useCallback(function(){var e,t,r,i,l,u,o,c,s=K.current,R=Q.current;if(null!==s)if("string"==typeof s&&s.includes(n.DEVIATION_BADGE_SEPARATOR)){var S=s.split(n.DEVIATION_BADGE_SEPARATOR),B=(null===(e=v.current[S[2]])||void 0===e?void 0:e.current)||(null===(t=d.current[Number(S[2])])||void 0===t?void 0:t.current)||null,m=(null===(r=f.current[S[3]])||void 0===r?void 0:r.current)||(null===(i=a.current[Number(S[3])])||void 0===i?void 0:i.current)||null;B&&(B.style.paddingTop="0px"),m&&(m.style.paddingTop="0px")}else{B=(null===(l=d.current[s])||void 0===l?void 0:l.current)||null,m=(null===(u=a.current[null!=R?R:s])||void 0===u?void 0:u.current)||null;B&&(B.style.paddingTop="0px"),m&&(m.style.paddingTop="0px");var E=(null===(o=p.current[s])||void 0===o?void 0:o.current)||null,x=(null===(c=g.current[null!=R?R:s])||void 0===c?void 0:c.current)||null;E&&(E.style.marginTop="0px"),x&&(x.style.marginTop="0px")}h.current&&(h.current.style.height="0px"),A.current&&(A.current.style.height="0px"),T.current&&(T.current.style.height="0px"),y.current&&(y.current.style.height="0px")},[]);e.useEffect(function(){J.current=_},[_]),e.useEffect(function(){K.current=M},[M]);var $=e.useCallback(function(){X(),b(!1),J.current=!1,z.current=null,Z(),k(null),K.current=null,Q.current=null,P(!1),F(!1)},[Z]),ee=e.useCallback(function(e,t,v){var f,O,D=null===(f=null==v?void 0:v.toggleIfSame)||void 0===f||f,N=null==v?void 0:v.onReady,V=null!==(O=null==v?void 0:v.sourceSide)&&void 0!==O?O:"left";if(C(),null!=e)if(!t||r){X();var G=_&&M===e;_&&null!==M&&Z(),G&&D?$():(m(new Set([e])),E([]),x.current=[],F(!0),j.current=!0,k(e),K.current=e,b(!0),J.current=!0,P(!1),h.current&&(h.current.style.height="0px"),A.current&&(A.current.style.height="0px"),T.current&&(T.current.style.height="0px"),y.current&&(y.current.style.height="0px"),requestAnimationFrame(function(){var t=function(){var t,v,f,T,y,m,E,x,C,I,O,_="string"==typeof e&&e.includes(n.DEVIATION_BADGE_SEPARATOR),b=null,D=null,G=null;if(r){if(_){var w=e.split(n.DEVIATION_BADGE_SEPARATOR),L="".concat(w[0]).concat(n.DEVIATION_BADGE_SEPARATOR).concat(w[1]);b=(null===(t=p.current[L])||void 0===t?void 0:t.current)||null}else b=(null===(v=d.current[e])||void 0===v?void 0:v.current)||(null===(f=R.current[e])||void 0===f?void 0:f.current)||null;D=document.getElementById("guideline-target-0"),G=D?e:null}else if(_){w=e.split(n.DEVIATION_BADGE_SEPARATOR),L="".concat(w[0]).concat(n.DEVIATION_BADGE_SEPARATOR).concat(w[1]);b=(null===(T=p.current[L])||void 0===T?void 0:T.current)||null,D=(null===(y=g.current[L])||void 0===y?void 0:y.current)||null,G=D?e:null}else if(b=(null===(m=d.current[e])||void 0===m?void 0:m.current)||(null===(E=R.current[e])||void 0===E?void 0:E.current)||null,i){var q=l[e],H=(null==q?void 0:q.refIndexes)||[];if(H.length>0){var M=H[0],k=u.findIndex(function(e){return e.selfIndex===M});-1!==k&&(D=(null===(I=a.current[k])||void 0===I?void 0:I.current)||(null===(O=S.current[k])||void 0===O?void 0:O.current)||null,G=k)}}else D=(null===(x=a.current[e])||void 0===x?void 0:x.current)||(null===(C=S.current[e])||void 0===C?void 0:C.current)||null,G=D?e:null;Q.current=G;var z=o.current,J=c.current,K=function(){Y(_,e,G),P(!0),B.current&&B.current(),j.current=!1,"right"===V&&J?J.dispatchEvent(new Event("scroll")):z&&z.dispatchEvent(new Event("scroll")),F(!1),null==N||N()};if(!b||!z)return j.current=!1,F(!1),void(null==N||N());if(D&&J){if(!i){var U=0;U="right"===V?D?D.getBoundingClientRect().top:0:b?b.getBoundingClientRect().top:0;var W=s.current,X=(null==W?void 0:W.getBoundingClientRect().top)||0,Z=W?W.scrollTop+U-X-150:0;return W?void n.smoothScrollTo(W,Z,200,K):void K()}var $=b.getBoundingClientRect().top-z.getBoundingClientRect().top+z.scrollTop,ee=D.getBoundingClientRect().top-J.getBoundingClientRect().top+J.scrollTop,ne=200;if("left"===V){var te=ee-($-z.scrollTop);te<0&&h.current&&!r&&(h.current.style.height="".concat(Math.abs(te),"px")),requestAnimationFrame(function(){var e,t=J.scrollHeight-J.clientHeight;if(te<0)e=0;else{if(te>t){var i=te-t;return A.current&&!r&&(A.current.style.height="".concat(i+150,"px")),void requestAnimationFrame(function(){n.smoothScrollTo(J,te,ne,K)})}e=te}n.smoothScrollTo(J,e,ne,K)})}else{var re=$-(ee-J.scrollTop);requestAnimationFrame(function(){var e,t=z.scrollHeight-z.clientHeight;if(re<0)e=0;else{if(re>t)return void requestAnimationFrame(function(){return n.smoothScrollTo(z,t,ne,K)});e=re}n.smoothScrollTo(z,e,ne,K)})}}else K()};r?setTimeout(t,100):t()}))}else I("No counterpart exists for this section.")},[M,C,u,_,i,l,Z,$,r]);return{isSideBySide:_,setIsSideBySide:b,isArrowVisible:N,setIsArrowVisible:P,isResizing:G,setIsResizing:w,isSideBySideLoading:q,setIsSideBySideLoading:F,activeSideBySideSection:M,setActiveSideBySideSection:k,scrollLock:j,sideBySideCacheRef:z,isSideBySideRef:J,activeSideBySideSectionRef:K,activeSideBySideRightSectionRef:Q,sideBySideLineRef:U,highlightedClauseRefs:W,clearClauseHighlight:X,applyAlignmentPadding:Y,resetSideBySide:$,activateSideBySide:ee}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../CognitiveComparehelpers.js");exports.useSideBySide=({isGuidelineMode:r,maintainRelativeOrder:n,proposedSections:u,existingSections:c,leftContainerRef:l,rightContainerRef:i,scrollContainerRef:s,sectionLeftRefs:o,sectionRightRefs:d,subSectionLeftRefs:p,subSectionRightRefs:g,lhsBadgeRefs:a,rhsBadgeRefs:f,sectionRowRefs:R,sectionRightRowRefs:S,rhsTopSpacerRef:h,rhsBottomSpacerRef:A,lhsTopSpacerRef:T,lhsBottomSpacerRef:y,calculateLinesRef:B,setConnectedSections:m,setConnectedLines:E,cachedConnectedPositions:x,closeMoreFunctionsPopup:C,setErrorToast:I,moreFunctions:v,closeSummaryPopup:O})=>{const[_,b]=e.useState(!1),[D,N]=e.useState(!1),[P,$]=e.useState(!1),[V,G]=e.useState(!1),[w,L]=e.useState(null),q=e.useRef(!1),F=e.useRef(null),H=e.useRef(!1),M=e.useRef(null),k=e.useRef(null),j=e.useRef(null),z=e.useRef(new Set),J=()=>{z.current.forEach(e=>{t.resetClauseHighlight(e)}),z.current.clear()},K=(e,r,n)=>{let u=null,c=null,s=null,h=null,A=null,T=null;const y=(e,t)=>{if(!e||!t)return!0;const r=e.getBoundingClientRect(),n=t.getBoundingClientRect();return r.bottom>=n.top&&r.top<=n.bottom};if(e){const e=r.split(t.DEVIATION_BADGE_SEPARATOR),n=`${e[0]}${t.DEVIATION_BADGE_SEPARATOR}${e[1]}`;u=p.current[e[2]]?.current||o.current[Number(e[2])]?.current||null,c=g.current[e[3]]?.current||d.current[Number(e[3])]?.current||null,s=a.current[n]?.current||u,h=f.current[n]?.current||c}else{const e=Number(r),t=null!==n?Number(n):e;u=o.current[e]?.current||null,c=d.current[t]?.current||null,A=a.current[e]?.current||null,T=f.current[t]?.current||null,s=A||R.current[e]?.current||u,h=T||S.current[t]?.current||c}if(u&&(u.style.paddingTop="0px"),c&&(c.style.paddingTop="0px"),e||(A&&(A.style.marginTop="0px"),T&&(T.style.marginTop="0px")),!e&&A&&T){const e=l.current,t=i.current;if(!y(A,e)||!y(T,t))return;const r=A.getBoundingClientRect(),n=T.getBoundingClientRect(),u=r.top-n.top;if(Math.abs(u)>32)return;return void(u>0&&(T.style.marginTop=`${u}px`))}if(s&&h&&u&&c){const e=s.getBoundingClientRect(),t=h.getBoundingClientRect(),r=e.top-t.top;r>0&&(c.style.paddingTop=`${r}px`)}},Q=e.useCallback(()=>{const e=M.current,r=k.current;if(null!==e)if("string"==typeof e&&e.includes(t.DEVIATION_BADGE_SEPARATOR)){const r=e.split(t.DEVIATION_BADGE_SEPARATOR),n=p.current[r[2]]?.current||o.current[Number(r[2])]?.current||null,u=g.current[r[3]]?.current||d.current[Number(r[3])]?.current||null;n&&(n.style.paddingTop="0px"),u&&(u.style.paddingTop="0px")}else{const t=o.current[e]?.current||null,n=d.current[r??e]?.current||null;t&&(t.style.paddingTop="0px"),n&&(n.style.paddingTop="0px");const u=a.current[e]?.current||null,c=f.current[r??e]?.current||null;u&&(u.style.marginTop="0px"),c&&(c.style.marginTop="0px")}h.current&&(h.current.style.height="0px"),A.current&&(A.current.style.height="0px"),T.current&&(T.current.style.height="0px"),y.current&&(y.current.style.height="0px")},[]);e.useEffect(()=>{H.current=_},[_]),e.useEffect(()=>{M.current=w},[w]);const U=e.useCallback(()=>{J(),b(!1),H.current=!1,F.current=null,Q(),L(null),M.current=null,k.current=null,N(!1),G(!1)},[Q]),W=e.useCallback((e,p,g)=>{const v=g?.toggleIfSame??!0,O=g?.onReady,D=g?.sourceSide??"left";if(C(),null==e)return;if(p&&!r)return void I("No counterpart exists for this section.");J();const P=_&&w===e;_&&null!==w&&Q(),P&&v?U():(m(new Set([e])),E([]),x.current=[],G(!0),q.current=!0,L(e),M.current=e,b(!0),H.current=!0,N(!1),h.current&&(h.current.style.height="0px"),A.current&&(A.current.style.height="0px"),T.current&&(T.current.style.height="0px"),y.current&&(y.current.style.height="0px"),requestAnimationFrame(()=>{const p=()=>{const p="string"==typeof e&&e.includes(t.DEVIATION_BADGE_SEPARATOR);let g=null,T=null,y=null;if(r){if(p){const r=e.split(t.DEVIATION_BADGE_SEPARATOR),n=`${r[0]}${t.DEVIATION_BADGE_SEPARATOR}${r[1]}`;g=a.current[n]?.current||null}else g=o.current[e]?.current||R.current[e]?.current||null;T=document.getElementById("guideline-target-0"),y=T?e:null}else if(p){const r=e.split(t.DEVIATION_BADGE_SEPARATOR),n=`${r[0]}${t.DEVIATION_BADGE_SEPARATOR}${r[1]}`;g=a.current[n]?.current||null,T=f.current[n]?.current||null,y=T?e:null}else if(g=o.current[e]?.current||R.current[e]?.current||null,n){const t=u[e],r=t?.refIndexes||[];if(r.length>0){const e=r[0],t=c.findIndex(t=>t.selfIndex===e);-1!==t&&(T=d.current[t]?.current||S.current[t]?.current||null,y=t)}}else T=d.current[e]?.current||S.current[e]?.current||null,y=T?e:null;k.current=y;const m=l.current,E=i.current,x=()=>{K(p,e,y),N(!0),B.current&&B.current(),q.current=!1,"right"===D&&E?E.dispatchEvent(new Event("scroll")):m&&m.dispatchEvent(new Event("scroll")),G(!1),O?.()};if(!g||!m)return q.current=!1,G(!1),void O?.();if(!T||!E)return void x();if(!n){let e=0;e="right"===D?T?T.getBoundingClientRect().top:0:g?g.getBoundingClientRect().top:0;const r=s.current,n=r?.getBoundingClientRect().top||0,u=r?r.scrollTop+e-n-150:0,c=200;return r?void t.smoothScrollTo(r,u,c,x):void x()}const C=g.getBoundingClientRect().top-m.getBoundingClientRect().top+m.scrollTop,I=T.getBoundingClientRect().top-E.getBoundingClientRect().top+E.scrollTop,v=200;if("left"===D){const e=I-(C-m.scrollTop);e<0&&h.current&&!r&&(h.current.style.height=`${Math.abs(e)}px`),requestAnimationFrame(()=>{const n=E.scrollHeight-E.clientHeight;let u;if(e<0)u=0;else{if(e>n){const u=e-n;return A.current&&!r&&(A.current.style.height=`${u+150}px`),void requestAnimationFrame(()=>{t.smoothScrollTo(E,e,v,x)})}u=e}t.smoothScrollTo(E,u,v,x)})}else{const e=C-(I-E.scrollTop);requestAnimationFrame(()=>{const r=m.scrollHeight-m.clientHeight;let n;if(e<0)n=0;else{if(e>r)return void requestAnimationFrame(()=>t.smoothScrollTo(m,r,v,x));n=e}t.smoothScrollTo(m,n,v,x)})}};r?setTimeout(p,100):p()}))},[w,C,c,_,n,u,Q,U,r]);return{isSideBySide:_,setIsSideBySide:b,isArrowVisible:D,setIsArrowVisible:N,isResizing:P,setIsResizing:$,isSideBySideLoading:V,setIsSideBySideLoading:G,activeSideBySideSection:w,setActiveSideBySideSection:L,scrollLock:q,sideBySideCacheRef:F,isSideBySideRef:H,activeSideBySideSectionRef:M,activeSideBySideRightSectionRef:k,sideBySideLineRef:j,highlightedClauseRefs:z,clearClauseHighlight:J,applyAlignmentPadding:K,resetSideBySide:U,activateSideBySide:W}};
2
2
  //# sourceMappingURL=useSideBySide.js.map