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