@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,2 +1,2 @@
1
- import{__assign as i}from"tslib";import{jsxs as e,Fragment as n,jsx as o}from"react/jsx-runtime";import{useState as t,useRef as r,useCallback as l,useEffect as a}from"react";import{ChevronUp as d,ChevronDown as c,X as p,Maximize2 as u}from"lucide-react";import{Modal as s}from"../ChatCitation/components/wrappers/Modal.js";import{Tooltip as h}from"@mui/material";function g(g){var x=g.images,f=g.highlights,v=g.pages,m=g.subHeadingText,b=void 0===m?"":m,y=g.showFullScreenMode,C=void 0===y||y,k=g.citationLabelColor,w=void 0===k?"#FFFF2E":k,I=g.showCitationLabelOnHover,z=void 0!==I&&I,S=g.highlightColor,B=void 0===S?"rgba(255, 220, 0, 0.15)":S,F=g.highlightActiveColor,M=void 0===F?"rgba(255, 220, 0, 0.35)":F,L=g.highlightBorderColor,R=void 0===L?"rgba(200, 160, 0, 0.4)":L,T=g.height,H=void 0===T?"700px":T,A=g.subHeadingTitleInsideModal,E=g.scrollToFirstCitation,j=void 0!==E&&E,D=g.showPageSeparator,P=void 0===D||D,W=g.pageSeparatorColor,_=void 0===W?"#e2e8f0":W,O=g.activeCitationIndex,q=g.onActiveCitationChange,Y=g.headerAction,G=[],J=[];(null==v?void 0:v.length)?v.forEach(function(i,e){var n;i.gs_url&&G.push(i.gs_url),null===(n=i.highlighted_coordinates)||void 0===n||n.forEach(function(i){J.push({pageIndex:e,bboxes:[i]})})}):(G.push.apply(G,x||[]),J.push.apply(J,f||[]));var K=J.flatMap(function(i,e){return i.bboxes.map(function(n,o){return{bbox:n,pageIndex:i.pageIndex,key:"".concat(e,"-").concat(o)}})}),N=K.length,Q=t(null),U=Q[0],V=Q[1],X=t(0),Z=X[0],$=X[1],ii=t(!1),ei=ii[0],ni=ii[1],oi=t({}),ti=oi[0],ri=oi[1],li=r(null),ai=r(null),di=r(null),ci=r([]),pi=r([]),ui=r(!1),si=l(function(i,e){void 0===e&&(e=!1);var n=Math.max(0,Math.min(N-1,i));$(n),q&&q(n),requestAnimationFrame(function(){var i=e?di.current:ai.current,o=(e?pi:ci).current[n];if(i&&o){var t=i.getBoundingClientRect(),r=o.getBoundingClientRect(),l=r.top-t.top+i.scrollTop-i.clientHeight/2+r.height/2;i.scrollTo({top:l,behavior:"smooth"})}})},[N,q]);a(function(){void 0!==O&&0!==N&&li.current!==O&&(li.current=O,$(O),si(O,!1))},[O,N,si]),a(function(){var i;if(j&&!ui.current&&0!==N){var e=null===(i=null==K?void 0:K[0])||void 0===i?void 0:i.pageIndex;ti[e]&&(ui.current=!0,si(0,!1))}},[j,ti,N,K,si]);var hi=function(t){return void 0===t&&(t=!1),N>0&&o("div",i({style:{display:"flex",alignItems:"center",marginBottom:"6px"}},{children:e("div",i({style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"4px"}},{children:[e("span",i({style:{fontSize:"12px",color:"#888"}},{children:[Z+1," / ",N]})),o("button",i({onClick:function(){return si(Z-1,t)},disabled:Z<=0,style:{padding:"2px 4px",cursor:Z<=0?"not-allowed":"pointer",opacity:Z<=0?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"}},{children:o(d,{size:14,color:"#64748b"})})),o("button",i({onClick:function(){return si(Z+1,t)},disabled:Z>=N-1,style:{padding:"2px 4px",cursor:Z>=N-1?"not-allowed":"pointer",opacity:Z>=N-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"}},{children:o(c,{size:14,color:"#64748b"})})),!Y&&C&&e(n,{children:[o("span",{style:{width:"1px",height:"16px",background:"#e2e8f0",margin:"0 2px"}}),t?o(p,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return ni(!1)}}):o(u,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return ni(!0)}})]}),Y&&(null==Y?void 0:Y.icon)&&(null==Y?void 0:Y.onClick)&&e(n,{children:[o("span",{style:{width:"1px",height:"16px",background:"#e2e8f0",margin:"0 2px"}}),o(h,i({title:(null==Y?void 0:Y.tooltip)||"",arrow:!0,placement:"top"},{children:o("div",i({onClick:Y.onClick,style:{display:"flex",alignItems:"center",cursor:"pointer"}},{children:Y.icon}))}))]})]}))}))},gi=function(n){void 0===n&&(n=!1);var t=n?pi:ci,r=-1;return G.map(function(n,l){var a=J.filter(function(i){return i.pageIndex===l}).flatMap(function(i,e){return i.bboxes.map(function(i,n){return r++,{bbox:i,key:"".concat(l,"-").concat(e,"-").concat(n),globalIndex:r}})});return e("div",i({style:{marginBottom:"8px"}},{children:[e("div",i({style:{fontSize:"12px",color:"#888",marginBottom:"4px"}},{children:["Page ",l+1]})),o("div",i({style:{position:"relative",width:"100%",paddingTop:"129%",flexShrink:0}},{children:e("div",i({style:{position:"absolute",inset:0}},{children:[o("img",{src:n,alt:"Page ".concat(l+1),style:{display:"block",width:"100%",height:"100%",objectFit:"fill"},draggable:!1,ref:function(e){e&&e.complete&&!ti[l]&&ri(function(e){var n;return i(i({},e),((n={})[l]=!0,n))})},onLoad:function(){return ri(function(e){var n;return i(i({},e),((n={})[l]=!0,n))})}}),ti[l]&&a.map(function(n){var r=n.bbox,l=n.key,a=n.globalIndex,d=Z===a;return o("div",i({ref:function(i){t.current[a]=i},onMouseEnter:function(){return V(a)},onMouseLeave:function(){return V(null)},style:{position:"absolute",left:"".concat(100*r.xmin,"%"),top:"".concat(100*r.ymin,"%"),width:"".concat(100*(r.xmax-r.xmin),"%"),height:"".concat(100*(r.ymax-r.ymin),"%"),background:d?M:B,border:d?"1.5px solid ".concat(R):"none",borderRadius:"2px",zIndex:2}},{children:z&&U===a&&e("div",i({style:{position:"absolute",top:"-18px",right:"0",fontSize:"10px",background:w,color:"black",padding:"2px 6px",borderRadius:"3px",whiteSpace:"nowrap"}},{children:["Citation ",a+1]}))}),l)})]}))})),P&&l<G.length-1&&o("div",{style:{height:"1px",background:_,margin:"0"}})]}),l)})},xi={overflowY:"auto",border:"1px solid #ddd",borderRadius:"4px",padding:"8px",paddingBottom:0,display:"flex",flexDirection:"column",boxSizing:"border-box"};return e(n,{children:[e("div",i({style:{width:"100%",maxWidth:"800px",fontFamily:"inherit",display:"flex",flexDirection:"column"}},{children:[(b||N>0)&&e("div",i({style:{display:"flex",alignItems:"center",marginBottom:"6px"}},{children:[b&&o("div",i({style:{fontSize:"14px",fontWeight:500,color:"#111"}},{children:b})),o("div",i({style:{marginLeft:"auto"}},{children:hi(!1)}))]})),o("div",i({ref:ai,style:i(i({},xi),{maxHeight:H})},{children:gi(!1)}))]})),o(s,i({isOpen:ei,onClose:function(){return ni(!1)}},{children:e("div",i({style:{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden"}},{children:[(A||N>0)&&e("div",i({style:{display:"flex",alignItems:"center",marginBottom:"6px",padding:"8px"}},{children:[A&&o("div",i({style:{fontSize:"14px",fontWeight:500,color:"#111"}},{children:A})),o("div",i({style:{marginLeft:"auto"}},{children:hi(!0)}))]})),o("div",i({ref:di,style:i(i({},xi),{flex:1})},{children:ei&&gi(!0)}))]}))}))]})}export{g as default};
1
+ import{jsxs as e,Fragment as i,jsx as t}from"react/jsx-runtime";import{useState as o,useRef as n,useCallback as r,useEffect as l}from"react";import{ChevronUp as d,ChevronDown as a,X as s,Maximize2 as c}from"lucide-react";import{Modal as p}from"../ChatCitation/components/wrappers/Modal.js";import{Tooltip as h}from"@mui/material";function g({images:g,highlights:x,pages:u,subHeadingText:m="",showFullScreenMode:b=!0,citationLabelColor:f="#FFFF2E",showCitationLabelOnHover:y=!1,highlightColor:v="rgba(255, 220, 0, 0.15)",highlightActiveColor:C="rgba(255, 220, 0, 0.35)",highlightBorderColor:k="rgba(200, 160, 0, 0.4)",height:w="700px",subHeadingTitleInsideModal:I,scrollToFirstCitation:z=!1,showPageSeparator:S=!0,pageSeparatorColor:B="#e2e8f0",activeCitationIndex:F,onActiveCitationChange:M,headerAction:L}){const R=[],$=[];u?.length?u.forEach((e,i)=>{e.gs_url&&R.push(e.gs_url),e.highlighted_coordinates?.forEach(e=>{$.push({pageIndex:i,bboxes:[e]})})}):(R.push(...g||[]),$.push(...x||[]));const T=$.flatMap((e,i)=>e.bboxes.map((t,o)=>({bbox:t,pageIndex:e.pageIndex,key:`${i}-${o}`}))),H=T.length,[A,E]=o(null),[j,D]=o(0),[P,W]=o(!1),[_,O]=o({}),q=n(null),Y=n(null),G=n(null),J=n([]),K=n([]),N=n(!1),Q=r((e,i=!1)=>{const t=Math.max(0,Math.min(H-1,e));D(t),M&&M(t),requestAnimationFrame(()=>{const e=i?G.current:Y.current,o=(i?K:J).current[t];if(!e||!o)return;const n=e.getBoundingClientRect(),r=o.getBoundingClientRect(),l=r.top-n.top+e.scrollTop-e.clientHeight/2+r.height/2;e.scrollTo({top:l,behavior:"smooth"})})},[H,M]);l(()=>{void 0!==F&&0!==H&&q.current!==F&&(q.current=F,D(F),Q(F,!1))},[F,H,Q]),l(()=>{if(!z||N.current||0===H)return;const e=T?.[0]?.pageIndex;_[e]&&(N.current=!0,Q(0,!1))},[z,_,H,T,Q]);const U=(o=!1)=>H>0&&t("div",{style:{display:"flex",alignItems:"center",marginBottom:"6px"},children:e("div",{style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"4px"},children:[e("span",{style:{fontSize:"12px",color:"#888"},children:[j+1," / ",H]}),t("button",{onClick:()=>Q(j-1,o),disabled:j<=0,style:{padding:"2px 4px",cursor:j<=0?"not-allowed":"pointer",opacity:j<=0?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"},children:t(d,{size:14,color:"#64748b"})}),t("button",{onClick:()=>Q(j+1,o),disabled:j>=H-1,style:{padding:"2px 4px",cursor:j>=H-1?"not-allowed":"pointer",opacity:j>=H-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white",display:"flex",alignItems:"center"},children:t(a,{size:14,color:"#64748b"})}),!L&&b&&e(i,{children:[t("span",{style:{width:"1px",height:"16px",background:"#e2e8f0",margin:"0 2px"}}),o?t(s,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:()=>W(!1)}):t(c,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:()=>W(!0)})]}),L&&L?.icon&&L?.onClick&&e(i,{children:[t("span",{style:{width:"1px",height:"16px",background:"#e2e8f0",margin:"0 2px"}}),t(h,{title:L?.tooltip||"",arrow:!0,placement:"top",children:t("div",{onClick:L.onClick,style:{display:"flex",alignItems:"center",cursor:"pointer"},children:L.icon})})]})]})}),V=(i=!1)=>{const o=i?K:J;let n=-1;return R.map((i,r)=>{const l=$.filter(e=>e.pageIndex===r).flatMap((e,i)=>e.bboxes.map((e,t)=>(n++,{bbox:e,key:`${r}-${i}-${t}`,globalIndex:n})));return e("div",{style:{marginBottom:"8px"},children:[e("div",{style:{fontSize:"12px",color:"#888",marginBottom:"4px"},children:["Page ",r+1]}),t("div",{style:{position:"relative",width:"100%",paddingTop:"129%",flexShrink:0},children:e("div",{style:{position:"absolute",inset:0},children:[t("img",{src:i,alt:`Page ${r+1}`,style:{display:"block",width:"100%",height:"100%",objectFit:"fill"},draggable:!1,ref:e=>{e&&e.complete&&!_[r]&&O(e=>({...e,[r]:!0}))},onLoad:()=>O(e=>({...e,[r]:!0}))}),_[r]&&l.map(({bbox:i,key:n,globalIndex:r})=>{const l=j===r;return t("div",{ref:e=>{o.current[r]=e},onMouseEnter:()=>E(r),onMouseLeave:()=>E(null),style:{position:"absolute",left:100*i.xmin+"%",top:100*i.ymin+"%",width:100*(i.xmax-i.xmin)+"%",height:100*(i.ymax-i.ymin)+"%",background:l?C:v,border:l?`1.5px solid ${k}`:"none",borderRadius:"2px",zIndex:2},children:y&&A===r&&e("div",{style:{position:"absolute",top:"-18px",right:"0",fontSize:"10px",background:f,color:"black",padding:"2px 6px",borderRadius:"3px",whiteSpace:"nowrap"},children:["Citation ",r+1]})},n)})]})}),S&&r<R.length-1&&t("div",{style:{height:"1px",background:B,margin:"0"}})]},r)})},X={overflowY:"auto",border:"1px solid #ddd",borderRadius:"4px",padding:"8px",paddingBottom:0,display:"flex",flexDirection:"column",boxSizing:"border-box"};return e(i,{children:[e("div",{style:{width:"100%",maxWidth:"800px",fontFamily:"inherit",display:"flex",flexDirection:"column"},children:[(m||H>0)&&e("div",{style:{display:"flex",alignItems:"center",marginBottom:"6px"},children:[m&&t("div",{style:{fontSize:"14px",fontWeight:500,color:"#111"},children:m}),t("div",{style:{marginLeft:"auto"},children:U(!1)})]}),t("div",{ref:Y,style:{...X,maxHeight:w},children:V(!1)})]}),t(p,{isOpen:P,onClose:()=>W(!1),children:e("div",{style:{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden"},children:[(I||H>0)&&e("div",{style:{display:"flex",alignItems:"center",marginBottom:"6px",padding:"8px"},children:[I&&t("div",{style:{fontSize:"14px",fontWeight:500,color:"#111"},children:I}),t("div",{style:{marginLeft:"auto"},children:U(!0)})]}),t("div",{ref:G,style:{...X,flex:1},children:P&&V(!0)})]})})]})}export{g as default};
2
2
  //# sourceMappingURL=ScannedDocCitation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScannedDocCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"ScannedDocCitation.js","sources":["../../../src/features/ScannedDocCitation/ScannedDocCitation.tsx"],"sourcesContent":["import { useState, useRef, useCallback, useEffect, CSSProperties } from \"react\";\nimport { Maximize2, X, ChevronUp, ChevronDown } from \"lucide-react\";\nimport { Modal } from \"../ChatCitation/components/wrappers/Modal\";\nimport { Tooltip } from \"@mui/material\";\n\nexport interface BBox {\n xmin: number;\n ymin: number;\n xmax: number;\n ymax: number;\n}\n\nexport interface PageHighlight {\n pageIndex: number;\n bboxes: BBox[];\n}\n\nexport interface Dimensions {\n unit: string;\n width: number;\n height: number;\n}\n\nexport interface HighlightedText {\n text: string;\n excerpt_from_document: string;\n page_no: number;\n reasoning: string[];\n gap: string[];\n score: number;\n}\n\nexport interface CitationPage {\n gs_url: string;\n page_no?: number;\n highlighted_coordinates?: BBox[];\n dimensions?: Dimensions;\n highlighted_text?: HighlightedText[];\n}\n\nexport interface ScannedDocCitationProps {\n images?: string[];\n highlights?: PageHighlight[];\n pages?: CitationPage[];\n citationLabelColor?: string;\n showCitationLabelOnHover?: boolean;\n subHeadingText?: string;\n showFullScreenMode?: boolean;\n highlightColor?: string;\n highlightActiveColor?: string;\n highlightBorderColor?: string;\n height?: string | number;\n subHeadingTitleInsideModal?: string;\n scrollToFirstCitation?: boolean;\n showPageSeparator?: boolean;\n pageSeparatorColor?: string;\n activeCitationIndex?: number;\n onActiveCitationChange?: (index: number) => void;\n headerAction?: {\n icon?: React.ReactNode;\n onClick?: () => void;\n tooltip?: string;\n };\n}\n\nexport default function ScannedDocCitation({\n images,\n highlights,\n pages,\n subHeadingText=\"\",\n showFullScreenMode=true,\n citationLabelColor = \"#FFFF2E\",\n showCitationLabelOnHover = false,\n highlightColor = \"rgba(255, 220, 0, 0.15)\",\n highlightActiveColor = \"rgba(255, 220, 0, 0.35)\",\n highlightBorderColor = \"rgba(200, 160, 0, 0.4)\",\n height = \"700px\",\n subHeadingTitleInsideModal,\n scrollToFirstCitation = false,\n showPageSeparator = true,\n pageSeparatorColor = \"#e2e8f0\",\n activeCitationIndex,\n onActiveCitationChange,\n headerAction,\n}: ScannedDocCitationProps) {\n\n // normalizing to support list and single object\n const normalizedImages: string[] = [];\n const normalizedHighlights: PageHighlight[] = [];\n\n if (pages?.length) {\n pages.forEach((page, pageIndex) => {\n if (page.gs_url) {\n normalizedImages.push(page.gs_url);\n }\n page.highlighted_coordinates?.forEach((coord) => {\n normalizedHighlights.push({\n pageIndex,\n bboxes: [coord],\n });\n });\n });\n } else {\n normalizedImages.push(...(images || []));\n normalizedHighlights.push(...(highlights || []));\n }\n\n const allBboxes = normalizedHighlights.flatMap((h, hi) =>\n h.bboxes.map((bbox, bi) => ({\n bbox,\n pageIndex: h.pageIndex,\n key: `${hi}-${bi}`,\n }))\n );\n\n const totalHighlights = allBboxes.length;\n const [hoveredIndex, setHoveredIndex] = useState<number | null>(null);\n const [activeIndex, setActiveIndex] = useState(0);\n const [isFullscreen, setIsFullscreen] = useState(false);\n const [loadedImages, setLoadedImages] = useState<Record<number, boolean>>({});\n\n const appliedExternalIndex = useRef<number | null>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n const fullscreenContainerRef = useRef<HTMLDivElement>(null);\n const bboxRefsNormal = useRef<(HTMLDivElement | null)[]>([]);\n const bboxRefsFullscreen = useRef<(HTMLDivElement | null)[]>([]);\n const hasScrolledToFirstRef = useRef(false);\n\n const goToHighlight = useCallback((index: number, expanded = false) => {\n const clamped = Math.max(0, Math.min(totalHighlights - 1, index));\n setActiveIndex(clamped);\n if (onActiveCitationChange) {\n onActiveCitationChange(clamped);\n }\n requestAnimationFrame(() => {\n const container = expanded ? fullscreenContainerRef.current : containerRef.current;\n const bboxRefs = expanded ? bboxRefsFullscreen : bboxRefsNormal;\n const bbox = bboxRefs.current[clamped];\n if (!container || !bbox) return;\n const containerRect = container.getBoundingClientRect();\n const bboxRect = bbox.getBoundingClientRect();\n const offset = bboxRect.top - containerRect.top + container.scrollTop - container.clientHeight / 2 + bboxRect.height / 2;\n container.scrollTo({ top: offset, behavior: \"smooth\" });\n });\n }, [totalHighlights, onActiveCitationChange]);\n\n // handle external activeCitationIndex control\n useEffect(() => {\n if (activeCitationIndex === undefined) return;\n if (totalHighlights === 0) return;\n if (appliedExternalIndex.current === activeCitationIndex) return;\n appliedExternalIndex.current = activeCitationIndex;\n setActiveIndex(activeCitationIndex);\n goToHighlight(activeCitationIndex, false);\n }, [activeCitationIndex, totalHighlights, goToHighlight]);\n\n useEffect(() => {\n if (!scrollToFirstCitation || hasScrolledToFirstRef.current || totalHighlights === 0) return;\n const firstPageIndex = allBboxes?.[0]?.pageIndex;\n if (loadedImages[firstPageIndex]) {\n hasScrolledToFirstRef.current = true;\n goToHighlight(0, false);\n }\n }, [scrollToFirstCitation, loadedImages, totalHighlights, allBboxes, goToHighlight]);\n\n const renderNav = (expanded = false) => (\n totalHighlights > 0 && (\n <div style={{ display: \"flex\", alignItems: \"center\", marginBottom: \"6px\" }}>\n <div style={{ marginLeft: \"auto\", display: \"flex\", alignItems: \"center\", gap: \"4px\" }}>\n <span style={{ fontSize: \"12px\", color: \"#888\" }}>\n {activeIndex + 1} / {totalHighlights}\n </span>\n <button\n onClick={() => goToHighlight(activeIndex - 1, expanded)}\n disabled={activeIndex <= 0}\n style={{ padding: \"2px 4px\", cursor: activeIndex <= 0 ? \"not-allowed\" : \"pointer\", opacity: activeIndex <= 0 ? 0.4 : 1, border: \"1px solid #ddd\", borderRadius: \"3px\", background: \"white\", display: \"flex\", alignItems: \"center\" }}\n >\n <ChevronUp size={14} color=\"#64748b\" />\n </button>\n <button\n onClick={() => goToHighlight(activeIndex + 1, expanded)}\n disabled={activeIndex >= totalHighlights - 1}\n style={{ padding: \"2px 4px\", cursor: activeIndex >= totalHighlights - 1 ? \"not-allowed\" : \"pointer\", opacity: activeIndex >= totalHighlights - 1 ? 0.4 : 1, border: \"1px solid #ddd\", borderRadius: \"3px\", background: \"white\", display: \"flex\", alignItems: \"center\" }}\n >\n <ChevronDown size={14} color=\"#64748b\" />\n </button>\n\n {!headerAction && showFullScreenMode && (\n <>\n <span style={{ width: \"1px\", height: \"16px\", background: \"#e2e8f0\", margin: \"0 2px\" }} />\n {expanded\n ? <X size={16} color=\"#64748b\" style={{ cursor: \"pointer\" }} onClick={() => setIsFullscreen(false)} />\n : <Maximize2 size={16} color=\"#64748b\" style={{ cursor: \"pointer\" }} onClick={() => setIsFullscreen(true)} />\n }\n </>\n )}\n\n {headerAction && headerAction?.icon && headerAction?.onClick && (\n <>\n <span style={{ width: \"1px\", height: \"16px\", background: \"#e2e8f0\", margin: \"0 2px\" }} />\n <Tooltip title={headerAction?.tooltip || \"\"} arrow placement=\"top\">\n <div onClick={headerAction.onClick} style={{ display: \"flex\", alignItems: \"center\", cursor: \"pointer\" }}>\n {headerAction.icon}\n </div>\n </Tooltip>\n </>\n )}\n </div>\n </div>\n )\n );\n\n const renderPages = (expanded = false) => {\n const bboxRefs = expanded ? bboxRefsFullscreen : bboxRefsNormal;\n let globalIndex = -1;\n return normalizedImages.map((src, pageIndex) => {\n const pageBboxes = normalizedHighlights\n .filter((h) => h.pageIndex === pageIndex)\n .flatMap((h, hi) =>\n h.bboxes.map((bbox, bi) => {\n globalIndex++;\n return { bbox, key: `${pageIndex}-${hi}-${bi}`, globalIndex };\n })\n );\n\n return (\n <div key={pageIndex} style={{ marginBottom: \"8px\" }}>\n <div style={{ fontSize: \"12px\", color: \"#888\", marginBottom: \"4px\" }}>\n Page {pageIndex + 1}\n </div>\n <div style={{ position: \"relative\", width: \"100%\", paddingTop: \"129%\", flexShrink: 0 }}>\n <div style={{ position: \"absolute\", inset: 0 }}>\n <img\n src={src}\n alt={`Page ${pageIndex + 1}`}\n style={{ display: \"block\", width: \"100%\", height: \"100%\", objectFit: \"fill\" }}\n draggable={false}\n ref={(el) => {\n if (el && el.complete && !loadedImages[pageIndex]) {\n setLoadedImages((prev) => ({ ...prev, [pageIndex]: true }));\n }\n }}\n onLoad={() => setLoadedImages((prev) => ({ ...prev, [pageIndex]: true }))}\n />\n {loadedImages[pageIndex] && pageBboxes.map(({ bbox, key, globalIndex: gi }) => {\n const isActive = activeIndex === gi;\n return (\n <div\n key={key}\n ref={(el) => { bboxRefs.current[gi] = el; }}\n onMouseEnter={() => setHoveredIndex(gi)}\n onMouseLeave={() => setHoveredIndex(null)}\n style={{\n position: \"absolute\",\n left: `${bbox.xmin * 100}%`,\n top: `${bbox.ymin * 100}%`,\n width: `${(bbox.xmax - bbox.xmin) * 100}%`,\n height: `${(bbox.ymax - bbox.ymin) * 100}%`,\n background: isActive ? highlightActiveColor : highlightColor,\n border: isActive ? `1.5px solid ${highlightBorderColor}` : \"none\",\n borderRadius: \"2px\",\n zIndex: 2,\n } as CSSProperties}\n >\n {(showCitationLabelOnHover && hoveredIndex === gi) && (\n <div\n style={{\n position: \"absolute\",\n top: \"-18px\",\n right: \"0\",\n fontSize: \"10px\",\n background: citationLabelColor,\n color: \"black\",\n padding: \"2px 6px\",\n borderRadius: \"3px\",\n whiteSpace: \"nowrap\",\n }}\n >\n Citation {gi + 1}\n </div>\n )}\n </div>\n );\n })}\n </div>\n </div>\n {showPageSeparator && pageIndex < normalizedImages.length - 1 && (\n <div style={{ height: \"1px\", background: pageSeparatorColor, margin: \"0\" }} />\n )}\n </div>\n );\n });\n };\n\n const scrollableStyle: CSSProperties = {\n overflowY: \"auto\",\n border: \"1px solid #ddd\",\n borderRadius: \"4px\",\n padding: \"8px\",\n paddingBottom: 0,\n display: \"flex\",\n flexDirection: \"column\",\n boxSizing: \"border-box\",\n };\n\n return (\n <>\n <div style={{ width: \"100%\", maxWidth: \"800px\", fontFamily: \"inherit\", display: \"flex\", flexDirection: \"column\" }}>\n {(subHeadingText || totalHighlights > 0) && (\n <div style={{ display: \"flex\", alignItems: \"center\", marginBottom: \"6px\" }}>\n {subHeadingText && (\n <div style={{ fontSize: \"14px\", fontWeight: 500, color: \"#111\" }}>\n {subHeadingText}\n </div>\n )}\n <div style={{ marginLeft: \"auto\" }}>{renderNav(false)}</div>\n </div>\n )}\n <div ref={containerRef} style={{ ...scrollableStyle, maxHeight: height }}>\n {renderPages(false)}\n </div>\n </div>\n\n <Modal isOpen={isFullscreen} onClose={() => setIsFullscreen(false)}>\n <div style={{ display: \"flex\", flexDirection: \"column\", height: \"100%\", overflow: \"hidden\" }}>\n {(subHeadingTitleInsideModal || totalHighlights > 0) && (\n <div style={{ display: \"flex\", alignItems: \"center\", marginBottom: \"6px\", padding: \"8px\" }}>\n {subHeadingTitleInsideModal && (\n <div style={{ fontSize: \"14px\", fontWeight: 500, color: \"#111\" }}>\n {subHeadingTitleInsideModal}\n </div>\n )}\n <div style={{ marginLeft: \"auto\" }}>\n {renderNav(true)}\n </div>\n </div>\n )}\n <div ref={fullscreenContainerRef} style={{ ...scrollableStyle, flex: 1 }}>\n {isFullscreen && renderPages(true)}\n </div>\n </div>\n </Modal>\n </>\n );\n}"],"names":["ScannedDocCitation","images","highlights","pages","subHeadingText","showFullScreenMode","citationLabelColor","showCitationLabelOnHover","highlightColor","highlightActiveColor","highlightBorderColor","height","subHeadingTitleInsideModal","scrollToFirstCitation","showPageSeparator","pageSeparatorColor","activeCitationIndex","onActiveCitationChange","headerAction","normalizedImages","normalizedHighlights","length","forEach","page","pageIndex","gs_url","push","highlighted_coordinates","coord","bboxes","allBboxes","flatMap","h","hi","map","bbox","bi","key","totalHighlights","hoveredIndex","setHoveredIndex","useState","activeIndex","setActiveIndex","isFullscreen","setIsFullscreen","loadedImages","setLoadedImages","appliedExternalIndex","useRef","containerRef","fullscreenContainerRef","bboxRefsNormal","bboxRefsFullscreen","hasScrolledToFirstRef","goToHighlight","useCallback","index","expanded","clamped","Math","max","min","requestAnimationFrame","container","current","containerRect","getBoundingClientRect","bboxRect","offset","top","scrollTop","clientHeight","scrollTo","behavior","useEffect","firstPageIndex","renderNav","jsx","style","display","alignItems","marginBottom","children","jsxs","marginLeft","gap","fontSize","color","onClick","disabled","padding","cursor","opacity","border","borderRadius","background","ChevronUp","size","ChevronDown","Fragment","width","margin","X","Maximize2","icon","Tooltip","title","tooltip","arrow","placement","renderPages","bboxRefs","globalIndex","src","pageBboxes","filter","position","paddingTop","flexShrink","inset","alt","objectFit","draggable","ref","el","complete","prev","onLoad","gi","isActive","onMouseEnter","onMouseLeave","left","xmin","ymin","xmax","ymax","zIndex","right","whiteSpace","scrollableStyle","overflowY","paddingBottom","flexDirection","boxSizing","maxWidth","fontFamily","fontWeight","maxHeight","Modal","isOpen","onClose","overflow","flex"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{__assign as e,__spreadArray as i}from"tslib";import{jsx as o,jsxs as t,Fragment as r}from"react/jsx-runtime";import{useMemo as n,useState as l}from"react";import d from"@mui/icons-material/ChevronRight";import a from"@mui/icons-material/Close";import c from"@mui/icons-material/ExpandMore";import s from"@mui/material/Box";import u from"@mui/material/Button";import p from"@mui/material/ButtonBase";import m from"@mui/material/Divider";import h from"@mui/material/IconButton";import g from"@mui/material/Paper";import x from"@mui/material/Radio";import f from"@mui/material/Stack";import b from"@mui/material/TextField";import E from"@mui/material/Typography";import C from"./RevertSummaryNotice.js";import v from"./CognitiveIcon.js";import F from"./CognitiveScoreBadge.js";import S from"../../assests/icons/InfoAlert.js";var y,w=function(e,o){return i([e],Array.isArray(o)?o:null==o?[]:[o],!0)},R="MERGE_ADJACENT";!function(e){e.KEEP="KEEP",e.SPLIT_HERE="SPLIT_HERE",e.MERGE_NEXT="MERGE_NEXT",e.MERGE_PREV="MERGE_PREV",e.MERGE_PREVIOUS="MERGE_PREVIOUS",e.SET_RANGE="SET_RANGE"}(y||(y={}));var M=function(e){return Object.values(y).includes(e)},A=function(e,o,t,r){if(!o||!e)return[];var n=o.additional_decisions,l=Array.isArray(n)?n:n?Object.values(n).flat():[],d=Array.from(new Set(i(i([],o.allowed_decisions,!0),l,!0)));return d.flatMap(function(i){var o=e.focus_page,n=d.find(function(e){return e.toLowerCase().includes("merge")}),l=null!=o&&null!=t&&null!=r&&o===t&&o===r,a=null!=o&&null!=t&&o===t,c=null!=o&&null!=r&&(o===r||o===r+1),s=a||c||!(null!=o&&(!(null!=t&&null!=r)||o>t&&o<r));switch(i){case y.SET_RANGE:return[];case"KEEP":return[{id:i,title:"Keep as is",description:"Keep the current document boundary unchanged."}];case"SPLIT_HERE":return[{id:i,title:"Split to a separate document",description:s?"A valid page inside the document is required to split it.":o?"Start a new document at page ".concat(o,"."):"Create a new document at this boundary.",disabled:s}];case"MERGE_PREV":case"MERGE_NEXT":case"MERGE_PREVIOUS":return i!==n?[]:l?[{id:R,title:"Merge with an adjacent document",description:"Choose to merge with the previous or next document."}]:a?[{id:y.MERGE_PREVIOUS,title:"Merge with previous document",description:"Combine this document with the previous document."}]:c?[{id:y.MERGE_NEXT,title:"Merge with next document",description:"Combine this document with the next document."}]:[{id:R,title:"Merge with an adjacent document",description:"Choose to merge with the previous or next document."}]}return[]})};function I(i){var I=i.headerName,T=void 0===I?"Boundary Check":I,z=i.title,W=i.pageNo,k=i.content,P=i.revertSummary,_=i.cognitiveScore,N=i.config,G=i.metadata,B=i.previousSegmentTitle,D=i.nextSegmentTitle,H=i.selectedIndex,j=i.defaultSelectedIndex,O=void 0===j?null:j,V=i.defaultStartPage,L=i.defaultEndPage,U=i.onSelectionChange,X=i.onConfirm,K=i.onActionConfirm,$=i.onCognitiveClick,q=i.onAdjustManually,J=i.onClose,Y=i.confirmLabel,Q=void 0===Y?"Confirm":Y,Z=i.manualPrompt,ee=void 0===Z?"Didn't find the right option?":Z,ie=i.manualActionLabel,oe=void 0===ie?"Adjust Manually":ie,te=i.cognitiveLabel,re=void 0===te?"Cognitive Integrity":te,ne=i.showAdjustManually,le=void 0===ne||ne,de=i.showCognitiveIntegrity,ae=void 0===de||de,ce=i.showCloseButton,se=void 0===ce||ce,ue=i.confirmDisabled,pe=void 0!==ue&&ue,me=i.width,he=void 0===me?260:me,ge=i.maxWidth,xe=void 0===ge?260:ge,fe=i.className,be=i.styles,Ee=i.reviewAction,Ce=i.totalPages;console.log("LOG: Total pages",Ce);var ve=n(function(){return(null!=N?N:G?A(G,Ee,V,L):[]).filter(function(e){return e.id!==y.SET_RANGE})},[N,L,V,G,Ee]),Fe=l(O),Se=Fe[0],ye=Fe[1],we=l(null==V?"":String(V)),Re=we[0],Me=we[1],Ae=l(null==L?"":String(L)),Ie=Ae[0],Te=Ae[1],ze=l(!1),We=ze[0],ke=ze[1],Pe=l(!1),_e=Pe[0],Ne=Pe[1],Ge=l(null),Be=Ge[0],De=Ge[1],He=l(!1),je=He[0],Oe=He[1],Ve=void 0===H?Se:H,Le=null==Ve?void 0:ve[Ve],Ue=(null==Le?void 0:Le.id)===R,Xe=null!=B,Ke=null!=D,$e=function(e){return!0===e.disabled||e.id===y.MERGE_PREV&&!Xe||e.id===y.MERGE_PREVIOUS&&!Xe||e.id===y.MERGE_NEXT&&!Ke||e.id===R&&!Xe&&!Ke},qe=Number(Re),Je=Number(Ie),Ye=Re.trim().length>0&&Ie.trim().length>0&&Number.isInteger(qe)&&Number.isInteger(Je)&&qe>0&&Je>0,Qe=null!=Ce&&qe>Ce,Ze=null!=Ce&&Je>Ce,ei=Re.trim().length>0&&Ie.trim().length>0&&Number.isInteger(qe)&&Number.isInteger(Je)&&qe>Je,ii=Ye&&qe<=Je&&!Qe&&!Ze,oi=ii&&qe===V&&Je===L,ti=pe||!Le||$e(Le)||Ue&&null==Be||!X&&!K;return o(g,e({className:fe,elevation:4,sx:w({width:he,maxWidth:xe,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==be?void 0:be.root)},{children:t(f,e({spacing:.75,sx:{p:1}},{children:[t(f,e({direction:"row",alignItems:"center",spacing:.75,sx:null==be?void 0:be.header},{children:[o(S,{color:"error",height:16,width:16}),o(E,e({sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"}},{children:T})),se&&o(h,e({size:"small",onClick:J,disabled:!J,"aria-label":"Close boundary check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:o(a,{sx:{fontSize:17}})}))]})),t(s,{children:[o(E,e({sx:{color:"text.primary",fontSize:14,fontWeight:500}},{children:z})),null!=W&&o(E,e({sx:{mt:.125,color:"text.secondary",fontSize:12}},{children:W})),o(m,{sx:{my:.625}}),null!=P?o(C,{children:P}):null!=k&&o(E,e({component:"div",sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3}},{children:k}))]}),t(f,e({spacing:.625,role:"radiogroup","aria-label":"Boundary options"},{children:[ve.map(function(i,r){var n=Ve===r,l=$e(i);return t(g,e({variant:"outlined",sx:w({borderColor:n?"#1976d2":"divider",borderRadius:2,bgcolor:l?"#F8FAFC":"background.paper",overflow:"hidden"},null==be?void 0:be.option)},{children:[t(p,e({role:"radio","aria-checked":n,disabled:pe||l,onClick:function(){return function(e,i){pe||$e(i)||(void 0===H&&ye(e),i.id!==R&&De(null),We&&(ke(!1),Ne(!1)),null==U||U(e,i))}(r,i)},sx:{width:"100%",justifyContent:"flex-start",px:.75,py:.5,textAlign:"left"}},{children:[o(x,{checked:n,disabled:pe||l,tabIndex:-1,size:"small",sx:{p:.25,mr:.5,"&.Mui-disabled":{color:"#CBD5E1"}}}),t(s,e({sx:{minWidth:0}},{children:[o(E,e({sx:{color:l?"#94A3B8":"text.primary",fontSize:12.5,fontWeight:500}},{children:i.title})),null!=i.description&&o(E,e({sx:{mt:.125,color:l?"#94A3B8":"text.secondary",fontSize:11}},{children:i.description}))]}))]})),n&&i.id===R&&o(f,e({direction:"row",spacing:.75,sx:w({px:.75,pb:.75},null==be?void 0:be.adjacentSelector)},{children:[{direction:"previous",title:null!=B?B:"No Previous document",caption:"← Merge into Previous",available:Xe},{direction:"next",title:null!=D?D:"No Next document",caption:"Merge into Next →",available:Ke}].map(function(i){var r=Be===i.direction;return t(f,e({sx:{flex:1,minWidth:0}},{children:[o(p,e({disabled:pe||!i.available,onClick:function(){return De(i.direction)},"aria-pressed":r,sx:{width:"100%",minWidth:0,minHeight:46,alignItems:"flex-start",justifyContent:"flex-start",p:.625,border:"1px solid",borderColor:r?"#7F56D9":"#D0D5DD",borderRadius:1.5,bgcolor:r?"#E0E7FF":"background.paper",color:r?"#7F56D9":i.available?"text.primary":"#98A2B3",textAlign:"left","&.Mui-disabled":{color:"#98A2B3",bgcolor:"#F8FAFC"}}},{children:o(E,e({sx:{color:"inherit",fontSize:11,fontWeight:500,lineHeight:1.25,overflowWrap:"anywhere"}},{children:i.title}))})),o(E,e({sx:{mt:.5,color:r?"#5925DC":"text.secondary",fontSize:9.5,lineHeight:1.2,whiteSpace:"nowrap",textAlign:"next"===i.direction?"right":"left"}},{children:i.caption}))]}),i.direction)})}))]}),i.id)}),Ue&&null!=Be&&t(f,e({direction:"row",alignItems:"flex-start",spacing:.625,sx:w({p:.75,border:"1px solid #FCA5A5",borderRadius:1.5,bgcolor:"#FEF2F2"},null==be?void 0:be.impactWarning)},{children:[o(S,{color:"error",height:14,width:14,sx:{mt:.125}}),t(E,e({sx:{color:"#DC2626",fontSize:10.5,lineHeight:1.4}},{children:["This will impact the ",Be," document. Its content and page range will change."]}))]})),o(u,e({variant:"contained",fullWidth:!0,disabled:ti,onClick:function(){if(!ti&&null!=Ve&&Le){var i=Ue?"previous"===Be?y.MERGE_PREVIOUS:y.MERGE_NEXT:Le.id,o=Ue?e(e({},Le),{id:i}):Le,t={selectedIndex:Ve,option:o,metadata:G};null==X||X(Ve,o,t),K&&M(i)&&K(i,t)}},sx:w({minHeight:32,mt:.25,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",backgroundColor:"#5925DC","&:hover":{backgroundColor:"#4A1FB8"},"&.Mui-disabled":{backgroundColor:"#D9D6FE",color:"#FFFFFF"}},null==be?void 0:be.confirmButton)},{children:Q}))]})),le&&t(f,e({spacing:.625,sx:null==be?void 0:be.manualSection},{children:[t(p,e({disabled:pe,onClick:function(){var e=!We;ke(e),Ne(!1),e&&(void 0===H&&ye(null),null==q||q())},"aria-expanded":We,sx:{width:"100%",justifyContent:"space-between",borderRadius:1,textAlign:"left"}},{children:[o(s,{children:o(E,e({sx:{color:"text.primary",fontSize:12,fontWeight:600}},{children:ee}))}),o(c,{sx:{color:"text.secondary",fontSize:16,transform:We?"rotate(180deg)":"none",transition:"transform 150ms ease"}})]})),We&&!_e&&t(s,e({sx:{pt:.5,fontFamily:'Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif'}},{children:[t(s,e({sx:{display:"grid",gridTemplateColumns:"1fr 1fr",columnGap:"8px",mb:"4px"}},{children:[o(E,e({sx:{fontSize:"10.5px",fontWeight:400,lineHeight:"14px",color:"#57697E",margin:0}},{children:"Starts"})),o(E,e({sx:{fontSize:"10.5px",fontWeight:400,lineHeight:"14px",color:"#57697E",margin:0}},{children:"Ends"}))]})),t(s,e({sx:{display:"grid",gridTemplateColumns:"1fr 1fr",columnGap:"8px",mb:"4px"}},{children:[t(s,{children:[o(b,{size:"small",type:"text",value:Re,disabled:pe,error:Qe||ei,onChange:function(e){var i=e.target.value;/^\d*$/.test(i)&&Me(i)},inputProps:{inputMode:"numeric",pattern:"[0-9]*"},sx:{"& .MuiOutlinedInput-root":{height:"30px",backgroundColor:"#FFFFFF","& fieldset":{borderColor:Qe||ei?"#EF4444":"#C3CFDC",borderWidth:"1px",borderRadius:"6px"},"&:hover fieldset":{borderColor:Qe||ei?"#EF4444":"#C3CFDC"},"&.Mui-focused fieldset":{borderColor:Qe||ei?"#EF4444":"#9488F6",borderWidth:"1px"}},"& .MuiOutlinedInput-input":{fontSize:"12px",fontWeight:400,lineHeight:"1",color:"#34445A",padding:"0 10px",height:"30px"}}}),Qe&&t(E,e({sx:{fontSize:"10px",color:"#EF4444",marginTop:"2px",fontWeight:500}},{children:["Must be ≤ ",Ce," (total pages)"]})),ei&&!Qe&&o(E,e({sx:{fontSize:"10px",color:"#EF4444",marginTop:"2px",fontWeight:500}},{children:"Must be ≤ end page"}))]}),t(s,{children:[o(b,{size:"small",type:"text",value:Ie,disabled:pe,error:Ze||ei,onChange:function(e){var i=e.target.value;/^\d*$/.test(i)&&Te(i)},inputProps:{inputMode:"numeric",pattern:"[0-9]*"},sx:{"& .MuiOutlinedInput-root":{height:"30px",backgroundColor:"#FFFFFF","& fieldset":{borderColor:Ze||ei?"#EF4444":"#C3CFDC",borderWidth:"1px",borderRadius:"6px"},"&:hover fieldset":{borderColor:Ze||ei?"#EF4444":"#C3CFDC"},"&.Mui-focused fieldset":{borderColor:Ze||ei?"#EF4444":"#9488F6",borderWidth:"1px"}},"& .MuiOutlinedInput-input":{fontSize:"12px",fontWeight:400,lineHeight:"1",color:"#34445A",padding:"0 10px",height:"30px"}}}),Ze&&t(E,e({sx:{fontSize:"10px",color:"#EF4444",marginTop:"2px",fontWeight:500}},{children:["Must be ≤ ",Ce," (total pages)"]})),ei&&!Ze&&o(E,e({sx:{fontSize:"10px",color:"#EF4444",marginTop:"2px",fontWeight:500}},{children:"Must be ≥ start page"}))]})]})),o(s,{children:o(u,e({onClick:function(){ii&&(oi?Oe(!0):Ne(!0))},disabled:pe||!ii||oi,sx:{height:"30px",padding:"0 12px",display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",backgroundColor:"#FFFFFF",border:"1px solid #8E80F3",borderRadius:"6px",fontFamily:'Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif',fontSize:"12px",fontWeight:600,lineHeight:"1",color:"#4A24CF",outline:"none",cursor:"pointer",textTransform:"none",transition:"all 150ms ease-in-out","&:hover":!ii||oi?{}:{backgroundColor:"#FAF9FF",borderColor:"#7F6FF0"},"&:active":!ii||oi?{}:{transform:"translateY(1px)"},"&.Mui-disabled":{backgroundColor:"#FFFFFF",borderColor:"#C3CFDC",color:"#A0ABBE",cursor:"not-allowed"}}},{children:"Apply"}))}),oi&&je&&o(s,e({sx:{backgroundColor:"#FEF3C7",border:"1px solid #FBBF24",borderRadius:"6px",padding:"8px 10px",marginTop:"4px"}},{children:o(E,e({sx:{fontSize:"10px",color:"#B45309",fontWeight:500,lineHeight:1.4}},{children:"Please change the boundary to change the document boundary as no changes will be applied."}))})),o(s,{sx:{width:"100%",height:"1px",marginTop:"8px",backgroundColor:"#EEF0F2",border:"0"}})]})),We&&_e&&t(f,e({spacing:.75,sx:w({p:.75,borderRadius:1.5,bgcolor:"#FFF7ED"},null==be?void 0:be.manualConfirmation)},{children:[t(f,e({direction:"row",alignItems:"center",spacing:.5},{children:[o(S,{color:"warning",height:14,width:14}),o(E,e({sx:{color:"#EA580C",fontSize:11,fontWeight:600}},{children:"Confirm this change?"}))]})),t(E,e({sx:{color:"text.secondary",fontSize:10.5,lineHeight:1.4}},{children:["Pages ",qe,"-",Je," will become part of ",z,", including pages from other documents in this range."]})),t(f,e({direction:"row",spacing:.75},{children:[o(u,e({variant:"outlined",fullWidth:!0,onClick:function(){return Ne(!1)},sx:{minHeight:28,borderRadius:1.5,fontSize:11,textTransform:"none"}},{children:"Cancel"})),o(u,e({variant:"contained",fullWidth:!0,disabled:pe||!X||!ii||oi,onClick:function(){if(ii&&!oi&&X){var e={id:y.SET_RANGE,title:oe};X(-1,e,{selectedIndex:-1,option:e,startPage:qe,endPage:Je,metadata:G})}},sx:{minHeight:28,borderRadius:1.5,bgcolor:"#EA580C",fontSize:11,textTransform:"none","&:hover":{bgcolor:"#C2410C"}}},{children:"Confirm"}))]}))]}))]})),o(f,e({spacing:.625,sx:null==be?void 0:be.footer},{children:ae&&t(r,{children:[o(m,{}),t(p,e({onClick:$,disabled:!$,sx:{justifyContent:"space-between",borderRadius:1,textAlign:"left",cursor:$?"pointer":"not-allowed"}},{children:[t(f,e({direction:"row",alignItems:"center",spacing:1},{children:[o(v,{sx:{color:"text.secondary"}}),o(E,e({sx:{color:"text.primary",fontSize:12}},{children:re}))]})),t(f,e({direction:"row",alignItems:"center",spacing:.5},{children:[o(F,{score:_}),o(d,{sx:{color:"text.secondary"}})]}))]}))]})}))]}))}))}export{y as BoundaryReviewActionEnum,A as createBoundaryCardOptions,I as default,M as isBoundaryReviewAction};
1
+ import{jsx as e,jsxs as i,Fragment as t}from"react/jsx-runtime";import{useMemo as o,useState as r}from"react";import n from"@mui/icons-material/ChevronRight";import l from"@mui/icons-material/Close";import a from"@mui/icons-material/ExpandMore";import d from"@mui/material/Box";import s from"@mui/material/Button";import c from"@mui/material/ButtonBase";import u from"@mui/material/Divider";import p from"@mui/material/IconButton";import m from"@mui/material/Paper";import h from"@mui/material/Radio";import g from"@mui/material/Stack";import x from"@mui/material/TextField";import f from"@mui/material/Typography";import b from"./RevertSummaryNotice.js";import E from"./CognitiveIcon.js";import C from"./CognitiveScoreBadge.js";import F from"../../assests/icons/InfoAlert.js";const S=(e,i)=>[e,...Array.isArray(i)?i:null==i?[]:[i]],y="MERGE_ADJACENT";var v=(e=>(e.KEEP="KEEP",e.SPLIT_HERE="SPLIT_HERE",e.MERGE_NEXT="MERGE_NEXT",e.MERGE_PREV="MERGE_PREV",e.MERGE_PREVIOUS="MERGE_PREVIOUS",e.SET_RANGE="SET_RANGE",e))(v||{});const w=e=>Object.values(v).includes(e),R=(e,i,t,o)=>{if(!i||!e)return[];const r=i.additional_decisions,n=Array.isArray(r)?r:r?Object.values(r).flat():[],l=Array.from(new Set([...i.allowed_decisions,...n]));return l.flatMap(i=>{const r=e.focus_page,n=l.find(e=>e.toLowerCase().includes("merge")),a=null!=r&&null!=t&&null!=o&&r===t&&r===o,d=null!=r&&null!=t&&r===t,s=null!=r&&null!=o&&(r===o||r===o+1),c=d||s||!(null!=r&&(!(null!=t&&null!=o)||r>t&&r<o));switch(i){case"SET_RANGE":return[];case"KEEP":return[{id:i,title:"Keep as is",description:"Keep the current document boundary unchanged."}];case"SPLIT_HERE":return[{id:i,title:"Split to a separate document",description:c?"A valid page inside the document is required to split it.":r?`Start a new document at page ${r}.`:"Create a new document at this boundary.",disabled:c}];case"MERGE_PREV":case"MERGE_NEXT":case"MERGE_PREVIOUS":return i!==n?[]:a?[{id:y,title:"Merge with an adjacent document",description:"Choose to merge with the previous or next document."}]:d?[{id:"MERGE_PREVIOUS",title:"Merge with previous document",description:"Combine this document with the previous document."}]:s?[{id:"MERGE_NEXT",title:"Merge with next document",description:"Combine this document with the next document."}]:[{id:y,title:"Merge with an adjacent document",description:"Choose to merge with the previous or next document."}]}return[]})};function M({headerName:v="Boundary Check",title:M,pageNo:A,content:I,revertSummary:T,cognitiveScore:z,config:W,metadata:k,previousSegmentTitle:P,nextSegmentTitle:_,selectedIndex:N,defaultSelectedIndex:G=null,defaultStartPage:B,defaultEndPage:D,onSelectionChange:H,onConfirm:j,onActionConfirm:O,onCognitiveClick:V,onAdjustManually:L,onClose:U,confirmLabel:X="Confirm",manualPrompt:K="Didn't find the right option?",manualActionLabel:$="Adjust Manually",cognitiveLabel:q="Cognitive Integrity",showAdjustManually:J=!0,showCognitiveIntegrity:Y=!0,showCloseButton:Q=!0,confirmDisabled:Z=!1,width:ee=260,maxWidth:ie=260,className:te,styles:oe,reviewAction:re,totalPages:ne}){console.log("LOG: Total pages",ne);const le=o(()=>(W??(k?R(k,re,B,D):[])).filter(e=>"SET_RANGE"!==e.id),[W,D,B,k,re]),[ae,de]=r(G),[se,ce]=r(null==B?"":String(B)),[ue,pe]=r(null==D?"":String(D)),[me,he]=r(!1),[ge,xe]=r(!1),[fe,be]=r(null),[Ee,Ce]=r(!1),Fe=void 0===N?ae:N,Se=null==Fe?void 0:le[Fe],ye=Se?.id===y,ve=null!=P,we=null!=_,Re=e=>!0===e.disabled||"MERGE_PREV"===e.id&&!ve||"MERGE_PREVIOUS"===e.id&&!ve||"MERGE_NEXT"===e.id&&!we||e.id===y&&!ve&&!we,Me=Number(se),Ae=Number(ue),Ie=se.trim().length>0&&ue.trim().length>0&&Number.isInteger(Me)&&Number.isInteger(Ae)&&Me>0&&Ae>0,Te=null!=ne&&Me>ne,ze=null!=ne&&Ae>ne,We=se.trim().length>0&&ue.trim().length>0&&Number.isInteger(Me)&&Number.isInteger(Ae)&&Me>Ae,ke=Ie&&Me<=Ae&&!Te&&!ze,Pe=ke&&Me===B&&Ae===D,_e=Z||!Se||Re(Se)||ye&&null==fe||!j&&!O;return e(m,{className:te,elevation:4,sx:S({width:ee,maxWidth:ie,borderTop:"4px solid",borderColor:"error.main",borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},oe?.root),children:i(g,{spacing:.75,sx:{p:1},children:[i(g,{direction:"row",alignItems:"center",spacing:.75,sx:oe?.header,children:[e(F,{color:"error",height:16,width:16}),e(f,{sx:{flex:1,color:"error.main",fontSize:12,fontWeight:500,lineHeight:1.25,textTransform:"uppercase"},children:v}),Q&&e(p,{size:"small",onClick:U,disabled:!U,"aria-label":"Close boundary check",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}},children:e(l,{sx:{fontSize:17}})})]}),i(d,{children:[e(f,{sx:{color:"text.primary",fontSize:14,fontWeight:500},children:M}),null!=A&&e(f,{sx:{mt:.125,color:"text.secondary",fontSize:12},children:A}),e(u,{sx:{my:.625}}),null!=T?e(b,{children:T}):null!=I&&e(f,{component:"div",sx:{color:"text.secondary",fontSize:11.5,lineHeight:1.3},children:I})]}),i(g,{spacing:.625,role:"radiogroup","aria-label":"Boundary options",children:[le.map((t,o)=>{const r=Fe===o,n=Re(t);return i(m,{variant:"outlined",sx:S({borderColor:r?"#1976d2":"divider",borderRadius:2,bgcolor:n?"#F8FAFC":"background.paper",overflow:"hidden"},oe?.option),children:[i(c,{role:"radio","aria-checked":r,disabled:Z||n,onClick:()=>((e,i)=>{Z||Re(i)||(void 0===N&&de(e),i.id!==y&&be(null),me&&(he(!1),xe(!1)),H?.(e,i))})(o,t),sx:{width:"100%",justifyContent:"flex-start",px:.75,py:.5,textAlign:"left"},children:[e(h,{checked:r,disabled:Z||n,tabIndex:-1,size:"small",sx:{p:.25,mr:.5,"&.Mui-disabled":{color:"#CBD5E1"}}}),i(d,{sx:{minWidth:0},children:[e(f,{sx:{color:n?"#94A3B8":"text.primary",fontSize:12.5,fontWeight:500},children:t.title}),null!=t.description&&e(f,{sx:{mt:.125,color:n?"#94A3B8":"text.secondary",fontSize:11},children:t.description})]})]}),r&&t.id===y&&e(g,{direction:"row",spacing:.75,sx:S({px:.75,pb:.75},oe?.adjacentSelector),children:[{direction:"previous",title:P??"No Previous document",caption:"← Merge into Previous",available:ve},{direction:"next",title:_??"No Next document",caption:"Merge into Next →",available:we}].map(t=>{const o=fe===t.direction;return i(g,{sx:{flex:1,minWidth:0},children:[e(c,{disabled:Z||!t.available,onClick:()=>be(t.direction),"aria-pressed":o,sx:{width:"100%",minWidth:0,minHeight:46,alignItems:"flex-start",justifyContent:"flex-start",p:.625,border:"1px solid",borderColor:o?"#7F56D9":"#D0D5DD",borderRadius:1.5,bgcolor:o?"#E0E7FF":"background.paper",color:o?"#7F56D9":t.available?"text.primary":"#98A2B3",textAlign:"left","&.Mui-disabled":{color:"#98A2B3",bgcolor:"#F8FAFC"}},children:e(f,{sx:{color:"inherit",fontSize:11,fontWeight:500,lineHeight:1.25,overflowWrap:"anywhere"},children:t.title})}),e(f,{sx:{mt:.5,color:o?"#5925DC":"text.secondary",fontSize:9.5,lineHeight:1.2,whiteSpace:"nowrap",textAlign:"next"===t.direction?"right":"left"},children:t.caption})]},t.direction)})})]},t.id)}),ye&&null!=fe&&i(g,{direction:"row",alignItems:"flex-start",spacing:.625,sx:S({p:.75,border:"1px solid #FCA5A5",borderRadius:1.5,bgcolor:"#FEF2F2"},oe?.impactWarning),children:[e(F,{color:"error",height:14,width:14,sx:{mt:.125}}),i(f,{sx:{color:"#DC2626",fontSize:10.5,lineHeight:1.4},children:["This will impact the ",fe," document. Its content and page range will change."]})]}),e(s,{variant:"contained",fullWidth:!0,disabled:_e,onClick:()=>{if(_e||null==Fe||!Se)return;const e=ye?"previous"===fe?"MERGE_PREVIOUS":"MERGE_NEXT":Se.id,i=ye?{...Se,id:e}:Se,t={selectedIndex:Fe,option:i,metadata:k};j?.(Fe,i,t),O&&w(e)&&O(e,t)},sx:S({minHeight:32,mt:.25,borderRadius:2,fontSize:13,fontWeight:600,textTransform:"none",backgroundColor:"#5925DC","&:hover":{backgroundColor:"#4A1FB8"},"&.Mui-disabled":{backgroundColor:"#D9D6FE",color:"#FFFFFF"}},oe?.confirmButton),children:X})]}),J&&i(g,{spacing:.625,sx:oe?.manualSection,children:[i(c,{disabled:Z,onClick:()=>{const e=!me;he(e),xe(!1),e&&(void 0===N&&de(null),L?.())},"aria-expanded":me,sx:{width:"100%",justifyContent:"space-between",borderRadius:1,textAlign:"left"},children:[e(d,{children:e(f,{sx:{color:"text.primary",fontSize:12,fontWeight:600},children:K})}),e(a,{sx:{color:"text.secondary",fontSize:16,transform:me?"rotate(180deg)":"none",transition:"transform 150ms ease"}})]}),me&&!ge&&i(d,{sx:{pt:.5,fontFamily:'Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif'},children:[i(d,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr",columnGap:"8px",mb:"4px"},children:[e(f,{sx:{fontSize:"10.5px",fontWeight:400,lineHeight:"14px",color:"#57697E",margin:0},children:"Starts"}),e(f,{sx:{fontSize:"10.5px",fontWeight:400,lineHeight:"14px",color:"#57697E",margin:0},children:"Ends"})]}),i(d,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr",columnGap:"8px",mb:"4px"},children:[i(d,{children:[e(x,{size:"small",type:"text",value:se,disabled:Z,error:Te||We,onChange:e=>{const i=e.target.value;/^\d*$/.test(i)&&ce(i)},inputProps:{inputMode:"numeric",pattern:"[0-9]*"},sx:{"& .MuiOutlinedInput-root":{height:"30px",backgroundColor:"#FFFFFF","& fieldset":{borderColor:Te||We?"#EF4444":"#C3CFDC",borderWidth:"1px",borderRadius:"6px"},"&:hover fieldset":{borderColor:Te||We?"#EF4444":"#C3CFDC"},"&.Mui-focused fieldset":{borderColor:Te||We?"#EF4444":"#9488F6",borderWidth:"1px"}},"& .MuiOutlinedInput-input":{fontSize:"12px",fontWeight:400,lineHeight:"1",color:"#34445A",padding:"0 10px",height:"30px"}}}),Te&&i(f,{sx:{fontSize:"10px",color:"#EF4444",marginTop:"2px",fontWeight:500},children:["Must be ≤ ",ne," (total pages)"]}),We&&!Te&&e(f,{sx:{fontSize:"10px",color:"#EF4444",marginTop:"2px",fontWeight:500},children:"Must be ≤ end page"})]}),i(d,{children:[e(x,{size:"small",type:"text",value:ue,disabled:Z,error:ze||We,onChange:e=>{const i=e.target.value;/^\d*$/.test(i)&&pe(i)},inputProps:{inputMode:"numeric",pattern:"[0-9]*"},sx:{"& .MuiOutlinedInput-root":{height:"30px",backgroundColor:"#FFFFFF","& fieldset":{borderColor:ze||We?"#EF4444":"#C3CFDC",borderWidth:"1px",borderRadius:"6px"},"&:hover fieldset":{borderColor:ze||We?"#EF4444":"#C3CFDC"},"&.Mui-focused fieldset":{borderColor:ze||We?"#EF4444":"#9488F6",borderWidth:"1px"}},"& .MuiOutlinedInput-input":{fontSize:"12px",fontWeight:400,lineHeight:"1",color:"#34445A",padding:"0 10px",height:"30px"}}}),ze&&i(f,{sx:{fontSize:"10px",color:"#EF4444",marginTop:"2px",fontWeight:500},children:["Must be ≤ ",ne," (total pages)"]}),We&&!ze&&e(f,{sx:{fontSize:"10px",color:"#EF4444",marginTop:"2px",fontWeight:500},children:"Must be ≥ start page"})]})]}),e(d,{children:e(s,{onClick:()=>{ke&&(Pe?Ce(!0):xe(!0))},disabled:Z||!ke||Pe,sx:{height:"30px",padding:"0 12px",display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",backgroundColor:"#FFFFFF",border:"1px solid #8E80F3",borderRadius:"6px",fontFamily:'Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif',fontSize:"12px",fontWeight:600,lineHeight:"1",color:"#4A24CF",outline:"none",cursor:"pointer",textTransform:"none",transition:"all 150ms ease-in-out","&:hover":!ke||Pe?{}:{backgroundColor:"#FAF9FF",borderColor:"#7F6FF0"},"&:active":!ke||Pe?{}:{transform:"translateY(1px)"},"&.Mui-disabled":{backgroundColor:"#FFFFFF",borderColor:"#C3CFDC",color:"#A0ABBE",cursor:"not-allowed"}},children:"Apply"})}),Pe&&Ee&&e(d,{sx:{backgroundColor:"#FEF3C7",border:"1px solid #FBBF24",borderRadius:"6px",padding:"8px 10px",marginTop:"4px"},children:e(f,{sx:{fontSize:"10px",color:"#B45309",fontWeight:500,lineHeight:1.4},children:"Please change the boundary to change the document boundary as no changes will be applied."})}),e(d,{sx:{width:"100%",height:"1px",marginTop:"8px",backgroundColor:"#EEF0F2",border:"0"}})]}),me&&ge&&i(g,{spacing:.75,sx:S({p:.75,borderRadius:1.5,bgcolor:"#FFF7ED"},oe?.manualConfirmation),children:[i(g,{direction:"row",alignItems:"center",spacing:.5,children:[e(F,{color:"warning",height:14,width:14}),e(f,{sx:{color:"#EA580C",fontSize:11,fontWeight:600},children:"Confirm this change?"})]}),i(f,{sx:{color:"text.secondary",fontSize:10.5,lineHeight:1.4},children:["Pages ",Me,"-",Ae," will become part of ",M,", including pages from other documents in this range."]}),i(g,{direction:"row",spacing:.75,children:[e(s,{variant:"outlined",fullWidth:!0,onClick:()=>xe(!1),sx:{minHeight:28,borderRadius:1.5,fontSize:11,textTransform:"none"},children:"Cancel"}),e(s,{variant:"contained",fullWidth:!0,disabled:Z||!j||!ke||Pe,onClick:()=>{if(!ke||Pe||!j)return;const e={id:"SET_RANGE",title:$};j(-1,e,{selectedIndex:-1,option:e,startPage:Me,endPage:Ae,metadata:k})},sx:{minHeight:28,borderRadius:1.5,bgcolor:"#EA580C",fontSize:11,textTransform:"none","&:hover":{bgcolor:"#C2410C"}},children:"Confirm"})]})]})]}),e(g,{spacing:.625,sx:oe?.footer,children:Y&&i(t,{children:[e(u,{}),i(c,{onClick:V,disabled:!V,sx:{justifyContent:"space-between",borderRadius:1,textAlign:"left",cursor:V?"pointer":"not-allowed"},children:[i(g,{direction:"row",alignItems:"center",spacing:1,children:[e(E,{sx:{color:"text.secondary"}}),e(f,{sx:{color:"text.primary",fontSize:12},children:q})]}),i(g,{direction:"row",alignItems:"center",spacing:.5,children:[e(C,{score:z}),e(n,{sx:{color:"text.secondary"}})]})]})]})})]})})}export{v as BoundaryReviewActionEnum,R as createBoundaryCardOptions,M as default,w as isBoundaryReviewAction};
2
2
  //# sourceMappingURL=BoundaryCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BoundaryCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"BoundaryCard.js","sources":["../../../src/features/SegmentReviewComponents/BoundaryCard.tsx"],"sourcesContent":["import { useMemo, useState, type ReactNode } from 'react';\nimport ChevronRightIcon from '@mui/icons-material/ChevronRight';\nimport CloseIcon from '@mui/icons-material/Close';\nimport ExpandMoreIcon from '@mui/icons-material/ExpandMore';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport ButtonBase from '@mui/material/ButtonBase';\nimport Divider from '@mui/material/Divider';\nimport IconButton from '@mui/material/IconButton';\nimport Paper from '@mui/material/Paper';\nimport Radio from '@mui/material/Radio';\nimport Stack from '@mui/material/Stack';\nimport TextField from '@mui/material/TextField';\nimport Typography from '@mui/material/Typography';\nimport RevertSummaryNotice from './RevertSummaryNotice';\nimport type { SxProps, Theme } from '@mui/material/styles';\nimport CognitiveIcon from './CognitiveIcon';\nimport CognitiveScoreBadge from './CognitiveScoreBadge';\nimport InfoAlert from '../../assests/icons/InfoAlert';\nimport { SegmentReviewAction } from './reviewStepAdapters';\n\nconst mergeSx = (\n base: SxProps<Theme>,\n override?: SxProps<Theme>\n): SxProps<Theme> => [\n base,\n ...(Array.isArray(override) ? override : override == null ? [] : [override]),\n] as SxProps<Theme>;\n\nexport interface BoundaryCardOption {\n id: string;\n title: ReactNode;\n description?: ReactNode;\n disabled?: boolean;\n}\n\nconst MERGE_ADJACENT_OPTION_ID = 'MERGE_ADJACENT';\ntype AdjacentMergeDirection = 'previous' | 'next';\n\nexport enum BoundaryReviewActionEnum {\n KEEP = 'KEEP',\n SPLIT_HERE = 'SPLIT_HERE',\n MERGE_NEXT = 'MERGE_NEXT',\n MERGE_PREV = 'MERGE_PREV',\n MERGE_PREVIOUS = 'MERGE_PREVIOUS',\n SET_RANGE = 'SET_RANGE',\n}\n\nexport type BoundaryReviewAction = `${BoundaryReviewActionEnum}`;\n\nexport interface BoundaryReviewMetadata {\n focus_page?: number | null;\n boundary_margin?: number | null;\n user_actions: readonly BoundaryReviewAction[];\n}\n\nexport interface BoundaryReviewConfirmDetails {\n selectedIndex: number;\n option: BoundaryCardOption;\n metadata?: BoundaryReviewMetadata;\n startPage?: number;\n endPage?: number;\n}\n\nexport interface BoundaryCardStyles {\n root?: SxProps<Theme>;\n header?: SxProps<Theme>;\n option?: SxProps<Theme>;\n rangeInput?: SxProps<Theme>;\n confirmButton?: SxProps<Theme>;\n manualSection?: SxProps<Theme>;\n manualConfirmation?: SxProps<Theme>;\n adjacentSelector?: SxProps<Theme>;\n impactWarning?: SxProps<Theme>;\n footer?: SxProps<Theme>;\n}\n\nexport const isBoundaryReviewAction = (value: string): value is BoundaryReviewAction =>\n Object.values(BoundaryReviewActionEnum).includes(value as BoundaryReviewActionEnum);\n\nexport const createBoundaryCardOptions = (\n metadata?: BoundaryReviewMetadata,\n reviewAction?: SegmentReviewAction,\n startPage?: number | null,\n endPage?: number | null\n): BoundaryCardOption[] => {\n if (!reviewAction || !metadata) return [];\n\n const additionalDecisions = reviewAction.additional_decisions;\n const additionalActions = Array.isArray(additionalDecisions)\n ? additionalDecisions\n : additionalDecisions\n ? Object.values(additionalDecisions).flat()\n : [];\n const allActionsMerged = Array.from(new Set([\n ...reviewAction.allowed_decisions,\n ...additionalActions,\n ]));\n\n return allActionsMerged.flatMap<BoundaryCardOption>(\n (action): BoundaryCardOption[] => {\n const focusPage = metadata.focus_page;\n const firstMergeAction = allActionsMerged.find(\n (candidate) =>\n candidate.toLowerCase().includes('merge')\n );\n const isSinglePageRange =\n focusPage != null &&\n startPage != null &&\n endPage != null &&\n focusPage === startPage &&\n focusPage === endPage;\n const isAtStart = focusPage != null && startPage != null && focusPage === startPage;\n // Closing-boundary reviews may point either at the segment's final page or\n // at the first page after it, depending on the backend decision source.\n const isAtEnd =\n focusPage != null &&\n endPage != null &&\n (focusPage === endPage || focusPage === endPage + 1);\n const isAtRangeBoundary = isAtStart || isAtEnd;\n const hasCompleteRange = startPage != null && endPage != null;\n const isValidInteriorFocus = focusPage != null && (\n !hasCompleteRange || (focusPage > startPage && focusPage < endPage)\n );\n const isSplitDisabled = isAtRangeBoundary || !isValidInteriorFocus;\n\n switch (action) {\n case BoundaryReviewActionEnum.SET_RANGE:\n return [];\n case 'KEEP':\n return [{\n id: action,\n title: 'Keep as is',\n description: 'Keep the current document boundary unchanged.',\n }];\n case 'SPLIT_HERE':\n return [{\n id: action,\n title: 'Split to a separate document',\n description: isSplitDisabled\n ? 'A valid page inside the document is required to split it.'\n : focusPage\n ? `Start a new document at page ${focusPage}.`\n : 'Create a new document at this boundary.',\n disabled: isSplitDisabled,\n }];\n case 'MERGE_PREV':\n case 'MERGE_NEXT':\n case 'MERGE_PREVIOUS':\n if (action !== firstMergeAction) return [];\n\n if (isSinglePageRange) {\n return [{\n id: MERGE_ADJACENT_OPTION_ID,\n title: 'Merge with an adjacent document',\n description: 'Choose to merge with the previous or next document.',\n }];\n }\n\n if (isAtStart) {\n return [{\n id: BoundaryReviewActionEnum.MERGE_PREVIOUS,\n title: 'Merge with previous document',\n description: 'Combine this document with the previous document.',\n }];\n }\n\n if (isAtEnd) {\n return [{\n id: BoundaryReviewActionEnum.MERGE_NEXT,\n title: 'Merge with next document',\n description: 'Combine this document with the next document.',\n }];\n }\n\n return [{\n id: MERGE_ADJACENT_OPTION_ID,\n title: 'Merge with an adjacent document',\n description: 'Choose to merge with the previous or next document.',\n }];\n }\n\n return [];\n }\n);\n}\n\nexport interface BoundaryCardProps {\n headerName?: ReactNode;\n title: ReactNode;\n pageNo?: ReactNode;\n content?: ReactNode;\n /** Replaces content when the API provides an operation-level revert summary. */\n revertSummary?: ReactNode;\n cognitiveScore?: ReactNode;\n config?: readonly BoundaryCardOption[];\n metadata?: BoundaryReviewMetadata;\n reviewAction?: SegmentReviewAction;\n previousSegmentTitle?: ReactNode;\n nextSegmentTitle?: ReactNode;\n /** Total number of pages in the document for validating custom page ranges. */\n totalPages?: number;\n\n selectedIndex?: number | null;\n defaultSelectedIndex?: number | null;\n /** Initial page range shown when SET_RANGE is selected. */\n defaultStartPage?: number | null;\n defaultEndPage?: number | null;\n onSelectionChange?: (selectedIndex: number, option: BoundaryCardOption) => void;\n onConfirm?: (\n selectedIndex: number,\n option: BoundaryCardOption,\n details?: BoundaryReviewConfirmDetails\n ) => void;\n onActionConfirm?: (\n action: BoundaryReviewAction,\n details: BoundaryReviewConfirmDetails\n ) => void;\n onCognitiveClick?: () => void;\n onAdjustManually?: () => void;\n onClose?: () => void;\n confirmLabel?: ReactNode;\n manualPrompt?: ReactNode;\n manualActionLabel?: ReactNode;\n cognitiveLabel?: ReactNode;\n showAdjustManually?: boolean;\n showCognitiveIntegrity?: boolean;\n showCloseButton?: boolean;\n confirmDisabled?: boolean;\n width?: number | string;\n maxWidth?: number | string;\n className?: string;\n styles?: BoundaryCardStyles;\n}\n\nexport default function BoundaryCard({\n headerName = 'Boundary Check',\n title,\n pageNo,\n content,\n revertSummary,\n cognitiveScore,\n config,\n metadata,\n previousSegmentTitle,\n nextSegmentTitle,\n selectedIndex,\n defaultSelectedIndex = null,\n defaultStartPage,\n defaultEndPage,\n onSelectionChange,\n onConfirm,\n onActionConfirm,\n onCognitiveClick,\n onAdjustManually,\n onClose,\n confirmLabel = 'Confirm',\n manualPrompt = \"Didn't find the right option?\",\n manualActionLabel = 'Adjust Manually',\n cognitiveLabel = 'Cognitive Integrity',\n showAdjustManually = true,\n showCognitiveIntegrity = true,\n showCloseButton = true,\n confirmDisabled = false,\n width = 260,\n maxWidth = 260,\n className,\n styles,\n reviewAction,\n totalPages\n}: BoundaryCardProps) {\n console.log(\"LOG: Total pages\", totalPages);\n const resolvedConfig = useMemo(\n () => (config ?? (metadata\n ? createBoundaryCardOptions(metadata, reviewAction ,defaultStartPage, defaultEndPage)\n : []))\n .filter((option) => option.id !== BoundaryReviewActionEnum.SET_RANGE),\n [config, defaultEndPage, defaultStartPage, metadata, reviewAction]\n );\n const [internalSelectedIndex, setInternalSelectedIndex] = useState<number | null>(\n defaultSelectedIndex\n );\n const [startPageInput, setStartPageInput] = useState(\n defaultStartPage == null ? '' : String(defaultStartPage)\n );\n const [endPageInput, setEndPageInput] = useState(\n defaultEndPage == null ? '' : String(defaultEndPage)\n );\n const [isManualExpanded, setIsManualExpanded] = useState(false);\n const [isManualConfirmationOpen, setIsManualConfirmationOpen] = useState(false);\n const [adjacentMergeDirection, setAdjacentMergeDirection] =\n useState<AdjacentMergeDirection | null>(null);\n // Track if user has already attempted to apply an unchanged range\n const [hasAttemptedUnchanged, setHasAttemptedUnchanged] = useState(false);\n const resolvedSelectedIndex = selectedIndex === undefined\n ? internalSelectedIndex\n : selectedIndex;\n const selectedOption = resolvedSelectedIndex == null\n ? undefined\n : resolvedConfig[resolvedSelectedIndex];\n const isAdjacentMergeSelected = selectedOption?.id === MERGE_ADJACENT_OPTION_ID;\n const canMergePrevious = previousSegmentTitle != null;\n const canMergeNext = nextSegmentTitle != null;\n const isOptionDisabled = (option: BoundaryCardOption) =>\n option.disabled === true ||\n (option.id === BoundaryReviewActionEnum.MERGE_PREV && !canMergePrevious) ||\n (option.id === BoundaryReviewActionEnum.MERGE_PREVIOUS && !canMergePrevious) ||\n (option.id === BoundaryReviewActionEnum.MERGE_NEXT && !canMergeNext) ||\n (option.id === MERGE_ADJACENT_OPTION_ID && !canMergePrevious && !canMergeNext);\n const parsedStartPage = Number(startPageInput);\n const parsedEndPage = Number(endPageInput);\n \n // Validation state for comprehensive error tracking\n const hasValidPageInputs =\n startPageInput.trim().length > 0 &&\n endPageInput.trim().length > 0 &&\n Number.isInteger(parsedStartPage) &&\n Number.isInteger(parsedEndPage) &&\n parsedStartPage > 0 &&\n parsedEndPage > 0;\n \n const isStartPageOutOfRange = totalPages != null && parsedStartPage > totalPages;\n const isEndPageOutOfRange = totalPages != null && parsedEndPage > totalPages;\n \n // Check if start page is greater than end page\n // Check if start page is greater than end page\n const isStartGreaterThanEnd =\n startPageInput.trim().length > 0 &&\n endPageInput.trim().length > 0 &&\n Number.isInteger(parsedStartPage) &&\n Number.isInteger(parsedEndPage) &&\n parsedStartPage > parsedEndPage;\n \n // Consolidated validation: range is valid only if all conditions pass\n const isRangeValid =\n hasValidPageInputs &&\n parsedStartPage <= parsedEndPage &&\n !isStartPageOutOfRange &&\n !isEndPageOutOfRange;\n \n // Check if the entered range is identical to the existing boundary\n const isRangeUnchanged =\n isRangeValid &&\n parsedStartPage === defaultStartPage &&\n parsedEndPage === defaultEndPage;\n const isConfirmDisabled =\n confirmDisabled ||\n !selectedOption ||\n isOptionDisabled(selectedOption) ||\n (isAdjacentMergeSelected && adjacentMergeDirection == null) ||\n (!onConfirm && !onActionConfirm);\n\n const handleSelect = (index: number, option: BoundaryCardOption) => {\n if (confirmDisabled || isOptionDisabled(option)) return;\n if (selectedIndex === undefined) setInternalSelectedIndex(index);\n if (option.id !== MERGE_ADJACENT_OPTION_ID) setAdjacentMergeDirection(null);\n if (isManualExpanded) {\n setIsManualExpanded(false);\n setIsManualConfirmationOpen(false);\n }\n onSelectionChange?.(index, option);\n };\n\n const handleConfirm = () => {\n if (isConfirmDisabled || resolvedSelectedIndex == null || !selectedOption) return;\n const resolvedAction = isAdjacentMergeSelected\n ? adjacentMergeDirection === 'previous'\n ? BoundaryReviewActionEnum.MERGE_PREVIOUS\n : BoundaryReviewActionEnum.MERGE_NEXT\n : selectedOption.id;\n const confirmedOption = isAdjacentMergeSelected\n ? { ...selectedOption, id: resolvedAction }\n : selectedOption;\n const details: BoundaryReviewConfirmDetails = {\n selectedIndex: resolvedSelectedIndex,\n option: confirmedOption,\n metadata,\n };\n onConfirm?.(resolvedSelectedIndex, confirmedOption, details);\n if (onActionConfirm && isBoundaryReviewAction(resolvedAction)) {\n onActionConfirm(resolvedAction, details);\n }\n };\n\n const handleManualApply = () => {\n if (!isRangeValid) return;\n // Track that user attempted to apply an unchanged range\n if (isRangeUnchanged) {\n setHasAttemptedUnchanged(true);\n return;\n }\n setIsManualConfirmationOpen(true);\n };\n\n const handleManualRangeConfirm = () => {\n if (!isRangeValid || isRangeUnchanged || !onConfirm) return;\n\n const option: BoundaryCardOption = {\n id: BoundaryReviewActionEnum.SET_RANGE,\n title: manualActionLabel,\n };\n const details: BoundaryReviewConfirmDetails = {\n selectedIndex: -1,\n option,\n startPage: parsedStartPage,\n endPage: parsedEndPage,\n metadata,\n };\n onConfirm(-1, option, details);\n };\n\n return (\n <Paper\n className={className}\n elevation={4}\n sx={mergeSx(\n {\n width,\n maxWidth,\n borderTop: '4px solid',\n borderColor: 'error.main',\n borderRadius: 2,\n bgcolor: 'background.paper',\n overflow: 'hidden',\n boxSizing: 'border-box',\n '@media (max-width: 372px)': { width: 'calc(100vw - 32px)' },\n },\n styles?.root\n )}\n >\n <Stack spacing={0.75} sx={{ p: 1 }}>\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.75} sx={styles?.header}>\n <InfoAlert color=\"error\" height={16} width={16} />\n <Typography\n sx={{\n flex: 1,\n color: 'error.main',\n fontSize: 12,\n fontWeight: 500,\n lineHeight: 1.25,\n textTransform: 'uppercase',\n }}\n >\n {headerName}\n </Typography>\n {showCloseButton && (\n <IconButton\n size=\"small\"\n onClick={onClose}\n disabled={!onClose}\n aria-label=\"Close boundary check\"\n sx={{ p: 0, '&.Mui-disabled': { color: 'text.secondary' } }}\n >\n <CloseIcon sx={{ fontSize: 17 }} />\n </IconButton>\n )}\n </Stack>\n\n <Box>\n <Typography sx={{ color: 'text.primary', fontSize: 14, fontWeight: 500 }}>\n {title}\n </Typography>\n {pageNo != null && (\n <Typography sx={{ mt: 0.125, color: 'text.secondary', fontSize: 12 }}>\n {pageNo}\n </Typography>\n )}\n <Divider sx={{ my: 0.625 }} />\n {revertSummary != null ? (\n <RevertSummaryNotice>{revertSummary}</RevertSummaryNotice>\n ) : content != null && (\n <Typography\n component=\"div\"\n sx={{ color: 'text.secondary', fontSize: 11.5, lineHeight: 1.3 }}\n >\n {content}\n </Typography>\n )}\n </Box>\n\n <Stack spacing={0.625} role=\"radiogroup\" aria-label=\"Boundary options\">\n {resolvedConfig.map((item, index) => {\n const isSelected = resolvedSelectedIndex === index;\n const isDisabled = isOptionDisabled(item);\n\n return (\n <Paper\n key={item.id}\n variant=\"outlined\"\n sx={mergeSx(\n {\n borderColor: isSelected ? '#1976d2' : 'divider',\n borderRadius: 2,\n bgcolor: isDisabled ? '#F8FAFC' : 'background.paper',\n overflow: 'hidden',\n },\n styles?.option\n )}\n >\n <ButtonBase\n role=\"radio\"\n aria-checked={isSelected}\n disabled={confirmDisabled || isDisabled}\n onClick={() => handleSelect(index, item)}\n sx={{\n width: '100%',\n justifyContent: 'flex-start',\n px: 0.75,\n py: 0.5,\n textAlign: 'left',\n }}\n >\n <Radio\n checked={isSelected}\n disabled={confirmDisabled || isDisabled}\n tabIndex={-1}\n size=\"small\"\n sx={{\n p: 0.25,\n mr: 0.5,\n '&.Mui-disabled': { color: '#CBD5E1' },\n }}\n />\n <Box sx={{ minWidth: 0 }}>\n <Typography\n sx={{\n color: isDisabled ? '#94A3B8' : 'text.primary',\n fontSize: 12.5,\n fontWeight: 500,\n }}\n >\n {item.title}\n </Typography>\n {item.description != null && (\n <Typography\n sx={{\n mt: 0.125,\n color: isDisabled ? '#94A3B8' : 'text.secondary',\n fontSize: 11,\n }}\n >\n {item.description}\n </Typography>\n )}\n </Box>\n </ButtonBase>\n\n {isSelected && item.id === MERGE_ADJACENT_OPTION_ID && (\n <Stack\n direction=\"row\"\n spacing={0.75}\n sx={mergeSx({ px: 0.75, pb: 0.75 }, styles?.adjacentSelector)}\n >\n {([\n {\n direction: 'previous' as const,\n title: previousSegmentTitle ?? 'No Previous document',\n caption: '← Merge into Previous',\n available: canMergePrevious,\n },\n {\n direction: 'next' as const,\n title: nextSegmentTitle ?? 'No Next document',\n caption: 'Merge into Next →',\n available: canMergeNext,\n },\n ]).map((adjacentOption) => {\n const isAdjacentSelected =\n adjacentMergeDirection === adjacentOption.direction;\n\n return (\n <Stack key={adjacentOption.direction} sx={{ flex: 1, minWidth: 0 }}>\n <ButtonBase\n disabled={confirmDisabled || !adjacentOption.available}\n onClick={() => setAdjacentMergeDirection(adjacentOption.direction)}\n aria-pressed={isAdjacentSelected}\n sx={{\n width: '100%',\n minWidth: 0,\n minHeight: 46,\n alignItems: 'flex-start',\n justifyContent: 'flex-start',\n p: 0.625,\n border: '1px solid',\n borderColor: isAdjacentSelected ? '#7F56D9' : '#D0D5DD',\n borderRadius: 1.5,\n bgcolor: isAdjacentSelected ? '#E0E7FF' : 'background.paper',\n color: isAdjacentSelected ? '#7F56D9' : (adjacentOption.available ? 'text.primary' : '#98A2B3'),\n textAlign: 'left',\n '&.Mui-disabled': {\n color: '#98A2B3',\n bgcolor: '#F8FAFC',\n },\n }}\n >\n <Typography\n sx={{\n color: 'inherit',\n fontSize: 11,\n fontWeight: 500,\n lineHeight: 1.25,\n overflowWrap: 'anywhere',\n }}\n >\n {adjacentOption.title}\n </Typography>\n </ButtonBase>\n <Typography\n sx={{\n mt: 0.5,\n color: isAdjacentSelected ? '#5925DC' : 'text.secondary',\n fontSize: 9.5,\n lineHeight: 1.2,\n whiteSpace: 'nowrap',\n textAlign: adjacentOption.direction === 'next' ? 'right' : 'left',\n }}\n >\n {adjacentOption.caption}\n </Typography>\n </Stack>\n );\n })}\n </Stack>\n )}\n </Paper>\n );\n })}\n\n {isAdjacentMergeSelected && adjacentMergeDirection != null && (\n <Stack\n direction=\"row\"\n alignItems=\"flex-start\"\n spacing={0.625}\n sx={mergeSx(\n {\n p: 0.75,\n border: '1px solid #FCA5A5',\n borderRadius: 1.5,\n bgcolor: '#FEF2F2',\n },\n styles?.impactWarning\n )}\n >\n <InfoAlert color=\"error\" height={14} width={14} sx={{ mt: 0.125 }} />\n <Typography sx={{ color: '#DC2626', fontSize: 10.5, lineHeight: 1.4 }}>\n This will impact the {adjacentMergeDirection} document. Its content and page\n range will change.\n </Typography>\n </Stack>\n )}\n\n <Button\n variant=\"contained\"\n fullWidth\n disabled={isConfirmDisabled}\n onClick={handleConfirm}\n sx={mergeSx(\n {\n minHeight: 32,\n mt: 0.25,\n borderRadius: 2,\n fontSize: 13,\n fontWeight: 600,\n textTransform: 'none',\n backgroundColor: '#5925DC',\n '&:hover': { backgroundColor: '#4A1FB8' },\n '&.Mui-disabled': {\n backgroundColor: '#D9D6FE',\n color: '#FFFFFF',\n },\n },\n styles?.confirmButton\n )}\n >\n {confirmLabel}\n </Button>\n </Stack>\n\n {showAdjustManually && (\n <Stack spacing={0.625} sx={styles?.manualSection}>\n <ButtonBase\n disabled={confirmDisabled}\n onClick={() => {\n const nextIsExpanded = !isManualExpanded;\n setIsManualExpanded(nextIsExpanded);\n setIsManualConfirmationOpen(false);\n if (nextIsExpanded) {\n if (selectedIndex === undefined) setInternalSelectedIndex(null);\n onAdjustManually?.();\n }\n }}\n aria-expanded={isManualExpanded}\n sx={{\n width: '100%',\n justifyContent: 'space-between',\n borderRadius: 1,\n textAlign: 'left',\n }}\n >\n <Box>\n <Typography sx={{ color: 'text.primary', fontSize: 12, fontWeight:600 }}>\n {manualPrompt}\n </Typography>\n </Box>\n <ExpandMoreIcon\n sx={{\n color: 'text.secondary',\n fontSize: 16,\n transform: isManualExpanded ? 'rotate(180deg)' : 'none',\n transition: 'transform 150ms ease',\n }}\n />\n </ButtonBase>\n\n {isManualExpanded && !isManualConfirmationOpen && (\n <Box\n sx={{\n pt: 0.5,\n fontFamily:\n 'Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Arial, sans-serif',\n }}\n >\n {/* Labels Row */}\n <Box\n sx={{\n display: 'grid',\n gridTemplateColumns: '1fr 1fr',\n columnGap: '8px',\n mb: '4px',\n }}\n >\n <Typography\n sx={{\n fontSize: '10.5px',\n fontWeight: 400,\n lineHeight: '14px',\n color: '#57697E',\n margin: 0,\n }}\n >\n Starts\n </Typography>\n <Typography\n sx={{\n fontSize: '10.5px',\n fontWeight: 400,\n lineHeight: '14px',\n color: '#57697E',\n margin: 0,\n }}\n >\n Ends\n </Typography>\n </Box>\n\n {/* Input Fields Grid */}\n <Box\n sx={{\n display: 'grid',\n gridTemplateColumns: '1fr 1fr',\n columnGap: '8px',\n mb: '4px',\n }}\n >\n <Box>\n <TextField\n size=\"small\"\n type=\"text\"\n value={startPageInput}\n disabled={confirmDisabled}\n error={isStartPageOutOfRange || isStartGreaterThanEnd}\n onChange={(event) => {\n const value = event.target.value;\n if (/^\\d*$/.test(value)) {\n setStartPageInput(value);\n }\n }}\n inputProps={{\n inputMode: 'numeric',\n pattern: '[0-9]*',\n }}\n sx={{\n '& .MuiOutlinedInput-root': {\n height: '30px',\n backgroundColor: '#FFFFFF',\n\n '& fieldset': {\n borderColor: isStartPageOutOfRange || isStartGreaterThanEnd ? '#EF4444' : '#C3CFDC',\n borderWidth: '1px',\n borderRadius: '6px',\n },\n\n '&:hover fieldset': {\n borderColor: isStartPageOutOfRange || isStartGreaterThanEnd ? '#EF4444' : '#C3CFDC',\n },\n\n '&.Mui-focused fieldset': {\n borderColor: isStartPageOutOfRange || isStartGreaterThanEnd ? '#EF4444' : '#9488F6',\n borderWidth: '1px',\n },\n },\n\n '& .MuiOutlinedInput-input': {\n fontSize: '12px',\n fontWeight: 400,\n lineHeight: '1',\n color: '#34445A',\n padding: '0 10px',\n height: '30px',\n },\n }}\n />\n {isStartPageOutOfRange && (\n <Typography\n sx={{\n fontSize: '10px',\n color: '#EF4444',\n marginTop: '2px',\n fontWeight: 500,\n }}\n >\n Must be ≤ {totalPages} (total pages)\n </Typography>\n )}\n {isStartGreaterThanEnd && !isStartPageOutOfRange && (\n <Typography\n sx={{\n fontSize: '10px',\n color: '#EF4444',\n marginTop: '2px',\n fontWeight: 500,\n }}\n >\n Must be ≤ end page\n </Typography>\n )}\n </Box>\n <Box>\n <TextField\n size=\"small\"\n type=\"text\"\n value={endPageInput}\n disabled={confirmDisabled}\n error={isEndPageOutOfRange || isStartGreaterThanEnd}\n onChange={(event) => {\n const value = event.target.value;\n\n // Allow only positive integer characters\n if (/^\\d*$/.test(value)) {\n setEndPageInput(value);\n }\n }}\n inputProps={{\n inputMode: 'numeric',\n pattern: '[0-9]*',\n }}\n sx={{\n '& .MuiOutlinedInput-root': {\n height: '30px',\n backgroundColor: '#FFFFFF',\n\n '& fieldset': {\n borderColor: isEndPageOutOfRange || isStartGreaterThanEnd ? '#EF4444' : '#C3CFDC',\n borderWidth: '1px',\n borderRadius: '6px',\n },\n\n '&:hover fieldset': {\n borderColor: isEndPageOutOfRange || isStartGreaterThanEnd ? '#EF4444' : '#C3CFDC',\n },\n\n '&.Mui-focused fieldset': {\n borderColor: isEndPageOutOfRange || isStartGreaterThanEnd ? '#EF4444' : '#9488F6',\n borderWidth: '1px',\n },\n },\n\n '& .MuiOutlinedInput-input': {\n fontSize: '12px',\n fontWeight: 400,\n lineHeight: '1',\n color: '#34445A',\n padding: '0 10px',\n height: '30px',\n },\n }}\n />\n {isEndPageOutOfRange && (\n <Typography\n sx={{\n fontSize: '10px',\n color: '#EF4444',\n marginTop: '2px',\n fontWeight: 500,\n }}\n >\n Must be ≤ {totalPages} (total pages)\n </Typography>\n )}\n {isStartGreaterThanEnd && !isEndPageOutOfRange && (\n <Typography\n sx={{\n fontSize: '10px',\n color: '#EF4444',\n marginTop: '2px',\n fontWeight: 500,\n }}\n >\n Must be ≥ start page\n </Typography>\n )}\n </Box>\n </Box>\n\n {/* Apply Button */}\n <Box>\n <Button\n onClick={handleManualApply}\n disabled={confirmDisabled || !isRangeValid || isRangeUnchanged}\n sx={{\n height: '30px',\n padding: '0 12px',\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n boxSizing: 'border-box',\n backgroundColor: '#FFFFFF',\n border: '1px solid #8E80F3',\n borderRadius: '6px',\n fontFamily:\n 'Inter, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Arial, sans-serif',\n fontSize: '12px',\n fontWeight: 600,\n lineHeight: '1',\n color: '#4A24CF',\n outline: 'none',\n cursor: 'pointer',\n textTransform: 'none',\n transition: 'all 150ms ease-in-out',\n '&:hover': !isRangeValid || isRangeUnchanged ? {} : {\n backgroundColor: '#FAF9FF',\n borderColor: '#7F6FF0',\n },\n '&:active': !isRangeValid || isRangeUnchanged ? {} : {\n transform: 'translateY(1px)',\n },\n '&.Mui-disabled': {\n backgroundColor: '#FFFFFF',\n borderColor: '#C3CFDC',\n color: '#A0ABBE',\n cursor: 'not-allowed',\n },\n }}\n >\n Apply\n </Button>\n </Box>\n\n {/* Unchanged Range Warning */}\n {isRangeUnchanged && hasAttemptedUnchanged && (\n <Box\n sx={{\n backgroundColor: '#FEF3C7',\n border: '1px solid #FBBF24',\n borderRadius: '6px',\n padding: '8px 10px',\n marginTop: '4px',\n }}\n >\n <Typography\n sx={{\n fontSize: '10px',\n color: '#B45309',\n fontWeight: 500,\n lineHeight: 1.4,\n }}\n >\n Please change the boundary to change the document boundary as no changes will be applied.\n </Typography>\n </Box>\n )}\n\n {/* Divider */}\n <Box\n sx={{\n width: '100%',\n height: '1px',\n marginTop: '8px',\n backgroundColor: '#EEF0F2',\n border: '0',\n }}\n />\n </Box>\n )}\n\n {isManualExpanded && isManualConfirmationOpen && (\n <Stack\n spacing={0.75}\n sx={mergeSx(\n {\n p: 0.75,\n borderRadius: 1.5,\n bgcolor: '#FFF7ED',\n },\n styles?.manualConfirmation\n )}\n >\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.5}>\n <InfoAlert color=\"warning\" height={14} width={14} />\n <Typography sx={{ color: '#EA580C', fontSize: 11, fontWeight: 600 }}>\n Confirm this change?\n </Typography>\n </Stack>\n <Typography sx={{ color: 'text.secondary', fontSize: 10.5, lineHeight: 1.4 }}>\n Pages {parsedStartPage}-{parsedEndPage} will become part of {title}, including\n pages from other documents in this range.\n </Typography>\n <Stack direction=\"row\" spacing={0.75}>\n <Button\n variant=\"outlined\"\n fullWidth\n onClick={() => setIsManualConfirmationOpen(false)}\n sx={{\n minHeight: 28,\n borderRadius: 1.5,\n fontSize: 11,\n textTransform: 'none',\n }}\n >\n Cancel\n </Button>\n <Button\n variant=\"contained\"\n fullWidth\n disabled={\n confirmDisabled || !onConfirm || !isRangeValid || isRangeUnchanged\n }\n onClick={handleManualRangeConfirm}\n sx={{\n minHeight: 28,\n borderRadius: 1.5,\n bgcolor: '#EA580C',\n fontSize: 11,\n textTransform: 'none',\n '&:hover': { bgcolor: '#C2410C' },\n }}\n >\n Confirm\n </Button>\n </Stack>\n </Stack>\n )}\n </Stack>\n )}\n\n <Stack spacing={0.625} sx={styles?.footer}>\n\n {showCognitiveIntegrity && (\n <>\n <Divider />\n <ButtonBase\n onClick={onCognitiveClick}\n disabled={!onCognitiveClick}\n sx={{\n justifyContent: 'space-between',\n borderRadius: 1,\n textAlign: 'left',\n cursor: onCognitiveClick ? 'pointer' : 'not-allowed',\n }}\n >\n <Stack direction=\"row\" alignItems=\"center\" spacing={1}>\n <CognitiveIcon sx={{ color: 'text.secondary' }} />\n <Typography sx={{ color: 'text.primary', fontSize: 12 }}>\n {cognitiveLabel}\n </Typography>\n </Stack>\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.5}>\n <CognitiveScoreBadge score={cognitiveScore} />\n <ChevronRightIcon sx={{ color: 'text.secondary' }} />\n </Stack>\n </ButtonBase>\n </>\n )}\n </Stack>\n </Stack>\n </Paper>\n );\n}\n"],"names":["mergeSx","base","override","Array","isArray","MERGE_ADJACENT_OPTION_ID","BoundaryReviewActionEnum","isBoundaryReviewAction","value","Object","values","includes","createBoundaryCardOptions","metadata","reviewAction","startPage","endPage","additionalDecisions","additional_decisions","additionalActions","flat","allActionsMerged","from","Set","allowed_decisions","flatMap","action","focusPage","focus_page","firstMergeAction","find","candidate","toLowerCase","isSinglePageRange","isAtStart","isAtEnd","isSplitDisabled","id","title","description","disabled","BoundaryCard","headerName","pageNo","content","revertSummary","cognitiveScore","config","previousSegmentTitle","nextSegmentTitle","selectedIndex","defaultSelectedIndex","defaultStartPage","defaultEndPage","onSelectionChange","onConfirm","onActionConfirm","onCognitiveClick","onAdjustManually","onClose","confirmLabel","manualPrompt","manualActionLabel","cognitiveLabel","showAdjustManually","showCognitiveIntegrity","showCloseButton","confirmDisabled","width","maxWidth","className","styles","totalPages","console","log","resolvedConfig","useMemo","filter","option","internalSelectedIndex","setInternalSelectedIndex","useState","startPageInput","setStartPageInput","String","endPageInput","setEndPageInput","isManualExpanded","setIsManualExpanded","isManualConfirmationOpen","setIsManualConfirmationOpen","adjacentMergeDirection","setAdjacentMergeDirection","hasAttemptedUnchanged","setHasAttemptedUnchanged","resolvedSelectedIndex","selectedOption","isAdjacentMergeSelected","canMergePrevious","canMergeNext","isOptionDisabled","parsedStartPage","Number","parsedEndPage","hasValidPageInputs","trim","length","isInteger","isStartPageOutOfRange","isEndPageOutOfRange","isStartGreaterThanEnd","isRangeValid","isRangeUnchanged","isConfirmDisabled","jsx","Paper","elevation","sx","borderTop","borderColor","borderRadius","bgcolor","overflow","boxSizing","root","children","jsxs","Stack","spacing","p","direction","alignItems","header","InfoAlert","color","height","Typography","flex","fontSize","fontWeight","lineHeight","textTransform","IconButton","size","onClick","CloseIcon","Box","mt","Divider","my","RevertSummaryNotice","component","role","map","item","index","isSelected","isDisabled","variant","ButtonBase","handleSelect","justifyContent","px","py","textAlign","Radio","checked","tabIndex","mr","minWidth","pb","adjacentSelector","caption","available","adjacentOption","isAdjacentSelected","minHeight","border","overflowWrap","whiteSpace","impactWarning","Button","fullWidth","resolvedAction","confirmedOption","details","backgroundColor","confirmButton","manualSection","nextIsExpanded","ExpandMoreIcon","transform","transition","pt","fontFamily","display","gridTemplateColumns","columnGap","mb","margin","TextField","type","error","onChange","event","target","test","inputProps","inputMode","pattern","borderWidth","padding","marginTop","outline","cursor","manualConfirmation","footer","Fragment","CognitiveIcon","CognitiveScoreBadge","score","ChevronRightIcon"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as n}from"react/jsx-runtime";import{useState as t,useRef as i,useLayoutEffect as o}from"react";import l from"@mui/material/Box";import r from"@mui/material/Popper";function a(a){var d,u,c=a.anchorRef,s=a.anchorElement,m=a.children,f=a.className,v=a.offset,h=void 0===v?{}:v,p=a.placement,x=void 0===p?"bottom-start":p,w=a.width,b=a.maxWidth;a.customStyles;var g=a.fallbackMaxHeightVh,z=void 0===g?85:g,y=a.heightBuffer,E=void 0===y?100:y,R=t(null),W=R[0],A=R[1],H=t(!0),O=H[0],S=H[1],B=t(null),F=B[0],L=B[1],M=t(null),C=M[0],I=M[1],N=i(null);return o(function(){var e,n=null!==(e=null!=s?s:null==c?void 0:c.current)&&void 0!==e?e:null;A(function(e){return e===n?e:n})},[s,c]),o(function(){if(W){var e=null,n=function(){var n,t,i=W.getBoundingClientRect(),o=null!==(t=null===(n=window.visualViewport)||void 0===n?void 0:n.height)&&void 0!==t?t:window.innerHeight;S(W.isConnected&&"hidden"!==W.style.visibility),L(Math.max(0,window.innerWidth-i.left-8)),I(Math.max(0,o-i.top-2*i.height)),null!=e&&cancelAnimationFrame(e),e=requestAnimationFrame(function(){var n;e=null,null===(n=N.current)||void 0===n||n.update()})},t=new MutationObserver(n);t.observe(W,{attributes:!0,attributeFilter:["style","class"]});var i="undefined"==typeof ResizeObserver?null:new ResizeObserver(n);return null==i||i.observe(W),window.addEventListener("resize",n),window.addEventListener("scroll",n,!0),n(),function(){t.disconnect(),null==i||i.disconnect(),window.removeEventListener("resize",n),window.removeEventListener("scroll",n,!0),null!=e&&cancelAnimationFrame(e)}}S(!1)},[W]),n(r,e({open:Boolean(W)&&O,anchorEl:W,popperRef:N,placement:x,className:f,popperOptions:{strategy:"fixed"},modifiers:[{name:"offset",options:{offset:[null!==(d=h.left)&&void 0!==d?d:0,null!==(u=h.top)&&void 0!==u?u:0]}},{name:"flip",enabled:!1},{name:"preventOverflow",options:{mainAxis:!1,altAxis:!0,tether:!1}}],sx:{zIndex:function(e){return e.zIndex.tooltip},width:w,maxWidth:null==F?b:"min(".concat("number"==typeof b?"".concat(b,"px"):null!=b?b:"100vw",", ").concat(F,"px)"),minWidth:0,height:"fit-content",maxHeight:null==C?"calc(".concat(z,"vh - 10px)"):"".concat(C-E,"px"),alignSelf:"flex-start",flex:"0 0 auto",overflowX:"hidden",overflowY:"auto",borderRadius:2,boxShadow:function(e){return e.shadows[4]},boxSizing:"border-box"}},{children:n(l,e({sx:{width:"100%",maxWidth:"100%",minWidth:0,height:"fit-content",minHeight:0,maxHeight:null==C?"calc(".concat(z,"vh - 10px)"):"".concat(C-E,"px"),overflowX:"hidden",overflowY:"auto",pointerEvents:"auto",boxSizing:"border-box"}},{children:m}))}))}export{a as default};
1
+ import{jsx as e}from"react/jsx-runtime";import{useState as t,useRef as n,useLayoutEffect as i}from"react";import o from"@mui/material/Box";import r from"@mui/material/Popper";function l({anchorRef:l,anchorElement:a,children:s,className:d,offset:m={},placement:c="bottom-start",width:h,maxWidth:u,customStyles:f={},fallbackMaxHeightVh:p=85,heightBuffer:x=100}){const[w,v]=t(null),[b,g]=t(!0),[z,y]=t(null),[E,R]=t(null),W=n(null);return i(()=>{const e=a??l?.current??null;v(t=>t===e?t:e)},[a,l]),i(()=>{if(!w)return void g(!1);let e=null;const t=()=>{const t=w.getBoundingClientRect(),n=window.visualViewport?.height??window.innerHeight;g(w.isConnected&&"hidden"!==w.style.visibility),y(Math.max(0,window.innerWidth-t.left-8)),R(Math.max(0,n-t.top-2*t.height)),null!=e&&cancelAnimationFrame(e),e=requestAnimationFrame(()=>{e=null,W.current?.update()})},n=new MutationObserver(t);n.observe(w,{attributes:!0,attributeFilter:["style","class"]});const i="undefined"==typeof ResizeObserver?null:new ResizeObserver(t);return i?.observe(w),window.addEventListener("resize",t),window.addEventListener("scroll",t,!0),t(),()=>{n.disconnect(),i?.disconnect(),window.removeEventListener("resize",t),window.removeEventListener("scroll",t,!0),null!=e&&cancelAnimationFrame(e)}},[w]),e(r,{open:Boolean(w)&&b,anchorEl:w,popperRef:W,placement:c,className:d,popperOptions:{strategy:"fixed"},modifiers:[{name:"offset",options:{offset:[m.left??0,m.top??0]}},{name:"flip",enabled:!1},{name:"preventOverflow",options:{mainAxis:!1,altAxis:!0,tether:!1}}],sx:{zIndex:e=>e.zIndex.tooltip,width:h,maxWidth:null==z?u:`min(${"number"==typeof u?`${u}px`:u??"100vw"}, ${z}px)`,minWidth:0,height:"fit-content",maxHeight:null==E?`calc(${p}vh - 10px)`:E-x+"px",alignSelf:"flex-start",flex:"0 0 auto",overflowX:"hidden",overflowY:"auto",borderRadius:2,boxShadow:e=>e.shadows[4],boxSizing:"border-box"},children:e(o,{sx:{width:"100%",maxWidth:"100%",minWidth:0,height:"fit-content",minHeight:0,maxHeight:null==E?`calc(${p}vh - 10px)`:E-x+"px",overflowX:"hidden",overflowY:"auto",pointerEvents:"auto",boxSizing:"border-box"},children:s})})}export{l as default};
2
2
  //# sourceMappingURL=CardWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardWrapper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CardWrapper.js","sources":["../../../src/features/SegmentReviewComponents/CardWrapper.tsx"],"sourcesContent":["import React, {\n useLayoutEffect,\n useRef,\n useState,\n type ReactNode,\n type RefObject,\n} from 'react';\nimport Box from '@mui/material/Box';\nimport Popper from '@mui/material/Popper';\nimport type { PopperProps } from '@mui/material/Popper';\nimport type { Instance } from '@popperjs/core';\n\nexport interface CardWrapperProps {\n /** Reference to the element the card is attached to. */\n anchorRef?: RefObject<HTMLElement>;\n /** Anchor element itself (alternative to anchorRef). */\n anchorElement?: HTMLElement | null;\n children?: ReactNode;\n className?: string;\n /** Pixel offset from the anchor's bottom-left corner. */\n offset?: { top?: number; left?: number };\n placement?: PopperProps['placement'];\n width?: number | string;\n maxWidth?: number | string;\n customStyles ?: Record<string, React.CSSProperties>;\n /** Fallback max-height as percentage of viewport when availableHeight is not calculated. Default: '85vh' */\n fallbackMaxHeightVh?: number;\n /** Height buffer to subtract from availableHeight calculation. Default: 100px */\n heightBuffer?: number;\n}\n\n/** Renders a scrollable card in a portal, anchored below another element. */\nexport default function CardWrapper({\n anchorRef,\n anchorElement,\n children,\n className,\n offset = {},\n placement = 'bottom-start',\n width,\n maxWidth,\n customStyles = {},\n fallbackMaxHeightVh = 85,\n heightBuffer = 100,\n}: CardWrapperProps) {\n const [anchor, setAnchor] = useState<HTMLElement | null>(null);\n const [isAnchorVisible, setIsAnchorVisible] = useState(true);\n const [availableWidth, setAvailableWidth] = useState<number | null>(null);\n const [availableHeight, setAvailableHeight] = useState<number | null>(null);\n const popperRef = useRef<Instance | null>(null);\n\n useLayoutEffect(() => {\n const nextAnchor = anchorElement ?? anchorRef?.current ?? null;\n setAnchor((currentAnchor) =>\n currentAnchor === nextAnchor ? currentAnchor : nextAnchor\n );\n }, [anchorElement, anchorRef]);\n\n useLayoutEffect(() => {\n if (!anchor) {\n setIsAnchorVisible(false);\n return;\n }\n\n let frameId: number | null = null;\n const updatePosition = () => {\n const anchorRect = anchor.getBoundingClientRect();\n const viewportHeight = window.visualViewport?.height ?? window.innerHeight;\n setIsAnchorVisible(\n anchor.isConnected && anchor.style.visibility !== 'hidden'\n );\n setAvailableWidth(Math.max(0, window.innerWidth - anchorRect.left - 8));\n setAvailableHeight(Math.max(\n 0,\n viewportHeight - anchorRect.top - anchorRect.height * 2\n ));\n\n if (frameId != null) cancelAnimationFrame(frameId);\n frameId = requestAnimationFrame(() => {\n frameId = null;\n void popperRef.current?.update();\n });\n };\n\n const observer = new MutationObserver(updatePosition);\n observer.observe(anchor, {\n attributes: true,\n attributeFilter: ['style', 'class'],\n });\n const resizeObserver = typeof ResizeObserver === 'undefined'\n ? null\n : new ResizeObserver(updatePosition);\n resizeObserver?.observe(anchor);\n window.addEventListener('resize', updatePosition);\n window.addEventListener('scroll', updatePosition, true);\n updatePosition();\n\n return () => {\n observer.disconnect();\n resizeObserver?.disconnect();\n window.removeEventListener('resize', updatePosition);\n window.removeEventListener('scroll', updatePosition, true);\n if (frameId != null) cancelAnimationFrame(frameId);\n };\n }, [anchor]);\n\n return (\n <Popper\n open={Boolean(anchor) && isAnchorVisible}\n anchorEl={anchor}\n popperRef={popperRef}\n placement={placement}\n className={className}\n popperOptions={{ strategy: 'fixed' }}\n modifiers={[\n {\n name: 'offset',\n options: {\n offset: [offset.left ?? 0, offset.top ?? 0],\n },\n },\n {\n // The popup must always keep the requested bottom-start placement.\n name: 'flip',\n enabled: false,\n },\n {\n name: 'preventOverflow',\n options: {\n // For top/bottom placements, mainAxis is horizontal. Disabling it\n // prevents Popper from shifting the card toward bottom-end.\n mainAxis: false,\n altAxis: true,\n tether: false,\n },\n },\n ]}\n sx={{\n zIndex: (theme) => theme.zIndex.tooltip,\n width,\n maxWidth: availableWidth == null\n ? maxWidth\n : `min(${typeof maxWidth === 'number' ? `${maxWidth}px` : maxWidth ?? '100vw'}, ${availableWidth}px)`,\n minWidth: 0,\n height: 'fit-content',\n maxHeight: availableHeight == null\n ? `calc(${fallbackMaxHeightVh}vh - 10px)`\n : `${availableHeight - heightBuffer}px`,\n alignSelf: 'flex-start',\n flex: '0 0 auto',\n overflowX: 'hidden',\n overflowY: 'auto',\n borderRadius: 2,\n boxShadow: (theme) => theme.shadows[4],\n boxSizing: 'border-box',\n }}\n >\n <Box\n sx={{\n width: '100%',\n maxWidth: '100%',\n minWidth: 0,\n height: 'fit-content',\n minHeight: 0,\n maxHeight: availableHeight == null\n ? `calc(${fallbackMaxHeightVh}vh - 10px)`\n : `${availableHeight - heightBuffer}px`,\n overflowX: 'hidden',\n overflowY: 'auto',\n pointerEvents: 'auto',\n boxSizing: 'border-box',\n }}\n >\n {children}\n </Box>\n </Popper>\n );\n}\n"],"names":["CardWrapper","anchorRef","anchorElement","children","className","offset","placement","width","maxWidth","customStyles","fallbackMaxHeightVh","heightBuffer","anchor","setAnchor","useState","isAnchorVisible","setIsAnchorVisible","availableWidth","setAvailableWidth","availableHeight","setAvailableHeight","popperRef","useRef","useLayoutEffect","nextAnchor","current","currentAnchor","frameId","updatePosition","anchorRect","getBoundingClientRect","viewportHeight","window","visualViewport","height","innerHeight","isConnected","style","visibility","Math","max","innerWidth","left","top","cancelAnimationFrame","requestAnimationFrame","update","observer","MutationObserver","observe","attributes","attributeFilter","resizeObserver","ResizeObserver","addEventListener","disconnect","removeEventListener","jsx","Popper","open","Boolean","anchorEl","popperOptions","strategy","modifiers","name","options","enabled","mainAxis","altAxis","tether","sx","zIndex","theme","tooltip","minWidth","maxHeight","alignSelf","flex","overflowX","overflowY","borderRadius","boxShadow","shadows","boxSizing","Box","minHeight","pointerEvents"],"mappings":"+KAgCA,SAAwBA,GAAYC,UAClCA,EAAAC,cACAA,EAAAC,SACAA,EAAAC,UACAA,EAAAC,OACAA,EAAS,CAAC,EAAAC,UACVA,EAAY,eAAAC,MACZA,EAAAC,SACAA,EAAAC,aACAA,EAAe,CAAC,EAAAC,oBAChBA,EAAsB,GAAAC,aACtBA,EAAe,MAEf,MAAOC,EAAQC,GAAaC,EAA6B,OAClDC,EAAiBC,GAAsBF,GAAS,IAChDG,EAAgBC,GAAqBJ,EAAwB,OAC7DK,EAAiBC,GAAsBN,EAAwB,MAChEO,EAAYC,EAAwB,MA0DxC,OAxDFC,EAAgB,KACR,MAAAC,EAAatB,GAAiBD,GAAWwB,SAAW,KAC1DZ,EAAWa,GACTA,IAAkBF,EAAaE,EAAgBF,IAEhD,CAACtB,EAAeD,IAEnBsB,EAAgB,KACd,IAAKX,EAEH,YADAI,GAAmB,GAIrB,IAAIW,EAAyB,KAC7B,MAAMC,EAAiB,KACf,MAAAC,EAAajB,EAAOkB,wBACpBC,EAAiBC,OAAOC,gBAAgBC,QAAUF,OAAOG,YAC/DnB,EACEJ,EAAOwB,aAA2C,WAA5BxB,EAAOyB,MAAMC,YAEnBpB,EAAAqB,KAAKC,IAAI,EAAGR,OAAOS,WAAaZ,EAAWa,KAAO,IACpEtB,EAAmBmB,KAAKC,IACtB,EACAT,EAAiBF,EAAWc,IAA0B,EAApBd,EAAWK,SAGhC,MAAXP,GAAiBiB,qBAAqBjB,GAC1CA,EAAUkB,sBAAsB,KACpBlB,EAAA,KACLN,EAAUI,SAASqB,YAItBC,EAAW,IAAIC,iBAAiBpB,GACtCmB,EAASE,QAAQrC,EAAQ,CACvBsC,YAAY,EACZC,gBAAiB,CAAC,QAAS,WAE7B,MAAMC,EAA2C,oBAAnBC,eAC1B,KACA,IAAIA,eAAezB,GAMvB,OALAwB,GAAgBH,QAAQrC,GACjBoB,OAAAsB,iBAAiB,SAAU1B,GAC3BI,OAAAsB,iBAAiB,SAAU1B,GAAgB,GACnCA,IAER,KACLmB,EAASQ,aACTH,GAAgBG,aACTvB,OAAAwB,oBAAoB,SAAU5B,GAC9BI,OAAAwB,oBAAoB,SAAU5B,GAAgB,GACtC,MAAXD,GAAiBiB,qBAAqBjB,KAE3C,CAACf,IAGF6C,EAACC,EAAA,CACCC,KAAMC,QAAQhD,IAAWG,EACzB8C,SAAUjD,EACVS,YACAf,YACAF,YACA0D,cAAe,CAAEC,SAAU,SAC3BC,UAAW,CACT,CACEC,KAAM,SACNC,QAAS,CACP7D,OAAQ,CAACA,EAAOqC,MAAQ,EAAGrC,EAAOsC,KAAO,KAG7C,CAEEsB,KAAM,OACNE,SAAS,GAEX,CACEF,KAAM,kBACNC,QAAS,CAGPE,UAAU,EACVC,SAAS,EACTC,QAAQ,KAIdC,GAAI,CACFC,OAASC,GAAUA,EAAMD,OAAOE,QAChCnE,QACAC,SAA4B,MAAlBS,EACNT,EACA,OAA2B,iBAAbA,EAAwB,GAAGA,MAAeA,GAAY,YAAYS,OACpF0D,SAAU,EACVzC,OAAQ,cACR0C,UAA8B,MAAnBzD,EACP,QAAQT,cACLS,EAAkBR,EAArB,KACJkE,UAAW,aACXC,KAAM,WACNC,UAAW,SACXC,UAAW,OACXC,aAAc,EACdC,UAAYT,GAAUA,EAAMU,QAAQ,GACpCC,UAAW,cAGbjF,SAAAsD,EAAC4B,EAAA,CACCd,GAAI,CACFhE,MAAO,OACPC,SAAU,OACVmE,SAAU,EACVzC,OAAQ,cACRoD,UAAW,EACXV,UAA8B,MAAnBzD,EACP,QAAQT,cACLS,EAAkBR,EAArB,KACJoE,UAAW,SACXC,UAAW,OACXO,cAAe,OACfH,UAAW,cAGZjF,cAIT"}
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsx as r}from"react/jsx-runtime";function o(o){return r("svg",t({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:r("path",{d:"M8.9375 1.4375V0.5M11.3996 2.10041L12.0625 1.4375M12.0689 4.5625H13.0064M12.9691 7.375C12.6556 10.5333 9.99084 13 6.75 13C3.29822 13 0.5 10.2018 0.5 6.75C0.5 3.50916 2.96667 0.844437 6.125 0.53086M6.75 4.25H9.25V6.75M9.0123 4.25C7.54083 6.32975 5.11648 7.6875 2.375 7.6875C1.74819 7.6875 1.13795 7.61652 0.551889 7.48216",stroke:"#16A34A","stroke-linecap":"round","stroke-linejoin":"round"})}))}export{o as default};
1
+ import{jsx as t}from"react/jsx-runtime";function e(e){return t("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{d:"M8.9375 1.4375V0.5M11.3996 2.10041L12.0625 1.4375M12.0689 4.5625H13.0064M12.9691 7.375C12.6556 10.5333 9.99084 13 6.75 13C3.29822 13 0.5 10.2018 0.5 6.75C0.5 3.50916 2.96667 0.844437 6.125 0.53086M6.75 4.25H9.25V6.75M9.0123 4.25C7.54083 6.32975 5.11648 7.6875 2.375 7.6875C1.74819 7.6875 1.13795 7.61652 0.551889 7.48216",stroke:"#16A34A","stroke-linecap":"round","stroke-linejoin":"round"})})}export{e as default};
2
2
  //# sourceMappingURL=ChartBreakoutCircle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartBreakoutCircle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"ChartBreakoutCircle.js","sources":["../../../src/features/SegmentReviewComponents/ChartBreakoutCircle.tsx"],"sourcesContent":["export default function ChartBreakoutCircle(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"14\" height=\"14\" viewBox=\"0 0 14 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.9375 1.4375V0.5M11.3996 2.10041L12.0625 1.4375M12.0689 4.5625H13.0064M12.9691 7.375C12.6556 10.5333 9.99084 13 6.75 13C3.29822 13 0.5 10.2018 0.5 6.75C0.5 3.50916 2.96667 0.844437 6.125 0.53086M6.75 4.25H9.25V6.75M9.0123 4.25C7.54083 6.32975 5.11648 7.6875 2.375 7.6875C1.74819 7.6875 1.13795 7.61652 0.551889 7.48216\" stroke=\"#16A34A\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n </svg>\n\n )\n}"],"names":["ChartBreakoutCircle","props","jsx","width","height","viewBox","fill","xmlns","children","d","stroke"],"mappings":"wCAAA,SAAwBA,EAAoBC,GAEpC,OAAAC,EAAC,OAAIC,MAAM,KAAKC,OAAO,KAAKC,QAAQ,YAAYC,KAAK,OAAOC,MAAM,6BAC9DC,SAACN,EAAA,OAAA,CAAKO,EAAE,mUAAmUC,OAAO,UAAU,iBAAe,QAAQ,kBAAgB,WAI/Y"}
@@ -1,2 +1,2 @@
1
- import{__assign as C}from"tslib";import{jsxs as e,jsx as t}from"react/jsx-runtime";import i from"@mui/material/SvgIcon";function r(r){return e(i,C({},r,{viewBox:"0 0 12 17",sx:C({width:12,height:17},r.sx)},{children:[t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.778549 6.35498C0.947509 6.06234 1.14047 5.78701 1.35448 5.53127L1.05841 6.77432C0.87679 7.48466 0.80378 8.17502 1.05378 8.73356C1.09106 8.81682 1.13466 8.8951 1.18403 8.96801C1.17505 9.11859 1.17346 9.27007 1.17938 9.42164C1.21133 10.2394 1.46064 11.0339 1.90165 11.7232C2.34265 12.4126 2.95942 12.9719 3.68845 13.3437C3.78702 13.3948 3.86973 13.4719 3.92758 13.5667C3.98544 13.6614 4.01623 13.7702 4.01664 13.8814V16.3427C4.01664 16.422 4.00103 16.5004 3.97071 16.5736C3.94039 16.6468 3.89595 16.7133 3.83993 16.7693C3.78391 16.8253 3.71741 16.8698 3.64421 16.9001C3.57102 16.9305 3.49257 16.946 3.41335 16.946C3.33412 16.946 3.25567 16.9305 3.18248 16.9001C3.10928 16.8698 3.04278 16.8253 2.98676 16.7693C2.93074 16.7133 2.8863 16.6468 2.85598 16.5736C2.82567 16.5004 2.81006 16.422 2.81006 16.3427V14.2366C1.50675 13.4505 0.563809 12.1847 0.18393 10.7109C-0.195948 9.23705 0.017555 7.67304 0.778549 6.35498ZM2.5956 4.4202C2.58489 4.46583 2.57238 4.51587 2.55818 4.57051L2.10596 6.46709C2.4519 6.00902 2.88178 5.61795 3.37484 5.31587C3.45372 5.26755 3.53389 5.2217 3.61524 5.17836L3.91437 4.02581C3.94069 3.92848 3.96334 3.83471 3.98223 3.74482C3.4887 3.90843 3.02287 4.13636 2.5956 4.4202ZM4.97997 3.50929C4.95187 3.76277 4.89721 4.01844 4.83146 4.26296L4.70096 4.7659C5.02368 4.68809 5.35523 4.64508 5.68997 4.63852C6.50816 4.62249 7.31584 4.82482 8.02986 5.22467C8.74387 5.62452 9.33837 6.20745 9.75227 6.91343C10.1661 7.61942 10.3843 8.42296 10.3845 9.24135V13.029C10.3845 13.1201 10.3483 13.2075 10.2838 13.272C10.2193 13.3365 10.132 13.3726 10.0408 13.3726H8.14698C7.98698 13.3726 7.83353 13.4362 7.72039 13.5493C7.60726 13.6625 7.5437 13.816 7.5437 13.9759V16.3427C7.5437 16.5028 7.60726 16.6562 7.72039 16.7693C7.83353 16.8825 7.98698 16.946 8.14698 16.946C8.30699 16.946 8.46043 16.8825 8.57357 16.7693C8.6867 16.6562 8.75027 16.5028 8.75027 16.3427V14.5792H10.0408C10.2444 14.5792 10.446 14.5391 10.634 14.4612C10.8221 14.3833 10.993 14.2691 11.137 14.1252C11.2809 13.9812 11.3951 13.8103 11.473 13.6223C11.551 13.4342 11.591 13.2326 11.591 13.029V9.24224C11.5909 8.20964 11.3155 7.1957 10.7933 6.30483C10.271 5.41397 9.5209 4.67834 8.61996 4.17369C7.50563 3.55832 6.22659 3.32916 4.97997 3.50929ZM3.31096 7.17824C3.06416 7.47379 2.86777 7.81154 2.73281 8.17818C2.67346 8.33942 2.62681 8.50407 2.59287 8.67068C2.96541 8.66305 3.3259 8.58961 4.09408 7.98043L4.4813 7.65806C4.62698 7.53143 4.68583 7.33671 4.65268 7.14949L4.63322 7.06982C4.53815 6.83998 4.24287 6.77137 4.02738 6.89566C3.80462 7.02416 3.56339 7.12021 3.31096 7.17824ZM5.50956 6.70762C5.39307 6.42581 5.2101 6.22391 4.9955 6.09139C5.4636 5.96152 5.95753 5.9332 6.44355 6.01261C7.21223 6.13821 7.9139 6.52554 8.4298 7.10905C8.7773 7.50191 8.68077 8.0666 8.32362 8.38802C7.27342 9.33691 5.53306 10.5666 3.80331 11.0251C3.36315 11.141 2.88052 10.9286 2.71933 10.4749C2.62076 10.1971 2.55967 9.90972 2.53604 9.62C2.82204 9.61857 3.17908 9.5971 3.63183 9.39587C4.05727 9.20681 4.51985 8.88082 5.10381 8.3732C5.58794 7.95226 5.70675 7.30946 5.5355 6.77894L5.52437 6.74281L5.50956 6.70762Z"}),t("path",{d:"M2.49253 8.67144C1.98274 8.67144 1.60843 8.35663 1.96545 6.97238L2.55084 4.51665C2.65295 4.12345 2.66944 3.96624 2.55084 3.96624C2.1154 4.07601 2.33401 4.00777 1.9654 4.16485L1.71094 3.73988C2.95167 2.68571 2.97363 2.40709 3.58474 2.40709C4.09454 2.40709 4.17978 3.02062 3.92448 3.96464L3.25466 6.54621C3.13565 7.00253 3.18712 7.15973 3.30531 7.15973C3.56398 7.10114 3.81132 7.00404 4.03939 6.87249C4.25773 6.74655 4.55616 6.81591 4.65239 7.04889C4.72106 7.26145 4.66773 7.49745 4.49914 7.64399C3.36616 8.62885 2.9653 8.67144 2.49253 8.67144ZM3.66602 0.00239655C3.7822 -0.00651177 3.89895 0.00947896 4.00846 0.0493006C4.11797 0.0891223 4.21772 0.151858 4.30105 0.233314C4.38438 0.314771 4.44935 0.413073 4.49165 0.521653C4.53394 0.630232 4.55258 0.746588 4.54631 0.862945V0.860752C4.53258 1.15708 4.40525 1.43674 4.19074 1.64164C3.97623 1.84656 3.69104 1.96097 3.39439 1.96112L3.37064 1.96075C3.25288 1.97358 3.13485 1.95962 3.02324 1.91993C2.91164 1.88024 2.81044 1.81584 2.72723 1.73154C2.64402 1.64723 2.58094 1.54522 2.54271 1.43311C2.50477 1.32187 2.49227 1.20356 2.5061 1.08687C2.51738 0.789536 2.64564 0.508673 2.86299 0.305421C3.08056 0.101963 3.36973 -0.00722427 3.66748 0.00166549L3.66602 0.00239655Z"})]}))}export{r as default};
1
+ import{jsxs as C,jsx as e}from"react/jsx-runtime";import t from"@mui/material/SvgIcon";function L(L){return C(t,{...L,viewBox:"0 0 12 17",sx:{width:12,height:17,...L.sx},children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.778549 6.35498C0.947509 6.06234 1.14047 5.78701 1.35448 5.53127L1.05841 6.77432C0.87679 7.48466 0.80378 8.17502 1.05378 8.73356C1.09106 8.81682 1.13466 8.8951 1.18403 8.96801C1.17505 9.11859 1.17346 9.27007 1.17938 9.42164C1.21133 10.2394 1.46064 11.0339 1.90165 11.7232C2.34265 12.4126 2.95942 12.9719 3.68845 13.3437C3.78702 13.3948 3.86973 13.4719 3.92758 13.5667C3.98544 13.6614 4.01623 13.7702 4.01664 13.8814V16.3427C4.01664 16.422 4.00103 16.5004 3.97071 16.5736C3.94039 16.6468 3.89595 16.7133 3.83993 16.7693C3.78391 16.8253 3.71741 16.8698 3.64421 16.9001C3.57102 16.9305 3.49257 16.946 3.41335 16.946C3.33412 16.946 3.25567 16.9305 3.18248 16.9001C3.10928 16.8698 3.04278 16.8253 2.98676 16.7693C2.93074 16.7133 2.8863 16.6468 2.85598 16.5736C2.82567 16.5004 2.81006 16.422 2.81006 16.3427V14.2366C1.50675 13.4505 0.563809 12.1847 0.18393 10.7109C-0.195948 9.23705 0.017555 7.67304 0.778549 6.35498ZM2.5956 4.4202C2.58489 4.46583 2.57238 4.51587 2.55818 4.57051L2.10596 6.46709C2.4519 6.00902 2.88178 5.61795 3.37484 5.31587C3.45372 5.26755 3.53389 5.2217 3.61524 5.17836L3.91437 4.02581C3.94069 3.92848 3.96334 3.83471 3.98223 3.74482C3.4887 3.90843 3.02287 4.13636 2.5956 4.4202ZM4.97997 3.50929C4.95187 3.76277 4.89721 4.01844 4.83146 4.26296L4.70096 4.7659C5.02368 4.68809 5.35523 4.64508 5.68997 4.63852C6.50816 4.62249 7.31584 4.82482 8.02986 5.22467C8.74387 5.62452 9.33837 6.20745 9.75227 6.91343C10.1661 7.61942 10.3843 8.42296 10.3845 9.24135V13.029C10.3845 13.1201 10.3483 13.2075 10.2838 13.272C10.2193 13.3365 10.132 13.3726 10.0408 13.3726H8.14698C7.98698 13.3726 7.83353 13.4362 7.72039 13.5493C7.60726 13.6625 7.5437 13.816 7.5437 13.9759V16.3427C7.5437 16.5028 7.60726 16.6562 7.72039 16.7693C7.83353 16.8825 7.98698 16.946 8.14698 16.946C8.30699 16.946 8.46043 16.8825 8.57357 16.7693C8.6867 16.6562 8.75027 16.5028 8.75027 16.3427V14.5792H10.0408C10.2444 14.5792 10.446 14.5391 10.634 14.4612C10.8221 14.3833 10.993 14.2691 11.137 14.1252C11.2809 13.9812 11.3951 13.8103 11.473 13.6223C11.551 13.4342 11.591 13.2326 11.591 13.029V9.24224C11.5909 8.20964 11.3155 7.1957 10.7933 6.30483C10.271 5.41397 9.5209 4.67834 8.61996 4.17369C7.50563 3.55832 6.22659 3.32916 4.97997 3.50929ZM3.31096 7.17824C3.06416 7.47379 2.86777 7.81154 2.73281 8.17818C2.67346 8.33942 2.62681 8.50407 2.59287 8.67068C2.96541 8.66305 3.3259 8.58961 4.09408 7.98043L4.4813 7.65806C4.62698 7.53143 4.68583 7.33671 4.65268 7.14949L4.63322 7.06982C4.53815 6.83998 4.24287 6.77137 4.02738 6.89566C3.80462 7.02416 3.56339 7.12021 3.31096 7.17824ZM5.50956 6.70762C5.39307 6.42581 5.2101 6.22391 4.9955 6.09139C5.4636 5.96152 5.95753 5.9332 6.44355 6.01261C7.21223 6.13821 7.9139 6.52554 8.4298 7.10905C8.7773 7.50191 8.68077 8.0666 8.32362 8.38802C7.27342 9.33691 5.53306 10.5666 3.80331 11.0251C3.36315 11.141 2.88052 10.9286 2.71933 10.4749C2.62076 10.1971 2.55967 9.90972 2.53604 9.62C2.82204 9.61857 3.17908 9.5971 3.63183 9.39587C4.05727 9.20681 4.51985 8.88082 5.10381 8.3732C5.58794 7.95226 5.70675 7.30946 5.5355 6.77894L5.52437 6.74281L5.50956 6.70762Z"}),e("path",{d:"M2.49253 8.67144C1.98274 8.67144 1.60843 8.35663 1.96545 6.97238L2.55084 4.51665C2.65295 4.12345 2.66944 3.96624 2.55084 3.96624C2.1154 4.07601 2.33401 4.00777 1.9654 4.16485L1.71094 3.73988C2.95167 2.68571 2.97363 2.40709 3.58474 2.40709C4.09454 2.40709 4.17978 3.02062 3.92448 3.96464L3.25466 6.54621C3.13565 7.00253 3.18712 7.15973 3.30531 7.15973C3.56398 7.10114 3.81132 7.00404 4.03939 6.87249C4.25773 6.74655 4.55616 6.81591 4.65239 7.04889C4.72106 7.26145 4.66773 7.49745 4.49914 7.64399C3.36616 8.62885 2.9653 8.67144 2.49253 8.67144ZM3.66602 0.00239655C3.7822 -0.00651177 3.89895 0.00947896 4.00846 0.0493006C4.11797 0.0891223 4.21772 0.151858 4.30105 0.233314C4.38438 0.314771 4.44935 0.413073 4.49165 0.521653C4.53394 0.630232 4.55258 0.746588 4.54631 0.862945V0.860752C4.53258 1.15708 4.40525 1.43674 4.19074 1.64164C3.97623 1.84656 3.69104 1.96097 3.39439 1.96112L3.37064 1.96075C3.25288 1.97358 3.13485 1.95962 3.02324 1.91993C2.91164 1.88024 2.81044 1.81584 2.72723 1.73154C2.64402 1.64723 2.58094 1.54522 2.54271 1.43311C2.50477 1.32187 2.49227 1.20356 2.5061 1.08687C2.51738 0.789536 2.64564 0.508673 2.86299 0.305421C3.08056 0.101963 3.36973 -0.00722427 3.66748 0.00166549L3.66602 0.00239655Z"})]})}export{L as default};
2
2
  //# sourceMappingURL=CognitiveIcon.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveIcon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CognitiveIcon.js","sources":["../../../src/features/SegmentReviewComponents/CognitiveIcon.tsx"],"sourcesContent":["import SvgIcon, { type SvgIconProps } from '@mui/material/SvgIcon';\n\nexport default function CognitiveIcon(props: SvgIconProps) {\n return (\n <SvgIcon\n {...props}\n viewBox=\"0 0 12 17\"\n sx={{ width: 12, height: 17, ...props.sx }}\n >\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M0.778549 6.35498C0.947509 6.06234 1.14047 5.78701 1.35448 5.53127L1.05841 6.77432C0.87679 7.48466 0.80378 8.17502 1.05378 8.73356C1.09106 8.81682 1.13466 8.8951 1.18403 8.96801C1.17505 9.11859 1.17346 9.27007 1.17938 9.42164C1.21133 10.2394 1.46064 11.0339 1.90165 11.7232C2.34265 12.4126 2.95942 12.9719 3.68845 13.3437C3.78702 13.3948 3.86973 13.4719 3.92758 13.5667C3.98544 13.6614 4.01623 13.7702 4.01664 13.8814V16.3427C4.01664 16.422 4.00103 16.5004 3.97071 16.5736C3.94039 16.6468 3.89595 16.7133 3.83993 16.7693C3.78391 16.8253 3.71741 16.8698 3.64421 16.9001C3.57102 16.9305 3.49257 16.946 3.41335 16.946C3.33412 16.946 3.25567 16.9305 3.18248 16.9001C3.10928 16.8698 3.04278 16.8253 2.98676 16.7693C2.93074 16.7133 2.8863 16.6468 2.85598 16.5736C2.82567 16.5004 2.81006 16.422 2.81006 16.3427V14.2366C1.50675 13.4505 0.563809 12.1847 0.18393 10.7109C-0.195948 9.23705 0.017555 7.67304 0.778549 6.35498ZM2.5956 4.4202C2.58489 4.46583 2.57238 4.51587 2.55818 4.57051L2.10596 6.46709C2.4519 6.00902 2.88178 5.61795 3.37484 5.31587C3.45372 5.26755 3.53389 5.2217 3.61524 5.17836L3.91437 4.02581C3.94069 3.92848 3.96334 3.83471 3.98223 3.74482C3.4887 3.90843 3.02287 4.13636 2.5956 4.4202ZM4.97997 3.50929C4.95187 3.76277 4.89721 4.01844 4.83146 4.26296L4.70096 4.7659C5.02368 4.68809 5.35523 4.64508 5.68997 4.63852C6.50816 4.62249 7.31584 4.82482 8.02986 5.22467C8.74387 5.62452 9.33837 6.20745 9.75227 6.91343C10.1661 7.61942 10.3843 8.42296 10.3845 9.24135V13.029C10.3845 13.1201 10.3483 13.2075 10.2838 13.272C10.2193 13.3365 10.132 13.3726 10.0408 13.3726H8.14698C7.98698 13.3726 7.83353 13.4362 7.72039 13.5493C7.60726 13.6625 7.5437 13.816 7.5437 13.9759V16.3427C7.5437 16.5028 7.60726 16.6562 7.72039 16.7693C7.83353 16.8825 7.98698 16.946 8.14698 16.946C8.30699 16.946 8.46043 16.8825 8.57357 16.7693C8.6867 16.6562 8.75027 16.5028 8.75027 16.3427V14.5792H10.0408C10.2444 14.5792 10.446 14.5391 10.634 14.4612C10.8221 14.3833 10.993 14.2691 11.137 14.1252C11.2809 13.9812 11.3951 13.8103 11.473 13.6223C11.551 13.4342 11.591 13.2326 11.591 13.029V9.24224C11.5909 8.20964 11.3155 7.1957 10.7933 6.30483C10.271 5.41397 9.5209 4.67834 8.61996 4.17369C7.50563 3.55832 6.22659 3.32916 4.97997 3.50929ZM3.31096 7.17824C3.06416 7.47379 2.86777 7.81154 2.73281 8.17818C2.67346 8.33942 2.62681 8.50407 2.59287 8.67068C2.96541 8.66305 3.3259 8.58961 4.09408 7.98043L4.4813 7.65806C4.62698 7.53143 4.68583 7.33671 4.65268 7.14949L4.63322 7.06982C4.53815 6.83998 4.24287 6.77137 4.02738 6.89566C3.80462 7.02416 3.56339 7.12021 3.31096 7.17824ZM5.50956 6.70762C5.39307 6.42581 5.2101 6.22391 4.9955 6.09139C5.4636 5.96152 5.95753 5.9332 6.44355 6.01261C7.21223 6.13821 7.9139 6.52554 8.4298 7.10905C8.7773 7.50191 8.68077 8.0666 8.32362 8.38802C7.27342 9.33691 5.53306 10.5666 3.80331 11.0251C3.36315 11.141 2.88052 10.9286 2.71933 10.4749C2.62076 10.1971 2.55967 9.90972 2.53604 9.62C2.82204 9.61857 3.17908 9.5971 3.63183 9.39587C4.05727 9.20681 4.51985 8.88082 5.10381 8.3732C5.58794 7.95226 5.70675 7.30946 5.5355 6.77894L5.52437 6.74281L5.50956 6.70762Z\"\n />\n <path d=\"M2.49253 8.67144C1.98274 8.67144 1.60843 8.35663 1.96545 6.97238L2.55084 4.51665C2.65295 4.12345 2.66944 3.96624 2.55084 3.96624C2.1154 4.07601 2.33401 4.00777 1.9654 4.16485L1.71094 3.73988C2.95167 2.68571 2.97363 2.40709 3.58474 2.40709C4.09454 2.40709 4.17978 3.02062 3.92448 3.96464L3.25466 6.54621C3.13565 7.00253 3.18712 7.15973 3.30531 7.15973C3.56398 7.10114 3.81132 7.00404 4.03939 6.87249C4.25773 6.74655 4.55616 6.81591 4.65239 7.04889C4.72106 7.26145 4.66773 7.49745 4.49914 7.64399C3.36616 8.62885 2.9653 8.67144 2.49253 8.67144ZM3.66602 0.00239655C3.7822 -0.00651177 3.89895 0.00947896 4.00846 0.0493006C4.11797 0.0891223 4.21772 0.151858 4.30105 0.233314C4.38438 0.314771 4.44935 0.413073 4.49165 0.521653C4.53394 0.630232 4.55258 0.746588 4.54631 0.862945V0.860752C4.53258 1.15708 4.40525 1.43674 4.19074 1.64164C3.97623 1.84656 3.69104 1.96097 3.39439 1.96112L3.37064 1.96075C3.25288 1.97358 3.13485 1.95962 3.02324 1.91993C2.91164 1.88024 2.81044 1.81584 2.72723 1.73154C2.64402 1.64723 2.58094 1.54522 2.54271 1.43311C2.50477 1.32187 2.49227 1.20356 2.5061 1.08687C2.51738 0.789536 2.64564 0.508673 2.86299 0.305421C3.08056 0.101963 3.36973 -0.00722427 3.66748 0.00166549L3.66602 0.00239655Z\" />\n </SvgIcon>\n );\n}\n"],"names":["CognitiveIcon","props","jsxs","SvgIcon","viewBox","sx","width","height","children","jsx","fillRule","clipRule","d"],"mappings":"uFAEA,SAAwBA,EAAcC,GAElC,OAAAC,EAACC,EAAA,IACKF,EACJG,QAAQ,YACRC,GAAI,CAAEC,MAAO,GAAIC,OAAQ,MAAON,EAAMI,IAEtCG,SAAA,CAAAC,EAAC,OAAA,CACCC,SAAS,UACTC,SAAS,UACTC,EAAE,0/FAEJH,EAAC,OAAK,CAAAG,EAAE,isCAGd"}
@@ -1,2 +1,2 @@
1
- import{__assign as i,__spreadArray as e}from"tslib";import{jsx as n,jsxs as t}from"react/jsx-runtime";import o from"@mui/icons-material/ChevronLeft";import r from"@mui/icons-material/Close";import l from"@mui/material/Box";import a from"@mui/material/Divider";import m from"@mui/material/IconButton";import c from"@mui/material/Paper";import s from"@mui/material/Stack";import h from"@mui/material/Typography";import d from"../CitationRenderer/MarkdownRenderer.js";import f from"./CognitiveIcon.js";import g from"./CognitiveScoreBadge.js";var u=function(i,n){return e([i],Array.isArray(n)?n:null==n?[]:[n],!0)};function p(e){var p=e.reasons,x=e.reason,v=e.gap,y=e.score,H=e.headerName,S=void 0===H?"Cognitive Integrity":H,b=e.onBack,C=e.onClose,z=e.showCloseButton,w=void 0===z||z,k=e.width,W=void 0===k?260:k,D=e.maxWidth,B=void 0===D?260:D,A=e.className,I=e.styles,R=(null!=p?p:[]).filter(function(i){return"evidence"===i.type.trim().toLowerCase()}).map(function(i){return i.text.trim()}).filter(Boolean),j=(null!=p?p:[]).filter(function(i){return"gap"===i.type.trim().toLowerCase()}).map(function(i){return i.text.trim()}).filter(Boolean),F=null==x?void 0:x.trim(),E=null==v?void 0:v.trim();if(0===R.length&&F&&R.push(F),0===j.length&&E&&j.push(E),0===R.length&&0===j.length)return null;var L,M=(L=null==I?void 0:I.markdown,i(i({},L),{containerWrapper:i(i({},null==L?void 0:L.containerWrapper),{display:"block",height:"auto",minHeight:0,maxHeight:"fit-content",flex:"0 0 auto"}),mainCard:i(i({},null==L?void 0:L.mainCard),{height:"auto",minHeight:0,maxHeight:"none",flex:"0 0 auto",padding:0,border:"none",borderRadius:0,boxShadow:"none",backgroundColor:"transparent"}),scrollArea:i({height:"auto",minHeight:0,maxHeight:"none",overflowY:"visible",paddingRight:0,color:"#475467",fontSize:11.5,lineHeight:1.3},null==L?void 0:L.scrollArea),list:i({margin:"0",padding:"0 0 0 18px",fontSize:"11.5px",lineHeight:"1.3"},null==L?void 0:L.list)})),N=i(i({},M),{scrollArea:i(i({},M.scrollArea),{fontSize:"inherit",lineHeight:"inherit"}),summary:i(i({},M.summary),{display:"inline-flex",padding:0,fontSize:"inherit",lineHeight:"inherit"})});return n(c,i({className:A,elevation:4,sx:u({width:W,maxWidth:B,height:"fit-content",minHeight:0,alignSelf:"flex-start",flex:"0 0 auto",borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},null==I?void 0:I.root)},{children:t(s,i({spacing:.75,sx:{p:1,height:"auto",minHeight:0,display:"flex",flexDirection:"column","& > *":{minHeight:0}}},{children:[t(s,i({direction:"row",alignItems:"center",spacing:.75,sx:null==I?void 0:I.header},{children:[b&&n(m,i({size:"small",onClick:b,"aria-label":"Return to review check",sx:{p:0,color:"#6941C6"}},{children:n(o,{sx:{fontSize:17}})})),n(f,{sx:{color:"#6941C6"}}),n(h,i({sx:{flex:1,fontSize:12,fontWeight:500,alignItems:"center",display:"flex",lineHeight:1.25,textTransform:"capitalise"}},{children:S})),n(g,{score:y}),w&&n(m,i({size:"small",onClick:C,disabled:!C,"aria-label":"Close cognitive integrity",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}}},{children:n(r,{sx:{fontSize:17}})}))]})),n(a,{sx:{m:0}}),n(l,i({sx:u({bgcolor:"#F9FAFB",px:1.5,py:1.25,height:"auto",minHeight:0,flex:"0 0 auto",display:"flex",flexDirection:"column"},null==I?void 0:I.content)},{children:t(s,i({spacing:1.5,sx:{display:"flex",flexDirection:"column",minHeight:0}},{children:[R.length>0&&t(l,i({sx:{minHeight:0,display:"flex",flexDirection:"column"}},{children:[n(h,i({sx:{mb:1,color:"#344054",fontSize:12,fontWeight:600,lineHeight:1.4,flexShrink:0}},{children:"Decision Making Factors"})),n(s,i({spacing:.75,sx:{minHeight:0,display:"flex",flexDirection:"column"}},{children:R.map(function(e,o){return t(s,i({direction:"row",alignItems:"flex-start",spacing:.75},{children:[t(h,i({component:"span",sx:{flex:"0 0 auto",minWidth:14,color:"#475467",fontSize:11.5,lineHeight:1.65}},{children:[o+1,"."]})),n(l,i({sx:{flex:1,minWidth:0,color:"#667085",fontSize:11.5,lineHeight:1.65,"& p":{m:0,color:"inherit",fontSize:"inherit",lineHeight:"inherit"}}},{children:n(d,{value:"<summary>".concat(e,"</summary>"),styles:N})}))]}),"evidence-".concat(o))})}))]})),R.length>0&&j.length>0&&n(a,{sx:{my:"2px !important",borderColor:"#E4E7EC"}}),j.length>0&&t(l,i({sx:{minHeight:0,display:"flex",flexDirection:"column"}},{children:[n(h,i({sx:{mb:1,color:"#344054",fontSize:12,fontWeight:600,lineHeight:1.4,flexShrink:0}},{children:"Gaps in Decision"})),n(s,i({spacing:.75,sx:{minHeight:0,display:"flex",flexDirection:"column"}},{children:j.map(function(e,o){return t(s,i({direction:"row",alignItems:"flex-start",spacing:.75},{children:[t(h,i({component:"span",sx:{flex:"0 0 auto",minWidth:14,color:"#475467",fontSize:11.5,lineHeight:1.65}},{children:[o+1,"."]})),n(l,i({sx:{flex:1,minWidth:0,color:"#667085",fontSize:11.5,lineHeight:1.65,"& p":{m:0,color:"inherit",fontSize:"inherit",lineHeight:"inherit"}}},{children:n(d,{value:"<summary>".concat(e,"</summary>"),styles:N})}))]}),"gap-".concat(o))})}))]}))]}))}))]}))}))}export{p as default};
1
+ import{jsx as i,jsxs as e}from"react/jsx-runtime";import t from"@mui/icons-material/ChevronLeft";import n from"@mui/icons-material/Close";import o from"@mui/material/Box";import r from"@mui/material/Divider";import l from"@mui/material/IconButton";import a from"@mui/material/Paper";import m from"@mui/material/Stack";import s from"@mui/material/Typography";import c from"../CitationRenderer/MarkdownRenderer.js";import h from"./CognitiveIcon.js";import d from"./CognitiveScoreBadge.js";const g=(i,e)=>[i,...Array.isArray(e)?e:null==e?[]:[e]];function x({reasons:x,reason:f,gap:p,score:u,headerName:y="Cognitive Integrity",onBack:H,onClose:S,showCloseButton:b=!0,width:C=260,maxWidth:z=260,className:v,styles:w}){const k=(x??[]).filter(i=>"evidence"===i.type.trim().toLowerCase()).map(i=>i.text.trim()).filter(Boolean),W=(x??[]).filter(i=>"gap"===i.type.trim().toLowerCase()).map(i=>i.text.trim()).filter(Boolean),D=f?.trim(),B=p?.trim();if(0===k.length&&D&&k.push(D),0===W.length&&B&&W.push(B),0===k.length&&0===W.length)return null;const A=(I=w?.markdown,{...I,containerWrapper:{...I?.containerWrapper,display:"block",height:"auto",minHeight:0,maxHeight:"fit-content",flex:"0 0 auto"},mainCard:{...I?.mainCard,height:"auto",minHeight:0,maxHeight:"none",flex:"0 0 auto",padding:0,border:"none",borderRadius:0,boxShadow:"none",backgroundColor:"transparent"},scrollArea:{height:"auto",minHeight:0,maxHeight:"none",overflowY:"visible",paddingRight:0,color:"#475467",fontSize:11.5,lineHeight:1.3,...I?.scrollArea},list:{margin:"0",padding:"0 0 0 18px",fontSize:"11.5px",lineHeight:"1.3",...I?.list}});var I;const R={...A,scrollArea:{...A.scrollArea,fontSize:"inherit",lineHeight:"inherit"},summary:{...A.summary,display:"inline-flex",padding:0,fontSize:"inherit",lineHeight:"inherit"}};return i(a,{className:v,elevation:4,sx:g({width:C,maxWidth:z,height:"fit-content",minHeight:0,alignSelf:"flex-start",flex:"0 0 auto",borderRadius:2,bgcolor:"background.paper",overflow:"hidden",boxSizing:"border-box","@media (max-width: 372px)":{width:"calc(100vw - 32px)"}},w?.root),children:e(m,{spacing:.75,sx:{p:1,height:"auto",minHeight:0,display:"flex",flexDirection:"column","& > *":{minHeight:0}},children:[e(m,{direction:"row",alignItems:"center",spacing:.75,sx:w?.header,children:[H&&i(l,{size:"small",onClick:H,"aria-label":"Return to review check",sx:{p:0,color:"#6941C6"},children:i(t,{sx:{fontSize:17}})}),i(h,{sx:{color:"#6941C6"}}),i(s,{sx:{flex:1,fontSize:12,fontWeight:500,alignItems:"center",display:"flex",lineHeight:1.25,textTransform:"capitalise"},children:y}),i(d,{score:u}),b&&i(l,{size:"small",onClick:S,disabled:!S,"aria-label":"Close cognitive integrity",sx:{p:0,"&.Mui-disabled":{color:"text.secondary"}},children:i(n,{sx:{fontSize:17}})})]}),i(r,{sx:{m:0}}),i(o,{sx:g({bgcolor:"#F9FAFB",px:1.5,py:1.25,height:"auto",minHeight:0,flex:"0 0 auto",display:"flex",flexDirection:"column"},w?.content),children:e(m,{spacing:1.5,sx:{display:"flex",flexDirection:"column",minHeight:0},children:[k.length>0&&e(o,{sx:{minHeight:0,display:"flex",flexDirection:"column"},children:[i(s,{sx:{mb:1,color:"#344054",fontSize:12,fontWeight:600,lineHeight:1.4,flexShrink:0},children:"Decision Making Factors"}),i(m,{spacing:.75,sx:{minHeight:0,display:"flex",flexDirection:"column"},children:k.map((t,n)=>e(m,{direction:"row",alignItems:"flex-start",spacing:.75,children:[e(s,{component:"span",sx:{flex:"0 0 auto",minWidth:14,color:"#475467",fontSize:11.5,lineHeight:1.65},children:[n+1,"."]}),i(o,{sx:{flex:1,minWidth:0,color:"#667085",fontSize:11.5,lineHeight:1.65,"& p":{m:0,color:"inherit",fontSize:"inherit",lineHeight:"inherit"}},children:i(c,{value:`<summary>${t}</summary>`,styles:R})})]},`evidence-${n}`))})]}),k.length>0&&W.length>0&&i(r,{sx:{my:"2px !important",borderColor:"#E4E7EC"}}),W.length>0&&e(o,{sx:{minHeight:0,display:"flex",flexDirection:"column"},children:[i(s,{sx:{mb:1,color:"#344054",fontSize:12,fontWeight:600,lineHeight:1.4,flexShrink:0},children:"Gaps in Decision"}),i(m,{spacing:.75,sx:{minHeight:0,display:"flex",flexDirection:"column"},children:W.map((t,n)=>e(m,{direction:"row",alignItems:"flex-start",spacing:.75,children:[e(s,{component:"span",sx:{flex:"0 0 auto",minWidth:14,color:"#475467",fontSize:11.5,lineHeight:1.65},children:[n+1,"."]}),i(o,{sx:{flex:1,minWidth:0,color:"#667085",fontSize:11.5,lineHeight:1.65,"& p":{m:0,color:"inherit",fontSize:"inherit",lineHeight:"inherit"}},children:i(c,{value:`<summary>${t}</summary>`,styles:R})})]},`gap-${n}`))})]})]})})]})})}export{x as default};
2
2
  //# sourceMappingURL=CognitiveIntegrity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveIntegrity.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CognitiveIntegrity.js","sources":["../../../src/features/SegmentReviewComponents/CognitiveIntegrity.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport ChevronLeftIcon from '@mui/icons-material/ChevronLeft';\nimport CloseIcon from '@mui/icons-material/Close';\nimport Box from '@mui/material/Box';\nimport Divider from '@mui/material/Divider';\nimport IconButton from '@mui/material/IconButton';\nimport Paper from '@mui/material/Paper';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\nimport type { SxProps, Theme } from '@mui/material/styles';\nimport InfoAlert from '../../assests/icons/InfoAlert';\nimport MarkdownRenderer, {\n type MarkdownRendererStyles,\n} from '../CitationRenderer/MarkdownRenderer';\nimport CognitiveIcon from './CognitiveIcon';\nimport CognitiveScoreBadge from './CognitiveScoreBadge';\n\nconst mergeSx = (\n base: SxProps<Theme>,\n override?: SxProps<Theme>\n): SxProps<Theme> => [\n base,\n ...(Array.isArray(override) ? override : override == null ? [] : [override]),\n] as SxProps<Theme>;\n\nexport interface CognitiveIntegrityStyles {\n root?: SxProps<Theme>;\n header?: SxProps<Theme>;\n content?: SxProps<Theme>;\n section?: SxProps<Theme>;\n markdown?: MarkdownRendererStyles;\n}\n\nexport interface CognitiveIntegrityProps {\n reasons?: readonly CognitiveIntegrityReason[] | null;\n /** @deprecated Use `reasons` with `type: \"evidence\"` instead. */\n reason?: string | null;\n /** @deprecated Use `reasons` with `type: \"gap\"` instead. */\n gap?: string | null;\n score?: string | number | null;\n headerName?: ReactNode;\n onBack?: () => void;\n onClose?: () => void;\n showCloseButton?: boolean;\n width?: number | string;\n maxWidth?: number | string;\n className?: string;\n styles?: CognitiveIntegrityStyles;\n}\n\nexport interface CognitiveIntegrityReason {\n text: string;\n type: string;\n}\n\nconst getMarkdownStyles = (\n override?: MarkdownRendererStyles\n): MarkdownRendererStyles => ({\n ...override,\n containerWrapper: {\n ...override?.containerWrapper,\n display: 'block',\n height: 'auto',\n minHeight: 0,\n maxHeight: 'fit-content',\n flex: '0 0 auto',\n },\n mainCard: {\n ...override?.mainCard,\n height: 'auto',\n minHeight: 0,\n maxHeight: 'none',\n flex: '0 0 auto',\n padding: 0,\n border: 'none',\n borderRadius: 0,\n boxShadow: 'none',\n backgroundColor: 'transparent',\n },\n scrollArea: {\n height: 'auto',\n minHeight: 0,\n maxHeight: 'none',\n overflowY: 'visible',\n paddingRight: 0,\n color: '#475467',\n fontSize: 11.5,\n lineHeight: 1.3,\n ...override?.scrollArea,\n },\n list: {\n margin: '0',\n padding: '0 0 0 18px',\n fontSize: '11.5px',\n lineHeight: '1.3',\n ...override?.list,\n },\n});\n\n/** Compact popup content for displaying review reason and gap as Markdown. */\nexport default function CognitiveIntegrity({\n reasons,\n reason,\n gap,\n score: cognitiveScore,\n headerName = 'Cognitive Integrity',\n onBack,\n onClose,\n showCloseButton = true,\n width = 260,\n maxWidth = 260,\n className,\n styles,\n}: CognitiveIntegrityProps) {\n const evidence = (reasons ?? [])\n .filter((item) => item.type.trim().toLowerCase() === 'evidence')\n .map((item) => item.text.trim())\n .filter(Boolean);\n const gaps = (reasons ?? [])\n .filter((item) => item.type.trim().toLowerCase() === 'gap')\n .map((item) => item.text.trim())\n .filter(Boolean);\n\n const legacyReason = reason?.trim();\n const legacyGap = gap?.trim();\n if (evidence.length === 0 && legacyReason) evidence.push(legacyReason);\n if (gaps.length === 0 && legacyGap) gaps.push(legacyGap);\n\n if (evidence.length === 0 && gaps.length === 0) return null;\n\n const markdownStyles = getMarkdownStyles(styles?.markdown);\n const listItemMarkdownStyles: MarkdownRendererStyles = {\n ...markdownStyles,\n scrollArea: {\n ...markdownStyles.scrollArea,\n fontSize: 'inherit',\n lineHeight: 'inherit',\n },\n summary: {\n ...markdownStyles.summary,\n display: 'inline-flex',\n padding: 0,\n fontSize: 'inherit',\n lineHeight: 'inherit',\n },\n };\n const orderedListSx: SxProps<Theme> = {\n m: 0,\n pl: 2.25,\n listStyleType: 'decimal',\n listStylePosition: 'outside',\n fontSize: 11.5,\n lineHeight: 1.3,\n '& > li': {\n pl: 0.25,\n fontSize: 'inherit',\n lineHeight: 'inherit',\n },\n '& > li::marker': {\n fontSize: '1em',\n fontWeight: 'inherit',\n },\n };\n\n return (\n <Paper\n className={className}\n elevation={4}\n sx={mergeSx(\n {\n width,\n maxWidth,\n height: 'fit-content',\n minHeight: 0,\n alignSelf: 'flex-start',\n flex: '0 0 auto',\n // borderTop: '4px solid',\n // borderColor: '#7F56D9',\n borderRadius: 2,\n bgcolor: 'background.paper',\n overflow: 'hidden',\n boxSizing: 'border-box',\n '@media (max-width: 372px)': { width: 'calc(100vw - 32px)' },\n },\n styles?.root\n )}\n >\n <Stack spacing={0.75} sx={{ p: 1, height: 'auto', minHeight: 0, display: 'flex', flexDirection: 'column', '& > *': { minHeight: 0 } }}>\n <Stack direction=\"row\" alignItems=\"center\" spacing={0.75} sx={styles?.header}>\n {onBack && (\n <IconButton\n size=\"small\"\n onClick={onBack}\n aria-label=\"Return to review check\"\n sx={{ p: 0, color: '#6941C6' }}\n >\n <ChevronLeftIcon sx={{ fontSize: 17 }} />\n </IconButton>\n )}\n <CognitiveIcon sx={{ color: '#6941C6' }} />\n <Typography\n sx={{\n flex: 1,\n // color: '#6941C6',\n fontSize: 12,\n fontWeight: 500,\n alignItems: \"center\",\n display: 'flex',\n lineHeight: 1.25,\n textTransform: 'capitalise',\n }}\n >\n {headerName}\n </Typography>\n <CognitiveScoreBadge score={cognitiveScore} />\n {showCloseButton && (\n <IconButton\n size=\"small\"\n onClick={onClose}\n disabled={!onClose}\n aria-label=\"Close cognitive integrity\"\n sx={{ p: 0, '&.Mui-disabled': { color: 'text.secondary' } }}\n >\n <CloseIcon sx={{ fontSize: 17 }} />\n </IconButton>\n )}\n </Stack>\n\n <Divider sx={{ m: 0 }} />\n <Box\n sx={mergeSx(\n {\n bgcolor: '#F9FAFB',\n px: 1.5,\n py: 1.25,\n height: 'auto',\n minHeight: 0,\n flex: '0 0 auto',\n display: 'flex',\n flexDirection: 'column',\n },\n styles?.content\n )}\n >\n <Stack spacing={1.5} sx={{ display: 'flex', flexDirection: 'column', minHeight: 0 }}>\n {evidence.length > 0 && (\n <Box sx={{ minHeight: 0, display: 'flex', flexDirection: 'column' }}>\n <Typography\n sx={{\n mb: 1,\n color: '#344054',\n fontSize: 12,\n fontWeight: 600,\n lineHeight: 1.4,\n flexShrink: 0,\n }}\n >\n Decision Making Factors\n </Typography>\n\n <Stack spacing={0.75} sx={{ minHeight: 0, display: 'flex', flexDirection: 'column' }}>\n {evidence.map((item, index) => (\n <Stack\n key={`evidence-${index}`}\n direction=\"row\"\n alignItems=\"flex-start\"\n spacing={0.75}\n >\n <Typography\n component=\"span\"\n sx={{\n flex: '0 0 auto',\n minWidth: 14,\n color: '#475467',\n fontSize: 11.5,\n lineHeight: 1.65,\n }}\n >\n {index + 1}.\n </Typography>\n\n <Box\n sx={{\n flex: 1,\n minWidth: 0,\n color: '#667085',\n fontSize: 11.5,\n lineHeight: 1.65,\n\n '& p': {\n m: 0,\n color: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n },\n }}\n >\n <MarkdownRenderer\n value={`<summary>${item}</summary>`}\n styles={listItemMarkdownStyles}\n />\n </Box>\n </Stack>\n ))}\n </Stack>\n </Box>\n )}\n\n {evidence.length > 0 && gaps.length > 0 && (\n <Divider\n sx={{\n my: '2px !important',\n borderColor: '#E4E7EC',\n }}\n />\n )}\n\n {gaps.length > 0 && (\n <Box sx={{ minHeight: 0, display: 'flex', flexDirection: 'column' }}>\n <Typography\n sx={{\n mb: 1,\n color: '#344054',\n fontSize: 12,\n fontWeight: 600,\n lineHeight: 1.4,\n flexShrink: 0,\n }}\n >\n Gaps in Decision\n </Typography>\n\n <Stack spacing={0.75} sx={{ minHeight: 0, display: 'flex', flexDirection: 'column' }}>\n {gaps.map((item, index) => (\n <Stack\n key={`gap-${index}`}\n direction=\"row\"\n alignItems=\"flex-start\"\n spacing={0.75}\n >\n <Typography\n component=\"span\"\n sx={{\n flex: '0 0 auto',\n minWidth: 14,\n color: '#475467',\n fontSize: 11.5,\n lineHeight: 1.65,\n }}\n >\n {index + 1}.\n </Typography>\n\n <Box\n sx={{\n flex: 1,\n minWidth: 0,\n color: '#667085',\n fontSize: 11.5,\n lineHeight: 1.65,\n\n '& p': {\n m: 0,\n color: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n },\n }}\n >\n <MarkdownRenderer\n value={`<summary>${item}</summary>`}\n styles={listItemMarkdownStyles}\n />\n </Box>\n </Stack>\n ))}\n </Stack>\n </Box>\n )}\n </Stack>\n </Box>\n </Stack>\n </Paper>\n );\n}\n"],"names":["mergeSx","base","override","Array","isArray","CognitiveIntegrity","reasons","reason","gap","score","cognitiveScore","headerName","onBack","onClose","showCloseButton","width","maxWidth","className","styles","evidence","filter","item","type","trim","toLowerCase","map","text","Boolean","gaps","legacyReason","legacyGap","length","push","markdownStyles","markdown","containerWrapper","display","height","minHeight","maxHeight","flex","mainCard","padding","border","borderRadius","boxShadow","backgroundColor","scrollArea","overflowY","paddingRight","color","fontSize","lineHeight","list","margin","listItemMarkdownStyles","summary","jsx","Paper","elevation","sx","alignSelf","bgcolor","overflow","boxSizing","root","children","jsxs","Stack","spacing","p","flexDirection","direction","alignItems","header","IconButton","size","onClick","ChevronLeftIcon","CognitiveIcon","Typography","fontWeight","textTransform","CognitiveScoreBadge","disabled","CloseIcon","Divider","m","Box","px","py","content","mb","flexShrink","index","component","minWidth","MarkdownRenderer","value","my","borderColor"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"tslib";import{jsx as o}from"react/jsx-runtime";import e from"@mui/material/Box";import{getReviewScoreBand as t}from"./reviewScore.js";function i(i){var n=i.score;if(null==n||"string"==typeof n&&""===n.trim())return null;var m="number"==typeof n?"".concat(n,"%"):n,l=t("number"==typeof n||"string"==typeof n?n:null),p="low"===l?"#B91C1C":"medium"===l?"#997800":"high"===l?"#4F9E6C":"#374151";return o(e,r({component:"span",sx:{px:.625,py:0,border:"1.5px solid",borderColor:p,borderRadius:10,color:p,fontSize:11,lineHeight:1.25}},{children:m}))}export{i as default};
1
+ import{jsx as r}from"react/jsx-runtime";import o from"@mui/material/Box";import{getReviewScoreBand as e}from"./reviewScore.js";function t({score:t}){if(null==t||"string"==typeof t&&""===t.trim())return null;const n="number"==typeof t?`${t}%`:t;return e("number"==typeof t||"string"==typeof t?t:null),r(o,{component:"span",sx:{px:.625,py:0,border:"1.5px solid",borderColor:"#5925DC",borderRadius:10,color:"#5925DC",fontSize:11,lineHeight:1.25},children:n})}export{t as default};
2
2
  //# sourceMappingURL=CognitiveScoreBadge.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CognitiveScoreBadge.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"CognitiveScoreBadge.js","sources":["../../../src/features/SegmentReviewComponents/CognitiveScoreBadge.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport Box from '@mui/material/Box';\nimport { getReviewScoreBand } from './reviewScore';\n\nexport interface CognitiveScoreBadgeProps {\n score?: ReactNode;\n}\n\n/** Displays numeric scores as percentages while preserving backend-formatted strings. */\nexport default function CognitiveScoreBadge({ score }: CognitiveScoreBadgeProps) {\n if (score == null || (typeof score === 'string' && score.trim() === '')) {\n return null;\n }\n\n const displayScore = typeof score === 'number' ? `${score}%` : score;\n const scoreBand = getReviewScoreBand(\n typeof score === 'number' || typeof score === 'string' ? score : null\n );\n const scoreColor = scoreBand === 'low'\n ? '#B91C1C'\n : scoreBand === 'medium'\n ? '#997800'\n : scoreBand === 'high'\n ? '#4F9E6C'\n : '#374151';\n\n return (\n <Box\n component=\"span\"\n sx={{\n px: 0.625,\n py: 0,\n border: '1.5px solid',\n borderColor: \"#5925DC\",\n borderRadius: 10,\n color: \"#5925DC\",\n fontSize: 11,\n lineHeight: 1.25,\n }}\n >\n {displayScore}\n </Box>\n );\n}\n"],"names":["CognitiveScoreBadge","score","trim","displayScore","getReviewScoreBand","jsx","Box","component","sx","px","py","border","borderColor","borderRadius","color","fontSize","lineHeight","children"],"mappings":"+HASwB,SAAAA,GAAoBC,MAAEA,IACxC,GAAS,MAATA,GAAmC,iBAAVA,GAAuC,KAAjBA,EAAMC,OAChD,OAAA,KAGT,MAAMC,EAAgC,iBAAVF,EAAqB,GAAGA,KAAWA,EAa7D,OAZgBG,EACC,iBAAVH,GAAuC,iBAAVA,EAAqBA,EAAQ,MAWjEI,EAACC,EAAA,CACCC,UAAU,OACVC,GAAI,CACFC,GAAI,KACJC,GAAI,EACJC,OAAQ,cACRC,YAAa,UACbC,aAAc,GACdC,MAAO,UACPC,SAAU,GACVC,WAAY,MAGbC,SAAAd,GAGP"}