@inkeep/agents-ui 0.15.13 → 0.15.15

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