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