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

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 (438) 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/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js +1 -1
  19. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.js +1 -1
  20. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js +1 -1
  21. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.js +1 -1
  22. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.js +1 -1
  23. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +1 -1
  24. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/HighlightNode.js +1 -1
  25. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  26. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
  27. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.js +1 -1
  28. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.js +1 -1
  29. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  30. package/dist/cjs/features/RequirementAI/components/UnsavedChangesPopup/UnsavedChangesPopup.js +1 -1
  31. package/dist/cjs/features/RequirementAI/components/UserStoryCard/AttachedContext.js +1 -1
  32. package/dist/cjs/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.js +1 -1
  33. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  34. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  35. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +1 -1
  36. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  37. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
  38. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +1 -1
  39. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  40. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +1 -1
  41. package/dist/cjs/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js +1 -1
  42. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  43. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  44. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +1 -1
  45. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +1 -1
  46. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  47. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js +1 -1
  48. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  49. package/dist/cjs/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +1 -1
  50. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +1 -1
  51. package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +1 -1
  52. package/dist/cjs/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
  53. package/dist/cjs/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js +1 -1
  54. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +1 -1
  55. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +1 -1
  56. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +1 -1
  57. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +1 -1
  58. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +1 -1
  59. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +1 -1
  60. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js +1 -1
  61. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js +1 -1
  62. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js +1 -1
  63. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js +1 -1
  64. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js +1 -1
  65. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js +1 -1
  66. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js +1 -1
  67. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js +1 -1
  68. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js +1 -1
  69. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js +1 -1
  70. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js +1 -1
  71. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js +1 -1
  72. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js +1 -1
  73. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/searchwaveform.js +1 -1
  74. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js +1 -1
  75. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.js +1 -1
  76. package/dist/cjs/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js +1 -1
  77. package/dist/cjs/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +1 -1
  78. package/dist/cjs/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js +1 -1
  79. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  80. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  81. package/dist/cjs/features/RequirementAI/components/citations/gpt-web-citation/GptWebCitationRenderer.js +1 -1
  82. package/dist/cjs/features/RequirementAI/components/citations/gpt-web-citation/GptWebcitationPanel.js +1 -1
  83. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js +1 -1
  84. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js +1 -1
  85. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js +1 -1
  86. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +1 -1
  87. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +1 -1
  88. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js +1 -1
  89. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  90. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +1 -1
  91. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +1 -1
  92. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +1 -1
  93. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js +1 -1
  94. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js +1 -1
  95. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js +1 -1
  96. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js +1 -1
  97. package/dist/cjs/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js +1 -1
  98. package/dist/cjs/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +1 -1
  99. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitation.js +1 -1
  100. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js +1 -1
  101. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +1 -1
  102. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +1 -1
  103. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +1 -1
  104. package/dist/cjs/features/RequirementAI/components/cra/PartialRequirementContent.js +1 -1
  105. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  106. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  107. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
  108. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
  109. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js +1 -1
  110. package/dist/cjs/features/RequirementAI/components/segment/ExampleComponentWrapper.js +1 -1
  111. package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
  112. package/dist/cjs/features/RequirementAI/components/segment/SegmentLoader.js +1 -1
  113. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  114. package/dist/cjs/features/RequirementAI/components/story-screen/BigEnoughPanel.js +1 -1
  115. package/dist/cjs/features/RequirementAI/components/story-screen/CompletionPanel.js +1 -1
  116. package/dist/cjs/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js +1 -1
  117. package/dist/cjs/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js +1 -1
  118. package/dist/cjs/features/RequirementAI/components/story-screen/SubfeatureBlock.js +1 -1
  119. package/dist/cjs/features/RequirementAI/components/story-screen/UserStoryScreen.js +1 -1
  120. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.js +1 -1
  121. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  122. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js +1 -1
  123. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js +1 -1
  124. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js +1 -1
  125. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js +1 -1
  126. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js +1 -1
  127. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js +1 -1
  128. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  129. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/HighlightButtonComponent.js +1 -1
  130. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  131. package/dist/cjs/features/RequirementAI/hooks/useApprovalStatus.js +1 -1
  132. package/dist/cjs/features/RequirementAI/hooks/useDiffEditReviewMode.js +1 -1
  133. package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  134. package/dist/cjs/features/RequirementAI/icons/AiGapIcon.js +1 -1
  135. package/dist/cjs/features/RequirementAI/icons/AiReasoningIcon.js +1 -1
  136. package/dist/cjs/features/RequirementAI/icons/BigEnoughIcon.js +1 -1
  137. package/dist/cjs/features/RequirementAI/icons/BookmarkIcon.js +1 -1
  138. package/dist/cjs/features/RequirementAI/icons/BrainRed.js +1 -1
  139. package/dist/cjs/features/RequirementAI/icons/CDIcon.js +1 -1
  140. package/dist/cjs/features/RequirementAI/icons/CheckIcon.js +1 -1
  141. package/dist/cjs/features/RequirementAI/icons/ChevronDownIcon.js +1 -1
  142. package/dist/cjs/features/RequirementAI/icons/ChevronUpIcon.js +1 -1
  143. package/dist/cjs/features/RequirementAI/icons/CognitiveDecision.js +1 -1
  144. package/dist/cjs/features/RequirementAI/icons/MeetingHighlightsIcon.js +1 -1
  145. package/dist/cjs/features/RequirementAI/icons/MenuUnfoldIcon.js +1 -1
  146. package/dist/cjs/features/RequirementAI/icons/PencilIcon.js +1 -1
  147. package/dist/cjs/features/RequirementAI/icons/ReasoningBulbIcon.js +1 -1
  148. package/dist/cjs/features/RequirementAI/icons/RelevanceScoreIcon.js +1 -1
  149. package/dist/cjs/features/RequirementAI/icons/SidebarCloseIcon.js +1 -1
  150. package/dist/cjs/features/RequirementAI/icons/SidebarOpenIcon.js +1 -1
  151. package/dist/cjs/features/RequirementAI/icons/TrashIcon.js +1 -1
  152. package/dist/cjs/features/RequirementAI/shared/Accordian.js +1 -1
  153. package/dist/cjs/features/RequirementAI/shared/AtomicButton.js +1 -1
  154. package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +1 -1
  155. package/dist/cjs/features/RequirementAI/shared/CitationLoadingIndicator.js +1 -1
  156. package/dist/cjs/features/RequirementAI/shared/CodeViewer.js +1 -1
  157. package/dist/cjs/features/RequirementAI/shared/ExpandableOl.js +1 -1
  158. package/dist/cjs/features/RequirementAI/shared/GeneratedCodeCitation.js +1 -1
  159. package/dist/cjs/features/RequirementAI/shared/ReqAiCitationRenderer.js +1 -1
  160. package/dist/cjs/features/RequirementAI/shared/UpdatedAnimationContent.js +1 -1
  161. package/dist/cjs/features/RequirementAI/shared/useMarkdownSearch.js +1 -1
  162. package/dist/cjs/features/RequirementAI/store/markdown-context.js +1 -1
  163. package/dist/cjs/features/RequirementAI/store/ref.context.js +1 -1
  164. package/dist/cjs/features/RequirementAI/utils/css.utils.js +1 -1
  165. package/dist/cjs/features/RequirementAI/utils/diff-edit.utils.js +1 -1
  166. package/dist/cjs/features/RequirementAI/utils/helpers.js +1 -1
  167. package/dist/cjs/features/RequirementAI/utils/json-helper.js +1 -1
  168. package/dist/cjs/features/RequirementAI/utils/learned-tag.utils.js +1 -1
  169. package/dist/cjs/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
  170. package/dist/cjs/features/RequirementAI/utils/user-story.utils.js +1 -1
  171. package/dist/cjs/features/RequirementAI/utils/userStoryAttachedContext.utils.js +1 -1
  172. package/dist/cjs/features/RequirementAI/utils/userstory-approval-transform.utils.js +1 -1
  173. package/dist/cjs/features/RequirementAI/utils/userstory-approval.utils.js +1 -1
  174. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  175. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  176. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  177. package/dist/cjs/features/UserStoryImport/UserStoryPicker.context.js +1 -1
  178. package/dist/cjs/features/UserStoryImport/UserStoryPicker.js +1 -1
  179. package/dist/cjs/features/UserStoryImport/UserStoryPicker.theme.js +1 -1
  180. package/dist/cjs/features/UserStoryImport/components/BackNav.js +1 -1
  181. package/dist/cjs/features/UserStoryImport/components/Badge.js +1 -1
  182. package/dist/cjs/features/UserStoryImport/components/BrowseProjectsButton.js +1 -1
  183. package/dist/cjs/features/UserStoryImport/components/CardGrid.js +1 -1
  184. package/dist/cjs/features/UserStoryImport/components/CardProceedButton.js +1 -1
  185. package/dist/cjs/features/UserStoryImport/components/ContentArea.js +1 -1
  186. package/dist/cjs/features/UserStoryImport/components/Footer.js +1 -1
  187. package/dist/cjs/features/UserStoryImport/components/Header.js +1 -1
  188. package/dist/cjs/features/UserStoryImport/components/NavRow.js +1 -1
  189. package/dist/cjs/features/UserStoryImport/components/ProceedButton.js +1 -1
  190. package/dist/cjs/features/UserStoryImport/components/ProjectCard.js +1 -1
  191. package/dist/cjs/features/UserStoryImport/components/ResizeHandle.js +1 -1
  192. package/dist/cjs/features/UserStoryImport/components/ScopeDropdown.js +1 -1
  193. package/dist/cjs/features/UserStoryImport/components/SearchInput.js +1 -1
  194. package/dist/cjs/features/UserStoryImport/components/SectionHeading.js +1 -1
  195. package/dist/cjs/features/UserStoryImport/components/ShowMore.js +1 -1
  196. package/dist/cjs/features/UserStoryImport/components/Sidebar.js +1 -1
  197. package/dist/cjs/features/UserStoryImport/components/SidebarFavoritesList.js +1 -1
  198. package/dist/cjs/features/UserStoryImport/components/SidebarProjectList.js +1 -1
  199. package/dist/cjs/features/UserStoryImport/components/SidebarSection.js +1 -1
  200. package/dist/cjs/features/UserStoryImport/components/SortDropdown.js +1 -1
  201. package/dist/cjs/features/UserStoryImport/components/SplitLayout.js +1 -1
  202. package/dist/cjs/features/UserStoryImport/components/Toolbar.js +1 -1
  203. package/dist/cjs/features/UserStoryImport/components/TypeDropdown.js +1 -1
  204. package/dist/cjs/features/UserStoryImport/components/UserStoryCard.js +1 -1
  205. package/dist/cjs/features/UserStoryImport/components/UserStoryImportDialog.js +1 -1
  206. package/dist/cjs/features/UserStoryImport/components/UserStoryScopeDropdown.js +1 -1
  207. package/dist/cjs/features/UserStoryImport/components/usePanelResize.js +1 -1
  208. package/dist/cjs/features/UserStoryImport/hooks/useFilteredItems.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/index.js +1 -1
  212. package/dist/cjs/features/UserStoryImport/lib/CustomTooltip.js +1 -1
  213. package/dist/cjs/features/UserStoryImport/lib/Tooltip.js +1 -1
  214. package/dist/cjs/features/UserStoryImport/lib/cn.js +1 -1
  215. package/dist/cjs/features/UserStoryImport/lib/dialog.js +1 -1
  216. package/dist/cjs/index.js +1 -1
  217. package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
  218. package/dist/features/RequirementAI/components/CustomPopover/CustomPopover.js +1 -1
  219. package/dist/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js +1 -1
  220. package/dist/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js +1 -1
  221. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js +1 -1
  222. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js +1 -1
  223. package/dist/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js +1 -1
  224. package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js +1 -1
  225. package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js +1 -1
  226. package/dist/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js +1 -1
  227. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
  228. package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
  229. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js +1 -1
  230. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +1 -1
  231. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +1 -1
  232. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +1 -1
  233. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +1 -1
  234. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js +1 -1
  235. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.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/constants/editorConfig.js +1 -1
  238. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.js +1 -1
  239. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.js +1 -1
  240. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +1 -1
  241. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/HighlightNode.js +1 -1
  242. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
  243. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
  244. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.js +1 -1
  245. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js +1 -1
  246. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.js +1 -1
  247. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  248. package/dist/features/RequirementAI/components/UnsavedChangesPopup/UnsavedChangesPopup.js +1 -1
  249. package/dist/features/RequirementAI/components/UserStoryCard/AttachedContext.js +1 -1
  250. package/dist/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.js +1 -1
  251. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
  252. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
  253. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +1 -1
  254. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
  255. package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
  256. package/dist/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +1 -1
  257. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
  258. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +1 -1
  259. package/dist/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js +1 -1
  260. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  261. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  262. package/dist/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +1 -1
  263. package/dist/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +1 -1
  264. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  265. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js +1 -1
  266. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  267. package/dist/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +1 -1
  268. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +1 -1
  269. package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +1 -1
  270. package/dist/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
  271. package/dist/features/RequirementAI/components/ai-reasoning/pdfCitationUtils.js +1 -1
  272. package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +1 -1
  273. package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +1 -1
  274. package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +1 -1
  275. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +1 -1
  276. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +1 -1
  277. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +1 -1
  278. package/dist/features/RequirementAI/components/citations/appmod-citation/types.js +1 -1
  279. package/dist/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js +1 -1
  280. package/dist/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js +1 -1
  281. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js +1 -1
  282. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js +1 -1
  283. package/dist/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js +1 -1
  284. package/dist/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js +1 -1
  285. package/dist/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js +1 -1
  286. package/dist/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js +1 -1
  287. package/dist/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js +1 -1
  288. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js +1 -1
  289. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js +1 -1
  290. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js +1 -1
  291. package/dist/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js +1 -1
  292. package/dist/features/RequirementAI/components/citations/audio-citation/searchwaveform.js +1 -1
  293. package/dist/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js +1 -1
  294. package/dist/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.js +1 -1
  295. package/dist/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js +1 -1
  296. package/dist/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +1 -1
  297. package/dist/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js +1 -1
  298. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
  299. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
  300. package/dist/features/RequirementAI/components/citations/gpt-web-citation/GptWebCitationRenderer.js +1 -1
  301. package/dist/features/RequirementAI/components/citations/gpt-web-citation/GptWebcitationPanel.js +1 -1
  302. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js +1 -1
  303. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js +1 -1
  304. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js +1 -1
  305. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +1 -1
  306. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +1 -1
  307. package/dist/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js +1 -1
  308. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
  309. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +1 -1
  310. package/dist/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +1 -1
  311. package/dist/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +1 -1
  312. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js +1 -1
  313. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js +1 -1
  314. package/dist/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js +1 -1
  315. package/dist/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js +1 -1
  316. package/dist/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js +1 -1
  317. package/dist/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +1 -1
  318. package/dist/features/RequirementAI/components/citations/web-citation/WebCitation.js +1 -1
  319. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js +1 -1
  320. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +1 -1
  321. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +1 -1
  322. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +1 -1
  323. package/dist/features/RequirementAI/components/cra/PartialRequirementContent.js +1 -1
  324. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  325. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  326. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
  327. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
  328. package/dist/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js +1 -1
  329. package/dist/features/RequirementAI/components/segment/ExampleComponentWrapper.js +1 -1
  330. package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
  331. package/dist/features/RequirementAI/components/segment/SegmentLoader.js +1 -1
  332. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
  333. package/dist/features/RequirementAI/components/story-screen/BigEnoughPanel.js +1 -1
  334. package/dist/features/RequirementAI/components/story-screen/CompletionPanel.js +1 -1
  335. package/dist/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js +1 -1
  336. package/dist/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js +1 -1
  337. package/dist/features/RequirementAI/components/story-screen/SubfeatureBlock.js +1 -1
  338. package/dist/features/RequirementAI/components/story-screen/UserStoryScreen.js +1 -1
  339. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.js +1 -1
  340. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
  341. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js +1 -1
  342. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js +1 -1
  343. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js +1 -1
  344. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js +1 -1
  345. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js +1 -1
  346. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js +1 -1
  347. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  348. package/dist/features/RequirementAI/components/userstory-with-citation/components/HighlightButtonComponent.js +1 -1
  349. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
  350. package/dist/features/RequirementAI/hooks/useApprovalStatus.js +1 -1
  351. package/dist/features/RequirementAI/hooks/useDiffEditReviewMode.js +1 -1
  352. package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
  353. package/dist/features/RequirementAI/icons/AiGapIcon.js +1 -1
  354. package/dist/features/RequirementAI/icons/AiReasoningIcon.js +1 -1
  355. package/dist/features/RequirementAI/icons/BigEnoughIcon.js +1 -1
  356. package/dist/features/RequirementAI/icons/BookmarkIcon.js +1 -1
  357. package/dist/features/RequirementAI/icons/BrainRed.js +1 -1
  358. package/dist/features/RequirementAI/icons/CDIcon.js +1 -1
  359. package/dist/features/RequirementAI/icons/CheckIcon.js +1 -1
  360. package/dist/features/RequirementAI/icons/ChevronDownIcon.js +1 -1
  361. package/dist/features/RequirementAI/icons/ChevronUpIcon.js +1 -1
  362. package/dist/features/RequirementAI/icons/CognitiveDecision.js +1 -1
  363. package/dist/features/RequirementAI/icons/MeetingHighlightsIcon.js +1 -1
  364. package/dist/features/RequirementAI/icons/MenuUnfoldIcon.js +1 -1
  365. package/dist/features/RequirementAI/icons/PencilIcon.js +1 -1
  366. package/dist/features/RequirementAI/icons/ReasoningBulbIcon.js +1 -1
  367. package/dist/features/RequirementAI/icons/RelevanceScoreIcon.js +1 -1
  368. package/dist/features/RequirementAI/icons/SidebarCloseIcon.js +1 -1
  369. package/dist/features/RequirementAI/icons/SidebarOpenIcon.js +1 -1
  370. package/dist/features/RequirementAI/icons/TrashIcon.js +1 -1
  371. package/dist/features/RequirementAI/shared/Accordian.js +1 -1
  372. package/dist/features/RequirementAI/shared/AtomicButton.js +1 -1
  373. package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +1 -1
  374. package/dist/features/RequirementAI/shared/CitationLoadingIndicator.js +1 -1
  375. package/dist/features/RequirementAI/shared/CodeViewer.js +1 -1
  376. package/dist/features/RequirementAI/shared/ExpandableOl.js +1 -1
  377. package/dist/features/RequirementAI/shared/GeneratedCodeCitation.js +1 -1
  378. package/dist/features/RequirementAI/shared/ReqAiCitationRenderer.js +1 -1
  379. package/dist/features/RequirementAI/shared/UpdatedAnimationContent.js +1 -1
  380. package/dist/features/RequirementAI/shared/useMarkdownSearch.js +1 -1
  381. package/dist/features/RequirementAI/store/markdown-context.js +1 -1
  382. package/dist/features/RequirementAI/store/ref.context.js +1 -1
  383. package/dist/features/RequirementAI/utils/css.utils.js +1 -1
  384. package/dist/features/RequirementAI/utils/diff-edit.utils.js +1 -1
  385. package/dist/features/RequirementAI/utils/helpers.js +1 -1
  386. package/dist/features/RequirementAI/utils/json-helper.js +1 -1
  387. package/dist/features/RequirementAI/utils/learned-tag.utils.js +1 -1
  388. package/dist/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
  389. package/dist/features/RequirementAI/utils/user-story.utils.js +1 -1
  390. package/dist/features/RequirementAI/utils/userStoryAttachedContext.utils.js +1 -1
  391. package/dist/features/RequirementAI/utils/userstory-approval-transform.utils.js +1 -1
  392. package/dist/features/RequirementAI/utils/userstory-approval.utils.js +1 -1
  393. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
  394. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
  395. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
  396. package/dist/features/UserStoryImport/UserStoryPicker.context.js +1 -1
  397. package/dist/features/UserStoryImport/UserStoryPicker.js +1 -1
  398. package/dist/features/UserStoryImport/UserStoryPicker.theme.js +1 -1
  399. package/dist/features/UserStoryImport/components/BackNav.js +1 -1
  400. package/dist/features/UserStoryImport/components/Badge.js +1 -1
  401. package/dist/features/UserStoryImport/components/BrowseProjectsButton.js +1 -1
  402. package/dist/features/UserStoryImport/components/CardGrid.js +1 -1
  403. package/dist/features/UserStoryImport/components/CardProceedButton.js +1 -1
  404. package/dist/features/UserStoryImport/components/ContentArea.js +1 -1
  405. package/dist/features/UserStoryImport/components/Footer.js +1 -1
  406. package/dist/features/UserStoryImport/components/Header.js +1 -1
  407. package/dist/features/UserStoryImport/components/NavRow.js +1 -1
  408. package/dist/features/UserStoryImport/components/ProceedButton.js +1 -1
  409. package/dist/features/UserStoryImport/components/ProjectCard.js +1 -1
  410. package/dist/features/UserStoryImport/components/ResizeHandle.js +1 -1
  411. package/dist/features/UserStoryImport/components/ScopeDropdown.js +1 -1
  412. package/dist/features/UserStoryImport/components/SearchInput.js +1 -1
  413. package/dist/features/UserStoryImport/components/SectionHeading.js +1 -1
  414. package/dist/features/UserStoryImport/components/ShowMore.js +1 -1
  415. package/dist/features/UserStoryImport/components/Sidebar.js +1 -1
  416. package/dist/features/UserStoryImport/components/SidebarFavoritesList.js +1 -1
  417. package/dist/features/UserStoryImport/components/SidebarProjectList.js +1 -1
  418. package/dist/features/UserStoryImport/components/SidebarSection.js +1 -1
  419. package/dist/features/UserStoryImport/components/SortDropdown.js +1 -1
  420. package/dist/features/UserStoryImport/components/SplitLayout.js +1 -1
  421. package/dist/features/UserStoryImport/components/Toolbar.js +1 -1
  422. package/dist/features/UserStoryImport/components/TypeDropdown.js +1 -1
  423. package/dist/features/UserStoryImport/components/UserStoryCard.js +1 -1
  424. package/dist/features/UserStoryImport/components/UserStoryImportDialog.js +1 -1
  425. package/dist/features/UserStoryImport/components/UserStoryScopeDropdown.js +1 -1
  426. package/dist/features/UserStoryImport/components/usePanelResize.js +1 -1
  427. package/dist/features/UserStoryImport/hooks/useFilteredItems.js +1 -1
  428. package/dist/features/UserStoryImport/hooks/useUSPData.js +1 -1
  429. package/dist/features/UserStoryImport/hooks/useUserStoryPickerState.js +1 -1
  430. package/dist/features/UserStoryImport/index.js +1 -1
  431. package/dist/features/UserStoryImport/lib/CustomTooltip.js +1 -1
  432. package/dist/features/UserStoryImport/lib/Tooltip.js +1 -1
  433. package/dist/features/UserStoryImport/lib/cn.js +1 -1
  434. package/dist/features/UserStoryImport/lib/dialog.js +1 -1
  435. package/dist/index.js +1 -1
  436. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +11 -2
  437. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  438. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import{__assign as o}from"tslib";import{jsx as r}from"react/jsx-runtime";var t=function(t){var e=t.size,i=void 0===e?16:e,s=t.color,n=void 0===s?"currentColor":s,a=t.className,d=t.strokeWidth;return r("svg",o({xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:void 0===d?2:d,strokeLinecap:"round",strokeLinejoin:"round",className:a},{children:r("path",{d:"m6 9 6 6 6-6"})}))};export{t as ChevronDownIcon,t as default};
