@inkeep/agents-ui 0.15.12 → 0.15.14

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 (116) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +230 -220
  3. package/dist/primitives/atoms/combobox.cjs +1 -0
  4. package/dist/primitives/atoms/combobox.js +275 -0
  5. package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -1
  6. package/dist/primitives/atoms/icons/built-in-icons.d.ts +2 -0
  7. package/dist/primitives/atoms/icons/built-in-icons.js +33 -31
  8. package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -1
  9. package/dist/primitives/atoms/icons/inkeep-default-icons.js +4 -1
  10. package/dist/primitives/components/chat-history/index.cjs +1 -0
  11. package/dist/primitives/components/chat-history/index.d.ts +27 -0
  12. package/dist/primitives/components/chat-history/index.js +105 -0
  13. package/dist/primitives/components/embedded-chat/use-captcha.cjs +1 -0
  14. package/dist/primitives/components/embedded-chat/use-captcha.d.ts +23 -6
  15. package/dist/primitives/components/embedded-chat/use-captcha.js +67 -0
  16. package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +2 -2
  17. package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +12 -3
  18. package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +252 -144
  19. package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -1
  20. package/dist/primitives/components/embedded-chat/use-stream-processor.d.ts +2 -0
  21. package/dist/primitives/components/embedded-chat/use-stream-processor.js +127 -90
  22. package/dist/primitives/components/embedded-chat.cjs +4 -4
  23. package/dist/primitives/components/embedded-chat.d.ts +26 -2
  24. package/dist/primitives/components/embedded-chat.js +1304 -1149
  25. package/dist/primitives/components/index.cjs +1 -1
  26. package/dist/primitives/components/index.d.ts +1 -0
  27. package/dist/primitives/components/index.js +20 -18
  28. package/dist/primitives/hooks/use-anonymous-session.cjs +1 -0
  29. package/dist/primitives/hooks/use-anonymous-session.d.ts +12 -0
  30. package/dist/primitives/hooks/use-anonymous-session.js +57 -0
  31. package/dist/primitives/hooks/use-conversation-loader.cjs +1 -0
  32. package/dist/primitives/hooks/use-conversation-loader.d.ts +13 -0
  33. package/dist/primitives/hooks/use-conversation-loader.js +36 -0
  34. package/dist/primitives/hooks/use-inkeep-api-client.cjs +1 -0
  35. package/dist/primitives/hooks/use-inkeep-api-client.d.ts +33 -0
  36. package/dist/primitives/hooks/use-inkeep-api-client.js +87 -0
  37. package/dist/primitives/hooks/use-local-storage.cjs +1 -0
  38. package/dist/primitives/hooks/use-local-storage.d.ts +8 -0
  39. package/dist/primitives/hooks/use-local-storage.js +26 -0
  40. package/dist/primitives/hooks/use-simple-scroll.cjs +1 -1
  41. package/dist/primitives/hooks/use-simple-scroll.d.ts +12 -1
  42. package/dist/primitives/hooks/use-simple-scroll.js +45 -12
  43. package/dist/primitives/index.cjs +1 -1
  44. package/dist/primitives/index.js +157 -151
  45. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  46. package/dist/primitives/providers/base-events-provider.js +1 -1
  47. package/dist/primitives/providers/chat-history-provider.cjs +1 -0
  48. package/dist/primitives/providers/chat-history-provider.d.ts +32 -0
  49. package/dist/primitives/providers/chat-history-provider.js +105 -0
  50. package/dist/primitives/providers/index.cjs +1 -1
  51. package/dist/primitives/providers/index.d.ts +1 -0
  52. package/dist/primitives/providers/index.js +55 -52
  53. package/dist/primitives/utils/component-ids.cjs +1 -1
  54. package/dist/primitives/utils/component-ids.d.ts +56 -0
  55. package/dist/primitives/utils/component-ids.js +31 -1
  56. package/dist/primitives/utils/default-settings.cjs +1 -1
  57. package/dist/primitives/utils/default-settings.d.ts +2 -0
  58. package/dist/primitives/utils/default-settings.js +6 -4
  59. package/dist/primitives/utils/form.cjs +1 -1
  60. package/dist/primitives/utils/form.d.ts +1 -1
  61. package/dist/primitives/utils/form.js +3 -1
  62. package/dist/react/chat-button-modal.cjs +1 -0
  63. package/dist/react/chat-button-modal.d.ts +22 -0
  64. package/dist/react/chat-button-modal.js +41 -0
  65. package/dist/react/chat-button.cjs +1 -1
  66. package/dist/react/chat-button.js +42 -38
  67. package/dist/react/embedded-chat.cjs +1 -1
  68. package/dist/react/embedded-chat.js +285 -240
  69. package/dist/react/index.cjs +1 -1
  70. package/dist/react/index.d.ts +1 -0
  71. package/dist/react/index.js +230 -220
  72. package/dist/react/sidebar-chat.cjs +1 -1
  73. package/dist/react/sidebar-chat.js +26 -22
  74. package/dist/styled/components/chat-bubble.cjs +1 -1
  75. package/dist/styled/components/chat-bubble.js +1 -1
  76. package/dist/styled/components/chat-history.cjs +1 -0
  77. package/dist/styled/components/chat-history.d.ts +15 -0
  78. package/dist/styled/components/chat-history.js +197 -0
  79. package/dist/styled/components/data-summary-group.cjs +1 -1
  80. package/dist/styled/components/data-summary-group.js +24 -24
  81. package/dist/styled/components/embedded-chat/session-loading.cjs +1 -0
  82. package/dist/styled/components/embedded-chat/session-loading.d.ts +1 -0
  83. package/dist/styled/components/embedded-chat/session-loading.js +26 -0
  84. package/dist/styled/components/embedded-chat.cjs +1 -1
  85. package/dist/styled/components/embedded-chat.d.ts +22 -1
  86. package/dist/styled/components/embedded-chat.js +735 -565
  87. package/dist/styled/components/embedded-search.cjs +1 -1
  88. package/dist/styled/components/embedded-search.js +1 -1
  89. package/dist/styled/components/index.cjs +1 -1
  90. package/dist/styled/components/index.d.ts +1 -0
  91. package/dist/styled/components/index.js +22 -20
  92. package/dist/styled/components/message.cjs +1 -1
  93. package/dist/styled/components/message.js +191 -183
  94. package/dist/styled/components/sidebar-chat.cjs +1 -1
  95. package/dist/styled/components/sidebar-chat.js +1 -1
  96. package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.cjs +1 -1
  97. package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.js +3 -2
  98. package/dist/styled/components/ui/recipes/combobox.cjs +1 -0
  99. package/dist/styled/components/ui/recipes/combobox.d.ts +4 -0
  100. package/dist/styled/components/ui/recipes/combobox.js +57 -0
  101. package/dist/styled/components/ui/recipes/index.cjs +1 -1
  102. package/dist/styled/components/ui/recipes/index.d.ts +1 -0
  103. package/dist/styled/components/ui/recipes/index.js +29 -27
  104. package/dist/styled/components/ui/recipes/modal.d.ts +1 -1
  105. package/dist/styled/components/ui/recipes/scrollable.d.ts +1 -1
  106. package/dist/styled/components/ui/recipes/select.d.ts +1 -1
  107. package/dist/styled/index.cjs +1 -1
  108. package/dist/styled/index.js +193 -185
  109. package/dist/styled/inkeep.css.cjs +328 -6
  110. package/dist/styled/inkeep.css.js +328 -6
  111. package/dist/types/config/ai.d.ts +17 -1
  112. package/dist/types/config/base.d.ts +21 -0
  113. package/dist/types/config/settings/form.d.ts +9 -1
  114. package/dist/types/icons/built-in.d.ts +1 -1
  115. package/dist/types/icons/custom.d.ts +3 -0
  116. package/package.json +6 -5
@@ -1,35 +1,39 @@
1
1
  "use client";
