@flamingo-stack/openframe-frontend-core 0.0.695 → 0.0.696
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-DT6DOSXV.cjs → chunk-2FK7BZIM.cjs} +15 -15
- package/dist/{chunk-DT6DOSXV.cjs.map → chunk-2FK7BZIM.cjs.map} +1 -1
- package/dist/{chunk-2NLZ4CB4.js → chunk-3S56I5MX.js} +2 -2
- package/dist/{chunk-E4QJXPJP.cjs → chunk-3V7O7J4S.cjs} +28 -28
- package/dist/{chunk-E4QJXPJP.cjs.map → chunk-3V7O7J4S.cjs.map} +1 -1
- package/dist/{chunk-BU77ENDT.cjs → chunk-5DBWXJBG.cjs} +934 -860
- package/dist/chunk-5DBWXJBG.cjs.map +1 -0
- package/dist/{chunk-RWAHGA2H.cjs → chunk-75CG72QX.cjs} +33 -33
- package/dist/{chunk-RWAHGA2H.cjs.map → chunk-75CG72QX.cjs.map} +1 -1
- package/dist/{chunk-H74TCWVN.js → chunk-77XUG4Z4.js} +7 -7
- package/dist/{chunk-ETFVFDJG.cjs → chunk-7MM6EDNA.cjs} +19 -19
- package/dist/{chunk-ETFVFDJG.cjs.map → chunk-7MM6EDNA.cjs.map} +1 -1
- package/dist/{chunk-IE2H2P4K.cjs → chunk-CVMWOUAX.cjs} +30 -30
- package/dist/{chunk-IE2H2P4K.cjs.map → chunk-CVMWOUAX.cjs.map} +1 -1
- package/dist/{chunk-3DOGI3XP.cjs → chunk-EWQZ4BXD.cjs} +7 -7
- package/dist/{chunk-3DOGI3XP.cjs.map → chunk-EWQZ4BXD.cjs.map} +1 -1
- package/dist/{chunk-DHQXA6FM.cjs → chunk-FZFEIXGB.cjs} +81 -81
- package/dist/{chunk-DHQXA6FM.cjs.map → chunk-FZFEIXGB.cjs.map} +1 -1
- package/dist/{chunk-TGIBJHM6.js → chunk-H6SSHFMD.js} +4 -4
- package/dist/{chunk-CI7HVQAK.js → chunk-J4VGVLQI.js} +3 -3
- package/dist/{chunk-7LYRB7DE.js → chunk-JBMFCHNT.js} +3160 -3086
- package/dist/chunk-JBMFCHNT.js.map +1 -0
- package/dist/{chunk-HKM3DTSS.cjs → chunk-KLDCI3KF.cjs} +3 -3
- package/dist/{chunk-HKM3DTSS.cjs.map → chunk-KLDCI3KF.cjs.map} +1 -1
- package/dist/{chunk-H66LCO6R.cjs → chunk-LEGNIETR.cjs} +5 -5
- package/dist/{chunk-H66LCO6R.cjs.map → chunk-LEGNIETR.cjs.map} +1 -1
- package/dist/{chunk-43YWCHYX.js → chunk-LF4S37VU.js} +5 -5
- package/dist/{chunk-SSBK7TBW.js → chunk-LNOXNCEC.js} +4 -4
- package/dist/{chunk-WGKTGAP3.js → chunk-LZXZ3C6M.js} +3 -3
- package/dist/{chunk-LAGFAZ2H.cjs → chunk-MFU3ALKM.cjs} +192 -192
- package/dist/{chunk-LAGFAZ2H.cjs.map → chunk-MFU3ALKM.cjs.map} +1 -1
- package/dist/{chunk-WQ4BZDLO.cjs → chunk-N4G3C4B4.cjs} +12 -12
- package/dist/{chunk-WQ4BZDLO.cjs.map → chunk-N4G3C4B4.cjs.map} +1 -1
- package/dist/{chunk-N22KLGTR.cjs → chunk-NE4H4JJG.cjs} +35 -35
- package/dist/{chunk-N22KLGTR.cjs.map → chunk-NE4H4JJG.cjs.map} +1 -1
- package/dist/{chunk-ZOVS6HJW.js → chunk-OB3ZJ7GQ.js} +2 -2
- package/dist/{chunk-VDROT42I.js → chunk-PYNHPMDB.js} +3 -3
- package/dist/{chunk-ZF2KSQER.js → chunk-QD4BVKAU.js} +4 -4
- package/dist/{chunk-JUO6CFGZ.js → chunk-QYFXRVH3.js} +6 -6
- package/dist/{chunk-UPLNZA6P.cjs → chunk-RIDRAKQ5.cjs} +11 -11
- package/dist/{chunk-UPLNZA6P.cjs.map → chunk-RIDRAKQ5.cjs.map} +1 -1
- package/dist/{chunk-4XR3D6BN.js → chunk-SG53SIJX.js} +6 -6
- package/dist/{chunk-DELTA7VU.cjs → chunk-T33ICOHD.cjs} +23 -23
- package/dist/{chunk-DELTA7VU.cjs.map → chunk-T33ICOHD.cjs.map} +1 -1
- package/dist/{chunk-IPKFWZDD.cjs → chunk-VCR3TW2H.cjs} +16 -5
- package/dist/chunk-VCR3TW2H.cjs.map +1 -0
- package/dist/{chunk-IHIEAC2G.js → chunk-VE7HLTVQ.js} +2 -2
- package/dist/{chunk-HDBKLVB6.cjs → chunk-WADR7VIA.cjs} +62 -62
- package/dist/{chunk-HDBKLVB6.cjs.map → chunk-WADR7VIA.cjs.map} +1 -1
- package/dist/{chunk-2ACUTFHC.js → chunk-WVDBRL2S.js} +5 -5
- package/dist/{chunk-OQBJQJ6E.cjs → chunk-XRW5VZKH.cjs} +6 -6
- package/dist/{chunk-OQBJQJ6E.cjs.map → chunk-XRW5VZKH.cjs.map} +1 -1
- package/dist/{chunk-2WTBDVR3.js → chunk-Y2MDXJB4.js} +12 -1
- package/dist/chunk-Y2MDXJB4.js.map +1 -0
- package/dist/{chunk-SFIVEDZA.js → chunk-YCVDJX7Z.js} +3 -3
- package/dist/{chunk-YHE4PSYQ.js → chunk-Z7A7FUWY.js} +3 -3
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +91 -91
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +64 -56
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +23 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/back-button.d.ts +13 -1
- package/dist/components/layout/back-button.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/context-panel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +54 -83
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.js +18 -47
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +12 -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 +11 -3
- package/dist/components/ui/timezone-select.d.ts +25 -0
- package/dist/components/ui/timezone-select.d.ts.map +1 -0
- package/dist/index.cjs +19 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +17 -7
- package/dist/index.js.map +1 -1
- package/dist/utils/image-proxy.d.ts +7 -0
- package/dist/utils/image-proxy.d.ts.map +1 -1
- package/dist/utils/index.cjs +11 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +11 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/layout/back-button.tsx +55 -14
- package/src/components/meeting-scheduler/context-panel.tsx +3 -36
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/timezone-select.test.tsx +48 -0
- package/src/components/ui/timezone-select.tsx +75 -0
- package/src/utils/image-proxy.ts +17 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/skips-image-optimizer.test.ts +14 -0
- package/dist/chunk-2WTBDVR3.js.map +0 -1
- package/dist/chunk-7LYRB7DE.js.map +0 -1
- package/dist/chunk-BU77ENDT.cjs.map +0 -1
- package/dist/chunk-IPKFWZDD.cjs.map +0 -1
- /package/dist/{chunk-2NLZ4CB4.js.map → chunk-3S56I5MX.js.map} +0 -0
- /package/dist/{chunk-H74TCWVN.js.map → chunk-77XUG4Z4.js.map} +0 -0
- /package/dist/{chunk-TGIBJHM6.js.map → chunk-H6SSHFMD.js.map} +0 -0
- /package/dist/{chunk-CI7HVQAK.js.map → chunk-J4VGVLQI.js.map} +0 -0
- /package/dist/{chunk-43YWCHYX.js.map → chunk-LF4S37VU.js.map} +0 -0
- /package/dist/{chunk-SSBK7TBW.js.map → chunk-LNOXNCEC.js.map} +0 -0
- /package/dist/{chunk-WGKTGAP3.js.map → chunk-LZXZ3C6M.js.map} +0 -0
- /package/dist/{chunk-ZOVS6HJW.js.map → chunk-OB3ZJ7GQ.js.map} +0 -0
- /package/dist/{chunk-VDROT42I.js.map → chunk-PYNHPMDB.js.map} +0 -0
- /package/dist/{chunk-ZF2KSQER.js.map → chunk-QD4BVKAU.js.map} +0 -0
- /package/dist/{chunk-JUO6CFGZ.js.map → chunk-QYFXRVH3.js.map} +0 -0
- /package/dist/{chunk-4XR3D6BN.js.map → chunk-SG53SIJX.js.map} +0 -0
- /package/dist/{chunk-IHIEAC2G.js.map → chunk-VE7HLTVQ.js.map} +0 -0
- /package/dist/{chunk-2ACUTFHC.js.map → chunk-WVDBRL2S.js.map} +0 -0
- /package/dist/{chunk-SFIVEDZA.js.map → chunk-YCVDJX7Z.js.map} +0 -0
- /package/dist/{chunk-YHE4PSYQ.js.map → chunk-Z7A7FUWY.js.map} +0 -0
|
@@ -202,7 +202,7 @@ var _chunkDWCV7IDUcjs = require('./chunk-DWCV7IDU.cjs');
|
|
|
202
202
|
|
|
203
203
|
|
|
204
204
|
|
|
205
|
-
var
|
|
205
|
+
var _chunkVCR3TW2Hcjs = require('./chunk-VCR3TW2H.cjs');
|
|
206
206
|
|
|
207
207
|
|
|
208
208
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -464,13 +464,13 @@ var COMMAND_BODY_KEYS = new Set(COMMAND_BODY_ARG_KEYS);
|
|
|
464
464
|
function ApprovalStatusTag({ status, resolvedByName, inlineResolver = false }) {
|
|
465
465
|
const suffix = inlineResolver && resolvedByName ? ` by ${resolvedByName}` : "";
|
|
466
466
|
if (status === "approved") {
|
|
467
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
467
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Tag, { label: `Approved${suffix}`, variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.CheckCircleIcon, { className: "h-4 w-4" }) });
|
|
468
468
|
}
|
|
469
469
|
if (status === "cancelled") {
|
|
470
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
470
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Tag, { label: `Canceled${suffix}`, variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.XmarkIcon, { className: "h-4 w-4" }) });
|
|
471
471
|
}
|
|
472
472
|
if (status === "rejected") {
|
|
473
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
473
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Tag, { label: `Rejected${suffix}`, variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQNMEMWUMcjs.XmarkCircleIcon, { className: "h-4 w-4" }) });
|
|
474
474
|
}
|
|
475
475
|
return null;
|
|
476
476
|
}
|
|
@@ -877,7 +877,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
877
877
|
children: "Reject"
|
|
878
878
|
}
|
|
879
879
|
)
|
|
880
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: status === "approved" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
880
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: status === "approved" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Tag, { label: "Approved", variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CheckCircle, { className: "h-4 w-4" }) }) : status === "cancelled" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Tag, { label: "Canceled", variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Ban, { className: "h-4 w-4" }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Tag, { label: "Rejected", variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.XCircle, { className: "h-4 w-4" }) }) })
|
|
881
881
|
]
|
|
882
882
|
}
|
|
883
883
|
);
|
|
@@ -912,7 +912,7 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
|
|
|
912
912
|
|
|
913
913
|
// src/utils/format-date.ts
|
|
914
914
|
var INVALID_DATE_PLACEHOLDER = "\u2014";
|
|
915
|
-
var render = (input, fields) =>
|
|
915
|
+
var render = (input, fields) => _chunkVCR3TW2Hcjs.formatDateWithTimezone.call(void 0, input, _chunkVCR3TW2Hcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
|
|
916
916
|
var formatDate = (input) => render(input, { dateStyle: "short" });
|
|
917
917
|
var formatTime = (input) => render(input, { timeStyle: "short" });
|
|
918
918
|
|
|
@@ -1054,7 +1054,7 @@ var SystemEventMessage = _react.forwardRef.call(void 0, ({ text: text2, timestam
|
|
|
1054
1054
|
AiAssistantInfo,
|
|
1055
1055
|
{
|
|
1056
1056
|
ref,
|
|
1057
|
-
leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1057
|
+
leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.SquareAvatar, { alt: joined, fallback: joined, size: "lg", variant: "round", className: "shrink-0" }),
|
|
1058
1058
|
title: "Technician Joined",
|
|
1059
1059
|
body: `You're now chatting with ${joined}.`,
|
|
1060
1060
|
timestamp,
|
|
@@ -4760,7 +4760,7 @@ function TicketStatusTag({
|
|
|
4760
4760
|
} : void 0;
|
|
4761
4761
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
4762
4762
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4763
|
-
|
|
4763
|
+
_chunkVCR3TW2Hcjs.Tag,
|
|
4764
4764
|
{
|
|
4765
4765
|
label: _nullishCoalesce(label, () => ( config.label)),
|
|
4766
4766
|
variant: _nullishCoalesce(variant, () => ( config.variant)),
|
|
@@ -4803,7 +4803,7 @@ function TicketStatusTag({
|
|
|
4803
4803
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
4804
4804
|
// Reuse the tag's variant styling, but split into a label section and a
|
|
4805
4805
|
// separated chevron section (the common dropdown-button seam).
|
|
4806
|
-
|
|
4806
|
+
_chunkVCR3TW2Hcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(variant, () => ( config.variant)) }),
|
|
4807
4807
|
"w-fit shrink-0 items-stretch justify-start gap-0 overflow-hidden p-0",
|
|
4808
4808
|
"disabled:cursor-not-allowed disabled:opacity-60",
|
|
4809
4809
|
// Custom color: bg/hover/active from the CSS vars set above.
|
|
@@ -4845,7 +4845,7 @@ function MspOrganizationCard({
|
|
|
4845
4845
|
className
|
|
4846
4846
|
),
|
|
4847
4847
|
children: [
|
|
4848
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4848
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "sm", variant: "square" }),
|
|
4849
4849
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4850
4850
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Your IT is managed by" }),
|
|
4851
4851
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: _nullishCoalesce(title, () => ( name)) })
|
|
@@ -4866,7 +4866,7 @@ function MspOrganizationCard({
|
|
|
4866
4866
|
className
|
|
4867
4867
|
),
|
|
4868
4868
|
children: [
|
|
4869
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4870
4870
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4871
4871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4872
4872
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
@@ -4999,7 +4999,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4999
4999
|
] })
|
|
5000
5000
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
5001
5001
|
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,
|
|
5002
|
-
|
|
5002
|
+
_chunkVCR3TW2Hcjs.SquareAvatar,
|
|
5003
5003
|
{
|
|
5004
5004
|
src: userAvatar,
|
|
5005
5005
|
alt: userName,
|
|
@@ -5846,7 +5846,7 @@ function buildChipEl(token, label, icon) {
|
|
|
5846
5846
|
span.className = "mx-0.5 inline-flex h-9 items-center select-none align-top";
|
|
5847
5847
|
span.innerHTML = _server.renderToStaticMarkup.call(void 0,
|
|
5848
5848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5849
|
-
|
|
5849
|
+
_chunkVCR3TW2Hcjs.Tag,
|
|
5850
5850
|
{
|
|
5851
5851
|
as: "span",
|
|
5852
5852
|
variant: "badge",
|
|
@@ -6234,7 +6234,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
6234
6234
|
className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
|
|
6235
6235
|
children: [
|
|
6236
6236
|
awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6237
|
-
|
|
6237
|
+
_chunkVCR3TW2Hcjs.AvatarStack,
|
|
6238
6238
|
{
|
|
6239
6239
|
people: awaitingTeam,
|
|
6240
6240
|
total: awaitingTeamCount,
|
|
@@ -6426,10 +6426,10 @@ function formatTicketRelativeTime(iso) {
|
|
|
6426
6426
|
if (diffMin < 60) return `${diffMin} min ago`;
|
|
6427
6427
|
const diffHours = Math.floor(diffMin / 60);
|
|
6428
6428
|
if (diffHours < 24) return diffHours === 1 ? "1 hour ago" : `${diffHours} hours ago`;
|
|
6429
|
-
return
|
|
6429
|
+
return _chunkVCR3TW2Hcjs.formatDateWithTimezone.call(void 0, date, null, "numeric");
|
|
6430
6430
|
}
|
|
6431
6431
|
function formatTicketFullTimestamp(iso) {
|
|
6432
|
-
return
|
|
6432
|
+
return _chunkVCR3TW2Hcjs.formatDateWithTimezone.call(void 0, iso, null, "numericDateTime");
|
|
6433
6433
|
}
|
|
6434
6434
|
function formatRelativeTime(timestamp) {
|
|
6435
6435
|
const now = /* @__PURE__ */ new Date();
|
|
@@ -6453,7 +6453,7 @@ function formatRelativeTime(timestamp) {
|
|
|
6453
6453
|
const weeks = Math.floor(diffInDays / 7);
|
|
6454
6454
|
return `${weeks}w ago`;
|
|
6455
6455
|
}
|
|
6456
|
-
return
|
|
6456
|
+
return _chunkVCR3TW2Hcjs.formatDateWithTimezone.call(void 0, targetTime, null, {
|
|
6457
6457
|
month: "short",
|
|
6458
6458
|
day: "numeric",
|
|
6459
6459
|
year: targetTime.getUTCFullYear() !== now.getUTCFullYear() ? "numeric" : void 0
|
|
@@ -6465,7 +6465,7 @@ function formatAbsoluteDate(timestamp, options = {}) {
|
|
|
6465
6465
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatAbsoluteDate:", timestamp);
|
|
6466
6466
|
return "Invalid date";
|
|
6467
6467
|
}
|
|
6468
|
-
return
|
|
6468
|
+
return _chunkVCR3TW2Hcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
6469
6469
|
year: "numeric",
|
|
6470
6470
|
month: "short",
|
|
6471
6471
|
day: "numeric",
|
|
@@ -6478,7 +6478,7 @@ function formatDateTime(timestamp, options = {}) {
|
|
|
6478
6478
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatDateTime:", timestamp);
|
|
6479
6479
|
return "Invalid date";
|
|
6480
6480
|
}
|
|
6481
|
-
return
|
|
6481
|
+
return _chunkVCR3TW2Hcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
6482
6482
|
...ZONED_DATE_FIELDS_MEDIUM_DATETIME,
|
|
6483
6483
|
...options
|
|
6484
6484
|
});
|
|
@@ -7437,7 +7437,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7437
7437
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7438
7438
|
// no filled pill — the icon carries its own brand accent.
|
|
7439
7439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7440
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7440
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.SquareAvatar, { ...avatarProps })),
|
|
7441
7441
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7442
7442
|
"span",
|
|
7443
7443
|
{
|
|
@@ -8256,7 +8256,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8256
8256
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8257
8257
|
function useProxiedImageUrl(url) {
|
|
8258
8258
|
const r = _chunkU2YLMFJKcjs.useRequiredChatRuntime.call(void 0, );
|
|
8259
|
-
return _nullishCoalesce(
|
|
8259
|
+
return _nullishCoalesce(_chunkVCR3TW2Hcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8260
8260
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8261
8261
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8262
8262
|
directHttps: true
|
|
@@ -8282,7 +8282,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8282
8282
|
height: 40,
|
|
8283
8283
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8284
8284
|
}
|
|
8285
|
-
) : /* @__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:
|
|
8285
|
+
) : /* @__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: _chunkVCR3TW2Hcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8286
8286
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8287
8287
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8288
8288
|
/* @__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 }),
|
|
@@ -8415,7 +8415,7 @@ function QuickActionChipSkeleton({
|
|
|
8415
8415
|
className
|
|
8416
8416
|
}) {
|
|
8417
8417
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8418
|
-
|
|
8418
|
+
_chunkVCR3TW2Hcjs.Tag,
|
|
8419
8419
|
{
|
|
8420
8420
|
variant: "outline",
|
|
8421
8421
|
size,
|
|
@@ -8449,7 +8449,7 @@ function QuickActionChipButton({
|
|
|
8449
8449
|
const resolvedLabel = composeChipLabel(label, resolvedLozenge);
|
|
8450
8450
|
const tagVariant = selected ? selectedAccent === "cyan" ? "selectedCyan" : "selected" : variant;
|
|
8451
8451
|
if (!interactive) {
|
|
8452
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8452
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Tag, { variant: tagVariant, size, icon: resolvedIcon, label: resolvedLabel, className });
|
|
8453
8453
|
}
|
|
8454
8454
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8455
8455
|
"button",
|
|
@@ -8465,7 +8465,7 @@ function QuickActionChipButton({
|
|
|
8465
8465
|
"shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
8466
8466
|
className
|
|
8467
8467
|
),
|
|
8468
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8468
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Tag, { variant: tagVariant, size, icon: resolvedIcon, label: resolvedLabel })
|
|
8469
8469
|
}
|
|
8470
8470
|
);
|
|
8471
8471
|
}
|
|
@@ -9276,7 +9276,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
9276
9276
|
)
|
|
9277
9277
|
] }),
|
|
9278
9278
|
ticket.linkedTaskLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9279
|
-
|
|
9279
|
+
_chunkVCR3TW2Hcjs.Tag,
|
|
9280
9280
|
{
|
|
9281
9281
|
label: ticket.linkedTaskLabel,
|
|
9282
9282
|
variant: "outline",
|
|
@@ -9614,7 +9614,7 @@ function MingoChatHistoryRow({
|
|
|
9614
9614
|
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")
|
|
9615
9615
|
),
|
|
9616
9616
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9617
|
-
|
|
9617
|
+
_chunkVCR3TW2Hcjs.SquareAvatar,
|
|
9618
9618
|
{
|
|
9619
9619
|
variant: "round",
|
|
9620
9620
|
sizePx: 24,
|
|
@@ -10756,7 +10756,7 @@ function ChatPanelHeader({
|
|
|
10756
10756
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10757
10757
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10758
10758
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10759
|
-
|
|
10759
|
+
_chunkVCR3TW2Hcjs.SquareAvatar,
|
|
10760
10760
|
{
|
|
10761
10761
|
variant: "round",
|
|
10762
10762
|
sizePx: 32,
|
|
@@ -10824,7 +10824,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
10824
10824
|
|
|
10825
10825
|
[Attached: ${safeName}](${url})`;
|
|
10826
10826
|
}
|
|
10827
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
10827
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkVCR3TW2Hcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
10828
10828
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
10829
10829
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
10830
10830
|
"gm"
|
|
@@ -10967,8 +10967,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
|
|
|
10967
10967
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10968
10968
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10969
10969
|
status === "sniffing" && "Checking\u2026",
|
|
10970
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10971
|
-
status === "ready" &&
|
|
10970
|
+
status === "uploading" && `${progress}% \xB7 ${_chunkVCR3TW2Hcjs.formatFileSize.call(void 0, file.size)}`,
|
|
10971
|
+
status === "ready" && _chunkVCR3TW2Hcjs.formatFileSize.call(void 0, file.size),
|
|
10972
10972
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10973
10973
|
] })
|
|
10974
10974
|
] }),
|
|
@@ -11570,7 +11570,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
11570
11570
|
_optionalChain([onClick, 'optionalCall', _222 => _222(e)]);
|
|
11571
11571
|
};
|
|
11572
11572
|
const formatTimestamp = (timestamp) => {
|
|
11573
|
-
return
|
|
11573
|
+
return _chunkVCR3TW2Hcjs.formatDateWithTimezone.call(void 0, timestamp, _chunkVCR3TW2Hcjs.VIEWER_TIMEZONE, "numericDateTime24h");
|
|
11574
11574
|
};
|
|
11575
11575
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11576
11576
|
"div",
|
|
@@ -11840,7 +11840,7 @@ var ChatTopNavigation = _react.forwardRef.call(void 0,
|
|
|
11840
11840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKWX65373cjs.Skeleton, { className: "h-4 w-32" })
|
|
11841
11841
|
] })
|
|
11842
11842
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.SquareAvatar, { src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: name, fallback: name, size: "md", variant: "round" }),
|
|
11844
11844
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
11845
11845
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: name }),
|
|
11846
11846
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
@@ -12045,10 +12045,10 @@ function resolveExternalNavigation(args) {
|
|
|
12045
12045
|
|
|
12046
12046
|
// src/components/chat/utils/execute-navigation.ts
|
|
12047
12047
|
function isForeignOriginHref(href) {
|
|
12048
|
-
return /^https?:\/\//i.test(href) && !
|
|
12048
|
+
return /^https?:\/\//i.test(href) && !_chunkVCR3TW2Hcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
12049
12049
|
}
|
|
12050
12050
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
12051
|
-
const isNewTab = runtime ?
|
|
12051
|
+
const isNewTab = runtime ? _chunkVCR3TW2Hcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
12052
12052
|
if (isNewTab) {
|
|
12053
12053
|
if (_optionalChain([runtime, 'optionalAccess', _227 => _227.navigation, 'access', _228 => _228.openExternal])) runtime.navigation.openExternal(href);
|
|
12054
12054
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -12107,7 +12107,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
12107
12107
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
12108
12108
|
const panel = useChatPanel();
|
|
12109
12109
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
12110
|
-
const isNewTab =
|
|
12110
|
+
const isNewTab = _chunkVCR3TW2Hcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
12111
12111
|
const onClick = (e) => {
|
|
12112
12112
|
const handled = executeNavigation({
|
|
12113
12113
|
event: e,
|
|
@@ -12119,7 +12119,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
12119
12119
|
});
|
|
12120
12120
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _232 => _232.closeChat])) panel.closeChat();
|
|
12121
12121
|
};
|
|
12122
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
12122
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunkVCR3TW2Hcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
12123
12123
|
}
|
|
12124
12124
|
|
|
12125
12125
|
// src/components/chat/source-action-button.tsx
|
|
@@ -13062,7 +13062,7 @@ function FilePlayer({
|
|
|
13062
13062
|
title: "Unmute",
|
|
13063
13063
|
onClick: unmuteNow,
|
|
13064
13064
|
className: "absolute inset-0 z-10 m-auto flex h-14 w-14 items-center justify-center text-ods-text-primary transition-colors hover:text-ods-accent",
|
|
13065
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13065
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.VideoUnmuteGlyph, {})
|
|
13066
13066
|
}
|
|
13067
13067
|
) : null;
|
|
13068
13068
|
if (playOnHover && !hoverControlled) {
|
|
@@ -13279,7 +13279,7 @@ function YouTubeFacadeInner({
|
|
|
13279
13279
|
)
|
|
13280
13280
|
] }),
|
|
13281
13281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center bg-ods-bg bg-opacity-20 transition-opacity duration-200 group-hover:bg-opacity-30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13282
|
-
|
|
13282
|
+
_chunkVCR3TW2Hcjs.VideoPlayBadge,
|
|
13283
13283
|
{
|
|
13284
13284
|
size: "lg",
|
|
13285
13285
|
className: "transition-transform duration-200 group-hover:scale-110 group-hover:text-ods-accent"
|
|
@@ -13306,9 +13306,9 @@ function UserDisplay({
|
|
|
13306
13306
|
}) {
|
|
13307
13307
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
13308
13308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13309
|
-
|
|
13309
|
+
_chunkVCR3TW2Hcjs.SquareAvatar,
|
|
13310
13310
|
{
|
|
13311
|
-
src: avatarUrl ?
|
|
13311
|
+
src: avatarUrl ? _chunkVCR3TW2Hcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
13312
13312
|
fallback: name,
|
|
13313
13313
|
alt: name,
|
|
13314
13314
|
sizePx: size,
|
|
@@ -13758,7 +13758,7 @@ function CardsStrip(props) {
|
|
|
13758
13758
|
},
|
|
13759
13759
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-6", className),
|
|
13760
13760
|
children: [
|
|
13761
|
-
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
13761
|
+
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkVCR3TW2Hcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkVCR3TW2Hcjs.accentSentenceMarks.call(void 0, title) }),
|
|
13762
13762
|
headerSlot,
|
|
13763
13763
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", style: bled ? { marginLeft: -insets.left, marginRight: -insets.right } : void 0, children: [
|
|
13764
13764
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13880,7 +13880,7 @@ function VideoHoverPreviewSurface({
|
|
|
13880
13880
|
return () => io.disconnect();
|
|
13881
13881
|
}, [gateControlled]);
|
|
13882
13882
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13883
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13883
|
+
const { src: posterSrc, onError: onPosterError } = _chunkVCR3TW2Hcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13884
13884
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13885
13885
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootElRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13886
13886
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13895,7 +13895,7 @@ function VideoHoverPreviewSurface({
|
|
|
13895
13895
|
className: "object-cover"
|
|
13896
13896
|
}
|
|
13897
13897
|
) : facadeSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-ods-card" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Video2, { kind: "file", url: previewUrl, firstFrameOnly: true, layout: "fill", fit }),
|
|
13898
|
-
badge === "play" && !active && !continuation && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13898
|
+
badge === "play" && !active && !continuation && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.VideoPlayBadge, { className: "absolute inset-0 z-10 m-auto" }),
|
|
13899
13899
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13900
13900
|
"div",
|
|
13901
13901
|
{
|
|
@@ -13998,7 +13998,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13998
13998
|
|
|
13999
13999
|
function VideoBitesStrip({
|
|
14000
14000
|
bites,
|
|
14001
|
-
title =
|
|
14001
|
+
title = _chunkVCR3TW2Hcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
14002
14002
|
showTitle = true,
|
|
14003
14003
|
filterPublished = true,
|
|
14004
14004
|
profile = null,
|
|
@@ -14011,7 +14011,7 @@ function VideoBitesStrip({
|
|
|
14011
14011
|
cardHeightMobile = 300,
|
|
14012
14012
|
showChevrons = true,
|
|
14013
14013
|
onBiteNavigate,
|
|
14014
|
-
sortComparator =
|
|
14014
|
+
sortComparator = _chunkVCR3TW2Hcjs.sortBitesByCreatedAtDesc,
|
|
14015
14015
|
className
|
|
14016
14016
|
}) {
|
|
14017
14017
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -14236,7 +14236,7 @@ function EntityVideoSection({
|
|
|
14236
14236
|
title = "Video",
|
|
14237
14237
|
videoSummary,
|
|
14238
14238
|
videoBites,
|
|
14239
|
-
bitesTitle =
|
|
14239
|
+
bitesTitle = _chunkVCR3TW2Hcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
14240
14240
|
filterPublishedBites = true,
|
|
14241
14241
|
bitesProfile = null,
|
|
14242
14242
|
bitesHref,
|
|
@@ -14327,7 +14327,7 @@ function EntityVideoSection({
|
|
|
14327
14327
|
}
|
|
14328
14328
|
) : null),
|
|
14329
14329
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
14330
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
14330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkVCR3TW2Hcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
14331
14331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
|
|
14332
14332
|
] }),
|
|
14333
14333
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14587,14 +14587,14 @@ function designDocPeople(doc) {
|
|
|
14587
14587
|
return people;
|
|
14588
14588
|
}
|
|
14589
14589
|
function designDocMetaLine(doc) {
|
|
14590
|
-
return [_optionalChain([doc, 'access', _369 => _369.author, 'optionalAccess', _370 => _370.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
14590
|
+
return [_optionalChain([doc, 'access', _369 => _369.author, 'optionalAccess', _370 => _370.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkVCR3TW2Hcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
14591
14591
|
}
|
|
14592
14592
|
function DesignDocCardSkeleton() {
|
|
14593
14593
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14594
14594
|
"div",
|
|
14595
14595
|
{
|
|
14596
14596
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
14597
|
-
|
|
14597
|
+
_chunkVCR3TW2Hcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
14598
14598
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]"
|
|
14599
14599
|
),
|
|
14600
14600
|
role: "status",
|
|
@@ -14624,7 +14624,7 @@ function DesignDocCardSkeleton() {
|
|
|
14624
14624
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
14625
14625
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
14626
14626
|
const people = designDocPeople(doc);
|
|
14627
|
-
const link =
|
|
14627
|
+
const link = _chunkVCR3TW2Hcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
14628
14628
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14629
14629
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
14630
14630
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -14632,7 +14632,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14632
14632
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
|
|
14633
14633
|
] }),
|
|
14634
14634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14635
|
-
|
|
14635
|
+
_chunkVCR3TW2Hcjs.StatusBadge,
|
|
14636
14636
|
{
|
|
14637
14637
|
text: readiness.label,
|
|
14638
14638
|
colorScheme: readiness.scheme,
|
|
@@ -14642,16 +14642,16 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14642
14642
|
}
|
|
14643
14643
|
)
|
|
14644
14644
|
] }),
|
|
14645
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14645
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
14646
14646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
|
|
14647
14647
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
14648
14648
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
14649
14649
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: formatCompletionLabelWithBlockers(doc.completion) }),
|
|
14650
|
-
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14650
|
+
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
|
|
14651
14651
|
] })
|
|
14652
14652
|
] });
|
|
14653
14653
|
const outer = _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
14654
|
-
|
|
14654
|
+
_chunkVCR3TW2Hcjs.CONTENT_CARD_FRAME_CLASS,
|
|
14655
14655
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]",
|
|
14656
14656
|
className
|
|
14657
14657
|
);
|
|
@@ -14761,7 +14761,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
14761
14761
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
14762
14762
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
14763
14763
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
14764
|
-
const dateText =
|
|
14764
|
+
const dateText = _chunkVCR3TW2Hcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14765
14765
|
const idLabel = formatActivityId(item.id, kind);
|
|
14766
14766
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
14767
14767
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -14795,26 +14795,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14795
14795
|
metaParts.push(
|
|
14796
14796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14797
14797
|
);
|
|
14798
|
-
const href =
|
|
14798
|
+
const href = _chunkVCR3TW2Hcjs.safeHref.call(void 0, item.url);
|
|
14799
14799
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14800
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14801
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14802
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14800
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14801
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14802
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14803
14803
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14804
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14804
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14805
14805
|
] }),
|
|
14806
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14806
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14807
14807
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14808
14808
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14809
14809
|
] }, i)) }) }),
|
|
14810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14810
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SUMMARY, children: _chunkVCR3TW2Hcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14811
14811
|
] }),
|
|
14812
14812
|
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
|
|
14813
14813
|
] });
|
|
14814
14814
|
if (anchorProps) {
|
|
14815
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14815
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14816
14816
|
}
|
|
14817
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14817
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14818
14818
|
}
|
|
14819
14819
|
function GitHubActivityCardSkeleton({
|
|
14820
14820
|
variant = "compact",
|
|
@@ -14831,12 +14831,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14831
14831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14832
14832
|
] });
|
|
14833
14833
|
}
|
|
14834
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14835
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14836
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14837
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14834
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14835
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14836
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14837
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SUMMARY, children: _chunkVCR3TW2Hcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14840
14840
|
] }),
|
|
14841
14841
|
/* @__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" }) })
|
|
14842
14842
|
] });
|
|
@@ -14860,7 +14860,7 @@ function parseChannelFromUrl(url) {
|
|
|
14860
14860
|
}
|
|
14861
14861
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
14862
14862
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
14863
|
-
const dateText =
|
|
14863
|
+
const dateText = _chunkVCR3TW2Hcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14864
14864
|
if (variant === "row") {
|
|
14865
14865
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14866
14866
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNNDFVMFScjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -14886,23 +14886,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14886
14886
|
metaParts.push(
|
|
14887
14887
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14888
14888
|
);
|
|
14889
|
-
const href =
|
|
14889
|
+
const href = _chunkVCR3TW2Hcjs.safeHref.call(void 0, item.url);
|
|
14890
14890
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14892
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14894
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14895
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14891
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNNDFVMFScjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14892
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14894
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkVCR3TW2Hcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14895
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14896
14896
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14897
14897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14898
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14898
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SUMMARY, children: _chunkVCR3TW2Hcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14899
14899
|
] }),
|
|
14900
14900
|
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
|
|
14901
14901
|
] });
|
|
14902
14902
|
if (anchorProps) {
|
|
14903
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14903
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14904
14904
|
}
|
|
14905
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14905
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14906
14906
|
}
|
|
14907
14907
|
function SlackMessageCardSkeleton({
|
|
14908
14908
|
variant = "compact",
|
|
@@ -14917,12 +14917,12 @@ function SlackMessageCardSkeleton({
|
|
|
14917
14917
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14918
14918
|
] });
|
|
14919
14919
|
}
|
|
14920
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14921
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14922
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14923
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14924
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14925
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14920
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14921
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14922
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14923
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14924
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14925
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14926
14926
|
] }),
|
|
14927
14927
|
/* @__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" }) })
|
|
14928
14928
|
] });
|
|
@@ -14953,12 +14953,12 @@ function statusScheme(status) {
|
|
|
14953
14953
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
14954
14954
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
14955
14955
|
const priorityText = formatToken(item.priority);
|
|
14956
|
-
const dateText =
|
|
14956
|
+
const dateText = _chunkVCR3TW2Hcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14957
14957
|
if (variant === "row") {
|
|
14958
14958
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14959
14959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14960
14960
|
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,
|
|
14961
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14961
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14962
14962
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14963
14963
|
] });
|
|
14964
14964
|
}
|
|
@@ -14972,13 +14972,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14972
14972
|
metaParts.push(
|
|
14973
14973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14974
14974
|
);
|
|
14975
|
-
const href =
|
|
14975
|
+
const href = _chunkVCR3TW2Hcjs.safeHref.call(void 0, item.url);
|
|
14976
14976
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14977
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14977
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14978
14978
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14979
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14979
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14980
14980
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14981
|
-
|
|
14981
|
+
_chunkVCR3TW2Hcjs.StatusBadge,
|
|
14982
14982
|
{
|
|
14983
14983
|
text: priorityText,
|
|
14984
14984
|
variant: "button",
|
|
@@ -14987,7 +14987,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14987
14987
|
}
|
|
14988
14988
|
) : null,
|
|
14989
14989
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14990
|
-
|
|
14990
|
+
_chunkVCR3TW2Hcjs.StatusBadge,
|
|
14991
14991
|
{
|
|
14992
14992
|
text: statusText,
|
|
14993
14993
|
variant: "button",
|
|
@@ -15001,7 +15001,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
15001
15001
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
15002
15002
|
] }) : null,
|
|
15003
15003
|
/* @__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." }) }) }),
|
|
15004
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15004
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
15005
15005
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
15006
15006
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
15007
15007
|
] }, i)) }) }) : null
|
|
@@ -15009,9 +15009,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
15009
15009
|
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
|
|
15010
15010
|
] });
|
|
15011
15011
|
if (anchorProps) {
|
|
15012
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15012
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
15013
15013
|
}
|
|
15014
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
15014
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
15015
15015
|
}
|
|
15016
15016
|
function HubspotTicketCardSkeleton({
|
|
15017
15017
|
variant = "compact",
|
|
@@ -15025,8 +15025,8 @@ function HubspotTicketCardSkeleton({
|
|
|
15025
15025
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
15026
15026
|
] });
|
|
15027
15027
|
}
|
|
15028
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15029
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15028
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15029
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15030
15030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
15031
15031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
15032
15032
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -15039,7 +15039,7 @@ function HubspotTicketCardSkeleton({
|
|
|
15039
15039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
15040
15040
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
15041
15041
|
] }),
|
|
15042
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
15043
15043
|
] }),
|
|
15044
15044
|
/* @__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" }) })
|
|
15045
15045
|
] });
|
|
@@ -15050,10 +15050,10 @@ function HubspotTicketCardSkeleton({
|
|
|
15050
15050
|
|
|
15051
15051
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
15052
15052
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15053
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15053
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15054
15054
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
15055
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15055
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
15056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
15057
15057
|
] }),
|
|
15058
15058
|
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: [
|
|
15059
15059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -15064,13 +15064,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
15064
15064
|
_optionalChain([anchorProps, 'optionalAccess', _371 => _371.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
|
|
15065
15065
|
] });
|
|
15066
15066
|
if (!anchorProps) {
|
|
15067
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15067
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
15068
15068
|
}
|
|
15069
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15069
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
15070
15070
|
}
|
|
15071
15071
|
function DataRoomDocCardSkeleton({ className }) {
|
|
15072
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15073
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15072
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15073
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15074
15074
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
15075
15075
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
15076
15076
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -15091,29 +15091,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
15091
15091
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
15092
15092
|
const goalsCount = _optionalChain([campaign, 'access', _372 => _372.goals, 'optionalAccess', _373 => _373.length]) || 0;
|
|
15093
15093
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15094
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15095
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15098
|
-
campaign.start_date ?
|
|
15094
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
15095
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15096
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
15097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
15098
|
+
campaign.start_date ? _chunkVCR3TW2Hcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
15099
15099
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15100
15100
|
"Marketing campaign"
|
|
15101
15101
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
15102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkVCR3TW2Hcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
15103
15103
|
] })
|
|
15104
15104
|
] });
|
|
15105
15105
|
if (anchorProps) {
|
|
15106
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15106
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
15107
15107
|
}
|
|
15108
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15108
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
15109
15109
|
}
|
|
15110
15110
|
function CampaignCardAdminSkeleton({ className }) {
|
|
15111
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15112
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15113
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15114
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15115
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15116
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15111
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15112
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
15113
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15114
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
15115
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
15116
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
15117
15117
|
] })
|
|
15118
15118
|
] });
|
|
15119
15119
|
}
|
|
@@ -15122,14 +15122,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
15122
15122
|
|
|
15123
15123
|
|
|
15124
15124
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
15125
|
-
const href =
|
|
15126
|
-
const dateText =
|
|
15125
|
+
const href = _chunkVCR3TW2Hcjs.safeHref.call(void 0, item.url);
|
|
15126
|
+
const dateText = _chunkVCR3TW2Hcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
15127
15127
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15128
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15128
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15129
15129
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
15130
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
15131
15131
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15132
|
-
|
|
15132
|
+
_chunkVCR3TW2Hcjs.StatusBadge,
|
|
15133
15133
|
{
|
|
15134
15134
|
text: item.badge.text,
|
|
15135
15135
|
variant: "button",
|
|
@@ -15147,18 +15147,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
15147
15147
|
] }),
|
|
15148
15148
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
15149
15149
|
] }, i)) }) : null,
|
|
15150
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15150
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
15151
15151
|
] }),
|
|
15152
15152
|
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
|
|
15153
15153
|
] });
|
|
15154
15154
|
if (anchorProps) {
|
|
15155
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15155
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
15156
15156
|
}
|
|
15157
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
15157
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
15158
15158
|
}
|
|
15159
15159
|
function GenericEntityCardSkeleton({ className }) {
|
|
15160
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15161
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15160
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15161
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15162
15162
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
15163
15163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
15164
15164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -15207,8 +15207,8 @@ function useChatCardItem(type, id) {
|
|
|
15207
15207
|
const res = await _chunkMNFV4YLKcjs.embedAuthedFetch.call(void 0, url);
|
|
15208
15208
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
15209
15209
|
const data = await res.json();
|
|
15210
|
-
const items =
|
|
15211
|
-
const match = items.find((it) =>
|
|
15210
|
+
const items = _chunkVCR3TW2Hcjs.extractCardItems.call(void 0, type, data);
|
|
15211
|
+
const match = items.find((it) => _chunkVCR3TW2Hcjs.extractItemId.call(void 0, type, it) === id);
|
|
15212
15212
|
return _nullishCoalesce(match, () => ( null));
|
|
15213
15213
|
},
|
|
15214
15214
|
enabled: !!url && id.length > 0,
|
|
@@ -15241,7 +15241,7 @@ function useChatCardItem(type, id) {
|
|
|
15241
15241
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
15242
15242
|
if (imageSrc) {
|
|
15243
15243
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
15244
|
-
/* @__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:
|
|
15244
|
+
/* @__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: _chunkVCR3TW2Hcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
15245
15245
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15246
15246
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
15247
15247
|
{
|
|
@@ -15309,7 +15309,7 @@ function MingoInfoCard({
|
|
|
15309
15309
|
status ? (
|
|
15310
15310
|
// Reuse the shared Tag palette (single source of truth for colours)
|
|
15311
15311
|
// without rendering Tag's `<div>` — span-only for `<p>` validity.
|
|
15312
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
15312
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, _chunkVCR3TW2Hcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(status.variant, () => ( "success")) }), "shrink-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
|
|
15313
15313
|
) : null
|
|
15314
15314
|
] });
|
|
15315
15315
|
const contentClass = _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
@@ -15399,7 +15399,7 @@ function resolveFetchedCardHref({
|
|
|
15399
15399
|
composeContentUrl
|
|
15400
15400
|
}) {
|
|
15401
15401
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
15402
|
-
const canonicalType =
|
|
15402
|
+
const canonicalType = _chunkVCR3TW2Hcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
15403
15403
|
return composeContentUrl({
|
|
15404
15404
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
15405
15405
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -15924,16 +15924,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
15924
15924
|
if (docTarget) {
|
|
15925
15925
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
15926
15926
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
15927
|
-
href = _nullishCoalesce(
|
|
15927
|
+
href = _nullishCoalesce(_chunkVCR3TW2Hcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
15928
15928
|
targetPlatform = docTarget.platform;
|
|
15929
15929
|
} else if (ctx.chipBasePlatform) {
|
|
15930
15930
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
15931
|
-
href = _nullishCoalesce(
|
|
15931
|
+
href = _nullishCoalesce(_chunkVCR3TW2Hcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
15932
15932
|
targetPlatform = ctx.chipBasePlatform;
|
|
15933
15933
|
} else if (ctx.baseRoute) {
|
|
15934
15934
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
15935
15935
|
const absolute = new URL(safePath, synthetic).toString();
|
|
15936
|
-
href = _nullishCoalesce(
|
|
15936
|
+
href = _nullishCoalesce(_chunkVCR3TW2Hcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
15937
15937
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
15938
15938
|
}
|
|
15939
15939
|
}
|
|
@@ -15942,15 +15942,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
15942
15942
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
15943
15943
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
15944
15944
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
15945
|
-
type:
|
|
15945
|
+
type: _chunkVCR3TW2Hcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
15946
15946
|
identifier: idValue,
|
|
15947
15947
|
externalUrl: row.externalUrl,
|
|
15948
15948
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
15949
15949
|
});
|
|
15950
|
-
href = composed.href ? _nullishCoalesce(
|
|
15950
|
+
href = composed.href ? _nullishCoalesce(_chunkVCR3TW2Hcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
15951
15951
|
targetPlatform = composed.targetPlatform;
|
|
15952
15952
|
} else if (row.externalUrl) {
|
|
15953
|
-
href = _nullishCoalesce(
|
|
15953
|
+
href = _nullishCoalesce(_chunkVCR3TW2Hcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
15954
15954
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
15955
15955
|
}
|
|
15956
15956
|
const documentType = row.documentType;
|
|
@@ -15985,11 +15985,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
15985
15985
|
|
|
15986
15986
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
15987
15987
|
const label = entityLabel || "Item";
|
|
15988
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
15989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15990
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
15991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15992
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15988
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
15990
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkVCR3TW2Hcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
15992
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkVCR3TW2Hcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
15993
15993
|
label,
|
|
15994
15994
|
" deleted",
|
|
15995
15995
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -16035,7 +16035,7 @@ function GitHubChatCard({
|
|
|
16035
16035
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
16036
16036
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
16037
16037
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
16038
|
-
const dateText =
|
|
16038
|
+
const dateText = _chunkVCR3TW2Hcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
16039
16039
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
16040
16040
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16041
16041
|
MingoInfoCard,
|
|
@@ -16044,7 +16044,7 @@ function GitHubChatCard({
|
|
|
16044
16044
|
description,
|
|
16045
16045
|
icon: githubKindIcon(kind),
|
|
16046
16046
|
status,
|
|
16047
|
-
anchorProps:
|
|
16047
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16048
16048
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16049
16049
|
menuAriaLabel: "Activity actions"
|
|
16050
16050
|
}
|
|
@@ -16191,7 +16191,7 @@ function HubspotTicketChatCard({
|
|
|
16191
16191
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16192
16192
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.TagIcon, { size: 24 }),
|
|
16193
16193
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
16194
|
-
anchorProps:
|
|
16194
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16195
16195
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
16196
16196
|
label: "Open Ticket Details",
|
|
16197
16197
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.TagIcon, { size: 20 })
|
|
@@ -16214,7 +16214,7 @@ function FaqChatCard({
|
|
|
16214
16214
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16215
16215
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.QuestionCircleIcon, { size: 24 }),
|
|
16216
16216
|
status: { label: statusLabel, variant: "grey" },
|
|
16217
|
-
anchorProps:
|
|
16217
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16218
16218
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16219
16219
|
menuAriaLabel: "FAQ actions"
|
|
16220
16220
|
}
|
|
@@ -16234,7 +16234,7 @@ function SlackChatCard({
|
|
|
16234
16234
|
title,
|
|
16235
16235
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16236
16236
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
16237
|
-
anchorProps:
|
|
16237
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16238
16238
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16239
16239
|
menuAriaLabel: "Message actions"
|
|
16240
16240
|
}
|
|
@@ -16252,7 +16252,7 @@ function GlyphChatCard({
|
|
|
16252
16252
|
title: chatRef.title,
|
|
16253
16253
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16254
16254
|
icon,
|
|
16255
|
-
anchorProps:
|
|
16255
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16256
16256
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16257
16257
|
menuAriaLabel: "Card actions"
|
|
16258
16258
|
}
|
|
@@ -16270,20 +16270,20 @@ function TrustCenterChatCard({
|
|
|
16270
16270
|
}) {
|
|
16271
16271
|
const raw = _optionalChain([item, 'optionalAccess', _421 => _421.frameworks]);
|
|
16272
16272
|
const frameworks = Array.isArray(raw) ? raw : [];
|
|
16273
|
-
const summary =
|
|
16273
|
+
const summary = _chunkVCR3TW2Hcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
16274
16274
|
const leadFramework = frameworks[0];
|
|
16275
16275
|
const lead = leadFramework ? {
|
|
16276
|
-
label:
|
|
16277
|
-
color:
|
|
16276
|
+
label: _chunkVCR3TW2Hcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
16277
|
+
color: _chunkVCR3TW2Hcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
16278
16278
|
} : void 0;
|
|
16279
16279
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16280
16280
|
MingoInfoCard,
|
|
16281
16281
|
{
|
|
16282
|
-
title:
|
|
16283
|
-
description: summary ||
|
|
16282
|
+
title: _chunkVCR3TW2Hcjs.TRUST_CENTER_TITLE,
|
|
16283
|
+
description: summary || _chunkVCR3TW2Hcjs.TRUST_CENTER_TAGLINE,
|
|
16284
16284
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.ShieldCheckIcon, { size: 24 }),
|
|
16285
16285
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
16286
|
-
anchorProps:
|
|
16286
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16287
16287
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
16288
16288
|
label: "View trust center",
|
|
16289
16289
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -16305,7 +16305,7 @@ function DataRoomDocChatCard({
|
|
|
16305
16305
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16306
16306
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.FileContentIcon, { size: 24 }),
|
|
16307
16307
|
status: { label: badgeText, variant: "grey" },
|
|
16308
|
-
anchorProps:
|
|
16308
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16309
16309
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16310
16310
|
menuAriaLabel: "Document actions"
|
|
16311
16311
|
}
|
|
@@ -16324,7 +16324,7 @@ function GenericFinancialChatCard({
|
|
|
16324
16324
|
title: chatRef.title,
|
|
16325
16325
|
description: subtitle,
|
|
16326
16326
|
icon,
|
|
16327
|
-
anchorProps:
|
|
16327
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16328
16328
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16329
16329
|
menuAriaLabel: "Document actions"
|
|
16330
16330
|
}
|
|
@@ -16410,7 +16410,7 @@ function CampaignChatCard({
|
|
|
16410
16410
|
}) {
|
|
16411
16411
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _427 => _427.goals])) ? item.goals.length : 0;
|
|
16412
16412
|
const meta = [
|
|
16413
|
-
_optionalChain([item, 'optionalAccess', _428 => _428.start_date]) ?
|
|
16413
|
+
_optionalChain([item, 'optionalAccess', _428 => _428.start_date]) ? _chunkVCR3TW2Hcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
16414
16414
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
16415
16415
|
"Marketing campaign"
|
|
16416
16416
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -16449,7 +16449,7 @@ function EntityMingoCard({
|
|
|
16449
16449
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
16450
16450
|
icon: fallbackIcon,
|
|
16451
16451
|
status,
|
|
16452
|
-
anchorProps:
|
|
16452
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16453
16453
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
16454
16454
|
menuAriaLabel
|
|
16455
16455
|
}
|
|
@@ -16461,7 +16461,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
16461
16461
|
function statusPill(status) {
|
|
16462
16462
|
const s = typeof status === "string" ? status.trim() : "";
|
|
16463
16463
|
if (!s) return void 0;
|
|
16464
|
-
const scheme =
|
|
16464
|
+
const scheme = _chunkVCR3TW2Hcjs.getStatusColorScheme.call(void 0, s);
|
|
16465
16465
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
16466
16466
|
return { label: s, variant };
|
|
16467
16467
|
}
|
|
@@ -16552,7 +16552,7 @@ function DesignDocChatCard({
|
|
|
16552
16552
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
16553
16553
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.FileContentIcon, { size: 24 }),
|
|
16554
16554
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
16555
|
-
anchorProps:
|
|
16555
|
+
anchorProps: _chunkVCR3TW2Hcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
16556
16556
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
16557
16557
|
menuAriaLabel: "Design doc actions"
|
|
16558
16558
|
}
|
|
@@ -16570,7 +16570,7 @@ function InvestorUpdateChatCard({
|
|
|
16570
16570
|
EntityMingoCard,
|
|
16571
16571
|
{
|
|
16572
16572
|
title,
|
|
16573
|
-
description: _optionalChain([item, 'optionalAccess', _458 => _458.strategic_update]) || _optionalChain([item, 'optionalAccess', _459 => _459.content]) ||
|
|
16573
|
+
description: _optionalChain([item, 'optionalAccess', _458 => _458.strategic_update]) || _optionalChain([item, 'optionalAccess', _459 => _459.content]) || _chunkVCR3TW2Hcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _460 => _460.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _461 => _461.period_end]), () => ( null))) || void 0,
|
|
16574
16574
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _462 => _462.featured_image]), ogPlaceholder),
|
|
16575
16575
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.PresentationLineIcon, { size: 24 }),
|
|
16576
16576
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -16614,7 +16614,7 @@ function ProgramChatCard({
|
|
|
16614
16614
|
discuss
|
|
16615
16615
|
}) {
|
|
16616
16616
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.MicrophoneIcon, { size: 24 });
|
|
16617
|
-
const { line: meta } =
|
|
16617
|
+
const { line: meta } = _chunkVCR3TW2Hcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkVCR3TW2Hcjs.programMetaFormatters.call(void 0, _chunkVCR3TW2Hcjs.PROGRAM_META_RENDERERS));
|
|
16618
16618
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16619
16619
|
EntityMingoCard,
|
|
16620
16620
|
{
|
|
@@ -16640,7 +16640,7 @@ function RoadmapChatCard({
|
|
|
16640
16640
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _472 => _472.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
16641
16641
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _473 => _473.customItemId]) != null;
|
|
16642
16642
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.MapIcon, { size: 24 });
|
|
16643
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16643
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _474 => _474.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
16644
16644
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
16645
16645
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
16646
16646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -16804,7 +16804,7 @@ function programRegistryEntries() {
|
|
|
16804
16804
|
label: cfg.label,
|
|
16805
16805
|
contentRefType: cfg.contentRefType,
|
|
16806
16806
|
bareInline: true,
|
|
16807
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16807
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
16808
16808
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16809
16809
|
ProgramChatCard,
|
|
16810
16810
|
{
|
|
@@ -16845,7 +16845,7 @@ function roadmapRegistryEntries() {
|
|
|
16845
16845
|
bareInline: true,
|
|
16846
16846
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
16847
16847
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
16848
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16848
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
16849
16849
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16850
16850
|
RoadmapChatCard,
|
|
16851
16851
|
{
|
|
@@ -16903,12 +16903,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16903
16903
|
// projection route; `extractCardItems` turns its object payload into the
|
|
16904
16904
|
// single matched row. Destination is the public page unless the host
|
|
16905
16905
|
// re-homes the type (`composeContentUrl` override).
|
|
16906
|
-
[
|
|
16906
|
+
[_chunkVCR3TW2Hcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
16907
16907
|
label: "Trust center",
|
|
16908
16908
|
bareInline: true,
|
|
16909
|
-
contentRefType:
|
|
16909
|
+
contentRefType: _chunkVCR3TW2Hcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
16910
16910
|
noComposedHref: true,
|
|
16911
|
-
fallbackHref: () =>
|
|
16911
|
+
fallbackHref: () => _chunkVCR3TW2Hcjs.TRUST_CENTER_PAGE_PATH,
|
|
16912
16912
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
16913
16913
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
16914
16914
|
},
|
|
@@ -16934,7 +16934,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16934
16934
|
label: "Blog post",
|
|
16935
16935
|
contentRefType: "blog_post_existing",
|
|
16936
16936
|
bareInline: true,
|
|
16937
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16937
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.BlogCardSkeleton, { size: "sm" }),
|
|
16938
16938
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16939
16939
|
BlogChatCard,
|
|
16940
16940
|
{
|
|
@@ -16951,7 +16951,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16951
16951
|
label: "Case study",
|
|
16952
16952
|
contentRefType: "case_study",
|
|
16953
16953
|
bareInline: true,
|
|
16954
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16954
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
16955
16955
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16956
16956
|
CaseStudyChatCard,
|
|
16957
16957
|
{
|
|
@@ -16976,7 +16976,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16976
16976
|
label: "Customer interview",
|
|
16977
16977
|
contentRefType: "customer_interview",
|
|
16978
16978
|
bareInline: true,
|
|
16979
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16979
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
16980
16980
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16981
16981
|
CustomerInterviewChatCard,
|
|
16982
16982
|
{
|
|
@@ -16992,9 +16992,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16992
16992
|
label: "Product release",
|
|
16993
16993
|
contentRefType: "product_release",
|
|
16994
16994
|
bareInline: true,
|
|
16995
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16995
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
16996
16996
|
render: (item, chatRef, opts) => {
|
|
16997
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _513 => _513.extras, 'optionalAccess', _514 => _514.buildProductReleaseCardProps]), () => (
|
|
16997
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _513 => _513.extras, 'optionalAccess', _514 => _514.buildProductReleaseCardProps]), () => ( _chunkVCR3TW2Hcjs.defaultBuildProductReleaseCardProps));
|
|
16998
16998
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16999
16999
|
ProductReleaseChatCard,
|
|
17000
17000
|
{
|
|
@@ -17012,7 +17012,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17012
17012
|
label: "Investor update",
|
|
17013
17013
|
contentRefType: "investor_update",
|
|
17014
17014
|
bareInline: true,
|
|
17015
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17015
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
17016
17016
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17017
17017
|
InvestorUpdateChatCard,
|
|
17018
17018
|
{
|
|
@@ -17030,7 +17030,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17030
17030
|
bareInline: true,
|
|
17031
17031
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
17032
17032
|
displayAction: true,
|
|
17033
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17033
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
17034
17034
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17035
17035
|
OnboardingGuideChatCard,
|
|
17036
17036
|
{
|
|
@@ -17130,13 +17130,13 @@ function ChatCardLoader({
|
|
|
17130
17130
|
}) : null;
|
|
17131
17131
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
17132
17132
|
...resolvedChatRef,
|
|
17133
|
-
url:
|
|
17133
|
+
url: _chunkVCR3TW2Hcjs.safeHref.call(void 0, hrefChoice.href),
|
|
17134
17134
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
17135
17135
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
17136
17136
|
} : resolvedChatRef;
|
|
17137
17137
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
17138
17138
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
17139
|
-
const isNewTab =
|
|
17139
|
+
const isNewTab = _chunkVCR3TW2Hcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
17140
17140
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
17141
17141
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
17142
17142
|
const discuss = discussFn ? {
|
|
@@ -18575,7 +18575,7 @@ function useChatAttachmentImageGallery() {
|
|
|
18575
18575
|
return () => root.removeEventListener("click", onClick);
|
|
18576
18576
|
}, [viewUrlPrefix]);
|
|
18577
18577
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18578
|
-
|
|
18578
|
+
_chunkVCR3TW2Hcjs.ImageGalleryModal,
|
|
18579
18579
|
{
|
|
18580
18580
|
images: state.images,
|
|
18581
18581
|
isOpen: state.isOpen,
|
|
@@ -19315,7 +19315,7 @@ function nullableText(value) {
|
|
|
19315
19315
|
}
|
|
19316
19316
|
function httpsUrl(value) {
|
|
19317
19317
|
const candidate = text(value);
|
|
19318
|
-
if (!candidate ||
|
|
19318
|
+
if (!candidate || _chunkVCR3TW2Hcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
19319
19319
|
try {
|
|
19320
19320
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
19321
19321
|
} catch (e64) {
|
|
@@ -25428,7 +25428,7 @@ function SourceChip({
|
|
|
25428
25428
|
const Icon = cta.icon;
|
|
25429
25429
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
25430
25430
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
25431
|
-
const decideTab = (href, targetPlatform) =>
|
|
25431
|
+
const decideTab = (href, targetPlatform) => _chunkVCR3TW2Hcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
25432
25432
|
if (src.items && src.items.length > 0) {
|
|
25433
25433
|
const dropdownItems = src.items.map((item) => {
|
|
25434
25434
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -25521,7 +25521,7 @@ function SourceChip({
|
|
|
25521
25521
|
"a",
|
|
25522
25522
|
{
|
|
25523
25523
|
href: resolvedHref,
|
|
25524
|
-
...
|
|
25524
|
+
..._chunkVCR3TW2Hcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
25525
25525
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
25526
25526
|
className: chipClass,
|
|
25527
25527
|
children: chipBody(src.name)
|
|
@@ -25537,7 +25537,7 @@ function SourceChip({
|
|
|
25537
25537
|
"a",
|
|
25538
25538
|
{
|
|
25539
25539
|
href: resolvedHref,
|
|
25540
|
-
...
|
|
25540
|
+
..._chunkVCR3TW2Hcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
25541
25541
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
25542
25542
|
className: chipClass,
|
|
25543
25543
|
title: displayName,
|
|
@@ -26388,7 +26388,7 @@ function EmbeddableChatInner({
|
|
|
26388
26388
|
headerAvatar ? (
|
|
26389
26389
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
26390
26390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26391
|
-
|
|
26391
|
+
_chunkVCR3TW2Hcjs.SquareAvatar,
|
|
26392
26392
|
{
|
|
26393
26393
|
variant: "round",
|
|
26394
26394
|
sizePx: 32,
|
|
@@ -26748,7 +26748,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
26748
26748
|
const describedById = _react.useId.call(void 0, );
|
|
26749
26749
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
26750
26750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26751
|
-
|
|
26751
|
+
_chunkVCR3TW2Hcjs.FloatingTooltip,
|
|
26752
26752
|
{
|
|
26753
26753
|
content: children,
|
|
26754
26754
|
side,
|
|
@@ -26927,13 +26927,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
26927
26927
|
setStatus("Cleared. Requests use the session again.");
|
|
26928
26928
|
};
|
|
26929
26929
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
26930
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26930
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVCR3TW2Hcjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
26931
26931
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "flex flex-col gap-[var(--spacing-system-sf)] sm:flex-row sm:items-start sm:justify-between", children: [
|
|
26932
26932
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
26933
26933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
26934
26934
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
26935
26935
|
] }),
|
|
26936
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26936
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCR3TW2Hcjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
26937
26937
|
] }),
|
|
26938
26938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26939
26939
|
Section,
|
|
@@ -27435,4 +27435,4 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
27435
27435
|
|
|
27436
27436
|
|
|
27437
27437
|
exports.InfoHint = InfoHint; exports.Field = Field; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.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.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.CHAT_APPEARANCE = CHAT_APPEARANCE; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent; exports.ChatAppearanceContext = ChatAppearanceContext; exports.useChatAppearance = useChatAppearance; 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.SystemEventMessage = SystemEventMessage; 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.brandLogoForName = brandLogoForName; 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.ChatListEmptyState = ChatListEmptyState; 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.ChatNavSidebar = ChatNavSidebar; exports.ChatListItem = ChatListItem; exports.ChatTopNavigation = ChatTopNavigation; exports.OnboardingCarousel = OnboardingCarousel; 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.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.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS; exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY; exports.designDocReadiness = designDocReadiness; exports.formatCompletionLabel = formatCompletionLabel; exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.designDocPeople = designDocPeople; exports.designDocMetaLine = designDocMetaLine; exports.DesignDocCardSkeleton = DesignDocCardSkeleton; exports.DesignDocCard = DesignDocCard; 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.byKey = byKey; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat; exports.ProxyCredentialsPanel = ProxyCredentialsPanel;
|
|
27438
|
-
//# sourceMappingURL=chunk-
|
|
27438
|
+
//# sourceMappingURL=chunk-MFU3ALKM.cjs.map
|