1
+ import{jsx as e}from"react/jsx-runtime";const t=({size:t=16,color:o="currentColor",className:r,strokeWidth:s=2})=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",className:r},{children:e("path",{d:"m6 9 6 6 6-6"})}));export{t as ChevronDownIcon,t as default};
2
2
  //# sourceMappingURL=ChevronDownIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as o}from"tslib";import{jsx as r}from"react/jsx-runtime";var t=function(t){var e=t.size,i=void 0===e?16:e,s=t.color,n=void 0===s?"currentColor":s,a=t.className,d=t.strokeWidth;return r("svg",o({xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:void 0===d?2:d,strokeLinecap:"round",strokeLinejoin:"round",className:a},{children:r("path",{d:"m18 15-6-6-6 6"})}))};export{t as ChevronUpIcon,t as default};
1
+ import{jsx as e}from"react/jsx-runtime";const t=({size:t=16,color:o="currentColor",className:r,strokeWidth:s=2})=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",className:r},{children:e("path",{d:"m18 15-6-6-6 6"})}));export{t as ChevronUpIcon,t as default};
2
2
  //# sourceMappingURL=ChevronUpIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as C}from"tslib";import{jsxs as l,jsx as i}from"react/jsx-runtime";var e=function(e){var r=e.color,t=e.backgroundColor;return l("svg",C({width:13,height:20,viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[l("g",C({clipPath:"url(#clip0_19434_1061)"},{children:[i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.870143 7.47622C1.05898 7.13194 1.27464 6.80802 1.51383 6.50715L1.18293 7.96956C0.979942 8.80525 0.898342 9.61744 1.17775 10.2745C1.21942 10.3725 1.26815 10.4646 1.32333 10.5504C1.31329 10.7275 1.31151 10.9057 1.31813 11.0841C1.35384 12.0462 1.63248 12.9808 2.12537 13.7917C2.61826 14.6028 3.30759 15.2608 4.12238 15.6983C4.23255 15.7584 4.32499 15.8491 4.38965 15.9606C4.45431 16.0721 4.48873 16.2001 4.48918 16.3308V19.2265C4.48918 19.3197 4.47174 19.4121 4.43785 19.4982C4.40397 19.5843 4.3543 19.6625 4.29169 19.7284C4.22908 19.7943 4.15475 19.8466 4.07294 19.8823C3.99114 19.9179 3.90346 19.9363 3.81492 19.9363C3.72637 19.9363 3.63869 19.9179 3.55689 19.8823C3.47508 19.8466 3.40075 19.7943 3.33814 19.7284C3.27553 19.6625 3.22587 19.5843 3.19198 19.4982C3.1581 19.4121 3.14066 19.3197 3.14066 19.2265V16.7487C1.68401 15.8239 0.630139 14.3347 0.205569 12.6008C-0.219001 10.8669 0.0196202 9.02687 0.870143 7.47622ZM2.90096 5.20001C2.88899 5.25369 2.87501 5.31256 2.85914 5.37684L2.35372 7.60811C2.74036 7.06921 3.22081 6.60912 3.77188 6.25374C3.86004 6.19689 3.94964 6.14295 4.04056 6.09196L4.37488 4.73602C4.4043 4.62151 4.42962 4.5112 4.45073 4.40544C3.89913 4.59792 3.3785 4.86607 2.90096 5.20001ZM5.56585 4.12835C5.53444 4.42656 5.47335 4.72735 5.39987 5.01502L5.25401 5.60671C5.6147 5.51517 5.98526 5.46457 6.35938 5.45685C7.27383 5.438 8.17653 5.67603 8.97455 6.14644C9.77256 6.61685 10.437 7.30265 10.8996 8.13322C11.3621 8.9638 11.606 9.90914 11.6062 10.8719V15.3281C11.6062 15.4352 11.5657 15.5381 11.4937 15.6138C11.4216 15.6897 11.324 15.7323 11.2221 15.7323H9.10545C8.92662 15.7323 8.75512 15.8071 8.62867 15.9402C8.50223 16.0733 8.43119 16.2538 8.43119 16.4421V19.2265C8.43119 19.4148 8.50223 19.5953 8.62867 19.7284C8.75512 19.8615 8.92662 19.9363 9.10545 19.9363C9.28428 19.9363 9.45578 19.8615 9.58223 19.7284C9.70867 19.5953 9.77971 19.4148 9.77971 19.2265V17.1517H11.2221C11.4496 17.1517 11.6749 17.1046 11.8851 17.013C12.0953 16.9213 12.2863 16.787 12.4472 16.6176C12.6081 16.4483 12.7357 16.2472 12.8228 16.0259C12.9099 15.8047 12.9547 15.5675 12.9547 15.3281V10.873C12.9545 9.65817 12.6467 8.4653 12.0631 7.41722C11.4794 6.36915 10.641 5.5037 9.63407 4.90999C8.38865 4.18603 6.95913 3.91643 5.56585 4.12835ZM3.70049 8.44476C3.42465 8.79246 3.20515 9.18982 3.05432 9.62116C2.98799 9.81085 2.93585 10.0046 2.89791 10.2006C3.31428 10.1916 3.71718 10.1052 4.57574 9.38851L5.00851 9.00925C5.17133 8.86027 5.2371 8.63119 5.20005 8.41094L5.17831 8.31721C5.07205 8.04681 4.74203 7.96608 4.50119 8.11231C4.25222 8.26348 3.98261 8.37648 3.70049 8.44476ZM6.15774 7.89108C6.02755 7.55955 5.82305 7.32202 5.58321 7.16611C6.10638 7.01332 6.65842 6.98001 7.20161 7.07343C8.06073 7.22119 8.84495 7.67687 9.42154 8.36336C9.80992 8.82555 9.70204 9.48988 9.30287 9.86803C8.12912 10.9844 6.18401 12.4311 4.25076 12.9705C3.75882 13.1068 3.21941 12.8569 3.03925 12.3232C2.92908 11.9964 2.86081 11.6583 2.8344 11.3174C3.15405 11.3157 3.55309 11.2905 4.0591 11.0537C4.53459 10.8313 5.0516 10.4478 5.70426 9.8506C6.24535 9.35537 6.37813 8.59914 6.18673 7.975L6.1743 7.93249L6.15774 7.89108Z",fill:r||"#344054"}),i("path",{d:"M2.78615 10.2017C2.21638 10.2017 1.79803 9.83133 2.19705 8.2028L2.85131 5.3137C2.96544 4.85111 2.98387 4.66616 2.85131 4.66616C2.36465 4.7953 2.60897 4.71503 2.197 4.89983L1.9126 4.39986C3.2993 3.15966 3.32384 2.83187 4.00685 2.83187C4.57663 2.83187 4.67189 3.55367 4.38656 4.66428L3.63794 7.70142C3.50493 8.23827 3.56245 8.42321 3.69455 8.42321C3.98365 8.35428 4.26009 8.24005 4.51499 8.08528C4.75901 7.93711 5.09256 8.01872 5.20011 8.29281C5.27686 8.54288 5.21725 8.82053 5.02883 8.99293C3.76255 10.1516 3.31453 10.2017 2.78615 10.2017ZM4.09769 0.00281947C4.22754 -0.00766091 4.35802 0.0111517 4.48042 0.0580007C4.60281 0.10485 4.7143 0.178656 4.80743 0.274487C4.90056 0.370319 4.97318 0.485969 5.02045 0.61371C5.06772 0.74145 5.08855 0.878339 5.08154 1.01523V1.01265C5.0662 1.36127 4.92389 1.69028 4.68414 1.93134C4.4444 2.17242 4.12566 2.30702 3.79411 2.3072L3.76756 2.30677C3.63595 2.32186 3.50403 2.30544 3.37929 2.25874C3.25456 2.21205 3.14146 2.13628 3.04846 2.0371C2.95546 1.93792 2.88496 1.8179 2.84223 1.68601C2.79983 1.55514 2.78585 1.41595 2.80131 1.27867C2.81392 0.928866 2.95727 0.598439 3.20019 0.359319C3.44335 0.119957 3.76655 -0.00849914 4.09932 0.00195941L4.09769 0.00281947Z",fill:r||"#344054"})]})),i("defs",{children:i("clipPath",C({id:"clip0_19434_1061"},{children:i("rect",{width:13,height:20,fill:t||"white"})}))})]}))};export{e as default};