2
- import { jsx as a } from "react/jsx-runtime";
3
- import { EmbeddedChatPrimitiveContentScrollAreaCorner as A, EmbeddedChatPrimitiveDisclaimerText as k, EmbeddedChatPrimitiveMessageAttachments as w, EmbeddedChatPrimitiveMessageAttachmentsPreview as P, EmbeddedChatPrimitiveDynamicComponent as M, EmbeddedChatPrimitiveMessageSources as y, EmbeddedChatPrimitiveAttachmentsBarInfoTip as N, EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow as I, EmbeddedChatPrimitiveAttachmentsBarModal as B, EmbeddedChatPrimitiveAttachmentsBarModalHelp as S, EmbeddedChatPrimitiveHelpActions as T, EmbeddedChatPrimitiveFeedbackModal as H, EmbeddedChatPrimitiveFormFieldSelect as L, EmbeddedChatPrimitiveFormFieldSelectValue as D, EmbeddedChatPrimitiveFormFieldSelectItemText as W, EmbeddedChatPrimitiveFormSuccessMessage as _, EmbeddedChatPrimitiveWrapper as z, EmbeddedChatPrimitiveRoot as j, Header as Q, EmbeddedChatPrimitiveHeaderToolbar as O, EmbeddedChatPrimitiveToolbarHeaderWrapper as V, EmbeddedChatPrimitiveToolbarHeader as R, EmbeddedChatPrimitiveContent as q, EmbeddedChatPrimitiveContentScrollArea as G, EmbeddedChatPrimitiveContentScrollAreaViewport as $, EmbeddedChatPrimitiveContentScrollAreaScrollbar as J, EmbeddedChatPrimitiveContentScrollAreaThumb as K, EmbeddedChatPrimitiveMessages as U, EmbeddedChatPrimitiveMessageWrapper as X, EmbeddedChatPrimitiveIntroMessageWrapper as Y, EmbeddedChatPrimitiveDisclaimer as Z, EmbeddedChatPrimitiveDisclaimerLabel as ee, EmbeddedChatPrimitiveDisclaimerTrigger as te, EmbeddedChatPrimitiveDisclaimerContent as ae, EmbeddedChatPrimitiveDisclaimerArrow as de, EmbeddedChatPrimitiveExampleQuestions as se, EmbeddedChatPrimitiveExampleQuestionsLabel as re, EmbeddedChatPrimitiveExampleQuestionsList as me, EmbeddedChatPrimitiveExampleQuestion as oe, EmbeddedChatPrimitiveExampleQuestionButton as ie, EmbeddedChatPrimitiveWorkflows as ne, EmbeddedChatPrimitiveWorkflowsLabel as le, EmbeddedChatPrimitiveWorkflowsList as ce, EmbeddedChatPrimitiveWorkflow as he, EmbeddedChatPrimitiveMessageHeader as be, EmbeddedChatPrimitiveMessageLoading as pe, EmbeddedChatPrimitiveMessageAvatar as Ce, EmbeddedChatPrimitiveMessageAvatarContent as ue, EmbeddedChatPrimitiveMessageAvatarFallback as Ee, EmbeddedChatPrimitiveMessageAvatarImage as ge, EmbeddedChatPrimitiveMessageName as xe, EmbeddedChatPrimitiveMessageContentWrapper as fe, EmbeddedChatPrimitiveMessageContent as ve, EmbeddedChatPrimitiveMessageAttachmentsList as Fe, EmbeddedChatPrimitiveMessageAttachmentsItem as Ae, EmbeddedChatPrimitiveMessageAttachmentsItemIcon as ke, EmbeddedChatPrimitiveMessageAttachmentsItemTitle as we, EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay as Pe, EmbeddedChatPrimitiveMessageAttachmentsPreviewContent as Me, EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader as ye, EmbeddedChatPrimitiveMessageAttachmentsPreviewClose as Ne, EmbeddedChatPrimitiveMessageAttachmentsPreviewBody as Ie, EmbeddedChatPrimitiveMarkdown as Be, EmbeddedChatPrimitiveMessageToolbar as Se, EmbeddedChatPrimitiveMessageCustomActions as Te, EmbeddedChatPrimitiveMessageCustomAction as He, EmbeddedChatPrimitiveMessageAction as Le, EmbeddedChatPrimitiveMessageSourcesHeader as De, EmbeddedChatPrimitiveMessageSourcesList as We, EmbeddedChatPrimitiveMessageSourceItem as _e, EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs as ze, MessageSourceItemBreadcrumbIcon as je, EmbeddedChatPrimitiveMessageSourceItemIcon as Qe, EmbeddedChatPrimitiveMessageSourceItemTitle as Oe, EmbeddedChatPrimitiveMessageSourceItemTag as Ve, EmbeddedChatPrimitiveMessageSourceItemDescription as Re, EmbeddedChatPrimitiveMessageSourceItemDescriptionPart as qe, EmbeddedChatPrimitiveMessageSourceItemIndicator as Ge, EmbeddedChatPrimitiveFooter as $e, EmbeddedChatPrimitiveInputFieldset as Je, EmbeddedChatPrimitiveInputGroup as Ke, EmbeddedChatPrimitiveInput as Ue, EmbeddedChatPrimitiveSendButton as Xe, EmbeddedChatPrimitiveSendButtonIcon as Ye, EmbeddedChatPrimitiveAttachmentsBar as Ze, EmbeddedChatPrimitiveAttachmentsBarList as et, EmbeddedChatPrimitiveAttachmentsBarAttachment as tt, EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon as at, EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle as dt, EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete as st, EmbeddedChatPrimitiveAttachmentsBarActions as rt, EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon as mt, EmbeddedChatPrimitiveAttachmentsBarInfoTipText as ot, EmbeddedChatPrimitiveAttachmentsBarInputs as it, EmbeddedChatPrimitiveAttachmentsBarInput as nt, EmbeddedChatPrimitiveAttachmentsBarModalOverlay as lt, EmbeddedChatPrimitiveAttachmentsBarModalContent as ct, EmbeddedChatPrimitiveAttachmentsBarModalHeader as ht, EmbeddedChatPrimitiveAttachmentsBarModalHeading as bt, EmbeddedChatPrimitiveAttachmentsBarModalDescription as pt, EmbeddedChatPrimitiveAttachmentsBarModalClose as Ct, EmbeddedChatPrimitiveAttachmentsBarModalBody as ut, EmbeddedChatPrimitiveAttachmentsBarForm as Et, EmbeddedChatPrimitiveAttachmentsBarFormTitle as gt, EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel as xt, EmbeddedChatPrimitiveAttachmentsBarFormTitleInput as ft, EmbeddedChatPrimitiveAttachmentsBarFormTitleError as vt, EmbeddedChatPrimitiveAttachmentsBarFormContent as Ft, EmbeddedChatPrimitiveAttachmentsBarFormContentLabel as At, EmbeddedChatPrimitiveAttachmentsBarFormContentInput as kt, EmbeddedChatPrimitiveAttachmentsBarFormContentError as wt, EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton as Pt, EmbeddedChatPrimitiveActionBar as Mt, EmbeddedChatPrimitiveActions as yt, EmbeddedChatPrimitiveTaglineContainer as Nt, EmbeddedChatPrimitiveTaglineText as It, EmbeddedChatPrimitiveTaglineLogo as Bt, EmbeddedChatPrimitiveTaglineBrandName as St, EmbeddedChatPrimitiveChatAction as Tt, EmbeddedChatPrimitiveChatActionLabel as Ht, EmbeddedChatPrimitiveChatActionFeedback as Lt, EmbeddedChatPrimitiveChatHelpAction as Dt, EmbeddedChatPrimitiveHelpActionsTrigger as Wt, EmbeddedChatPrimitiveHelpActionsMenu as _t, EmbeddedChatPrimitiveHelpActionsMenuArrow as zt, EmbeddedChatPrimitiveHelpActionsMenuItem as jt, EmbeddedChatPrimitiveHelpActionsMenuItemIcon as Qt, EmbeddedChatPrimitiveFeedbackModalOverlay as Ot, EmbeddedChatPrimitiveFeedbackModalContent as Vt, EmbeddedChatPrimitiveFeedbackModalHeader as Rt, EmbeddedChatPrimitiveFeedbackModalClose as qt, EmbeddedChatPrimitiveFeedbackModalBody as Gt, EmbeddedChatPrimitiveFeedbackForm as $t, EmbeddedChatPrimitiveFeedbackItem as Jt, EmbeddedChatPrimitiveFeedbackItemCheckbox as Kt, EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator as Ut, EmbeddedChatPrimitiveFeedbackItemLabel as Xt, EmbeddedChatPrimitiveFeedbackItemDescription as Yt, EmbeddedChatPrimitiveFeedbackSubmitButton as Zt, EmbeddedChatPrimitiveFormWrapper as ea, EmbeddedChatPrimitiveForm as ta, EmbeddedChatPrimitiveFormClose as aa, EmbeddedChatPrimitiveFormHeader as da, EmbeddedChatPrimitiveFormHeading as sa, EmbeddedChatPrimitiveFormDescription as ra, EmbeddedChatPrimitiveFormContent as ma, EmbeddedChatPrimitiveFormField as oa, EmbeddedChatPrimitiveFormFieldLabel as ia, EmbeddedChatPrimitiveFormFieldText as na, EmbeddedChatPrimitiveFormFieldEmail as la, EmbeddedChatPrimitiveFormFieldFile as ca, EmbeddedChatPrimitiveFormFieldTextArea as ha, EmbeddedChatPrimitiveFormFieldCheckbox as ba, EmbeddedChatPrimitiveFormFieldCheckboxIndicator as pa, EmbeddedChatPrimitiveFormFieldSelectTrigger as Ca, EmbeddedChatPrimitiveFormFieldSelectIcon as ua, EmbeddedChatPrimitiveFormFieldSelectContent as Ea, EmbeddedChatPrimitiveFormFieldSelectViewport as ga, EmbeddedChatPrimitiveFormFieldSelectItem as xa, EmbeddedChatPrimitiveFormFieldSelectItemIndicator as fa, EmbeddedChatPrimitiveFormFieldError as va, EmbeddedChatPrimitiveFormError as Fa, EmbeddedChatPrimitiveFormFooter as Aa, EmbeddedChatPrimitiveFormCancel as ka, EmbeddedChatPrimitiveFormSubmit as wa, EmbeddedChatPrimitiveFormSuccess as Pa, EmbeddedChatPrimitiveFormSuccessHeading as Ma, EmbeddedChatPrimitiveFormSuccessButton as ya } from "../../primitives/components/embedded-chat.js";
4
- import { ChatProvider as Na } from "../../primitives/components/embedded-chat/chat-provider.js";
5
- import { useResizeObserver as Ia } from "../../primitives/hooks/use-resize-observer.js";
6
- import { composeRefs as Ba } from "../../primitives/utils/compose-refs.js";
7
- import { aiChatPageWrapper as Sa } from "./ui/recipes/ai-chat-page-wrapper.js";
8
- import { attachment as i } from "./ui/recipes/attachment.js";
9
- import { button as r } from "./ui/recipes/button.js";
10
- import { checkbox as h } from "./ui/recipes/checkbox.js";
2
+ import { jsx as a, jsxs as g } from "react/jsx-runtime";
3
+ import { useChatHistory as P } from "../../primitives/providers/chat-history-provider.js";
4
+ import { useInkeepConfig as w } from "../../primitives/providers/config-provider.js";
5
+ import { EmbeddedChatPrimitiveContentScrollAreaCorner as M, EmbeddedChatPrimitiveDisclaimerText as N, EmbeddedChatPrimitiveMessageAttachments as I, EmbeddedChatPrimitiveMessageAttachmentsPreview as B, EmbeddedChatPrimitiveDynamicComponent as S, EmbeddedChatPrimitiveMessageSources as T, EmbeddedChatPrimitiveAttachmentsBarInfoTip as H, EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow as L, EmbeddedChatPrimitiveAttachmentsBarModal as D, EmbeddedChatPrimitiveAttachmentsBarModalHelp as W, EmbeddedChatPrimitiveHelpActions as _, EmbeddedChatPrimitiveFeedbackModal as z, EmbeddedChatPrimitiveFormFieldSelect as j, EmbeddedChatPrimitiveFormFieldSelectValue as Q, EmbeddedChatPrimitiveFormFieldSelectItemText as O, EmbeddedChatPrimitiveFormFieldCombobox as V, EmbeddedChatPrimitiveFormFieldComboboxListItems as R, EmbeddedChatPrimitiveFormFieldComboboxItemText as q, EmbeddedChatPrimitiveFormSuccessMessage as G, EmbeddedChatPrimitiveWrapper as K, EmbeddedChatPrimitiveRoot as $, Header as J, EmbeddedChatPrimitiveHeaderToolbar as U, EmbeddedChatPrimitiveToolbarHeaderWrapper as X, EmbeddedChatPrimitiveToolbarHeader as Y, EmbeddedChatPrimitiveChatHistoryButtonIcon as Z, EmbeddedChatPrimitiveChatHistoryButton as ee, EmbeddedChatPrimitiveContent as te, EmbeddedChatPrimitiveContentScrollArea as ae, EmbeddedChatPrimitiveContentScrollAreaViewport as de, EmbeddedChatPrimitiveContentScrollAreaScrollbar as se, EmbeddedChatPrimitiveContentScrollAreaThumb as re, EmbeddedChatPrimitiveMessages as oe, EmbeddedChatPrimitiveMessageWrapper as me, EmbeddedChatPrimitiveIntroMessageWrapper as ie, EmbeddedChatPrimitiveDisclaimer as ne, EmbeddedChatPrimitiveDisclaimerLabel as le, EmbeddedChatPrimitiveDisclaimerTrigger as ce, EmbeddedChatPrimitiveDisclaimerContent as he, EmbeddedChatPrimitiveDisclaimerArrow as be, EmbeddedChatPrimitiveExampleQuestions as Ce, EmbeddedChatPrimitiveExampleQuestionsLabel as pe, EmbeddedChatPrimitiveExampleQuestionsList as ue, EmbeddedChatPrimitiveExampleQuestion as Ee, EmbeddedChatPrimitiveExampleQuestionButton as xe, EmbeddedChatPrimitiveWorkflows as ge, EmbeddedChatPrimitiveWorkflowsLabel as Fe, EmbeddedChatPrimitiveWorkflowsList as fe, EmbeddedChatPrimitiveWorkflow as ve, EmbeddedChatPrimitiveMessageHeader as ke, EmbeddedChatPrimitiveMessageLoading as Ae, EmbeddedChatPrimitiveMessageAvatar as ye, EmbeddedChatPrimitiveMessageAvatarContent as Pe, EmbeddedChatPrimitiveMessageAvatarFallback as we, EmbeddedChatPrimitiveMessageAvatarImage as Me, EmbeddedChatPrimitiveMessageName as Ne, EmbeddedChatPrimitiveMessageContentWrapper as Ie, EmbeddedChatPrimitiveMessageContent as Be, EmbeddedChatPrimitiveMessageAttachmentsList as Se, EmbeddedChatPrimitiveMessageAttachmentsItem as Te, EmbeddedChatPrimitiveMessageAttachmentsItemIcon as He, EmbeddedChatPrimitiveMessageAttachmentsItemTitle as Le, EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay as De, EmbeddedChatPrimitiveMessageAttachmentsPreviewContent as We, EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader as _e, EmbeddedChatPrimitiveMessageAttachmentsPreviewClose as ze, EmbeddedChatPrimitiveMessageAttachmentsPreviewBody as je, EmbeddedChatPrimitiveMarkdown as Qe, EmbeddedChatPrimitiveMessageToolbar as Oe, EmbeddedChatPrimitiveMessageCustomActions as Ve, EmbeddedChatPrimitiveMessageCustomAction as Re, EmbeddedChatPrimitiveMessageAction as qe, EmbeddedChatPrimitiveMessageSourcesHeader as Ge, EmbeddedChatPrimitiveMessageSourcesList as Ke, EmbeddedChatPrimitiveMessageSourceItem as $e, EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs as Je, MessageSourceItemBreadcrumbIcon as Ue, EmbeddedChatPrimitiveMessageSourceItemIcon as Xe, EmbeddedChatPrimitiveMessageSourceItemTitle as Ye, EmbeddedChatPrimitiveMessageSourceItemTag as Ze, EmbeddedChatPrimitiveMessageSourceItemDescription as et, EmbeddedChatPrimitiveMessageSourceItemDescriptionPart as tt, EmbeddedChatPrimitiveMessageSourceItemIndicator as at, EmbeddedChatPrimitiveFooter as dt, EmbeddedChatPrimitiveInputFieldset as st, EmbeddedChatPrimitiveInputGroup as rt, EmbeddedChatPrimitiveInput as ot, EmbeddedChatPrimitiveSendButton as mt, EmbeddedChatPrimitiveSendButtonIcon as it, EmbeddedChatPrimitiveAttachmentsBar as nt, EmbeddedChatPrimitiveAttachmentsBarList as lt, EmbeddedChatPrimitiveAttachmentsBarAttachment as ct, EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon as ht, EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle as bt, EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete as Ct, EmbeddedChatPrimitiveAttachmentsBarActions as pt, EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon as ut, EmbeddedChatPrimitiveAttachmentsBarInfoTipText as Et, EmbeddedChatPrimitiveAttachmentsBarInputs as xt, EmbeddedChatPrimitiveAttachmentsBarInput as gt, EmbeddedChatPrimitiveAttachmentsBarModalOverlay as Ft, EmbeddedChatPrimitiveAttachmentsBarModalContent as ft, EmbeddedChatPrimitiveAttachmentsBarModalHeader as vt, EmbeddedChatPrimitiveAttachmentsBarModalHeading as kt, EmbeddedChatPrimitiveAttachmentsBarModalDescription as At, EmbeddedChatPrimitiveAttachmentsBarModalClose as yt, EmbeddedChatPrimitiveAttachmentsBarModalBody as Pt, EmbeddedChatPrimitiveAttachmentsBarForm as wt, EmbeddedChatPrimitiveAttachmentsBarFormTitle as Mt, EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel as Nt, EmbeddedChatPrimitiveAttachmentsBarFormTitleInput as It, EmbeddedChatPrimitiveAttachmentsBarFormTitleError as Bt, EmbeddedChatPrimitiveAttachmentsBarFormContent as St, EmbeddedChatPrimitiveAttachmentsBarFormContentLabel as Tt, EmbeddedChatPrimitiveAttachmentsBarFormContentInput as Ht, EmbeddedChatPrimitiveAttachmentsBarFormContentError as Lt, EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton as Dt, EmbeddedChatPrimitiveActionBar as Wt, EmbeddedChatPrimitiveActions as _t, EmbeddedChatPrimitiveTaglineContainer as zt, EmbeddedChatPrimitiveTaglineText as jt, EmbeddedChatPrimitiveTaglineLogo as Qt, EmbeddedChatPrimitiveTaglineBrandName as Ot, EmbeddedChatPrimitiveChatAction as Vt, EmbeddedChatPrimitiveChatActionLabel as Rt, EmbeddedChatPrimitiveChatActionFeedback as qt, EmbeddedChatPrimitiveChatHelpAction as Gt, EmbeddedChatPrimitiveHelpActionsTrigger as Kt, EmbeddedChatPrimitiveHelpActionsMenu as $t, EmbeddedChatPrimitiveHelpActionsMenuArrow as Jt, EmbeddedChatPrimitiveHelpActionsMenuItem as Ut, EmbeddedChatPrimitiveHelpActionsMenuItemIcon as Xt, EmbeddedChatPrimitiveFeedbackModalOverlay as Yt, EmbeddedChatPrimitiveFeedbackModalContent as Zt, EmbeddedChatPrimitiveFeedbackModalHeader as ea, EmbeddedChatPrimitiveFeedbackModalClose as ta, EmbeddedChatPrimitiveFeedbackModalBody as aa, EmbeddedChatPrimitiveFeedbackForm as da, EmbeddedChatPrimitiveFeedbackItem as sa, EmbeddedChatPrimitiveFeedbackItemCheckbox as ra, EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator as oa, EmbeddedChatPrimitiveFeedbackItemLabel as ma, EmbeddedChatPrimitiveFeedbackItemDescription as ia, EmbeddedChatPrimitiveFeedbackSubmitButton as na, EmbeddedChatPrimitiveFormWrapper as la, EmbeddedChatPrimitiveForm as ca, EmbeddedChatPrimitiveFormClose as ha, EmbeddedChatPrimitiveFormHeader as ba, EmbeddedChatPrimitiveFormHeading as Ca, EmbeddedChatPrimitiveFormDescription as pa, EmbeddedChatPrimitiveFormContent as ua, EmbeddedChatPrimitiveFormField as Ea, EmbeddedChatPrimitiveFormFieldLabel as xa, EmbeddedChatPrimitiveFormFieldText as ga, EmbeddedChatPrimitiveFormFieldEmail as Fa, EmbeddedChatPrimitiveFormFieldFile as fa, EmbeddedChatPrimitiveFormFieldTextArea as va, EmbeddedChatPrimitiveFormFieldCheckbox as ka, EmbeddedChatPrimitiveFormFieldCheckboxIndicator as Aa, EmbeddedChatPrimitiveFormFieldSelectTrigger as ya, EmbeddedChatPrimitiveFormFieldSelectIcon as Pa, EmbeddedChatPrimitiveFormFieldSelectContent as wa, EmbeddedChatPrimitiveFormFieldSelectViewport as Ma, EmbeddedChatPrimitiveFormFieldSelectItem as Na, EmbeddedChatPrimitiveFormFieldSelectItemIndicator as Ia, EmbeddedChatPrimitiveFormFieldComboboxControl as Ba, EmbeddedChatPrimitiveFormFieldComboboxInput as Sa, EmbeddedChatPrimitiveFormFieldComboboxTrigger as Ta, EmbeddedChatPrimitiveFormFieldComboboxSelectedTags as Ha, EmbeddedChatPrimitiveFormFieldComboboxPositioner as La, EmbeddedChatPrimitiveFormFieldComboboxContent as Da, EmbeddedChatPrimitiveFormFieldComboboxList as Wa, EmbeddedChatPrimitiveFormFieldComboboxListEmpty as _a, EmbeddedChatPrimitiveFormFieldComboboxItem as za, EmbeddedChatPrimitiveFormFieldComboboxItemIndicator as ja, EmbeddedChatPrimitiveFormFieldDescription as Qa, EmbeddedChatPrimitiveFormFieldError as Oa, EmbeddedChatPrimitiveFormError as Va, EmbeddedChatPrimitiveFormFooter as Ra, EmbeddedChatPrimitiveFormCancel as qa, EmbeddedChatPrimitiveFormSubmit as Ga, EmbeddedChatPrimitiveFormSuccess as Ka, EmbeddedChatPrimitiveFormSuccessHeading as $a, EmbeddedChatPrimitiveFormSuccessButton as Ja } from "../../primitives/components/embedded-chat.js";
6
+ import { ChatProvider as Ua } from "../../primitives/components/embedded-chat/chat-provider.js";
7
+ import { useResizeObserver as Xa } from "../../primitives/hooks/use-resize-observer.js";
8
+ import { composeRefs as Ya } from "../../primitives/utils/compose-refs.js";
9
+ import { aiChatPageWrapper as Za } from "./ui/recipes/ai-chat-page-wrapper.js";
10
+ import { attachment as n } from "./ui/recipes/attachment.js";
11
+ import { button as s } from "./ui/recipes/button.js";
12
+ import { checkbox as b } from "./ui/recipes/checkbox.js";
11
13
  import { citation as m } from "./ui/recipes/citation.js";
