@gooddata/sdk-ui-gen-ai 11.52.0 → 11.53.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/NOTICE +59 -9
  2. package/esm/components/ConfigContext.d.ts +1 -0
  3. package/esm/components/ConfigContext.d.ts.map +1 -1
  4. package/esm/components/GenAIChat.d.ts.map +1 -1
  5. package/esm/components/GenAIChat.js +2 -2
  6. package/esm/components/GenAiStore.d.ts +9 -0
  7. package/esm/components/GenAiStore.d.ts.map +1 -1
  8. package/esm/components/GenAiStore.js +2 -1
  9. package/esm/components/intelligence/GenAiInteractionIntelligence.d.ts +21 -0
  10. package/esm/components/intelligence/GenAiInteractionIntelligence.d.ts.map +1 -0
  11. package/esm/components/intelligence/GenAiInteractionIntelligence.js +57 -0
  12. package/esm/components/intelligence/InteractionIntelligenceTrigger.d.ts +15 -0
  13. package/esm/components/intelligence/InteractionIntelligenceTrigger.d.ts.map +1 -0
  14. package/esm/components/intelligence/InteractionIntelligenceTrigger.js +19 -0
  15. package/esm/components/intelligence/data/categoryDetailRows.d.ts +12 -0
  16. package/esm/components/intelligence/data/categoryDetailRows.d.ts.map +1 -0
  17. package/esm/components/intelligence/data/categoryDetailRows.js +206 -0
  18. package/esm/components/intelligence/data/constants.d.ts +22 -0
  19. package/esm/components/intelligence/data/constants.d.ts.map +1 -0
  20. package/esm/components/intelligence/data/constants.js +27 -0
  21. package/esm/components/intelligence/data/deriveInteractionIntelligenceFromSteps.d.ts +23 -0
  22. package/esm/components/intelligence/data/deriveInteractionIntelligenceFromSteps.d.ts.map +1 -0
  23. package/esm/components/intelligence/data/deriveInteractionIntelligenceFromSteps.js +109 -0
  24. package/esm/components/intelligence/data/mergeDetailRows.d.ts +15 -0
  25. package/esm/components/intelligence/data/mergeDetailRows.d.ts.map +1 -0
  26. package/esm/components/intelligence/data/mergeDetailRows.js +91 -0
  27. package/esm/components/intelligence/data/timeline.d.ts +18 -0
  28. package/esm/components/intelligence/data/timeline.d.ts.map +1 -0
  29. package/esm/components/intelligence/data/timeline.js +40 -0
  30. package/esm/components/intelligence/data/types.d.ts +159 -0
  31. package/esm/components/intelligence/data/types.d.ts.map +1 -0
  32. package/esm/components/intelligence/data/types.js +2 -0
  33. package/esm/components/intelligence/data/useInteractionIntelligenceData.d.ts +9 -0
  34. package/esm/components/intelligence/data/useInteractionIntelligenceData.d.ts.map +1 -0
  35. package/esm/components/intelligence/data/useInteractionIntelligenceData.js +20 -0
  36. package/esm/components/intelligence/data/useInteractionIntelligenceTotals.d.ts +9 -0
  37. package/esm/components/intelligence/data/useInteractionIntelligenceTotals.d.ts.map +1 -0
  38. package/esm/components/intelligence/data/useInteractionIntelligenceTotals.js +20 -0
  39. package/esm/components/intelligence/detail/DetailRowValue.d.ts +10 -0
  40. package/esm/components/intelligence/detail/DetailRowValue.d.ts.map +1 -0
  41. package/esm/components/intelligence/detail/DetailRowValue.js +23 -0
  42. package/esm/components/intelligence/detail/IntelligenceCategoryDetail.d.ts +17 -0
  43. package/esm/components/intelligence/detail/IntelligenceCategoryDetail.d.ts.map +1 -0
  44. package/esm/components/intelligence/detail/IntelligenceCategoryDetail.js +21 -0
  45. package/esm/components/intelligence/detail/IntelligenceDetailHeader.d.ts +12 -0
  46. package/esm/components/intelligence/detail/IntelligenceDetailHeader.d.ts.map +1 -0
  47. package/esm/components/intelligence/detail/IntelligenceDetailHeader.js +19 -0
  48. package/esm/components/intelligence/detail/IntelligenceDetailRows.d.ts +11 -0
  49. package/esm/components/intelligence/detail/IntelligenceDetailRows.d.ts.map +1 -0
  50. package/esm/components/intelligence/detail/IntelligenceDetailRows.js +16 -0
  51. package/esm/components/intelligence/detail/IntelligenceStepCarousel.d.ts +12 -0
  52. package/esm/components/intelligence/detail/IntelligenceStepCarousel.d.ts.map +1 -0
  53. package/esm/components/intelligence/detail/IntelligenceStepCarousel.js +21 -0
  54. package/esm/components/intelligence/format/formatDuration.d.ts +23 -0
  55. package/esm/components/intelligence/format/formatDuration.d.ts.map +1 -0
  56. package/esm/components/intelligence/format/formatDuration.js +38 -0
  57. package/esm/components/intelligence/format/formatTokens.d.ts +8 -0
  58. package/esm/components/intelligence/format/formatTokens.d.ts.map +1 -0
  59. package/esm/components/intelligence/format/formatTokens.js +10 -0
  60. package/esm/components/intelligence/format/resolveMessage.d.ts +9 -0
  61. package/esm/components/intelligence/format/resolveMessage.d.ts.map +1 -0
  62. package/esm/components/intelligence/format/resolveMessage.js +10 -0
  63. package/esm/components/intelligence/intelligenceBem.d.ts +7 -0
  64. package/esm/components/intelligence/intelligenceBem.d.ts.map +1 -0
  65. package/esm/components/intelligence/intelligenceBem.js +8 -0
  66. package/esm/components/intelligence/panel/IconCircle.d.ts +10 -0
  67. package/esm/components/intelligence/panel/IconCircle.d.ts.map +1 -0
  68. package/esm/components/intelligence/panel/IconCircle.js +12 -0
  69. package/esm/components/intelligence/panel/IntelligenceCategoryList.d.ts +13 -0
  70. package/esm/components/intelligence/panel/IntelligenceCategoryList.d.ts.map +1 -0
  71. package/esm/components/intelligence/panel/IntelligenceCategoryList.js +10 -0
  72. package/esm/components/intelligence/panel/IntelligenceCategoryRow.d.ts +14 -0
  73. package/esm/components/intelligence/panel/IntelligenceCategoryRow.d.ts.map +1 -0
  74. package/esm/components/intelligence/panel/IntelligenceCategoryRow.js +19 -0
  75. package/esm/components/intelligence/panel/IntelligenceDurationTokens.d.ts +12 -0
  76. package/esm/components/intelligence/panel/IntelligenceDurationTokens.d.ts.map +1 -0
  77. package/esm/components/intelligence/panel/IntelligenceDurationTokens.js +19 -0
  78. package/esm/components/intelligence/panel/IntelligenceFooter.d.ts +10 -0
  79. package/esm/components/intelligence/panel/IntelligenceFooter.d.ts.map +1 -0
  80. package/esm/components/intelligence/panel/IntelligenceFooter.js +20 -0
  81. package/esm/components/intelligence/panel/IntelligenceHeader.d.ts +8 -0
  82. package/esm/components/intelligence/panel/IntelligenceHeader.d.ts.map +1 -0
  83. package/esm/components/intelligence/panel/IntelligenceHeader.js +15 -0
  84. package/esm/components/intelligence/panel/IntelligenceStepTooltip.d.ts +12 -0
  85. package/esm/components/intelligence/panel/IntelligenceStepTooltip.d.ts.map +1 -0
  86. package/esm/components/intelligence/panel/IntelligenceStepTooltip.js +18 -0
  87. package/esm/components/intelligence/panel/IntelligenceTimeline.d.ts +15 -0
  88. package/esm/components/intelligence/panel/IntelligenceTimeline.d.ts.map +1 -0
  89. package/esm/components/intelligence/panel/IntelligenceTimeline.js +16 -0
  90. package/esm/components/intelligence/panel/TimelineBar.d.ts +19 -0
  91. package/esm/components/intelligence/panel/TimelineBar.d.ts.map +1 -0
  92. package/esm/components/intelligence/panel/TimelineBar.js +34 -0
  93. package/esm/components/messages/AssistantItem.d.ts.map +1 -1
  94. package/esm/components/messages/AssistantItem.js +15 -1
  95. package/esm/components/messages/AssistantItemFeedback.d.ts +6 -1
  96. package/esm/components/messages/AssistantItemFeedback.d.ts.map +1 -1
  97. package/esm/components/messages/AssistantItemFeedback.js +9 -2
  98. package/esm/components/messages/ConversationItemContents.d.ts.map +1 -1
  99. package/esm/components/messages/ConversationItemContents.js +1 -1
  100. package/esm/components/messages/conversationContents/ConversationDashboardContent.d.ts +2 -1
  101. package/esm/components/messages/conversationContents/ConversationDashboardContent.d.ts.map +1 -1
  102. package/esm/components/messages/conversationContents/ConversationDashboardContent.js +3 -2
  103. package/esm/context/dashboard.d.ts +2 -2
  104. package/esm/context/dashboard.d.ts.map +1 -1
  105. package/esm/context/dashboard.js +5 -2
  106. package/esm/hooks/useGenAIStore.d.ts +1 -0
  107. package/esm/hooks/useGenAIStore.d.ts.map +1 -1
  108. package/esm/hooks/useGenAIStore.js +3 -3
  109. package/esm/index.d.ts +2 -0
  110. package/esm/index.d.ts.map +1 -1
  111. package/esm/index.js +2 -0
  112. package/esm/localization/bundles/en-US.localization-bundle.d.ts +184 -0
  113. package/esm/localization/bundles/en-US.localization-bundle.d.ts.map +1 -1
  114. package/esm/localization/bundles/en-US.localization-bundle.js +184 -0
  115. package/esm/sdk-ui-gen-ai.d.ts +37 -0
  116. package/esm/store/chatWindow/chatWindowSelectors.d.ts +2 -0
  117. package/esm/store/chatWindow/chatWindowSelectors.d.ts.map +1 -1
  118. package/esm/store/chatWindow/chatWindowSelectors.js +5 -0
  119. package/esm/store/chatWindow/chatWindowSlice.d.ts +7 -1
  120. package/esm/store/chatWindow/chatWindowSlice.d.ts.map +1 -1
  121. package/esm/store/chatWindow/chatWindowSlice.js +3 -1
  122. package/esm/store/messages/messagesSelectors.d.ts +6 -0
  123. package/esm/store/messages/messagesSelectors.d.ts.map +1 -1
  124. package/esm/store/messages/messagesSelectors.js +9 -0
  125. package/esm/store/messages/messagesSlice.d.ts +11 -3
  126. package/esm/store/messages/messagesSlice.d.ts.map +1 -1
  127. package/esm/store/messages/messagesSlice.js +34 -1
  128. package/esm/store/sideEffects/onUserMessage.d.ts.map +1 -1
  129. package/esm/store/sideEffects/onUserMessage.js +40 -6
  130. package/esm/store/store.d.ts +1 -1
  131. package/esm/store/store.d.ts.map +1 -1
  132. package/esm/store/store.js +2 -2
  133. package/esm/types.d.ts +33 -1
  134. package/esm/types.d.ts.map +1 -1
  135. package/package.json +20 -20
  136. package/styles/css/intelligence.css +302 -0
  137. package/styles/css/intelligence.css.map +1 -0
  138. package/styles/css/main.css +306 -1
  139. package/styles/css/main.css.map +1 -1
  140. package/styles/css/messages.css +5 -1
  141. package/styles/css/messages.css.map +1 -1
  142. package/styles/scss/intelligence.scss +330 -0
  143. package/styles/scss/main.scss +1 -0
  144. package/styles/scss/messages.scss +10 -1
