@inkeep/agents-ui 0.15.27 → 0.15.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +3 -3
  2. package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +1 -1
  3. package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +185 -175
  4. package/dist/primitives/components/embedded-chat.cjs +3 -3
  5. package/dist/primitives/components/embedded-chat.d.ts +2 -3
  6. package/dist/primitives/components/embedded-chat.js +667 -672
  7. package/dist/primitives/components/embedded-search.cjs +1 -1
  8. package/dist/primitives/components/embedded-search.d.ts +3 -4
  9. package/dist/primitives/components/embedded-search.js +290 -294
  10. package/dist/primitives/components/tagline-logo-icon.cjs +1 -1
  11. package/dist/primitives/components/tagline-logo-icon.js +11 -21
  12. package/dist/primitives/hooks/use-initial-conversation.cjs +1 -0
  13. package/dist/primitives/hooks/use-initial-conversation.d.ts +16 -0
  14. package/dist/primitives/hooks/use-initial-conversation.js +31 -0
  15. package/dist/primitives/providers/base-events-provider.cjs +1 -1
  16. package/dist/primitives/providers/base-events-provider.js +1 -1
  17. package/dist/primitives/utils/component-ids.cjs +1 -1
  18. package/dist/primitives/utils/component-ids.d.ts +0 -4
  19. package/dist/primitives/utils/component-ids.js +1 -3
  20. package/dist/react/embedded-chat.cjs +1 -1
  21. package/dist/react/embedded-chat.js +133 -134
  22. package/dist/react/embedded-search.cjs +1 -1
  23. package/dist/react/embedded-search.js +63 -64
  24. package/dist/styled/components/embedded-chat.cjs +1 -1
  25. package/dist/styled/components/embedded-chat.d.ts +1 -2
  26. package/dist/styled/components/embedded-chat.js +372 -386
  27. package/dist/styled/components/embedded-search.cjs +1 -1
  28. package/dist/styled/components/embedded-search.d.ts +1 -2
  29. package/dist/styled/components/embedded-search.js +119 -133
  30. package/dist/styled/inkeep.css.cjs +3 -3
  31. package/dist/styled/inkeep.css.js +3 -3
  32. package/dist/types/config/ai.d.ts +7 -0
  33. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as a, jsxs as Z, Fragment as re } from "react/jsx-runtime";
3
- import G, { memo as S, forwardRef as Q, useRef as w, useState as $, useMemo as ne, useEffect as W, useLayoutEffect as Ce } from "react";
3
+ import G, { memo as S, forwardRef as Q, useRef as L, useState as $, useMemo as ne, useEffect as W, useLayoutEffect as Ce } from "react";
4
4
  import * as be from "react-dom/client";
5
5
  import se from "react-textarea-autosize";
6
6
  import * as J from "@radix-ui/react-avatar";
@@ -8,8 +8,8 @@ import * as K from "@radix-ui/react-checkbox";
8
8
  import * as D from "@radix-ui/react-popover";
9
9
  import * as q from "@radix-ui/react-tooltip";
10
10
  import * as U from "@radix-ui/react-scroll-area";
11
- import { ItemText as pe, Trigger as ge, Icon as ve, Content as Fe, Viewport as _e, Item as Pe, ItemIndicator as fe, Root as Ie, Value as Ee } from "../atoms/select.js";
12
- import { ComboboxListItems as Se, ComboboxRoot as Me, ComboboxItemText as ke, ComboboxControl as ye, ComboboxInput as Ae, ComboboxTrigger as xe, ComboboxSelectedTags as Te, ComboboxContent as He, ComboboxPositioner as Le, ComboboxList as we, ComboboxItem as De, ComboboxItemIndicator as Be, ComboboxListEmpty as Ne } from "../atoms/combobox.js";
11
+ import { ItemText as pe, Trigger as ve, Icon as ge, Content as Fe, Viewport as _e, Item as Pe, ItemIndicator as fe, Root as Ie, Value as Ee } from "../atoms/select.js";
12
+ import { ComboboxListItems as Se, ComboboxRoot as Me, ComboboxItemText as ke, ComboboxControl as ye, ComboboxInput as Ae, ComboboxTrigger as xe, ComboboxSelectedTags as Te, ComboboxContent as He, ComboboxPositioner as we, ComboboxList as Le, ComboboxItem as De, ComboboxItemIndicator as Be, ComboboxListEmpty as Ne } from "../atoms/combobox.js";
13
13
  import { Overlay as Re, Content as Oe, Title as Ve, Close as We, Root as Qe } from "../atoms/dialog.js";
14
14
  import Ue from "../atoms/avatars/ai.js";
15
15
  import $e from "../atoms/avatars/user.js";
@@ -24,34 +24,33 @@ import { useMessage as E, MessageProvider as je } from "../providers/message-pro
24
24
  import { CheckboxIcon as de } from "../atoms/icons/checkbox-icon.js";
25
25
  import { useCopyToClipboard as Y } from "../hooks/use-copy-to-clipboard.js";
26
26
  import { FeedbackItemProvider as ze, useFeedbackItem as ee } from "../providers/feedback-item-provider.js";
27
- import { maybeRender as O, dataAttr as g, getInitials as Ge, getMessageContent as ce } from "../utils/misc.js";
27
+ import { maybeRender as O, dataAttr as v, getInitials as Ge, getMessageContent as ce } from "../utils/misc.js";
28
28
  import { ikp as i } from "./factory.js";
29
29
  import { useChat as F } from "./embedded-chat/chat-provider.js";
30
- import { ChatProvider as pn } from "./embedded-chat/chat-provider.js";
31
- import Ye from "./tagline-logo-icon.js";
32
- import { useSettleAction as Ze } from "../hooks/use-settle-action.js";
33
- import { useContainerSize as Je } from "../hooks/use-container-size.js";
30
+ import { ChatProvider as hn } from "./embedded-chat/chat-provider.js";
31
+ import { useSettleAction as Ye } from "../hooks/use-settle-action.js";
32
+ import { useContainerSize as Ze } from "../hooks/use-container-size.js";
34
33
  import { useChatAction as te } from "./embedded-chat/use-chat-action.js";
35
- import { useHelpMenuState as Xe, HelpMenuProvider as et, useHelpMenu as tt } from "../providers/help-menu-provider.js";
34
+ import { useHelpMenuState as Je, HelpMenuProvider as Xe, useHelpMenu as et } from "../providers/help-menu-provider.js";
36
35
  import { useChatForm as f } from "../providers/chat-form-provider.js";
37
- import { useFormField as A, FormFieldProvider as it } from "../providers/form-field-provider.js";
38
- import { Controller as ot } from "react-hook-form";
39
- import { highlightEmphasis as at } from "../utils/highlight-emphasis.js";
40
- import { useModal as rt } from "./modal/modal-provider.js";
41
- import { useColorModeValue as nt } from "../../color-mode/index.js";
36
+ import { useFormField as A, FormFieldProvider as tt } from "../providers/form-field-provider.js";
37
+ import { Controller as it } from "react-hook-form";
38
+ import { highlightEmphasis as ot } from "../utils/highlight-emphasis.js";
39
+ import { useModal as at } from "./modal/modal-provider.js";
40
+ import { useColorModeValue as rt } from "../../color-mode/index.js";
42
41
  import { useComposedRefs as ie } from "../utils/compose-refs.js";
43
42
  import { composeEventHandlers as b } from "../utils/compose-event-handlers.js";
44
- import { useSimpleScroll as st } from "../hooks/use-simple-scroll.js";
45
- import { useDebounce as dt } from "../hooks/use-debounce.js";
46
- import { HoverPopoverProvider as ct, useHoverPopover as me } from "../providers/hover-popover-provider.js";
47
- import { useWidgetAutoFocus as mt } from "./modal/widget-auto-focus.js";
43
+ import { useSimpleScroll as nt } from "../hooks/use-simple-scroll.js";
44
+ import { useDebounce as st } from "../hooks/use-debounce.js";
45
+ import { HoverPopoverProvider as dt, useHoverPopover as me } from "../providers/hover-popover-provider.js";
46
+ import { useWidgetAutoFocus as ct } from "./modal/widget-auto-focus.js";
48
47
  import { useBaseEvents as oe } from "../providers/base-events-provider.js";