12
- import { icon as Ta } from "./ui/recipes/icon.js";
13
- import { input as n } from "./ui/recipes/input.js";
14
- import { link as Ha } from "./ui/recipes/link.js";
15
- import { modal as s } from "./ui/recipes/modal.js";
16
- import { popover as b } from "./ui/recipes/popover.js";
14
+ import { combobox as i } from "./ui/recipes/combobox.js";
15
+ import { icon as ed } from "./ui/recipes/icon.js";
16
+ import { input as l } from "./ui/recipes/input.js";
17
+ import { link as td } from "./ui/recipes/link.js";
18
+ import { modal as r } from "./ui/recipes/modal.js";
19
+ import { popover as C } from "./ui/recipes/popover.js";
17
20
  import { scrollable as p } from "./ui/recipes/scrollable.js";
18
- import { select as l } from "./ui/recipes/select.js";
19
- import { cva as La } from "class-variance-authority";
20
- import { merge as Da } from "merge-anything";
21
- import { forwardRef as C, useRef as Wa } from "react";
21
+ import { select as c } from "./ui/recipes/select.js";
22
+ import { cva as ad } from "class-variance-authority";
23
+ import { merge as dd } from "merge-anything";
24
+ import { forwardRef as u, useRef as sd } from "react";
22
25
  import { cn as d } from "../utils.js";
