@viswa-test/creative-workspace-ui-component 0.0.1

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 (736) hide show
  1. package/README.md +352 -0
  2. package/dist/_virtual/_tslib.js +2 -0
  3. package/dist/_virtual/_tslib.js.map +1 -0
  4. package/dist/cjs/_virtual/_tslib.js +2 -0
  5. package/dist/cjs/_virtual/_tslib.js.map +1 -0
  6. package/dist/cjs/components/ScopeTree/HighlightedText.js +2 -0
  7. package/dist/cjs/components/ScopeTree/HighlightedText.js.map +1 -0
  8. package/dist/cjs/components/ScopeTree/TreeAddAction.js +2 -0
  9. package/dist/cjs/components/ScopeTree/TreeAddAction.js.map +1 -0
  10. package/dist/cjs/components/ScopeTree/TreeMenu.js +2 -0
  11. package/dist/cjs/components/ScopeTree/TreeMenu.js.map +1 -0
  12. package/dist/cjs/components/ScopeTree/TreeNode.js +2 -0
  13. package/dist/cjs/components/ScopeTree/TreeNode.js.map +1 -0
  14. package/dist/cjs/components/ScopeTree/TreeNodeHeader.js +2 -0
  15. package/dist/cjs/components/ScopeTree/TreeNodeHeader.js.map +1 -0
  16. package/dist/cjs/components/ScopeTree/TreeSectionItem.js +2 -0
  17. package/dist/cjs/components/ScopeTree/TreeSectionItem.js.map +1 -0
  18. package/dist/cjs/components/ScopeTree/TreeSidebar.js +2 -0
  19. package/dist/cjs/components/ScopeTree/TreeSidebar.js.map +1 -0
  20. package/dist/cjs/components/ScopeTree/TreeTooltip.js +2 -0
  21. package/dist/cjs/components/ScopeTree/TreeTooltip.js.map +1 -0
  22. package/dist/cjs/index.js +2 -0
  23. package/dist/cjs/index.js.map +1 -0
  24. package/dist/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +2 -0
  25. package/dist/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js.map +1 -0
  26. package/dist/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +2 -0
  27. package/dist/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js.map +1 -0
  28. package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js +2 -0
  29. package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js.map +1 -0
  30. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +2 -0
  31. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js.map +1 -0
  32. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +2 -0
  33. package/dist/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js.map +1 -0
  34. package/dist/cjs/node_modules/@radix-ui/primitive/dist/index.mjs.js +2 -0
  35. package/dist/cjs/node_modules/@radix-ui/primitive/dist/index.mjs.js.map +1 -0
  36. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.mjs.js +2 -0
  37. package/dist/cjs/node_modules/@radix-ui/react-arrow/dist/index.mjs.js.map +1 -0
  38. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +2 -0
  39. package/dist/cjs/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +1 -0
  40. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.mjs.js +2 -0
  41. package/dist/cjs/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +1 -0
  42. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js +2 -0
  43. package/dist/cjs/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js.map +1 -0
  44. package/dist/cjs/node_modules/@radix-ui/react-id/dist/index.mjs.js +2 -0
  45. package/dist/cjs/node_modules/@radix-ui/react-id/dist/index.mjs.js.map +1 -0
  46. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.mjs.js +2 -0
  47. package/dist/cjs/node_modules/@radix-ui/react-popper/dist/index.mjs.js.map +1 -0
  48. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.mjs.js +2 -0
  49. package/dist/cjs/node_modules/@radix-ui/react-portal/dist/index.mjs.js.map +1 -0
  50. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/index.mjs.js +2 -0
  51. package/dist/cjs/node_modules/@radix-ui/react-presence/dist/index.mjs.js.map +1 -0
  52. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.mjs.js +2 -0
  53. package/dist/cjs/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +1 -0
  54. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.mjs.js +2 -0
  55. package/dist/cjs/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -0
  56. package/dist/cjs/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js +2 -0
  57. package/dist/cjs/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js.map +1 -0
  58. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js +2 -0
  59. package/dist/cjs/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js.map +1 -0
  60. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js +2 -0
  61. package/dist/cjs/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js.map +1 -0
  62. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js +2 -0
  63. package/dist/cjs/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js.map +1 -0
  64. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js +2 -0
  65. package/dist/cjs/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js.map +1 -0
  66. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/index.mjs.js +2 -0
  67. package/dist/cjs/node_modules/@radix-ui/react-use-size/dist/index.mjs.js.map +1 -0
  68. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js +2 -0
  69. package/dist/cjs/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js.map +1 -0
  70. package/dist/cjs/node_modules/style-inject/dist/style-inject.es.js +2 -0
  71. package/dist/cjs/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  72. package/dist/cjs/styles/ScopeTree.module.css.js +2 -0
  73. package/dist/cjs/styles/ScopeTree.module.css.js.map +1 -0
  74. package/dist/cjs/utils/treeUtils.js +2 -0
  75. package/dist/cjs/utils/treeUtils.js.map +1 -0
  76. package/dist/components/ScopeTree/HighlightedText.js +2 -0
  77. package/dist/components/ScopeTree/HighlightedText.js.map +1 -0
  78. package/dist/components/ScopeTree/TreeAddAction.js +2 -0
  79. package/dist/components/ScopeTree/TreeAddAction.js.map +1 -0
  80. package/dist/components/ScopeTree/TreeMenu.js +2 -0
  81. package/dist/components/ScopeTree/TreeMenu.js.map +1 -0
  82. package/dist/components/ScopeTree/TreeNode.js +2 -0
  83. package/dist/components/ScopeTree/TreeNode.js.map +1 -0
  84. package/dist/components/ScopeTree/TreeNodeHeader.js +2 -0
  85. package/dist/components/ScopeTree/TreeNodeHeader.js.map +1 -0
  86. package/dist/components/ScopeTree/TreeSectionItem.js +2 -0
  87. package/dist/components/ScopeTree/TreeSectionItem.js.map +1 -0
  88. package/dist/components/ScopeTree/TreeSidebar.js +2 -0
  89. package/dist/components/ScopeTree/TreeSidebar.js.map +1 -0
  90. package/dist/components/ScopeTree/TreeTooltip.js +2 -0
  91. package/dist/components/ScopeTree/TreeTooltip.js.map +1 -0
  92. package/dist/index.js +2 -0
  93. package/dist/index.js.map +1 -0
  94. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +2 -0
  95. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js.map +1 -0
  96. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +2 -0
  97. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js.map +1 -0
  98. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js +2 -0
  99. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js.map +1 -0
  100. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +2 -0
  101. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js.map +1 -0
  102. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +2 -0
  103. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js.map +1 -0
  104. package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.js +2 -0
  105. package/dist/node_modules/@radix-ui/primitive/dist/index.mjs.js.map +1 -0
  106. package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.js +2 -0
  107. package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs.js.map +1 -0
  108. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js +2 -0
  109. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs.js.map +1 -0
  110. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js +2 -0
  111. package/dist/node_modules/@radix-ui/react-context/dist/index.mjs.js.map +1 -0
  112. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js +2 -0
  113. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs.js.map +1 -0
  114. package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.js +2 -0
  115. package/dist/node_modules/@radix-ui/react-id/dist/index.mjs.js.map +1 -0
  116. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js +2 -0
  117. package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs.js.map +1 -0
  118. package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.js +2 -0
  119. package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs.js.map +1 -0
  120. package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.js +2 -0
  121. package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs.js.map +1 -0
  122. package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.js +2 -0
  123. package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs.js.map +1 -0
  124. package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.js +2 -0
  125. package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs.js.map +1 -0
  126. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js +2 -0
  127. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.mjs.js.map +1 -0
  128. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js +2 -0
  129. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs.js.map +1 -0
  130. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js +2 -0
  131. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs.js.map +1 -0
  132. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js +2 -0
  133. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs.js.map +1 -0
  134. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js +2 -0
  135. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs.js.map +1 -0
  136. package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.js +2 -0
  137. package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs.js.map +1 -0
  138. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js +2 -0
  139. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs.js.map +1 -0
  140. package/dist/node_modules/style-inject/dist/style-inject.es.js +2 -0
  141. package/dist/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
  142. package/dist/styles/ScopeTree.module.css.js +2 -0
  143. package/dist/styles/ScopeTree.module.css.js.map +1 -0
  144. package/dist/types/src/App.d.ts +3 -0
  145. package/dist/types/src/App.d.ts.map +1 -0
  146. package/dist/types/src/RequirementAiTest.d.ts +12 -0
  147. package/dist/types/src/RequirementAiTest.d.ts.map +1 -0
  148. package/dist/types/src/components/ScopeTree/HighlightedText.d.ts +8 -0
  149. package/dist/types/src/components/ScopeTree/HighlightedText.d.ts.map +1 -0
  150. package/dist/types/src/components/ScopeTree/TreeAddAction.d.ts +8 -0
  151. package/dist/types/src/components/ScopeTree/TreeAddAction.d.ts.map +1 -0
  152. package/dist/types/src/components/ScopeTree/TreeMenu.d.ts +17 -0
  153. package/dist/types/src/components/ScopeTree/TreeMenu.d.ts.map +1 -0
  154. package/dist/types/src/components/ScopeTree/TreeNode.d.ts +26 -0
  155. package/dist/types/src/components/ScopeTree/TreeNode.d.ts.map +1 -0
  156. package/dist/types/src/components/ScopeTree/TreeNodeHeader.d.ts +17 -0
  157. package/dist/types/src/components/ScopeTree/TreeNodeHeader.d.ts.map +1 -0
  158. package/dist/types/src/components/ScopeTree/TreeSectionItem.d.ts +16 -0
  159. package/dist/types/src/components/ScopeTree/TreeSectionItem.d.ts.map +1 -0
  160. package/dist/types/src/components/ScopeTree/TreeSidebar.d.ts +21 -0
  161. package/dist/types/src/components/ScopeTree/TreeSidebar.d.ts.map +1 -0
  162. package/dist/types/src/components/ScopeTree/TreeTooltip.d.ts +10 -0
  163. package/dist/types/src/components/ScopeTree/TreeTooltip.d.ts.map +1 -0
  164. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +31 -0
  165. package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
  166. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
  167. package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
  168. package/dist/types/src/features/RequirementAI/components/CustomPopover/CustomPopover.d.ts +14 -0
  169. package/dist/types/src/features/RequirementAI/components/CustomPopover/CustomPopover.d.ts.map +1 -0
  170. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.d.ts +64 -0
  171. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.d.ts.map +1 -0
  172. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.d.ts +22 -0
  173. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.d.ts.map +1 -0
  174. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.d.ts +21 -0
  175. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.d.ts.map +1 -0
  176. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.d.ts +10 -0
  177. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.d.ts.map +1 -0
  178. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.d.ts +26 -0
  179. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.d.ts.map +1 -0
  180. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/types/gapRiskSidebar.types.d.ts +248 -0
  181. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/types/gapRiskSidebar.types.d.ts.map +1 -0
  182. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.d.ts +18 -0
  183. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.d.ts.map +1 -0
  184. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.d.ts +18 -0
  185. package/dist/types/src/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.d.ts.map +1 -0
  186. package/dist/types/src/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.d.ts +11 -0
  187. package/dist/types/src/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.d.ts.map +1 -0
  188. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +369 -0
  189. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -0
  190. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts +38 -0
  191. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts.map +1 -0
  192. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.d.ts +15 -0
  193. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.d.ts.map +1 -0
  194. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.d.ts +7 -0
  195. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.d.ts.map +1 -0
  196. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.d.ts +7 -0
  197. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.d.ts.map +1 -0
  198. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.d.ts +13 -0
  199. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.d.ts.map +1 -0
  200. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/EditorDropdown/EditorDropdown.d.ts +16 -0
  201. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/EditorDropdown/EditorDropdown.d.ts.map +1 -0
  202. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/LinkEditor/LinkEditorButton/LinkEditorButton.d.ts +9 -0
  203. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/LinkEditor/LinkEditorButton/LinkEditorButton.d.ts.map +1 -0
  204. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.d.ts +13 -0
  205. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.d.ts.map +1 -0
  206. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.d.ts +3 -0
  207. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.d.ts.map +1 -0
  208. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.d.ts +8 -0
  209. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.d.ts.map +1 -0
  210. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.d.ts +13 -0
  211. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.d.ts.map +1 -0
  212. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Table/tableHelpers.d.ts +3 -0
  213. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/components/Table/tableHelpers.d.ts.map +1 -0
  214. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.d.ts +32 -0
  215. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.d.ts.map +1 -0
  216. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/enums.d.ts +17 -0
  217. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/enums.d.ts.map +1 -0
  218. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/models.d.ts +48 -0
  219. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/models.d.ts.map +1 -0
  220. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.d.ts +3 -0
  221. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.d.ts.map +1 -0
  222. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/hooks/useModal.d.ts +13 -0
  223. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/hooks/useModal.d.ts.map +1 -0
  224. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/hooks/useOnClickOutside.d.ts +5 -0
  225. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/hooks/useOnClickOutside.d.ts.map +1 -0
  226. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.d.ts +20 -0
  227. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.d.ts.map +1 -0
  228. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts +26 -0
  229. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts.map +1 -0
  230. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts +9 -0
  231. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +1 -0
  232. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialString.d.ts +6 -0
  233. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialString.d.ts.map +1 -0
  234. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts +20 -0
  235. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts.map +1 -0
  236. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.d.ts +10 -0
  237. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/LayoutPlugin.d.ts.map +1 -0
  238. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/CommentEditorTheme.d.ts +12 -0
  239. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/CommentEditorTheme.d.ts.map +1 -0
  240. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/PlaygroundEditorTheme.d.ts +12 -0
  241. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/PlaygroundEditorTheme.d.ts.map +1 -0
  242. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.d.ts +5 -0
  243. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.d.ts.map +1 -0
  244. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/Button.d.ts +19 -0
  245. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/Button.d.ts.map +1 -0
  246. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/ContentEditable.d.ts +17 -0
  247. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/ContentEditable.d.ts.map +1 -0
  248. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/Modal.d.ts +16 -0
  249. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/ui/Modal.d.ts.map +1 -0
  250. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/commentsHelper.d.ts +21 -0
  251. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/commentsHelper.d.ts.map +1 -0
  252. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.d.ts +3 -0
  253. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.d.ts.map +1 -0
  254. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/joinClasses.d.ts +9 -0
  255. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/joinClasses.d.ts.map +1 -0
  256. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts +15 -0
  257. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -0
  258. package/dist/types/src/features/RequirementAI/components/RichTextEditor/commenting/index.d.ts +52 -0
  259. package/dist/types/src/features/RequirementAI/components/RichTextEditor/commenting/index.d.ts.map +1 -0
  260. package/dist/types/src/features/RequirementAI/components/UserStoryCard/AttachedContext.d.ts +19 -0
  261. package/dist/types/src/features/RequirementAI/components/UserStoryCard/AttachedContext.d.ts.map +1 -0
  262. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts +27 -0
  263. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -0
  264. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationRenderer.d.ts +11 -0
  265. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationRenderer.d.ts.map +1 -0
  266. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +34 -0
  267. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -0
  268. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.d.ts +9 -0
  269. package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.d.ts.map +1 -0
  270. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +58 -0
  271. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -0
  272. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts +58 -0
  273. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts.map +1 -0
  274. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.d.ts +29 -0
  275. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.d.ts.map +1 -0
  276. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +50 -0
  277. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -0
  278. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.d.ts +20 -0
  279. package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.d.ts.map +1 -0
  280. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +72 -0
  281. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -0
  282. package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/AiGapIcon.d.ts +7 -0
  283. package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/AiGapIcon.d.ts.map +1 -0
  284. package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.d.ts +6 -0
  285. package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.d.ts.map +1 -0
  286. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.d.ts +20 -0
  287. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.d.ts.map +1 -0
  288. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts +15 -0
  289. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +1 -0
  290. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.d.ts +14 -0
  291. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.d.ts.map +1 -0
  292. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts +20 -0
  293. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +1 -0
  294. package/dist/types/src/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.d.ts +9 -0
  295. package/dist/types/src/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.d.ts.map +1 -0
  296. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.d.ts +15 -0
  297. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.d.ts.map +1 -0
  298. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.d.ts +5 -0
  299. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.d.ts.map +1 -0
  300. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.d.ts +15 -0
  301. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.d.ts.map +1 -0
  302. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.d.ts +4 -0
  303. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.d.ts.map +1 -0
  304. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.d.ts +4 -0
  305. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.d.ts.map +1 -0
  306. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronDown.d.ts +4 -0
  307. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronDown.d.ts.map +1 -0
  308. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronUpIcon.d.ts +4 -0
  309. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronUpIcon.d.ts.map +1 -0
  310. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ExternalLinkIcon.d.ts +4 -0
  311. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ExternalLinkIcon.d.ts.map +1 -0
  312. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/MessageCircleIcon.d.ts +4 -0
  313. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/MessageCircleIcon.d.ts.map +1 -0
  314. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/NotebookIcon.d.ts +4 -0
  315. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/NotebookIcon.d.ts.map +1 -0
  316. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.d.ts +7 -0
  317. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.d.ts.map +1 -0
  318. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/types.d.ts +74 -0
  319. package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/types.d.ts.map +1 -0
  320. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.d.ts +15 -0
  321. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.d.ts.map +1 -0
  322. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.d.ts +13 -0
  323. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.d.ts.map +1 -0
  324. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.d.ts +4 -0
  325. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.d.ts.map +1 -0
  326. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.d.ts +35 -0
  327. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.d.ts.map +1 -0
  328. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.d.ts +20 -0
  329. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.d.ts.map +1 -0
  330. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.d.ts +30 -0
  331. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.d.ts.map +1 -0
  332. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.d.ts +7 -0
  333. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.d.ts.map +1 -0
  334. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/CloseIcon.d.ts +7 -0
  335. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/CloseIcon.d.ts.map +1 -0
  336. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.d.ts +7 -0
  337. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.d.ts.map +1 -0
  338. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.d.ts +7 -0
  339. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.d.ts.map +1 -0
  340. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.d.ts +7 -0
  341. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.d.ts.map +1 -0
  342. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.d.ts +7 -0
  343. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.d.ts.map +1 -0
  344. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.d.ts +3 -0
  345. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.d.ts.map +1 -0
  346. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.d.ts +7 -0
  347. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.d.ts.map +1 -0
  348. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/searchwaveform.d.ts +41 -0
  349. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/searchwaveform.d.ts.map +1 -0
  350. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.d.ts +16 -0
  351. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.d.ts.map +1 -0
  352. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.d.ts +23 -0
  353. package/dist/types/src/features/RequirementAI/components/citations/audio-citation/utils/word-segment-util.d.ts.map +1 -0
  354. package/dist/types/src/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.d.ts +11 -0
  355. package/dist/types/src/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.d.ts.map +1 -0
  356. package/dist/types/src/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.d.ts +18 -0
  357. package/dist/types/src/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.d.ts.map +1 -0
  358. package/dist/types/src/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.d.ts +4 -0
  359. package/dist/types/src/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.d.ts.map +1 -0
  360. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts +12 -0
  361. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts.map +1 -0
  362. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts +11 -0
  363. package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts.map +1 -0
  364. package/dist/types/src/features/RequirementAI/components/citations/file-citation/LoadingScreen.d.ts +2 -0
  365. package/dist/types/src/features/RequirementAI/components/citations/file-citation/LoadingScreen.d.ts.map +1 -0
  366. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationContent.d.ts +9 -0
  367. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationContent.d.ts.map +1 -0
  368. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.d.ts +4 -0
  369. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.d.ts.map +1 -0
  370. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.d.ts +11 -0
  371. package/dist/types/src/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.d.ts.map +1 -0
  372. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationContent.d.ts +12 -0
  373. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationContent.d.ts.map +1 -0
  374. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.d.ts +5 -0
  375. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.d.ts.map +1 -0
  376. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/types.d.ts +28 -0
  377. package/dist/types/src/features/RequirementAI/components/citations/rca-citation/types.d.ts.map +1 -0
  378. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.d.ts +13 -0
  379. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.d.ts.map +1 -0
  380. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts +15 -0
  381. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +1 -0
  382. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.d.ts +5 -0
  383. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.d.ts.map +1 -0
  384. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.d.ts +8 -0
  385. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.d.ts.map +1 -0
  386. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.d.ts +8 -0
  387. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.d.ts.map +1 -0
  388. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/types.d.ts +72 -0
  389. package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/types.d.ts.map +1 -0
  390. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.d.ts +12 -0
  391. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.d.ts.map +1 -0
  392. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/StormeeContent.d.ts +18 -0
  393. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/StormeeContent.d.ts.map +1 -0
  394. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.d.ts +9 -0
  395. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.d.ts.map +1 -0
  396. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.d.ts +13 -0
  397. package/dist/types/src/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.d.ts.map +1 -0
  398. package/dist/types/src/features/RequirementAI/components/citations/web-citation/FullScreenIcon.d.ts +7 -0
  399. package/dist/types/src/features/RequirementAI/components/citations/web-citation/FullScreenIcon.d.ts.map +1 -0
  400. package/dist/types/src/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.d.ts +18 -0
  401. package/dist/types/src/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.d.ts.map +1 -0
  402. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitation.d.ts +10 -0
  403. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitation.d.ts.map +1 -0
  404. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationIcon.d.ts +3 -0
  405. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationIcon.d.ts.map +1 -0
  406. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.d.ts +10 -0
  407. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.d.ts.map +1 -0
  408. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.d.ts +23 -0
  409. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.d.ts.map +1 -0
  410. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.d.ts +11 -0
  411. package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.d.ts.map +1 -0
  412. package/dist/types/src/features/RequirementAI/components/cra/PartialRequirementContent.d.ts +17 -0
  413. package/dist/types/src/features/RequirementAI/components/cra/PartialRequirementContent.d.ts.map +1 -0
  414. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +56 -0
  415. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -0
  416. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +65 -0
  417. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -0
  418. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.d.ts +26 -0
  419. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.d.ts.map +1 -0
  420. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts +44 -0
  421. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts.map +1 -0
  422. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.d.ts +9 -0
  423. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.d.ts.map +1 -0
  424. package/dist/types/src/features/RequirementAI/components/segment/ExampleComponentWrapper.d.ts +11 -0
  425. package/dist/types/src/features/RequirementAI/components/segment/ExampleComponentWrapper.d.ts.map +1 -0
  426. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +20 -0
  427. package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -0
  428. package/dist/types/src/features/RequirementAI/components/segment/SegmentLoader.d.ts +9 -0
  429. package/dist/types/src/features/RequirementAI/components/segment/SegmentLoader.d.ts.map +1 -0
  430. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +15 -0
  431. package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -0
  432. package/dist/types/src/features/RequirementAI/components/story-screen/BigEnoughPanel.d.ts +11 -0
  433. package/dist/types/src/features/RequirementAI/components/story-screen/BigEnoughPanel.d.ts.map +1 -0
  434. package/dist/types/src/features/RequirementAI/components/story-screen/ReplaceLearnedTags.d.ts +3 -0
  435. package/dist/types/src/features/RequirementAI/components/story-screen/ReplaceLearnedTags.d.ts.map +1 -0
  436. package/dist/types/src/features/RequirementAI/components/story-screen/StreamingScreenSidebar.d.ts +13 -0
  437. package/dist/types/src/features/RequirementAI/components/story-screen/StreamingScreenSidebar.d.ts.map +1 -0
  438. package/dist/types/src/features/RequirementAI/components/story-screen/SubfeatureBlock.d.ts +15 -0
  439. package/dist/types/src/features/RequirementAI/components/story-screen/SubfeatureBlock.d.ts.map +1 -0
  440. package/dist/types/src/features/RequirementAI/components/story-screen/UserStoryScreen.d.ts +47 -0
  441. package/dist/types/src/features/RequirementAI/components/story-screen/UserStoryScreen.d.ts.map +1 -0
  442. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts +31 -0
  443. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts.map +1 -0
  444. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts +70 -0
  445. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts.map +1 -0
  446. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.d.ts +18 -0
  447. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.d.ts.map +1 -0
  448. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.d.ts +22 -0
  449. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.d.ts.map +1 -0
  450. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.d.ts +43 -0
  451. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.d.ts.map +1 -0
  452. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.d.ts +18 -0
  453. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.d.ts.map +1 -0
  454. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.d.ts +26 -0
  455. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.d.ts.map +1 -0
  456. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.d.ts +29 -0
  457. package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.d.ts.map +1 -0
  458. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +114 -0
  459. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -0
  460. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +19 -0
  461. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -0
  462. package/dist/types/src/features/RequirementAI/hooks/useApprovalStatus.d.ts +20 -0
  463. package/dist/types/src/features/RequirementAI/hooks/useApprovalStatus.d.ts.map +1 -0
  464. package/dist/types/src/features/RequirementAI/hooks/useDiffEditReviewMode.d.ts +8 -0
  465. package/dist/types/src/features/RequirementAI/hooks/useDiffEditReviewMode.d.ts.map +1 -0
  466. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +41 -0
  467. package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +1 -0
  468. package/dist/types/src/features/RequirementAI/icons/AiGapIcon.d.ts +7 -0
  469. package/dist/types/src/features/RequirementAI/icons/AiGapIcon.d.ts.map +1 -0
  470. package/dist/types/src/features/RequirementAI/icons/AiReasoningIcon.d.ts +7 -0
  471. package/dist/types/src/features/RequirementAI/icons/AiReasoningIcon.d.ts.map +1 -0
  472. package/dist/types/src/features/RequirementAI/icons/BigEnoughIcon.d.ts +8 -0
  473. package/dist/types/src/features/RequirementAI/icons/BigEnoughIcon.d.ts.map +1 -0
  474. package/dist/types/src/features/RequirementAI/icons/BookmarkIcon.d.ts +10 -0
  475. package/dist/types/src/features/RequirementAI/icons/BookmarkIcon.d.ts.map +1 -0
  476. package/dist/types/src/features/RequirementAI/icons/BrainRed.d.ts +3 -0
  477. package/dist/types/src/features/RequirementAI/icons/BrainRed.d.ts.map +1 -0
  478. package/dist/types/src/features/RequirementAI/icons/CDIcon.d.ts +3 -0
  479. package/dist/types/src/features/RequirementAI/icons/CDIcon.d.ts.map +1 -0
  480. package/dist/types/src/features/RequirementAI/icons/CheckIcon.d.ts +5 -0
  481. package/dist/types/src/features/RequirementAI/icons/CheckIcon.d.ts.map +1 -0
  482. package/dist/types/src/features/RequirementAI/icons/ChevronDownIcon.d.ts +5 -0
  483. package/dist/types/src/features/RequirementAI/icons/ChevronDownIcon.d.ts.map +1 -0
  484. package/dist/types/src/features/RequirementAI/icons/ChevronUpIcon.d.ts +5 -0
  485. package/dist/types/src/features/RequirementAI/icons/ChevronUpIcon.d.ts.map +1 -0
  486. package/dist/types/src/features/RequirementAI/icons/CognitiveDecision.d.ts +7 -0
  487. package/dist/types/src/features/RequirementAI/icons/CognitiveDecision.d.ts.map +1 -0
  488. package/dist/types/src/features/RequirementAI/icons/MeetingHighlightsIcon.d.ts +3 -0
  489. package/dist/types/src/features/RequirementAI/icons/MeetingHighlightsIcon.d.ts.map +1 -0
  490. package/dist/types/src/features/RequirementAI/icons/MenuUnfoldIcon.d.ts +9 -0
  491. package/dist/types/src/features/RequirementAI/icons/MenuUnfoldIcon.d.ts.map +1 -0
  492. package/dist/types/src/features/RequirementAI/icons/PencilIcon.d.ts +5 -0
  493. package/dist/types/src/features/RequirementAI/icons/PencilIcon.d.ts.map +1 -0
  494. package/dist/types/src/features/RequirementAI/icons/ReasoningBulbIcon.d.ts +7 -0
  495. package/dist/types/src/features/RequirementAI/icons/ReasoningBulbIcon.d.ts.map +1 -0
  496. package/dist/types/src/features/RequirementAI/icons/RelevanceScoreIcon.d.ts +7 -0
  497. package/dist/types/src/features/RequirementAI/icons/RelevanceScoreIcon.d.ts.map +1 -0
  498. package/dist/types/src/features/RequirementAI/icons/SidebarCloseIcon.d.ts +5 -0
  499. package/dist/types/src/features/RequirementAI/icons/SidebarCloseIcon.d.ts.map +1 -0
  500. package/dist/types/src/features/RequirementAI/icons/SidebarOpenIcon.d.ts +5 -0
  501. package/dist/types/src/features/RequirementAI/icons/SidebarOpenIcon.d.ts.map +1 -0
  502. package/dist/types/src/features/RequirementAI/icons/TrashIcon.d.ts +5 -0
  503. package/dist/types/src/features/RequirementAI/icons/TrashIcon.d.ts.map +1 -0
  504. package/dist/types/src/features/RequirementAI/interfaces/approval-screen.interface.d.ts +12 -0
  505. package/dist/types/src/features/RequirementAI/interfaces/approval-screen.interface.d.ts.map +1 -0
  506. package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts +47 -0
  507. package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts.map +1 -0
  508. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +316 -0
  509. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -0
  510. package/dist/types/src/features/RequirementAI/shared/Accordian.d.ts +14 -0
  511. package/dist/types/src/features/RequirementAI/shared/Accordian.d.ts.map +1 -0
  512. package/dist/types/src/features/RequirementAI/shared/AtomicButton.d.ts +22 -0
  513. package/dist/types/src/features/RequirementAI/shared/AtomicButton.d.ts.map +1 -0
  514. package/dist/types/src/features/RequirementAI/shared/CitationAIConfidenceDisplay.d.ts +8 -0
  515. package/dist/types/src/features/RequirementAI/shared/CitationAIConfidenceDisplay.d.ts.map +1 -0
  516. package/dist/types/src/features/RequirementAI/shared/CitationLoadingIndicator.d.ts +11 -0
  517. package/dist/types/src/features/RequirementAI/shared/CitationLoadingIndicator.d.ts.map +1 -0
  518. package/dist/types/src/features/RequirementAI/shared/CodeViewer.d.ts +11 -0
  519. package/dist/types/src/features/RequirementAI/shared/CodeViewer.d.ts.map +1 -0
  520. package/dist/types/src/features/RequirementAI/shared/ExpandableOl.d.ts +17 -0
  521. package/dist/types/src/features/RequirementAI/shared/ExpandableOl.d.ts.map +1 -0
  522. package/dist/types/src/features/RequirementAI/shared/GeneratedCodeCitation.d.ts +12 -0
  523. package/dist/types/src/features/RequirementAI/shared/GeneratedCodeCitation.d.ts.map +1 -0
  524. package/dist/types/src/features/RequirementAI/shared/ReqAiCitationRenderer.d.ts +12 -0
  525. package/dist/types/src/features/RequirementAI/shared/ReqAiCitationRenderer.d.ts.map +1 -0
  526. package/dist/types/src/features/RequirementAI/shared/UpdatedAnimationContent.d.ts +46 -0
  527. package/dist/types/src/features/RequirementAI/shared/UpdatedAnimationContent.d.ts.map +1 -0
  528. package/dist/types/src/features/RequirementAI/shared/useMarkdownSearch.d.ts +6 -0
  529. package/dist/types/src/features/RequirementAI/shared/useMarkdownSearch.d.ts.map +1 -0
  530. package/dist/types/src/features/RequirementAI/store/ref.context.d.ts +12 -0
  531. package/dist/types/src/features/RequirementAI/store/ref.context.d.ts.map +1 -0
  532. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +449 -0
  533. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -0
  534. package/dist/types/src/features/RequirementAI/types/citation.type.d.ts +136 -0
  535. package/dist/types/src/features/RequirementAI/types/citation.type.d.ts.map +1 -0
  536. package/dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts +82 -0
  537. package/dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts.map +1 -0
  538. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +22 -0
  539. package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -0
  540. package/dist/types/src/features/RequirementAI/types/streaming-block.type.d.ts +30 -0
  541. package/dist/types/src/features/RequirementAI/types/streaming-block.type.d.ts.map +1 -0
  542. package/dist/types/src/features/RequirementAI/types/user.type.d.ts +21 -0
  543. package/dist/types/src/features/RequirementAI/types/user.type.d.ts.map +1 -0
  544. package/dist/types/src/features/RequirementAI/utils/css.utils.d.ts +2 -0
  545. package/dist/types/src/features/RequirementAI/utils/css.utils.d.ts.map +1 -0
  546. package/dist/types/src/features/RequirementAI/utils/diff-edit.utils.d.ts +13 -0
  547. package/dist/types/src/features/RequirementAI/utils/diff-edit.utils.d.ts.map +1 -0
  548. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts +6 -0
  549. package/dist/types/src/features/RequirementAI/utils/helpers.d.ts.map +1 -0
  550. package/dist/types/src/features/RequirementAI/utils/json-helper.d.ts +2 -0
  551. package/dist/types/src/features/RequirementAI/utils/json-helper.d.ts.map +1 -0
  552. package/dist/types/src/features/RequirementAI/utils/learned-tag.utils.d.ts +33 -0
  553. package/dist/types/src/features/RequirementAI/utils/learned-tag.utils.d.ts.map +1 -0
  554. package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts +15 -0
  555. package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts.map +1 -0
  556. package/dist/types/src/features/RequirementAI/utils/user-story.utils.d.ts +16 -0
  557. package/dist/types/src/features/RequirementAI/utils/user-story.utils.d.ts.map +1 -0
  558. package/dist/types/src/features/RequirementAI/utils/userStoryAttachedContext.utils.d.ts +10 -0
  559. package/dist/types/src/features/RequirementAI/utils/userStoryAttachedContext.utils.d.ts.map +1 -0
  560. package/dist/types/src/features/RequirementAI/utils/userstory-approval-transform.utils.d.ts +33 -0
  561. package/dist/types/src/features/RequirementAI/utils/userstory-approval-transform.utils.d.ts.map +1 -0
  562. package/dist/types/src/features/RequirementAI/utils/userstory-approval.utils.d.ts +41 -0
  563. package/dist/types/src/features/RequirementAI/utils/userstory-approval.utils.d.ts.map +1 -0
  564. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +124 -0
  565. package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
  566. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +7 -0
  567. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
  568. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
  569. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
  570. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
  571. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
  572. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
  573. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
  574. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
  575. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
  576. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
  577. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
  578. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
  579. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
  580. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
  581. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
  582. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
  583. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
  584. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
  585. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
  586. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
  587. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
  588. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
  589. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
  590. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
  591. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
  592. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
  593. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
  594. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
  595. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
  596. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +7 -0
  597. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
  598. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
  599. package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
  600. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +183 -0
  601. package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
  602. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +32 -0
  603. package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
  604. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
  605. package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
  606. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +42 -0
  607. package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
  608. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +48 -0
  609. package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
  610. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +17 -0
  611. package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
  612. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
  613. package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
  614. package/dist/types/src/features/UserStoryImport/UserStoryPicker.context.d.ts +53 -0
  615. package/dist/types/src/features/UserStoryImport/UserStoryPicker.context.d.ts.map +1 -0
  616. package/dist/types/src/features/UserStoryImport/UserStoryPicker.d.ts +4 -0
  617. package/dist/types/src/features/UserStoryImport/UserStoryPicker.d.ts.map +1 -0
  618. package/dist/types/src/features/UserStoryImport/UserStoryPicker.theme.d.ts +98 -0
  619. package/dist/types/src/features/UserStoryImport/UserStoryPicker.theme.d.ts.map +1 -0
  620. package/dist/types/src/features/UserStoryImport/UserStoryPicker.types.d.ts +277 -0
  621. package/dist/types/src/features/UserStoryImport/UserStoryPicker.types.d.ts.map +1 -0
  622. package/dist/types/src/features/UserStoryImport/components/BackNav.d.ts +10 -0
  623. package/dist/types/src/features/UserStoryImport/components/BackNav.d.ts.map +1 -0
  624. package/dist/types/src/features/UserStoryImport/components/Badge.d.ts +10 -0
  625. package/dist/types/src/features/UserStoryImport/components/Badge.d.ts.map +1 -0
  626. package/dist/types/src/features/UserStoryImport/components/BrowseProjectsButton.d.ts +9 -0
  627. package/dist/types/src/features/UserStoryImport/components/BrowseProjectsButton.d.ts.map +1 -0
  628. package/dist/types/src/features/UserStoryImport/components/CardGrid.d.ts +9 -0
  629. package/dist/types/src/features/UserStoryImport/components/CardGrid.d.ts.map +1 -0
  630. package/dist/types/src/features/UserStoryImport/components/CardProceedButton.d.ts +7 -0
  631. package/dist/types/src/features/UserStoryImport/components/CardProceedButton.d.ts.map +1 -0
  632. package/dist/types/src/features/UserStoryImport/components/ContentArea.d.ts +8 -0
  633. package/dist/types/src/features/UserStoryImport/components/ContentArea.d.ts.map +1 -0
  634. package/dist/types/src/features/UserStoryImport/components/Footer.d.ts +8 -0
  635. package/dist/types/src/features/UserStoryImport/components/Footer.d.ts.map +1 -0
  636. package/dist/types/src/features/UserStoryImport/components/Header.d.ts +12 -0
  637. package/dist/types/src/features/UserStoryImport/components/Header.d.ts.map +1 -0
  638. package/dist/types/src/features/UserStoryImport/components/NavRow.d.ts +8 -0
  639. package/dist/types/src/features/UserStoryImport/components/NavRow.d.ts.map +1 -0
  640. package/dist/types/src/features/UserStoryImport/components/ProceedButton.d.ts +9 -0
  641. package/dist/types/src/features/UserStoryImport/components/ProceedButton.d.ts.map +1 -0
  642. package/dist/types/src/features/UserStoryImport/components/ProjectCard.d.ts +13 -0
  643. package/dist/types/src/features/UserStoryImport/components/ProjectCard.d.ts.map +1 -0
  644. package/dist/types/src/features/UserStoryImport/components/ResizeHandle.d.ts +10 -0
  645. package/dist/types/src/features/UserStoryImport/components/ResizeHandle.d.ts.map +1 -0
  646. package/dist/types/src/features/UserStoryImport/components/ScopeDropdown.d.ts +14 -0
  647. package/dist/types/src/features/UserStoryImport/components/ScopeDropdown.d.ts.map +1 -0
  648. package/dist/types/src/features/UserStoryImport/components/SearchInput.d.ts +12 -0
  649. package/dist/types/src/features/UserStoryImport/components/SearchInput.d.ts.map +1 -0
  650. package/dist/types/src/features/UserStoryImport/components/SectionHeading.d.ts +13 -0
  651. package/dist/types/src/features/UserStoryImport/components/SectionHeading.d.ts.map +1 -0
  652. package/dist/types/src/features/UserStoryImport/components/ShowMore.d.ts +8 -0
  653. package/dist/types/src/features/UserStoryImport/components/ShowMore.d.ts.map +1 -0
  654. package/dist/types/src/features/UserStoryImport/components/Sidebar.d.ts +12 -0
  655. package/dist/types/src/features/UserStoryImport/components/Sidebar.d.ts.map +1 -0
  656. package/dist/types/src/features/UserStoryImport/components/SidebarFavoritesList.d.ts +8 -0
  657. package/dist/types/src/features/UserStoryImport/components/SidebarFavoritesList.d.ts.map +1 -0
  658. package/dist/types/src/features/UserStoryImport/components/SidebarProjectList.d.ts +8 -0
  659. package/dist/types/src/features/UserStoryImport/components/SidebarProjectList.d.ts.map +1 -0
  660. package/dist/types/src/features/UserStoryImport/components/SidebarSection.d.ts +24 -0
  661. package/dist/types/src/features/UserStoryImport/components/SidebarSection.d.ts.map +1 -0
  662. package/dist/types/src/features/UserStoryImport/components/SortDropdown.d.ts +14 -0
  663. package/dist/types/src/features/UserStoryImport/components/SortDropdown.d.ts.map +1 -0
  664. package/dist/types/src/features/UserStoryImport/components/SplitLayout.d.ts +8 -0
  665. package/dist/types/src/features/UserStoryImport/components/SplitLayout.d.ts.map +1 -0
  666. package/dist/types/src/features/UserStoryImport/components/Toolbar.d.ts +8 -0
  667. package/dist/types/src/features/UserStoryImport/components/Toolbar.d.ts.map +1 -0
  668. package/dist/types/src/features/UserStoryImport/components/TypeDropdown.d.ts +14 -0
  669. package/dist/types/src/features/UserStoryImport/components/TypeDropdown.d.ts.map +1 -0
  670. package/dist/types/src/features/UserStoryImport/components/UserStoryCard.d.ts +13 -0
  671. package/dist/types/src/features/UserStoryImport/components/UserStoryCard.d.ts.map +1 -0
  672. package/dist/types/src/features/UserStoryImport/components/UserStoryImportDialog.d.ts +10 -0
  673. package/dist/types/src/features/UserStoryImport/components/UserStoryImportDialog.d.ts.map +1 -0
  674. package/dist/types/src/features/UserStoryImport/components/UserStoryScopeDropdown.d.ts +13 -0
  675. package/dist/types/src/features/UserStoryImport/components/UserStoryScopeDropdown.d.ts.map +1 -0
  676. package/dist/types/src/features/UserStoryImport/components/usePanelResize.d.ts +13 -0
  677. package/dist/types/src/features/UserStoryImport/components/usePanelResize.d.ts.map +1 -0
  678. package/dist/types/src/features/UserStoryImport/components/useProjectUserStory.d.ts +33 -0
  679. package/dist/types/src/features/UserStoryImport/components/useProjectUserStory.d.ts.map +1 -0
  680. package/dist/types/src/features/UserStoryImport/hooks/useFilteredItems.d.ts +10 -0
  681. package/dist/types/src/features/UserStoryImport/hooks/useFilteredItems.d.ts.map +1 -0
  682. package/dist/types/src/features/UserStoryImport/hooks/useUSPData.d.ts +28 -0
  683. package/dist/types/src/features/UserStoryImport/hooks/useUSPData.d.ts.map +1 -0
  684. package/dist/types/src/features/UserStoryImport/hooks/useUserStoryPickerState.d.ts +4 -0
  685. package/dist/types/src/features/UserStoryImport/hooks/useUserStoryPickerState.d.ts.map +1 -0
  686. package/dist/types/src/features/UserStoryImport/index.d.ts +65 -0
  687. package/dist/types/src/features/UserStoryImport/index.d.ts.map +1 -0
  688. package/dist/types/src/features/UserStoryImport/lib/CustomTooltip.d.ts +13 -0
  689. package/dist/types/src/features/UserStoryImport/lib/CustomTooltip.d.ts.map +1 -0
  690. package/dist/types/src/features/UserStoryImport/lib/Tooltip.d.ts +8 -0
  691. package/dist/types/src/features/UserStoryImport/lib/Tooltip.d.ts.map +1 -0
  692. package/dist/types/src/features/UserStoryImport/lib/adaptLabel.d.ts +2 -0
  693. package/dist/types/src/features/UserStoryImport/lib/adaptLabel.d.ts.map +1 -0
  694. package/dist/types/src/features/UserStoryImport/lib/cn.d.ts +4 -0
  695. package/dist/types/src/features/UserStoryImport/lib/cn.d.ts.map +1 -0
  696. package/dist/types/src/features/UserStoryImport/lib/dialog.d.ts +22 -0
  697. package/dist/types/src/features/UserStoryImport/lib/dialog.d.ts.map +1 -0
  698. package/dist/types/src/index.d.ts +3 -0
  699. package/dist/types/src/index.d.ts.map +1 -0
  700. package/dist/types/src/types/CodeCitationTypes.d.ts +46 -0
  701. package/dist/types/src/types/CodeCitationTypes.d.ts.map +1 -0
  702. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +23 -0
  703. package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +1 -0
  704. package/dist/types/src/types/epubItems.d.ts +23 -0
  705. package/dist/types/src/types/epubItems.d.ts.map +1 -0
  706. package/dist/types/src/types.d.ts +26 -0
  707. package/dist/types/src/types.d.ts.map +1 -0
  708. package/dist/types/src/utils/CustomSkeleton.d.ts +2 -0
  709. package/dist/types/src/utils/CustomSkeleton.d.ts.map +1 -0
  710. package/dist/types/src/utils/SkeletonLoader.d.ts +3 -0
  711. package/dist/types/src/utils/SkeletonLoader.d.ts.map +1 -0
  712. package/dist/types/src/utils/api.d.ts +2 -0
  713. package/dist/types/src/utils/api.d.ts.map +1 -0
  714. package/dist/types/src/utils/codeCitations.utils.d.ts +9 -0
  715. package/dist/types/src/utils/codeCitations.utils.d.ts.map +1 -0
  716. package/dist/types/src/utils/colors.d.ts +5 -0
  717. package/dist/types/src/utils/colors.d.ts.map +1 -0
  718. package/dist/types/src/utils/date.d.ts +1 -0
  719. package/dist/types/src/utils/date.d.ts.map +1 -0
  720. package/dist/types/src/utils/helperFunctions.d.ts +6 -0
  721. package/dist/types/src/utils/helperFunctions.d.ts.map +1 -0
  722. package/dist/types/src/utils/regexHelperService.d.ts +9 -0
  723. package/dist/types/src/utils/regexHelperService.d.ts.map +1 -0
  724. package/dist/types/src/utils/sanitizeHtml.d.ts +5 -0
  725. package/dist/types/src/utils/sanitizeHtml.d.ts.map +1 -0
  726. package/dist/types/src/utils/themeManager.d.ts +13 -0
  727. package/dist/types/src/utils/themeManager.d.ts.map +1 -0
  728. package/dist/types/src/utils/treeUtils.d.ts +17 -0
  729. package/dist/types/src/utils/treeUtils.d.ts.map +1 -0
  730. package/dist/types/src/utils/urlQueryParamService.d.ts +2 -0
  731. package/dist/types/src/utils/urlQueryParamService.d.ts.map +1 -0
  732. package/dist/types/src/utils/variableHelperService.d.ts +7 -0
  733. package/dist/types/src/utils/variableHelperService.d.ts.map +1 -0
  734. package/dist/utils/treeUtils.js +2 -0
  735. package/dist/utils/treeUtils.js.map +1 -0
  736. package/package.json +212 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.core.mjs.js","sources":["../../../../../../node_modules/@floating-ui/core/dist/floating-ui.core.mjs"],"sourcesContent":["import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n let {\n reference,\n floating\n } = _ref;\n const sideAxis = getSideAxis(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const alignLength = getAxisLength(alignmentAxis);\n const side = getSide(placement);\n const isVertical = sideAxis === 'y';\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n let coords;\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n switch (getAlignment(placement)) {\n case 'start':\n coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n case 'end':\n coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n return coords;\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n var _await$platform$isEle;\n if (options === void 0) {\n options = {};\n }\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = state;\n const {\n boundary = 'clippingAncestors',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = evaluate(options, state);\n const paddingObject = getPaddingObject(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n boundary,\n rootBoundary,\n strategy\n }));\n const rect = elementContext === 'floating' ? {\n x,\n y,\n width: rects.floating.width,\n height: rects.floating.height\n } : rects.reference;\n const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n };\n const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n elements,\n rect,\n offsetParent,\n strategy\n }) : rect);\n return {\n top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n };\n}\n\n// Maximum number of resets that can occur before bailing to avoid infinite reset loops.\nconst MAX_RESET_COUNT = 50;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n const platformWithDetectOverflow = platform.detectOverflow ? platform : {\n ...platform,\n detectOverflow\n };\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement(rects, placement, rtl);\n let statefulPlacement = placement;\n let resetCount = 0;\n const middlewareData = {};\n for (let i = 0; i < middleware.length; i++) {\n const currentMiddleware = middleware[i];\n if (!currentMiddleware) {\n continue;\n }\n const {\n name,\n fn\n } = currentMiddleware;\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform: platformWithDetectOverflow,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData[name] = {\n ...middlewareData[name],\n ...data\n };\n if (reset && resetCount < MAX_RESET_COUNT) {\n resetCount++;\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n ({\n x,\n y\n } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n }\n i = -1;\n }\n }\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min$1 = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min$1, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n return true;\n });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'autoPlacement',\n options,\n async fn(state) {\n var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n const {\n rects,\n middlewareData,\n placement,\n platform,\n elements\n } = state;\n const {\n crossAxis = false,\n alignment,\n allowedPlacements = placements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n const overflow = await platform.detectOverflow(state, detectOverflowOptions);\n const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n const currentPlacement = placements$1[currentIndex];\n if (currentPlacement == null) {\n return {};\n }\n const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n // Make `computeCoords` start from the right place.\n if (placement !== currentPlacement) {\n return {\n reset: {\n placement: placements$1[0]\n }\n };\n }\n const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements$1[currentIndex + 1];\n\n // There are more placements to check.\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n const placementsSortedByMostSpace = allOverflows.map(d => {\n const alignment = getAlignment(d.placement);\n return [d.placement, alignment && crossAxis ?\n // Check along the mainAxis and main crossAxis side.\n d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n // Check only the mainAxis.\n d.overflows[0], d.overflows];\n }).sort((a, b) => a[1] - b[1]);\n const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n // Aligned placements should not check their opposite crossAxis\n // side.\n getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n if (resetPlacement !== placement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n return {};\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'flip',\n options,\n async fn(state) {\n var _middlewareData$arrow, _middlewareData$flip;\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement,\n platform,\n elements\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n fallbackAxisSideDirection = 'none',\n flipAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n\n // If a reset by the arrow was caused due to an alignment offset being\n // added, we should skip any logic now since `flip()` has already done its\n // work.\n // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n const side = getSide(placement);\n const initialSideAxis = getSideAxis(initialPlacement);\n const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n }\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await platform.detectOverflow(state, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n if (checkCrossAxis) {\n const sides = getAlignmentSides(placement, rects, rtl);\n overflows.push(overflow[sides[0]], overflow[sides[1]]);\n }\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }];\n\n // One or more sides is overflowing.\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip2, _overflowsData$filter;\n const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n const nextPlacement = placements[nextIndex];\n if (nextPlacement) {\n const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;\n if (!ignoreCrossAxisOverflow ||\n // We leave the current main axis only if every placement on that axis\n // overflows the main axis.\n overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {\n // Try next placement and re-run the lifecycle.\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n }\n\n // First, find the candidates that fit on the mainAxis side of overflow,\n // then find the placement that fits the best on the main crossAxis side.\n let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n // Otherwise fallback.\n if (!resetPlacement) {\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$filter2;\n const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n if (hasFallbackAxisSideDirection) {\n const currentSideAxis = getSideAxis(d.placement);\n return currentSideAxis === initialSideAxis ||\n // Create a bias to the `y` side axis due to horizontal\n // reading directions favoring greater width.\n currentSideAxis === 'y';\n }\n return true;\n }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n if (placement) {\n resetPlacement = placement;\n }\n break;\n }\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n }\n if (placement !== resetPlacement) {\n return {\n reset: {\n placement: resetPlacement\n }\n };\n }\n }\n return {};\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'hide',\n options,\n async fn(state) {\n const {\n rects,\n platform\n } = state;\n const {\n strategy = 'referenceHidden',\n ...detectOverflowOptions\n } = evaluate(options, state);\n switch (strategy) {\n case 'referenceHidden':\n {\n const overflow = await platform.detectOverflow(state, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const offsets = getSideOffsets(overflow, rects.reference);\n return {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n };\n }\n case 'escaped':\n {\n const overflow = await platform.detectOverflow(state, {\n ...detectOverflowOptions,\n altBoundary: true\n });\n const offsets = getSideOffsets(overflow, rects.floating);\n return {\n data: {\n escapedOffsets: offsets,\n escaped: isAnySideFullyClipped(offsets)\n }\n };\n }\n default:\n {\n return {};\n }\n }\n }\n };\n};\n\nfunction getBoundingRect(rects) {\n const minX = min(...rects.map(rect => rect.left));\n const minY = min(...rects.map(rect => rect.top));\n const maxX = max(...rects.map(rect => rect.right));\n const maxY = max(...rects.map(rect => rect.bottom));\n return {\n x: minX,\n y: minY,\n width: maxX - minX,\n height: maxY - minY\n };\n}\nfunction getRectsByLine(rects) {\n const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n const groups = [];\n let prevRect = null;\n for (let i = 0; i < sortedRects.length; i++) {\n const rect = sortedRects[i];\n if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n groups.push([rect]);\n } else {\n groups[groups.length - 1].push(rect);\n }\n prevRect = rect;\n }\n return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'inline',\n options,\n async fn(state) {\n const {\n placement,\n elements,\n rects,\n platform,\n strategy\n } = state;\n // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n const {\n padding = 2,\n x,\n y\n } = evaluate(options, state);\n const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n const clientRects = getRectsByLine(nativeClientRects);\n const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n const paddingObject = getPaddingObject(padding);\n function getBoundingClientRect() {\n // There are two rects and they are disjoined.\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n // Find the first rect in which the point is fully inside.\n return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n }\n\n // There are 2 or more connected rects.\n if (clientRects.length >= 2) {\n if (getSideAxis(placement) === 'y') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getSide(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n const isLeftSide = getSide(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n return fallback;\n }\n const resetRects = await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n });\n if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n return {\n reset: {\n rects: resetRects\n }\n };\n }\n return {};\n }\n };\n};\n\nconst originSides = /*#__PURE__*/new Set(['left', 'top']);\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n const {\n placement,\n platform,\n elements\n } = state;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isVertical = getSideAxis(placement) === 'y';\n const mainAxisMulti = originSides.has(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = evaluate(options, state);\n\n // eslint-disable-next-line prefer-const\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: rawValue.mainAxis || 0,\n crossAxis: rawValue.crossAxis || 0,\n alignmentAxis: rawValue.alignmentAxis\n };\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n return isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n if (options === void 0) {\n options = 0;\n }\n return {\n name: 'offset',\n options,\n async fn(state) {\n var _middlewareData$offse, _middlewareData$arrow;\n const {\n x,\n y,\n placement,\n middlewareData\n } = state;\n const diffCoords = await convertValueToCoords(state, options);\n\n // If the placement is the same and the arrow caused an alignment offset\n // then we don't need to change the positioning coordinates.\n if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: {\n ...diffCoords,\n placement\n }\n };\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'shift',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n platform\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const overflow = await platform.detectOverflow(state, detectOverflowOptions);\n const crossAxis = getSideAxis(getSide(placement));\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = clamp(min, mainAxisCoord, max);\n }\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = clamp(min, crossAxisCoord, max);\n }\n const limitedCoords = limiter.fn({\n ...state,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return {\n ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y,\n enabled: {\n [mainAxis]: checkMainAxis,\n [crossAxis]: checkCrossAxis\n }\n }\n };\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n options,\n fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = state;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const crossAxis = getSideAxis(placement);\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = evaluate(offset, state);\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2;\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = originSides.has(getSide(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'size',\n options,\n async fn(state) {\n var _state$middlewareData, _state$middlewareData2;\n const {\n placement,\n rects,\n platform,\n elements\n } = state;\n const {\n apply = () => {},\n ...detectOverflowOptions\n } = evaluate(options, state);\n const overflow = await platform.detectOverflow(state, detectOverflowOptions);\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isYAxis = getSideAxis(placement) === 'y';\n const {\n width,\n height\n } = rects.floating;\n let heightSide;\n let widthSide;\n if (side === 'top' || side === 'bottom') {\n heightSide = side;\n widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n } else {\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n }\n const maximumClippingHeight = height - overflow.top - overflow.bottom;\n const maximumClippingWidth = width - overflow.left - overflow.right;\n const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n const noShift = !state.middlewareData.shift;\n let availableHeight = overflowAvailableHeight;\n let availableWidth = overflowAvailableWidth;\n if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n availableWidth = maximumClippingWidth;\n }\n if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n availableHeight = maximumClippingHeight;\n }\n if (noShift && !alignment) {\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n if (isYAxis) {\n availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n } else {\n availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n }\n }\n await apply({\n ...state,\n availableWidth,\n availableHeight\n });\n const nextDimensions = await platform.getDimensions(elements.floating);\n if (width !== nextDimensions.width || height !== nextDimensions.height) {\n return {\n reset: {\n rects: true\n }\n };\n }\n return {};\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n"],"names":["computeCoordsFromPlacement","_ref","placement","rtl","reference","floating","sideAxis","getSideAxis","alignmentAxis","getAlignmentAxis","alignLength","getAxisLength","side","getSide","isVertical","commonX","x","width","commonY","y","height","commonAlign","coords","getAlignment","async","detectOverflow","state","options","_await$platform$isEle","platform","rects","elements","strategy","boundary","rootBoundary","elementContext","altBoundary","padding","evaluate","paddingObject","getPaddingObject","element","clippingClientRect","rectToClientRect","getClippingRect","isElement","contextElement","getDocumentElement","rect","offsetParent","getOffsetParent","offsetScale","getScale","elementClientRect","convertOffsetParentRelativeRectToViewportRelativeRect","top","bottom","left","right","getSideOffsets","overflow","isAnySideFullyClipped","sides","some","getBoundingRect","minX","min","map","minY","max","originSides","Set","name","fn","middlewareData","axis","length","arrowDimensions","getDimensions","isYAxis","minProp","maxProp","clientProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","largestPossiblePadding","minPadding","maxPadding","min$1","center","offset","clamp","shouldAddOffset","arrow","alignmentOffset","data","centerOffset","reset","_middlewareData$autoP","_middlewareData$autoP2","_placementsThatFitOnE","crossAxis","alignment","allowedPlacements","placements","autoAlignment","detectOverflowOptions","placements$1","undefined","filter","getOppositeAlignmentPlacement","getPlacementList","currentIndex","autoPlacement","index","currentPlacement","alignmentSides","getAlignmentSides","isRTL","currentOverflows","allOverflows","overflows","nextPlacement","placementsSortedByMostSpace","d","slice","reduce","acc","v","sort","a","b","resetPlacement","every","config","middleware","platformWithDetectOverflow","getElementRects","statefulPlacement","resetCount","i","currentMiddleware","nextX","nextY","initialPlacement","_middlewareData$arrow","_middlewareData$flip","mainAxis","checkMainAxis","checkCrossAxis","fallbackPlacements","specifiedFallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment","initialSideAxis","isBasePlacement","getOppositePlacement","getExpandedPlacements","hasFallbackAxisSideDirection","push","getOppositeAxisPlacements","overflowsData","flip","_middlewareData$flip2","_overflowsData$filter","nextIndex","_overflowsData$filter2","currentSideAxis","offsets","referenceHiddenOffsets","referenceHidden","escapedOffsets","escaped","nativeClientRects","Array","from","getClientRects","clientRects","sortedRects","groups","prevRect","getRectsByLine","fallback","resetRects","getBoundingClientRect","find","firstRect","lastRect","isTop","isLeftSide","maxRight","minLeft","measureRects","getOppositeAxis","mainAxisCoord","crossAxisCoord","rawOffset","computedOffset","len","limitMin","limitMax","_middlewareData$offse","_middlewareData$offse2","isOriginSide","has","diffCoords","mainAxisMulti","crossAxisMulti","rawValue","convertValueToCoords","limiter","maxSide","limitedCoords","enabled","_state$middlewareData","_state$middlewareData2","apply","heightSide","widthSide","maximumClippingHeight","maximumClippingWidth","overflowAvailableHeight","overflowAvailableWidth","noShift","shift","availableHeight","availableWidth","xMin","xMax","yMin","yMax","nextDimensions"],"mappings":"+HAGA,SAASA,EAA2BC,EAAMC,EAAWC,GACnD,IAAIC,UACFA,EAASC,SACTA,GACEJ,EACJ,MAAMK,EAAWC,cAAYL,GACvBM,EAAgBC,mBAAiBP,GACjCQ,E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ACT,EAASL,IAAK,GACzBmL,EAAOrK,EAAGA,IAACT,EAASJ,OAAQ,GAC9BuB,EACFuJ,EAAiBrN,EAAQ,GAAc,IAATsN,GAAuB,IAATC,EAAaD,EAAOC,EAAOnK,EAAGA,IAACT,EAASH,KAAMG,EAASF,QAEnG2K,EAAkBjN,EAAS,GAAc,IAATqN,GAAuB,IAATC,EAAaD,EAAOC,EAAOrK,EAAGA,IAACT,EAASL,IAAKK,EAASJ,QAEvG,OACKoK,EAAM,IACPlM,EACH4M,iBACAD,oBAEF,MAAMM,QAAuB9M,EAASiD,cAAc/C,EAAS1B,UAC7D,OAAIY,IAAU0N,EAAe1N,OAASG,IAAWuN,EAAevN,OACvD,CACLgF,MAAO,CACLtE,OAAO,IAIN,EACR,EAEL"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../core/dist/floating-ui.core.mjs.js"),e=require("../../utils/dist/floating-ui.utils.mjs.js"),n=require("../../utils/dist/floating-ui.utils.dom.mjs.js");function o(t){const o=n.getComputedStyle(t);let i=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const l=n.isHTMLElement(t),s=l?t.offsetWidth:i,c=l?t.offsetHeight:r,f=e.round(i)!==s||e.round(r)!==c;return f&&(i=s,r=c),{width:i,height:r,$:f}}function i(t){return n.isElement(t)?t:t.contextElement}function r(t){const r=i(t);if(!n.isHTMLElement(r))return e.createCoords(1);const l=r.getBoundingClientRect(),{width:s,height:c,$:f}=o(r);let u=(f?e.round(l.width):l.width)/s,a=(f?e.round(l.height):l.height)/c;return u&&Number.isFinite(u)||(u=1),a&&Number.isFinite(a)||(a=1),{x:u,y:a}}const l=e.createCoords(0);function s(t){const e=n.getWindow(t);return n.isWebKit()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:l}function c(t,o,l,c){void 0===o&&(o=!1),void 0===l&&(l=!1);const f=t.getBoundingClientRect(),u=i(t);let a=e.createCoords(1);o&&(c?n.isElement(c)&&(a=r(c)):a=r(t));const d=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==n.getWindow(t))&&e}(u,l,c)?s(u):e.createCoords(0);let g=(f.left+d.x)/a.x,h=(f.top+d.y)/a.y,m=f.width/a.x,p=f.height/a.y;if(u){const t=n.getWindow(u),e=c&&n.isElement(c)?n.getWindow(c):c;let o=t,i=n.getFrameElement(o);for(;i&&c&&e!==o;){const t=r(i),e=i.getBoundingClientRect(),l=n.getComputedStyle(i),s=e.left+(i.clientLeft+parseFloat(l.paddingLeft))*t.x,c=e.top+(i.clientTop+parseFloat(l.paddingTop))*t.y;g*=t.x,h*=t.y,m*=t.x,p*=t.y,g+=s,h+=c,o=n.getWindow(i),i=n.getFrameElement(o)}}return e.rectToClientRect({width:m,height:p,x:g,y:h})}function f(t,e){const o=n.getNodeScroll(t).scrollLeft;return e?e.left+o:c(n.getDocumentElement(t)).left+o}function u(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-f(t,n),y:n.top+e.scrollTop}}function a(t,o,i){let l;if("viewport"===o)l=function(t,e){const o=n.getWindow(t),i=n.getDocumentElement(t),r=o.visualViewport;let l=i.clientWidth,s=i.clientHeight,c=0,u=0;if(r){l=r.width,s=r.height;const t=n.isWebKit();(!t||t&&"fixed"===e)&&(c=r.offsetLeft,u=r.offsetTop)}const a=f(i);if(a<=0){const t=i.ownerDocument,e=t.body,n=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,r=Math.abs(i.clientWidth-e.clientWidth-o);r<=25&&(l-=r)}else a<=25&&(l+=a);return{width:l,height:s,x:c,y:u}}(t,i);else if("document"===o)l=function(t){const o=n.getDocumentElement(t),i=n.getNodeScroll(t),r=t.ownerDocument.body,l=e.max(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),s=e.max(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let c=-i.scrollLeft+f(t);const u=-i.scrollTop;return"rtl"===n.getComputedStyle(r).direction&&(c+=e.max(o.clientWidth,r.clientWidth)-l),{width:l,height:s,x:c,y:u}}(n.getDocumentElement(t));else if(n.isElement(o))l=function(t,o){const i=c(t,!0,"fixed"===o),l=i.top+t.clientTop,s=i.left+t.clientLeft,f=n.isHTMLElement(t)?r(t):e.createCoords(1);return{width:t.clientWidth*f.x,height:t.clientHeight*f.y,x:s*f.x,y:l*f.y}}(o,i);else{const e=s(t);l={x:o.x-e.x,y:o.y-e.y,width:o.width,height:o.height}}return e.rectToClientRect(l)}function d(t,e){const o=n.getParentNode(t);return!(o===e||!n.isElement(o)||n.isLastTraversableNode(o))&&("fixed"===n.getComputedStyle(o).position||d(o,e))}function g(t,o,i){const r=n.isHTMLElement(o),l=n.getDocumentElement(o),s="fixed"===i,a=c(t,!0,s,o);let d={scrollLeft:0,scrollTop:0};const g=e.createCoords(0);function h(){g.x=f(l)}if(r||!r&&!s)if(("body"!==n.getNodeName(o)||n.isOverflowElement(l))&&(d=n.getNodeScroll(o)),r){const t=c(o,!0,s,o);g.x=t.x+o.clientLeft,g.y=t.y+o.clientTop}else l&&h();s&&!r&&l&&h();const m=!l||r||s?e.createCoords(0):u(l,d);return{x:a.left+d.scrollLeft-g.x-m.x,y:a.top+d.scrollTop-g.y-m.y,width:a.width,height:a.height}}function h(t){return"static"===n.getComputedStyle(t).position}function m(t,e){if(!n.isHTMLElement(t)||"fixed"===n.getComputedStyle(t).position)return null;if(e)return e(t);let o=t.offsetParent;return n.getDocumentElement(t)===o&&(o=o.ownerDocument.body),o}function p(t,e){const o=n.getWindow(t);if(n.isTopLayer(t))return o;if(!n.isHTMLElement(t)){let e=n.getParentNode(t);for(;e&&!n.isLastTraversableNode(e);){if(n.isElement(e)&&!h(e))return e;e=n.getParentNode(e)}return o}let i=m(t,e);for(;i&&n.isTableElement(i)&&h(i);)i=m(i,e);return i&&n.isLastTraversableNode(i)&&h(i)&&!n.isContainingBlock(i)?o:i||n.getContainingBlock(t)||o}const x={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:o,rect:i,offsetParent:l,strategy:s}=t;const f="fixed"===s,a=n.getDocumentElement(l),d=!!o&&n.isTopLayer(o.floating);if(l===a||d&&f)return i;let g={scrollLeft:0,scrollTop:0},h=e.createCoords(1);const m=e.createCoords(0),p=n.isHTMLElement(l);if((p||!p&&!f)&&(("body"!==n.getNodeName(l)||n.isOverflowElement(a))&&(g=n.getNodeScroll(l)),p)){const t=c(l);h=r(l),m.x=t.x+l.clientLeft,m.y=t.y+l.clientTop}const x=!a||p||f?e.createCoords(0):u(a,g);return{width:i.width*h.x,height:i.height*h.y,x:i.x*h.x-g.scrollLeft*h.x+m.x+x.x,y:i.y*h.y-g.scrollTop*h.y+m.y+x.y}},getDocumentElement:n.getDocumentElement,getClippingRect:function(t){let{element:o,boundary:i,rootBoundary:r,strategy:l}=t;const s=[..."clippingAncestors"===i?n.isTopLayer(o)?[]:function(t,e){const o=e.get(t);if(o)return o;let i=n.getOverflowAncestors(t,[],!1).filter(t=>n.isElement(t)&&"body"!==n.getNodeName(t)),r=null;const l="fixed"===n.getComputedStyle(t).position;let s=l?n.getParentNode(t):t;for(;n.isElement(s)&&!n.isLastTraversableNode(s);){const e=n.getComputedStyle(s),o=n.isContainingBlock(s);o||"fixed"!==e.position||(r=null),(l?!o&&!r:!o&&"static"===e.position&&r&&("absolute"===r.position||"fixed"===r.position)||n.isOverflowElement(s)&&!o&&d(t,s))?i=i.filter(t=>t!==s):r=e,s=n.getParentNode(s)}return e.set(t,i),i}(o,this._c):[].concat(i),r],c=a(o,s[0],l);let f=c.top,u=c.right,g=c.bottom,h=c.left;for(let t=1;t<s.length;t++){const n=a(o,s[t],l);f=e.max(n.top,f),u=e.min(n.right,u),g=e.min(n.bottom,g),h=e.max(n.left,h)}return{width:u-h,height:g-f,x:h,y:f}},getOffsetParent:p,getElementRects:async function(t){const e=this.getOffsetParent||p,n=this.getDimensions,o=await n(t.floating);return{reference:g(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=o(t);return{width:e,height:n}},getScale:r,isElement:n.isElement,isRTL:function(t){return"rtl"===n.getComputedStyle(t).direction}};function y(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const w=t.offset;t.autoPlacement;const v=t.shift,E=t.flip,C=t.size,L=t.hide,T=t.arrow;t.inline;const b=t.limitShift;exports.getOverflowAncestors=n.getOverflowAncestors,exports.arrow=T,exports.autoUpdate=function(t,o,r,l){void 0===l&&(l={});const{ancestorScroll:s=!0,ancestorResize:f=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:d=!1}=l,g=i(t),h=s||f?[...g?n.getOverflowAncestors(g):[],...o?n.getOverflowAncestors(o):[]]:[];h.forEach(t=>{s&&t.addEventListener("scroll",r,{passive:!0}),f&&t.addEventListener("resize",r)});const m=g&&a?function(t,o){let i,r=null;const l=n.getDocumentElement(t);function s(){var t;clearTimeout(i),null==(t=r)||t.disconnect(),r=null}return function n(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),s();const u=t.getBoundingClientRect(),{left:a,top:d,width:g,height:h}=u;if(c||o(),!g||!h)return;const m={rootMargin:-e.floor(d)+"px "+-e.floor(l.clientWidth-(a+g))+"px "+-e.floor(l.clientHeight-(d+h))+"px "+-e.floor(a)+"px",threshold:e.max(0,e.min(1,f))||1};let p=!0;function x(e){const o=e[0].intersectionRatio;if(o!==f){if(!p)return n();o?n(!1,o):i=setTimeout(()=>{n(!1,1e-7)},1e3)}1!==o||y(u,t.getBoundingClientRect())||n(),p=!1}try{r=new IntersectionObserver(x,{...m,root:l.ownerDocument})}catch(t){r=new IntersectionObserver(x,m)}r.observe(t)}(!0),s}(g,r):null;let p,x=-1,w=null;u&&(w=new ResizeObserver(t=>{let[e]=t;e&&e.target===g&&w&&o&&(w.unobserve(o),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var t;null==(t=w)||t.observe(o)})),r()}),g&&!d&&w.observe(g),o&&w.observe(o));let v=d?c(t):null;return d&&function e(){const n=c(t);v&&!y(v,n)&&r();v=n,p=requestAnimationFrame(e)}(),r(),()=>{var t;h.forEach(t=>{s&&t.removeEventListener("scroll",r),f&&t.removeEventListener("resize",r)}),null==m||m(),null==(t=w)||t.disconnect(),w=null,d&&cancelAnimationFrame(p)}},exports.computePosition=(e,n,o)=>{const i=new Map,r={platform:x,...o},l={...r.platform,_c:i};return t.computePosition(e,n,{...r,platform:l})},exports.flip=E,exports.hide=L,exports.limitShift=b,exports.offset=w,exports.platform=x,exports.shift=v,exports.size=C;
