@inkeep/agents-ui 0.15.28 → 0.15.29

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.
@@ -1,54 +1,54 @@
1
1
  "use client";
2
2
  import { jsx as e, jsxs as d } from "react/jsx-runtime";
3
- import { Provider as g, Wrapper as E, Root as T, Content as p, InputGroup as A, InputIcon as w, Loading as v, Input as P, AskAITrigger as k, AskAITriggerIcon as f, AskAITriggerLabel as L, AskAITriggerQuery as C, AskAITriggerIndicatorText as O, AskAITriggerIndicator as B, Results as y, ResultsLoading as x, ResultsTabList as V, ResultsTab as W, ResultsEmpty as $, ResultsContent as F, Footer as H, TaglineContainer as D, TaglineText as M, TaglineLogo as G, TaglineBrandName as j, ResultsScrollArea as m, ResultsScrollAreaViewport as u, ResultsList as q, ResultsItem as N, ResultsItemBreadcrumbs as Q, ResultsItemBreadcrumbIcon as z, ResultsItemIcon as J, ResultsItemTitle as K, ResultsItemTag as U, ResultsItemDescription as X, ResultsItemDescriptionPart as Y, ResultsItemIndicator as Z, ResultsScrollAreaScrollbar as h, ResultsScrollAreaThumb as I, ResultsScrollAreaCorner as b, ResultsItemPreview as _, ResultsItemPreviewHeader as ee, ResultsItemPreviewHeading as re, ResultsItemPreviewTitle as te, ResultsItemPreviewTitleLinkIcon as se, ResultsItemPreviewBreadcrumbs as de, ResultsItemPreviewBreadcrumbIcon as ae, ResultsItemPreviewBody as ne, ResultsItemPreviewOutline as le, ResultsItemPreviewOutlineTitle as ie, ResultsItemPreviewOutlineList as ce, ResultsItemPreviewOutlineItem as oe, ResultsItemPreviewOutlineItemIcon as me, ResultsItemPreviewOutlineItemText as ue, ResultsItemPreviewOutlineItemLinkIcon as he } from "../styled/components/embedded-search.js";
4
- import { Close as Ie } from "../styled/components/modal.js";
5
- import { Shadow as be } from "../styled/components/shadow.js";
6
- import { WebWidgetInteractionType as Se, useInkeepConfig as Re } from "../primitives/providers/config-provider.js";
7
- import { RootProvider as ge } from "../primitives/providers/root-provider.js";
8
- import { useWidget as Ee } from "../primitives/providers/widget-provider.js";
9
- import { useSearch as Te } from "../primitives/components/embedded-search/search-provider.js";
10
- import { useModal as pe } from "../primitives/components/modal/modal-provider.js";
3
+ import { Provider as g, Wrapper as E, Root as T, Content as p, InputGroup as A, InputIcon as w, Loading as v, Input as P, AskAITrigger as k, AskAITriggerIcon as f, AskAITriggerLabel as L, AskAITriggerQuery as C, AskAITriggerIndicatorText as O, AskAITriggerIndicator as y, Results as B, ResultsLoading as x, ResultsTabList as V, ResultsTab as W, ResultsEmpty as $, ResultsContent as F, Footer as H, TaglineContainer as D, TaglineText as M, TaglineLogo as G, ResultsScrollArea as m, ResultsScrollAreaViewport as u, ResultsList as j, ResultsItem as q, ResultsItemBreadcrumbs as Q, ResultsItemBreadcrumbIcon as z, ResultsItemIcon as J, ResultsItemTitle as K, ResultsItemTag as N, ResultsItemDescription as U, ResultsItemDescriptionPart as X, ResultsItemIndicator as Y, ResultsScrollAreaScrollbar as h, ResultsScrollAreaThumb as I, ResultsScrollAreaCorner as b, ResultsItemPreview as Z, ResultsItemPreviewHeader as _, ResultsItemPreviewHeading as ee, ResultsItemPreviewTitle as re, ResultsItemPreviewTitleLinkIcon as te, ResultsItemPreviewBreadcrumbs as se, ResultsItemPreviewBreadcrumbIcon as de, ResultsItemPreviewBody as ae, ResultsItemPreviewOutline as ne, ResultsItemPreviewOutlineTitle as le, ResultsItemPreviewOutlineList as ie, ResultsItemPreviewOutlineItem as ce, ResultsItemPreviewOutlineItemIcon as oe, ResultsItemPreviewOutlineItemText as me, ResultsItemPreviewOutlineItemLinkIcon as ue } from "../styled/components/embedded-search.js";
4
+ import { Close as he } from "../styled/components/modal.js";
5
+ import { Shadow as Ie } from "../styled/components/shadow.js";
6
+ import { WebWidgetInteractionType as be, useInkeepConfig as Se } from "../primitives/providers/config-provider.js";
7
+ import { RootProvider as Re } from "../primitives/providers/root-provider.js";
8
+ import { useWidget as ge } from "../primitives/providers/widget-provider.js";
9
+ import { useSearch as Ee } from "../primitives/components/embedded-search/search-provider.js";
10
+ import { useModal as Te } from "../primitives/components/modal/modal-provider.js";
11
11
  import { dataAttr as c } from "../primitives/utils/misc.js";
