@viswa-test/creative-workspace-ui-component 0.0.3 → 0.0.4

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 (2521) hide show
  1. package/dist/_virtual/_tslib.js +1 -1
  2. package/dist/cjs/_virtual/_tslib.js +1 -1
  3. package/dist/cjs/features/lsc-guidelines/LscGuidelines.js +2 -0
  4. package/dist/cjs/features/lsc-guidelines/LscGuidelines.js.map +1 -0
  5. package/dist/cjs/features/lsc-guidelines/components/GuidelineAttachmentIcon.js +2 -0
  6. package/dist/cjs/features/lsc-guidelines/components/GuidelineAttachmentIcon.js.map +1 -0
  7. package/dist/cjs/features/lsc-guidelines/components/GuidelineCardMenu.js +2 -0
  8. package/dist/cjs/features/lsc-guidelines/components/GuidelineCardMenu.js.map +1 -0
  9. package/dist/cjs/features/lsc-guidelines/components/GuidelineCart.js +2 -0
  10. package/dist/cjs/features/lsc-guidelines/components/GuidelineCart.js.map +1 -0
  11. package/dist/cjs/features/lsc-guidelines/components/GuidelineCartHeader.js +2 -0
  12. package/dist/cjs/features/lsc-guidelines/components/GuidelineCartHeader.js.map +1 -0
  13. package/dist/cjs/features/lsc-guidelines/components/GuidelineCartItem.js +2 -0
  14. package/dist/cjs/features/lsc-guidelines/components/GuidelineCartItem.js.map +1 -0
  15. package/dist/cjs/features/lsc-guidelines/components/GuidelineConfirmDialog.js +2 -0
  16. package/dist/cjs/features/lsc-guidelines/components/GuidelineConfirmDialog.js.map +1 -0
  17. package/dist/cjs/features/lsc-guidelines/components/GuidelineEditor.js +2 -0
  18. package/dist/cjs/features/lsc-guidelines/components/GuidelineEditor.js.map +1 -0
  19. package/dist/cjs/features/lsc-guidelines/components/GuidelineEditorPage.js +2 -0
  20. package/dist/cjs/features/lsc-guidelines/components/GuidelineEditorPage.js.map +1 -0
  21. package/dist/cjs/features/lsc-guidelines/components/GuidelineEmptyState.js +2 -0
  22. package/dist/cjs/features/lsc-guidelines/components/GuidelineEmptyState.js.map +1 -0
  23. package/dist/cjs/features/lsc-guidelines/components/GuidelineHeader.js +2 -0
  24. package/dist/cjs/features/lsc-guidelines/components/GuidelineHeader.js.map +1 -0
  25. package/dist/cjs/features/lsc-guidelines/components/GuidelineIconButton.js +2 -0
  26. package/dist/cjs/features/lsc-guidelines/components/GuidelineIconButton.js.map +1 -0
  27. package/dist/cjs/features/lsc-guidelines/components/GuidelineLandingPage.js +2 -0
  28. package/dist/cjs/features/lsc-guidelines/components/GuidelineLandingPage.js.map +1 -0
  29. package/dist/cjs/features/lsc-guidelines/components/GuidelineLibrary.js +2 -0
  30. package/dist/cjs/features/lsc-guidelines/components/GuidelineLibrary.js.map +1 -0
  31. package/dist/cjs/features/lsc-guidelines/components/GuidelineLibraryCard.js +2 -0
  32. package/dist/cjs/features/lsc-guidelines/components/GuidelineLibraryCard.js.map +1 -0
  33. package/dist/cjs/features/lsc-guidelines/components/GuidelinePopoverCart.js +2 -0
  34. package/dist/cjs/features/lsc-guidelines/components/GuidelinePopoverCart.js.map +1 -0
  35. package/dist/cjs/features/lsc-guidelines/components/GuidelineProceedButton.js +2 -0
  36. package/dist/cjs/features/lsc-guidelines/components/GuidelineProceedButton.js.map +1 -0
  37. package/dist/cjs/features/lsc-guidelines/components/GuidelineSavedModal.js +2 -0
  38. package/dist/cjs/features/lsc-guidelines/components/GuidelineSavedModal.js.map +1 -0
  39. package/dist/cjs/features/lsc-guidelines/components/GuidelineSelectButton.js +2 -0
  40. package/dist/cjs/features/lsc-guidelines/components/GuidelineSelectButton.js.map +1 -0
  41. package/dist/cjs/features/lsc-guidelines/constants.js +2 -0
  42. package/dist/cjs/features/lsc-guidelines/constants.js.map +1 -0
  43. package/dist/cjs/features/lsc-guidelines/editor.js +2 -0
  44. package/dist/cjs/features/lsc-guidelines/editor.js.map +1 -0
  45. package/dist/cjs/features/lsc-guidelines/hooks/useControllableState.js +2 -0
  46. package/dist/cjs/features/lsc-guidelines/hooks/useControllableState.js.map +1 -0
  47. package/dist/cjs/features/lsc-guidelines/hooks/useGuidelineFlow.js +2 -0
  48. package/dist/cjs/features/lsc-guidelines/hooks/useGuidelineFlow.js.map +1 -0
  49. package/dist/cjs/features/lsc-guidelines/hooks/useGuidelineSelection.js +2 -0
  50. package/dist/cjs/features/lsc-guidelines/hooks/useGuidelineSelection.js.map +1 -0
  51. package/dist/cjs/features/lsc-guidelines/index.js +2 -0
  52. package/dist/cjs/features/lsc-guidelines/theme.css +8 -0
  53. package/dist/cjs/features/lsc-guidelines/utils.js +2 -0
  54. package/dist/cjs/features/lsc-guidelines/utils.js.map +1 -0
  55. package/dist/cjs/index.js +1 -1
  56. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.mjs.js +1 -1
  57. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +1 -1
  58. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js +1 -1
  59. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js.map +1 -1
  60. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.mjs.js +1 -1
  61. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.mjs.js.map +1 -1
  62. package/dist/features/lsc-guidelines/LscGuidelines.js +2 -0
  63. package/dist/features/lsc-guidelines/LscGuidelines.js.map +1 -0
  64. package/dist/features/lsc-guidelines/components/GuidelineAttachmentIcon.js +2 -0
  65. package/dist/features/lsc-guidelines/components/GuidelineAttachmentIcon.js.map +1 -0
  66. package/dist/features/lsc-guidelines/components/GuidelineCardMenu.js +2 -0
  67. package/dist/features/lsc-guidelines/components/GuidelineCardMenu.js.map +1 -0
  68. package/dist/features/lsc-guidelines/components/GuidelineCart.js +2 -0
  69. package/dist/features/lsc-guidelines/components/GuidelineCart.js.map +1 -0
  70. package/dist/features/lsc-guidelines/components/GuidelineCartHeader.js +2 -0
  71. package/dist/features/lsc-guidelines/components/GuidelineCartHeader.js.map +1 -0
  72. package/dist/features/lsc-guidelines/components/GuidelineCartItem.js +2 -0
  73. package/dist/features/lsc-guidelines/components/GuidelineCartItem.js.map +1 -0
  74. package/dist/features/lsc-guidelines/components/GuidelineConfirmDialog.js +2 -0
  75. package/dist/features/lsc-guidelines/components/GuidelineConfirmDialog.js.map +1 -0
  76. package/dist/features/lsc-guidelines/components/GuidelineEditor.js +2 -0
  77. package/dist/features/lsc-guidelines/components/GuidelineEditor.js.map +1 -0
  78. package/dist/features/lsc-guidelines/components/GuidelineEditorPage.js +2 -0
  79. package/dist/features/lsc-guidelines/components/GuidelineEditorPage.js.map +1 -0
  80. package/dist/features/lsc-guidelines/components/GuidelineEmptyState.js +2 -0
  81. package/dist/features/lsc-guidelines/components/GuidelineEmptyState.js.map +1 -0
  82. package/dist/features/lsc-guidelines/components/GuidelineHeader.js +2 -0
  83. package/dist/features/lsc-guidelines/components/GuidelineHeader.js.map +1 -0
  84. package/dist/features/lsc-guidelines/components/GuidelineIconButton.js +2 -0
  85. package/dist/features/lsc-guidelines/components/GuidelineIconButton.js.map +1 -0
  86. package/dist/features/lsc-guidelines/components/GuidelineLandingPage.js +2 -0
  87. package/dist/features/lsc-guidelines/components/GuidelineLandingPage.js.map +1 -0
  88. package/dist/features/lsc-guidelines/components/GuidelineLibrary.js +2 -0
  89. package/dist/features/lsc-guidelines/components/GuidelineLibrary.js.map +1 -0
  90. package/dist/features/lsc-guidelines/components/GuidelineLibraryCard.js +2 -0
  91. package/dist/features/lsc-guidelines/components/GuidelineLibraryCard.js.map +1 -0
  92. package/dist/features/lsc-guidelines/components/GuidelinePopoverCart.js +2 -0
  93. package/dist/features/lsc-guidelines/components/GuidelinePopoverCart.js.map +1 -0
  94. package/dist/features/lsc-guidelines/components/GuidelineProceedButton.js +2 -0
  95. package/dist/features/lsc-guidelines/components/GuidelineProceedButton.js.map +1 -0
  96. package/dist/features/lsc-guidelines/components/GuidelineSavedModal.js +2 -0
  97. package/dist/features/lsc-guidelines/components/GuidelineSavedModal.js.map +1 -0
  98. package/dist/features/lsc-guidelines/components/GuidelineSelectButton.js +2 -0
  99. package/dist/features/lsc-guidelines/components/GuidelineSelectButton.js.map +1 -0
  100. package/dist/features/lsc-guidelines/constants.js +2 -0
  101. package/dist/features/lsc-guidelines/constants.js.map +1 -0
  102. package/dist/features/lsc-guidelines/editor.js +2 -0
  103. package/dist/features/lsc-guidelines/editor.js.map +1 -0
  104. package/dist/features/lsc-guidelines/hooks/useControllableState.js +2 -0
  105. package/dist/features/lsc-guidelines/hooks/useControllableState.js.map +1 -0
  106. package/dist/features/lsc-guidelines/hooks/useGuidelineFlow.js +2 -0
  107. package/dist/features/lsc-guidelines/hooks/useGuidelineFlow.js.map +1 -0
  108. package/dist/features/lsc-guidelines/hooks/useGuidelineSelection.js +2 -0
  109. package/dist/features/lsc-guidelines/hooks/useGuidelineSelection.js.map +1 -0
  110. package/dist/features/lsc-guidelines/index.js +2 -0
  111. package/dist/features/lsc-guidelines/theme.css +8 -0
  112. package/dist/features/lsc-guidelines/utils.js +2 -0
  113. package/dist/features/lsc-guidelines/utils.js.map +1 -0
  114. package/dist/index.js +1 -1
  115. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js +1 -1
  116. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +1 -1
  117. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js +1 -1
  118. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js.map +1 -1
  119. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js +1 -1
  120. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js.map +1 -1
  121. package/dist/types/App.d.ts +4 -0
  122. package/dist/types/App.d.ts.map +1 -0
  123. package/dist/types/components/AssignReminders/AssignLevelAccordions.d.ts +9 -0
  124. package/dist/types/components/AssignReminders/AssignLevelAccordions.d.ts.map +1 -0
  125. package/dist/types/components/AssignReminders/AssignReminderLevels.d.ts +5 -0
  126. package/dist/types/components/AssignReminders/AssignReminderLevels.d.ts.map +1 -0
  127. package/dist/types/components/AssignReminders/AssignReminderTest.d.ts +6 -0
  128. package/dist/types/components/AssignReminders/AssignReminderTest.d.ts.map +1 -0
  129. package/dist/types/components/AssignReminders/AssignReminderWrapper.d.ts +4 -0
  130. package/dist/types/components/AssignReminders/AssignReminderWrapper.d.ts.map +1 -0
  131. package/dist/types/components/AssignReminders/assets/FileCheckCorner.d.ts +6 -0
  132. package/dist/types/components/AssignReminders/assets/FileCheckCorner.d.ts.map +1 -0
  133. package/dist/types/components/AssignReminders/assets/InfoIcon.d.ts +4 -0
  134. package/dist/types/components/AssignReminders/assets/InfoIcon.d.ts.map +1 -0
  135. package/dist/types/components/AssignReminders/assets/VerticalLine.d.ts +3 -0
  136. package/dist/types/components/AssignReminders/assets/VerticalLine.d.ts.map +1 -0
  137. package/dist/types/components/AssignReminders/components/AssignEmailFields.d.ts +13 -0
  138. package/dist/types/components/AssignReminders/components/AssignEmailFields.d.ts.map +1 -0
  139. package/dist/types/components/AssignReminders/components/AssignLevelsDatePicker.d.ts +8 -0
  140. package/dist/types/components/AssignReminders/components/AssignLevelsDatePicker.d.ts.map +1 -0
  141. package/dist/types/components/AssignReminders/components/CustomCheckbox.d.ts +8 -0
  142. package/dist/types/components/AssignReminders/components/CustomCheckbox.d.ts.map +1 -0
  143. package/dist/types/components/AssignReminders/components/CustomDatePicker.d.ts +9 -0
  144. package/dist/types/components/AssignReminders/components/CustomDatePicker.d.ts.map +1 -0
  145. package/dist/types/components/AssignReminders/components/CustomDropdown.d.ts +9 -0
  146. package/dist/types/components/AssignReminders/components/CustomDropdown.d.ts.map +1 -0
  147. package/dist/types/components/AssignReminders/components/LevelData.d.ts +5 -0
  148. package/dist/types/components/AssignReminders/components/LevelData.d.ts.map +1 -0
  149. package/dist/types/components/AssignReminders/components/ReviewStatus.d.ts +4 -0
  150. package/dist/types/components/AssignReminders/components/ReviewStatus.d.ts.map +1 -0
  151. package/dist/types/components/AssignReminders/constants/assignReminderDefaultLevels.d.ts +4 -0
  152. package/dist/types/components/AssignReminders/constants/assignReminderDefaultLevels.d.ts.map +1 -0
  153. package/dist/types/components/AssignReminders/styles/AssignReminderStyles.d.ts +3 -0
  154. package/dist/types/components/AssignReminders/styles/AssignReminderStyles.d.ts.map +1 -0
  155. package/dist/types/components/AssignReminders/styles/AssignReminderWrapperStyles.d.ts +3 -0
  156. package/dist/types/components/AssignReminders/styles/AssignReminderWrapperStyles.d.ts.map +1 -0
  157. package/dist/types/components/AssignReminders/styles/ReviewStatusStyles.d.ts +3 -0
  158. package/dist/types/components/AssignReminders/styles/ReviewStatusStyles.d.ts.map +1 -0
  159. package/dist/types/components/AssignReminders/types/accordionLevels.type.d.ts +12 -0
  160. package/dist/types/components/AssignReminders/types/accordionLevels.type.d.ts.map +1 -0
  161. package/dist/types/components/AssignReminders/types/assignReminderLevels.type.d.ts +16 -0
  162. package/dist/types/components/AssignReminders/types/assignReminderLevels.type.d.ts.map +1 -0
  163. package/dist/types/components/AssignReminders/types/levelData.type.d.ts +9 -0
  164. package/dist/types/components/AssignReminders/types/levelData.type.d.ts.map +1 -0
  165. package/dist/types/components/AssignReminders/types/types.d.ts +92 -0
  166. package/dist/types/components/AssignReminders/types/types.d.ts.map +1 -0
  167. package/dist/types/components/AssignReminders/utils/generateRandomColorsPair.d.ts +5 -0
  168. package/dist/types/components/AssignReminders/utils/generateRandomColorsPair.d.ts.map +1 -0
  169. package/dist/types/components/ScopeTree/HighlightedText.d.ts.map +1 -0
  170. package/dist/types/components/ScopeTree/TreeAddAction.d.ts.map +1 -0
  171. package/dist/types/components/ScopeTree/TreeMenu.d.ts.map +1 -0
  172. package/dist/types/components/ScopeTree/TreeNode.d.ts.map +1 -0
  173. package/dist/types/components/ScopeTree/TreeNodeHeader.d.ts.map +1 -0
  174. package/dist/types/components/ScopeTree/TreeSectionItem.d.ts.map +1 -0
  175. package/dist/types/components/ScopeTree/TreeSidebar.d.ts.map +1 -0
  176. package/dist/types/components/ScopeTree/TreeTooltip.d.ts.map +1 -0
  177. package/dist/types/features/lsc-guidelines/LscGuidelines.d.ts +4 -0
  178. package/dist/types/features/lsc-guidelines/LscGuidelines.d.ts.map +1 -0
  179. package/dist/types/features/lsc-guidelines/components/GuidelineAttachmentIcon.d.ts +35 -0
  180. package/dist/types/features/lsc-guidelines/components/GuidelineAttachmentIcon.d.ts.map +1 -0
  181. package/dist/types/features/lsc-guidelines/components/GuidelineCardMenu.d.ts +34 -0
  182. package/dist/types/features/lsc-guidelines/components/GuidelineCardMenu.d.ts.map +1 -0
  183. package/dist/types/features/lsc-guidelines/components/GuidelineCart.d.ts +20 -0
  184. package/dist/types/features/lsc-guidelines/components/GuidelineCart.d.ts.map +1 -0
  185. package/dist/types/features/lsc-guidelines/components/GuidelineCartHeader.d.ts +14 -0
  186. package/dist/types/features/lsc-guidelines/components/GuidelineCartHeader.d.ts.map +1 -0
  187. package/dist/types/features/lsc-guidelines/components/GuidelineCartItem.d.ts +16 -0
  188. package/dist/types/features/lsc-guidelines/components/GuidelineCartItem.d.ts.map +1 -0
  189. package/dist/types/features/lsc-guidelines/components/GuidelineConfirmDialog.d.ts +18 -0
  190. package/dist/types/features/lsc-guidelines/components/GuidelineConfirmDialog.d.ts.map +1 -0
  191. package/dist/types/features/lsc-guidelines/components/GuidelineEditor.d.ts +15 -0
  192. package/dist/types/features/lsc-guidelines/components/GuidelineEditor.d.ts.map +1 -0
  193. package/dist/types/features/lsc-guidelines/components/GuidelineEditorPage.d.ts +4 -0
  194. package/dist/types/features/lsc-guidelines/components/GuidelineEditorPage.d.ts.map +1 -0
  195. package/dist/types/features/lsc-guidelines/components/GuidelineEmptyState.d.ts +11 -0
  196. package/dist/types/features/lsc-guidelines/components/GuidelineEmptyState.d.ts.map +1 -0
  197. package/dist/types/features/lsc-guidelines/components/GuidelineHeader.d.ts +19 -0
  198. package/dist/types/features/lsc-guidelines/components/GuidelineHeader.d.ts.map +1 -0
  199. package/dist/types/features/lsc-guidelines/components/GuidelineIconButton.d.ts +15 -0
  200. package/dist/types/features/lsc-guidelines/components/GuidelineIconButton.d.ts.map +1 -0
  201. package/dist/types/features/lsc-guidelines/components/GuidelineLandingPage.d.ts +4 -0
  202. package/dist/types/features/lsc-guidelines/components/GuidelineLandingPage.d.ts.map +1 -0
  203. package/dist/types/features/lsc-guidelines/components/GuidelineLibrary.d.ts +31 -0
  204. package/dist/types/features/lsc-guidelines/components/GuidelineLibrary.d.ts.map +1 -0
  205. package/dist/types/features/lsc-guidelines/components/GuidelineLibraryCard.d.ts +31 -0
  206. package/dist/types/features/lsc-guidelines/components/GuidelineLibraryCard.d.ts.map +1 -0
  207. package/dist/types/features/lsc-guidelines/components/GuidelinePopoverCart.d.ts +29 -0
  208. package/dist/types/features/lsc-guidelines/components/GuidelinePopoverCart.d.ts.map +1 -0
  209. package/dist/types/features/lsc-guidelines/components/GuidelineProceedButton.d.ts +12 -0
  210. package/dist/types/features/lsc-guidelines/components/GuidelineProceedButton.d.ts.map +1 -0
  211. package/dist/types/features/lsc-guidelines/components/GuidelineSavedModal.d.ts +20 -0
  212. package/dist/types/features/lsc-guidelines/components/GuidelineSavedModal.d.ts.map +1 -0
  213. package/dist/types/features/lsc-guidelines/components/GuidelineSelectButton.d.ts +11 -0
  214. package/dist/types/features/lsc-guidelines/components/GuidelineSelectButton.d.ts.map +1 -0
  215. package/dist/types/features/lsc-guidelines/constants.d.ts +51 -0
  216. package/dist/types/features/lsc-guidelines/constants.d.ts.map +1 -0
  217. package/dist/types/features/lsc-guidelines/editor.d.ts +4 -0
  218. package/dist/types/features/lsc-guidelines/editor.d.ts.map +1 -0
  219. package/dist/types/features/lsc-guidelines/hooks/useControllableState.d.ts +8 -0
  220. package/dist/types/features/lsc-guidelines/hooks/useControllableState.d.ts.map +1 -0
  221. package/dist/types/features/lsc-guidelines/hooks/useGuidelineFlow.d.ts +10 -0
  222. package/dist/types/features/lsc-guidelines/hooks/useGuidelineFlow.d.ts.map +1 -0
  223. package/dist/types/features/lsc-guidelines/hooks/useGuidelineSelection.d.ts +17 -0
  224. package/dist/types/features/lsc-guidelines/hooks/useGuidelineSelection.d.ts.map +1 -0
  225. package/dist/types/features/lsc-guidelines/index.d.ts +27 -0
  226. package/dist/types/features/lsc-guidelines/index.d.ts.map +1 -0
  227. package/dist/types/features/lsc-guidelines/types.d.ts +98 -0
  228. package/dist/types/features/lsc-guidelines/types.d.ts.map +1 -0
  229. package/dist/types/features/lsc-guidelines/utils.d.ts +31 -0
  230. package/dist/types/features/lsc-guidelines/utils.d.ts.map +1 -0
  231. package/dist/types/index.d.ts +4 -0
  232. package/dist/types/index.d.ts.map +1 -0
  233. package/dist/types/types.d.ts.map +1 -0
  234. package/dist/types/utils/treeUtils.d.ts.map +1 -0
  235. package/package.json +43 -690
  236. package/dist/_virtual/__node-resolve_empty.js +0 -2
  237. package/dist/_virtual/__node-resolve_empty.js.map +0 -1
  238. package/dist/_virtual/_commonjsHelpers.js +0 -2
  239. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  240. package/dist/_virtual/_node-resolve_empty.js +0 -2
  241. package/dist/_virtual/_node-resolve_empty.js.map +0 -1
  242. package/dist/_virtual/browser-index.js +0 -2
  243. package/dist/_virtual/browser-index.js.map +0 -1
  244. package/dist/_virtual/browser-index2.js +0 -2
  245. package/dist/_virtual/browser-index2.js.map +0 -1
  246. package/dist/_virtual/clock.js +0 -2
  247. package/dist/_virtual/clock.js.map +0 -1
  248. package/dist/_virtual/conventions.js +0 -2
  249. package/dist/_virtual/conventions.js.map +0 -1
  250. package/dist/_virtual/document.js +0 -2
  251. package/dist/_virtual/document.js.map +0 -1
  252. package/dist/_virtual/dom-parser.js +0 -2
  253. package/dist/_virtual/dom-parser.js.map +0 -1
  254. package/dist/_virtual/dom.js +0 -2
  255. package/dist/_virtual/dom.js.map +0 -1
  256. package/dist/_virtual/entities.js +0 -2
  257. package/dist/_virtual/entities.js.map +0 -1
  258. package/dist/_virtual/extends.js +0 -2
  259. package/dist/_virtual/extends.js.map +0 -1
  260. package/dist/_virtual/index.js +0 -2
  261. package/dist/_virtual/index2.js +0 -2
  262. package/dist/_virtual/index2.js.map +0 -1
  263. package/dist/_virtual/index3.js +0 -2
  264. package/dist/_virtual/index3.js.map +0 -1
  265. package/dist/_virtual/index4.js +0 -2
  266. package/dist/_virtual/index4.js.map +0 -1
  267. package/dist/_virtual/parse-sidx.js +0 -2
  268. package/dist/_virtual/parse-sidx.js.map +0 -1
  269. package/dist/_virtual/prism-cpp.js +0 -2
  270. package/dist/_virtual/prism-cpp.js.map +0 -1
  271. package/dist/_virtual/prism-cpp2.js +0 -2
  272. package/dist/_virtual/prism-cpp2.js.map +0 -1
  273. package/dist/_virtual/prism-java.js +0 -2
  274. package/dist/_virtual/prism-java.js.map +0 -1
  275. package/dist/_virtual/prism-java2.js +0 -2
  276. package/dist/_virtual/prism-java2.js.map +0 -1
  277. package/dist/_virtual/prism-python.js +0 -2
  278. package/dist/_virtual/prism-python.js.map +0 -1
  279. package/dist/_virtual/prism-python2.js +0 -2
  280. package/dist/_virtual/prism-python2.js.map +0 -1
  281. package/dist/_virtual/prism-rust.js +0 -2
  282. package/dist/_virtual/prism-rust.js.map +0 -1
  283. package/dist/_virtual/prism-rust2.js +0 -2
  284. package/dist/_virtual/prism-rust2.js.map +0 -1
  285. package/dist/_virtual/prism-typescript.js +0 -2
  286. package/dist/_virtual/prism-typescript.js.map +0 -1
  287. package/dist/_virtual/prism-typescript2.js +0 -2
  288. package/dist/_virtual/prism-typescript2.js.map +0 -1
  289. package/dist/_virtual/prism.js +0 -2
  290. package/dist/_virtual/prism.js.map +0 -1
  291. package/dist/_virtual/prism2.js +0 -2
  292. package/dist/_virtual/prism2.js.map +0 -1
  293. package/dist/_virtual/sax.js +0 -2
  294. package/dist/_virtual/sax.js.map +0 -1
  295. package/dist/_virtual/showdown.js +0 -2
  296. package/dist/_virtual/showdown.js.map +0 -1
  297. package/dist/_virtual/showdown2.js +0 -2
  298. package/dist/_virtual/showdown2.js.map +0 -1
  299. package/dist/_virtual/window.js +0 -2
  300. package/dist/_virtual/window.js.map +0 -1
  301. package/dist/cjs/_virtual/__node-resolve_empty.js +0 -2
  302. package/dist/cjs/_virtual/__node-resolve_empty.js.map +0 -1
  303. package/dist/cjs/_virtual/_commonjsHelpers.js +0 -2
  304. package/dist/cjs/_virtual/_commonjsHelpers.js.map +0 -1
  305. package/dist/cjs/_virtual/_node-resolve_empty.js +0 -2
  306. package/dist/cjs/_virtual/_node-resolve_empty.js.map +0 -1
  307. package/dist/cjs/_virtual/browser-index.js +0 -2
  308. package/dist/cjs/_virtual/browser-index.js.map +0 -1
  309. package/dist/cjs/_virtual/browser-index2.js +0 -2
  310. package/dist/cjs/_virtual/browser-index2.js.map +0 -1
  311. package/dist/cjs/_virtual/clock.js +0 -2
  312. package/dist/cjs/_virtual/clock.js.map +0 -1
  313. package/dist/cjs/_virtual/conventions.js +0 -2
  314. package/dist/cjs/_virtual/conventions.js.map +0 -1
  315. package/dist/cjs/_virtual/document.js +0 -2
  316. package/dist/cjs/_virtual/document.js.map +0 -1
  317. package/dist/cjs/_virtual/dom-parser.js +0 -2
  318. package/dist/cjs/_virtual/dom-parser.js.map +0 -1
  319. package/dist/cjs/_virtual/dom.js +0 -2
  320. package/dist/cjs/_virtual/dom.js.map +0 -1
  321. package/dist/cjs/_virtual/entities.js +0 -2
  322. package/dist/cjs/_virtual/entities.js.map +0 -1
  323. package/dist/cjs/_virtual/extends.js +0 -2
  324. package/dist/cjs/_virtual/extends.js.map +0 -1
  325. package/dist/cjs/_virtual/index.js +0 -2
  326. package/dist/cjs/_virtual/index2.js +0 -2
  327. package/dist/cjs/_virtual/index2.js.map +0 -1
  328. package/dist/cjs/_virtual/index3.js +0 -2
  329. package/dist/cjs/_virtual/index3.js.map +0 -1
  330. package/dist/cjs/_virtual/index4.js +0 -2
  331. package/dist/cjs/_virtual/index4.js.map +0 -1
  332. package/dist/cjs/_virtual/parse-sidx.js +0 -2
  333. package/dist/cjs/_virtual/parse-sidx.js.map +0 -1
  334. package/dist/cjs/_virtual/prism-cpp.js +0 -2
  335. package/dist/cjs/_virtual/prism-cpp.js.map +0 -1
  336. package/dist/cjs/_virtual/prism-cpp2.js +0 -2
  337. package/dist/cjs/_virtual/prism-cpp2.js.map +0 -1
  338. package/dist/cjs/_virtual/prism-java.js +0 -2
  339. package/dist/cjs/_virtual/prism-java.js.map +0 -1
  340. package/dist/cjs/_virtual/prism-java2.js +0 -2
  341. package/dist/cjs/_virtual/prism-java2.js.map +0 -1
  342. package/dist/cjs/_virtual/prism-python.js +0 -2
  343. package/dist/cjs/_virtual/prism-python.js.map +0 -1
  344. package/dist/cjs/_virtual/prism-python2.js +0 -2
  345. package/dist/cjs/_virtual/prism-python2.js.map +0 -1
  346. package/dist/cjs/_virtual/prism-rust.js +0 -2
  347. package/dist/cjs/_virtual/prism-rust.js.map +0 -1
  348. package/dist/cjs/_virtual/prism-rust2.js +0 -2
  349. package/dist/cjs/_virtual/prism-rust2.js.map +0 -1
  350. package/dist/cjs/_virtual/prism-typescript.js +0 -2
  351. package/dist/cjs/_virtual/prism-typescript.js.map +0 -1
  352. package/dist/cjs/_virtual/prism-typescript2.js +0 -2
  353. package/dist/cjs/_virtual/prism-typescript2.js.map +0 -1
  354. package/dist/cjs/_virtual/prism.js +0 -2
  355. package/dist/cjs/_virtual/prism.js.map +0 -1
  356. package/dist/cjs/_virtual/prism2.js +0 -2
  357. package/dist/cjs/_virtual/prism2.js.map +0 -1
  358. package/dist/cjs/_virtual/sax.js +0 -2
  359. package/dist/cjs/_virtual/sax.js.map +0 -1
  360. package/dist/cjs/_virtual/showdown.js +0 -2
  361. package/dist/cjs/_virtual/showdown.js.map +0 -1
  362. package/dist/cjs/_virtual/showdown2.js +0 -2
  363. package/dist/cjs/_virtual/showdown2.js.map +0 -1
  364. package/dist/cjs/_virtual/window.js +0 -2
  365. package/dist/cjs/_virtual/window.js.map +0 -1
  366. package/dist/cjs/features/CitationRenderer/CitationRenderer.js +0 -2
  367. package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +0 -1
  368. package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +0 -2
  369. package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js.map +0 -1
  370. package/dist/cjs/features/RequirementAI/components/CustomPopover/CustomPopover.js +0 -2
  371. package/dist/cjs/features/RequirementAI/components/CustomPopover/CustomPopover.js.map +0 -1
  372. package/dist/cjs/features/RequirementAI/components/CustomPopover/CustomPopover.module.css.js +0 -2
  373. package/dist/cjs/features/RequirementAI/components/CustomPopover/CustomPopover.module.css.js.map +0 -1
  374. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js +0 -2
  375. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js.map +0 -1
  376. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.module.css.js +0 -2
  377. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.module.css.js.map +0 -1
  378. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js +0 -2
  379. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js.map +0 -1
  380. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.module.css.js +0 -2
  381. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.module.css.js.map +0 -1
  382. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js +0 -2
  383. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js.map +0 -1
  384. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.module.css.js +0 -2
  385. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.module.css.js.map +0 -1
  386. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js +0 -2
  387. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js.map +0 -1
  388. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.module.css.js +0 -2
  389. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.module.css.js.map +0 -1
  390. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js +0 -2
  391. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js.map +0 -1
  392. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.module.css.js +0 -2
  393. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.module.css.js.map +0 -1
  394. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js +0 -2
  395. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js.map +0 -1
  396. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js +0 -2
  397. package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js.map +0 -1
  398. package/dist/cjs/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js +0 -2
  399. package/dist/cjs/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js.map +0 -1
  400. package/dist/cjs/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.module.css.js +0 -2
  401. package/dist/cjs/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.module.css.js.map +0 -1
  402. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +0 -2
  403. package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js.map +0 -1
  404. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +0 -2
  405. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/Editor.js.map +0 -1
  406. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js +0 -2
  407. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js.map +0 -1
  408. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +0 -2
  409. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js.map +0 -1
  410. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +0 -2
  411. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js.map +0 -1
  412. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +0 -2
  413. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js.map +0 -1
  414. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +0 -2
  415. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js.map +0 -1
  416. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js +0 -2
  417. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js.map +0 -1
  418. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.js +0 -2
  419. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.js.map +0 -1
  420. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js +0 -2
  421. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js.map +0 -1
  422. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.js +0 -2
  423. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.js.map +0 -1
  424. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.js +0 -2
  425. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.js.map +0 -1
  426. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.js +0 -2
  427. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.js.map +0 -1
  428. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +0 -2
  429. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js.map +0 -1
  430. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +0 -2
  431. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js.map +0 -1
  432. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +0 -2
  433. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js.map +0 -1
  434. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.js +0 -2
  435. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.js.map +0 -1
  436. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js +0 -2
  437. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js.map +0 -1
  438. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.js +0 -2
  439. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.js.map +0 -1
  440. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +0 -2
  441. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js.map +0 -1
  442. package/dist/cjs/features/RequirementAI/components/UserStoryCard/AttachedContext.js +0 -2
  443. package/dist/cjs/features/RequirementAI/components/UserStoryCard/AttachedContext.js.map +0 -1
  444. package/dist/cjs/features/RequirementAI/components/UserStoryCard/AttachedContext.module.css.js +0 -2
  445. package/dist/cjs/features/RequirementAI/components/UserStoryCard/AttachedContext.module.css.js.map +0 -1
  446. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +0 -2
  447. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js.map +0 -1
  448. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +0 -2
  449. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js.map +0 -1
  450. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +0 -2
  451. package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js.map +0 -1
  452. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +0 -2
  453. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js.map +0 -1
  454. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +0 -2
  455. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js.map +0 -1
  456. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +0 -2
  457. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js.map +0 -1
  458. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +0 -2
  459. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js.map +0 -1
  460. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +0 -2
  461. package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js.map +0 -1
  462. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +0 -2
  463. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js.map +0 -1
  464. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +0 -2
  465. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js.map +0 -1
  466. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/History.svg.js +0 -2
  467. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/History.svg.js.map +0 -1
  468. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +0 -2
  469. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js.map +0 -1
  470. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg.js +0 -2
  471. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg.js.map +0 -1
  472. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg.js +0 -2
  473. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg.js.map +0 -1
  474. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js +0 -2
  475. package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js.map +0 -1
  476. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +0 -2
  477. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js.map +0 -1
  478. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonAccoridon.module.css.js +0 -2
  479. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonAccoridon.module.css.js.map +0 -1
  480. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +0 -2
  481. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js.map +0 -1
  482. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.module.css.js +0 -2
  483. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.module.css.js.map +0 -1
  484. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js +0 -2
  485. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js.map +0 -1
  486. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +0 -2
  487. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js.map +0 -1
  488. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.module.css.js +0 -2
  489. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.module.css.js.map +0 -1
  490. package/dist/cjs/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +0 -2
  491. package/dist/cjs/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js.map +0 -1
  492. package/dist/cjs/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.module.css.js +0 -2
  493. package/dist/cjs/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.module.css.js.map +0 -1
  494. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppModCitationContent.module.css.js +0 -2
  495. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppModCitationContent.module.css.js.map +0 -1
  496. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +0 -2
  497. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js.map +0 -1
  498. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +0 -2
  499. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js.map +0 -1
  500. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +0 -2
  501. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js.map +0 -1
  502. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.module.css.js +0 -2
  503. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.module.css.js.map +0 -1
  504. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +0 -2
  505. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js.map +0 -1
  506. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +0 -2
  507. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js.map +0 -1
  508. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +0 -2
  509. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js.map +0 -1
  510. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/types.js +0 -2
  511. package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/types.js.map +0 -1
  512. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js +0 -2
  513. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js.map +0 -1
  514. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.module.css.js +0 -2
  515. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.module.css.js.map +0 -1
  516. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js +0 -2
  517. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js.map +0 -1
  518. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js +0 -2
  519. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js.map +0 -1
  520. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js +0 -2
  521. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js.map +0 -1
  522. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.module.css.js +0 -2
  523. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.module.css.js.map +0 -1
  524. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js +0 -2
  525. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js.map +0 -1
  526. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.module.css.js +0 -2
  527. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.module.css.js.map +0 -1
  528. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js +0 -2
  529. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js.map +0 -1
  530. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.module.css.js +0 -2
  531. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.module.css.js.map +0 -1
  532. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js +0 -2
  533. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js.map +0 -1
  534. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js +0 -2
  535. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js.map +0 -1
  536. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js +0 -2
  537. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js.map +0 -1
  538. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js +0 -2
  539. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js.map +0 -1
  540. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js +0 -2
  541. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js.map +0 -1
  542. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js +0 -2
  543. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js.map +0 -1
  544. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js +0 -2
  545. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js.map +0 -1
  546. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/searchwaveform.js +0 -2
  547. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/searchwaveform.js.map +0 -1
  548. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/searchwaveform.module.css.js +0 -2
  549. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/searchwaveform.module.css.js.map +0 -1
  550. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js +0 -2
  551. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js.map +0 -1
  552. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.js +0 -2
  553. package/dist/cjs/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.js.map +0 -1
  554. package/dist/cjs/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js +0 -2
  555. package/dist/cjs/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js.map +0 -1
  556. package/dist/cjs/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +0 -2
  557. package/dist/cjs/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js.map +0 -1
  558. package/dist/cjs/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js +0 -2
  559. package/dist/cjs/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js.map +0 -1
  560. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +0 -2
  561. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.js.map +0 -1
  562. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +0 -2
  563. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js.map +0 -1
  564. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +0 -2
  565. package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js.map +0 -1
  566. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js +0 -2
  567. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js.map +0 -1
  568. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationContent.module.css.js +0 -2
  569. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationContent.module.css.js.map +0 -1
  570. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js +0 -2
  571. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js.map +0 -1
  572. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js +0 -2
  573. package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js.map +0 -1
  574. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +0 -2
  575. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js.map +0 -1
  576. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.module.css.js +0 -2
  577. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.module.css.js.map +0 -1
  578. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +0 -2
  579. package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js.map +0 -1
  580. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js +0 -2
  581. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js.map +0 -1
  582. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +0 -2
  583. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js.map +0 -1
  584. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.module.css.js +0 -2
  585. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.module.css.js.map +0 -1
  586. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +0 -2
  587. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js.map +0 -1
  588. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +0 -2
  589. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js.map +0 -1
  590. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +0 -2
  591. package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js.map +0 -1
  592. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js +0 -2
  593. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js.map +0 -1
  594. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js +0 -2
  595. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js.map +0 -1
  596. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeContent.module.css.js +0 -2
  597. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeContent.module.css.js.map +0 -1
  598. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js +0 -2
  599. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js.map +0 -1
  600. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.module.css.js +0 -2
  601. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.module.css.js.map +0 -1
  602. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js +0 -2
  603. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js.map +0 -1
  604. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.module.css.js +0 -2
  605. package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.module.css.js.map +0 -1
  606. package/dist/cjs/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js +0 -2
  607. package/dist/cjs/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js.map +0 -1
  608. package/dist/cjs/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +0 -2
  609. package/dist/cjs/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js.map +0 -1
  610. package/dist/cjs/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.module.css.js +0 -2
  611. package/dist/cjs/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.module.css.js.map +0 -1
  612. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitation.js +0 -2
  613. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitation.js.map +0 -1
  614. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js +0 -2
  615. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js.map +0 -1
  616. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +0 -2
  617. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js.map +0 -1
  618. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +0 -2
  619. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js.map +0 -1
  620. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.module.css.js +0 -2
  621. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.module.css.js.map +0 -1
  622. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +0 -2
  623. package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js.map +0 -1
  624. package/dist/cjs/features/RequirementAI/components/citations/web-citation/Webcitation.module.css.js +0 -2
  625. package/dist/cjs/features/RequirementAI/components/citations/web-citation/Webcitation.module.css.js.map +0 -1
  626. package/dist/cjs/features/RequirementAI/components/cra/PartialRequirementContent.js +0 -2
  627. package/dist/cjs/features/RequirementAI/components/cra/PartialRequirementContent.js.map +0 -1
  628. package/dist/cjs/features/RequirementAI/components/cra/PartialRequirementContent.module.css.js +0 -2
  629. package/dist/cjs/features/RequirementAI/components/cra/PartialRequirementContent.module.css.js.map +0 -1
  630. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +0 -2
  631. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js.map +0 -1
  632. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.module.css.js +0 -2
  633. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.module.css.js.map +0 -1
  634. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +0 -2
  635. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js.map +0 -1
  636. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.module.css.js +0 -2
  637. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.module.css.js.map +0 -1
  638. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +0 -2
  639. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js.map +0 -1
  640. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.module.css.js +0 -2
  641. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.module.css.js.map +0 -1
  642. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +0 -2
  643. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js.map +0 -1
  644. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.module.css.js +0 -2
  645. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.module.css.js.map +0 -1
  646. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js +0 -2
  647. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js.map +0 -1
  648. package/dist/cjs/features/RequirementAI/components/segment/ExampleComponentWrapper.js +0 -2
  649. package/dist/cjs/features/RequirementAI/components/segment/ExampleComponentWrapper.js.map +0 -1
  650. package/dist/cjs/features/RequirementAI/components/segment/Segment.js +0 -2
  651. package/dist/cjs/features/RequirementAI/components/segment/Segment.js.map +0 -1
  652. package/dist/cjs/features/RequirementAI/components/segment/SegmentLoader.js +0 -2
  653. package/dist/cjs/features/RequirementAI/components/segment/SegmentLoader.js.map +0 -1
  654. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +0 -2
  655. package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js.map +0 -1
  656. package/dist/cjs/features/RequirementAI/components/segment/segment.module.css.js +0 -2
  657. package/dist/cjs/features/RequirementAI/components/segment/segment.module.css.js.map +0 -1
  658. package/dist/cjs/features/RequirementAI/components/story-screen/BigEnoughPanel.js +0 -2
  659. package/dist/cjs/features/RequirementAI/components/story-screen/BigEnoughPanel.js.map +0 -1
  660. package/dist/cjs/features/RequirementAI/components/story-screen/BigEnoughPanel.module.css.js +0 -2
  661. package/dist/cjs/features/RequirementAI/components/story-screen/BigEnoughPanel.module.css.js.map +0 -1
  662. package/dist/cjs/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js +0 -2
  663. package/dist/cjs/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js.map +0 -1
  664. package/dist/cjs/features/RequirementAI/components/story-screen/ReplaceLearnedTags.module.css.js +0 -2
  665. package/dist/cjs/features/RequirementAI/components/story-screen/ReplaceLearnedTags.module.css.js.map +0 -1
  666. package/dist/cjs/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js +0 -2
  667. package/dist/cjs/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js.map +0 -1
  668. package/dist/cjs/features/RequirementAI/components/story-screen/StreamingScreenSidebar.module.css.js +0 -2
  669. package/dist/cjs/features/RequirementAI/components/story-screen/StreamingScreenSidebar.module.css.js.map +0 -1
  670. package/dist/cjs/features/RequirementAI/components/story-screen/SubfeatureBlock.js +0 -2
  671. package/dist/cjs/features/RequirementAI/components/story-screen/SubfeatureBlock.js.map +0 -1
  672. package/dist/cjs/features/RequirementAI/components/story-screen/SubfeatureBlock.module.css.js +0 -2
  673. package/dist/cjs/features/RequirementAI/components/story-screen/SubfeatureBlock.module.css.js.map +0 -1
  674. package/dist/cjs/features/RequirementAI/components/story-screen/UserStoryScreen.js +0 -2
  675. package/dist/cjs/features/RequirementAI/components/story-screen/UserStoryScreen.js.map +0 -1
  676. package/dist/cjs/features/RequirementAI/components/story-screen/UserStoryScreen.module.css.js +0 -2
  677. package/dist/cjs/features/RequirementAI/components/story-screen/UserStoryScreen.module.css.js.map +0 -1
  678. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.js +0 -2
  679. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.js.map +0 -1
  680. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +0 -2
  681. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js.map +0 -1
  682. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.module.css.js +0 -2
  683. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.module.css.js.map +0 -1
  684. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js +0 -2
  685. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js.map +0 -1
  686. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.module.css.js +0 -2
  687. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.module.css.js.map +0 -1
  688. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js +0 -2
  689. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js.map +0 -1
  690. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.module.css.js +0 -2
  691. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.module.css.js.map +0 -1
  692. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js +0 -2
  693. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js.map +0 -1
  694. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.module.css.js +0 -2
  695. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.module.css.js.map +0 -1
  696. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js +0 -2
  697. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js.map +0 -1
  698. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.module.css.js +0 -2
  699. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.module.css.js.map +0 -1
  700. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js +0 -2
  701. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js.map +0 -1
  702. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.module.css.js +0 -2
  703. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.module.css.js.map +0 -1
  704. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js +0 -2
  705. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js.map +0 -1
  706. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.module.css.js +0 -2
  707. package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.module.css.js.map +0 -1
  708. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +0 -2
  709. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js.map +0 -1
  710. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +0 -2
  711. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js.map +0 -1
  712. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +0 -2
  713. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js.map +0 -1
  714. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +0 -2
  715. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js.map +0 -1
  716. package/dist/cjs/features/RequirementAI/hooks/useApprovalStatus.js +0 -2
  717. package/dist/cjs/features/RequirementAI/hooks/useApprovalStatus.js.map +0 -1
  718. package/dist/cjs/features/RequirementAI/hooks/useDiffEditReviewMode.js +0 -2
  719. package/dist/cjs/features/RequirementAI/hooks/useDiffEditReviewMode.js.map +0 -1
  720. package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +0 -2
  721. package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js.map +0 -1
  722. package/dist/cjs/features/RequirementAI/icons/AiGapIcon.js +0 -2
  723. package/dist/cjs/features/RequirementAI/icons/AiGapIcon.js.map +0 -1
  724. package/dist/cjs/features/RequirementAI/icons/AiReasoningIcon.js +0 -2
  725. package/dist/cjs/features/RequirementAI/icons/AiReasoningIcon.js.map +0 -1
  726. package/dist/cjs/features/RequirementAI/icons/BigEnoughIcon.js +0 -2
  727. package/dist/cjs/features/RequirementAI/icons/BigEnoughIcon.js.map +0 -1
  728. package/dist/cjs/features/RequirementAI/icons/BookmarkIcon.js +0 -2
  729. package/dist/cjs/features/RequirementAI/icons/BookmarkIcon.js.map +0 -1
  730. package/dist/cjs/features/RequirementAI/icons/BrainRed.js +0 -2
  731. package/dist/cjs/features/RequirementAI/icons/BrainRed.js.map +0 -1
  732. package/dist/cjs/features/RequirementAI/icons/CheckIcon.js +0 -2
  733. package/dist/cjs/features/RequirementAI/icons/CheckIcon.js.map +0 -1
  734. package/dist/cjs/features/RequirementAI/icons/ChevronDownIcon.js +0 -2
  735. package/dist/cjs/features/RequirementAI/icons/ChevronDownIcon.js.map +0 -1
  736. package/dist/cjs/features/RequirementAI/icons/ChevronUpIcon.js +0 -2
  737. package/dist/cjs/features/RequirementAI/icons/ChevronUpIcon.js.map +0 -1
  738. package/dist/cjs/features/RequirementAI/icons/CognitiveDecision.js +0 -2
  739. package/dist/cjs/features/RequirementAI/icons/CognitiveDecision.js.map +0 -1
  740. package/dist/cjs/features/RequirementAI/icons/MeetingHighlightsIcon.js +0 -2
  741. package/dist/cjs/features/RequirementAI/icons/MeetingHighlightsIcon.js.map +0 -1
  742. package/dist/cjs/features/RequirementAI/icons/MenuUnfoldIcon.js +0 -2
  743. package/dist/cjs/features/RequirementAI/icons/MenuUnfoldIcon.js.map +0 -1
  744. package/dist/cjs/features/RequirementAI/icons/PencilIcon.js +0 -2
  745. package/dist/cjs/features/RequirementAI/icons/PencilIcon.js.map +0 -1
  746. package/dist/cjs/features/RequirementAI/icons/ReasoningBulbIcon.js +0 -2
  747. package/dist/cjs/features/RequirementAI/icons/ReasoningBulbIcon.js.map +0 -1
  748. package/dist/cjs/features/RequirementAI/icons/RelevanceScoreIcon.js +0 -2
  749. package/dist/cjs/features/RequirementAI/icons/RelevanceScoreIcon.js.map +0 -1
  750. package/dist/cjs/features/RequirementAI/icons/SidebarCloseIcon.js +0 -2
  751. package/dist/cjs/features/RequirementAI/icons/SidebarCloseIcon.js.map +0 -1
  752. package/dist/cjs/features/RequirementAI/icons/SidebarOpenIcon.js +0 -2
  753. package/dist/cjs/features/RequirementAI/icons/SidebarOpenIcon.js.map +0 -1
  754. package/dist/cjs/features/RequirementAI/icons/TrashIcon.js +0 -2
  755. package/dist/cjs/features/RequirementAI/icons/TrashIcon.js.map +0 -1
  756. package/dist/cjs/features/RequirementAI/shared/Accordian.js +0 -2
  757. package/dist/cjs/features/RequirementAI/shared/Accordian.js.map +0 -1
  758. package/dist/cjs/features/RequirementAI/shared/Accordian.module.css.js +0 -2
  759. package/dist/cjs/features/RequirementAI/shared/Accordian.module.css.js.map +0 -1
  760. package/dist/cjs/features/RequirementAI/shared/AtomicButton.js +0 -2
  761. package/dist/cjs/features/RequirementAI/shared/AtomicButton.js.map +0 -1
  762. package/dist/cjs/features/RequirementAI/shared/AtomicButton.module.css.js +0 -2
  763. package/dist/cjs/features/RequirementAI/shared/AtomicButton.module.css.js.map +0 -1
  764. package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +0 -2
  765. package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.js.map +0 -1
  766. package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.module.css.js +0 -2
  767. package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.module.css.js.map +0 -1
  768. package/dist/cjs/features/RequirementAI/shared/CitationLoadingIndicator.js +0 -2
  769. package/dist/cjs/features/RequirementAI/shared/CitationLoadingIndicator.js.map +0 -1
  770. package/dist/cjs/features/RequirementAI/shared/CitationLoadingIndicator.module.css.js +0 -2
  771. package/dist/cjs/features/RequirementAI/shared/CitationLoadingIndicator.module.css.js.map +0 -1
  772. package/dist/cjs/features/RequirementAI/shared/CodeViewer.js +0 -2
  773. package/dist/cjs/features/RequirementAI/shared/CodeViewer.js.map +0 -1
  774. package/dist/cjs/features/RequirementAI/shared/CodeViewer.module.css.js +0 -2
  775. package/dist/cjs/features/RequirementAI/shared/CodeViewer.module.css.js.map +0 -1
  776. package/dist/cjs/features/RequirementAI/shared/ExpandableOl.js +0 -2
  777. package/dist/cjs/features/RequirementAI/shared/ExpandableOl.js.map +0 -1
  778. package/dist/cjs/features/RequirementAI/shared/ExpandableOl.module.css.js +0 -2
  779. package/dist/cjs/features/RequirementAI/shared/ExpandableOl.module.css.js.map +0 -1
  780. package/dist/cjs/features/RequirementAI/shared/GeneratedCodeCitation.js +0 -2
  781. package/dist/cjs/features/RequirementAI/shared/GeneratedCodeCitation.js.map +0 -1
  782. package/dist/cjs/features/RequirementAI/shared/GeneratedCodeCitation.module.css.js +0 -2
  783. package/dist/cjs/features/RequirementAI/shared/GeneratedCodeCitation.module.css.js.map +0 -1
  784. package/dist/cjs/features/RequirementAI/shared/ReqAiCitationRenderer.js +0 -2
  785. package/dist/cjs/features/RequirementAI/shared/ReqAiCitationRenderer.js.map +0 -1
  786. package/dist/cjs/features/RequirementAI/shared/ReqAiCitationRenderer.module.css.js +0 -2
  787. package/dist/cjs/features/RequirementAI/shared/ReqAiCitationRenderer.module.css.js.map +0 -1
  788. package/dist/cjs/features/RequirementAI/shared/UpdatedAnimationContent.js +0 -2
  789. package/dist/cjs/features/RequirementAI/shared/UpdatedAnimationContent.js.map +0 -1
  790. package/dist/cjs/features/RequirementAI/shared/UpdatedAnimationContent.module.css.js +0 -2
  791. package/dist/cjs/features/RequirementAI/shared/UpdatedAnimationContent.module.css.js.map +0 -1
  792. package/dist/cjs/features/RequirementAI/shared/useMarkdownSearch.js +0 -2
  793. package/dist/cjs/features/RequirementAI/shared/useMarkdownSearch.js.map +0 -1
  794. package/dist/cjs/features/RequirementAI/store/ref.context.js +0 -2
  795. package/dist/cjs/features/RequirementAI/store/ref.context.js.map +0 -1
  796. package/dist/cjs/features/RequirementAI/utils/css.utils.js +0 -2
  797. package/dist/cjs/features/RequirementAI/utils/css.utils.js.map +0 -1
  798. package/dist/cjs/features/RequirementAI/utils/diff-edit.utils.js +0 -2
  799. package/dist/cjs/features/RequirementAI/utils/diff-edit.utils.js.map +0 -1
  800. package/dist/cjs/features/RequirementAI/utils/helpers.js +0 -2
  801. package/dist/cjs/features/RequirementAI/utils/helpers.js.map +0 -1
  802. package/dist/cjs/features/RequirementAI/utils/json-helper.js +0 -2
  803. package/dist/cjs/features/RequirementAI/utils/json-helper.js.map +0 -1
  804. package/dist/cjs/features/RequirementAI/utils/learned-tag.utils.js +0 -2
  805. package/dist/cjs/features/RequirementAI/utils/learned-tag.utils.js.map +0 -1
  806. package/dist/cjs/features/RequirementAI/utils/proccess-stream.utils.js +0 -2
  807. package/dist/cjs/features/RequirementAI/utils/proccess-stream.utils.js.map +0 -1
  808. package/dist/cjs/features/RequirementAI/utils/user-story.utils.js +0 -2
  809. package/dist/cjs/features/RequirementAI/utils/user-story.utils.js.map +0 -1
  810. package/dist/cjs/features/RequirementAI/utils/userStoryAttachedContext.utils.js +0 -2
  811. package/dist/cjs/features/RequirementAI/utils/userStoryAttachedContext.utils.js.map +0 -1
  812. package/dist/cjs/features/RequirementAI/utils/userstory-approval-transform.utils.js +0 -2
  813. package/dist/cjs/features/RequirementAI/utils/userstory-approval-transform.utils.js.map +0 -1
  814. package/dist/cjs/features/RequirementAI/utils/userstory-approval.utils.js +0 -2
  815. package/dist/cjs/features/RequirementAI/utils/userstory-approval.utils.js.map +0 -1
  816. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +0 -2
  817. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +0 -1
  818. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +0 -2
  819. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js.map +0 -1
  820. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +0 -2
  821. package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +0 -1
  822. package/dist/cjs/features/UserStoryImport/UserStoryPicker.context.js +0 -2
  823. package/dist/cjs/features/UserStoryImport/UserStoryPicker.context.js.map +0 -1
  824. package/dist/cjs/features/UserStoryImport/UserStoryPicker.js +0 -2
  825. package/dist/cjs/features/UserStoryImport/UserStoryPicker.js.map +0 -1
  826. package/dist/cjs/features/UserStoryImport/UserStoryPicker.theme.js +0 -2
  827. package/dist/cjs/features/UserStoryImport/UserStoryPicker.theme.js.map +0 -1
  828. package/dist/cjs/features/UserStoryImport/components/BackNav.js +0 -2
  829. package/dist/cjs/features/UserStoryImport/components/BackNav.js.map +0 -1
  830. package/dist/cjs/features/UserStoryImport/components/Badge.js +0 -2
  831. package/dist/cjs/features/UserStoryImport/components/Badge.js.map +0 -1
  832. package/dist/cjs/features/UserStoryImport/components/BrowseProjectsButton.js +0 -2
  833. package/dist/cjs/features/UserStoryImport/components/BrowseProjectsButton.js.map +0 -1
  834. package/dist/cjs/features/UserStoryImport/components/CardGrid.js +0 -2
  835. package/dist/cjs/features/UserStoryImport/components/CardGrid.js.map +0 -1
  836. package/dist/cjs/features/UserStoryImport/components/CardProceedButton.js +0 -2
  837. package/dist/cjs/features/UserStoryImport/components/CardProceedButton.js.map +0 -1
  838. package/dist/cjs/features/UserStoryImport/components/ContentArea.js +0 -2
  839. package/dist/cjs/features/UserStoryImport/components/ContentArea.js.map +0 -1
  840. package/dist/cjs/features/UserStoryImport/components/Footer.js +0 -2
  841. package/dist/cjs/features/UserStoryImport/components/Footer.js.map +0 -1
  842. package/dist/cjs/features/UserStoryImport/components/Header.js +0 -2
  843. package/dist/cjs/features/UserStoryImport/components/Header.js.map +0 -1
  844. package/dist/cjs/features/UserStoryImport/components/NavRow.js +0 -2
  845. package/dist/cjs/features/UserStoryImport/components/NavRow.js.map +0 -1
  846. package/dist/cjs/features/UserStoryImport/components/ProceedButton.js +0 -2
  847. package/dist/cjs/features/UserStoryImport/components/ProceedButton.js.map +0 -1
  848. package/dist/cjs/features/UserStoryImport/components/ProjectCard.js +0 -2
  849. package/dist/cjs/features/UserStoryImport/components/ProjectCard.js.map +0 -1
  850. package/dist/cjs/features/UserStoryImport/components/ResizeHandle.js +0 -2
  851. package/dist/cjs/features/UserStoryImport/components/ResizeHandle.js.map +0 -1
  852. package/dist/cjs/features/UserStoryImport/components/ScopeDropdown.js +0 -2
  853. package/dist/cjs/features/UserStoryImport/components/ScopeDropdown.js.map +0 -1
  854. package/dist/cjs/features/UserStoryImport/components/SearchInput.js +0 -2
  855. package/dist/cjs/features/UserStoryImport/components/SearchInput.js.map +0 -1
  856. package/dist/cjs/features/UserStoryImport/components/SectionHeading.js +0 -2
  857. package/dist/cjs/features/UserStoryImport/components/SectionHeading.js.map +0 -1
  858. package/dist/cjs/features/UserStoryImport/components/ShowMore.js +0 -2
  859. package/dist/cjs/features/UserStoryImport/components/ShowMore.js.map +0 -1
  860. package/dist/cjs/features/UserStoryImport/components/Sidebar.js +0 -2
  861. package/dist/cjs/features/UserStoryImport/components/Sidebar.js.map +0 -1
  862. package/dist/cjs/features/UserStoryImport/components/SidebarFavoritesList.js +0 -2
  863. package/dist/cjs/features/UserStoryImport/components/SidebarFavoritesList.js.map +0 -1
  864. package/dist/cjs/features/UserStoryImport/components/SidebarProjectList.js +0 -2
  865. package/dist/cjs/features/UserStoryImport/components/SidebarProjectList.js.map +0 -1
  866. package/dist/cjs/features/UserStoryImport/components/SidebarSection.js +0 -2
  867. package/dist/cjs/features/UserStoryImport/components/SidebarSection.js.map +0 -1
  868. package/dist/cjs/features/UserStoryImport/components/SortDropdown.js +0 -2
  869. package/dist/cjs/features/UserStoryImport/components/SortDropdown.js.map +0 -1
  870. package/dist/cjs/features/UserStoryImport/components/SplitLayout.js +0 -2
  871. package/dist/cjs/features/UserStoryImport/components/SplitLayout.js.map +0 -1
  872. package/dist/cjs/features/UserStoryImport/components/Toolbar.js +0 -2
  873. package/dist/cjs/features/UserStoryImport/components/Toolbar.js.map +0 -1
  874. package/dist/cjs/features/UserStoryImport/components/TypeDropdown.js +0 -2
  875. package/dist/cjs/features/UserStoryImport/components/TypeDropdown.js.map +0 -1
  876. package/dist/cjs/features/UserStoryImport/components/UserStoryCard.js +0 -2
  877. package/dist/cjs/features/UserStoryImport/components/UserStoryCard.js.map +0 -1
  878. package/dist/cjs/features/UserStoryImport/components/UserStoryImportDialog.js +0 -2
  879. package/dist/cjs/features/UserStoryImport/components/UserStoryImportDialog.js.map +0 -1
  880. package/dist/cjs/features/UserStoryImport/components/UserStoryScopeDropdown.js +0 -2
  881. package/dist/cjs/features/UserStoryImport/components/UserStoryScopeDropdown.js.map +0 -1
  882. package/dist/cjs/features/UserStoryImport/components/usePanelResize.js +0 -2
  883. package/dist/cjs/features/UserStoryImport/components/usePanelResize.js.map +0 -1
  884. package/dist/cjs/features/UserStoryImport/hooks/useFilteredItems.js +0 -2
  885. package/dist/cjs/features/UserStoryImport/hooks/useFilteredItems.js.map +0 -1
  886. package/dist/cjs/features/UserStoryImport/hooks/useUSPData.js +0 -2
  887. package/dist/cjs/features/UserStoryImport/hooks/useUSPData.js.map +0 -1
  888. package/dist/cjs/features/UserStoryImport/hooks/useUserStoryPickerState.js +0 -2
  889. package/dist/cjs/features/UserStoryImport/hooks/useUserStoryPickerState.js.map +0 -1
  890. package/dist/cjs/features/UserStoryImport/lib/CustomTooltip.js +0 -2
  891. package/dist/cjs/features/UserStoryImport/lib/CustomTooltip.js.map +0 -1
  892. package/dist/cjs/features/UserStoryImport/lib/Tooltip.js +0 -2
  893. package/dist/cjs/features/UserStoryImport/lib/Tooltip.js.map +0 -1
  894. package/dist/cjs/features/UserStoryImport/lib/adaptLabel.js +0 -2
  895. package/dist/cjs/features/UserStoryImport/lib/adaptLabel.js.map +0 -1
  896. package/dist/cjs/features/UserStoryImport/lib/cn.js +0 -2
  897. package/dist/cjs/features/UserStoryImport/lib/cn.js.map +0 -1
  898. package/dist/cjs/features/UserStoryImport/lib/dialog.js +0 -2
  899. package/dist/cjs/features/UserStoryImport/lib/dialog.js.map +0 -1
  900. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
  901. package/dist/cjs/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  902. package/dist/cjs/node_modules/@babel/runtime/helpers/extends.js +0 -2
  903. package/dist/cjs/node_modules/@babel/runtime/helpers/extends.js.map +0 -1
  904. package/dist/cjs/node_modules/@lexical/clipboard/LexicalClipboard.dev.mjs.js +0 -2
  905. package/dist/cjs/node_modules/@lexical/clipboard/LexicalClipboard.dev.mjs.js.map +0 -1
  906. package/dist/cjs/node_modules/@lexical/clipboard/LexicalClipboard.mjs.js +0 -2
  907. package/dist/cjs/node_modules/@lexical/clipboard/LexicalClipboard.mjs.js.map +0 -1
  908. package/dist/cjs/node_modules/@lexical/clipboard/LexicalClipboard.prod.mjs.js +0 -2
  909. package/dist/cjs/node_modules/@lexical/clipboard/LexicalClipboard.prod.mjs.js.map +0 -1
  910. package/dist/cjs/node_modules/@lexical/code/LexicalCode.dev.mjs.js +0 -2
  911. package/dist/cjs/node_modules/@lexical/code/LexicalCode.dev.mjs.js.map +0 -1
  912. package/dist/cjs/node_modules/@lexical/code/LexicalCode.mjs.js +0 -2
  913. package/dist/cjs/node_modules/@lexical/code/LexicalCode.mjs.js.map +0 -1
  914. package/dist/cjs/node_modules/@lexical/code/LexicalCode.prod.mjs.js +0 -2
  915. package/dist/cjs/node_modules/@lexical/code/LexicalCode.prod.mjs.js.map +0 -1
  916. package/dist/cjs/node_modules/@lexical/dragon/LexicalDragon.dev.mjs.js +0 -2
  917. package/dist/cjs/node_modules/@lexical/dragon/LexicalDragon.dev.mjs.js.map +0 -1
  918. package/dist/cjs/node_modules/@lexical/dragon/LexicalDragon.mjs.js +0 -2
  919. package/dist/cjs/node_modules/@lexical/dragon/LexicalDragon.mjs.js.map +0 -1
  920. package/dist/cjs/node_modules/@lexical/dragon/LexicalDragon.prod.mjs.js +0 -2
  921. package/dist/cjs/node_modules/@lexical/dragon/LexicalDragon.prod.mjs.js.map +0 -1
  922. package/dist/cjs/node_modules/@lexical/extension/LexicalExtension.dev.mjs.js +0 -2
  923. package/dist/cjs/node_modules/@lexical/extension/LexicalExtension.dev.mjs.js.map +0 -1
  924. package/dist/cjs/node_modules/@lexical/extension/LexicalExtension.mjs.js +0 -2
  925. package/dist/cjs/node_modules/@lexical/extension/LexicalExtension.mjs.js.map +0 -1
  926. package/dist/cjs/node_modules/@lexical/extension/LexicalExtension.prod.mjs.js +0 -2
  927. package/dist/cjs/node_modules/@lexical/extension/LexicalExtension.prod.mjs.js.map +0 -1
  928. package/dist/cjs/node_modules/@lexical/html/LexicalHtml.dev.mjs.js +0 -2
  929. package/dist/cjs/node_modules/@lexical/html/LexicalHtml.dev.mjs.js.map +0 -1
  930. package/dist/cjs/node_modules/@lexical/html/LexicalHtml.mjs.js +0 -2
  931. package/dist/cjs/node_modules/@lexical/html/LexicalHtml.mjs.js.map +0 -1
  932. package/dist/cjs/node_modules/@lexical/html/LexicalHtml.prod.mjs.js +0 -2
  933. package/dist/cjs/node_modules/@lexical/html/LexicalHtml.prod.mjs.js.map +0 -1
  934. package/dist/cjs/node_modules/@lexical/link/LexicalLink.dev.mjs.js +0 -2
  935. package/dist/cjs/node_modules/@lexical/link/LexicalLink.dev.mjs.js.map +0 -1
  936. package/dist/cjs/node_modules/@lexical/link/LexicalLink.mjs.js +0 -2
  937. package/dist/cjs/node_modules/@lexical/link/LexicalLink.mjs.js.map +0 -1
  938. package/dist/cjs/node_modules/@lexical/link/LexicalLink.prod.mjs.js +0 -2
  939. package/dist/cjs/node_modules/@lexical/link/LexicalLink.prod.mjs.js.map +0 -1
  940. package/dist/cjs/node_modules/@lexical/list/LexicalList.dev.mjs.js +0 -2
  941. package/dist/cjs/node_modules/@lexical/list/LexicalList.dev.mjs.js.map +0 -1
  942. package/dist/cjs/node_modules/@lexical/list/LexicalList.mjs.js +0 -2
  943. package/dist/cjs/node_modules/@lexical/list/LexicalList.mjs.js.map +0 -1
  944. package/dist/cjs/node_modules/@lexical/list/LexicalList.prod.mjs.js +0 -2
  945. package/dist/cjs/node_modules/@lexical/list/LexicalList.prod.mjs.js.map +0 -1
  946. package/dist/cjs/node_modules/@lexical/mark/LexicalMark.dev.mjs.js +0 -2
  947. package/dist/cjs/node_modules/@lexical/mark/LexicalMark.dev.mjs.js.map +0 -1
  948. package/dist/cjs/node_modules/@lexical/mark/LexicalMark.mjs.js +0 -2
  949. package/dist/cjs/node_modules/@lexical/mark/LexicalMark.mjs.js.map +0 -1
  950. package/dist/cjs/node_modules/@lexical/mark/LexicalMark.prod.mjs.js +0 -2
  951. package/dist/cjs/node_modules/@lexical/mark/LexicalMark.prod.mjs.js.map +0 -1
  952. package/dist/cjs/node_modules/@lexical/rich-text/LexicalRichText.dev.mjs.js +0 -2
  953. package/dist/cjs/node_modules/@lexical/rich-text/LexicalRichText.dev.mjs.js.map +0 -1
  954. package/dist/cjs/node_modules/@lexical/rich-text/LexicalRichText.mjs.js +0 -2
  955. package/dist/cjs/node_modules/@lexical/rich-text/LexicalRichText.mjs.js.map +0 -1
  956. package/dist/cjs/node_modules/@lexical/rich-text/LexicalRichText.prod.mjs.js +0 -2
  957. package/dist/cjs/node_modules/@lexical/rich-text/LexicalRichText.prod.mjs.js.map +0 -1
  958. package/dist/cjs/node_modules/@lexical/selection/LexicalSelection.dev.mjs.js +0 -2
  959. package/dist/cjs/node_modules/@lexical/selection/LexicalSelection.dev.mjs.js.map +0 -1
  960. package/dist/cjs/node_modules/@lexical/selection/LexicalSelection.mjs.js +0 -2
  961. package/dist/cjs/node_modules/@lexical/selection/LexicalSelection.mjs.js.map +0 -1
  962. package/dist/cjs/node_modules/@lexical/selection/LexicalSelection.prod.mjs.js +0 -2
  963. package/dist/cjs/node_modules/@lexical/selection/LexicalSelection.prod.mjs.js.map +0 -1
  964. package/dist/cjs/node_modules/@lexical/table/LexicalTable.dev.mjs.js +0 -2
  965. package/dist/cjs/node_modules/@lexical/table/LexicalTable.dev.mjs.js.map +0 -1
  966. package/dist/cjs/node_modules/@lexical/table/LexicalTable.mjs.js +0 -2
  967. package/dist/cjs/node_modules/@lexical/table/LexicalTable.mjs.js.map +0 -1
  968. package/dist/cjs/node_modules/@lexical/table/LexicalTable.prod.mjs.js +0 -2
  969. package/dist/cjs/node_modules/@lexical/table/LexicalTable.prod.mjs.js.map +0 -1
  970. package/dist/cjs/node_modules/@lexical/utils/LexicalUtils.dev.mjs.js +0 -2
  971. package/dist/cjs/node_modules/@lexical/utils/LexicalUtils.dev.mjs.js.map +0 -1
  972. package/dist/cjs/node_modules/@lexical/utils/LexicalUtils.mjs.js +0 -2
  973. package/dist/cjs/node_modules/@lexical/utils/LexicalUtils.mjs.js.map +0 -1
  974. package/dist/cjs/node_modules/@lexical/utils/LexicalUtils.prod.mjs.js +0 -2
  975. package/dist/cjs/node_modules/@lexical/utils/LexicalUtils.prod.mjs.js.map +0 -1
  976. package/dist/cjs/node_modules/@radix-ui/react-accordion/dist/index.mjs.js +0 -2
  977. package/dist/cjs/node_modules/@radix-ui/react-accordion/dist/index.mjs.js.map +0 -1
  978. package/dist/cjs/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js +0 -2
  979. package/dist/cjs/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js.map +0 -1
  980. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/index.mjs.js +0 -2
  981. package/dist/cjs/node_modules/@radix-ui/react-collection/dist/index.mjs.js.map +0 -1
  982. package/dist/cjs/node_modules/@radix-ui/react-dialog/dist/index.mjs.js +0 -2
  983. package/dist/cjs/node_modules/@radix-ui/react-dialog/dist/index.mjs.js.map +0 -1
  984. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/index.mjs.js +0 -2
  985. package/dist/cjs/node_modules/@radix-ui/react-direction/dist/index.mjs.js.map +0 -1
  986. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js +0 -2
  987. package/dist/cjs/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js.map +0 -1
  988. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js +0 -2
  989. package/dist/cjs/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js.map +0 -1
  990. package/dist/cjs/node_modules/@videojs/vhs-utils/es/byte-helpers.js +0 -2
  991. package/dist/cjs/node_modules/@videojs/vhs-utils/es/byte-helpers.js.map +0 -1
  992. package/dist/cjs/node_modules/@videojs/vhs-utils/es/codecs.js +0 -2
  993. package/dist/cjs/node_modules/@videojs/vhs-utils/es/codecs.js.map +0 -1
  994. package/dist/cjs/node_modules/@videojs/vhs-utils/es/containers.js +0 -2
  995. package/dist/cjs/node_modules/@videojs/vhs-utils/es/containers.js.map +0 -1
  996. package/dist/cjs/node_modules/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js +0 -2
  997. package/dist/cjs/node_modules/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js.map +0 -1
  998. package/dist/cjs/node_modules/@videojs/vhs-utils/es/ebml-helpers.js +0 -2
  999. package/dist/cjs/node_modules/@videojs/vhs-utils/es/ebml-helpers.js.map +0 -1
  1000. package/dist/cjs/node_modules/@videojs/vhs-utils/es/id3-helpers.js +0 -2
  1001. package/dist/cjs/node_modules/@videojs/vhs-utils/es/id3-helpers.js.map +0 -1
  1002. package/dist/cjs/node_modules/@videojs/vhs-utils/es/media-groups.js +0 -2
  1003. package/dist/cjs/node_modules/@videojs/vhs-utils/es/media-groups.js.map +0 -1
  1004. package/dist/cjs/node_modules/@videojs/vhs-utils/es/media-types.js +0 -2
  1005. package/dist/cjs/node_modules/@videojs/vhs-utils/es/media-types.js.map +0 -1
  1006. package/dist/cjs/node_modules/@videojs/vhs-utils/es/mp4-helpers.js +0 -2
  1007. package/dist/cjs/node_modules/@videojs/vhs-utils/es/mp4-helpers.js.map +0 -1
  1008. package/dist/cjs/node_modules/@videojs/vhs-utils/es/nal-helpers.js +0 -2
  1009. package/dist/cjs/node_modules/@videojs/vhs-utils/es/nal-helpers.js.map +0 -1
  1010. package/dist/cjs/node_modules/@videojs/vhs-utils/es/resolve-url.js +0 -2
  1011. package/dist/cjs/node_modules/@videojs/vhs-utils/es/resolve-url.js.map +0 -1
  1012. package/dist/cjs/node_modules/@videojs/vhs-utils/es/stream.js +0 -2
  1013. package/dist/cjs/node_modules/@videojs/vhs-utils/es/stream.js.map +0 -1
  1014. package/dist/cjs/node_modules/@videojs/xhr/lib/http-handler.js +0 -2
  1015. package/dist/cjs/node_modules/@videojs/xhr/lib/http-handler.js.map +0 -1
  1016. package/dist/cjs/node_modules/@videojs/xhr/lib/index.js +0 -10
  1017. package/dist/cjs/node_modules/@videojs/xhr/lib/index.js.map +0 -1
  1018. package/dist/cjs/node_modules/@videojs/xhr/lib/interceptors.js +0 -2
  1019. package/dist/cjs/node_modules/@videojs/xhr/lib/interceptors.js.map +0 -1
  1020. package/dist/cjs/node_modules/@videojs/xhr/lib/retry.js +0 -2
  1021. package/dist/cjs/node_modules/@videojs/xhr/lib/retry.js.map +0 -1
  1022. package/dist/cjs/node_modules/@xmldom/xmldom/lib/conventions.js +0 -2
  1023. package/dist/cjs/node_modules/@xmldom/xmldom/lib/conventions.js.map +0 -1
  1024. package/dist/cjs/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -2
  1025. package/dist/cjs/node_modules/@xmldom/xmldom/lib/dom-parser.js.map +0 -1
  1026. package/dist/cjs/node_modules/@xmldom/xmldom/lib/dom.js +0 -2
  1027. package/dist/cjs/node_modules/@xmldom/xmldom/lib/dom.js.map +0 -1
  1028. package/dist/cjs/node_modules/@xmldom/xmldom/lib/entities.js +0 -2
  1029. package/dist/cjs/node_modules/@xmldom/xmldom/lib/entities.js.map +0 -1
  1030. package/dist/cjs/node_modules/@xmldom/xmldom/lib/index.js +0 -2
  1031. package/dist/cjs/node_modules/@xmldom/xmldom/lib/index.js.map +0 -1
  1032. package/dist/cjs/node_modules/@xmldom/xmldom/lib/sax.js +0 -2
  1033. package/dist/cjs/node_modules/@xmldom/xmldom/lib/sax.js.map +0 -1
  1034. package/dist/cjs/node_modules/aria-hidden/dist/es2015/index.js +0 -2
  1035. package/dist/cjs/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
  1036. package/dist/cjs/node_modules/get-nonce/dist/es2015/index.js +0 -2
  1037. package/dist/cjs/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
  1038. package/dist/cjs/node_modules/global/document.js +0 -2
  1039. package/dist/cjs/node_modules/global/document.js.map +0 -1
  1040. package/dist/cjs/node_modules/global/window.js +0 -2
  1041. package/dist/cjs/node_modules/global/window.js.map +0 -1
  1042. package/dist/cjs/node_modules/is-function/index.js +0 -2
  1043. package/dist/cjs/node_modules/is-function/index.js.map +0 -1
  1044. package/dist/cjs/node_modules/m3u8-parser/dist/m3u8-parser.es.js +0 -4
  1045. package/dist/cjs/node_modules/m3u8-parser/dist/m3u8-parser.es.js.map +0 -1
  1046. package/dist/cjs/node_modules/mpd-parser/dist/mpd-parser.es.js +0 -4
  1047. package/dist/cjs/node_modules/mpd-parser/dist/mpd-parser.es.js.map +0 -1
  1048. package/dist/cjs/node_modules/mux.js/lib/tools/parse-sidx.js +0 -2
  1049. package/dist/cjs/node_modules/mux.js/lib/tools/parse-sidx.js.map +0 -1
  1050. package/dist/cjs/node_modules/mux.js/lib/utils/clock.js +0 -2
  1051. package/dist/cjs/node_modules/mux.js/lib/utils/clock.js.map +0 -1
  1052. package/dist/cjs/node_modules/mux.js/lib/utils/numbers.js +0 -2
  1053. package/dist/cjs/node_modules/mux.js/lib/utils/numbers.js.map +0 -1
  1054. package/dist/cjs/node_modules/prismjs/components/prism-c.js +0 -2
  1055. package/dist/cjs/node_modules/prismjs/components/prism-c.js.map +0 -1
  1056. package/dist/cjs/node_modules/prismjs/components/prism-clike.js +0 -2
  1057. package/dist/cjs/node_modules/prismjs/components/prism-clike.js.map +0 -1
  1058. package/dist/cjs/node_modules/prismjs/components/prism-cpp.js +0 -2
  1059. package/dist/cjs/node_modules/prismjs/components/prism-cpp.js.map +0 -1
  1060. package/dist/cjs/node_modules/prismjs/components/prism-css.js +0 -2
  1061. package/dist/cjs/node_modules/prismjs/components/prism-css.js.map +0 -1
  1062. package/dist/cjs/node_modules/prismjs/components/prism-java.js +0 -2
  1063. package/dist/cjs/node_modules/prismjs/components/prism-java.js.map +0 -1
  1064. package/dist/cjs/node_modules/prismjs/components/prism-javascript.js +0 -2
  1065. package/dist/cjs/node_modules/prismjs/components/prism-javascript.js.map +0 -1
  1066. package/dist/cjs/node_modules/prismjs/components/prism-markdown.js +0 -2
  1067. package/dist/cjs/node_modules/prismjs/components/prism-markdown.js.map +0 -1
  1068. package/dist/cjs/node_modules/prismjs/components/prism-markup.js +0 -2
  1069. package/dist/cjs/node_modules/prismjs/components/prism-markup.js.map +0 -1
  1070. package/dist/cjs/node_modules/prismjs/components/prism-objectivec.js +0 -2
  1071. package/dist/cjs/node_modules/prismjs/components/prism-objectivec.js.map +0 -1
  1072. package/dist/cjs/node_modules/prismjs/components/prism-powershell.js +0 -2
  1073. package/dist/cjs/node_modules/prismjs/components/prism-powershell.js.map +0 -1
  1074. package/dist/cjs/node_modules/prismjs/components/prism-python.js +0 -2
  1075. package/dist/cjs/node_modules/prismjs/components/prism-python.js.map +0 -1
  1076. package/dist/cjs/node_modules/prismjs/components/prism-rust.js +0 -2
  1077. package/dist/cjs/node_modules/prismjs/components/prism-rust.js.map +0 -1
  1078. package/dist/cjs/node_modules/prismjs/components/prism-sql.js +0 -2
  1079. package/dist/cjs/node_modules/prismjs/components/prism-sql.js.map +0 -1
  1080. package/dist/cjs/node_modules/prismjs/components/prism-swift.js +0 -2
  1081. package/dist/cjs/node_modules/prismjs/components/prism-swift.js.map +0 -1
  1082. package/dist/cjs/node_modules/prismjs/components/prism-typescript.js +0 -2
  1083. package/dist/cjs/node_modules/prismjs/components/prism-typescript.js.map +0 -1
  1084. package/dist/cjs/node_modules/prismjs/prism.js +0 -2
  1085. package/dist/cjs/node_modules/prismjs/prism.js.map +0 -1
  1086. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -2
  1087. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
  1088. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -2
  1089. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
  1090. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -2
  1091. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
  1092. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -2
  1093. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
  1094. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -2
  1095. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
  1096. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -2
  1097. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
  1098. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -2
  1099. package/dist/cjs/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
  1100. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -2
  1101. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
  1102. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -2
  1103. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
  1104. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -2
  1105. package/dist/cjs/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
  1106. package/dist/cjs/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.js +0 -2
  1107. package/dist/cjs/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.js.map +0 -1
  1108. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/component.js +0 -2
  1109. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
  1110. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/hook.js +0 -2
  1111. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
  1112. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -2
  1113. package/dist/cjs/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
  1114. package/dist/cjs/node_modules/showdown/dist/showdown.js +0 -2
  1115. package/dist/cjs/node_modules/showdown/dist/showdown.js.map +0 -1
  1116. package/dist/cjs/node_modules/turndown/lib/turndown.browser.es.js +0 -2
  1117. package/dist/cjs/node_modules/turndown/lib/turndown.browser.es.js.map +0 -1
  1118. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -2
  1119. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
  1120. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -2
  1121. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
  1122. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -2
  1123. package/dist/cjs/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
  1124. package/dist/cjs/node_modules/use-sidecar/dist/es2015/exports.js +0 -2
  1125. package/dist/cjs/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
  1126. package/dist/cjs/node_modules/use-sidecar/dist/es2015/medium.js +0 -2
  1127. package/dist/cjs/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
  1128. package/dist/cjs/node_modules/uuid/dist/native.js +0 -2
  1129. package/dist/cjs/node_modules/uuid/dist/native.js.map +0 -1
  1130. package/dist/cjs/node_modules/uuid/dist/rng.js +0 -2
  1131. package/dist/cjs/node_modules/uuid/dist/rng.js.map +0 -1
  1132. package/dist/cjs/node_modules/uuid/dist/stringify.js +0 -2
  1133. package/dist/cjs/node_modules/uuid/dist/stringify.js.map +0 -1
  1134. package/dist/cjs/node_modules/uuid/dist/v4.js +0 -2
  1135. package/dist/cjs/node_modules/uuid/dist/v4.js.map +0 -1
  1136. package/dist/cjs/node_modules/video.js/dist/video-js.css.js +0 -2
  1137. package/dist/cjs/node_modules/video.js/dist/video-js.css.js.map +0 -1
  1138. package/dist/cjs/node_modules/video.js/dist/video.es.js +0 -8
  1139. package/dist/cjs/node_modules/video.js/dist/video.es.js.map +0 -1
  1140. package/dist/cjs/node_modules/videojs-vtt.js/lib/browser-index.js +0 -2
  1141. package/dist/cjs/node_modules/videojs-vtt.js/lib/browser-index.js.map +0 -1
  1142. package/dist/cjs/node_modules/videojs-vtt.js/lib/vtt.js +0 -2
  1143. package/dist/cjs/node_modules/videojs-vtt.js/lib/vtt.js.map +0 -1
  1144. package/dist/cjs/node_modules/videojs-vtt.js/lib/vttcue.js +0 -2
  1145. package/dist/cjs/node_modules/videojs-vtt.js/lib/vttcue.js.map +0 -1
  1146. package/dist/cjs/node_modules/videojs-vtt.js/lib/vttregion.js +0 -2
  1147. package/dist/cjs/node_modules/videojs-vtt.js/lib/vttregion.js.map +0 -1
  1148. package/dist/features/CitationRenderer/CitationRenderer.js +0 -2
  1149. package/dist/features/CitationRenderer/CitationRenderer.js.map +0 -1
  1150. package/dist/features/CitationRenderer/CitationRenderer.module.css.js +0 -2
  1151. package/dist/features/CitationRenderer/CitationRenderer.module.css.js.map +0 -1
  1152. package/dist/features/RequirementAI/components/CustomPopover/CustomPopover.js +0 -2
  1153. package/dist/features/RequirementAI/components/CustomPopover/CustomPopover.js.map +0 -1
  1154. package/dist/features/RequirementAI/components/CustomPopover/CustomPopover.module.css.js +0 -2
  1155. package/dist/features/RequirementAI/components/CustomPopover/CustomPopover.module.css.js.map +0 -1
  1156. package/dist/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js +0 -2
  1157. package/dist/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js.map +0 -1
  1158. package/dist/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.module.css.js +0 -2
  1159. package/dist/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.module.css.js.map +0 -1
  1160. package/dist/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js +0 -2
  1161. package/dist/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js.map +0 -1
  1162. package/dist/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.module.css.js +0 -2
  1163. package/dist/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.module.css.js.map +0 -1
  1164. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js +0 -2
  1165. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js.map +0 -1
  1166. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.module.css.js +0 -2
  1167. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.module.css.js.map +0 -1
  1168. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js +0 -2
  1169. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js.map +0 -1
  1170. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.module.css.js +0 -2
  1171. package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.module.css.js.map +0 -1
  1172. package/dist/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js +0 -2
  1173. package/dist/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js.map +0 -1
  1174. package/dist/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.module.css.js +0 -2
  1175. package/dist/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.module.css.js.map +0 -1
  1176. package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js +0 -2
  1177. package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js.map +0 -1
  1178. package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js +0 -2
  1179. package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js.map +0 -1
  1180. package/dist/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js +0 -2
  1181. package/dist/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js.map +0 -1
  1182. package/dist/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.module.css.js +0 -2
  1183. package/dist/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.module.css.js.map +0 -1
  1184. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +0 -2
  1185. package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js.map +0 -1
  1186. package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +0 -2
  1187. package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.js.map +0 -1
  1188. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js +0 -2
  1189. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js.map +0 -1
  1190. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +0 -2
  1191. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js.map +0 -1
  1192. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +0 -2
  1193. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js.map +0 -1
  1194. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +0 -2
  1195. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js.map +0 -1
  1196. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +0 -2
  1197. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js.map +0 -1
  1198. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js +0 -2
  1199. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js.map +0 -1
  1200. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.js +0 -2
  1201. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.js.map +0 -1
  1202. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js +0 -2
  1203. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js.map +0 -1
  1204. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.js +0 -2
  1205. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.js.map +0 -1
  1206. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.js +0 -2
  1207. package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.js.map +0 -1
  1208. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.js +0 -2
  1209. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.js.map +0 -1
  1210. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +0 -2
  1211. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js.map +0 -1
  1212. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +0 -2
  1213. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js.map +0 -1
  1214. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +0 -2
  1215. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js.map +0 -1
  1216. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.js +0 -2
  1217. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.js.map +0 -1
  1218. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js +0 -2
  1219. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js.map +0 -1
  1220. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.js +0 -2
  1221. package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.js.map +0 -1
  1222. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +0 -2
  1223. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js.map +0 -1
  1224. package/dist/features/RequirementAI/components/UserStoryCard/AttachedContext.js +0 -2
  1225. package/dist/features/RequirementAI/components/UserStoryCard/AttachedContext.js.map +0 -1
  1226. package/dist/features/RequirementAI/components/UserStoryCard/AttachedContext.module.css.js +0 -2
  1227. package/dist/features/RequirementAI/components/UserStoryCard/AttachedContext.module.css.js.map +0 -1
  1228. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +0 -2
  1229. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js.map +0 -1
  1230. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +0 -2
  1231. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js.map +0 -1
  1232. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +0 -2
  1233. package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js.map +0 -1
  1234. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +0 -2
  1235. package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js.map +0 -1
  1236. package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +0 -2
  1237. package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js.map +0 -1
  1238. package/dist/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +0 -2
  1239. package/dist/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js.map +0 -1
  1240. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +0 -2
  1241. package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js.map +0 -1
  1242. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +0 -2
  1243. package/dist/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js.map +0 -1
  1244. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +0 -2
  1245. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js.map +0 -1
  1246. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +0 -2
  1247. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js.map +0 -1
  1248. package/dist/features/RequirementAI/components/UserStoryCard/icons/History.svg.js +0 -2
  1249. package/dist/features/RequirementAI/components/UserStoryCard/icons/History.svg.js.map +0 -1
  1250. package/dist/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +0 -2
  1251. package/dist/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js.map +0 -1
  1252. package/dist/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg.js +0 -2
  1253. package/dist/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg.js.map +0 -1
  1254. package/dist/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg.js +0 -2
  1255. package/dist/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg.js.map +0 -1
  1256. package/dist/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js +0 -2
  1257. package/dist/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js.map +0 -1
  1258. package/dist/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +0 -2
  1259. package/dist/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js.map +0 -1
  1260. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonAccoridon.module.css.js +0 -2
  1261. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonAccoridon.module.css.js.map +0 -1
  1262. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +0 -2
  1263. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js.map +0 -1
  1264. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.module.css.js +0 -2
  1265. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.module.css.js.map +0 -1
  1266. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js +0 -2
  1267. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js.map +0 -1
  1268. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +0 -2
  1269. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js.map +0 -1
  1270. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.module.css.js +0 -2
  1271. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.module.css.js.map +0 -1
  1272. package/dist/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +0 -2
  1273. package/dist/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js.map +0 -1
  1274. package/dist/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.module.css.js +0 -2
  1275. package/dist/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.module.css.js.map +0 -1
  1276. package/dist/features/RequirementAI/components/citations/appmod-citation/AppModCitationContent.module.css.js +0 -2
  1277. package/dist/features/RequirementAI/components/citations/appmod-citation/AppModCitationContent.module.css.js.map +0 -1
  1278. package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +0 -2
  1279. package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js.map +0 -1
  1280. package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +0 -2
  1281. package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js.map +0 -1
  1282. package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +0 -2
  1283. package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js.map +0 -1
  1284. package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.module.css.js +0 -2
  1285. package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.module.css.js.map +0 -1
  1286. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +0 -2
  1287. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js.map +0 -1
  1288. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +0 -2
  1289. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js.map +0 -1
  1290. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +0 -2
  1291. package/dist/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js.map +0 -1
  1292. package/dist/features/RequirementAI/components/citations/appmod-citation/types.js +0 -2
  1293. package/dist/features/RequirementAI/components/citations/appmod-citation/types.js.map +0 -1
  1294. package/dist/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js +0 -2
  1295. package/dist/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js.map +0 -1
  1296. package/dist/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.module.css.js +0 -2
  1297. package/dist/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.module.css.js.map +0 -1
  1298. package/dist/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js +0 -2
  1299. package/dist/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js.map +0 -1
  1300. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js +0 -2
  1301. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js.map +0 -1
  1302. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js +0 -2
  1303. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js.map +0 -1
  1304. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.module.css.js +0 -2
  1305. package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.module.css.js.map +0 -1
  1306. package/dist/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js +0 -2
  1307. package/dist/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js.map +0 -1
  1308. package/dist/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.module.css.js +0 -2
  1309. package/dist/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.module.css.js.map +0 -1
  1310. package/dist/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js +0 -2
  1311. package/dist/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js.map +0 -1
  1312. package/dist/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.module.css.js +0 -2
  1313. package/dist/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.module.css.js.map +0 -1
  1314. package/dist/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js +0 -2
  1315. package/dist/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js.map +0 -1
  1316. package/dist/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js +0 -2
  1317. package/dist/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js.map +0 -1
  1318. package/dist/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js +0 -2
  1319. package/dist/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js.map +0 -1
  1320. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js +0 -2
  1321. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js.map +0 -1
  1322. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js +0 -2
  1323. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js.map +0 -1
  1324. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js +0 -2
  1325. package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js.map +0 -1
  1326. package/dist/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js +0 -2
  1327. package/dist/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js.map +0 -1
  1328. package/dist/features/RequirementAI/components/citations/audio-citation/searchwaveform.js +0 -2
  1329. package/dist/features/RequirementAI/components/citations/audio-citation/searchwaveform.js.map +0 -1
  1330. package/dist/features/RequirementAI/components/citations/audio-citation/searchwaveform.module.css.js +0 -2
  1331. package/dist/features/RequirementAI/components/citations/audio-citation/searchwaveform.module.css.js.map +0 -1
  1332. package/dist/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js +0 -2
  1333. package/dist/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js.map +0 -1
  1334. package/dist/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.js +0 -2
  1335. package/dist/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.js.map +0 -1
  1336. package/dist/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js +0 -2
  1337. package/dist/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js.map +0 -1
  1338. package/dist/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +0 -2
  1339. package/dist/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js.map +0 -1
  1340. package/dist/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js +0 -2
  1341. package/dist/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js.map +0 -1
  1342. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +0 -2
  1343. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js.map +0 -1
  1344. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +0 -2
  1345. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js.map +0 -1
  1346. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +0 -2
  1347. package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js.map +0 -1
  1348. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js +0 -2
  1349. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js.map +0 -1
  1350. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationContent.module.css.js +0 -2
  1351. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationContent.module.css.js.map +0 -1
  1352. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js +0 -2
  1353. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js.map +0 -1
  1354. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js +0 -2
  1355. package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js.map +0 -1
  1356. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +0 -2
  1357. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js.map +0 -1
  1358. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.module.css.js +0 -2
  1359. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.module.css.js.map +0 -1
  1360. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +0 -2
  1361. package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js.map +0 -1
  1362. package/dist/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js +0 -2
  1363. package/dist/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js.map +0 -1
  1364. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +0 -2
  1365. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js.map +0 -1
  1366. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.module.css.js +0 -2
  1367. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.module.css.js.map +0 -1
  1368. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +0 -2
  1369. package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js.map +0 -1
  1370. package/dist/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +0 -2
  1371. package/dist/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js.map +0 -1
  1372. package/dist/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +0 -2
  1373. package/dist/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js.map +0 -1
  1374. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js +0 -2
  1375. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js.map +0 -1
  1376. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js +0 -2
  1377. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js.map +0 -1
  1378. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeContent.module.css.js +0 -2
  1379. package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeContent.module.css.js.map +0 -1
  1380. package/dist/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js +0 -2
  1381. package/dist/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js.map +0 -1
  1382. package/dist/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.module.css.js +0 -2
  1383. package/dist/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.module.css.js.map +0 -1
  1384. package/dist/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js +0 -2
  1385. package/dist/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js.map +0 -1
  1386. package/dist/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.module.css.js +0 -2
  1387. package/dist/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.module.css.js.map +0 -1
  1388. package/dist/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js +0 -2
  1389. package/dist/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js.map +0 -1
  1390. package/dist/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +0 -2
  1391. package/dist/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js.map +0 -1
  1392. package/dist/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.module.css.js +0 -2
  1393. package/dist/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.module.css.js.map +0 -1
  1394. package/dist/features/RequirementAI/components/citations/web-citation/WebCitation.js +0 -2
  1395. package/dist/features/RequirementAI/components/citations/web-citation/WebCitation.js.map +0 -1
  1396. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js +0 -2
  1397. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js.map +0 -1
  1398. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +0 -2
  1399. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js.map +0 -1
  1400. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +0 -2
  1401. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js.map +0 -1
  1402. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.module.css.js +0 -2
  1403. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.module.css.js.map +0 -1
  1404. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +0 -2
  1405. package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js.map +0 -1
  1406. package/dist/features/RequirementAI/components/citations/web-citation/Webcitation.module.css.js +0 -2
  1407. package/dist/features/RequirementAI/components/citations/web-citation/Webcitation.module.css.js.map +0 -1
  1408. package/dist/features/RequirementAI/components/cra/PartialRequirementContent.js +0 -2
  1409. package/dist/features/RequirementAI/components/cra/PartialRequirementContent.js.map +0 -1
  1410. package/dist/features/RequirementAI/components/cra/PartialRequirementContent.module.css.js +0 -2
  1411. package/dist/features/RequirementAI/components/cra/PartialRequirementContent.module.css.js.map +0 -1
  1412. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +0 -2
  1413. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js.map +0 -1
  1414. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.module.css.js +0 -2
  1415. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.module.css.js.map +0 -1
  1416. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +0 -2
  1417. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js.map +0 -1
  1418. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.module.css.js +0 -2
  1419. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.module.css.js.map +0 -1
  1420. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +0 -2
  1421. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js.map +0 -1
  1422. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.module.css.js +0 -2
  1423. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.module.css.js.map +0 -1
  1424. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +0 -2
  1425. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js.map +0 -1
  1426. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.module.css.js +0 -2
  1427. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.module.css.js.map +0 -1
  1428. package/dist/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js +0 -2
  1429. package/dist/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js.map +0 -1
  1430. package/dist/features/RequirementAI/components/segment/ExampleComponentWrapper.js +0 -2
  1431. package/dist/features/RequirementAI/components/segment/ExampleComponentWrapper.js.map +0 -1
  1432. package/dist/features/RequirementAI/components/segment/Segment.js +0 -2
  1433. package/dist/features/RequirementAI/components/segment/Segment.js.map +0 -1
  1434. package/dist/features/RequirementAI/components/segment/SegmentLoader.js +0 -2
  1435. package/dist/features/RequirementAI/components/segment/SegmentLoader.js.map +0 -1
  1436. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +0 -2
  1437. package/dist/features/RequirementAI/components/segment/SegmentWrapper.js.map +0 -1
  1438. package/dist/features/RequirementAI/components/segment/segment.module.css.js +0 -2
  1439. package/dist/features/RequirementAI/components/segment/segment.module.css.js.map +0 -1
  1440. package/dist/features/RequirementAI/components/story-screen/BigEnoughPanel.js +0 -2
  1441. package/dist/features/RequirementAI/components/story-screen/BigEnoughPanel.js.map +0 -1
  1442. package/dist/features/RequirementAI/components/story-screen/BigEnoughPanel.module.css.js +0 -2
  1443. package/dist/features/RequirementAI/components/story-screen/BigEnoughPanel.module.css.js.map +0 -1
  1444. package/dist/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js +0 -2
  1445. package/dist/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js.map +0 -1
  1446. package/dist/features/RequirementAI/components/story-screen/ReplaceLearnedTags.module.css.js +0 -2
  1447. package/dist/features/RequirementAI/components/story-screen/ReplaceLearnedTags.module.css.js.map +0 -1
  1448. package/dist/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js +0 -2
  1449. package/dist/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js.map +0 -1
  1450. package/dist/features/RequirementAI/components/story-screen/StreamingScreenSidebar.module.css.js +0 -2
  1451. package/dist/features/RequirementAI/components/story-screen/StreamingScreenSidebar.module.css.js.map +0 -1
  1452. package/dist/features/RequirementAI/components/story-screen/SubfeatureBlock.js +0 -2
  1453. package/dist/features/RequirementAI/components/story-screen/SubfeatureBlock.js.map +0 -1
  1454. package/dist/features/RequirementAI/components/story-screen/SubfeatureBlock.module.css.js +0 -2
  1455. package/dist/features/RequirementAI/components/story-screen/SubfeatureBlock.module.css.js.map +0 -1
  1456. package/dist/features/RequirementAI/components/story-screen/UserStoryScreen.js +0 -2
  1457. package/dist/features/RequirementAI/components/story-screen/UserStoryScreen.js.map +0 -1
  1458. package/dist/features/RequirementAI/components/story-screen/UserStoryScreen.module.css.js +0 -2
  1459. package/dist/features/RequirementAI/components/story-screen/UserStoryScreen.module.css.js.map +0 -1
  1460. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.js +0 -2
  1461. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.js.map +0 -1
  1462. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +0 -2
  1463. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js.map +0 -1
  1464. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.module.css.js +0 -2
  1465. package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.module.css.js.map +0 -1
  1466. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js +0 -2
  1467. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js.map +0 -1
  1468. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.module.css.js +0 -2
  1469. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.module.css.js.map +0 -1
  1470. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js +0 -2
  1471. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js.map +0 -1
  1472. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.module.css.js +0 -2
  1473. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.module.css.js.map +0 -1
  1474. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js +0 -2
  1475. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js.map +0 -1
  1476. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.module.css.js +0 -2
  1477. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.module.css.js.map +0 -1
  1478. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js +0 -2
  1479. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js.map +0 -1
  1480. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.module.css.js +0 -2
  1481. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.module.css.js.map +0 -1
  1482. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js +0 -2
  1483. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js.map +0 -1
  1484. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.module.css.js +0 -2
  1485. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.module.css.js.map +0 -1
  1486. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js +0 -2
  1487. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js.map +0 -1
  1488. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.module.css.js +0 -2
  1489. package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.module.css.js.map +0 -1
  1490. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +0 -2
  1491. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js.map +0 -1
  1492. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +0 -2
  1493. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js.map +0 -1
  1494. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +0 -2
  1495. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js.map +0 -1
  1496. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +0 -2
  1497. package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js.map +0 -1
  1498. package/dist/features/RequirementAI/hooks/useApprovalStatus.js +0 -2
  1499. package/dist/features/RequirementAI/hooks/useApprovalStatus.js.map +0 -1
  1500. package/dist/features/RequirementAI/hooks/useDiffEditReviewMode.js +0 -2
  1501. package/dist/features/RequirementAI/hooks/useDiffEditReviewMode.js.map +0 -1
  1502. package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +0 -2
  1503. package/dist/features/RequirementAI/hooks/useStreamContentHandler.js.map +0 -1
  1504. package/dist/features/RequirementAI/icons/AiGapIcon.js +0 -2
  1505. package/dist/features/RequirementAI/icons/AiGapIcon.js.map +0 -1
  1506. package/dist/features/RequirementAI/icons/AiReasoningIcon.js +0 -2
  1507. package/dist/features/RequirementAI/icons/AiReasoningIcon.js.map +0 -1
  1508. package/dist/features/RequirementAI/icons/BigEnoughIcon.js +0 -2
  1509. package/dist/features/RequirementAI/icons/BigEnoughIcon.js.map +0 -1
  1510. package/dist/features/RequirementAI/icons/BookmarkIcon.js +0 -2
  1511. package/dist/features/RequirementAI/icons/BookmarkIcon.js.map +0 -1
  1512. package/dist/features/RequirementAI/icons/BrainRed.js +0 -2
  1513. package/dist/features/RequirementAI/icons/BrainRed.js.map +0 -1
  1514. package/dist/features/RequirementAI/icons/CheckIcon.js +0 -2
  1515. package/dist/features/RequirementAI/icons/CheckIcon.js.map +0 -1
  1516. package/dist/features/RequirementAI/icons/ChevronDownIcon.js +0 -2
  1517. package/dist/features/RequirementAI/icons/ChevronDownIcon.js.map +0 -1
  1518. package/dist/features/RequirementAI/icons/ChevronUpIcon.js +0 -2
  1519. package/dist/features/RequirementAI/icons/ChevronUpIcon.js.map +0 -1
  1520. package/dist/features/RequirementAI/icons/CognitiveDecision.js +0 -2
  1521. package/dist/features/RequirementAI/icons/CognitiveDecision.js.map +0 -1
  1522. package/dist/features/RequirementAI/icons/MeetingHighlightsIcon.js +0 -2
  1523. package/dist/features/RequirementAI/icons/MeetingHighlightsIcon.js.map +0 -1
  1524. package/dist/features/RequirementAI/icons/MenuUnfoldIcon.js +0 -2
  1525. package/dist/features/RequirementAI/icons/MenuUnfoldIcon.js.map +0 -1
  1526. package/dist/features/RequirementAI/icons/PencilIcon.js +0 -2
  1527. package/dist/features/RequirementAI/icons/PencilIcon.js.map +0 -1
  1528. package/dist/features/RequirementAI/icons/ReasoningBulbIcon.js +0 -2
  1529. package/dist/features/RequirementAI/icons/ReasoningBulbIcon.js.map +0 -1
  1530. package/dist/features/RequirementAI/icons/RelevanceScoreIcon.js +0 -2
  1531. package/dist/features/RequirementAI/icons/RelevanceScoreIcon.js.map +0 -1
  1532. package/dist/features/RequirementAI/icons/SidebarCloseIcon.js +0 -2
  1533. package/dist/features/RequirementAI/icons/SidebarCloseIcon.js.map +0 -1
  1534. package/dist/features/RequirementAI/icons/SidebarOpenIcon.js +0 -2
  1535. package/dist/features/RequirementAI/icons/SidebarOpenIcon.js.map +0 -1
  1536. package/dist/features/RequirementAI/icons/TrashIcon.js +0 -2
  1537. package/dist/features/RequirementAI/icons/TrashIcon.js.map +0 -1
  1538. package/dist/features/RequirementAI/shared/Accordian.js +0 -2
  1539. package/dist/features/RequirementAI/shared/Accordian.js.map +0 -1
  1540. package/dist/features/RequirementAI/shared/Accordian.module.css.js +0 -2
  1541. package/dist/features/RequirementAI/shared/Accordian.module.css.js.map +0 -1
  1542. package/dist/features/RequirementAI/shared/AtomicButton.js +0 -2
  1543. package/dist/features/RequirementAI/shared/AtomicButton.js.map +0 -1
  1544. package/dist/features/RequirementAI/shared/AtomicButton.module.css.js +0 -2
  1545. package/dist/features/RequirementAI/shared/AtomicButton.module.css.js.map +0 -1
  1546. package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +0 -2
  1547. package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.js.map +0 -1
  1548. package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.module.css.js +0 -2
  1549. package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.module.css.js.map +0 -1
  1550. package/dist/features/RequirementAI/shared/CitationLoadingIndicator.js +0 -2
  1551. package/dist/features/RequirementAI/shared/CitationLoadingIndicator.js.map +0 -1
  1552. package/dist/features/RequirementAI/shared/CitationLoadingIndicator.module.css.js +0 -2
  1553. package/dist/features/RequirementAI/shared/CitationLoadingIndicator.module.css.js.map +0 -1
  1554. package/dist/features/RequirementAI/shared/CodeViewer.js +0 -2
  1555. package/dist/features/RequirementAI/shared/CodeViewer.js.map +0 -1
  1556. package/dist/features/RequirementAI/shared/CodeViewer.module.css.js +0 -2
  1557. package/dist/features/RequirementAI/shared/CodeViewer.module.css.js.map +0 -1
  1558. package/dist/features/RequirementAI/shared/ExpandableOl.js +0 -2
  1559. package/dist/features/RequirementAI/shared/ExpandableOl.js.map +0 -1
  1560. package/dist/features/RequirementAI/shared/ExpandableOl.module.css.js +0 -2
  1561. package/dist/features/RequirementAI/shared/ExpandableOl.module.css.js.map +0 -1
  1562. package/dist/features/RequirementAI/shared/GeneratedCodeCitation.js +0 -2
  1563. package/dist/features/RequirementAI/shared/GeneratedCodeCitation.js.map +0 -1
  1564. package/dist/features/RequirementAI/shared/GeneratedCodeCitation.module.css.js +0 -2
  1565. package/dist/features/RequirementAI/shared/GeneratedCodeCitation.module.css.js.map +0 -1
  1566. package/dist/features/RequirementAI/shared/ReqAiCitationRenderer.js +0 -2
  1567. package/dist/features/RequirementAI/shared/ReqAiCitationRenderer.js.map +0 -1
  1568. package/dist/features/RequirementAI/shared/ReqAiCitationRenderer.module.css.js +0 -2
  1569. package/dist/features/RequirementAI/shared/ReqAiCitationRenderer.module.css.js.map +0 -1
  1570. package/dist/features/RequirementAI/shared/UpdatedAnimationContent.js +0 -2
  1571. package/dist/features/RequirementAI/shared/UpdatedAnimationContent.js.map +0 -1
  1572. package/dist/features/RequirementAI/shared/UpdatedAnimationContent.module.css.js +0 -2
  1573. package/dist/features/RequirementAI/shared/UpdatedAnimationContent.module.css.js.map +0 -1
  1574. package/dist/features/RequirementAI/shared/useMarkdownSearch.js +0 -2
  1575. package/dist/features/RequirementAI/shared/useMarkdownSearch.js.map +0 -1
  1576. package/dist/features/RequirementAI/store/ref.context.js +0 -2
  1577. package/dist/features/RequirementAI/store/ref.context.js.map +0 -1
  1578. package/dist/features/RequirementAI/utils/css.utils.js +0 -2
  1579. package/dist/features/RequirementAI/utils/css.utils.js.map +0 -1
  1580. package/dist/features/RequirementAI/utils/diff-edit.utils.js +0 -2
  1581. package/dist/features/RequirementAI/utils/diff-edit.utils.js.map +0 -1
  1582. package/dist/features/RequirementAI/utils/helpers.js +0 -2
  1583. package/dist/features/RequirementAI/utils/helpers.js.map +0 -1
  1584. package/dist/features/RequirementAI/utils/json-helper.js +0 -2
  1585. package/dist/features/RequirementAI/utils/json-helper.js.map +0 -1
  1586. package/dist/features/RequirementAI/utils/learned-tag.utils.js +0 -2
  1587. package/dist/features/RequirementAI/utils/learned-tag.utils.js.map +0 -1
  1588. package/dist/features/RequirementAI/utils/proccess-stream.utils.js +0 -2
  1589. package/dist/features/RequirementAI/utils/proccess-stream.utils.js.map +0 -1
  1590. package/dist/features/RequirementAI/utils/user-story.utils.js +0 -2
  1591. package/dist/features/RequirementAI/utils/user-story.utils.js.map +0 -1
  1592. package/dist/features/RequirementAI/utils/userStoryAttachedContext.utils.js +0 -2
  1593. package/dist/features/RequirementAI/utils/userStoryAttachedContext.utils.js.map +0 -1
  1594. package/dist/features/RequirementAI/utils/userstory-approval-transform.utils.js +0 -2
  1595. package/dist/features/RequirementAI/utils/userstory-approval-transform.utils.js.map +0 -1
  1596. package/dist/features/RequirementAI/utils/userstory-approval.utils.js +0 -2
  1597. package/dist/features/RequirementAI/utils/userstory-approval.utils.js.map +0 -1
  1598. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +0 -2
  1599. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +0 -1
  1600. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +0 -2
  1601. package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js.map +0 -1
  1602. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +0 -2
  1603. package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +0 -1
  1604. package/dist/features/UserStoryImport/UserStoryPicker.context.js +0 -2
  1605. package/dist/features/UserStoryImport/UserStoryPicker.context.js.map +0 -1
  1606. package/dist/features/UserStoryImport/UserStoryPicker.js +0 -2
  1607. package/dist/features/UserStoryImport/UserStoryPicker.js.map +0 -1
  1608. package/dist/features/UserStoryImport/UserStoryPicker.theme.js +0 -2
  1609. package/dist/features/UserStoryImport/UserStoryPicker.theme.js.map +0 -1
  1610. package/dist/features/UserStoryImport/components/BackNav.js +0 -2
  1611. package/dist/features/UserStoryImport/components/BackNav.js.map +0 -1
  1612. package/dist/features/UserStoryImport/components/Badge.js +0 -2
  1613. package/dist/features/UserStoryImport/components/Badge.js.map +0 -1
  1614. package/dist/features/UserStoryImport/components/BrowseProjectsButton.js +0 -2
  1615. package/dist/features/UserStoryImport/components/BrowseProjectsButton.js.map +0 -1
  1616. package/dist/features/UserStoryImport/components/CardGrid.js +0 -2
  1617. package/dist/features/UserStoryImport/components/CardGrid.js.map +0 -1
  1618. package/dist/features/UserStoryImport/components/CardProceedButton.js +0 -2
  1619. package/dist/features/UserStoryImport/components/CardProceedButton.js.map +0 -1
  1620. package/dist/features/UserStoryImport/components/ContentArea.js +0 -2
  1621. package/dist/features/UserStoryImport/components/ContentArea.js.map +0 -1
  1622. package/dist/features/UserStoryImport/components/Footer.js +0 -2
  1623. package/dist/features/UserStoryImport/components/Footer.js.map +0 -1
  1624. package/dist/features/UserStoryImport/components/Header.js +0 -2
  1625. package/dist/features/UserStoryImport/components/Header.js.map +0 -1
  1626. package/dist/features/UserStoryImport/components/NavRow.js +0 -2
  1627. package/dist/features/UserStoryImport/components/NavRow.js.map +0 -1
  1628. package/dist/features/UserStoryImport/components/ProceedButton.js +0 -2
  1629. package/dist/features/UserStoryImport/components/ProceedButton.js.map +0 -1
  1630. package/dist/features/UserStoryImport/components/ProjectCard.js +0 -2
  1631. package/dist/features/UserStoryImport/components/ProjectCard.js.map +0 -1
  1632. package/dist/features/UserStoryImport/components/ResizeHandle.js +0 -2
  1633. package/dist/features/UserStoryImport/components/ResizeHandle.js.map +0 -1
  1634. package/dist/features/UserStoryImport/components/ScopeDropdown.js +0 -2
  1635. package/dist/features/UserStoryImport/components/ScopeDropdown.js.map +0 -1
  1636. package/dist/features/UserStoryImport/components/SearchInput.js +0 -2
  1637. package/dist/features/UserStoryImport/components/SearchInput.js.map +0 -1
  1638. package/dist/features/UserStoryImport/components/SectionHeading.js +0 -2
  1639. package/dist/features/UserStoryImport/components/SectionHeading.js.map +0 -1
  1640. package/dist/features/UserStoryImport/components/ShowMore.js +0 -2
  1641. package/dist/features/UserStoryImport/components/ShowMore.js.map +0 -1
  1642. package/dist/features/UserStoryImport/components/Sidebar.js +0 -2
  1643. package/dist/features/UserStoryImport/components/Sidebar.js.map +0 -1
  1644. package/dist/features/UserStoryImport/components/SidebarFavoritesList.js +0 -2
  1645. package/dist/features/UserStoryImport/components/SidebarFavoritesList.js.map +0 -1
  1646. package/dist/features/UserStoryImport/components/SidebarProjectList.js +0 -2
  1647. package/dist/features/UserStoryImport/components/SidebarProjectList.js.map +0 -1
  1648. package/dist/features/UserStoryImport/components/SidebarSection.js +0 -2
  1649. package/dist/features/UserStoryImport/components/SidebarSection.js.map +0 -1
  1650. package/dist/features/UserStoryImport/components/SortDropdown.js +0 -2
  1651. package/dist/features/UserStoryImport/components/SortDropdown.js.map +0 -1
  1652. package/dist/features/UserStoryImport/components/SplitLayout.js +0 -2
  1653. package/dist/features/UserStoryImport/components/SplitLayout.js.map +0 -1
  1654. package/dist/features/UserStoryImport/components/Toolbar.js +0 -2
  1655. package/dist/features/UserStoryImport/components/Toolbar.js.map +0 -1
  1656. package/dist/features/UserStoryImport/components/TypeDropdown.js +0 -2
  1657. package/dist/features/UserStoryImport/components/TypeDropdown.js.map +0 -1
  1658. package/dist/features/UserStoryImport/components/UserStoryCard.js +0 -2
  1659. package/dist/features/UserStoryImport/components/UserStoryCard.js.map +0 -1
  1660. package/dist/features/UserStoryImport/components/UserStoryImportDialog.js +0 -2
  1661. package/dist/features/UserStoryImport/components/UserStoryImportDialog.js.map +0 -1
  1662. package/dist/features/UserStoryImport/components/UserStoryScopeDropdown.js +0 -2
  1663. package/dist/features/UserStoryImport/components/UserStoryScopeDropdown.js.map +0 -1
  1664. package/dist/features/UserStoryImport/components/usePanelResize.js +0 -2
  1665. package/dist/features/UserStoryImport/components/usePanelResize.js.map +0 -1
  1666. package/dist/features/UserStoryImport/hooks/useFilteredItems.js +0 -2
  1667. package/dist/features/UserStoryImport/hooks/useFilteredItems.js.map +0 -1
  1668. package/dist/features/UserStoryImport/hooks/useUSPData.js +0 -2
  1669. package/dist/features/UserStoryImport/hooks/useUSPData.js.map +0 -1
  1670. package/dist/features/UserStoryImport/hooks/useUserStoryPickerState.js +0 -2
  1671. package/dist/features/UserStoryImport/hooks/useUserStoryPickerState.js.map +0 -1
  1672. package/dist/features/UserStoryImport/lib/CustomTooltip.js +0 -2
  1673. package/dist/features/UserStoryImport/lib/CustomTooltip.js.map +0 -1
  1674. package/dist/features/UserStoryImport/lib/Tooltip.js +0 -2
  1675. package/dist/features/UserStoryImport/lib/Tooltip.js.map +0 -1
  1676. package/dist/features/UserStoryImport/lib/adaptLabel.js +0 -2
  1677. package/dist/features/UserStoryImport/lib/adaptLabel.js.map +0 -1
  1678. package/dist/features/UserStoryImport/lib/cn.js +0 -2
  1679. package/dist/features/UserStoryImport/lib/cn.js.map +0 -1
  1680. package/dist/features/UserStoryImport/lib/dialog.js +0 -2
  1681. package/dist/features/UserStoryImport/lib/dialog.js.map +0 -1
  1682. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
  1683. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  1684. package/dist/node_modules/@babel/runtime/helpers/extends.js +0 -2
  1685. package/dist/node_modules/@babel/runtime/helpers/extends.js.map +0 -1
  1686. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.dev.mjs.js +0 -2
  1687. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.dev.mjs.js.map +0 -1
  1688. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.mjs.js +0 -2
  1689. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.mjs.js.map +0 -1
  1690. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.prod.mjs.js +0 -2
  1691. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.prod.mjs.js.map +0 -1
  1692. package/dist/node_modules/@lexical/code/LexicalCode.dev.mjs.js +0 -2
  1693. package/dist/node_modules/@lexical/code/LexicalCode.dev.mjs.js.map +0 -1
  1694. package/dist/node_modules/@lexical/code/LexicalCode.mjs.js +0 -2
  1695. package/dist/node_modules/@lexical/code/LexicalCode.mjs.js.map +0 -1
  1696. package/dist/node_modules/@lexical/code/LexicalCode.prod.mjs.js +0 -2
  1697. package/dist/node_modules/@lexical/code/LexicalCode.prod.mjs.js.map +0 -1
  1698. package/dist/node_modules/@lexical/dragon/LexicalDragon.dev.mjs.js +0 -2
  1699. package/dist/node_modules/@lexical/dragon/LexicalDragon.dev.mjs.js.map +0 -1
  1700. package/dist/node_modules/@lexical/dragon/LexicalDragon.mjs.js +0 -2
  1701. package/dist/node_modules/@lexical/dragon/LexicalDragon.mjs.js.map +0 -1
  1702. package/dist/node_modules/@lexical/dragon/LexicalDragon.prod.mjs.js +0 -2
  1703. package/dist/node_modules/@lexical/dragon/LexicalDragon.prod.mjs.js.map +0 -1
  1704. package/dist/node_modules/@lexical/extension/LexicalExtension.dev.mjs.js +0 -2
  1705. package/dist/node_modules/@lexical/extension/LexicalExtension.dev.mjs.js.map +0 -1
  1706. package/dist/node_modules/@lexical/extension/LexicalExtension.mjs.js +0 -2
  1707. package/dist/node_modules/@lexical/extension/LexicalExtension.mjs.js.map +0 -1
  1708. package/dist/node_modules/@lexical/extension/LexicalExtension.prod.mjs.js +0 -2
  1709. package/dist/node_modules/@lexical/extension/LexicalExtension.prod.mjs.js.map +0 -1
  1710. package/dist/node_modules/@lexical/html/LexicalHtml.dev.mjs.js +0 -2
  1711. package/dist/node_modules/@lexical/html/LexicalHtml.dev.mjs.js.map +0 -1
  1712. package/dist/node_modules/@lexical/html/LexicalHtml.mjs.js +0 -2
  1713. package/dist/node_modules/@lexical/html/LexicalHtml.mjs.js.map +0 -1
  1714. package/dist/node_modules/@lexical/html/LexicalHtml.prod.mjs.js +0 -2
  1715. package/dist/node_modules/@lexical/html/LexicalHtml.prod.mjs.js.map +0 -1
  1716. package/dist/node_modules/@lexical/link/LexicalLink.dev.mjs.js +0 -2
  1717. package/dist/node_modules/@lexical/link/LexicalLink.dev.mjs.js.map +0 -1
  1718. package/dist/node_modules/@lexical/link/LexicalLink.mjs.js +0 -2
  1719. package/dist/node_modules/@lexical/link/LexicalLink.mjs.js.map +0 -1
  1720. package/dist/node_modules/@lexical/link/LexicalLink.prod.mjs.js +0 -2
  1721. package/dist/node_modules/@lexical/link/LexicalLink.prod.mjs.js.map +0 -1
  1722. package/dist/node_modules/@lexical/list/LexicalList.dev.mjs.js +0 -2
  1723. package/dist/node_modules/@lexical/list/LexicalList.dev.mjs.js.map +0 -1
  1724. package/dist/node_modules/@lexical/list/LexicalList.mjs.js +0 -2
  1725. package/dist/node_modules/@lexical/list/LexicalList.mjs.js.map +0 -1
  1726. package/dist/node_modules/@lexical/list/LexicalList.prod.mjs.js +0 -2
  1727. package/dist/node_modules/@lexical/list/LexicalList.prod.mjs.js.map +0 -1
  1728. package/dist/node_modules/@lexical/mark/LexicalMark.dev.mjs.js +0 -2
  1729. package/dist/node_modules/@lexical/mark/LexicalMark.dev.mjs.js.map +0 -1
  1730. package/dist/node_modules/@lexical/mark/LexicalMark.mjs.js +0 -2
  1731. package/dist/node_modules/@lexical/mark/LexicalMark.mjs.js.map +0 -1
  1732. package/dist/node_modules/@lexical/mark/LexicalMark.prod.mjs.js +0 -2
  1733. package/dist/node_modules/@lexical/mark/LexicalMark.prod.mjs.js.map +0 -1
  1734. package/dist/node_modules/@lexical/rich-text/LexicalRichText.dev.mjs.js +0 -2
  1735. package/dist/node_modules/@lexical/rich-text/LexicalRichText.dev.mjs.js.map +0 -1
  1736. package/dist/node_modules/@lexical/rich-text/LexicalRichText.mjs.js +0 -2
  1737. package/dist/node_modules/@lexical/rich-text/LexicalRichText.mjs.js.map +0 -1
  1738. package/dist/node_modules/@lexical/rich-text/LexicalRichText.prod.mjs.js +0 -2
  1739. package/dist/node_modules/@lexical/rich-text/LexicalRichText.prod.mjs.js.map +0 -1
  1740. package/dist/node_modules/@lexical/selection/LexicalSelection.dev.mjs.js +0 -2
  1741. package/dist/node_modules/@lexical/selection/LexicalSelection.dev.mjs.js.map +0 -1
  1742. package/dist/node_modules/@lexical/selection/LexicalSelection.mjs.js +0 -2
  1743. package/dist/node_modules/@lexical/selection/LexicalSelection.mjs.js.map +0 -1
  1744. package/dist/node_modules/@lexical/selection/LexicalSelection.prod.mjs.js +0 -2
  1745. package/dist/node_modules/@lexical/selection/LexicalSelection.prod.mjs.js.map +0 -1
  1746. package/dist/node_modules/@lexical/table/LexicalTable.dev.mjs.js +0 -2
  1747. package/dist/node_modules/@lexical/table/LexicalTable.dev.mjs.js.map +0 -1
  1748. package/dist/node_modules/@lexical/table/LexicalTable.mjs.js +0 -2
  1749. package/dist/node_modules/@lexical/table/LexicalTable.mjs.js.map +0 -1
  1750. package/dist/node_modules/@lexical/table/LexicalTable.prod.mjs.js +0 -2
  1751. package/dist/node_modules/@lexical/table/LexicalTable.prod.mjs.js.map +0 -1
  1752. package/dist/node_modules/@lexical/utils/LexicalUtils.dev.mjs.js +0 -2
  1753. package/dist/node_modules/@lexical/utils/LexicalUtils.dev.mjs.js.map +0 -1
  1754. package/dist/node_modules/@lexical/utils/LexicalUtils.mjs.js +0 -2
  1755. package/dist/node_modules/@lexical/utils/LexicalUtils.mjs.js.map +0 -1
  1756. package/dist/node_modules/@lexical/utils/LexicalUtils.prod.mjs.js +0 -2
  1757. package/dist/node_modules/@lexical/utils/LexicalUtils.prod.mjs.js.map +0 -1
  1758. package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.js +0 -2
  1759. package/dist/node_modules/@radix-ui/react-accordion/dist/index.mjs.js.map +0 -1
  1760. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js +0 -2
  1761. package/dist/node_modules/@radix-ui/react-collapsible/dist/index.mjs.js.map +0 -1
  1762. package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.js +0 -2
  1763. package/dist/node_modules/@radix-ui/react-collection/dist/index.mjs.js.map +0 -1
  1764. package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.js +0 -2
  1765. package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.js.map +0 -1
  1766. package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.js +0 -2
  1767. package/dist/node_modules/@radix-ui/react-direction/dist/index.mjs.js.map +0 -1
  1768. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js +0 -2
  1769. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs.js.map +0 -1
  1770. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js +0 -2
  1771. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs.js.map +0 -1
  1772. package/dist/node_modules/@videojs/vhs-utils/es/byte-helpers.js +0 -2
  1773. package/dist/node_modules/@videojs/vhs-utils/es/byte-helpers.js.map +0 -1
  1774. package/dist/node_modules/@videojs/vhs-utils/es/codecs.js +0 -2
  1775. package/dist/node_modules/@videojs/vhs-utils/es/codecs.js.map +0 -1
  1776. package/dist/node_modules/@videojs/vhs-utils/es/containers.js +0 -2
  1777. package/dist/node_modules/@videojs/vhs-utils/es/containers.js.map +0 -1
  1778. package/dist/node_modules/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js +0 -2
  1779. package/dist/node_modules/@videojs/vhs-utils/es/decode-b64-to-uint8-array.js.map +0 -1
  1780. package/dist/node_modules/@videojs/vhs-utils/es/ebml-helpers.js +0 -2
  1781. package/dist/node_modules/@videojs/vhs-utils/es/ebml-helpers.js.map +0 -1
  1782. package/dist/node_modules/@videojs/vhs-utils/es/id3-helpers.js +0 -2
  1783. package/dist/node_modules/@videojs/vhs-utils/es/id3-helpers.js.map +0 -1
  1784. package/dist/node_modules/@videojs/vhs-utils/es/media-groups.js +0 -2
  1785. package/dist/node_modules/@videojs/vhs-utils/es/media-groups.js.map +0 -1
  1786. package/dist/node_modules/@videojs/vhs-utils/es/media-types.js +0 -2
  1787. package/dist/node_modules/@videojs/vhs-utils/es/media-types.js.map +0 -1
  1788. package/dist/node_modules/@videojs/vhs-utils/es/mp4-helpers.js +0 -2
  1789. package/dist/node_modules/@videojs/vhs-utils/es/mp4-helpers.js.map +0 -1
  1790. package/dist/node_modules/@videojs/vhs-utils/es/nal-helpers.js +0 -2
  1791. package/dist/node_modules/@videojs/vhs-utils/es/nal-helpers.js.map +0 -1
  1792. package/dist/node_modules/@videojs/vhs-utils/es/resolve-url.js +0 -2
  1793. package/dist/node_modules/@videojs/vhs-utils/es/resolve-url.js.map +0 -1
  1794. package/dist/node_modules/@videojs/vhs-utils/es/stream.js +0 -2
  1795. package/dist/node_modules/@videojs/vhs-utils/es/stream.js.map +0 -1
  1796. package/dist/node_modules/@videojs/xhr/lib/http-handler.js +0 -2
  1797. package/dist/node_modules/@videojs/xhr/lib/http-handler.js.map +0 -1
  1798. package/dist/node_modules/@videojs/xhr/lib/index.js +0 -10
  1799. package/dist/node_modules/@videojs/xhr/lib/index.js.map +0 -1
  1800. package/dist/node_modules/@videojs/xhr/lib/interceptors.js +0 -2
  1801. package/dist/node_modules/@videojs/xhr/lib/interceptors.js.map +0 -1
  1802. package/dist/node_modules/@videojs/xhr/lib/retry.js +0 -2
  1803. package/dist/node_modules/@videojs/xhr/lib/retry.js.map +0 -1
  1804. package/dist/node_modules/@xmldom/xmldom/lib/conventions.js +0 -2
  1805. package/dist/node_modules/@xmldom/xmldom/lib/conventions.js.map +0 -1
  1806. package/dist/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -2
  1807. package/dist/node_modules/@xmldom/xmldom/lib/dom-parser.js.map +0 -1
  1808. package/dist/node_modules/@xmldom/xmldom/lib/dom.js +0 -2
  1809. package/dist/node_modules/@xmldom/xmldom/lib/dom.js.map +0 -1
  1810. package/dist/node_modules/@xmldom/xmldom/lib/entities.js +0 -2
  1811. package/dist/node_modules/@xmldom/xmldom/lib/entities.js.map +0 -1
  1812. package/dist/node_modules/@xmldom/xmldom/lib/index.js +0 -2
  1813. package/dist/node_modules/@xmldom/xmldom/lib/index.js.map +0 -1
  1814. package/dist/node_modules/@xmldom/xmldom/lib/sax.js +0 -2
  1815. package/dist/node_modules/@xmldom/xmldom/lib/sax.js.map +0 -1
  1816. package/dist/node_modules/aria-hidden/dist/es2015/index.js +0 -2
  1817. package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
  1818. package/dist/node_modules/get-nonce/dist/es2015/index.js +0 -2
  1819. package/dist/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
  1820. package/dist/node_modules/global/document.js +0 -2
  1821. package/dist/node_modules/global/document.js.map +0 -1
  1822. package/dist/node_modules/global/window.js +0 -2
  1823. package/dist/node_modules/global/window.js.map +0 -1
  1824. package/dist/node_modules/is-function/index.js +0 -2
  1825. package/dist/node_modules/is-function/index.js.map +0 -1
  1826. package/dist/node_modules/m3u8-parser/dist/m3u8-parser.es.js +0 -3
  1827. package/dist/node_modules/m3u8-parser/dist/m3u8-parser.es.js.map +0 -1
  1828. package/dist/node_modules/mpd-parser/dist/mpd-parser.es.js +0 -3
  1829. package/dist/node_modules/mpd-parser/dist/mpd-parser.es.js.map +0 -1
  1830. package/dist/node_modules/mux.js/lib/tools/parse-sidx.js +0 -2
  1831. package/dist/node_modules/mux.js/lib/tools/parse-sidx.js.map +0 -1
  1832. package/dist/node_modules/mux.js/lib/utils/clock.js +0 -2
  1833. package/dist/node_modules/mux.js/lib/utils/clock.js.map +0 -1
  1834. package/dist/node_modules/mux.js/lib/utils/numbers.js +0 -2
  1835. package/dist/node_modules/mux.js/lib/utils/numbers.js.map +0 -1
  1836. package/dist/node_modules/prismjs/components/prism-c.js +0 -2
  1837. package/dist/node_modules/prismjs/components/prism-c.js.map +0 -1
  1838. package/dist/node_modules/prismjs/components/prism-clike.js +0 -2
  1839. package/dist/node_modules/prismjs/components/prism-clike.js.map +0 -1
  1840. package/dist/node_modules/prismjs/components/prism-cpp.js +0 -2
  1841. package/dist/node_modules/prismjs/components/prism-cpp.js.map +0 -1
  1842. package/dist/node_modules/prismjs/components/prism-css.js +0 -2
  1843. package/dist/node_modules/prismjs/components/prism-css.js.map +0 -1
  1844. package/dist/node_modules/prismjs/components/prism-java.js +0 -2
  1845. package/dist/node_modules/prismjs/components/prism-java.js.map +0 -1
  1846. package/dist/node_modules/prismjs/components/prism-javascript.js +0 -2
  1847. package/dist/node_modules/prismjs/components/prism-javascript.js.map +0 -1
  1848. package/dist/node_modules/prismjs/components/prism-markdown.js +0 -2
  1849. package/dist/node_modules/prismjs/components/prism-markdown.js.map +0 -1
  1850. package/dist/node_modules/prismjs/components/prism-markup.js +0 -2
  1851. package/dist/node_modules/prismjs/components/prism-markup.js.map +0 -1
  1852. package/dist/node_modules/prismjs/components/prism-objectivec.js +0 -2
  1853. package/dist/node_modules/prismjs/components/prism-objectivec.js.map +0 -1
  1854. package/dist/node_modules/prismjs/components/prism-powershell.js +0 -2
  1855. package/dist/node_modules/prismjs/components/prism-powershell.js.map +0 -1
  1856. package/dist/node_modules/prismjs/components/prism-python.js +0 -2
  1857. package/dist/node_modules/prismjs/components/prism-python.js.map +0 -1
  1858. package/dist/node_modules/prismjs/components/prism-rust.js +0 -2
  1859. package/dist/node_modules/prismjs/components/prism-rust.js.map +0 -1
  1860. package/dist/node_modules/prismjs/components/prism-sql.js +0 -2
  1861. package/dist/node_modules/prismjs/components/prism-sql.js.map +0 -1
  1862. package/dist/node_modules/prismjs/components/prism-swift.js +0 -2
  1863. package/dist/node_modules/prismjs/components/prism-swift.js.map +0 -1
  1864. package/dist/node_modules/prismjs/components/prism-typescript.js +0 -2
  1865. package/dist/node_modules/prismjs/components/prism-typescript.js.map +0 -1
  1866. package/dist/node_modules/prismjs/prism.js +0 -2
  1867. package/dist/node_modules/prismjs/prism.js.map +0 -1
  1868. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -2
  1869. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
  1870. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -2
  1871. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
  1872. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -2
  1873. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
  1874. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -2
  1875. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
  1876. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -2
  1877. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
  1878. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -2
  1879. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
  1880. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -2
  1881. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
  1882. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -2
  1883. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
  1884. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -2
  1885. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
  1886. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -2
  1887. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
  1888. package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.js +0 -2
  1889. package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.js.map +0 -1
  1890. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +0 -2
  1891. package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
  1892. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +0 -2
  1893. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
  1894. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -2
  1895. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
  1896. package/dist/node_modules/showdown/dist/showdown.js +0 -2
  1897. package/dist/node_modules/showdown/dist/showdown.js.map +0 -1
  1898. package/dist/node_modules/turndown/lib/turndown.browser.es.js +0 -2
  1899. package/dist/node_modules/turndown/lib/turndown.browser.es.js.map +0 -1
  1900. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -2
  1901. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
  1902. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -2
  1903. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
  1904. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -2
  1905. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
  1906. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +0 -2
  1907. package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
  1908. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +0 -2
  1909. package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
  1910. package/dist/node_modules/uuid/dist/native.js +0 -2
  1911. package/dist/node_modules/uuid/dist/native.js.map +0 -1
  1912. package/dist/node_modules/uuid/dist/rng.js +0 -2
  1913. package/dist/node_modules/uuid/dist/rng.js.map +0 -1
  1914. package/dist/node_modules/uuid/dist/stringify.js +0 -2
  1915. package/dist/node_modules/uuid/dist/stringify.js.map +0 -1
  1916. package/dist/node_modules/uuid/dist/v4.js +0 -2
  1917. package/dist/node_modules/uuid/dist/v4.js.map +0 -1
  1918. package/dist/node_modules/video.js/dist/video-js.css.js +0 -2
  1919. package/dist/node_modules/video.js/dist/video-js.css.js.map +0 -1
  1920. package/dist/node_modules/video.js/dist/video.es.js +0 -19
  1921. package/dist/node_modules/video.js/dist/video.es.js.map +0 -1
  1922. package/dist/node_modules/videojs-vtt.js/lib/browser-index.js +0 -2
  1923. package/dist/node_modules/videojs-vtt.js/lib/browser-index.js.map +0 -1
  1924. package/dist/node_modules/videojs-vtt.js/lib/vtt.js +0 -2
  1925. package/dist/node_modules/videojs-vtt.js/lib/vtt.js.map +0 -1
  1926. package/dist/node_modules/videojs-vtt.js/lib/vttcue.js +0 -2
  1927. package/dist/node_modules/videojs-vtt.js/lib/vttcue.js.map +0 -1
  1928. package/dist/node_modules/videojs-vtt.js/lib/vttregion.js +0 -2
  1929. package/dist/node_modules/videojs-vtt.js/lib/vttregion.js.map +0 -1
  1930. package/dist/types/src/App.d.ts +0 -3
  1931. package/dist/types/src/App.d.ts.map +0 -1
  1932. package/dist/types/src/RequirementAiTest.d.ts +0 -12
  1933. package/dist/types/src/RequirementAiTest.d.ts.map +0 -1
  1934. package/dist/types/src/components/ScopeTree/HighlightedText.d.ts.map +0 -1
  1935. package/dist/types/src/components/ScopeTree/TreeAddAction.d.ts.map +0 -1
  1936. package/dist/types/src/components/ScopeTree/TreeMenu.d.ts.map +0 -1
  1937. package/dist/types/src/components/ScopeTree/TreeNode.d.ts.map +0 -1
  1938. package/dist/types/src/components/ScopeTree/TreeNodeHeader.d.ts.map +0 -1
  1939. package/dist/types/src/components/ScopeTree/TreeSectionItem.d.ts.map +0 -1
  1940. package/dist/types/src/components/ScopeTree/TreeSidebar.d.ts.map +0 -1
  1941. package/dist/types/src/components/ScopeTree/TreeTooltip.d.ts.map +0 -1
  1942. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -31
  1943. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
  1944. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
  1945. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
  1946. package/dist/types/src/features/RequirementAI/components/CustomPopover/CustomPopover.d.ts +0 -14
  1947. package/dist/types/src/features/RequirementAI/components/CustomPopover/CustomPopover.d.ts.map +0 -1
  1948. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.d.ts +0 -64
  1949. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.d.ts.map +0 -1
  1950. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.d.ts +0 -22
  1951. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.d.ts.map +0 -1
  1952. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.d.ts +0 -21
  1953. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.d.ts.map +0 -1
  1954. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.d.ts +0 -10
  1955. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.d.ts.map +0 -1
  1956. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.d.ts +0 -26
  1957. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.d.ts.map +0 -1
  1958. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/types/gapRiskSidebar.types.d.ts +0 -248
  1959. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/types/gapRiskSidebar.types.d.ts.map +0 -1
  1960. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.d.ts +0 -18
  1961. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.d.ts.map +0 -1
  1962. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.d.ts +0 -18
  1963. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.d.ts.map +0 -1
  1964. package/dist/types/src/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.d.ts +0 -11
  1965. package/dist/types/src/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.d.ts.map +0 -1
  1966. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +0 -369
  1967. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +0 -1
  1968. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts +0 -38
  1969. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts.map +0 -1
  1970. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.d.ts +0 -15
  1971. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.d.ts.map +0 -1
  1972. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.d.ts +0 -7
  1973. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.d.ts.map +0 -1
  1974. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.d.ts +0 -7
  1975. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.d.ts.map +0 -1
  1976. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.d.ts +0 -13
  1977. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.d.ts.map +0 -1
  1978. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/EditorDropdown/EditorDropdown.d.ts +0 -16
  1979. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/EditorDropdown/EditorDropdown.d.ts.map +0 -1
  1980. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/LinkEditor/LinkEditorButton/LinkEditorButton.d.ts +0 -9
  1981. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/LinkEditor/LinkEditorButton/LinkEditorButton.d.ts.map +0 -1
  1982. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.d.ts +0 -13
  1983. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.d.ts.map +0 -1
  1984. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.d.ts +0 -3
  1985. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.d.ts.map +0 -1
  1986. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.d.ts +0 -8
  1987. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.d.ts.map +0 -1
  1988. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.d.ts +0 -13
  1989. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.d.ts.map +0 -1
  1990. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Table/tableHelpers.d.ts +0 -3
  1991. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Table/tableHelpers.d.ts.map +0 -1
  1992. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.d.ts +0 -32
  1993. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.d.ts.map +0 -1
  1994. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/enums.d.ts +0 -17
  1995. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/enums.d.ts.map +0 -1
  1996. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/models.d.ts +0 -48
  1997. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/models.d.ts.map +0 -1
  1998. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.d.ts +0 -3
  1999. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.d.ts.map +0 -1
  2000. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/hooks/useModal.d.ts +0 -13
  2001. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/hooks/useModal.d.ts.map +0 -1
  2002. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/hooks/useOnClickOutside.d.ts +0 -5
  2003. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/hooks/useOnClickOutside.d.ts.map +0 -1
  2004. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.d.ts +0 -20
  2005. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.d.ts.map +0 -1
  2006. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts +0 -26
  2007. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts.map +0 -1
  2008. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts +0 -9
  2009. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +0 -1
  2010. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialString.d.ts +0 -6
  2011. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialString.d.ts.map +0 -1
  2012. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts +0 -20
  2013. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts.map +0 -1
  2014. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.d.ts +0 -10
  2015. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.d.ts.map +0 -1
  2016. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/CommentEditorTheme.d.ts +0 -12
  2017. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/CommentEditorTheme.d.ts.map +0 -1
  2018. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/PlaygroundEditorTheme.d.ts +0 -12
  2019. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/PlaygroundEditorTheme.d.ts.map +0 -1
  2020. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.d.ts +0 -5
  2021. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.d.ts.map +0 -1
  2022. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/Button.d.ts +0 -19
  2023. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/Button.d.ts.map +0 -1
  2024. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/ContentEditable.d.ts +0 -17
  2025. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/ContentEditable.d.ts.map +0 -1
  2026. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/Modal.d.ts +0 -16
  2027. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/Modal.d.ts.map +0 -1
  2028. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/commentsHelper.d.ts +0 -21
  2029. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/commentsHelper.d.ts.map +0 -1
  2030. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.d.ts +0 -3
  2031. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.d.ts.map +0 -1
  2032. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/joinClasses.d.ts +0 -9
  2033. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/joinClasses.d.ts.map +0 -1
  2034. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts +0 -15
  2035. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +0 -1
  2036. package/dist/types/src/features/RequirementAI/components/RichTextEditor/commenting/index.d.ts +0 -52
  2037. package/dist/types/src/features/RequirementAI/components/RichTextEditor/commenting/index.d.ts.map +0 -1
  2038. package/dist/types/src/features/RequirementAI/components/UserStoryCard/AttachedContext.d.ts +0 -19
  2039. package/dist/types/src/features/RequirementAI/components/UserStoryCard/AttachedContext.d.ts.map +0 -1
  2040. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts +0 -27
  2041. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +0 -1
  2042. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationRenderer.d.ts +0 -11
  2043. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationRenderer.d.ts.map +0 -1
  2044. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +0 -34
  2045. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +0 -1
  2046. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.d.ts +0 -9
  2047. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.d.ts.map +0 -1
  2048. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +0 -58
  2049. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +0 -1
  2050. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts +0 -58
  2051. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts.map +0 -1
  2052. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.d.ts +0 -29
  2053. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.d.ts.map +0 -1
  2054. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +0 -50
  2055. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +0 -1
  2056. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.d.ts +0 -20
  2057. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.d.ts.map +0 -1
  2058. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +0 -72
  2059. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +0 -1
  2060. package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/AiGapIcon.d.ts +0 -7
  2061. package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/AiGapIcon.d.ts.map +0 -1
  2062. package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.d.ts +0 -6
  2063. package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.d.ts.map +0 -1
  2064. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.d.ts +0 -20
  2065. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.d.ts.map +0 -1
  2066. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts +0 -15
  2067. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +0 -1
  2068. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.d.ts +0 -14
  2069. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.d.ts.map +0 -1
  2070. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts +0 -20
  2071. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +0 -1
  2072. package/dist/types/src/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.d.ts +0 -9
  2073. package/dist/types/src/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.d.ts.map +0 -1
  2074. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.d.ts +0 -15
  2075. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.d.ts.map +0 -1
  2076. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.d.ts +0 -5
  2077. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.d.ts.map +0 -1
  2078. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.d.ts +0 -15
  2079. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.d.ts.map +0 -1
  2080. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.d.ts +0 -4
  2081. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.d.ts.map +0 -1
  2082. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.d.ts +0 -4
  2083. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.d.ts.map +0 -1
  2084. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronDown.d.ts +0 -4
  2085. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronDown.d.ts.map +0 -1
  2086. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronUpIcon.d.ts +0 -4
  2087. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronUpIcon.d.ts.map +0 -1
  2088. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ExternalLinkIcon.d.ts +0 -4
  2089. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ExternalLinkIcon.d.ts.map +0 -1
  2090. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/MessageCircleIcon.d.ts +0 -4
  2091. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/MessageCircleIcon.d.ts.map +0 -1
  2092. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/NotebookIcon.d.ts +0 -4
  2093. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/NotebookIcon.d.ts.map +0 -1
  2094. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.d.ts +0 -7
  2095. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.d.ts.map +0 -1
  2096. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/types.d.ts +0 -74
  2097. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/types.d.ts.map +0 -1
  2098. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.d.ts +0 -15
  2099. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.d.ts.map +0 -1
  2100. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.d.ts +0 -13
  2101. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.d.ts.map +0 -1
  2102. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.d.ts +0 -4
  2103. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.d.ts.map +0 -1
  2104. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.d.ts +0 -35
  2105. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.d.ts.map +0 -1
  2106. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.d.ts +0 -20
  2107. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.d.ts.map +0 -1
  2108. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.d.ts +0 -30
  2109. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.d.ts.map +0 -1
  2110. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.d.ts +0 -7
  2111. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.d.ts.map +0 -1
  2112. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/CloseIcon.d.ts +0 -7
  2113. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/CloseIcon.d.ts.map +0 -1
  2114. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.d.ts +0 -7
  2115. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.d.ts.map +0 -1
  2116. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.d.ts +0 -7
  2117. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.d.ts.map +0 -1
  2118. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.d.ts +0 -7
  2119. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.d.ts.map +0 -1
  2120. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.d.ts +0 -7
  2121. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.d.ts.map +0 -1
  2122. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.d.ts +0 -3
  2123. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.d.ts.map +0 -1
  2124. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.d.ts +0 -7
  2125. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.d.ts.map +0 -1
  2126. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/searchwaveform.d.ts +0 -41
  2127. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/searchwaveform.d.ts.map +0 -1
  2128. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.d.ts +0 -16
  2129. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.d.ts.map +0 -1
  2130. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.d.ts +0 -23
  2131. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.d.ts.map +0 -1
  2132. package/dist/types/src/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.d.ts +0 -11
  2133. package/dist/types/src/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.d.ts.map +0 -1
  2134. package/dist/types/src/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.d.ts +0 -18
  2135. package/dist/types/src/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.d.ts.map +0 -1
  2136. package/dist/types/src/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.d.ts +0 -4
  2137. package/dist/types/src/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.d.ts.map +0 -1
  2138. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts +0 -12
  2139. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts.map +0 -1
  2140. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts +0 -11
  2141. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts.map +0 -1
  2142. package/dist/types/src/features/RequirementAI/components/citations/file-citation/LoadingScreen.d.ts +0 -2
  2143. package/dist/types/src/features/RequirementAI/components/citations/file-citation/LoadingScreen.d.ts.map +0 -1
  2144. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationContent.d.ts +0 -9
  2145. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationContent.d.ts.map +0 -1
  2146. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.d.ts +0 -4
  2147. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.d.ts.map +0 -1
  2148. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.d.ts +0 -11
  2149. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.d.ts.map +0 -1
  2150. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationContent.d.ts +0 -12
  2151. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationContent.d.ts.map +0 -1
  2152. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.d.ts +0 -5
  2153. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.d.ts.map +0 -1
  2154. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/types.d.ts +0 -28
  2155. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/types.d.ts.map +0 -1
  2156. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.d.ts +0 -13
  2157. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.d.ts.map +0 -1
  2158. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts +0 -15
  2159. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +0 -1
  2160. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.d.ts +0 -5
  2161. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.d.ts.map +0 -1
  2162. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.d.ts +0 -8
  2163. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.d.ts.map +0 -1
  2164. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.d.ts +0 -8
  2165. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.d.ts.map +0 -1
  2166. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/types.d.ts +0 -72
  2167. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/types.d.ts.map +0 -1
  2168. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.d.ts +0 -12
  2169. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.d.ts.map +0 -1
  2170. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/StormeeContent.d.ts +0 -18
  2171. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/StormeeContent.d.ts.map +0 -1
  2172. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.d.ts +0 -9
  2173. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.d.ts.map +0 -1
  2174. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.d.ts +0 -13
  2175. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.d.ts.map +0 -1
  2176. package/dist/types/src/features/RequirementAI/components/citations/web-citation/FullScreenIcon.d.ts +0 -7
  2177. package/dist/types/src/features/RequirementAI/components/citations/web-citation/FullScreenIcon.d.ts.map +0 -1
  2178. package/dist/types/src/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.d.ts +0 -18
  2179. package/dist/types/src/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.d.ts.map +0 -1
  2180. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitation.d.ts +0 -10
  2181. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitation.d.ts.map +0 -1
  2182. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationIcon.d.ts +0 -3
  2183. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationIcon.d.ts.map +0 -1
  2184. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.d.ts +0 -10
  2185. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.d.ts.map +0 -1
  2186. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.d.ts +0 -23
  2187. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.d.ts.map +0 -1
  2188. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.d.ts +0 -11
  2189. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.d.ts.map +0 -1
  2190. package/dist/types/src/features/RequirementAI/components/cra/PartialRequirementContent.d.ts +0 -17
  2191. package/dist/types/src/features/RequirementAI/components/cra/PartialRequirementContent.d.ts.map +0 -1
  2192. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +0 -56
  2193. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +0 -1
  2194. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +0 -65
  2195. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +0 -1
  2196. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.d.ts +0 -26
  2197. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.d.ts.map +0 -1
  2198. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts +0 -44
  2199. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts.map +0 -1
  2200. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.d.ts +0 -9
  2201. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.d.ts.map +0 -1
  2202. package/dist/types/src/features/RequirementAI/components/segment/ExampleComponentWrapper.d.ts +0 -11
  2203. package/dist/types/src/features/RequirementAI/components/segment/ExampleComponentWrapper.d.ts.map +0 -1
  2204. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +0 -20
  2205. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +0 -1
  2206. package/dist/types/src/features/RequirementAI/components/segment/SegmentLoader.d.ts +0 -9
  2207. package/dist/types/src/features/RequirementAI/components/segment/SegmentLoader.d.ts.map +0 -1
  2208. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +0 -15
  2209. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +0 -1
  2210. package/dist/types/src/features/RequirementAI/components/story-screen/BigEnoughPanel.d.ts +0 -11
  2211. package/dist/types/src/features/RequirementAI/components/story-screen/BigEnoughPanel.d.ts.map +0 -1
  2212. package/dist/types/src/features/RequirementAI/components/story-screen/ReplaceLearnedTags.d.ts +0 -3
  2213. package/dist/types/src/features/RequirementAI/components/story-screen/ReplaceLearnedTags.d.ts.map +0 -1
  2214. package/dist/types/src/features/RequirementAI/components/story-screen/StreamingScreenSidebar.d.ts +0 -13
  2215. package/dist/types/src/features/RequirementAI/components/story-screen/StreamingScreenSidebar.d.ts.map +0 -1
  2216. package/dist/types/src/features/RequirementAI/components/story-screen/SubfeatureBlock.d.ts +0 -15
  2217. package/dist/types/src/features/RequirementAI/components/story-screen/SubfeatureBlock.d.ts.map +0 -1
  2218. package/dist/types/src/features/RequirementAI/components/story-screen/UserStoryScreen.d.ts +0 -47
  2219. package/dist/types/src/features/RequirementAI/components/story-screen/UserStoryScreen.d.ts.map +0 -1
  2220. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts +0 -31
  2221. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts.map +0 -1
  2222. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts +0 -70
  2223. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts.map +0 -1
  2224. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.d.ts +0 -18
  2225. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.d.ts.map +0 -1
  2226. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.d.ts +0 -22
  2227. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.d.ts.map +0 -1
  2228. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.d.ts +0 -43
  2229. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.d.ts.map +0 -1
  2230. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.d.ts +0 -18
  2231. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.d.ts.map +0 -1
  2232. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.d.ts +0 -26
  2233. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.d.ts.map +0 -1
  2234. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.d.ts +0 -29
  2235. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.d.ts.map +0 -1
  2236. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +0 -114
  2237. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +0 -1
  2238. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +0 -19
  2239. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +0 -1
  2240. package/dist/types/src/features/RequirementAI/hooks/useApprovalStatus.d.ts +0 -20
  2241. package/dist/types/src/features/RequirementAI/hooks/useApprovalStatus.d.ts.map +0 -1
  2242. package/dist/types/src/features/RequirementAI/hooks/useDiffEditReviewMode.d.ts +0 -8
  2243. package/dist/types/src/features/RequirementAI/hooks/useDiffEditReviewMode.d.ts.map +0 -1
  2244. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +0 -41
  2245. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +0 -1
  2246. package/dist/types/src/features/RequirementAI/icons/AiGapIcon.d.ts +0 -7
  2247. package/dist/types/src/features/RequirementAI/icons/AiGapIcon.d.ts.map +0 -1
  2248. package/dist/types/src/features/RequirementAI/icons/AiReasoningIcon.d.ts +0 -7
  2249. package/dist/types/src/features/RequirementAI/icons/AiReasoningIcon.d.ts.map +0 -1
  2250. package/dist/types/src/features/RequirementAI/icons/BigEnoughIcon.d.ts +0 -8
  2251. package/dist/types/src/features/RequirementAI/icons/BigEnoughIcon.d.ts.map +0 -1
  2252. package/dist/types/src/features/RequirementAI/icons/BookmarkIcon.d.ts +0 -10
  2253. package/dist/types/src/features/RequirementAI/icons/BookmarkIcon.d.ts.map +0 -1
  2254. package/dist/types/src/features/RequirementAI/icons/BrainRed.d.ts +0 -3
  2255. package/dist/types/src/features/RequirementAI/icons/BrainRed.d.ts.map +0 -1
  2256. package/dist/types/src/features/RequirementAI/icons/CDIcon.d.ts +0 -3
  2257. package/dist/types/src/features/RequirementAI/icons/CDIcon.d.ts.map +0 -1
  2258. package/dist/types/src/features/RequirementAI/icons/CheckIcon.d.ts +0 -5
  2259. package/dist/types/src/features/RequirementAI/icons/CheckIcon.d.ts.map +0 -1
  2260. package/dist/types/src/features/RequirementAI/icons/ChevronDownIcon.d.ts +0 -5
  2261. package/dist/types/src/features/RequirementAI/icons/ChevronDownIcon.d.ts.map +0 -1
  2262. package/dist/types/src/features/RequirementAI/icons/ChevronUpIcon.d.ts +0 -5
  2263. package/dist/types/src/features/RequirementAI/icons/ChevronUpIcon.d.ts.map +0 -1
  2264. package/dist/types/src/features/RequirementAI/icons/CognitiveDecision.d.ts +0 -7
  2265. package/dist/types/src/features/RequirementAI/icons/CognitiveDecision.d.ts.map +0 -1
  2266. package/dist/types/src/features/RequirementAI/icons/MeetingHighlightsIcon.d.ts +0 -3
  2267. package/dist/types/src/features/RequirementAI/icons/MeetingHighlightsIcon.d.ts.map +0 -1
  2268. package/dist/types/src/features/RequirementAI/icons/MenuUnfoldIcon.d.ts +0 -9
  2269. package/dist/types/src/features/RequirementAI/icons/MenuUnfoldIcon.d.ts.map +0 -1
  2270. package/dist/types/src/features/RequirementAI/icons/PencilIcon.d.ts +0 -5
  2271. package/dist/types/src/features/RequirementAI/icons/PencilIcon.d.ts.map +0 -1
  2272. package/dist/types/src/features/RequirementAI/icons/ReasoningBulbIcon.d.ts +0 -7
  2273. package/dist/types/src/features/RequirementAI/icons/ReasoningBulbIcon.d.ts.map +0 -1
  2274. package/dist/types/src/features/RequirementAI/icons/RelevanceScoreIcon.d.ts +0 -7
  2275. package/dist/types/src/features/RequirementAI/icons/RelevanceScoreIcon.d.ts.map +0 -1
  2276. package/dist/types/src/features/RequirementAI/icons/SidebarCloseIcon.d.ts +0 -5
  2277. package/dist/types/src/features/RequirementAI/icons/SidebarCloseIcon.d.ts.map +0 -1
  2278. package/dist/types/src/features/RequirementAI/icons/SidebarOpenIcon.d.ts +0 -5
  2279. package/dist/types/src/features/RequirementAI/icons/SidebarOpenIcon.d.ts.map +0 -1
  2280. package/dist/types/src/features/RequirementAI/icons/TrashIcon.d.ts +0 -5
  2281. package/dist/types/src/features/RequirementAI/icons/TrashIcon.d.ts.map +0 -1
  2282. package/dist/types/src/features/RequirementAI/interfaces/approval-screen.interface.d.ts +0 -12
  2283. package/dist/types/src/features/RequirementAI/interfaces/approval-screen.interface.d.ts.map +0 -1
  2284. package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts +0 -47
  2285. package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts.map +0 -1
  2286. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +0 -316
  2287. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +0 -1
  2288. package/dist/types/src/features/RequirementAI/shared/Accordian.d.ts +0 -14
  2289. package/dist/types/src/features/RequirementAI/shared/Accordian.d.ts.map +0 -1
  2290. package/dist/types/src/features/RequirementAI/shared/AtomicButton.d.ts +0 -22
  2291. package/dist/types/src/features/RequirementAI/shared/AtomicButton.d.ts.map +0 -1
  2292. package/dist/types/src/features/RequirementAI/shared/CitationAIConfidenceDisplay.d.ts +0 -8
  2293. package/dist/types/src/features/RequirementAI/shared/CitationAIConfidenceDisplay.d.ts.map +0 -1
  2294. package/dist/types/src/features/RequirementAI/shared/CitationLoadingIndicator.d.ts +0 -11
  2295. package/dist/types/src/features/RequirementAI/shared/CitationLoadingIndicator.d.ts.map +0 -1
  2296. package/dist/types/src/features/RequirementAI/shared/CodeViewer.d.ts +0 -11
  2297. package/dist/types/src/features/RequirementAI/shared/CodeViewer.d.ts.map +0 -1
  2298. package/dist/types/src/features/RequirementAI/shared/ExpandableOl.d.ts +0 -17
  2299. package/dist/types/src/features/RequirementAI/shared/ExpandableOl.d.ts.map +0 -1
  2300. package/dist/types/src/features/RequirementAI/shared/GeneratedCodeCitation.d.ts +0 -12
  2301. package/dist/types/src/features/RequirementAI/shared/GeneratedCodeCitation.d.ts.map +0 -1
  2302. package/dist/types/src/features/RequirementAI/shared/ReqAiCitationRenderer.d.ts +0 -12
  2303. package/dist/types/src/features/RequirementAI/shared/ReqAiCitationRenderer.d.ts.map +0 -1
  2304. package/dist/types/src/features/RequirementAI/shared/UpdatedAnimationContent.d.ts +0 -46
  2305. package/dist/types/src/features/RequirementAI/shared/UpdatedAnimationContent.d.ts.map +0 -1
  2306. package/dist/types/src/features/RequirementAI/shared/useMarkdownSearch.d.ts +0 -6
  2307. package/dist/types/src/features/RequirementAI/shared/useMarkdownSearch.d.ts.map +0 -1
  2308. package/dist/types/src/features/RequirementAI/store/ref.context.d.ts +0 -12
  2309. package/dist/types/src/features/RequirementAI/store/ref.context.d.ts.map +0 -1
  2310. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +0 -449
  2311. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +0 -1
  2312. package/dist/types/src/features/RequirementAI/types/citation.type.d.ts +0 -136
  2313. package/dist/types/src/features/RequirementAI/types/citation.type.d.ts.map +0 -1
  2314. package/dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts +0 -82
  2315. package/dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts.map +0 -1
  2316. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +0 -22
  2317. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +0 -1
  2318. package/dist/types/src/features/RequirementAI/types/streaming-block.type.d.ts +0 -30
  2319. package/dist/types/src/features/RequirementAI/types/streaming-block.type.d.ts.map +0 -1
  2320. package/dist/types/src/features/RequirementAI/types/user.type.d.ts +0 -21
  2321. package/dist/types/src/features/RequirementAI/types/user.type.d.ts.map +0 -1
  2322. package/dist/types/src/features/RequirementAI/utils/css.utils.d.ts +0 -2
  2323. package/dist/types/src/features/RequirementAI/utils/css.utils.d.ts.map +0 -1
  2324. package/dist/types/src/features/RequirementAI/utils/diff-edit.utils.d.ts +0 -13
  2325. package/dist/types/src/features/RequirementAI/utils/diff-edit.utils.d.ts.map +0 -1
  2326. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts +0 -6
  2327. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts.map +0 -1
  2328. package/dist/types/src/features/RequirementAI/utils/json-helper.d.ts +0 -2
  2329. package/dist/types/src/features/RequirementAI/utils/json-helper.d.ts.map +0 -1
  2330. package/dist/types/src/features/RequirementAI/utils/learned-tag.utils.d.ts +0 -33
  2331. package/dist/types/src/features/RequirementAI/utils/learned-tag.utils.d.ts.map +0 -1
  2332. package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts +0 -15
  2333. package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts.map +0 -1
  2334. package/dist/types/src/features/RequirementAI/utils/user-story.utils.d.ts +0 -16
  2335. package/dist/types/src/features/RequirementAI/utils/user-story.utils.d.ts.map +0 -1
  2336. package/dist/types/src/features/RequirementAI/utils/userStoryAttachedContext.utils.d.ts +0 -10
  2337. package/dist/types/src/features/RequirementAI/utils/userStoryAttachedContext.utils.d.ts.map +0 -1
  2338. package/dist/types/src/features/RequirementAI/utils/userstory-approval-transform.utils.d.ts +0 -33
  2339. package/dist/types/src/features/RequirementAI/utils/userstory-approval-transform.utils.d.ts.map +0 -1
  2340. package/dist/types/src/features/RequirementAI/utils/userstory-approval.utils.d.ts +0 -41
  2341. package/dist/types/src/features/RequirementAI/utils/userstory-approval.utils.d.ts.map +0 -1
  2342. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -124
  2343. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
  2344. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -7
  2345. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
  2346. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
  2347. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
  2348. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
  2349. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
  2350. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
  2351. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
  2352. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
  2353. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
  2354. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
  2355. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
  2356. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
  2357. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
  2358. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
  2359. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
  2360. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
  2361. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
  2362. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
  2363. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
  2364. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
  2365. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
  2366. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
  2367. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
  2368. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
  2369. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
  2370. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
  2371. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
  2372. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
  2373. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
  2374. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -7
  2375. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
  2376. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
  2377. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
  2378. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -183
  2379. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
  2380. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
  2381. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
  2382. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
  2383. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
  2384. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -42
  2385. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
  2386. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
  2387. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
  2388. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
  2389. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
  2390. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
  2391. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
  2392. package/dist/types/src/features/UserStoryImport/UserStoryPicker.context.d.ts +0 -53
  2393. package/dist/types/src/features/UserStoryImport/UserStoryPicker.context.d.ts.map +0 -1
  2394. package/dist/types/src/features/UserStoryImport/UserStoryPicker.d.ts +0 -4
  2395. package/dist/types/src/features/UserStoryImport/UserStoryPicker.d.ts.map +0 -1
  2396. package/dist/types/src/features/UserStoryImport/UserStoryPicker.theme.d.ts +0 -98
  2397. package/dist/types/src/features/UserStoryImport/UserStoryPicker.theme.d.ts.map +0 -1
  2398. package/dist/types/src/features/UserStoryImport/UserStoryPicker.types.d.ts +0 -277
  2399. package/dist/types/src/features/UserStoryImport/UserStoryPicker.types.d.ts.map +0 -1
  2400. package/dist/types/src/features/UserStoryImport/components/BackNav.d.ts +0 -10
  2401. package/dist/types/src/features/UserStoryImport/components/BackNav.d.ts.map +0 -1
  2402. package/dist/types/src/features/UserStoryImport/components/Badge.d.ts +0 -10
  2403. package/dist/types/src/features/UserStoryImport/components/Badge.d.ts.map +0 -1
  2404. package/dist/types/src/features/UserStoryImport/components/BrowseProjectsButton.d.ts +0 -9
  2405. package/dist/types/src/features/UserStoryImport/components/BrowseProjectsButton.d.ts.map +0 -1
  2406. package/dist/types/src/features/UserStoryImport/components/CardGrid.d.ts +0 -9
  2407. package/dist/types/src/features/UserStoryImport/components/CardGrid.d.ts.map +0 -1
  2408. package/dist/types/src/features/UserStoryImport/components/CardProceedButton.d.ts +0 -7
  2409. package/dist/types/src/features/UserStoryImport/components/CardProceedButton.d.ts.map +0 -1
  2410. package/dist/types/src/features/UserStoryImport/components/ContentArea.d.ts +0 -8
  2411. package/dist/types/src/features/UserStoryImport/components/ContentArea.d.ts.map +0 -1
  2412. package/dist/types/src/features/UserStoryImport/components/Footer.d.ts +0 -8
  2413. package/dist/types/src/features/UserStoryImport/components/Footer.d.ts.map +0 -1
  2414. package/dist/types/src/features/UserStoryImport/components/Header.d.ts +0 -12
  2415. package/dist/types/src/features/UserStoryImport/components/Header.d.ts.map +0 -1
  2416. package/dist/types/src/features/UserStoryImport/components/NavRow.d.ts +0 -8
  2417. package/dist/types/src/features/UserStoryImport/components/NavRow.d.ts.map +0 -1
  2418. package/dist/types/src/features/UserStoryImport/components/ProceedButton.d.ts +0 -9
  2419. package/dist/types/src/features/UserStoryImport/components/ProceedButton.d.ts.map +0 -1
  2420. package/dist/types/src/features/UserStoryImport/components/ProjectCard.d.ts +0 -13
  2421. package/dist/types/src/features/UserStoryImport/components/ProjectCard.d.ts.map +0 -1
  2422. package/dist/types/src/features/UserStoryImport/components/ResizeHandle.d.ts +0 -10
  2423. package/dist/types/src/features/UserStoryImport/components/ResizeHandle.d.ts.map +0 -1
  2424. package/dist/types/src/features/UserStoryImport/components/ScopeDropdown.d.ts +0 -14
  2425. package/dist/types/src/features/UserStoryImport/components/ScopeDropdown.d.ts.map +0 -1
  2426. package/dist/types/src/features/UserStoryImport/components/SearchInput.d.ts +0 -12
  2427. package/dist/types/src/features/UserStoryImport/components/SearchInput.d.ts.map +0 -1
  2428. package/dist/types/src/features/UserStoryImport/components/SectionHeading.d.ts +0 -13
  2429. package/dist/types/src/features/UserStoryImport/components/SectionHeading.d.ts.map +0 -1
  2430. package/dist/types/src/features/UserStoryImport/components/ShowMore.d.ts +0 -8
  2431. package/dist/types/src/features/UserStoryImport/components/ShowMore.d.ts.map +0 -1
  2432. package/dist/types/src/features/UserStoryImport/components/Sidebar.d.ts +0 -12
  2433. package/dist/types/src/features/UserStoryImport/components/Sidebar.d.ts.map +0 -1
  2434. package/dist/types/src/features/UserStoryImport/components/SidebarFavoritesList.d.ts +0 -8
  2435. package/dist/types/src/features/UserStoryImport/components/SidebarFavoritesList.d.ts.map +0 -1
  2436. package/dist/types/src/features/UserStoryImport/components/SidebarProjectList.d.ts +0 -8
  2437. package/dist/types/src/features/UserStoryImport/components/SidebarProjectList.d.ts.map +0 -1
  2438. package/dist/types/src/features/UserStoryImport/components/SidebarSection.d.ts +0 -24
  2439. package/dist/types/src/features/UserStoryImport/components/SidebarSection.d.ts.map +0 -1
  2440. package/dist/types/src/features/UserStoryImport/components/SortDropdown.d.ts +0 -14
  2441. package/dist/types/src/features/UserStoryImport/components/SortDropdown.d.ts.map +0 -1
  2442. package/dist/types/src/features/UserStoryImport/components/SplitLayout.d.ts +0 -8
  2443. package/dist/types/src/features/UserStoryImport/components/SplitLayout.d.ts.map +0 -1
  2444. package/dist/types/src/features/UserStoryImport/components/Toolbar.d.ts +0 -8
  2445. package/dist/types/src/features/UserStoryImport/components/Toolbar.d.ts.map +0 -1
  2446. package/dist/types/src/features/UserStoryImport/components/TypeDropdown.d.ts +0 -14
  2447. package/dist/types/src/features/UserStoryImport/components/TypeDropdown.d.ts.map +0 -1
  2448. package/dist/types/src/features/UserStoryImport/components/UserStoryCard.d.ts +0 -13
  2449. package/dist/types/src/features/UserStoryImport/components/UserStoryCard.d.ts.map +0 -1
  2450. package/dist/types/src/features/UserStoryImport/components/UserStoryImportDialog.d.ts +0 -10
  2451. package/dist/types/src/features/UserStoryImport/components/UserStoryImportDialog.d.ts.map +0 -1
  2452. package/dist/types/src/features/UserStoryImport/components/UserStoryScopeDropdown.d.ts +0 -13
  2453. package/dist/types/src/features/UserStoryImport/components/UserStoryScopeDropdown.d.ts.map +0 -1
  2454. package/dist/types/src/features/UserStoryImport/components/usePanelResize.d.ts +0 -14
  2455. package/dist/types/src/features/UserStoryImport/components/usePanelResize.d.ts.map +0 -1
  2456. package/dist/types/src/features/UserStoryImport/components/useProjectUserStory.d.ts +0 -33
  2457. package/dist/types/src/features/UserStoryImport/components/useProjectUserStory.d.ts.map +0 -1
  2458. package/dist/types/src/features/UserStoryImport/hooks/useFilteredItems.d.ts +0 -10
  2459. package/dist/types/src/features/UserStoryImport/hooks/useFilteredItems.d.ts.map +0 -1
  2460. package/dist/types/src/features/UserStoryImport/hooks/useUSPData.d.ts +0 -28
  2461. package/dist/types/src/features/UserStoryImport/hooks/useUSPData.d.ts.map +0 -1
  2462. package/dist/types/src/features/UserStoryImport/hooks/useUserStoryPickerState.d.ts +0 -4
  2463. package/dist/types/src/features/UserStoryImport/hooks/useUserStoryPickerState.d.ts.map +0 -1
  2464. package/dist/types/src/features/UserStoryImport/index.d.ts +0 -65
  2465. package/dist/types/src/features/UserStoryImport/index.d.ts.map +0 -1
  2466. package/dist/types/src/features/UserStoryImport/lib/CustomTooltip.d.ts +0 -13
  2467. package/dist/types/src/features/UserStoryImport/lib/CustomTooltip.d.ts.map +0 -1
  2468. package/dist/types/src/features/UserStoryImport/lib/Tooltip.d.ts +0 -8
  2469. package/dist/types/src/features/UserStoryImport/lib/Tooltip.d.ts.map +0 -1
  2470. package/dist/types/src/features/UserStoryImport/lib/adaptLabel.d.ts +0 -2
  2471. package/dist/types/src/features/UserStoryImport/lib/adaptLabel.d.ts.map +0 -1
  2472. package/dist/types/src/features/UserStoryImport/lib/cn.d.ts +0 -4
  2473. package/dist/types/src/features/UserStoryImport/lib/cn.d.ts.map +0 -1
  2474. package/dist/types/src/features/UserStoryImport/lib/dialog.d.ts +0 -22
  2475. package/dist/types/src/features/UserStoryImport/lib/dialog.d.ts.map +0 -1
  2476. package/dist/types/src/index.d.ts +0 -123
  2477. package/dist/types/src/index.d.ts.map +0 -1
  2478. package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
  2479. package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
  2480. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
  2481. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
  2482. package/dist/types/src/types/epubItems.d.ts +0 -23
  2483. package/dist/types/src/types/epubItems.d.ts.map +0 -1
  2484. package/dist/types/src/types.d.ts.map +0 -1
  2485. package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
  2486. package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
  2487. package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
  2488. package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
  2489. package/dist/types/src/utils/api.d.ts +0 -2
  2490. package/dist/types/src/utils/api.d.ts.map +0 -1
  2491. package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
  2492. package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
  2493. package/dist/types/src/utils/colors.d.ts +0 -5
  2494. package/dist/types/src/utils/colors.d.ts.map +0 -1
  2495. package/dist/types/src/utils/date.d.ts +0 -1
  2496. package/dist/types/src/utils/date.d.ts.map +0 -1
  2497. package/dist/types/src/utils/helperFunctions.d.ts +0 -6
  2498. package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
  2499. package/dist/types/src/utils/regexHelperService.d.ts +0 -9
  2500. package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
  2501. package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
  2502. package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
  2503. package/dist/types/src/utils/themeManager.d.ts +0 -13
  2504. package/dist/types/src/utils/themeManager.d.ts.map +0 -1
  2505. package/dist/types/src/utils/treeUtils.d.ts.map +0 -1
  2506. package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
  2507. package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
  2508. package/dist/types/src/utils/variableHelperService.d.ts +0 -7
  2509. package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
  2510. /package/dist/{_virtual → cjs/features/lsc-guidelines}/index.js.map +0 -0
  2511. /package/dist/{cjs/_virtual → features/lsc-guidelines}/index.js.map +0 -0
  2512. /package/dist/types/{src/components → components}/ScopeTree/HighlightedText.d.ts +0 -0
  2513. /package/dist/types/{src/components → components}/ScopeTree/TreeAddAction.d.ts +0 -0
  2514. /package/dist/types/{src/components → components}/ScopeTree/TreeMenu.d.ts +0 -0
  2515. /package/dist/types/{src/components → components}/ScopeTree/TreeNode.d.ts +0 -0
  2516. /package/dist/types/{src/components → components}/ScopeTree/TreeNodeHeader.d.ts +0 -0
  2517. /package/dist/types/{src/components → components}/ScopeTree/TreeSectionItem.d.ts +0 -0
  2518. /package/dist/types/{src/components → components}/ScopeTree/TreeSidebar.d.ts +0 -0
  2519. /package/dist/types/{src/components → components}/ScopeTree/TreeTooltip.d.ts +0 -0
  2520. /package/dist/types/{src/types.d.ts → types.d.ts} +0 -0
  2521. /package/dist/types/{src/utils → utils}/treeUtils.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"LexicalTable.dev.mjs.js","sources":["../../../../node_modules/@lexical/table/LexicalTable.dev.mjs"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nimport { addClassNamesToElement, $descendantsMatching, $findMatchingParent, removeClassNamesFromElement, objectKlassEquals, isHTMLElement as isHTMLElement$1, $insertFirst as $insertFirst$1, mergeRegister, $insertNodeToNearestRoot, $dfs, $unwrapAndFilterDescendants } from '@lexical/utils';\nimport { ElementNode, isHTMLElement, $isInlineElementOrDecoratorNode, $isTextNode, $isLineBreakNode, $createParagraphNode, $applyNodeReplacement, createCommand, $createTextNode, $getSelection, $isRangeSelection, $isParagraphNode, $createPoint, $getNodeByKey, $isElementNode, $normalizeSelection__EXPERIMENTAL, isCurrentlyReadOnlyMode, TEXT_TYPE_TO_FORMAT, $getEditor, $setSelection, SELECTION_CHANGE_COMMAND, getDOMSelection, $createRangeSelection, $isRootNode, INSERT_PARAGRAPH_COMMAND, KEY_ARROW_DOWN_COMMAND, KEY_ARROW_UP_COMMAND, KEY_ARROW_LEFT_COMMAND, KEY_ARROW_RIGHT_COMMAND, COMMAND_PRIORITY_HIGH, KEY_ESCAPE_COMMAND, DELETE_WORD_COMMAND, DELETE_LINE_COMMAND, DELETE_CHARACTER_COMMAND, KEY_BACKSPACE_COMMAND, KEY_DELETE_COMMAND, CUT_COMMAND, FORMAT_TEXT_COMMAND, FORMAT_ELEMENT_COMMAND, CONTROLLED_TEXT_INSERTION_COMMAND, KEY_TAB_COMMAND, FOCUS_COMMAND, $getPreviousSelection, $getNearestNodeFromDOMNode, $createRangeSelectionFromDom, isDOMNode, $isRootOrShadowRoot, $caretFromPoint, $isExtendableTextPointCaret, $extendCaretToRange, $isSiblingCaret, $getSiblingCaret, $setPointFromCaret, $normalizeCaret, $isChildCaret, $getChildCaret, $getAdjacentChildCaret, setDOMUnmanaged, COMMAND_PRIORITY_EDITOR, SELECTION_INSERT_CLIPBOARD_NODES_COMMAND, SELECT_ALL_COMMAND, COMMAND_PRIORITY_LOW, CLICK_COMMAND, $getRoot, defineExtension, safeCast } from 'lexical';\nimport { signal, effect, namedSignals } from '@lexical/extension';\nimport { copyToClipboard, $getClipboardDataFromSelection } from '@lexical/clipboard';\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nconst PIXEL_VALUE_REG_EXP = /^(\\d+(?:\\.\\d+)?)px$/;\n\n// .PlaygroundEditorTheme__tableCell width value from\n// packages/lexical-playground/src/themes/PlaygroundEditorTheme.css\nconst COLUMN_WIDTH = 75;\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nconst TableCellHeaderStates = {\n BOTH: 3,\n COLUMN: 2,\n NO_STATUS: 0,\n ROW: 1\n};\n/** @noInheritDoc */\nclass TableCellNode extends ElementNode {\n /** @internal */\n __colSpan;\n /** @internal */\n __rowSpan;\n /** @internal */\n __headerState;\n /** @internal */\n __width;\n /** @internal */\n __backgroundColor;\n /** @internal */\n __verticalAlign;\n static getType() {\n return 'tablecell';\n }\n static clone(node) {\n return new TableCellNode(node.__headerState, node.__colSpan, node.__width, node.__key);\n }\n afterCloneFrom(node) {\n super.afterCloneFrom(node);\n this.__rowSpan = node.__rowSpan;\n this.__backgroundColor = node.__backgroundColor;\n this.__verticalAlign = node.__verticalAlign;\n }\n static importDOM() {\n return {\n td: node => ({\n conversion: $convertTableCellNodeElement,\n priority: 0\n }),\n th: node => ({\n conversion: $convertTableCellNodeElement,\n priority: 0\n })\n };\n }\n static importJSON(serializedNode) {\n return $createTableCellNode().updateFromJSON(serializedNode);\n }\n updateFromJSON(serializedNode) {\n return super.updateFromJSON(serializedNode).setHeaderStyles(serializedNode.headerState).setColSpan(serializedNode.colSpan || 1).setRowSpan(serializedNode.rowSpan || 1).setWidth(serializedNode.width || undefined).setBackgroundColor(serializedNode.backgroundColor || null).setVerticalAlign(serializedNode.verticalAlign || undefined);\n }\n constructor(headerState = TableCellHeaderStates.NO_STATUS, colSpan = 1, width, key) {\n super(key);\n this.__colSpan = colSpan;\n this.__rowSpan = 1;\n this.__headerState = headerState;\n this.__width = width;\n this.__backgroundColor = null;\n this.__verticalAlign = undefined;\n }\n createDOM(config) {\n const element = document.createElement(this.getTag());\n if (this.__width) {\n element.style.width = `${this.__width}px`;\n }\n if (this.__colSpan > 1) {\n element.colSpan = this.__colSpan;\n }\n if (this.__rowSpan > 1) {\n element.rowSpan = this.__rowSpan;\n }\n if (this.__backgroundColor !== null) {\n element.style.backgroundColor = this.__backgroundColor;\n }\n if (isValidVerticalAlign(this.__verticalAlign)) {\n element.style.verticalAlign = this.__verticalAlign;\n }\n addClassNamesToElement(element, config.theme.tableCell, this.hasHeader() && config.theme.tableCellHeader);\n return element;\n }\n exportDOM(editor) {\n const output = super.exportDOM(editor);\n if (isHTMLElement(output.element)) {\n const element = output.element;\n element.setAttribute('data-temporary-table-cell-lexical-key', this.getKey());\n element.style.border = '1px solid black';\n if (this.__colSpan > 1) {\n element.colSpan = this.__colSpan;\n }\n if (this.__rowSpan > 1) {\n element.rowSpan = this.__rowSpan;\n }\n element.style.width = `${this.getWidth() || COLUMN_WIDTH}px`;\n element.style.verticalAlign = this.getVerticalAlign() || 'top';\n element.style.textAlign = 'start';\n if (this.__backgroundColor === null && this.hasHeader()) {\n element.style.backgroundColor = '#f2f3f5';\n }\n }\n return output;\n }\n exportJSON() {\n return {\n ...super.exportJSON(),\n ...(isValidVerticalAlign(this.__verticalAlign) && {\n verticalAlign: this.__verticalAlign\n }),\n backgroundColor: this.getBackgroundColor(),\n colSpan: this.__colSpan,\n headerState: this.__headerState,\n rowSpan: this.__rowSpan,\n width: this.getWidth()\n };\n }\n getColSpan() {\n return this.getLatest().__colSpan;\n }\n setColSpan(colSpan) {\n const self = this.getWritable();\n self.__colSpan = colSpan;\n return self;\n }\n getRowSpan() {\n return this.getLatest().__rowSpan;\n }\n setRowSpan(rowSpan) {\n const self = this.getWritable();\n self.__rowSpan = rowSpan;\n return self;\n }\n getTag() {\n return this.hasHeader() ? 'th' : 'td';\n }\n setHeaderStyles(headerState, mask = TableCellHeaderStates.BOTH) {\n const self = this.getWritable();\n self.__headerState = headerState & mask | self.__headerState & ~mask;\n return self;\n }\n getHeaderStyles() {\n return this.getLatest().__headerState;\n }\n setWidth(width) {\n const self = this.getWritable();\n self.__width = width;\n return self;\n }\n getWidth() {\n return this.getLatest().__width;\n }\n getBackgroundColor() {\n return this.getLatest().__backgroundColor;\n }\n setBackgroundColor(newBackgroundColor) {\n const self = this.getWritable();\n self.__backgroundColor = newBackgroundColor;\n return self;\n }\n getVerticalAlign() {\n return this.getLatest().__verticalAlign;\n }\n setVerticalAlign(newVerticalAlign) {\n const self = this.getWritable();\n self.__verticalAlign = newVerticalAlign || undefined;\n return self;\n }\n toggleHeaderStyle(headerStateToToggle) {\n const self = this.getWritable();\n if ((self.__headerState & headerStateToToggle) === headerStateToToggle) {\n self.__headerState -= headerStateToToggle;\n } else {\n self.__headerState += headerStateToToggle;\n }\n return self;\n }\n hasHeaderState(headerState) {\n return (this.getHeaderStyles() & headerState) === headerState;\n }\n hasHeader() {\n return this.getLatest().__headerState !== TableCellHeaderStates.NO_STATUS;\n }\n updateDOM(prevNode) {\n return prevNode.__headerState !== this.__headerState || prevNode.__width !== this.__width || prevNode.__colSpan !== this.__colSpan || prevNode.__rowSpan !== this.__rowSpan || prevNode.__backgroundColor !== this.__backgroundColor || prevNode.__verticalAlign !== this.__verticalAlign;\n }\n isShadowRoot() {\n return true;\n }\n collapseAtStart() {\n return true;\n }\n canBeEmpty() {\n return false;\n }\n canIndent() {\n return false;\n }\n}\nfunction isValidVerticalAlign(verticalAlign) {\n return verticalAlign === 'middle' || verticalAlign === 'bottom';\n}\nfunction $convertTableCellNodeElement(domNode) {\n const domNode_ = domNode;\n const nodeName = domNode.nodeName.toLowerCase();\n let width = undefined;\n if (PIXEL_VALUE_REG_EXP.test(domNode_.style.width)) {\n width = parseFloat(domNode_.style.width);\n }\n\n // Determine header state based on the 'scope' attribute\n let headerState = TableCellHeaderStates.NO_STATUS;\n if (nodeName === 'th') {\n const scope = domNode_.getAttribute('scope');\n if (scope === 'col') {\n headerState = TableCellHeaderStates.COLUMN;\n } else if (scope === 'row') {\n headerState = TableCellHeaderStates.ROW;\n } else {\n headerState = TableCellHeaderStates.ROW;\n }\n }\n const tableCellNode = $createTableCellNode(headerState, domNode_.colSpan, width);\n tableCellNode.__rowSpan = domNode_.rowSpan;\n const backgroundColor = domNode_.style.backgroundColor;\n if (backgroundColor !== '') {\n tableCellNode.__backgroundColor = backgroundColor;\n }\n const verticalAlign = domNode_.style.verticalAlign;\n if (isValidVerticalAlign(verticalAlign)) {\n tableCellNode.__verticalAlign = verticalAlign;\n }\n const style = domNode_.style;\n const textDecoration = (style && style.textDecoration || '').split(' ');\n const hasBoldFontWeight = style.fontWeight === '700' || style.fontWeight === 'bold';\n const hasLinethroughTextDecoration = textDecoration.includes('line-through');\n const hasItalicFontStyle = style.fontStyle === 'italic';\n const hasUnderlineTextDecoration = textDecoration.includes('underline');\n return {\n after: childLexicalNodes => {\n const result = [];\n let paragraphNode = null;\n const removeSingleLineBreakNode = () => {\n if (paragraphNode) {\n const firstChild = paragraphNode.getFirstChild();\n if ($isLineBreakNode(firstChild) && paragraphNode.getChildrenSize() === 1) {\n firstChild.remove();\n }\n }\n };\n for (const child of childLexicalNodes) {\n if ($isInlineElementOrDecoratorNode(child) || $isTextNode(child) || $isLineBreakNode(child)) {\n if ($isTextNode(child)) {\n if (hasBoldFontWeight) {\n child.toggleFormat('bold');\n }\n if (hasLinethroughTextDecoration) {\n child.toggleFormat('strikethrough');\n }\n if (hasItalicFontStyle) {\n child.toggleFormat('italic');\n }\n if (hasUnderlineTextDecoration) {\n child.toggleFormat('underline');\n }\n }\n if (paragraphNode) {\n paragraphNode.append(child);\n } else {\n paragraphNode = $createParagraphNode().append(child);\n result.push(paragraphNode);\n }\n } else {\n result.push(child);\n removeSingleLineBreakNode();\n paragraphNode = null;\n }\n }\n removeSingleLineBreakNode();\n if (result.length === 0) {\n result.push($createParagraphNode());\n }\n return result;\n },\n node: tableCellNode\n };\n}\nfunction $createTableCellNode(headerState = TableCellHeaderStates.NO_STATUS, colSpan = 1, width) {\n return $applyNodeReplacement(new TableCellNode(headerState, colSpan, width));\n}\nfunction $isTableCellNode(node) {\n return node instanceof TableCellNode;\n}\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nconst INSERT_TABLE_COMMAND = createCommand('INSERT_TABLE_COMMAND');\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n// Do not require this module directly! Use normal `invariant` calls.\n\nfunction formatDevErrorMessage(message) {\n throw new Error(message);\n}\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n/** @noInheritDoc */\nclass TableRowNode extends ElementNode {\n /** @internal */\n __height;\n static getType() {\n return 'tablerow';\n }\n static clone(node) {\n return new TableRowNode(node.__height, node.__key);\n }\n static importDOM() {\n return {\n tr: node => ({\n conversion: $convertTableRowElement,\n priority: 0\n })\n };\n }\n static importJSON(serializedNode) {\n return $createTableRowNode().updateFromJSON(serializedNode);\n }\n updateFromJSON(serializedNode) {\n return super.updateFromJSON(serializedNode).setHeight(serializedNode.height);\n }\n constructor(height, key) {\n super(key);\n this.__height = height;\n }\n exportJSON() {\n const height = this.getHeight();\n return {\n ...super.exportJSON(),\n ...(height === undefined ? undefined : {\n height\n })\n };\n }\n createDOM(config) {\n const element = document.createElement('tr');\n if (this.__height) {\n element.style.height = `${this.__height}px`;\n }\n addClassNamesToElement(element, config.theme.tableRow);\n return element;\n }\n extractWithChild(child, selection, destination) {\n return destination === 'html';\n }\n isShadowRoot() {\n return true;\n }\n setHeight(height) {\n const self = this.getWritable();\n self.__height = height;\n return self;\n }\n getHeight() {\n return this.getLatest().__height;\n }\n updateDOM(prevNode) {\n return prevNode.__height !== this.__height;\n }\n canBeEmpty() {\n return false;\n }\n canIndent() {\n return false;\n }\n}\nfunction $convertTableRowElement(domNode) {\n const domNode_ = domNode;\n let height = undefined;\n if (PIXEL_VALUE_REG_EXP.test(domNode_.style.height)) {\n height = parseFloat(domNode_.style.height);\n }\n return {\n after: children => $descendantsMatching(children, $isTableCellNode),\n node: $createTableRowNode(height)\n };\n}\nfunction $createTableRowNode(height) {\n return $applyNodeReplacement(new TableRowNode(height));\n}\nfunction $isTableRowNode(node) {\n return node instanceof TableRowNode;\n}\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nconst CAN_USE_DOM = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined';\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\nconst documentMode = CAN_USE_DOM && 'documentMode' in document ? document.documentMode : null;\nconst IS_FIREFOX = CAN_USE_DOM && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);\nCAN_USE_DOM && 'InputEvent' in window && !documentMode ? 'getTargetRanges' in new window.InputEvent('input') : false;\n\nfunction $createTableNodeWithDimensions(rowCount, columnCount, includeHeaders = true) {\n const tableNode = $createTableNode();\n for (let iRow = 0; iRow < rowCount; iRow++) {\n const tableRowNode = $createTableRowNode();\n for (let iColumn = 0; iColumn < columnCount; iColumn++) {\n let headerState = TableCellHeaderStates.NO_STATUS;\n if (typeof includeHeaders === 'object') {\n if (iRow === 0 && includeHeaders.rows) {\n headerState |= TableCellHeaderStates.ROW;\n }\n if (iColumn === 0 && includeHeaders.columns) {\n headerState |= TableCellHeaderStates.COLUMN;\n }\n } else if (includeHeaders) {\n if (iRow === 0) {\n headerState |= TableCellHeaderStates.ROW;\n }\n if (iColumn === 0) {\n headerState |= TableCellHeaderStates.COLUMN;\n }\n }\n const tableCellNode = $createTableCellNode(headerState);\n const paragraphNode = $createParagraphNode();\n paragraphNode.append($createTextNode());\n tableCellNode.append(paragraphNode);\n tableRowNode.append(tableCellNode);\n }\n tableNode.append(tableRowNode);\n }\n return tableNode;\n}\nfunction $getTableCellNodeFromLexicalNode(startingNode) {\n const node = $findMatchingParent(startingNode, n => $isTableCellNode(n));\n if ($isTableCellNode(node)) {\n return node;\n }\n return null;\n}\nfunction $getTableRowNodeFromTableCellNodeOrThrow(startingNode) {\n const node = $findMatchingParent(startingNode, n => $isTableRowNode(n));\n if ($isTableRowNode(node)) {\n return node;\n }\n throw new Error('Expected table cell to be inside of table row.');\n}\nfunction $getTableNodeFromLexicalNodeOrThrow(startingNode) {\n const node = $findMatchingParent(startingNode, n => $isTableNode(n));\n if ($isTableNode(node)) {\n return node;\n }\n throw new Error('Expected table cell to be inside of table.');\n}\nfunction $getTableRowIndexFromTableCellNode(tableCellNode) {\n const tableRowNode = $getTableRowNodeFromTableCellNodeOrThrow(tableCellNode);\n const tableNode = $getTableNodeFromLexicalNodeOrThrow(tableRowNode);\n return tableNode.getChildren().findIndex(n => n.is(tableRowNode));\n}\nfunction $getTableColumnIndexFromTableCellNode(tableCellNode) {\n const tableRowNode = $getTableRowNodeFromTableCellNodeOrThrow(tableCellNode);\n return tableRowNode.getChildren().findIndex(n => n.is(tableCellNode));\n}\nfunction $getTableCellSiblingsFromTableCellNode(tableCellNode, table) {\n const tableNode = $getTableNodeFromLexicalNodeOrThrow(tableCellNode);\n const {\n x,\n y\n } = tableNode.getCordsFromCellNode(tableCellNode, table);\n return {\n above: tableNode.getCellNodeFromCords(x, y - 1, table),\n below: tableNode.getCellNodeFromCords(x, y + 1, table),\n left: tableNode.getCellNodeFromCords(x - 1, y, table),\n right: tableNode.getCellNodeFromCords(x + 1, y, table)\n };\n}\nfunction $removeTableRowAtIndex(tableNode, indexToDelete) {\n const tableRows = tableNode.getChildren();\n if (indexToDelete >= tableRows.length || indexToDelete < 0) {\n throw new Error('Expected table cell to be inside of table row.');\n }\n const targetRowNode = tableRows[indexToDelete];\n targetRowNode.remove();\n return tableNode;\n}\n\n/**\n * @deprecated This function does not support merged cells. Use {@link $insertTableRowAtSelection} or {@link $insertTableRowAtNode} instead.\n */\nfunction $insertTableRow(tableNode, targetIndex, shouldInsertAfter = true, rowCount, table) {\n const tableRows = tableNode.getChildren();\n if (targetIndex >= tableRows.length || targetIndex < 0) {\n throw new Error('Table row target index out of range');\n }\n const targetRowNode = tableRows[targetIndex];\n if ($isTableRowNode(targetRowNode)) {\n for (let r = 0; r < rowCount; r++) {\n const tableRowCells = targetRowNode.getChildren();\n const tableColumnCount = tableRowCells.length;\n const newTableRowNode = $createTableRowNode();\n for (let c = 0; c < tableColumnCount; c++) {\n const tableCellFromTargetRow = tableRowCells[c];\n if (!$isTableCellNode(tableCellFromTargetRow)) {\n formatDevErrorMessage(`Expected table cell`);\n }\n const {\n above,\n below\n } = $getTableCellSiblingsFromTableCellNode(tableCellFromTargetRow, table);\n let headerState = TableCellHeaderStates.NO_STATUS;\n const width = above && above.getWidth() || below && below.getWidth() || undefined;\n if (above && above.hasHeaderState(TableCellHeaderStates.COLUMN) || below && below.hasHeaderState(TableCellHeaderStates.COLUMN)) {\n headerState |= TableCellHeaderStates.COLUMN;\n }\n const tableCellNode = $createTableCellNode(headerState, 1, width);\n tableCellNode.append($createParagraphNode());\n newTableRowNode.append(tableCellNode);\n }\n if (shouldInsertAfter) {\n targetRowNode.insertAfter(newTableRowNode);\n } else {\n targetRowNode.insertBefore(newTableRowNode);\n }\n }\n } else {\n throw new Error('Row before insertion index does not exist.');\n }\n return tableNode;\n}\nconst getHeaderState = (currentState, possibleState) => {\n if (currentState === TableCellHeaderStates.BOTH || currentState === possibleState) {\n return possibleState;\n }\n return TableCellHeaderStates.NO_STATUS;\n};\n\n/**\n * Inserts a table row before or after the current focus cell node,\n * taking into account any spans. If successful, returns the\n * inserted table row node.\n */\nfunction $insertTableRowAtSelection(insertAfter = true) {\n const selection = $getSelection();\n if (!($isRangeSelection(selection) || $isTableSelection(selection))) {\n formatDevErrorMessage(`Expected a RangeSelection or TableSelection`);\n }\n const anchor = selection.anchor.getNode();\n const focus = selection.focus.getNode();\n const [anchorCell] = $getNodeTriplet(anchor);\n const [focusCell,, grid] = $getNodeTriplet(focus);\n const [, focusCellMap, anchorCellMap] = $computeTableMap(grid, focusCell, anchorCell);\n const {\n startRow: anchorStartRow\n } = anchorCellMap;\n const {\n startRow: focusStartRow\n } = focusCellMap;\n if (insertAfter) {\n return $insertTableRowAtNode(anchorStartRow + anchorCell.__rowSpan > focusStartRow + focusCell.__rowSpan ? anchorCell : focusCell, true);\n } else {\n return $insertTableRowAtNode(focusStartRow < anchorStartRow ? focusCell : anchorCell, false);\n }\n}\n\n/**\n * @deprecated renamed to {@link $insertTableRowAtSelection}\n */\nconst $insertTableRow__EXPERIMENTAL = $insertTableRowAtSelection;\n\n/**\n * Inserts a table row before or after the given cell node,\n * taking into account any spans. If successful, returns the\n * inserted table row node.\n */\nfunction $insertTableRowAtNode(cellNode, insertAfter = true) {\n const [,, grid] = $getNodeTriplet(cellNode);\n const [gridMap, cellMap] = $computeTableMap(grid, cellNode, cellNode);\n const columnCount = gridMap[0].length;\n const {\n startRow: cellStartRow\n } = cellMap;\n let insertedRow = null;\n if (insertAfter) {\n const insertAfterEndRow = cellStartRow + cellNode.__rowSpan - 1;\n const insertAfterEndRowMap = gridMap[insertAfterEndRow];\n const newRow = $createTableRowNode();\n for (let i = 0; i < columnCount; i++) {\n const {\n cell,\n startRow\n } = insertAfterEndRowMap[i];\n if (startRow + cell.__rowSpan - 1 <= insertAfterEndRow) {\n const currentCell = insertAfterEndRowMap[i].cell;\n const currentCellHeaderState = currentCell.__headerState;\n const headerState = getHeaderState(currentCellHeaderState, TableCellHeaderStates.COLUMN);\n newRow.append($createTableCellNode(headerState).append($createParagraphNode()));\n } else {\n cell.setRowSpan(cell.__rowSpan + 1);\n }\n }\n const insertAfterEndRowNode = grid.getChildAtIndex(insertAfterEndRow);\n if (!$isTableRowNode(insertAfterEndRowNode)) {\n formatDevErrorMessage(`insertAfterEndRow is not a TableRowNode`);\n }\n insertAfterEndRowNode.insertAfter(newRow);\n insertedRow = newRow;\n } else {\n const insertBeforeStartRow = cellStartRow;\n const insertBeforeStartRowMap = gridMap[insertBeforeStartRow];\n const newRow = $createTableRowNode();\n for (let i = 0; i < columnCount; i++) {\n const {\n cell,\n startRow\n } = insertBeforeStartRowMap[i];\n if (startRow === insertBeforeStartRow) {\n const currentCell = insertBeforeStartRowMap[i].cell;\n const currentCellHeaderState = currentCell.__headerState;\n const headerState = getHeaderState(currentCellHeaderState, TableCellHeaderStates.COLUMN);\n newRow.append($createTableCellNode(headerState).append($createParagraphNode()));\n } else {\n cell.setRowSpan(cell.__rowSpan + 1);\n }\n }\n const insertBeforeStartRowNode = grid.getChildAtIndex(insertBeforeStartRow);\n if (!$isTableRowNode(insertBeforeStartRowNode)) {\n formatDevErrorMessage(`insertBeforeStartRow is not a TableRowNode`);\n }\n insertBeforeStartRowNode.insertBefore(newRow);\n insertedRow = newRow;\n }\n return insertedRow;\n}\n\n/**\n * @deprecated This function does not support merged cells. Use {@link $insertTableColumnAtSelection} or {@link $insertTableColumnAtNode} instead.\n */\nfunction $insertTableColumn(tableNode, targetIndex, shouldInsertAfter = true, columnCount, table) {\n const tableRows = tableNode.getChildren();\n const tableCellsToBeInserted = [];\n for (let r = 0; r < tableRows.length; r++) {\n const currentTableRowNode = tableRows[r];\n if ($isTableRowNode(currentTableRowNode)) {\n for (let c = 0; c < columnCount; c++) {\n const tableRowChildren = currentTableRowNode.getChildren();\n if (targetIndex >= tableRowChildren.length || targetIndex < 0) {\n throw new Error('Table column target index out of range');\n }\n const targetCell = tableRowChildren[targetIndex];\n if (!$isTableCellNode(targetCell)) {\n formatDevErrorMessage(`Expected table cell`);\n }\n const {\n left,\n right\n } = $getTableCellSiblingsFromTableCellNode(targetCell, table);\n let headerState = TableCellHeaderStates.NO_STATUS;\n if (left && left.hasHeaderState(TableCellHeaderStates.ROW) || right && right.hasHeaderState(TableCellHeaderStates.ROW)) {\n headerState |= TableCellHeaderStates.ROW;\n }\n const newTableCell = $createTableCellNode(headerState);\n newTableCell.append($createParagraphNode());\n tableCellsToBeInserted.push({\n newTableCell,\n targetCell\n });\n }\n }\n }\n tableCellsToBeInserted.forEach(({\n newTableCell,\n targetCell\n }) => {\n if (shouldInsertAfter) {\n targetCell.insertAfter(newTableCell);\n } else {\n targetCell.insertBefore(newTableCell);\n }\n });\n return tableNode;\n}\n\n/**\n * Inserts a column before or after the current focus cell node,\n * taking into account any spans. If successful, returns the\n * first inserted cell node.\n */\nfunction $insertTableColumnAtSelection(insertAfter = true) {\n const selection = $getSelection();\n if (!($isRangeSelection(selection) || $isTableSelection(selection))) {\n formatDevErrorMessage(`Expected a RangeSelection or TableSelection`);\n }\n const anchor = selection.anchor.getNode();\n const focus = selection.focus.getNode();\n const [anchorCell] = $getNodeTriplet(anchor);\n const [focusCell,, grid] = $getNodeTriplet(focus);\n const [, focusCellMap, anchorCellMap] = $computeTableMap(grid, focusCell, anchorCell);\n const {\n startColumn: anchorStartColumn\n } = anchorCellMap;\n const {\n startColumn: focusStartColumn\n } = focusCellMap;\n if (insertAfter) {\n return $insertTableColumnAtNode(anchorStartColumn + anchorCell.__colSpan > focusStartColumn + focusCell.__colSpan ? anchorCell : focusCell, true);\n } else {\n return $insertTableColumnAtNode(focusStartColumn < anchorStartColumn ? focusCell : anchorCell, false);\n }\n}\n\n/**\n * @deprecated renamed to {@link $insertTableColumnAtSelection}\n */\nconst $insertTableColumn__EXPERIMENTAL = $insertTableColumnAtSelection;\n\n/**\n * Inserts a column before or after the given cell node,\n * taking into account any spans. If successful, returns the\n * first inserted cell node.\n */\nfunction $insertTableColumnAtNode(cellNode, insertAfter = true, shouldSetSelection = true) {\n const [,, grid] = $getNodeTriplet(cellNode);\n const [gridMap, cellMap] = $computeTableMap(grid, cellNode, cellNode);\n const rowCount = gridMap.length;\n const {\n startColumn\n } = cellMap;\n const insertAfterColumn = insertAfter ? startColumn + cellNode.__colSpan - 1 : startColumn - 1;\n const gridFirstChild = grid.getFirstChild();\n if (!$isTableRowNode(gridFirstChild)) {\n formatDevErrorMessage(`Expected firstTable child to be a row`);\n }\n let firstInsertedCell = null;\n function $createTableCellNodeForInsertTableColumn(headerState = TableCellHeaderStates.NO_STATUS) {\n const cell = $createTableCellNode(headerState).append($createParagraphNode());\n if (firstInsertedCell === null) {\n firstInsertedCell = cell;\n }\n return cell;\n }\n let loopRow = gridFirstChild;\n rowLoop: for (let i = 0; i < rowCount; i++) {\n if (i !== 0) {\n const currentRow = loopRow.getNextSibling();\n if (!$isTableRowNode(currentRow)) {\n formatDevErrorMessage(`Expected row nextSibling to be a row`);\n }\n loopRow = currentRow;\n }\n const rowMap = gridMap[i];\n const currentCellHeaderState = rowMap[insertAfterColumn < 0 ? 0 : insertAfterColumn].cell.__headerState;\n const headerState = getHeaderState(currentCellHeaderState, TableCellHeaderStates.ROW);\n if (insertAfterColumn < 0) {\n $insertFirst(loopRow, $createTableCellNodeForInsertTableColumn(headerState));\n continue;\n }\n const {\n cell: currentCell,\n startColumn: currentStartColumn,\n startRow: currentStartRow\n } = rowMap[insertAfterColumn];\n if (currentStartColumn + currentCell.__colSpan - 1 <= insertAfterColumn) {\n let insertAfterCell = currentCell;\n let insertAfterCellRowStart = currentStartRow;\n let prevCellIndex = insertAfterColumn;\n while (insertAfterCellRowStart !== i && insertAfterCell.__rowSpan > 1) {\n prevCellIndex -= currentCell.__colSpan;\n if (prevCellIndex >= 0) {\n const {\n cell: cell_,\n startRow: startRow_\n } = rowMap[prevCellIndex];\n insertAfterCell = cell_;\n insertAfterCellRowStart = startRow_;\n } else {\n loopRow.append($createTableCellNodeForInsertTableColumn(headerState));\n continue rowLoop;\n }\n }\n insertAfterCell.insertAfter($createTableCellNodeForInsertTableColumn(headerState));\n } else {\n currentCell.setColSpan(currentCell.__colSpan + 1);\n }\n }\n if (firstInsertedCell !== null && shouldSetSelection) {\n $moveSelectionToCell(firstInsertedCell);\n }\n const colWidths = grid.getColWidths();\n if (colWidths) {\n const newColWidths = [...colWidths];\n const columnIndex = insertAfterColumn < 0 ? 0 : insertAfterColumn;\n const newWidth = newColWidths[columnIndex];\n newColWidths.splice(columnIndex, 0, newWidth);\n grid.setColWidths(newColWidths);\n }\n return firstInsertedCell;\n}\n\n/**\n * @deprecated This function does not support merged cells. Use {@link $deleteTableColumnAtSelection} instead.\n */\nfunction $deleteTableColumn(tableNode, targetIndex) {\n const tableRows = tableNode.getChildren();\n for (let i = 0; i < tableRows.length; i++) {\n const currentTableRowNode = tableRows[i];\n if ($isTableRowNode(currentTableRowNode)) {\n const tableRowChildren = currentTableRowNode.getChildren();\n if (targetIndex >= tableRowChildren.length || targetIndex < 0) {\n throw new Error('Table column target index out of range');\n }\n tableRowChildren[targetIndex].remove();\n }\n }\n return tableNode;\n}\nfunction $deleteTableRowAtSelection() {\n const selection = $getSelection();\n if (!($isRangeSelection(selection) || $isTableSelection(selection))) {\n formatDevErrorMessage(`Expected a RangeSelection or TableSelection`);\n }\n const [anchor, focus] = selection.isBackward() ? [selection.focus.getNode(), selection.anchor.getNode()] : [selection.anchor.getNode(), selection.focus.getNode()];\n const [anchorCell,, grid] = $getNodeTriplet(anchor);\n const [focusCell] = $getNodeTriplet(focus);\n const [gridMap, anchorCellMap, focusCellMap] = $computeTableMap(grid, anchorCell, focusCell);\n const {\n startRow: anchorStartRow\n } = anchorCellMap;\n const {\n startRow: focusStartRow\n } = focusCellMap;\n const focusEndRow = focusStartRow + focusCell.__rowSpan - 1;\n if (gridMap.length === focusEndRow - anchorStartRow + 1) {\n // Empty grid\n grid.remove();\n return;\n }\n const columnCount = gridMap[0].length;\n const nextRow = gridMap[focusEndRow + 1];\n const nextRowNode = grid.getChildAtIndex(focusEndRow + 1);\n for (let row = focusEndRow; row >= anchorStartRow; row--) {\n for (let column = columnCount - 1; column >= 0; column--) {\n const {\n cell,\n startRow: cellStartRow,\n startColumn: cellStartColumn\n } = gridMap[row][column];\n if (cellStartColumn !== column) {\n // Don't repeat work for the same Cell\n continue;\n }\n // Rows overflowing top or bottom have to be trimmed\n if (cellStartRow < anchorStartRow || cellStartRow + cell.__rowSpan - 1 > focusEndRow) {\n const intersectionStart = Math.max(cellStartRow, anchorStartRow);\n const intersectionEnd = Math.min(cell.__rowSpan + cellStartRow - 1, focusEndRow);\n const overflowRowsCount = intersectionStart <= intersectionEnd ? intersectionEnd - intersectionStart + 1 : 0;\n cell.setRowSpan(cell.__rowSpan - overflowRowsCount);\n }\n // Rows overflowing bottom have to be moved to the next row\n if (cellStartRow >= anchorStartRow && cellStartRow + cell.__rowSpan - 1 > focusEndRow &&\n // Handle overflow only once\n row === focusEndRow) {\n if (!(nextRowNode !== null)) {\n formatDevErrorMessage(`Expected nextRowNode not to be null`);\n }\n let insertAfterCell = null;\n for (let columnIndex = 0; columnIndex < column; columnIndex++) {\n const currentCellMap = nextRow[columnIndex];\n const currentCell = currentCellMap.cell;\n // Checking the cell having startRow as same as nextRow\n if (currentCellMap.startRow === row + 1) {\n insertAfterCell = currentCell;\n }\n if (currentCell.__colSpan > 1) {\n columnIndex += currentCell.__colSpan - 1;\n }\n }\n if (insertAfterCell === null) {\n $insertFirst(nextRowNode, cell);\n } else {\n insertAfterCell.insertAfter(cell);\n }\n }\n }\n const rowNode = grid.getChildAtIndex(row);\n if (!$isTableRowNode(rowNode)) {\n formatDevErrorMessage(`Expected TableNode childAtIndex(${String(row)}) to be RowNode`);\n }\n rowNode.remove();\n }\n if (nextRow !== undefined) {\n const {\n cell\n } = nextRow[0];\n $moveSelectionToCell(cell);\n } else {\n const previousRow = gridMap[anchorStartRow - 1];\n const {\n cell\n } = previousRow[0];\n $moveSelectionToCell(cell);\n }\n}\n\n/**\n * @deprecated renamed to {@link $deleteTableRowAtSelection}\n */\nconst $deleteTableRow__EXPERIMENTAL = $deleteTableRowAtSelection;\nfunction $deleteTableColumnAtSelection() {\n const selection = $getSelection();\n if (!($isRangeSelection(selection) || $isTableSelection(selection))) {\n formatDevErrorMessage(`Expected a RangeSelection or TableSelection`);\n }\n const anchor = selection.anchor.getNode();\n const focus = selection.focus.getNode();\n const [anchorCell,, grid] = $getNodeTriplet(anchor);\n const [focusCell] = $getNodeTriplet(focus);\n const [gridMap, anchorCellMap, focusCellMap] = $computeTableMap(grid, anchorCell, focusCell);\n const {\n startColumn: anchorStartColumn\n } = anchorCellMap;\n const {\n startRow: focusStartRow,\n startColumn: focusStartColumn\n } = focusCellMap;\n const startColumn = Math.min(anchorStartColumn, focusStartColumn);\n const endColumn = Math.max(anchorStartColumn + anchorCell.__colSpan - 1, focusStartColumn + focusCell.__colSpan - 1);\n const selectedColumnCount = endColumn - startColumn + 1;\n const columnCount = gridMap[0].length;\n if (columnCount === endColumn - startColumn + 1) {\n // Empty grid\n grid.selectPrevious();\n grid.remove();\n return;\n }\n const rowCount = gridMap.length;\n for (let row = 0; row < rowCount; row++) {\n for (let column = startColumn; column <= endColumn; column++) {\n const {\n cell,\n startColumn: cellStartColumn\n } = gridMap[row][column];\n if (cellStartColumn < startColumn) {\n if (column === startColumn) {\n const overflowLeft = startColumn - cellStartColumn;\n // Overflowing left\n cell.setColSpan(cell.__colSpan -\n // Possible overflow right too\n Math.min(selectedColumnCount, cell.__colSpan - overflowLeft));\n }\n } else if (cellStartColumn + cell.__colSpan - 1 > endColumn) {\n if (column === endColumn) {\n // Overflowing right\n const inSelectedArea = endColumn - cellStartColumn + 1;\n cell.setColSpan(cell.__colSpan - inSelectedArea);\n }\n } else {\n cell.remove();\n }\n }\n }\n const focusRowMap = gridMap[focusStartRow];\n const nextColumn = anchorStartColumn > focusStartColumn ? focusRowMap[anchorStartColumn + anchorCell.__colSpan] : focusRowMap[focusStartColumn + focusCell.__colSpan];\n if (nextColumn !== undefined) {\n const {\n cell\n } = nextColumn;\n $moveSelectionToCell(cell);\n } else {\n const previousRow = focusStartColumn < anchorStartColumn ? focusRowMap[focusStartColumn - 1] : focusRowMap[anchorStartColumn - 1];\n const {\n cell\n } = previousRow;\n $moveSelectionToCell(cell);\n }\n const colWidths = grid.getColWidths();\n if (colWidths) {\n const newColWidths = [...colWidths];\n newColWidths.splice(startColumn, selectedColumnCount);\n grid.setColWidths(newColWidths);\n }\n}\n\n/**\n * @deprecated renamed to {@link $deleteTableColumnAtSelection}\n */\nconst $deleteTableColumn__EXPERIMENTAL = $deleteTableColumnAtSelection;\nfunction $moveSelectionToCell(cell) {\n const firstDescendant = cell.getFirstDescendant();\n if (firstDescendant == null) {\n cell.selectStart();\n } else {\n firstDescendant.getParentOrThrow().selectStart();\n }\n}\nfunction $insertFirst(parent, node) {\n const firstChild = parent.getFirstChild();\n if (firstChild !== null) {\n firstChild.insertBefore(node);\n } else {\n parent.append(node);\n }\n}\nfunction $mergeCells(cellNodes) {\n if (cellNodes.length === 0) {\n return null;\n }\n\n // Find the table node\n const tableNode = $getTableNodeFromLexicalNodeOrThrow(cellNodes[0]);\n const [gridMap] = $computeTableMapSkipCellCheck(tableNode, null, null);\n\n // Find the boundaries of the selection including merged cells\n let minRow = Infinity;\n let maxRow = -Infinity;\n let minCol = Infinity;\n let maxCol = -Infinity;\n\n // First pass: find the actual boundaries considering merged cells\n const processedCells = new Set();\n for (const row of gridMap) {\n for (const mapCell of row) {\n if (!mapCell || !mapCell.cell) {\n continue;\n }\n const cellKey = mapCell.cell.getKey();\n if (processedCells.has(cellKey)) {\n continue;\n }\n if (cellNodes.some(cell => cell.is(mapCell.cell))) {\n processedCells.add(cellKey);\n // Get the actual position of this cell in the grid\n const cellStartRow = mapCell.startRow;\n const cellStartCol = mapCell.startColumn;\n const cellRowSpan = mapCell.cell.__rowSpan || 1;\n const cellColSpan = mapCell.cell.__colSpan || 1;\n\n // Update boundaries considering the cell's actual position and span\n minRow = Math.min(minRow, cellStartRow);\n maxRow = Math.max(maxRow, cellStartRow + cellRowSpan - 1);\n minCol = Math.min(minCol, cellStartCol);\n maxCol = Math.max(maxCol, cellStartCol + cellColSpan - 1);\n }\n }\n }\n\n // Validate boundaries\n if (minRow === Infinity || minCol === Infinity) {\n return null;\n }\n\n // The total span of the merged cell\n const totalRowSpan = maxRow - minRow + 1;\n const totalColSpan = maxCol - minCol + 1;\n\n // Use the top-left cell as the target cell\n const targetCellMap = gridMap[minRow][minCol];\n if (!targetCellMap.cell) {\n return null;\n }\n const targetCell = targetCellMap.cell;\n\n // Set the spans for the target cell\n targetCell.setColSpan(totalColSpan);\n targetCell.setRowSpan(totalRowSpan);\n\n // Move content from other cells to the target cell\n const seenCells = new Set([targetCell.getKey()]);\n\n // Second pass: merge content and remove other cells\n for (let row = minRow; row <= maxRow; row++) {\n for (let col = minCol; col <= maxCol; col++) {\n const mapCell = gridMap[row][col];\n if (!mapCell.cell) {\n continue;\n }\n const currentCell = mapCell.cell;\n const key = currentCell.getKey();\n if (!seenCells.has(key)) {\n seenCells.add(key);\n const isEmpty = $cellContainsEmptyParagraph(currentCell);\n if (!isEmpty) {\n targetCell.append(...currentCell.getChildren());\n }\n currentCell.remove();\n }\n }\n }\n\n // Ensure target cell has content\n if (targetCell.getChildrenSize() === 0) {\n targetCell.append($createParagraphNode());\n }\n return targetCell;\n}\nfunction $cellContainsEmptyParagraph(cell) {\n if (cell.getChildrenSize() !== 1) {\n return false;\n }\n const firstChild = cell.getFirstChildOrThrow();\n if (!$isParagraphNode(firstChild) || !firstChild.isEmpty()) {\n return false;\n }\n return true;\n}\nfunction $unmergeCell() {\n const selection = $getSelection();\n if (!($isRangeSelection(selection) || $isTableSelection(selection))) {\n formatDevErrorMessage(`Expected a RangeSelection or TableSelection`);\n }\n const anchor = selection.anchor.getNode();\n const cellNode = $findMatchingParent(anchor, $isTableCellNode);\n if (!$isTableCellNode(cellNode)) {\n formatDevErrorMessage(`Expected to find a parent TableCellNode`);\n }\n return $unmergeCellNode(cellNode);\n}\nfunction $unmergeCellNode(cellNode) {\n const [cell, row, grid] = $getNodeTriplet(cellNode);\n const colSpan = cell.__colSpan;\n const rowSpan = cell.__rowSpan;\n if (colSpan === 1 && rowSpan === 1) {\n return;\n }\n const [map, cellMap] = $computeTableMap(grid, cell, cell);\n const {\n startColumn,\n startRow\n } = cellMap;\n // Create a heuristic for what the style of the unmerged cells should be\n // based on whether every row or column already had that state before the\n // unmerge.\n const baseColStyle = cell.__headerState & TableCellHeaderStates.COLUMN;\n const colStyles = Array.from({\n length: colSpan\n }, (_v, i) => {\n let colStyle = baseColStyle;\n for (let rowIdx = 0; colStyle !== 0 && rowIdx < map.length; rowIdx++) {\n colStyle &= map[rowIdx][i + startColumn].cell.__headerState;\n }\n return colStyle;\n });\n const baseRowStyle = cell.__headerState & TableCellHeaderStates.ROW;\n const rowStyles = Array.from({\n length: rowSpan\n }, (_v, i) => {\n let rowStyle = baseRowStyle;\n for (let colIdx = 0; rowStyle !== 0 && colIdx < map[0].length; colIdx++) {\n rowStyle &= map[i + startRow][colIdx].cell.__headerState;\n }\n return rowStyle;\n });\n if (colSpan > 1) {\n for (let i = 1; i < colSpan; i++) {\n cell.insertAfter($createTableCellNode(colStyles[i] | rowStyles[0]).append($createParagraphNode()));\n }\n cell.setColSpan(1);\n }\n if (rowSpan > 1) {\n let currentRowNode;\n for (let i = 1; i < rowSpan; i++) {\n const currentRow = startRow + i;\n const currentRowMap = map[currentRow];\n currentRowNode = (currentRowNode || row).getNextSibling();\n if (!$isTableRowNode(currentRowNode)) {\n formatDevErrorMessage(`Expected row next sibling to be a row`);\n }\n let insertAfterCell = null;\n for (let column = 0; column < startColumn; column++) {\n const currentCellMap = currentRowMap[column];\n const currentCell = currentCellMap.cell;\n if (currentCellMap.startRow === currentRow) {\n insertAfterCell = currentCell;\n }\n if (currentCell.__colSpan > 1) {\n column += currentCell.__colSpan - 1;\n }\n }\n if (insertAfterCell === null) {\n for (let j = colSpan - 1; j >= 0; j--) {\n $insertFirst(currentRowNode, $createTableCellNode(colStyles[j] | rowStyles[i]).append($createParagraphNode()));\n }\n } else {\n for (let j = colSpan - 1; j >= 0; j--) {\n insertAfterCell.insertAfter($createTableCellNode(colStyles[j] | rowStyles[i]).append($createParagraphNode()));\n }\n }\n }\n cell.setRowSpan(1);\n }\n}\nfunction $computeTableMap(tableNode, cellA, cellB) {\n const [tableMap, cellAValue, cellBValue] = $computeTableMapSkipCellCheck(tableNode, cellA, cellB);\n if (!(cellAValue !== null)) {\n formatDevErrorMessage(`Anchor not found in Table`);\n }\n if (!(cellBValue !== null)) {\n formatDevErrorMessage(`Focus not found in Table`);\n }\n return [tableMap, cellAValue, cellBValue];\n}\nfunction $computeTableMapSkipCellCheck(tableNode, cellA, cellB) {\n const tableMap = [];\n let cellAValue = null;\n let cellBValue = null;\n function getMapRow(i) {\n let row = tableMap[i];\n if (row === undefined) {\n tableMap[i] = row = [];\n }\n return row;\n }\n const gridChildren = tableNode.getChildren();\n for (let rowIdx = 0; rowIdx < gridChildren.length; rowIdx++) {\n const row = gridChildren[rowIdx];\n if (!$isTableRowNode(row)) {\n formatDevErrorMessage(`Expected TableNode children to be TableRowNode`);\n }\n const startMapRow = getMapRow(rowIdx);\n for (let cell = row.getFirstChild(), colIdx = 0; cell != null; cell = cell.getNextSibling()) {\n if (!$isTableCellNode(cell)) {\n formatDevErrorMessage(`Expected TableRowNode children to be TableCellNode`);\n } // Skip past any columns that were merged from a higher row\n while (startMapRow[colIdx] !== undefined) {\n colIdx++;\n }\n const value = {\n cell,\n startColumn: colIdx,\n startRow: rowIdx\n };\n const {\n __rowSpan: rowSpan,\n __colSpan: colSpan\n } = cell;\n for (let j = 0; j < rowSpan; j++) {\n if (rowIdx + j >= gridChildren.length) {\n // The table is non-rectangular with a rowSpan\n // below the last <tr> in the table.\n // We should probably handle this with a node transform\n // to ensure that tables are always rectangular but this\n // will avoid crashes such as #6584\n // Note that there are probably still latent bugs\n // regarding colSpan or general cell count mismatches.\n break;\n }\n const mapRow = getMapRow(rowIdx + j);\n for (let i = 0; i < colSpan; i++) {\n mapRow[colIdx + i] = value;\n }\n }\n if (cellA !== null && cellAValue === null && cellA.is(cell)) {\n cellAValue = value;\n }\n if (cellB !== null && cellBValue === null && cellB.is(cell)) {\n cellBValue = value;\n }\n }\n }\n return [tableMap, cellAValue, cellBValue];\n}\nfunction $getNodeTriplet(source) {\n let cell;\n if (source instanceof TableCellNode) {\n cell = source;\n } else if ('__type' in source) {\n const cell_ = $findMatchingParent(source, $isTableCellNode);\n if (!$isTableCellNode(cell_)) {\n formatDevErrorMessage(`Expected to find a parent TableCellNode`);\n }\n cell = cell_;\n } else {\n const cell_ = $findMatchingParent(source.getNode(), $isTableCellNode);\n if (!$isTableCellNode(cell_)) {\n formatDevErrorMessage(`Expected to find a parent TableCellNode`);\n }\n cell = cell_;\n }\n const row = cell.getParent();\n if (!$isTableRowNode(row)) {\n formatDevErrorMessage(`Expected TableCellNode to have a parent TableRowNode`);\n }\n const grid = row.getParent();\n if (!$isTableNode(grid)) {\n formatDevErrorMessage(`Expected TableRowNode to have a parent TableNode`);\n }\n return [cell, row, grid];\n}\nfunction $computeTableCellRectSpans(map, boundary) {\n const {\n minColumn,\n maxColumn,\n minRow,\n maxRow\n } = boundary;\n let topSpan = 1;\n let leftSpan = 1;\n let rightSpan = 1;\n let bottomSpan = 1;\n const topRow = map[minRow];\n const bottomRow = map[maxRow];\n for (let col = minColumn; col <= maxColumn; col++) {\n topSpan = Math.max(topSpan, topRow[col].cell.__rowSpan);\n bottomSpan = Math.max(bottomSpan, bottomRow[col].cell.__rowSpan);\n }\n for (let row = minRow; row <= maxRow; row++) {\n leftSpan = Math.max(leftSpan, map[row][minColumn].cell.__colSpan);\n rightSpan = Math.max(rightSpan, map[row][maxColumn].cell.__colSpan);\n }\n return {\n bottomSpan,\n leftSpan,\n rightSpan,\n topSpan\n };\n}\nfunction $computeTableCellRectBoundary(map, cellAMap, cellBMap) {\n // Initial boundaries based on the anchor and focus cells\n let minColumn = Math.min(cellAMap.startColumn, cellBMap.startColumn);\n let minRow = Math.min(cellAMap.startRow, cellBMap.startRow);\n let maxColumn = Math.max(cellAMap.startColumn + cellAMap.cell.__colSpan - 1, cellBMap.startColumn + cellBMap.cell.__colSpan - 1);\n let maxRow = Math.max(cellAMap.startRow + cellAMap.cell.__rowSpan - 1, cellBMap.startRow + cellBMap.cell.__rowSpan - 1);\n\n // Keep expanding until we have a complete rectangle\n let hasChanges;\n do {\n hasChanges = false;\n\n // Check all cells in the table\n for (let row = 0; row < map.length; row++) {\n for (let col = 0; col < map[0].length; col++) {\n const cell = map[row][col];\n if (!cell) {\n continue;\n }\n const cellEndCol = cell.startColumn + cell.cell.__colSpan - 1;\n const cellEndRow = cell.startRow + cell.cell.__rowSpan - 1;\n\n // Check if this cell intersects with our current selection rectangle\n const intersectsHorizontally = cell.startColumn <= maxColumn && cellEndCol >= minColumn;\n const intersectsVertically = cell.startRow <= maxRow && cellEndRow >= minRow;\n\n // If the cell intersects either horizontally or vertically\n if (intersectsHorizontally && intersectsVertically) {\n // Expand boundaries to include this cell completely\n const newMinColumn = Math.min(minColumn, cell.startColumn);\n const newMaxColumn = Math.max(maxColumn, cellEndCol);\n const newMinRow = Math.min(minRow, cell.startRow);\n const newMaxRow = Math.max(maxRow, cellEndRow);\n\n // Check if boundaries changed\n if (newMinColumn !== minColumn || newMaxColumn !== maxColumn || newMinRow !== minRow || newMaxRow !== maxRow) {\n minColumn = newMinColumn;\n maxColumn = newMaxColumn;\n minRow = newMinRow;\n maxRow = newMaxRow;\n hasChanges = true;\n }\n }\n }\n }\n } while (hasChanges);\n return {\n maxColumn,\n maxRow,\n minColumn,\n minRow\n };\n}\n\n/**\n * Checks if the table does not have any merged cells.\n *\n * @param table Table to check for if it has any merged cells.\n * @returns True if the table does not have any merged cells, false otherwise.\n */\nfunction $isSimpleTable(table) {\n const rows = table.getChildren();\n let columns = null;\n for (const row of rows) {\n if (!$isTableRowNode(row)) {\n return false;\n }\n if (columns === null) {\n columns = row.getChildrenSize();\n }\n if (row.getChildrenSize() !== columns) {\n return false;\n }\n const cells = row.getChildren();\n for (const cell of cells) {\n if (!$isTableCellNode(cell) || cell.getRowSpan() !== 1 || cell.getColSpan() !== 1) {\n return false;\n }\n }\n }\n return (columns || 0) > 0;\n}\n\n/**\n * Moves a column from one position to another within a simple (non-merged) table.\n *\n * @param tableNode The table node to modify.\n * @param originColumn The index of the column to move.\n * @param targetColumn The index to move the column to.\n */\nfunction $moveTableColumn(tableNode, originColumn, targetColumn) {\n if (originColumn === targetColumn) {\n return;\n }\n const columnCount = tableNode.getColumnCount();\n if (originColumn < 0 || originColumn >= columnCount || targetColumn < 0 || targetColumn >= columnCount) {\n return;\n }\n if (!$isSimpleTable(tableNode)) {\n return;\n }\n const rows = tableNode.getChildren().filter($isTableRowNode);\n rows.forEach(row => {\n const cells = row.getChildren();\n const [moved] = cells.splice(originColumn, 1);\n cells.splice(targetColumn, 0, moved);\n row.splice(0, cells.length, cells);\n });\n const colWidths = tableNode.getColWidths();\n if (colWidths && colWidths.length === columnCount) {\n const newWidths = [...colWidths];\n const [movedWidth] = newWidths.splice(originColumn, 1);\n newWidths.splice(targetColumn, 0, movedWidth);\n tableNode.setColWidths(newWidths);\n }\n}\nfunction $getTableCellNodeRect(tableCellNode) {\n const [cellNode,, gridNode] = $getNodeTriplet(tableCellNode);\n const rows = gridNode.getChildren();\n const rowCount = rows.length;\n const columnCount = rows[0].getChildren().length;\n\n // Create a matrix of the same size as the table to track the position of each cell\n const cellMatrix = new Array(rowCount);\n for (let i = 0; i < rowCount; i++) {\n cellMatrix[i] = new Array(columnCount);\n }\n for (let rowIndex = 0; rowIndex < rowCount; rowIndex++) {\n const row = rows[rowIndex];\n const cells = row.getChildren();\n let columnIndex = 0;\n for (let cellIndex = 0; cellIndex < cells.length; cellIndex++) {\n // Find the next available position in the matrix, skip the position of merged cells\n while (cellMatrix[rowIndex][columnIndex]) {\n columnIndex++;\n }\n const cell = cells[cellIndex];\n const rowSpan = cell.__rowSpan || 1;\n const colSpan = cell.__colSpan || 1;\n\n // Put the cell into the corresponding position in the matrix\n for (let i = 0; i < rowSpan; i++) {\n for (let j = 0; j < colSpan; j++) {\n cellMatrix[rowIndex + i][columnIndex + j] = cell;\n }\n }\n\n // Return to the original index, row span and column span of the cell.\n if (cellNode === cell) {\n return {\n colSpan,\n columnIndex,\n rowIndex,\n rowSpan\n };\n }\n columnIndex += colSpan;\n }\n }\n return null;\n}\n\nfunction $getCellNodes(tableSelection) {\n const [[anchorNode, anchorCell, anchorRow, anchorTable], [focusNode, focusCell, focusRow, focusTable]] = ['anchor', 'focus'].map(k => {\n const node = tableSelection[k].getNode();\n const cellNode = $findMatchingParent(node, $isTableCellNode);\n if (!$isTableCellNode(cellNode)) {\n formatDevErrorMessage(`Expected TableSelection ${k} to be (or a child of) TableCellNode, got key ${node.getKey()} of type ${node.getType()}`);\n }\n const rowNode = cellNode.getParent();\n if (!$isTableRowNode(rowNode)) {\n formatDevErrorMessage(`Expected TableSelection ${k} cell parent to be a TableRowNode`);\n }\n const tableNode = rowNode.getParent();\n if (!$isTableNode(tableNode)) {\n formatDevErrorMessage(`Expected TableSelection ${k} row parent to be a TableNode`);\n }\n return [node, cellNode, rowNode, tableNode];\n });\n // TODO: nested tables may violate this\n if (!anchorTable.is(focusTable)) {\n formatDevErrorMessage(`Expected TableSelection anchor and focus to be in the same table`);\n }\n return {\n anchorCell,\n anchorNode,\n anchorRow,\n anchorTable,\n focusCell,\n focusNode,\n focusRow,\n focusTable\n };\n}\nclass TableSelection {\n tableKey;\n anchor;\n focus;\n _cachedNodes;\n dirty;\n constructor(tableKey, anchor, focus) {\n this.anchor = anchor;\n this.focus = focus;\n anchor._selection = this;\n focus._selection = this;\n this._cachedNodes = null;\n this.dirty = false;\n this.tableKey = tableKey;\n }\n getStartEndPoints() {\n return [this.anchor, this.focus];\n }\n\n /**\n * {@link $createTableSelection} unfortunately makes it very easy to create\n * nonsense selections, so we have a method to see if the selection probably\n * makes sense.\n *\n * @returns true if the TableSelection is (probably) valid\n */\n isValid() {\n if (this.tableKey === 'root' || this.anchor.key === 'root' || this.anchor.type !== 'element' || this.focus.key === 'root' || this.focus.type !== 'element') {\n return false;\n }\n\n // Check if the referenced nodes still exist in the editor\n const tableNode = $getNodeByKey(this.tableKey);\n const anchorNode = $getNodeByKey(this.anchor.key);\n const focusNode = $getNodeByKey(this.focus.key);\n return tableNode !== null && anchorNode !== null && focusNode !== null;\n }\n\n /**\n * Returns whether the Selection is \"backwards\", meaning the focus\n * logically precedes the anchor in the EditorState.\n * @returns true if the Selection is backwards, false otherwise.\n */\n isBackward() {\n return this.focus.isBefore(this.anchor);\n }\n getCachedNodes() {\n return this._cachedNodes;\n }\n setCachedNodes(nodes) {\n this._cachedNodes = nodes;\n }\n is(selection) {\n return $isTableSelection(selection) && this.tableKey === selection.tableKey && this.anchor.is(selection.anchor) && this.focus.is(selection.focus);\n }\n set(tableKey, anchorCellKey, focusCellKey) {\n // note: closure compiler's acorn does not support ||=\n this.dirty = this.dirty || tableKey !== this.tableKey || anchorCellKey !== this.anchor.key || focusCellKey !== this.focus.key;\n this.tableKey = tableKey;\n this.anchor.key = anchorCellKey;\n this.focus.key = focusCellKey;\n this._cachedNodes = null;\n }\n clone() {\n return new TableSelection(this.tableKey, $createPoint(this.anchor.key, this.anchor.offset, this.anchor.type), $createPoint(this.focus.key, this.focus.offset, this.focus.type));\n }\n isCollapsed() {\n return false;\n }\n extract() {\n return this.getNodes();\n }\n insertRawText(text) {\n // Do nothing?\n }\n insertText() {\n // Do nothing?\n }\n\n /**\n * Returns whether the provided TextFormatType is present on the Selection.\n * This will be true if any paragraph in table cells has the specified format.\n *\n * @param type the TextFormatType to check for.\n * @returns true if the provided format is currently toggled on on the Selection, false otherwise.\n */\n hasFormat(type) {\n let format = 0;\n const cellNodes = this.getNodes().filter($isTableCellNode);\n cellNodes.forEach(cellNode => {\n const paragraph = cellNode.getFirstChild();\n if ($isParagraphNode(paragraph)) {\n format |= paragraph.getTextFormat();\n }\n });\n const formatFlag = TEXT_TYPE_TO_FORMAT[type];\n return (format & formatFlag) !== 0;\n }\n insertNodes(nodes) {\n const focusNode = this.focus.getNode();\n if (!$isElementNode(focusNode)) {\n formatDevErrorMessage(`Expected TableSelection focus to be an ElementNode`);\n }\n const selection = $normalizeSelection__EXPERIMENTAL(focusNode.select(0, focusNode.getChildrenSize()));\n selection.insertNodes(nodes);\n }\n\n // TODO Deprecate this method. It's confusing when used with colspan|rowspan\n getShape() {\n const {\n anchorCell,\n focusCell\n } = $getCellNodes(this);\n const anchorCellNodeRect = $getTableCellNodeRect(anchorCell);\n if (!(anchorCellNodeRect !== null)) {\n formatDevErrorMessage(`getCellRect: expected to find AnchorNode`);\n }\n const focusCellNodeRect = $getTableCellNodeRect(focusCell);\n if (!(focusCellNodeRect !== null)) {\n formatDevErrorMessage(`getCellRect: expected to find focusCellNode`);\n }\n const startX = Math.min(anchorCellNodeRect.columnIndex, focusCellNodeRect.columnIndex);\n const stopX = Math.max(anchorCellNodeRect.columnIndex + anchorCellNodeRect.colSpan - 1, focusCellNodeRect.columnIndex + focusCellNodeRect.colSpan - 1);\n const startY = Math.min(anchorCellNodeRect.rowIndex, focusCellNodeRect.rowIndex);\n const stopY = Math.max(anchorCellNodeRect.rowIndex + anchorCellNodeRect.rowSpan - 1, focusCellNodeRect.rowIndex + focusCellNodeRect.rowSpan - 1);\n return {\n fromX: Math.min(startX, stopX),\n fromY: Math.min(startY, stopY),\n toX: Math.max(startX, stopX),\n toY: Math.max(startY, stopY)\n };\n }\n getNodes() {\n if (!this.isValid()) {\n return [];\n }\n const cachedNodes = this._cachedNodes;\n if (cachedNodes !== null) {\n return cachedNodes;\n }\n const {\n anchorTable: tableNode,\n anchorCell,\n focusCell\n } = $getCellNodes(this);\n const focusCellGrid = focusCell.getParents()[1];\n if (focusCellGrid !== tableNode) {\n if (!tableNode.isParentOf(focusCell)) {\n // focus is on higher Grid level than anchor\n const gridParent = tableNode.getParent();\n if (!(gridParent != null)) {\n formatDevErrorMessage(`Expected gridParent to have a parent`);\n }\n this.set(this.tableKey, gridParent.getKey(), focusCell.getKey());\n } else {\n // anchor is on higher Grid level than focus\n const focusCellParent = focusCellGrid.getParent();\n if (!(focusCellParent != null)) {\n formatDevErrorMessage(`Expected focusCellParent to have a parent`);\n }\n this.set(this.tableKey, focusCell.getKey(), focusCellParent.getKey());\n }\n return this.getNodes();\n }\n\n // TODO Mapping the whole Grid every time not efficient. We need to compute the entire state only\n // once (on load) and iterate on it as updates occur. However, to do this we need to have the\n // ability to store a state. Killing TableSelection and moving the logic to the plugin would make\n // this possible.\n const [map, cellAMap, cellBMap] = $computeTableMap(tableNode, anchorCell, focusCell);\n const {\n minColumn,\n maxColumn,\n minRow,\n maxRow\n } = $computeTableCellRectBoundary(map, cellAMap, cellBMap);\n\n // We use a Map here because merged cells in the grid would otherwise\n // show up multiple times in the nodes array\n const nodeMap = new Map([[tableNode.getKey(), tableNode]]);\n let lastRow = null;\n for (let i = minRow; i <= maxRow; i++) {\n for (let j = minColumn; j <= maxColumn; j++) {\n const {\n cell\n } = map[i][j];\n const currentRow = cell.getParent();\n if (!$isTableRowNode(currentRow)) {\n formatDevErrorMessage(`Expected TableCellNode parent to be a TableRowNode`);\n }\n if (currentRow !== lastRow) {\n nodeMap.set(currentRow.getKey(), currentRow);\n lastRow = currentRow;\n }\n if (!nodeMap.has(cell.getKey())) {\n $visitRecursively(cell, childNode => {\n nodeMap.set(childNode.getKey(), childNode);\n });\n }\n }\n }\n const nodes = Array.from(nodeMap.values());\n if (!isCurrentlyReadOnlyMode()) {\n this._cachedNodes = nodes;\n }\n return nodes;\n }\n getTextContent() {\n const nodes = this.getNodes().filter(node => $isTableCellNode(node));\n let textContent = '';\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n const row = node.__parent;\n const nextRow = (nodes[i + 1] || {}).__parent;\n textContent += node.getTextContent() + (nextRow !== row ? '\\n' : '\\t');\n }\n return textContent;\n }\n}\nfunction $isTableSelection(x) {\n return x instanceof TableSelection;\n}\nfunction $createTableSelection() {\n // TODO this is a suboptimal design, it doesn't make sense to have\n // a table selection that isn't associated with a table. This\n // constructor should have required arguments and in true we\n // should check that they point to a table and are element points to\n // cell nodes of that table.\n const anchor = $createPoint('root', 0, 'element');\n const focus = $createPoint('root', 0, 'element');\n return new TableSelection('root', anchor, focus);\n}\nfunction $createTableSelectionFrom(tableNode, anchorCell, focusCell) {\n const tableNodeKey = tableNode.getKey();\n const anchorCellKey = anchorCell.getKey();\n const focusCellKey = focusCell.getKey();\n {\n if (!tableNode.isAttached()) {\n formatDevErrorMessage(`$createTableSelectionFrom: tableNode ${tableNodeKey} is not attached`);\n }\n if (!tableNode.is($findTableNode(anchorCell))) {\n formatDevErrorMessage(`$createTableSelectionFrom: anchorCell ${anchorCellKey} is not in table ${tableNodeKey}`);\n }\n if (!tableNode.is($findTableNode(focusCell))) {\n formatDevErrorMessage(`$createTableSelectionFrom: focusCell ${focusCellKey} is not in table ${tableNodeKey}`);\n } // TODO: Check for rectangular grid\n }\n const prevSelection = $getSelection();\n const nextSelection = $isTableSelection(prevSelection) ? prevSelection.clone() : $createTableSelection();\n nextSelection.set(tableNode.getKey(), anchorCell.getKey(), focusCell.getKey());\n return nextSelection;\n}\n\n/**\n * Depth first visitor\n * @param node The starting node\n * @param $visit The function to call for each node. If the function returns false, then children of this node will not be explored\n */\nfunction $visitRecursively(node, $visit) {\n const stack = [[node]];\n for (let currentArray = stack.at(-1); currentArray !== undefined && stack.length > 0; currentArray = stack.at(-1)) {\n const currentNode = currentArray.pop();\n if (currentNode === undefined) {\n stack.pop();\n } else if ($visit(currentNode) !== false && $isElementNode(currentNode)) {\n stack.push(currentNode.getChildren());\n }\n }\n}\n\nfunction $getTableAndElementByKey(tableNodeKey, editor = $getEditor()) {\n const tableNode = $getNodeByKey(tableNodeKey);\n if (!$isTableNode(tableNode)) {\n formatDevErrorMessage(`TableObserver: Expected tableNodeKey ${tableNodeKey} to be a TableNode`);\n }\n const tableElement = getTableElement(tableNode, editor.getElementByKey(tableNodeKey));\n if (!(tableElement !== null)) {\n formatDevErrorMessage(`TableObserver: Expected to find TableElement in DOM for key ${tableNodeKey}`);\n }\n return {\n tableElement,\n tableNode\n };\n}\nclass TableObserver {\n focusX;\n focusY;\n listenersToRemove;\n table;\n isHighlightingCells;\n anchorX;\n anchorY;\n tableNodeKey;\n anchorCell;\n focusCell;\n anchorCellNodeKey;\n focusCellNodeKey;\n editor;\n tableSelection;\n hasHijackedSelectionStyles;\n isSelecting;\n pointerType;\n shouldCheckSelection;\n abortController;\n listenerOptions;\n nextFocus;\n constructor(editor, tableNodeKey) {\n this.isHighlightingCells = false;\n this.anchorX = -1;\n this.anchorY = -1;\n this.focusX = -1;\n this.focusY = -1;\n this.listenersToRemove = new Set();\n this.tableNodeKey = tableNodeKey;\n this.editor = editor;\n this.table = {\n columns: 0,\n domRows: [],\n rows: 0\n };\n this.tableSelection = null;\n this.anchorCellNodeKey = null;\n this.focusCellNodeKey = null;\n this.anchorCell = null;\n this.focusCell = null;\n this.hasHijackedSelectionStyles = false;\n this.isSelecting = false;\n this.pointerType = null;\n this.shouldCheckSelection = false;\n this.abortController = new AbortController();\n this.listenerOptions = {\n signal: this.abortController.signal\n };\n this.nextFocus = null;\n this.trackTable();\n }\n getTable() {\n return this.table;\n }\n removeListeners() {\n this.abortController.abort('removeListeners');\n Array.from(this.listenersToRemove).forEach(removeListener => removeListener());\n this.listenersToRemove.clear();\n }\n $lookup() {\n return $getTableAndElementByKey(this.tableNodeKey, this.editor);\n }\n trackTable() {\n const observer = new MutationObserver(records => {\n this.editor.getEditorState().read(() => {\n let gridNeedsRedraw = false;\n for (let i = 0; i < records.length; i++) {\n const record = records[i];\n const target = record.target;\n const nodeName = target.nodeName;\n if (nodeName === 'TABLE' || nodeName === 'TBODY' || nodeName === 'THEAD' || nodeName === 'TR') {\n gridNeedsRedraw = true;\n break;\n }\n }\n if (!gridNeedsRedraw) {\n return;\n }\n const {\n tableNode,\n tableElement\n } = this.$lookup();\n this.table = getTable(tableNode, tableElement);\n }, {\n editor: this.editor\n });\n });\n this.editor.getEditorState().read(() => {\n const {\n tableNode,\n tableElement\n } = this.$lookup();\n this.table = getTable(tableNode, tableElement);\n observer.observe(tableElement, {\n attributes: true,\n childList: true,\n subtree: true\n });\n }, {\n editor: this.editor\n });\n }\n $clearHighlight() {\n const editor = this.editor;\n this.isHighlightingCells = false;\n this.anchorX = -1;\n this.anchorY = -1;\n this.focusX = -1;\n this.focusY = -1;\n this.tableSelection = null;\n this.anchorCellNodeKey = null;\n this.focusCellNodeKey = null;\n this.anchorCell = null;\n this.focusCell = null;\n this.hasHijackedSelectionStyles = false;\n this.$enableHighlightStyle();\n const {\n tableNode,\n tableElement\n } = this.$lookup();\n const grid = getTable(tableNode, tableElement);\n $updateDOMForSelection(editor, grid, null);\n if ($getSelection() !== null) {\n $setSelection(null);\n editor.dispatchCommand(SELECTION_CHANGE_COMMAND, undefined);\n }\n }\n $enableHighlightStyle() {\n const editor = this.editor;\n const {\n tableElement\n } = this.$lookup();\n removeClassNamesFromElement(tableElement, editor._config.theme.tableSelection);\n tableElement.classList.remove('disable-selection');\n this.hasHijackedSelectionStyles = false;\n }\n $disableHighlightStyle() {\n const {\n tableElement\n } = this.$lookup();\n addClassNamesToElement(tableElement, this.editor._config.theme.tableSelection);\n this.hasHijackedSelectionStyles = true;\n }\n $updateTableTableSelection(selection) {\n if (selection !== null) {\n if (!(selection.tableKey === this.tableNodeKey)) {\n formatDevErrorMessage(`TableObserver.$updateTableTableSelection: selection.tableKey !== this.tableNodeKey ('${selection.tableKey}' !== '${this.tableNodeKey}')`);\n }\n const editor = this.editor;\n this.tableSelection = selection;\n this.isHighlightingCells = true;\n this.$disableHighlightStyle();\n this.updateDOMSelection();\n $updateDOMForSelection(editor, this.table, this.tableSelection);\n } else {\n this.$clearHighlight();\n }\n }\n\n /**\n * @internal\n * Firefox has a strange behavior where pressing the down arrow key from\n * above the table will move the caret after the table and then lexical\n * will select the last cell instead of the first.\n * We do still want to let the browser handle caret movement but we will\n * use this property to \"tag\" the update so that we can recheck the\n * selection after the event is processed.\n */\n setShouldCheckSelection() {\n this.shouldCheckSelection = true;\n }\n /**\n * @internal\n */\n getAndClearShouldCheckSelection() {\n if (this.shouldCheckSelection) {\n this.shouldCheckSelection = false;\n return true;\n }\n return false;\n }\n\n /**\n * @internal\n * When handling mousemove events we track what the focus cell should be, but\n * the DOM selection may end up somewhere else entirely. We don't have an elegant\n * way to handle this after the DOM selection has been resolved in a\n * SELECTION_CHANGE_COMMAND callback.\n */\n setNextFocus(nextFocus) {\n this.nextFocus = nextFocus;\n }\n\n /** @internal */\n getAndClearNextFocus() {\n const {\n nextFocus\n } = this;\n if (nextFocus !== null) {\n this.nextFocus = null;\n }\n return nextFocus;\n }\n\n /** @internal */\n updateDOMSelection() {\n if (this.anchorCell !== null && this.focusCell !== null) {\n const domSelection = getDOMSelection(this.editor._window);\n // We are not using a native selection for tables, and if we\n // set one then the reconciler will undo it.\n // TODO - it would make sense to have one so that native\n // copy/paste worked. Right now we have to emulate with\n // keyboard events but it won't fire if triggered from the menu\n if (domSelection && domSelection.rangeCount > 0) {\n domSelection.removeAllRanges();\n }\n }\n }\n $setFocusCellForSelection(cell, ignoreStart = false) {\n const editor = this.editor;\n const {\n tableNode\n } = this.$lookup();\n const cellX = cell.x;\n const cellY = cell.y;\n this.focusCell = cell;\n\n // Enable highlighting if: ignoreStart is true, or anchor differs from focus,\n // or we have valid tableSelection with anchor (for first drag after column switch)\n if (!this.isHighlightingCells) {\n const shouldEnable = ignoreStart || this.anchorX !== cellX || this.anchorY !== cellY || this.tableSelection != null && this.anchorCellNodeKey != null;\n if (shouldEnable) {\n this.isHighlightingCells = true;\n this.$disableHighlightStyle();\n }\n }\n\n // Skip if we're trying to select the same cell we already have selected\n // But only if focusX/focusY are valid (not -1, which means not reset)\n if (this.focusX !== -1 && this.focusY !== -1 && cellX === this.focusX && cellY === this.focusY) {\n return false;\n }\n this.focusX = cellX;\n this.focusY = cellY;\n if (this.isHighlightingCells) {\n const focusTableCellNode = $getNearestTableCellInTableFromDOMNode(tableNode, cell.elem);\n if (this.tableSelection != null && this.anchorCellNodeKey != null) {\n let targetCellNode = focusTableCellNode;\n\n // Fallback: use coordinates if DOM lookup failed (handles timing issues on first drag)\n if (targetCellNode === null && ignoreStart) {\n targetCellNode = tableNode.getCellNodeFromCords(cellX, cellY, this.table);\n }\n if (targetCellNode !== null) {\n const anchorTableCell = this.$getAnchorTableCellOrThrow();\n this.focusCellNodeKey = targetCellNode.getKey();\n this.tableSelection = $createTableSelectionFrom(tableNode, anchorTableCell, targetCellNode);\n $setSelection(this.tableSelection);\n editor.dispatchCommand(SELECTION_CHANGE_COMMAND, undefined);\n $updateDOMForSelection(editor, this.table, this.tableSelection);\n return true;\n }\n }\n }\n return false;\n }\n $getAnchorTableCell() {\n return this.anchorCellNodeKey ? $getNodeByKey(this.anchorCellNodeKey) : null;\n }\n $getAnchorTableCellOrThrow() {\n const anchorTableCell = this.$getAnchorTableCell();\n if (!(anchorTableCell !== null)) {\n formatDevErrorMessage(`TableObserver anchorTableCell is null`);\n }\n return anchorTableCell;\n }\n $getFocusTableCell() {\n return this.focusCellNodeKey ? $getNodeByKey(this.focusCellNodeKey) : null;\n }\n $getFocusTableCellOrThrow() {\n const focusTableCell = this.$getFocusTableCell();\n if (!(focusTableCell !== null)) {\n formatDevErrorMessage(`TableObserver focusTableCell is null`);\n }\n return focusTableCell;\n }\n $setAnchorCellForSelection(cell) {\n this.isHighlightingCells = false;\n this.anchorCell = cell;\n this.anchorX = cell.x;\n this.anchorY = cell.y;\n // Reset focus state to prevent stale values from previous selections\n this.focusX = -1;\n this.focusY = -1;\n this.focusCell = null;\n this.focusCellNodeKey = null;\n const {\n tableNode\n } = this.$lookup();\n const anchorTableCellNode = $getNearestTableCellInTableFromDOMNode(tableNode, cell.elem);\n if (anchorTableCellNode !== null) {\n const anchorNodeKey = anchorTableCellNode.getKey();\n if (this.tableSelection != null) {\n this.tableSelection = this.tableSelection.clone();\n this.tableSelection.set(tableNode.getKey(), anchorNodeKey, anchorNodeKey);\n } else {\n this.tableSelection = $createTableSelectionFrom(tableNode, anchorTableCellNode, anchorTableCellNode);\n }\n this.anchorCellNodeKey = anchorNodeKey;\n }\n }\n $formatCells(type) {\n const selection = $getSelection();\n if (!$isTableSelection(selection)) {\n formatDevErrorMessage(`Expected Table selection`);\n }\n const formatSelection = $createRangeSelection();\n const anchor = formatSelection.anchor;\n const focus = formatSelection.focus;\n const cellNodes = selection.getNodes().filter($isTableCellNode);\n if (!(cellNodes.length > 0)) {\n formatDevErrorMessage(`No table cells present`);\n }\n const paragraph = cellNodes[0].getFirstChild();\n const alignFormatWith = $isParagraphNode(paragraph) ? paragraph.getFormatFlags(type, null) : null;\n cellNodes.forEach(cellNode => {\n anchor.set(cellNode.getKey(), 0, 'element');\n focus.set(cellNode.getKey(), cellNode.getChildrenSize(), 'element');\n formatSelection.formatText(type, alignFormatWith);\n });\n $setSelection(selection);\n this.editor.dispatchCommand(SELECTION_CHANGE_COMMAND, undefined);\n }\n $clearText() {\n const {\n editor\n } = this;\n const tableNode = $getNodeByKey(this.tableNodeKey);\n if (!$isTableNode(tableNode)) {\n throw new Error('Expected TableNode.');\n }\n const selection = $getSelection();\n if (!$isTableSelection(selection)) {\n formatDevErrorMessage(`Expected TableSelection`);\n }\n const selectedNodes = selection.getNodes().filter($isTableCellNode);\n\n // Check if the entire table is selected by verifying first and last cells\n const firstRow = tableNode.getFirstChild();\n const lastRow = tableNode.getLastChild();\n const isEntireTableSelected = selectedNodes.length > 0 && firstRow !== null && lastRow !== null && $isTableRowNode(firstRow) && $isTableRowNode(lastRow) && selectedNodes[0] === firstRow.getFirstChild() && selectedNodes[selectedNodes.length - 1] === lastRow.getLastChild();\n if (isEntireTableSelected) {\n tableNode.selectPrevious();\n const parent = tableNode.getParent();\n // Delete entire table\n tableNode.remove();\n // Handle case when table was the only node\n if ($isRootNode(parent) && parent.isEmpty()) {\n editor.dispatchCommand(INSERT_PARAGRAPH_COMMAND, undefined);\n }\n return;\n }\n selectedNodes.forEach(cellNode => {\n if ($isElementNode(cellNode)) {\n const paragraphNode = $createParagraphNode();\n const textNode = $createTextNode();\n paragraphNode.append(textNode);\n cellNode.append(paragraphNode);\n cellNode.getChildren().forEach(child => {\n if (child !== paragraphNode) {\n child.remove();\n }\n });\n }\n });\n $updateDOMForSelection(editor, this.table, null);\n $setSelection(null);\n editor.dispatchCommand(SELECTION_CHANGE_COMMAND, undefined);\n }\n}\n\nconst LEXICAL_ELEMENT_KEY = '__lexicalTableSelection';\nconst isPointerDownOnEvent = event => {\n return (event.buttons & 1) === 1;\n};\nfunction isHTMLTableElement(el) {\n return isHTMLElement(el) && el.nodeName === 'TABLE';\n}\nfunction getTableElement(tableNode, dom) {\n if (!dom) {\n return dom;\n }\n const element = isHTMLTableElement(dom) ? dom : tableNode.getDOMSlot(dom).element;\n if (!(element.nodeName === 'TABLE')) {\n formatDevErrorMessage(`getTableElement: Expecting table in as DOM node for TableNode, not ${dom.nodeName}`);\n }\n return element;\n}\nfunction getEditorWindow(editor) {\n return editor._window;\n}\nfunction $findParentTableCellNodeInTable(tableNode, node) {\n for (let currentNode = node, lastTableCellNode = null; currentNode !== null; currentNode = currentNode.getParent()) {\n if (tableNode.is(currentNode)) {\n return lastTableCellNode;\n } else if ($isTableCellNode(currentNode)) {\n lastTableCellNode = currentNode;\n }\n }\n return null;\n}\nconst ARROW_KEY_COMMANDS_WITH_DIRECTION = [[KEY_ARROW_DOWN_COMMAND, 'down'], [KEY_ARROW_UP_COMMAND, 'up'], [KEY_ARROW_LEFT_COMMAND, 'backward'], [KEY_ARROW_RIGHT_COMMAND, 'forward']];\nconst DELETE_TEXT_COMMANDS = [DELETE_WORD_COMMAND, DELETE_LINE_COMMAND, DELETE_CHARACTER_COMMAND];\nconst DELETE_KEY_COMMANDS = [KEY_BACKSPACE_COMMAND, KEY_DELETE_COMMAND];\nfunction applyTableHandlers(tableNode, element, editor, hasTabHandler) {\n const rootElement = editor.getRootElement();\n const editorWindow = getEditorWindow(editor);\n if (!(rootElement !== null && editorWindow !== null)) {\n formatDevErrorMessage(`applyTableHandlers: editor has no root element set`);\n }\n const tableObserver = new TableObserver(editor, tableNode.getKey());\n const tableElement = getTableElement(tableNode, element);\n attachTableObserverToTableElement(tableElement, tableObserver);\n tableObserver.listenersToRemove.add(() => detachTableObserverFromTableElement(tableElement, tableObserver));\n const createPointerHandlers = startingCell => {\n if (tableObserver.isSelecting) {\n return;\n }\n tableObserver.isSelecting = true;\n\n // Set anchor immediately if starting cell provided (handles direct drag without click)\n if (startingCell !== null && tableObserver.anchorCell === null) {\n editor.update(() => {\n tableObserver.$setAnchorCellForSelection(startingCell);\n });\n }\n const onPointerUp = () => {\n tableObserver.isSelecting = false;\n editorWindow.removeEventListener('pointerup', onPointerUp);\n editorWindow.removeEventListener('pointermove', onPointerMove);\n };\n const onPointerMove = moveEvent => {\n if (!isPointerDownOnEvent(moveEvent) && tableObserver.isSelecting) {\n tableObserver.isSelecting = false;\n editorWindow.removeEventListener('pointerup', onPointerUp);\n editorWindow.removeEventListener('pointermove', onPointerMove);\n return;\n }\n if (!isDOMNode(moveEvent.target)) {\n return;\n }\n let focusCell = null;\n // In firefox the moveEvent.target may be captured so we must always\n // consult the coordinates #7245\n const override = !(IS_FIREFOX || tableElement.contains(moveEvent.target));\n if (override) {\n focusCell = getDOMCellInTableFromTarget(tableElement, moveEvent.target);\n } else {\n for (const el of document.elementsFromPoint(moveEvent.clientX, moveEvent.clientY)) {\n focusCell = getDOMCellInTableFromTarget(tableElement, el);\n if (focusCell) {\n break;\n }\n }\n }\n if (focusCell) {\n const anchorCell = focusCell;\n // Fallback: set anchor if still missing (handles race conditions)\n if (tableObserver.anchorCell === null) {\n editor.update(() => {\n tableObserver.$setAnchorCellForSelection(anchorCell);\n });\n }\n if (tableObserver.focusCell === null || focusCell.elem !== tableObserver.focusCell.elem) {\n tableObserver.setNextFocus({\n focusCell,\n override\n });\n editor.dispatchCommand(SELECTION_CHANGE_COMMAND, undefined);\n }\n }\n };\n editorWindow.addEventListener('pointerup', onPointerUp, tableObserver.listenerOptions);\n editorWindow.addEventListener('pointermove', onPointerMove, tableObserver.listenerOptions);\n };\n const onPointerDown = event => {\n tableObserver.pointerType = event.pointerType;\n if (event.button !== 0 || !isDOMNode(event.target) || !editorWindow) {\n return;\n }\n const targetCell = getDOMCellFromTarget(event.target);\n if (targetCell !== null) {\n editor.update(() => {\n const prevSelection = $getPreviousSelection();\n // We can't trust Firefox to do the right thing with the selection and\n // we don't have a proper state machine to do this \"correctly\" but\n // if we go ahead and make the table selection now it will work\n if (IS_FIREFOX && event.shiftKey && $isSelectionInTable(prevSelection, tableNode) && ($isRangeSelection(prevSelection) || $isTableSelection(prevSelection))) {\n const prevAnchorNode = prevSelection.anchor.getNode();\n const prevAnchorCell = $findParentTableCellNodeInTable(tableNode, prevSelection.anchor.getNode());\n if (prevAnchorCell) {\n tableObserver.$setAnchorCellForSelection($getObserverCellFromCellNodeOrThrow(tableObserver, prevAnchorCell));\n tableObserver.$setFocusCellForSelection(targetCell);\n stopEvent(event);\n } else {\n const newSelection = tableNode.isBefore(prevAnchorNode) ? tableNode.selectStart() : tableNode.selectEnd();\n newSelection.anchor.set(prevSelection.anchor.key, prevSelection.anchor.offset, prevSelection.anchor.type);\n }\n } else {\n // Only set anchor cell for selection if this is not a simple touch tap\n // Touch taps should not initiate table selection mode\n if (event.pointerType !== 'touch') {\n tableObserver.$setAnchorCellForSelection(targetCell);\n }\n }\n });\n }\n\n // Pass the target cell to createPointerHandlers so it can be used as anchor\n // if user drags directly without clicking first\n createPointerHandlers(targetCell);\n };\n tableElement.addEventListener('pointerdown', onPointerDown, tableObserver.listenerOptions);\n tableObserver.listenersToRemove.add(() => {\n tableElement.removeEventListener('pointerdown', onPointerDown);\n });\n const onTripleClick = event => {\n if (event.detail >= 3 && isDOMNode(event.target)) {\n const targetCell = getDOMCellFromTarget(event.target);\n if (targetCell !== null) {\n event.preventDefault();\n }\n }\n };\n tableElement.addEventListener('mousedown', onTripleClick, tableObserver.listenerOptions);\n tableObserver.listenersToRemove.add(() => {\n tableElement.removeEventListener('mousedown', onTripleClick);\n });\n\n // Clear selection when clicking outside of dom.\n const pointerDownCallback = event => {\n const target = event.target;\n if (event.button !== 0 || !isDOMNode(target)) {\n return;\n }\n editor.update(() => {\n const selection = $getSelection();\n if ($isTableSelection(selection) && selection.tableKey === tableObserver.tableNodeKey && rootElement.contains(target)) {\n tableObserver.$clearHighlight();\n }\n });\n };\n editorWindow.addEventListener('pointerdown', pointerDownCallback, tableObserver.listenerOptions);\n tableObserver.listenersToRemove.add(() => {\n editorWindow.removeEventListener('pointerdown', pointerDownCallback);\n });\n for (const [command, direction] of ARROW_KEY_COMMANDS_WITH_DIRECTION) {\n tableObserver.listenersToRemove.add(editor.registerCommand(command, event => $handleArrowKey(editor, event, direction, tableNode, tableObserver), COMMAND_PRIORITY_HIGH));\n }\n tableObserver.listenersToRemove.add(editor.registerCommand(KEY_ESCAPE_COMMAND, event => {\n const selection = $getSelection();\n if ($isTableSelection(selection)) {\n const focusCellNode = $findParentTableCellNodeInTable(tableNode, selection.focus.getNode());\n if (focusCellNode !== null) {\n stopEvent(event);\n focusCellNode.selectEnd();\n return true;\n }\n }\n return false;\n }, COMMAND_PRIORITY_HIGH));\n const deleteTextHandler = command => () => {\n const selection = $getSelection();\n if (!$isSelectionInTable(selection, tableNode)) {\n return false;\n }\n if ($isTableSelection(selection)) {\n tableObserver.$clearText();\n return true;\n } else if ($isRangeSelection(selection)) {\n const tableCellNode = $findParentTableCellNodeInTable(tableNode, selection.anchor.getNode());\n if (!$isTableCellNode(tableCellNode)) {\n return false;\n }\n const anchorNode = selection.anchor.getNode();\n const focusNode = selection.focus.getNode();\n const isAnchorInside = tableNode.isParentOf(anchorNode);\n const isFocusInside = tableNode.isParentOf(focusNode);\n const selectionContainsPartialTable = isAnchorInside && !isFocusInside || isFocusInside && !isAnchorInside;\n if (selectionContainsPartialTable) {\n tableObserver.$clearText();\n return true;\n }\n const nearestElementNode = $findMatchingParent(selection.anchor.getNode(), n => $isElementNode(n));\n const topLevelCellElementNode = nearestElementNode && $findMatchingParent(nearestElementNode, n => $isElementNode(n) && $isTableCellNode(n.getParent()));\n if (!$isElementNode(topLevelCellElementNode) || !$isElementNode(nearestElementNode)) {\n return false;\n }\n if (command === DELETE_LINE_COMMAND && topLevelCellElementNode.getPreviousSibling() === null) {\n // TODO: Fix Delete Line in Table Cells.\n return true;\n }\n }\n return false;\n };\n for (const command of DELETE_TEXT_COMMANDS) {\n tableObserver.listenersToRemove.add(editor.registerCommand(command, deleteTextHandler(command), COMMAND_PRIORITY_HIGH));\n }\n const $deleteCellHandler = event => {\n const selection = $getSelection();\n if (!($isTableSelection(selection) || $isRangeSelection(selection))) {\n return false;\n }\n\n // If the selection is inside the table but should remove the whole table\n // we expand the selection so that both the anchor and focus are outside\n // the table and the editor's command listener will handle the delete\n const isAnchorInside = tableNode.isParentOf(selection.anchor.getNode());\n const isFocusInside = tableNode.isParentOf(selection.focus.getNode());\n if (isAnchorInside !== isFocusInside) {\n const tablePoint = isAnchorInside ? 'anchor' : 'focus';\n const outerPoint = isAnchorInside ? 'focus' : 'anchor';\n // Preserve the outer point\n const {\n key,\n offset,\n type\n } = selection[outerPoint];\n // Expand the selection around the table\n const newSelection = tableNode[selection[tablePoint].isBefore(selection[outerPoint]) ? 'selectPrevious' : 'selectNext']();\n // Restore the outer point of the selection\n newSelection[outerPoint].set(key, offset, type);\n // Let the base implementation handle the rest\n return false;\n }\n if (!$isSelectionInTable(selection, tableNode)) {\n return false;\n }\n if ($isTableSelection(selection)) {\n if (event) {\n event.preventDefault();\n event.stopPropagation();\n }\n tableObserver.$clearText();\n return true;\n }\n return false;\n };\n for (const command of DELETE_KEY_COMMANDS) {\n tableObserver.listenersToRemove.add(editor.registerCommand(command, $deleteCellHandler, COMMAND_PRIORITY_HIGH));\n }\n tableObserver.listenersToRemove.add(editor.registerCommand(CUT_COMMAND, event => {\n const selection = $getSelection();\n if (selection) {\n if (!($isTableSelection(selection) || $isRangeSelection(selection))) {\n return false;\n }\n // Copying to the clipboard is async so we must capture the data\n // before we delete it\n void copyToClipboard(editor, objectKlassEquals(event, ClipboardEvent) ? event : null, $getClipboardDataFromSelection(selection));\n const intercepted = $deleteCellHandler(event);\n if ($isRangeSelection(selection)) {\n selection.removeText();\n return true;\n }\n return intercepted;\n }\n return false;\n }, COMMAND_PRIORITY_HIGH));\n tableObserver.listenersToRemove.add(editor.registerCommand(FORMAT_TEXT_COMMAND, payload => {\n const selection = $getSelection();\n if (!$isSelectionInTable(selection, tableNode)) {\n return false;\n }\n if ($isTableSelection(selection)) {\n tableObserver.$formatCells(payload);\n return true;\n } else if ($isRangeSelection(selection)) {\n const tableCellNode = $findMatchingParent(selection.anchor.getNode(), n => $isTableCellNode(n));\n if (!$isTableCellNode(tableCellNode)) {\n return false;\n }\n }\n return false;\n }, COMMAND_PRIORITY_HIGH));\n tableObserver.listenersToRemove.add(editor.registerCommand(FORMAT_ELEMENT_COMMAND, formatType => {\n const selection = $getSelection();\n if (!$isTableSelection(selection) || !$isSelectionInTable(selection, tableNode)) {\n return false;\n }\n const anchorNode = selection.anchor.getNode();\n const focusNode = selection.focus.getNode();\n if (!$isTableCellNode(anchorNode) || !$isTableCellNode(focusNode)) {\n return false;\n }\n\n // Align the table if the entire table is selected\n if ($isFullTableSelection(selection, tableNode)) {\n tableNode.setFormat(formatType);\n return true;\n }\n const [tableMap, anchorCell, focusCell] = $computeTableMap(tableNode, anchorNode, focusNode);\n const maxRow = Math.max(anchorCell.startRow + anchorCell.cell.__rowSpan - 1, focusCell.startRow + focusCell.cell.__rowSpan - 1);\n const maxColumn = Math.max(anchorCell.startColumn + anchorCell.cell.__colSpan - 1, focusCell.startColumn + focusCell.cell.__colSpan - 1);\n const minRow = Math.min(anchorCell.startRow, focusCell.startRow);\n const minColumn = Math.min(anchorCell.startColumn, focusCell.startColumn);\n const visited = new Set();\n for (let i = minRow; i <= maxRow; i++) {\n for (let j = minColumn; j <= maxColumn; j++) {\n const cell = tableMap[i][j].cell;\n if (visited.has(cell)) {\n continue;\n }\n visited.add(cell);\n cell.setFormat(formatType);\n const cellChildren = cell.getChildren();\n for (let k = 0; k < cellChildren.length; k++) {\n const child = cellChildren[k];\n if ($isElementNode(child) && !child.isInline()) {\n child.setFormat(formatType);\n }\n }\n }\n }\n return true;\n }, COMMAND_PRIORITY_HIGH));\n tableObserver.listenersToRemove.add(editor.registerCommand(CONTROLLED_TEXT_INSERTION_COMMAND, payload => {\n const selection = $getSelection();\n if (!$isSelectionInTable(selection, tableNode)) {\n return false;\n }\n if ($isTableSelection(selection)) {\n tableObserver.$clearHighlight();\n return false;\n } else if ($isRangeSelection(selection)) {\n const tableCellNode = $findMatchingParent(selection.anchor.getNode(), n => $isTableCellNode(n));\n if (!$isTableCellNode(tableCellNode)) {\n return false;\n }\n if (typeof payload === 'string') {\n const edgePosition = $getTableEdgeCursorPosition(editor, selection, tableNode);\n if (edgePosition) {\n $insertParagraphAtTableEdge(edgePosition, tableNode, [$createTextNode(payload)]);\n return true;\n }\n }\n }\n return false;\n }, COMMAND_PRIORITY_HIGH));\n if (hasTabHandler) {\n tableObserver.listenersToRemove.add(editor.registerCommand(KEY_TAB_COMMAND, event => {\n const selection = $getSelection();\n if (!$isRangeSelection(selection) || !selection.isCollapsed() || !$isSelectionInTable(selection, tableNode)) {\n return false;\n }\n const tableCellNode = $findCellNode(selection.anchor.getNode());\n if (tableCellNode === null || !tableNode.is($findTableNode(tableCellNode))) {\n return false;\n }\n stopEvent(event);\n $selectAdjacentCell(tableCellNode, event.shiftKey ? 'previous' : 'next');\n return true;\n }, COMMAND_PRIORITY_HIGH));\n }\n tableObserver.listenersToRemove.add(editor.registerCommand(FOCUS_COMMAND, payload => {\n return tableNode.isSelected();\n }, COMMAND_PRIORITY_HIGH));\n tableObserver.listenersToRemove.add(editor.registerCommand(SELECTION_CHANGE_COMMAND, () => {\n const selection = $getSelection();\n const prevSelection = $getPreviousSelection();\n const nextFocus = tableObserver.getAndClearNextFocus();\n if (nextFocus !== null) {\n const {\n focusCell\n } = nextFocus;\n if ($isTableSelection(selection) && selection.tableKey === tableObserver.tableNodeKey) {\n if (focusCell.x === tableObserver.focusX && focusCell.y === tableObserver.focusY) {\n // The selection is already the correct table selection\n return false;\n } else {\n tableObserver.$setFocusCellForSelection(focusCell);\n return true;\n }\n } else if (focusCell !== tableObserver.anchorCell && tableObserver.anchorCell !== null && tableObserver.anchorCellNodeKey !== null && tableObserver.tableSelection !== null) {\n // The selection has crossed cells\n // If we have an anchor cell set and tableSelection initialized,\n // we have all the necessary state to create the selection.\n // The presence of nextFocus means we're dragging, so process it.\n // Use ignoreStart=true to ensure isHighlightingCells is set correctly\n // on the first drag attempt, especially when switching columns.\n tableObserver.$setFocusCellForSelection(focusCell, true);\n return true;\n }\n }\n const shouldCheckSelection = tableObserver.getAndClearShouldCheckSelection();\n // If they pressed the down arrow with the selection outside of the\n // table, and then the selection ends up in the table but not in the\n // first cell, then move the selection to the first cell.\n if (shouldCheckSelection && $isRangeSelection(prevSelection) && $isRangeSelection(selection) && selection.isCollapsed()) {\n const anchor = selection.anchor.getNode();\n const firstRow = tableNode.getFirstChild();\n const anchorCell = $findCellNode(anchor);\n if (anchorCell !== null && $isTableRowNode(firstRow)) {\n const firstCell = firstRow.getFirstChild();\n if ($isTableCellNode(firstCell) && tableNode.is($findMatchingParent(anchorCell, node => node.is(tableNode) || node.is(firstCell)))) {\n // The selection moved to the table, but not in the first cell\n firstCell.selectStart();\n return true;\n }\n }\n }\n if ($isRangeSelection(selection)) {\n const {\n anchor,\n focus\n } = selection;\n const anchorNode = anchor.getNode();\n const focusNode = focus.getNode();\n // Using explicit comparison with table node to ensure it's not a nested table\n // as in that case we'll leave selection resolving to that table\n const anchorCellNode = $findCellNode(anchorNode);\n const focusCellNode = $findCellNode(focusNode);\n const isAnchorInside = !!(anchorCellNode && tableNode.is($findTableNode(anchorCellNode)));\n const isFocusInside = !!(focusCellNode && tableNode.is($findTableNode(focusCellNode)));\n const isPartiallyWithinTable = isAnchorInside !== isFocusInside;\n const isWithinTable = isAnchorInside && isFocusInside;\n const isBackward = selection.isBackward();\n if (isPartiallyWithinTable) {\n const newSelection = selection.clone();\n if (isFocusInside) {\n const [tableMap] = $computeTableMap(tableNode, focusCellNode, focusCellNode);\n const firstCell = tableMap[0][0].cell;\n const lastCell = tableMap[tableMap.length - 1].at(-1).cell;\n // When backward, focus should be at START of first cell (0)\n // When forward, focus should be at END of last cell (getChildrenSize)\n newSelection.focus.set(isBackward ? firstCell.getKey() : lastCell.getKey(), isBackward ? 0 : lastCell.getChildrenSize(), 'element');\n } else if (isAnchorInside) {\n const [tableMap] = $computeTableMap(tableNode, anchorCellNode, anchorCellNode);\n const firstCell = tableMap[0][0].cell;\n const lastCell = tableMap[tableMap.length - 1].at(-1).cell;\n /**\n * If isBackward, set the anchor to be at the end of the table so that when the cursor moves outside of\n * the table in the backward direction, the entire table will be selected from its end.\n * Otherwise, if forward, set the anchor to be at the start of the table so that when the focus is dragged\n * outside th end of the table, it will start from the beginning of the table.\n */\n newSelection.anchor.set(isBackward ? lastCell.getKey() : firstCell.getKey(), isBackward ? lastCell.getChildrenSize() : 0, 'element');\n }\n $setSelection(newSelection);\n $addHighlightStyleToTable(editor, tableObserver);\n } else if (isWithinTable) {\n // Handle case when selection spans across multiple cells but still\n // has range selection, then we convert it into table selection\n if (!anchorCellNode.is(focusCellNode)) {\n tableObserver.$setAnchorCellForSelection($getObserverCellFromCellNodeOrThrow(tableObserver, anchorCellNode));\n tableObserver.$setFocusCellForSelection($getObserverCellFromCellNodeOrThrow(tableObserver, focusCellNode), true);\n }\n\n // Handle case when the pointer type is touch and the current and\n // previous selection are collapsed, and the previous anchor and current\n // focus cell nodes are different, then we convert it into table selection\n // However, only do this if the table observer is actively selecting (user dragging)\n // to prevent unwanted selections when simply tapping between cells on mobile\n if (tableObserver.pointerType === 'touch' && tableObserver.isSelecting && selection.isCollapsed() && $isRangeSelection(prevSelection) && prevSelection.isCollapsed()) {\n const prevAnchorCellNode = $findCellNode(prevSelection.anchor.getNode());\n if (prevAnchorCellNode && !prevAnchorCellNode.is(focusCellNode)) {\n tableObserver.$setAnchorCellForSelection($getObserverCellFromCellNodeOrThrow(tableObserver, prevAnchorCellNode));\n tableObserver.$setFocusCellForSelection($getObserverCellFromCellNodeOrThrow(tableObserver, focusCellNode), true);\n tableObserver.pointerType = null;\n }\n }\n }\n } else if (selection && $isTableSelection(selection) && selection.is(prevSelection) && selection.tableKey === tableNode.getKey()) {\n // if selection goes outside of the table we need to change it to Range selection\n const domSelection = getDOMSelection(editorWindow);\n if (domSelection && domSelection.anchorNode && domSelection.focusNode) {\n const focusNode = $getNearestNodeFromDOMNode(domSelection.focusNode);\n const isFocusOutside = focusNode && !tableNode.isParentOf(focusNode);\n const anchorNode = $getNearestNodeFromDOMNode(domSelection.anchorNode);\n const isAnchorInside = anchorNode && tableNode.isParentOf(anchorNode);\n if (isFocusOutside && isAnchorInside && domSelection.rangeCount > 0) {\n const newSelection = $createRangeSelectionFromDom(domSelection, editor);\n if (newSelection) {\n newSelection.anchor.set(tableNode.getKey(), selection.isBackward() ? tableNode.getChildrenSize() : 0, 'element');\n domSelection.removeAllRanges();\n $setSelection(newSelection);\n }\n }\n }\n }\n if (selection && !selection.is(prevSelection) && ($isTableSelection(selection) || $isTableSelection(prevSelection)) && tableObserver.tableSelection && !tableObserver.tableSelection.is(prevSelection)) {\n if ($isTableSelection(selection) && selection.tableKey === tableObserver.tableNodeKey) {\n tableObserver.$updateTableTableSelection(selection);\n } else if (!$isTableSelection(selection) && $isTableSelection(prevSelection) && prevSelection.tableKey === tableObserver.tableNodeKey) {\n tableObserver.$updateTableTableSelection(null);\n }\n return false;\n }\n if (tableObserver.hasHijackedSelectionStyles && !tableNode.isSelected()) {\n $removeHighlightStyleToTable(editor, tableObserver);\n } else if (!tableObserver.hasHijackedSelectionStyles && tableNode.isSelected()) {\n $addHighlightStyleToTable(editor, tableObserver);\n }\n return false;\n }, COMMAND_PRIORITY_HIGH));\n tableObserver.listenersToRemove.add(editor.registerCommand(INSERT_PARAGRAPH_COMMAND, () => {\n const selection = $getSelection();\n if (!$isRangeSelection(selection) || !selection.isCollapsed() || !$isSelectionInTable(selection, tableNode)) {\n return false;\n }\n const edgePosition = $getTableEdgeCursorPosition(editor, selection, tableNode);\n if (edgePosition) {\n $insertParagraphAtTableEdge(edgePosition, tableNode);\n return true;\n }\n return false;\n }, COMMAND_PRIORITY_HIGH));\n return tableObserver;\n}\nfunction detachTableObserverFromTableElement(tableElement, tableObserver) {\n if (getTableObserverFromTableElement(tableElement) === tableObserver) {\n delete tableElement[LEXICAL_ELEMENT_KEY];\n }\n}\nfunction attachTableObserverToTableElement(tableElement, tableObserver) {\n if (!(getTableObserverFromTableElement(tableElement) === null)) {\n formatDevErrorMessage(`tableElement already has an attached TableObserver`);\n }\n tableElement[LEXICAL_ELEMENT_KEY] = tableObserver;\n}\nfunction getTableObserverFromTableElement(tableElement) {\n return tableElement[LEXICAL_ELEMENT_KEY] || null;\n}\nfunction getDOMCellFromTarget(node) {\n let currentNode = node;\n while (currentNode != null) {\n const nodeName = currentNode.nodeName;\n if (nodeName === 'TD' || nodeName === 'TH') {\n // @ts-expect-error: internal field\n const cell = currentNode._cell;\n if (cell === undefined) {\n return null;\n }\n return cell;\n }\n currentNode = currentNode.parentNode;\n }\n return null;\n}\nfunction getDOMCellInTableFromTarget(table, node) {\n if (!table.contains(node)) {\n return null;\n }\n let cell = null;\n for (let currentNode = node; currentNode != null; currentNode = currentNode.parentNode) {\n if (currentNode === table) {\n return cell;\n }\n const nodeName = currentNode.nodeName;\n if (nodeName === 'TD' || nodeName === 'TH') {\n // @ts-expect-error: internal field\n cell = currentNode._cell || null;\n }\n }\n return null;\n}\nfunction getTable(tableNode, dom) {\n const tableElement = getTableElement(tableNode, dom);\n const domRows = [];\n const grid = {\n columns: 0,\n domRows,\n rows: 0\n };\n let currentNode = tableElement.querySelector('tr');\n let x = 0;\n let y = 0;\n domRows.length = 0;\n while (currentNode != null) {\n const nodeMame = currentNode.nodeName;\n if (nodeMame === 'TD' || nodeMame === 'TH') {\n const elem = currentNode;\n const cell = {\n elem,\n hasBackgroundColor: elem.style.backgroundColor !== '',\n highlighted: false,\n x,\n y\n };\n\n // @ts-expect-error: internal field\n currentNode._cell = cell;\n let row = domRows[y];\n if (row === undefined) {\n row = domRows[y] = [];\n }\n row[x] = cell;\n } else {\n const child = currentNode.firstChild;\n if (child != null) {\n currentNode = child;\n continue;\n }\n }\n const sibling = currentNode.nextSibling;\n if (sibling != null) {\n x++;\n currentNode = sibling;\n continue;\n }\n const parent = currentNode.parentNode;\n if (parent != null) {\n const parentSibling = parent.nextSibling;\n if (parentSibling == null) {\n break;\n }\n y++;\n x = 0;\n currentNode = parentSibling;\n }\n }\n grid.columns = x + 1;\n grid.rows = y + 1;\n return grid;\n}\nfunction $updateDOMForSelection(editor, table, selection) {\n const selectedCellNodes = new Set(selection ? selection.getNodes() : []);\n $forEachTableCell(table, (cell, lexicalNode) => {\n const elem = cell.elem;\n if (selectedCellNodes.has(lexicalNode)) {\n cell.highlighted = true;\n $addHighlightToDOM(editor, cell);\n } else {\n cell.highlighted = false;\n $removeHighlightFromDOM(editor, cell);\n if (!elem.getAttribute('style')) {\n elem.removeAttribute('style');\n }\n }\n });\n}\nfunction $forEachTableCell(grid, cb) {\n const {\n domRows\n } = grid;\n for (let y = 0; y < domRows.length; y++) {\n const row = domRows[y];\n if (!row) {\n continue;\n }\n for (let x = 0; x < row.length; x++) {\n const cell = row[x];\n if (!cell) {\n continue;\n }\n const lexicalNode = $getNearestNodeFromDOMNode(cell.elem);\n if (lexicalNode !== null) {\n cb(cell, lexicalNode, {\n x,\n y\n });\n }\n }\n }\n}\nfunction $addHighlightStyleToTable(editor, tableSelection) {\n tableSelection.$disableHighlightStyle();\n $forEachTableCell(tableSelection.table, cell => {\n cell.highlighted = true;\n $addHighlightToDOM(editor, cell);\n });\n}\nfunction $removeHighlightStyleToTable(editor, tableObserver) {\n tableObserver.$enableHighlightStyle();\n $forEachTableCell(tableObserver.table, cell => {\n const elem = cell.elem;\n cell.highlighted = false;\n $removeHighlightFromDOM(editor, cell);\n if (!elem.getAttribute('style')) {\n elem.removeAttribute('style');\n }\n });\n}\nfunction $selectAdjacentCell(tableCellNode, direction) {\n const siblingMethod = direction === 'next' ? 'getNextSibling' : 'getPreviousSibling';\n const childMethod = direction === 'next' ? 'getFirstChild' : 'getLastChild';\n const sibling = tableCellNode[siblingMethod]();\n if ($isElementNode(sibling)) {\n return sibling.selectEnd();\n }\n const parentRow = $findMatchingParent(tableCellNode, $isTableRowNode);\n if (!(parentRow !== null)) {\n formatDevErrorMessage(`selectAdjacentCell: Cell not in table row`);\n }\n for (let nextRow = parentRow[siblingMethod](); $isTableRowNode(nextRow); nextRow = nextRow[siblingMethod]()) {\n const child = nextRow[childMethod]();\n if ($isElementNode(child)) {\n return child.selectEnd();\n }\n }\n const parentTable = $findMatchingParent(parentRow, $isTableNode);\n if (!(parentTable !== null)) {\n formatDevErrorMessage(`selectAdjacentCell: Row not in table`);\n }\n return direction === 'next' ? parentTable.selectNext() : parentTable.selectPrevious();\n}\nconst selectTableNodeInDirection = (tableObserver, tableNode, x, y, direction) => {\n const isForward = direction === 'forward';\n switch (direction) {\n case 'backward':\n case 'forward':\n if (x !== (isForward ? tableObserver.table.columns - 1 : 0)) {\n selectTableCellNode(tableNode.getCellNodeFromCordsOrThrow(x + (isForward ? 1 : -1), y, tableObserver.table), isForward);\n } else {\n if (y !== (isForward ? tableObserver.table.rows - 1 : 0)) {\n selectTableCellNode(tableNode.getCellNodeFromCordsOrThrow(isForward ? 0 : tableObserver.table.columns - 1, y + (isForward ? 1 : -1), tableObserver.table), isForward);\n } else if (!isForward) {\n tableNode.selectPrevious();\n } else {\n tableNode.selectNext();\n }\n }\n return true;\n case 'up':\n if (y !== 0) {\n selectTableCellNode(tableNode.getCellNodeFromCordsOrThrow(x, y - 1, tableObserver.table), false);\n } else {\n tableNode.selectPrevious();\n }\n return true;\n case 'down':\n if (y !== tableObserver.table.rows - 1) {\n selectTableCellNode(tableNode.getCellNodeFromCordsOrThrow(x, y + 1, tableObserver.table), true);\n } else {\n tableNode.selectNext();\n }\n return true;\n default:\n return false;\n }\n};\nfunction getCorner(rect, cellValue) {\n let colName;\n let rowName;\n if (cellValue.startColumn === rect.minColumn) {\n colName = 'minColumn';\n } else if (cellValue.startColumn + cellValue.cell.__colSpan - 1 === rect.maxColumn) {\n colName = 'maxColumn';\n } else {\n return null;\n }\n if (cellValue.startRow === rect.minRow) {\n rowName = 'minRow';\n } else if (cellValue.startRow + cellValue.cell.__rowSpan - 1 === rect.maxRow) {\n rowName = 'maxRow';\n } else {\n return null;\n }\n return [colName, rowName];\n}\nfunction getCornerOrThrow(rect, cellValue) {\n const corner = getCorner(rect, cellValue);\n if (!(corner !== null)) {\n formatDevErrorMessage(`getCornerOrThrow: cell ${cellValue.cell.getKey()} is not at a corner of rect`);\n }\n return corner;\n}\nfunction oppositeCorner([colName, rowName]) {\n return [colName === 'minColumn' ? 'maxColumn' : 'minColumn', rowName === 'minRow' ? 'maxRow' : 'minRow'];\n}\nfunction cellAtCornerOrThrow(tableMap, rect, [colName, rowName]) {\n const rowNum = rect[rowName];\n const rowMap = tableMap[rowNum];\n if (!(rowMap !== undefined)) {\n formatDevErrorMessage(`cellAtCornerOrThrow: ${rowName} = ${String(rowNum)} missing in tableMap`);\n }\n const colNum = rect[colName];\n const cell = rowMap[colNum];\n if (!(cell !== undefined)) {\n formatDevErrorMessage(`cellAtCornerOrThrow: ${colName} = ${String(colNum)} missing in tableMap`);\n }\n return cell;\n}\nfunction $extractRectCorners(tableMap, anchorCellValue, newFocusCellValue) {\n // We are sure that the focus now either contracts or expands the rect\n // but both the anchor and focus might be moved to ensure a rectangle\n // given a potentially ragged merge shape\n const rect = $computeTableCellRectBoundary(tableMap, anchorCellValue, newFocusCellValue);\n const anchorCorner = getCorner(rect, anchorCellValue);\n if (anchorCorner) {\n return [cellAtCornerOrThrow(tableMap, rect, anchorCorner), cellAtCornerOrThrow(tableMap, rect, oppositeCorner(anchorCorner))];\n }\n const newFocusCorner = getCorner(rect, newFocusCellValue);\n if (newFocusCorner) {\n return [cellAtCornerOrThrow(tableMap, rect, oppositeCorner(newFocusCorner)), cellAtCornerOrThrow(tableMap, rect, newFocusCorner)];\n }\n // TODO this doesn't have to be arbitrary, use the closest corner instead\n const newAnchorCorner = ['minColumn', 'minRow'];\n return [cellAtCornerOrThrow(tableMap, rect, newAnchorCorner), cellAtCornerOrThrow(tableMap, rect, oppositeCorner(newAnchorCorner))];\n}\nfunction $adjustFocusInDirection(tableObserver, tableMap, anchorCellValue, focusCellValue, direction) {\n const rect = $computeTableCellRectBoundary(tableMap, anchorCellValue, focusCellValue);\n const spans = $computeTableCellRectSpans(tableMap, rect);\n const {\n topSpan,\n leftSpan,\n bottomSpan,\n rightSpan\n } = spans;\n const anchorCorner = getCornerOrThrow(rect, anchorCellValue);\n const [focusColumn, focusRow] = oppositeCorner(anchorCorner);\n let fCol = rect[focusColumn];\n let fRow = rect[focusRow];\n if (direction === 'forward') {\n fCol += focusColumn === 'maxColumn' ? 1 : leftSpan;\n } else if (direction === 'backward') {\n fCol -= focusColumn === 'minColumn' ? 1 : rightSpan;\n } else if (direction === 'down') {\n fRow += focusRow === 'maxRow' ? 1 : topSpan;\n } else if (direction === 'up') {\n fRow -= focusRow === 'minRow' ? 1 : bottomSpan;\n }\n const targetRowMap = tableMap[fRow];\n if (targetRowMap === undefined) {\n return false;\n }\n const newFocusCellValue = targetRowMap[fCol];\n if (newFocusCellValue === undefined) {\n return false;\n }\n // We can be certain that anchorCellValue and newFocusCellValue are\n // contained within the desired selection, but we are not certain if\n // they need to be expanded or not to maintain a rectangular shape\n const [finalAnchorCell, finalFocusCell] = $extractRectCorners(tableMap, anchorCellValue, newFocusCellValue);\n const anchorDOM = $getObserverCellFromCellNodeOrThrow(tableObserver, finalAnchorCell.cell);\n const focusDOM = $getObserverCellFromCellNodeOrThrow(tableObserver, finalFocusCell.cell);\n tableObserver.$setAnchorCellForSelection(anchorDOM);\n tableObserver.$setFocusCellForSelection(focusDOM, true);\n return true;\n}\nfunction $isSelectionInTable(selection, tableNode) {\n if ($isRangeSelection(selection) || $isTableSelection(selection)) {\n // TODO this should probably return false if there's an unrelated\n // shadow root between the node and the table (e.g. another table,\n // collapsible, etc.)\n const isAnchorInside = tableNode.isParentOf(selection.anchor.getNode());\n const isFocusInside = tableNode.isParentOf(selection.focus.getNode());\n return isAnchorInside && isFocusInside;\n }\n return false;\n}\nfunction $isFullTableSelection(selection, tableNode) {\n if ($isTableSelection(selection)) {\n const anchorNode = selection.anchor.getNode();\n const focusNode = selection.focus.getNode();\n if (tableNode && anchorNode && focusNode) {\n const [map] = $computeTableMap(tableNode, anchorNode, focusNode);\n return anchorNode.getKey() === map[0][0].cell.getKey() && focusNode.getKey() === map[map.length - 1].at(-1).cell.getKey();\n }\n }\n return false;\n}\nfunction selectTableCellNode(tableCell, fromStart) {\n if (fromStart) {\n tableCell.selectStart();\n } else {\n tableCell.selectEnd();\n }\n}\nfunction $addHighlightToDOM(editor, cell) {\n const element = cell.elem;\n const editorThemeClasses = editor._config.theme;\n const node = $getNearestNodeFromDOMNode(element);\n if (!$isTableCellNode(node)) {\n formatDevErrorMessage(`Expected to find LexicalNode from Table Cell DOMNode`);\n }\n addClassNamesToElement(element, editorThemeClasses.tableCellSelected);\n}\nfunction $removeHighlightFromDOM(editor, cell) {\n const element = cell.elem;\n const node = $getNearestNodeFromDOMNode(element);\n if (!$isTableCellNode(node)) {\n formatDevErrorMessage(`Expected to find LexicalNode from Table Cell DOMNode`);\n }\n const editorThemeClasses = editor._config.theme;\n removeClassNamesFromElement(element, editorThemeClasses.tableCellSelected);\n}\nfunction $findCellNode(node) {\n const cellNode = $findMatchingParent(node, $isTableCellNode);\n return $isTableCellNode(cellNode) ? cellNode : null;\n}\nfunction $findTableNode(node) {\n const tableNode = $findMatchingParent(node, $isTableNode);\n return $isTableNode(tableNode) ? tableNode : null;\n}\nfunction $getBlockParentIfFirstNode(node) {\n for (let prevNode = node, currentNode = node; currentNode !== null; prevNode = currentNode, currentNode = currentNode.getParent()) {\n if ($isElementNode(currentNode)) {\n if (currentNode !== prevNode && currentNode.getFirstChild() !== prevNode) {\n // Not the first child or the initial node\n return null;\n } else if (!currentNode.isInline()) {\n return currentNode;\n }\n }\n }\n return null;\n}\nfunction $handleHorizontalArrowKeyRangeSelection(editor, event, selection, alter, isBackward, tableNode, tableObserver) {\n const initialFocus = $caretFromPoint(selection.focus, isBackward ? 'previous' : 'next');\n if ($isExtendableTextPointCaret(initialFocus)) {\n return false;\n }\n let lastCaret = initialFocus;\n // TableCellNode is the only shadow root we are interested in piercing so\n // we find the last internal caret and then check its parent\n for (const nextCaret of $extendCaretToRange(initialFocus).iterNodeCarets('shadowRoot')) {\n if (!($isSiblingCaret(nextCaret) && $isElementNode(nextCaret.origin))) {\n return false;\n }\n lastCaret = nextCaret;\n }\n const lastCaretParent = lastCaret.getParentAtCaret();\n if (!$isTableCellNode(lastCaretParent)) {\n return false;\n }\n const anchorCell = lastCaretParent;\n const focusCaret = $findNextTableCell($getSiblingCaret(anchorCell, lastCaret.direction));\n const anchorCellTable = $findMatchingParent(anchorCell, $isTableNode);\n if (!(anchorCellTable && anchorCellTable.is(tableNode))) {\n return false;\n }\n const anchorCellDOM = editor.getElementByKey(anchorCell.getKey());\n const anchorDOMCell = getDOMCellFromTarget(anchorCellDOM);\n if (!anchorCellDOM || !anchorDOMCell) {\n return false;\n }\n const anchorCellTableElement = $getElementForTableNode(editor, anchorCellTable);\n tableObserver.table = anchorCellTableElement;\n if (!focusCaret) {\n if (alter === 'extend') {\n // extend the selection from a range inside the cell to a table selection of the cell\n tableObserver.$setAnchorCellForSelection(anchorDOMCell);\n tableObserver.$setFocusCellForSelection(anchorDOMCell, true);\n } else {\n // exit the table\n const outerFocusCaret = $getTableExitCaret($getSiblingCaret(anchorCellTable, initialFocus.direction));\n $setPointFromCaret(selection.anchor, outerFocusCaret);\n $setPointFromCaret(selection.focus, outerFocusCaret);\n }\n } else if (alter === 'extend') {\n const focusDOMCell = getDOMCellFromTarget(editor.getElementByKey(focusCaret.origin.getKey()));\n if (!focusDOMCell) {\n return false;\n }\n tableObserver.$setAnchorCellForSelection(anchorDOMCell);\n tableObserver.$setFocusCellForSelection(focusDOMCell, true);\n } else {\n // alter === 'move'\n const innerFocusCaret = $normalizeCaret(focusCaret);\n $setPointFromCaret(selection.anchor, innerFocusCaret);\n $setPointFromCaret(selection.focus, innerFocusCaret);\n }\n stopEvent(event);\n return true;\n}\nfunction $getTableExitCaret(initialCaret) {\n const adjacent = $getAdjacentChildCaret(initialCaret);\n return $isChildCaret(adjacent) ? $normalizeCaret(adjacent) : initialCaret;\n}\nfunction $findNextTableCell(initialCaret) {\n for (const nextCaret of $extendCaretToRange(initialCaret).iterNodeCarets('root')) {\n const {\n origin\n } = nextCaret;\n if ($isTableCellNode(origin)) {\n // not sure why ts isn't narrowing here (even if the guard is on nextCaret.origin)\n // but returning a new caret is fine\n if ($isChildCaret(nextCaret)) {\n return $getChildCaret(origin, initialCaret.direction);\n }\n } else if (!$isTableRowNode(origin)) {\n break;\n }\n }\n return null;\n}\nfunction $handleArrowKey(editor, event, direction, tableNode, tableObserver) {\n if ((direction === 'up' || direction === 'down') && isTypeaheadMenuInView(editor)) {\n return false;\n }\n const selection = $getSelection();\n if (!$isSelectionInTable(selection, tableNode)) {\n if ($isRangeSelection(selection)) {\n if (direction === 'backward') {\n if (selection.focus.offset > 0) {\n return false;\n }\n const parentNode = $getBlockParentIfFirstNode(selection.focus.getNode());\n if (!parentNode) {\n return false;\n }\n const siblingNode = parentNode.getPreviousSibling();\n if (!$isTableNode(siblingNode)) {\n return false;\n }\n stopEvent(event);\n if (event.shiftKey) {\n selection.focus.set(siblingNode.getParentOrThrow().getKey(), siblingNode.getIndexWithinParent(), 'element');\n } else {\n siblingNode.selectEnd();\n }\n return true;\n } else if (event.shiftKey && (direction === 'up' || direction === 'down')) {\n const focusNode = selection.focus.getNode();\n const isTableUnselect = !selection.isCollapsed() && (direction === 'up' && !selection.isBackward() || direction === 'down' && selection.isBackward());\n if (isTableUnselect) {\n let focusParentNode = $findMatchingParent(focusNode, n => $isTableNode(n));\n if ($isTableCellNode(focusParentNode)) {\n focusParentNode = $findMatchingParent(focusParentNode, $isTableNode);\n }\n if (focusParentNode !== tableNode) {\n return false;\n }\n if (!focusParentNode) {\n return false;\n }\n const sibling = direction === 'down' ? focusParentNode.getNextSibling() : focusParentNode.getPreviousSibling();\n if (!sibling) {\n return false;\n }\n let newOffset = 0;\n if (direction === 'up') {\n if ($isElementNode(sibling)) {\n newOffset = sibling.getChildrenSize();\n }\n }\n let newFocusNode = sibling;\n if (direction === 'up') {\n if ($isElementNode(sibling)) {\n const lastCell = sibling.getLastChild();\n newFocusNode = lastCell ? lastCell : sibling;\n newOffset = $isTextNode(newFocusNode) ? newFocusNode.getTextContentSize() : 0;\n }\n }\n const newSelection = selection.clone();\n newSelection.focus.set(newFocusNode.getKey(), newOffset, $isTextNode(newFocusNode) ? 'text' : 'element');\n $setSelection(newSelection);\n stopEvent(event);\n return true;\n } else if ($isRootOrShadowRoot(focusNode)) {\n const selectedNode = direction === 'up' ? selection.getNodes()[selection.getNodes().length - 1] : selection.getNodes()[0];\n if (selectedNode) {\n const tableCellNode = $findParentTableCellNodeInTable(tableNode, selectedNode);\n if (tableCellNode !== null) {\n const firstDescendant = tableNode.getFirstDescendant();\n const lastDescendant = tableNode.getLastDescendant();\n if (!firstDescendant || !lastDescendant) {\n return false;\n }\n const [firstCellNode] = $getNodeTriplet(firstDescendant);\n const [lastCellNode] = $getNodeTriplet(lastDescendant);\n const firstCellCoords = tableNode.getCordsFromCellNode(firstCellNode, tableObserver.table);\n const lastCellCoords = tableNode.getCordsFromCellNode(lastCellNode, tableObserver.table);\n const firstCellDOM = tableNode.getDOMCellFromCordsOrThrow(firstCellCoords.x, firstCellCoords.y, tableObserver.table);\n const lastCellDOM = tableNode.getDOMCellFromCordsOrThrow(lastCellCoords.x, lastCellCoords.y, tableObserver.table);\n tableObserver.$setAnchorCellForSelection(firstCellDOM);\n tableObserver.$setFocusCellForSelection(lastCellDOM, true);\n return true;\n }\n }\n return false;\n } else {\n let focusParentNode = $findMatchingParent(focusNode, n => $isElementNode(n) && !n.isInline());\n if ($isTableCellNode(focusParentNode)) {\n focusParentNode = $findMatchingParent(focusParentNode, $isTableNode);\n }\n if (!focusParentNode) {\n return false;\n }\n const sibling = direction === 'down' ? focusParentNode.getNextSibling() : focusParentNode.getPreviousSibling();\n if ($isTableNode(sibling) && tableObserver.tableNodeKey === sibling.getKey()) {\n const firstDescendant = sibling.getFirstDescendant();\n const lastDescendant = sibling.getLastDescendant();\n if (!firstDescendant || !lastDescendant) {\n return false;\n }\n const [firstCellNode] = $getNodeTriplet(firstDescendant);\n const [lastCellNode] = $getNodeTriplet(lastDescendant);\n const newSelection = selection.clone();\n newSelection.focus.set((direction === 'up' ? firstCellNode : lastCellNode).getKey(), direction === 'up' ? 0 : lastCellNode.getChildrenSize(), 'element');\n stopEvent(event);\n $setSelection(newSelection);\n return true;\n }\n }\n }\n }\n if (direction === 'down' && $isScrollableTablesActive(editor)) {\n // Enable Firefox workaround\n tableObserver.setShouldCheckSelection();\n }\n return false;\n }\n if ($isRangeSelection(selection)) {\n if (direction === 'backward' || direction === 'forward') {\n const alter = event.shiftKey ? 'extend' : 'move';\n return $handleHorizontalArrowKeyRangeSelection(editor, event, selection, alter, direction === 'backward', tableNode, tableObserver);\n }\n if (selection.isCollapsed()) {\n const {\n anchor,\n focus\n } = selection;\n const anchorCellNode = $findMatchingParent(anchor.getNode(), $isTableCellNode);\n const focusCellNode = $findMatchingParent(focus.getNode(), $isTableCellNode);\n if (!$isTableCellNode(anchorCellNode) || !anchorCellNode.is(focusCellNode)) {\n return false;\n }\n const anchorCellTable = $findTableNode(anchorCellNode);\n if (anchorCellTable !== tableNode && anchorCellTable != null) {\n const anchorCellTableElement = getTableElement(anchorCellTable, editor.getElementByKey(anchorCellTable.getKey()));\n if (anchorCellTableElement != null) {\n tableObserver.table = getTable(anchorCellTable, anchorCellTableElement);\n return $handleArrowKey(editor, event, direction, anchorCellTable, tableObserver);\n }\n }\n const anchorCellDom = editor.getElementByKey(anchorCellNode.__key);\n const anchorDOM = editor.getElementByKey(anchor.key);\n if (anchorDOM == null || anchorCellDom == null) {\n return false;\n }\n let edgeSelectionRect;\n if (anchor.type === 'element') {\n edgeSelectionRect = anchorDOM.getBoundingClientRect();\n } else {\n const domSelection = getDOMSelection(getEditorWindow(editor));\n if (domSelection === null || domSelection.rangeCount === 0) {\n return false;\n }\n const range = domSelection.getRangeAt(0);\n edgeSelectionRect = range.getBoundingClientRect();\n }\n const edgeChild = direction === 'up' ? anchorCellNode.getFirstChild() : anchorCellNode.getLastChild();\n if (edgeChild == null) {\n return false;\n }\n const edgeChildDOM = editor.getElementByKey(edgeChild.__key);\n if (edgeChildDOM == null) {\n return false;\n }\n const edgeRect = edgeChildDOM.getBoundingClientRect();\n const isExiting = direction === 'up' ? edgeRect.top > edgeSelectionRect.top - edgeSelectionRect.height : edgeSelectionRect.bottom + edgeSelectionRect.height > edgeRect.bottom;\n if (isExiting) {\n stopEvent(event);\n const cords = tableNode.getCordsFromCellNode(anchorCellNode, tableObserver.table);\n if (event.shiftKey) {\n const cell = tableNode.getDOMCellFromCordsOrThrow(cords.x, cords.y, tableObserver.table);\n tableObserver.$setAnchorCellForSelection(cell);\n tableObserver.$setFocusCellForSelection(cell, true);\n } else {\n return selectTableNodeInDirection(tableObserver, tableNode, cords.x, cords.y, direction);\n }\n return true;\n }\n }\n } else if ($isTableSelection(selection)) {\n const {\n anchor,\n focus\n } = selection;\n const anchorCellNode = $findMatchingParent(anchor.getNode(), $isTableCellNode);\n const focusCellNode = $findMatchingParent(focus.getNode(), $isTableCellNode);\n const [tableNodeFromSelection] = selection.getNodes();\n if (!$isTableNode(tableNodeFromSelection)) {\n formatDevErrorMessage(`$handleArrowKey: TableSelection.getNodes()[0] expected to be TableNode`);\n }\n const tableElement = getTableElement(tableNodeFromSelection, editor.getElementByKey(tableNodeFromSelection.getKey()));\n if (!$isTableCellNode(anchorCellNode) || !$isTableCellNode(focusCellNode) || !$isTableNode(tableNodeFromSelection) || tableElement == null) {\n return false;\n }\n tableObserver.$updateTableTableSelection(selection);\n const grid = getTable(tableNodeFromSelection, tableElement);\n const cordsAnchor = tableNode.getCordsFromCellNode(anchorCellNode, grid);\n const anchorCell = tableNode.getDOMCellFromCordsOrThrow(cordsAnchor.x, cordsAnchor.y, grid);\n tableObserver.$setAnchorCellForSelection(anchorCell);\n stopEvent(event);\n if (event.shiftKey) {\n const [tableMap, anchorValue, focusValue] = $computeTableMap(tableNode, anchorCellNode, focusCellNode);\n return $adjustFocusInDirection(tableObserver, tableMap, anchorValue, focusValue, direction);\n } else {\n focusCellNode.selectEnd();\n }\n return true;\n }\n return false;\n}\nfunction stopEvent(event) {\n event.preventDefault();\n event.stopImmediatePropagation();\n event.stopPropagation();\n}\nfunction isTypeaheadMenuInView(editor) {\n // There is no inbuilt way to check if the component picker is in view\n // but we can check if the root DOM element has the aria-controls attribute \"typeahead-menu\".\n const root = editor.getRootElement();\n if (!root) {\n return false;\n }\n return root.hasAttribute('aria-controls') && root.getAttribute('aria-controls') === 'typeahead-menu';\n}\nfunction $insertParagraphAtTableEdge(edgePosition, tableNode, children) {\n const paragraphNode = $createParagraphNode();\n if (edgePosition === 'first') {\n tableNode.insertBefore(paragraphNode);\n } else {\n tableNode.insertAfter(paragraphNode);\n }\n paragraphNode.append(...(children || []));\n paragraphNode.selectEnd();\n}\nfunction $getTableEdgeCursorPosition(editor, selection, tableNode) {\n const tableNodeParent = tableNode.getParent();\n if (!tableNodeParent) {\n return undefined;\n }\n\n // TODO: Add support for nested tables\n const domSelection = getDOMSelection(getEditorWindow(editor));\n if (!domSelection) {\n return undefined;\n }\n const domAnchorNode = domSelection.anchorNode;\n const tableNodeParentDOM = editor.getElementByKey(tableNodeParent.getKey());\n const tableElement = getTableElement(tableNode, editor.getElementByKey(tableNode.getKey()));\n // We are only interested in the scenario where the\n // native selection anchor is:\n // - at or inside the table's parent DOM\n // - and NOT at or inside the table DOM\n // It may be adjacent to the table DOM (e.g. in a wrapper)\n if (!domAnchorNode || !tableNodeParentDOM || !tableElement || !tableNodeParentDOM.contains(domAnchorNode) || tableElement.contains(domAnchorNode)) {\n return undefined;\n }\n const anchorCellNode = $findMatchingParent(selection.anchor.getNode(), n => $isTableCellNode(n));\n if (!anchorCellNode) {\n return undefined;\n }\n const parentTable = $findMatchingParent(anchorCellNode, n => $isTableNode(n));\n if (!$isTableNode(parentTable) || !parentTable.is(tableNode)) {\n return undefined;\n }\n const [tableMap, cellValue] = $computeTableMap(tableNode, anchorCellNode, anchorCellNode);\n const firstCell = tableMap[0][0];\n const lastCell = tableMap[tableMap.length - 1][tableMap[0].length - 1];\n const {\n startRow,\n startColumn\n } = cellValue;\n const isAtFirstCell = startRow === firstCell.startRow && startColumn === firstCell.startColumn;\n const isAtLastCell = startRow === lastCell.startRow && startColumn === lastCell.startColumn;\n if (isAtFirstCell) {\n return 'first';\n } else if (isAtLastCell) {\n return 'last';\n } else {\n return undefined;\n }\n}\nfunction $getObserverCellFromCellNodeOrThrow(tableObserver, tableCellNode) {\n const {\n tableNode\n } = tableObserver.$lookup();\n const currentCords = tableNode.getCordsFromCellNode(tableCellNode, tableObserver.table);\n return tableNode.getDOMCellFromCordsOrThrow(currentCords.x, currentCords.y, tableObserver.table);\n}\nfunction $getNearestTableCellInTableFromDOMNode(tableNode, startingDOM, editorState) {\n return $findParentTableCellNodeInTable(tableNode, $getNearestNodeFromDOMNode(startingDOM, editorState));\n}\n\nfunction isHTMLDivElement(element) {\n return isHTMLElement$1(element) && element.nodeName === 'DIV';\n}\nfunction updateColgroup(dom, config, colCount, colWidths) {\n const colGroup = dom.querySelector('colgroup');\n if (!colGroup) {\n return;\n }\n const cols = [];\n for (let i = 0; i < colCount; i++) {\n const col = document.createElement('col');\n const width = colWidths && colWidths[i];\n if (width) {\n col.style.width = `${width}px`;\n }\n cols.push(col);\n }\n colGroup.replaceChildren(...cols);\n}\nfunction setRowStriping(dom, config, rowStriping) {\n if (rowStriping) {\n addClassNamesToElement(dom, config.theme.tableRowStriping);\n dom.setAttribute('data-lexical-row-striping', 'true');\n } else {\n removeClassNamesFromElement(dom, config.theme.tableRowStriping);\n dom.removeAttribute('data-lexical-row-striping');\n }\n}\nfunction setFrozenColumns(dom, tableElement, config, frozenColumnCount) {\n if (frozenColumnCount > 0) {\n addClassNamesToElement(dom, config.theme.tableFrozenColumn);\n tableElement.setAttribute('data-lexical-frozen-column', 'true');\n } else {\n removeClassNamesFromElement(dom, config.theme.tableFrozenColumn);\n tableElement.removeAttribute('data-lexical-frozen-column');\n }\n}\nfunction setFrozenRows(dom, tableElement, config, frozenRowCount) {\n if (frozenRowCount > 0) {\n addClassNamesToElement(dom, config.theme.tableFrozenRow);\n tableElement.setAttribute('data-lexical-frozen-row', 'true');\n } else {\n removeClassNamesFromElement(dom, config.theme.tableFrozenRow);\n tableElement.removeAttribute('data-lexical-frozen-row');\n }\n}\nfunction alignTableElement(dom, config, formatType) {\n if (!config.theme.tableAlignment) {\n return;\n }\n const removeClasses = [];\n const addClasses = [];\n for (const format of ['center', 'right']) {\n const classes = config.theme.tableAlignment[format];\n if (!classes) {\n continue;\n }\n (format === formatType ? addClasses : removeClasses).push(classes);\n }\n removeClassNamesFromElement(dom, ...removeClasses);\n addClassNamesToElement(dom, ...addClasses);\n}\nconst scrollableEditors = new WeakSet();\nfunction $isScrollableTablesActive(editor = $getEditor()) {\n return scrollableEditors.has(editor);\n}\nfunction setScrollableTablesActive(editor, active) {\n if (active) {\n if (!editor._config.theme.tableScrollableWrapper) {\n console.warn('TableNode: hasHorizontalScroll is active but theme.tableScrollableWrapper is not defined.');\n }\n scrollableEditors.add(editor);\n } else {\n scrollableEditors.delete(editor);\n }\n}\n\n/** @noInheritDoc */\nclass TableNode extends ElementNode {\n /** @internal */\n __rowStriping;\n __frozenColumnCount;\n __frozenRowCount;\n __colWidths;\n static getType() {\n return 'table';\n }\n getColWidths() {\n const self = this.getLatest();\n return self.__colWidths;\n }\n setColWidths(colWidths) {\n const self = this.getWritable();\n // NOTE: Node properties should be immutable. Freeze to prevent accidental mutation.\n self.__colWidths = colWidths !== undefined && true ? Object.freeze(colWidths) : colWidths;\n return self;\n }\n static clone(node) {\n return new TableNode(node.__key);\n }\n afterCloneFrom(prevNode) {\n super.afterCloneFrom(prevNode);\n this.__colWidths = prevNode.__colWidths;\n this.__rowStriping = prevNode.__rowStriping;\n this.__frozenColumnCount = prevNode.__frozenColumnCount;\n this.__frozenRowCount = prevNode.__frozenRowCount;\n }\n static importDOM() {\n return {\n table: _node => ({\n conversion: $convertTableElement,\n priority: 1\n })\n };\n }\n static importJSON(serializedNode) {\n return $createTableNode().updateFromJSON(serializedNode);\n }\n updateFromJSON(serializedNode) {\n return super.updateFromJSON(serializedNode).setRowStriping(serializedNode.rowStriping || false).setFrozenColumns(serializedNode.frozenColumnCount || 0).setFrozenRows(serializedNode.frozenRowCount || 0).setColWidths(serializedNode.colWidths);\n }\n constructor(key) {\n super(key);\n this.__rowStriping = false;\n this.__frozenColumnCount = 0;\n this.__frozenRowCount = 0;\n this.__colWidths = undefined;\n }\n exportJSON() {\n return {\n ...super.exportJSON(),\n colWidths: this.getColWidths(),\n frozenColumnCount: this.__frozenColumnCount ? this.__frozenColumnCount : undefined,\n frozenRowCount: this.__frozenRowCount ? this.__frozenRowCount : undefined,\n rowStriping: this.__rowStriping ? this.__rowStriping : undefined\n };\n }\n extractWithChild(child, selection, destination) {\n return destination === 'html';\n }\n getDOMSlot(element) {\n const tableElement = !isHTMLTableElement(element) ? element.querySelector('table') : element;\n if (!isHTMLTableElement(tableElement)) {\n formatDevErrorMessage(`TableNode.getDOMSlot: createDOM() did not return a table`);\n }\n return super.getDOMSlot(element).withElement(tableElement).withAfter(tableElement.querySelector('colgroup'));\n }\n createDOM(config, editor) {\n const tableElement = document.createElement('table');\n if (this.__style) {\n tableElement.style.cssText = this.__style;\n }\n const colGroup = document.createElement('colgroup');\n tableElement.appendChild(colGroup);\n setDOMUnmanaged(colGroup);\n addClassNamesToElement(tableElement, config.theme.table);\n this.updateTableElement(null, tableElement, config);\n if ($isScrollableTablesActive(editor)) {\n const wrapperElement = document.createElement('div');\n const classes = config.theme.tableScrollableWrapper;\n if (classes) {\n addClassNamesToElement(wrapperElement, classes);\n } else {\n wrapperElement.style.cssText = 'overflow-x: auto;';\n }\n wrapperElement.appendChild(tableElement);\n this.updateTableWrapper(null, wrapperElement, tableElement, config);\n return wrapperElement;\n }\n return tableElement;\n }\n updateTableWrapper(prevNode, tableWrapper, tableElement, config) {\n if (this.__frozenColumnCount !== (prevNode ? prevNode.__frozenColumnCount : 0)) {\n setFrozenColumns(tableWrapper, tableElement, config, this.__frozenColumnCount);\n }\n if (this.__frozenRowCount !== (prevNode ? prevNode.__frozenRowCount : 0)) {\n setFrozenRows(tableWrapper, tableElement, config, this.__frozenRowCount);\n }\n }\n updateTableElement(prevNode, tableElement, config) {\n if (this.__style !== (prevNode ? prevNode.__style : '')) {\n tableElement.style.cssText = this.__style;\n }\n if (this.__rowStriping !== (prevNode ? prevNode.__rowStriping : false)) {\n setRowStriping(tableElement, config, this.__rowStriping);\n }\n updateColgroup(tableElement, config, this.getColumnCount(), this.getColWidths());\n alignTableElement(tableElement, config, this.getFormatType());\n }\n updateDOM(prevNode, dom, config) {\n const slot = this.getDOMSlot(dom);\n const tableElement = slot.element;\n if (dom === tableElement === $isScrollableTablesActive()) {\n return true;\n }\n if (isHTMLDivElement(dom)) {\n this.updateTableWrapper(prevNode, dom, tableElement, config);\n }\n this.updateTableElement(prevNode, tableElement, config);\n return false;\n }\n exportDOM(editor) {\n const superExport = super.exportDOM(editor);\n const {\n element\n } = superExport;\n return {\n after: tableElement => {\n if (superExport.after) {\n tableElement = superExport.after(tableElement);\n }\n if (!isHTMLTableElement(tableElement) && isHTMLElement$1(tableElement)) {\n tableElement = tableElement.querySelector('table');\n }\n if (!isHTMLTableElement(tableElement)) {\n return null;\n }\n alignTableElement(tableElement, editor._config, this.getFormatType());\n\n // Scan the table map to build a map of table cell key to the columns it needs\n const [tableMap] = $computeTableMapSkipCellCheck(this, null, null);\n const cellValues = new Map();\n for (const mapRow of tableMap) {\n for (const mapValue of mapRow) {\n const key = mapValue.cell.getKey();\n if (!cellValues.has(key)) {\n cellValues.set(key, {\n colSpan: mapValue.cell.getColSpan(),\n startColumn: mapValue.startColumn\n });\n }\n }\n }\n\n // scan the DOM to find the table cell keys that were used and mark those columns\n const knownColumns = new Set();\n for (const cellDOM of tableElement.querySelectorAll(':scope > tr > [data-temporary-table-cell-lexical-key]')) {\n const key = cellDOM.getAttribute('data-temporary-table-cell-lexical-key');\n if (key) {\n const cellSpan = cellValues.get(key);\n cellDOM.removeAttribute('data-temporary-table-cell-lexical-key');\n if (cellSpan) {\n cellValues.delete(key);\n for (let i = 0; i < cellSpan.colSpan; i++) {\n knownColumns.add(i + cellSpan.startColumn);\n }\n }\n }\n }\n\n // Compute the colgroup and columns in the export\n const colGroup = tableElement.querySelector(':scope > colgroup');\n if (colGroup) {\n // Only include the <col /> for rows that are in the output\n const cols = Array.from(tableElement.querySelectorAll(':scope > colgroup > col')).filter((dom, i) => knownColumns.has(i));\n colGroup.replaceChildren(...cols);\n }\n\n // Wrap direct descendant rows in a tbody for export\n const rows = tableElement.querySelectorAll(':scope > tr');\n if (rows.length > 0) {\n const tBody = document.createElement('tbody');\n for (const row of rows) {\n tBody.appendChild(row);\n }\n tableElement.append(tBody);\n }\n return tableElement;\n },\n element: !isHTMLTableElement(element) && isHTMLElement$1(element) ? element.querySelector('table') : element\n };\n }\n canBeEmpty() {\n return false;\n }\n isShadowRoot() {\n return true;\n }\n getCordsFromCellNode(tableCellNode, table) {\n const {\n rows,\n domRows\n } = table;\n for (let y = 0; y < rows; y++) {\n const row = domRows[y];\n if (row == null) {\n continue;\n }\n for (let x = 0; x < row.length; x++) {\n const cell = row[x];\n if (cell == null) {\n continue;\n }\n const {\n elem\n } = cell;\n const cellNode = $getNearestTableCellInTableFromDOMNode(this, elem);\n if (cellNode !== null && tableCellNode.is(cellNode)) {\n return {\n x,\n y\n };\n }\n }\n }\n throw new Error('Cell not found in table.');\n }\n getDOMCellFromCords(x, y, table) {\n const {\n domRows\n } = table;\n const row = domRows[y];\n if (row == null) {\n return null;\n }\n const index = x < row.length ? x : row.length - 1;\n const cell = row[index];\n if (cell == null) {\n return null;\n }\n return cell;\n }\n getDOMCellFromCordsOrThrow(x, y, table) {\n const cell = this.getDOMCellFromCords(x, y, table);\n if (!cell) {\n throw new Error('Cell not found at cords.');\n }\n return cell;\n }\n getCellNodeFromCords(x, y, table) {\n const cell = this.getDOMCellFromCords(x, y, table);\n if (cell == null) {\n return null;\n }\n const node = $getNearestNodeFromDOMNode(cell.elem);\n if ($isTableCellNode(node)) {\n return node;\n }\n return null;\n }\n getCellNodeFromCordsOrThrow(x, y, table) {\n const node = this.getCellNodeFromCords(x, y, table);\n if (!node) {\n throw new Error('Node at cords not TableCellNode.');\n }\n return node;\n }\n getRowStriping() {\n return Boolean(this.getLatest().__rowStriping);\n }\n setRowStriping(newRowStriping) {\n const self = this.getWritable();\n self.__rowStriping = newRowStriping;\n return self;\n }\n setFrozenColumns(columnCount) {\n const self = this.getWritable();\n self.__frozenColumnCount = columnCount;\n return self;\n }\n getFrozenColumns() {\n return this.getLatest().__frozenColumnCount;\n }\n setFrozenRows(rowCount) {\n const self = this.getWritable();\n self.__frozenRowCount = rowCount;\n return self;\n }\n getFrozenRows() {\n return this.getLatest().__frozenRowCount;\n }\n canSelectBefore() {\n return true;\n }\n canIndent() {\n return false;\n }\n getColumnCount() {\n const firstRow = this.getFirstChild();\n if (!firstRow) {\n return 0;\n }\n let columnCount = 0;\n firstRow.getChildren().forEach(cell => {\n if ($isTableCellNode(cell)) {\n columnCount += cell.getColSpan();\n }\n });\n return columnCount;\n }\n}\nfunction $getElementForTableNode(editor, tableNode) {\n const tableElement = editor.getElementByKey(tableNode.getKey());\n if (!(tableElement !== null)) {\n formatDevErrorMessage(`$getElementForTableNode: Table Element Not Found`);\n }\n return getTable(tableNode, tableElement);\n}\nfunction $convertTableElement(domNode) {\n const tableNode = $createTableNode();\n if (domNode.hasAttribute('data-lexical-row-striping')) {\n tableNode.setRowStriping(true);\n }\n if (domNode.hasAttribute('data-lexical-frozen-column')) {\n tableNode.setFrozenColumns(1);\n }\n if (domNode.hasAttribute('data-lexical-frozen-row')) {\n tableNode.setFrozenRows(1);\n }\n const colGroup = domNode.querySelector(':scope > colgroup');\n if (colGroup) {\n let columns = [];\n for (const col of colGroup.querySelectorAll(':scope > col')) {\n let width = col.style.width || '';\n if (!PIXEL_VALUE_REG_EXP.test(width)) {\n // Also support deprecated width attribute for google docs\n width = col.getAttribute('width') || '';\n if (!/^\\d+$/.test(width)) {\n columns = undefined;\n break;\n }\n }\n columns.push(parseFloat(width));\n }\n if (columns) {\n tableNode.setColWidths(columns);\n }\n }\n return {\n after: children => $descendantsMatching(children, $isTableRowNode),\n node: tableNode\n };\n}\nfunction $createTableNode() {\n return $applyNodeReplacement(new TableNode());\n}\nfunction $isTableNode(node) {\n return node instanceof TableNode;\n}\n\nfunction $insertTable({\n rows,\n columns,\n includeHeaders\n}, hasNestedTables) {\n const selection = $getSelection() || $getPreviousSelection();\n if (!selection || !$isRangeSelection(selection)) {\n return false;\n }\n\n // Prevent nested tables by checking if we're already inside a table\n if (!hasNestedTables && $findTableNode(selection.anchor.getNode())) {\n return false;\n }\n const tableNode = $createTableNodeWithDimensions(Number(rows), Number(columns), includeHeaders);\n $insertNodeToNearestRoot(tableNode);\n const firstDescendant = tableNode.getFirstDescendant();\n if ($isTextNode(firstDescendant)) {\n firstDescendant.select();\n }\n return true;\n}\nfunction $tableCellTransform(node) {\n if (!$isTableRowNode(node.getParent())) {\n // TableCellNode must be a child of TableRowNode.\n node.remove();\n } else if (node.isEmpty()) {\n // TableCellNode should never be empty\n node.append($createParagraphNode());\n }\n}\nfunction $tableRowTransform(node) {\n if (!$isTableNode(node.getParent())) {\n // TableRowNode must be a child of TableNode.\n // TODO: Future support of tbody/thead/tfoot may change this\n node.remove();\n } else {\n $unwrapAndFilterDescendants(node, $isTableCellNode);\n }\n}\nfunction $tableTransform(node) {\n // TableRowNode is the only valid child for TableNode\n // TODO: Future support of tbody/thead/tfoot/caption may change this\n $unwrapAndFilterDescendants(node, $isTableRowNode);\n const [gridMap] = $computeTableMapSkipCellCheck(node, null, null);\n const maxRowLength = gridMap.reduce((curLength, row) => {\n return Math.max(curLength, row.length);\n }, 0);\n const rowNodes = node.getChildren();\n for (let i = 0; i < gridMap.length; ++i) {\n const rowNode = rowNodes[i];\n if (!rowNode) {\n continue;\n }\n if (!$isTableRowNode(rowNode)) {\n formatDevErrorMessage(`TablePlugin: Expecting all children of TableNode to be TableRowNode, found ${rowNode.constructor.name} (type ${rowNode.getType()})`);\n }\n const rowLength = gridMap[i].reduce((acc, cell) => cell ? 1 + acc : acc, 0);\n if (rowLength === maxRowLength) {\n continue;\n }\n for (let j = rowLength; j < maxRowLength; ++j) {\n // TODO: inherit header state from another header or body\n const newCell = $createTableCellNode();\n newCell.append($createParagraphNode());\n rowNode.append(newCell);\n }\n }\n const colWidths = node.getColWidths();\n const columnCount = node.getColumnCount();\n if (colWidths && colWidths.length !== columnCount) {\n let newColWidths = undefined;\n if (columnCount < colWidths.length) {\n newColWidths = colWidths.slice(0, columnCount);\n } else if (colWidths.length > 0) {\n // Repeat the last column width.\n const fillWidth = colWidths[colWidths.length - 1];\n newColWidths = [...colWidths, ...Array(columnCount - colWidths.length).fill(fillWidth)];\n }\n node.setColWidths(newColWidths);\n }\n}\nfunction $tableClickCommand(event) {\n if (event.detail < 3 || !isDOMNode(event.target)) {\n return false;\n }\n const startNode = $getNearestNodeFromDOMNode(event.target);\n if (startNode === null) {\n return false;\n }\n const blockNode = $findMatchingParent(startNode, node => $isElementNode(node) && !node.isInline());\n if (blockNode === null) {\n return false;\n }\n const rootNode = blockNode.getParent();\n if (!$isTableCellNode(rootNode)) {\n return false;\n }\n blockNode.select(0);\n return true;\n}\nfunction $tableSelectAllCommand() {\n const selection = $getSelection();\n if (!$isRangeSelection(selection)) {\n return false;\n }\n\n // Check if the selection is inside a table\n const anchorNode = selection.anchor.getNode();\n const tableNode = $findTableNode(anchorNode);\n if (tableNode === null) {\n return false;\n }\n\n // CRITICAL: Only intercept if table is the ONLY child of root\n // This is required to reproduce the bug: table must be the only content, no empty paragraphs\n // This prevents breaking other tests that expect RangeSelection when there's content outside table\n const root = $getRoot();\n if (!root.is(tableNode.getParent()) || root.getChildrenSize() !== 1) {\n return false;\n }\n\n // At this point, table is the only child\n // This is the exact scenario from issue #8074: table is the only content in editor\n\n // Get the table map to find first and last cells (handles merged cells correctly)\n const [tableMap] = $computeTableMapSkipCellCheck(tableNode, null, null);\n if (tableMap.length === 0 || tableMap[0].length === 0) {\n return false;\n }\n\n // Get the first cell (top-left)\n const firstCellMap = tableMap[0][0];\n if (!firstCellMap || !firstCellMap.cell) {\n return false;\n }\n\n // Get the last cell (bottom-right)\n const lastRow = tableMap[tableMap.length - 1];\n const lastCellMap = lastRow[lastRow.length - 1];\n if (!lastCellMap || !lastCellMap.cell) {\n return false;\n }\n\n // Create a TableSelection that selects all cells\n const tableSelection = $createTableSelectionFrom(tableNode, firstCellMap.cell, lastCellMap.cell);\n $setSelection(tableSelection);\n return true;\n}\n\n/**\n * Register a transform to ensure that all TableCellNode have a colSpan and rowSpan of 1.\n * This should only be registered when you do not want to support merged cells.\n *\n * @param editor The editor\n * @returns An unregister callback\n */\nfunction registerTableCellUnmergeTransform(editor) {\n return editor.registerNodeTransform(TableCellNode, node => {\n if (node.getColSpan() > 1 || node.getRowSpan() > 1) {\n // When we have rowSpan we have to map the entire Table to understand where the new Cells\n // fit best; let's analyze all Cells at once to save us from further transform iterations\n const [,, gridNode] = $getNodeTriplet(node);\n const [gridMap] = $computeTableMap(gridNode, node, node);\n // TODO this function expects Tables to be normalized. Look into this once it exists\n const rowsCount = gridMap.length;\n const columnsCount = gridMap[0].length;\n let row = gridNode.getFirstChild();\n if (!$isTableRowNode(row)) {\n formatDevErrorMessage(`Expected TableNode first child to be a RowNode`);\n }\n const unmerged = [];\n for (let i = 0; i < rowsCount; i++) {\n if (i !== 0) {\n row = row.getNextSibling();\n if (!$isTableRowNode(row)) {\n formatDevErrorMessage(`Expected TableNode first child to be a RowNode`);\n }\n }\n let lastRowCell = null;\n for (let j = 0; j < columnsCount; j++) {\n const cellMap = gridMap[i][j];\n const cell = cellMap.cell;\n if (cellMap.startRow === i && cellMap.startColumn === j) {\n lastRowCell = cell;\n unmerged.push(cell);\n } else if (cell.getColSpan() > 1 || cell.getRowSpan() > 1) {\n if (!$isTableCellNode(cell)) {\n formatDevErrorMessage(`Expected TableNode cell to be a TableCellNode`);\n }\n const newCell = $createTableCellNode(cell.__headerState);\n if (lastRowCell !== null) {\n lastRowCell.insertAfter(newCell);\n } else {\n $insertFirst$1(row, newCell);\n }\n }\n }\n }\n for (const cell of unmerged) {\n cell.setColSpan(1);\n cell.setRowSpan(1);\n }\n }\n });\n}\nfunction registerTableSelectionObserver(editor, hasTabHandler = true) {\n const tableSelections = new Map();\n const initializeTableNode = (tableNode, nodeKey, dom) => {\n const tableElement = getTableElement(tableNode, dom);\n const tableSelection = applyTableHandlers(tableNode, tableElement, editor, hasTabHandler);\n tableSelections.set(nodeKey, [tableSelection, tableElement]);\n };\n const unregisterMutationListener = editor.registerMutationListener(TableNode, nodeMutations => {\n editor.getEditorState().read(() => {\n for (const [nodeKey, mutation] of nodeMutations) {\n const tableSelection = tableSelections.get(nodeKey);\n if (mutation === 'created' || mutation === 'updated') {\n const {\n tableNode,\n tableElement\n } = $getTableAndElementByKey(nodeKey);\n if (tableSelection === undefined) {\n initializeTableNode(tableNode, nodeKey, tableElement);\n } else if (tableElement !== tableSelection[1]) {\n // The update created a new DOM node, destroy the existing TableObserver\n tableSelection[0].removeListeners();\n tableSelections.delete(nodeKey);\n initializeTableNode(tableNode, nodeKey, tableElement);\n }\n } else if (mutation === 'destroyed') {\n if (tableSelection !== undefined) {\n tableSelection[0].removeListeners();\n tableSelections.delete(nodeKey);\n }\n }\n }\n }, {\n editor\n });\n }, {\n skipInitialization: false\n });\n return () => {\n unregisterMutationListener();\n // Hook might be called multiple times so cleaning up tables listeners as well,\n // as it'll be reinitialized during recurring call\n for (const [, [tableSelection]] of tableSelections) {\n tableSelection.removeListeners();\n }\n };\n}\n\n/**\n * Register table command listeners and the table integrity transforms. The\n * table selection observer should be registered separately after this with\n * {@link registerTableSelectionObserver}.\n *\n * @param editor The editor\n * @returns An unregister callback\n */\nfunction registerTablePlugin(editor, options) {\n if (!editor.hasNodes([TableNode])) {\n {\n formatDevErrorMessage(`TablePlugin: TableNode is not registered on editor`);\n }\n }\n const {\n hasNestedTables = signal(false),\n hasFitNestedTables = signal(false)\n } = options ?? {};\n return mergeRegister(editor.registerCommand(INSERT_TABLE_COMMAND, payload => {\n return $insertTable(payload, hasNestedTables.peek());\n }, COMMAND_PRIORITY_EDITOR), editor.registerCommand(SELECTION_INSERT_CLIPBOARD_NODES_COMMAND, (payload, dispatchEditor) => {\n if (editor !== dispatchEditor) {\n return false;\n }\n return $tableSelectionInsertClipboardNodesCommand(payload, hasNestedTables, hasFitNestedTables);\n }, COMMAND_PRIORITY_EDITOR), editor.registerCommand(SELECT_ALL_COMMAND, $tableSelectAllCommand, COMMAND_PRIORITY_LOW), editor.registerCommand(CLICK_COMMAND, $tableClickCommand, COMMAND_PRIORITY_EDITOR), editor.registerNodeTransform(TableNode, $tableTransform), editor.registerNodeTransform(TableRowNode, $tableRowTransform), editor.registerNodeTransform(TableCellNode, $tableCellTransform));\n}\nfunction $tableSelectionInsertClipboardNodesCommand(selectionPayload, hasNestedTables, hasFitNestedTables) {\n const {\n nodes,\n selection\n } = selectionPayload;\n const hasTables = nodes.some(n => $isTableNode(n) || $dfs(n).some(d => $isTableNode(d.node)));\n if (!hasTables) {\n // Not pasting a table - no special handling required.\n return false;\n }\n const isTableSelection = $isTableSelection(selection);\n const isRangeSelection = $isRangeSelection(selection);\n const isSelectionInsideOfGrid = isRangeSelection && $findMatchingParent(selection.anchor.getNode(), n => $isTableCellNode(n)) !== null && $findMatchingParent(selection.focus.getNode(), n => $isTableCellNode(n)) !== null || isTableSelection;\n if (!isSelectionInsideOfGrid) {\n // Not pasting in a grid - no special handling required.\n return false;\n }\n\n // When pasting just a table, flatten the table on the destination table, even when nested tables are allowed.\n if (nodes.length === 1 && $isTableNode(nodes[0])) {\n return $insertTableIntoGrid(nodes[0], selection);\n }\n\n // When pasting multiple nodes (including tables) into a cell, update the table to fit.\n if (isRangeSelection && hasNestedTables.peek()) {\n return $insertTableNodesIntoCells(nodes, selection, hasFitNestedTables.peek());\n }\n\n // If we reached this point, there's a table in the selection and nested tables are not allowed - reject the paste.\n return true;\n}\nfunction $insertTableIntoGrid(tableNode, selection) {\n const anchorAndFocus = selection.getStartEndPoints();\n const isTableSelection = $isTableSelection(selection);\n if (anchorAndFocus === null) {\n return false;\n }\n const [anchor, focus] = anchorAndFocus;\n const [anchorCellNode, anchorRowNode, gridNode] = $getNodeTriplet(anchor);\n const focusCellNode = $findMatchingParent(focus.getNode(), n => $isTableCellNode(n));\n if (!$isTableCellNode(anchorCellNode) || !$isTableCellNode(focusCellNode) || !$isTableRowNode(anchorRowNode) || !$isTableNode(gridNode)) {\n return false;\n }\n const [initialGridMap, anchorCellMap, focusCellMap] = $computeTableMap(gridNode, anchorCellNode, focusCellNode);\n const [templateGridMap] = $computeTableMapSkipCellCheck(tableNode, null, null);\n const initialRowCount = initialGridMap.length;\n const initialColCount = initialRowCount > 0 ? initialGridMap[0].length : 0;\n\n // If we have a range selection, we'll fit the template grid into the\n // table, growing the table if necessary.\n let startRow = anchorCellMap.startRow;\n let startCol = anchorCellMap.startColumn;\n let affectedRowCount = templateGridMap.length;\n let affectedColCount = affectedRowCount > 0 ? templateGridMap[0].length : 0;\n if (isTableSelection) {\n // If we have a table selection, we'll only modify the cells within\n // the selection boundary.\n const selectionBoundary = $computeTableCellRectBoundary(initialGridMap, anchorCellMap, focusCellMap);\n const selectionRowCount = selectionBoundary.maxRow - selectionBoundary.minRow + 1;\n const selectionColCount = selectionBoundary.maxColumn - selectionBoundary.minColumn + 1;\n startRow = selectionBoundary.minRow;\n startCol = selectionBoundary.minColumn;\n affectedRowCount = Math.min(affectedRowCount, selectionRowCount);\n affectedColCount = Math.min(affectedColCount, selectionColCount);\n }\n\n // Step 1: Unmerge all merged cells within the affected area\n let didPerformMergeOperations = false;\n const lastRowForUnmerge = Math.min(initialRowCount, startRow + affectedRowCount) - 1;\n const lastColForUnmerge = Math.min(initialColCount, startCol + affectedColCount) - 1;\n const unmergedKeys = new Set();\n for (let row = startRow; row <= lastRowForUnmerge; row++) {\n for (let col = startCol; col <= lastColForUnmerge; col++) {\n const cellMap = initialGridMap[row][col];\n if (unmergedKeys.has(cellMap.cell.getKey())) {\n continue; // cell was a merged cell that was already handled\n }\n if (cellMap.cell.__rowSpan === 1 && cellMap.cell.__colSpan === 1) {\n continue; // cell is not a merged cell\n }\n $unmergeCellNode(cellMap.cell);\n unmergedKeys.add(cellMap.cell.getKey());\n didPerformMergeOperations = true;\n }\n }\n let [interimGridMap] = $computeTableMapSkipCellCheck(gridNode.getWritable(), null, null);\n\n // Step 2: Expand current table (if needed)\n const rowsToInsert = affectedRowCount - initialRowCount + startRow;\n for (let i = 0; i < rowsToInsert; i++) {\n const cellMap = interimGridMap[initialRowCount - 1][0];\n $insertTableRowAtNode(cellMap.cell);\n }\n const colsToInsert = affectedColCount - initialColCount + startCol;\n for (let i = 0; i < colsToInsert; i++) {\n const cellMap = interimGridMap[0][initialColCount - 1];\n $insertTableColumnAtNode(cellMap.cell, true, false);\n }\n [interimGridMap] = $computeTableMapSkipCellCheck(gridNode.getWritable(), null, null);\n\n // Step 3: Merge cells and set cell content, to match template grid\n for (let row = startRow; row < startRow + affectedRowCount; row++) {\n for (let col = startCol; col < startCol + affectedColCount; col++) {\n const templateRow = row - startRow;\n const templateCol = col - startCol;\n const templateCellMap = templateGridMap[templateRow][templateCol];\n if (templateCellMap.startRow !== templateRow || templateCellMap.startColumn !== templateCol) {\n continue; // cell is a merged cell that was already handled\n }\n const templateCell = templateCellMap.cell;\n if (templateCell.__rowSpan !== 1 || templateCell.__colSpan !== 1) {\n const cellsToMerge = [];\n const lastRowForMerge = Math.min(row + templateCell.__rowSpan, startRow + affectedRowCount) - 1;\n const lastColForMerge = Math.min(col + templateCell.__colSpan, startCol + affectedColCount) - 1;\n for (let r = row; r <= lastRowForMerge; r++) {\n for (let c = col; c <= lastColForMerge; c++) {\n const cellMap = interimGridMap[r][c];\n cellsToMerge.push(cellMap.cell);\n }\n }\n $mergeCells(cellsToMerge);\n didPerformMergeOperations = true;\n }\n const {\n cell\n } = interimGridMap[row][col];\n const backgroundColor = templateCell.getBackgroundColor();\n if (backgroundColor !== null && backgroundColor !== undefined) {\n cell.setBackgroundColor(backgroundColor);\n }\n const originalChildren = cell.getChildren();\n templateCell.getChildren().forEach(child => {\n if ($isTextNode(child)) {\n const paragraphNode = $createParagraphNode();\n paragraphNode.append(child);\n cell.append(child);\n } else {\n cell.append(child);\n }\n });\n originalChildren.forEach(n => n.remove());\n }\n }\n if (isTableSelection && didPerformMergeOperations) {\n // reset the table selection in case the anchor or focus cell was\n // removed via merge operations\n const [finalGridMap] = $computeTableMapSkipCellCheck(gridNode.getWritable(), null, null);\n const newAnchorCellMap = finalGridMap[anchorCellMap.startRow][anchorCellMap.startColumn];\n newAnchorCellMap.cell.selectEnd();\n }\n return true;\n}\n\n// Inserts the given nodes (which will include TableNodes) into the table at the given selection.\nfunction $insertTableNodesIntoCells(nodes, selection, hasFitNestedTables) {\n // Currently only support pasting into a single cell. In other cases we reject the insertion.\n const isMultiCellTableSelection = $isTableSelection(selection) && !selection.focus.getNode().is(selection.anchor.getNode());\n const isMultiCellRangeSelection = $isRangeSelection(selection) && $isTableCellNode(selection.anchor.getNode()) && !selection.anchor.getNode().is(selection.focus.getNode());\n if (isMultiCellTableSelection || isMultiCellRangeSelection) {\n return true;\n }\n if (!hasFitNestedTables) {\n return false;\n }\n const focusNode = selection.focus.getNode();\n const parentCell = $findMatchingParent(focusNode, $isTableCellNode);\n if (!parentCell) {\n return false;\n }\n const cellWidth = $getCellWidth(parentCell);\n if (cellWidth === undefined) {\n return false;\n }\n const borderBoxInsets = $calculateCellInsets(parentCell);\n const tables = nodes.filter($isTableNode);\n for (const table of tables) {\n // Note: here we assume the inset is consistent for cells at all nesting levels.\n $resizeTableToFitCell(table, cellWidth, borderBoxInsets);\n }\n return false;\n}\n\n/**\n * Return the width of a specific cell, using the table-level colWidths.\n */\nfunction $getCellWidth(cell) {\n const destinationTableNode = $getTableNodeFromLexicalNodeOrThrow(cell);\n const cellRect = $getTableCellNodeRect(cell);\n const colWidths = destinationTableNode.getColWidths();\n if (!cellRect || !colWidths) {\n return undefined;\n }\n const {\n columnIndex,\n colSpan\n } = cellRect;\n let totalWidth = 0;\n for (let i = columnIndex; i < columnIndex + colSpan; i++) {\n totalWidth += colWidths[i];\n }\n return totalWidth;\n}\n\n/**\n * Returns horizontal insets of the given cell (padding + border).\n */\nfunction $calculateCellInsets(cell) {\n const cellDOM = $getEditor().getElementByKey(cell.getKey());\n if (cellDOM === null) {\n return 0;\n }\n const computedStyle = window.getComputedStyle(cellDOM);\n const paddingLeft = computedStyle.getPropertyValue('padding-left') || '0px';\n const paddingRight = computedStyle.getPropertyValue('padding-right') || '0px';\n const borderLeftWidth = computedStyle.getPropertyValue('border-left-width') || '0px';\n const borderRightWidth = computedStyle.getPropertyValue('padding-right-width') || '0px';\n if (!PIXEL_VALUE_REG_EXP.test(paddingLeft) || !PIXEL_VALUE_REG_EXP.test(paddingRight) || !PIXEL_VALUE_REG_EXP.test(borderLeftWidth) || !PIXEL_VALUE_REG_EXP.test(borderRightWidth)) {\n return 0;\n }\n const paddingLeftPx = parseFloat(paddingLeft);\n const paddingRightPx = parseFloat(paddingRight);\n const borderLeftWidthPx = parseFloat(borderLeftWidth);\n const borderRightWidthPx = parseFloat(borderRightWidth);\n return paddingLeftPx + paddingRightPx + borderLeftWidthPx + borderRightWidthPx;\n}\nfunction $getTotalTableWidth(colWidths) {\n return colWidths.reduce((curWidth, width) => curWidth + width, 0);\n}\n\n/**\n * Recursively resizes table cells to fit a given width.\n *\n * @param node the table node to resize. The table must have colWidths to be resized.\n * @param parentCellWidth the width of the parent cell\n * @param borderBoxInsets the insets of the parent cell (padding + border)\n */\nfunction $resizeTableToFitCell(node, parentCellWidth, borderBoxInsets) {\n const oldColWidths = node.getColWidths();\n if (!oldColWidths) {\n return node;\n }\n const usableWidth = parentCellWidth - borderBoxInsets;\n const tableWidth = $getTotalTableWidth(oldColWidths);\n if (tableWidth <= usableWidth) {\n return node;\n }\n const proportionalWidth = usableWidth / tableWidth;\n node.setColWidths(oldColWidths.map(width => width * proportionalWidth));\n const rowChildren = node.getChildren().filter($isTableRowNode);\n for (const rowChild of rowChildren) {\n const cellChildren = rowChild.getChildren().filter($isTableCellNode);\n for (const cellChild of cellChildren) {\n const cellWidth = $getCellWidth(cellChild);\n if (cellWidth === undefined) {\n continue;\n }\n for (const table of cellChild.getChildren().filter($isTableNode)) {\n $resizeTableToFitCell(table, cellWidth, borderBoxInsets);\n }\n }\n }\n}\n\n/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n/**\n * Configures {@link TableNode}, {@link TableRowNode}, {@link TableCellNode} and\n * registers table behaviors (see {@link TableConfig})\n */\nconst TableExtension = defineExtension({\n build(editor, config, state) {\n return namedSignals(config);\n },\n config: safeCast({\n hasCellBackgroundColor: true,\n hasCellMerge: true,\n hasFitNestedTables: false,\n hasHorizontalScroll: true,\n hasNestedTables: false,\n hasTabHandler: true\n }),\n name: '@lexical/table/Table',\n nodes: () => [TableNode, TableRowNode, TableCellNode],\n register(editor, config, state) {\n const stores = state.getOutput();\n return mergeRegister(effect(() => {\n const hasHorizontalScroll = stores.hasHorizontalScroll.value;\n const hadHorizontalScroll = $isScrollableTablesActive(editor);\n if (hadHorizontalScroll !== hasHorizontalScroll) {\n setScrollableTablesActive(editor, hasHorizontalScroll);\n // Registering the transform has the side-effect of marking all existing\n // TableNodes as dirty. The handler is immediately unregistered.\n editor.registerNodeTransform(TableNode, () => {})();\n }\n }), registerTablePlugin(editor, stores), effect(() => registerTableSelectionObserver(editor, stores.hasTabHandler.value)), effect(() => stores.hasCellMerge.value ? undefined : registerTableCellUnmergeTransform(editor)), effect(() => stores.hasCellBackgroundColor.value ? undefined : editor.registerNodeTransform(TableCellNode, node => {\n if (node.getBackgroundColor() !== null) {\n node.setBackgroundColor(null);\n }\n })));\n }\n});\n\nexport { $computeTableMap, $computeTableMapSkipCellCheck, $createTableCellNode, $createTableNode, $createTableNodeWithDimensions, $createTableRowNode, $createTableSelection, $createTableSelectionFrom, $deleteTableColumn, $deleteTableColumnAtSelection, $deleteTableColumn__EXPERIMENTAL, $deleteTableRowAtSelection, $deleteTableRow__EXPERIMENTAL, $findCellNode, $findTableNode, $getElementForTableNode, $getNodeTriplet, $getTableAndElementByKey, $getTableCellNodeFromLexicalNode, $getTableCellNodeRect, $getTableColumnIndexFromTableCellNode, $getTableNodeFromLexicalNodeOrThrow, $getTableRowIndexFromTableCellNode, $getTableRowNodeFromTableCellNodeOrThrow, $insertTableColumn, $insertTableColumnAtSelection, $insertTableColumn__EXPERIMENTAL, $insertTableRow, $insertTableRowAtSelection, $insertTableRow__EXPERIMENTAL, $isScrollableTablesActive, $isSimpleTable, $isTableCellNode, $isTableNode, $isTableRowNode, $isTableSelection, $mergeCells, $moveTableColumn, $removeTableRowAtIndex, $unmergeCell, INSERT_TABLE_COMMAND, TableCellHeaderStates, TableCellNode, TableExtension, TableNode, TableObserver, TableRowNode, applyTableHandlers, getDOMCellFromTarget, getTableElement, getTableObserverFromTableElement, registerTableCellUnmergeTransform, registerTablePlugin, registerTableSelectionObserver, setScrollableTablesActive };\n"],"names":["PIXEL_VALUE_REG_EXP","TableCellHeaderStates","BOTH","COLUMN","NO_STATUS","ROW","TableCellNode","ElementNode","__colSpan","__rowSpan","__headerState","__width","__backgroundColor","__verticalAlign","getType","clone","node","__key","afterCloneFrom","super","this","importDOM","td","conversion","$convertTableCellNodeElement","priority","th","importJSON","serializedNode","$createTableCellNode","updateFromJSON","setHeaderStyles","headerState","setColSpan","colSpan","setRowSpan","rowSpan","setWidth","width","undefined","setBackgroundColor","backgroundColor","setVerticalAlign","verticalAlign","constructor","key","createDOM","config","element","document","createElement","getTag","style","isValidVerticalAlign","addClassNamesToElement","theme","tableCell","hasHeader","tableCellHeader","exportDOM","editor","output","isHTMLElement","setAttribute","getKey","border","getWidth","getVerticalAlign","textAlign","exportJSON","getBackgroundColor","getColSpan","getLatest","self","getWritable","getRowSpan","mask","getHeaderStyles","newBackgroundColor","newVerticalAlign","toggleHeaderStyle","headerStateToToggle","hasHeaderState","updateDOM","prevNode","isShadowRoot","collapseAtStart","canBeEmpty","canIndent","domNode","domNode_","nodeName","toLowerCase","test","parseFloat","scope","getAttribute","tableCellNode","textDecoration","split","hasBoldFontWeight","fontWeight","hasLinethroughTextDecoration","includes","hasItalicFontStyle","fontStyle","hasUnderlineTextDecoration","after","childLexicalNodes","result","paragraphNode","removeSingleLineBreakNode","firstChild","getFirstChild","$isLineBreakNode","getChildrenSize","remove","child","$isInlineElementOrDecoratorNode","$isTextNode","toggleFormat","append","$createParagraphNode","push","length","$applyNodeReplacement","$isTableCellNode","INSERT_TABLE_COMMAND","createCommand","formatDevErrorMessage","message","Error","TableRowNode","__height","tr","$convertTableRowElement","$createTableRowNode","setHeight","height","getHeight","tableRow","extractWithChild","selection","destination","children","$descendantsMatching","$isTableRowNode","CAN_USE_DOM","window","documentMode","IS_FIREFOX","navigator","userAgent","$createTableNodeWithDimensions","rowCount","columnCount","includeHeaders","tableNode","$createTableNode","iRow","tableRowNode","iColumn","rows","columns","$createTextNode","$getTableCellNodeFromLexicalNode","startingNode","$findMatchingParent","n","$getTableRowNodeFromTableCellNodeOrThrow","$getTableNodeFromLexicalNodeOrThrow","$isTableNode","$getTableRowIndexFromTableCellNode","getChildren","findIndex","is","$getTableColumnIndexFromTableCellNode","$getTableCellSiblingsFromTableCellNode","table","x","y","getCordsFromCellNode","above","getCellNodeFromCords","below","left","right","$removeTableRowAtIndex","indexToDelete","tableRows","$insertTableRow","targetIndex","shouldInsertAfter","targetRowNode","r","tableRowCells","tableColumnCount","newTableRowNode","c","tableCellFromTargetRow","insertAfter","insertBefore","InputEvent","getHeaderState","currentState","possibleState","$insertTableRowAtSelection","$getSelection","$isRangeSelection","$isTableSelection","anchor","getNode","focus","anchorCell","$getNodeTriplet","focusCell","grid","focusCellMap","anchorCellMap","$computeTableMap","startRow","anchorStartRow","focusStartRow","$insertTableRowAtNode","$insertTableRow__EXPERIMENTAL","cellNode","gridMap","cellMap","cellStartRow","insertedRow","insertAfterEndRow","insertAfterEndRowMap","newRow","i","cell","currentCellHeaderState","insertAfterEndRowNode","getChildAtIndex","insertBeforeStartRow","insertBeforeStartRowMap","insertBeforeStartRowNode","$insertTableColumn","tableCellsToBeInserted","currentTableRowNode","tableRowChildren","targetCell","newTableCell","forEach","$insertTableColumnAtSelection","startColumn","anchorStartColumn","focusStartColumn","$insertTableColumnAtNode","$insertTableColumn__EXPERIMENTAL","shouldSetSelection","insertAfterColumn","gridFirstChild","firstInsertedCell","$createTableCellNodeForInsertTableColumn","loopRow","rowLoop","currentRow","getNextSibling","rowMap","$insertFirst","currentCell","currentStartColumn","currentStartRow","insertAfterCell","insertAfterCellRowStart","prevCellIndex","cell_","startRow_","$moveSelectionToCell","colWidths","getColWidths","newColWidths","columnIndex","newWidth","splice","setColWidths","$deleteTableColumn","$deleteTableRowAtSelection","isBackward","focusEndRow","nextRow","nextRowNode","row","column","cellStartColumn","intersectionStart","Math","max","intersectionEnd","min","overflowRowsCount","currentCellMap","rowNode","String","previousRow","$deleteTableRow__EXPERIMENTAL","$deleteTableColumnAtSelection","endColumn","selectedColumnCount","selectPrevious","overflowLeft","inSelectedArea","focusRowMap","nextColumn","$deleteTableColumn__EXPERIMENTAL","firstDescendant","getFirstDescendant","selectStart","getParentOrThrow","parent","$mergeCells","cellNodes","$computeTableMapSkipCellCheck","minRow","Infinity","maxRow","minCol","maxCol","processedCells","Set","mapCell","cellKey","has","some","add","cellStartCol","cellRowSpan","cellColSpan","totalRowSpan","totalColSpan","targetCellMap","seenCells","col","$cellContainsEmptyParagraph","getFirstChildOrThrow","$isParagraphNode","isEmpty","$unmergeCell","$unmergeCellNode","map","baseColStyle","colStyles","Array","from","_v","colStyle","rowIdx","baseRowStyle","rowStyles","rowStyle","colIdx","currentRowNode","currentRowMap","j","cellA","cellB","tableMap","cellAValue","cellBValue","getMapRow","gridChildren","startMapRow","value","mapRow","source","getParent","$computeTableCellRectBoundary","cellAMap","cellBMap","hasChanges","minColumn","maxColumn","cellEndCol","cellEndRow","intersectsHorizontally","intersectsVertically","newMinColumn","newMaxColumn","newMinRow","newMaxRow","$isSimpleTable","cells","$moveTableColumn","originColumn","targetColumn","getColumnCount","filter","moved","newWidths","movedWidth","$getTableCellNodeRect","gridNode","cellMatrix","rowIndex","cellIndex","$getCellNodes","tableSelection","anchorNode","anchorRow","anchorTable","focusNode","focusRow","focusTable","k","TableSelection","tableKey","_cachedNodes","dirty","_selection","getStartEndPoints","isValid","type","$getNodeByKey","isBefore","getCachedNodes","setCachedNodes","nodes","set","anchorCellKey","focusCellKey","$createPoint","offset","isCollapsed","extract","getNodes","insertRawText","text","insertText","hasFormat","format","paragraph","getTextFormat","formatFlag","TEXT_TYPE_TO_FORMAT","insertNodes","$isElementNode","$normalizeSelection__EXPERIMENTAL","select","getShape","anchorCellNodeRect","focusCellNodeRect","startX","stopX","startY","stopY","fromX","fromY","toX","toY","cachedNodes","focusCellGrid","getParents","isParentOf","focusCellParent","gridParent","nodeMap","Map","lastRow","$visitRecursively","childNode","values","isCurrentlyReadOnlyMode","getTextContent","textContent","__parent","$createTableSelection","$createTableSelectionFrom","tableNodeKey","isAttached","$findTableNode","prevSelection","nextSelection","$visit","stack","currentArray","at","currentNode","pop","$getTableAndElementByKey","$getEditor","tableElement","getTableElement","getElementByKey","TableObserver","focusX","focusY","listenersToRemove","isHighlightingCells","anchorX","anchorY","anchorCellNodeKey","focusCellNodeKey","hasHijackedSelectionStyles","isSelecting","pointerType","shouldCheckSelection","abortController","listenerOptions","nextFocus","domRows","AbortController","signal","trackTable","getTable","removeListeners","abort","removeListener","clear","$lookup","observer","MutationObserver","records","getEditorState","read","gridNeedsRedraw","target","observe","attributes","childList","subtree","$clearHighlight","$enableHighlightStyle","$updateDOMForSelection","$setSelection","dispatchCommand","SELECTION_CHANGE_COMMAND","removeClassNamesFromElement","_config","classList","$disableHighlightStyle","$updateTableTableSelection","updateDOMSelection","setShouldCheckSelection","getAndClearShouldCheckSelection","setNextFocus","getAndClearNextFocus","domSelection","getDOMSelection","_window","rangeCount","removeAllRanges","$setFocusCellForSelection","ignoreStart","cellX","cellY","focusTableCellNode","$getNearestTableCellInTableFromDOMNode","elem","targetCellNode","anchorTableCell","$getAnchorTableCellOrThrow","$getAnchorTableCell","$getFocusTableCell","$getFocusTableCellOrThrow","focusTableCell","$setAnchorCellForSelection","anchorTableCellNode","anchorNodeKey","$formatCells","formatSelection","$createRangeSelection","alignFormatWith","getFormatFlags","formatText","$clearText","selectedNodes","firstRow","getLastChild","$isRootNode","INSERT_PARAGRAPH_COMMAND","textNode","LEXICAL_ELEMENT_KEY","isHTMLTableElement","el","dom","getDOMSlot","getEditorWindow","$findParentTableCellNodeInTable","lastTableCellNode","ARROW_KEY_COMMANDS_WITH_DIRECTION","KEY_ARROW_DOWN_COMMAND","KEY_ARROW_UP_COMMAND","KEY_ARROW_LEFT_COMMAND","KEY_ARROW_RIGHT_COMMAND","DELETE_TEXT_COMMANDS","DELETE_WORD_COMMAND","DELETE_LINE_COMMAND","DELETE_CHARACTER_COMMAND","DELETE_KEY_COMMANDS","KEY_BACKSPACE_COMMAND","KEY_DELETE_COMMAND","applyTableHandlers","hasTabHandler","rootElement","getRootElement","editorWindow","tableObserver","getTableObserverFromTableElement","attachTableObserverToTableElement","detachTableObserverFromTableElement","onPointerDown","event","button","isDOMNode","getDOMCellFromTarget","update","$getPreviousSelection","shiftKey","$isSelectionInTable","prevAnchorNode","prevAnchorCell","$getObserverCellFromCellNodeOrThrow","stopEvent","selectEnd","startingCell","onPointerUp","removeEventListener","onPointerMove","moveEvent","buttons","override","contains","getDOMCellInTableFromTarget","elementsFromPoint","clientX","clientY","addEventListener","createPointerHandlers","onTripleClick","detail","preventDefault","pointerDownCallback","command","direction","registerCommand","$handleArrowKey","COMMAND_PRIORITY_HIGH","KEY_ESCAPE_COMMAND","focusCellNode","deleteTextHandler","isAnchorInside","isFocusInside","nearestElementNode","topLevelCellElementNode","getPreviousSibling","$deleteCellHandler","tablePoint","outerPoint","stopPropagation","CUT_COMMAND","copyToClipboard","objectKlassEquals","ClipboardEvent","$getClipboardDataFromSelection","intercepted","removeText","FORMAT_TEXT_COMMAND","payload","FORMAT_ELEMENT_COMMAND","formatType","$isFullTableSelection","setFormat","visited","cellChildren","isInline","CONTROLLED_TEXT_INSERTION_COMMAND","edgePosition","$getTableEdgeCursorPosition","$insertParagraphAtTableEdge","KEY_TAB_COMMAND","$findCellNode","siblingMethod","childMethod","sibling","parentRow","parentTable","selectNext","$selectAdjacentCell","FOCUS_COMMAND","isSelected","firstCell","anchorCellNode","isPartiallyWithinTable","isWithinTable","newSelection","lastCell","$addHighlightStyleToTable","prevAnchorCellNode","$getNearestNodeFromDOMNode","isFocusOutside","$createRangeSelectionFromDom","$forEachTableCell","highlighted","$removeHighlightFromDOM","removeAttribute","$removeHighlightStyleToTable","_cell","parentNode","querySelector","nodeMame","hasBackgroundColor","nextSibling","parentSibling","selectedCellNodes","lexicalNode","$addHighlightToDOM","cb","selectTableNodeInDirection","isForward","selectTableCellNode","getCellNodeFromCordsOrThrow","getCorner","rect","cellValue","colName","rowName","oppositeCorner","cellAtCornerOrThrow","rowNum","colNum","$adjustFocusInDirection","anchorCellValue","focusCellValue","spans","boundary","topSpan","leftSpan","rightSpan","bottomSpan","topRow","bottomRow","$computeTableCellRectSpans","anchorCorner","corner","getCornerOrThrow","focusColumn","fCol","fRow","targetRowMap","newFocusCellValue","finalAnchorCell","finalFocusCell","newFocusCorner","newAnchorCorner","$extractRectCorners","anchorDOM","focusDOM","fromStart","editorThemeClasses","tableCellSelected","$handleHorizontalArrowKeyRangeSelection","alter","initialFocus","$caretFromPoint","$isExtendableTextPointCaret","lastCaret","nextCaret","$extendCaretToRange","iterNodeCarets","$isSiblingCaret","origin","lastCaretParent","getParentAtCaret","focusCaret","initialCaret","$isChildCaret","$getChildCaret","$findNextTableCell","$getSiblingCaret","anchorCellTable","anchorCellDOM","anchorDOMCell","anchorCellTableElement","$getElementForTableNode","focusDOMCell","innerFocusCaret","$normalizeCaret","$setPointFromCaret","outerFocusCaret","adjacent","$getAdjacentChildCaret","$getTableExitCaret","root","hasAttribute","isTypeaheadMenuInView","$getBlockParentIfFirstNode","siblingNode","getIndexWithinParent","focusParentNode","newOffset","newFocusNode","getTextContentSize","$isRootOrShadowRoot","selectedNode","lastDescendant","getLastDescendant","firstCellNode","lastCellNode","firstCellCoords","lastCellCoords","firstCellDOM","getDOMCellFromCordsOrThrow","lastCellDOM","$isScrollableTablesActive","anchorCellDom","edgeSelectionRect","getBoundingClientRect","getRangeAt","edgeChild","edgeChildDOM","edgeRect","top","bottom","cords","tableNodeFromSelection","cordsAnchor","anchorValue","focusValue","stopImmediatePropagation","tableNodeParent","domAnchorNode","tableNodeParentDOM","isAtFirstCell","isAtLastCell","currentCords","startingDOM","editorState","alignTableElement","tableAlignment","removeClasses","addClasses","classes","scrollableEditors","WeakSet","setScrollableTablesActive","active","tableScrollableWrapper","console","warn","delete","TableNode","__rowStriping","__frozenColumnCount","__frozenRowCount","__colWidths","Object","freeze","_node","$convertTableElement","setRowStriping","rowStriping","setFrozenColumns","frozenColumnCount","setFrozenRows","frozenRowCount","withElement","withAfter","__style","cssText","colGroup","appendChild","setDOMUnmanaged","updateTableElement","wrapperElement","updateTableWrapper","tableWrapper","tableFrozenColumn","tableFrozenRow","tableRowStriping","colCount","cols","replaceChildren","updateColgroup","getFormatType","isHTMLElement$1","superExport","cellValues","mapValue","knownColumns","cellDOM","querySelectorAll","cellSpan","get","tBody","getDOMCellFromCords","getRowStriping","Boolean","newRowStriping","getFrozenColumns","getFrozenRows","canSelectBefore","$tableCellTransform","$tableRowTransform","$unwrapAndFilterDescendants","$tableTransform","maxRowLength","reduce","curLength","rowNodes","name","rowLength","acc","newCell","slice","fillWidth","fill","$tableClickCommand","startNode","blockNode","$tableSelectAllCommand","$getRoot","firstCellMap","lastCellMap","registerTableCellUnmergeTransform","registerNodeTransform","rowsCount","columnsCount","unmerged","lastRowCell","$insertFirst$1","registerTableSelectionObserver","tableSelections","initializeTableNode","nodeKey","unregisterMutationListener","registerMutationListener","nodeMutations","mutation","skipInitialization","registerTablePlugin","options","hasNodes","hasNestedTables","hasFitNestedTables","mergeRegister","Number","$insertNodeToNearestRoot","$insertTable","peek","COMMAND_PRIORITY_EDITOR","SELECTION_INSERT_CLIPBOARD_NODES_COMMAND","dispatchEditor","selectionPayload","$dfs","d","isTableSelection","isRangeSelection","anchorAndFocus","anchorRowNode","initialGridMap","templateGridMap","initialRowCount","initialColCount","startCol","affectedRowCount","affectedColCount","selectionBoundary","selectionRowCount","selectionColCount","didPerformMergeOperations","lastRowForUnmerge","lastColForUnmerge","unmergedKeys","interimGridMap","rowsToInsert","colsToInsert","templateRow","templateCol","templateCellMap","templateCell","cellsToMerge","lastRowForMerge","lastColForMerge","originalChildren","finalGridMap","$insertTableIntoGrid","isMultiCellTableSelection","isMultiCellRangeSelection","parentCell","cellWidth","$getCellWidth","borderBoxInsets","computedStyle","getComputedStyle","paddingLeft","getPropertyValue","paddingRight","borderLeftWidth","borderRightWidth","paddingLeftPx","paddingRightPx","borderLeftWidthPx","borderRightWidthPx","$calculateCellInsets","tables","$resizeTableToFitCell","$insertTableNodesIntoCells","$tableSelectionInsertClipboardNodesCommand","SELECT_ALL_COMMAND","COMMAND_PRIORITY_LOW","CLICK_COMMAND","destinationTableNode","cellRect","totalWidth","parentCellWidth","oldColWidths","usableWidth","tableWidth","curWidth","proportionalWidth","rowChildren","rowChild","cellChild","TableExtension","defineExtension","build","state","namedSignals","safeCast","hasCellBackgroundColor","hasCellMerge","hasHorizontalScroll","register","stores","getOutput","effect"],"mappings":"4mEAqBA,MAAMA,GAAsB,sBActBC,GAAwB,CAC5BC,KAAM,EACNC,OAAQ,EACRC,UAAW,EACXC,IAAK,GAGP,MAAMC,WAAsBC,EAE1BC,UAEAC,UAEAC,cAEAC,QAEAC,kBAEAC,gBACA,cAAOC,G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