@inkeep/cxkit-primitives 0.5.114 → 0.5.116

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,106 +1,108 @@
1
1
  "use client";
2
- import { jsx as n, jsxs as V, Fragment as Z } from "react/jsx-runtime";
3
- import { forwardRef as U, memo as P, useState as ge, useEffect as Me, useMemo as Ie } from "react";
2
+ import { jsx as n, jsxs as Q, Fragment as Z } from "react/jsx-runtime";
3
+ import { forwardRef as U, memo as P, useState as ve, useEffect as Me, useMemo as Ie } from "react";
4
4
  import ee from "react-textarea-autosize";
5
5
  import * as te from "@radix-ui/react-avatar";
6
6
  import * as K from "@radix-ui/react-checkbox";
7
- import * as S from "@radix-ui/react-popover";
8
- import * as k from "@radix-ui/react-tooltip";
9
- import * as x from "@radix-ui/react-scroll-area";
10
- import { Trigger as fe, Icon as Ee, Content as Se, Viewport as ke, Item as Be, ItemText as Te, ItemIndicator as ye, Root as we, Value as He } from "../atoms/select.js";
11
- import { Overlay as ie, Content as ae, Close as ne, Title as se, Root as oe } from "../atoms/dialog.js";
12
- import Le from "../atoms/avatars/ai.js";
13
- import xe from "../atoms/avatars/user.js";
14
- import { CustomIcon as A } from "../atoms/icons/custom-icon.js";
15
- import { BuiltInIconRenderer as B } from "../atoms/icons/built-in-icon-renderer.js";
16
- import { LinkWithQueryParams as De } from "../atoms/link.js";
7
+ import * as B from "@radix-ui/react-popover";
8
+ import * as T from "@radix-ui/react-tooltip";
9
+ import * as H from "@radix-ui/react-scroll-area";
10
+ import { Trigger as fe, Icon as Ee, Content as Se, Viewport as ke, Item as Be, ItemText as Te, ItemIndicator as ye, Root as we, Value as xe } from "../atoms/select.js";
11
+ import { ComboboxRoot as Le, ComboboxControl as He, ComboboxInput as De, ComboboxTrigger as Oe, ComboboxPositioner as Ne, ComboboxContent as We, ComboboxItem as Re, ComboboxItemText as $e, ComboboxSelectedTags as Ve, ComboboxItemIndicator as Qe } from "../atoms/combobox.js";
12
+ import { Overlay as ie, Content as ae, Close as ne, Title as oe, Root as se } from "../atoms/dialog.js";
13
+ import Ue from "../atoms/avatars/ai.js";
14
+ import Ke from "../atoms/avatars/user.js";
15
+ import { CustomIcon as F } from "../atoms/icons/custom-icon.js";
16
+ import { BuiltInIconRenderer as f } from "../atoms/icons/built-in-icon-renderer.js";
17
+ import { LinkWithQueryParams as qe } from "../atoms/link.js";
17
18
  import { Markdown as q } from "../atoms/markdown/index.js";
18
- import { AttachmentItemProvider as be, useAttachmentItem as D } from "../providers/attachment-item-provider.js";
19
- import { AttachmentsBarProvider as Oe, useAttachmentsBar as F } from "../providers/attachments-bar-provider.js";
20
- import { SourceItemProvider as We, useSourceItem as w } from "../providers/source-item-provider.js";
19
+ import { AttachmentItemProvider as _e, useAttachmentItem as D } from "../providers/attachment-item-provider.js";
20
+ import { AttachmentsBarProvider as je, useAttachmentsBar as A } from "../providers/attachments-bar-provider.js";
21
+ import { SourceItemProvider as Ge, useSourceItem as x } from "../providers/source-item-provider.js";
21
22
  import { useInkeepConfig as C } from "../providers/config-provider.js";
22
- import { useInkeepConversation as O, SHARE_QUERY_PARAM as Ne } from "../providers/conversation-provider.js";
23
- import { useChatEvents as W } from "../providers/chat-events-provider.js";
23
+ import { useInkeepConversation as O, SHARE_QUERY_PARAM as ze } from "../providers/conversation-provider.js";
24
+ import { useChatEvents as N } from "../providers/chat-events-provider.js";
24
25
  import { useMessageFeedback as re } from "../providers/feedback-provider.js";
25
- import { MessageAttachmentsProvider as Re, useMessageAttachments as j } from "../providers/message-attachments-provider.js";
26
- import { MessageProvider as $e, useMessage as b } from "../providers/message-provider.js";
27
- import { CheckboxIcon as _e } from "../atoms/icons/checkbox-icon.js";
26
+ import { MessageAttachmentsProvider as Ye, useMessageAttachments as j } from "../providers/message-attachments-provider.js";
27
+ import { MessageProvider as Je, useMessage as _ } from "../providers/message-provider.js";
28
+ import { CheckboxIcon as ge } from "../atoms/icons/checkbox-icon.js";
28
29
  import { useCopyToClipboard as X } from "../hooks/use-copy-to-clipboard.js";
29
- import { FeedbackItemProvider as Qe, useFeedbackItem as ce } from "../providers/feedback-item-provider.js";
30
- import { stringifyAttachments as Ve } from "../utils/get-message-metadata.js";
31
- import { dataAttr as p, maybeRender as M, getInitials as Ue, getMessageContent as de } from "../utils/misc.js";
30
+ import { FeedbackItemProvider as Xe, useFeedbackItem as ce } from "../providers/feedback-item-provider.js";
31
+ import { stringifyAttachments as Ze } from "../utils/get-message-metadata.js";
32
+ import { dataAttr as p, maybeRender as M, getInitials as et, getMessageContent as de } from "../utils/misc.js";
32
33
  import { ikp as i } from "./factory.js";
33
- import { useChat as g } from "./embedded-chat/chat-provider.js";
34
- import { ChatProvider as lr } from "./embedded-chat/chat-provider.js";
35
- import Ke from "./tagline-logo-icon.js";
36
- import { useSettleAction as qe } from "../hooks/use-settle-action.js";
37
- import { useContainerSize as je } from "../hooks/use-container-size.js";
34
+ import { useChat as v } from "./embedded-chat/chat-provider.js";
35
+ import { ChatProvider as Dr } from "./embedded-chat/chat-provider.js";
36
+ import tt from "./tagline-logo-icon.js";
37
+ import { useSettleAction as it } from "../hooks/use-settle-action.js";
38
+ import { useContainerSize as at } from "../hooks/use-container-size.js";
38
39
  import { useChatAction as me } from "./embedded-chat/use-chat-action.js";
39
- import { useHelpMenuState as Ge, HelpMenuProvider as ze, useHelpMenu as Ye } from "../providers/help-menu-provider.js";
40
- import { useChatForm as _ } from "../providers/chat-form-provider.js";
41
- import { FormFieldProvider as Je, useFormField as H } from "../providers/form-field-provider.js";
42
- import { Controller as Xe } from "react-hook-form";
43
- import { highlightEmphasis as Ze } from "../utils/highlight-emphasis.js";
44
- import { useModal as et } from "./modal/modal-provider.js";
45
- import { useColorModeValue as tt } from "@inkeep/cxkit-color-mode";
40
+ import { useHelpMenuState as nt, HelpMenuProvider as ot, useHelpMenu as st } from "../providers/help-menu-provider.js";
41
+ import { useChatForm as g } from "../providers/chat-form-provider.js";
42
+ import { FormFieldProvider as rt, useFormField as E } from "../providers/form-field-provider.js";
43
+ import { Controller as ct } from "react-hook-form";
44
+ import { highlightEmphasis as dt } from "../utils/highlight-emphasis.js";
45
+ import { useModal as mt } from "./modal/modal-provider.js";
46
+ import { useColorModeValue as lt } from "@inkeep/cxkit-color-mode";
46
47
  import { useComposedRefs as le } from "../utils/compose-refs.js";
47
48
  import { composeEventHandlers as h } from "../utils/compose-event-handlers.js";
