@e-llm-studio/requirement-ai 0.0.225 → 0.0.227

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 (1119) hide show
  1. package/dist/assests/svg/ButtonCognitiveIcon.js +2 -0
  2. package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -0
  3. package/dist/assests/svg/PdfViewerIcons.js +2 -0
  4. package/dist/assests/svg/PdfViewerIcons.js.map +1 -0
  5. package/dist/assests/svg/SparkleIcon.js +2 -0
  6. package/dist/assests/svg/SparkleIcon.js.map +1 -0
  7. package/dist/assests/svg/chevronDownArrow.svg.js +2 -0
  8. package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -0
  9. package/dist/assests/svg/chevronUp.svg.js +2 -0
  10. package/dist/assests/svg/chevronUp.svg.js.map +1 -0
  11. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +2 -0
  12. package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -0
  13. package/dist/cjs/assests/svg/PdfViewerIcons.js +2 -0
  14. package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -0
  15. package/dist/cjs/assests/svg/SparkleIcon.js +2 -0
  16. package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -0
  17. package/dist/cjs/assests/svg/chevronDownArrow.svg.js +2 -0
  18. package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -0
  19. package/dist/cjs/assests/svg/chevronUp.svg.js +2 -0
  20. package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -0
  21. package/dist/cjs/constants/diagnosticStylesBySeverity.js +2 -0
  22. package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -0
  23. package/dist/cjs/features/BookCitation/BookCitation.js +2 -0
  24. package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -0
  25. package/dist/cjs/features/BookCitation/BookCitation.module.css.js +2 -0
  26. package/dist/cjs/features/BookCitation/BookCitation.module.css.js.map +1 -0
  27. package/dist/cjs/features/BookCitation/text-cleaner.js +2 -0
  28. package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -0
  29. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +2 -0
  30. package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -0
  31. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +2 -0
  32. package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -0
  33. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +2 -0
  34. package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -0
  35. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +2 -0
  36. package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -0
  37. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +2 -0
  38. package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -0
  39. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +2 -0
  40. package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -0
  41. package/dist/cjs/features/Bookemon/Bookemon.js +2 -0
  42. package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -0
  43. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +2 -0
  44. package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -0
  45. package/dist/cjs/features/Bookemon/BookemonContent.js +2 -0
  46. package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -0
  47. package/dist/cjs/features/Bookemon/utils/highlight.js +2 -0
  48. package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -0
  49. package/dist/cjs/features/ChatCitation/BigQueryTable.js +2 -0
  50. package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -0
  51. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +2 -0
  52. package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -0
  53. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +2 -0
  54. package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -0
  55. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js +2 -0
  56. package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -0
  57. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js +2 -0
  58. package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -0
  59. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +2 -0
  60. package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -0
  61. package/dist/cjs/features/ChatCitation/components/ChatCitation.js +2 -0
  62. package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -0
  63. package/dist/cjs/features/ChatCitation/components/Chip.js +2 -0
  64. package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -0
  65. package/dist/cjs/features/ChatCitation/components/DetailedView.js +2 -0
  66. package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -0
  67. package/dist/cjs/features/ChatCitation/components/IconContainer.js +2 -0
  68. package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -0
  69. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +2 -0
  70. package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -0
  71. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +2 -0
  72. package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -0
  73. package/dist/cjs/features/ChatCitation/components/RuleBook.js +2 -0
  74. package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -0
  75. package/dist/cjs/features/ChatCitation/components/SummarizedView.js +2 -0
  76. package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -0
  77. package/dist/cjs/features/ChatCitation/components/UserChatItem.js +2 -0
  78. package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -0
  79. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +2 -0
  80. package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -0
  81. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +2 -0
  82. package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -0
  83. package/dist/cjs/features/ChatCitation/constants/renderer.js +2 -0
  84. package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -0
  85. package/dist/cjs/features/ChatCitation/utils/helpers.js +2 -0
  86. package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -0
  87. package/dist/cjs/features/ChatDrawer/ChatDrawer.js +2 -0
  88. package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -0
  89. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js +2 -0
  90. package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -0
  91. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +2 -0
  92. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -0
  93. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +2 -0
  94. package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js.map +1 -0
  95. package/dist/cjs/features/CitationViewer/CitationsViewer.js +2 -0
  96. package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -0
  97. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +2 -0
  98. package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -0
  99. package/dist/cjs/features/CitationViewer/components/Header.js +2 -0
  100. package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -0
  101. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +2 -0
  102. package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -0
  103. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +2 -0
  104. package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js.map +1 -0
  105. package/dist/cjs/features/CitationViewer/components/Transcript.js +2 -0
  106. package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -0
  107. package/dist/cjs/features/CitationViewer/config/apiConfig.js +2 -0
  108. package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -0
  109. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +2 -0
  110. package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -0
  111. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +2 -0
  112. package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -0
  113. package/dist/cjs/features/CodeCitation/CodeCitation.js +2 -0
  114. package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -0
  115. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +2 -0
  116. package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js.map +1 -0
  117. package/dist/cjs/features/CodeCitation/_components/Accordian.js +2 -0
  118. package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -0
  119. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +2 -0
  120. package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -0
  121. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +2 -0
  122. package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -0
  123. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +2 -0
  124. package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -0
  125. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +2 -0
  126. package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -0
  127. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +2 -0
  128. package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -0
  129. package/dist/cjs/features/CodeCitation/_components/Spinner.js +2 -0
  130. package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -0
  131. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +2 -0
  132. package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -0
  133. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +2 -0
  134. package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -0
  135. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +2 -0
  136. package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -0
  137. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +2 -0
  138. package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -0
  139. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +2 -0
  140. package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -0
  141. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +2 -0
  142. package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -0
  143. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +2 -0
  144. package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -0
  145. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +2 -0
  146. package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -0
  147. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +2 -0
  148. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -0
  149. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js +2 -0
  150. package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -0
  151. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +2 -0
  152. package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -0
  153. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +2 -0
  154. package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -0
  155. package/dist/cjs/features/CognitiveCompare/CompareContext.js +2 -0
  156. package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -0
  157. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +2 -0
  158. package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -0
  159. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +2 -0
  160. package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -0
  161. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +2 -0
  162. package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -0
  163. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +2 -0
  164. package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -0
  165. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +2 -0
  166. package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -0
  167. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +2 -0
  168. package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -0
  169. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +2 -0
  170. package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -0
  171. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +2 -0
  172. package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -0
  173. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +2 -0
  174. package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -0
  175. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +2 -0
  176. package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -0
  177. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +2 -0
  178. package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -0
  179. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +2 -0
  180. package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -0
  181. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +2 -0
  182. package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -0
  183. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +2 -0
  184. package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -0
  185. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +2 -0
  186. package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -0
  187. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +2 -0
  188. package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -0
  189. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +2 -0
  190. package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -0
  191. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +2 -0
  192. package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -0
  193. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +2 -0
  194. package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -0
  195. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +2 -0
  196. package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -0
  197. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +2 -0
  198. package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -0
  199. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +2 -0
  200. package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -0
  201. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +2 -0
  202. package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -0
  203. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +2 -0
  204. package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -0
  205. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +2 -0
  206. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -0
  207. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +2 -0
  208. package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js.map +1 -0
  209. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +2 -0
  210. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -0
  211. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +2 -0
  212. package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js.map +1 -0
  213. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +2 -0
  214. package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -0
  215. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +2 -0
  216. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -0
  217. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +2 -0
  218. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -0
  219. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +2 -0
  220. package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js.map +1 -0
  221. package/dist/cjs/features/ExcelCitation/ExcelCitations.js +2 -0
  222. package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -0
  223. package/dist/cjs/features/ExcelCitation/utils/helper.js +2 -0
  224. package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -0
  225. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +2 -0
  226. package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -0
  227. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +2 -0
  228. package/dist/cjs/features/IngestionStatus/ingestion.module.css.js.map +1 -0
  229. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +2 -0
  230. package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -0
  231. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +2 -0
  232. package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -0
  233. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +2 -0
  234. package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js.map +1 -0
  235. package/dist/cjs/features/ManageRemainders/ManageReminders.js +2 -0
  236. package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -0
  237. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +2 -0
  238. package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -0
  239. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +2 -0
  240. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -0
  241. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +2 -0
  242. package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js.map +1 -0
  243. package/dist/cjs/features/PaginatedTable/PaginatedTable.js +2 -0
  244. package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -0
  245. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +2 -0
  246. package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js.map +1 -0
  247. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +2 -0
  248. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -0
  249. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +2 -0
  250. package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js.map +1 -0
  251. package/dist/cjs/features/PdfViewer/PdfContainer.js +2 -0
  252. package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -0
  253. package/dist/cjs/features/PdfViewer/PdfStyle.js +2 -0
  254. package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -0
  255. package/dist/cjs/features/PdfViewer/PdfToolbar.js +2 -0
  256. package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -0
  257. package/dist/cjs/features/PdfViewer/PdfViewer.js +2 -0
  258. package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -0
  259. package/dist/cjs/features/PdfViewer/usePdfHighlight.js +2 -0
  260. package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -0
  261. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +2 -0
  262. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -0
  263. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +2 -0
  264. package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js.map +1 -0
  265. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +2 -0
  266. package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -0
  267. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  268. package/dist/cjs/features/RequirementAI/components/segment/DeleteSegmentsDialog.js +2 -0
  269. package/dist/cjs/features/RequirementAI/components/segment/DeleteSegmentsDialog.js.map +1 -0
  270. package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
  271. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  272. package/dist/cjs/features/RequirementAI/components/segment/deleteSegmentDialog.module.css.js +2 -0
  273. package/dist/cjs/features/RequirementAI/components/segment/deleteSegmentDialog.module.css.js.map +1 -0
  274. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +2 -0
  275. package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -0
  276. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +2 -0
  277. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -0
  278. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +2 -0
  279. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js.map +1 -0
  280. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +2 -0
  281. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -0
  282. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +2 -0
  283. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js.map +1 -0
  284. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +2 -0
  285. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -0
  286. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +2 -0
  287. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js.map +1 -0
  288. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +2 -0
  289. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -0
  290. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +2 -0
  291. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js.map +1 -0
  292. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +2 -0
  293. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -0
  294. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +2 -0
  295. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -0
  296. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +2 -0
  297. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -0
  298. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +2 -0
  299. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -0
  300. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +2 -0
  301. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -0
  302. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +2 -0
  303. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -0
  304. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +2 -0
  305. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -0
  306. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +2 -0
  307. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -0
  308. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +2 -0
  309. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -0
  310. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +2 -0
  311. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -0
  312. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +2 -0
  313. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -0
  314. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +2 -0
  315. package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js.map +1 -0
  316. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +2 -0
  317. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -0
  318. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +2 -0
  319. package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js.map +1 -0
  320. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +2 -0
  321. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -0
  322. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +2 -0
  323. package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js.map +1 -0
  324. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +2 -0
  325. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -0
  326. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +2 -0
  327. package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js.map +1 -0
  328. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +2 -0
  329. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -0
  330. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +2 -0
  331. package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js.map +1 -0
  332. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +2 -0
  333. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -0
  334. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +2 -0
  335. package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js.map +1 -0
  336. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +2 -0
  337. package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -0
  338. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +2 -0
  339. package/dist/cjs/features/SplitterCitations/Splitter.module.css.js.map +1 -0
  340. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +2 -0
  341. package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -0
  342. package/dist/cjs/features/TableCitation/TableCitationContent.js +2 -0
  343. package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -0
  344. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +2 -0
  345. package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js.map +1 -0
  346. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +2 -0
  347. package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -0
  348. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +2 -0
  349. package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js.map +1 -0
  350. package/dist/cjs/utils/codeCitations.utils.js +2 -0
  351. package/dist/cjs/utils/codeCitations.utils.js.map +1 -0
  352. package/dist/cjs/utils/sanitizeHtml.js +2 -0
  353. package/dist/cjs/utils/sanitizeHtml.js.map +1 -0
  354. package/dist/cjs/utils/themeManager.js +2 -0
  355. package/dist/cjs/utils/themeManager.js.map +1 -0
  356. package/dist/constants/diagnosticStylesBySeverity.js +2 -0
  357. package/dist/constants/diagnosticStylesBySeverity.js.map +1 -0
  358. package/dist/features/BookCitation/BookCitation.js +2 -0
  359. package/dist/features/BookCitation/BookCitation.js.map +1 -0
  360. package/dist/features/BookCitation/BookCitation.module.css.js +2 -0
  361. package/dist/features/BookCitation/BookCitation.module.css.js.map +1 -0
  362. package/dist/features/BookCitation/text-cleaner.js +2 -0
  363. package/dist/features/BookCitation/text-cleaner.js.map +1 -0
  364. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +2 -0
  365. package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -0
  366. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +2 -0
  367. package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -0
  368. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +2 -0
  369. package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -0
  370. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +2 -0
  371. package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -0
  372. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +2 -0
  373. package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -0
  374. package/dist/features/Bookemon/BookPreview/BookPreview.js +2 -0
  375. package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -0
  376. package/dist/features/Bookemon/Bookemon.js +2 -0
  377. package/dist/features/Bookemon/Bookemon.js.map +1 -0
  378. package/dist/features/Bookemon/BookemonCitationLayer.js +2 -0
  379. package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -0
  380. package/dist/features/Bookemon/BookemonContent.js +2 -0
  381. package/dist/features/Bookemon/BookemonContent.js.map +1 -0
  382. package/dist/features/Bookemon/utils/highlight.js +2 -0
  383. package/dist/features/Bookemon/utils/highlight.js.map +1 -0
  384. package/dist/features/ChatCitation/BigQueryTable.js +2 -0
  385. package/dist/features/ChatCitation/BigQueryTable.js.map +1 -0
  386. package/dist/features/ChatCitation/ChatCitationRenderer.js +2 -0
  387. package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -0
  388. package/dist/features/ChatCitation/InternalChatCitationRenderer.js +2 -0
  389. package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -0
  390. package/dist/features/ChatCitation/assets/cw_chat.svg.js +2 -0
  391. package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -0
  392. package/dist/features/ChatCitation/assets/message-chat-square.svg.js +2 -0
  393. package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -0
  394. package/dist/features/ChatCitation/components/AssistantChatItem.js +2 -0
  395. package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -0
  396. package/dist/features/ChatCitation/components/ChatCitation.js +2 -0
  397. package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -0
  398. package/dist/features/ChatCitation/components/Chip.js +2 -0
  399. package/dist/features/ChatCitation/components/Chip.js.map +1 -0
  400. package/dist/features/ChatCitation/components/DetailedView.js +2 -0
  401. package/dist/features/ChatCitation/components/DetailedView.js.map +1 -0
  402. package/dist/features/ChatCitation/components/IconContainer.js +2 -0
  403. package/dist/features/ChatCitation/components/IconContainer.js.map +1 -0
  404. package/dist/features/ChatCitation/components/InViewNavigation.js +2 -0
  405. package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -0
  406. package/dist/features/ChatCitation/components/MarkdownRenderer.js +2 -0
  407. package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -0
  408. package/dist/features/ChatCitation/components/RuleBook.js +2 -0
  409. package/dist/features/ChatCitation/components/RuleBook.js.map +1 -0
  410. package/dist/features/ChatCitation/components/SummarizedView.js +2 -0
  411. package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -0
  412. package/dist/features/ChatCitation/components/UserChatItem.js +2 -0
  413. package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -0
  414. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +2 -0
  415. package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -0
  416. package/dist/features/ChatCitation/components/wrappers/Modal.js +2 -0
  417. package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -0
  418. package/dist/features/ChatCitation/constants/renderer.js +2 -0
  419. package/dist/features/ChatCitation/constants/renderer.js.map +1 -0
  420. package/dist/features/ChatCitation/utils/helpers.js +2 -0
  421. package/dist/features/ChatCitation/utils/helpers.js.map +1 -0
  422. package/dist/features/ChatDrawer/ChatDrawer.js +2 -0
  423. package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -0
  424. package/dist/features/ChatDrawer/constants/ChatDrawer.js +2 -0
  425. package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -0
  426. package/dist/features/CitationRenderer/MarkdownRenderer.js +2 -0
  427. package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -0
  428. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +2 -0
  429. package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js.map +1 -0
  430. package/dist/features/CitationViewer/CitationsViewer.js +2 -0
  431. package/dist/features/CitationViewer/CitationsViewer.js.map +1 -0
  432. package/dist/features/CitationViewer/components/AudioWaveform.js +2 -0
  433. package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -0
  434. package/dist/features/CitationViewer/components/Header.js +2 -0
  435. package/dist/features/CitationViewer/components/Header.js.map +1 -0
  436. package/dist/features/CitationViewer/components/KeyTakeaways.js +2 -0
  437. package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -0
  438. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +2 -0
  439. package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js.map +1 -0
  440. package/dist/features/CitationViewer/components/Transcript.js +2 -0
  441. package/dist/features/CitationViewer/components/Transcript.js.map +1 -0
  442. package/dist/features/CitationViewer/config/apiConfig.js +2 -0
  443. package/dist/features/CitationViewer/config/apiConfig.js.map +1 -0
  444. package/dist/features/CitationViewer/hooks/getSignedUrl.js +2 -0
  445. package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -0
  446. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +2 -0
  447. package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -0
  448. package/dist/features/CodeCitation/CodeCitation.js +2 -0
  449. package/dist/features/CodeCitation/CodeCitation.js.map +1 -0
  450. package/dist/features/CodeCitation/CodeCitation.module.css.js +2 -0
  451. package/dist/features/CodeCitation/CodeCitation.module.css.js.map +1 -0
  452. package/dist/features/CodeCitation/_components/Accordian.js +2 -0
  453. package/dist/features/CodeCitation/_components/Accordian.js.map +1 -0
  454. package/dist/features/CodeCitation/_components/CodeCitationPopup.js +2 -0
  455. package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -0
  456. package/dist/features/CodeCitation/_components/CodeCitationsStats.js +2 -0
  457. package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -0
  458. package/dist/features/CodeCitation/_components/CodeEditor.js +2 -0
  459. package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -0
  460. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +2 -0
  461. package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -0
  462. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +2 -0
  463. package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -0
  464. package/dist/features/CodeCitation/_components/Spinner.js +2 -0
  465. package/dist/features/CodeCitation/_components/Spinner.js.map +1 -0
  466. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +2 -0
  467. package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -0
  468. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +2 -0
  469. package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -0
  470. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +2 -0
  471. package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -0
  472. package/dist/features/CodeCitation/_components/ThemeToggle.js +2 -0
  473. package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -0
  474. package/dist/features/CodeCitation/_components/TooltipComponent.js +2 -0
  475. package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -0
  476. package/dist/features/CognitiveCompare/CitationAnchor.js +2 -0
  477. package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -0
  478. package/dist/features/CognitiveCompare/CitationRenderer.js +2 -0
  479. package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -0
  480. package/dist/features/CognitiveCompare/CognitiveCompare.js +2 -0
  481. package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -0
  482. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +2 -0
  483. package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -0
  484. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +2 -0
  485. package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -0
  486. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +2 -0
  487. package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -0
  488. package/dist/features/CognitiveCompare/CognitivePopup.js +2 -0
  489. package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -0
  490. package/dist/features/CognitiveCompare/CompareContext.js +2 -0
  491. package/dist/features/CognitiveCompare/CompareContext.js.map +1 -0
  492. package/dist/features/CognitiveCompare/LoaderComponent.js +2 -0
  493. package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -0
  494. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +2 -0
  495. package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -0
  496. package/dist/features/CognitiveCompare/OverlayComponent.js +2 -0
  497. package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -0
  498. package/dist/features/CognitiveCompare/ResizableSplitPane.js +2 -0
  499. package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -0
  500. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +2 -0
  501. package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -0
  502. package/dist/features/CognitiveCompare/components/CompareHeader.js +2 -0
  503. package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -0
  504. package/dist/features/CognitiveCompare/components/LHSSectionRow.js +2 -0
  505. package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -0
  506. package/dist/features/CognitiveCompare/components/RHSSectionRow.js +2 -0
  507. package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -0
  508. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +2 -0
  509. package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -0
  510. package/dist/features/CognitiveCompare/components/SectionAccordion.js +2 -0
  511. package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -0
  512. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +2 -0
  513. package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -0
  514. package/dist/features/CognitiveCompare/components/SvgConnectors.js +2 -0
  515. package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -0
  516. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +2 -0
  517. package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -0
  518. package/dist/features/CognitiveCompare/components/connectedLines.js +2 -0
  519. package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -0
  520. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +2 -0
  521. package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -0
  522. package/dist/features/CognitiveCompare/hooks/useAccordionState.js +2 -0
  523. package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -0
  524. package/dist/features/CognitiveCompare/hooks/useCompareData.js +2 -0
  525. package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -0
  526. package/dist/features/CognitiveCompare/hooks/useComparePopups.js +2 -0
  527. package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -0
  528. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +2 -0
  529. package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -0
  530. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +2 -0
  531. package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -0
  532. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +2 -0
  533. package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -0
  534. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +2 -0
  535. package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -0
  536. package/dist/features/CognitiveCompare/hooks/useSideBySide.js +2 -0
  537. package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -0
  538. package/dist/features/CognitiveCompare/hooks/useStyles.js +2 -0
  539. package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -0
  540. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +2 -0
  541. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -0
  542. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +2 -0
  543. package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js.map +1 -0
  544. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +2 -0
  545. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -0
  546. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +2 -0
  547. package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js.map +1 -0
  548. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +2 -0
  549. package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -0
  550. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +2 -0
  551. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -0
  552. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +2 -0
  553. package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -0
  554. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +2 -0
  555. package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js.map +1 -0
  556. package/dist/features/ExcelCitation/ExcelCitations.js +2 -0
  557. package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -0
  558. package/dist/features/ExcelCitation/utils/helper.js +2 -0
  559. package/dist/features/ExcelCitation/utils/helper.js.map +1 -0
  560. package/dist/features/IngestionStatus/IngestionStatusComponent.js +2 -0
  561. package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -0
  562. package/dist/features/IngestionStatus/ingestion.module.css.js +2 -0
  563. package/dist/features/IngestionStatus/ingestion.module.css.js.map +1 -0
  564. package/dist/features/IngestionStatus/useIngestionStatus.js +2 -0
  565. package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -0
  566. package/dist/features/ManageRemainders/AssigneeCalendarView.js +2 -0
  567. package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -0
  568. package/dist/features/ManageRemainders/ManageRemainder.module.css.js +2 -0
  569. package/dist/features/ManageRemainders/ManageRemainder.module.css.js.map +1 -0
  570. package/dist/features/ManageRemainders/ManageReminders.js +2 -0
  571. package/dist/features/ManageRemainders/ManageReminders.js.map +1 -0
  572. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +2 -0
  573. package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -0
  574. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +2 -0
  575. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -0
  576. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +2 -0
  577. package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js.map +1 -0
  578. package/dist/features/PaginatedTable/PaginatedTable.js +2 -0
  579. package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -0
  580. package/dist/features/PaginatedTable/paginatedTable.module.css.js +2 -0
  581. package/dist/features/PaginatedTable/paginatedTable.module.css.js.map +1 -0
  582. package/dist/features/PdfEditorCitation/PdfEditorCitation.js +2 -0
  583. package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -0
  584. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +2 -0
  585. package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js.map +1 -0
  586. package/dist/features/PdfViewer/PdfContainer.js +2 -0
  587. package/dist/features/PdfViewer/PdfContainer.js.map +1 -0
  588. package/dist/features/PdfViewer/PdfStyle.js +2 -0
  589. package/dist/features/PdfViewer/PdfStyle.js.map +1 -0
  590. package/dist/features/PdfViewer/PdfToolbar.js +2 -0
  591. package/dist/features/PdfViewer/PdfToolbar.js.map +1 -0
  592. package/dist/features/PdfViewer/PdfViewer.js +2 -0
  593. package/dist/features/PdfViewer/PdfViewer.js.map +1 -0
  594. package/dist/features/PdfViewer/usePdfHighlight.js +2 -0
  595. package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -0
  596. package/dist/features/ProjectAccordion/ProjectAccordion.js +2 -0
  597. package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -0
  598. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +2 -0
  599. package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js.map +1 -0
  600. package/dist/features/ProjectAccordion/_components/Markdown.js +2 -0
  601. package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -0
  602. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  603. package/dist/features/RequirementAI/components/segment/DeleteSegmentsDialog.js +2 -0
  604. package/dist/features/RequirementAI/components/segment/DeleteSegmentsDialog.js.map +1 -0
  605. package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
  606. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  607. package/dist/features/RequirementAI/components/segment/deleteSegmentDialog.module.css.js +2 -0
  608. package/dist/features/RequirementAI/components/segment/deleteSegmentDialog.module.css.js.map +1 -0
  609. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +2 -0
  610. package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -0
  611. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +2 -0
  612. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -0
  613. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +2 -0
  614. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js.map +1 -0
  615. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +2 -0
  616. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -0
  617. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +2 -0
  618. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js.map +1 -0
  619. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +2 -0
  620. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -0
  621. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +2 -0
  622. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js.map +1 -0
  623. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +2 -0
  624. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -0
  625. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +2 -0
  626. package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js.map +1 -0
  627. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +2 -0
  628. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -0
  629. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +2 -0
  630. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -0
  631. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +2 -0
  632. package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -0
  633. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +2 -0
  634. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -0
  635. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +2 -0
  636. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -0
  637. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +2 -0
  638. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -0
  639. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +2 -0
  640. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -0
  641. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +2 -0
  642. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -0
  643. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +2 -0
  644. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -0
  645. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +2 -0
  646. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -0
  647. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +2 -0
  648. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -0
  649. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +2 -0
  650. package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js.map +1 -0
  651. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +2 -0
  652. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -0
  653. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +2 -0
  654. package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js.map +1 -0
  655. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +2 -0
  656. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -0
  657. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +2 -0
  658. package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js.map +1 -0
  659. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +2 -0
  660. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -0
  661. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +2 -0
  662. package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js.map +1 -0
  663. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +2 -0
  664. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -0
  665. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +2 -0
  666. package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js.map +1 -0
  667. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +2 -0
  668. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -0
  669. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +2 -0
  670. package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js.map +1 -0
  671. package/dist/features/ScannedDocCitation/ScannedDocCitation.js +2 -0
  672. package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -0
  673. package/dist/features/SplitterCitations/Splitter.module.css.js +2 -0
  674. package/dist/features/SplitterCitations/Splitter.module.css.js.map +1 -0
  675. package/dist/features/SplitterCitations/SplitterCitationsComponent.js +2 -0
  676. package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -0
  677. package/dist/features/TableCitation/TableCitationContent.js +2 -0
  678. package/dist/features/TableCitation/TableCitationContent.js.map +1 -0
  679. package/dist/features/TableCitation/TableCitationContent.module.css.js +2 -0
  680. package/dist/features/TableCitation/TableCitationContent.module.css.js.map +1 -0
  681. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +2 -0
  682. package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -0
  683. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +2 -0
  684. package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js.map +1 -0
  685. package/dist/types/node_modules/react-markdown/lib/complex-types.d.ts +23 -0
  686. package/dist/types/node_modules/react-markdown/lib/complex-types.d.ts.map +1 -0
  687. package/dist/types/src/AccordianHeadTest.d.ts +2 -0
  688. package/dist/types/src/AccordianHeadTest.d.ts.map +1 -0
  689. package/dist/types/src/AutopilotStyle.d.ts +2 -0
  690. package/dist/types/src/AutopilotStyle.d.ts.map +1 -0
  691. package/dist/types/src/BookCitationTest.d.ts +3 -0
  692. package/dist/types/src/BookCitationTest.d.ts.map +1 -0
  693. package/dist/types/src/BookemonTest.d.ts +83 -0
  694. package/dist/types/src/BookemonTest.d.ts.map +1 -0
  695. package/dist/types/src/ChatCitationTest.d.ts +7 -0
  696. package/dist/types/src/ChatCitationTest.d.ts.map +1 -0
  697. package/dist/types/src/ChatDrawerTest.d.ts +17 -0
  698. package/dist/types/src/ChatDrawerTest.d.ts.map +1 -0
  699. package/dist/types/src/CodeCitationTest.d.ts +3 -0
  700. package/dist/types/src/CodeCitationTest.d.ts.map +1 -0
  701. package/dist/types/src/CognitiveCompareTest.d.ts +3 -0
  702. package/dist/types/src/CognitiveCompareTest.d.ts.map +1 -0
  703. package/dist/types/src/DatagestMonTest.d.ts +3 -0
  704. package/dist/types/src/DatagestMonTest.d.ts.map +1 -0
  705. package/dist/types/src/DbCodeCitationTest.d.ts +3 -0
  706. package/dist/types/src/DbCodeCitationTest.d.ts.map +1 -0
  707. package/dist/types/src/EmailCitationTest.d.ts +3 -0
  708. package/dist/types/src/EmailCitationTest.d.ts.map +1 -0
  709. package/dist/types/src/ExcelCitationTest.d.ts +2 -0
  710. package/dist/types/src/ExcelCitationTest.d.ts.map +1 -0
  711. package/dist/types/src/MarkdownWithImageCitationTest.d.ts +3 -0
  712. package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +1 -0
  713. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +3 -0
  714. package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +1 -0
  715. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +15 -0
  716. package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +1 -0
  717. package/dist/types/src/PdfViewerTest.d.ts +5 -0
  718. package/dist/types/src/PdfViewerTest.d.ts.map +1 -0
  719. package/dist/types/src/ProjectAccordianTest.d.ts +3 -0
  720. package/dist/types/src/ProjectAccordianTest.d.ts.map +1 -0
  721. package/dist/types/src/RequirementAICitationTest.d.ts +3 -0
  722. package/dist/types/src/RequirementAICitationTest.d.ts.map +1 -0
  723. package/dist/types/src/ScannedDocCitationTest.d.ts +2 -0
  724. package/dist/types/src/ScannedDocCitationTest.d.ts.map +1 -0
  725. package/dist/types/src/TableCitationTest.d.ts +3 -0
  726. package/dist/types/src/TableCitationTest.d.ts.map +1 -0
  727. package/dist/types/src/assests/svg/SparkleIcon.d.ts +3 -0
  728. package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +1 -0
  729. package/dist/types/src/context/DataSelectedContext.d.ts +73 -0
  730. package/dist/types/src/context/DataSelectedContext.d.ts.map +1 -0
  731. package/dist/types/src/features/BookCitation/BookCitation.d.ts +42 -0
  732. package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +1 -0
  733. package/dist/types/src/features/BookCitation/text-cleaner.d.ts +2 -0
  734. package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +1 -0
  735. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +21 -0
  736. package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
  737. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +13 -0
  738. package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
  739. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +52 -0
  740. package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
  741. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +20 -0
  742. package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
  743. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +35 -0
  744. package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
  745. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
  746. package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
  747. package/dist/types/src/features/Bookemon/Bookemon.d.ts +9 -0
  748. package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +1 -0
  749. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +7 -0
  750. package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
  751. package/dist/types/src/features/Bookemon/BookemonContent.d.ts +3 -0
  752. package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +1 -0
  753. package/dist/types/src/features/Bookemon/types/citation.types.d.ts +65 -0
  754. package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +1 -0
  755. package/dist/types/src/features/Bookemon/utils/highlight.d.ts +7 -0
  756. package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +1 -0
  757. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +8 -0
  758. package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
  759. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +26 -0
  760. package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
  761. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
  762. package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
  763. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +3 -0
  764. package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +1 -0
  765. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +8 -0
  766. package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
  767. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +15 -0
  768. package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
  769. package/dist/types/src/features/ChatCitation/components/Chip.d.ts +8 -0
  770. package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +1 -0
  771. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +10 -0
  772. package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
  773. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +8 -0
  774. package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
  775. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +11 -0
  776. package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
  777. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +10 -0
  778. package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
  779. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +9 -0
  780. package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
  781. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +19 -0
  782. package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
  783. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +8 -0
  784. package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
  785. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
  786. package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
  787. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
  788. package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
  789. package/dist/types/src/features/ChatCitation/constants/icons.d.ts +9 -0
  790. package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +1 -0
  791. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +7 -0
  792. package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +1 -0
  793. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +111 -0
  794. package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +1 -0
  795. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +16 -0
  796. package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +1 -0
  797. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +5 -0
  798. package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
  799. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +33 -0
  800. package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +1 -0
  801. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +5 -0
  802. package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +1 -0
  803. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
  804. package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
  805. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +8 -0
  806. package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +1 -0
  807. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
  808. package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
  809. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +5 -0
  810. package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
  811. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +8 -0
  812. package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +1 -0
  813. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
  814. package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
  815. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +8 -0
  816. package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +1 -0
  817. package/dist/types/src/features/CitationViewer/components/Header.d.ts +12 -0
  818. package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +1 -0
  819. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
  820. package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
  821. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +10 -0
  822. package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +1 -0
  823. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +3 -0
  824. package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
  825. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
  826. package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
  827. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
  828. package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
  829. package/dist/types/src/features/CitationViewer/types/artifact.d.ts +59 -0
  830. package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +1 -0
  831. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +49 -0
  832. package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +1 -0
  833. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +10 -0
  834. package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
  835. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +31 -0
  836. package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
  837. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
  838. package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
  839. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
  840. package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
  841. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +6 -0
  842. package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
  843. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
  844. package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
  845. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +4 -0
  846. package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
  847. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
  848. package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
  849. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
  850. package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
  851. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
  852. package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
  853. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
  854. package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
  855. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
  856. package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
  857. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +27 -0
  858. package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
  859. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +11 -0
  860. package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
  861. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +6 -0
  862. package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
  863. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
  864. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
  865. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
  866. package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
  867. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +283 -0
  868. package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
  869. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +65 -0
  870. package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
  871. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
  872. package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
  873. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +68 -0
  874. package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
  875. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +3 -0
  876. package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
  877. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +17 -0
  878. package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
  879. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
  880. package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
  881. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
  882. package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
  883. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
  884. package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
  885. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +12 -0
  886. package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
  887. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
  888. package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
  889. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
  890. package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
  891. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
  892. package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
  893. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
  894. package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
  895. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +13 -0
  896. package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
  897. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
  898. package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
  899. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
  900. package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
  901. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +8 -0
  902. package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
  903. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
  904. package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
  905. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
  906. package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
  907. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +18 -0
  908. package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
  909. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +24 -0
  910. package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +1 -0
  911. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
  912. package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
  913. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
  914. package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
  915. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +27 -0
  916. package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
  917. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
  918. package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
  919. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
  920. package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
  921. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +35 -0
  922. package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
  923. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +15 -0
  924. package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
  925. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
  926. package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
  927. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
  928. package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
  929. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +7 -0
  930. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +1 -0
  931. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
  932. package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
  933. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +16 -0
  934. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
  935. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +25 -0
  936. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
  937. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +5 -0
  938. package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +1 -0
  939. package/dist/types/src/features/DataSelector/DataSelector.d.ts +18 -0
  940. package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +1 -0
  941. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
  942. package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
  943. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
  944. package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
  945. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
  946. package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
  947. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +3 -0
  948. package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
  949. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +3 -0
  950. package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
  951. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
  952. package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
  953. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +3 -0
  954. package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
  955. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +11 -0
  956. package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
  957. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +7 -0
  958. package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +1 -0
  959. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +4 -0
  960. package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +1 -0
  961. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +21 -0
  962. package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +1 -0
  963. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +19 -0
  964. package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +1 -0
  965. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +7 -0
  966. package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +1 -0
  967. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +43 -0
  968. package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +1 -0
  969. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +10 -0
  970. package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +1 -0
  971. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +15 -0
  972. package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
  973. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +2 -0
  974. package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +1 -0
  975. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +26 -0
  976. package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
  977. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +7 -0
  978. package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +1 -0
  979. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
  980. package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
  981. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
  982. package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
  983. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +2 -0
  984. package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +1 -0
  985. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +49 -0
  986. package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
  987. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
  988. package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
  989. package/dist/types/src/features/ManageRemainders/types/type.d.ts +79 -0
  990. package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +1 -0
  991. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
  992. package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
  993. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +27 -0
  994. package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
  995. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
  996. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
  997. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +2 -0
  998. package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +1 -0
  999. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +14 -0
  1000. package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +1 -0
  1001. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +33 -0
  1002. package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +1 -0
  1003. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +26 -0
  1004. package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
  1005. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +69 -0
  1006. package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -0
  1007. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +26 -0
  1008. package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
  1009. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
  1010. package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
  1011. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
  1012. package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
  1013. package/dist/types/src/features/ProjectAccordion/index.d.ts +2 -0
  1014. package/dist/types/src/features/ProjectAccordion/index.d.ts.map +1 -0
  1015. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +10 -6
  1016. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  1017. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  1018. package/dist/types/src/features/RequirementAI/components/segment/DeleteSegmentsDialog.d.ts +13 -0
  1019. package/dist/types/src/features/RequirementAI/components/segment/DeleteSegmentsDialog.d.ts.map +1 -0
  1020. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +5 -1
  1021. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
  1022. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
  1023. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +21 -1
  1024. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
  1025. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +2 -0
  1026. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
  1027. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
  1028. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
  1029. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +52 -0
  1030. package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
  1031. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +4 -0
  1032. package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +1 -0
  1033. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +57 -0
  1034. package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
  1035. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +24 -0
  1036. package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
  1037. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +4 -0
  1038. package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +1 -0
  1039. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +14 -0
  1040. package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +1 -0
  1041. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +5 -0
  1042. package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +1 -0
  1043. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +13 -0
  1044. package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
  1045. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +3 -0
  1046. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +1 -0
  1047. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +3 -0
  1048. package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +1 -0
  1049. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +3 -0
  1050. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +1 -0
  1051. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +3 -0
  1052. package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +1 -0
  1053. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
  1054. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
  1055. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +3 -0
  1056. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +1 -0
  1057. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
  1058. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
  1059. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +3 -0
  1060. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +1 -0
  1061. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +21 -0
  1062. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +1 -0
  1063. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +33 -0
  1064. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +1 -0
  1065. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +19 -0
  1066. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +1 -0
  1067. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +8 -0
  1068. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +1 -0
  1069. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +17 -0
  1070. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +1 -0
  1071. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +26 -0
  1072. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +1 -0
  1073. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +11 -0
  1074. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +1 -0
  1075. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +3 -0
  1076. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +1 -0
  1077. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +3 -0
  1078. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +1 -0
  1079. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +3 -0
  1080. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +1 -0
  1081. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1108 -0
  1082. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
  1083. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
  1084. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
  1085. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
  1086. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
  1087. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
  1088. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
  1089. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
  1090. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
  1091. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
  1092. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
  1093. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
  1094. package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
  1095. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +3 -0
  1096. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +1 -0
  1097. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +3 -0
  1098. package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +1 -0
  1099. package/dist/types/src/features/UploadData/NotFound.d.ts +4 -0
  1100. package/dist/types/src/features/UploadData/NotFound.d.ts.map +1 -0
  1101. package/dist/types/src/features/UploadData/main.d.ts +10 -0
  1102. package/dist/types/src/features/UploadData/main.d.ts.map +1 -0
  1103. package/dist/types/src/methodsToExpose.d.ts +13 -0
  1104. package/dist/types/src/methodsToExpose.d.ts.map +1 -0
  1105. package/dist/types/src/routes/Routes.d.ts +2 -0
  1106. package/dist/types/src/routes/Routes.d.ts.map +1 -0
  1107. package/dist/types/src/service/DataService.d.ts +73 -0
  1108. package/dist/types/src/service/DataService.d.ts.map +1 -0
  1109. package/dist/types/src/service/ModelService.d.ts +68 -0
  1110. package/dist/types/src/service/ModelService.d.ts.map +1 -0
  1111. package/dist/types/src/service/ProjectService.d.ts +16 -0
  1112. package/dist/types/src/service/ProjectService.d.ts.map +1 -0
  1113. package/dist/utils/codeCitations.utils.js +2 -0
  1114. package/dist/utils/codeCitations.utils.js.map +1 -0
  1115. package/dist/utils/sanitizeHtml.js +2 -0
  1116. package/dist/utils/sanitizeHtml.js.map +1 -0
  1117. package/dist/utils/themeManager.js +2 -0
  1118. package/dist/utils/themeManager.js.map +1 -0
  1119. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const a=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;a&&e.setAttribute("nonce",a),e.appendChild(document.createTextNode(".ManageRemainder-module_mrContainer__kVgxT{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;margin-top:1rem}.ManageRemainder-module_mrSectionBox__bEDtY{border:1px solid #b6c1ca;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;gap:.75rem;padding:.75rem;width:100%}.ManageRemainder-module_mrSectionHeader__5k1HQ{display:flex;flex-direction:column;gap:.25rem}.ManageRemainder-module_mrSectionHeaderContent__eKJWh{display:flex;flex-direction:row;gap:.5rem;justify-content:space-between;width:100%}.ManageRemainder-module_mrSectionHeaderLeft__I-hzD{display:flex;flex-direction:column;gap:.25rem}.ManageRemainder-module_mrSectionHeaderRight__W-BY3{align-items:center;display:flex;gap:.25rem;justify-content:flex-start}.ManageRemainder-module_mrSectionTitleWrapper__NA6i-{align-items:center;display:flex;gap:.5rem}.ManageRemainder-module_mrSectionTitleIcon__6pWZz{align-items:center;display:flex;height:.75rem;justify-content:center;width:.75rem}.ManageRemainder-module_mrSectionTitle__BPAU2{color:#334155;font-size:.875rem;font-weight:600}.ManageRemainder-module_mrSectionDescription__HdkjC{color:#334155;font-size:.75rem;font-weight:400}.ManageRemainder-module_mrIconSmall__kbiWd{color:#334155;height:.75rem;width:.75rem}.ManageRemainder-module_mrIconInfo__U8Ylz{color:#64748b;height:1rem;width:1rem}.ManageRemainder-module_mrIconArrow__wMp9q{stroke:#334155;height:.75rem;width:.75rem}.ManageRemainder-module_mrIconAction__l9uVi{height:1rem;width:1rem}.ManageRemainder-module_mrIconPreview__oYo84{stroke:#64748b;height:1rem;width:1rem}.ManageRemainder-module_mrIconCalendar__2gaaf{color:#1e293b;height:1.25rem;width:1.25rem}.ManageRemainder-module_mrIconChevronToggle__LjUy1{color:#4f46e5;height:1rem;position:fixed;width:1rem}.ManageRemainder-module_mrIconDropdown__-heGj{height:.75rem;width:.75rem}.ManageRemainder-module_mrIconSuccess__EMJrR{color:#16a34a;height:1.5rem;width:1.5rem}.ManageRemainder-module_mrChevronButton__QKLsI{align-items:center;display:flex;justify-content:center}.ManageRemainder-module_mrChevronIcon__CxLkq{height:1.25rem;transition:transform .2s ease;width:1.25rem}.ManageRemainder-module_mrChevronIcon__CxLkq.ManageRemainder-module_mrChevronRotated__NL7Ho{transform:rotate(180deg)}.ManageRemainder-module_mrSuccessMessage__4N0gO{align-items:center;display:inline-flex;flex-direction:column;gap:.75rem;width:100%}.ManageRemainder-module_mrSuccessIcon__PsybU{align-items:center;background-color:#dcfce7;border-radius:9999px;box-shadow:0 0 0 4px #fff;display:flex;height:3rem;justify-content:center;width:3rem}.ManageRemainder-module_mrSuccessIconInner__yEl8-{height:1.5rem;position:relative;width:1.5rem}.ManageRemainder-module_mrSuccessText__-hXJh{align-items:center;display:flex;flex-direction:column;gap:.25rem;text-align:center}.ManageRemainder-module_mrSuccessTitle__Zakof{color:#166534;font-size:1rem;font-weight:500;line-height:1.5}.ManageRemainder-module_mrSuccessDescription__-r7A8{color:#22c55e;font-size:.875rem;font-weight:400;line-height:1.25}.ManageRemainder-module_mrRecipientsSection__L0f1k{display:flex;flex-direction:column;gap:.5rem}.ManageRemainder-module_mrRecipientsLabel__Escta{color:#3f3f46;font-size:.75rem;font-weight:500}.ManageRemainder-module_mrRecipientsGrid__-7giX{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:.75rem}.ManageRemainder-module_mrRecipientItem__C0uw5{align-items:center;background-color:#fff;border:1px solid #cbd5e1;border-radius:.375rem;display:flex;gap:.5rem;padding:.25rem .5rem}.ManageRemainder-module_mrRecipientInfo__djuEp{align-items:center;display:flex;gap:.5rem}.ManageRemainder-module_mrRecipientAvatar__g6YDo{align-items:center;border-radius:9999px;display:flex;font-size:.6875rem;font-weight:500;height:1.5rem;justify-content:center;width:1.5rem}.ManageRemainder-module_mrRecipientName__gFCJU{color:#3f3f46;font-size:.875rem}.ManageRemainder-module_mrCheckboxUnchecked__j0wYE{background-color:#fff;border:1px solid #d0d5dd;border-radius:.25rem;height:1rem;width:1rem}.ManageRemainder-module_mrCheckboxChecked__TowNb{align-items:center;background-color:#fff;border:1px solid #6938ef;border-radius:.25rem;display:flex;height:1rem;justify-content:center;width:1rem}.ManageRemainder-module_mrCheckboxIcon__RVL-V{height:.625rem;width:.625rem}.ManageRemainder-module_mrActionsSection__in30u{display:flex;gap:.75rem}.ManageRemainder-module_mrActionButton__x9IEC{align-items:center;border:none;border-radius:.375rem;cursor:pointer;display:flex;flex:1;font-size:.875rem;font-weight:500;gap:.5rem;height:2.25rem;justify-content:center}.ManageRemainder-module_mrActionButtonSecondary__GBvpQ{background-color:#fff;border:1px solid #a5b4fc;color:#4f46e5}.ManageRemainder-module_mrActionButtonSecondary__GBvpQ:hover{background-color:#f3f4f6}.ManageRemainder-module_mrActionButtonPrimary__vRNbF{background-color:#4f46e5;color:#fff}.ManageRemainder-module_mrActionButtonPrimary__vRNbF:hover{background-color:#4338ca}.ManageRemainder-module_mrMainContent__2gAUU{display:flex;flex-direction:row;gap:1.75rem;width:100%}.ManageRemainder-module_mrEscalationContainer__V4PfB{background-color:#ffffffb3;border-radius:10px;display:flex;flex:1;flex-direction:column;gap:.75rem;min-width:0;outline:1px solid #b6c1ca;outline-offset:-1px;padding:.75rem}.ManageRemainder-module_mrEscalationHeaderWrapper__vOg2K{cursor:pointer;display:flex;flex-direction:column;gap:.25rem;justify-content:space-between}.ManageRemainder-module_mrEscalationHeader__sV-tw{align-items:center;display:flex;gap:.5rem;justify-content:space-between}.ManageRemainder-module_mrEscalationTitleWrapper__G90xv{align-items:center;display:flex;gap:.5rem}.ManageRemainder-module_mrEscalationTitleText__X233z{color:#3f3f46;font-size:.875rem;font-weight:600;line-height:1.25}.ManageRemainder-module_mrTooltipIcon__QpPGO{height:1rem;overflow:hidden;position:relative;width:1rem}.ManageRemainder-module_mrEscalationActions__RoHhx{align-items:center;display:flex;gap:.5rem}.ManageRemainder-module_mrEscalationPreviewButton__68J90{align-items:center;background-color:#fff;border:none;border-radius:1.29rem;box-shadow:0 1px 2px 0 #0000000d;cursor:pointer;display:flex;gap:.375rem;height:1.75rem;outline:.54px solid #d1d5db;outline-offset:-.54px;padding:.375rem .875rem}.ManageRemainder-module_mrEscalationPreviewIcon__KNa9K{height:1rem;overflow:hidden;position:relative;width:1rem}.ManageRemainder-module_mrEscalationPreviewText__FM5S5{color:#6b7280;font-size:.75rem;font-weight:400;line-height:1rem}.ManageRemainder-module_mrEscalationDescription__z-3q8{color:#334155;font-size:.75rem;font-weight:400}.ManageRemainder-module_mrReorderGroup__sLaAn{display:flex;flex-direction:column;gap:1.5rem}.ManageRemainder-module_mrReminderItem__kwd0b{display:flex;gap:1rem;justify-content:space-between;width:100%}.ManageRemainder-module_mrReminderLabelBox__KRi5V{display:flex;flex-shrink:0;justify-content:center;width:90px}.ManageRemainder-module_mrReminderLabelInner__GuTh-{align-items:center;display:flex}.ManageRemainder-module_mrReminderContent__yKbGS{align-items:center;display:flex;gap:1rem;width:100%}.ManageRemainder-module_mrDragHandle__4Lz8t{align-items:center;cursor:grab;display:flex;gap:.75rem}.ManageRemainder-module_mrReminderBox__ur54z{border-radius:.75rem;padding:.5rem;width:100%}.ManageRemainder-module_mrReminderFields__yQROF{display:flex;flex-direction:column;flex-wrap:wrap;gap:1rem;width:100%}.ManageRemainder-module_mrReminderHeader__wMUF6{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;width:100%}.ManageRemainder-module_mrReminderAssignee__0p1Gb{align-items:center;display:flex;gap:.75rem}.ManageRemainder-module_mrReminderAvatar__6KM5V{align-items:center;background-color:#dbeafe;border-radius:9999px;display:flex;height:1.75rem;justify-content:center;width:1.75rem}.ManageRemainder-module_mrReminderInitials__bUFkd{color:#1e40af;font-size:.625rem;font-weight:500}.ManageRemainder-module_mrReminderName__zjceM{color:#1f2937;font-size:.75rem;font-weight:500}.ManageRemainder-module_mrReminderStatement__7Y0B-{border-radius:9999px;display:flex;padding:.5rem .75rem}.ManageRemainder-module_mrReminderStatementText__LodbK{font-size:.625rem;font-weight:500;letter-spacing:-.01em}.ManageRemainder-module_mrReminderDateFields__GT4N9{align-items:flex-start;display:flex;gap:1.5rem;width:100%}.ManageRemainder-module_mrReminderField__XBiO4{width:100%}.ManageRemainder-module_mrReminderFieldLabel__S9dXV{color:#3f3f46;font-size:.75rem;font-weight:500;margin-bottom:.25rem}.ManageRemainder-module_mrReminderDatePicker__Vgbui{align-items:center;box-shadow:0 1px 2px 0 #0000000d;color:#3f3f46;display:flex;font-size:.75rem;gap:.75rem;height:1.75rem;justify-content:space-between}.ManageRemainder-module_mrReminderDueDate__7nawQ{align-items:center;background-color:#f1f5f9;border:.5px solid #cbd5e1;border-radius:0;color:#64748b;display:flex;font-size:.75rem;height:1.75rem;padding:0 .75rem}.ManageRemainder-module_mrReminderFrequency__Qq1qa{align-items:center;display:flex;gap:.5rem}.ManageRemainder-module_mrReminderFrequencyText__lGfl0{color:#374151;font-size:.75rem}.ManageRemainder-module_mrEscalationCheckbox__xZrG3{align-items:flex-start;border:1px solid #e5e7eb;border-radius:.25rem;color:#3f3f46;display:flex;flex-direction:column;font-size:.75rem;font-weight:500;gap:.5rem;padding:.5rem;width:100%}.ManageRemainder-module_mrEscalationCheckboxHeader__1GgFB{align-items:flex-start;display:flex;gap:.5rem;justify-content:flex-start;width:100%}.ManageRemainder-module_mrEscalationContent__ItAyr{display:flex;flex-direction:column;gap:.5rem;overflow:hidden;width:100%}.ManageRemainder-module_mrEscalationCondition__4GCeD{color:#3f3f46;font-family:Inter,sans-serif;font-size:.75rem;font-weight:500;line-height:1;margin-top:.75rem;width:100%}.ManageRemainder-module_mrEscalationFields__oFHp-{align-items:flex-end;display:flex;flex-wrap:wrap;gap:1.5rem;gap:.625rem;width:100%}.ManageRemainder-module_mrEscalationFieldGroup__uES3-{display:flex;flex:1;gap:.75rem;min-width:130px}.ManageRemainder-module_mrEscalationFieldGroupLarge__MpVYP{flex:1;min-width:265px}.ManageRemainder-module_mrEscalationFieldGroupSmall__FFbRJ{display:flex;flex:1;min-width:88px}.ManageRemainder-module_mrEscalationFieldText__n7EfI{color:#3f3f46;font-family:Inter,sans-serif;font-size:.75rem;font-weight:500;line-height:1.5;min-width:152px}.ManageRemainder-module_mrDropdownButton__9wvGh{align-items:center;cursor:pointer;display:flex;justify-content:center}.ManageRemainder-module_mrCalendarPanel__PnMpt{flex-shrink:0;position:relative}.ManageRemainder-module_mrCalendarCollapsed__mb-bI{background-color:#fff;border:1px solid #b6c1ca;border-radius:10px;display:flex;height:100%;justify-content:center;padding-top:281px;width:43px}.ManageRemainder-module_mrCalendarToggle__9HIet{align-items:center;background:none;border:none;cursor:pointer;display:flex;height:3rem;justify-content:center;left:-26px;position:absolute;top:50%;transform:translateY(-50%);width:2.25rem;z-index:10}@media (max-width:1024px){.ManageRemainder-module_mrMainContent__2gAUU{flex-direction:column;gap:1rem}.ManageRemainder-module_mrCalendarPanel__PnMpt{width:100%}.ManageRemainder-module_mrCalendarToggle__9HIet{display:none}}@media (max-width:768px){.ManageRemainder-module_mrContainer__kVgxT{gap:.5rem;margin-top:.5rem}.ManageRemainder-module_mrSectionBox__bEDtY{gap:.5rem;padding:.5rem}.ManageRemainder-module_mrActionsSection__in30u,.ManageRemainder-module_mrSectionHeaderContent__eKJWh{flex-direction:column}.ManageRemainder-module_mrActionButton__x9IEC{height:2rem}.ManageRemainder-module_mrReminderDateFields__GT4N9{flex-direction:column;gap:1rem}.ManageRemainder-module_mrReminderContent__yKbGS,.ManageRemainder-module_mrReminderItem__kwd0b{gap:.5rem}.ManageRemainder-module_mrEscalationFields__oFHp-{flex-direction:column}.ManageRemainder-module_mrEscalationFieldGroupLarge__MpVYP,.ManageRemainder-module_mrEscalationFieldGroupSmall__FFbRJ,.ManageRemainder-module_mrEscalationFieldGroup__uES3-{min-width:100%;width:100%}.ManageRemainder-module_mrEscalationFieldText__n7EfI{min-width:auto}.ManageRemainder-module_mrReminderLabelBox__KRi5V{width:100%}}button:focus{outline:2px solid #4f46e5;outline-offset:2px}button:active{opacity:.9}.ManageRemainder-module_mrHiddenSection__c67oj{overflow:hidden}.ManageRemainder-module_mrNoPointerEvents__OQbav{pointer-events:none}.ManageRemainder-module_mrPointerEventsAuto__0avRT{pointer-events:auto}.ManageRemainder-module_calendarContainer__N804t{background-color:#fff;border:1px solid #b6c1ca;border-radius:8px;height:100%;min-width:345px;padding:16px}.ManageRemainder-module_calendarHeader__BjE9o{align-items:center;display:flex;gap:6px;margin-bottom:24px}.ManageRemainder-module_calendarHeaderTitle__U8NmV{align-items:center;color:#334155;display:flex;font-size:14px;font-weight:600;gap:6px;line-height:20px}.ManageRemainder-module_calendarHeaderInfo__s05VQ{height:16px;width:16px}.ManageRemainder-module_monthNav__FBbyi{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.ManageRemainder-module_monthNavBtn__oor7V{align-items:center;background:none;border:1px solid #dce0e5;border-radius:8px;cursor:pointer;display:flex;justify-content:center;padding:8px}.ManageRemainder-module_monthNavTitle__zgDDq{color:#14181f;font-size:15px;font-weight:600;margin:0}.ManageRemainder-module_weekdayHeader__XciP8{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:8px}.ManageRemainder-module_weekdayLabel__dDWJo{color:#6f7c8e;font-size:15px;font-weight:400;text-align:center}.ManageRemainder-module_dayGrid__dT0og{display:grid;gap:8px 11px;grid-template-columns:repeat(7,1fr);margin-top:16px}.ManageRemainder-module_dayCell__AGx-w{align-items:center;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;height:35px;justify-content:center}.ManageRemainder-module_dayCellPast__91hbu{background-color:#daf7d2}.ManageRemainder-module_dayCellToday__q8Wvi{border:2px solid #4f46e5}.ManageRemainder-module_dayNumber__6yOVW{font-size:14px}.ManageRemainder-module_dayNumberCurrent__6ML9j{color:#0f172a}.ManageRemainder-module_dayNumberOutside__JQ-t7{color:#94a3b8}.ManageRemainder-module_indicatorWrapper__5FOym{align-items:center;display:flex}.ManageRemainder-module_indicatorDot__ElweF{border-radius:50%;height:6px;width:6px}.ManageRemainder-module_indicatorDotOverlap__QPBRy{margin-left:-1px}.ManageRemainder-module_tooltipContent__ErzOu{background-color:#f8fafc;border-radius:8px;min-width:120px;padding:8px}.ManageRemainder-module_tooltipHeader__Q4qHO{border-bottom:1px solid #cbd5e1;margin-bottom:4px;padding-bottom:4px}.ManageRemainder-module_tooltipTitle__iZtI4{color:#0f172a;font-size:10px;font-weight:500;line-height:16px}.ManageRemainder-module_tooltipDate__ulMaQ{color:#334155;font-size:8px;font-weight:400;line-height:16px}.ManageRemainder-module_tooltipAssignees__jGc-Y{display:flex;flex-direction:column;gap:2px}.ManageRemainder-module_tooltipAssigneeRow__nzr3m{align-items:center;display:flex;gap:12px;justify-content:space-between}.ManageRemainder-module_tooltipAssigneeInfo__vIXTP{align-items:center;display:flex;gap:4px}.ManageRemainder-module_tooltipAssigneeDot__yz6E6{border-radius:50%;height:8px;width:8px}.ManageRemainder-module_tooltipAssigneeName__JJbid{color:#0f172a;font-size:9px;font-weight:400;line-height:16px}.ManageRemainder-module_tooltipAssigneeCount__49OVk{color:#0f172a;font-size:9px;font-weight:500;line-height:16px}.ManageRemainder-module_legendWrapper__OfxhE{align-items:flex-start;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:38px}.ManageRemainder-module_legendInner__iwIe7{align-items:flex-start;display:flex;gap:6px}.ManageRemainder-module_legendItem__zbxBG{align-items:center;border-radius:4px;cursor:pointer;display:flex;gap:4px;padding:4px 8px;width:100%}.ManageRemainder-module_legendItemAssignee1__I6F-D{background-color:#fdf2f8;border:1px solid #be185d}.ManageRemainder-module_legendItemAssignee2__YObVW{background-color:#eef2ff;border:1px solid #4338ca}.ManageRemainder-module_legendItemAssignee3__uCkBW{background-color:#fff7ed;border:1px solid #f87171;justify-content:center}.ManageRemainder-module_legendLabel__Va4Sw{font-size:12px;font-weight:500}.ManageRemainder-module_legendLabelAssignee1__vG-F4{color:#be185d}.ManageRemainder-module_legendLabelAssignee2__CbGVb{color:#4338ca}.ManageRemainder-module_legendLabelAssignee3__cz-57{color:#f87171}.ManageRemainder-module_checkboxIconUnchecked__xoI0S{background-color:#fff;border:1px solid #d0d5dd;border-radius:4px;height:16px;width:16px}.ManageRemainder-module_checkboxIconChecked__Y3mN2{align-items:center;background-color:#fff;border-radius:4px;display:flex;height:16px;justify-content:center;width:16px}.ManageRemainder-module_checkboxIconCheckedAssignee1__817aZ{border:1px solid #c11574}.ManageRemainder-module_checkboxIconCheckedAssignee2__hTAKp{border:1px solid #3538cd}.ManageRemainder-module_checkboxIconCheckedAssignee3__hQwwN{border:1px solid #ff6058}.ManageRemainder-module_checkboxCheckSvg__R87mg{height:10px;width:10px}.ManageRemainder-module_bottomLegend__rRzkt{align-items:center;display:inline-flex;gap:24px;margin-left:4px;margin-top:16px}.ManageRemainder-module_bottomLegendItem__u90vA{align-items:center;display:flex;gap:4px}.ManageRemainder-module_bottomLegendSwatch__9uu1M{border-radius:2px;height:12px;width:12px}.ManageRemainder-module_bottomLegendSwatchPast__-DcRZ{background-color:#daf7d2}.ManageRemainder-module_bottomLegendSwatchFailed__9lK2I{background-color:#fecaca}.ManageRemainder-module_bottomLegendLabel__9eDD-{color:#334155;font-size:12px;font-weight:500}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}(),exports.default={mrContainer:"ManageRemainder-module_mrContainer__kVgxT",mrSectionBox:"ManageRemainder-module_mrSectionBox__bEDtY",mrSectionHeader:"ManageRemainder-module_mrSectionHeader__5k1HQ",mrSectionHeaderContent:"ManageRemainder-module_mrSectionHeaderContent__eKJWh",mrSectionHeaderLeft:"ManageRemainder-module_mrSectionHeaderLeft__I-hzD",mrSectionHeaderRight:"ManageRemainder-module_mrSectionHeaderRight__W-BY3",mrSectionTitleWrapper:"ManageRemainder-module_mrSectionTitleWrapper__NA6i-",mrSectionTitleIcon:"ManageRemainder-module_mrSectionTitleIcon__6pWZz",mrSectionTitle:"ManageRemainder-module_mrSectionTitle__BPAU2",mrSectionDescription:"ManageRemainder-module_mrSectionDescription__HdkjC",mrIconSmall:"ManageRemainder-module_mrIconSmall__kbiWd",mrIconInfo:"ManageRemainder-module_mrIconInfo__U8Ylz",mrIconArrow:"ManageRemainder-module_mrIconArrow__wMp9q",mrIconAction:"ManageRemainder-module_mrIconAction__l9uVi",mrIconPreview:"ManageRemainder-module_mrIconPreview__oYo84",mrIconCalendar:"ManageRemainder-module_mrIconCalendar__2gaaf",mrIconChevronToggle:"ManageRemainder-module_mrIconChevronToggle__LjUy1",mrIconDropdown:"ManageRemainder-module_mrIconDropdown__-heGj",mrIconSuccess:"ManageRemainder-module_mrIconSuccess__EMJrR",mrChevronButton:"ManageRemainder-module_mrChevronButton__QKLsI",mrChevronIcon:"ManageRemainder-module_mrChevronIcon__CxLkq",mrChevronRotated:"ManageRemainder-module_mrChevronRotated__NL7Ho",mrSuccessMessage:"ManageRemainder-module_mrSuccessMessage__4N0gO",mrSuccessIcon:"ManageRemainder-module_mrSuccessIcon__PsybU",mrSuccessIconInner:"ManageRemainder-module_mrSuccessIconInner__yEl8-",mrSuccessText:"ManageRemainder-module_mrSuccessText__-hXJh",mrSuccessTitle:"ManageRemainder-module_mrSuccessTitle__Zakof",mrSuccessDescription:"ManageRemainder-module_mrSuccessDescription__-r7A8",mrHiddenSection:"ManageRemainder-module_mrHiddenSection__c67oj",mrRecipientsSection:"ManageRemainder-module_mrRecipientsSection__L0f1k",mrRecipientsLabel:"ManageRemainder-module_mrRecipientsLabel__Escta",mrRecipientsGrid:"ManageRemainder-module_mrRecipientsGrid__-7giX",mrRecipientItem:"ManageRemainder-module_mrRecipientItem__C0uw5",mrRecipientInfo:"ManageRemainder-module_mrRecipientInfo__djuEp",mrRecipientAvatar:"ManageRemainder-module_mrRecipientAvatar__g6YDo",mrRecipientName:"ManageRemainder-module_mrRecipientName__gFCJU",mrCheckboxUnchecked:"ManageRemainder-module_mrCheckboxUnchecked__j0wYE",mrCheckboxChecked:"ManageRemainder-module_mrCheckboxChecked__TowNb",mrCheckboxIcon:"ManageRemainder-module_mrCheckboxIcon__RVL-V",mrActionsSection:"ManageRemainder-module_mrActionsSection__in30u",mrActionButton:"ManageRemainder-module_mrActionButton__x9IEC",mrActionButtonSecondary:"ManageRemainder-module_mrActionButtonSecondary__GBvpQ",mrActionButtonPrimary:"ManageRemainder-module_mrActionButtonPrimary__vRNbF",mrMainContent:"ManageRemainder-module_mrMainContent__2gAUU",mrEscalationContainer:"ManageRemainder-module_mrEscalationContainer__V4PfB",mrEscalationHeaderWrapper:"ManageRemainder-module_mrEscalationHeaderWrapper__vOg2K",mrEscalationHeader:"ManageRemainder-module_mrEscalationHeader__sV-tw",mrEscalationTitleWrapper:"ManageRemainder-module_mrEscalationTitleWrapper__G90xv",mrEscalationTitleText:"ManageRemainder-module_mrEscalationTitleText__X233z",mrTooltipIcon:"ManageRemainder-module_mrTooltipIcon__QpPGO",mrEscalationActions:"ManageRemainder-module_mrEscalationActions__RoHhx",mrEscalationPreviewButton:"ManageRemainder-module_mrEscalationPreviewButton__68J90",mrEscalationPreviewIcon:"ManageRemainder-module_mrEscalationPreviewIcon__KNa9K",mrEscalationPreviewText:"ManageRemainder-module_mrEscalationPreviewText__FM5S5",mrEscalationDescription:"ManageRemainder-module_mrEscalationDescription__z-3q8",mrReorderGroup:"ManageRemainder-module_mrReorderGroup__sLaAn",mrReminderItem:"ManageRemainder-module_mrReminderItem__kwd0b",mrReminderLabelBox:"ManageRemainder-module_mrReminderLabelBox__KRi5V",mrReminderLabelInner:"ManageRemainder-module_mrReminderLabelInner__GuTh-",mrReminderContent:"ManageRemainder-module_mrReminderContent__yKbGS",mrDragHandle:"ManageRemainder-module_mrDragHandle__4Lz8t",mrReminderBox:"ManageRemainder-module_mrReminderBox__ur54z",mrReminderFields:"ManageRemainder-module_mrReminderFields__yQROF",mrReminderHeader:"ManageRemainder-module_mrReminderHeader__wMUF6",mrReminderAssignee:"ManageRemainder-module_mrReminderAssignee__0p1Gb",mrReminderAvatar:"ManageRemainder-module_mrReminderAvatar__6KM5V",mrReminderInitials:"ManageRemainder-module_mrReminderInitials__bUFkd",mrReminderName:"ManageRemainder-module_mrReminderName__zjceM",mrReminderStatement:"ManageRemainder-module_mrReminderStatement__7Y0B-",mrReminderStatementText:"ManageRemainder-module_mrReminderStatementText__LodbK",mrReminderDateFields:"ManageRemainder-module_mrReminderDateFields__GT4N9",mrReminderField:"ManageRemainder-module_mrReminderField__XBiO4",mrReminderFieldLabel:"ManageRemainder-module_mrReminderFieldLabel__S9dXV",mrReminderDatePicker:"ManageRemainder-module_mrReminderDatePicker__Vgbui",mrReminderDueDate:"ManageRemainder-module_mrReminderDueDate__7nawQ",mrReminderFrequency:"ManageRemainder-module_mrReminderFrequency__Qq1qa",mrReminderFrequencyText:"ManageRemainder-module_mrReminderFrequencyText__lGfl0",mrEscalationCheckbox:"ManageRemainder-module_mrEscalationCheckbox__xZrG3",mrEscalationCheckboxHeader:"ManageRemainder-module_mrEscalationCheckboxHeader__1GgFB",mrEscalationContent:"ManageRemainder-module_mrEscalationContent__ItAyr",mrEscalationCondition:"ManageRemainder-module_mrEscalationCondition__4GCeD",mrEscalationFields:"ManageRemainder-module_mrEscalationFields__oFHp-",mrEscalationFieldGroup:"ManageRemainder-module_mrEscalationFieldGroup__uES3-",mrEscalationFieldGroupLarge:"ManageRemainder-module_mrEscalationFieldGroupLarge__MpVYP",mrEscalationFieldGroupSmall:"ManageRemainder-module_mrEscalationFieldGroupSmall__FFbRJ",mrEscalationFieldText:"ManageRemainder-module_mrEscalationFieldText__n7EfI",mrDropdownButton:"ManageRemainder-module_mrDropdownButton__9wvGh",mrCalendarPanel:"ManageRemainder-module_mrCalendarPanel__PnMpt",mrCalendarCollapsed:"ManageRemainder-module_mrCalendarCollapsed__mb-bI",mrCalendarToggle:"ManageRemainder-module_mrCalendarToggle__9HIet",mrNoPointerEvents:"ManageRemainder-module_mrNoPointerEvents__OQbav",mrPointerEventsAuto:"ManageRemainder-module_mrPointerEventsAuto__0avRT",calendarContainer:"ManageRemainder-module_calendarContainer__N804t",calendarHeader:"ManageRemainder-module_calendarHeader__BjE9o",calendarHeaderTitle:"ManageRemainder-module_calendarHeaderTitle__U8NmV",calendarHeaderInfo:"ManageRemainder-module_calendarHeaderInfo__s05VQ",monthNav:"ManageRemainder-module_monthNav__FBbyi",monthNavBtn:"ManageRemainder-module_monthNavBtn__oor7V",monthNavTitle:"ManageRemainder-module_monthNavTitle__zgDDq",weekdayHeader:"ManageRemainder-module_weekdayHeader__XciP8",weekdayLabel:"ManageRemainder-module_weekdayLabel__dDWJo",dayGrid:"ManageRemainder-module_dayGrid__dT0og",dayCell:"ManageRemainder-module_dayCell__AGx-w",dayCellPast:"ManageRemainder-module_dayCellPast__91hbu",dayCellToday:"ManageRemainder-module_dayCellToday__q8Wvi",dayNumber:"ManageRemainder-module_dayNumber__6yOVW",dayNumberCurrent:"ManageRemainder-module_dayNumberCurrent__6ML9j",dayNumberOutside:"ManageRemainder-module_dayNumberOutside__JQ-t7",indicatorWrapper:"ManageRemainder-module_indicatorWrapper__5FOym",indicatorDot:"ManageRemainder-module_indicatorDot__ElweF",indicatorDotOverlap:"ManageRemainder-module_indicatorDotOverlap__QPBRy",tooltipContent:"ManageRemainder-module_tooltipContent__ErzOu",tooltipHeader:"ManageRemainder-module_tooltipHeader__Q4qHO",tooltipTitle:"ManageRemainder-module_tooltipTitle__iZtI4",tooltipDate:"ManageRemainder-module_tooltipDate__ulMaQ",tooltipAssignees:"ManageRemainder-module_tooltipAssignees__jGc-Y",tooltipAssigneeRow:"ManageRemainder-module_tooltipAssigneeRow__nzr3m",tooltipAssigneeInfo:"ManageRemainder-module_tooltipAssigneeInfo__vIXTP",tooltipAssigneeDot:"ManageRemainder-module_tooltipAssigneeDot__yz6E6",tooltipAssigneeName:"ManageRemainder-module_tooltipAssigneeName__JJbid",tooltipAssigneeCount:"ManageRemainder-module_tooltipAssigneeCount__49OVk",legendWrapper:"ManageRemainder-module_legendWrapper__OfxhE",legendInner:"ManageRemainder-module_legendInner__iwIe7",legendItem:"ManageRemainder-module_legendItem__zbxBG",legendItemAssignee1:"ManageRemainder-module_legendItemAssignee1__I6F-D",legendItemAssignee2:"ManageRemainder-module_legendItemAssignee2__YObVW",legendItemAssignee3:"ManageRemainder-module_legendItemAssignee3__uCkBW",legendLabel:"ManageRemainder-module_legendLabel__Va4Sw",legendLabelAssignee1:"ManageRemainder-module_legendLabelAssignee1__vG-F4",legendLabelAssignee2:"ManageRemainder-module_legendLabelAssignee2__CbGVb",legendLabelAssignee3:"ManageRemainder-module_legendLabelAssignee3__cz-57",checkboxIconUnchecked:"ManageRemainder-module_checkboxIconUnchecked__xoI0S",checkboxIconChecked:"ManageRemainder-module_checkboxIconChecked__Y3mN2",checkboxIconCheckedAssignee1:"ManageRemainder-module_checkboxIconCheckedAssignee1__817aZ",checkboxIconCheckedAssignee2:"ManageRemainder-module_checkboxIconCheckedAssignee2__hTAKp",checkboxIconCheckedAssignee3:"ManageRemainder-module_checkboxIconCheckedAssignee3__hQwwN",checkboxCheckSvg:"ManageRemainder-module_checkboxCheckSvg__R87mg",bottomLegend:"ManageRemainder-module_bottomLegend__rRzkt",bottomLegendItem:"ManageRemainder-module_bottomLegendItem__u90vA",bottomLegendSwatch:"ManageRemainder-module_bottomLegendSwatch__9uu1M",bottomLegendSwatchPast:"ManageRemainder-module_bottomLegendSwatchPast__-DcRZ",bottomLegendSwatchFailed:"ManageRemainder-module_bottomLegendSwatchFailed__9lK2I",bottomLegendLabel:"ManageRemainder-module_bottomLegendLabel__9eDD-"};
2
+ //# sourceMappingURL=ManageRemainder.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ManageRemainder.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),a=require("react/jsx-runtime"),s=require("react"),n=require("lucide-react"),i=require("@mui/material/Checkbox"),t=require("@mui/material"),r=require("framer-motion"),l=require("@mui/icons-material/DragIndicator"),d=require("@mui/x-date-pickers"),o=require("@mui/x-date-pickers/AdapterDayjs"),c=require("./ReminderFrequencyAutocomplete.js"),u=require("./AssigneeCalendarView.js"),m=require("dayjs"),f=require("./ManageRemainder.module.css.js");function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var v=_(i),h=_(l),x=_(m),g=["Assignee 1","Assignee 2","Assignee 3"],p=[{bg:"#FDF2FA",text:"#C11574"},{bg:"#EEF4FF",text:"#3538CD"},{bg:"#F1F5F9",text:"#344054"}],j=[{bg:"#FDF2FA",text:"#C93185"},{bg:"#EEF2FF",text:"#6366F1"},{bg:"#FFF4E5",text:"#FF6058"}],N=[{id:"1",name:"Assignee 1",color:"#C11574",bg:"#FDF2F8",startDate:new Date("2026-11-09"),dueDate:new Date("2026-12-01")},{id:"2",name:"Assignee 2",color:"#3538CD",bg:"#EEF4FF",startDate:new Date("2026-11-21"),dueDate:new Date("2026-12-03")},{id:"3",name:"Assignee 3",color:"#FF6058",bg:"#FFF7ED",startDate:new Date("2026-12-01"),dueDate:new Date("2026-12-03")}],b=[{bg:"#DBEAFE",text:"#1E40AF"},{bg:"#CCFBF1",text:"#0D9488"},{bg:"#DCFCE7",text:"#166534"}],y=[{initials:"OR",name:"Olivia Rhye",checked:!1,bg:"bg-blue-100",text:"text-blue-700"},{initials:"DM",name:"Daniela Mark",checked:!1,bg:"bg-cyan-100",text:"text-teal-700"},{initials:"JB",name:"Jenna Beckner",checked:!1,bg:"bg-emerald-100",text:"text-emerald-600"}],C=function(e){var a,s,n,i,t,r,l,d;return(null==e?void 0:e.is_escalation_reminder)&&(null===(a=null==e?void 0:e.days)||void 0===a?void 0:a.value)&&"undefined"!==(null===(s=null==e?void 0:e.days)||void 0===s?void 0:s.value)&&(null===(n=null==e?void 0:e.escalation_reminder_frequency)||void 0===n?void 0:n.value)&&"undefined"!==(null===(i=null==e?void 0:e.escalation_reminder_frequency)||void 0===i?void 0:i.value)?"Start notifying ".concat((null===(t=null==e?void 0:e.days)||void 0===t?void 0:t.value.includes("day"))?null===(r=null==e?void 0:e.days)||void 0===r?void 0:r.value:"".concat(null===(l=null==e?void 0:e.days)||void 0===l?void 0:l.value," ").concat(Number(null===(d=null==e?void 0:e.days)||void 0===d?void 0:d.value)>0?"days":"day")," ").concat(null==e?void 0:e.before_or_after," the due date"):"Notify until successful document upload"},k={"& .MuiInputBase-root":{height:"28px",borderRadius:"4px",fontSize:"11px"}};exports.ManageReminders=function(i){var l=i.data,m=i.schedules,_=i.setSchedules,R=i.remainderOwners,D=i.setRemainderOwners,F=i.labels,S=void 0===F?g:F,w=i.colors,I=void 0===w?p:w,E=i.chipColor,A=void 0===E?j:E,B=i.assignees,T=void 0===B?N:B,q=i.fallbackRecipients,P=void 0===q?y:q,L=i.recipientsColor,M=void 0===L?b:L,O=i.manualReminderTitle,Y=void 0===O?"Send Manual Reminder Now":O,H=i.manualReminderDescription,z=void 0===H?"Immediately notify the assignees about this document.":H;i.lastReminderText;var W=i.selectRecipientsLabel,G=void 0===W?"Select recipients:":W,U=i.previewEmailButtonLabel,V=void 0===U?"Preview Email":U,J=i.sendNowButtonLabel,Z=void 0===J?"Send Now":J,K=i.reminderSuccessTitle,Q=void 0===K?"Reminder sent successfully!":K,X=i.reminderSuccessDescription,$=void 0===X?"Email notification sent to 2 assignees.":X,ee=i.escalationTitle,ae=void 0===ee?"Escalation and Auto Reminder Setup":ee;i.escalationTitleTooltip;var se=i.escalationDescription,ne=void 0===se?"Configure Auto reminder settings for all assignees.":se;i.configureAutoReminderText;var ie=i.getDynamicStatement,te=void 0===ie?C:ie,re=i.reminderStartDateLabel,le=void 0===re?"Reminder Start Date":re,de=i.documentDueDateLabel,oe=void 0===de?"Document Due Date":de,ce=i.reminderFrequencyLabel,ue=void 0===ce?"Reminder Frequency":ce,me=i.escalationRemindersLabel,fe=void 0===me?"Escalation Reminders":me;i.escalationTooltip;var _e=i.escalationConditionText,ve=void 0===_e?"If the document is still pending, start escalation reminders":_e,he=i.daysText,xe=void 0===he?"days":he,ge=i.dueDataAndRepeatText,pe=void 0===ge?"due date and repeat every":ge,je=i.reminderFrequencyOptions,Ne=void 0===je?["12 hours","24 hours","48 hours","72 hours","Custom"]:je,be=i.escalationFrequencyOptions,ye=void 0===be?["1/2 hour","1 hour","4 hours","6 hours","12 hours","Custom"]:be,Ce=i.beforeAfterOptions,ke=void 0===Ce?["After","Before"]:Ce,Re=i.handelSendNow,De=i.showPreviewEmail,Fe=void 0===De||De,Se=s.useState(!1),we=Se[0],Ie=Se[1],Ee=s.useState(!1),Ae=Ee[0],Be=Ee[1],Te=s.useState(!1),qe=Te[0],Pe=Te[1],Le=s.useState(null);Le[0],Le[1];var Me=s.useState(!0),Oe=Me[0],Ye=Me[1],He=s.useState(P),ze=He[0],We=He[1],Ge=r.useDragControls(),Ue=function(a,s,n){D(function(i){return i.map(function(i,t){var r;return t===a?e.__assign(e.__assign({},i),((r={})[s]=n,r)):i})})},Ve=function(e){var a;if(!e)return null;if("custom"===e.type)return Number(e.value)<=0?null:60*Number(e.value)*60*1e3;return null!==(a={"1/2 hour":18e5,"1 hour":36e5,"4 hours":144e5,"6 hours":216e5,"12 hours":432e5,"24 hours":864e5,"48 hours":1728e5,"72 hours":2592e5,"96 hours":3456e5,"1/2 day":432e5,"1 day":864e5,"2 days":1728e5,"3 days":2592e5,"4 days":3456e5}[e.value])&&void 0!==a?a:null},Je=function(e,a,s){if(!e||!a||!s)return[];var n=Ve(s);if(!n)return[];for(var i=[],t=x.default(e).valueOf(),r=x.default(a).valueOf();t<=r;)i.push(x.default(t).toISOString()),t+=n;return i},Ze=function(e,a,s,n){if(!(e&&a&&n&&s))return[];var i=Ve(n);if(!i)return[];var t,r=x.default(e),l="custom"===a.type?Number(a.value):Number("1/2"===a.value.split(" ")[0]?.5:Number(a.value.split(" ")[0])),d=[];switch(s){case"Before":t=r.subtract(l,"day");break;case"After":t=r.add(l,"day");break;default:return[]}for(var o=t.valueOf(),c=0;c<1e3;c++)d.push(x.default(o).toISOString()),o+=i;return d},Ke=function(e){return e?e.split(" ").map(function(e){return e[0]}).join("").toUpperCase():""};s.useEffect(function(){var e=(null==l?void 0:l.due_at)||"",a=null==R?void 0:R.map(function(a){var s=T.find(function(e){return e.id===String(a.id)});return{ownerId:a.id,ownerName:null==s?void 0:s.name,ownerColor:null==s?void 0:s.color,reminders:Je(a.reminder_start_date,e,a.reminder_frequency),escalations:Ze(e,a.days,a.before_or_after,a.escalation_reminder_frequency)}});_(a)},[R]),s.useEffect(function(){if(null==l?void 0:l.assignee){var e=Object.values(l.assignee).filter(function(e){return e&&Object.keys(e).length>0}).map(function(e,a){return{name:e.name,checked:!1,recipientsColor:M[a]}}),a=e.length>0?e:P;We(a)}},[l]);var Qe=Object.values((null==l?void 0:l.assignee)||{}).filter(function(e){return null==e?void 0:e.name});return a.jsxs("div",e.__assign({className:f.default.mrContainer},{children:[a.jsxs("div",e.__assign({className:f.default.mrSectionBox,onClick:function(){return Ie(function(e){return!e})}},{children:[a.jsxs("div",e.__assign({className:f.default.mrSectionHeader},{children:[a.jsxs("div",e.__assign({className:f.default.mrSectionHeaderContent},{children:[a.jsxs("div",e.__assign({className:f.default.mrSectionHeaderLeft},{children:[a.jsxs("div",e.__assign({className:f.default.mrSectionTitleWrapper},{children:[a.jsx("div",e.__assign({className:f.default.mrSectionTitleIcon},{children:a.jsx(n.Send,{className:f.default.mrIconSmall})})),a.jsx("div",e.__assign({className:f.default.mrSectionTitle},{children:Y}))]})),a.jsx("div",e.__assign({className:f.default.mrSectionDescription},{children:z}))]})),a.jsx("div",e.__assign({className:f.default.mrSectionHeaderRight},{children:a.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),Ie(function(e){return!e})},className:f.default.mrChevronButton},{children:a.jsx(n.ChevronDown,{className:"".concat(f.default.mrChevronIcon," ").concat(we?f.default.mrChevronRotated:"")})}))}))]})),a.jsx(r.AnimatePresence,{children:qe&&a.jsxs(r.motion.div,e.__assign({initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},className:f.default.mrSuccessMessage},{children:[a.jsx("div",e.__assign({className:f.default.mrSuccessIcon},{children:a.jsx("div",e.__assign({className:f.default.mrSuccessIconInner},{children:a.jsx(n.CircleCheckBigIcon,{className:f.default.mrIconSuccess})}))})),a.jsxs("div",e.__assign({className:f.default.mrSuccessText},{children:[a.jsx("div",e.__assign({className:f.default.mrSuccessTitle},{children:Q})),a.jsx("div",e.__assign({className:f.default.mrSuccessDescription},{children:$}))]}))]}))})]})),a.jsx(r.AnimatePresence,{children:we&&a.jsxs(r.motion.div,e.__assign({initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:f.default.mrHiddenSection,style:{pointerEvents:we?"auto":"none"}},{children:[a.jsxs("div",e.__assign({className:f.default.mrRecipientsSection},{children:[a.jsx("div",e.__assign({className:f.default.mrRecipientsLabel},{children:G})),a.jsx("div",e.__assign({className:f.default.mrRecipientsGrid},{children:ze.map(function(s){return a.jsxs("div",e.__assign({className:f.default.mrRecipientItem},{children:[a.jsx(v.default,{checked:s.checked,onChange:function(){return a=s.name,void We(function(s){return s.map(function(s){return s.name===a?e.__assign(e.__assign({},s),{checked:!s.checked}):s})});var a},onClick:function(e){return e.stopPropagation()},size:"small",disableRipple:!0,icon:a.jsx("div",{className:f.default.mrCheckboxUnchecked}),checkedIcon:a.jsx("div",e.__assign({className:f.default.mrCheckboxChecked},{children:a.jsx("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 10",fill:"none",className:f.default.mrCheckboxIcon},{children:a.jsx("path",{d:"M1 5L4.2 8L11 1",stroke:"#5925DC",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}))})),sx:{padding:0}}),a.jsxs("div",e.__assign({className:f.default.mrRecipientInfo},{children:[a.jsx("div",e.__assign({className:f.default.mrRecipientAvatar,style:{backgroundColor:s.recipientsColor.bg,color:s.recipientsColor.text}},{children:Ke(s.name)})),a.jsx("div",e.__assign({className:f.default.mrRecipientName},{children:s.name}))]}))]}),s.name)})}))]})),a.jsxs("div",e.__assign({className:f.default.mrActionsSection},{children:[Fe&&a.jsxs("button",e.__assign({onClick:function(e){e.stopPropagation()},type:"button",className:"".concat(f.default.mrActionButton," ").concat(f.default.mrActionButtonSecondary)},{children:[a.jsx(n.Mail,{className:f.default.mrIconAction}),V]})),a.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),Pe(!0),setTimeout(function(){Pe(!1)},3e3),Re()},className:"".concat(f.default.mrActionButton," ").concat(f.default.mrActionButtonPrimary)},{children:Z}))]}))]}))})]})),a.jsxs("div",e.__assign({className:f.default.mrMainContent},{children:[a.jsxs("div",e.__assign({className:f.default.mrEscalationContainer},{children:[a.jsxs("div",e.__assign({className:f.default.mrEscalationHeaderWrapper,onClick:function(e){e.stopPropagation(),Be(function(e){return!e})}},{children:[a.jsxs("div",e.__assign({className:f.default.mrEscalationHeader},{children:[a.jsxs("div",e.__assign({className:f.default.mrEscalationTitleWrapper},{children:[a.jsx("div",e.__assign({className:f.default.mrEscalationTitleText},{children:ae})),a.jsx("div",e.__assign({className:f.default.mrTooltipIcon},{children:a.jsx(n.InfoIcon,{stroke:"#64748B",className:f.default.mrIconInfo})}))]})),a.jsxs("div",e.__assign({className:f.default.mrEscalationActions},{children:[Fe&&a.jsxs("button",e.__assign({className:f.default.mrEscalationPreviewButton},{children:[a.jsx("div",e.__assign({className:f.default.mrEscalationPreviewIcon},{children:a.jsx(n.Mail,{className:f.default.mrIconPreview})})),a.jsx("span",e.__assign({className:f.default.mrEscalationPreviewText},{children:V}))]})),a.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),Be(function(e){return!e})},className:f.default.mrChevronButton},{children:a.jsx(n.ChevronDown,{className:"".concat(f.default.mrChevronIcon," ").concat(Ae?f.default.mrChevronRotated:"")})}))]}))]})),a.jsx("div",e.__assign({className:f.default.mrEscalationDescription},{children:ne}))]})),a.jsx(r.AnimatePresence,e.__assign({initial:!1},{children:Ae&&a.jsx(r.motion.div,e.__assign({layout:!0,initial:{opacity:0,scaleY:.96},animate:{opacity:1,scaleY:1},exit:{opacity:0,scaleY:.96},transition:{duration:.3,ease:"easeInOut"},style:{transformOrigin:"top",overflow:"hidden"}},{children:a.jsx(r.Reorder.Group,e.__assign({axis:"y",values:R||[],onReorder:function(e){D(e)},layoutScroll:!0,className:f.default.mrReorderGroup},{children:null==R?void 0:R.map(function(s,i){var u,m,_=Qe[i]||P[i];return a.jsx(r.Reorder.Item,e.__assign({value:s,dragControls:Ge,layout:"position",className:""},{children:a.jsxs("div",e.__assign({className:f.default.mrReminderItem},{children:[a.jsx("div",e.__assign({className:f.default.mrReminderLabelBox},{children:a.jsx("div",e.__assign({className:f.default.mrReminderLabelInner},{children:a.jsx(t.Chip,{label:S[i],sx:{backgroundColor:I[i].bg,minWidth:90,color:I[i].text,fontWeight:500}})}))})),a.jsxs("div",e.__assign({className:f.default.mrReminderContent},{children:[a.jsx("div",e.__assign({className:f.default.mrDragHandle},{children:a.jsx(h.default,{onPointerDown:function(e){return Ge.start(e)},sx:{color:"#9e9e9e"}})})),a.jsx(t.Box,e.__assign({display:"flex",alignItems:"center",gap:2,border:"1px solid #E5E7EB",sx:{background:"#fff"},className:f.default.mrReminderBox},{children:a.jsxs("div",e.__assign({className:f.default.mrReminderFields},{children:[a.jsxs("div",e.__assign({className:f.default.mrReminderHeader},{children:[a.jsxs("div",e.__assign({className:f.default.mrReminderAssignee},{children:[a.jsx("div",e.__assign({className:f.default.mrReminderAvatar},{children:a.jsx("span",e.__assign({className:f.default.mrReminderInitials},{children:Ke(null==_?void 0:_.name)}))})),a.jsx("span",e.__assign({className:f.default.mrReminderName},{children:null==_?void 0:_.name}))]})),a.jsx("div",e.__assign({className:f.default.mrReminderStatement,style:{backgroundColor:null===(u=A[i])||void 0===u?void 0:u.bg}},{children:a.jsx("span",e.__assign({className:f.default.mrReminderStatementText,style:{color:null===(m=A[i])||void 0===m?void 0:m.text}},{children:te(s)}))}))]})),a.jsxs("div",e.__assign({className:f.default.mrReminderDateFields},{children:[a.jsxs("div",e.__assign({className:f.default.mrReminderField},{children:[a.jsx("p",e.__assign({className:f.default.mrReminderFieldLabel},{children:le})),a.jsxs("div",e.__assign({className:f.default.mrReminderDatePicker},{children:[a.jsx(d.LocalizationProvider,e.__assign({dateAdapter:o.AdapterDayjs},{children:a.jsx(d.DatePicker,{value:s.reminder_start_date?x.default(s.reminder_start_date):null,disablePast:!0,format:"MM/DD/YYYY",onChange:function(e){if(!e||!x.default(e).isBefore(x.default(),"day")){var a=e?x.default(e).toISOString():"";!function(e,a){Ue(e,"reminder_start_date",a)}(i,e?x.default(a).toISOString():"")}},slotProps:{actionBar:{actions:["clear"]},textField:{fullWidth:!0,size:"small",sx:k,placeholder:"MM/DD/YYYY"},openPickerButton:{id:"trial-start-date-picker-icon","data-testid":"trial-start-date-picker-icon",size:"small"},openPickerIcon:{sx:{fontSize:"14px"}}}})})),a.jsx(n.ArrowRight,{className:f.default.mrIconArrow})]}))]})),a.jsxs("div",e.__assign({className:f.default.mrReminderField},{children:[a.jsx("p",e.__assign({className:f.default.mrReminderFieldLabel},{children:oe})),a.jsx("div",e.__assign({className:f.default.mrReminderDueDate},{children:(null==l?void 0:l.due_at)?x.default(l.due_at).format("MM/DD/YYYY"):""}))]})),a.jsxs("div",e.__assign({className:f.default.mrReminderField},{children:[a.jsx("p",e.__assign({className:f.default.mrReminderFieldLabel},{children:ue})),a.jsxs("div",e.__assign({className:f.default.mrReminderFrequency},{children:[a.jsx("span",e.__assign({className:f.default.mrReminderFrequencyText},{children:"Every"})),a.jsx(c.default,{value:s.reminder_frequency,onChange:function(e){return function(e,a){Ue(e,"reminder_frequency",a)}(i,e)},options:Ne,suffix:"hours"})]}))]}))]})),a.jsxs("div",e.__assign({className:f.default.mrEscalationCheckbox},{children:[a.jsxs("div",e.__assign({className:f.default.mrEscalationCheckboxHeader},{children:[a.jsx(v.default,{size:"small",disableRipple:!0,checked:s.is_escalation_reminder,onChange:function(e){!function(e,a){Ue(e,"is_escalation_reminder",a),a||(Ue(e,"days",{type:"preset",value:""}),Ue(e,"escalation_reminder_frequency",{type:"preset",value:""}),Ue(e,"before_or_after",""))}(i,e.target.checked)},icon:a.jsx("div",{className:f.default.mrCheckboxUnchecked}),checkedIcon:a.jsx("div",e.__assign({className:f.default.mrCheckboxChecked},{children:a.jsx("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 10",fill:"none",className:f.default.mrCheckboxIcon},{children:a.jsx("path",{d:"M1 5L4.2 8L11 1",stroke:"#5925DC",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}))})),sx:{padding:0}}),fe,a.jsx("div",e.__assign({className:f.default.mrTooltipIcon},{children:a.jsx(n.InfoIcon,{stroke:"#64748B",className:f.default.mrIconInfo})}))]})),a.jsx(r.AnimatePresence,{children:s.is_escalation_reminder&&a.jsxs(r.motion.div,e.__assign({initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:f.default.mrEscalationContent},{children:[a.jsx("div",e.__assign({className:f.default.mrEscalationCondition},{children:ve})),a.jsxs("div",e.__assign({className:f.default.mrEscalationFields},{children:[a.jsxs("div",e.__assign({className:f.default.mrEscalationFieldGroup},{children:[a.jsx(c.default,{value:s.days,onChange:function(e){return function(e,a){Ue(e,"days",a)}(i,e)}}),a.jsx("div",e.__assign({className:f.default.mrEscalationFieldText},{children:xe}))]})),a.jsxs("div",e.__assign({className:"".concat(f.default.mrEscalationFieldGroup," ").concat(f.default.mrEscalationFieldGroupLarge)},{children:[a.jsx(t.Autocomplete,{size:"small",options:ke,value:s.before_or_after,onChange:function(e,a){!function(e,a){Ue(e,"before_or_after",a)}(i,a||"")},popupIcon:a.jsx("button",e.__assign({type:"button",id:"dropdown-icon",className:f.default.mrDropdownButton},{children:a.jsx(n.ChevronDown,{className:f.default.mrIconDropdown})})),slotProps:{paper:{sx:{"& .MuiAutocomplete-option":{fontSize:"12px",minHeight:"32px"}}},clearIndicator:{sx:{"& svg":{fontSize:12}}}},renderInput:function(s){return a.jsx(t.TextField,e.__assign({},s,{placeholder:"Select value",sx:k}))},sx:{width:"100%"}}),a.jsx("div",e.__assign({className:f.default.mrEscalationFieldText},{children:pe}))]})),a.jsx("div",e.__assign({className:f.default.mrEscalationFieldGroupSmall},{children:a.jsx(c.default,{value:s.escalation_reminder_frequency,onChange:function(e){return function(e,a){Ue(e,"escalation_reminder_frequency",a)}(i,e)},options:ye,suffix:"hours"})}))]}))]}))})]}))]}))}))]}))]}))}),s.id||i)})}))}))}))]})),Ae&&a.jsxs(r.motion.div,e.__assign({initial:{width:Oe?"345px":"43px"},animate:{width:Oe?"345px":"43px"},transition:{duration:.3},className:f.default.mrCalendarPanel},{children:[Oe?a.jsx(u.default,{assignees:m}):a.jsx("div",e.__assign({className:f.default.mrCalendarCollapsed},{children:a.jsx(n.CalendarIcon,{className:f.default.mrIconCalendar})})),a.jsxs("button",e.__assign({onClick:function(){return Ye(function(e){return!e})},className:f.default.mrCalendarToggle},{children:[a.jsx("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",width:"19",height:"50",viewBox:"0 0 19 50",fill:"none"},{children:a.jsx("path",{d:"M3.94434 9.65137C1.79601 11.031 0.49707 13.4087 0.49707 15.9619V35.1436C0.49707 37.8496 1.95476 40.346 4.31152 41.6758L17.5469 49.1426V0.915039L3.94434 9.65137Z",fill:"white",stroke:"#E0E0E0"})})),Oe?a.jsx(n.ChevronRight,{className:f.default.mrIconChevronToggle}):a.jsx(n.ChevronLeft,{className:f.default.mrIconChevronToggle})]}))]}))]}))]}))};
2
+ //# sourceMappingURL=ManageReminders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ManageReminders.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"),n=require("react"),o=require("@mui/material"),r=require("lucide-react"),u=["1/2","1","2","3","4","Custom"];exports.default=function(i){var s=i.value,p=i.onChange,a=i.options,l=void 0===a?u:a,c=i.placeholder,d=void 0===c?"Select frequency":c,v=i.suffix,x=n.useState(""),f=x[0],m=x[1],_=n.useState(null),g=_[0],h=_[1],y=n.useState(!1),I=y[0],j=y[1];return n.useEffect(function(){return s?"custom"===s.type?(j(!0),h(null),void m(s.value||"")):(j(!1),h(s.value),void m(s.value)):(h(null),m(""),void j(!1))},[s]),t.jsx(o.Autocomplete,{size:"small",freeSolo:I,options:l,value:g,inputValue:f,popupIcon:t.jsx("button",e.__assign({type:"button",id:"dropdown-icon",className:"cursor-pointer flex items-center justify-center"},{children:t.jsx(r.ChevronsUpDownIcon,{className:"w-3 h-3"})})),onChange:function(e,t){return t?"Custom"===t?(j(!0),h(null),m(""),void p({type:"custom",value:""})):(j(!1),h(t),m(t),void p({type:"preset",value:t})):(h(null),m(""),j(!1),void p(null))},slotProps:{paper:{sx:{"& .MuiAutocomplete-option":{fontSize:"12px",minHeight:"32px"}}},clearIndicator:{sx:{"& svg":{fontSize:12}}}},onInputChange:function(e,t,n){if(I){var o=t.replace(/[^\d]/g,"");m(o),"input"===n&&p({type:"custom",value:o})}},renderInput:function(n){return t.jsx(o.TextField,e.__assign({},n,{placeholder:I?"Enter custom value":d,inputProps:e.__assign(e.__assign({},n.inputProps),{inputMode:I?"numeric":void 0,readOnly:!I}),InputProps:e.__assign(e.__assign({},n.InputProps),{endAdornment:I&&v?t.jsxs(t.Fragment,{children:[t.jsx(o.InputAdornment,e.__assign({position:"end"},{children:t.jsx("span",e.__assign({style:{fontSize:"11px",color:"#888",whiteSpace:"nowrap"}},{children:v}))})),n.InputProps.endAdornment]}):n.InputProps.endAdornment}),sx:{"& .MuiInputBase-root":{height:"28px",borderRadius:"4px",fontSize:"11px",width:"100%",cursor:I?"text":"pointer"},"& input":{cursor:I?"text":"pointer"}},onKeyDown:function(e){I&&"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())}}))},sx:{width:"100%"}})};
2
+ //# sourceMappingURL=ReminderFrequencyAutocomplete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReminderFrequencyAutocomplete.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"),n=require("react"),l=require("react-markdown"),s=require("rehype-raw"),t=require("../RequirementAiCitations/components/CitationAIConfidenceDisplay.js"),a=require("./MarkdownWithImageCitation.module.css.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=r(n),o=r(l),u=r(s);exports.default=function(n){var l,s,r,c,v=null===(l=null==n?void 0:n.closeCitationConfig)||void 0===l?void 0:l.CloseIcon,m=n.styles,_=function(e){if(!e)return"";var i=e.replace(/\t/g," ").split("\n"),n=i.filter(function(e){return e.trim().length>0}).reduce(function(e,i){var n=i.match(/^ */),l=n?n[0].length:0;return Math.min(e,l)},Number.POSITIVE_INFINITY);return i.map(function(e){return n&&Number.isFinite(n)?e.slice(n):e}).join("\n").trim()}(n.markdownContent);return i.jsxs("div",e.__assign({className:a.default.container,style:null==m?void 0:m.container},{children:[i.jsxs("div",e.__assign({className:a.default.header,style:null==m?void 0:m.header},{children:[i.jsxs("div",e.__assign({className:a.default.titleGroup,style:null==m?void 0:m.titleGroup},{children:[i.jsx("h2",e.__assign({className:a.default.title,style:null==m?void 0:m.title},{children:(null==n?void 0:n.citationTitle)||"Markdown With Image"})),(null==n?void 0:n.timestamp)?i.jsx("span",e.__assign({className:a.default.timestamp,style:null==m?void 0:m.timestamp},{children:n.timestamp})):null]})),(null==n?void 0:n.closeCitationConfig)?i.jsxs("div",e.__assign({className:a.default.headerRight,style:null==m?void 0:m.headerRight},{children:[t.renderCitationAIConfidenceDisplay(n.relevanceScore,!1,null==m?void 0:m.aiConfidenceDisplayPill),i.jsx("div",{className:a.default.divider,style:null==m?void 0:m.divider}),v&&i.jsx("div",e.__assign({className:a.default.closeIconWrapper,style:null==m?void 0:m.closeIconWrapper,onClick:n.closeCitationConfig.handleCloseCitationPreview},{children:i.jsx(v,{className:a.default.closeIcon})}))]})):t.renderCitationAIConfidenceDisplay(n.relevanceScore,!0,null==m?void 0:m.aiConfidenceDisplayPill)]})),i.jsx("div",e.__assign({className:a.default.content,style:null==m?void 0:m.content},{children:i.jsx("div",e.__assign({style:null===(s=null==m?void 0:m.markdown)||void 0===s?void 0:s.containerWrapper},{children:i.jsx("div",e.__assign({style:null===(r=null==m?void 0:m.markdown)||void 0===r?void 0:r.mainCard},{children:i.jsx("div",e.__assign({className:a.default.markdownBody,style:null===(c=null==m?void 0:m.markdown)||void 0===c?void 0:c.scrollArea},{children:i.jsx(o.default,e.__assign({rehypePlugins:[u.default],components:{p:function(n){n.node;var l=n.children,s=e.__rest(n,["node","children"]);return i.jsx("p",e.__assign({},s,{children:d.default.Children.map(l,function(n){var l,s,t;return"string"==typeof n?(s=n,(t=null===(l=null==m?void 0:m.markdown)||void 0===l?void 0:l.customHighlight)?i.jsx("span",e.__assign({style:t},{children:s})):s):n})}))},img:function(n){n.node;var l=e.__rest(n,["node"]);return i.jsx("div",e.__assign({className:a.default.imageWrapper,style:null==m?void 0:m.imageWrapper},{children:i.jsx("img",e.__assign({},l,{className:a.default.image,style:null==m?void 0:m.image,alt:l.alt||"Citation image"}))}))},ul:function(n){var l;n.node,n.ordered;var s=e.__rest(n,["node","ordered"]);return i.jsx("ul",e.__assign({},s,{style:null===(l=null==m?void 0:m.markdown)||void 0===l?void 0:l.list}))},ol:function(n){var l;n.node,n.ordered;var s=e.__rest(n,["node","ordered"]);return i.jsx("ol",e.__assign({},s,{style:null===(l=null==m?void 0:m.markdown)||void 0===l?void 0:l.list}))}}},{children:_}))}))}))}))}))]}))};
2
+ //# sourceMappingURL=MarkdownWithImageCitation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkdownWithImageCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const e=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;e&&o.setAttribute("nonce",e),o.appendChild(document.createTextNode(".MarkdownWithImageCitation-module_container__IIipw{border:1px solid #e5e7eb;display:flex;flex-direction:column;height:100%;min-height:200px;position:relative;row-gap:1rem}.MarkdownWithImageCitation-module_header__yELrX{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;flex-direction:row;justify-content:space-between;padding:.5rem 1rem;width:100%}.MarkdownWithImageCitation-module_titleGroup__NoGZT{display:flex;flex-direction:column;overflow:hidden;row-gap:.125rem}.MarkdownWithImageCitation-module_title__2ol0g{color:#1f2937;font-family:Inter,sans-serif;font-weight:400;margin-top:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.MarkdownWithImageCitation-module_timestamp__TycMU{color:#6b7280;font-family:Inter,sans-serif;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.MarkdownWithImageCitation-module_headerRight__fKorY{align-items:center;column-gap:1rem;display:flex;flex-direction:row}.MarkdownWithImageCitation-module_divider__DBf2T{align-self:stretch;background-color:#e5e7eb;margin-bottom:-.5rem;margin-top:-.5rem;width:1px}.MarkdownWithImageCitation-module_closeIconWrapper__alT2Q{cursor:pointer}.MarkdownWithImageCitation-module_closeIcon__KvaUd{color:#6b7280;height:24px;width:24px}.MarkdownWithImageCitation-module_content__omW6T{display:flex;flex-direction:column;gap:.875rem;padding:1rem 1rem 1.25rem}.MarkdownWithImageCitation-module_imageWrapper__IuQaH{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:1rem;margin-top:1rem;overflow:hidden;width:100%}.MarkdownWithImageCitation-module_image__69FkI{display:block;height:auto;max-width:100%;object-fit:cover;vertical-align:middle;width:100%}.MarkdownWithImageCitation-module_markdownBody__Lf-gb{color:#1f2937;font-family:Inter,sans-serif;font-size:.975rem;line-height:1.65}.MarkdownWithImageCitation-module_markdownBody__Lf-gb>:first-child{margin-top:0}.MarkdownWithImageCitation-module_markdownBody__Lf-gb>:last-child{margin-bottom:0}.MarkdownWithImageCitation-module_markdownBody__Lf-gb h1,.MarkdownWithImageCitation-module_markdownBody__Lf-gb h2,.MarkdownWithImageCitation-module_markdownBody__Lf-gb h3,.MarkdownWithImageCitation-module_markdownBody__Lf-gb h4,.MarkdownWithImageCitation-module_markdownBody__Lf-gb h5,.MarkdownWithImageCitation-module_markdownBody__Lf-gb h6{color:#111827;line-height:1.2;margin:0 0 .625rem}.MarkdownWithImageCitation-module_markdownBody__Lf-gb h1{font-size:2rem}.MarkdownWithImageCitation-module_markdownBody__Lf-gb h2{font-size:1.125rem;font-weight:700}.MarkdownWithImageCitation-module_markdownBody__Lf-gb h3{font-size:1rem;font-weight:700}.MarkdownWithImageCitation-module_markdownBody__Lf-gb p{margin:0 0 .875rem}.MarkdownWithImageCitation-module_markdownBody__Lf-gb ol,.MarkdownWithImageCitation-module_markdownBody__Lf-gb ul{margin:0 0 1rem;padding-left:1.25rem}.MarkdownWithImageCitation-module_markdownBody__Lf-gb li+li{margin-top:.25rem}.MarkdownWithImageCitation-module_markdownBody__Lf-gb strong{color:#111827}.MarkdownWithImageCitation-module_markdownBody__Lf-gb blockquote{border-left:3px solid #dbe3f0;color:#4b5563;margin:0 0 1rem;padding-left:.875rem}"));const t=document.head||document.getElementsByTagName("head")[0]||document.documentElement;t&&t.appendChild(o)}(),exports.default={container:"MarkdownWithImageCitation-module_container__IIipw",header:"MarkdownWithImageCitation-module_header__yELrX",titleGroup:"MarkdownWithImageCitation-module_titleGroup__NoGZT",title:"MarkdownWithImageCitation-module_title__2ol0g",timestamp:"MarkdownWithImageCitation-module_timestamp__TycMU",headerRight:"MarkdownWithImageCitation-module_headerRight__fKorY",divider:"MarkdownWithImageCitation-module_divider__DBf2T",closeIconWrapper:"MarkdownWithImageCitation-module_closeIconWrapper__alT2Q",closeIcon:"MarkdownWithImageCitation-module_closeIcon__KvaUd",content:"MarkdownWithImageCitation-module_content__omW6T",imageWrapper:"MarkdownWithImageCitation-module_imageWrapper__IuQaH",image:"MarkdownWithImageCitation-module_image__69FkI",markdownBody:"MarkdownWithImageCitation-module_markdownBody__Lf-gb"};
2
+ //# sourceMappingURL=MarkdownWithImageCitation.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkdownWithImageCitation.module.css.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("react-virtualized-auto-sizer"),n=require("react-window"),r=require("@mui/material"),o=require("@mui/material/Skeleton"),a=require("./paginatedTable.module.css.js"),s=require("react");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=l(t),c=l(o),f=l(s);exports.default=function(t){var o=t.headers,s=t.tableData,l=t.onNextPage,h=t.loadingMore,u=void 0!==h&&h,g=t.headerRefs,x=t.totalFileRecords,p=t.columnWidth,v=void 0===p?250:p,_=t.rowHeight,b=void 0===_?45:_,m=t.style,w=t.className,y=void 0===w?"":w,j=t.styleOverrides,R=void 0===j?{}:j,S=f.default.useRef(null),z=f.default.useCallback(function(e){var i=e.visibleStopIndex;x&&s.length>=x||!u&&i>=s.length-10&&l()},[u,s.length,l,x]),q=e.__assign({color:"#111827",fontFamily:"Inter, sans-serif",fontSize:"14px",cursor:"default",padding:"12px 24px",borderBottom:"1px solid #e5e7eb",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},R.dataRow),k=e.__assign({padding:"12px 24px",borderBottom:"1px solid #e5e7eb",fontWeight:"bold",color:"#374151",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},R.headerRow),C=f.default.useCallback(function(t){var n=t.index,r=t.style;if(u&&n===s.length)return i.jsx("div",e.__assign({style:e.__assign(e.__assign({},r),{display:"flex",width:"".concat(o.length*v,"px"),backgroundColor:n%2==0?"#ffffff":"#f9fafb"})},{children:o.map(function(t,n){var r=n===o.length-1;return i.jsx("div",e.__assign({style:{flex:"0 0 ".concat(v,"px"),padding:"12px 24px",borderBottom:"1px solid #e5e7eb",borderRight:r?"none":"1px solid #e5e7eb",boxSizing:"border-box"}},{children:i.jsx(c.default,{variant:"rectangular",width:"100%",height:20,className:"rounded-[0.25rem]",animation:"wave"})}),"loading-".concat(n))})}));var a=s[n],l=n%2==0;return i.jsx("div",e.__assign({style:e.__assign(e.__assign({},r),{display:"flex",width:"".concat(o.length*v,"px"),backgroundColor:l?"#ffffff":"#f9fafb"})},{children:o.map(function(t,r){var s=r===o.length-1;return function(t,n,r,o){return i.jsx("div",e.__assign({title:n[t],style:e.__assign({flex:"0 0 ".concat(v,"px"),position:"relative",borderRight:o?"none":"1px solid #e5e7eb",boxSizing:"border-box"},q)},{children:n[t]}),"".concat(t,"-").concat(r))}(t,a,n,s)})}))},[o,s,u]);return i.jsx(r.Paper,e.__assign({elevation:0,style:e.__assign({border:"1px solid #e5e7eb",borderRadius:"0",height:"65vh",minHeight:"425px",overflowY:"hidden",position:"relative"},m),className:"".concat(a.default.custom_scrollbar," ").concat(y)},{children:i.jsxs("div",e.__assign({style:{minWidth:"".concat(o.length*v,"px"),height:"100%"}},{children:[i.jsx("div",e.__assign({style:{display:"flex",backgroundColor:"#f9fafb",position:"sticky",top:0,zIndex:1,width:"".concat(o.length*v,"px")}},{children:o.map(function(t,n){var r=n===o.length-1;return i.jsx("div",e.__assign({ref:function(e){g.current[t]=e},style:e.__assign({borderRight:r?"none":"1px solid #e5e7eb",flex:"0 0 ".concat(v,"px"),boxSizing:"border-box"},k)},{children:t}),t)})})),i.jsx("div",e.__assign({style:{minHeight:"380px",height:"calc(60vh)",width:"100%"}},{children:i.jsx(d.default,{children:function(t){var r=t.height,o=t.width;return i.jsx(n.FixedSizeList,e.__assign({ref:S,height:r,width:o,itemCount:u?s.length+1:s.length,itemSize:b,onItemsRendered:z,overscanCount:20,style:{overflowX:"hidden"}},{children:C}))}})}))]}))}))};
2
+ //# sourceMappingURL=PaginatedTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginatedTable.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".paginatedTable-module_custom_scrollbar__nIG5W::-webkit-scrollbar{height:6.312px}.paginatedTable-module_custom_scrollbar__nIG5W::-webkit-scrollbar-thumb{background:#98a2b3!important;border-radius:3.607px;opacity:.4}.paginatedTable-module_custom_scrollbar__nIG5W::-webkit-scrollbar-track{background:#0000}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={custom_scrollbar:"paginatedTable-module_custom_scrollbar__nIG5W"};
2
+ //# sourceMappingURL=paginatedTable.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paginatedTable.module.css.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"),a=require("react"),i=require("./PdfEditorCitation.module.css.js"),n=require("@mui/icons-material/ExpandLess"),s=require("@mui/icons-material/ExpandMore"),o=require("pdf-collaborative-tool");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(n),c=l(s);exports.PdfEditorCitation=function(n){var s=a.useState("collapsed"),l=s[0],d=s[1];return t.jsxs("div",e.__assign({className:"\n ".concat(i.default.citationRoot,"\n ").concat(n.citationRootClassName?n.citationRootClassName:"","\n ")},{children:[t.jsxs("div",e.__assign({className:"\n ".concat(i.default.citationTitle,"\n ").concat(n.citationTitleClassName?n.citationTitleClassName:"","\n "),onClick:function(){d("collapsed"===l?"expanded":"collapsed")}},{children:[n.citationTitleElement,"collapsed"===l?t.jsx(r.default,{}):t.jsx(c.default,{})]})),t.jsx("div",e.__assign({className:"\n ".concat(i.default.citationBody,"\n ").concat(n.citationBodyClassName?n.citationBodyClassName:"","\n ").concat("collapsed"===l?i.default.citationBodyWhenCollapsed:"","\n ").concat(n.citationBodyWhenCollapsedClassName?n.citationBodyWhenCollapsedClassName:"","\n ")},{children:t.jsx(o.PdfEditorContextProvider,e.__assign({backendBaseUrl:n.pdfEditorBackendBaseUrl,rlefEventServiceBaseUrl:n.rlefEventServiceBaseUrl,currentUserId:n.currentUserId,areAnnotationsVisibleByDefault:!0},{children:t.jsx(o.WakeupServersContextProvider,e.__assign({frontendHealthCheckUrl:""},{children:t.jsx(o.PdfEditor,{sentenceHighlightDetails:n.sentenceHighlightDetails,pdfDownloadUrl:n.pdfUrl})}))}))}))]}))};
2
+ //# sourceMappingURL=PdfEditorCitation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PdfEditorCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&t.setAttribute("nonce",o),t.appendChild(document.createTextNode(".PdfEditorCitation-module_citationRoot__5OtUI{display:flex;flex-direction:column}.PdfEditorCitation-module_citationTitle__X9kQm{align-items:center;background-color:#eff6ff;border:1px solid #000;border-radius:10px;cursor:pointer;display:inline-flex;gap:10px;padding:5px 8px;width:fit-content}.PdfEditorCitation-module_citationBody__C99jX{background-color:#fff;flex-grow:1}.PdfEditorCitation-module_citationBodyWhenCollapsed__8vG0V{display:none}.PdfEditorCitation-module_citationBodyWhenFullScreen__VKtop{bottom:0;height:100%!important;left:0;max-height:100%;position:absolute;right:0;top:0;width:100%!important}"));const e=document.head||document.getElementsByTagName("head")[0]||document.documentElement;e&&e.appendChild(t)}(),exports.default={citationRoot:"PdfEditorCitation-module_citationRoot__5OtUI",citationTitle:"PdfEditorCitation-module_citationTitle__X9kQm",citationBody:"PdfEditorCitation-module_citationBody__C99jX",citationBodyWhenCollapsed:"PdfEditorCitation-module_citationBodyWhenCollapsed__8vG0V",citationBodyWhenFullScreen:"PdfEditorCitation-module_citationBodyWhenFullScreen__VKtop"};
2
+ //# sourceMappingURL=PdfEditorCitation.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PdfEditorCitation.module.css.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"),s=require("@react-pdf-viewer/core"),i=require("./PdfStyle.js"),n="https://unpkg.com/pdfjs-dist@3.11.174/build/pdf.worker.min.js";exports.default=function(t){var l=t.pdfUrl,o=t.plugins,a=t.onLoad,d=t.customStyles,u=t.onPageChange,p=t.defaultScale;return r.jsx("div",e.__assign({style:e.__assign(e.__assign({},i.pdfStyles.pdfConatiner),null==d?void 0:d.pdfContainer)},{children:r.jsx(s.Worker,e.__assign({workerUrl:n},{children:r.jsx(s.Viewer,{fileUrl:l,defaultScale:p,plugins:o,onDocumentLoad:a,onPageChange:u})}))}))},exports.pdfWorker=n;
2
+ //# sourceMappingURL=PdfContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PdfContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.pdfStyles={pdfViewer:{borderRadius:"12px",padding:"16px",width:"100%",height:"100%",minWidth:0,boxSizing:"border-box",overflow:"hidden"},card:{border:"2px solid #E5E7EB",backgroundColor:"#FFFFFF",borderRadius:"12px",width:"100%",minWidth:0,boxSizing:"border-box",overflow:"hidden"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative",width:"100%",minWidth:0,boxSizing:"border-box"},title:{fontSize:"14px",fontWeight:600,color:"#60A3F8",fontFamily:'Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif'},toolbar:{display:"flex",alignItems:"center",gap:"8px",position:"relative"},button:{border:"1px solid #DFE5EC",borderRadius:"6px",padding:"4px 8px",fontSize:"12px",cursor:"pointer",backgroundColor:"#FFFFFF"},buttonDisabled:{opacity:.4,cursor:"not-allowed"},counter:{fontSize:"13px",color:"#64748B",margin:"0 6px"},viewerWrapper:{height:"30rem",overflow:"auto",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid #DEE4EB",borderRadius:"8px"},emptyState:{fontSize:"14px",color:"#EF4444"},pdfConatiner:{height:"100%",overflow:"auto",display:"flex",justifyContent:"center",alignItems:"center"}};
2
+ //# sourceMappingURL=PdfStyle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PdfStyle.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("./PdfStyle.js"),s=require("../../assests/svg/PdfViewerIcons.js"),t=require("@mui/material");exports.default=function(o){o.highlightIndex;var l=o.totalHighlights,r=o.controls,d=o.currentPosition,a=o.pdfName,c=o.onClose,p=o.pdfUrl,x=o.viewerRef,g=o.customStyles,u=o.customClasses,h=o.customIcons,f=o.headerAction,_=o.isZoomEnabled,j=void 0===_||_,v=o.showHighlightsAction,m=void 0===v||v,y=o.showFullScreenAction,w=void 0===y||y,b=r.ZoomInButton,k=r.ZoomOutButton,I=r.ZoomPopover,C=r.goToPrevious,S=r.goToNext,D={padding:"4px",borderRadius:"6px",background:"transparent",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease",flexShrink:0};return n.jsxs("div",e.__assign({style:e.__assign(e.__assign({display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",background:"#FAFAFA",borderBottom:"1px solid #F3F4F6",borderTopLeftRadius:"12px",borderTopRightRadius:"12px"},i.pdfStyles.header),null==g?void 0:g.header)},{children:[n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"12px",flex:1,minWidth:0,overflow:"hidden"}},{children:[n.jsx("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},{borderRadius:"21px",border:"6px solid #E8F3FF",background:"#D5E8FF",display:"flex",alignItems:"center",justifyContent:"center",width:"32px",height:"32px",boxSizing:"content-box"}),null==g?void 0:g.pdfIconWrapper),{flexShrink:0})},{children:(null==h?void 0:h.pdfIcon)||n.jsx(s.DefaultPdfIcon,{})})),n.jsx(t.Tooltip,e.__assign({title:a||"",arrow:!0,placement:"top"},{children:n.jsx("div",e.__assign({style:{flex:1,minWidth:0,overflow:"hidden"}},{children:n.jsx("span",e.__assign({style:e.__assign({display:"block",width:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:500,cursor:"default"},null==g?void 0:g.pdfName),className:null==u?void 0:u.pdfName},{children:a}))}))}))]})),n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:m?"16px":"2px",color:"#4B5563",flexShrink:0,whiteSpace:"nowrap",minWidth:"fit-content"}},{children:[j&&n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"4px"}},{children:[n.jsx(k,{}),n.jsx("div",e.__assign({style:{fontSize:"14px",fontWeight:500,width:"56px",textAlign:"center"}},{children:n.jsx(I,{})})),n.jsx(b,{})]})),!!l&&m&&n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"4px"}},{children:[n.jsxs("span",e.__assign({style:{fontSize:"14px",color:"#475467",fontWeight:500,lineHeight:1}},{children:[d," of ",l]})),n.jsx("button",e.__assign({style:{background:"none",border:"none",cursor:d<=1?"not-allowed":"pointer",padding:"2px 4px",color:d<=1?"#D0D5DD":"#475467",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,height:"20px",width:"20px"},onClick:C,disabled:d<=1},{children:n.jsx("svg",e.__assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},{children:n.jsx("path",{d:"M2 8L6 4L10 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))})),n.jsx("button",e.__assign({style:{background:"none",border:"none",cursor:d===l?"not-allowed":"pointer",padding:"2px 4px",color:d===l?"#D0D5DD":"#475467",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,height:"20px",width:"20px"},onClick:S,disabled:d===l},{children:n.jsx("svg",e.__assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},{children:n.jsx("path",{d:"M2 4L6 8L10 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))}))]})),n.jsx("div",{style:{width:"1px",height:"20px",background:"#D1D5DB",margin:"0 4px",flexShrink:0}}),n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"8px",flexShrink:0,whiteSpace:"nowrap"}},{children:[!1!==w&&((null==f?void 0:f.icon)&&(null==f?void 0:f.onClick)?n.jsx(t.Tooltip,e.__assign({title:(null==f?void 0:f.tooltip)||"",arrow:!0,placement:"top"},{children:n.jsx("div",e.__assign({onClick:f.onClick,style:e.__assign({display:"flex",alignItems:"center",cursor:"pointer"},D)},{children:f.icon}))})):n.jsx("button",e.__assign({onClick:function(){var e=null==x?void 0:x.current;e&&(document.fullscreenElement?document.exitFullscreen():e.requestFullscreen().catch(function(e){console.error("Error attempting to enable fullscreen: ".concat(e.message))}))},style:D,title:"Full Screen"},{children:(null==h?void 0:h.fullScreenIcon)||n.jsx(s.DefaultFullScreenIcon,{})}))),p&&n.jsx("a",e.__assign({href:p,target:"_blank",rel:"noopener noreferrer",style:D,title:"Open in new tab"},{children:(null==h?void 0:h.downloadIcon)||n.jsx(s.DefaultDownloadIcon,{})})),c&&n.jsx("button",e.__assign({onClick:c,style:D,title:"Close"},{children:(null==h?void 0:h.closeIcon)||n.jsx(s.DefaultCloseIcon,{})}))]}))]}))]}))};
2
+ //# sourceMappingURL=PdfToolbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PdfToolbar.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("@react-pdf-viewer/core"),o=require("./PdfContainer.js"),r=require("./PdfToolbar.js"),n=require("./PdfStyle.js"),a=require("./usePdfHighlight.js");require("@react-pdf-viewer/zoom/lib/styles/index.css"),require("@react-pdf-viewer/page-navigation/lib/styles/index.css"),require("@react-pdf-viewer/core/lib/styles/index.css"),require("@react-pdf-viewer/search/lib/styles/index.css");var s=require("react"),l=require("../ScannedDocCitation/ScannedDocCitation.js"),u=function(e){switch(e){case"ActualSize":return t.SpecialZoomLevel.ActualSize;case"PageFit":return t.SpecialZoomLevel.PageFit;case"PageWidth":return t.SpecialZoomLevel.PageWidth;default:return null!=e?e:t.SpecialZoomLevel.PageWidth}};exports.default=function(c){var d,g=c.pdfUrl,f=c.highlightText,h=c.highlightPages,v=c.highlightCordinatePages,p=c.highlightColor,m=void 0===p?"yellow":p,x=c.activeHighlightColor,S=void 0===x?"#f7dc51":x,C=c.jumpToPageValue,P=void 0===C?0:C,_=c.pdfName,w=c.onClose,T=c.customStyles,y=c.customClasses,b=c.customIcons,A=c.useCoordinates,q=c.fallbackPages,j=c.activeCitationIndex,H=c.onActiveCitationChange,I=c.headerAction,F=c.isZoomEnabled,Z=void 0===F||F,L=c.showHighlightsAction,z=void 0===L||L,N=c.defaultScale,R=void 0===N?t.SpecialZoomLevel.ActualSize:N,E=c.useRange,V=void 0!==E&&E,W=c.rangeOfPages,D=void 0===W?null:W,O=c.showFullScreenAction,B=void 0===O||O,U=s.useRef(null),k=s.useMemo(function(){if(A)return new Set(v.map(function(e){return e.pageIndex}));var e=new Set;return Object.values(h).forEach(function(i){i>0&&e.add(i-1)}),e},[v,h,A]),M=(d=f)&&0!==d.length?d.filter(function(e){return!d.some(function(i){return i!==e&&i.includes(e)})}):d,J=a.PdfHighlightControls(M,A?{}:h,U,k,A,A?v:[],m,S),K=J.highlightIndex,G=J.cursorIndex,Q=J.setCursorIndex,X=J.orderedKeys,Y=J.totalHighlights,$=J.getValidPosition,ee=J.tryJump,ie=J.jumpToPage,te=J.zoomTo,oe=J.plugins,re=J.controls,ne=J.hideNonTargetHighlights,ae=J.deduplicateHighlights,se=$(G);s.useEffect(function(){void 0!==j&&j!==G&&Q(j)},[j]);var le=e.__assign(e.__assign({},re),{goToNext:function(){G>=Y-1||(re.goToNext(),H&&H(G+1))},goToPrevious:function(){G<=0||(re.goToPrevious(),H&&H(G-1))}});if(!g)return i.jsx(l.default,{pages:q,activeCitationIndex:j,onActiveCitationChange:H,headerAction:I});return i.jsxs("div",e.__assign({ref:U,className:(null==y?void 0:y.pdfViewerWrapper)||"",style:e.__assign(e.__assign(e.__assign({height:"100%",minHeight:0,minWidth:0,overflow:"hidden",display:"flex",flexDirection:"column"},n.pdfStyles.pdfViewer),{display:"flex",flexDirection:"column",height:"100%",width:"100%",backgroundColor:"#FAFAFA"}),null==T?void 0:T.pdfViewer)},{children:[i.jsx(r.default,{highlightIndex:K,totalHighlights:Y,controls:le,currentPosition:se,pdfName:_,onClose:w,pdfUrl:g,viewerRef:U,customStyles:T,customClasses:y,customIcons:b,headerAction:I,isZoomEnabled:Z,showHighlightsAction:z,showFullScreenAction:B}),i.jsx(o.default,{defaultScale:u(R),pdfUrl:g,plugins:oe,customStyles:T,onLoad:function(){var i=!A&&!V&&P<=0;if(te(t.SpecialZoomLevel.ActualSize),P>0&&!V){var o=P-1,r=X[o],n=h[r],a=v[o];Q(o),console.log(a,"cordinateTargetHighlight"),A&&a.pageIndex>0&&ie(a.pageIndex),n>0&&(setTimeout(function(){ne(k),ae(n-1)},1e3),A||ie(n-1))}else if(V&&D&&2===D.length){e.__awaiter(void 0,void 0,void 0,function(){var i,t,o,r,n;return e.__generator(this,function(e){switch(e.label){case 0:i=D[0],t=D[1],o=i,e.label=1;case 1:return o<=t?(ie(r=o-1),[4,new Promise(function(e){return setTimeout(e,1e3)})]):[3,4];case 2:if(e.sent(),ne(k),(n=ae(r))&&n>0)return[3,4];e.label=3;case 3:return o++,[3,1];case 4:return[2]}})})}else if(!A&&h){var s=X.find(function(e){return h[e]>0});if(void 0!==s){var l=h[s]-1;ie(l),setTimeout(function(){ne(k),ae(l)},1e3)}}requestAnimationFrame(function(){i&&ee(),!A&&P>0&&!V&&function(){if(U.current){var e=P-1,i=X[e],t=h[i],o=t>0?t-1:0,r={};X.forEach(function(e,i){var t=h[e];t>0&&(r[t]||(r[t]=[]),r[t].push(i))});var n=(r[t]||[]).indexOf(e),a=0,s=function(){var e,i;if(!(++a>40)){var t=null===(e=U.current)||void 0===e?void 0:e.querySelector(".rpv-core__inner-pages");if(t){var r=null===(i=U.current)||void 0===i?void 0:i.querySelector('[data-testid="core__page-layer-'.concat(o,'"]'));if(r){var l=t.getBoundingClientRect(),u=r.getBoundingClientRect();if(u.top<l.bottom&&u.bottom>l.top){var c=r.querySelectorAll(".rpv-search__highlight")[n];if(c){var d=c.getBoundingClientRect(),g=t.scrollTop+(d.top-l.top)-t.clientHeight/2+d.height/2;t.scrollTo({top:g,behavior:"smooth"})}else setTimeout(s,100)}else setTimeout(s,100)}else setTimeout(s,100)}else setTimeout(s,100)}};setTimeout(s,500)}}()})},onPageChange:function(e){var i=e.currentPage;k.has(i)?(ae(i),ne(k)):ne(k)}})]}))};
2
+ //# sourceMappingURL=PdfViewer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PdfViewer.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("react"),n=require("@react-pdf-viewer/search"),i=require("@react-pdf-viewer/page-navigation"),o=require("@react-pdf-viewer/zoom"),a=require("@react-pdf-viewer/highlight");exports.PdfHighlightControls=function(l,u,c,h,g,s,f,p){void 0===f&&(f="yellow"),void 0===p&&(p="#F6D739");var d=r.useState(0),v=d[0],m=d[1],x=r.useRef(!1),y=r.useState(0),_=y[0],T=y[1];r.useRef([]);var M=function(e){return e.replace(/[^\S\n]+/g," ").trim()},b=function(e){return(e||"").toLowerCase().replace(/\u00ad/g,"").replace(/[""]/g,'"').replace(/['']/g,"'").replace(/[\u2013\u2014]/g,"-").replace(/-/g," ").replace(/[^\w\s]/g,"").replace(/\s+/g," ").trim()},w=function(e){var t=e.trim(),r=(t=(t=t.replace(/[\u200B-\u200D\uFEFF]/g,"").replace(/[\u00A0\u2009\u202F]/g," ")).replace(/^[-•]\s+/,"")).match(/^((\d+(?:\.\d+)*[.)]?)|[A-Za-z][.)]|\([A-Za-z0-9]+\)|(?:i|ii|iii|iv|v|vi|vii|viii|ix|x)[.)])\s*/i);return r?t.slice(r[0].length).trim():t},I=function(e){var t=b(e),r=t.replace(/\s+/g,""),n=new Set;return t&&n.add(t),r&&n.add(r),n},S=function(e){return e.replace(/\\([''])/g,"$1").replace(/\]\s*\n\s*\(/g,"](").replace(/&[#\w]+;/g,function(e){return t=e,(r=document.createElement("textarea")).innerHTML=t,r.value;var t,r}).replace(/<br\s*\/?>/gi,"\n").replace(/\[([^\]]+)\]\(([^)]+)\)/g,"$1").replace(/`([^`]+)`/g,"$1")},A=function(e){return e?S(e).split(/\n+/).map(w).flatMap(function(e){var t=e.match(/^\s*\|(.+)\|\s*$/);return t?t[1].split("|").map(function(e){return e.trim()}).filter(Boolean):[e]}).map(function(e){return M(function(e){return e.replace(/(^|\W)[*_]{1,3}([^*_]+)[*_]{1,3}(?=\W|$)/g,"$1$2")}(e))}).filter(Boolean):[]},q=Object.keys(u).map(Number).sort(function(e,t){return e-t}),E=r.useMemo(function(){return g?s.length:g?0:Object.values(u).filter(function(e){return e>0}).length},[s,u]),B=function(t){if(c.current){var r=c.current.querySelector('[data-testid="search__highlights-'.concat(t,'"]'));if(r){var n=Array.from(r.querySelectorAll(".rpv-search__highlight"));if(0!==n.length){var i=C.map(I),o=P.map(I);if(0!==i.length||0!==o.length){var a=n.map(function(t){var r=function(e){var t=e.getBoundingClientRect();if(t.height>0||t.width>0)return{top:t.top,left:t.left,right:t.right};var r=e.offsetTop,n=e.offsetLeft;return{top:r,left:n,right:n+e.offsetWidth}}(t),n=(t.textContent||"").trim(),i=(t.getAttribute("title")||"").trim(),o=n||i;return e.__assign({el:t,text:o},r)}).filter(function(e){return e.text.length>0}).sort(function(e,t){return e.top-t.top||e.left-t.left});if(0!==a.length){var u=[],h=null,g=[],s=function(){if(h){var e=g.join(" ");h.title=b(e),h.title&&u.push(h),h=null,g=[]}};if(a.forEach(function(e){if(!h)return h={title:"",elements:[e.el],lastTop:e.top,lastRight:e.right},void(g=[e.text]);var t=Math.abs(e.top-h.lastTop)<=5,r=e.left<=h.lastRight+28;t&&r?(h.elements.push(e.el),h.lastTop=e.top,h.lastRight=Math.max(h.lastRight,e.right),g.push(e.text)):(s(),h={title:"",elements:[e.el],lastTop:e.top,lastRight:e.right},g=[e.text])}),s(),0!==u.length){for(var f=function(e,t){if(!e)return!1;if(t.has(e))return!0;for(var r=e.replace(/\s+/g,""),n=0,i=Array.from(t);n<i.length;n++){var o=i[n];if(o){var a=o.replace(/\s+/g,"");if(a===r)return!0;if(o.length>=8&&e.length>=5&&o.includes(e))return!0;if(a.length>=8&&r.length>=5&&a.includes(r))return!0;if(e.length>=10&&o.length>=8&&e.includes(o))return!0;if(r.length>=10&&a.length>=8&&r.includes(a))return!0}}return!1},p=0,d=new Set,v=function(e){if(!e||e.length<8)return null;for(var t=e.replace(/\s+/g,""),r=0;r<u.length;r++)for(var n="",i="",o=new Set,a=r;a<u.length&&a<r+20;a++){var l=u[a].title;if(n=n?"".concat(n," ").concat(l):l,i=i?"".concat(i).concat(l.replace(/\s+/g,"")):l.replace(/\s+/g,""),o.add(a),n.includes(e)||i.includes(t))return o;if(n.length>=15&&(e.includes(n)||t.includes(i)))return o;if(n.length>e.length+150)break}return null},m=0,x=Array.from(new Set(e.__spreadArray(e.__spreadArray([],C,!0),P,!0).map(b).filter(function(e){return e.length>=8}))).sort(function(e,t){return t.length-e.length});m<x.length;m++){var y=v(x[m]);y&&y.size>0&&(y.forEach(function(e){return d.add(e)}),p=d.size)}if(0===p){var _=function(e){if(0===e.length)return null;for(var t=null,r=0,n=e;r<n.length;r++)for(var i=n[r],o=0,a=Array.from(i);o<a.length;o++){var l=a[o];if(l&&!(l.length<5))for(var c=l.replace(/\s+/g,""),h=0;h<u.length;h++)for(var g="",s="",f=new Set,p=h;p<u.length&&p<h+15;p++){var d=u[p].title;if(g=g?"".concat(g," ").concat(d):d,s=s?"".concat(s).concat(d.replace(/\s+/g,"")):d.replace(/\s+/g,""),f.add(p),g.includes(l)||s.includes(c)){var v=Math.max(0,g.length-l.length);(!t||v<t.extra)&&(t={blocks:new Set(f),extra:v});break}if(g.length>l.length+120)break}}return t?t.blocks:null}(i);_&&_.size>0&&(_.forEach(function(e){return d.add(e)}),p=d.size)}var T=function(e){if(e.length<2)return 40;for(var t=[],r=1;r<e.length;r++){var n=Math.abs(e[r].lastTop-e[r-1].lastTop);n>0&&t.push(n)}if(0===t.length)return 40;t.sort(function(e,t){return e-t});var i=t[Math.floor(t.length/2)],o=Math.round(2.25*i);return Math.min(60,Math.max(24,o))}(u),M=P.map(b).filter(function(e){return e.length>=8}),w=M.map(function(e){return e.split(/\s+/).filter(function(e){return e.length>=2})});if(0===p)for(var S=o,A=0;A<u.length;A++)for(var q=u[A].title,E=0;E<S.length;E++)if(f(q,S[E])){for(var B=0,j=new Set,k=E,z=A-1,R=A;R<u.length&&k<S.length;R++){if(f(u[R].title,S[k])){if(z>=0){var H=u[z].lastTop,N=u[R].lastTop;if(Math.abs(N-H)>T)break}B++,j.add(R),z=R,k++}else if(k>0&&f(u[R].title,S[k-1])){H=u[z].lastTop,N=u[R].lastTop;Math.abs(N-H)<=3&&(j.add(R),z=R)}if(R-z>6)break}B>p&&(p=B,d=j)}if(p<Math.min(3,M.length)&&M.length>0){var $=new Set;u.forEach(function(e,t){var r=e.title.split(/\s+/).filter(function(e){return e.length>=2});if(!(r.length<2))for(var n=new Set(r),i=0,o=w;i<o.length;i++){var a=o[i];if(!(a.length<2)){for(var l=0,u=0,c=a;u<c.length;u++){var h=c[u];n.has(h)&&l++}var g=l/a.length;if(l>=3||g>=.5){$.add(t);break}}}}),$.size>0&&(d=$,p=Math.max(p,$.size))}var O=new Set;if(F.forEach(function(e){var t=b(e);t&&(O.add(t),O.add(t.replace(/\s+/g,"")))}),0===p){var Z=new Set;if(u.forEach(function(e,t){var r=e.title.replace(/\s+/g,"");if(O.has(e.title)||O.has(r))Z.add(t);else for(var n=Array.from(O),i=0;i<n.length;i++){var o=n[i];if(o.length>=10&&o.includes(e.title)&&e.title.length>=5){Z.add(t);break}}}),0===Z.size)return 0;d=Z}u.forEach(function(e,t){var r=d.has(t);e.elements.forEach(function(e){r?(e.classList.add("verified-match"),e.style.display=""):(e.style.display="none",e.classList.remove("verified-match"))})});var L=[];return u.forEach(function(e,t){d.has(t)&&e.elements.forEach(function(e){return L.push(e)})}),requestAnimationFrame(function(){var e=L.map(function(e){return{el:e,rect:e.getBoundingClientRect()}}).filter(function(e){return e.rect.width>0&&e.rect.height>0}).sort(function(e,t){return t.rect.width*t.rect.height-e.rect.width*e.rect.height}),t=[];e.forEach(function(e){var r=e.el,n=e.rect;t.some(function(e){return t=e.rect,r=n,i=Math.max(0,Math.min(t.right,r.right)-Math.max(t.left,r.left))*Math.max(0,Math.min(t.bottom,r.bottom)-Math.max(t.top,r.top)),((o=Math.min(t.width*t.height,r.width*r.height))>0?i/o:0)>.5;var t,r,i,o})?(r.style.display="none",r.classList.remove("verified-match")):t.push({el:r,rect:n})})}),console.groupCollapsed("[debug: PDF ordered matching - Page ".concat(t,"]")),console.log("input->",l),console.log("processed sentences->",C),console.log("processed lines->",P),console.log("Expected sentence count:",i.length),console.log("Expected line count:",o.length),console.log("Matched sequence length:",p),console.log("blocksToKeep",d,"size",d.size),console.groupEnd(),d.size}}}}}}},j=function(e){c.current&&c.current.querySelectorAll(".rpv-search__highlights").forEach(function(t){var r=t.getAttribute("data-testid"),n=parseInt((null==r?void 0:r.replace(/search__highlights-/g,""))||"-1"),i=t.querySelectorAll(".rpv-search__highlight");e.has(n)||i.forEach(function(e){e.style.display="none"})})},k=l.map(function(e){return function(e){return e?S(e).split(/\n{2,}/).map(function(e){return A(e).join(" ")}).map(function(e){return M(e)}).filter(Boolean):[]}(e)}).flat(),z=l.map(function(e){return A(e)}).flat(),R=k.some(function(e){return e.length>=3})?3:1,C=k.filter(function(e){return e.length>=R}),P=z.filter(function(e){return e.length>=R}),H=P.flatMap(function(e){return function(e,t,r){void 0===t&&(t=6),void 0===r&&(r=4);var n=e.split(/\s+/).filter(Boolean);if(n.length<=t)return[];for(var i=[],o=0;o+t<=n.length;o+=r)i.push(n.slice(o,o+t).join(" "));return n.length>t&&(n.length-t)%r!==0&&i.push(n.slice(n.length-t).join(" ")),i}(e)}),F=Array.from(new Set(e.__spreadArray(e.__spreadArray(e.__spreadArray([],C,!0),P,!0),H,!0).flatMap(function(e){var t=M(e.replace(/[\u00A0\u2009\u202F]/g," ").replace(/\u00ad/g,"").replace(/[""]/g,'"').replace(/['']/g,"'"));if(!t)return[];var r=t.replace(/[\u2013\u2014]/g,"-"),n=M(r.replace(/(\w)-\s+(\w)/g,"$1$2")),i=M(r.replace(/-/g," ")),o=M(r.replace(/-/g,"")),a=M(t.replace(/[^\w\s]/g,"")),l=new Set([t,r,n,i,o,a]);return Array.from(l).filter(Boolean)}))).filter(function(e){var t=e.split(/\s+/).filter(Boolean);return!(e.length<R)&&(t.length>=3||e.length>=12)}),N=n.searchPlugin({keyword:F}),$=i.pageNavigationPlugin(),O=o.zoomPlugin(),Z=N.jumpToMatch,L=$.jumpToPage,D=O.zoomTo,W=O.ZoomInButton,K=O.ZoomOutButton,J=O.ZoomPopover,V=r.useMemo(function(){return function(t){if(0===t.length)return[];var r=new Map;t.forEach(function(t,n){var i=null!=t.pageNumber?t.pageNumber-1:t.pageIndex;r.has(i)||r.set(i,[]),r.get(i).push(e.__assign(e.__assign({},t),{originalIndex:n}))});var n=[];return r.forEach(function(t){for(var r=e.__spreadArray([],t,!0).sort(function(e,t){return e.top!==t.top?e.top-t.top:e.left-t.left}),i=new Array(r.length).fill(!1),o=0;o<r.length;o++)if(!i[o]){var a=r[o],l=a.left,u=a.top,c=a.width,h=a.height,g=a.pageIndex,s=a.pageNumber,f=l+c,p=u+h,d=[r[o].originalIndex];i[o]=!0;for(var v=!0;v;){v=!1;for(var m=o+1;m<r.length;m++)if(!i[m]){var x=r[m],y=x.left+x.width,_=x.top+x.height,T=Math.max(0,Math.min(f,y)-Math.max(l,x.left))*Math.max(0,Math.min(p,_)-Math.max(u,x.top)),M=Math.max(c*h,1e-4),b=Math.max(x.width*x.height,1e-4),w=Math.min(M,b);(w>0?T/w:0)>=.8&&(l=Math.min(l,x.left),u=Math.min(u,x.top),c=(f=Math.max(f,y))-l,h=(p=Math.max(p,_))-u,d.push(x.originalIndex),i[m]=!0,v=!0)}}n.push({pageIndex:g,pageNumber:s,left:l,top:u,width:c,height:h,originalIndexes:d})}}),n}(s)},[s]),G=a.highlightPlugin({renderHighlights:function(e){return t.jsx(t.Fragment,{children:V.filter(function(t){return null!=t.pageNumber?t.pageNumber-1===e.pageIndex:t.pageIndex===e.pageIndex}).map(function(e){var r=e.originalIndexes.includes(_);return t.jsx("div",{style:{position:"absolute",left:"".concat(e.left,"%"),top:"".concat(e.top+.08*e.height,"%"),width:"".concat(e.width,"%"),height:"".concat(.95*e.height,"%"),background:r?p:f,opacity:r?.7:.4,transition:"background 0.2s, opacity 0.2s",border:r?"1px solid ".concat("red"):"1px solid transparent"}},e.originalIndexes.join("-"))})})}}),Q=function(){if(!x.current)try{Z(0),x.current=!0;var e=s[0];e&&g&&X(e.pageIndex,e.top)}catch(e){requestAnimationFrame(Q)}},U=function(e,t){if(c.current&&c.current.querySelector(".rpv-core__viewer")){var r=-1,n=function(){var i,o,a=null===(i=c.current)||void 0===i?void 0:i.querySelector(".rpv-core__inner-pages");if(a){if(a.scrollTop!==r)return r=a.scrollTop,void setTimeout(n,100);var l=null===(o=c.current)||void 0===o?void 0:o.querySelector('[data-testid="core__page-layer-'.concat(e,'"]'));if(l){var u=l.querySelectorAll(".rpv-search__highlight")[t];if(u){var h=a.getBoundingClientRect(),g=u.getBoundingClientRect(),s=a.scrollTop+(g.top-h.top)-a.clientHeight/2+g.height/2;a.scrollTo({top:s,behavior:"smooth"})}}}};setTimeout(n,300)}},X=function(e,t,r){if(void 0===r&&(r=0),c.current){var n=0,i=function(){var o,a;if(!(++n>60)){var l=null===(o=c.current)||void 0===o?void 0:o.querySelector(".rpv-core__inner-pages");if(l){var u=null===(a=c.current)||void 0===a?void 0:a.querySelector('[data-testid="core__page-layer-'.concat(e,'"]'));if(u){var h=u.getBoundingClientRect();if(0!==h.height){var g=l.getBoundingClientRect(),s=t/100*h.height,f=r/100*h.height,p=h.top-g.top+s,d=p+f;if(!(p>=80&&d<=l.clientHeight-80)){var v=p<80?l.scrollTop+p-80:l.scrollTop+d-l.clientHeight+80;l.scrollTo({top:v,behavior:"smooth"})}}else setTimeout(i,100)}else setTimeout(i,100)}else setTimeout(i,100)}};setTimeout(i,100)}},Y=r.useMemo(function(){var e={};return q.forEach(function(t,r){var n=u[t];n>0&&(e[n]||(e[n]=[]),e[n].push(r))}),e},[q,u]),ee=function(e){var t=u[q[e]];return(Y[t]||[]).indexOf(e)},te=function(e,t,r){if(void 0===r&&(r=0),c.current){var n=-1,i=0,o=function(){var a,l;if(!(++i>60)){var u=null===(a=c.current)||void 0===a?void 0:a.querySelector(".rpv-core__inner-pages");if(u){if(u.scrollTop!==n)return n=u.scrollTop,void setTimeout(o,100);var h=null===(l=c.current)||void 0===l?void 0:l.querySelector('[data-testid="core__page-layer-'.concat(e,'"]'));if(h){var g=h.getBoundingClientRect();if(0!==g.height){var s=u.getBoundingClientRect(),f=t/100*g.height,p=r/100*g.height,d=g.top-s.top+f,v=d+p;if(!(d>=80&&v<=u.clientHeight-80)){var m=d<80?u.scrollTop+d-80:u.scrollTop+v-u.clientHeight+80;u.scrollTo({top:m,behavior:"instant"})}}else setTimeout(o,100)}else setTimeout(o,100)}else setTimeout(o,100)}};setTimeout(o,100)}};return{setHighlightIndex:m,highlightIndex:v,cursorIndex:_,setCursorIndex:T,orderedKeys:q,totalHighlights:E,getValidPosition:function(e){if(g)return e+1;if(!u)return 0;for(var t=0,r=0;r<=e;r++)u[q[r]]>0&&t++;return t},tryJump:Q,jumpToPage:L,zoomTo:D,hideNonTargetHighlights:j,deduplicateHighlights:B,scrollToCoord:X,plugins:[g?G:N,$,O],controls:{ZoomInButton:W,ZoomOutButton:K,ZoomPopover:J,goToNext:function(){if(g&&s)for(var e=_+1;e<s.length;e++){var t=s[e],r=s[_];return T(e),void(t.pageIndex!==r.pageIndex?(L(t.pageIndex),te(t.pageIndex,t.top,t.height)):X(t.pageIndex,t.top,t.height))}else{var n=function(e){var t=q[e];if(u[t]>0){var r=u[t]-1,n=ee(e);return T(e),L(u[t]-1),U(r,n),setTimeout(function(){B(r)},500),1===Object.keys(u).length&&j(h),{value:void 0}}};for(e=_+1;e<q.length;e++){var i=n(e);if("object"==typeof i)return i.value}}},goToPrevious:function(){if(g&&s)for(var e=_-1;e>=0;e--){var t=s[e],r=s[_];return T(e),void(t.pageIndex!==r.pageIndex?(L(t.pageIndex),te(t.pageIndex,t.top,t.height)):X(t.pageIndex,t.top,t.height))}else{var n=function(e){var t=q[e];if(u[t]>0){var r=u[t]-1,n=ee(e);return T(e),L(u[t]-1),U(r,n),setTimeout(function(){B(r)},500),1===Object.keys(u).length&&j(h),{value:void 0}}};for(e=_-1;e>=0;e--){var i=n(e);if("object"==typeof i)return i.value}}}}}};
2
+ //# sourceMappingURL=usePdfHighlight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePdfHighlight.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"),n=require("react"),i=require("./ProjectAccordion.module.css.js"),s=require("axios"),r=require("./_components/Markdown.js"),o=require("../CodeCitation/_components/TooltipComponent.js"),a=require("@mui/material/CircularProgress");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(s),u=l(a);exports.default=function(s){var a=s.baseUrl,l=s.taskId,d=s.execSummary,p=s.citationTitle,f=s.isDisabled,h=void 0!==f&&f,g=s.disabledText,v=void 0===g?"":g,m=s.isChecked,x=s.onCheckChange,_=s.customClickHandler,y=s.chevronDownComponent,j=s.chevronUpComponent,C=s.styles,k=n.useState(""),b=k[0],w=k[1],S=n.useState(!1),P=S[0],q=S[1],D=n.useState(!1),E=D[0],I=D[1],T=n.useState(!1),F=T[0],N=T[1],O=n.useState(!1),W=O[0],z=O[1],B=n.useState(""),H=B[0],M=B[1],R=n.useState(""),U=R[0],V=R[1],$=n.useRef(null),A=n.useState("0px"),G=A[0],J=A[1],K=null!=m?m:E,L=300,Q=function(e){x?x(e):I(e)};n.useEffect(function(){if(d){var t=d||"";M(t);var n=(null==t?void 0:t.match(/(\*\*Overview\*\*\s*[\s\S]*?)(?=\n\*\*|$)/))||[],i=(null==n?void 0:n.length)>=1?n[1].trim():null;V(i||t.slice(0,L)+"..."),w(t)}else e.__awaiter(void 0,void 0,void 0,function(){var t,n,i,s,r,o;return e.__generator(this,function(e){switch(e.label){case 0:N(!0),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,c.default.get("".concat(a,"/analyzer/get_executive_summary?task_id=").concat(l))];case 2:return t=e.sent(),n=(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.summary)||"",M(n),i=null==n?void 0:n.match(/(\*\*Overview\*\*\s*[\s\S]*?)(?=\n\*\*|$)/),s=(null==i?void 0:i.length)>=1?i[1].trim():null,V(s||n.slice(0,L)+"..."),w(n),[3,4];case 3:return r=e.sent(),console.error("Error retrieving summary: ",r),w(""),[3,4];case 4:return N(!1),[2]}})})},[a,l]),n.useEffect(function(){P&&$.current?J("".concat($.current.scrollHeight,"px")):J("0px")},[P,b,W]);return t.jsxs(t.Fragment,{children:[t.jsx("div",e.__assign({className:i.default.pillButton,style:null==C?void 0:C.pillButton},{children:t.jsxs("div",e.__assign({style:{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",cursor:"pointer",gap:"0.5rem"},onClick:function(e){!function(e){e.preventDefault(),e.stopPropagation(),_&&_(e),q(!P)}(e)}},{children:[t.jsxs("label",e.__assign({style:{display:"inline-flex",alignItems:"center",gap:"0.5rem"}},{children:[h?t.jsx(o.default,e.__assign({description:v},{children:t.jsx("input",{type:"checkbox",disabled:h,checked:K,onChange:function(e){return Q(e.target.checked)},style:null==C?void 0:C.checkbox,onClick:function(e){return e.stopPropagation()}})})):t.jsx("input",{type:"checkbox",disabled:h,checked:K,onChange:function(e){return Q(e.target.checked)},style:null==C?void 0:C.checkbox,onClick:function(e){return e.stopPropagation()}}),t.jsx("span",e.__assign({style:null==C?void 0:C.citationTitle},{children:p}))]})),P?j:y]}))})),P?t.jsx("div",e.__assign({className:i.default.citationWrapper,style:e.__assign({overflow:"hidden",transition:"height 0.3s ease",height:G},null==C?void 0:C.citationWrapper)},{children:t.jsx("div",e.__assign({ref:$,className:i.default.citationContent,style:null==C?void 0:C.citationContent,onClick:function(e){return e.stopPropagation()}},{children:F?t.jsxs("div",e.__assign({style:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",gap:"1rem"}},{children:[t.jsx(u.default,{size:24}),t.jsx("span",{children:" Retrieving project's executive summary..."})]})):t.jsxs(t.Fragment,{children:[t.jsx(r.default,{text:H?W||b.length<=L?b:""!==U?U:b.slice(0,L)+"...":"Executive summary not found."}),H&&b.length>L&&t.jsx("span",e.__assign({style:{color:"#4f46e5",cursor:"pointer",fontWeight:500},onClick:function(e){e.stopPropagation(),function(e){e.stopPropagation(),z(function(e){return!e})}(e)}},{children:W?"View less":"View more"}))]})}))})):t.jsx(t.Fragment,{})]})};
2
+ //# sourceMappingURL=ProjectAccordion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectAccordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const e=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;e&&o.setAttribute("nonce",e),o.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap");.ProjectAccordion-module_pillButton__z14BB{align-items:center;background-color:initial;border:1px solid #c7c7c7;border-radius:6px;color:"#242424";cursor:pointer;display:flex;font-family:Plus Jakarta Sans,sans-serif;font-family:Montserrat,sans-serif;font-size:12px;font-weight:550;gap:6px;justify-content:space-between;line-height:18px;margin:8px 4px;padding:4px 8px;width:fit-content}.ProjectAccordion-module_citationWrapper__0f9GR{overflow:hidden;transition:height .3s ease}.ProjectAccordion-module_citationContent__l6lmo{transition:opacity .2s ease}.ProjectAccordion-module_loadingWrapper__Uax0A{min-height:80px}.ProjectAccordion-module_citationContent__l6lmo{background-color:#fff;border:1px solid #c7c7c7;border-radius:12px;color:#242424;font-family:Plus Jakarta Sans,sans-serif;padding:12px;width:100%}.ProjectAccordion-module_bookHeader__0wX-g{display:flex;justify-content:space-between;margin-bottom:24px}.ProjectAccordion-module_bookInfo__ApseP{display:flex;gap:16px}.ProjectAccordion-module_bookCover__W2oI3{height:auto;object-fit:cover;width:40px}.ProjectAccordion-module_title__q42XY{font-family:serif;font-size:1.25rem;font-weight:700}.ProjectAccordion-module_author__63R8Z{font-family:serif;font-size:1rem;font-weight:500}.ProjectAccordion-module_scrollContainer__2iPtk{background-color:#f2f0f0;border-radius:8px;color:#181b1f;font-family:Times New Roman,Times,serif;font-size:14.4px;height:100%;line-height:1.4;overflow-y:auto;padding:40px;position:relative}.ProjectAccordion-module_spineLeft__qIyAq,.ProjectAccordion-module_spineRight__Wp8-8{bottom:0;opacity:.5;pointer-events:none;position:absolute;top:0;width:16px;z-index:0}.ProjectAccordion-module_spineLeft__qIyAq{background:linear-gradient(90deg,#000 0,#0009 40%,#0003 70%,#0000);box-shadow:4px 0 8px #0000001a;right:5px}.ProjectAccordion-module_spineRight__Wp8-8{background:linear-gradient(270deg,#000 0,#000000b3 40%,#0006 70%,#0000);box-shadow:-4px 0 8px #0000001a;right:20px}.ProjectAccordion-module_quoteParagraph__Jq10k{margin-bottom:1rem;text-align:justify}.ProjectAccordion-module_indent__ZEGon{text-indent:1rem}.ProjectAccordion-module_pageNumber__lXvk4{color:#374151;font-weight:500;padding:.5rem;text-align:center}.ProjectAccordion-module_citationContainerTitle__HLxgU{font-family:Plus Jakarta Sans,sans-serif}'));const t=document.head||document.getElementsByTagName("head")[0]||document.documentElement;t&&t.appendChild(o)}(),exports.default={pillButton:"ProjectAccordion-module_pillButton__z14BB",citationWrapper:"ProjectAccordion-module_citationWrapper__0f9GR",citationContent:"ProjectAccordion-module_citationContent__l6lmo",loadingWrapper:"ProjectAccordion-module_loadingWrapper__Uax0A",bookHeader:"ProjectAccordion-module_bookHeader__0wX-g",bookInfo:"ProjectAccordion-module_bookInfo__ApseP",bookCover:"ProjectAccordion-module_bookCover__W2oI3",title:"ProjectAccordion-module_title__q42XY",author:"ProjectAccordion-module_author__63R8Z",scrollContainer:"ProjectAccordion-module_scrollContainer__2iPtk",spineLeft:"ProjectAccordion-module_spineLeft__qIyAq",spineRight:"ProjectAccordion-module_spineRight__Wp8-8",quoteParagraph:"ProjectAccordion-module_quoteParagraph__Jq10k",indent:"ProjectAccordion-module_indent__ZEGon",pageNumber:"ProjectAccordion-module_pageNumber__lXvk4",citationContainerTitle:"ProjectAccordion-module_citationContainerTitle__HLxgU"};
2
+ //# sourceMappingURL=ProjectAccordion.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectAccordion.module.css.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"),n=require("react-markdown"),i=require("rehype-raw");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(n),t=a(i),l={p:function(n){n.node;var i=e.__rest(n,["node"]);return r.jsx("p",e.__assign({},i,{style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",overflowX:"hidden",display:"block",textAlign:"justify",marginBottom:"1rem",maxWidth:"100%",lineHeight:"1.625",fontSize:"1rem"}},{children:null==i?void 0:i.children}))},em:function(n){n.node;var i=e.__rest(n,["node"]);return r.jsx("p",e.__assign({style:{display:"inline-flex"}},{children:null==i?void 0:i.children}))},pre:function(n){n.node;var i=e.__rest(n,["node"]);return r.jsx("p",e.__assign({},i,{style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",overflowX:"hidden",display:"block",textAlign:"justify",maxWidth:"100%",fontSize:"1rem",lineHeight:"1.625",marginBottom:"1rem"}},{children:null==i?void 0:i.children}))},code:function(n){n.node;var i=e.__rest(n,["node"]);return r.jsx("code",e.__assign({},i,{className:"text-[#d63384] max-w-full break-words text-base leading-relaxed mb-4 overflow-hidden overflow-x-hidden ",style:{fontFamily:"Plus Jakarta Sans, sans-serif",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"inline-flex",textAlign:"justify"}},{children:null==i?void 0:i.children}))},ol:function(n){n.node;var i=e.__rest(n,["node"]);return r.jsx("ol",e.__assign({style:{listStyle:"decimal",marginLeft:"1rem",fontFamily:"Plus Jakarta Sans, sans-serif"}},{children:i.children}))},li:function(n){n.node;var i=e.__rest(n,["node"]);return r.jsx("li",e.__assign({style:{marginTop:"1rem",marginBottom:"1rem"}},{children:i.children}))},a:function(n){n.node;var i=e.__rest(n,["node"]);return r.jsx("a",e.__assign({href:i.href,style:{display:"inline-flex"}},{children:i.children}))}};exports.default=function(n){var i=n.text;return r.jsx(o.default,e.__assign({rehypePlugins:[t.default],components:l},{children:i}))};
2
+ //# sourceMappingURL=Markdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Markdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),l=require("lucide-react"),s=require("showdown"),i=require("@mui/material"),o=require("../../icons/Illustration.svg.js"),a=require("uuid"),r=require("./UserStoryCard.module.css.js"),d=require("../../utils/helpers.js"),u=require("../../utils/user-story.utils.js"),c=require("../../shared/AtomicButton.js"),v=require("../RichTextEditor/RichTextEditor.js"),g=require("../userstory-with-citation/UserStoryWithCitation.js"),j=require("../RequirementAIWrapper/RequirementAIWrapper.js"),p=require("../story-screen/BigEnoughPanel.js"),y=require("./TitleEditor/TitleEditor.js"),f=require("./ClinicalTrialSection.js"),h=require("../story-screen/CompletionPanel.js"),m=require("../../icons/CDIcon.js");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=b(s);const x={[j.SectionStatus.WAITING]:"WAITING TO GENERATE",[j.SectionStatus.IN_PROGRESS]:"IN PROGRESS",[j.SectionStatus.GENERATED]:"GENERATED",[j.SectionStatus.FAILED]:"FAILED",[j.SectionStatus.GENERATE]:"GENERATE",[j.SectionStatus.APPROVED]:"APPROVED"};function C(e){const n=[],s=/<learned>(.*?)<\/learned>/g;let o,r=0,d=0;for(;null!==(o=s.exec(e));){const[,u]=o,c=o.index;c>r&&n.push(t.jsx("span",{children:e.slice(r,c)},"text-pre-"+d++)),n.push(t.jsx(i.Tooltip,Object.assign({title:u,placement:"top"},{children:t.jsx(l.Info,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),`tooltip-${a.v4()}`)),r=s.lastIndex}return r<(null==e?void 0:e.length)&&n.push(t.jsx("span",{children:e.slice(r)},"text-post-"+d++)),n}function O(e,t,n){var l;if(!e)return{};if(t)return Object.assign({},e.parentConfig);const s=Object.assign({},e.childConfig);return n&&(null===(l=e.subFeatureOverrides)||void 0===l?void 0:l[n])?Object.assign(Object.assign({},s),e.subFeatureOverrides[n]):s}const I=({displayName:e})=>{var n;const{customStyles:s}=j.useRequirementAI(),i=null===(n=null==s?void 0:s.userStoryCardStyles)||void 0===n?void 0:n.showDisplayName;return t.jsxs("div",Object.assign({className:r.default.displayName,style:null==i?void 0:i.wrapper},{children:[t.jsx(l.Bookmark,{className:r.default.displayNameIcon,style:null==i?void 0:i.displayNameIcon}),t.jsxs("span",Object.assign({style:null==i?void 0:i.label},{children:[e,":"]}))]}))},w=({isUserStoryCurrentlyUpdated:s,artifactId:b,artifactTitleId:N,parentUserStory:E,currentUserStory:D,onUserStoryChange:B,parentIndex:T,currentIndex:P,enableDownload:k,isDiffEditReviewMode:A,showUserStoryDiff:U,handleDownloadUserStory:_,handleOpenSendDialog:R,updateUserStoryArtifact:M,selectedArtifactId:q,isDisplayHighlightControl:L,elementDisplayConfig:F,_resolvedConfig:z,showWrapper:V=!1,defaultExpanded:W,actionItemsConfig:G,onDelete:H,contextVariant:$,expandedSubFeatures:Q,showDisplayName:X=!0,allowTitleEdit:Z=!0,showConfidenceScore:J=!0,showBorderTop:K=!0,sectionStatusConfig:Y,showCompletionPanel:ee=!1,completionPanelConfig:te,showAddSectionButton:ne=!1,disableEditPlan:le=!1,useMuiTooltip:se=!1,approveButtonConfig:ie,editButtonConfig:oe,CDNeededInChip:ae})=>{var re,de,ue,ce,ve,ge,je,pe,ye,fe,he,me,be,Se,xe,Ce,Oe,Ie,we,Ne,Ee,De;const{isLoadingSectionData:Be=!1,onLoadSectionData:Te,status:Pe,onStatusClick:ke,completedCount:Ae,totalCount:Ue,isNoDataAvailable:_e=!1}=null!=Y?Y:{},{searchQueryList:Re,citations:Me,customStyles:qe,customSectionConfig:Le}=j.useRequirementAI(),Fe=null==qe?void 0:qe.userStoryCardStyles,ze=null==Fe?void 0:Fe.customSectionEditButton,Ve=null==Fe?void 0:Fe.statusStyles,We=null===(re=null==qe?void 0:qe.userStoryCardStyles)||void 0===re?void 0:re.userStoryEditStyles,Ge=null===(de=null==qe?void 0:qe.userStoryScreenStyles)||void 0===de?void 0:de.userStoryContentStyles,He=null==Fe?void 0:Fe.progressHeaderStyles,$e=null==Fe?void 0:Fe.clinicalTrialSectionStyles,Qe=null==Fe?void 0:Fe.CompletionStyles,Xe=null==Fe?void 0:Fe.noDataStyles,Ze=null==Fe?void 0:Fe.approveButtonStyles,Je=null!==(ce=null===(ue=null==Le?void 0:Le.shouldRender)||void 0===ue?void 0:ue.call(Le,D))&&void 0!==ce&&ce,Ke=null===(ve=null==Le?void 0:Le.getValue)||void 0===ve?void 0:ve.call(Le,D),Ye=null!==(je=null===(ge=null==Le?void 0:Le.getFields)||void 0===ge?void 0:ge.call(Le,D))&&void 0!==je?je:[],et=null!==(pe=null==Le?void 0:Le.isEditDisabled)&&void 0!==pe&&pe,tt=null!==(fe=null===(ye=null==Le?void 0:Le.isSaving)||void 0===ye?void 0:ye.call(Le,D))&&void 0!==fe&&fe,nt=(lt=null!==(he=D.completion_percentage)&&void 0!==he?he:0,st=Qe,lt>=80?null==st?void 0:st.highCompletion:lt>=50?null==st?void 0:st.mediumCompletion:null==st?void 0:st.lowCompletion);var lt,st;const it={[j.SectionStatus.WAITING]:null==Ve?void 0:Ve.waiting,[j.SectionStatus.IN_PROGRESS]:null==Ve?void 0:Ve.inProgress,[j.SectionStatus.GENERATED]:null==Ve?void 0:Ve.generated,[j.SectionStatus.FAILED]:null==Ve?void 0:Ve.failed,[j.SectionStatus.GENERATE]:null==Ve?void 0:Ve.generate,[j.SectionStatus.APPROVED]:null==Ve?void 0:Ve.approved},[ot,at]=n.useState(Object.assign(Object.assign({},structuredClone(D)),{value:d.formatMarkdown(D.value)||""})),[rt,dt]=n.useState({userStory:!!D.isDefaultEdit}),[ut,ct]=n.useState(!1),[vt,gt]=n.useState(!1),[jt,pt]=n.useState(null),[yt,ft]=n.useState(null),{userStory:ht,customIcons:mt}=j.useRequirementAI(),[bt,St]=n.useState(null!=W?W:""===T||q===D.artifactId||!!D.isDefaultOpen),[xt,Ct]=n.useState(!1),[Ot,It]=n.useState(null),[wt,Nt]=n.useState(null),[Et,Dt]=n.useState(!1),Bt=n.useRef(null),Tt=n.useRef(null),[Pt,kt]=n.useState(!1),[At,Ut]=n.useState(!1),_t=n.useRef(null);n.useEffect(()=>{s&&St(s)},[s]),n.useEffect(()=>{at(Object.assign(Object.assign({},structuredClone(D)),{value:d.formatMarkdown(D.value)||""}))},[D]),n.useEffect(()=>{Re.length>0?St(!0):void 0===W&&(q?St(q===D.artifactId):Q&&Q.length>0&&St(Q.includes(D.artifactId)))},[Re,q,D.artifactId,Q]);const Rt=()=>{It(null)},Mt=()=>{Nt(null)},qt=()=>{bt&&rt.userStory&&Tt.current&&!Tt.current.requestClose()||St(e=>!e)},Lt=()=>e.__awaiter(void 0,void 0,void 0,function*(){var e,t;Dt(!0);try{"userStory"==="userStory"&&(B(ot),console.log("I am changing RTE editor values",ot)),yield null===(e=null==oe?void 0:oe.onSaveEditedSection)||void 0===e?void 0:e.call(oe,ot),yield M(Me,ht,b,null===(t=_t.current)||void 0===t?void 0:t.signal),B(Object.assign(Object.assign({},ot),{isDefaultEdit:!1})),dt(e=>Object.assign(Object.assign({},e),{userStory:!1}))}finally{Dt(!1)}});const Ft=null!=(null==D?void 0:D.big_enough)&&!Number.isNaN(D.big_enough)&&!!(null==D?void 0:D.big_enough_decision_factors),zt=null!==(me=null==D?void 0:D.completion_percentage)&&void 0!==me?me:0,Vt=!!(null==D?void 0:D.completion_decision_factors),Wt=""===T,Gt=null!=z?z:O(F,Wt),Ht=!A&&!U;return n.useEffect(()=>{if(!yt)return;const e=setTimeout(()=>{const e=document.getElementById(`story-card-${yt}`);null==e||e.scrollIntoView({behavior:"smooth",block:"start"})},100);return()=>clearTimeout(e)},[yt]),n.useEffect(()=>{D.isDefaultEdit&&dt(e=>Object.assign(Object.assign({},e),{userStory:!0}))},[D.isDefaultEdit]),t.jsxs("div",Object.assign({className:r.default.card,style:null==Fe?void 0:Fe.cardStyle,id:`story-card-${D.title}`,"data-expanded":bt},{children:[t.jsxs("div",Object.assign({className:r.default.titleSection,style:null==Fe?void 0:Fe.titleSection},{children:[t.jsxs("div",Object.assign({className:r.default.titleRow,style:null==Fe?void 0:Fe.titleRow,onClick:qt},{children:[t.jsxs("div",Object.assign({className:r.default.titleLeft,style:null==Fe?void 0:Fe.titleLeft,onMouseEnter:()=>kt(!0),onMouseLeave:()=>kt(!1)},{children:[X&&t.jsx(I,{displayName:N}),ut&&Ht?t.jsx(y.InlineTitleEditor,{title:D.title,onSave:t=>((t,n)=>e.__awaiter(void 0,void 0,void 0,function*(){var e;try{let l=Object.assign({},D);D.artifactId===n?l.title=t:l.sub_features=(null===(e=D.sub_features)||void 0===e?void 0:e.map(e=>e.artifactId===n?Object.assign(Object.assign({},e),{title:t}):e))||[],at(l),B(l),ct(!1)}catch(e){console.error("Failed to save title",e)}}))(t,D.artifactId),onCancel:()=>{ct(!1)},inputStyle:null==We?void 0:We.inlineTitleInput,confirmButtonStyle:null==We?void 0:We.inlineTitleConfirm,cancelButtonStyle:null==We?void 0:We.inlineTitleCancel},"inline-title-editor"):t.jsxs("div",Object.assign({className:r.default.storyTitleWrapper},{children:[t.jsx(i.Tooltip,Object.assign({title:C(D.title),arrow:!0},{children:t.jsx("h2",Object.assign({title:se?void 0:D.title,className:r.default.storyTitle,style:null==Fe?void 0:Fe.storyTitle},{children:C(D.title)}),D.artifactId)})),ee&&!Je&&(Vt?t.jsx(h.CompletionPanel,Object.assign({customIcons:null==mt?void 0:mt.userStoryIcons,customStyles:null==Fe?void 0:Fe.aiReasoningCitaionStyles,currentUserStory:D,panelStyles:null==Fe?void 0:Fe.CompletionStyles,onToggleStateChange:Ut,completionPanelConfig:te},{children:t.jsxs("div",Object.assign({style:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",gap:"4px"},null==Qe?void 0:Qe.badge),nt)},{children:[t.jsxs("span",{children:[zt,"% Completed"]}),t.jsx("span",Object.assign({style:{display:"flex",alignItems:"center"}},{children:t.jsx(m.default,{color:"currentColor"})})),At?t.jsx(l.ChevronUp,{size:14,style:null==Qe?void 0:Qe.chevronStyle}):t.jsx(l.ChevronDown,{size:14,style:null==Qe?void 0:Qe.chevronStyle})]}))})):t.jsx("div",Object.assign({style:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",gap:"4px"},null==Qe?void 0:Qe.badge),nt)},{children:t.jsxs("span",{children:[zt,"% Completed"]})}))),Z&&t.jsx("button",Object.assign({type:"button",className:r.default.titleEditButton,style:null==We?void 0:We.titleEditButton,onClick:e=>{e.stopPropagation(),ct(!0),bt||St(!0)},"aria-label":"Edit title",title:"Edit title"},{children:t.jsx("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:t.jsx("path",{d:"M8.99998 14.9992H15.75M2.25 14.9992H3.50591C3.87279 14.9992 4.05624 14.9992 4.22887 14.9577C4.38192 14.921 4.52824 14.8604 4.66245 14.7782C4.81382 14.6854 4.94354 14.5557 5.20296 14.2962L14.625 4.87419C15.2463 4.25287 15.2463 3.24551 14.625 2.62419C14.0037 2.00287 12.9963 2.00287 12.375 2.62419L2.95295 12.0462C2.69352 12.3057 2.5638 12.4354 2.47104 12.5868C2.3888 12.721 2.32819 12.8673 2.29145 13.0203C2.25 13.193 2.25 13.3764 2.25 13.7433V14.9992Z",stroke:"#94A3B8","stroke-width":"1.54286","stroke-linecap":"round","stroke-linejoin":"round"})}))}))]}))]})),(Pe||void 0!==Ae&&void 0!==Ue)&&t.jsxs("div",Object.assign({className:r.default.statusContainer},{children:[void 0!==Ae&&void 0!==Ue&&t.jsxs("div",Object.assign({className:r.default.completedBadge},{children:["Completed: ",Ae,"/",Ue]})),Pe&&t.jsx("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),null==ke||ke()},className:r.default.statusButton,style:it[Pe]},{children:x[Pe]}))]})),t.jsxs("div",Object.assign({className:r.default.titleActions,style:null==Fe?void 0:Fe.titleActions,onClick:e=>e.stopPropagation()},{children:[(Gt.showProgressPercentage||Gt.showGapBox)&&V&&t.jsxs("div",Object.assign({className:r.default.progressHeader,style:null==He?void 0:He.wrapper},{children:[Gt.showProgressPercentage&&t.jsxs("div",Object.assign({className:r.default.progressPercentage,style:null==He?void 0:He.percentage},{children:[null!==(Se=null!==(be=null==D?void 0:D.confidenceScore)&&void 0!==be?be:null==Gt?void 0:Gt.confidenceValue)&&void 0!==Se?Se:"0","%"]})),Gt.showGapBox&&t.jsxs("div",Object.assign({className:r.default.gapBox,style:null==He?void 0:He.gapBox},{children:[null!==(Ce=null!==(xe=null==D?void 0:D.gapValue)&&void 0!==xe?xe:null==Gt?void 0:Gt.gapBoxValue)&&void 0!==Ce?Ce:"2"," ","Gaps"]}))]})),Ft&&t.jsx(p.BigEnoughPanel,{customIcons:null==mt?void 0:mt.userStoryIcons,customStyles:null==Fe?void 0:Fe.aiReasoningCitaionStyles,currentUserStory:D,panelStyles:null==Fe?void 0:Fe.BigEnoughStyles}),!rt.userStory&&t.jsxs(t.Fragment,{children:[!1!==(null==Gt?void 0:Gt.showShareButton)&&t.jsx("button",Object.assign({className:r.default.iconButton,style:null==Fe?void 0:Fe.iconButton,onClick:e=>{It(e.currentTarget)}},{children:t.jsx(l.ExternalLink,{size:16})})),t.jsxs(i.Menu,Object.assign({id:"user-story-share-menu",anchorEl:Ot,open:!!Ot,onClose:()=>It(null),style:null==Fe?void 0:Fe.userStoryShareMenu},{children:[k&&t.jsx(i.MenuItem,Object.assign({style:null==Fe?void 0:Fe.userStoryMenuItem,onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){Ct(!0),_&&(yield Promise.all([_("pdf"),_("doc")]),Ct(!1))})},{children:t.jsxs("div",Object.assign({ref:Bt,className:r.default.menuItemContent,style:null==Fe?void 0:Fe.menuItemContent},{children:[t.jsx(l.Download,{size:16,color:null==Fe?void 0:Fe.menuIconColor}),t.jsx("p",Object.assign({style:null==Fe?void 0:Fe.menuLabel},{children:"Download"}))]}))})),t.jsx(i.MenuItem,Object.assign({style:null==Fe?void 0:Fe.userStoryMenuItem,onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){let e=D;E&&(e=Object.assign(Object.assign({},D),{value:`${u.replaceTitleSection(null==E?void 0:E.value,D.title)} \n${D.value}`})),null==R||R(!0,[e],D.artifactId),Rt()})},{children:t.jsxs("div",Object.assign({style:null==Fe?void 0:Fe.menuItemContent,className:r.default.menuItemContentPadded},{children:[t.jsx(l.Share2,{size:16,color:null==Fe?void 0:Fe.menuIconColor}),t.jsx("p",Object.assign({style:null==Fe?void 0:Fe.menuLabel},{children:"Send"}))]}))})),t.jsx(i.MenuItem,Object.assign({style:null==Fe?void 0:Fe.userStoryMenuItem,onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){const e=(new S.default.Converter).makeHtml(d.formatMarkdown(D.value)||D.value),t=function(e){const t=(new S.default.Converter).makeHtml(e),n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}(d.formatMarkdown(D.value)||D.value),n=new ClipboardItem({"text/plain":new Blob([t],{type:"text/plain"}),"text/html":new Blob([e],{type:"text/html"})});try{yield navigator.clipboard.write([n]),console.log("Copied User Story")}catch(e){console.error("Failed to copy user story:",e)}finally{Rt()}})},{children:t.jsxs("div",Object.assign({style:null==Fe?void 0:Fe.menuItemContent,className:r.default.menuItemContentPadded},{children:[t.jsx(l.Copy,{size:16,color:null==Fe?void 0:Fe.menuIconColor}),t.jsx("p",Object.assign({style:null==Fe?void 0:Fe.menuLabel},{children:"Copy"}))]}))}))]}))]}),rt.userStory&&bt?t.jsx(c.default,{type:"outline",children:"Cancel",style:null==Fe?void 0:Fe.cancelButton,onClick:()=>{var e;null===(e=_t.current)||void 0===e||e.abort(),dt(e=>Object.assign(Object.assign({},e),{userStory:!1}))}}):t.jsx(t.Fragment,{}),rt.userStory&&bt?t.jsx(c.default,{type:"fill",children:Et?t.jsxs("span",Object.assign({className:r.default.savingSpinner,style:null==Fe?void 0:Fe.savingSpinner},{children:[t.jsx(l.LoaderCircle,{className:r.default.spinAnimation,style:null==Fe?void 0:Fe.spinAnimation}),t.jsx("span",{children:"Saving..."})]})):"Save",isDisable:Et,style:Et?null==Fe?void 0:Fe.savingButton:null==Fe?void 0:Fe.saveButton,onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){yield Lt()})}):!A&&!U&&!le&&bt&&!1!==(null==Gt?void 0:Gt.showEditButton)&&t.jsx("button",Object.assign({className:r.default.iconButton,style:null==Fe?void 0:Fe.editButton,onClick:()=>dt(e=>Object.assign(Object.assign({},e),{userStory:!0}))},{children:t.jsx(l.PencilIcon,{color:null==Fe?void 0:Fe.pencilIconColor,size:16})})),ne&&Wt&&bt&&!A&&!U&&!1!==(null==Gt?void 0:Gt.showEditButton)&&t.jsxs("button",Object.assign({type:"button",className:r.default.addSectionButton,style:null==We?void 0:We.addSectionButton,onClick:e=>{var t,n,l;e.stopPropagation();const s=(null!==(n=null===(t=D.sub_features)||void 0===t?void 0:t.length)&&void 0!==n?n:0)+1,i={artifactId:a.v4(),title:`New Section ${s}`,value:"Please add details for this section.",section:"subfeature",isDefaultOpen:!0},o=Object.assign(Object.assign({},D),{sub_features:[...null!==(l=D.sub_features)&&void 0!==l?l:[],i]});at(o),B(o),St(!0),ft(i.title)},"aria-label":"Add section",title:"Add section"},{children:[t.jsx(l.Plus,{size:14}),t.jsx("span",Object.assign({className:r.default.addSectionLabel},{children:"Add Section"}))]})),!Wt&&!A&&!le&&!U&&t.jsx("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),null==H||H()},className:r.default.iconButton,style:null==We?void 0:We.deleteButton,"aria-label":"Delete section",title:"Delete section"},{children:t.jsx(l.Trash2,{size:16})})),Je&&t.jsx("button",Object.assign({type:"button",className:r.default.iconButton,style:null==ze?void 0:ze.button,disabled:et,onClick:e=>{if(e.stopPropagation(),vt)return pt(null),void gt(!1);pt(structuredClone(null!=Ke?Ke:{})),St(!0),gt(!0)}},{children:vt?t.jsx(l.X,{size:16,color:null==Fe?void 0:Fe.pencilIconColor,style:null==ze?void 0:ze.cancelIcon}):t.jsx(l.PencilIcon,{size:16,color:null==Fe?void 0:Fe.pencilIconColor,style:null==ze?void 0:ze.editIcon})})),(null==Gt?void 0:Gt.actionItemsButton)&&t.jsxs(t.Fragment,{children:[t.jsx("span",Object.assign({className:r.default.actionItemBtn,style:null==Fe?void 0:Fe.actionItemBtn,onClick:e=>{e.stopPropagation(),Nt(e.currentTarget)}},{children:t.jsx(l.Ellipsis,{})})),t.jsx(i.Menu,Object.assign({id:"user-story-action-menu",anchorEl:wt,open:!!wt,onClose:Mt,style:null==Fe?void 0:Fe.userStoryShareMenu},{children:null==G?void 0:G.items.map((e,n)=>t.jsx(i.MenuItem,Object.assign({style:null==Fe?void 0:Fe.userStoryMenuItem,onClick:()=>{e.onclick(D),Mt()}},{children:t.jsxs("div",Object.assign({className:r.default.menuItemContent,style:Object.assign(Object.assign({},null==Fe?void 0:Fe.menuItemContent),!e.isActive&&{cursor:"not-allowed",opacity:.5})},{children:[t.jsx("span",Object.assign({className:r.default.menuItemIcon,style:null==Fe?void 0:Fe.menuItemIcon},{children:e.icon})),t.jsx("p",Object.assign({style:null==Fe?void 0:Fe.menuLabel},{children:e.name})),t.jsx("span",{className:r.default.menuItemRight,style:null==Fe?void 0:Fe.menuItemRight})]}))}),`action-item-${n}-${e.name}`))}))]}),t.jsx("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),qt()},style:null==Fe?void 0:Fe.chevronButton,className:r.default.chevronButton},{children:bt?t.jsx(l.ChevronUp,{className:r.default.chevronIcon,color:null==Fe?void 0:Fe.chevronIconColor}):t.jsx(l.ChevronDown,{className:r.default.chevronIcon,color:null==Fe?void 0:Fe.chevronIconColor})}))]}))]})),t.jsx("div",{className:r.default.divider,style:null==Fe?void 0:Fe.dividerStyle})]})),bt&&t.jsx("div",Object.assign({className:r.default.cardContent,style:Object.assign(Object.assign({},null==Fe?void 0:Fe.cardContentStyle),{borderTop:K?"1px solid #E5E5E5":"none"})},{children:Be?t.jsxs("div",Object.assign({className:r.default.loadingContainer},{children:[t.jsx("div",Object.assign({className:r.default.loadingIconWrapper},{children:t.jsx(l.Hourglass,{size:28,color:"#5B3DF5",className:r.default.spinAnimation})})),t.jsxs("div",{children:[t.jsx("h3",Object.assign({className:r.default.loadingTitle},{children:"Section generation in progress.."})),t.jsx("p",Object.assign({className:r.default.loadingSubtitle},{children:"This may take a few minutes"}))]}),t.jsx("button",Object.assign({type:"button",onClick:()=>null==Te?void 0:Te(),className:r.default.viewStatusButton},{children:"View Status"}))]})):_e?t.jsxs("div",Object.assign({className:r.default.noDataContainer,style:null==Xe?void 0:Xe.container},{children:[t.jsx("img",{src:o.default,alt:"No data available",className:r.default.noDataIllustration,style:null==Xe?void 0:Xe.illustration}),t.jsx("h3",Object.assign({className:r.default.noDataTitle,style:null==Xe?void 0:Xe.title},{children:"No Data Available for This Section"})),t.jsx("p",Object.assign({className:r.default.noDataSubtitle,style:null==Xe?void 0:Xe.subtitle},{children:"We couldn't find data for this section yet. Upload the required document from the Documents tab to generate content."}))]})):t.jsxs("div",Object.assign({className:r.default.contentInner,style:null==Fe?void 0:Fe.contentInner},{children:[t.jsxs("div",Object.assign({className:r.default.descriptionSection,style:null==Fe?void 0:Fe.descriptionSection},{children:[t.jsx("div",{className:r.default.justifyBetween,style:null==Fe?void 0:Fe.justifyBetween}),rt.userStory?t.jsx(v.default,{ref:Tt,minHeight:"100%",height:"100%",type:"string",value:d.formatMarkdown(D.value)||"",handleUpdateState:(e,t)=>{const n=d.indentMarkdown(t);at(e=>Object.assign(Object.assign({},e),{value:n||""}))},doNotShowBorderInViewMode:!1,onBlur:()=>{},mode:rt.userStory?"edit":"readOnly",onSaveUnsavedChanges:()=>e.__awaiter(void 0,void 0,void 0,function*(){yield Lt(),St(!1)}),onDiscardUnsavedChanges:()=>{at(Object.assign(Object.assign({},structuredClone(D)),{value:d.formatMarkdown(D.value)||""})),dt(e=>Object.assign(Object.assign({},e),{userStory:!1})),St(!1)},isSavingUnsavedChanges:Et}):Je?t.jsx(f.default,{styles:$e,fields:Ye,readonly:!vt,isSaving:tt,value:null!==(Oe=null!=jt?jt:Ke)&&void 0!==Oe?Oe:{},onChange:pt,onSave:()=>e.__awaiter(void 0,void 0,void 0,function*(){var e;jt&&(yield null===(e=null==Le?void 0:Le.onSave)||void 0===e?void 0:e.call(Le,D,jt),pt(null),gt(!1))}),onCancel:()=>{pt(null),gt(!1)}}):t.jsxs(t.Fragment,{children:[t.jsx(g.default,{showUserStoryDiff:U,isParent:""===T,message:d.formatMarkdown(D.value)||"",artifactId:D.artifactId,customStyles:Ge,isDisplayHighlightControl:L,contextVariant:$,showConfidenceScore:J,CDNeededInChip:ae}),(ie||oe)&&t.jsxs("div",Object.assign({className:r.default.actionButtonsContainer,style:null==Ze?void 0:Ze.container},{children:[oe&&!rt.userStory&&t.jsxs(t.Fragment,{children:[t.jsx("button",Object.assign({type:"button",className:r.default.actionButton,style:null==Ze?void 0:Ze.button,disabled:oe.disabled||oe.isLoading,onClick:e=>{var t;e.stopPropagation(),null===(t=oe.onClick)||void 0===t||t.call(oe),dt(e=>Object.assign(Object.assign({},e),{userStory:!0})),St(!0)}},{children:oe.isLoading?t.jsxs(t.Fragment,{children:[t.jsx(l.LoaderCircle,{size:16,className:r.default.actionButtonSpinner,style:null==Ze?void 0:Ze.icon}),t.jsx("span",Object.assign({style:null==Ze?void 0:Ze.text},{children:null!==(Ie=oe.label)&&void 0!==Ie?Ie:"Edit"}))]}):t.jsxs(t.Fragment,{children:[t.jsx(l.PencilIcon,{size:16,style:null==Ze?void 0:Ze.icon}),t.jsx("span",Object.assign({style:null==Ze?void 0:Ze.text},{children:null!==(we=oe.label)&&void 0!==we?we:"Edit"}))]})})),ie&&t.jsx("span",{className:r.default.actionButtonDivider})]}),ie&&t.jsx("button",Object.assign({type:"button",className:r.default.actionButton,style:null==Ze?void 0:Ze.button,disabled:ie.disabled||ie.isLoading,onClick:e=>{var t;e.stopPropagation(),null===(t=ie.onClick)||void 0===t||t.call(ie)}},{children:ie.isLoading?t.jsxs(t.Fragment,{children:[t.jsx(l.LoaderCircle,{size:16,className:r.default.actionButtonSpinner,style:null==Ze?void 0:Ze.icon}),t.jsx("span",Object.assign({style:null==Ze?void 0:Ze.text},{children:null!==(Ne=ie.label)&&void 0!==Ne?Ne:"Approve"}))]}):t.jsxs(t.Fragment,{children:[t.jsx(l.Check,{size:16,style:null==Ze?void 0:Ze.icon}),t.jsx("span",Object.assign({style:null==Ze?void 0:Ze.text},{children:null!==(Ee=ie.label)&&void 0!==Ee?Ee:"Approve"}))]})}))]}))]})]})),null===(De=ot.sub_features)||void 0===De?void 0:De.map((e,n)=>{const l=O(F,!1,e.artifactId);return t.jsx(w,{artifactId:b,isUserStoryCurrentlyUpdated:s,artifactTitleId:`${N}-${String.fromCharCode(65+n)}`,parentUserStory:D,parentIndex:`${T}${T&&"."}${P}`,currentIndex:`${n+1}`,doNotShowBorderInViewMode:!1,currentUserStory:e,onUserStoryChange:e=>((e,t)=>{const n=[...D.sub_features||[]];n[e]=t,B(Object.assign(Object.assign({},D),{sub_features:n}))})(n,e),enableDownload:!0,isDiffEditReviewMode:A,showUserStoryDiff:U,updateUserStoryArtifact:M,handleDownloadUserStory:_,handleOpenSendDialog:R,isDisplayHighlightControl:L,elementDisplayConfig:F,_resolvedConfig:l,actionItemsConfig:G,onDelete:()=>(e=>{const t=(D.sub_features||[]).filter((t,n)=>n!==e),n=Object.assign(Object.assign({},D),{sub_features:t});at(n),B(n)})(n),expandedSubFeatures:Q,disableEditPlan:le,useMuiTooltip:se},e.artifactId)})]}))}))]}))};exports.StoryCard=w,exports.UserStoryCardWrapper=({artifactTitleIDs:e,expandedSubFeatures:n,isDiffEditReviewMode:s,showUserStoryDiff:i,updateUserStoryArtifact:o,isUserStoryCurrentlyUpdated:a,artifactId:d,handleOpenSendDialog:u,handleDownloadUserStory:c,selectedArtifactId:v,isDisplayHighlightControl:g,elementDisplayConfig:p,showWrapper:y,actionItemsConfig:f,contextVariant:h,showDisplayName:m,allowTitleEdit:b,showConfidenceScore:S,showBorderTop:x,defaultExpanded:C,showCompletionPanel:I=!1,completionPanelConfig:N,showAddSectionButton:E=!1,disableEditPlan:D=!1,useMuiTooltip:B=!1,approveButtonConfig:T,editButtonConfig:P,CDNeededInChip:k})=>{const{userStory:A,setUserStory:U,customStyles:_,searchQueryList:R,currentHighlightIndex:M,setCurrentHighlightIndex:q,segmentComponentConfig:L,sectionStatusConfig:F}=j.useRequirementAI(),z=null==_?void 0:_.userStoryCardStyles,V=0===M,W=M===R.length-1;return t.jsxs("div",Object.assign({className:r.default.userStoryCardWrapper,style:g?Object.assign(Object.assign({},null==z?void 0:z.userStoryCardWrapper),{position:"relative"}):null==z?void 0:z.userStoryCardWrapper},{children:[g&&t.jsx(t.Fragment,{children:R.length>0&&t.jsx("div",Object.assign({className:r.default.wrapper},{children:t.jsx("div",Object.assign({className:r.default.highlightNavigation},{children:t.jsxs("div",Object.assign({className:r.default.navigationContainer},{children:[t.jsxs("span",Object.assign({className:r.default.navCounter},{children:[M+1," of ",R.length]})),t.jsxs("div",Object.assign({className:r.default.navButtons},{children:[t.jsx("button",Object.assign({onClick:()=>{M>0&&q(e=>e-1)},className:r.default.navButton,disabled:V},{children:t.jsx(l.ChevronUpIcon,{size:20,className:r.default.navIcon})})),t.jsx("button",Object.assign({onClick:()=>{M<R.length-1&&q(e=>e+1)},className:r.default.navButton,disabled:W},{children:t.jsx(l.ChevronDownIcon,{size:20,className:r.default.navIcon})}))]}))]}))}))}))}),A.map((l,r)=>{const j=O(p,!0);return t.jsx(w,{isUserStoryCurrentlyUpdated:a,artifactId:d,artifactTitleId:e[r]||"",expandedSubFeatures:n,currentUserStory:l,onUserStoryChange:e=>{U(t=>(t[r]=e,[...t]))},parentIndex:"",currentIndex:`${r+1}`,doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:s,showUserStoryDiff:i,updateUserStoryArtifact:o,handleOpenSendDialog:u,handleDownloadUserStory:c,selectedArtifactId:v,isDisplayHighlightControl:g,elementDisplayConfig:p,_resolvedConfig:j,showWrapper:y,defaultExpanded:C,actionItemsConfig:f,contextVariant:h,showDisplayName:m,allowTitleEdit:b,showConfidenceScore:S,showBorderTop:x,sectionStatusConfig:F,showCompletionPanel:I,completionPanelConfig:N,showAddSectionButton:E,disableEditPlan:D,useMuiTooltip:B,approveButtonConfig:T,CDNeededInChip:k,editButtonConfig:P},l.artifactId)})]}))},exports.default=w,exports.replaceLearnedTagsWithInfo=C;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),l=require("lucide-react"),s=require("showdown"),i=require("@mui/material"),o=require("../../icons/Illustration.svg.js"),a=require("uuid"),r=require("./UserStoryCard.module.css.js"),d=require("../../utils/helpers.js"),u=require("../../utils/user-story.utils.js"),c=require("../../shared/AtomicButton.js"),v=require("../RichTextEditor/RichTextEditor.js"),g=require("../userstory-with-citation/UserStoryWithCitation.js"),j=require("../RequirementAIWrapper/RequirementAIWrapper.js"),p=require("../story-screen/BigEnoughPanel.js"),f=require("./TitleEditor/TitleEditor.js"),y=require("./ClinicalTrialSection.js"),h=require("../story-screen/CompletionPanel.js"),m=require("../../icons/CDIcon.js");function b(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=b(s);const x={[j.SectionStatus.WAITING]:"WAITING TO GENERATE",[j.SectionStatus.IN_PROGRESS]:"IN PROGRESS",[j.SectionStatus.GENERATED]:"GENERATED",[j.SectionStatus.FAILED]:"FAILED",[j.SectionStatus.GENERATE]:"GENERATE",[j.SectionStatus.APPROVED]:"APPROVED"};function C(e){const n=[],s=/<learned>(.*?)<\/learned>/g;let o,r=0,d=0;for(;null!==(o=s.exec(e));){const[,u]=o,c=o.index;c>r&&n.push(t.jsx("span",{children:e.slice(r,c)},"text-pre-"+d++)),n.push(t.jsx(i.Tooltip,Object.assign({title:u,placement:"top"},{children:t.jsx(l.Info,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),`tooltip-${a.v4()}`)),r=s.lastIndex}return r<(null==e?void 0:e.length)&&n.push(t.jsx("span",{children:e.slice(r)},"text-post-"+d++)),n}function O(e,t,n){var l;if(!e)return{};if(t)return Object.assign({},e.parentConfig);const s=Object.assign({},e.childConfig);return n&&(null===(l=e.subFeatureOverrides)||void 0===l?void 0:l[n])?Object.assign(Object.assign({},s),e.subFeatureOverrides[n]):s}const I=({displayName:e})=>{var n;const{customStyles:s}=j.useRequirementAI(),i=null===(n=null==s?void 0:s.userStoryCardStyles)||void 0===n?void 0:n.showDisplayName;return t.jsxs("div",Object.assign({className:r.default.displayName,style:null==i?void 0:i.wrapper},{children:[t.jsx(l.Bookmark,{className:r.default.displayNameIcon,style:null==i?void 0:i.displayNameIcon}),t.jsxs("span",Object.assign({style:null==i?void 0:i.label},{children:[e,":"]}))]}))},w=({isUserStoryCurrentlyUpdated:s,artifactId:b,artifactTitleId:N,parentUserStory:E,currentUserStory:D,onUserStoryChange:B,parentIndex:T,currentIndex:P,enableDownload:k,isDiffEditReviewMode:A,showUserStoryDiff:U,handleDownloadUserStory:_,handleOpenSendDialog:M,updateUserStoryArtifact:R,selectedArtifactId:q,isDisplayHighlightControl:L,elementDisplayConfig:F,_resolvedConfig:z,showWrapper:V=!1,defaultExpanded:W,actionItemsConfig:G,onDelete:H,contextVariant:$,expandedSubFeatures:Q,showDisplayName:X=!0,allowTitleEdit:Z=!0,showConfidenceScore:J=!0,showBorderTop:K=!0,sectionStatusConfig:Y,showCompletionPanel:ee=!1,completionPanelConfig:te,showAddSectionButton:ne=!1,disableEditPlan:le=!1,useMuiTooltip:se=!1,approveButtonConfig:ie,editButtonConfig:oe,CDNeededInChip:ae})=>{var re,de,ue,ce,ve,ge,je,pe,fe,ye,he,me,be,Se,xe,Ce,Oe,Ie,we,Ne,Ee,De,Be,Te;const{isLoadingSectionData:Pe=!1,onLoadSectionData:ke,status:Ae,onStatusClick:Ue,completedCount:_e,totalCount:Me,isNoDataAvailable:Re=!1}=null!=Y?Y:{},{searchQueryList:qe,citations:Le,customStyles:Fe,customSectionConfig:ze}=j.useRequirementAI(),Ve=null==Fe?void 0:Fe.userStoryCardStyles,We=null==Ve?void 0:Ve.customSectionEditButton,Ge=null==Ve?void 0:Ve.statusStyles,He=null===(re=null==Fe?void 0:Fe.userStoryCardStyles)||void 0===re?void 0:re.userStoryEditStyles,$e=null===(de=null==Fe?void 0:Fe.userStoryScreenStyles)||void 0===de?void 0:de.userStoryContentStyles,Qe=null==Ve?void 0:Ve.progressHeaderStyles,Xe=null==Ve?void 0:Ve.clinicalTrialSectionStyles,Ze=null==Ve?void 0:Ve.CompletionStyles,Je=null==Ve?void 0:Ve.noDataStyles,Ke=null==Ve?void 0:Ve.approveButtonStyles,Ye=null!==(ce=null===(ue=null==ze?void 0:ze.shouldRender)||void 0===ue?void 0:ue.call(ze,D))&&void 0!==ce&&ce,et=null===(ve=null==ze?void 0:ze.getValue)||void 0===ve?void 0:ve.call(ze,D),tt=null!==(je=null===(ge=null==ze?void 0:ze.getFields)||void 0===ge?void 0:ge.call(ze,D))&&void 0!==je?je:[],nt=null!==(pe=null==ze?void 0:ze.isEditDisabled)&&void 0!==pe&&pe,lt=null!==(ye=null===(fe=null==ze?void 0:ze.isSaving)||void 0===fe?void 0:fe.call(ze,D))&&void 0!==ye&&ye,st=(it=null!==(he=D.completion_percentage)&&void 0!==he?he:0,ot=Ze,it>=80?null==ot?void 0:ot.highCompletion:it>=50?null==ot?void 0:ot.mediumCompletion:null==ot?void 0:ot.lowCompletion);var it,ot;const at={[j.SectionStatus.WAITING]:null==Ge?void 0:Ge.waiting,[j.SectionStatus.IN_PROGRESS]:null==Ge?void 0:Ge.inProgress,[j.SectionStatus.GENERATED]:null==Ge?void 0:Ge.generated,[j.SectionStatus.FAILED]:null==Ge?void 0:Ge.failed,[j.SectionStatus.GENERATE]:null==Ge?void 0:Ge.generate,[j.SectionStatus.APPROVED]:null==Ge?void 0:Ge.approved},[rt,dt]=n.useState(Object.assign(Object.assign({},structuredClone(D)),{value:d.formatMarkdown(D.value)||""})),[ut,ct]=n.useState({userStory:!!D.isDefaultEdit}),[vt,gt]=n.useState(!1),[jt,pt]=n.useState(!1),[ft,yt]=n.useState(null),[ht,mt]=n.useState(null),{userStory:bt,customIcons:St}=j.useRequirementAI(),[xt,Ct]=n.useState(null!=W?W:""===T||q===D.artifactId||!!D.isDefaultOpen),[Ot,It]=n.useState(!1),[wt,Nt]=n.useState(null),[Et,Dt]=n.useState(null),[Bt,Tt]=n.useState(!1),Pt=n.useRef(null),kt=n.useRef(null),[At,Ut]=n.useState(!1),[_t,Mt]=n.useState(!1),Rt=n.useRef(null),[qt,Lt]=n.useState(!1);n.useEffect(()=>{s&&Ct(s)},[s]),n.useEffect(()=>{dt(Object.assign(Object.assign({},structuredClone(D)),{value:d.formatMarkdown(D.value)||""}))},[D]),n.useEffect(()=>{qe.length>0?Ct(!0):void 0===W&&q&&Ct(q===D.artifactId)},[qe,q,D.artifactId]),n.useEffect(()=>{Q&&Q.length>0&&Ct(Q.includes(D.artifactId)||""===T||q===D.artifactId||!!D.isDefaultOpen)},[Q]);const Ft=()=>{Nt(null)},zt=()=>{Dt(null)},Vt=()=>{xt&&ut.userStory&&kt.current&&!kt.current.requestClose()||Ct(e=>!e)},Wt=()=>e.__awaiter(void 0,void 0,void 0,function*(){var e,t;Tt(!0);try{"userStory"==="userStory"&&(B(rt),console.log("I am changing RTE editor values",rt)),yield null===(e=null==oe?void 0:oe.onSaveEditedSection)||void 0===e?void 0:e.call(oe,rt),yield R(Le,bt,b,null===(t=Rt.current)||void 0===t?void 0:t.signal),B(Object.assign(Object.assign({},rt),{isDefaultEdit:!1})),ct(e=>Object.assign(Object.assign({},e),{userStory:!1}))}finally{Tt(!1)}});const Gt=null!=(null==D?void 0:D.big_enough)&&!Number.isNaN(D.big_enough)&&!!(null==D?void 0:D.big_enough_decision_factors),Ht=null!==(me=null==D?void 0:D.completion_percentage)&&void 0!==me?me:0,$t=!!(null==D?void 0:D.completion_decision_factors),Qt=""===T,Xt=null!=z?z:O(F,Qt),Zt=!A&&!U;return n.useEffect(()=>{if(!ht)return;const e=setTimeout(()=>{const e=document.getElementById(`story-card-${ht}`);null==e||e.scrollIntoView({behavior:"smooth",block:"start"})},100);return()=>clearTimeout(e)},[ht]),n.useEffect(()=>{D.isDefaultEdit&&ct(e=>Object.assign(Object.assign({},e),{userStory:!0}))},[D.isDefaultEdit]),t.jsxs("div",Object.assign({className:r.default.card,style:null==Ve?void 0:Ve.cardStyle,id:`story-card-${D.title}`,"data-expanded":xt},{children:[t.jsxs("div",Object.assign({className:r.default.titleSection,style:null==Ve?void 0:Ve.titleSection},{children:[t.jsxs("div",Object.assign({className:r.default.titleRow,style:null==Ve?void 0:Ve.titleRow,onClick:Vt},{children:[t.jsxs("div",Object.assign({className:r.default.titleLeft,style:null==Ve?void 0:Ve.titleLeft,onMouseEnter:()=>Ut(!0),onMouseLeave:()=>Ut(!1)},{children:[X&&t.jsx(I,{displayName:N}),vt&&Zt?t.jsx(f.InlineTitleEditor,{title:D.title,onSave:t=>((t,n)=>e.__awaiter(void 0,void 0,void 0,function*(){var e;try{let l=Object.assign({},D);D.artifactId===n?l.title=t:l.sub_features=(null===(e=D.sub_features)||void 0===e?void 0:e.map(e=>e.artifactId===n?Object.assign(Object.assign({},e),{title:t}):e))||[],dt(l),B(l),gt(!1)}catch(e){console.error("Failed to save title",e)}}))(t,D.artifactId),onCancel:()=>{gt(!1)},inputStyle:null==He?void 0:He.inlineTitleInput,confirmButtonStyle:null==He?void 0:He.inlineTitleConfirm,cancelButtonStyle:null==He?void 0:He.inlineTitleCancel},"inline-title-editor"):t.jsxs("div",Object.assign({className:r.default.storyTitleWrapper},{children:[t.jsx(i.Tooltip,Object.assign({title:C(D.title),arrow:!0},{children:t.jsx("h2",Object.assign({title:se?void 0:D.title,className:r.default.storyTitle,style:null==Ve?void 0:Ve.storyTitle},{children:C(D.title)}),D.artifactId)})),ee&&!Ye&&($t?t.jsx(h.CompletionPanel,Object.assign({customIcons:null==St?void 0:St.userStoryIcons,customStyles:null==Ve?void 0:Ve.aiReasoningCitaionStyles,currentUserStory:D,panelStyles:null==Ve?void 0:Ve.CompletionStyles,onToggleStateChange:Mt,completionPanelConfig:te},{children:t.jsxs("div",Object.assign({style:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",gap:"4px"},null==Ze?void 0:Ze.badge),st)},{children:[t.jsxs("span",{children:[Ht,"% Completed"]}),t.jsx("span",Object.assign({style:{display:"flex",alignItems:"center"}},{children:t.jsx(m.default,{color:"currentColor"})})),_t?t.jsx(l.ChevronUp,{size:14,style:null==Ze?void 0:Ze.chevronStyle}):t.jsx(l.ChevronDown,{size:14,style:null==Ze?void 0:Ze.chevronStyle})]}))})):t.jsx("div",Object.assign({style:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",gap:"4px"},null==Ze?void 0:Ze.badge),st)},{children:t.jsxs("span",{children:[Ht,"% Completed"]})}))),Z&&t.jsx("button",Object.assign({type:"button",className:r.default.titleEditButton,style:null==He?void 0:He.titleEditButton,onClick:e=>{e.stopPropagation(),gt(!0),xt||Ct(!0)},"aria-label":"Edit title",title:"Edit title"},{children:t.jsx("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:t.jsx("path",{d:"M8.99998 14.9992H15.75M2.25 14.9992H3.50591C3.87279 14.9992 4.05624 14.9992 4.22887 14.9577C4.38192 14.921 4.52824 14.8604 4.66245 14.7782C4.81382 14.6854 4.94354 14.5557 5.20296 14.2962L14.625 4.87419C15.2463 4.25287 15.2463 3.24551 14.625 2.62419C14.0037 2.00287 12.9963 2.00287 12.375 2.62419L2.95295 12.0462C2.69352 12.3057 2.5638 12.4354 2.47104 12.5868C2.3888 12.721 2.32819 12.8673 2.29145 13.0203C2.25 13.193 2.25 13.3764 2.25 13.7433V14.9992Z",stroke:"#94A3B8","stroke-width":"1.54286","stroke-linecap":"round","stroke-linejoin":"round"})}))}))]}))]})),(Ae||void 0!==_e&&void 0!==Me)&&t.jsxs("div",Object.assign({className:r.default.statusContainer},{children:[void 0!==_e&&void 0!==Me&&t.jsxs("div",Object.assign({className:r.default.completedBadge},{children:["Completed: ",_e,"/",Me]})),Ae&&t.jsx("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),null==Ue||Ue()},onMouseEnter:()=>Lt(!0),onMouseLeave:()=>Lt(!1),className:r.default.statusButton,style:Object.assign(Object.assign({},null===(be=at[Ae])||void 0===be?void 0:be.default),qt&&(null===(Se=at[Ae])||void 0===Se?void 0:Se.hover))},{children:x[Ae]}))]})),t.jsxs("div",Object.assign({className:r.default.titleActions,style:null==Ve?void 0:Ve.titleActions,onClick:e=>e.stopPropagation()},{children:[(Xt.showProgressPercentage||Xt.showGapBox)&&V&&t.jsxs("div",Object.assign({className:r.default.progressHeader,style:null==Qe?void 0:Qe.wrapper},{children:[Xt.showProgressPercentage&&t.jsxs("div",Object.assign({className:r.default.progressPercentage,style:null==Qe?void 0:Qe.percentage},{children:[null!==(Ce=null!==(xe=null==D?void 0:D.confidenceScore)&&void 0!==xe?xe:null==Xt?void 0:Xt.confidenceValue)&&void 0!==Ce?Ce:"0","%"]})),Xt.showGapBox&&t.jsxs("div",Object.assign({className:r.default.gapBox,style:null==Qe?void 0:Qe.gapBox},{children:[null!==(Ie=null!==(Oe=null==D?void 0:D.gapValue)&&void 0!==Oe?Oe:null==Xt?void 0:Xt.gapBoxValue)&&void 0!==Ie?Ie:"2"," ","Gaps"]}))]})),Gt&&t.jsx(p.BigEnoughPanel,{customIcons:null==St?void 0:St.userStoryIcons,customStyles:null==Ve?void 0:Ve.aiReasoningCitaionStyles,currentUserStory:D,panelStyles:null==Ve?void 0:Ve.BigEnoughStyles}),!ut.userStory&&t.jsxs(t.Fragment,{children:[!1!==(null==Xt?void 0:Xt.showShareButton)&&t.jsx("button",Object.assign({className:r.default.iconButton,style:null==Ve?void 0:Ve.iconButton,onClick:e=>{Nt(e.currentTarget)}},{children:t.jsx(l.ExternalLink,{size:16})})),t.jsxs(i.Menu,Object.assign({id:"user-story-share-menu",anchorEl:wt,open:!!wt,onClose:()=>Nt(null),style:null==Ve?void 0:Ve.userStoryShareMenu},{children:[k&&t.jsx(i.MenuItem,Object.assign({style:null==Ve?void 0:Ve.userStoryMenuItem,onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){It(!0),_&&(yield Promise.all([_("pdf"),_("doc")]),It(!1))})},{children:t.jsxs("div",Object.assign({ref:Pt,className:r.default.menuItemContent,style:null==Ve?void 0:Ve.menuItemContent},{children:[t.jsx(l.Download,{size:16,color:null==Ve?void 0:Ve.menuIconColor}),t.jsx("p",Object.assign({style:null==Ve?void 0:Ve.menuLabel},{children:"Download"}))]}))})),t.jsx(i.MenuItem,Object.assign({style:null==Ve?void 0:Ve.userStoryMenuItem,onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){let e=D;E&&(e=Object.assign(Object.assign({},D),{value:`${u.replaceTitleSection(null==E?void 0:E.value,D.title)} \n${D.value}`})),null==M||M(!0,[e],D.artifactId),Ft()})},{children:t.jsxs("div",Object.assign({style:null==Ve?void 0:Ve.menuItemContent,className:r.default.menuItemContentPadded},{children:[t.jsx(l.Share2,{size:16,color:null==Ve?void 0:Ve.menuIconColor}),t.jsx("p",Object.assign({style:null==Ve?void 0:Ve.menuLabel},{children:"Send"}))]}))})),t.jsx(i.MenuItem,Object.assign({style:null==Ve?void 0:Ve.userStoryMenuItem,onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){const e=(new S.default.Converter).makeHtml(d.formatMarkdown(D.value)||D.value),t=function(e){const t=(new S.default.Converter).makeHtml(e),n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}(d.formatMarkdown(D.value)||D.value),n=new ClipboardItem({"text/plain":new Blob([t],{type:"text/plain"}),"text/html":new Blob([e],{type:"text/html"})});try{yield navigator.clipboard.write([n]),console.log("Copied User Story")}catch(e){console.error("Failed to copy user story:",e)}finally{Ft()}})},{children:t.jsxs("div",Object.assign({style:null==Ve?void 0:Ve.menuItemContent,className:r.default.menuItemContentPadded},{children:[t.jsx(l.Copy,{size:16,color:null==Ve?void 0:Ve.menuIconColor}),t.jsx("p",Object.assign({style:null==Ve?void 0:Ve.menuLabel},{children:"Copy"}))]}))}))]}))]}),ut.userStory&&xt?t.jsx(c.default,{type:"outline",children:"Cancel",style:null==Ve?void 0:Ve.cancelButton,onClick:()=>{var e;null===(e=Rt.current)||void 0===e||e.abort(),ct(e=>Object.assign(Object.assign({},e),{userStory:!1}))}}):t.jsx(t.Fragment,{}),ut.userStory&&xt?t.jsx(c.default,{type:"fill",children:Bt?t.jsxs("span",Object.assign({className:r.default.savingSpinner,style:null==Ve?void 0:Ve.savingSpinner},{children:[t.jsx(l.LoaderCircle,{className:r.default.spinAnimation,style:null==Ve?void 0:Ve.spinAnimation}),t.jsx("span",{children:"Saving..."})]})):"Save",isDisable:Bt,style:Bt?null==Ve?void 0:Ve.savingButton:null==Ve?void 0:Ve.saveButton,onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){yield Wt()})}):!A&&!U&&!le&&xt&&!1!==(null==Xt?void 0:Xt.showEditButton)&&t.jsx("button",Object.assign({className:r.default.iconButton,style:null==Ve?void 0:Ve.editButton,onClick:()=>ct(e=>Object.assign(Object.assign({},e),{userStory:!0}))},{children:t.jsx(l.PencilIcon,{color:null==Ve?void 0:Ve.pencilIconColor,size:16})})),ne&&Qt&&xt&&!A&&!U&&!1!==(null==Xt?void 0:Xt.showEditButton)&&t.jsxs("button",Object.assign({type:"button",className:r.default.addSectionButton,style:null==He?void 0:He.addSectionButton,onClick:e=>{var t,n,l;e.stopPropagation();const s=(null!==(n=null===(t=D.sub_features)||void 0===t?void 0:t.length)&&void 0!==n?n:0)+1,i={artifactId:a.v4(),title:`New Section ${s}`,value:"Please add details for this section.",section:"subfeature",isDefaultOpen:!0},o=Object.assign(Object.assign({},D),{sub_features:[...null!==(l=D.sub_features)&&void 0!==l?l:[],i]});dt(o),B(o),Ct(!0),mt(i.title)},"aria-label":"Add section",title:"Add section"},{children:[t.jsx(l.Plus,{size:14}),t.jsx("span",Object.assign({className:r.default.addSectionLabel},{children:"Add Section"}))]})),!Qt&&!A&&!le&&!U&&t.jsx("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),null==H||H()},className:r.default.iconButton,style:null==He?void 0:He.deleteButton,"aria-label":"Delete section",title:"Delete section"},{children:t.jsx(l.Trash2,{size:16})})),Ye&&t.jsx("button",Object.assign({type:"button",className:r.default.iconButton,style:null==We?void 0:We.button,disabled:nt,onClick:e=>{if(e.stopPropagation(),jt)return yt(null),void pt(!1);yt(structuredClone(null!=et?et:{})),Ct(!0),pt(!0)}},{children:jt?t.jsx(l.X,{size:16,color:null==Ve?void 0:Ve.pencilIconColor,style:null==We?void 0:We.cancelIcon}):t.jsx(l.PencilIcon,{size:16,color:null==Ve?void 0:Ve.pencilIconColor,style:null==We?void 0:We.editIcon})})),(null==Xt?void 0:Xt.actionItemsButton)&&t.jsxs(t.Fragment,{children:[t.jsx("span",Object.assign({className:r.default.actionItemBtn,style:null==Ve?void 0:Ve.actionItemBtn,onClick:e=>{e.stopPropagation(),Dt(e.currentTarget)}},{children:t.jsx(l.Ellipsis,{})})),t.jsx(i.Menu,Object.assign({id:"user-story-action-menu",anchorEl:Et,open:!!Et,onClose:zt,style:null==Ve?void 0:Ve.userStoryShareMenu},{children:null==G?void 0:G.items.map((e,n)=>t.jsx(i.MenuItem,Object.assign({style:null==Ve?void 0:Ve.userStoryMenuItem,onClick:()=>{e.onclick(D),zt()}},{children:t.jsxs("div",Object.assign({className:r.default.menuItemContent,style:Object.assign(Object.assign({},null==Ve?void 0:Ve.menuItemContent),!e.isActive&&{cursor:"not-allowed",opacity:.5})},{children:[t.jsx("span",Object.assign({className:r.default.menuItemIcon,style:null==Ve?void 0:Ve.menuItemIcon},{children:e.icon})),t.jsx("p",Object.assign({style:null==Ve?void 0:Ve.menuLabel},{children:e.name})),t.jsx("span",{className:r.default.menuItemRight,style:null==Ve?void 0:Ve.menuItemRight})]}))}),`action-item-${n}-${e.name}`))}))]}),t.jsx("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),Vt()},style:null==Ve?void 0:Ve.chevronButton,className:r.default.chevronButton},{children:xt?t.jsx(l.ChevronUp,{className:r.default.chevronIcon,color:null==Ve?void 0:Ve.chevronIconColor}):t.jsx(l.ChevronDown,{className:r.default.chevronIcon,color:null==Ve?void 0:Ve.chevronIconColor})}))]}))]})),t.jsx("div",{className:r.default.divider,style:null==Ve?void 0:Ve.dividerStyle})]})),xt&&t.jsx("div",Object.assign({className:r.default.cardContent,style:Object.assign(Object.assign({},null==Ve?void 0:Ve.cardContentStyle),{borderTop:K?"1px solid #E5E5E5":"none"})},{children:Pe?t.jsxs("div",Object.assign({className:r.default.loadingContainer},{children:[t.jsx("div",Object.assign({className:r.default.loadingIconWrapper},{children:t.jsx(l.Hourglass,{size:28,color:"#5B3DF5",className:r.default.spinAnimation})})),t.jsxs("div",{children:[t.jsx("h3",Object.assign({className:r.default.loadingTitle},{children:"Section generation in progress.."})),t.jsx("p",Object.assign({className:r.default.loadingSubtitle},{children:"This may take a few minutes"}))]}),t.jsx("button",Object.assign({type:"button",onClick:()=>null==ke?void 0:ke(),className:r.default.viewStatusButton},{children:"View Status"}))]})):Re?t.jsxs("div",Object.assign({className:r.default.noDataContainer,style:null==Je?void 0:Je.container},{children:[t.jsx("img",{src:o.default,alt:"No data available",className:r.default.noDataIllustration,style:null==Je?void 0:Je.illustration}),t.jsx("h3",Object.assign({className:r.default.noDataTitle,style:null==Je?void 0:Je.title},{children:"No Data Available for This Section"})),t.jsx("p",Object.assign({className:r.default.noDataSubtitle,style:null==Je?void 0:Je.subtitle},{children:"We couldn't find data for this section yet. Upload the required document from the Documents tab to generate content."}))]})):t.jsxs("div",Object.assign({className:r.default.contentInner,style:null==Ve?void 0:Ve.contentInner},{children:[t.jsxs("div",Object.assign({className:r.default.descriptionSection,style:null==Ve?void 0:Ve.descriptionSection},{children:[t.jsx("div",{className:r.default.justifyBetween,style:null==Ve?void 0:Ve.justifyBetween}),ut.userStory?t.jsx(v.default,{ref:kt,minHeight:"100%",height:"100%",type:"string",value:d.formatMarkdown(D.value)||"",handleUpdateState:(e,t)=>{const n=d.indentMarkdown(t);dt(e=>Object.assign(Object.assign({},e),{value:n||""}))},doNotShowBorderInViewMode:!1,onBlur:()=>{},mode:ut.userStory?"edit":"readOnly",onSaveUnsavedChanges:()=>e.__awaiter(void 0,void 0,void 0,function*(){yield Wt(),Ct(!1)}),onDiscardUnsavedChanges:()=>{dt(Object.assign(Object.assign({},structuredClone(D)),{value:d.formatMarkdown(D.value)||""})),ct(e=>Object.assign(Object.assign({},e),{userStory:!1})),Ct(!1)},isSavingUnsavedChanges:Bt}):Ye?t.jsx(y.default,{styles:Xe,fields:tt,readonly:!jt,isSaving:lt,value:null!==(we=null!=ft?ft:et)&&void 0!==we?we:{},onChange:yt,onSave:()=>e.__awaiter(void 0,void 0,void 0,function*(){var e;ft&&(yield null===(e=null==ze?void 0:ze.onSave)||void 0===e?void 0:e.call(ze,D,ft),yt(null),pt(!1))}),onCancel:()=>{yt(null),pt(!1)}}):t.jsxs(t.Fragment,{children:[t.jsx(g.default,{showUserStoryDiff:U,isParent:""===T,message:d.formatMarkdown(D.value)||"",artifactId:D.artifactId,customStyles:$e,isDisplayHighlightControl:L,contextVariant:$,showConfidenceScore:J,CDNeededInChip:ae}),(ie||oe)&&t.jsxs("div",Object.assign({className:r.default.actionButtonsContainer,style:null==Ke?void 0:Ke.container},{children:[oe&&!ut.userStory&&t.jsxs(t.Fragment,{children:[t.jsx("button",Object.assign({type:"button",className:r.default.actionButton,style:null==Ke?void 0:Ke.button,disabled:oe.disabled||oe.isLoading,onClick:e=>{var t;e.stopPropagation(),null===(t=oe.onClick)||void 0===t||t.call(oe),ct(e=>Object.assign(Object.assign({},e),{userStory:!0})),Ct(!0)}},{children:oe.isLoading?t.jsxs(t.Fragment,{children:[t.jsx(l.LoaderCircle,{size:16,className:r.default.actionButtonSpinner,style:null==Ke?void 0:Ke.icon}),t.jsx("span",Object.assign({style:null==Ke?void 0:Ke.text},{children:null!==(Ne=oe.label)&&void 0!==Ne?Ne:"Edit"}))]}):t.jsxs(t.Fragment,{children:[t.jsx(l.PencilIcon,{size:16,style:null==Ke?void 0:Ke.icon}),t.jsx("span",Object.assign({style:null==Ke?void 0:Ke.text},{children:null!==(Ee=oe.label)&&void 0!==Ee?Ee:"Edit"}))]})})),ie&&t.jsx("span",{className:r.default.actionButtonDivider})]}),ie&&t.jsx("button",Object.assign({type:"button",className:r.default.actionButton,style:null==Ke?void 0:Ke.button,disabled:ie.disabled||ie.isLoading,onClick:e=>{var t;e.stopPropagation(),null===(t=ie.onClick)||void 0===t||t.call(ie)}},{children:ie.isLoading?t.jsxs(t.Fragment,{children:[t.jsx(l.LoaderCircle,{size:16,className:r.default.actionButtonSpinner,style:null==Ke?void 0:Ke.icon}),t.jsx("span",Object.assign({style:null==Ke?void 0:Ke.text},{children:null!==(De=ie.label)&&void 0!==De?De:"Approve"}))]}):t.jsxs(t.Fragment,{children:[t.jsx(l.Check,{size:16,style:null==Ke?void 0:Ke.icon}),t.jsx("span",Object.assign({style:null==Ke?void 0:Ke.text},{children:null!==(Be=ie.label)&&void 0!==Be?Be:"Approve"}))]})}))]}))]})]})),null===(Te=rt.sub_features)||void 0===Te?void 0:Te.map((e,n)=>{const l=O(F,!1,e.artifactId);return t.jsx(w,{artifactId:b,isUserStoryCurrentlyUpdated:s,artifactTitleId:`${N}-${String.fromCharCode(65+n)}`,parentUserStory:D,parentIndex:`${T}${T&&"."}${P}`,currentIndex:`${n+1}`,doNotShowBorderInViewMode:!1,currentUserStory:e,onUserStoryChange:e=>((e,t)=>{const n=[...D.sub_features||[]];n[e]=t,B(Object.assign(Object.assign({},D),{sub_features:n}))})(n,e),enableDownload:!0,isDiffEditReviewMode:A,showUserStoryDiff:U,updateUserStoryArtifact:R,handleDownloadUserStory:_,handleOpenSendDialog:M,isDisplayHighlightControl:L,elementDisplayConfig:F,_resolvedConfig:l,actionItemsConfig:G,onDelete:()=>(e=>{const t=(D.sub_features||[]).filter((t,n)=>n!==e),n=Object.assign(Object.assign({},D),{sub_features:t});dt(n),B(n)})(n),expandedSubFeatures:Q,disableEditPlan:le,useMuiTooltip:se},e.artifactId)})]}))}))]}))};exports.StoryCard=w,exports.UserStoryCardWrapper=({artifactTitleIDs:e,expandedSubFeatures:n,isDiffEditReviewMode:s,showUserStoryDiff:i,updateUserStoryArtifact:o,isUserStoryCurrentlyUpdated:a,artifactId:d,handleOpenSendDialog:u,handleDownloadUserStory:c,selectedArtifactId:v,isDisplayHighlightControl:g,elementDisplayConfig:p,showWrapper:f,actionItemsConfig:y,contextVariant:h,showDisplayName:m,allowTitleEdit:b,showConfidenceScore:S,showBorderTop:x,defaultExpanded:C,showCompletionPanel:I=!1,completionPanelConfig:N,showAddSectionButton:E=!1,disableEditPlan:D=!1,useMuiTooltip:B=!1,approveButtonConfig:T,editButtonConfig:P,CDNeededInChip:k})=>{const{userStory:A,setUserStory:U,customStyles:_,searchQueryList:M,currentHighlightIndex:R,setCurrentHighlightIndex:q,segmentComponentConfig:L,sectionStatusConfig:F}=j.useRequirementAI(),z=null==_?void 0:_.userStoryCardStyles,V=0===R,W=R===M.length-1;return t.jsxs("div",Object.assign({className:r.default.userStoryCardWrapper,style:g?Object.assign(Object.assign({},null==z?void 0:z.userStoryCardWrapper),{position:"relative"}):null==z?void 0:z.userStoryCardWrapper},{children:[g&&t.jsx(t.Fragment,{children:M.length>0&&t.jsx("div",Object.assign({className:r.default.wrapper},{children:t.jsx("div",Object.assign({className:r.default.highlightNavigation},{children:t.jsxs("div",Object.assign({className:r.default.navigationContainer},{children:[t.jsxs("span",Object.assign({className:r.default.navCounter},{children:[R+1," of ",M.length]})),t.jsxs("div",Object.assign({className:r.default.navButtons},{children:[t.jsx("button",Object.assign({onClick:()=>{R>0&&q(e=>e-1)},className:r.default.navButton,disabled:V},{children:t.jsx(l.ChevronUpIcon,{size:20,className:r.default.navIcon})})),t.jsx("button",Object.assign({onClick:()=>{R<M.length-1&&q(e=>e+1)},className:r.default.navButton,disabled:W},{children:t.jsx(l.ChevronDownIcon,{size:20,className:r.default.navIcon})}))]}))]}))}))}))}),A.map((l,r)=>{const j=O(p,!0);return t.jsx(w,{isUserStoryCurrentlyUpdated:a,artifactId:d,artifactTitleId:e[r]||"",expandedSubFeatures:n,currentUserStory:l,onUserStoryChange:e=>{U(t=>(t[r]=e,[...t]))},parentIndex:"",currentIndex:`${r+1}`,doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:s,showUserStoryDiff:i,updateUserStoryArtifact:o,handleOpenSendDialog:u,handleDownloadUserStory:c,selectedArtifactId:v,isDisplayHighlightControl:g,elementDisplayConfig:p,_resolvedConfig:j,showWrapper:f,defaultExpanded:C,actionItemsConfig:y,contextVariant:h,showDisplayName:m,allowTitleEdit:b,showConfidenceScore:S,showBorderTop:x,sectionStatusConfig:F,showCompletionPanel:I,completionPanelConfig:N,showAddSectionButton:E,disableEditPlan:D,useMuiTooltip:B,approveButtonConfig:T,CDNeededInChip:k,editButtonConfig:P},l.artifactId)})]}))},exports.default=w,exports.replaceLearnedTagsWithInfo=C;
2
2
  //# sourceMappingURL=UserStoryCard.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),l=require("react/jsx-runtime"),t=require("react"),s=require("@mui/material/Dialog"),a=require("@mui/material/DialogTitle"),n=require("@mui/material/DialogContent"),i=require("@mui/material/DialogActions"),o=require("@mui/material/IconButton"),c=require("@mui/material/Radio"),u=require("lucide-react"),d=require("./deleteSegmentDialog.module.css.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=r(s),f=r(a),b=r(n),j=r(i),g=r(o),p=r(c);const y=[{key:"this-segment",label:"This segment"},{key:"all-occurrences",label:"All occurrences of this segment"}];exports.default=({open:s,onHide:a,onDelete:n,customDeleteStyles:i,customDeleteIcons:o})=>{const[c,r]=t.useState(null),[x,v]=t.useState(!1),h=(null==o?void 0:o.closeIcon)||l.jsx(u.X,{size:20}),O=(null==o?void 0:o.infoIcon)||l.jsx(u.Info,{className:d.default.infoIcon});t.useEffect(()=>{s&&(r(null),v(!1))},[s]);const N=t.useMemo(()=>y.map(e=>Object.assign(Object.assign({},e),{label:"all-occurrences"===e.key?`${e.label}`:e.label})),[]),k=!c||x;return l.jsxs(m.default,Object.assign({open:s,onClose:a,maxWidth:!1,PaperProps:{className:d.default.paper,style:null==i?void 0:i.paper}},{children:[l.jsxs(f.default,Object.assign({className:d.default.title,style:null==i?void 0:i.title},{children:[l.jsx("span",Object.assign({className:d.default.titleText,style:null==i?void 0:i.titleText},{children:"Delete Segment"})),l.jsx(g.default,Object.assign({"aria-label":"close",onClick:a,className:d.default.closeButton,style:null==i?void 0:i.closeButton},{children:h}))]})),l.jsxs(b.default,Object.assign({className:d.default.content,style:null==i?void 0:i.content},{children:[l.jsx("p",Object.assign({className:d.default.subtitle,style:null==i?void 0:i.subtitle},{children:"Choose what you'd like to delete."})),l.jsx("div",Object.assign({className:d.default.optionsContainer,style:null==i?void 0:i.optionsContainer},{children:N.map(e=>{const t=c===e.key;return l.jsxs("label",Object.assign({htmlFor:`delete-segment-${e.key}`,className:`${d.default.optionLabel} ${t?d.default.optionSelected:""}`,style:Object.assign(Object.assign({},null==i?void 0:i.optionLabel),t?null==i?void 0:i.optionSelected:{})},{children:[l.jsx(p.default,{inputProps:{id:`delete-segment-${e.key}`},name:"delete-segment-scope",value:e.key,checked:t,onChange:()=>r(e.key),className:d.default.radio}),l.jsx("span",Object.assign({className:d.default.optionText,style:null==i?void 0:i.optionText},{children:e.label}))]}),e.key)})})),l.jsxs("div",Object.assign({className:d.default.infoRow,style:null==i?void 0:i.infoRow},{children:[O,l.jsx("span",Object.assign({className:d.default.infoText,style:null==i?void 0:i.infoText},{children:"This action permanently deletes the selected segment(s) and cannot be undone."}))]}))]})),l.jsxs(j.default,Object.assign({className:d.default.actions,style:null==i?void 0:i.actions},{children:[l.jsx("button",Object.assign({onClick:a,disabled:x,className:d.default.cancelButton,style:null==i?void 0:i.cancelButton},{children:"Cancel"})),l.jsxs("button",Object.assign({onClick:()=>e.__awaiter(void 0,void 0,void 0,function*(){if(c){v(!0);try{yield n(c),a()}finally{v(!1)}}}),disabled:k,className:`${d.default.deleteButton} ${k?d.default.deleteButtonDisabled:""}`,style:Object.assign(Object.assign({},null==i?void 0:i.deleteButton),k?null==i?void 0:i.deleteButtonDisabled:{})},{children:[x&&l.jsx("span",{className:d.default.spinner}),"Delete segment"]}))]}))]}))};
2
+ //# sourceMappingURL=DeleteSegmentsDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteSegmentsDialog.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}