@e-llm-studio/requirement-ai 0.0.246 → 0.0.248

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 (1183) hide show
  1. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  2. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  3. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  4. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  5. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +2 -0
  6. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js.map +1 -0
  7. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
  8. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  9. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  10. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js +2 -0
  11. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js.map +1 -0
  12. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  13. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +2 -0
  14. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js.map +1 -0
  15. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +2 -0
  16. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js.map +1 -0
  17. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +2 -0
  18. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js.map +1 -0
  19. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +2 -0
  20. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js.map +1 -0
  21. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  22. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  23. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  24. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +1 -1
  25. package/dist/cjs/index.js +1 -1
  26. package/dist/cjs/service/redlineService.js +1 -1
  27. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  28. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  29. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  30. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  31. package/dist/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +2 -0
  32. package/dist/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js.map +1 -0
  33. package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
  34. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
  35. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  36. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js +2 -0
  37. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.js.map +1 -0
  38. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  39. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +2 -0
  40. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js.map +1 -0
  41. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +2 -0
  42. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js.map +1 -0
  43. package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +2 -0
  44. package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js.map +1 -0
  45. package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +2 -0
  46. package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js.map +1 -0
  47. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  48. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  49. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  50. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +1 -1
  51. package/dist/index.js +1 -1
  52. package/dist/service/redlineService.js +1 -1
  53. package/dist/types/src/RedlineEditorTest.d.ts.map +1 -1
  54. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +11 -2
  55. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  56. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts +8 -0
  57. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
  58. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +1 -1
  59. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  60. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -1
  61. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.d.ts +13 -0
  62. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.d.ts.map +1 -0
  63. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts +17 -13
  64. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts.map +1 -1
  65. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts.map +1 -1
  66. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +15 -3
  67. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -1
  68. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.d.ts +10 -0
  69. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineToast.d.ts.map +1 -0
  70. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +4 -2
  71. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  72. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts +14 -0
  73. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts.map +1 -0
  74. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.d.ts +10 -0
  75. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.d.ts.map +1 -0
  76. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts +30 -0
  77. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts.map +1 -0
  78. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/index.d.ts +4 -0
  79. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/index.d.ts.map +1 -0
  80. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts +2 -0
  81. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts.map +1 -0
  82. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +1 -1
  83. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +2 -1
  84. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
  85. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +2 -1
  86. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
  87. package/dist/types/src/index.d.ts +1 -0
  88. package/dist/types/src/index.d.ts.map +1 -1
  89. package/dist/types/src/service/redlineService.d.ts +6 -0
  90. package/dist/types/src/service/redlineService.d.ts.map +1 -1
  91. package/package.json +8 -1
  92. package/dist/assests/svg/ButtonCognitiveIcon.js +0 -2
  93. package/dist/assests/svg/ButtonCognitiveIcon.js.map +0 -1
  94. package/dist/assests/svg/PdfViewerIcons.js +0 -2
  95. package/dist/assests/svg/PdfViewerIcons.js.map +0 -1
  96. package/dist/assests/svg/SparkleIcon.js +0 -2
  97. package/dist/assests/svg/SparkleIcon.js.map +0 -1
  98. package/dist/assests/svg/chevronDownArrow.svg.js +0 -2
  99. package/dist/assests/svg/chevronDownArrow.svg.js.map +0 -1
  100. package/dist/assests/svg/chevronUp.svg.js +0 -2
  101. package/dist/assests/svg/chevronUp.svg.js.map +0 -1
  102. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +0 -2
  103. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +0 -1
  104. package/dist/cjs/assests/svg/PdfViewerIcons.js +0 -2
  105. package/dist/cjs/assests/svg/PdfViewerIcons.js.map +0 -1
  106. package/dist/cjs/assests/svg/SparkleIcon.js +0 -2
  107. package/dist/cjs/assests/svg/SparkleIcon.js.map +0 -1
  108. package/dist/cjs/assests/svg/chevronDownArrow.svg.js +0 -2
  109. package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +0 -1
  110. package/dist/cjs/assests/svg/chevronUp.svg.js +0 -2
  111. package/dist/cjs/assests/svg/chevronUp.svg.js.map +0 -1
  112. package/dist/cjs/constants/diagnosticStylesBySeverity.js +0 -2
  113. package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +0 -1
  114. package/dist/cjs/features/BookCitation/BookCitation.js +0 -2
  115. package/dist/cjs/features/BookCitation/BookCitation.js.map +0 -1
  116. package/dist/cjs/features/BookCitation/BookCitation.module.css.js +0 -2
  117. package/dist/cjs/features/BookCitation/BookCitation.module.css.js.map +0 -1
  118. package/dist/cjs/features/BookCitation/text-cleaner.js +0 -2
  119. package/dist/cjs/features/BookCitation/text-cleaner.js.map +0 -1
  120. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +0 -2
  121. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +0 -1
  122. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +0 -2
  123. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +0 -1
  124. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +0 -2
  125. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +0 -1
  126. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +0 -2
  127. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +0 -1
  128. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +0 -2
  129. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +0 -1
  130. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +0 -2
  131. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +0 -1
  132. package/dist/cjs/features/Bookemon/Bookemon.js +0 -2
  133. package/dist/cjs/features/Bookemon/Bookemon.js.map +0 -1
  134. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +0 -2
  135. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +0 -1
  136. package/dist/cjs/features/Bookemon/BookemonContent.js +0 -2
  137. package/dist/cjs/features/Bookemon/BookemonContent.js.map +0 -1
  138. package/dist/cjs/features/Bookemon/utils/highlight.js +0 -2
  139. package/dist/cjs/features/Bookemon/utils/highlight.js.map +0 -1
  140. package/dist/cjs/features/ChatCitation/BigQueryTable.js +0 -2
  141. package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +0 -1
  142. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +0 -2
  143. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +0 -1
  144. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +0 -2
  145. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +0 -1
  146. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js +0 -2
  147. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +0 -1
  148. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js +0 -2
  149. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +0 -1
  150. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +0 -2
  151. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +0 -1
  152. package/dist/cjs/features/ChatCitation/components/ChatCitation.js +0 -2
  153. package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +0 -1
  154. package/dist/cjs/features/ChatCitation/components/Chip.js +0 -2
  155. package/dist/cjs/features/ChatCitation/components/Chip.js.map +0 -1
  156. package/dist/cjs/features/ChatCitation/components/DetailedView.js +0 -2
  157. package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +0 -1
  158. package/dist/cjs/features/ChatCitation/components/IconContainer.js +0 -2
  159. package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +0 -1
  160. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +0 -2
  161. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +0 -1
  162. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +0 -2
  163. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +0 -1
  164. package/dist/cjs/features/ChatCitation/components/RuleBook.js +0 -2
  165. package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +0 -1
  166. package/dist/cjs/features/ChatCitation/components/SummarizedView.js +0 -2
  167. package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +0 -1
  168. package/dist/cjs/features/ChatCitation/components/UserChatItem.js +0 -2
  169. package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +0 -1
  170. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +0 -2
  171. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +0 -1
  172. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +0 -2
  173. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +0 -1
  174. package/dist/cjs/features/ChatCitation/constants/renderer.js +0 -2
  175. package/dist/cjs/features/ChatCitation/constants/renderer.js.map +0 -1
  176. package/dist/cjs/features/ChatCitation/utils/helpers.js +0 -2
  177. package/dist/cjs/features/ChatCitation/utils/helpers.js.map +0 -1
  178. package/dist/cjs/features/ChatDrawer/ChatDrawer.js +0 -2
  179. package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +0 -1
  180. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js +0 -2
  181. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +0 -1
  182. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +0 -2
  183. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +0 -1
  184. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +0 -2
  185. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js.map +0 -1
  186. package/dist/cjs/features/CitationViewer/CitationsViewer.js +0 -2
  187. package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +0 -1
  188. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +0 -2
  189. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +0 -1
  190. package/dist/cjs/features/CitationViewer/components/Header.js +0 -2
  191. package/dist/cjs/features/CitationViewer/components/Header.js.map +0 -1
  192. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +0 -2
  193. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +0 -1
  194. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +0 -2
  195. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js.map +0 -1
  196. package/dist/cjs/features/CitationViewer/components/Transcript.js +0 -2
  197. package/dist/cjs/features/CitationViewer/components/Transcript.js.map +0 -1
  198. package/dist/cjs/features/CitationViewer/config/apiConfig.js +0 -2
  199. package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +0 -1
  200. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +0 -2
  201. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +0 -1
  202. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +0 -2
  203. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +0 -1
  204. package/dist/cjs/features/CodeCitation/CodeCitation.js +0 -2
  205. package/dist/cjs/features/CodeCitation/CodeCitation.js.map +0 -1
  206. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +0 -2
  207. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js.map +0 -1
  208. package/dist/cjs/features/CodeCitation/_components/Accordian.js +0 -2
  209. package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +0 -1
  210. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +0 -2
  211. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +0 -1
  212. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +0 -2
  213. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +0 -1
  214. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +0 -2
  215. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +0 -1
  216. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +0 -2
  217. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +0 -1
  218. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +0 -2
  219. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +0 -1
  220. package/dist/cjs/features/CodeCitation/_components/Spinner.js +0 -2
  221. package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +0 -1
  222. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +0 -2
  223. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +0 -1
  224. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +0 -2
  225. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +0 -1
  226. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +0 -2
  227. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +0 -1
  228. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +0 -2
  229. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +0 -1
  230. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +0 -2
  231. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +0 -1
  232. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +0 -2
  233. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +0 -1
  234. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +0 -2
  235. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +0 -1
  236. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +0 -2
  237. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +0 -1
  238. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +0 -2
  239. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +0 -1
  240. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js +0 -2
  241. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +0 -1
  242. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +0 -2
  243. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +0 -1
  244. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +0 -2
  245. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +0 -1
  246. package/dist/cjs/features/CognitiveCompare/CompareContext.js +0 -2
  247. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +0 -1
  248. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +0 -2
  249. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +0 -1
  250. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +0 -2
  251. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +0 -1
  252. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +0 -2
  253. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +0 -1
  254. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +0 -2
  255. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +0 -1
  256. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +0 -2
  257. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +0 -1
  258. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +0 -2
  259. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +0 -1
  260. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +0 -2
  261. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +0 -1
  262. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +0 -2
  263. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +0 -1
  264. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +0 -2
  265. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +0 -1
  266. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +0 -2
  267. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +0 -1
  268. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +0 -2
  269. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +0 -1
  270. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +0 -2
  271. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +0 -1
  272. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +0 -2
  273. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +0 -1
  274. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +0 -2
  275. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +0 -1
  276. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +0 -2
  277. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +0 -1
  278. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +0 -2
  279. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +0 -1
  280. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +0 -2
  281. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +0 -1
  282. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +0 -2
  283. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +0 -1
  284. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +0 -2
  285. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +0 -1
  286. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +0 -2
  287. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +0 -1
  288. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +0 -2
  289. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +0 -1
  290. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +0 -2
  291. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +0 -1
  292. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +0 -2
  293. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +0 -1
  294. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +0 -2
  295. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +0 -1
  296. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +0 -2
  297. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +0 -1
  298. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +0 -2
  299. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js.map +0 -1
  300. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +0 -2
  301. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +0 -1
  302. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +0 -2
  303. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js.map +0 -1
  304. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +0 -2
  305. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +0 -1
  306. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +0 -2
  307. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +0 -1
  308. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +0 -2
  309. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +0 -1
  310. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +0 -2
  311. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js.map +0 -1
  312. package/dist/cjs/features/ExcelCitation/ExcelCitations.js +0 -2
  313. package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +0 -1
  314. package/dist/cjs/features/ExcelCitation/utils/helper.js +0 -2
  315. package/dist/cjs/features/ExcelCitation/utils/helper.js.map +0 -1
  316. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +0 -2
  317. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +0 -1
  318. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +0 -2
  319. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js.map +0 -1
  320. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +0 -2
  321. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +0 -1
  322. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +0 -2
  323. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +0 -1
  324. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +0 -2
  325. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js.map +0 -1
  326. package/dist/cjs/features/ManageRemainders/ManageReminders.js +0 -2
  327. package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +0 -1
  328. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +0 -2
  329. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +0 -1
  330. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +0 -2
  331. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +0 -1
  332. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +0 -2
  333. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js.map +0 -1
  334. package/dist/cjs/features/PaginatedTable/PaginatedTable.js +0 -2
  335. package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +0 -1
  336. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +0 -2
  337. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js.map +0 -1
  338. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +0 -2
  339. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +0 -1
  340. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +0 -2
  341. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js.map +0 -1
  342. package/dist/cjs/features/PdfViewer/PdfContainer.js +0 -2
  343. package/dist/cjs/features/PdfViewer/PdfContainer.js.map +0 -1
  344. package/dist/cjs/features/PdfViewer/PdfStyle.js +0 -2
  345. package/dist/cjs/features/PdfViewer/PdfStyle.js.map +0 -1
  346. package/dist/cjs/features/PdfViewer/PdfToolbar.js +0 -2
  347. package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +0 -1
  348. package/dist/cjs/features/PdfViewer/PdfViewer.js +0 -2
  349. package/dist/cjs/features/PdfViewer/PdfViewer.js.map +0 -1
  350. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +0 -2
  351. package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +0 -1
  352. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +0 -2
  353. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +0 -1
  354. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +0 -2
  355. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js.map +0 -1
  356. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +0 -2
  357. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +0 -1
  358. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +0 -2
  359. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +0 -1
  360. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +0 -2
  361. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +0 -1
  362. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +0 -2
  363. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js.map +0 -1
  364. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +0 -2
  365. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +0 -1
  366. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +0 -2
  367. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js.map +0 -1
  368. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +0 -2
  369. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +0 -1
  370. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +0 -2
  371. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js.map +0 -1
  372. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +0 -2
  373. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +0 -1
  374. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +0 -2
  375. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js.map +0 -1
  376. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +0 -2
  377. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +0 -1
  378. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +0 -2
  379. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +0 -1
  380. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +0 -2
  381. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +0 -1
  382. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +0 -2
  383. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +0 -1
  384. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +0 -2
  385. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +0 -1
  386. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +0 -2
  387. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +0 -1
  388. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +0 -2
  389. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +0 -1
  390. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +0 -2
  391. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +0 -1
  392. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +0 -2
  393. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +0 -1
  394. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +0 -2
  395. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +0 -1
  396. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +0 -2
  397. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +0 -1
  398. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +0 -2
  399. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js.map +0 -1
  400. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +0 -2
  401. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +0 -1
  402. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +0 -2
  403. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js.map +0 -1
  404. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +0 -2
  405. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +0 -1
  406. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +0 -2
  407. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js.map +0 -1
  408. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +0 -2
  409. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +0 -1
  410. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +0 -2
  411. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js.map +0 -1
  412. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +0 -2
  413. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +0 -1
  414. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +0 -2
  415. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js.map +0 -1
  416. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +0 -2
  417. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +0 -1
  418. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +0 -2
  419. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js.map +0 -1
  420. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +0 -2
  421. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +0 -1
  422. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +0 -2
  423. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js.map +0 -1
  424. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +0 -2
  425. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +0 -1
  426. package/dist/cjs/features/TableCitation/TableCitationContent.js +0 -2
  427. package/dist/cjs/features/TableCitation/TableCitationContent.js.map +0 -1
  428. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +0 -2
  429. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js.map +0 -1
  430. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +0 -2
  431. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +0 -1
  432. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +0 -2
  433. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js.map +0 -1
  434. package/dist/cjs/utils/codeCitations.utils.js +0 -2
  435. package/dist/cjs/utils/codeCitations.utils.js.map +0 -1
  436. package/dist/cjs/utils/sanitizeHtml.js +0 -2
  437. package/dist/cjs/utils/sanitizeHtml.js.map +0 -1
  438. package/dist/cjs/utils/themeManager.js +0 -2
  439. package/dist/cjs/utils/themeManager.js.map +0 -1
  440. package/dist/constants/diagnosticStylesBySeverity.js +0 -2
  441. package/dist/constants/diagnosticStylesBySeverity.js.map +0 -1
  442. package/dist/features/BookCitation/BookCitation.js +0 -2
  443. package/dist/features/BookCitation/BookCitation.js.map +0 -1
  444. package/dist/features/BookCitation/BookCitation.module.css.js +0 -2
  445. package/dist/features/BookCitation/BookCitation.module.css.js.map +0 -1
  446. package/dist/features/BookCitation/text-cleaner.js +0 -2
  447. package/dist/features/BookCitation/text-cleaner.js.map +0 -1
  448. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +0 -2
  449. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +0 -1
  450. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +0 -2
  451. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +0 -1
  452. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +0 -2
  453. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +0 -1
  454. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +0 -2
  455. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +0 -1
  456. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +0 -2
  457. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +0 -1
  458. package/dist/features/Bookemon/BookPreview/BookPreview.js +0 -2
  459. package/dist/features/Bookemon/BookPreview/BookPreview.js.map +0 -1
  460. package/dist/features/Bookemon/Bookemon.js +0 -2
  461. package/dist/features/Bookemon/Bookemon.js.map +0 -1
  462. package/dist/features/Bookemon/BookemonCitationLayer.js +0 -2
  463. package/dist/features/Bookemon/BookemonCitationLayer.js.map +0 -1
  464. package/dist/features/Bookemon/BookemonContent.js +0 -2
  465. package/dist/features/Bookemon/BookemonContent.js.map +0 -1
  466. package/dist/features/Bookemon/utils/highlight.js +0 -2
  467. package/dist/features/Bookemon/utils/highlight.js.map +0 -1
  468. package/dist/features/ChatCitation/BigQueryTable.js +0 -2
  469. package/dist/features/ChatCitation/BigQueryTable.js.map +0 -1
  470. package/dist/features/ChatCitation/ChatCitationRenderer.js +0 -2
  471. package/dist/features/ChatCitation/ChatCitationRenderer.js.map +0 -1
  472. package/dist/features/ChatCitation/InternalChatCitationRenderer.js +0 -2
  473. package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +0 -1
  474. package/dist/features/ChatCitation/assets/cw_chat.svg.js +0 -2
  475. package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +0 -1
  476. package/dist/features/ChatCitation/assets/message-chat-square.svg.js +0 -2
  477. package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +0 -1
  478. package/dist/features/ChatCitation/components/AssistantChatItem.js +0 -2
  479. package/dist/features/ChatCitation/components/AssistantChatItem.js.map +0 -1
  480. package/dist/features/ChatCitation/components/ChatCitation.js +0 -2
  481. package/dist/features/ChatCitation/components/ChatCitation.js.map +0 -1
  482. package/dist/features/ChatCitation/components/Chip.js +0 -2
  483. package/dist/features/ChatCitation/components/Chip.js.map +0 -1
  484. package/dist/features/ChatCitation/components/DetailedView.js +0 -2
  485. package/dist/features/ChatCitation/components/DetailedView.js.map +0 -1
  486. package/dist/features/ChatCitation/components/IconContainer.js +0 -2
  487. package/dist/features/ChatCitation/components/IconContainer.js.map +0 -1
  488. package/dist/features/ChatCitation/components/InViewNavigation.js +0 -2
  489. package/dist/features/ChatCitation/components/InViewNavigation.js.map +0 -1
  490. package/dist/features/ChatCitation/components/MarkdownRenderer.js +0 -2
  491. package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +0 -1
  492. package/dist/features/ChatCitation/components/RuleBook.js +0 -2
  493. package/dist/features/ChatCitation/components/RuleBook.js.map +0 -1
  494. package/dist/features/ChatCitation/components/SummarizedView.js +0 -2
  495. package/dist/features/ChatCitation/components/SummarizedView.js.map +0 -1
  496. package/dist/features/ChatCitation/components/UserChatItem.js +0 -2
  497. package/dist/features/ChatCitation/components/UserChatItem.js.map +0 -1
  498. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +0 -2
  499. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +0 -1
  500. package/dist/features/ChatCitation/components/wrappers/Modal.js +0 -2
  501. package/dist/features/ChatCitation/components/wrappers/Modal.js.map +0 -1
  502. package/dist/features/ChatCitation/constants/renderer.js +0 -2
  503. package/dist/features/ChatCitation/constants/renderer.js.map +0 -1
  504. package/dist/features/ChatCitation/utils/helpers.js +0 -2
  505. package/dist/features/ChatCitation/utils/helpers.js.map +0 -1
  506. package/dist/features/ChatDrawer/ChatDrawer.js +0 -2
  507. package/dist/features/ChatDrawer/ChatDrawer.js.map +0 -1
  508. package/dist/features/ChatDrawer/constants/ChatDrawer.js +0 -2
  509. package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +0 -1
  510. package/dist/features/CitationRenderer/MarkdownRenderer.js +0 -2
  511. package/dist/features/CitationRenderer/MarkdownRenderer.js.map +0 -1
  512. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +0 -2
  513. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js.map +0 -1
  514. package/dist/features/CitationViewer/CitationsViewer.js +0 -2
  515. package/dist/features/CitationViewer/CitationsViewer.js.map +0 -1
  516. package/dist/features/CitationViewer/components/AudioWaveform.js +0 -2
  517. package/dist/features/CitationViewer/components/AudioWaveform.js.map +0 -1
  518. package/dist/features/CitationViewer/components/Header.js +0 -2
  519. package/dist/features/CitationViewer/components/Header.js.map +0 -1
  520. package/dist/features/CitationViewer/components/KeyTakeaways.js +0 -2
  521. package/dist/features/CitationViewer/components/KeyTakeaways.js.map +0 -1
  522. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +0 -2
  523. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js.map +0 -1
  524. package/dist/features/CitationViewer/components/Transcript.js +0 -2
  525. package/dist/features/CitationViewer/components/Transcript.js.map +0 -1
  526. package/dist/features/CitationViewer/config/apiConfig.js +0 -2
  527. package/dist/features/CitationViewer/config/apiConfig.js.map +0 -1
  528. package/dist/features/CitationViewer/hooks/getSignedUrl.js +0 -2
  529. package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +0 -1
  530. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +0 -2
  531. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +0 -1
  532. package/dist/features/CodeCitation/CodeCitation.js +0 -2
  533. package/dist/features/CodeCitation/CodeCitation.js.map +0 -1
  534. package/dist/features/CodeCitation/CodeCitation.module.css.js +0 -2
  535. package/dist/features/CodeCitation/CodeCitation.module.css.js.map +0 -1
  536. package/dist/features/CodeCitation/_components/Accordian.js +0 -2
  537. package/dist/features/CodeCitation/_components/Accordian.js.map +0 -1
  538. package/dist/features/CodeCitation/_components/CodeCitationPopup.js +0 -2
  539. package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +0 -1
  540. package/dist/features/CodeCitation/_components/CodeCitationsStats.js +0 -2
  541. package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +0 -1
  542. package/dist/features/CodeCitation/_components/CodeEditor.js +0 -2
  543. package/dist/features/CodeCitation/_components/CodeEditor.js.map +0 -1
  544. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +0 -2
  545. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +0 -1
  546. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +0 -2
  547. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +0 -1
  548. package/dist/features/CodeCitation/_components/Spinner.js +0 -2
  549. package/dist/features/CodeCitation/_components/Spinner.js.map +0 -1
  550. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +0 -2
  551. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +0 -1
  552. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +0 -2
  553. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +0 -1
  554. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +0 -2
  555. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +0 -1
  556. package/dist/features/CodeCitation/_components/ThemeToggle.js +0 -2
  557. package/dist/features/CodeCitation/_components/ThemeToggle.js.map +0 -1
  558. package/dist/features/CodeCitation/_components/TooltipComponent.js +0 -2
  559. package/dist/features/CodeCitation/_components/TooltipComponent.js.map +0 -1
  560. package/dist/features/CognitiveCompare/CitationAnchor.js +0 -2
  561. package/dist/features/CognitiveCompare/CitationAnchor.js.map +0 -1
  562. package/dist/features/CognitiveCompare/CitationRenderer.js +0 -2
  563. package/dist/features/CognitiveCompare/CitationRenderer.js.map +0 -1
  564. package/dist/features/CognitiveCompare/CognitiveCompare.js +0 -2
  565. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +0 -1
  566. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +0 -2
  567. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +0 -1
  568. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +0 -2
  569. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +0 -1
  570. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +0 -2
  571. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +0 -1
  572. package/dist/features/CognitiveCompare/CognitivePopup.js +0 -2
  573. package/dist/features/CognitiveCompare/CognitivePopup.js.map +0 -1
  574. package/dist/features/CognitiveCompare/CompareContext.js +0 -2
  575. package/dist/features/CognitiveCompare/CompareContext.js.map +0 -1
  576. package/dist/features/CognitiveCompare/LoaderComponent.js +0 -2
  577. package/dist/features/CognitiveCompare/LoaderComponent.js.map +0 -1
  578. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +0 -2
  579. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +0 -1
  580. package/dist/features/CognitiveCompare/OverlayComponent.js +0 -2
  581. package/dist/features/CognitiveCompare/OverlayComponent.js.map +0 -1
  582. package/dist/features/CognitiveCompare/ResizableSplitPane.js +0 -2
  583. package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +0 -1
  584. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +0 -2
  585. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +0 -1
  586. package/dist/features/CognitiveCompare/components/CompareHeader.js +0 -2
  587. package/dist/features/CognitiveCompare/components/CompareHeader.js.map +0 -1
  588. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +0 -2
  589. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +0 -1
  590. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +0 -2
  591. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +0 -1
  592. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +0 -2
  593. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +0 -1
  594. package/dist/features/CognitiveCompare/components/SectionAccordion.js +0 -2
  595. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +0 -1
  596. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +0 -2
  597. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +0 -1
  598. package/dist/features/CognitiveCompare/components/SvgConnectors.js +0 -2
  599. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +0 -1
  600. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +0 -2
  601. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +0 -1
  602. package/dist/features/CognitiveCompare/components/connectedLines.js +0 -2
  603. package/dist/features/CognitiveCompare/components/connectedLines.js.map +0 -1
  604. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +0 -2
  605. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +0 -1
  606. package/dist/features/CognitiveCompare/hooks/useAccordionState.js +0 -2
  607. package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +0 -1
  608. package/dist/features/CognitiveCompare/hooks/useCompareData.js +0 -2
  609. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +0 -1
  610. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +0 -2
  611. package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +0 -1
  612. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +0 -2
  613. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +0 -1
  614. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +0 -2
  615. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +0 -1
  616. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +0 -2
  617. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +0 -1
  618. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +0 -2
  619. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +0 -1
  620. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +0 -2
  621. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +0 -1
  622. package/dist/features/CognitiveCompare/hooks/useStyles.js +0 -2
  623. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +0 -1
  624. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +0 -2
  625. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +0 -1
  626. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +0 -2
  627. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js.map +0 -1
  628. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +0 -2
  629. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +0 -1
  630. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +0 -2
  631. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js.map +0 -1
  632. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +0 -2
  633. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +0 -1
  634. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +0 -2
  635. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +0 -1
  636. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +0 -2
  637. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +0 -1
  638. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +0 -2
  639. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js.map +0 -1
  640. package/dist/features/ExcelCitation/ExcelCitations.js +0 -2
  641. package/dist/features/ExcelCitation/ExcelCitations.js.map +0 -1
  642. package/dist/features/ExcelCitation/utils/helper.js +0 -2
  643. package/dist/features/ExcelCitation/utils/helper.js.map +0 -1
  644. package/dist/features/IngestionStatus/IngestionStatusComponent.js +0 -2
  645. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +0 -1
  646. package/dist/features/IngestionStatus/ingestion.module.css.js +0 -2
  647. package/dist/features/IngestionStatus/ingestion.module.css.js.map +0 -1
  648. package/dist/features/IngestionStatus/useIngestionStatus.js +0 -2
  649. package/dist/features/IngestionStatus/useIngestionStatus.js.map +0 -1
  650. package/dist/features/ManageRemainders/AssigneeCalendarView.js +0 -2
  651. package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +0 -1
  652. package/dist/features/ManageRemainders/ManageRemainder.module.css.js +0 -2
  653. package/dist/features/ManageRemainders/ManageRemainder.module.css.js.map +0 -1
  654. package/dist/features/ManageRemainders/ManageReminders.js +0 -2
  655. package/dist/features/ManageRemainders/ManageReminders.js.map +0 -1
  656. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +0 -2
  657. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +0 -1
  658. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +0 -2
  659. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +0 -1
  660. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +0 -2
  661. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js.map +0 -1
  662. package/dist/features/PaginatedTable/PaginatedTable.js +0 -2
  663. package/dist/features/PaginatedTable/PaginatedTable.js.map +0 -1
  664. package/dist/features/PaginatedTable/paginatedTable.module.css.js +0 -2
  665. package/dist/features/PaginatedTable/paginatedTable.module.css.js.map +0 -1
  666. package/dist/features/PdfEditorCitation/PdfEditorCitation.js +0 -2
  667. package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +0 -1
  668. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +0 -2
  669. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js.map +0 -1
  670. package/dist/features/PdfViewer/PdfContainer.js +0 -2
  671. package/dist/features/PdfViewer/PdfContainer.js.map +0 -1
  672. package/dist/features/PdfViewer/PdfStyle.js +0 -2
  673. package/dist/features/PdfViewer/PdfStyle.js.map +0 -1
  674. package/dist/features/PdfViewer/PdfToolbar.js +0 -2
  675. package/dist/features/PdfViewer/PdfToolbar.js.map +0 -1
  676. package/dist/features/PdfViewer/PdfViewer.js +0 -2
  677. package/dist/features/PdfViewer/PdfViewer.js.map +0 -1
  678. package/dist/features/PdfViewer/usePdfHighlight.js +0 -2
  679. package/dist/features/PdfViewer/usePdfHighlight.js.map +0 -1
  680. package/dist/features/ProjectAccordion/ProjectAccordion.js +0 -2
  681. package/dist/features/ProjectAccordion/ProjectAccordion.js.map +0 -1
  682. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +0 -2
  683. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js.map +0 -1
  684. package/dist/features/ProjectAccordion/_components/Markdown.js +0 -2
  685. package/dist/features/ProjectAccordion/_components/Markdown.js.map +0 -1
  686. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +0 -2
  687. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +0 -1
  688. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +0 -2
  689. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +0 -1
  690. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +0 -2
  691. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js.map +0 -1
  692. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +0 -2
  693. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +0 -1
  694. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +0 -2
  695. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js.map +0 -1
  696. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +0 -2
  697. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +0 -1
  698. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +0 -2
  699. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js.map +0 -1
  700. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +0 -2
  701. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +0 -1
  702. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +0 -2
  703. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js.map +0 -1
  704. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +0 -2
  705. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +0 -1
  706. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +0 -2
  707. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +0 -1
  708. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +0 -2
  709. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +0 -1
  710. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +0 -2
  711. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +0 -1
  712. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +0 -2
  713. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +0 -1
  714. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +0 -2
  715. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +0 -1
  716. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +0 -2
  717. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +0 -1
  718. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +0 -2
  719. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +0 -1
  720. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +0 -2
  721. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +0 -1
  722. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +0 -2
  723. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +0 -1
  724. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +0 -2
  725. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +0 -1
  726. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +0 -2
  727. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js.map +0 -1
  728. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +0 -2
  729. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +0 -1
  730. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +0 -2
  731. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js.map +0 -1
  732. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +0 -2
  733. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +0 -1
  734. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +0 -2
  735. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js.map +0 -1
  736. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +0 -2
  737. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +0 -1
  738. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +0 -2
  739. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js.map +0 -1
  740. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +0 -2
  741. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +0 -1
  742. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +0 -2
  743. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js.map +0 -1
  744. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +0 -2
  745. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +0 -1
  746. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +0 -2
  747. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js.map +0 -1
  748. package/dist/features/ScannedDocCitation/ScannedDocCitation.js +0 -2
  749. package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +0 -1
  750. package/dist/features/SplitterCitations/Splitter.module.css.js +0 -2
  751. package/dist/features/SplitterCitations/Splitter.module.css.js.map +0 -1
  752. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +0 -2
  753. package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +0 -1
  754. package/dist/features/TableCitation/TableCitationContent.js +0 -2
  755. package/dist/features/TableCitation/TableCitationContent.js.map +0 -1
  756. package/dist/features/TableCitation/TableCitationContent.module.css.js +0 -2
  757. package/dist/features/TableCitation/TableCitationContent.module.css.js.map +0 -1
  758. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +0 -2
  759. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +0 -1
  760. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +0 -2
  761. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js.map +0 -1
  762. package/dist/types/node_modules/react-markdown/lib/complex-types.d.ts +0 -23
  763. package/dist/types/node_modules/react-markdown/lib/complex-types.d.ts.map +0 -1
  764. package/dist/types/src/AccordianHeadTest.d.ts +0 -2
  765. package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
  766. package/dist/types/src/AutopilotStyle.d.ts +0 -2
  767. package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
  768. package/dist/types/src/BookCitationTest.d.ts +0 -3
  769. package/dist/types/src/BookCitationTest.d.ts.map +0 -1
  770. package/dist/types/src/BookemonTest.d.ts +0 -83
  771. package/dist/types/src/BookemonTest.d.ts.map +0 -1
  772. package/dist/types/src/ChatCitationTest.d.ts +0 -7
  773. package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
  774. package/dist/types/src/ChatDrawerTest.d.ts +0 -17
  775. package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
  776. package/dist/types/src/CodeCitationTest.d.ts +0 -3
  777. package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
  778. package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
  779. package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
  780. package/dist/types/src/DatagestMonTest.d.ts +0 -3
  781. package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
  782. package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
  783. package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
  784. package/dist/types/src/EmailCitationTest.d.ts +0 -3
  785. package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
  786. package/dist/types/src/ExcelCitationTest.d.ts +0 -2
  787. package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
  788. package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
  789. package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
  790. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
  791. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
  792. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
  793. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
  794. package/dist/types/src/PdfViewerTest.d.ts +0 -5
  795. package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
  796. package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
  797. package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
  798. package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
  799. package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
  800. package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
  801. package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
  802. package/dist/types/src/TableCitationTest.d.ts +0 -3
  803. package/dist/types/src/TableCitationTest.d.ts.map +0 -1
  804. package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
  805. package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
  806. package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
  807. package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
  808. package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
  809. package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
  810. package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
  811. package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
  812. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
  813. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
  814. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
  815. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
  816. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
  817. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
  818. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
  819. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
  820. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
  821. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
  822. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
  823. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
  824. package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
  825. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
  826. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
  827. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
  828. package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
  829. package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
  830. package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
  831. package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
  832. package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
  833. package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
  834. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
  835. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
  836. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
  837. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
  838. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
  839. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
  840. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
  841. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
  842. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
  843. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
  844. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -15
  845. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
  846. package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
  847. package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
  848. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
  849. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
  850. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
  851. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
  852. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
  853. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
  854. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
  855. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
  856. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
  857. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
  858. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
  859. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
  860. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
  861. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
  862. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
  863. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
  864. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
  865. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
  866. package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
  867. package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
  868. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
  869. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
  870. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -111
  871. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
  872. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
  873. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
  874. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
  875. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
  876. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
  877. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
  878. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
  879. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
  880. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
  881. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
  882. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
  883. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
  884. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
  885. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
  886. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
  887. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
  888. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
  889. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
  890. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
  891. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
  892. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
  893. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
  894. package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
  895. package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
  896. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
  897. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
  898. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
  899. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
  900. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
  901. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
  902. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
  903. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
  904. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
  905. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
  906. package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
  907. package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
  908. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -49
  909. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
  910. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
  911. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
  912. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -31
  913. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
  914. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
  915. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
  916. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
  917. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
  918. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
  919. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
  920. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
  921. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
  922. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
  923. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
  924. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
  925. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
  926. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
  927. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
  928. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
  929. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
  930. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
  931. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
  932. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
  933. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
  934. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -27
  935. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
  936. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -11
  937. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
  938. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
  939. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
  940. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
  941. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
  942. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
  943. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
  944. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -283
  945. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
  946. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -65
  947. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
  948. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
  949. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
  950. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -68
  951. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
  952. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
  953. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
  954. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -17
  955. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
  956. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
  957. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
  958. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
  959. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
  960. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
  961. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
  962. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
  963. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
  964. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
  965. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
  966. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
  967. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
  968. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
  969. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
  970. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
  971. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
  972. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -13
  973. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
  974. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -36
  975. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
  976. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
  977. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
  978. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -8
  979. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
  980. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
  981. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
  982. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
  983. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
  984. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -18
  985. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
  986. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
  987. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
  988. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
  989. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
  990. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
  991. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
  992. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
  993. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
  994. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
  995. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
  996. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
  997. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
  998. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
  999. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
  1000. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -15
  1001. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
  1002. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
  1003. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
  1004. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
  1005. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
  1006. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
  1007. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
  1008. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
  1009. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
  1010. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -16
  1011. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
  1012. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -25
  1013. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
  1014. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
  1015. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
  1016. package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
  1017. package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
  1018. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
  1019. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
  1020. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
  1021. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
  1022. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
  1023. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
  1024. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
  1025. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
  1026. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
  1027. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
  1028. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
  1029. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
  1030. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
  1031. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
  1032. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
  1033. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
  1034. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
  1035. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
  1036. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
  1037. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
  1038. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
  1039. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
  1040. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
  1041. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
  1042. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
  1043. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
  1044. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
  1045. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
  1046. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
  1047. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
  1048. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
  1049. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
  1050. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
  1051. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
  1052. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -26
  1053. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
  1054. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
  1055. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
  1056. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
  1057. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
  1058. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
  1059. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
  1060. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
  1061. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
  1062. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
  1063. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
  1064. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
  1065. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
  1066. package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
  1067. package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
  1068. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
  1069. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
  1070. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
  1071. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
  1072. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
  1073. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
  1074. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
  1075. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
  1076. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -14
  1077. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
  1078. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
  1079. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
  1080. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -26
  1081. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
  1082. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -69
  1083. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
  1084. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -26
  1085. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
  1086. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
  1087. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
  1088. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
  1089. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
  1090. package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
  1091. package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
  1092. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
  1093. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
  1094. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
  1095. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
  1096. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
  1097. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
  1098. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
  1099. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
  1100. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -24
  1101. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
  1102. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
  1103. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
  1104. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
  1105. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
  1106. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
  1107. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
  1108. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -13
  1109. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
  1110. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
  1111. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
  1112. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
  1113. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
  1114. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
  1115. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
  1116. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
  1117. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
  1118. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
  1119. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
  1120. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
  1121. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
  1122. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
  1123. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
  1124. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
  1125. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
  1126. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
  1127. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
  1128. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
  1129. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
  1130. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
  1131. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
  1132. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
  1133. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
  1134. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
  1135. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
  1136. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
  1137. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
  1138. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
  1139. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
  1140. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
  1141. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
  1142. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
  1143. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
  1144. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
  1145. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
  1146. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
  1147. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
  1148. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
  1149. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
  1150. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
  1151. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
  1152. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
  1153. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
  1154. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
  1155. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
  1156. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
  1157. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
  1158. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
  1159. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
  1160. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
  1161. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
  1162. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
  1163. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
  1164. package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
  1165. package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
  1166. package/dist/types/src/features/UploadData/main.d.ts +0 -10
  1167. package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
  1168. package/dist/types/src/methodsToExpose.d.ts +0 -13
  1169. package/dist/types/src/methodsToExpose.d.ts.map +0 -1
  1170. package/dist/types/src/routes/Routes.d.ts +0 -2
  1171. package/dist/types/src/routes/Routes.d.ts.map +0 -1
  1172. package/dist/types/src/service/DataService.d.ts +0 -73
  1173. package/dist/types/src/service/DataService.d.ts.map +0 -1
  1174. package/dist/types/src/service/ModelService.d.ts +0 -68
  1175. package/dist/types/src/service/ModelService.d.ts.map +0 -1
  1176. package/dist/types/src/service/ProjectService.d.ts +0 -16
  1177. package/dist/types/src/service/ProjectService.d.ts.map +0 -1
  1178. package/dist/utils/codeCitations.utils.js +0 -2
  1179. package/dist/utils/codeCitations.utils.js.map +0 -1
  1180. package/dist/utils/sanitizeHtml.js +0 -2
  1181. package/dist/utils/sanitizeHtml.js.map +0 -1
  1182. package/dist/utils/themeManager.js +0 -2
  1183. package/dist/utils/themeManager.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import{__assign as e,__awaiter as t,__generator as n}from"tslib";import{jsxs as i,Fragment as o,jsx as a}from"react/jsx-runtime";import r,{useRef as l,useState as s,useEffect as d}from"react";import c from"./CodeCitation.module.css.js";import u from"./_components/CodeEditor.js";import{getLanguageFromFileName as h}from"../../utils/codeCitations.utils.js";import g from"./_components/ThemeToggle.js";import m from"./_components/CodeCitationPopup.js";import p from"./_components/HighlightedCodeDetails.js";import f from"axios";import v from"./_components/Spinner.js";import{DEFAULT_DIAGNOSTIC_STYLES_BY_SEVERITY as x}from"../../constants/diagnosticStylesBySeverity.js";import{themeManager as I}from"../../utils/themeManager.js";var C=function(C){var y=C.baseUrlForCodeRetrieval,S=C.assistantName,b=C.organizationName,_=C.userId,k=C.taskId,D=C.repoUrl,P=C.inLineCitation,T=C.citationTitle,w=C.filename,F=C.filepath,H=C.citationContainerTitle,L=C.showThemeToggle,j=C.customCode,E=C.isDarkModeEnabled,B=C.chevronUpComponent,W=C.chevronDownComponent,N=C.isHighlightingEnabled,z=C.FileDetailsComponent,M=C.additionalCallbackForPillButton,V=C.CustomCodeRenderComponent,J=C.fileSummarySectionTitle,R=C.showFullscreenIcon,U=C.showFileSummaryIButton,A=C.editorHeight,O=C.editorWidth,q=C.styles,G=void 0===q?{}:q,K=C.diagnostics,Q=C.diagnosticStylesBySeverity,X=C.datasource,Y=void 0===X?"codebase":X,Z=C.externalFilesData,$=C.startIndex,ee=C.endIndex,te=l(!1),ne=h(w),ie=s(!1),oe=ie[0],ae=ie[1],re=s(function(){return I.getTheme(E)}),le=re[0],se=re[1];d(function(){return I.subscribe(se)},[]);var de=s(!1),ce=de[0],ue=de[1],he=s(!1),ge=he[0],me=he[1],pe=s(!1),fe=pe[0],ve=pe[1],xe=s(!1),Ie=xe[0],Ce=xe[1],ye=s(null),Se=ye[0],be=ye[1],_e=s(""),ke=_e[0],De=_e[1],Pe=s(""),Te=Pe[0],we=Pe[1],Fe=s({startIndex:-1,endIndex:-1}),He=Fe[0],Le=Fe[1],je=s({}),Ee=je[0],Be=je[1],We=s(!1),Ne=We[0],ze=We[1],Me=s(!1),Ve=Me[0],Je=Me[1],Re=s({startIndex:-1,endIndex:-1}),Ue=Re[0],Ae=Re[1],Oe=s({startIndex:-1,endIndex:-1}),qe=Oe[0],Ge=Oe[1],Ke=r.useMemo(function(){return e(e({},x),Q)},[Q]);d(function(){Ge({startIndex:null!=$?$:-1,endIndex:null!=ee?ee:-1})},[$,ee]),d(function(){Z&&j&&(be(Z),te.current=!0)},[Z,j]),d(function(){if("undefined"!=typeof window&&!te.current){te.current=!0;var i=new URL(F,"http://example.com"),o=i.searchParams,a=void 0!==$?$:o.has("startLine")?Number(o.get("startLine")):-1,r=void 0!==ee?ee:o.has("endLine")?Number(o.get("endLine")):-1;Ge({startIndex:a,endIndex:r}),Le({startIndex:a,endIndex:r}),Ae({startIndex:a,endIndex:r}),i.searchParams.delete("startLine"),i.searchParams.delete("endLine"),i.searchParams.delete("validation");var l=i.pathname+i.search,s=null==l?void 0:l.replace(/^\//,"");we(s),console.log("Params going to API:",{file_path:s,assistant_name:S,organization_name:b,user_id:_,task_id:k,chunks_search:!1,technical_details_only:!0,repo_url:D});j||Ne||t(void 0,void 0,void 0,function(){var t,i,o,a,r,l;return n(this,function(n){switch(n.label){case 0:Je(!1),ze(!0),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,f.get("".concat(y,"/analyzer/get_file_details"),{params:e({file_path:String(s),assistant_name:String(S),organization_name:String(b),user_id:String(_),task_id:String(k),repo_url:String(D),chunks_search:!1,technical_details_only:!0},"codebase"!==Y&&{datasource:Y})})];case 2:return t=n.sent(),i=(null==t?void 0:t.data[0])||(null==t?void 0:t.data),!Se&&i&&(be(i),Object.keys(null==t?void 0:t.data)&&(o=(null===(l=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r[0])||void 0===l?void 0:l.content)||(null==t?void 0:t.data.content),De(o))),ze(!1),[2,t.data];case 3:return a=n.sent(),Je(!0),console.error("Error in retrieving file details: ",a),[3,4];case 4:return ze(!1),[2]}})})}},[]);return i(o,{children:[i("span",e({onClick:function(e){return function(e){e.preventDefault(),e.stopPropagation(),M&&M(),ae(function(e){return!e}),ue(function(e){return!e})}(e)},className:c.pillButton,style:G.pillButton},{children:[a("span",e({style:G.citationTitle},{children:T})),P&&(oe?B:W)]})),(!P||ge)&&a(m,{open:ce,onClose:function(){Ge({startIndex:null==Ue?void 0:Ue.startIndex,endIndex:null==Ue?void 0:Ue.endIndex}),me(!1),ue(!1),Le({startIndex:-1,endIndex:-1}),Be({})},title:T,customStyles:{popupContainer:{width:"100vw",height:"100vh",borderRadius:"0.75rem",fontFamily:"Plus Jakarta Sans, sans-serif"},popupTitleContainer:{color:"#d63384",fontFamily:"Plus Jakarta Sans, sans-serif",position:"relative",textAlign:"left",fontWeight:"700"},topLeftTitle:{backgroundColor:"#f9f9f9",fontFamily:"Plus Jakarta Sans, sans-serif",fontSize:"1rem",fontWeight:"bold",padding:"5px",margin:"0px"},bottomLeftTitle:{backgroundColor:"#f9f9f9",fontFamily:"Plus Jakarta Sans, sans-serif",fontSize:"1rem",fontWeight:"bold",padding:"5px",margin:"0px"}},editorChildren:a(u,{startIndex:null==qe?void 0:qe.startIndex,endIndex:null==qe?void 0:qe.endIndex,language:ne,editorHeight:A,editorWidth:O,code:j||ke,isHighlightingEnabled:N,isDarkModeEnabled:le,highlightCodeStatsLine:He,setHighlightCodeStatsLine:Le,highlightCodeStatsVariable:Ee,setHighlightCodeStatsVariable:Be,isExpanded:oe,highlightIndexes:qe,diagnostics:K,diagnosticStylesBySeverity:Ke}),fileDetails:Se,setHighlightIndexes:Ge,highlightCodeStatsLine:He,setHighlightCodeStatsLine:Le,highlightCodeStatsVariable:Ee,setHighlightCodeStatsVariable:Be,filepath:Te,datasource:Y}),P&&oe&&a("div",e({className:c.citationWrapper,style:G.citationWrapper},{children:i("div",e({className:c.citationContent,style:G.citationContent},{children:[!fe&&H?i("div",e({className:c.citationContainerTitle,style:G.citationContainerTitle},{children:[a("span",{children:H}),L?a(g,{darkMode:le,onToggle:function(e){return function(e){e.stopPropagation(),e.preventDefault(),I.setTheme(!le)}(e)},toggleFullscreen:function(e){e.stopPropagation(),e.preventDefault(),ue(!0),me(!0)},handleOpenFileDetailSection:function(e){e.stopPropagation(),e.preventDefault(),Ce(!0)},showFullscreenIcon:R,showFileSummaryIButton:U}):a(o,{})]})):a(o,{}),i("div",e({style:{zIndex:-1e3,color:"#000",overflow:"hidden",display:"flex",flexDirection:"column",height:A,width:O,fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:[!fe&&!Ie&&V,a(Ne?v:o,{}),Ve?a("div",e({style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#242424"}},{children:"Something went wrong"})):a(o,{}),!fe&&!Ie&&!V&&!Ne&&!Ve&&a(u,{startIndex:null==qe?void 0:qe.startIndex,endIndex:null==qe?void 0:qe.endIndex,language:ne,editorHeight:A,editorWidth:O,code:null!=j?j:ke,isHighlightingEnabled:N,isDarkModeEnabled:le,openHighlightedCodeDetails:function(){ve(!0)},highlightCodeStatsVariable:Ee,setHighlightCodeStatsVariable:Be,isExpanded:oe,highlightIndexes:qe,diagnostics:K,diagnosticStylesBySeverity:Ke}),Ie&&a(p,{FileDetailsComponent:z,fileSummarySectionTitle:J,isDarkMode:le,editorHeight:A,editorWidth:O,code:null==Se?void 0:Se.content.split("\n").slice((null==qe?void 0:qe.startIndex)-1,null==qe?void 0:qe.endIndex).join("\n"),language:ne,onClose:function(e){e.stopPropagation(),e.preventDefault(),Ce(!1)},summary:null==Se?void 0:Se.summary,filepath:Te,citationTitle:T})]}))]}))}))]})};export{C as default};
2
- //# sourceMappingURL=CodeCitation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var o={pillButton:"CodeCitation-module_pillButton__pugFh",citationWrapper:"CodeCitation-module_citationWrapper__goB2r",citationContent:"CodeCitation-module_citationContent__fFlqE",bookHeader:"CodeCitation-module_bookHeader__LxVTS",bookInfo:"CodeCitation-module_bookInfo__45kX0",bookCover:"CodeCitation-module_bookCover__AGca3",title:"CodeCitation-module_title__GgfpM",author:"CodeCitation-module_author__IyoJH",scrollContainer:"CodeCitation-module_scrollContainer__iSbL4",spineLeft:"CodeCitation-module_spineLeft__8goHj",spineRight:"CodeCitation-module_spineRight__HG-aa",quoteParagraph:"CodeCitation-module_quoteParagraph__-3mva",indent:"CodeCitation-module_indent__KfIxR",pageNumber:"CodeCitation-module_pageNumber__eUsN9",citationContainerTitle:"CodeCitation-module_citationContainerTitle__Dt0Bq"};!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap");.CodeCitation-module_pillButton__pugFh{align-items:center;background-color:#1e2135;border:1px solid #344054;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-family:Plus Jakarta Sans,sans-serif;font-family:Montserrat,sans-serif;font-size:12px;font-weight:550;gap:6px;justify-content:space-between;line-height:18px;margin:8px 4px;padding:4px 8px;width:fit-content}.CodeCitation-module_citationWrapper__goB2r{display:flex;justify-content:center;margin-top:8px}.CodeCitation-module_citationContent__fFlqE{background-color:#111827;border-radius:12px;color:#fff;min-height:42rem;padding:12px;width:32rem}.CodeCitation-module_bookHeader__LxVTS{display:flex;justify-content:space-between;margin-bottom:24px}.CodeCitation-module_bookInfo__45kX0{display:flex;gap:16px}.CodeCitation-module_bookCover__AGca3{height:auto;object-fit:cover;width:40px}.CodeCitation-module_title__GgfpM{font-family:serif;font-size:1.25rem;font-weight:700}.CodeCitation-module_author__IyoJH{font-family:serif;font-size:1rem;font-weight:500}.CodeCitation-module_scrollContainer__iSbL4{background-color:#f2f0f0;border-radius:8px;color:#181b1f;font-family:Times New Roman,Times,serif;font-size:14.4px;height:100%;line-height:1.4;overflow-y:auto;padding:40px;position:relative}.CodeCitation-module_spineLeft__8goHj,.CodeCitation-module_spineRight__HG-aa{bottom:0;opacity:.5;pointer-events:none;position:absolute;top:0;width:16px;z-index:0}.CodeCitation-module_spineLeft__8goHj{background:linear-gradient(90deg,#000 0,#0009 40%,#0003 70%,#0000);box-shadow:4px 0 8px #0000001a;right:5px}.CodeCitation-module_spineRight__HG-aa{background:linear-gradient(270deg,#000 0,#000000b3 40%,#0006 70%,#0000);box-shadow:-4px 0 8px #0000001a;right:20px}.CodeCitation-module_quoteParagraph__-3mva{margin-bottom:1rem;text-align:justify}.CodeCitation-module_indent__KfIxR{text-indent:1rem}.CodeCitation-module_pageNumber__eUsN9{color:#374151;font-weight:500;padding:.5rem;text-align:center}.CodeCitation-module_citationContainerTitle__Dt0Bq{font-family:Plus Jakarta Sans,sans-serif}'));const e=document.head||document.getElementsByTagName("head")[0]||document.documentElement;e&&e.appendChild(o)}();export{o as default};
2
- //# sourceMappingURL=CodeCitation.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeCitation.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as r}from"tslib";import{jsxs as i,jsx as o}from"react/jsx-runtime";import{useState as t}from"react";var n=function(){return i("svg",r({fill:"#000000",width:"16px",height:"16px",viewBox:"0 -6 524 524",xmlns:"http://www.w3.org/2000/svg"},{children:[o("title",{children:"up"}),o("path",{d:"M460 321L426 355 262 192 98 355 64 321 262 125 460 321Z"})]}))},e=function(e){var d=e.data,p=t(!1);p[0];var a=p[1];return i("div",r({style:{borderRadius:"4px",marginBottom:"8px",width:"100%"}},{children:[i("div",r({style:{display:"inline-flex",alignItems:"center",gap:"6px",padding:"10px 12px",margin:"5px",backgroundColor:"rgba(0, 122, 204, 0.3)",borderRadius:"15px",border:"1px solid #007acc",fontSize:"13px",color:"#333",fontWeight:500,cursor:"pointer",transition:"background-color 0.3s"},onClick:function(){return a(function(r){return!r})}},{children:[d.name,o("span",r({style:{display:"inline-block",transform:"rotate(0deg)",transition:"transform 0.3s ease",fontSize:"16px"}},{children:o(n,{})}))]})),i("div",r({style:{padding:"14px 18px",marginTop:"8px",backgroundColor:"#fcfcfc",border:"1px solid #e0e0e0",borderRadius:"10px",color:"#333",fontSize:"14px",lineHeight:"1.6",boxShadow:"0 2px 6px rgba(0, 0, 0, 0.05)"}},{children:[o("div",r({style:{fontWeight:600,marginBottom:"6px",fontSize:"13px",color:"#666"}},{children:"Description:"})),o("div",{children:d.description})]}))]}))};export{e as default};
2
- //# sourceMappingURL=Accordian.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordian.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsxs as e,jsx as t}from"react/jsx-runtime";import{Close as l}from"@mui/icons-material";import o from"./CodeCitationsStats.js";import{returnCitationTitle as a,returnCodeTitle as r}from"../../../utils/codeCitations.utils.js";import n from"@mui/material/Dialog";import s from"@mui/material/IconButton";import d from"@mui/material/DialogContent";import f from"@mui/material/DialogTitle";var h=function(h){var g=h.open,c=h.onClose,p=h.title,u=h.customStyles,y=h.editorChildren,x=h.fileDetails,b=h.setHighlightIndexes,S=h.highlightCodeStatsLine,v=h.setHighlightCodeStatsLine,C=h.highlightCodeStatsVariable,k=h.setHighlightCodeStatsVariable,D=h.filepath,w=h.datasource,H=void 0===w?"codebase":w;return e(n,i({open:g,onClose:c,maxWidth:"xl",fullWidth:!0,PaperProps:{style:i({},null==u?void 0:u.popupContainer)}},{children:[e(f,i({style:(null==u?void 0:u.popupTitleContainer)||{fontFamily:"Plus Jakarta Sans, sans-serif",position:"relative",textAlign:"left",fontWeight:"bold"}},{children:[e("div",i({style:{display:"flex",flexDirection:"column"}},{children:[t("span",i({style:{fontWeight:"bold",fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:p})),e("div",i({style:{display:"flex",flexDirection:"row",gap:"5px",fontSize:"0.875rem",color:"#666",marginTop:"0.25rem"}},{children:[t("span",i({style:{fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:"File path: "})),e("span",i({style:{fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:[" ",a(D,H)]}))]}))]})),t(s,i({edge:"end",onClick:c,"aria-label":"close",style:{position:"absolute",top:5,right:16},size:"large"},{children:t(l,{})}))]})),e(d,i({style:i(i({},m.body),null==u?void 0:u.body)},{children:[t("div",i({style:(null==u?void 0:u.leftSection)||m.leftSection},{children:t(o,{datasource:H,fileDetails:x,setHighlightIndexes:b,highlightCodeStatsLine:S,setHighlightCodeStatsLine:v,highlightCodeStatsVariable:C,setHighlightCodeStatsVariable:k})})),e("div",i({style:m.rightSection},{children:[t("div",i({style:{minHeight:"4vh",fontWeight:"700",fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:r(H)})),t("div",i({style:{width:"100%",height:"100%"}},{children:y}))]}))]}))]}))},m={body:{backgroundColor:"#fff",display:"flex",gap:"1rem",flexDirection:"row",paddingTop:"1rem",paddingRight:"1rem",paddingLeft:"1rem",minHeight:"60vh",maxWidth:"100%",overflow:"hidden"},leftSection:{display:"flex",flexDirection:"column",width:"50%",background:"#f6f6f6",borderRadius:"0.375rem",fontFamily:"Plus Jakarta Sans, sans-serif",overflowY:"scroll"},topLeft:{height:"50%",background:"#f9f9f9",display:"flex",flexDirection:"column",overflowY:"auto",borderRadius:"0.375rem"},bottomLeft:{height:"50%",background:"#f9f9f9",display:"flex",flexDirection:"column",overflowY:"auto",borderRadius:"0.375rem"},rightSection:{width:"50%",minHeight:"70vh",paddingLeft:"10px",backgroundColor:"#fff",zIndex:30}};export{h as default};
2
- //# sourceMappingURL=CodeCitationPopup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeCitationPopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as o}from"tslib";import{jsxs as e,jsx as i}from"react/jsx-runtime";import{DescriptionWithToggle as t}from"./DescriptionWithToggle.js";import n from"./StatsComponents/StatsComponent.js";var d=function(o){return o.replace(/^(\s*)\*\*overview\*\*/im,"$1**Code Overview**")},r=function(r){var l,a,s,c,u,p,f,x,h,v,g,m,b,_,C=r.fileDetails,y=r.setHighlightIndexes,S=r.highlightCodeStatsLine,k=r.setHighlightCodeStatsLine,w=r.highlightCodeStatsVariable,N=r.datasource,I=r.setHighlightCodeStatsVariable,A={container:{width:"90%",margin:"0 auto",borderRadius:"4px",marginTop:"5px",paddingBottom:"10px"},descriptionsContainer:{border:"1px solid #ddd"},header:{backgroundColor:"#fff",padding:"10px 15px",borderBottom:"2px solid #f0f0f0",color:"#333",fontWeight:"bold",fontSize:"16px"},description:{padding:"15px",fontSize:"14px",lineHeight:"1.5rem",color:"#555",backgroundColor:"#fff"},metrics:{display:"flex",padding:"10px 15px",borderBottom:"1px solid #eee",gap:"20px"},metric:{display:"flex",alignItems:"center",gap:"5px",fontSize:"14px",color:"#555"},metricIcon:{color:"#6366f1",marginRight:"5px"},expandableSection:{marginTop:"10px",border:"1px solid #ddd"},sectionHeader:{padding:"15px",display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer",backgroundColor:"#fff"},sectionTitle:{fontSize:"14px",fontWeight:"bold",color:"#333"},sectionContent:{padding:"15px",fontSize:"14px",color:"#555",backgroundColor:"#fff"},tag:{display:"inline-block",padding:"10px 12px",margin:"5px",backgroundColor:"#FFF7ED",borderRadius:"15px",fontSize:"13px",color:"#555",cursor:"pointer",maxWidth:"100%",wordBreak:"break-word",overflowWrap:"anywhere",whiteSpace:"normal"},highlightTag:{display:"inline-block",padding:"10px 12px",margin:"5px",backgroundColor:"rgba(0, 122, 204, 0.3)",borderRadius:"15px",border:"1px #ff8e00",fontSize:"13px",color:"#555",cursor:"pointer",axWidth:"100%",wordBreak:"break-word",overflowWrap:"anywhere",whiteSpace:"normal"},categoryTitle:{fontSize:"14px",fontWeight:"bold",margin:"15px 5px 10px 5px",color:"#333"},tabContainer:{display:"flex",borderBottom:"1px solid #ddd",marginBottom:"10px"},tab:{padding:"8px 16px",cursor:"pointer",fontSize:"13px"},activeTab:{borderBottom:"2px solid #6366f1",color:"#6366f1"}},z={header:"Code Overview",description:d((null===(l=null==C?void 0:C.summary)||void 0===l?void 0:l.trim())||""),stats:[{header:"Total Class",count:(null===(a=null==C?void 0:C.file_stats)||void 0===a?void 0:a.classes_count)||"NA"},{header:"Total Functions",count:(null===(s=null==C?void 0:C.file_stats)||void 0===s?void 0:s.functions_count)||"NA"},{header:"Total Lines of Code",count:(null===(c=null==C?void 0:C.file_stats)||void 0===c?void 0:c.code_lines_count)||"NA"}]},T={header:"DB Overview",description:d((null===(u=null==C?void 0:C.summary)||void 0===u?void 0:u.trim())||""),stats:[{header:"Check Constraints",count:(null===(p=null==C?void 0:C.file_stats)||void 0===p?void 0:p.check_constraint_count)||"NA"},{header:"Composite Key",count:(null===(f=null==C?void 0:C.file_stats)||void 0===f?void 0:f.composite_key_count)||"NA"},{header:"Foreign Key",count:(null===(x=null==C?void 0:C.file_stats)||void 0===x?void 0:x.foreign_key_count)||"NA"},{header:"Default Constraint",count:(null===(h=null==C?void 0:C.file_stats)||void 0===h?void 0:h.default_constraint_count)||"NA"},{header:"Indexed Column",count:(null===(v=null==C?void 0:C.file_stats)||void 0===v?void 0:v.indexed_column_count)||"NA"},{header:"Not Null Constraint",count:(null===(g=null==C?void 0:C.file_stats)||void 0===g?void 0:g.not_null_constraint_count)||"NA"},{header:"Primary Key",count:(null===(m=null==C?void 0:C.file_stats)||void 0===m?void 0:m.primary_key_count)||"NA"},{header:"Regular Column",count:(null===(b=null==C?void 0:C.file_stats)||void 0===b?void 0:b.other_columns_count)||"NA"},{header:"Unique Key Constraint",count:(null===(_=null==C?void 0:C.file_stats)||void 0===_?void 0:_.unique_key_constraint_count)||"NA"}]};return e("div",{children:[e("div",o({style:{padding:"12px 16px",fontSize:"16px",fontWeight:"700"}},{children:[i("span",{children:"Codemon."}),i("span",o({style:{color:"blue"}},{children:"AI"}))]})),e("div",o({style:A.container},{children:[i(t,{datasource:N,overViewData:"db"===N?T:z}),i(n,{datasource:N,fileDetails:C,styles:A,highlightCodeStatsLine:S,handleStatsPillClick:function(o,e,i){y({}),I({}),k({startIndex:Number(o),endIndex:Number(e),name:i})},highlightCodeStatsVariable:w,handleVariableClick:function(o,e,i){e&&i&&-1!==e&&-1!==i&&(y({startIndex:e,endIndex:i}),k({startIndex:-1,endIndex:-1}),I({variableName:o,startIndex:e,endIndex:i}))}})]}))]})};export{r as default};
2
- //# sourceMappingURL=CodeCitationsStats.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeCitationsStats.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsx as n,jsxs as t,Fragment as i}from"react/jsx-runtime";import{useRef as r,useMemo as o,useState as a,useEffect as l,useCallback as d}from"react";import{generateClassName as u,cssPropertiesToString as s,getClassNameFromDiagnostic as c}from"../../../utils/codeCitations.utils.js";var g;!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Information=2]="Information",e[e.Hint=3]="Hint"}(g||(g={}));var v=function(g){var v=g.startIndex,h=g.endIndex,f=g.language,m=g.editorHeight,p=g.editorWidth,x=g.code,I=g.isHighlightingEnabled,y=g.isDarkModeEnabled,S=g.openHighlightedCodeDetails,b=g.highlightCodeStatsLine;g.setHighlightCodeStatsLine;var C=g.highlightCodeStatsVariable;g.setHighlightCodeStatsVariable,g.setHighlightIndexes;var L=g.isExpanded,R=g.highlightIndexes,w=g.diagnostics,O=g.diagnosticStylesBySeverity,j=r(null),D=r([]);r([]);var H=r([]),k=r([]),E=o(function(){return v},[v]),M=o(function(){return h},[h]),N=a(null),V=N[0],W=N[1],z=a(null),A=z[0],F=z[1],T=a(null),q=T[0],_=T[1],B=a(void 0),J=B[0],P=B[1],G=a(null),K=G[0],Q=G[1];l(function(){Promise.all([import("@monaco-editor/react"),import("highlight.js/lib/core")]).then(function(e){var n=e[0],t=e[1];_(function(){return n.default});var i=t.default.highlightAuto(x).language;P(i)}).catch(function(){Q("Code editor dependencies not installed. Run: npm install @monaco-editor/react highlight.js")})},[x]);var U=o(function(){return O&&"object"==typeof O&&Object.entries(O).map(function(e){var n=e[0],t=e[1],i=[];return t.style&&i.push(".".concat(u(t.style,+n,!0)," {\n").concat(s(t.style),"\n}")),t.lightModeStyle&&i.push(".".concat(u(t.lightModeStyle,+n,!1)," {\n").concat(s(t.lightModeStyle),"\n}")),i.join("\n")}).join("\n")},[O]);l(function(){return function(){var e;(null===(e=j.current)||void 0===e?void 0:e._resizeObserver)&&j.current._resizeObserver.disconnect()}},[]),l(function(){if(I&&V&&j.current&&A){var e=V.start,n=V.end;if(X(j.current,e,n,b,C),-1===v&&w&&w.length>0){var t=w[0].range,i=t.lineStart,r=t.lineEnd;X(j.current,i,r,b,C)}}},[V,A,I,b,C]),l(function(){var e,n,t;if(A&&j.current&&I){var i=j.current;if(R&&(null===(e=Object.keys(R))||void 0===e?void 0:e.length)>0&&-1!==(null==R?void 0:R.startIndex)&&-1!==(null==R?void 0:R.endIndex)){var r=i.deltaDecorations(D.current,[{range:new A.Range(R.startIndex,1,R.endIndex,1),options:{isWholeLine:!0,className:"myLineHighlight"}}]);D.current=r}if(b&&(null===(n=Object.keys(b))||void 0===n?void 0:n.length)>0&&-1!==(null==b?void 0:b.startIndex)&&-1!==(null==b?void 0:b.endIndex)&&(null==b?void 0:b.name)){r=i.deltaDecorations(D.current,[{range:new A.Range(b.startIndex,1,b.endIndex,1),options:{isWholeLine:!0,className:"myLineHighlight"}}]);D.current=r}if(C&&(null===(t=Object.keys(C))||void 0===t?void 0:t.length)>0&&-1!==(null==C?void 0:C.startIndex)&&-1!==(null==C?void 0:C.endIndex)&&(null==b?void 0:b.name)){r=i.deltaDecorations(H.current,[{range:new A.Range(C.startIndex,1,C.endIndex,1),options:{isWholeLine:!0,className:"myLineHighlight"}}]);H.current=r}}},[v,h,I,A,b,JSON.stringify(C)]),l(function(){if(A&&j.current&&(null==w?void 0:w.length)&&O){var e=j.current,n=w.map(function(e){var n,t,i=c(e.severity,null==y||y,O);return{range:new A.Range(e.range.lineStart,null!==(n=e.range.columnStart)&&void 0!==n?n:1,e.range.lineEnd,null!==(t=e.range.columnEnd)&&void 0!==t?t:1),options:{className:i,isWholeLine:void 0===e.range.columnStart}}});k.current=e.deltaDecorations(k.current,n)}},[w,O,A,y]);var X=d(function(e,n,t,i,r){var o,a;if(A&&e&&I){var l=e.getModel();l&&(n=Math.max(-1,n),(t=Math.min(t,l.getLineCount()))<n&&(t=n),requestAnimationFrame(function(){e.revealRangeInCenterIfOutsideViewport(new A.Range(n,1,t,1),A.editor.ScrollType.Smooth),e.setSelection(new A.Range(n,1,t+1,1))}),i&&-1!==(null==i?void 0:i.startIndex)&&-1!==(null==i?void 0:i.endIndex)&&requestAnimationFrame(function(){e.revealRangeInCenterIfOutsideViewport(new A.Range(i.startIndex,1,i.endIndex,1),A.editor.ScrollType.Smooth),e.setSelection(new A.Range(i.startIndex,1,i.endIndex+1,1))}),0===(null===(o=Object.keys(r))||void 0===o?void 0:o.length)&&e.getContribution("editor.contrib.findController").getState().change({isRevealed:!1},!1),(null===(a=Object.keys(r))||void 0===a?void 0:a.length)>0&&(requestAnimationFrame(function(){e.revealRangeInCenterIfOutsideViewport(new A.Range(r.startIndex,1,r.endIndex,1),A.editor.ScrollType.Smooth),e.setSelection(new A.Range(r.startIndex,1,r.endIndex+1,1))}),e.trigger("keyboard","actions.find"),e.getAction("actions.find").run(),e.getContribution("editor.contrib.findController").getState().change({searchString:(null==r?void 0:r.variableName)||"",isRevealed:!0},!1)))}},[A,I,v,h,null==b?void 0:b.startIndex,null==b?void 0:b.endIndex,C]);l(function(){if(j.current&&A&&I){var e=j.current,n=e.onDidLayoutChange(function(){if(X(e,v,h,b,C),-1===v&&w&&w.length>0){var n=w[0].range,t=n.lineStart,i=n.lineEnd;X(e,t,i,b,C)}});return function(){return n.dispose()}}},[X,v,h,I,null==b?void 0:b.startIndex,null==b?void 0:b.endIndex,C,L]);var Y=d(function(e,n){X(e,E,M),j.current=e,F(n),W({start:E,end:M});var t=e.getContainerDomNode(),i=new ResizeObserver(function(){e.layout()});if(i.observe(t),j.current._resizeObserver=i,I){var r=e.getDomNode(),o=document.createElement("div");null==r||r.appendChild(o);var a=function(){var n=e.getTopForLineNumber(E)-e.getScrollTop();o.style.top="".concat(n,"px")};e.onDidScrollChange(a),a()}},[v,h,I,S]);return K?n("div",e({style:{color:"red",fontSize:"12px",padding:"8px"}},{children:K})):q?t(i,{children:[n(q,{height:m,width:p,defaultLanguage:J||f,defaultValue:x,theme:y?"vs-dark":"vs-light",onMount:Y,beforeMount:function(e){e.languages.typescript.javascriptDefaults.setDiagnosticsOptions({noSemanticValidation:!0,noSyntaxValidation:!0})},options:{minimap:{enabled:!0},overviewRulerLanes:3,fontFamily:"Plus Jakarta Sans, sans-serif",scrollBeyondLastLine:!1,readOnly:!0,smoothScrolling:!0,automaticLayout:!0,lineDecorationsWidth:10,padding:{top:20,bottom:20}}}),t("style",{children:[U,".myLineHighlight { background-color: rgba(0, 122, 204, 0.3); }"]})]}):n("div",e({style:{padding:"8px",color:"#666"}},{children:"Loading code editor..."}))};export{g as DiagnosticSeverity,v as default};
2
- //# sourceMappingURL=CodeEditor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeEditor.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e,__rest as o}from"tslib";import{jsxs as n,jsx as r,Fragment as i}from"react/jsx-runtime";import{useState as t}from"react";import d from"react-markdown";import l from"rehype-raw";var a=function(o){var i=o.IconComponent,t=o.text,d=o.number;return n("div",e({style:{display:"flex",alignItems:"center",justifyItems:"center",gap:"5px",color:"#5928ED",fontSize:"0.75rem"}},{children:[i,r("span",e({style:{fontWeight:"500"}},{children:t})),r("span",e({style:{backgroundColor:"#E9ECFD",borderRadius:"0.25rem",paddingLeft:"0.25rem",paddingRight:"0.25rem"}},{children:d}))]}))},s=function(){return n("svg",e({xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},{children:[r("path",{d:"M2.33333 5.33333H10.6667M10.6667 5.33333V13.6667M10.6667 5.33333L13.6667 2.33333M14 10.2248V2.53333C14 2.34665 14 2.25331 13.9637 2.182C13.9317 2.11928 13.8807 2.06829 13.818 2.03633C13.7467 2 13.6534 2 13.4667 2H5.77516C5.6121 2 5.53057 2 5.45385 2.01842C5.38582 2.03475 5.32079 2.06169 5.26114 2.09824C5.19387 2.13947 5.13622 2.19712 5.02091 2.31242L2.31242 5.02091C2.19712 5.13621 2.13947 5.19387 2.09824 5.26114C2.06169 5.32079 2.03475 5.38582 2.01842 5.45385C2 5.53057 2 5.6121 2 5.77516V13.4667C2 13.6534 2 13.7467 2.03633 13.818C2.06829 13.8807 2.11928 13.9317 2.182 13.9637C2.25331 14 2.34665 14 2.53333 14H10.2248C10.3879 14 10.4694 14 10.5462 13.9816C10.6142 13.9652 10.6792 13.9383 10.7389 13.9018C10.8061 13.8605 10.8638 13.8029 10.9791 13.6876L13.6876 10.9791C13.8029 10.8638 13.8605 10.8061 13.9018 10.7389C13.9383 10.6792 13.9652 10.6142 13.9816 10.5462C14 10.4694 14 10.3879 14 10.2248Z",stroke:"url(#paint0_linear_5418_41338)","stroke-linecap":"round","stroke-linejoin":"round"}),r("defs",{children:n("linearGradient",e({id:"paint0_linear_5418_41338",x1:"-0.857143",y1:"-0.772414",x2:"13.3773",y2:"5.89501",gradientUnits:"userSpaceOnUse"},{children:[r("stop",{"stop-color":"#2546F0"}),r("stop",{offset:"1","stop-color":"#5928ED"})]}))})]}))},p=function(){return n("svg",e({xmlns:"http://www.w3.org/2000/svg",width:"17",height:"16",viewBox:"0 0 17 16",fill:"none"},{children:[r("path",{d:"M13.7709 14C14.6644 12.1926 15.1668 10.1553 15.1668 8C15.1668 5.84474 14.6644 3.80744 13.7709 2M3.22945 2C2.33592 3.80744 1.8335 5.84474 1.8335 8C1.8335 10.1553 2.33592 12.1926 3.22945 14M11.5326 5.75H11.4728C11.0372 5.75 10.6233 5.94134 10.3399 6.27381L6.75664 10.4762C6.47315 10.8087 6.0593 11 5.6237 11H5.56392M6.31005 5.75H7.23944C7.57256 5.75 7.86531 5.97198 7.95682 6.29396L9.13978 10.456C9.23129 10.778 9.52404 11 9.85716 11H10.7866",stroke:"url(#paint0_linear_5418_41361)","stroke-linecap":"round","stroke-linejoin":"round"}),r("defs",{children:n("linearGradient",e({id:"paint0_linear_5418_41361",x1:"-1.34111",y1:"-0.772414",x2:"13.8345",y2:"7.12565",gradientUnits:"userSpaceOnUse"},{children:[r("stop",{"stop-color":"#2546F0"}),r("stop",{offset:"1","stop-color":"#5928ED"})]}))})]}))},c=function(){return n("svg",e({xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},{children:[r("path",{d:"M9.33317 1.51172V4.26541C9.33317 4.63878 9.33317 4.82546 9.40583 4.96807C9.46975 5.09351 9.57173 5.1955 9.69718 5.25942C9.83978 5.33208 10.0265 5.33208 10.3998 5.33208H13.1535M10.6665 8.66536H5.33317M10.6665 11.332H5.33317M6.6665 5.9987H5.33317M9.33317 1.33203H5.8665C4.7464 1.33203 4.18635 1.33203 3.75852 1.55002C3.3822 1.74176 3.07624 2.04773 2.88449 2.42405C2.6665 2.85187 2.6665 3.41193 2.6665 4.53203V11.4654C2.6665 12.5855 2.6665 13.1455 2.88449 13.5733C3.07624 13.9497 3.3822 14.2556 3.75852 14.4474C4.18635 14.6654 4.7464 14.6654 5.8665 14.6654H10.1332C11.2533 14.6654 11.8133 14.6654 12.2412 14.4474C12.6175 14.2556 12.9234 13.9497 13.1152 13.5733C13.3332 13.1455 13.3332 12.5855 13.3332 11.4654V5.33203L9.33317 1.33203Z",stroke:"url(#paint0_linear_5418_41370)","stroke-linecap":"round","stroke-linejoin":"round"}),r("defs",{children:n("linearGradient",e({id:"paint0_linear_5418_41370",x1:"0.126822",y1:"-1.74843",x2:"13.656",y2:"3.32123",gradientUnits:"userSpaceOnUse"},{children:[r("stop",{"stop-color":"#2546F0"}),r("stop",{offset:"1","stop-color":"#5928ED"})]}))})]}))},f={container:{width:"90%",margin:"0 auto",borderRadius:"4px",marginTop:"20px"},descriptionsContainer:{border:"1px solid #ddd"},header:{backgroundColor:"#fff",padding:"10px 15px",color:"#333",fontWeight:"bold",fontSize:"16px"},description:{padding:"5px 10px",fontSize:"14px",lineHeight:"1.5rem",color:"#555",backgroundColor:"#fff"},metrics:{display:"flex",padding:"10px 15px",borderBottom:"1px solid #eee",gap:"20px"},metric:{display:"flex",alignItems:"center",gap:"5px",fontSize:"14px",color:"#555"},metricIcon:{color:"#6366f1",marginRight:"5px"},expandableSection:{marginTop:"10px",border:"1px solid #ddd"},sectionHeader:{padding:"15px",display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer",backgroundColor:"#fff"},sectionTitle:{fontSize:"14px",fontWeight:"bold",color:"#333"},sectionContent:{padding:"15px",fontSize:"14px",color:"#555",backgroundColor:"#fff"},tag:{display:"inline-block",padding:"10px 12px",margin:"5px",backgroundColor:"#FFF7ED",borderRadius:"15px",fontSize:"13px",color:"#555",cursor:"pointer"},categoryTitle:{fontSize:"14px",fontWeight:"bold",margin:"15px 5px 10px 5px",color:"#333"},tabContainer:{display:"flex",borderBottom:"1px solid #ddd",marginBottom:"10px"},tab:{padding:"8px 16px",cursor:"pointer",fontSize:"13px"},activeTab:{borderBottom:"2px solid #6366f1",color:"#6366f1"}},u={p:function(n){n.node;var i=o(n,["node"]);return r("p",e({},i,{className:"max-w-full break-words text-base leading-relaxed my-4 overflow-hidden overflow-x-hidden ",style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"block",textAlign:"justify"}},{children:null==i?void 0:i.children}))},pre:function(n){n.node;var i=o(n,["node"]);return r("p",e({},i,{className:"max-w-full break-words text-base leading-relaxed mb-4 overflow-hidden overflow-x-hidden ",style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"block",textAlign:"justify"}},{children:null==i?void 0:i.children}))},code:function(n){n.node;var i=o(n,["node"]);return r("code",e({},i,{className:"text-[#d63384] max-w-full break-words text-base leading-relaxed mb-4 overflow-hidden overflow-x-hidden ",style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"inline-flex",textAlign:"justify"}},{children:null==i?void 0:i.children}))},ol:function(n){n.node;var i=o(n,["node"]);return r("ol",e({style:{listStyle:"decimal",marginLeft:"1rem",fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:i.children}))},li:function(n){n.node;var i=o(n,["node"]);return r("li",e({style:{marginTop:"1rem",marginBottom:"1rem"}},{children:i.children}))},a:function(n){n.node;var i=o(n,["node"]),t=!1;try{t=new URL(i.href||"").protocol.startsWith("http")}catch(e){t=!1}return r("a",e({href:i.href,style:{display:"inline-flex",pointerEvents:t?"auto":"none"}},{children:i.children}))}},x=function(o){var x,m,h,g,v,w,C,b,y=o.overViewData;o.ReactMarkdownComponent;var k,S,_=o.datasource,F=void 0===_?"codebase":_,H=t(!1),M=H[0],B=H[1],L=(null===(x=null==y?void 0:y.description)||void 0===x?void 0:x.length)>750,W=M?null==y?void 0:y.description:(void 0===(k=null==y?void 0:y.description)&&(k=""),void 0===(S=3)&&(S=3),(k.match(/[^.!?]*[.!?]/g)||[]).slice(0,S).join(" ").trim()+(L?"...":""));return n("div",e({style:f.descriptionsContainer},{children:[n("div",e({style:f.description},{children:[r(d,e({rehypePlugins:[l],components:u},{children:W})),L&&r("span",e({onClick:function(){return B(function(e){return!e})},style:{color:"#007bff",cursor:"pointer",marginLeft:0}},{children:M?"View Less":"View More"}))]})),r("div",e({style:{paddingTop:"1%",display:"db"===F?"grid":"flex",gridTemplateColumns:"db"===F?"repeat(4, 1fr)":void 0,flexWrap:"db"!==F?"wrap":void 0,alignItems:"center",gap:"10px",backgroundColor:"#FFF",padding:"10px 15px",borderBottom:"1px solid #ddd",overflow:"wrap"}},{children:"db"===F?null===(m=null==y?void 0:y.stats)||void 0===m?void 0:m.filter(function(e){return"NA"!==e.count}).map(function(e,o){return r(a,{IconComponent:"table"===e.type?r(s,{}):"function"===e.type?r(p,{}):"lineOfCode"===e.type?r(c,{}):null,text:null==e?void 0:e.header,number:e.count},o)}):n(i,{children:[r(a,{IconComponent:r(s,{}),text:"Total Class",number:null===(g=null===(h=null==y?void 0:y.stats)||void 0===h?void 0:h[0])||void 0===g?void 0:g.count}),r(a,{IconComponent:r(p,{}),text:"Total Functions",number:null===(w=null===(v=null==y?void 0:y.stats)||void 0===v?void 0:v[1])||void 0===w?void 0:w.count}),r(a,{IconComponent:r(c,{}),text:"Total Lines of Code",number:null===(b=null===(C=null==y?void 0:y.stats)||void 0===C?void 0:C[2])||void 0===b?void 0:b.count})]})}))]}))};export{x as DescriptionWithToggle};
2
- //# sourceMappingURL=DescriptionWithToggle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DescriptionWithToggle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e,__rest as r}from"tslib";import{jsxs as n,jsx as i,Fragment as l}from"react/jsx-runtime";import o from"react-markdown";import t from"rehype-raw";var d=function(){return n("svg",e({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},{children:[i("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),i("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}))},a={p:function(n){n.node;var l=r(n,["node"]);return i("p",e({},l,{className:"max-w-full break-words text-base leading-relaxed mb-4 overflow-hidden overflow-x-hidden ",style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"block",textAlign:"justify"}},{children:null==l?void 0:l.children}))},pre:function(n){n.node;var l=r(n,["node"]);return i("p",e({},l,{className:"max-w-full break-words text-base leading-relaxed mb-4 overflow-hidden overflow-x-hidden ",style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"block",textAlign:"justify"}},{children:null==l?void 0:l.children}))},code:function(n){n.node;var l=r(n,["node"]);return i("span",e({},l,{style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",textAlign:"justify"}},{children:null==l?void 0:l.children}))},ol:function(n){n.node;var l=r(n,["node"]);return i("ol",e({style:{listStyle:"decimal",marginLeft:"1rem",fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:l.children}))},li:function(n){n.node;var l=r(n,["node"]);return i("li",e({style:{marginTop:"1rem",marginBottom:"1rem"}},{children:l.children}))},a:function(n){n.node;var l=r(n,["node"]);return i("a",e({href:l.href,style:{display:"inline-flex"}},{children:l.children}))}},s=function(r){var s=r.fileSummarySectionTitle,c=r.FileDetailsComponent,f=r.onClose;r.editorHeight,r.editorWidth,r.code,r.language,r.isDarkMode;var h=r.summary,m=r.filepath,w=r.citationTitle;return n("div",e({style:{display:"flex",flexDirection:"column",width:"100%",height:"95%",overflow:"hidden",color:"#242424"}},{children:[n("div",e({style:{flexShrink:0,display:"flex",justifyContent:"space-between",alignItems:"center",padding:"0.5rem"}},{children:[i("div",e({style:{fontWeight:600,textAlign:"center",flex:1}},{children:s})),i("div",e({style:{cursor:"pointer"},onClick:f},{children:i(d,{})}))]})),i("div",e({style:{flex:1,overflowY:"auto"}},{children:c||("Generated Code"!==w?n("div",e({style:{padding:"0 0.5rem",wordBreak:"break-word",lineHeight:"2rem"}},{children:[m?n(l,{children:[i("span",e({style:{fontWeight:700}},{children:"File path: "})),i("span",{children:m})]}):i(l,{}),i(o,e({rehypePlugins:[t],components:a},{children:h}))]})):i("div",e({style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"0 0.5rem",wordBreak:"break-word",lineHeight:"2rem"}},{children:i("span",{children:"No file summary found for the generated code"})})))}))]}))};export{s as default};
2
- //# sourceMappingURL=HighlightedCodeDetails.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HighlightedCodeDetails.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsxs as r,jsx as t}from"react/jsx-runtime";import i from"@mui/material/CircularProgress";var a=function(){return r("div",e({role:"alert","aria-busy":"true","aria-label":"Loading content",style:{color:"#242424",display:"flex",justifyContent:"center",alignItems:"center",gap:"1rem",height:"100vh",fontSize:"1rem",padding:"0 1rem",textAlign:"center"}},{children:[t(i,{size:24}),t("div",e({"aria-live":"polite"},{children:"Curating code and file statistics, please wait..."}))]}))};export{a as default};
2
- //# sourceMappingURL=Spinner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Spinner.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__spreadArray as n,__assign as e}from"tslib";import{jsx as i,jsxs as l,Fragment as d}from"react/jsx-runtime";import{useState as t,useMemo as o}from"react";import r from"../Accordian.js";import a from"../../../../assests/svg/chevronUp.svg.js";import u from"../../../../assests/svg/chevronDownArrow.svg.js";var s=function(){return l("svg",e({fill:"#000000",width:"16px",height:"16px",viewBox:"0 -6 524 524",xmlns:"http://www.w3.org/2000/svg"},{children:[i("title",{children:"down"}),i("path",{d:"M64 191L98 157 262 320 426 157 460 191 262 387 64 191Z"})]}))},v=function(v){var c,h,m,p,f,x,g,I,b,y,C,_,k,w,S,T,U,N,j=v.fileDetails,A=v.styles,V=v.highlightCodeStatsLine,G=v.handleStatsPillClick,P=v.highlightCodeStatsVariable,D=v.handleVariableClick,F=t(["Technical Artifacts","Class","Functions","Procedure","Tables","Global Variables","Services Used","Internal Services","External Services","Columns","Check Constraints","Composite Keys","Default Constraints","Foreign Keys","Indexed Columns","Not Null Constraints","Other Columns","Primary Keys","Unique Constraints"]),K=F[0],M=F[1],E=t("Used"),L=E[0],q=E[1],B=o(function(){return"Used"===L?0:1},[L]),H=((null===(h=null===(c=null==j?void 0:j.chunk_details)||void 0===c?void 0:c.code_artifacts)||void 0===h?void 0:h.classes)||[]).map(function(n){return{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1}}),O=((null===(p=null===(m=null==j?void 0:j.chunk_details)||void 0===m?void 0:m.code_artifacts)||void 0===p?void 0:p.functions)||[]).map(function(n){return{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1}}),Z=((null===(x=null===(f=null==j?void 0:j.chunk_details)||void 0===f?void 0:f.code_artifacts)||void 0===x?void 0:x.procedures)||[]).map(function(n){return{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1}}),z=((null===(I=null===(g=null==j?void 0:j.chunk_details)||void 0===g?void 0:g.code_artifacts)||void 0===I?void 0:I.tables)||[]).map(function(n){return{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1}}),J=(null===(C=null===(y=null===(b=null==j?void 0:j.chunk_details)||void 0===b?void 0:b.code_artifacts)||void 0===y?void 0:y.global_variables)||void 0===C?void 0:C.used)||[],Q=Array.from(new Map(J.map(function(n){return[n.name,{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1,lineNumbers:(null==n?void 0:n.line_numbers)||[]}]})).values()),R=(null===(w=null===(k=null===(_=null==j?void 0:j.chunk_details)||void 0===_?void 0:_.code_artifacts)||void 0===k?void 0:k.global_variables)||void 0===w?void 0:w.not_used)||[],W=Array.from(new Map(R.map(function(n){return[n.name,{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1,lineNumbers:(null==n?void 0:n.line_numbers)||[]}]})).values()),X=((null===(T=null===(S=null==j?void 0:j.chunk_details)||void 0===S?void 0:S.services)||void 0===T?void 0:T.internal_services)||[]).map(function(n){return{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1}}),Y=((null===(N=null===(U=null==j?void 0:j.chunk_details)||void 0===U?void 0:U.services)||void 0===N?void 0:N.external_services)||[]).map(function(n){return{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1}}),$=[{header:"Technical Artifacts",content:[{header:"Class",content:H},{header:"Functions",content:O},{header:"Procedure",content:Z},{header:"Tables",content:z},{header:"Global Variables",content:n(n([],Q,!0),W,!0)}]},{header:"Services Used",content:[{header:"External Services",content:Y},{header:"Call to other files",content:X}]}],nn=[{header:"Used",content:Q||[]},{header:"Unused",content:W||[]}];return i("div",e({style:A},{children:$.map(function(t){var o,v=K.includes(t.header);return t.content.every(function(n){return 0===n.content.length})?i(d,{}):l("div",e({style:A.expandableSection},{children:[l("div",e({style:A.sectionHeader,onClick:function(){M(v?function(n){return n.filter(function(n){return n!==t.header})}:function(e){return e.includes(t.header)?e:n(n([],e,!0),[t.header],!1)})}},{children:[i("div",e({style:A.sectionTitle},{children:null==t?void 0:t.header})),i("img",{src:v?a:u})]})),v&&(null===(o=null==t?void 0:t.content)||void 0===o?void 0:o.map(function(n){var t,o,a,u,v;return(null===(t=null==n?void 0:n.content)||void 0===t?void 0:t.length)?i("div",e({style:A.sectionContent},{children:l("div",{children:[i("div",e({style:A.categoryTitle},{children:null==n?void 0:n.header})),"Global Variables"===(null==n?void 0:n.header)&&l("div",{children:[i("div",e({style:A.tabContainer},{children:nn.map(function(n){var t,o,r,a;return(null===(t=null==n?void 0:n.content)||void 0===t?void 0:t.length)>0&&(null===(r=null===(o=nn[B])||void 0===o?void 0:o.content)||void 0===r?void 0:r.length)?l("div",e({style:e(e({},A.tab),L===n.header?A.activeTab:{}),onClick:function(){return q(n.header)}},{children:[n.header," ","(",null===(a=null==n?void 0:n.content)||void 0===a?void 0:a.length,")"]}),n.header):i(d,{})})})),(null===(o=nn[B])||void 0===o?void 0:o.content)?null===(u=null===(a=nn[B])||void 0===a?void 0:a.content)||void 0===u?void 0:u.map(function(n){var t=(null==P?void 0:P.variableName)===(null==n?void 0:n.name);return t?i("div",e({style:{width:"100%"}},{children:i(r,{data:n})})):i(d,{children:l("span",e({style:e(e({},t?A.highlightTag:A.tag),{display:"inline-flex",alignItems:"center",gap:"4px"}),onClick:function(){return D(null==n?void 0:n.name,null==n?void 0:n.startIndex,null==n?void 0:n.endIndex)}},{children:[null==n?void 0:n.name,i("span",e({style:{display:"flex",alignItems:"center",justifyContent:"center",height:"16px",width:"16px"}},{children:i(s,{})}))]}))})}):i(d,{})]}),"Global Variables"!==(null==n?void 0:n.header)?i("div",{children:null===(v=null==n?void 0:n.content)||void 0===v?void 0:v.map(function(n){var t,o,a=-1!==(null==n?void 0:n.startIndex)&&-1!==(null==n?void 0:n.endIndex)&&Number(null==n?void 0:n.startIndex)===(null==V?void 0:V.startIndex)&&Number(null==n?void 0:n.endIndex)===(null==V?void 0:V.endIndex)&&(null===(t=null==V?void 0:V.name)||void 0===t?void 0:t.trim())===(null===(o=null==n?void 0:n.name)||void 0===o?void 0:o.trim());return a?i("div",e({style:{width:"100%"}},{children:i(r,{data:n})})):i(d,{children:l("span",e({style:e(e({},a?A.highlightTag:A.tag),{display:"inline-flex",alignItems:"center",gap:"4px"}),onClick:function(){return G(null==n?void 0:n.startIndex,null==n?void 0:n.endIndex,null==n?void 0:n.name)}},{children:[null==n?void 0:n.name,i("span",e({style:{display:"flex",alignItems:"center",justifyContent:"center",height:"16px",width:"16px"}},{children:i(s,{})}))]}))})})}):i(d,{})]})})):i(d,{})}))]}))})}))};export{v as default};
2
- //# sourceMappingURL=CodebaseStatsComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodebaseStatsComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as n,__spreadArray as e}from"tslib";import{jsx as t,jsxs as i,Fragment as l}from"react/jsx-runtime";import{useState as o}from"react";import d from"../Accordian.js";import r from"../../../../assests/svg/chevronUp.svg.js";import s from"../../../../assests/svg/chevronDownArrow.svg.js";var u=function(){return i("svg",n({fill:"#000000",width:"16px",height:"16px",viewBox:"0 -6 524 524",xmlns:"http://www.w3.org/2000/svg"},{children:[t("title",{children:"down"}),t("path",{d:"M64 191L98 157 262 320 426 157 460 191 262 387 64 191Z"})]}))},a=function(a){var c,v=a.fileDetails,h=a.styles,m=a.highlightCodeStatsLine,p=a.handleStatsPillClick,f=o(["Columns","Check Constraints","Composite Keys","Default Constraints","Foreign Keys","Indexed Columns","Not Null Constraints","Regular Columns","Primary Keys","Unique Constraints"]),g=f[0],y=f[1],x=(null===(c=null==v?void 0:v.chunk_details)||void 0===c?void 0:c.column_names)||{},C=function(n){return void 0===n&&(n=[]),n.map(function(n){return{name:null==n?void 0:n.name,description:null==n?void 0:n.description,startIndex:(null==n?void 0:n.start)||-1,endIndex:(null==n?void 0:n.end)||-1}})},I=C(null==x?void 0:x.check_constraints),_=C(null==x?void 0:x.composite_keys),w=C(null==x?void 0:x.default_constraints),k=C(null==x?void 0:x.foreign_keys),K=C(null==x?void 0:x.indexed_columns),N=C(null==x?void 0:x.not_null_constraints),j=C(null==x?void 0:x.other_columns),b=C(null==x?void 0:x.primary_keys),D=C(null==x?void 0:x.unique_constraints);return t("div",{children:[{header:"Columns",content:[{header:"Primary Keys",content:b},{header:"Foreign Keys",content:k},{header:"Indexed Columns",content:K},{header:"Not Null Constraints",content:N},{header:"Unique Constraints",content:D},{header:"Composite Keys",content:_},{header:"Check Constraints",content:I},{header:"Default Constraints",content:w},{header:"Regular Columns",content:j}]}].map(function(o){var a,c=g.includes(o.header);return o.content.every(function(n){return 0===n.content.length})?t(l,{}):i("div",n({style:h.expandableSection},{children:[i("div",n({style:h.sectionHeader,onClick:function(){y(c?function(n){return n.filter(function(n){return n!==o.header})}:function(n){return n.includes(o.header)?n:e(e([],n,!0),[o.header],!1)})}},{children:[t("div",n({style:h.sectionTitle},{children:null==o?void 0:o.header})),t("img",{src:c?r:s})]})),c&&(null===(a=null==o?void 0:o.content)||void 0===a?void 0:a.map(function(e){var o,r;return(null===(o=null==e?void 0:e.content)||void 0===o?void 0:o.length)?t("div",n({style:h.sectionContent},{children:i("div",{children:[t("div",n({style:h.categoryTitle},{children:null==e?void 0:e.header})),t("div",{children:null===(r=null==e?void 0:e.content)||void 0===r?void 0:r.map(function(o){var r,s,a=-1!==(null==o?void 0:o.startIndex)&&-1!==(null==o?void 0:o.endIndex)&&Number(null==o?void 0:o.startIndex)===(null==m?void 0:m.startIndex)&&Number(null==o?void 0:o.endIndex)===(null==m?void 0:m.endIndex)&&(null===(r=null==m?void 0:m.name)||void 0===r?void 0:r.trim())===(null===(s=(null==e?void 0:e.header)+"_"+(null==o?void 0:o.name))||void 0===s?void 0:s.trim());return a?t("div",n({style:{width:"100%"}},{children:t(d,{data:o})})):t(l,{children:i("span",n({style:n(n({},a?h.highlightTag:h.tag),{display:"inline-flex",alignItems:"center",gap:"4px"}),onClick:function(){return p(null==o?void 0:o.startIndex,null==o?void 0:o.endIndex,(null==e?void 0:e.header)+"_"+(null==o?void 0:o.name))}},{children:[null==o?void 0:o.name,t("span",n({style:{display:"flex",alignItems:"center",justifyContent:"center",height:"16px",width:"16px"}},{children:t(u,{})}))]}))})})})]})})):t(l,{})}))]}))})})};export{a as default};
2
- //# sourceMappingURL=DbStatsComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DbStatsComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{jsx as t}from"react/jsx-runtime";import e from"./DbStatsComponent.js";import i from"./CodebaseStatsComponent.js";var a=function(a){var l=a.fileDetails,s=a.styles,o=a.highlightCodeStatsLine,h=a.handleStatsPillClick,r=a.highlightCodeStatsVariable,d=a.handleVariableClick,n=a.datasource;return"db"===(void 0===n?"codebase":n)?t(e,{fileDetails:l,styles:s,highlightCodeStatsLine:o,handleStatsPillClick:h}):t(i,{fileDetails:l,styles:s,highlightCodeStatsLine:o,handleStatsPillClick:h,highlightCodeStatsVariable:r,handleVariableClick:d})};export{a as default};
2
- //# sourceMappingURL=StatsComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatsComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as t}from"tslib";import{jsxs as e,jsx as i,Fragment as n}from"react/jsx-runtime";import{useState as o}from"react";var c=function(){return i("svg",t({width:"100%",height:"100%",fill:"#000000",viewBox:"-1 0 19 19",xmlns:"http://www.w3.org/2000/svg",className:"cf-icon-svg"},{children:i("path",{d:"M16.417 9.583A7.917 7.917 0 1 1 8.5 1.666a7.917 7.917 0 0 1 7.917 7.917zM5.85 3.309a6.833 6.833 0 1 0 2.65-.534 6.787 6.787 0 0 0-2.65.534zm2.654 1.336A1.136 1.136 0 1 1 7.37 5.78a1.136 1.136 0 0 1 1.135-1.136zm.792 9.223V8.665a.792.792 0 1 0-1.583 0v5.203a.792.792 0 0 0 1.583 0z"})}))},r=function(){return e("svg",t({width:"100%",height:"100%",viewBox:"0 0 128 128",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",className:"iconify iconify--noto",preserveAspectRatio:"xMidYMid meet"},{children:[i("path",{d:"M37.41 41.95c-9.71 12.48-9.54 34.65 2.87 45.64c14.09 12.47 33.92 12.34 46.39.87c14.95-13.76 14.09-36.66.87-49.63c-13.29-13.04-37.04-13.72-50.13 3.12z",fill:"#fcc11a"}),i("path",{d:"M53 37.67c-3.84-1.7-8.04 2.93-9.87 6.09c-1.83 3.17-3.53 9.38.37 10.97c3.9 1.58 6.7-1.1 9.51-5.73c2.79-4.63 4.38-9.38-.01-11.33z",fill:"#fee269"}),i("path",{d:"M63 20.27c-.93 1.74-.62 3.08 1.23 3.52c1.85.44 13.36 2.31 14.33 2.37c1.41.09 1.93-.97 1.76-2.2c-.18-1.23-2.99-18.46-3.25-20.04S75.14.76 73.55 2.87S63.7 18.96 63 20.27z",fill:"#ffa722"}),i("path",{d:"M92.8 32.23c-1.81.56-1.76 1.67-.79 3.08c.97 1.41 7.65 11.6 8.26 12.31c.62.7 1.67.88 2.55-.18c.88-1.05 11.86-16.45 12.66-17.41c1.32-1.58.53-3.25-1.49-2.73c-1.54.41-20.05 4.58-21.19 4.93z",fill:"#ffa722"}),i("path",{d:"M106.6 61.86c-1.3-.74-2.99-.53-3.43 1.14c-.44 1.67-2.37 13.8-2.55 14.86s.62 2.11 1.93 1.85s19.45-2.95 20.66-3.25c2.11-.53 2.81-2.64.62-4.22c-1.42-1.03-16-9.68-17.23-10.38z",fill:"#ffa722"}),i("path",{d:"M92.09 90.6c1.4-.75 2.64-.18 2.99 1.41c.35 1.58 4.22 17.76 4.84 20.75c.31 1.5-1.41 2.73-2.81 1.85c-1.41-.88-16.69-11.53-17.67-12.4c-1.41-1.23-.43-2.51.26-3.16c1.4-1.33 11.07-7.74 12.39-8.45z",fill:"#ffa722"}),i("path",{d:"M49.54 99.48c-1.77-.17-2.29 1.41-2.02 2.81c.26 1.41 2.9 19.24 3.08 20.57c.26 1.93 2.29 2.73 3.6.79s10.35-16.4 11.08-17.76c1.32-2.46.35-2.99-.97-3.6c-1.31-.61-12.92-2.63-14.77-2.81z",fill:"#ffa722"}),i("path",{d:"M24.23 79c1.23-2.02 2.81-1.49 3.96.44c.78 1.32 7.38 10.2 8 11.16c.62.97.88 2.81-1.05 3.25c-1.95.45-17.68 4.58-20.14 5.02c-2.46.44-3.87-1.49-2.29-3.6c.92-1.24 10.82-15.12 11.52-16.27z",fill:"#ffa722"}),i("path",{d:"M20.89 63.7c2.25 1 3.31.64 3.78-.97c.62-2.11 2.46-11.78 2.55-13.98c.06-1.43-.53-2.81-2.73-2.46S6.47 48.85 4.45 49.55c-2.35.82-2.18 3.4-.62 4.22c1.85.97 15.47 9.23 17.06 9.93z",fill:"#ffa722"}),i("path",{d:"M48.23 26.78c1.27-1.01.88-2.46-.26-3.25c-1.14-.79-15.26-11-17.05-12.4c-1.58-1.23-3.52-.79-2.99 2.02c.38 2.02 4.88 19.7 5.19 20.92c.35 1.41 1.41 2.11 2.64 1.23c1.21-.87 11.15-7.46 12.47-8.52z",fill:"#ffa722"})]}))},l=function(l){var s=l.darkMode,d=l.onToggle,f=l.toggleFullscreen,p=l.handleOpenFileDetailSection,h=l.showFullscreenIcon,u=l.showFileSummaryIButton,g=o(!1),m=g[0],b=g[1];return e("div",t({style:a.container},{children:[e("div",t({style:{position:"relative",display:"inline-block"},onMouseEnter:function(){return b(!0)},onMouseLeave:function(){return b(!1)}},{children:[u?i("button",t({onClick:function(t){p(t)},style:{background:"transparent",color:"white",border:"none",borderRadius:"50%",width:"24px",height:"24px",fontWeight:"bold",cursor:"pointer",marginRight:"1rem",fontSize:"16px",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"auto",padding:0}},{children:i(c,{})})):i(n,{}),m&&i("div",t({style:{position:"absolute",zIndex:1001,bottom:"125%",left:"50%",transform:"translateX(-50%)",backgroundColor:"#555",color:"#fff",padding:"5px 8px",borderRadius:"6px",fontSize:"12px",textAlign:"center",whiteSpace:"nowrap",opacity:1,transition:"opacity 0.3s"}},{children:"Click to see file summary"}))]})),e("label",t({className:"theme-switch",style:a.switch},{children:[i("input",{type:"checkbox",checked:s,onChange:d,onClick:d,style:a.input}),i("div",t({style:t(t({},a.slider),{backgroundColor:s?"#444":"#f7f7f7"}),onClick:d},{children:i("div",t({style:t(t({},a.thumb),{transform:s?"translateX(22px)":"translateX(0)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:13,backgroundColor:s?"#444":"#f7f7f7"})},{children:s?"🌙":i(r,{})}))}))]})),h?i("button",t({onClick:function(t){return f(t)},style:{background:"transparent",border:"none",padding:"7px 6px",borderRadius:"6px",cursor:"pointer",fontSize:"1.5rem",color:"black",transition:"background 0.3s"},title:"Toggle fullscreen"},{children:"⛶"})):i(n,{})]}))},a={container:{display:"flex",alignItems:"center",gap:8},icon:{fontSize:20,transition:"transform 0.3s ease"},switch:{position:"relative",display:"inline-block",width:44,height:24},input:{opacity:0,width:0,height:0},slider:{position:"absolute",cursor:"pointer",top:0,left:0,right:0,bottom:0,transition:"0.4s",borderRadius:20},thumb:{position:"absolute",height:19,width:19,backgroundColor:"white",borderRadius:"50%",top:2,left:2,transition:"transform 0.3s ease"}};export{l as default};
2
- //# sourceMappingURL=ThemeToggle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThemeToggle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__rest as r,__assign as a}from"tslib";import{jsx as t}from"react/jsx-runtime";import o,{tooltipClasses as e}from"@mui/material/Tooltip";import{styled as i}from"@mui/material/styles";var n=i(function(e){var i=e.className,n=r(e,["className"]);return t(o,a({},n,{classes:{popper:i},arrow:!0,placement:"top"}))})(function(){var r;return(r={})["& .".concat(e.tooltip)]={fontFamily:"Plus Jakarta Sans, sans-serif",backgroundColor:"#555",color:"#fff",fontSize:12,padding:"5px 8px",borderRadius:6,maxWidth:250,textAlign:"center",whiteSpace:"normal",wordBreak:"break-word",lineHeight:1.4},r["& .".concat(e.arrow)]={color:"#555"},r}),l=function(r){var o=r.description,e=r.children;return t(n,a({title:t("span",{children:o})},{children:t("span",a({style:{display:"inline-block"}},{children:e}))}))};export{l as default};
2
- //# sourceMappingURL=TooltipComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TooltipComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsxs as l,jsx as n}from"react/jsx-runtime";import{ChevronUp as e,ChevronDown as o}from"lucide-react";import{useState as t,useMemo as d}from"react";import r from"./ResizableSplitPane.js";import a from"../PdfViewer/PdfViewer.js";import{DefaultFullScreenCloseIcon as u,DefaultFullScreenIcon as s}from"../../assests/svg/PdfViewerIcons.js";var c=function(l){var e,o,t,u,s,c,v,g=l.href,p=l.metaData,h=l.citationTitle,m=l.isFullscreen,f=function(i){try{return new URL(i,window.location.origin).searchParams.get("citationNumber")}catch(i){return null}}(g),_=f&&(null===(e=null==p?void 0:p.citations)||void 0===e?void 0:e[f])||{},x=(null===(o=null==p?void 0:p.docData)||void 0===o?void 0:o.documents)||{},b=(null===(t=null==p?void 0:p.docData)||void 0===t?void 0:t.input_index_map)||{},y=null==b?void 0:b[0],w=null==b?void 0:b[1],C=y?x[y]:null,P=w?x[w]:null,F=y?_[y]:null,S=w?_[w]:null,D=d(function(){var i,l,e,o;return F&&C?n(a,{defaultScale:"PageWidth",showFullScreenAction:!1,showHighlightsAction:!1,pdfName:null==C?void 0:C.title,pdfUrl:null==C?void 0:C.signed_url,highlightText:[null!==(i=null==F?void 0:F.highlighted_text)&&void 0!==i?i:""],highlightPages:{1:null===(l=null==F?void 0:F.custom_metadata)||void 0===l?void 0:l.pdf_start_page_number},jumpToPageValue:1,highlightCordinatePages:[],useCoordinates:!1,useRange:!0,rangeOfPages:[null===(e=null==F?void 0:F.custom_metadata)||void 0===e?void 0:e.pdf_start_page_number,null===(o=null==F?void 0:F.custom_metadata)||void 0===o?void 0:o.pdf_end_page_number]}):null},[null==C?void 0:C.title,null==C?void 0:C.signed_url,null==F?void 0:F.highlighted_text,null===(u=null==F?void 0:F.custom_metadata)||void 0===u?void 0:u.pdf_start_page_number,null===(s=null==F?void 0:F.custom_metadata)||void 0===s?void 0:s.pdf_end_page_number]),k=d(function(){var i,l,e,o;return S&&P?n(a,{defaultScale:"PageWidth",showFullScreenAction:!1,showHighlightsAction:!1,pdfName:null==P?void 0:P.title,pdfUrl:null==P?void 0:P.signed_url,jumpToPageValue:1,highlightText:[null!==(i=null==S?void 0:S.highlighted_text)&&void 0!==i?i:""],highlightPages:{1:null===(l=null==S?void 0:S.custom_metadata)||void 0===l?void 0:l.pdf_start_page_number},highlightCordinatePages:[],useCoordinates:!1,useRange:!0,rangeOfPages:[null===(e=null==S?void 0:S.custom_metadata)||void 0===e?void 0:e.pdf_start_page_number,null===(o=null==S?void 0:S.custom_metadata)||void 0===o?void 0:o.pdf_end_page_number]}):null},[null==P?void 0:P.title,null==P?void 0:P.signed_url,null==S?void 0:S.highlighted_text,null===(c=null==S?void 0:S.custom_metadata)||void 0===c?void 0:c.pdf_start_page_number,null===(v=null==S?void 0:S.custom_metadata)||void 0===v?void 0:v.pdf_end_page_number]),j=d(function(){return D||k?n(r,{leftComponent:D,rightComponent:k,isFullscreen:m}):null},[D,k,m]);return f?["contract","clause"].includes(h)?n("div",F||S?i({style:{height:"100%",display:"flex",flexDirection:"column"}},{children:j}):{children:"Missing PDF Citation. Please try again later"}):n("div",{children:"No Citation Found. Please try again later"}):null},v=function(d){var r,a,v,g=d.href,p=d.children,h=d.metaData,m=d.chevronUpComponent,f=void 0===m?null:m,_=d.chevronDownComponent,x=void 0===_?null:_,b=d.customStyle,y=void 0===b?{}:b,w=d.defaultState,C=t(void 0!==w&&w),P=C[0],F=C[1],S=t(!1),D=S[0],k=S[1],j="string"==typeof p&&(null===(r=null==p?void 0:p.split("\n"))||void 0===r?void 0:r.length)>1?p.split("\n").join(" "):p,z="string"==typeof p?p:p[0],R=null!=f?f:function(i){var l,o;return n(e,{size:null!==(l=null==i?void 0:i.fontSize)&&void 0!==l?l:16,color:null!==(o=null==i?void 0:i.color)&&void 0!==o?o:"rgb(214, 51, 132)"})}(null!==(a=null==y?void 0:y.arrow)&&void 0!==a?a:{}),T=null!=x?x:function(i){var l,e;return n(o,{size:null!==(l=null==i?void 0:i.fontSize)&&void 0!==l?l:16,color:null!==(e=null==i?void 0:i.color)&&void 0!==e?e:"rgb(214, 51, 132)"})}(null!==(v=null==y?void 0:y.arrow)&&void 0!==v?v:{});return l("span",i({style:i({display:"inline"},y.relativeWrapper||{})},{children:[n("div",i({style:i({display:"inline",marginTop:0},y.citationButtonWrapper||{})},{children:l("button",i({type:"button",onClick:function(){return F(function(i){return!i})},style:i({display:"inline-flex",alignItems:"center",gap:"3px",fontFamily:'"Inter", sans-serif',backgroundColor:"transparent",padding:0,margin:0,fontSize:"13px",borderRadius:9999,cursor:"pointer",fontWeight:700,color:"rgb(214, 51, 132)",border:"none",textDecoration:"none",wordBreak:"break-word",whiteSpace:"normal"},y.citationButton||{})},{children:[n("span",{children:j}),n("span",i({style:{display:"flex",alignItems:"center"}},{children:P?R:T}))]}))})),P&&l("div",i({style:D?{position:"fixed",inset:0,zIndex:999999,backgroundColor:"#FAFAFA",display:"flex",flexDirection:"column"}:{boxSizing:"border-box",border:"1px solid #E4E7EC",borderRadius:"8px",overflow:"hidden",marginTop:"8px",display:"flex",flexDirection:"column",width:"100%"}},{children:[n("div",i({style:{display:"flex",justifyContent:"flex-end",padding:"6px 10px",borderBottom:"1px solid #E4E7EC",backgroundColor:"#FFFFFF",flexShrink:0}},{children:n("button",i({onClick:function(){k(function(i){return!i})},style:{background:"none",border:"none",cursor:"pointer",padding:"4px",borderRadius:"6px",color:"#475467",marginRight:"9px"}},{children:n(D?u:s,{})}))})),n("div",i({style:{flex:1,minHeight:0,height:"100%",overflow:"hidden"}},{children:n(c,{href:g,children:p,metaData:h,citationTitle:z,isFullscreen:D})}))]}))]}))};export{v as default};
2
- //# sourceMappingURL=CitationAnchor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CitationAnchor.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as r}from"tslib";import{jsx as i,jsxs as o}from"react/jsx-runtime";import{useMemo as t}from"react";import{Box as n,Typography as e}from"@mui/material";import c from"react-markdown";import d from"./CitationAnchor.js";function l(l){var a=l.content,f=void 0===a?"":a,m=l.title,s=void 0===m?"":m,u=l.citations,p=void 0===u?{}:u,x=l.styles,h=void 0===x?{}:x,v=l.docData,y=void 0===v?{}:v;l.open;var g=t(function(){return JSON.stringify(p||{})},[p]),D=t(function(){return p},[g]),b=t(function(){return JSON.stringify(y||{})},[y]),C=t(function(){return y},[b]),E=t(function(){return{citations:D,docData:C}},[D,C]),F=t(function(){return{a:function(r){var o=r.href,t=void 0===o?"":o,n=r.children;return i(d,{href:t,children:n,metaData:E})}}},[E]);return o(n,r({sx:{borderRadius:"8px",border:"1px solid #E4E7EC",bgcolor:"#FCFCFD"}},{children:[i(n,r({sx:{px:1.5,py:.75,borderBottom:"1px solid #EAECF0"}},{children:i(e,r({sx:{fontSize:"15px",fontWeight:600,color:"#344054",lineHeight:1.25}},{children:s}))})),i(n,r({sx:{px:1.5,py:1.1,display:"flex",flexDirection:"column",gap:.95}},{children:i(n,r({sx:{display:"flex",flexDirection:"column"}},{children:i(e,r({component:"div",sx:r({},h)},{children:i(c,r({components:F},{children:f}))}))}))}))]}))}export{l as default};
2
- //# sourceMappingURL=CitationRenderer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CitationRenderer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e,__spreadArray as n,__awaiter as i,__generator as t}from"tslib";import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useState as l,useRef as u,useMemo as c,useEffect as a,useCallback as s}from"react";import{Box as d,Snackbar as v,Alert as f,Tooltip as p,Typography as g}from"@mui/material";import{ChevronDown as h}from"lucide-react";import{ButtonCognitiveIcon as m}from"../../assests/svg/ButtonCognitiveIcon.js";import S from"./OverlayComponent.js";import{safeStringify as x,extractDeviationScore as R,generateColorPalette as y,findKeyPathByNodeId as b,DEVIATION_BADGE_SEPARATOR as C,hasMeaningfulRedlineTags as w,scrollAndHighlightClause as _,scrollAndWait as B,waitForScrollIdle as F}from"./CognitiveComparehelpers.js";import{SHARED_MARKDOWN_STYLES as E,DEFAULT_FIELD_CONFIG as I,DEFAULT_COMPARISON_CONFIG as T}from"./CognitiveCompareConfig.js";export{SHARED_MARKDOWN_STYLES}from"./CognitiveCompareConfig.js";import{DEFAULT_DEVIAION_COLOR as A,EMPTY_SUMMARY_POPUP_STATE as D,DEFAULT_COMPONENT_HEADER_TEXT as P}from"./CognitiveCompareConstants.js";import k from"./CognitivePopup.js";import O from"./MoreFunctionsPopup.js";import L from"./LoaderComponent.js";import j from"./components/ThreeDotsLoader.js";import{useCognitiveTreeData as N}from"./hooks/useCompareData.js";import{useComparePopups as H}from"./hooks/useComparePopups.js";import{useSectionRefs as M}from"./hooks/useSectionRefs.js";import{useAccordionState as z}from"./hooks/useAccordionState.js";import{useDeviationNavigation as q}from"./hooks/useDeviationNavigation.js";import V from"./components/CompareHeader.js";import W from"./components/SubSectionAccordion.js";import K from"./components/LHSSectionRow.js";import J from"./components/RHSSectionRow.js";import Y from"./components/CognitiveSummaryPopup.js";import{CompareContextProvider as X}from"./CompareContext.js";import{useStyleHelpers as $}from"./hooks/useStyles.js";import{useResizeHandler as U}from"./hooks/useResizeHandler.js";import{useLinesCalculator as G}from"./hooks/useLinesCalculator.js";import{useSideBySide as Q}from"./hooks/useSideBySide.js";import Z from"./components/SvgConnectors.js";var ee=function(ee){var ne,ie,te,oe,re,le,ue,ce,ae,se,de,ve,fe,pe,ge,he,me,Se,xe,Re,ye,be,Ce,we,_e,Be,Fe,Ee,Ie,Te,Ae,De,Pe,ke,Oe,Le=ee.componentHeaderText,je=void 0===Le?P:Le,Ne=ee.treeData,He=ee.comparisonConfig,Me=ee.leftColumnTitleText,ze=ee.rightColumnTitleText,qe=ee.markdownStyles,Ve=ee.resetTrigger,We=ee.displayConfig,Ke=void 0===We?{isHeaderVisible:!0,isToggleVisible:!0,maintainRelativeOrder:!1,isLoading:!0,showDeviationBadges:!1,enableDeviationSchemaBackwardCompatibility:!1,displayEmailNotifier:!0}:We,Je=ee.onMaintainRelativeOrderChange,Ye=ee.popupConfig,Xe=ee.deviationData,$e=void 0===Xe?{}:Xe,Ue=ee.deviationNodeIdToView,Ge=ee.resetDeviationNodeId,Qe=ee.isProposingFix,Ze=void 0!==Qe&&Qe,en=ee.proposingFixNodeId,nn=ee.isRedlineFlow,tn=l(Ke.maintainRelativeOrder),on=tn[0],rn=tn[1],ln=null!==(ne=null==Ke?void 0:Ke.expandLevels)&&void 0!==ne?ne:0,un=!!(null==Ke?void 0:Ke.expandAllSections),cn=!!on||!!(null==Ke?void 0:Ke.showDeviationBadges),an=l(!1),sn=an[0],dn=an[1],vn=l(null),fn=vn[0],pn=vn[1],gn=l(null===(te=null!==(ie=null==Ne?void 0:Ne.newEvaluationResult)&&void 0!==ie?ie:null==Ke?void 0:Ke.enableDeviationSchemaBackwardCompatibility)||void 0===te||te)[0],hn=l(new Set),mn=hn[0],Sn=hn[1],xn=l([]),Rn=xn[0],yn=xn[1],bn=l(!1),Cn=bn[0],wn=bn[1],_n=u(null),Bn=u(null),Fn=u(null),En=u(null),In=u(null),Tn=u(!1),An=u(null),Dn=u({}),Pn=u([]),kn=u(function(){}),On=u(null),Ln=u(function(){}),jn=c(function(){return JSON.stringify($e||{})},[JSON.stringify($e)]),Nn=c(function(){return $e||{}},[jn]),Hn=c(function(){return(null==Ne?void 0:Ne.cognitive_decisioning)||{}},[Ne]),Mn=c(function(){return e(e({},E),qe)},[qe]),zn=u(null),qn=u(null),Vn=u(null),Wn=u(null),Kn=u(null),Jn=u(null),Yn=u(null),Xn=u(null),$n=u(null),Un=u(null),Gn=H(zn),Qn=Gn.cognitivePopup,Zn=Gn.setCognitivePopup,ei=Gn.moreFunctions,ni=Gn.setMoreFunctions,ii=Gn.position,ti=Gn.setPosition,oi=Gn.activeBadgeId,ri=Gn.summaryPopup,li=Gn.setSummaryPopup,ui=Gn.closeSummaryPopup,ci=Gn.setActiveBadgeId,ai=Gn.popupRef,si=Gn.handleOpenCognitiveCompare,di=Gn.openCognitivePopupFromState,vi=Gn.closeCognitivePopup,fi=Gn.closeMoreFunctionsPopup,pi=c(function(){var e,n,i,t,o,r,l;return{fields:null!==(e=null==He?void 0:He.fields)&&void 0!==e?e:I,thresholds:{high:null!==(i=null===(n=null==He?void 0:He.thresholds)||void 0===n?void 0:n.high)&&void 0!==i?i:T.thresholds.high,medium:null!==(o=null===(t=null==He?void 0:He.thresholds)||void 0===t?void 0:t.medium)&&void 0!==o?o:T.thresholds.medium,exact:null!==(l=null===(r=null==He?void 0:He.thresholds)||void 0===r?void 0:r.exact)&&void 0!==l?l:T.thresholds.exact}}},[He]),gi=l(null),hi=gi[0];gi[1];var mi=null===(le=null===(oe=null==Ne?void 0:Ne.documents)||void 0===oe?void 0:oe[null===(re=null==Ne?void 0:Ne.input_index_map)||void 0===re?void 0:re[0]])||void 0===le?void 0:le.title,Si=null===(ae=null===(ue=null==Ne?void 0:Ne.documents)||void 0===ue?void 0:ue[null===(ce=null==Ne?void 0:Ne.input_index_map)||void 0===ce?void 0:ce[1]])||void 0===ae?void 0:ae.title,xi=x(Me||mi||"Uploaded Contract"),Ri=null===(fe=null===(ve=null===(se=null==Ne?void 0:Ne.documents)||void 0===se?void 0:se[null===(de=null==Ne?void 0:Ne.input_index_map)||void 0===de?void 0:de[0]])||void 0===ve?void 0:ve.metadata)||void 0===fe?void 0:fe.file_name,yi=x(Ri),bi=null===(me=null===(he=null===(pe=null==Ne?void 0:Ne.documents)||void 0===pe?void 0:pe[null===(ge=null==Ne?void 0:Ne.input_index_map)||void 0===ge?void 0:ge[1]])||void 0===he?void 0:he.metadata)||void 0===me?void 0:me.file_name,Ci=x(bi),wi=x(ze||Si||"Reference Template"),_i=N(Ne,on,Nn,pi,gn),Bi=_i.activeProposed,Fi=_i.existingRule,Ei=_i.proposedSections,Ii=_i.existingSections,Ti=_i.visibleFields,Ai=_i.parentDeviationRecord,Di=_i.deviationNumberRegistry,Pi=_i.deviationParentRegistry,ki=_i.parseError;a(function(){ki&&pn("Failed to load comparison: ".concat(ki))},[ki]);var Oi=Ei.length>0||Ii.length>0,Li=c(function(){if(!nn)return"off";var e=0,n=0,i=function(t){Array.isArray(t)&&t.forEach(function(t){var o,r=(null==t?void 0:t.content)||"";w(r)&&(e+=1,n+=String(r).length),(null===(o=null==t?void 0:t.subsections)||void 0===o?void 0:o.length)&&i(t.subsections)})};return i(Ei),i(Ii),"".concat(e,":").concat(n)},[nn,Ei,Ii]);a(function(){if(Ei.length||Ii.length)if(un){var e={},n={},i=function(i,t){i.forEach(function(i,o){var r,l=on?"".concat(t,"-").concat(o):String(o);e[l]=!0;var u=function(e,i){null==e||e.forEach(function(e,t){var o,r="".concat(i,"-").concat(t);n[r]=!0,(null===(o=e.subsections)||void 0===o?void 0:o.length)&&u(e.subsections,r)})};(null===(r=i.subsections)||void 0===r?void 0:r.length)&&u(i.subsections,String(o))})};i(Ei,"left"),i(Ii,"right"),mt(e),xt(n)}else if(ln>0){var t={},o={},r=function(e,n,i){e.forEach(function(e,r){var l;if(i>=1){var u=on?"".concat(n,"-").concat(r):String(r);t[u]=!0}var c=function(e,n,t){t>i||null==e||e.forEach(function(e,i){var r,l="".concat(n,"-").concat(i);o[l]=!0,(null===(r=e.subsections)||void 0===r?void 0:r.length)&&c(e.subsections,l,t+1)})};(null===(l=e.subsections)||void 0===l?void 0:l.length)&&i>=2&&c(e.subsections,String(r),2)})};r(Ei,"left",ln),r(Ii,"right",ln),mt(t),xt(o)}},[un,ln,Ei,Ii,on]);var ji=M(Ti.map(function(e){return e.key}),Math.max(Ei.length,Ii.length)),Ni=ji.leftRefs,Hi=ji.rightRefs,Mi=ji.sectionLeftRefs,zi=ji.sectionRightRefs,qi=ji.lhsBadgeRefs,Vi=ji.rhsBadgeRefs,Wi=ji.sectionRightRowRefs,Ki=ji.subSectionLeftRefs,Ji=ji.subSectionRightRefs,Yi=ji.sectionRowRefs,Xi=ji.getSectionRowRef,$i=ji.getSubSectionRef,Ui=ji.getBadgeRef,Gi=Q({maintainRelativeOrder:on,proposedSections:Ei,existingSections:Ii,leftContainerRef:Xn,rightContainerRef:Vn,scrollContainerRef:zn,sectionLeftRefs:Mi,sectionRightRefs:zi,subSectionLeftRefs:Ki,subSectionRightRefs:Ji,lhsBadgeRefs:qi,rhsBadgeRefs:Vi,sectionRowRefs:Yi,sectionRightRowRefs:Wi,rhsTopSpacerRef:Wn,rhsBottomSpacerRef:Kn,lhsTopSpacerRef:Jn,lhsBottomSpacerRef:Yn,calculateLinesRef:kn,setConnectedSections:Sn,setConnectedLines:yn,cachedConnectedPositions:Pn,closeMoreFunctionsPopup:fi,setErrorToast:pn,moreFunctions:ei,closeSummaryPopup:ui}),Qi=Gi.isSideBySide,Zi=Gi.isArrowVisible,et=Gi.setIsArrowVisible,nt=Gi.isResizing,it=Gi.setIsResizing,tt=Gi.isSideBySideLoading,ot=Gi.activeSideBySideSection,rt=Gi.scrollLock,lt=Gi.sideBySideCacheRef,ut=Gi.isSideBySideRef,ct=Gi.activeSideBySideRightSectionRef,at=Gi.activeSideBySideSectionRef,st=Gi.sideBySideLineRef,dt=Gi.highlightedClauseRefs,vt=Gi.clearClauseHighlight,ft=Gi.resetSideBySide,pt=Gi.activateSideBySide,gt=z({maintainRelativeOrder:!!on,proposedSections:Ei,existingSections:Ii,activeSideBySideSection:ot,connectedSections:mn,resetSideBySide:ft,setConnectedSections:Sn,setConnectedLines:yn,cachedConnectedPositions:Pn,svgContainerRef:_n,isAnimatingRef:Tn,animationTimerRef:An,calculateLinesRef:kn,sectionLeftRefs:Mi,sectionRightRefs:zi,subSectionLeftRefs:Ki,subSectionRightRefs:Ji}),ht=gt.expandedSections,mt=gt.setExpandedSections,St=gt.expandedSubSections,xt=gt.setExpandedSubSections,Rt=gt.handleSubSectionToggle,yt=gt.toggleSection,bt=gt.forceExpandCrossWiredSections,Ct=function(){var e,n;if(null!=ot){var i=null===(e=Mi.current[ot])||void 0===e?void 0:e.current,t=null===(n=zi.current[ot])||void 0===n?void 0:n.current,o=Vn.current;if(i&&t&&o){var r=i.getBoundingClientRect(),l=t.getBoundingClientRect(),u=o.getBoundingClientRect(),c=r.top-u.top,a=l.top-u.top-c;o.scrollBy({top:a,behavior:"smooth"})}}},wt=s(function(e){null==e||e.stopPropagation(),wn(function(e){var n=!e;return n&&requestAnimationFrame(function(){Ct()}),n})},[Ct]);a(function(){nn&&"off"!==Li&&"0:0"!==Li&&(lt.current=null,Pn.current=[],requestAnimationFrame(function(){var e;null===(e=kn.current)||void 0===e||e.call(kn)}))},[nn,Li]);var _t=c(function(){var e=new Map,n=new Map,i=1;if(on)Ei.forEach(function(n){!n.title&&!n.content||n.id&&e.set(n.id,i++)}),Ii.forEach(function(t){if(t.id&&!(!t.title&&!t.content)){var o=Ei.filter(function(e){var n;return null===(n=e.refIndexes)||void 0===n?void 0:n.includes(t.selfIndex)});if(o.length>0){var r=o.map(function(n){return e.get(n.id)}).filter(Boolean);n.set(t.id,r.join(", "))}else n.set(t.id,String(i++))}});else for(var t=Math.max(Ei.length,Ii.length),o=0;o<t;o++){var r=Ei[o],l=Ii[o];r?(e.set(r.id,i),l&&n.set(l.id,String(i)),i++):l&&n.set(l.id,String(i++))}return{leftNums:e,rightNums:n}},[Ei,Ii,on]),Bt=Fi.analysis,Ft=x(null===(xe=null===(Se=null==Bt?void 0:Bt.rule_difference_comparison)||void 0===Se?void 0:Se.summary)||void 0===xe?void 0:xe.overall_summary),Et=!!Ft.match(/<ai_reasoning>([\s\S]*?)<\/ai_reasoning>/i),It=null!==(Re=null==Ne?void 0:Ne.base_root_id)&&void 0!==Re?Re:"-1";null==Ne||Ne[It];var Tt=gn?null!==(De=null!==(Ie=$e&&(null===(Ee=null==$e?void 0:$e[It])||void 0===Ee?void 0:Ee.evaluation_result))&&void 0!==Ie?Ie:null===(Ae=null===(Te=null==Ne?void 0:Ne.nodes)||void 0===Te?void 0:Te[It])||void 0===Ae?void 0:Ae.evaluation_result)&&void 0!==De?De:null:null!==(Fe=null!==(Ce=$e&&(null===(be=null===(ye=null==$e?void 0:$e[It])||void 0===ye?void 0:ye.evaluation_result)||void 0===be?void 0:be[0]))&&void 0!==Ce?Ce:null===(Be=null===(_e=null===(we=null==Ne?void 0:Ne.nodes)||void 0===we?void 0:we[It])||void 0===_e?void 0:_e.evaluation_result)||void 0===Be?void 0:Be[0])&&void 0!==Fe?Fe:null,At=R(Tt),Dt=y(null!==(Oe=null===(ke=null===(Pe=null==Tt?void 0:Tt.evaluation_outputs)||void 0===Pe?void 0:Pe.metadata)||void 0===ke?void 0:ke.label_color)&&void 0!==Oe?Oe:A),Pt=u(ft);a(function(){Pt.current=ft},[ft]);var kt=u(vi);a(function(){kt.current=vi},[vi]);var Ot=s(function(e,n,i,t,o,r){return Mo.current(e,n,i,t,o,r)},[]),Lt=s(function(e,n,i,t,o){return qo.current(e,n,i,t,o)},[]),jt=s(function(){return Vo.current()},[]),Nt=s(function(e,n){return Wo.current(e,n)},[]),Ht=s(function(e){return Ko.current(e)},[]),Mt=s(function(e){return Jo.current(e)},[]),zt=s(function(){return Yo.current()},[]),qt=s(function(){var e,n;vt(),null===(e=Pt.current)||void 0===e||e.call(Pt),wn(!1),Sn(new Set),yn([]),Pn.current=[],uo([]),ao(null),li(D),null===(n=kt.current)||void 0===n||n.call(kt),requestAnimationFrame(function(){var e;null===(e=kn.current)||void 0===e||e.call(kn)})},[]),Vt=u(qt);a(function(){Vt.current=qt},[qt]),a(function(){Ve&&Vt.current()},[Ve]);var Wt=c(function(){return{documents:null==Ne?void 0:Ne.documents,input_index_map:null==Ne?void 0:Ne.input_index_map}},[JSON.stringify(null==Ne?void 0:Ne.documents),JSON.stringify(null==Ne?void 0:Ne.input_index_map)]),Kt=u(Ne);a(function(){Kt.current=Ne},[Ne]);var Jt=u(Hn);a(function(){Jt.current=Hn},[Hn]);var Yt=s(function(n,i,t,o,r,l,u){var c,a,s,d,v,f,p,g,h,m,S=x(null==i?void 0:i.id)||x(null==t?void 0:t.id)||"",R=(S?null===(c=Jt.current)||void 0===c?void 0:c[S]:null)||(null==i?void 0:i.cognitiveData)||(null==t?void 0:t.cognitiveData)||{section_id:S,decisioning:[],gap:[],relevance_score:0},y=null!==(s=null===(a=Yi.current[o])||void 0===a?void 0:a.current)&&void 0!==s?s:null,b=function(){var n,r,l=(null==i?void 0:i.evaluationResult)||(null==t?void 0:t.evaluationResult)||null,u=function(n){var i=function(e){if(!e||"object"!=typeof e)return null;var n=null==e?void 0:e.deviation_entries;if(n&&"object"==typeof n){var i=Object.keys(n).sort(function(e,n){return Number(e)-Number(n)})[0];if(i&&n[i])return n[i]}var t=Object.keys(e).filter(function(e){return/^\d+$/.test(e)}).sort(function(e,n){return Number(e)-Number(n)});if(t.length&&e[t[0]])return e[t[0]];var o=null==e?void 0:e.deviations;if(o&&"object"==typeof o){var r=Object.keys(o).sort(function(e,n){return Number(e)-Number(n)})[0];if(r&&o[r])return o[r]}return null}(n);return i?e(e({},n),{deviation_summary:(null==n?void 0:n.deviation_summary)||(null==i?void 0:i.deviation_summary),deviation_title:(null==n?void 0:n.deviation_title)||(null==i?void 0:i.deviation_title),deviation_impact:(null==n?void 0:n.deviation_impact)||(null==i?void 0:i.deviation_impact),deviation_explanation:(null==n?void 0:n.deviation_explanation)||(null==i?void 0:i.deviation_explanation),evaluation_outputs:(null==n?void 0:n.evaluation_outputs)||(null==i?void 0:i.evaluation_outputs),cognitive_decisioning:(null==n?void 0:n.cognitive_decisioning)||(null==i?void 0:i.cognitive_decisioning)}):n};if(!("string"==typeof o&&o.includes(C)))return u(l);var c=o.split(C)[1];if(!c)return l;var a=(null==i?void 0:i.evaluationResult)||(null==t?void 0:t.evaluationResult)||{},s=(null===(n=null==a?void 0:a.deviation_entries)||void 0===n?void 0:n[c])||(null===(r=null==a?void 0:a.deviations)||void 0===r?void 0:r[c])||null;return s?e(e(e({},a),s),{deviation_summary:(null==s?void 0:s.deviation_summary)||(null==a?void 0:a.deviation_summary),deviation_title:(null==s?void 0:s.deviation_title)||(null==a?void 0:a.deviation_title),deviation_impact:(null==s?void 0:s.deviation_impact)||(null==a?void 0:a.deviation_impact),deviation_explanation:(null==s?void 0:s.deviation_explanation)||(null==a?void 0:a.deviation_explanation),evaluation_outputs:(null==s?void 0:s.evaluation_outputs)||(null==a?void 0:a.evaluation_outputs),cognitive_decisioning:(null==s?void 0:s.cognitive_decisioning)||(null==a?void 0:a.cognitive_decisioning)}):u(l)}(),w=(null!==(f=null===(v=null===(d=null==b?void 0:b.cognitive_decisioning)||void 0===d?void 0:d.decisioning_factors)||void 0===v?void 0:v.length)&&void 0!==f?f:0)>0||(null!==(h=null===(g=null===(p=null==b?void 0:b.cognitive_decisioning)||void 0===p?void 0:p.gaps_in_decision)||void 0===g?void 0:g.length)&&void 0!==h?h:0)>0;return{isLoading:null!==(m=null==Ke?void 0:Ke.isLoading)&&void 0!==m&&m&&!w,open:!0,sectionTitle:(null==i?void 0:i.title)?null==i?void 0:i.title:"No Counterpart",refSectionTitle:(null==t?void 0:t.title)?null==t?void 0:t.title:"No Counterpart",cognitiveData:R,anchorEl:n,sectionAnchorEl:y,badgeStyle:l||null,sectionIdx:o,docData:Wt,deviationData:b,isOrphan:!!r}},[Wt,null==Ke?void 0:Ke.isLoading]),Xt=s(function(e,n,i,t,o,r){var l;if(e.stopPropagation(),ei.open&&ei.sectionIdx===o)fi();else{var u=e.currentTarget,c="left";(null===(l=Vn.current)||void 0===l?void 0:l.contains(u))&&(c="right");vt(),ut.current&&ft(),Sn(new Set),yn([]),Pn.current=[],vi(),ri.open?yo():ui(),requestAnimationFrame(function(){var e=function(){var e,n,i,t;if("string"==typeof o&&o.includes(C)){var r=o.split(C),l="".concat(r[0]).concat(C).concat(r[1]);return"right"===c?null===(e=Vi.current[l])||void 0===e?void 0:e.current:null===(n=qi.current[l])||void 0===n?void 0:n.current}return"right"===c?null===(i=Vi.current[o])||void 0===i?void 0:i.current:null===(t=qi.current[o])||void 0===t?void 0:t.current}()||u;ni(Yt(e,n,t,o,i,r))})}},[ei.open,ei.sectionIdx,fi,ui,Yt]),$t=s(function(){var e=ei.sectionIdx;ei.isOrphan,fi(),ui(),null!==e&&(bt(e),vt(),ut.current&&ft(),yn([]),Pn.current=[],Sn(function(n){return n.has(e)?new Set:new Set([e])}),setTimeout(function(){kn.current&&kn.current()},50))},[ei.sectionIdx,ei.isOrphan,fi,ui,ft]),Ut=s(function(){var e=In.current;if(e){In.current=null;var n=Ei.findIndex(function(n){return n.id===e}),i=Ii.findIndex(function(n){return n.id===e}),t=-1===n?b(Ei,e):null,o=-1===i?b(Ii,e):null,r=-1!==n?n:t?Number(t.split("-")[0]):-1,l=-1!==i?i:o?Number(o.split("-")[0]):-1,u=function(e,n,i,t){var o,r,l,u;return-1!==e?null!==(r=null===(o=i.current[e])||void 0===o?void 0:o.current)&&void 0!==r?r:null:n&&null!==(u=null===(l=t.current[n])||void 0===l?void 0:l.current)&&void 0!==u?u:null},c=function(e,n,i){void 0===i&&(i=30);var t=0,o=function(){var r=e();r&&0!==r.getBoundingClientRect().height?(dt.current.add(r),_(r,n)):t++<i&&requestAnimationFrame(o)};requestAnimationFrame(o)};if(on)-1!==r&&Xn.current&&c(function(){return u(n,t,Mi,Ki)},Xn.current),-1!==l&&Vn.current&&c(function(){return u(i,o,zi,Ji)},Vn.current);else{var a=zn.current;if(!a)return;c(function(){return-1!==r?u(n,t,Mi,Ki):u(i,o,zi,Ji)},a)}}},[Ei,Ii,on,Mi,zi,Ki,Ji,Xn,Vn,zn]),Gt=s(function(n){if(n){vt(),ft(),Sn(new Set),yn([]),Pn.current=[],ui(),vi();var i=Ei.findIndex(function(e){return e.id===n}),t=Ii.findIndex(function(e){return e.id===n}),o=-1===i?b(Ei,n):null,r=-1===t?b(Ii,n):null;if(-1!==i||o||-1!==t||r){var l=-1!==i?i:o?Number(o.split("-")[0]):-1,u=-1!==t?t:r?Number(r.split("-")[0]):-1;In.current=n,mt(function(n){var i,t=e({},n),o=!1;-1!==l&&(t[i=on?"left-".concat(l):String(l)]||(t[i]=!0,o=!0));-1!==u&&(t[i=on?"right-".concat(u):String(u)]||(t[i]=!0,o=!0));return o?t:n}),xt(function(n){var i=e({},n),t=!1,l=function(e){for(var n=e.split("-"),o=n[0],r=1;r<n.length;r++)o+="-".concat(n[r]),i[o]||(i[o]=!0,t=!0)};return o&&l(o),r&&l(r),t?i:n}),setTimeout(function(){requestAnimationFrame(function(){In.current===n&&Qt.current()})},50)}else console.warn('scrollToAndHighlightClause: nodeId "'.concat(n,'" not found'))}},[Ei,Ii,on,mt,xt,ft,ui,vi]),Qt=u(Ut);a(function(){Qt.current=Ut},[Ut]);var Zt=u(null);a(function(){if(hi){var e=pi.fields.find(function(e){return e.analysisKey===hi||e.key===hi});if(e){var n=Ni.current[e.key]||Hi.current[e.key];(null==n?void 0:n.current)&&setTimeout(function(){return n.current.scrollIntoView({behavior:"smooth",block:"center"})},150)}}},[hi,pi.fields]);var eo=s(function(e){var n,i,t,o,r,l,u,c,a,s=null===(n=null==Bt?void 0:Bt.rule_difference_comparison)||void 0===n?void 0:n.fields;if(!s||!s[e])return{score:0,relation:"",highlightsA:[],highlightsB:[],hasContent:!1};var d=s[e],v=(null==d?void 0:d.relation)||(null===(t=null===(i=null==d?void 0:d.highlights)||void 0===i?void 0:i.ruleA_spans)||void 0===t?void 0:t.length)||(null===(r=null===(o=null==d?void 0:d.highlights)||void 0===o?void 0:o.ruleB_spans)||void 0===r?void 0:r.length)||(null==d?void 0:d.mappings)&&d.mappings.length>0;if(d.mappings){var f=d.mappings[0]||{};return{score:d.score,relation:f.relation||"",highlightsA:(null===(l=f.highlights)||void 0===l?void 0:l.ruleA_spans)||[],highlightsB:(null===(u=f.highlights)||void 0===u?void 0:u.ruleB_spans)||[],hasContent:!!v}}return{score:d.score,relation:d.relation||"",highlightsA:(null===(c=d.highlights)||void 0===c?void 0:c.ruleA_spans)||[],highlightsB:(null===(a=d.highlights)||void 0===a?void 0:a.ruleB_spans)||[],hasContent:!!v}},[Bt]),no=$({proposedSections:Ei,existingSections:Ii,maintainRelativeOrder:on,cognitiveMap:Hn,deviationData:Nn,treeData:Ne,resolvedComparisonConfig:pi}),io=no.getSectionCompareStyle,to=no.getSubSectionCompareStyle,oo=no.getDeviationStyleByKey,ro=G({containerRef:Bn,leftContainerRef:Xn,rightContainerRef:Vn,svgContainerRef:_n,pathRefs:Dn,leftHeaderRef:Fn,rightHeaderRef:En,proposedSections:Ei,existingSections:Ii,visibleFields:Ti,leftRefs:Ni,rightRefs:Hi,sectionLeftRefs:Mi,sectionRightRefs:zi,subSectionLeftRefs:Ki,subSectionRightRefs:Ji,lhsBadgeRefs:qi,rhsBadgeRefs:Vi,sectionRowRefs:Yi,expandedSections:ht,expandedSubSections:St,connectedSections:mn,isSideBySide:Qi,activeSideBySideSection:ot,maintainRelativeOrder:on,cognitiveMap:Hn,getSectionCompareStyle:io,getSubSectionCompareStyle:to,getDeviationStyleByKey:oo,isArrowVisible:Zi,isAnimatingRef:Tn,isSideBySideRef:ut,sideBySideCacheRef:lt,sideBySideLineRef:st,activeSideBySideSectionRef:at,activeSideBySideRightSectionRef:ct,connectedLines:Rn,setConnectedLines:yn,cachedConnectedPositions:Pn,calculateLinesRef:kn,resizeTimerRef:On,scrollLock:rt,scrollSyncLocked:Cn,handleResizeRef:Ln,activeProposed:Bi,existingRule:Fi,analysisData:Bt,pendingScrollTargetRef:$n,pendingScrollCallbackRef:Un,resolvedComparisonConfig:pi,getFieldData:eo}),lo=ro.lines,uo=ro.setLines,co=ro.overallConnector,ao=ro.setOverallConnector,so=ro.svgDimensions,vo=ro.handleColumnScroll;a(function(){ri.anchorEl&&requestAnimationFrame(function(){requestAnimationFrame(function(){var e;null===(e=kn.current)||void 0===e||e.call(kn)})})},[ri.anchorEl,Cn]);var fo=s(function(){vt(),wn(!1),mt({}),xt({}),ft(),Sn(new Set),yn([]),Pn.current=[],ui(),vi(),fi(),requestAnimationFrame(function(){kn.current&&kn.current()})},[mt,xt,ft,ui,vi,fi]);a(function(){Qi||0!==mn.size||wn(!1)},[Qi,mn]);var po=c(function(){return Object.values(ht).some(Boolean)||Object.values(St).some(Boolean)},[ht,St]),go=u(null),ho=u(0),mo=u(0),So=u(0),xo=U({timerRef:go,ruleComponentRef:qn,scrollContainerRef:zn,containerRef:Bn,maintainRelativeOrder:on,proposedSections:Ei,existingSections:Ii,isSideBySideRef:ut,activeSideBySideSectionRef:at,activeSideBySideRightSectionRef:ct,sectionRowRefs:Yi,sectionRightRowRefs:Wi,sectionLeftRefs:Mi,sectionRightRefs:zi,subSectionLeftRefs:Ki,subSectionRightRefs:Ji,lhsBadgeRefs:qi,rhsBadgeRefs:Vi,leftContainerRef:Xn,rightContainerRef:Vn,calculateLinesRef:kn,handleResizeRef:Ln,setIsResizing:it,setIsArrowVisible:et,sideBySideCacheRef:lt,cachedConnectedPositions:Pn}).handleResize;a(function(){Ln.current=xo},[xo,Ln]),a(function(){var e=function(e,n,i,t,o){n.current=e.getBoundingClientRect().width;var r=new ResizeObserver(function(e){null!==i.current&&cancelAnimationFrame(i.current),i.current=requestAnimationFrame(function(){var r,l,u;i.current=null;var c=e[e.length-1];if(c){var a=null!==(u=null===(l=null===(r=c.borderBoxSize)||void 0===r?void 0:r[0])||void 0===l?void 0:l.inlineSize)&&void 0!==u?u:c.contentRect.width;Math.abs(a-n.current)<1?o():(n.current=a,t())}})});return r.observe(e),r},n={current:null},i={current:null},t={current:null},o=[],r=[n,i,t];return qn.current&&o.push(e(qn.current,ho,n,function(){return Ln.current()},function(){})),zn.current&&o.push(e(zn.current,mo,i,function(){return Ln.current()},function(){return kn.current()})),Bn.current&&o.push(e(Bn.current,So,t,function(){return Ln.current()},function(){return kn.current()})),function(){o.forEach(function(e){return e.disconnect()}),r.forEach(function(e){null!==e.current&&(cancelAnimationFrame(e.current),e.current=null)})}},[]),a(function(){ut.current=Qi},[Qi]),a(function(){at.current=ot},[ot]);var Ro=s(function(){var e,n=ei.sectionIdx,i=ei.isOrphan;if(ui(),null!=n){var t="left";ei.anchorEl&&(null===(e=Vn.current)||void 0===e?void 0:e.contains(ei.anchorEl))&&(t="right"),bt(n),pt(n,i,{sourceSide:t})}},[pt,ei.isOrphan,ei.sectionIdx,ei.anchorEl,ui]),yo=s(function(){ui(),ft(),Sn(new Set),yn([]),Pn.current=[]},[ui,ft]),bo=null!==ei.sectionIdx&&mn.has(ei.sectionIdx),Co=q({proposedSections:Ei,existingSections:Ii,parentDeviationRecord:Ai,expandedSections:ht,maintainRelativeOrder:!!on,scrollContainerRef:zn,leftContainerRef:Xn,rightContainerRef:Vn,lhsBadgeRefs:qi,rhsBadgeRefs:Vi}),wo=Co.showDeviationNavigation,_o=Co.showOpenNodeRef,Bo=Co.adjustScrollForPopup,Fo=s(function(e,n,i,t,o){var r,l="string"==typeof t?x(t).trim():x(null==t?void 0:t.deviation_summary).trim(),u=e.currentTarget;vi();var c="left";(null===(r=Vn.current)||void 0===r?void 0:r.contains(u))&&(c="right");var a=function(){var e,i,t,o;if("string"==typeof n&&n.includes(C)){var r=n.split(C),l="".concat(r[0]).concat(C).concat(r[1]);return"right"===c?null===(e=Vi.current[l])||void 0===e?void 0:e.current:null===(i=qi.current[l])||void 0===i?void 0:i.current}return"right"===c?null===(t=Vi.current[n])||void 0===t?void 0:t.current:null===(o=qi.current[n])||void 0===o?void 0:o.current};if(i)return ft(),Sn(new Set),yn([]),Pn.current=[],void(l&&(bt(n),requestAnimationFrame(function(){var e=a()||u;e&&(e.getBoundingClientRect().top>.8*window.innerHeight&&e.scrollIntoView({behavior:"smooth",block:"center"}));li({open:!0,anchorEl:e,summary:t,displayImpact:o})})));bt(n),l?setTimeout(function(){pt(n,i,{toggleIfSame:!1,sourceSide:c,onReady:function(){var e,n,i,r=a()||u;if(r){var l=r.getBoundingClientRect();if(l.top>.8*window.innerHeight||l.top<100){var c=l.top-window.innerHeight/2;on?(null===(e=Xn.current)||void 0===e||e.scrollBy({top:c,behavior:"smooth"}),null===(n=Vn.current)||void 0===n||n.scrollBy({top:c,behavior:"smooth"})):null===(i=zn.current)||void 0===i||i.scrollBy({top:c,behavior:"smooth"})}}li({open:!0,anchorEl:r,summary:t,displayImpact:o})}})},350):setTimeout(function(){pt(n,i,{toggleIfSame:!1,sourceSide:c})},350)},[pt,vi,li,ft,bt]),Eo=c(function(){var e;if(!Ue)return null;var n=null===(e=null==Ue?void 0:Ue.id)||void 0===e?void 0:e.split(":")[0];for(var i in Ai){if((Ai[i]||[]).some(function(e){return e.id===n}))return i}return null},[Ue,Ai]),Io=u({id:null,triggerMs:null}),To=u(null);a(function(){if(null==Ue?void 0:Ue.id){var o=Number(Ue.trigger),r=Io.current;if((null==r?void 0:r.triggerMs)!==o){if(!(Ue.id.includes(":")&&/:\d+$/.test(Ue.id)))return Io.current={id:Ue.id,triggerMs:o},void Gt(Ue.id);var l=Ue.id.split(":"),u=l[0],c=l[1],a=null!=c?c:"0";To.current!==Ue.id&&(ui(),vi(),ft(),Sn(new Set),yn([]),Pn.current=[],To.current=Ue.id);var s=!1,d=0,v=null,f=null,p=!1,g=function(e,n){for(var i=function(e,t){if(!e)return null;if(e.id===n)return t;if(!Array.isArray(e.subsections))return null;for(var o=0;o<e.subsections.length;o++){var r=i(e.subsections[o],"".concat(t,"-").concat(o));if(r)return r}return null},t=0;t<e.length;t++){var o=i(e[t],String(t));if(o)return o}return null},h=function(){var r,l,c,m;if(!s){var S=function(){Io.current={id:Ue.id,triggerMs:o}},x=null,R=null;for(var y in Ai){var b=Ai[y].find(function(e){return e.id===u});if(b){x=y,R=b;break}}if(R&&x){var w=Ei.findIndex(function(e){return e.id===x}),_=Ii.findIndex(function(e){return e.id===x}),E=-1===w&&-1!==_,I=g(Ei,R.id),T=g(Ii,R.id);if(I&&!T&&!E){var A=I.split("-"),D=Number(A[0]);if(on){var P=null===(l=null===(r=Ei[D])||void 0===r?void 0:r.refIndexes)||void 0===l?void 0:l[0],k=Ii.findIndex(function(e){return e.selfIndex===P});-1!==k&&(D=k)}T=n([D],A.slice(1),!0).join("-")}if(I||T){var O=I?Number(I.split("-")[0]):w,L=T?Number(T.split("-")[0]):_,j=L>=0?L:T?Number(T.split("-")[0]):-1,N=Ei[O],H=Ii[j],M=N&&!N.title&&!N.content,z=H&&!H.title&&!H.content,q=E||(!I&&!!T||M&&!z);if(q){if(!(on?!!zo.current["right-".concat(L)]:!!zo.current[String(L)])&&L>=0)return yt(L,"right"),void(v=setTimeout(h,200))}else if(!(on?!!zo.current["left-".concat(O)]:!!zo.current[String(O)])&&O>=0)return yt(O,"left"),void(v=setTimeout(h,200));var V=I||"",W=T||"",K="".concat(R.id).concat(C).concat(a).concat(C).concat(V).concat(C).concat(W),J="".concat(R.id).concat(C).concat(a);if(!p){bt(K),p=!0,d=0;var Y=function(){var e,n,i=null===(e=qi.current[J])||void 0===e?void 0:e.current,t=null===(n=Vi.current[J])||void 0===n?void 0:n.current;return q||!i&&!!t?t:i};return null==f||f(),void(v=setTimeout(function(){var e,n,i,t,o,r,l;s||(e=Y,n=function(){s||(f=null,h())},t=0,o=null,r=null,l=function(){if(!s){var u=e();if(u&&0!==u.getBoundingClientRect().height){var c=u.getBoundingClientRect(),a=c.top,d=c.height,v=null!==o&&Math.abs(a-o)<.5,f=null!==r&&Math.abs(d-r)<.5;if(v&&f){if(++t>=5)return void n()}else t=0;o=a,r=d,i=requestAnimationFrame(l)}else i=requestAnimationFrame(l)}},i=requestAnimationFrame(l),f=function(){return cancelAnimationFrame(i)})},300))}var X=null===(c=qi.current[J])||void 0===c?void 0:c.current,$=null===(m=Vi.current[J])||void 0===m?void 0:m.current;if(X||$){var U=q||!X&&!!$,G=U?$:X,Q=on?U?Vn.current:Xn.current:zn.current;if(G&&Q){var Z=G.getBoundingClientRect();if(0!==Z.height){var ee=Q.getBoundingClientRect(),ne=Z.top-ee.top+Q.scrollTop-ee.height/2+Z.height/2,ie=(null==I?void 0:I.includes("-"))||(null==T?void 0:T.includes("-")),te=function(){return i(void 0,void 0,void 0,function(){var n,i,o,r,l,u,c,d,v,f;return t(this,function(t){switch(t.label){case 0:return s?[2]:(S(),n=G instanceof Element?window.getComputedStyle(G).color:"",[X,$].forEach(function(e){e&&(e.style.transition="box-shadow 300ms ease-in-out",e.style.boxShadow="0 0 10px ".concat(n))}),setTimeout(function(){[X,$].forEach(function(e){e&&(e.style.boxShadow="")})},2e3),i=(null===(c=null===(u=R.evaluationResult)||void 0===u?void 0:u.deviations)||void 0===c?void 0:c[a])||R,o=(null===(d=R.evaluationResult)||void 0===d?void 0:d.evaluation_outputs)||R.evaluation_outputs,!!X&&!!$?(l=function(e,n){return Promise.race([e,new Promise(function(e){return setTimeout(e,n)})])},on?[4,Promise.all([Xn.current?l(F(Xn.current),600):Promise.resolve(),Vn.current?l(F(Vn.current),600):Promise.resolve()])]:[3,2]):(r=U?(null===(v=Vi.current[ie?J:L])||void 0===v?void 0:v.current)||$:(null===(f=qi.current[ie?J:O])||void 0===f?void 0:f.current)||X,Bo(r,function(){li({open:!0,anchorEl:r,displayImpact:Ue.displayImpact,summary:e(e({},i),{evaluation_outputs:o})})},{skipScroll:!0}),null==Ge||Ge(),[2]));case 1:t.sent(),t.label=2;case 2:return pt(K,!1,{toggleIfSame:!1,sourceSide:E?"right":"left",onReady:function(){var n,t,o,r;S();var l=U?(null===(n=Vi.current[J])||void 0===n?void 0:n.current)||$:(null===(t=qi.current[J])||void 0===t?void 0:t.current)||X,u=(null===(o=qi.current[J])||void 0===o?void 0:o.current)||X,c=(null===(r=Vi.current[J])||void 0===r?void 0:r.current)||$;u&&(u.style.scrollMarginTop="150px",u.scrollIntoView({behavior:"smooth",block:"start"})),c&&(c.style.scrollMarginTop="150px",c.scrollIntoView({behavior:"smooth",block:"start"})),li({open:!0,anchorEl:l,displayImpact:Ue.displayImpact,summary:e({},i)}),null==Ge||Ge()}}),[2]}})})};Math.abs(Q.scrollTop-ne)<=2?te():B(Q,ne,te)}else++d<2?v=setTimeout(h,100):S()}else++d<2?v=setTimeout(h,100):S()}else++d<2?v=setTimeout(h,100):S()}else++d<2?v=setTimeout(h,100):S()}else++d<2?v=setTimeout(h,100):S()}};return v=setTimeout(h,100),function(){s=!0,v&&clearTimeout(v),null==f||f()}}}},[Ue,Ai,Ei,Ii,on,ht,pt,li,Gt]),a(function(){var n,i,t;if(ri.open){var o=ri.anchorEl;if(o&&!o.isConnected){var r=function(e){for(var n,i=0,t=Object.entries(e);i<t.length;i++){var r=t[i],l=r[0];if((null===(n=r[1].current)||void 0===n?void 0:n.textContent)===o.textContent)return l}return null},l=(null===(n=o.dataset)||void 0===n?void 0:n.deviationRefId)||r(qi.current)||r(Vi.current);if(l){var u=(null===(i=Vi.current[l])||void 0===i?void 0:i.current)||(null===(t=qi.current[l])||void 0===t?void 0:t.current);u&&u.isConnected&&li(function(n){return e(e({},n),{anchorEl:u})})}}}},[ri.open,ri.anchorEl,Cn,mn,ht]);var Ao=Qn.open,Do=Qn.sectionIdx,Po=Qn.isOrphan,ko=Qn.badgeStyle,Oo=Qn.anchorEl,Lo=Qn.sectionAnchorEl;a(function(){var n;if(Ao&&null!=Do&&Do!==It){var i="string"==typeof Do?Do.split(C)[0]:null,t=function(e,n){var i;if(!e||!Array.isArray(e))return null;for(var o=0,r=e;o<r.length;o++){var l=r[o];if(l.id===n)return l;if(null===(i=l.subsections)||void 0===i?void 0:i.length){var u=t(l.subsections,n);if(u)return u}}return null},o=i&&"string"==typeof i?t(Ei,i):null,r=i&&"string"==typeof i?t(Ii,i):null,l="number"==typeof Do?Ei[Do]||null:o||i&&((null===(n=null==Ne?void 0:Ne.nodes)||void 0===n?void 0:n[i])||(null==Ne?void 0:Ne[i]))||null,u="number"==typeof Do?Ii[Do]||null:r,c=Yt(Oo,l,u,Do,Po,ko);Zn(function(n){return n.open?x(n.cognitiveData)===x(c.cognitiveData)&&x(n.deviationData)===x(c.deviationData)&&n.sectionTitle===c.sectionTitle&&n.refSectionTitle===c.refSectionTitle?n:e(e(e({},n),c),{open:!0,anchorEl:n.anchorEl,sectionAnchorEl:n.sectionAnchorEl}):n})}},[Ao,Do,Po,ko,Oo,Lo,Ei,Ii,Yt]);var jo=s(function(e){var n=e.section,i=e.keyPath,t=e.depth,r=void 0===t?0:t,l=e.columnKey,u=void 0===l?"left":l,c=e.parentNodeId,a=void 0===c?"":c,s=e.sectionOffset;return o(W,{section:n,keyPath:i,depth:r,columnKey:u,parentNodeId:a,sectionOffset:s})},[]),No=c(function(){return Ei.map(function(e,n){var i,t=!(null==e?void 0:e.title)&&!(null==e?void 0:e.content),r=!(null==e?void 0:e.refIndexes)||0===e.refIndexes.length;return t&&r&&on?null:o(K,{section:e,idx:n},null!==(i=null==e?void 0:e.id)&&void 0!==i?i:"left-row-".concat(n))})},[Ei]),Ho=c(function(){return Ii.map(function(e,n){var i,t=!(null==e?void 0:e.title)&&!(null==e?void 0:e.content),r=!(null==e?void 0:e.refIndexes)||0===e.refIndexes.length;return t&&r&&on?null:o(J,{section:e,idx:n},null!==(i=null==e?void 0:e.id)&&void 0!==i?i:"right-row-".concat(n))})},[Ii]),Mo=u(Xt);a(function(){Mo.current=Xt},[Xt]);var zo=u(ht);a(function(){zo.current=ht},[ht]);var qo=u(Fo);a(function(){qo.current=Fo},[Fo]);var Vo=u(yo);a(function(){Vo.current=yo},[yo]);var Wo=u(yt);a(function(){Wo.current=yt},[yt]);var Ko=u(Rt);a(function(){Ko.current=Rt},[Rt]);var Jo=u(jo);a(function(){Jo.current=jo},[jo]);var Yo=u(ft);a(function(){Yo.current=ft},[ft]);var Xo=c(function(){return{maintainRelativeOrder:!!on,showDeviationBadges:cn,isProposingFix:Ze,proposingFixNodeId:en,isRedlineFlow:nn,isSideBySide:Qi,activeSideBySideSection:ot,scrollSyncLocked:Cn,toggleScrollSyncLocked:wt,summaryPopupAnchorEl:ri.anchorEl,connectedSections:mn,proposedSections:Ei,existingSections:Ii,deviationNumberRegistry:Di,deviationParentRegistry:Pi,treeData:Ne,displayConfig:Ke,resolvedMarkdownStyles:Mn,unifiedNumbering:_t,expandedSections:ht,expandedSubSections:St,setExpandedSubSections:xt,getSectionCompareStyle:io,getSubSectionCompareStyle:to,getBadgeRef:Ui,getSectionRowRef:Xi,getSubSectionRef:$i,sectionLeftRefs:Mi,sectionRightRefs:zi,sectionRowRefs:Yi,sectionRightRowRefs:Wi,subSectionLeftRefs:Ki,subSectionRightRefs:Ji,lhsBadgeRefs:qi,rhsBadgeRefs:Vi,openMoreFunctionsPopup:Ot,handleOpenSummaryPopup:Lt,openSummaryPopup:Lt,handleCloseSummaryPopup:jt,toggleSection:Nt,handleSubSectionToggle:Ht,renderSubSectionAccordion:Mt,resetSideBySide:zt,setConnectedSections:Sn,setConnectedLines:yn,cachedConnectedPositions:Pn,showDeviationNavigation:wo,showOpenNodeRef:_o,deviationNodeIdToView:null==Ue?void 0:Ue.id,deviationTargetParentId:Eo}},[on,cn,Ze,en,nn,Qi,ot,Cn,wt,ri.anchorEl,mn,Ei,Ii,Di,Ke,Mn,_t,ht,St,xt,io,to,Ui,Xi,$i,wo,_o,Ue,Eo]);return o(X,e({value:Xo},{children:r(d,e({ref:qn,sx:{display:"flex",flexDirection:"column",height:"100%",bgcolor:"#F6F7F9B2",fontFamily:'"Plus Jakarta Sans", sans-serif',overflow:"visible",position:"relative"}},{children:[sn&&o(d,e({sx:{position:"absolute",inset:0,bgcolor:"rgba(255, 255, 255, 0.6)",backdropFilter:"blur(10px)",zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"8px"}},{children:o(L,{})})),ri.open&&o(Y,{open:ri.open,anchorEl:ri.anchorEl,containerEl:Zt.current,clipTopEl:Fn.current,scrollContainerEl:zn.current,onClose:yo,summary:ri.summary,displayImpact:ri.displayImpact,isScrollLocked:Cn}),o(O,{open:ei.open,anchorEl:ei.anchorEl,maintainRelativeOrder:!!on,sectionTitle:ei.sectionTitle,referenceSectionTitle:ei.refSectionTitle,onClose:fi,onOpenCognitiveCompare:si,onOpenSideBySide:Ro,onConnect:$t,isConnected:bo,isOrphan:ei.isOrphan}),Qn.open&&o(k,{open:Qn.open,popupRef:ai,position:ii,popupConfig:Ye,onClose:function(){ti(null),Zn(function(n){return e(e({},n),{open:!1})}),ci(null)},markdownStyles:qe,sectionTitle:yi,referenceSectionTitle:Ci,cognitiveData:Qn.cognitiveData,anchorEl:Qn.anchorEl,sectionAnchorEl:Qn.sectionAnchorEl,scrollContainerEl:zn.current,badgeStyle:Qn.badgeStyle,docData:Qn.docData,deviationData:Qn.deviationData,isLoading:Qn.isLoading}),o(v,e({open:!!fn,autoHideDuration:8e3,onClose:function(){return pn(null)},anchorOrigin:{vertical:"top",horizontal:"center"}},{children:o(f,e({onClose:function(){return pn(null)},severity:"error",sx:{width:"100%",whiteSpace:"pre-line"}},{children:fn}))})),o(V,{componentHeaderText:je,displayConfig:Ke,maintainRelativeOrder:on,onCollapseAll:fo,showCollapseAll:po,onToggleView:function(e){dn(!0),setTimeout(function(){rn(!e),null==Je||Je(!e),wn(!1),ft(),ui(),Sn(new Set),yn([]),Pn.current=[],requestAnimationFrame(function(){requestAnimationFrame(function(){setTimeout(function(){dn(!1)},600)})})},50)}}),o(d,e({ref:zn,onScroll:vo,sx:{flex:1,minHeight:0,pt:1.5,pb:1,px:3,display:"flex",justifyContent:"center",alignItems:"flex-start",bgcolor:"#FFFFFF",overflowY:on?"visible":"auto",borderTop:Ft&&Et?"none":"1.5px solid #EEF0F4"}},{children:o(d,e({sx:e({display:"flex",flexDirection:"column",width:"100%",maxWidth:"1200px"},on?{flex:1}:{})},{children:r(d,e({ref:Bn,sx:e({display:"grid",gridTemplateColumns:"minmax(0, 1fr) 180px minmax(0, 1fr)",gap:"60px",maxWidth:"1200px",width:"100%",position:"relative",minHeight:0},on?{flex:1,overflow:"visible"}:{})},{children:[o(Z,{svgContainerRef:_n,svgDimensions:so,isResizing:nt,overallConnector:co,rootDeviationStyle:Dt,lines:lo,isSideBySide:Qi,activeSideBySideSection:ot,isArrowVisible:Zi,maintainRelativeOrder:on,proposedSections:Ei,existingSections:Ii,cognitivePopup:Qn,activeBadgeId:oi,closeCognitivePopup:vi,setActiveBadgeId:ci,openCognitivePopupFromState:di,buildSectionPopupState:Yt,connectedLines:Rn,pathRefs:Dn}),r(d,e({sx:e({border:"1px solid #E7E7E9",borderRadius:"8px",bgcolor:"#FFFFFF",display:"flex",flexDirection:"column",position:"relative",zIndex:2,filter:"drop-shadow(0px 2px 4px #F2F2F2)"},on?{flex:1,overflow:"visible"}:{})},{children:[o(d,e({ref:Fn,sx:{p:"8px",bgcolor:"#F7F8FA",borderBottom:"1px solid #E7E7E9",borderRadius:"8px 8px 0 0",display:"flex",alignItems:"center",minHeight:"40px",overflow:"hidden",minWidth:0}},{children:o(p,e({title:xi,placement:"top"},{children:o(g,e({sx:{fontSize:"16px",fontWeight:500,color:"#19213D",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0,textAlign:"center",display:"block"}},{children:xi}))}))})),r(d,e({ref:Xn,onScroll:vo,sx:e({p:"12px",display:"flex",flexDirection:"column"},on?{maxHeight:"calc(100vh - 250px)",flex:1,overflowY:"auto",overflowX:"hidden",minHeight:0,mr:"-180px",pr:"192px","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none"}:{})},{children:[o("div",{ref:Jn,style:{width:"100%",height:"0px",flexShrink:0}}),Oi&&No,o("div",{ref:Yn,style:{width:"100%",height:"0px",flexShrink:0}})]}))]})),o(d,e({ref:Zt,sx:{width:"180px",display:"flex",flexDirection:"column",alignItems:"center",pt:"15px",gap:0,zIndex:20,pointerEvents:"none"}},{children:o(d,e({sx:{display:"flex",justifyContent:"center",alignItems:"center",mt:0}},{children:r(d,e({onClick:function(n){n.stopPropagation(),Qn.open&&oi===It?vi():(ci(It),di(Yt(n.currentTarget,{title:"",content:"",evaluationResult:Tt,cognitiveData:{section_id:"",decisioning:[],gap:[],relevance_score:0,isMissingRationale:!0}},null,It,!0,e(e({},Dt),{label:""}))))},sx:{display:"inline-flex",alignItems:"center",gap:"5px",px:1.5,py:"5px",top:"-8px",borderRadius:"20px",bgcolor:Dt.badgeBg,color:Dt.badgeText,border:"1px solid ".concat(Dt.badgeBorder),fontSize:"12px",fontWeight:600,whiteSpace:"nowrap",position:"relative",zIndex:1,pointerEvents:"auto",cursor:"pointer"}},{children:[null!=At?At:o(j,{}),o(d,e({component:"span",sx:{width:14,height:14,display:"flex",alignItems:"center","& svg":{width:"14px",height:"14px"}}},{children:o(m,{})})),o(h,{size:11,style:{transform:Qn.open&&oi===It?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}))}))})),r(d,e({sx:e({border:"1px solid #E3E6EA",borderRadius:"8px",bgcolor:"#FFFFFF",boxShadow:"0px 1px 4px #F7F4FE",position:"relative",zIndex:2,display:"flex",flexDirection:"column",minWidth:0},on?{flex:1,overflow:"visible",minHeight:0}:{})},{children:[tt&&o(S,{sections:11}),o(d,e({ref:En,sx:{p:"8px",bgcolor:"#F7F8FA",borderBottom:"1px solid #E3E6EA",borderRadius:"8px 8px 0 0",minHeight:"40px",display:"flex",alignItems:"center",overflowX:"hidden"}},{children:o(p,e({title:wi,placement:"top"},{children:o(g,e({sx:{fontSize:"16px",fontWeight:500,color:"#5928ED",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0,textAlign:"center",display:"block"}},{children:wi}))}))})),r(d,e({ref:Vn,onScroll:vo,sx:e({p:"12px",display:"flex",flexDirection:"column"},on?{maxHeight:"calc(100vh - 250px)",flex:1,overflowY:"auto",overflowX:"hidden",minHeight:0,ml:"-150px",pl:"165px","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none"}:{})},{children:[o("div",{ref:Wn,style:{width:"100%",height:"0px",flexShrink:0}}),Oi&&Ho,o("div",{ref:Kn,style:{width:"100%",height:"0px",flexShrink:0}})]}))]}))]}))}))}))]}))}))};export{ee as default};
2
- //# sourceMappingURL=CognitiveCompare.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CognitiveCompare.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e=[{key:"title",label:"Title",analysisKey:"title"},{key:"description",label:"Description",analysisKey:"description"}],i={fields:e,thresholds:{exact:90,high:70,medium:40}},t={fontSize:"13px",color:"#0B0E1A",lineHeight:1.4,wordBreak:"break-word",overflowWrap:"break-word",overflow:"hidden","& p":{mt:0,mb:1.5},"& p:last-child":{mb:0},"& ul":{mt:0,mb:1.5,pl:2.5,listStyleType:"disc"},"& ol":{mt:0,mb:1.5,pl:2.5,listStyleType:"decimal"},"& li":{mb:.5},"& strong":{fontWeight:600},"& code":{whiteSpace:"pre-wrap",wordBreak:"break-word"}},a={tabs:{deviation:{key:"deviation",label:"Deviation Analysis",subtitle:"Why this is a deviation?",placeholderTitle:"Deviation Analysis",placeholderBody:"Deviation analysis content will appear here..."},association:{key:"association",label:"Association Logic",subtitle:"Why these sections are paired?"}},decisionStrengthLabel:"Decision Strength",sectionTitles:{decisioningFactors:"Decision Making Factors",gaps:"Gaps in Decision"},emptyStateMessage:"No cognitive decisioning data available for this section.",accentColor:"#5928ED"};export{i as DEFAULT_COMPARISON_CONFIG,e as DEFAULT_FIELD_CONFIG,a as DEFAULT_POPUP_CONFIG,t as SHARED_MARKDOWN_STYLES};
2
- //# sourceMappingURL=CognitiveCompareConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CognitiveCompareConfig.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var l="#3730A3",n=12,a=680,o=12,t=10,e="Contract Comparison",i={isLoading:!1,open:!1,sectionTitle:"",refSectionTitle:"",cognitiveData:null,anchorEl:null,sectionAnchorEl:null,badgeStyle:null,sectionIdx:null,isOrphan:!1,docData:null,deviationData:null},c={open:!1,anchorEl:null,summary:"",markdownStyles:{},displayImpact:!1};export{t as ARROW_SIZE,e as DEFAULT_COMPONENT_HEADER_TEXT,l as DEFAULT_DEVIAION_COLOR,i as EMPTY_SECTION_POPUP_STATE,c as EMPTY_SUMMARY_POPUP_STATE,n as POPUP_GAP,a as POPUP_WIDTH,o as VIEWPORT_MARGIN};
2
- //# sourceMappingURL=CognitiveCompareConstants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CognitiveCompareConstants.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{DEFAULT_DEVIAION_COLOR as t}from"./CognitiveCompareConstants.js";var n=function(t){return null==t?"":"string"==typeof t?t:Array.isArray(t)?t.map(n).join("\n\n"):"object"==typeof t?JSON.stringify(t):String(t)},e=function(t){return null!=t&&("string"==typeof t?t.trim().length>0:!Array.isArray(t)||t.length>0&&t.some(function(t){return e(t)}))},o=function(t,e,o){var r,i=o[e],u=null===(r=null==t?void 0:t.comparison_inputs)||void 0===r?void 0:r[i];return{title:n((null==u?void 0:u.title)||""),content:n((null==u?void 0:u.content)||""),change_history:n((null==u?void 0:u.change_history)||""),attributes:(null==u?void 0:u.additional_attributes)||null,subsections:(null==u?void 0:u.subsections)||[]}},r=function(t){if(!t.mapping_rationale)return{cognitiveData:{decisioning:[],gap:[],relevance_score:0,isMissingRationale:!0,citations:[]},score:0,relation:"N/A"};var n=t.mapping_rationale,e=parseInt(n.decision_strength||"0");return{cognitiveData:{decisioning:n.decisioning_factors||[],gap:n.gaps_in_decision||[],relevance_score:e,citations:n.citations},score:0,relation:"N/A"}};function i(t){var n=function(t,n){var e=function(t){var n=function(t){return 4===t.length?"#"+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]:t}(t).replace("#",""),e=parseInt(n,16);return{r:e>>16&255,g:e>>8&255,b:255&e}}(t),o=e.r,r=e.g,i=e.b;return function(t,n,e){return"#"+[t,n,e].map(function(t){return t.toString(16).padStart(2,"0")}).join("").toUpperCase()}(Math.round(o+(255-o)*n),Math.round(r+(255-r)*n),Math.round(i+(255-i)*n))};return{bg:n(t,.8),border:n(t,.5),badgeBg:n(t,.8),badgeBorder:n(t,.5),badgeText:t.toUpperCase(),highlightBg:n(t,.8)}}function u(t,n){var e;return function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=this;clearTimeout(e),e=setTimeout(function(){return t.apply(i,o)},n)}}var l=function(t,n){var e,o,r,i,u,l;if(t.content!==n.content)return!1;if(t.overlayContent!==n.overlayContent)return!1;if(t.sxStyles!==n.sxStyles)return!1;if(t.maintainRelativeOrder!==n.maintainRelativeOrder)return!1;if(t.highlightBg!==n.highlightBg)return!1;if(t.suppressHighlightBg!==n.suppressHighlightBg)return!1;if(t.collisionKey!==n.collisionKey)return!1;var a=t.highlights||[],s=n.highlights||[];if(a.length!==s.length)return!1;for(var c=0;c<a.length;c++)if(a[c]!==s[c])return!1;var v=t.deviationBadges||[],d=n.deviationBadges||[];if(v.length!==d.length)return!1;for(c=0;c<v.length;c++){if(v[c].id!==d[c].id)return!1;if(v[c].actionId!==d[c].actionId)return!1;if(v[c].label!==d[c].label)return!1;if(v[c].score!==d[c].score)return!1;if(v[c].isOrphan!==d[c].isOrphan)return!1;if(v[c].isConnected!==d[c].isConnected)return!1;if(v[c].showScrollLockToggle!==d[c].showScrollLockToggle)return!1;if(v[c].scrollSyncLocked!==d[c].scrollSyncLocked)return!1;if((null===(e=v[c].style)||void 0===e?void 0:e.badgeBg)!==(null===(o=d[c].style)||void 0===o?void 0:o.badgeBg))return!1;if((null===(r=v[c].style)||void 0===r?void 0:r.badgeBorder)!==(null===(i=d[c].style)||void 0===i?void 0:i.badgeBorder))return!1;if((null===(u=v[c].style)||void 0===u?void 0:u.badgeText)!==(null===(l=d[c].style)||void 0===l?void 0:l.badgeText))return!1}return!0},a="::",s=function(t){if(!t)return!0;var n=t.trim().toLowerCase();return n.includes("no equivalent")||"n/a"===n||"na"===n||"none"===n},c=function(t){var n;if("string"!=typeof t||!t)return!1;for(var e=/<(updated|deleted|changed|change)\b[^>]*>([\s\S]*?)<\/\1>/gi,o=null;null!==(o=e.exec(t));){if((null!==(n=o[2])&&void 0!==n?n:"").replace(/<[^>]*>/g,"").trim().length>0)return!0}return!1},v=function(t){return"string"==typeof t&&t?t.replace(/<\/?(updated|deleted|changed|change)\b[^>]*>/gi,""):""},d=function(t,n){var e,o,r,i,u,l,a;if(!t)return n;var s=null!==(l=null!==(i=null!==(o=null===(e=t.evaluation_output)||void 0===e?void 0:e.output_score)&&void 0!==o?o:null===(r=t.evaluation_outputs)||void 0===r?void 0:r.output_score)&&void 0!==i?i:null===(u=t.evaluation_outputs)||void 0===u?void 0:u.output_value)&&void 0!==l?l:t.output_score;return null!==(a=null!=s?s:n)&&void 0!==a?a:""},f=function(t,n,e,o,r){void 0===r&&(r=14);var i=t+.5*(e-t),u=o-n;if(Math.abs(u)<3)return"M ".concat(t," ").concat(n," H ").concat(e);var l=u>0?1:-1,a=Math.min(r,Math.abs(u)/2,Math.abs(i-t)/2,Math.abs(e-i)/2);return["M ".concat(t," ").concat(n),"H ".concat(i-a),"Q ".concat(i," ").concat(n," ").concat(i," ").concat(n+l*a),"V ".concat(o-l*a),"Q ".concat(i," ").concat(o," ").concat(i+a," ").concat(o),"H ".concat(e)].join(" ")},g=function(t,n,e,o,r){void 0===e&&(e=300);var i=t.style.scrollBehavior;t.style.scrollBehavior="auto";var u=t.scrollTop,l=n-u,a=null,s=function(c){null===a&&(a=c);var v,d=c-a;d<e?(t.scrollTop=(v=d,v/=e,l*(--v*v*v+1)+u),r&&r(),requestAnimationFrame(s)):(t.scrollTop=n,t.style.scrollBehavior=i,r&&r(),o&&o())};requestAnimationFrame(s)},p=["#B91C1C","#A16207","#1D4ED8","#000000"],h=function(t){var n=p.findIndex(function(n){return n.toLowerCase()===t.toLowerCase()});return-1===n?p.length:n},b=function(n){for(var e,o,r,i,u,l,a,s,c,v,d,f,g,p=[],b=0,m=Object.keys((null==n?void 0:n.deviations)||{}).sort(function(t,n){return Number(t)-Number(n)});b<m.length;b++){var y=m[b];(C=null===(i=null===(r=null===(o=null===(e=null==n?void 0:n.deviations)||void 0===e?void 0:e[y])||void 0===o?void 0:o.evaluation_outputs)||void 0===r?void 0:r.metadata)||void 0===i?void 0:i.label_color)&&p.push(C)}for(var _=0,T=Object.keys((null==n?void 0:n.deviation_entries)||{}).sort(function(t,n){return Number(t)-Number(n)});_<T.length;_++){y=T[_];(C=null===(s=null===(a=null===(l=null===(u=null==n?void 0:n.deviation_entries)||void 0===u?void 0:u[y])||void 0===l?void 0:l.evaluation_outputs)||void 0===a?void 0:a.metadata)||void 0===s?void 0:s.label_color)&&p.push(C)}for(var B=0,x=Object.keys(n||{}).filter(function(t){return/^\d+$/.test(t)}).sort(function(t,n){return Number(t)-Number(n)});B<x.length;B++){var C;y=x[B];(C=null===(d=null===(v=null===(c=null==n?void 0:n[y])||void 0===c?void 0:c.evaluation_outputs)||void 0===v?void 0:v.metadata)||void 0===d?void 0:d.label_color)&&p.push(C)}return 0===p.length?(null===(g=null===(f=null==n?void 0:n.evaluation_outputs)||void 0===f?void 0:f.metadata)||void 0===g?void 0:g.label_color)?n.evaluation_outputs.metadata.label_color:t:p.sort(function(t,n){return h(t)-h(n)})[0]},m=function(t){for(var n,e,o,r,i,u,l,a,s,c=0,v=Object.keys((null==t?void 0:t.deviations)||{}).sort(function(t,n){return Number(t)-Number(n)});c<v.length;c++){var d=v[c];if(b=null===(o=null===(e=null===(n=null==t?void 0:t.deviations)||void 0===n?void 0:n[d])||void 0===e?void 0:e.evaluation_outputs)||void 0===o?void 0:o.output_value)return b}for(var f=0,g=Object.keys((null==t?void 0:t.deviation_entries)||{}).sort(function(t,n){return Number(t)-Number(n)});f<g.length;f++){d=g[f];if(b=null===(u=null===(i=null===(r=null==t?void 0:t.deviation_entries)||void 0===r?void 0:r[d])||void 0===i?void 0:i.evaluation_outputs)||void 0===u?void 0:u.output_value)return b}for(var p=0,h=Object.keys(t||{}).filter(function(t){return/^\d+$/.test(t)}).sort(function(t,n){return Number(t)-Number(n)});p<h.length;p++){var b;d=h[p];if(b=null===(a=null===(l=null==t?void 0:t[d])||void 0===l?void 0:l.evaluation_outputs)||void 0===a?void 0:a.output_value)return b}return(null===(s=null==t?void 0:t.evaluation_outputs)||void 0===s?void 0:s.output_value)?t.evaluation_outputs.output_value:null},y=function(t,n){var e=function(t){var n=t.replace("#","");return[parseInt(n.substring(0,2),16),parseInt(n.substring(2,4),16),parseInt(n.substring(4,6),16)]},o=function(t){var n=Math.round(t).toString(16);return 1===n.length?"0"+n:n};try{var r=e(t),i=e(n),u=(r[0]+i[0])/2*.95,l=(r[1]+i[1])/2*.95,a=(r[2]+i[2])/2*.95;return"#".concat(o(u)).concat(o(l)).concat(o(a))}catch(t){return"#FDE68A"}},_=function(t,n,e){if(!t)return null;if(t.id===e)return n;if(!Array.isArray(t.subsections))return null;for(var o=0;o<t.subsections.length;o++){var r=_(t.subsections[o],"".concat(n,"-").concat(o),e);if(r)return r}return null},T=function(t,n){for(var e=0;e<t.length;e++){var o=_(t[e],String(e),n);if(o)return o}return null},B=new WeakMap,x=function(t){if(t){var n=B.get(t);null!=n&&(clearTimeout(n),B.delete(t)),t.style.transition="box-shadow 300ms ease-out, outline 300ms ease-out",requestAnimationFrame(function(){t.style.outline="",t.style.boxShadow=""}),window.setTimeout(function(){t.style.transition="",t.style.borderRadius=""},300)}},C=function(t){if(t){var n=B.get(t);null!=n&&clearTimeout(n),t.style.transition="box-shadow 300ms ease-in-out, outline 300ms ease-in-out",t.style.outline="2px solid #ff9494",t.style.borderRadius="6px",t.style.boxShadow="0 0 12px 2px rgba(244, 113, 113, 0.33)";var e=window.setTimeout(function(){x(t)},3e3);B.set(t,e)}},w=function(t,n){var e=n.getBoundingClientRect(),o=t.getBoundingClientRect(),r=n.scrollTop+o.top-e.top-e.height/2+o.height/2;n.scrollTo({top:r,behavior:"smooth"});var i=function(){return C(t)};if("onscrollend"in n)n.addEventListener("scrollend",i,{once:!0});else{var u=n.scrollTop,l=function(){n.scrollTop===u?i():(u=n.scrollTop,requestAnimationFrame(l))};requestAnimationFrame(l)}},A=function(t,n,e){if(Math.abs(t.scrollTop-n)<=2)e();else{var o,r=!1,i=function(){r||(r=!0,clearTimeout(o),t.removeEventListener("scrollend",u),e())},u=function(){return i()};t.addEventListener("scrollend",u),t.scrollTo({top:n,behavior:"smooth"}),o=setTimeout(i,800)}},N=function(t,n){return void 0===n&&(n=100),new Promise(function(e){var o,r=!1,i=function(){r||(r=!0,t.removeEventListener("scroll",u),e())},u=function(){clearTimeout(o),o=setTimeout(i,n)};t.addEventListener("scroll",u),o=setTimeout(i,n)})};export{a as DEVIATION_BADGE_SEPARATOR,l as areMarkdownPropsEqual,u as debounce,d as extractDeviationScore,T as findKeyPathByNodeId,i as generateColorPalette,f as getBentArrowPath,b as getFirstDeviationColor,m as getFirstDeviationOutputValue,r as getRationale,o as getSideData,c as hasMeaningfulRedlineTags,e as hasValue,C as highlightClause,s as isMissingStr,y as mixHexColors,_ as recursivelyFindSubSectionIdxById,x as resetClauseHighlight,n as safeStringify,w as scrollAndHighlightClause,A as scrollAndWait,g as smoothScrollTo,v as stripRedlineTags,N as waitForScrollIdle};
2
- //# sourceMappingURL=CognitiveComparehelpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CognitiveComparehelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as o}from"tslib";import{jsxs as i,Fragment as n,jsx as t}from"react/jsx-runtime";import{useMemo as e,useState as r,useEffect as l}from"react";import{Box as a,Typography as c,IconButton as s,Tooltip as d}from"@mui/material";import{X as p}from"lucide-react";import v from"react-dom";import x from"../../assests/svg/SparkleIcon.js";import{SHARED_MARKDOWN_STYLES as h,DEFAULT_POPUP_CONFIG as u}from"./CognitiveCompareConfig.js";import b from"./CitationRenderer.js";var g=10,f=function(f){var m,y,w,F,k,S,C,D,_,E,R,z,W,I,T,j,A,B,L,H,M=f.open,O=f.onClose,G=f.sectionTitle,N=f.referenceSectionTitle,P=f.cognitiveData,Y=f.relevanceScore,q=f.anchorEl,J=f.badgeStyle,K=f.popupRef,Q=f.position,U=f.markdownStyles,V=f.docData,X=f.popupConfig,Z=f.deviationData,$=void 0===Z?null:Z,oo=f.isLoading,io=o(o({},h),U),no=e(function(){var i,n;return o(o(o({},u),X),{tabs:{deviation:o(o({},u.tabs.deviation),null===(i=null==X?void 0:X.tabs)||void 0===i?void 0:i.deviation),association:o(o({},u.tabs.association),null===(n=null==X?void 0:X.tabs)||void 0===n?void 0:n.association)},sectionTitles:o(o({},u.sectionTitles),null==X?void 0:X.sectionTitles)})},[X]),to=null==P?void 0:P.isMissingRationale,eo=r(to?no.tabs.deviation.key:no.tabs.association.key),ro=eo[0],lo=eo[1];l(function(){M&&lo(to?no.tabs.deviation.key:no.tabs.association.key)},[M,to,no.tabs.deviation.key,no.tabs.association.key]);var ao=e(function(){if(!J)return{border:no.accentColor,shadow:"".concat(no.accentColor,"2E")};var o=J.badgeText;return"#9F1239"===o||"#B42318"===o?{border:"#E11D48",shadow:"rgba(225,29,72,0.15)"}:"#1D4ED8"===o?{border:"#3B82F6",shadow:"rgba(59,130,246,0.15)"}:"#A16207"===o?{border:"#F59E0B",shadow:"rgba(245,158,11,0.15)"}:{border:no.accentColor,shadow:"".concat(no.accentColor,"2E")}},[J,no.accentColor]);l(function(){if(M){var o=function(o){var i;(null===(i=K.current)||void 0===i?void 0:i.contains(o.target))||(null==q?void 0:q.contains(o.target))||O()};return document.addEventListener("mousedown",o),function(){return document.removeEventListener("mousedown",o)}}},[M,O,q,K]);var co=to?[]:[no.tabs.deviation,no.tabs.association];if(1===co.length&&co[0].key===no.tabs.deviation.key)return null;if(!M||!P)return null;var so=null!==(w=null!==(y=ro===no.tabs.deviation.key?null===(m=null==$?void 0:$.cognitive_decisioning)||void 0===m?void 0:m.decision_strength:P.relevance_score)&&void 0!==y?y:Y)&&void 0!==w?w:0,po=P.decisioning,vo=Array.isArray(po)?po:"string"==typeof po&&po.trim()?[po]:[],xo=P.gap,ho=Array.isArray(xo)?xo:"string"==typeof xo&&xo.trim()?[xo]:[],uo=Q?Q.left-150:-9999,bo=(null!==(F=null==Q?void 0:Q.arrowLeft)&&void 0!==F?F:60)+150,go=i(a,o({ref:K,sx:{position:"fixed",top:null!==(k=null==Q?void 0:Q.top)&&void 0!==k?k:-9999,left:uo,zIndex:9999,width:"".concat(1050,"px"),maxWidth:"min(".concat(1050,"px, calc(100vw - ").concat(uo>0?uo:0,"px - ").concat(12,"px))"),bgcolor:"#FFFFFF",borderRadius:"14px",border:"1.5px solid ".concat(ao.border),boxShadow:"0px 8px 32px ".concat(ao.shadow,", 0px 0px 0px 3px ").concat(ao.shadow),overflow:"visible",display:"flex",flexDirection:"column",maxHeight:(null==Q?void 0:Q.maxHeight)?"min(60vh, ".concat(Q.maxHeight,"px)"):"60vh",visibility:Q?"visible":"hidden"}},{children:[Q&&(Q.openAbove?i(n,{children:[t(a,{sx:{position:"absolute",bottom:-11,left:bo-g,width:0,height:0,borderLeft:"".concat(g,"px solid transparent"),borderRight:"".concat(g,"px solid transparent"),borderTop:"".concat(11,"px solid ").concat(ao.border),zIndex:1}}),t(a,{sx:{position:"absolute",bottom:-9,left:bo-g+1,width:0,height:0,borderLeft:"".concat(9,"px solid transparent"),borderRight:"".concat(9,"px solid transparent"),borderTop:"".concat(g,"px solid #FFFFFF"),zIndex:2}})]}):i(n,{children:[t(a,{sx:{position:"absolute",top:-11,left:bo-g,width:0,height:0,borderLeft:"".concat(g,"px solid transparent"),borderRight:"".concat(g,"px solid transparent"),borderBottom:"".concat(11,"px solid ").concat(ao.border),zIndex:1}}),t(a,{sx:{position:"absolute",top:-9,left:bo-g+1,width:0,height:0,borderLeft:"".concat(9,"px solid transparent"),borderRight:"".concat(9,"px solid transparent"),borderBottom:"".concat(g,"px solid #FFFFFF"),zIndex:2}})]})),i(a,o({sx:{px:2.5,pt:2,pb:1.5,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:2,flexShrink:0}},{children:[i(a,o({sx:{flex:1,minWidth:0}},{children:[("no counterpart"!==G||"no counterpart"!==N)&&i(c,o({sx:{fontSize:"16px",fontWeight:600,color:"#101828",lineHeight:1.3,display:"flex",alignItems:"center",gap:1,flexWrap:"nowrap",overflow:"hidden",width:"100%"}},{children:[t(a,o({component:"span",title:G,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"0 1 auto",maxWidth:"calc(50% - 16px)",minWidth:0}},{children:G})),t(a,o({component:"span",sx:{color:"#667085",fontWeight:400,flexShrink:0,mx:.5}},{children:"↔"})),t(a,o({component:"span",title:N||"Reference Section",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,minWidth:0}},{children:N||"Reference Section"}))]})),t(a,o({sx:{mt:.75,display:"inline-flex",alignItems:"center",gap:.75}},{children:t(c,o({sx:{fontSize:"no counterpart"!==G||"no counterpart"!==N?"13px":"16px",fontWeight:400,color:"#5928ED",lineHeight:1}},{children:null===(S=Object.values(no.tabs).find(function(o){return o.key===ro}))||void 0===S?void 0:S.subtitle}))}))]})),i(a,o({sx:{display:"flex",alignItems:"center",gap:1.5,flexShrink:0}},{children:[i(a,o({sx:{display:"inline-flex",alignItems:"center",gap:"5px",px:1.5,py:.5,borderRadius:"20px",bgcolor:"#FFFFFF",border:"1px solid #5928ED",fontSize:"12px",fontWeight:600,color:"#5928ED"}},{children:[t(x,{}),no.decisionStrengthLabel," ",so,"%"]})),t(s,o({onClick:O,size:"small",sx:{color:"#667085",width:24,height:24,"&:hover":{bgcolor:"transparent",color:"#101828"}}},{children:t(p,{size:22})}))]}))]})),t(a,o({sx:{display:"flex",borderBottom:"1px solid #E4E7EC",px:2.5,flexShrink:0}},{children:co.map(function(i){var n=ro===i.key,e=i.key===no.tabs.deviation.key,r=co.length>1&&e&&oo,l=t(a,o({onClick:function(){r||lo(i.key)},sx:{pb:"10px",pt:"4px",mr:3,px:2,cursor:r?"not-allowed":"pointer",opacity:r?.5:1,fontSize:"14px",fontWeight:n?600:400,color:n?no.accentColor:"#667085",backgroundColor:n?"".concat(no.accentColor,"14"):"transparent",borderBottom:n?"2px solid ".concat(no.accentColor):"2px solid transparent",transition:"all 0.15s",userSelect:"none"}},{children:i.label}),i.key);return r?t(d,o({title:"Fetching deviation data",arrow:!0,placement:"top"},{children:t("span",{children:l})}),i.key):l})})),t(a,o({sx:{flex:1,minHeight:0,overflowY:"auto",px:2.5,py:2,display:"flex",flexDirection:"column",gap:1.5,"&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"".concat(ao.border,"55"),borderRadius:"10px"},"&::-webkit-scrollbar-thumb:hover":{background:ao.border},scrollbarWidth:"thin",scrollbarColor:"".concat(ao.border,"55 transparent")}},{children:ro===no.tabs.deviation.key?$?i(n,{children:[(null===(D=(null===(C=null==$?void 0:$.cognitive_decisioning)||void 0===C?void 0:C.decisioning_factors)||[])||void 0===D?void 0:D.length)>0&&t(b,{title:"Decision Making Factors",content:null===(E=null===(_=null==$?void 0:$.cognitive_decisioning)||void 0===_?void 0:_.decisioning_factors)||void 0===E?void 0:E.join("\n\n"),citations:null===(R=null==$?void 0:$.cognitive_decisioning)||void 0===R?void 0:R.citations,styles:io,docData:V,open:M}),(null===(W=(null===(z=null==$?void 0:$.cognitive_decisioning)||void 0===z?void 0:z.gaps_in_decision)||[])||void 0===W?void 0:W.length)>0&&t(b,{title:"Gaps in Decision",content:null===(T=null===(I=null==$?void 0:$.cognitive_decisioning)||void 0===I?void 0:I.gaps_in_decision)||void 0===T?void 0:T.join("\n\n"),citations:null===(j=null==$?void 0:$.cognitive_decisioning)||void 0===j?void 0:j.citations,styles:io,docData:V,open:M}),0===(null===(B=(null===(A=null==$?void 0:$.cognitive_decisioning)||void 0===A?void 0:A.decisioning_factors)||[])||void 0===B?void 0:B.length)&&0===(null===(H=(null===(L=null==$?void 0:$.cognitive_decisioning)||void 0===L?void 0:L.gaps_in_decision)||[])||void 0===H?void 0:H.length)&&t(a,o({sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"}},{children:t(c,o({sx:{fontSize:"13px",color:"#64748B"}},{children:"No cognitive decisioning data available for this section."}))}))]}):t(b,{title:"Deviation Analysis",content:"Deviation analysis content will appear here. This tab shows\n structural and semantic deviations identified between the two\n sections being compared.",citations:{},styles:io,docData:V,open:M}):i(n,{children:[vo.length>0&&t(b,{title:no.sectionTitles.decisioningFactors,content:vo.join("\n\n"),citations:P.citations,styles:io,open:M,docData:V}),ho.length>0&&t(b,{title:no.sectionTitles.gaps,content:ho.join("\n\n"),citations:P.citations,styles:io,open:M,docData:V}),0===vo.length&&0===ho.length&&t(a,o({sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"}},{children:t(c,o({sx:{fontSize:"13px",color:"#64748B"}},{children:no.emptyStateMessage}))}))]})}))]}));return v.createPortal(go,document.body)};export{f as default};
2
- //# sourceMappingURL=CognitivePopup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CognitivePopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{createContext as r,useContext as e}from"react";var o=r(null),t=o.Provider,n=function(){var r=e(o);if(!r)throw new Error("useCompareContext must be used within CompareContextProvider");return r};export{t as CompareContextProvider,n as useCompareContext};
2
- //# sourceMappingURL=CompareContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CompareContext.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsxs as t,jsx as a}from"react/jsx-runtime";import{Box as i,Typography as n}from"@mui/material";var r=function(){return t(i,e({sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center","@keyframes bounce":{"0%":{transform:"translateY(0) scale(1)",opacity:.6},"100%":{transform:"translateY(-12px) scale(1.15)",opacity:1}},"@keyframes glowPulse":{"0%, 100%":{textShadow:"0 0 6px rgba(89,40,237,0.2)"},"50%":{textShadow:"0 0 14px rgba(89,40,237,0.45)"}}}},{children:[a(n,e({sx:{mb:2,fontSize:"20px",fontWeight:600,fontFamily:"sans-serif",color:"#5928ED",letterSpacing:"0.8px",animation:"glowPulse 2s ease-in-out infinite"}},{children:"Switching views..."})),a(i,e({sx:{display:"flex",gap:"8px"}},{children:[0,1,2].map(function(e){return a(i,{sx:{width:"12px",height:"12px",borderRadius:"50%",background:"linear-gradient(145deg, #7c5cff, #5928ED)",boxShadow:"0 4px 12px rgba(89,40,237,0.5), 0 0 8px rgba(89,40,237,0.3)",animation:"bounce 0.6s infinite alternate",animationDelay:"".concat(.15*e,"s")}},e)})}))]}))};export{r as default};
2
- //# sourceMappingURL=LoaderComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoaderComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsx as i,jsxs as n,Fragment as t}from"react/jsx-runtime";import{Menu as o,Box as r,Typography as l,MenuItem as s}from"@mui/material";import{ButtonCognitiveIcon as c}from"../../assests/svg/ButtonCognitiveIcon.js";var d=function(){return i("svg",e({width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M2 6.5L5 9.5L11 3.5",stroke:"#15803D",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}))},C=[{key:"connect",title:"Connect",icon:i("svg",e({width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M14.8237 3.89331C14.547 5.57188 13.0559 6.77501 11.3572 6.69242C9.65857 6.60983 8.2925 5.26384 8.18312 3.56742C4.75678 3.67456 3.54027 4.4759 3.73893 6.10536C3.81259 6.71474 4.18089 7.04063 4.85723 7.19911C5.26794 7.2951 5.7233 7.30849 6.13625 7.27054C6.17419 7.26608 6.21437 7.26385 6.25232 7.25938C6.50455 7.19911 6.76125 7.14777 7.01794 7.1076C7.77911 6.9826 8.55366 6.9201 9.29027 6.96027C11.3617 7.07188 12.7724 7.98483 12.8438 9.92233C12.913 11.7996 11.6229 13.1299 9.5425 14.0205C8.87509 14.3063 8.1675 14.5272 7.45991 14.6946C7.14071 14.7705 6.87286 14.8219 6.67419 14.8554C6.49786 16.5496 5.07821 17.842 3.37509 17.8554C1.67196 17.8688 0.229997 16.6031 0.0246403 14.9112C-0.180717 13.2192 0.917498 11.6455 2.57375 11.2527C4.23 10.8598 5.91973 11.7728 6.49562 13.3755C6.70544 13.3375 6.91303 13.2951 7.12062 13.246C7.75009 13.0987 8.37955 12.9022 8.95991 12.6522C10.538 11.9781 11.3996 11.0875 11.3595 9.9759C11.3237 8.98036 10.6095 8.52054 9.21214 8.44465C8.5983 8.41117 7.92643 8.46474 7.26348 8.57411C7.07821 8.60536 6.90857 8.63661 6.75902 8.6701C6.67196 8.68795 6.61169 8.70358 6.58491 8.71027L6.51571 8.72367C6.4666 8.73036 6.38402 8.74152 6.27687 8.75268C5.71884 8.80402 5.11393 8.78617 4.52464 8.65001C3.2925 8.36206 2.42866 7.59643 2.26794 6.2884C1.9175 3.47143 4.02241 2.16563 8.42866 2.07188C9.07821 0.500452 10.8037 -0.336602 12.4376 0.129916C14.0737 0.596434 15.1005 2.21474 14.8237 3.89331V3.89331ZM3.34161 12.6478C3.09741 12.6478 2.85562 12.6959 2.63002 12.7894C2.40442 12.8828 2.19944 13.0198 2.02678 13.1925C1.85412 13.3652 1.71717 13.5702 1.62373 13.7958C1.5303 14.0214 1.48222 14.2632 1.48223 14.5074C1.48224 14.7516 1.53036 14.9934 1.62382 15.219C1.71728 15.4446 1.85426 15.6495 2.02694 15.8222C2.19962 15.9949 2.40462 16.1318 2.63022 16.2252C2.85583 16.3187 3.09764 16.3668 3.34183 16.3667C3.83499 16.3667 4.30795 16.1708 4.65665 15.822C5.00535 15.4733 5.20123 15.0003 5.2012 14.5071C5.20117 14.014 5.00524 13.541 4.65649 13.1923C4.30775 12.8436 3.83477 12.6477 3.34161 12.6478ZM11.5224 1.49152C11.2782 1.49154 11.0364 1.53965 10.8108 1.63311C10.5852 1.72657 10.3802 1.86355 10.2076 2.03623C10.0349 2.20891 9.89797 2.41391 9.80454 2.63952C9.7111 2.86513 9.66302 3.10693 9.66303 3.35112C9.66305 3.59531 9.71116 3.83711 9.80462 4.06271C9.89808 4.28831 10.0351 4.49329 10.2077 4.66594C10.3804 4.8386 10.5854 4.97556 10.811 5.06899C11.0366 5.16243 11.2784 5.21051 11.5226 5.2105C12.0158 5.21047 12.4888 5.01453 12.8375 4.66579C13.1862 4.31704 13.382 3.84406 13.382 3.3509C13.382 2.85773 13.186 2.38478 12.8373 2.03608C12.4886 1.68738 12.0156 1.49149 11.5224 1.49152V1.49152Z",fill:"#1D2939",fillOpacity:"0.85"})}))},{key:"side-by-side",title:"Side by Side",icon:i("svg",e({width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M3.19922 8.19922H13.1992M3.19922 8.19922L4.86589 10.6992M3.19922 8.19922L4.86589 5.69922M13.1992 8.19922L11.5326 10.6992M13.1992 8.19922L11.5326 5.69922M15.6992 0.699219V15.6992M0.699219 0.699219V15.6992",stroke:"#3F4957",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})}))},{key:"cognitive-decisioning",title:"Cognitive Decisioning",icon:i(c,{})}],a=function(c){var a=c.open,h=c.anchorEl;c.sectionTitle,c.referenceSectionTitle;var p=c.onClose,g=c.onOpenCognitiveCompare,x=c.onOpenSideBySide,f=c.onConnect,m=c.isConnected,u=void 0!==m&&m,y=c.isOrphan,v=c.maintainRelativeOrder;return i(o,e({open:a,anchorEl:h,onClose:p,disableScrollLock:!0,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{sx:{ml:.75,minWidth:190,maxWidth:220,borderRadius:"12px",border:"1px solid #E4E7EC",boxShadow:"0px 12px 28px rgba(16, 24, 40, 0.12)",overflow:"hidden"}},MenuListProps:{sx:{p:.5,bgcolor:"#FFFFFF"}}},{children:C.filter(function(e){return v||"side-by-side"!==e.key}).map(function(o){var c="connect"===o.key,C=c&&u,a=y&&("connect"===o.key||"side-by-side"===o.key),h=n(t,{children:[i(r,e({sx:e(e({width:18,height:18,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,"& svg":{display:"block"}},a&&{opacity:.15}),C&&{"& svg path":{fill:"#15803D",fillOpacity:1}})},{children:o.icon})),n(r,e({sx:{minWidth:0,display:"flex",flexDirection:"column",flex:1}},{children:[i(l,e({sx:{fontSize:"12px",fontWeight:500,color:a?"#98A2B3":C?"#15803D":"#101828",lineHeight:1.2,whiteSpace:"nowrap"}},{children:c?u?"Disconnect":"Connect":o.title})),a&&i(l,e({sx:{mt:.35,fontSize:"10px",lineHeight:1.3,color:"#98A2B3",whiteSpace:"normal"}},{children:"No counterpart exists to connect to."}))]})),C&&!a&&i(r,e({sx:{display:"flex",alignItems:"center",justifyContent:"center",ml:"auto"}},{children:i(d,{})}))]});return a?i(r,e({"aria-disabled":"true",sx:{px:1.25,py:1,minHeight:22,borderRadius:"10px",display:"flex",alignItems:"flex-start",gap:1,cursor:"not-allowed",userSelect:"none"}},{children:h}),o.key):i(s,e({onClick:function(){return e=o.key,void(y&&("connect"===e||"side-by-side"===e)||("connect"!==e?"side-by-side"!==e?g():x():f()));var e},sx:{px:1.25,py:1,minHeight:40,borderRadius:"10px",display:"flex",alignItems:"center",gap:1,bgcolor:C?"#F0FDF4":"transparent","&:hover":{bgcolor:C?"#DCFCE7":"#F9FAFB"}}},{children:h}),o.key)})}))};export{a as default};
2
- //# sourceMappingURL=MoreFunctionsPopup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MoreFunctionsPopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as r}from"tslib";import{jsxs as t,jsx as a}from"react/jsx-runtime";import{Box as e,Skeleton as n,Typography as i}from"@mui/material";var o=function(o){var s=o.sections,l=void 0===s?8:s;return t(e,r({sx:{position:"absolute",inset:0,zIndex:50,backdropFilter:"blur(6px)",backgroundColor:"rgba(255,255,255,0.7)",borderRadius:"8px",overflow:"hidden"}},{children:[a(e,r({sx:{p:2,display:"flex",flexDirection:"column",gap:2,willChange:"transform",animation:"wander 20s ease-in-out infinite alternate","@keyframes wander":{"0%":{transform:"translate3d(0, 0px, 0)"},"20%":{transform:"translate3d(0, -15%, 0)"},"40%":{transform:"translate3d(0, -5%, 0)"},"60%":{transform:"translate3d(0, -30%, 0)"},"80%":{transform:"translate3d(0, -10%, 0)"},"100%":{transform:"translate3d(0, -40%, 0)"}}}},{children:Array.from({length:l}).map(function(i,o){return t(e,r({sx:{border:"1px solid #E3E6EA",borderRadius:"6px",p:1.5,bgcolor:"#fff",opacity:.6}},{children:[a(n,{variant:"text",width:"40%",height:24}),a(n,{variant:"text",width:"80%"}),a(n,{variant:"text",width:"70%"}),a(n,{variant:"rectangular",height:40,sx:{mt:1}})]}),o)})})),t(e,r({sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",bgcolor:"#FFFFFF",p:3,borderRadius:"8px",boxShadow:"0px 8px 24px rgba(0, 0, 0, 0.12)",textAlign:"center",width:"80%",maxWidth:"340px",zIndex:10}},{children:[a(i,r({sx:{fontWeight:600,fontSize:"16px",color:"#0F172A",mb:1}},{children:"Aligning sections..."})),a(i,r({sx:{fontSize:"13px",color:"#64748B",lineHeight:1.5}},{children:"Placing corresponding clauses side by side for comparison."}))]}))]}))};export{o as default};
2
- //# sourceMappingURL=OverlayComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OverlayComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsxs as i,jsx as n,Fragment as t}from"react/jsx-runtime";import{useRef as l,useState as o,useCallback as r}from"react";var d=function(d){var c=d.leftComponent,h=d.rightComponent,u=d.isFullscreen,s=void 0!==u&&u,f=l(null),a=o(50),m=a[0],v=a[1],p=o(!1),x=p[0],w=p[1],y=null!=c,g=null!=h,M=r(function(){y&&g&&w(!0)},[y,g]),D=r(function(e){if(x&&f.current){var i=f.current.getBoundingClientRect(),n=(e.clientX-i.left)/i.width*100;n=Math.max(25,Math.min(75,n)),v(n)}},[x]),b=r(function(){w(!1)},[]),k={minWidth:0,minHeight:0,height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"};return i("div",e({ref:f,onMouseMove:D,onMouseUp:b,onMouseLeave:b,style:{display:"flex",width:"calc(100% - 1px)",height:s?"100%":"400px",border:"1px solid #ddd",overflow:"hidden",userSelect:x?"none":"auto"}},{children:[y&&!g&&n("div",e({style:e(e({},k),{width:"100%"})},{children:c})),!y&&g&&n("div",e({style:e(e({},k),{width:"100%"})},{children:h})),y&&g&&i(t,{children:[n("div",e({style:e(e({},k),{width:"".concat(m,"%"),flexShrink:0})},{children:c})),n("div",{onMouseDown:M,style:{width:"6px",background:"#D0D5DD",cursor:"col-resize",flexShrink:0}}),n("div",e({style:e(e({},k),{flex:1})},{children:h}))]})]}))};export{d as default};
2
- //# sourceMappingURL=ResizableSplitPane.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResizableSplitPane.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsx as n,jsxs as t}from"react/jsx-runtime";import{Popper as i,Paper as o,Box as r,Typography as l,IconButton as a,Accordion as c,AccordionSummary as d,AccordionDetails as s}from"@mui/material";import{Info as u,X as p,ChevronDown as f}from"lucide-react";import{useRef as m,useState as h,useEffect as x,useMemo as g}from"react";function v(v){var b,w,y,S=v.open,C=v.anchorEl,E=v.containerEl,I=v.clipTopEl,z=v.scrollContainerEl,B=v.onClose,R=v.summary;v.markdownStyles,v.isLoading;var F=v.displayImpact,H=v.isScrollLocked,W=m(null),k=m(null),L=h(null),A=L[0],_=L[1],M=h(null),P=M[0],O=M[1],T=h(null);T[0];var N=T[1],Y=h(0),j=Y[0],J=Y[1],q="string"==typeof R?{deviation_summary:R}:null!=R?R:{},D=h(!1),G=D[0],V=D[1];x(function(){S&&V(!1)},[S]);var Z=q.deviation_title,K=q.deviation_summary,Q=q.deviation_impact,U=q.evaluation_outputs,X=!!String(Q||"").trim(),$=h(!!F),ee=$[0],ne=$[1];x(function(){X&&ne(!!F)},[F,X,R]);var te=(null===(b=null==U?void 0:U.metadata)||void 0===b?void 0:b.label_color)||"#6366F1",ie=null!==(w=null==E?void 0:E.getBoundingClientRect().width)&&void 0!==w?w:180,oe=Math.max(148,ie+120),re=g(function(){if(!C||!E)return null;var e=C.getBoundingClientRect();if(0===e.width&&0===e.height)return null;var n=E.getBoundingClientRect();return{top:e.top,bottom:e.bottom,left:n.left+n.width/2}},[C,E]);x(function(){if(!S||!C||!E)return _(null),O(null),void N(null);var e=function(){null!==W.current&&cancelAnimationFrame(W.current),W.current=requestAnimationFrame(function(){var e,n,t=null==C?void 0:C.getBoundingClientRect(),i=null==I?void 0:I.getBoundingClientRect(),o=null==z?void 0:z.getBoundingClientRect();if(0!==t.width||0!==t.height){var r=E.getBoundingClientRect();_({top:t.top,bottom:t.bottom,left:r.left+r.width/2}),O(null!==(e=null==i?void 0:i.bottom)&&void 0!==e?e:null),N(null!==(n=null==o?void 0:o.bottom)&&void 0!==n?n:null),k.current&&J(k.current.offsetHeight)}})};e();var n=function(e){for(var n=[],t=(null==e?void 0:e.parentElement)||null;t;){var i=window.getComputedStyle(t);("auto"===i.overflowY||"scroll"===i.overflowY)&&t.scrollHeight>t.clientHeight&&n.push(t),t=t.parentElement}return n}(C);return window.addEventListener("scroll",e,{passive:!0,capture:!0}),window.addEventListener("resize",e),n.forEach(function(n){n.addEventListener("scroll",e,{passive:!0})}),function(){null!==W.current&&cancelAnimationFrame(W.current),window.removeEventListener("scroll",e,{capture:!0}),window.removeEventListener("resize",e),n.forEach(function(n){n.removeEventListener("scroll",e)})}},[S,C,E,I,z,H]);var le=null!==(y=null!=A?A:re)&&void 0!==y?y:"hidden",ae="hidden"===le?"hidden":le.bottom+20,ce=null!=P&&"number"==typeof ae&&ae<P?Math.min(j,P-ae):0,de=g(function(){return"hidden"===le?{getBoundingClientRect:function(){return{width:0,height:0,top:0,bottom:0,left:0,right:0,x:0,y:0,toJSON:function(){}}}}:{getBoundingClientRect:function(){return{width:0,height:le.bottom-le.top,top:le.top,bottom:le.bottom,left:le.left,right:le.left,x:le.left,y:le.top,toJSON:function(){}}}}},[le]);return R?n(i,e({open:S&&!G,disablePortal:!0,popperOptions:{strategy:"fixed"},anchorEl:de,placement:"bottom",modifiers:[{name:"offset",options:{offset:[0,20]}},{name:"preventOverflow",enabled:!0,options:{boundary:z||"clippingParents",tether:!1}},{name:"flip",enabled:!0,options:{boundary:z||"clippingParents",fallbackPlacements:["top"]}}],sx:{zIndex:21,visibility:"hidden"===le?"hidden":"visible",opacity:"hidden"===le?0:1,transition:"opacity 0.15s ease-in-out"}},{children:t(o,e({ref:k,sx:e(e({p:1.5,borderRadius:"12px",width:oe,maxWidth:oe},ce>0&&{clipPath:"inset(".concat(ce,"px 0px 0px 0px round 12px)")}),{transition:"transform 80ms linear",willChange:"transform",backfaceVisibility:"hidden",transform:"translateZ(0)",boxShadow:"0px 10px 24px rgba(15, 23, 42, 0.18)",border:"1px solid ".concat(te,"26"),borderTop:"3px solid ".concat(te),overflow:"hidden",bgcolor:"#fff"})},{children:[t(r,e({sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:.75}},{children:[t(r,e({sx:{display:"flex",alignItems:"center",gap:.75,minWidth:0}},{children:[n(u,{size:14,color:te}),n(l,e({sx:{fontSize:"11px",fontWeight:700,color:te,fontFamily:'"Inter", sans-serif',textTransform:"uppercase",letterSpacing:"0.4px",lineHeight:1.2}},{children:"Summary"}))]})),n(a,e({size:"small",onClick:B,sx:{p:.25,ml:.5,color:"#64748B"}},{children:n(p,{size:14})}))]})),t(r,e({sx:{display:"flex",flexDirection:"column",gap:1.5,maxHeight:"300px",overflowY:"auto",pr:.5}},{children:[t(r,{children:[Z&&n(l,e({sx:{fontSize:"12px",color:"#334155",fontFamily:'"Inter", sans-serif',lineHeight:1.6,fontWeight:700,overflowWrap:"anywhere"}},{children:Z})),n(l,e({sx:{fontSize:"11px",color:"#334155",lineHeight:1.6,fontFamily:'"Inter", sans-serif',fontWeight:400,overflowWrap:"anywhere",whiteSpace:"pre-wrap"}},{children:K||"No summary available."}))]}),X&&t(c,e({expanded:ee,onChange:function(e,n){return ne(n)},disableGutters:!0,elevation:0,sx:{backgroundColor:"".concat(te,"0A"),border:"1px solid ".concat(te,"33"),borderRadius:"4px",fontFamily:'"Inter", sans-serif',overflow:"hidden",flexShrink:0,"&:before":{display:"none"},"&.Mui-expanded":{margin:0}}},{children:[n(d,e({expandIcon:n(f,{size:16,color:te}),sx:{minHeight:"10px",px:1.5,"& .MuiAccordionSummary-content":{py:"5px",my:0},"&.Mui-expanded":{minHeight:"10px",borderBottom:"1px solid ".concat(te,"1A")}}},{children:n(l,e({sx:{fontSize:"11px",fontWeight:700,color:te,fontFamily:'"Inter", sans-serif',textTransform:"uppercase",letterSpacing:"0.5px"}},{children:"Impact"}))})),n(s,e({sx:{p:1.5,backgroundColor:"#fff"}},{children:n(l,e({sx:{fontSize:"11px",color:"#475569",lineHeight:1.6,fontWeight:400,fontFamily:'"Inter", sans-serif',overflowWrap:"anywhere",whiteSpace:"pre-wrap"}},{children:String(Q).replace("Impact -","").trim()}))}))]}))]}))]}))})):null}export{v as default};
2
- //# sourceMappingURL=CognitiveSummaryPopup.js.map