@flamingo-stack/openframe-frontend-core 0.0.584 → 0.0.585
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-3ELW4VML.js → chunk-276BXVOB.js} +3 -3
- package/dist/{chunk-Q66AMADB.cjs → chunk-27DK5GCC.cjs} +6 -6
- package/dist/{chunk-Q66AMADB.cjs.map → chunk-27DK5GCC.cjs.map} +1 -1
- package/dist/{chunk-TOUD3AGK.js → chunk-36GXR7BR.js} +5 -5
- package/dist/{chunk-QJR32JM2.cjs → chunk-3F7V7GFU.cjs} +212 -194
- package/dist/chunk-3F7V7GFU.cjs.map +1 -0
- package/dist/{chunk-33DHEEMP.cjs → chunk-4TN6C7ZG.cjs} +33 -33
- package/dist/{chunk-33DHEEMP.cjs.map → chunk-4TN6C7ZG.cjs.map} +1 -1
- package/dist/{chunk-VEHZNQ77.cjs → chunk-5LUPIYPH.cjs} +30 -30
- package/dist/{chunk-VEHZNQ77.cjs.map → chunk-5LUPIYPH.cjs.map} +1 -1
- package/dist/{chunk-JAJQ5P2Q.cjs → chunk-5YVCIBUH.cjs} +28 -28
- package/dist/{chunk-JAJQ5P2Q.cjs.map → chunk-5YVCIBUH.cjs.map} +1 -1
- package/dist/{chunk-ZHUBNWEX.cjs → chunk-6VFO4JUH.cjs} +6 -6
- package/dist/{chunk-ZHUBNWEX.cjs.map → chunk-6VFO4JUH.cjs.map} +1 -1
- package/dist/{chunk-5CJKZHWO.js → chunk-7554QJ6R.js} +5 -5
- package/dist/{chunk-EJKEDCTH.js → chunk-BNZFLIEG.js} +7 -7
- package/dist/{chunk-UCNEQKIT.cjs → chunk-BU2KLFRB.cjs} +5 -5
- package/dist/{chunk-UCNEQKIT.cjs.map → chunk-BU2KLFRB.cjs.map} +1 -1
- package/dist/{chunk-YFZDIEVC.js → chunk-CTZP2NJQ.js} +6 -6
- package/dist/{chunk-XWBND4G5.js → chunk-D7YISHXC.js} +17 -2
- package/dist/{chunk-XWBND4G5.js.map → chunk-D7YISHXC.js.map} +1 -1
- package/dist/{chunk-JFKK3ZOA.cjs → chunk-DZM7KTHE.cjs} +57 -57
- package/dist/{chunk-JFKK3ZOA.cjs.map → chunk-DZM7KTHE.cjs.map} +1 -1
- package/dist/{chunk-NNFQLTJ3.cjs → chunk-EMF64FWA.cjs} +31 -5
- package/dist/chunk-EMF64FWA.cjs.map +1 -0
- package/dist/{chunk-7X5TCK4R.cjs → chunk-F5SV627B.cjs} +10 -10
- package/dist/{chunk-7X5TCK4R.cjs.map → chunk-F5SV627B.cjs.map} +1 -1
- package/dist/{chunk-KP6VJP36.js → chunk-FCKOWGTE.js} +4 -4
- package/dist/{chunk-IIT5HWLY.cjs → chunk-FQJBV5ON.cjs} +11 -11
- package/dist/{chunk-IIT5HWLY.cjs.map → chunk-FQJBV5ON.cjs.map} +1 -1
- package/dist/{chunk-IKUSKKFZ.cjs → chunk-G45RGWHF.cjs} +159 -144
- package/dist/chunk-G45RGWHF.cjs.map +1 -0
- package/dist/{chunk-LNKULR4V.js → chunk-GG76BPXJ.js} +2 -2
- package/dist/{chunk-3ZA2OYRE.cjs → chunk-HAIRDHWL.cjs} +3 -3
- package/dist/{chunk-3ZA2OYRE.cjs.map → chunk-HAIRDHWL.cjs.map} +1 -1
- package/dist/{chunk-JWKAJTNA.cjs → chunk-HBI7AWUE.cjs} +28 -28
- package/dist/{chunk-JWKAJTNA.cjs.map → chunk-HBI7AWUE.cjs.map} +1 -1
- package/dist/{chunk-RURZ6QLN.js → chunk-HQRKC6P7.js} +3 -3
- package/dist/{chunk-VZSTL5VG.js → chunk-J4MVZ53H.js} +3 -3
- package/dist/{chunk-MYEG5ZDT.js → chunk-JKWWACNI.js} +3 -3
- package/dist/{chunk-6BJYPG2V.js → chunk-LNKBNY3A.js} +4 -4
- package/dist/{chunk-MCWAZ5XI.js → chunk-NFWAL6UV.js} +2 -2
- package/dist/{chunk-P2VRLSAP.cjs → chunk-QIVZG4XK.cjs} +21 -21
- package/dist/{chunk-P2VRLSAP.cjs.map → chunk-QIVZG4XK.cjs.map} +1 -1
- package/dist/{chunk-4T5KOD3G.js → chunk-SCMESLXP.js} +6 -6
- package/dist/{chunk-XPJKQ63S.js → chunk-UG6SHUGE.js} +3 -3
- package/dist/{chunk-MEJFHD5N.cjs → chunk-ULGI56BW.cjs} +19 -19
- package/dist/{chunk-MEJFHD5N.cjs.map → chunk-ULGI56BW.cjs.map} +1 -1
- package/dist/{chunk-VOAZU46B.cjs → chunk-VQ5FMCZA.cjs} +80 -80
- package/dist/{chunk-VOAZU46B.cjs.map → chunk-VQ5FMCZA.cjs.map} +1 -1
- package/dist/{chunk-TLKHLGAB.js → chunk-VSXFBO4D.js} +3 -3
- package/dist/{chunk-JVWRMLQZ.js → chunk-WXL2AR5I.js} +1330 -1312
- package/dist/chunk-WXL2AR5I.js.map +1 -0
- package/dist/{chunk-3LMYQGAJ.js → chunk-X7YSF6A3.js} +28 -2
- package/dist/chunk-X7YSF6A3.js.map +1 -0
- package/dist/{chunk-HCKEDTKJ.cjs → chunk-XK4S47LG.cjs} +15 -15
- package/dist/{chunk-HCKEDTKJ.cjs.map → chunk-XK4S47LG.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
- package/dist/components/features/push-button-selector.d.ts +9 -7
- package/dist/components/features/push-button-selector.d.ts.map +1 -1
- package/dist/components/features/release-media-manager.d.ts.map +1 -1
- package/dist/components/features/video.d.ts +8 -0
- package/dist/components/features/video.d.ts.map +1 -1
- 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 -51
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +17 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +31 -31
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +6 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +5 -3
- package/dist/components/ui/lazy-mount.d.ts +21 -0
- package/dist/components/ui/lazy-mount.d.ts.map +1 -0
- package/dist/index.cjs +20 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -7
- package/dist/index.js.map +1 -1
- package/dist/types/marketing.d.ts +1 -1
- package/dist/types/marketing.d.ts.map +1 -1
- package/dist/utils/index.cjs +26 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +22 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/media-type.d.ts +26 -0
- package/dist/utils/media-type.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/entity-cards/program-card.tsx +2 -2
- package/src/components/features/media-gallery-manager.tsx +4 -3
- package/src/components/features/push-button-selector.tsx +15 -12
- package/src/components/features/release-media-manager.tsx +3 -2
- package/src/components/features/video.tsx +28 -0
- package/src/components/loading/__tests__/unified-skeleton.test.tsx +16 -0
- package/src/components/loading/unified-skeleton.tsx +5 -1
- package/src/components/ui/__tests__/lazy-mount.test.tsx +46 -0
- package/src/components/ui/index.ts +3 -0
- package/src/components/ui/lazy-mount.tsx +38 -0
- package/src/types/.marketing.md +0 -1
- package/src/types/marketing.ts +4 -2
- package/src/utils/__tests__/media-type.test.ts +30 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/media-type.ts +39 -0
- package/src/utils/vendor-media-stub.ts +7 -7
- package/dist/chunk-3LMYQGAJ.js.map +0 -1
- package/dist/chunk-IKUSKKFZ.cjs.map +0 -1
- package/dist/chunk-JVWRMLQZ.js.map +0 -1
- package/dist/chunk-NNFQLTJ3.cjs.map +0 -1
- package/dist/chunk-QJR32JM2.cjs.map +0 -1
- /package/dist/{chunk-3ELW4VML.js.map → chunk-276BXVOB.js.map} +0 -0
- /package/dist/{chunk-TOUD3AGK.js.map → chunk-36GXR7BR.js.map} +0 -0
- /package/dist/{chunk-5CJKZHWO.js.map → chunk-7554QJ6R.js.map} +0 -0
- /package/dist/{chunk-EJKEDCTH.js.map → chunk-BNZFLIEG.js.map} +0 -0
- /package/dist/{chunk-YFZDIEVC.js.map → chunk-CTZP2NJQ.js.map} +0 -0
- /package/dist/{chunk-KP6VJP36.js.map → chunk-FCKOWGTE.js.map} +0 -0
- /package/dist/{chunk-LNKULR4V.js.map → chunk-GG76BPXJ.js.map} +0 -0
- /package/dist/{chunk-RURZ6QLN.js.map → chunk-HQRKC6P7.js.map} +0 -0
- /package/dist/{chunk-VZSTL5VG.js.map → chunk-J4MVZ53H.js.map} +0 -0
- /package/dist/{chunk-MYEG5ZDT.js.map → chunk-JKWWACNI.js.map} +0 -0
- /package/dist/{chunk-6BJYPG2V.js.map → chunk-LNKBNY3A.js.map} +0 -0
- /package/dist/{chunk-MCWAZ5XI.js.map → chunk-NFWAL6UV.js.map} +0 -0
- /package/dist/{chunk-4T5KOD3G.js.map → chunk-SCMESLXP.js.map} +0 -0
- /package/dist/{chunk-XPJKQ63S.js.map → chunk-UG6SHUGE.js.map} +0 -0
- /package/dist/{chunk-TLKHLGAB.js.map → chunk-VSXFBO4D.js.map} +0 -0
|
@@ -167,7 +167,7 @@ var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
var
|
|
170
|
+
var _chunkEMF64FWAcjs = require('./chunk-EMF64FWA.cjs');
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -4692,7 +4692,7 @@ function MspOrganizationCard({
|
|
|
4692
4692
|
className
|
|
4693
4693
|
),
|
|
4694
4694
|
children: [
|
|
4695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4696
4696
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4697
4697
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4698
4698
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
@@ -4825,7 +4825,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4825
4825
|
] })
|
|
4826
4826
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4827
4827
|
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,
|
|
4828
|
-
|
|
4828
|
+
_chunkEMF64FWAcjs.SquareAvatar,
|
|
4829
4829
|
{
|
|
4830
4830
|
src: userAvatar,
|
|
4831
4831
|
alt: userName,
|
|
@@ -7188,7 +7188,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7188
7188
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7189
7189
|
// no filled pill — the icon carries its own brand accent.
|
|
7190
7190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7191
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7191
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.SquareAvatar, { ...avatarProps })),
|
|
7192
7192
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7193
7193
|
"span",
|
|
7194
7194
|
{
|
|
@@ -7974,7 +7974,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
7974
7974
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
7975
7975
|
function useProxiedImageUrl(url) {
|
|
7976
7976
|
const r = _chunkRDTOMWDNcjs.useRequiredChatRuntime.call(void 0, );
|
|
7977
|
-
return _nullishCoalesce(
|
|
7977
|
+
return _nullishCoalesce(_chunkEMF64FWAcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
7978
7978
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
7979
7979
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
7980
7980
|
directHttps: true
|
|
@@ -8000,7 +8000,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8000
8000
|
height: 40,
|
|
8001
8001
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8002
8002
|
}
|
|
8003
|
-
) : /* @__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:
|
|
8003
|
+
) : /* @__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: _chunkEMF64FWAcjs.getFirstLastInitials.call(void 0, displayName) || "?" }),
|
|
8004
8004
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8005
8005
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8006
8006
|
/* @__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 }),
|
|
@@ -9280,7 +9280,7 @@ function MingoChatHistoryRow({
|
|
|
9280
9280
|
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")
|
|
9281
9281
|
),
|
|
9282
9282
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9283
|
-
|
|
9283
|
+
_chunkEMF64FWAcjs.SquareAvatar,
|
|
9284
9284
|
{
|
|
9285
9285
|
variant: "round",
|
|
9286
9286
|
sizePx: 24,
|
|
@@ -10421,7 +10421,7 @@ function ChatPanelHeader({
|
|
|
10421
10421
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10422
10422
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10423
10423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10424
|
-
|
|
10424
|
+
_chunkEMF64FWAcjs.SquareAvatar,
|
|
10425
10425
|
{
|
|
10426
10426
|
variant: "round",
|
|
10427
10427
|
sizePx: 32,
|
|
@@ -10635,8 +10635,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10635
10635
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10636
10636
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10637
10637
|
status === "sniffing" && "Checking\u2026",
|
|
10638
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10639
|
-
status === "ready" &&
|
|
10638
|
+
status === "uploading" && `${progress}% \xB7 ${_chunkEMF64FWAcjs.formatFileSize.call(void 0, file.size)}`,
|
|
10639
|
+
status === "ready" && _chunkEMF64FWAcjs.formatFileSize.call(void 0, file.size),
|
|
10640
10640
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10641
10641
|
] })
|
|
10642
10642
|
] }),
|
|
@@ -11406,10 +11406,10 @@ function resolveExternalNavigation(args) {
|
|
|
11406
11406
|
|
|
11407
11407
|
// src/components/chat/utils/execute-navigation.ts
|
|
11408
11408
|
function isForeignOriginHref(href) {
|
|
11409
|
-
return /^https?:\/\//i.test(href) && !
|
|
11409
|
+
return /^https?:\/\//i.test(href) && !_chunkEMF64FWAcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
11410
11410
|
}
|
|
11411
11411
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
11412
|
-
const isNewTab = runtime ?
|
|
11412
|
+
const isNewTab = runtime ? _chunkEMF64FWAcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
11413
11413
|
if (isNewTab) {
|
|
11414
11414
|
if (_optionalChain([runtime, 'optionalAccess', _203 => _203.navigation, 'access', _204 => _204.openExternal])) runtime.navigation.openExternal(href);
|
|
11415
11415
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -11468,7 +11468,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11468
11468
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
11469
11469
|
const panel = useChatPanel();
|
|
11470
11470
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11471
|
-
const isNewTab =
|
|
11471
|
+
const isNewTab = _chunkEMF64FWAcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
11472
11472
|
const onClick = (e) => {
|
|
11473
11473
|
const handled = executeNavigation({
|
|
11474
11474
|
event: e,
|
|
@@ -11480,7 +11480,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11480
11480
|
});
|
|
11481
11481
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _208 => _208.closeChat])) panel.closeChat();
|
|
11482
11482
|
};
|
|
11483
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
11483
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunkEMF64FWAcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
11484
11484
|
}
|
|
11485
11485
|
|
|
11486
11486
|
// src/components/chat/source-action-button.tsx
|
|
@@ -11998,10 +11998,25 @@ var VIDEO_YOUTUBE_FACADE_KEYS = [
|
|
|
11998
11998
|
];
|
|
11999
11999
|
var pickYouTube = (props) => pickForwardedKeys(props, VIDEO_YOUTUBE_FACADE_KEYS);
|
|
12000
12000
|
function Video2(props) {
|
|
12001
|
+
const { ref: nearRef, isNear } = _chunkZI27ALYXcjs.useNearViewport.call(void 0, );
|
|
12001
12002
|
const url = props.url;
|
|
12002
12003
|
if (!url) return null;
|
|
12003
12004
|
const effectiveKind = resolveKind(props, url);
|
|
12004
12005
|
const layout = _nullishCoalesce(props.layout, () => ( "native"));
|
|
12006
|
+
if (props.lazy && !isNear) {
|
|
12007
|
+
return wrapWithLayout(
|
|
12008
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12009
|
+
"div",
|
|
12010
|
+
{
|
|
12011
|
+
ref: nearRef,
|
|
12012
|
+
className: props.className,
|
|
12013
|
+
style: props.poster ? { backgroundImage: `url(${props.poster})`, backgroundSize: "cover", backgroundPosition: "center" } : void 0,
|
|
12014
|
+
"aria-hidden": "true"
|
|
12015
|
+
}
|
|
12016
|
+
),
|
|
12017
|
+
layout
|
|
12018
|
+
);
|
|
12019
|
+
}
|
|
12005
12020
|
const inner = effectiveKind === "youtube" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12006
12021
|
YouTubeFacade,
|
|
12007
12022
|
{
|
|
@@ -12707,9 +12722,9 @@ function UserDisplay({
|
|
|
12707
12722
|
}) {
|
|
12708
12723
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRPZBXWZcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
12709
12724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12710
|
-
|
|
12725
|
+
_chunkEMF64FWAcjs.SquareAvatar,
|
|
12711
12726
|
{
|
|
12712
|
-
src: avatarUrl ?
|
|
12727
|
+
src: avatarUrl ? _chunkEMF64FWAcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12713
12728
|
fallback: name,
|
|
12714
12729
|
alt: name,
|
|
12715
12730
|
sizePx: size2,
|
|
@@ -13209,7 +13224,7 @@ function VideoHoverPreviewSurface({
|
|
|
13209
13224
|
return () => io.disconnect();
|
|
13210
13225
|
}, [gateControlled]);
|
|
13211
13226
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13212
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13227
|
+
const { src: posterSrc, onError: onPosterError } = _chunkEMF64FWAcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13213
13228
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13214
13229
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootElRef, className: _chunkPRPZBXWZcjs.cn.call(void 0, "absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13215
13230
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13327,7 +13342,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13327
13342
|
|
|
13328
13343
|
function VideoBitesStrip({
|
|
13329
13344
|
bites,
|
|
13330
|
-
title =
|
|
13345
|
+
title = _chunkEMF64FWAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13331
13346
|
showTitle = true,
|
|
13332
13347
|
filterPublished = true,
|
|
13333
13348
|
profile = null,
|
|
@@ -13340,7 +13355,7 @@ function VideoBitesStrip({
|
|
|
13340
13355
|
cardHeightMobile = 300,
|
|
13341
13356
|
showChevrons = true,
|
|
13342
13357
|
onBiteNavigate,
|
|
13343
|
-
sortComparator =
|
|
13358
|
+
sortComparator = _chunkEMF64FWAcjs.sortBitesByCreatedAtDesc,
|
|
13344
13359
|
className
|
|
13345
13360
|
}) {
|
|
13346
13361
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -13565,7 +13580,7 @@ function EntityVideoSection({
|
|
|
13565
13580
|
title = "Video",
|
|
13566
13581
|
videoSummary,
|
|
13567
13582
|
videoBites,
|
|
13568
|
-
bitesTitle =
|
|
13583
|
+
bitesTitle = _chunkEMF64FWAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13569
13584
|
filterPublishedBites = true,
|
|
13570
13585
|
bitesProfile = null,
|
|
13571
13586
|
bitesHref,
|
|
@@ -13804,7 +13819,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
13804
13819
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
13805
13820
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
13806
13821
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
13807
|
-
const dateText =
|
|
13822
|
+
const dateText = _chunkEMF64FWAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
13808
13823
|
const idLabel = formatActivityId(item.id, kind);
|
|
13809
13824
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
13810
13825
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -13838,26 +13853,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
13838
13853
|
metaParts.push(
|
|
13839
13854
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
13840
13855
|
);
|
|
13841
|
-
const href =
|
|
13856
|
+
const href = _chunkEMF64FWAcjs.safeHref.call(void 0, item.url);
|
|
13842
13857
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13844
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
13845
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
13858
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
13859
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
13860
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
13846
13861
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
13847
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13862
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
13848
13863
|
] }),
|
|
13849
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13864
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
13850
13865
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
13851
13866
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
13852
13867
|
] }, i)) }) }),
|
|
13853
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SUMMARY, children: _chunkEMF64FWAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
13854
13869
|
] }),
|
|
13855
13870
|
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
|
|
13856
13871
|
] });
|
|
13857
13872
|
if (anchorProps) {
|
|
13858
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
13873
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
13859
13874
|
}
|
|
13860
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
13875
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
13861
13876
|
}
|
|
13862
13877
|
function GitHubActivityCardSkeleton({
|
|
13863
13878
|
variant = "compact",
|
|
@@ -13874,12 +13889,12 @@ function GitHubActivityCardSkeleton({
|
|
|
13874
13889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
13875
13890
|
] });
|
|
13876
13891
|
}
|
|
13877
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
13878
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13879
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
13880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13892
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
13893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
13894
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
13895
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
13896
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
13897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SUMMARY, children: _chunkEMF64FWAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
13883
13898
|
] }),
|
|
13884
13899
|
/* @__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" }) })
|
|
13885
13900
|
] });
|
|
@@ -13903,7 +13918,7 @@ function parseChannelFromUrl(url) {
|
|
|
13903
13918
|
}
|
|
13904
13919
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
13905
13920
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
13906
|
-
const dateText =
|
|
13921
|
+
const dateText = _chunkEMF64FWAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
13907
13922
|
if (variant === "row") {
|
|
13908
13923
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
13909
13924
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKZAAIUP5cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -13929,23 +13944,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
13929
13944
|
metaParts.push(
|
|
13930
13945
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
13931
13946
|
);
|
|
13932
|
-
const href =
|
|
13947
|
+
const href = _chunkEMF64FWAcjs.safeHref.call(void 0, item.url);
|
|
13933
13948
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13934
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13935
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
13936
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13937
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13938
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13949
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKZAAIUP5cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
13950
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
13951
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
13952
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkEMF64FWAcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
13953
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
13939
13954
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
13940
13955
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
13941
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13956
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SUMMARY, children: _chunkEMF64FWAcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
13942
13957
|
] }),
|
|
13943
13958
|
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
|
|
13944
13959
|
] });
|
|
13945
13960
|
if (anchorProps) {
|
|
13946
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
13961
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
13947
13962
|
}
|
|
13948
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
13963
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
13949
13964
|
}
|
|
13950
13965
|
function SlackMessageCardSkeleton({
|
|
13951
13966
|
variant = "compact",
|
|
@@ -13960,12 +13975,12 @@ function SlackMessageCardSkeleton({
|
|
|
13960
13975
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
13961
13976
|
] });
|
|
13962
13977
|
}
|
|
13963
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
13964
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13965
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
13966
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13967
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13968
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
13978
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
13979
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
13980
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
13981
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
13982
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
13983
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
13969
13984
|
] }),
|
|
13970
13985
|
/* @__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" }) })
|
|
13971
13986
|
] });
|
|
@@ -13996,12 +14011,12 @@ function statusScheme(status) {
|
|
|
13996
14011
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
13997
14012
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
13998
14013
|
const priorityText = formatToken(item.priority);
|
|
13999
|
-
const dateText =
|
|
14014
|
+
const dateText = _chunkEMF64FWAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14000
14015
|
if (variant === "row") {
|
|
14001
14016
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14002
14017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14003
14018
|
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,
|
|
14004
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14019
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14005
14020
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14006
14021
|
] });
|
|
14007
14022
|
}
|
|
@@ -14015,13 +14030,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14015
14030
|
metaParts.push(
|
|
14016
14031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14017
14032
|
);
|
|
14018
|
-
const href =
|
|
14033
|
+
const href = _chunkEMF64FWAcjs.safeHref.call(void 0, item.url);
|
|
14019
14034
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14020
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14035
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14021
14036
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14037
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14023
14038
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14024
|
-
|
|
14039
|
+
_chunkEMF64FWAcjs.StatusBadge,
|
|
14025
14040
|
{
|
|
14026
14041
|
text: priorityText,
|
|
14027
14042
|
variant: "button",
|
|
@@ -14030,7 +14045,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14030
14045
|
}
|
|
14031
14046
|
) : null,
|
|
14032
14047
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14033
|
-
|
|
14048
|
+
_chunkEMF64FWAcjs.StatusBadge,
|
|
14034
14049
|
{
|
|
14035
14050
|
text: statusText,
|
|
14036
14051
|
variant: "button",
|
|
@@ -14044,7 +14059,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14044
14059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14045
14060
|
] }) : null,
|
|
14046
14061
|
/* @__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." }) }) }),
|
|
14047
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14062
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14048
14063
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14049
14064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14050
14065
|
] }, i)) }) }) : null
|
|
@@ -14052,9 +14067,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14052
14067
|
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
|
|
14053
14068
|
] });
|
|
14054
14069
|
if (anchorProps) {
|
|
14055
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14070
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14056
14071
|
}
|
|
14057
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14072
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14058
14073
|
}
|
|
14059
14074
|
function HubspotTicketCardSkeleton({
|
|
14060
14075
|
variant = "compact",
|
|
@@ -14068,8 +14083,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14068
14083
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14069
14084
|
] });
|
|
14070
14085
|
}
|
|
14071
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14072
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14086
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14087
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14073
14088
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14074
14089
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14075
14090
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14082,7 +14097,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14082
14097
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14083
14098
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14084
14099
|
] }),
|
|
14085
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14100
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14086
14101
|
] }),
|
|
14087
14102
|
/* @__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" }) })
|
|
14088
14103
|
] });
|
|
@@ -14093,10 +14108,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14093
14108
|
|
|
14094
14109
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14095
14110
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14096
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14111
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14097
14112
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14098
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14114
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14100
14115
|
] }),
|
|
14101
14116
|
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: [
|
|
14102
14117
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14107,13 +14122,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14107
14122
|
_optionalChain([anchorProps, 'optionalAccess', _343 => _343.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
|
|
14108
14123
|
] });
|
|
14109
14124
|
if (!anchorProps) {
|
|
14110
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14125
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14111
14126
|
}
|
|
14112
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14127
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14113
14128
|
}
|
|
14114
14129
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14115
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14116
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14130
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14131
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14117
14132
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14118
14133
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14119
14134
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14134,29 +14149,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14134
14149
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14135
14150
|
const goalsCount = _optionalChain([campaign, 'access', _344 => _344.goals, 'optionalAccess', _345 => _345.length]) || 0;
|
|
14136
14151
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14138
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14139
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14140
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14141
|
-
campaign.start_date ?
|
|
14152
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14153
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14155
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14156
|
+
campaign.start_date ? _chunkEMF64FWAcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14142
14157
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14143
14158
|
"Marketing campaign"
|
|
14144
14159
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14145
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14160
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkEMF64FWAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14146
14161
|
] })
|
|
14147
14162
|
] });
|
|
14148
14163
|
if (anchorProps) {
|
|
14149
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14164
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14150
14165
|
}
|
|
14151
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14166
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14152
14167
|
}
|
|
14153
14168
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14154
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14156
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14157
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14158
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14159
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14169
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14170
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14171
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14172
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14160
14175
|
] })
|
|
14161
14176
|
] });
|
|
14162
14177
|
}
|
|
@@ -14165,14 +14180,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14165
14180
|
|
|
14166
14181
|
|
|
14167
14182
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14168
|
-
const href =
|
|
14169
|
-
const dateText =
|
|
14183
|
+
const href = _chunkEMF64FWAcjs.safeHref.call(void 0, item.url);
|
|
14184
|
+
const dateText = _chunkEMF64FWAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14170
14185
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14171
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14186
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14172
14187
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14174
14189
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14175
|
-
|
|
14190
|
+
_chunkEMF64FWAcjs.StatusBadge,
|
|
14176
14191
|
{
|
|
14177
14192
|
text: item.badge.text,
|
|
14178
14193
|
variant: "button",
|
|
@@ -14190,18 +14205,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14190
14205
|
] }),
|
|
14191
14206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14192
14207
|
] }, i)) }) : null,
|
|
14193
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14208
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14194
14209
|
] }),
|
|
14195
14210
|
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
|
|
14196
14211
|
] });
|
|
14197
14212
|
if (anchorProps) {
|
|
14198
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14213
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14199
14214
|
}
|
|
14200
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14215
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14201
14216
|
}
|
|
14202
14217
|
function GenericEntityCardSkeleton({ className }) {
|
|
14203
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14204
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14218
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14219
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14205
14220
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14206
14221
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14207
14222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14250,8 +14265,8 @@ function useChatCardItem(type, id) {
|
|
|
14250
14265
|
const res = await _chunkCP6TIRONcjs.embedAuthedFetch.call(void 0, url);
|
|
14251
14266
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14252
14267
|
const data = await res.json();
|
|
14253
|
-
const items =
|
|
14254
|
-
const match = items.find((it) =>
|
|
14268
|
+
const items = _chunkEMF64FWAcjs.extractItems.call(void 0, data);
|
|
14269
|
+
const match = items.find((it) => _chunkEMF64FWAcjs.extractItemId.call(void 0, type, it) === id);
|
|
14255
14270
|
return _nullishCoalesce(match, () => ( null));
|
|
14256
14271
|
},
|
|
14257
14272
|
enabled: !!url && id.length > 0,
|
|
@@ -14284,7 +14299,7 @@ function useChatCardItem(type, id) {
|
|
|
14284
14299
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
14285
14300
|
if (imageSrc) {
|
|
14286
14301
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
14287
|
-
/* @__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:
|
|
14302
|
+
/* @__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: _chunkEMF64FWAcjs.getFirstLastInitials.call(void 0, imageAlt) || "?" }),
|
|
14288
14303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14289
14304
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
14290
14305
|
{
|
|
@@ -14442,7 +14457,7 @@ function resolveFetchedCardHref({
|
|
|
14442
14457
|
composeContentUrl
|
|
14443
14458
|
}) {
|
|
14444
14459
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14445
|
-
const canonicalType =
|
|
14460
|
+
const canonicalType = _chunkEMF64FWAcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14446
14461
|
return composeContentUrl({
|
|
14447
14462
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14448
14463
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14625,16 +14640,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14625
14640
|
if (docTarget) {
|
|
14626
14641
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14627
14642
|
const base = `${_chunkPRPZBXWZcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14628
|
-
href = _nullishCoalesce(
|
|
14643
|
+
href = _nullishCoalesce(_chunkEMF64FWAcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14629
14644
|
targetPlatform = docTarget.platform;
|
|
14630
14645
|
} else if (ctx.chipBasePlatform) {
|
|
14631
14646
|
const base = `${_chunkPRPZBXWZcjs.getBaseUrl.call(void 0, ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14632
|
-
href = _nullishCoalesce(
|
|
14647
|
+
href = _nullishCoalesce(_chunkEMF64FWAcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14633
14648
|
targetPlatform = ctx.chipBasePlatform;
|
|
14634
14649
|
} else if (ctx.baseRoute) {
|
|
14635
14650
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14636
14651
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14637
|
-
href = _nullishCoalesce(
|
|
14652
|
+
href = _nullishCoalesce(_chunkEMF64FWAcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14638
14653
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14639
14654
|
}
|
|
14640
14655
|
}
|
|
@@ -14643,15 +14658,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14643
14658
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14644
14659
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14645
14660
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14646
|
-
type:
|
|
14661
|
+
type: _chunkEMF64FWAcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14647
14662
|
identifier: idValue,
|
|
14648
14663
|
externalUrl: row.externalUrl,
|
|
14649
14664
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14650
14665
|
});
|
|
14651
|
-
href = composed.href ? _nullishCoalesce(
|
|
14666
|
+
href = composed.href ? _nullishCoalesce(_chunkEMF64FWAcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14652
14667
|
targetPlatform = composed.targetPlatform;
|
|
14653
14668
|
} else if (row.externalUrl) {
|
|
14654
|
-
href = _nullishCoalesce(
|
|
14669
|
+
href = _nullishCoalesce(_chunkEMF64FWAcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14655
14670
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14656
14671
|
}
|
|
14657
14672
|
const documentType = row.documentType;
|
|
@@ -14686,11 +14701,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
14686
14701
|
|
|
14687
14702
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
14688
14703
|
const label = entityLabel || "Item";
|
|
14689
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
14690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14691
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
14692
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14693
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14704
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14705
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEMF64FWAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
14706
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14707
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEMF64FWAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEMF64FWAcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
14708
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEMF64FWAcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
14694
14709
|
label,
|
|
14695
14710
|
" deleted",
|
|
14696
14711
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -14736,7 +14751,7 @@ function GitHubChatCard({
|
|
|
14736
14751
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
14737
14752
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
14738
14753
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
14739
|
-
const dateText =
|
|
14754
|
+
const dateText = _chunkEMF64FWAcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
14740
14755
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
14741
14756
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14742
14757
|
MingoInfoCard,
|
|
@@ -14745,7 +14760,7 @@ function GitHubChatCard({
|
|
|
14745
14760
|
description,
|
|
14746
14761
|
icon: githubKindIcon(kind),
|
|
14747
14762
|
status,
|
|
14748
|
-
anchorProps:
|
|
14763
|
+
anchorProps: _chunkEMF64FWAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
14749
14764
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14750
14765
|
menuAriaLabel: "Activity actions"
|
|
14751
14766
|
}
|
|
@@ -14892,7 +14907,7 @@ function HubspotTicketChatCard({
|
|
|
14892
14907
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
14893
14908
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TagIcon, { size: 24 }),
|
|
14894
14909
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
14895
|
-
anchorProps:
|
|
14910
|
+
anchorProps: _chunkEMF64FWAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
14896
14911
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
14897
14912
|
label: "Open Ticket Details",
|
|
14898
14913
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TagIcon, { size: 20 })
|
|
@@ -14915,7 +14930,7 @@ function FaqChatCard({
|
|
|
14915
14930
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
14916
14931
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.QuestionCircleIcon, { size: 24 }),
|
|
14917
14932
|
status: { label: statusLabel, variant: "grey" },
|
|
14918
|
-
anchorProps:
|
|
14933
|
+
anchorProps: _chunkEMF64FWAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
14919
14934
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14920
14935
|
menuAriaLabel: "FAQ actions"
|
|
14921
14936
|
}
|
|
@@ -14935,7 +14950,7 @@ function SlackChatCard({
|
|
|
14935
14950
|
title,
|
|
14936
14951
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
14937
14952
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
14938
|
-
anchorProps:
|
|
14953
|
+
anchorProps: _chunkEMF64FWAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
14939
14954
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14940
14955
|
menuAriaLabel: "Message actions"
|
|
14941
14956
|
}
|
|
@@ -14954,7 +14969,7 @@ function DataRoomDocChatCard({
|
|
|
14954
14969
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
14955
14970
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.FileContentIcon, { size: 24 }),
|
|
14956
14971
|
status: { label: badgeText, variant: "grey" },
|
|
14957
|
-
anchorProps:
|
|
14972
|
+
anchorProps: _chunkEMF64FWAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
14958
14973
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14959
14974
|
menuAriaLabel: "Document actions"
|
|
14960
14975
|
}
|
|
@@ -14973,7 +14988,7 @@ function GenericFinancialChatCard({
|
|
|
14973
14988
|
title: chatRef.title,
|
|
14974
14989
|
description: subtitle,
|
|
14975
14990
|
icon,
|
|
14976
|
-
anchorProps:
|
|
14991
|
+
anchorProps: _chunkEMF64FWAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
14977
14992
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14978
14993
|
menuAriaLabel: "Document actions"
|
|
14979
14994
|
}
|
|
@@ -15059,7 +15074,7 @@ function CampaignChatCard({
|
|
|
15059
15074
|
}) {
|
|
15060
15075
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _377 => _377.goals])) ? item.goals.length : 0;
|
|
15061
15076
|
const meta = [
|
|
15062
|
-
_optionalChain([item, 'optionalAccess', _378 => _378.start_date]) ?
|
|
15077
|
+
_optionalChain([item, 'optionalAccess', _378 => _378.start_date]) ? _chunkEMF64FWAcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15063
15078
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15064
15079
|
"Marketing campaign"
|
|
15065
15080
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15098,7 +15113,7 @@ function EntityMingoCard({
|
|
|
15098
15113
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15099
15114
|
icon: fallbackIcon,
|
|
15100
15115
|
status,
|
|
15101
|
-
anchorProps:
|
|
15116
|
+
anchorProps: _chunkEMF64FWAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15102
15117
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15103
15118
|
menuAriaLabel
|
|
15104
15119
|
}
|
|
@@ -15110,7 +15125,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15110
15125
|
function statusPill(status) {
|
|
15111
15126
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15112
15127
|
if (!s) return void 0;
|
|
15113
|
-
const scheme =
|
|
15128
|
+
const scheme = _chunkEMF64FWAcjs.getStatusColorScheme.call(void 0, s);
|
|
15114
15129
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15115
15130
|
return { label: s, variant };
|
|
15116
15131
|
}
|
|
@@ -15197,7 +15212,7 @@ function InvestorUpdateChatCard({
|
|
|
15197
15212
|
EntityMingoCard,
|
|
15198
15213
|
{
|
|
15199
15214
|
title,
|
|
15200
|
-
description: _optionalChain([item, 'optionalAccess', _406 => _406.strategic_update]) || _optionalChain([item, 'optionalAccess', _407 => _407.content]) ||
|
|
15215
|
+
description: _optionalChain([item, 'optionalAccess', _406 => _406.strategic_update]) || _optionalChain([item, 'optionalAccess', _407 => _407.content]) || _chunkEMF64FWAcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _408 => _408.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _409 => _409.period_end]), () => ( null))) || void 0,
|
|
15201
15216
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _410 => _410.featured_image]), ogPlaceholder),
|
|
15202
15217
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PresentationLineIcon, { size: 24 }),
|
|
15203
15218
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15244,15 +15259,15 @@ function ProgramChatCard({
|
|
|
15244
15259
|
const isScheduled = _optionalChain([item, 'optionalAccess', _417 => _417.status]) === "scheduled";
|
|
15245
15260
|
let typeMeta;
|
|
15246
15261
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _418 => _418.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
15247
|
-
typeMeta =
|
|
15262
|
+
typeMeta = _chunkEMF64FWAcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
15248
15263
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
15249
15264
|
typeMeta = item.location_name;
|
|
15250
15265
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _420 => _420.start_at])) {
|
|
15251
|
-
const time =
|
|
15252
|
-
const dur =
|
|
15266
|
+
const time = _chunkEMF64FWAcjs.formatTimeWithTimezone.call(void 0, item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
15267
|
+
const dur = _chunkEMF64FWAcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
15253
15268
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
15254
15269
|
}
|
|
15255
|
-
const itemDate =
|
|
15270
|
+
const itemDate = _chunkEMF64FWAcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _421 => _421.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
15256
15271
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
15257
15272
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15258
15273
|
EntityMingoCard,
|
|
@@ -15279,7 +15294,7 @@ function RoadmapChatCard({
|
|
|
15279
15294
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _425 => _425.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15280
15295
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _426 => _426.customItemId]) != null;
|
|
15281
15296
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MapIcon, { size: 24 });
|
|
15282
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15297
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15283
15298
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15284
15299
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15285
15300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15364,7 +15379,7 @@ function programRegistryEntries() {
|
|
|
15364
15379
|
label: cfg.label,
|
|
15365
15380
|
contentRefType: cfg.contentRefType,
|
|
15366
15381
|
bareInline: true,
|
|
15367
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15382
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15368
15383
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15369
15384
|
ProgramChatCard,
|
|
15370
15385
|
{
|
|
@@ -15405,7 +15420,7 @@ function roadmapRegistryEntries() {
|
|
|
15405
15420
|
bareInline: true,
|
|
15406
15421
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15407
15422
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15408
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15423
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15409
15424
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15410
15425
|
RoadmapChatCard,
|
|
15411
15426
|
{
|
|
@@ -15478,7 +15493,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15478
15493
|
label: "Blog post",
|
|
15479
15494
|
contentRefType: "blog_post_existing",
|
|
15480
15495
|
bareInline: true,
|
|
15481
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15496
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.BlogCardSkeleton, { size: "sm" }),
|
|
15482
15497
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15483
15498
|
BlogChatCard,
|
|
15484
15499
|
{
|
|
@@ -15495,7 +15510,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15495
15510
|
label: "Case study",
|
|
15496
15511
|
contentRefType: "case_study",
|
|
15497
15512
|
bareInline: true,
|
|
15498
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15513
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
15499
15514
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15500
15515
|
CaseStudyChatCard,
|
|
15501
15516
|
{
|
|
@@ -15511,7 +15526,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15511
15526
|
label: "Customer interview",
|
|
15512
15527
|
contentRefType: "customer_interview",
|
|
15513
15528
|
bareInline: true,
|
|
15514
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15529
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
15515
15530
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15516
15531
|
CustomerInterviewChatCard,
|
|
15517
15532
|
{
|
|
@@ -15527,9 +15542,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15527
15542
|
label: "Product release",
|
|
15528
15543
|
contentRefType: "product_release",
|
|
15529
15544
|
bareInline: true,
|
|
15530
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15545
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
15531
15546
|
render: (item, chatRef, opts) => {
|
|
15532
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _456 => _456.extras, 'optionalAccess', _457 => _457.buildProductReleaseCardProps]), () => (
|
|
15547
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _456 => _456.extras, 'optionalAccess', _457 => _457.buildProductReleaseCardProps]), () => ( _chunkEMF64FWAcjs.defaultBuildProductReleaseCardProps));
|
|
15533
15548
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15534
15549
|
ProductReleaseChatCard,
|
|
15535
15550
|
{
|
|
@@ -15547,7 +15562,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15547
15562
|
label: "Investor update",
|
|
15548
15563
|
contentRefType: "investor_update",
|
|
15549
15564
|
bareInline: true,
|
|
15550
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15565
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
15551
15566
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15552
15567
|
InvestorUpdateChatCard,
|
|
15553
15568
|
{
|
|
@@ -15565,7 +15580,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15565
15580
|
bareInline: true,
|
|
15566
15581
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
15567
15582
|
displayAction: true,
|
|
15568
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15583
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMF64FWAcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
15569
15584
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15570
15585
|
OnboardingGuideChatCard,
|
|
15571
15586
|
{
|
|
@@ -15662,13 +15677,13 @@ function ChatCardLoader({
|
|
|
15662
15677
|
}) : null;
|
|
15663
15678
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
15664
15679
|
...resolvedChatRef,
|
|
15665
|
-
url:
|
|
15680
|
+
url: _chunkEMF64FWAcjs.safeHref.call(void 0, hrefChoice.href),
|
|
15666
15681
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
15667
15682
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
15668
15683
|
} : resolvedChatRef;
|
|
15669
15684
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
15670
15685
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
15671
|
-
const isNewTab =
|
|
15686
|
+
const isNewTab = _chunkEMF64FWAcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
15672
15687
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
15673
15688
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
15674
15689
|
const discuss = discussFn ? {
|
|
@@ -17159,7 +17174,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17159
17174
|
return () => root.removeEventListener("click", onClick);
|
|
17160
17175
|
}, [viewUrlPrefix]);
|
|
17161
17176
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17162
|
-
|
|
17177
|
+
_chunkEMF64FWAcjs.ImageGalleryModal,
|
|
17163
17178
|
{
|
|
17164
17179
|
images: state.images,
|
|
17165
17180
|
isOpen: state.isOpen,
|
|
@@ -23186,7 +23201,7 @@ function SourceChip({
|
|
|
23186
23201
|
const Icon = cta.icon;
|
|
23187
23202
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
23188
23203
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
23189
|
-
const decideTab = (href, targetPlatform) =>
|
|
23204
|
+
const decideTab = (href, targetPlatform) => _chunkEMF64FWAcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
23190
23205
|
if (src.items && src.items.length > 0) {
|
|
23191
23206
|
const dropdownItems = src.items.map((item) => {
|
|
23192
23207
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -23275,7 +23290,7 @@ function SourceChip({
|
|
|
23275
23290
|
"a",
|
|
23276
23291
|
{
|
|
23277
23292
|
href: resolvedHref,
|
|
23278
|
-
...
|
|
23293
|
+
..._chunkEMF64FWAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
23279
23294
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
23280
23295
|
className: chipClass,
|
|
23281
23296
|
children: chipBody(src.name)
|
|
@@ -23291,7 +23306,7 @@ function SourceChip({
|
|
|
23291
23306
|
"a",
|
|
23292
23307
|
{
|
|
23293
23308
|
href: resolvedHref,
|
|
23294
|
-
...
|
|
23309
|
+
..._chunkEMF64FWAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
23295
23310
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
23296
23311
|
className: chipClass,
|
|
23297
23312
|
title: displayName,
|
|
@@ -24128,7 +24143,7 @@ function EmbeddableChatInner({
|
|
|
24128
24143
|
headerAvatar ? (
|
|
24129
24144
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
24130
24145
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24131
|
-
|
|
24146
|
+
_chunkEMF64FWAcjs.SquareAvatar,
|
|
24132
24147
|
{
|
|
24133
24148
|
variant: "round",
|
|
24134
24149
|
sizePx: 32,
|
|
@@ -24848,4 +24863,4 @@ function EmbeddableChatInner({
|
|
|
24848
24863
|
|
|
24849
24864
|
|
|
24850
24865
|
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.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.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.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.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.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;
|
|
24851
|
-
//# sourceMappingURL=chunk-
|
|
24866
|
+
//# sourceMappingURL=chunk-G45RGWHF.cjs.map
|