2
+ //# sourceMappingURL=floating-ui.dom.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.dom.mjs.js","sources":["../../../../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle as getComputedStyle$1, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle$1(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle$1(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll) {\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle$1(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Safety check: ensure the scrollbar space is reasonable in case this\n// calculation is affected by unusual styles.\n// Most scrollbars leave 15-18px of space.\nconst SCROLLBAR_MAX = 25;\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n const windowScrollbarX = getWindowScrollBarX(html);\n // <html> `overflow: hidden` + `scrollbar-gutter: stable` reduces the\n // visual width of the <html> but this is not considered in the size\n // of `html.clientWidth`.\n if (windowScrollbarX <= 0) {\n const doc = html.ownerDocument;\n const body = doc.body;\n const bodyStyles = getComputedStyle(body);\n const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;\n const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);\n if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {\n width -= clippingStableScrollbarWidth;\n }\n } else if (windowScrollbarX <= SCROLLBAR_MAX) {\n // If the <body> scrollbar is on the left, the width needs to be extended\n // by the scrollbar amount so there isn't extra space on the right.\n width += windowScrollbarX;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle$1(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle$1(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle$1(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);\n let top = firstRect.top;\n let right = firstRect.right;\n let bottom = firstRect.bottom;\n let left = firstRect.left;\n for (let i = 1; i < clippingAncestors.length; i++) {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);\n top = max(rect.top, top);\n right = min(rect.right, right);\n bottom = min(rect.bottom, bottom);\n left = max(rect.left, left);\n }\n return {\n width: right - left,\n height: bottom - top,\n x: left,\n y: top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n function setLeftRTLScrollbarOffset() {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n setLeftRTLScrollbarOffset();\n }\n }\n if (isFixed && !isOffsetParentAnElement && documentElement) {\n setLeftRTLScrollbarOffset();\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle$1(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle$1(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (_e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n if (floating) {\n resizeObserver.observe(floating);\n }\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle$1","width","parseFloat","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","$","unwrapElement","isElement","contextElement","getScale","domElement","createCoords","rect","getBoundingClientRect","x","y","Number","isFinite","noOffsets","getVisualOffsets","win","getWindow","isWebKit","visualViewport","offsetLeft","offsetTop","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","isFixed","floatingOffsetParent","shouldAddVisualOffsets","left","top","offsetWin","currentWin","currentIFrame","getFrameElement","iframeScale","iframeRect","clientLeft","paddingLeft","clientTop","paddingTop","rectToClientRect","getWindowScrollBarX","leftScroll","getNodeScroll","scrollLeft","getDocumentElement","getHTMLOffset","documentElement","scroll","htmlRect","scrollTop","getClientRectFromClippingAncestor","clippingAncestor","strategy","html","clientWidth","clientHeight","visualViewportBased","windowScrollbarX","doc","ownerDocument","body","bodyStyles","getComputedStyle","bodyMarginInline","compatMode","marginLeft","marginRight","clippingStableScrollbarWidth","Math","abs","getViewportRect","max","scrollWidth","scrollHeight","direction","getDocumentRect","getInnerBoundingClientRect","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","position","getRectRelativeToOffsetParent","isOffsetParentAnElement","offsets","setLeftRTLScrollbarOffset","getNodeName","isOverflowElement","offsetRect","htmlOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","isTopLayer","svgOffsetParent","isTableElement","isContainingBlock","getContainingBlock","platform","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","topLayer","floating","getClippingRect","boundary","rootBoundary","clippingAncestors","cache","cachedResult","get","result","getOverflowAncestors","filter","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","ancestor","set","getClippingElementAncestors","this","_c","concat","firstRect","right","bottom","i","length","min","getElementRects","async","data","getOffsetParentFn","getDimensionsFn","getDimensions","floatingDimensions","reference","getClientRects","Array","from","isRTL","rectsAreEqual","a","b","offset","offset$1","autoPlacement$1","autoPlacement","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","arrow","arrow$1","inline$1","inline","limitShift","limitShift$1","update","options","ancestorScroll","ancestorResize","elementResize","ResizeObserver","layoutShift","IntersectionObserver","animationFrame","referenceEl","ancestors","forEach","addEventListener","passive","cleanupIo","onMove","timeoutId","io","root","cleanup","_io","clearTimeout","disconnect","refresh","skip","threshold","elementRectForRootMargin","rootMargin","floor","isFirstUpdate","handleObserve","entries","ratio","intersectionRatio","setTimeout","_e","observe","observeMove","frameId","reobserveFrame","resizeObserver","firstEntry","target","unobserve","cancelAnimationFrame","requestAnimationFrame","_resizeObserver","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","removeEventListener","Map","mergedOptions","platformWithCache","computePosition$1","computePosition"],"mappings":"+OAKA,SAASA,EAAiBC,GACxB,MAAMC,EAAMC,mBAAmBF,GAG/B,IAAIG,EAAQC,WAAWH,EAAIE,QAAU,EACjCE,EAASD,WAAWH,EAAII,SAAW,EACvC,MAAMC,EAAYC,gBAAcP,GAC1BQ,EAAcF,EAAYN,EAAQQ,YAAcL,EAChDM,EAAeH,EAAYN,EAAQS,aAAeJ,EAClDK,EAAiBC,EAAKA,MAACR,KAAWK,GAAeG,QAAMN,KAAYI,EAKzE,OAJIC,IACFP,EAAQK,EACRH,EAASI,GAEJ,CACLN,QACAE,SACAO,EAAGF,EAEP,CAEA,SAASG,EAAcb,GACrB,OAAQc,EAASA,UAACd,GAAoCA,EAAzBA,EAAQe,cACvC,CAEA,SAASC,EAAShB,GAChB,MAAMiB,EAAaJ,EAAcb,GACjC,IAAKO,EAAAA,cAAcU,GACjB,OAAOC,EAAAA,aAAa,GAEtB,MAAMC,EAAOF,EAAWG,yBAClBjB,MACJA,EAAKE,OACLA,EAAMO,EACNA,GACEb,EAAiBkB,GACrB,IAAII,GAAKT,EAAID,QAAMQ,EAAKhB,OAASgB,EAAKhB,OAASA,EAC3CmB,GAAKV,EAAID,QAAMQ,EAAKd,QAAUc,EAAKd,QAAUA,EAUjD,OANKgB,GAAME,OAAOC,SAASH,KACzBA,EAAI,GAEDC,GAAMC,OAAOC,SAASF,KACzBA,EAAI,GAEC,CACLD,IACAC,IAEJ,CAEA,MAAMG,EAAyBP,EAAAA,aAAa,GAC5C,SAASQ,EAAiB1B,GACxB,MAAM2B,EAAMC,YAAU5B,GACtB,OAAK6B,EAAQA,YAAOF,EAAIG,eAGjB,CACLT,EAAGM,EAAIG,e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,EACHxH,SAAUyH"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../dom/dist/floating-ui.dom.mjs.js"),t=require("react"),n=require("react-dom");function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var o=r(t),u=r(n),i="undefined"!=typeof document?t.useLayoutEffect:function(){};function f(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!f(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!f(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function a(e,t){const n=s(e);return Math.round(t*n)/n}function c(e){const t=o.useRef(e);return i(()=>{t.current=e}),t}exports.autoUpdate=e.autoUpdate,exports.computePosition=e.computePosition,exports.platform=e.platform,exports.arrow=(t,n)=>{const r=(t=>({name:"arrow",options:t,fn(n){const{element:r,padding:o}="function"==typeof t?t(n):t;return r&&(u=r,{}.hasOwnProperty.call(u,"current"))?null!=r.current?e.arrow({element:r.current,padding:o}).fn(n):{}:r?e.arrow({element:r,padding:o}).fn(n):{};var u}}))(t);return{name:r.name,fn:r.fn,options:[t,n]}},exports.flip=(t,n)=>{const r=e.flip(t);return{name:r.name,fn:r.fn,options:[t,n]}},exports.hide=(t,n)=>{const r=e.hide(t);return{name:r.name,fn:r.fn,options:[t,n]}},exports.limitShift=(t,n)=>({fn:e.limitShift(t).fn,options:[t,n]}),exports.offset=(t,n)=>{const r=e.offset(t);return{name:r.name,fn:r.fn,options:[t,n]}},exports.shift=(t,n)=>{const r=e.shift(t);return{name:r.name,fn:r.fn,options:[t,n]}},exports.size=(t,n)=>{const r=e.size(t);return{name:r.name,fn:r.fn,options:[t,n]}},exports.useFloating=function(t){void 0===t&&(t={});const{placement:n="bottom",strategy:r="absolute",middleware:l=[],platform:p,elements:{reference:m,floating:d}={},transform:g=!0,whileElementsMounted:y,open:w}=t,[h,x]=o.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[b,P]=o.useState(l);f(b,l)||P(l);const[j,O]=o.useState(null),[S,v]=o.useState(null),M=o.useCallback(e=>{e!==C.current&&(C.current=e,O(e))},[]),R=o.useCallback(e=>{e!==q.current&&(q.current=e,v(e))},[]),k=m||j,_=d||S,C=o.useRef(null),q=o.useRef(null),z=o.useRef(h),D=null!=y,E=c(y),A=c(p),F=c(w),U=o.useCallback(()=>{if(!C.current||!q.current)return;const t={placement:n,strategy:r,middleware:b};A.current&&(t.platform=A.current),e.computePosition(C.current,q.current,t).then(e=>{const t={...e,isPositioned:!1!==F.current};$.current&&!f(z.current,t)&&(z.current=t,u.flushSync(()=>{x(t)}))})},[b,n,r,A,F]);i(()=>{!1===w&&z.current.isPositioned&&(z.current.isPositioned=!1,x(e=>({...e,isPositioned:!1})))},[w]);const $=o.useRef(!1);i(()=>($.current=!0,()=>{$.current=!1}),[]),i(()=>{if(k&&(C.current=k),_&&(q.current=_),k&&_){if(E.current)return E.current(k,_,U);U()}},[k,_,U,E,D]);const L=o.useMemo(()=>({reference:C,floating:q,setReference:M,setFloating:R}),[M,R]),V=o.useMemo(()=>({reference:k,floating:_}),[k,_]),B=o.useMemo(()=>{const e={position:r,left:0,top:0};if(!V.floating)return e;const t=a(V.floating,h.x),n=a(V.floating,h.y);return g?{...e,transform:"translate("+t+"px, "+n+"px)",...s(V.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,g,V.floating,h.x,h.y]);return o.useMemo(()=>({...h,update:U,refs:L,elements:V,floatingStyles:B}),[h,U,L,V,B])};
2
+ //# sourceMappingURL=floating-ui.react-dom.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.react-dom.mjs.js","sources":["../../../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => {\n const result = offset$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => {\n const result = shift$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => {\n const result = limitShift$1(options);\n return {\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => {\n const result = flip$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => {\n const result = size$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => {\n const result = autoPlacement$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => {\n const result = hide$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => {\n const result = inline$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => {\n const result = arrow$1(options);\n return {\n name: result.name,\n fn: result.fn,\n options: [options, deps]\n };\n};\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["index","document","useLayoutEffect","deepEqual","a","b","toString","length","i","keys","Array","isArray","Object","hasOwnProperty","call","key","$$typeof","getDPR","element","window","ownerDocument","defaultView","devicePixelRatio","roundByDPR","value","dpr","Math","round","useLatestRef","ref","React","useRef","current","options","deps","result","name","fn","state","padding","arrow$2","arrow$1","flip$1","hide$1","limitShift$1","offset$1","shift$1","size$1","placement","strategy","middleware","platform","elements","reference","externalReference","floating","externalFloating","transform","whileElementsMounted","open","data","setData","useState","x","y","middlewareData","isPositioned","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","useCallback","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","then","fullData","isMountedRef","ReactDOM","flushSync","refs","useMemo","floatingStyles","initialStyles","position","left","top","will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lC,EAAMiE,QAAQ,KAAO,IACvBnC,EACH0B,SACAQ,OACA1C,WACA4C,mBACE,CAACpC,EAAM0B,EAAQQ,EAAM1C,EAAU4C,GACrC"}
@@ -0,0 +1,2 @@
1
+ "use strict";function t(){return"undefined"!=typeof window}function e(t){return r(t)?(t.nodeName||"").toLowerCase():"#document"}function n(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function o(t){var e;return null==(e=(r(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function r(e){return!!t()&&(e instanceof Node||e instanceof n(e).Node)}function s(e){return!!t()&&(e instanceof Element||e instanceof n(e).Element)}function l(e){return!!t()&&(e instanceof HTMLElement||e instanceof n(e).HTMLElement)}function c(e){return!(!t()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof n(e).ShadowRoot)}function i(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=x(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&"inline"!==r&&"contents"!==r}function u(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}Object.defineProperty(exports,"__esModule",{value:!0});const a=/transform|translate|scale|rotate|perspective|filter/,f=/paint|layout|strict|content/,p=t=>!!t&&"none"!==t;let d;function m(t){const e=s(t)?x(t):t;return p(e.transform)||p(e.translate)||p(e.scale)||p(e.rotate)||p(e.perspective)||!w()&&(p(e.backdropFilter)||p(e.filter))||a.test(e.willChange||"")||f.test(e.contain||"")}function w(){return null==d&&(d="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),d}function v(t){return/^(html|body|#document)$/.test(e(t))}function x(t){return n(t).getComputedStyle(t)}function y(t){if("html"===e(t))return t;const n=t.assignedSlot||t.parentNode||c(t)&&t.host||o(t);return c(n)?n.host:n}function g(t){const e=y(t);return v(e)?t.ownerDocument?t.ownerDocument.body:t.body:l(e)&&i(e)?e:g(e)}function h(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}exports.getComputedStyle=x,exports.getContainingBlock=function(t){let e=y(t);for(;l(e)&&!v(e);){if(m(e))return e;if(u(e))return null;e=y(e)}return null},exports.getDocumentElement=o,exports.getFrameElement=h,exports.getNearestOverflowAncestor=g,exports.getNodeName=e,exports.getNodeScroll=function(t){return s(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}},exports.getOverflowAncestors=function t(e,o,r){var s;void 0===o&&(o=[]),void 0===r&&(r=!0);const l=g(e),c=l===(null==(s=e.ownerDocument)?void 0:s.body),u=n(l);if(c){const e=h(u);return o.concat(u,u.visualViewport||[],i(l)?l:[],e&&r?t(e):[])}return o.concat(l,t(l,[],r))},exports.getParentNode=y,exports.getWindow=n,exports.isContainingBlock=m,exports.isElement=s,exports.isHTMLElement=l,exports.isLastTraversableNode=v,exports.isNode=r,exports.isOverflowElement=i,exports.isShadowRoot=c,exports.isTableElement=function(t){return/^(table|td|th)$/.test(e(t))},exports.isTopLayer=u,exports.isWebKit=w;
2
+ //# sourceMappingURL=floating-ui.utils.dom.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.utils.dom.mjs.js","sources":["../../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","window","getNodeName","node","isNode","nodeName","toLowerCase","getWindow","_node$ownerDocument","ownerDocument","defaultView","getDocumentElement","_ref","document","documentElement","value","Node","isElement","Element","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","test","isTopLayer","matches","_e","willChangeRe","containRe","isNotNone","isWebKitValue","isContainingBlock","elementOrCss","css","transform","translate","scale","rotate","perspective","isWebKit","backdropFilter","filter","willChange","contain","CSS","supports","isLastTraversableNode","getParentNode","result","assignedSlot","parentNode","host","getNearestOverflowAncestor","body","getFrameElement","win","parent","Object","getPrototypeOf","frameElement","currentNode","scrollLeft","scrollTop","scrollX","scrollY","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","concat","visualViewport"],"mappings":"aAAA,SAASA,IACP,MAAyB,oBAAXC,MAChB,CACA,SAASC,EAAYC,GACnB,OAAIC,EAAOD,IACDA,EAAKE,UAAY,IAAIC,cAKxB,WACT,CACA,SAASC,EAAUJ,GACjB,IAAIK,EACJ,OAAgB,MAARL,GAA8D,OAA7CK,EAAsBL,EAAKM,oBAA8B,EAAID,EAAoBE,cAAgBT,MAC5H,CACA,SAASU,EAAmBR,GAC1B,IAAIS,EACJ,OAA0F,OAAlFA,GAAQR,EAAOD,GAAQA,EAAKM,cAAgBN,EAAKU,WAAaZ,OAAOY,eAAyB,EAAID,EAAKE,eACjH,CACA,SAASV,EAAOW,GACd,QAAKf,MAGEe,aAAiBC,MAAQD,aAAiBR,EAAUQ,GAAOC,KACpE,CACA,SA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BqD,GAAsBA,EAAqB,GAAIV,GAAgBQ,EAAkBF,EAAqBN,GAAgB,GAC9L,CACI,OAAOO,EAAKK,OAAOF,EAAoBJ,EAAqBI,EAAoB,GAAIF,GAExF,iPA1GA,SAAwBlD,GACtB,MAAO,kBAAkBM,KAAK5B,EAAYsB,GAC5C"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=["top","right","bottom","left"],e=["start","end"],o=t.reduce((t,o)=>t.concat(o,o+"-"+e[0],o+"-"+e[1]),[]),n=Math.min,r=Math.max,s=Math.round,i=Math.floor,p={left:"right",right:"left",bottom:"top",top:"bottom"};function c(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function x(t){return"x"===t?"y":"x"}function a(t){return"y"===t?"height":"width"}function l(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function f(t){return x(l(t))}function g(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const m=["left","right"],d=["right","left"],h=["top","bottom"],b=["bottom","top"];function y(t){const e=c(t);return p[e]+t.slice(e.length)}function A(t){return{top:0,right:0,bottom:0,left:0,...t}}exports.alignments=e,exports.clamp=function(t,e,o){return r(t,n(e,o))},exports.createCoords=t=>({x:t,y:t}),exports.evaluate=function(t,e){return"function"==typeof t?t(e):t},exports.expandPaddingObject=A,exports.floor=i,exports.getAlignment=u,exports.getAlignmentAxis=f,exports.getAlignmentSides=function(t,e,o){void 0===o&&(o=!1);const n=u(t),r=f(t),s=a(r);let i="x"===r?n===(o?"end":"start")?"right":"left":"start"===n?"bottom":"top";return e.reference[s]>e.floating[s]&&(i=y(i)),[i,y(i)]},exports.getAxisLength=a,exports.getExpandedPlacements=function(t){const e=y(t);return[g(t),e,g(e)]},exports.getOppositeAlignmentPlacement=g,exports.getOppositeAxis=x,exports.getOppositeAxisPlacements=function(t,e,o,n){const r=u(t);let s=function(t,e,o){switch(t){case"top":case"bottom":return o?e?d:m:e?m:d;case"left":case"right":return e?h:b;default:return[]}}(c(t),"start"===o,n);return r&&(s=s.map(t=>t+"-"+r),e&&(s=s.concat(s.map(g)))),s},exports.getOppositePlacement=y,exports.getPaddingObject=function(t){return"number"!=typeof t?A(t):{top:t,right:t,bottom:t,left:t}},exports.getSide=c,exports.getSideAxis=l,exports.max=r,exports.min=n,exports.placements=o,exports.rectToClientRect=function(t){const{x:e,y:o,width:n,height:r}=t;return{width:n,height:r,top:o,left:e,right:e+n,bottom:o+r,x:e,y:o}},exports.round=s,exports.sides=t;
2
+ //# sourceMappingURL=floating-ui.utils.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"floating-ui.utils.mjs.js","sources":["../../../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n const firstChar = placement[0];\n return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n const side = getSide(placement);\n return oppositeSideMap[side] + placement.slice(side.length);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","alignments","placements","reduce","acc","side","concat","min","Math","max","round","floor","oppositeSideMap","left","right","bottom","top","getSide","placement","split","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","firstChar","getAlignmentAxis","getOppositeAlignmentPlacement","includes","replace","lrPlacement","rlPlacement","tbPlacement","btPlacement","getOppositePlacement","slice","length","expandPaddingObject","padding","start","value","end","v","x","y","param","rects","rtl","alignment","alignmentAxis","mainAlignmentSide","reference","floating","oppositePlacement","flipAlignment","direction","list","isStart","getSideList","map","rect","width","height"],"mappings":"oEAKK,MAACA,EAAQ,CAAC,MAAO,QAAS,SAAU,QACnCC,EAAa,CAAC,QAAS,OACvBC,EAA0BF,EAAMG,OAAO,CAACC,EAAKC,IAASD,EAAIE,OAAOD,EAAMA,EAAO,IAAMJ,EAAW,GAAII,EAAO,IAAMJ,EAAW,IAAK,IAChIM,EAAMC,KAAKD,IACXE,EAAMD,KAAKC,IACXC,EAAQF,KAAKE,MACbC,EAAQH,KAAKG,MAKbC,EAAkB,CACtBC,KAAM,QACNC,MAAO,OACPC,OAAQ,MACRC,IAAK,UAQP,SAASC,EAAQC,GACf,OAAOA,EAAUC,MAAM,KAAK,EAC9B,CACA,SAASC,EAAaF,GACpB,OAAOA,EAAUC,MAAM,KAAK,EAC9B,CACA,SAASE,EAAgBC,GACvB,MAAgB,MAATA,EAAe,IAAM,GAC9B,CACA,SAASC,EAAcD,GACrB,MAAgB,MAATA,EAAe,SAAW,OACnC,CACA,SAASE,EAAYN,GACnB,MAAM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EAAWoC,EAAeC,EAAWR,GACtE,MAAMC,EAAY5B,EAAaF,GAC/B,IAAIsC,EAfN,SAAqBnD,EAAMoD,EAASV,GAClC,OAAQ1C,GACN,IAAK,MACL,IAAK,SACH,OAAI0C,EAAYU,EAAU1B,EAAcD,EACjC2B,EAAU3B,EAAcC,EACjC,IAAK,OACL,IAAK,QACH,OAAO0B,EAAUzB,EAAcC,EACjC,QACE,MAAO,GAEb,CAGayB,CAAYzC,EAAQC,GAA0B,UAAdqC,EAAuBR,GAOlE,OANIC,IACFQ,EAAOA,EAAKG,IAAItD,GAAQA,EAAO,IAAM2C,GACjCM,IACFE,EAAOA,EAAKlD,OAAOkD,EAAKG,IAAIhC,MAGzB6B,CACT,0DAcA,SAA0BlB,GACxB,MAA0B,iBAAZA,EAAuBD,EAAoBC,GAAW,CAClEtB,IAAKsB,EACLxB,MAAOwB,EACPvB,OAAQuB,EACRzB,KAAMyB,EAEV,oHACA,SAA0BsB,GACxB,MAAMjB,EACJA,EAACC,EACDA,EAACiB,MACDA,EAAKC,OACLA,GACEF,EACJ,MAAO,CACLC,QACAC,SACA9C,IAAK4B,EACL/B,KAAM8B,EACN7B,MAAO6B,EAAIkB,EACX9C,OAAQ6B,EAAIkB,EACZnB,IACAC,IAEJ"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.composeEventHandlers=function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}};
2
+ //# sourceMappingURL=index.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs.js","sources":["../../../../../../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["originalEventHandler","ourEventHandler","checkForDefaultPrevented","event","defaultPrevented"],"mappings":"iGAEA,SAA8BA,EAAsBC,GAAiBC,yBAAEA,GAA2B,GAAS,IACzG,OAAO,SAAqBC,GAE1B,GADAH,IAAuBG,IACU,IAA7BD,IAAuCC,EAAMC,iBAC/C,OAAOH,IAAkBE,EAE/B,CACA"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("../../react-primitive/dist/index.mjs.js"),t=require("react/jsx-runtime");function i(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})}}),r.default=e,Object.freeze(r)}var o=i(e).forwardRef((e,i)=>{const{children:o,width:n=10,height:s=5,...c}=e;return t.jsx(r.Primitive.svg,{...c,ref:i,width:n,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?o:t.jsx("polygon",{points:"0,0 30,0 15,10"})})});o.displayName="Arrow";var n=o;exports.Arrow=o,exports.Root=n;
2
+ //# sourceMappingURL=index.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs.js","sources":["../../../../../../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// src/arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Arrow","forwardRef","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","svg","ref","viewBox","preserveAspectRatio","asChild","points","displayName","Root"],"mappings":"gdAKIA,OAAcC,WAAW,CAACC,EAAOC,KACnC,MAAMC,SAAEA,EAAQC,MAAEA,EAAQ,GAAEC,OAAEA,EAAS,KAAMC,GAAeL,EAC5D,OAAuBM,EAAGA,IACxBC,EAAAA,UAAUC,IACV,IACKH,EACHI,IAAKR,EACLE,QACAC,SACAM,QAAS,YACTC,oBAAqB,OACrBT,SAAUF,EAAMY,QAAUV,EAA2BI,EAAGA,IAAC,UAAW,CAAEO,OAAQ,uBAIpFf,EAAMgB,YAhBK,QAiBR,IAACC,EAAOjB"}
@@ -0,0 +1,2 @@
1
+ "use strict";function e(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1;const u=e.map(e=>{const u=r(e,t);return n||"function"!=typeof u||(n=!0),u});if(n)return()=>{for(let t=0;t<u.length;t++){const n=u[t];"function"==typeof n?n():r(e[t],null)}}}}exports.composeRefs=n,exports.useComposedRefs=function(...e){return t.useCallback(n(...e),e)};
2
+ //# sourceMappingURL=index.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs.js","sources":["../../../../../../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","current","composeRefs","refs","node","hasCleanup","cleanups","map","cleanup","i","length","React","useCallback"],"mappings":"2XAEA,SAASA,EAAOC,EAAKC,GACnB,GAAmB,mBAARD,EACT,OAAOA,EAAIC,GACFD,UACTA,EAAIE,QAAUD,EAElB,CACA,SAASE,KAAeC,GACtB,OAAQC,IACN,IAAIC,GAAa,EACjB,MAAMC,EAAWH,EAAKI,IAAKR,IACzB,MAAMS,EAAUV,EAAOC,EAAKK,GAI5B,OAHKC,GAAgC,mBAAXG,IACxBH,GAAa,GAERG,IAET,GAAIH,EACF,MAAO,KACL,IAAK,IAAII,EAAI,EAAGA,EAAIH,EAASI,OAAQD,IAAK,CACxC,MAAMD,EAAUF,EAASG,GACH,mBAAXD,EACTA,IAEAV,EAAOK,EAAKM,GAAI,KAEnB,GAIT,+CACA,YAA4BN,GAC1B,OAAOQ,EAAMC,YAAYV,KAAeC,GAAOA,EACjD"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("react/jsx-runtime");function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var n=r(e);function o(...e){const t=e[0];if(1===e.length)return t;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const o=r.reduce((t,{useScope:r,scopeName:n})=>({...t,...r(e)[`__scope${n}`]}),{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return r.scopeName=t.scopeName,r}exports.createContextScope=function(e,r=[]){let c=[];const u=()=>{const t=c.map(e=>n.createContext(e));return function(r){const o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])}};return u.scopeName=e,[function(r,o){const u=n.createContext(o);u.displayName=r+"Context";const s=c.length;c=[...c,o];const a=r=>{const{scope:o,children:c,...a}=r,i=o?.[e]?.[s]||u,p=n.useMemo(()=>a,Object.values(a));return t.jsx(i.Provider,{value:p,children:c})};return a.displayName=r+"Provider",[a,function(t,c){const a=c?.[e]?.[s]||u,i=n.useContext(a);if(i)return i;if(void 0!==o)return o;throw new Error(`\`${t}\` must be used within \`${r}\``)}]},o(u,...r)]};
2
+ //# sourceMappingURL=index.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs.js","sources":["../../../../../../node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n Context.displayName = rootComponentName + \"Context\";\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n BaseContext.displayName = rootComponentName + \"Context\";\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeContextScopes","scopes","baseScope","length","createScope","scopeHooks","map","createScope2","useScope","scopeName","overrideScopes","nextScopes","reduce","nextScopes2","React","useMemo","createContextScopeDeps","defaultContexts","scopeContexts","defaultContext","createContext","scope","contexts","rootComponentName","BaseContext","displayName","index","Provider","props","children","context","Context","value","Object","values","jsx","consumerName","useContext","Error"],"mappings":"kaA0DA,SAASA,KAAwBC,GAC/B,MAAMC,EAAYD,EAAO,GACzB,GAAsB,IAAlBA,EAAOE,OAAc,OAAOD,EAChC,MAAME,EAAc,KAClB,MAAMC,EAAaJ,EAAOK,IAAKC,IAAkB,CAC/CC,SAAUD,IACVE,UAAWF,EAAaE,aAE1B,OAAO,SAA2BC,GAChC,MAAMC,EAAaN,EAAWO,OAAO,CAACC,GAAeL,WAAUC,gBAGtD,IAAKI,KAFOL,EAASE,GACI,UAAUD,OAEzC,CAAE,GACL,OAAOK,EAAMC,QAAQ,MAAS,CAAC,UAAUb,EAAUO,aAAcE,IAAe,CAACA,GACvF,GAGE,OADAP,EAAYK,UAAYP,EAAUO,UAC3BL,CACT,4BAzDA,SAA4BK,EAAWO,EAAyB,IAC9D,IAAIC,EAAkB,GAsBtB,MAAMb,EAAc,KAClB,MAAMc,EAAgBD,EAAgBX,IAAKa,GAClCL,EAAMM,cAAcD,IAE7B,OAAO,SAAkBE,GACvB,MAAMC,EAAWD,IAAQZ,IAAcS,EACvC,OAAOJ,EAAMC,QACX,KAAA,CAAS,CAAC,UAAUN,KAAc,IAAKY,EAAOZ,CAACA,GAAYa,KAC3D,CAACD,EAAOC,GAEhB,GAGE,OADAlB,EAAYK,UAAYA,EACjB,CAlCP,SAAwBc,EAAmBJ,GACzC,MAAMK,EAAcV,EAAMM,cAAcD,GACxCK,EAAYC,YAAcF,EAAoB,UAC9C,MAAMG,EAAQT,EAAgBd,OAC9Bc,EAAkB,IAAIA,EAAiBE,GACvC,MAAMQ,EAAYC,IAChB,MAAMP,MAAEA,EAAKQ,SAAEA,KAAaC,GAAYF,EAClCG,EAAUV,IAAQZ,KAAaiB,IAAUF,EACzCQ,EAAQlB,EAAMC,QAAQ,IAAMe,EAASG,OAAOC,OAAOJ,IACzD,OAAuBK,EAAAA,IAAIJ,EAAQJ,SAAU,CAAEK,QAAOH,cAUxD,OARAF,EAASF,YAAcF,EAAoB,WAQpC,CAACI,EAPR,SAAqBS,EAAcf,GACjC,MAAMU,EAAUV,IAAQZ,KAAaiB,IAAUF,EACzCM,EAAUhB,EAAMuB,WAAWN,GACjC,GAAID,EAAS,OAAOA,EACpB,QAA4B,IAAxBX,EAA2B,OAAOA,EACtC,MAAM,IAAImB,MAAM,KAAKF,6BAAwCb,MAC9D,EAEF,EAcuBvB,EAAqBI,KAAgBY,GAC/D"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../primitive/dist/index.mjs.js"),n=require("../../react-primitive/dist/index.mjs.js"),r=require("../../react-compose-refs/dist/index.mjs.js"),s=require("../../react-use-callback-ref/dist/index.mjs.js"),i=require("../../react-use-escape-keydown/dist/index.mjs.js"),o=require("react/jsx-runtime");function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var u,c=a(e),d="dismissableLayer.update",l=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=c.forwardRef((e,s)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:f,onPointerDownOutside:v,onFocusOutside:b,onInteractOutside:y,onDismiss:h,...w}=e,D=c.useContext(l),[O,C]=c.useState(null),P=O?.ownerDocument??globalThis?.document,[,j]=c.useState({}),L=r.useComposedRefs(s,e=>C(e)),x=Array.from(D.layers),[g]=[...D.layersWithOutsidePointerEventsDisabled].slice(-1),R=x.indexOf(g),k=O?x.indexOf(O):-1,W=D.layersWithOutsidePointerEventsDisabled.size>0,q=k>=R,B=m(e=>{const t=e.target,n=[...D.branches].some(e=>e.contains(t));q&&!n&&(v?.(e),y?.(e),e.defaultPrevented||h?.())},P),T=p(e=>{const t=e.target;[...D.branches].some(e=>e.contains(t))||(b?.(e),y?.(e),e.defaultPrevented||h?.())},P);return i.useEscapeKeydown(e=>{k===D.layers.size-1&&(f?.(e),!e.defaultPrevented&&h&&(e.preventDefault(),h()))},P),c.useEffect(()=>{if(O)return a&&(0===D.layersWithOutsidePointerEventsDisabled.size&&(u=P.body.style.pointerEvents,P.body.style.pointerEvents="none"),D.layersWithOutsidePointerEventsDisabled.add(O)),D.layers.add(O),E(),()=>{a&&(D.layersWithOutsidePointerEventsDisabled.delete(O),0===D.layersWithOutsidePointerEventsDisabled.size&&(P.body.style.pointerEvents=u))}},[O,P,a,D]),c.useEffect(()=>()=>{O&&(D.layers.delete(O),D.layersWithOutsidePointerEventsDisabled.delete(O),E())},[O,D]),c.useEffect(()=>{const e=()=>j({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),o.jsx(n.Primitive.div,{...w,ref:L,style:{pointerEvents:W?q?"auto":"none":void 0,...e.style},onFocusCapture:t.composeEventHandlers(e.onFocusCapture,T.onFocusCapture),onBlurCapture:t.composeEventHandlers(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:t.composeEventHandlers(e.onPointerDownCapture,B.onPointerDownCapture)})});f.displayName="DismissableLayer";var v=c.forwardRef((e,t)=>{const s=c.useContext(l),i=c.useRef(null),a=r.useComposedRefs(t,i);return c.useEffect(()=>{const e=i.current;if(e)return s.branches.add(e),()=>{s.branches.delete(e)}},[s.branches]),o.jsx(n.Primitive.div,{...e,ref:a})});function m(e,t=globalThis?.document){const n=s.useCallbackRef(e),r=c.useRef(!1),i=c.useRef(()=>{});return c.useEffect(()=>{const e=e=>{if(e.target&&!r.current){let r=function(){b("dismissableLayer.pointerDownOutside",n,s,{discrete:!0})};const s={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function p(e,t=globalThis?.document){const n=s.useCallbackRef(e),r=c.useRef(!1);return c.useEffect(()=>{const e=e=>{if(e.target&&!r.current){b("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function E(){const e=new CustomEvent(d);document.dispatchEvent(e)}function b(e,t,r,{discrete:s}){const i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),s?n.dispatchDiscreteCustomEvent(i,o):i.dispatchEvent(o)}v.displayName="DismissableLayerBranch",exports.DismissableLayer=f,exports.DismissableLayerBranch=v;
2
+ //# sourceMappingURL=index.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs.js","sources":["../../../../../../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dismissable-layer.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useEscapeKeydown } from \"@radix-ui/react-use-escape-keydown\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DISMISSABLE_LAYER_NAME = \"DismissableLayer\";\nvar CONTEXT_UPDATE = \"dismissableLayer.update\";\nvar POINTER_DOWN_OUTSIDE = \"dismissableLayer.pointerDownOutside\";\nvar FOCUS_OUTSIDE = \"dismissableLayer.focusOutside\";\nvar originalBodyPointerEvents;\nvar DismissableLayerContext = React.createContext({\n layers: /* @__PURE__ */ new Set(),\n layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),\n branches: /* @__PURE__ */ new Set()\n});\nvar DismissableLayer = React.forwardRef(\n (props, forwardedRef) => {\n const {\n disableOutsidePointerEvents = false,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n ...layerProps\n } = props;\n const context = React.useContext(DismissableLayerContext);\n const [node, setNode] = React.useState(null);\n const ownerDocument = node?.ownerDocument ?? globalThis?.document;\n const [, force] = React.useState({});\n const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));\n const layers = Array.from(context.layers);\n const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);\n const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);\n const index = node ? layers.indexOf(node) : -1;\n const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;\n const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;\n const pointerDownOutside = usePointerDownOutside((event) => {\n const target = event.target;\n const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));\n if (!isPointerEventsEnabled || isPointerDownOnBranch) return;\n onPointerDownOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n const focusOutside = useFocusOutside((event) => {\n const target = event.target;\n const isFocusInBranch = [...context.branches].some((branch) => branch.contains(target));\n if (isFocusInBranch) return;\n onFocusOutside?.(event);\n onInteractOutside?.(event);\n if (!event.defaultPrevented) onDismiss?.();\n }, ownerDocument);\n useEscapeKeydown((event) => {\n const isHighestLayer = index === context.layers.size - 1;\n if (!isHighestLayer) return;\n onEscapeKeyDown?.(event);\n if (!event.defaultPrevented && onDismiss) {\n event.preventDefault();\n onDismiss();\n }\n }, ownerDocument);\n React.useEffect(() => {\n if (!node) return;\n if (disableOutsidePointerEvents) {\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;\n ownerDocument.body.style.pointerEvents = \"none\";\n }\n context.layersWithOutsidePointerEventsDisabled.add(node);\n }\n context.layers.add(node);\n dispatchUpdate();\n return () => {\n if (disableOutsidePointerEvents) {\n context.layersWithOutsidePointerEventsDisabled.delete(node);\n if (context.layersWithOutsidePointerEventsDisabled.size === 0) {\n ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;\n }\n }\n };\n }, [node, ownerDocument, disableOutsidePointerEvents, context]);\n React.useEffect(() => {\n return () => {\n if (!node) return;\n context.layers.delete(node);\n context.layersWithOutsidePointerEventsDisabled.delete(node);\n dispatchUpdate();\n };\n }, [node, context]);\n React.useEffect(() => {\n const handleUpdate = () => force({});\n document.addEventListener(CONTEXT_UPDATE, handleUpdate);\n return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);\n }, []);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n ...layerProps,\n ref: composedRefs,\n style: {\n pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? \"auto\" : \"none\" : void 0,\n ...props.style\n },\n onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),\n onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),\n onPointerDownCapture: composeEventHandlers(\n props.onPointerDownCapture,\n pointerDownOutside.onPointerDownCapture\n )\n }\n );\n }\n);\nDismissableLayer.displayName = DISMISSABLE_LAYER_NAME;\nvar BRANCH_NAME = \"DismissableLayerBranch\";\nvar DismissableLayerBranch = React.forwardRef((props, forwardedRef) => {\n const context = React.useContext(DismissableLayerContext);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n context.branches.add(node);\n return () => {\n context.branches.delete(node);\n };\n }\n }, [context.branches]);\n return /* @__PURE__ */ jsx(Primitive.div, { ...props, ref: composedRefs });\n});\nDismissableLayerBranch.displayName = BRANCH_NAME;\nfunction usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {\n const handlePointerDownOutside = useCallbackRef(onPointerDownOutside);\n const isPointerInsideReactTreeRef = React.useRef(false);\n const handleClickRef = React.useRef(() => {\n });\n React.useEffect(() => {\n const handlePointerDown = (event) => {\n if (event.target && !isPointerInsideReactTreeRef.current) {\n let handleAndDispatchPointerDownOutsideEvent2 = function() {\n handleAndDispatchCustomEvent(\n POINTER_DOWN_OUTSIDE,\n handlePointerDownOutside,\n eventDetail,\n { discrete: true }\n );\n };\n var handleAndDispatchPointerDownOutsideEvent = handleAndDispatchPointerDownOutsideEvent2;\n const eventDetail = { originalEvent: event };\n if (event.pointerType === \"touch\") {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;\n ownerDocument.addEventListener(\"click\", handleClickRef.current, { once: true });\n } else {\n handleAndDispatchPointerDownOutsideEvent2();\n }\n } else {\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n }\n isPointerInsideReactTreeRef.current = false;\n };\n const timerId = window.setTimeout(() => {\n ownerDocument.addEventListener(\"pointerdown\", handlePointerDown);\n }, 0);\n return () => {\n window.clearTimeout(timerId);\n ownerDocument.removeEventListener(\"pointerdown\", handlePointerDown);\n ownerDocument.removeEventListener(\"click\", handleClickRef.current);\n };\n }, [ownerDocument, handlePointerDownOutside]);\n return {\n // ensures we check React component tree (not just DOM tree)\n onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true\n };\n}\nfunction useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {\n const handleFocusOutside = useCallbackRef(onFocusOutside);\n const isFocusInsideReactTreeRef = React.useRef(false);\n React.useEffect(() => {\n const handleFocus = (event) => {\n if (event.target && !isFocusInsideReactTreeRef.current) {\n const eventDetail = { originalEvent: event };\n handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, eventDetail, {\n discrete: false\n });\n }\n };\n ownerDocument.addEventListener(\"focusin\", handleFocus);\n return () => ownerDocument.removeEventListener(\"focusin\", handleFocus);\n }, [ownerDocument, handleFocusOutside]);\n return {\n onFocusCapture: () => isFocusInsideReactTreeRef.current = true,\n onBlurCapture: () => isFocusInsideReactTreeRef.current = false\n };\n}\nfunction dispatchUpdate() {\n const event = new CustomEvent(CONTEXT_UPDATE);\n document.dispatchEvent(event);\n}\nfunction handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {\n const target = detail.originalEvent.target;\n const event = new CustomEvent(name, { bubbles: false, cancelable: true, detail });\n if (handler) target.addEventListener(name, handler, { once: true });\n if (discrete) {\n dispatchDiscreteCustomEvent(target, event);\n } else {\n target.dispatchEvent(event);\n }\n}\nvar Root = DismissableLayer;\nvar Branch = DismissableLayerBranch;\nexport {\n Branch,\n DismissableLayer,\n DismissableLayerBranch,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["originalBodyPointerEvents","CONTEXT_UPDATE","DismissableLayerContext","React","createContext","layers","Set","layersWithOutsidePointerEventsDisabled","branches","DismissableLayer","forwardRef","props","forwardedRef","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","layerProps","context","useContext","node","setNode","useState","ownerDocument","globalThis","document","force","composedRefs","useComposedRefs","node2","Array","from","highestLayerWithOutsidePointerEventsDisabled","slice","highestLayerWithOutsidePointerEventsDisabledIndex","indexOf","index","isBodyPointerEventsDisabled","size","isPointerEventsEnabled","pointerDownOutside","usePointerDownOutside","event","target","isPointerDownOnBranch","some","branch","contains","defaultPrevented","focusOutside","useFocusOutside","useEscapeKeydown","preventDefault","useEffect","body","style","pointerEvents","add","dispatchUpdate","delete","handleUpdate","addEventListener","removeEventListener","jsx","Primitive","div","ref","onFocusCapture","composeEventHandlers","onBlurCapture","onPointerDownCapture","displayName","DismissableLayerBranch","useRef","current","handlePointerDownOutside","useCallbackRef","isPointerInsideReactTreeRef","handleClickRef","handlePointerDown","handleAndDispatchPointerDownOutsideEvent2","handleAndDispatchCustomEvent","eventDetail","discrete","originalEvent","pointerType","once","timerId","window","setTimeout","clearTimeout","handleFocusOutside","isFocusInsideReactTreeRef","handleFocus","CustomEvent","dispatchEvent","name","handler","detail","bubbles","cancelable","dispatchDiscreteCustomEvent"],"mappings":"irBAcIA,SAHAC,EAAiB,0BAIjBC,EAA0BC,EAAMC,cAAc,CAChDC,OAAwB,IAAIC,IAC5BC,uCAAwD,IAAID,IAC5DE,SAA0B,IAAIF,MAE5BG,EAAmBN,EAAMO,WAC3B,CAACC,EAAOC,KACN,MAAMC,4BACJA,GAA8B,EAAKC,gBACnCA,EAAeC,qBACfA,EAAoBC,eACpBA,EAAcC,kBACdA,EAAiBC,UACjBA,KACGC,GACD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IoD,YAAY/F,GAC9B0B,SAASsE,cAAcrD,EACzB,CACA,SAASuC,EAA6Be,EAAMC,EAASC,GAAQf,SAAEA,IAC7D,MAAMxC,EAASuD,EAAOd,cAAczC,OAC9BD,EAAQ,IAAIoD,YAAYE,EAAM,CAAEG,SAAS,EAAOC,YAAY,EAAMF,WACpED,GAAStD,EAAOkB,iBAAiBmC,EAAMC,EAAS,CAAEX,MAAM,IACxDH,EACFkB,8BAA4B1D,EAAQD,GAEpCC,EAAOoD,cAAcrD,EAEzB,CA9EA8B,EAAuBD,YAhBL"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../react-use-layout-effect/dist/index.mjs.js");function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var u=r(e),n=u[" useId ".trim().toString()]||(()=>{}),c=0;exports.useId=function(e){const[r,i]=u.useState(n());return t.useLayoutEffect(()=>{e||i(e=>e??String(c++))},[e]),e||(r?`radix-${r}`:"")};
2
+ //# sourceMappingURL=index.mjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs.js","sources":["../../../../../../node_modules/@radix-ui/react-id/dist/index.mjs"],"sourcesContent":["// src/id.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nvar useReactId = React[\" useId \".trim().toString()] || (() => void 0);\nvar count = 0;\nfunction useId(deterministicId) {\n const [id, setId] = React.useState(useReactId());\n useLayoutEffect(() => {\n if (!deterministicId) setId((reactId) => reactId ?? String(count++));\n }, [deterministicId]);\n return deterministicId || (id ? `radix-${id}` : \"\");\n}\nexport {\n useId\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useReactId","React","trim","toString","count","deterministicId","id","setId","useState","useLayoutEffect","reactId","String"],"mappings":"gcAGIA,EAAaC,EAAM,UAAUC,OAAOC,aAAW,MAAiB,GAChEC,EAAQ,gBACZ,SAAeC,GACb,MAAOC,EAAIC,GAASN,EAAMO,SAASR,KAInC,OAHAS,EAAAA,gBAAgB,KACTJ,GAAiBE,EAAOG,GAAYA,GAAWC,OAAOP,OAC1D,CAACC,IACGA,IAAoBC,EAAK,SAASA,IAAO,GAClD"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../../../@floating-ui/react-dom/dist/floating-ui.react-dom.mjs.js"),r=require("../../react-arrow/dist/index.mjs.js"),i=require("../../react-compose-refs/dist/index.mjs.js"),o=require("../../react-context/dist/index.mjs.js"),a=require("../../react-primitive/dist/index.mjs.js"),n=require("../../react-use-callback-ref/dist/index.mjs.js"),s=require("../../react-use-layout-effect/dist/index.mjs.js"),d=require("../../react-use-size/dist/index.mjs.js"),p=require("react/jsx-runtime"),l=require("../../../@floating-ui/dom/dist/floating-ui.dom.mjs.js");function c(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var u=c(e),f="Popper",[m,h]=o.createContextScope(f),[x,g]=m(f),y=e=>{const{__scopePopper:t,children:r}=e,[i,o]=u.useState(null),[a,n]=u.useState(void 0);return p.jsx(x,{scope:t,anchor:i,onAnchorChange:o,placementState:a,setPlacementState:n,children:r})};y.displayName=f;var w="PopperAnchor",j=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:o,...n}=e,s=g(w,r),d=u.useRef(null),l=s.onAnchorChange,c=u.useCallback(e=>{d.current=e,e&&l(e)},[l]),f=i.useComposedRefs(t,c),m=u.useRef(null);u.useEffect(()=>{if(!o)return;const e=m.current;m.current=o.current,e!==m.current&&l(m.current)});const h=s.placementState&&R(s.placementState),x=h?.[0],y=h?.[1];return o?null:p.jsx(a.Primitive.div,{"data-radix-popper-side":x,"data-radix-popper-align":y,...n,ref:f})});j.displayName=w;var v="PopperContent",[P,b]=m(v),S=u.forwardRef((e,r)=>{const{__scopePopper:o,side:c="bottom",sideOffset:f=0,align:m="center",alignOffset:h=0,arrowPadding:x=0,avoidCollisions:y=!0,collisionBoundary:w,collisionPadding:j=0,sticky:b="partial",hideWhenDetached:S=!1,updatePositionStrategy:A="optimized",onPlaced:O,...C}=e,$=g(v,o),[z,E]=u.useState(null),H=i.useComposedRefs(r,e=>E(e)),[k,W]=u.useState(null),Y=d.useSize(k),D=Y?.width??0,N=Y?.height??0,X=c+("center"!==m?"-"+m:""),F="number"==typeof j?j:{top:0,right:0,bottom:0,left:0,...j},L=w?Array.isArray(w)?w:[w]:void 0,M=void 0!==L&&L.length>0,B={padding:F,boundary:L?.filter(_),altBoundary:M},{refs:I,floatingStyles:U,placement:G,isPositioned:J,middlewareData:K}=t.useFloating({strategy:"fixed",placement:X,whileElementsMounted:(...e)=>l.autoUpdate(...e,{animationFrame:"always"===A}),elements:{reference:$.anchor},middleware:[t.offset({mainAxis:f+N,alignmentAxis:h}),y&&t.shift({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?t.limitShift():void 0,...B}),y&&t.flip({...B}),t.size({...B,apply:({elements:e,rects:t,availableWidth:r,availableHeight:i})=>{const{width:o,height:a}=t.reference,n=e.floating.style;n.setProperty("--radix-popper-available-width",`${r}px`),n.setProperty("--radix-popper-available-height",`${i}px`),n.setProperty("--radix-popper-anchor-width",`${o}px`),n.setProperty("--radix-popper-anchor-height",`${a}px`)}}),k&&t.arrow({element:k,padding:x}),q({arrowWidth:D,arrowHeight:N}),S&&t.hide({strategy:"referenceHidden",...B})]}),Q=$.setPlacementState;s.useLayoutEffect(()=>(Q(G),()=>{Q(void 0)}),[G,Q]);const[T,V]=R(G),Z=n.useCallbackRef(O);s.useLayoutEffect(()=>{J&&Z?.()},[J,Z]);const ee=K.arrow?.x,te=K.arrow?.y,re=0!==K.arrow?.centerOffset,[ie,oe]=u.useState();return s.useLayoutEffect(()=>{z&&oe(window.getComputedStyle(z).zIndex)},[z]),p.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:J?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ie,"--radix-popper-transform-origin":[K.transformOrigin?.x,K.transformOrigin?.y].join(" "),...K.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(P,{scope:o,placedSide:T,placedAlign:V,onArrowChange:W,arrowX:ee,arrowY:te,shouldHideArrow:re,children:p.jsx(a.Primitive.div,{"data-side":T,"data-align":V,...C,ref:H,style:{...C.style,animation:J?void 0:"none"}})})})});S.displayName=v;var A="PopperArrow",O={top:"bottom",right:"left",bottom:"top",left:"right"},C=u.forwardRef(function(e,t){const{__scopePopper:i,...o}=e,a=b(A,i),n=O[a.placedSide];return p.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[n]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:p.jsx(r.Root,{...o,ref:t,style:{...o.style,display:"block"}})})});function _(e){return null!==e}C.displayName=A;var q=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:i,middlewareData:o}=t,a=0!==o.arrow?.centerOffset,n=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[d,p]=R(r),l={start:"0%",center:"50%",end:"100%"}[p],c=(o.arrow?.x??0)+n/2,u=(o.arrow?.y??0)+s/2;let f="",m="";return"bottom"===d?(f=a?l:`${c}px`,m=-s+"px"):"top"===d?(f=a?l:`${c}px`,m=`${i.floating.height+s}px`):"right"===d?(f=-s+"px",m=a?l:`${u}px`):"left"===d&&(f=`${i.floating.width+s}px`,m=a?l:`${u}px`),{data:{x:f,y:m}}}});function R(e){const[t,r="center"]=e.split("-");return[t,r]}var $=y,z=j,E=S,H=C;exports.Anchor=z,exports.Arrow=H,exports.Content=E,exports.Popper=y,exports.PopperAnchor=j,exports.PopperArrow=C,exports.PopperContent=S,exports.Root=$,exports.createPopperScope=h;
2
+ //# sourceMappingURL=index.mjs.js.map