@inkeep/agents-ui 0.15.28 → 0.15.30

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 (52) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +156 -158
  3. package/dist/primitives/components/embedded-chat.cjs +4 -4
  4. package/dist/primitives/components/embedded-chat.d.ts +6 -16
  5. package/dist/primitives/components/embedded-chat.js +809 -859
  6. package/dist/primitives/components/embedded-search.cjs +1 -1
  7. package/dist/primitives/components/embedded-search.d.ts +3 -4
  8. package/dist/primitives/components/embedded-search.js +290 -294
  9. package/dist/primitives/components/tagline-logo-icon.cjs +1 -1
  10. package/dist/primitives/components/tagline-logo-icon.js +11 -21
  11. package/dist/primitives/hooks/use-feedback-api.cjs +1 -0
  12. package/dist/primitives/hooks/use-feedback-api.d.ts +19 -0
  13. package/dist/primitives/hooks/use-feedback-api.js +37 -0
  14. package/dist/primitives/index.cjs +1 -1
  15. package/dist/primitives/index.js +134 -137
  16. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  17. package/dist/primitives/providers/base-events-provider.js +1 -1
  18. package/dist/primitives/providers/feedback-provider.cjs +1 -1
  19. package/dist/primitives/providers/feedback-provider.d.ts +1 -1
  20. package/dist/primitives/providers/feedback-provider.js +57 -64
  21. package/dist/primitives/providers/index.cjs +1 -1
  22. package/dist/primitives/providers/index.d.ts +0 -1
  23. package/dist/primitives/providers/index.js +42 -45
  24. package/dist/primitives/utils/component-ids.cjs +1 -1
  25. package/dist/primitives/utils/component-ids.d.ts +2 -10
  26. package/dist/primitives/utils/component-ids.js +2 -6
  27. package/dist/react/embedded-chat.cjs +1 -1
  28. package/dist/react/embedded-chat.js +249 -265
  29. package/dist/react/embedded-search.cjs +1 -1
  30. package/dist/react/embedded-search.js +63 -64
  31. package/dist/react/index.cjs +1 -1
  32. package/dist/react/index.js +156 -158
  33. package/dist/styled/components/embedded-chat.cjs +1 -1
  34. package/dist/styled/components/embedded-chat.d.ts +2 -5
  35. package/dist/styled/components/embedded-chat.js +397 -441
  36. package/dist/styled/components/embedded-search.cjs +1 -1
  37. package/dist/styled/components/embedded-search.d.ts +1 -2
  38. package/dist/styled/components/embedded-search.js +119 -133
  39. package/dist/styled/components/index.cjs +1 -1
  40. package/dist/styled/components/index.js +12 -11
  41. package/dist/styled/components/message.cjs +1 -1
  42. package/dist/styled/components/message.d.ts +20 -0
  43. package/dist/styled/components/message.js +304 -228
  44. package/dist/styled/index.cjs +1 -1
  45. package/dist/styled/index.js +152 -154
  46. package/dist/styled/inkeep.css.cjs +82 -15
  47. package/dist/styled/inkeep.css.js +82 -15
  48. package/dist/types/events.d.ts +3 -17
  49. package/package.json +1 -1
  50. package/dist/primitives/providers/feedback-item-provider.cjs +0 -1
  51. package/dist/primitives/providers/feedback-item-provider.d.ts +0 -10
  52. package/dist/primitives/providers/feedback-item-provider.js +0 -16
@@ -3,7 +3,7 @@ import { InkeepSidebarChat as M } from "./sidebar-chat.js";
3
3
  import { InkeepEmbeddedSearchAndChat as g, InkeepEmbeddedSearchAndChatImpl as E } from "./embedded-search-and-chat.js";
4
4
  import { InkeepEmbeddedSearch as F, InkeepEmbeddedSearchImpl as H, InkeepEmbeddedSearchImplContent as w, InkeepEmbeddedSearchProvider as D } from "./embedded-search.js";
5
5
  import { InkeepModalChat as $ } from "./modal.chat.js";
6
- import { InkeepModalSearchAndChat as O } from "./modal.search-and-chat.js";
6
+ import { InkeepModalSearchAndChat as T } from "./modal.search-and-chat.js";
7
7
  import { InkeepModalSearch as W } from "./modal.search.js";
8
8
  import { InkeepModal as L, ModalContent as j } from "./modal.js";
9
9
  import { ChatButtonImpl as K, InkeepChatButton as N } from "./chat-button.js";
@@ -20,106 +20,105 @@ import * as p from "../styled/components/searchbar.js";
20
20
  import { Shadow as Y } from "../styled/components/shadow.js";
21
21
  import { LoadingIndicator as _ } from "../styled/components/loading-indicator.js";
22
22
  import { widgetToggle as oe } from "../styled/components/ui/recipes/widget-toggle.js";
23
- import { EmbeddedChatMessagePart as te } from "../styled/components/message.js";
24
- import { DataSummaryGroup as me } from "../styled/components/data-summary-group.js";
25
- import { BaseEventsProvider as pe, useBaseEvents as se } from "../primitives/providers/base-events-provider.js";
26
- import { ChatFormProvider as ne, useChatForm as Ce, useChatFormState as he } from "../primitives/providers/chat-form-provider.js";
27
- import { ChatHistoryProvider as xe, useChatHistory as ue } from "../primitives/providers/chat-history-provider.js";
28
- import { InkeepConfigProvider as Ie, WebWidgetInteractionType as be, useInkeepConfig as Se } from "../primitives/providers/config-provider.js";
29
- import { FeedbackItemProvider as Pe, useFeedbackItem as ve } from "../primitives/providers/feedback-item-provider.js";
30
- import { FeedbackProvider as Me, useMessageFeedback as Be } from "../primitives/providers/feedback-provider.js";
31
- import { FormFieldProvider as Ee, useFormField as ye } from "../primitives/providers/form-field-provider.js";
32
- import { HelpMenuProvider as He, useHelpMenu as we, useHelpMenuState as De } from "../primitives/providers/help-menu-provider.js";
33
- import { ChatMarkdownProvider as $e, useChatMarkdown as Ae } from "../primitives/providers/markdown-provider.js";
34
- import { MessageProvider as Te, useMessage as We, useOptionalMessage as ze } from "../primitives/providers/message-provider.js";
35
- import { RootProvider as je } from "../primitives/providers/root-provider.js";
36
- import { SourceItemProvider as Ke, useSourceItem as Ne } from "../primitives/providers/source-item-provider.js";
37
- import { ThemeProvider as Ue } from "../primitives/providers/theme-provider.js";
38
- import { WidgetProvider as qe, useWidget as Je } from "../primitives/providers/widget-provider.js";
39
- import { SidebarChatProvider as Ye, useInkeepSidebarChat as Ze, useOptionalSidebarChat as _e, useSidebarChat as eo } from "../primitives/providers/sidebar-chat-provider.js";
40
- import { ChatBubbleProvider as ro, useChatBubble as to, useInkeepChatBubble as ao, useOptionalChatBubble as mo } from "../primitives/providers/chat-bubble-provider.js";
41
- import { ikp as so, jsxFactory as io } from "../primitives/components/factory.js";
23
+ import { DefaultToolComponent as te, EmbeddedChatMessagePart as ae } from "../styled/components/message.js";
24
+ import { DataSummaryGroup as de } from "../styled/components/data-summary-group.js";
25
+ import { BaseEventsProvider as se, useBaseEvents as ie } from "../primitives/providers/base-events-provider.js";
26
+ import { ChatFormProvider as Ce, useChatForm as he, useChatFormState as fe } from "../primitives/providers/chat-form-provider.js";
27
+ import { ChatHistoryProvider as ue, useChatHistory as le } from "../primitives/providers/chat-history-provider.js";
28
+ import { InkeepConfigProvider as be, WebWidgetInteractionType as Se, useInkeepConfig as ce } from "../primitives/providers/config-provider.js";
29
+ import { FeedbackProvider as ve, useMessageFeedback as ke } from "../primitives/providers/feedback-provider.js";
30
+ import { FormFieldProvider as Be, useFormField as ge } from "../primitives/providers/form-field-provider.js";
31
+ import { HelpMenuProvider as ye, useHelpMenu as Fe, useHelpMenuState as He } from "../primitives/providers/help-menu-provider.js";
32
+ import { ChatMarkdownProvider as De, useChatMarkdown as Re } from "../primitives/providers/markdown-provider.js";
33
+ import { MessageProvider as Ae, useMessage as Te, useOptionalMessage as Oe } from "../primitives/providers/message-provider.js";
34
+ import { RootProvider as ze } from "../primitives/providers/root-provider.js";
35
+ import { SourceItemProvider as je, useSourceItem as Ge } from "../primitives/providers/source-item-provider.js";
36
+ import { ThemeProvider as Ne } from "../primitives/providers/theme-provider.js";
37
+ import { WidgetProvider as Ue, useWidget as Ve } from "../primitives/providers/widget-provider.js";
38
+ import { SidebarChatProvider as Je, useInkeepSidebarChat as Xe, useOptionalSidebarChat as Ye, useSidebarChat as Ze } from "../primitives/providers/sidebar-chat-provider.js";
39
+ import { ChatBubbleProvider as eo, useChatBubble as oo, useInkeepChatBubble as ro, useOptionalChatBubble as to } from "../primitives/providers/chat-bubble-provider.js";
40
+ import { ikp as mo, jsxFactory as po } from "../primitives/components/factory.js";
42
41
  import * as s from "../primitives/components/embedded-chat.js";
43
42
  import * as i from "../primitives/components/sidebar-chat/index.js";
44
- import { ChatProvider as Co, useChat as ho } from "../primitives/components/embedded-chat/chat-provider.js";
43
+ import { ChatProvider as io, useChat as no } from "../primitives/components/embedded-chat/chat-provider.js";
45
44
  import * as n from "../primitives/components/embedded-search.js";
46
- import { SearchProvider as xo, SearchProviderImpl as uo, useSearch as lo } from "../primitives/components/embedded-search/search-provider.js";
45
+ import { SearchProvider as ho, SearchProviderImpl as fo, useSearch as xo } from "../primitives/components/embedded-search/search-provider.js";
47
46
  import * as C from "../primitives/components/modal.js";
48
- import { ModalProvider as bo, useModal as So } from "../primitives/components/modal/modal-provider.js";
47
+ import { ModalProvider as lo, useModal as Io } from "../primitives/components/modal/modal-provider.js";
49
48
  import * as h from "../primitives/components/chat-button.js";
50
49
  import * as f from "../primitives/components/searchbar.js";
51
50
  import * as x from "../primitives/components/chat-bubble/index.js";
52
51
  import * as u from "../primitives/components/data-summaries.js";
53
52
  import * as l from "../primitives/components/chat-history/index.js";
