@flamingo-stack/openframe-frontend-core 0.0.774 → 0.0.776
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-L5CKY5WA.cjs → chunk-24OYQQZC.cjs} +13 -13
- package/dist/{chunk-LEVA5WO3.cjs → chunk-2AZAJ7RK.cjs} +39 -39
- package/dist/{chunk-U332FL4C.cjs → chunk-2MF547RG.cjs} +22 -22
- package/dist/{chunk-HTSRAQVG.cjs → chunk-2YB4X5WT.cjs} +4 -4
- package/dist/{chunk-SWEPHSIP.cjs → chunk-3V27UHSH.cjs} +4 -4
- package/dist/{chunk-EQBJHJS7.cjs → chunk-6HY2NH7D.cjs} +2 -2
- package/dist/{chunk-5Z3XL2VU.cjs → chunk-AMVI5VXM.cjs} +68 -68
- package/dist/{chunk-E5E7IE7X.cjs → chunk-BDYI6HBT.cjs} +12 -12
- package/dist/{chunk-VISK6LKE.cjs → chunk-DDXQGTWB.cjs} +2 -2
- package/dist/{chunk-IQQ3SLUK.cjs → chunk-F65RSJVV.cjs} +17 -17
- package/dist/{chunk-NX7P2T2U.cjs → chunk-IXZNBDXT.cjs} +11 -11
- package/dist/{chunk-KWZ62LPZ.cjs → chunk-KM2TVQCH.cjs} +98 -98
- package/dist/{chunk-Q7EXOVMT.cjs → chunk-L55XLH5A.cjs} +29 -29
- package/dist/{chunk-TOPGBOCN.cjs → chunk-LNCBN4BL.cjs} +2 -2
- package/dist/{chunk-VWUQVJ2D.cjs → chunk-MWH5ZTMB.cjs} +77 -77
- package/dist/{chunk-Y3EBUFX4.cjs → chunk-MYHS4W2H.cjs} +1 -1
- package/dist/{chunk-BTVO676B.cjs → chunk-NWZSYG4S.cjs} +74 -74
- package/dist/{chunk-TUXPFF4P.cjs → chunk-OJLZ7PGO.cjs} +28 -28
- package/dist/{chunk-TTQHSSHF.cjs → chunk-OTZQP53Y.cjs} +3 -3
- package/dist/{chunk-ZHGOXDA3.cjs → chunk-UM6HFGTI.cjs} +64 -57
- package/dist/{chunk-USMR73ND.cjs → chunk-WAQPW4CB.cjs} +4 -4
- package/dist/{chunk-4JZC624S.cjs → chunk-XN6LXMH5.cjs} +174 -173
- package/dist/{chunk-Q6B2DC65.cjs → chunk-XT5WEHFM.cjs} +3 -3
- package/dist/{chunk-UAKXZ2KD.cjs → chunk-YFTQ2ALU.cjs} +37 -37
- package/dist/{chunk-5AOKXXHV.cjs → chunk-Z5KX56TK.cjs} +4 -4
- package/dist/{cloud-tenants-7RNZ6GHM.cjs → cloud-tenants-QFE6QMR5.cjs} +7 -7
- package/dist/components/authors/author-detail-view.d.ts.map +1 -1
- package/dist/components/authors/author-detail-view.js +12 -2
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/use-file-playback.d.ts +6 -4
- package/dist/components/features/use-file-playback.d.ts.map +1 -1
- package/dist/components/features/use-file-playback.js +16 -7
- package/dist/components/help-center-pages/index.cjs +83 -83
- package/dist/components/index.cjs +66 -56
- package/dist/components/meeting-scheduler/index.cjs +37 -37
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/related-content/card-registry.d.ts +5 -0
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/card-registry.js +2 -0
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +11 -6
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/photo-wall.d.ts +9 -1
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +8 -7
- package/dist/{devices-NNDBC6IH.cjs → devices-SFJDLXSW.cjs} +8 -8
- package/dist/{embeddable-chat-DI7ZZTBP.cjs → embeddable-chat-XZUWAK4W.cjs} +73 -73
- package/dist/index.cjs +11 -11
- package/dist/{knowledge-DPUMWQED.cjs → knowledge-SAK3ZGCO.cjs} +8 -8
- package/dist/{logs-EE25MWYM.cjs → logs-CYBGMFA5.cjs} +15 -15
- package/dist/{policies-H5LPZWEM.cjs → policies-XXDOICWF.cjs} +11 -11
- package/dist/{scripts-YGO4LOES.cjs → scripts-C5T2AQPA.cjs} +12 -12
- package/dist/{software-update-5BEB62ZH.cjs → software-update-XU5AI4TP.cjs} +10 -10
- package/dist/{video-file-player-4TXA7BZF.cjs → video-file-player-6ZFOZFER.cjs} +16 -7
- package/package.json +1 -1
- package/src/components/authors/author-detail-view.tsx +10 -2
- package/src/components/features/use-file-playback.ts +33 -14
- package/src/components/related-content/card-registry.tsx +7 -0
- package/src/components/related-content/related-content-section.tsx +12 -2
- package/src/components/ui/photo-wall.tsx +19 -8
|
@@ -315,7 +315,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
var
|
|
318
|
+
var _chunkMYHS4W2Hcjs = require('./chunk-MYHS4W2H.cjs');
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
|
|
@@ -3923,7 +3923,7 @@ function renderQuickActionIcon(icon) {
|
|
|
3923
3923
|
if (!spec.name && !spec.url) return void 0;
|
|
3924
3924
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
3925
3925
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
3926
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3926
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
3927
3927
|
}
|
|
3928
3928
|
function composeChipLabel(label, lozenge) {
|
|
3929
3929
|
if (!lozenge) return label;
|
|
@@ -6724,7 +6724,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6724
6724
|
|
|
6725
6725
|
[Attached: ${safeName}](${url})`;
|
|
6726
6726
|
}
|
|
6727
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6727
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkMYHS4W2Hcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6728
6728
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6729
6729
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6730
6730
|
"gm"
|
|
@@ -8001,7 +8001,7 @@ function GuideWelcome({
|
|
|
8001
8001
|
icon && (icon.name || icon.url) ? (
|
|
8002
8002
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
8003
8003
|
// match the default Mingo mark (48px).
|
|
8004
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8004
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
8005
8005
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHJE3UWZcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
8006
8006
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
8007
8007
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -9756,16 +9756,16 @@ function ChatArchivePage(props) {
|
|
|
9756
9756
|
|
|
9757
9757
|
// src/components/chat/utils/execute-navigation.ts
|
|
9758
9758
|
function isForeignOriginHref(href) {
|
|
9759
|
-
return /^https?:\/\//i.test(href) && !
|
|
9759
|
+
return /^https?:\/\//i.test(href) && !_chunkMYHS4W2Hcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
9760
9760
|
}
|
|
9761
9761
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
9762
|
-
const isNewTab = runtime ?
|
|
9762
|
+
const isNewTab = runtime ? _chunkMYHS4W2Hcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9763
9763
|
if (isNewTab) {
|
|
9764
9764
|
if (_optionalChain([runtime, 'optionalAccess', _203 => _203.navigation, 'access', _204 => _204.openExternal])) runtime.navigation.openExternal(href);
|
|
9765
|
-
else window.open(href, "_blank",
|
|
9765
|
+
else window.open(href, "_blank", _chunkMYHS4W2Hcjs.NEW_TAB_FEATURES);
|
|
9766
9766
|
return;
|
|
9767
9767
|
}
|
|
9768
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9768
|
+
const target = isForeignOriginHref(href) ? href : _chunkMYHS4W2Hcjs.stripSameOriginToPath.call(void 0, href);
|
|
9769
9769
|
if (target.includes("#") && _chunkXXJL5GY3cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkXXJL5GY3cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9770
9770
|
return;
|
|
9771
9771
|
}
|
|
@@ -9816,8 +9816,8 @@ function useNavLinkViaRuntime({
|
|
|
9816
9816
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9817
9817
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9818
9818
|
const panel = useChatPanel();
|
|
9819
|
-
const resolvedHref =
|
|
9820
|
-
const isNewTab =
|
|
9819
|
+
const resolvedHref = _chunkMYHS4W2Hcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9820
|
+
const isNewTab = _chunkMYHS4W2Hcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9821
9821
|
const onClick = (e) => {
|
|
9822
9822
|
_optionalChain([onClickProp, 'optionalCall', _208 => _208(e)]);
|
|
9823
9823
|
if (e.defaultPrevented) return;
|
|
@@ -9831,7 +9831,7 @@ function useNavLinkViaRuntime({
|
|
|
9831
9831
|
});
|
|
9832
9832
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
9833
9833
|
};
|
|
9834
|
-
const attrs =
|
|
9834
|
+
const attrs = _chunkMYHS4W2Hcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
9835
9835
|
return {
|
|
9836
9836
|
href: resolvedHref,
|
|
9837
9837
|
...attrs,
|
|
@@ -9976,7 +9976,7 @@ function UserDisplay({
|
|
|
9976
9976
|
compact = false,
|
|
9977
9977
|
className
|
|
9978
9978
|
}) {
|
|
9979
|
-
const avatarSrc =
|
|
9979
|
+
const avatarSrc = _chunkMYHS4W2Hcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9980
9980
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) {
|
|
9981
9981
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9982
9982
|
UserDisplaySkeleton,
|
|
@@ -10440,7 +10440,7 @@ function CardsStrip(props) {
|
|
|
10440
10440
|
}
|
|
10441
10441
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10442
10442
|
};
|
|
10443
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10443
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkMYHS4W2Hcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkMYHS4W2Hcjs.accentSentenceMarks.call(void 0, title) });
|
|
10444
10444
|
if (items.length === 0) {
|
|
10445
10445
|
if (!inScope || !skeleton) return null;
|
|
10446
10446
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -10630,7 +10630,7 @@ var VIDEO_BITES_SKELETON_COUNT = Math.ceil(
|
|
|
10630
10630
|
);
|
|
10631
10631
|
function VideoBitesStrip({
|
|
10632
10632
|
bites,
|
|
10633
|
-
title =
|
|
10633
|
+
title = _chunkMYHS4W2Hcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10634
10634
|
showTitle = true,
|
|
10635
10635
|
filterPublished = true,
|
|
10636
10636
|
profile = null,
|
|
@@ -10643,7 +10643,7 @@ function VideoBitesStrip({
|
|
|
10643
10643
|
cardHeightMobile = VIDEO_BITES_CARD_HEIGHT_MOBILE_PX,
|
|
10644
10644
|
showChevrons = true,
|
|
10645
10645
|
onBiteNavigate,
|
|
10646
|
-
sortComparator =
|
|
10646
|
+
sortComparator = _chunkMYHS4W2Hcjs.sortBitesByCreatedAtDesc,
|
|
10647
10647
|
skeletonCount,
|
|
10648
10648
|
className
|
|
10649
10649
|
}) {
|
|
@@ -10746,7 +10746,7 @@ function VideoBiteCardSkeleton({
|
|
|
10746
10746
|
function VideoBitesStripSkeleton({
|
|
10747
10747
|
count = VIDEO_BITES_SKELETON_COUNT,
|
|
10748
10748
|
aspect = "9:16",
|
|
10749
|
-
title =
|
|
10749
|
+
title = _chunkMYHS4W2Hcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10750
10750
|
showTitle = true,
|
|
10751
10751
|
headerSlot,
|
|
10752
10752
|
cardHeightDesktop = VIDEO_BITES_CARD_HEIGHT_DESKTOP_PX,
|
|
@@ -10878,7 +10878,7 @@ function VideoBiteCard({
|
|
|
10878
10878
|
style: biteMediaStyle(cssAspect, height, heightMobile),
|
|
10879
10879
|
children: [
|
|
10880
10880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10881
|
-
|
|
10881
|
+
_chunkMYHS4W2Hcjs.VideoHoverPreviewSurface,
|
|
10882
10882
|
{
|
|
10883
10883
|
url: bite.url,
|
|
10884
10884
|
posterUrl: bite.thumbnail_url,
|
|
@@ -10950,7 +10950,7 @@ function EntityVideoSection({
|
|
|
10950
10950
|
title = "Video",
|
|
10951
10951
|
videoSummary,
|
|
10952
10952
|
videoBites,
|
|
10953
|
-
bitesTitle =
|
|
10953
|
+
bitesTitle = _chunkMYHS4W2Hcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10954
10954
|
filterPublishedBites = true,
|
|
10955
10955
|
bitesProfile = null,
|
|
10956
10956
|
bitesHref,
|
|
@@ -10985,7 +10985,7 @@ function EntityVideoSection({
|
|
|
10985
10985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
10986
10986
|
] }),
|
|
10987
10987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10988
|
-
|
|
10988
|
+
_chunkMYHS4W2Hcjs.Video,
|
|
10989
10989
|
{
|
|
10990
10990
|
kind: fullVideoKind,
|
|
10991
10991
|
url: fullVideoUrl,
|
|
@@ -10997,7 +10997,7 @@ function EntityVideoSection({
|
|
|
10997
10997
|
}
|
|
10998
10998
|
) }),
|
|
10999
10999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11000
|
-
|
|
11000
|
+
_chunkMYHS4W2Hcjs.Video,
|
|
11001
11001
|
{
|
|
11002
11002
|
url: highlightVideoUrl,
|
|
11003
11003
|
poster: highlightVideoThumbnail,
|
|
@@ -11006,7 +11006,7 @@ function EntityVideoSection({
|
|
|
11006
11006
|
}
|
|
11007
11007
|
) })
|
|
11008
11008
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11009
|
-
|
|
11009
|
+
_chunkMYHS4W2Hcjs.Video,
|
|
11010
11010
|
{
|
|
11011
11011
|
kind: fullVideoKind,
|
|
11012
11012
|
url: fullVideoUrl,
|
|
@@ -11017,7 +11017,7 @@ function EntityVideoSection({
|
|
|
11017
11017
|
priority
|
|
11018
11018
|
}
|
|
11019
11019
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11020
|
-
|
|
11020
|
+
_chunkMYHS4W2Hcjs.Video,
|
|
11021
11021
|
{
|
|
11022
11022
|
url: highlightVideoUrl,
|
|
11023
11023
|
poster: highlightVideoThumbnail,
|
|
@@ -11027,7 +11027,7 @@ function EntityVideoSection({
|
|
|
11027
11027
|
}
|
|
11028
11028
|
) : null),
|
|
11029
11029
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
11030
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
11030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkMYHS4W2Hcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
11031
11031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
|
|
11032
11032
|
] }),
|
|
11033
11033
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11046,13 +11046,13 @@ function EntityVideoSection({
|
|
|
11046
11046
|
] });
|
|
11047
11047
|
}
|
|
11048
11048
|
function EntityVideoSectionSkeleton({ tabs = false, className }) {
|
|
11049
|
-
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11049
|
+
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.VideoSkeleton, { layout: "centered", className });
|
|
11050
11050
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tabs, { defaultValue: "full-video", className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", className), "aria-hidden": true, inert: true, children: [
|
|
11051
11051
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: VIDEO_TAB_LIST_CLASS, children: [
|
|
11052
11052
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "full-video", className: VIDEO_TAB_TRIGGER_CLASS, children: FULL_VIDEO_TAB_LABEL }),
|
|
11053
11053
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
11054
11054
|
] }),
|
|
11055
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11055
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.VideoSkeleton, { layout: "centered" }) })
|
|
11056
11056
|
] });
|
|
11057
11057
|
}
|
|
11058
11058
|
|
|
@@ -11099,7 +11099,7 @@ function designDocPeople(doc) {
|
|
|
11099
11099
|
return people;
|
|
11100
11100
|
}
|
|
11101
11101
|
function designDocMetaLine(doc) {
|
|
11102
|
-
return [_optionalChain([doc, 'access', _244 => _244.author, 'optionalAccess', _245 => _245.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
11102
|
+
return [_optionalChain([doc, 'access', _244 => _244.author, 'optionalAccess', _245 => _245.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkMYHS4W2Hcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
11103
11103
|
}
|
|
11104
11104
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
11105
11105
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11109,15 +11109,15 @@ var DESIGN_DOC_CARD_META_ROW = `flex items-center text-h5 ${_chunkXFRBEXQNcjs.TE
|
|
|
11109
11109
|
var DESIGN_DOC_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunkXFRBEXQNcjs.TEXT_LINES_MIN[3]}`;
|
|
11110
11110
|
var DESIGN_DOC_CARD_FOOTER = "flex w-full items-center justify-between gap-2";
|
|
11111
11111
|
function DesignDocCardSkeleton({ className } = {}) {
|
|
11112
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11112
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, _chunkMYHS4W2Hcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className), "aria-hidden": true, children: [
|
|
11113
11113
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
11114
11114
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADING, children: [
|
|
11115
11115
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-3/4" }) }),
|
|
11116
11116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h5", className: "w-1/3" }) })
|
|
11117
11117
|
] }),
|
|
11118
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11118
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.StatusBadgeSkeleton, { variant: "button", className: "hidden md:inline-flex" })
|
|
11119
11119
|
] }),
|
|
11120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.StatusBadgeSkeleton, { variant: "button" }) }),
|
|
11121
11121
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) }),
|
|
11122
11122
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
11123
11123
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -11129,7 +11129,7 @@ function DesignDocCardSkeleton({ className } = {}) {
|
|
|
11129
11129
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
11130
11130
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
11131
11131
|
const people = designDocPeople(doc);
|
|
11132
|
-
const link =
|
|
11132
|
+
const link = _chunkMYHS4W2Hcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
11133
11133
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocCardSkeleton, { className });
|
|
11134
11134
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11135
11135
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
@@ -11138,7 +11138,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11138
11138
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
|
|
11139
11139
|
] }),
|
|
11140
11140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11141
|
-
|
|
11141
|
+
_chunkMYHS4W2Hcjs.StatusBadge,
|
|
11142
11142
|
{
|
|
11143
11143
|
text: readiness.label,
|
|
11144
11144
|
colorScheme: readiness.scheme,
|
|
@@ -11148,7 +11148,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11148
11148
|
}
|
|
11149
11149
|
)
|
|
11150
11150
|
] }),
|
|
11151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
11152
11152
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
|
|
11153
11153
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
11154
11154
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -11156,7 +11156,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11156
11156
|
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVFUMM6JCcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
|
|
11157
11157
|
] })
|
|
11158
11158
|
] });
|
|
11159
|
-
const outer = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11159
|
+
const outer = _chunk65VVJSQZcjs.cn.call(void 0, _chunkMYHS4W2Hcjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
|
|
11160
11160
|
return link ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href: link, target, rel, className: outer, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: outer, children: body });
|
|
11161
11161
|
}
|
|
11162
11162
|
|
|
@@ -11298,26 +11298,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
11298
11298
|
metaParts.push(
|
|
11299
11299
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
11300
11300
|
);
|
|
11301
|
-
const href =
|
|
11301
|
+
const href = _chunkMYHS4W2Hcjs.safeHref.call(void 0, item.url);
|
|
11302
11302
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11303
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11304
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11305
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11303
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
11304
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11305
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
11306
11306
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
11307
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11307
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
11308
11308
|
] }),
|
|
11309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11309
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
11310
11310
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
11311
11311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
11312
11312
|
] }, i)) }) }),
|
|
11313
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11313
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_SUMMARY, children: _chunkMYHS4W2Hcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11314
11314
|
] }),
|
|
11315
11315
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
11316
11316
|
] });
|
|
11317
11317
|
if (anchorProps) {
|
|
11318
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11318
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
11319
11319
|
}
|
|
11320
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
11320
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
11321
11321
|
}
|
|
11322
11322
|
function GitHubActivityCardSkeleton({
|
|
11323
11323
|
variant = "compact",
|
|
@@ -11325,7 +11325,7 @@ function GitHubActivityCardSkeleton({
|
|
|
11325
11325
|
}) {
|
|
11326
11326
|
if (variant === "row") {
|
|
11327
11327
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11328
|
-
|
|
11328
|
+
_chunkMYHS4W2Hcjs.ActivityRowSkeleton,
|
|
11329
11329
|
{
|
|
11330
11330
|
lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
|
|
11331
11331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
|
|
@@ -11336,7 +11336,7 @@ function GitHubActivityCardSkeleton({
|
|
|
11336
11336
|
}
|
|
11337
11337
|
);
|
|
11338
11338
|
}
|
|
11339
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11339
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
|
|
11340
11340
|
}
|
|
11341
11341
|
|
|
11342
11342
|
// src/utils/url-fix.ts
|
|
@@ -11418,7 +11418,7 @@ function VendorIcon({
|
|
|
11418
11418
|
}) {
|
|
11419
11419
|
const loading = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
11420
11420
|
const logoUrl = getVendorLogo(vendor);
|
|
11421
|
-
const logoSrc =
|
|
11421
|
+
const logoSrc = _chunkMYHS4W2Hcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11422
11422
|
const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
|
|
11423
11423
|
const containerClasses = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11424
11424
|
sizeClasses[size],
|
|
@@ -11461,8 +11461,8 @@ function useChatCardItem(type, id) {
|
|
|
11461
11461
|
const res = await _chunkDGFDBPO7cjs.embedAuthedFetch.call(void 0, url);
|
|
11462
11462
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11463
11463
|
const data = await res.json();
|
|
11464
|
-
const items =
|
|
11465
|
-
const match = items.find((it) =>
|
|
11464
|
+
const items = _chunkMYHS4W2Hcjs.extractCardItems.call(void 0, type, data);
|
|
11465
|
+
const match = items.find((it) => _chunkMYHS4W2Hcjs.extractItemId.call(void 0, type, it) === id);
|
|
11466
11466
|
return _nullishCoalesce(match, () => ( null));
|
|
11467
11467
|
},
|
|
11468
11468
|
enabled: !!url && id.length > 0,
|
|
@@ -11664,7 +11664,7 @@ function resolveFetchedCardHref({
|
|
|
11664
11664
|
composeContentUrl
|
|
11665
11665
|
}) {
|
|
11666
11666
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11667
|
-
const canonicalType =
|
|
11667
|
+
const canonicalType = _chunkMYHS4W2Hcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11668
11668
|
return composeContentUrl({
|
|
11669
11669
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11670
11670
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11714,16 +11714,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11714
11714
|
if (docTarget) {
|
|
11715
11715
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
11716
11716
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
11717
|
-
href = _nullishCoalesce(
|
|
11717
|
+
href = _nullishCoalesce(_chunkMYHS4W2Hcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11718
11718
|
targetPlatform = docTarget.platform;
|
|
11719
11719
|
} else if (ctx.chipBasePlatform) {
|
|
11720
11720
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
11721
|
-
href = _nullishCoalesce(
|
|
11721
|
+
href = _nullishCoalesce(_chunkMYHS4W2Hcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11722
11722
|
targetPlatform = ctx.chipBasePlatform;
|
|
11723
11723
|
} else if (ctx.baseRoute) {
|
|
11724
11724
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
11725
11725
|
const absolute = new URL(safePath, synthetic).toString();
|
|
11726
|
-
href = _nullishCoalesce(
|
|
11726
|
+
href = _nullishCoalesce(_chunkMYHS4W2Hcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
11727
11727
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
11728
11728
|
}
|
|
11729
11729
|
}
|
|
@@ -11732,15 +11732,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11732
11732
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11733
11733
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11734
11734
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11735
|
-
type:
|
|
11735
|
+
type: _chunkMYHS4W2Hcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11736
11736
|
identifier: idValue,
|
|
11737
11737
|
externalUrl: row.externalUrl,
|
|
11738
11738
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
11739
11739
|
});
|
|
11740
|
-
href = composed.href ? _nullishCoalesce(
|
|
11740
|
+
href = composed.href ? _nullishCoalesce(_chunkMYHS4W2Hcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
11741
11741
|
targetPlatform = composed.targetPlatform;
|
|
11742
11742
|
} else if (row.externalUrl) {
|
|
11743
|
-
href = _nullishCoalesce(
|
|
11743
|
+
href = _nullishCoalesce(_chunkMYHS4W2Hcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
11744
11744
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
11745
11745
|
}
|
|
11746
11746
|
const documentType = row.documentType;
|
|
@@ -11807,7 +11807,7 @@ function resolveCardDestination({
|
|
|
11807
11807
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _259 => _259.fallbackHref, 'optionalCall', _260 => _260(item)]), () => ( null)),
|
|
11808
11808
|
allowComposed: !entry.noComposedHref
|
|
11809
11809
|
});
|
|
11810
|
-
const url = choice ? _nullishCoalesce(
|
|
11810
|
+
const url = choice ? _nullishCoalesce(_chunkMYHS4W2Hcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
11811
11811
|
if (choice && url) {
|
|
11812
11812
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
11813
11813
|
}
|
|
@@ -11820,11 +11820,11 @@ function resolveCardDestination({
|
|
|
11820
11820
|
|
|
11821
11821
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
11822
11822
|
const label = entityLabel || "Item";
|
|
11823
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
11824
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11825
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11827
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11823
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11824
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
11825
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMYHS4W2Hcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
11827
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMYHS4W2Hcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
11828
11828
|
label,
|
|
11829
11829
|
" deleted",
|
|
11830
11830
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -11879,7 +11879,7 @@ function GitHubChatCard({
|
|
|
11879
11879
|
description,
|
|
11880
11880
|
icon: githubKindIcon(kind),
|
|
11881
11881
|
status,
|
|
11882
|
-
anchorProps:
|
|
11882
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11883
11883
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11884
11884
|
menuAriaLabel: "Activity actions"
|
|
11885
11885
|
}
|
|
@@ -12026,7 +12026,7 @@ function HubspotTicketChatCard({
|
|
|
12026
12026
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12027
12027
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
12028
12028
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
12029
|
-
anchorProps:
|
|
12029
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12030
12030
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
12031
12031
|
label: "Open Ticket Details",
|
|
12032
12032
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -12049,7 +12049,7 @@ function FaqChatCard({
|
|
|
12049
12049
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12050
12050
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
12051
12051
|
status: { label: statusLabel, variant: "grey" },
|
|
12052
|
-
anchorProps:
|
|
12052
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12053
12053
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12054
12054
|
menuAriaLabel: "FAQ actions"
|
|
12055
12055
|
}
|
|
@@ -12069,7 +12069,7 @@ function SlackChatCard({
|
|
|
12069
12069
|
title,
|
|
12070
12070
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12071
12071
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
12072
|
-
anchorProps:
|
|
12072
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12073
12073
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12074
12074
|
menuAriaLabel: "Message actions"
|
|
12075
12075
|
}
|
|
@@ -12087,7 +12087,7 @@ function GlyphChatCard({
|
|
|
12087
12087
|
title: chatRef.title,
|
|
12088
12088
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12089
12089
|
icon,
|
|
12090
|
-
anchorProps:
|
|
12090
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12091
12091
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12092
12092
|
menuAriaLabel: "Card actions"
|
|
12093
12093
|
}
|
|
@@ -12105,20 +12105,20 @@ function TrustCenterChatCard({
|
|
|
12105
12105
|
}) {
|
|
12106
12106
|
const raw2 = _optionalChain([item, 'optionalAccess', _284 => _284.frameworks]);
|
|
12107
12107
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
12108
|
-
const summary =
|
|
12108
|
+
const summary = _chunkMYHS4W2Hcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
12109
12109
|
const leadFramework = frameworks[0];
|
|
12110
12110
|
const lead = leadFramework ? {
|
|
12111
|
-
label:
|
|
12112
|
-
color:
|
|
12111
|
+
label: _chunkMYHS4W2Hcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
12112
|
+
color: _chunkMYHS4W2Hcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
12113
12113
|
} : void 0;
|
|
12114
12114
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12115
12115
|
MingoInfoCard,
|
|
12116
12116
|
{
|
|
12117
|
-
title:
|
|
12118
|
-
description: summary ||
|
|
12117
|
+
title: _chunkMYHS4W2Hcjs.TRUST_CENTER_TITLE,
|
|
12118
|
+
description: summary || _chunkMYHS4W2Hcjs.TRUST_CENTER_TAGLINE,
|
|
12119
12119
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
12120
12120
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
12121
|
-
anchorProps:
|
|
12121
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12122
12122
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
12123
12123
|
label: "View trust center",
|
|
12124
12124
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -12140,7 +12140,7 @@ function DataRoomDocChatCard({
|
|
|
12140
12140
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12141
12141
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12142
12142
|
status: { label: badgeText, variant: "grey" },
|
|
12143
|
-
anchorProps:
|
|
12143
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12144
12144
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12145
12145
|
menuAriaLabel: "Document actions"
|
|
12146
12146
|
}
|
|
@@ -12159,7 +12159,7 @@ function GenericFinancialChatCard({
|
|
|
12159
12159
|
title: chatRef.title,
|
|
12160
12160
|
description: subtitle,
|
|
12161
12161
|
icon,
|
|
12162
|
-
anchorProps:
|
|
12162
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12163
12163
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12164
12164
|
menuAriaLabel: "Document actions"
|
|
12165
12165
|
}
|
|
@@ -12245,7 +12245,7 @@ function CampaignChatCard({
|
|
|
12245
12245
|
}) {
|
|
12246
12246
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _290 => _290.goals])) ? item.goals.length : 0;
|
|
12247
12247
|
const meta = [
|
|
12248
|
-
_optionalChain([item, 'optionalAccess', _291 => _291.start_date]) ?
|
|
12248
|
+
_optionalChain([item, 'optionalAccess', _291 => _291.start_date]) ? _chunkMYHS4W2Hcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12249
12249
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12250
12250
|
"Marketing campaign"
|
|
12251
12251
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12287,7 +12287,7 @@ function EntityMingoCard({
|
|
|
12287
12287
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
12288
12288
|
icon: fallbackIcon,
|
|
12289
12289
|
status,
|
|
12290
|
-
anchorProps:
|
|
12290
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12291
12291
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
12292
12292
|
menuAriaLabel
|
|
12293
12293
|
}
|
|
@@ -12299,7 +12299,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12299
12299
|
function statusPill(status) {
|
|
12300
12300
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12301
12301
|
if (!s) return void 0;
|
|
12302
|
-
const scheme =
|
|
12302
|
+
const scheme = _chunkMYHS4W2Hcjs.getStatusColorScheme.call(void 0, s);
|
|
12303
12303
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12304
12304
|
return { label: s, variant };
|
|
12305
12305
|
}
|
|
@@ -12390,7 +12390,7 @@ function DesignDocChatCard({
|
|
|
12390
12390
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
12391
12391
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12392
12392
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
12393
|
-
anchorProps:
|
|
12393
|
+
anchorProps: _chunkMYHS4W2Hcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
12394
12394
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
12395
12395
|
menuAriaLabel: "Design doc actions"
|
|
12396
12396
|
}
|
|
@@ -12408,7 +12408,7 @@ function InvestorUpdateChatCard({
|
|
|
12408
12408
|
EntityMingoCard,
|
|
12409
12409
|
{
|
|
12410
12410
|
title,
|
|
12411
|
-
description: _optionalChain([item, 'optionalAccess', _321 => _321.strategic_update]) || _optionalChain([item, 'optionalAccess', _322 => _322.content]) ||
|
|
12411
|
+
description: _optionalChain([item, 'optionalAccess', _321 => _321.strategic_update]) || _optionalChain([item, 'optionalAccess', _322 => _322.content]) || _chunkMYHS4W2Hcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _323 => _323.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _324 => _324.period_end]), () => ( null))) || void 0,
|
|
12412
12412
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _325 => _325.featured_image]), ogPlaceholder),
|
|
12413
12413
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12414
12414
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12452,7 +12452,7 @@ function ProgramChatCard({
|
|
|
12452
12452
|
discuss
|
|
12453
12453
|
}) {
|
|
12454
12454
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZ6NU2C2cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM4KPLFFAcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 });
|
|
12455
|
-
const { line: meta } =
|
|
12455
|
+
const { line: meta } = _chunkMYHS4W2Hcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkMYHS4W2Hcjs.programMetaFormatters.call(void 0, _chunkMYHS4W2Hcjs.PROGRAM_META_RENDERERS));
|
|
12456
12456
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12457
12457
|
EntityMingoCard,
|
|
12458
12458
|
{
|
|
@@ -12478,7 +12478,7 @@ function RoadmapChatCard({
|
|
|
12478
12478
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _335 => _335.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12479
12479
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _336 => _336.customItemId]) != null;
|
|
12480
12480
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UIJR4PYcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6DN5HKRWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQDSQKK2cjs.MapIcon, { size: 24 });
|
|
12481
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12481
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _337 => _337.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12482
12482
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12483
12483
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12484
12484
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE76ONBKFcjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12544,11 +12544,11 @@ function refText(ref, key) {
|
|
|
12544
12544
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
12545
12545
|
}
|
|
12546
12546
|
function VendorGlyph({ title, logoUrl }) {
|
|
12547
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12547
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
12548
12548
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
12549
12549
|
}
|
|
12550
12550
|
function SitePageGlyph({ iconName }) {
|
|
12551
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12551
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
12552
12552
|
}
|
|
12553
12553
|
var GITHUB_CARD_CONFIGS = {
|
|
12554
12554
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -12665,7 +12665,7 @@ function programRegistryEntries() {
|
|
|
12665
12665
|
label: cfg.label,
|
|
12666
12666
|
contentRefType: cfg.contentRefType,
|
|
12667
12667
|
bareInline: true,
|
|
12668
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12668
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
12669
12669
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12670
12670
|
ProgramChatCard,
|
|
12671
12671
|
{
|
|
@@ -12706,7 +12706,7 @@ function roadmapRegistryEntries() {
|
|
|
12706
12706
|
bareInline: true,
|
|
12707
12707
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12708
12708
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12709
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12709
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
12710
12710
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12711
12711
|
RoadmapChatCard,
|
|
12712
12712
|
{
|
|
@@ -12764,12 +12764,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12764
12764
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12765
12765
|
// single matched row. Destination is the public page unless the host
|
|
12766
12766
|
// re-homes the type (`composeContentUrl` override).
|
|
12767
|
-
[
|
|
12767
|
+
[_chunkMYHS4W2Hcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12768
12768
|
label: "Trust center",
|
|
12769
12769
|
bareInline: true,
|
|
12770
|
-
contentRefType:
|
|
12770
|
+
contentRefType: _chunkMYHS4W2Hcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12771
12771
|
noComposedHref: true,
|
|
12772
|
-
fallbackHref: () =>
|
|
12772
|
+
fallbackHref: () => _chunkMYHS4W2Hcjs.TRUST_CENTER_PAGE_PATH,
|
|
12773
12773
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
12774
12774
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12775
12775
|
},
|
|
@@ -12795,7 +12795,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12795
12795
|
label: "Blog post",
|
|
12796
12796
|
contentRefType: "blog_post_existing",
|
|
12797
12797
|
bareInline: true,
|
|
12798
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12798
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.BlogCardSkeleton, { size: "sm" }),
|
|
12799
12799
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12800
12800
|
BlogChatCard,
|
|
12801
12801
|
{
|
|
@@ -12812,7 +12812,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12812
12812
|
label: "Case study",
|
|
12813
12813
|
contentRefType: "case_study",
|
|
12814
12814
|
bareInline: true,
|
|
12815
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12815
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
12816
12816
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12817
12817
|
CaseStudyChatCard,
|
|
12818
12818
|
{
|
|
@@ -12837,7 +12837,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12837
12837
|
label: "Customer interview",
|
|
12838
12838
|
contentRefType: "customer_interview",
|
|
12839
12839
|
bareInline: true,
|
|
12840
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12840
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
12841
12841
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12842
12842
|
CustomerInterviewChatCard,
|
|
12843
12843
|
{
|
|
@@ -12853,9 +12853,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12853
12853
|
label: "Product release",
|
|
12854
12854
|
contentRefType: "product_release",
|
|
12855
12855
|
bareInline: true,
|
|
12856
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12856
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
12857
12857
|
render: (item, chatRef, opts) => {
|
|
12858
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _378 => _378.extras, 'optionalAccess', _379 => _379.buildProductReleaseCardProps]), () => (
|
|
12858
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _378 => _378.extras, 'optionalAccess', _379 => _379.buildProductReleaseCardProps]), () => ( _chunkMYHS4W2Hcjs.defaultBuildProductReleaseCardProps));
|
|
12859
12859
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12860
12860
|
ProductReleaseChatCard,
|
|
12861
12861
|
{
|
|
@@ -12873,7 +12873,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12873
12873
|
label: "Investor update",
|
|
12874
12874
|
contentRefType: "investor_update",
|
|
12875
12875
|
bareInline: true,
|
|
12876
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12876
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
12877
12877
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12878
12878
|
InvestorUpdateChatCard,
|
|
12879
12879
|
{
|
|
@@ -12891,7 +12891,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12891
12891
|
bareInline: true,
|
|
12892
12892
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12893
12893
|
displayAction: true,
|
|
12894
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12894
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMYHS4W2Hcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
12895
12895
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12896
12896
|
OnboardingGuideChatCard,
|
|
12897
12897
|
{
|
|
@@ -12964,7 +12964,7 @@ function ChatCardLoader({
|
|
|
12964
12964
|
entry: fetchEntry,
|
|
12965
12965
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12966
12966
|
composeContentUrl: runtime.composeContentUrl,
|
|
12967
|
-
resolveHref: (href) =>
|
|
12967
|
+
resolveHref: (href) => _chunkMYHS4W2Hcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12968
12968
|
});
|
|
12969
12969
|
const hrefResolvedChatRef = {
|
|
12970
12970
|
...chatRef,
|
|
@@ -12975,7 +12975,7 @@ function ChatCardLoader({
|
|
|
12975
12975
|
};
|
|
12976
12976
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
12977
12977
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
12978
|
-
const isNewTab =
|
|
12978
|
+
const isNewTab = _chunkMYHS4W2Hcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
12979
12979
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
12980
12980
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12981
12981
|
const discuss = discussFn ? {
|
|
@@ -14055,7 +14055,7 @@ function useChatAttachmentImageGallery() {
|
|
|
14055
14055
|
return () => root.removeEventListener("click", onClick);
|
|
14056
14056
|
}, [viewUrlPrefix]);
|
|
14057
14057
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14058
|
-
|
|
14058
|
+
_chunkMYHS4W2Hcjs.ImageGalleryModal,
|
|
14059
14059
|
{
|
|
14060
14060
|
images: state.images,
|
|
14061
14061
|
isOpen: state.isOpen,
|
|
@@ -15217,7 +15217,7 @@ function nullableText(value) {
|
|
|
15217
15217
|
}
|
|
15218
15218
|
function httpsUrl(value) {
|
|
15219
15219
|
const candidate = text(value);
|
|
15220
|
-
if (!candidate ||
|
|
15220
|
+
if (!candidate || _chunkMYHS4W2Hcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
15221
15221
|
try {
|
|
15222
15222
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
15223
15223
|
} catch (e17) {
|