@flamingo-stack/openframe-frontend-core 0.0.616 → 0.0.617-snapshot.20260912211033
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-NLKYBYPV.js → chunk-2DTZXXY3.js} +5 -5
- package/dist/{chunk-F7R7J4HK.cjs → chunk-3FTNQDLP.cjs} +5 -5
- package/dist/{chunk-F7R7J4HK.cjs.map → chunk-3FTNQDLP.cjs.map} +1 -1
- package/dist/{chunk-JYHDJD3U.js → chunk-5P74E24M.js} +5 -5
- package/dist/{chunk-BLUL2TE3.js → chunk-6XJS3WU7.js} +2 -2
- package/dist/{chunk-QPAPUIF3.cjs → chunk-7ZEQMFP3.cjs} +30 -30
- package/dist/{chunk-QPAPUIF3.cjs.map → chunk-7ZEQMFP3.cjs.map} +1 -1
- package/dist/{chunk-OKWHWDA3.js → chunk-ANMD7SM4.js} +3 -3
- package/dist/{chunk-TDA355L7.cjs → chunk-BGDYSUA2.cjs} +11 -11
- package/dist/{chunk-TDA355L7.cjs.map → chunk-BGDYSUA2.cjs.map} +1 -1
- package/dist/{chunk-X6G7JIX6.cjs → chunk-BXNSKTEG.cjs} +57 -57
- package/dist/{chunk-X6G7JIX6.cjs.map → chunk-BXNSKTEG.cjs.map} +1 -1
- package/dist/{chunk-N3G3YG3V.cjs → chunk-CM6DNLK7.cjs} +579 -471
- package/dist/chunk-CM6DNLK7.cjs.map +1 -0
- package/dist/{chunk-TOAJWB3V.js → chunk-CWMKY2UJ.js} +3 -3
- package/dist/{chunk-UQEOAPAI.cjs → chunk-E2EGTHYA.cjs} +28 -12
- package/dist/chunk-E2EGTHYA.cjs.map +1 -0
- package/dist/{chunk-YSG26SQ7.cjs → chunk-E7VXPU3R.cjs} +33 -33
- package/dist/{chunk-YSG26SQ7.cjs.map → chunk-E7VXPU3R.cjs.map} +1 -1
- package/dist/{chunk-TOXJS4HN.cjs → chunk-EJGZIYC7.cjs} +6 -6
- package/dist/{chunk-TOXJS4HN.cjs.map → chunk-EJGZIYC7.cjs.map} +1 -1
- package/dist/{chunk-NLYWRJ6J.cjs → chunk-EXEXX34Q.cjs} +28 -28
- package/dist/{chunk-NLYWRJ6J.cjs.map → chunk-EXEXX34Q.cjs.map} +1 -1
- package/dist/{chunk-FP5WYJ3S.js → chunk-FCN2HN6Q.js} +2 -2
- package/dist/{chunk-KIQNMCOO.cjs → chunk-G7NEMLNW.cjs} +10 -10
- package/dist/{chunk-KIQNMCOO.cjs.map → chunk-G7NEMLNW.cjs.map} +1 -1
- package/dist/{chunk-4C3BOBV6.js → chunk-GD7CV2JI.js} +6 -6
- package/dist/{chunk-KKYE3E66.js → chunk-GFWKEWEH.js} +4 -4
- package/dist/{chunk-RU3IKVY2.js → chunk-GXUGYZ6H.js} +27 -11
- package/dist/chunk-GXUGYZ6H.js.map +1 -0
- package/dist/{chunk-FBL32U6S.cjs → chunk-IDMEC4ZK.cjs} +22 -22
- package/dist/{chunk-FBL32U6S.cjs.map → chunk-IDMEC4ZK.cjs.map} +1 -1
- package/dist/{chunk-646YZIUK.js → chunk-IPHA3AQ6.js} +7 -7
- package/dist/{chunk-A6ZMLRBR.js → chunk-J25M43YI.js} +6 -6
- package/dist/{chunk-RJT7I2Y4.cjs → chunk-K26VN65M.cjs} +15 -15
- package/dist/{chunk-RJT7I2Y4.cjs.map → chunk-K26VN65M.cjs.map} +1 -1
- package/dist/{chunk-5WHUUHSH.cjs → chunk-MOC7JLEP.cjs} +80 -80
- package/dist/{chunk-5WHUUHSH.cjs.map → chunk-MOC7JLEP.cjs.map} +1 -1
- package/dist/{chunk-TWE6KYQM.js → chunk-NUU5ZEEG.js} +4 -4
- package/dist/{chunk-GHMTJJCC.cjs → chunk-PIJK3FV6.cjs} +3 -3
- package/dist/{chunk-GHMTJJCC.cjs.map → chunk-PIJK3FV6.cjs.map} +1 -1
- package/dist/{chunk-L6UVTIJP.cjs → chunk-RDEFB354.cjs} +6 -6
- package/dist/{chunk-L6UVTIJP.cjs.map → chunk-RDEFB354.cjs.map} +1 -1
- package/dist/{chunk-7GLJC4EO.cjs → chunk-ROQTWRV7.cjs} +145 -145
- package/dist/{chunk-7GLJC4EO.cjs.map → chunk-ROQTWRV7.cjs.map} +1 -1
- package/dist/{chunk-L3H6VYDB.js → chunk-RROIA6WY.js} +2 -2
- package/dist/{chunk-H6TOSMGU.cjs → chunk-U6B3MM4U.cjs} +20 -20
- package/dist/{chunk-H6TOSMGU.cjs.map → chunk-U6B3MM4U.cjs.map} +1 -1
- package/dist/{chunk-BESOUYM7.cjs → chunk-UKFBPJBK.cjs} +29 -29
- package/dist/{chunk-BESOUYM7.cjs.map → chunk-UKFBPJBK.cjs.map} +1 -1
- package/dist/{chunk-RRGQTQ6T.js → chunk-UUXLDIK3.js} +3 -3
- package/dist/{chunk-UMVCVMCG.js → chunk-VRN5YYD3.js} +3 -3
- package/dist/{chunk-XJ5KH37F.js → chunk-WVRXDGGP.js} +3 -3
- package/dist/{chunk-HIMST6NK.js → chunk-XUNFDRMP.js} +3 -3
- package/dist/{chunk-AJRHEX5D.js → chunk-YCZBCEQO.js} +2577 -2469
- package/dist/chunk-YCZBCEQO.js.map +1 -0
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- 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 +57 -53
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +19 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.js +5 -5
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- 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/avatar-stack.d.ts +16 -3
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-header.d.ts +9 -1
- package/dist/components/ui/data-table/data-table-header.d.ts.map +1 -1
- package/dist/components/ui/data-table/types.d.ts +9 -0
- package/dist/components/ui/data-table/types.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +8 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +7 -3
- package/dist/components/ui/people-cell.d.ts +46 -0
- package/dist/components/ui/people-cell.d.ts.map +1 -0
- package/dist/components/ui/table/table-header.d.ts.map +1 -1
- package/dist/components/ui/table/types.d.ts +7 -0
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/index.cjs +14 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -7
- package/dist/index.js.map +1 -1
- package/dist/utils/format.d.ts +8 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +5 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +5 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/data-table-header-hint.test.tsx +69 -0
- package/src/components/meeting-scheduler/context-panel.tsx +1 -1
- package/src/components/meeting-scheduler/directory.tsx +1 -1
- package/src/components/ui/__tests__/people-cell.test.tsx +97 -0
- package/src/components/ui/avatar-stack.tsx +40 -13
- package/src/components/ui/data-table/data-table-header.tsx +47 -11
- package/src/components/ui/data-table/types.ts +9 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/people-cell.tsx +133 -0
- package/src/components/ui/table/__tests__/header-hint.test.tsx +85 -0
- package/src/components/ui/table/table-header.tsx +34 -9
- package/src/components/ui/table/types.ts +7 -0
- package/src/utils/format.ts +13 -0
- package/src/utils/index.ts +1 -0
- package/dist/chunk-AJRHEX5D.js.map +0 -1
- package/dist/chunk-N3G3YG3V.cjs.map +0 -1
- package/dist/chunk-RU3IKVY2.js.map +0 -1
- package/dist/chunk-UQEOAPAI.cjs.map +0 -1
- /package/dist/{chunk-NLKYBYPV.js.map → chunk-2DTZXXY3.js.map} +0 -0
- /package/dist/{chunk-JYHDJD3U.js.map → chunk-5P74E24M.js.map} +0 -0
- /package/dist/{chunk-BLUL2TE3.js.map → chunk-6XJS3WU7.js.map} +0 -0
- /package/dist/{chunk-OKWHWDA3.js.map → chunk-ANMD7SM4.js.map} +0 -0
- /package/dist/{chunk-TOAJWB3V.js.map → chunk-CWMKY2UJ.js.map} +0 -0
- /package/dist/{chunk-FP5WYJ3S.js.map → chunk-FCN2HN6Q.js.map} +0 -0
- /package/dist/{chunk-4C3BOBV6.js.map → chunk-GD7CV2JI.js.map} +0 -0
- /package/dist/{chunk-KKYE3E66.js.map → chunk-GFWKEWEH.js.map} +0 -0
- /package/dist/{chunk-646YZIUK.js.map → chunk-IPHA3AQ6.js.map} +0 -0
- /package/dist/{chunk-A6ZMLRBR.js.map → chunk-J25M43YI.js.map} +0 -0
- /package/dist/{chunk-TWE6KYQM.js.map → chunk-NUU5ZEEG.js.map} +0 -0
- /package/dist/{chunk-L3H6VYDB.js.map → chunk-RROIA6WY.js.map} +0 -0
- /package/dist/{chunk-RRGQTQ6T.js.map → chunk-UUXLDIK3.js.map} +0 -0
- /package/dist/{chunk-UMVCVMCG.js.map → chunk-VRN5YYD3.js.map} +0 -0
- /package/dist/{chunk-XJ5KH37F.js.map → chunk-WVRXDGGP.js.map} +0 -0
- /package/dist/{chunk-HIMST6NK.js.map → chunk-XUNFDRMP.js.map} +0 -0
|
@@ -170,7 +170,7 @@ var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
|
170
170
|
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
var
|
|
173
|
+
var _chunkE2EGTHYAcjs = require('./chunk-E2EGTHYA.cjs');
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -4781,7 +4781,7 @@ function MspOrganizationCard({
|
|
|
4781
4781
|
className
|
|
4782
4782
|
),
|
|
4783
4783
|
children: [
|
|
4784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4785
4785
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4786
4786
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4787
4787
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
@@ -4914,7 +4914,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4914
4914
|
] })
|
|
4915
4915
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4916
4916
|
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,
|
|
4917
|
-
|
|
4917
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
4918
4918
|
{
|
|
4919
4919
|
src: userAvatar,
|
|
4920
4920
|
alt: userName,
|
|
@@ -7295,7 +7295,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7295
7295
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7296
7296
|
// no filled pill — the icon carries its own brand accent.
|
|
7297
7297
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7298
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7298
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.SquareAvatar, { ...avatarProps })),
|
|
7299
7299
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7300
7300
|
"span",
|
|
7301
7301
|
{
|
|
@@ -8091,7 +8091,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8091
8091
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8092
8092
|
function useProxiedImageUrl(url) {
|
|
8093
8093
|
const r = _chunkUPKZU6QUcjs.useRequiredChatRuntime.call(void 0, );
|
|
8094
|
-
return _nullishCoalesce(
|
|
8094
|
+
return _nullishCoalesce(_chunkE2EGTHYAcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8095
8095
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8096
8096
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8097
8097
|
directHttps: true
|
|
@@ -8117,7 +8117,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8117
8117
|
height: 40,
|
|
8118
8118
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8119
8119
|
}
|
|
8120
|
-
) : /* @__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:
|
|
8120
|
+
) : /* @__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: _chunkE2EGTHYAcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8121
8121
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8122
8122
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8123
8123
|
/* @__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 }),
|
|
@@ -9421,7 +9421,7 @@ function MingoChatHistoryRow({
|
|
|
9421
9421
|
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")
|
|
9422
9422
|
),
|
|
9423
9423
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9424
|
-
|
|
9424
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
9425
9425
|
{
|
|
9426
9426
|
variant: "round",
|
|
9427
9427
|
sizePx: 24,
|
|
@@ -10562,7 +10562,7 @@ function ChatPanelHeader({
|
|
|
10562
10562
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10563
10563
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10564
10564
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10565
|
-
|
|
10565
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
10566
10566
|
{
|
|
10567
10567
|
variant: "round",
|
|
10568
10568
|
sizePx: 32,
|
|
@@ -10776,8 +10776,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10776
10776
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10777
10777
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10778
10778
|
status === "sniffing" && "Checking\u2026",
|
|
10779
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10780
|
-
status === "ready" &&
|
|
10779
|
+
status === "uploading" && `${progress}% \xB7 ${_chunkE2EGTHYAcjs.formatFileSize.call(void 0, file.size)}`,
|
|
10780
|
+
status === "ready" && _chunkE2EGTHYAcjs.formatFileSize.call(void 0, file.size),
|
|
10781
10781
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10782
10782
|
] })
|
|
10783
10783
|
] }),
|
|
@@ -11574,10 +11574,10 @@ function resolveExternalNavigation(args) {
|
|
|
11574
11574
|
|
|
11575
11575
|
// src/components/chat/utils/execute-navigation.ts
|
|
11576
11576
|
function isForeignOriginHref(href) {
|
|
11577
|
-
return /^https?:\/\//i.test(href) && !
|
|
11577
|
+
return /^https?:\/\//i.test(href) && !_chunkE2EGTHYAcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
11578
11578
|
}
|
|
11579
11579
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
11580
|
-
const isNewTab = runtime ?
|
|
11580
|
+
const isNewTab = runtime ? _chunkE2EGTHYAcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
11581
11581
|
if (isNewTab) {
|
|
11582
11582
|
if (_optionalChain([runtime, 'optionalAccess', _204 => _204.navigation, 'access', _205 => _205.openExternal])) runtime.navigation.openExternal(href);
|
|
11583
11583
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -11636,7 +11636,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11636
11636
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
11637
11637
|
const panel = useChatPanel();
|
|
11638
11638
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11639
|
-
const isNewTab =
|
|
11639
|
+
const isNewTab = _chunkE2EGTHYAcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
11640
11640
|
const onClick = (e) => {
|
|
11641
11641
|
const handled = executeNavigation({
|
|
11642
11642
|
event: e,
|
|
@@ -11648,7 +11648,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11648
11648
|
});
|
|
11649
11649
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
11650
11650
|
};
|
|
11651
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
11651
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunkE2EGTHYAcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
11652
11652
|
}
|
|
11653
11653
|
|
|
11654
11654
|
// src/components/chat/source-action-button.tsx
|
|
@@ -12890,9 +12890,9 @@ function UserDisplay({
|
|
|
12890
12890
|
}) {
|
|
12891
12891
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
12892
12892
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12893
|
-
|
|
12893
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
12894
12894
|
{
|
|
12895
|
-
src: avatarUrl ?
|
|
12895
|
+
src: avatarUrl ? _chunkE2EGTHYAcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12896
12896
|
fallback: name,
|
|
12897
12897
|
alt: name,
|
|
12898
12898
|
sizePx: size2,
|
|
@@ -13392,7 +13392,7 @@ function VideoHoverPreviewSurface({
|
|
|
13392
13392
|
return () => io.disconnect();
|
|
13393
13393
|
}, [gateControlled]);
|
|
13394
13394
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13395
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13395
|
+
const { src: posterSrc, onError: onPosterError } = _chunkE2EGTHYAcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13396
13396
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13397
13397
|
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: [
|
|
13398
13398
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13510,7 +13510,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13510
13510
|
|
|
13511
13511
|
function VideoBitesStrip({
|
|
13512
13512
|
bites,
|
|
13513
|
-
title =
|
|
13513
|
+
title = _chunkE2EGTHYAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13514
13514
|
showTitle = true,
|
|
13515
13515
|
filterPublished = true,
|
|
13516
13516
|
profile = null,
|
|
@@ -13523,7 +13523,7 @@ function VideoBitesStrip({
|
|
|
13523
13523
|
cardHeightMobile = 300,
|
|
13524
13524
|
showChevrons = true,
|
|
13525
13525
|
onBiteNavigate,
|
|
13526
|
-
sortComparator =
|
|
13526
|
+
sortComparator = _chunkE2EGTHYAcjs.sortBitesByCreatedAtDesc,
|
|
13527
13527
|
className
|
|
13528
13528
|
}) {
|
|
13529
13529
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -13748,7 +13748,7 @@ function EntityVideoSection({
|
|
|
13748
13748
|
title = "Video",
|
|
13749
13749
|
videoSummary,
|
|
13750
13750
|
videoBites,
|
|
13751
|
-
bitesTitle =
|
|
13751
|
+
bitesTitle = _chunkE2EGTHYAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13752
13752
|
filterPublishedBites = true,
|
|
13753
13753
|
bitesProfile = null,
|
|
13754
13754
|
bitesHref,
|
|
@@ -13987,7 +13987,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
13987
13987
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
13988
13988
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
13989
13989
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
13990
|
-
const dateText =
|
|
13990
|
+
const dateText = _chunkE2EGTHYAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
13991
13991
|
const idLabel = formatActivityId(item.id, kind);
|
|
13992
13992
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
13993
13993
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -14021,26 +14021,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14021
14021
|
metaParts.push(
|
|
14022
14022
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14023
14023
|
);
|
|
14024
|
-
const href =
|
|
14024
|
+
const href = _chunkE2EGTHYAcjs.safeHref.call(void 0, item.url);
|
|
14025
14025
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14026
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14027
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14028
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14026
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14027
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14028
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14029
14029
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14030
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14030
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14031
14031
|
] }),
|
|
14032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14032
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14033
14033
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14034
14034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14035
14035
|
] }, i)) }) }),
|
|
14036
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14036
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SUMMARY, children: _chunkE2EGTHYAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14037
14037
|
] }),
|
|
14038
14038
|
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
|
|
14039
14039
|
] });
|
|
14040
14040
|
if (anchorProps) {
|
|
14041
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14041
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14042
14042
|
}
|
|
14043
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14043
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14044
14044
|
}
|
|
14045
14045
|
function GitHubActivityCardSkeleton({
|
|
14046
14046
|
variant = "compact",
|
|
@@ -14057,12 +14057,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14057
14057
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14058
14058
|
] });
|
|
14059
14059
|
}
|
|
14060
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14062
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14063
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14064
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14065
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14060
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14061
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14062
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14063
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14064
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14065
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SUMMARY, children: _chunkE2EGTHYAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14066
14066
|
] }),
|
|
14067
14067
|
/* @__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" }) })
|
|
14068
14068
|
] });
|
|
@@ -14086,7 +14086,7 @@ function parseChannelFromUrl(url) {
|
|
|
14086
14086
|
}
|
|
14087
14087
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
14088
14088
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
14089
|
-
const dateText =
|
|
14089
|
+
const dateText = _chunkE2EGTHYAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14090
14090
|
if (variant === "row") {
|
|
14091
14091
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14092
14092
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -14112,23 +14112,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14112
14112
|
metaParts.push(
|
|
14113
14113
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14114
14114
|
);
|
|
14115
|
-
const href =
|
|
14115
|
+
const href = _chunkE2EGTHYAcjs.safeHref.call(void 0, item.url);
|
|
14116
14116
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14117
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14118
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14121
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14118
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14119
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkE2EGTHYAcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14121
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14122
14122
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14123
14123
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14124
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14124
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SUMMARY, children: _chunkE2EGTHYAcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14125
14125
|
] }),
|
|
14126
14126
|
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
|
|
14127
14127
|
] });
|
|
14128
14128
|
if (anchorProps) {
|
|
14129
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14129
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14130
14130
|
}
|
|
14131
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14131
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14132
14132
|
}
|
|
14133
14133
|
function SlackMessageCardSkeleton({
|
|
14134
14134
|
variant = "compact",
|
|
@@ -14143,12 +14143,12 @@ function SlackMessageCardSkeleton({
|
|
|
14143
14143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14144
14144
|
] });
|
|
14145
14145
|
}
|
|
14146
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14147
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14148
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14149
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14146
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14147
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14148
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14149
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14152
14152
|
] }),
|
|
14153
14153
|
/* @__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" }) })
|
|
14154
14154
|
] });
|
|
@@ -14179,12 +14179,12 @@ function statusScheme(status) {
|
|
|
14179
14179
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
14180
14180
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
14181
14181
|
const priorityText = formatToken(item.priority);
|
|
14182
|
-
const dateText =
|
|
14182
|
+
const dateText = _chunkE2EGTHYAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14183
14183
|
if (variant === "row") {
|
|
14184
14184
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14185
14185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14186
14186
|
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,
|
|
14187
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14187
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14188
14188
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14189
14189
|
] });
|
|
14190
14190
|
}
|
|
@@ -14198,13 +14198,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14198
14198
|
metaParts.push(
|
|
14199
14199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14200
14200
|
);
|
|
14201
|
-
const href =
|
|
14201
|
+
const href = _chunkE2EGTHYAcjs.safeHref.call(void 0, item.url);
|
|
14202
14202
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14203
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14203
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14204
14204
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14206
14206
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14207
|
-
|
|
14207
|
+
_chunkE2EGTHYAcjs.StatusBadge,
|
|
14208
14208
|
{
|
|
14209
14209
|
text: priorityText,
|
|
14210
14210
|
variant: "button",
|
|
@@ -14213,7 +14213,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14213
14213
|
}
|
|
14214
14214
|
) : null,
|
|
14215
14215
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14216
|
-
|
|
14216
|
+
_chunkE2EGTHYAcjs.StatusBadge,
|
|
14217
14217
|
{
|
|
14218
14218
|
text: statusText,
|
|
14219
14219
|
variant: "button",
|
|
@@ -14227,7 +14227,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14227
14227
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14228
14228
|
] }) : null,
|
|
14229
14229
|
/* @__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." }) }) }),
|
|
14230
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14230
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14231
14231
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14232
14232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14233
14233
|
] }, i)) }) }) : null
|
|
@@ -14235,9 +14235,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14235
14235
|
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
|
|
14236
14236
|
] });
|
|
14237
14237
|
if (anchorProps) {
|
|
14238
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14238
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14239
14239
|
}
|
|
14240
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14240
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14241
14241
|
}
|
|
14242
14242
|
function HubspotTicketCardSkeleton({
|
|
14243
14243
|
variant = "compact",
|
|
@@ -14251,8 +14251,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14251
14251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14252
14252
|
] });
|
|
14253
14253
|
}
|
|
14254
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14255
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14254
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14255
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14256
14256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14257
14257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14258
14258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14265,7 +14265,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14265
14265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14266
14266
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14267
14267
|
] }),
|
|
14268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14269
14269
|
] }),
|
|
14270
14270
|
/* @__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" }) })
|
|
14271
14271
|
] });
|
|
@@ -14276,10 +14276,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14276
14276
|
|
|
14277
14277
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14278
14278
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14279
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14279
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14280
14280
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14281
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14282
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14281
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14282
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14283
14283
|
] }),
|
|
14284
14284
|
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: [
|
|
14285
14285
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14290,13 +14290,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14290
14290
|
_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
|
|
14291
14291
|
] });
|
|
14292
14292
|
if (!anchorProps) {
|
|
14293
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14293
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14294
14294
|
}
|
|
14295
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14295
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14296
14296
|
}
|
|
14297
14297
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14298
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14299
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14298
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14299
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14300
14300
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14301
14301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14302
14302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14317,29 +14317,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14317
14317
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14318
14318
|
const goalsCount = _optionalChain([campaign, 'access', _345 => _345.goals, 'optionalAccess', _346 => _346.length]) || 0;
|
|
14319
14319
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14321
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14324
|
-
campaign.start_date ?
|
|
14320
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14321
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14323
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14324
|
+
campaign.start_date ? _chunkE2EGTHYAcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14325
14325
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14326
14326
|
"Marketing campaign"
|
|
14327
14327
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14328
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkE2EGTHYAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14329
14329
|
] })
|
|
14330
14330
|
] });
|
|
14331
14331
|
if (anchorProps) {
|
|
14332
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14332
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14333
14333
|
}
|
|
14334
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14334
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14335
14335
|
}
|
|
14336
14336
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14337
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14338
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14339
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14340
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14337
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14338
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14339
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14340
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14341
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14343
14343
|
] })
|
|
14344
14344
|
] });
|
|
14345
14345
|
}
|
|
@@ -14348,14 +14348,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14348
14348
|
|
|
14349
14349
|
|
|
14350
14350
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14351
|
-
const href =
|
|
14352
|
-
const dateText =
|
|
14351
|
+
const href = _chunkE2EGTHYAcjs.safeHref.call(void 0, item.url);
|
|
14352
|
+
const dateText = _chunkE2EGTHYAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14353
14353
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14354
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14354
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14355
14355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14356
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14356
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14357
14357
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14358
|
-
|
|
14358
|
+
_chunkE2EGTHYAcjs.StatusBadge,
|
|
14359
14359
|
{
|
|
14360
14360
|
text: item.badge.text,
|
|
14361
14361
|
variant: "button",
|
|
@@ -14373,18 +14373,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14373
14373
|
] }),
|
|
14374
14374
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14375
14375
|
] }, i)) }) : null,
|
|
14376
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14376
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14377
14377
|
] }),
|
|
14378
14378
|
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
|
|
14379
14379
|
] });
|
|
14380
14380
|
if (anchorProps) {
|
|
14381
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14381
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14382
14382
|
}
|
|
14383
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14383
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14384
14384
|
}
|
|
14385
14385
|
function GenericEntityCardSkeleton({ className }) {
|
|
14386
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14387
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14386
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14387
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14388
14388
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14389
14389
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14390
14390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14433,8 +14433,8 @@ function useChatCardItem(type, id) {
|
|
|
14433
14433
|
const res = await _chunkEHAYNUOLcjs.embedAuthedFetch.call(void 0, url);
|
|
14434
14434
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14435
14435
|
const data = await res.json();
|
|
14436
|
-
const items =
|
|
14437
|
-
const match = items.find((it) =>
|
|
14436
|
+
const items = _chunkE2EGTHYAcjs.extractItems.call(void 0, data);
|
|
14437
|
+
const match = items.find((it) => _chunkE2EGTHYAcjs.extractItemId.call(void 0, type, it) === id);
|
|
14438
14438
|
return _nullishCoalesce(match, () => ( null));
|
|
14439
14439
|
},
|
|
14440
14440
|
enabled: !!url && id.length > 0,
|
|
@@ -14467,7 +14467,7 @@ function useChatCardItem(type, id) {
|
|
|
14467
14467
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
14468
14468
|
if (imageSrc) {
|
|
14469
14469
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
14470
|
-
/* @__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:
|
|
14470
|
+
/* @__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: _chunkE2EGTHYAcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
14471
14471
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14472
14472
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
14473
14473
|
{
|
|
@@ -14625,7 +14625,7 @@ function resolveFetchedCardHref({
|
|
|
14625
14625
|
composeContentUrl
|
|
14626
14626
|
}) {
|
|
14627
14627
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14628
|
-
const canonicalType =
|
|
14628
|
+
const canonicalType = _chunkE2EGTHYAcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14629
14629
|
return composeContentUrl({
|
|
14630
14630
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14631
14631
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14829,16 +14829,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14829
14829
|
if (docTarget) {
|
|
14830
14830
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14831
14831
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14832
|
-
href = _nullishCoalesce(
|
|
14832
|
+
href = _nullishCoalesce(_chunkE2EGTHYAcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14833
14833
|
targetPlatform = docTarget.platform;
|
|
14834
14834
|
} else if (ctx.chipBasePlatform) {
|
|
14835
14835
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14836
|
-
href = _nullishCoalesce(
|
|
14836
|
+
href = _nullishCoalesce(_chunkE2EGTHYAcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14837
14837
|
targetPlatform = ctx.chipBasePlatform;
|
|
14838
14838
|
} else if (ctx.baseRoute) {
|
|
14839
14839
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14840
14840
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14841
|
-
href = _nullishCoalesce(
|
|
14841
|
+
href = _nullishCoalesce(_chunkE2EGTHYAcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14842
14842
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14843
14843
|
}
|
|
14844
14844
|
}
|
|
@@ -14847,15 +14847,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14847
14847
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14848
14848
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14849
14849
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14850
|
-
type:
|
|
14850
|
+
type: _chunkE2EGTHYAcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14851
14851
|
identifier: idValue,
|
|
14852
14852
|
externalUrl: row.externalUrl,
|
|
14853
14853
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14854
14854
|
});
|
|
14855
|
-
href = composed.href ? _nullishCoalesce(
|
|
14855
|
+
href = composed.href ? _nullishCoalesce(_chunkE2EGTHYAcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14856
14856
|
targetPlatform = composed.targetPlatform;
|
|
14857
14857
|
} else if (row.externalUrl) {
|
|
14858
|
-
href = _nullishCoalesce(
|
|
14858
|
+
href = _nullishCoalesce(_chunkE2EGTHYAcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14859
14859
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14860
14860
|
}
|
|
14861
14861
|
const documentType = row.documentType;
|
|
@@ -14890,11 +14890,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
14890
14890
|
|
|
14891
14891
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
14892
14892
|
const label = entityLabel || "Item";
|
|
14893
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
14894
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14895
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
14896
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14897
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14893
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14894
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
14895
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14896
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkE2EGTHYAcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
14897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkE2EGTHYAcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
14898
14898
|
label,
|
|
14899
14899
|
" deleted",
|
|
14900
14900
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -14940,7 +14940,7 @@ function GitHubChatCard({
|
|
|
14940
14940
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
14941
14941
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
14942
14942
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
14943
|
-
const dateText =
|
|
14943
|
+
const dateText = _chunkE2EGTHYAcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
14944
14944
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
14945
14945
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14946
14946
|
MingoInfoCard,
|
|
@@ -14949,7 +14949,7 @@ function GitHubChatCard({
|
|
|
14949
14949
|
description,
|
|
14950
14950
|
icon: githubKindIcon(kind),
|
|
14951
14951
|
status,
|
|
14952
|
-
anchorProps:
|
|
14952
|
+
anchorProps: _chunkE2EGTHYAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
14953
14953
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14954
14954
|
menuAriaLabel: "Activity actions"
|
|
14955
14955
|
}
|
|
@@ -15096,7 +15096,7 @@ function HubspotTicketChatCard({
|
|
|
15096
15096
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15097
15097
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TagIcon, { size: 24 }),
|
|
15098
15098
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15099
|
-
anchorProps:
|
|
15099
|
+
anchorProps: _chunkE2EGTHYAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15100
15100
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15101
15101
|
label: "Open Ticket Details",
|
|
15102
15102
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TagIcon, { size: 20 })
|
|
@@ -15119,7 +15119,7 @@ function FaqChatCard({
|
|
|
15119
15119
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15120
15120
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.QuestionCircleIcon, { size: 24 }),
|
|
15121
15121
|
status: { label: statusLabel, variant: "grey" },
|
|
15122
|
-
anchorProps:
|
|
15122
|
+
anchorProps: _chunkE2EGTHYAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15123
15123
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15124
15124
|
menuAriaLabel: "FAQ actions"
|
|
15125
15125
|
}
|
|
@@ -15139,7 +15139,7 @@ function SlackChatCard({
|
|
|
15139
15139
|
title,
|
|
15140
15140
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15141
15141
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15142
|
-
anchorProps:
|
|
15142
|
+
anchorProps: _chunkE2EGTHYAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15143
15143
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15144
15144
|
menuAriaLabel: "Message actions"
|
|
15145
15145
|
}
|
|
@@ -15157,7 +15157,7 @@ function GlyphChatCard({
|
|
|
15157
15157
|
title: chatRef.title,
|
|
15158
15158
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15159
15159
|
icon,
|
|
15160
|
-
anchorProps:
|
|
15160
|
+
anchorProps: _chunkE2EGTHYAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15161
15161
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15162
15162
|
menuAriaLabel: "Card actions"
|
|
15163
15163
|
}
|
|
@@ -15176,7 +15176,7 @@ function DataRoomDocChatCard({
|
|
|
15176
15176
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15177
15177
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.FileContentIcon, { size: 24 }),
|
|
15178
15178
|
status: { label: badgeText, variant: "grey" },
|
|
15179
|
-
anchorProps:
|
|
15179
|
+
anchorProps: _chunkE2EGTHYAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15180
15180
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15181
15181
|
menuAriaLabel: "Document actions"
|
|
15182
15182
|
}
|
|
@@ -15195,7 +15195,7 @@ function GenericFinancialChatCard({
|
|
|
15195
15195
|
title: chatRef.title,
|
|
15196
15196
|
description: subtitle,
|
|
15197
15197
|
icon,
|
|
15198
|
-
anchorProps:
|
|
15198
|
+
anchorProps: _chunkE2EGTHYAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15199
15199
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15200
15200
|
menuAriaLabel: "Document actions"
|
|
15201
15201
|
}
|
|
@@ -15281,7 +15281,7 @@ function CampaignChatCard({
|
|
|
15281
15281
|
}) {
|
|
15282
15282
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _378 => _378.goals])) ? item.goals.length : 0;
|
|
15283
15283
|
const meta = [
|
|
15284
|
-
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ?
|
|
15284
|
+
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ? _chunkE2EGTHYAcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15285
15285
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15286
15286
|
"Marketing campaign"
|
|
15287
15287
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15320,7 +15320,7 @@ function EntityMingoCard({
|
|
|
15320
15320
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15321
15321
|
icon: fallbackIcon,
|
|
15322
15322
|
status,
|
|
15323
|
-
anchorProps:
|
|
15323
|
+
anchorProps: _chunkE2EGTHYAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15324
15324
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15325
15325
|
menuAriaLabel
|
|
15326
15326
|
}
|
|
@@ -15332,7 +15332,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15332
15332
|
function statusPill(status) {
|
|
15333
15333
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15334
15334
|
if (!s) return void 0;
|
|
15335
|
-
const scheme =
|
|
15335
|
+
const scheme = _chunkE2EGTHYAcjs.getStatusColorScheme.call(void 0, s);
|
|
15336
15336
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15337
15337
|
return { label: s, variant };
|
|
15338
15338
|
}
|
|
@@ -15419,7 +15419,7 @@ function InvestorUpdateChatCard({
|
|
|
15419
15419
|
EntityMingoCard,
|
|
15420
15420
|
{
|
|
15421
15421
|
title,
|
|
15422
|
-
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) ||
|
|
15422
|
+
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) || _chunkE2EGTHYAcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _409 => _409.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _410 => _410.period_end]), () => ( null))) || void 0,
|
|
15423
15423
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _411 => _411.featured_image]), ogPlaceholder),
|
|
15424
15424
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PresentationLineIcon, { size: 24 }),
|
|
15425
15425
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15466,15 +15466,15 @@ function ProgramChatCard({
|
|
|
15466
15466
|
const isScheduled = _optionalChain([item, 'optionalAccess', _418 => _418.status]) === "scheduled";
|
|
15467
15467
|
let typeMeta;
|
|
15468
15468
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
15469
|
-
typeMeta =
|
|
15469
|
+
typeMeta = _chunkE2EGTHYAcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
15470
15470
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _420 => _420.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
15471
15471
|
typeMeta = item.location_name;
|
|
15472
15472
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _421 => _421.start_at])) {
|
|
15473
|
-
const time =
|
|
15474
|
-
const dur =
|
|
15473
|
+
const time = _chunkE2EGTHYAcjs.formatTimeWithTimezone.call(void 0, item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
15474
|
+
const dur = _chunkE2EGTHYAcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
15475
15475
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
15476
15476
|
}
|
|
15477
|
-
const itemDate =
|
|
15477
|
+
const itemDate = _chunkE2EGTHYAcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _422 => _422.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
15478
15478
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
15479
15479
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15480
15480
|
EntityMingoCard,
|
|
@@ -15501,7 +15501,7 @@ function RoadmapChatCard({
|
|
|
15501
15501
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _426 => _426.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15502
15502
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]) != null;
|
|
15503
15503
|
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 });
|
|
15504
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15504
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _428 => _428.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15505
15505
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15506
15506
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15507
15507
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15625,7 +15625,7 @@ function programRegistryEntries() {
|
|
|
15625
15625
|
label: cfg.label,
|
|
15626
15626
|
contentRefType: cfg.contentRefType,
|
|
15627
15627
|
bareInline: true,
|
|
15628
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15628
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15629
15629
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15630
15630
|
ProgramChatCard,
|
|
15631
15631
|
{
|
|
@@ -15666,7 +15666,7 @@ function roadmapRegistryEntries() {
|
|
|
15666
15666
|
bareInline: true,
|
|
15667
15667
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15668
15668
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15669
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15669
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15670
15670
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15671
15671
|
RoadmapChatCard,
|
|
15672
15672
|
{
|
|
@@ -15742,7 +15742,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15742
15742
|
label: "Blog post",
|
|
15743
15743
|
contentRefType: "blog_post_existing",
|
|
15744
15744
|
bareInline: true,
|
|
15745
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15745
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.BlogCardSkeleton, { size: "sm" }),
|
|
15746
15746
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15747
15747
|
BlogChatCard,
|
|
15748
15748
|
{
|
|
@@ -15759,7 +15759,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15759
15759
|
label: "Case study",
|
|
15760
15760
|
contentRefType: "case_study",
|
|
15761
15761
|
bareInline: true,
|
|
15762
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15762
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
15763
15763
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15764
15764
|
CaseStudyChatCard,
|
|
15765
15765
|
{
|
|
@@ -15775,7 +15775,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15775
15775
|
label: "Customer interview",
|
|
15776
15776
|
contentRefType: "customer_interview",
|
|
15777
15777
|
bareInline: true,
|
|
15778
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15778
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
15779
15779
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15780
15780
|
CustomerInterviewChatCard,
|
|
15781
15781
|
{
|
|
@@ -15791,9 +15791,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15791
15791
|
label: "Product release",
|
|
15792
15792
|
contentRefType: "product_release",
|
|
15793
15793
|
bareInline: true,
|
|
15794
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15794
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
15795
15795
|
render: (item, chatRef, opts) => {
|
|
15796
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _461 => _461.extras, 'optionalAccess', _462 => _462.buildProductReleaseCardProps]), () => (
|
|
15796
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _461 => _461.extras, 'optionalAccess', _462 => _462.buildProductReleaseCardProps]), () => ( _chunkE2EGTHYAcjs.defaultBuildProductReleaseCardProps));
|
|
15797
15797
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15798
15798
|
ProductReleaseChatCard,
|
|
15799
15799
|
{
|
|
@@ -15811,7 +15811,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15811
15811
|
label: "Investor update",
|
|
15812
15812
|
contentRefType: "investor_update",
|
|
15813
15813
|
bareInline: true,
|
|
15814
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15814
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
15815
15815
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15816
15816
|
InvestorUpdateChatCard,
|
|
15817
15817
|
{
|
|
@@ -15829,7 +15829,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15829
15829
|
bareInline: true,
|
|
15830
15830
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
15831
15831
|
displayAction: true,
|
|
15832
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15832
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
15833
15833
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15834
15834
|
OnboardingGuideChatCard,
|
|
15835
15835
|
{
|
|
@@ -15926,13 +15926,13 @@ function ChatCardLoader({
|
|
|
15926
15926
|
}) : null;
|
|
15927
15927
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
15928
15928
|
...resolvedChatRef,
|
|
15929
|
-
url:
|
|
15929
|
+
url: _chunkE2EGTHYAcjs.safeHref.call(void 0, hrefChoice.href),
|
|
15930
15930
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
15931
15931
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
15932
15932
|
} : resolvedChatRef;
|
|
15933
15933
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
15934
15934
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
15935
|
-
const isNewTab =
|
|
15935
|
+
const isNewTab = _chunkE2EGTHYAcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
15936
15936
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
15937
15937
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
15938
15938
|
const discuss = discussFn ? {
|
|
@@ -17426,7 +17426,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17426
17426
|
return () => root.removeEventListener("click", onClick);
|
|
17427
17427
|
}, [viewUrlPrefix]);
|
|
17428
17428
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17429
|
-
|
|
17429
|
+
_chunkE2EGTHYAcjs.ImageGalleryModal,
|
|
17430
17430
|
{
|
|
17431
17431
|
images: state.images,
|
|
17432
17432
|
isOpen: state.isOpen,
|
|
@@ -24230,7 +24230,7 @@ function SourceChip({
|
|
|
24230
24230
|
const Icon = cta.icon;
|
|
24231
24231
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24232
24232
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24233
|
-
const decideTab = (href, targetPlatform) =>
|
|
24233
|
+
const decideTab = (href, targetPlatform) => _chunkE2EGTHYAcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24234
24234
|
if (src.items && src.items.length > 0) {
|
|
24235
24235
|
const dropdownItems = src.items.map((item) => {
|
|
24236
24236
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24319,7 +24319,7 @@ function SourceChip({
|
|
|
24319
24319
|
"a",
|
|
24320
24320
|
{
|
|
24321
24321
|
href: resolvedHref,
|
|
24322
|
-
...
|
|
24322
|
+
..._chunkE2EGTHYAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24323
24323
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24324
24324
|
className: chipClass,
|
|
24325
24325
|
children: chipBody(src.name)
|
|
@@ -24335,7 +24335,7 @@ function SourceChip({
|
|
|
24335
24335
|
"a",
|
|
24336
24336
|
{
|
|
24337
24337
|
href: resolvedHref,
|
|
24338
|
-
...
|
|
24338
|
+
..._chunkE2EGTHYAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24339
24339
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24340
24340
|
className: chipClass,
|
|
24341
24341
|
title: displayName,
|
|
@@ -25131,7 +25131,7 @@ function EmbeddableChatInner({
|
|
|
25131
25131
|
headerAvatar ? (
|
|
25132
25132
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
25133
25133
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25134
|
-
|
|
25134
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
25135
25135
|
{
|
|
25136
25136
|
variant: "round",
|
|
25137
25137
|
sizePx: 32,
|
|
@@ -25846,4 +25846,4 @@ function EmbeddableChatInner({
|
|
|
25846
25846
|
|
|
25847
25847
|
|
|
25848
25848
|
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.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.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;
|
|
25849
|
-
//# sourceMappingURL=chunk-
|
|
25849
|
+
//# sourceMappingURL=chunk-ROQTWRV7.cjs.map
|