23
- import { markdownStyles as _a } from "./ui/markdown-styles.js";
24
- import { LoadingIndicator as za } from "./loading-indicator.js";
25
- import { EmbeddedChatMessagePart as gm } from "./message.js";
26
- const nd = Na, ld = C(
27
- ({ className: e, size: t, variant: o, ...u }, c) => /* @__PURE__ */ a(
28
- z,
26
+ import { markdownStyles as rd } from "./ui/markdown-styles.js";
27
+ import { LoadingIndicator as od } from "./loading-indicator.js";
28
+ import { MessagesSessionLoading as md } from "./embedded-chat/session-loading.js";
29
+ import { EmbeddedChatMessagePart as im } from "./message.js";
30
+ const Dd = Ua, Wd = u(
31
+ ({ className: e, size: t, variant: o, ...E }, h) => /* @__PURE__ */ a(
32
+ K,
29
33
  {
30
- ref: c,
34
+ ref: h,
31
35
  className: d(
32
- Sa({ size: t, variant: o }),
36
+ Za({ size: t, variant: o }),
33
37
  "data-[hidden]:hidden rounded-md flex",
34
38
  "bg-white dark:bg-gray-dark-950",
35
39
  "data-[composite]:w-full",
@@ -39,25 +43,38 @@ const nd = Na, ld = C(
39
43
  "[[data-sidebar]_&]:max-h-[unset]",
40
44
  "[[data-chat-bubble]_&]:max-h-[unset]",
41
45
  "[[data-chat-bubble]_&]:h-full [[data-chat-bubble]_&]:w-full [[data-chat-bubble]_&]:rounded-[inherit]",
46
+ // Chat history layout: named group avoids conflicts with other groups on page
47
+ "group/chat-history",
48
+ // Sidepane layout: flex row when wide enough
49
+ "data-[chat-history-layout=sidepane]:flex-row",
42
50
  e
43
51
  ),
44
- ...u
52
+ ...E
45
53
  }
46
54
  )
47
- ), cd = ({
55
+ ), _d = ({
48
56
  className: e,
49
57
  ...t
50
58
  }) => /* @__PURE__ */ a(
51
- j,
59
+ $,
52
60
  {
53
- className: d(p({ section: "wrapper" }), "rounded-[inherit] font-body", e),
61
+ className: d(
62
+ p({ section: "wrapper" }),
63
+ "rounded-[inherit] font-body",
64
+ // Sidepane layout: take remaining space
65
+ "group-data-[chat-history-layout=sidepane]/chat-history:flex-1",
66
+ "group-data-[chat-history-layout=sidepane]/chat-history:min-w-0",
67
+ // Stack layout: hide when chat history is open
68
+ "group-data-[stack-history-open]/chat-history:!hidden",
69
+ e
70
+ ),
54
71
  ...t
55
72
  }
56
- ), hd = ({
73
+ ), zd = ({
57
74
  className: e,
58
75
  ...t
59
76
  }) => /* @__PURE__ */ a(
60
- Q,
77
+ J,
61
78
  {
62
79
  className: d(
63
80
  p({ section: "header" }),
@@ -76,57 +93,89 @@ const nd = Na, ld = C(
76
93
  ),
77
94
  ...t
78
95
  }
79
- ), bd = ({
96
+ ), jd = ({
80
97
  className: e,
81
98
  ...t
82
99
  }) => /* @__PURE__ */ a(
83
- O,
100
+ U,
84
101
  {
85
102
  className: d(
86
103
  "flex items-center gap-3 w-full",
87
- "px-5 py-2 pt-4 justify-between *:m-0",
104
+ "px-5 py-2 pt-3 justify-between *:m-0",
105
+ 'data-[show-widget-toggle=""]:pt-4',
88
106
  e
89
107
  ),
90
108
  ...t
91
109
  }
92
- ), pd = ({
110
+ ), Qd = ({
93
111
  className: e,
94
112
  ...t
95
113
  }) => /* @__PURE__ */ a(
96
- V,
114
+ X,
97
115
  {
98
116
  className: d("flex items-center gap-1.5", e),
99
117
  ...t
100
118
  }
101
- ), Cd = ({
119
+ ), Od = ({
102
120
  className: e,
103
121
  ...t
104
122
  }) => /* @__PURE__ */ a(
105
- R,
123
+ Y,
106
124
  {
107
125
  className: d("text-gray-600 dark:text-gray-dark-100 text-sm", e),
108
126
  ...t
109
127
  }
110
- ), ud = ({
128
+ ), F = ({
129
+ className: e,
130
+ ...t
131
+ }) => /* @__PURE__ */ a(Z, { className: d("text-sm", e), ...t }), id = ({
132
+ className: e,
133
+ ...t
134
+ }) => /* @__PURE__ */ a(
135
+ ee,
136
+ {
137
+ className: d(
138
+ s({ size: "xs", variant: "ghost" }),
139
+ "gap-1.5 text-gray-600 hover:text-gray-800 dark:text-white dark:opacity-60 dark:hover:text-white dark:hover:opacity-95",
140
+ e
141
+ ),
142
+ ...t
143
+ }
144
+ ), Vd = () => {
145
+ const { aiChatSettings: e } = w(), { setIsOpen: t, isOpen: o } = P();
146
+ return e.isChatHistoryButtonVisible ? /* @__PURE__ */ g(id, { onClick: () => t(!o), "aria-label": "Chat history", children: [
147
+ /* @__PURE__ */ a(
148
+ F,
149
+ {
150
+ iconKey: "chatHistoryPanel",
151
+ className: "!hidden group-data-[chat-history-layout=sidepane]/chat-history:!block"
152
+ }
153
+ ),
154
+ /* @__PURE__ */ g("span", { className: "flex items-center gap-1.5 group-data-[chat-history-layout=sidepane]/chat-history:hidden", children: [
155
+ /* @__PURE__ */ a(F, { iconKey: "chatHistory" }),
156
+ "Chat history"
157
+ ] })
158
+ ] }) : null;
159
+ }, Rd = ({
111
160
  className: e,
112
161
  ...t
113
162
  }) => /* @__PURE__ */ a(
114
- q,
163
+ te,
115
164
  {
116
165
  className: d(p({ section: "content" }), "justify-end", e),
117
166
  ...t
118
167
  }
119
- ), Ed = ({
168
+ ), qd = ({
120
169
  className: e,
121
170
  ...t
122
171
  }) => /* @__PURE__ */ a(
123
- G,
172
+ ae,
124
173
  {
125
174
  className: d("overflow-hidden", e),
126
175
  ...t
127
176
  }
128
- ), gd = C(({ className: e, ...t }, o) => /* @__PURE__ */ a(
129
- $,
177
+ ), Gd = u(({ className: e, ...t }, o) => /* @__PURE__ */ a(
178
+ de,
130
179
  {
131
180
  ref: o,
132
181
  className: d(
@@ -136,11 +185,11 @@ const nd = Na, ld = C(
136
185
  ),
137
186
  ...t
138
187
  }
139
- )), xd = ({
188
+ )), Kd = ({
140
189
  className: e,
141
190
  ...t
142
191
  }) => /* @__PURE__ */ a(
143
- J,
192
+ se,
144
193
  {
145
194
  className: d(
146
195
  "flex select-none touch-none p-0.5",
@@ -150,38 +199,38 @@ const nd = Na, ld = C(
150
199
  ),
151
200
  ...t
152
201
  }
153
- ), fd = ({
202
+ ), $d = ({
154
203
  className: e,
155
204
  ...t
156
205
  }) => /* @__PURE__ */ a(
157
- K,
206
+ re,
158
207
  {
159
208
  className: d("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
160
209
  ...t
161
210
  }
162
- ), vd = A, Fd = ({
211
+ ), Jd = M, Ud = ({
163
212
  className: e,
164
213
  ...t
165
214
  }) => /* @__PURE__ */ a(
166
- Z,
215
+ ne,
167
216
  {
168
217
  className: d("ml-auto text-sm flex items-center gap-1", e),
169
218
  ...t
170
219
  }
171
- ), Ad = ({
220
+ ), Xd = ({
172
221
  className: e,
173
222
  ...t
174
223
  }) => /* @__PURE__ */ a(
175
- ee,
224
+ le,
176
225
  {
177
226
  className: d("text-gray-700 dark:text-gray-dark-100", e),
178
227
  ...t
179
228
  }
180
- ), kd = ({
229
+ ), Yd = ({
181
230
  className: e,
182
231
  ...t
183
232
  }) => /* @__PURE__ */ a(
184
- te,
233
+ ce,
185
234
  {
186
235
  className: d(
187
236
  "cursor-pointer text-gray-700 dark:text-gray-dark-100",
@@ -190,43 +239,43 @@ const nd = Na, ld = C(
190
239
  ),
191
240
  ...t
192
241
  }
193
- ), wd = ({
242
+ ), Zd = ({
194
243
  className: e,
195
244
  ...t
196
245
  }) => /* @__PURE__ */ a(
197
- ae,
246
+ he,
198
247
  {
199
248
  className: d(
200
- b({ slot: "content" }),
249
+ C({ slot: "content" }),
201
250
  "px-4 py-2 font-normal text-sm",
202
251
  "w-[250px] sm:w-[420px]",
203
252
  e
204
253
  ),
205
254
  ...t
206
255
  }
207
- ), Pd = k, Md = ({
256
+ ), es = N, ts = ({
208
257
  className: e,
209
258
  ...t
210
259
  }) => /* @__PURE__ */ a(
211
- de,
260
+ be,
212
261
  {
213
- className: d(b({ slot: "arrow" }), e),
262
+ className: d(C({ slot: "arrow" }), e),
214
263
  ...t
215
264
  }
216
- ), yd = ({
265
+ ), as = ({
217
266
  className: e,
218
267
  ...t
219
268
  }) => /* @__PURE__ */ a(
220
- se,
269
+ Ce,
221
270
  {
222
271
  className: d("mt-4 flex flex-col gap-2", e),
223
272
  ...t
224
273
  }
225
- ), Nd = ({
274
+ ), ds = ({
226
275
  className: e,
227
276
  ...t
228
277
  }) => /* @__PURE__ */ a(
229
- re,
278
+ pe,
230
279
  {
231
280
  className: d(
232
281
  "text-2xs uppercase font-semibold tracking-widest",
@@ -235,26 +284,26 @@ const nd = Na, ld = C(
235
284
  ),
236
285
  ...t
237
286
  }
238
- ), Id = ({
287
+ ), ss = ({
239
288
  className: e,
240
289
  ...t
241
290
  }) => /* @__PURE__ */ a(
242
- me,
291
+ ue,
243
292
  {
244
293
  className: d("flex flex-col", "ikp-md:flex-row", "flex-wrap gap-2", e),
245
294
  ...t
246
295
  }
247
- ), Bd = C(({ className: e, style: t, ...o }, u) => {
248
- const c = Wa(null), x = Ba(u, c), { width: f = 0, height: v = 0 } = Ia({
249
- ref: c,
296
+ ), rs = u(({ className: e, style: t, ...o }, E) => {
297
+ const h = sd(null), v = Ya(E, h), { width: k = 0, height: A = 0 } = Xa({
298
+ ref: h,
250
299
  box: "border-box"
251
- }), F = Math.max(v, f);
300
+ }), y = Math.max(A, k);
252
301
  return /* @__PURE__ */ a(
253
- oe,
302
+ Ee,
254
303
  {
255
- ref: x,
304
+ ref: v,
256
305
  style: {
257
- "--before-size": `${F + 100}px`,
306
+ "--before-size": `${y + 100}px`,
258
307
  ...t
259
308
  },
260
309
  className: d(
@@ -276,14 +325,14 @@ const nd = Na, ld = C(
276
325
  ...o
277
326
  }
278
327
  );
279
- }), Sd = ({
328
+ }), os = ({
280
329
  className: e,
281
330
  ...t
282
331
  }) => /* @__PURE__ */ a(
283
- ie,
332
+ xe,
284
333
  {
285
334
  className: d(
286
- r({ size: "sm" }),
335
+ s({ size: "sm" }),
287
336
  "text-sm font-normal h-auto w-full py-1.5 z-start",
288
337
  "whitespace-normal text-center leading-[unset]",
289
338
  "border border-solid",
@@ -295,20 +344,20 @@ const nd = Na, ld = C(
295
344
  ),
296
345
  ...t
297
346
  }
298
- ), Td = ({
347
+ ), ms = ({
299
348
  className: e,
300
349
  ...t
301
350
  }) => /* @__PURE__ */ a(
302
- ne,
351
+ ge,
303
352
  {
304
353
  className: d("mt-4 flex flex-col gap-2", e),
305
354
  ...t
306
355
  }
307
- ), Hd = ({
356
+ ), is = ({
308
357
  className: e,
309
358
  ...t
310
359
  }) => /* @__PURE__ */ a(
311
- le,
360
+ Fe,
312
361
  {
313
362
  className: d(
314
363
  "text-2xs uppercase font-semibold tracking-widest",
@@ -317,23 +366,23 @@ const nd = Na, ld = C(
317
366
  ),
318
367
  ...t
319
368
  }
320
- ), Ld = ({
369
+ ), ns = ({
321
370
  className: e,
322
371
  ...t
323
372
  }) => /* @__PURE__ */ a(
324
- ce,
373
+ fe,
325
374
  {
326
375
  className: d("flex flex-wrap gap-2", e),
327
376
  ...t
328
377
  }
329
- ), Dd = ({
378
+ ), ls = ({
330
379
  className: e,
331
380
  ...t
332
381
  }) => /* @__PURE__ */ a(
333
- he,
382
+ ve,
334
383
  {
335
384
  className: d(
336
- r({ size: "sm" }),
385
+ s({ size: "sm" }),
337
386
  "min-h-9 px-3 py-2 h-auto font-medium",
338
387
  "text-sm gap-2 whitespace-normal border ",
339
388
  "text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300",
@@ -345,37 +394,37 @@ const nd = Na, ld = C(
345
394
  ),
346
395
  ...t
347
396
  }
348
- ), Wd = ({
397
+ ), cs = ({
349
398
  className: e,
350
399
  ...t
351
400
  }) => /* @__PURE__ */ a(
352
- U,
401
+ oe,
353
402
  {
354
403
  className: d("flex flex-col w-full min-w-0 min-h-0 text-sm relative", e),
355
404
  ...t
356
405
  }
357
- ), g = La([
406
+ ), f = ad([
358
407
  "flex relative w-full overflow-hidden ikp-md:py-6 py-4",
359
408
  "px-5",
360
409
  "flex-col ikp-md:flex-row",
361
410
  "min-w-0 grow-[2] data-[role=user]:grow-0"
362
- ]), _d = ({
411
+ ]), hs = ({
363
412
  className: e,
364
413
  ...t
365
- }) => /* @__PURE__ */ a(X, { className: d(g(), e), ...t }), zd = ({
414
+ }) => /* @__PURE__ */ a(me, { className: d(f(), e), ...t }), bs = ({
366
415
  className: e,
367
416
  ...t
368
417
  }) => /* @__PURE__ */ a(
369
- Y,
418
+ ie,
370
419
  {
371
- className: d(g(), e),
420
+ className: d(f(), e),
372
421
  ...t
373
422
  }
374
- ), jd = ({
423
+ ), Cs = ({
375
424
  className: e,
376
425
  ...t
377
426
  }) => /* @__PURE__ */ a(
378
- be,
427
+ ke,
379
428
  {
380
429
  className: d(
381
430
  "flex justify-start overflow-hidden shrink-0 select-none",
@@ -389,30 +438,30 @@ const nd = Na, ld = C(
389
438
  ),
390
439
  ...t
391
440
  }
392
- ), Qd = ({
441
+ ), ps = ({
393
442
  className: e,
394
443
  ...t
395
444
  }) => /* @__PURE__ */ a(
396
- pe,
445
+ Ae,
397
446
  {
398
447
  className: d("flex items-center gap-3 h-auto w-full", e),
399
- children: /* @__PURE__ */ a(za, {}),
448
+ children: /* @__PURE__ */ a(od, {}),
400
449
  ...t
401
450
  }
402
- ), Od = ({
451
+ ), us = ({ className: e }) => /* @__PURE__ */ a("div", { className: d("w-full", e), children: /* @__PURE__ */ a(md, {}) }), Es = ({
403
452
  className: e,
404
453
  ...t
405
454
  }) => /* @__PURE__ */ a(
406
- Ce,
455
+ ye,
407
456
  {
408
457
  className: d("flex items-center justify-center rounded-full", "h-auto", e),
409
458
  ...t
410
459
  }
411
- ), Vd = ({
460
+ ), xs = ({
412
461
  className: e,
413
462
  ...t
414
463
  }) => /* @__PURE__ */ a(
415
- ue,
464
+ Pe,
416
465
  {
417
466
  className: d(
418
467
  "relative flex h-6 w-6 shrink-0 overflow-hidden",
@@ -425,20 +474,20 @@ const nd = Na, ld = C(
425
474
  ),
426
475
  ...t
427
476
  }
428
- ), Rd = ({
477
+ ), gs = ({
429
478
  className: e,
430
479
  ...t
431
480
  }) => /* @__PURE__ */ a(
432
- Ee,
481
+ we,
433
482
  {
434
483
  className: d("hidden data-[role=user]:block", e),
435
484
  ...t
436
485
  }
437
- ), qd = ({
486
+ ), Fs = ({
438
487
  className: e,
439
488
  ...t
440
489
  }) => /* @__PURE__ */ a(
441
- ge,
490
+ Me,
442
491
  {
443
492
  className: d(
444
493
  "data-[type=icon]:data-[role=user]:text-inkeep-primary-medium",
@@ -451,11 +500,11 @@ const nd = Na, ld = C(
451
500
  ),
452
501
  ...t
453
502
  }
454
- ), Gd = ({
503
+ ), fs = ({
455
504
  className: e,
456
505
  ...t
457
506
  }) => /* @__PURE__ */ a(
458
- xe,
507
+ Ne,
459
508
  {
460
509
  className: d(
461
510
  "py-1 ml-3",
@@ -467,11 +516,11 @@ const nd = Na, ld = C(
467
516
  ),
468
517
  ...t
469
518
  }
470
- ), $d = ({
519
+ ), vs = ({
471
520
  className: e,
472
521
  ...t
473
522
  }) => /* @__PURE__ */ a(
474
- fe,
523
+ Ie,
475
524
  {
476
525
  className: d(
477
526
  "overflow-hidden flex flex-col",
@@ -485,11 +534,11 @@ const nd = Na, ld = C(
485
534
  ),
486
535
  ...t
487
536
  }
488
- ), Jd = ({
537
+ ), ks = ({
489
538
  className: e,
490
539
  ...t
491
540
  }) => /* @__PURE__ */ a(
492
- ve,
541
+ Be,
493
542
  {
494
543
  className: d(
495
544
  "text-sm flex-wrap break-words min-w-0 shrink-1 max-w-full data-[role=user]:py-2 data-[role=user]:px-4 data-[role=user]:bg-gray-100 data-[role=user]:dark:bg-white-alpha-100 rounded-3xl xs:data-[role=user]:max-w-[75%] rounded-br-sm",
@@ -497,150 +546,150 @@ const nd = Na, ld = C(
497
546
  ),
498
547
  ...t
499
548
  }
500
- ), Kd = w, Ud = ({
549
+ ), As = I, ys = ({
501
550
  className: e,
502
551
  ...t
503
552
  }) => /* @__PURE__ */ a(
504
- Fe,
553
+ Se,
505
554
  {
506
555
  className: d("flex flex-wrap gap-2", e),
507
556
  ...t
508
557
  }
509
- ), Xd = ({
558
+ ), Ps = ({
510
559
  className: e,
511
560
  ...t
512
561
  }) => /* @__PURE__ */ a(
513
- Ae,
562
+ Te,
514
563
  {
515
564
  className: d(
516
- r({ variant: "ghost" }),
517
- i({ slot: "root" }),
565
+ s({ variant: "ghost" }),
566
+ n({ slot: "root" }),
518
567
  "font-normal px-2",
519
568
  e
520
569
  ),
521
570
  ...t
522
571
  }
523
- ), Yd = ({
572
+ ), ws = ({
524
573
  className: e,
525
574
  ...t
526
575
  }) => /* @__PURE__ */ a(
527
- ke,
576
+ He,
528
577
  {
529
- className: d(i({ slot: "icon" }), e),
578
+ className: d(n({ slot: "icon" }), e),
530
579
  ...t
531
580
  }
532
- ), Zd = ({
581
+ ), Ms = ({
533
582
  className: e,
534
583
  ...t
535
584
  }) => /* @__PURE__ */ a(
536
- we,
585
+ Le,
537
586
  {
538
- className: d(i({ slot: "title" }), e),
587
+ className: d(n({ slot: "title" }), e),
539
588
  ...t
540
589
  }
541
- ), es = P, ts = ({
590
+ ), Ns = B, Is = ({
542
591
  className: e,
543
592
  ...t
544
593
  }) => /* @__PURE__ */ a(
545
- Pe,
594
+ De,
546
595
  {
547
- className: d(s({ slot: "overlay" }), e),
596
+ className: d(r({ slot: "overlay" }), e),
548
597
  ...t
549
598
  }
550
- ), as = ({
599
+ ), Bs = ({
551
600
  className: e,
552
601
  ...t
553
602
  }) => /* @__PURE__ */ a(
554
- Me,
603
+ We,
555
604
  {
556
605
  className: d(
557
- s({ slot: "content" }),
606
+ r({ slot: "content" }),
558
607
  "my-6 md:my-12 top-0 left-[unset] transform-none relative",
559
608
  "p-8 md:p-10 max-w-2xl",
560
609
  e
561
610
  ),
562
611
  ...t
563
612
  }
564
- ), ds = ({
613
+ ), Ss = ({
565
614
  className: e,
566
615
  ...t
567
616
  }) => /* @__PURE__ */ a(
568
- ye,
617
+ _e,
569
618
  {
570
619
  className: d(
571
- s({ slot: "header" }),
620
+ r({ slot: "header" }),
572
621
  "px-0 pt-0 pb-8 flex flex-col gap-6",
573
622
  "font-semibold",
574
623
  e
575
624
  ),
576
625
  ...t
577
626
  }
578
- ), ss = ({
627
+ ), Ts = ({
579
628
  className: e,
580
629
  ...t
581
630
  }) => /* @__PURE__ */ a(
582
- Ne,
631
+ ze,
583
632
  {
584
- className: d(s({ slot: "close" }), e),
633
+ className: d(r({ slot: "close" }), e),
585
634
  ...t
586
635
  }
587
- ), rs = ({
636
+ ), Hs = ({
588
637
  className: e,
589
638
  ...t
590
639
  }) => /* @__PURE__ */ a(
591
- Ie,
640
+ je,
592
641
  {
593
- className: d(s({ slot: "body" }), "p-0", e),
642
+ className: d(r({ slot: "body" }), "p-0", e),
594
643
  ...t
595
644
  }
596
- ), ms = M, os = ({
645
+ ), Ls = S, Ds = ({
597
646
  componentStyles: e,
598
647
  ...t
599
648
  }) => /* @__PURE__ */ a(
600
- Be,
649
+ Qe,
601
650
  {
602
- componentStyles: Da(_a, e ?? {}),
651
+ componentStyles: dd(rd, e ?? {}),
603
652
  ...t
604
653
  }
605
- ), is = ({
654
+ ), Ws = ({
606
655
  className: e,
607
656
  ...t
608
657
  }) => /* @__PURE__ */ a(
609
- Se,
658
+ Oe,
610
659
  {
611
660
  className: d("flex items-center mt-2 mb-3", e),
612
661
  ...t
613
662
  }
614
- ), ns = ({
663
+ ), _s = ({
615
664
  className: e,
616
665
  ...t
617
666
  }) => /* @__PURE__ */ a(
618
- Te,
667
+ Ve,
619
668
  {
620
669
  className: d("mr-auto flex items-center gap-2", e),
621
670
  ...t
622
671
  }
623
- ), ls = ({
672
+ ), zs = ({
624
673
  className: e,
625
674
  ...t
626
675
  }) => /* @__PURE__ */ a(
627
- He,
676
+ Re,
628
677
  {
629
678
  className: d(
630
- r({ size: "xs", variant: "outline" }),
679
+ s({ size: "xs", variant: "outline" }),
631
680
  "text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",
632
681
  e
633
682
  ),
634
683
  ...t
635
684
  }
636
- ), cs = ({
685
+ ), js = ({
637
686
  className: e,
638
687
  ...t
639
688
  }) => /* @__PURE__ */ a(
640
- Le,
689
+ qe,
641
690
  {
642
691
  className: d(
643
- r({ variant: "iconButton", size: "sm" }),
692
+ s({ variant: "iconButton", size: "sm" }),
644
693
  "data-[upvoted]:text-inkeep-primary-medium",
645
694
  "data-[downvoted]:text-inkeep-primary-medium",
646
695
  "data-[upvoted]:dark:text-inkeep-expanded-primary-300",
@@ -650,11 +699,11 @@ const nd = Na, ld = C(
650
699
  ),
651
700
  ...t
652
701
  }
653
- ), hs = y, bs = ({
702
+ ), Qs = T, Os = ({
654
703
  className: e,
655
704
  ...t
656
705
  }) => /* @__PURE__ */ a(
657
- De,
706
+ Ge,
658
707
  {
659
708
  className: d(
660
709
  "block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",
@@ -662,101 +711,101 @@ const nd = Na, ld = C(
662
711
  ),
663
712
  ...t
664
713
  }
665
- ), ps = ({
714
+ ), Vs = ({
666
715
  className: e,
667
716
  ...t
668
717
  }) => /* @__PURE__ */ a(
669
- We,
718
+ Ke,
670
719
  {
671
720
  className: d("w-full relative flex flex-col gap-3 py-[1px]", e),
672
721
  ...t
673
722
  }
674
- ), Cs = ({
723
+ ), Rs = ({
675
724
  className: e,
676
725
  ...t
677
726
  }) => /* @__PURE__ */ a(
678
- _e,
727
+ $e,
679
728
  {
680
729
  className: d(m({ slot: "root" }), e),
681
730
  ...t
682
731
  }
683
- ), us = ({
732
+ ), qs = ({
684
733
  className: e,
685
734
  ...t
686
735
  }) => /* @__PURE__ */ a(
687
- ze,
736
+ Je,
688
737
  {
689
738
  className: d(m({ slot: "breadcrumbs" }), e),
690
739
  ...t
691
740
  }
692
- ), Es = ({
741
+ ), Gs = ({
693
742
  className: e,
694
743
  ...t
695
744
  }) => /* @__PURE__ */ a(
696
- je,
745
+ Ue,
697
746
  {
698
747
  className: d(m({ slot: "breadcrumbsIcon" }), e),
699
748
  ...t
700
749
  }
701
- ), gs = ({
750
+ ), Ks = ({
702
751
  className: e,
703
752
  ...t
704
753
  }) => /* @__PURE__ */ a(
705
- Qe,
754
+ Xe,
706
755
  {
707
756
  className: d(m({ slot: "icon" }), e),
708
757
  ...t
709
758
  }
710
- ), xs = ({
759
+ ), $s = ({
711
760
  className: e,
712
761
  ...t
713
762
  }) => /* @__PURE__ */ a(
714
- Oe,
763
+ Ye,
715
764
  {
716
765
  className: d(m({ slot: "title" }), e),
717
766
  ...t
718
767
  }
719
- ), fs = ({
768
+ ), Js = ({
720
769
  className: e,
721
770
  ...t
722
771
  }) => /* @__PURE__ */ a(
723
- Ve,
772
+ Ze,
724
773
  {
725
774
  className: d(m({ slot: "tag" }), e),
726
775
  ...t
727
776
  }
728
- ), vs = ({
777
+ ), Us = ({
729
778
  className: e,
730
779
  ...t
731
780
  }) => /* @__PURE__ */ a(
732
- Re,
781
+ et,
733
782
  {
734
783
  className: d(m({ slot: "description" }), e),
735
784
  ...t
736
785
  }
737
- ), Fs = ({
786
+ ), Xs = ({
738
787
  className: e,
739
788
  ...t
740
789
  }) => /* @__PURE__ */ a(
741
- qe,
790
+ tt,
742
791
  {
743
792
  className: d(m({ slot: "descriptionPart" }), e),
744
793
  ...t
745
794
  }
746
- ), As = ({
795
+ ), Ys = ({
747
796
  className: e,
748
797
  ...t
749
798
  }) => /* @__PURE__ */ a(
750
- Ge,
799
+ at,
751
800
  {
752
801
  className: d(m({ slot: "indicator" }), e),
753
802
  ...t
754
803
  }
755
- ), ks = ({
804
+ ), Zs = ({
756
805
  className: e,
757
806
  ...t
758
807
  }) => /* @__PURE__ */ a(
759
- $e,
808
+ dt,
760
809
  {
761
810
  className: d(
762
811
  "bg-white dark:bg-gray-dark-950 pt-6 pb-4",
@@ -769,11 +818,11 @@ const nd = Na, ld = C(
769
818
  ),
770
819
  ...t
771
820
  }
772
- ), ws = ({
821
+ ), er = ({
773
822
  className: e,
774
823
  ...t
775
824
  }) => /* @__PURE__ */ a(
776
- Je,
825
+ st,
777
826
  {
778
827
  className: d(
779
828
  "relative flex flex-col w-full py-1 px-2",
@@ -783,11 +832,11 @@ const nd = Na, ld = C(
783
832
  ),
784
833
  ...t
785
834
  }
786
- ), Ps = ({
835
+ ), tr = ({
787
836
  className: e,
788
837
  ...t
789
- }) => /* @__PURE__ */ a(Ke, { className: d("flex", e), ...t }), Ms = C(({ className: e, ...t }, o) => /* @__PURE__ */ a(
790
- Ue,
838
+ }) => /* @__PURE__ */ a(rt, { className: d("flex", e), ...t }), ar = u(({ className: e, ...t }, o) => /* @__PURE__ */ a(
839
+ ot,
791
840
  {
792
841
  ref: o,
793
842
  className: d(
@@ -799,39 +848,40 @@ const nd = Na, ld = C(
799
848
  ),
800
849
  ...t
801
850
  }
802
- )), ys = ({
851
+ )), dr = ({
803
852
  className: e,
804
853
  ...t
805
854
  }) => /* @__PURE__ */ a(
806
- Xe,
855
+ mt,
807
856
  {
808
857
  className: d(
809
- r({}),
858
+ s({}),
859
+ "group",
810
860
  "bg-transparent relative size-9 min-w-[unset] rounded-lg transition-all ease-linear",
811
861
  "text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500",
812
862
  "active:bg-gray-300 dark:active:bg-white-alpha-100",
813
863
  "hover:bg-gray-200 hover:text-inkeep-primary-strong",
814
864
  "dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300",
815
- "disabled:text-gray-500 dark:disabled:text-white-alpha-200",
865
+ "disabled:text-gray-500 dark:disabled:text-white",
816
866
  "disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",
817
867
  e
818
868
  ),
819
869
  ...t
820
870
  }
821
- ), Ns = ({
871
+ ), sr = ({
822
872
  className: e,
823
873
  ...t
824
874
  }) => /* @__PURE__ */ a(
825
- Ye,
875
+ it,
826
876
  {
827
- className: d(Ta(), "text-inherit", e),
877
+ className: d(ed(), "text-inherit group-disabled:opacity-60 ", e),
828
878
  ...t
829
879
  }
830
- ), Is = ({
880
+ ), rr = ({
831
881
  className: e,
832
882
  ...t
833
883
  }) => /* @__PURE__ */ a(
834
- Ze,
884
+ nt,
835
885
  {
836
886
  className: d(
837
887
  "flex items-center justify-between",
@@ -840,74 +890,74 @@ const nd = Na, ld = C(
840
890
  ),
841
891
  ...t
842
892
  }
843
- ), Bs = ({
893
+ ), or = ({
844
894
  className: e,
845
895
  ...t
846
896
  }) => /* @__PURE__ */ a(
847
- et,
897
+ lt,
848
898
  {
849
899
  className: d("flex items-center gap-2 flex-wrap px-3 min-w-0", e),
850
900
  ...t
851
901
  }
852
- ), Ss = ({
902
+ ), mr = ({
853
903
  className: e,
854
904
  ...t
855
905
  }) => /* @__PURE__ */ a(
856
- tt,
906
+ ct,
857
907
  {
858
- className: d(i({ slot: "root" }), e),
908
+ className: d(n({ slot: "root" }), e),
859
909
  ...t
860
910
  }
861
- ), Ts = ({
911
+ ), ir = ({
862
912
  className: e,
863
913
  ...t
864
914
  }) => /* @__PURE__ */ a(
865
- at,
915
+ ht,
866
916
  {
867
- className: d(i({ slot: "icon" }), e),
917
+ className: d(n({ slot: "icon" }), e),
868
918
  ...t
869
919
  }
870
- ), Hs = ({
920
+ ), nr = ({
871
921
  className: e,
872
922
  ...t
873
923
  }) => /* @__PURE__ */ a(
874
- dt,
924
+ bt,
875
925
  {
876
- className: d(i({ slot: "title" }), e),
926
+ className: d(n({ slot: "title" }), e),
877
927
  ...t
878
928
  }
879
- ), Ls = ({
929
+ ), lr = ({
880
930
  className: e,
881
931
  ...t
882
932
  }) => /* @__PURE__ */ a(
883
- st,
933
+ Ct,
884
934
  {
885
- className: d(i({ slot: "delete" }), e),
935
+ className: d(n({ slot: "delete" }), e),
886
936
  ...t
887
937
  }
888
- ), Ds = ({
938
+ ), cr = ({
889
939
  className: e,
890
940
  ...t
891
941
  }) => /* @__PURE__ */ a(
892
- rt,
942
+ pt,
893
943
  {
894
944
  className: d("flex items-center justify-between", "gap-2 flex-wrap px-3", e),
895
945
  ...t
896
946
  }
897
- ), Ws = N, _s = ({
947
+ ), hr = H, br = ({
898
948
  className: e,
899
949
  ...t
900
950
  }) => /* @__PURE__ */ a(
901
- mt,
951
+ ut,
902
952
  {
903
953
  className: d("cursor-pointer text-sm text-gray-600", "dark:text-white-alpha-600", e),
904
954
  ...t
905
955
  }
906
- ), zs = ({
956
+ ), Cr = ({
907
957
  className: e,
908
958
  ...t
909
959
  }) => /* @__PURE__ */ a(
910
- ot,
960
+ Et,
911
961
  {
912
962
  className: d(
913
963
  "bg-white text-gray-800 fill-white",
@@ -918,68 +968,68 @@ const nd = Na, ld = C(
918
968
  ),
919
969
  ...t
920
970
  }
921
- ), js = I, Qs = ({
971
+ ), pr = L, ur = ({
922
972
  className: e,
923
973
  ...t
924
- }) => /* @__PURE__ */ a(it, { className: d("contents", e), ...t }), Os = ({
974
+ }) => /* @__PURE__ */ a(xt, { className: d("contents", e), ...t }), Er = ({
925
975
  className: e,
926
976
  ...t
927
977
  }) => /* @__PURE__ */ a(
928
- nt,
978
+ gt,
929
979
  {
930
980
  className: d(
931
- r({ variant: "outline", size: "xs" }),
981
+ s({ variant: "outline", size: "xs" }),
932
982
  "light:text-gray-700 gap-1",
933
983
  e
934
984
  ),
935
985
  ...t
936
986
  }
937
- ), Vs = B, Rs = ({
987
+ ), xr = D, gr = ({
938
988
  className: e,
939
989
  ...t
940
990
  }) => /* @__PURE__ */ a(
941
- lt,
991
+ Ft,
942
992
  {
943
- className: d(s({ slot: "overlay" }), e),
993
+ className: d(r({ slot: "overlay" }), e),
944
994
  ...t
945
995
  }
946
- ), qs = ({
996
+ ), Fr = ({
947
997
  className: e,
948
998
  ...t
949
999
  }) => /* @__PURE__ */ a(
950
- ct,
1000
+ ft,
951
1001
  {
952
1002
  className: d(
953
- s({ slot: "content" }),
1003
+ r({ slot: "content" }),
954
1004
  "my-6 md:my-12 top-0 left-[unset] transform-none relative",
955
1005
  "p-8 md:p-10 max-w-2xl",
956
1006
  e
957
1007
  ),
958
1008
  ...t
959
1009
  }
960
- ), Gs = ({
1010
+ ), fr = ({
961
1011
  className: e,
962
1012
  ...t
963
1013
  }) => /* @__PURE__ */ a(
964
- ht,
1014
+ vt,
965
1015
  {
966
- className: d(s({ slot: "header" }), "px-0 pt-0 pb-8 gap-y-2", "font-semibold", e),
1016
+ className: d(r({ slot: "header" }), "px-0 pt-0 pb-8 gap-y-2", "font-semibold", e),
967
1017
  ...t
968
1018
  }
969
- ), $s = ({
1019
+ ), vr = ({
970
1020
  className: e,
971
1021
  ...t
972
1022
  }) => /* @__PURE__ */ a(
973
- bt,
1023
+ kt,
974
1024
  {
975
1025
  className: d("w-full semibold", e),
976
1026
  ...t
977
1027
  }
978
- ), Js = ({
1028
+ ), kr = ({
979
1029
  className: e,
980
1030
  ...t
981
1031
  }) => /* @__PURE__ */ a(
982
- pt,
1032
+ At,
983
1033
  {
984
1034
  className: d(
985
1035
  "text-gray-700 dark:text-white-alpha-700",
@@ -988,56 +1038,56 @@ const nd = Na, ld = C(
988
1038
  ),
989
1039
  ...t
990
1040
  }
991
- ), Ks = S, Us = ({
1041
+ ), Ar = W, yr = ({
992
1042
  className: e,
993
1043
  ...t
994
1044
  }) => /* @__PURE__ */ a(
995
- Ct,
1045
+ yt,
996
1046
  {
997
- className: d(s({ slot: "close" }), e),
1047
+ className: d(r({ slot: "close" }), e),
998
1048
  ...t
999
1049
  }
1000
- ), Xs = ({
1050
+ ), Pr = ({
1001
1051
  className: e,
1002
1052
  ...t
1003
1053
  }) => /* @__PURE__ */ a(
1004
- ut,
1054
+ Pt,
1005
1055
  {
1006
- className: d(s({ slot: "body" }), "p-0", e),
1056
+ className: d(r({ slot: "body" }), "p-0", e),
1007
1057
  ...t
1008
1058
  }
1009
- ), Ys = ({
1059
+ ), wr = ({
1010
1060
  className: e,
1011
1061
  ...t
1012
1062
  }) => /* @__PURE__ */ a(
1013
- Et,
1063
+ wt,
1014
1064
  {
1015
1065
  className: d("flex flex-col gap-8", e),
1016
1066
  ...t
1017
1067
  }
1018
- ), Zs = ({
1068
+ ), Mr = ({
1019
1069
  className: e,
1020
1070
  ...t
1021
1071
  }) => /* @__PURE__ */ a(
1022
- gt,
1072
+ Mt,
1023
1073
  {
1024
1074
  className: d("flex flex-col gap-2", e),
1025
1075
  ...t
1026
1076
  }
1027
- ), er = ({
1077
+ ), Nr = ({
1028
1078
  className: e,
1029
1079
  ...t
1030
1080
  }) => /* @__PURE__ */ a(
1031
- xt,
1081
+ Nt,
1032
1082
  {
1033
1083
  className: d("text-sm font-medium text-gray-700 dark:text-white-alpha-700", e),
1034
1084
  ...t
1035
1085
  }
1036
- ), tr = ({
1086
+ ), Ir = ({
1037
1087
  className: e,
1038
1088
  ...t
1039
1089
  }) => /* @__PURE__ */ a(
1040
- ft,
1090
+ It,
1041
1091
  {
1042
1092
  className: d(
1043
1093
  "h-9 px-3 rounded-md border",
@@ -1048,137 +1098,137 @@ const nd = Na, ld = C(
1048
1098
  ),
1049
1099
  ...t
1050
1100
  }
1051
- ), ar = ({
1101
+ ), Br = ({
1052
1102
  className: e,
1053
1103
  ...t
1054
1104
  }) => /* @__PURE__ */ a(
1055
- vt,
1105
+ Bt,
1056
1106
  {
1057
1107
  className: d("text-sm text-red-500", e),
1058
1108
  ...t
1059
1109
  }
1060
- ), dr = ({
1110
+ ), Sr = ({
1061
1111
  className: e,
1062
1112
  ...t
1063
1113
  }) => /* @__PURE__ */ a(
1064
- Ft,
1114
+ St,
1065
1115
  {
1066
1116
  className: d("flex flex-col gap-2", e),
1067
1117
  ...t
1068
1118
  }
1069
- ), sr = ({
1119
+ ), Tr = ({
1070
1120
  className: e,
1071
1121
  ...t
1072
1122
  }) => /* @__PURE__ */ a(
1073
- At,
1123
+ Tt,
1074
1124
  {
1075
1125
  className: d("text-sm font-medium text-gray-700 dark:text-white-alpha-700", e),
1076
1126
  ...t
1077
1127
  }
1078
- ), rr = ({
1128
+ ), Hr = ({
1079
1129
  className: e,
1080
1130
  ...t
1081
1131
  }) => /* @__PURE__ */ a(
1082
- kt,
1132
+ Ht,
1083
1133
  {
1084
1134
  className: d(
1085
- n({ size: "md", variant: "outline" }),
1135
+ l({ size: "md", variant: "outline" }),
1086
1136
  "min-h-20 px-3 py-1 text-sm",
1087
1137
  e
1088
1138
  ),
1089
1139
  ...t
1090
1140
  }
1091
- ), mr = ({
1141
+ ), Lr = ({
1092
1142
  className: e,
1093
1143
  ...t
1094
1144
  }) => /* @__PURE__ */ a(
1095
- wt,
1145
+ Lt,
1096
1146
  {
1097
1147
  className: d("text-sm text-red-500", e),
1098
1148
  ...t
1099
1149
  }
1100
- ), or = ({
1150
+ ), Dr = ({
1101
1151
  className: e,
1102
1152
  ...t
1103
1153
  }) => /* @__PURE__ */ a(
1104
- Pt,
1154
+ Dt,
1105
1155
  {
1106
- className: d(r({ preset: "neutralFilled" }), "ml-auto", e),
1156
+ className: d(s({ variant: "primaryFilled" }), "ml-auto", e),
1107
1157
  ...t
1108
1158
  }
1109
- ), ir = ({
1159
+ ), Wr = ({
1110
1160
  className: e,
1111
1161
  ...t
1112
1162
  }) => /* @__PURE__ */ a(
1113
- Mt,
1163
+ Wt,
1114
1164
  {
1115
1165
  className: d("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5", e),
1116
1166
  ...t
1117
1167
  }
1118
- ), nr = ({
1168
+ ), _r = ({
1119
1169
  className: e,
1120
1170
  ...t
1121
1171
  }) => /* @__PURE__ */ a(
1122
- yt,
1172
+ _t,
1123
1173
  {
1124
1174
  className: d("flex items-center gap-2.5 flex-wrap", e),
1125
1175
  ...t
1126
1176
  }
1127
- ), lr = ({
1177
+ ), zr = ({
1128
1178
  className: e,
1129
1179
  ...t
1130
1180
  }) => /* @__PURE__ */ a(
1131
- Nt,
1181
+ zt,
1132
1182
  {
1133
1183
  className: d("flex items-center whitespace-nowrap", e),
1134
1184
  ...t
1135
1185
  }
1136
- ), cr = ({
1186
+ ), jr = ({
1137
1187
  className: e,
1138
1188
  ...t
1139
1189
  }) => /* @__PURE__ */ a(
1140
- It,
1190
+ jt,
1141
1191
  {
1142
1192
  className: d("text-xs text-gray-500 dark:text-white-alpha-600", e),
1143
1193
  ...t
1144
1194
  }
1145
- ), hr = ({
1195
+ ), Qr = ({
1146
1196
  className: e,
1147
1197
  ...t
1148
1198
  }) => /* @__PURE__ */ a(
1149
- Bt,
1199
+ Qt,
1150
1200
  {
1151
- className: d("text-gray-500 dark:text-white-alpha-600", "w-5 ml-1 mr-0.5", e),
1201
+ className: d("text-gray-500 dark:text-white dark:opacity-60", "w-5 ml-1 mr-0.5", e),
1152
1202
  ...t
1153
1203
  }
1154
- ), br = ({
1204
+ ), Or = ({
1155
1205
  className: e,
1156
1206
  ...t
1157
1207
  }) => /* @__PURE__ */ a(
1158
- St,
1208
+ Ot,
1159
1209
  {
1160
1210
  className: d(
1161
- Ha(),
1211
+ td(),
1162
1212
  "inline-flex text-1sm text-gray-500",
1163
1213
  "dark:text-white-alpha-600 font-medium",
1164
1214
  e
1165
1215
  ),
1166
1216
  ...t
1167
1217
  }
1168
- ), E = d(
1169
- r({ size: "xs", variant: "outline" }),
1218
+ ), x = d(
1219
+ s({ size: "xs", variant: "outline" }),
1170
1220
  "text-gray-700 dark:text-white-alpha-700"
1171
- ), pr = ({
1221
+ ), Vr = ({
1172
1222
  className: e,
1173
1223
  ...t
1174
- }) => /* @__PURE__ */ a(Tt, { className: d(E, e), ...t }), Cr = ({
1224
+ }) => /* @__PURE__ */ a(Vt, { className: d(x, e), ...t }), Rr = ({
1175
1225
  className: e,
1176
1226
  ...t
1177
- }) => /* @__PURE__ */ a(Ht, { className: d("cursor-pointer", e), ...t }), ur = ({
1227
+ }) => /* @__PURE__ */ a(Rt, { className: d("cursor-pointer", e), ...t }), qr = ({
1178
1228
  className: e,
1179
1229
  ...t
1180
1230
  }) => /* @__PURE__ */ a(
1181
- Lt,
1231
+ qt,
1182
1232
  {
1183
1233
  className: d(
1184
1234
  "bg-white text-gray-800 fill-white",
@@ -1189,144 +1239,144 @@ const nd = Na, ld = C(
1189
1239
  ),
1190
1240
  ...t
1191
1241
  }
1192
- ), Er = T, gr = ({
1242
+ ), Gr = _, Kr = ({
1193
1243
  className: e,
1194
1244
  ...t
1195
- }) => /* @__PURE__ */ a(Dt, { className: d(E, e), ...t }), xr = ({
1245
+ }) => /* @__PURE__ */ a(Gt, { className: d(x, e), ...t }), $r = ({
1196
1246
  className: e,
1197
1247
  ...t
1198
1248
  }) => /* @__PURE__ */ a(
1199
- Wt,
1249
+ Kt,
1200
1250
  {
1201
- className: d(E, e),
1251
+ className: d(x, e),
1202
1252
  ...t
1203
1253
  }
1204
- ), fr = ({
1254
+ ), Jr = ({
1205
1255
  className: e,
1206
1256
  ...t
1207
1257
  }) => /* @__PURE__ */ a(
1208
- _t,
1258
+ $t,
1209
1259
  {
1210
1260
  className: d(
1211
- b({ slot: "content" }),
1261
+ C({ slot: "content" }),
1212
1262
  "gap-3 px-3 py-4 ",
1213
1263
  "w-[254px] text-sm font-normal",
1214
1264
  e
1215
1265
  ),
1216
1266
  ...t
1217
1267
  }
1218
- ), vr = ({
1268
+ ), Ur = ({
1219
1269
  className: e,
1220
1270
  ...t
1221
1271
  }) => /* @__PURE__ */ a(
1222
- zt,
1272
+ Jt,
1223
1273
  {
1224
- className: d(b({ slot: "arrow" }), e),
1274
+ className: d(C({ slot: "arrow" }), e),
1225
1275
  ...t
1226
1276
  }
1227
- ), Fr = ({
1277
+ ), Xr = ({
1228
1278
  className: e,
1229
1279
  ...t
1230
1280
  }) => /* @__PURE__ */ a(
1231
- jt,
1281
+ Ut,
1232
1282
  {
1233
1283
  className: d("flex items-center cursor-pointer hover:underline", e),
1234
1284
  ...t
1235
1285
  }
1236
- ), Ar = ({
1286
+ ), Yr = ({
1237
1287
  className: e,
1238
1288
  ...t
1239
1289
  }) => /* @__PURE__ */ a(
1240
- Qt,
1290
+ Xt,
1241
1291
  {
1242
1292
  className: d("mr-2 text-inkeep-primary-medium", e),
1243
1293
  ...t
1244
1294
  }
1245
- ), kr = H, wr = ({
1295
+ ), Zr = z, eo = ({
1246
1296
  className: e,
1247
1297
  ...t
1248
1298
  }) => /* @__PURE__ */ a(
1249
- Ot,
1299
+ Yt,
1250
1300
  {
1251
- className: d(s({ slot: "overlay" }), e),
1301
+ className: d(r({ slot: "overlay" }), e),
1252
1302
  ...t
1253
1303
  }
1254
- ), Pr = ({
1304
+ ), to = ({
1255
1305
  className: e,
1256
1306
  ...t
1257
1307
  }) => /* @__PURE__ */ a(
1258
- Vt,
1308
+ Zt,
1259
1309
  {
1260
1310
  className: d(
1261
- s({ slot: "content" }),
1311
+ r({ slot: "content" }),
1262
1312
  "my-6 md:my-12 top-0 left-[unset] transform-none relative",
1263
1313
  "p-8 md:p-10 max-w-[480px]",
1264
1314
  e
1265
1315
  ),
1266
1316
  ...t
1267
1317
  }
1268
- ), Mr = ({
1318
+ ), ao = ({
1269
1319
  className: e,
1270
1320
  ...t
1271
1321
  }) => /* @__PURE__ */ a(
1272
- Rt,
1322
+ ea,
1273
1323
  {
1274
- className: d(s({ slot: "header" }), "px-0 pt-0 pb-8", "font-semibold", e),
1324
+ className: d(r({ slot: "header" }), "px-0 pt-0 pb-8", "font-semibold", e),
1275
1325
  ...t
1276
1326
  }
1277
- ), yr = ({
1327
+ ), so = ({
1278
1328
  className: e,
1279
1329
  ...t
1280
1330
  }) => /* @__PURE__ */ a(
1281
- qt,
1331
+ ta,
1282
1332
  {
1283
- className: d(s({ slot: "close" }), e),
1333
+ className: d(r({ slot: "close" }), e),
1284
1334
  ...t
1285
1335
  }
1286
- ), Nr = ({
1336
+ ), ro = ({
1287
1337
  className: e,
1288
1338
  ...t
1289
1339
  }) => /* @__PURE__ */ a(
1290
- Gt,
1340
+ aa,
1291
1341
  {
1292
- className: d(s({ slot: "body" }), "p-0", e),
1342
+ className: d(r({ slot: "body" }), "p-0", e),
1293
1343
  ...t
1294
1344
  }
1295
- ), Ir = ({
1345
+ ), oo = ({
1296
1346
  className: e,
1297
1347
  ...t
1298
- }) => /* @__PURE__ */ a($t, { className: d("flex flex-col gap-8", e), ...t }), Br = ({
1348
+ }) => /* @__PURE__ */ a(da, { className: d("flex flex-col gap-8", e), ...t }), mo = ({
1299
1349
  className: e,
1300
1350
  ...t
1301
1351
  }) => /* @__PURE__ */ a(
1302
- Jt,
1352
+ sa,
1303
1353
  {
1304
1354
  className: d("flex flex-wrap items-center", "gap-[.75rem_0.5rem]", e),
1305
1355
  ...t
1306
1356
  }
1307
- ), Sr = ({
1357
+ ), io = ({
1308
1358
  className: e,
1309
1359
  ...t
1310
1360
  }) => /* @__PURE__ */ a(
1311
- Kt,
1361
+ ra,
1312
1362
  {
1313
- className: d(h({ slot: "root" }), e),
1363
+ className: d(b({ slot: "root" }), e),
1314
1364
  ...t
1315
1365
  }
1316
- ), Tr = ({
1366
+ ), no = ({
1317
1367
  className: e,
1318
1368
  ...t
1319
1369
  }) => /* @__PURE__ */ a(
1320
- Ut,
1370
+ oa,
1321
1371
  {
1322
- className: d(h({ slot: "indicator" }), e),
1372
+ className: d(b({ slot: "indicator" }), e),
1323
1373
  ...t
1324
1374
  }
1325
- ), Hr = ({
1375
+ ), lo = ({
1326
1376
  className: e,
1327
1377
  ...t
1328
1378
  }) => /* @__PURE__ */ a(
1329
- Xt,
1379
+ ma,
1330
1380
  {
1331
1381
  className: d(
1332
1382
  "select-none cursor-pointer font-medium text-sm",
@@ -1335,38 +1385,38 @@ const nd = Na, ld = C(
1335
1385
  ),
1336
1386
  ...t
1337
1387
  }
1338
- ), Lr = ({
1388
+ ), co = ({
1339
1389
  className: e,
1340
1390
  ...t
1341
1391
  }) => /* @__PURE__ */ a(
1342
- Yt,
1392
+ ia,
1343
1393
  {
1344
1394
  className: d("flex-[0_0_100%]", "min-h-20 border rounded-md", "px-3 py-2 text-sm", e),
1345
1395
  ...t
1346
1396
  }
1347
- ), Dr = ({
1397
+ ), ho = ({
1348
1398
  className: e,
1349
1399
  ...t
1350
1400
  }) => /* @__PURE__ */ a(
1351
- Zt,
1401
+ na,
1352
1402
  {
1353
- className: d(r({ preset: "neutralFilled" }), "ml-auto", e),
1403
+ className: d(s({ variant: "primaryFilled" }), "ml-auto", e),
1354
1404
  ...t
1355
1405
  }
1356
- ), Wr = ({
1406
+ ), bo = ({
1357
1407
  className: e,
1358
1408
  ...t
1359
1409
  }) => /* @__PURE__ */ a(
1360
- ea,
1410
+ la,
1361
1411
  {
1362
1412
  className: d("w-full overflow-y-auto [scrollbar-width:thin]", e),
1363
1413
  ...t
1364
1414
  }
1365
- ), _r = ({
1415
+ ), Co = ({
1366
1416
  className: e,
1367
1417
  ...t
1368
1418
  }) => /* @__PURE__ */ a(
1369
- ta,
1419
+ ca,
1370
1420
  {
1371
1421
  className: d(
1372
1422
  p({ section: "content" }),
@@ -1377,68 +1427,68 @@ const nd = Na, ld = C(
1377
1427
  ),
1378
1428
  ...t
1379
1429
  }
1380
- ), zr = ({
1430
+ ), po = ({
1381
1431
  className: e,
1382
1432
  ...t
1383
1433
  }) => /* @__PURE__ */ a(
1384
- aa,
1434
+ ha,
1385
1435
  {
1386
1436
  className: d(
1387
- r({ variant: "ghost" }),
1437
+ s({ variant: "ghost" }),
1388
1438
  "absolute right-1 top-1",
1389
1439
  "text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",
1390
1440
  e
1391
1441
  ),
1392
1442
  ...t
1393
1443
  }
1394
- ), jr = ({
1444
+ ), uo = ({
1395
1445
  className: e,
1396
1446
  ...t
1397
1447
  }) => /* @__PURE__ */ a(
1398
- da,
1448
+ ba,
1399
1449
  {
1400
1450
  className: d("mt-8 flex flex-col gap-6", e),
1401
1451
  ...t
1402
1452
  }
1403
- ), Qr = ({
1453
+ ), Eo = ({
1404
1454
  className: e,
1405
1455
  ...t
1406
1456
  }) => /* @__PURE__ */ a(
1407
- sa,
1457
+ Ca,
1408
1458
  {
1409
1459
  className: d("font-semibold text-xl leading-5", e),
1410
1460
  ...t
1411
1461
  }
1412
- ), Or = ({
1462
+ ), xo = ({
1413
1463
  className: e,
1414
1464
  ...t
1415
1465
  }) => /* @__PURE__ */ a(
1416
- ra,
1466
+ pa,
1417
1467
  {
1418
1468
  className: d("text-gray-700 dark:text-white-alpha-700 text-sm", e),
1419
1469
  ...t
1420
1470
  }
1421
- ), Vr = ({
1471
+ ), go = ({
1422
1472
  className: e,
1423
1473
  ...t
1424
- }) => /* @__PURE__ */ a(ma, { className: d("w-full space-y-8", e), ...t }), Rr = ({
1474
+ }) => /* @__PURE__ */ a(ua, { className: d("w-full space-y-8", e), ...t }), Fo = ({
1425
1475
  className: e,
1426
1476
  ...t
1427
1477
  }) => /* @__PURE__ */ a(
1428
- oa,
1478
+ Ea,
1429
1479
  {
1430
1480
  className: d(
1431
- "flex flex-col gap-2 data-[hidden]:hidden",
1432
- "data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",
1481
+ "group flex flex-col gap-2 data-[hidden]:hidden",
1482
+ "data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:flex-wrap data-[input-type=checkbox]:items-center",
1433
1483
  e
1434
1484
  ),
1435
1485
  ...t
1436
1486
  }
1437
- ), qr = ({
1487
+ ), fo = ({
1438
1488
  className: e,
1439
1489
  ...t
1440
1490
  }) => /* @__PURE__ */ a(
1441
- ia,
1491
+ xa,
1442
1492
  {
1443
1493
  className: d(
1444
1494
  "font-medium text-sm text-gray-700",
@@ -1450,36 +1500,37 @@ const nd = Na, ld = C(
1450
1500
  "data-[required]:after:mt-0",
1451
1501
  "data-[required]:after:text-red-500",
1452
1502
  "dark:data-[required]:after:text-red-300",
1503
+ 'dark:data-[required]:after:[content:"*"]',
1453
1504
  e
1454
1505
  ),
1455
1506
  ...t
1456
1507
  }
1457
- ), Gr = ({
1508
+ ), vo = ({
1458
1509
  className: e,
1459
1510
  ...t
1460
1511
  }) => /* @__PURE__ */ a(
1461
- na,
1512
+ ga,
1462
1513
  {
1463
- className: d(n({ size: "md", variant: "outline" }), e),
1514
+ className: d(l({ size: "md", variant: "outline" }), e),
1464
1515
  ...t
1465
1516
  }
1466
- ), $r = ({
1517
+ ), ko = ({
1467
1518
  className: e,
1468
1519
  ...t
1469
1520
  }) => /* @__PURE__ */ a(
1470
- la,
1521
+ Fa,
1471
1522
  {
1472
- className: d(n({ size: "md", variant: "outline" }), e),
1523
+ className: d(l({ size: "md", variant: "outline" }), e),
1473
1524
  ...t
1474
1525
  }
1475
- ), Jr = ({
1526
+ ), Ao = ({
1476
1527
  className: e,
1477
1528
  ...t
1478
1529
  }) => /* @__PURE__ */ a(
1479
- ca,
1530
+ fa,
1480
1531
  {
1481
1532
  className: d(
1482
- n({ size: "md", variant: "outline" }),
1533
+ l({ size: "md", variant: "outline" }),
1483
1534
  "text-sm pl-2 file:h-full file:cursor-pointer py-0",
1484
1535
  "file:bg-transparent file:border-none file:font-medium",
1485
1536
  "file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",
@@ -1487,141 +1538,242 @@ const nd = Na, ld = C(
1487
1538
  ),
1488
1539
  ...t
1489
1540
  }
1490
- ), Kr = ({
1541
+ ), yo = ({
1491
1542
  className: e,
1492
1543
  ...t
1493
1544
  }) => /* @__PURE__ */ a(
1494
- ha,
1545
+ va,
1495
1546
  {
1496
1547
  className: d(
1497
- n({ size: "md", variant: "outline" }),
1548
+ l({ size: "md", variant: "outline" }),
1498
1549
  "min-h-20 px-3 py-2 text-sm",
1499
1550
  e
1500
1551
  ),
1501
1552
  ...t
1502
1553
  }
1503
- ), Ur = ({
1554
+ ), Po = ({
1504
1555
  className: e,
1505
1556
  ...t
1506
1557
  }) => /* @__PURE__ */ a(
1507
- ba,
1558
+ ka,
1508
1559
  {
1509
- className: d(h({ slot: "root" }), e),
1560
+ className: d(b({ slot: "root" }), e),
1510
1561
  ...t
1511
1562
  }
1512
- ), Xr = ({
1563
+ ), wo = ({
1513
1564
  className: e,
1514
1565
  ...t
1515
1566
  }) => /* @__PURE__ */ a(
1516
- pa,
1567
+ Aa,
1517
1568
  {
1518
- className: d(h({ slot: "indicator" }), e),
1569
+ className: d(b({ slot: "indicator" }), e),
1519
1570
  ...t
1520
1571
  }
1521
- ), Yr = L, Zr = ({
1572
+ ), Mo = j, No = ({
1522
1573
  className: e,
1523
1574
  ...t
1524
1575
  }) => /* @__PURE__ */ a(
1525
- Ca,
1576
+ ya,
1526
1577
  {
1527
- className: d(l({ slot: "trigger" }), e),
1578
+ className: d(c({ slot: "trigger" }), e),
1528
1579
  ...t
1529
1580
  }
1530
- ), em = D, tm = ({
1581
+ ), Io = Q, Bo = ({
1531
1582
  className: e,
1532
1583
  ...t
1533
1584
  }) => /* @__PURE__ */ a(
1534
- ua,
1585
+ Pa,
1535
1586
  {
1536
1587
  className: d("h-4 w-4 opacity-45", e),
1537
1588
  ...t
1538
1589
  }
1539
- ), am = ({
1590
+ ), So = ({
1540
1591
  className: e,
1541
1592
  ...t
1542
1593
  }) => /* @__PURE__ */ a(
1543
- Ea,
1594
+ wa,
1544
1595
  {
1545
- className: d(l({ slot: "content" }), e),
1596
+ className: d(c({ slot: "content" }), e),
1546
1597
  ...t
1547
1598
  }
1548
- ), dm = ({
1599
+ ), To = ({
1549
1600
  className: e,
1550
1601
  ...t
1551
1602
  }) => /* @__PURE__ */ a(
1552
- ga,
1603
+ Ma,
1553
1604
  {
1554
- className: d(l({ slot: "viewport" }), e),
1605
+ className: d(c({ slot: "viewport" }), e),
1555
1606
  ...t
1556
1607
  }
1557
- ), sm = ({
1608
+ ), Ho = ({
1558
1609
  className: e,
1559
1610
  ...t
1560
1611
  }) => /* @__PURE__ */ a(
1561
- xa,
1612
+ Na,
1562
1613
  {
1563
- className: d(l({ slot: "item" }), e),
1614
+ className: d(c({ slot: "item" }), e),
1564
1615
  ...t
1565
1616
  }
1566
- ), rm = W, mm = ({
1617
+ ), Lo = O, Do = ({
1567
1618
  className: e,
1568
1619
  ...t
1569
1620
  }) => /* @__PURE__ */ a(
1570
- fa,
1621
+ Ia,
1571
1622
  {
1572
- className: d(l({ slot: "itemIndicator" }), e),
1623
+ className: d(c({ slot: "itemIndicator" }), e),
1573
1624
  ...t
1574
1625
  }
1575
- ), om = ({
1626
+ ), Wo = V, _o = ({
1576
1627
  className: e,
1577
1628
  ...t
1578
1629
  }) => /* @__PURE__ */ a(
1579
- va,
1630
+ Ba,
1580
1631
  {
1581
- className: d("text-sm flex items-center text-red-500 dark:text-red-300", e),
1632
+ className: d(i({ slot: "control" }), e),
1582
1633
  ...t
1583
1634
  }
1584
- ), im = ({
1635
+ ), zo = ({
1636
+ className: e,
1637
+ ...t
1638
+ }) => /* @__PURE__ */ a(La, { className: e, ...t }), jo = ({
1585
1639
  className: e,
1586
1640
  ...t
1587
1641
  }) => /* @__PURE__ */ a(
1588
- Fa,
1642
+ Sa,
1643
+ {
1644
+ className: d(i({ slot: "input" }), e),
1645
+ ...t
1646
+ }
1647
+ ), Qo = ({
1648
+ className: e,
1649
+ ...t
1650
+ }) => /* @__PURE__ */ a(
1651
+ Ta,
1652
+ {
1653
+ className: d(i({ slot: "trigger" }), e),
1654
+ ...t
1655
+ }
1656
+ ), Oo = ({
1657
+ className: e,
1658
+ ...t
1659
+ }) => /* @__PURE__ */ a(
1660
+ Ha,
1661
+ {
1662
+ className: d(i({ slot: "selectedTags" }), e),
1663
+ ...t
1664
+ }
1665
+ ), Vo = ({
1666
+ className: e,
1667
+ ...t
1668
+ }) => /* @__PURE__ */ a(
1669
+ Da,
1670
+ {
1671
+ className: d(i({ slot: "content" }), e),
1672
+ ...t
1673
+ }
1674
+ ), Ro = ({
1675
+ className: e,
1676
+ ...t
1677
+ }) => /* @__PURE__ */ a(
1678
+ Wa,
1679
+ {
1680
+ className: d(i({ slot: "list" }), e),
1681
+ ...t
1682
+ }
1683
+ ), qo = R, Go = ({
1684
+ className: e,
1685
+ ...t
1686
+ }) => /* @__PURE__ */ a(
1687
+ _a,
1688
+ {
1689
+ className: d(i({ slot: "emptyMessage" }), e),
1690
+ ...t
1691
+ }
1692
+ ), Ko = ({
1693
+ className: e,
1694
+ ...t
1695
+ }) => /* @__PURE__ */ a(
1696
+ za,
1697
+ {
1698
+ className: d(i({ slot: "item" }), e),
1699
+ ...t
1700
+ }
1701
+ ), $o = q, Jo = ({
1702
+ className: e,
1703
+ ...t
1704
+ }) => /* @__PURE__ */ a(
1705
+ ja,
1706
+ {
1707
+ className: d(i({ slot: "itemIndicator" }), e),
1708
+ ...t
1709
+ }
1710
+ ), Uo = ({
1711
+ className: e,
1712
+ ...t
1713
+ }) => /* @__PURE__ */ a(
1714
+ Qa,
1715
+ {
1716
+ className: d(
1717
+ "text-sm text-gray-600 dark:text-white-alpha-600",
1718
+ "group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",
1719
+ e
1720
+ ),
1721
+ ...t
1722
+ }
1723
+ ), Xo = ({
1724
+ className: e,
1725
+ ...t
1726
+ }) => /* @__PURE__ */ a(
1727
+ Oa,
1728
+ {
1729
+ className: d(
1730
+ "text-sm flex items-center text-red-500 dark:text-red-300",
1731
+ "group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",
1732
+ e
1733
+ ),
1734
+ ...t
1735
+ }
1736
+ ), Yo = ({
1737
+ className: e,
1738
+ ...t
1739
+ }) => /* @__PURE__ */ a(
1740
+ Va,
1589
1741
  {
1590
1742
  className: d("text-red-500 dark:text-red-300", e),
1591
1743
  ...t
1592
1744
  }
1593
- ), nm = ({
1745
+ ), Zo = ({
1594
1746
  className: e,
1595
1747
  ...t
1596
1748
  }) => /* @__PURE__ */ a(
1597
- Aa,
1749
+ Ra,
1598
1750
  {
1599
1751
  className: d("flex items-center justify-end gap-4 w-full", e),
1600
1752
  ...t
1601
1753
  }
1602
- ), lm = ({
1754
+ ), em = ({
1603
1755
  className: e,
1604
1756
  ...t
1605
1757
  }) => /* @__PURE__ */ a(
1606
- ka,
1758
+ qa,
1607
1759
  {
1608
- className: d(r({ variant: "outline" }), e),
1760
+ className: d(s({ variant: "outline" }), e),
1609
1761
  ...t
1610
1762
  }
1611
- ), cm = ({
1763
+ ), tm = ({
1612
1764
  className: e,
1613
1765
  ...t
1614
1766
  }) => /* @__PURE__ */ a(
1615
- wa,
1767
+ Ga,
1616
1768
  {
1617
- className: d(r({ preset: "neutralFilled" }), e),
1769
+ className: d(s({ variant: "primaryFilled" }), e),
1618
1770
  ...t
1619
1771
  }
1620
- ), hm = ({
1772
+ ), am = ({
1621
1773
  className: e,
1622
1774
  ...t
1623
1775
  }) => /* @__PURE__ */ a(
1624
- Pa,
1776
+ Ka,
1625
1777
  {
1626
1778
  className: d(
1627
1779
  "flex flex-col items-center justify-center h-auto",
@@ -1630,11 +1782,11 @@ const nd = Na, ld = C(
1630
1782
  ),
1631
1783
  ...t
1632
1784
  }
1633
- ), bm = ({
1785
+ ), dm = ({
1634
1786
  className: e,
1635
1787
  ...t
1636
1788
  }) => /* @__PURE__ */ a(
1637
- Ma,
1789
+ $a,
1638
1790
  {
1639
1791
  className: d(
1640
1792
  "mb-6 font-bold tracking-tight",
@@ -1643,185 +1795,203 @@ const nd = Na, ld = C(
1643
1795
  ),
1644
1796
  ...t
1645
1797
  }
1646
- ), pm = _, Cm = ({
1798
+ ), sm = G, rm = ({
1647
1799
  className: e,
1648
1800
  ...t
1649
1801
  }) => /* @__PURE__ */ a(
1650
- ya,
1802
+ Ja,
1651
1803
  {
1652
- className: d(r({ preset: "neutralFilled" }), "w-full mt-12 gap-2 shrink-0", e),
1804
+ className: d(s({ variant: "primaryFilled" }), "w-full mt-12 gap-2 shrink-0", e),
1653
1805
  ...t
1654
1806
  }
1655
1807
  );
1656
1808
  export {
1657
- ir as ActionBar,
1658
- nr as Actions,
1659
- Is as AttachmentsBar,
1660
- Ds as AttachmentsBarActions,
1661
- Ss as AttachmentsBarAttachment,
1662
- Ls as AttachmentsBarAttachmentDelete,
1663
- Ts as AttachmentsBarAttachmentIcon,
1664
- Hs as AttachmentsBarAttachmentTitle,
1665
- Ys as AttachmentsBarForm,
1666
- dr as AttachmentsBarFormContent,
1667
- mr as AttachmentsBarFormContentError,
1668
- rr as AttachmentsBarFormContentInput,
1669
- sr as AttachmentsBarFormContentLabel,
1670
- or as AttachmentsBarFormSubmitButton,
1671
- Zs as AttachmentsBarFormTitle,
1672
- ar as AttachmentsBarFormTitleError,
1673
- tr as AttachmentsBarFormTitleInput,
1674
- er as AttachmentsBarFormTitleLabel,
1675
- Ws as AttachmentsBarInfoTip,
1676
- js as AttachmentsBarInfoTipArrow,
1677
- _s as AttachmentsBarInfoTipIcon,
1678
- zs as AttachmentsBarInfoTipText,
1679
- Os as AttachmentsBarInput,
1680
- Qs as AttachmentsBarInputs,
1681
- Bs as AttachmentsBarList,
1682
- Vs as AttachmentsBarModal,
1683
- Xs as AttachmentsBarModalBody,
1684
- Us as AttachmentsBarModalClose,
1685
- qs as AttachmentsBarModalContent,
1686
- Js as AttachmentsBarModalDescription,
1687
- Gs as AttachmentsBarModalHeader,
1688
- $s as AttachmentsBarModalHeading,
1689
- Ks as AttachmentsBarModalHelp,
1690
- Rs as AttachmentsBarModalOverlay,
1691
- pr as ChatAction,
1692
- ur as ChatActionFeedback,
1693
- Cr as ChatActionLabel,
1694
- ud as Content,
1695
- Ed as ContentScrollArea,
1696
- vd as ContentScrollAreaCorner,
1697
- xd as ContentScrollAreaScrollbar,
1698
- fd as ContentScrollAreaThumb,
1699
- gd as ContentScrollAreaViewport,
1700
- Fd as Disclaimer,
1701
- Md as DisclaimerArrow,
1702
- wd as DisclaimerContent,
1703
- Ad as DisclaimerLabel,
1704
- Pd as DisclaimerText,
1705
- kd as DisclaimerTrigger,
1706
- ms as DynamicComponent,
1707
- Bd as ExampleQuestion,
1708
- Sd as ExampleQuestionButton,
1709
- yd as ExampleQuestions,
1710
- Nd as ExampleQuestionsLabel,
1711
- Id as ExampleQuestionsList,
1712
- Ir as FeedbackForm,
1713
- Br as FeedbackItem,
1714
- Sr as FeedbackItemCheckbox,
1715
- Tr as FeedbackItemCheckboxIndicator,
1716
- Lr as FeedbackItemDescription,
1717
- Hr as FeedbackItemLabel,
1718
- kr as FeedbackModal,
1719
- Nr as FeedbackModalBody,
1720
- yr as FeedbackModalClose,
1721
- Pr as FeedbackModalContent,
1722
- Mr as FeedbackModalHeader,
1723
- wr as FeedbackModalOverlay,
1724
- Dr as FeedbackSubmitButton,
1725
- ks as Footer,
1726
- _r as Form,
1727
- lm as FormCancel,
1728
- zr as FormClose,
1729
- Vr as FormContent,
1730
- Or as FormDescription,
1731
- im as FormError,
1732
- Rr as FormField,
1733
- Ur as FormFieldCheckbox,
1734
- Xr as FormFieldCheckboxIndicator,
1735
- $r as FormFieldEmail,
1736
- om as FormFieldError,
1737
- Jr as FormFieldFile,
1738
- qr as FormFieldLabel,
1739
- Yr as FormFieldSelect,
1740
- am as FormFieldSelectContent,
1741
- tm as FormFieldSelectIcon,
1742
- sm as FormFieldSelectItem,
1743
- mm as FormFieldSelectItemIndicator,
1744
- rm as FormFieldSelectItemText,
1745
- Zr as FormFieldSelectTrigger,
1746
- em as FormFieldSelectValue,
1747
- dm as FormFieldSelectViewport,
1748
- Gr as FormFieldText,
1749
- Kr as FormFieldTextArea,
1750
- nm as FormFooter,
1751
- jr as FormHeader,
1752
- Qr as FormHeading,
1753
- cm as FormSubmit,
1754
- hm as FormSuccess,
1755
- Cm as FormSuccessButton,
1756
- bm as FormSuccessHeading,
1757
- pm as FormSuccessMessage,
1758
- Wr as FormWrapper,
1759
- hd as Header,
1760
- bd as HeaderToolbar,
1761
- pd as HeaderToolbarWrapper,
1762
- gr as HelpAction,
1763
- Er as HelpActions,
1764
- fr as HelpActionsMenu,
1765
- vr as HelpActionsMenuArrow,
1766
- Fr as HelpActionsMenuItem,
1767
- Ar as HelpActionsMenuItemIcon,
1768
- xr as HelpActionsTrigger,
1769
- Ms as Input,
1770
- ws as InputFieldset,
1771
- Ps as InputGroup,
1772
- zd as IntroMessageWrapper,
1773
- os as Markdown,
1774
- cs as MessageAction,
1775
- Kd as MessageAttachments,
1776
- Xd as MessageAttachmentsItem,
1777
- Yd as MessageAttachmentsItemIcon,
1778
- Zd as MessageAttachmentsItemTitle,
1779
- Ud as MessageAttachmentsList,
1780
- es as MessageAttachmentsPreview,
1781
- rs as MessageAttachmentsPreviewBody,
1782
- ss as MessageAttachmentsPreviewClose,
1783
- as as MessageAttachmentsPreviewContent,
1784
- ds as MessageAttachmentsPreviewHeader,
1785
- ts as MessageAttachmentsPreviewOverlay,
1786
- Od as MessageAvatar,
1787
- Vd as MessageAvatarContent,
1788
- Rd as MessageAvatarFallback,
1789
- qd as MessageAvatarImage,
1790
- Jd as MessageContent,
1791
- $d as MessageContentWrapper,
1792
- ls as MessageCustomAction,
1793
- ns as MessageCustomActions,
1794
- jd as MessageHeader,
1795
- Qd as MessageLoading,
1796
- Gd as MessageName,
1797
- gm as MessagePart,
1798
- Cs as MessageSourceItem,
1799
- Es as MessageSourceItemBreadcrumbIcon,
1800
- us as MessageSourceItemBreadcrumbs,
1801
- vs as MessageSourceItemDescription,
1802
- Fs as MessageSourceItemDescriptionPart,
1803
- gs as MessageSourceItemIcon,
1804
- As as MessageSourceItemIndicator,
1805
- fs as MessageSourceItemTag,
1806
- xs as MessageSourceItemTitle,
1807
- hs as MessageSources,
1808
- bs as MessageSourcesHeader,
1809
- ps as MessageSourcesList,
1810
- is as MessageToolbar,
1811
- _d as MessageWrapper,
1812
- Wd as Messages,
1813
- nd as Provider,
1814
- cd as Root,
1815
- ys as SendButton,
1816
- Ns as SendButtonIcon,
1817
- br as TaglineBrandName,
1818
- lr as TaglineContainer,
1819
- hr as TaglineLogo,
1820
- cr as TaglineText,
1821
- Cd as ToolbarHeader,
1822
- Dd as Workflow,
1823
- Td as Workflows,
1824
- Hd as WorkflowsLabel,
1825
- Ld as WorkflowsList,
1826
- ld as Wrapper
1809
+ Wr as ActionBar,
1810
+ _r as Actions,
1811
+ rr as AttachmentsBar,
1812
+ cr as AttachmentsBarActions,
1813
+ mr as AttachmentsBarAttachment,
1814
+ lr as AttachmentsBarAttachmentDelete,
1815
+ ir as AttachmentsBarAttachmentIcon,
1816
+ nr as AttachmentsBarAttachmentTitle,
1817
+ wr as AttachmentsBarForm,
1818
+ Sr as AttachmentsBarFormContent,
1819
+ Lr as AttachmentsBarFormContentError,
1820
+ Hr as AttachmentsBarFormContentInput,
1821
+ Tr as AttachmentsBarFormContentLabel,
1822
+ Dr as AttachmentsBarFormSubmitButton,
1823
+ Mr as AttachmentsBarFormTitle,
1824
+ Br as AttachmentsBarFormTitleError,
1825
+ Ir as AttachmentsBarFormTitleInput,
1826
+ Nr as AttachmentsBarFormTitleLabel,
1827
+ hr as AttachmentsBarInfoTip,
1828
+ pr as AttachmentsBarInfoTipArrow,
1829
+ br as AttachmentsBarInfoTipIcon,
1830
+ Cr as AttachmentsBarInfoTipText,
1831
+ Er as AttachmentsBarInput,
1832
+ ur as AttachmentsBarInputs,
1833
+ or as AttachmentsBarList,
1834
+ xr as AttachmentsBarModal,
1835
+ Pr as AttachmentsBarModalBody,
1836
+ yr as AttachmentsBarModalClose,
1837
+ Fr as AttachmentsBarModalContent,
1838
+ kr as AttachmentsBarModalDescription,
1839
+ fr as AttachmentsBarModalHeader,
1840
+ vr as AttachmentsBarModalHeading,
1841
+ Ar as AttachmentsBarModalHelp,
1842
+ gr as AttachmentsBarModalOverlay,
1843
+ Vr as ChatAction,
1844
+ qr as ChatActionFeedback,
1845
+ Rr as ChatActionLabel,
1846
+ id as ChatHistoryButton,
1847
+ F as ChatHistoryButtonIcon,
1848
+ Vd as ChatHistoryTrigger,
1849
+ Rd as Content,
1850
+ qd as ContentScrollArea,
1851
+ Jd as ContentScrollAreaCorner,
1852
+ Kd as ContentScrollAreaScrollbar,
1853
+ $d as ContentScrollAreaThumb,
1854
+ Gd as ContentScrollAreaViewport,
1855
+ Ud as Disclaimer,
1856
+ ts as DisclaimerArrow,
1857
+ Zd as DisclaimerContent,
1858
+ Xd as DisclaimerLabel,
1859
+ es as DisclaimerText,
1860
+ Yd as DisclaimerTrigger,
1861
+ Ls as DynamicComponent,
1862
+ rs as ExampleQuestion,
1863
+ os as ExampleQuestionButton,
1864
+ as as ExampleQuestions,
1865
+ ds as ExampleQuestionsLabel,
1866
+ ss as ExampleQuestionsList,
1867
+ oo as FeedbackForm,
1868
+ mo as FeedbackItem,
1869
+ io as FeedbackItemCheckbox,
1870
+ no as FeedbackItemCheckboxIndicator,
1871
+ co as FeedbackItemDescription,
1872
+ lo as FeedbackItemLabel,
1873
+ Zr as FeedbackModal,
1874
+ ro as FeedbackModalBody,
1875
+ so as FeedbackModalClose,
1876
+ to as FeedbackModalContent,
1877
+ ao as FeedbackModalHeader,
1878
+ eo as FeedbackModalOverlay,
1879
+ ho as FeedbackSubmitButton,
1880
+ Zs as Footer,
1881
+ Co as Form,
1882
+ em as FormCancel,
1883
+ po as FormClose,
1884
+ go as FormContent,
1885
+ xo as FormDescription,
1886
+ Yo as FormError,
1887
+ Fo as FormField,
1888
+ Po as FormFieldCheckbox,
1889
+ wo as FormFieldCheckboxIndicator,
1890
+ Wo as FormFieldCombobox,
1891
+ Vo as FormFieldComboboxContent,
1892
+ _o as FormFieldComboboxControl,
1893
+ jo as FormFieldComboboxInput,
1894
+ Ko as FormFieldComboboxItem,
1895
+ Jo as FormFieldComboboxItemIndicator,
1896
+ $o as FormFieldComboboxItemText,
1897
+ Ro as FormFieldComboboxList,
1898
+ Go as FormFieldComboboxListEmpty,
1899
+ qo as FormFieldComboboxListItems,
1900
+ zo as FormFieldComboboxPositioner,
1901
+ Oo as FormFieldComboboxSelectedTags,
1902
+ Qo as FormFieldComboboxTrigger,
1903
+ Uo as FormFieldDescription,
1904
+ ko as FormFieldEmail,
1905
+ Xo as FormFieldError,
1906
+ Ao as FormFieldFile,
1907
+ fo as FormFieldLabel,
1908
+ Mo as FormFieldSelect,
1909
+ So as FormFieldSelectContent,
1910
+ Bo as FormFieldSelectIcon,
1911
+ Ho as FormFieldSelectItem,
1912
+ Do as FormFieldSelectItemIndicator,
1913
+ Lo as FormFieldSelectItemText,
1914
+ No as FormFieldSelectTrigger,
1915
+ Io as FormFieldSelectValue,
1916
+ To as FormFieldSelectViewport,
1917
+ vo as FormFieldText,
1918
+ yo as FormFieldTextArea,
1919
+ Zo as FormFooter,
1920
+ uo as FormHeader,
1921
+ Eo as FormHeading,
1922
+ tm as FormSubmit,
1923
+ am as FormSuccess,
1924
+ rm as FormSuccessButton,
1925
+ dm as FormSuccessHeading,
1926
+ sm as FormSuccessMessage,
1927
+ bo as FormWrapper,
1928
+ zd as Header,
1929
+ jd as HeaderToolbar,
1930
+ Qd as HeaderToolbarWrapper,
1931
+ Kr as HelpAction,
1932
+ Gr as HelpActions,
1933
+ Jr as HelpActionsMenu,
1934
+ Ur as HelpActionsMenuArrow,
1935
+ Xr as HelpActionsMenuItem,
1936
+ Yr as HelpActionsMenuItemIcon,
1937
+ $r as HelpActionsTrigger,
1938
+ ar as Input,
1939
+ er as InputFieldset,
1940
+ tr as InputGroup,
1941
+ bs as IntroMessageWrapper,
1942
+ Ds as Markdown,
1943
+ js as MessageAction,
1944
+ As as MessageAttachments,
1945
+ Ps as MessageAttachmentsItem,
1946
+ ws as MessageAttachmentsItemIcon,
1947
+ Ms as MessageAttachmentsItemTitle,
1948
+ ys as MessageAttachmentsList,
1949
+ Ns as MessageAttachmentsPreview,
1950
+ Hs as MessageAttachmentsPreviewBody,
1951
+ Ts as MessageAttachmentsPreviewClose,
1952
+ Bs as MessageAttachmentsPreviewContent,
1953
+ Ss as MessageAttachmentsPreviewHeader,
1954
+ Is as MessageAttachmentsPreviewOverlay,
1955
+ Es as MessageAvatar,
1956
+ xs as MessageAvatarContent,
1957
+ gs as MessageAvatarFallback,
1958
+ Fs as MessageAvatarImage,
1959
+ ks as MessageContent,
1960
+ vs as MessageContentWrapper,
1961
+ zs as MessageCustomAction,
1962
+ _s as MessageCustomActions,
1963
+ Cs as MessageHeader,
1964
+ ps as MessageLoading,
1965
+ fs as MessageName,
1966
+ im as MessagePart,
1967
+ Rs as MessageSourceItem,
1968
+ Gs as MessageSourceItemBreadcrumbIcon,
1969
+ qs as MessageSourceItemBreadcrumbs,
1970
+ Us as MessageSourceItemDescription,
1971
+ Xs as MessageSourceItemDescriptionPart,
1972
+ Ks as MessageSourceItemIcon,
1973
+ Ys as MessageSourceItemIndicator,
1974
+ Js as MessageSourceItemTag,
1975
+ $s as MessageSourceItemTitle,
1976
+ Qs as MessageSources,
1977
+ Os as MessageSourcesHeader,
1978
+ Vs as MessageSourcesList,
1979
+ Ws as MessageToolbar,
1980
+ hs as MessageWrapper,
1981
+ cs as Messages,
1982
+ us as MessagesSessionLoading,
1983
+ Dd as Provider,
1984
+ _d as Root,
1985
+ dr as SendButton,
1986
+ sr as SendButtonIcon,
1987
+ Or as TaglineBrandName,
1988
+ zr as TaglineContainer,
1989
+ Qr as TaglineLogo,
1990
+ jr as TaglineText,
1991
+ Od as ToolbarHeader,
1992
+ ls as Workflow,
1993
+ ms as Workflows,
1994
+ is as WorkflowsLabel,
1995
+ ns as WorkflowsList,
1996
+ Wd as Wrapper
1827
1997
  };