54
- import { useBoolean as Po } from "../primitives/hooks/use-boolean.js";
55
- import { useComponentClassNames as ko } from "../primitives/hooks/use-component-classnames.js";
56
- import { useContainerSize as Bo } from "../primitives/hooks/use-container-size.js";
57
- import { useInkeepOpenState as Eo } from "../primitives/hooks/use-inkeep-open-state.js";
58
- import { useCopyToClipboard as Fo } from "../primitives/hooks/use-copy-to-clipboard.js";
59
- import { useInstantUpdate as wo } from "../primitives/hooks/use-instant-update.js";
60
- import { useIsMounted as Ro } from "../primitives/hooks/use-is-mounted.js";
61
- import { useMediaQuery as Ao } from "../primitives/hooks/use-media-query.js";
62
- import { useResizeObserver as To } from "../primitives/hooks/use-resize-observer.js";
63
- import { useScrollingFades as zo, useScrollingFadesHorizontal as Lo } from "../primitives/hooks/use-scrolling-fades.js";
64
- import { useSettleAction as Go } from "../primitives/hooks/use-settle-action.js";
65
- import { useSimpleScroll as No } from "../primitives/hooks/use-simple-scroll.js";
66
- import { callAll as Uo, dataAttr as Vo, getInitials as qo, getMessageContent as Jo, isString as Xo, maybeRender as Yo, toKebabCase as Zo } from "../primitives/utils/misc.js";
67
- import { ChatBubbleComponentIds as er, DataSummaryComponentIds as or, SearchBarComponentIds as rr, SidebarChatComponentIds as tr, aiChatComponentIds as ar, aiChatHistoryComponentIds as mr, aiSearchComponentIds as dr, chatButtonComponentIds as pr, componentIDs as sr, markDownComponentIds as ir, miscellanousComponentIds as nr, modalComponentIds as Cr } from "../primitives/utils/component-ids.js";
68
- import { composeRefs as fr, useComposedRefs as xr } from "../primitives/utils/compose-refs.js";
69
- import { mergeProps as lr } from "../primitives/utils/merge-props.js";
70
- import { Portal as br } from "../primitives/atoms/portal.js";
71
- import { CustomIcon as cr } from "../primitives/atoms/icons/custom-icon.js";
72
- import { BuiltInIconRenderer as vr } from "../primitives/atoms/icons/built-in-icon-renderer.js";
73
- import { PortalWithTheme as Mr } from "../primitives/atoms/portal-with-theme.js";
74
- import { Command as gr, CommandDialog as Er, CommandEmpty as yr, CommandInput as Fr, CommandItem as Hr, CommandList as wr, CommandLoading as Dr, CommandRoot as Rr, CommandSeparator as $r, defaultFilter as Ar, useCommandState as Or, useCommandStore as Tr } from "../primitives/atoms/cmdk/index.js";
75
- import { ErrorBoundary as zr } from "../primitives/atoms/error-boundary.js";
76
- import { ColorMode as jr, ColorModeProvider as Gr, DarkModeProvider as Kr, useColorMode as Nr, useColorModeValue as Qr } from "../color-mode/index.js";
77
- import { InkeepShadow as Vr, InkeepShadowProvider as qr, ShadowContext as Jr, useShadow as Xr } from "../primitives/atoms/shadow/context.js";
53
+ import { useBoolean as So } from "../primitives/hooks/use-boolean.js";
54
+ import { useComponentClassNames as Po } from "../primitives/hooks/use-component-classnames.js";
55
+ import { useContainerSize as ko } from "../primitives/hooks/use-container-size.js";
56
+ import { useInkeepOpenState as Bo } from "../primitives/hooks/use-inkeep-open-state.js";
57
+ import { useCopyToClipboard as Eo } from "../primitives/hooks/use-copy-to-clipboard.js";
58
+ import { useInstantUpdate as Fo } from "../primitives/hooks/use-instant-update.js";
59
+ import { useIsMounted as wo } from "../primitives/hooks/use-is-mounted.js";
60
+ import { useMediaQuery as Ro } from "../primitives/hooks/use-media-query.js";
61
+ import { useResizeObserver as Ao } from "../primitives/hooks/use-resize-observer.js";
62
+ import { useScrollingFades as Oo, useScrollingFadesHorizontal as Wo } from "../primitives/hooks/use-scrolling-fades.js";
63
+ import { useSettleAction as Lo } from "../primitives/hooks/use-settle-action.js";
64
+ import { useSimpleScroll as Go } from "../primitives/hooks/use-simple-scroll.js";
65
+ import { callAll as No, dataAttr as Qo, getInitials as Uo, getMessageContent as Vo, isString as qo, maybeRender as Jo, toKebabCase as Xo } from "../primitives/utils/misc.js";
66
+ import { ChatBubbleComponentIds as Zo, DataSummaryComponentIds as _o, SearchBarComponentIds as er, SidebarChatComponentIds as or, aiChatComponentIds as rr, aiChatHistoryComponentIds as tr, aiSearchComponentIds as ar, chatButtonComponentIds as mr, componentIDs as dr, markDownComponentIds as pr, miscellanousComponentIds as sr, modalComponentIds as ir } from "../primitives/utils/component-ids.js";
67
+ import { composeRefs as Cr, useComposedRefs as hr } from "../primitives/utils/compose-refs.js";
68
+ import { mergeProps as xr } from "../primitives/utils/merge-props.js";
69
+ import { Portal as lr } from "../primitives/atoms/portal.js";
70
+ import { CustomIcon as br } from "../primitives/atoms/icons/custom-icon.js";
71
+ import { BuiltInIconRenderer as cr } from "../primitives/atoms/icons/built-in-icon-renderer.js";
72
+ import { PortalWithTheme as vr } from "../primitives/atoms/portal-with-theme.js";
73
+ import { Command as Mr, CommandDialog as Br, CommandEmpty as gr, CommandInput as Er, CommandItem as yr, CommandList as Fr, CommandLoading as Hr, CommandRoot as wr, CommandSeparator as Dr, defaultFilter as Rr, useCommandState as $r, useCommandStore as Ar } from "../primitives/atoms/cmdk/index.js";
74
+ import { ErrorBoundary as Or } from "../primitives/atoms/error-boundary.js";
75
+ import { ColorMode as zr, ColorModeProvider as Lr, DarkModeProvider as jr, useColorMode as Gr, useColorModeValue as Kr } from "../color-mode/index.js";
76
+ import { InkeepShadow as Qr, InkeepShadowProvider as Ur, ShadowContext as Vr, useShadow as qr } from "../primitives/atoms/shadow/context.js";
78
77
  export {
79
- pe as BaseEventsProvider,
80
- vr as BuiltInIconRenderer,
78
+ se as BaseEventsProvider,
79
+ cr as BuiltInIconRenderer,
81
80
  t as ChatBubble,
82
- er as ChatBubbleComponentIds,
81
+ Zo as ChatBubbleComponentIds,
83
82
  x as ChatBubblePrimitive,
84
- ro as ChatBubbleProvider,
83
+ eo as ChatBubbleProvider,
85
84
  d as ChatButton,
86
85
  K as ChatButtonImpl,
87
86
  h as ChatButtonPrimitive,
88
- ne as ChatFormProvider,
87
+ Ce as ChatFormProvider,
89
88
  o as ChatHistory,
90
89
  l as ChatHistoryPrimitive,
91
- xe as ChatHistoryProvider,
92
- $e as ChatMarkdownProvider,
93
- Co as ChatProvider,
94
- jr as ColorMode,
95
- Gr as ColorModeProvider,
96
- gr as Command,
97
- Er as CommandDialog,
98
- yr as CommandEmpty,
99
- Fr as CommandInput,
100
- Hr as CommandItem,
101
- wr as CommandList,
102
- Dr as CommandLoading,
103
- Rr as CommandRoot,
104
- $r as CommandSeparator,
105
- cr as CustomIcon,
106
- Kr as DarkModeProvider,
107
- or as DataSummaryComponentIds,
108
- me as DataSummaryGroup,
90
+ ue as ChatHistoryProvider,
91
+ De as ChatMarkdownProvider,
92
+ io as ChatProvider,
93
+ zr as ColorMode,
94
+ Lr as ColorModeProvider,
95
+ Mr as Command,
96
+ Br as CommandDialog,
97
+ gr as CommandEmpty,
98
+ Er as CommandInput,
99
+ yr as CommandItem,
100
+ Fr as CommandList,
101
+ Hr as CommandLoading,
102
+ wr as CommandRoot,
103
+ Dr as CommandSeparator,
104
+ br as CustomIcon,
105
+ jr as DarkModeProvider,
106
+ _o as DataSummaryComponentIds,
107
+ de as DataSummaryGroup,
109
108
  u as DataSummaryPrimitive,
109
+ te as DefaultToolComponent,
110
110
  e as EmbeddedChat,
111
- te as EmbeddedChatMessagePart,
111
+ ae as EmbeddedChatMessagePart,
112
112
  s as EmbeddedChatPrimitive,
113
113
  a as EmbeddedSearch,
114
114
  n as EmbeddedSearchPrimitive,
115
- zr as ErrorBoundary,
116
- Pe as FeedbackItemProvider,
117
- Me as FeedbackProvider,
118
- Ee as FormFieldProvider,
119
- He as HelpMenuProvider,
115
+ Or as ErrorBoundary,
116
+ ve as FeedbackProvider,
117
+ Be as FormFieldProvider,
118
+ ye as HelpMenuProvider,
120
119
  N as InkeepChatButton,
121
120
  U as InkeepChatButtonModal,
122
- Ie as InkeepConfigProvider,
121
+ be as InkeepConfigProvider,
123
122
  S as InkeepEmbeddedChat,
124
123
  c as InkeepEmbeddedChatImpl,
125
124
  P as InkeepEmbeddedChatImplContent,
@@ -133,98 +132,97 @@ export {
133
132
  L as InkeepModal,
134
133
  $ as InkeepModalChat,
135
134
  W as InkeepModalSearch,
136
- O as InkeepModalSearchAndChat,
135
+ T as InkeepModalSearchAndChat,
137
136
  q as InkeepSearchBar,
138
- Vr as InkeepShadow,
139
- qr as InkeepShadowProvider,
137
+ Qr as InkeepShadow,
138
+ Ur as InkeepShadowProvider,
140
139
  M as InkeepSidebarChat,
141
140
  _ as LoadingIndicator,
142
- Te as MessageProvider,
141
+ Ae as MessageProvider,
143
142
  m as Modal,
144
143
  j as ModalContent,
145
144
  C as ModalPrimitive,
146
- bo as ModalProvider,
147
- br as Portal,
148
- Mr as PortalWithTheme,
149
- je as RootProvider,
145
+ lo as ModalProvider,
146
+ lr as Portal,
147
+ vr as PortalWithTheme,
148
+ ze as RootProvider,
150
149
  p as SearchBar,
151
- rr as SearchBarComponentIds,
150
+ er as SearchBarComponentIds,
152
151
  J as SearchBarImpl,
153
152
  f as SearchBarPrimitive,
154
- xo as SearchProvider,
155
- uo as SearchProviderImpl,
153
+ ho as SearchProvider,
154
+ fo as SearchProviderImpl,
156
155
  Y as Shadow,
157
- Jr as ShadowContext,
156
+ Vr as ShadowContext,
158
157
  r as SidebarChat,
159
- tr as SidebarChatComponentIds,
158
+ or as SidebarChatComponentIds,
160
159
  i as SidebarChatPrimitive,
161
- Ye as SidebarChatProvider,
162
- Ke as SourceItemProvider,
163
- Ue as ThemeProvider,
164
- be as WebWidgetInteractionType,
165
- qe as WidgetProvider,
166
- ar as aiChatComponentIds,
167
- mr as aiChatHistoryComponentIds,
168
- dr as aiSearchComponentIds,
169
- Uo as callAll,
170
- pr as chatButtonComponentIds,
171
- sr as componentIDs,
172
- fr as composeRefs,
173
- Vo as dataAttr,
174
- Ar as defaultFilter,
175
- qo as getInitials,
176
- Jo as getMessageContent,
177
- so as ikp,
178
- Xo as isString,
179
- io as jsxFactory,
180
- ir as markDownComponentIds,
181
- Yo as maybeRender,
182
- lr as mergeProps,
183
- nr as miscellanousComponentIds,
184
- Cr as modalComponentIds,
185
- Zo as toKebabCase,
186
- se as useBaseEvents,
187
- Po as useBoolean,
188
- ho as useChat,
189
- to as useChatBubble,
190
- Ce as useChatForm,
191
- he as useChatFormState,
192
- ue as useChatHistory,
193
- Ae as useChatMarkdown,
194
- Nr as useColorMode,
195
- Qr as useColorModeValue,
196
- Or as useCommandState,
197
- Tr as useCommandStore,
198
- ko as useComponentClassNames,
199
- xr as useComposedRefs,
200
- Bo as useContainerSize,
201
- Fo as useCopyToClipboard,
202
- ve as useFeedbackItem,
203
- ye as useFormField,
204
- we as useHelpMenu,
205
- De as useHelpMenuState,
206
- ao as useInkeepChatBubble,
207
- Se as useInkeepConfig,
208
- Eo as useInkeepOpenState,
209
- Ze as useInkeepSidebarChat,
210
- wo as useInstantUpdate,
211
- Ro as useIsMounted,
212
- Ao as useMediaQuery,
213
- We as useMessage,
214
- Be as useMessageFeedback,
215
- So as useModal,
216
- mo as useOptionalChatBubble,
217
- ze as useOptionalMessage,
218
- _e as useOptionalSidebarChat,
219
- To as useResizeObserver,
220
- zo as useScrollingFades,
221
- Lo as useScrollingFadesHorizontal,
222
- lo as useSearch,
223
- Go as useSettleAction,
224
- Xr as useShadow,
225
- eo as useSidebarChat,
226
- No as useSimpleScroll,
227
- Ne as useSourceItem,
228
- Je as useWidget,
160
+ Je as SidebarChatProvider,
161
+ je as SourceItemProvider,
162
+ Ne as ThemeProvider,
163
+ Se as WebWidgetInteractionType,
164
+ Ue as WidgetProvider,
165
+ rr as aiChatComponentIds,
166
+ tr as aiChatHistoryComponentIds,
167
+ ar as aiSearchComponentIds,
168
+ No as callAll,
169
+ mr as chatButtonComponentIds,
170
+ dr as componentIDs,
171
+ Cr as composeRefs,
172
+ Qo as dataAttr,
173
+ Rr as defaultFilter,
174
+ Uo as getInitials,
175
+ Vo as getMessageContent,
176
+ mo as ikp,
177
+ qo as isString,
178
+ po as jsxFactory,
179
+ pr as markDownComponentIds,
180
+ Jo as maybeRender,
181
+ xr as mergeProps,
182
+ sr as miscellanousComponentIds,
183
+ ir as modalComponentIds,
184
+ Xo as toKebabCase,
185
+ ie as useBaseEvents,
186
+ So as useBoolean,
187
+ no as useChat,
188
+ oo as useChatBubble,
189
+ he as useChatForm,
190
+ fe as useChatFormState,
191
+ le as useChatHistory,
192
+ Re as useChatMarkdown,
193
+ Gr as useColorMode,
194
+ Kr as useColorModeValue,
195
+ $r as useCommandState,
196
+ Ar as useCommandStore,
197
+ Po as useComponentClassNames,
198
+ hr as useComposedRefs,
199
+ ko as useContainerSize,
200
+ Eo as useCopyToClipboard,
201
+ ge as useFormField,
202
+ Fe as useHelpMenu,
203
+ He as useHelpMenuState,
204
+ ro as useInkeepChatBubble,
205
+ ce as useInkeepConfig,
206
+ Bo as useInkeepOpenState,
207
+ Xe as useInkeepSidebarChat,
208
+ Fo as useInstantUpdate,
209
+ wo as useIsMounted,
210
+ Ro as useMediaQuery,
211
+ Te as useMessage,
212
+ ke as useMessageFeedback,
213
+ Io as useModal,
214
+ to as useOptionalChatBubble,
215
+ Oe as useOptionalMessage,
216
+ Ye as useOptionalSidebarChat,
217
+ Ao as useResizeObserver,
218
+ Oo as useScrollingFades,
219
+ Wo as useScrollingFadesHorizontal,
220
+ xo as useSearch,
221
+ Lo as useSettleAction,
222
+ qr as useShadow,
223
+ Ze as useSidebarChat,
224
+ Go as useSimpleScroll,
225
+ Ge as useSourceItem,
226
+ Ve as useWidget,
229
227
  oe as widgetToggle
230
228
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),M=require("../../primitives/providers/chat-history-provider.cjs"),N=require("../../primitives/providers/config-provider.cjs"),a=require("../../primitives/components/embedded-chat.cjs"),j=require("../../primitives/components/embedded-chat/chat-provider.cjs"),S=require("../../primitives/hooks/use-resize-observer.cjs"),A=require("../../primitives/utils/compose-refs.cjs"),T=require("./ui/recipes/ai-chat-page-wrapper.cjs"),i=require("./ui/recipes/button.cjs"),C=require("./ui/recipes/checkbox.cjs"),m=require("./ui/recipes/citation.cjs"),n=require("./ui/recipes/combobox.cjs"),H=require("./ui/recipes/icon.cjs"),p=require("./ui/recipes/input.cjs"),L=require("./ui/recipes/link.cjs"),b=require("./ui/recipes/modal.cjs"),u=require("./ui/recipes/popover.cjs"),g=require("./ui/recipes/scrollable.cjs"),h=require("./ui/recipes/select.cjs"),B=require("class-variance-authority"),D=require("merge-anything"),l=require("react"),o=require("../utils.cjs"),q=require("./ui/markdown-styles.cjs"),z=require("./loading-indicator.cjs"),_=require("./embedded-chat/session-loading.cjs"),W=require("./message.cjs"),r=require("./embedded-chat/file-upload-input.cjs"),c=require("./embedded-chat/image-preview-modal.cjs"),R=require("../../primitives/components/embedded-chat/file-upload-input.cjs"),Q=j.ChatProvider,V=l.forwardRef(({className:e,size:t,variant:s,...E},x)=>d.jsx(a.EmbeddedChatPrimitiveWrapper,{ref:x,className:o.cn(T.aiChatPageWrapper({size:t,variant:s}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]","[[data-sidebar]_&]:m-[unset] [[data-sidebar]_&]:mt-auto","[[data-sidebar]_&]:h-full [[data-sidebar]_&]:w-full","[[data-sidebar]_&]:max-h-[unset]","[[data-chat-bubble]_&]:max-h-[unset]","[[data-chat-bubble]_&]:h-full [[data-chat-bubble]_&]:w-full [[data-chat-bubble]_&]:rounded-[inherit]","group/chat-history","data-[chat-history-layout=sidepane]:flex-row",e),...E})),O=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveRoot,{className:o.cn(g.scrollable({section:"wrapper"}),"rounded-[inherit] font-body","group-data-[chat-history-layout=sidepane]/chat-history:flex-1","group-data-[chat-history-layout=sidepane]/chat-history:min-w-0","group-data-[stack-history-open]/chat-history:!hidden",e),...t}),U=({className:e,...t})=>d.jsx(a.Header,{className:o.cn(g.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHeaderToolbar,{className:o.cn("flex items-center gap-3 w-full","px-5 py-2 pt-3 justify-between *:m-0",'data-[show-widget-toggle=""]:pt-4',e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeaderWrapper,{className:o.cn("flex items-center gap-1.5",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeader,{className:o.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),F=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHistoryButtonIcon,{className:o.cn("text-sm",e),...t}),f=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHistoryButton,{className:o.cn(i.button({size:"xs",variant:"ghost"}),"gap-1.5 text-gray-600 hover:text-gray-800 dark:text-white dark:opacity-60 dark:hover:text-white dark:hover:opacity-95",e),...t}),$=()=>{const{aiChatSettings:e}=N.useInkeepConfig(),{setIsOpen:t,isOpen:s}=M.useChatHistory();return e.isChatHistoryButtonVisible?d.jsxs(f,{onClick:()=>t(!s),"aria-label":"Chat history",children:[d.jsx(F,{iconKey:"chatHistoryPanel",className:"!hidden group-data-[chat-history-layout=sidepane]/chat-history:!block"}),d.jsxs("span",{className:"flex items-center gap-1.5 group-data-[chat-history-layout=sidepane]/chat-history:hidden",children:[d.jsx(F,{iconKey:"chatHistory"}),"Chat history"]})]}):null},J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContent,{className:o.cn(g.scrollable({section:"content"}),"justify-end",e),...t}),X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollArea,{className:o.cn("overflow-hidden",e),...t}),Y=l.forwardRef(({className:e,...t},s)=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaViewport,{ref:s,className:o.cn("h-full w-full rounded-[inherit]","[[data-chat-bubble]_&]:overscroll-contain",e),...t})),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaScrollbar,{className:o.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaThumb,{className:o.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),ae=a.EmbeddedChatPrimitiveContentScrollAreaCorner,de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimer,{className:o.cn("ml-auto text-sm flex items-center gap-1",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerLabel,{className:o.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerTrigger,{className:o.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerContent,{className:o.cn(u.popover({slot:"content"}),"px-4 py-2 font-normal text-sm","w-[250px] sm:w-[420px]",e),...t}),se=a.EmbeddedChatPrimitiveDisclaimerText,me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerArrow,{className:o.cn(u.popover({slot:"arrow"}),e),...t}),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestions,{className:o.cn("mt-4 flex flex-col gap-2",e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsLabel,{className:o.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsList,{className:o.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),be=l.forwardRef(({className:e,style:t,...s},E)=>{const x=l.useRef(null),y=A.composeRefs(E,x),{width:P=0,height:w=0}=S.useResizeObserver({ref:x,box:"border-box"}),I=Math.max(w,P);return d.jsx(a.EmbeddedChatPrimitiveExampleQuestion,{ref:y,style:{"--before-size":`${I+100}px`,...t},className:o.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...s})}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionButton,{className:o.cn(i.button({size:"sm"}),"text-sm font-normal h-auto w-full py-1.5 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessages,{className:o.cn("flex flex-col w-full min-w-0 min-h-0 text-sm relative",e),...t}),k=B.cva(["flex relative w-full overflow-hidden ikp-md:py-6 py-4","px-5","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0"]),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageWrapper,{className:o.cn(k(),e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveIntroMessageWrapper,{className:o.cn(k(),e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageHeader,{className:o.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-4 ikp-md:mb-0","data-[role=user]:hidden",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageLoading,{className:o.cn("flex items-center gap-3 h-auto w-full",e),children:d.jsx(z.LoadingIndicator,{}),...t}),Ee=({className:e})=>d.jsx("div",{className:o.cn("w-full",e),children:d.jsx(_.MessagesSessionLoading,{})}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatar,{className:o.cn("flex items-center justify-center rounded-full","h-auto",e),...t}),ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarContent,{className:o.cn("relative flex h-6 w-6 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden","justify-center items-center",e),...t}),fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarFallback,{className:o.cn("hidden data-[role=user]:block",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarImage,{className:o.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageName,{className:o.cn("py-1 ml-3","text-1sm font-medium","text-gray-600 dark:text-white-alpha-600","data-[role=user]:hidden","ikp-md:hidden",e),...t}),Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContentWrapper,{className:o.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:items-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),we=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContent,{className:o.cn("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",e),...t}),Ie=a.EmbeddedChatPrimitiveDynamicComponent,Me=({componentStyles:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMarkdown,{componentStyles:D.merge(q.markdownStyles,e??{}),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageToolbar,{className:o.cn("flex items-center mt-2 mb-3",e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomActions,{className:o.cn("mr-auto flex items-center gap-2",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomAction,{className:o.cn(i.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAction,{className:o.cn(i.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Te=a.EmbeddedChatPrimitiveMessageSources,He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesHeader,{className:o.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesList,{className:o.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItem,{className:o.cn(m.citation({slot:"root"}),e),...t}),De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,{className:o.cn(m.citation({slot:"breadcrumbs"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.MessageSourceItemBreadcrumbIcon,{className:o.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIcon,{className:o.cn(m.citation({slot:"icon"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTitle,{className:o.cn(m.citation({slot:"title"}),e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTag,{className:o.cn(m.citation({slot:"tag"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescription,{className:o.cn(m.citation({slot:"description"}),e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,{className:o.cn(m.citation({slot:"descriptionPart"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIndicator,{className:o.cn(m.citation({slot:"indicator"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFooter,{className:o.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-5 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]","before:-translate-y-full",e),...t}),Ue=({className:e,...t})=>d.jsx(R.EmbeddedChatPrimitiveInputFieldset,{className:o.cn("group/fieldset","relative flex flex-col w-full py-1.5 px-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-gray-dark-900",e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputGroup,{className:o.cn("flex items-end",e),...t}),Ke=l.forwardRef(({className:e,...t},s)=>d.jsx(a.EmbeddedChatPrimitiveInput,{ref:s,className:o.cn("min-h-[unset] text-sm overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-1 py-1.5 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButton,{className:o.cn(i.button({}),"group","bg-transparent relative size-8 min-w-[unset] rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-200 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButtonIcon,{className:o.cn(H.icon(),"text-inherit group-disabled:opacity-60 ",e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActionBar,{className:o.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActions,{className:o.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineContainer,{className:o.cn("flex items-center whitespace-nowrap",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineText,{className:o.cn("text-xs text-gray-500 dark:text-white-alpha-600",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineLogo,{className:o.cn("text-gray-500 dark:text-white dark:opacity-60","w-5 ml-1 mr-0.5",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineBrandName,{className:o.cn(L.link(),"inline-flex text-1sm text-gray-500","dark:text-white-alpha-600 font-medium",e),...t}),v=o.cn(i.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatAction,{className:o.cn(v,e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionLabel,{className:o.cn("cursor-pointer",e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionFeedback,{className:o.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),it=a.EmbeddedChatPrimitiveHelpActions,st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHelpAction,{className:o.cn(v,e),...t}),mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsTrigger,{className:o.cn(v,e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenu,{className:o.cn(u.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuArrow,{className:o.cn(u.popover({slot:"arrow"}),e),...t}),lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItem,{className:o.cn("flex items-center cursor-pointer hover:underline",e),...t}),bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItemIcon,{className:o.cn("mr-2 text-inkeep-primary-medium",e),...t}),ht=a.EmbeddedChatPrimitiveFeedbackModal,xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalOverlay,{className:o.cn(b.modal({slot:"overlay"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalContent,{className:o.cn(b.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalHeader,{className:o.cn(b.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalClose,{className:o.cn(b.modal({slot:"close"}),e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalBody,{className:o.cn(b.modal({slot:"body"}),"p-0",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackForm,{className:o.cn("flex flex-col gap-8",e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItem,{className:o.cn("flex flex-wrap items-center","gap-[.75rem_0.5rem]",e),...t}),vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckbox,{className:o.cn(C.checkbox({slot:"root"}),e),...t}),ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,{className:o.cn(C.checkbox({slot:"indicator"}),e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemLabel,{className:o.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemDescription,{className:o.cn("flex-[0_0_100%]","min-h-20 border rounded-md","px-3 py-2 text-sm",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackSubmitButton,{className:o.cn(i.button({variant:"primaryFilled"}),"ml-auto",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormWrapper,{className:o.cn("w-full overflow-y-auto [scrollbar-width:thin]",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveForm,{className:o.cn(g.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-10 ikp-md:pb-12",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormClose,{className:o.cn(i.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeader,{className:o.cn("mt-8 flex flex-col gap-6",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeading,{className:o.cn("font-semibold text-xl leading-5",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormDescription,{className:o.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormContent,{className:o.cn("w-full space-y-8",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormField,{className:o.cn("group flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:flex-wrap data-[input-type=checkbox]:items-center",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldLabel,{className:o.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",'dark:data-[required]:after:[content:"*"]',e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldText,{className:o.cn(p.input({size:"md",variant:"outline"}),e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldEmail,{className:o.cn(p.input({size:"md",variant:"outline"}),e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldFile,{className:o.cn(p.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldTextArea,{className:o.cn(p.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-2 text-sm",e),...t}),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckbox,{className:o.cn(C.checkbox({slot:"root"}),e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckboxIndicator,{className:o.cn(C.checkbox({slot:"indicator"}),e),...t}),Wt=a.EmbeddedChatPrimitiveFormFieldSelect,Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectTrigger,{className:o.cn(h.select({slot:"trigger"}),e),...t}),Qt=a.EmbeddedChatPrimitiveFormFieldSelectValue,Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectIcon,{className:o.cn("h-4 w-4 opacity-45",e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectContent,{className:o.cn(h.select({slot:"content"}),e),...t}),Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectViewport,{className:o.cn(h.select({slot:"viewport"}),e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItem,{className:o.cn(h.select({slot:"item"}),e),...t}),Kt=a.EmbeddedChatPrimitiveFormFieldSelectItemText,Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItemIndicator,{className:o.cn(h.select({slot:"itemIndicator"}),e),...t}),$t=a.EmbeddedChatPrimitiveFormFieldCombobox,Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxControl,{className:o.cn(n.combobox({slot:"control"}),e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxPositioner,{className:e,...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxInput,{className:o.cn(n.combobox({slot:"input"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxTrigger,{className:o.cn(n.combobox({slot:"trigger"}),e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,{className:o.cn(n.combobox({slot:"selectedTags"}),e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxContent,{className:o.cn(n.combobox({slot:"content"}),e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxList,{className:o.cn(n.combobox({slot:"list"}),e),...t}),oa=a.EmbeddedChatPrimitiveFormFieldComboboxListItems,ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxListEmpty,{className:o.cn(n.combobox({slot:"emptyMessage"}),e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItem,{className:o.cn(n.combobox({slot:"item"}),e),...t}),sa=a.EmbeddedChatPrimitiveFormFieldComboboxItemText,ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,{className:o.cn(n.combobox({slot:"itemIndicator"}),e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldDescription,{className:o.cn("text-sm text-gray-600 dark:text-white-alpha-600","group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldError,{className:o.cn("text-sm flex items-center text-red-500 dark:text-red-300","group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormError,{className:o.cn("text-red-500 dark:text-red-300",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFooter,{className:o.cn("flex items-center justify-end gap-4 w-full",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormCancel,{className:o.cn(i.button({variant:"outline"}),e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSubmit,{className:o.cn(i.button({variant:"primaryFilled"}),e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccess,{className:o.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessHeading,{className:o.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),ua=a.EmbeddedChatPrimitiveFormSuccessMessage,ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessButton,{className:o.cn(i.button({variant:"primaryFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.MessagePart=W.EmbeddedChatMessagePart;exports.DropZone=r.EmbeddedChatDropZone;exports.FileContent=r.EmbeddedChatFileContent;exports.FileInput=r.EmbeddedChatFileInput;exports.FileItem=r.EmbeddedChatFileItem;exports.FileList=r.EmbeddedChatFileList;exports.FileName=r.EmbeddedChatFileName;exports.FilePreviewTrigger=r.EmbeddedChatFilePreviewTrigger;exports.FileRemove=r.EmbeddedChatFileRemove;exports.FileThumbnail=r.EmbeddedChatFileThumbnail;exports.FileTypeIcon=r.EmbeddedChatFileTypeIcon;exports.FileUploadButton=r.EmbeddedChatFileUploadButton;exports.InputNotification=r.EmbeddedChatInputNotification;exports.InputNotificationClose=r.EmbeddedChatInputNotificationClose;exports.InputNotificationContent=r.EmbeddedChatInputNotificationContent;exports.InputNotificationHeader=r.EmbeddedChatInputNotificationHeader;exports.InputNotificationMessage=r.EmbeddedChatInputNotificationMessage;exports.InputNotificationTitle=r.EmbeddedChatInputNotificationTitle;exports.MessageFile=r.EmbeddedChatMessageFile;exports.MessageFiles=r.EmbeddedChatMessageFiles;exports.ImagePreviewModal=c.EmbeddedChatImagePreviewModal;exports.ImagePreviewModalClose=c.EmbeddedChatImagePreviewModalClose;exports.ImagePreviewModalContent=c.EmbeddedChatImagePreviewModalContent;exports.ImagePreviewModalFileName=c.EmbeddedChatImagePreviewModalFileName;exports.ImagePreviewModalFooter=c.EmbeddedChatImagePreviewModalFooter;exports.ImagePreviewModalImage=c.EmbeddedChatImagePreviewModalImage;exports.ImagePreviewModalOverlay=c.EmbeddedChatImagePreviewModalOverlay;exports.ActionBar=Je;exports.Actions=Xe;exports.ChatAction=dt;exports.ChatActionFeedback=rt;exports.ChatActionLabel=ot;exports.ChatHistoryButton=f;exports.ChatHistoryButtonIcon=F;exports.ChatHistoryTrigger=$;exports.Content=J;exports.ContentScrollArea=X;exports.ContentScrollAreaCorner=ae;exports.ContentScrollAreaScrollbar=ee;exports.ContentScrollAreaThumb=te;exports.ContentScrollAreaViewport=Y;exports.Disclaimer=de;exports.DisclaimerArrow=me;exports.DisclaimerContent=ie;exports.DisclaimerLabel=oe;exports.DisclaimerText=se;exports.DisclaimerTrigger=re;exports.DynamicComponent=Ie;exports.ExampleQuestion=be;exports.ExampleQuestionButton=he;exports.ExampleQuestions=ne;exports.ExampleQuestionsLabel=ce;exports.ExampleQuestionsList=le;exports.FeedbackForm=Et;exports.FeedbackItem=Ft;exports.FeedbackItemCheckbox=vt;exports.FeedbackItemCheckboxIndicator=ft;exports.FeedbackItemDescription=yt;exports.FeedbackItemLabel=kt;exports.FeedbackModal=ht;exports.FeedbackModalBody=gt;exports.FeedbackModalClose=ut;exports.FeedbackModalContent=Ct;exports.FeedbackModalHeader=pt;exports.FeedbackModalOverlay=xt;exports.FeedbackSubmitButton=Pt;exports.Footer=Oe;exports.Form=It;exports.FormCancel=ha;exports.FormClose=Mt;exports.FormContent=At;exports.FormDescription=St;exports.FormError=la;exports.FormField=Tt;exports.FormFieldCheckbox=zt;exports.FormFieldCheckboxIndicator=_t;exports.FormFieldCombobox=$t;exports.FormFieldComboboxContent=aa;exports.FormFieldComboboxControl=Jt;exports.FormFieldComboboxInput=Yt;exports.FormFieldComboboxItem=ia;exports.FormFieldComboboxItemIndicator=ma;exports.FormFieldComboboxItemText=sa;exports.FormFieldComboboxList=da;exports.FormFieldComboboxListEmpty=ra;exports.FormFieldComboboxListItems=oa;exports.FormFieldComboboxPositioner=Xt;exports.FormFieldComboboxSelectedTags=ta;exports.FormFieldComboboxTrigger=ea;exports.FormFieldDescription=na;exports.FormFieldEmail=Bt;exports.FormFieldError=ca;exports.FormFieldFile=Dt;exports.FormFieldLabel=Ht;exports.FormFieldSelect=Wt;exports.FormFieldSelectContent=Ot;exports.FormFieldSelectIcon=Vt;exports.FormFieldSelectItem=Gt;exports.FormFieldSelectItemIndicator=Zt;exports.FormFieldSelectItemText=Kt;exports.FormFieldSelectTrigger=Rt;exports.FormFieldSelectValue=Qt;exports.FormFieldSelectViewport=Ut;exports.FormFieldText=Lt;exports.FormFieldTextArea=qt;exports.FormFooter=ba;exports.FormHeader=Nt;exports.FormHeading=jt;exports.FormSubmit=xa;exports.FormSuccess=Ca;exports.FormSuccessButton=ga;exports.FormSuccessHeading=pa;exports.FormSuccessMessage=ua;exports.FormWrapper=wt;exports.Header=U;exports.HeaderToolbar=G;exports.HeaderToolbarWrapper=K;exports.HelpAction=st;exports.HelpActions=it;exports.HelpActionsMenu=nt;exports.HelpActionsMenuArrow=ct;exports.HelpActionsMenuItem=lt;exports.HelpActionsMenuItemIcon=bt;exports.HelpActionsTrigger=mt;exports.Input=Ke;exports.InputFieldset=Ue;exports.InputGroup=Ge;exports.IntroMessageWrapper=pe;exports.Markdown=Me;exports.MessageAction=Ae;exports.MessageAvatar=Fe;exports.MessageAvatarContent=ve;exports.MessageAvatarFallback=fe;exports.MessageAvatarImage=ke;exports.MessageContent=we;exports.MessageContentWrapper=Pe;exports.MessageCustomAction=Se;exports.MessageCustomActions=je;exports.MessageHeader=ue;exports.MessageLoading=ge;exports.MessageName=ye;exports.MessageSourceItem=Be;exports.MessageSourceItemBreadcrumbIcon=qe;exports.MessageSourceItemBreadcrumbs=De;exports.MessageSourceItemDescription=Re;exports.MessageSourceItemDescriptionPart=Qe;exports.MessageSourceItemIcon=ze;exports.MessageSourceItemIndicator=Ve;exports.MessageSourceItemTag=We;exports.MessageSourceItemTitle=_e;exports.MessageSources=Te;exports.MessageSourcesHeader=He;exports.MessageSourcesList=Le;exports.MessageToolbar=Ne;exports.MessageWrapper=Ce;exports.Messages=xe;exports.MessagesSessionLoading=Ee;exports.Provider=Q;exports.Root=O;exports.SendButton=Ze;exports.SendButtonIcon=$e;exports.TaglineBrandName=at;exports.TaglineContainer=Ye;exports.TaglineLogo=tt;exports.TaglineText=et;exports.ToolbarHeader=Z;exports.Wrapper=V;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),M=require("../../primitives/providers/chat-history-provider.cjs"),j=require("../../primitives/providers/config-provider.cjs"),a=require("../../primitives/components/embedded-chat.cjs"),N=require("../../primitives/components/embedded-chat/chat-provider.cjs"),S=require("../../primitives/hooks/use-resize-observer.cjs"),A=require("../../primitives/utils/compose-refs.cjs"),T=require("./ui/recipes/ai-chat-page-wrapper.cjs"),i=require("./ui/recipes/button.cjs"),v=require("./ui/recipes/checkbox.cjs"),m=require("./ui/recipes/citation.cjs"),n=require("./ui/recipes/combobox.cjs"),H=require("./ui/recipes/icon.cjs"),C=require("./ui/recipes/input.cjs"),b=require("./ui/recipes/modal.cjs"),p=require("./ui/recipes/popover.cjs"),u=require("./ui/recipes/scrollable.cjs"),h=require("./ui/recipes/select.cjs"),L=require("class-variance-authority"),D=require("merge-anything"),l=require("react"),o=require("../utils.cjs"),q=require("./ui/markdown-styles.cjs"),B=require("./loading-indicator.cjs"),z=require("../../primitives/components/tagline-logo-icon.cjs"),_=require("./embedded-chat/session-loading.cjs"),W=require("./message.cjs"),r=require("./embedded-chat/file-upload-input.cjs"),c=require("./embedded-chat/image-preview-modal.cjs"),R=require("../../primitives/components/embedded-chat/file-upload-input.cjs"),Q=N.ChatProvider,V=l.forwardRef(({className:e,size:t,variant:s,...g},x)=>d.jsx(a.EmbeddedChatPrimitiveWrapper,{ref:x,className:o.cn(T.aiChatPageWrapper({size:t,variant:s}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]","[[data-sidebar]_&]:m-[unset] [[data-sidebar]_&]:mt-auto","[[data-sidebar]_&]:h-full [[data-sidebar]_&]:w-full","[[data-sidebar]_&]:max-h-[unset]","[[data-chat-bubble]_&]:max-h-[unset]","[[data-chat-bubble]_&]:h-full [[data-chat-bubble]_&]:w-full [[data-chat-bubble]_&]:rounded-[inherit]","group/chat-history","data-[chat-history-layout=sidepane]:flex-row",e),...g})),O=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveRoot,{className:o.cn(u.scrollable({section:"wrapper"}),"rounded-[inherit] font-body","group-data-[chat-history-layout=sidepane]/chat-history:flex-1","group-data-[chat-history-layout=sidepane]/chat-history:min-w-0","group-data-[stack-history-open]/chat-history:!hidden",e),...t}),U=({className:e,...t})=>d.jsx(a.Header,{className:o.cn(u.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHeaderToolbar,{className:o.cn("flex items-center gap-3 w-full","px-5 py-2 pt-3 justify-between *:m-0",'data-[show-widget-toggle=""]:pt-4',e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeaderWrapper,{className:o.cn("flex items-center gap-1.5",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeader,{className:o.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),F=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHistoryButtonIcon,{className:o.cn("text-sm",e),...t}),f=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHistoryButton,{className:o.cn(i.button({size:"xs",variant:"ghost"}),"gap-1.5 text-gray-600 hover:text-gray-800 dark:text-white dark:opacity-60 dark:hover:text-white dark:hover:opacity-95",e),...t}),$=()=>{const{aiChatSettings:e}=j.useInkeepConfig(),{setIsOpen:t,isOpen:s}=M.useChatHistory();return e.isChatHistoryButtonVisible?d.jsxs(f,{onClick:()=>t(!s),"aria-label":"Chat history",children:[d.jsx(F,{iconKey:"chatHistoryPanel",className:"!hidden group-data-[chat-history-layout=sidepane]/chat-history:!block"}),d.jsxs("span",{className:"flex items-center gap-1.5 group-data-[chat-history-layout=sidepane]/chat-history:hidden",children:[d.jsx(F,{iconKey:"chatHistory"}),"Chat history"]})]}):null},J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContent,{className:o.cn(u.scrollable({section:"content"}),"justify-end",e),...t}),X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollArea,{className:o.cn("overflow-hidden",e),...t}),Y=l.forwardRef(({className:e,...t},s)=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaViewport,{ref:s,className:o.cn("h-full w-full rounded-[inherit]","[[data-chat-bubble]_&]:overscroll-contain",e),...t})),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaScrollbar,{className:o.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaThumb,{className:o.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),ae=a.EmbeddedChatPrimitiveContentScrollAreaCorner,de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimer,{className:o.cn("ml-auto text-sm flex items-center gap-1",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerLabel,{className:o.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerTrigger,{className:o.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerContent,{className:o.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal text-sm","w-[250px] sm:w-[420px]",e),...t}),se=a.EmbeddedChatPrimitiveDisclaimerText,me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerArrow,{className:o.cn(p.popover({slot:"arrow"}),e),...t}),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestions,{className:o.cn("mt-4 flex flex-col gap-2",e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsLabel,{className:o.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsList,{className:o.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),be=l.forwardRef(({className:e,style:t,...s},g)=>{const x=l.useRef(null),y=A.composeRefs(g,x),{width:P=0,height:w=0}=S.useResizeObserver({ref:x,box:"border-box"}),I=Math.max(w,P);return d.jsx(a.EmbeddedChatPrimitiveExampleQuestion,{ref:y,style:{"--before-size":`${I+100}px`,...t},className:o.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...s})}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionButton,{className:o.cn(i.button({size:"sm"}),"text-sm font-normal h-auto w-full py-1.5 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessages,{className:o.cn("flex flex-col w-full min-w-0 min-h-0 text-sm relative",e),...t}),k=L.cva(["flex relative w-full overflow-hidden ikp-md:py-6 py-4","px-5","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0"]),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageWrapper,{className:o.cn(k(),e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveIntroMessageWrapper,{className:o.cn(k(),e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageHeader,{className:o.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-4 ikp-md:mb-0","data-[role=user]:hidden",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageLoading,{className:o.cn("flex items-center gap-3 h-auto w-full",e),children:d.jsx(B.LoadingIndicator,{}),...t}),Fe=({className:e})=>d.jsx("div",{className:o.cn("w-full",e),children:d.jsx(_.MessagesSessionLoading,{})}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatar,{className:o.cn("flex items-center justify-center rounded-full","h-auto",e),...t}),ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarContent,{className:o.cn("relative flex h-6 w-6 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden","justify-center items-center",e),...t}),fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarFallback,{className:o.cn("hidden data-[role=user]:block",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarImage,{className:o.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageName,{className:o.cn("py-1 ml-3","text-1sm font-medium","text-gray-600 dark:text-white-alpha-600","data-[role=user]:hidden","ikp-md:hidden",e),...t}),Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContentWrapper,{className:o.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:items-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),we=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContent,{className:o.cn("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",e),...t}),Ie=a.EmbeddedChatPrimitiveDynamicComponent,Me=({componentStyles:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMarkdown,{componentStyles:D.merge(q.markdownStyles,e??{}),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageToolbar,{className:o.cn("flex items-center mt-2 mb-3",e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomActions,{className:o.cn("mr-auto flex items-center gap-2",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageCustomAction,{className:o.cn(i.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAction,{className:o.cn(i.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Te=a.EmbeddedChatPrimitiveMessageSources,He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesHeader,{className:o.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),Le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesList,{className:o.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItem,{className:o.cn(m.citation({slot:"root"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,{className:o.cn(m.citation({slot:"breadcrumbs"}),e),...t}),Be=({className:e,...t})=>d.jsx(a.MessageSourceItemBreadcrumbIcon,{className:o.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIcon,{className:o.cn(m.citation({slot:"icon"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTitle,{className:o.cn(m.citation({slot:"title"}),e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTag,{className:o.cn(m.citation({slot:"tag"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescription,{className:o.cn(m.citation({slot:"description"}),e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,{className:o.cn(m.citation({slot:"descriptionPart"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIndicator,{className:o.cn(m.citation({slot:"indicator"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFooter,{className:o.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-5 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]","before:-translate-y-full",e),...t}),Ue=({className:e,...t})=>d.jsx(R.EmbeddedChatPrimitiveInputFieldset,{className:o.cn("group/fieldset","relative flex flex-col w-full py-1.5 px-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-gray-dark-900",e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputGroup,{className:o.cn("flex items-end",e),...t}),Ke=l.forwardRef(({className:e,...t},s)=>d.jsx(a.EmbeddedChatPrimitiveInput,{ref:s,className:o.cn("min-h-[unset] text-sm overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-1 py-1.5 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButton,{className:o.cn(i.button({}),"group","bg-transparent relative size-8 min-w-[unset] rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-200 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButtonIcon,{className:o.cn(H.icon(),"text-inherit group-disabled:opacity-60 ",e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActionBar,{className:o.cn("mt-4 flex items-center justify-between flex-wrap-reverse gap-2.5",e),...t}),Xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActions,{className:o.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineContainer,{className:o.cn("flex items-center whitespace-nowrap",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineText,{className:o.cn("text-xs text-gray-500 dark:text-white-alpha-600",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineLogo,{className:o.cn("inline-flex items-center",e),...t,children:d.jsx(z.default,{className:"text-gray-500 dark:text-white-alpha-600 ml-1 mt-0.5 w-11 h-auto","aria-hidden":"true"})}),E=o.cn(i.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatAction,{className:o.cn(E,e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionLabel,{className:o.cn("cursor-pointer",e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionFeedback,{className:o.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),rt=a.EmbeddedChatPrimitiveHelpActions,it=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHelpAction,{className:o.cn(E,e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsTrigger,{className:o.cn(E,e),...t}),mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenu,{className:o.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuArrow,{className:o.cn(p.popover({slot:"arrow"}),e),...t}),ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItem,{className:o.cn("flex items-center cursor-pointer hover:underline",e),...t}),lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItemIcon,{className:o.cn("mr-2 text-inkeep-primary-medium",e),...t}),bt=a.EmbeddedChatPrimitiveFeedbackModal,ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalOverlay,{className:o.cn(b.modal({slot:"overlay"}),e),...t}),xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalContent,{className:o.cn(b.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalHeader,{className:o.cn(b.modal({slot:"header"}),"px-0 pt-0 pb-6","font-semibold",e),...t}),pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalClose,{className:o.cn(b.modal({slot:"close"}),e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalBody,{className:o.cn(b.modal({slot:"body"}),"p-0",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackForm,{className:o.cn("flex flex-col gap-8",e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackField,{className:o.cn("flex flex-col gap-2",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemLabel,{className:o.cn("font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemDescription,{className:o.cn("flex-[0_0_100%]","min-h-20 border rounded-md","px-3 py-2 text-sm",e),...t}),ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackSubmitButton,{className:o.cn(i.button({variant:"primaryFilled"}),"ml-auto",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormWrapper,{className:o.cn("w-full overflow-y-auto [scrollbar-width:thin]",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveForm,{className:o.cn(u.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-10 ikp-md:pb-12",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormClose,{className:o.cn(i.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeader,{className:o.cn("mt-8 flex flex-col gap-6",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeading,{className:o.cn("font-semibold text-xl leading-5",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormDescription,{className:o.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormContent,{className:o.cn("w-full space-y-8",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormField,{className:o.cn("group flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:flex-wrap data-[input-type=checkbox]:items-center",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldLabel,{className:o.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",'dark:data-[required]:after:[content:"*"]',e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldText,{className:o.cn(C.input({size:"md",variant:"outline"}),e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldEmail,{className:o.cn(C.input({size:"md",variant:"outline"}),e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldFile,{className:o.cn(C.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldTextArea,{className:o.cn(C.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-2 text-sm",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckbox,{className:o.cn(v.checkbox({slot:"root"}),e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckboxIndicator,{className:o.cn(v.checkbox({slot:"indicator"}),e),...t}),Bt=a.EmbeddedChatPrimitiveFormFieldSelect,zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectTrigger,{className:o.cn(h.select({slot:"trigger"}),e),...t}),_t=a.EmbeddedChatPrimitiveFormFieldSelectValue,Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectIcon,{className:o.cn("h-4 w-4 opacity-45",e),...t}),Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectContent,{className:o.cn(h.select({slot:"content"}),e),...t}),Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectViewport,{className:o.cn(h.select({slot:"viewport"}),e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItem,{className:o.cn(h.select({slot:"item"}),e),...t}),Ot=a.EmbeddedChatPrimitiveFormFieldSelectItemText,Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItemIndicator,{className:o.cn(h.select({slot:"itemIndicator"}),e),...t}),Gt=a.EmbeddedChatPrimitiveFormFieldCombobox,Kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxControl,{className:o.cn(n.combobox({slot:"control"}),e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxPositioner,{className:e,...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxInput,{className:o.cn(n.combobox({slot:"input"}),e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxTrigger,{className:o.cn(n.combobox({slot:"trigger"}),e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,{className:o.cn(n.combobox({slot:"selectedTags"}),e),...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxContent,{className:o.cn(n.combobox({slot:"content"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxList,{className:o.cn(n.combobox({slot:"list"}),e),...t}),ta=a.EmbeddedChatPrimitiveFormFieldComboboxListItems,aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxListEmpty,{className:o.cn(n.combobox({slot:"emptyMessage"}),e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItem,{className:o.cn(n.combobox({slot:"item"}),e),...t}),oa=a.EmbeddedChatPrimitiveFormFieldComboboxItemText,ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,{className:o.cn(n.combobox({slot:"itemIndicator"}),e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldDescription,{className:o.cn("text-sm text-gray-600 dark:text-white-alpha-600","group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldError,{className:o.cn("text-sm flex items-center text-red-500 dark:text-red-300","group-data-[input-type=checkbox]:w-full group-data-[input-type=checkbox]:basis-full",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormError,{className:o.cn("text-red-500 dark:text-red-300",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFooter,{className:o.cn("flex items-center justify-end gap-4 w-full",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormCancel,{className:o.cn(i.button({variant:"outline"}),e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSubmit,{className:o.cn(i.button({variant:"primaryFilled"}),e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccess,{className:o.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessHeading,{className:o.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),xa=a.EmbeddedChatPrimitiveFormSuccessMessage,Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessButton,{className:o.cn(i.button({variant:"primaryFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.MessagePart=W.EmbeddedChatMessagePart;exports.DropZone=r.EmbeddedChatDropZone;exports.FileContent=r.EmbeddedChatFileContent;exports.FileInput=r.EmbeddedChatFileInput;exports.FileItem=r.EmbeddedChatFileItem;exports.FileList=r.EmbeddedChatFileList;exports.FileName=r.EmbeddedChatFileName;exports.FilePreviewTrigger=r.EmbeddedChatFilePreviewTrigger;exports.FileRemove=r.EmbeddedChatFileRemove;exports.FileThumbnail=r.EmbeddedChatFileThumbnail;exports.FileTypeIcon=r.EmbeddedChatFileTypeIcon;exports.FileUploadButton=r.EmbeddedChatFileUploadButton;exports.InputNotification=r.EmbeddedChatInputNotification;exports.InputNotificationClose=r.EmbeddedChatInputNotificationClose;exports.InputNotificationContent=r.EmbeddedChatInputNotificationContent;exports.InputNotificationHeader=r.EmbeddedChatInputNotificationHeader;exports.InputNotificationMessage=r.EmbeddedChatInputNotificationMessage;exports.InputNotificationTitle=r.EmbeddedChatInputNotificationTitle;exports.MessageFile=r.EmbeddedChatMessageFile;exports.MessageFiles=r.EmbeddedChatMessageFiles;exports.ImagePreviewModal=c.EmbeddedChatImagePreviewModal;exports.ImagePreviewModalClose=c.EmbeddedChatImagePreviewModalClose;exports.ImagePreviewModalContent=c.EmbeddedChatImagePreviewModalContent;exports.ImagePreviewModalFileName=c.EmbeddedChatImagePreviewModalFileName;exports.ImagePreviewModalFooter=c.EmbeddedChatImagePreviewModalFooter;exports.ImagePreviewModalImage=c.EmbeddedChatImagePreviewModalImage;exports.ImagePreviewModalOverlay=c.EmbeddedChatImagePreviewModalOverlay;exports.ActionBar=Je;exports.Actions=Xe;exports.ChatAction=at;exports.ChatActionFeedback=ot;exports.ChatActionLabel=dt;exports.ChatHistoryButton=f;exports.ChatHistoryButtonIcon=F;exports.ChatHistoryTrigger=$;exports.Content=J;exports.ContentScrollArea=X;exports.ContentScrollAreaCorner=ae;exports.ContentScrollAreaScrollbar=ee;exports.ContentScrollAreaThumb=te;exports.ContentScrollAreaViewport=Y;exports.Disclaimer=de;exports.DisclaimerArrow=me;exports.DisclaimerContent=ie;exports.DisclaimerLabel=oe;exports.DisclaimerText=se;exports.DisclaimerTrigger=re;exports.DynamicComponent=Ie;exports.ExampleQuestion=be;exports.ExampleQuestionButton=he;exports.ExampleQuestions=ne;exports.ExampleQuestionsLabel=ce;exports.ExampleQuestionsList=le;exports.FeedbackField=Ft;exports.FeedbackForm=gt;exports.FeedbackItemDescription=vt;exports.FeedbackItemLabel=Et;exports.FeedbackModal=bt;exports.FeedbackModalBody=ut;exports.FeedbackModalClose=pt;exports.FeedbackModalContent=xt;exports.FeedbackModalHeader=Ct;exports.FeedbackModalOverlay=ht;exports.FeedbackSubmitButton=ft;exports.Footer=Oe;exports.Form=yt;exports.FormCancel=ca;exports.FormClose=Pt;exports.FormContent=jt;exports.FormDescription=Mt;exports.FormError=ma;exports.FormField=Nt;exports.FormFieldCheckbox=Dt;exports.FormFieldCheckboxIndicator=qt;exports.FormFieldCombobox=Gt;exports.FormFieldComboboxContent=Yt;exports.FormFieldComboboxControl=Kt;exports.FormFieldComboboxInput=$t;exports.FormFieldComboboxItem=da;exports.FormFieldComboboxItemIndicator=ra;exports.FormFieldComboboxItemText=oa;exports.FormFieldComboboxList=ea;exports.FormFieldComboboxListEmpty=aa;exports.FormFieldComboboxListItems=ta;exports.FormFieldComboboxPositioner=Zt;exports.FormFieldComboboxSelectedTags=Xt;exports.FormFieldComboboxTrigger=Jt;exports.FormFieldDescription=ia;exports.FormFieldEmail=Tt;exports.FormFieldError=sa;exports.FormFieldFile=Ht;exports.FormFieldLabel=St;exports.FormFieldSelect=Bt;exports.FormFieldSelectContent=Rt;exports.FormFieldSelectIcon=Wt;exports.FormFieldSelectItem=Vt;exports.FormFieldSelectItemIndicator=Ut;exports.FormFieldSelectItemText=Ot;exports.FormFieldSelectTrigger=zt;exports.FormFieldSelectValue=_t;exports.FormFieldSelectViewport=Qt;exports.FormFieldText=At;exports.FormFieldTextArea=Lt;exports.FormFooter=na;exports.FormHeader=wt;exports.FormHeading=It;exports.FormSubmit=la;exports.FormSuccess=ba;exports.FormSuccessButton=Ca;exports.FormSuccessHeading=ha;exports.FormSuccessMessage=xa;exports.FormWrapper=kt;exports.Header=U;exports.HeaderToolbar=G;exports.HeaderToolbarWrapper=K;exports.HelpAction=it;exports.HelpActions=rt;exports.HelpActionsMenu=mt;exports.HelpActionsMenuArrow=nt;exports.HelpActionsMenuItem=ct;exports.HelpActionsMenuItemIcon=lt;exports.HelpActionsTrigger=st;exports.Input=Ke;exports.InputFieldset=Ue;exports.InputGroup=Ge;exports.IntroMessageWrapper=pe;exports.Markdown=Me;exports.MessageAction=Ae;exports.MessageAvatar=Ee;exports.MessageAvatarContent=ve;exports.MessageAvatarFallback=fe;exports.MessageAvatarImage=ke;exports.MessageContent=we;exports.MessageContentWrapper=Pe;exports.MessageCustomAction=Se;exports.MessageCustomActions=Ne;exports.MessageHeader=ue;exports.MessageLoading=ge;exports.MessageName=ye;exports.MessageSourceItem=De;exports.MessageSourceItemBreadcrumbIcon=Be;exports.MessageSourceItemBreadcrumbs=qe;exports.MessageSourceItemDescription=Re;exports.MessageSourceItemDescriptionPart=Qe;exports.MessageSourceItemIcon=ze;exports.MessageSourceItemIndicator=Ve;exports.MessageSourceItemTag=We;exports.MessageSourceItemTitle=_e;exports.MessageSources=Te;exports.MessageSourcesHeader=He;exports.MessageSourcesList=Le;exports.MessageToolbar=je;exports.MessageWrapper=Ce;exports.Messages=xe;exports.MessagesSessionLoading=Fe;exports.Provider=Q;exports.Root=O;exports.SendButton=Ze;exports.SendButtonIcon=$e;exports.TaglineContainer=Ye;exports.TaglineLogo=tt;exports.TaglineText=et;exports.ToolbarHeader=Z;exports.Wrapper=V;
@@ -81,7 +81,6 @@ declare const EmbeddedChatActions: ({ className, ...props }: React.ComponentProp
81
81
  declare const EmbeddedChatTaglineContainer: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineContainer>) => import("react/jsx-runtime").JSX.Element;
82
82
  declare const EmbeddedChatTaglineText: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineText>) => import("react/jsx-runtime").JSX.Element;
83
83
  declare const EmbeddedChatTaglineLogo: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineLogo>) => import("react/jsx-runtime").JSX.Element;
84
- declare const EmbeddedChatTaglineBrandName: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineBrandName>) => import("react/jsx-runtime").JSX.Element;
85
84
  declare const EmbeddedChatAction: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ChatAction>) => import("react/jsx-runtime").JSX.Element;
86
85
  declare const EmbeddedChatActionLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ChatActionLabel>) => import("react/jsx-runtime").JSX.Element;
87
86
  declare const EmbeddedChatActionFeedback: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.ChatActionFeedback>) => import("react/jsx-runtime").JSX.Element;
@@ -99,9 +98,7 @@ declare const EmbeddedChatFeedbackModalHeader: ({ className, ...props }: React.C
99
98
  declare const EmbeddedChatFeedbackModalClose: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackModalClose>) => import("react/jsx-runtime").JSX.Element;
100
99
  declare const EmbeddedChatFeedbackModalBody: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackModalBody>) => import("react/jsx-runtime").JSX.Element;
101
100
  declare const EmbeddedChatFeedbackForm: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackForm>) => import("react/jsx-runtime").JSX.Element;
102
- declare const EmbeddedChatFeedbackItem: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItem>) => import("react/jsx-runtime").JSX.Element;
103
- declare const EmbeddedChatFeedbackItemCheckbox: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItemCheckbox>) => import("react/jsx-runtime").JSX.Element;
104
- declare const EmbeddedChatFeedbackItemCheckboxIndicator: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItemCheckboxIndicator>) => import("react/jsx-runtime").JSX.Element;
101
+ declare const EmbeddedChatFeedbackField: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackField>) => import("react/jsx-runtime").JSX.Element;
105
102
  declare const EmbeddedChatFeedbackItemLabel: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItemLabel>) => import("react/jsx-runtime").JSX.Element;
106
103
  declare const EmbeddedChatFeedbackItemDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackItemDescription>) => import("react/jsx-runtime").JSX.Element;
107
104
  declare const EmbeddedChatFeedbackSubmitButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FeedbackSubmitButton>) => import("react/jsx-runtime").JSX.Element;
@@ -160,6 +157,6 @@ declare const EmbeddedChatFormSuccess: ({ className, ...props }: React.Component
160
157
  declare const EmbeddedChatFormSuccessHeading: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSuccessHeading>) => import("react/jsx-runtime").JSX.Element;
161
158
  declare const EmbeddedChatFormSuccessMessage: (props: ComponentPropsWithRef<ForwardRefExoticComponent< PolymorphicProps & Omit< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & MarkdownProps, "_id"> & Partial<Pick< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & MarkdownProps, "_id">>>>) => import("react/jsx-runtime").JSX.Element;
162
159
  declare const EmbeddedChatFormSuccessButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSuccessButton>) => import("react/jsx-runtime").JSX.Element;
163
- export { EmbeddedChatProvider as Provider, EmbeddedChatWrapper as Wrapper, EmbeddedChatRoot as Root, EmbeddedChatHeader as Header, EmbeddedChatHeaderToolbar as HeaderToolbar, EmbeddedChatHeaderToolbarWrapper as HeaderToolbarWrapper, EmbeddedChatToolbarHeader as ToolbarHeader, EmbeddedChatChatHistoryButtonIcon as ChatHistoryButtonIcon, EmbeddedChatChatHistoryButton as ChatHistoryButton, EmbeddedChatChatHistoryTrigger as ChatHistoryTrigger, EmbeddedChatContent as Content, EmbeddedChatContentScrollArea as ContentScrollArea, EmbeddedChatContentScrollAreaViewport as ContentScrollAreaViewport, EmbeddedChatContentScrollAreaScrollbar as ContentScrollAreaScrollbar, EmbeddedChatContentScrollAreaThumb as ContentScrollAreaThumb, EmbeddedChatContentScrollAreaCorner as ContentScrollAreaCorner, EmbeddedChatMessages as Messages, EmbeddedChatMessageWrapper as MessageWrapper, EmbeddedChatIntroMessageWrapper as IntroMessageWrapper, EmbeddedChatDisclaimer as Disclaimer, EmbeddedChatDisclaimerLabel as DisclaimerLabel, EmbeddedChatDisclaimerTrigger as DisclaimerTrigger, EmbeddedChatDisclaimerContent as DisclaimerContent, EmbeddedChatDisclaimerText as DisclaimerText, EmbeddedChatDisclaimerArrow as DisclaimerArrow, EmbeddedChatExampleQuestions as ExampleQuestions, EmbeddedChatExampleQuestionsLabel as ExampleQuestionsLabel, EmbeddedChatExampleQuestionsList as ExampleQuestionsList, EmbeddedChatExampleQuestion as ExampleQuestion, EmbeddedChatExampleQuestionButton as ExampleQuestionButton, EmbeddedChatMessageHeader as MessageHeader, EmbeddedChatMessageLoading as MessageLoading, EmbeddedChatMessagesSessionLoading as MessagesSessionLoading, EmbeddedChatMessageAvatar as MessageAvatar, EmbeddedChatMessageAvatarContent as MessageAvatarContent, EmbeddedChatMessageAvatarFallback as MessageAvatarFallback, EmbeddedChatMessageAvatarImage as MessageAvatarImage, EmbeddedChatMessageName as MessageName, EmbeddedChatMessageContentWrapper as MessageContentWrapper, EmbeddedChatMessageContent as MessageContent, EmbeddedChatMarkdown as Markdown, EmbeddedChatDynamicComponent as DynamicComponent, EmbeddedChatMessagePart as MessagePart, EmbeddedChatMessageToolbar as MessageToolbar, EmbeddedChatMessageCustomActions as MessageCustomActions, EmbeddedChatMessageCustomAction as MessageCustomAction, EmbeddedChatMessageAction as MessageAction, EmbeddedChatMessageSources as MessageSources, EmbeddedChatMessageSourcesHeader as MessageSourcesHeader, EmbeddedChatMessageSourcesList as MessageSourcesList, EmbeddedChatMessageSourceItem as MessageSourceItem, EmbeddedChatMessageSourceItemBreadcrumbs as MessageSourceItemBreadcrumbs, EmbeddedChatMessageSourceItemBreadcrumbIcon as MessageSourceItemBreadcrumbIcon, EmbeddedChatMessageSourceItemIcon as MessageSourceItemIcon, EmbeddedChatMessageSourceItemTitle as MessageSourceItemTitle, EmbeddedChatMessageSourceItemTag as MessageSourceItemTag, EmbeddedChatMessageSourceItemDescription as MessageSourceItemDescription, EmbeddedChatMessageSourceItemDescriptionPart as MessageSourceItemDescriptionPart, EmbeddedChatMessageSourceItemIndicator as MessageSourceItemIndicator, EmbeddedChatFooter as Footer, EmbeddedChatInputFieldset as InputFieldset, EmbeddedChatInputGroup as InputGroup, EmbeddedChatInput as Input, EmbeddedChatSendButton as SendButton, EmbeddedChatSendButtonIcon as SendButtonIcon, EmbeddedChatActionBar as ActionBar, EmbeddedChatActions as Actions, EmbeddedChatTaglineContainer as TaglineContainer, EmbeddedChatTaglineText as TaglineText, EmbeddedChatTaglineLogo as TaglineLogo, EmbeddedChatTaglineBrandName as TaglineBrandName, EmbeddedChatAction as ChatAction, EmbeddedChatActionLabel as ChatActionLabel, EmbeddedChatActionFeedback as ChatActionFeedback, EmbeddedChatHelpActions as HelpActions, EmbeddedChatHelpAction as HelpAction, EmbeddedChatHelpActionsTrigger as HelpActionsTrigger, EmbeddedChatHelpActionsMenu as HelpActionsMenu, EmbeddedChatHelpActionsMenuArrow as HelpActionsMenuArrow, EmbeddedChatHelpActionsMenuItem as HelpActionsMenuItem, EmbeddedChatHelpActionsMenuItemIcon as HelpActionsMenuItemIcon, EmbeddedChatFeedbackModal as FeedbackModal, EmbeddedChatFeedbackModalOverlay as FeedbackModalOverlay, EmbeddedChatFeedbackModalContent as FeedbackModalContent, EmbeddedChatFeedbackModalHeader as FeedbackModalHeader, EmbeddedChatFeedbackModalClose as FeedbackModalClose, EmbeddedChatFeedbackModalBody as FeedbackModalBody, EmbeddedChatFeedbackForm as FeedbackForm, EmbeddedChatFeedbackItem as FeedbackItem, EmbeddedChatFeedbackItemCheckbox as FeedbackItemCheckbox, EmbeddedChatFeedbackItemCheckboxIndicator as FeedbackItemCheckboxIndicator, EmbeddedChatFeedbackItemLabel as FeedbackItemLabel, EmbeddedChatFeedbackItemDescription as FeedbackItemDescription, EmbeddedChatFeedbackSubmitButton as FeedbackSubmitButton, EmbeddedChatFormWrapper as FormWrapper, EmbeddedChatForm as Form, EmbeddedChatFormClose as FormClose, EmbeddedChatFormHeader as FormHeader, EmbeddedChatFormHeading as FormHeading, EmbeddedChatFormDescription as FormDescription, EmbeddedChatFormContent as FormContent, EmbeddedChatFormField as FormField, EmbeddedChatFormFieldLabel as FormFieldLabel, EmbeddedChatFormFieldText as FormFieldText, EmbeddedChatFormFieldEmail as FormFieldEmail, EmbeddedChatFormFieldFile as FormFieldFile, EmbeddedChatFormFieldTextArea as FormFieldTextArea, EmbeddedChatFormFieldCheckbox as FormFieldCheckbox, EmbeddedChatFormFieldCheckboxIndicator as FormFieldCheckboxIndicator, EmbeddedChatFormFieldSelect as FormFieldSelect, EmbeddedChatFormFieldSelectTrigger as FormFieldSelectTrigger, EmbeddedChatFormFieldSelectValue as FormFieldSelectValue, EmbeddedChatFormFieldSelectIcon as FormFieldSelectIcon, EmbeddedChatFormFieldSelectContent as FormFieldSelectContent, EmbeddedChatFormFieldSelectViewport as FormFieldSelectViewport, EmbeddedChatFormFieldSelectItem as FormFieldSelectItem, EmbeddedChatFormFieldSelectItemText as FormFieldSelectItemText, EmbeddedChatFormFieldSelectItemIndicator as FormFieldSelectItemIndicator, EmbeddedChatFormFieldCombobox as FormFieldCombobox, EmbeddedChatFormFieldComboboxControl as FormFieldComboboxControl, EmbeddedChatFormFieldComboboxInput as FormFieldComboboxInput, EmbeddedChatFormFieldComboboxTrigger as FormFieldComboboxTrigger, EmbeddedChatFormFieldComboboxSelectedTags as FormFieldComboboxSelectedTags, EmbeddedChatFormFieldComboboxPositioner as FormFieldComboboxPositioner, EmbeddedChatFormFieldComboboxContent as FormFieldComboboxContent, EmbeddedChatFormFieldComboboxList as FormFieldComboboxList, EmbeddedChatFormFieldComboboxListItems as FormFieldComboboxListItems, EmbeddedChatFormFieldComboboxListEmpty as FormFieldComboboxListEmpty, EmbeddedChatFormFieldComboboxItem as FormFieldComboboxItem, EmbeddedChatFormFieldComboboxItemText as FormFieldComboboxItemText, EmbeddedChatFormFieldComboboxItemIndicator as FormFieldComboboxItemIndicator, EmbeddedChatFormFieldDescription as FormFieldDescription, EmbeddedChatFormFieldError as FormFieldError, EmbeddedChatFormError as FormError, EmbeddedChatFormFooter as FormFooter, EmbeddedChatFormCancel as FormCancel, EmbeddedChatFormSubmit as FormSubmit, EmbeddedChatFormSuccess as FormSuccess, EmbeddedChatFormSuccessHeading as FormSuccessHeading, EmbeddedChatFormSuccessMessage as FormSuccessMessage, EmbeddedChatFormSuccessButton as FormSuccessButton, };
160
+ export { EmbeddedChatProvider as Provider, EmbeddedChatWrapper as Wrapper, EmbeddedChatRoot as Root, EmbeddedChatHeader as Header, EmbeddedChatHeaderToolbar as HeaderToolbar, EmbeddedChatHeaderToolbarWrapper as HeaderToolbarWrapper, EmbeddedChatToolbarHeader as ToolbarHeader, EmbeddedChatChatHistoryButtonIcon as ChatHistoryButtonIcon, EmbeddedChatChatHistoryButton as ChatHistoryButton, EmbeddedChatChatHistoryTrigger as ChatHistoryTrigger, EmbeddedChatContent as Content, EmbeddedChatContentScrollArea as ContentScrollArea, EmbeddedChatContentScrollAreaViewport as ContentScrollAreaViewport, EmbeddedChatContentScrollAreaScrollbar as ContentScrollAreaScrollbar, EmbeddedChatContentScrollAreaThumb as ContentScrollAreaThumb, EmbeddedChatContentScrollAreaCorner as ContentScrollAreaCorner, EmbeddedChatMessages as Messages, EmbeddedChatMessageWrapper as MessageWrapper, EmbeddedChatIntroMessageWrapper as IntroMessageWrapper, EmbeddedChatDisclaimer as Disclaimer, EmbeddedChatDisclaimerLabel as DisclaimerLabel, EmbeddedChatDisclaimerTrigger as DisclaimerTrigger, EmbeddedChatDisclaimerContent as DisclaimerContent, EmbeddedChatDisclaimerText as DisclaimerText, EmbeddedChatDisclaimerArrow as DisclaimerArrow, EmbeddedChatExampleQuestions as ExampleQuestions, EmbeddedChatExampleQuestionsLabel as ExampleQuestionsLabel, EmbeddedChatExampleQuestionsList as ExampleQuestionsList, EmbeddedChatExampleQuestion as ExampleQuestion, EmbeddedChatExampleQuestionButton as ExampleQuestionButton, EmbeddedChatMessageHeader as MessageHeader, EmbeddedChatMessageLoading as MessageLoading, EmbeddedChatMessagesSessionLoading as MessagesSessionLoading, EmbeddedChatMessageAvatar as MessageAvatar, EmbeddedChatMessageAvatarContent as MessageAvatarContent, EmbeddedChatMessageAvatarFallback as MessageAvatarFallback, EmbeddedChatMessageAvatarImage as MessageAvatarImage, EmbeddedChatMessageName as MessageName, EmbeddedChatMessageContentWrapper as MessageContentWrapper, EmbeddedChatMessageContent as MessageContent, EmbeddedChatMarkdown as Markdown, EmbeddedChatDynamicComponent as DynamicComponent, EmbeddedChatMessagePart as MessagePart, EmbeddedChatMessageToolbar as MessageToolbar, EmbeddedChatMessageCustomActions as MessageCustomActions, EmbeddedChatMessageCustomAction as MessageCustomAction, EmbeddedChatMessageAction as MessageAction, EmbeddedChatMessageSources as MessageSources, EmbeddedChatMessageSourcesHeader as MessageSourcesHeader, EmbeddedChatMessageSourcesList as MessageSourcesList, EmbeddedChatMessageSourceItem as MessageSourceItem, EmbeddedChatMessageSourceItemBreadcrumbs as MessageSourceItemBreadcrumbs, EmbeddedChatMessageSourceItemBreadcrumbIcon as MessageSourceItemBreadcrumbIcon, EmbeddedChatMessageSourceItemIcon as MessageSourceItemIcon, EmbeddedChatMessageSourceItemTitle as MessageSourceItemTitle, EmbeddedChatMessageSourceItemTag as MessageSourceItemTag, EmbeddedChatMessageSourceItemDescription as MessageSourceItemDescription, EmbeddedChatMessageSourceItemDescriptionPart as MessageSourceItemDescriptionPart, EmbeddedChatMessageSourceItemIndicator as MessageSourceItemIndicator, EmbeddedChatFooter as Footer, EmbeddedChatInputFieldset as InputFieldset, EmbeddedChatInputGroup as InputGroup, EmbeddedChatInput as Input, EmbeddedChatSendButton as SendButton, EmbeddedChatSendButtonIcon as SendButtonIcon, EmbeddedChatActionBar as ActionBar, EmbeddedChatActions as Actions, EmbeddedChatTaglineContainer as TaglineContainer, EmbeddedChatTaglineText as TaglineText, EmbeddedChatTaglineLogo as TaglineLogo, EmbeddedChatAction as ChatAction, EmbeddedChatActionLabel as ChatActionLabel, EmbeddedChatActionFeedback as ChatActionFeedback, EmbeddedChatHelpActions as HelpActions, EmbeddedChatHelpAction as HelpAction, EmbeddedChatHelpActionsTrigger as HelpActionsTrigger, EmbeddedChatHelpActionsMenu as HelpActionsMenu, EmbeddedChatHelpActionsMenuArrow as HelpActionsMenuArrow, EmbeddedChatHelpActionsMenuItem as HelpActionsMenuItem, EmbeddedChatHelpActionsMenuItemIcon as HelpActionsMenuItemIcon, EmbeddedChatFeedbackModal as FeedbackModal, EmbeddedChatFeedbackModalOverlay as FeedbackModalOverlay, EmbeddedChatFeedbackModalContent as FeedbackModalContent, EmbeddedChatFeedbackModalHeader as FeedbackModalHeader, EmbeddedChatFeedbackModalClose as FeedbackModalClose, EmbeddedChatFeedbackModalBody as FeedbackModalBody, EmbeddedChatFeedbackForm as FeedbackForm, EmbeddedChatFeedbackField as FeedbackField, EmbeddedChatFeedbackItemLabel as FeedbackItemLabel, EmbeddedChatFeedbackItemDescription as FeedbackItemDescription, EmbeddedChatFeedbackSubmitButton as FeedbackSubmitButton, EmbeddedChatFormWrapper as FormWrapper, EmbeddedChatForm as Form, EmbeddedChatFormClose as FormClose, EmbeddedChatFormHeader as FormHeader, EmbeddedChatFormHeading as FormHeading, EmbeddedChatFormDescription as FormDescription, EmbeddedChatFormContent as FormContent, EmbeddedChatFormField as FormField, EmbeddedChatFormFieldLabel as FormFieldLabel, EmbeddedChatFormFieldText as FormFieldText, EmbeddedChatFormFieldEmail as FormFieldEmail, EmbeddedChatFormFieldFile as FormFieldFile, EmbeddedChatFormFieldTextArea as FormFieldTextArea, EmbeddedChatFormFieldCheckbox as FormFieldCheckbox, EmbeddedChatFormFieldCheckboxIndicator as FormFieldCheckboxIndicator, EmbeddedChatFormFieldSelect as FormFieldSelect, EmbeddedChatFormFieldSelectTrigger as FormFieldSelectTrigger, EmbeddedChatFormFieldSelectValue as FormFieldSelectValue, EmbeddedChatFormFieldSelectIcon as FormFieldSelectIcon, EmbeddedChatFormFieldSelectContent as FormFieldSelectContent, EmbeddedChatFormFieldSelectViewport as FormFieldSelectViewport, EmbeddedChatFormFieldSelectItem as FormFieldSelectItem, EmbeddedChatFormFieldSelectItemText as FormFieldSelectItemText, EmbeddedChatFormFieldSelectItemIndicator as FormFieldSelectItemIndicator, EmbeddedChatFormFieldCombobox as FormFieldCombobox, EmbeddedChatFormFieldComboboxControl as FormFieldComboboxControl, EmbeddedChatFormFieldComboboxInput as FormFieldComboboxInput, EmbeddedChatFormFieldComboboxTrigger as FormFieldComboboxTrigger, EmbeddedChatFormFieldComboboxSelectedTags as FormFieldComboboxSelectedTags, EmbeddedChatFormFieldComboboxPositioner as FormFieldComboboxPositioner, EmbeddedChatFormFieldComboboxContent as FormFieldComboboxContent, EmbeddedChatFormFieldComboboxList as FormFieldComboboxList, EmbeddedChatFormFieldComboboxListItems as FormFieldComboboxListItems, EmbeddedChatFormFieldComboboxListEmpty as FormFieldComboboxListEmpty, EmbeddedChatFormFieldComboboxItem as FormFieldComboboxItem, EmbeddedChatFormFieldComboboxItemText as FormFieldComboboxItemText, EmbeddedChatFormFieldComboboxItemIndicator as FormFieldComboboxItemIndicator, EmbeddedChatFormFieldDescription as FormFieldDescription, EmbeddedChatFormFieldError as FormFieldError, EmbeddedChatFormError as FormError, EmbeddedChatFormFooter as FormFooter, EmbeddedChatFormCancel as FormCancel, EmbeddedChatFormSubmit as FormSubmit, EmbeddedChatFormSuccess as FormSuccess, EmbeddedChatFormSuccessHeading as FormSuccessHeading, EmbeddedChatFormSuccessMessage as FormSuccessMessage, EmbeddedChatFormSuccessButton as FormSuccessButton, };
164
161
  export { EmbeddedChatDropZone as DropZone, EmbeddedChatFileUploadButton as FileUploadButton, EmbeddedChatFileInput as FileInput, EmbeddedChatInputNotification as InputNotification, EmbeddedChatInputNotificationContent as InputNotificationContent, EmbeddedChatInputNotificationHeader as InputNotificationHeader, EmbeddedChatInputNotificationTitle as InputNotificationTitle, EmbeddedChatInputNotificationMessage as InputNotificationMessage, EmbeddedChatInputNotificationClose as InputNotificationClose, EmbeddedChatFileList as FileList, EmbeddedChatFileItem as FileItem, EmbeddedChatFilePreviewTrigger as FilePreviewTrigger, EmbeddedChatFileContent as FileContent, EmbeddedChatFileThumbnail as FileThumbnail, EmbeddedChatFileTypeIcon as FileTypeIcon, EmbeddedChatFileName as FileName, EmbeddedChatFileRemove as FileRemove, EmbeddedChatMessageFiles as MessageFiles, EmbeddedChatMessageFile as MessageFile, } from './embedded-chat/file-upload-input';
165
162
  export { EmbeddedChatImagePreviewModal as ImagePreviewModal, EmbeddedChatImagePreviewModalOverlay as ImagePreviewModalOverlay, EmbeddedChatImagePreviewModalContent as ImagePreviewModalContent, EmbeddedChatImagePreviewModalImage as ImagePreviewModalImage, EmbeddedChatImagePreviewModalFooter as ImagePreviewModalFooter, EmbeddedChatImagePreviewModalFileName as ImagePreviewModalFileName, EmbeddedChatImagePreviewModalClose as ImagePreviewModalClose, } from './embedded-chat/image-preview-modal';