1
+ import{jsxs as C,jsx as i}from"react/jsx-runtime";const l=({color:l,backgroundColor:e})=>C("svg",Object.assign({width:13,height:20,viewBox:"0 0 13 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[C("g",Object.assign({clipPath:"url(#clip0_19434_1061)"},{children:[i("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.870143 7.47622C1.05898 7.13194 1.27464 6.80802 1.51383 6.50715L1.18293 7.96956C0.979942 8.80525 0.898342 9.61744 1.17775 10.2745C1.21942 10.3725 1.26815 10.4646 1.32333 10.5504C1.31329 10.7275 1.31151 10.9057 1.31813 11.0841C1.35384 12.0462 1.63248 12.9808 2.12537 13.7917C2.61826 14.6028 3.30759 15.2608 4.12238 15.6983C4.23255 15.7584 4.32499 15.8491 4.38965 15.9606C4.45431 16.0721 4.48873 16.2001 4.48918 16.3308V19.2265C4.48918 19.3197 4.47174 19.4121 4.43785 19.4982C4.40397 19.5843 4.3543 19.6625 4.29169 19.7284C4.22908 19.7943 4.15475 19.8466 4.07294 19.8823C3.99114 19.9179 3.90346 19.9363 3.81492 19.9363C3.72637 19.9363 3.63869 19.9179 3.55689 19.8823C3.47508 19.8466 3.40075 19.7943 3.33814 19.7284C3.27553 19.6625 3.22587 19.5843 3.19198 19.4982C3.1581 19.4121 3.14066 19.3197 3.14066 19.2265V16.7487C1.68401 15.8239 0.630139 14.3347 0.205569 12.6008C-0.219001 10.8669 0.0196202 9.02687 0.870143 7.47622ZM2.90096 5.20001C2.88899 5.25369 2.87501 5.31256 2.85914 5.37684L2.35372 7.60811C2.74036 7.06921 3.22081 6.60912 3.77188 6.25374C3.86004 6.19689 3.94964 6.14295 4.04056 6.09196L4.37488 4.73602C4.4043 4.62151 4.42962 4.5112 4.45073 4.40544C3.89913 4.59792 3.3785 4.86607 2.90096 5.20001ZM5.56585 4.12835C5.53444 4.42656 5.47335 4.72735 5.39987 5.01502L5.25401 5.60671C5.6147 5.51517 5.98526 5.46457 6.35938 5.45685C7.27383 5.438 8.17653 5.67603 8.97455 6.14644C9.77256 6.61685 10.437 7.30265 10.8996 8.13322C11.3621 8.9638 11.606 9.90914 11.6062 10.8719V15.3281C11.6062 15.4352 11.5657 15.5381 11.4937 15.6138C11.4216 15.6897 11.324 15.7323 11.2221 15.7323H9.10545C8.92662 15.7323 8.75512 15.8071 8.62867 15.9402C8.50223 16.0733 8.43119 16.2538 8.43119 16.4421V19.2265C8.43119 19.4148 8.50223 19.5953 8.62867 19.7284C8.75512 19.8615 8.92662 19.9363 9.10545 19.9363C9.28428 19.9363 9.45578 19.8615 9.58223 19.7284C9.70867 19.5953 9.77971 19.4148 9.77971 19.2265V17.1517H11.2221C11.4496 17.1517 11.6749 17.1046 11.8851 17.013C12.0953 16.9213 12.2863 16.787 12.4472 16.6176C12.6081 16.4483 12.7357 16.2472 12.8228 16.0259C12.9099 15.8047 12.9547 15.5675 12.9547 15.3281V10.873C12.9545 9.65817 12.6467 8.4653 12.0631 7.41722C11.4794 6.36915 10.641 5.5037 9.63407 4.90999C8.38865 4.18603 6.95913 3.91643 5.56585 4.12835ZM3.70049 8.44476C3.42465 8.79246 3.20515 9.18982 3.05432 9.62116C2.98799 9.81085 2.93585 10.0046 2.89791 10.2006C3.31428 10.1916 3.71718 10.1052 4.57574 9.38851L5.00851 9.00925C5.17133 8.86027 5.2371 8.63119 5.20005 8.41094L5.17831 8.31721C5.07205 8.04681 4.74203 7.96608 4.50119 8.11231C4.25222 8.26348 3.98261 8.37648 3.70049 8.44476ZM6.15774 7.89108C6.02755 7.55955 5.82305 7.32202 5.58321 7.16611C6.10638 7.01332 6.65842 6.98001 7.20161 7.07343C8.06073 7.22119 8.84495 7.67687 9.42154 8.36336C9.80992 8.82555 9.70204 9.48988 9.30287 9.86803C8.12912 10.9844 6.18401 12.4311 4.25076 12.9705C3.75882 13.1068 3.21941 12.8569 3.03925 12.3232C2.92908 11.9964 2.86081 11.6583 2.8344 11.3174C3.15405 11.3157 3.55309 11.2905 4.0591 11.0537C4.53459 10.8313 5.0516 10.4478 5.70426 9.8506C6.24535 9.35537 6.37813 8.59914 6.18673 7.975L6.1743 7.93249L6.15774 7.89108Z",fill:l||"#344054"}),i("path",{d:"M2.78615 10.2017C2.21638 10.2017 1.79803 9.83133 2.19705 8.2028L2.85131 5.3137C2.96544 4.85111 2.98387 4.66616 2.85131 4.66616C2.36465 4.7953 2.60897 4.71503 2.197 4.89983L1.9126 4.39986C3.2993 3.15966 3.32384 2.83187 4.00685 2.83187C4.57663 2.83187 4.67189 3.55367 4.38656 4.66428L3.63794 7.70142C3.50493 8.23827 3.56245 8.42321 3.69455 8.42321C3.98365 8.35428 4.26009 8.24005 4.51499 8.08528C4.75901 7.93711 5.09256 8.01872 5.20011 8.29281C5.27686 8.54288 5.21725 8.82053 5.02883 8.99293C3.76255 10.1516 3.31453 10.2017 2.78615 10.2017ZM4.09769 0.00281947C4.22754 -0.00766091 4.35802 0.0111517 4.48042 0.0580007C4.60281 0.10485 4.7143 0.178656 4.80743 0.274487C4.90056 0.370319 4.97318 0.485969 5.02045 0.61371C5.06772 0.74145 5.08855 0.878339 5.08154 1.01523V1.01265C5.0662 1.36127 4.92389 1.69028 4.68414 1.93134C4.4444 2.17242 4.12566 2.30702 3.79411 2.3072L3.76756 2.30677C3.63595 2.32186 3.50403 2.30544 3.37929 2.25874C3.25456 2.21205 3.14146 2.13628 3.04846 2.0371C2.95546 1.93792 2.88496 1.8179 2.84223 1.68601C2.79983 1.55514 2.78585 1.41595 2.80131 1.27867C2.81392 0.928866 2.95727 0.598439 3.20019 0.359319C3.44335 0.119957 3.76655 -0.00849914 4.09932 0.00195941L4.09769 0.00281947Z",fill:l||"#344054"})]})),i("defs",{children:i("clipPath",Object.assign({id:"clip0_19434_1061"},{children:i("rect",{width:13,height:20,fill:e||"white"})}))})]}));export{l as default};
2
2
  //# sourceMappingURL=CognitiveDecision.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsxs as e,jsx as r}from"react/jsx-runtime";var i=function(i){return e("svg",t({width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{children:[r("path",{d:"M18.5998 18.0004C18.9598 16.897 19.3576 16.4989 20.3998 16.2004C19.3576 15.9019 18.9598 15.5038 18.5998 14.4004C18.2398 15.5038 17.842 15.9019 16.7998 16.2004C17.842 16.4989 18.2398 16.897 18.5998 18.0004Z",stroke:"#2546F0",strokeWidth:.6,strokeLinejoin:"round"}),r("line",{x1:12.3,y1:5.7,x2:17.7,y2:5.7,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),r("line",{x1:12.3,y1:8.10039,x2:17.7,y2:8.10039,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),r("line",{x1:12.3,y1:10.5008,x2:17.7,y2:10.5008,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),r("line",{x1:6.3,y1:12.9012,x2:12.9,y2:12.9012,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),r("line",{x1:6.3,y1:15.3016,x2:12.9,y2:15.3016,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),r("line",{x1:6.3,y1:17.702,x2:12.9,y2:17.702,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),e("g",t({clipPath:"url(#clip0_696_41387)"},{children:[r("path",{d:"M8.33806 4.94727H3.66272C2.96666 4.94727 2.40039 5.51356 2.40039 6.20961V9.09338C2.40039 9.78944 2.96666 10.3557 3.66272 10.3557L6.64066 10.3557L8.06621 11.7813C8.11452 11.8296 8.17907 11.8552 8.24479 11.8552C8.27731 11.8552 8.31011 11.8489 8.34133 11.836C8.43568 11.7969 8.4972 11.7049 8.4972 11.6027V10.3457C9.11844 10.2673 9.60039 9.73555 9.60039 9.09338V6.20961C9.60039 5.51356 9.03412 4.94727 8.33806 4.94727ZM9.09546 9.0934C9.09546 9.51104 8.7557 9.8508 8.33806 9.8508H8.24473C8.10531 9.8508 7.99226 9.96386 7.99226 10.1033V10.9932L6.92377 9.92474C6.87643 9.87738 6.81224 9.8508 6.74525 9.8508H3.66272C3.24508 9.8508 2.90532 9.51104 2.90532 9.0934V6.20963C2.90532 5.792 3.24508 5.45224 3.66272 5.45224H8.33806C8.7557 5.45224 9.09546 5.792 9.09546 6.20963V9.0934Z",fill:"#2546F0"}),r("path",{d:"M7.85548 6.73438H4.13918C3.99976 6.73438 3.88672 6.8474 3.88672 6.98684C3.88672 7.12626 3.99976 7.23931 4.13918 7.23931H7.85548C7.9949 7.23931 8.10795 7.12626 8.10795 6.98684C8.10795 6.8474 7.99492 6.73438 7.85548 6.73438Z",fill:"#2546F0"}),r("path",{d:"M7.85548 8.14648H4.13918C3.99976 8.14648 3.88672 8.25951 3.88672 8.39895C3.88672 8.53839 3.99976 8.65142 4.13918 8.65142H7.85548C7.9949 8.65142 8.10795 8.53837 8.10795 8.39895C8.10795 8.25953 7.99492 8.14648 7.85548 8.14648Z",fill:"#2546F0"})]})),r("path",{d:"M18.2451 2.41309C19.4553 2.53606 20.3994 3.55819 20.3994 4.80078V14.4004H19.2002V18H20.3994V19.2002C20.399 20.4424 19.455 21.465 18.2451 21.5879L18 21.6006H6L5.75391 21.5879C4.54443 21.4645 3.6 20.4421 3.59961 19.2002V12H4.7998V19.2002C4.80023 19.8623 5.33788 20.4 6 20.4004H18C18.6623 20.4002 19.1988 19.8624 19.1992 19.2002V4.80078C19.1992 4.13817 18.6626 3.6008 18 3.60059H6C5.33781 3.60101 4.80012 4.13759 4.7998 4.7998H3.59961C3.59991 3.55784 4.54446 2.53652 5.75391 2.41309L6 2.40039H18L18.2451 2.41309Z",fill:"#2546F0"}),r("defs",{children:r("clipPath",t({id:"clip0_696_41387"},{children:r("rect",{width:7.2,height:7.2,fill:"white",transform:"translate(2.40039 4.80078)"})}))})]}))};export{i as default};
1
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";const i=i=>t("svg",Object.assign({width:22,height:22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i,{children:[e("path",{d:"M18.5998 18.0004C18.9598 16.897 19.3576 16.4989 20.3998 16.2004C19.3576 15.9019 18.9598 15.5038 18.5998 14.4004C18.2398 15.5038 17.842 15.9019 16.7998 16.2004C17.842 16.4989 18.2398 16.897 18.5998 18.0004Z",stroke:"#2546F0",strokeWidth:.6,strokeLinejoin:"round"}),e("line",{x1:12.3,y1:5.7,x2:17.7,y2:5.7,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),e("line",{x1:12.3,y1:8.10039,x2:17.7,y2:8.10039,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),e("line",{x1:12.3,y1:10.5008,x2:17.7,y2:10.5008,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),e("line",{x1:6.3,y1:12.9012,x2:12.9,y2:12.9012,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),e("line",{x1:6.3,y1:15.3016,x2:12.9,y2:15.3016,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),e("line",{x1:6.3,y1:17.702,x2:12.9,y2:17.702,stroke:"#2546F0",strokeWidth:.6,strokeLinecap:"round"}),t("g",Object.assign({clipPath:"url(#clip0_696_41387)"},{children:[e("path",{d:"M8.33806 4.94727H3.66272C2.96666 4.94727 2.40039 5.51356 2.40039 6.20961V9.09338C2.40039 9.78944 2.96666 10.3557 3.66272 10.3557L6.64066 10.3557L8.06621 11.7813C8.11452 11.8296 8.17907 11.8552 8.24479 11.8552C8.27731 11.8552 8.31011 11.8489 8.34133 11.836C8.43568 11.7969 8.4972 11.7049 8.4972 11.6027V10.3457C9.11844 10.2673 9.60039 9.73555 9.60039 9.09338V6.20961C9.60039 5.51356 9.03412 4.94727 8.33806 4.94727ZM9.09546 9.0934C9.09546 9.51104 8.7557 9.8508 8.33806 9.8508H8.24473C8.10531 9.8508 7.99226 9.96386 7.99226 10.1033V10.9932L6.92377 9.92474C6.87643 9.87738 6.81224 9.8508 6.74525 9.8508H3.66272C3.24508 9.8508 2.90532 9.51104 2.90532 9.0934V6.20963C2.90532 5.792 3.24508 5.45224 3.66272 5.45224H8.33806C8.7557 5.45224 9.09546 5.792 9.09546 6.20963V9.0934Z",fill:"#2546F0"}),e("path",{d:"M7.85548 6.73438H4.13918C3.99976 6.73438 3.88672 6.8474 3.88672 6.98684C3.88672 7.12626 3.99976 7.23931 4.13918 7.23931H7.85548C7.9949 7.23931 8.10795 7.12626 8.10795 6.98684C8.10795 6.8474 7.99492 6.73438 7.85548 6.73438Z",fill:"#2546F0"}),e("path",{d:"M7.85548 8.14648H4.13918C3.99976 8.14648 3.88672 8.25951 3.88672 8.39895C3.88672 8.53839 3.99976 8.65142 4.13918 8.65142H7.85548C7.9949 8.65142 8.10795 8.53837 8.10795 8.39895C8.10795 8.25953 7.99492 8.14648 7.85548 8.14648Z",fill:"#2546F0"})]})),e("path",{d:"M18.2451 2.41309C19.4553 2.53606 20.3994 3.55819 20.3994 4.80078V14.4004H19.2002V18H20.3994V19.2002C20.399 20.4424 19.455 21.465 18.2451 21.5879L18 21.6006H6L5.75391 21.5879C4.54443 21.4645 3.6 20.4421 3.59961 19.2002V12H4.7998V19.2002C4.80023 19.8623 5.33788 20.4 6 20.4004H18C18.6623 20.4002 19.1988 19.8624 19.1992 19.2002V4.80078C19.1992 4.13817 18.6626 3.6008 18 3.60059H6C5.33781 3.60101 4.80012 4.13759 4.7998 4.7998H3.59961C3.59991 3.55784 4.54446 2.53652 5.75391 2.41309L6 2.40039H18L18.2451 2.41309Z",fill:"#2546F0"}),e("defs",{children:e("clipPath",Object.assign({id:"clip0_696_41387"},{children:e("rect",{width:7.2,height:7.2,fill:"white",transform:"translate(2.40039 4.80078)"})}))})]}));export{i as default};
2
2
  //# sourceMappingURL=MeetingHighlightsIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as c}from"tslib";import{jsx as r}from"react/jsx-runtime";var t=function(t){var o=t.size,v=void 0===o?"1em":o,e=t.color,i=void 0===e?"currentColor":e,s=t.className;return r("svg",c({stroke:i,fill:i,strokeWidth:"0",viewBox:"0 0 1024 1024",height:v,width:v,xmlns:"http://www.w3.org/2000/svg",className:s},{children:r("path",{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"})}))};export{t as default};
1
+ import{jsx as c}from"react/jsx-runtime";const t=({size:t="1em",color:e="currentColor",className:s})=>c("svg",Object.assign({stroke:e,fill:e,strokeWidth:"0",viewBox:"0 0 1024 1024",height:t,width:t,xmlns:"http://www.w3.org/2000/svg",className:s},{children:c("path",{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"})}));export{t as default};
2
2
  //# sourceMappingURL=MenuUnfoldIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as o}from"tslib";import{jsxs as r,jsx as t}from"react/jsx-runtime";var e=function(e){var i=e.size,a=void 0===i?16:i,s=e.color,n=void 0===s?"currentColor":s,d=e.className,l=e.strokeWidth;return r("svg",o({xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:void 0===l?2:l,strokeLinecap:"round",strokeLinejoin:"round",className:d},{children:[t("path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),t("path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z"})]}))};export{e as PencilIcon,e as default};
1
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";const o=({size:o=16,color:r="currentColor",className:s,strokeWidth:a=2})=>t("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round",className:s},{children:[e("path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),e("path",{d:"M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z"})]}));export{o as PencilIcon,o as default};
2
2
  //# sourceMappingURL=PencilIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as i}from"tslib";import{jsx as r,jsxs as t}from"react/jsx-runtime";var e=function(e){var o=e.height,n=void 0===o?20:o,s=e.width;return r("div",{children:t("svg",i({width:void 0===s?20:s,height:n,viewBox:"0 0 14 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[r("path",{d:"M4.99968 17.4987H8.33301M3.33301 11.6654H9.99968M0.83301 6.66536C0.83301 5.11827 1.44759 3.63454 2.54155 2.54057C3.63552 1.44661 5.11925 0.832031 6.66634 0.832031C8.21344 0.832031 9.69717 1.44661 10.7911 2.54057C11.8851 3.63454 12.4997 5.11827 12.4997 6.66536C12.5004 7.60462 12.2733 8.53003 11.8378 9.36226C11.4024 10.1945 10.7717 10.9087 9.99968 11.4437L9.54801 13.582C9.48821 13.9762 9.28912 14.3358 8.98685 14.5957C8.68458 14.8557 8.29916 14.9986 7.90051 14.9987H5.43218C5.03352 14.9986 4.6481 14.8557 4.34583 14.5957C4.04357 14.3358 3.84447 13.9762 3.78468 13.582L3.33301 11.4529C2.56075 10.916 1.92997 10.2001 1.49461 9.36637C1.05925 8.53265 0.832248 7.60591 0.83301 6.66536Z",stroke:"url(#paint0_linear_2927_71239)","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}),r("defs",{children:t("linearGradient",i({id:"paint0_linear_2927_71239",x1:"-1.94477",y1:"-3.01854",x2:"13.2925",y2:"1.97745",gradientUnits:"userSpaceOnUse"},{children:[r("stop",{"stop-color":"#2546F0"}),r("stop",{offset:"1","stop-color":"#5928ED"})]}))})]}))})};export{e as default};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";const i=({height:i=20,width:n=20})=>e("div",{children:t("svg",Object.assign({width:n,height:i,viewBox:"0 0 14 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[e("path",{d:"M4.99968 17.4987H8.33301M3.33301 11.6654H9.99968M0.83301 6.66536C0.83301 5.11827 1.44759 3.63454 2.54155 2.54057C3.63552 1.44661 5.11925 0.832031 6.66634 0.832031C8.21344 0.832031 9.69717 1.44661 10.7911 2.54057C11.8851 3.63454 12.4997 5.11827 12.4997 6.66536C12.5004 7.60462 12.2733 8.53003 11.8378 9.36226C11.4024 10.1945 10.7717 10.9087 9.99968 11.4437L9.54801 13.582C9.48821 13.9762 9.28912 14.3358 8.98685 14.5957C8.68458 14.8557 8.29916 14.9986 7.90051 14.9987H5.43218C5.03352 14.9986 4.6481 14.8557 4.34583 14.5957C4.04357 14.3358 3.84447 13.9762 3.78468 13.582L3.33301 11.4529C2.56075 10.916 1.92997 10.2001 1.49461 9.36637C1.05925 8.53265 0.832248 7.60591 0.83301 6.66536Z",stroke:"url(#paint0_linear_2927_71239)","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"}),e("defs",{children:t("linearGradient",Object.assign({id:"paint0_linear_2927_71239",x1:"-1.94477",y1:"-3.01854",x2:"13.2925",y2:"1.97745",gradientUnits:"userSpaceOnUse"},{children:[e("stop",{"stop-color":"#2546F0"}),e("stop",{offset:"1","stop-color":"#5928ED"})]}))})]}))});export{i as default};
2
2
  //# sourceMappingURL=ReasoningBulbIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"tslib";import{jsxs as C,jsx as t}from"react/jsx-runtime";var i=function(i){var o=i.size,l=i.color,e=void 0===l?"currentColor":l;return C("svg",r({width:o||15,height:o||15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[t("path",{d:"M9.2482 4.85862C9.18364 4.54279 8.73237 4.54279 8.66782 4.85862C8.27178 6.79626 6.75753 8.31052 4.81988 8.70656C4.50405 8.77111 4.50405 9.22238 4.81988 9.28693C6.75753 9.68297 8.27178 11.1972 8.66782 13.1349C8.73237 13.4507 9.18364 13.4507 9.2482 13.1349C9.64424 11.1972 11.1585 9.68297 13.0961 9.28693C13.412 9.22238 13.412 8.77111 13.0961 8.70656C11.1585 8.31052 9.64424 6.79626 9.2482 4.85862Z",fill:e}),t("path",{d:"M3.87303 1.72074C3.86876 1.69986 3.83892 1.69986 3.83465 1.72074C3.6131 2.80472 2.76598 3.65183 1.682 3.87339C1.66112 3.87766 1.66112 3.9075 1.682 3.91177C2.76598 4.13332 3.6131 4.98044 3.83465 6.06441C3.83892 6.0853 3.86876 6.0853 3.87303 6.06441C4.09459 4.98044 4.9417 4.13332 6.02568 3.91177C6.04656 3.9075 6.04656 3.87766 6.02568 3.87339C4.9417 3.65183 4.09459 2.80472 3.87303 1.72074Z",fill:e})]}))};export{i as default};
1
+ import{jsxs as C,jsx as t}from"react/jsx-runtime";const e=({size:e,color:i="currentColor"})=>C("svg",Object.assign({width:e||15,height:e||15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[t("path",{d:"M9.2482 4.85862C9.18364 4.54279 8.73237 4.54279 8.66782 4.85862C8.27178 6.79626 6.75753 8.31052 4.81988 8.70656C4.50405 8.77111 4.50405 9.22238 4.81988 9.28693C6.75753 9.68297 8.27178 11.1972 8.66782 13.1349C8.73237 13.4507 9.18364 13.4507 9.2482 13.1349C9.64424 11.1972 11.1585 9.68297 13.0961 9.28693C13.412 9.22238 13.412 8.77111 13.0961 8.70656C11.1585 8.31052 9.64424 6.79626 9.2482 4.85862Z",fill:i}),t("path",{d:"M3.87303 1.72074C3.86876 1.69986 3.83892 1.69986 3.83465 1.72074C3.6131 2.80472 2.76598 3.65183 1.682 3.87339C1.66112 3.87766 1.66112 3.9075 1.682 3.91177C2.76598 4.13332 3.6131 4.98044 3.83465 6.06441C3.83892 6.0853 3.86876 6.0853 3.87303 6.06441C4.09459 4.98044 4.9417 4.13332 6.02568 3.91177C6.04656 3.9075 6.04656 3.87766 6.02568 3.87339C4.9417 3.65183 4.09459 2.80472 3.87303 1.72074Z",fill:i})]}));export{e as default};
2
2
  //# sourceMappingURL=RelevanceScoreIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsxs as r,jsx as o}from"react/jsx-runtime";var e=function(){return r("svg",t({width:"21",height:"54",viewBox:"0 0 21 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[o("path",{d:"M1.26074 1.57324L16.4268 10.8262C18.9563 12.3695 20.4999 15.1188 20.5 18.082V37.0273C20.4999 40.16 18.7767 43.0386 16.0156 44.5186L1.23633 52.4404L0.5 52.835V1.10938L1.26074 1.57324Z",fill:"#F8FAFC",stroke:"#E0E0E0"}),o("path",{d:"M13.5 32L8.5 27L13.5 22",stroke:"black","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})]}))};export{e as SidebarCloseIcon,e as default};
1
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";const o=()=>t("svg",Object.assign({width:"21",height:"54",viewBox:"0 0 21 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[e("path",{d:"M1.26074 1.57324L16.4268 10.8262C18.9563 12.3695 20.4999 15.1188 20.5 18.082V37.0273C20.4999 40.16 18.7767 43.0386 16.0156 44.5186L1.23633 52.4404L0.5 52.835V1.10938L1.26074 1.57324Z",fill:"#F8FAFC",stroke:"#E0E0E0"}),e("path",{d:"M13.5 32L8.5 27L13.5 22",stroke:"black","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})]}));export{o as SidebarCloseIcon,o as default};
2
2
  //# sourceMappingURL=SidebarCloseIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsxs as r,jsx as o}from"react/jsx-runtime";var e=function(){return r("svg",t({width:"21",height:"54",viewBox:"0 0 20 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[o("path",{d:"M0.260742 1.57324L15.4268 10.8262C17.9563 12.3695 19.4999 15.1188 19.5 18.082V37.0273C19.4999 40.16 17.7767 43.0386 15.0156 44.5186L0.236328 52.4404L-0.5 52.835V1.10938L0.260742 1.57324Z",fill:"#F8FAFC",stroke:"#E0E0E0"}),o("path",{d:"M7.5 32L12.5 27L7.5 22",stroke:"#111827","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})]}))};export{e as SidebarOpenIcon,e as default};
1
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";const o=()=>t("svg",Object.assign({width:"21",height:"54",viewBox:"0 0 20 54",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[e("path",{d:"M0.260742 1.57324L15.4268 10.8262C17.9563 12.3695 19.4999 15.1188 19.5 18.082V37.0273C19.4999 40.16 17.7767 43.0386 15.0156 44.5186L0.236328 52.4404L-0.5 52.835V1.10938L0.260742 1.57324Z",fill:"#F8FAFC",stroke:"#E0E0E0"}),e("path",{d:"M7.5 32L12.5 27L7.5 22",stroke:"#111827","stroke-width":"1.66667","stroke-linecap":"round","stroke-linejoin":"round"})]}));export{o as SidebarOpenIcon,o as default};
2
2
  //# sourceMappingURL=SidebarOpenIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as o}from"tslib";import{jsxs as r,jsx as t}from"react/jsx-runtime";var e=function(e){var i=e.size,n=void 0===i?16:i,s=e.color,a=void 0===s?"currentColor":s,d=e.className,c=e.strokeWidth;return r("svg",o({xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:a,strokeWidth:void 0===c?2:c,strokeLinecap:"round",strokeLinejoin:"round",className:d},{children:[t("path",{d:"M3 6h18"}),t("path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"}),t("path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"}),t("line",{x1:"10",x2:"10",y1:"11",y2:"17"}),t("line",{x1:"14",x2:"14",y1:"11",y2:"17"})]}))};export{e as TrashIcon,e as default};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";const o=({size:o=16,color:r="currentColor",className:s,strokeWidth:i=2})=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round",className:s},{children:[t("path",{d:"M3 6h18"}),t("path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"}),t("path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"}),t("line",{x1:"10",x2:"10",y1:"11",y2:"17"}),t("line",{x1:"14",x2:"14",y1:"11",y2:"17"})]}));export{o as TrashIcon,o as default};
2
2
  //# sourceMappingURL=TrashIcon.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as r,__assign as e}from"tslib";import{jsx as o,jsxs as a}from"react/jsx-runtime";import*as n from"@radix-ui/react-accordion";import{ChevronDown as c}from"lucide-react";import*as i from"react";import s from"./Accordian.module.css.js";var t,l,d=n.Root,m=i.forwardRef(function(a,c){var i=a.className,t=r(a,["className"]);return o(n.Item,e({ref:c,className:[s.accordionItem,i].filter(Boolean).join(" ")},t))});m.displayName="AccordionItem";var f=i.forwardRef(function(i,t){var l=i.className,d=i.children,m=i.shouldPreventAccordionToggle,f=i.hideChevron,h=i.chevronPosition,v=void 0===h?"start":h,N=r(i,["className","children","shouldPreventAccordionToggle","hideChevron","chevronPosition"]);return o(n.Header,e({className:s.accordionHeader},{children:a(n.Trigger,e({ref:t,className:[s.accordionTrigger,l].filter(Boolean).join(" ")},N,{children:["start"===v&&!m&&!f&&o(c,{className:s.chevronIcon}),d,"end"===v&&!m&&!f&&o(c,{className:s.chevronIcon})]}))}))});f.displayName=null!==(t=n.Trigger.displayName)&&void 0!==t?t:"AccordionTrigger";var h=i.forwardRef(function(a,c){var i=a.className,t=a.children,l=r(a,["className","children"]);return o(n.Content,e({ref:c,className:s.accordionContent},l,{children:o("div",e({className:[s.accordionContentInner,i].filter(Boolean).join(" ")},{children:t}))}))});h.displayName=null!==(l=n.Content.displayName)&&void 0!==l?l:"AccordionContent";export{d as Accordion,h as AccordionContent,m as AccordionItem,f as AccordionTrigger};
1
+ import{__rest as e}from"tslib";import{jsx as r,jsxs as o}from"react/jsx-runtime";import*as a from"@radix-ui/react-accordion";import{ChevronDown as c}from"lucide-react";import*as n from"react";import i from"./Accordian.module.css.js";var s,t;const l=a.Root,d=n.forwardRef((o,c)=>{var{className:n}=o,s=e(o,["className"]);return r(a.Item,Object.assign({ref:c,className:[i.accordionItem,n].filter(Boolean).join(" ")},s))});d.displayName="AccordionItem";const m=n.forwardRef((n,s)=>{var{className:t,children:l,shouldPreventAccordionToggle:d,hideChevron:m,chevronPosition:f="start"}=n,h=e(n,["className","children","shouldPreventAccordionToggle","hideChevron","chevronPosition"]);return r(a.Header,Object.assign({className:i.accordionHeader},{children:o(a.Trigger,Object.assign({ref:s,className:[i.accordionTrigger,t].filter(Boolean).join(" ")},h,{children:["start"===f&&!d&&!m&&r(c,{className:i.chevronIcon}),l,"end"===f&&!d&&!m&&r(c,{className:i.chevronIcon})]}))}))});m.displayName=null!==(s=a.Trigger.displayName)&&void 0!==s?s:"AccordionTrigger";const f=n.forwardRef((o,c)=>{var{className:n,children:s}=o,t=e(o,["className","children"]);return r(a.Content,Object.assign({ref:c,className:i.accordionContent},t,{children:r("div",Object.assign({className:[i.accordionContentInner,n].filter(Boolean).join(" ")},{children:s}))}))});f.displayName=null!==(t=a.Content.displayName)&&void 0!==t?t:"AccordionContent";export{l as Accordion,f as AccordionContent,d as AccordionItem,m as AccordionTrigger};
2
2
  //# sourceMappingURL=Accordian.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsx as e}from"react/jsx-runtime";import l from"./AtomicButton.module.css.js";import{Button as i}from"@mui/material";import{useRequirementAI as c}from"../components/RequirementAIWrapper/RequirementAIWrapper.js";var o=function(o){var a=o.onClick,s=o.isDisable,n=void 0!==s&&s,r=o.children,d=o.type,m=void 0===d?"fill":d,p=o.className,I=void 0===p?"":p,u=o.overrideStyles,y=void 0!==u&&u,U=o.style,f=o.lscUIAgent,v="fill"===m?n?l.fillDisabled:l.fill:l.outline,b=c().customStyles,h=y?"".concat(I," ").concat(v).trim():"".concat(I," ").concat(l.base," ").concat(v).trim();return e(i,t({className:h,onClick:a,disabled:n,style:t(t({},null==b?void 0:b.atomicButton),U)},f?t(t(t(t(t(t(t({},f.id?{id:f.id}:{}),f.lscUIType?{"data-lsc-ui-type":f.lscUIType}:{}),f.lscUILabel?{"data-lsc-ui-label":f.lscUILabel}:{}),f.lscUIDescription?{"data-lsc-ui-description":f.lscUIDescription}:{}),f.lscUIWhenToApply?{"data-lsc-ui-when-to-apply":f.lscUIWhenToApply}:{}),f.lscUIInteractionDelayInSeconds?{"data-lsc-ui-interaction-delay-in-seconds":f.lscUIInteractionDelayInSeconds}:{}),f.lscUIInteractBehaviorControl?{"data-lsc-ui-interact-behavior-control":f.lscUIInteractBehaviorControl}:{}):{},{children:r}))};export{o as default};
1
+ import{jsx as e}from"react/jsx-runtime";import s from"./AtomicButton.module.css.js";import{Button as t}from"@mui/material";import{useRequirementAI as i}from"../components/RequirementAIWrapper/RequirementAIWrapper.js";const l=({onClick:l,isDisable:c=!1,children:a,type:n="fill",className:o="",overrideStyles:r=!1,style:d,lscUIAgent:p})=>{const m="fill"===n?c?s.fillDisabled:s.fill:s.outline,{customStyles:I}=i(),b=r?`${o} ${m}`.trim():`${o} ${s.base} ${m}`.trim();return e(t,Object.assign({className:b,onClick:l,disabled:c,style:Object.assign(Object.assign({},null==I?void 0:I.atomicButton),d)},p?Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p.id?{id:p.id}:{}),p.lscUIType?{"data-lsc-ui-type":p.lscUIType}:{}),p.lscUILabel?{"data-lsc-ui-label":p.lscUILabel}:{}),p.lscUIDescription?{"data-lsc-ui-description":p.lscUIDescription}:{}),p.lscUIWhenToApply?{"data-lsc-ui-when-to-apply":p.lscUIWhenToApply}:{}),p.lscUIInteractionDelayInSeconds?{"data-lsc-ui-interaction-delay-in-seconds":p.lscUIInteractionDelayInSeconds}:{}),p.lscUIInteractBehaviorControl?{"data-lsc-ui-interact-behavior-control":p.lscUIInteractBehaviorControl}:{}):{},{children:a}))};export{l as default};
2
2
  //# sourceMappingURL=AtomicButton.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as n}from"tslib";import{jsx as e,jsxs as o}from"react/jsx-runtime";import{Tooltip as c}from"@mui/material";import i from"./CitationAIConfidenceDisplay.module.css.js";import r from"../icons/RelevanceScoreIcon.js";import{ArrowUp as l}from"lucide-react";var t=function(l,t,a,s){var d;if("number"!=typeof l||isNaN(l))return null;var u=(null==s?void 0:s.confidenceScoreIcon)||e(r,{size:20,color:null===(d=null==a?void 0:a.icon)||void 0===d?void 0:d.color}),m=o("div",n({className:"".concat(i.container," ").concat(t?i.legacy:i.modern),style:null==a?void 0:a.container},{children:[u,e("span",n({style:null==a?void 0:a.label},{children:t?"Citation Relevance: ".concat(l,"%"):"".concat(l,"%")}))]}));return t?m:e(c,n({title:"Citation Relevance",arrow:!0},{children:m}))},a=function(c,t,a,s){if("number"==typeof c&&!isNaN(c)){var d=!!(null==s?void 0:s.confidenceScoreIcon),u=(null==s?void 0:s.confidenceScoreIcon)||e(r,{size:20});return o("div",n({className:i.decisioncontainer,style:null==a?void 0:a.container},{children:[u,e("span",n({style:null==a?void 0:a.text},{children:d?"".concat(c,"%"):"Decision Strength: ".concat(c,"%")})),Number(t||0)>0&&o("span",n({className:i.scoreIncrease,style:null==a?void 0:a.scoreIncrease},{children:[e(l,{className:i.arrowIcon,style:null==a?void 0:a.arrowIcon}),null==t?void 0:t.toFixed(2),"%"]}))]}))}return null};export{a as renderAIConfidenceDisplay,t as renderCitationAIConfidenceDisplay};