48
- import { useScrollToBottom as it } from "../hooks/use-scroll-to-bottom.js";
49
- import { logConversation as at } from "../atoms/api/analytics/conversation.js";
50
- import { transformInkeepSource as nt } from "../utils/transform-source/index.js";
51
- import { useDebounce as st } from "../hooks/use-debounce.js";
52
- import { HoverPopoverProvider as ot, useHoverPopover as Ae } from "../providers/hover-popover-provider.js";
53
- import { useWidgetAutoFocus as rt } from "./modal/widget-auto-focus.js";
54
- const ct = "__intro__", dt = i("div", {
49
+ import { useScrollToBottom as ht } from "../hooks/use-scroll-to-bottom.js";
50
+ import { logConversation as ut } from "../atoms/api/analytics/conversation.js";
51
+ import { transformInkeepSource as Ct } from "../utils/transform-source/index.js";
52
+ import { useDebounce as pt } from "../hooks/use-debounce.js";
53
+ import { HoverPopoverProvider as bt, useHoverPopover as Fe } from "../providers/hover-popover-provider.js";
54
+ import { useWidgetAutoFocus as vt } from "./modal/widget-auto-focus.js";
55
+ import { useShadow as _t } from "../atoms/shadow/context.js";
56
+ const gt = "__intro__", Ft = i("div", {
55
57
  _id: "aiChatWrapper"
56
- }), rn = U((t, e) => {
57
- const { ...a } = t, { isHidden: s, isMobile: o } = g(), [r, c] = je(), d = le(e, r), m = c?.width ? c.width > 580 : !0, l = et();
58
+ }), Pn = U((t, e) => {
59
+ const { ...a } = t, { isHidden: o, isMobile: s } = v(), [r, c] = at(), d = le(e, r), m = c?.width ? c.width > 580 : !0, l = mt();
58
60
  return /* @__PURE__ */ n(
59
- dt,
61
+ Ft,
60
62
  {
61
63
  ref: d,
62
64
  "data-widget-md": p(m),
63
- "data-hidden": p(s),
65
+ "data-hidden": p(o),
64
66
  "data-in-modal": p(!!l),
65
- "data-mobile": p(o),
67
+ "data-mobile": p(s),
66
68
  ...a
67
69
  }
68
70
  );
69
- }), mt = i("div", {
71
+ }), Pt = i("div", {
70
72
  _id: "aiChatConversationLoading"
71
- }), cn = (t) => {
72
- const { isLoadingConversation: e } = g();
73
- return e ? /* @__PURE__ */ n(mt, { children: /* @__PURE__ */ n("span", { children: "Loading..." }), ...t }) : null;
74
- }, lt = i("div", {
73
+ }), An = (t) => {
74
+ const { isLoadingConversation: e } = v();
75
+ return e ? /* @__PURE__ */ n(Pt, { children: /* @__PURE__ */ n("span", { children: "Loading..." }), ...t }) : null;
76
+ }, At = i("div", {
75
77
  _id: "aiChatRoot"
76
- }), dn = (t) => {
77
- const { isLoadingConversation: e, isHidden: a } = g(), { form: s } = _();
78
- return e || s ? null : /* @__PURE__ */ n(lt, { "data-hidden": p(a), ...t });
79
- }, mn = i("div", {
78
+ }), Mn = (t) => {
79
+ const { isLoadingConversation: e, isHidden: a } = v(), { form: o } = g();
80
+ return e || o ? null : /* @__PURE__ */ n(At, { "data-hidden": p(a), ...t });
81
+ }, In = i("div", {
80
82
  _id: "aiChatHeader"
81
- }), ln = i("div", {
83
+ }), fn = i("div", {
82
84
  _id: "aiChatHeader__Toolbar"
83
- }), hn = i("div", {
85
+ }), En = i("div", {
84
86
  _id: "aiChatHeader__ToolbarHeaderWrapper"
85
- }), ht = i("div", {
87
+ }), Mt = i("div", {
86
88
  _id: "aiChatHeader__ToolbarHeader"
87
- }), un = P(
89
+ }), Sn = P(
88
90
  (t) => {
89
91
  const { aiChatSettings: e } = C(), a = `Ask ${e.aiAssistantName || "AI"}`;
90
- return /* @__PURE__ */ n(ht, { ...t, children: a });
92
+ return /* @__PURE__ */ n(Mt, { ...t, children: a });
91
93
  }
92
- ), Cn = i("div", {
94
+ ), kn = i("div", {
93
95
  _id: "aiChatContent"
94
- }), pn = i(x.Root, {
96
+ }), Bn = i(H.Root, {
95
97
  _id: "aiChatContentScrollArea"
96
- }), ut = i(x.Viewport, {
98
+ }), It = i(H.Viewport, {
97
99
  _id: "aiChatContentScrollArea__Viewport"
98
- }), vn = U(({ children: t, ...e }, a) => {
99
- const { containerRef: s } = it(), o = le(a, s);
100
+ }), Tn = U(({ children: t, ...e }, a) => {
101
+ const { containerRef: o } = ht(), s = le(a, o);
100
102
  return /* @__PURE__ */ n(
101
- ut,
103
+ It,
102
104
  {
103
- ref: o,
105
+ ref: s,
104
106
  children: (
105
107
  /* added this to fix an overflow issue see https://github.com/radix-ui/primitives/issues/926 */
106
108
  /* @__PURE__ */ n("div", { "data-part": "grid", style: { display: "grid" }, children: t })
@@ -108,45 +110,45 @@ const ct = "__intro__", dt = i("div", {
108
110
  ...e
109
111
  }
110
112
  );
111
- }), gn = i(
112
- x.ScrollAreaScrollbar,
113
+ }), yn = i(
114
+ H.ScrollAreaScrollbar,
113
115
  {
114
116
  _id: "aiChatContentScrollArea__Scrollbar"
115
117
  }
116
- ), bn = i(
117
- x.ScrollAreaThumb,
118
+ ), wn = i(
119
+ H.ScrollAreaThumb,
118
120
  {
119
121
  _id: "aiChatContentScrollArea__Thumb"
120
122
  }
121
- ), _n = i(x.Corner, {
123
+ ), xn = i(H.Corner, {
122
124
  _id: "aiChatContentScrollArea__Corner"
123
- }), Ct = i("div", {
125
+ }), ft = i("div", {
124
126
  _id: "aiChatMessages"
125
- }), An = (t) => {
126
- const e = g(), { children: a, ...s } = t;
127
- return /* @__PURE__ */ n(Ct, { children: M(a, e), ...s });
128
- }, pt = i("div", {
127
+ }), Ln = (t) => {
128
+ const e = v(), { children: a, ...o } = t;
129
+ return /* @__PURE__ */ n(ft, { children: M(a, e), ...o });
130
+ }, Et = i("div", {
129
131
  _id: "aiChatDisclaimer"
130
- }), Pn = P(
132
+ }), Hn = P(
131
133
  (t) => {
132
- const { aiChatSettings: e } = C(), [a, s] = ge(!1), o = st(a, 100);
133
- return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(ot, { open: a, setOpen: s, children: /* @__PURE__ */ n(S.Root, { open: o, onOpenChange: s, children: /* @__PURE__ */ n(pt, { ...t }) }) }) : null;
134
+ const { aiChatSettings: e } = C(), [a, o] = ve(!1), s = pt(a, 100);
135
+ return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ n(bt, { open: a, setOpen: o, children: /* @__PURE__ */ n(B.Root, { open: s, onOpenChange: o, children: /* @__PURE__ */ n(Et, { ...t }) }) }) : null;
134
136
  }
135
- ), vt = i("span", {
137
+ ), St = i("span", {
136
138
  _id: "aiChatDisclaimerLabel"
137
- }), Fn = P(
139
+ }), Dn = P(
138
140
  (t) => {
139
141
  const { aiChatSettings: e } = C(), a = e.disclaimerSettings;
140
- return /* @__PURE__ */ n(vt, { children: a?.label, ...t });
142
+ return /* @__PURE__ */ n(St, { children: a?.label, ...t });
141
143
  }
142
- ), gt = i(S.Trigger, {
144
+ ), kt = i(B.Trigger, {
143
145
  _id: "aiChatDisclaimerTrigger",
144
- children: /* @__PURE__ */ n(A, { iconKey: "info" })
145
- }), Mn = P(
146
+ children: /* @__PURE__ */ n(F, { iconKey: "info" })
147
+ }), On = P(
146
148
  (t) => {
147
- const { setOpen: e } = Ae();
149
+ const { setOpen: e } = Fe();
148
150
  return /* @__PURE__ */ n(
149
- gt,
151
+ kt,
150
152
  {
151
153
  onMouseEnter: () => e(!0),
152
154
  onMouseLeave: () => e(!1),
@@ -154,12 +156,12 @@ const ct = "__intro__", dt = i("div", {
154
156
  }
155
157
  );
156
158
  }
157
- ), bt = i(S.Content, {
159
+ ), Bt = i(B.Content, {
158
160
  _id: "aiChatDisclaimerContent"
159
- }), In = (t) => {
160
- const { setOpen: e } = Ae();
161
+ }), Nn = (t) => {
162
+ const { setOpen: e } = Fe();
161
163
  return /* @__PURE__ */ n(
162
- bt,
164
+ Bt,
163
165
  {
164
166
  onMouseEnter: () => e(!0),
165
167
  onMouseLeave: () => e(!1),
@@ -170,168 +172,168 @@ const ct = "__intro__", dt = i("div", {
170
172
  ...t
171
173
  }
172
174
  );
173
- }, _t = i(q, {
175
+ }, Tt = i(q, {
174
176
  _id: "aiChatDisclaimerText"
175
- }), fn = P(
177
+ }), Wn = P(
176
178
  (t) => {
177
- const { aiChatSettings: e } = C(), a = e.aiAssistantName, o = e.disclaimerSettings?.tooltip || `Information provided by ${a || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
178
- return /* @__PURE__ */ n(_t, { shouldOpenLinksInNewTab: !0, children: o, ...t });
179
+ const { aiChatSettings: e } = C(), a = e.aiAssistantName, s = e.disclaimerSettings?.tooltip || `Information provided by ${a || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
180
+ return /* @__PURE__ */ n(Tt, { shouldOpenLinksInNewTab: !0, children: s, ...t });
179
181
  }
180
- ), En = i(S.Arrow, {
182
+ ), Rn = i(B.Arrow, {
181
183
  _id: "aiChatDisclaimerArrow"
182
- }), At = i("div", {
184
+ }), yt = i("div", {
183
185
  _id: "aiChatExampleQuestions"
184
- }), Sn = (t) => {
185
- const { aiChatSettings: e } = C(), { messages: a } = g();
186
- return !e.exampleQuestions?.length || a.length ? null : /* @__PURE__ */ n(At, { ...t });
187
- }, Pt = i("h3", {
186
+ }), $n = (t) => {
187
+ const { aiChatSettings: e } = C(), { messages: a } = v();
188
+ return !e.exampleQuestions?.length || a.length ? null : /* @__PURE__ */ n(yt, { ...t });
189
+ }, wt = i("h3", {
188
190
  _id: "aiChatExampleQuestionsLabel"
189
- }), kn = P(
191
+ }), Vn = P(
190
192
  (t) => {
191
193
  const { aiChatSettings: e } = C();
192
- return /* @__PURE__ */ n(Pt, { children: e.exampleQuestionsLabel, ...t });
194
+ return /* @__PURE__ */ n(wt, { children: e.exampleQuestionsLabel, ...t });
193
195
  }
194
- ), Ft = i("div", {
196
+ ), xt = i("div", {
195
197
  _id: "aiChatExampleQuestionsList"
196
- }), Bn = P(
198
+ }), Qn = P(
197
199
  (t) => {
198
- const { aiChatSettings: e } = C(), a = e.exampleQuestions, { children: s, ...o } = t;
199
- return /* @__PURE__ */ n(Ft, { children: M(s, a), ...o });
200
+ const { aiChatSettings: e } = C(), a = e.exampleQuestions, { children: o, ...s } = t;
201
+ return /* @__PURE__ */ n(xt, { children: M(o, a), ...s });
200
202
  }
201
- ), Mt = i("div", {
203
+ ), Lt = i("div", {
202
204
  _id: "aiChatExampleQuestion"
203
- }), Tn = U((t, e) => {
204
- const { aiChatSettings: a } = C(), s = a.isFirstExampleQuestionHighlighted;
205
- return /* @__PURE__ */ n(Mt, { ref: e, "data-highlight": p(s), ...t });
206
- }), It = i("button", {
205
+ }), Un = U((t, e) => {
206
+ const { aiChatSettings: a } = C(), o = a.isFirstExampleQuestionHighlighted;
207
+ return /* @__PURE__ */ n(Lt, { ref: e, "data-highlight": p(o), ...t });
208
+ }), Ht = i("button", {
207
209
  _id: "aiChatExampleQuestionButton"
208
- }), yn = (t) => {
209
- const { question: e, onClick: a, ...s } = t, { handleSubmit: o } = g();
210
+ }), Kn = (t) => {
211
+ const { question: e, onClick: a, ...o } = t, { handleSubmit: s } = v();
210
212
  return /* @__PURE__ */ n(
211
- It,
213
+ Ht,
212
214
  {
213
- onClick: h(a, () => o(e)),
215
+ onClick: h(a, () => s(e)),
214
216
  children: e,
215
- ...s
217
+ ...o
216
218
  }
217
219
  );
218
- }, ft = i("div", {
220
+ }, Dt = i("div", {
219
221
  _id: "aiChatWorkflows"
220
- }), wn = (t) => {
221
- const { aiChatSettings: e } = C(), { messages: a } = g();
222
- return !e.workflows?.length || a.length ? null : /* @__PURE__ */ n(ft, { ...t });
223
- }, Et = i("h3", {
222
+ }), qn = (t) => {
223
+ const { aiChatSettings: e } = C(), { messages: a } = v();
224
+ return !e.workflows?.length || a.length ? null : /* @__PURE__ */ n(Dt, { ...t });
225
+ }, Ot = i("h3", {
224
226
  _id: "aiChatWorkflowsLabel"
225
- }), Hn = P((t) => {
227
+ }), jn = P((t) => {
226
228
  const { aiChatSettings: e } = C();
227
- return /* @__PURE__ */ n(Et, { children: e.workflowsHeader, ...t });
228
- }), St = i("div", {
229
+ return /* @__PURE__ */ n(Ot, { children: e.workflowsHeader, ...t });
230
+ }), Nt = i("div", {
229
231
  _id: "aiChatWorkflowsList"
230
- }), Ln = P(
232
+ }), Gn = P(
231
233
  (t) => {
232
- const { aiChatSettings: e } = C(), a = e.workflows, { children: s, ...o } = t;
233
- return /* @__PURE__ */ n(St, { children: M(s, a), ...o });
234
+ const { aiChatSettings: e } = C(), a = e.workflows, { children: o, ...s } = t;
235
+ return /* @__PURE__ */ n(Nt, { children: M(o, a), ...s });
234
236
  }
235
- ), kt = i("button", {
237
+ ), Wt = i("button", {
236
238
  _id: "aiChatWorkflow"
237
- }), xn = (t) => {
238
- const { workflow: e, onClick: a, ...s } = t, { handleWorkflow: o } = g();
239
+ }), zn = (t) => {
240
+ const { workflow: e, onClick: a, ...o } = t, { handleWorkflow: s } = v();
239
241
  return /* @__PURE__ */ n(
240
- kt,
242
+ Wt,
241
243
  {
242
- onClick: h(a, () => o(e)),
244
+ onClick: h(a, () => s(e)),
243
245
  children: e.displayName,
244
- ...s
246
+ ...o
245
247
  }
246
248
  );
247
- }, Bt = i("div", {
249
+ }, Rt = i("div", {
248
250
  _id: "aiChatMessageWrapper"
249
- }), Tt = (t) => {
251
+ }), $t = (t) => {
250
252
  const { message: e, ...a } = t;
251
- return e.role === "system" ? null : /* @__PURE__ */ n($e, { message: e, children: /* @__PURE__ */ n(Bt, { "data-role": e.role, ...a }) });
252
- }, Dn = P(
253
+ return e.role === "system" ? null : /* @__PURE__ */ n(Je, { message: e, children: /* @__PURE__ */ n(Rt, { "data-role": e.role, ...a }) });
254
+ }, Yn = P(
253
255
  (t) => {
254
- const { message: e, ...a } = t, { aiChatSettings: s, baseSettings: o } = C(), r = s.aiAssistantName, c = r ? `Hi, I'm ${r}!` : "Hi!", d = s.chatSubjectName ?? o.organizationDisplayName, m = `${c}
256
+ const { message: e, ...a } = t, { aiChatSettings: o, baseSettings: s } = C(), r = o.aiAssistantName, c = r ? `Hi, I'm ${r}!` : "Hi!", d = o.chatSubjectName ?? s.organizationDisplayName, m = `${c}
255
257
 
256
258
  I'm an AI assistant trained on documentation, help articles, and other content.`, l = d ? `
257
259
 
258
260
  Ask me anything about \`${d}\`.` : `
259
261
 
260
- Let me know how I can help.`, v = {
261
- content: s.introMessage ?? `${m}${l}`,
262
- id: ct,
262
+ Let me know how I can help.`, b = {
263
+ content: o.introMessage ?? `${m}${l}`,
264
+ id: gt,
263
265
  ...e,
264
266
  role: "assistant",
265
267
  links: []
266
268
  };
267
- return /* @__PURE__ */ n(Tt, { message: v, ...a });
269
+ return /* @__PURE__ */ n($t, { message: b, ...a });
268
270
  }
269
- ), yt = i("div", {
271
+ ), Vt = i("div", {
270
272
  _id: "aiChatMessageHeader"
271
- }), On = (t) => {
272
- const { message: e } = b();
273
- return /* @__PURE__ */ n(yt, { "data-role": e.role, ...t });
274
- }, wt = i("div", {
273
+ }), Jn = (t) => {
274
+ const { message: e } = _();
275
+ return /* @__PURE__ */ n(Vt, { "data-role": e.role, ...t });
276
+ }, Qt = i("div", {
275
277
  _id: "aiChatMessageLoading"
276
- }), Wn = (t) => {
277
- const { isLoading: e, isStreaming: a, messages: s } = g(), { message: o } = b();
278
- return !(s.at(-1)?.id === o?.id) || o.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(wt, { children: "Thinking...", ...t });
279
- }, Ht = i("div", {
278
+ }), Xn = (t) => {
279
+ const { isLoading: e, isStreaming: a, messages: o } = v(), { message: s } = _();
280
+ return !(o.at(-1)?.id === s?.id) || s.role !== "assistant" || !e || a ? null : /* @__PURE__ */ n(Qt, { children: "Thinking...", ...t });
281
+ }, Ut = i("div", {
280
282
  _id: "aiChatMessageAvatar"
281
- }), Nn = (t) => {
282
- const { message: e } = b();
283
- return /* @__PURE__ */ n(Ht, { "data-role": e.role, ...t });
284
- }, Lt = i(te.Root, {
283
+ }), Zn = (t) => {
284
+ const { message: e } = _();
285
+ return /* @__PURE__ */ n(Ut, { "data-role": e.role, ...t });
286
+ }, Kt = i(te.Root, {
285
287
  _id: "aiChatMessageAvatarContent"
286
- }), Rn = (t) => {
287
- const { message: e } = b(), { baseSettings: a } = C();
288
+ }), eo = (t) => {
289
+ const { message: e } = _(), { baseSettings: a } = C();
288
290
  return /* @__PURE__ */ n(
289
- Lt,
291
+ Kt,
290
292
  {
291
293
  "data-username": p(e.role === "user" && !!a.userProperties.name),
292
294
  "data-role": e.role,
293
295
  ...t
294
296
  }
295
297
  );
296
- }, xt = i(te.Fallback, {
298
+ }, qt = i(te.Fallback, {
297
299
  _id: "aiChatMessageAvatarFallback"
298
- }), $n = P(
300
+ }), to = P(
299
301
  (t) => {
300
- const { baseSettings: e } = C(), { message: a } = b();
302
+ const { baseSettings: e } = C(), { message: a } = _();
301
303
  return e.userProperties.name ? /* @__PURE__ */ n(
302
- xt,
304
+ qt,
303
305
  {
304
306
  "data-role": a.role,
305
- children: Ue(e.userProperties.name),
307
+ children: et(e.userProperties.name),
306
308
  ...t
307
309
  }
308
310
  ) : null;
309
311
  }
310
312
  ), pe = i(te.Image, {
311
313
  _id: "aiChatMessageAvatarImage"
312
- }), Qn = P(
314
+ }), io = P(
313
315
  (t) => {
314
316
  const { onLoadingStatusChange: e, ...a } = t, {
315
- aiChatSettings: s,
316
- baseSettings: { userProperties: o }
317
- } = C(), { message: r } = b(), { aiAssistantAvatar: c } = s ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = tt(d, m), [u, v] = ge(l);
317
+ aiChatSettings: o,
318
+ baseSettings: { userProperties: s }
319
+ } = C(), { message: r } = _(), { aiAssistantAvatar: c } = o ?? {}, d = typeof c == "string" ? c : c?.light, m = (typeof c == "string" ? c : c?.dark) ?? d, l = lt(d, m), [u, b] = ve(l);
318
320
  Me(() => {
319
- v(l);
321
+ b(l);
320
322
  }, [l]);
321
- const I = (T) => {
322
- T === "error" && v(null);
323
+ const I = (y) => {
324
+ y === "error" && b(null);
323
325
  };
324
- return r.role === "user" ? s.userAvatar ? /* @__PURE__ */ n(
326
+ return r.role === "user" ? o.userAvatar ? /* @__PURE__ */ n(
325
327
  pe,
326
328
  {
327
329
  "data-type": "image",
328
330
  alt: "User avatar",
329
331
  "data-role": r.role,
330
- src: s.userAvatar,
332
+ src: o.userAvatar,
331
333
  ...t
332
334
  }
333
- ) : o.name ? null : /* @__PURE__ */ n(
334
- xe,
335
+ ) : s.name ? null : /* @__PURE__ */ n(
336
+ Ke,
335
337
  {
336
338
  "data-type": "icon",
337
339
  "data-role": r.role,
@@ -351,7 +353,7 @@ const ct = "__intro__", dt = i("div", {
351
353
  ...a
352
354
  }
353
355
  ) : /* @__PURE__ */ n(
354
- Le,
356
+ Ue,
355
357
  {
356
358
  "data-type": "icon",
357
359
  "data-role": r.role,
@@ -359,111 +361,111 @@ const ct = "__intro__", dt = i("div", {
359
361
  }
360
362
  );
361
363
  }
362
- ), Dt = i("span", {
364
+ ), jt = i("span", {
363
365
  _id: "aiChatMessageName"
364
- }), Vn = (t) => {
365
- const { message: e } = b();
366
+ }), ao = (t) => {
367
+ const { message: e } = _();
366
368
  return /* @__PURE__ */ n(
367
- Dt,
369
+ jt,
368
370
  {
369
371
  "data-role": e.role,
370
372
  children: e.role === "user" ? "You" : "AI assistant",
371
373
  ...t
372
374
  }
373
375
  );
374
- }, Ot = i("div", {
376
+ }, Gt = i("div", {
375
377
  _id: "aiChatMessageContentWrapper"
376
- }), Un = (t) => {
377
- const { message: e } = b(), { messageButtons: a } = g(), s = a[e.id] || [];
378
+ }), no = (t) => {
379
+ const { message: e } = _(), { messageButtons: a } = v(), o = a[e.id] || [];
378
380
  return /* @__PURE__ */ n(
379
- Ot,
381
+ Gt,
380
382
  {
381
383
  "data-role": e.role,
382
- "data-has-message-buttons": p(!!s.length),
384
+ "data-has-message-buttons": p(!!o.length),
383
385
  ...t
384
386
  }
385
387
  );
386
- }, Wt = i("div", {
388
+ }, zt = i("div", {
387
389
  _id: "aiChatMessageContent"
388
- }), Kn = (t) => {
389
- const { message: e } = b();
390
- return /* @__PURE__ */ n(Wt, { "data-role": e.role, ...t });
391
- }, Nt = i("div", {
390
+ }), oo = (t) => {
391
+ const { message: e } = _();
392
+ return /* @__PURE__ */ n(zt, { "data-role": e.role, ...t });
393
+ }, Yt = i("div", {
392
394
  _id: "aiChatMessageAttachments"
393
- }), qn = (t) => {
394
- const { message: e } = b(), a = e.metadata?.attributes?.attachments;
395
- return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ n(Re, { children: /* @__PURE__ */ n(Nt, { ...t }) });
396
- }, Rt = i("div", {
395
+ }), so = (t) => {
396
+ const { message: e } = _(), a = e.metadata?.attributes?.attachments;
397
+ return e.role !== "user" || !a?.length ? null : /* @__PURE__ */ n(Ye, { children: /* @__PURE__ */ n(Yt, { ...t }) });
398
+ }, Jt = i("div", {
397
399
  _id: "aiChatMessageAttachments__List"
398
- }), jn = (t) => {
399
- const { children: e, ...a } = t, { message: s } = b(), o = s.metadata?.attributes?.attachments;
400
- return o ? /* @__PURE__ */ n(Rt, { children: M(e, o), ...a }) : null;
401
- }, $t = i("div", {
400
+ }), ro = (t) => {
401
+ const { children: e, ...a } = t, { message: o } = _(), s = o.metadata?.attributes?.attachments;
402
+ return s ? /* @__PURE__ */ n(Jt, { children: M(e, s), ...a }) : null;
403
+ }, Xt = i("div", {
402
404
  _id: "aiChatMessageAttachments__Item"
403
- }), Gn = (t) => {
404
- const { attachment: e, onClick: a, ...s } = t, { selectItem: o, onOpen: r } = j();
405
- return /* @__PURE__ */ n(be, { attachment: e, children: /* @__PURE__ */ n(
406
- $t,
405
+ }), co = (t) => {
406
+ const { attachment: e, onClick: a, ...o } = t, { selectItem: s, onOpen: r } = j();
407
+ return /* @__PURE__ */ n(_e, { attachment: e, children: /* @__PURE__ */ n(
408
+ Xt,
407
409
  {
408
410
  onClick: h(a, () => {
409
- o(e), r();
411
+ s(e), r();
410
412
  }),
411
- ...s
413
+ ...o
412
414
  }
413
415
  ) });
414
- }, Qt = i(B, {
416
+ }, Zt = i(f, {
415
417
  _id: "aiChatMessageAttachments__ItemIcon"
416
- }), zn = (t) => {
418
+ }), mo = (t) => {
417
419
  const { attachment: e } = D(), a = e.contentType?.attachmentIcon;
418
- return a ? /* @__PURE__ */ n(Qt, { iconSettings: a, ...t }) : null;
419
- }, Vt = i("span", {
420
+ return a ? /* @__PURE__ */ n(Zt, { iconSettings: a, ...t }) : null;
421
+ }, ei = i("span", {
420
422
  _id: "aiChatMessageAttachments__ItemTitle"
421
- }), Yn = (t) => {
423
+ }), lo = (t) => {
422
424
  const { attachment: e } = D();
423
- return /* @__PURE__ */ n(Vt, { children: e.title, ...t });
424
- }, Ut = i(oe, {
425
+ return /* @__PURE__ */ n(ei, { children: e.title, ...t });
426
+ }, ti = i(se, {
425
427
  _id: "aiChatMessageAttachmentsPreview"
426
- }), Jn = (t) => {
427
- const { onOpenChange: e, ...a } = t, { selectItem: s, isOpen: o, onClose: r, selectedItem: c } = j();
428
+ }), ho = (t) => {
429
+ const { onOpenChange: e, ...a } = t, { selectItem: o, isOpen: s, onClose: r, selectedItem: c } = j();
428
430
  return /* @__PURE__ */ n(
429
- Ut,
431
+ ti,
430
432
  {
431
- open: o && c !== null,
433
+ open: s && c !== null,
432
434
  onOpenChange: h(e, (m) => {
433
- m || (r(), s(null));
435
+ m || (r(), o(null));
434
436
  }),
435
437
  ...a
436
438
  }
437
439
  );
438
- }, Xn = i(ie, {
440
+ }, uo = i(ie, {
439
441
  _id: "aiChatMessageAttachmentsPreview__Overlay"
440
- }), Zn = i(ae, {
442
+ }), Co = i(ae, {
441
443
  _id: "aiChatMessageAttachmentsPreview__Content",
442
444
  "aria-describedby": void 0
443
- }), Kt = i(se, {
445
+ }), ii = i(oe, {
444
446
  _id: "aiChatMessageAttachmentsPreview__Header"
445
- }), es = (t) => {
447
+ }), po = (t) => {
446
448
  const { selectedItem: e } = j();
447
449
  return /* @__PURE__ */ n(
448
- Kt,
450
+ ii,
449
451
  {
450
452
  children: e?.title || "Attachment",
451
453
  ...t
452
454
  }
453
455
  );
454
- }, ts = i(ne, {
456
+ }, bo = i(ne, {
455
457
  _id: "aiChatMessageAttachmentsPreview__Close",
456
- children: /* @__PURE__ */ n(A, { iconKey: "close" })
457
- }), qt = i("p", {
458
+ children: /* @__PURE__ */ n(F, { iconKey: "close" })
459
+ }), ai = i("p", {
458
460
  _id: "aiChatMessageAttachmentsPreview__Body"
459
- }), is = (t) => {
461
+ }), vo = (t) => {
460
462
  const { selectedItem: e } = j();
461
- return /* @__PURE__ */ n(qt, { children: e?.content, ...t });
462
- }, ve = i("div", {
463
+ return /* @__PURE__ */ n(ai, { children: e?.content, ...t });
464
+ }, be = i("div", {
463
465
  _id: "aiChatMessage"
464
- }), as = (t) => {
465
- const { aiChatSettings: e } = C(), { componentStyles: a, ...s } = t, { message: o } = b(), { logEvent: r } = W(), c = de(o), { conversation: d } = O();
466
- return o.role === "user" ? /* @__PURE__ */ n(ve, { "data-role": o.role, children: c, ...s }) : /* @__PURE__ */ n(ve, { "data-role": o.role, ...s, children: /* @__PURE__ */ n(
466
+ }), _o = (t) => {
467
+ const { aiChatSettings: e } = C(), { componentStyles: a, ...o } = t, { message: s } = _(), { logEvent: r } = N(), c = de(s), { conversation: d } = O();
468
+ return s.role === "user" ? /* @__PURE__ */ n(be, { "data-role": s.role, children: c, ...o }) : /* @__PURE__ */ n(be, { "data-role": s.role, ...o, children: /* @__PURE__ */ n(
467
469
  q,
468
470
  {
469
471
  children: c,
@@ -490,23 +492,23 @@ const ct = "__intro__", dt = i("div", {
490
492
  }
491
493
  }
492
494
  ) });
493
- }, jt = i("div", {
495
+ }, ni = i("div", {
494
496
  _id: "aiChatMessageToolbar"
495
- }), ns = (t) => {
496
- const { isLoading: e, messages: a } = g(), { message: s } = b();
497
- return a.at(-1)?.id === s?.id && e || s.role === "user" ? null : /* @__PURE__ */ n(jt, { ...t });
498
- }, Gt = i("div", {
497
+ }), go = (t) => {
498
+ const { isLoading: e, messages: a } = v(), { message: o } = _();
499
+ return a.at(-1)?.id === o?.id && e || o.role === "user" ? null : /* @__PURE__ */ n(ni, { ...t });
500
+ }, oi = i("div", {
499
501
  _id: "aiChatMessageToolActions"
500
- }), ss = (t) => {
501
- const { children: e, ...a } = t, { message: s } = b(), { messageButtons: o } = g(), r = o[s.id] || [];
502
- return /* @__PURE__ */ n(Gt, { children: M(e, r), ...a });
503
- }, zt = i("a", {
502
+ }), Fo = (t) => {
503
+ const { children: e, ...a } = t, { message: o } = _(), { messageButtons: s } = v(), r = s[o.id] || [];
504
+ return /* @__PURE__ */ n(oi, { children: M(e, r), ...a });
505
+ }, si = i("a", {
504
506
  _id: "aiChatMessageToolAction"
505
- }), Yt = i("button", {
507
+ }), ri = i("button", {
506
508
  _id: "aiChatMessageToolAction"
507
- }), os = (t) => {
508
- const { onClick: e, action: a, ...s } = t, { handleAction: o } = me(a), { logEvent: r } = W(), { conversation: c } = O(), d = () => {
509
- o(), r({
509
+ }), Po = (t) => {
510
+ const { onClick: e, action: a, ...o } = t, { handleAction: s } = me(a), { logEvent: r } = N(), { conversation: c } = O(), d = () => {
511
+ s(), r({
510
512
  eventName: "tool_call_action_clicked",
511
513
  properties: {
512
514
  conversation: c
@@ -518,12 +520,12 @@ const ct = "__intro__", dt = i("div", {
518
520
  conversation: c
519
521
  }
520
522
  });
521
- }, m = a.label || "Contact Support", l = /* @__PURE__ */ V(Z, { children: [
522
- a.icon && /* @__PURE__ */ n(B, { iconSettings: a.icon }),
523
+ }, m = a.label || "Contact Support", l = /* @__PURE__ */ Q(Z, { children: [
524
+ a.icon && /* @__PURE__ */ n(f, { iconSettings: a.icon }),
523
525
  m
524
526
  ] });
525
527
  return a.action.type === "open_link" ? /* @__PURE__ */ n(
526
- zt,
528
+ si,
527
529
  {
528
530
  href: a.action.url,
529
531
  target: "_blank",
@@ -531,21 +533,21 @@ const ct = "__intro__", dt = i("div", {
531
533
  "data-type": a.action.type,
532
534
  onClick: h(e, d),
533
535
  children: l,
534
- ...s
536
+ ...o
535
537
  }
536
538
  ) : /* @__PURE__ */ n(
537
- Yt,
539
+ ri,
538
540
  {
539
541
  "data-type": a.action.type,
540
542
  onClick: h(e, d),
541
543
  children: l,
542
- ...s
544
+ ...o
543
545
  }
544
546
  );
545
- }, Jt = i("button", {
547
+ }, ci = i("button", {
546
548
  _id: "aiChatMessageAction"
547
- }), rs = (t) => {
548
- const { action: e, onClick: a, className: s, ...o } = t, { conversation: r } = O(), { message: c } = b(), { isStreaming: d, messages: m } = g(), [l, u] = X(), { feedback: v, submitPositiveFeedback: I, setCurrentFeedback: T, currentFeedback: N } = re(), { logEvent: G } = W(), [R, z] = qe(), {
549
+ }), Ao = (t) => {
550
+ const { action: e, onClick: a, className: o, ...s } = t, { conversation: r } = O(), { message: c } = _(), { isStreaming: d, messages: m } = v(), [l, u] = X(), { feedback: b, submitPositiveFeedback: I, setCurrentFeedback: y, currentFeedback: W } = re(), { logEvent: G } = N(), [R, z] = it(), {
549
551
  baseSettings: { privacyPreferences: he }
550
552
  } = C(), { optOutAllAnalytics: Y } = he, ue = m.at(-1)?.id === c?.id, J = c.role === "assistant";
551
553
  if (ue && d || !J || {
@@ -553,7 +555,7 @@ const ct = "__intro__", dt = i("div", {
553
555
  upvote: Y,
554
556
  downvote: Y
555
557
  }[e]) return null;
556
- const y = {
558
+ const w = {
557
559
  copy() {
558
560
  u(de(c)), G({
559
561
  eventName: "assistant_message_copied",
@@ -568,68 +570,68 @@ const ct = "__intro__", dt = i("div", {
568
570
  });
569
571
  },
570
572
  downvote() {
571
- T(c.id);
573
+ y(c.id);
572
574
  }
573
575
  }, L = {
574
576
  copy: "Copy Message",
575
577
  upvote: "Upvote Message",
576
578
  downvote: "Downvote Message"
577
- }, f = {
578
- copy: /* @__PURE__ */ n(A, { iconKey: l ? "messageCopied" : "messageCopy" }),
579
- upvote: /* @__PURE__ */ n(A, { iconKey: R ? "messageCopied" : "thumbsUp" }),
580
- downvote: /* @__PURE__ */ n(A, { iconKey: "thumbsDown" })
581
- }, E = {
579
+ }, S = {
580
+ copy: /* @__PURE__ */ n(F, { iconKey: l ? "messageCopied" : "messageCopy" }),
581
+ upvote: /* @__PURE__ */ n(F, { iconKey: R ? "messageCopied" : "thumbsUp" }),
582
+ downvote: /* @__PURE__ */ n(F, { iconKey: "thumbsDown" })
583
+ }, k = {
582
584
  copy: { "data-copied": p(l) },
583
585
  upvote: {
584
- "data-upvoted": p(v[c.id]?.type === "positive")
586
+ "data-upvoted": p(b[c.id]?.type === "positive")
585
587
  },
586
588
  downvote: {
587
- "data-downvoted": p(v[c.id]?.type === "negative"),
588
- "data-state": N === null ? "closed" : "open"
589
+ "data-downvoted": p(b[c.id]?.type === "negative"),
590
+ "data-state": W === null ? "closed" : "open"
589
591
  }
590
592
  };
591
593
  return /* @__PURE__ */ n(
592
- Jt,
594
+ ci,
593
595
  {
594
596
  "data-action": e,
595
- ...E[e],
596
- children: f[e],
597
+ ...k[e],
598
+ children: S[e],
597
599
  "aria-label": L[e],
598
- className: `${s} ${e}`,
599
- onClick: h(a, y[e]),
600
- ...o
600
+ className: `${o} ${e}`,
601
+ onClick: h(a, w[e]),
602
+ ...s
601
603
  }
602
604
  );
603
- }, Xt = i("div", {
605
+ }, di = i("div", {
604
606
  _id: "aiChatMessageSources"
605
- }), cs = (t) => {
606
- const { message: e } = b();
607
- return e.role !== "assistant" || !e.links?.length ? null : /* @__PURE__ */ n(Xt, { ...t });
608
- }, Zt = i("div", {
607
+ }), Mo = (t) => {
608
+ const { message: e } = _();
609
+ return e.role !== "assistant" || !e.links?.length ? null : /* @__PURE__ */ n(di, { ...t });
610
+ }, mi = i("div", {
609
611
  _id: "aiChatMessageSources__Header"
610
- }), ds = (t) => /* @__PURE__ */ n(Zt, { children: "Sources", ...t }), ei = i("div", {
612
+ }), Io = (t) => /* @__PURE__ */ n(mi, { children: "Sources", ...t }), li = i("div", {
611
613
  _id: "aiChatMessageSources__List"
612
- }), ms = (t) => {
613
- const { message: e } = b(), { children: a, ...s } = t, {
614
- baseSettings: { transformSource: o, organizationDisplayName: r },
614
+ }), fo = (t) => {
615
+ const { message: e } = _(), { children: a, ...o } = t, {
616
+ baseSettings: { transformSource: s, organizationDisplayName: r },
615
617
  aiChatSettings: { shouldOpenLinksInNewTab: c },
616
618
  searchSettings: { tabs: d }
617
619
  } = C();
618
620
  if (e.role !== "assistant") return null;
619
621
  const m = e.links.map((l) => {
620
- const u = nt(l, "chatSourceItem", {
622
+ const u = Ct(l, "chatSourceItem", {
621
623
  organizationDisplayName: r,
622
624
  tabs: d,
623
- transformSource: o
624
- }), v = u.shouldOpenInNewTab !== void 0 ? u.shouldOpenInNewTab : c;
625
- return { ...u, isExternal: v };
625
+ transformSource: s
626
+ }), b = u.shouldOpenInNewTab !== void 0 ? u.shouldOpenInNewTab : c;
627
+ return { ...u, isExternal: b };
626
628
  });
627
- return /* @__PURE__ */ n(ei, { children: M(a, m), ...s });
628
- }, ti = i(De, {
629
+ return /* @__PURE__ */ n(li, { children: M(a, m), ...o });
630
+ }, hi = i(qe, {
629
631
  _id: "aiChatMessageSourceItem"
630
- }), ls = (t) => {
631
- const { source: e, onClick: a, ...s } = t, { logEvent: o } = W(), { conversation: r } = O(), c = () => {
632
- o({
632
+ }), Eo = (t) => {
633
+ const { source: e, onClick: a, ...o } = t, { logEvent: s } = N(), { conversation: r } = O(), c = () => {
634
+ s({
633
635
  eventName: "assistant_source_item_clicked",
634
636
  properties: {
635
637
  conversation: r,
@@ -637,377 +639,377 @@ const ct = "__intro__", dt = i("div", {
637
639
  }
638
640
  });
639
641
  };
640
- return /* @__PURE__ */ n(We, { source: e, children: /* @__PURE__ */ n(
641
- ti,
642
+ return /* @__PURE__ */ n(Ge, { source: e, children: /* @__PURE__ */ n(
643
+ hi,
642
644
  {
643
645
  "data-type": e.type,
644
646
  appendToUrl: e.appendToUrl,
645
647
  isExternal: e.isExternal,
646
648
  "data-breadcrumbs": !!e.breadcrumbs?.length,
647
649
  onClick: h(a, c),
648
- ...s
650
+ ...o
649
651
  }
650
652
  ) });
651
- }, ii = i("div", {
653
+ }, ui = i("div", {
652
654
  _id: "aiChatMessageSourceItem__Breadcrumbs"
653
- }), hs = (t) => {
654
- const { source: e } = w();
655
- return e.breadcrumbs?.length ? /* @__PURE__ */ n(ii, { "data-type": e.type, ...t }) : null;
656
- }, us = i(A, {
655
+ }), So = (t) => {
656
+ const { source: e } = x();
657
+ return e.breadcrumbs?.length ? /* @__PURE__ */ n(ui, { "data-type": e.type, ...t }) : null;
658
+ }, ko = i(F, {
657
659
  _id: "aiChatMessageSourceItem__BreadcrumbIcon",
658
660
  iconKey: "breadcrumbSeparator"
659
- }), ai = i(B, {
661
+ }), Ci = i(f, {
660
662
  _id: "aiChatMessageSourceItem__Icon"
661
- }), Cs = (t) => {
662
- const { source: e } = w();
663
- return /* @__PURE__ */ n(ai, { iconSettings: e.icon, "data-type": e.type, ...t });
664
- }, ni = i("span", {
663
+ }), Bo = (t) => {
664
+ const { source: e } = x();
665
+ return /* @__PURE__ */ n(Ci, { iconSettings: e.icon, "data-type": e.type, ...t });
666
+ }, pi = i("span", {
665
667
  _id: "aiChatMessageSourceItem__Title"
666
- }), ps = (t) => {
667
- const { source: e } = w();
668
- return /* @__PURE__ */ n(ni, { "data-type": e.type, children: e.title, ...t });
669
- }, si = i("span", {
668
+ }), To = (t) => {
669
+ const { source: e } = x();
670
+ return /* @__PURE__ */ n(pi, { "data-type": e.type, children: e.title, ...t });
671
+ }, bi = i("span", {
670
672
  _id: "aiChatMessageSourceItem__Tag"
671
- }), vs = (t) => {
672
- const { source: e } = w();
673
- return /* @__PURE__ */ n(si, { "data-type": e.type, ...t });
674
- }, oi = i("span", {
673
+ }), yo = (t) => {
674
+ const { source: e } = x();
675
+ return /* @__PURE__ */ n(bi, { "data-type": e.type, ...t });
676
+ }, vi = i("span", {
675
677
  _id: "aiChatMessageSourceItem__Description"
676
- }), gs = (t) => {
677
- const { source: e } = w(), { children: a, ...s } = t, o = Ie(() => e.description ? Ze(e.description) : [], [e.description]);
678
- return o.length ? /* @__PURE__ */ n(
679
- oi,
678
+ }), wo = (t) => {
679
+ const { source: e } = x(), { children: a, ...o } = t, s = Ie(() => e.description ? dt(e.description) : [], [e.description]);
680
+ return s.length ? /* @__PURE__ */ n(
681
+ vi,
680
682
  {
681
683
  "data-type": e.type,
682
- children: M(a, o),
683
- ...s
684
+ children: M(a, s),
685
+ ...o
684
686
  }
685
687
  ) : null;
686
- }, ri = i("span", {
688
+ }, _i = i("span", {
687
689
  _id: "aiChatMessageSourceItem__DescriptionPart"
688
- }), bs = (t) => {
689
- const { part: e, ...a } = t, { source: s } = w();
690
+ }), xo = (t) => {
691
+ const { part: e, ...a } = t, { source: o } = x();
690
692
  return typeof e == "string" ? e : /* @__PURE__ */ n(
691
- ri,
693
+ _i,
692
694
  {
693
- "data-type": s.type,
695
+ "data-type": o.type,
694
696
  children: e.content,
695
697
  "data-highlighted": p(e.highlighted),
696
698
  ...a
697
699
  }
698
700
  );
699
- }, ci = i(A, {
701
+ }, gi = i(F, {
700
702
  _id: "aiChatMessageSourceItem__Indicator"
701
- }), _s = (t) => {
702
- const { source: e } = w();
703
+ }), Lo = (t) => {
704
+ const { source: e } = x();
703
705
  return /* @__PURE__ */ n(
704
- ci,
706
+ gi,
705
707
  {
706
708
  iconKey: e.isExternal ? "openLinkInNewTab" : "openLinkInSameTab",
707
709
  ...t
708
710
  }
709
711
  );
710
- }, As = i("div", {
712
+ }, Ho = i("div", {
711
713
  _id: "aiChatFooter"
712
- }), Ps = i("div", {
714
+ }), Do = i("div", {
713
715
  _id: "aiChatInput__Fieldset"
714
- }), Fs = i("div", {
716
+ }), Oo = i("div", {
715
717
  _id: "aiChatInput__Group"
716
- }), di = i("textarea", {
718
+ }), Fi = i("textarea", {
717
719
  _id: "aiChatInput"
718
- }), Ms = U(({ onChange: t, onKeyDown: e, ...a }, s) => {
719
- const { handleInputChange: o, handleInputKeyDown: r, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = g(), { aiChatSettings: u } = C(), v = le(
720
- s,
720
+ }), No = U(({ onChange: t, onKeyDown: e, ...a }, o) => {
721
+ const { handleInputChange: s, handleInputKeyDown: r, input: c, error: d, shouldAutoFocusInput: m, inputRef: l } = v(), { aiChatSettings: u } = C(), b = le(
722
+ o,
721
723
  l
722
724
  );
723
- return rt("chat", l, m), /* @__PURE__ */ n(
724
- di,
725
+ return vt("chat", l, m), /* @__PURE__ */ n(
726
+ Fi,
725
727
  {
726
728
  asChild: !0,
727
- ref: v,
729
+ ref: b,
728
730
  maxLength: 99999,
729
731
  placeholder: u.placeholder,
730
732
  value: c,
731
- onChange: h(t, o),
733
+ onChange: h(t, s),
732
734
  onKeyDown: h(e, r),
733
735
  disabled: !!d || u.isViewOnly,
734
736
  ...a,
735
737
  children: /* @__PURE__ */ n(ee, {})
736
738
  }
737
739
  );
738
- }), mi = i("button", {
740
+ }), Pi = i("button", {
739
741
  _id: "aiChatInput__SendButton"
740
- }), Is = (t) => {
741
- const { handleSubmit: e, isSubmitDisabled: a, error: s } = g(), { aiChatSettings: o } = C(), { onClick: r, ...c } = t;
742
+ }), Wo = (t) => {
743
+ const { handleSubmit: e, isSubmitDisabled: a, error: o } = v(), { aiChatSettings: s } = C(), { onClick: r, ...c } = t;
742
744
  return /* @__PURE__ */ n(
743
- mi,
745
+ Pi,
744
746
  {
745
747
  onClick: h(r, () => e()),
746
748
  "aria-label": "Send message",
747
- disabled: a || !!s || o.isViewOnly,
749
+ disabled: a || !!o || s.isViewOnly,
748
750
  ...c
749
751
  }
750
752
  );
751
- }, fs = i(A, {
753
+ }, Ro = i(F, {
752
754
  _id: "aiChatInput__SendButtonIcon",
753
755
  iconKey: "chatSubmit"
754
- }), li = i("div", {
756
+ }), Ai = i("div", {
755
757
  _id: "aiChatAttachmentsBar"
756
- }), Es = (t) => {
757
- const { selectedWorkflow: e } = g();
758
- return !e || !e.supportedInputs?.length ? null : /* @__PURE__ */ n(Oe, { children: /* @__PURE__ */ n(li, { ...t }) });
759
- }, hi = i("div", {
758
+ }), $o = (t) => {
759
+ const { selectedWorkflow: e } = v();
760
+ return !e || !e.supportedInputs?.length ? null : /* @__PURE__ */ n(je, { children: /* @__PURE__ */ n(Ai, { ...t }) });
761
+ }, Mi = i("div", {
760
762
  _id: "aiChatAttachmentsBar__List"
761
- }), Ss = (t) => {
762
- const { children: e, ...a } = t, { messageAttachments: s } = g();
763
- return /* @__PURE__ */ n(hi, { children: M(e, s), ...a });
764
- }, ui = i("div", {
763
+ }), Vo = (t) => {
764
+ const { children: e, ...a } = t, { messageAttachments: o } = v();
765
+ return /* @__PURE__ */ n(Mi, { children: M(e, o), ...a });
766
+ }, Ii = i("div", {
765
767
  _id: "aiChatAttachmentsBar__Attachment"
766
- }), ks = (t) => {
768
+ }), Qo = (t) => {
767
769
  const { attachment: e, ...a } = t;
768
- return /* @__PURE__ */ n(be, { attachment: e, children: /* @__PURE__ */ n(ui, { ...a }) });
769
- }, Ci = i(B, {
770
+ return /* @__PURE__ */ n(_e, { attachment: e, children: /* @__PURE__ */ n(Ii, { ...a }) });
771
+ }, fi = i(f, {
770
772
  _id: "aiChatAttachmentsBar__AttachmentIcon"
771
- }), Bs = (t) => {
773
+ }), Uo = (t) => {
772
774
  const { attachment: e } = D(), a = e.contentType?.attachmentIcon;
773
- return a ? /* @__PURE__ */ n(Ci, { iconSettings: a, ...t }) : null;
774
- }, pi = i("span", {
775
+ return a ? /* @__PURE__ */ n(fi, { iconSettings: a, ...t }) : null;
776
+ }, Ei = i("span", {
775
777
  _id: "aiChatAttachmentsBar__AttachmentTitle"
776
- }), Ts = (t) => {
778
+ }), Ko = (t) => {
777
779
  const { attachment: e } = D();
778
- return /* @__PURE__ */ n(pi, { children: e.title, ...t });
779
- }, vi = i("button", {
780
+ return /* @__PURE__ */ n(Ei, { children: e.title, ...t });
781
+ }, Si = i("button", {
780
782
  _id: "aiChatAttachmentsBar__AttachmentDelete"
781
- }), ys = (t) => {
782
- const { onClick: e, ...a } = t, { attachment: s } = D(), { setMessageAttachments: o } = g();
783
+ }), qo = (t) => {
784
+ const { onClick: e, ...a } = t, { attachment: o } = D(), { setMessageAttachments: s } = v();
783
785
  return /* @__PURE__ */ n(
784
- vi,
786
+ Si,
785
787
  {
786
788
  "aria-label": "Remove attachment",
787
- children: /* @__PURE__ */ n(A, { iconKey: "close" }),
789
+ children: /* @__PURE__ */ n(F, { iconKey: "close" }),
788
790
  onClick: h(e, () => {
789
- o((c) => c.filter((d) => d.id !== s.id));
791
+ s((c) => c.filter((d) => d.id !== o.id));
790
792
  }),
791
793
  ...a
792
794
  }
793
795
  );
794
- }, ws = i("div", {
796
+ }, jo = i("div", {
795
797
  _id: "aiChatAttachmentsBar__Actions"
796
- }), Hs = i(k.Tooltip, {
798
+ }), Go = i(T.Tooltip, {
797
799
  _id: "aiChatAttachmentsBar__InfoTip",
798
800
  delayDuration: 0
799
- }), Ls = i(k.Trigger, {
801
+ }), zo = i(T.Trigger, {
800
802
  _id: "aiChatAttachmentsBar__InfoTipIcon",
801
- children: /* @__PURE__ */ n(A, { iconKey: "info" })
802
- }), gi = i(k.Arrow, {
803
+ children: /* @__PURE__ */ n(F, { iconKey: "info" })
804
+ }), ki = i(T.Arrow, {
803
805
  _id: "aiChatAttachmentsBar__InfoTipArrow"
804
- }), xs = i(k.Content, {
806
+ }), Yo = i(T.Content, {
805
807
  _id: "aiChatAttachmentsBar__InfoTipText",
806
808
  side: "bottom",
807
809
  sideOffset: 3,
808
810
  align: "center",
809
- children: /* @__PURE__ */ V(Z, { children: [
810
- /* @__PURE__ */ n(gi, {}),
811
+ children: /* @__PURE__ */ Q(Z, { children: [
812
+ /* @__PURE__ */ n(ki, {}),
811
813
  "Attachments will be kept in context for the entire conversation."
812
814
  ] })
813
- }), bi = i("div", {
815
+ }), Bi = i("div", {
814
816
  _id: "aiChatAttachmentsBar__Inputs"
815
- }), Ds = (t) => {
816
- const { children: e, ...a } = t, { selectedWorkflow: s } = g();
817
- return s?.supportedInputs ? /* @__PURE__ */ n(
818
- bi,
817
+ }), Jo = (t) => {
818
+ const { children: e, ...a } = t, { selectedWorkflow: o } = v();
819
+ return o?.supportedInputs ? /* @__PURE__ */ n(
820
+ Bi,
819
821
  {
820
- children: M(e, s.supportedInputs),
822
+ children: M(e, o.supportedInputs),
821
823
  ...a
822
824
  }
823
825
  ) : null;
824
- }, _i = i("button", {
826
+ }, Ti = i("button", {
825
827
  _id: "aiChatAttachmentsBar__Input"
826
- }), Os = (t) => {
827
- const { input: e, onClick: a, ...s } = t, { selectedWorkflow: o, messageAttachments: r, setMessageAttachments: c } = g(), { selectInput: d, onOpen: m } = F(), l = () => {
828
+ }), Xo = (t) => {
829
+ const { input: e, onClick: a, ...o } = t, { selectedWorkflow: s, messageAttachments: r, setMessageAttachments: c } = v(), { selectInput: d, onOpen: m } = A(), l = () => {
828
830
  if (e.type === "FUNCTIONAL_MULTI_ATTACHMENT")
829
- return o ? e.onInvoke(o, e, c, [...r]) : void 0;
831
+ return s ? e.onInvoke(s, e, c, [...r]) : void 0;
830
832
  d(e), m();
831
833
  };
832
834
  return /* @__PURE__ */ n(
833
- _i,
835
+ Ti,
834
836
  {
835
837
  children: e.displayName,
836
838
  onClick: h(a, l),
837
- ...s
839
+ ...o
838
840
  }
839
841
  );
840
- }, Ai = i(oe, {
842
+ }, yi = i(se, {
841
843
  _id: "aiChatAttachmentsBar__Modal"
842
- }), Ws = (t) => {
843
- const { onOpenChange: e, ...a } = t, { selectInput: s, isOpen: o, onClose: r, selectedInput: c } = F();
844
+ }), Zo = (t) => {
845
+ const { onOpenChange: e, ...a } = t, { selectInput: o, isOpen: s, onClose: r, selectedInput: c } = A();
844
846
  return /* @__PURE__ */ n(
845
- Ai,
847
+ yi,
846
848
  {
847
- open: o && c !== null,
849
+ open: s && c !== null,
848
850
  onOpenChange: h(e, (m) => {
849
- m || (r(), s(null));
851
+ m || (r(), o(null));
850
852
  }),
851
853
  ...a
852
854
  }
853
855
  );
854
- }, Ns = i(ie, {
856
+ }, es = i(ie, {
855
857
  _id: "aiChatAttachmentsBar__ModalOverlay"
856
- }), Rs = i(ae, {
858
+ }), ts = i(ae, {
857
859
  _id: "aiChatAttachmentsBar__ModalContent",
858
860
  "aria-describedby": void 0
859
- }), $s = i("div", {
861
+ }), is = i("div", {
860
862
  _id: "aiChatAttachmentsBar__ModalHeader"
861
- }), Pi = i(se, {
863
+ }), wi = i(oe, {
862
864
  _id: "aiChatAttachmentsBar__ModalHeading"
863
- }), Qs = (t) => {
864
- const { selectedInput: e } = F(), a = `Add ${e?.displayName}`;
865
- return /* @__PURE__ */ n(Pi, { children: a, ...t });
866
- }, Fi = i("span", {
865
+ }), as = (t) => {
866
+ const { selectedInput: e } = A(), a = `Add ${e?.displayName}`;
867
+ return /* @__PURE__ */ n(wi, { children: a, ...t });
868
+ }, xi = i("span", {
867
869
  _id: "aiChatAttachmentsBar__ModalDescription"
868
- }), Vs = (t) => {
869
- const { selectedInput: e } = F(), a = e?.workflowModalProps?.modalHelpText;
870
- return a ? /* @__PURE__ */ n(Fi, { children: a, ...t }) : null;
871
- }, Mi = i("div", {
870
+ }), ns = (t) => {
871
+ const { selectedInput: e } = A(), a = e?.workflowModalProps?.modalHelpText;
872
+ return a ? /* @__PURE__ */ n(xi, { children: a, ...t }) : null;
873
+ }, Li = i("div", {
872
874
  _id: "aiChatAttachmentsBar__ModalHelp"
873
- }), Us = (t) => {
874
- const { children: e, ...a } = t, { selectedInput: s } = F(), o = s?.workflowModalProps?.modalHelpElement;
875
- return o ? /* @__PURE__ */ n(Mi, { asChild: !e, children: e || o, ...a }) : null;
876
- }, Ks = i(ne, {
875
+ }), os = (t) => {
876
+ const { children: e, ...a } = t, { selectedInput: o } = A(), s = o?.workflowModalProps?.modalHelpElement;
877
+ return s ? /* @__PURE__ */ n(Li, { asChild: !e, children: e || s, ...a }) : null;
878
+ }, ss = i(ne, {
877
879
  _id: "aiChatAttachmentsBar__ModalClose",
878
- children: /* @__PURE__ */ n(A, { iconKey: "close" })
879
- }), qs = i("div", {
880
+ children: /* @__PURE__ */ n(F, { iconKey: "close" })
881
+ }), rs = i("div", {
880
882
  _id: "aiChatAttachmentsBar__ModalBody"
881
- }), Ii = i("form", {
883
+ }), Hi = i("form", {
882
884
  _id: "aiChatAttachmentsBar__Form"
883
- }), js = (t) => {
884
- const { onSubmit: e, ...a } = t, { form: s } = F();
885
+ }), cs = (t) => {
886
+ const { onSubmit: e, ...a } = t, { form: o } = A();
885
887
  return /* @__PURE__ */ n(
886
- Ii,
888
+ Hi,
887
889
  {
888
- onSubmit: h(e, s.onSubmit),
890
+ onSubmit: h(e, o.onSubmit),
889
891
  ...a
890
892
  }
891
893
  );
892
- }, Gs = i("div", {
894
+ }, ds = i("div", {
893
895
  _id: "aiChatAttachmentsBar__FormTitle",
894
896
  role: "group"
895
- }), fi = i("label", {
897
+ }), Di = i("label", {
896
898
  _id: "aiChatAttachmentsBar__FormTitleLabel"
897
- }), zs = (t) => {
898
- const { form: e, selectedInput: a } = F();
899
+ }), ms = (t) => {
900
+ const { form: e, selectedInput: a } = A();
899
901
  return /* @__PURE__ */ n(
900
- fi,
902
+ Di,
901
903
  {
902
904
  htmlFor: `${a?.id}-title`,
903
905
  children: e.labels.title,
904
906
  ...t
905
907
  }
906
908
  );
907
- }, Ei = i("input", {
909
+ }, Oi = i("input", {
908
910
  _id: "aiChatAttachmentsBar__FormTitleInput"
909
- }), Ys = (t) => {
910
- const { onChange: e, ...a } = t, { form: s, selectedInput: o } = F();
911
+ }), ls = (t) => {
912
+ const { onChange: e, ...a } = t, { form: o, selectedInput: s } = A();
911
913
  return /* @__PURE__ */ n(
912
- Ei,
914
+ Oi,
913
915
  {
914
916
  name: "title",
915
- value: s.data.title,
916
- id: `${o?.id}-title`,
917
- "data-invalid": p(!!s.errors.title),
918
- "aria-invalid": !!s.errors.title,
919
- onChange: h(e, s.onChange),
917
+ value: o.data.title,
918
+ id: `${s?.id}-title`,
919
+ "data-invalid": p(!!o.errors.title),
920
+ "aria-invalid": !!o.errors.title,
921
+ onChange: h(e, o.onChange),
920
922
  ...a
921
923
  }
922
924
  );
923
- }, Si = i("span", {
925
+ }, Ni = i("span", {
924
926
  _id: "aiChatAttachmentsBar__FormTitleError"
925
- }), Js = (t) => {
926
- const { form: e } = F();
927
+ }), hs = (t) => {
928
+ const { form: e } = A();
927
929
  return e.errors.title ? /* @__PURE__ */ n(
928
- Si,
930
+ Ni,
929
931
  {
930
932
  "aria-live": "polite",
931
933
  children: e.errors.title,
932
934
  ...t
933
935
  }
934
936
  ) : null;
935
- }, Xs = i("div", {
937
+ }, us = i("div", {
936
938
  _id: "aiChatAttachmentsBar__FormTitle",
937
939
  role: "group"
938
- }), ki = i("label", {
940
+ }), Wi = i("label", {
939
941
  _id: "aiChatAttachmentsBar__FormContentLabel"
940
- }), Zs = (t) => {
941
- const { form: e, selectedInput: a } = F();
942
+ }), Cs = (t) => {
943
+ const { form: e, selectedInput: a } = A();
942
944
  return /* @__PURE__ */ n(
943
- ki,
945
+ Wi,
944
946
  {
945
947
  htmlFor: `${a?.id}-content`,
946
948
  children: e.labels.content,
947
949
  ...t
948
950
  }
949
951
  );
950
- }, Bi = i("textarea", {
952
+ }, Ri = i("textarea", {
951
953
  _id: "aiChatAttachmentsBar__FormTitleInput"
952
- }), eo = (t) => {
953
- const { onChange: e, ...a } = t, { form: s, selectedInput: o } = F();
954
+ }), ps = (t) => {
955
+ const { onChange: e, ...a } = t, { form: o, selectedInput: s } = A();
954
956
  return /* @__PURE__ */ n(
955
- Bi,
957
+ Ri,
956
958
  {
957
959
  asChild: !0,
958
960
  rows: 4,
959
961
  name: "content",
960
- value: s.data.content,
961
- id: `${o?.id}-content`,
962
- "data-invalid": p(!!s.errors.content),
963
- "aria-invalid": !!s.errors.content,
964
- onChange: h(e, s.onChange),
962
+ value: o.data.content,
963
+ id: `${s?.id}-content`,
964
+ "data-invalid": p(!!o.errors.content),
965
+ "aria-invalid": !!o.errors.content,
966
+ onChange: h(e, o.onChange),
965
967
  ...a,
966
968
  children: /* @__PURE__ */ n(ee, { maxRows: 10 })
967
969
  }
968
970
  );
969
- }, Ti = i("span", {
971
+ }, $i = i("span", {
970
972
  _id: "aiChatAttachmentsBar__FormContentError"
971
- }), to = (t) => {
972
- const { form: e } = F();
973
+ }), bs = (t) => {
974
+ const { form: e } = A();
973
975
  return e.errors.content ? /* @__PURE__ */ n(
974
- Ti,
976
+ $i,
975
977
  {
976
978
  "aria-live": "polite",
977
979
  children: e.errors.content,
978
980
  ...t
979
981
  }
980
982
  ) : null;
981
- }, io = i("button", {
983
+ }, vs = i("button", {
982
984
  _id: "aiChatAttachmentsBar__FormSubmitButton",
983
985
  children: "Upload",
984
986
  type: "submit"
985
- }), ao = i("div", {
987
+ }), _s = i("div", {
986
988
  _id: "aiChatActionBar"
987
- }), no = i("div", {
989
+ }), gs = i("div", {
988
990
  _id: "aiChat__ChatActions"
989
- }), so = i("div", {
991
+ }), Fs = i("div", {
990
992
  _id: "aiChatTagline__Container"
991
- }), oo = i("span", {
993
+ }), Ps = i("span", {
992
994
  _id: "aiChatTagline__Text",
993
995
  children: "Powered by"
994
- }), ro = i(Ke, {
996
+ }), As = i(tt, {
995
997
  _id: "aiChatTagline__Logo"
996
- }), co = i("a", {
998
+ }), Ms = i("a", {
997
999
  _id: "aiChatTagline__BrandName",
998
1000
  children: "inkeep",
999
1001
  href: "https://www.inkeep.com/",
1000
1002
  target: "_blank",
1001
1003
  rel: "noopener noreferrer"
1002
- }), yi = i(k.Trigger, {
1004
+ }), Vi = i(T.Trigger, {
1003
1005
  _id: "aiChat__ChatAction"
1004
1006
  }), Pe = (t) => {
1005
- const { action: e, onClick: a, className: s, ...o } = t, { clear: r, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = g(), { conversation: u } = O(), { aiChatSettings: v, baseSettings: I } = C(), { logEvent: T } = W(), [N, G] = X(), [R, z] = X();
1007
+ const { action: e, onClick: a, className: o, ...s } = t, { clear: r, stop: c, isLoading: d, messages: m, selectedWorkflow: l } = v(), { conversation: u } = O(), { aiChatSettings: b, baseSettings: I } = C(), { logEvent: y } = N(), [W, G] = X(), [R, z] = X();
1006
1008
  if ({
1007
1009
  help: !1,
1008
- copy: m.length === 0 || !v.isCopyChatButtonVisible || d,
1009
- share: m.length === 0 || !v.isShareButtonVisible || !u.id || !!l || d,
1010
- clear: m.length === 0 || v.isViewOnly || d,
1010
+ copy: m.length === 0 || !b.isCopyChatButtonVisible || d,
1011
+ share: m.length === 0 || !b.isShareButtonVisible || !u.id || !!l || d,
1012
+ clear: m.length === 0 || b.isViewOnly || d,
1011
1013
  stop: !d
1012
1014
  }[e]) return null;
1013
1015
  const J = {
@@ -1015,15 +1017,15 @@ const ct = "__intro__", dt = i("div", {
1015
1017
  help: () => {
1016
1018
  },
1017
1019
  copy: () => {
1018
- const $ = m.map((y) => {
1019
- const L = `**${y.role === "assistant" ? "AI Assistant" : "User"}**`, f = de(y), E = Ve(y.metadata?.attributes?.attachments), Q = E ? `
1020
+ const $ = m.map((w) => {
1021
+ const L = `**${w.role === "assistant" ? "AI Assistant" : "User"}**`, S = de(w), k = Ze(w.metadata?.attributes?.attachments), V = k ? `
1020
1022
 
1021
1023
  **Attachments**
1022
1024
 
1023
- ${E}` : "";
1025
+ ${k}` : "";
1024
1026
  return `${L}
1025
1027
 
1026
- ${f}${Q}`;
1028
+ ${S}${V}`;
1027
1029
  }).join(`
1028
1030
 
1029
1031
  ---
@@ -1036,28 +1038,28 @@ ${f}${Q}`;
1036
1038
  visibility: "public",
1037
1039
  tags: [],
1038
1040
  userProperties: {},
1039
- messages: u.messages.map((E) => ({
1040
- ...E,
1041
+ messages: u.messages.map((k) => ({
1042
+ ...k,
1041
1043
  createdAt: void 0,
1042
1044
  updatedAt: void 0,
1043
- id: Date.now().toString() + E.id,
1045
+ id: Date.now().toString() + k.id,
1044
1046
  conversationId: void 0
1045
1047
  }))
1046
- }, { apiKey: y, analyticsApiBaseUrl: L } = I, f = await at(
1048
+ }, { apiKey: w, analyticsApiBaseUrl: L } = I, S = await ut(
1047
1049
  "",
1048
1050
  $,
1049
- y,
1051
+ w,
1050
1052
  L
1051
1053
  );
1052
- if (f) {
1053
- const Q = `${v.shareChatUrlBasePath}?${Ne}=${f?.id}`;
1054
- z(Q), T({
1054
+ if (S) {
1055
+ const V = `${b.shareChatUrlBasePath}?${ze}=${S?.id}`;
1056
+ z(V), y({
1055
1057
  eventName: "chat_share_button_clicked",
1056
1058
  properties: {
1057
- sharedConversationId: f?.id,
1059
+ sharedConversationId: S?.id,
1058
1060
  originalConversationId: u.id,
1059
- sharedChatUrl: Q,
1060
- conversation: f
1061
+ sharedChatUrl: V,
1062
+ conversation: S
1061
1063
  }
1062
1064
  });
1063
1065
  }
@@ -1065,57 +1067,57 @@ ${f}${Q}`;
1065
1067
  clear: r,
1066
1068
  stop: c
1067
1069
  }, Ce = {
1068
- copy: N,
1070
+ copy: W,
1069
1071
  share: R
1070
1072
  };
1071
- return /* @__PURE__ */ n(k.Tooltip, { delayDuration: 0, open: Ce[e], children: /* @__PURE__ */ n(
1072
- yi,
1073
+ return /* @__PURE__ */ n(T.Tooltip, { delayDuration: 0, open: Ce[e], children: /* @__PURE__ */ n(
1074
+ Vi,
1073
1075
  {
1074
1076
  "data-type": e,
1075
- "data-copied": p(N || R),
1076
- className: `${s} ${e}`,
1077
- children: /* @__PURE__ */ n(Hi, { action: e }),
1077
+ "data-copied": p(W || R),
1078
+ className: `${o} ${e}`,
1079
+ children: /* @__PURE__ */ n(Ui, { action: e }),
1078
1080
  onClick: h(a, J[e]),
1079
- ...o
1081
+ ...s
1080
1082
  }
1081
1083
  ) });
1082
- }, wi = i("span", {
1084
+ }, Qi = i("span", {
1083
1085
  _id: "aiChat__ChatActionLabel"
1084
- }), Hi = (t) => {
1085
- const { action: e, ...a } = t, { aiChatSettings: s } = C(), o = s.toolbarButtonLabels ?? {}, r = {
1086
- help: o.getHelp ?? "Get Help",
1087
- copy: o.copyChat ?? "Copy",
1088
- share: o.share ?? "Share",
1089
- clear: o.clear ?? "Clear",
1090
- stop: o.stop ?? "Stop"
1086
+ }), Ui = (t) => {
1087
+ const { action: e, ...a } = t, { aiChatSettings: o } = C(), s = o.toolbarButtonLabels ?? {}, r = {
1088
+ help: s.getHelp ?? "Get Help",
1089
+ copy: s.copyChat ?? "Copy",
1090
+ share: s.share ?? "Share",
1091
+ clear: s.clear ?? "Clear",
1092
+ stop: s.stop ?? "Stop"
1091
1093
  };
1092
- return /* @__PURE__ */ n(wi, { children: r[e], ...a });
1093
- }, Li = i(k.TooltipContent, {
1094
+ return /* @__PURE__ */ n(Qi, { children: r[e], ...a });
1095
+ }, Ki = i(T.TooltipContent, {
1094
1096
  _id: "aiChat__ChatActionFeeback"
1095
- }), mo = (t) => {
1096
- const { action: e, children: a, ...s } = t, o = {
1097
+ }), Is = (t) => {
1098
+ const { action: e, children: a, ...o } = t, s = {
1097
1099
  copy: "Copied!",
1098
1100
  share: "Link copied!"
1099
1101
  };
1100
- return /* @__PURE__ */ V(Li, { sideOffset: 5, ...s, children: [
1101
- /* @__PURE__ */ n(k.Arrow, {}),
1102
- a || o[e]
1102
+ return /* @__PURE__ */ Q(Ki, { sideOffset: 5, ...o, children: [
1103
+ /* @__PURE__ */ n(T.Arrow, {}),
1104
+ a || s[e]
1103
1105
  ] });
1104
- }, xi = i(S.Root, {
1106
+ }, qi = i(B.Root, {
1105
1107
  _id: "aiChatHelpActions"
1106
- }), lo = (t) => {
1107
- const { children: e, ...a } = t, { aiChatSettings: s } = C(), { getHelpOptions: o } = s;
1108
- if (!o || (o ?? []).length === 0)
1108
+ }), fs = (t) => {
1109
+ const { children: e, ...a } = t, { aiChatSettings: o } = C(), { getHelpOptions: s } = o;
1110
+ if (!s || (s ?? []).length === 0)
1109
1111
  return null;
1110
- const { _pinned: r, _unpinned: c } = o.reduce(
1111
- (u, v) => {
1112
- const I = v.isPinnedToToolbar ? "_pinned" : "_unpinned";
1113
- return { ...u, [I]: [...u[I], v] };
1112
+ const { _pinned: r, _unpinned: c } = s.reduce(
1113
+ (u, b) => {
1114
+ const I = b.isPinnedToToolbar ? "_pinned" : "_unpinned";
1115
+ return { ...u, [I]: [...u[I], b] };
1114
1116
  },
1115
1117
  { _pinned: [], _unpinned: [] }
1116
- ), d = c.length === 1 ? [...r, c[0]] : r, m = c.length === 1 ? [] : c, l = Ge();
1117
- return /* @__PURE__ */ n(ze, { value: l, children: /* @__PURE__ */ n(
1118
- xi,
1118
+ ), d = c.length === 1 ? [...r, c[0]] : r, m = c.length === 1 ? [] : c, l = nt();
1119
+ return /* @__PURE__ */ n(ot, { value: l, children: /* @__PURE__ */ n(
1120
+ qi,
1119
1121
  {
1120
1122
  open: l.open,
1121
1123
  onOpenChange: l.setOpen,
@@ -1123,36 +1125,36 @@ ${f}${Q}`;
1123
1125
  ...a
1124
1126
  }
1125
1127
  ) });
1126
- }, Di = i(Pe, {
1128
+ }, ji = i(Pe, {
1127
1129
  _id: "aiChatHelpAction",
1128
1130
  action: "help"
1129
- }), Oi = i("a", {
1131
+ }), Gi = i("a", {
1130
1132
  _id: "aiChatHelpAction",
1131
1133
  target: "_blank",
1132
1134
  rel: "noreferrer"
1133
- }), ho = (t) => {
1134
- const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = me(e), c = e.action.type, d = {
1135
+ }), Es = (t) => {
1136
+ const { action: e, onClick: a, ...o } = t, { handleAction: s, logHelpAction: r } = me(e), c = e.action.type, d = {
1135
1137
  "aria-label": e.name,
1136
1138
  "data-name": e.name,
1137
1139
  children: e.name,
1138
1140
  onClick: h(a, () => {
1139
- o(), r();
1141
+ s(), r();
1140
1142
  }),
1141
1143
  // biome-ignore lint/suspicious/noExplicitAny: <explanation>
1142
- ...s
1144
+ ...o
1143
1145
  };
1144
- return c === "open_link" ? /* @__PURE__ */ n(Oi, { href: e.action.url, ...d }) : /* @__PURE__ */ n(Di, { ...d });
1145
- }, Wi = i(S.Trigger, {
1146
+ return c === "open_link" ? /* @__PURE__ */ n(Gi, { href: e.action.url, ...d }) : /* @__PURE__ */ n(ji, { ...d });
1147
+ }, zi = i(B.Trigger, {
1146
1148
  _id: "aiChatHelpActions__Trigger"
1147
- }), uo = P(
1149
+ }), Ss = P(
1148
1150
  (t) => {
1149
1151
  const { aiChatSettings: e } = C();
1150
- return /* @__PURE__ */ n(Pe, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(Wi, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1152
+ return /* @__PURE__ */ n(Pe, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ n(zi, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
1151
1153
  }
1152
- ), Ni = i(S.Content, {
1154
+ ), Yi = i(B.Content, {
1153
1155
  _id: "aiChatHelpActions__Menu"
1154
- }), Co = (t) => /* @__PURE__ */ n(
1155
- Ni,
1156
+ }), ks = (t) => /* @__PURE__ */ n(
1157
+ Yi,
1156
1158
  {
1157
1159
  side: "top",
1158
1160
  sideOffset: 8,
@@ -1160,11 +1162,11 @@ ${f}${Q}`;
1160
1162
  alignOffset: -10,
1161
1163
  ...t
1162
1164
  }
1163
- ), po = i(S.Arrow, {
1165
+ ), Bs = i(B.Arrow, {
1164
1166
  _id: "aiChatHelpActions__MenuArrow"
1165
- }), vo = (t) => {
1166
- const { action: e, onClick: a, ...s } = t, { handleAction: o, logHelpAction: r } = me(e), { setOpen: c } = Ye(), d = () => {
1167
- o({
1167
+ }), Ts = (t) => {
1168
+ const { action: e, onClick: a, ...o } = t, { handleAction: s, logHelpAction: r } = me(e), { setOpen: c } = st(), d = () => {
1169
+ s({
1168
1170
  onOpenForm: () => c(!1)
1169
1171
  }), r();
1170
1172
  }, m = e.action.type, l = i(m === "open_link" ? "a" : "button", {
@@ -1180,154 +1182,154 @@ ${f}${Q}`;
1180
1182
  },
1181
1183
  onClick: h(a, d)
1182
1184
  });
1183
- return /* @__PURE__ */ n(l, { ...s });
1184
- }, Ri = i(B, {
1185
+ return /* @__PURE__ */ n(l, { ...o });
1186
+ }, Ji = i(f, {
1185
1187
  _id: "aiChatHelpActions_MenuItemIcon"
1186
- }), go = (t) => {
1188
+ }), ys = (t) => {
1187
1189
  const { action: e, ...a } = t;
1188
- return e.icon ? /* @__PURE__ */ n(Ri, { iconSettings: e.icon, ...a }) : null;
1189
- }, $i = i(oe, {
1190
+ return e.icon ? /* @__PURE__ */ n(Ji, { iconSettings: e.icon, ...a }) : null;
1191
+ }, Xi = i(se, {
1190
1192
  _id: "aiChatFeedbackModal"
1191
- }), bo = (t) => {
1192
- const { onOpenChange: e, ...a } = t, { currentFeedback: s, setCurrentFeedback: o } = re();
1193
+ }), ws = (t) => {
1194
+ const { onOpenChange: e, ...a } = t, { currentFeedback: o, setCurrentFeedback: s } = re();
1193
1195
  return /* @__PURE__ */ n(
1194
- $i,
1196
+ Xi,
1195
1197
  {
1196
- open: s !== null,
1197
- onOpenChange: h(e, () => o(null)),
1198
+ open: o !== null,
1199
+ onOpenChange: h(e, () => s(null)),
1198
1200
  ...a
1199
1201
  }
1200
1202
  );
1201
- }, _o = i(ie, {
1203
+ }, xs = i(ie, {
1202
1204
  _id: "aiChatFeedbackModal__Overlay"
1203
- }), Ao = i(ae, {
1205
+ }), Ls = i(ae, {
1204
1206
  _id: "aiChatFeedbackModal__Content",
1205
1207
  "aria-describedby": void 0
1206
- }), Po = i(se, {
1208
+ }), Hs = i(oe, {
1207
1209
  _id: "aiChatFeedbackModal__Header",
1208
1210
  children: "Help improve my answers!"
1209
- }), Fo = i(ne, {
1211
+ }), Ds = i(ne, {
1210
1212
  _id: "aiChatFeedbackModal__Close",
1211
- children: /* @__PURE__ */ n(A, { iconKey: "close" })
1212
- }), Mo = i("div", {
1213
+ children: /* @__PURE__ */ n(F, { iconKey: "close" })
1214
+ }), Os = i("div", {
1213
1215
  _id: "aiChatFeedbackModal__Body"
1214
- }), Qi = i("form", {
1216
+ }), Zi = i("form", {
1215
1217
  _id: "aiChatFeedbackForm"
1216
- }), Io = (t) => {
1217
- const { onSubmit: e, ...a } = t, { submitNegativeFeedback: s, currentFeedback: o, setCurrentFeedback: r } = re();
1218
- return /* @__PURE__ */ n(Qi, { onSubmit: h(e, (d) => {
1218
+ }), Ns = (t) => {
1219
+ const { onSubmit: e, ...a } = t, { submitNegativeFeedback: o, currentFeedback: s, setCurrentFeedback: r } = re();
1220
+ return /* @__PURE__ */ n(Zi, { onSubmit: h(e, (d) => {
1219
1221
  d.preventDefault();
1220
1222
  const m = d.target, l = new FormData(m), u = Object.fromEntries(l.entries());
1221
- o && (s(o, u), r(null));
1223
+ s && (o(s, u), r(null));
1222
1224
  }), ...a });
1223
- }, Vi = i("div", {
1225
+ }, ea = i("div", {
1224
1226
  _id: "aiChatFeedbackItem"
1225
- }), fo = (t) => {
1227
+ }), Ws = (t) => {
1226
1228
  const { name: e, ...a } = t;
1227
- return /* @__PURE__ */ n(Qe, { name: e, children: /* @__PURE__ */ n(Vi, { ...a }) });
1228
- }, Ui = i(K.Root, {
1229
+ return /* @__PURE__ */ n(Xe, { name: e, children: /* @__PURE__ */ n(ea, { ...a }) });
1230
+ }, ta = i(K.Root, {
1229
1231
  _id: "aiChatFeedbackItem__Checkbox"
1230
- }), Eo = (t) => {
1231
- const { name: e, focusItem: a } = ce(), { onCheckedChange: s, ...o } = t, r = (c) => {
1232
+ }), Rs = (t) => {
1233
+ const { name: e, focusItem: a } = ce(), { onCheckedChange: o, ...s } = t, r = (c) => {
1232
1234
  c && a?.current?.focus();
1233
1235
  };
1234
1236
  return /* @__PURE__ */ n(
1235
- Ui,
1237
+ ta,
1236
1238
  {
1237
1239
  id: `feedback-${e}`,
1238
1240
  name: e,
1239
- onCheckedChange: h(s, r),
1240
- ...o
1241
+ onCheckedChange: h(o, r),
1242
+ ...s
1241
1243
  }
1242
1244
  );
1243
- }, So = i(K.Indicator, {
1245
+ }, $s = i(K.Indicator, {
1244
1246
  _id: "aiChatFeedbackItem__CheckboxIndicator",
1245
- children: /* @__PURE__ */ n(_e, {})
1246
- }), Ki = i("label", {
1247
+ children: /* @__PURE__ */ n(ge, {})
1248
+ }), ia = i("label", {
1247
1249
  _id: "aiChatFeedbackItem__Label"
1248
- }), ko = (t) => {
1250
+ }), Vs = (t) => {
1249
1251
  const { name: e } = ce(), a = {
1250
1252
  unrelated_response: "Didn't answer my question",
1251
1253
  inaccurate_statement: "Inaccurate statement",
1252
1254
  inaccurate_code_snippet: "Inaccurate code snippet",
1253
1255
  irrelevant_citations: "Irrelevant citations"
1254
1256
  };
1255
- return /* @__PURE__ */ n(Ki, { htmlFor: `feedback-${e}`, children: a[e], ...t });
1256
- }, qi = i("textarea", {
1257
+ return /* @__PURE__ */ n(ia, { htmlFor: `feedback-${e}`, children: a[e], ...t });
1258
+ }, aa = i("textarea", {
1257
1259
  _id: "aiChatFeedbackItem__Description",
1258
1260
  placeholder: "Please describe"
1259
- }), Bo = (t) => {
1261
+ }), Qs = (t) => {
1260
1262
  const { name: e, focusItem: a } = ce();
1261
1263
  return /* @__PURE__ */ n(
1262
- qi,
1264
+ aa,
1263
1265
  {
1264
1266
  ref: a,
1265
1267
  name: `${e}:description`,
1266
1268
  ...t
1267
1269
  }
1268
1270
  );
1269
- }, To = i("button", {
1271
+ }, Us = i("button", {
1270
1272
  _id: "aiChatFeedbackForm__SubmitButton",
1271
1273
  children: "Submit",
1272
1274
  type: "submit"
1273
- }), ji = i("div", {
1275
+ }), na = i("div", {
1274
1276
  _id: "aiChatForm__Wrapper"
1275
- }), yo = (t) => {
1276
- const { form: e } = _();
1277
- return e ? /* @__PURE__ */ n(ji, { ...t }) : null;
1278
- }, Gi = i("form", {
1277
+ }), Ks = (t) => {
1278
+ const { form: e } = g();
1279
+ return e ? /* @__PURE__ */ n(na, { ...t }) : null;
1280
+ }, oa = i("form", {
1279
1281
  _id: "aiChatForm"
1280
- }), wo = (t) => {
1281
- const { onSubmit: e, ...a } = t, { handleSubmit: s, isSuccess: o } = _();
1282
- return o ? null : /* @__PURE__ */ n(Gi, { onSubmit: h(e, s), ...a });
1283
- }, zi = i("button", {
1282
+ }), qs = (t) => {
1283
+ const { onSubmit: e, ...a } = t, { handleSubmit: o, isSuccess: s } = g();
1284
+ return s ? null : /* @__PURE__ */ n(oa, { onSubmit: h(e, o), ...a });
1285
+ }, sa = i("button", {
1284
1286
  _id: "aiChatForm__Close",
1285
- children: /* @__PURE__ */ n(A, { iconKey: "close" })
1286
- }), Ho = (t) => {
1287
- const { onClick: e, ...a } = t, { closeForm: s } = _();
1288
- return /* @__PURE__ */ n(zi, { onClick: h(e, s), ...a });
1289
- }, Lo = i("div", {
1287
+ children: /* @__PURE__ */ n(F, { iconKey: "close" })
1288
+ }), js = (t) => {
1289
+ const { onClick: e, ...a } = t, { closeForm: o } = g();
1290
+ return /* @__PURE__ */ n(sa, { onClick: h(e, o), ...a });
1291
+ }, Gs = i("div", {
1290
1292
  _id: "aiChatForm__Header"
1291
- }), Yi = i("h2", {
1293
+ }), ra = i("h2", {
1292
1294
  _id: "aiChatForm__Heading"
1293
- }), xo = (t) => {
1294
- const { form: e } = _();
1295
- return e?.heading ? /* @__PURE__ */ n(Yi, { children: e.heading, ...t }) : null;
1296
- }, Ji = i(q, {
1295
+ }), zs = (t) => {
1296
+ const { form: e } = g();
1297
+ return e?.heading ? /* @__PURE__ */ n(ra, { children: e.heading, ...t }) : null;
1298
+ }, ca = i(q, {
1297
1299
  _id: "aiChatForm__Description"
1298
- }), Do = (t) => {
1299
- const { form: e } = _();
1300
- return e?.description ? /* @__PURE__ */ n(Ji, { children: e.description, ...t }) : null;
1301
- }, Xi = i("div", {
1300
+ }), Ys = (t) => {
1301
+ const { form: e } = g();
1302
+ return e?.description ? /* @__PURE__ */ n(ca, { shouldOpenLinksInNewTab: !0, children: e.description, ...t }) : null;
1303
+ }, da = i("div", {
1302
1304
  _id: "aiChatForm__Content"
1303
- }), Oo = (t) => {
1304
- const { children: e, ...a } = t, { fields: s = [] } = _();
1305
- return /* @__PURE__ */ n(Xi, { children: M(e, s), ...a });
1306
- }, Zi = i("div", {
1305
+ }), Js = (t) => {
1306
+ const { children: e, ...a } = t, { fields: o = [] } = g();
1307
+ return /* @__PURE__ */ n(da, { children: M(e, o), ...a });
1308
+ }, ma = i("div", {
1307
1309
  _id: "aiChatForm__Field"
1308
- }), Wo = (t) => {
1309
- const { field: e, autoFocus: a, ...s } = t, { control: o, errors: r } = _();
1310
+ }), Xs = (t) => {
1311
+ const { field: e, autoFocus: a, ...o } = t, { control: s, errors: r } = g();
1310
1312
  return /* @__PURE__ */ n(
1311
- Xe,
1313
+ ct,
1312
1314
  {
1313
1315
  name: e.name,
1314
- control: o,
1316
+ control: s,
1315
1317
  rules: { required: e.isRequired ? `${e.label} is required.` : void 0 },
1316
1318
  render: ({ field: c }) => {
1317
1319
  const d = c.value !== void 0 || e.inputType === "file";
1318
1320
  return /* @__PURE__ */ n(
1319
- Je,
1321
+ rt,
1320
1322
  {
1321
1323
  "data-invalid": p(!!r[e.name]),
1322
1324
  field: e,
1323
1325
  fieldProps: c,
1324
1326
  autoFocus: a,
1325
1327
  children: d && /* @__PURE__ */ n(
1326
- Zi,
1328
+ ma,
1327
1329
  {
1328
1330
  "data-input-type": e.inputType,
1329
1331
  "data-hidden": p(e.isHidden),
1330
- ...s
1332
+ ...o
1331
1333
  }
1332
1334
  )
1333
1335
  }
@@ -1335,12 +1337,12 @@ ${f}${Q}`;
1335
1337
  }
1336
1338
  }
1337
1339
  );
1338
- }, ea = i("label", {
1340
+ }, la = i("label", {
1339
1341
  _id: "aiChatForm__FieldLabel"
1340
- }), No = (t) => {
1341
- const { field: e } = H();
1342
+ }), Zs = (t) => {
1343
+ const { field: e } = E();
1342
1344
  return /* @__PURE__ */ n(
1343
- ea,
1345
+ la,
1344
1346
  {
1345
1347
  "data-required": p(e.isRequired),
1346
1348
  htmlFor: e.name,
@@ -1348,182 +1350,228 @@ ${f}${Q}`;
1348
1350
  ...t
1349
1351
  }
1350
1352
  );
1351
- }, ta = i("input", {
1353
+ }, ha = i("input", {
1352
1354
  _id: "aiChatForm__FieldText",
1353
1355
  type: "text"
1354
- }), Fe = (t) => {
1356
+ }), Ae = (t) => {
1355
1357
  const {
1356
1358
  field: e,
1357
1359
  error: a,
1358
- fieldProps: { onChange: s, onBlur: o, ...r },
1360
+ fieldProps: { onChange: o, onBlur: s, ...r },
1359
1361
  autoFocus: c
1360
- } = H(), { onChange: d, onBlur: m, ...l } = t;
1362
+ } = E(), { onChange: d, onBlur: m, ...l } = t;
1361
1363
  return /* @__PURE__ */ n(
1362
- ta,
1364
+ ha,
1363
1365
  {
1364
1366
  id: e.name,
1365
1367
  autoFocus: c,
1366
1368
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1367
1369
  "data-invalid": p(!!a),
1368
- onChange: h(d, s),
1369
- onBlur: h(m, o),
1370
+ onChange: h(d, o),
1371
+ onBlur: h(m, s),
1370
1372
  ...r,
1371
1373
  ...l
1372
1374
  }
1373
1375
  );
1374
- }, Ro = i(Fe, {
1376
+ }, er = i(Ae, {
1375
1377
  _id: "aiChatForm__FieldEmail",
1376
1378
  type: "email"
1377
- }), ia = i("input", {
1379
+ }), ua = i("input", {
1378
1380
  _id: "aiChatForm__FieldFile",
1379
1381
  type: "file",
1380
1382
  multiple: !0
1381
- }), $o = (t) => {
1383
+ }), tr = (t) => {
1382
1384
  const {
1383
1385
  field: e,
1384
1386
  error: a,
1385
- fieldProps: { value: s, onChange: o, onBlur: r, ...c },
1387
+ fieldProps: { value: o, onChange: s, onBlur: r, ...c },
1386
1388
  autoFocus: d
1387
- } = H(), { onChange: m, onBlur: l, ...u } = t, v = (I) => {
1388
- const T = I.target.files;
1389
- o(T);
1389
+ } = E(), { onChange: m, onBlur: l, ...u } = t, b = (I) => {
1390
+ const y = I.target.files;
1391
+ s(y);
1390
1392
  };
1391
1393
  return /* @__PURE__ */ n(
1392
- ia,
1394
+ ua,
1393
1395
  {
1394
1396
  id: e.name,
1395
1397
  autoFocus: d,
1396
- "data-value": s,
1398
+ "data-value": o,
1397
1399
  "data-invalid": p(!!a),
1398
1400
  ...u,
1399
1401
  ...c,
1400
- onChange: h(m, v),
1402
+ onChange: h(m, b),
1401
1403
  onBlur: h(l, r)
1402
1404
  }
1403
1405
  );
1404
- }, Qo = i(Fe, {
1406
+ }, ir = i(Ae, {
1405
1407
  _id: "aiChatForm__FieldTextArea",
1406
1408
  type: "textarea",
1407
1409
  asChild: !0,
1408
1410
  children: /* @__PURE__ */ n(ee, { maxRows: 8 })
1409
- }), aa = i(K.Root, {
1411
+ }), Ca = i(K.Root, {
1410
1412
  _id: "aiChatForm__FieldCheckbox"
1411
- }), Vo = (t) => {
1412
- const { field: e, error: a, fieldProps: s, autoFocus: o } = H(), { onCheckedChange: r, ...c } = t;
1413
+ }), ar = (t) => {
1414
+ const { field: e, error: a, fieldProps: o, autoFocus: s } = E(), { onCheckedChange: r, ...c } = t;
1413
1415
  return /* @__PURE__ */ n(
1414
- aa,
1416
+ Ca,
1415
1417
  {
1416
1418
  id: e.name,
1417
1419
  name: e.name,
1418
- autoFocus: o,
1420
+ autoFocus: s,
1419
1421
  "data-invalid": p(!!a),
1420
- checked: s.value,
1421
- onCheckedChange: h(r, s.onChange),
1422
+ checked: o.value,
1423
+ onCheckedChange: h(r, o.onChange),
1422
1424
  ...c
1423
1425
  }
1424
1426
  );
1425
- }, Uo = i(K.Indicator, {
1427
+ }, nr = i(K.Indicator, {
1426
1428
  _id: "aiChatForm__FieldCheckboxIndicator",
1427
- children: /* @__PURE__ */ n(_e, {})
1428
- }), na = i(we, {
1429
+ children: /* @__PURE__ */ n(ge, {})
1430
+ }), pa = i(we, {
1429
1431
  _id: "aiChatForm__FieldSelect"
1430
- }), Ko = (t) => {
1431
- const { field: e, error: a, fieldProps: s } = H(), { onValueChange: o, ...r } = t;
1432
+ }), or = (t) => {
1433
+ const { field: e, error: a, fieldProps: o } = E(), { onValueChange: s, ...r } = t;
1432
1434
  return /* @__PURE__ */ n(
1433
- na,
1435
+ pa,
1434
1436
  {
1435
1437
  name: e.name,
1436
1438
  "data-invalid": p(!!a),
1437
- value: s.value,
1438
- onValueChange: h(o, s.onChange),
1439
+ value: o.value,
1440
+ onValueChange: h(s, o.onChange),
1439
1441
  ...r
1440
1442
  }
1441
1443
  );
1442
- }, qo = i(fe, {
1444
+ }, sr = i(fe, {
1443
1445
  _id: "aiChatForm__FieldSelect__Trigger"
1444
- }), sa = i(He, {
1446
+ }), ba = i(xe, {
1445
1447
  _id: "aiChatForm__FieldSelect__Value"
1446
- }), jo = (t) => {
1447
- const { field: e } = H();
1448
+ }), rr = (t) => {
1449
+ const { field: e } = E();
1448
1450
  return /* @__PURE__ */ n(
1449
- sa,
1451
+ ba,
1450
1452
  {
1451
1453
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1452
1454
  ...t
1453
1455
  }
1454
1456
  );
1455
- }, Go = i(Ee, {
1457
+ }, cr = i(Ee, {
1456
1458
  _id: "aiChatForm__FieldSelect__Icon",
1457
1459
  asChild: !0,
1458
- children: /* @__PURE__ */ n(B, { iconSettings: { builtIn: "LuChevronDown" } })
1459
- }), zo = i(Se, {
1460
+ children: /* @__PURE__ */ n(f, { iconSettings: { builtIn: "LuChevronDown" } })
1461
+ }), dr = i(Se, {
1460
1462
  _id: "aiChatForm__FieldSelect__Content",
1461
1463
  position: "popper"
1462
- }), Yo = i(ke, {
1464
+ }), mr = i(ke, {
1463
1465
  _id: "aiChatForm__FieldSelect__Viewport"
1464
- }), Jo = i(Be, {
1466
+ }), lr = i(Be, {
1465
1467
  _id: "aiChatForm__FieldSelect__Item"
1466
- }), Xo = i(Te, {
1468
+ }), hr = i(Te, {
1467
1469
  _id: "aiChatForm__FieldSelect__ItemText"
1468
- }), Zo = i(
1470
+ }), ur = i(
1469
1471
  ye,
1470
1472
  {
1471
1473
  _id: "aiChatForm__FieldSelect__ItemIndicator",
1472
1474
  asChild: !0,
1473
- children: /* @__PURE__ */ n(B, { iconSettings: { builtIn: "LuCheck" } })
1475
+ children: /* @__PURE__ */ n(f, { iconSettings: { builtIn: "LuCheck" } })
1474
1476
  }
1475
- ), oa = i("span", {
1477
+ ), Cr = (t) => {
1478
+ const { field: e, error: a, fieldProps: o, autoFocus: s } = E(), r = _t();
1479
+ if (e.inputType !== "combobox") return null;
1480
+ const { onValueChange: c, children: d, ...m } = t, l = r?.shadowHost ? () => r.shadowHost.shadowRoot ?? document : void 0;
1481
+ return /* @__PURE__ */ n(
1482
+ Le,
1483
+ {
1484
+ ...m,
1485
+ id: e.name,
1486
+ name: e.name,
1487
+ items: e.items ?? [],
1488
+ defaultValue: e.defaultValue,
1489
+ onValueChange: h(c, o.onChange),
1490
+ multiple: e.multiple,
1491
+ placeholder: "placeholder" in e ? e.placeholder : void 0,
1492
+ invalid: !!a,
1493
+ autoFocus: s,
1494
+ getRootNode: l,
1495
+ children: d
1496
+ }
1497
+ );
1498
+ }, pr = i(He, {
1499
+ _id: "aiChatForm__FieldCombobox__Control"
1500
+ }), br = i(De, {
1501
+ _id: "aiChatForm__FieldCombobox__Input"
1502
+ }), vr = i(Oe, {
1503
+ _id: "aiChatForm__FieldCombobox__Trigger",
1504
+ children: /* @__PURE__ */ n(f, { iconSettings: { builtIn: "LuChevronDown" } })
1505
+ }), _r = i(Ne, {
1506
+ _id: "aiChatForm__FieldCombobox__Positioner"
1507
+ }), gr = i(We, {
1508
+ _id: "aiChatForm__FieldCombobox__Content"
1509
+ }), Fr = i(Re, {
1510
+ _id: "aiChatForm__FieldCombobox__Item"
1511
+ }), Pr = i($e, {
1512
+ _id: "aiChatForm__FieldCombobox__ItemText"
1513
+ }), Ar = i(Ve, {
1514
+ _id: "aiChatForm__FieldCombobox__SelectedTags"
1515
+ }), Mr = i(Qe, {
1516
+ _id: "aiChatForm__FieldCombobox__ItemIndicator",
1517
+ children: /* @__PURE__ */ n(f, { iconSettings: { builtIn: "LuCheck" } })
1518
+ }), va = i("p", {
1519
+ _id: "aiChatForm__FieldDescription"
1520
+ }), Ir = (t) => {
1521
+ const { field: e } = E();
1522
+ return e.description ? /* @__PURE__ */ n(va, { children: e.description, ...t }) : null;
1523
+ }, _a = i("span", {
1476
1524
  _id: "aiChatForm__FieldError"
1477
- }), er = (t) => {
1478
- const { error: e } = H();
1479
- return e ? /* @__PURE__ */ n(oa, { children: e.message?.toString(), ...t }) : null;
1480
- }, ra = i("span", {
1525
+ }), fr = (t) => {
1526
+ const { error: e } = E();
1527
+ return e ? /* @__PURE__ */ n(_a, { children: e.message?.toString(), ...t }) : null;
1528
+ }, ga = i("span", {
1481
1529
  _id: "aiChatForm__Error"
1482
- }), tr = (t) => {
1483
- const { formError: e } = _();
1484
- return e ? /* @__PURE__ */ n(ra, { children: e.message, ...t }) : null;
1485
- }, ir = i("div", {
1530
+ }), Er = (t) => {
1531
+ const { formError: e } = g();
1532
+ return e ? /* @__PURE__ */ n(ga, { children: e.message, ...t }) : null;
1533
+ }, Sr = i("div", {
1486
1534
  _id: "aiChatForm__Footer"
1487
- }), ca = i("button", {
1535
+ }), Fa = i("button", {
1488
1536
  _id: "aiChatForm__Cancel",
1489
1537
  children: "Cancel",
1490
1538
  type: "button"
1491
- }), ar = (t) => {
1492
- const { onClick: e, ...a } = t, { closeForm: s } = _();
1493
- return /* @__PURE__ */ n(ca, { onClick: h(e, s), ...a });
1494
- }, da = i("button", {
1539
+ }), kr = (t) => {
1540
+ const { onClick: e, ...a } = t, { closeForm: o } = g();
1541
+ return /* @__PURE__ */ n(Fa, { onClick: h(e, o), ...a });
1542
+ }, Pa = i("button", {
1495
1543
  _id: "aiChatForm__Submit",
1496
1544
  children: "Submit",
1497
1545
  type: "submit"
1498
- }), nr = (t) => {
1499
- const { onClick: e, ...a } = t, { isSubmitting: s, form: o } = _(), r = o?.buttons.submit.label || "Submit";
1500
- return /* @__PURE__ */ n(da, { disabled: s, ...a, children: r });
1501
- }, ma = i("div", {
1546
+ }), Br = (t) => {
1547
+ const { onClick: e, ...a } = t, { isSubmitting: o, form: s } = g(), r = s?.buttons.submit.label || "Submit";
1548
+ return /* @__PURE__ */ n(Pa, { disabled: o, ...a, children: r });
1549
+ }, Aa = i("div", {
1502
1550
  _id: "aiChatForm__Success"
1503
- }), sr = (t) => {
1504
- const { isSuccess: e } = _();
1505
- return e ? /* @__PURE__ */ n(ma, { ...t }) : null;
1506
- }, la = i("h2", {
1551
+ }), Tr = (t) => {
1552
+ const { isSuccess: e } = g();
1553
+ return e ? /* @__PURE__ */ n(Aa, { ...t }) : null;
1554
+ }, Ma = i("h2", {
1507
1555
  _id: "aiChatForm__SuccessHeading"
1508
- }), or = (t) => {
1509
- const { form: e } = _();
1510
- return /* @__PURE__ */ n(la, { children: e?.successView?.heading, ...t });
1511
- }, ha = i(q, {
1556
+ }), yr = (t) => {
1557
+ const { form: e } = g();
1558
+ return /* @__PURE__ */ n(Ma, { children: e?.successView?.heading, ...t });
1559
+ }, Ia = i(q, {
1512
1560
  _id: "aiChatForm__SuccessMessage"
1513
- }), rr = (t) => {
1514
- const { form: e } = _();
1515
- return /* @__PURE__ */ n(ha, { children: e?.successView?.message, ...t });
1516
- }, ua = i("button", {
1561
+ }), wr = (t) => {
1562
+ const { form: e } = g();
1563
+ return /* @__PURE__ */ n(Ia, { shouldOpenLinksInNewTab: !0, children: e?.successView?.message, ...t });
1564
+ }, fa = i("button", {
1517
1565
  _id: "aiChatForm__SuccessButton"
1518
- }), cr = (t) => {
1519
- const { onClick: e, ...a } = t, { form: s, closeForm: o } = _(), r = s?.successView?.doneButton;
1566
+ }), xr = (t) => {
1567
+ const { onClick: e, ...a } = t, { form: o, closeForm: s } = g(), r = o?.successView?.doneButton;
1520
1568
  if (!r) return null;
1521
- const c = r.icon && /* @__PURE__ */ n(B, { iconSettings: r.icon }), d = r.label;
1569
+ const c = r.icon && /* @__PURE__ */ n(f, { iconSettings: r.icon }), d = r.label;
1522
1570
  return /* @__PURE__ */ n(
1523
- ua,
1571
+ fa,
1524
1572
  {
1525
- onClick: h(e, o),
1526
- children: /* @__PURE__ */ V(Z, { children: [
1573
+ onClick: h(e, s),
1574
+ children: /* @__PURE__ */ Q(Z, { children: [
1527
1575
  c,
1528
1576
  d
1529
1577
  ] }),
@@ -1532,339 +1580,361 @@ ${f}${Q}`;
1532
1580
  );
1533
1581
  };
1534
1582
  export {
1535
- ao as ActionBar,
1536
- no as Actions,
1537
- Es as AttachmentsBar,
1538
- ws as AttachmentsBarActions,
1539
- ks as AttachmentsBarAttachment,
1540
- ys as AttachmentsBarAttachmentDelete,
1541
- Bs as AttachmentsBarAttachmentIcon,
1542
- Ts as AttachmentsBarAttachmentTitle,
1543
- js as AttachmentsBarForm,
1544
- Xs as AttachmentsBarFormContent,
1545
- to as AttachmentsBarFormContentError,
1546
- eo as AttachmentsBarFormContentInput,
1547
- Zs as AttachmentsBarFormContentLabel,
1548
- io as AttachmentsBarFormSubmitButton,
1549
- Gs as AttachmentsBarFormTitle,
1550
- Js as AttachmentsBarFormTitleError,
1551
- Ys as AttachmentsBarFormTitleInput,
1552
- zs as AttachmentsBarFormTitleLabel,
1553
- Hs as AttachmentsBarInfoTip,
1554
- gi as AttachmentsBarInfoTipArrow,
1555
- Ls as AttachmentsBarInfoTipIcon,
1556
- xs as AttachmentsBarInfoTipText,
1557
- Os as AttachmentsBarInput,
1558
- Ds as AttachmentsBarInputs,
1559
- Ss as AttachmentsBarList,
1560
- Ws as AttachmentsBarModal,
1561
- qs as AttachmentsBarModalBody,
1562
- Ks as AttachmentsBarModalClose,
1563
- Rs as AttachmentsBarModalContent,
1564
- Vs as AttachmentsBarModalDescription,
1565
- $s as AttachmentsBarModalHeader,
1566
- Qs as AttachmentsBarModalHeading,
1567
- Us as AttachmentsBarModalHelp,
1568
- Ns as AttachmentsBarModalOverlay,
1583
+ _s as ActionBar,
1584
+ gs as Actions,
1585
+ $o as AttachmentsBar,
1586
+ jo as AttachmentsBarActions,
1587
+ Qo as AttachmentsBarAttachment,
1588
+ qo as AttachmentsBarAttachmentDelete,
1589
+ Uo as AttachmentsBarAttachmentIcon,
1590
+ Ko as AttachmentsBarAttachmentTitle,
1591
+ cs as AttachmentsBarForm,
1592
+ us as AttachmentsBarFormContent,
1593
+ bs as AttachmentsBarFormContentError,
1594
+ ps as AttachmentsBarFormContentInput,
1595
+ Cs as AttachmentsBarFormContentLabel,
1596
+ vs as AttachmentsBarFormSubmitButton,
1597
+ ds as AttachmentsBarFormTitle,
1598
+ hs as AttachmentsBarFormTitleError,
1599
+ ls as AttachmentsBarFormTitleInput,
1600
+ ms as AttachmentsBarFormTitleLabel,
1601
+ Go as AttachmentsBarInfoTip,
1602
+ ki as AttachmentsBarInfoTipArrow,
1603
+ zo as AttachmentsBarInfoTipIcon,
1604
+ Yo as AttachmentsBarInfoTipText,
1605
+ Xo as AttachmentsBarInput,
1606
+ Jo as AttachmentsBarInputs,
1607
+ Vo as AttachmentsBarList,
1608
+ Zo as AttachmentsBarModal,
1609
+ rs as AttachmentsBarModalBody,
1610
+ ss as AttachmentsBarModalClose,
1611
+ ts as AttachmentsBarModalContent,
1612
+ ns as AttachmentsBarModalDescription,
1613
+ is as AttachmentsBarModalHeader,
1614
+ as as AttachmentsBarModalHeading,
1615
+ os as AttachmentsBarModalHelp,
1616
+ es as AttachmentsBarModalOverlay,
1569
1617
  Pe as ChatAction,
1570
- mo as ChatActionFeedback,
1571
- Hi as ChatActionLabel,
1572
- ho as ChatHelpAction,
1573
- Cn as Content,
1574
- pn as ContentScrollArea,
1575
- _n as ContentScrollAreaCorner,
1576
- gn as ContentScrollAreaScrollbar,
1577
- bn as ContentScrollAreaThumb,
1578
- vn as ContentScrollAreaViewport,
1579
- cn as ConversationLoading,
1580
- Pn as Disclaimer,
1581
- En as DisclaimerArrow,
1582
- In as DisclaimerContent,
1583
- Fn as DisclaimerLabel,
1584
- fn as DisclaimerText,
1585
- Mn as DisclaimerTrigger,
1586
- ao as EmbeddedChatPrimitiveActionBar,
1587
- no as EmbeddedChatPrimitiveActions,
1588
- Es as EmbeddedChatPrimitiveAttachmentsBar,
1589
- ws as EmbeddedChatPrimitiveAttachmentsBarActions,
1590
- ks as EmbeddedChatPrimitiveAttachmentsBarAttachment,
1591
- ys as EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,
1592
- Bs as EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,
1593
- Ts as EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,
1594
- js as EmbeddedChatPrimitiveAttachmentsBarForm,
1595
- Xs as EmbeddedChatPrimitiveAttachmentsBarFormContent,
1596
- to as EmbeddedChatPrimitiveAttachmentsBarFormContentError,
1597
- eo as EmbeddedChatPrimitiveAttachmentsBarFormContentInput,
1598
- Zs as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
1599
- io as EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,
1600
- Gs as EmbeddedChatPrimitiveAttachmentsBarFormTitle,
1601
- Js as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
1602
- Ys as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1603
- zs as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
1604
- Hs as EmbeddedChatPrimitiveAttachmentsBarInfoTip,
1605
- gi as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
1606
- Ls as EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,
1607
- xs as EmbeddedChatPrimitiveAttachmentsBarInfoTipText,
1608
- Os as EmbeddedChatPrimitiveAttachmentsBarInput,
1609
- Ds as EmbeddedChatPrimitiveAttachmentsBarInputs,
1610
- Ss as EmbeddedChatPrimitiveAttachmentsBarList,
1611
- Ws as EmbeddedChatPrimitiveAttachmentsBarModal,
1612
- qs as EmbeddedChatPrimitiveAttachmentsBarModalBody,
1613
- Ks as EmbeddedChatPrimitiveAttachmentsBarModalClose,
1614
- Rs as EmbeddedChatPrimitiveAttachmentsBarModalContent,
1615
- Vs as EmbeddedChatPrimitiveAttachmentsBarModalDescription,
1616
- $s as EmbeddedChatPrimitiveAttachmentsBarModalHeader,
1617
- Qs as EmbeddedChatPrimitiveAttachmentsBarModalHeading,
1618
- Us as EmbeddedChatPrimitiveAttachmentsBarModalHelp,
1619
- Ns as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
1618
+ Is as ChatActionFeedback,
1619
+ Ui as ChatActionLabel,
1620
+ Es as ChatHelpAction,
1621
+ kn as Content,
1622
+ Bn as ContentScrollArea,
1623
+ xn as ContentScrollAreaCorner,
1624
+ yn as ContentScrollAreaScrollbar,
1625
+ wn as ContentScrollAreaThumb,
1626
+ Tn as ContentScrollAreaViewport,
1627
+ An as ConversationLoading,
1628
+ Hn as Disclaimer,
1629
+ Rn as DisclaimerArrow,
1630
+ Nn as DisclaimerContent,
1631
+ Dn as DisclaimerLabel,
1632
+ Wn as DisclaimerText,
1633
+ On as DisclaimerTrigger,
1634
+ _s as EmbeddedChatPrimitiveActionBar,
1635
+ gs as EmbeddedChatPrimitiveActions,
1636
+ $o as EmbeddedChatPrimitiveAttachmentsBar,
1637
+ jo as EmbeddedChatPrimitiveAttachmentsBarActions,
1638
+ Qo as EmbeddedChatPrimitiveAttachmentsBarAttachment,
1639
+ qo as EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,
1640
+ Uo as EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,
1641
+ Ko as EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,
1642
+ cs as EmbeddedChatPrimitiveAttachmentsBarForm,
1643
+ us as EmbeddedChatPrimitiveAttachmentsBarFormContent,
1644
+ bs as EmbeddedChatPrimitiveAttachmentsBarFormContentError,
1645
+ ps as EmbeddedChatPrimitiveAttachmentsBarFormContentInput,
1646
+ Cs as EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,
1647
+ vs as EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,
1648
+ ds as EmbeddedChatPrimitiveAttachmentsBarFormTitle,
1649
+ hs as EmbeddedChatPrimitiveAttachmentsBarFormTitleError,
1650
+ ls as EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,
1651
+ ms as EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,
1652
+ Go as EmbeddedChatPrimitiveAttachmentsBarInfoTip,
1653
+ ki as EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,
1654
+ zo as EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,
1655
+ Yo as EmbeddedChatPrimitiveAttachmentsBarInfoTipText,
1656
+ Xo as EmbeddedChatPrimitiveAttachmentsBarInput,
1657
+ Jo as EmbeddedChatPrimitiveAttachmentsBarInputs,
1658
+ Vo as EmbeddedChatPrimitiveAttachmentsBarList,
1659
+ Zo as EmbeddedChatPrimitiveAttachmentsBarModal,
1660
+ rs as EmbeddedChatPrimitiveAttachmentsBarModalBody,
1661
+ ss as EmbeddedChatPrimitiveAttachmentsBarModalClose,
1662
+ ts as EmbeddedChatPrimitiveAttachmentsBarModalContent,
1663
+ ns as EmbeddedChatPrimitiveAttachmentsBarModalDescription,
1664
+ is as EmbeddedChatPrimitiveAttachmentsBarModalHeader,
1665
+ as as EmbeddedChatPrimitiveAttachmentsBarModalHeading,
1666
+ os as EmbeddedChatPrimitiveAttachmentsBarModalHelp,
1667
+ es as EmbeddedChatPrimitiveAttachmentsBarModalOverlay,
1620
1668
  Pe as EmbeddedChatPrimitiveChatAction,
1621
- mo as EmbeddedChatPrimitiveChatActionFeedback,
1622
- Hi as EmbeddedChatPrimitiveChatActionLabel,
1623
- ho as EmbeddedChatPrimitiveChatHelpAction,
1624
- Cn as EmbeddedChatPrimitiveContent,
1625
- pn as EmbeddedChatPrimitiveContentScrollArea,
1626
- _n as EmbeddedChatPrimitiveContentScrollAreaCorner,
1627
- gn as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1628
- bn as EmbeddedChatPrimitiveContentScrollAreaThumb,
1629
- vn as EmbeddedChatPrimitiveContentScrollAreaViewport,
1630
- cn as EmbeddedChatPrimitiveConversationLoading,
1631
- Pn as EmbeddedChatPrimitiveDisclaimer,
1632
- En as EmbeddedChatPrimitiveDisclaimerArrow,
1633
- In as EmbeddedChatPrimitiveDisclaimerContent,
1634
- Fn as EmbeddedChatPrimitiveDisclaimerLabel,
1635
- fn as EmbeddedChatPrimitiveDisclaimerText,
1636
- Mn as EmbeddedChatPrimitiveDisclaimerTrigger,
1637
- Tn as EmbeddedChatPrimitiveExampleQuestion,
1638
- yn as EmbeddedChatPrimitiveExampleQuestionButton,
1639
- Sn as EmbeddedChatPrimitiveExampleQuestions,
1640
- kn as EmbeddedChatPrimitiveExampleQuestionsLabel,
1641
- Bn as EmbeddedChatPrimitiveExampleQuestionsList,
1642
- Io as EmbeddedChatPrimitiveFeedbackForm,
1643
- fo as EmbeddedChatPrimitiveFeedbackItem,
1644
- Eo as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1645
- So as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1646
- Bo as EmbeddedChatPrimitiveFeedbackItemDescription,
1647
- ko as EmbeddedChatPrimitiveFeedbackItemLabel,
1648
- bo as EmbeddedChatPrimitiveFeedbackModal,
1649
- Mo as EmbeddedChatPrimitiveFeedbackModalBody,
1650
- Fo as EmbeddedChatPrimitiveFeedbackModalClose,
1651
- Ao as EmbeddedChatPrimitiveFeedbackModalContent,
1652
- Po as EmbeddedChatPrimitiveFeedbackModalHeader,
1653
- _o as EmbeddedChatPrimitiveFeedbackModalOverlay,
1654
- To as EmbeddedChatPrimitiveFeedbackSubmitButton,
1655
- As as EmbeddedChatPrimitiveFooter,
1656
- wo as EmbeddedChatPrimitiveForm,
1657
- ar as EmbeddedChatPrimitiveFormCancel,
1658
- Ho as EmbeddedChatPrimitiveFormClose,
1659
- Oo as EmbeddedChatPrimitiveFormContent,
1660
- Do as EmbeddedChatPrimitiveFormDescription,
1661
- tr as EmbeddedChatPrimitiveFormError,
1662
- Wo as EmbeddedChatPrimitiveFormField,
1663
- Vo as EmbeddedChatPrimitiveFormFieldCheckbox,
1664
- Uo as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1665
- Ro as EmbeddedChatPrimitiveFormFieldEmail,
1666
- er as EmbeddedChatPrimitiveFormFieldError,
1667
- $o as EmbeddedChatPrimitiveFormFieldFile,
1668
- No as EmbeddedChatPrimitiveFormFieldLabel,
1669
- Ko as EmbeddedChatPrimitiveFormFieldSelect,
1670
- zo as EmbeddedChatPrimitiveFormFieldSelectContent,
1671
- Go as EmbeddedChatPrimitiveFormFieldSelectIcon,
1672
- Jo as EmbeddedChatPrimitiveFormFieldSelectItem,
1673
- Zo as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1674
- Xo as EmbeddedChatPrimitiveFormFieldSelectItemText,
1675
- qo as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1676
- jo as EmbeddedChatPrimitiveFormFieldSelectValue,
1677
- Yo as EmbeddedChatPrimitiveFormFieldSelectViewport,
1678
- Fe as EmbeddedChatPrimitiveFormFieldText,
1679
- Qo as EmbeddedChatPrimitiveFormFieldTextArea,
1680
- ir as EmbeddedChatPrimitiveFormFooter,
1681
- Lo as EmbeddedChatPrimitiveFormHeader,
1682
- xo as EmbeddedChatPrimitiveFormHeading,
1683
- nr as EmbeddedChatPrimitiveFormSubmit,
1684
- sr as EmbeddedChatPrimitiveFormSuccess,
1685
- cr as EmbeddedChatPrimitiveFormSuccessButton,
1686
- or as EmbeddedChatPrimitiveFormSuccessHeading,
1687
- rr as EmbeddedChatPrimitiveFormSuccessMessage,
1688
- yo as EmbeddedChatPrimitiveFormWrapper,
1689
- ln as EmbeddedChatPrimitiveHeaderToolbar,
1690
- lo as EmbeddedChatPrimitiveHelpActions,
1691
- Co as EmbeddedChatPrimitiveHelpActionsMenu,
1692
- po as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1693
- vo as EmbeddedChatPrimitiveHelpActionsMenuItem,
1694
- go as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1695
- uo as EmbeddedChatPrimitiveHelpActionsTrigger,
1696
- Ms as EmbeddedChatPrimitiveInput,
1697
- Ps as EmbeddedChatPrimitiveInputFieldset,
1698
- Fs as EmbeddedChatPrimitiveInputGroup,
1699
- Dn as EmbeddedChatPrimitiveIntroMessageWrapper,
1700
- as as EmbeddedChatPrimitiveMessage,
1701
- rs as EmbeddedChatPrimitiveMessageAction,
1702
- qn as EmbeddedChatPrimitiveMessageAttachments,
1703
- Gn as EmbeddedChatPrimitiveMessageAttachmentsItem,
1704
- zn as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
1705
- Yn as EmbeddedChatPrimitiveMessageAttachmentsItemTitle,
1706
- jn as EmbeddedChatPrimitiveMessageAttachmentsList,
1707
- Jn as EmbeddedChatPrimitiveMessageAttachmentsPreview,
1708
- is as EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
1709
- ts as EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,
1710
- Zn as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
1711
- es as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
1712
- Xn as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
1713
- Nn as EmbeddedChatPrimitiveMessageAvatar,
1714
- Rn as EmbeddedChatPrimitiveMessageAvatarContent,
1715
- $n as EmbeddedChatPrimitiveMessageAvatarFallback,
1716
- Qn as EmbeddedChatPrimitiveMessageAvatarImage,
1717
- Kn as EmbeddedChatPrimitiveMessageContent,
1718
- Un as EmbeddedChatPrimitiveMessageContentWrapper,
1719
- On as EmbeddedChatPrimitiveMessageHeader,
1720
- Wn as EmbeddedChatPrimitiveMessageLoading,
1721
- Vn as EmbeddedChatPrimitiveMessageName,
1722
- ls as EmbeddedChatPrimitiveMessageSourceItem,
1723
- hs as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1724
- gs as EmbeddedChatPrimitiveMessageSourceItemDescription,
1725
- bs as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1726
- Cs as EmbeddedChatPrimitiveMessageSourceItemIcon,
1727
- _s as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1728
- vs as EmbeddedChatPrimitiveMessageSourceItemTag,
1729
- ps as EmbeddedChatPrimitiveMessageSourceItemTitle,
1730
- cs as EmbeddedChatPrimitiveMessageSources,
1731
- ds as EmbeddedChatPrimitiveMessageSourcesHeader,
1732
- ms as EmbeddedChatPrimitiveMessageSourcesList,
1733
- os as EmbeddedChatPrimitiveMessageToolAction,
1734
- ss as EmbeddedChatPrimitiveMessageToolActions,
1735
- ns as EmbeddedChatPrimitiveMessageToolbar,
1736
- Tt as EmbeddedChatPrimitiveMessageWrapper,
1737
- An as EmbeddedChatPrimitiveMessages,
1738
- dn as EmbeddedChatPrimitiveRoot,
1739
- Is as EmbeddedChatPrimitiveSendButton,
1740
- fs as EmbeddedChatPrimitiveSendButtonIcon,
1741
- co as EmbeddedChatPrimitiveTaglineBrandName,
1742
- so as EmbeddedChatPrimitiveTaglineContainer,
1743
- ro as EmbeddedChatPrimitiveTaglineLogo,
1744
- oo as EmbeddedChatPrimitiveTaglineText,
1745
- un as EmbeddedChatPrimitiveToolbarHeader,
1746
- hn as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1747
- xn as EmbeddedChatPrimitiveWorkflow,
1748
- wn as EmbeddedChatPrimitiveWorkflows,
1749
- Hn as EmbeddedChatPrimitiveWorkflowsLabel,
1750
- Ln as EmbeddedChatPrimitiveWorkflowsList,
1751
- rn as EmbeddedChatPrimitiveWrapper,
1752
- Tn as ExampleQuestion,
1753
- yn as ExampleQuestionButton,
1754
- Sn as ExampleQuestions,
1755
- kn as ExampleQuestionsLabel,
1756
- Bn as ExampleQuestionsList,
1757
- Io as FeedbackForm,
1758
- fo as FeedbackItem,
1759
- Eo as FeedbackItemCheckbox,
1760
- So as FeedbackItemCheckboxIndicator,
1761
- Bo as FeedbackItemDescription,
1762
- ko as FeedbackItemLabel,
1763
- bo as FeedbackModal,
1764
- Mo as FeedbackModalBody,
1765
- Fo as FeedbackModalClose,
1766
- Ao as FeedbackModalContent,
1767
- Po as FeedbackModalHeader,
1768
- _o as FeedbackModalOverlay,
1769
- To as FeedbackSubmitButton,
1770
- As as Footer,
1771
- wo as Form,
1772
- ar as FormCancel,
1773
- Ho as FormClose,
1774
- Oo as FormContent,
1775
- Do as FormDescription,
1776
- tr as FormError,
1777
- Wo as FormField,
1778
- Vo as FormFieldCheckbox,
1779
- Uo as FormFieldCheckboxIndicator,
1780
- Ro as FormFieldEmail,
1781
- er as FormFieldError,
1782
- $o as FormFieldFile,
1783
- No as FormFieldLabel,
1784
- Ko as FormFieldSelect,
1785
- zo as FormFieldSelectContent,
1786
- Go as FormFieldSelectIcon,
1787
- Jo as FormFieldSelectItem,
1788
- Zo as FormFieldSelectItemIndicator,
1789
- Xo as FormFieldSelectItemText,
1790
- qo as FormFieldSelectTrigger,
1791
- jo as FormFieldSelectValue,
1792
- Yo as FormFieldSelectViewport,
1793
- Fe as FormFieldText,
1794
- Qo as FormFieldTextArea,
1795
- ir as FormFooter,
1796
- Lo as FormHeader,
1797
- xo as FormHeading,
1798
- nr as FormSubmit,
1799
- sr as FormSuccess,
1800
- cr as FormSuccessButton,
1801
- or as FormSuccessHeading,
1802
- rr as FormSuccessMessage,
1803
- yo as FormWrapper,
1804
- mn as Header,
1805
- ln as HeaderToolbar,
1806
- hn as HeaderToolbarWrapper,
1807
- lo as HelpActions,
1808
- Co as HelpActionsMenu,
1809
- po as HelpActionsMenuArrow,
1810
- vo as HelpActionsMenuItem,
1811
- go as HelpActionsMenuItemIcon,
1812
- uo as HelpActionsTrigger,
1813
- Ms as Input,
1814
- Ps as InputFieldset,
1815
- Fs as InputGroup,
1816
- Dn as IntroMessageWrapper,
1817
- as as Message,
1818
- rs as MessageAction,
1819
- qn as MessageAttachments,
1820
- Gn as MessageAttachmentsItem,
1821
- zn as MessageAttachmentsItemIcon,
1822
- Yn as MessageAttachmentsItemTitle,
1823
- jn as MessageAttachmentsList,
1824
- Jn as MessageAttachmentsPreview,
1825
- is as MessageAttachmentsPreviewBody,
1826
- ts as MessageAttachmentsPreviewClose,
1827
- Zn as MessageAttachmentsPreviewContent,
1828
- es as MessageAttachmentsPreviewHeader,
1829
- Xn as MessageAttachmentsPreviewOverlay,
1830
- Nn as MessageAvatar,
1831
- Rn as MessageAvatarContent,
1832
- $n as MessageAvatarFallback,
1833
- Qn as MessageAvatarImage,
1834
- Kn as MessageContent,
1835
- Un as MessageContentWrapper,
1836
- On as MessageHeader,
1837
- Wn as MessageLoading,
1838
- Vn as MessageName,
1839
- ls as MessageSourceItem,
1840
- us as MessageSourceItemBreadcrumbIcon,
1841
- hs as MessageSourceItemBreadcrumbs,
1842
- gs as MessageSourceItemDescription,
1843
- bs as MessageSourceItemDescriptionPart,
1844
- Cs as MessageSourceItemIcon,
1845
- _s as MessageSourceItemIndicator,
1846
- vs as MessageSourceItemTag,
1847
- ps as MessageSourceItemTitle,
1848
- cs as MessageSources,
1849
- ds as MessageSourcesHeader,
1850
- ms as MessageSourcesList,
1851
- os as MessageToolAction,
1852
- ss as MessageToolActions,
1853
- ns as MessageToolbar,
1854
- Tt as MessageWrapper,
1855
- An as Messages,
1856
- lr as Provider,
1857
- dn as Root,
1858
- Is as SendButton,
1859
- fs as SendButtonIcon,
1860
- co as TaglineBrandName,
1861
- so as TaglineContainer,
1862
- ro as TaglineLogo,
1863
- oo as TaglineText,
1864
- un as ToolbarHeader,
1865
- xn as Workflow,
1866
- wn as Workflows,
1867
- Hn as WorkflowsLabel,
1868
- Ln as WorkflowsList,
1869
- rn as Wrapper
1669
+ Is as EmbeddedChatPrimitiveChatActionFeedback,
1670
+ Ui as EmbeddedChatPrimitiveChatActionLabel,
1671
+ Es as EmbeddedChatPrimitiveChatHelpAction,
1672
+ kn as EmbeddedChatPrimitiveContent,
1673
+ Bn as EmbeddedChatPrimitiveContentScrollArea,
1674
+ xn as EmbeddedChatPrimitiveContentScrollAreaCorner,
1675
+ yn as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1676
+ wn as EmbeddedChatPrimitiveContentScrollAreaThumb,
1677
+ Tn as EmbeddedChatPrimitiveContentScrollAreaViewport,
1678
+ An as EmbeddedChatPrimitiveConversationLoading,
1679
+ Hn as EmbeddedChatPrimitiveDisclaimer,
1680
+ Rn as EmbeddedChatPrimitiveDisclaimerArrow,
1681
+ Nn as EmbeddedChatPrimitiveDisclaimerContent,
1682
+ Dn as EmbeddedChatPrimitiveDisclaimerLabel,
1683
+ Wn as EmbeddedChatPrimitiveDisclaimerText,
1684
+ On as EmbeddedChatPrimitiveDisclaimerTrigger,
1685
+ Un as EmbeddedChatPrimitiveExampleQuestion,
1686
+ Kn as EmbeddedChatPrimitiveExampleQuestionButton,
1687
+ $n as EmbeddedChatPrimitiveExampleQuestions,
1688
+ Vn as EmbeddedChatPrimitiveExampleQuestionsLabel,
1689
+ Qn as EmbeddedChatPrimitiveExampleQuestionsList,
1690
+ Ns as EmbeddedChatPrimitiveFeedbackForm,
1691
+ Ws as EmbeddedChatPrimitiveFeedbackItem,
1692
+ Rs as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1693
+ $s as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1694
+ Qs as EmbeddedChatPrimitiveFeedbackItemDescription,
1695
+ Vs as EmbeddedChatPrimitiveFeedbackItemLabel,
1696
+ ws as EmbeddedChatPrimitiveFeedbackModal,
1697
+ Os as EmbeddedChatPrimitiveFeedbackModalBody,
1698
+ Ds as EmbeddedChatPrimitiveFeedbackModalClose,
1699
+ Ls as EmbeddedChatPrimitiveFeedbackModalContent,
1700
+ Hs as EmbeddedChatPrimitiveFeedbackModalHeader,
1701
+ xs as EmbeddedChatPrimitiveFeedbackModalOverlay,
1702
+ Us as EmbeddedChatPrimitiveFeedbackSubmitButton,
1703
+ Ho as EmbeddedChatPrimitiveFooter,
1704
+ qs as EmbeddedChatPrimitiveForm,
1705
+ kr as EmbeddedChatPrimitiveFormCancel,
1706
+ js as EmbeddedChatPrimitiveFormClose,
1707
+ Js as EmbeddedChatPrimitiveFormContent,
1708
+ Ys as EmbeddedChatPrimitiveFormDescription,
1709
+ Er as EmbeddedChatPrimitiveFormError,
1710
+ Xs as EmbeddedChatPrimitiveFormField,
1711
+ ar as EmbeddedChatPrimitiveFormFieldCheckbox,
1712
+ nr as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1713
+ Cr as EmbeddedChatPrimitiveFormFieldCombobox,
1714
+ gr as EmbeddedChatPrimitiveFormFieldComboboxContent,
1715
+ pr as EmbeddedChatPrimitiveFormFieldComboboxControl,
1716
+ br as EmbeddedChatPrimitiveFormFieldComboboxInput,
1717
+ Fr as EmbeddedChatPrimitiveFormFieldComboboxItem,
1718
+ Mr as EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,
1719
+ Pr as EmbeddedChatPrimitiveFormFieldComboboxItemText,
1720
+ _r as EmbeddedChatPrimitiveFormFieldComboboxPositioner,
1721
+ Ar as EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,
1722
+ vr as EmbeddedChatPrimitiveFormFieldComboboxTrigger,
1723
+ Ir as EmbeddedChatPrimitiveFormFieldDescription,
1724
+ er as EmbeddedChatPrimitiveFormFieldEmail,
1725
+ fr as EmbeddedChatPrimitiveFormFieldError,
1726
+ tr as EmbeddedChatPrimitiveFormFieldFile,
1727
+ Zs as EmbeddedChatPrimitiveFormFieldLabel,
1728
+ or as EmbeddedChatPrimitiveFormFieldSelect,
1729
+ dr as EmbeddedChatPrimitiveFormFieldSelectContent,
1730
+ cr as EmbeddedChatPrimitiveFormFieldSelectIcon,
1731
+ lr as EmbeddedChatPrimitiveFormFieldSelectItem,
1732
+ ur as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1733
+ hr as EmbeddedChatPrimitiveFormFieldSelectItemText,
1734
+ sr as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1735
+ rr as EmbeddedChatPrimitiveFormFieldSelectValue,
1736
+ mr as EmbeddedChatPrimitiveFormFieldSelectViewport,
1737
+ Ae as EmbeddedChatPrimitiveFormFieldText,
1738
+ ir as EmbeddedChatPrimitiveFormFieldTextArea,
1739
+ Sr as EmbeddedChatPrimitiveFormFooter,
1740
+ Gs as EmbeddedChatPrimitiveFormHeader,
1741
+ zs as EmbeddedChatPrimitiveFormHeading,
1742
+ Br as EmbeddedChatPrimitiveFormSubmit,
1743
+ Tr as EmbeddedChatPrimitiveFormSuccess,
1744
+ xr as EmbeddedChatPrimitiveFormSuccessButton,
1745
+ yr as EmbeddedChatPrimitiveFormSuccessHeading,
1746
+ wr as EmbeddedChatPrimitiveFormSuccessMessage,
1747
+ Ks as EmbeddedChatPrimitiveFormWrapper,
1748
+ fn as EmbeddedChatPrimitiveHeaderToolbar,
1749
+ fs as EmbeddedChatPrimitiveHelpActions,
1750
+ ks as EmbeddedChatPrimitiveHelpActionsMenu,
1751
+ Bs as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1752
+ Ts as EmbeddedChatPrimitiveHelpActionsMenuItem,
1753
+ ys as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1754
+ Ss as EmbeddedChatPrimitiveHelpActionsTrigger,
1755
+ No as EmbeddedChatPrimitiveInput,
1756
+ Do as EmbeddedChatPrimitiveInputFieldset,
1757
+ Oo as EmbeddedChatPrimitiveInputGroup,
1758
+ Yn as EmbeddedChatPrimitiveIntroMessageWrapper,
1759
+ _o as EmbeddedChatPrimitiveMessage,
1760
+ Ao as EmbeddedChatPrimitiveMessageAction,
1761
+ so as EmbeddedChatPrimitiveMessageAttachments,
1762
+ co as EmbeddedChatPrimitiveMessageAttachmentsItem,
1763
+ mo as EmbeddedChatPrimitiveMessageAttachmentsItemIcon,
1764
+ lo as EmbeddedChatPrimitiveMessageAttachmentsItemTitle,
1765
+ ro as EmbeddedChatPrimitiveMessageAttachmentsList,
1766
+ ho as EmbeddedChatPrimitiveMessageAttachmentsPreview,
1767
+ vo as EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
1768
+ bo as EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,
1769
+ Co as EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,
1770
+ po as EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,
1771
+ uo as EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,
1772
+ Zn as EmbeddedChatPrimitiveMessageAvatar,
1773
+ eo as EmbeddedChatPrimitiveMessageAvatarContent,
1774
+ to as EmbeddedChatPrimitiveMessageAvatarFallback,
1775
+ io as EmbeddedChatPrimitiveMessageAvatarImage,
1776
+ oo as EmbeddedChatPrimitiveMessageContent,
1777
+ no as EmbeddedChatPrimitiveMessageContentWrapper,
1778
+ Jn as EmbeddedChatPrimitiveMessageHeader,
1779
+ Xn as EmbeddedChatPrimitiveMessageLoading,
1780
+ ao as EmbeddedChatPrimitiveMessageName,
1781
+ Eo as EmbeddedChatPrimitiveMessageSourceItem,
1782
+ So as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1783
+ wo as EmbeddedChatPrimitiveMessageSourceItemDescription,
1784
+ xo as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1785
+ Bo as EmbeddedChatPrimitiveMessageSourceItemIcon,
1786
+ Lo as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1787
+ yo as EmbeddedChatPrimitiveMessageSourceItemTag,
1788
+ To as EmbeddedChatPrimitiveMessageSourceItemTitle,
1789
+ Mo as EmbeddedChatPrimitiveMessageSources,
1790
+ Io as EmbeddedChatPrimitiveMessageSourcesHeader,
1791
+ fo as EmbeddedChatPrimitiveMessageSourcesList,
1792
+ Po as EmbeddedChatPrimitiveMessageToolAction,
1793
+ Fo as EmbeddedChatPrimitiveMessageToolActions,
1794
+ go as EmbeddedChatPrimitiveMessageToolbar,
1795
+ $t as EmbeddedChatPrimitiveMessageWrapper,
1796
+ Ln as EmbeddedChatPrimitiveMessages,
1797
+ Mn as EmbeddedChatPrimitiveRoot,
1798
+ Wo as EmbeddedChatPrimitiveSendButton,
1799
+ Ro as EmbeddedChatPrimitiveSendButtonIcon,
1800
+ Ms as EmbeddedChatPrimitiveTaglineBrandName,
1801
+ Fs as EmbeddedChatPrimitiveTaglineContainer,
1802
+ As as EmbeddedChatPrimitiveTaglineLogo,
1803
+ Ps as EmbeddedChatPrimitiveTaglineText,
1804
+ Sn as EmbeddedChatPrimitiveToolbarHeader,
1805
+ En as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1806
+ zn as EmbeddedChatPrimitiveWorkflow,
1807
+ qn as EmbeddedChatPrimitiveWorkflows,
1808
+ jn as EmbeddedChatPrimitiveWorkflowsLabel,
1809
+ Gn as EmbeddedChatPrimitiveWorkflowsList,
1810
+ Pn as EmbeddedChatPrimitiveWrapper,
1811
+ Un as ExampleQuestion,
1812
+ Kn as ExampleQuestionButton,
1813
+ $n as ExampleQuestions,
1814
+ Vn as ExampleQuestionsLabel,
1815
+ Qn as ExampleQuestionsList,
1816
+ Ns as FeedbackForm,
1817
+ Ws as FeedbackItem,
1818
+ Rs as FeedbackItemCheckbox,
1819
+ $s as FeedbackItemCheckboxIndicator,
1820
+ Qs as FeedbackItemDescription,
1821
+ Vs as FeedbackItemLabel,
1822
+ ws as FeedbackModal,
1823
+ Os as FeedbackModalBody,
1824
+ Ds as FeedbackModalClose,
1825
+ Ls as FeedbackModalContent,
1826
+ Hs as FeedbackModalHeader,
1827
+ xs as FeedbackModalOverlay,
1828
+ Us as FeedbackSubmitButton,
1829
+ Ho as Footer,
1830
+ qs as Form,
1831
+ kr as FormCancel,
1832
+ js as FormClose,
1833
+ Js as FormContent,
1834
+ Ys as FormDescription,
1835
+ Er as FormError,
1836
+ Xs as FormField,
1837
+ ar as FormFieldCheckbox,
1838
+ nr as FormFieldCheckboxIndicator,
1839
+ Cr as FormFieldCombobox,
1840
+ gr as FormFieldComboboxContent,
1841
+ pr as FormFieldComboboxControl,
1842
+ br as FormFieldComboboxInput,
1843
+ Fr as FormFieldComboboxItem,
1844
+ Mr as FormFieldComboboxItemIndicator,
1845
+ Pr as FormFieldComboboxItemText,
1846
+ _r as FormFieldComboboxPositioner,
1847
+ Ar as FormFieldComboboxSelectedTags,
1848
+ vr as FormFieldComboboxTrigger,
1849
+ Ir as FormFieldDescription,
1850
+ er as FormFieldEmail,
1851
+ fr as FormFieldError,
1852
+ tr as FormFieldFile,
1853
+ Zs as FormFieldLabel,
1854
+ or as FormFieldSelect,
1855
+ dr as FormFieldSelectContent,
1856
+ cr as FormFieldSelectIcon,
1857
+ lr as FormFieldSelectItem,
1858
+ ur as FormFieldSelectItemIndicator,
1859
+ hr as FormFieldSelectItemText,
1860
+ sr as FormFieldSelectTrigger,
1861
+ rr as FormFieldSelectValue,
1862
+ mr as FormFieldSelectViewport,
1863
+ Ae as FormFieldText,
1864
+ ir as FormFieldTextArea,
1865
+ Sr as FormFooter,
1866
+ Gs as FormHeader,
1867
+ zs as FormHeading,
1868
+ Br as FormSubmit,
1869
+ Tr as FormSuccess,
1870
+ xr as FormSuccessButton,
1871
+ yr as FormSuccessHeading,
1872
+ wr as FormSuccessMessage,
1873
+ Ks as FormWrapper,
1874
+ In as Header,
1875
+ fn as HeaderToolbar,
1876
+ En as HeaderToolbarWrapper,
1877
+ fs as HelpActions,
1878
+ ks as HelpActionsMenu,
1879
+ Bs as HelpActionsMenuArrow,
1880
+ Ts as HelpActionsMenuItem,
1881
+ ys as HelpActionsMenuItemIcon,
1882
+ Ss as HelpActionsTrigger,
1883
+ No as Input,
1884
+ Do as InputFieldset,
1885
+ Oo as InputGroup,
1886
+ Yn as IntroMessageWrapper,
1887
+ _o as Message,
1888
+ Ao as MessageAction,
1889
+ so as MessageAttachments,
1890
+ co as MessageAttachmentsItem,
1891
+ mo as MessageAttachmentsItemIcon,
1892
+ lo as MessageAttachmentsItemTitle,
1893
+ ro as MessageAttachmentsList,
1894
+ ho as MessageAttachmentsPreview,
1895
+ vo as MessageAttachmentsPreviewBody,
1896
+ bo as MessageAttachmentsPreviewClose,
1897
+ Co as MessageAttachmentsPreviewContent,
1898
+ po as MessageAttachmentsPreviewHeader,
1899
+ uo as MessageAttachmentsPreviewOverlay,
1900
+ Zn as MessageAvatar,
1901
+ eo as MessageAvatarContent,
1902
+ to as MessageAvatarFallback,
1903
+ io as MessageAvatarImage,
1904
+ oo as MessageContent,
1905
+ no as MessageContentWrapper,
1906
+ Jn as MessageHeader,
1907
+ Xn as MessageLoading,
1908
+ ao as MessageName,
1909
+ Eo as MessageSourceItem,
1910
+ ko as MessageSourceItemBreadcrumbIcon,
1911
+ So as MessageSourceItemBreadcrumbs,
1912
+ wo as MessageSourceItemDescription,
1913
+ xo as MessageSourceItemDescriptionPart,
1914
+ Bo as MessageSourceItemIcon,
1915
+ Lo as MessageSourceItemIndicator,
1916
+ yo as MessageSourceItemTag,
1917
+ To as MessageSourceItemTitle,
1918
+ Mo as MessageSources,
1919
+ Io as MessageSourcesHeader,
1920
+ fo as MessageSourcesList,
1921
+ Po as MessageToolAction,
1922
+ Fo as MessageToolActions,
1923
+ go as MessageToolbar,
1924
+ $t as MessageWrapper,
1925
+ Ln as Messages,
1926
+ Dr as Provider,
1927
+ Mn as Root,
1928
+ Wo as SendButton,
1929
+ Ro as SendButtonIcon,
1930
+ Ms as TaglineBrandName,
1931
+ Fs as TaglineContainer,
1932
+ As as TaglineLogo,
1933
+ Ps as TaglineText,
1934
+ Sn as ToolbarHeader,
1935
+ zn as Workflow,
1936
+ qn as Workflows,
1937
+ jn as WorkflowsLabel,
1938
+ Gn as WorkflowsList,
1939
+ Pn as Wrapper
1870
1940
  };