@inkeep/cxkit-primitives 0.5.24 → 0.5.25

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