1
+ import{jsx as e,jsxs as n}from"react/jsx-runtime";import{Tooltip as o}from"@mui/material";import i from"./CitationAIConfidenceDisplay.module.css.js";import c from"../icons/RelevanceScoreIcon.js";import{ArrowUp as l}from"lucide-react";const r=(l,r,s,t)=>{var a;if("number"!=typeof l||isNaN(l))return null;const d=(null==t?void 0:t.confidenceScoreIcon)||e(c,{size:20,color:null===(a=null==s?void 0:s.icon)||void 0===a?void 0:a.color}),u=n("div",Object.assign({className:`${i.container} ${r?i.legacy:i.modern}`,style:null==s?void 0:s.container},{children:[d,e("span",Object.assign({style:null==s?void 0:s.label},{children:r?`Citation Relevance: ${l}%`:`${l}%`}))]}));return r?u:e(o,Object.assign({title:"Citation Relevance",arrow:!0},{children:u}))},s=(o,r,s,t)=>{if("number"==typeof o&&!isNaN(o)){const a=!!(null==t?void 0:t.confidenceScoreIcon),d=(null==t?void 0:t.confidenceScoreIcon)||e(c,{size:20});return n("div",Object.assign({className:i.decisioncontainer,style:null==s?void 0:s.container},{children:[d,e("span",Object.assign({style:null==s?void 0:s.text},{children:a?`${o}%`:`Decision Strength: ${o}%`})),Number(r||0)>0&&n("span",Object.assign({className:i.scoreIncrease,style:null==s?void 0:s.scoreIncrease},{children:[e(l,{className:i.arrowIcon,style:null==s?void 0:s.arrowIcon}),null==r?void 0:r.toFixed(2),"%"]}))]}))}return null};export{s as renderAIConfidenceDisplay,r as renderCitationAIConfidenceDisplay};
2
2
  //# sourceMappingURL=CitationAIConfidenceDisplay.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsxs as i,jsx as o}from"react/jsx-runtime";import{RefreshCcw as e}from"lucide-react";import n from"./CitationLoadingIndicator.module.css.js";var r=function(r){var a=r.customStyles;return i("div",t({className:n.container,style:null==a?void 0:a.container},{children:[o(e,{className:n.icon,style:null==a?void 0:a.icon}),o("span",t({className:n.text,style:null==a?void 0:a.text},{children:"Loading Citations"}))]}))};export{r as default};
1
+ import{jsxs as t,jsx as i}from"react/jsx-runtime";import{RefreshCcw as s}from"lucide-react";import e from"./CitationLoadingIndicator.module.css.js";const o=({customStyles:o})=>t("div",Object.assign({className:e.container,style:null==o?void 0:o.container},{children:[i(s,{className:e.icon,style:null==o?void 0:o.icon}),i("span",Object.assign({className:e.text,style:null==o?void 0:o.text},{children:"Loading Citations"}))]}));export{o as default};
2
2
  //# sourceMappingURL=CitationLoadingIndicator.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as i}from"react/jsx-runtime";import o from"@monaco-editor/react";import t from"./CodeViewer.module.css.js";function a(a){var n=a.code,r=a.language,m=void 0===r?"typescript":r,d=a.readOnly,l=void 0!==d&&d,s=a.lineHeight,c=void 0===s?20:s,p=a.minHeight,h=void 0===p?60:p,g=a.maxHeight,v=void 0===g?600:g,u=n.split("\n").length,f=Math.min(v,Math.max(h,u*c+20));return i("div",e({className:t.container},{children:i(o,{height:"".concat(f,"px"),language:m,value:n,theme:"vs-dark",options:{readOnly:l,fontSize:14,lineHeight:c,minimap:{enabled:!1},scrollBeyondLastLine:!1,wordWrap:"on"}})}))}export{a as default};
1
+ import{jsx as e}from"react/jsx-runtime";import t from"@monaco-editor/react";import i from"./CodeViewer.module.css.js";function n({code:n,language:a="typescript",readOnly:o=!1,lineHeight:r=20,minHeight:m=60,maxHeight:l=600}){const s=n.split("\n").length,c=Math.min(l,Math.max(m,s*r+20));return e("div",Object.assign({className:i.container},{children:e(t,{height:`${c}px`,language:a,value:n,theme:"vs-dark",options:{readOnly:o,fontSize:14,lineHeight:r,minimap:{enabled:!1},scrollBeyondLastLine:!1,wordWrap:"on"}})}))}export{n as default};
2
2
  //# sourceMappingURL=CodeViewer.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as t,jsxs as l,Fragment as n}from"react/jsx-runtime";import{useState as o,useCallback as r,isValidElement as i,cloneElement as s,Children as c,useMemo as d}from"react";import{ArrowRight as u}from"lucide-react";import a from"./ExpandableOl.module.css.js";import p from"./ReqAiCitationRenderer.js";var m=function(m){var y=m.label,h=m.children,v=m.onProceed,f=m.isProceedDisabled,b=m.defaultVisibleItems,S=void 0===b?2:b,g=m.customStyles,x=m.citationStyles,B=m.customIcons,C=o(!1),N=C[0],P=C[1],k=r(function(l){var n,o;if(!i(l))return l;var r=l;return"a"===(null===(n=null==r?void 0:r.type)||void 0===n?void 0:n.name)?t(p,e({href:r.props.href,citationStyles:x,customIcons:B},{children:r.props.children})):(null===(o=r.props)||void 0===o?void 0:o.children)?s(r,{children:c.map(r.props.children,k)}):r},[x,B]),j=d(function(){return c.toArray(h).map(function(e){return k(e)})},[h,k]),A=c.toArray(h).length>S,I=d(function(){return N?j:j.slice(0,2)},[N,j]);return l(n,{children:[t("ol",e({className:a.list,style:null==g?void 0:g.listStyle},{children:I.map(function(o,r){var c=r===I.length-1;return i(o)?s(o,c&&A?{style:e(e({},o.props.style),null==g?void 0:g.itemStyle),children:l(n,{children:[t("span",e({style:null==g?void 0:g.itemTextStyle},{children:o.props.children})),!N&&t("button",e({type:"button",onClick:function(){return P(!0)},className:a.toggleButton,style:null==g?void 0:g.moreButton},{children:"show more"})),N&&t("button",e({type:"button",onClick:function(){return P(!1)},className:a.toggleButton,style:null==g?void 0:g.toggleButton},{children:"see less"}))]})}:{style:e(e({},o.props.style),null==g?void 0:g.itemStyle),children:t("span",e({style:null==g?void 0:g.itemTextStyle},{children:o.props.children}))}):t("li",e({style:null==g?void 0:g.itemStyle},{children:t("span",e({style:null==g?void 0:g.itemTextStyle},{children:o}))}),r)})})),v&&t("div",e({className:a.proceedContainer},{children:l("button",e({type:"button",disabled:f,onClick:function(e){e.stopPropagation(),f||v()},className:"".concat(a.proceedButton," ").concat(f?a.proceedDisabled:a.proceedEnabled),style:f?null==g?void 0:g.disableProceedStyle:null==g?void 0:g.enableProceedStyle},{children:[t("span",{children:null!=y?y:""}),t(u,{size:15,strokeWidth:1.5})]}))}))]})};export{m as default};
1
+ import{jsx as e,jsxs as t,Fragment as l}from"react/jsx-runtime";import{useState as s,useCallback as n,isValidElement as i,cloneElement as o,Children as r,useMemo as c}from"react";import{ArrowRight as d}from"lucide-react";import a from"./ExpandableOl.module.css.js";import p from"./ReqAiCitationRenderer.js";const u=({label:u,children:m,onProceed:y,isProceedDisabled:b,defaultVisibleItems:h=2,customStyles:g,citationStyles:v,customIcons:j})=>{const[O,S]=s(!1),f=n(t=>{var l,s;if(!i(t))return t;const n=t;return"a"===(null===(l=null==n?void 0:n.type)||void 0===l?void 0:l.name)?e(p,Object.assign({href:n.props.href,citationStyles:v,customIcons:j},{children:n.props.children})):(null===(s=n.props)||void 0===s?void 0:s.children)?o(n,{children:r.map(n.props.children,f)}):n},[v,j]),x=c(()=>r.toArray(m).map(e=>f(e)),[m,f]),B=r.toArray(m).length>h,C=c(()=>O?x:x.slice(0,2),[O,x]);return t(l,{children:[e("ol",Object.assign({className:a.list,style:null==g?void 0:g.listStyle},{children:C.map((s,n)=>{const r=n===C.length-1;return i(s)?o(s,r&&B?{style:Object.assign(Object.assign({},s.props.style),null==g?void 0:g.itemStyle),children:t(l,{children:[e("span",Object.assign({style:null==g?void 0:g.itemTextStyle},{children:s.props.children})),!O&&e("button",Object.assign({type:"button",onClick:()=>S(!0),className:a.toggleButton,style:null==g?void 0:g.moreButton},{children:"show more"})),O&&e("button",Object.assign({type:"button",onClick:()=>S(!1),className:a.toggleButton,style:null==g?void 0:g.toggleButton},{children:"see less"}))]})}:{style:Object.assign(Object.assign({},s.props.style),null==g?void 0:g.itemStyle),children:e("span",Object.assign({style:null==g?void 0:g.itemTextStyle},{children:s.props.children}))}):e("li",Object.assign({style:null==g?void 0:g.itemStyle},{children:e("span",Object.assign({style:null==g?void 0:g.itemTextStyle},{children:s}))}),n)})})),y&&e("div",Object.assign({className:a.proceedContainer},{children:t("button",Object.assign({type:"button",disabled:b,onClick:e=>{e.stopPropagation(),b||y()},className:`${a.proceedButton} ${b?a.proceedDisabled:a.proceedEnabled}`,style:b?null==g?void 0:g.disableProceedStyle:null==g?void 0:g.enableProceedStyle},{children:[e("span",{children:null!=u?u:""}),e(d,{size:15,strokeWidth:1.5})]}))}))]})};export{u as default};
2
2
  //# sourceMappingURL=ExpandableOl.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsx as o,Fragment as n}from"react/jsx-runtime";import e from"./GeneratedCodeCitation.module.css.js";import{ChevronDown as i,ChevronUp as r}from"lucide-react";import l from"./CodeViewer.js";import a from"../../CitationRenderer/CitationRenderer.js";var m=function(m){var c,d;return o(a,{inLineCitation:!0,citationTitle:m.title,citationIcon:o(n,{}),citationComponent:o(l,{code:m.code,language:m.language,readOnly:!0}),chevronDownComponent:o(i,{}),chevronUpComponent:o(r,{}),styles:{pillButton:t(t({},e.pillButton),null===(c=m.customStyles)||void 0===c?void 0:c.pill),citationContent:t(t({},e.citationContent),null===(d=m.customStyles)||void 0===d?void 0:d.content)}})};export{m as default};