12
12
  import { useCommandState as S } from "../primitives/atoms/cmdk/index.js";
13
- import { ErrorBoundary as Ae } from "../primitives/atoms/error-boundary.js";
13
+ import { ErrorBoundary as pe } from "../primitives/atoms/error-boundary.js";
14
14
  import { Fragment as o } from "react";
15
- import { WidgetToggle as we, useToggleView as ve } from "./widget-toggle.js";
16
- import { ModalContent as Pe } from "./modal.js";
17
- function Xe(r) {
15
+ import { WidgetToggle as Ae, useToggleView as we } from "./widget-toggle.js";
16
+ import { ModalContent as ve } from "./modal.js";
17
+ function Ue(r) {
18
18
  const { baseSettings: t, searchSettings: s } = r;
19
- return /* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(be, { children: /* @__PURE__ */ e(
20
- ge,
19
+ return /* @__PURE__ */ e(pe, { children: /* @__PURE__ */ e(Ie, { children: /* @__PURE__ */ e(
20
+ Re,
21
21
  {
22
22
  config: {
23
23
  baseSettings: t,
24
24
  searchSettings: s
25
25
  },
26
- componentType: Se.EmbeddedSearch,
27
- children: /* @__PURE__ */ e(fe, { ...r })
26
+ componentType: be.EmbeddedSearch,
27
+ children: /* @__PURE__ */ e(ke, { ...r })
28
28
  }
29
29
  ) }) });
30
30
  }
31
- function ke(r) {
31
+ function Pe(r) {
32
32
  const { children: t, onToggleView: s, isHidden: a, shouldAutoFocusInput: n = !s } = r;
33
33
  return /* @__PURE__ */ e(g, { isHidden: a, shouldAutoFocusInput: n, children: t });
34
34
  }
35
- function fe(r) {
36
- return /* @__PURE__ */ e(ke, { ...r, children: /* @__PURE__ */ e(Le, { ...r }) });
35
+ function ke(r) {
36
+ return /* @__PURE__ */ e(Pe, { ...r, children: /* @__PURE__ */ e(fe, { ...r }) });
37
37
  }
38
- function Le(r) {
38
+ function fe(r) {
39
39
  const {
40
40
  searchSettings: { view: t }
41
- } = Re(), { onToggleView: s, shouldShowAskAICard: a = !!s && t !== "dual-pane" } = r, n = pe(), l = Ee();
42
- return /* @__PURE__ */ e(n && !l ? Pe : o, { children: /* @__PURE__ */ e(
41
+ } = Se(), { onToggleView: s, shouldShowAskAICard: a = !!s && t !== "dual-pane" } = r, n = Te(), l = ge();
42
+ return /* @__PURE__ */ e(n && !l ? ve : o, { children: /* @__PURE__ */ e(
43
43
  E,
44
44
  {
45
45
  "data-show-ask-ai-card": c(a),
46
46
  "data-composite": c(!!s || n?.isOpen),
47
47
  children: /* @__PURE__ */ d(T, { children: [
48
- /* @__PURE__ */ e(Ce, { ...r }),
48
+ /* @__PURE__ */ e(Le, { ...r }),
49
49
  /* @__PURE__ */ d(p, { children: [
50
50
  /* @__PURE__ */ e(
51
- Oe,
51
+ Ce,
52
52
  {
53
53
  askAICardLabel: r.askAICardLabel,
54
54
  askAILabel: r.askAILabel,
@@ -56,21 +56,21 @@ function Le(r) {
56
56
  shouldShowAskAICard: a
57
57
  }
58
58
  ),
59
- /* @__PURE__ */ e(Be, {})
59
+ /* @__PURE__ */ e(Oe, {})
60
60
  ] }),
61
- /* @__PURE__ */ e(Ve, {})
61
+ /* @__PURE__ */ e(xe, {})
62
62
  ] })
63
63
  }
64
64
  ) });
65
65
  }
66
- function Ce(r) {
67
- const { onToggleView: t, askAILabel: s, searchLabel: a } = r, n = S((i) => i.search), { loading: l } = Te();
66
+ function Le(r) {
67
+ const { onToggleView: t, askAILabel: s, searchLabel: a } = r, n = S((i) => i.search), { loading: l } = Ee();
68
68
  return /* @__PURE__ */ d(A, { children: [
69
69
  !l && /* @__PURE__ */ e(w, {}),
70
70
  /* @__PURE__ */ e(v, {}),
71
71
  /* @__PURE__ */ e(P, {}),
72
72
  t && /* @__PURE__ */ e(
73
- we,
73
+ Ae,
74
74
  {
75
75
  onToggleView: t,
76
76
  query: n,
@@ -79,11 +79,11 @@ function Ce(r) {
79
79
  view: "search"
80
80
  }
81
81
  ),
82
- /* @__PURE__ */ e(Ie, {})
82
+ /* @__PURE__ */ e(he, {})
83
83
  ] });
84
84
  }
85
- function Oe(r) {
86
- const { askAILabel: t, onToggleView: s, shouldShowAskAICard: a, askAICardLabel: n } = r, l = S((R) => R.search), { handleToggle: i } = ve({
85
+ function Ce(r) {
86
+ const { askAILabel: t, onToggleView: s, shouldShowAskAICard: a, askAICardLabel: n } = r, l = S((R) => R.search), { handleToggle: i } = we({
87
87
  onToggleView: s,
88
88
  query: l
89
89
  });
@@ -94,68 +94,68 @@ function Oe(r) {
94
94
  l && /* @__PURE__ */ e(C, { children: `${l}` })
95
95
  ] }),
96
96
  /* @__PURE__ */ e(O, { children: "Start conversation" }),
97
- /* @__PURE__ */ e(B, {})
97
+ /* @__PURE__ */ e(y, {})
98
98
  ] }) : null;
99
99
  }
100
- function Be() {
101
- return /* @__PURE__ */ d(y, { children: [
100
+ function Oe() {
101
+ return /* @__PURE__ */ d(B, { children: [
102
102
  /* @__PURE__ */ e(x, {}),
103
103
  /* @__PURE__ */ e(V, { children: (r) => r.map((t) => /* @__PURE__ */ e(W, { tab: t }, t)) }),
104
104
  /* @__PURE__ */ e($, {}),
105
105
  /* @__PURE__ */ d(F, { children: [
106
106
  /* @__PURE__ */ e(ye, {}),
107
- /* @__PURE__ */ e(xe, {})
107
+ /* @__PURE__ */ e(Be, {})
108
108
  ] })
109
109
  ] });
110
110
  }
111
111
  function ye() {
112
112
  return /* @__PURE__ */ d(m, { children: [
113
- /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(q, { children: (r) => r.map((t) => /* @__PURE__ */ d(N, { item: t, children: [
113
+ /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(j, { children: (r) => r.map((t) => /* @__PURE__ */ d(q, { item: t, children: [
114
114
  /* @__PURE__ */ e(Q, { children: (s) => s.map((a, n) => /* @__PURE__ */ d(o, { children: [
115
115
  a,
116
116
  /* @__PURE__ */ e(z, {})
117
117
  ] }, `${a}-${n}`)) }),
118
118
  /* @__PURE__ */ e(J, {}),
119
119
  /* @__PURE__ */ e(K, {}),
120
- /* @__PURE__ */ e(U, {}),
121
- /* @__PURE__ */ e(X, { children: (s) => s.map((a, n) => /* @__PURE__ */ e(
122
- Y,
120
+ /* @__PURE__ */ e(N, {}),
121
+ /* @__PURE__ */ e(U, { children: (s) => s.map((a, n) => /* @__PURE__ */ e(
122
+ X,
123
123
  {
124
124
  part: a
125
125
  },
126
126
  `part-${n}`
127
127
  )) }),
128
- /* @__PURE__ */ e(Z, {})
128
+ /* @__PURE__ */ e(Y, {})
129
129
  ] }, t.id)) }) }),
130
130
  /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(I, {}) }),
131
131
  /* @__PURE__ */ e(b, {})
132
132
  ] });
133
133
  }
134
- function xe() {
134
+ function Be() {
135
135
  return /* @__PURE__ */ d(m, { children: [
136
- /* @__PURE__ */ e(u, { children: /* @__PURE__ */ d(_, { children: [
137
- /* @__PURE__ */ d(ee, { children: [
138
- /* @__PURE__ */ d(re, { children: [
139
- /* @__PURE__ */ e(te, {}),
140
- /* @__PURE__ */ e(se, {})
136
+ /* @__PURE__ */ e(u, { children: /* @__PURE__ */ d(Z, { children: [
137
+ /* @__PURE__ */ d(_, { children: [
138
+ /* @__PURE__ */ d(ee, { children: [
139
+ /* @__PURE__ */ e(re, {}),
140
+ /* @__PURE__ */ e(te, {})
141
141
  ] }),
142
- /* @__PURE__ */ e(de, { children: (r) => r.map((t, s) => /* @__PURE__ */ d(o, { children: [
142
+ /* @__PURE__ */ e(se, { children: (r) => r.map((t, s) => /* @__PURE__ */ d(o, { children: [
143
143
  t,
144
- /* @__PURE__ */ e(ae, {})
144
+ /* @__PURE__ */ e(de, {})
145
145
  ] }, `${t}-${s}`)) })
146
146
  ] }),
147
- /* @__PURE__ */ e(ne, {}),
148
- /* @__PURE__ */ d(le, { children: [
149
- /* @__PURE__ */ e(ie, {}),
150
- /* @__PURE__ */ e(ce, { children: (r) => r.map((t, s) => /* @__PURE__ */ d(
151
- oe,
147
+ /* @__PURE__ */ e(ae, {}),
148
+ /* @__PURE__ */ d(ne, { children: [
149
+ /* @__PURE__ */ e(le, {}),
150
+ /* @__PURE__ */ e(ie, { children: (r) => r.map((t, s) => /* @__PURE__ */ d(
151
+ ce,
152
152
  {
153
153
  href: t.url ?? void 0,
154
154
  "data-is-match": c(t.isMatch),
155
155
  children: [
156
- /* @__PURE__ */ e(me, {}),
157
- /* @__PURE__ */ e(ue, { children: t.content }),
158
- t.url && /* @__PURE__ */ e(he, {})
156
+ /* @__PURE__ */ e(oe, {}),
157
+ /* @__PURE__ */ e(me, { children: t.content }),
158
+ t.url && /* @__PURE__ */ e(ue, {})
159
159
  ]
160
160
  },
161
161
  `${t.anchor}-${s}`
@@ -166,16 +166,15 @@ function xe() {
166
166
  /* @__PURE__ */ e(b, {})
167
167
  ] });
168
168
  }
169
- function Ve() {
169
+ function xe() {
170
170
  return /* @__PURE__ */ e(H, { children: /* @__PURE__ */ d(D, { children: [
171
171
  /* @__PURE__ */ e(M, {}),
172
- /* @__PURE__ */ e(G, {}),
173
- /* @__PURE__ */ e(j, {})
172
+ /* @__PURE__ */ e(G, {})
174
173
  ] }) });
175
174
  }
176
175
  export {
177
- Xe as InkeepEmbeddedSearch,
178
- fe as InkeepEmbeddedSearchImpl,
179
- Le as InkeepEmbeddedSearchImplContent,
180
- ke as InkeepEmbeddedSearchProvider
176
+ Ue as InkeepEmbeddedSearch,
177
+ ke as InkeepEmbeddedSearchImpl,
178
+ fe as InkeepEmbeddedSearchImplContent,
179
+ Pe as InkeepEmbeddedSearchProvider
181
180
  };
@@ -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"),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"),b=require("./ui/recipes/modal.cjs"),u=require("./ui/recipes/popover.cjs"),g=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,...F},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),...F})),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}),E=({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(E,{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(E,{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},F)=>{const x=l.useRef(null),y=A.composeRefs(F,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"})}),v=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(v,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(v,e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsTrigger,{className:o.cn(v,e),...t}),mt=({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}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuArrow,{className:o.cn(u.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-8","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.EmbeddedChatPrimitiveFeedbackItem,{className:o.cn("flex flex-wrap items-center","gap-[.75rem_0.5rem]",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckbox,{className:o.cn(C.checkbox({slot:"root"}),e),...t}),vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,{className:o.cn(C.checkbox({slot:"indicator"}),e),...t}),ft=({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}),kt=({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}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackSubmitButton,{className:o.cn(i.button({variant:"primaryFilled"}),"ml-auto",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormWrapper,{className:o.cn("w-full overflow-y-auto [scrollbar-width:thin]",e),...t}),wt=({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}),It=({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}),Mt=({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}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormDescription,{className:o.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormContent,{className:o.cn("w-full space-y-8",e),...t}),At=({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}),Tt=({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}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldText,{className:o.cn(p.input({size:"md",variant:"outline"}),e),...t}),Lt=({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}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckbox,{className:o.cn(C.checkbox({slot:"root"}),e),...t}),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckboxIndicator,{className:o.cn(C.checkbox({slot:"indicator"}),e),...t}),_t=a.EmbeddedChatPrimitiveFormFieldSelect,Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectTrigger,{className:o.cn(h.select({slot:"trigger"}),e),...t}),Rt=a.EmbeddedChatPrimitiveFormFieldSelectValue,Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectIcon,{className:o.cn("h-4 w-4 opacity-45",e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectContent,{className:o.cn(h.select({slot:"content"}),e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectViewport,{className:o.cn(h.select({slot:"viewport"}),e),...t}),Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItem,{className:o.cn(h.select({slot:"item"}),e),...t}),Gt=a.EmbeddedChatPrimitiveFormFieldSelectItemText,Kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItemIndicator,{className:o.cn(h.select({slot:"itemIndicator"}),e),...t}),Zt=a.EmbeddedChatPrimitiveFormFieldCombobox,$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxControl,{className:o.cn(n.combobox({slot:"control"}),e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxPositioner,{className:e,...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxInput,{className:o.cn(n.combobox({slot:"input"}),e),...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxTrigger,{className:o.cn(n.combobox({slot:"trigger"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,{className:o.cn(n.combobox({slot:"selectedTags"}),e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxContent,{className:o.cn(n.combobox({slot:"content"}),e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxList,{className:o.cn(n.combobox({slot:"list"}),e),...t}),da=a.EmbeddedChatPrimitiveFormFieldComboboxListItems,oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxListEmpty,{className:o.cn(n.combobox({slot:"emptyMessage"}),e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItem,{className:o.cn(n.combobox({slot:"item"}),e),...t}),ia=a.EmbeddedChatPrimitiveFormFieldComboboxItemText,sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,{className:o.cn(n.combobox({slot:"itemIndicator"}),e),...t}),ma=({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}),na=({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}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormError,{className:o.cn("text-red-500 dark:text-red-300",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFooter,{className:o.cn("flex items-center justify-end gap-4 w-full",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormCancel,{className:o.cn(i.button({variant:"outline"}),e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSubmit,{className:o.cn(i.button({variant:"primaryFilled"}),e),...t}),xa=({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}),Ca=({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}),pa=a.EmbeddedChatPrimitiveFormSuccessMessage,ua=({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=E;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=gt;exports.FeedbackItem=Ft;exports.FeedbackItemCheckbox=Et;exports.FeedbackItemCheckboxIndicator=vt;exports.FeedbackItemDescription=kt;exports.FeedbackItemLabel=ft;exports.FeedbackModal=bt;exports.FeedbackModalBody=ut;exports.FeedbackModalClose=pt;exports.FeedbackModalContent=xt;exports.FeedbackModalHeader=Ct;exports.FeedbackModalOverlay=ht;exports.FeedbackSubmitButton=yt;exports.Footer=Oe;exports.Form=wt;exports.FormCancel=ba;exports.FormClose=It;exports.FormContent=St;exports.FormDescription=Nt;exports.FormError=ca;exports.FormField=At;exports.FormFieldCheckbox=Bt;exports.FormFieldCheckboxIndicator=zt;exports.FormFieldCombobox=Zt;exports.FormFieldComboboxContent=ta;exports.FormFieldComboboxControl=$t;exports.FormFieldComboboxInput=Xt;exports.FormFieldComboboxItem=ra;exports.FormFieldComboboxItemIndicator=sa;exports.FormFieldComboboxItemText=ia;exports.FormFieldComboboxList=aa;exports.FormFieldComboboxListEmpty=oa;exports.FormFieldComboboxListItems=da;exports.FormFieldComboboxPositioner=Jt;exports.FormFieldComboboxSelectedTags=ea;exports.FormFieldComboboxTrigger=Yt;exports.FormFieldDescription=ma;exports.FormFieldEmail=Lt;exports.FormFieldError=na;exports.FormFieldFile=Dt;exports.FormFieldLabel=Tt;exports.FormFieldSelect=_t;exports.FormFieldSelectContent=Vt;exports.FormFieldSelectIcon=Qt;exports.FormFieldSelectItem=Ut;exports.FormFieldSelectItemIndicator=Kt;exports.FormFieldSelectItemText=Gt;exports.FormFieldSelectTrigger=Wt;exports.FormFieldSelectValue=Rt;exports.FormFieldSelectViewport=Ot;exports.FormFieldText=Ht;exports.FormFieldTextArea=qt;exports.FormFooter=la;exports.FormHeader=Mt;exports.FormHeading=jt;exports.FormSubmit=ha;exports.FormSuccess=xa;exports.FormSuccessButton=ua;exports.FormSuccessHeading=Ca;exports.FormSuccessMessage=pa;exports.FormWrapper=Pt;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;
@@ -160,6 +159,6 @@ declare const EmbeddedChatFormSuccess: ({ className, ...props }: React.Component
160
159
  declare const EmbeddedChatFormSuccessHeading: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormSuccessHeading>) => import("react/jsx-runtime").JSX.Element;
161
160
  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
161
  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, };
162
+ 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, 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, };
164
163
  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
164
  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';