@flamingo-stack/openframe-frontend-core 0.0.625 → 0.0.626
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-IYQRUTJI.js → chunk-2CCIF5QV.js} +4 -4
- package/dist/{chunk-OFRCNA6N.cjs → chunk-34GEH24Y.cjs} +10 -10
- package/dist/{chunk-OFRCNA6N.cjs.map → chunk-34GEH24Y.cjs.map} +1 -1
- package/dist/{chunk-YSCRM2AG.cjs → chunk-3LKJ6JWZ.cjs} +28 -28
- package/dist/{chunk-YSCRM2AG.cjs.map → chunk-3LKJ6JWZ.cjs.map} +1 -1
- package/dist/{chunk-CWK7BQTZ.cjs → chunk-3POP5WWC.cjs} +6 -6
- package/dist/{chunk-CWK7BQTZ.cjs.map → chunk-3POP5WWC.cjs.map} +1 -1
- package/dist/{chunk-NDUNUXS2.cjs → chunk-63F2UQDW.cjs} +15 -15
- package/dist/{chunk-NDUNUXS2.cjs.map → chunk-63F2UQDW.cjs.map} +1 -1
- package/dist/{chunk-EW6PYGB3.js → chunk-BVCWBA2U.js} +7 -6
- package/dist/chunk-BVCWBA2U.js.map +1 -0
- package/dist/{chunk-AT44NN6G.cjs → chunk-CPO5KPW6.cjs} +6 -6
- package/dist/{chunk-AT44NN6G.cjs.map → chunk-CPO5KPW6.cjs.map} +1 -1
- package/dist/{chunk-VGZ7WZ7F.js → chunk-DLZFFGQ7.js} +3 -3
- package/dist/{chunk-YWFMYZ4G.js → chunk-DZ7CEES3.js} +2 -2
- package/dist/{chunk-CXTOKOMK.cjs → chunk-E7YNDGRN.cjs} +81 -81
- package/dist/{chunk-CXTOKOMK.cjs.map → chunk-E7YNDGRN.cjs.map} +1 -1
- package/dist/{chunk-ISXADEGT.cjs → chunk-ESSHEVZQ.cjs} +32 -32
- package/dist/{chunk-ISXADEGT.cjs.map → chunk-ESSHEVZQ.cjs.map} +1 -1
- package/dist/{chunk-HOASBISN.js → chunk-F4TAUCHQ.js} +2 -2
- package/dist/{chunk-7LH2LC6N.js → chunk-H7KQM3VI.js} +6 -6
- package/dist/{chunk-ETH2WO6U.cjs → chunk-HTIDXF43.cjs} +5 -5
- package/dist/{chunk-ETH2WO6U.cjs.map → chunk-HTIDXF43.cjs.map} +1 -1
- package/dist/{chunk-NCY7J6YZ.js → chunk-IJYP2DMW.js} +8 -8
- package/dist/{chunk-NCY7J6YZ.js.map → chunk-IJYP2DMW.js.map} +1 -1
- package/dist/{chunk-C2E3TDRF.js → chunk-IZG3VYDV.js} +3 -3
- package/dist/{chunk-2RTH6JR5.js → chunk-KK7YEVTQ.js} +3 -3
- package/dist/{chunk-BNH76PZH.cjs → chunk-L54LFB6V.cjs} +11 -11
- package/dist/{chunk-BNH76PZH.cjs.map → chunk-L54LFB6V.cjs.map} +1 -1
- package/dist/{chunk-F7UZDBZZ.cjs → chunk-LJ7KMQRM.cjs} +29 -29
- package/dist/{chunk-F7UZDBZZ.cjs.map → chunk-LJ7KMQRM.cjs.map} +1 -1
- package/dist/{chunk-XOREK735.cjs → chunk-MSVEZB5D.cjs} +151 -151
- package/dist/chunk-MSVEZB5D.cjs.map +1 -0
- package/dist/{chunk-35JUSLEJ.js → chunk-MZWSJPDZ.js} +3 -3
- package/dist/{chunk-UQWJWIEK.js → chunk-NLVBO3IR.js} +5 -5
- package/dist/{chunk-CP5QJZGS.cjs → chunk-NZJNXGU2.cjs} +198 -198
- package/dist/{chunk-CP5QJZGS.cjs.map → chunk-NZJNXGU2.cjs.map} +1 -1
- package/dist/{chunk-RSJMF2YO.js → chunk-P7KIFYZI.js} +3 -3
- package/dist/{chunk-MP2K44EK.cjs → chunk-Q5XGBLT5.cjs} +7 -6
- package/dist/chunk-Q5XGBLT5.cjs.map +1 -0
- package/dist/{chunk-7VOLW4WX.cjs → chunk-QJ6BCSFQ.cjs} +3 -3
- package/dist/{chunk-7VOLW4WX.cjs.map → chunk-QJ6BCSFQ.cjs.map} +1 -1
- package/dist/{chunk-VOKLGRHX.cjs → chunk-QPQCQWAW.cjs} +20 -20
- package/dist/{chunk-VOKLGRHX.cjs.map → chunk-QPQCQWAW.cjs.map} +1 -1
- package/dist/{chunk-PSANPD64.js → chunk-QR2FJE2C.js} +7 -7
- package/dist/{chunk-FDE52ADN.js → chunk-RGMUA4XB.js} +5 -5
- package/dist/{chunk-P52MUJTG.js → chunk-RQQAPCOU.js} +3 -3
- package/dist/{chunk-YCO4UA62.js → chunk-RVK3CL5S.js} +6 -6
- package/dist/{chunk-7H2H6HYE.cjs → chunk-S43SLJIN.cjs} +22 -22
- package/dist/{chunk-7H2H6HYE.cjs.map → chunk-S43SLJIN.cjs.map} +1 -1
- package/dist/{chunk-ELU7SGM6.cjs → chunk-VOBOO7EF.cjs} +59 -59
- package/dist/{chunk-ELU7SGM6.cjs.map → chunk-VOBOO7EF.cjs.map} +1 -1
- package/dist/{chunk-DKNDJNSW.js → chunk-WEDSYUSR.js} +4 -4
- package/dist/{chunk-QAYRZTFU.cjs → chunk-Z42VU7HF.cjs} +33 -33
- package/dist/{chunk-QAYRZTFU.cjs.map → chunk-Z42VU7HF.cjs.map} +1 -1
- package/dist/{chunk-627V5GNY.js → chunk-ZIEYC6ZB.js} +3 -3
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +8 -5
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card.d.ts +8 -1
- package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +53 -53
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/index.cjs +8 -8
- package/dist/index.js +7 -7
- package/package.json +1 -1
- package/src/components/chat/entity-cards/__tests__/admin-content-card-grid.test.tsx +14 -1
- package/src/components/chat/entity-cards/admin-content-card-grid.tsx +15 -12
- package/src/components/chat/entity-cards/admin-content-card.tsx +24 -6
- package/dist/chunk-EW6PYGB3.js.map +0 -1
- package/dist/chunk-MP2K44EK.cjs.map +0 -1
- package/dist/chunk-XOREK735.cjs.map +0 -1
- /package/dist/{chunk-IYQRUTJI.js.map → chunk-2CCIF5QV.js.map} +0 -0
- /package/dist/{chunk-VGZ7WZ7F.js.map → chunk-DLZFFGQ7.js.map} +0 -0
- /package/dist/{chunk-YWFMYZ4G.js.map → chunk-DZ7CEES3.js.map} +0 -0
- /package/dist/{chunk-HOASBISN.js.map → chunk-F4TAUCHQ.js.map} +0 -0
- /package/dist/{chunk-7LH2LC6N.js.map → chunk-H7KQM3VI.js.map} +0 -0
- /package/dist/{chunk-C2E3TDRF.js.map → chunk-IZG3VYDV.js.map} +0 -0
- /package/dist/{chunk-2RTH6JR5.js.map → chunk-KK7YEVTQ.js.map} +0 -0
- /package/dist/{chunk-35JUSLEJ.js.map → chunk-MZWSJPDZ.js.map} +0 -0
- /package/dist/{chunk-UQWJWIEK.js.map → chunk-NLVBO3IR.js.map} +0 -0
- /package/dist/{chunk-RSJMF2YO.js.map → chunk-P7KIFYZI.js.map} +0 -0
- /package/dist/{chunk-PSANPD64.js.map → chunk-QR2FJE2C.js.map} +0 -0
- /package/dist/{chunk-FDE52ADN.js.map → chunk-RGMUA4XB.js.map} +0 -0
- /package/dist/{chunk-P52MUJTG.js.map → chunk-RQQAPCOU.js.map} +0 -0
- /package/dist/{chunk-YCO4UA62.js.map → chunk-RVK3CL5S.js.map} +0 -0
- /package/dist/{chunk-DKNDJNSW.js.map → chunk-WEDSYUSR.js.map} +0 -0
- /package/dist/{chunk-627V5GNY.js.map → chunk-ZIEYC6ZB.js.map} +0 -0
|
@@ -172,7 +172,7 @@ var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
|
172
172
|
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
var
|
|
175
|
+
var _chunkQ5XGBLT5cjs = require('./chunk-Q5XGBLT5.cjs');
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -4783,7 +4783,7 @@ function MspOrganizationCard({
|
|
|
4783
4783
|
className
|
|
4784
4784
|
),
|
|
4785
4785
|
children: [
|
|
4786
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4786
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4787
4787
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4788
4788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4789
4789
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
@@ -4916,7 +4916,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4916
4916
|
] })
|
|
4917
4917
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4918
4918
|
userIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4919
|
-
|
|
4919
|
+
_chunkQ5XGBLT5cjs.SquareAvatar,
|
|
4920
4920
|
{
|
|
4921
4921
|
src: userAvatar,
|
|
4922
4922
|
alt: userName,
|
|
@@ -7300,7 +7300,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7300
7300
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7301
7301
|
// no filled pill — the icon carries its own brand accent.
|
|
7302
7302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7303
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7303
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.SquareAvatar, { ...avatarProps })),
|
|
7304
7304
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7305
7305
|
"span",
|
|
7306
7306
|
{
|
|
@@ -8096,7 +8096,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8096
8096
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8097
8097
|
function useProxiedImageUrl(url) {
|
|
8098
8098
|
const r = _chunkUPKZU6QUcjs.useRequiredChatRuntime.call(void 0, );
|
|
8099
|
-
return _nullishCoalesce(
|
|
8099
|
+
return _nullishCoalesce(_chunkQ5XGBLT5cjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8100
8100
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8101
8101
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8102
8102
|
directHttps: true
|
|
@@ -8122,7 +8122,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8122
8122
|
height: 40,
|
|
8123
8123
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8124
8124
|
}
|
|
8125
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children:
|
|
8125
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children: _chunkQ5XGBLT5cjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8126
8126
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8127
8127
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8128
8128
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-body text-[14px] font-bold leading-[1.33] tracking-[-0.02em] text-ods-text-primary md:text-[15px]", children: displayName }),
|
|
@@ -9426,7 +9426,7 @@ function MingoChatHistoryRow({
|
|
|
9426
9426
|
hasMenu && (menuOpen ? "pointer-events-none opacity-0" : "md:group-hover/row:pointer-events-none md:group-hover/row:opacity-0 md:peer-[:focus-within]/menu:pointer-events-none md:peer-[:focus-within]/menu:opacity-0")
|
|
9427
9427
|
),
|
|
9428
9428
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9429
|
-
|
|
9429
|
+
_chunkQ5XGBLT5cjs.SquareAvatar,
|
|
9430
9430
|
{
|
|
9431
9431
|
variant: "round",
|
|
9432
9432
|
sizePx: 24,
|
|
@@ -10567,7 +10567,7 @@ function ChatPanelHeader({
|
|
|
10567
10567
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10568
10568
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10569
10569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10570
|
-
|
|
10570
|
+
_chunkQ5XGBLT5cjs.SquareAvatar,
|
|
10571
10571
|
{
|
|
10572
10572
|
variant: "round",
|
|
10573
10573
|
sizePx: 32,
|
|
@@ -10781,8 +10781,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10781
10781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10782
10782
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10783
10783
|
status === "sniffing" && "Checking\u2026",
|
|
10784
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10785
|
-
status === "ready" &&
|
|
10784
|
+
status === "uploading" && `${progress}% \xB7 ${_chunkQ5XGBLT5cjs.formatFileSize.call(void 0, file.size)}`,
|
|
10785
|
+
status === "ready" && _chunkQ5XGBLT5cjs.formatFileSize.call(void 0, file.size),
|
|
10786
10786
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10787
10787
|
] })
|
|
10788
10788
|
] }),
|
|
@@ -11579,10 +11579,10 @@ function resolveExternalNavigation(args) {
|
|
|
11579
11579
|
|
|
11580
11580
|
// src/components/chat/utils/execute-navigation.ts
|
|
11581
11581
|
function isForeignOriginHref(href) {
|
|
11582
|
-
return /^https?:\/\//i.test(href) && !
|
|
11582
|
+
return /^https?:\/\//i.test(href) && !_chunkQ5XGBLT5cjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
11583
11583
|
}
|
|
11584
11584
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
11585
|
-
const isNewTab = runtime ?
|
|
11585
|
+
const isNewTab = runtime ? _chunkQ5XGBLT5cjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
11586
11586
|
if (isNewTab) {
|
|
11587
11587
|
if (_optionalChain([runtime, 'optionalAccess', _204 => _204.navigation, 'access', _205 => _205.openExternal])) runtime.navigation.openExternal(href);
|
|
11588
11588
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -11641,7 +11641,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11641
11641
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
11642
11642
|
const panel = useChatPanel();
|
|
11643
11643
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11644
|
-
const isNewTab =
|
|
11644
|
+
const isNewTab = _chunkQ5XGBLT5cjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
11645
11645
|
const onClick = (e) => {
|
|
11646
11646
|
const handled = executeNavigation({
|
|
11647
11647
|
event: e,
|
|
@@ -11653,7 +11653,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11653
11653
|
});
|
|
11654
11654
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
11655
11655
|
};
|
|
11656
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
11656
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunkQ5XGBLT5cjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
11657
11657
|
}
|
|
11658
11658
|
|
|
11659
11659
|
// src/components/chat/source-action-button.tsx
|
|
@@ -11720,20 +11720,20 @@ function AdminContentCardSkeleton({ className }) {
|
|
|
11720
11720
|
"div",
|
|
11721
11721
|
{
|
|
11722
11722
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
11723
|
-
"flex h-full flex-col overflow-hidden rounded-2xl border border-ods-border bg-ods-card
|
|
11723
|
+
"flex h-full animate-pulse flex-col overflow-hidden rounded-2xl border border-ods-border bg-ods-card",
|
|
11724
11724
|
className
|
|
11725
11725
|
),
|
|
11726
11726
|
children: [
|
|
11727
11727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-[3/2] w-full shrink-0 bg-ods-border/20" }),
|
|
11728
11728
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col gap-[var(--spacing-system-sf)] p-5", children: [
|
|
11729
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-
|
|
11730
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-
|
|
11731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-
|
|
11732
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
11729
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[2lh] w-full rounded bg-ods-border text-h3" }),
|
|
11730
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[1lh] w-1/2 rounded bg-ods-border text-h6" }),
|
|
11731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[2lh] w-full rounded bg-ods-border text-h6" }),
|
|
11732
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-7 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
11733
11733
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-20 rounded-full bg-ods-border" }),
|
|
11734
11734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-24 rounded-full bg-ods-border" })
|
|
11735
11735
|
] }),
|
|
11736
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-
|
|
11736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[1lh] w-32 rounded bg-ods-border text-h6" }),
|
|
11737
11737
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-auto flex items-center justify-between border-t border-ods-border pt-[var(--spacing-system-sf)]", children: [
|
|
11738
11738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-24 rounded bg-ods-border" }),
|
|
11739
11739
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -12956,9 +12956,9 @@ function UserDisplay({
|
|
|
12956
12956
|
}) {
|
|
12957
12957
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
12958
12958
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12959
|
-
|
|
12959
|
+
_chunkQ5XGBLT5cjs.SquareAvatar,
|
|
12960
12960
|
{
|
|
12961
|
-
src: avatarUrl ?
|
|
12961
|
+
src: avatarUrl ? _chunkQ5XGBLT5cjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12962
12962
|
fallback: name,
|
|
12963
12963
|
alt: name,
|
|
12964
12964
|
sizePx: size2,
|
|
@@ -13458,7 +13458,7 @@ function VideoHoverPreviewSurface({
|
|
|
13458
13458
|
return () => io.disconnect();
|
|
13459
13459
|
}, [gateControlled]);
|
|
13460
13460
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13461
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13461
|
+
const { src: posterSrc, onError: onPosterError } = _chunkQ5XGBLT5cjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13462
13462
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13463
13463
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootElRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13464
13464
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13576,7 +13576,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13576
13576
|
|
|
13577
13577
|
function VideoBitesStrip({
|
|
13578
13578
|
bites,
|
|
13579
|
-
title =
|
|
13579
|
+
title = _chunkQ5XGBLT5cjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13580
13580
|
showTitle = true,
|
|
13581
13581
|
filterPublished = true,
|
|
13582
13582
|
profile = null,
|
|
@@ -13589,7 +13589,7 @@ function VideoBitesStrip({
|
|
|
13589
13589
|
cardHeightMobile = 300,
|
|
13590
13590
|
showChevrons = true,
|
|
13591
13591
|
onBiteNavigate,
|
|
13592
|
-
sortComparator =
|
|
13592
|
+
sortComparator = _chunkQ5XGBLT5cjs.sortBitesByCreatedAtDesc,
|
|
13593
13593
|
className
|
|
13594
13594
|
}) {
|
|
13595
13595
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -13814,7 +13814,7 @@ function EntityVideoSection({
|
|
|
13814
13814
|
title = "Video",
|
|
13815
13815
|
videoSummary,
|
|
13816
13816
|
videoBites,
|
|
13817
|
-
bitesTitle =
|
|
13817
|
+
bitesTitle = _chunkQ5XGBLT5cjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13818
13818
|
filterPublishedBites = true,
|
|
13819
13819
|
bitesProfile = null,
|
|
13820
13820
|
bitesHref,
|
|
@@ -14053,7 +14053,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
14053
14053
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
14054
14054
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
14055
14055
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
14056
|
-
const dateText =
|
|
14056
|
+
const dateText = _chunkQ5XGBLT5cjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14057
14057
|
const idLabel = formatActivityId(item.id, kind);
|
|
14058
14058
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
14059
14059
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -14087,26 +14087,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14087
14087
|
metaParts.push(
|
|
14088
14088
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14089
14089
|
);
|
|
14090
|
-
const href =
|
|
14090
|
+
const href = _chunkQ5XGBLT5cjs.safeHref.call(void 0, item.url);
|
|
14091
14091
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14093
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14094
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14093
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14094
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14095
14095
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14096
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14097
14097
|
] }),
|
|
14098
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14098
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14099
14099
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14100
14100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14101
14101
|
] }, i)) }) }),
|
|
14102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SUMMARY, children: _chunkQ5XGBLT5cjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14103
14103
|
] }),
|
|
14104
14104
|
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
|
|
14105
14105
|
] });
|
|
14106
14106
|
if (anchorProps) {
|
|
14107
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14107
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14108
14108
|
}
|
|
14109
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14109
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14110
14110
|
}
|
|
14111
14111
|
function GitHubActivityCardSkeleton({
|
|
14112
14112
|
variant = "compact",
|
|
@@ -14123,12 +14123,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14123
14123
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14124
14124
|
] });
|
|
14125
14125
|
}
|
|
14126
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14128
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14130
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14131
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14126
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14128
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14131
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SUMMARY, children: _chunkQ5XGBLT5cjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14132
14132
|
] }),
|
|
14133
14133
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14134
14134
|
] });
|
|
@@ -14152,7 +14152,7 @@ function parseChannelFromUrl(url) {
|
|
|
14152
14152
|
}
|
|
14153
14153
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
14154
14154
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
14155
|
-
const dateText =
|
|
14155
|
+
const dateText = _chunkQ5XGBLT5cjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14156
14156
|
if (variant === "row") {
|
|
14157
14157
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14158
14158
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -14178,23 +14178,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14178
14178
|
metaParts.push(
|
|
14179
14179
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14180
14180
|
);
|
|
14181
|
-
const href =
|
|
14181
|
+
const href = _chunkQ5XGBLT5cjs.safeHref.call(void 0, item.url);
|
|
14182
14182
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14183
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14184
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14185
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14186
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14187
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14183
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14184
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14186
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkQ5XGBLT5cjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14187
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14188
14188
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14189
14189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14190
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14190
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SUMMARY, children: _chunkQ5XGBLT5cjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14191
14191
|
] }),
|
|
14192
14192
|
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
|
|
14193
14193
|
] });
|
|
14194
14194
|
if (anchorProps) {
|
|
14195
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14195
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14196
14196
|
}
|
|
14197
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14197
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14198
14198
|
}
|
|
14199
14199
|
function SlackMessageCardSkeleton({
|
|
14200
14200
|
variant = "compact",
|
|
@@ -14209,12 +14209,12 @@ function SlackMessageCardSkeleton({
|
|
|
14209
14209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14210
14210
|
] });
|
|
14211
14211
|
}
|
|
14212
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14213
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14214
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14215
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14217
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14212
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14213
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14214
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14215
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14217
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14218
14218
|
] }),
|
|
14219
14219
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14220
14220
|
] });
|
|
@@ -14245,12 +14245,12 @@ function statusScheme(status) {
|
|
|
14245
14245
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
14246
14246
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
14247
14247
|
const priorityText = formatToken(item.priority);
|
|
14248
|
-
const dateText =
|
|
14248
|
+
const dateText = _chunkQ5XGBLT5cjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14249
14249
|
if (variant === "row") {
|
|
14250
14250
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14251
14251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14252
14252
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
|
|
14253
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14253
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14254
14254
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14255
14255
|
] });
|
|
14256
14256
|
}
|
|
@@ -14264,13 +14264,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14264
14264
|
metaParts.push(
|
|
14265
14265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14266
14266
|
);
|
|
14267
|
-
const href =
|
|
14267
|
+
const href = _chunkQ5XGBLT5cjs.safeHref.call(void 0, item.url);
|
|
14268
14268
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14269
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14269
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14270
14270
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14271
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14272
14272
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14273
|
-
|
|
14273
|
+
_chunkQ5XGBLT5cjs.StatusBadge,
|
|
14274
14274
|
{
|
|
14275
14275
|
text: priorityText,
|
|
14276
14276
|
variant: "button",
|
|
@@ -14279,7 +14279,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14279
14279
|
}
|
|
14280
14280
|
) : null,
|
|
14281
14281
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14282
|
-
|
|
14282
|
+
_chunkQ5XGBLT5cjs.StatusBadge,
|
|
14283
14283
|
{
|
|
14284
14284
|
text: statusText,
|
|
14285
14285
|
variant: "button",
|
|
@@ -14293,7 +14293,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14293
14293
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14294
14294
|
] }) : null,
|
|
14295
14295
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
14296
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14296
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14297
14297
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14298
14298
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14299
14299
|
] }, i)) }) }) : null
|
|
@@ -14301,9 +14301,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14301
14301
|
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
|
|
14302
14302
|
] });
|
|
14303
14303
|
if (anchorProps) {
|
|
14304
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14304
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14305
14305
|
}
|
|
14306
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14306
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14307
14307
|
}
|
|
14308
14308
|
function HubspotTicketCardSkeleton({
|
|
14309
14309
|
variant = "compact",
|
|
@@ -14317,8 +14317,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14317
14317
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14318
14318
|
] });
|
|
14319
14319
|
}
|
|
14320
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14321
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14320
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14321
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14322
14322
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14323
14323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14324
14324
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14331,7 +14331,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14331
14331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14332
14332
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14333
14333
|
] }),
|
|
14334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14334
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14335
14335
|
] }),
|
|
14336
14336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14337
14337
|
] });
|
|
@@ -14342,10 +14342,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14342
14342
|
|
|
14343
14343
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14344
14344
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14345
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14345
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14346
14346
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14349
14349
|
] }),
|
|
14350
14350
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
|
|
14351
14351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14356,13 +14356,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14356
14356
|
_optionalChain([anchorProps, 'optionalAccess', _344 => _344.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
|
|
14357
14357
|
] });
|
|
14358
14358
|
if (!anchorProps) {
|
|
14359
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14359
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14360
14360
|
}
|
|
14361
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14361
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14362
14362
|
}
|
|
14363
14363
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14364
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14365
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14364
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14365
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14366
14366
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14367
14367
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14368
14368
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14383,29 +14383,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14383
14383
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14384
14384
|
const goalsCount = _optionalChain([campaign, 'access', _345 => _345.goals, 'optionalAccess', _346 => _346.length]) || 0;
|
|
14385
14385
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14387
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14389
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14390
|
-
campaign.start_date ?
|
|
14386
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14387
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14390
|
+
campaign.start_date ? _chunkQ5XGBLT5cjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14391
14391
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14392
14392
|
"Marketing campaign"
|
|
14393
14393
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkQ5XGBLT5cjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14395
14395
|
] })
|
|
14396
14396
|
] });
|
|
14397
14397
|
if (anchorProps) {
|
|
14398
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14398
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14399
14399
|
}
|
|
14400
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14400
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14401
14401
|
}
|
|
14402
14402
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14403
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14404
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14405
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14408
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14403
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14404
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14405
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14407
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14408
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14409
14409
|
] })
|
|
14410
14410
|
] });
|
|
14411
14411
|
}
|
|
@@ -14414,14 +14414,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14414
14414
|
|
|
14415
14415
|
|
|
14416
14416
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14417
|
-
const href =
|
|
14418
|
-
const dateText =
|
|
14417
|
+
const href = _chunkQ5XGBLT5cjs.safeHref.call(void 0, item.url);
|
|
14418
|
+
const dateText = _chunkQ5XGBLT5cjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14419
14419
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14420
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14420
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14421
14421
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14422
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14423
14423
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14424
|
-
|
|
14424
|
+
_chunkQ5XGBLT5cjs.StatusBadge,
|
|
14425
14425
|
{
|
|
14426
14426
|
text: item.badge.text,
|
|
14427
14427
|
variant: "button",
|
|
@@ -14439,18 +14439,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14439
14439
|
] }),
|
|
14440
14440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14441
14441
|
] }, i)) }) : null,
|
|
14442
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14442
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14443
14443
|
] }),
|
|
14444
14444
|
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
|
|
14445
14445
|
] });
|
|
14446
14446
|
if (anchorProps) {
|
|
14447
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14447
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14448
14448
|
}
|
|
14449
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14449
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14450
14450
|
}
|
|
14451
14451
|
function GenericEntityCardSkeleton({ className }) {
|
|
14452
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14453
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14452
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14453
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14454
14454
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14455
14455
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14456
14456
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14499,8 +14499,8 @@ function useChatCardItem(type, id) {
|
|
|
14499
14499
|
const res = await _chunkEHAYNUOLcjs.embedAuthedFetch.call(void 0, url);
|
|
14500
14500
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14501
14501
|
const data = await res.json();
|
|
14502
|
-
const items =
|
|
14503
|
-
const match = items.find((it) =>
|
|
14502
|
+
const items = _chunkQ5XGBLT5cjs.extractItems.call(void 0, data);
|
|
14503
|
+
const match = items.find((it) => _chunkQ5XGBLT5cjs.extractItemId.call(void 0, type, it) === id);
|
|
14504
14504
|
return _nullishCoalesce(match, () => ( null));
|
|
14505
14505
|
},
|
|
14506
14506
|
enabled: !!url && id.length > 0,
|
|
@@ -14533,7 +14533,7 @@ function useChatCardItem(type, id) {
|
|
|
14533
14533
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
14534
14534
|
if (imageSrc) {
|
|
14535
14535
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
14536
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children:
|
|
14536
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: _chunkQ5XGBLT5cjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
14537
14537
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14538
14538
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
14539
14539
|
{
|
|
@@ -14691,7 +14691,7 @@ function resolveFetchedCardHref({
|
|
|
14691
14691
|
composeContentUrl
|
|
14692
14692
|
}) {
|
|
14693
14693
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14694
|
-
const canonicalType =
|
|
14694
|
+
const canonicalType = _chunkQ5XGBLT5cjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14695
14695
|
return composeContentUrl({
|
|
14696
14696
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14697
14697
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14901,16 +14901,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14901
14901
|
if (docTarget) {
|
|
14902
14902
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14903
14903
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14904
|
-
href = _nullishCoalesce(
|
|
14904
|
+
href = _nullishCoalesce(_chunkQ5XGBLT5cjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14905
14905
|
targetPlatform = docTarget.platform;
|
|
14906
14906
|
} else if (ctx.chipBasePlatform) {
|
|
14907
14907
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14908
|
-
href = _nullishCoalesce(
|
|
14908
|
+
href = _nullishCoalesce(_chunkQ5XGBLT5cjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14909
14909
|
targetPlatform = ctx.chipBasePlatform;
|
|
14910
14910
|
} else if (ctx.baseRoute) {
|
|
14911
14911
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14912
14912
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14913
|
-
href = _nullishCoalesce(
|
|
14913
|
+
href = _nullishCoalesce(_chunkQ5XGBLT5cjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14914
14914
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14915
14915
|
}
|
|
14916
14916
|
}
|
|
@@ -14919,15 +14919,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14919
14919
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14920
14920
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14921
14921
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14922
|
-
type:
|
|
14922
|
+
type: _chunkQ5XGBLT5cjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14923
14923
|
identifier: idValue,
|
|
14924
14924
|
externalUrl: row.externalUrl,
|
|
14925
14925
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14926
14926
|
});
|
|
14927
|
-
href = composed.href ? _nullishCoalesce(
|
|
14927
|
+
href = composed.href ? _nullishCoalesce(_chunkQ5XGBLT5cjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14928
14928
|
targetPlatform = composed.targetPlatform;
|
|
14929
14929
|
} else if (row.externalUrl) {
|
|
14930
|
-
href = _nullishCoalesce(
|
|
14930
|
+
href = _nullishCoalesce(_chunkQ5XGBLT5cjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14931
14931
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14932
14932
|
}
|
|
14933
14933
|
const documentType = row.documentType;
|
|
@@ -14962,11 +14962,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
14962
14962
|
|
|
14963
14963
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
14964
14964
|
const label = entityLabel || "Item";
|
|
14965
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
14966
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14967
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
14968
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14969
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14965
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14966
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
14967
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14968
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkQ5XGBLT5cjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
14969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkQ5XGBLT5cjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
14970
14970
|
label,
|
|
14971
14971
|
" deleted",
|
|
14972
14972
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -15012,7 +15012,7 @@ function GitHubChatCard({
|
|
|
15012
15012
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
15013
15013
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
15014
15014
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
15015
|
-
const dateText =
|
|
15015
|
+
const dateText = _chunkQ5XGBLT5cjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
15016
15016
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
15017
15017
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15018
15018
|
MingoInfoCard,
|
|
@@ -15021,7 +15021,7 @@ function GitHubChatCard({
|
|
|
15021
15021
|
description,
|
|
15022
15022
|
icon: githubKindIcon(kind),
|
|
15023
15023
|
status,
|
|
15024
|
-
anchorProps:
|
|
15024
|
+
anchorProps: _chunkQ5XGBLT5cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15025
15025
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15026
15026
|
menuAriaLabel: "Activity actions"
|
|
15027
15027
|
}
|
|
@@ -15168,7 +15168,7 @@ function HubspotTicketChatCard({
|
|
|
15168
15168
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15169
15169
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TagIcon, { size: 24 }),
|
|
15170
15170
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15171
|
-
anchorProps:
|
|
15171
|
+
anchorProps: _chunkQ5XGBLT5cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15172
15172
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15173
15173
|
label: "Open Ticket Details",
|
|
15174
15174
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TagIcon, { size: 20 })
|
|
@@ -15191,7 +15191,7 @@ function FaqChatCard({
|
|
|
15191
15191
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15192
15192
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.QuestionCircleIcon, { size: 24 }),
|
|
15193
15193
|
status: { label: statusLabel, variant: "grey" },
|
|
15194
|
-
anchorProps:
|
|
15194
|
+
anchorProps: _chunkQ5XGBLT5cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15195
15195
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15196
15196
|
menuAriaLabel: "FAQ actions"
|
|
15197
15197
|
}
|
|
@@ -15211,7 +15211,7 @@ function SlackChatCard({
|
|
|
15211
15211
|
title,
|
|
15212
15212
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15213
15213
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15214
|
-
anchorProps:
|
|
15214
|
+
anchorProps: _chunkQ5XGBLT5cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15215
15215
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15216
15216
|
menuAriaLabel: "Message actions"
|
|
15217
15217
|
}
|
|
@@ -15229,7 +15229,7 @@ function GlyphChatCard({
|
|
|
15229
15229
|
title: chatRef.title,
|
|
15230
15230
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15231
15231
|
icon,
|
|
15232
|
-
anchorProps:
|
|
15232
|
+
anchorProps: _chunkQ5XGBLT5cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15233
15233
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15234
15234
|
menuAriaLabel: "Card actions"
|
|
15235
15235
|
}
|
|
@@ -15248,7 +15248,7 @@ function DataRoomDocChatCard({
|
|
|
15248
15248
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15249
15249
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.FileContentIcon, { size: 24 }),
|
|
15250
15250
|
status: { label: badgeText, variant: "grey" },
|
|
15251
|
-
anchorProps:
|
|
15251
|
+
anchorProps: _chunkQ5XGBLT5cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15252
15252
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15253
15253
|
menuAriaLabel: "Document actions"
|
|
15254
15254
|
}
|
|
@@ -15267,7 +15267,7 @@ function GenericFinancialChatCard({
|
|
|
15267
15267
|
title: chatRef.title,
|
|
15268
15268
|
description: subtitle,
|
|
15269
15269
|
icon,
|
|
15270
|
-
anchorProps:
|
|
15270
|
+
anchorProps: _chunkQ5XGBLT5cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15271
15271
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15272
15272
|
menuAriaLabel: "Document actions"
|
|
15273
15273
|
}
|
|
@@ -15353,7 +15353,7 @@ function CampaignChatCard({
|
|
|
15353
15353
|
}) {
|
|
15354
15354
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _378 => _378.goals])) ? item.goals.length : 0;
|
|
15355
15355
|
const meta = [
|
|
15356
|
-
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ?
|
|
15356
|
+
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ? _chunkQ5XGBLT5cjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15357
15357
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15358
15358
|
"Marketing campaign"
|
|
15359
15359
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15392,7 +15392,7 @@ function EntityMingoCard({
|
|
|
15392
15392
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15393
15393
|
icon: fallbackIcon,
|
|
15394
15394
|
status,
|
|
15395
|
-
anchorProps:
|
|
15395
|
+
anchorProps: _chunkQ5XGBLT5cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15396
15396
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15397
15397
|
menuAriaLabel
|
|
15398
15398
|
}
|
|
@@ -15404,7 +15404,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15404
15404
|
function statusPill(status) {
|
|
15405
15405
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15406
15406
|
if (!s) return void 0;
|
|
15407
|
-
const scheme =
|
|
15407
|
+
const scheme = _chunkQ5XGBLT5cjs.getStatusColorScheme.call(void 0, s);
|
|
15408
15408
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15409
15409
|
return { label: s, variant };
|
|
15410
15410
|
}
|
|
@@ -15491,7 +15491,7 @@ function InvestorUpdateChatCard({
|
|
|
15491
15491
|
EntityMingoCard,
|
|
15492
15492
|
{
|
|
15493
15493
|
title,
|
|
15494
|
-
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) ||
|
|
15494
|
+
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) || _chunkQ5XGBLT5cjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _409 => _409.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _410 => _410.period_end]), () => ( null))) || void 0,
|
|
15495
15495
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _411 => _411.featured_image]), ogPlaceholder),
|
|
15496
15496
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PresentationLineIcon, { size: 24 }),
|
|
15497
15497
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15538,15 +15538,15 @@ function ProgramChatCard({
|
|
|
15538
15538
|
const isScheduled = _optionalChain([item, 'optionalAccess', _418 => _418.status]) === "scheduled";
|
|
15539
15539
|
let typeMeta;
|
|
15540
15540
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
15541
|
-
typeMeta =
|
|
15541
|
+
typeMeta = _chunkQ5XGBLT5cjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
15542
15542
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _420 => _420.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
15543
15543
|
typeMeta = item.location_name;
|
|
15544
15544
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _421 => _421.start_at])) {
|
|
15545
|
-
const time =
|
|
15546
|
-
const dur =
|
|
15545
|
+
const time = _chunkQ5XGBLT5cjs.formatTimeWithTimezone.call(void 0, item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
15546
|
+
const dur = _chunkQ5XGBLT5cjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
15547
15547
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
15548
15548
|
}
|
|
15549
|
-
const itemDate =
|
|
15549
|
+
const itemDate = _chunkQ5XGBLT5cjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _422 => _422.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
15550
15550
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
15551
15551
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15552
15552
|
EntityMingoCard,
|
|
@@ -15573,7 +15573,7 @@ function RoadmapChatCard({
|
|
|
15573
15573
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _426 => _426.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15574
15574
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]) != null;
|
|
15575
15575
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MapIcon, { size: 24 });
|
|
15576
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15576
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _428 => _428.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15577
15577
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15578
15578
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15579
15579
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15719,7 +15719,7 @@ function programRegistryEntries() {
|
|
|
15719
15719
|
label: cfg.label,
|
|
15720
15720
|
contentRefType: cfg.contentRefType,
|
|
15721
15721
|
bareInline: true,
|
|
15722
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15722
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15723
15723
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15724
15724
|
ProgramChatCard,
|
|
15725
15725
|
{
|
|
@@ -15760,7 +15760,7 @@ function roadmapRegistryEntries() {
|
|
|
15760
15760
|
bareInline: true,
|
|
15761
15761
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15762
15762
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15763
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15763
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15764
15764
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15765
15765
|
RoadmapChatCard,
|
|
15766
15766
|
{
|
|
@@ -15836,7 +15836,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15836
15836
|
label: "Blog post",
|
|
15837
15837
|
contentRefType: "blog_post_existing",
|
|
15838
15838
|
bareInline: true,
|
|
15839
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15839
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.BlogCardSkeleton, { size: "sm" }),
|
|
15840
15840
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15841
15841
|
BlogChatCard,
|
|
15842
15842
|
{
|
|
@@ -15853,7 +15853,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15853
15853
|
label: "Case study",
|
|
15854
15854
|
contentRefType: "case_study",
|
|
15855
15855
|
bareInline: true,
|
|
15856
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15856
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
15857
15857
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15858
15858
|
CaseStudyChatCard,
|
|
15859
15859
|
{
|
|
@@ -15869,7 +15869,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15869
15869
|
label: "Customer interview",
|
|
15870
15870
|
contentRefType: "customer_interview",
|
|
15871
15871
|
bareInline: true,
|
|
15872
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15872
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
15873
15873
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15874
15874
|
CustomerInterviewChatCard,
|
|
15875
15875
|
{
|
|
@@ -15885,9 +15885,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15885
15885
|
label: "Product release",
|
|
15886
15886
|
contentRefType: "product_release",
|
|
15887
15887
|
bareInline: true,
|
|
15888
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15888
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
15889
15889
|
render: (item, chatRef, opts) => {
|
|
15890
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => (
|
|
15890
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => ( _chunkQ5XGBLT5cjs.defaultBuildProductReleaseCardProps));
|
|
15891
15891
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15892
15892
|
ProductReleaseChatCard,
|
|
15893
15893
|
{
|
|
@@ -15905,7 +15905,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15905
15905
|
label: "Investor update",
|
|
15906
15906
|
contentRefType: "investor_update",
|
|
15907
15907
|
bareInline: true,
|
|
15908
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15908
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
15909
15909
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15910
15910
|
InvestorUpdateChatCard,
|
|
15911
15911
|
{
|
|
@@ -15923,7 +15923,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15923
15923
|
bareInline: true,
|
|
15924
15924
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
15925
15925
|
displayAction: true,
|
|
15926
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15926
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ5XGBLT5cjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
15927
15927
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15928
15928
|
OnboardingGuideChatCard,
|
|
15929
15929
|
{
|
|
@@ -16023,13 +16023,13 @@ function ChatCardLoader({
|
|
|
16023
16023
|
}) : null;
|
|
16024
16024
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
16025
16025
|
...resolvedChatRef,
|
|
16026
|
-
url:
|
|
16026
|
+
url: _chunkQ5XGBLT5cjs.safeHref.call(void 0, hrefChoice.href),
|
|
16027
16027
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
16028
16028
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
16029
16029
|
} : resolvedChatRef;
|
|
16030
16030
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
16031
16031
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
16032
|
-
const isNewTab =
|
|
16032
|
+
const isNewTab = _chunkQ5XGBLT5cjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
16033
16033
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
16034
16034
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16035
16035
|
const discuss = discussFn ? {
|
|
@@ -17523,7 +17523,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17523
17523
|
return () => root.removeEventListener("click", onClick);
|
|
17524
17524
|
}, [viewUrlPrefix]);
|
|
17525
17525
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17526
|
-
|
|
17526
|
+
_chunkQ5XGBLT5cjs.ImageGalleryModal,
|
|
17527
17527
|
{
|
|
17528
17528
|
images: state.images,
|
|
17529
17529
|
isOpen: state.isOpen,
|
|
@@ -24327,7 +24327,7 @@ function SourceChip({
|
|
|
24327
24327
|
const Icon = cta.icon;
|
|
24328
24328
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24329
24329
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24330
|
-
const decideTab = (href, targetPlatform) =>
|
|
24330
|
+
const decideTab = (href, targetPlatform) => _chunkQ5XGBLT5cjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24331
24331
|
if (src.items && src.items.length > 0) {
|
|
24332
24332
|
const dropdownItems = src.items.map((item) => {
|
|
24333
24333
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24416,7 +24416,7 @@ function SourceChip({
|
|
|
24416
24416
|
"a",
|
|
24417
24417
|
{
|
|
24418
24418
|
href: resolvedHref,
|
|
24419
|
-
...
|
|
24419
|
+
..._chunkQ5XGBLT5cjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24420
24420
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24421
24421
|
className: chipClass,
|
|
24422
24422
|
children: chipBody(src.name)
|
|
@@ -24432,7 +24432,7 @@ function SourceChip({
|
|
|
24432
24432
|
"a",
|
|
24433
24433
|
{
|
|
24434
24434
|
href: resolvedHref,
|
|
24435
|
-
...
|
|
24435
|
+
..._chunkQ5XGBLT5cjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24436
24436
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24437
24437
|
className: chipClass,
|
|
24438
24438
|
title: displayName,
|
|
@@ -25228,7 +25228,7 @@ function EmbeddableChatInner({
|
|
|
25228
25228
|
headerAvatar ? (
|
|
25229
25229
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
25230
25230
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25231
|
-
|
|
25231
|
+
_chunkQ5XGBLT5cjs.SquareAvatar,
|
|
25232
25232
|
{
|
|
25233
25233
|
variant: "round",
|
|
25234
25234
|
sizePx: 32,
|
|
@@ -25947,4 +25947,4 @@ function EmbeddableChatInner({
|
|
|
25947
25947
|
|
|
25948
25948
|
|
|
25949
25949
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardSkeleton = AdminContentCardSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat;
|
|
25950
|
-
//# sourceMappingURL=chunk-
|
|
25950
|
+
//# sourceMappingURL=chunk-MSVEZB5D.cjs.map
|