@inkeep/cxkit-primitives 0.5.13 → 0.5.14

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