@e-llm-studio/requirement-ai 0.0.252 → 0.0.254

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 (1477) hide show
  1. package/dist/assests/icons/CitationsIcon.js +2 -0
  2. package/dist/assests/icons/CitationsIcon.js.map +1 -0
  3. package/dist/assests/icons/CitationsSparkleIcon.js +2 -0
  4. package/dist/assests/icons/CitationsSparkleIcon.js.map +1 -0
  5. package/dist/assests/svg/ButtonCognitiveIcon.js +2 -0
  6. package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -0
  7. package/dist/assests/svg/NeuralNetworkIcon.js +2 -0
  8. package/dist/assests/svg/NeuralNetworkIcon.js.map +1 -0
  9. package/dist/assests/svg/PdfViewerIcons.js +2 -0
  10. package/dist/assests/svg/PdfViewerIcons.js.map +1 -0
  11. package/dist/assests/svg/SparkleIcon.js +2 -0
  12. package/dist/assests/svg/SparkleIcon.js.map +1 -0
  13. package/dist/assests/svg/chevronDownArrow.svg.js +2 -0
  14. package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -0
  15. package/dist/assests/svg/chevronUp.svg.js +2 -0
  16. package/dist/assests/svg/chevronUp.svg.js.map +1 -0
  17. package/dist/cjs/assests/icons/CitationsIcon.js +2 -0
  18. package/dist/cjs/assests/icons/CitationsIcon.js.map +1 -0
  19. package/dist/cjs/assests/icons/CitationsSparkleIcon.js +2 -0
  20. package/dist/cjs/assests/icons/CitationsSparkleIcon.js.map +1 -0
  21. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +2 -0
  22. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -0
  23. package/dist/cjs/assests/svg/NeuralNetworkIcon.js +2 -0
  24. package/dist/cjs/assests/svg/NeuralNetworkIcon.js.map +1 -0
  25. package/dist/cjs/assests/svg/PdfViewerIcons.js +2 -0
  26. package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -0
  27. package/dist/cjs/assests/svg/SparkleIcon.js +2 -0
  28. package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -0
  29. package/dist/cjs/assests/svg/chevronDownArrow.svg.js +2 -0
  30. package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -0
  31. package/dist/cjs/assests/svg/chevronUp.svg.js +2 -0
  32. package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -0
  33. package/dist/cjs/constants/diagnosticStylesBySeverity.js +2 -0
  34. package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -0
  35. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +2 -0
  36. package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -0
  37. package/dist/cjs/features/BPACitationRenderer/citationTypes.js +2 -0
  38. package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -0
  39. package/dist/cjs/features/BookCitation/BookCitation.js +2 -0
  40. package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -0
  41. package/dist/cjs/features/BookCitation/BookCitation.module.css.js +2 -0
  42. package/dist/cjs/features/BookCitation/BookCitation.module.css.js.map +1 -0
  43. package/dist/cjs/features/BookCitation/text-cleaner.js +2 -0
  44. package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -0
  45. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +2 -0
  46. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -0
  47. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +2 -0
  48. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -0
  49. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +2 -0
  50. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -0
  51. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +2 -0
  52. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -0
  53. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +2 -0
  54. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -0
  55. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +2 -0
  56. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -0
  57. package/dist/cjs/features/Bookemon/Bookemon.js +2 -0
  58. package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -0
  59. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +2 -0
  60. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -0
  61. package/dist/cjs/features/Bookemon/BookemonContent.js +2 -0
  62. package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -0
  63. package/dist/cjs/features/Bookemon/utils/highlight.js +2 -0
  64. package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -0
  65. package/dist/cjs/features/ChatCitation/BigQueryTable.js +2 -0
  66. package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -0
  67. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +2 -0
  68. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -0
  69. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +2 -0
  70. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -0
  71. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js +2 -0
  72. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -0
  73. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js +2 -0
  74. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -0
  75. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +2 -0
  76. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -0
  77. package/dist/cjs/features/ChatCitation/components/ChatCitation.js +2 -0
  78. package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -0
  79. package/dist/cjs/features/ChatCitation/components/Chip.js +2 -0
  80. package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -0
  81. package/dist/cjs/features/ChatCitation/components/DetailedView.js +2 -0
  82. package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -0
  83. package/dist/cjs/features/ChatCitation/components/IconContainer.js +2 -0
  84. package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -0
  85. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +2 -0
  86. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -0
  87. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +2 -0
  88. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -0
  89. package/dist/cjs/features/ChatCitation/components/RuleBook.js +2 -0
  90. package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -0
  91. package/dist/cjs/features/ChatCitation/components/SummarizedView.js +2 -0
  92. package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -0
  93. package/dist/cjs/features/ChatCitation/components/UserChatItem.js +2 -0
  94. package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -0
  95. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +2 -0
  96. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -0
  97. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +2 -0
  98. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -0
  99. package/dist/cjs/features/ChatCitation/constants/renderer.js +2 -0
  100. package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -0
  101. package/dist/cjs/features/ChatCitation/utils/helpers.js +2 -0
  102. package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -0
  103. package/dist/cjs/features/ChatDrawer/ChatDrawer.js +2 -0
  104. package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -0
  105. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js +2 -0
  106. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -0
  107. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +2 -0
  108. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -0
  109. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +2 -0
  110. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js.map +1 -0
  111. package/dist/cjs/features/CitationViewer/CitationsViewer.js +2 -0
  112. package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -0
  113. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +2 -0
  114. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -0
  115. package/dist/cjs/features/CitationViewer/components/Header.js +2 -0
  116. package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -0
  117. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +2 -0
  118. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -0
  119. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +2 -0
  120. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js.map +1 -0
  121. package/dist/cjs/features/CitationViewer/components/Transcript.js +2 -0
  122. package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -0
  123. package/dist/cjs/features/CitationViewer/config/apiConfig.js +2 -0
  124. package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -0
  125. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +2 -0
  126. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -0
  127. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +2 -0
  128. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -0
  129. package/dist/cjs/features/CodeCitation/CodeCitation.js +2 -0
  130. package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -0
  131. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +2 -0
  132. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js.map +1 -0
  133. package/dist/cjs/features/CodeCitation/_components/Accordian.js +2 -0
  134. package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -0
  135. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +2 -0
  136. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -0
  137. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +2 -0
  138. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -0
  139. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +2 -0
  140. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -0
  141. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +2 -0
  142. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -0
  143. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +2 -0
  144. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -0
  145. package/dist/cjs/features/CodeCitation/_components/Spinner.js +2 -0
  146. package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -0
  147. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +2 -0
  148. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -0
  149. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +2 -0
  150. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -0
  151. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +2 -0
  152. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -0
  153. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +2 -0
  154. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -0
  155. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +2 -0
  156. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -0
  157. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +2 -0
  158. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -0
  159. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +2 -0
  160. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -0
  161. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +2 -0
  162. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -0
  163. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +2 -0
  164. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -0
  165. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js +2 -0
  166. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -0
  167. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +2 -0
  168. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -0
  169. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +2 -0
  170. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -0
  171. package/dist/cjs/features/CognitiveCompare/CompareContext.js +2 -0
  172. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -0
  173. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +2 -0
  174. package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -0
  175. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +2 -0
  176. package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -0
  177. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +2 -0
  178. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -0
  179. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +2 -0
  180. package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -0
  181. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +2 -0
  182. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -0
  183. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +2 -0
  184. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -0
  185. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +2 -0
  186. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -0
  187. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +2 -0
  188. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -0
  189. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +2 -0
  190. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -0
  191. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +2 -0
  192. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -0
  193. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +2 -0
  194. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -0
  195. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +2 -0
  196. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -0
  197. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +2 -0
  198. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -0
  199. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +2 -0
  200. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -0
  201. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +2 -0
  202. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -0
  203. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +2 -0
  204. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -0
  205. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +2 -0
  206. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -0
  207. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +2 -0
  208. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -0
  209. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +2 -0
  210. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -0
  211. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +2 -0
  212. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -0
  213. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +2 -0
  214. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -0
  215. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +2 -0
  216. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -0
  217. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +2 -0
  218. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -0
  219. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +2 -0
  220. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -0
  221. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +2 -0
  222. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -0
  223. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +2 -0
  224. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -0
  225. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +2 -0
  226. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -0
  227. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +2 -0
  228. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -0
  229. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +2 -0
  230. package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -0
  231. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +2 -0
  232. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -0
  233. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +2 -0
  234. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js.map +1 -0
  235. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +2 -0
  236. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -0
  237. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +2 -0
  238. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js.map +1 -0
  239. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +2 -0
  240. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -0
  241. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +2 -0
  242. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -0
  243. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +2 -0
  244. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -0
  245. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +2 -0
  246. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js.map +1 -0
  247. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +2 -0
  248. package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -0
  249. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +2 -0
  250. package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -0
  251. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +2 -0
  252. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -0
  253. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +2 -0
  254. package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js.map +1 -0
  255. package/dist/cjs/features/ExcelCitation/ExcelCitations.js +2 -0
  256. package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -0
  257. package/dist/cjs/features/ExcelCitation/utils/helper.js +2 -0
  258. package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -0
  259. package/dist/cjs/features/GptWebCitation/GptWebCitation.js +2 -0
  260. package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -0
  261. package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +2 -0
  262. package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js.map +1 -0
  263. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +2 -0
  264. package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -0
  265. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +2 -0
  266. package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -0
  267. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +2 -0
  268. package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -0
  269. package/dist/cjs/features/GptWebCitation/types.js +2 -0
  270. package/dist/cjs/features/GptWebCitation/types.js.map +1 -0
  271. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +2 -0
  272. package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -0
  273. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +2 -0
  274. package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -0
  275. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +2 -0
  276. package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -0
  277. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +2 -0
  278. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -0
  279. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +2 -0
  280. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js.map +1 -0
  281. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +2 -0
  282. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -0
  283. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +2 -0
  284. package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -0
  285. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +2 -0
  286. package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -0
  287. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +2 -0
  288. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -0
  289. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +2 -0
  290. package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -0
  291. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +2 -0
  292. package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -0
  293. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +2 -0
  294. package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -0
  295. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +2 -0
  296. package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -0
  297. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +2 -0
  298. package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -0
  299. package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +2 -0
  300. package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js.map +1 -0
  301. package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +2 -0
  302. package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js.map +1 -0
  303. package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +2 -0
  304. package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js.map +1 -0
  305. package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +2 -0
  306. package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js.map +1 -0
  307. package/dist/cjs/features/InstantLearningCitation/types/Types.js +2 -0
  308. package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -0
  309. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +2 -0
  310. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -0
  311. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +2 -0
  312. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js.map +1 -0
  313. package/dist/cjs/features/ManageRemainders/ManageReminders.js +2 -0
  314. package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -0
  315. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +2 -0
  316. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -0
  317. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +2 -0
  318. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -0
  319. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +2 -0
  320. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js.map +1 -0
  321. package/dist/cjs/features/PaginatedTable/PaginatedTable.js +2 -0
  322. package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -0
  323. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +2 -0
  324. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js.map +1 -0
  325. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +2 -0
  326. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -0
  327. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +2 -0
  328. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js.map +1 -0
  329. package/dist/cjs/features/PdfViewer/PdfContainer.js +2 -0
  330. package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -0
  331. package/dist/cjs/features/PdfViewer/PdfStyle.js +2 -0
  332. package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -0
  333. package/dist/cjs/features/PdfViewer/PdfToolbar.js +2 -0
  334. package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -0
  335. package/dist/cjs/features/PdfViewer/PdfViewer.js +2 -0
  336. package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -0
  337. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +2 -0
  338. package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -0
  339. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +2 -0
  340. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -0
  341. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +2 -0
  342. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js.map +1 -0
  343. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +2 -0
  344. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -0
  345. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +2 -0
  346. package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -0
  347. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +2 -0
  348. package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -0
  349. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  350. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +2 -0
  351. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +1 -0
  352. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +2 -0
  353. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +1 -0
  354. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +2 -0
  355. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +1 -0
  356. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +2 -0
  357. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +1 -0
  358. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +2 -0
  359. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +1 -0
  360. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +2 -0
  361. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +1 -0
  362. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +2 -0
  363. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +1 -0
  364. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  365. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  366. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  367. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +1 -1
  368. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
  369. package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
  370. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  371. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +2 -0
  372. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -0
  373. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +2 -0
  374. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -0
  375. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +2 -0
  376. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js.map +1 -0
  377. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +2 -0
  378. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -0
  379. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +2 -0
  380. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js.map +1 -0
  381. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +2 -0
  382. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -0
  383. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +2 -0
  384. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js.map +1 -0
  385. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +2 -0
  386. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -0
  387. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +2 -0
  388. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js.map +1 -0
  389. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +2 -0
  390. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -0
  391. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +2 -0
  392. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -0
  393. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +2 -0
  394. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -0
  395. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +2 -0
  396. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -0
  397. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +2 -0
  398. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -0
  399. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +2 -0
  400. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -0
  401. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +2 -0
  402. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -0
  403. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +2 -0
  404. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -0
  405. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +2 -0
  406. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -0
  407. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +2 -0
  408. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -0
  409. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +2 -0
  410. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -0
  411. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +2 -0
  412. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js.map +1 -0
  413. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +2 -0
  414. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -0
  415. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +2 -0
  416. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js.map +1 -0
  417. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +2 -0
  418. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -0
  419. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +2 -0
  420. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js.map +1 -0
  421. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +2 -0
  422. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -0
  423. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +2 -0
  424. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js.map +1 -0
  425. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +2 -0
  426. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -0
  427. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +2 -0
  428. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js.map +1 -0
  429. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +2 -0
  430. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -0
  431. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +2 -0
  432. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js.map +1 -0
  433. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +2 -0
  434. package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -0
  435. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +2 -0
  436. package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -0
  437. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +2 -0
  438. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -0
  439. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +2 -0
  440. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js.map +1 -0
  441. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +2 -0
  442. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -0
  443. package/dist/cjs/features/SplitterCitations/icons/icons.js +2 -0
  444. package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -0
  445. package/dist/cjs/features/TableCitation/TableCitationContent.js +2 -0
  446. package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -0
  447. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +2 -0
  448. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js.map +1 -0
  449. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +2 -0
  450. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -0
  451. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +2 -0
  452. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js.map +1 -0
  453. package/dist/cjs/hooks/useOnDemandCitationFetch.js +2 -0
  454. package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -0
  455. package/dist/cjs/index.js +1 -1
  456. package/dist/cjs/service/apicache.service.js +2 -0
  457. package/dist/cjs/service/apicache.service.js.map +1 -0
  458. package/dist/cjs/service/onDemandApi.js +2 -0
  459. package/dist/cjs/service/onDemandApi.js.map +1 -0
  460. package/dist/cjs/types/onDemandApi.types.js +2 -0
  461. package/dist/cjs/types/onDemandApi.types.js.map +1 -0
  462. package/dist/cjs/utils/codeCitations.utils.js +2 -0
  463. package/dist/cjs/utils/codeCitations.utils.js.map +1 -0
  464. package/dist/cjs/utils/sanitizeHtml.js +2 -0
  465. package/dist/cjs/utils/sanitizeHtml.js.map +1 -0
  466. package/dist/cjs/utils/themeManager.js +2 -0
  467. package/dist/cjs/utils/themeManager.js.map +1 -0
  468. package/dist/constants/diagnosticStylesBySeverity.js +2 -0
  469. package/dist/constants/diagnosticStylesBySeverity.js.map +1 -0
  470. package/dist/features/BPACitationRenderer/BPACitationRenderer.js +2 -0
  471. package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -0
  472. package/dist/features/BPACitationRenderer/citationTypes.js +2 -0
  473. package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -0
  474. package/dist/features/BookCitation/BookCitation.js +2 -0
  475. package/dist/features/BookCitation/BookCitation.js.map +1 -0
  476. package/dist/features/BookCitation/BookCitation.module.css.js +2 -0
  477. package/dist/features/BookCitation/BookCitation.module.css.js.map +1 -0
  478. package/dist/features/BookCitation/text-cleaner.js +2 -0
  479. package/dist/features/BookCitation/text-cleaner.js.map +1 -0
  480. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +2 -0
  481. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -0
  482. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +2 -0
  483. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -0
  484. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +2 -0
  485. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -0
  486. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +2 -0
  487. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -0
  488. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +2 -0
  489. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -0
  490. package/dist/features/Bookemon/BookPreview/BookPreview.js +2 -0
  491. package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -0
  492. package/dist/features/Bookemon/Bookemon.js +2 -0
  493. package/dist/features/Bookemon/Bookemon.js.map +1 -0
  494. package/dist/features/Bookemon/BookemonCitationLayer.js +2 -0
  495. package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -0
  496. package/dist/features/Bookemon/BookemonContent.js +2 -0
  497. package/dist/features/Bookemon/BookemonContent.js.map +1 -0
  498. package/dist/features/Bookemon/utils/highlight.js +2 -0
  499. package/dist/features/Bookemon/utils/highlight.js.map +1 -0
  500. package/dist/features/ChatCitation/BigQueryTable.js +2 -0
  501. package/dist/features/ChatCitation/BigQueryTable.js.map +1 -0
  502. package/dist/features/ChatCitation/ChatCitationRenderer.js +2 -0
  503. package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -0
  504. package/dist/features/ChatCitation/InternalChatCitationRenderer.js +2 -0
  505. package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -0
  506. package/dist/features/ChatCitation/assets/cw_chat.svg.js +2 -0
  507. package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -0
  508. package/dist/features/ChatCitation/assets/message-chat-square.svg.js +2 -0
  509. package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -0
  510. package/dist/features/ChatCitation/components/AssistantChatItem.js +2 -0
  511. package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -0
  512. package/dist/features/ChatCitation/components/ChatCitation.js +2 -0
  513. package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -0
  514. package/dist/features/ChatCitation/components/Chip.js +2 -0
  515. package/dist/features/ChatCitation/components/Chip.js.map +1 -0
  516. package/dist/features/ChatCitation/components/DetailedView.js +2 -0
  517. package/dist/features/ChatCitation/components/DetailedView.js.map +1 -0
  518. package/dist/features/ChatCitation/components/IconContainer.js +2 -0
  519. package/dist/features/ChatCitation/components/IconContainer.js.map +1 -0
  520. package/dist/features/ChatCitation/components/InViewNavigation.js +2 -0
  521. package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -0
  522. package/dist/features/ChatCitation/components/MarkdownRenderer.js +2 -0
  523. package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -0
  524. package/dist/features/ChatCitation/components/RuleBook.js +2 -0
  525. package/dist/features/ChatCitation/components/RuleBook.js.map +1 -0
  526. package/dist/features/ChatCitation/components/SummarizedView.js +2 -0
  527. package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -0
  528. package/dist/features/ChatCitation/components/UserChatItem.js +2 -0
  529. package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -0
  530. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +2 -0
  531. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -0
  532. package/dist/features/ChatCitation/components/wrappers/Modal.js +2 -0
  533. package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -0
  534. package/dist/features/ChatCitation/constants/renderer.js +2 -0
  535. package/dist/features/ChatCitation/constants/renderer.js.map +1 -0
  536. package/dist/features/ChatCitation/utils/helpers.js +2 -0
  537. package/dist/features/ChatCitation/utils/helpers.js.map +1 -0
  538. package/dist/features/ChatDrawer/ChatDrawer.js +2 -0
  539. package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -0
  540. package/dist/features/ChatDrawer/constants/ChatDrawer.js +2 -0
  541. package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -0
  542. package/dist/features/CitationRenderer/MarkdownRenderer.js +2 -0
  543. package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -0
  544. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +2 -0
  545. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js.map +1 -0
  546. package/dist/features/CitationViewer/CitationsViewer.js +2 -0
  547. package/dist/features/CitationViewer/CitationsViewer.js.map +1 -0
  548. package/dist/features/CitationViewer/components/AudioWaveform.js +2 -0
  549. package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -0
  550. package/dist/features/CitationViewer/components/Header.js +2 -0
  551. package/dist/features/CitationViewer/components/Header.js.map +1 -0
  552. package/dist/features/CitationViewer/components/KeyTakeaways.js +2 -0
  553. package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -0
  554. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +2 -0
  555. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js.map +1 -0
  556. package/dist/features/CitationViewer/components/Transcript.js +2 -0
  557. package/dist/features/CitationViewer/components/Transcript.js.map +1 -0
  558. package/dist/features/CitationViewer/config/apiConfig.js +2 -0
  559. package/dist/features/CitationViewer/config/apiConfig.js.map +1 -0
  560. package/dist/features/CitationViewer/hooks/getSignedUrl.js +2 -0
  561. package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -0
  562. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +2 -0
  563. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -0
  564. package/dist/features/CodeCitation/CodeCitation.js +2 -0
  565. package/dist/features/CodeCitation/CodeCitation.js.map +1 -0
  566. package/dist/features/CodeCitation/CodeCitation.module.css.js +2 -0
  567. package/dist/features/CodeCitation/CodeCitation.module.css.js.map +1 -0
  568. package/dist/features/CodeCitation/_components/Accordian.js +2 -0
  569. package/dist/features/CodeCitation/_components/Accordian.js.map +1 -0
  570. package/dist/features/CodeCitation/_components/CodeCitationPopup.js +2 -0
  571. package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -0
  572. package/dist/features/CodeCitation/_components/CodeCitationsStats.js +2 -0
  573. package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -0
  574. package/dist/features/CodeCitation/_components/CodeEditor.js +2 -0
  575. package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -0
  576. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +2 -0
  577. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -0
  578. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +2 -0
  579. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -0
  580. package/dist/features/CodeCitation/_components/Spinner.js +2 -0
  581. package/dist/features/CodeCitation/_components/Spinner.js.map +1 -0
  582. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +2 -0
  583. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -0
  584. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +2 -0
  585. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -0
  586. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +2 -0
  587. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -0
  588. package/dist/features/CodeCitation/_components/ThemeToggle.js +2 -0
  589. package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -0
  590. package/dist/features/CodeCitation/_components/TooltipComponent.js +2 -0
  591. package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -0
  592. package/dist/features/CognitiveCompare/CitationAnchor.js +2 -0
  593. package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -0
  594. package/dist/features/CognitiveCompare/CitationRenderer.js +2 -0
  595. package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -0
  596. package/dist/features/CognitiveCompare/CognitiveCompare.js +2 -0
  597. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -0
  598. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +2 -0
  599. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -0
  600. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +2 -0
  601. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -0
  602. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +2 -0
  603. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -0
  604. package/dist/features/CognitiveCompare/CognitivePopup.js +2 -0
  605. package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -0
  606. package/dist/features/CognitiveCompare/CompareContext.js +2 -0
  607. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -0
  608. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +2 -0
  609. package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -0
  610. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +2 -0
  611. package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -0
  612. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +2 -0
  613. package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -0
  614. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +2 -0
  615. package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -0
  616. package/dist/features/CognitiveCompare/LoaderComponent.js +2 -0
  617. package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -0
  618. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +2 -0
  619. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -0
  620. package/dist/features/CognitiveCompare/OverlayComponent.js +2 -0
  621. package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -0
  622. package/dist/features/CognitiveCompare/ResizableSplitPane.js +2 -0
  623. package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -0
  624. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +2 -0
  625. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -0
  626. package/dist/features/CognitiveCompare/components/CompareHeader.js +2 -0
  627. package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -0
  628. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +2 -0
  629. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -0
  630. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +2 -0
  631. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -0
  632. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +2 -0
  633. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -0
  634. package/dist/features/CognitiveCompare/components/SectionAccordion.js +2 -0
  635. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -0
  636. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +2 -0
  637. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -0
  638. package/dist/features/CognitiveCompare/components/SvgConnectors.js +2 -0
  639. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -0
  640. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +2 -0
  641. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -0
  642. package/dist/features/CognitiveCompare/components/connectedLines.js +2 -0
  643. package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -0
  644. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +2 -0
  645. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -0
  646. package/dist/features/CognitiveCompare/hooks/useAccordionState.js +2 -0
  647. package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -0
  648. package/dist/features/CognitiveCompare/hooks/useCompareData.js +2 -0
  649. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -0
  650. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +2 -0
  651. package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -0
  652. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +2 -0
  653. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -0
  654. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +2 -0
  655. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -0
  656. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +2 -0
  657. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -0
  658. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +2 -0
  659. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -0
  660. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +2 -0
  661. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -0
  662. package/dist/features/CognitiveCompare/hooks/useStyles.js +2 -0
  663. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -0
  664. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +2 -0
  665. package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -0
  666. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +2 -0
  667. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -0
  668. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +2 -0
  669. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js.map +1 -0
  670. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +2 -0
  671. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -0
  672. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +2 -0
  673. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js.map +1 -0
  674. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +2 -0
  675. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -0
  676. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +2 -0
  677. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -0
  678. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +2 -0
  679. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -0
  680. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +2 -0
  681. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js.map +1 -0
  682. package/dist/features/DualCitation/RuleBookCitationApiComponent.js +2 -0
  683. package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -0
  684. package/dist/features/DualCitation/RuleBookCitationComponent.js +2 -0
  685. package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -0
  686. package/dist/features/DualCitation/SourceBQDataCompnent.js +2 -0
  687. package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -0
  688. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +2 -0
  689. package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js.map +1 -0
  690. package/dist/features/ExcelCitation/ExcelCitations.js +2 -0
  691. package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -0
  692. package/dist/features/ExcelCitation/utils/helper.js +2 -0
  693. package/dist/features/ExcelCitation/utils/helper.js.map +1 -0
  694. package/dist/features/GptWebCitation/GptWebCitation.js +2 -0
  695. package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -0
  696. package/dist/features/GptWebCitation/GptWebCitation.module.css.js +2 -0
  697. package/dist/features/GptWebCitation/GptWebCitation.module.css.js.map +1 -0
  698. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +2 -0
  699. package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -0
  700. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +2 -0
  701. package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -0
  702. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +2 -0
  703. package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -0
  704. package/dist/features/GptWebCitation/types.js +2 -0
  705. package/dist/features/GptWebCitation/types.js.map +1 -0
  706. package/dist/features/GptWebCitation/utils/citationData.utils.js +2 -0
  707. package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -0
  708. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +2 -0
  709. package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -0
  710. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +2 -0
  711. package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -0
  712. package/dist/features/IngestionStatus/IngestionStatusComponent.js +2 -0
  713. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -0
  714. package/dist/features/IngestionStatus/ingestion.module.css.js +2 -0
  715. package/dist/features/IngestionStatus/ingestion.module.css.js.map +1 -0
  716. package/dist/features/IngestionStatus/useIngestionStatus.js +2 -0
  717. package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -0
  718. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +2 -0
  719. package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -0
  720. package/dist/features/InstantLearningCitation/HistorySkeleton.js +2 -0
  721. package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -0
  722. package/dist/features/InstantLearningCitation/InstantLearningCitation.js +2 -0
  723. package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -0
  724. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +2 -0
  725. package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -0
  726. package/dist/features/InstantLearningCitation/OverrideTimeline.js +2 -0
  727. package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -0
  728. package/dist/features/InstantLearningCitation/RuleConditionBlock.js +2 -0
  729. package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -0
  730. package/dist/features/InstantLearningCitation/RuleContentComponent.js +2 -0
  731. package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -0
  732. package/dist/features/InstantLearningCitation/SlashLoader.js +2 -0
  733. package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -0
  734. package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +2 -0
  735. package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js.map +1 -0
  736. package/dist/features/InstantLearningCitation/css/Override.module.css.js +2 -0
  737. package/dist/features/InstantLearningCitation/css/Override.module.css.js.map +1 -0
  738. package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +2 -0
  739. package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js.map +1 -0
  740. package/dist/features/InstantLearningCitation/css/common.module.css.js +2 -0
  741. package/dist/features/InstantLearningCitation/css/common.module.css.js.map +1 -0
  742. package/dist/features/InstantLearningCitation/types/Types.js +2 -0
  743. package/dist/features/InstantLearningCitation/types/Types.js.map +1 -0
  744. package/dist/features/ManageRemainders/AssigneeCalendarView.js +2 -0
  745. package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -0
  746. package/dist/features/ManageRemainders/ManageRemainder.module.css.js +2 -0
  747. package/dist/features/ManageRemainders/ManageRemainder.module.css.js.map +1 -0
  748. package/dist/features/ManageRemainders/ManageReminders.js +2 -0
  749. package/dist/features/ManageRemainders/ManageReminders.js.map +1 -0
  750. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +2 -0
  751. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -0
  752. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +2 -0
  753. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -0
  754. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +2 -0
  755. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js.map +1 -0
  756. package/dist/features/PaginatedTable/PaginatedTable.js +2 -0
  757. package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -0
  758. package/dist/features/PaginatedTable/paginatedTable.module.css.js +2 -0
  759. package/dist/features/PaginatedTable/paginatedTable.module.css.js.map +1 -0
  760. package/dist/features/PdfEditorCitation/PdfEditorCitation.js +2 -0
  761. package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -0
  762. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +2 -0
  763. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js.map +1 -0
  764. package/dist/features/PdfViewer/PdfContainer.js +2 -0
  765. package/dist/features/PdfViewer/PdfContainer.js.map +1 -0
  766. package/dist/features/PdfViewer/PdfStyle.js +2 -0
  767. package/dist/features/PdfViewer/PdfStyle.js.map +1 -0
  768. package/dist/features/PdfViewer/PdfToolbar.js +2 -0
  769. package/dist/features/PdfViewer/PdfToolbar.js.map +1 -0
  770. package/dist/features/PdfViewer/PdfViewer.js +2 -0
  771. package/dist/features/PdfViewer/PdfViewer.js.map +1 -0
  772. package/dist/features/PdfViewer/usePdfHighlight.js +2 -0
  773. package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -0
  774. package/dist/features/ProjectAccordion/ProjectAccordion.js +2 -0
  775. package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -0
  776. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +2 -0
  777. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js.map +1 -0
  778. package/dist/features/ProjectAccordion/_components/Markdown.js +2 -0
  779. package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -0
  780. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +2 -0
  781. package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -0
  782. package/dist/features/PromptemonViewer/PromptemonViewer.js +2 -0
  783. package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -0
  784. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  785. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +2 -0
  786. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +1 -0
  787. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +2 -0
  788. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +1 -0
  789. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +2 -0
  790. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +1 -0
  791. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +2 -0
  792. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +1 -0
  793. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +2 -0
  794. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +1 -0
  795. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +2 -0
  796. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +1 -0
  797. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +2 -0
  798. package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +1 -0
  799. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  800. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  801. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  802. package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.js +1 -1
  803. package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
  804. package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
  805. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  806. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +2 -0
  807. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -0
  808. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +2 -0
  809. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -0
  810. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +2 -0
  811. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js.map +1 -0
  812. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +2 -0
  813. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -0
  814. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +2 -0
  815. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js.map +1 -0
  816. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +2 -0
  817. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -0
  818. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +2 -0
  819. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js.map +1 -0
  820. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +2 -0
  821. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -0
  822. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +2 -0
  823. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js.map +1 -0
  824. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +2 -0
  825. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -0
  826. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +2 -0
  827. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -0
  828. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +2 -0
  829. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -0
  830. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +2 -0
  831. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -0
  832. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +2 -0
  833. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -0
  834. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +2 -0
  835. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -0
  836. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +2 -0
  837. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -0
  838. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +2 -0
  839. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -0
  840. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +2 -0
  841. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -0
  842. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +2 -0
  843. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -0
  844. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +2 -0
  845. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -0
  846. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +2 -0
  847. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js.map +1 -0
  848. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +2 -0
  849. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -0
  850. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +2 -0
  851. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js.map +1 -0
  852. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +2 -0
  853. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -0
  854. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +2 -0
  855. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js.map +1 -0
  856. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +2 -0
  857. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -0
  858. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +2 -0
  859. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js.map +1 -0
  860. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +2 -0
  861. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -0
  862. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +2 -0
  863. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js.map +1 -0
  864. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +2 -0
  865. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -0
  866. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +2 -0
  867. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js.map +1 -0
  868. package/dist/features/RulebookCitations/RuleBookCitationApi.js +2 -0
  869. package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -0
  870. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +2 -0
  871. package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -0
  872. package/dist/features/ScannedDocCitation/ScannedDocCitation.js +2 -0
  873. package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -0
  874. package/dist/features/SplitterCitations/Splitter.module.css.js +2 -0
  875. package/dist/features/SplitterCitations/Splitter.module.css.js.map +1 -0
  876. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +2 -0
  877. package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -0
  878. package/dist/features/SplitterCitations/icons/icons.js +2 -0
  879. package/dist/features/SplitterCitations/icons/icons.js.map +1 -0
  880. package/dist/features/TableCitation/TableCitationContent.js +2 -0
  881. package/dist/features/TableCitation/TableCitationContent.js.map +1 -0
  882. package/dist/features/TableCitation/TableCitationContent.module.css.js +2 -0
  883. package/dist/features/TableCitation/TableCitationContent.module.css.js.map +1 -0
  884. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +2 -0
  885. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -0
  886. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +2 -0
  887. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js.map +1 -0
  888. package/dist/hooks/useOnDemandCitationFetch.js +2 -0
  889. package/dist/hooks/useOnDemandCitationFetch.js.map +1 -0
  890. package/dist/index.js +1 -1
  891. package/dist/service/apicache.service.js +2 -0
  892. package/dist/service/apicache.service.js.map +1 -0
  893. package/dist/service/onDemandApi.js +2 -0
  894. package/dist/service/onDemandApi.js.map +1 -0
  895. package/dist/types/onDemandApi.types.js +2 -0
  896. package/dist/types/onDemandApi.types.js.map +1 -0
  897. package/dist/types/src/AccordianHeadTest.d.ts +2 -0
  898. package/dist/types/src/AccordianHeadTest.d.ts.map +1 -0
  899. package/dist/types/src/AutopilotStyle.d.ts +2 -0
  900. package/dist/types/src/AutopilotStyle.d.ts.map +1 -0
  901. package/dist/types/src/BookCitationTest.d.ts +3 -0
  902. package/dist/types/src/BookCitationTest.d.ts.map +1 -0
  903. package/dist/types/src/BookemonTest.d.ts +83 -0
  904. package/dist/types/src/BookemonTest.d.ts.map +1 -0
  905. package/dist/types/src/ChatCitationTest.d.ts +7 -0
  906. package/dist/types/src/ChatCitationTest.d.ts.map +1 -0
  907. package/dist/types/src/ChatDrawerTest.d.ts +17 -0
  908. package/dist/types/src/ChatDrawerTest.d.ts.map +1 -0
  909. package/dist/types/src/CodeCitationTest.d.ts +3 -0
  910. package/dist/types/src/CodeCitationTest.d.ts.map +1 -0
  911. package/dist/types/src/CognitiveCompareTest.d.ts +3 -0
  912. package/dist/types/src/CognitiveCompareTest.d.ts.map +1 -0
  913. package/dist/types/src/DatagestMonTest.d.ts +3 -0
  914. package/dist/types/src/DatagestMonTest.d.ts.map +1 -0
  915. package/dist/types/src/DbCodeCitationTest.d.ts +3 -0
  916. package/dist/types/src/DbCodeCitationTest.d.ts.map +1 -0
  917. package/dist/types/src/EmailCitationTest.d.ts +3 -0
  918. package/dist/types/src/EmailCitationTest.d.ts.map +1 -0
  919. package/dist/types/src/ExcelCitationTest.d.ts +2 -0
  920. package/dist/types/src/ExcelCitationTest.d.ts.map +1 -0
  921. package/dist/types/src/MarkdownWithImageCitationTest.d.ts +3 -0
  922. package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +1 -0
  923. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +3 -0
  924. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +1 -0
  925. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +15 -0
  926. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +1 -0
  927. package/dist/types/src/PdfViewerTest.d.ts +5 -0
  928. package/dist/types/src/PdfViewerTest.d.ts.map +1 -0
  929. package/dist/types/src/ProjectAccordianTest.d.ts +3 -0
  930. package/dist/types/src/ProjectAccordianTest.d.ts.map +1 -0
  931. package/dist/types/src/PromptemonBlockViewerTest.d.ts +3 -0
  932. package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +1 -0
  933. package/dist/types/src/PromptemonViewerTest.d.ts +3 -0
  934. package/dist/types/src/PromptemonViewerTest.d.ts.map +1 -0
  935. package/dist/types/src/RequirementAICitationTest.d.ts +3 -0
  936. package/dist/types/src/RequirementAICitationTest.d.ts.map +1 -0
  937. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  938. package/dist/types/src/ScannedDocCitationTest.d.ts +2 -0
  939. package/dist/types/src/ScannedDocCitationTest.d.ts.map +1 -0
  940. package/dist/types/src/Spbanalysispaneltest.d.ts +3 -0
  941. package/dist/types/src/Spbanalysispaneltest.d.ts.map +1 -0
  942. package/dist/types/src/TableCitationTest.d.ts +3 -0
  943. package/dist/types/src/TableCitationTest.d.ts.map +1 -0
  944. package/dist/types/src/assests/icons/CitationsIcon.d.ts +2 -0
  945. package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +1 -0
  946. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +10 -0
  947. package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
  948. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +9 -0
  949. package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
  950. package/dist/types/src/assests/svg/SparkleIcon.d.ts +3 -0
  951. package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +1 -0
  952. package/dist/types/src/context/DataSelectedContext.d.ts +73 -0
  953. package/dist/types/src/context/DataSelectedContext.d.ts.map +1 -0
  954. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
  955. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
  956. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +229 -0
  957. package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
  958. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +6 -0
  959. package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +1 -0
  960. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +4 -0
  961. package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +1 -0
  962. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +4 -0
  963. package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +1 -0
  964. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +4 -0
  965. package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +1 -0
  966. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +15 -0
  967. package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
  968. package/dist/types/src/features/BookCitation/BookCitation.d.ts +42 -0
  969. package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +1 -0
  970. package/dist/types/src/features/BookCitation/text-cleaner.d.ts +2 -0
  971. package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +1 -0
  972. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +21 -0
  973. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
  974. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +13 -0
  975. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
  976. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +52 -0
  977. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
  978. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +20 -0
  979. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
  980. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +35 -0
  981. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
  982. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
  983. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
  984. package/dist/types/src/features/Bookemon/Bookemon.d.ts +9 -0
  985. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +1 -0
  986. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +7 -0
  987. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
  988. package/dist/types/src/features/Bookemon/BookemonContent.d.ts +3 -0
  989. package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +1 -0
  990. package/dist/types/src/features/Bookemon/types/citation.types.d.ts +65 -0
  991. package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +1 -0
  992. package/dist/types/src/features/Bookemon/utils/highlight.d.ts +7 -0
  993. package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +1 -0
  994. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +8 -0
  995. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
  996. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +26 -0
  997. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
  998. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
  999. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
  1000. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +3 -0
  1001. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +1 -0
  1002. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +8 -0
  1003. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
  1004. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +16 -0
  1005. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
  1006. package/dist/types/src/features/ChatCitation/components/Chip.d.ts +8 -0
  1007. package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +1 -0
  1008. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +10 -0
  1009. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
  1010. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +8 -0
  1011. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
  1012. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +11 -0
  1013. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
  1014. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +10 -0
  1015. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
  1016. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +9 -0
  1017. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
  1018. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +19 -0
  1019. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
  1020. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +8 -0
  1021. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
  1022. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
  1023. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
  1024. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
  1025. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
  1026. package/dist/types/src/features/ChatCitation/constants/icons.d.ts +9 -0
  1027. package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +1 -0
  1028. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +7 -0
  1029. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +1 -0
  1030. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +114 -0
  1031. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +1 -0
  1032. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +16 -0
  1033. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +1 -0
  1034. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +5 -0
  1035. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
  1036. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +33 -0
  1037. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +1 -0
  1038. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +5 -0
  1039. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +1 -0
  1040. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
  1041. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
  1042. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +8 -0
  1043. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +1 -0
  1044. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
  1045. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
  1046. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +5 -0
  1047. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
  1048. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +8 -0
  1049. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +1 -0
  1050. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
  1051. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
  1052. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +8 -0
  1053. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +1 -0
  1054. package/dist/types/src/features/CitationViewer/components/Header.d.ts +12 -0
  1055. package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +1 -0
  1056. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
  1057. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
  1058. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +10 -0
  1059. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +1 -0
  1060. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +3 -0
  1061. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
  1062. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
  1063. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
  1064. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
  1065. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
  1066. package/dist/types/src/features/CitationViewer/types/artifact.d.ts +59 -0
  1067. package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +1 -0
  1068. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +49 -0
  1069. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +1 -0
  1070. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +10 -0
  1071. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
  1072. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +31 -0
  1073. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
  1074. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
  1075. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
  1076. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
  1077. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
  1078. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +6 -0
  1079. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
  1080. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  1081. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  1082. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +4 -0
  1083. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
  1084. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
  1085. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
  1086. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
  1087. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
  1088. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
  1089. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
  1090. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
  1091. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
  1092. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
  1093. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
  1094. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
  1095. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
  1096. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +13 -0
  1097. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
  1098. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +6 -0
  1099. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
  1100. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
  1101. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
  1102. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
  1103. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
  1104. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +322 -0
  1105. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
  1106. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
  1107. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
  1108. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
  1109. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
  1110. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +72 -0
  1111. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
  1112. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +3 -0
  1113. package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
  1114. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +8 -0
  1115. package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
  1116. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +2524 -0
  1117. package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -0
  1118. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
  1119. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
  1120. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
  1121. package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
  1122. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +3 -0
  1123. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
  1124. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
  1125. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
  1126. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
  1127. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
  1128. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
  1129. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
  1130. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
  1131. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
  1132. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +12 -0
  1133. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
  1134. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
  1135. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
  1136. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
  1137. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
  1138. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
  1139. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
  1140. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
  1141. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
  1142. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
  1143. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
  1144. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +37 -0
  1145. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
  1146. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
  1147. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
  1148. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
  1149. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
  1150. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
  1151. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
  1152. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
  1153. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
  1154. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
  1155. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
  1156. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +24 -0
  1157. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +1 -0
  1158. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
  1159. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
  1160. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
  1161. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
  1162. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +27 -0
  1163. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
  1164. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
  1165. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
  1166. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
  1167. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
  1168. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +35 -0
  1169. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
  1170. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
  1171. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
  1172. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
  1173. package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
  1174. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
  1175. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
  1176. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
  1177. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
  1178. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +7 -0
  1179. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +1 -0
  1180. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
  1181. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
  1182. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +20 -0
  1183. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  1184. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +27 -0
  1185. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
  1186. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +5 -0
  1187. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +1 -0
  1188. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
  1189. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
  1190. package/dist/types/src/features/DataSelector/DataSelector.d.ts +18 -0
  1191. package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +1 -0
  1192. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
  1193. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
  1194. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
  1195. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
  1196. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
  1197. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
  1198. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +3 -0
  1199. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
  1200. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +3 -0
  1201. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
  1202. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
  1203. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
  1204. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +3 -0
  1205. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
  1206. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +11 -0
  1207. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
  1208. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +7 -0
  1209. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +1 -0
  1210. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +4 -0
  1211. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +1 -0
  1212. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +21 -0
  1213. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +1 -0
  1214. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +19 -0
  1215. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +1 -0
  1216. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +7 -0
  1217. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +1 -0
  1218. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
  1219. package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
  1220. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
  1221. package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
  1222. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
  1223. package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
  1224. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +43 -0
  1225. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +1 -0
  1226. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +10 -0
  1227. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +1 -0
  1228. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +15 -0
  1229. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
  1230. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +2 -0
  1231. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +1 -0
  1232. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +15 -0
  1233. package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
  1234. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
  1235. package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
  1236. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
  1237. package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
  1238. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +9 -0
  1239. package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +1 -0
  1240. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
  1241. package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
  1242. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +4 -0
  1243. package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +1 -0
  1244. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +4 -0
  1245. package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +1 -0
  1246. package/dist/types/src/features/GptWebCitation/types.d.ts +405 -0
  1247. package/dist/types/src/features/GptWebCitation/types.d.ts.map +1 -0
  1248. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
  1249. package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
  1250. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
  1251. package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
  1252. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
  1253. package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
  1254. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
  1255. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
  1256. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +7 -0
  1257. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +1 -0
  1258. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
  1259. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
  1260. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
  1261. package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
  1262. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
  1263. package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
  1264. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
  1265. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
  1266. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
  1267. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
  1268. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +6 -0
  1269. package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +1 -0
  1270. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
  1271. package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
  1272. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
  1273. package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
  1274. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
  1275. package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
  1276. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
  1277. package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
  1278. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +356 -0
  1279. package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
  1280. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
  1281. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
  1282. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +2 -0
  1283. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +1 -0
  1284. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +49 -0
  1285. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
  1286. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
  1287. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
  1288. package/dist/types/src/features/ManageRemainders/types/type.d.ts +79 -0
  1289. package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +1 -0
  1290. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
  1291. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
  1292. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +27 -0
  1293. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
  1294. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
  1295. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
  1296. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +2 -0
  1297. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +1 -0
  1298. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +14 -0
  1299. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +1 -0
  1300. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +33 -0
  1301. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +1 -0
  1302. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +26 -0
  1303. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
  1304. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +69 -0
  1305. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -0
  1306. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +26 -0
  1307. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
  1308. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
  1309. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
  1310. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
  1311. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
  1312. package/dist/types/src/features/ProjectAccordion/index.d.ts +2 -0
  1313. package/dist/types/src/features/ProjectAccordion/index.d.ts.map +1 -0
  1314. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +11 -0
  1315. package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
  1316. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +3 -0
  1317. package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +1 -0
  1318. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
  1319. package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
  1320. package/dist/types/src/features/PromptemonViewer/index.d.ts +3 -0
  1321. package/dist/types/src/features/PromptemonViewer/index.d.ts.map +1 -0
  1322. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +25 -28
  1323. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  1324. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts +10 -0
  1325. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts.map +1 -0
  1326. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts +17 -0
  1327. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts.map +1 -0
  1328. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts +23 -0
  1329. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts.map +1 -0
  1330. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts +3 -0
  1331. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts.map +1 -0
  1332. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  1333. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +3 -1
  1334. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  1335. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts +7 -2
  1336. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts.map +1 -1
  1337. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts +15 -1
  1338. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts.map +1 -1
  1339. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts +2 -1
  1340. package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts.map +1 -1
  1341. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts +1 -0
  1342. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts.map +1 -1
  1343. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts +2 -0
  1344. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts.map +1 -1
  1345. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
  1346. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
  1347. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +52 -0
  1348. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
  1349. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +4 -0
  1350. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +1 -0
  1351. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
  1352. package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
  1353. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
  1354. package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
  1355. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
  1356. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
  1357. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +1 -0
  1358. package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +1 -0
  1359. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +22 -0
  1360. package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
  1361. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +37 -0
  1362. package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
  1363. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +11 -0
  1364. package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
  1365. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +10 -0
  1366. package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
  1367. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +39 -0
  1368. package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
  1369. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +10 -0
  1370. package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +1 -0
  1371. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +57 -0
  1372. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
  1373. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
  1374. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
  1375. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +4 -0
  1376. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +1 -0
  1377. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +17 -0
  1378. package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +1 -0
  1379. package/dist/types/src/features/SplitterCitations/types.d.ts +78 -0
  1380. package/dist/types/src/features/SplitterCitations/types.d.ts.map +1 -0
  1381. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +14 -0
  1382. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +1 -0
  1383. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +5 -0
  1384. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +1 -0
  1385. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
  1386. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
  1387. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
  1388. package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
  1389. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +3 -0
  1390. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +1 -0
  1391. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +3 -0
  1392. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +1 -0
  1393. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +3 -0
  1394. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +1 -0
  1395. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +3 -0
  1396. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +1 -0
  1397. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
  1398. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
  1399. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +3 -0
  1400. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +1 -0
  1401. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
  1402. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
  1403. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +3 -0
  1404. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +1 -0
  1405. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +21 -0
  1406. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +1 -0
  1407. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +33 -0
  1408. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +1 -0
  1409. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +19 -0
  1410. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +1 -0
  1411. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +8 -0
  1412. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +1 -0
  1413. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +17 -0
  1414. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +1 -0
  1415. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +26 -0
  1416. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +1 -0
  1417. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +11 -0
  1418. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +1 -0
  1419. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +3 -0
  1420. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +1 -0
  1421. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +3 -0
  1422. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +1 -0
  1423. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +3 -0
  1424. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +1 -0
  1425. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1108 -0
  1426. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
  1427. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
  1428. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
  1429. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
  1430. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
  1431. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
  1432. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
  1433. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
  1434. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
  1435. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
  1436. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
  1437. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
  1438. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
  1439. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +3 -0
  1440. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +1 -0
  1441. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +3 -0
  1442. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +1 -0
  1443. package/dist/types/src/features/UploadData/NotFound.d.ts +4 -0
  1444. package/dist/types/src/features/UploadData/NotFound.d.ts.map +1 -0
  1445. package/dist/types/src/features/UploadData/main.d.ts +10 -0
  1446. package/dist/types/src/features/UploadData/main.d.ts.map +1 -0
  1447. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +11 -0
  1448. package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
  1449. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +4 -0
  1450. package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +1 -0
  1451. package/dist/types/src/index.d.ts +2 -0
  1452. package/dist/types/src/index.d.ts.map +1 -1
  1453. package/dist/types/src/methodsToExpose.d.ts +13 -0
  1454. package/dist/types/src/methodsToExpose.d.ts.map +1 -0
  1455. package/dist/types/src/routes/Routes.d.ts +2 -0
  1456. package/dist/types/src/routes/Routes.d.ts.map +1 -0
  1457. package/dist/types/src/service/DataService.d.ts +73 -0
  1458. package/dist/types/src/service/DataService.d.ts.map +1 -0
  1459. package/dist/types/src/service/ModelService.d.ts +68 -0
  1460. package/dist/types/src/service/ModelService.d.ts.map +1 -0
  1461. package/dist/types/src/service/ProjectService.d.ts +16 -0
  1462. package/dist/types/src/service/ProjectService.d.ts.map +1 -0
  1463. package/dist/types/src/service/apicache.service.d.ts +43 -0
  1464. package/dist/types/src/service/apicache.service.d.ts.map +1 -0
  1465. package/dist/types/src/service/onDemandApi.d.ts +27 -0
  1466. package/dist/types/src/service/onDemandApi.d.ts.map +1 -0
  1467. package/dist/types/src/types/onDemandApi.types.d.ts +58 -0
  1468. package/dist/types/src/types/onDemandApi.types.d.ts.map +1 -0
  1469. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +70 -0
  1470. package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
  1471. package/dist/utils/codeCitations.utils.js +2 -0
  1472. package/dist/utils/codeCitations.utils.js.map +1 -0
  1473. package/dist/utils/sanitizeHtml.js +2 -0
  1474. package/dist/utils/sanitizeHtml.js.map +1 -0
  1475. package/dist/utils/themeManager.js +2 -0
  1476. package/dist/utils/themeManager.js.map +1 -0
  1477. package/package.json +11 -1
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("@mui/material"),t=require("../../assests/svg/ButtonCognitiveIcon.js"),s=function(){return i.jsx("svg",e.__assign({width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i.jsx("path",{d:"M2 6.5L5 9.5L11 3.5",stroke:"#15803D",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}))},o=[{key:"connect",title:"Connect",icon:i.jsx("svg",e.__assign({width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i.jsx("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.jsx("svg",e.__assign({width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i.jsx("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.jsx(t.ButtonCognitiveIcon,{})}];exports.default=function(t){var r=t.open,l=t.anchorEl;t.sectionTitle,t.referenceSectionTitle;var a=t.onClose,c=t.onOpenCognitiveCompare,d=t.onOpenSideBySide,C=t.onConnect,x=t.isConnected,h=void 0!==x&&x,g=t.isOrphan,p=void 0!==g&&g,u=t.maintainRelativeOrder,y=t.isGuidelineMode,f=t.hasGuidelineMatches,v=y?!(void 0===f||f):p,_=y?"No highlights found in guidelines.":"No counterpart exists to connect to.";return i.jsx(n.Menu,e.__assign({open:r,anchorEl:l,onClose:a,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:o.filter(function(e){return u||"side-by-side"!==e.key}).map(function(t){var o="connect"===t.key,r=o&&h,l=("connect"===t.key||"side-by-side"===t.key)&&v,a=i.jsxs(i.Fragment,{children:[i.jsx(n.Box,e.__assign({sx:e.__assign(e.__assign({width:18,height:18,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,"& svg":{display:"block"}},l&&{opacity:.15}),r&&{"& svg path":{fill:"#15803D",fillOpacity:1}})},{children:t.icon})),i.jsxs(n.Box,e.__assign({sx:{minWidth:0,display:"flex",flexDirection:"column",flex:1}},{children:[i.jsx(n.Typography,e.__assign({sx:{fontSize:"12px",fontWeight:500,color:l?"#98A2B3":r?"#15803D":"#101828",lineHeight:1.2,whiteSpace:"nowrap"}},{children:o?h?"Disconnect":"Connect":t.title})),l&&i.jsx(n.Typography,e.__assign({sx:{mt:.35,fontSize:"10px",lineHeight:1.3,color:"#98A2B3",whiteSpace:"normal"}},{children:_}))]})),r&&!l&&i.jsx(n.Box,e.__assign({sx:{display:"flex",alignItems:"center",justifyContent:"center",ml:"auto"}},{children:i.jsx(s,{})}))]});return l?i.jsx(n.Box,e.__assign({"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:a}),t.key):i.jsx(n.MenuItem,e.__assign({onClick:function(){var e;("connect"===(e=t.key)||"side-by-side"===e)&&v||("connect"!==e?"side-by-side"!==e?c():d():C())},sx:{px:1.25,py:1,minHeight:40,borderRadius:"10px",display:"flex",alignItems:"center",gap:1,bgcolor:r?"#F0FDF4":"transparent","&:hover":{bgcolor:r?"#DCFCE7":"#F9FAFB"}}},{children:a}),t.key)})}))};
2
+ //# sourceMappingURL=MoreFunctionsPopup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoreFunctionsPopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),t=require("@mui/material");exports.default=function(n){var s=n.sections,a=void 0===s?8:s;return r.jsxs(t.Box,e.__assign({sx:{position:"absolute",inset:0,zIndex:50,backdropFilter:"blur(6px)",backgroundColor:"rgba(255,255,255,0.7)",borderRadius:"8px",overflow:"hidden"}},{children:[r.jsx(t.Box,e.__assign({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:a}).map(function(n,s){return r.jsxs(t.Box,e.__assign({sx:{border:"1px solid #E3E6EA",borderRadius:"6px",p:1.5,bgcolor:"#fff",opacity:.6}},{children:[r.jsx(t.Skeleton,{variant:"text",width:"40%",height:24}),r.jsx(t.Skeleton,{variant:"text",width:"80%"}),r.jsx(t.Skeleton,{variant:"text",width:"70%"}),r.jsx(t.Skeleton,{variant:"rectangular",height:40,sx:{mt:1}})]}),s)})})),r.jsxs(t.Box,e.__assign({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:[r.jsx(t.Typography,e.__assign({sx:{fontWeight:600,fontSize:"16px",color:"#0F172A",mb:1}},{children:"Aligning sections..."})),r.jsx(t.Typography,e.__assign({sx:{fontSize:"13px",color:"#64748B",lineHeight:1.5}},{children:"Placing corresponding clauses side by side for comparison."}))]}))]}))};
2
+ //# sourceMappingURL=OverlayComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OverlayComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),s=require("react");exports.default=function(n){var t=n.leftComponent,l=n.rightComponent,r=n.isFullscreen,a=void 0!==r&&r,o=s.useRef(null),d=s.useState(50),u=d[0],c=d[1],_=s.useState(!1),h=_[0],g=_[1],x=null!=t,f=null!=l,v=s.useCallback(function(){x&&f&&g(!0)},[x,f]),p=s.useCallback(function(e){if(h&&o.current){var i=o.current.getBoundingClientRect(),s=(e.clientX-i.left)/i.width*100;s=Math.max(25,Math.min(75,s)),c(s)}},[h]),j=s.useCallback(function(){g(!1)},[]),m={minWidth:0,minHeight:0,height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"};return i.jsxs("div",e.__assign({ref:o,onMouseMove:p,onMouseUp:j,onMouseLeave:j,style:{display:"flex",width:"calc(100% - 1px)",height:a?"100%":"400px",border:"1px solid #ddd",overflow:"hidden",userSelect:h?"none":"auto"}},{children:[x&&!f&&i.jsx("div",e.__assign({style:e.__assign(e.__assign({},m),{width:"100%"})},{children:t})),!x&&f&&i.jsx("div",e.__assign({style:e.__assign(e.__assign({},m),{width:"100%"})},{children:l})),x&&f&&i.jsxs(i.Fragment,{children:[i.jsx("div",e.__assign({style:e.__assign(e.__assign({},m),{width:"".concat(u,"%"),flexShrink:0})},{children:t})),i.jsx("div",{onMouseDown:v,style:{width:"6px",background:"#D0D5DD",cursor:"col-resize",flexShrink:0}}),i.jsx("div",e.__assign({style:e.__assign(e.__assign({},m),{flex:1})},{children:l}))]})]}))};
2
+ //# sourceMappingURL=ResizableSplitPane.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ResizableSplitPane.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("@mui/material"),i=require("lucide-react"),o=require("react");exports.default=function(r){var l,a,s,c=r.open,u=r.anchorEl,d=r.containerEl,p=r.clipTopEl,f=r.scrollContainerEl,m=r.onClose,h=r.summary;r.markdownStyles,r.isLoading;var x=r.displayImpact,g=r.isScrollLocked,v=o.useRef(null),y=o.useRef(null),b=o.useState(null),_=b[0],w=b[1],S=o.useState(null),j=S[0],C=S[1],E=o.useState(null);E[0];var B=E[1],I=o.useState(0),R=I[0],z=I[1],F="string"==typeof h?{deviation_summary:h}:null!=h?h:{},H=o.useState(!1),W=H[0],A=H[1];o.useEffect(function(){c&&A(!1)},[c]);var T=F.deviation_title,k=F.deviation_summary,L=F.deviation_impact,M=F.evaluation_outputs,P=!!String(L||"").trim(),q=o.useState(!!x),O=q[0],D=q[1];o.useEffect(function(){P&&D(!!x)},[x,P,h]);var N=(null===(l=null==M?void 0:M.metadata)||void 0===l?void 0:l.label_color)||"#6366F1",Y=null!==(a=null==d?void 0:d.getBoundingClientRect().width)&&void 0!==a?a:180,J=Math.max(148,Y+120),G=o.useMemo(function(){if(!u||!d)return null;var e=u.getBoundingClientRect();if(0===e.width&&0===e.height)return null;var n=d.getBoundingClientRect();return{top:e.top,bottom:e.bottom,left:n.left+n.width/2}},[u,d]);o.useEffect(function(){if(!c||!u||!d)return w(null),C(null),void B(null);var e=function(){null!==v.current&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(function(){var e,n,t=null==u?void 0:u.getBoundingClientRect(),i=null==p?void 0:p.getBoundingClientRect(),o=null==f?void 0:f.getBoundingClientRect();if(0!==t.width||0!==t.height){var r=d.getBoundingClientRect();w({top:t.top,bottom:t.bottom,left:r.left+r.width/2}),C(null!==(e=null==i?void 0:i.bottom)&&void 0!==e?e:null),B(null!==(n=null==o?void 0:o.bottom)&&void 0!==n?n:null),y.current&&z(y.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}(u);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!==v.current&&cancelAnimationFrame(v.current),window.removeEventListener("scroll",e,{capture:!0}),window.removeEventListener("resize",e),n.forEach(function(n){n.removeEventListener("scroll",e)})}},[c,u,d,p,f,g]);var V=null!==(s=null!=_?_:G)&&void 0!==s?s:"hidden",X="hidden"===V?"hidden":V.bottom+20,Z=null!=j&&"number"==typeof X&&X<j?Math.min(R,j-X):0,K=o.useMemo(function(){return"hidden"===V?{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:V.bottom-V.top,top:V.top,bottom:V.bottom,left:V.left,right:V.left,x:V.left,y:V.top,toJSON:function(){}}}}},[V]);return h?n.jsx(t.Popper,e.__assign({open:c&&!W,disablePortal:!0,popperOptions:{strategy:"fixed"},anchorEl:K,placement:"bottom",modifiers:[{name:"offset",options:{offset:[0,20]}},{name:"preventOverflow",enabled:!0,options:{boundary:f||"clippingParents",tether:!1}},{name:"flip",enabled:!0,options:{boundary:f||"clippingParents",fallbackPlacements:["top"]}}],sx:{zIndex:21,visibility:"hidden"===V?"hidden":"visible",opacity:"hidden"===V?0:1,transition:"opacity 0.15s ease-in-out"}},{children:n.jsxs(t.Paper,e.__assign({ref:y,sx:e.__assign(e.__assign({p:1.5,borderRadius:"12px",width:J,maxWidth:J},Z>0&&{clipPath:"inset(".concat(Z,"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(N,"26"),borderTop:"3px solid ".concat(N),overflow:"hidden",bgcolor:"#fff"})},{children:[n.jsxs(t.Box,e.__assign({sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:.75}},{children:[n.jsxs(t.Box,e.__assign({sx:{display:"flex",alignItems:"center",gap:.75,minWidth:0}},{children:[n.jsx(i.Info,{size:14,color:N}),n.jsx(t.Typography,e.__assign({sx:{fontSize:"11px",fontWeight:700,color:N,fontFamily:'"Inter", sans-serif',textTransform:"uppercase",letterSpacing:"0.4px",lineHeight:1.2}},{children:"Summary"}))]})),n.jsx(t.IconButton,e.__assign({size:"small",onClick:m,sx:{p:.25,ml:.5,color:"#64748B"}},{children:n.jsx(i.X,{size:14})}))]})),n.jsxs(t.Box,e.__assign({sx:{display:"flex",flexDirection:"column",gap:1.5,maxHeight:"300px",overflowY:"auto",pr:.5}},{children:[n.jsxs(t.Box,{children:[T&&n.jsx(t.Typography,e.__assign({sx:{fontSize:"12px",color:"#334155",fontFamily:'"Inter", sans-serif',lineHeight:1.6,fontWeight:700,overflowWrap:"anywhere"}},{children:T})),n.jsx(t.Typography,e.__assign({sx:{fontSize:"11px",color:"#334155",lineHeight:1.6,fontFamily:'"Inter", sans-serif',fontWeight:400,overflowWrap:"anywhere",whiteSpace:"pre-wrap"}},{children:k||"No summary available."}))]}),P&&n.jsxs(t.Accordion,e.__assign({expanded:O,onChange:function(e,n){return D(n)},disableGutters:!0,elevation:0,sx:{backgroundColor:"".concat(N,"0A"),border:"1px solid ".concat(N,"33"),borderRadius:"4px",fontFamily:'"Inter", sans-serif',overflow:"hidden",flexShrink:0,"&:before":{display:"none"},"&.Mui-expanded":{margin:0}}},{children:[n.jsx(t.AccordionSummary,e.__assign({expandIcon:n.jsx(i.ChevronDown,{size:16,color:N}),sx:{minHeight:"10px",px:1.5,"& .MuiAccordionSummary-content":{py:"5px",my:0},"&.Mui-expanded":{minHeight:"10px",borderBottom:"1px solid ".concat(N,"1A")}}},{children:n.jsx(t.Typography,e.__assign({sx:{fontSize:"11px",fontWeight:700,color:N,fontFamily:'"Inter", sans-serif',textTransform:"uppercase",letterSpacing:"0.5px"}},{children:"Impact"}))})),n.jsx(t.AccordionDetails,e.__assign({sx:{p:1.5,backgroundColor:"#fff"}},{children:n.jsx(t.Typography,e.__assign({sx:{fontSize:"11px",color:"#475569",lineHeight:1.6,fontWeight:400,fontFamily:'"Inter", sans-serif',overflowWrap:"anywhere",whiteSpace:"pre-wrap"}},{children:String(L).replace("Impact -","").trim()}))}))]}))]}))]}))})):null};
2
+ //# sourceMappingURL=CognitiveSummaryPopup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CognitiveSummaryPopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),o=require("@mui/material");exports.default=function(t){var r=t.componentHeaderText,n=t.displayConfig,s=t.maintainRelativeOrder,l=t.onToggleView,a=t.onCollapseAll,d=t.showCollapseAll;return n.isHeaderVisible||n.isToggleVisible?i.jsxs(o.Box,e.__assign({sx:{px:2,py:1,display:"flex",alignItems:"center",justifyContent:"space-between",bgcolor:"#FFFFFF",border:"1.5px solid #EEF0F4",borderTopLeftRadius:"8px",borderTopRightRadius:"8px"}},{children:[i.jsx(o.Box,e.__assign({sx:{display:"flex",alignItems:"center",gap:1}},{children:n.isHeaderVisible&&i.jsx(o.Typography,e.__assign({sx:{fontSize:"16px",fontWeight:600,color:"#0F172A"}},{children:r}))})),i.jsxs(o.Box,e.__assign({sx:{display:"flex",alignItems:"center",gap:2}},{children:[n.displayEmailNotifier&&i.jsxs(o.Box,e.__assign({sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",gap:1,backgroundColor:"#f5f5f5",px:.5,py:.25,borderRadius:1,border:"1px solid #a0a0a0",paddingX:.8}},{children:[i.jsxs("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",className:"lucide lucide-bell-ring-icon lucide-bell-ring"},{children:[i.jsx("path",{d:"M10.268 21a2 2 0 0 0 3.464 0"}),i.jsx("path",{d:"M22 8c0-2.3-.8-4.3-2-6"}),i.jsx("path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326"}),i.jsx("path",{d:"M4 2C2.8 3.7 2 5.7 2 8"})]})),i.jsx(o.Typography,e.__assign({variant:"caption",sx:{color:"black",textAlign:"center",fontSize:"13px",fontWeight:500}},{children:"You'll be notified on completion"}))]})),n.isToggleVisible&&i.jsxs(o.Box,e.__assign({sx:{display:"flex",alignItems:"center",gap:2}},{children:[d&&i.jsx(o.Button,e.__assign({variant:"outlined",size:"small",onClick:a,sx:{textTransform:"none",fontWeight:600,fontSize:"12px",color:"#5928ED",borderColor:"#5928ED",height:26,"&:hover":{borderColor:"#3E1BB3",backgroundColor:"rgba(89, 40, 237, 0.04)"}}},{children:"Collapse All"})),i.jsx(o.FormControlLabel,{control:i.jsx(o.Switch,{checked:!s,onChange:function(e){return l(e.target.checked)},color:"primary",size:"small",sx:{width:100,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:"3px",transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(75px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:"#5928ED",opacity:1,border:0,"&::before":{content:'"Side by Side"',position:"absolute",left:8,top:5,fontSize:10,color:"#fff",fontWeight:600}}},"& .MuiSwitch-thumb:before":{position:"absolute",width:"100%",height:"100%",left:0,top:0,display:"flex",alignItems:"center",justifyContent:"center",fontSize:10,fontWeight:700,color:"#5928ED"}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:20,height:20,boxShadow:"0px 1px 3px rgba(0,0,0,0.2)"},"& .MuiSwitch-track":{borderRadius:13,backgroundColor:"#CBD5E1",opacity:1,position:"relative","&::before":{content:'"Side By Side"',position:"absolute",right:8,top:5,left:30,fontSize:10,color:"#1E293B",fontWeight:600}}}}),label:"",sx:{m:0}})]}))]}))]})):null};
2
+ //# sourceMappingURL=CompareHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CompareHeader.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),o=require("react/jsx-runtime"),i=require("react"),n=require("@mui/material"),t=require("lucide-react"),r=require("./SectionAccordion.js"),a=require("./ThreeDotsLoader.js"),l=require("../CognitiveComparehelpers.js"),s=require("../CompareContext.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=d(i).default.memo(function(i){var d,c,u,p=i.section,x=i.idx,g=s.useCompareContext(),v=g.maintainRelativeOrder,f=g.existingSections;g.proposedSections;var m=g.connectedSections,b=g.expandedSections,h=g.displayConfig,S=g.treeData;g.deviationNumberRegistry;var B=g.getSectionCompareStyle;g.getBadgeRef;var _=g.getSectionRowRef,y=g.sectionLeftRefs,R=g.lhsBadgeRefs,j=g.openMoreFunctionsPopup,w=g.handleOpenSummaryPopup,C=g.handleCloseSummaryPopup,I=g.toggleSection;g.showDeviationBadges,g.renderSubSectionAccordion,g.isProposingFix,g.proposingFixNodeId,g.isRedlineFlow,g.isSideBySide,g.activeSideBySideSection,g.scrollSyncLocked,g.toggleScrollSyncLocked,g.summaryPopupAnchorEl,g.deviationNodeIdToView,g.deviationTargetParentId;var N=g.showDeviationNavigation;g.showOpenNodeRef,g.resolvedMarkdownStyles;var q=g.unifiedNumbering,P=!p.title&&!p.content;if(v&&P)return null;var k=p,D=B(x,"left"),T=v?!(null===(d=k.refIndexes)||void 0===d?void 0:d.length)||k.selfIndex<0:!f[x],A=m.has(x);null===(c=R.current[x])||void 0===c||c.current;var L=l.extractDeviationScore(k.evaluationResult,null==D?void 0:D.deviationLabel),z=q.leftNums.get(k.id);return o.jsx(n.Box,e.__assign({ref:_(x),sx:{mb:1,width:"100%"}},{children:o.jsx(n.Box,e.__assign({ref:y.current[x],sx:e.__assign({width:"100%",display:"flex",flexDirection:"column",minWidth:0},A&&{borderRadius:"6px",outline:"2px solid ".concat((null==D?void 0:D.badgeBorder)||"#6366F1"),outlineOffset:"1px"})},{children:o.jsxs(n.Box,e.__assign({sx:{position:"relative",width:"100%"}},{children:[o.jsx(r.default,{section:p,idx:x,columnKey:"left",colRef:_("left-accordion-".concat(x)),mb:0,parentNodeId:(null===(u=null==S?void 0:S.input_index_map)||void 0===u?void 0:u[0])||"",isExpanded:v?!!b["left-".concat(x)]:!!b[String(x)],onToggle:function(){C(),I(x,"left")},navigation:p.id?N[p.id]:null}),v&&D&&o.jsxs(n.Box,e.__assign({ref:R.current[x],onClick:function(e){var o,i,n,t=h.enableDeviationSchemaBackwardCompatibility?null!==(o=k.evaluationResult)&&void 0!==o?o:null:null!==(n=null===(i=k.evaluationResult)||void 0===i?void 0:i[0])&&void 0!==n?n:null;w(e,String(x),T,t)},sx:{position:"absolute",top:"18px",right:0,transform:"translateY(-50%) translateX(calc(100% + 8px))",display:"inline-flex",alignItems:"center",gap:"4px",fontSize:"11px",bgcolor:D.badgeBg,color:D.badgeText,border:"1px solid ".concat(D.badgeBorder),borderRadius:"12px",px:1.2,py:.3,fontWeight:600,cursor:"pointer",whiteSpace:"nowrap",zIndex:20,boxShadow:"0 1px 3px rgba(0,0,0,0.07)"}},{children:[o.jsxs(n.Box,e.__assign({component:"span",onClick:function(e){var o,i,n;e.stopPropagation();var t=h.enableDeviationSchemaBackwardCompatibility?null!==(o=k.evaluationResult)&&void 0!==o?o:null:null!==(n=null===(i=k.evaluationResult)||void 0===i?void 0:i[0])&&void 0!==n?n:null;w(e,String(x),T,t)},sx:{display:"inline-flex",alignItems:"center",gap:"4px",px:.2,cursor:T?"default":"pointer",borderRight:"1px solid ".concat(D.badgeBorder),"&:hover":T?{}:{bgColor:"".concat(D.badgeBorder,"22")}}},{children:[null!=z&&o.jsx(n.Box,e.__assign({component:"span",sx:{fontSize:"11px",fontWeight:700,pr:.5,borderRight:"1px solid ".concat(D.badgeBorder)}},{children:z})),o.jsx(n.Box,e.__assign({component:"span",sx:{fontSize:"11px",px:.25}},{children:!h.isLoading||null!=k.evaluationResult&&void 0!==k.evaluationResult?"N/A"===L||"NA"===L?"N/A":0==L||null==L?"Same":"".concat(L):o.jsx(a.default,{color:D.badgeText})}))]})),o.jsx(n.Box,e.__assign({component:"span",onClick:function(e){e.stopPropagation();var o=v?f.find(function(e){var o;return null===(o=k.refIndexes)||void 0===o?void 0:o.includes(e.selfIndex)})||{title:"",content:""}:f[x]||{title:"",content:""};j(e,p,T,o,x,D)},sx:{display:"inline-flex",alignItems:"center",px:.2,cursor:"pointer","&:hover":{bgcolor:"".concat(D.badgeBorder,"22")}}},{children:o.jsx(t.EllipsisVertical,{size:11,color:D.badgeText})}))]}))]}))}))}),"left-row-".concat(x))});exports.default=c;
2
+ //# sourceMappingURL=LHSSectionRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LHSSectionRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),t=require("@mui/material"),o=require("lucide-react"),r=require("./SectionAccordion.js"),l=require("./ThreeDotsLoader.js"),a=require("./ScrollLockToggle.js"),s=require("../CognitiveComparehelpers.js"),d=require("../CompareContext.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(i),x=u.default.memo(function(i){var c,x,p=i.section,g=i.idx,f=d.useCompareContext(),v=f.maintainRelativeOrder;f.existingSections;var h=f.proposedSections,m=f.connectedSections,S=f.expandedSections,b=f.displayConfig,_=f.treeData;f.deviationNumberRegistry;var I=f.getSectionCompareStyle;f.getBadgeRef;var j=f.getSectionRowRef,B=f.sectionRightRefs,y=f.rhsBadgeRefs,R=f.openMoreFunctionsPopup,w=f.handleOpenSummaryPopup,C=f.handleCloseSummaryPopup,N=f.toggleSection;f.showDeviationBadges,f.renderSubSectionAccordion,f.isProposingFix,f.proposingFixNodeId,f.isRedlineFlow;var T=f.isSideBySide,k=f.activeSideBySideSection,q=f.scrollSyncLocked,M=f.toggleScrollSyncLocked;f.deviationNodeIdToView,f.deviationTargetParentId;var P=f.showDeviationNavigation;f.showOpenNodeRef,f.resolvedMarkdownStyles;var z=f.unifiedNumbering,D=p,A=!1,F=null,L=-1,O=function(e,n){return String(null!=e?e:"")===String(n)},E=-1;v?(E=h.findIndex(function(e){var n;return(null===(n=e.refIndexes)||void 0===n?void 0:n.includes(D.selfIndex))&&e.selfIndex>=0}),L=h.findIndex(function(e,n){var i;return function(e){return m.has(e)||m.has(String(e))||null!=k&&!String(k).includes("::")&&O(k,e)}(n)&&(null===(i=e.refIndexes)||void 0===i?void 0:i.includes(D.selfIndex))}),(A=-1!==L)&&(F=I(L,"left"))):(A=m.has(g)||m.has(String(g))||O(k,g))&&(F=I(g,"right"));var U=v&&-1!==E?I(E,"left"):I(g,"right"),V=F||U,W=v?-1!==E||!(null===(c=D.refIndexes)||void 0===c?void 0:c.length)&&h.some(function(e){return e.id&&e.id===D.id}):Boolean(h[g]),H=v?D.selfIndex<0||!W:!h[g],K=u.default.useMemo(function(){var e=z.rightNums.get(D.id);return v&&D.id?s.getRhsMappedSectionNumber({section:D,proposedSections:h,leftNums:z.leftNums,fallbackNumber:e}):e},[v,h,D.id,D.selfIndex,z]),X=u.default.useMemo(function(){if(!v||null==D.selfIndex)return null!=K?[{label:String(K),title:D.title||"Untitled Section",lhsIdx:-1}]:[];var n=h.map(function(e,n){var i=Array.isArray(null==e?void 0:e.refIndexes)?e.refIndexes:[],t=i.findIndex(function(e){return e===D.selfIndex});if(-1===t)return null;var o=(null==e?void 0:e.id)?z.leftNums.get(e.id):void 0;return null==o?null:{label:i.length>1?"".concat(o).concat(s.getAlphabeticSuffix(t)):String(o),title:(null==e?void 0:e.title)||"Untitled Section",lhsIdx:n}}).filter(Boolean);return-1===L?n:e.__spreadArray([],n,!0).sort(function(e,n){return e.lhsIdx===L?-1:n.lhsIdx===L?1:0})},[v,h,D.selfIndex,D.title,K,z.leftNums,L]),Y=u.default.useMemo(function(){var e,n=null===(e=X[0])||void 0===e?void 0:e.label;if(!n)return null!=K?String(K):"";var i=X.length-1;return i>0?"".concat(n," + ").concat(i):n},[X,K]),G=u.default.useMemo(function(){return 0===X.length?"":X.map(function(e){return"".concat(e.label,": ").concat(e.title)}).join("\n")},[X]),J=A||T&&(O(k,g)||-1!==E&&O(k,E));return n.jsx(t.Box,e.__assign({ref:j(g),sx:{mb:1,width:"100%"}},{children:n.jsx(t.Box,e.__assign({ref:B.current[g],sx:e.__assign({width:"100%",display:"flex"},A&&F&&{borderRadius:"6px",outline:"2px solid ".concat(F.badgeBorder),outlineOffset:"1px"})},{children:n.jsxs(t.Box,e.__assign({sx:{position:"relative",width:"100%"}},{children:[n.jsx(r.default,{section:p,idx:g,columnKey:"right",colRef:j("right-accordion-".concat(g)),mb:0,parentNodeId:(null===(x=null==_?void 0:_.input_index_map)||void 0===x?void 0:x[1])||"",isExpanded:v?!!S["right-".concat(g)]:!!S[String(g)],onToggle:function(){C(),N(g,"right")},navigation:p.id?P[p.id]:null}),v&&V&&n.jsx(t.Tooltip,e.__assign({title:G?n.jsx(t.Box,e.__assign({sx:{whiteSpace:"pre-line"}},{children:n.jsx(t.Typography,e.__assign({component:"span",sx:{fontSize:"11px",lineHeight:1.5}},{children:G}))})):"",placement:"top",arrow:!0},{children:n.jsx(t.Box,e.__assign({ref:y.current[g],"data-section-id":D.id,onClick:function(e){var n,i,t;if(H){var o=b.enableDeviationSchemaBackwardCompatibility?null!==(n=D.evaluationResult)&&void 0!==n?n:null:null!==(t=null===(i=D.evaluationResult)||void 0===i?void 0:i[0])&&void 0!==t?t:null;w(e,String(g),H,o)}},sx:{position:"absolute",top:"18px",left:0,transform:"translateY(-50%) translateX(calc(-100% - 8px))",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:H?"4px":"0px",fontSize:"11px",bgcolor:V.badgeBg,color:V.badgeText,border:"1px solid ".concat(V.badgeBorder),borderRadius:H?"12px":"10px",px:H?1.2:1,py:.3,fontWeight:H?600:700,cursor:H?"pointer":"default",whiteSpace:"nowrap",zIndex:20,boxShadow:H?"0 1px 3px rgba(0,0,0,0.07)":"none"}},{children:H?n.jsxs(n.Fragment,{children:[n.jsxs(t.Box,e.__assign({component:"span",onClick:function(e){var n,i,t;e.stopPropagation();var o=b.enableDeviationSchemaBackwardCompatibility?null!==(n=D.evaluationResult)&&void 0!==n?n:null:null!==(t=null===(i=D.evaluationResult)||void 0===i?void 0:i[0])&&void 0!==t?t:null;w(e,String(g),H,o)},sx:{display:"inline-flex",alignItems:"center",gap:"4px",px:.2,cursor:"pointer",borderRight:"1px solid ".concat(V.badgeBorder),"&:hover":{bgcolor:"".concat(V.badgeBorder,"22")}}},{children:[null!=K&&n.jsx(t.Box,e.__assign({component:"span",sx:{fontSize:"11px",fontWeight:700,pr:.5,borderRight:"1px solid ".concat(V.badgeBorder)}},{children:K})),n.jsx(t.Box,e.__assign({component:"span",sx:{fontSize:"11px",px:.25}},{children:!b.isLoading||null!=D.evaluationResult&&void 0!==D.evaluationResult?V.label?"".concat(V.label):"100% Deviation":n.jsx(l.default,{color:V.badgeText})}))]})),n.jsxs(t.Box,e.__assign({component:"span",onClick:function(e){e.stopPropagation();var n=v?h.find(function(e){var n;return null===(n=e.refIndexes)||void 0===n?void 0:n.includes(D.selfIndex)})||{title:"",content:""}:h[g]||{title:"",content:""};R(e,n,H,D,g,V)},sx:{display:"inline-flex",alignItems:"center",px:.2,cursor:"pointer","&:hover":{bgcolor:"".concat(V.badgeBorder,"22")}}},{children:[n.jsx(o.EllipsisVertical,{size:11,color:V.badgeText}),J&&n.jsx(a.default,{locked:q,onToggle:M,color:V.badgeText,borderColor:V.badgeBorder,size:11})]}))]}):n.jsx(n.Fragment,{children:n.jsx(t.Box,e.__assign({component:"span",sx:{px:.2}},{children:Y}))})}))}))]}))}))}),"right-row-".concat(g))});exports.default=x;
2
+ //# sourceMappingURL=RHSSectionRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RHSSectionRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),o=require("react/jsx-runtime"),i=require("@mui/material");exports.default=function(r){var t=r.locked,s=r.onToggle,n=r.color,l=void 0===n?"#3730A3":n,c=r.borderColor,d=void 0===c?"#C7D2FE":c,a=r.size,u=void 0===a?12:a,x=t?function(i){var r=i.size,t=i.color;return o.jsxs("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-lock-icon lucide-lock"},{children:[o.jsx("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2"}),o.jsx("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}))}:function(i){var r=i.size,t=i.color;return o.jsxs("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-lock-open-icon lucide-lock-open"},{children:[o.jsx("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2"}),o.jsx("path",{d:"M7 11V7a5 5 0 0 1 9.9-1"})]}))};return o.jsx(i.Tooltip,e.__assign({title:t?"Unlock scroll":"Lock scroll",placement:"top"},{children:o.jsx(i.Box,e.__assign({component:"span",onClick:s,sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",px:.5,borderLeft:"1px solid ".concat(d),cursor:"pointer"}},{children:o.jsx(x,{size:u,color:l})}))}))};
2
+ //# sourceMappingURL=ScrollLockToggle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollLockToggle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("react/jsx-runtime"),i=require("react"),t=require("@mui/material"),o=require("lucide-react"),l=require("../hooks/memoizedMarkdown.js"),r=require("../CompareContext.js"),d=require("../CognitiveComparehelpers.js"),a=require("../CognitiveCompareConstants.js");function s(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var u=s(i);exports.default=function(s){var c,v,f,g,p,h,x,I,m,_,y,b,S,A,R,E=s.section,w=s.idx,M=s.columnKey,O=s.colRef,N=s.mb,T=void 0===N?1:N,D=s.isExpanded,j=s.onToggle,B=s.navigation,C=s.parentNodeId,F=void 0===C?"":C,k=r.useCompareContext(),P=k.showOpenNodeRef,V=k.resolvedMarkdownStyles,G=k.maintainRelativeOrder,W=k.showDeviationBadges,q=void 0!==W&&W,L=k.renderSubSectionAccordion,z=k.treeData,K=k.proposedSections,X=k.existingSections,H=k.deviationNumberRegistry,U=k.deviationParentRegistry,Y=k.getBadgeRef,J=k.openSummaryPopup,Q=k.getSectionCompareStyle,Z=k.connectedSections,$=k.openMoreFunctionsPopup,nn=k.isProposingFix,en=k.proposingFixNodeId,tn=k.isRedlineFlow,on=k.isSideBySide,ln=k.activeSideBySideSection,rn=k.scrollSyncLocked,dn=k.unifiedNumbering,an=k.toggleScrollSyncLocked,sn=k.summaryPopupAnchorEl,un="".concat(on?"1":"0","-").concat(String(null!=ln?ln:"")),cn=(null===(c=E.displayTitle)||void 0===c||c)&&d.hasValue(E.title),vn=!(!nn||!en||"left"!==M||E.id!==en&&E.nodeId!==en),fn=d.hasMeaningfulRedlineTags(E.content),gn="boolean"==typeof tn?tn:fn,pn=fn,hn=gn&&fn,xn=hn?d.stripRedlineTags(E.content):E.content,In=hn?E.content:void 0,mn=(null===(v=E.displayContent)||void 0===v||v||fn)&&d.hasValue(E.content),_n=!cn&&!mn,yn=E.title;cn||(yn=mn?"No Title Found":"No Matching Section Found");var bn="left"===M&&(E.isMultipleMapping||(null!==(g=null===(f=E.refContentIds)||void 0===f?void 0:f.length)&&void 0!==g?g:1)>1),Sn="left"===M&&yn.length>29?"".concat(yn.slice(0,29).trimEnd(),"..."):yn,An=E.evaluationResult;if(!An&&"right"===M)if(G){var Rn=null===(p=E.refIndexes)||void 0===p?void 0:p[0],En=K.find(function(n){return n.selfIndex===Rn});An=null==En?void 0:En.evaluationResult}else An=null===(h=K[w])||void 0===h?void 0:h.evaluationResult;var wn=null===(x=null==z?void 0:z.input_index_map)||void 0===x?void 0:x[0],Mn=null===(I=null==z?void 0:z.input_index_map)||void 0===I?void 0:I[1],On="left"===M?Mn:wn,Nn=function(n,e){var i;if(!e||!n)return null;for(var t=0,o=n;t<o.length;t++){var l=o[t];if(l.id===e||l.nodeId===e||l.contentId===e)return l;if(null===(i=l.subsections)||void 0===i?void 0:i.length){var r=Nn(l.subsections,e);if(r)return r}}return null},Tn="left"===M?E:Nn(K,E.id),Dn="right"===M?E:Nn(X,E.id),jn=u.default.useMemo(function(){if(!G)return 0;var n=1/0,e=function(n){var e=d.hasMeaningfulRedlineTags(n)?d.stripRedlineTags(n):n;return d.safeStringify(e||"").replace(/\\n/g,"\n")},i=function(t,o,l,r){if(t){var a=t.nodeId||t.id;if(r&&"right"===M){var s=K.filter(function(n){var e;return null===(e=n.refIndexes)||void 0===e?void 0:e.includes(t.selfIndex)});s.length>0&&(a=s[0].nodeId||s[0].id)}var u=t.nodeId||t.id||(null==o?void 0:o.nodeId)||(null==o?void 0:o.id)||(null==l?void 0:l.nodeId)||(null==l?void 0:l.id),c=t.evaluationResult||(null==o?void 0:o.evaluationResult)||(null==l?void 0:l.evaluationResult),v=(null==c?void 0:c.deviations)||{};Object.keys(v).forEach(function(i){var r,s=null===(r=v[i])||void 0===r?void 0:r[F];if(function(n,i){if("string"!=typeof i||d.isMissingStr(i))return!1;var t=e(null==n?void 0:n.content),o=e(i);return!!o&&t.includes(o)}("left"===M?o||t:l||t,s)){var c="".concat(a).concat(d.DEVIATION_BADGE_SEPARATOR).concat(i),f=null==H?void 0:H[c];null!=f&&f<n&&(n=f);var g="".concat(u).concat(d.DEVIATION_BADGE_SEPARATOR).concat(i),p=null==H?void 0:H[g];null!=p&&p<n&&(n=p)}});for(var f=t.subsections||[],g=(null==o?void 0:o.subsections)||[],p=(null==l?void 0:l.subsections)||[],h=Math.max(f.length,g.length,p.length),x=0;x<h;x++)i(f[x],g[x],p[x],!1)}},t="right"===M?K.filter(function(n){var e;return null===(e=n.refIndexes)||void 0===e?void 0:e.includes(E.selfIndex)}):[];if(1===t.length){var o=t[0];(o.refIndexes||[]).map(function(n){return X.find(function(e){return e.selfIndex===n})}).filter(Boolean).forEach(function(n){i(n,o,n,!0)})}else i(E,Tn,Dn,!0);return n!==1/0?n-1:0},[E,Tn,Dn,M,F,H,G,K,X]);if(G)if("left"===M){var Bn=null===(m=E.refIndexes)||void 0===m?void 0:m[0],Cn=X.findIndex(function(n){return n.selfIndex===Bn});Dn=-1!==Cn?X[Cn]:Nn(X,E.id)}else{var Fn=null===(_=E.refIndexes)||void 0===_?void 0:_[0],kn=K.findIndex(function(n){return n.selfIndex===Fn});Tn=-1!==kn?K[kn]:Nn(K,E.id)}var Pn="left"===M?!Dn:!Tn,Vn=G&&"right"===M&&d.hasSingleMappedLhsSection(E,K),Gn=An||(null==Tn?void 0:Tn.evaluationResult)||(null==Dn?void 0:Dn.evaluationResult),Wn=null!==(S=null===(b=null===(y=null==Gn?void 0:Gn.evaluation_outputs)||void 0===y?void 0:y.metadata)||void 0===b?void 0:b.label_color)&&void 0!==S?S:a.DEFAULT_DEVIAION_COLOR,qn=d.generateColorPalette(Wn).highlightBg,Ln=(null==Gn?void 0:Gn.deviations)||{},zn=u.default.useMemo(function(){return G&&"right"===M?d.getLhsDeviationDisplayIndexes(K,wn,H):new Map},[G,M,K,wn,H]),Kn=E.nodeId||E.id;if(G&&"left"!==M){var Xn=K.filter(function(n){var e;return null===(e=n.refIndexes)||void 0===e?void 0:e.includes(E.selfIndex)});Xn.length>0?Kn=Xn[0].nodeId||Xn[0].id:(null==Tn?void 0:Tn.id)&&(Kn=Tn.nodeId||Tn.id)}var Hn=u.default.useMemo(function(){var n,e=new Map;if(!G||"right"!==M)return e;var i=1,t=K.filter(function(n){var e;return null===(e=n.refIndexes)||void 0===e?void 0:e.includes(E.selfIndex)}),o=1===t.length&&1===(null===(n=t[0].refIndexes)||void 0===n?void 0:n.length),l=function(n){return d.safeStringify(n||"").replace(/\\n/g,"\n")},r=function(n,e){var i=e?t[0]:Nn(K,n.nodeId||n.id||n.contentId);return{lhsNode:i,evalResult:n.evaluationResult||(null==i?void 0:i.evaluationResult),registryNodeId:i?i.nodeId||i.id:n.nodeId||n.id}};if(o){var a=function(n,e){if(void 0===e&&(e=!1),n){var t=r(n,e),o=t.lhsNode,s=t.evalResult,u=t.registryNodeId,c=l(n.content);Object.entries((null==s?void 0:s.deviations)||{}).forEach(function(n){var e=n[0],t=n[1],r=t[F],a=l(r);if(!!o&&!d.isMissingStr(t[On])&&a&&c.includes(a)){var s="".concat(u).concat(d.DEVIATION_BADGE_SEPARATOR).concat(e),v=H[s];null!=v&&(i=Math.max(i,Math.max(1,v-(jn||0))+1))}}),(n.subsections||[]).forEach(function(n){return a(n)})}};a(E,!0)}var s=function(n,t){if(void 0===t&&(t=!1),n){var o=r(n,t),a=o.lhsNode,u=o.evalResult,c=o.registryNodeId,v=(null==u?void 0:u.deviations)||{},f=l(n.content);Object.entries(v).map(function(n){var e,i=n[0],t=n[1],o=t[F],r=!a||d.isMissingStr(t[On]),s=l(o),u=s?f.indexOf(s):-1,v="".concat(c).concat(d.DEVIATION_BADGE_SEPARATOR).concat(i);return{refId:v,isRenderable:r&&!!s&&!d.isMissingStr(o),position:u,registryIndex:null!==(e=H[v])&&void 0!==e?e:Number.MAX_SAFE_INTEGER}}).filter(function(n){return n.isRenderable}).sort(function(n,e){return(-1===n.position?Number.MAX_SAFE_INTEGER:n.position)-(-1===e.position?Number.MAX_SAFE_INTEGER:e.position)||n.registryIndex-e.registryIndex}).forEach(function(n){e.set(n.refId,i++)}),(n.subsections||[]).forEach(function(n){return s(n)})}};return s(E,!0),e},[G,M,E,K,F,On,H,jn]),Un=Object.keys(Ln)[0],Yn=Un?"".concat(Kn).concat(d.DEVIATION_BADGE_SEPARATOR).concat(Un):null,Jn=Yn?null==U?void 0:U[Yn]:null,Qn=w+1;if(G&&dn){var Zn="left"===M?dn.leftNums.get(null==E?void 0:E.id):dn.rightNums.get(null==E?void 0:E.id);Pn&&void 0!==Zn?Qn=Zn:null!=Jn&&Jn>=0?Qn=Jn:void 0!==Zn&&(Qn=Zn)}else null!=Jn&&Jn>=0&&(Qn=Jn);var $n=Object.entries(Ln).map(function(n){var e=n[0],i=n[1],t="".concat(Kn).concat(d.DEVIATION_BADGE_SEPARATOR).concat(e);return{deviationKey:e,deviationMap:i,refId:t,currentIndex:H[t]}}).filter(function(n){return void 0!==n.currentIndex&&null!==n.currentIndex});$n.sort(function(n,e){return n.currentIndex-e.currentIndex});var ne,ee,ie=$n.map(function(e){var i,t,o,l,r,a,s=e.deviationKey,u=e.deviationMap,c=e.refId,v=e.currentIndex,f=u[F],g=d.isMissingStr(f);if(g)f="";else if(!f)return null;var p=w,h=w;if(G)if("left"===M){var x=null===(i=E.refIndexes)||void 0===i?void 0:i[0],I=X.findIndex(function(n){return n.selfIndex===x});if(-1!==I)h=I;else{var m=X.findIndex(function(n){return n.id===E.id||n.nodeId===E.nodeId||n.contentId===E.contentId});h=-1!==m?m:w}}else{var _=null===(t=E.refIndexes)||void 0===t?void 0:t[0],y=K.findIndex(function(n){return n.selfIndex===_});if(-1!==y)p=y;else p=-1!==(j=K.findIndex(function(n){return n.id===E.id||n.nodeId===E.nodeId||n.contentId===E.contentId}))?j:w}var b="".concat(Kn).concat(d.DEVIATION_BADGE_SEPARATOR).concat(s).concat(d.DEVIATION_BADGE_SEPARATOR).concat(p).concat(d.DEVIATION_BADGE_SEPARATOR).concat(h),S=u[On],A=Pn||d.isMissingStr(S),R=Hn.get(c),O=zn.get(c);G&&"right"===M&&A&&void 0!==R?v=R:G&&"right"===M&&!A&&void 0!==O?v=O:G&&void 0!==jn&&("right"!==M||A||Vn)&&(v-=jn),v=Math.max(1,v);var N=G&&"right"===M&&A&&dn?d.getRhsMappedSectionNumber({section:E,proposedSections:K,leftNums:dn.leftNums,fallbackNumber:String(Qn),firstOnly:!0}):Qn,T="".concat(N,".").concat(v),D=w;if("right"===M&&G){var j,B=null===(o=E.refIndexes)||void 0===o?void 0:o[0],C=K.findIndex(function(n){return n.selfIndex===B});if(-1!==C)D=C;else-1!==(j=K.findIndex(function(n){return n.id===E.id||n.nodeId===E.nodeId||n.contentId===E.contentId}))&&(D=j)}var k=Q?Q(D):null,P=(null==u?void 0:u.evaluation_outputs)||(null==Gn?void 0:Gn.evaluation_outputs),V=null!==(l=null==P?void 0:P.output_value)&&void 0!==l?l:null,W=null!==(a=null===(r=null==P?void 0:P.metadata)||void 0===r?void 0:r.label_color)&&void 0!==a?a:Wn,q=d.generateColorPalette(W),L=k?n.__assign(n.__assign({},k),{badgeBg:q.badgeBg,badgeBorder:q.badgeBorder,badgeText:q.badgeText}):n.__assign({},q),z=(null==u?void 0:u.deviation_summary)?{deviation_summary:u.deviation_summary,deviation_title:(null==u?void 0:u.deviation_title)||(null==Gn?void 0:Gn.deviation_title),deviation_impact:(null==u?void 0:u.deviation_impact)||(null==Gn?void 0:Gn.deviation_impact),deviation_explanation:(null==u?void 0:u.deviation_explanation)||(null==Gn?void 0:Gn.deviation_explanation),evaluation_outputs:P,cognitive_decisioning:(null==u?void 0:u.cognitive_decisioning)||(null==Gn?void 0:Gn.cognitive_decisioning)}:null,H=0,U=xn||"";if(f&&U){var nn=U.split(/\n{2,}/),en=nn.findIndex(function(n){return n.includes(f)});if(-1!==en){var tn=Object.entries(Ln).filter(function(n){n[0];var e=n[1][F];return e&&nn[en].includes(e)}).sort(function(n,e){return nn[en].indexOf(n[1][F])-nn[en].indexOf(e[1][F])}),un=tn.filter(function(n){n[0];var e=n[1][F];return e&&(e.includes(f)||f.includes(e))});un.length>1&&(H=Math.max(0,un.findIndex(function(n){return n[0]===s})))}}var cn=Y(M,c);return{id:c,actionId:b,label:T,highlight:f,side:M,style:L,stackIndex:H,score:V,isConnected:null==Z?void 0:Z.has(b),showScrollLockToggle:(null==Z?void 0:Z.has(b))||on&&ln===b||!!sn&&sn===cn.current,scrollSyncLocked:rn,toggleScrollSyncLocked:an,isOrphan:A,isMissingClause:g,badgeRef:cn,onClick:function(n){n.stopPropagation(),$&&$(n,Tn||{id:"orphan-left",title:"",content:""},A,Dn||{id:"orphan-right",title:"",content:""},b,L)},onSummaryClick:function(n){n.stopPropagation(),J(n,b,A,z)}}}).filter(Boolean),te=q||!gn&&vn?ie:[],oe=ie.map(function(n){return n.highlight}).filter(Boolean),le=E.id&&M===(null==B?void 0:B.columnKey)?B:null,re=u.default.useRef(!1);return i.useEffect(function(){D||(re.current=!1)},[D]),e.jsxs(t.Box,n.__assign({ref:O,sx:{mb:T,width:"100%",display:"flex",flexDirection:"column",position:"relative",minWidth:0}},{children:[D&&(null==le?void 0:le.showAbove)&&e.jsx("div",n.__assign({style:{position:"sticky",top:0,height:"0px",cursor:"pointer"},onClick:function(){var n,e;return null===(e=null===(n=null==le?void 0:le.showAboveRef)||void 0===n?void 0:n.current)||void 0===e?void 0:e.scrollIntoView({behavior:"smooth",block:"center"})}},{children:e.jsx("div",n.__assign({style:n.__assign({transform:"translateY(-50%) translateX(calc(100% ".concat("left"===M?"+":"-"," 130px))"),position:"absolute",paddingTop:"20px"},"left"===M?{right:"-20px"}:{left:"-20px"})},{children:e.jsx(o.ChevronUp,{color:(null===(A=null==le?void 0:le.showAboveRef)||void 0===A?void 0:A.current)?window.getComputedStyle(le.showAboveRef.current).color:void 0})}))})),e.jsxs(t.Accordion,n.__assign({disableGutters:!0,expanded:!_n&&D,onChange:function(){_n||(j(),P.current=E.id)},sx:{boxShadow:"none",border:_n?"1px dashed #E2E8F0":"1px solid #E2E8F0",bgcolor:_n?"#FAFAFA":"#FFFFFF",borderRadius:"6px",flexGrow:1,width:"100%",display:"flex",flexDirection:"column",minWidth:0,"&:before":{display:"none"},"& .MuiAccordion-heading":{position:"sticky",top:-12,zIndex:10,background:"#fff"}}},{children:[e.jsx(t.AccordionSummary,n.__assign({expandIcon:_n?null:e.jsx(o.ChevronDown,{size:16}),sx:{minHeight:"36px",flexShrink:0,cursor:_n?"default":"pointer","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"},"& .MuiAccordionSummary-expandIconWrapper":{transition:"transform 0.2s ease"},"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"}}},{children:cn&&e.jsx(t.Tooltip,n.__assign({title:yn,placement:"top"},{children:e.jsx(t.Typography,n.__assign({component:"div",sx:{fontSize:"12px",color:_n?"#94A3B8":"#19213D",fontWeight:_n?400:700,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0}},{children:(ne=Sn,ee=bn,void 0===ee&&(ee=!1),ne?d.safeStringify(ne).replace(/\\n/g,"\n").split(/(\*\*.*?\*\*)/g).map(function(i,t){return i.startsWith("**")&&i.endsWith("**")?e.jsx("strong",{children:i.slice(2,-2)},t):e.jsxs("div",n.__assign({style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"8px",width:"100%"}},{children:[e.jsx("span",n.__assign({style:{minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{children:i})),ee&&e.jsx("span",n.__assign({style:{display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0px 6px",borderRadius:"9999px",background:"#F3F4F6",border:"1px solid #D1D5DB",color:"#6B7280",fontSize:"9px",fontWeight:500,whiteSpace:"nowrap",flexShrink:0,lineHeight:1.4,marginRight:"4px"}},{children:"Multiple"}))]}),t)}):null)}))}))})),!_n&&e.jsxs(t.AccordionDetails,n.__assign({sx:{pt:0,pb:1.25,bgcolor:"#FFFFFF",flex:1,display:"flex",flexDirection:"column",minWidth:0}},{children:[mn&&e.jsx(l.MemoizedMarkdown,{content:xn,overlayContent:In,sxStyles:V,highlights:oe,maintainRelativeOrder:G,highlightBg:qn,suppressHighlightBg:pn,deviationBadges:te,collisionKey:un}),(E.subsections||[]).map(function(n,e){return L({section:n,keyPath:"".concat(w,"-").concat(e),depth:0,columnKey:M,parentNodeId:F,sectionOffset:jn,rhsOrphanVisualIndexes:Hn})})]}))]})),D&&(null==le?void 0:le.showBelow)&&e.jsx("div",n.__assign({style:{position:"sticky",bottom:0,height:"0px",cursor:"pointer"},onClick:function(){var n,e;return null===(e=null===(n=null==le?void 0:le.showBelowRef)||void 0===n?void 0:n.current)||void 0===e?void 0:e.scrollIntoView({behavior:"smooth",block:"center"})}},{children:e.jsx("div",n.__assign({style:n.__assign({transform:"translateY(-50%) translateX(calc(100% ".concat("left"===M?"+":"-"," 130px))"),position:"absolute",paddingBottom:"20px"},"left"===M?{right:"-20px"}:{left:"-20px"})},{children:e.jsx(o.ChevronDown,{color:(null===(R=null==le?void 0:le.showBelowRef)||void 0===R?void 0:R.current)?window.getComputedStyle(le.showBelowRef.current).color:void 0})}))}))]}),"".concat(M,"-sec-").concat(w))};
2
+ //# sourceMappingURL=SectionAccordion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionAccordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("react/jsx-runtime"),i=require("react"),t=require("@mui/material"),o=require("lucide-react"),l=require("../hooks/memoizedMarkdown.js"),d=require("../CompareContext.js"),r=require("../CognitiveComparehelpers.js"),a=require("../CognitiveCompareConstants.js");function s(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var u=s(i).default.memo(function(s){var c,v,f,g,p,h,_,m,x,S,I=s.section,y=s.keyPath,b=s.depth,O=void 0===b?0:b,A=s.columnKey,E=void 0===A?"left":A,M=s.parentNodeId,R=void 0===M?"":M,P=s.sectionOffset,k=s.rhsOrphanVisualIndexes,B=d.useCompareContext(),C=B.expandedSubSections,N=B.setExpandedSubSections,j=B.maintainRelativeOrder,w=B.showDeviationBadges,F=void 0!==w&&w,D=B.proposedSections,T=B.existingSections,V=B.treeData,L=B.deviationNumberRegistry,q=B.deviationParentRegistry,G=B.connectedSections,K=B.activeSideBySideSection,W=B.isSideBySide,z=B.scrollSyncLocked,H=B.toggleScrollSyncLocked,U=B.summaryPopupAnchorEl,X=B.resolvedMarkdownStyles,J=B.getSubSectionRef,Q=B.getSubSectionCompareStyle,Y=B.getBadgeRef,Z=B.openMoreFunctionsPopup,$=B.openSummaryPopup,nn=B.resetSideBySide,en=B.setConnectedSections,tn=B.setConnectedLines,on=B.cachedConnectedPositions,ln=B.isProposingFix,dn=B.proposingFixNodeId,rn=B.isRedlineFlow,an=B.unifiedNumbering,sn=null!=K?K:"",un=(null===(c=I.displayTitle)||void 0===c||c)&&r.hasValue(I.title),cn=!(!ln||!dn||"left"!==E||I.id!==dn&&I.nodeId!==dn),vn=r.hasMeaningfulRedlineTags(I.content),fn="boolean"==typeof rn?rn:vn,gn=vn,pn=fn&&vn,hn=pn?r.stripRedlineTags(I.content):I.content,_n=pn?I.content:void 0,mn=(null===(v=I.displayContent)||void 0===v||v||vn)&&r.hasValue(I.content),xn=!un&&!mn,Sn=un?I.title:mn?"No Title Found":"No Matching Section Found",In=!!C[y],yn=J(E,y),bn=y.split("-").map(Number)[0],On=D[bn],An=T[bn],En=bn,Mn=bn,Rn=!1,Pn=function(n,e,i){if(!n||!e)return null;if(n.id===e||n.nodeId===e||n.contentId===e)return{section:n,keyPath:i};for(var t=(n.subsections||[]).map(function(n,e){return{section:n,keyPath:"".concat(i,"-").concat(e)}}),o=function(){var n=t.shift();return(null==n?void 0:n.section)?n.section.id===e||n.section.nodeId===e||n.section.contentId===e?{value:n}:void(n.section.subsections||[]).forEach(function(e,i){t.push({section:e,keyPath:"".concat(n.keyPath,"-").concat(i)})}):"continue"};t.length>0;){var l=o();if("object"==typeof l)return l.value}return null};if(j)if("left"===E){var kn=null===(f=null==On?void 0:On.refIndexes)||void 0===f?void 0:f[0],Bn=T.findIndex(function(n){return n.selfIndex===kn});-1!==Bn?(An=T[Bn],Mn=Bn):Rn=!0}else{var Cn=null===(g=null==An?void 0:An.refIndexes)||void 0===g?void 0:g[0],Nn=D.findIndex(function(n){return n.selfIndex===Cn});-1!==Nn?(On=D[Nn],En=Nn):Rn=!0}var jn=function(n,e){if(!e||!n)return null;for(var i=0;i<n.length;i++){var t=Pn(n[i],e,String(i));if(t)return t}return null},wn=null,Fn=null,Dn="",Tn="";if(j)"left"===E?(wn=I,Dn=y,(Vn=Pn(An,I.nodeId||I.id,String(Mn)))||(Vn=jn(T,I.nodeId||I.id)),Fn=(null==Vn?void 0:Vn.section)||null,Tn=(null==Vn?void 0:Vn.keyPath)||""):(Fn=I,Tn=y,(Ln=Pn(On,I.nodeId||I.id,String(En)))||(Ln=jn(D,I.nodeId||I.id)),wn=(null==Ln?void 0:Ln.section)||null,Dn=(null==Ln?void 0:Ln.keyPath)||"");else if("left"===E){wn=I,Dn=y;var Vn=jn(T,I.nodeId||I.id);Fn=(null==Vn?void 0:Vn.section)||null,Tn=(null==Vn?void 0:Vn.keyPath)||""}else{Fn=I,Tn=y;var Ln=jn(D,I.nodeId||I.id);wn=(null==Ln?void 0:Ln.section)||null,Dn=(null==Ln?void 0:Ln.keyPath)||""}var qn=(Dn?Q(Dn):null)||Q(y),Gn=null===(p=null==V?void 0:V.input_index_map)||void 0===p?void 0:p[0],Kn=null===(h=null==V?void 0:V.input_index_map)||void 0===h?void 0:h[1],Wn="left"===E?Kn:Gn,zn="left"===E?!Fn:!wn,Hn=j&&"right"===E&&r.hasSingleMappedLhsSection(An,D),Un=I.evaluationResult||(null==wn?void 0:wn.evaluationResult)||(null==Fn?void 0:Fn.evaluationResult),Xn=(null==Un?void 0:Un.deviations)||{},Jn=i.useMemo(function(){return j&&"right"===E?r.getLhsDeviationDisplayIndexes(D,Gn,L):new Map},[j,E,D,Gn,L]),Qn=I.nodeId||I.id||(null==wn?void 0:wn.nodeId)||(null==wn?void 0:wn.id)||(null==Fn?void 0:Fn.nodeId)||(null==Fn?void 0:Fn.id);j&&"left"!==E&&(null==wn?void 0:wn.id)&&(Qn=wn.nodeId||wn.id);var Yn=Object.keys(Xn)[0],Zn=Yn?"".concat(Qn).concat(r.DEVIATION_BADGE_SEPARATOR).concat(Yn):null,$n=Zn?null==q?void 0:q[Zn]:null,ne=bn+1;if(j&&an){var ee="left"===E?an.leftNums.get(null==On?void 0:On.id):an.rightNums.get(null==An?void 0:An.id);Rn&&void 0!==ee?ne=ee:null!=$n&&$n>=0?ne=$n:void 0!==ee&&(ne=ee)}else null!=$n&&$n>=0&&(ne=$n);var ie=null!==(x=null===(m=null===(_=null==Un?void 0:Un.evaluation_outputs)||void 0===_?void 0:_.metadata)||void 0===m?void 0:m.label_color)&&void 0!==x?x:a.DEFAULT_DEVIAION_COLOR,te=r.generateColorPalette(ie).highlightBg,oe=Object.entries(Xn).map(function(n){var e=n[0],i=n[1],t="".concat(Qn).concat(r.DEVIATION_BADGE_SEPARATOR).concat(e);return{deviationKey:e,deviationMap:i,refId:t,currentIndex:L[t]}}).filter(function(n){return void 0!==n.currentIndex&&null!==n.currentIndex});oe.sort(function(n,e){return n.currentIndex-e.currentIndex});var le=new Map;if(!k&&j&&"right"===E){var de=r.safeStringify(hn||"").replace(/\\n/g,"\n");oe.filter(function(n){var e=n.deviationMap,i=e[R];return(zn||r.isMissingStr(e[Wn]))&&!!i&&!r.isMissingStr(i)}).map(function(e){var i=r.safeStringify(e.deviationMap[R]||"").replace(/\\n/g,"\n"),t=i?de.indexOf(i):-1;return n.__assign(n.__assign({},e),{position:t})}).sort(function(n,e){return(-1===n.position?Number.MAX_SAFE_INTEGER:n.position)-(-1===e.position?Number.MAX_SAFE_INTEGER:e.position)||n.currentIndex-e.currentIndex}).forEach(function(n,e){le.set(n.refId,e+1)})}var re=oe.map(function(e){var i,t,o,l,d=e.deviationKey,a=e.deviationMap,s=e.refId,u=e.currentIndex,c=a[R],v=r.isMissingStr(c);if(v)c="";else if(!c)return null;var f=a[Wn],g=zn||r.isMissingStr(f),p=null!==(i=null==k?void 0:k.get(s))&&void 0!==i?i:le.get(s),h=Jn.get(s);j&&"right"===E&&g&&void 0!==p?u=p:j&&"right"===E&&!g&&void 0!==h?u=h:j&&void 0!==P&&("right"!==E||g||Hn)&&(u-=P),u=Math.max(1,u);var _=j&&"right"===E&&g&&an?r.getRhsMappedSectionNumber({section:An,proposedSections:D,leftNums:an.leftNums,fallbackNumber:String(ne),firstOnly:!0}):ne,m="".concat(_,".").concat(u),x="".concat(Qn).concat(r.DEVIATION_BADGE_SEPARATOR).concat(d).concat(r.DEVIATION_BADGE_SEPARATOR).concat(Dn).concat(r.DEVIATION_BADGE_SEPARATOR).concat(Tn),S=(null==a?void 0:a.evaluation_outputs)||(null==Un?void 0:Un.evaluation_outputs),I=null!==(t=null==S?void 0:S.output_value)&&void 0!==t?t:null,y=null!==(l=null===(o=null==S?void 0:S.metadata)||void 0===o?void 0:o.label_color)&&void 0!==l?l:ie,b=r.generateColorPalette(y),O=n.__assign({},b),A=(null==a?void 0:a.deviation_summary)?{deviation_summary:a.deviation_summary||(null==Un?void 0:Un.deviation_summary),deviation_title:(null==a?void 0:a.deviation_title)||(null==Un?void 0:Un.deviation_title),deviation_impact:(null==a?void 0:a.deviation_impact)||(null==Un?void 0:Un.deviation_impact),deviation_explanation:(null==a?void 0:a.deviation_explanation)||(null==Un?void 0:Un.deviation_explanation),evaluation_outputs:S,cognitive_decisioning:(null==a?void 0:a.cognitive_decisioning)||(null==Un?void 0:Un.cognitive_decisioning)}:null,M=0,B=hn||"";if(c&&B){var C=B.split(/\n{2,}/),N=C.findIndex(function(n){return n.includes(c)});if(-1!==N){var w=Object.entries(Xn).filter(function(n){n[0];var e=n[1][R];return e&&C[N].includes(e)}).sort(function(n,e){return C[N].indexOf(n[1][R])-C[N].indexOf(e[1][R])}),F=w.filter(function(n){n[0];var e=n[1][R];return e&&(e.includes(c)||c.includes(e))});F.length>1&&(M=Math.max(0,F.findIndex(function(n){return n[0]===d})))}}var T=Y(E,s);return{id:s,actionId:x,label:m,highlight:c,side:E,style:O,stackIndex:M,score:I,isConnected:G.has(x),showScrollLockToggle:G.has(x)||W&&K===x||!!U&&U===T.current,scrollSyncLocked:z,toggleScrollSyncLocked:H,isOrphan:g,isMissingClause:v,badgeRef:T,onClick:function(e){e.stopPropagation();var i=wn?n.__assign(n.__assign({},wn),{title:(null==On?void 0:On.title)||(null==wn?void 0:wn.title)||""}):{id:"orphan-left",title:"",content:""},t=Fn?n.__assign(n.__assign({},Fn),{title:(null==An?void 0:An.title)||(null==Fn?void 0:Fn.title)||""}):{id:"orphan-right",title:"",content:""};Z(e,i,g,t,x,O)},onSummaryClick:function(n){n.stopPropagation(),$(n,x,g,A)}}}).filter(Boolean).sort(function(n,e){return parseFloat(n.label)-parseFloat(e.label)}),ae=i.useMemo(function(){var n=new Set;return re.filter(function(e){return!n.has(e.id)&&(n.add(e.id),!0)})},[re]),se=F||!fn&&cn?ae:[],ue=ae.map(function(n){return n.highlight}).filter(Boolean),ce=re.find(function(n){return G.has(n.actionId)}),ve=!!ce;if(!(un||mn||I.subsections&&0!==I.subsections.length))return null;var fe=(null===(S=null==ce?void 0:ce.style)||void 0===S?void 0:S.badgeBorder)||(null==qn?void 0:qn.badgeBorder),ge=ve&&fe?{borderRadius:"4px",outline:"2px solid ".concat(fe),outlineOffset:"1px"}:{};return un?e.jsx(t.Box,n.__assign({ref:yn,sx:{mt:1,width:"100%",minWidth:0,position:"relative"}},{children:e.jsx(t.Box,n.__assign({sx:n.__assign({width:"100%"},ge)},{children:e.jsxs(t.Accordion,n.__assign({disableGutters:!0,expanded:!xn&&In,onChange:function(){if(!xn){if(In){var e=String(K||""),i=e.includes(Dn)||e.includes(Tn);i||G.forEach(function(n){(String(n).includes(Dn)||String(n).includes(Tn))&&(i=!0)}),i&&(nn(),en(new Set),tn([]),on.current=[])}N(function(e){var i;return n.__assign(n.__assign({},e),((i={})[y]=!e[y],i))})}},sx:{mt:0,boxShadow:"none",border:xn?"1px dashed #E2E8F0":"1px solid #EEF2F7",borderRadius:"4px !important",bgcolor:"#FFFFFF",minWidth:0,"&:before":{display:"none"}}},{children:[e.jsx(t.AccordionSummary,n.__assign({expandIcon:xn?null:e.jsx(o.ChevronDown,{size:14}),sx:{minHeight:"32px","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"}}},{children:e.jsx(t.Typography,n.__assign({component:"div",sx:{fontSize:"11px",fontWeight:600,color:xn?"#94A3B8":"#19213D",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0}},{children:Sn||"Untitled Subsection"}))})),!xn&&e.jsxs(t.AccordionDetails,n.__assign({sx:{pt:0,pb:1,minWidth:0}},{children:[mn&&e.jsx(l.MemoizedMarkdown,{content:hn,overlayContent:_n,sxStyles:X,deviationBadges:se,maintainRelativeOrder:j,highlightBg:te,suppressHighlightBg:gn,highlights:ue,collisionKey:sn}),(I.subsections||[]).map(function(n,i){return e.jsx(u,{section:n,keyPath:"".concat(y,"-").concat(i),depth:O+1,columnKey:E,parentNodeId:R,sectionOffset:P,rhsOrphanVisualIndexes:k},"".concat(y,"-").concat(i))})]}))]}))}))})):e.jsx(t.Box,n.__assign({ref:yn,sx:{mt:0===O?1:.75,width:"100%",minWidth:0,position:"relative"}},{children:!xn&&e.jsxs(t.Box,n.__assign({sx:n.__assign({width:"100%"},ge)},{children:[mn&&e.jsx(l.MemoizedMarkdown,{content:hn,overlayContent:_n,sxStyles:X,deviationBadges:se,maintainRelativeOrder:j,highlightBg:te,suppressHighlightBg:gn,highlights:ue,collisionKey:sn}),(I.subsections||[]).map(function(n,i){return e.jsx(u,{section:n,keyPath:"".concat(y,"-").concat(i),depth:O+1,columnKey:E,parentNodeId:R,sectionOffset:P,rhsOrphanVisualIndexes:k},"".concat(y,"-").concat(i))})]}))}))});exports.default=u;
2
+ //# sourceMappingURL=SubSectionAccordion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubSectionAccordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),t=require("lucide-react"),n=require("../../../assests/svg/ButtonCognitiveIcon.js"),o=require("../CognitiveComparehelpers.js"),s=require("../CognitiveCompareConstants.js"),l=require("./ThreeDotsLoader.js"),a=require("./connectedLines.js"),r=require("@mui/material");exports.default=function(c){var d=c.svgContainerRef,u=c.svgDimensions,g=c.isResizing,p=c.overallConnector,v=c.rootDeviationStyle,x=c.lines,h=c.isSideBySide,y=c.activeSideBySideSection,b=c.isArrowVisible,f=c.maintainRelativeOrder,_=c.proposedSections,S=c.existingSections,m=c.cognitivePopup,j=c.activeBadgeId,C=c.closeCognitivePopup,B=c.setActiveBadgeId,I=c.openCognitivePopupFromState,A=c.buildSectionPopupState,R=c.connectedLines,P=c.pathRefs,D=c.isGuidelineMode,w=e.__spreadArray([],x,!0).sort(function(e,i){return Number(Boolean(i.isMappingContinuation))-Number(Boolean(e.isMappingContinuation))});return i.jsxs("svg",e.__assign({ref:d,style:{position:"absolute",top:0,left:0,width:u.width||"100%",height:u.height||"100%",pointerEvents:"none",zIndex:10,overflow:"visible",opacity:g?0:1,transition:"opacity 0.15s ease-in-out"}},{children:[p&&i.jsx("g",{children:i.jsx("line",{x1:p.x1,y1:p.y,x2:p.x2,y2:p.y,stroke:v.badgeBorder,strokeWidth:"1.5"})}),w.map(function(a){var c,d,u,g,p,v,x,R=a.x1+.5*(a.x2-a.x1),P=(a.y1+a.y2)/2,D=R;if("Not Defined"===a.style.label&&!a.hasCognitive)return null;if(a.isSubSection?h&&y===a.subSectionKeyPath&&b:h&&y===a.sectionIdx&&b)return null;if(f)return null;var w=a.isMappingContinuation?"M ".concat(D," ").concat(a.y1," L ").concat(D," ").concat(a.y2," L ").concat(a.x2," ").concat(a.y2):a.isSubSection?o.getBentArrowPath(a.x1,a.y1,a.x2,a.y2):"M ".concat(a.x1," ").concat(a.y1," L ").concat(a.x2," ").concat(a.y2),E=_[a.sectionIdx]||{title:"",content:""},O=S[null!==(c=a.targetRightIdx)&&void 0!==c?c:a.sectionIdx]||{title:"",content:""};if(a.isSubSection&&a.subSectionKeyPath){var M=a.subSectionKeyPath.includes(o.DEVIATION_BADGE_SEPARATOR)?a.subSectionKeyPath.split(o.DEVIATION_BADGE_SEPARATOR):[],T=M[2]||a.subSectionKeyPath,q=M[3]||T,L=T.split("-").map(Number),N=q.split("-").map(Number),k=null,K=null;L.length>0&&(k=_[L[0]]||null),N.length>0&&(K=S[N[0]]||null);for(var z=(null==k?void 0:k.title)||"",G=(null==K?void 0:K.title)||"",V=1;V<L.length;V+=1)(null==k?void 0:k.subsections)&&(k=k.subsections[L[V]]||null);for(V=1;V<N.length;V+=1)(null==K?void 0:K.subsections)&&(K=K.subsections[N[V]]||null);k&&(E=e.__assign(e.__assign({},k),{title:z||k.title})),K&&(O=e.__assign(e.__assign({},K),{title:G||K.title}))}var F=!(null===(d=E.cognitiveData)||void 0===d?void 0:d.isMissingRationale)||Boolean(null===(g=null===(u=E.cognitiveData)||void 0===u?void 0:u.decisioning)||void 0===g?void 0:g.length),W=(null===(x=null===(v=null===(p=E.evaluationResult)||void 0===p?void 0:p.cognitive_decisioning)||void 0===v?void 0:v.decisioning_factors)||void 0===x?void 0:x.length)||!1,U=F||W;return i.jsxs("g",{children:[i.jsx("path",{d:w,fill:"none",stroke:a.style.badgeBorder||"#E2E8F0",strokeWidth:"1.5"}),!a.isMappingContinuation&&i.jsx("foreignObject",e.__assign({x:R-100,y:P-14,width:"200",height:"28",style:{pointerEvents:"auto",overflow:"visible"}},{children:i.jsx(r.Box,e.__assign({sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}},{children:i.jsxs(r.Box,e.__assign({onClick:function(e){e.stopPropagation(),U&&(m.open&&j===a.id?C():(B(a.id),I(A(e.currentTarget,E,O,a.sectionIdx,!1,a.style))))},sx:{display:"inline-flex",alignItems:"center",gap:"4px",fontSize:"11px",bgcolor:a.style.badgeBg,color:a.style.badgeText,border:"1px solid ".concat(a.style.badgeBorder),borderRadius:"12px",px:1.5,py:.5,fontWeight:600,textAlign:"center",whiteSpace:"nowrap",cursor:U?"pointer":"default"}},{children:[a.style.badgeText===s.DEFAULT_DEVIAION_COLOR&&null==a.style.label?i.jsx(l.default,{color:a.style.badgeText}):null==a.style.label?null:"0"===String(a.style.label)?"Same":a.style.label,i.jsx(r.Box,e.__assign({component:"span",sx:{width:14,height:14,display:"flex",alignItems:"center","& svg":{width:"14px",height:"14px"}}},{children:i.jsx(n.ButtonCognitiveIcon,{})})),U&&i.jsx(t.ChevronDown,{size:11,style:{transform:m.open&&j===a.id?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}))}))}))]},a.id)}),i.jsx(a.default,{maintainRelativeOrder:f,connectedLines:R,pathRefs:P,isGuidelineMode:D})]}))};
2
+ //# sourceMappingURL=SvgConnectors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SvgConnectors.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("@mui/material");exports.default=function(i){var o=i.size,a=void 0===o?6:o,s=i.color,n=void 0===s?"text.secondary":s,c=i.gap,u=void 0===c?.5:c;return t.jsx(r.Box,e.__assign({sx:{display:"flex",gap:u,alignItems:"center"}},{children:[0,.16,.32].map(function(e,i){return t.jsx(r.Box,{sx:{width:a,height:a,bgcolor:n,borderRadius:"50%",animation:"threeDotsBounce 1.4s infinite ease-in-out both",animationDelay:"".concat(e,"s"),"@keyframes threeDotsBounce":{"0%, 80%, 100%":{transform:"scale(0)",opacity:.3},"40%":{transform:"scale(1)",opacity:1}}}},i)})}))};
2
+ //# sourceMappingURL=ThreeDotsLoader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThreeDotsLoader.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("@mui/material"),n=require("./ScrollLockToggle.js"),r=require("../CompareContext.js");exports.default=function(o){var s=o.connectedLines,l=o.pathRefs,d=o.maintainRelativeOrder,a=r.useCompareContext(),c=a.scrollSyncLocked,u=a.toggleScrollSyncLocked,f=a.isGuidelineMode;return t.jsxs(t.Fragment,{children:[s.map(function(i){var n,r,o,s=i.pathD,d=(null===(n=i.style)||void 0===n?void 0:n.badgeBorder)||"#6366F1",a="conn-marker-".concat(i.id),c="".concat(i.id,"-bg"),u="".concat(i.id,"-stroke"),x="".concat(i.id,"-number");return t.jsxs("g",{children:[t.jsx("defs",{children:t.jsx("clipPath",e.__assign({id:"connections-clip"},{children:t.jsx("marker",e.__assign({id:a,markerWidth:"8",markerHeight:"6",refX:"7",refY:"3",orient:"auto"},{children:t.jsx("polygon",{points:"0 0, 8 3, 0 6",fill:d})}))}))}),t.jsx("path",{ref:function(e){l.current[c]=e},d:s,fill:"none",stroke:"#FFFFFF",strokeWidth:"4",strokeOpacity:"0.7"}),t.jsx("path",{ref:function(e){l.current[u]=e},d:s,fill:"none",stroke:d,strokeWidth:"1.75",markerEnd:"url(#".concat(a,")")}),f&&i.matchLabel&&t.jsxs("g",e.__assign({ref:function(e){l.current[x]=e},transform:"translate(".concat(i.x2-42,", ").concat(i.y2,")"),style:{pointerEvents:"none",transition:"visibility 0ms"}},{children:[t.jsx("rect",{x:"-22",y:"-8",width:"44",height:"16",rx:"4",fill:"#FFFFFF"}),t.jsx("rect",{x:"-21",y:"-7",width:"42",height:"14",rx:"3",fill:(null===(r=i.style)||void 0===r?void 0:r.badgeBg)||"#FEF08A",stroke:d,strokeWidth:"1"}),t.jsx("text",e.__assign({x:"0",y:"3.5",fontSize:"9px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',fill:(null===(o=i.style)||void 0===o?void 0:o.badgeText)||d,textAnchor:"middle"},{children:i.matchLabel}))]}))]},i.id)}),t.jsxs("g",{children:[t.jsxs("g",e.__assign({style:{transition:"visibility 0ms"}},{children:[t.jsx("path",{ref:function(e){return l.current["guideline-up-stroke"]=e},fill:"none",strokeWidth:"1.75",visibility:"hidden"}),t.jsxs("g",e.__assign({ref:function(e){return l.current["guideline-up-badge"]=e},visibility:"hidden"},{children:[t.jsx("polygon",{ref:function(e){return l.current["guideline-up-arrow"]=e},points:"-4,0 0,-6 4,0"}),t.jsx("rect",{ref:function(e){return l.current["guideline-up-badge-rect"]=e},x:"-12",y:"3",width:"24",height:"15",rx:"4",fill:"#FFFFFF",strokeWidth:"1"}),t.jsx("text",{ref:function(e){return l.current["guideline-up-text"]=e},x:"0",y:"14",fontSize:"10px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',textAnchor:"middle"})]}))]})),t.jsxs("g",e.__assign({style:{transition:"visibility 0ms"}},{children:[t.jsx("path",{ref:function(e){return l.current["guideline-down-stroke"]=e},fill:"none",strokeWidth:"1.75",visibility:"hidden"}),t.jsxs("g",e.__assign({ref:function(e){return l.current["guideline-down-badge"]=e},visibility:"hidden"},{children:[t.jsx("polygon",{ref:function(e){return l.current["guideline-down-arrow"]=e},points:"-4,0 0,6 4,0"}),t.jsx("rect",{ref:function(e){return l.current["guideline-down-badge-rect"]=e},x:"-12",y:"-18",width:"24",height:"15",rx:"4",fill:"#FFFFFF",strokeWidth:"1"}),t.jsx("text",{ref:function(e){return l.current["guideline-down-text"]=e},x:"0",y:"-7",fontSize:"10px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',textAnchor:"middle"})]}))]}))]}),d&&!f&&s.map(function(r){var o,s;if(void 0===r.x1)return null;var d=(null===(o=r.style)||void 0===o?void 0:o.badgeBorder)||"#6366F1",a="".concat(r.id,"-btn"),f=r.x1+40,x=void 0!==r.y1?r.y1:0;return t.jsx("foreignObject",e.__assign({ref:function(e){l.current[a]=e},x:f-12,y:x-12,width:"24",height:"24",style:{pointerEvents:"auto",overflow:"visible"}},{children:t.jsx(i.Box,e.__assign({onClick:function(e){e.stopPropagation(),u&&u(e)},sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",bgcolor:"#FFFFFF",borderRadius:"50%",border:"1px solid ".concat(d),cursor:"pointer",transition:"transform 0.2s ease","&:hover":{transform:"scale(1.05)",boxShadow:"0px 2px 4px rgba(0,0,0,0.1)"}}},{children:t.jsx(n.default,{locked:c,onToggle:u,color:(null===(s=r.style)||void 0===s?void 0:s.badgeText)||d,borderColor:"transparent",size:12})}))}),"".concat(r.id,"-lock"))})]})};
2
+ //# sourceMappingURL=connectedLines.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectedLines.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("react/jsx-runtime"),t=require("@mui/material"),i=require("react"),r=require("../CognitiveCompareConstants.js"),o=require("lucide-react"),a=require("react-markdown"),s=require("../CognitiveComparehelpers.js"),l=require("rehype-raw"),d=require("remark-gfm");function c(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var u=c(i),h=c(a),g=c(l),p=function(n){return"function"==typeof n?n:(null==n?void 0:n.default)||n},f=[p(c(d).default)],v=[p(g.default)],x=u.default.memo(function(a){var l=a.content,d=a.overlayContent,c=a.sxStyles,g=a.deviationBadges,p=void 0===g?[]:g,x=a.highlights,m=void 0===x?[]:x;a.maintainRelativeOrder;var _=a.highlightBg,b=a.suppressHighlightBg,y=void 0!==b&&b,B=a.collisionKey,E=i.useRef(null),j=!!d,w=i.useMemo(function(){return p.reduce(function(e,t){var i;return n.__assign(n.__assign({},e),((i={})[t.id]=t,i))},{})},[p]),k=i.useRef({badgeMap:w,highlightBg:_,hideHighlightBg:j,suppressHighlightBg:y});k.current={badgeMap:w,highlightBg:_,hideHighlightBg:j,suppressHighlightBg:y};var C=function(e,t){return u.default.Children.map(e,function(e){var i;if(!u.default.isValidElement(e))return e;var r=(null===(i=e.props)||void 0===i?void 0:i.children)?C(e.props.children,t):e.props.children,o=u.default.cloneElement(e,n.__assign(n.__assign({},e.props),{children:r}));return t(o)})},S=i.useMemo(function(){return{mark:function(t){var i,r,o,a,s=t.children,l=n.__rest(t,["children"]),d=k.current,c=d.badgeMap,u=d.highlightBg,h=d.hideHighlightBg,g=d.suppressHighlightBg,p=l["data-badge-id"],f=p?c[p]:null,v=l["data-highlight-color"],x=null!==(a=null!==(r=null!=v?v:null===(i=null==f?void 0:f.style)||void 0===i?void 0:i.highlightBg)&&void 0!==r?r:null===(o=null==f?void 0:f.style)||void 0===o?void 0:o.badgeBg)&&void 0!==a?a:u,m="true"===l["data-is-suggested-deviation-fix"]||g;return e.jsx("span",n.__assign({style:n.__assign(n.__assign(n.__assign({},m?{}:{backgroundColor:x}),{borderRadius:"2px",display:"inline",boxDecorationBreak:"clone",WebkitBoxDecorationBreak:"clone",backgroundClip:"padding-box",padding:"0 1px"}),h?{color:"transparent"}:{})},{children:s}))},span:function(i){var a,s,l,d,c,u,h=i.children,g=n.__rest(i,["children"]),p=k.current.badgeMap,f=g["data-badge-id"];if(!f)return e.jsx("span",n.__assign({},g,{children:h}));var v=p[f];if(!v)return e.jsx("span",n.__assign({},g,{children:h}));var x="number"==typeof v.stackIndex?v.stackIndex:0,m="translateY(calc(-20% + ".concat(12*x,"px + var(--badge-nudge, 0px)))");return e.jsxs(t.Box,n.__assign({component:"span",sx:{position:"static",display:"inline"}},{children:[e.jsxs(t.Box,n.__assign({ref:v.badgeRef,className:"deviation-badge","data-side":v.side||"right",sx:n.__assign(n.__assign({fontStyle:"normal",position:"absolute",zIndex:30+x,display:"inline-flex",alignItems:"stretch",fontSize:"10px",bgcolor:(null===(a=v.style)||void 0===a?void 0:a.badgeBg)||"#EEF2FF",color:(null===(s=v.style)||void 0===s?void 0:s.badgeText)||r.DEFAULT_DEVIAION_COLOR,border:"1px solid ".concat((null===(l=v.style)||void 0===l?void 0:l.badgeBorder)||"#C7D2FE"),borderRadius:"12px",fontWeight:600,whiteSpace:"nowrap",boxShadow:"0 1px 3px rgba(0,0,0,0.07)",overflow:"hidden",transition:"none"},"left"===v.side?{right:"-16px",transform:"".concat(m," translateX(calc(100% + 8px))")}:{left:"-16px",transform:"".concat(m," translateX(calc(-100% - 8px))")}),v.isConnected&&v.style&&{outline:"2px solid ".concat(v.style.badgeBorder),outlineOffset:"1px"})},{children:[e.jsxs(t.Box,n.__assign({onClick:function(n){n.stopPropagation(),v.onSummaryClick&&v.onSummaryClick(n)},sx:{display:"flex",alignItems:"center",px:1,py:.3,cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.04)"}}},{children:[e.jsx(t.Box,n.__assign({component:"span",sx:{fontSize:"10px",fontWeight:700}},{children:v.label})),("left"===v.side||v.isOrphan)&&e.jsx(t.Box,n.__assign({component:"span",sx:{fontSize:"10px",pl:.5,ml:.5,borderLeft:"1px solid ".concat((null===(d=v.style)||void 0===d?void 0:d.badgeBorder)||"#C7D2FE")}},{children:null!=v.score&&"N/A"!==v.score&&"NA"!==v.score&&0!==v.score?"".concat(v.score):"N/A"===v.score||"NA"===v.score?"N/A":"Same"}))]})),("left"===v.side||v.isOrphan)&&e.jsx(t.Box,n.__assign({onClick:function(n){n.stopPropagation(),v.onClick&&v.onClick(n)},sx:{display:"flex",alignItems:"center",px:.5,borderLeft:"1px solid ".concat((null===(c=v.style)||void 0===c?void 0:c.badgeBorder)||"#C7D2FE"),cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.06)"}}},{children:e.jsx(o.EllipsisVertical,{size:12,color:(null===(u=v.style)||void 0===u?void 0:u.badgeText)||"#3730A3"})}))]})),h]}))},table:function(i){var r=i.children;return e.jsx(t.Box,n.__assign({sx:{display:"block",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",contain:"inline-size",overflowX:"auto",overflowY:"hidden",overscrollBehaviorX:"contain",WebkitOverflowScrolling:"touch",my:1}},{children:e.jsx(t.Box,n.__assign({component:"table",sx:{width:"600px",minWidth:"600px",tableLayout:"fixed",borderCollapse:"collapse",fontSize:"inherit"}},{children:r}))}))},thead:function(i){var r=i.children;return e.jsx(t.Box,n.__assign({component:"thead"},{children:r}))},tbody:function(i){var r=i.children;return e.jsx(t.Box,n.__assign({component:"tbody"},{children:r}))},tr:function(i){var r=i.children;return e.jsx(t.Box,n.__assign({component:"tr",sx:{borderBottom:"1px solid #E5E7EB"}},{children:r}))},th:function(i){var r=i.children;return e.jsx(t.Box,n.__assign({component:"th",sx:{border:"1px solid #E5E7EB",padding:"8px",textAlign:"left",verticalAlign:"top",fontWeight:600,backgroundColor:"#F9FAFB",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"}},{children:r}))},td:function(i){var r=i.children;return e.jsx(t.Box,n.__assign({component:"td",sx:{border:"1px solid #E5E7EB",padding:"8px",verticalAlign:"top",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"}},{children:r}))},code:function(t){var i=t.children;return e.jsx("span",n.__assign({style:{fontFamily:"inherit",fontSize:"inherit"}},{children:i}))},pre:function(t){var i=t.children;return e.jsx("span",n.__assign({style:{fontFamily:"inherit",fontSize:"inherit",display:"block",whiteSpace:"pre-wrap"}},{children:i}))},updated:function(n){var t=n.children;return e.jsx(e.Fragment,{children:t})},deleted:function(t){var i=t.children,r=C(i,function(n){return u.default.cloneElement(n,{"data-is-suggested-deviation-fix":"true"})});return e.jsx("span",n.__assign({style:{boxShadow:"inset 0 1px 0 #EF4444, inset 0 -1px 0 #EF4444",backgroundColor:"#FCCCCC",textDecoration:"line-through"}},{children:r}))},changed:function(t){var i=t.children,r=C(i,function(n){return u.default.cloneElement(n,{"data-is-suggested-deviation-fix":"true"})});return e.jsx("span",n.__assign({style:{boxShadow:"inset 0 1px 0 #2F59FF, inset 0 -1px 0 #2F59FF",backgroundColor:"#D5E8FF"}},{children:r}))},ul:function(i){var r=i.children,o=n.__rest(i,["children"]);return e.jsx(t.Box,n.__assign({component:"ul",sx:{mt:1,mb:1,pl:3,listStyleType:"disc"}},o,{children:r}))},ol:function(i){var r=i.children,o=n.__rest(i,["children"]);return e.jsx(t.Box,n.__assign({component:"ol",sx:{mt:1,mb:1,pl:3,listStyleType:"decimal"}},o,{children:r}))},li:function(i){var r=i.children,o=n.__rest(i,["children"]);return e.jsx(t.Box,n.__assign({component:"li",sx:{mb:.5,display:"list-item"}},o,{children:r}))}}},[]),F=function(n){if(!n||"string"!=typeof n)return"";var e=n,t=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/((?:<\/?[a-z]+[^>]*>\s*)+)([*+\-] |\d+\. )/gi,"$2$1")).replace(/\\(['"])/g,"$1").replace(/\\n/g,"\n").replace(/\\\./g,".").replace(/\r\n/g,"\n")).replace(/^(\d+\.)(\s{2,})/gm,function(n,e,t){return"".concat(e.slice(0,-1),"\\.").concat(t)})).replace(/^(\d+\.)\s*\n+(\s+)(\S)/gm,function(n,e,t,i){return"".concat(e," ").concat(i)})).replace(/([^\n])\n(#{1,6} )/g,"$1\n\n$2")).replace(/([^\n])\n([ \t]*(?:[#*+\-] |\d+\. ))/g,"$1\n\n$2")).replace(/\n{3,}/g,"\n\n")).replace(/^[ \t]+(?![ \t]*([\*\-\+] |\d+\. ))/gm,function(n){return n.replace(/ /g," ").replace(/\t/g,"    ")})).split(/(\n{2,})/);return(e=t.map(function(n){return/^\n+$/.test(n)||/\|.*\|/.test(n)&&/\|[\s:|-]+\|/.test(n)||/^#{1,6} /.test(n.trimStart())?n:n.replace(/\n(?=[^\n])/g,function(e,t){var i=n.slice(t+1);return/^[ \t]*([#>|\-*+]|\d+\.)/.test(i)?"\n":" "})}).join("")).trim()},z=function(n){return n.replace(/[\.,;:]/g," ")},A=i.useMemo(function(){return p.map(function(n){return{id:n.id,connected:n.isConnected,stackIndex:n.stackIndex,size:n.size}})},[p]),M=i.useMemo(function(){var e=F(l||""),t=y?z(e):e,i=(p||[]).map(function(n){var e,t;return{id:null==n?void 0:n.id,highlight:F((null==n?void 0:n.highlight)||""),highlightColor:(null===(e=null==n?void 0:n.style)||void 0===e?void 0:e.highlightBg)||(null===(t=null==n?void 0:n.style)||void 0===t?void 0:t.badgeBg)||_}}).filter(function(n){return n.id&&n.highlight}),r={};i.forEach(function(n){r[n.highlight]||(r[n.highlight]=[]),r[n.highlight].push(n)});var o=function(n,e,t,i){void 0===e&&(e=""),void 0===i&&(i=[]);var r=!1,o=function(n){var o=function(n,e,t){var i,r,o;void 0===e&&(e="");var a=n.match(/^(\s*)([\s\S]*?)(\s*)$/);if(!a)return n;var s=null!==(i=a[1])&&void 0!==i?i:"",l=null!==(r=a[2])&&void 0!==r?r:"",d=null!==(o=a[3])&&void 0!==o?o:"";return l?s+function(n,e){void 0===n&&(n="");var t=e?' data-highlight-color="'.concat(e,'"'):"",i=n?' data-badge-id="'.concat(n,'"'):"";return"<mark".concat(i).concat(t,">")}(e,t)+l+"</mark>"+d:n}(n,e,t),a=o;if(!r&&i.length>0){r=!0;var s="",l="";i.forEach(function(n){s+=function(n){return'<span data-badge-id="'.concat(n,'">')}(n.id),l="</span>"+l}),a=s+o+l}return"​"+a};return n.split(/(\n+)/).map(function(n){return/^\n+$/.test(n)?n:n.trim()?""===n.replace(/[|:\-\s]/g,"")&&n.includes("-")?n:n.includes("|")?n.split(/(\|)/).map(function(n){return"|"!==n&&n.trim()?o(n):n}).join(""):o(n):n}).join("")},a=[];Object.entries(r).forEach(function(n){var i=n[0],r=n[1],o=e.indexOf(i),l=!1;if(-1===o&&y){var d=z(i);-1!==(o=t.indexOf(d))&&(l=!0)}if(-1!==o){for(var c=r[0].highlightColor,u=1;u<r.length;u++)c=s.mixHexColors(c,r[u].highlightColor||"");a.push({highlight:i,start:o,end:o+i.length,badges:r,color:c,usedLooseMatch:l})}});var d=new Set(Object.keys(r));(m||[]).forEach(function(n){if(n){var i=F(n);if(i&&!d.has(i)){var r=e.indexOf(i),o=!1;if(-1===r&&y){var s=z(i);-1!==(r=t.indexOf(s))&&(o=!0)}if(-1!==r){var l=e.slice(0,r);(l.match(/</g)||[]).length===(l.match(/>/g)||[]).length&&a.push({highlight:i,start:r,end:r+i.length,badges:[],color:_||"",usedLooseMatch:o})}}}}),a.sort(function(n,e){return n.start-e.start||e.end-n.end});var c=[],u={};a.forEach(function(n,e){for(var t=n.start,i=n.end,r=0,o=c;r<o.length;r++){var a=o[r],s=a.start,l=a.end,d=t<l&&i>l&&t>=s,h=t<s&&i>s&&i<=l;if(t>=s&&i<=l){n.orphaned=!0,u[e]=a.matchIdx;break}d&&(t=l),h&&(i=s)}n.trimmedStart=t,n.trimmedEnd=i,!n.orphaned&&t<i&&c.push({start:t,end:i,matchIdx:e})});var h={};Object.entries(u).forEach(function(n){var e=n[0],t=n[1],i=Number(e);h[t]||(h[t]=[]),h[t].push(i)});var g=a.map(function(e,t){return n.__assign(n.__assign({},e),{idx:t})}).filter(function(n){return!n.orphaned}).sort(function(n,e){var t,i;return(null!==(t=e.trimmedStart)&&void 0!==t?t:e.start)-(null!==(i=n.trimmedStart)&&void 0!==i?i:n.start)});return g.forEach(function(n){var t,i,r,l,d=null!==(t=n.trimmedStart)&&void 0!==t?t:n.start,c=null!==(i=n.trimmedEnd)&&void 0!==i?i:n.end;if(!(d>=c)){var u=e.slice(d,c),g=function(n,e,t,i){if(!t.length)return n;var r=t.map(function(n){return a[n]}).sort(function(n,e){return n.start-e.start}),l="",d=0;return r.forEach(function(t){var r,a,c=Math.max(d,t.start-e),u=Math.max(c,t.end-e);if(!(c>=u)){var h=s.mixHexColors(i,t.color||"");l+=n.slice(d,c),l+=o(n.slice(c,u),(null===(a=null===(r=t.badges)||void 0===r?void 0:r[0])||void 0===a?void 0:a.id)||"",h,t.badges||[]),d=u}}),l+=n.slice(d)}(n.usedLooseMatch||d!==n.start||c!==n.end?u:n.highlight,n.start,h[n.idx]||[],n.color),p=o(g,(null===(l=null===(r=n.badges)||void 0===r?void 0:r[0])||void 0===l?void 0:l.id)||"",n.color,n.badges||[]);e=e.slice(0,d)+p+e.slice(c)}}),e},[l,p,m,_,y]),T=i.useMemo(function(){return d?F(d||""):""},[d]),O=!!d,W={"& *":{fontFamily:"inherit"},"& code, & pre, & kbd, & samp":{fontFamily:"inherit !important",fontSize:"inherit",background:"none",padding:0,border:"none",whiteSpace:"pre-wrap"},"& p, & li, & ul, & ol":{position:"static",overflow:"visible",whiteSpace:"pre-wrap"}},q=n.__assign(n.__assign(n.__assign(n.__assign({},c),W),{position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:2}),O?{color:"transparent",userSelect:"none",pointerEvents:"none","& .deviation-badge":{pointerEvents:"auto"},"& table":{visibility:"hidden",margin:"0 !important"},"& th, & td":{padding:"0 !important",border:"none !important",backgroundColor:"transparent !important"},"& tr":{border:"none !important"},"& p:empty":{display:"none"}}:{}),I=n.__assign(n.__assign(n.__assign({},c),W),{position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:1,pointerEvents:"auto"});return i.useLayoutEffect(function(){if(E.current){var n=function(){var n=Array.from(E.current.querySelectorAll(".deviation-badge"));if(0!==n.length){n.forEach(function(n){n.style.setProperty("--badge-nudge","0px")});var e=n.filter(function(n){return"left"===n.dataset.side}),t=n.filter(function(n){return"left"!==n.dataset.side}),i=E.current.getBoundingClientRect(),r=i.bottom-4,o=i.top+4,a=function(n){if(0!==n.length){var e=n.map(function(n){var e=n.getBoundingClientRect();return{el:n,naturalTop:e.top,height:e.height,currentTop:e.top}});e.sort(function(n,e){return n.naturalTop-e.naturalTop});var t=[],i=[];e.forEach(function(n){if(0===i.length)i.push(n);else{var e=i[i.length-1],r=e.currentTop+e.height;n.naturalTop<r+8?(n.currentTop=r+8,i.push(n)):(t.push(i),i=[n])}}),i.length>0&&t.push(i),t.forEach(function(n){var e=n[n.length-1],t=e.currentTop+e.height;if(t>r){var i=t-r,a=n[0].currentTop-o,s=Math.max(0,Math.min(i,a));n.forEach(function(n){n.currentTop-=s})}}),t.flat().forEach(function(n){var e=n.currentTop-n.naturalTop;n.el.style.setProperty("--badge-nudge","".concat(e,"px"))})}};a(e),a(t)}},e=requestAnimationFrame(function(){requestAnimationFrame(function(){n()})}),t=new ResizeObserver(function(){requestAnimationFrame(n)});return t.observe(E.current),function(){t.disconnect(),cancelAnimationFrame(e)}}},[M,B,A]),e.jsxs(t.Box,n.__assign({ref:E,sx:{position:"relative",display:"grid",gridTemplateColumns:"minmax(0, 1fr)",width:"100%",maxWidth:"100%",minWidth:0}},{children:[e.jsx(t.Typography,n.__assign({component:"div",sx:n.__assign(n.__assign({},q),{padding:"3px"})},{children:e.jsx(h.default,n.__assign({components:S,remarkPlugins:f,rehypePlugins:v},{children:M.replace(/#{3}/g,"")}))})),O&&e.jsx(t.Typography,n.__assign({component:"div",sx:I},{children:e.jsx(h.default,n.__assign({components:S,remarkPlugins:f,rehypePlugins:v},{children:T}))}))]}))},s.areMarkdownPropsEqual);exports.MemoizedMarkdown=x;
2
+ //# sourceMappingURL=memoizedMarkdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memoizedMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react"),t=require("../CognitiveComparehelpers.js");exports.useAccordionState=function(i){var r=i.maintainRelativeOrder,c=i.proposedSections,o=i.existingSections,u=i.activeSideBySideSection,s=i.connectedSections,a=i.resetSideBySide,l=i.setConnectedSections,d=i.setConnectedLines,f=i.cachedConnectedPositions,v=i.svgContainerRef,S=i.isAnimatingRef,g=i.animationTimerRef,p=i.calculateLinesRef,x=i.sectionLeftRefs,_=i.sectionRightRefs,h=i.subSectionLeftRefs,A=i.subSectionRightRefs,E=n.useState({}),R=E[0],I=E[1],m=n.useState({}),y=m[0],T=m[1],b=function(e){S.current=!0,g.current&&clearTimeout(g.current),v.current&&(v.current.style.opacity="0"),g.current=setTimeout(function(){S.current=!1,p.current(),v.current&&(v.current.style.opacity="1")},e)},O=n.useCallback(function(n){if(n&&"string"==typeof n&&n.includes(t.DEVIATION_BADGE_SEPARATOR)){var i=n.split(t.DEVIATION_BADGE_SEPARATOR),c=i[2],o=i[3],u=c?Number(c.split("-")[0]):-1,s=o?Number(o.split("-")[0]):-1;I(function(n){var t,i=e.__assign({},n),c=!1;-1!==u&&(i[t=r?"left-".concat(u):String(u)]||(i[t]=!0,c=!0));-1!==s&&(i[t=r?"right-".concat(s):String(s)]||(i[t]=!0,c=!0));return c?i:n}),T(function(n){var t=e.__assign({},n),i=!1,r=function(e){if(e)for(var n=e.split("-"),r=n[0],c=1;c<n.length;c++)r+="-".concat(n[c]),t[r]||(t[r]=!0,i=!0)};return r(c),r(o),i?t:n})}},[r,I,T]);return{expandedSections:R,setExpandedSections:I,expandedSubSections:y,setExpandedSubSections:T,handleSubSectionToggle:function(n){var t,i,r=null===(t=h.current[n])||void 0===t?void 0:t.current,c=null===(i=A.current[n])||void 0===i?void 0:i.current;r&&(r.style.minHeight="0px"),c&&(c.style.minHeight="0px"),b(450),T(function(t){var i;return e.__assign(e.__assign({},t),((i={})[n]=!t[n],i))})},toggleSection:function(n,i){var v,S,g=null===(v=x.current[n])||void 0===v?void 0:v.current,p=null===(S=_.current[n])||void 0===S?void 0:S.current;g&&(g.style.minHeight="0px"),p&&(p.style.minHeight="0px"),b(650);var h=r?"".concat(i,"-").concat(n):String(n);if(!!R[h]){var A=new Set([String(n)]);if(r)if("left"===i){var E=c[n];((null==E?void 0:E.refIndexes)||[]).forEach(function(e){var n=o.findIndex(function(n){return n.selfIndex===e});-1!==n&&A.add(String(n))})}else{var m=o[n];c.forEach(function(e,n){var t;(null===(t=e.refIndexes)||void 0===t?void 0:t.includes(null==m?void 0:m.selfIndex))&&A.add(String(n))})}var y=function(e){var n,i;if(null===e)return!1;var r=String(e),c=r.split("-")[0];if(A.has(c))return!0;if(r.includes(t.DEVIATION_BADGE_SEPARATOR)){var o=r.split(t.DEVIATION_BADGE_SEPARATOR),u=null===(n=o[2])||void 0===n?void 0:n.split("-")[0],s=null===(i=o[3])||void 0===i?void 0:i.split("-")[0];if(u&&A.has(u))return!0;if(s&&A.has(s))return!0}return!1},T=y(u),O=Array.from(s).some(function(e){return y(e)});(T||O)&&(a(),l(new Set),d([]),f.current=[])}I(function(t){var u=e.__assign({},t),s=!t[h];if(!r)return u[String(n)]=s,u;if(u[h]=s,"left"===i){((null==(a=c[n])?void 0:a.refIndexes)||[]).forEach(function(e){var n=o.findIndex(function(n){return n.selfIndex===e});-1!==n&&(u["right-".concat(n)]=s)})}else{var a,l=null==(a=o[n])?void 0:a.selfIndex;c.forEach(function(e,n){var t;(null===(t=e.refIndexes)||void 0===t?void 0:t.includes(l))&&(u["left-".concat(n)]=s)})}return u})},forceExpandCrossWiredSections:O}};
2
+ //# sourceMappingURL=useAccordionState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAccordionState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),e=require("react"),t=require("../CognitiveComparehelpers.js"),i=require("../utils/buildComparisonRows.js"),o={id:"",title:"",similarity:0,sections:[]};exports.useCognitiveTreeData=function(r,a,s,d,l,u){var v,c;void 0===l&&(l=!0);var f="string"==typeof s?s:JSON.stringify(s||{}),p=Boolean(u&&(u.learnings_data||(null===(c=null===(v=u.data)||void 0===v?void 0:v.artifactData)||void 0===c?void 0:c.userStorySnapshot))),_=e.useMemo(function(){if(!r||0===Object.keys(r).length)return{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:"Tree data is required"};var e=JSON.parse(f);try{var o=r.nodes||r,s=[],d=[],v=[],c=r.base_root_id,_=r.input_index_map||{0:"left",1:"right"},I=r[c]||o[c];if(!I||!1===I.display_node)return{activeProposed:{title:"No Data",sections:[]},activeVariants:[],comparisonRows:[],parseError:null};var g=r.content_mapping||{},h=function(n){return r[n]||o[n]},m=function(e,i,o){if(!e||"object"!=typeof e)return e||null;if(e.deviations)return e;if(l)return e;var r=Object.keys(e).filter(function(n){return/^\d+$/.test(n)});if(!r.length)return e;var a=r.sort(function(n,e){return Number(n)-Number(e)}),s={},d={},u=null;return a.forEach(function(n){var r,a,l,v,c,f,p=e[n];if(p&&"object"==typeof p){u||(u=p);var I=!(null==p?void 0:p.status)||"pending"===p.status,g=(null==p?void 0:p.deviation_highlight)||(null===(a=null==p?void 0:p.web_search_answer)||void 0===a?void 0:a.deviation_highlight),h=function(n){var e,t=(null===(e=null==p?void 0:p.cognitive_decisioning)||void 0===e?void 0:e.citations)||(null==p?void 0:p.citations)||{};return Object.values(t).map(function(e){var t;return null===(t=null==e?void 0:e[n])||void 0===t?void 0:t.highlighted_text}).filter(function(n){return"string"==typeof n&&n.trim().length>0})},m=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];for(var i=0,o=n;i<o.length;i++){var r=o[i];if(Array.isArray(r)&&r.some(function(n){return!t.isMissingStr(n)}))return r}return[]},y=I?m((null===(l=null==p?void 0:p.deviation_highlights)||void 0===l?void 0:l[i])||(null===(v=null==p?void 0:p.deviation_highlights)||void 0===v?void 0:v[_[0]]),"string"==typeof g?[g]:[],h(i),h(_[0])):[],b=I?m((null===(c=null==p?void 0:p.deviation_highlights)||void 0===c?void 0:c[o])||(null===(f=null==p?void 0:p.deviation_highlights)||void 0===f?void 0:f[_[1]]),h(o),h(_[1])):[];s[n]=((r={})[_[0]]=y[0]||"",r[_[1]]=b[0]||"",r.deviation_summary=(null==p?void 0:p.deviation_summary)||"",r.deviation_title=null==p?void 0:p.deviation_title,r.deviation_impact=null==p?void 0:p.deviation_impact,r.deviation_explanation=null==p?void 0:p.deviation_explanation,r.evaluation_outputs=null==p?void 0:p.evaluation_outputs,r.cognitive_decisioning=null==p?void 0:p.cognitive_decisioning,r.deviation_highlights=null==p?void 0:p.deviation_highlights,r),d[n]=p}}),n.__assign(n.__assign({},e),{deviation_title:(null==u?void 0:u.deviation_title)||(null==e?void 0:e.deviation_title),deviation_impact:(null==u?void 0:u.deviation_impact)||(null==e?void 0:e.deviation_impact),deviation_summary:(null==u?void 0:u.deviation_summary)||(null==e?void 0:e.deviation_summary),deviation_explanation:(null==u?void 0:u.deviation_explanation)||(null==e?void 0:e.deviation_explanation),evaluation_outputs:(null==u?void 0:u.evaluation_outputs)||(null==e?void 0:e.evaluation_outputs),cognitive_decisioning:(null==u?void 0:u.cognitive_decisioning)||(null==e?void 0:e.cognitive_decisioning),deviations:s,deviation_entries:d})},y=function(n){var e=new Map,t=function(n){n.forEach(function(n){var i;n.id&&e.set(n.id,n),(null===(i=n.subsections)||void 0===i?void 0:i.length)&&t(n.subsections)})};t(n);var i=function(n,t){for(var o,r=[],a=function(n){var a=n.ref_parent_section_node_id;if(a&&e.has(a)&&a!==(null==t?void 0:t.id)){var s=e.get(a);s.subsections||(s.subsections=[]),s.subsections.some(function(e){return e.id===n.id})||s.subsections.push(n)}else(null===(o=n.subsections)||void 0===o?void 0:o.length)&&(n.subsections=i(n.subsections,n)),r.push(n)},s=0,d=n;s<d.length;s++){a(d[s])}return r},o=i(n),r=function(n){n.forEach(function(n){n.subsections&&n.subsections.length>0&&(n.subsections.sort(function(n,e){return n.selfIndex<0&&e.selfIndex>=0?1:n.selfIndex>=0&&e.selfIndex<0?-1:(n.selfIndex||0)-(e.selfIndex||0)}),r(n.subsections))})};return r(o),o},b=function(n){var e=n.comparison_inputs?Object.keys(n.comparison_inputs):[],t=_[0],i=_[1];return e.length>0&&(t=e.includes(_[0])?_[0]:e[0],i=e.includes(_[1])?_[1]:e.length>1?e[1]:e[0]),{nodeLeftId:t,nodeRightId:i}},x=function(e,i,o,r){var a=i.attributes||{},s=i.data||{},d=!1!==a.display_title,l=!1!==a.display_content,u=d?t.safeStringify(s.title||""):"",v=l?t.safeStringify(s.content||""):"",c=l?t.safeStringify(s.change_history||""):"",f=void 0!==a.display_index&&null!==a.display_index?Number(a.display_index):-1,p=function(n){return(null==n?void 0:n.entity_id)||(null==n?void 0:n.ref_parent_section_node_id)||(null==n?void 0:n.parent_entity_id)||null}(a),_=!(!u.trim()&&!v.trim());return n.__assign(n.__assign({id:"".concat(e,"::").concat(i.contentId),nodeId:e,contentId:i.contentId,parentContentId:p,title:u,content:v,change_history:c,displayTitle:d,displayContent:l,subsections:[]},_?r:{score:void 0,relation:"not_defined"}),{evaluationResult:o,evaluationResults:o?[o]:[],selfIndex:f,refIndexes:[],refContentIds:[],ref_parent_section_node_id:p})},R=function(e,t){e.refIndexes=Array.from(new Set(n.__spreadArray(n.__spreadArray([],e.refIndexes||[],!0),t.refIndexes||[],!0))),e.refContentIds=Array.from(new Set(n.__spreadArray(n.__spreadArray([],e.refContentIds||[],!0),t.refContentIds||[],!0)));var i=new Set((e.subsections||[]).map(function(n){return n.id||n.contentId||n.nodeId}));(t.subsections||[]).forEach(function(t){var o=t.id||t.contentId||t.nodeId;i.has(o)||(e.subsections=n.__spreadArray(n.__spreadArray([],e.subsections||[],!0),[t],!1),i.add(o))});var o=n.__spreadArray(n.__spreadArray([],e.evaluationResults||(e.evaluationResult?[e.evaluationResult]:[]),!0),t.evaluationResults||(t.evaluationResult?[t.evaluationResult]:[]),!0).filter(Boolean),r=new Set;return e.evaluationResults=o.filter(function(n){var e=(null==n?void 0:n.nodeId)||JSON.stringify(Object.keys((null==n?void 0:n.deviations)||n||{}));return!r.has(e)&&(r.add(e),!0)}),!e.evaluationResult&&t.evaluationResult&&(e.evaluationResult=t.evaluationResult),!e.cognitiveData&&t.cognitiveData&&(e.cognitiveData=t.cognitiveData),e},C=function(n,e){return n.selfIndex<0&&e.selfIndex>=0?1:n.selfIndex>=0&&e.selfIndex<0?-1:n.selfIndex-e.selfIndex},S=function(i,o){var r,a=h(i);if(!a||!1===a.display_node)return[];if(p&&"1"===o)return[];var s=b(a),d=s.nodeLeftId,l=s.nodeRightId,u=t.getRationale(a),v=(null===(r=null==e?void 0:e[i])||void 0===r?void 0:r.evaluation_result)||a.evaluation_result||null,c=m(v,d,l),f=c&&"object"==typeof c?n.__assign(n.__assign({},c),{nodeId:i}):c,I=t.resolveComparisonInputItems(a,o,_,g).map(function(n){return x(i,n,f,u)});if(a.next){var y=Object.values(a.next).flatMap(function(n){return S(n,o)});I.forEach(function(n){var e=y.filter(function(e){return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId});n.subsections=e.length?e:y})}return I};if(a){var E=function(i,o){var r;void 0===o&&(o=0);var a=[],s=[];if(!i)return{refSections:a,baseSections:s};var d={},l={},u=-1,v=-1,c=function(a){var s=i[a],c=h(s);if(!c||!1===c.display_node)return"continue";var f=b(c),I=f.nodeLeftId,y=f.nodeRightId,C=t.getRationale(c),S=(null===(r=null==e?void 0:e[s])||void 0===r?void 0:r.evaluation_result)||c.evaluation_result||null,O=m(S,I,y),j=O&&"object"==typeof O?n.__assign(n.__assign({},O),{nodeId:s}):O,N=E(c.next,o+1),w=N.refSections,A=N.baseSections,D=t.resolveComparisonInputItems(c,"0",_,g).map(function(n){var e=x(s,n,j,C);return-1===e.selfIndex&&(e.selfIndex=v--),e}),k=[];if(!p){var M=t.resolveComparisonInputItems(c,"1",_,g);k=M.map(function(n){var e=x(s,n,j,C);return-1===e.selfIndex&&(e.selfIndex=u--),e})}D.forEach(function(n){k.forEach(function(e){var t,i,o,r,a,s,d,l;Number(e.selfIndex)>=0&&Number(n.selfIndex)>=0&&((null===(t=e.refIndexes)||void 0===t?void 0:t.includes(Number(n.selfIndex)))||null===(i=e.refIndexes)||void 0===i||i.push(Number(n.selfIndex)),(null===(o=n.refIndexes)||void 0===o?void 0:o.includes(Number(e.selfIndex)))||null===(r=n.refIndexes)||void 0===r||r.push(Number(e.selfIndex))),n.contentId&&!(null===(a=e.refContentIds)||void 0===a?void 0:a.includes(n.contentId))&&(null===(s=e.refContentIds)||void 0===s||s.push(n.contentId)),e.contentId&&!(null===(d=n.refContentIds)||void 0===d?void 0:d.includes(e.contentId))&&(null===(l=n.refContentIds)||void 0===l||l.push(e.contentId))})}),k.forEach(function(n){var e=w.filter(function(e){var t;return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId||(null===(t=n.refContentIds)||void 0===t?void 0:t.includes(e.parentContentId))});e.length>0&&(n.subsections=e);var t=0===o?String(n.selfIndex):"".concat(n.selfIndex,"_").concat(n.contentId||s);d[t]=d[t]?R(d[t],n):n}),D.forEach(function(n){var e=A.filter(function(e){var t;return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId||(null===(t=n.refContentIds)||void 0===t?void 0:t.includes(e.parentContentId))});e.length>0&&(n.subsections=e);var t=0===o?String(n.selfIndex):"".concat(n.selfIndex,"_").concat(n.contentId||s);l[t]=l[t]?R(l[t],n):n})};for(var f in i)c(f);return a=Object.values(d),s=Object.values(l),a.sort(C),s.sort(C),{refSections:a,baseSections:s}},O=E(I.next),j=O.refSections,N=O.baseSections;p||(d=y(j)),s=N}else I.next&&Object.values(I.next).forEach(function(n){var e=h(n);if(e&&!1!==e.display_node){var t=S(n,"0");if(p)s.push.apply(s,t);else{var o=y(S(n,"1"));v.push.apply(v,i.buildComparisonRows(n,t,o))}}}),p||(s=v.map(function(n){return n.left}),d=v.map(function(n){return n.right}));var w=t.getSideData(I,"0",_,g),A=t.getSideData(I,"1",_,g),D={title:w.title||"Uploaded Contract",description:I.decision_scope_description||"",sections:s},k={id:"tree-variant-1",title:p?function(){var n,e;if((null==u?void 0:u.learnings_data)&&Object.keys(u.learnings_data).length>0){var t=Object.keys(u.learnings_data)[0];return(null===(n=u.learnings_data[t])||void 0===n?void 0:n.title)||"Rulebook Guidelines"}return(null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.artifactTitle)||"Rulebook Guidelines"}():A.title||"Reference Template",similarity:0,sections:d,analysis:{rule_difference_comparison:{summary:{overall_score:0,overall_summary:I.decision_scope_description||""},fields:{}}}};return{activeProposed:D,activeVariants:[k],comparisonRows:v,parseError:null}}catch(n){return console.error("Data Transformation Error: ",n),{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:n instanceof Error?n.message:"Unknown Parsing Error"}}},[r,a,f,l,u]),I=_.activeProposed,g=_.activeVariants,h=_.comparisonRows,m=_.parseError,y=(null==g?void 0:g[0])||o,b=e.useMemo(function(){return(null==I?void 0:I.sections)||[]},[null==I?void 0:I.sections]),x=e.useMemo(function(){return y.sections||[]},[y.sections]),R=b.length>0||x.length>0,C=e.useMemo(function(){return d.fields.filter(function(n){var e=n.key;return(!R||"description"!==e)&&(t.hasValue(null==I?void 0:I[e])||t.hasValue(y[e]))})},[I,y,R,d.fields]),S=e.useMemo(function(){var n,e,i={},o={},s={},d=0,l=null===(n=null==r?void 0:r.input_index_map)||void 0===n?void 0:n[0],u=null===(e=null==r?void 0:r.input_index_map)||void 0===e?void 0:e[1],v=function(n,e){if(!a){var t="left"===e?b.indexOf(n):x.indexOf(n);return{rootKey:"".concat(e,":").concat(t),parentNum:t+1}}if("left"===e){var i=n.selfIndex,o=void 0!==i&&i>=0?i+1:b.indexOf(n)+1;return{rootKey:"left-root:".concat(n.id),parentNum:o}}var r=n.selfIndex,s=b.find(function(n){var e;return null===(e=n.refIndexes)||void 0===e?void 0:e.includes(r)});if(s){var d=s.selfIndex,l=void 0!==d&&d>=0?d+1:b.indexOf(s)+1;return{rootKey:"left-root:".concat(s.id),parentNum:l}}var u=void 0!==r&&r>=0?r+1:x.indexOf(n)+1;return{rootKey:"right-orphan-root:".concat(n.id),parentNum:u}},c=function(n,e){if(n&&e)return n.find(function(n){return n.id===e.id||n.nodeId&&n.nodeId===e.nodeId||n.contentId&&n.contentId===e.contentId})||void 0},f=function(n,e,r,a,v,p,_){if(e&&function(n,e,i){var r;((null===(r=null==n?void 0:n.evaluationResults)||void 0===r?void 0:r.length)?n.evaluationResults:(null==n?void 0:n.evaluationResult)?[n.evaluationResult]:[]).forEach(function(r){var a=(null==r?void 0:r.deviations)||{};Object.keys(a).sort().forEach(function(d){var v=a[d];if(v){var c=!t.isMissingStr(v[l]),f=!t.isMissingStr(v[u]);if(c||f){var p=(null==r?void 0:r.nodeId)||n.nodeId||n.id,_="".concat(p).concat(t.DEVIATION_BADGE_SEPARATOR).concat(d);void 0===o[_]&&(void 0===s[e]&&(s[e]=1),o[_]={index:s[e]++,rootKey:e,parentNum:i})}}})})}(e,a,v),e&&!p){var I=(null==_?void 0:_.id)||"fallback_parent_".concat(d++);i[I]||(i[I]=[]),i[I].push(e)}((null==e?void 0:e.subsections)||(null==n?void 0:n.subsections)||(null==r?void 0:r.subsections)||[]).forEach(function(t){var i=c(null==n?void 0:n.subsections,t),o=c(null==r?void 0:r.subsections,t);f(t,i,o,a,v,!1,e||_)})};b.forEach(function(n){var e,t=v(n,"left"),i=t.rootKey,o=t.parentNum,r=null;if(a){var s=null===(e=n.refIndexes)||void 0===e?void 0:e[0];r=x.find(function(n){return n.selfIndex===s})}else r=x[b.indexOf(n)];f(n,n,r,i,o,!0,n)}),p||x.forEach(function(n){var e=v(n,"right"),t=e.rootKey,i=e.parentNum;t.startsWith("right-orphan-root:")&&f(n,null,n,t,i,!0,n)});var _=Object.fromEntries(Object.entries(o).map(function(n){return[n[0],n[1].index]})),I=Object.fromEntries(Object.entries(o).map(function(n){return[n[0],n[1].parentNum]}));return{parentDeviationRecord:i,registry:_,deviationParentRegistry:I}},[b,x,a,r,p]),E=S.parentDeviationRecord,O=S.registry,j=S.deviationParentRegistry;return{isGuidelineMode:p,activeProposed:I,activeVariants:g,comparisonRows:h,existingRule:y,proposedSections:b,existingSections:x,visibleFields:C,parentDeviationRecord:E,deviationNumberRegistry:O,deviationParentRegistry:j,parseError:m}};
2
+ //# sourceMappingURL=useCompareData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCompareData.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react"),t=require("../CognitiveCompareConstants.js");exports.useComparePopups=function(o){var i=n.useState(t.EMPTY_SECTION_POPUP_STATE),r=i[0],u=i[1],a=n.useState(t.EMPTY_SECTION_POPUP_STATE),c=a[0],l=a[1],s=n.useState(t.EMPTY_SUMMARY_POPUP_STATE),P=s[0],p=s[1],_=n.useCallback(function(){p(t.EMPTY_SUMMARY_POPUP_STATE)},[]),f=n.useState(null),E=f[0],v=f[1],m=n.useState(null),T=m[0],d=m[1],A=n.useRef(null),O=n.useRef(null);n.useEffect(function(){O.current=null},[r.sectionIdx,r.open]);var M=n.useCallback(function(){v(null),u(t.EMPTY_SECTION_POPUP_STATE),d(null)},[]),S=n.useCallback(function(){l(t.EMPTY_SECTION_POPUP_STATE)},[]),I=n.useCallback(function(){var e;if(r.anchorEl&&r.refSectionTitle){var n=r.anchorEl.getBoundingClientRect();if(0!==n.width||0!==n.height){var o=(null===(e=null==A?void 0:A.current)||void 0===e?void 0:e.offsetHeight)||0,i=Math.min(t.POPUP_WIDTH,window.innerWidth-2*t.VIEWPORT_MARGIN),u=window.innerHeight-n.bottom-t.POPUP_GAP-t.VIEWPORT_MARGIN,a=n.top-t.POPUP_GAP-t.VIEWPORT_MARGIN,c=u<o&&a>u;c=null!==O.current?!0===O.current&&(a>=o||a>=u):!(u>=o||u>=a),O.current=c;var l=c?a:u,s=Math.min(o||9999,l),P=c?n.top-t.POPUP_GAP-s:n.bottom+t.POPUP_GAP,p=n.left+n.width/2,_=p-i/2,f=Math.max(t.VIEWPORT_MARGIN,Math.min(_,window.innerWidth-i-t.VIEWPORT_MARGIN)),E=Math.max(t.ARROW_SIZE+4,Math.min(p-f,i-t.ARROW_SIZE-4));v({top:P,left:f,arrowLeft:E,openAbove:c,maxHeight:l})}}},[r.anchorEl,r.refSectionTitle]);n.useEffect(function(){if(r.open){window.addEventListener("resize",I);var e=requestAnimationFrame(I),n=null;return A.current&&(n=new ResizeObserver(function(){cancelAnimationFrame(e),e=requestAnimationFrame(I)})).observe(A.current),function(){cancelAnimationFrame(e),window.removeEventListener("resize",I),null==n||n.disconnect()}}},[r.open,I]),n.useEffect(function(){var e=o.current;if(e&&(c.open||r.open)){var n=function(e){S(),A.current&&A.current.contains(e.target)||(v(null),M())};return e.addEventListener("scroll",n,{capture:!0}),function(){e.removeEventListener("scroll",n,{capture:!0})}}},[o,c.open,r.open,S,M]);var R=n.useCallback(function(e){S(),v(null),u(e)},[S]),h=n.useCallback(function(){null!==c.sectionIdx&&c.anchorEl?R(e.__assign(e.__assign({},c),{open:!0})):S()},[c,S,R]);return{cognitivePopup:r,setCognitivePopup:u,moreFunctions:c,setMoreFunctions:l,summaryPopup:P,setSummaryPopup:p,closeSummaryPopup:_,position:E,setPosition:v,activeBadgeId:T,setActiveBadgeId:d,popupRef:A,closeCognitivePopup:M,closeMoreFunctionsPopup:S,recalcPosition:I,handleOpenCognitiveCompare:h,openCognitivePopupFromState:R}};
2
+ //# sourceMappingURL=useComparePopups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useComparePopups.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),o=require("react"),i=require("../CognitiveComparehelpers.js");exports.useDeviationNavigation=function(n){var t=n.proposedSections,r=n.existingSections,l=n.parentDeviationRecord,u=n.expandedSections,c=n.maintainRelativeOrder,s=n.scrollContainerRef,d=n.leftContainerRef,v=n.rightContainerRef,a=n.lhsBadgeRefs,f=n.rhsBadgeRefs,h=o.useState({}),R=h[0],g=h[1],w=o.useRef();o.useEffect(function(){if(s.current){var o=c?d.current:s.current;if(o){var n=null,v=setTimeout(function(){var s=function(e,o){var i=e.getBoundingClientRect(),n=o.getBoundingClientRect();return i.bottom<n.top?"above":i.top>n.bottom?"below":"inside"};n=i.debounce(function(){g(function(n){var d=e.__assign({},n);return t.forEach(function(e,n){var t=c?!!u["left-".concat(n)]:!!u[String(n)],r=!1,v=!1,f=null,h=null,R=null,g=null;t&&(null==e?void 0:e.id)&&(l[e.id]||[]).forEach(function(n){var t="".concat(n.id).concat(i.DEVIATION_BADGE_SEPARATOR,"0"),l=a.current[t];if(null==l?void 0:l.current){var u=s(l.current,o);R||(R=l,g=u),"above"===u?(r=!0,f=l):"below"!==u||v?w.current===e.id&&(w.current=""):(v=!0,h=l)}}),e.id&&(d[e.id]={showAbove:r,showBelow:v,showAboveRef:f,showBelowRef:h,firstDeviationRef:R,firstDeviationPosition:g,columnKey:"left"})}),c||r.forEach(function(e,n){var t=!!u[String(n)],r=!1,c=!1,v=null,a=null,h=null,R=null;t&&(null==e?void 0:e.id)&&(l[e.id]||[]).forEach(function(n){var t,l,u,g,p,b=!(null===(t=n.refIndexes)||void 0===t?void 0:t.length)||void 0!==n.selfIndex&&n.selfIndex<0,B="".concat(n.id).concat(i.DEVIATION_BADGE_SEPARATOR,"0"),m=f.current[B];if((null==m?void 0:m.current)&&b&&(null==e?void 0:e.id)){var A=s(m.current,o);if(h||(h=m,R=A),"above"===A){var D=null===(u=null===(l=d[e.id])||void 0===l?void 0:l.showAboveRef)||void 0===u?void 0:u.current;(!D||D.getBoundingClientRect().top<m.current.getBoundingClientRect().top)&&(r=!0,v=m)}else if("below"!==A||c)w.current===e.id&&(w.current="");else{var T=null===(p=null===(g=d[e.id])||void 0===g?void 0:g.showBelowRef)||void 0===p?void 0:p.current;(!T||T.getBoundingClientRect().top>m.current.getBoundingClientRect().top)&&(c=!0,a=m)}}}),e.id&&t&&(r&&(d[e.id]=d[e.id]||{showAbove:!1,showAboveRef:null,showBelow:!1,showBelowRef:null,firstDeviationRef:null,firstDeviationPosition:null,columnKey:"right"},d[e.id].showAbove=r,d[e.id].showAboveRef=v,d[e.id].firstDeviationRef=h,d[e.id].firstDeviationPosition=R,d[e.id].columnKey="right"),c&&(d[e.id]=d[e.id]||{showAbove:!1,showAboveRef:null,showBelow:!1,showBelowRef:null,firstDeviationRef:null,firstDeviationPosition:null,columnKey:"right"},d[e.id].showBelow=c,d[e.id].showBelowRef=a,d[e.id].firstDeviationRef=h,d[e.id].firstDeviationPosition=R,d[e.id].columnKey="right"))}),d})},100),n(),null==o||o.addEventListener("scroll",n)},0);return function(){clearTimeout(v),n&&o.removeEventListener("scroll",n)}}}},[t,r,l,u,c,s,d,a,f]);var p=o.useCallback(function(e,o,n){var t,r;if(null==n?void 0:n.skipScroll)o();else if(e){var l=s.current;if(c&&((null===(t=d.current)||void 0===t?void 0:t.contains(e))?l=d.current:(null===(r=v.current)||void 0===r?void 0:r.contains(e))&&(l=v.current)),l){var u=e.getBoundingClientRect(),a=l.getBoundingClientRect(),f=a.bottom-.35*a.height,h=a.top+.35*a.height;if(u.top>f||u.top<h){var R=a.top+a.height/2,g=u.top+u.height/2-R,w=250;if(c){var p=d.current,b=v.current;p&&b?(i.smoothScrollTo(b,b.scrollTop+g,w),i.smoothScrollTo(p,p.scrollTop+g,w,o)):p?i.smoothScrollTo(p,p.scrollTop+g,w,o):b?i.smoothScrollTo(b,b.scrollTop+g,w,o):o()}else s.current?i.smoothScrollTo(s.current,s.current.scrollTop+g,w,o):o()}else o()}else o()}else o()},[c]);return{showDeviationNavigation:R,showOpenNodeRef:w,adjustScrollForPopup:p}};
2
+ //# sourceMappingURL=useDeviationNavigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeviationNavigation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("../CognitiveComparehelpers.js");exports.useLinesCalculator=function(n){var i=n.containerRef,r=n.leftContainerRef,c=n.rightContainerRef;n.svgContainerRef;var l=n.pathRefs,o=n.leftHeaderRef,u=n.rightHeaderRef,a=n.proposedSections,d=n.existingSections,s=n.visibleFields,v=n.leftRefs,h=n.rightRefs,g=n.sectionLeftRefs,f=n.sectionRightRefs,p=n.subSectionLeftRefs,b=n.subSectionRightRefs,A=n.lhsBadgeRefs,y=n.rhsBadgeRefs,R=n.sectionRowRefs,x=n.expandedSections,m=n.expandedSubSections,B=n.connectedSections,S=n.isSideBySide,I=n.activeSideBySideSection,T=n.maintainRelativeOrder,C=n.isGuidelineMode,E=n.cognitiveMap,M=n.getSectionCompareStyle,D=n.getSubSectionCompareStyle,O=n.getDeviationStyleByKey,L=n.isArrowVisible,_=n.isAnimatingRef,F=n.isSideBySideRef,N=n.sideBySideCacheRef,H=n.sideBySideLineRef,P=n.activeSideBySideSectionRef,k=n.activeSideBySideRightSectionRef,w=n.connectedLines,G=n.setConnectedLines,V=n.cachedConnectedPositions,Y=n.calculateLinesRef,j=n.resizeTimerRef,z=n.scrollLock,Q=n.scrollSyncLocked,X=n.handleResizeRef,q=n.activeProposed,K=n.existingRule,J=n.analysisData,U=n.pendingScrollTargetRef,W=n.pendingScrollCallbackRef,Z=n.resolvedComparisonConfig,$=n.getFieldData,tt=t.useState([]),et=tt[0],nt=tt[1],it=t.useState(null),rt=it[0],ct=it[1],lt=t.useState([]),ot=lt[0],ut=lt[1],at=null!=w?w:ot,dt=null!=G?G:ut,st=t.useState({width:0,height:0}),vt=st[0],ht=st[1],gt=t.useRef(!1),ft=t.useRef(!1),pt=t.useRef(!1),bt=t.useRef(null),At=t.useRef([]),yt=null!=V?V:At,Rt=function(t,e,n,i,r,c,l){if(Math.abs(i-e)<=1)return c&&l?"M ".concat(t,",").concat(e," L ").concat(n,",").concat(i):c&&!l?"M ".concat(t,",").concat(e," L ").concat(r,",").concat(e):!c&&l?"M ".concat(r,",").concat(e," L ").concat(n,",").concat(i):"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i);var o=Math.min(15,Math.abs(r-t),Math.abs(i-e)/2),u=Math.min(15,Math.abs(n-r),Math.abs(i-e)/2),a=i>e?o:-o,d=i>e?u:-u,s=n>r?u:-u;return c&&l?"M ".concat(t,",").concat(e," L ").concat(r-o,",").concat(e," Q ").concat(r,",").concat(e," ").concat(r,",").concat(e+a," L ").concat(r,",").concat(i-d," Q ").concat(r,",").concat(i," ").concat(r+s,",").concat(i," L ").concat(n,",").concat(i):c&&!l?"M ".concat(t,",").concat(e," L ").concat(r-o,",").concat(e," Q ").concat(r,",").concat(e," ").concat(r,",").concat(e+a," L ").concat(r,",").concat(i):!c&&l?"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i-d," Q ").concat(r,",").concat(i," ").concat(r+s,",").concat(i," L ").concat(n,",").concat(i):"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i)},xt=t.useCallback(function(){var t,n,l,R,L,F,N,H,P,k,w,G,V,Y,j,z,Q,X;if(!gt.current&&!_.current){gt.current=!0;try{if(!i.current)return;var q=function(t){var e=t.split("-"),n=e[0];if(!x[n]&&!1===T)return!1;if(T&&!x["left-".concat(n)]&&!x["right-".concat(n)]&&!x[n])return!1;for(var i=n,r=1;r<e.length-1;r++)if(i+="-".concat(e[r]),!m[i])return!1;return!0},K=i.current.getBoundingClientRect();ht({width:K.width,height:K.height});var J=[];if(s.forEach(function(t){var e,n,i=t.key,r=null===(e=v.current[i])||void 0===e?void 0:e.current,c=null===(n=h.current[i])||void 0===n?void 0:n.current;r&&c&&(r.style.height="auto",c.style.height="auto",r.style.minHeight="0px",c.style.minHeight="0px")}),!_.current){for(var U=0;U<Math.max(a.length,d.length);U++){var W=null===(t=g.current[U])||void 0===t?void 0:t.current,Z=null===(n=f.current[U])||void 0===n?void 0:n.current;W&&(W.style.height="auto",W.style.minHeight="0px"),Z&&(Z.style.height="auto",Z.style.minHeight="0px")}T||Object.keys(p.current).forEach(function(t){var e,n;if(q(t)){var i=null===(e=p.current[t])||void 0===e?void 0:e.current,r=null===(n=b.current[t])||void 0===n?void 0:n.current;i&&r&&(i.style.height="auto",r.style.height="auto",i.style.minHeight="0px",r.style.minHeight="0px")}})}var $={};s.forEach(function(t){var e,n,i=t.key,r=null===(e=v.current[i])||void 0===e?void 0:e.current,c=null===(n=h.current[i])||void 0===n?void 0:n.current;if(r&&c){var l=r.getBoundingClientRect(),o=c.getBoundingClientRect();$[i]=Math.max(l.height,o.height)}});var tt={left:{},right:{}},et={};if(!_.current)if(T){if(S&&null!==I)if("number"==typeof I){var it=I,rt=a[it],lt=null===(L=g.current[it])||void 0===L?void 0:L.current;lt&&rt&&(rt.refIndexes||[]).forEach(function(t){var e,n=d.findIndex(function(e){return e.selfIndex===t}),i=null===(e=f.current[n])||void 0===e?void 0:e.current;if(i&&(x["left-".concat(it)]||x["right-".concat(n)])){var r=Math.max(lt.getBoundingClientRect().height,i.getBoundingClientRect().height);tt.left[it]=Math.max(tt.left[it]||0,r),tt.right[n]=Math.max(tt.right[n]||0,r)}})}else{var ot=I.split(e.DEVIATION_BADGE_SEPARATOR)[2];if(ot){W=null===(F=p.current[ot])||void 0===F?void 0:F.current,Z=null===(N=b.current[ot])||void 0===N?void 0:N.current;if(W&&Z){ut=Math.max(W.getBoundingClientRect().height,Z.getBoundingClientRect().height);et[ot]=Math.max(et[ot]||0,ut)}}}}else{Object.keys(p.current).forEach(function(t){var e,n;if(q(t)){var i=null===(e=p.current[t])||void 0===e?void 0:e.current,r=null===(n=b.current[t])||void 0===n?void 0:n.current;if(i&&r&&null!==i.offsetParent&&null!==r.offsetParent){var c=i.getBoundingClientRect(),l=r.getBoundingClientRect(),o=Math.max(c.height,l.height);et[t]=o,i.style.minHeight="".concat(o,"px"),r.style.minHeight="".concat(o,"px")}}});for(U=0;U<Math.min(a.length,d.length);U++){var W=null===(l=g.current[U])||void 0===l?void 0:l.current,Z=null===(R=f.current[U])||void 0===R?void 0:R.current;if(W&&Z){var ut=Math.max(W.getBoundingClientRect().height,Z.getBoundingClientRect().height);tt.left[U]=ut,tt.right[U]=ut}}}if(s.forEach(function(t){var e,n,i=t.key,r=null===(e=v.current[i])||void 0===e?void 0:e.current,c=null===(n=h.current[i])||void 0===n?void 0:n.current;if(r&&c){var l=$[i];r.style.minHeight="".concat(l,"px"),c.style.minHeight="".concat(l,"px")}}),_.current||(Object.entries(tt.left).forEach(function(t){var e,n=t[0],i=t[1],r=null===(e=g.current[Number(n)])||void 0===e?void 0:e.current;r&&(r.style.minHeight="".concat(i,"px"))}),Object.entries(tt.right).forEach(function(t){var e,n=t[0],i=t[1],r=null===(e=f.current[Number(n)])||void 0===e?void 0:e.current;r&&(r.style.minHeight="".concat(i,"px"))}),T||Object.keys(et).forEach(function(t){var e,n,i=null===(e=p.current[t])||void 0===e?void 0:e.current,r=null===(n=b.current[t])||void 0===n?void 0:n.current;if(i&&r&&et[t]){var c=et[t];i.style.minHeight="".concat(c,"px"),r.style.minHeight="".concat(c,"px")}})),!C){a.forEach(function(t,e){var n,i=t.continuationSourceRowId?a.findIndex(function(e){return e.comparisonRowId===t.continuationSourceRowId}):-1,l=i>=0?i:e,o=null===(n=g.current[l])||void 0===n?void 0:n.current;if(o){var u=function(t,e){if(!T)return d[e]?[e]:[];var n=(t.refIndexes||[]).map(function(t){return d.findIndex(function(e){return e.selfIndex===t})}).filter(function(t){return-1!==t});return!n.length&&d[e]?[e]:Array.from(new Set(n))}(t,e);u.forEach(function(t){var n,u,s,v,h,g,p,b,A,y,R,x,m=null===(n=f.current[t])||void 0===n?void 0:n.current;if(m){var B=o.getBoundingClientRect(),C=m.getBoundingClientRect(),D=B.right-K.left,O=C.left-K.left,L=B.top+18-K.top,_=C.top+18-K.top;if(T&&S&&I===e){var F=null!==(s=null===(u=r.current)||void 0===u?void 0:u.getBoundingClientRect().top)&&void 0!==s?s:0,N=null!==(h=null===(v=c.current)||void 0===v?void 0:v.getBoundingClientRect().top)&&void 0!==h?h:0,H=F+(null!==(p=null===(g=r.current)||void 0===g?void 0:g.clientHeight)&&void 0!==p?p:1/0),P=N+(null!==(A=null===(b=c.current)||void 0===b?void 0:b.clientHeight)&&void 0!==A?A:1/0),k=function(t,e,n){return Math.max(e,Math.min(n,t))};L=k(B.top+18,F,H)-K.top,_=k(C.top+18,N,P)-K.top}var w=M(l);w&&J.push({id:"line-".concat(l,"-").concat(t),x1:D,y1:L,x2:O,y2:_,style:w,sectionIdx:l,targetRightIdx:t,isSubSection:!1,isMappingContinuation:i>=0,hasCognitive:!!((null===(y=a[l])||void 0===y?void 0:y.cognitiveData)||(null===(R=d[t])||void 0===R?void 0:R.cognitiveData)||(null===(x=a[l])||void 0===x?void 0:x.nodeId)&&E[a[l].nodeId])})}})}})}if(!C&&S&&"string"==typeof I&&I.includes(e.DEVIATION_BADGE_SEPARATOR)){var at=I.split(e.DEVIATION_BADGE_SEPARATOR),st=at[0],vt=at[1],ft=at[2],pt=(at[3],"".concat(st).concat(e.DEVIATION_BADGE_SEPARATOR).concat(vt)),bt=null===(H=A.current[pt])||void 0===H?void 0:H.current,At=null===(P=y.current[pt])||void 0===P?void 0:P.current;if(bt&&At){var xt=bt.getBoundingClientRect(),Bt=At.getBoundingClientRect(),St=xt.right-K.left,It=Bt.left-K.left,Tt=xt.top+xt.height/2-K.top,Ct=Bt.top+Bt.height/2-K.top;if(T){var Et=null!==(w=null===(k=r.current)||void 0===k?void 0:k.getBoundingClientRect().top)&&void 0!==w?w:0,Mt=null!==(V=null===(G=c.current)||void 0===G?void 0:G.getBoundingClientRect().top)&&void 0!==V?V:0,Dt=Et+(null!==(j=null===(Y=r.current)||void 0===Y?void 0:Y.clientHeight)&&void 0!==j?j:1/0),Ot=Mt+(null!==(Q=null===(z=c.current)||void 0===z?void 0:z.clientHeight)&&void 0!==Q?Q:1/0),Lt=function(t,e,n){return Math.max(e,Math.min(n,t))};Tt=Lt(xt.top+xt.height/2,Et,Dt)-K.top,Ct=Lt(Bt.top+Bt.height/2,Mt,Ot)-K.top}var _t=null!==(X=O(st,vt))&&void 0!==X?X:D(ft);_t&&J.push({id:"line-subsec-".concat(pt),x1:St,y1:Tt,x2:It,y2:Ct,style:_t,sectionIdx:Number(ft.split("-")[0]),isSubSection:!0,subSectionKeyPath:I})}}if(nt(J),o.current&&u.current){var Ft=o.current.getBoundingClientRect(),Nt=u.current.getBoundingClientRect(),Ht=(Ft.top+Ft.height/2-K.top+Nt.top+Nt.height/2-K.top)/2;ct({x1:Ft.right-K.left,x2:Nt.left-K.left,y:Ht})}else ct(null);if(B.size>0){var Pt=[],kt=r.current,wt=c.current;if(kt&&wt){var Gt=[],Vt=kt.getBoundingClientRect().top,Yt=wt.getBoundingClientRect().top,jt=Vt+kt.clientHeight,zt=Yt+wt.clientHeight,Qt=kt.scrollTop,Xt=wt.scrollTop,qt=K.top,Kt=function(t,e,n){return Math.max(e,Math.min(n,t))};B.forEach(function(t){var n,i,r,c,l,o,u,s,v;if(C){var h=null,g=null,f=null;if("string"==typeof t&&t.includes(e.DEVIATION_BADGE_SEPARATOR)){var p=t.split(e.DEVIATION_BADGE_SEPARATOR),b=p[0],R=p[1],x=p[2],m="".concat(b).concat(e.DEVIATION_BADGE_SEPARATOR).concat(R);h=null===(n=A.current[m])||void 0===n?void 0:n.current,f=null!==(i=O(b,R))&&void 0!==i?i:D(x),g=Number((null==x?void 0:x.split("-")[0])||0)}else g=Number(t),h=null===(r=A.current[g])||void 0===r?void 0:r.current,f=M(g);if(!h)return;var B=document.querySelectorAll('[id^="guideline-target-"]');B.forEach(function(n,i){var r=h.getBoundingClientRect(),c=n.getBoundingClientRect(),l=r.right-K.left,o=c.left-K.left-0,u=l+75,a=r.top+r.height/2,d=c.top+c.height/2,s=a-Vt+Qt,v=d-Yt+Xt,g="conn-guide-".concat(t,"-").concat(i),p="";"string"==typeof t&&t.includes(e.DEVIATION_BADGE_SEPARATOR)?p=(t.split(e.DEVIATION_BADGE_SEPARATOR)[2]||"").split("-").map(function(t){return Number(t)+1}).join("."):p=String(Number(t)+1);var b=String.fromCharCode(97+i),A=1===B.length?null:"".concat(p,"(").concat(b,")");Gt.push({lhsScrollY:s,rhsScrollY:v,x1:l,x2:o,containerTop:qt,leftIdx:t,rhsArrayIdx:i,styleColor:(null==f?void 0:f.badgeBorder)||"#6366F1",styleBg:(null==f?void 0:f.badgeBg)||"#FFFFFF",styleText:(null==f?void 0:f.badgeText)||"#A16207",styleId:g,centerX:u});var y=Kt(a,Vt,jt),R=Kt(d,Yt,zt),x=y-qt,m=R-qt,S=Rt(l,x,o,m,u,a>=Vt-4&&a<=jt+4,d>=Yt-4&&d<=zt+4);Pt.push({id:g,pathD:S,style:f,leftIdx:t,rhsArrayIdx:i,x1:l,x2:o,y1:x,y2:m,centerX:u,matchLabel:A,isGuideline:!0})})}else if("string"==typeof t&&t.includes(e.DEVIATION_BADGE_SEPARATOR)){var S=t.split(e.DEVIATION_BADGE_SEPARATOR),I=(b=S[0],R=S[1],x=S[2],S[3],m="".concat(b).concat(e.DEVIATION_BADGE_SEPARATOR).concat(R),null===(c=A.current[m])||void 0===c?void 0:c.current),E=null===(l=y.current[m])||void 0===l?void 0:l.current;if(!I||!E)return;var L=I.getBoundingClientRect(),_=E.getBoundingClientRect(),F=null!==(o=O(b,R))&&void 0!==o?o:D(x),N=L.right-K.left,H=_.left-K.left-0,P=N+75,k=L.top+L.height/2,w=_.top+_.height/2,G=k-Vt+Qt,V=w-Yt+Xt,Y="conn-subsec-".concat(m),j=((x||"").split("-").map(function(t){return Number(t)+1}).join("."),null);Gt.push({lhsScrollY:G,rhsScrollY:V,x1:N,x2:H,containerTop:qt,leftIdx:t,rhsArrayIdx:t,styleColor:(null==F?void 0:F.badgeBorder)||"#6366F1",styleBg:(null==F?void 0:F.badgeBg)||"#FFFFFF",styleText:(null==F?void 0:F.badgeText)||"#A16207",styleId:Y,centerX:P});var z=Kt(k,Vt,jt),Q=Kt(w,Yt,zt),X=Rt(N,Z=z-qt,H,$=Q-qt,P,k>=Vt-4&&k<=jt+4,w>=Yt-4&&w<=zt+4);Pt.push({id:Y,pathD:X,style:F,leftIdx:t,rhsArrayIdx:t,x1:N,x2:H,y1:Z,y2:$,matchLabel:j})}else if(T){var q=t,J=a[q];if(!(null===(v=null==J?void 0:J.refIndexes)||void 0===v?void 0:v.length))return;J.refIndexes.forEach(function(e,n){var i,r,c=d.findIndex(function(t){return t.selfIndex===e});if(-1!==c){var l=null===(i=A.current[q])||void 0===i?void 0:i.current,o=null===(r=y.current[c])||void 0===r?void 0:r.current;if(l&&o){var u=l.getBoundingClientRect(),a=o.getBoundingClientRect(),s=M(q),v=u.right-K.left,h=a.left-K.left-0,g=v+75,f=u.top+u.height/2,p=a.top+a.height/2,b=f-Vt+Qt,R=p-Yt+Xt,x="conn-".concat(q,"-").concat(c),m=String(Number(t)+1),B=String.fromCharCode(97+n),S=1===J.refIndexes.length?null:"".concat(m,"(").concat(B,")");Gt.push({lhsScrollY:b,rhsScrollY:R,x1:v,x2:h,containerTop:qt,leftIdx:q,rhsArrayIdx:c,styleColor:(null==s?void 0:s.badgeBorder)||"#6366F1",styleBg:(null==s?void 0:s.badgeBg)||"#FFFFFF",styleText:(null==s?void 0:s.badgeText)||"#A16207",styleId:x,centerX:g});var I=Kt(f,Vt,jt),T=Kt(p,Yt,zt),C=I-qt,E=T-qt,D=Rt(v,C,h,E,g,f>=Vt-4&&f<=jt+4,p>=Yt-4&&p<=zt+4);Pt.push({id:x,pathD:D,style:s,leftIdx:q,rhsArrayIdx:c,x1:v,x2:h,y1:C,y2:E,matchLabel:S})}}})}else{var U=t,W=U;I=null===(u=A.current[U])||void 0===u?void 0:u.current,E=null===(s=y.current[W])||void 0===s?void 0:s.current;if(!I||!E)return;L=I.getBoundingClientRect(),_=E.getBoundingClientRect(),F=M(U),N=L.right-K.left,H=_.left-K.left-0,P=N+75,k=L.top+L.height/2,w=_.top+_.height/2,G=k-Vt+Qt,V=w-Yt+Xt,Y="conn-".concat(U,"-").concat(W),String(Number(t)+1),j=null;Gt.push({lhsScrollY:G,rhsScrollY:V,x1:N,x2:H,containerTop:qt,leftIdx:U,rhsArrayIdx:W,styleColor:(null==F?void 0:F.badgeBorder)||"#6366F1",styleBg:(null==F?void 0:F.badgeBg)||"#FFFFFF",styleText:(null==F?void 0:F.badgeText)||"#A16207",styleId:Y,centerX:P});var Z,$;z=Kt(k,Vt,jt),Q=Kt(w,Yt,zt),X=Rt(N,Z=z-qt,H,$=Q-qt,P,k>=Vt-4&&k<=jt+4,w>=Yt-4&&w<=zt+4);Pt.push({id:Y,pathD:X,style:F,leftIdx:U,rhsArrayIdx:W,x1:N,x2:H,y1:Z,y2:$,matchLabel:j})}}),yt.current=Gt}dt(Pt),setTimeout(function(){return mt()},10)}else dt([]),yt.current=[],setTimeout(function(){return mt()},10)}catch(t){console.error("Line render safe fail: ",t)}finally{gt.current=!1}}},[s,a,d,E,Z,$,M,O,T,S,I,B,x,m,C]),mt=t.useCallback(function(){var t,e,n,o,u,a,d,s,v,h,g,f,p,b,A,y,R,x,m,B=yt.current;if(!B.length)return null===(t=l.current["guideline-up-stroke"])||void 0===t||t.setAttribute("visibility","hidden"),null===(e=l.current["guideline-up-badge"])||void 0===e||e.setAttribute("visibility","hidden"),null===(n=l.current["guideline-down-stroke"])||void 0===n||n.setAttribute("visibility","hidden"),void(null===(o=l.current["guideline-down-badge"])||void 0===o||o.setAttribute("visibility","hidden"));if(!_.current){var S=null!==(a=null===(u=r.current)||void 0===u?void 0:u.scrollTop)&&void 0!==a?a:0,I=null!==(s=null===(d=c.current)||void 0===d?void 0:d.scrollTop)&&void 0!==s?s:0,T=null!==(h=null===(v=r.current)||void 0===v?void 0:v.clientHeight)&&void 0!==h?h:1/0,C=null!==(f=null===(g=c.current)||void 0===g?void 0:g.clientHeight)&&void 0!==f?f:1/0,E=null!==(b=null===(p=r.current)||void 0===p?void 0:p.getBoundingClientRect().top)&&void 0!==b?b:0,M=null!==(y=null===(A=c.current)||void 0===A?void 0:A.getBoundingClientRect().top)&&void 0!==y?y:0,D=E+T,O=M+C,L=null===(R=i.current)||void 0===R?void 0:R.getBoundingClientRect(),F=null!==(x=null==L?void 0:L.top)&&void 0!==x?x:0,N=null!==(m=null==L?void 0:L.height)&&void 0!==m?m:1/0,H=function(t,e,n){return Math.max(e,Math.min(n,t))},P=0,k=0,w=0,G=0,V="#6366F1",Y="#A16207",j=!1,z=0;if(B.forEach(function(t){var e=t.lhsScrollY-S+E,n=t.rhsScrollY-I+M,i=l.current[t.styleId+"-stroke"],r=l.current[t.styleId+"-bg"],c=l.current[t.styleId+"-btn"],o=l.current[t.styleId+"-number"];if(i||r){var u=H(e,E,D),a=H(n,M,O),d=u-F,s=a-F,v=e>=E-4&&e<=D+4,h=n>=M-4&&n<=O+4,g=!0;j=!0;var f=t.centerX||t.x1+75;0===w&&(w=t.x1,G=d,z=f,V=t.styleColor,t.styleBg,Y=t.styleText||"#A16207"),n<M-4?(P++,g=!1):n>O+4&&(k++,g=!1);var p=Rt(t.x1,d,t.x2,s,z,v,h);i&&(g&&p?(i.setAttribute("visibility","visible"),i.setAttribute("d",p)):i.setAttribute("visibility","hidden")),r&&(g&&p?(r.setAttribute("visibility","visible"),r.setAttribute("d",p)):r.setAttribute("visibility","hidden")),c&&(v&&g?(c.setAttribute("visibility","visible"),c.setAttribute("y",String(d-12))):c.setAttribute("visibility","hidden")),o&&(v&&g?(o.setAttribute("visibility","visible"),o.setAttribute("transform","translate(".concat(t.x2-42,", ").concat(s,")"))):o.setAttribute("visibility","hidden"))}}),j&&z>0){var Q=l.current["guideline-up-stroke"],X=l.current["guideline-up-badge"],q=l.current["guideline-up-arrow"],K=l.current["guideline-up-text"],J=l.current["guideline-up-badge-rect"];if(P>0){var U=Math.max(15,M-F+15),W=Math.min(15,Math.abs(z-w),Math.max(0,G-U)),Z="M ".concat(w,",").concat(G," L ").concat(z-W,",").concat(G," Q ").concat(z,",").concat(G," ").concat(z,",").concat(G-W," L ").concat(z,",").concat(U);null==Q||Q.setAttribute("visibility","visible"),null==Q||Q.setAttribute("d",Z),null==Q||Q.setAttribute("stroke",V),null==X||X.setAttribute("visibility","visible"),null==X||X.setAttribute("transform","translate(".concat(z,", ").concat(U,")")),q&&q.setAttribute("fill",V),K&&(K.textContent="+".concat(P),K.setAttribute("fill",Y)),J&&J.setAttribute("stroke",V)}else null==Q||Q.setAttribute("visibility","hidden"),null==X||X.setAttribute("visibility","hidden");var $=l.current["guideline-down-stroke"],tt=l.current["guideline-down-badge"],et=l.current["guideline-down-arrow"],nt=l.current["guideline-down-text"],it=l.current["guideline-down-badge-rect"];if(k>0){var rt=Math.min(N-15,O-F-15);W=Math.min(15,Math.abs(z-w),Math.max(0,rt-G)),Z="M ".concat(w,",").concat(G," L ").concat(z-W,",").concat(G," Q ").concat(z,",").concat(G," ").concat(z,",").concat(G+W," L ").concat(z,",").concat(rt);null==$||$.setAttribute("visibility","visible"),null==$||$.setAttribute("d",Z),null==$||$.setAttribute("stroke",V),null==tt||tt.setAttribute("visibility","visible"),null==tt||tt.setAttribute("transform","translate(".concat(z,", ").concat(rt,")")),et&&et.setAttribute("fill",V),nt&&(nt.textContent="+".concat(k),nt.setAttribute("fill",Y)),it&&it.setAttribute("stroke",V)}else null==$||$.setAttribute("visibility","hidden"),null==tt||tt.setAttribute("visibility","hidden")}}},[]),Bt=t.useCallback(function(){yt.current.length>0&&!_.current||(null!==bt.current&&clearTimeout(bt.current),bt.current=setTimeout(function(){Y.current(),bt.current=null},50))},[]),St=t.useCallback(function(t){if(null!==U.current&&W.current&&Math.abs(t.currentTarget.scrollTop-U.current)<=2){var n=W.current;U.current=null,W.current=null,n()}if(!pt.current&&!z.current){if(T&&Q&&(F.current||B.size>0)){var l=t.currentTarget,o=r.current,u=c.current,a=l===o?u:l===u?o:null;if(l&&a){var d=function(){var t,n,i,r,c,l,o,u,a,d,s,v=P.current,h=k.current;if(null===v)return{leftAnchor:null,rightAnchor:null};if("string"==typeof v&&v.includes(e.DEVIATION_BADGE_SEPARATOR)){var x=v.split(e.DEVIATION_BADGE_SEPARATOR),m="".concat(x[0]).concat(e.DEVIATION_BADGE_SEPARATOR).concat(x[1]);return{leftAnchor:(null===(t=A.current[m])||void 0===t?void 0:t.current)||(null===(n=p.current[x[2]])||void 0===n?void 0:n.current)||(null===(i=g.current[Number(x[2])])||void 0===i?void 0:i.current)||null,rightAnchor:(null===(r=y.current[m])||void 0===r?void 0:r.current)||(null===(c=b.current[x[3]])||void 0===c?void 0:c.current)||(null===(l=f.current[Number(x[3])])||void 0===l?void 0:l.current)||null}}var B=Number(v),S=null!==h?Number(h):B;return{leftAnchor:(null===(o=A.current[B])||void 0===o?void 0:o.current)||(null===(u=R.current[B])||void 0===u?void 0:u.current)||(null===(a=g.current[B])||void 0===a?void 0:a.current)||null,rightAnchor:(null===(d=y.current[S])||void 0===d?void 0:d.current)||(null===(s=f.current[S])||void 0===s?void 0:s.current)||null}}(),s=d.leftAnchor,v=d.rightAnchor,h=l===o?s:v,x=l===o?v:s,m=null;if(h&&x){var S=h.getBoundingClientRect(),I=x.getBoundingClientRect(),C=a.getBoundingClientRect(),E=S.top+S.height/2;m=I.top-C.top+a.scrollTop+I.height/2-(E-C.top)}else{var M=Math.max(0,l.scrollHeight-l.clientHeight),D=Math.max(0,a.scrollHeight-a.clientHeight);m=M>0?l.scrollTop/M*D:l.scrollTop}var O=Math.max(0,a.scrollHeight-a.clientHeight);m=Math.max(0,Math.min(m,O)),Math.abs(a.scrollTop-m)>1&&(pt.current=!0,a.scrollTop=m,requestAnimationFrame(function(){pt.current=!1}))}}T||Bt(),ft.current||(ft.current=!0,requestAnimationFrame(function(){var t,n,l,o,u,a,d;if(F.current){var s=r.current,v=c.current;if(s&&v&&H.current){if(!N.current){var h=P.current,g=void 0;if("string"==typeof h&&h.includes(e.DEVIATION_BADGE_SEPARATOR)){var f=h.split(e.DEVIATION_BADGE_SEPARATOR),p="".concat(f[0]).concat(e.DEVIATION_BADGE_SEPARATOR).concat(f[1]);g=null===(t=A.current[p])||void 0===t?void 0:t.current}else g=null===(n=A.current[h])||void 0===n?void 0:n.current;if(g){var b=g.getBoundingClientRect();N.current={badgeScreenY:b.top+b.height/2,initialScrollTop:s.scrollTop,leftTop:s.getBoundingClientRect().top,leftBottom:s.getBoundingClientRect().top+s.clientHeight,cTop:null!==(o=null===(l=i.current)||void 0===l?void 0:l.getBoundingClientRect().top)&&void 0!==o?o:0}}}if(N.current){var y=N.current,R=s.scrollTop-y.initialScrollTop,x=y.badgeScreenY-R,m=((u=x,a=y.leftTop,d=y.leftBottom,Math.max(a,Math.min(d,u)))-y.cTop).toString(),B=x>=y.leftTop-4&&x<=y.leftBottom+4;H.current.setAttribute("y1",m),H.current.setAttribute("y2",m),H.current.setAttribute("visibility",B?"visible":"hidden")}}}mt(),ft.current=!1}))}},[mt,T,Q,B,Bt]);return t.useEffect(function(){Y.current=xt},[xt]),t.useEffect(function(){var t=setTimeout(Bt,250),e=function(){return X.current()};return window.addEventListener("resize",e),function(){clearTimeout(t),null!==bt.current&&clearTimeout(bt.current),null!==j.current&&clearTimeout(j.current),window.removeEventListener("resize",e)}},[q,K,J,s,x,m,a,d,Z,Bt,S,I,L,B]),{lines:et,setLines:nt,overallConnector:rt,setOverallConnector:ct,connectedLines:at,setConnectedLines:dt,svgDimensions:vt,cachedConnectedPositions:yt,calculateLines:xt,calculateLinesRef:Y,calculateLinesDebounced:Bt,handleColumnScroll:St}};
2
+ //# sourceMappingURL=useLinesCalculator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLinesCalculator.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),n=require("../CognitiveComparehelpers.js");exports.useResizeHandler=function(r){var t=r.timerRef,u=r.ruleComponentRef,i=r.scrollContainerRef,l=r.containerRef,c=r.maintainRelativeOrder,o=r.proposedSections,s=r.existingSections,a=r.isSideBySideRef,d=r.activeSideBySideSectionRef,f=r.activeSideBySideRightSectionRef,R=r.sectionRowRefs,v=r.sectionRightRowRefs,p=r.sectionLeftRefs,g=r.sectionRightRefs,h=r.subSectionLeftRefs,S=r.subSectionRightRefs,T=r.lhsBadgeRefs,B=r.rhsBadgeRefs,A=r.leftContainerRef,C=r.rightContainerRef,m=r.calculateLinesRef,b=r.handleResizeRef,E=r.setIsResizing,y=r.setIsArrowVisible,z=r.sideBySideCacheRef,O=r.cachedConnectedPositions,x=e.useRef(0),I=e.useRef(0),_=e.useRef(0),w=e.useRef(function(){}),D=null!=b?b:w,N=e.useRef(null);e.useRef(t),e.useEffect(function(){var e=function(e,n,r,t,u){n.current=e.getBoundingClientRect().width;var i=new ResizeObserver(function(e){null!==r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(function(){var i,l,c;r.current=null;var o=e[e.length-1];if(o){var s=null!==(c=null===(l=null===(i=o.borderBoxSize)||void 0===i?void 0:i[0])||void 0===l?void 0:l.inlineSize)&&void 0!==c?c:o.contentRect.width;Math.abs(s-n.current)<1?u():(n.current=s,t())}})});return i.observe(e),i},n={current:null},r={current:null},t={current:null},c=[],o=[n,r,t];return u.current&&c.push(e(u.current,x,n,function(){return D.current()},function(){})),i.current&&c.push(e(i.current,I,r,function(){return D.current()},function(){var e;return null===(e=m.current)||void 0===e?void 0:e.call(m)})),l.current&&c.push(e(l.current,_,t,function(){return D.current()},function(){var e;return null===(e=m.current)||void 0===e?void 0:e.call(m)})),function(){c.forEach(function(e){return e.disconnect()}),o.forEach(function(e){null!==e.current&&(cancelAnimationFrame(e.current),e.current=null)})}},[]);var P=e.useCallback(function(){E(!0),y(!1),z.current=null,null!==N.current&&clearTimeout(N.current),null!==t.current&&(clearTimeout(t.current),t.current=null),N.current=setTimeout(function(){var e,r,t,u,i,l,o,s,b,z,x;try{if(O.current=[],a.current&&null!==d.current&&null!==f.current){var I=d.current,_=f.current,w="string"==typeof I&&I.includes(n.DEVIATION_BADGE_SEPARATOR),D=null,P=null,M=null,V=null;if(w){var q=I.split(n.DEVIATION_BADGE_SEPARATOR),F="".concat(q[0]).concat(n.DEVIATION_BADGE_SEPARATOR).concat(q[1]);D=(null===(e=T.current[F])||void 0===e?void 0:e.current)||null,P=(null===(r=B.current[F])||void 0===r?void 0:r.current)||null,M=(null===(t=h.current[q[2]])||void 0===t?void 0:t.current)||(null===(u=p.current[Number(q[2])])||void 0===u?void 0:u.current)||null,V=(null===(i=S.current[q[3]])||void 0===i?void 0:i.current)||(null===(l=g.current[Number(q[3])])||void 0===l?void 0:l.current)||null}else D=(null===(o=R.current[I])||void 0===o?void 0:o.current)||null,M=(null===(s=p.current[I])||void 0===s?void 0:s.current)||null,P=(null===(b=v.current[_])||void 0===b?void 0:b.current)||null,V=(null===(z=g.current[_])||void 0===z?void 0:z.current)||null;if(D&&P&&M&&V){if(M.style.paddingTop="0px",V.style.paddingTop="0px",!c){var G=D.getBoundingClientRect(),L=P.getBoundingClientRect(),j=G.top-L.top;j>0?V.style.paddingTop="".concat(j,"px"):j<0&&(M.style.paddingTop="".concat(Math.abs(j),"px"))}var k=A.current,H=C.current;if(k&&H){var J=D.getBoundingClientRect().top-k.getBoundingClientRect().top+k.scrollTop,K=P.getBoundingClientRect().top-H.getBoundingClientRect().top+H.scrollTop-(J-k.scrollTop);Math.abs(H.scrollTop-K)>1&&(H.scrollTop=K)}}}null===(x=m.current)||void 0===x||x.call(m),a.current&&y(!0)}catch(e){console.error("Error in resize handler: ",e)}finally{E(!1),N.current=null}},150)},[c,o,s]);return{handleResize:P,handleResizeRef:D}};
2
+ //# sourceMappingURL=useResizeHandler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useResizeHandler.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e),u=function(){return r.default.createRef()};exports.useSectionRefs=function(t,r){var f=e.useRef({}),n=e.useRef({}),s=e.useRef({}),c=e.useRef({}),R=e.useRef({}),o=e.useRef({}),i=e.useRef({}),a=e.useRef({}),l=e.useRef({}),g=e.useRef({}),b=e.useCallback(function(e,t){var r="left"===e?f.current:n.current;return r[t]||(r[t]=u()),r[t]},[]),d=e.useCallback(function(e,t){return e.current[t]||(e.current[t]=u()),e.current[t]},[]);t.forEach(function(e){b("left",e),b("right",e)});for(var h=0;h<r;h+=1)d(s,h),d(c,h),d(R,h),d(o,h),d(i,h);var v=e.useCallback(function(e){return d(g,e)},[d]),S=e.useCallback(function(e,t){var r="left"===e?a.current:l.current;return r[t]||(r[t]=u()),r[t]},[]),k=e.useCallback(function(e,t){return d("left"===e?R:o,t)},[d]);return{leftRefs:f,rightRefs:n,sectionLeftRefs:s,sectionRightRefs:c,lhsBadgeRefs:R,rhsBadgeRefs:o,sectionRightRowRefs:i,subSectionLeftRefs:a,subSectionRightRefs:l,sectionRowRefs:g,getFieldRef:b,getSectionRowRef:v,getSubSectionRef:S,getBadgeRef:k}};
2
+ //# sourceMappingURL=useSectionRefs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSectionRefs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),n=require("../CognitiveComparehelpers.js");exports.useSideBySide=function(t){var r=t.isGuidelineMode,i=t.maintainRelativeOrder,l=t.proposedSections,u=t.existingSections,o=t.leftContainerRef,c=t.rightContainerRef,s=t.scrollContainerRef,d=t.sectionLeftRefs,a=t.sectionRightRefs,v=t.subSectionLeftRefs,f=t.subSectionRightRefs,p=t.lhsBadgeRefs,g=t.rhsBadgeRefs,R=t.sectionRowRefs,S=t.sectionRightRowRefs,h=t.rhsTopSpacerRef,A=t.rhsBottomSpacerRef,T=t.lhsTopSpacerRef,y=t.lhsBottomSpacerRef,B=t.calculateLinesRef,m=t.setConnectedSections,E=t.setConnectedLines,x=t.cachedConnectedPositions,C=t.closeMoreFunctionsPopup,I=t.setErrorToast;t.moreFunctions,t.closeSummaryPopup;var O=e.useState(!1),_=O[0],b=O[1],D=e.useState(!1),N=D[0],P=D[1],V=e.useState(!1),G=V[0],w=V[1],L=e.useState(!1),q=L[0],F=L[1],H=e.useState(null),M=H[0],k=H[1],j=e.useRef(!1),z=e.useRef(null),J=e.useRef(!1),K=e.useRef(null),Q=e.useRef(null),U=e.useRef(null),W=e.useRef(new Set),X=function(){W.current.forEach(function(e){n.resetClauseHighlight(e)}),W.current.clear()},Y=function(e,t,r){var i,l,u,s,h,A,T,y,B,m,E,x,C=null,I=null,O=null,_=null,b=null,D=null,N=function(e,n){if(!e||!n)return!0;var t=e.getBoundingClientRect(),r=n.getBoundingClientRect();return t.bottom>=r.top&&t.top<=r.bottom};if(e){var P=t.split(n.DEVIATION_BADGE_SEPARATOR),V="".concat(P[0]).concat(n.DEVIATION_BADGE_SEPARATOR).concat(P[1]);C=(null===(i=v.current[P[2]])||void 0===i?void 0:i.current)||(null===(l=d.current[Number(P[2])])||void 0===l?void 0:l.current)||null,I=(null===(u=f.current[P[3]])||void 0===u?void 0:u.current)||(null===(s=a.current[Number(P[3])])||void 0===s?void 0:s.current)||null,O=(null===(h=p.current[V])||void 0===h?void 0:h.current)||C,_=(null===(A=g.current[V])||void 0===A?void 0:A.current)||I}else{var G=Number(t),w=null!==r?Number(r):G;C=(null===(T=d.current[G])||void 0===T?void 0:T.current)||null,I=(null===(y=a.current[w])||void 0===y?void 0:y.current)||null,b=(null===(B=p.current[G])||void 0===B?void 0:B.current)||null,D=(null===(m=g.current[w])||void 0===m?void 0:m.current)||null,O=b||(null===(E=R.current[G])||void 0===E?void 0:E.current)||C,_=D||(null===(x=S.current[w])||void 0===x?void 0:x.current)||I}if(C&&(C.style.paddingTop="0px"),I&&(I.style.paddingTop="0px"),e||(b&&(b.style.marginTop="0px"),D&&(D.style.marginTop="0px")),!e&&b&&D){var L=o.current,q=c.current;if(!N(b,L)||!N(D,q))return;var F=b.getBoundingClientRect(),H=D.getBoundingClientRect(),M=F.top-H.top;if(Math.abs(M)>32)return;M>0&&(D.style.marginTop="".concat(M,"px"))}else if(O&&_&&C&&I){F=O.getBoundingClientRect(),H=_.getBoundingClientRect();(M=F.top-H.top)>0&&(I.style.paddingTop="".concat(M,"px"))}},Z=e.useCallback(function(){var e,t,r,i,l,u,o,c,s=K.current,R=Q.current;if(null!==s)if("string"==typeof s&&s.includes(n.DEVIATION_BADGE_SEPARATOR)){var S=s.split(n.DEVIATION_BADGE_SEPARATOR),B=(null===(e=v.current[S[2]])||void 0===e?void 0:e.current)||(null===(t=d.current[Number(S[2])])||void 0===t?void 0:t.current)||null,m=(null===(r=f.current[S[3]])||void 0===r?void 0:r.current)||(null===(i=a.current[Number(S[3])])||void 0===i?void 0:i.current)||null;B&&(B.style.paddingTop="0px"),m&&(m.style.paddingTop="0px")}else{B=(null===(l=d.current[s])||void 0===l?void 0:l.current)||null,m=(null===(u=a.current[null!=R?R:s])||void 0===u?void 0:u.current)||null;B&&(B.style.paddingTop="0px"),m&&(m.style.paddingTop="0px");var E=(null===(o=p.current[s])||void 0===o?void 0:o.current)||null,x=(null===(c=g.current[null!=R?R:s])||void 0===c?void 0:c.current)||null;E&&(E.style.marginTop="0px"),x&&(x.style.marginTop="0px")}h.current&&(h.current.style.height="0px"),A.current&&(A.current.style.height="0px"),T.current&&(T.current.style.height="0px"),y.current&&(y.current.style.height="0px")},[]);e.useEffect(function(){J.current=_},[_]),e.useEffect(function(){K.current=M},[M]);var $=e.useCallback(function(){X(),b(!1),J.current=!1,z.current=null,Z(),k(null),K.current=null,Q.current=null,P(!1),F(!1)},[Z]),ee=e.useCallback(function(e,t,v){var f,O,D=null===(f=null==v?void 0:v.toggleIfSame)||void 0===f||f,N=null==v?void 0:v.onReady,V=null!==(O=null==v?void 0:v.sourceSide)&&void 0!==O?O:"left";if(C(),null!=e)if(!t||r){X();var G=_&&M===e;_&&null!==M&&Z(),G&&D?$():(m(new Set([e])),E([]),x.current=[],F(!0),j.current=!0,k(e),K.current=e,b(!0),J.current=!0,P(!1),h.current&&(h.current.style.height="0px"),A.current&&(A.current.style.height="0px"),T.current&&(T.current.style.height="0px"),y.current&&(y.current.style.height="0px"),requestAnimationFrame(function(){var t=function(){var t,v,f,T,y,m,E,x,C,I,O,_="string"==typeof e&&e.includes(n.DEVIATION_BADGE_SEPARATOR),b=null,D=null,G=null;if(r){if(_){var w=e.split(n.DEVIATION_BADGE_SEPARATOR),L="".concat(w[0]).concat(n.DEVIATION_BADGE_SEPARATOR).concat(w[1]);b=(null===(t=p.current[L])||void 0===t?void 0:t.current)||null}else b=(null===(v=d.current[e])||void 0===v?void 0:v.current)||(null===(f=R.current[e])||void 0===f?void 0:f.current)||null;D=document.getElementById("guideline-target-0"),G=D?e:null}else if(_){w=e.split(n.DEVIATION_BADGE_SEPARATOR),L="".concat(w[0]).concat(n.DEVIATION_BADGE_SEPARATOR).concat(w[1]);b=(null===(T=p.current[L])||void 0===T?void 0:T.current)||null,D=(null===(y=g.current[L])||void 0===y?void 0:y.current)||null,G=D?e:null}else if(b=(null===(m=d.current[e])||void 0===m?void 0:m.current)||(null===(E=R.current[e])||void 0===E?void 0:E.current)||null,i){var q=l[e],H=(null==q?void 0:q.refIndexes)||[];if(H.length>0){var M=H[0],k=u.findIndex(function(e){return e.selfIndex===M});-1!==k&&(D=(null===(I=a.current[k])||void 0===I?void 0:I.current)||(null===(O=S.current[k])||void 0===O?void 0:O.current)||null,G=k)}}else D=(null===(x=a.current[e])||void 0===x?void 0:x.current)||(null===(C=S.current[e])||void 0===C?void 0:C.current)||null,G=D?e:null;Q.current=G;var z=o.current,J=c.current,K=function(){Y(_,e,G),P(!0),B.current&&B.current(),j.current=!1,"right"===V&&J?J.dispatchEvent(new Event("scroll")):z&&z.dispatchEvent(new Event("scroll")),F(!1),null==N||N()};if(!b||!z)return j.current=!1,F(!1),void(null==N||N());if(D&&J){if(!i){var U=0;U="right"===V?D?D.getBoundingClientRect().top:0:b?b.getBoundingClientRect().top:0;var W=s.current,X=(null==W?void 0:W.getBoundingClientRect().top)||0,Z=W?W.scrollTop+U-X-150:0;return W?void n.smoothScrollTo(W,Z,200,K):void K()}var $=b.getBoundingClientRect().top-z.getBoundingClientRect().top+z.scrollTop,ee=D.getBoundingClientRect().top-J.getBoundingClientRect().top+J.scrollTop,ne=200;if("left"===V){var te=ee-($-z.scrollTop);te<0&&h.current&&!r&&(h.current.style.height="".concat(Math.abs(te),"px")),requestAnimationFrame(function(){var e,t=J.scrollHeight-J.clientHeight;if(te<0)e=0;else{if(te>t){var i=te-t;return A.current&&!r&&(A.current.style.height="".concat(i+150,"px")),void requestAnimationFrame(function(){n.smoothScrollTo(J,te,ne,K)})}e=te}n.smoothScrollTo(J,e,ne,K)})}else{var re=$-(ee-J.scrollTop);requestAnimationFrame(function(){var e,t=z.scrollHeight-z.clientHeight;if(re<0)e=0;else{if(re>t)return void requestAnimationFrame(function(){return n.smoothScrollTo(z,t,ne,K)});e=re}n.smoothScrollTo(z,e,ne,K)})}}else K()};r?setTimeout(t,100):t()}))}else I("No counterpart exists for this section.")},[M,C,u,_,i,l,Z,$,r]);return{isSideBySide:_,setIsSideBySide:b,isArrowVisible:N,setIsArrowVisible:P,isResizing:G,setIsResizing:w,isSideBySideLoading:q,setIsSideBySideLoading:F,activeSideBySideSection:M,setActiveSideBySideSection:k,scrollLock:j,sideBySideCacheRef:z,isSideBySideRef:J,activeSideBySideSectionRef:K,activeSideBySideRightSectionRef:Q,sideBySideLineRef:U,highlightedClauseRefs:W,clearClauseHighlight:X,applyAlignmentPadding:Y,resetSideBySide:$,activateSideBySide:ee}};
2
+ //# sourceMappingURL=useSideBySide.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSideBySide.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("tslib"),e=require("react"),i=require("../CognitiveComparehelpers.js"),n=require("../CognitiveCompareConstants.js");exports.useStyleHelpers=function(t){var o=t.proposedSections,a=t.existingSections,u=t.maintainRelativeOrder,r=t.cognitiveMap,d=t.deviationData,v=t.treeData,s=t.resolvedComparisonConfig,g=t.badgeStyleOverride,_=e.useCallback(function(e,t){var r,d,v;void 0===t&&(t="left");var s=null,_=null;if("left"===t)if(s=o[e],u&&s){var b=a.filter(function(l){var e;return null===(e=s.refIndexes)||void 0===e?void 0:e.includes(l.selfIndex)});_=b.find(function(l){return l.evaluationResult})||b[0]}else _=a[e];else if(_=a[e],u&&_){var f=o.filter(function(l){var e;return null===(e=l.refIndexes)||void 0===e?void 0:e.includes(_.selfIndex)});s=f.find(function(l){return l.evaluationResult})||f[0]}else s=o[e];var c=(null==s?void 0:s.relation)&&"not_defined"!==s.relation,p=(null==_?void 0:_.relation)&&"not_defined"!==_.relation,C=!(!(null==s?void 0:s.cognitiveData)&&!(null==_?void 0:_.cognitiveData)),D="left"===t?!(null==s?void 0:s.title)&&!(null==s?void 0:s.content):!(null==_?void 0:_.title)&&!(null==_?void 0:_.content);if(!c&&!p&&!C){var O=D?null:"Not Defined",x=i.generateColorPalette(n.DEFAULT_DEVIAION_COLOR);if(g)(S=g(O))&&(x=l.__assign(l.__assign({},x),{badgeBg:S.bg,badgeText:S.text,badgeBorder:S.border}));return l.__assign(l.__assign({},x),{label:O})}var S,m=null!==(d=null!==(r=null==s?void 0:s.evaluationResult)&&void 0!==r?r:null==_?void 0:_.evaluationResult)&&void 0!==d?d:null,y=i.getFirstDeviationOutputValue(m),I=i.getFirstDeviationColor(m),R=i.generateColorPalette(I);g&&((S=g(y))&&(R=l.__assign(l.__assign({},R),{badgeBg:S.bg,badgeText:S.text,badgeBorder:S.border})));return null!=m?l.__assign(l.__assign({},R),{label:null!==(v=y)&&void 0!==v?v:""}):l.__assign(l.__assign({},R),{label:null})},[o,a,r,s,u,g]),b=e.useCallback(function(e){for(var t,u,r=e.split("-").map(Number),d=o[r[0]],v=a[r[0]],s=1;s<r.length;s++)(null==d?void 0:d.subsections)&&(d=d.subsections[r[s]]),(null==v?void 0:v.subsections)&&(v=v.subsections[r[s]]);if(!d&&!v)return null;var _=(null==d?void 0:d.relation)&&"not_defined"!==d.relation,b=(null==v?void 0:v.relation)&&"not_defined"!==v.relation;i.safeStringify(null==d?void 0:d.id)||i.safeStringify(null==v?void 0:v.id);var f=!(!(null==d?void 0:d.cognitiveData)&&!(null==v?void 0:v.cognitiveData));if(!_&&!b&&!f){var c=i.generateColorPalette(n.DEFAULT_DEVIAION_COLOR);if(g)(p=g(null))&&(c=l.__assign(l.__assign({},c),{badgeBg:p.bg,badgeText:p.text,badgeBorder:p.border}));return l.__assign(l.__assign({},c),{label:null})}var p,C=null!==(u=null!==(t=null==d?void 0:d.evaluationResult)&&void 0!==t?t:null==v?void 0:v.evaluationResult)&&void 0!==u?u:null,D=i.getFirstDeviationOutputValue(C),O=i.getFirstDeviationColor(C),x=i.generateColorPalette(O);g&&((p=g(D))&&(x=l.__assign(l.__assign({},x),{badgeBg:p.bg,badgeText:p.text,badgeBorder:p.border})));return null!=C?l.__assign(l.__assign({},x),{label:null!=D?D:""}):l.__assign(l.__assign({},x),{label:null})},[o,a,r,s,g]),f=e.useCallback(function(e,t){var o,a,u,r,s,g,_,b,f,c,p,C,D,O,x,S,m,y,I,R,B;if(!e||null==t)return null;var F=null!==(s=null!==(a=null===(o=null==d?void 0:d[e])||void 0===o?void 0:o.evaluation_result)&&void 0!==a?a:null===(r=null===(u=null==v?void 0:v.nodes)||void 0===u?void 0:u[e])||void 0===r?void 0:r.evaluation_result)&&void 0!==s?s:null;if(!F||"object"!=typeof F)return null;var T=null!==(c=null!==(f=null!==(_=null===(g=null==F?void 0:F.deviations)||void 0===g?void 0:g[t])&&void 0!==_?_:null===(b=null==F?void 0:F.deviation_entries)||void 0===b?void 0:b[t])&&void 0!==f?f:null==F?void 0:F[t])&&void 0!==c?c:null,V=null!==(R=null!==(m=null!==(x=null!==(D=null===(C=null===(p=null==T?void 0:T.evaluation_outputs)||void 0===p?void 0:p.metadata)||void 0===C?void 0:C.label_color)&&void 0!==D?D:null===(O=null==T?void 0:T.evaluation_outputs)||void 0===O?void 0:O.label_color)&&void 0!==x?x:null===(S=null==T?void 0:T.metadata)||void 0===S?void 0:S.label_color)&&void 0!==m?m:null===(I=null===(y=null==F?void 0:F.evaluation_outputs)||void 0===y?void 0:y.metadata)||void 0===I?void 0:I.label_color)&&void 0!==R?R:n.DEFAULT_DEVIAION_COLOR,A=null!==(B=i.getFirstDeviationOutputValue(T))&&void 0!==B?B:i.getFirstDeviationOutputValue(F);return l.__assign(l.__assign({},i.generateColorPalette(V)),{label:A})},[d,v]);return{getSectionCompareStyle:_,getSubSectionCompareStyle:b,getDeviationStyleByKey:f}};
2
+ //# sourceMappingURL=useStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStyles.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("tslib"),t=function(n,t){return(null==n?void 0:n.contentId)||(null==n?void 0:n.id)||t},e=function(n,t,e,i){return{id:"".concat(t,":").concat(e,":empty"),nodeId:n,title:"",content:"",change_history:"",subsections:[],relation:"not_defined",selfIndex:-1,refIndexes:[],refContentIds:[],displayTitle:!1,displayContent:!1,layoutKey:"".concat(t,":").concat(e,":empty"),comparisonRowId:t,isMappingContinuation:Boolean(i),continuationSourceRowId:i}},i=function(i,o,l,r,d,u){var a,c;if(void 0===u&&(u=!1),!i)return e(l,r,d);var s=Number(null==o?void 0:o.selfIndex),f=null!=o&&Number.isFinite(s)&&s>=0;return n.__assign(n.__assign({},i),{refIndexes:f?[s]:[],refContentIds:(null==o?void 0:o.contentId)?[o.contentId]:[],layoutKey:"".concat(r,":").concat(d,":").concat(t(i,String(d))),comparisonRowId:r,isMultipleMapping:u||i.isMultipleMapping||(null!==(c=null===(a=i.refContentIds)||void 0===a?void 0:a.length)&&void 0!==c?c:0)>1})};exports.buildComparisonRows=function(n,o,l){if(0===o.length&&0===l.length)return[];var r=o.length>0?o:[void 0],d=l.length>0?l:[void 0],u=[];return r.forEach(function(o,r){var a=d[0],c=[n,r,t(o,"empty-left"),0,t(a,"empty-right")].join("::");d.forEach(function(d,a){var s=[n,r,t(o,"empty-left"),a,t(d,"empty-right")].join("::"),f=null!=o&&a>0;u.push({id:s,nodeId:n,left:f?e(n,s,"left",c):i(o,d,n,s,"left",l.length>1),right:i(d,o,n,s,"right"),leftOrdinal:r,rightOrdinal:a})})}),u};
2
+ //# sourceMappingURL=buildComparisonRows.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildComparisonRows.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}