@@ -1,8 +1,14 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // (C) 2024-2026 GoodData Corporation
3
+ import { useState } from "react";
3
4
  import cx from "classnames";
4
5
  import { useIntl } from "react-intl";
6
+ import { useSelector } from "react-redux";
7
+ import { interactionIntelligenceEnabledSelector } from "../../store/chatWindow/chatWindowSelectors.js";
5
8
  import { useToolsReferences } from "../completion/useToolsReferences.js";
9
+ import { useInteractionIntelligenceTotals } from "../intelligence/data/useInteractionIntelligenceTotals.js";
10
+ import { GenAiInteractionIntelligence } from "../intelligence/GenAiInteractionIntelligence.js";
11
+ import { InteractionIntelligenceTrigger } from "../intelligence/InteractionIntelligenceTrigger.js";
6
12
  import { AssistantItemFeedback } from "./AssistantItemFeedback.js";
7
13
  import { AssistantItemSuggestions } from "./AssistantItemSuggestions.js";
8
14
  import { ReasoningIcon } from "./contents/ReasoningIcon.js";
@@ -13,6 +19,13 @@ export function AssistantItemComponent({ message, groups, isLast }) {
13
19
  const group = groups[groups.length - 1];
14
20
  const messageState = getItemState(message);
15
21
  const references = useToolsReferences(groups);
22
+ const [isInteractionIntelligenceOpen, setIsInteractionIntelligenceOpen] = useState(false);
23
+ const interactionIntelligenceEnabled = useSelector(interactionIntelligenceEnabledSelector);
24
+ const showInteractionIntelligence = interactionIntelligenceEnabled && !!message.responseId;
25
+ const interactionIntelligenceTotals = useInteractionIntelligenceTotals(showInteractionIntelligence ? message.responseId : "");
26
+ // The trigger only renders once its totals exist, so this is what actually shares the actions
27
+ // row with feedback — a message with no trace keeps its feedback exactly as before.
28
+ const hasInteractionIntelligenceTrigger = showInteractionIntelligence && !!interactionIntelligenceTotals;
16
29
  const classNames = cx("gd-gen-ai-chat__messages__conversation", "gd-gen-ai-chat__messages__conversation--assistant", `gd-gen-ai-chat__messages__conversation--${message.content.type}`, messageState === "cancelled" && "gd-gen-ai-chat__messages__conversation--cancelled", isLast && "gd-gen-ai-chat__messages__conversation--isLast");
17
30
  //NOTE: For now we want to hide all tool calls
18
31
  if (message.content.type === "toolCall" || message.content.type === "toolResult") {
@@ -23,6 +36,7 @@ export function AssistantItemComponent({ message, groups, isLast }) {
23
36
  return null;
24
37
  }
25
38
  return (_jsxs("div", { className: classNames, "data-state": messageState, "data-testid": "gen-ai-conversation-assistant-message", children: [
26
- _jsx("span", { className: "gd-gen-ai-chat__visually__hidden", children: intl.formatMessage({ id: "gd.gen-ai.message.label.assistant" }) }), _jsx(ReasoningIcon, { content: message.content }), _jsx(ConversationItemContents, { role: "assistant", message: message, references: references, isLoading: messageState === "loading", isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "followUp", content: message.content, showSuggestions: true, references: references }), _jsx(AssistantItemFeedback, { group: group, message: message, isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "actions", content: message.content, showSuggestions: isLast })
39
+ _jsx("span", { className: "gd-gen-ai-chat__visually__hidden", children: intl.formatMessage({ id: "gd.gen-ai.message.label.assistant" }) }), _jsx(ReasoningIcon, { content: message.content }), _jsx(ConversationItemContents, { role: "assistant", message: message, references: references, isLoading: messageState === "loading", isLast: isLast }), _jsx(AssistantItemSuggestions, { type: "followUp", content: message.content, showSuggestions: true, references: references }), _jsxs("div", { className: "gd-gen-ai-chat__conversation__item__actions", children: [
40
+ _jsx(AssistantItemFeedback, { group: group, message: message, isLast: isLast, hasInteractionIntelligenceTrigger: hasInteractionIntelligenceTrigger }), showInteractionIntelligence ? (_jsx(InteractionIntelligenceTrigger, { totals: interactionIntelligenceTotals, isOpen: isInteractionIntelligenceOpen, onToggle: () => setIsInteractionIntelligenceOpen((current) => !current) })) : null] }), showInteractionIntelligence && isInteractionIntelligenceOpen ? (_jsx(GenAiInteractionIntelligence, { responseId: message.responseId, onClose: () => setIsInteractionIntelligenceOpen(false) })) : null, _jsx(AssistantItemSuggestions, { type: "actions", content: message.content, showSuggestions: isLast })
27
41
  ] }));
28
42
  }
@@ -4,6 +4,11 @@ export interface IAssistantItemFeedbackProps {
4
4
  group: IChatMessagesGroup;
5
5
  message: IChatConversationLocalItem;
6
6
  isLast?: boolean;
7
+ /**
8
+ * Whether the Interaction Intelligence trigger actually shares this actions row. With it,
9
+ * feedback stops being hover-revealed on older messages so the trigger sits flush left.
10
+ */
11
+ hasInteractionIntelligenceTrigger?: boolean;
7
12
  }
8
- export declare function AssistantItemFeedback({ message, group, isLast }: IAssistantItemFeedbackProps): import("react/jsx-runtime").JSX.Element | null;
13
+ export declare function AssistantItemFeedback({ message, group, isLast, hasInteractionIntelligenceTrigger }: IAssistantItemFeedbackProps): import("react/jsx-runtime").JSX.Element | null;
9
14
  //# sourceMappingURL=AssistantItemFeedback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssistantItemFeedback.d.ts","sourceRoot":"","sources":["../../../src/components/messages/AssistantItemFeedback.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAKnE,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,kBAAkB,CAAC;IAC1B,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,2BAA2B,kDA8E5F"}
1
+ {"version":3,"file":"AssistantItemFeedback.d.ts","sourceRoot":"","sources":["../../../src/components/messages/AssistantItemFeedback.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAKnE,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,kBAAkB,CAAC;IAC1B,OAAO,EAAE,0BAA0B,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAC;CAC/C;AAED,wBAAgB,qBAAqB,CAAC,EAClC,OAAO,EACP,KAAK,EACL,MAAM,EACN,iCAAiC,EACpC,EAAE,2BAA2B,kDAsF7B"}
@@ -8,7 +8,7 @@ import { UiIconButton, UiTooltip } from "@gooddata/sdk-ui-kit";
8
8
  import { setUserFeedback } from "../../store/messages/messagesSlice.js";
9
9
  import { FeedbackPopup } from "./FeedbackPopup.js";
10
10
  import { useUserFeedback } from "./useUserFeedback.js";
11
- export function AssistantItemFeedback({ message, group, isLast }) {
11
+ export function AssistantItemFeedback({ message, group, isLast, hasInteractionIntelligenceTrigger, }) {
12
12
  const intl = useIntl();
13
13
  const dispatch = useDispatch();
14
14
  const setUserFeedbackAction = useCallback((payload) => {
@@ -24,9 +24,16 @@ export function AssistantItemFeedback({ message, group, isLast }) {
24
24
  const thumbsUpLabel = intl.formatMessage({ id: "gd.gen-ai.feedback.like" });
25
25
  const thumbsDownLabel = intl.formatMessage({ id: "gd.gen-ai.feedback.dislike" });
26
26
  const type = message.feedback?.feedback;
27
+ const isAssigned = type ? type !== "NONE" : false;
28
+ // With the Interaction Intelligence trigger sharing this row, feedback is fully hidden on
29
+ // older unrated messages instead of hover-revealed, so the trigger isn't pushed away from
30
+ // the left edge.
31
+ if (hasInteractionIntelligenceTrigger && !isLast && !isAssigned) {
32
+ return null;
33
+ }
27
34
  return (_jsxs("div", { className: cx({
28
35
  "gd-gen-ai-chat__conversation__item__feedback": true,
29
- "gd-gen-ai-chat__conversation__item__feedback--assigned": type ? type !== "NONE" : false,
36
+ "gd-gen-ai-chat__conversation__item__feedback--assigned": isAssigned,
30
37
  "gd-gen-ai-chat__conversation__item__feedback--last": isLast,
31
38
  }), children: [
32
39
  _jsx(UiTooltip, { triggerBy: ["focus", "hover"], arrowPlacement: "bottom", anchor: _jsx(UiIconButton, { icon: "thumbsUp", variant: "tertiary", size: "small", isActive: type === "POSITIVE", onClick: handlePositiveFeedbackClick, accessibilityConfig: {
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationItemContents.d.ts","sourceRoot":"","sources":["../../../src/components/messages/ConversationItemContents.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGH,KAAK,0BAA0B,EAE/B,KAAK,iBAAiB,EACzB,MAAM,gBAAgB,CAAC;AAexB,KAAK,6BAA6B,GAAG;IACjC,OAAO,EAAE,0BAA0B,CAAC;IACpC,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,6BAA6B,kDAwIzG"}
1
+ {"version":3,"file":"ConversationItemContents.d.ts","sourceRoot":"","sources":["../../../src/components/messages/ConversationItemContents.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGH,KAAK,0BAA0B,EAE/B,KAAK,iBAAiB,EACzB,MAAM,gBAAgB,CAAC;AAexB,KAAK,6BAA6B,GAAG;IACjC,OAAO,EAAE,0BAA0B,CAAC;IACpC,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,6BAA6B,kDAyIzG"}
@@ -47,7 +47,7 @@ export function ConversationItemContents({ message, references, isLoading }) {
47
47
  return (_jsx(ConversationWhatIfContent, { message: message, part: part, whatIf: whatIf }, index));
48
48
  }
49
49
  if (part.type === "dashboard") {
50
- return (_jsx(ConversationDashboardContent, { message: message, part: part, dashboard: part.dashboard, saved: part.saved }, index));
50
+ return (_jsx(ConversationDashboardContent, { message: message, part: part, dashboard: part.dashboard, insights: part.insights, saved: part.saved }, index));
51
51
  }
52
52
  // Add more multipart types if needed
53
53
  return null;
@@ -1,9 +1,10 @@
1
- import type { IDashboard } from "@gooddata/sdk-model";
1
+ import type { IDashboard, IInsight } from "@gooddata/sdk-model";
2
2
  import type { IChatConversationLocalItem, IChatConversationMultipartLocalPart } from "../../../model.js";
3
3
  export type ConversationDashboardContentProps = {
4
4
  message: IChatConversationLocalItem;
5
5
  part: IChatConversationMultipartLocalPart;
6
6
  dashboard?: IDashboard | null;
7
+ insights?: IInsight[] | null;
7
8
  saved?: boolean;
8
9
  className?: string;
9
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationDashboardContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationDashboardContent.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAItD,OAAO,KAAK,EAAE,0BAA0B,EAAE,mCAAmC,EAAE,MAAM,mBAAmB,CAAC;AAKzG,MAAM,MAAM,iCAAiC,GAAG;IAC5C,OAAO,EAAE,0BAA0B,CAAC;IACpC,IAAI,EAAE,mCAAmC,CAAC;IAC1C,SAAS,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,iCAAiC,kDAsGpF"}
1
+ {"version":3,"file":"ConversationDashboardContent.d.ts","sourceRoot":"","sources":["../../../../src/components/messages/conversationContents/ConversationDashboardContent.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAIhE,OAAO,KAAK,EAAE,0BAA0B,EAAE,mCAAmC,EAAE,MAAM,mBAAmB,CAAC;AAKzG,MAAM,MAAM,iCAAiC,GAAG;IAC5C,OAAO,EAAE,0BAA0B,CAAC;IACpC,IAAI,EAAE,mCAAmC,CAAC;IAC1C,SAAS,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,iCAAiC,kDAuGpF"}
@@ -10,7 +10,7 @@ import { settingsSelector } from "../../../store/chatWindow/chatWindowSelectors.
10
10
  import { getDashboardHref } from "../../../utils.js";
11
11
  import { useConfig } from "../../ConfigContext.js";
12
12
  export function ConversationDashboardContent(props) {
13
- const { className, dashboard, saved } = props;
13
+ const { className, dashboard, insights, saved } = props;
14
14
  const intl = useIntl();
15
15
  const config = useConfig();
16
16
  const workspaceId = useWorkspaceStrict();
@@ -33,11 +33,12 @@ export function ConversationDashboardContent(props) {
33
33
  preventDefault: e.preventDefault.bind(e),
34
34
  itemUrl: getDashboardHref(workspaceId, dashboard.identifier, dashboardStatus, useHostedDashboards),
35
35
  dashboard,
36
+ insights: insights ?? [],
36
37
  dashboardStatus,
37
38
  });
38
39
  }
39
40
  };
40
- }, [dashboard, config, workspaceId, useHostedDashboards, saved]);
41
+ }, [dashboard, insights, config, workspaceId, useHostedDashboards, saved]);
41
42
  const classNames = cx("gd-gen-ai-chat__conversation__item__content", "gd-gen-ai-chat__conversation__item__content--dashboard", className);
42
43
  if (!dashboard) {
43
44
  return null;
@@ -1,8 +1,8 @@
1
- import { type FilterContextItem, type GenAIUserContextFilter, type IAttributeDisplayFormMetadataObject, type IGenAIDashboardContext, type IGenAIObjectReference, type IGenAIUserContext, type IGenAIWidgetDescriptor, type IWidget, type ObjRef } from "@gooddata/sdk-model";
1
+ import { type FilterContextItem, type GenAIUserContextFilter, type IAttributeDisplayFormMetadataObject, type IDashboardDefinition, type IGenAIDashboardContext, type IGenAIObjectReference, type IGenAIUserContext, type IGenAIWidgetDescriptor, type IWidget, type ObjRef } from "@gooddata/sdk-model";
2
2
  /**
3
3
  * @internal
4
4
  */
5
- export declare function buildDashboardContext(dashboard: IGenAIDashboardContext): IGenAIUserContext;
5
+ export declare function buildDashboardContext(dashboard: Omit<IGenAIDashboardContext, "definition">, definition?: IDashboardDefinition): IGenAIUserContext;
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/context/dashboard.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,mCAAmC,EACxC,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAEtB,KAAK,sBAAsB,EAC3B,KAAK,OAAO,EACZ,KAAK,MAAM,EASd,MAAM,qBAAqB,CAAC;AAM7B;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,sBAAsB,GAAG,iBAAiB,CAM1F;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAC9B,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,SAAS,GAAG,uBAAuB,GAAG,UAAU,EAC5D,KAAK,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,OAAO,GAAG,WAAW,GAAG,YAAY,CAAC,CAAC,GACpF,sBAAsB,CAOxB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,iBAAiB,EAAE,EAC5B,YAAY,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,mCAAmC,CAAC,EAAE,KAAK,CAAC,GAC7E,sBAAsB,EAAE,CA2E1B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAC/B,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,GAAG,SAAS,EACpE,YAAY,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC,EACtE,yCAAyC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACnE;IAAE,OAA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AAE,QAAQ,GAAG,KAAK,CAAC,EACtE,yCAAyC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACnE;IAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC;IAAC,iBAAiB,EAAE,qBAAqB,EAAE,CAAA;CAAE,CAuEnF"}
@@ -6,10 +6,13 @@ import { buildContext } from "./build.js";
6
6
  /**
7
7
  * @internal
8
8
  */
9
- export function buildDashboardContext(dashboard) {
9
+ export function buildDashboardContext(dashboard, definition) {
10
10
  return buildContext({
11
11
  view: {
12
- dashboard,
12
+ dashboard: {
13
+ ...dashboard,
14
+ ...(definition ? { definition } : {}),
15
+ },
13
16
  },
14
17
  });
15
18
  }
@@ -11,6 +11,7 @@ export declare const useGenAIStore: (backend: IAnalyticalBackend, workspace: str
11
11
  excludeTags?: string[] | undefined;
12
12
  catalogItems?: CatalogItem[] | undefined;
13
13
  isPreview?: boolean | undefined;
14
+ allowInteractionIntelligence?: boolean | undefined;
14
15
  onLinkClick?: ((linkClickEvent: LinkHandlerEvent) => string | undefined) | undefined;
15
16
  allowNativeLinks?: boolean | undefined;
16
17
  mode?: GenAIAssistantMode | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useGenAIStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useGenAIStore.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEjG,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAU3F,OAAO,EAAE,KAAK,gBAAgB,EAAmB,MAAM,oBAAoB,CAAC;AAI5E,eAAO,MAAM,aAAa;;;;;;;;;;;;wEAuHzB,CAAC"}
1
+ {"version":3,"file":"useGenAIStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useGenAIStore.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEjG,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAU3F,OAAO,EAAE,KAAK,gBAAgB,EAAmB,MAAM,oBAAoB,CAAC;AAI5E,eAAO,MAAM,aAAa;;;;;;;;;;;;;wEAgIzB,CAAC"}
@@ -5,7 +5,7 @@ import { EventDispatcher } from "../store/events.js";
5
5
  import { OptionsDispatcher } from "../store/options.js";
6
6
  import { getStore } from "../store/store.js";
7
7
  export const useGenAIStore = (backend, workspace, opts) => {
8
- const { eventHandlers, colorPalette, settings, objectTypes, includeTags, excludeTags, catalogItems, isPreview, onLinkClick, allowNativeLinks, mode, } = opts;
8
+ const { eventHandlers, colorPalette, settings, objectTypes, includeTags, excludeTags, catalogItems, isPreview, allowInteractionIntelligence, onLinkClick, allowNativeLinks, mode, } = opts;
9
9
  // Instantiate EventDispatcher. It's a designed to hold a reference to the handlers, so that
10
10
  // we don't update the context every time a new array of handlers is passed.
11
11
  // Similar to how React handles event listeners.
@@ -15,8 +15,8 @@ export const useGenAIStore = (backend, workspace, opts) => {
15
15
  // Initialize new Redux Store for each instance of GenAI Chat
16
16
  // It OK to discard the store when backend or workspace changes
17
17
  const store = useMemo(() => {
18
- return getStore(backend, workspace, eventDispatcher, optionsDispatcher, isPreview);
19
- }, [backend, workspace, eventDispatcher, optionsDispatcher, isPreview]);
18
+ return getStore(backend, workspace, eventDispatcher, optionsDispatcher, isPreview, allowInteractionIntelligence);
19
+ }, [backend, workspace, eventDispatcher, optionsDispatcher, isPreview, allowInteractionIntelligence]);
20
20
  useEffect(() => {
21
21
  if (colorPalette) {
22
22
  optionsDispatcher.setColorPalette(colorPalette);
package/esm/index.d.ts CHANGED
@@ -12,6 +12,8 @@ export { clearThreadAction, newMessageAction, startNewConversationAction, setCur
12
12
  export { setFullscreenAction, setUserContextAction, setAmbientUserContextAction, } from "./store/chatWindow/chatWindowSlice.js";
13
13
  export { type LinkHandlerEvent, type GenAIAssistantMode } from "./components/ConfigContext.js";
14
14
  export { useGenAiChatAvailability } from "./hooks/useGenAiChatAvailability.js";
15
+ export { GenAiInteractionIntelligence, type IGenAiInteractionIntelligenceProps, } from "./components/intelligence/GenAiInteractionIntelligence.js";
16
+ export { type InteractionIntelligenceMode } from "./components/intelligence/data/types.js";
15
17
  export { DefaultLandingScreen, type LandingScreenProps } from "./components/customized/LandingScreen.js";
16
18
  export { DefaultLandingTitle, DefaultLandingTitleAscent, type ILandingTitleProps, } from "./components/customized/LandingTitle.js";
17
19
  export { DefaultLandingQuestion, type ILandingQuestionProps, } from "./components/customized/LandingQuestion.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AAEH,OAAO,EACH,SAAS,EACT,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,mBAAmB,GAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AACtG,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EACH,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,qBAAq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,CAAC;AAC3C,OAAO,EACH,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,GAC9B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAI/E,OAAO,EACH,4BAA4B,EAC5B,KAAK,kCAAkC,GAC1C,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,KAAK,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AAI3F,OAAO,EAAE,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACzG,OAAO,EACH,mBAAmB,EACnB,yBAAyB,EACzB,KAAK,kBAAkB,GAC1B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACH,sBAAsB,EACtB,KAAK,qBAAqB,GAC7B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACH,uBAAuB,EACvB,uBAAuB,EACvB,KAAK,oBAAoB,GAC5B,MAAM,6CAA6C,CAAC"}
package/esm/index.js CHANGED
@@ -13,6 +13,8 @@ export { isChatAssistantMessageEvent, isChatUserMessageEvent, isChatClosedEvent,
13
13
  export { clearThreadAction, newMessageAction, startNewConversationAction, setCurrentConversationAction, setSelectedAgentAction, } from "./store/messages/messagesSlice.js";
14
14
  export { setFullscreenAction, setUserContextAction, setAmbientUserContextAction, } from "./store/chatWindow/chatWindowSlice.js";
15
15
  export { useGenAiChatAvailability } from "./hooks/useGenAiChatAvailability.js";
16
+ //interaction intelligence
17
+ export { GenAiInteractionIntelligence, } from "./components/intelligence/GenAiInteractionIntelligence.js";
16
18
  //customization
17
19
  export { DefaultLandingScreen } from "./components/customized/LandingScreen.js";
18
20
  export { DefaultLandingTitle, DefaultLandingTitleAscent, } from "./components/customized/LandingTitle.js";
@@ -779,6 +779,190 @@ export declare const en_US: {
779
779
  text: string;
780
780
  crowdinContext: string;
781
781
  };
782
+ "gd.gen-ai.interactionIntelligence.duration.seconds": {
783
+ text: string;
784
+ crowdinContext: string;
785
+ };
786
+ "gd.gen-ai.interactionIntelligence.duration.minutes": {
787
+ text: string;
788
+ crowdinContext: string;
789
+ };
790
+ "gd.gen-ai.interactionIntelligence.duration.minutesAndSeconds": {
791
+ text: string;
792
+ crowdinContext: string;
793
+ };
794
+ "gd.gen-ai.interactionIntelligence.explain": {
795
+ text: string;
796
+ crowdinContext: string;
797
+ };
798
+ "gd.gen-ai.interactionIntelligence.title": {
799
+ text: string;
800
+ crowdinContext: string;
801
+ };
802
+ "gd.gen-ai.interactionIntelligence.close": {
803
+ text: string;
804
+ crowdinContext: string;
805
+ };
806
+ "gd.gen-ai.interactionIntelligence.back": {
807
+ text: string;
808
+ crowdinContext: string;
809
+ };
810
+ "gd.gen-ai.interactionIntelligence.footer.traceId.label": {
811
+ text: string;
812
+ crowdinContext: string;
813
+ };
814
+ "gd.gen-ai.interactionIntelligence.footer.traceId.tooltip": {
815
+ text: string;
816
+ crowdinContext: string;
817
+ };
818
+ "gd.gen-ai.interactionIntelligence.summary.tokens": {
819
+ text: string;
820
+ crowdinContext: string;
821
+ };
822
+ "gd.gen-ai.interactionIntelligence.pager": {
823
+ text: string;
824
+ crowdinContext: string;
825
+ };
826
+ "gd.gen-ai.interactionIntelligence.pager.previous": {
827
+ text: string;
828
+ crowdinContext: string;
829
+ };
830
+ "gd.gen-ai.interactionIntelligence.pager.next": {
831
+ text: string;
832
+ crowdinContext: string;
833
+ };
834
+ "gd.gen-ai.interactionIntelligence.detail.andMore": {
835
+ text: string;
836
+ crowdinContext: string;
837
+ };
838
+ "gd.gen-ai.interactionIntelligence.tooltip.activity": {
839
+ text: string;
840
+ crowdinContext: string;
841
+ };
842
+ "gd.gen-ai.interactionIntelligence.category.applyMemory": {
843
+ text: string;
844
+ crowdinContext: string;
845
+ };
846
+ "gd.gen-ai.interactionIntelligence.category.catalogSearch": {
847
+ text: string;
848
+ crowdinContext: string;
849
+ };
850
+ "gd.gen-ai.interactionIntelligence.category.knowledgeSearch": {
851
+ text: string;
852
+ crowdinContext: string;
853
+ };
854
+ "gd.gen-ai.interactionIntelligence.category.skillRouting": {
855
+ text: string;
856
+ crowdinContext: string;
857
+ };
858
+ "gd.gen-ai.interactionIntelligence.category.metricQuery": {
859
+ text: string;
860
+ crowdinContext: string;
861
+ };
862
+ "gd.gen-ai.interactionIntelligence.category.composeAnswer": {
863
+ text: string;
864
+ crowdinContext: string;
865
+ };
866
+ "gd.gen-ai.interactionIntelligence.excerpt.found": {
867
+ text: string;
868
+ crowdinContext: string;
869
+ };
870
+ "gd.gen-ai.interactionIntelligence.excerpt.used": {
871
+ text: string;
872
+ crowdinContext: string;
873
+ };
874
+ "gd.gen-ai.interactionIntelligence.excerpt.documents": {
875
+ text: string;
876
+ crowdinContext: string;
877
+ };
878
+ "gd.gen-ai.interactionIntelligence.excerpt.activated": {
879
+ text: string;
880
+ crowdinContext: string;
881
+ };
882
+ "gd.gen-ai.interactionIntelligence.detail.query": {
883
+ text: string;
884
+ crowdinContext: string;
885
+ };
886
+ "gd.gen-ai.interactionIntelligence.detail.documents": {
887
+ text: string;
888
+ crowdinContext: string;
889
+ };
890
+ "gd.gen-ai.interactionIntelligence.detail.bestMatch": {
891
+ text: string;
892
+ crowdinContext: string;
893
+ };
894
+ "gd.gen-ai.interactionIntelligence.detail.available": {
895
+ text: string;
896
+ crowdinContext: string;
897
+ };
898
+ "gd.gen-ai.interactionIntelligence.detail.activated": {
899
+ text: string;
900
+ crowdinContext: string;
901
+ };
902
+ "gd.gen-ai.interactionIntelligence.detail.output": {
903
+ text: string;
904
+ crowdinContext: string;
905
+ };
906
+ "gd.gen-ai.interactionIntelligence.detail.model": {
907
+ text: string;
908
+ crowdinContext: string;
909
+ };
910
+ "gd.gen-ai.interactionIntelligence.detail.suggestedActions": {
911
+ text: string;
912
+ crowdinContext: string;
913
+ };
914
+ "gd.gen-ai.interactionIntelligence.detail.searched": {
915
+ text: string;
916
+ crowdinContext: string;
917
+ };
918
+ "gd.gen-ai.interactionIntelligence.detail.found": {
919
+ text: string;
920
+ crowdinContext: string;
921
+ };
922
+ "gd.gen-ai.interactionIntelligence.detail.used": {
923
+ text: string;
924
+ crowdinContext: string;
925
+ };
926
+ "gd.gen-ai.interactionIntelligence.detail.skillsCount": {
927
+ text: string;
928
+ crowdinContext: string;
929
+ };
930
+ "gd.gen-ai.interactionIntelligence.detail.foundGroup": {
931
+ text: string;
932
+ crowdinContext: string;
933
+ };
934
+ "gd.gen-ai.interactionIntelligence.detail.matchScore": {
935
+ text: string;
936
+ crowdinContext: string;
937
+ };
938
+ "gd.gen-ai.interactionIntelligence.detail.output.text": {
939
+ text: string;
940
+ crowdinContext: string;
941
+ };
942
+ "gd.gen-ai.interactionIntelligence.detail.output.visualization": {
943
+ text: string;
944
+ crowdinContext: string;
945
+ };
946
+ "gd.gen-ai.interactionIntelligence.detail.output.dashboard": {
947
+ text: string;
948
+ crowdinContext: string;
949
+ };
950
+ "gd.gen-ai.interactionIntelligence.detail.output.keyDriverAnalysis": {
951
+ text: string;
952
+ crowdinContext: string;
953
+ };
954
+ "gd.gen-ai.interactionIntelligence.detail.output.whatIf": {
955
+ text: string;
956
+ crowdinContext: string;
957
+ };
958
+ "gd.gen-ai.interactionIntelligence.detail.output.searchResults": {
959
+ text: string;
960
+ crowdinContext: string;
961
+ };
962
+ "gd.gen-ai.interactionIntelligence.detail.output.alertProposal": {
963
+ text: string;
964
+ crowdinContext: string;
965
+ };
782
966
  "drill.kda.from": {
783
967
  text: string;
784
968
  crowdinContext: string;
@@ -1 +1 @@
1
- {"version":3,"file":"en-US.localization-bundle.d.ts","sourceRoot":"","sources":["../../../src/localization/bundles/en-US.localization-bundle.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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