@e-llm-studio/requirement-ai 0.0.238 → 0.0.239

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 (486) hide show
  1. package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
  2. package/dist/cjs/features/RequirementAI/components/CustomPopover/CustomPopover.js +1 -1
  3. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js +1 -1
  4. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js +1 -1
  5. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js +1 -1
  6. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js +1 -1
  7. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js +1 -1
  8. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js +1 -1
  9. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js +1 -1
  10. package/dist/cjs/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js +1 -1
  11. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  12. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
  13. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js +1 -1
  14. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +1 -1
  15. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +1 -1
  16. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +1 -1
  17. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +1 -1
  18. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js +1 -1
  19. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +1 -1
  20. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/HighlightNode.js +1 -1
  21. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  22. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
  23. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InvisibleNode.js +2 -0
  24. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InvisibleNode.js.map +1 -0
  25. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +2 -0
  26. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js.map +1 -0
  27. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/PreservedNode.js +2 -0
  28. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/PreservedNode.js.map +1 -0
  29. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +2 -0
  30. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js.map +1 -0
  31. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js +1 -1
  32. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  33. package/dist/cjs/features/RequirementAI/components/UnsavedChangesPopup/UnsavedChangesPopup.js +1 -1
  34. package/dist/cjs/features/RequirementAI/components/UserStoryCard/AttachedContext.js +1 -1
  35. package/dist/cjs/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.js +1 -1
  36. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  37. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  38. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +1 -1
  39. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  40. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/EditBlockPopup.js +2 -0
  41. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/EditBlockPopup.js.map +1 -0
  42. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
  43. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +2 -0
  44. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js.map +1 -0
  45. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +1 -1
  46. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  47. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +1 -1
  48. package/dist/cjs/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js +1 -1
  49. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  50. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +1 -1
  51. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +1 -1
  52. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  53. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js +1 -1
  54. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  55. package/dist/cjs/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +1 -1
  56. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +1 -1
  57. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +1 -1
  58. package/dist/cjs/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
  59. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +1 -1
  60. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +1 -1
  61. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +1 -1
  62. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +1 -1
  63. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +1 -1
  64. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +1 -1
  65. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js +1 -1
  66. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js +1 -1
  67. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js +1 -1
  68. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js +1 -1
  69. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js +1 -1
  70. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js +1 -1
  71. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js +1 -1
  72. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js +1 -1
  73. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js +1 -1
  74. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js +1 -1
  75. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js +1 -1
  76. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js +1 -1
  77. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js +1 -1
  78. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/searchwaveform.js +1 -1
  79. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js +1 -1
  80. package/dist/cjs/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js +1 -1
  81. package/dist/cjs/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +1 -1
  82. package/dist/cjs/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js +1 -1
  83. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  84. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  85. package/dist/cjs/features/RequirementAI/components/citations/gpt-web-citation/GptWebCitationRenderer.js +1 -1
  86. package/dist/cjs/features/RequirementAI/components/citations/gpt-web-citation/GptWebcitationPanel.js +1 -1
  87. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js +1 -1
  88. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js +1 -1
  89. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js +1 -1
  90. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +1 -1
  91. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +1 -1
  92. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js +1 -1
  93. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  94. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +1 -1
  95. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +1 -1
  96. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +1 -1
  97. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js +1 -1
  98. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js +1 -1
  99. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js +1 -1
  100. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js +1 -1
  101. package/dist/cjs/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js +1 -1
  102. package/dist/cjs/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +1 -1
  103. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitation.js +1 -1
  104. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js +1 -1
  105. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +1 -1
  106. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +1 -1
  107. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +1 -1
  108. package/dist/cjs/features/RequirementAI/components/cra/PartialRequirementContent.js +1 -1
  109. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  110. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  111. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
  112. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
  113. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js +1 -1
  114. package/dist/cjs/features/RequirementAI/components/segment/DeleteSegmentsDialog.js +1 -1
  115. package/dist/cjs/features/RequirementAI/components/segment/EditSegmentDialog.js +1 -1
  116. package/dist/cjs/features/RequirementAI/components/segment/ExampleComponentWrapper.js +1 -1
  117. package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
  118. package/dist/cjs/features/RequirementAI/components/segment/SegmentLoader.js +1 -1
  119. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  120. package/dist/cjs/features/RequirementAI/components/story-screen/BigEnoughPanel.js +1 -1
  121. package/dist/cjs/features/RequirementAI/components/story-screen/CompletionPanel.js +1 -1
  122. package/dist/cjs/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js +1 -1
  123. package/dist/cjs/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js +1 -1
  124. package/dist/cjs/features/RequirementAI/components/story-screen/SubfeatureBlock.js +1 -1
  125. package/dist/cjs/features/RequirementAI/components/story-screen/UserStoryScreen.js +1 -1
  126. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  127. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js +1 -1
  128. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js +1 -1
  129. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js +1 -1
  130. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js +1 -1
  131. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js +1 -1
  132. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js +1 -1
  133. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  134. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
  135. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/HighlightButtonComponent.js +1 -1
  136. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.js +2 -0
  137. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.js.map +1 -0
  138. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.module.css.js +2 -0
  139. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.module.css.js.map +1 -0
  140. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  141. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +1 -1
  142. package/dist/cjs/features/RequirementAI/hooks/useApprovalStatus.js +1 -1
  143. package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  144. package/dist/cjs/features/RequirementAI/icons/AiGapIcon.js +1 -1
  145. package/dist/cjs/features/RequirementAI/icons/AiReasoningIcon.js +1 -1
  146. package/dist/cjs/features/RequirementAI/icons/BigEnoughIcon.js +1 -1
  147. package/dist/cjs/features/RequirementAI/icons/BookmarkIcon.js +1 -1
  148. package/dist/cjs/features/RequirementAI/icons/BrainRed.js +1 -1
  149. package/dist/cjs/features/RequirementAI/icons/CDIcon.js +1 -1
  150. package/dist/cjs/features/RequirementAI/icons/CheckIcon.js +1 -1
  151. package/dist/cjs/features/RequirementAI/icons/ChevronDownIcon.js +1 -1
  152. package/dist/cjs/features/RequirementAI/icons/ChevronUpIcon.js +1 -1
  153. package/dist/cjs/features/RequirementAI/icons/CognitiveDecision.js +1 -1
  154. package/dist/cjs/features/RequirementAI/icons/MeetingHighlightsIcon.js +1 -1
  155. package/dist/cjs/features/RequirementAI/icons/MenuUnfoldIcon.js +1 -1
  156. package/dist/cjs/features/RequirementAI/icons/PencilIcon.js +1 -1
  157. package/dist/cjs/features/RequirementAI/icons/ReasoningBulbIcon.js +1 -1
  158. package/dist/cjs/features/RequirementAI/icons/RelevanceScoreIcon.js +1 -1
  159. package/dist/cjs/features/RequirementAI/icons/SidebarCloseIcon.js +1 -1
  160. package/dist/cjs/features/RequirementAI/icons/SidebarOpenIcon.js +1 -1
  161. package/dist/cjs/features/RequirementAI/icons/TrashIcon.js +1 -1
  162. package/dist/cjs/features/RequirementAI/shared/Accordian.js +1 -1
  163. package/dist/cjs/features/RequirementAI/shared/AtomicButton.js +1 -1
  164. package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +1 -1
  165. package/dist/cjs/features/RequirementAI/shared/CitationLoadingIndicator.js +1 -1
  166. package/dist/cjs/features/RequirementAI/shared/CodeViewer.js +1 -1
  167. package/dist/cjs/features/RequirementAI/shared/ExpandableOl.js +1 -1
  168. package/dist/cjs/features/RequirementAI/shared/GeneratedCodeCitation.js +1 -1
  169. package/dist/cjs/features/RequirementAI/shared/ReqAiCitationRenderer.js +1 -1
  170. package/dist/cjs/features/RequirementAI/shared/UpdatedAnimationContent.js +1 -1
  171. package/dist/cjs/features/RequirementAI/store/markdown-context.js +1 -1
  172. package/dist/cjs/features/RequirementAI/store/ref.context.js +1 -1
  173. package/dist/cjs/features/RequirementAI/utils/diff-edit.utils.js +1 -1
  174. package/dist/cjs/features/RequirementAI/utils/helpers.js +1 -1
  175. package/dist/cjs/features/RequirementAI/utils/learned-tag.utils.js +1 -1
  176. package/dist/cjs/features/RequirementAI/utils/userstory-approval.utils.js +1 -1
  177. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  178. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  179. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  180. package/dist/cjs/features/UserStoryImport/UserStoryPicker.js +1 -1
  181. package/dist/cjs/features/UserStoryImport/UserStoryPicker.theme.js +1 -1
  182. package/dist/cjs/features/UserStoryImport/components/BackNav.js +1 -1
  183. package/dist/cjs/features/UserStoryImport/components/Badge.js +1 -1
  184. package/dist/cjs/features/UserStoryImport/components/BrowseProjectsButton.js +1 -1
  185. package/dist/cjs/features/UserStoryImport/components/CardGrid.js +1 -1
  186. package/dist/cjs/features/UserStoryImport/components/CardProceedButton.js +1 -1
  187. package/dist/cjs/features/UserStoryImport/components/ContentArea.js +1 -1
  188. package/dist/cjs/features/UserStoryImport/components/Footer.js +1 -1
  189. package/dist/cjs/features/UserStoryImport/components/Header.js +1 -1
  190. package/dist/cjs/features/UserStoryImport/components/NavRow.js +1 -1
  191. package/dist/cjs/features/UserStoryImport/components/ProceedButton.js +1 -1
  192. package/dist/cjs/features/UserStoryImport/components/ProjectCard.js +1 -1
  193. package/dist/cjs/features/UserStoryImport/components/ResizeHandle.js +1 -1
  194. package/dist/cjs/features/UserStoryImport/components/ScopeDropdown.js +1 -1
  195. package/dist/cjs/features/UserStoryImport/components/SearchInput.js +1 -1
  196. package/dist/cjs/features/UserStoryImport/components/SectionHeading.js +1 -1
  197. package/dist/cjs/features/UserStoryImport/components/ShowMore.js +1 -1
  198. package/dist/cjs/features/UserStoryImport/components/Sidebar.js +1 -1
  199. package/dist/cjs/features/UserStoryImport/components/SidebarFavoritesList.js +1 -1
  200. package/dist/cjs/features/UserStoryImport/components/SidebarProjectList.js +1 -1
  201. package/dist/cjs/features/UserStoryImport/components/SidebarSection.js +1 -1
  202. package/dist/cjs/features/UserStoryImport/components/SortDropdown.js +1 -1
  203. package/dist/cjs/features/UserStoryImport/components/SplitLayout.js +1 -1
  204. package/dist/cjs/features/UserStoryImport/components/Toolbar.js +1 -1
  205. package/dist/cjs/features/UserStoryImport/components/TypeDropdown.js +1 -1
  206. package/dist/cjs/features/UserStoryImport/components/UserStoryCard.js +1 -1
  207. package/dist/cjs/features/UserStoryImport/components/UserStoryImportDialog.js +1 -1
  208. package/dist/cjs/features/UserStoryImport/components/UserStoryScopeDropdown.js +1 -1
  209. package/dist/cjs/features/UserStoryImport/hooks/useUSPData.js +1 -1
  210. package/dist/cjs/features/UserStoryImport/hooks/useUserStoryPickerState.js +1 -1
  211. package/dist/cjs/features/UserStoryImport/lib/CustomTooltip.js +1 -1
  212. package/dist/cjs/features/UserStoryImport/lib/Tooltip.js +1 -1
  213. package/dist/cjs/features/UserStoryImport/lib/dialog.js +1 -1
  214. package/dist/cjs/index.js +1 -1
  215. package/dist/cjs/service/redlineService.js +2 -0
  216. package/dist/cjs/service/redlineService.js.map +1 -0
  217. package/dist/cjs/utils/tagHelper.js +2 -0
  218. package/dist/cjs/utils/tagHelper.js.map +1 -0
  219. package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
  220. package/dist/features/RequirementAI/components/CustomPopover/CustomPopover.js +1 -1
  221. package/dist/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js +1 -1
  222. package/dist/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js +1 -1
  223. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js +1 -1
  224. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js +1 -1
  225. package/dist/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js +1 -1
  226. package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js +1 -1
  227. package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js +1 -1
  228. package/dist/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js +1 -1
  229. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  230. package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
  231. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js +1 -1
  232. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +1 -1
  233. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +1 -1
  234. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +1 -1
  235. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +1 -1
  236. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js +1 -1
  237. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +1 -1
  238. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/HighlightNode.js +1 -1
  239. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  240. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
  241. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InvisibleNode.js +2 -0
  242. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InvisibleNode.js.map +1 -0
  243. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +2 -0
  244. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js.map +1 -0
  245. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/PreservedNode.js +2 -0
  246. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/PreservedNode.js.map +1 -0
  247. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +2 -0
  248. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js.map +1 -0
  249. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js +1 -1
  250. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  251. package/dist/features/RequirementAI/components/UnsavedChangesPopup/UnsavedChangesPopup.js +1 -1
  252. package/dist/features/RequirementAI/components/UserStoryCard/AttachedContext.js +1 -1
  253. package/dist/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.js +1 -1
  254. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  255. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  256. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +1 -1
  257. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  258. package/dist/features/RequirementAI/components/UserStoryCard/Popups/EditBlockPopup.js +2 -0
  259. package/dist/features/RequirementAI/components/UserStoryCard/Popups/EditBlockPopup.js.map +1 -0
  260. package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
  261. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +2 -0
  262. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js.map +1 -0
  263. package/dist/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +1 -1
  264. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  265. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +1 -1
  266. package/dist/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js +1 -1
  267. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  268. package/dist/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +1 -1
  269. package/dist/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +1 -1
  270. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  271. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js +1 -1
  272. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  273. package/dist/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +1 -1
  274. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +1 -1
  275. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +1 -1
  276. package/dist/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
  277. package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +1 -1
  278. package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +1 -1
  279. package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +1 -1
  280. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +1 -1
  281. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +1 -1
  282. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +1 -1
  283. package/dist/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js +1 -1
  284. package/dist/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js +1 -1
  285. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js +1 -1
  286. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js +1 -1
  287. package/dist/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js +1 -1
  288. package/dist/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js +1 -1
  289. package/dist/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js +1 -1
  290. package/dist/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js +1 -1
  291. package/dist/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js +1 -1
  292. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js +1 -1
  293. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js +1 -1
  294. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js +1 -1
  295. package/dist/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js +1 -1
  296. package/dist/features/RequirementAI/components/citations/audio-citation/searchwaveform.js +1 -1
  297. package/dist/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js +1 -1
  298. package/dist/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js +1 -1
  299. package/dist/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +1 -1
  300. package/dist/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js +1 -1
  301. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  302. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  303. package/dist/features/RequirementAI/components/citations/gpt-web-citation/GptWebCitationRenderer.js +1 -1
  304. package/dist/features/RequirementAI/components/citations/gpt-web-citation/GptWebcitationPanel.js +1 -1
  305. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js +1 -1
  306. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js +1 -1
  307. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js +1 -1
  308. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +1 -1
  309. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +1 -1
  310. package/dist/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js +1 -1
  311. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  312. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +1 -1
  313. package/dist/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +1 -1
  314. package/dist/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +1 -1
  315. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js +1 -1
  316. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js +1 -1
  317. package/dist/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js +1 -1
  318. package/dist/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js +1 -1
  319. package/dist/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js +1 -1
  320. package/dist/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +1 -1
  321. package/dist/features/RequirementAI/components/citations/web-citation/WebCitation.js +1 -1
  322. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js +1 -1
  323. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +1 -1
  324. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +1 -1
  325. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +1 -1
  326. package/dist/features/RequirementAI/components/cra/PartialRequirementContent.js +1 -1
  327. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  328. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  329. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
  330. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
  331. package/dist/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js +1 -1
  332. package/dist/features/RequirementAI/components/segment/DeleteSegmentsDialog.js +1 -1
  333. package/dist/features/RequirementAI/components/segment/EditSegmentDialog.js +1 -1
  334. package/dist/features/RequirementAI/components/segment/ExampleComponentWrapper.js +1 -1
  335. package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
  336. package/dist/features/RequirementAI/components/segment/SegmentLoader.js +1 -1
  337. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  338. package/dist/features/RequirementAI/components/story-screen/BigEnoughPanel.js +1 -1
  339. package/dist/features/RequirementAI/components/story-screen/CompletionPanel.js +1 -1
  340. package/dist/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js +1 -1
  341. package/dist/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js +1 -1
  342. package/dist/features/RequirementAI/components/story-screen/SubfeatureBlock.js +1 -1
  343. package/dist/features/RequirementAI/components/story-screen/UserStoryScreen.js +1 -1
  344. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  345. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js +1 -1
  346. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js +1 -1
  347. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js +1 -1
  348. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js +1 -1
  349. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js +1 -1
  350. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js +1 -1
  351. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  352. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
  353. package/dist/features/RequirementAI/components/userstory-with-citation/components/HighlightButtonComponent.js +1 -1
  354. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.js +2 -0
  355. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.js.map +1 -0
  356. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.module.css.js +2 -0
  357. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.module.css.js.map +1 -0
  358. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  359. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +1 -1
  360. package/dist/features/RequirementAI/hooks/useApprovalStatus.js +1 -1
  361. package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  362. package/dist/features/RequirementAI/icons/AiGapIcon.js +1 -1
  363. package/dist/features/RequirementAI/icons/AiReasoningIcon.js +1 -1
  364. package/dist/features/RequirementAI/icons/BigEnoughIcon.js +1 -1
  365. package/dist/features/RequirementAI/icons/BookmarkIcon.js +1 -1
  366. package/dist/features/RequirementAI/icons/BrainRed.js +1 -1
  367. package/dist/features/RequirementAI/icons/CDIcon.js +1 -1
  368. package/dist/features/RequirementAI/icons/CheckIcon.js +1 -1
  369. package/dist/features/RequirementAI/icons/ChevronDownIcon.js +1 -1
  370. package/dist/features/RequirementAI/icons/ChevronUpIcon.js +1 -1
  371. package/dist/features/RequirementAI/icons/CognitiveDecision.js +1 -1
  372. package/dist/features/RequirementAI/icons/MeetingHighlightsIcon.js +1 -1
  373. package/dist/features/RequirementAI/icons/MenuUnfoldIcon.js +1 -1
  374. package/dist/features/RequirementAI/icons/PencilIcon.js +1 -1
  375. package/dist/features/RequirementAI/icons/ReasoningBulbIcon.js +1 -1
  376. package/dist/features/RequirementAI/icons/RelevanceScoreIcon.js +1 -1
  377. package/dist/features/RequirementAI/icons/SidebarCloseIcon.js +1 -1
  378. package/dist/features/RequirementAI/icons/SidebarOpenIcon.js +1 -1
  379. package/dist/features/RequirementAI/icons/TrashIcon.js +1 -1
  380. package/dist/features/RequirementAI/shared/Accordian.js +1 -1
  381. package/dist/features/RequirementAI/shared/AtomicButton.js +1 -1
  382. package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +1 -1
  383. package/dist/features/RequirementAI/shared/CitationLoadingIndicator.js +1 -1
  384. package/dist/features/RequirementAI/shared/CodeViewer.js +1 -1
  385. package/dist/features/RequirementAI/shared/ExpandableOl.js +1 -1
  386. package/dist/features/RequirementAI/shared/GeneratedCodeCitation.js +1 -1
  387. package/dist/features/RequirementAI/shared/ReqAiCitationRenderer.js +1 -1
  388. package/dist/features/RequirementAI/shared/UpdatedAnimationContent.js +1 -1
  389. package/dist/features/RequirementAI/store/markdown-context.js +1 -1
  390. package/dist/features/RequirementAI/store/ref.context.js +1 -1
  391. package/dist/features/RequirementAI/utils/diff-edit.utils.js +1 -1
  392. package/dist/features/RequirementAI/utils/helpers.js +1 -1
  393. package/dist/features/RequirementAI/utils/learned-tag.utils.js +1 -1
  394. package/dist/features/RequirementAI/utils/userstory-approval.utils.js +1 -1
  395. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  396. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  397. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  398. package/dist/features/UserStoryImport/UserStoryPicker.js +1 -1
  399. package/dist/features/UserStoryImport/UserStoryPicker.theme.js +1 -1
  400. package/dist/features/UserStoryImport/components/BackNav.js +1 -1
  401. package/dist/features/UserStoryImport/components/Badge.js +1 -1
  402. package/dist/features/UserStoryImport/components/BrowseProjectsButton.js +1 -1
  403. package/dist/features/UserStoryImport/components/CardGrid.js +1 -1
  404. package/dist/features/UserStoryImport/components/CardProceedButton.js +1 -1
  405. package/dist/features/UserStoryImport/components/ContentArea.js +1 -1
  406. package/dist/features/UserStoryImport/components/Footer.js +1 -1
  407. package/dist/features/UserStoryImport/components/Header.js +1 -1
  408. package/dist/features/UserStoryImport/components/NavRow.js +1 -1
  409. package/dist/features/UserStoryImport/components/ProceedButton.js +1 -1
  410. package/dist/features/UserStoryImport/components/ProjectCard.js +1 -1
  411. package/dist/features/UserStoryImport/components/ResizeHandle.js +1 -1
  412. package/dist/features/UserStoryImport/components/ScopeDropdown.js +1 -1
  413. package/dist/features/UserStoryImport/components/SearchInput.js +1 -1
  414. package/dist/features/UserStoryImport/components/SectionHeading.js +1 -1
  415. package/dist/features/UserStoryImport/components/ShowMore.js +1 -1
  416. package/dist/features/UserStoryImport/components/Sidebar.js +1 -1
  417. package/dist/features/UserStoryImport/components/SidebarFavoritesList.js +1 -1
  418. package/dist/features/UserStoryImport/components/SidebarProjectList.js +1 -1
  419. package/dist/features/UserStoryImport/components/SidebarSection.js +1 -1
  420. package/dist/features/UserStoryImport/components/SortDropdown.js +1 -1
  421. package/dist/features/UserStoryImport/components/SplitLayout.js +1 -1
  422. package/dist/features/UserStoryImport/components/Toolbar.js +1 -1
  423. package/dist/features/UserStoryImport/components/TypeDropdown.js +1 -1
  424. package/dist/features/UserStoryImport/components/UserStoryCard.js +1 -1
  425. package/dist/features/UserStoryImport/components/UserStoryImportDialog.js +1 -1
  426. package/dist/features/UserStoryImport/components/UserStoryScopeDropdown.js +1 -1
  427. package/dist/features/UserStoryImport/hooks/useUSPData.js +1 -1
  428. package/dist/features/UserStoryImport/hooks/useUserStoryPickerState.js +1 -1
  429. package/dist/features/UserStoryImport/lib/CustomTooltip.js +1 -1
  430. package/dist/features/UserStoryImport/lib/Tooltip.js +1 -1
  431. package/dist/features/UserStoryImport/lib/dialog.js +1 -1
  432. package/dist/index.js +1 -1
  433. package/dist/service/redlineService.js +2 -0
  434. package/dist/service/redlineService.js.map +1 -0
  435. package/dist/types/src/App.d.ts.map +1 -1
  436. package/dist/types/src/RedlineEditorTest.d.ts +3 -0
  437. package/dist/types/src/RedlineEditorTest.d.ts.map +1 -0
  438. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  439. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +40 -1
  440. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  441. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts +2 -1
  442. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts.map +1 -1
  443. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts +1 -4
  444. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts.map +1 -1
  445. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +1 -1
  446. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts +4 -3
  447. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts.map +1 -1
  448. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InvisibleNode.d.ts +35 -0
  449. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InvisibleNode.d.ts.map +1 -0
  450. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts +26 -0
  451. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts.map +1 -0
  452. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/PreservedNode.d.ts +23 -0
  453. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/PreservedNode.d.ts.map +1 -0
  454. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts +26 -0
  455. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts.map +1 -0
  456. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts +1 -0
  457. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  458. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +9 -4
  459. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
  460. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +45 -11
  461. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -1
  462. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/EditBlockPopup.d.ts +7 -0
  463. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/EditBlockPopup.d.ts.map +1 -0
  464. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts +25 -0
  465. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts.map +1 -0
  466. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +15 -3
  467. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -1
  468. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +9 -2
  469. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  470. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +4 -0
  471. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
  472. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.d.ts +11 -0
  473. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineManualComponent.d.ts.map +1 -0
  474. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +3 -1
  475. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
  476. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +22 -13
  477. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
  478. package/dist/types/src/index.d.ts +2 -0
  479. package/dist/types/src/index.d.ts.map +1 -1
  480. package/dist/types/src/service/redlineService.d.ts +33 -0
  481. package/dist/types/src/service/redlineService.d.ts.map +1 -0
  482. package/dist/types/src/utils/tagHelper.d.ts +5 -0
  483. package/dist/types/src/utils/tagHelper.d.ts.map +1 -0
  484. package/dist/utils/tagHelper.js +2 -0
  485. package/dist/utils/tagHelper.js.map +1 -0
  486. package/package.json +17 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=require("../../../../CitationRenderer/CitationRenderer.js"),i=require("./ImageCitationContent.js"),n=require("./ImageCitationIcon.js");exports.default=o=>{var a,r,c,s;const l=(null===(a=o.customIcons)||void 0===a?void 0:a.imageCitationIcon)||t.jsx(n.default,{});return t.jsx(e.default,{inLineCitation:!0,citationTitle:o.title,citationId:`image-citation-${o.citation.citation_number}`,citationComponent:t.jsx(i.default,{gsUtilPath:"image_citation"===o.citation.customMetadata.type?o.citation.customMetadata.gs_util_url:"",relevanceScore:null===(r=o.citation.customMetadata)||void 0===r?void 0:r.relevance_score,customStyles:o.customStyles}),chevronDownComponent:l,chevronUpComponent:l,styles:{pillButton:Object.assign({margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none"},null===(c=o.customStyles)||void 0===c?void 0:c.pill),citationContent:Object.assign({width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"},null===(s=o.customStyles)||void 0===s?void 0:s.content)}})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=require("../../../../CitationRenderer/CitationRenderer.js"),i=require("./ImageCitationContent.js"),n=require("./ImageCitationIcon.js");exports.default=o=>{var a,r,c,l;const s=(null===(a=o.customIcons)||void 0===a?void 0:a.imageCitationIcon)||t.jsx(n.default,{});return t.jsx(e.default,{inLineCitation:!0,citationTitle:o.title,citationId:`image-citation-${o.citation.citation_number}`,citationComponent:t.jsx(i.default,{gsUtilPath:"image_citation"===o.citation.customMetadata.type?o.citation.customMetadata.gs_util_url:"",relevanceScore:null===(r=o.citation.customMetadata)||void 0===r?void 0:r.relevance_score,customStyles:o.customStyles}),chevronDownComponent:s,chevronUpComponent:s,styles:{pillButton:{margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none",...null===(c=o.customStyles)||void 0===c?void 0:c.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content",...null===(l=o.customStyles)||void 0===l?void 0:l.content}}})};
2
2
  //# sourceMappingURL=ImageCitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("lucide-react"),a=require("react"),t=require("../appmod-citation/icons/AppmodIcon.js"),n=require("../appmod-citation/types.js"),l=require("./RCACitationContent.module.css.js"),i=require("../../../../RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=c(a);const r=(s,a,t)=>{if(!a||!s.includes(a))return s;const l=s.split(a),i={backgroundColor:n.DEFAULT_HIGHLIGHT_THEME.background,color:n.DEFAULT_HIGHLIGHT_THEME.text,padding:"2px 3px",borderRadius:"2px"};return e.jsx(e.Fragment,{children:l.map((s,n)=>e.jsxs(o.default.Fragment,{children:[s,n<l.length-1&&e.jsx("span",Object.assign({style:Object.assign(Object.assign({},i),t)},{children:a}))]},n))})},d=({extracts:a,customStyles:t,customIcon:n})=>a&&0!==a.length?e.jsxs("div",Object.assign({className:l.default.extractPanel,style:null==t?void 0:t.extractPanel},{children:[e.jsxs("div",Object.assign({className:l.default.extractPanelHeader,style:null==t?void 0:t.extractPanelHeader},{children:[e.jsx("span",Object.assign({style:null==t?void 0:t.extractPanelHeaderIcon},{children:n||e.jsx(s.NotebookIcon,{className:l.default.extractPanelHeaderIcon})})),e.jsx("span",Object.assign({className:l.default.extractPanelHeaderTitle,style:null==t?void 0:t.extractPanelHeaderTitle},{children:"Extracted from Requirement Finalization"}))]})),e.jsx("div",Object.assign({className:l.default.extractList,style:null==t?void 0:t.extractList},{children:a.map((s,a)=>e.jsxs("div",Object.assign({className:l.default.extractItem,style:null==t?void 0:t.extractItem},{children:[e.jsx("p",Object.assign({className:l.default.extractSubheading,style:null==t?void 0:t.extractSubheading},{children:s.subheading})),e.jsx("p",Object.assign({className:l.default.extractContent,style:null==t?void 0:t.extractContent},{children:s.content}))]}),a))}))]})):null;exports.default=({citation:n,customStyles:c,customIcons:o,isLoading:u=!1})=>{var j;const x=a.useRef(null),v=n.customMetadata.assistant_answer||"",g=n.customMetadata.assistant_question||"",h=n.customMetadata.assistant_answer_highlight_content,m=n.customMetadata.relevance_score,b=n.customMetadata.requirement_plan_extract||[],f=(null==o?void 0:o.rcaNotebookIcon)||e.jsx(s.NotebookIcon,{className:l.default.headerIcon}),p=(null==o?void 0:o.rcaMessageIcon)||e.jsx(s.MessageCircleIcon,{className:l.default.conversationPanelHeaderIcon}),y=(null==o?void 0:o.rcaQuestionIcon)||e.jsx(t.AppModIcon,{className:l.default.questionIcon}),O=(null==c?void 0:c.highlight)?{backgroundColor:c.highlight.background,color:c.highlight.text}:void 0;return e.jsxs("div",Object.assign({ref:x,className:l.default.container,style:null==c?void 0:c.container},{children:[e.jsxs("div",Object.assign({className:l.default.header,style:null==c?void 0:c.header},{children:[e.jsxs("div",Object.assign({className:l.default.headerLeft,style:null==c?void 0:c.headerLeft},{children:[e.jsx("span",Object.assign({style:null==c?void 0:c.headerIcon},{children:f})),e.jsx("span",Object.assign({className:l.default.headerTitle,style:null==c?void 0:c.headerTitle},{children:"Requirement Clarification"}))]})),i.renderAIConfidenceDisplay(m,null==c?void 0:c.confidenceDisplay)]})),e.jsxs("div",Object.assign({className:l.default.rcaContainer,style:null==c?void 0:c.rcaContainer},{children:[e.jsxs("div",Object.assign({className:l.default.conversationPanel,style:null==c?void 0:c.conversationPanel},{children:[e.jsxs("div",Object.assign({className:l.default.conversationPanelHeader,style:null==c?void 0:c.conversationPanelHeader},{children:[e.jsx("span",Object.assign({style:null==c?void 0:c.conversationPanelHeaderIcon},{children:p})),e.jsx("span",Object.assign({className:l.default.conversationPanelHeaderTitle,style:null==c?void 0:c.conversationPanelHeaderTitle},{children:"User Conversation"}))]})),e.jsxs("div",Object.assign({className:l.default.questionRow,style:null==c?void 0:c.questionRow},{children:[e.jsx("span",Object.assign({style:null==c?void 0:c.questionIcon},{children:y})),e.jsx("span",Object.assign({className:l.default.questionText,style:null==c?void 0:c.questionText},{children:g||"Ask question to get response"}))]})),e.jsx("p",Object.assign({className:l.default.answerLabel,style:null==c?void 0:c.answerLabel},{children:"Me"})),e.jsx("div",Object.assign({className:l.default.answerBox,style:null==c?void 0:c.answerBox},{children:u?e.jsx("span",Object.assign({className:l.default.loadingText,style:null===(j=null==c?void 0:c.loading)||void 0===j?void 0:j.text},{children:"Generating..."})):r(v,h,O)}))]})),b.length>0&&e.jsx(d,{extracts:b,customStyles:c,customIcon:f})]}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("lucide-react"),t=require("react"),l=require("../appmod-citation/icons/AppmodIcon.js"),n=require("../appmod-citation/types.js"),s=require("./RCACitationContent.module.css.js"),i=require("../../../../RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=o(t);const d=(a,t,l)=>{if(!t||!a.includes(t))return a;const s=a.split(t),i={backgroundColor:n.DEFAULT_HIGHLIGHT_THEME.background,color:n.DEFAULT_HIGHLIGHT_THEME.text,padding:"2px 3px",borderRadius:"2px"};return e.jsx(e.Fragment,{children:s.map((a,n)=>e.jsxs(r.default.Fragment,{children:[a,n<s.length-1&&e.jsx("span",{style:{...i,...l},children:t})]},n))})},c=({extracts:t,customStyles:l,customIcon:n})=>t&&0!==t.length?e.jsxs("div",{className:s.default.extractPanel,style:null==l?void 0:l.extractPanel,children:[e.jsxs("div",{className:s.default.extractPanelHeader,style:null==l?void 0:l.extractPanelHeader,children:[e.jsx("span",{style:null==l?void 0:l.extractPanelHeaderIcon,children:n||e.jsx(a.NotebookIcon,{className:s.default.extractPanelHeaderIcon})}),e.jsx("span",{className:s.default.extractPanelHeaderTitle,style:null==l?void 0:l.extractPanelHeaderTitle,children:"Extracted from Requirement Finalization"})]}),e.jsx("div",{className:s.default.extractList,style:null==l?void 0:l.extractList,children:t.map((a,t)=>e.jsxs("div",{className:s.default.extractItem,style:null==l?void 0:l.extractItem,children:[e.jsx("p",{className:s.default.extractSubheading,style:null==l?void 0:l.extractSubheading,children:a.subheading}),e.jsx("p",{className:s.default.extractContent,style:null==l?void 0:l.extractContent,children:a.content})]},t))})]}):null;exports.default=({citation:n,customStyles:o,customIcons:r,isLoading:u=!1})=>{var x;const v=t.useRef(null),h=n.customMetadata.assistant_answer||"",m=n.customMetadata.assistant_question||"",f=n.customMetadata.assistant_answer_highlight_content,j=n.customMetadata.relevance_score,p=n.customMetadata.requirement_plan_extract||[],y=(null==r?void 0:r.rcaNotebookIcon)||e.jsx(a.NotebookIcon,{className:s.default.headerIcon}),g=(null==r?void 0:r.rcaMessageIcon)||e.jsx(a.MessageCircleIcon,{className:s.default.conversationPanelHeaderIcon}),I=(null==r?void 0:r.rcaQuestionIcon)||e.jsx(l.AppModIcon,{className:s.default.questionIcon}),N=(null==o?void 0:o.highlight)?{backgroundColor:o.highlight.background,color:o.highlight.text}:void 0;return e.jsxs("div",{ref:v,className:s.default.container,style:null==o?void 0:o.container,children:[e.jsxs("div",{className:s.default.header,style:null==o?void 0:o.header,children:[e.jsxs("div",{className:s.default.headerLeft,style:null==o?void 0:o.headerLeft,children:[e.jsx("span",{style:null==o?void 0:o.headerIcon,children:y}),e.jsx("span",{className:s.default.headerTitle,style:null==o?void 0:o.headerTitle,children:"Requirement Clarification"})]}),i.renderAIConfidenceDisplay(j,null==o?void 0:o.confidenceDisplay)]}),e.jsxs("div",{className:s.default.rcaContainer,style:null==o?void 0:o.rcaContainer,children:[e.jsxs("div",{className:s.default.conversationPanel,style:null==o?void 0:o.conversationPanel,children:[e.jsxs("div",{className:s.default.conversationPanelHeader,style:null==o?void 0:o.conversationPanelHeader,children:[e.jsx("span",{style:null==o?void 0:o.conversationPanelHeaderIcon,children:g}),e.jsx("span",{className:s.default.conversationPanelHeaderTitle,style:null==o?void 0:o.conversationPanelHeaderTitle,children:"User Conversation"})]}),e.jsxs("div",{className:s.default.questionRow,style:null==o?void 0:o.questionRow,children:[e.jsx("span",{style:null==o?void 0:o.questionIcon,children:I}),e.jsx("span",{className:s.default.questionText,style:null==o?void 0:o.questionText,children:m||"Ask question to get response"})]}),e.jsx("p",{className:s.default.answerLabel,style:null==o?void 0:o.answerLabel,children:"Me"}),e.jsx("div",{className:s.default.answerBox,style:null==o?void 0:o.answerBox,children:u?e.jsx("span",{className:s.default.loadingText,style:null===(x=null==o?void 0:o.loading)||void 0===x?void 0:x.text,children:"Generating..."}):d(h,f,N)})]}),p.length>0&&e.jsx(c,{extracts:p,customStyles:o,customIcon:y})]})]})};
2
2
  //# sourceMappingURL=RCACitationContent.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),n=require("../../../../CitationRenderer/CitationRenderer.js"),e=require("../appmod-citation/icons/ChatBubbleIcon.js"),i=require("./RCACitationContent.js");exports.default=({title:o,citation:a,customStyles:r,customIcons:s,isLoading:c=!1})=>{const l=(null==s?void 0:s.rcaCitationIcon)||t.jsx(e.ChatBubbleIcon,{className:"inline align-super mb-1 ml-1",style:{width:"12px",height:"12px"}}),u=o+"⁠";return t.jsx(n.default,{inLineCitation:!0,citationTitle:u,citationIcon:t.jsx(t.Fragment,{}),citationId:`rca-${a.citation_number}`,citationComponent:t.jsx(i.default,{citation:a,customStyles:r,customIcons:s,isLoading:c}),chevronDownComponent:l,chevronUpComponent:l,styles:{pillButton:Object.assign({fontSize:"13px",margin:"0px",padding:"0px 4px",color:"#3b82f6",cursor:"pointer",verticalAlign:"baseline",whiteSpace:"normal",wordBreak:"break-all",display:"inline-flex",alignItems:"unset",background:"transparent",border:"none"},null==r?void 0:r.pill),citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"}}})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),n=require("../../../../CitationRenderer/CitationRenderer.js"),e=require("../appmod-citation/icons/ChatBubbleIcon.js"),i=require("./RCACitationContent.js");exports.default=({title:o,citation:a,customStyles:r,customIcons:s,isLoading:c=!1})=>{const l=(null==s?void 0:s.rcaCitationIcon)||t.jsx(e.ChatBubbleIcon,{className:"inline align-super mb-1 ml-1",style:{width:"12px",height:"12px"}}),u=o+"⁠";return t.jsx(n.default,{inLineCitation:!0,citationTitle:u,citationIcon:t.jsx(t.Fragment,{}),citationId:`rca-${a.citation_number}`,citationComponent:t.jsx(i.default,{citation:a,customStyles:r,customIcons:s,isLoading:c}),chevronDownComponent:l,chevronUpComponent:l,styles:{pillButton:{fontSize:"13px",margin:"0px",padding:"0px 4px",color:"#3b82f6",cursor:"pointer",verticalAlign:"baseline",whiteSpace:"normal",wordBreak:"break-all",display:"inline-flex",alignItems:"unset",background:"transparent",border:"none",...null==r?void 0:r.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"}}})};
2
2
  //# sourceMappingURL=RCACitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),i=require("react"),n=require("@exuanbo/file-icons-js"),s=require("lucide-react"),r=require("../../../../UserStoryImport/lib/cn.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=c(n);let a=!1;exports.default=function({name:n,size:c="12px",className:u}){const[o,d]=i.useState(u||"");return i.useEffect(()=>{(()=>{e.__awaiter(this,void 0,void 0,function*(){const e=yield l.default.getClass(n,{array:!0});d(e.join(" "))})})()},[n]),i.useEffect(()=>{if(!a){const e=document.createElement("style");e.innerHTML="\n .custom-file-icon::before {\n font-size: inherit !important;\n }\n ",document.head.appendChild(e),a=!0}},[]),n.includes(".txt")?t.jsx(s.File,{className:r.cn("w-3 h-3 mr-2 text-muted",u)}):n.includes(".pdf")?t.jsx(s.FileText,{className:r.cn("w-3 h-3 mr-2 text-destructive",u)}):t.jsx("span",Object.assign({className:"mt-0",style:{width:c,height:c,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top"}},{children:o?t.jsx("i",{className:r.cn("custom-file-icon",o,u),style:{fontSize:c,height:c,display:"inline-flex",alignItems:"center",lineHeight:1}}):t.jsx(s.File,{className:r.cn("text-muted",u),width:c,height:c})}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),i=require("@exuanbo/file-icons-js"),n=require("lucide-react"),s=require("../../../../UserStoryImport/lib/cn.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=r(i);let a=!1;exports.default=function({name:i,size:r="12px",className:l}){const[u,o]=t.useState(l||"");return t.useEffect(()=>{(async()=>{const e=await c.default.getClass(i,{array:!0});o(e.join(" "))})()},[i]),t.useEffect(()=>{if(!a){const e=document.createElement("style");e.innerHTML="\n .custom-file-icon::before {\n font-size: inherit !important;\n }\n ",document.head.appendChild(e),a=!0}},[]),i.includes(".txt")?e.jsx(n.File,{className:s.cn("w-3 h-3 mr-2 text-muted",l)}):i.includes(".pdf")?e.jsx(n.FileText,{className:s.cn("w-3 h-3 mr-2 text-destructive",l)}):e.jsx("span",{className:"mt-0",style:{width:r,height:r,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top"},children:u?e.jsx("i",{className:s.cn("custom-file-icon",u,l),style:{fontSize:r,height:r,display:"inline-flex",alignItems:"center",lineHeight:1}}):e.jsx(n.File,{className:s.cn("text-muted",l),width:r,height:r})})};
2
2
  //# sourceMappingURL=CustomFileIcon.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),l=require("react-dom"),n=require("@monaco-editor/react"),i=require("./ReadFileCitationContent.module.css.js"),a=require("./icons/ExternalLinkIcon.js"),s=require("lucide-react"),r=require("./CustomFileIcon.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=o(l),d=o(n);const u=e=>"number"==typeof e&&Number.isFinite(e),h=(e,t)=>u(e)&&u(t)?e<=0||t<e?null:{start:e,end:t,length:t-e+1}:null,m=(e,t,l,n)=>{let[i,a]=e;if(!Number.isFinite(i)||!Number.isFinite(a))return null;if(a<i&&([i,a]=[a,i]),u(l)&&u(n)){const e=Math.max(i,l),s=Math.min(a,n);if(e>s)return null;const r=e-l+1,o=s-l+1,c=Math.max(1,r),d=Math.min(t,o);return c>d?null:[c,d]}const s=Math.max(1,i),r=Math.min(t,a);return s>r?null:[s,r]},g=(e,t,l,n)=>{if(0===e.length)return!1;const i=h(l,n);if(!i)return!1;if(e.some(([e,l])=>e>t||l>t))return!0;if(i.start>t||i.end>t)return!0;if(Math.abs(i.length-t)<=1){return!e.every(([e,t])=>t<i.start||e>i.end)}return!1},f={border:"#3c3c3c",headerBg:"#252526",inactiveText:"#858585",background:"#1e1e1e",foreground:"#cccccc",highlightBg:"rgba(59, 130, 246, 0.15)",highlightGutter:"#3b82f6",hoverBg:"rgba(255, 255, 255, 0.1)"},p={theme:"vs-dark",fontSize:13,fontFamily:"Consolas, 'Courier New', monospace",maxHeight:300,minHeight:80},b={js:"javascript",ts:"typescript",jsx:"javascript",tsx:"typescript",py:"python",rb:"ruby",java:"java",cpp:"cpp",c:"c",go:"go",rust:"rust",json:"json",html:"html",css:"css",scss:"scss",md:"markdown",sql:"sql",sh:"shell",bash:"shell",yaml:"yaml",yml:"yaml"};exports.default=({citation:l,customStyles:n,customColors:o,customIcons:v,editorConfig:j,fileCallback:x})=>{const y=t.useMemo(()=>Object.assign(Object.assign({},f),o),[o]),O=t.useMemo(()=>Object.assign(Object.assign({},p),j),[j]),[C,N]=t.useState(!1),M=t.useRef(null),k=t.useRef(!1),F=l.customMetadata.content||"",w=l.customMetadata.highlighted_text,S=l.customMetadata.start_line,L=l.customMetadata.end_line,B=u(S)?S+1:S,P=t.useMemo(()=>{if(!w)return{};try{let e=w.trim();return e.startsWith("```")&&(e=e.replace(/^```\w*\n?/,""),e=e.replace(/\n?```\s*$/,"")),JSON.parse(e.trim())}catch(e){return console.error("Failed to parse highlight string:",e),{}}},[w]),T=t.useMemo(()=>{const e=[],t=/```(\w+)?\s*<file_path>([\s\S]*?)<\/file_path>\s*<code>([\s\S]*?)<\/code>\s*```/g;let l;for(;null!==(l=t.exec(F));){const t=l[1]||"javascript",n=l[2].trim(),i=l[3].trim();n&&i&&e.push({filePath:n,code:i,language:t})}return e},[F]),H=t.useCallback(e=>(P[e]||[]).map(e=>{const t=e.split("-").map(e=>Number(e.trim())),l=t[0],n=t.length>1?t[1]:l;return Number.isFinite(l)&&Number.isFinite(n)?[l,n]:null}).filter(e=>null!==e),[P]),q=t.useMemo(()=>{for(let e=0;e<T.length;e++){const t=T[e],l=t.code.split("\n").length,n=H(t.filePath),i=g(n,l,B,L);if(n.map(e=>m(e,l,i?B:void 0,i?L:void 0)).filter(e=>null!==e).length>0)return e}return-1},[T,H,B,L]),z=q>=0,R=t.useCallback((e,t)=>{const l=H(e),n=g(l,t,B,L);return l.map(e=>m(e,t,n?B:void 0,n?L:void 0)).filter(e=>null!==e)},[H,B,L]),E=t.useCallback((e,t)=>{const l=H(e);if(g(l,t,B,L)){const e=h(B,L);return e?l.map(([t,l])=>{const n=t<=l?[t,l]:[l,t],i=Math.max(n[0],e.start),a=Math.min(n[1],e.end);return i>a?null:[i,a]}).filter(e=>null!==e):[]}return R(e,t)},[H,R,B,L]);t.useEffect(()=>{if(z&&!k.current&&T.length>0&&(null==x?void 0:x.autoOpenFirstHighlighted)&&(null==x?void 0:x.onOpenFile)){const e=T[q],t=E(e.filePath,e.code.split("\n").length);k.current=!0;const l=setTimeout(()=>{x.onOpenFile({filePath:e.filePath,ranges:t.length>0?t:null})},300);return()=>clearTimeout(l)}},[z,q,T,R,x]),t.useEffect(()=>{k.current=!1},[F]),t.useEffect(()=>{if(q<0)return;const e=setTimeout(()=>{var e;null===(e=M.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},350);return()=>clearTimeout(e)},[q,w]);const W=t.useCallback((e,t)=>{if(null==x?void 0:x.onOpenFile){const l=E(e,t);x.onOpenFile({filePath:e,ranges:l.length>0?l:null})}},[E,x]),$=t.useCallback(()=>{(null==x?void 0:x.onExpandClick)?x.onExpandClick({blocks:T,highlightMap:P}):N(!0)},[x,T,P]),I=!!(null==x?void 0:x.onOpenFile),_=(null==v?void 0:v.readFileCitationIcon)||e.jsx(a.default,{style:{width:"14px",height:"14px"}}),D=t.useCallback((e,t,l,n)=>{const a=[];if(l.forEach(([e,l])=>{a.push({range:new t.Range(e,1,l,1),options:{isWholeLine:!0,className:i.default.yellowHighlightedLine,linesDecorationsClassName:i.default.yellowHighlightedLineDecoration}})}),a.length>0)try{e.createDecorationsCollection(a)}catch(e){console.warn("Failed to create decorations:",e)}const s=l[0];s&&requestAnimationFrame(()=>{e.revealLineInCenter(s[0])}),n>0&&e.updateOptions({lineNumbers:e=>String(e+n)})},[]),G=t=>T.map((l,a)=>{const r=l.code.split("\n").length,o=H(l.filePath),c=g(o,r,B,L),h=o.map(e=>m(e,r,c?B:void 0,c?L:void 0)).filter(e=>null!==e),f=c&&u(B)?h.map(([e,t])=>[e+B-1,t+B-1]):h,p=h.length>0,v=a===q,j=t?600:O.maxHeight,x=(()=>{const e=20*l.code.split("\n").length+16+4;return Math.min(Math.max(e,O.minHeight),j)})(),C=l.filePath.split("/").pop(),N=c&&u(B)?B-1:0,k=N+r,F=String(Math.max(1,k)).length;return e.jsxs("div",Object.assign({ref:!t&&v?M:void 0,"data-highlighted":p?"true":void 0,"data-first-highlighted":v?"true":void 0,className:i.default.blockContainer,style:Object.assign({border:`1px solid ${y.border}`},null==n?void 0:n.blockContainer)},{children:[e.jsxs("div",Object.assign({className:i.default.header,style:Object.assign({backgroundColor:p?y.highlightBg:y.headerBg,borderBottom:`1px solid ${y.border}`,color:p?y.highlightGutter:y.foreground},p?null==n?void 0:n.headerHighlighted:null==n?void 0:n.header)},{children:[e.jsxs("div",Object.assign({className:i.default.headerLeft},{children:[e.jsx("span",Object.assign({className:i.default.fileName,title:l.filePath,style:null==n?void 0:n.fileName,onClick:()=>W(l.filePath,r)},{children:C})),I&&e.jsx("button",Object.assign({className:i.default.openFileButton,onClick:()=>W(l.filePath,r),title:"Open in editor","aria-label":`Open ${C} in editor`,style:null==n?void 0:n.openFileButton},{children:_}))]})),e.jsxs("div",Object.assign({className:i.default.headerRight},{children:[p&&e.jsx("span",Object.assign({className:i.default.lineRanges,style:null==n?void 0:n.lineRanges},{children:(S=f,S.map(([e,t])=>e===t?`L${e}`:`L${e}-${t}`).join(", "))})),!t&&0===a&&e.jsx("button",Object.assign({className:i.default.expandButton,style:null==n?void 0:n.expandButton,onClick:$,title:"Expand","aria-label":"Expand code view"},{children:e.jsx(s.Maximize2,{size:13})}))]}))]})),e.jsx("div",Object.assign({className:i.default.editorWrapper,style:Object.assign({height:`${x}px`,backgroundColor:y.background},null==n?void 0:n.editorWrapper)},{children:e.jsx(d.default,{height:"100%",language:(w=l.language,b[w.toLowerCase()]||w),value:l.code,theme:O.theme,options:{readOnly:!0,domReadOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,fontSize:O.fontSize,lineHeight:20,fontFamily:O.fontFamily,lineNumbers:N>0?e=>String(e+N):"on",folding:!1,lineDecorationsWidth:10,lineNumbersMinChars:Math.max(4,F),renderLineHighlight:"none",scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:8,horizontalScrollbarSize:8,useShadows:!1,alwaysConsumeMouseWheel:!1},automaticLayout:!0,wordWrap:"off",contextmenu:!1,selectOnLineNumbers:!0,glyphMargin:!1,padding:{top:8,bottom:8},overviewRulerBorder:!1,hideCursorInOverviewRuler:!0,overviewRulerLanes:0,renderWhitespace:"none",guides:{indentation:!1},cursorStyle:"line",cursorBlinking:"solid",fixedOverflowWidgets:!0},onMount:(e,t)=>D(e,t,h,N),loading:e.jsx("div",Object.assign({className:i.default.editorLoading,style:{color:y.inactiveText}},{children:"Loading editor..."}))})}))]}),a);var w,S});if(0===T.length)return e.jsx("div",Object.assign({className:i.default.emptyState,style:Object.assign({color:y.inactiveText},null==n?void 0:n.emptyState)},{children:"No code content available"}));const A=C?c.default.createPortal(e.jsx("div",Object.assign({className:i.default.modalOverlay,style:null==n?void 0:n.modalOverlay,onClick:e=>{e.target===e.currentTarget&&N(!1)}},{children:e.jsxs("div",Object.assign({className:i.default.modalContent,style:null==n?void 0:n.modalContent},{children:[e.jsxs("div",Object.assign({className:i.default.modalHeader,style:null==n?void 0:n.modalHeader},{children:[e.jsx("span",Object.assign({className:i.default.modalTitle,style:null==n?void 0:n.modalTitle},{children:1===T.length?e.jsxs("span",Object.assign({className:i.default.modalTitleContent},{children:[e.jsx(r.default,{name:T[0].filePath,size:"15px"}),e.jsx("span",Object.assign({className:i.default.modalTitleText},{children:T[0].filePath}))]})):`${T.length} files`})),e.jsx("button",Object.assign({className:i.default.modalCloseButton,style:null==n?void 0:n.modalCloseButton,onClick:()=>N(!1),"aria-label":"Close expanded view"},{children:e.jsx(s.X,{size:16})}))]})),e.jsx("div",Object.assign({className:i.default.modalBody},{children:e.jsx("div",Object.assign({className:i.default.container,style:null==n?void 0:n.container},{children:G(!0)}))}))]}))})),document.body):null;return e.jsxs(e.Fragment,{children:[A,e.jsx("div",Object.assign({className:i.default.container,style:null==n?void 0:n.container},{children:G(!1)}))]})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),l=require("react-dom"),n=require("@monaco-editor/react"),i=require("./ReadFileCitationContent.module.css.js"),a=require("./icons/ExternalLinkIcon.js"),r=require("lucide-react"),o=require("./CustomFileIcon.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=s(l),u=s(n);const c=e=>"number"==typeof e&&Number.isFinite(e),h=(e,t)=>c(e)&&c(t)?e<=0||t<e?null:{start:e,end:t,length:t-e+1}:null,m=(e,t,l,n)=>{let[i,a]=e;if(!Number.isFinite(i)||!Number.isFinite(a))return null;if(a<i&&([i,a]=[a,i]),c(l)&&c(n)){const e=Math.max(i,l),r=Math.min(a,n);if(e>r)return null;const o=e-l+1,s=r-l+1,d=Math.max(1,o),u=Math.min(t,s);return d>u?null:[d,u]}const r=Math.max(1,i),o=Math.min(t,a);return r>o?null:[r,o]},f=(e,t,l,n)=>{if(0===e.length)return!1;const i=h(l,n);if(!i)return!1;if(e.some(([e,l])=>e>t||l>t))return!0;if(i.start>t||i.end>t)return!0;if(Math.abs(i.length-t)<=1){return!e.every(([e,t])=>t<i.start||e>i.end)}return!1},g={border:"#3c3c3c",headerBg:"#252526",inactiveText:"#858585",background:"#1e1e1e",foreground:"#cccccc",highlightBg:"rgba(59, 130, 246, 0.15)",highlightGutter:"#3b82f6",hoverBg:"rgba(255, 255, 255, 0.1)"},p={theme:"vs-dark",fontSize:13,fontFamily:"Consolas, 'Courier New', monospace",maxHeight:300,minHeight:80},v={js:"javascript",ts:"typescript",jsx:"javascript",tsx:"typescript",py:"python",rb:"ruby",java:"java",cpp:"cpp",c:"c",go:"go",rust:"rust",json:"json",html:"html",css:"css",scss:"scss",md:"markdown",sql:"sql",sh:"shell",bash:"shell",yaml:"yaml",yml:"yaml"};exports.default=({citation:l,customStyles:n,customColors:s,customIcons:x,editorConfig:b,fileCallback:y})=>{const j=t.useMemo(()=>({...g,...s}),[s]),C=t.useMemo(()=>({...p,...b}),[b]),[N,M]=t.useState(!1),k=t.useRef(null),F=t.useRef(!1),w=l.customMetadata.content||"",S=l.customMetadata.highlighted_text,O=l.customMetadata.start_line,L=l.customMetadata.end_line,B=c(O)?O+1:O,P=t.useMemo(()=>{if(!S)return{};try{let e=S.trim();return e.startsWith("```")&&(e=e.replace(/^```\w*\n?/,""),e=e.replace(/\n?```\s*$/,"")),JSON.parse(e.trim())}catch(e){return console.error("Failed to parse highlight string:",e),{}}},[S]),T=t.useMemo(()=>{const e=[],t=/```(\w+)?\s*<file_path>([\s\S]*?)<\/file_path>\s*<code>([\s\S]*?)<\/code>\s*```/g;let l;for(;null!==(l=t.exec(w));){const t=l[1]||"javascript",n=l[2].trim(),i=l[3].trim();n&&i&&e.push({filePath:n,code:i,language:t})}return e},[w]),H=t.useCallback(e=>(P[e]||[]).map(e=>{const t=e.split("-").map(e=>Number(e.trim())),l=t[0],n=t.length>1?t[1]:l;return Number.isFinite(l)&&Number.isFinite(n)?[l,n]:null}).filter(e=>null!==e),[P]),q=t.useMemo(()=>{for(let e=0;e<T.length;e++){const t=T[e],l=t.code.split("\n").length,n=H(t.filePath),i=f(n,l,B,L);if(n.map(e=>m(e,l,i?B:void 0,i?L:void 0)).filter(e=>null!==e).length>0)return e}return-1},[T,H,B,L]),z=q>=0,R=t.useCallback((e,t)=>{const l=H(e),n=f(l,t,B,L);return l.map(e=>m(e,t,n?B:void 0,n?L:void 0)).filter(e=>null!==e)},[H,B,L]),E=t.useCallback((e,t)=>{const l=H(e);if(f(l,t,B,L)){const e=h(B,L);return e?l.map(([t,l])=>{const n=t<=l?[t,l]:[l,t],i=Math.max(n[0],e.start),a=Math.min(n[1],e.end);return i>a?null:[i,a]}).filter(e=>null!==e):[]}return R(e,t)},[H,R,B,L]);t.useEffect(()=>{if(z&&!F.current&&T.length>0&&(null==y?void 0:y.autoOpenFirstHighlighted)&&(null==y?void 0:y.onOpenFile)){const e=T[q],t=E(e.filePath,e.code.split("\n").length);F.current=!0;const l=setTimeout(()=>{y.onOpenFile({filePath:e.filePath,ranges:t.length>0?t:null})},300);return()=>clearTimeout(l)}},[z,q,T,R,y]),t.useEffect(()=>{F.current=!1},[w]),t.useEffect(()=>{if(q<0)return;const e=setTimeout(()=>{var e;null===(e=k.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},350);return()=>clearTimeout(e)},[q,S]);const W=t.useCallback((e,t)=>{if(null==y?void 0:y.onOpenFile){const l=E(e,t);y.onOpenFile({filePath:e,ranges:l.length>0?l:null})}},[E,y]),$=t.useCallback(()=>{(null==y?void 0:y.onExpandClick)?y.onExpandClick({blocks:T,highlightMap:P}):M(!0)},[y,T,P]),I=!!(null==y?void 0:y.onOpenFile),_=(null==x?void 0:x.readFileCitationIcon)||e.jsx(a.default,{style:{width:"14px",height:"14px"}}),D=t.useCallback((e,t,l,n)=>{const a=[];if(l.forEach(([e,l])=>{a.push({range:new t.Range(e,1,l,1),options:{isWholeLine:!0,className:i.default.yellowHighlightedLine,linesDecorationsClassName:i.default.yellowHighlightedLineDecoration}})}),a.length>0)try{e.createDecorationsCollection(a)}catch(e){console.warn("Failed to create decorations:",e)}const r=l[0];r&&requestAnimationFrame(()=>{e.revealLineInCenter(r[0])}),n>0&&e.updateOptions({lineNumbers:e=>String(e+n)})},[]),G=t=>T.map((l,a)=>{const o=l.code.split("\n").length,s=H(l.filePath),d=f(s,o,B,L),h=s.map(e=>m(e,o,d?B:void 0,d?L:void 0)).filter(e=>null!==e),g=d&&c(B)?h.map(([e,t])=>[e+B-1,t+B-1]):h,p=h.length>0,x=a===q,b=t?600:C.maxHeight,y=(()=>{const e=20*l.code.split("\n").length+16+4;return Math.min(Math.max(e,C.minHeight),b)})(),N=l.filePath.split("/").pop(),M=d&&c(B)?B-1:0,F=M+o,w=String(Math.max(1,F)).length;return e.jsxs("div",{ref:!t&&x?k:void 0,"data-highlighted":p?"true":void 0,"data-first-highlighted":x?"true":void 0,className:i.default.blockContainer,style:{border:`1px solid ${j.border}`,...null==n?void 0:n.blockContainer},children:[e.jsxs("div",{className:i.default.header,style:{backgroundColor:p?j.highlightBg:j.headerBg,borderBottom:`1px solid ${j.border}`,color:p?j.highlightGutter:j.foreground,...p?null==n?void 0:n.headerHighlighted:null==n?void 0:n.header},children:[e.jsxs("div",{className:i.default.headerLeft,children:[e.jsx("span",{className:i.default.fileName,title:l.filePath,style:null==n?void 0:n.fileName,onClick:()=>W(l.filePath,o),children:N}),I&&e.jsx("button",{className:i.default.openFileButton,onClick:()=>W(l.filePath,o),title:"Open in editor","aria-label":`Open ${N} in editor`,style:null==n?void 0:n.openFileButton,children:_})]}),e.jsxs("div",{className:i.default.headerRight,children:[p&&e.jsx("span",{className:i.default.lineRanges,style:null==n?void 0:n.lineRanges,children:(O=g,O.map(([e,t])=>e===t?`L${e}`:`L${e}-${t}`).join(", "))}),!t&&0===a&&e.jsx("button",{className:i.default.expandButton,style:null==n?void 0:n.expandButton,onClick:$,title:"Expand","aria-label":"Expand code view",children:e.jsx(r.Maximize2,{size:13})})]})]}),e.jsx("div",{className:i.default.editorWrapper,style:{height:`${y}px`,backgroundColor:j.background,...null==n?void 0:n.editorWrapper},children:e.jsx(u.default,{height:"100%",language:(S=l.language,v[S.toLowerCase()]||S),value:l.code,theme:C.theme,options:{readOnly:!0,domReadOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,fontSize:C.fontSize,lineHeight:20,fontFamily:C.fontFamily,lineNumbers:M>0?e=>String(e+M):"on",folding:!1,lineDecorationsWidth:10,lineNumbersMinChars:Math.max(4,w),renderLineHighlight:"none",scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:8,horizontalScrollbarSize:8,useShadows:!1,alwaysConsumeMouseWheel:!1},automaticLayout:!0,wordWrap:"off",contextmenu:!1,selectOnLineNumbers:!0,glyphMargin:!1,padding:{top:8,bottom:8},overviewRulerBorder:!1,hideCursorInOverviewRuler:!0,overviewRulerLanes:0,renderWhitespace:"none",guides:{indentation:!1},cursorStyle:"line",cursorBlinking:"solid",fixedOverflowWidgets:!0},onMount:(e,t)=>D(e,t,h,M),loading:e.jsx("div",{className:i.default.editorLoading,style:{color:j.inactiveText},children:"Loading editor..."})})})]},a);var S,O});if(0===T.length)return e.jsx("div",{className:i.default.emptyState,style:{color:j.inactiveText,...null==n?void 0:n.emptyState},children:"No code content available"});const A=N?d.default.createPortal(e.jsx("div",{className:i.default.modalOverlay,style:null==n?void 0:n.modalOverlay,onClick:e=>{e.target===e.currentTarget&&M(!1)},children:e.jsxs("div",{className:i.default.modalContent,style:null==n?void 0:n.modalContent,children:[e.jsxs("div",{className:i.default.modalHeader,style:null==n?void 0:n.modalHeader,children:[e.jsx("span",{className:i.default.modalTitle,style:null==n?void 0:n.modalTitle,children:1===T.length?e.jsxs("span",{className:i.default.modalTitleContent,children:[e.jsx(o.default,{name:T[0].filePath,size:"15px"}),e.jsx("span",{className:i.default.modalTitleText,children:T[0].filePath})]}):`${T.length} files`}),e.jsx("button",{className:i.default.modalCloseButton,style:null==n?void 0:n.modalCloseButton,onClick:()=>M(!1),"aria-label":"Close expanded view",children:e.jsx(r.X,{size:16})})]}),e.jsx("div",{className:i.default.modalBody,children:e.jsx("div",{className:i.default.container,style:null==n?void 0:n.container,children:G(!0)})})]})}),document.body):null;return e.jsxs(e.Fragment,{children:[A,e.jsx("div",{className:i.default.container,style:null==n?void 0:n.container,children:G(!1)})]})};
2
2
  //# sourceMappingURL=ReadFileCitationContent.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../../../CitationRenderer/CitationRenderer.js"),i=require("./icons/FileCodeIcon.js"),n=require("./ReadFileCitationContent.js");exports.default=({title:o,citation:r,customStyles:a,customColors:l,customIcons:s,editorConfig:c,fileCallback:u})=>{const d=(null==s?void 0:s.readFileCitationIcon)||e.jsx(i.default,{className:"inline align-super mb-1 ml-1",style:{width:"12px",height:"12px"}}),p=o+"⁠";return e.jsx(t.default,{inLineCitation:!0,citationTitle:p,citationId:`readfile-${r.citation_number}`,citationIcon:e.jsx(e.Fragment,{}),citationComponent:e.jsx(n.default,{citation:r,customStyles:a,customColors:l,customIcons:s,editorConfig:c,fileCallback:u}),chevronDownComponent:d,chevronUpComponent:d,styles:{pillButton:Object.assign({fontSize:"13px",margin:"0px",padding:"0px 4px",color:"#3b82f6",cursor:"pointer",verticalAlign:"baseline",whiteSpace:"normal",wordBreak:"break-all",display:"inline-flex",alignItems:"unset",background:"transparent",border:"none"},null==a?void 0:a.pill),citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"}}})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../../../CitationRenderer/CitationRenderer.js"),i=require("./icons/FileCodeIcon.js"),n=require("./ReadFileCitationContent.js");exports.default=({title:o,citation:r,customStyles:a,customColors:l,customIcons:s,editorConfig:c,fileCallback:u})=>{const d=(null==s?void 0:s.readFileCitationIcon)||e.jsx(i.default,{className:"inline align-super mb-1 ml-1",style:{width:"12px",height:"12px"}}),p=o+"⁠";return e.jsx(t.default,{inLineCitation:!0,citationTitle:p,citationId:`readfile-${r.citation_number}`,citationIcon:e.jsx(e.Fragment,{}),citationComponent:e.jsx(n.default,{citation:r,customStyles:a,customColors:l,customIcons:s,editorConfig:c,fileCallback:u}),chevronDownComponent:d,chevronUpComponent:d,styles:{pillButton:{fontSize:"13px",margin:"0px",padding:"0px 4px",color:"#3b82f6",cursor:"pointer",verticalAlign:"baseline",whiteSpace:"normal",wordBreak:"break-all",display:"inline-flex",alignItems:"unset",background:"transparent",border:"none",...null==a?void 0:a.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"}}})};
2
2
  //# sourceMappingURL=ReadFileCitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.default=({className:s,style:t})=>e.jsxs("svg",Object.assign({className:s,style:t,width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg"},{children:[e.jsx("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),e.jsx("polyline",{points:"15 3 21 3 21 9"}),e.jsx("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]}));
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.default=({className:s,style:t})=>e.jsxs("svg",{className:s,style:t,width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),e.jsx("polyline",{points:"15 3 21 3 21 9"}),e.jsx("line",{x1:"10",y1:"14",x2:"21",y2:"3"})]});
2
2
  //# sourceMappingURL=ExternalLinkIcon.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.default=({className:s,style:t})=>e.jsxs("svg",Object.assign({className:s,style:t,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg"},{children:[e.jsx("path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"}),e.jsx("polyline",{points:"14 2 14 8 20 8"}),e.jsx("path",{d:"m10 13-2 2 2 2"}),e.jsx("path",{d:"m14 17 2-2-2-2"})]}));
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.default=({className:s,style:t})=>e.jsxs("svg",{className:s,style:t,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"}),e.jsx("polyline",{points:"14 2 14 8 20 8"}),e.jsx("path",{d:"m10 13-2 2 2 2"}),e.jsx("path",{d:"m14 17 2-2-2-2"})]});
2
2
  //# sourceMappingURL=FileCodeIcon.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=require("../../../../CitationRenderer/CitationRenderer.js"),o=require("./StormeeContent.js");const i=()=>t.jsx("div",Object.assign({className:"mb-3"},{children:t.jsx("img",{width:18,src:"https://storymod-assests.pages.dev/stormee_citation_icon.svg",alt:"stormee citation"})}));exports.StormeeCitationIcon=i,exports.default=n=>{var a,s,c,r,d;const l=(null===(a=n.customIcons)||void 0===a?void 0:a.stormeeCitationIcon)||t.jsx(i,{}),m=(null===(s=n.customIcons)||void 0===s?void 0:s.stormeeBrainstormIcon)||"https://storymod-assests.pages.dev/brainstorm-cropped.gif";return t.jsx(e.default,{inLineCitation:!0,citationTitle:n.title,citationId:`stormee-citation-${n.citation.citation_number}`,citationComponent:"audio_transcript"===n.citation.customMetadata.type&&t.jsx(o.default,{segments:n.citation.customMetadata.segments,gsUtilPath:n.citation.customMetadata.gs_util_url,contentName:n.citation.customMetadata.content_name||"",content:n.citation.customMetadata.content||"",highlighted_content:n.citation.customMetadata.highlighted_content||"",keywords:n.citation.customMetadata.keywords||[],relevanceScore:null===(c=n.citation.customMetadata)||void 0===c?void 0:c.relevance_score,brainStormIcon:m,customStyles:n.customStyles}),chevronDownComponent:l,chevronUpComponent:l,styles:{pillButton:Object.assign({margin:"0px",padding:"0px",color:"#526eff",cursor:"pointer",fontSize:"14px",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none"},null===(r=n.customStyles)||void 0===r?void 0:r.pill),citationTitle:{marginRight:"4px"},citationContent:Object.assign({width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"},null===(d=n.customStyles)||void 0===d?void 0:d.content)}})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=require("../../../../CitationRenderer/CitationRenderer.js"),o=require("./StormeeContent.js");const i=()=>t.jsx("div",{className:"mb-3",children:t.jsx("img",{width:18,src:"https://storymod-assests.pages.dev/stormee_citation_icon.svg",alt:"stormee citation"})});exports.StormeeCitationIcon=i,exports.default=n=>{var a,s,c,r,d;const l=(null===(a=n.customIcons)||void 0===a?void 0:a.stormeeCitationIcon)||t.jsx(i,{}),m=(null===(s=n.customIcons)||void 0===s?void 0:s.stormeeBrainstormIcon)||"https://storymod-assests.pages.dev/brainstorm-cropped.gif";return t.jsx(e.default,{inLineCitation:!0,citationTitle:n.title,citationId:`stormee-citation-${n.citation.citation_number}`,citationComponent:"audio_transcript"===n.citation.customMetadata.type&&t.jsx(o.default,{segments:n.citation.customMetadata.segments,gsUtilPath:n.citation.customMetadata.gs_util_url,contentName:n.citation.customMetadata.content_name||"",content:n.citation.customMetadata.content||"",highlighted_content:n.citation.customMetadata.highlighted_content||"",keywords:n.citation.customMetadata.keywords||[],relevanceScore:null===(c=n.citation.customMetadata)||void 0===c?void 0:c.relevance_score,brainStormIcon:m,customStyles:n.customStyles}),chevronDownComponent:l,chevronUpComponent:l,styles:{pillButton:{margin:"0px",padding:"0px",color:"#526eff",cursor:"pointer",fontSize:"14px",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none",...null===(r=n.customStyles)||void 0===r?void 0:r.pill},citationTitle:{marginRight:"4px"},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content",...null===(d=n.customStyles)||void 0===d?void 0:d.content}}})};
2
2
  //# sourceMappingURL=StormeeCitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),s=require("./StormeeContent.module.css.js"),a=require("./components/ProblemStatementCard.js"),l=require("../../../shared/CitationAIConfidenceDisplay.js"),i=require("@mui/material"),n=require("../audio-citation/searchwaveform.js"),r=require("../audio-citation/SearchWaveFromWrapper.js"),d=require("../../RequirementAIWrapper/RequirementAIWrapper.js"),o=require("../audio-citation/store/autoplay.wavefrom.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(t);const m=t.memo(({brainStormIcon:c="https://storymod-assests.pages.dev/brainstorm-cropped.gif",themeColor:m,segments:g,gsUtilPath:j,contentName:v,content:h,keywords:f,relevanceScore:p,highlighted_content:y,customStyles:x})=>{var b,O,S,N;const[C,T]=t.useState(0),[I,q]=t.useState(0),{queryClient:P,useGetSignedUrlQuery:k,useGetSignedUrlMutation:A,useExtractAudioPeaksMutation:w,useExtractAudioPeaksQuery:R,useGetVideoSignedUrlQuery:U,useGetVideoSignedUrlMutation:_}=d.useRequirementAI().apiCachingConfig,E=["getSignedUrl",j],M=["extractAudioPeaks",j],{data:W}=k(j,E),{data:D}=R(j,M),{mutate:L,isPending:Q}=A(j),{mutate:G,isPending:V}=w(j),z=t.useCallback(e=>{T(e)},[]);t.useEffect(()=>{j&&(P.getQueryData(E)||null==L||L({gsUtilPath:j}),P.getQueryData(M)||null==G||G({gsUtilPath:j}))},[j]);const H=(t,s,a)=>{if("string"==typeof t)return e.jsx("img",{loading:"lazy",alt:"brain_storm_icon",src:t,className:s,style:a});if(u.default.isValidElement(t)){const e=t,s=Object.assign(Object.assign({},a),e.props.style);return u.default.cloneElement(e,{style:s})}return e.jsx("span",Object.assign({style:a},{children:t}))};return e.jsxs("div",Object.assign({className:s.default.container,style:null==x?void 0:x.container},{children:[e.jsxs("div",Object.assign({className:s.default.header,style:null==x?void 0:x.header},{children:[e.jsxs("div",Object.assign({className:s.default.headerLeft,style:null==x?void 0:x.headerLeft},{children:[H(c,s.default.headerIcon,null!==(b=null==x?void 0:x.bsIcon)&&void 0!==b?b:null==x?void 0:x.headerIcon),e.jsx("h2",Object.assign({className:s.default.headerTitle,style:null==x?void 0:x.headerTitle},{children:"Stormee.ai"}))]})),l.renderCitationAIConfidenceDisplay(p,!0,null==x?void 0:x.confidenceDisplay)]})),e.jsxs("div",Object.assign({className:s.default.contentRow,style:null==x?void 0:x.contentRow},{children:[e.jsxs("div",Object.assign({className:s.default.leftColumn,style:null==x?void 0:x.leftColumn},{children:[Q||V?e.jsxs("div",Object.assign({className:s.default.loader,style:null==x?void 0:x.loader},{children:[e.jsx(i.CircularProgress,{size:48,thickness:4}),e.jsx("span",Object.assign({className:s.default.loaderText,style:null==x?void 0:x.loaderText},{children:"Loading audio peaks..."}))]})):W&&D&&e.jsx(o.AudioPlayProvider,{children:e.jsx(n.default,{colorCode:m,audio_file_name:W,matchedSegments:g,peaks:null!==(O=D.peaks)&&void 0!==O?O:[],duration:null!==(S=D.duration)&&void 0!==S?S:0,chevronIndex:I,setChevronIndex:q,onTimeUpdate:z,currentAudioTime:C,showOnlyMatched:!0,customStyles:null==x?void 0:x.waveform})}),e.jsxs("div",Object.assign({className:s.default.transcriptCard,style:null==x?void 0:x.transcriptCard},{children:[e.jsxs("div",Object.assign({className:s.default.transcriptHeader,style:null==x?void 0:x.transcriptHeader},{children:[H(c,s.default.transcriptIcon,null!==(N=null==x?void 0:x.bsIcon)&&void 0!==N?N:null==x?void 0:x.transcriptIcon),e.jsx("div",Object.assign({className:s.default.transcriptTitle,style:null==x?void 0:x.transcriptTitle},{children:"STORMEE'S TRANSCRIPT"}))]})),e.jsx("div",Object.assign({className:s.default.segmentList,style:null==x?void 0:x.segmentList},{children:g.map((t,a)=>e.jsx("div",Object.assign({className:s.default.segment,style:null==x?void 0:x.segment},{children:e.jsxs("div",Object.assign({className:s.default.segmentRow,style:null==x?void 0:x.segmentRow},{children:[e.jsx("span",Object.assign({className:s.default.timestamp,style:null==x?void 0:x.timestamp},{children:r.formatTime(t.start_time)})),e.jsx("div",Object.assign({className:s.default.segmentTextWrapper,style:null==x?void 0:x.segmentTextWrapper},{children:e.jsx("p",Object.assign({className:s.default.segmentText,style:null==x?void 0:x.segmentText},{children:t.text}))}))]}))}),a))}))]}))]})),e.jsx(a.default,{title:v,content:h,highlight:null!=y?y:"",keyTakeaway:f,brainStormIcon:c,customStyles:x})]}))]}))});exports.default=m;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),l=require("./StormeeContent.module.css.js"),s=require("./components/ProblemStatementCard.js"),a=require("../../../shared/CitationAIConfidenceDisplay.js"),i=require("@mui/material"),n=require("../audio-citation/searchwaveform.js"),r=require("../audio-citation/SearchWaveFromWrapper.js"),d=require("../../RequirementAIWrapper/RequirementAIWrapper.js"),o=require("../audio-citation/store/autoplay.wavefrom.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=u(t);const m=t.memo(({brainStormIcon:u="https://storymod-assests.pages.dev/brainstorm-cropped.gif",themeColor:m,segments:v,gsUtilPath:h,contentName:f,content:p,keywords:y,relevanceScore:g,highlighted_content:x,customStyles:j})=>{var S,N,C,T;const[I,q]=t.useState(0),[P,k]=t.useState(0),{queryClient:A,useGetSignedUrlQuery:b,useGetSignedUrlMutation:w,useExtractAudioPeaksMutation:R,useExtractAudioPeaksQuery:U,useGetVideoSignedUrlQuery:_,useGetVideoSignedUrlMutation:E}=d.useRequirementAI().apiCachingConfig,M=["getSignedUrl",h],W=["extractAudioPeaks",h],{data:D}=b(h,M),{data:L}=U(h,W),{mutate:Q,isPending:G}=w(h),{mutate:O,isPending:V}=R(h),z=t.useCallback(e=>{q(e)},[]);t.useEffect(()=>{h&&(A.getQueryData(M)||null==Q||Q({gsUtilPath:h}),A.getQueryData(W)||null==O||O({gsUtilPath:h}))},[h]);const H=(t,l,s)=>{if("string"==typeof t)return e.jsx("img",{loading:"lazy",alt:"brain_storm_icon",src:t,className:l,style:s});if(c.default.isValidElement(t)){const e=t,l={...s,...e.props.style};return c.default.cloneElement(e,{style:l})}return e.jsx("span",{style:s,children:t})};return e.jsxs("div",{className:l.default.container,style:null==j?void 0:j.container,children:[e.jsxs("div",{className:l.default.header,style:null==j?void 0:j.header,children:[e.jsxs("div",{className:l.default.headerLeft,style:null==j?void 0:j.headerLeft,children:[H(u,l.default.headerIcon,null!==(S=null==j?void 0:j.bsIcon)&&void 0!==S?S:null==j?void 0:j.headerIcon),e.jsx("h2",{className:l.default.headerTitle,style:null==j?void 0:j.headerTitle,children:"Stormee.ai"})]}),a.renderCitationAIConfidenceDisplay(g,!0,null==j?void 0:j.confidenceDisplay)]}),e.jsxs("div",{className:l.default.contentRow,style:null==j?void 0:j.contentRow,children:[e.jsxs("div",{className:l.default.leftColumn,style:null==j?void 0:j.leftColumn,children:[G||V?e.jsxs("div",{className:l.default.loader,style:null==j?void 0:j.loader,children:[e.jsx(i.CircularProgress,{size:48,thickness:4}),e.jsx("span",{className:l.default.loaderText,style:null==j?void 0:j.loaderText,children:"Loading audio peaks..."})]}):D&&L&&e.jsx(o.AudioPlayProvider,{children:e.jsx(n.default,{colorCode:m,audio_file_name:D,matchedSegments:v,peaks:null!==(N=L.peaks)&&void 0!==N?N:[],duration:null!==(C=L.duration)&&void 0!==C?C:0,chevronIndex:P,setChevronIndex:k,onTimeUpdate:z,currentAudioTime:I,showOnlyMatched:!0,customStyles:null==j?void 0:j.waveform})}),e.jsxs("div",{className:l.default.transcriptCard,style:null==j?void 0:j.transcriptCard,children:[e.jsxs("div",{className:l.default.transcriptHeader,style:null==j?void 0:j.transcriptHeader,children:[H(u,l.default.transcriptIcon,null!==(T=null==j?void 0:j.bsIcon)&&void 0!==T?T:null==j?void 0:j.transcriptIcon),e.jsx("div",{className:l.default.transcriptTitle,style:null==j?void 0:j.transcriptTitle,children:"STORMEE'S TRANSCRIPT"})]}),e.jsx("div",{className:l.default.segmentList,style:null==j?void 0:j.segmentList,children:v.map((t,s)=>e.jsx("div",{className:l.default.segment,style:null==j?void 0:j.segment,children:e.jsxs("div",{className:l.default.segmentRow,style:null==j?void 0:j.segmentRow,children:[e.jsx("span",{className:l.default.timestamp,style:null==j?void 0:j.timestamp,children:r.formatTime(t.start_time)}),e.jsx("div",{className:l.default.segmentTextWrapper,style:null==j?void 0:j.segmentTextWrapper,children:e.jsx("p",{className:l.default.segmentText,style:null==j?void 0:j.segmentText,children:t.text})})]})},s))})]})]}),e.jsx(s.default,{title:f,content:p,highlight:null!=x?x:"",keyTakeaway:y,brainStormIcon:u,customStyles:j})]})]})});exports.default=m;
2
2
  //# sourceMappingURL=StormeeContent.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),s=require("./GradientButton.module.css.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(t);exports.default=({brainStormIcon:t="https://storymod-assests.pages.dev/brainstorm-cropped.gif",customStyles:n})=>e.jsx("button",Object.assign({className:s.default.button,style:null==n?void 0:n.gradientButton},{children:e.jsxs("span",Object.assign({className:s.default.content,style:null==n?void 0:n.gradientContent},{children:[(()=>{if("string"==typeof t)return e.jsx("img",{loading:"lazy",src:t,className:s.default.icon,alt:"Brainstorm icon",style:null==n?void 0:n.bsIcon});if(a.default.isValidElement(t)){const e=t;return a.default.cloneElement(e,{style:Object.assign(Object.assign({},null==n?void 0:n.bsIcon),e.props.style)})}return e.jsx("span",Object.assign({style:null==n?void 0:n.bsIcon},{children:t}))})(),e.jsx("span",Object.assign({className:s.default.label,style:null==n?void 0:n.gradientButtonLabel},{children:"Extracted from Key Takeaways"}))]}))}));
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),s=require("./GradientButton.module.css.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=l(t);exports.default=({brainStormIcon:t="https://storymod-assests.pages.dev/brainstorm-cropped.gif",customStyles:l})=>e.jsx("button",{className:s.default.button,style:null==l?void 0:l.gradientButton,children:e.jsxs("span",{className:s.default.content,style:null==l?void 0:l.gradientContent,children:[(()=>{if("string"==typeof t)return e.jsx("img",{loading:"lazy",src:t,className:s.default.icon,alt:"Brainstorm icon",style:null==l?void 0:l.bsIcon});if(n.default.isValidElement(t)){const e=t;return n.default.cloneElement(e,{style:{...null==l?void 0:l.bsIcon,...e.props.style}})}return e.jsx("span",{style:null==l?void 0:l.bsIcon,children:t})})(),e.jsx("span",{className:s.default.label,style:null==l?void 0:l.gradientButtonLabel,children:"Extracted from Key Takeaways"})]})});
2
2
  //# sourceMappingURL=GradientButton.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("react-markdown"),t=require("./GradientButton.js"),l=require("./ProblemStatementCard.module.css.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=s(a);exports.default=({title:a,content:s,highlight:r,keyTakeaway:i,className:d,brainStormIcon:c,customStyles:o})=>(console.log("content:::",s),e.jsxs("div",Object.assign({className:`${l.default.card} ${null!=d?d:""}`,style:null==o?void 0:o.problemCard},{children:[e.jsxs("div",Object.assign({className:l.default.header,style:null==o?void 0:o.problemHeader},{children:[e.jsx(t.default,{customStyles:o,brainStormIcon:c}),e.jsx("div",Object.assign({className:l.default.titleWrapper,style:null==o?void 0:o.problemTitleWrapper},{children:e.jsx("h2",Object.assign({className:l.default.title,style:null==o?void 0:o.problemTitle},{children:a}))}))]})),e.jsx("div",Object.assign({className:l.default.contentWrapper,style:null==o?void 0:o.contentWrapper},{children:e.jsx("p",Object.assign({className:l.default.content,style:null==o?void 0:o.problemContent},{children:e.jsx(n.default,Object.assign({className:l.default.markdown},{children:s.replace(/\\n/g,"\n")}))}))})),e.jsx("div",Object.assign({className:l.default.takeawayContainer,style:null==o?void 0:o.takeawayContainer},{children:i.map((a,t)=>e.jsx("span",Object.assign({className:`${l.default.takeaway} \n ${0===t?l.default.firstTakeaway:""}`,style:null==o?void 0:o.takeawayPill},{children:a}),`${t}-${a}`))}))]})));
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),l=require("react-markdown"),a=require("./GradientButton.js"),t=require("./ProblemStatementCard.module.css.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(l);exports.default=({title:l,content:r,highlight:n,keyTakeaway:d,className:i,brainStormIcon:o,customStyles:c})=>(console.log("content:::",r),e.jsxs("div",{className:`${t.default.card} ${null!=i?i:""}`,style:null==c?void 0:c.problemCard,children:[e.jsxs("div",{className:t.default.header,style:null==c?void 0:c.problemHeader,children:[e.jsx(a.default,{customStyles:c,brainStormIcon:o}),e.jsx("div",{className:t.default.titleWrapper,style:null==c?void 0:c.problemTitleWrapper,children:e.jsx("h2",{className:t.default.title,style:null==c?void 0:c.problemTitle,children:l})})]}),e.jsx("div",{className:t.default.contentWrapper,style:null==c?void 0:c.contentWrapper,children:e.jsx("p",{className:t.default.content,style:null==c?void 0:c.problemContent,children:e.jsx(s.default,{className:t.default.markdown,children:r.replace(/\\n/g,"\n")})})}),e.jsx("div",{className:t.default.takeawayContainer,style:null==c?void 0:c.takeawayContainer,children:d.map((l,a)=>e.jsx("span",{className:`${t.default.takeaway} \n ${0===a?t.default.firstTakeaway:""}`,style:null==c?void 0:c.takeawayPill,children:l},`${a}-${l}`))})]}));
2
2
  //# sourceMappingURL=ProblemStatementCard.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.default=({height:t=16,width:r=16})=>e.jsx("svg",Object.assign({width:r,height:t,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:e.jsx("path",{d:"M3 0.5H2.9C2.05992 0.5 1.63988 0.5 1.31901 0.66349C1.03677 0.8073 0.8073 1.03677 0.66349 1.31901C0.5 1.63988 0.5 2.05992 0.5 2.9V3M3 9.5H2.9C2.05992 9.5 1.63988 9.5 1.31901 9.33651C1.03677 9.1927 0.8073 8.96323 0.66349 8.68099C0.5 8.36012 0.5 7.94008 0.5 7.1V7M9.5 3V2.9C9.5 2.05992 9.5 1.63988 9.33651 1.31901C9.1927 1.03677 8.96323 0.8073 8.68099 0.66349C8.36012 0.5 7.94008 0.5 7.1 0.5H7M9.5 7V7.1C9.5 7.94008 9.5 8.36012 9.33651 8.68099C9.1927 8.96323 8.96323 9.1927 8.68099 9.33651C8.36012 9.5 7.94008 9.5 7.1 9.5H7",stroke:"#141414","stroke-linecap":"round","stroke-linejoin":"round"})}));
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.default=({height:t=16,width:r=16})=>e.jsx("svg",{width:r,height:t,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M3 0.5H2.9C2.05992 0.5 1.63988 0.5 1.31901 0.66349C1.03677 0.8073 0.8073 1.03677 0.66349 1.31901C0.5 1.63988 0.5 2.05992 0.5 2.9V3M3 9.5H2.9C2.05992 9.5 1.63988 9.5 1.31901 9.33651C1.03677 9.1927 0.8073 8.96323 0.66349 8.68099C0.5 8.36012 0.5 7.94008 0.5 7.1V7M9.5 3V2.9C9.5 2.05992 9.5 1.63988 9.33651 1.31901C9.1927 1.03677 8.96323 0.8073 8.68099 0.66349C8.36012 0.5 7.94008 0.5 7.1 0.5H7M9.5 7V7.1C9.5 7.94008 9.5 8.36012 9.33651 8.68099C9.1927 8.96323 8.96323 9.1927 8.68099 9.33651C8.36012 9.5 7.94008 9.5 7.1 9.5H7",stroke:"#141414","stroke-linecap":"round","stroke-linejoin":"round"})});
2
2
  //# sourceMappingURL=FullScreenIcon.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("@mui/material"),l=require("./ImagePreviewDialog.module.css.js");exports.default=({open:a,handleClose:i,CloseIcon:t,src:c,styles:r})=>e.jsx(s.Dialog,Object.assign({maxWidth:"lg",onClose:i,open:a},{children:e.jsxs("div",Object.assign({className:l.default.container,style:null==r?void 0:r.container},{children:[e.jsxs("div",Object.assign({className:l.default.header,style:null==r?void 0:r.header},{children:[e.jsx("h1",Object.assign({className:l.default.title,style:null==r?void 0:r.title},{children:"Image Preview"})),e.jsx("div",Object.assign({className:l.default.closeIconWrapper,style:null==r?void 0:r.closeIconWrapper,onClick:i},{children:e.jsx(t,{className:l.default.closeIcon,style:null==r?void 0:r.closeIcon})}))]})),e.jsx("img",{src:c,alt:"Preview",className:l.default.image,style:null==r?void 0:r.image})]}))}));
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),l=require("@mui/material"),s=require("./ImagePreviewDialog.module.css.js");exports.default=({open:a,handleClose:i,CloseIcon:r,src:o,styles:t})=>e.jsx(l.Dialog,{maxWidth:"lg",onClose:i,open:a,children:e.jsxs("div",{className:s.default.container,style:null==t?void 0:t.container,children:[e.jsxs("div",{className:s.default.header,style:null==t?void 0:t.header,children:[e.jsx("h1",{className:s.default.title,style:null==t?void 0:t.title,children:"Image Preview"}),e.jsx("div",{className:s.default.closeIconWrapper,style:null==t?void 0:t.closeIconWrapper,onClick:i,children:e.jsx(r,{className:s.default.closeIcon,style:null==t?void 0:t.closeIcon})})]}),e.jsx("img",{src:o,alt:"Preview",className:s.default.image,style:null==t?void 0:t.image})]})});
2
2
  //# sourceMappingURL=ImagePreviewDialog.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./WebCitationIcon.js"),t=require("./Webcitation.module.css.js");exports.default=({label:s,url:l,customStyles:n,customIcons:o})=>{const i=(null==o?void 0:o.webCitationIcon)||e.jsx(r.default,{});return e.jsxs("a",Object.assign({className:t.default.link,style:null==n?void 0:n.headerLink,target:"_blank",rel:"noopener noreferrer",href:l},{children:[s,i]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("./WebCitationIcon.js"),t=require("./Webcitation.module.css.js");exports.default=({label:s,url:l,customStyles:n,customIcons:o})=>{const i=(null==o?void 0:o.webCitationIcon)||e.jsx(r.default,{});return e.jsxs("a",{className:t.default.link,style:null==n?void 0:n.headerLink,target:"_blank",rel:"noopener noreferrer",href:l,children:[s,i]})};
2
2
  //# sourceMappingURL=WebCitation.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var C=require("react/jsx-runtime");exports.default=()=>C.jsx("div",{children:C.jsxs("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[C.jsxs("g",Object.assign({clipPath:"url(#clip0_3025_73390)"},{children:[C.jsx("path",{d:"M13.82 14.0039H9.66C9.56 13.3439 9.5 12.6839 9.5 12.0039C9.5 11.3239 9.56 10.6539 9.66 10.0039H14.34C14.43 10.6539 14.5 11.3239 14.5 12.0039C14.5 12.5039 14.46 13.0039 14.4 13.4639C15 12.9639 15.72 12.5739 16.5 12.3239V12.0039C16.5 11.3239 16.44 10.6639 16.36 10.0039H19.74C19.9 10.6439 20 11.3139 20 12.0039V12.1839C20.7 12.3539 21.35 12.6339 21.95 13.0039C22 12.6839 22 12.3439 22 12.0039C22 6.50391 17.5 2.00391 12 2.00391C6.47 2.00391 2 6.50391 2 12.0039C2 17.5039 6.5 22.0039 12 22.0039C12.34 22.0039 12.68 22.0039 13 21.9539C12.59 21.2939 12.29 20.5539 12.13 19.7539C12.09 19.8239 12.05 19.8939 12 19.9639C11.17 18.7639 10.5 17.4339 10.09 16.0039H12.5C12.81 15.2539 13.26 14.5839 13.82 14.0039ZM18.92 8.00391H15.97C15.6565 6.76552 15.1931 5.57001 14.59 4.44391C16.43 5.07391 17.96 6.34391 18.92 8.00391ZM12 4.03391C12.83 5.23391 13.5 6.57391 13.91 8.00391H10.09C10.5 6.57391 11.17 5.23391 12 4.03391ZM4.26 14.0039C4.1 13.3639 4 12.6939 4 12.0039C4 11.3139 4.1 10.6439 4.26 10.0039H7.64C7.56 10.6639 7.5 11.3239 7.5 12.0039C7.5 12.6839 7.56 13.3439 7.64 14.0039H4.26ZM5.08 16.0039H8C8.35 17.2539 8.8 18.4539 9.4 19.5639C7.57827 18.9362 6.04429 17.6721 5.08 16.0039ZM8 8.00391H5.08C6.03864 6.33094 7.57466 5.06515 9.4 4.44391C8.8 5.55391 8.35 6.75391 8 8.00391Z",fill:"#5C75F4"}),C.jsx("path",{d:"M16.01 14.9539C14.8502 14.9539 13.91 15.8941 13.91 17.0539C13.9121 18.1852 14.8099 19.1115 15.9405 19.1489L14.61 21.9539H16.01L17.9074 17.9539C18.0416 17.6709 18.1026 17.365 18.11 17.0539C18.11 15.8941 17.1698 14.9539 16.01 14.9539ZM21.61 14.9539C20.4502 14.9539 19.51 15.8941 19.51 17.0539C19.5121 18.1852 20.4099 19.1115 21.5405 19.1489L20.21 21.9539H21.61L23.5074 17.9539C23.6416 17.6709 23.7026 17.365 23.71 17.0539C23.71 15.8941 22.7698 14.9539 21.61 14.9539Z",fill:"#5C75F4"})]})),C.jsx("defs",{children:C.jsx("clipPath",Object.assign({id:"clip0_3025_73390"},{children:C.jsx("rect",{width:"24",height:"24",fill:"white"})}))})]}))});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var C=require("react/jsx-runtime");exports.default=()=>C.jsx("div",{children:C.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C.jsxs("g",{clipPath:"url(#clip0_3025_73390)",children:[C.jsx("path",{d:"M13.82 14.0039H9.66C9.56 13.3439 9.5 12.6839 9.5 12.0039C9.5 11.3239 9.56 10.6539 9.66 10.0039H14.34C14.43 10.6539 14.5 11.3239 14.5 12.0039C14.5 12.5039 14.46 13.0039 14.4 13.4639C15 12.9639 15.72 12.5739 16.5 12.3239V12.0039C16.5 11.3239 16.44 10.6639 16.36 10.0039H19.74C19.9 10.6439 20 11.3139 20 12.0039V12.1839C20.7 12.3539 21.35 12.6339 21.95 13.0039C22 12.6839 22 12.3439 22 12.0039C22 6.50391 17.5 2.00391 12 2.00391C6.47 2.00391 2 6.50391 2 12.0039C2 17.5039 6.5 22.0039 12 22.0039C12.34 22.0039 12.68 22.0039 13 21.9539C12.59 21.2939 12.29 20.5539 12.13 19.7539C12.09 19.8239 12.05 19.8939 12 19.9639C11.17 18.7639 10.5 17.4339 10.09 16.0039H12.5C12.81 15.2539 13.26 14.5839 13.82 14.0039ZM18.92 8.00391H15.97C15.6565 6.76552 15.1931 5.57001 14.59 4.44391C16.43 5.07391 17.96 6.34391 18.92 8.00391ZM12 4.03391C12.83 5.23391 13.5 6.57391 13.91 8.00391H10.09C10.5 6.57391 11.17 5.23391 12 4.03391ZM4.26 14.0039C4.1 13.3639 4 12.6939 4 12.0039C4 11.3139 4.1 10.6439 4.26 10.0039H7.64C7.56 10.6639 7.5 11.3239 7.5 12.0039C7.5 12.6839 7.56 13.3439 7.64 14.0039H4.26ZM5.08 16.0039H8C8.35 17.2539 8.8 18.4539 9.4 19.5639C7.57827 18.9362 6.04429 17.6721 5.08 16.0039ZM8 8.00391H5.08C6.03864 6.33094 7.57466 5.06515 9.4 4.44391C8.8 5.55391 8.35 6.75391 8 8.00391Z",fill:"#5C75F4"}),C.jsx("path",{d:"M16.01 14.9539C14.8502 14.9539 13.91 15.8941 13.91 17.0539C13.9121 18.1852 14.8099 19.1115 15.9405 19.1489L14.61 21.9539H16.01L17.9074 17.9539C18.0416 17.6709 18.1026 17.365 18.11 17.0539C18.11 15.8941 17.1698 14.9539 16.01 14.9539ZM21.61 14.9539C20.4502 14.9539 19.51 15.8941 19.51 17.0539C19.5121 18.1852 20.4099 19.1115 21.5405 19.1489L20.21 21.9539H21.61L23.5074 17.9539C23.6416 17.6709 23.7026 17.365 23.71 17.0539C23.71 15.8941 22.7698 14.9539 21.61 14.9539Z",fill:"#5C75F4"})]}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_3025_73390",children:C.jsx("rect",{width:"24",height:"24",fill:"white"})})})]})});
2
2
  //# sourceMappingURL=WebCitationIcon.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("./WebCitationIcon.js"),i=require("./WebCitation.js"),n=require("../../../../CitationRenderer/CitationRenderer.js");exports.default=({label:o,url:r,customStyles:l,customIcons:s})=>{const a=(null==s?void 0:s.webCitationIcon)||e.jsx(t.default,{});return e.jsx(n.default,{inLineCitation:!0,citationTitle:o,chevronDownComponent:a,chevronUpComponent:a,citationComponent:e.jsxs("div",Object.assign({className:"p-4 border rounded-lg bg-white mt-2",style:null==l?void 0:l.content},{children:[e.jsx("p",Object.assign({className:"text-sm text-gray-600 mb-2",style:null==l?void 0:l.footerText},{children:"Source Link:"})),e.jsx(i.default,{label:o,url:r,customStyles:l,customIcons:s})]})),styles:{pillButton:Object.assign({margin:"0px",padding:"0px 4px",fontSize:"14px",color:"#2546F0",cursor:"pointer",verticalAlign:"middle",display:"inline-flex",alignItems:"center",background:"#E9ECFD",border:"1px solid #D4DBFF",borderRadius:"2px",gap:"4px"},null==l?void 0:l.pill)}})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("./WebCitationIcon.js"),i=require("./WebCitation.js"),n=require("../../../../CitationRenderer/CitationRenderer.js");exports.default=({label:o,url:r,customStyles:l,customIcons:s})=>{const a=(null==s?void 0:s.webCitationIcon)||e.jsx(t.default,{});return e.jsx(n.default,{inLineCitation:!0,citationTitle:o,chevronDownComponent:a,chevronUpComponent:a,citationComponent:e.jsxs("div",{className:"p-4 border rounded-lg bg-white mt-2",style:null==l?void 0:l.content,children:[e.jsx("p",{className:"text-sm text-gray-600 mb-2",style:null==l?void 0:l.footerText,children:"Source Link:"}),e.jsx(i.default,{label:o,url:r,customStyles:l,customIcons:s})]}),styles:{pillButton:{margin:"0px",padding:"0px 4px",fontSize:"14px",color:"#2546F0",cursor:"pointer",verticalAlign:"middle",display:"inline-flex",alignItems:"center",background:"#E9ECFD",border:"1px solid #D4DBFF",borderRadius:"2px",gap:"4px",...null==l?void 0:l.pill}}})};
2
2
  //# sourceMappingURL=WebCitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("@mui/material"),l=require("lucide-react"),t=require("react"),i=require("./WebCitationWithImageContent.module.css.js"),a=require("../../RequirementAIWrapper/RequirementAIWrapper.js"),r=require("./ImagePreviewDialog.js"),n=require("./FullScreenIcon.js");exports.default=o=>{var d,u,c,g,v,m,f,h,j,y,p,x,S,b,P;const{queryClient:k,useGetSignedUrlQuery:I,useGetSignedUrlMutation:L}=a.useRequirementAI().apiCachingConfig,O=["getSignedUrl",o.gsUtilPath],{data:q}=I(o.gsUtilPath,O),{mutate:C,isPending:N}=L(o.gsUtilPath),[U,F]=t.useState(!1),W=(null===(d=o.customIcons)||void 0===d?void 0:d.FullScreenIcon)||e.jsx(n.default,{});return t.useEffect(()=>{if(!o.gsUtilPath)return void console.error("error","Error","Please provide valid gsUtilPath.");k.getQueryData(O)||N||C({gsUtilPath:o.gsUtilPath})},[o.gsUtilPath,k,O,C,N]),e.jsxs("div",Object.assign({className:i.default.container,style:null===(u=o.customStyles)||void 0===u?void 0:u.content},{children:[e.jsx("div",Object.assign({className:i.default.header,style:null===(c=o.customStyles)||void 0===c?void 0:c.header},{children:e.jsx("div",Object.assign({className:i.default.headerLeft,style:null===(g=o.customStyles)||void 0===g?void 0:g.headerLeft},{children:e.jsx("a",Object.assign({className:i.default.headerLink,style:null===(v=o.customStyles)||void 0===v?void 0:v.headerLink,target:"_blank",rel:"noopener noreferrer",href:o.url},{children:o.label}))}))})),N?e.jsxs("div",Object.assign({className:i.default.loadingContainer,style:null===(m=o.customStyles)||void 0===m?void 0:m.loadingContainer},{children:[e.jsx(s.CircularProgress,{size:48,thickness:4,sx:{color:"#4F85FF","& .MuiCircularProgress-circle":{strokeLinecap:"round"}}}),e.jsx("span",Object.assign({className:i.default.loadingLabel,style:null===(f=o.customStyles)||void 0===f?void 0:f.loadingLabel},{children:"Loading Image..."}))]})):q&&e.jsxs("div",Object.assign({className:i.default.imageWrapper,style:null===(h=o.customStyles)||void 0===h?void 0:h.imageWrapper},{children:[e.jsx("img",{src:q,alt:"images",className:i.default.image,style:null===(j=o.customStyles)||void 0===j?void 0:j.image,onError:e=>{e.target.src="path/to/fallback-image.png",console.error("Failed to load image from signed URL")}}),e.jsx("div",Object.assign({className:i.default.fullscreenButton,style:null===(y=o.customStyles)||void 0===y?void 0:y.fullscreenButton,onClick:()=>F(!0)},{children:W})),e.jsx(r.default,{open:U,handleClose:()=>F(!1),src:q,CloseIcon:null==o?void 0:o.PreviewDialogCloseIcon,styles:null===(p=o.customStyles)||void 0===p?void 0:p.previewDialog})]})),e.jsx("div",Object.assign({className:i.default.footer,style:null===(x=o.customStyles)||void 0===x?void 0:x.footer},{children:e.jsxs("div",Object.assign({className:i.default.footerInner,style:null===(S=o.customStyles)||void 0===S?void 0:S.footerText},{children:[e.jsx("span",{children:"Open link in new tab to read in detail"}),e.jsxs("a",Object.assign({className:i.default.visitLink,style:null===(b=o.customStyles)||void 0===b?void 0:b.footerLink,href:o.url,target:"_blank",rel:"noopener noreferrer"},{children:[e.jsx("span",{children:"Visit Link"}),e.jsx(l.SquareArrowOutUpRight,{className:i.default.visitLinkIcon,style:null===(P=o.customStyles)||void 0===P?void 0:P.visitLinkIcon})]}))]}))}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),l=require("@mui/material"),s=require("lucide-react"),t=require("react"),i=require("./WebCitationWithImageContent.module.css.js"),r=require("../../RequirementAIWrapper/RequirementAIWrapper.js"),a=require("./ImagePreviewDialog.js"),o=require("./FullScreenIcon.js");exports.default=n=>{var d,u,c,v,m,g,f,h,y,p,j,x,S,P,k;const{queryClient:I,useGetSignedUrlQuery:L,useGetSignedUrlMutation:q}=r.useRequirementAI().apiCachingConfig,C=["getSignedUrl",n.gsUtilPath],{data:N}=L(n.gsUtilPath,C),{mutate:U,isPending:b}=q(n.gsUtilPath),[F,W]=t.useState(!1),w=(null===(d=n.customIcons)||void 0===d?void 0:d.FullScreenIcon)||e.jsx(o.default,{});return t.useEffect(()=>{if(!n.gsUtilPath)return void console.error("error","Error","Please provide valid gsUtilPath.");I.getQueryData(C)||b||U({gsUtilPath:n.gsUtilPath})},[n.gsUtilPath,I,C,U,b]),e.jsxs("div",{className:i.default.container,style:null===(u=n.customStyles)||void 0===u?void 0:u.content,children:[e.jsx("div",{className:i.default.header,style:null===(c=n.customStyles)||void 0===c?void 0:c.header,children:e.jsx("div",{className:i.default.headerLeft,style:null===(v=n.customStyles)||void 0===v?void 0:v.headerLeft,children:e.jsx("a",{className:i.default.headerLink,style:null===(m=n.customStyles)||void 0===m?void 0:m.headerLink,target:"_blank",rel:"noopener noreferrer",href:n.url,children:n.label})})}),b?e.jsxs("div",{className:i.default.loadingContainer,style:null===(g=n.customStyles)||void 0===g?void 0:g.loadingContainer,children:[e.jsx(l.CircularProgress,{size:48,thickness:4,sx:{color:"#4F85FF","& .MuiCircularProgress-circle":{strokeLinecap:"round"}}}),e.jsx("span",{className:i.default.loadingLabel,style:null===(f=n.customStyles)||void 0===f?void 0:f.loadingLabel,children:"Loading Image..."})]}):N&&e.jsxs("div",{className:i.default.imageWrapper,style:null===(h=n.customStyles)||void 0===h?void 0:h.imageWrapper,children:[e.jsx("img",{src:N,alt:"images",className:i.default.image,style:null===(y=n.customStyles)||void 0===y?void 0:y.image,onError:e=>{e.target.src="path/to/fallback-image.png",console.error("Failed to load image from signed URL")}}),e.jsx("div",{className:i.default.fullscreenButton,style:null===(p=n.customStyles)||void 0===p?void 0:p.fullscreenButton,onClick:()=>W(!0),children:w}),e.jsx(a.default,{open:F,handleClose:()=>W(!1),src:N,CloseIcon:null==n?void 0:n.PreviewDialogCloseIcon,styles:null===(j=n.customStyles)||void 0===j?void 0:j.previewDialog})]}),e.jsx("div",{className:i.default.footer,style:null===(x=n.customStyles)||void 0===x?void 0:x.footer,children:e.jsxs("div",{className:i.default.footerInner,style:null===(S=n.customStyles)||void 0===S?void 0:S.footerText,children:[e.jsx("span",{children:"Open link in new tab to read in detail"}),e.jsxs("a",{className:i.default.visitLink,style:null===(P=n.customStyles)||void 0===P?void 0:P.footerLink,href:n.url,target:"_blank",rel:"noopener noreferrer",children:[e.jsx("span",{children:"Visit Link"}),e.jsx(s.SquareArrowOutUpRight,{className:i.default.visitLinkIcon,style:null===(k=n.customStyles)||void 0===k?void 0:k.visitLinkIcon})]})]})})]})};
2
2
  //# sourceMappingURL=WebCitationWithImageContent.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=require("./WebCitationWithImageContent.js"),i=require("./WebCitationIcon.js"),n=require("../../../../CitationRenderer/CitationRenderer.js");exports.default=({title:o,citation:a,customStyles:r,customIcons:l})=>{var s,c,u,d;const p=(null==l?void 0:l.webCitationIcon)||t.jsx(i.default,{});return t.jsx(n.default,{inLineCitation:!0,citationTitle:o,citationId:`web-citation-${a.citation_number}`,chevronDownComponent:p,chevronUpComponent:p,citationComponent:t.jsx(e.default,{gsUtilPath:(null===(s=a.customMetadata)||void 0===s?void 0:s.screenshot_url)||(null===(c=a.customMetadata)||void 0===c?void 0:c.gs_util_url)||"",relevanceScore:null===(u=a.customMetadata)||void 0===u?void 0:u.relevance_score,url:(null===(d=a.customMetadata)||void 0===d?void 0:d.link)||"",label:o,PreviewDialogCloseIcon:()=>t.jsx("span",{children:"X"}),customStyles:r,customIcons:l}),styles:{pillButton:Object.assign({margin:"0px 10px",padding:"0px 4px",fontSize:"14px",color:"#2546F0",cursor:"pointer",verticalAlign:"middle",display:"inline-flex",alignItems:"center",background:"#E9ECFD",border:"1px solid #D4DBFF",borderRadius:"2px",gap:"4px"},null==r?void 0:r.pill),citationContent:Object.assign({width:"100%",background:"transparent",marginTop:"10px"},null==r?void 0:r.content)}})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react/jsx-runtime"),e=require("./WebCitationWithImageContent.js"),i=require("./WebCitationIcon.js"),o=require("../../../../CitationRenderer/CitationRenderer.js");exports.default=({title:n,citation:a,customStyles:r,customIcons:l})=>{var s,c,u,d;const p=(null==l?void 0:l.webCitationIcon)||t.jsx(i.default,{});return t.jsx(o.default,{inLineCitation:!0,citationTitle:n,citationId:`web-citation-${a.citation_number}`,chevronDownComponent:p,chevronUpComponent:p,citationComponent:t.jsx(e.default,{gsUtilPath:(null===(s=a.customMetadata)||void 0===s?void 0:s.screenshot_url)||(null===(c=a.customMetadata)||void 0===c?void 0:c.gs_util_url)||"",relevanceScore:null===(u=a.customMetadata)||void 0===u?void 0:u.relevance_score,url:(null===(d=a.customMetadata)||void 0===d?void 0:d.link)||"",label:n,PreviewDialogCloseIcon:()=>t.jsx("span",{children:"X"}),customStyles:r,customIcons:l}),styles:{pillButton:{margin:"0px 10px",padding:"0px 4px",fontSize:"14px",color:"#2546F0",cursor:"pointer",verticalAlign:"middle",display:"inline-flex",alignItems:"center",background:"#E9ECFD",border:"1px solid #D4DBFF",borderRadius:"2px",gap:"4px",...null==r?void 0:r.pill},citationContent:{width:"100%",background:"transparent",marginTop:"10px",...null==r?void 0:r.content}}})};
2
2
  //# sourceMappingURL=WebCitationWithImageRenderer.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),i=require("lucide-react"),n=require("../../utils/user-story.utils.js"),l=require("../userstory-with-citation/UserStoryWithCitation.js"),s=require("./PartialRequirementContent.module.css.js"),a=require("@mui/material"),o=require("../RequirementAIWrapper/RequirementAIWrapper.js"),r=require("../RichTextEditor/RichTextEditor.js");const d=({loadingPartialRequirements:d,localUserStory:u,setLocalUserStory:c,onCraFlowDiffAgentAction:v,disableEditing:j,isCraflow:m=!0,onCraAccept:y,onCraReject:p,CDNeededInChip:g})=>{var C,b,f,S,q,h,x,R,O,P,w,B,N,A,E,D,k,U;const[T,I]=t.useState(!1),[W,F]=t.useState(""),{customStyles:M,segmentComponentConfig:z}=o.useRequirementAI();t.useEffect(()=>{j&&I(!1)},[j]),t.useEffect(()=>{var e;F(null===(e=null==u?void 0:u[0])||void 0===e?void 0:e.value)},[u]);if(d)return e.jsx("div",Object.assign({className:s.default.skeletonWrapper,style:null===(C=null==M?void 0:M.PartialRequirementContentStyles)||void 0===C?void 0:C.skeletonWrapper},{children:[1,2,3,4,5].map(t=>{var i;return e.jsx("div",{className:s.default.skeletonLine,style:null===(i=null==M?void 0:M.PartialRequirementContentStyles)||void 0===i?void 0:i.skeletonLine},t)})}));const L=!W||""===W.trim();return e.jsxs("div",Object.assign({className:s.default.wrapper,style:null===(b=null==M?void 0:M.PartialRequirementContentStyles)||void 0===b?void 0:b.wrapper},{children:[e.jsx("div",Object.assign({className:s.default.actionBar,style:null===(f=null==M?void 0:M.PartialRequirementContentStyles)||void 0===f?void 0:f.actionBar},{children:T?e.jsxs(e.Fragment,{children:[e.jsxs("span",Object.assign({className:s.default.editingBadge,style:null===(x=null==M?void 0:M.PartialRequirementContentStyles)||void 0===x?void 0:x.editingBadge},{children:[e.jsx("span",{className:s.default.editingDot,style:null===(R=null==M?void 0:M.PartialRequirementContentStyles)||void 0===R?void 0:R.editingDot}),"Editing"]})),e.jsx("div",{className:s.default.btnDivider,style:null===(O=null==M?void 0:M.PartialRequirementContentStyles)||void 0===O?void 0:O.btnDivider}),e.jsx(a.Tooltip,Object.assign({title:L?"This field cannot be empty":"Save changes",slotProps:{tooltip:{sx:Object.assign({},null===(P=null==M?void 0:M.PartialRequirementContentStyles)||void 0===P?void 0:P.headerTooltip)}}},{children:e.jsx("span",{children:e.jsx("button",Object.assign({className:s.default.saveBtn,style:Object.assign(Object.assign(Object.assign({},null===(w=null==M?void 0:M.PartialRequirementContentStyles)||void 0===w?void 0:w.actionBtn),null===(B=null==M?void 0:M.PartialRequirementContentStyles)||void 0===B?void 0:B.saveBtn),{opacity:L?.5:1,cursor:L?"not-allowed":"pointer"}),onClick:()=>{L||(c(e=>{const t=Object.assign(Object.assign({},e[0]),{value:n.postprocessUserStoryAfterEdit(W)});return null==v||v("accept",[t]),[t]}),I(!1))},disabled:L},{children:e.jsx(i.Save,{size:16})}))})})),e.jsx("button",Object.assign({className:s.default.cancelBtn,style:Object.assign(Object.assign({},null===(N=null==M?void 0:M.PartialRequirementContentStyles)||void 0===N?void 0:N.actionBtn),null===(A=null==M?void 0:M.PartialRequirementContentStyles)||void 0===A?void 0:A.cancelBtn),onClick:()=>{var e;F(null===(e=null==u?void 0:u[0])||void 0===e?void 0:e.value),I(!1)},title:"Discard changes","aria-label":"Discard changes"},{children:e.jsx(i.X,{size:16})}))]}):e.jsx(a.Tooltip,Object.assign({title:j?"Editing is disabled":"Edit",slotProps:{tooltip:{sx:Object.assign({},null===(S=null==M?void 0:M.PartialRequirementContentStyles)||void 0===S?void 0:S.headerTooltip)}}},{children:e.jsx("span",{children:e.jsx("button",Object.assign({className:s.default.editBtn,style:Object.assign(Object.assign(Object.assign({},null===(q=null==M?void 0:M.PartialRequirementContentStyles)||void 0===q?void 0:q.actionBtn),null===(h=null==M?void 0:M.PartialRequirementContentStyles)||void 0===h?void 0:h.editBtn),{opacity:j?.5:1,cursor:j?"not-allowed":"pointer"}),onClick:()=>{j||I(!0)},disabled:j,"aria-label":"Edit requirement"},{children:e.jsx(i.Pencil,{size:16})}))})}))})),T?e.jsx("div",Object.assign({className:s.default.editorContainer,style:null===(E=null==M?void 0:M.PartialRequirementContentStyles)||void 0===E?void 0:E.editorContainer},{children:e.jsx(r.default,{minHeight:"100%",height:"100%",type:"string",value:n.preprocessUserStoryForEdit(n.formatMarkdown((null===(D=null==u?void 0:u[0])||void 0===D?void 0:D.value)||"")||""),handleUpdateState:(e,t)=>{F(t)},doNotShowBorderInViewMode:!1,mode:"edit"})})):e.jsx("div",Object.assign({className:s.default.viewContainer,style:null===(k=null==M?void 0:M.PartialRequirementContentStyles)||void 0===k?void 0:k.viewContainer},{children:e.jsx(l.default,{message:n.formatMarkdown((null===(U=null==u?void 0:u[0])||void 0===U?void 0:U.value)||""),craFlowConfig:{isCraflow:!0,craUserStory:u,setCraUserStory:c,onCraFlowDiffAgentAction:v,displayActionButtons:!T},isCraflow:m,onCraAccept:y,onCraReject:p,customStyles:null==M?void 0:M.UserStoryWithCitationCustomStyles,CDNeededInChip:g})}))]}))};exports.PartialRequirementContent=d,exports.default=d;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),i=require("lucide-react"),l=require("../../utils/user-story.utils.js"),n=require("../userstory-with-citation/UserStoryWithCitation.js"),o=require("./PartialRequirementContent.module.css.js"),r=require("@mui/material"),a=require("../RequirementAIWrapper/RequirementAIWrapper.js"),s=require("../RichTextEditor/RichTextEditor.js");const d=({loadingPartialRequirements:d,localUserStory:u,setLocalUserStory:v,onCraFlowDiffAgentAction:c,disableEditing:m,isCraflow:y=!0,onCraAccept:p,onCraReject:C,CDNeededInChip:f})=>{var S,q,h,j,x,R,P,g,w,B,N,b,A,E,D,k,U,T;const[I,W]=t.useState(!1),[F,M]=t.useState(""),{customStyles:z,segmentComponentConfig:L}=a.useRequirementAI();t.useEffect(()=>{m&&W(!1)},[m]),t.useEffect(()=>{var e;M(null===(e=null==u?void 0:u[0])||void 0===e?void 0:e.value)},[u]);if(d)return e.jsx("div",{className:o.default.skeletonWrapper,style:null===(S=null==z?void 0:z.PartialRequirementContentStyles)||void 0===S?void 0:S.skeletonWrapper,children:[1,2,3,4,5].map(t=>{var i;return e.jsx("div",{className:o.default.skeletonLine,style:null===(i=null==z?void 0:z.PartialRequirementContentStyles)||void 0===i?void 0:i.skeletonLine},t)})});const _=!F||""===F.trim();return e.jsxs("div",{className:o.default.wrapper,style:null===(q=null==z?void 0:z.PartialRequirementContentStyles)||void 0===q?void 0:q.wrapper,children:[e.jsx("div",{className:o.default.actionBar,style:null===(h=null==z?void 0:z.PartialRequirementContentStyles)||void 0===h?void 0:h.actionBar,children:I?e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:o.default.editingBadge,style:null===(P=null==z?void 0:z.PartialRequirementContentStyles)||void 0===P?void 0:P.editingBadge,children:[e.jsx("span",{className:o.default.editingDot,style:null===(g=null==z?void 0:z.PartialRequirementContentStyles)||void 0===g?void 0:g.editingDot}),"Editing"]}),e.jsx("div",{className:o.default.btnDivider,style:null===(w=null==z?void 0:z.PartialRequirementContentStyles)||void 0===w?void 0:w.btnDivider}),e.jsx(r.Tooltip,{title:_?"This field cannot be empty":"Save changes",slotProps:{tooltip:{sx:{...null===(B=null==z?void 0:z.PartialRequirementContentStyles)||void 0===B?void 0:B.headerTooltip}}},children:e.jsx("span",{children:e.jsx("button",{className:o.default.saveBtn,style:{...null===(N=null==z?void 0:z.PartialRequirementContentStyles)||void 0===N?void 0:N.actionBtn,...null===(b=null==z?void 0:z.PartialRequirementContentStyles)||void 0===b?void 0:b.saveBtn,opacity:_?.5:1,cursor:_?"not-allowed":"pointer"},onClick:()=>{_||(v(e=>{const t={...e[0],value:l.postprocessUserStoryAfterEdit(F)};return null==c||c("accept",[t]),[t]}),W(!1))},disabled:_,children:e.jsx(i.Save,{size:16})})})}),e.jsx("button",{className:o.default.cancelBtn,style:{...null===(A=null==z?void 0:z.PartialRequirementContentStyles)||void 0===A?void 0:A.actionBtn,...null===(E=null==z?void 0:z.PartialRequirementContentStyles)||void 0===E?void 0:E.cancelBtn},onClick:()=>{var e;M(null===(e=null==u?void 0:u[0])||void 0===e?void 0:e.value),W(!1)},title:"Discard changes","aria-label":"Discard changes",children:e.jsx(i.X,{size:16})})]}):e.jsx(r.Tooltip,{title:m?"Editing is disabled":"Edit",slotProps:{tooltip:{sx:{...null===(j=null==z?void 0:z.PartialRequirementContentStyles)||void 0===j?void 0:j.headerTooltip}}},children:e.jsx("span",{children:e.jsx("button",{className:o.default.editBtn,style:{...null===(x=null==z?void 0:z.PartialRequirementContentStyles)||void 0===x?void 0:x.actionBtn,...null===(R=null==z?void 0:z.PartialRequirementContentStyles)||void 0===R?void 0:R.editBtn,opacity:m?.5:1,cursor:m?"not-allowed":"pointer"},onClick:()=>{m||W(!0)},disabled:m,"aria-label":"Edit requirement",children:e.jsx(i.Pencil,{size:16})})})})}),I?e.jsx("div",{className:o.default.editorContainer,style:null===(D=null==z?void 0:z.PartialRequirementContentStyles)||void 0===D?void 0:D.editorContainer,children:e.jsx(s.default,{minHeight:"100%",height:"100%",type:"string",value:l.preprocessUserStoryForEdit(l.formatMarkdown((null===(k=null==u?void 0:u[0])||void 0===k?void 0:k.value)||"")||""),handleUpdateState:(e,t)=>{M(t)},doNotShowBorderInViewMode:!1,mode:"edit"})}):e.jsx("div",{className:o.default.viewContainer,style:null===(U=null==z?void 0:z.PartialRequirementContentStyles)||void 0===U?void 0:U.viewContainer,children:e.jsx(n.default,{message:l.formatMarkdown((null===(T=null==u?void 0:u[0])||void 0===T?void 0:T.value)||""),craFlowConfig:{isCraflow:!0,craUserStory:u,setCraUserStory:v,onCraFlowDiffAgentAction:c,displayActionButtons:!I},isCraflow:y,onCraAccept:p,onCraReject:C,customStyles:null==z?void 0:z.UserStoryWithCitationCustomStyles,CDNeededInChip:f})})]})};exports.PartialRequirementContent=d,exports.default=d;
2
2
  //# sourceMappingURL=PartialRequirementContent.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("react"),s=require("lucide-react"),n=require("./CustomChatCrRedirection.module.css.js"),l=require("../ai-reasoning/AiReasoningCitationContent.js"),t=require("../../icons/CognitiveDecision.js"),a=require("@mui/material");exports.CustomChatCrRedirection=function({isDefaultOpen:o,processItemId:r,isCompleted:d,mode:c,msg:u,type:g,id:j,aiReason:v,text:p,headerText:b,decisionStrength:f,statusUi:x,panelRef:m,onHandleSend:h,onRedirectClick:O,gapType:y,isGenerating:C=!1,customStyles:D,customIcons:N,cognitiveDecisionHeaders:I}){const[S,T]=i.useState(o),R=(null==N?void 0:N.highConfidence)||e.jsx(t.default,{}),k=()=>{"cra"===c?null==h||h(`Discuss ambiguities on ${p}`,j):null==h||h(`Deep Dive into ${y} ${b}: ${p}`,j)};return e.jsxs("div",Object.assign({className:[n.default.outerWrapper,C?n.default.outerWrapperDisabled:""].join(" "),style:Object.assign(Object.assign({},null==D?void 0:D.redirectionOuterWrapper),C?null==D?void 0:D.redirectionOuterWrapperDisabled:{})},{children:[e.jsxs("div",Object.assign({className:[n.default.card,C?n.default.cardDisabled:n.default.cardInteractive].join(" "),style:Object.assign(Object.assign({},null==D?void 0:D.redirectionCard),C?null==D?void 0:D.redirectionCardDisabled:null==D?void 0:D.redirectionCardInteractive)},{children:[e.jsxs("div",Object.assign({className:n.default.leftSide,style:null==D?void 0:D.redirectionLeftSide},{children:[e.jsx(a.Tooltip,Object.assign({title:b+" "+p,placement:"top",slotProps:{tooltip:{sx:Object.assign({},null==D?void 0:D.headerTooltip)}}},{children:e.jsxs("span",Object.assign({className:n.default.textBlock,style:null==D?void 0:D.redirectionTextBlock},{children:[b&&e.jsxs("span",Object.assign({className:n.default.headerText,style:null==D?void 0:D.redirectionHeaderText},{children:[b,p?" ":""]})),p]}))})),e.jsxs("span",Object.assign({onClick:e=>{e.stopPropagation(),C||T(!S)},className:[n.default.reasoningToggle,C?n.default.reasoningToggleDisabled:n.default.reasoningToggleActive].join(" "),style:Object.assign(Object.assign({},null==D?void 0:D.reasoningToggle),C?null==D?void 0:D.reasoningToggleDisabled:null==D?void 0:D.reasoningToggleActive)},{children:[R,S?e.jsx(s.ChevronUp,{className:n.default.chevronIcon,style:null==D?void 0:D.chevronIcon}):e.jsx(s.ChevronDown,{className:n.default.chevronIcon,style:null==D?void 0:D.chevronIcon})]}))]})),d?e.jsx("div",Object.assign({className:n.default.completeTickWrapper,style:null==D?void 0:D.completeTickWrapper},{children:e.jsx(s.Check,{color:(null==D?void 0:D.checkColor)||"green"})})):e.jsxs(e.Fragment,{children:["risk-gap"===c&&e.jsxs("div",Object.assign({className:n.default.rightSide,style:null==D?void 0:D.redirectionRightSide},{children:[e.jsx("button",Object.assign({disabled:C,className:[n.default.fixButton,C?n.default.fixButtonDisabled:""].join(" "),style:Object.assign(Object.assign({},null==D?void 0:D.redirectionFixButton),C?null==D?void 0:D.fixButtonDisabled:{}),onClick:e=>{e.stopPropagation(),C||k()}},{children:"Fix"})),e.jsx(s.SquareArrowOutUpRight,{onClick:C?void 0:()=>{C||null==O||O({type:g,id:j,aiReason:v,msg:u,meta:{headerText:b,decisionStrength:f,text:p}})},size:18,className:[C?n.default.redirectIconDisabled:n.default.redirectIcon].join(" "),style:Object.assign({},C?null==D?void 0:D.redirectIconDisabled:null==D?void 0:D.redirectIcon)})]})),"cra"===c&&!o&&e.jsx("div",Object.assign({className:n.default.rightSide,style:null==D?void 0:D.redirectionRightSide},{children:r===j?e.jsx("div",Object.assign({className:n.default.loaderWrapper,style:null==D?void 0:D.loaderWrapper},{children:e.jsx(s.Loader2,{size:16,className:n.default.loaderIcon,color:"grey",style:Object.assign({animation:"spin 1s linear infinite"},null==D?void 0:D.loaderIcon)})})):e.jsx("button",Object.assign({className:[n.default.clarifyButton].join(" "),style:Object.assign({color:C?"grey":""},null==D?void 0:D.redirectionClarifyButton),disabled:C,onClick:e=>{e.stopPropagation(),k()}},{children:"Clarify"}))}))]})]})),S&&e.jsx(l.default,{label:"cra"===c?"Clarify":"Select this option",aiReason:{id:"1",reason:(null==v?void 0:v.Reasoning)||"",gap:(null==v?void 0:v.Gap)||"",relevance_score:Number(null==v?void 0:v.Confidence_score),explanation:(null==v?void 0:v.explanation)||""},onSelectProceed:k,customStyles:null==D?void 0:D.aiReasoningStyles,customIcons:N,cognitiveDecisionHeaders:I})]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("react"),l=require("lucide-react"),o=require("./CustomChatCrRedirection.module.css.js"),n=require("../ai-reasoning/AiReasoningCitationContent.js"),t=require("../../icons/CognitiveDecision.js"),r=require("@mui/material");exports.CustomChatCrRedirection=function({isDefaultOpen:a,processItemId:s,isCompleted:d,mode:c,msg:u,type:v,id:p,aiReason:g,text:f,headerText:x,decisionStrength:m,statusUi:h,panelRef:j,onHandleSend:y,onRedirectClick:C,gapType:b,isGenerating:D=!1,customStyles:N,customIcons:I,cognitiveDecisionHeaders:S}){const[T,R]=i.useState(a),k=(null==I?void 0:I.highConfidence)||e.jsx(t.default,{}),q=()=>{"cra"===c?null==y||y(`Discuss ambiguities on ${f}`,p):null==y||y(`Deep Dive into ${b} ${x}: ${f}`,p)};return e.jsxs("div",{className:[o.default.outerWrapper,D?o.default.outerWrapperDisabled:""].join(" "),style:{...null==N?void 0:N.redirectionOuterWrapper,...D?null==N?void 0:N.redirectionOuterWrapperDisabled:{}},children:[e.jsxs("div",{className:[o.default.card,D?o.default.cardDisabled:o.default.cardInteractive].join(" "),style:{...null==N?void 0:N.redirectionCard,...D?null==N?void 0:N.redirectionCardDisabled:null==N?void 0:N.redirectionCardInteractive},children:[e.jsxs("div",{className:o.default.leftSide,style:null==N?void 0:N.redirectionLeftSide,children:[e.jsx(r.Tooltip,{title:x+" "+f,placement:"top",slotProps:{tooltip:{sx:{...null==N?void 0:N.headerTooltip}}},children:e.jsxs("span",{className:o.default.textBlock,style:null==N?void 0:N.redirectionTextBlock,children:[x&&e.jsxs("span",{className:o.default.headerText,style:null==N?void 0:N.redirectionHeaderText,children:[x,f?" ":""]}),f]})}),e.jsxs("span",{onClick:e=>{e.stopPropagation(),D||R(!T)},className:[o.default.reasoningToggle,D?o.default.reasoningToggleDisabled:o.default.reasoningToggleActive].join(" "),style:{...null==N?void 0:N.reasoningToggle,...D?null==N?void 0:N.reasoningToggleDisabled:null==N?void 0:N.reasoningToggleActive},children:[k,T?e.jsx(l.ChevronUp,{className:o.default.chevronIcon,style:null==N?void 0:N.chevronIcon}):e.jsx(l.ChevronDown,{className:o.default.chevronIcon,style:null==N?void 0:N.chevronIcon})]})]}),d?e.jsx("div",{className:o.default.completeTickWrapper,style:null==N?void 0:N.completeTickWrapper,children:e.jsx(l.Check,{color:(null==N?void 0:N.checkColor)||"green"})}):e.jsxs(e.Fragment,{children:["risk-gap"===c&&e.jsxs("div",{className:o.default.rightSide,style:null==N?void 0:N.redirectionRightSide,children:[e.jsx("button",{disabled:D,className:[o.default.fixButton,D?o.default.fixButtonDisabled:""].join(" "),style:{...null==N?void 0:N.redirectionFixButton,...D?null==N?void 0:N.fixButtonDisabled:{}},onClick:e=>{e.stopPropagation(),D||q()},children:"Fix"}),e.jsx(l.SquareArrowOutUpRight,{onClick:D?void 0:()=>{D||null==C||C({type:v,id:p,aiReason:g,msg:u,meta:{headerText:x,decisionStrength:m,text:f}})},size:18,className:[D?o.default.redirectIconDisabled:o.default.redirectIcon].join(" "),style:{...D?null==N?void 0:N.redirectIconDisabled:null==N?void 0:N.redirectIcon}})]}),"cra"===c&&!a&&e.jsx("div",{className:o.default.rightSide,style:null==N?void 0:N.redirectionRightSide,children:s===p?e.jsx("div",{className:o.default.loaderWrapper,style:null==N?void 0:N.loaderWrapper,children:e.jsx(l.Loader2,{size:16,className:o.default.loaderIcon,color:"grey",style:{animation:"spin 1s linear infinite",...null==N?void 0:N.loaderIcon}})}):e.jsx("button",{className:[o.default.clarifyButton].join(" "),style:{color:D?"grey":"",...null==N?void 0:N.redirectionClarifyButton},disabled:D,onClick:e=>{e.stopPropagation(),q()},children:"Clarify"})})]})]}),T&&e.jsx(n.default,{label:"cra"===c?"Clarify":"Select this option",aiReason:{id:"1",reason:(null==g?void 0:g.Reasoning)||"",gap:(null==g?void 0:g.Gap)||"",relevance_score:Number(null==g?void 0:g.Confidence_score),explanation:(null==g?void 0:g.explanation)||""},onSelectProceed:q,customStyles:null==N?void 0:N.aiReasoningStyles,customIcons:I,cognitiveDecisionHeaders:S})]})};
2
2
  //# sourceMappingURL=CustomChatCrRedirection.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),o=require("lodash"),i=require("./GapFilterContentWrapper.js"),n=require("./GapFilterItem.js"),a=require("./CustomChatCrRedirection.js"),l=require("./gapFilterSvgs.js"),c=require("./GapFilterBlock.module.css.js");require("react-markdown"),require("rehype-raw"),require("../RequirementAIWrapper/RequirementAIWrapper.js");const d=["critical","recommendation","warning"];function s(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function g(t){return r.Children.toArray(t).filter(e=>r.isValidElement(e)).filter(e=>{var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(t=>{var r,o;const i=t.props,{children:n}=i,a=e.__rest(i,["children"]),l={};Object.keys(a).forEach(e=>{e.startsWith("data-")||(l[e]=a[e])});const c=function(e){const t={};return Object.keys(e).forEach(r=>{r.startsWith("data-")&&(t[r.replace(/^data-/,"")]=e[r])}),t}(a),d=a["decision-strength"],s=a["data-is-completed"];return{text:n,headerText:a.headertext,tags:a.tags,dataAttrs:c,decisionStrength:d,attrs:l,type:"gapfilteritem"===t.type?"gapfilteritem":"crredirection",score:a.score,isCompleted:s,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(r=a.showfix)&&void 0!==r&&r,showRedirect:null!==(o=a.showredirect)&&void 0!==o&&o}})}const u={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}};exports.GapFilterBlock=({isDefaultOpen:e,processItemId:p,mode:m,node:b,children:C,type:f,supportedmodes:h="","decision-strength":y="",pendingdata:x="",isGeneratingGap:v=!1,selectedGapItemId:j="",onItemSelect:S,onHandleSend:I,onModeAction:k,msg:R,panelRef:F,getAccordionState:A,setAccordionState:B,registerGapFilterBlockCount:G,getShowGapReviewButtonType:T,customStyles:q,customIcons:w,cognitiveDecisionHeaders:O,onRedirectClick:D})=>{const N=f,E=s(y),[W,$]=r.useState(()=>{var t;const r=null!==(t=null==A?void 0:A(N))&&void 0!==t?t:"";return"true"!==e||r?r:N}),H=e=>{$(e),null==B||B(N,e)},_=g(C),z=r.useMemo(()=>_.reduce((e,t)=>{var r,o,i;const n=null!==(r=t.tags)&&void 0!==r?r:"Uncategorized",a=null!==(i=null===(o=t.dataAttrs)||void 0===o?void 0:o.categoryid)&&void 0!==i?i:"1";let l=e.find(e=>e.categoryName===n);return l||(l={categoryName:n,categoryId:a,type:t.type,items:[]},e.push(l)),l.items.push(t),e},[]),[_]),M={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:t.jsx(l.SirenIcon,{}),label:"risk-gap"===m?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:t.jsx(l.WarningIcon,{}),label:"risk-gap"===m?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:t.jsx(l.SupportIcon,{}),label:"risk-gap"===m?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:t.jsx(l.SupportIcon,{}),label:"",decisionStrength:""}},U=r.useMemo(()=>{return e=N,d.includes(e)?{labelColor:M[N].labelColor,badgeBackgroundColor:M[N].badgeBackgroundColor,badgeTextColor:M[N].badgeTextColor,label:M[N].label,decisionStrength:E||M[N].decisionStrength}:{labelColor:M.default.labelColor,badgeBackgroundColor:M.default.badgeBackgroundColor,badgeTextColor:M.default.badgeTextColor,label:o.capitalize(N),decisionStrength:E||""};var e},[N,E]);r.useEffect(()=>{null==G||G(N,_.length)},[N,_.length,G]);const L=(e,t,r={})=>{if(v)return;const o=`${z[e].categoryId}-${t}`;null==S||S(o);const i=Object.assign(Object.assign({},z[e].items[t].dataAttrs),r);null==k||k(h,i)};return T&&T(),t.jsx(i.GapFilterContentWrapper,Object.assign({mode:m,type:N,config:U,count:_.length,handleReviewClick:()=>{_.length>0&&H(N)},openAccordion:W,onAccordionChange:e=>{H(W===e?"":e)},shouldShowReviewButton:!1,pendingData:x,customStyles:q},{children:z.map((e,r)=>t.jsxs("div",Object.assign({className:c.default.categoryGroup,style:null==q?void 0:q.categoryGroup},{children:["gapfilteritem"===e.type&&"Uncategorized"!==e.categoryName&&t.jsx("p",Object.assign({className:c.default.categoryLabel,style:null==q?void 0:q.categoryLabel},{children:e.categoryName})),e.items.map((o,i)=>{var l,d,s,g;const b=o.attrs||{},C=null===(l=o.dataAttrs)||void 0===l?void 0:l["cognitive-reasoning"],f=b.id||(null===(d=o.dataAttrs)||void 0===d?void 0:d.id)||"",h="I"===f[0]?"UI_REF":"CHAT_REF",y=null===(s=null==R?void 0:R.contextAwareAgentReasoning)||void 0===s?void 0:s[C],x=o.isCompleted,S="true"===b.isDefaultOpen||"true"===b.isdefaultopen;return"gapfilteritem"===o.type?t.jsx("div",Object.assign({className:[c.default.gapFilterItemWrapper,"Uncategorized"!==e.categoryName?c.default.gapFilterItemWrapperIndented:""].join(" "),style:null==q?void 0:q.blockContainer},{children:t.jsx(n.GapFilterItem,{isDefaultOpen:S,isCompleted:x,mode:m,index:i,isSelected:j===`${e.categoryId}-${i}`,onClick:()=>L(r,i),onFixClick:()=>L(r,i,{triggerFrom:"fix"}),onRedirect:()=>L(r,i,{triggerFrom:"redirect"}),item:o,isGenerating:v,aiReason:y,panelRef:null!=F?F:{current:null},id:C,customStyles:q,customIcons:w,cognitiveDecisionHeaders:O})}),i):t.jsx("div",Object.assign({className:c.default.crRedirectionGroup,style:null==q?void 0:q.crRedirectionGroup},{children:t.jsx("div",Object.assign({className:c.default.crRedirectionInner,style:null==q?void 0:q.crRedirectionInner},{children:t.jsx(a.CustomChatCrRedirection,{isDefaultOpen:S,processItemId:p,isCompleted:x,mode:m,msg:R,type:h,text:o.text,headerText:o.headerText,decisionStrength:o.decisionStrength,id:f,gapType:N,onHandleSend:I,isGenerating:v,aiReason:y,onRedirectClick:D,statusUi:null!==(g=u[N])&&void 0!==g?g:u.recommendation,panelRef:null!=F?F:{current:null},customStyles:q,customIcons:w,cognitiveDecisionHeaders:O})}))}),i)})]}),`${e.categoryName}-${r}`))}))},exports.normalizeDecisionStrength=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("lodash"),o=require("./GapFilterContentWrapper.js"),i=require("./GapFilterItem.js"),n=require("./CustomChatCrRedirection.js"),a=require("./gapFilterSvgs.js"),l=require("./GapFilterBlock.module.css.js");require("react-markdown"),require("rehype-raw"),require("../RequirementAIWrapper/RequirementAIWrapper.js");const d=["critical","recommendation","warning"];function c(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function s(e){return t.Children.toArray(e).filter(e=>t.isValidElement(e)).filter(e=>{var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(e=>{var t,r;const{children:o,...i}=e.props,n={};Object.keys(i).forEach(e=>{e.startsWith("data-")||(n[e]=i[e])});const a=function(e){const t={};return Object.keys(e).forEach(r=>{r.startsWith("data-")&&(t[r.replace(/^data-/,"")]=e[r])}),t}(i),l=i["decision-strength"],d=i["data-is-completed"];return{text:o,headerText:i.headertext,tags:i.tags,dataAttrs:a,decisionStrength:l,attrs:n,type:"gapfilteritem"===e.type?"gapfilteritem":"crredirection",score:i.score,isCompleted:d,pendingCount:i.pendingcount,question:i.question,components:i.components,showFix:null!==(t=i.showfix)&&void 0!==t&&t,showRedirect:null!==(r=i.showredirect)&&void 0!==r&&r}})}const u={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}};exports.GapFilterBlock=({isDefaultOpen:g,processItemId:p,mode:m,node:C,children:b,type:f,supportedmodes:y="","decision-strength":h="",pendingdata:x="",isGeneratingGap:v=!1,selectedGapItemId:S="",onItemSelect:I,onHandleSend:k,onModeAction:j,msg:R,panelRef:F,getAccordionState:A,setAccordionState:B,registerGapFilterBlockCount:G,getShowGapReviewButtonType:T,customStyles:q,customIcons:w,cognitiveDecisionHeaders:D,onRedirectClick:N})=>{const E=f,W=c(h),[O,$]=t.useState(()=>{var e;const t=null!==(e=null==A?void 0:A(E))&&void 0!==e?e:"";return"true"!==g||t?t:E}),H=e=>{$(e),null==B||B(E,e)},z=s(b),M=t.useMemo(()=>z.reduce((e,t)=>{var r,o,i;const n=null!==(r=t.tags)&&void 0!==r?r:"Uncategorized",a=null!==(i=null===(o=t.dataAttrs)||void 0===o?void 0:o.categoryid)&&void 0!==i?i:"1";let l=e.find(e=>e.categoryName===n);return l||(l={categoryName:n,categoryId:a,type:t.type,items:[]},e.push(l)),l.items.push(t),e},[]),[z]),U={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:e.jsx(a.SirenIcon,{}),label:"risk-gap"===m?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:e.jsx(a.WarningIcon,{}),label:"risk-gap"===m?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:e.jsx(a.SupportIcon,{}),label:"risk-gap"===m?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:e.jsx(a.SupportIcon,{}),label:"",decisionStrength:""}},_=t.useMemo(()=>{return e=E,d.includes(e)?{labelColor:U[E].labelColor,badgeBackgroundColor:U[E].badgeBackgroundColor,badgeTextColor:U[E].badgeTextColor,label:U[E].label,decisionStrength:W||U[E].decisionStrength}:{labelColor:U.default.labelColor,badgeBackgroundColor:U.default.badgeBackgroundColor,badgeTextColor:U.default.badgeTextColor,label:r.capitalize(E),decisionStrength:W||""};var e},[E,W]);t.useEffect(()=>{null==G||G(E,z.length)},[E,z.length,G]);const L=(e,t,r={})=>{if(v)return;const o=`${M[e].categoryId}-${t}`;null==I||I(o);const i={...M[e].items[t].dataAttrs,...r};null==j||j(y,i)};return T&&T(),e.jsx(o.GapFilterContentWrapper,{mode:m,type:E,config:_,count:z.length,handleReviewClick:()=>{z.length>0&&H(E)},openAccordion:O,onAccordionChange:e=>{H(O===e?"":e)},shouldShowReviewButton:!1,pendingData:x,customStyles:q,children:M.map((t,r)=>e.jsxs("div",{className:l.default.categoryGroup,style:null==q?void 0:q.categoryGroup,children:["gapfilteritem"===t.type&&"Uncategorized"!==t.categoryName&&e.jsx("p",{className:l.default.categoryLabel,style:null==q?void 0:q.categoryLabel,children:t.categoryName}),t.items.map((o,a)=>{var d,c,s,g;const C=o.attrs||{},b=null===(d=o.dataAttrs)||void 0===d?void 0:d["cognitive-reasoning"],f=C.id||(null===(c=o.dataAttrs)||void 0===c?void 0:c.id)||"",y="I"===f[0]?"UI_REF":"CHAT_REF",h=null===(s=null==R?void 0:R.contextAwareAgentReasoning)||void 0===s?void 0:s[b],x=o.isCompleted,I="true"===C.isDefaultOpen||"true"===C.isdefaultopen;return"gapfilteritem"===o.type?e.jsx("div",{className:[l.default.gapFilterItemWrapper,"Uncategorized"!==t.categoryName?l.default.gapFilterItemWrapperIndented:""].join(" "),style:null==q?void 0:q.blockContainer,children:e.jsx(i.GapFilterItem,{isDefaultOpen:I,isCompleted:x,mode:m,index:a,isSelected:S===`${t.categoryId}-${a}`,onClick:()=>L(r,a),onFixClick:()=>L(r,a,{triggerFrom:"fix"}),onRedirect:()=>L(r,a,{triggerFrom:"redirect"}),item:o,isGenerating:v,aiReason:h,panelRef:null!=F?F:{current:null},id:b,customStyles:q,customIcons:w,cognitiveDecisionHeaders:D})},a):e.jsx("div",{className:l.default.crRedirectionGroup,style:null==q?void 0:q.crRedirectionGroup,children:e.jsx("div",{className:l.default.crRedirectionInner,style:null==q?void 0:q.crRedirectionInner,children:e.jsx(n.CustomChatCrRedirection,{isDefaultOpen:I,processItemId:p,isCompleted:x,mode:m,msg:R,type:y,text:o.text,headerText:o.headerText,decisionStrength:o.decisionStrength,id:f,gapType:E,onHandleSend:k,isGenerating:v,aiReason:h,onRedirectClick:N,statusUi:null!==(g=u[E])&&void 0!==g?g:u.recommendation,panelRef:null!=F?F:{current:null},customStyles:q,customIcons:w,cognitiveDecisionHeaders:D})})},a)})]},`${t.categoryName}-${r}`))})},exports.normalizeDecisionStrength=c;
2
2
  //# sourceMappingURL=GapFilterBlock.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),n=require("../../shared/Accordian.js"),i=require("lucide-react"),r=require("./GapFilterContentWrapper.module.css.js");exports.GapFilterContentWrapper=({mode:t,type:l,config:s,count:a,openAccordion:c,children:o,shouldShowReviewButton:d=!1,onAccordionChange:g,handleReviewClick:u,pendingData:h,customStyles:j})=>{const m=()=>{switch(l){case"critical":return null==j?void 0:j.triggerLabelCritical;case"warning":return null==j?void 0:j.triggerLabelWarning;case"recommendation":return null==j?void 0:j.triggerLabelRecommendation;default:return{}}};return e.jsx(n.Accordion,Object.assign({type:"single",collapsible:!0,className:r.default.accordion,value:c,onValueChange:e=>g(e),style:null==j?void 0:j.accordion},{children:e.jsxs(n.AccordionItem,Object.assign({value:l,className:r.default.accordionItem,style:null==j?void 0:j.accordionItem},{children:[e.jsx(n.AccordionTrigger,Object.assign({chevronPosition:"end",className:r.default.accordionTrigger,hideChevron:d,style:null==j?void 0:j.accordionTrigger},{children:e.jsxs("div",Object.assign({className:r.default.triggerInner,style:null==j?void 0:j.triggerInner},{children:[e.jsxs("div",Object.assign({className:r.default.triggerLeft,style:null==j?void 0:j.triggerLeft},{children:[e.jsxs("p",Object.assign({className:r.default.triggerLabel,style:Object.assign({color:s.labelColor},m())},{children:[s.label,e.jsxs("span",Object.assign({className:r.default.triggerLabelCount,style:m()},{children:["(",a,")"]}))]})),h.length>0&&e.jsxs("span",Object.assign({className:r.default.triggerPending,style:null==j?void 0:j.triggerPending},{children:["(",h,")"]}))]})),"risk-gap"===t&&e.jsx("div",Object.assign({className:r.default.triggerRight,style:null==j?void 0:j.triggerRight},{children:e.jsxs("p",Object.assign({className:r.default.decisionStrengthBadge,style:Object.assign({backgroundColor:s.badgeBackgroundColor,color:s.badgeTextColor},(()=>{switch(l){case"critical":return null==j?void 0:j.decisionStrengthBadgeCritical;case"warning":return null==j?void 0:j.decisionStrengthBadgeWarning;case"recommendation":return null==j?void 0:j.decisionStrengthBadgeRecommendation;default:return{}}})())},{children:[e.jsx(i.Sparkles,{className:r.default.decisionStrengthIcon,style:null==j?void 0:j.decisionStrengthIcon}),s.decisionStrength]}))}))]}))})),e.jsx(n.AccordionContent,Object.assign({className:r.default.accordionContent,style:null==j?void 0:j.accordionContent},{children:e.jsx("div",Object.assign({className:r.default.accordionContentInner,style:null==j?void 0:j.accordionContentInner},{children:o}))}))]}))}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),n=require("../../shared/Accordian.js"),r=require("lucide-react"),l=require("./GapFilterContentWrapper.module.css.js");exports.GapFilterContentWrapper=({mode:i,type:t,config:o,count:a,openAccordion:c,children:d,shouldShowReviewButton:s=!1,onAccordionChange:g,handleReviewClick:u,pendingData:h,customStyles:m})=>{const v=()=>{switch(t){case"critical":return null==m?void 0:m.triggerLabelCritical;case"warning":return null==m?void 0:m.triggerLabelWarning;case"recommendation":return null==m?void 0:m.triggerLabelRecommendation;default:return{}}};return e.jsx(n.Accordion,{type:"single",collapsible:!0,className:l.default.accordion,value:c,onValueChange:e=>g(e),style:null==m?void 0:m.accordion,children:e.jsxs(n.AccordionItem,{value:t,className:l.default.accordionItem,style:null==m?void 0:m.accordionItem,children:[e.jsx(n.AccordionTrigger,{chevronPosition:"end",className:l.default.accordionTrigger,hideChevron:s,style:null==m?void 0:m.accordionTrigger,children:e.jsxs("div",{className:l.default.triggerInner,style:null==m?void 0:m.triggerInner,children:[e.jsxs("div",{className:l.default.triggerLeft,style:null==m?void 0:m.triggerLeft,children:[e.jsxs("p",{className:l.default.triggerLabel,style:{color:o.labelColor,...v()},children:[o.label,e.jsxs("span",{className:l.default.triggerLabelCount,style:v(),children:["(",a,")"]})]}),h.length>0&&e.jsxs("span",{className:l.default.triggerPending,style:null==m?void 0:m.triggerPending,children:["(",h,")"]})]}),"risk-gap"===i&&e.jsx("div",{className:l.default.triggerRight,style:null==m?void 0:m.triggerRight,children:e.jsxs("p",{className:l.default.decisionStrengthBadge,style:{backgroundColor:o.badgeBackgroundColor,color:o.badgeTextColor,...(()=>{switch(t){case"critical":return null==m?void 0:m.decisionStrengthBadgeCritical;case"warning":return null==m?void 0:m.decisionStrengthBadgeWarning;case"recommendation":return null==m?void 0:m.decisionStrengthBadgeRecommendation;default:return{}}})()},children:[e.jsx(r.Sparkles,{className:l.default.decisionStrengthIcon,style:null==m?void 0:m.decisionStrengthIcon}),o.decisionStrength]})})]})}),e.jsx(n.AccordionContent,{className:l.default.accordionContent,style:null==m?void 0:m.accordionContent,children:e.jsx("div",{className:l.default.accordionContentInner,style:null==m?void 0:m.accordionContentInner,children:d})})]})})};
2
2
  //# sourceMappingURL=GapFilterContentWrapper.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("lucide-react"),t=require("react"),o=require("@mui/material"),i=require("./GapFilterItem.module.css.js"),l=require("../ai-reasoning/AiReasoningCitationContent.js"),a=require("../../icons/CognitiveDecision.js");const n=e=>e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:i.default.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:i.default.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:i.default.scoreBadgeLow};exports.GapFilterItem=({isDefaultOpen:c,isCompleted:d,mode:r,index:u,isSelected:m,onClick:g,item:j,onFixClick:p,onRedirect:f,aiReason:v,panelRef:x,id:b,isGenerating:h=!1,customStyles:O,customIcons:C,cognitiveDecisionHeaders:N})=>{const[y,R]=t.useState(c),S=(null==C?void 0:C.highConfidence)||e.jsx(a.default,{});t.useMemo(()=>j.components?j.components.split("||"):[],[j.components]);const T=t.useMemo(()=>j.score&&isNaN(parseInt(j.score))?0:j.score?parseInt(j.score):0,[j.score]),w=n(T);return e.jsx("div",Object.assign({className:i.default.outerWrapper,onClick:g,style:null==O?void 0:O.itemOuterWrapper},{children:e.jsxs("div",Object.assign({className:i.default.innerCard,style:null==O?void 0:O.itemInnerCard},{children:[e.jsxs("div",Object.assign({className:i.default.contentBlock,style:null==O?void 0:O.contentBlock},{children:[e.jsxs("div",Object.assign({className:i.default.topRow,style:null==O?void 0:O.itemTopRow},{children:[e.jsx("div",Object.assign({className:[i.default.questionText,m?i.default.questionTextSelected:i.default.questionTextDefault].join(" "),style:Object.assign(Object.assign({},null==O?void 0:O.itemQuestionText),m?null==O?void 0:O.itemQuestionTextSelected:null==O?void 0:O.itemQuestionTextDefault)},{children:e.jsx(o.Tooltip,Object.assign({title:j.question||"",placement:"top"},{children:e.jsx("span",{className:i.default.questionSpan,style:null==O?void 0:O.itemQuestionSpan})}))})),e.jsxs("div",Object.assign({className:i.default.actionsRow,style:null==O?void 0:O.itemActionsRow},{children:[T>0&&e.jsx("div",Object.assign({className:[i.default.scoreBadge,w.className].join(" "),style:Object.assign(Object.assign(Object.assign(Object.assign({},null==O?void 0:O.itemScoreBadge),T>90?null==O?void 0:O.itemScoreBadgeHigh:{}),T>=70&&T<=90?null==O?void 0:O.itemScoreBadgeMedium:{}),T<70?null==O?void 0:O.itemScoreBadgeLow:{})},{children:`${T}%`})),j.showFix&&e.jsx("button",Object.assign({className:i.default.fixButton,onClick:e=>{e.stopPropagation(),p()},style:null==O?void 0:O.itemFixButton},{children:"Fix"})),j.showRedirect&&e.jsx(s.SquareArrowOutUpRight,{color:"#3b82f6",size:14,className:i.default.redirectIcon,onClick:e=>{e.stopPropagation(),f()},style:null==O?void 0:O.itemRedirectIcon})]}))]})),e.jsxs("div",Object.assign({className:[i.default.bottomRow,m?i.default.bottomRowSelected:i.default.bottomRowDefault].join(" "),style:m?Object.assign(Object.assign({},null==O?void 0:O.itemBottomRow),null==O?void 0:O.bottomRowSelected):Object.assign(Object.assign({},null==O?void 0:O.itemBottomRow),null==O?void 0:O.bottomRowDefault)},{children:[e.jsxs("span",Object.assign({className:i.default.gapTextSpan,style:null==O?void 0:O.itemGapText},{children:[(null==j?void 0:j.headerText)?e.jsx("span",Object.assign({className:i.default.gapHeaderText,style:null==O?void 0:O.itemGapHeaderText},{children:j.headerText})):e.jsxs("span",Object.assign({className:i.default.gapHeaderText,style:null==O?void 0:O.itemGapHeaderText},{children:["Gap ",u+1,"."]}))," ",j.text]})),b&&e.jsxs("span",Object.assign({onClick:e=>{e.stopPropagation(),h||R(!y)},className:[i.default.reasoningToggle,h?i.default.reasoningToggleDisabled:i.default.reasoningToggleActive].join(" "),style:null==O?void 0:O.itemReasoningToggle},{children:[S,y?e.jsx(s.ChevronUp,{className:i.default.chevronIcon,style:null==O?void 0:O.chevronIcon}):e.jsx(s.ChevronDown,{className:i.default.chevronIcon,style:null==O?void 0:O.chevronIcon})]}))]}))]})),y&&e.jsx(l.default,{label:"cra"===r?"Clarify":"Select this option",aiReason:{id:"1",reason:v.Reasoning||"",gap:v.Gap||"",relevance_score:Number(v.Confidence_score),explanation:v.explanation||""},onSelectProceed:p,customStyles:null==O?void 0:O.aiReasoningStyles,customIcons:C,cognitiveDecisionHeaders:N})]}))}))},exports.getScoreColorStyles=n;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("lucide-react"),t=require("react"),l=require("@mui/material"),s=require("./GapFilterItem.module.css.js"),i=require("../ai-reasoning/AiReasoningCitationContent.js"),a=require("../../icons/CognitiveDecision.js");const n=e=>e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:s.default.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:s.default.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:s.default.scoreBadgeLow};exports.GapFilterItem=({isDefaultOpen:d,isCompleted:r,mode:c,index:u,isSelected:m,onClick:p,item:f,onFixClick:v,onRedirect:x,aiReason:g,panelRef:h,id:j,isGenerating:C=!1,customStyles:N,customIcons:y,cognitiveDecisionHeaders:R})=>{const[S,T]=t.useState(d),b=(null==y?void 0:y.highConfidence)||e.jsx(a.default,{});t.useMemo(()=>f.components?f.components.split("||"):[],[f.components]);const w=t.useMemo(()=>f.score&&isNaN(parseInt(f.score))?0:f.score?parseInt(f.score):0,[f.score]),B=n(w);return e.jsx("div",{className:s.default.outerWrapper,onClick:p,style:null==N?void 0:N.itemOuterWrapper,children:e.jsxs("div",{className:s.default.innerCard,style:null==N?void 0:N.itemInnerCard,children:[e.jsxs("div",{className:s.default.contentBlock,style:null==N?void 0:N.contentBlock,children:[e.jsxs("div",{className:s.default.topRow,style:null==N?void 0:N.itemTopRow,children:[e.jsx("div",{className:[s.default.questionText,m?s.default.questionTextSelected:s.default.questionTextDefault].join(" "),style:{...null==N?void 0:N.itemQuestionText,...m?null==N?void 0:N.itemQuestionTextSelected:null==N?void 0:N.itemQuestionTextDefault},children:e.jsx(l.Tooltip,{title:f.question||"",placement:"top",children:e.jsx("span",{className:s.default.questionSpan,style:null==N?void 0:N.itemQuestionSpan})})}),e.jsxs("div",{className:s.default.actionsRow,style:null==N?void 0:N.itemActionsRow,children:[w>0&&e.jsx("div",{className:[s.default.scoreBadge,B.className].join(" "),style:{...null==N?void 0:N.itemScoreBadge,...w>90?null==N?void 0:N.itemScoreBadgeHigh:{},...w>=70&&w<=90?null==N?void 0:N.itemScoreBadgeMedium:{},...w<70?null==N?void 0:N.itemScoreBadgeLow:{}},children:`${w}%`}),f.showFix&&e.jsx("button",{className:s.default.fixButton,onClick:e=>{e.stopPropagation(),v()},style:null==N?void 0:N.itemFixButton,children:"Fix"}),f.showRedirect&&e.jsx(o.SquareArrowOutUpRight,{color:"#3b82f6",size:14,className:s.default.redirectIcon,onClick:e=>{e.stopPropagation(),x()},style:null==N?void 0:N.itemRedirectIcon})]})]}),e.jsxs("div",{className:[s.default.bottomRow,m?s.default.bottomRowSelected:s.default.bottomRowDefault].join(" "),style:m?{...null==N?void 0:N.itemBottomRow,...null==N?void 0:N.bottomRowSelected}:{...null==N?void 0:N.itemBottomRow,...null==N?void 0:N.bottomRowDefault},children:[e.jsxs("span",{className:s.default.gapTextSpan,style:null==N?void 0:N.itemGapText,children:[(null==f?void 0:f.headerText)?e.jsx("span",{className:s.default.gapHeaderText,style:null==N?void 0:N.itemGapHeaderText,children:f.headerText}):e.jsxs("span",{className:s.default.gapHeaderText,style:null==N?void 0:N.itemGapHeaderText,children:["Gap ",u+1,"."]})," ",f.text]}),j&&e.jsxs("span",{onClick:e=>{e.stopPropagation(),C||T(!S)},className:[s.default.reasoningToggle,C?s.default.reasoningToggleDisabled:s.default.reasoningToggleActive].join(" "),style:null==N?void 0:N.itemReasoningToggle,children:[b,S?e.jsx(o.ChevronUp,{className:s.default.chevronIcon,style:null==N?void 0:N.chevronIcon}):e.jsx(o.ChevronDown,{className:s.default.chevronIcon,style:null==N?void 0:N.chevronIcon})]})]})]}),S&&e.jsx(i.default,{label:"cra"===c?"Clarify":"Select this option",aiReason:{id:"1",reason:g.Reasoning||"",gap:g.Gap||"",relevance_score:Number(g.Confidence_score),explanation:g.explanation||""},onSelectProceed:v,customStyles:null==N?void 0:N.aiReasoningStyles,customIcons:y,cognitiveDecisionHeaders:R})]})})},exports.getScoreColorStyles=n;
2
2
  //# sourceMappingURL=GapFilterItem.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("react/jsx-runtime");exports.SirenIcon=({width:C=12,height:e=12})=>i.jsx("div",{children:i.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:C,height:e,viewBox:"0 0 12 12",fill:"none"},{children:[i.jsx("g",Object.assign({"clip-path":"url(#clip0_1100_58099)"},{children:i.jsx("path",{d:"M1.7278 9.80469C1.7278 10.0417 1.91932 10.2333 2.15638 10.2333H9.84388C10.0809 10.2333 10.2724 10.0417 10.2724 9.80469V6.68415C10.2724 4.32433 8.35995 2.41183 6.00013 2.41183C3.64031 2.41183 1.7278 4.32433 1.7278 6.68415V9.80469ZM2.69209 6.68415C2.69209 4.85737 4.17334 3.37612 6.00013 3.37612C7.82691 3.37612 9.30816 4.85737 9.30816 6.68415V9.26897H4.5537V6.97879C4.5537 6.90513 4.49343 6.84487 4.41977 6.84487H3.83048C3.75682 6.84487 3.69655 6.90513 3.69655 6.97879V9.26897H2.69209V6.68415ZM2.04789 3.30246L2.57825 2.7721C2.61977 2.73058 2.61977 2.66228 2.57825 2.62076L1.66888 1.71138C1.64874 1.69144 1.62155 1.68026 1.59321 1.68026C1.56487 1.68026 1.53767 1.69144 1.51754 1.71138L0.98718 2.24174C0.96724 2.26188 0.956055 2.28907 0.956055 2.31741C0.956055 2.34575 0.96724 2.37294 0.98718 2.39308L1.89655 3.30246C1.93807 3.34397 2.00504 3.34397 2.04789 3.30246ZM11.0158 2.24174L10.4854 1.71138C10.4653 1.69144 10.4381 1.68026 10.4097 1.68026C10.3814 1.68026 10.3542 1.69144 10.3341 1.71138L9.42468 2.62076C9.40474 2.6409 9.39355 2.66809 9.39355 2.69643C9.39355 2.72477 9.40474 2.75196 9.42468 2.7721L9.95504 3.30246C9.99656 3.34397 10.0649 3.34397 10.1064 3.30246L11.0158 2.39308C11.0573 2.35022 11.0573 2.28326 11.0158 2.24174ZM10.2858 11.0904H1.71441C1.47736 11.0904 1.28584 11.2819 1.28584 11.519V11.8404C1.28584 11.8993 1.33405 11.9475 1.39298 11.9475H10.6073C10.6662 11.9475 10.7144 11.8993 10.7144 11.8404V11.519C10.7144 11.2819 10.5229 11.0904 10.2858 11.0904ZM5.62513 1.55469H6.37513C6.43405 1.55469 6.48227 1.50647 6.48227 1.44754V0.16183C6.48227 0.102902 6.43405 0.0546875 6.37513 0.0546875H5.62513C5.5662 0.0546875 5.51798 0.102902 5.51798 0.16183V1.44754C5.51798 1.50647 5.5662 1.55469 5.62513 1.55469Z",fill:"#B91C1C"})})),i.jsx("defs",{children:i.jsx("clipPath",Object.assign({id:"clip0_1100_58099"},{children:i.jsx("rect",{width:"12",height:"12",fill:"white"})}))})]}))}),exports.SupportIcon=({width:C=12,height:e=12})=>i.jsx("div",{children:i.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:C,height:e,viewBox:"0 0 12 12",fill:"none"},{children:i.jsx("path",{d:"M2.57129 9.58112H3.87643C4.0466 9.58112 4.21573 9.60137 4.38069 9.64187L5.75973 9.97698C6.05896 10.0499 6.37068 10.057 6.67302 9.99825L8.19778 9.7016C8.60056 9.62314 8.97108 9.43027 9.26146 9.1478L10.3402 8.0984C10.6483 7.79922 10.6483 7.31376 10.3402 7.01408C10.0629 6.74426 9.62365 6.71389 9.30985 6.9427L8.05259 7.85997C7.87253 7.99159 7.65344 8.06246 7.42811 8.06246H6.21404L6.98682 8.06243C7.42239 8.06243 7.77522 7.71921 7.77522 7.2955V7.14212C7.77522 6.79029 7.52907 6.48352 7.17833 6.39848L5.98559 6.10842C5.79148 6.06134 5.59269 6.03754 5.39286 6.03754C4.91045 6.03754 4.03724 6.43695 4.03724 6.43695L2.57129 7.04999M0.571289 6.83754L0.571289 9.73754C0.571289 10.0176 0.571289 10.1576 0.625786 10.2645C0.673722 10.3586 0.750213 10.4351 0.844294 10.483C0.951249 10.5375 1.09126 10.5375 1.37129 10.5375H1.77129C2.05131 10.5375 2.19133 10.5375 2.29828 10.483C2.39237 10.4351 2.46886 10.3586 2.51679 10.2645C2.57129 10.1576 2.57129 10.0176 2.57129 9.73754V6.83754C2.57129 6.55752 2.57129 6.41751 2.51679 6.31055C2.46886 6.21647 2.39237 6.13998 2.29828 6.09204C2.19133 6.03755 2.05132 6.03754 1.77129 6.03754H1.37129C1.09126 6.03754 0.95125 6.03754 0.844294 6.09204C0.750213 6.13998 0.673723 6.21647 0.625786 6.31055C0.571289 6.4175 0.571289 6.55752 0.571289 6.83754ZM8.16697 1.33367C7.86857 0.709244 7.18058 0.378438 6.51151 0.697732C5.84243 1.01703 5.55739 1.77424 5.83752 2.43896C6.01064 2.84977 6.50666 3.64755 6.86033 4.19706C6.99101 4.4001 7.05635 4.50162 7.15179 4.56101C7.23364 4.61195 7.33612 4.63941 7.43248 4.63622C7.54483 4.63251 7.65217 4.57726 7.86686 4.46676C8.44791 4.1677 9.27636 3.72482 9.6317 3.45561C10.2067 3.02 10.3491 2.21933 9.91862 1.61067C9.48816 1.002 8.73762 0.942105 8.16697 1.33367Z",stroke:"#15803D","stroke-width":"1.14286","stroke-linecap":"round","stroke-linejoin":"round"})}))}),exports.WarningIcon=({width:C=12,height:e=12})=>i.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:C,height:e,viewBox:"0 0 12 12",fill:"none"},{children:[i.jsx("g",Object.assign({"clip-path":"url(#clip0_1100_58115)"},{children:i.jsx("path",{d:"M5.99988 4.49816V6.49816M5.99988 8.49816H6.00488M5.30754 1.94402L1.19509 9.04733C0.966991 9.44133 0.85294 9.63833 0.869797 9.80001C0.884499 9.94103 0.958384 10.0692 1.07306 10.1526C1.20454 10.2482 1.43217 10.2482 1.88744 10.2482H10.1123C10.5676 10.2482 10.7952 10.2482 10.9267 10.1526C11.0414 10.0692 11.1153 9.94103 11.13 9.80001C11.1468 9.63833 11.0328 9.44133 10.8047 9.04733L6.69222 1.94402C6.46493 1.55144 6.35129 1.35515 6.20303 1.28922C6.0737 1.23172 5.92606 1.23172 5.79673 1.28922C5.64846 1.35515 5.53482 1.55144 5.30754 1.94402Z",stroke:"#A16207","stroke-width":"1.14286","stroke-linecap":"round","stroke-linejoin":"round"})})),i.jsx("defs",{children:i.jsx("clipPath",Object.assign({id:"clip0_1100_58115"},{children:i.jsx("rect",{width:"12",height:"12",fill:"white"})}))})]}));
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var C=require("react/jsx-runtime");exports.SirenIcon=({width:i=12,height:e=12})=>C.jsx("div",{children:C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:e,viewBox:"0 0 12 12",fill:"none",children:[C.jsx("g",{"clip-path":"url(#clip0_1100_58099)",children:C.jsx("path",{d:"M1.7278 9.80469C1.7278 10.0417 1.91932 10.2333 2.15638 10.2333H9.84388C10.0809 10.2333 10.2724 10.0417 10.2724 9.80469V6.68415C10.2724 4.32433 8.35995 2.41183 6.00013 2.41183C3.64031 2.41183 1.7278 4.32433 1.7278 6.68415V9.80469ZM2.69209 6.68415C2.69209 4.85737 4.17334 3.37612 6.00013 3.37612C7.82691 3.37612 9.30816 4.85737 9.30816 6.68415V9.26897H4.5537V6.97879C4.5537 6.90513 4.49343 6.84487 4.41977 6.84487H3.83048C3.75682 6.84487 3.69655 6.90513 3.69655 6.97879V9.26897H2.69209V6.68415ZM2.04789 3.30246L2.57825 2.7721C2.61977 2.73058 2.61977 2.66228 2.57825 2.62076L1.66888 1.71138C1.64874 1.69144 1.62155 1.68026 1.59321 1.68026C1.56487 1.68026 1.53767 1.69144 1.51754 1.71138L0.98718 2.24174C0.96724 2.26188 0.956055 2.28907 0.956055 2.31741C0.956055 2.34575 0.96724 2.37294 0.98718 2.39308L1.89655 3.30246C1.93807 3.34397 2.00504 3.34397 2.04789 3.30246ZM11.0158 2.24174L10.4854 1.71138C10.4653 1.69144 10.4381 1.68026 10.4097 1.68026C10.3814 1.68026 10.3542 1.69144 10.3341 1.71138L9.42468 2.62076C9.40474 2.6409 9.39355 2.66809 9.39355 2.69643C9.39355 2.72477 9.40474 2.75196 9.42468 2.7721L9.95504 3.30246C9.99656 3.34397 10.0649 3.34397 10.1064 3.30246L11.0158 2.39308C11.0573 2.35022 11.0573 2.28326 11.0158 2.24174ZM10.2858 11.0904H1.71441C1.47736 11.0904 1.28584 11.2819 1.28584 11.519V11.8404C1.28584 11.8993 1.33405 11.9475 1.39298 11.9475H10.6073C10.6662 11.9475 10.7144 11.8993 10.7144 11.8404V11.519C10.7144 11.2819 10.5229 11.0904 10.2858 11.0904ZM5.62513 1.55469H6.37513C6.43405 1.55469 6.48227 1.50647 6.48227 1.44754V0.16183C6.48227 0.102902 6.43405 0.0546875 6.37513 0.0546875H5.62513C5.5662 0.0546875 5.51798 0.102902 5.51798 0.16183V1.44754C5.51798 1.50647 5.5662 1.55469 5.62513 1.55469Z",fill:"#B91C1C"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_1100_58099",children:C.jsx("rect",{width:"12",height:"12",fill:"white"})})})]})}),exports.SupportIcon=({width:i=12,height:e=12})=>C.jsx("div",{children:C.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:e,viewBox:"0 0 12 12",fill:"none",children:C.jsx("path",{d:"M2.57129 9.58112H3.87643C4.0466 9.58112 4.21573 9.60137 4.38069 9.64187L5.75973 9.97698C6.05896 10.0499 6.37068 10.057 6.67302 9.99825L8.19778 9.7016C8.60056 9.62314 8.97108 9.43027 9.26146 9.1478L10.3402 8.0984C10.6483 7.79922 10.6483 7.31376 10.3402 7.01408C10.0629 6.74426 9.62365 6.71389 9.30985 6.9427L8.05259 7.85997C7.87253 7.99159 7.65344 8.06246 7.42811 8.06246H6.21404L6.98682 8.06243C7.42239 8.06243 7.77522 7.71921 7.77522 7.2955V7.14212C7.77522 6.79029 7.52907 6.48352 7.17833 6.39848L5.98559 6.10842C5.79148 6.06134 5.59269 6.03754 5.39286 6.03754C4.91045 6.03754 4.03724 6.43695 4.03724 6.43695L2.57129 7.04999M0.571289 6.83754L0.571289 9.73754C0.571289 10.0176 0.571289 10.1576 0.625786 10.2645C0.673722 10.3586 0.750213 10.4351 0.844294 10.483C0.951249 10.5375 1.09126 10.5375 1.37129 10.5375H1.77129C2.05131 10.5375 2.19133 10.5375 2.29828 10.483C2.39237 10.4351 2.46886 10.3586 2.51679 10.2645C2.57129 10.1576 2.57129 10.0176 2.57129 9.73754V6.83754C2.57129 6.55752 2.57129 6.41751 2.51679 6.31055C2.46886 6.21647 2.39237 6.13998 2.29828 6.09204C2.19133 6.03755 2.05132 6.03754 1.77129 6.03754H1.37129C1.09126 6.03754 0.95125 6.03754 0.844294 6.09204C0.750213 6.13998 0.673723 6.21647 0.625786 6.31055C0.571289 6.4175 0.571289 6.55752 0.571289 6.83754ZM8.16697 1.33367C7.86857 0.709244 7.18058 0.378438 6.51151 0.697732C5.84243 1.01703 5.55739 1.77424 5.83752 2.43896C6.01064 2.84977 6.50666 3.64755 6.86033 4.19706C6.99101 4.4001 7.05635 4.50162 7.15179 4.56101C7.23364 4.61195 7.33612 4.63941 7.43248 4.63622C7.54483 4.63251 7.65217 4.57726 7.86686 4.46676C8.44791 4.1677 9.27636 3.72482 9.6317 3.45561C10.2067 3.02 10.3491 2.21933 9.91862 1.61067C9.48816 1.002 8.73762 0.942105 8.16697 1.33367Z",stroke:"#15803D","stroke-width":"1.14286","stroke-linecap":"round","stroke-linejoin":"round"})})}),exports.WarningIcon=({width:i=12,height:e=12})=>C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:e,viewBox:"0 0 12 12",fill:"none",children:[C.jsx("g",{"clip-path":"url(#clip0_1100_58115)",children:C.jsx("path",{d:"M5.99988 4.49816V6.49816M5.99988 8.49816H6.00488M5.30754 1.94402L1.19509 9.04733C0.966991 9.44133 0.85294 9.63833 0.869797 9.80001C0.884499 9.94103 0.958384 10.0692 1.07306 10.1526C1.20454 10.2482 1.43217 10.2482 1.88744 10.2482H10.1123C10.5676 10.2482 10.7952 10.2482 10.9267 10.1526C11.0414 10.0692 11.1153 9.94103 11.13 9.80001C11.1468 9.63833 11.0328 9.44133 10.8047 9.04733L6.69222 1.94402C6.46493 1.55144 6.35129 1.35515 6.20303 1.28922C6.0737 1.23172 5.92606 1.23172 5.79673 1.28922C5.64846 1.35515 5.53482 1.55144 5.30754 1.94402Z",stroke:"#A16207","stroke-width":"1.14286","stroke-linecap":"round","stroke-linejoin":"round"})}),C.jsx("defs",{children:C.jsx("clipPath",{id:"clip0_1100_58115",children:C.jsx("rect",{width:"12",height:"12",fill:"white"})})})]});
2
2
  //# sourceMappingURL=gapFilterSvgs.js.map