49
- import { useShadow as lt } from "../atoms/shadow/context.js";
50
- import { getIcon as ut } from "../utils/get-source-icon.js";
51
- import { ChatHistoryProvider as ht } from "../providers/chat-history-provider.js";
52
- import { EmbeddedChatPrimitiveDropZone as vn, EmbeddedChatPrimitiveFileContent as Fn, EmbeddedChatPrimitiveFileInput as _n, EmbeddedChatPrimitiveFileItem as Pn, EmbeddedChatPrimitiveFileList as fn, EmbeddedChatPrimitiveFileName as In, EmbeddedChatPrimitiveFilePreviewTrigger as En, EmbeddedChatPrimitiveFileRemove as Sn, EmbeddedChatPrimitiveFileRemoveIcon as Mn, EmbeddedChatPrimitiveFileThumbnail as kn, EmbeddedChatPrimitiveFileTypeIcon as yn, EmbeddedChatPrimitiveFileUploadButton as An, EmbeddedChatPrimitiveFileUploadButtonIcon as xn, EmbeddedChatPrimitiveInputFieldset as Tn, EmbeddedChatPrimitiveInputNotification as Hn, EmbeddedChatPrimitiveInputNotificationClose as Ln, EmbeddedChatPrimitiveInputNotificationContent as wn, EmbeddedChatPrimitiveInputNotificationHeader as Dn, EmbeddedChatPrimitiveInputNotificationMessage as Bn, EmbeddedChatPrimitiveInputNotificationTitle as Nn, EmbeddedChatPrimitiveMessageFile as Rn, EmbeddedChatPrimitiveMessageFiles as On } from "./embedded-chat/file-upload-input.js";
53
- import { EmbeddedChatPrimitiveImagePreviewModal as Wn, EmbeddedChatPrimitiveImagePreviewModalClose as Qn, EmbeddedChatPrimitiveImagePreviewModalContent as Un, EmbeddedChatPrimitiveImagePreviewModalFileName as $n, EmbeddedChatPrimitiveImagePreviewModalFooter as Kn, EmbeddedChatPrimitiveImagePreviewModalImage as qn, EmbeddedChatPrimitiveImagePreviewModalOverlay as jn } from "./embedded-chat/image-preview-modal.js";
54
- const Ct = "__intro__", bt = 767, pt = i("div", {
48
+ import { useShadow as mt } from "../atoms/shadow/context.js";
49
+ import { getIcon as lt } from "../utils/get-source-icon.js";
50
+ import { ChatHistoryProvider as ut } from "../providers/chat-history-provider.js";
51
+ import { EmbeddedChatPrimitiveDropZone as bn, EmbeddedChatPrimitiveFileContent as pn, EmbeddedChatPrimitiveFileInput as vn, EmbeddedChatPrimitiveFileItem as gn, EmbeddedChatPrimitiveFileList as Fn, EmbeddedChatPrimitiveFileName as _n, EmbeddedChatPrimitiveFilePreviewTrigger as Pn, EmbeddedChatPrimitiveFileRemove as fn, EmbeddedChatPrimitiveFileRemoveIcon as In, EmbeddedChatPrimitiveFileThumbnail as En, EmbeddedChatPrimitiveFileTypeIcon as Sn, EmbeddedChatPrimitiveFileUploadButton as Mn, EmbeddedChatPrimitiveFileUploadButtonIcon as kn, EmbeddedChatPrimitiveInputFieldset as yn, EmbeddedChatPrimitiveInputNotification as An, EmbeddedChatPrimitiveInputNotificationClose as xn, EmbeddedChatPrimitiveInputNotificationContent as Tn, EmbeddedChatPrimitiveInputNotificationHeader as Hn, EmbeddedChatPrimitiveInputNotificationMessage as wn, EmbeddedChatPrimitiveInputNotificationTitle as Ln, EmbeddedChatPrimitiveMessageFile as Dn, EmbeddedChatPrimitiveMessageFiles as Bn } from "./embedded-chat/file-upload-input.js";
52
+ import { EmbeddedChatPrimitiveImagePreviewModal as Rn, EmbeddedChatPrimitiveImagePreviewModalClose as On, EmbeddedChatPrimitiveImagePreviewModalContent as Vn, EmbeddedChatPrimitiveImagePreviewModalFileName as Wn, EmbeddedChatPrimitiveImagePreviewModalFooter as Qn, EmbeddedChatPrimitiveImagePreviewModalImage as Un, EmbeddedChatPrimitiveImagePreviewModalOverlay as $n } from "./embedded-chat/image-preview-modal.js";
53
+ const ht = "__intro__", Ct = 767, bt = i("div", {
55
54
  _id: "aiChatWrapper"
56
55
  }), le = Q(
57
56
  ({
@@ -67,12 +66,12 @@ const Ct = "__intro__", bt = 767, pt = i("div", {
67
66
  }, [t, r, o]);
68
67
  const c = t === "stack" && e;
69
68
  return /* @__PURE__ */ a(
70
- pt,
69
+ bt,
71
70
  {
72
71
  ref: d,
73
72
  "data-chat-history-layout": t,
74
- "data-chat-history-open": g(e),
75
- "data-stack-history-open": g(c),
73
+ "data-chat-history-open": v(e),
74
+ "data-stack-history-open": v(c),
76
75
  ...s,
77
76
  children: n
78
77
  }
@@ -80,60 +79,60 @@ const Ct = "__intro__", bt = 767, pt = i("div", {
80
79
  }
81
80
  );
82
81
  le.displayName = "EmbeddedChatWrapperInner";
83
- const Qo = Q((t, e) => {
84
- const { children: o, ...r } = t, { isHidden: n, isMobile: s } = F(), { aiChatSettings: d } = p(), { isChatHistoryButtonVisible: c } = d, [m, l] = Je(), u = ie(e, m), C = l?.width ? l.width > 580 : !0, h = rt(), v = (l?.width ?? 0) > bt ? "sidepane" : "stack";
85
- return /* @__PURE__ */ a(ht, { layout: v, children: ({ isOpen: _, setIsOpen: M }) => /* @__PURE__ */ a(
82
+ const Vo = Q((t, e) => {
83
+ const { children: o, ...r } = t, { isHidden: n, isMobile: s } = F(), { aiChatSettings: d } = p(), { isChatHistoryButtonVisible: c } = d, [m, l] = Ze(), u = ie(e, m), C = l?.width ? l.width > 580 : !0, h = at(), g = (l?.width ?? 0) > Ct ? "sidepane" : "stack";
84
+ return /* @__PURE__ */ a(ut, { layout: g, children: ({ isOpen: _, setIsOpen: M }) => /* @__PURE__ */ a(
86
85
  le,
87
86
  {
88
87
  ref: u,
89
- chatHistoryLayout: v,
88
+ chatHistoryLayout: g,
90
89
  isChatHistoryOpen: _,
91
90
  setChatHistoryOpen: M,
92
91
  isChatHistoryButtonVisible: !!c,
93
- "data-widget-md": g(C),
94
- "data-hidden": g(n),
95
- "data-in-modal": g(!!h),
96
- "data-mobile": g(s),
92
+ "data-widget-md": v(C),
93
+ "data-hidden": v(n),
94
+ "data-in-modal": v(!!h),
95
+ "data-mobile": v(s),
97
96
  ...r,
98
97
  children: o
99
98
  }
100
99
  ) });
101
- }), gt = i("div", {
100
+ }), pt = i("div", {
102
101
  _id: "aiChatRoot"
103
- }), Uo = (t) => {
102
+ }), Wo = (t) => {
104
103
  const { isHidden: e } = F(), { form: o } = f();
105
- return o ? null : /* @__PURE__ */ a(gt, { "data-hidden": g(e), ...t });
106
- }, $o = i("div", {
104
+ return o ? null : /* @__PURE__ */ a(pt, { "data-hidden": v(e), ...t });
105
+ }, Qo = i("div", {
107
106
  _id: "aiChatHeader"
108
- }), Ko = i("div", {
107
+ }), Uo = i("div", {
109
108
  _id: "aiChatHeader__Toolbar"
110
- }), qo = i("div", {
109
+ }), $o = i("div", {
111
110
  _id: "aiChatHeader__ToolbarHeaderWrapper"
112
111
  }), vt = i(k, {
113
112
  _id: "aiChatHeader__ChatHistoryButtonIcon"
114
- }), jo = S(
113
+ }), Ko = S(
115
114
  (t) => /* @__PURE__ */ a(vt, { ...t })
116
- ), zo = i("button", {
115
+ ), qo = i("button", {
117
116
  _id: "aiChatHeader__ChatHistoryButton"
118
- }), Ft = i("div", {
117
+ }), gt = i("div", {
119
118
  _id: "aiChatHeader__ToolbarHeader"
120
- }), Go = S(
119
+ }), jo = S(
121
120
  (t) => {
122
121
  const { aiChatSettings: e } = p(), o = `Ask ${e.aiAssistantName || "AI"}`;
123
- return /* @__PURE__ */ a(Ft, { ...t, children: o });
122
+ return /* @__PURE__ */ a(gt, { ...t, children: o });
124
123
  }
125
- ), Yo = i("div", {
124
+ ), zo = i("div", {
126
125
  _id: "aiChatContent"
127
- }), Zo = i(U.Root, {
126
+ }), Go = i(U.Root, {
128
127
  _id: "aiChatContentScrollArea"
129
- }), _t = i(U.Viewport, {
128
+ }), Ft = i(U.Viewport, {
130
129
  _id: "aiChatContentScrollArea__Viewport"
131
- }), Jo = Q(({ children: t, ...e }, o) => {
132
- const { messages: r, isStreaming: n } = F(), { containerRef: s, scrollToBottom: d, handleScroll: c } = st({ isStreaming: n }), m = ie(o, s);
130
+ }), Yo = Q(({ children: t, ...e }, o) => {
131
+ const { messages: r, isStreaming: n } = F(), { containerRef: s, scrollToBottom: d, handleScroll: c } = nt({ isStreaming: n }), m = ie(o, s);
133
132
  return W(() => {
134
133
  r.length > 0 && !n && d();
135
134
  }, [r.length, d, n]), /* @__PURE__ */ a(
136
- _t,
135
+ Ft,
137
136
  {
138
137
  ref: m,
139
138
  tabIndex: -1,
@@ -146,45 +145,45 @@ const Qo = Q((t, e) => {
146
145
  ...e
147
146
  }
148
147
  );
149
- }), Xo = i(
148
+ }), Zo = i(
150
149
  U.ScrollAreaScrollbar,
151
150
  {
152
151
  _id: "aiChatContentScrollArea__Scrollbar"
153
152
  }
154
- ), ea = i(
153
+ ), Jo = i(
155
154
  U.ScrollAreaThumb,
156
155
  {
157
156
  _id: "aiChatContentScrollArea__Thumb"
158
157
  }
159
- ), ta = i(U.Corner, {
158
+ ), Xo = i(U.Corner, {
160
159
  _id: "aiChatContentScrollArea__Corner"
161
- }), Pt = i("div", {
160
+ }), _t = i("div", {
162
161
  _id: "aiChatMessages"
163
- }), ia = (t) => {
162
+ }), ea = (t) => {
164
163
  const e = F(), { children: o, ...r } = t;
165
- return /* @__PURE__ */ a(Pt, { children: O(o, e), ...r });
166
- }, ft = i("div", {
164
+ return /* @__PURE__ */ a(_t, { children: O(o, e), ...r });
165
+ }, Pt = i("div", {
167
166
  _id: "aiChatDisclaimer"
168
- }), oa = S(
167
+ }), ta = S(
169
168
  (t) => {
170
- const { aiChatSettings: e } = p(), [o, r] = $(!1), n = dt(o, 100);
171
- return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ a(ct, { open: o, setOpen: r, children: /* @__PURE__ */ a(D.Root, { open: n, onOpenChange: r, children: /* @__PURE__ */ a(ft, { ...t }) }) }) : null;
169
+ const { aiChatSettings: e } = p(), [o, r] = $(!1), n = st(o, 100);
170
+ return e.disclaimerSettings?.isEnabled ? /* @__PURE__ */ a(dt, { open: o, setOpen: r, children: /* @__PURE__ */ a(D.Root, { open: n, onOpenChange: r, children: /* @__PURE__ */ a(Pt, { ...t }) }) }) : null;
172
171
  }
173
- ), It = i("span", {
172
+ ), ft = i("span", {
174
173
  _id: "aiChatDisclaimerLabel"
175
- }), aa = S(
174
+ }), ia = S(
176
175
  (t) => {
177
176
  const { aiChatSettings: e } = p(), o = e.disclaimerSettings;
178
- return /* @__PURE__ */ a(It, { children: o?.label, ...t });
177
+ return /* @__PURE__ */ a(ft, { children: o?.label, ...t });
179
178
  }
180
- ), Et = i(D.Trigger, {
179
+ ), It = i(D.Trigger, {
181
180
  _id: "aiChatDisclaimerTrigger",
182
181
  children: /* @__PURE__ */ a(k, { iconKey: "info" })
183
- }), ra = S(
182
+ }), oa = S(
184
183
  (t) => {
185
184
  const { setOpen: e } = me();
186
185
  return /* @__PURE__ */ a(
187
- Et,
186
+ It,
188
187
  {
189
188
  onMouseEnter: () => e(!0),
190
189
  onMouseLeave: () => e(!1),
@@ -192,12 +191,12 @@ const Qo = Q((t, e) => {
192
191
  }
193
192
  );
194
193
  }
195
- ), St = i(D.Content, {
194
+ ), Et = i(D.Content, {
196
195
  _id: "aiChatDisclaimerContent"
197
- }), na = (t) => {
196
+ }), aa = (t) => {
198
197
  const { setOpen: e } = me();
199
198
  return /* @__PURE__ */ a(
200
- St,
199
+ Et,
201
200
  {
202
201
  onMouseEnter: () => e(!0),
203
202
  onMouseLeave: () => e(!1),
@@ -208,57 +207,57 @@ const Qo = Q((t, e) => {
208
207
  ...t
209
208
  }
210
209
  );
211
- }, Mt = i(j, {
210
+ }, St = i(j, {
212
211
  _id: "aiChatDisclaimerText"
213
- }), sa = S(
212
+ }), ra = S(
214
213
  (t) => {
215
214
  const { aiChatSettings: e } = p(), o = e.aiAssistantName, n = e.disclaimerSettings?.tooltip || `Information provided by ${o || "this AI assistant"} is not guaranteed to be accurate or comprehensive.`;
216
- return /* @__PURE__ */ a(Mt, { shouldOpenLinksInNewTab: !0, children: n, ...t });
215
+ return /* @__PURE__ */ a(St, { shouldOpenLinksInNewTab: !0, children: n, ...t });
217
216
  }
218
- ), da = i(D.Arrow, {
217
+ ), na = i(D.Arrow, {
219
218
  _id: "aiChatDisclaimerArrow"
220
- }), kt = i("div", {
219
+ }), Mt = i("div", {
221
220
  _id: "aiChatExampleQuestions"
222
- }), ca = (t) => {
221
+ }), sa = (t) => {
223
222
  const { aiChatSettings: e } = p(), { messages: o } = F();
224
- return !e.exampleQuestions?.length || o.length ? null : /* @__PURE__ */ a(kt, { ...t });
225
- }, yt = i("h3", {
223
+ return !e.exampleQuestions?.length || o.length ? null : /* @__PURE__ */ a(Mt, { ...t });
224
+ }, kt = i("h3", {
226
225
  _id: "aiChatExampleQuestionsLabel"
227
- }), ma = S(
226
+ }), da = S(
228
227
  (t) => {
229
228
  const { aiChatSettings: e } = p();
230
- return /* @__PURE__ */ a(yt, { children: e.exampleQuestionsLabel, ...t });
229
+ return /* @__PURE__ */ a(kt, { children: e.exampleQuestionsLabel, ...t });
231
230
  }
232
- ), At = i("div", {
231
+ ), yt = i("div", {
233
232
  _id: "aiChatExampleQuestionsList"
234
- }), la = S(
233
+ }), ca = S(
235
234
  (t) => {
236
235
  const { aiChatSettings: e } = p(), o = e.exampleQuestions, { children: r, ...n } = t;
237
- return /* @__PURE__ */ a(At, { children: O(r, o), ...n });
236
+ return /* @__PURE__ */ a(yt, { children: O(r, o), ...n });
238
237
  }
239
- ), xt = i("div", {
238
+ ), At = i("div", {
240
239
  _id: "aiChatExampleQuestion"
241
- }), ua = Q((t, e) => {
240
+ }), ma = Q((t, e) => {
242
241
  const { aiChatSettings: o } = p(), r = o.isFirstExampleQuestionHighlighted;
243
- return /* @__PURE__ */ a(xt, { ref: e, "data-highlight": g(r), ...t });
244
- }), Tt = i("button", {
242
+ return /* @__PURE__ */ a(At, { ref: e, "data-highlight": v(r), ...t });
243
+ }), xt = i("button", {
245
244
  _id: "aiChatExampleQuestionButton"
246
- }), ha = (t) => {
245
+ }), la = (t) => {
247
246
  const { question: e, onClick: o, ...r } = t, n = typeof e == "object" ? e.value : e, s = typeof e == "object" ? e.label : e, { handleSubmit: d } = F();
248
247
  return /* @__PURE__ */ a(
249
- Tt,
248
+ xt,
250
249
  {
251
250
  onClick: b(o, () => d(n)),
252
251
  children: s,
253
252
  ...r
254
253
  }
255
254
  );
256
- }, Ht = i("div", {
255
+ }, Tt = i("div", {
257
256
  _id: "aiChatMessageWrapper"
258
- }), Lt = (t) => {
257
+ }), Ht = (t) => {
259
258
  const { message: e, ...o } = t;
260
- return e.role === "system" ? null : /* @__PURE__ */ a(je, { message: e, children: /* @__PURE__ */ a(Ht, { "data-role": e.role, ...o }) });
261
- }, Ca = S(
259
+ return e.role === "system" ? null : /* @__PURE__ */ a(je, { message: e, children: /* @__PURE__ */ a(Tt, { "data-role": e.role, ...o }) });
260
+ }, ua = S(
262
261
  (t) => {
263
262
  const { message: e, ...o } = t, { aiChatSettings: r, baseSettings: n } = p(), s = r.aiAssistantName, d = s ? `Hi, I'm ${s}!` : "Hi!", c = r.chatSubjectName ?? n.organizationDisplayName, m = c ? `
264
263
 
@@ -266,44 +265,44 @@ const Qo = Q((t, e) => {
266
265
 
267
266
  How can I help?`, u = {
268
267
  parts: [{ type: "text", text: r.introMessage ?? `${d}${m}` }],
269
- id: Ct,
268
+ id: ht,
270
269
  ...e,
271
270
  role: "assistant"
272
271
  };
273
- return /* @__PURE__ */ a(Lt, { message: u, ...o });
272
+ return /* @__PURE__ */ a(Ht, { message: u, ...o });
274
273
  }
275
274
  ), wt = i("div", {
276
275
  _id: "aiChatMessageHeader"
277
- }), ba = (t) => {
276
+ }), ha = (t) => {
278
277
  const { message: e } = E();
279
278
  return /* @__PURE__ */ a(wt, { "data-role": e.role, ...t });
280
- }, Dt = i("div", {
279
+ }, Lt = i("div", {
281
280
  _id: "aiChatMessageLoading",
282
281
  children: "Thinking..."
283
- }), pa = (t) => /* @__PURE__ */ a(Dt, { ...t }), Bt = i("div", {
282
+ }), Ca = (t) => /* @__PURE__ */ a(Lt, { ...t }), Dt = i("div", {
284
283
  _id: "aiChatMessageAvatar"
285
- }), ga = (t) => {
284
+ }), ba = (t) => {
286
285
  const { message: e } = E();
287
- return /* @__PURE__ */ a(Bt, { "data-role": e.role, ...t });
288
- }, Nt = i(J.Root, {
286
+ return /* @__PURE__ */ a(Dt, { "data-role": e.role, ...t });
287
+ }, Bt = i(J.Root, {
289
288
  _id: "aiChatMessageAvatarContent"
290
- }), va = (t) => {
289
+ }), pa = (t) => {
291
290
  const { message: e } = E(), { baseSettings: o } = p();
292
291
  return /* @__PURE__ */ a(
293
- Nt,
292
+ Bt,
294
293
  {
295
- "data-username": g(e.role === "user" && !!o.userProperties.name),
294
+ "data-username": v(e.role === "user" && !!o.userProperties.name),
296
295
  "data-role": e.role,
297
296
  ...t
298
297
  }
299
298
  );
300
- }, Rt = i(J.Fallback, {
299
+ }, Nt = i(J.Fallback, {
301
300
  _id: "aiChatMessageAvatarFallback"
302
- }), Fa = S(
301
+ }), va = S(
303
302
  (t) => {
304
303
  const { baseSettings: e } = p(), { message: o } = E();
305
304
  return e.userProperties.name ? /* @__PURE__ */ a(
306
- Rt,
305
+ Nt,
307
306
  {
308
307
  "data-role": o.role,
309
308
  children: Ge(e.userProperties.name),
@@ -313,17 +312,17 @@ const Qo = Q((t, e) => {
313
312
  }
314
313
  ), ae = i(J.Image, {
315
314
  _id: "aiChatMessageAvatarImage"
316
- }), _a = S(
315
+ }), ga = S(
317
316
  (t) => {
318
317
  const { onLoadingStatusChange: e, ...o } = t, {
319
318
  aiChatSettings: r,
320
319
  baseSettings: { userProperties: n }
321
- } = p(), { message: s } = E(), { aiAssistantAvatar: d } = r ?? {}, c = typeof d == "string" ? d : d?.light, m = (typeof d == "string" ? d : d?.dark) ?? c, l = nt(c, m), [u, C] = $(l);
320
+ } = p(), { message: s } = E(), { aiAssistantAvatar: d } = r ?? {}, c = typeof d == "string" ? d : d?.light, m = (typeof d == "string" ? d : d?.dark) ?? c, l = rt(c, m), [u, C] = $(l);
322
321
  W(() => {
323
322
  C(l);
324
323
  }, [l]);
325
- const h = (v) => {
326
- v === "error" && C(null);
324
+ const h = (g) => {
325
+ g === "error" && C(null);
327
326
  };
328
327
  return s.role === "user" ? n.name ? null : r.userAvatar ? /* @__PURE__ */ a(
329
328
  ae,
@@ -363,29 +362,29 @@ const Qo = Q((t, e) => {
363
362
  }
364
363
  );
365
364
  }
366
- ), Ot = i("span", {
365
+ ), Rt = i("span", {
367
366
  _id: "aiChatMessageName"
368
- }), Pa = (t) => {
367
+ }), Fa = (t) => {
369
368
  const { message: e } = E(), { aiChatSettings: o } = p(), { aiAssistantName: r } = o;
370
369
  return /* @__PURE__ */ a(
371
- Ot,
370
+ Rt,
372
371
  {
373
372
  "data-role": e.role,
374
373
  children: e.role === "user" ? "You" : r || "AI assistant",
375
374
  ...t
376
375
  }
377
376
  );
378
- }, Vt = i("div", {
377
+ }, Ot = i("div", {
379
378
  _id: "aiChatMessageContentWrapper"
380
- }), fa = (t) => {
379
+ }), _a = (t) => {
381
380
  const { message: e } = E();
382
- return /* @__PURE__ */ a(Vt, { "data-role": e.role, ...t });
383
- }, Wt = i("div", {
381
+ return /* @__PURE__ */ a(Ot, { "data-role": e.role, ...t });
382
+ }, Vt = i("div", {
384
383
  _id: "aiChatMessageContent"
385
- }), Ia = (t) => {
384
+ }), Pa = (t) => {
386
385
  const { message: e } = E();
387
- return /* @__PURE__ */ a(Wt, { "data-role": e.role, ...t });
388
- }, Ea = (t) => {
386
+ return /* @__PURE__ */ a(Vt, { "data-role": e.role, ...t });
387
+ }, fa = (t) => {
389
388
  const { text: e, componentStyles: o, ...r } = t, { aiChatSettings: n } = p(), { shouldOpenLinksInNewTab: s } = n;
390
389
  return /* @__PURE__ */ a(
391
390
  j,
@@ -396,18 +395,18 @@ const Qo = Q((t, e) => {
396
395
  ...r
397
396
  }
398
397
  );
399
- }, Sa = ({
398
+ }, Ia = ({
400
399
  name: t,
401
400
  props: e,
402
401
  componentDef: o
403
402
  }) => {
404
- const n = lt()?.shadowHost, s = w(void 0), d = w(null), c = w(null), m = w(!1), [l, u] = $(!1), [C, h] = $(!1), v = w(o);
403
+ const n = mt()?.shadowHost, s = L(void 0), d = L(null), c = L(null), m = L(!1), [l, u] = $(!1), [C, h] = $(!1), g = L(o);
405
404
  ne(() => {
406
- o !== v.current && (typeof o == "function" && typeof v.current == "function" ? o.toString() !== v.current.toString() && (v.current = o) : v.current = o);
405
+ o !== g.current && (typeof o == "function" && typeof g.current == "function" ? o.toString() !== g.current.toString() && (g.current = o) : g.current = o);
407
406
  }, [o]);
408
- const _ = v.current, M = w(e);
407
+ const _ = g.current, M = L(e);
409
408
  M.current = e;
410
- const I = w(null), x = w(_);
409
+ const I = L(null), x = L(_);
411
410
  x.current !== _ && (I.current = null, x.current = _), W(() => {
412
411
  s.current || (s.current = `dyn:${t}:${crypto.randomUUID()}`, u(!0));
413
412
  }, [t]), Ce(() => {
@@ -428,13 +427,13 @@ const Qo = Q((t, e) => {
428
427
  const V = (T) => {
429
428
  const P = d.current;
430
429
  if (!P || m.current) return;
431
- const B = (L) => {
430
+ const B = (w) => {
432
431
  if (I.current !== null) return I.current;
433
- if (typeof L != "function" || L.length > 1)
432
+ if (typeof w != "function" || w.length > 1)
434
433
  return I.current = !1, !1;
435
434
  try {
436
- if (L.constructor === Function) {
437
- const z = L({});
435
+ if (w.constructor === Function) {
436
+ const z = w({});
438
437
  return I.current = G.isValidElement(z), I.current;
439
438
  }
440
439
  return I.current = !1, !1;
@@ -443,15 +442,15 @@ const Qo = Q((t, e) => {
443
442
  }
444
443
  };
445
444
  let y;
446
- const H = v.current;
445
+ const H = g.current;
447
446
  if (B(H))
448
447
  try {
449
448
  y = G.createElement(
450
449
  H,
451
450
  T || {}
452
451
  );
453
- } catch (L) {
454
- console.error("Error creating React element from component:", L);
452
+ } catch (w) {
453
+ console.error("Error creating React element from component:", w);
455
454
  return;
456
455
  }
457
456
  else if (typeof H == "function")
@@ -472,23 +471,23 @@ const Qo = Q((t, e) => {
472
471
  }, [_, C]), W(() => {
473
472
  !c.current || m.current || V(e);
474
473
  }, [e]), /* @__PURE__ */ a("slot", { name: s.current });
475
- }, Ma = i("div", {
474
+ }, Ea = i("div", {
476
475
  _id: "aiChatMessagePart"
477
- }), Qt = i("div", {
476
+ }), Wt = i("div", {
478
477
  _id: "aiChatMessageToolbar"
479
- }), ka = (t) => {
478
+ }), Sa = (t) => {
480
479
  const { isLoading: e, messages: o } = F(), { message: r } = E();
481
- return o.at(-1)?.id === r?.id && e || r.role === "user" ? null : /* @__PURE__ */ a(Qt, { ...t });
482
- }, Ut = i("div", {
480
+ return o.at(-1)?.id === r?.id && e || r.role === "user" ? null : /* @__PURE__ */ a(Wt, { ...t });
481
+ }, Qt = i("div", {
483
482
  _id: "aiChatMessageCustomActions"
484
- }), ya = (t) => {
483
+ }), Ma = (t) => {
485
484
  const { children: e, ...o } = t, { aiChatSettings: r } = p(), { message: n } = E(), { isStreaming: s, messages: d } = F(), c = d.at(-1)?.id === n?.id, m = n.role === "assistant", l = r.messageActions || [];
486
- return c && s || !m ? null : /* @__PURE__ */ a(Ut, { children: O(e, l), ...o });
487
- }, $t = i("a", {
485
+ return c && s || !m ? null : /* @__PURE__ */ a(Qt, { children: O(e, l), ...o });
486
+ }, Ut = i("a", {
488
487
  _id: "aiChatMessageCustomAction"
489
- }), Kt = i("button", {
488
+ }), $t = i("button", {
490
489
  _id: "aiChatMessageCustomAction"
491
- }), Aa = (t) => {
490
+ }), ka = (t) => {
492
491
  const { onClick: e, action: o, ...r } = t, { message: n } = E(), { handleAction: s } = te(o, n.id), { logEvent: d } = oe(), { conversationId: c } = F(), m = () => {
493
492
  s(), d({
494
493
  eventName: "user_escalation_indicated",
@@ -502,7 +501,7 @@ const Qo = Q((t, e) => {
502
501
  l
503
502
  ] });
504
503
  return o.action.type === "open_link" ? /* @__PURE__ */ a(
505
- $t,
504
+ Ut,
506
505
  {
507
506
  href: o.action.url,
508
507
  target: "_blank",
@@ -513,7 +512,7 @@ const Qo = Q((t, e) => {
513
512
  ...r
514
513
  }
515
514
  ) : /* @__PURE__ */ a(
516
- Kt,
515
+ $t,
517
516
  {
518
517
  "data-type": o.action.type,
519
518
  onClick: b(e, m),
@@ -521,12 +520,12 @@ const Qo = Q((t, e) => {
521
520
  ...r
522
521
  }
523
522
  );
524
- }, qt = i("button", {
523
+ }, Kt = i("button", {
525
524
  _id: "aiChatMessageAction"
526
- }), xa = (t) => {
525
+ }), ya = (t) => {
527
526
  const { action: e, onClick: o, className: r, ...n } = t, { conversationId: s } = F(), {
528
527
  baseSettings: { onFeedback: d }
529
- } = p(), { message: c } = E(), { isStreaming: m, messages: l } = F(), [u, C] = Y(), { feedback: h, submitPositiveFeedback: v, setCurrentFeedback: _, currentFeedback: M } = X(), { logEvent: I } = oe(), [x, V] = Ze(), T = l.at(-1)?.id === c?.id, P = c.role === "assistant";
528
+ } = p(), { message: c } = E(), { isStreaming: m, messages: l } = F(), [u, C] = Y(), { feedback: h, submitPositiveFeedback: g, setCurrentFeedback: _, currentFeedback: M } = X(), { logEvent: I } = oe(), [x, V] = Ye(), T = l.at(-1)?.id === c?.id, P = c.role === "assistant";
530
529
  if (T && m || !P) return null;
531
530
  const y = {
532
531
  copy() {
@@ -538,7 +537,7 @@ const Qo = Q((t, e) => {
538
537
  });
539
538
  },
540
539
  upvote() {
541
- v(c.id).then(() => {
540
+ g(c.id).then(() => {
542
541
  V();
543
542
  });
544
543
  },
@@ -549,17 +548,17 @@ const Qo = Q((t, e) => {
549
548
  copy: "Copy Message",
550
549
  upvote: "Upvote Message",
551
550
  downvote: "Downvote Message"
552
- }, L = {
551
+ }, w = {
553
552
  copy: /* @__PURE__ */ a(k, { iconKey: u ? "messageCopied" : "messageCopy" }),
554
553
  upvote: /* @__PURE__ */ a(k, { iconKey: x ? "messageCopied" : "thumbsUp" }),
555
554
  downvote: /* @__PURE__ */ a(k, { iconKey: "thumbsDown" })
556
555
  }, z = {
557
- copy: { "data-copied": g(u) },
556
+ copy: { "data-copied": v(u) },
558
557
  upvote: {
559
- "data-upvoted": g(h[c.id]?.type === "positive")
558
+ "data-upvoted": v(h[c.id]?.type === "positive")
560
559
  },
561
560
  downvote: {
562
- "data-downvoted": g(h[c.id]?.type === "negative"),
561
+ "data-downvoted": v(h[c.id]?.type === "negative"),
563
562
  "data-state": M === null ? "closed" : "open"
564
563
  }
565
564
  };
@@ -568,29 +567,29 @@ const Qo = Q((t, e) => {
568
567
  upvote: !d,
569
568
  downvote: !d
570
569
  }[e] ? null : /* @__PURE__ */ a(
571
- qt,
570
+ Kt,
572
571
  {
573
572
  "data-action": e,
574
573
  ...z[e],
575
- children: L[e],
574
+ children: w[e],
576
575
  "aria-label": H[e],
577
576
  className: `${r} ${e}`,
578
577
  onClick: b(o, y[e]),
579
578
  ...n
580
579
  }
581
580
  );
582
- }, jt = i("div", {
581
+ }, qt = i("div", {
583
582
  _id: "aiChatMessageSources"
584
- }), Ta = (t) => {
583
+ }), Aa = (t) => {
585
584
  const { message: e } = E();
586
585
  return e.role !== "assistant" || !e.parts.filter(
587
586
  (r) => r.type === "data-artifact" && r.data?.type?.toLowerCase() === "citation"
588
- )?.length ? null : /* @__PURE__ */ a(jt, { ...t });
589
- }, zt = i("div", {
587
+ )?.length ? null : /* @__PURE__ */ a(qt, { ...t });
588
+ }, jt = i("div", {
590
589
  _id: "aiChatMessageSources__Header"
591
- }), Ha = (t) => /* @__PURE__ */ a(zt, { children: "Sources", ...t }), Gt = i("div", {
590
+ }), xa = (t) => /* @__PURE__ */ a(jt, { children: "Sources", ...t }), zt = i("div", {
592
591
  _id: "aiChatMessageSources__List"
593
- }), La = (t) => {
592
+ }), Ta = (t) => {
594
593
  const { message: e } = E(), { children: o, ...r } = t, {
595
594
  baseSettings: { transformSource: n, organizationDisplayName: s },
596
595
  aiChatSettings: { shouldOpenLinksInNewTab: d },
@@ -605,7 +604,7 @@ const Qo = Q((t, e) => {
605
604
  const h = C.data.artifactSummary.url;
606
605
  return !h || l.has(h) ? !1 : (l.set(h, !0), !0);
607
606
  }).map((C) => {
608
- const h = C.data, v = {
607
+ const h = C.data, g = {
609
608
  id: h?.artifactId,
610
609
  title: h?.artifactSummary?.title || h?.name,
611
610
  url: h?.artifactSummary?.url || "",
@@ -617,17 +616,17 @@ const Qo = Q((t, e) => {
617
616
  }, M = (n ?? ((x) => ({
618
617
  ...x,
619
618
  shouldOpenInNewTab: d,
620
- icon: ut(x)
621
- })))(v, "chatSourceItem", {
619
+ icon: lt(x)
620
+ })))(g, "chatSourceItem", {
622
621
  organizationDisplayName: s,
623
622
  tabs: c
624
623
  }), I = M.shouldOpenInNewTab !== void 0 ? M.shouldOpenInNewTab : d;
625
624
  return { ...M, isExternal: I };
626
625
  });
627
- return /* @__PURE__ */ a(Gt, { children: O(o, u), ...r });
628
- }, Yt = i(Ke, {
626
+ return /* @__PURE__ */ a(zt, { children: O(o, u), ...r });
627
+ }, Gt = i(Ke, {
629
628
  _id: "aiChatMessageSourceItem"
630
- }), wa = (t) => {
629
+ }), Ha = (t) => {
631
630
  const { source: e, onClick: o, ...r } = t, { logEvent: n } = oe(), { conversationId: s } = F(), d = () => {
632
631
  n({
633
632
  eventName: "assistant_source_item_clicked",
@@ -638,7 +637,7 @@ const Qo = Q((t, e) => {
638
637
  });
639
638
  };
640
639
  return /* @__PURE__ */ a(qe, { source: e, children: /* @__PURE__ */ a(
641
- Yt,
640
+ Gt,
642
641
  {
643
642
  "data-type": e.type,
644
643
  appendToUrl: e.appendToUrl,
@@ -648,78 +647,78 @@ const Qo = Q((t, e) => {
648
647
  ...r
649
648
  }
650
649
  ) });
651
- }, Zt = i("div", {
650
+ }, Yt = i("div", {
652
651
  _id: "aiChatMessageSourceItem__Breadcrumbs"
653
- }), Da = (t) => {
652
+ }), wa = (t) => {
654
653
  const { source: e } = R();
655
- return e.breadcrumbs?.length ? /* @__PURE__ */ a(Zt, { "data-type": e.type, ...t }) : null;
656
- }, Ba = i(k, {
654
+ return e.breadcrumbs?.length ? /* @__PURE__ */ a(Yt, { "data-type": e.type, ...t }) : null;
655
+ }, La = i(k, {
657
656
  _id: "aiChatMessageSourceItem__BreadcrumbIcon",
658
657
  iconKey: "breadcrumbSeparator"
659
- }), Jt = i(N, {
658
+ }), Zt = i(N, {
660
659
  _id: "aiChatMessageSourceItem__Icon"
661
- }), Na = (t) => {
660
+ }), Da = (t) => {
662
661
  const { source: e } = R();
663
- return /* @__PURE__ */ a(Jt, { iconSettings: e.icon, "data-type": e.type, ...t });
664
- }, Xt = i("span", {
662
+ return /* @__PURE__ */ a(Zt, { iconSettings: e.icon, "data-type": e.type, ...t });
663
+ }, Jt = i("span", {
665
664
  _id: "aiChatMessageSourceItem__Title"
666
- }), Ra = (t) => {
665
+ }), Ba = (t) => {
667
666
  const { source: e } = R();
668
- return /* @__PURE__ */ a(Xt, { "data-type": e.type, children: e.title, ...t });
669
- }, ei = i("span", {
667
+ return /* @__PURE__ */ a(Jt, { "data-type": e.type, children: e.title, ...t });
668
+ }, Xt = i("span", {
670
669
  _id: "aiChatMessageSourceItem__Tag"
671
- }), Oa = (t) => {
670
+ }), Na = (t) => {
672
671
  const { source: e } = R();
673
- return /* @__PURE__ */ a(ei, { "data-type": e.type, ...t });
674
- }, ti = i("span", {
672
+ return /* @__PURE__ */ a(Xt, { "data-type": e.type, ...t });
673
+ }, ei = i("span", {
675
674
  _id: "aiChatMessageSourceItem__Description"
676
- }), Va = (t) => {
677
- const { source: e } = R(), { children: o, ...r } = t, n = ne(() => e.description ? at(e.description) : [], [e.description]);
675
+ }), Ra = (t) => {
676
+ const { source: e } = R(), { children: o, ...r } = t, n = ne(() => e.description ? ot(e.description) : [], [e.description]);
678
677
  return n.length ? /* @__PURE__ */ a(
679
- ti,
678
+ ei,
680
679
  {
681
680
  "data-type": e.type,
682
681
  children: O(o, n),
683
682
  ...r
684
683
  }
685
684
  ) : null;
686
- }, ii = i("span", {
685
+ }, ti = i("span", {
687
686
  _id: "aiChatMessageSourceItem__DescriptionPart"
688
- }), Wa = (t) => {
687
+ }), Oa = (t) => {
689
688
  const { part: e, ...o } = t, { source: r } = R();
690
689
  return typeof e == "string" ? e : /* @__PURE__ */ a(
691
- ii,
690
+ ti,
692
691
  {
693
692
  "data-type": r.type,
694
693
  children: e.content,
695
- "data-highlighted": g(e.highlighted),
694
+ "data-highlighted": v(e.highlighted),
696
695
  ...o
697
696
  }
698
697
  );
699
- }, oi = i(k, {
698
+ }, ii = i(k, {
700
699
  _id: "aiChatMessageSourceItem__Indicator"
701
- }), Qa = (t) => {
700
+ }), Va = (t) => {
702
701
  const { source: e } = R();
703
702
  return /* @__PURE__ */ a(
704
- oi,
703
+ ii,
705
704
  {
706
705
  iconKey: e.isExternal ? "openLinkInNewTab" : "openLinkInSameTab",
707
706
  ...t
708
707
  }
709
708
  );
710
- }, Ua = i("div", {
709
+ }, Wa = i("div", {
711
710
  _id: "aiChatFooter"
712
- }), $a = i("div", {
711
+ }), Qa = i("div", {
713
712
  _id: "aiChatInput__Group"
714
- }), ai = i("textarea", {
713
+ }), oi = i("textarea", {
715
714
  _id: "aiChatInput"
716
- }), Ka = Q(({ onChange: t, onKeyDown: e, ...o }, r) => {
715
+ }), Ua = Q(({ onChange: t, onKeyDown: e, ...o }, r) => {
717
716
  const { handleInputChange: n, handleInputKeyDown: s, input: d, error: c, shouldAutoFocusInput: m, inputRef: l } = F(), { aiChatSettings: u } = p(), C = ie(
718
717
  r,
719
718
  l
720
719
  );
721
- return mt("chat", l, m), /* @__PURE__ */ a(
722
- ai,
720
+ return ct("chat", l, m), /* @__PURE__ */ a(
721
+ oi,
723
722
  {
724
723
  asChild: !0,
725
724
  ref: C,
@@ -733,12 +732,12 @@ const Qo = Q((t, e) => {
733
732
  children: /* @__PURE__ */ a(se, {})
734
733
  }
735
734
  );
736
- }), ri = i("button", {
735
+ }), ai = i("button", {
737
736
  _id: "aiChatInput__SendButton"
738
- }), qa = (t) => {
737
+ }), $a = (t) => {
739
738
  const { handleSubmit: e, isSubmitDisabled: o, error: r } = F(), { aiChatSettings: n } = p(), { onClick: s, ...d } = t;
740
739
  return /* @__PURE__ */ a(
741
- ri,
740
+ ai,
742
741
  {
743
742
  onClick: b(s, () => e()),
744
743
  "aria-label": "Send message",
@@ -746,31 +745,29 @@ const Qo = Q((t, e) => {
746
745
  ...d
747
746
  }
748
747
  );
749
- }, ja = i(k, {
748
+ }, Ka = i(k, {
750
749
  _id: "aiChatInput__SendButtonIcon",
751
750
  iconKey: "chatSubmit"
752
- }), za = i("div", {
751
+ }), qa = i("div", {
753
752
  _id: "aiChatActionBar"
754
- }), Ga = i("div", {
753
+ }), ja = i("div", {
755
754
  _id: "aiChat__ChatActions"
756
- }), Ya = i("div", {
755
+ }), za = i("div", {
757
756
  _id: "aiChatTagline__Container"
758
- }), Za = i("span", {
757
+ }), Ga = i("span", {
759
758
  _id: "aiChatTagline__Text",
760
759
  children: "Powered by"
761
- }), Ja = i(Ye, {
762
- _id: "aiChatTagline__Logo"
763
- }), Xa = i("a", {
764
- _id: "aiChatTagline__BrandName",
765
- children: "inkeep",
760
+ }), Ya = i("a", {
761
+ _id: "aiChatTagline__Logo",
766
762
  href: "https://www.inkeep.com/",
767
763
  target: "_blank",
768
- rel: "noopener noreferrer"
769
- }), ni = i(q.Trigger, {
764
+ rel: "noopener noreferrer",
765
+ "aria-label": "Inkeep"
766
+ }), ri = i(q.Trigger, {
770
767
  _id: "aiChat__ChatAction"
771
768
  }), ue = (t) => {
772
769
  const { action: e, onClick: o, className: r, ...n } = t, { clear: s, stop: d, isBusy: c, messages: m } = F(), { conversationId: l } = F(), { aiChatSettings: u } = p(), [C, h] = Y(), [
773
- v
770
+ g
774
771
  /* copyShareUri */
775
772
  ] = Y(), _ = m.length > 0;
776
773
  if ({
@@ -803,22 +800,22 @@ ${H}`;
803
800
  stop: d
804
801
  }, T = {
805
802
  copy: C,
806
- share: v
803
+ share: g
807
804
  };
808
805
  return /* @__PURE__ */ a(q.Tooltip, { delayDuration: 0, open: T[e], children: /* @__PURE__ */ a(
809
- ni,
806
+ ri,
810
807
  {
811
808
  "data-type": e,
812
- "data-copied": g(C || v),
809
+ "data-copied": v(C || g),
813
810
  className: `${r} ${e}`,
814
- children: /* @__PURE__ */ a(di, { action: e }),
811
+ children: /* @__PURE__ */ a(si, { action: e }),
815
812
  onClick: b(o, V[e]),
816
813
  ...n
817
814
  }
818
815
  ) });
819
- }, si = i("span", {
816
+ }, ni = i("span", {
820
817
  _id: "aiChat__ChatActionLabel"
821
- }), di = (t) => {
818
+ }), si = (t) => {
822
819
  const { action: e, ...o } = t, { aiChatSettings: r } = p(), n = r.toolbarButtonLabels ?? {}, s = {
823
820
  help: n.getHelp ?? "Get Help",
824
821
  copy: n.copyChat ?? "Copy",
@@ -826,21 +823,21 @@ ${H}`;
826
823
  clear: n.clear ?? "Clear",
827
824
  stop: n.stop ?? "Stop"
828
825
  };
829
- return /* @__PURE__ */ a(si, { children: s[e], ...o });
830
- }, ci = i(q.TooltipContent, {
826
+ return /* @__PURE__ */ a(ni, { children: s[e], ...o });
827
+ }, di = i(q.TooltipContent, {
831
828
  _id: "aiChat__ChatActionFeeback"
832
- }), er = (t) => {
829
+ }), Za = (t) => {
833
830
  const { action: e, children: o, ...r } = t, n = {
834
831
  copy: "Copied!",
835
832
  share: "Link copied!"
836
833
  };
837
- return /* @__PURE__ */ Z(ci, { sideOffset: 5, ...r, children: [
834
+ return /* @__PURE__ */ Z(di, { sideOffset: 5, ...r, children: [
838
835
  /* @__PURE__ */ a(q.Arrow, {}),
839
836
  o || n[e]
840
837
  ] });
841
- }, mi = i(D.Root, {
838
+ }, ci = i(D.Root, {
842
839
  _id: "aiChatHelpActions"
843
- }), tr = (t) => {
840
+ }), Ja = (t) => {
844
841
  const { children: e, ...o } = t, { aiChatSettings: r } = p(), { getHelpOptions: n } = r;
845
842
  if (!n || (n ?? []).length === 0)
846
843
  return null;
@@ -850,9 +847,9 @@ ${H}`;
850
847
  return { ...u, [h]: [...u[h], C] };
851
848
  },
852
849
  { _pinned: [], _unpinned: [] }
853
- ), c = d.length === 1 ? [...s, d[0]] : s, m = d.length === 1 ? [] : d, l = Xe();
854
- return /* @__PURE__ */ a(et, { value: l, children: /* @__PURE__ */ a(
855
- mi,
850
+ ), c = d.length === 1 ? [...s, d[0]] : s, m = d.length === 1 ? [] : d, l = Je();
851
+ return /* @__PURE__ */ a(Xe, { value: l, children: /* @__PURE__ */ a(
852
+ ci,
856
853
  {
857
854
  open: l.open,
858
855
  onOpenChange: l.setOpen,
@@ -860,14 +857,14 @@ ${H}`;
860
857
  ...o
861
858
  }
862
859
  ) });
863
- }, li = i(ue, {
860
+ }, mi = i(ue, {
864
861
  _id: "aiChatHelpAction",
865
862
  action: "help"
866
- }), ui = i("a", {
863
+ }), li = i("a", {
867
864
  _id: "aiChatHelpAction",
868
865
  target: "_blank",
869
866
  rel: "noreferrer"
870
- }), ir = (t) => {
867
+ }), Xa = (t) => {
871
868
  const { action: e, onClick: o, ...r } = t, { handleAction: n, logHelpAction: s } = te(e), d = e.action.type, c = {
872
869
  "aria-label": e.name,
873
870
  "data-name": e.name,
@@ -878,18 +875,18 @@ ${H}`;
878
875
  // biome-ignore lint/suspicious/noExplicitAny: <explanation>
879
876
  ...r
880
877
  };
881
- return d === "open_link" ? /* @__PURE__ */ a(ui, { href: e.action.url, ...c }) : /* @__PURE__ */ a(li, { ...c });
882
- }, hi = i(D.Trigger, {
878
+ return d === "open_link" ? /* @__PURE__ */ a(li, { href: e.action.url, ...c }) : /* @__PURE__ */ a(mi, { ...c });
879
+ }, ui = i(D.Trigger, {
883
880
  _id: "aiChatHelpActions__Trigger"
884
- }), or = S(
881
+ }), er = S(
885
882
  (t) => {
886
883
  const { aiChatSettings: e } = p();
887
- return /* @__PURE__ */ a(ue, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ a(hi, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
884
+ return /* @__PURE__ */ a(ue, { action: "help", ...t, asChild: !0, children: /* @__PURE__ */ a(ui, { children: e.toolbarButtonLabels?.getHelp ?? "Get Help" }) });
888
885
  }
889
- ), Ci = i(D.Content, {
886
+ ), hi = i(D.Content, {
890
887
  _id: "aiChatHelpActions__Menu"
891
- }), ar = (t) => /* @__PURE__ */ a(
892
- Ci,
888
+ }), tr = (t) => /* @__PURE__ */ a(
889
+ hi,
893
890
  {
894
891
  side: "top",
895
892
  sideOffset: 8,
@@ -897,10 +894,10 @@ ${H}`;
897
894
  alignOffset: -10,
898
895
  ...t
899
896
  }
900
- ), rr = i(D.Arrow, {
897
+ ), ir = i(D.Arrow, {
901
898
  _id: "aiChatHelpActions__MenuArrow"
902
- }), nr = (t) => {
903
- const { action: e, onClick: o, ...r } = t, { handleAction: n, logHelpAction: s } = te(e), { setOpen: d } = tt(), c = () => {
899
+ }), or = (t) => {
900
+ const { action: e, onClick: o, ...r } = t, { handleAction: n, logHelpAction: s } = te(e), { setOpen: d } = et(), c = () => {
904
901
  n({
905
902
  onOpenForm: () => d(!1)
906
903
  }), s();
@@ -918,58 +915,58 @@ ${H}`;
918
915
  onClick: b(o, c)
919
916
  });
920
917
  return /* @__PURE__ */ a(l, { ...r });
921
- }, bi = i(N, {
918
+ }, Ci = i(N, {
922
919
  _id: "aiChatHelpActions_MenuItemIcon"
923
- }), sr = (t) => {
920
+ }), ar = (t) => {
924
921
  const { action: e, ...o } = t;
925
- return e.icon ? /* @__PURE__ */ a(bi, { iconSettings: e.icon, ...o }) : null;
926
- }, pi = i(Qe, {
922
+ return e.icon ? /* @__PURE__ */ a(Ci, { iconSettings: e.icon, ...o }) : null;
923
+ }, bi = i(Qe, {
927
924
  _id: "aiChatFeedbackModal"
928
- }), dr = (t) => {
925
+ }), rr = (t) => {
929
926
  const { onOpenChange: e, ...o } = t, { currentFeedback: r, setCurrentFeedback: n } = X();
930
927
  return /* @__PURE__ */ a(
931
- pi,
928
+ bi,
932
929
  {
933
930
  open: r !== null,
934
931
  onOpenChange: b(e, () => n(null)),
935
932
  ...o
936
933
  }
937
934
  );
938
- }, cr = i(Re, {
935
+ }, nr = i(Re, {
939
936
  _id: "aiChatFeedbackModal__Overlay"
940
- }), mr = i(Oe, {
937
+ }), sr = i(Oe, {
941
938
  _id: "aiChatFeedbackModal__Content",
942
939
  "aria-describedby": void 0
943
- }), lr = i(Ve, {
940
+ }), dr = i(Ve, {
944
941
  _id: "aiChatFeedbackModal__Header",
945
942
  children: "Help improve my answers!"
946
- }), ur = i(We, {
943
+ }), cr = i(We, {
947
944
  _id: "aiChatFeedbackModal__Close",
948
945
  children: /* @__PURE__ */ a(k, { iconKey: "close" })
949
- }), hr = i("div", {
946
+ }), mr = i("div", {
950
947
  _id: "aiChatFeedbackModal__Body"
951
- }), gi = i("form", {
948
+ }), pi = i("form", {
952
949
  _id: "aiChatFeedbackForm"
953
- }), Cr = (t) => {
950
+ }), lr = (t) => {
954
951
  const { onSubmit: e, ...o } = t, { submitNegativeFeedback: r, currentFeedback: n, setCurrentFeedback: s } = X();
955
- return /* @__PURE__ */ a(gi, { onSubmit: b(e, (c) => {
952
+ return /* @__PURE__ */ a(pi, { onSubmit: b(e, (c) => {
956
953
  c.preventDefault();
957
954
  const m = c.target, l = new FormData(m), u = Object.fromEntries(l.entries());
958
955
  n && (r(n, u), s(null));
959
956
  }), ...o });
960
957
  }, vi = i("div", {
961
958
  _id: "aiChatFeedbackItem"
962
- }), br = (t) => {
959
+ }), ur = (t) => {
963
960
  const { name: e, ...o } = t;
964
961
  return /* @__PURE__ */ a(ze, { name: e, children: /* @__PURE__ */ a(vi, { ...o }) });
965
- }, Fi = i(K.Root, {
962
+ }, gi = i(K.Root, {
966
963
  _id: "aiChatFeedbackItem__Checkbox"
967
- }), pr = (t) => {
964
+ }), hr = (t) => {
968
965
  const { name: e, focusItem: o } = ee(), { onCheckedChange: r, ...n } = t, s = (d) => {
969
966
  d && o?.current?.focus();
970
967
  };
971
968
  return /* @__PURE__ */ a(
972
- Fi,
969
+ gi,
973
970
  {
974
971
  id: `feedback-${e}`,
975
972
  name: e,
@@ -977,47 +974,47 @@ ${H}`;
977
974
  ...n
978
975
  }
979
976
  );
980
- }, gr = i(K.Indicator, {
977
+ }, Cr = i(K.Indicator, {
981
978
  _id: "aiChatFeedbackItem__CheckboxIndicator",
982
979
  children: /* @__PURE__ */ a(de, {})
983
- }), _i = i("label", {
980
+ }), Fi = i("label", {
984
981
  _id: "aiChatFeedbackItem__Label"
985
- }), vr = (t) => {
982
+ }), br = (t) => {
986
983
  const { name: e } = ee(), o = {
987
984
  unrelated_response: "Didn't answer my question",
988
985
  inaccurate_statement: "Inaccurate statement",
989
986
  inaccurate_code_snippet: "Inaccurate code snippet",
990
987
  irrelevant_citations: "Irrelevant citations"
991
988
  };
992
- return /* @__PURE__ */ a(_i, { htmlFor: `feedback-${e}`, children: o[e], ...t });
993
- }, Pi = i("textarea", {
989
+ return /* @__PURE__ */ a(Fi, { htmlFor: `feedback-${e}`, children: o[e], ...t });
990
+ }, _i = i("textarea", {
994
991
  _id: "aiChatFeedbackItem__Description",
995
992
  placeholder: "Please describe"
996
- }), Fr = (t) => {
993
+ }), pr = (t) => {
997
994
  const { name: e, focusItem: o } = ee();
998
995
  return /* @__PURE__ */ a(
999
- Pi,
996
+ _i,
1000
997
  {
1001
998
  ref: o,
1002
999
  name: `${e}:description`,
1003
1000
  ...t
1004
1001
  }
1005
1002
  );
1006
- }, _r = i("button", {
1003
+ }, vr = i("button", {
1007
1004
  _id: "aiChatFeedbackForm__SubmitButton",
1008
1005
  children: "Submit",
1009
1006
  type: "submit"
1010
- }), fi = i("div", {
1007
+ }), Pi = i("div", {
1011
1008
  _id: "aiChatForm__Wrapper"
1012
- }), Pr = (t) => {
1009
+ }), gr = (t) => {
1013
1010
  const { form: e } = f();
1014
- return e ? /* @__PURE__ */ a(fi, { ...t }) : null;
1015
- }, Ii = i("form", {
1011
+ return e ? /* @__PURE__ */ a(Pi, { ...t }) : null;
1012
+ }, fi = i("form", {
1016
1013
  _id: "aiChatForm"
1017
- }), fr = (t) => {
1014
+ }), Fr = (t) => {
1018
1015
  const { onSubmit: e, ...o } = t, { conversationId: r, messages: n } = F(), { handleSubmit: s, isSuccess: d } = f();
1019
1016
  return d ? null : /* @__PURE__ */ a(
1020
- Ii,
1017
+ fi,
1021
1018
  {
1022
1019
  onSubmit: b(
1023
1020
  e,
@@ -1026,35 +1023,35 @@ ${H}`;
1026
1023
  ...o
1027
1024
  }
1028
1025
  );
1029
- }, Ei = i("button", {
1026
+ }, Ii = i("button", {
1030
1027
  _id: "aiChatForm__Close",
1031
1028
  children: /* @__PURE__ */ a(k, { iconKey: "close" })
1032
- }), Ir = (t) => {
1029
+ }), _r = (t) => {
1033
1030
  const { onClick: e, ...o } = t, { closeForm: r } = f();
1034
- return /* @__PURE__ */ a(Ei, { onClick: b(e, r), ...o });
1035
- }, Er = i("div", {
1031
+ return /* @__PURE__ */ a(Ii, { onClick: b(e, r), ...o });
1032
+ }, Pr = i("div", {
1036
1033
  _id: "aiChatForm__Header"
1037
- }), Si = i("h2", {
1034
+ }), Ei = i("h2", {
1038
1035
  _id: "aiChatForm__Heading"
1039
- }), Sr = (t) => {
1036
+ }), fr = (t) => {
1040
1037
  const { form: e } = f();
1041
- return e?.heading ? /* @__PURE__ */ a(Si, { children: e.heading, ...t }) : null;
1042
- }, Mi = i(j, {
1038
+ return e?.heading ? /* @__PURE__ */ a(Ei, { children: e.heading, ...t }) : null;
1039
+ }, Si = i(j, {
1043
1040
  _id: "aiChatForm__Description"
1044
- }), Mr = (t) => {
1041
+ }), Ir = (t) => {
1045
1042
  const { form: e } = f();
1046
- return e?.description ? /* @__PURE__ */ a(Mi, { shouldOpenLinksInNewTab: !0, children: e.description, ...t }) : null;
1047
- }, ki = i("div", {
1043
+ return e?.description ? /* @__PURE__ */ a(Si, { shouldOpenLinksInNewTab: !0, children: e.description, ...t }) : null;
1044
+ }, Mi = i("div", {
1048
1045
  _id: "aiChatForm__Content"
1049
- }), kr = (t) => {
1046
+ }), Er = (t) => {
1050
1047
  const { children: e, ...o } = t, { getFields: r } = f(), { conversationId: n } = F(), s = r(n) || [];
1051
- return /* @__PURE__ */ a(ki, { children: O(e, s), ...o });
1052
- }, yi = i("div", {
1048
+ return /* @__PURE__ */ a(Mi, { children: O(e, s), ...o });
1049
+ }, ki = i("div", {
1053
1050
  _id: "aiChatForm__Field"
1054
- }), yr = (t) => {
1051
+ }), Sr = (t) => {
1055
1052
  const { field: e, autoFocus: o, ...r } = t, { control: n, errors: s } = f();
1056
1053
  return /* @__PURE__ */ a(
1057
- ot,
1054
+ it,
1058
1055
  {
1059
1056
  name: e.name,
1060
1057
  control: n,
@@ -1062,17 +1059,17 @@ ${H}`;
1062
1059
  render: ({ field: d }) => {
1063
1060
  const c = d.value !== void 0 || e.inputType === "file";
1064
1061
  return /* @__PURE__ */ a(
1065
- it,
1062
+ tt,
1066
1063
  {
1067
- "data-invalid": g(!!s[e.name]),
1064
+ "data-invalid": v(!!s[e.name]),
1068
1065
  field: e,
1069
1066
  fieldProps: d,
1070
1067
  autoFocus: o,
1071
1068
  children: c && /* @__PURE__ */ a(
1072
- yi,
1069
+ ki,
1073
1070
  {
1074
1071
  "data-input-type": e.inputType,
1075
- "data-hidden": g(e.isHidden),
1072
+ "data-hidden": v(e.isHidden),
1076
1073
  ...r
1077
1074
  }
1078
1075
  )
@@ -1081,20 +1078,20 @@ ${H}`;
1081
1078
  }
1082
1079
  }
1083
1080
  );
1084
- }, Ai = i("label", {
1081
+ }, yi = i("label", {
1085
1082
  _id: "aiChatForm__FieldLabel"
1086
- }), Ar = (t) => {
1083
+ }), Mr = (t) => {
1087
1084
  const { field: e } = A();
1088
1085
  return /* @__PURE__ */ a(
1089
- Ai,
1086
+ yi,
1090
1087
  {
1091
- "data-required": g(e.isRequired),
1088
+ "data-required": v(e.isRequired),
1092
1089
  htmlFor: e.name,
1093
1090
  children: e.label,
1094
1091
  ...t
1095
1092
  }
1096
1093
  );
1097
- }, xi = i("input", {
1094
+ }, Ai = i("input", {
1098
1095
  _id: "aiChatForm__FieldText",
1099
1096
  type: "text"
1100
1097
  }), he = (t) => {
@@ -1105,91 +1102,91 @@ ${H}`;
1105
1102
  autoFocus: d
1106
1103
  } = A(), { onChange: c, onBlur: m, ...l } = t;
1107
1104
  return /* @__PURE__ */ a(
1108
- xi,
1105
+ Ai,
1109
1106
  {
1110
1107
  id: e.name,
1111
1108
  autoFocus: d,
1112
1109
  placeholder: "placeholder" in e ? e.placeholder : void 0,
1113
- "data-invalid": g(!!o),
1110
+ "data-invalid": v(!!o),
1114
1111
  onChange: b(c, r),
1115
1112
  onBlur: b(m, n),
1116
1113
  ...s,
1117
1114
  ...l
1118
1115
  }
1119
1116
  );
1120
- }, xr = i(he, {
1117
+ }, kr = i(he, {
1121
1118
  _id: "aiChatForm__FieldEmail",
1122
1119
  type: "email"
1123
- }), Ti = i("input", {
1120
+ }), xi = i("input", {
1124
1121
  _id: "aiChatForm__FieldFile",
1125
1122
  type: "file",
1126
1123
  multiple: !0
1127
- }), Tr = (t) => {
1124
+ }), yr = (t) => {
1128
1125
  const {
1129
1126
  field: e,
1130
1127
  error: o,
1131
1128
  fieldProps: { value: r, onChange: n, onBlur: s, ...d },
1132
1129
  autoFocus: c
1133
1130
  } = A(), { onChange: m, onBlur: l, ...u } = t, C = (h) => {
1134
- const v = h.target.files;
1135
- n(v);
1131
+ const g = h.target.files;
1132
+ n(g);
1136
1133
  };
1137
1134
  return /* @__PURE__ */ a(
1138
- Ti,
1135
+ xi,
1139
1136
  {
1140
1137
  id: e.name,
1141
1138
  autoFocus: c,
1142
1139
  "data-value": r,
1143
- "data-invalid": g(!!o),
1140
+ "data-invalid": v(!!o),
1144
1141
  ...u,
1145
1142
  ...d,
1146
1143
  onChange: b(m, C),
1147
1144
  onBlur: b(l, s)
1148
1145
  }
1149
1146
  );
1150
- }, Hr = i(he, {
1147
+ }, Ar = i(he, {
1151
1148
  _id: "aiChatForm__FieldTextArea",
1152
1149
  type: "textarea",
1153
1150
  asChild: !0,
1154
1151
  children: /* @__PURE__ */ a(se, { maxRows: 8 })
1155
- }), Hi = i(K.Root, {
1152
+ }), Ti = i(K.Root, {
1156
1153
  _id: "aiChatForm__FieldCheckbox"
1157
- }), Lr = (t) => {
1154
+ }), xr = (t) => {
1158
1155
  const { field: e, error: o, fieldProps: r, autoFocus: n } = A(), { onCheckedChange: s, ...d } = t;
1159
1156
  return /* @__PURE__ */ a(
1160
- Hi,
1157
+ Ti,
1161
1158
  {
1162
1159
  id: e.name,
1163
1160
  name: e.name,
1164
1161
  autoFocus: n,
1165
- "data-invalid": g(!!o),
1162
+ "data-invalid": v(!!o),
1166
1163
  checked: r.value,
1167
1164
  onCheckedChange: b(s, r.onChange),
1168
1165
  ...d
1169
1166
  }
1170
1167
  );
1171
- }, wr = i(K.Indicator, {
1168
+ }, Tr = i(K.Indicator, {
1172
1169
  _id: "aiChatForm__FieldCheckboxIndicator",
1173
1170
  children: /* @__PURE__ */ a(de, {})
1174
- }), Li = i(Ie, {
1171
+ }), Hi = i(Ie, {
1175
1172
  _id: "aiChatForm__FieldSelect"
1176
- }), Dr = (t) => {
1173
+ }), Hr = (t) => {
1177
1174
  const { field: e, error: o, fieldProps: r } = A(), { onValueChange: n, ...s } = t;
1178
1175
  return /* @__PURE__ */ a(
1179
- Li,
1176
+ Hi,
1180
1177
  {
1181
1178
  name: e.name,
1182
- "data-invalid": g(!!o),
1179
+ "data-invalid": v(!!o),
1183
1180
  value: r.value,
1184
1181
  onValueChange: b(n, r.onChange),
1185
1182
  ...s
1186
1183
  }
1187
1184
  );
1188
- }, Br = i(ge, {
1185
+ }, wr = i(ve, {
1189
1186
  _id: "aiChatForm__FieldSelect__Trigger"
1190
1187
  }), wi = i(Ee, {
1191
1188
  _id: "aiChatForm__FieldSelect__Value"
1192
- }), Nr = (t) => {
1189
+ }), Lr = (t) => {
1193
1190
  const { field: e } = A();
1194
1191
  return /* @__PURE__ */ a(
1195
1192
  wi,
@@ -1198,32 +1195,32 @@ ${H}`;
1198
1195
  ...t
1199
1196
  }
1200
1197
  );
1201
- }, Rr = i(ve, {
1198
+ }, Dr = i(ge, {
1202
1199
  _id: "aiChatForm__FieldSelect__Icon",
1203
1200
  asChild: !0,
1204
1201
  children: /* @__PURE__ */ a(N, { iconSettings: { builtIn: "LuChevronDown" } })
1205
- }), Or = i(Fe, {
1202
+ }), Br = i(Fe, {
1206
1203
  _id: "aiChatForm__FieldSelect__Content",
1207
1204
  position: "popper"
1208
- }), Vr = i(_e, {
1205
+ }), Nr = i(_e, {
1209
1206
  _id: "aiChatForm__FieldSelect__Viewport"
1210
- }), Wr = i(Pe, {
1207
+ }), Rr = i(Pe, {
1211
1208
  _id: "aiChatForm__FieldSelect__Item"
1212
- }), Qr = i(pe, {
1209
+ }), Or = i(pe, {
1213
1210
  _id: "aiChatForm__FieldSelect__ItemText"
1214
- }), Ur = i(
1211
+ }), Vr = i(
1215
1212
  fe,
1216
1213
  {
1217
1214
  _id: "aiChatForm__FieldSelect__ItemIndicator",
1218
1215
  asChild: !0,
1219
1216
  children: /* @__PURE__ */ a(N, { iconSettings: { builtIn: "LuCheck" } })
1220
1217
  }
1221
- ), $r = (t) => {
1218
+ ), Wr = (t) => {
1222
1219
  const { field: e, error: o, fieldProps: r } = A(), { onValueChange: n, ...s } = t;
1223
1220
  if (e.inputType !== "combobox") return null;
1224
1221
  const d = e, { items: c, placeholder: m, multiple: l } = d, u = Array.isArray(r.value) ? r.value : [], C = {
1225
1222
  name: e.name,
1226
- "data-invalid": g(!!o) || void 0,
1223
+ "data-invalid": v(!!o) || void 0,
1227
1224
  items: c,
1228
1225
  defaultValue: u,
1229
1226
  multiple: l ?? !1,
@@ -1240,102 +1237,102 @@ ${H}`;
1240
1237
  ...C
1241
1238
  }
1242
1239
  );
1243
- }, Di = { _id: "aiChatForm__FieldCombobox__Control" }, Kr = i(
1240
+ }, Li = { _id: "aiChatForm__FieldCombobox__Control" }, Qr = i(
1244
1241
  ye,
1245
- Di
1246
- ), Bi = { _id: "aiChatForm__FieldCombobox__Input" }, qr = i(
1242
+ Li
1243
+ ), Di = { _id: "aiChatForm__FieldCombobox__Input" }, Ur = i(
1247
1244
  Ae,
1248
- Bi
1249
- ), Ni = {
1245
+ Di
1246
+ ), Bi = {
1250
1247
  _id: "aiChatForm__FieldCombobox__Trigger",
1251
1248
  children: /* @__PURE__ */ a(N, { iconSettings: { builtIn: "LuChevronDown" } })
1252
- }, jr = i(
1249
+ }, $r = i(
1253
1250
  xe,
1254
- Ni
1255
- ), Ri = { _id: "aiChatForm__FieldCombobox__SelectedTags" }, zr = i(
1251
+ Bi
1252
+ ), Ni = { _id: "aiChatForm__FieldCombobox__SelectedTags" }, Kr = i(
1256
1253
  Te,
1257
- Ri
1258
- ), Oi = { _id: "aiChatForm__FieldCombobox__Content" }, Gr = i(
1254
+ Ni
1255
+ ), Ri = { _id: "aiChatForm__FieldCombobox__Content" }, qr = i(
1259
1256
  He,
1257
+ Ri
1258
+ ), Oi = { _id: "aiChatForm__FieldCombobox__Positioner" }, jr = i(
1259
+ we,
1260
1260
  Oi
1261
- ), Vi = { _id: "aiChatForm__FieldCombobox__Positioner" }, Yr = i(
1261
+ ), Vi = { _id: "aiChatForm__FieldCombobox__List" }, zr = i(
1262
1262
  Le,
1263
1263
  Vi
1264
- ), Wi = { _id: "aiChatForm__FieldCombobox__List" }, Zr = i(
1265
- we,
1266
- Wi
1267
- ), Jr = i(De, {
1264
+ ), Gr = i(De, {
1268
1265
  _id: "aiChatForm__FieldCombobox__Item"
1269
- }), Xr = i(
1266
+ }), Yr = i(
1270
1267
  ke,
1271
1268
  { _id: "aiChatForm__FieldCombobox__ItemText" }
1272
- ), en = i(
1269
+ ), Zr = i(
1273
1270
  Be,
1274
1271
  { _id: "aiChatForm__FieldCombobox__ItemIndicator" }
1275
- ), tn = Se, on = i(
1272
+ ), Jr = Se, Xr = i(
1276
1273
  Ne,
1277
1274
  { _id: "aiChatForm__FieldCombobox__ListEmpty" }
1278
- ), Qi = i("p", {
1275
+ ), Wi = i("p", {
1279
1276
  _id: "aiChatForm__FieldDescription"
1280
- }), an = (t) => {
1277
+ }), en = (t) => {
1281
1278
  const { field: e } = A();
1282
- return e.description ? /* @__PURE__ */ a(Qi, { children: e.description, ...t }) : null;
1283
- }, Ui = i("span", {
1279
+ return e.description ? /* @__PURE__ */ a(Wi, { children: e.description, ...t }) : null;
1280
+ }, Qi = i("span", {
1284
1281
  _id: "aiChatForm__FieldError"
1285
- }), rn = (t) => {
1282
+ }), tn = (t) => {
1286
1283
  const { error: e } = A();
1287
- return e ? /* @__PURE__ */ a(Ui, { children: e.message?.toString(), ...t }) : null;
1288
- }, $i = i("span", {
1284
+ return e ? /* @__PURE__ */ a(Qi, { children: e.message?.toString(), ...t }) : null;
1285
+ }, Ui = i("span", {
1289
1286
  _id: "aiChatForm__Error"
1290
- }), nn = (t) => {
1287
+ }), on = (t) => {
1291
1288
  const { formError: e } = f();
1292
- return e ? /* @__PURE__ */ a($i, { children: e.message, ...t }) : null;
1293
- }, sn = i("div", {
1289
+ return e ? /* @__PURE__ */ a(Ui, { children: e.message, ...t }) : null;
1290
+ }, an = i("div", {
1294
1291
  _id: "aiChatForm__Footer"
1295
- }), Ki = i("button", {
1292
+ }), $i = i("button", {
1296
1293
  _id: "aiChatForm__Cancel",
1297
1294
  children: "Cancel",
1298
1295
  type: "button"
1299
- }), dn = (t) => {
1296
+ }), rn = (t) => {
1300
1297
  const { onClick: e, ...o } = t, { closeForm: r } = f();
1301
- return /* @__PURE__ */ a(Ki, { onClick: b(e, r), ...o });
1302
- }, qi = i("button", {
1298
+ return /* @__PURE__ */ a($i, { onClick: b(e, r), ...o });
1299
+ }, Ki = i("button", {
1303
1300
  _id: "aiChatForm__Submit",
1304
1301
  children: "Submit",
1305
1302
  type: "submit"
1306
- }), cn = (t) => {
1303
+ }), nn = (t) => {
1307
1304
  const { onClick: e, ...o } = t, { isSubmitting: r, form: n } = f(), s = n?.buttons.submit.label || "Submit";
1308
- return /* @__PURE__ */ a(qi, { disabled: r, ...o, children: s });
1309
- }, ji = i("div", {
1305
+ return /* @__PURE__ */ a(Ki, { disabled: r, ...o, children: s });
1306
+ }, qi = i("div", {
1310
1307
  _id: "aiChatForm__Success"
1311
- }), mn = (t) => {
1308
+ }), sn = (t) => {
1312
1309
  const { isSuccess: e } = f();
1313
- return e ? /* @__PURE__ */ a(ji, { ...t }) : null;
1314
- }, zi = i("h2", {
1310
+ return e ? /* @__PURE__ */ a(qi, { ...t }) : null;
1311
+ }, ji = i("h2", {
1315
1312
  _id: "aiChatForm__SuccessHeading"
1316
- }), ln = (t) => {
1313
+ }), dn = (t) => {
1317
1314
  const { form: e } = f();
1318
- return /* @__PURE__ */ a(zi, { children: e?.successView?.heading, ...t });
1319
- }, Gi = i(j, {
1315
+ return /* @__PURE__ */ a(ji, { children: e?.successView?.heading, ...t });
1316
+ }, zi = i(j, {
1320
1317
  _id: "aiChatForm__SuccessMessage"
1321
- }), un = (t) => {
1318
+ }), cn = (t) => {
1322
1319
  const { form: e } = f();
1323
1320
  return /* @__PURE__ */ a(
1324
- Gi,
1321
+ zi,
1325
1322
  {
1326
1323
  shouldOpenLinksInNewTab: !0,
1327
1324
  children: e?.successView?.message,
1328
1325
  ...t
1329
1326
  }
1330
1327
  );
1331
- }, Yi = i("button", {
1328
+ }, Gi = i("button", {
1332
1329
  _id: "aiChatForm__SuccessButton"
1333
- }), hn = (t) => {
1330
+ }), mn = (t) => {
1334
1331
  const { onClick: e, ...o } = t, { form: r, closeForm: n } = f(), s = r?.successView?.doneButton;
1335
1332
  if (!s) return null;
1336
1333
  const d = s.icon && /* @__PURE__ */ a(N, { iconSettings: s.icon }), c = s.label;
1337
1334
  return /* @__PURE__ */ a(
1338
- Yi,
1335
+ Gi,
1339
1336
  {
1340
1337
  onClick: b(e, n),
1341
1338
  children: /* @__PURE__ */ Z(re, { children: [
@@ -1347,305 +1344,303 @@ ${H}`;
1347
1344
  );
1348
1345
  };
1349
1346
  export {
1350
- za as ActionBar,
1351
- Ga as Actions,
1347
+ qa as ActionBar,
1348
+ ja as Actions,
1352
1349
  ue as ChatAction,
1353
- er as ChatActionFeedback,
1354
- di as ChatActionLabel,
1355
- ir as ChatHelpAction,
1356
- zo as ChatHistoryButton,
1357
- jo as ChatHistoryButtonIcon,
1358
- Yo as Content,
1359
- Zo as ContentScrollArea,
1360
- ta as ContentScrollAreaCorner,
1361
- Xo as ContentScrollAreaScrollbar,
1362
- ea as ContentScrollAreaThumb,
1363
- Jo as ContentScrollAreaViewport,
1364
- oa as Disclaimer,
1365
- da as DisclaimerArrow,
1366
- na as DisclaimerContent,
1367
- aa as DisclaimerLabel,
1368
- sa as DisclaimerText,
1369
- ra as DisclaimerTrigger,
1370
- vn as DropZone,
1371
- Sa as DynamicComponent,
1372
- za as EmbeddedChatPrimitiveActionBar,
1373
- Ga as EmbeddedChatPrimitiveActions,
1350
+ Za as ChatActionFeedback,
1351
+ si as ChatActionLabel,
1352
+ Xa as ChatHelpAction,
1353
+ qo as ChatHistoryButton,
1354
+ Ko as ChatHistoryButtonIcon,
1355
+ zo as Content,
1356
+ Go as ContentScrollArea,
1357
+ Xo as ContentScrollAreaCorner,
1358
+ Zo as ContentScrollAreaScrollbar,
1359
+ Jo as ContentScrollAreaThumb,
1360
+ Yo as ContentScrollAreaViewport,
1361
+ ta as Disclaimer,
1362
+ na as DisclaimerArrow,
1363
+ aa as DisclaimerContent,
1364
+ ia as DisclaimerLabel,
1365
+ ra as DisclaimerText,
1366
+ oa as DisclaimerTrigger,
1367
+ bn as DropZone,
1368
+ Ia as DynamicComponent,
1369
+ qa as EmbeddedChatPrimitiveActionBar,
1370
+ ja as EmbeddedChatPrimitiveActions,
1374
1371
  ue as EmbeddedChatPrimitiveChatAction,
1375
- er as EmbeddedChatPrimitiveChatActionFeedback,
1376
- di as EmbeddedChatPrimitiveChatActionLabel,
1377
- ir as EmbeddedChatPrimitiveChatHelpAction,
1378
- zo as EmbeddedChatPrimitiveChatHistoryButton,
1379
- jo as EmbeddedChatPrimitiveChatHistoryButtonIcon,
1380
- Yo as EmbeddedChatPrimitiveContent,
1381
- Zo as EmbeddedChatPrimitiveContentScrollArea,
1382
- ta as EmbeddedChatPrimitiveContentScrollAreaCorner,
1383
- Xo as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1384
- ea as EmbeddedChatPrimitiveContentScrollAreaThumb,
1385
- Jo as EmbeddedChatPrimitiveContentScrollAreaViewport,
1386
- oa as EmbeddedChatPrimitiveDisclaimer,
1387
- da as EmbeddedChatPrimitiveDisclaimerArrow,
1388
- na as EmbeddedChatPrimitiveDisclaimerContent,
1389
- aa as EmbeddedChatPrimitiveDisclaimerLabel,
1390
- sa as EmbeddedChatPrimitiveDisclaimerText,
1391
- ra as EmbeddedChatPrimitiveDisclaimerTrigger,
1392
- Sa as EmbeddedChatPrimitiveDynamicComponent,
1393
- ua as EmbeddedChatPrimitiveExampleQuestion,
1394
- ha as EmbeddedChatPrimitiveExampleQuestionButton,
1395
- ca as EmbeddedChatPrimitiveExampleQuestions,
1396
- ma as EmbeddedChatPrimitiveExampleQuestionsLabel,
1397
- la as EmbeddedChatPrimitiveExampleQuestionsList,
1398
- Cr as EmbeddedChatPrimitiveFeedbackForm,
1399
- br as EmbeddedChatPrimitiveFeedbackItem,
1400
- pr as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1401
- gr as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1402
- Fr as EmbeddedChatPrimitiveFeedbackItemDescription,
1403
- vr as EmbeddedChatPrimitiveFeedbackItemLabel,
1404
- dr as EmbeddedChatPrimitiveFeedbackModal,
1405
- hr as EmbeddedChatPrimitiveFeedbackModalBody,
1406
- ur as EmbeddedChatPrimitiveFeedbackModalClose,
1407
- mr as EmbeddedChatPrimitiveFeedbackModalContent,
1408
- lr as EmbeddedChatPrimitiveFeedbackModalHeader,
1409
- cr as EmbeddedChatPrimitiveFeedbackModalOverlay,
1410
- _r as EmbeddedChatPrimitiveFeedbackSubmitButton,
1411
- Ua as EmbeddedChatPrimitiveFooter,
1412
- fr as EmbeddedChatPrimitiveForm,
1413
- dn as EmbeddedChatPrimitiveFormCancel,
1414
- Ir as EmbeddedChatPrimitiveFormClose,
1415
- kr as EmbeddedChatPrimitiveFormContent,
1416
- Mr as EmbeddedChatPrimitiveFormDescription,
1417
- nn as EmbeddedChatPrimitiveFormError,
1418
- yr as EmbeddedChatPrimitiveFormField,
1419
- Lr as EmbeddedChatPrimitiveFormFieldCheckbox,
1420
- wr as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1421
- $r as EmbeddedChatPrimitiveFormFieldCombobox,
1422
- Gr as EmbeddedChatPrimitiveFormFieldComboboxContent,
1423
- Kr as EmbeddedChatPrimitiveFormFieldComboboxControl,
1424
- qr as EmbeddedChatPrimitiveFormFieldComboboxInput,
1425
- Jr as EmbeddedChatPrimitiveFormFieldComboboxItem,
1426
- en as EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,
1427
- Xr as EmbeddedChatPrimitiveFormFieldComboboxItemText,
1428
- Zr as EmbeddedChatPrimitiveFormFieldComboboxList,
1429
- on as EmbeddedChatPrimitiveFormFieldComboboxListEmpty,
1430
- tn as EmbeddedChatPrimitiveFormFieldComboboxListItems,
1431
- Yr as EmbeddedChatPrimitiveFormFieldComboboxPositioner,
1432
- zr as EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,
1433
- jr as EmbeddedChatPrimitiveFormFieldComboboxTrigger,
1434
- an as EmbeddedChatPrimitiveFormFieldDescription,
1435
- xr as EmbeddedChatPrimitiveFormFieldEmail,
1436
- rn as EmbeddedChatPrimitiveFormFieldError,
1437
- Tr as EmbeddedChatPrimitiveFormFieldFile,
1438
- Ar as EmbeddedChatPrimitiveFormFieldLabel,
1439
- Dr as EmbeddedChatPrimitiveFormFieldSelect,
1440
- Or as EmbeddedChatPrimitiveFormFieldSelectContent,
1441
- Rr as EmbeddedChatPrimitiveFormFieldSelectIcon,
1442
- Wr as EmbeddedChatPrimitiveFormFieldSelectItem,
1443
- Ur as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1444
- Qr as EmbeddedChatPrimitiveFormFieldSelectItemText,
1445
- Br as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1446
- Nr as EmbeddedChatPrimitiveFormFieldSelectValue,
1447
- Vr as EmbeddedChatPrimitiveFormFieldSelectViewport,
1372
+ Za as EmbeddedChatPrimitiveChatActionFeedback,
1373
+ si as EmbeddedChatPrimitiveChatActionLabel,
1374
+ Xa as EmbeddedChatPrimitiveChatHelpAction,
1375
+ qo as EmbeddedChatPrimitiveChatHistoryButton,
1376
+ Ko as EmbeddedChatPrimitiveChatHistoryButtonIcon,
1377
+ zo as EmbeddedChatPrimitiveContent,
1378
+ Go as EmbeddedChatPrimitiveContentScrollArea,
1379
+ Xo as EmbeddedChatPrimitiveContentScrollAreaCorner,
1380
+ Zo as EmbeddedChatPrimitiveContentScrollAreaScrollbar,
1381
+ Jo as EmbeddedChatPrimitiveContentScrollAreaThumb,
1382
+ Yo as EmbeddedChatPrimitiveContentScrollAreaViewport,
1383
+ ta as EmbeddedChatPrimitiveDisclaimer,
1384
+ na as EmbeddedChatPrimitiveDisclaimerArrow,
1385
+ aa as EmbeddedChatPrimitiveDisclaimerContent,
1386
+ ia as EmbeddedChatPrimitiveDisclaimerLabel,
1387
+ ra as EmbeddedChatPrimitiveDisclaimerText,
1388
+ oa as EmbeddedChatPrimitiveDisclaimerTrigger,
1389
+ Ia as EmbeddedChatPrimitiveDynamicComponent,
1390
+ ma as EmbeddedChatPrimitiveExampleQuestion,
1391
+ la as EmbeddedChatPrimitiveExampleQuestionButton,
1392
+ sa as EmbeddedChatPrimitiveExampleQuestions,
1393
+ da as EmbeddedChatPrimitiveExampleQuestionsLabel,
1394
+ ca as EmbeddedChatPrimitiveExampleQuestionsList,
1395
+ lr as EmbeddedChatPrimitiveFeedbackForm,
1396
+ ur as EmbeddedChatPrimitiveFeedbackItem,
1397
+ hr as EmbeddedChatPrimitiveFeedbackItemCheckbox,
1398
+ Cr as EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,
1399
+ pr as EmbeddedChatPrimitiveFeedbackItemDescription,
1400
+ br as EmbeddedChatPrimitiveFeedbackItemLabel,
1401
+ rr as EmbeddedChatPrimitiveFeedbackModal,
1402
+ mr as EmbeddedChatPrimitiveFeedbackModalBody,
1403
+ cr as EmbeddedChatPrimitiveFeedbackModalClose,
1404
+ sr as EmbeddedChatPrimitiveFeedbackModalContent,
1405
+ dr as EmbeddedChatPrimitiveFeedbackModalHeader,
1406
+ nr as EmbeddedChatPrimitiveFeedbackModalOverlay,
1407
+ vr as EmbeddedChatPrimitiveFeedbackSubmitButton,
1408
+ Wa as EmbeddedChatPrimitiveFooter,
1409
+ Fr as EmbeddedChatPrimitiveForm,
1410
+ rn as EmbeddedChatPrimitiveFormCancel,
1411
+ _r as EmbeddedChatPrimitiveFormClose,
1412
+ Er as EmbeddedChatPrimitiveFormContent,
1413
+ Ir as EmbeddedChatPrimitiveFormDescription,
1414
+ on as EmbeddedChatPrimitiveFormError,
1415
+ Sr as EmbeddedChatPrimitiveFormField,
1416
+ xr as EmbeddedChatPrimitiveFormFieldCheckbox,
1417
+ Tr as EmbeddedChatPrimitiveFormFieldCheckboxIndicator,
1418
+ Wr as EmbeddedChatPrimitiveFormFieldCombobox,
1419
+ qr as EmbeddedChatPrimitiveFormFieldComboboxContent,
1420
+ Qr as EmbeddedChatPrimitiveFormFieldComboboxControl,
1421
+ Ur as EmbeddedChatPrimitiveFormFieldComboboxInput,
1422
+ Gr as EmbeddedChatPrimitiveFormFieldComboboxItem,
1423
+ Zr as EmbeddedChatPrimitiveFormFieldComboboxItemIndicator,
1424
+ Yr as EmbeddedChatPrimitiveFormFieldComboboxItemText,
1425
+ zr as EmbeddedChatPrimitiveFormFieldComboboxList,
1426
+ Xr as EmbeddedChatPrimitiveFormFieldComboboxListEmpty,
1427
+ Jr as EmbeddedChatPrimitiveFormFieldComboboxListItems,
1428
+ jr as EmbeddedChatPrimitiveFormFieldComboboxPositioner,
1429
+ Kr as EmbeddedChatPrimitiveFormFieldComboboxSelectedTags,
1430
+ $r as EmbeddedChatPrimitiveFormFieldComboboxTrigger,
1431
+ en as EmbeddedChatPrimitiveFormFieldDescription,
1432
+ kr as EmbeddedChatPrimitiveFormFieldEmail,
1433
+ tn as EmbeddedChatPrimitiveFormFieldError,
1434
+ yr as EmbeddedChatPrimitiveFormFieldFile,
1435
+ Mr as EmbeddedChatPrimitiveFormFieldLabel,
1436
+ Hr as EmbeddedChatPrimitiveFormFieldSelect,
1437
+ Br as EmbeddedChatPrimitiveFormFieldSelectContent,
1438
+ Dr as EmbeddedChatPrimitiveFormFieldSelectIcon,
1439
+ Rr as EmbeddedChatPrimitiveFormFieldSelectItem,
1440
+ Vr as EmbeddedChatPrimitiveFormFieldSelectItemIndicator,
1441
+ Or as EmbeddedChatPrimitiveFormFieldSelectItemText,
1442
+ wr as EmbeddedChatPrimitiveFormFieldSelectTrigger,
1443
+ Lr as EmbeddedChatPrimitiveFormFieldSelectValue,
1444
+ Nr as EmbeddedChatPrimitiveFormFieldSelectViewport,
1448
1445
  he as EmbeddedChatPrimitiveFormFieldText,
1449
- Hr as EmbeddedChatPrimitiveFormFieldTextArea,
1450
- sn as EmbeddedChatPrimitiveFormFooter,
1451
- Er as EmbeddedChatPrimitiveFormHeader,
1452
- Sr as EmbeddedChatPrimitiveFormHeading,
1453
- cn as EmbeddedChatPrimitiveFormSubmit,
1454
- mn as EmbeddedChatPrimitiveFormSuccess,
1455
- hn as EmbeddedChatPrimitiveFormSuccessButton,
1456
- ln as EmbeddedChatPrimitiveFormSuccessHeading,
1457
- un as EmbeddedChatPrimitiveFormSuccessMessage,
1458
- Pr as EmbeddedChatPrimitiveFormWrapper,
1459
- Ko as EmbeddedChatPrimitiveHeaderToolbar,
1460
- tr as EmbeddedChatPrimitiveHelpActions,
1461
- ar as EmbeddedChatPrimitiveHelpActionsMenu,
1462
- rr as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1463
- nr as EmbeddedChatPrimitiveHelpActionsMenuItem,
1464
- sr as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1465
- or as EmbeddedChatPrimitiveHelpActionsTrigger,
1466
- Ka as EmbeddedChatPrimitiveInput,
1467
- $a as EmbeddedChatPrimitiveInputGroup,
1468
- Ca as EmbeddedChatPrimitiveIntroMessageWrapper,
1469
- Ea as EmbeddedChatPrimitiveMarkdown,
1470
- xa as EmbeddedChatPrimitiveMessageAction,
1471
- ga as EmbeddedChatPrimitiveMessageAvatar,
1472
- va as EmbeddedChatPrimitiveMessageAvatarContent,
1473
- Fa as EmbeddedChatPrimitiveMessageAvatarFallback,
1474
- _a as EmbeddedChatPrimitiveMessageAvatarImage,
1475
- Ia as EmbeddedChatPrimitiveMessageContent,
1476
- fa as EmbeddedChatPrimitiveMessageContentWrapper,
1477
- Aa as EmbeddedChatPrimitiveMessageCustomAction,
1478
- ya as EmbeddedChatPrimitiveMessageCustomActions,
1479
- ba as EmbeddedChatPrimitiveMessageHeader,
1480
- pa as EmbeddedChatPrimitiveMessageLoading,
1481
- Pa as EmbeddedChatPrimitiveMessageName,
1482
- wa as EmbeddedChatPrimitiveMessageSourceItem,
1483
- Da as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1484
- Va as EmbeddedChatPrimitiveMessageSourceItemDescription,
1485
- Wa as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1486
- Na as EmbeddedChatPrimitiveMessageSourceItemIcon,
1487
- Qa as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1488
- Oa as EmbeddedChatPrimitiveMessageSourceItemTag,
1489
- Ra as EmbeddedChatPrimitiveMessageSourceItemTitle,
1490
- Ta as EmbeddedChatPrimitiveMessageSources,
1491
- Ha as EmbeddedChatPrimitiveMessageSourcesHeader,
1492
- La as EmbeddedChatPrimitiveMessageSourcesList,
1493
- ka as EmbeddedChatPrimitiveMessageToolbar,
1494
- Lt as EmbeddedChatPrimitiveMessageWrapper,
1495
- ia as EmbeddedChatPrimitiveMessages,
1496
- Uo as EmbeddedChatPrimitiveRoot,
1497
- qa as EmbeddedChatPrimitiveSendButton,
1498
- ja as EmbeddedChatPrimitiveSendButtonIcon,
1499
- Xa as EmbeddedChatPrimitiveTaglineBrandName,
1500
- Ya as EmbeddedChatPrimitiveTaglineContainer,
1501
- Ja as EmbeddedChatPrimitiveTaglineLogo,
1502
- Za as EmbeddedChatPrimitiveTaglineText,
1503
- Go as EmbeddedChatPrimitiveToolbarHeader,
1504
- qo as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1505
- Qo as EmbeddedChatPrimitiveWrapper,
1506
- ua as ExampleQuestion,
1507
- ha as ExampleQuestionButton,
1508
- ca as ExampleQuestions,
1509
- ma as ExampleQuestionsLabel,
1510
- la as ExampleQuestionsList,
1511
- Cr as FeedbackForm,
1512
- br as FeedbackItem,
1513
- pr as FeedbackItemCheckbox,
1514
- gr as FeedbackItemCheckboxIndicator,
1515
- Fr as FeedbackItemDescription,
1516
- vr as FeedbackItemLabel,
1517
- dr as FeedbackModal,
1518
- hr as FeedbackModalBody,
1519
- ur as FeedbackModalClose,
1520
- mr as FeedbackModalContent,
1521
- lr as FeedbackModalHeader,
1522
- cr as FeedbackModalOverlay,
1523
- _r as FeedbackSubmitButton,
1524
- Fn as FileContent,
1525
- _n as FileInput,
1526
- Pn as FileItem,
1527
- fn as FileList,
1528
- In as FileName,
1529
- En as FilePreviewTrigger,
1530
- Sn as FileRemove,
1531
- Mn as FileRemoveIcon,
1532
- kn as FileThumbnail,
1533
- yn as FileTypeIcon,
1534
- An as FileUploadButton,
1535
- xn as FileUploadButtonIcon,
1536
- Ua as Footer,
1537
- fr as Form,
1538
- dn as FormCancel,
1539
- Ir as FormClose,
1540
- kr as FormContent,
1541
- Mr as FormDescription,
1542
- nn as FormError,
1543
- yr as FormField,
1544
- Lr as FormFieldCheckbox,
1545
- wr as FormFieldCheckboxIndicator,
1546
- $r as FormFieldCombobox,
1547
- Gr as FormFieldComboboxContent,
1548
- Kr as FormFieldComboboxControl,
1549
- qr as FormFieldComboboxInput,
1550
- Jr as FormFieldComboboxItem,
1551
- en as FormFieldComboboxItemIndicator,
1552
- Xr as FormFieldComboboxItemText,
1553
- Zr as FormFieldComboboxList,
1554
- on as FormFieldComboboxListEmpty,
1555
- tn as FormFieldComboboxListItems,
1556
- Yr as FormFieldComboboxPositioner,
1557
- zr as FormFieldComboboxSelectedTags,
1558
- jr as FormFieldComboboxTrigger,
1559
- an as FormFieldDescription,
1560
- xr as FormFieldEmail,
1561
- rn as FormFieldError,
1562
- Tr as FormFieldFile,
1563
- Ar as FormFieldLabel,
1564
- Dr as FormFieldSelect,
1565
- Or as FormFieldSelectContent,
1566
- Rr as FormFieldSelectIcon,
1567
- Wr as FormFieldSelectItem,
1568
- Ur as FormFieldSelectItemIndicator,
1569
- Qr as FormFieldSelectItemText,
1570
- Br as FormFieldSelectTrigger,
1571
- Nr as FormFieldSelectValue,
1572
- Vr as FormFieldSelectViewport,
1446
+ Ar as EmbeddedChatPrimitiveFormFieldTextArea,
1447
+ an as EmbeddedChatPrimitiveFormFooter,
1448
+ Pr as EmbeddedChatPrimitiveFormHeader,
1449
+ fr as EmbeddedChatPrimitiveFormHeading,
1450
+ nn as EmbeddedChatPrimitiveFormSubmit,
1451
+ sn as EmbeddedChatPrimitiveFormSuccess,
1452
+ mn as EmbeddedChatPrimitiveFormSuccessButton,
1453
+ dn as EmbeddedChatPrimitiveFormSuccessHeading,
1454
+ cn as EmbeddedChatPrimitiveFormSuccessMessage,
1455
+ gr as EmbeddedChatPrimitiveFormWrapper,
1456
+ Uo as EmbeddedChatPrimitiveHeaderToolbar,
1457
+ Ja as EmbeddedChatPrimitiveHelpActions,
1458
+ tr as EmbeddedChatPrimitiveHelpActionsMenu,
1459
+ ir as EmbeddedChatPrimitiveHelpActionsMenuArrow,
1460
+ or as EmbeddedChatPrimitiveHelpActionsMenuItem,
1461
+ ar as EmbeddedChatPrimitiveHelpActionsMenuItemIcon,
1462
+ er as EmbeddedChatPrimitiveHelpActionsTrigger,
1463
+ Ua as EmbeddedChatPrimitiveInput,
1464
+ Qa as EmbeddedChatPrimitiveInputGroup,
1465
+ ua as EmbeddedChatPrimitiveIntroMessageWrapper,
1466
+ fa as EmbeddedChatPrimitiveMarkdown,
1467
+ ya as EmbeddedChatPrimitiveMessageAction,
1468
+ ba as EmbeddedChatPrimitiveMessageAvatar,
1469
+ pa as EmbeddedChatPrimitiveMessageAvatarContent,
1470
+ va as EmbeddedChatPrimitiveMessageAvatarFallback,
1471
+ ga as EmbeddedChatPrimitiveMessageAvatarImage,
1472
+ Pa as EmbeddedChatPrimitiveMessageContent,
1473
+ _a as EmbeddedChatPrimitiveMessageContentWrapper,
1474
+ ka as EmbeddedChatPrimitiveMessageCustomAction,
1475
+ Ma as EmbeddedChatPrimitiveMessageCustomActions,
1476
+ ha as EmbeddedChatPrimitiveMessageHeader,
1477
+ Ca as EmbeddedChatPrimitiveMessageLoading,
1478
+ Fa as EmbeddedChatPrimitiveMessageName,
1479
+ Ha as EmbeddedChatPrimitiveMessageSourceItem,
1480
+ wa as EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,
1481
+ Ra as EmbeddedChatPrimitiveMessageSourceItemDescription,
1482
+ Oa as EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,
1483
+ Da as EmbeddedChatPrimitiveMessageSourceItemIcon,
1484
+ Va as EmbeddedChatPrimitiveMessageSourceItemIndicator,
1485
+ Na as EmbeddedChatPrimitiveMessageSourceItemTag,
1486
+ Ba as EmbeddedChatPrimitiveMessageSourceItemTitle,
1487
+ Aa as EmbeddedChatPrimitiveMessageSources,
1488
+ xa as EmbeddedChatPrimitiveMessageSourcesHeader,
1489
+ Ta as EmbeddedChatPrimitiveMessageSourcesList,
1490
+ Sa as EmbeddedChatPrimitiveMessageToolbar,
1491
+ Ht as EmbeddedChatPrimitiveMessageWrapper,
1492
+ ea as EmbeddedChatPrimitiveMessages,
1493
+ Wo as EmbeddedChatPrimitiveRoot,
1494
+ $a as EmbeddedChatPrimitiveSendButton,
1495
+ Ka as EmbeddedChatPrimitiveSendButtonIcon,
1496
+ za as EmbeddedChatPrimitiveTaglineContainer,
1497
+ Ya as EmbeddedChatPrimitiveTaglineLogo,
1498
+ Ga as EmbeddedChatPrimitiveTaglineText,
1499
+ jo as EmbeddedChatPrimitiveToolbarHeader,
1500
+ $o as EmbeddedChatPrimitiveToolbarHeaderWrapper,
1501
+ Vo as EmbeddedChatPrimitiveWrapper,
1502
+ ma as ExampleQuestion,
1503
+ la as ExampleQuestionButton,
1504
+ sa as ExampleQuestions,
1505
+ da as ExampleQuestionsLabel,
1506
+ ca as ExampleQuestionsList,
1507
+ lr as FeedbackForm,
1508
+ ur as FeedbackItem,
1509
+ hr as FeedbackItemCheckbox,
1510
+ Cr as FeedbackItemCheckboxIndicator,
1511
+ pr as FeedbackItemDescription,
1512
+ br as FeedbackItemLabel,
1513
+ rr as FeedbackModal,
1514
+ mr as FeedbackModalBody,
1515
+ cr as FeedbackModalClose,
1516
+ sr as FeedbackModalContent,
1517
+ dr as FeedbackModalHeader,
1518
+ nr as FeedbackModalOverlay,
1519
+ vr as FeedbackSubmitButton,
1520
+ pn as FileContent,
1521
+ vn as FileInput,
1522
+ gn as FileItem,
1523
+ Fn as FileList,
1524
+ _n as FileName,
1525
+ Pn as FilePreviewTrigger,
1526
+ fn as FileRemove,
1527
+ In as FileRemoveIcon,
1528
+ En as FileThumbnail,
1529
+ Sn as FileTypeIcon,
1530
+ Mn as FileUploadButton,
1531
+ kn as FileUploadButtonIcon,
1532
+ Wa as Footer,
1533
+ Fr as Form,
1534
+ rn as FormCancel,
1535
+ _r as FormClose,
1536
+ Er as FormContent,
1537
+ Ir as FormDescription,
1538
+ on as FormError,
1539
+ Sr as FormField,
1540
+ xr as FormFieldCheckbox,
1541
+ Tr as FormFieldCheckboxIndicator,
1542
+ Wr as FormFieldCombobox,
1543
+ qr as FormFieldComboboxContent,
1544
+ Qr as FormFieldComboboxControl,
1545
+ Ur as FormFieldComboboxInput,
1546
+ Gr as FormFieldComboboxItem,
1547
+ Zr as FormFieldComboboxItemIndicator,
1548
+ Yr as FormFieldComboboxItemText,
1549
+ zr as FormFieldComboboxList,
1550
+ Xr as FormFieldComboboxListEmpty,
1551
+ Jr as FormFieldComboboxListItems,
1552
+ jr as FormFieldComboboxPositioner,
1553
+ Kr as FormFieldComboboxSelectedTags,
1554
+ $r as FormFieldComboboxTrigger,
1555
+ en as FormFieldDescription,
1556
+ kr as FormFieldEmail,
1557
+ tn as FormFieldError,
1558
+ yr as FormFieldFile,
1559
+ Mr as FormFieldLabel,
1560
+ Hr as FormFieldSelect,
1561
+ Br as FormFieldSelectContent,
1562
+ Dr as FormFieldSelectIcon,
1563
+ Rr as FormFieldSelectItem,
1564
+ Vr as FormFieldSelectItemIndicator,
1565
+ Or as FormFieldSelectItemText,
1566
+ wr as FormFieldSelectTrigger,
1567
+ Lr as FormFieldSelectValue,
1568
+ Nr as FormFieldSelectViewport,
1573
1569
  he as FormFieldText,
1574
- Hr as FormFieldTextArea,
1575
- sn as FormFooter,
1576
- Er as FormHeader,
1577
- Sr as FormHeading,
1578
- cn as FormSubmit,
1579
- mn as FormSuccess,
1580
- hn as FormSuccessButton,
1581
- ln as FormSuccessHeading,
1582
- un as FormSuccessMessage,
1583
- Pr as FormWrapper,
1584
- $o as Header,
1585
- Ko as HeaderToolbar,
1586
- qo as HeaderToolbarWrapper,
1587
- tr as HelpActions,
1588
- ar as HelpActionsMenu,
1589
- rr as HelpActionsMenuArrow,
1590
- nr as HelpActionsMenuItem,
1591
- sr as HelpActionsMenuItemIcon,
1592
- or as HelpActionsTrigger,
1593
- Wn as ImagePreviewModal,
1594
- Qn as ImagePreviewModalClose,
1595
- Un as ImagePreviewModalContent,
1596
- $n as ImagePreviewModalFileName,
1597
- Kn as ImagePreviewModalFooter,
1598
- qn as ImagePreviewModalImage,
1599
- jn as ImagePreviewModalOverlay,
1600
- Ka as Input,
1601
- Tn as InputFieldset,
1602
- $a as InputGroup,
1603
- Hn as InputNotification,
1604
- Ln as InputNotificationClose,
1605
- wn as InputNotificationContent,
1606
- Dn as InputNotificationHeader,
1607
- Bn as InputNotificationMessage,
1608
- Nn as InputNotificationTitle,
1609
- Ca as IntroMessageWrapper,
1610
- Ea as Markdown,
1611
- xa as MessageAction,
1612
- ga as MessageAvatar,
1613
- va as MessageAvatarContent,
1614
- Fa as MessageAvatarFallback,
1615
- _a as MessageAvatarImage,
1616
- Ia as MessageContent,
1617
- fa as MessageContentWrapper,
1618
- Aa as MessageCustomAction,
1619
- ya as MessageCustomActions,
1620
- Rn as MessageFile,
1621
- On as MessageFiles,
1622
- ba as MessageHeader,
1623
- pa as MessageLoading,
1624
- Pa as MessageName,
1625
- wa as MessageSourceItem,
1626
- Ba as MessageSourceItemBreadcrumbIcon,
1627
- Da as MessageSourceItemBreadcrumbs,
1628
- Va as MessageSourceItemDescription,
1629
- Wa as MessageSourceItemDescriptionPart,
1630
- Na as MessageSourceItemIcon,
1631
- Qa as MessageSourceItemIndicator,
1632
- Oa as MessageSourceItemTag,
1633
- Ra as MessageSourceItemTitle,
1634
- Ta as MessageSources,
1635
- Ha as MessageSourcesHeader,
1636
- La as MessageSourcesList,
1637
- ka as MessageToolbar,
1638
- Lt as MessageWrapper,
1639
- ia as Messages,
1640
- Ma as PrimitiveMessagePart,
1641
- pn as Provider,
1642
- Uo as Root,
1643
- qa as SendButton,
1644
- ja as SendButtonIcon,
1645
- Xa as TaglineBrandName,
1646
- Ya as TaglineContainer,
1647
- Ja as TaglineLogo,
1648
- Za as TaglineText,
1649
- Go as ToolbarHeader,
1650
- Qo as Wrapper
1570
+ Ar as FormFieldTextArea,
1571
+ an as FormFooter,
1572
+ Pr as FormHeader,
1573
+ fr as FormHeading,
1574
+ nn as FormSubmit,
1575
+ sn as FormSuccess,
1576
+ mn as FormSuccessButton,
1577
+ dn as FormSuccessHeading,
1578
+ cn as FormSuccessMessage,
1579
+ gr as FormWrapper,
1580
+ Qo as Header,
1581
+ Uo as HeaderToolbar,
1582
+ $o as HeaderToolbarWrapper,
1583
+ Ja as HelpActions,
1584
+ tr as HelpActionsMenu,
1585
+ ir as HelpActionsMenuArrow,
1586
+ or as HelpActionsMenuItem,
1587
+ ar as HelpActionsMenuItemIcon,
1588
+ er as HelpActionsTrigger,
1589
+ Rn as ImagePreviewModal,
1590
+ On as ImagePreviewModalClose,
1591
+ Vn as ImagePreviewModalContent,
1592
+ Wn as ImagePreviewModalFileName,
1593
+ Qn as ImagePreviewModalFooter,
1594
+ Un as ImagePreviewModalImage,
1595
+ $n as ImagePreviewModalOverlay,
1596
+ Ua as Input,
1597
+ yn as InputFieldset,
1598
+ Qa as InputGroup,
1599
+ An as InputNotification,
1600
+ xn as InputNotificationClose,
1601
+ Tn as InputNotificationContent,
1602
+ Hn as InputNotificationHeader,
1603
+ wn as InputNotificationMessage,
1604
+ Ln as InputNotificationTitle,
1605
+ ua as IntroMessageWrapper,
1606
+ fa as Markdown,
1607
+ ya as MessageAction,
1608
+ ba as MessageAvatar,
1609
+ pa as MessageAvatarContent,
1610
+ va as MessageAvatarFallback,
1611
+ ga as MessageAvatarImage,
1612
+ Pa as MessageContent,
1613
+ _a as MessageContentWrapper,
1614
+ ka as MessageCustomAction,
1615
+ Ma as MessageCustomActions,
1616
+ Dn as MessageFile,
1617
+ Bn as MessageFiles,
1618
+ ha as MessageHeader,
1619
+ Ca as MessageLoading,
1620
+ Fa as MessageName,
1621
+ Ha as MessageSourceItem,
1622
+ La as MessageSourceItemBreadcrumbIcon,
1623
+ wa as MessageSourceItemBreadcrumbs,
1624
+ Ra as MessageSourceItemDescription,
1625
+ Oa as MessageSourceItemDescriptionPart,
1626
+ Da as MessageSourceItemIcon,
1627
+ Va as MessageSourceItemIndicator,
1628
+ Na as MessageSourceItemTag,
1629
+ Ba as MessageSourceItemTitle,
1630
+ Aa as MessageSources,
1631
+ xa as MessageSourcesHeader,
1632
+ Ta as MessageSourcesList,
1633
+ Sa as MessageToolbar,
1634
+ Ht as MessageWrapper,
1635
+ ea as Messages,
1636
+ Ea as PrimitiveMessagePart,
1637
+ hn as Provider,
1638
+ Wo as Root,
1639
+ $a as SendButton,
1640
+ Ka as SendButtonIcon,
1641
+ za as TaglineContainer,
1642
+ Ya as TaglineLogo,
1643
+ Ga as TaglineText,
1644
+ jo as ToolbarHeader,
1645
+ Vo as Wrapper
1651
1646
  };