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