@inkeep/cxkit-primitives 0.5.45 → 0.5.46

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