@flamingo-stack/openframe-frontend-core 0.0.724 → 0.0.725
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-N2PX26BZ.js → chunk-2MMZTACD.js} +2 -2
- package/dist/{chunk-5CJGNPTT.cjs → chunk-2SO3OJFY.cjs} +35 -35
- package/dist/{chunk-L5CAET76.cjs → chunk-2VOZ37BL.cjs} +64 -64
- package/dist/{chunk-2A4AGW7Z.cjs → chunk-4ZZ4TNCY.cjs} +11 -11
- package/dist/{chunk-7CNGNPBI.js → chunk-5FVWDDX6.js} +3 -3
- package/dist/{chunk-CJENFR5T.js → chunk-6EFNWQRY.js} +1 -1
- package/dist/{chunk-JQ7A7PO5.cjs → chunk-772242QR.cjs} +76 -76
- package/dist/{chunk-IPUDFAU5.cjs → chunk-7V5KFBY2.cjs} +31 -31
- package/dist/{chunk-GRB5HVEV.cjs → chunk-AI3CLDZO.cjs} +505 -505
- package/dist/{chunk-XDTD6YGG.js → chunk-ASHRHL4W.js} +7 -7
- package/dist/{chunk-IUQKIU5A.js → chunk-ASIXPRHV.js} +6 -6
- package/dist/{chunk-OFOBVPDV.js → chunk-AX4F35C2.js} +2 -2
- package/dist/{chunk-SVDXNMBL.cjs → chunk-B7234BE2.cjs} +16 -16
- package/dist/{chunk-NLZZUWR6.js → chunk-F56GNKX2.js} +4 -4
- package/dist/{chunk-6QO6BIX7.js → chunk-F77J34W2.js} +1 -1
- package/dist/{chunk-DGNGABNG.cjs → chunk-HEQ4GPYE.cjs} +4 -4
- package/dist/{chunk-JKWQWHNV.cjs → chunk-IITB5TJR.cjs} +4 -1
- package/dist/{chunk-BWMEQ7IZ.js → chunk-IOTAUWWF.js} +1 -1
- package/dist/{chunk-6BKDXUOQ.js → chunk-JAKG6BY7.js} +6 -6
- package/dist/{chunk-2HLGX6JF.js → chunk-JVHP7Y4S.js} +5 -5
- package/dist/{chunk-MRBPJ4NB.js → chunk-JXJFUGJY.js} +1 -1
- package/dist/{chunk-YKV45BSJ.cjs → chunk-KLCOSY7B.cjs} +4 -4
- package/dist/{chunk-QUI7DKBW.cjs → chunk-KNLRL63O.cjs} +41 -41
- package/dist/{chunk-A4WHVIYZ.cjs → chunk-LR6DJY4Z.cjs} +17 -17
- package/dist/{chunk-QJ67GFF3.cjs → chunk-LYQYLPPV.cjs} +32 -32
- package/dist/{chunk-PF4WAKCS.js → chunk-MGTZ2BKY.js} +4 -4
- package/dist/{chunk-S4SVKXHN.js → chunk-MLFS5G3V.js} +4 -5
- package/dist/{chunk-OWFDXYEO.js → chunk-MSPXMSMY.js} +1 -1
- package/dist/{chunk-7AXOAA5T.cjs → chunk-NJV3LIDE.cjs} +3 -3
- package/dist/{chunk-MU5F5QXJ.js → chunk-OBMWSUBK.js} +6 -6
- package/dist/{chunk-4N5DLIEC.js → chunk-PUADVXJD.js} +1 -1
- package/dist/{chunk-FR4MFSH5.cjs → chunk-QV4GO3GW.cjs} +19 -19
- package/dist/{chunk-3NVSC3BU.cjs → chunk-RU6BTELI.cjs} +197 -198
- package/dist/{chunk-3MMKIVWZ.cjs → chunk-SE4O4HCD.cjs} +23 -23
- package/dist/{chunk-SOTXV3T5.cjs → chunk-SEVKFMKR.cjs} +3 -3
- package/dist/{chunk-VLPGV5WH.js → chunk-TU5LEF6A.js} +1 -1
- package/dist/{chunk-N4NGKXUU.cjs → chunk-U6LRRG2E.cjs} +15 -15
- package/dist/{chunk-QN3OXRTM.js → chunk-W2DXHR2R.js} +5 -5
- package/dist/{chunk-BIWG3CYN.cjs → chunk-YPEILGVZ.cjs} +3 -3
- package/dist/{chunk-ZQKN2Z6W.js → chunk-YQDKVGKO.js} +4 -1
- package/dist/{chunk-ZKL52ALL.cjs → chunk-ZSXZE4FJ.cjs} +3 -3
- package/dist/{chunk-KKO4GRM3.js → chunk-ZZRUKEN2.js} +4 -4
- package/dist/{cloud-tenants-UMZJZTMB.cjs → cloud-tenants-SMULXU54.cjs} +7 -7
- package/dist/{cloud-tenants-5MINXS5J.js → cloud-tenants-US63E2HV.js} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/case-studies/index.js +7 -7
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/index.js +4 -4
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/contact/index.js +7 -7
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/docs/index.js +10 -10
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/embeds/index.js +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/faq/index.js +7 -7
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/index.js +6 -6
- package/dist/components/help-center-pages/index.cjs +106 -106
- package/dist/components/help-center-pages/index.js +18 -18
- package/dist/components/index.cjs +55 -55
- package/dist/components/index.js +18 -18
- package/dist/components/meeting-scheduler/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.js +6 -6
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/navigation/index.js +9 -9
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.js +9 -9
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/product-demo/index.js +7 -7
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/index.js +6 -6
- package/dist/{devices-HOT7YSDN.cjs → devices-6ZURNFRB.cjs} +8 -8
- package/dist/{devices-FSSUAUQN.js → devices-JWHGWKLK.js} +6 -6
- package/dist/index.cjs +11 -11
- package/dist/index.js +10 -10
- package/dist/{knowledge-3N6HCFLU.cjs → knowledge-CY66JZ54.cjs} +8 -8
- package/dist/{knowledge-7HRUJX26.js → knowledge-TEDPLCFX.js} +6 -6
- package/dist/{logs-75M5YP6V.cjs → logs-MO357RE7.cjs} +15 -15
- package/dist/{logs-T25OE2QW.js → logs-S46THPPD.js} +6 -6
- package/dist/{policies-4OK4XTD4.js → policies-BUXT7DKF.js} +6 -6
- package/dist/{policies-BTG7UJJC.cjs → policies-GSH4K5YP.cjs} +11 -11
- package/dist/{remote-session-4DTOM3QD.cjs → remote-session-CSX6ESSG.cjs} +5 -5
- package/dist/{remote-session-AZJXG7ZF.js → remote-session-ZBCWD5A5.js} +3 -3
- package/dist/{software-update-OZURO4VK.cjs → software-update-2ETT35NM.cjs} +11 -11
- package/dist/{software-update-5SOV4FIR.js → software-update-YKS6KLX2.js} +6 -6
- package/package.json +1 -1
- package/src/components/chat/utils/icon-library.tsx +8 -3
- package/src/components/chat/utils/source-row-cta.ts +3 -3
|
@@ -34,7 +34,7 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkNJV3LIDEcjs = require('./chunk-NJV3LIDE.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
@@ -140,15 +140,14 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
var
|
|
143
|
+
var _chunkHEQ4GPYEcjs = require('./chunk-HEQ4GPYE.cjs');
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
var _chunkAL2GUHAJcjs = require('./chunk-AL2GUHAJ.cjs');
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
|
|
151
|
-
var _chunkJKWQWHNVcjs = require('./chunk-JKWQWHNV.cjs');
|
|
150
|
+
var _chunkIITB5TJRcjs = require('./chunk-IITB5TJR.cjs');
|
|
152
151
|
|
|
153
152
|
|
|
154
153
|
|
|
@@ -314,7 +313,7 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
314
313
|
|
|
315
314
|
// src/components/chat/chat-appearance-context.tsx
|
|
316
315
|
|
|
317
|
-
var ChatAppearanceContext = _react.createContext.call(void 0,
|
|
316
|
+
var ChatAppearanceContext = _react.createContext.call(void 0, _chunkNJV3LIDEcjs.CHAT_APPEARANCE.CLASSIC);
|
|
318
317
|
function useChatAppearance() {
|
|
319
318
|
return _react.useContext.call(void 0, ChatAppearanceContext);
|
|
320
319
|
}
|
|
@@ -352,7 +351,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
352
351
|
...props
|
|
353
352
|
}, ref) => {
|
|
354
353
|
const [isProcessing, setIsProcessing] = _react.useState.call(void 0, false);
|
|
355
|
-
const isV2 = useChatAppearance() ===
|
|
354
|
+
const isV2 = useChatAppearance() === _chunkNJV3LIDEcjs.CHAT_APPEARANCE.V2;
|
|
356
355
|
const handleApprove = async () => {
|
|
357
356
|
setIsProcessing(true);
|
|
358
357
|
try {
|
|
@@ -487,7 +486,7 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
|
|
|
487
486
|
|
|
488
487
|
var AiAssistantInfo = _react.forwardRef.call(void 0,
|
|
489
488
|
({ className, icon, leading, title, body, timestamp, ...props }, ref) => {
|
|
490
|
-
const isV2 = useChatAppearance() ===
|
|
489
|
+
const isV2 = useChatAppearance() === _chunkNJV3LIDEcjs.CHAT_APPEARANCE.V2;
|
|
491
490
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
492
491
|
"div",
|
|
493
492
|
{
|
|
@@ -503,7 +502,7 @@ var AiAssistantInfo = _react.forwardRef.call(void 0,
|
|
|
503
502
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
504
503
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start", children: [
|
|
505
504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h4", title, children: title }),
|
|
506
|
-
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children:
|
|
505
|
+
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children: _chunkNJV3LIDEcjs.formatTime.call(void 0, timestamp) })
|
|
507
506
|
] }),
|
|
508
507
|
body != null && body !== "" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full break-words text-ods-text-secondary text-h4", children: body })
|
|
509
508
|
] })
|
|
@@ -3411,7 +3410,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
3411
3410
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
3412
3411
|
const { innerRef, containerStyle } = _chunkHP4UUBJCcjs.useCollapsible.call(void 0, { expanded });
|
|
3413
3412
|
const hasDetails = Boolean(details);
|
|
3414
|
-
const isV2 = useChatAppearance() ===
|
|
3413
|
+
const isV2 = useChatAppearance() === _chunkNJV3LIDEcjs.CHAT_APPEARANCE.V2;
|
|
3415
3414
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3416
3415
|
"div",
|
|
3417
3416
|
{
|
|
@@ -4453,8 +4452,8 @@ ToolExecutionDisplay.displayName = "ToolExecutionDisplay";
|
|
|
4453
4452
|
var MENTION_MARKER_REGEX = /(^|[^\w@])@[a-zA-Z]+:([A-Za-z0-9_.+/=-]*[A-Za-z0-9_+/=])/g;
|
|
4454
4453
|
var CARD_MARKER_REGEX = createCardMarkerScanner();
|
|
4455
4454
|
function formatMessageTimestamp(timestamp) {
|
|
4456
|
-
const time =
|
|
4457
|
-
return _chunkHP4UUBJCcjs.isToday.call(void 0, timestamp) ? time : `${
|
|
4455
|
+
const time = _chunkNJV3LIDEcjs.formatTime.call(void 0, timestamp);
|
|
4456
|
+
return _chunkHP4UUBJCcjs.isToday.call(void 0, timestamp) ? time : `${_chunkNJV3LIDEcjs.formatDate.call(void 0, timestamp)} ${time}`;
|
|
4458
4457
|
}
|
|
4459
4458
|
function normalizeContent(content) {
|
|
4460
4459
|
if (typeof content === "string") {
|
|
@@ -4508,7 +4507,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
4508
4507
|
const isError = role === "error";
|
|
4509
4508
|
const inheritedAppearance = useChatAppearance();
|
|
4510
4509
|
const appearance = _nullishCoalesce(appearanceProp, () => ( inheritedAppearance));
|
|
4511
|
-
const isV2 = appearance ===
|
|
4510
|
+
const isV2 = appearance === _chunkNJV3LIDEcjs.CHAT_APPEARANCE.V2;
|
|
4512
4511
|
const authorType = _nullishCoalesce(authorTypeProp, () => ( (isUser ? "user" : assistantType === "mingo" ? "mingo" : "fae")));
|
|
4513
4512
|
const hasMarkerSupport = !!renderEntityCard;
|
|
4514
4513
|
const segments = _react.useMemo.call(void 0, () => normalizeContent(content), [content]);
|
|
@@ -5032,7 +5031,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5032
5031
|
contentClassName,
|
|
5033
5032
|
assistantType,
|
|
5034
5033
|
approvalVariant,
|
|
5035
|
-
appearance =
|
|
5034
|
+
appearance = _chunkNJV3LIDEcjs.CHAT_APPEARANCE.CLASSIC,
|
|
5036
5035
|
assistantIcon,
|
|
5037
5036
|
pendingApprovals,
|
|
5038
5037
|
hasNextPage,
|
|
@@ -5531,7 +5530,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
5531
5530
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
5532
5531
|
function useProxiedImageUrl(url) {
|
|
5533
5532
|
const r = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
5534
|
-
return _nullishCoalesce(
|
|
5533
|
+
return _nullishCoalesce(_chunkHEQ4GPYEcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
5535
5534
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
5536
5535
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
5537
5536
|
directHttps: true
|
|
@@ -5608,7 +5607,7 @@ function renderQuickActionIcon(icon) {
|
|
|
5608
5607
|
if (!spec.name && !spec.url) return void 0;
|
|
5609
5608
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
5610
5609
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
5611
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5610
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
5612
5611
|
}
|
|
5613
5612
|
function composeChipLabel(label, lozenge) {
|
|
5614
5613
|
if (!lozenge) return label;
|
|
@@ -7597,7 +7596,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
7597
7596
|
|
|
7598
7597
|
[Attached: ${safeName}](${url})`;
|
|
7599
7598
|
}
|
|
7600
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
7599
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkHEQ4GPYEcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
7601
7600
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
7602
7601
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
7603
7602
|
"gm"
|
|
@@ -8072,7 +8071,7 @@ function lastPathSegment(url) {
|
|
|
8072
8071
|
function makeComposeContentUrl(opts) {
|
|
8073
8072
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
8074
8073
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
8075
|
-
const type =
|
|
8074
|
+
const type = _chunkHEQ4GPYEcjs.canonicalContentRefType.call(void 0, rawType);
|
|
8076
8075
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
8077
8076
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
8078
8077
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -8933,7 +8932,7 @@ function useAskPrompts({
|
|
|
8933
8932
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
8934
8933
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
8935
8934
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
8936
|
-
const { data, isLoading } =
|
|
8935
|
+
const { data, isLoading } = _chunkHEQ4GPYEcjs.useSelfFetch.call(void 0, url);
|
|
8937
8936
|
return { prompts: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _232 => _232.prompts]), () => ( [])), isLoading: !!base && (!enabled || isLoading), supported: !!base };
|
|
8938
8937
|
}
|
|
8939
8938
|
function useAssistantOpen(topic, onOpen) {
|
|
@@ -10388,7 +10387,7 @@ function GuideWelcome({
|
|
|
10388
10387
|
icon && (icon.name || icon.url) ? (
|
|
10389
10388
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
10390
10389
|
// match the default Mingo mark (48px).
|
|
10391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
10392
10391
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10393
10392
|
_chunkLLSUVPQCcjs.MingoIcon,
|
|
10394
10393
|
{
|
|
@@ -11252,8 +11251,8 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
|
|
|
11252
11251
|
const save = () => {
|
|
11253
11252
|
if (canSave) onSave(name.trim());
|
|
11254
11253
|
};
|
|
11255
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11256
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11254
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
11255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Rename Chat" }) }),
|
|
11257
11256
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
11258
11257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "rename-chat-input", className: "text-ods-text-primary text-h4", children: "Chat Name" }),
|
|
11259
11258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11270,27 +11269,27 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
|
|
|
11270
11269
|
}
|
|
11271
11270
|
)
|
|
11272
11271
|
] }),
|
|
11273
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11272
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
11274
11273
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
11275
11274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: save, disabled: !canSave, className: saveBtn, children: "Save" })
|
|
11276
11275
|
] })
|
|
11277
11276
|
] });
|
|
11278
11277
|
}
|
|
11279
11278
|
function ArchiveChatModal({ isOpen, onClose, onConfirm }) {
|
|
11280
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11281
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11279
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
11280
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Archive Chat" }) }),
|
|
11282
11281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be hidden from your current chats." }),
|
|
11283
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11282
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
11284
11283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
11285
11284
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onConfirm, className: dangerBtn, children: "Archive Chat" })
|
|
11286
11285
|
] })
|
|
11287
11286
|
] });
|
|
11288
11287
|
}
|
|
11289
11288
|
function UnarchiveChatModal({ isOpen, onClose, onConfirm }) {
|
|
11290
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11291
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11289
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
11290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNJV3LIDEcjs.ModalTitle, { children: "Unarchive Chat" }) }),
|
|
11292
11291
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be moved back to your current chats." }),
|
|
11293
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11292
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNJV3LIDEcjs.ModalFooter, { children: [
|
|
11294
11293
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
11295
11294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onConfirm, className: saveBtn, children: "Unarchive Chat" })
|
|
11296
11295
|
] })
|
|
@@ -11875,7 +11874,7 @@ var ModelDisplay = _react2.default.forwardRef(
|
|
|
11875
11874
|
}, ref) => {
|
|
11876
11875
|
const icon = getProviderIcon(provider);
|
|
11877
11876
|
const name = displayName || modelName;
|
|
11878
|
-
const isV2 = useChatAppearance() ===
|
|
11877
|
+
const isV2 = useChatAppearance() === _chunkNJV3LIDEcjs.CHAT_APPEARANCE.V2;
|
|
11879
11878
|
const formatCount = (count) => isV2 ? count.toLocaleString("en-US") : formatTokenCount(count);
|
|
11880
11879
|
const inline = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1 text-ods-text-secondary", "text-h6", className), ...props, children: [
|
|
11881
11880
|
icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center", children: icon }),
|
|
@@ -12003,7 +12002,7 @@ function ChatComposer({
|
|
|
12003
12002
|
}, [entityTypes]);
|
|
12004
12003
|
const resolveContextIcon = _react.useCallback.call(void 0, (item) => iconByType.get(item.type), [iconByType]);
|
|
12005
12004
|
const inputNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12006
|
-
|
|
12005
|
+
_chunkNJV3LIDEcjs.ChatInput,
|
|
12007
12006
|
{
|
|
12008
12007
|
ref: inputRef,
|
|
12009
12008
|
onSend,
|
|
@@ -12614,10 +12613,10 @@ function resolveExternalNavigation(args) {
|
|
|
12614
12613
|
|
|
12615
12614
|
// src/components/chat/utils/execute-navigation.ts
|
|
12616
12615
|
function isForeignOriginHref(href) {
|
|
12617
|
-
return /^https?:\/\//i.test(href) && !
|
|
12616
|
+
return /^https?:\/\//i.test(href) && !_chunkHEQ4GPYEcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
12618
12617
|
}
|
|
12619
12618
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
12620
|
-
const isNewTab = runtime ?
|
|
12619
|
+
const isNewTab = runtime ? _chunkHEQ4GPYEcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
12621
12620
|
if (isNewTab) {
|
|
12622
12621
|
if (_optionalChain([runtime, 'optionalAccess', _301 => _301.navigation, 'access', _302 => _302.openExternal])) runtime.navigation.openExternal(href);
|
|
12623
12622
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -12675,7 +12674,7 @@ function useNavLinkViaRuntime({
|
|
|
12675
12674
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
12676
12675
|
const panel = useChatPanel();
|
|
12677
12676
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
12678
|
-
const isNewTab =
|
|
12677
|
+
const isNewTab = _chunkHEQ4GPYEcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
12679
12678
|
const onClick = (e) => {
|
|
12680
12679
|
_optionalChain([onClickProp, 'optionalCall', _306 => _306(e)]);
|
|
12681
12680
|
if (e.defaultPrevented) return;
|
|
@@ -12689,7 +12688,7 @@ function useNavLinkViaRuntime({
|
|
|
12689
12688
|
});
|
|
12690
12689
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _307 => _307.closeChat])) panel.closeChat();
|
|
12691
12690
|
};
|
|
12692
|
-
const attrs =
|
|
12691
|
+
const attrs = _chunkHEQ4GPYEcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
12693
12692
|
return {
|
|
12694
12693
|
href: resolvedHref,
|
|
12695
12694
|
...attrs,
|
|
@@ -12893,7 +12892,7 @@ function UserDisplay({
|
|
|
12893
12892
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12894
12893
|
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
12895
12894
|
{
|
|
12896
|
-
src: avatarUrl ?
|
|
12895
|
+
src: avatarUrl ? _chunkHEQ4GPYEcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12897
12896
|
fallback: name,
|
|
12898
12897
|
alt: name,
|
|
12899
12898
|
sizePx: size,
|
|
@@ -13339,7 +13338,7 @@ function CardsStrip(props) {
|
|
|
13339
13338
|
},
|
|
13340
13339
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-6", className),
|
|
13341
13340
|
children: [
|
|
13342
|
-
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
13341
|
+
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkHEQ4GPYEcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkHEQ4GPYEcjs.accentSentenceMarks.call(void 0, title) }),
|
|
13343
13342
|
headerSlot,
|
|
13344
13343
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", style: bled ? { marginLeft: -insets.left, marginRight: -insets.right } : void 0, children: [
|
|
13345
13344
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13490,7 +13489,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13490
13489
|
|
|
13491
13490
|
function VideoBitesStrip({
|
|
13492
13491
|
bites,
|
|
13493
|
-
title =
|
|
13492
|
+
title = _chunkHEQ4GPYEcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13494
13493
|
showTitle = true,
|
|
13495
13494
|
filterPublished = true,
|
|
13496
13495
|
profile = null,
|
|
@@ -13503,14 +13502,14 @@ function VideoBitesStrip({
|
|
|
13503
13502
|
cardHeightMobile = 300,
|
|
13504
13503
|
showChevrons = true,
|
|
13505
13504
|
onBiteNavigate,
|
|
13506
|
-
sortComparator =
|
|
13505
|
+
sortComparator = _chunkHEQ4GPYEcjs.sortBitesByCreatedAtDesc,
|
|
13507
13506
|
className
|
|
13508
13507
|
}) {
|
|
13509
13508
|
const items = _react.useMemo.call(void 0, () => {
|
|
13510
13509
|
const filtered = filterPublished ? bites.filter((b) => b.published) : [...bites];
|
|
13511
13510
|
return filtered.sort(sortComparator);
|
|
13512
13511
|
}, [bites, filterPublished, sortComparator]);
|
|
13513
|
-
const warmup =
|
|
13512
|
+
const warmup = _chunkHEQ4GPYEcjs.useVideoWarmup.call(void 0, { videoUrl: _optionalChain([items, 'access', _330 => _330[0], 'optionalAccess', _331 => _331.url]) || null });
|
|
13514
13513
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13515
13514
|
CardsStrip,
|
|
13516
13515
|
{
|
|
@@ -13657,7 +13656,7 @@ function VideoBiteCard({
|
|
|
13657
13656
|
style: { aspectRatio: cssAspect, ...height !== void 0 ? { height, maxWidth: STRIP_CELL_MAX_WIDTH } : {} },
|
|
13658
13657
|
children: [
|
|
13659
13658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13660
|
-
|
|
13659
|
+
_chunkHEQ4GPYEcjs.VideoHoverPreviewSurface,
|
|
13661
13660
|
{
|
|
13662
13661
|
url: bite.url,
|
|
13663
13662
|
posterUrl: bite.thumbnail_url,
|
|
@@ -13728,7 +13727,7 @@ function EntityVideoSection({
|
|
|
13728
13727
|
title = "Video",
|
|
13729
13728
|
videoSummary,
|
|
13730
13729
|
videoBites,
|
|
13731
|
-
bitesTitle =
|
|
13730
|
+
bitesTitle = _chunkHEQ4GPYEcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13732
13731
|
filterPublishedBites = true,
|
|
13733
13732
|
bitesProfile = null,
|
|
13734
13733
|
bitesHref,
|
|
@@ -13775,7 +13774,7 @@ function EntityVideoSection({
|
|
|
13775
13774
|
)
|
|
13776
13775
|
] }),
|
|
13777
13776
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13778
|
-
|
|
13777
|
+
_chunkHEQ4GPYEcjs.Video,
|
|
13779
13778
|
{
|
|
13780
13779
|
kind: fullVideoKind,
|
|
13781
13780
|
url: fullVideoUrl,
|
|
@@ -13788,7 +13787,7 @@ function EntityVideoSection({
|
|
|
13788
13787
|
}
|
|
13789
13788
|
) }),
|
|
13790
13789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13791
|
-
|
|
13790
|
+
_chunkHEQ4GPYEcjs.Video,
|
|
13792
13791
|
{
|
|
13793
13792
|
url: highlightVideoUrl,
|
|
13794
13793
|
poster: highlightVideoThumbnail,
|
|
@@ -13797,7 +13796,7 @@ function EntityVideoSection({
|
|
|
13797
13796
|
}
|
|
13798
13797
|
) })
|
|
13799
13798
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13800
|
-
|
|
13799
|
+
_chunkHEQ4GPYEcjs.Video,
|
|
13801
13800
|
{
|
|
13802
13801
|
kind: fullVideoKind,
|
|
13803
13802
|
url: fullVideoUrl,
|
|
@@ -13809,7 +13808,7 @@ function EntityVideoSection({
|
|
|
13809
13808
|
priority
|
|
13810
13809
|
}
|
|
13811
13810
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13812
|
-
|
|
13811
|
+
_chunkHEQ4GPYEcjs.Video,
|
|
13813
13812
|
{
|
|
13814
13813
|
url: highlightVideoUrl,
|
|
13815
13814
|
poster: highlightVideoThumbnail,
|
|
@@ -13819,7 +13818,7 @@ function EntityVideoSection({
|
|
|
13819
13818
|
}
|
|
13820
13819
|
) : null),
|
|
13821
13820
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
13822
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
13821
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkHEQ4GPYEcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
13823
13822
|
/* @__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 }) })
|
|
13824
13823
|
] }),
|
|
13825
13824
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14079,14 +14078,14 @@ function designDocPeople(doc) {
|
|
|
14079
14078
|
return people;
|
|
14080
14079
|
}
|
|
14081
14080
|
function designDocMetaLine(doc) {
|
|
14082
|
-
return [_optionalChain([doc, 'access', _342 => _342.author, 'optionalAccess', _343 => _343.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
14081
|
+
return [_optionalChain([doc, 'access', _342 => _342.author, 'optionalAccess', _343 => _343.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkHEQ4GPYEcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
14083
14082
|
}
|
|
14084
14083
|
function DesignDocCardSkeleton() {
|
|
14085
14084
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14086
14085
|
"div",
|
|
14087
14086
|
{
|
|
14088
14087
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
14089
|
-
|
|
14088
|
+
_chunkHEQ4GPYEcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
14090
14089
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]"
|
|
14091
14090
|
),
|
|
14092
14091
|
role: "status",
|
|
@@ -14116,7 +14115,7 @@ function DesignDocCardSkeleton() {
|
|
|
14116
14115
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
14117
14116
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
14118
14117
|
const people = designDocPeople(doc);
|
|
14119
|
-
const link =
|
|
14118
|
+
const link = _chunkHEQ4GPYEcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
14120
14119
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14121
14120
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
14122
14121
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -14124,7 +14123,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14124
14123
|
/* @__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) }) })
|
|
14125
14124
|
] }),
|
|
14126
14125
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14127
|
-
|
|
14126
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
14128
14127
|
{
|
|
14129
14128
|
text: readiness.label,
|
|
14130
14129
|
colorScheme: readiness.scheme,
|
|
@@ -14134,16 +14133,16 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14134
14133
|
}
|
|
14135
14134
|
)
|
|
14136
14135
|
] }),
|
|
14137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
14138
14137
|
/* @__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 || "" }) }),
|
|
14139
14138
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
14140
14139
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
14141
14140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: formatCompletionLabelWithBlockers(doc.completion) }),
|
|
14142
|
-
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14141
|
+
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIITB5TJRcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
|
|
14143
14142
|
] })
|
|
14144
14143
|
] });
|
|
14145
14144
|
const outer = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
14146
|
-
|
|
14145
|
+
_chunkHEQ4GPYEcjs.CONTENT_CARD_FRAME_CLASS,
|
|
14147
14146
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]",
|
|
14148
14147
|
className
|
|
14149
14148
|
);
|
|
@@ -14287,26 +14286,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14287
14286
|
metaParts.push(
|
|
14288
14287
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14289
14288
|
);
|
|
14290
|
-
const href =
|
|
14289
|
+
const href = _chunkHEQ4GPYEcjs.safeHref.call(void 0, item.url);
|
|
14291
14290
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14292
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14293
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14294
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14292
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14293
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14295
14294
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14296
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14297
14296
|
] }),
|
|
14298
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14299
14298
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14300
14299
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14301
14300
|
] }, i)) }) }),
|
|
14302
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14301
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SUMMARY, children: _chunkHEQ4GPYEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14303
14302
|
] }),
|
|
14304
14303
|
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
|
|
14305
14304
|
] });
|
|
14306
14305
|
if (anchorProps) {
|
|
14307
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14306
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14308
14307
|
}
|
|
14309
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14308
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14310
14309
|
}
|
|
14311
14310
|
function GitHubActivityCardSkeleton({
|
|
14312
14311
|
variant = "compact",
|
|
@@ -14323,12 +14322,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14323
14322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14324
14323
|
] });
|
|
14325
14324
|
}
|
|
14326
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14327
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14328
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14329
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14330
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14331
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14325
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14326
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14327
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SUMMARY, children: _chunkHEQ4GPYEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14332
14331
|
] }),
|
|
14333
14332
|
/* @__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" }) })
|
|
14334
14333
|
] });
|
|
@@ -14378,23 +14377,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14378
14377
|
metaParts.push(
|
|
14379
14378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14380
14379
|
);
|
|
14381
|
-
const href =
|
|
14380
|
+
const href = _chunkHEQ4GPYEcjs.safeHref.call(void 0, item.url);
|
|
14382
14381
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14383
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14384
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14385
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14387
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14382
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14383
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14384
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14385
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkHEQ4GPYEcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14386
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14388
14387
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14389
14388
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14390
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14389
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SUMMARY, children: _chunkHEQ4GPYEcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14391
14390
|
] }),
|
|
14392
14391
|
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
|
|
14393
14392
|
] });
|
|
14394
14393
|
if (anchorProps) {
|
|
14395
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14394
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14396
14395
|
}
|
|
14397
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14396
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14398
14397
|
}
|
|
14399
14398
|
function SlackMessageCardSkeleton({
|
|
14400
14399
|
variant = "compact",
|
|
@@ -14409,12 +14408,12 @@ function SlackMessageCardSkeleton({
|
|
|
14409
14408
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14410
14409
|
] });
|
|
14411
14410
|
}
|
|
14412
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14414
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14415
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14416
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14417
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14411
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14413
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14415
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14416
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14418
14417
|
] }),
|
|
14419
14418
|
/* @__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" }) })
|
|
14420
14419
|
] });
|
|
@@ -14450,7 +14449,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14450
14449
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14451
14450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14452
14451
|
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,
|
|
14453
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14452
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14454
14453
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14455
14454
|
] });
|
|
14456
14455
|
}
|
|
@@ -14464,13 +14463,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14464
14463
|
metaParts.push(
|
|
14465
14464
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14466
14465
|
);
|
|
14467
|
-
const href =
|
|
14466
|
+
const href = _chunkHEQ4GPYEcjs.safeHref.call(void 0, item.url);
|
|
14468
14467
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14469
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14468
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14470
14469
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14470
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14472
14471
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14473
|
-
|
|
14472
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
14474
14473
|
{
|
|
14475
14474
|
text: priorityText,
|
|
14476
14475
|
variant: "button",
|
|
@@ -14479,7 +14478,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14479
14478
|
}
|
|
14480
14479
|
) : null,
|
|
14481
14480
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14482
|
-
|
|
14481
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
14483
14482
|
{
|
|
14484
14483
|
text: statusText,
|
|
14485
14484
|
variant: "button",
|
|
@@ -14493,7 +14492,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14493
14492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14494
14493
|
] }) : null,
|
|
14495
14494
|
/* @__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." }) }) }),
|
|
14496
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14495
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14497
14496
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14498
14497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14499
14498
|
] }, i)) }) }) : null
|
|
@@ -14501,9 +14500,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14501
14500
|
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
|
|
14502
14501
|
] });
|
|
14503
14502
|
if (anchorProps) {
|
|
14504
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14503
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14505
14504
|
}
|
|
14506
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14505
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14507
14506
|
}
|
|
14508
14507
|
function HubspotTicketCardSkeleton({
|
|
14509
14508
|
variant = "compact",
|
|
@@ -14517,8 +14516,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14517
14516
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14518
14517
|
] });
|
|
14519
14518
|
}
|
|
14520
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14521
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14519
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14520
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14522
14521
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14523
14522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14524
14523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14531,7 +14530,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14531
14530
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14532
14531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14533
14532
|
] }),
|
|
14534
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14535
14534
|
] }),
|
|
14536
14535
|
/* @__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" }) })
|
|
14537
14536
|
] });
|
|
@@ -14542,10 +14541,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14542
14541
|
|
|
14543
14542
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14544
14543
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14545
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14544
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14546
14545
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14547
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14548
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14546
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14547
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14549
14548
|
] }),
|
|
14550
14549
|
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: [
|
|
14551
14550
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14556,13 +14555,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14556
14555
|
_optionalChain([anchorProps, 'optionalAccess', _344 => _344.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14557
14556
|
] });
|
|
14558
14557
|
if (!anchorProps) {
|
|
14559
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14558
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14560
14559
|
}
|
|
14561
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14560
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14562
14561
|
}
|
|
14563
14562
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14564
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14565
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14563
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14564
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14566
14565
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14567
14566
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14568
14567
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14583,29 +14582,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14583
14582
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14584
14583
|
const goalsCount = _optionalChain([campaign, 'access', _345 => _345.goals, 'optionalAccess', _346 => _346.length]) || 0;
|
|
14585
14584
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14587
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14588
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14589
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14590
|
-
campaign.start_date ?
|
|
14585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14586
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14587
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14588
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14589
|
+
campaign.start_date ? _chunkHEQ4GPYEcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14591
14590
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14592
14591
|
"Marketing campaign"
|
|
14593
14592
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkHEQ4GPYEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14595
14594
|
] })
|
|
14596
14595
|
] });
|
|
14597
14596
|
if (anchorProps) {
|
|
14598
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14597
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14599
14598
|
}
|
|
14600
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14599
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14601
14600
|
}
|
|
14602
14601
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14603
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14604
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14605
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14606
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14607
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14608
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14602
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14603
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14604
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14606
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14607
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14609
14608
|
] })
|
|
14610
14609
|
] });
|
|
14611
14610
|
}
|
|
@@ -14614,14 +14613,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14614
14613
|
|
|
14615
14614
|
|
|
14616
14615
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14617
|
-
const href =
|
|
14616
|
+
const href = _chunkHEQ4GPYEcjs.safeHref.call(void 0, item.url);
|
|
14618
14617
|
const dateText = _chunkTKFTWM3Vcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14619
14618
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14620
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14619
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14621
14620
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14623
14622
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14624
|
-
|
|
14623
|
+
_chunkHEQ4GPYEcjs.StatusBadge,
|
|
14625
14624
|
{
|
|
14626
14625
|
text: item.badge.text,
|
|
14627
14626
|
variant: "button",
|
|
@@ -14639,18 +14638,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14639
14638
|
] }),
|
|
14640
14639
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14641
14640
|
] }, i)) }) : null,
|
|
14642
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14641
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14643
14642
|
] }),
|
|
14644
14643
|
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
|
|
14645
14644
|
] });
|
|
14646
14645
|
if (anchorProps) {
|
|
14647
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14646
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14648
14647
|
}
|
|
14649
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14648
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14650
14649
|
}
|
|
14651
14650
|
function GenericEntityCardSkeleton({ className }) {
|
|
14652
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14653
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14651
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14652
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14654
14653
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14655
14654
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14656
14655
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14752,7 +14751,7 @@ function VendorIcon({
|
|
|
14752
14751
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14753
14752
|
_chunkMGHIV4L6cjs.next_image_default,
|
|
14754
14753
|
{
|
|
14755
|
-
src:
|
|
14754
|
+
src: _chunkHEQ4GPYEcjs.getProxiedImageUrl2.call(void 0, logoUrl) || logoUrl,
|
|
14756
14755
|
alt: `${vendor.title} logo`,
|
|
14757
14756
|
width,
|
|
14758
14757
|
height,
|
|
@@ -14782,8 +14781,8 @@ function useChatCardItem(type, id) {
|
|
|
14782
14781
|
const res = await _chunkULWVKHSIcjs.embedAuthedFetch.call(void 0, url);
|
|
14783
14782
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14784
14783
|
const data = await res.json();
|
|
14785
|
-
const items =
|
|
14786
|
-
const match = items.find((it) =>
|
|
14784
|
+
const items = _chunkHEQ4GPYEcjs.extractCardItems.call(void 0, type, data);
|
|
14785
|
+
const match = items.find((it) => _chunkHEQ4GPYEcjs.extractItemId.call(void 0, type, it) === id);
|
|
14787
14786
|
return _nullishCoalesce(match, () => ( null));
|
|
14788
14787
|
},
|
|
14789
14788
|
enabled: !!url && id.length > 0,
|
|
@@ -14974,7 +14973,7 @@ function resolveFetchedCardHref({
|
|
|
14974
14973
|
composeContentUrl
|
|
14975
14974
|
}) {
|
|
14976
14975
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14977
|
-
const canonicalType =
|
|
14976
|
+
const canonicalType = _chunkHEQ4GPYEcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14978
14977
|
return composeContentUrl({
|
|
14979
14978
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14980
14979
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -15004,7 +15003,7 @@ function sourceRowCtxFromRuntime(runtime, surface = {}) {
|
|
|
15004
15003
|
}
|
|
15005
15004
|
function pickSourceIcon(sourceRepo, documentType) {
|
|
15006
15005
|
const iconName = sourceRepo ? getSourceIconName(sourceRepo) : void 0;
|
|
15007
|
-
const icon = iconName ?
|
|
15006
|
+
const icon = iconName ? _chunkIITB5TJRcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }) : _lucidereact.FileText;
|
|
15008
15007
|
const iconLabel = _nullishCoalesce(documentType, () => ( "Source"));
|
|
15009
15008
|
return { icon, iconLabel };
|
|
15010
15009
|
}
|
|
@@ -15024,16 +15023,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
15024
15023
|
if (docTarget) {
|
|
15025
15024
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
15026
15025
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
15027
|
-
href = _nullishCoalesce(
|
|
15026
|
+
href = _nullishCoalesce(_chunkHEQ4GPYEcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
15028
15027
|
targetPlatform = docTarget.platform;
|
|
15029
15028
|
} else if (ctx.chipBasePlatform) {
|
|
15030
15029
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
15031
|
-
href = _nullishCoalesce(
|
|
15030
|
+
href = _nullishCoalesce(_chunkHEQ4GPYEcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
15032
15031
|
targetPlatform = ctx.chipBasePlatform;
|
|
15033
15032
|
} else if (ctx.baseRoute) {
|
|
15034
15033
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
15035
15034
|
const absolute = new URL(safePath, synthetic).toString();
|
|
15036
|
-
href = _nullishCoalesce(
|
|
15035
|
+
href = _nullishCoalesce(_chunkHEQ4GPYEcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
15037
15036
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
15038
15037
|
}
|
|
15039
15038
|
}
|
|
@@ -15042,15 +15041,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
15042
15041
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
15043
15042
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
15044
15043
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
15045
|
-
type:
|
|
15044
|
+
type: _chunkHEQ4GPYEcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
15046
15045
|
identifier: idValue,
|
|
15047
15046
|
externalUrl: row.externalUrl,
|
|
15048
15047
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
15049
15048
|
});
|
|
15050
|
-
href = composed.href ? _nullishCoalesce(
|
|
15049
|
+
href = composed.href ? _nullishCoalesce(_chunkHEQ4GPYEcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
15051
15050
|
targetPlatform = composed.targetPlatform;
|
|
15052
15051
|
} else if (row.externalUrl) {
|
|
15053
|
-
href = _nullishCoalesce(
|
|
15052
|
+
href = _nullishCoalesce(_chunkHEQ4GPYEcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
15054
15053
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
15055
15054
|
}
|
|
15056
15055
|
const documentType = row.documentType;
|
|
@@ -15117,7 +15116,7 @@ function resolveCardDestination({
|
|
|
15117
15116
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _360 => _360.fallbackHref, 'optionalCall', _361 => _361(item)]), () => ( null)),
|
|
15118
15117
|
allowComposed: !entry.noComposedHref
|
|
15119
15118
|
});
|
|
15120
|
-
const url = choice ? _nullishCoalesce(
|
|
15119
|
+
const url = choice ? _nullishCoalesce(_chunkHEQ4GPYEcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
15121
15120
|
if (choice && url) {
|
|
15122
15121
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
15123
15122
|
}
|
|
@@ -15130,11 +15129,11 @@ function resolveCardDestination({
|
|
|
15130
15129
|
|
|
15131
15130
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
15132
15131
|
const label = entityLabel || "Item";
|
|
15133
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
15134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15135
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
15136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15132
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15133
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
15134
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15135
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkHEQ4GPYEcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
15136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkHEQ4GPYEcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
15138
15137
|
label,
|
|
15139
15138
|
" deleted",
|
|
15140
15139
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -15189,7 +15188,7 @@ function GitHubChatCard({
|
|
|
15189
15188
|
description,
|
|
15190
15189
|
icon: githubKindIcon(kind),
|
|
15191
15190
|
status,
|
|
15192
|
-
anchorProps:
|
|
15191
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15193
15192
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15194
15193
|
menuAriaLabel: "Activity actions"
|
|
15195
15194
|
}
|
|
@@ -15336,7 +15335,7 @@ function HubspotTicketChatCard({
|
|
|
15336
15335
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15337
15336
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TagIcon, { size: 24 }),
|
|
15338
15337
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15339
|
-
anchorProps:
|
|
15338
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15340
15339
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15341
15340
|
label: "Open Ticket Details",
|
|
15342
15341
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TagIcon, { size: 20 })
|
|
@@ -15359,7 +15358,7 @@ function FaqChatCard({
|
|
|
15359
15358
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15360
15359
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.QuestionCircleIcon, { size: 24 }),
|
|
15361
15360
|
status: { label: statusLabel, variant: "grey" },
|
|
15362
|
-
anchorProps:
|
|
15361
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15363
15362
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15364
15363
|
menuAriaLabel: "FAQ actions"
|
|
15365
15364
|
}
|
|
@@ -15379,7 +15378,7 @@ function SlackChatCard({
|
|
|
15379
15378
|
title,
|
|
15380
15379
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15381
15380
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15382
|
-
anchorProps:
|
|
15381
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15383
15382
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15384
15383
|
menuAriaLabel: "Message actions"
|
|
15385
15384
|
}
|
|
@@ -15397,7 +15396,7 @@ function GlyphChatCard({
|
|
|
15397
15396
|
title: chatRef.title,
|
|
15398
15397
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15399
15398
|
icon,
|
|
15400
|
-
anchorProps:
|
|
15399
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15401
15400
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15402
15401
|
menuAriaLabel: "Card actions"
|
|
15403
15402
|
}
|
|
@@ -15415,20 +15414,20 @@ function TrustCenterChatCard({
|
|
|
15415
15414
|
}) {
|
|
15416
15415
|
const raw = _optionalChain([item, 'optionalAccess', _385 => _385.frameworks]);
|
|
15417
15416
|
const frameworks = Array.isArray(raw) ? raw : [];
|
|
15418
|
-
const summary =
|
|
15417
|
+
const summary = _chunkHEQ4GPYEcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
15419
15418
|
const leadFramework = frameworks[0];
|
|
15420
15419
|
const lead = leadFramework ? {
|
|
15421
|
-
label:
|
|
15422
|
-
color:
|
|
15420
|
+
label: _chunkHEQ4GPYEcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
15421
|
+
color: _chunkHEQ4GPYEcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
15423
15422
|
} : void 0;
|
|
15424
15423
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15425
15424
|
MingoInfoCard,
|
|
15426
15425
|
{
|
|
15427
|
-
title:
|
|
15428
|
-
description: summary ||
|
|
15426
|
+
title: _chunkHEQ4GPYEcjs.TRUST_CENTER_TITLE,
|
|
15427
|
+
description: summary || _chunkHEQ4GPYEcjs.TRUST_CENTER_TAGLINE,
|
|
15429
15428
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ShieldCheckIcon, { size: 24 }),
|
|
15430
15429
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
15431
|
-
anchorProps:
|
|
15430
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15432
15431
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15433
15432
|
label: "View trust center",
|
|
15434
15433
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -15450,7 +15449,7 @@ function DataRoomDocChatCard({
|
|
|
15450
15449
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15451
15450
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileContentIcon, { size: 24 }),
|
|
15452
15451
|
status: { label: badgeText, variant: "grey" },
|
|
15453
|
-
anchorProps:
|
|
15452
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15454
15453
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15455
15454
|
menuAriaLabel: "Document actions"
|
|
15456
15455
|
}
|
|
@@ -15469,7 +15468,7 @@ function GenericFinancialChatCard({
|
|
|
15469
15468
|
title: chatRef.title,
|
|
15470
15469
|
description: subtitle,
|
|
15471
15470
|
icon,
|
|
15472
|
-
anchorProps:
|
|
15471
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15473
15472
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15474
15473
|
menuAriaLabel: "Document actions"
|
|
15475
15474
|
}
|
|
@@ -15555,7 +15554,7 @@ function CampaignChatCard({
|
|
|
15555
15554
|
}) {
|
|
15556
15555
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _391 => _391.goals])) ? item.goals.length : 0;
|
|
15557
15556
|
const meta = [
|
|
15558
|
-
_optionalChain([item, 'optionalAccess', _392 => _392.start_date]) ?
|
|
15557
|
+
_optionalChain([item, 'optionalAccess', _392 => _392.start_date]) ? _chunkHEQ4GPYEcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15559
15558
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15560
15559
|
"Marketing campaign"
|
|
15561
15560
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15594,7 +15593,7 @@ function EntityMingoCard({
|
|
|
15594
15593
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15595
15594
|
icon: fallbackIcon,
|
|
15596
15595
|
status,
|
|
15597
|
-
anchorProps:
|
|
15596
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15598
15597
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15599
15598
|
menuAriaLabel
|
|
15600
15599
|
}
|
|
@@ -15606,7 +15605,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15606
15605
|
function statusPill(status) {
|
|
15607
15606
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15608
15607
|
if (!s) return void 0;
|
|
15609
|
-
const scheme =
|
|
15608
|
+
const scheme = _chunkHEQ4GPYEcjs.getStatusColorScheme.call(void 0, s);
|
|
15610
15609
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15611
15610
|
return { label: s, variant };
|
|
15612
15611
|
}
|
|
@@ -15697,7 +15696,7 @@ function DesignDocChatCard({
|
|
|
15697
15696
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
15698
15697
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileContentIcon, { size: 24 }),
|
|
15699
15698
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
15700
|
-
anchorProps:
|
|
15699
|
+
anchorProps: _chunkHEQ4GPYEcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
15701
15700
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
15702
15701
|
menuAriaLabel: "Design doc actions"
|
|
15703
15702
|
}
|
|
@@ -15715,7 +15714,7 @@ function InvestorUpdateChatCard({
|
|
|
15715
15714
|
EntityMingoCard,
|
|
15716
15715
|
{
|
|
15717
15716
|
title,
|
|
15718
|
-
description: _optionalChain([item, 'optionalAccess', _422 => _422.strategic_update]) || _optionalChain([item, 'optionalAccess', _423 => _423.content]) ||
|
|
15717
|
+
description: _optionalChain([item, 'optionalAccess', _422 => _422.strategic_update]) || _optionalChain([item, 'optionalAccess', _423 => _423.content]) || _chunkHEQ4GPYEcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _424 => _424.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _425 => _425.period_end]), () => ( null))) || void 0,
|
|
15719
15718
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _426 => _426.featured_image]), ogPlaceholder),
|
|
15720
15719
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.PresentationLineIcon, { size: 24 }),
|
|
15721
15720
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15759,7 +15758,7 @@ function ProgramChatCard({
|
|
|
15759
15758
|
discuss
|
|
15760
15759
|
}) {
|
|
15761
15760
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.MicrophoneIcon, { size: 24 });
|
|
15762
|
-
const { line: meta } =
|
|
15761
|
+
const { line: meta } = _chunkHEQ4GPYEcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkHEQ4GPYEcjs.programMetaFormatters.call(void 0, _chunkHEQ4GPYEcjs.PROGRAM_META_RENDERERS));
|
|
15763
15762
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15764
15763
|
EntityMingoCard,
|
|
15765
15764
|
{
|
|
@@ -15785,7 +15784,7 @@ function RoadmapChatCard({
|
|
|
15785
15784
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _436 => _436.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15786
15785
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _437 => _437.customItemId]) != null;
|
|
15787
15786
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.MapIcon, { size: 24 });
|
|
15788
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15787
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _438 => _438.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15789
15788
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15790
15789
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15791
15790
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGHIV4L6cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15851,11 +15850,11 @@ function refText(ref, key) {
|
|
|
15851
15850
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
15852
15851
|
}
|
|
15853
15852
|
function VendorGlyph({ title, logoUrl }) {
|
|
15854
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15853
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
15855
15854
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
15856
15855
|
}
|
|
15857
15856
|
function SitePageGlyph({ iconName }) {
|
|
15858
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15857
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
15859
15858
|
}
|
|
15860
15859
|
var GITHUB_CARD_CONFIGS = {
|
|
15861
15860
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -15865,7 +15864,7 @@ var GITHUB_CARD_CONFIGS = {
|
|
|
15865
15864
|
github_pr_review: { label: "GitHub review", kind: "pr_review" },
|
|
15866
15865
|
github_pr_review_public: { label: "GitHub review (public)", kind: "pr_review" }
|
|
15867
15866
|
};
|
|
15868
|
-
var OpenFrameGlyph =
|
|
15867
|
+
var OpenFrameGlyph = _chunkIITB5TJRcjs.resolveIcon.call(void 0, "openframe");
|
|
15869
15868
|
var REF_GLYPH_CARD_CONFIGS = {
|
|
15870
15869
|
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OpenFrameGlyph, { size: 24 }) },
|
|
15871
15870
|
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CallIcon, { size: 24 }), media: true },
|
|
@@ -15976,7 +15975,7 @@ function programRegistryEntries() {
|
|
|
15976
15975
|
label: cfg.label,
|
|
15977
15976
|
contentRefType: cfg.contentRefType,
|
|
15978
15977
|
bareInline: true,
|
|
15979
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15978
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15980
15979
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15981
15980
|
ProgramChatCard,
|
|
15982
15981
|
{
|
|
@@ -16017,7 +16016,7 @@ function roadmapRegistryEntries() {
|
|
|
16017
16016
|
bareInline: true,
|
|
16018
16017
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
16019
16018
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
16020
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16019
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
16021
16020
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16022
16021
|
RoadmapChatCard,
|
|
16023
16022
|
{
|
|
@@ -16075,12 +16074,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16075
16074
|
// projection route; `extractCardItems` turns its object payload into the
|
|
16076
16075
|
// single matched row. Destination is the public page unless the host
|
|
16077
16076
|
// re-homes the type (`composeContentUrl` override).
|
|
16078
|
-
[
|
|
16077
|
+
[_chunkHEQ4GPYEcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
16079
16078
|
label: "Trust center",
|
|
16080
16079
|
bareInline: true,
|
|
16081
|
-
contentRefType:
|
|
16080
|
+
contentRefType: _chunkHEQ4GPYEcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
16082
16081
|
noComposedHref: true,
|
|
16083
|
-
fallbackHref: () =>
|
|
16082
|
+
fallbackHref: () => _chunkHEQ4GPYEcjs.TRUST_CENTER_PAGE_PATH,
|
|
16084
16083
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
16085
16084
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
16086
16085
|
},
|
|
@@ -16106,7 +16105,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16106
16105
|
label: "Blog post",
|
|
16107
16106
|
contentRefType: "blog_post_existing",
|
|
16108
16107
|
bareInline: true,
|
|
16109
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16108
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.BlogCardSkeleton, { size: "sm" }),
|
|
16110
16109
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16111
16110
|
BlogChatCard,
|
|
16112
16111
|
{
|
|
@@ -16123,7 +16122,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16123
16122
|
label: "Case study",
|
|
16124
16123
|
contentRefType: "case_study",
|
|
16125
16124
|
bareInline: true,
|
|
16126
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16125
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
16127
16126
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16128
16127
|
CaseStudyChatCard,
|
|
16129
16128
|
{
|
|
@@ -16148,7 +16147,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16148
16147
|
label: "Customer interview",
|
|
16149
16148
|
contentRefType: "customer_interview",
|
|
16150
16149
|
bareInline: true,
|
|
16151
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16150
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
16152
16151
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16153
16152
|
CustomerInterviewChatCard,
|
|
16154
16153
|
{
|
|
@@ -16164,9 +16163,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16164
16163
|
label: "Product release",
|
|
16165
16164
|
contentRefType: "product_release",
|
|
16166
16165
|
bareInline: true,
|
|
16167
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16166
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
16168
16167
|
render: (item, chatRef, opts) => {
|
|
16169
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _479 => _479.extras, 'optionalAccess', _480 => _480.buildProductReleaseCardProps]), () => (
|
|
16168
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _479 => _479.extras, 'optionalAccess', _480 => _480.buildProductReleaseCardProps]), () => ( _chunkHEQ4GPYEcjs.defaultBuildProductReleaseCardProps));
|
|
16170
16169
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16171
16170
|
ProductReleaseChatCard,
|
|
16172
16171
|
{
|
|
@@ -16184,7 +16183,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16184
16183
|
label: "Investor update",
|
|
16185
16184
|
contentRefType: "investor_update",
|
|
16186
16185
|
bareInline: true,
|
|
16187
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16186
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
16188
16187
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16189
16188
|
InvestorUpdateChatCard,
|
|
16190
16189
|
{
|
|
@@ -16202,7 +16201,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16202
16201
|
bareInline: true,
|
|
16203
16202
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
16204
16203
|
displayAction: true,
|
|
16205
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16204
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
16206
16205
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16207
16206
|
OnboardingGuideChatCard,
|
|
16208
16207
|
{
|
|
@@ -16286,7 +16285,7 @@ function ChatCardLoader({
|
|
|
16286
16285
|
};
|
|
16287
16286
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
16288
16287
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
16289
|
-
const isNewTab =
|
|
16288
|
+
const isNewTab = _chunkHEQ4GPYEcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
16290
16289
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
16291
16290
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16292
16291
|
const discuss = discussFn ? {
|
|
@@ -16422,12 +16421,12 @@ function makeBatchDedupKey(item) {
|
|
|
16422
16421
|
return `${item.messageType}:${seq}:${type}:${text2}:${integratedToolType}:${toolFunction}:${approvalRequestId}`;
|
|
16423
16422
|
}
|
|
16424
16423
|
function getChatTypeMessageType(chatType) {
|
|
16425
|
-
return chatType ===
|
|
16424
|
+
return chatType === _chunkNJV3LIDEcjs.CHAT_TYPE.ADMIN ? "admin-message" : "message";
|
|
16426
16425
|
}
|
|
16427
16426
|
function useChunkCatchup({
|
|
16428
16427
|
dialogId,
|
|
16429
16428
|
onChunkReceived,
|
|
16430
|
-
chatTypes = [
|
|
16429
|
+
chatTypes = [_chunkNJV3LIDEcjs.CHAT_TYPE.CLIENT],
|
|
16431
16430
|
fetchChunks
|
|
16432
16431
|
}) {
|
|
16433
16432
|
const processedSequenceKeys = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
@@ -17725,7 +17724,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17725
17724
|
return () => root.removeEventListener("click", onClick);
|
|
17726
17725
|
}, [viewUrlPrefix]);
|
|
17727
17726
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17728
|
-
|
|
17727
|
+
_chunkHEQ4GPYEcjs.ImageGalleryModal,
|
|
17729
17728
|
{
|
|
17730
17729
|
images: state.images,
|
|
17731
17730
|
isOpen: state.isOpen,
|
|
@@ -18465,7 +18464,7 @@ function nullableText(value) {
|
|
|
18465
18464
|
}
|
|
18466
18465
|
function httpsUrl(value) {
|
|
18467
18466
|
const candidate = text(value);
|
|
18468
|
-
if (!candidate ||
|
|
18467
|
+
if (!candidate || _chunkHEQ4GPYEcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
18469
18468
|
try {
|
|
18470
18469
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
18471
18470
|
} catch (e43) {
|
|
@@ -22101,12 +22100,12 @@ function extractIncompleteTailState(messages) {
|
|
|
22101
22100
|
|
|
22102
22101
|
// src/components/chat/utils/process-historical-messages.ts
|
|
22103
22102
|
function getOwnerDisplayName(owner) {
|
|
22104
|
-
if (_optionalChain([owner, 'optionalAccess', _715 => _715.type]) ===
|
|
22103
|
+
if (_optionalChain([owner, 'optionalAccess', _715 => _715.type]) === _chunkNJV3LIDEcjs.OWNER_TYPE.ADMIN && owner.user) {
|
|
22105
22104
|
const { firstName, lastName } = owner.user;
|
|
22106
22105
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
22107
22106
|
if (name) return name;
|
|
22108
22107
|
}
|
|
22109
|
-
return _optionalChain([owner, 'optionalAccess', _716 => _716.type]) ===
|
|
22108
|
+
return _optionalChain([owner, 'optionalAccess', _716 => _716.type]) === _chunkNJV3LIDEcjs.OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
22110
22109
|
}
|
|
22111
22110
|
function getOwnerAvatar(owner) {
|
|
22112
22111
|
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _717 => _717.user, 'optionalAccess', _718 => _718.image, 'optionalAccess', _719 => _719.imageUrl]), () => ( void 0));
|
|
@@ -22538,10 +22537,10 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
22538
22537
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
22539
22538
|
return;
|
|
22540
22539
|
}
|
|
22541
|
-
const isUserMessage = _optionalChain([msg, 'access', _732 => _732.owner, 'optionalAccess', _733 => _733.type]) ===
|
|
22540
|
+
const isUserMessage = _optionalChain([msg, 'access', _732 => _732.owner, 'optionalAccess', _733 => _733.type]) === _chunkNJV3LIDEcjs.OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _734 => _734.owner, 'optionalAccess', _735 => _735.type]) === _chunkNJV3LIDEcjs.OWNER_TYPE.ADMIN;
|
|
22542
22541
|
if (isUserMessage) {
|
|
22543
22542
|
flushAssistantMessage();
|
|
22544
|
-
const userAuthorType = _optionalChain([msg, 'access', _736 => _736.owner, 'optionalAccess', _737 => _737.type]) ===
|
|
22543
|
+
const userAuthorType = _optionalChain([msg, 'access', _736 => _736.owner, 'optionalAccess', _737 => _737.type]) === _chunkNJV3LIDEcjs.OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
22545
22544
|
messageDataArray.forEach((data) => {
|
|
22546
22545
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
22547
22546
|
const rawContext = data.contextItems;
|
|
@@ -22592,7 +22591,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
22592
22591
|
});
|
|
22593
22592
|
const nextMsg = messages[index + 1];
|
|
22594
22593
|
const isLastMessage = index === messages.length - 1;
|
|
22595
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _740 => _740.owner, 'optionalAccess', _741 => _741.type]) ===
|
|
22594
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _740 => _740.owner, 'optionalAccess', _741 => _741.type]) === _chunkNJV3LIDEcjs.OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _742 => _742.owner, 'optionalAccess', _743 => _743.type]) === _chunkNJV3LIDEcjs.OWNER_TYPE.ADMIN);
|
|
22596
22595
|
if (isLastMessage || nextIsFromUser) {
|
|
22597
22596
|
flushAssistantMessage();
|
|
22598
22597
|
}
|
|
@@ -24582,7 +24581,7 @@ function SourceChip({
|
|
|
24582
24581
|
const Icon = cta.icon;
|
|
24583
24582
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24584
24583
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24585
|
-
const decideTab = (href, targetPlatform) =>
|
|
24584
|
+
const decideTab = (href, targetPlatform) => _chunkHEQ4GPYEcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24586
24585
|
if (src.items && src.items.length > 0) {
|
|
24587
24586
|
const dropdownItems = src.items.map((item) => {
|
|
24588
24587
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24675,7 +24674,7 @@ function SourceChip({
|
|
|
24675
24674
|
"a",
|
|
24676
24675
|
{
|
|
24677
24676
|
href: resolvedHref,
|
|
24678
|
-
...
|
|
24677
|
+
..._chunkHEQ4GPYEcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24679
24678
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24680
24679
|
className: chipClass,
|
|
24681
24680
|
children: chipBody(src.name)
|
|
@@ -24691,7 +24690,7 @@ function SourceChip({
|
|
|
24691
24690
|
"a",
|
|
24692
24691
|
{
|
|
24693
24692
|
href: resolvedHref,
|
|
24694
|
-
...
|
|
24693
|
+
..._chunkHEQ4GPYEcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24695
24694
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24696
24695
|
className: chipClass,
|
|
24697
24696
|
title: displayName,
|
|
@@ -24803,7 +24802,7 @@ function EmbeddableChatInner({
|
|
|
24803
24802
|
defaultActiveMode,
|
|
24804
24803
|
shell = "drawer",
|
|
24805
24804
|
closable = true,
|
|
24806
|
-
appearance =
|
|
24805
|
+
appearance = _chunkNJV3LIDEcjs.CHAT_APPEARANCE.CLASSIC,
|
|
24807
24806
|
onCollapse,
|
|
24808
24807
|
collapseTo = "list",
|
|
24809
24808
|
onExpand,
|
|
@@ -24821,7 +24820,7 @@ function EmbeddableChatInner({
|
|
|
24821
24820
|
handleRef
|
|
24822
24821
|
}) {
|
|
24823
24822
|
const shellLess = shell !== "drawer";
|
|
24824
|
-
const isV2 = appearance ===
|
|
24823
|
+
const isV2 = appearance === _chunkNJV3LIDEcjs.CHAT_APPEARANCE.V2;
|
|
24825
24824
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
24826
24825
|
const source = _nullishCoalesce(runtime.source, () => ( ""));
|
|
24827
24826
|
const commandsUrl = runtime.endpoints.commandsUrl;
|
|
@@ -24883,7 +24882,7 @@ function EmbeddableChatInner({
|
|
|
24883
24882
|
resolveSourceIcon: (sourceId) => {
|
|
24884
24883
|
const iconName = getSourceIconName(sourceId);
|
|
24885
24884
|
if (!iconName) return void 0;
|
|
24886
|
-
return { Icon:
|
|
24885
|
+
return { Icon: _chunkIITB5TJRcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
|
|
24887
24886
|
},
|
|
24888
24887
|
onAction: (cmd, actionId) => {
|
|
24889
24888
|
dispatchSlashCommandAction(actionId, cmd.id, chatInputRef);
|
|
@@ -25141,7 +25140,7 @@ function EmbeddableChatInner({
|
|
|
25141
25140
|
[askAbout, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
|
|
25142
25141
|
);
|
|
25143
25142
|
const mingoAssistantIcon = _react.useMemo.call(void 0,
|
|
25144
|
-
() => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25143
|
+
() => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.MingoIcon, { className: "h-6 w-6", cornerColor: "var(--ods-flamingo-cyan-base)" }),
|
|
25145
25144
|
[effectiveAssistantIcon]
|
|
25146
25145
|
);
|
|
25147
25146
|
const [timestampCache] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
@@ -25913,7 +25912,7 @@ function EmbeddableChatInner({
|
|
|
25913
25912
|
`chip-skeleton-${i}`
|
|
25914
25913
|
)),
|
|
25915
25914
|
chipCommands.map((cmd) => {
|
|
25916
|
-
const Icon =
|
|
25915
|
+
const Icon = _chunkIITB5TJRcjs.resolveIcon.call(void 0, cmd.iconName);
|
|
25917
25916
|
const cmdId = cmd.id;
|
|
25918
25917
|
const label = _nullishCoalesce(cmd.label, () => ( `/${cmdId}`));
|
|
25919
25918
|
const cardActions = cmd.actions.map((action) => ({
|
|
@@ -25922,7 +25921,7 @@ function EmbeddableChatInner({
|
|
|
25922
25921
|
onClick: () => dispatchSlashCommandAction(action.id, cmdId, chatInputRef)
|
|
25923
25922
|
}));
|
|
25924
25923
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25925
|
-
|
|
25924
|
+
_chunkNJV3LIDEcjs.MingoOnboardingCard,
|
|
25926
25925
|
{
|
|
25927
25926
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16 }),
|
|
25928
25927
|
title: label,
|
|
@@ -26260,13 +26259,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
26260
26259
|
setStatus("Cleared. Requests use the session again.");
|
|
26261
26260
|
};
|
|
26262
26261
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
26263
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26262
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHEQ4GPYEcjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
26264
26263
|
/* @__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: [
|
|
26265
26264
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
26266
26265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
26267
26266
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
26268
26267
|
] }),
|
|
26269
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26268
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHEQ4GPYEcjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
26270
26269
|
] }),
|
|
26271
26270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26272
26271
|
Section,
|