@inkeep/agents-ui 0.15.12 → 0.15.14

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