1
+ import{jsx as t,Fragment as o}from"react/jsx-runtime";import e from"./GeneratedCodeCitation.module.css.js";import{ChevronDown as n,ChevronUp as i}from"lucide-react";import r from"./CodeViewer.js";import a from"../../CitationRenderer/CitationRenderer.js";const c=c=>{var s,l;return t(a,{inLineCitation:!0,citationTitle:c.title,citationIcon:t(o,{}),citationComponent:t(r,{code:c.code,language:c.language,readOnly:!0}),chevronDownComponent:t(n,{}),chevronUpComponent:t(i,{}),styles:{pillButton:Object.assign(Object.assign({},e.pillButton),null===(s=c.customStyles)||void 0===s?void 0:s.pill),citationContent:Object.assign(Object.assign({},e.citationContent),null===(l=c.customStyles)||void 0===l?void 0:l.content)}})};export{c as default};
2
2
  //# sourceMappingURL=GeneratedCodeCitation.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsx as i,Fragment as o,jsxs as n}from"react/jsx-runtime";import{Suspense as a}from"react";import e from"../components/citations/web-citation/WebCitationWithImageRenderer.js";import c from"../components/citations/web-citation/WebCitationRenderer.js";import l from"../components/citations/stormee-citation/StormeeCitationRenderer.js";import d from"../components/citations/audio-citation/WaveformCitationRenderer.js";import s from"../components/citations/image-citation/ImageCitationRenderer.js";import r from"../components/citations/file-citation/FileCitationRender.js";import m from"../components/citations/appmod-citation/AppmodCitationRenderer.js";import u from"../components/citations/rca-citation/RCACitationRenderer.js";import p from"../components/citations/readfile-citation/ReadFileCitationRenderer.js";import v from"../components/citations/audio-citation/components/AudioCitationIcon.js";import{useRequirementAI as f}from"../components/RequirementAIWrapper/RequirementAIWrapper.js";import _ from"./ReqAiCitationRenderer.module.css.js";var C=function(C){var g,b,y,R,I,h,k,M,j,S,w,A,F,W,q,L,$,x=C.href;C.panelRef;var N=C.children;C.customStyles;var J=C.citationStyles,O=C.customIcons,U=f(),z=U.citationConfig,B=U.citations,D="";try{D=JSON.parse('"'.concat(x,'"'))}catch(t){console.warn("error in parsing reasoning a tag",t),D=x}var E=null===(b=null===(g=D.split("$"))||void 0===g?void 0:g[0])||void 0===b?void 0:b.replace(/^[\\"\s]+|[\\"\s]+$/g,""),G=null===(R=null===(y=D.split("$"))||void 0===y?void 0:y[1])||void 0===R?void 0:R.replace(/^[\\"\s]+|[\\"\s]+$/g,""),H=("appmode_citation"===E||"appmode_citations"===E?(null==B?void 0:B.appmod_citations)||[]:"image_citation"===E||"image_citations"===E?(null==B?void 0:B.image_citations)||[]:"audio_citation"===E||"audio_citations"===E?(null==B?void 0:B.audio_citations)||[]:"document_citation"===E||"document_citations"===E?(null==B?void 0:B.file_citations)||[]:"rca_citation"===E||"rca_citations"===E?(null==B?void 0:B.rca_citations)||[]:"web_citation"===E||"web_citations"===E?(null==B?void 0:B.web_citations)||[]:"code_generated"===E?(null==B?void 0:B.code_generated)||[]:"readfile_citation"===E||"readfile_citations"===E?(null==B?void 0:B.readfile_citations)||[]:("gpt_citation"===E||"gpt_citations"===E)&&(null==B?void 0:B.gpt_citations)||[]).find(function(t){return t.citation_number===decodeURIComponent(G)});return"image_citation"!==E||H?"web_citation"===(null===(I=null==H?void 0:H.customMetadata)||void 0===I?void 0:I.type)?(null===(h=H.customMetadata)||void 0===h?void 0:h.screenshot_url)?i(e,{title:N,citation:H,customStyles:null==J?void 0:J.webCitation,customIcons:O}):i(c,{label:N,url:null===(k=H.customMetadata)||void 0===k?void 0:k.link,customStyles:null==J?void 0:J.webCitation,customIcons:O}):"audio_transcript"===(null===(M=null==H?void 0:H.customMetadata)||void 0===M?void 0:M.type)?"stormee"===(null==H?void 0:H.customMetadata.audio_citation_mode)?i(a,t({fallback:i(o,{})},{children:i(l,{title:"".concat(N),citation:H,customStyles:null==J?void 0:J.stormeeCitation,customIcons:O})})):i(a,t({fallback:i(o,{})},{children:i(d,{title:"".concat(N),citation:H,customStyles:null==J?void 0:J.waveformCitation,customIcons:O})})):"image_citation"===(null==H?void 0:H.customMetadata.type)?i(a,t({fallback:i(o,{})},{children:i(s,{title:"".concat(N),citation:H,customIcons:O,customStyles:null==J?void 0:J.imageCitation})})):"book_citation_doc"===(null===(j=null==H?void 0:H.customMetadata)||void 0===j?void 0:j.type)||"book_citation_pdf"===(null==H?void 0:H.customMetadata.type)?i(a,t({fallback:i(o,{})},{children:i(r,{title:"".concat(N),citation:H,customIcons:O,customStyles:null==J?void 0:J.fileCitation})})):"app_mod_rag_question"===(null===(S=null==H?void 0:H.customMetadata)||void 0===S?void 0:S.type)?i(a,t({fallback:i(o,{})},{children:i(m,{title:"".concat(N),citation:H,customIcons:O,customStyles:null==J?void 0:J.appModCitation,codeLinkConfig:null===(w=null==z?void 0:z.appMod)||void 0===w?void 0:w.codeLinkConfig,isLoading:null===(A=null==z?void 0:z.appMod)||void 0===A?void 0:A.isLoading})})):"rca_citation"===(null===(F=null==H?void 0:H.customMetadata)||void 0===F?void 0:F.type)?i(a,t({fallback:i(o,{})},{children:i(u,{title:"".concat(N),citation:H,customIcons:O,customStyles:null==J?void 0:J.rcaCitation})})):"readfile_citation"===(null===(W=null==H?void 0:H.customMetadata)||void 0===W?void 0:W.type)?i(a,t({fallback:i(o,{})},{children:i(p,{title:"".concat(N),citation:H,customIcons:O,customStyles:null==J?void 0:J.readFileCitation,fileCallback:null===(q=null==z?void 0:z.readFile)||void 0===q?void 0:q.fileCallback,editorConfig:null===(L=null==z?void 0:z.readFile)||void 0===L?void 0:L.editorConfig,customColors:null===($=null==z?void 0:z.readFile)||void 0===$?void 0:$.customColors})})):n("span",t({className:_.container},{children:[i("span",t({className:_.text},{children:N})),n("span",{children:[" ",i("audio_citations"===E?v:o,{})]})]})):i(o,{})};export{C as default};
1
+ import{jsx as i,Fragment as t,jsxs as o}from"react/jsx-runtime";import{Suspense as n}from"react";import a from"../components/citations/web-citation/WebCitationWithImageRenderer.js";import e from"../components/citations/web-citation/WebCitationRenderer.js";import c from"../components/citations/stormee-citation/StormeeCitationRenderer.js";import l from"../components/citations/audio-citation/WaveformCitationRenderer.js";import s from"../components/citations/image-citation/ImageCitationRenderer.js";import d from"../components/citations/file-citation/FileCitationRender.js";import r from"../components/citations/appmod-citation/AppmodCitationRenderer.js";import m from"../components/citations/rca-citation/RCACitationRenderer.js";import u from"../components/citations/readfile-citation/ReadFileCitationRenderer.js";import p from"../components/citations/audio-citation/components/AudioCitationIcon.js";import{useRequirementAI as v}from"../components/RequirementAIWrapper/RequirementAIWrapper.js";import _ from"./ReqAiCitationRenderer.module.css.js";const f=({href:f,panelRef:g,children:b,customStyles:C,citationStyles:j,customIcons:y})=>{var R,I,h,k,M,S,$,w,O,A,F,W,q,L,x,N,J;const{citationConfig:U,citations:z}=v();let B="";try{B=JSON.parse(`"${f}"`)}catch(i){console.warn("error in parsing reasoning a tag",i),B=f}const D=null===(I=null===(R=B.split("$"))||void 0===R?void 0:R[0])||void 0===I?void 0:I.replace(/^[\\"\s]+|[\\"\s]+$/g,""),E=null===(k=null===(h=B.split("$"))||void 0===h?void 0:h[1])||void 0===k?void 0:k.replace(/^[\\"\s]+|[\\"\s]+$/g,""),G=("appmode_citation"===D||"appmode_citations"===D?(null==z?void 0:z.appmod_citations)||[]:"image_citation"===D||"image_citations"===D?(null==z?void 0:z.image_citations)||[]:"audio_citation"===D||"audio_citations"===D?(null==z?void 0:z.audio_citations)||[]:"document_citation"===D||"document_citations"===D?(null==z?void 0:z.file_citations)||[]:"rca_citation"===D||"rca_citations"===D?(null==z?void 0:z.rca_citations)||[]:"web_citation"===D||"web_citations"===D?(null==z?void 0:z.web_citations)||[]:"code_generated"===D?(null==z?void 0:z.code_generated)||[]:"readfile_citation"===D||"readfile_citations"===D?(null==z?void 0:z.readfile_citations)||[]:("gpt_citation"===D||"gpt_citations"===D)&&(null==z?void 0:z.gpt_citations)||[]).find(i=>i.citation_number===decodeURIComponent(E));return"image_citation"!==D||G?"web_citation"===(null===(M=null==G?void 0:G.customMetadata)||void 0===M?void 0:M.type)?(null===(S=G.customMetadata)||void 0===S?void 0:S.screenshot_url)?i(a,{title:b,citation:G,customStyles:null==j?void 0:j.webCitation,customIcons:y}):i(e,{label:b,url:null===($=G.customMetadata)||void 0===$?void 0:$.link,customStyles:null==j?void 0:j.webCitation,customIcons:y}):"audio_transcript"===(null===(w=null==G?void 0:G.customMetadata)||void 0===w?void 0:w.type)?"stormee"===(null==G?void 0:G.customMetadata.audio_citation_mode)?i(n,Object.assign({fallback:i(t,{})},{children:i(c,{title:`${b}`,citation:G,customStyles:null==j?void 0:j.stormeeCitation,customIcons:y})})):i(n,Object.assign({fallback:i(t,{})},{children:i(l,{title:`${b}`,citation:G,customStyles:null==j?void 0:j.waveformCitation,customIcons:y})})):"image_citation"===(null==G?void 0:G.customMetadata.type)?i(n,Object.assign({fallback:i(t,{})},{children:i(s,{title:`${b}`,citation:G,customIcons:y,customStyles:null==j?void 0:j.imageCitation})})):"book_citation_doc"===(null===(O=null==G?void 0:G.customMetadata)||void 0===O?void 0:O.type)||"book_citation_pdf"===(null==G?void 0:G.customMetadata.type)?i(n,Object.assign({fallback:i(t,{})},{children:i(d,{title:`${b}`,citation:G,customIcons:y,customStyles:null==j?void 0:j.fileCitation})})):"app_mod_rag_question"===(null===(A=null==G?void 0:G.customMetadata)||void 0===A?void 0:A.type)?i(n,Object.assign({fallback:i(t,{})},{children:i(r,{title:`${b}`,citation:G,customIcons:y,customStyles:null==j?void 0:j.appModCitation,codeLinkConfig:null===(F=null==U?void 0:U.appMod)||void 0===F?void 0:F.codeLinkConfig,isLoading:null===(W=null==U?void 0:U.appMod)||void 0===W?void 0:W.isLoading})})):"rca_citation"===(null===(q=null==G?void 0:G.customMetadata)||void 0===q?void 0:q.type)?i(n,Object.assign({fallback:i(t,{})},{children:i(m,{title:`${b}`,citation:G,customIcons:y,customStyles:null==j?void 0:j.rcaCitation})})):"readfile_citation"===(null===(L=null==G?void 0:G.customMetadata)||void 0===L?void 0:L.type)?i(n,Object.assign({fallback:i(t,{})},{children:i(u,{title:`${b}`,citation:G,customIcons:y,customStyles:null==j?void 0:j.readFileCitation,fileCallback:null===(x=null==U?void 0:U.readFile)||void 0===x?void 0:x.fileCallback,editorConfig:null===(N=null==U?void 0:U.readFile)||void 0===N?void 0:N.editorConfig,customColors:null===(J=null==U?void 0:U.readFile)||void 0===J?void 0:J.customColors})})):o("span",Object.assign({className:_.container},{children:[i("span",Object.assign({className:_.text},{children:b})),o("span",{children:[" ",i("audio_citations"===D?p:t,{})]})]})):i(t,{})};export{f as default};
2
2
  //# sourceMappingURL=ReqAiCitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as n,__spreadArray as e,__assign as r}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{Undo as l,ThumbsUp as i}from"lucide-react";import{useState as u,useRef as a,useEffect as c}from"react";import d from"./UpdatedAnimationContent.module.css.js";import{getDirectChild as s}from"../utils/diff-edit.utils.js";var f=function(f){var v,p,m,h,y=f.isCraflow,g=f.onCraAccept,C=f.onCraReject,S=f.craFlowConfig,N=f.showUserStoryDiff,w=void 0!==N&&N,b=f.currentUpdatedTagId,T=f.setCurrentUpdatedTagId;f.node;var A=f.userStory,M=f.setUserStory,x=f.setAiReasoning,I=f.diffEditConfig,U=f.customStyles,k=f.customIcons,j=n(f,["isCraflow","onCraAccept","onCraReject","craFlowConfig","showUserStoryDiff","currentUpdatedTagId","setCurrentUpdatedTagId","node","userStory","setUserStory","setAiReasoning","diffEditConfig","customStyles","customIcons"]),E=u(!1),L=E[0],z=E[1],B=u(null),D=B[0],F=B[1],H=a(null),O=a(null),R=null!==(v=null==U?void 0:U.iconSize)&&void 0!==v?v:16,_=null!==(p=null==U?void 0:U.actionIconSize)&&void 0!==p?p:R;c(function(){if(O.current){var n=setTimeout(function(){var n=O.current;n&&(n.style.scrollMarginBottom="20px",n.scrollIntoView({behavior:"smooth",block:"end"}))},200);return function(){return clearTimeout(n)}}},[b]);var q,J=(Array.isArray(null==j?void 0:j.children)?j.children:null!=(null==j?void 0:j.children)?[j.children]:[]).filter(function(n){return"string"!=typeof n}),P=J.find(function(n){return"deleted"===(null==n?void 0:n.type)}),V=J.findIndex(function(n){return"deleted"===(null==n?void 0:n.type)}),W=null===(m=null==P?void 0:P.props)||void 0===m?void 0:m.children,X=J.findIndex(function(n){return"changed"===(null==n?void 0:n.type)}),$=-1!==X?J[X]:null,G=null===(h=null==$?void 0:$.props)||void 0===h?void 0:h.children,K=Math.max(X,V),Q=-1!==K?J.slice(K+1).filter(function(n){return"deleted"!==(null==n?void 0:n.type)&&"changed"!==(null==n?void 0:n.type)}):[];q=G&&Q.length>0?e(e([],Array.isArray(G)?G:[G],!0),Q,!0):G||(Q.length>0?Q:void 0);function Y(n,t,o){var l,i;(null==S?void 0:S.isCraflow)&&S.craUserStory&&(n=S.craUserStory);var u=JSON.parse(JSON.stringify(n)),a=function(n,e){var r=function(n){for(var t=0,o=n;t<o.length;t++){var l=o[t];if((new DOMParser).parseFromString(l.value,"text/html").querySelector('updated[id="'.concat(e,'"]')))return l;if(l.sub_features&&l.sub_features.length>0){var i=r(l.sub_features);if(i)return i}}return null};return r(n)}(u,t);if(!a)return console.warn("No user story found with updated id: ".concat(t)),!1;var c=(new DOMParser).parseFromString(a.value,"text/html"),d=c.querySelector('updated[id="'.concat(t,'"]'));if(!d)return console.warn("No <updated> block found with id: ".concat(t)),!1;var f,v=d.innerHTML,p=s(d,"deleted"),m=s(d,"changed"),h=p?p.innerHTML.trim():null,y=m?m.innerHTML.trim():null,g="";if("reject"===o){var C=(f=(h||y||"").match(/ai_reasoning\$(\d+)/))?parseInt(f[1],10):null;null!==C&&x(function(n){var t=n.map(function(n){return r({},n)}),o="".concat(C,"-legacy"),l=t.find(function(n){var e;return(null===(e=n.id)||void 0===e?void 0:e.toString())===o});if(l){var i=l.id.toString().replace("-legacy","");t=t.filter(function(n){return n.id.toString()!==i}),l.id=i}return e([],t,!0)})}"accept"===o?g=h&&y?y:h&&!y?"":!h&&y?y:v:"reject"===o&&(g=h&&y||h&&!y?h:!h&&y?"":v);var N=c.createElement("div");N.innerHTML=g;var w=Array.from(N.childNodes);d.replaceWith.apply(d,w);var b=new XMLSerializer;return a.value=b.serializeToString(c),(null==S?void 0:S.isCraflow)?S.setCraUserStory(u):M(u),null===(l=null==I?void 0:I.handleDiffEditActionCallback)||void 0===l||l.call(I,o,u),T(function(n){return Number.isNaN(Number(n))?n:String(Number(n)+1)}),null===(i=null==S?void 0:S.onCraFlowDiffAgentAction)||void 0===i||i.call(S,o,u),!0}var Z=function(n){var e=(null==U?void 0:U.actionButton)||{},t=D===n&&(null==U?void 0:U.actionButtonHover)||{};return r(r({},e),t)};return t("span",r({},j,{className:d.container,style:r(r({},null==U?void 0:U.container),{display:"block"}),onMouseEnter:function(){H.current&&(clearTimeout(H.current),H.current=null),z(!0)},onMouseLeave:function(){H.current=setTimeout(function(){z(!1),H.current=null},2e3)},ref:(null==j?void 0:j.id)===b?O:null},{children:[(L||(null==U?void 0:U.showFixedActionButtons))&&!w&&t("span",r({className:d.hoverActions,style:null==U?void 0:U.hoverActions,onMouseEnter:function(){return z(!0)}},{children:[o("button",r({className:d.actionButton,style:Z("undo"),onMouseEnter:function(){return F("undo")},onMouseLeave:function(){return F(null)},onClick:function(){y&&C?C(null==j?void 0:j.id):Y(A,null==j?void 0:j.id,"reject"),z(!1)}},{children:(null==k?void 0:k.undo)?k.undo:o(l,{size:_,color:null==U?void 0:U.undoIconColor,className:d.hw})})),o("span",{className:d.divider,style:null==U?void 0:U.divider}),o("button",r({className:d.actionButton,style:Z("accept"),onMouseEnter:function(){return F("accept")},onMouseLeave:function(){return F(null)},onClick:function(){y&&g?g(null==j?void 0:j.id):Y(A,null==j?void 0:j.id,"accept"),z(!1)}},{children:(null==k?void 0:k.accept)?k.accept:o(i,{size:_,color:null==U?void 0:U.thumbsUpIconColor,className:d.hw})}))]})),W&&o("span",r({className:d.deletedContainer,style:r(r({},null==U?void 0:U.deletedContainer),{display:"block"})},{children:o("span",r({className:d.deletedText,style:r(r({},null==U?void 0:U.deletedText),{display:"block"})},{children:W}))})),q&&o("span",r({className:d.changedContainer,style:r(r({},null==U?void 0:U.changedContainer),{display:"block"})},{children:o("span",r({className:d.changedText,style:r(r({},null==U?void 0:U.changedText),{display:"block"})},{children:q}))}))]}))};export{f as default};
