@inkeep/agents-ui 0.14.27 → 0.15.0
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 +215 -203
- package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -1
- package/dist/primitives/atoms/icons/built-in-icons.d.ts +1 -0
- package/dist/primitives/atoms/icons/built-in-icons.js +44 -43
- package/dist/primitives/atoms/icons/checkbox-icon.cjs +1 -1
- package/dist/primitives/atoms/icons/checkbox-icon.js +1 -1
- package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -1
- package/dist/primitives/atoms/icons/inkeep-default-icons.js +3 -2
- package/dist/primitives/components/chat-bubble/index.cjs +1 -0
- package/dist/primitives/components/chat-bubble/index.d.ts +10 -0
- package/dist/primitives/components/chat-bubble/index.js +38 -0
- package/dist/primitives/components/chat-button.cjs +1 -1
- package/dist/primitives/components/chat-button.d.ts +3 -1
- package/dist/primitives/components/chat-button.js +31 -26
- package/dist/primitives/components/index.cjs +1 -1
- package/dist/primitives/components/index.d.ts +1 -0
- package/dist/primitives/components/index.js +19 -17
- package/dist/primitives/components/modal/use-inkeep-modal.cjs +1 -1
- package/dist/primitives/components/modal/use-inkeep-modal.d.ts +2 -2
- package/dist/primitives/components/modal/use-inkeep-modal.js +6 -42
- package/dist/primitives/components/modal/widget-auto-focus.cjs +1 -1
- package/dist/primitives/components/modal/widget-auto-focus.js +21 -12
- package/dist/primitives/components/modal.d.ts +2 -2
- package/dist/primitives/components/searchbar.d.ts +3 -3
- package/dist/primitives/components/sidebar-chat/index.cjs +1 -1
- package/dist/primitives/components/sidebar-chat/index.js +48 -67
- package/dist/primitives/components/use-component-trigger.cjs +1 -1
- package/dist/primitives/components/use-component-trigger.d.ts +1 -1
- package/dist/primitives/components/use-component-trigger.js +4 -3
- package/dist/primitives/hooks/index.cjs +1 -1
- package/dist/primitives/hooks/index.d.ts +1 -0
- package/dist/primitives/hooks/index.js +18 -16
- package/dist/primitives/hooks/use-inkeep-open-state.cjs +1 -0
- package/dist/primitives/hooks/use-inkeep-open-state.d.ts +18 -0
- package/dist/primitives/hooks/use-inkeep-open-state.js +47 -0
- package/dist/primitives/index.cjs +1 -1
- package/dist/primitives/index.js +140 -130
- package/dist/primitives/providers/base-events-provider.cjs +1 -1
- package/dist/primitives/providers/base-events-provider.js +1 -1
- package/dist/primitives/providers/chat-bubble-provider.cjs +1 -0
- package/dist/primitives/providers/chat-bubble-provider.d.ts +22 -0
- package/dist/primitives/providers/chat-bubble-provider.js +19 -0
- package/dist/primitives/providers/config-provider.cjs +1 -1
- package/dist/primitives/providers/config-provider.d.ts +0 -1
- package/dist/primitives/providers/config-provider.js +12 -13
- package/dist/primitives/providers/index.cjs +1 -1
- package/dist/primitives/providers/index.d.ts +1 -0
- package/dist/primitives/providers/index.js +27 -22
- package/dist/primitives/providers/sidebar-chat-provider.cjs +1 -1
- package/dist/primitives/providers/sidebar-chat-provider.d.ts +3 -25
- package/dist/primitives/providers/sidebar-chat-provider.js +23 -27
- package/dist/primitives/utils/component-ids.cjs +1 -1
- package/dist/primitives/utils/component-ids.d.ts +10 -0
- package/dist/primitives/utils/component-ids.js +10 -3
- package/dist/react/chat-button.cjs +1 -1
- package/dist/react/chat-button.d.ts +23 -7
- package/dist/react/chat-button.js +55 -46
- package/dist/react/embedded-chat.cjs +1 -1
- package/dist/react/embedded-chat.d.ts +4 -3
- package/dist/react/embedded-chat.js +171 -177
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +215 -203
- package/dist/react/modal.chat.cjs +1 -1
- package/dist/react/modal.chat.d.ts +6 -3
- package/dist/react/modal.chat.js +10 -10
- package/dist/react/modal.cjs +1 -1
- package/dist/react/modal.d.ts +2 -2
- package/dist/react/modal.js +5 -5
- package/dist/react/modal.search-and-chat.cjs +1 -1
- package/dist/react/modal.search-and-chat.d.ts +2 -2
- package/dist/react/modal.search-and-chat.js +15 -15
- package/dist/react/modal.search.cjs +1 -1
- package/dist/react/modal.search.d.ts +2 -2
- package/dist/react/modal.search.js +8 -8
- package/dist/react/searchbar.cjs +1 -1
- package/dist/react/searchbar.d.ts +4 -4
- package/dist/react/searchbar.js +12 -12
- package/dist/react/sidebar-chat.d.ts +1 -3
- package/dist/styled/components/chat-bubble.cjs +1 -0
- package/dist/styled/components/chat-bubble.d.ts +5 -0
- package/dist/styled/components/chat-bubble.js +70 -0
- package/dist/styled/components/chat-button.cjs +1 -1
- package/dist/styled/components/chat-button.d.ts +2 -1
- package/dist/styled/components/chat-button.js +10 -6
- package/dist/styled/components/embedded-chat.cjs +1 -1
- package/dist/styled/components/embedded-chat.js +331 -320
- package/dist/styled/components/embedded-search.cjs +1 -1
- package/dist/styled/components/embedded-search.js +3 -3
- package/dist/styled/components/index.cjs +1 -1
- package/dist/styled/components/index.d.ts +1 -0
- package/dist/styled/components/index.js +14 -12
- package/dist/styled/components/message.cjs +1 -1
- package/dist/styled/components/message.js +28 -25
- package/dist/styled/components/ui/recipes/button.cjs +1 -1
- package/dist/styled/components/ui/recipes/button.js +1 -1
- package/dist/styled/components/ui/recipes/checkbox.cjs +1 -1
- package/dist/styled/components/ui/recipes/checkbox.js +1 -1
- package/dist/styled/components/ui/recipes/input.cjs +1 -1
- package/dist/styled/components/ui/recipes/input.js +2 -2
- package/dist/styled/components/ui/recipes/markdown.cjs +1 -1
- package/dist/styled/components/ui/recipes/markdown.js +3 -3
- package/dist/styled/components/ui/recipes/select.cjs +1 -1
- package/dist/styled/components/ui/recipes/select.js +2 -2
- package/dist/styled/index.cjs +1 -1
- package/dist/styled/index.js +174 -162
- package/dist/styled/inkeep.css.cjs +218 -99
- package/dist/styled/inkeep.css.js +218 -99
- package/dist/types/config/open-settings.d.ts +70 -0
- package/dist/types/config/settings/form.d.ts +0 -53
- package/dist/types/events.d.ts +9 -1
- package/dist/types/icons/built-in.d.ts +1 -1
- package/dist/types/icons/custom.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/js/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/types/config/modal.d.ts +0 -33
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import { InkeepEmbeddedSearchImpl as
|
|
4
|
-
import { InkeepModal as
|
|
3
|
+
import { InkeepEmbeddedSearchImpl as i } from "./embedded-search.js";
|
|
4
|
+
import { InkeepModal as m } from "./modal.js";
|
|
5
5
|
import { WebWidgetInteractionType as s } from "../primitives/providers/config-provider.js";
|
|
6
|
-
function
|
|
7
|
-
const {
|
|
6
|
+
function g(t) {
|
|
7
|
+
const { openSettings: o, baseSettings: r, searchSettings: n, ...p } = t;
|
|
8
8
|
return /* @__PURE__ */ e(
|
|
9
|
-
|
|
9
|
+
m,
|
|
10
10
|
{
|
|
11
11
|
componentType: s.CustomTrigger,
|
|
12
|
-
|
|
12
|
+
openSettings: o,
|
|
13
13
|
baseSettings: r,
|
|
14
14
|
searchSettings: n,
|
|
15
|
-
children: /* @__PURE__ */ e(
|
|
15
|
+
children: /* @__PURE__ */ e(i, { shouldAutoFocusInput: !0, ...p })
|
|
16
16
|
}
|
|
17
17
|
);
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
g as InkeepModalSearch
|
|
21
21
|
};
|
package/dist/react/searchbar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),x=require("./embedded-search-and-chat.cjs"),B=require("./embedded-search-and-chat.impl.cjs"),b=require("./embedded-search.cjs"),n=require("../styled/components/searchbar.cjs"),g=require("../styled/components/shadow.cjs"),p=require("../primitives/providers/config-provider.cjs"),y=require("../primitives/providers/root-provider.cjs"),C=require("../primitives/atoms/error-boundary.cjs"),I=require("./modal.cjs"),q=require("./utils.cjs"),k=require("@radix-ui/react-use-controllable-state");function w(t){const{openSettings:r,defaultView:o="search",canToggleView:a=!0,...c}=t,i={...c,shouldShowAskAICard:a?t.shouldShowAskAICard:!1},{config:d,...h}=B.useWidgetImpl({...i,defaultView:o}),m=u=>{r?.isOpen===void 0&&(t.forceDefaultView&&!u&&h.setView(o),s(!!u))},[f=!1,s]=k.useControllableState({prop:r?.isOpen,defaultProp:r?.defaultOpen??!1,onChange:q.composeEventHandlers(r?.onOpenChange,m)}),l={shortcutKey:"k",...r,isOpen:f,onOpenChange:s},j=()=>a?e.jsx(x.InkeepEmbeddedSearchAndChatImpl,{...h}):e.jsx(b.InkeepEmbeddedSearchImpl,{...i});return e.jsxs(e.Fragment,{children:[e.jsx(C.ErrorBoundary,{children:e.jsx(g.Shadow,{wrapperStyles:{display:"contents"},children:e.jsx(y.RootProvider,{config:d,componentType:p.WebWidgetInteractionType.SearchBar,children:e.jsx(S,{onOpenChange:s,openSettings:l})})})}),e.jsx(I.InkeepModal,{...d,openSettings:l,componentType:p.WebWidgetInteractionType.SearchBar,children:j()})]})}function S({onOpenChange:t,openSettings:r}){const o=a=>{a.button!==2&&t?.(c=>!c)};return e.jsx(n.SearchBarContainer,{children:e.jsxs(n.SearchBarButton,{onClick:o,children:[e.jsxs(n.SearchBarContentWrapper,{children:[e.jsx(n.SearchBarIcon,{}),e.jsx(n.SearchBarText,{})]}),e.jsxs(n.SearchBarKbdWrapper,{children:[e.jsx(n.SearchBarKbdModifier,{shortcutKey:r?.shortcutKey}),e.jsx(n.SearchBarKbdShortcutKey,{shortcutKey:r?.shortcutKey})]})]})})}exports.InkeepSearchBar=w;exports.SearchBarImpl=S;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OpenSettingsSearchBar } from '../types/index.ts';
|
|
2
2
|
import { InkeepEmbeddedSearchAndChatProps } from './embedded-search-and-chat';
|
|
3
3
|
export interface InkeepSearchBarProps extends Omit<InkeepEmbeddedSearchAndChatProps, 'onToggleView'> {
|
|
4
|
-
|
|
4
|
+
openSettings?: OpenSettingsSearchBar;
|
|
5
5
|
canToggleView?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare function InkeepSearchBar(props: InkeepSearchBarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
interface SearchBarImplProps {
|
|
9
9
|
onOpenChange?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
10
|
-
|
|
10
|
+
openSettings: InkeepSearchBarProps['openSettings'];
|
|
11
11
|
}
|
|
12
|
-
export declare function SearchBarImpl({ onOpenChange,
|
|
12
|
+
export declare function SearchBarImpl({ onOpenChange, openSettings }: SearchBarImplProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
package/dist/react/searchbar.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs as n, Fragment as B, jsx as e } from "react/jsx-runtime";
|
|
|
3
3
|
import { InkeepEmbeddedSearchAndChatImpl as C } from "./embedded-search-and-chat.js";
|
|
4
4
|
import { useWidgetImpl as g } from "./embedded-search-and-chat.impl.js";
|
|
5
5
|
import { InkeepEmbeddedSearchImpl as y } from "./embedded-search.js";
|
|
6
|
-
import { SearchBarContainer as I, SearchBarButton as k, SearchBarContentWrapper as K, SearchBarIcon as b, SearchBarText as w, SearchBarKbdWrapper as
|
|
6
|
+
import { SearchBarContainer as I, SearchBarButton as k, SearchBarContentWrapper as K, SearchBarIcon as b, SearchBarText as w, SearchBarKbdWrapper as O, SearchBarKbdModifier as A, SearchBarKbdShortcutKey as T } from "../styled/components/searchbar.js";
|
|
7
7
|
import { Shadow as W } from "../styled/components/shadow.js";
|
|
8
8
|
import { WebWidgetInteractionType as m } from "../primitives/providers/config-provider.js";
|
|
9
9
|
import { RootProvider as x } from "../primitives/providers/root-provider.js";
|
|
@@ -13,42 +13,42 @@ import { composeEventHandlers as v } from "./utils.js";
|
|
|
13
13
|
import { useControllableState as P } from "@radix-ui/react-use-controllable-state";
|
|
14
14
|
function Q(o) {
|
|
15
15
|
const {
|
|
16
|
-
|
|
16
|
+
openSettings: r,
|
|
17
17
|
defaultView: a = "search",
|
|
18
18
|
canToggleView: t = !0,
|
|
19
19
|
...c
|
|
20
20
|
} = o, h = {
|
|
21
21
|
...c,
|
|
22
22
|
shouldShowAskAICard: t ? o.shouldShowAskAICard : !1
|
|
23
|
-
}, { config:
|
|
23
|
+
}, { config: p, ...d } = g({
|
|
24
24
|
...h,
|
|
25
25
|
defaultView: a
|
|
26
26
|
}), f = (l) => {
|
|
27
|
-
r?.isOpen === void 0 && (o.forceDefaultView && !l &&
|
|
27
|
+
r?.isOpen === void 0 && (o.forceDefaultView && !l && d.setView(a), i(!!l));
|
|
28
28
|
}, [u = !1, i] = P({
|
|
29
29
|
prop: r?.isOpen,
|
|
30
|
-
defaultProp: !1,
|
|
30
|
+
defaultProp: r?.defaultOpen ?? !1,
|
|
31
31
|
onChange: v(r?.onOpenChange, f)
|
|
32
32
|
}), s = {
|
|
33
33
|
shortcutKey: "k",
|
|
34
34
|
...r,
|
|
35
35
|
isOpen: u,
|
|
36
36
|
onOpenChange: i
|
|
37
|
-
}, S = () => t ? /* @__PURE__ */ e(C, { ...
|
|
37
|
+
}, S = () => t ? /* @__PURE__ */ e(C, { ...d }) : /* @__PURE__ */ e(y, { ...h });
|
|
38
38
|
return /* @__PURE__ */ n(B, { children: [
|
|
39
|
-
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(W, { wrapperStyles: { display: "contents" }, children: /* @__PURE__ */ e(x, { config:
|
|
39
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(W, { wrapperStyles: { display: "contents" }, children: /* @__PURE__ */ e(x, { config: p, componentType: m.SearchBar, children: /* @__PURE__ */ e(j, { onOpenChange: i, openSettings: s }) }) }) }),
|
|
40
40
|
/* @__PURE__ */ e(
|
|
41
41
|
V,
|
|
42
42
|
{
|
|
43
|
-
...
|
|
44
|
-
|
|
43
|
+
...p,
|
|
44
|
+
openSettings: s,
|
|
45
45
|
componentType: m.SearchBar,
|
|
46
46
|
children: S()
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
49
|
] });
|
|
50
50
|
}
|
|
51
|
-
function j({ onOpenChange: o,
|
|
51
|
+
function j({ onOpenChange: o, openSettings: r }) {
|
|
52
52
|
return /* @__PURE__ */ e(I, { children: /* @__PURE__ */ n(k, { onClick: (t) => {
|
|
53
53
|
t.button !== 2 && o?.((c) => !c);
|
|
54
54
|
}, children: [
|
|
@@ -56,8 +56,8 @@ function j({ onOpenChange: o, modalSettings: r }) {
|
|
|
56
56
|
/* @__PURE__ */ e(b, {}),
|
|
57
57
|
/* @__PURE__ */ e(w, {})
|
|
58
58
|
] }),
|
|
59
|
-
/* @__PURE__ */ n(
|
|
60
|
-
/* @__PURE__ */ e(
|
|
59
|
+
/* @__PURE__ */ n(O, { children: [
|
|
60
|
+
/* @__PURE__ */ e(A, { shortcutKey: r?.shortcutKey }),
|
|
61
61
|
/* @__PURE__ */ e(T, { shortcutKey: r?.shortcutKey })
|
|
62
62
|
] })
|
|
63
63
|
] }) });
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { InkeepConfig } from '../types/index.ts';
|
|
2
1
|
import { EmbeddedChatProviderProps, SidebarChatProps } from '../styled';
|
|
3
|
-
|
|
2
|
+
import { ChatConfig } from './embedded-chat';
|
|
4
3
|
export type InkeepSidebarChatProps = Omit<EmbeddedChatProviderProps, 'isHidden'> & Partial<ChatConfig> & SidebarChatProps;
|
|
5
4
|
export declare function InkeepSidebarChat(props: InkeepSidebarChatProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("../../primitives/components/chat-bubble/index.cjs"),o=require("../utils.cjs"),l=require("./ui/recipes/button.cjs"),s=require("./ui/recipes/scrollable.cjs"),n=({className:t,...e})=>a.jsx(r.ChatBubblePrimitiveRoot,{...e,className:o.cn("[--chat-bubble-bottom:84px] [--chat-bubble-margin:theme(spacing.5)]","bg-white dark:bg-gray-dark-950 fixed height-full z-50","w-screen h-full bottom-0 right-0 rounded-none shadow-none","xs:w-[440px] xs:h-full xs:bottom-[var(--chat-bubble-bottom)] xs:right-5 xs:rounded-xl xs:shadow-2xl xs:max-h-[min(650px,calc(100%-var(--chat-bubble-bottom)-var(--chat-bubble-margin)))]","xs:origin-bottom-right","data-[state=open]:animate-chat-bubble-in xs:data-[state=open]:animate-chat-bubble-in-desktop",t)}),b=({className:t,...e})=>a.jsx(r.Header,{className:o.cn(s.scrollable({section:"header"}),"w-full flex flex-row items-center px-3 py-1.5","bg-white dark:bg-gray-dark-950","after:absolute","after:left-0","after:top-full","after:h-3","after:w-full","after:text-white","after:dark:text-gray-dark-950","after:bg-[linear-gradient(currentColor,_transparent)]","after:z-start",t),...e}),i=({className:t,...e})=>a.jsx(r.CloseButton,{className:o.cn(l.button({variant:"ghost",size:"xs"}),"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",t),...e});exports.CloseButton=i;exports.Header=b;exports.Root=n;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ChatBubblePrimitive } from '../../primitives';
|
|
2
|
+
declare const ChatBubbleRoot: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatBubblePrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const ChatBubbleHeader: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatBubblePrimitive.Header>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const ChatBubbleCloseButton: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatBubblePrimitive.CloseButton>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export { ChatBubbleRoot as Root, ChatBubbleCloseButton as CloseButton, ChatBubbleHeader as Header };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { ChatBubblePrimitiveRoot as o, CloseButton as l, Header as b } from "../../primitives/components/chat-bubble/index.js";
|
|
4
|
+
import { cn as r } from "../utils.js";
|
|
5
|
+
import { button as s } from "./ui/recipes/button.js";
|
|
6
|
+
import { scrollable as i } from "./ui/recipes/scrollable.js";
|
|
7
|
+
const f = ({
|
|
8
|
+
className: t,
|
|
9
|
+
...e
|
|
10
|
+
}) => /* @__PURE__ */ a(
|
|
11
|
+
o,
|
|
12
|
+
{
|
|
13
|
+
...e,
|
|
14
|
+
className: r(
|
|
15
|
+
// CSS Variables
|
|
16
|
+
"[--chat-bubble-bottom:84px] [--chat-bubble-margin:theme(spacing.5)]",
|
|
17
|
+
// Base layout
|
|
18
|
+
"bg-white dark:bg-gray-dark-950 fixed height-full z-50",
|
|
19
|
+
// Mobile styles
|
|
20
|
+
"w-screen h-full bottom-0 right-0 rounded-none shadow-none",
|
|
21
|
+
// Desktop styles (xs:)
|
|
22
|
+
"xs:w-[440px] xs:h-full xs:bottom-[var(--chat-bubble-bottom)] xs:right-5 xs:rounded-xl xs:shadow-2xl xs:max-h-[min(650px,calc(100%-var(--chat-bubble-bottom)-var(--chat-bubble-margin)))]",
|
|
23
|
+
"xs:origin-bottom-right",
|
|
24
|
+
// Animations
|
|
25
|
+
"data-[state=open]:animate-chat-bubble-in xs:data-[state=open]:animate-chat-bubble-in-desktop",
|
|
26
|
+
t
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
), c = ({
|
|
30
|
+
className: t,
|
|
31
|
+
...e
|
|
32
|
+
}) => /* @__PURE__ */ a(
|
|
33
|
+
b,
|
|
34
|
+
{
|
|
35
|
+
className: r(
|
|
36
|
+
i({ section: "header" }),
|
|
37
|
+
"w-full flex flex-row items-center px-3 py-1.5",
|
|
38
|
+
"bg-white dark:bg-gray-dark-950",
|
|
39
|
+
"after:absolute",
|
|
40
|
+
"after:left-0",
|
|
41
|
+
"after:top-full",
|
|
42
|
+
"after:h-3",
|
|
43
|
+
"after:w-full",
|
|
44
|
+
"after:text-white",
|
|
45
|
+
"after:dark:text-gray-dark-950",
|
|
46
|
+
"after:bg-[linear-gradient(currentColor,_transparent)]",
|
|
47
|
+
"after:z-start",
|
|
48
|
+
t
|
|
49
|
+
),
|
|
50
|
+
...e
|
|
51
|
+
}
|
|
52
|
+
), d = ({
|
|
53
|
+
className: t,
|
|
54
|
+
...e
|
|
55
|
+
}) => /* @__PURE__ */ a(
|
|
56
|
+
l,
|
|
57
|
+
{
|
|
58
|
+
className: r(
|
|
59
|
+
s({ variant: "ghost", size: "xs" }),
|
|
60
|
+
"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",
|
|
61
|
+
t
|
|
62
|
+
),
|
|
63
|
+
...e
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
export {
|
|
67
|
+
d as CloseButton,
|
|
68
|
+
c as Header,
|
|
69
|
+
f as Root
|
|
70
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),n=require("../../primitives/components/chat-button.cjs"),o=require("../utils.cjs"),r=({className:t,...e})=>a.jsx(n.ChatButtonContainer,{className:o.cn("fixed right-6 bottom-6 z-50 mr-[var(--removed-body-scroll-bar-size)]",t),...e}),s=({className:t,...e})=>a.jsx(n.ChatButton,{className:o.cn("bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl dark:shadow-none transition-transform ease-in-out
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),n=require("../../primitives/components/chat-button.cjs"),o=require("../utils.cjs"),r=({className:t,...e})=>a.jsx(n.ChatButtonContainer,{className:o.cn("fixed right-6 bottom-6 z-50 mr-[var(--removed-body-scroll-bar-size)]",t),...e}),s=({className:t,...e})=>a.jsx(n.ChatButton,{className:o.cn("bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl hover:[&:not(:active)]:scale-110 dark:shadow-none transition-transform ease-in-out data-[open]:px-3 active:scale-90 active:transition-transform active:duration-100",t),...e}),c=({className:t,...e})=>a.jsx(n.ChatButtonText,{className:o.cn("flex items-center",t),...e}),i=({className:t,...e})=>a.jsx(n.ChatButtonCloseIcon,{className:o.cn("w-6 h-6",t),...e}),u=({className:t,...e})=>a.jsx(n.ChatButtonPrimitiveAvatarImage,{className:o.cn("data-[type=icon]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","data-[type=icon]:[--end-color:theme(colors.inkeep-expanded-primary.300)]","h-6 w-6",t),...e}),l=({className:t,...e})=>a.jsx(n.ChatButtonAvatarContent,{className:o.cn("",t),...e});exports.ChatButton=s;exports.ChatButtonAvatarContent=l;exports.ChatButtonAvatarImage=u;exports.ChatButtonCloseIcon=i;exports.ChatButtonText=c;exports.Container=r;
|
|
@@ -3,6 +3,7 @@ import { ComponentPropsWithRef } from 'react';
|
|
|
3
3
|
declare const ChatButtonContainer: ({ className, ...props }: ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonContainer>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const ChatButton: ({ className, ...props }: ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButton>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare const ChatButtonText: ({ className, ...props }: ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonText>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const ChatButtonCloseIcon: ({ className, ...props }: ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonCloseIcon>) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
declare const ChatButtonAvatarImage: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonAvatarImage>) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
declare const ChatButtonAvatarContent: ({ className, ...props }: React.ComponentPropsWithRef<typeof ChatButtonPrimitive.ChatButtonAvatarContent>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export { ChatButtonContainer as Container, ChatButton, ChatButtonText, ChatButtonAvatarImage, ChatButtonAvatarContent, };
|
|
9
|
+
export { ChatButtonContainer as Container, ChatButton, ChatButtonText, ChatButtonAvatarImage, ChatButtonAvatarContent, ChatButtonCloseIcon, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import { ChatButtonContainer as n, ChatButton as r, ChatButtonText as i, ChatButtonPrimitiveAvatarImage as s, ChatButtonAvatarContent as m } from "../../primitives/components/chat-button.js";
|
|
3
|
+
import { ChatButtonContainer as n, ChatButton as r, ChatButtonText as i, ChatButtonPrimitiveAvatarImage as s, ChatButtonAvatarContent as m, ChatButtonCloseIcon as c } from "../../primitives/components/chat-button.js";
|
|
4
4
|
import { cn as o } from "../utils.js";
|
|
5
5
|
const u = ({
|
|
6
6
|
className: t,
|
|
@@ -21,15 +21,18 @@ const u = ({
|
|
|
21
21
|
r,
|
|
22
22
|
{
|
|
23
23
|
className: o(
|
|
24
|
-
"bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl dark:shadow-none transition-transform ease-in-out
|
|
24
|
+
"bg-inkeep-primary-text-bold dark:bg-gray-dark-600 rounded-full px-[18px] py-3 text-white font-medium flex items-center space-x-2 shadow-2xl hover:[&:not(:active)]:scale-110 dark:shadow-none transition-transform ease-in-out data-[open]:px-3 active:scale-90 active:transition-transform active:duration-100",
|
|
25
25
|
t
|
|
26
26
|
),
|
|
27
27
|
...a
|
|
28
28
|
}
|
|
29
|
-
),
|
|
29
|
+
), p = ({
|
|
30
30
|
className: t,
|
|
31
31
|
...a
|
|
32
|
-
}) => /* @__PURE__ */ e(i, { className: o("flex items-center", t), ...a }),
|
|
32
|
+
}) => /* @__PURE__ */ e(i, { className: o("flex items-center", t), ...a }), v = ({
|
|
33
|
+
className: t,
|
|
34
|
+
...a
|
|
35
|
+
}) => /* @__PURE__ */ e(c, { className: o("w-6 h-6", t), ...a }), B = ({
|
|
33
36
|
className: t,
|
|
34
37
|
...a
|
|
35
38
|
}) => /* @__PURE__ */ e(
|
|
@@ -50,7 +53,8 @@ const u = ({
|
|
|
50
53
|
export {
|
|
51
54
|
d as ChatButton,
|
|
52
55
|
x as ChatButtonAvatarContent,
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
B as ChatButtonAvatarImage,
|
|
57
|
+
v as ChatButtonCloseIcon,
|
|
58
|
+
p as ChatButtonText,
|
|
55
59
|
u as Container
|
|
56
60
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),a=require("../../primitives/components/embedded-chat.cjs"),k=require("../../primitives/components/embedded-chat/chat-provider.cjs"),w=require("../../primitives/hooks/use-resize-observer.cjs"),P=require("../../primitives/utils/compose-refs.cjs"),M=require("./ui/recipes/ai-chat-page-wrapper.cjs"),n=require("./ui/recipes/attachment.cjs"),o=require("./ui/recipes/button.cjs"),x=require("./ui/recipes/checkbox.cjs"),m=require("./ui/recipes/citation.cjs"),j=require("./ui/recipes/icon.cjs"),l=require("./ui/recipes/input.cjs"),y=require("./ui/recipes/link.cjs"),s=require("./ui/recipes/modal.cjs"),p=require("./ui/recipes/popover.cjs"),C=require("./ui/recipes/scrollable.cjs"),h=require("./ui/recipes/select.cjs"),N=require("class-variance-authority"),I=require("merge-anything"),c=require("react"),r=require("../utils.cjs"),B=require("./ui/markdown-styles.cjs"),S=require("./loading-indicator.cjs"),T=require("./message.cjs"),H=k.ChatProvider,L=c.forwardRef(({className:e,size:t,variant:i,...u},b)=>d.jsx(a.EmbeddedChatPrimitiveWrapper,{ref:b,className:r.cn(M.aiChatPageWrapper({size:t,variant:i}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]","[[data-sidebar]_&]:m-[unset] [[data-sidebar]_&]:mt-auto","[[data-sidebar]_&]:h-full [[data-sidebar]_&]:w-full","[[data-sidebar]_&]:max-h-[unset]",e),...u})),D=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveRoot,{className:r.cn(C.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),W=({className:e,...t})=>d.jsx(a.Header,{className:r.cn(C.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHeaderToolbar,{className:r.cn("flex items-center gap-3 w-full","px-5 py-2 pt-4 justify-between *:m-0",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeaderWrapper,{className:r.cn("flex items-center gap-1.5",e),...t}),_=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeader,{className:r.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),Q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContent,{className:r.cn(C.scrollable({section:"content"}),"justify-end",e),...t}),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollArea,{className:r.cn("overflow-hidden",e),...t}),O=c.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaViewport,{ref:i,className:r.cn("h-full w-full rounded-[inherit]",e),...t})),V=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaScrollbar,{className:r.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaThumb,{className:r.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),$=a.EmbeddedChatPrimitiveContentScrollAreaCorner,J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimer,{className:r.cn("ml-auto text-sm flex items-center gap-1",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerLabel,{className:r.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),U=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerTrigger,{className:r.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerContent,{className:r.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),Y=a.EmbeddedChatPrimitiveDisclaimerText,Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerArrow,{className:r.cn(p.popover({slot:"arrow"}),e),...t}),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestions,{className:r.cn("mt-4 flex flex-col gap-2",e),...t}),te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsLabel,{className:r.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsList,{className:r.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),de=c.forwardRef(({className:e,style:t,...i},u)=>{const b=c.useRef(null),v=P.composeRefs(u,b),{width:f=0,height:F=0}=w.useResizeObserver({ref:b,box:"border-box"}),A=Math.max(F,f);return d.jsx(a.EmbeddedChatPrimitiveExampleQuestion,{ref:v,style:{"--before-size":`${A+100}px`,...t},className:r.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...i})}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionButton,{className:r.cn(o.button({size:"sm"}),"text-sm font-normal h-auto w-full py-2 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflows,{className:r.cn("mt-4 flex flex-col gap-2",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflowsLabel,{className:r.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflowsList,{className:r.cn("flex flex-wrap gap-2",e),...t}),ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflow,{className:r.cn(o.button({size:"sm"}),"min-h-9 px-3 py-2 h-auto font-medium","text-sm gap-2 whitespace-normal border ","text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300","border-inkeep-expanded-primary-200","dark:border-inkeep-expanded-primary-200","hover:bg-inkeep-primary-light-subtle","dark:hover:bg-white-alpha-100",e),...t}),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessages,{className:r.cn("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),g=N.cva(["flex relative w-full overflow-hidden py-8","px-5","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0","[&:not(:last-child)]:after:absolute","[&:not(:last-child)]:after:border-b","[&:not(:last-child)]:after:bottom-0","[&:not(:last-child)]:after:inset-x-6","ikp-md:[&:not(:last-child)]:after:inset-x-8"]),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageWrapper,{className:r.cn(g(),e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveIntroMessageWrapper,{className:r.cn(g(),e),...t}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageHeader,{className:r.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-6 ikp-md:mb-0",e),...t}),be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageLoading,{className:r.cn("flex items-center gap-3 h-12 w-full",e),children:d.jsx(S.LoadingIndicator,{}),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatar,{className:r.cn("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarContent,{className:r.cn("relative flex h-8 w-8 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden ikp-md:flex","justify-center items-center",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarFallback,{className:r.cn("hidden data-[role=user]:block",e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarImage,{className:r.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageName,{className:r.cn("px-3 py-1 ml-4 data-[role=user]:ml-0","text-sm rounded-full","bg-inkeep-primary-lighter data-[role=user]:bg-gray-50","text-inkeep-primary-stronger dark:text-inkeep-expanded-primary-300","data-[role=user]:text-gray-700 dark:data-[role=user]:text-white-alpha-700","dark:bg-gray-dark-700","ikp-md:hidden",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContentWrapper,{className:r.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContent,{className:r.cn("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),fe=a.EmbeddedChatPrimitiveMessageAttachments,Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsList,{className:r.cn("flex flex-wrap gap-2",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItem,{className:r.cn(o.button({variant:"ghost"}),n.attachment({slot:"root"}),"font-normal px-2",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItemIcon,{className:r.cn(n.attachment({slot:"icon"}),e),...t}),we=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItemTitle,{className:r.cn(n.attachment({slot:"title"}),e),...t}),Pe=a.EmbeddedChatPrimitiveMessageAttachmentsPreview,Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,{className:r.cn(s.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,{className:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,{className:r.cn(s.modal({slot:"close"}),e),...t}),Ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),Be=a.EmbeddedChatPrimitiveDynamicComponent,Se=({componentStyles:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMarkdown,{componentStyles:I.merge(B.markdownStyles,e??{}),...t}),Te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageToolbar,{className:r.cn("flex items-center mt-2 mb-3",e),...t}),He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAnnotationActions,{className:r.cn("mr-auto flex items-center gap-2",e),...t}),Le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAnnotationAction,{className:r.cn(o.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAction,{className:r.cn(o.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),We=a.EmbeddedChatPrimitiveMessageSources,qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesHeader,{className:r.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesList,{className:r.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItem,{className:r.cn(m.citation({slot:"root"}),e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,{className:r.cn(m.citation({slot:"breadcrumbs"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.MessageSourceItemBreadcrumbIcon,{className:r.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIcon,{className:r.cn(m.citation({slot:"icon"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTitle,{className:r.cn(m.citation({slot:"title"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTag,{className:r.cn(m.citation({slot:"tag"}),e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescription,{className:r.cn(m.citation({slot:"description"}),e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,{className:r.cn(m.citation({slot:"descriptionPart"}),e),...t}),Ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIndicator,{className:r.cn(m.citation({slot:"indicator"}),e),...t}),Ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFooter,{className:r.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-5 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]","before:-translate-y-full",e),...t}),Xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputFieldset,{className:r.cn("relative flex flex-col w-full p-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputGroup,{className:r.cn("flex",e),...t}),Ze=c.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitiveInput,{ref:i,className:r.cn("min-h-[unset] overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 ml-1 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButton,{className:r.cn(o.button({}),"bg-transparent relative size-10 rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white-alpha-200","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButtonIcon,{className:r.cn(j.icon(),"text-inherit rotate-[-30deg]",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBar,{className:r.cn("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarList,{className:r.cn("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachment,{className:r.cn(n.attachment({slot:"root"}),e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,{className:r.cn(n.attachment({slot:"icon"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,{className:r.cn(n.attachment({slot:"title"}),e),...t}),mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,{className:r.cn(n.attachment({slot:"delete"}),e),...t}),it=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarActions,{className:r.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),nt=a.EmbeddedChatPrimitiveAttachmentsBarInfoTip,ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,{className:r.cn("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInfoTipText,{className:r.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),ht=a.EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInputs,{className:r.cn("contents",e),...t}),xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInput,{className:r.cn(o.button({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),pt=a.EmbeddedChatPrimitiveAttachmentsBarModal,Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalContent,{className:r.cn(s.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalHeader,{className:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalHeading,{className:r.cn("w-full semibold",e),...t}),vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalDescription,{className:r.cn("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),ft=a.EmbeddedChatPrimitiveAttachmentsBarModalHelp,Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalClose,{className:r.cn(s.modal({slot:"close"}),e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarForm,{className:r.cn("flex flex-col gap-8",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitle,{className:r.cn("flex flex-col gap-2",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,{className:r.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,{className:r.cn("h-10 px-4 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleError,{className:r.cn("text-sm text-red-500",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContent,{className:r.cn("flex flex-col gap-2",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,{className:r.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentInput,{className:r.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentError,{className:r.cn("text-sm text-red-500",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,{className:r.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActionBar,{className:r.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActions,{className:r.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineContainer,{className:r.cn("flex items-center whitespace-nowrap",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineText,{className:r.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineLogo,{className:r.cn("text-gray-500 dark:text-white-alpha-600","w-5 ml-2 mr-1",e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineBrandName,{className:r.cn(y.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-medium",e),...t}),E=r.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatAction,{className:r.cn(E,e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionLabel,{className:r.cn("cursor-pointer",e),...t}),Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionFeedback,{className:r.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),Rt=a.EmbeddedChatPrimitiveHelpActions,Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHelpAction,{className:r.cn(E,e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsTrigger,{className:r.cn(E,e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenu,{className:r.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuArrow,{className:r.cn(p.popover({slot:"arrow"}),e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItem,{className:r.cn("flex items-center cursor-pointer hover:underline",e),...t}),Kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItemIcon,{className:r.cn("mr-2 text-inkeep-primary-medium",e),...t}),Ut=a.EmbeddedChatPrimitiveFeedbackModal,Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalContent,{className:r.cn(s.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalHeader,{className:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalClose,{className:r.cn(s.modal({slot:"close"}),e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackForm,{className:r.cn("flex flex-col gap-8",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItem,{className:r.cn("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckbox,{className:r.cn(x.checkbox({slot:"root"}),e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,{className:r.cn(x.checkbox({slot:"indicator"}),e),...t}),oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemLabel,{className:r.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemDescription,{className:r.cn("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackSubmitButton,{className:r.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormWrapper,{className:r.cn("w-full overflow-y-auto",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveForm,{className:r.cn(C.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-10 ikp-md:pb-14",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormClose,{className:r.cn(o.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeader,{className:r.cn("mt-12 flex flex-col gap-6",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeading,{className:r.cn("font-semibold text-xl leading-5",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormDescription,{className:r.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormContent,{className:r.cn("w-full",e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormField,{className:r.cn("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldLabel,{className:r.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldText,{className:r.cn(l.input({size:"md",variant:"outline"}),e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldEmail,{className:r.cn(l.input({size:"md",variant:"outline"}),e),...t}),va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldFile,{className:r.cn(l.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldTextArea,{className:r.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckbox,{className:r.cn(x.checkbox({slot:"root"}),e),...t}),Aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckboxIndicator,{className:r.cn(x.checkbox({slot:"indicator"}),e),...t}),ka=a.EmbeddedChatPrimitiveFormFieldSelect,wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectTrigger,{className:r.cn(h.select({slot:"trigger"}),e),...t}),Pa=a.EmbeddedChatPrimitiveFormFieldSelectValue,Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectIcon,{className:r.cn("h-4 w-4 opacity-45",e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectContent,{className:r.cn(h.select({slot:"content"}),e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectViewport,{className:r.cn(h.select({slot:"viewport"}),e),...t}),Na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItem,{className:r.cn(h.select({slot:"item"}),e),...t}),Ia=a.EmbeddedChatPrimitiveFormFieldSelectItemText,Ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItemIndicator,{className:r.cn(h.select({slot:"itemIndicator"}),e),...t}),Sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldError,{className:r.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormError,{className:r.cn("text-red-500 dark:text-red-300",e),...t}),Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFooter,{className:r.cn("flex items-center justify-end gap-6 w-full",e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormCancel,{className:r.cn(o.button({variant:"outline"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSubmit,{className:r.cn(o.button({preset:"neutralFilled"}),e),...t}),Wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccess,{className:r.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",e),...t}),qa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessHeading,{className:r.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),za=a.EmbeddedChatPrimitiveFormSuccessMessage,_a=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessButton,{className:r.cn(o.button({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.MessagePart=T.EmbeddedChatMessagePart;exports.ActionBar=Tt;exports.Actions=Ht;exports.AttachmentsBar=at;exports.AttachmentsBarActions=it;exports.AttachmentsBarAttachment=rt;exports.AttachmentsBarAttachmentDelete=mt;exports.AttachmentsBarAttachmentIcon=st;exports.AttachmentsBarAttachmentTitle=ot;exports.AttachmentsBarForm=kt;exports.AttachmentsBarFormContent=yt;exports.AttachmentsBarFormContentError=Bt;exports.AttachmentsBarFormContentInput=It;exports.AttachmentsBarFormContentLabel=Nt;exports.AttachmentsBarFormSubmitButton=St;exports.AttachmentsBarFormTitle=wt;exports.AttachmentsBarFormTitleError=jt;exports.AttachmentsBarFormTitleInput=Mt;exports.AttachmentsBarFormTitleLabel=Pt;exports.AttachmentsBarInfoTip=nt;exports.AttachmentsBarInfoTipArrow=ht;exports.AttachmentsBarInfoTipIcon=ct;exports.AttachmentsBarInfoTipText=lt;exports.AttachmentsBarInput=xt;exports.AttachmentsBarInputs=bt;exports.AttachmentsBarList=dt;exports.AttachmentsBarModal=pt;exports.AttachmentsBarModalBody=At;exports.AttachmentsBarModalClose=Ft;exports.AttachmentsBarModalContent=ut;exports.AttachmentsBarModalDescription=vt;exports.AttachmentsBarModalHeader=Et;exports.AttachmentsBarModalHeading=gt;exports.AttachmentsBarModalHelp=ft;exports.AttachmentsBarModalOverlay=Ct;exports.ChatAction=zt;exports.ChatActionFeedback=Qt;exports.ChatActionLabel=_t;exports.Content=Q;exports.ContentScrollArea=R;exports.ContentScrollAreaCorner=$;exports.ContentScrollAreaScrollbar=V;exports.ContentScrollAreaThumb=G;exports.ContentScrollAreaViewport=O;exports.Disclaimer=J;exports.DisclaimerArrow=Z;exports.DisclaimerContent=X;exports.DisclaimerLabel=K;exports.DisclaimerText=Y;exports.DisclaimerTrigger=U;exports.DynamicComponent=Be;exports.ExampleQuestion=de;exports.ExampleQuestionButton=re;exports.ExampleQuestions=ee;exports.ExampleQuestionsLabel=te;exports.ExampleQuestionsList=ae;exports.FeedbackForm=aa;exports.FeedbackItem=da;exports.FeedbackItemCheckbox=ra;exports.FeedbackItemCheckboxIndicator=sa;exports.FeedbackItemDescription=ma;exports.FeedbackItemLabel=oa;exports.FeedbackModal=Ut;exports.FeedbackModalBody=ta;exports.FeedbackModalClose=ea;exports.FeedbackModalContent=Yt;exports.FeedbackModalHeader=Zt;exports.FeedbackModalOverlay=Xt;exports.FeedbackSubmitButton=ia;exports.Footer=Ue;exports.Form=ca;exports.FormCancel=La;exports.FormClose=la;exports.FormContent=pa;exports.FormDescription=xa;exports.FormError=Ta;exports.FormField=Ca;exports.FormFieldCheckbox=Fa;exports.FormFieldCheckboxIndicator=Aa;exports.FormFieldEmail=ga;exports.FormFieldError=Sa;exports.FormFieldFile=va;exports.FormFieldLabel=ua;exports.FormFieldSelect=ka;exports.FormFieldSelectContent=ja;exports.FormFieldSelectIcon=Ma;exports.FormFieldSelectItem=Na;exports.FormFieldSelectItemIndicator=Ba;exports.FormFieldSelectItemText=Ia;exports.FormFieldSelectTrigger=wa;exports.FormFieldSelectValue=Pa;exports.FormFieldSelectViewport=ya;exports.FormFieldText=Ea;exports.FormFieldTextArea=fa;exports.FormFooter=Ha;exports.FormHeader=ha;exports.FormHeading=ba;exports.FormSubmit=Da;exports.FormSuccess=Wa;exports.FormSuccessButton=_a;exports.FormSuccessHeading=qa;exports.FormSuccessMessage=za;exports.FormWrapper=na;exports.Header=W;exports.HeaderToolbar=q;exports.HeaderToolbarWrapper=z;exports.HelpAction=Ot;exports.HelpActions=Rt;exports.HelpActionsMenu=Gt;exports.HelpActionsMenuArrow=$t;exports.HelpActionsMenuItem=Jt;exports.HelpActionsMenuItemIcon=Kt;exports.HelpActionsTrigger=Vt;exports.Input=Ze;exports.InputFieldset=Xe;exports.InputGroup=Ye;exports.IntroMessageWrapper=le;exports.Markdown=Se;exports.MessageAction=De;exports.MessageAnnotationAction=Le;exports.MessageAnnotationActions=He;exports.MessageAttachments=fe;exports.MessageAttachmentsItem=Ae;exports.MessageAttachmentsItemIcon=ke;exports.MessageAttachmentsItemTitle=we;exports.MessageAttachmentsList=Fe;exports.MessageAttachmentsPreview=Pe;exports.MessageAttachmentsPreviewBody=Ie;exports.MessageAttachmentsPreviewClose=Ne;exports.MessageAttachmentsPreviewContent=je;exports.MessageAttachmentsPreviewHeader=ye;exports.MessageAttachmentsPreviewOverlay=Me;exports.MessageAvatar=xe;exports.MessageAvatarContent=pe;exports.MessageAvatarFallback=Ce;exports.MessageAvatarImage=ue;exports.MessageContent=ve;exports.MessageContentWrapper=ge;exports.MessageHeader=he;exports.MessageLoading=be;exports.MessageName=Ee;exports.MessageSourceItem=_e;exports.MessageSourceItemBreadcrumbIcon=Re;exports.MessageSourceItemBreadcrumbs=Qe;exports.MessageSourceItemDescription=$e;exports.MessageSourceItemDescriptionPart=Je;exports.MessageSourceItemIcon=Oe;exports.MessageSourceItemIndicator=Ke;exports.MessageSourceItemTag=Ge;exports.MessageSourceItemTitle=Ve;exports.MessageSources=We;exports.MessageSourcesHeader=qe;exports.MessageSourcesList=ze;exports.MessageToolbar=Te;exports.MessageWrapper=ce;exports.Messages=ne;exports.Provider=H;exports.Root=D;exports.SendButton=et;exports.SendButtonIcon=tt;exports.TaglineBrandName=qt;exports.TaglineContainer=Lt;exports.TaglineLogo=Wt;exports.TaglineText=Dt;exports.ToolbarHeader=_;exports.Workflow=ie;exports.Workflows=se;exports.WorkflowsLabel=oe;exports.WorkflowsList=me;exports.Wrapper=L;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),a=require("../../primitives/components/embedded-chat.cjs"),k=require("../../primitives/components/embedded-chat/chat-provider.cjs"),w=require("../../primitives/hooks/use-resize-observer.cjs"),P=require("../../primitives/utils/compose-refs.cjs"),M=require("./ui/recipes/ai-chat-page-wrapper.cjs"),i=require("./ui/recipes/attachment.cjs"),o=require("./ui/recipes/button.cjs"),x=require("./ui/recipes/checkbox.cjs"),m=require("./ui/recipes/citation.cjs"),j=require("./ui/recipes/icon.cjs"),l=require("./ui/recipes/input.cjs"),y=require("./ui/recipes/link.cjs"),r=require("./ui/recipes/modal.cjs"),p=require("./ui/recipes/popover.cjs"),C=require("./ui/recipes/scrollable.cjs"),h=require("./ui/recipes/select.cjs"),N=require("class-variance-authority"),I=require("merge-anything"),c=require("react"),s=require("../utils.cjs"),B=require("./ui/markdown-styles.cjs"),S=require("./loading-indicator.cjs"),T=require("./message.cjs"),H=k.ChatProvider,L=c.forwardRef(({className:e,size:t,variant:n,...u},b)=>d.jsx(a.EmbeddedChatPrimitiveWrapper,{ref:b,className:s.cn(M.aiChatPageWrapper({size:t,variant:n}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]","[[data-sidebar]_&]:m-[unset] [[data-sidebar]_&]:mt-auto","[[data-sidebar]_&]:h-full [[data-sidebar]_&]:w-full","[[data-sidebar]_&]:max-h-[unset]","[[data-chat-bubble]_&]:max-h-[unset]","[[data-chat-bubble]_&]:h-full [[data-chat-bubble]_&]:w-full [[data-chat-bubble]_&]:rounded-[inherit]",e),...u})),D=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveRoot,{className:s.cn(C.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),W=({className:e,...t})=>d.jsx(a.Header,{className:s.cn(C.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),_=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHeaderToolbar,{className:s.cn("flex items-center gap-3 w-full","px-5 py-2 pt-4 justify-between *:m-0",e),...t}),q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeaderWrapper,{className:s.cn("flex items-center gap-1.5",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveToolbarHeader,{className:s.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),Q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContent,{className:s.cn(C.scrollable({section:"content"}),"justify-end",e),...t}),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollArea,{className:s.cn("overflow-hidden",e),...t}),O=c.forwardRef(({className:e,...t},n)=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaViewport,{ref:n,className:s.cn("h-full w-full rounded-[inherit]","[[data-chat-bubble]_&]:overscroll-contain",e),...t})),V=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveContentScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),$=a.EmbeddedChatPrimitiveContentScrollAreaCorner,J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimer,{className:s.cn("ml-auto text-sm flex items-center gap-1",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerLabel,{className:s.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),U=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerTrigger,{className:s.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerContent,{className:s.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal text-sm","w-[250px] sm:w-[420px]",e),...t}),Y=a.EmbeddedChatPrimitiveDisclaimerText,Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveDisclaimerArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestions,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionsList,{className:s.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),de=c.forwardRef(({className:e,style:t,...n},u)=>{const b=c.useRef(null),v=P.composeRefs(u,b),{width:f=0,height:F=0}=w.useResizeObserver({ref:b,box:"border-box"}),A=Math.max(F,f);return d.jsx(a.EmbeddedChatPrimitiveExampleQuestion,{ref:v,style:{"--before-size":`${A+100}px`,...t},className:s.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...n})}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveExampleQuestionButton,{className:s.cn(o.button({size:"sm"}),"text-sm font-normal h-auto w-full py-1.5 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflows,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflowsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflowsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveWorkflow,{className:s.cn(o.button({size:"sm"}),"min-h-9 px-3 py-2 h-auto font-medium","text-sm gap-2 whitespace-normal border ","text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300","border-inkeep-expanded-primary-200","dark:border-inkeep-expanded-primary-200","hover:bg-inkeep-primary-light-subtle","dark:hover:bg-white-alpha-100",e),...t}),ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessages,{className:s.cn("flex flex-col w-full min-w-0 min-h-0 text-sm relative",e),...t}),g=N.cva(["flex relative w-full overflow-hidden ikp-md:py-6 py-4","px-5","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0"]),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageWrapper,{className:s.cn(g(),e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveIntroMessageWrapper,{className:s.cn(g(),e),...t}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageHeader,{className:s.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-4 ikp-md:mb-0","data-[role=user]:hidden",e),...t}),be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageLoading,{className:s.cn("flex items-center gap-3 h-auto w-full",e),children:d.jsx(S.LoadingIndicator,{}),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatar,{className:s.cn("flex items-center justify-center rounded-full","h-auto",e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarContent,{className:s.cn("relative flex h-6 w-6 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden","justify-center items-center",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarFallback,{className:s.cn("hidden data-[role=user]:block",e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAvatarImage,{className:s.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageName,{className:s.cn("py-1 ml-3","text-1sm font-medium","text-gray-600 dark:text-white-alpha-600","data-[role=user]:hidden","ikp-md:hidden",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContentWrapper,{className:s.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:items-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageContent,{className:s.cn("text-sm flex-wrap break-words min-w-0 shrink-1 max-w-full data-[role=user]:py-2 data-[role=user]:px-4 data-[role=user]:bg-gray-100 data-[role=user]:dark:bg-white-alpha-100 rounded-3xl xs:data-[role=user]:max-w-[75%] rounded-br-sm",e),...t}),fe=a.EmbeddedChatPrimitiveMessageAttachments,Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItem,{className:s.cn(o.button({variant:"ghost"}),i.attachment({slot:"root"}),"font-normal px-2",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItemIcon,{className:s.cn(i.attachment({slot:"icon"}),e),...t}),we=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsItemTitle,{className:s.cn(i.attachment({slot:"title"}),e),...t}),Pe=a.EmbeddedChatPrimitiveMessageAttachmentsPreview,Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),Be=a.EmbeddedChatPrimitiveDynamicComponent,Se=({componentStyles:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMarkdown,{componentStyles:I.merge(B.markdownStyles,e??{}),...t}),Te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageToolbar,{className:s.cn("flex items-center mt-2 mb-3",e),...t}),He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAnnotationActions,{className:s.cn("mr-auto flex items-center gap-2",e),...t}),Le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAnnotationAction,{className:s.cn(o.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageAction,{className:s.cn(o.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),We=a.EmbeddedChatPrimitiveMessageSources,_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesHeader,{className:s.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourcesList,{className:s.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItem,{className:s.cn(m.citation({slot:"root"}),e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs,{className:s.cn(m.citation({slot:"breadcrumbs"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.MessageSourceItemBreadcrumbIcon,{className:s.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIcon,{className:s.cn(m.citation({slot:"icon"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTitle,{className:s.cn(m.citation({slot:"title"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemTag,{className:s.cn(m.citation({slot:"tag"}),e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescription,{className:s.cn(m.citation({slot:"description"}),e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemDescriptionPart,{className:s.cn(m.citation({slot:"descriptionPart"}),e),...t}),Ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveMessageSourceItemIndicator,{className:s.cn(m.citation({slot:"indicator"}),e),...t}),Ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFooter,{className:s.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-5 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]","before:-translate-y-full",e),...t}),Xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputFieldset,{className:s.cn("relative flex flex-col w-full py-1 px-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveInputGroup,{className:s.cn("flex",e),...t}),Ze=c.forwardRef(({className:e,...t},n)=>d.jsx(a.EmbeddedChatPrimitiveInput,{ref:n,className:s.cn("min-h-[unset] text-sm overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButton,{className:s.cn(o.button({}),"bg-transparent relative size-9 min-w-[unset] rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white-alpha-200","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveSendButtonIcon,{className:s.cn(j.icon(),"text-inherit",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBar,{className:s.cn("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarList,{className:s.cn("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachment,{className:s.cn(i.attachment({slot:"root"}),e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon,{className:s.cn(i.attachment({slot:"icon"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle,{className:s.cn(i.attachment({slot:"title"}),e),...t}),mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete,{className:s.cn(i.attachment({slot:"delete"}),e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarActions,{className:s.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),it=a.EmbeddedChatPrimitiveAttachmentsBarInfoTip,ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon,{className:s.cn("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInfoTipText,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),ht=a.EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow,bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInputs,{className:s.cn("contents",e),...t}),xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarInput,{className:s.cn(o.button({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),pt=a.EmbeddedChatPrimitiveAttachmentsBarModal,Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-2xl",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalHeading,{className:s.cn("w-full semibold",e),...t}),vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),ft=a.EmbeddedChatPrimitiveAttachmentsBarModalHelp,Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarForm,{className:s.cn("flex flex-col gap-8",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitle,{className:s.cn("flex flex-col gap-2",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleInput,{className:s.cn("h-9 px-3 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormTitleError,{className:s.cn("text-sm text-red-500",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContent,{className:s.cn("flex flex-col gap-2",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentInput,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-1 text-sm",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormContentError,{className:s.cn("text-sm text-red-500",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActionBar,{className:s.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveActions,{className:s.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineText,{className:s.cn("text-xs text-gray-500 dark:text-white-alpha-600",e),...t}),Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineLogo,{className:s.cn("text-gray-500 dark:text-white-alpha-600","w-5 ml-1 mr-0.5",e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveTaglineBrandName,{className:s.cn(y.link(),"inline-flex text-1sm text-gray-500","dark:text-white-alpha-600 font-medium",e),...t}),E=s.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatAction,{className:s.cn(E,e),...t}),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionLabel,{className:s.cn("cursor-pointer",e),...t}),Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatActionFeedback,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),Rt=a.EmbeddedChatPrimitiveHelpActions,Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveChatHelpAction,{className:s.cn(E,e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsTrigger,{className:s.cn(E,e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenu,{className:s.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItem,{className:s.cn("flex items-center cursor-pointer hover:underline",e),...t}),Kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveHelpActionsMenuItemIcon,{className:s.cn("mr-2 text-inkeep-primary-medium",e),...t}),Ut=a.EmbeddedChatPrimitiveFeedbackModal,Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalContent,{className:s.cn(r.modal({slot:"content"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackForm,{className:s.cn("flex flex-col gap-8",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItem,{className:s.cn("flex flex-wrap items-center","gap-[.75rem_0.5rem]",e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemLabel,{className:s.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackItemDescription,{className:s.cn("flex-[0_0_100%]","min-h-20 border rounded-md","px-3 py-2 text-sm",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFeedbackSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormWrapper,{className:s.cn("w-full overflow-y-auto [scrollbar-width:thin]",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveForm,{className:s.cn(C.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-10 ikp-md:pb-12",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormClose,{className:s.cn(o.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeader,{className:s.cn("mt-8 flex flex-col gap-6",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormHeading,{className:s.cn("font-semibold text-xl leading-5",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormContent,{className:s.cn("w-full space-y-8",e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormField,{className:s.cn("flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldLabel,{className:s.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldText,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldEmail,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldFile,{className:s.cn(l.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldTextArea,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-3 py-2 text-sm",e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),Aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),ka=a.EmbeddedChatPrimitiveFormFieldSelect,wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectTrigger,{className:s.cn(h.select({slot:"trigger"}),e),...t}),Pa=a.EmbeddedChatPrimitiveFormFieldSelectValue,Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectIcon,{className:s.cn("h-4 w-4 opacity-45",e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectContent,{className:s.cn(h.select({slot:"content"}),e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectViewport,{className:s.cn(h.select({slot:"viewport"}),e),...t}),Na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItem,{className:s.cn(h.select({slot:"item"}),e),...t}),Ia=a.EmbeddedChatPrimitiveFormFieldSelectItemText,Ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldSelectItemIndicator,{className:s.cn(h.select({slot:"itemIndicator"}),e),...t}),Sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFieldError,{className:s.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormError,{className:s.cn("text-red-500 dark:text-red-300",e),...t}),Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormFooter,{className:s.cn("flex items-center justify-end gap-4 w-full",e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormCancel,{className:s.cn(o.button({variant:"outline"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSubmit,{className:s.cn(o.button({preset:"neutralFilled"}),e),...t}),Wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccess,{className:s.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",e),...t}),_a=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessHeading,{className:s.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),qa=a.EmbeddedChatPrimitiveFormSuccessMessage,za=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitiveFormSuccessButton,{className:s.cn(o.button({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.MessagePart=T.EmbeddedChatMessagePart;exports.ActionBar=Tt;exports.Actions=Ht;exports.AttachmentsBar=at;exports.AttachmentsBarActions=nt;exports.AttachmentsBarAttachment=st;exports.AttachmentsBarAttachmentDelete=mt;exports.AttachmentsBarAttachmentIcon=rt;exports.AttachmentsBarAttachmentTitle=ot;exports.AttachmentsBarForm=kt;exports.AttachmentsBarFormContent=yt;exports.AttachmentsBarFormContentError=Bt;exports.AttachmentsBarFormContentInput=It;exports.AttachmentsBarFormContentLabel=Nt;exports.AttachmentsBarFormSubmitButton=St;exports.AttachmentsBarFormTitle=wt;exports.AttachmentsBarFormTitleError=jt;exports.AttachmentsBarFormTitleInput=Mt;exports.AttachmentsBarFormTitleLabel=Pt;exports.AttachmentsBarInfoTip=it;exports.AttachmentsBarInfoTipArrow=ht;exports.AttachmentsBarInfoTipIcon=ct;exports.AttachmentsBarInfoTipText=lt;exports.AttachmentsBarInput=xt;exports.AttachmentsBarInputs=bt;exports.AttachmentsBarList=dt;exports.AttachmentsBarModal=pt;exports.AttachmentsBarModalBody=At;exports.AttachmentsBarModalClose=Ft;exports.AttachmentsBarModalContent=ut;exports.AttachmentsBarModalDescription=vt;exports.AttachmentsBarModalHeader=Et;exports.AttachmentsBarModalHeading=gt;exports.AttachmentsBarModalHelp=ft;exports.AttachmentsBarModalOverlay=Ct;exports.ChatAction=qt;exports.ChatActionFeedback=Qt;exports.ChatActionLabel=zt;exports.Content=Q;exports.ContentScrollArea=R;exports.ContentScrollAreaCorner=$;exports.ContentScrollAreaScrollbar=V;exports.ContentScrollAreaThumb=G;exports.ContentScrollAreaViewport=O;exports.Disclaimer=J;exports.DisclaimerArrow=Z;exports.DisclaimerContent=X;exports.DisclaimerLabel=K;exports.DisclaimerText=Y;exports.DisclaimerTrigger=U;exports.DynamicComponent=Be;exports.ExampleQuestion=de;exports.ExampleQuestionButton=se;exports.ExampleQuestions=ee;exports.ExampleQuestionsLabel=te;exports.ExampleQuestionsList=ae;exports.FeedbackForm=aa;exports.FeedbackItem=da;exports.FeedbackItemCheckbox=sa;exports.FeedbackItemCheckboxIndicator=ra;exports.FeedbackItemDescription=ma;exports.FeedbackItemLabel=oa;exports.FeedbackModal=Ut;exports.FeedbackModalBody=ta;exports.FeedbackModalClose=ea;exports.FeedbackModalContent=Yt;exports.FeedbackModalHeader=Zt;exports.FeedbackModalOverlay=Xt;exports.FeedbackSubmitButton=na;exports.Footer=Ue;exports.Form=ca;exports.FormCancel=La;exports.FormClose=la;exports.FormContent=pa;exports.FormDescription=xa;exports.FormError=Ta;exports.FormField=Ca;exports.FormFieldCheckbox=Fa;exports.FormFieldCheckboxIndicator=Aa;exports.FormFieldEmail=ga;exports.FormFieldError=Sa;exports.FormFieldFile=va;exports.FormFieldLabel=ua;exports.FormFieldSelect=ka;exports.FormFieldSelectContent=ja;exports.FormFieldSelectIcon=Ma;exports.FormFieldSelectItem=Na;exports.FormFieldSelectItemIndicator=Ba;exports.FormFieldSelectItemText=Ia;exports.FormFieldSelectTrigger=wa;exports.FormFieldSelectValue=Pa;exports.FormFieldSelectViewport=ya;exports.FormFieldText=Ea;exports.FormFieldTextArea=fa;exports.FormFooter=Ha;exports.FormHeader=ha;exports.FormHeading=ba;exports.FormSubmit=Da;exports.FormSuccess=Wa;exports.FormSuccessButton=za;exports.FormSuccessHeading=_a;exports.FormSuccessMessage=qa;exports.FormWrapper=ia;exports.Header=W;exports.HeaderToolbar=_;exports.HeaderToolbarWrapper=q;exports.HelpAction=Ot;exports.HelpActions=Rt;exports.HelpActionsMenu=Gt;exports.HelpActionsMenuArrow=$t;exports.HelpActionsMenuItem=Jt;exports.HelpActionsMenuItemIcon=Kt;exports.HelpActionsTrigger=Vt;exports.Input=Ze;exports.InputFieldset=Xe;exports.InputGroup=Ye;exports.IntroMessageWrapper=le;exports.Markdown=Se;exports.MessageAction=De;exports.MessageAnnotationAction=Le;exports.MessageAnnotationActions=He;exports.MessageAttachments=fe;exports.MessageAttachmentsItem=Ae;exports.MessageAttachmentsItemIcon=ke;exports.MessageAttachmentsItemTitle=we;exports.MessageAttachmentsList=Fe;exports.MessageAttachmentsPreview=Pe;exports.MessageAttachmentsPreviewBody=Ie;exports.MessageAttachmentsPreviewClose=Ne;exports.MessageAttachmentsPreviewContent=je;exports.MessageAttachmentsPreviewHeader=ye;exports.MessageAttachmentsPreviewOverlay=Me;exports.MessageAvatar=xe;exports.MessageAvatarContent=pe;exports.MessageAvatarFallback=Ce;exports.MessageAvatarImage=ue;exports.MessageContent=ve;exports.MessageContentWrapper=ge;exports.MessageHeader=he;exports.MessageLoading=be;exports.MessageName=Ee;exports.MessageSourceItem=ze;exports.MessageSourceItemBreadcrumbIcon=Re;exports.MessageSourceItemBreadcrumbs=Qe;exports.MessageSourceItemDescription=$e;exports.MessageSourceItemDescriptionPart=Je;exports.MessageSourceItemIcon=Oe;exports.MessageSourceItemIndicator=Ke;exports.MessageSourceItemTag=Ge;exports.MessageSourceItemTitle=Ve;exports.MessageSources=We;exports.MessageSourcesHeader=_e;exports.MessageSourcesList=qe;exports.MessageToolbar=Te;exports.MessageWrapper=ce;exports.Messages=ie;exports.Provider=H;exports.Root=D;exports.SendButton=et;exports.SendButtonIcon=tt;exports.TaglineBrandName=_t;exports.TaglineContainer=Lt;exports.TaglineLogo=Wt;exports.TaglineText=Dt;exports.ToolbarHeader=z;exports.Workflow=ne;exports.Workflows=re;exports.WorkflowsLabel=oe;exports.WorkflowsList=me;exports.Wrapper=L;
|