@flamingo-stack/openframe-frontend-core 0.0.641 → 0.0.642-2204.6308.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TBDJQBPA.cjs → chunk-3DFAGD5C.cjs} +59 -59
- package/dist/{chunk-TBDJQBPA.cjs.map → chunk-3DFAGD5C.cjs.map} +1 -1
- package/dist/{chunk-TXLDKXRG.cjs → chunk-3G7MMZIU.cjs} +6 -6
- package/dist/{chunk-TXLDKXRG.cjs.map → chunk-3G7MMZIU.cjs.map} +1 -1
- package/dist/{chunk-I7AIORKQ.js → chunk-4DQZ2TOA.js} +3 -3
- package/dist/{chunk-5SNH6YV7.cjs → chunk-5CEQO3VK.cjs} +29 -29
- package/dist/{chunk-5SNH6YV7.cjs.map → chunk-5CEQO3VK.cjs.map} +1 -1
- package/dist/{chunk-OF5MAFYS.js → chunk-6OAKIE7E.js} +2 -2
- package/dist/{chunk-L35UOSEQ.cjs → chunk-7BVIL6SO.cjs} +15 -15
- package/dist/{chunk-L35UOSEQ.cjs.map → chunk-7BVIL6SO.cjs.map} +1 -1
- package/dist/{chunk-WX45U6RU.js → chunk-B5UDLUAY.js} +4 -4
- package/dist/{chunk-BGSBHH4X.cjs → chunk-BYJHTHP7.cjs} +145 -150
- package/dist/chunk-BYJHTHP7.cjs.map +1 -0
- package/dist/{chunk-WX7AXSVK.cjs → chunk-BZVPQBTJ.cjs} +22 -22
- package/dist/{chunk-WX7AXSVK.cjs.map → chunk-BZVPQBTJ.cjs.map} +1 -1
- package/dist/{chunk-IHMTMFNO.js → chunk-CJQENU3P.js} +3 -3
- package/dist/{chunk-2NRLRRMR.cjs → chunk-EIZAYFJG.cjs} +1 -2
- package/dist/chunk-EIZAYFJG.cjs.map +1 -0
- package/dist/{chunk-MULT7VMK.js → chunk-FKXA5M2O.js} +4 -4
- package/dist/{chunk-VPP6BJPP.cjs → chunk-GAMXLFVO.cjs} +11 -11
- package/dist/{chunk-VPP6BJPP.cjs.map → chunk-GAMXLFVO.cjs.map} +1 -1
- package/dist/{chunk-7GH4I7AL.js → chunk-HQHGPQGL.js} +6 -6
- package/dist/{chunk-VHWABKMC.cjs → chunk-ICBCUOWB.cjs} +33 -33
- package/dist/{chunk-VHWABKMC.cjs.map → chunk-ICBCUOWB.cjs.map} +1 -1
- package/dist/{chunk-5C22ZEZL.js → chunk-IUC6DXSH.js} +3 -3
- package/dist/{chunk-YTP6LQCB.cjs → chunk-J7G22DOL.cjs} +81 -91
- package/dist/chunk-J7G22DOL.cjs.map +1 -0
- package/dist/{chunk-62CT5VGY.js → chunk-JZDWYATY.js} +6 -6
- package/dist/{chunk-RRIKLBHD.js → chunk-KQ3GWJTV.js} +2 -7
- package/dist/{chunk-RRIKLBHD.js.map → chunk-KQ3GWJTV.js.map} +1 -1
- package/dist/{chunk-7EIUV3EV.cjs → chunk-LFCA7Q6N.cjs} +5 -5
- package/dist/{chunk-7EIUV3EV.cjs.map → chunk-LFCA7Q6N.cjs.map} +1 -1
- package/dist/{chunk-RLVMVUCV.js → chunk-MQF6L2YR.js} +5 -5
- package/dist/{chunk-6FMSRRZM.js → chunk-MVCMQ4FE.js} +3 -3
- package/dist/{chunk-DVCDYMSZ.js → chunk-N3NPUKSB.js} +7 -17
- package/dist/chunk-N3NPUKSB.js.map +1 -0
- package/dist/{chunk-VXZQZZJD.cjs → chunk-P3KGQ5I5.cjs} +10 -10
- package/dist/{chunk-VXZQZZJD.cjs.map → chunk-P3KGQ5I5.cjs.map} +1 -1
- package/dist/{chunk-TBKPAIIK.cjs → chunk-QCBDRVPP.cjs} +20 -20
- package/dist/{chunk-TBKPAIIK.cjs.map → chunk-QCBDRVPP.cjs.map} +1 -1
- package/dist/{chunk-3IPL6G7S.js → chunk-QOOZ2XYR.js} +1 -2
- package/dist/{chunk-3IPL6G7S.js.map → chunk-QOOZ2XYR.js.map} +1 -1
- package/dist/{chunk-ZUX7B27J.cjs → chunk-RZFQJRBA.cjs} +199 -199
- package/dist/{chunk-ZUX7B27J.cjs.map → chunk-RZFQJRBA.cjs.map} +1 -1
- package/dist/{chunk-WZK4NMFB.js → chunk-T7YPVVRY.js} +3 -3
- package/dist/{chunk-3LXJEXPH.js → chunk-TDI5TPLV.js} +2 -2
- package/dist/{chunk-GOCM2TRB.js → chunk-TIZA2HM6.js} +5 -5
- package/dist/{chunk-YPM65MEQ.js → chunk-TUPJGQ42.js} +3 -3
- package/dist/{chunk-RDEBYNLG.cjs → chunk-U7BPVYBA.cjs} +3 -3
- package/dist/{chunk-RDEBYNLG.cjs.map → chunk-U7BPVYBA.cjs.map} +1 -1
- package/dist/{chunk-MI7XL4QH.js → chunk-VISEICVF.js} +3 -3
- package/dist/{chunk-NC7JJCZX.cjs → chunk-VVARNDTE.cjs} +28 -28
- package/dist/{chunk-NC7JJCZX.cjs.map → chunk-VVARNDTE.cjs.map} +1 -1
- package/dist/{chunk-RJCIXHIN.cjs → chunk-YQTVZX4Q.cjs} +6 -6
- package/dist/{chunk-RJCIXHIN.cjs.map → chunk-YQTVZX4Q.cjs.map} +1 -1
- package/dist/{chunk-SE6YRE3R.cjs → chunk-ZQPC5K6H.cjs} +32 -32
- package/dist/{chunk-SE6YRE3R.cjs.map → chunk-ZQPC5K6H.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +53 -53
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/hooks/use-tickets-list.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/index.cjs +8 -8
- package/dist/index.js +7 -7
- package/dist/utils/index.cjs +0 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +0 -3
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +1 -3
- package/src/components/tickets/hooks/use-tickets-list.ts +0 -10
- package/src/utils/__tests__/list-url.test.ts +1 -2
- package/src/utils/list-url.ts +0 -1
- package/src/utils/source-icons.ts +0 -3
- package/dist/chunk-2NRLRRMR.cjs.map +0 -1
- package/dist/chunk-BGSBHH4X.cjs.map +0 -1
- package/dist/chunk-DVCDYMSZ.js.map +0 -1
- package/dist/chunk-YTP6LQCB.cjs.map +0 -1
- /package/dist/{chunk-I7AIORKQ.js.map → chunk-4DQZ2TOA.js.map} +0 -0
- /package/dist/{chunk-OF5MAFYS.js.map → chunk-6OAKIE7E.js.map} +0 -0
- /package/dist/{chunk-WX45U6RU.js.map → chunk-B5UDLUAY.js.map} +0 -0
- /package/dist/{chunk-IHMTMFNO.js.map → chunk-CJQENU3P.js.map} +0 -0
- /package/dist/{chunk-MULT7VMK.js.map → chunk-FKXA5M2O.js.map} +0 -0
- /package/dist/{chunk-7GH4I7AL.js.map → chunk-HQHGPQGL.js.map} +0 -0
- /package/dist/{chunk-5C22ZEZL.js.map → chunk-IUC6DXSH.js.map} +0 -0
- /package/dist/{chunk-62CT5VGY.js.map → chunk-JZDWYATY.js.map} +0 -0
- /package/dist/{chunk-RLVMVUCV.js.map → chunk-MQF6L2YR.js.map} +0 -0
- /package/dist/{chunk-6FMSRRZM.js.map → chunk-MVCMQ4FE.js.map} +0 -0
- /package/dist/{chunk-WZK4NMFB.js.map → chunk-T7YPVVRY.js.map} +0 -0
- /package/dist/{chunk-3LXJEXPH.js.map → chunk-TDI5TPLV.js.map} +0 -0
- /package/dist/{chunk-GOCM2TRB.js.map → chunk-TIZA2HM6.js.map} +0 -0
- /package/dist/{chunk-YPM65MEQ.js.map → chunk-TUPJGQ42.js.map} +0 -0
- /package/dist/{chunk-MI7XL4QH.js.map → chunk-VISEICVF.js.map} +0 -0
|
@@ -120,7 +120,6 @@ var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
|
|
124
123
|
|
|
125
124
|
|
|
126
125
|
var _chunkYRTMAXLEcjs = require('./chunk-YRTMAXLE.cjs');
|
|
@@ -172,7 +171,7 @@ var _chunkYRTMAXLEcjs = require('./chunk-YRTMAXLE.cjs');
|
|
|
172
171
|
|
|
173
172
|
|
|
174
173
|
|
|
175
|
-
var
|
|
174
|
+
var _chunkEIZAYFJGcjs = require('./chunk-EIZAYFJG.cjs');
|
|
176
175
|
|
|
177
176
|
|
|
178
177
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -4790,7 +4789,7 @@ function MspOrganizationCard({
|
|
|
4790
4789
|
className
|
|
4791
4790
|
),
|
|
4792
4791
|
children: [
|
|
4793
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4792
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4794
4793
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4795
4794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4796
4795
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
@@ -4923,7 +4922,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4923
4922
|
] })
|
|
4924
4923
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4925
4924
|
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,
|
|
4926
|
-
|
|
4925
|
+
_chunkEIZAYFJGcjs.SquareAvatar,
|
|
4927
4926
|
{
|
|
4928
4927
|
src: userAvatar,
|
|
4929
4928
|
alt: userName,
|
|
@@ -7307,7 +7306,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7307
7306
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7308
7307
|
// no filled pill — the icon carries its own brand accent.
|
|
7309
7308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7310
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7309
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.SquareAvatar, { ...avatarProps })),
|
|
7311
7310
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7312
7311
|
"span",
|
|
7313
7312
|
{
|
|
@@ -8103,7 +8102,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8103
8102
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8104
8103
|
function useProxiedImageUrl(url) {
|
|
8105
8104
|
const r = _chunkUPKZU6QUcjs.useRequiredChatRuntime.call(void 0, );
|
|
8106
|
-
return _nullishCoalesce(
|
|
8105
|
+
return _nullishCoalesce(_chunkEIZAYFJGcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8107
8106
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8108
8107
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8109
8108
|
directHttps: true
|
|
@@ -8129,7 +8128,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8129
8128
|
height: 40,
|
|
8130
8129
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8131
8130
|
}
|
|
8132
|
-
) : /* @__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:
|
|
8131
|
+
) : /* @__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: _chunkEIZAYFJGcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8133
8132
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8134
8133
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8135
8134
|
/* @__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 }),
|
|
@@ -9433,7 +9432,7 @@ function MingoChatHistoryRow({
|
|
|
9433
9432
|
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")
|
|
9434
9433
|
),
|
|
9435
9434
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9436
|
-
|
|
9435
|
+
_chunkEIZAYFJGcjs.SquareAvatar,
|
|
9437
9436
|
{
|
|
9438
9437
|
variant: "round",
|
|
9439
9438
|
sizePx: 24,
|
|
@@ -10574,7 +10573,7 @@ function ChatPanelHeader({
|
|
|
10574
10573
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10575
10574
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10576
10575
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10577
|
-
|
|
10576
|
+
_chunkEIZAYFJGcjs.SquareAvatar,
|
|
10578
10577
|
{
|
|
10579
10578
|
variant: "round",
|
|
10580
10579
|
sizePx: 32,
|
|
@@ -10788,8 +10787,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10788
10787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10789
10788
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10790
10789
|
status === "sniffing" && "Checking\u2026",
|
|
10791
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10792
|
-
status === "ready" &&
|
|
10790
|
+
status === "uploading" && `${progress}% \xB7 ${_chunkEIZAYFJGcjs.formatFileSize.call(void 0, file.size)}`,
|
|
10791
|
+
status === "ready" && _chunkEIZAYFJGcjs.formatFileSize.call(void 0, file.size),
|
|
10793
10792
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10794
10793
|
] })
|
|
10795
10794
|
] }),
|
|
@@ -11586,10 +11585,10 @@ function resolveExternalNavigation(args) {
|
|
|
11586
11585
|
|
|
11587
11586
|
// src/components/chat/utils/execute-navigation.ts
|
|
11588
11587
|
function isForeignOriginHref(href) {
|
|
11589
|
-
return /^https?:\/\//i.test(href) && !
|
|
11588
|
+
return /^https?:\/\//i.test(href) && !_chunkEIZAYFJGcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
11590
11589
|
}
|
|
11591
11590
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
11592
|
-
const isNewTab = runtime ?
|
|
11591
|
+
const isNewTab = runtime ? _chunkEIZAYFJGcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
11593
11592
|
if (isNewTab) {
|
|
11594
11593
|
if (_optionalChain([runtime, 'optionalAccess', _204 => _204.navigation, 'access', _205 => _205.openExternal])) runtime.navigation.openExternal(href);
|
|
11595
11594
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -11648,7 +11647,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11648
11647
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
11649
11648
|
const panel = useChatPanel();
|
|
11650
11649
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11651
|
-
const isNewTab =
|
|
11650
|
+
const isNewTab = _chunkEIZAYFJGcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
11652
11651
|
const onClick = (e) => {
|
|
11653
11652
|
const handled = executeNavigation({
|
|
11654
11653
|
event: e,
|
|
@@ -11660,7 +11659,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11660
11659
|
});
|
|
11661
11660
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
11662
11661
|
};
|
|
11663
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
11662
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunkEIZAYFJGcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
11664
11663
|
}
|
|
11665
11664
|
|
|
11666
11665
|
// src/components/chat/source-action-button.tsx
|
|
@@ -12963,9 +12962,9 @@ function UserDisplay({
|
|
|
12963
12962
|
}) {
|
|
12964
12963
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
12965
12964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12966
|
-
|
|
12965
|
+
_chunkEIZAYFJGcjs.SquareAvatar,
|
|
12967
12966
|
{
|
|
12968
|
-
src: avatarUrl ?
|
|
12967
|
+
src: avatarUrl ? _chunkEIZAYFJGcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12969
12968
|
fallback: name,
|
|
12970
12969
|
alt: name,
|
|
12971
12970
|
sizePx: size2,
|
|
@@ -13465,7 +13464,7 @@ function VideoHoverPreviewSurface({
|
|
|
13465
13464
|
return () => io.disconnect();
|
|
13466
13465
|
}, [gateControlled]);
|
|
13467
13466
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13468
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13467
|
+
const { src: posterSrc, onError: onPosterError } = _chunkEIZAYFJGcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13469
13468
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13470
13469
|
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: [
|
|
13471
13470
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13583,7 +13582,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13583
13582
|
|
|
13584
13583
|
function VideoBitesStrip({
|
|
13585
13584
|
bites,
|
|
13586
|
-
title =
|
|
13585
|
+
title = _chunkEIZAYFJGcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13587
13586
|
showTitle = true,
|
|
13588
13587
|
filterPublished = true,
|
|
13589
13588
|
profile = null,
|
|
@@ -13596,7 +13595,7 @@ function VideoBitesStrip({
|
|
|
13596
13595
|
cardHeightMobile = 300,
|
|
13597
13596
|
showChevrons = true,
|
|
13598
13597
|
onBiteNavigate,
|
|
13599
|
-
sortComparator =
|
|
13598
|
+
sortComparator = _chunkEIZAYFJGcjs.sortBitesByCreatedAtDesc,
|
|
13600
13599
|
className
|
|
13601
13600
|
}) {
|
|
13602
13601
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -13821,7 +13820,7 @@ function EntityVideoSection({
|
|
|
13821
13820
|
title = "Video",
|
|
13822
13821
|
videoSummary,
|
|
13823
13822
|
videoBites,
|
|
13824
|
-
bitesTitle =
|
|
13823
|
+
bitesTitle = _chunkEIZAYFJGcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13825
13824
|
filterPublishedBites = true,
|
|
13826
13825
|
bitesProfile = null,
|
|
13827
13826
|
bitesHref,
|
|
@@ -14060,7 +14059,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
14060
14059
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
14061
14060
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
14062
14061
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
14063
|
-
const dateText =
|
|
14062
|
+
const dateText = _chunkEIZAYFJGcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14064
14063
|
const idLabel = formatActivityId(item.id, kind);
|
|
14065
14064
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
14066
14065
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -14094,26 +14093,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14094
14093
|
metaParts.push(
|
|
14095
14094
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14096
14095
|
);
|
|
14097
|
-
const href =
|
|
14096
|
+
const href = _chunkEIZAYFJGcjs.safeHref.call(void 0, item.url);
|
|
14098
14097
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14100
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14101
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14098
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14099
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14100
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14102
14101
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14104
14103
|
] }),
|
|
14105
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14106
14105
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14107
14106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14108
14107
|
] }, i)) }) }),
|
|
14109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SUMMARY, children: _chunkEIZAYFJGcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14110
14109
|
] }),
|
|
14111
14110
|
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
|
|
14112
14111
|
] });
|
|
14113
14112
|
if (anchorProps) {
|
|
14114
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14113
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14115
14114
|
}
|
|
14116
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14115
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14117
14116
|
}
|
|
14118
14117
|
function GitHubActivityCardSkeleton({
|
|
14119
14118
|
variant = "compact",
|
|
@@ -14130,12 +14129,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14130
14129
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14131
14130
|
] });
|
|
14132
14131
|
}
|
|
14133
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14135
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14138
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14132
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14133
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14134
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14135
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14137
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SUMMARY, children: _chunkEIZAYFJGcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14139
14138
|
] }),
|
|
14140
14139
|
/* @__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" }) })
|
|
14141
14140
|
] });
|
|
@@ -14159,7 +14158,7 @@ function parseChannelFromUrl(url) {
|
|
|
14159
14158
|
}
|
|
14160
14159
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
14161
14160
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
14162
|
-
const dateText =
|
|
14161
|
+
const dateText = _chunkEIZAYFJGcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14163
14162
|
if (variant === "row") {
|
|
14164
14163
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14165
14164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -14185,23 +14184,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14185
14184
|
metaParts.push(
|
|
14186
14185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14187
14186
|
);
|
|
14188
|
-
const href =
|
|
14187
|
+
const href = _chunkEIZAYFJGcjs.safeHref.call(void 0, item.url);
|
|
14189
14188
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14191
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14190
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkEIZAYFJGcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14195
14194
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14196
14195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14197
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14196
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SUMMARY, children: _chunkEIZAYFJGcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14198
14197
|
] }),
|
|
14199
14198
|
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
|
|
14200
14199
|
] });
|
|
14201
14200
|
if (anchorProps) {
|
|
14202
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14201
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14203
14202
|
}
|
|
14204
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14203
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14205
14204
|
}
|
|
14206
14205
|
function SlackMessageCardSkeleton({
|
|
14207
14206
|
variant = "compact",
|
|
@@ -14216,12 +14215,12 @@ function SlackMessageCardSkeleton({
|
|
|
14216
14215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14217
14216
|
] });
|
|
14218
14217
|
}
|
|
14219
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14220
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14221
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14222
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14224
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14218
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14219
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14220
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14221
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14222
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14223
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14225
14224
|
] }),
|
|
14226
14225
|
/* @__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" }) })
|
|
14227
14226
|
] });
|
|
@@ -14252,12 +14251,12 @@ function statusScheme(status) {
|
|
|
14252
14251
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
14253
14252
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
14254
14253
|
const priorityText = formatToken(item.priority);
|
|
14255
|
-
const dateText =
|
|
14254
|
+
const dateText = _chunkEIZAYFJGcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14256
14255
|
if (variant === "row") {
|
|
14257
14256
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14258
14257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14259
14258
|
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,
|
|
14260
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14259
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14261
14260
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14262
14261
|
] });
|
|
14263
14262
|
}
|
|
@@ -14271,13 +14270,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14271
14270
|
metaParts.push(
|
|
14272
14271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14273
14272
|
);
|
|
14274
|
-
const href =
|
|
14273
|
+
const href = _chunkEIZAYFJGcjs.safeHref.call(void 0, item.url);
|
|
14275
14274
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14276
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14275
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14277
14276
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14277
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14279
14278
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14280
|
-
|
|
14279
|
+
_chunkEIZAYFJGcjs.StatusBadge,
|
|
14281
14280
|
{
|
|
14282
14281
|
text: priorityText,
|
|
14283
14282
|
variant: "button",
|
|
@@ -14286,7 +14285,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14286
14285
|
}
|
|
14287
14286
|
) : null,
|
|
14288
14287
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14289
|
-
|
|
14288
|
+
_chunkEIZAYFJGcjs.StatusBadge,
|
|
14290
14289
|
{
|
|
14291
14290
|
text: statusText,
|
|
14292
14291
|
variant: "button",
|
|
@@ -14300,7 +14299,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14300
14299
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14301
14300
|
] }) : null,
|
|
14302
14301
|
/* @__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." }) }) }),
|
|
14303
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14302
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14304
14303
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14305
14304
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14306
14305
|
] }, i)) }) }) : null
|
|
@@ -14308,9 +14307,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14308
14307
|
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
|
|
14309
14308
|
] });
|
|
14310
14309
|
if (anchorProps) {
|
|
14311
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14310
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14312
14311
|
}
|
|
14313
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14312
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14314
14313
|
}
|
|
14315
14314
|
function HubspotTicketCardSkeleton({
|
|
14316
14315
|
variant = "compact",
|
|
@@ -14324,8 +14323,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14324
14323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14325
14324
|
] });
|
|
14326
14325
|
}
|
|
14327
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14328
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14326
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14327
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14329
14328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14330
14329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14331
14330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14338,7 +14337,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14338
14337
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14339
14338
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14340
14339
|
] }),
|
|
14341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14340
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14342
14341
|
] }),
|
|
14343
14342
|
/* @__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" }) })
|
|
14344
14343
|
] });
|
|
@@ -14349,10 +14348,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14349
14348
|
|
|
14350
14349
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14351
14350
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14352
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14351
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14353
14352
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14353
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14356
14355
|
] }),
|
|
14357
14356
|
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: [
|
|
14358
14357
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14363,13 +14362,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14363
14362
|
_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
|
|
14364
14363
|
] });
|
|
14365
14364
|
if (!anchorProps) {
|
|
14366
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14365
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14367
14366
|
}
|
|
14368
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14367
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14369
14368
|
}
|
|
14370
14369
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14371
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14372
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14370
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14371
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14373
14372
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14374
14373
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14375
14374
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14390,29 +14389,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14390
14389
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14391
14390
|
const goalsCount = _optionalChain([campaign, 'access', _345 => _345.goals, 'optionalAccess', _346 => _346.length]) || 0;
|
|
14392
14391
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14394
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14395
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14397
|
-
campaign.start_date ?
|
|
14392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14393
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14396
|
+
campaign.start_date ? _chunkEIZAYFJGcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14398
14397
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14399
14398
|
"Marketing campaign"
|
|
14400
14399
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkEIZAYFJGcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14402
14401
|
] })
|
|
14403
14402
|
] });
|
|
14404
14403
|
if (anchorProps) {
|
|
14405
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14404
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14406
14405
|
}
|
|
14407
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14406
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14408
14407
|
}
|
|
14409
14408
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14410
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14411
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14412
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14414
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14415
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14409
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14410
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14411
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14416
14415
|
] })
|
|
14417
14416
|
] });
|
|
14418
14417
|
}
|
|
@@ -14421,14 +14420,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14421
14420
|
|
|
14422
14421
|
|
|
14423
14422
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14424
|
-
const href =
|
|
14425
|
-
const dateText =
|
|
14423
|
+
const href = _chunkEIZAYFJGcjs.safeHref.call(void 0, item.url);
|
|
14424
|
+
const dateText = _chunkEIZAYFJGcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14426
14425
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14427
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14426
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14428
14427
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14428
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14430
14429
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14431
|
-
|
|
14430
|
+
_chunkEIZAYFJGcjs.StatusBadge,
|
|
14432
14431
|
{
|
|
14433
14432
|
text: item.badge.text,
|
|
14434
14433
|
variant: "button",
|
|
@@ -14446,18 +14445,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14446
14445
|
] }),
|
|
14447
14446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14448
14447
|
] }, i)) }) : null,
|
|
14449
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14448
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14450
14449
|
] }),
|
|
14451
14450
|
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
|
|
14452
14451
|
] });
|
|
14453
14452
|
if (anchorProps) {
|
|
14454
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14453
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14455
14454
|
}
|
|
14456
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14455
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14457
14456
|
}
|
|
14458
14457
|
function GenericEntityCardSkeleton({ className }) {
|
|
14459
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14460
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14458
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14459
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14461
14460
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14462
14461
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14463
14462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14506,8 +14505,8 @@ function useChatCardItem(type, id) {
|
|
|
14506
14505
|
const res = await _chunkEHAYNUOLcjs.embedAuthedFetch.call(void 0, url);
|
|
14507
14506
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14508
14507
|
const data = await res.json();
|
|
14509
|
-
const items =
|
|
14510
|
-
const match = items.find((it) =>
|
|
14508
|
+
const items = _chunkEIZAYFJGcjs.extractItems.call(void 0, data);
|
|
14509
|
+
const match = items.find((it) => _chunkEIZAYFJGcjs.extractItemId.call(void 0, type, it) === id);
|
|
14511
14510
|
return _nullishCoalesce(match, () => ( null));
|
|
14512
14511
|
},
|
|
14513
14512
|
enabled: !!url && id.length > 0,
|
|
@@ -14540,7 +14539,7 @@ function useChatCardItem(type, id) {
|
|
|
14540
14539
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
14541
14540
|
if (imageSrc) {
|
|
14542
14541
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
14543
|
-
/* @__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:
|
|
14542
|
+
/* @__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: _chunkEIZAYFJGcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
14544
14543
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14545
14544
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
14546
14545
|
{
|
|
@@ -14698,7 +14697,7 @@ function resolveFetchedCardHref({
|
|
|
14698
14697
|
composeContentUrl
|
|
14699
14698
|
}) {
|
|
14700
14699
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14701
|
-
const canonicalType =
|
|
14700
|
+
const canonicalType = _chunkEIZAYFJGcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14702
14701
|
return composeContentUrl({
|
|
14703
14702
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14704
14703
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14757,7 +14756,6 @@ var SOURCE_ICON_NAMES = {
|
|
|
14757
14756
|
"ai-prompts": "message-square",
|
|
14758
14757
|
// Product-hub internal
|
|
14759
14758
|
"design-docs": "file-text",
|
|
14760
|
-
"openframe-tenants": "globe",
|
|
14761
14759
|
"prospect-calls": "phone"
|
|
14762
14760
|
};
|
|
14763
14761
|
function getSourceIconName(tableId) {
|
|
@@ -14814,7 +14812,6 @@ var SOURCE_LABELS_BY_TABLE = {
|
|
|
14814
14812
|
"ai-prompts": "Squawkbox",
|
|
14815
14813
|
// Product-hub internal
|
|
14816
14814
|
"design-docs": "Design Docs",
|
|
14817
|
-
"openframe-tenants": "OpenFrame Tenants",
|
|
14818
14815
|
"prospect-calls": "Prospect calls"
|
|
14819
14816
|
};
|
|
14820
14817
|
function getSourceLabel(tableId) {
|
|
@@ -14864,7 +14861,6 @@ var DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = {
|
|
|
14864
14861
|
ai_prompt: "ai-prompts",
|
|
14865
14862
|
// Product-hub internal
|
|
14866
14863
|
design_doc: "design-docs",
|
|
14867
|
-
openframe_tenant: "openframe-tenants",
|
|
14868
14864
|
prospect_call: "prospect-calls"
|
|
14869
14865
|
};
|
|
14870
14866
|
function defaultTableIdForDocumentType(documentType) {
|
|
@@ -14908,16 +14904,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14908
14904
|
if (docTarget) {
|
|
14909
14905
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14910
14906
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14911
|
-
href = _nullishCoalesce(
|
|
14907
|
+
href = _nullishCoalesce(_chunkEIZAYFJGcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14912
14908
|
targetPlatform = docTarget.platform;
|
|
14913
14909
|
} else if (ctx.chipBasePlatform) {
|
|
14914
14910
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14915
|
-
href = _nullishCoalesce(
|
|
14911
|
+
href = _nullishCoalesce(_chunkEIZAYFJGcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14916
14912
|
targetPlatform = ctx.chipBasePlatform;
|
|
14917
14913
|
} else if (ctx.baseRoute) {
|
|
14918
14914
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14919
14915
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14920
|
-
href = _nullishCoalesce(
|
|
14916
|
+
href = _nullishCoalesce(_chunkEIZAYFJGcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14921
14917
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14922
14918
|
}
|
|
14923
14919
|
}
|
|
@@ -14926,15 +14922,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14926
14922
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14927
14923
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14928
14924
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14929
|
-
type:
|
|
14925
|
+
type: _chunkEIZAYFJGcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14930
14926
|
identifier: idValue,
|
|
14931
14927
|
externalUrl: row.externalUrl,
|
|
14932
14928
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14933
14929
|
});
|
|
14934
|
-
href = composed.href ? _nullishCoalesce(
|
|
14930
|
+
href = composed.href ? _nullishCoalesce(_chunkEIZAYFJGcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14935
14931
|
targetPlatform = composed.targetPlatform;
|
|
14936
14932
|
} else if (row.externalUrl) {
|
|
14937
|
-
href = _nullishCoalesce(
|
|
14933
|
+
href = _nullishCoalesce(_chunkEIZAYFJGcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14938
14934
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14939
14935
|
}
|
|
14940
14936
|
const documentType = row.documentType;
|
|
@@ -14969,11 +14965,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
14969
14965
|
|
|
14970
14966
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
14971
14967
|
const label = entityLabel || "Item";
|
|
14972
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
14973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14974
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
14975
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14976
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14968
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
14970
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14971
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEIZAYFJGcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
14972
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEIZAYFJGcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
14977
14973
|
label,
|
|
14978
14974
|
" deleted",
|
|
14979
14975
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -15019,7 +15015,7 @@ function GitHubChatCard({
|
|
|
15019
15015
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
15020
15016
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
15021
15017
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
15022
|
-
const dateText =
|
|
15018
|
+
const dateText = _chunkEIZAYFJGcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
15023
15019
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
15024
15020
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15025
15021
|
MingoInfoCard,
|
|
@@ -15028,7 +15024,7 @@ function GitHubChatCard({
|
|
|
15028
15024
|
description,
|
|
15029
15025
|
icon: githubKindIcon(kind),
|
|
15030
15026
|
status,
|
|
15031
|
-
anchorProps:
|
|
15027
|
+
anchorProps: _chunkEIZAYFJGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15032
15028
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15033
15029
|
menuAriaLabel: "Activity actions"
|
|
15034
15030
|
}
|
|
@@ -15175,7 +15171,7 @@ function HubspotTicketChatCard({
|
|
|
15175
15171
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15176
15172
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 24 }),
|
|
15177
15173
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15178
|
-
anchorProps:
|
|
15174
|
+
anchorProps: _chunkEIZAYFJGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15179
15175
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15180
15176
|
label: "Open Ticket Details",
|
|
15181
15177
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 20 })
|
|
@@ -15198,7 +15194,7 @@ function FaqChatCard({
|
|
|
15198
15194
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15199
15195
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.QuestionCircleIcon, { size: 24 }),
|
|
15200
15196
|
status: { label: statusLabel, variant: "grey" },
|
|
15201
|
-
anchorProps:
|
|
15197
|
+
anchorProps: _chunkEIZAYFJGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15202
15198
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15203
15199
|
menuAriaLabel: "FAQ actions"
|
|
15204
15200
|
}
|
|
@@ -15218,7 +15214,7 @@ function SlackChatCard({
|
|
|
15218
15214
|
title,
|
|
15219
15215
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15220
15216
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15221
|
-
anchorProps:
|
|
15217
|
+
anchorProps: _chunkEIZAYFJGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15222
15218
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15223
15219
|
menuAriaLabel: "Message actions"
|
|
15224
15220
|
}
|
|
@@ -15236,7 +15232,7 @@ function GlyphChatCard({
|
|
|
15236
15232
|
title: chatRef.title,
|
|
15237
15233
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15238
15234
|
icon,
|
|
15239
|
-
anchorProps:
|
|
15235
|
+
anchorProps: _chunkEIZAYFJGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15240
15236
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15241
15237
|
menuAriaLabel: "Card actions"
|
|
15242
15238
|
}
|
|
@@ -15255,7 +15251,7 @@ function DataRoomDocChatCard({
|
|
|
15255
15251
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15256
15252
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }),
|
|
15257
15253
|
status: { label: badgeText, variant: "grey" },
|
|
15258
|
-
anchorProps:
|
|
15254
|
+
anchorProps: _chunkEIZAYFJGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15259
15255
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15260
15256
|
menuAriaLabel: "Document actions"
|
|
15261
15257
|
}
|
|
@@ -15274,7 +15270,7 @@ function GenericFinancialChatCard({
|
|
|
15274
15270
|
title: chatRef.title,
|
|
15275
15271
|
description: subtitle,
|
|
15276
15272
|
icon,
|
|
15277
|
-
anchorProps:
|
|
15273
|
+
anchorProps: _chunkEIZAYFJGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15278
15274
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15279
15275
|
menuAriaLabel: "Document actions"
|
|
15280
15276
|
}
|
|
@@ -15360,7 +15356,7 @@ function CampaignChatCard({
|
|
|
15360
15356
|
}) {
|
|
15361
15357
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _378 => _378.goals])) ? item.goals.length : 0;
|
|
15362
15358
|
const meta = [
|
|
15363
|
-
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ?
|
|
15359
|
+
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ? _chunkEIZAYFJGcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15364
15360
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15365
15361
|
"Marketing campaign"
|
|
15366
15362
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15399,7 +15395,7 @@ function EntityMingoCard({
|
|
|
15399
15395
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15400
15396
|
icon: fallbackIcon,
|
|
15401
15397
|
status,
|
|
15402
|
-
anchorProps:
|
|
15398
|
+
anchorProps: _chunkEIZAYFJGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15403
15399
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15404
15400
|
menuAriaLabel
|
|
15405
15401
|
}
|
|
@@ -15411,7 +15407,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15411
15407
|
function statusPill(status) {
|
|
15412
15408
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15413
15409
|
if (!s) return void 0;
|
|
15414
|
-
const scheme =
|
|
15410
|
+
const scheme = _chunkEIZAYFJGcjs.getStatusColorScheme.call(void 0, s);
|
|
15415
15411
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15416
15412
|
return { label: s, variant };
|
|
15417
15413
|
}
|
|
@@ -15498,7 +15494,7 @@ function InvestorUpdateChatCard({
|
|
|
15498
15494
|
EntityMingoCard,
|
|
15499
15495
|
{
|
|
15500
15496
|
title,
|
|
15501
|
-
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) ||
|
|
15497
|
+
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) || _chunkEIZAYFJGcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _409 => _409.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _410 => _410.period_end]), () => ( null))) || void 0,
|
|
15502
15498
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _411 => _411.featured_image]), ogPlaceholder),
|
|
15503
15499
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PresentationLineIcon, { size: 24 }),
|
|
15504
15500
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15545,15 +15541,15 @@ function ProgramChatCard({
|
|
|
15545
15541
|
const isScheduled = _optionalChain([item, 'optionalAccess', _418 => _418.status]) === "scheduled";
|
|
15546
15542
|
let typeMeta;
|
|
15547
15543
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
15548
|
-
typeMeta =
|
|
15544
|
+
typeMeta = _chunkEIZAYFJGcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
15549
15545
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _420 => _420.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
15550
15546
|
typeMeta = item.location_name;
|
|
15551
15547
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _421 => _421.start_at])) {
|
|
15552
|
-
const time =
|
|
15553
|
-
const dur =
|
|
15548
|
+
const time = _chunkEIZAYFJGcjs.formatTimeWithTimezone.call(void 0, item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
15549
|
+
const dur = _chunkEIZAYFJGcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
15554
15550
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
15555
15551
|
}
|
|
15556
|
-
const itemDate =
|
|
15552
|
+
const itemDate = _chunkEIZAYFJGcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _422 => _422.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
15557
15553
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
15558
15554
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15559
15555
|
EntityMingoCard,
|
|
@@ -15580,7 +15576,7 @@ function RoadmapChatCard({
|
|
|
15580
15576
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _426 => _426.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15581
15577
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]) != null;
|
|
15582
15578
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MapIcon, { size: 24 });
|
|
15583
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15579
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _428 => _428.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15584
15580
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15585
15581
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15586
15582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15651,7 +15647,6 @@ var GITHUB_CARD_CONFIGS = {
|
|
|
15651
15647
|
};
|
|
15652
15648
|
var REF_GLYPH_CARD_CONFIGS = {
|
|
15653
15649
|
design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }) },
|
|
15654
|
-
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.BuildingsIcon, { size: 24 }) },
|
|
15655
15650
|
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CallIcon, { size: 24 }), media: true }
|
|
15656
15651
|
};
|
|
15657
15652
|
function refGlyphRegistryEntries() {
|
|
@@ -15726,7 +15721,7 @@ function programRegistryEntries() {
|
|
|
15726
15721
|
label: cfg.label,
|
|
15727
15722
|
contentRefType: cfg.contentRefType,
|
|
15728
15723
|
bareInline: true,
|
|
15729
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15724
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15730
15725
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15731
15726
|
ProgramChatCard,
|
|
15732
15727
|
{
|
|
@@ -15767,7 +15762,7 @@ function roadmapRegistryEntries() {
|
|
|
15767
15762
|
bareInline: true,
|
|
15768
15763
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15769
15764
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15770
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15765
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15771
15766
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15772
15767
|
RoadmapChatCard,
|
|
15773
15768
|
{
|
|
@@ -15843,7 +15838,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15843
15838
|
label: "Blog post",
|
|
15844
15839
|
contentRefType: "blog_post_existing",
|
|
15845
15840
|
bareInline: true,
|
|
15846
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15841
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.BlogCardSkeleton, { size: "sm" }),
|
|
15847
15842
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15848
15843
|
BlogChatCard,
|
|
15849
15844
|
{
|
|
@@ -15860,7 +15855,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15860
15855
|
label: "Case study",
|
|
15861
15856
|
contentRefType: "case_study",
|
|
15862
15857
|
bareInline: true,
|
|
15863
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15858
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
15864
15859
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15865
15860
|
CaseStudyChatCard,
|
|
15866
15861
|
{
|
|
@@ -15876,7 +15871,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15876
15871
|
label: "Customer interview",
|
|
15877
15872
|
contentRefType: "customer_interview",
|
|
15878
15873
|
bareInline: true,
|
|
15879
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15874
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
15880
15875
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15881
15876
|
CustomerInterviewChatCard,
|
|
15882
15877
|
{
|
|
@@ -15892,9 +15887,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15892
15887
|
label: "Product release",
|
|
15893
15888
|
contentRefType: "product_release",
|
|
15894
15889
|
bareInline: true,
|
|
15895
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15890
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
15896
15891
|
render: (item, chatRef, opts) => {
|
|
15897
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => (
|
|
15892
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => ( _chunkEIZAYFJGcjs.defaultBuildProductReleaseCardProps));
|
|
15898
15893
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15899
15894
|
ProductReleaseChatCard,
|
|
15900
15895
|
{
|
|
@@ -15912,7 +15907,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15912
15907
|
label: "Investor update",
|
|
15913
15908
|
contentRefType: "investor_update",
|
|
15914
15909
|
bareInline: true,
|
|
15915
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15910
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
15916
15911
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15917
15912
|
InvestorUpdateChatCard,
|
|
15918
15913
|
{
|
|
@@ -15930,7 +15925,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15930
15925
|
bareInline: true,
|
|
15931
15926
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
15932
15927
|
displayAction: true,
|
|
15933
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15928
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIZAYFJGcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
15934
15929
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15935
15930
|
OnboardingGuideChatCard,
|
|
15936
15931
|
{
|
|
@@ -16030,13 +16025,13 @@ function ChatCardLoader({
|
|
|
16030
16025
|
}) : null;
|
|
16031
16026
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
16032
16027
|
...resolvedChatRef,
|
|
16033
|
-
url:
|
|
16028
|
+
url: _chunkEIZAYFJGcjs.safeHref.call(void 0, hrefChoice.href),
|
|
16034
16029
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
16035
16030
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
16036
16031
|
} : resolvedChatRef;
|
|
16037
16032
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
16038
16033
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
16039
|
-
const isNewTab =
|
|
16034
|
+
const isNewTab = _chunkEIZAYFJGcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
16040
16035
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
16041
16036
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16042
16037
|
const discuss = discussFn ? {
|
|
@@ -17530,7 +17525,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17530
17525
|
return () => root.removeEventListener("click", onClick);
|
|
17531
17526
|
}, [viewUrlPrefix]);
|
|
17532
17527
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17533
|
-
|
|
17528
|
+
_chunkEIZAYFJGcjs.ImageGalleryModal,
|
|
17534
17529
|
{
|
|
17535
17530
|
images: state.images,
|
|
17536
17531
|
isOpen: state.isOpen,
|
|
@@ -24334,7 +24329,7 @@ function SourceChip({
|
|
|
24334
24329
|
const Icon = cta.icon;
|
|
24335
24330
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24336
24331
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24337
|
-
const decideTab = (href, targetPlatform) =>
|
|
24332
|
+
const decideTab = (href, targetPlatform) => _chunkEIZAYFJGcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24338
24333
|
if (src.items && src.items.length > 0) {
|
|
24339
24334
|
const dropdownItems = src.items.map((item) => {
|
|
24340
24335
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24423,7 +24418,7 @@ function SourceChip({
|
|
|
24423
24418
|
"a",
|
|
24424
24419
|
{
|
|
24425
24420
|
href: resolvedHref,
|
|
24426
|
-
...
|
|
24421
|
+
..._chunkEIZAYFJGcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24427
24422
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24428
24423
|
className: chipClass,
|
|
24429
24424
|
children: chipBody(src.name)
|
|
@@ -24439,7 +24434,7 @@ function SourceChip({
|
|
|
24439
24434
|
"a",
|
|
24440
24435
|
{
|
|
24441
24436
|
href: resolvedHref,
|
|
24442
|
-
...
|
|
24437
|
+
..._chunkEIZAYFJGcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24443
24438
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24444
24439
|
className: chipClass,
|
|
24445
24440
|
title: displayName,
|
|
@@ -25235,7 +25230,7 @@ function EmbeddableChatInner({
|
|
|
25235
25230
|
headerAvatar ? (
|
|
25236
25231
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
25237
25232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25238
|
-
|
|
25233
|
+
_chunkEIZAYFJGcjs.SquareAvatar,
|
|
25239
25234
|
{
|
|
25240
25235
|
variant: "round",
|
|
25241
25236
|
sizePx: 32,
|
|
@@ -25954,4 +25949,4 @@ function EmbeddableChatInner({
|
|
|
25954
25949
|
|
|
25955
25950
|
|
|
25956
25951
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardSkeleton = AdminContentCardSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat;
|
|
25957
|
-
//# sourceMappingURL=chunk-
|
|
25952
|
+
//# sourceMappingURL=chunk-BYJHTHP7.cjs.map
|