1
+ import{__rest as e}from"tslib";import{jsxs as n,jsx as t}from"react/jsx-runtime";import{Undo as l,ThumbsUp as o}from"lucide-react";import{useState as i,useRef as r,useEffect as s}from"react";import c from"./UpdatedAnimationContent.module.css.js";import{getDirectChild as a}from"../utils/diff-edit.utils.js";const d=d=>{var u,v,f,g,{isCraflow:p,onCraAccept:m,onCraReject:h,craFlowConfig:y,showUserStoryDiff:b=!1,currentUpdatedTagId:j,setCurrentUpdatedTagId:C,node:O,userStory:S,setUserStory:N,setAiReasoning:w,diffEditConfig:T,customStyles:A,customIcons:M}=d,x=e(d,["isCraflow","onCraAccept","onCraReject","craFlowConfig","showUserStoryDiff","currentUpdatedTagId","setCurrentUpdatedTagId","node","userStory","setUserStory","setAiReasoning","diffEditConfig","customStyles","customIcons"]);const[I,U]=i(!1),[k,E]=i(null),L=r(null),z=r(null),B=null!==(u=null==A?void 0:A.iconSize)&&void 0!==u?u:16,D=null!==(v=null==A?void 0:A.actionIconSize)&&void 0!==v?v:B;s(()=>{if(!z.current)return;const e=setTimeout(()=>{const e=z.current;e&&(e.style.scrollMarginBottom="20px",e.scrollIntoView({behavior:"smooth",block:"end"}))},200);return()=>clearTimeout(e)},[j]);const F=(Array.isArray(null==x?void 0:x.children)?x.children:null!=(null==x?void 0:x.children)?[x.children]:[]).filter(e=>"string"!=typeof e),$=F.find(e=>"deleted"===(null==e?void 0:e.type)),H=F.findIndex(e=>"deleted"===(null==e?void 0:e.type)),R=null===(f=null==$?void 0:$.props)||void 0===f?void 0:f.children,_=F.findIndex(e=>"changed"===(null==e?void 0:e.type)),q=-1!==_?F[_]:null,J=null===(g=null==q?void 0:q.props)||void 0===g?void 0:g.children,P=Math.max(_,H),V=-1!==P?F.slice(P+1).filter(e=>"deleted"!==(null==e?void 0:e.type)&&"changed"!==(null==e?void 0:e.type)):[];let W;W=J&&V.length>0?[...Array.isArray(J)?J:[J],...V]:J||(V.length>0?V:void 0);function X(e,n,t){var l,o;(null==y?void 0:y.isCraflow)&&y.craUserStory&&(e=y.craUserStory);const i=JSON.parse(JSON.stringify(e)),r=function(e,n){const t=e=>{for(const l of e){if((new DOMParser).parseFromString(l.value,"text/html").querySelector(`updated[id="${n}"]`))return l;if(l.sub_features&&l.sub_features.length>0){const e=t(l.sub_features);if(e)return e}}return null};return t(e)}(i,n);if(!r)return console.warn(`No user story found with updated id: ${n}`),!1;const s=(new DOMParser).parseFromString(r.value,"text/html"),c=s.querySelector(`updated[id="${n}"]`);if(!c)return console.warn(`No <updated> block found with id: ${n}`),!1;const d=c.innerHTML,u=a(c,"deleted"),v=a(c,"changed"),f=u?u.innerHTML.trim():null,g=v?v.innerHTML.trim():null;let p="";if("reject"===t){const e=(e=>{const n=e.match(/ai_reasoning\$(\d+)/);return n?parseInt(n[1],10):null})(f||g||"");null!==e&&w(n=>{let t=n.map(e=>Object.assign({},e));const l=`${e}-legacy`,o=t.find(e=>{var n;return(null===(n=e.id)||void 0===n?void 0:n.toString())===l});if(o){const e=o.id.toString().replace("-legacy","");t=t.filter(n=>n.id.toString()!==e),o.id=e}return[...t]})}"accept"===t?p=f&&g?g:f&&!g?"":!f&&g?g:d:"reject"===t&&(p=f&&g||f&&!g?f:!f&&g?"":d);const m=s.createElement("div");m.innerHTML=p;const h=Array.from(m.childNodes);c.replaceWith(...h);const b=new XMLSerializer;return r.value=b.serializeToString(s),(null==y?void 0:y.isCraflow)?y.setCraUserStory(i):N(i),null===(l=null==T?void 0:T.handleDiffEditActionCallback)||void 0===l||l.call(T,t,i),C(e=>Number.isNaN(Number(e))?e:String(Number(e)+1)),null===(o=null==y?void 0:y.onCraFlowDiffAgentAction)||void 0===o||o.call(y,t,i),!0}const G=e=>{const n=(null==A?void 0:A.actionButton)||{},t=k===e&&(null==A?void 0:A.actionButtonHover)||{};return Object.assign(Object.assign({},n),t)};return n("span",Object.assign({},x,{className:c.container,style:Object.assign(Object.assign({},null==A?void 0:A.container),{display:"block"}),onMouseEnter:()=>{L.current&&(clearTimeout(L.current),L.current=null),U(!0)},onMouseLeave:()=>{L.current=setTimeout(()=>{U(!1),L.current=null},2e3)},ref:(null==x?void 0:x.id)===j?z:null},{children:[(I||(null==A?void 0:A.showFixedActionButtons))&&!b&&n("span",Object.assign({className:c.hoverActions,style:null==A?void 0:A.hoverActions,onMouseEnter:()=>U(!0)},{children:[t("button",Object.assign({className:c.actionButton,style:G("undo"),onMouseEnter:()=>E("undo"),onMouseLeave:()=>E(null),onClick:()=>{p&&h?h(null==x?void 0:x.id):X(S,null==x?void 0:x.id,"reject"),U(!1)}},{children:(null==M?void 0:M.undo)?M.undo:t(l,{size:D,color:null==A?void 0:A.undoIconColor,className:c.hw})})),t("span",{className:c.divider,style:null==A?void 0:A.divider}),t("button",Object.assign({className:c.actionButton,style:G("accept"),onMouseEnter:()=>E("accept"),onMouseLeave:()=>E(null),onClick:()=>{p&&m?m(null==x?void 0:x.id):X(S,null==x?void 0:x.id,"accept"),U(!1)}},{children:(null==M?void 0:M.accept)?M.accept:t(o,{size:D,color:null==A?void 0:A.thumbsUpIconColor,className:c.hw})}))]})),R&&t("span",Object.assign({className:c.deletedContainer,style:Object.assign(Object.assign({},null==A?void 0:A.deletedContainer),{display:"block"})},{children:t("span",Object.assign({className:c.deletedText,style:Object.assign(Object.assign({},null==A?void 0:A.deletedText),{display:"block"})},{children:R}))})),W&&t("span",Object.assign({className:c.changedContainer,style:Object.assign(Object.assign({},null==A?void 0:A.changedContainer),{display:"block"})},{children:t("span",Object.assign({className:c.changedText,style:Object.assign(Object.assign({},null==A?void 0:A.changedText),{display:"block"})},{children:W}))}))]}))};export{d as default};
2
2
  //# sourceMappingURL=UpdatedAnimationContent.js.map
