@inkeep/cxkit-primitives 0.5.10 → 0.5.11

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