@@ -1,2 +1,2 @@
1
- import{useRef as e,useCallback as t,useMemo as n}from"react";var r="markdown-search-highlight",o="[MarkdownSearch]";function a(a){var l=e([]),c=t(function(){l.current.forEach(function(e,t){var n=e.mark,r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);r.removeChild(n),r.normalize()}else console.warn(o,"[clear] mark #".concat(t," has no parentNode, skipping"))}),l.current=[]},[]),s=function(e,t,n){var a,c=t+n;if(!e[t]||!e[c-1])return console.warn(o,"[highlightFromMap] Out-of-bounds: map[".concat(t,"]=").concat(!!e[t],", map[").concat(c-1,"]=").concat(!!e[c-1])),null;for(var s=[],i=null,f=0,h=0,u=t;u<c;u++){var g=e[u];g.node!==i?(i&&s.push({node:i,startOffset:f,endOffset:h+1}),i=g.node,f=g.offset,h=g.offset):h=g.offset}if(i&&s.push({node:i,startOffset:f,endOffset:h+1}),1===s.length){var d=s[0],p=document.createRange();try{p.setStart(d.node,d.startOffset),p.setEnd(d.node,d.endOffset);var m=document.createElement("mark");return m.className=r,p.surroundContents(m),l.current.push({mark:m}),m}catch(e){console.warn(o,"[highlightFromMap] Fast-path surroundContents failed, falling back:",e)}}var v=null;for(u=s.length-1;u>=0;u--){var w=(d=s[u]).node;if(d.startOffset>=w.length)console.warn(o,"[highlightFromMap] group #".concat(u,": startOffset(").concat(d.startOffset,") >= nodeLength(").concat(w.length,"), skipping"));else{var O=Math.min(d.endOffset,w.length);if(O<=d.startOffset)console.warn(o,"[highlightFromMap] group #".concat(u,": safeEnd(").concat(O,") <= startOffset(").concat(d.startOffset,"), skipping"));else try{var x=w.splitText(d.startOffset);O-d.startOffset<x.length&&x.splitText(O-d.startOffset);var z=document.createElement("mark");z.className=r,z.textContent=null!==(a=x.nodeValue)&&void 0!==a?a:"",x.parentNode.replaceChild(z,x),l.current.push({mark:z}),console.log(o,"[highlightFromMap] group #".concat(u,': highlighted "').concat(z.textContent,'"')),v=z}catch(e){console.warn(o,"[highlightFromMap] group #".concat(u,": Failed to highlight node segment"),e)}}}return v},i=function(e){return e.toLowerCase().replace(/[^a-z0-9\s]/g,"")},f=function(e){for(var t=i(e),n=[],r=0;r<t.length-1;r++)n.push(t.slice(r,r+2));return n},h=function(e,t){var n=f(e),r=f(t);if(0===n.length||0===r.length)return 0;var o=new Set(n),a=0;return r.forEach(function(e){o.has(e)&&a++}),2*a/(n.length+r.length)},u=function(e,t){var n=new Set(i(e).split(/\s+/).filter(Boolean)),r=new Set(i(t).split(/\s+/).filter(Boolean));if(0===n.size)return 0;var o=0;return n.forEach(function(e){return r.has(e)&&o++}),o/n.size},g=function(e,t){for(var n=Array(e.length+1).fill(null).map(function(){return Array(t.length+1).fill(0)}),r=0,o=0,a=1;a<=e.length;a++)for(var l=1;l<=t.length;l++)e[a-1]===t[l-1]&&(n[a][l]=n[a-1][l-1]+1,n[a][l]>r&&(r=n[a][l],o=a));return{substring:e.slice(o-r,o),startOffset:o-r,length:r}},d=t(function(e,t){var n;if(void 0===t&&(t=1),a.current&&e.length)if(console.log(o,"Search started",e),c(),null===(n=a.current)||void 0===n?void 0:n.isConnected){for(var r=function(e){for(var t,n=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),r="",o=[];t=n.nextNode();){for(var a=t,l=a.nodeValue||"",c=0;c<l.length;c++)o.push({node:a,offset:c});r+=l}return{fullText:r,map:o}}(a.current),l=r.fullText,i=r.map,f=l.toLowerCase(),d=0,p=null,m=!1,v=e.map(function(e){var t,n=function(e){if("undefined"!=typeof document){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}return e.replace(/<[^>]*>/g,"")}(e).trim();return(t=n,t.replace(/`([^`]+)`/g,"$1").replace(/```[\s\S]*?```/g,"").replace(/\*{3}(.+?)\*{3}/g,"$1").replace(/_{3}(.+?)_{3}/g,"$1").replace(/\*{2}(.+?)\*{2}/g,"$1").replace(/_{2}(.+?)_{2}/g,"$1").replace(/\*(.+?)\*/g,"$1").replace(/_(.+?)_/g,"$1").replace(/~~(.+?)~~/g,"$1")).trim()}),w=0,O=v;w<O.length;w++){if(E=O[w]){for(var x=E.toLowerCase(),z=0,k=0;-1!==(z=f.indexOf(x,z));){if(console.log(o,"Exact match found",z),(W=s(i,z,x.length))?p||(p=W):console.warn(o,"[exact] highlightFromMap returned null at index ".concat(z)),k++,m=!0,++d>=t)break;z+=x.length}if(0===k){var C=x.split(/\s+/).slice(0,4).join(" "),y=f.indexOf(C);if(-1!==y)for(var M=f.slice(y,y+x.length),F=0;F<Math.min(M.length,x.length)&&M[F]===x[F];F++);else console.log(o,'[exact] First 4 words "'.concat(C,'" not found in DOM text either'))}}}if(m)null==p||p.scrollIntoView({behavior:"smooth",block:"center"});else{console.log(o,"No exact matches, running strict fuzzy search");for(var b=0,S=v;b<S.length;b++){var E;if(E=S[b]){var L=E.length;if(L>l.length)console.warn(o,"[fuzzy] Query longer than document text, skipping");else{var N=0,T=-1;for(F=0;F<=l.length-L;F+=1){var $=l.slice(F,F+L),_=h($,E),B=u($,E);if(!(B<.6)){var V=.7*_+.3*B;V>N&&(N=V,T=F)}}if(console.log(o,"Best fuzzy score:",N),N>.75&&-1!==T){$=l.slice(T,T+L);var A=g($.toLowerCase(),E.toLowerCase()),D=A.substring,H=A.startOffset,I=A.length;if(console.log(o,"[fuzzy] LCS:",{substring:D.slice(0,80),startOffset:H,length:I}),I>10){var W,j=T+H;(W=s(i,j,I))?p||(p=W):console.warn(o,"[fuzzy] highlightFromMap returned null at ".concat(j)),d++}else console.warn(o,"[fuzzy] LCS length (".concat(I,") <= 10, skipping"))}else console.log(o,"[fuzzy] Score (".concat(N.toFixed(4),") below threshold (0.75), no highlight"))}}}p?p.scrollIntoView({behavior:"smooth",block:"center"}):console.warn(o,"[search] No matches found (exact or fuzzy)")}}else console.warn(o,"[search] Container not connected to DOM, aborting")},[c,a]);return n(function(){return{search:d,clear:c}},[d,c])}export{a as useMarkdownSearch};
1
+ import{useRef as e,useCallback as t,useMemo as n}from"react";const o="markdown-search-highlight",r="[MarkdownSearch]";function l(l){const s=e([]),c=t(()=>{s.current.forEach(({mark:e},t)=>{const n=e.parentNode;if(n){for(;e.firstChild;)n.insertBefore(e.firstChild,e);n.removeChild(e),n.normalize()}else console.warn(r,`[clear] mark #${t} has no parentNode, skipping`)}),s.current=[]},[]),a=(e,t,n)=>{var l;const c=t+n;if(!e[t]||!e[c-1])return console.warn(r,`[highlightFromMap] Out-of-bounds: map[${t}]=${!!e[t]}, map[${c-1}]=${!!e[c-1]}`),null;const a=[];let i=null,f=0,h=0;for(let n=t;n<c;n++){const t=e[n];t.node!==i?(i&&a.push({node:i,startOffset:f,endOffset:h+1}),i=t.node,f=t.offset,h=t.offset):h=t.offset}if(i&&a.push({node:i,startOffset:f,endOffset:h+1}),1===a.length){const e=a[0],t=document.createRange();try{t.setStart(e.node,e.startOffset),t.setEnd(e.node,e.endOffset);const n=document.createElement("mark");return n.className=o,t.surroundContents(n),s.current.push({mark:n}),n}catch(e){console.warn(r,"[highlightFromMap] Fast-path surroundContents failed, falling back:",e)}}let g=null;for(let e=a.length-1;e>=0;e--){const t=a[e],n=t.node;if(t.startOffset>=n.length){console.warn(r,`[highlightFromMap] group #${e}: startOffset(${t.startOffset}) >= nodeLength(${n.length}), skipping`);continue}const c=Math.min(t.endOffset,n.length);if(c<=t.startOffset)console.warn(r,`[highlightFromMap] group #${e}: safeEnd(${c}) <= startOffset(${t.startOffset}), skipping`);else try{const a=n.splitText(t.startOffset);c-t.startOffset<a.length&&a.splitText(c-t.startOffset);const i=document.createElement("mark");i.className=o,i.textContent=null!==(l=a.nodeValue)&&void 0!==l?l:"",a.parentNode.replaceChild(i,a),s.current.push({mark:i}),console.log(r,`[highlightFromMap] group #${e}: highlighted "${i.textContent}"`),g=i}catch(t){console.warn(r,`[highlightFromMap] group #${e}: Failed to highlight node segment`,t)}}return g},i=e=>e.toLowerCase().replace(/[^a-z0-9\s]/g,""),f=e=>{const t=i(e),n=[];for(let e=0;e<t.length-1;e++)n.push(t.slice(e,e+2));return n},h=(e,t)=>{const n=f(e),o=f(t);if(0===n.length||0===o.length)return 0;const r=new Set(n);let l=0;return o.forEach(e=>{r.has(e)&&l++}),2*l/(n.length+o.length)},g=(e,t)=>{const n=new Set(i(e).split(/\s+/).filter(Boolean)),o=new Set(i(t).split(/\s+/).filter(Boolean));if(0===n.size)return 0;let r=0;return n.forEach(e=>o.has(e)&&r++),r/n.size},u=(e,t)=>{const n=Array(e.length+1).fill(null).map(()=>Array(t.length+1).fill(0));let o=0,r=0;for(let l=1;l<=e.length;l++)for(let s=1;s<=t.length;s++)e[l-1]===t[s-1]&&(n[l][s]=n[l-1][s-1]+1,n[l][s]>o&&(o=n[l][s],r=l));return{substring:e.slice(r-o,r),startOffset:r-o,length:o}},d=t((e,t=1)=>{var n;if(!l.current||!e.length)return;if(console.log(r,"Search started",e),c(),!(null===(n=l.current)||void 0===n?void 0:n.isConnected))return void console.warn(r,"[search] Container not connected to DOM, aborting");const{fullText:o,map:s}=(e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT);let n="";const o=[];let r;for(;r=t.nextNode();){const e=r,t=e.nodeValue||"";for(let n=0;n<t.length;n++)o.push({node:e,offset:n});n+=t}return{fullText:n,map:o}})(l.current),i=o.toLowerCase();let f=0,d=null,p=!1;const m=e.map(e=>function(e){let t=e;return t=t.replace(/`([^`]+)`/g,"$1"),t=t.replace(/```[\s\S]*?```/g,""),t=t.replace(/\*{3}(.+?)\*{3}/g,"$1"),t=t.replace(/_{3}(.+?)_{3}/g,"$1"),t=t.replace(/\*{2}(.+?)\*{2}/g,"$1"),t=t.replace(/_{2}(.+?)_{2}/g,"$1"),t=t.replace(/\*(.+?)\*/g,"$1"),t=t.replace(/_(.+?)_/g,"$1"),t=t.replace(/~~(.+?)~~/g,"$1"),t}(function(e){if("undefined"!=typeof document){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}return e.replace(/<[^>]*>/g,"")}(e).trim()).trim());for(const e of m){if(!e)continue;const n=e.toLowerCase();let o=0,l=0;for(;-1!==(o=i.indexOf(n,o));){console.log(r,"Exact match found",o);const e=a(s,o,n.length);if(e?d||(d=e):console.warn(r,`[exact] highlightFromMap returned null at index ${o}`),f++,l++,p=!0,f>=t)break;o+=n.length}if(0===l){const e=n.split(/\s+/).slice(0,4).join(" "),t=i.indexOf(e);if(-1!==t){const e=i.slice(t,t+n.length);for(let t=0;t<Math.min(e.length,n.length)&&e[t]===n[t];t++);}else console.log(r,`[exact] First 4 words "${e}" not found in DOM text either`)}}if(p)null==d||d.scrollIntoView({behavior:"smooth",block:"center"});else{console.log(r,"No exact matches, running strict fuzzy search");for(const e of m){if(!e)continue;const t=e.length;if(t>o.length){console.warn(r,"[fuzzy] Query longer than document text, skipping");continue}let n=0,l=-1;for(let r=0;r<=o.length-t;r+=1){const s=o.slice(r,r+t),c=h(s,e),a=g(s,e);if(a<.6)continue;const i=.7*c+.3*a;i>n&&(n=i,l=r)}if(console.log(r,"Best fuzzy score:",n),n>.75&&-1!==l){const n=o.slice(l,l+t),{substring:c,startOffset:i,length:h}=u(n.toLowerCase(),e.toLowerCase());if(console.log(r,"[fuzzy] LCS:",{substring:c.slice(0,80),startOffset:i,length:h}),h>10){const e=l+i,t=a(s,e,h);t?d||(d=t):console.warn(r,`[fuzzy] highlightFromMap returned null at ${e}`),f++}else console.warn(r,`[fuzzy] LCS length (${h}) <= 10, skipping`)}else console.log(r,`[fuzzy] Score (${n.toFixed(4)}) below threshold (0.75), no highlight`)}d?d.scrollIntoView({behavior:"smooth",block:"center"}):console.warn(r,"[search] No matches found (exact or fuzzy)")}},[c,l]);return n(()=>({search:d,clear:c}),[d,c])}export{l as useMarkdownSearch};
2
2
  //# sourceMappingURL=useMarkdownSearch.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsx as a}from"react/jsx-runtime";import{createContext as e,useState as i}from"react";var n=e({citationsMetadata:new Map,setCitationsMetadata:function(){return new Map},updateCitationsMetadata:function(){}});function r(e){var r=e.children,o=i(new Map),d=o[0],s=o[1];return a(n.Provider,t({value:{citationsMetadata:d,setCitationsMetadata:s,updateCitationsMetadata:function(t,a){s(function(e){var i=void 0;e.has(t)&&(i=e.get(t));var n=a(i),r=new Map(e);return r.set(t,n),r})}}},{children:r}))}export{r as MarkdownContextProvider,n as MarkdownStateContext};
1
+ import{jsx as t}from"react/jsx-runtime";import{createContext as a,useState as e}from"react";const n=a({citationsMetadata:new Map,setCitationsMetadata:()=>new Map,updateCitationsMetadata:()=>{}});function i({children:a}){const[i,o]=e(new Map);return t(n.Provider,Object.assign({value:{citationsMetadata:i,setCitationsMetadata:o,updateCitationsMetadata:function(t,a){o(e=>{let n;e.has(t)&&(n=e.get(t));const i=a(n),o=new Map(e);return o.set(t,i),o})}}},{children:a}))}export{i as MarkdownContextProvider,n as MarkdownStateContext};
2
2
  //# sourceMappingURL=markdown-context.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import{createContext as t,useContext as o,useState as n}from"react";var i=t(void 0),f=function(t){var o=t.children,f=n(null),u=f[0],m=f[1];return e(i.Provider,r({value:{contentRef:u,setContentRef:m}},{children:o}))},u=function(){var r=o(i);if(!r)throw new Error("useRefStore must be used inside RefProvider");return r};export{f as RefProvider,u as useRefStore};
1
+ import{jsx as e}from"react/jsx-runtime";import{createContext as r,useContext as t,useState as n}from"react";const o=r(void 0),i=({children:r})=>{const[t,i]=n(null);return e(o.Provider,Object.assign({value:{contentRef:t,setContentRef:i}},{children:r}))},s=()=>{const e=t(o);if(!e)throw new Error("useRefStore must be used inside RefProvider");return e};export{i as RefProvider,s as useRefStore};
2
2
  //# sourceMappingURL=ref.context.js.map
@@ -1,2 +1,2 @@
1
- function t(t,r){if(3===(t=t.replace("#","")).length&&(t=t.split("").map(function(t){return t+t}).join("")),!/^[0-9A-Fa-f]{6}$/.test(t))throw new Error("Invalid hex color");var a=Math.max(0,Math.min(100,r)),n=Math.round(a/100*255).toString(16).padStart(2,"0").toUpperCase();return"#".concat(t.toUpperCase()).concat(n)}export{t as hexToOpacity};
1
+ function t(t,r){if(3===(t=t.replace("#","")).length&&(t=t.split("").map(t=>t+t).join("")),!/^[0-9A-Fa-f]{6}$/.test(t))throw new Error("Invalid hex color");const a=Math.max(0,Math.min(100,r)),e=Math.round(a/100*255).toString(16).padStart(2,"0").toUpperCase();return`#${t.toUpperCase()}${e}`}export{t as hexToOpacity};
2
2
  //# sourceMappingURL=css.utils.js.map
@@ -1,2 +1,2 @@
1
- import{__spreadArray as e,__assign as i}from"tslib";import n from"dayjs";import{parseJSON as r}from"./json-helper.js";import{processUserStoryValue as o}from"./proccess-stream.utils.js";import{v4 as t}from"uuid";var l=function(r,o,t,l,d,u,c,s,f,m,p){var _;p(!0);var g=a(r,o);if(g){if(g.mmvf_list.length>0&&l(g.mmvf_list),(null===(_=(null==g?void 0:g.updated_ai_reasonings)||[])||void 0===_?void 0:_.length)>0&&d(function(n){var r,o=e([],n.map(function(e){return i({},e)}),!0);return null===(r=g.updated_ai_reasonings)||void 0===r||r.forEach(function(e){var n,r,t,l,a,d,u,c,s,f,m,p,_,g,h,y,S,b,M,E=o.findIndex(function(i){return i.id.toString()===e.id});if(-1!==E){var L=i({},o[E]);L.id="".concat(L.id,"-legacy"),"add"===(null===(n=null==e?void 0:e.reason)||void 0===n?void 0:n.action)&&(null===(t=null===(r=null==e?void 0:e.reason)||void 0===r?void 0:r.value)||void 0===t?void 0:t.trim())&&(o[E].reason+=null===(l=null==e?void 0:e.reason)||void 0===l?void 0:l.value),"delete"===(null===(a=null==e?void 0:e.reason)||void 0===a?void 0:a.action)&&(null===(u=null===(d=null==e?void 0:e.reason)||void 0===d?void 0:d.value)||void 0===u?void 0:u.trim())&&(o[E].reason=o[E].reason.replace(null===(c=null==e?void 0:e.reason)||void 0===c?void 0:c.value,"")),"add"===(null===(s=null==e?void 0:e.gap)||void 0===s?void 0:s.action)&&(null===(m=null===(f=null==e?void 0:e.gap)||void 0===f?void 0:f.value)||void 0===m?void 0:m.trim())&&(o[E].gap+=null===(p=null==e?void 0:e.gap)||void 0===p?void 0:p.value),"delete"===(null===(_=null==e?void 0:e.gap)||void 0===_?void 0:_.action)&&(null===(h=null===(g=null==e?void 0:e.gap)||void 0===g?void 0:g.value)||void 0===h?void 0:h.trim())&&(o[E].gap=null===(y=o[E])||void 0===y?void 0:y.gap.replace(null===(S=null==e?void 0:e.gap)||void 0===S?void 0:S.value,"")),o[E].isOpen=!0,Number(null==e?void 0:e.relevance_score)&&(o[E].relevance_score_diff=v(o[E].relevance_score,null==e?void 0:e.relevance_score),o[E].relevance_score=null==e?void 0:e.relevance_score),o.push(i({},L))}else o.push({id:null==e?void 0:e.id,reason:null===(b=null==e?void 0:e.reason)||void 0===b?void 0:b.value,gap:null===(M=null==e?void 0:e.gap)||void 0===M?void 0:M.value,relevance_score:null==e?void 0:e.relevance_score,isOpen:!0})}),u(e([],o,!0)),e([],o,!0)}),null==g?void 0:g.chat_history){var h=JSON.parse(g.chat_history);h=null==h?void 0:h.map(function(e){return i(i({},e),{message:e.content,userName:t,highlighted_text:e.content,timeStamp:n()})}),c(e([],h,!0))}(null==g?void 0:g.risk_id)&&f(g.risk_id),(null==g?void 0:g.gap_id)&&f(g.gap_id),(null==g?void 0:g.matched_risk_id)&&m(g.matched_risk_id),(null==g?void 0:g.matched_gap_id)&&m(g.matched_gap_id),g.mmvf_list.length>0&&s(g.mmvf_list)}},a=function(e,n){var l;try{var a={mmvf_list:[],appmod_citations:[],image_citations:[],audio_citations:[],file_citations:[],code_generated:[],ai_reasonings:[],gs_url:"",chat_history:"",updated_ai_reasonings:[],risk_id:"",gap_id:""},u=r(e);u&&(a=i(i({},u),{mmvf_list:null===(l=null==u?void 0:u.mmvf_list)||void 0===l?void 0:l.filter(function(e){return(null==e?void 0:e.title)&&(null==e?void 0:e.value)}).map(function(e){return i(i({},e),{value:o(e.value,n,e.title),artifactId:(null==e?void 0:e.artifactId)||t(),sub_features:(e.sub_features||[]).map(function(e){return i(i({},e),{artifactId:(null==e?void 0:e.artifactId)||t()})})})})}));var v=[];return a.mmvf_list=d(a.mmvf_list,v),a.code_generated=v,a}catch(i){console.log("Data recieved getUserStoryWithCitationFromAIResponse:",e,JSON.parse(e)),console.error("Error in getUserStoryWithCitationFromAIResponse",i)}},d=function(e,n){try{return e.map(function(e){var r=u(e.value,n);return i(i({},e),{value:r,sub_features:d(e.sub_features||[],n)})})}catch(e){throw new Error("Error in extracting generated")}},u=function(e,i){var n=(new DOMParser).parseFromString(e,"text/html");return n.querySelectorAll("generatedCode").forEach(function(e){var r,o=n.createElement("a"),l=t();o.href="code_generated$".concat(l),o.textContent="Generated Code",i.push({citation_number:l,customMetadata:{code:(null===(r=null==e?void 0:e.textContent)||void 0===r?void 0:r.trim())||"",type:"code_generated"}}),e.replaceWith(o)}),n.body.innerHTML};function v(e,i){var n=i-e;return n<0?0:n}var c=function(n,r,o,t){f(n,r,"reject"),o(function(n){var r=n.map(function(e){return i({},e)});return r.forEach(function(e){var i,n,o,t;if(null===(n=null===(i=e.id)||void 0===i?void 0:i.toString())||void 0===n?void 0:n.endsWith("-legacy")){var l=null===(t=null===(o=e.id)||void 0===o?void 0:o.toString())||void 0===t?void 0:t.replace("-legacy","");r=r.filter(function(e){return e.id.toString()!==l}),e.id=l}}),e([],r,!0)}),t([])},s=function(e,i,n){f(e,i,"accept"),n(!1)},f=function(e,i,n){var r=JSON.parse(JSON.stringify(e)),o=function(e){e.forEach(function(e){e.value=function(e,i){var n=(new DOMParser).parseFromString(e,"text/html"),r=n.querySelectorAll("updated");for(;r.length>0;){for(var o=r.length-1;o>=0;o--){var t=r[o];if(!t.querySelector("updated")){var l=m(t,"deleted"),a=m(t,"changed"),d=l?l.innerHTML.trim():null,u=a?a.innerHTML.trim():null,v="";"accept"===i?v=d&&u?u:d&&!u?"":!d&&u?u:t.innerHTML:"reject"===i&&(v=d&&u||d&&!u?d:!d&&u?"":t.innerHTML);var c=n.createElement("div");c.innerHTML=v,t.replaceWith.apply(t,Array.from(c.childNodes))}}r=n.querySelectorAll("updated")}return n.body.innerHTML}(e.value,n),e.sub_features&&e.sub_features.length>0&&o(e.sub_features)})};return o(r),i(r),!0};function m(e,i){for(var n=0;n<e.children.length;n++)if(e.children[n].tagName.toLowerCase()===i.toLowerCase())return e.children[n];return null}export{d as extractedGeneratedCodeCitationMetadata,m as getDirectChild,v as getSafePercentageIncrease,a as getUserStoryWithCitationFromAIResponse,s as handleAcceptAllChanges,f as handleAllChanges,l as handleDiffEditApplied,c as handleDiscardAll};
1
+ import e from"dayjs";import{parseJSON as i}from"./json-helper.js";import{processUserStoryValue as t}from"./proccess-stream.utils.js";import{v4 as n}from"uuid";const l=(i,t,n,l,r,a,s,u,v,c,g)=>{var m;g(!0);const _=o(i,t);if(_){if(_.mmvf_list.length>0&&l(_.mmvf_list),(null===(m=(null==_?void 0:_.updated_ai_reasonings)||[])||void 0===m?void 0:m.length)>0&&r(e=>{var i;const t=[...e.map(e=>Object.assign({},e))];return null===(i=_.updated_ai_reasonings)||void 0===i||i.forEach(e=>{var i,n,l,o,r,a,s,u,v,c,g,m,_,p,f,h,b,O,j;const y=t.findIndex(i=>i.id.toString()===e.id);if(-1!==y){let O=Object.assign({},t[y]);O.id=`${O.id}-legacy`,"add"===(null===(i=null==e?void 0:e.reason)||void 0===i?void 0:i.action)&&(null===(l=null===(n=null==e?void 0:e.reason)||void 0===n?void 0:n.value)||void 0===l?void 0:l.trim())&&(t[y].reason+=null===(o=null==e?void 0:e.reason)||void 0===o?void 0:o.value),"delete"===(null===(r=null==e?void 0:e.reason)||void 0===r?void 0:r.action)&&(null===(s=null===(a=null==e?void 0:e.reason)||void 0===a?void 0:a.value)||void 0===s?void 0:s.trim())&&(t[y].reason=t[y].reason.replace(null===(u=null==e?void 0:e.reason)||void 0===u?void 0:u.value,"")),"add"===(null===(v=null==e?void 0:e.gap)||void 0===v?void 0:v.action)&&(null===(g=null===(c=null==e?void 0:e.gap)||void 0===c?void 0:c.value)||void 0===g?void 0:g.trim())&&(t[y].gap+=null===(m=null==e?void 0:e.gap)||void 0===m?void 0:m.value),"delete"===(null===(_=null==e?void 0:e.gap)||void 0===_?void 0:_.action)&&(null===(f=null===(p=null==e?void 0:e.gap)||void 0===p?void 0:p.value)||void 0===f?void 0:f.trim())&&(t[y].gap=null===(h=t[y])||void 0===h?void 0:h.gap.replace(null===(b=null==e?void 0:e.gap)||void 0===b?void 0:b.value,"")),t[y].isOpen=!0,Number(null==e?void 0:e.relevance_score)&&(t[y].relevance_score_diff=d(t[y].relevance_score,null==e?void 0:e.relevance_score),t[y].relevance_score=null==e?void 0:e.relevance_score),t.push(Object.assign({},O))}else t.push({id:null==e?void 0:e.id,reason:null===(O=null==e?void 0:e.reason)||void 0===O?void 0:O.value,gap:null===(j=null==e?void 0:e.gap)||void 0===j?void 0:j.value,relevance_score:null==e?void 0:e.relevance_score,isOpen:!0})}),a([...t]),[...t]}),null==_?void 0:_.chat_history){let i=JSON.parse(_.chat_history);i=null==i?void 0:i.map(i=>Object.assign(Object.assign({},i),{message:i.content,userName:n,highlighted_text:i.content,timeStamp:e()})),s([...i])}(null==_?void 0:_.risk_id)&&v(_.risk_id),(null==_?void 0:_.gap_id)&&v(_.gap_id),(null==_?void 0:_.matched_risk_id)&&c(_.matched_risk_id),(null==_?void 0:_.matched_gap_id)&&c(_.matched_gap_id),_.mmvf_list.length>0&&u(_.mmvf_list)}},o=(e,l)=>{var o;try{let a={mmvf_list:[],appmod_citations:[],image_citations:[],audio_citations:[],file_citations:[],code_generated:[],ai_reasonings:[],gs_url:"",chat_history:"",updated_ai_reasonings:[],risk_id:"",gap_id:""};const d=i(e);d&&(a=Object.assign(Object.assign({},d),{mmvf_list:null===(o=null==d?void 0:d.mmvf_list)||void 0===o?void 0:o.filter(e=>(null==e?void 0:e.title)&&(null==e?void 0:e.value)).map(e=>Object.assign(Object.assign({},e),{value:t(e.value,l,e.title),artifactId:(null==e?void 0:e.artifactId)||n(),sub_features:(e.sub_features||[]).map(e=>Object.assign(Object.assign({},e),{artifactId:(null==e?void 0:e.artifactId)||n()}))}))}));const s=[];return a.mmvf_list=r(a.mmvf_list,s),a.code_generated=s,a}catch(i){console.log("Data recieved getUserStoryWithCitationFromAIResponse:",e,JSON.parse(e)),console.error("Error in getUserStoryWithCitationFromAIResponse",i)}},r=(e,i)=>{try{return e.map(e=>{const t=a(e.value,i);return Object.assign(Object.assign({},e),{value:t,sub_features:r(e.sub_features||[],i)})})}catch(e){throw new Error("Error in extracting generated")}},a=(e,i)=>{const t=(new DOMParser).parseFromString(e,"text/html");return t.querySelectorAll("generatedCode").forEach(e=>{var l;const o=t.createElement("a"),r=n();o.href=`code_generated$${r}`,o.textContent="Generated Code",i.push({citation_number:r,customMetadata:{code:(null===(l=null==e?void 0:e.textContent)||void 0===l?void 0:l.trim())||"",type:"code_generated"}}),e.replaceWith(o)}),t.body.innerHTML};function d(e,i){const t=i-e;return t<0?0:t}const s=(e,i,t,n)=>{v(e,i,"reject"),t(e=>{let i=e.map(e=>Object.assign({},e));return i.forEach(e=>{var t,n,l,o;if(null===(n=null===(t=e.id)||void 0===t?void 0:t.toString())||void 0===n?void 0:n.endsWith("-legacy")){const t=null===(o=null===(l=e.id)||void 0===l?void 0:l.toString())||void 0===o?void 0:o.replace("-legacy","");i=i.filter(e=>e.id.toString()!==t),e.id=t}}),[...i]}),n([])},u=(e,i,t)=>{v(e,i,"accept"),t(!1)},v=(e,i,t)=>{const n=JSON.parse(JSON.stringify(e)),l=e=>{e.forEach(e=>{e.value=function(e,i){const t=(new DOMParser).parseFromString(e,"text/html");let n=t.querySelectorAll("updated");for(;n.length>0;){for(let e=n.length-1;e>=0;e--){const l=n[e];if(l.querySelector("updated"))continue;const o=c(l,"deleted"),r=c(l,"changed"),a=o?o.innerHTML.trim():null,d=r?r.innerHTML.trim():null;let s="";"accept"===i?s=a&&d?d:a&&!d?"":!a&&d?d:l.innerHTML:"reject"===i&&(s=a&&d||a&&!d?a:!a&&d?"":l.innerHTML);const u=t.createElement("div");u.innerHTML=s,l.replaceWith(...Array.from(u.childNodes))}n=t.querySelectorAll("updated")}return t.body.innerHTML}(e.value,t),e.sub_features&&e.sub_features.length>0&&l(e.sub_features)})};return l(n),i(n),!0};function c(e,i){for(let t=0;t<e.children.length;t++)if(e.children[t].tagName.toLowerCase()===i.toLowerCase())return e.children[t];return null}export{r as extractedGeneratedCodeCitationMetadata,c as getDirectChild,d as getSafePercentageIncrease,o as getUserStoryWithCitationFromAIResponse,u as handleAcceptAllChanges,v as handleAllChanges,l as handleDiffEditApplied,s as handleDiscardAll};
2
2
  //# sourceMappingURL=diff-edit.utils.js.map
@@ -1,2 +1,2 @@
1
- function r(r){try{return r=null==r?void 0:r.replace(/(?<!\d)(\d+(?:\.\d+)+)\./g,function(r,e){var n=e.split("."),a=" ".repeat(n.length-1);return"".concat(a).concat(e,".")})}catch(r){console.error("Error in formatMarkdown",r)}}function e(r){return r.includes("Acceptance Criteria")?r=null==(r=null==(r=null==(r=null==r?void 0:r.replace(/\\n/g,"\n"))?void 0:r.replace(/(\*\*.+?\*\*)\s*:/g,"\n$1:\n"))?void 0:r.replace(/(?<!\d)(\d+(?:\.\d+)+)\./g,function(r,e){var n=e.split("."),a=" ".repeat(n.length-1);return"".concat(a).concat(e,".")}))?void 0:r.replace(/([^\n])\n(?![\n\*#])/g,"$1<br>\n"):r}var n=function(r){if(!r)return"";r=(r=(r=(r=(r=r.replace(/%&&%[\s\S]*?%&&%/g,"")).replace(/<!--[\s\S]*?-->/g,"")).replace(/<crredirection[^>]*>[\s\S]*?<\/crredirection>/gi,"")).replace(/<answerExample[^>]*>[\s\S]*?<\/answerExample>/gi,"")).replace(/<a\s+data-cognitive-reasoning[^>]*>[\s\S]*?<\/a>/gi,"");return["b","strong","i","em","u","ol","ul","li","p","div","span","h1","h2","h3","h4","h5","h6","highlight","br","hr"].forEach(function(e){var n=new RegExp("</?".concat(e,"[^>]*>"),"gi");r=r.replace(n,"")}),r=(r=(r=(r=(r=r.replace("ð","")).replace(/\*\*/g,"")).replace(/\n/g," ")).replace(/\s+/g," ")).trim()},a=function(r){var e=(new DOMParser).parseFromString(r,"text/html");return Array.from(e.querySelectorAll('a[href^="ai_reasoning$"]')).map(function(r){return r.getAttribute("href").replace("ai_reasoning$","")})},t=function(r){var e=(new DOMParser).parseFromString(r,"text/html");return e.querySelectorAll('a[href^="ai_reasoning$"]').forEach(function(r){r.remove()}),e.body.innerHTML.trim()};export{a as extractAllAiReasoningIds,r as formatMarkdown,e as indentMarkdown,t as stripAiReasoningAnchors,n as stripHtmlAndMetadata};
1
+ function e(e){try{return e=null==e?void 0:e.replace(/(?<!\d)(\d+(?:\.\d+)+)\./g,(e,r)=>{const n=r.split(".");return`${" ".repeat(n.length-1)}${r}.`})}catch(e){console.error("Error in formatMarkdown",e)}}function r(e){return e.includes("Acceptance Criteria")?e=null==(e=null==(e=null==(e=null==e?void 0:e.replace(/\\n/g,"\n"))?void 0:e.replace(/(\*\*.+?\*\*)\s*:/g,"\n$1:\n"))?void 0:e.replace(/(?<!\d)(\d+(?:\.\d+)+)\./g,(e,r)=>{const n=r.split(".");return`${" ".repeat(n.length-1)}${r}.`}))?void 0:e.replace(/([^\n])\n(?![\n\*#])/g,"$1<br>\n"):e}const n=e=>{if(!e)return"";e=(e=(e=(e=(e=e.replace(/%&&%[\s\S]*?%&&%/g,"")).replace(/<!--[\s\S]*?-->/g,"")).replace(/<crredirection[^>]*>[\s\S]*?<\/crredirection>/gi,"")).replace(/<answerExample[^>]*>[\s\S]*?<\/answerExample>/gi,"")).replace(/<a\s+data-cognitive-reasoning[^>]*>[\s\S]*?<\/a>/gi,"");return["b","strong","i","em","u","ol","ul","li","p","div","span","h1","h2","h3","h4","h5","h6","highlight","br","hr"].forEach(r=>{const n=new RegExp(`</?${r}[^>]*>`,"gi");e=e.replace(n,"")}),e=(e=(e=(e=(e=e.replace("ð","")).replace(/\*\*/g,"")).replace(/\n/g," ")).replace(/\s+/g," ")).trim()},t=e=>{const r=(new DOMParser).parseFromString(e,"text/html");return Array.from(r.querySelectorAll('a[href^="ai_reasoning$"]')).map(e=>e.getAttribute("href").replace("ai_reasoning$",""))},a=e=>{const r=(new DOMParser).parseFromString(e,"text/html");return r.querySelectorAll('a[href^="ai_reasoning$"]').forEach(e=>{e.remove()}),r.body.innerHTML.trim()};export{t as extractAllAiReasoningIds,e as formatMarkdown,r as indentMarkdown,a as stripAiReasoningAnchors,n as stripHtmlAndMetadata};
2
2
  //# sourceMappingURL=helpers.js.map
@@ -1,2 +1,2 @@
1
- var r=function(r){try{var l=JSON.parse(r);return null!==l?l:null}catch(l){return console.log("Not a valid stringified JSON",r),null}};export{r as parseJSON};
1
+ const l=l=>{try{const n=JSON.parse(l);return null!==n?n:null}catch(n){return console.log("Not a valid stringified JSON",l),null}};export{l as parseJSON};
2
2
  //# sourceMappingURL=json-helper.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as t}from"react/jsx-runtime";function n(n,r,l){if(!n)return[];for(var i,a=[],o=/<learned>(.*?)<\/learned>/g,c=0,s=0;null!==(i=o.exec(n));){var p=i[1],d=i.index;d>c&&a.push(t("span",{children:n.slice(c,d)},"learned-text-pre-".concat(s++)));var h=l?t(l,{size:16,className:"learned-tag-info-icon"}):t("span",e({style:{display:"inline-block",width:16,height:16,borderRadius:"50%",backgroundColor:"#3b82f6",color:"white",fontSize:11,textAlign:"center",lineHeight:"16px",margin:"0 2px",cursor:"help",fontWeight:600}},{children:"i"}));r?a.push(t(r,e({title:p.replace(/<[^>]*>?/gm,""),placement:"top"},{children:h}),"learned-tooltip-".concat(s++))):a.push(t("abbr",e({title:p,style:{textDecoration:"none",cursor:"help"}},{children:h}),"learned-abbr-".concat(s++))),c=o.lastIndex}return c<n.length&&a.push(t("span",{children:n.slice(c)},"learned-text-post-".concat(s++))),a}export{n as replaceLearnedTagsWithInfo};
1
+ import{jsx as e}from"react/jsx-runtime";function n(n,t,r){if(!n)return[];const i=[],l=/<learned>(.*?)<\/learned>/g;let s,o=0,a=0;for(;null!==(s=l.exec(n));){const[,c]=s,p=s.index;p>o&&i.push(e("span",{children:n.slice(o,p)},"learned-text-pre-"+a++));const d=r?e(r,{size:16,className:"learned-tag-info-icon"}):e("span",Object.assign({style:{display:"inline-block",width:16,height:16,borderRadius:"50%",backgroundColor:"#3b82f6",color:"white",fontSize:11,textAlign:"center",lineHeight:"16px",margin:"0 2px",cursor:"help",fontWeight:600}},{children:"i"}));t?i.push(e(t,Object.assign({title:c.replace(/<[^>]*>?/gm,""),placement:"top"},{children:d}),"learned-tooltip-"+a++)):i.push(e("abbr",Object.assign({title:c,style:{textDecoration:"none",cursor:"help"}},{children:d}),"learned-abbr-"+a++)),o=l.lastIndex}return o<n.length&&i.push(e("span",{children:n.slice(o)},"learned-text-post-"+a++)),i}export{n as replaceLearnedTagsWithInfo};
2
2
  //# sourceMappingURL=learned-tag.utils.js.map
@@ -1,2 +1,2 @@
1
- var r=function(r){var n=[];try{for(var e="<BLOCK_STREAM_START>",t="<BLOCK_STREAM_END>",a=0;;){var i=r.indexOf(e,a);if(-1===i)break;var c=r.indexOf(t,i+20);if(-1===c)break;var o=r.slice(i+20,c).trim();n.push(JSON.parse(o)),a=c+18}}catch(r){console.error("Error in extracting blocks from stream",r)}finally{return n}};function n(r,n,a,i){var c=[],o="",s=[],l="";console.log("RAW INPUT",JSON.stringify(r),JSON.stringify(i));try{var u=function(r){return r.replace(/<a\s+(?:(table="true")\s+)?href=(\\"|")ai_reasoning\$(\d+)(\\"|")>([\s\S]*?)<\/a>/g,function(r,i,o,l,u,f){var v,d,h,p,g,_="".concat(l,"<BLOCK_NUMBER>").concat(n,"<STORY_NUMBER>").concat(a),b=function(r){var n=new Map,e="<gpt_citation ",t="</gpt_citation>",a=0;for(;;){var i=r.indexOf(e,a);if(-1===i)break;var c=r.indexOf(">",i);if(-1===c)break;var o=r.indexOf(t,c);if(-1===o)break;var s=r.slice(i,o+t.length),l=r.slice(i,c+1),u=l.indexOf("id=");if(-1!==u){var f=u+3;"\\"===l[f]&&f++,'"'!==l[f]&&"'"!==l[f]||f++;for(var v="";f<l.length&&/\d/.test(l[f]);)v+=l[f++];v&&n.set(v,s)}a=o+t.length}return n}(f);console.log("RAW INPUT",b);var m=f.match(/<reason(?:\s+source="([^"]*)")?>([\s\S]*?)<\/reason>/),O=f.match(/<gap(?:\s+source="([^"]*)")?>([\s\S]*?)<\/gap>/),T=f.match(/<relevance_score>([\s\S]*?)<\/relevance_score>/),S=(null===(v=null==m?void 0:m[2])||void 0===v?void 0:v.trim())||"",x=(null===(d=null==O?void 0:O[2])||void 0===d?void 0:d.trim())||"";return S=e(S,_),x=e(x,_),b.forEach(function(r,n){var e="".concat(_,"<GPT_CITATION_ID>").concat(n);s.push(t(r,e))}),c.push({id:_,reason:S,reasonSource:(null===(h=null==m?void 0:m[1])||void 0===h?void 0:h.trim())||"",gap:x,gapSource:(null===(p=null==O?void 0:O[1])||void 0===p?void 0:p.trim())||"",relevance_score:Number(null===(g=null==T?void 0:T[1])||void 0===g?void 0:g.trim())||0}),"<a ".concat(i?'table="true"':""," href=").concat(o,"ai_reasoning$").concat(_).concat(u,">Source</a>")})};o=u(r),i&&(l=u(i))}catch(n){console.error("Error in extracting AI Reasoning from this block:",r)}finally{return{outputText:o,reasonings:c,gpt_citation:s,processedDescription:l}}}function e(r,n){if(!r)return r;for(var e="",t=0;;){var a=r.indexOf("<gpt_citation_here ",t);if(-1===a){e+=r.slice(t);break}e+=r.slice(t,a);var i=r.indexOf(">",a);if(-1===i){e+=r.slice(a);break}var c=r.slice(a,i+1),o=c.indexOf("id="),s="";if(-1!==o){var l=o+3;for("\\"===c[l]&&l++,'"'!==c[l]&&"'"!==c[l]||l++;l<c.length&&/\d/.test(c[l]);)s+=c[l++]}if(s){var u="".concat(n,"<GPT_CITATION_ID>").concat(s);e+='<a href="gpt_citation$'.concat(u,'">Source</a>')}t=i+1}return e}function t(r,n){var e=function(n){for(var e,t=new RegExp("<".concat(n,">([\\s\\S]*?)<\\/").concat(n,">"),"gi"),a=[];null!==(e=t.exec(r));)a.push(e[1].trim());return a},t=e("domain"),a=e("paraphrase");return{citation_number:n,customMetadata:{type:"gpt_citation",data_sources:e("data_sources"),training_data_title:t,paraphrase:a}}}var a=function(r,n,e){var t=r.includes("<h1><b>Title</b></h1>\n\n")?r:e?"<h1><b>Title</b></h1>\n\n".concat(e," \n").concat(r):r;return t=t.includes("<h1><b>Requirement Type</b></h1>\n\n")?t:n?"<h1><b>Requirement Type</b></h1>\n\n".concat(n," \n").concat(t):t};function i(r){try{var n=r.match(/<h2>\s*(?:<b>)?Description(?:<\/b>)?\s*<\/h2>\s*([\s\S]*?)(?=\s*<h2>|$)/i);if(n)return n[1].trim()}catch(r){}return null}export{r as extractBlockStreams,i as extractDescription,t as parseGptCitation,n as processAIReasoningFromBlocks,a as processUserStoryValue,e as replaceGptCitation};
1
+ const e=e=>{const t=[];try{const n="<BLOCK_STREAM_START>",r="<BLOCK_STREAM_END>";let i=0;for(;;){const o=e.indexOf(n,i);if(-1===o)break;const s=e.indexOf(r,o+n.length);if(-1===s)break;const c=e.slice(o+n.length,s).trim();t.push(JSON.parse(c)),i=s+r.length}}catch(e){console.error("Error in extracting blocks from stream",e)}finally{return t}};function t(e,t,i,o){const s=[];let c="";const a=[];let l="";console.log("RAW INPUT",JSON.stringify(e),JSON.stringify(o));try{const u=e=>e.replace(/<a\s+(?:(table="true")\s+)?href=(\\"|")ai_reasoning\$(\d+)(\\"|")>([\s\S]*?)<\/a>/g,(e,o,c,l,u,f)=>{var d,h,g,p,_;const b=`${l}<BLOCK_NUMBER>${t}<STORY_NUMBER>${i}`,$=function(e){const t=new Map,n="<gpt_citation ",r="</gpt_citation>";let i=0;for(;;){const o=e.indexOf(n,i);if(-1===o)break;const s=e.indexOf(">",o);if(-1===s)break;const c=e.indexOf(r,s);if(-1===c)break;const a=e.slice(o,c+r.length),l=e.slice(o,s+1),u=l.indexOf("id=");if(-1!==u){let e=u+3;"\\"===l[e]&&e++,'"'!==l[e]&&"'"!==l[e]||e++;let n="";for(;e<l.length&&/\d/.test(l[e]);)n+=l[e++];n&&t.set(n,a)}i=c+r.length}return t}(f);console.log("RAW INPUT",$);const m=f.match(/<reason(?:\s+source="([^"]*)")?>([\s\S]*?)<\/reason>/),v=f.match(/<gap(?:\s+source="([^"]*)")?>([\s\S]*?)<\/gap>/),O=f.match(/<relevance_score>([\s\S]*?)<\/relevance_score>/);let T=(null===(d=null==m?void 0:m[2])||void 0===d?void 0:d.trim())||"",S=(null===(h=null==v?void 0:v[2])||void 0===h?void 0:h.trim())||"";T=n(T,b),S=n(S,b),$.forEach((e,t)=>{const n=`${b}<GPT_CITATION_ID>${t}`;a.push(r(e,n))}),s.push({id:b,reason:T,reasonSource:(null===(g=null==m?void 0:m[1])||void 0===g?void 0:g.trim())||"",gap:S,gapSource:(null===(p=null==v?void 0:v[1])||void 0===p?void 0:p.trim())||"",relevance_score:Number(null===(_=null==O?void 0:O[1])||void 0===_?void 0:_.trim())||0});return`<a ${o?'table="true"':""} href=${c}ai_reasoning$${b}${u}>Source</a>`});c=u(e),o&&(l=u(o))}catch(t){console.error("Error in extracting AI Reasoning from this block:",e)}finally{return{outputText:c,reasonings:s,gpt_citation:a,processedDescription:l}}}function n(e,t){if(!e)return e;let n="",r=0;for(;;){const i=e.indexOf("<gpt_citation_here ",r);if(-1===i){n+=e.slice(r);break}n+=e.slice(r,i);const o=e.indexOf(">",i);if(-1===o){n+=e.slice(i);break}const s=e.slice(i,o+1),c=s.indexOf("id=");let a="";if(-1!==c){let e=c+3;for("\\"===s[e]&&e++,'"'!==s[e]&&"'"!==s[e]||e++;e<s.length&&/\d/.test(s[e]);)a+=s[e++]}if(a){n+=`<a href="gpt_citation$${`${t}<GPT_CITATION_ID>${a}`}">Source</a>`}r=o+1}return n}function r(e,t){const n=t=>{const n=new RegExp(`<${t}>([\\s\\S]*?)<\\/${t}>`,"gi"),r=[];let i;for(;null!==(i=n.exec(e));)r.push(i[1].trim());return r},r=n("domain"),i=n("paraphrase");return{citation_number:t,customMetadata:{type:"gpt_citation",data_sources:n("data_sources"),training_data_title:r,paraphrase:i}}}const i=(e,t,n)=>{let r=e.includes("<h1><b>Title</b></h1>\n\n")?e:n?`<h1><b>Title</b></h1>\n\n${n} \n${e}`:e;return r=r.includes("<h1><b>Requirement Type</b></h1>\n\n")?r:t?`<h1><b>Requirement Type</b></h1>\n\n${t} \n${r}`:r,r};function o(e){try{const t=/<h2>\s*(?:<b>)?Description(?:<\/b>)?\s*<\/h2>\s*([\s\S]*?)(?=\s*<h2>|$)/i,n=e.match(t);if(n)return n[1].trim()}catch(e){}return null}export{e as extractBlockStreams,o as extractDescription,r as parseGptCitation,t as processAIReasoningFromBlocks,i as processUserStoryValue,n as replaceGptCitation};
2
2
  //# sourceMappingURL=proccess-stream.utils.js.map
@@ -1,2 +1,2 @@
1
- function e(e){try{return e=null==e?void 0:e.replace(/(?<!\d)(\d+(?:\.\d+)+)\./g,function(e,t){var c=t.split("."),r=" ".repeat(c.length-1);return"".concat(r).concat(t,".")})}catch(e){console.error("Error in formatMarkdown",e)}}var t=function(e,t){try{if(e){return e.replace(/\*\*Title\*\* ?: ([\s\S]*?)\n\n\*\*Description\*\*/,"**Title** : ".concat(t,"\n\n**Description**"))}}catch(t){return console.error("Error in replaceTitleSection:",t),e}},c=function(e){var t=e.replace(/<upt\s+id="([^"]*)">([\s\S]*?)<\/upt>/g,function(e,t,c){var r=encodeURIComponent(t);return c.replace(/<del>/,'<del id="'.concat(r,'" data-review-id="').concat(r,'">')).replace(/<ins>/,'<ins id="'.concat(r,'" data-review-id="').concat(r,'">'))});return console.log("postprocessUserStoryAfterEdit::output",t),t},r=function(e){return e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'")},n=function(e){console.log("postprocessUserStoryAfterEdit::input",e);var t=e.replace(/<del([^>]*?)data-review-id="([^"]*)"([^>]*)>([\s\S]*?)<\/del>([\s\S]*?)<ins([^>]*?)data-review-id="([^"]*)"([^>]*)>([\s\S]*?)<\/ins>/g,function(e,t,c,n,o,a,i,l,s,p){var d=r(c);if(d!==r(l))return e;var u="".concat(t).concat(n).replace(/\s+/g," ").trim(),g="".concat(i).concat(s).replace(/\s+/g," ").trim(),f=u?"<del ".concat(u,">").concat(o,"</del>"):"<del>".concat(o,"</del>"),v=g?"<ins ".concat(g,">").concat(p,"</ins>"):"<ins>".concat(p,"</ins>");return'<upt id="'.concat(decodeURIComponent(d),'">').concat(f).concat(a).concat(v,"</upt>")});return console.log("postprocessUserStoryAfterEdit::output",t),t};export{e as formatMarkdown,n as postprocessUserStoryAfterEdit,c as preprocessUserStoryForEdit,t as replaceTitleSection};
1
+ function e(e){try{return e=null==e?void 0:e.replace(/(?<!\d)(\d+(?:\.\d+)+)\./g,(e,r)=>{const t=r.split(".");return`${" ".repeat(t.length-1)}${r}.`})}catch(e){console.error("Error in formatMarkdown",e)}}const r=(e,r)=>{try{if(e){const t=/\*\*Title\*\* ?: ([\s\S]*?)\n\n\*\*Description\*\*/;return e.replace(t,`**Title** : ${r}\n\n**Description**`)}}catch(r){return console.error("Error in replaceTitleSection:",r),e}},t=e=>{const r=e.replace(/<upt\s+id="([^"]*)">([\s\S]*?)<\/upt>/g,(e,r,t)=>{const o=encodeURIComponent(r);return t.replace(/<del>/,`<del id="${o}" data-review-id="${o}">`).replace(/<ins>/,`<ins id="${o}" data-review-id="${o}">`)});return console.log("postprocessUserStoryAfterEdit::output",r),r},o=e=>e.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),n=e=>{console.log("postprocessUserStoryAfterEdit::input",e);const r=e.replace(/<del([^>]*?)data-review-id="([^"]*)"([^>]*)>([\s\S]*?)<\/del>([\s\S]*?)<ins([^>]*?)data-review-id="([^"]*)"([^>]*)>([\s\S]*?)<\/ins>/g,(e,r,t,n,s,i,c,l,p,d)=>{const a=o(t);if(a!==o(l))return e;const u=`${r}${n}`.replace(/\s+/g," ").trim(),$=`${c}${p}`.replace(/\s+/g," ").trim(),g=u?`<del ${u}>${s}</del>`:`<del>${s}</del>`,S=$?`<ins ${$}>${d}</ins>`:`<ins>${d}</ins>`;return`<upt id="${decodeURIComponent(a)}">${g}${i}${S}</upt>`});return console.log("postprocessUserStoryAfterEdit::output",r),r};export{e as formatMarkdown,n as postprocessUserStoryAfterEdit,t as preprocessUserStoryForEdit,r as replaceTitleSection};
2
2
  //# sourceMappingURL=user-story.utils.js.map