@flamingo-stack/openframe-frontend-core 0.0.292 → 0.0.293-snapshot.20260619104458
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-6FHO73AP.js → chunk-26PKDALD.js} +7 -79
- package/dist/chunk-26PKDALD.js.map +1 -0
- package/dist/{chunk-OXOTKEYY.cjs → chunk-4W7NYJ3B.cjs} +23 -23
- package/dist/{chunk-OXOTKEYY.cjs.map → chunk-4W7NYJ3B.cjs.map} +1 -1
- package/dist/{chunk-KBKZYJRI.cjs → chunk-5E2HOSSH.cjs} +66 -19
- package/dist/chunk-5E2HOSSH.cjs.map +1 -0
- package/dist/{chunk-CUQH4SHH.js → chunk-6GCI7JOE.js} +2 -2
- package/dist/{chunk-2NJ44RTT.cjs → chunk-6LUVYHKD.cjs} +30 -30
- package/dist/{chunk-2NJ44RTT.cjs.map → chunk-6LUVYHKD.cjs.map} +1 -1
- package/dist/{chunk-E2YXRSDG.js → chunk-6SG25O2N.js} +15 -13
- package/dist/chunk-6SG25O2N.js.map +1 -0
- package/dist/{chunk-CDJOKNCS.cjs → chunk-73QT66LJ.cjs} +25 -19
- package/dist/chunk-73QT66LJ.cjs.map +1 -0
- package/dist/{chunk-N6ZM5PYZ.js → chunk-7RIYT7ZH.js} +49 -2
- package/dist/chunk-7RIYT7ZH.js.map +1 -0
- package/dist/{chunk-FFP2A77V.cjs → chunk-AFKRDSRS.cjs} +12 -12
- package/dist/{chunk-FFP2A77V.cjs.map → chunk-AFKRDSRS.cjs.map} +1 -1
- package/dist/{chunk-PZZGDS5I.cjs → chunk-B4T3RTFX.cjs} +24 -22
- package/dist/chunk-B4T3RTFX.cjs.map +1 -0
- package/dist/{chunk-5R5OODNE.cjs → chunk-CLWQ7MHW.cjs} +40 -40
- package/dist/{chunk-5R5OODNE.cjs.map → chunk-CLWQ7MHW.cjs.map} +1 -1
- package/dist/{chunk-C667P6LZ.js → chunk-DEBURY5R.js} +13 -7
- package/dist/{chunk-C667P6LZ.js.map → chunk-DEBURY5R.js.map} +1 -1
- package/dist/{chunk-HTYUZXQP.js → chunk-E24HKKIE.js} +5 -5
- package/dist/{chunk-VK4B6UGU.js → chunk-E4XABBSU.js} +16 -8
- package/dist/{chunk-VK4B6UGU.js.map → chunk-E4XABBSU.js.map} +1 -1
- package/dist/{chunk-DUIWR7RQ.js → chunk-EJXHZX2E.js} +3 -3
- package/dist/{chunk-5PELVUFT.cjs → chunk-EYEW6PTA.cjs} +44 -36
- package/dist/chunk-EYEW6PTA.cjs.map +1 -0
- package/dist/{chunk-SLP4KXP6.js → chunk-FQJK446R.js} +8 -2
- package/dist/chunk-FQJK446R.js.map +1 -0
- package/dist/{chunk-JC5RN7ZS.cjs → chunk-FT4FCV7L.cjs} +6 -6
- package/dist/{chunk-JC5RN7ZS.cjs.map → chunk-FT4FCV7L.cjs.map} +1 -1
- package/dist/{chunk-ZHNL2IPK.cjs → chunk-J54Z3OCR.cjs} +8 -2
- package/dist/chunk-J54Z3OCR.cjs.map +1 -0
- package/dist/{chunk-Z6BK4XHH.cjs → chunk-KXCRGTRN.cjs} +10 -82
- package/dist/chunk-KXCRGTRN.cjs.map +1 -0
- package/dist/{chunk-5KD3S25X.cjs → chunk-LFGGF7OT.cjs} +139 -2
- package/dist/chunk-LFGGF7OT.cjs.map +1 -0
- package/dist/{chunk-N45M3TK3.js → chunk-NSPOYUBH.js} +2 -2
- package/dist/{chunk-TYZEMPPH.js → chunk-OQ6X7ZOC.js} +138 -1
- package/dist/chunk-OQ6X7ZOC.js.map +1 -0
- package/dist/{chunk-B2U6INNO.js → chunk-QFG4G62D.js} +4 -4
- package/dist/{chunk-IXDTNQF4.js → chunk-RT6DJB3C.js} +4 -4
- package/dist/{chunk-MDLWEJAV.cjs → chunk-V6YZGLHZ.cjs} +454 -459
- package/dist/chunk-V6YZGLHZ.cjs.map +1 -0
- package/dist/{chunk-2BMVBPC7.cjs → chunk-YIGPRLQY.cjs} +9 -9
- package/dist/{chunk-2BMVBPC7.cjs.map → chunk-YIGPRLQY.cjs.map} +1 -1
- package/dist/{chunk-5FK7X3EE.js → chunk-ZYZWD7LS.js} +9 -14
- package/dist/chunk-ZYZWD7LS.js.map +1 -0
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +7 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +0 -5
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-realtime-chunk-processor.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +7 -7
- package/dist/components/chat/index.js +6 -6
- package/dist/components/chat/types/api.types.d.ts +0 -6
- package/dist/components/chat/types/api.types.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 +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/docs/use-document-tree.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/embeds/index.js +7 -7
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- 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/index.cjs +214 -193
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +50 -29
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +24 -24
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +8 -8
- package/dist/components/related-content/index.js +7 -7
- package/dist/components/shared/delivery/delivery-lists.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-row.d.ts +8 -1
- package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-view.d.ts.map +1 -1
- package/dist/components/tickets/help-center-card.d.ts +7 -1
- package/dist/components/tickets/help-center-card.d.ts.map +1 -1
- package/dist/components/tickets/help-center-list.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +82 -73
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +24 -15
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-row.d.ts +6 -1
- package/dist/components/tickets/ticket-row.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/index.js +6 -6
- package/dist/hooks/index.cjs +5 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/use-scroll-to-hash.d.ts +17 -0
- package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -0
- package/dist/index.cjs +19 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -7
- package/dist/utils/dev-sections/dev-section-param-keys.d.ts +10 -0
- package/dist/utils/dev-sections/dev-section-param-keys.d.ts.map +1 -1
- package/dist/utils/index.cjs +71 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +67 -2
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/same-page-hash-nav.d.ts +37 -0
- package/dist/utils/same-page-hash-nav.d.ts.map +1 -0
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/roadmap-card.tsx +8 -1
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +0 -8
- package/src/components/chat/hooks/use-realtime-chunk-processor.ts +1 -12
- package/src/components/chat/types/api.types.ts +0 -6
- package/src/components/docs/use-document-tree.ts +45 -3
- package/src/components/faq/faq-section.tsx +22 -9
- package/src/components/shared/delivery/delivery-lists.tsx +9 -0
- package/src/components/shared/delivery/delivery-row.tsx +15 -2
- package/src/components/shared/delivery/delivery-table.tsx +7 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +7 -0
- package/src/components/shared/roadmap/roadmap-view.tsx +11 -0
- package/src/components/tickets/help-center-card.tsx +9 -17
- package/src/components/tickets/help-center-list.tsx +13 -0
- package/src/components/tickets/ticket-center.tsx +2 -0
- package/src/components/tickets/ticket-row.tsx +7 -1
- package/src/hooks/index.ts +5 -0
- package/src/hooks/use-scroll-to-hash.ts +74 -0
- package/src/utils/.source-icons.md +1 -1
- package/src/utils/dev-sections/dev-section-param-keys.ts +14 -0
- package/src/utils/index.ts +17 -1
- package/src/utils/same-page-hash-nav.ts +115 -0
- package/src/utils/source-icons.ts +7 -1
- package/dist/chunk-5FK7X3EE.js.map +0 -1
- package/dist/chunk-5KD3S25X.cjs.map +0 -1
- package/dist/chunk-5PELVUFT.cjs.map +0 -1
- package/dist/chunk-6FHO73AP.js.map +0 -1
- package/dist/chunk-CDJOKNCS.cjs.map +0 -1
- package/dist/chunk-E2YXRSDG.js.map +0 -1
- package/dist/chunk-KBKZYJRI.cjs.map +0 -1
- package/dist/chunk-MDLWEJAV.cjs.map +0 -1
- package/dist/chunk-N6ZM5PYZ.js.map +0 -1
- package/dist/chunk-PZZGDS5I.cjs.map +0 -1
- package/dist/chunk-SLP4KXP6.js.map +0 -1
- package/dist/chunk-TYZEMPPH.js.map +0 -1
- package/dist/chunk-Z6BK4XHH.cjs.map +0 -1
- package/dist/chunk-ZHNL2IPK.cjs.map +0 -1
- /package/dist/{chunk-CUQH4SHH.js.map → chunk-6GCI7JOE.js.map} +0 -0
- /package/dist/{chunk-HTYUZXQP.js.map → chunk-E24HKKIE.js.map} +0 -0
- /package/dist/{chunk-DUIWR7RQ.js.map → chunk-EJXHZX2E.js.map} +0 -0
- /package/dist/{chunk-N45M3TK3.js.map → chunk-NSPOYUBH.js.map} +0 -0
- /package/dist/{chunk-B2U6INNO.js.map → chunk-QFG4G62D.js.map} +0 -0
- /package/dist/{chunk-IXDTNQF4.js.map → chunk-RT6DJB3C.js.map} +0 -0
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
var
|
|
47
|
+
var _chunkKXCRGTRNcjs = require('./chunk-KXCRGTRN.cjs');
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
@@ -60,10 +60,10 @@ var _chunkZ6BK4XHHcjs = require('./chunk-Z6BK4XHH.cjs');
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
var
|
|
63
|
+
var _chunk5E2HOSSHcjs = require('./chunk-5E2HOSSH.cjs');
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _chunkLFGGF7OTcjs = require('./chunk-LFGGF7OT.cjs');
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
@@ -93,7 +93,7 @@ var _chunkPXXS27EEcjs = require('./chunk-PXXS27EE.cjs');
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
var
|
|
96
|
+
var _chunk4W7NYJ3Bcjs = require('./chunk-4W7NYJ3B.cjs');
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
|
|
@@ -133,7 +133,7 @@ var _chunkOXOTKEYYcjs = require('./chunk-OXOTKEYY.cjs');
|
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
var
|
|
136
|
+
var _chunkJ54Z3OCRcjs = require('./chunk-J54Z3OCR.cjs');
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
|
|
@@ -576,7 +576,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
576
576
|
}
|
|
577
577
|
)
|
|
578
578
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
579
|
-
|
|
579
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
580
580
|
{
|
|
581
581
|
label: status === "approved" ? "Approved" : "Rejected",
|
|
582
582
|
variant: status === "approved" ? "success" : "error",
|
|
@@ -790,12 +790,12 @@ function ResultBlock({ result, className }) {
|
|
|
790
790
|
var COMMAND_BODY_KEYS = new Set(COMMAND_BODY_ARG_KEYS);
|
|
791
791
|
function renderStatusTag(status) {
|
|
792
792
|
if (status === "approved") {
|
|
793
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
793
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { label: "Approved", variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.CheckCircleIcon, { className: "w-4 h-4" }) });
|
|
794
794
|
}
|
|
795
795
|
if (status === "cancelled") {
|
|
796
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
796
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { label: "Cancelled", variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.BannedIcon, { className: "w-4 h-4" }) });
|
|
797
797
|
}
|
|
798
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
798
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { label: "Rejected", variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.XmarkCircleIcon, { className: "w-4 h-4" }) });
|
|
799
799
|
}
|
|
800
800
|
function getArgEntries(call) {
|
|
801
801
|
const args = call.toolCallArguments;
|
|
@@ -826,7 +826,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
826
826
|
onClick: onToggle,
|
|
827
827
|
className: "flex gap-2 items-start w-full p-3 cursor-pointer text-left",
|
|
828
828
|
children: [
|
|
829
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
829
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5E2HOSSHcjs.ToolIcon, { toolType, size: 16 }) }),
|
|
830
830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
831
831
|
"div",
|
|
832
832
|
{
|
|
@@ -1064,7 +1064,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
1064
1064
|
{
|
|
1065
1065
|
ref: innerRef,
|
|
1066
1066
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-sm leading-snug text-ods-text-secondary", thoughtMdClasses),
|
|
1067
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1067
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.SimpleMarkdownRenderer, { content: text, textSize: "compact" })
|
|
1068
1068
|
}
|
|
1069
1069
|
) }),
|
|
1070
1070
|
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[19px] flex items-center shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExpandChevron, { expanded }) })
|
|
@@ -1287,13 +1287,13 @@ function TicketStatusTag({
|
|
|
1287
1287
|
const config = getTicketStatusConfig(status);
|
|
1288
1288
|
const customStyle = color ? {
|
|
1289
1289
|
"--tag-bg": color,
|
|
1290
|
-
"--tag-bg-hover":
|
|
1291
|
-
"--tag-bg-active":
|
|
1292
|
-
color:
|
|
1290
|
+
"--tag-bg-hover": _chunkKXCRGTRNcjs.deriveHoverColor.call(void 0, color),
|
|
1291
|
+
"--tag-bg-active": _chunkKXCRGTRNcjs.deriveActiveColor.call(void 0, color),
|
|
1292
|
+
color: _chunkKXCRGTRNcjs.getReadableTextColor.call(void 0, color)
|
|
1293
1293
|
} : void 0;
|
|
1294
1294
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
1295
1295
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1296
|
-
|
|
1296
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
1297
1297
|
{
|
|
1298
1298
|
label: _nullishCoalesce(label, () => ( config.label)),
|
|
1299
1299
|
variant: _nullishCoalesce(variant, () => ( config.variant)),
|
|
@@ -1306,7 +1306,7 @@ function TicketStatusTag({
|
|
|
1306
1306
|
return tag;
|
|
1307
1307
|
}
|
|
1308
1308
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1309
|
-
|
|
1309
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
1310
1310
|
{
|
|
1311
1311
|
align: "start",
|
|
1312
1312
|
groups: [
|
|
@@ -1330,7 +1330,7 @@ function TicketStatusTag({
|
|
|
1330
1330
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
1331
1331
|
// Reuse the tag's variant styling, but split into a label section and a
|
|
1332
1332
|
// separated chevron section (the common dropdown-button seam).
|
|
1333
|
-
|
|
1333
|
+
_chunkJ54Z3OCRcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(variant, () => ( config.variant)) }),
|
|
1334
1334
|
"w-fit shrink-0 items-stretch justify-start gap-0 overflow-hidden p-0",
|
|
1335
1335
|
"disabled:opacity-60 disabled:cursor-not-allowed",
|
|
1336
1336
|
// Custom color: bg/hover/active from the CSS vars set above.
|
|
@@ -1440,7 +1440,7 @@ var ChatHeader = React.forwardRef(
|
|
|
1440
1440
|
] })
|
|
1441
1441
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
1442
1442
|
userIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center w-16 h-16 rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1443
|
-
|
|
1443
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
1444
1444
|
{
|
|
1445
1445
|
src: userAvatar,
|
|
1446
1446
|
alt: userName,
|
|
@@ -2602,7 +2602,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
2602
2602
|
className: "flex gap-[var(--spacing-system-xs)] items-start p-[var(--spacing-system-s)] cursor-pointer text-left w-full",
|
|
2603
2603
|
onClick: () => setExpanded((prev) => !prev),
|
|
2604
2604
|
children: [
|
|
2605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2605
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5E2HOSSHcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
|
|
2606
2606
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2607
2607
|
"div",
|
|
2608
2608
|
{
|
|
@@ -3281,7 +3281,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
3281
3281
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
3282
3282
|
// no filled pill — the icon carries its own brand accent.
|
|
3283
3283
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center flex-shrink-0", children: assistantIcon })
|
|
3284
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3284
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.SquareAvatar, { ...avatarProps })),
|
|
3285
3285
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
3286
3286
|
"text-h3 !font-mono !font-medium flex-1",
|
|
3287
3287
|
authorType === "system" ? "text-ods-open-yellow" : authorType === "admin" ? "text-ods-open-yellow" : authorType === "mingo" ? "text-ods-flamingo-cyan" : authorType === "fae" ? "text-ods-flamingo-pink" : "text-ods-text-secondary"
|
|
@@ -3300,7 +3300,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
3300
3300
|
);
|
|
3301
3301
|
if (!parts || parts.length === 0) {
|
|
3302
3302
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3303
|
-
|
|
3303
|
+
_chunk4W7NYJ3Bcjs.SimpleMarkdownRenderer,
|
|
3304
3304
|
{
|
|
3305
3305
|
content: segment.text,
|
|
3306
3306
|
textSize: "compact",
|
|
@@ -3312,7 +3312,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
3312
3312
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, children: parts.map((part, pIdx) => {
|
|
3313
3313
|
if (part.kind === "text") {
|
|
3314
3314
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3315
|
-
|
|
3315
|
+
_chunk4W7NYJ3Bcjs.SimpleMarkdownRenderer,
|
|
3316
3316
|
{
|
|
3317
3317
|
content: part.text,
|
|
3318
3318
|
textSize: "compact",
|
|
@@ -3707,7 +3707,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
3707
3707
|
_react.useLayoutEffect.call(void 0, () => {
|
|
3708
3708
|
if (!autoScroll) return;
|
|
3709
3709
|
const last = messages[messages.length - 1];
|
|
3710
|
-
if (!last || last.role !== "assistant" || last.scrollAnchor !==
|
|
3710
|
+
if (!last || last.role !== "assistant" || last.scrollAnchor !== _chunkKXCRGTRNcjs.SCROLL_ANCHOR.TOP) return;
|
|
3711
3711
|
if (!hasNonEmptyContent(last.content)) return;
|
|
3712
3712
|
const seen = scrolledIdsRef.current;
|
|
3713
3713
|
if (seen.has(last.id)) return;
|
|
@@ -3891,7 +3891,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
3891
3891
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
3892
3892
|
function useProxiedImageUrl(url) {
|
|
3893
3893
|
const r = _chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, );
|
|
3894
|
-
return _nullishCoalesce(
|
|
3894
|
+
return _nullishCoalesce(_chunkJ54Z3OCRcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
3895
3895
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
3896
3896
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
3897
3897
|
directHttps: true
|
|
@@ -3924,7 +3924,7 @@ function ChatMessageRow({
|
|
|
3924
3924
|
height: 40,
|
|
3925
3925
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
3926
3926
|
}
|
|
3927
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-8 h-8 md:w-10 md:h-10 rounded-lg flex-shrink-0 flex items-center justify-center bg-ods-bg border border-ods-border text-[12px] font-medium text-ods-text-primary font-body", children:
|
|
3927
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-8 h-8 md:w-10 md:h-10 rounded-lg flex-shrink-0 flex items-center justify-center bg-ods-bg border border-ods-border text-[12px] font-medium text-ods-text-primary font-body", children: _chunkJ54Z3OCRcjs.getFirstLastInitials.call(void 0, displayName) || "?" }),
|
|
3928
3928
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 max-w-full", children: [
|
|
3929
3929
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 max-w-full mb-1 min-w-0", children: [
|
|
3930
3930
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[14px] md:text-[15px] font-bold leading-[1.33] text-ods-text-primary font-body tracking-[-0.02em] truncate", children: displayName }),
|
|
@@ -4007,7 +4007,7 @@ function ChipButton({ chip }) {
|
|
|
4007
4007
|
type: "button",
|
|
4008
4008
|
onClick: chip.onSelect,
|
|
4009
4009
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4010
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4010
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: _nullishCoalesce(chip.variant, () => ( "outline")), icon: chip.icon, label: chip.label })
|
|
4011
4011
|
}
|
|
4012
4012
|
);
|
|
4013
4013
|
}
|
|
@@ -4039,7 +4039,7 @@ function ChatQuickActionRow({
|
|
|
4039
4039
|
children: [
|
|
4040
4040
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChipButton, { chip }, chip.id)),
|
|
4041
4041
|
hiddenChips.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4042
|
-
|
|
4042
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
4043
4043
|
{
|
|
4044
4044
|
triggerAriaLabel: "More quick actions",
|
|
4045
4045
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -4060,7 +4060,7 @@ function ChatQuickActionRow({
|
|
|
4060
4060
|
type: "button",
|
|
4061
4061
|
"aria-label": "More quick actions",
|
|
4062
4062
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4063
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4063
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: "outline", label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Ellipsis01Icon, { size: 16 }) })
|
|
4064
4064
|
}
|
|
4065
4065
|
)
|
|
4066
4066
|
}
|
|
@@ -4075,7 +4075,7 @@ function ChatQuickActionRow({
|
|
|
4075
4075
|
"aria-hidden": true,
|
|
4076
4076
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-1",
|
|
4077
4077
|
children: chips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4078
|
-
|
|
4078
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
4079
4079
|
{
|
|
4080
4080
|
variant: _nullishCoalesce(chip.variant, () => ( "outline")),
|
|
4081
4081
|
icon: chip.icon,
|
|
@@ -4177,7 +4177,7 @@ var ChatTicketItem = React7.forwardRef(
|
|
|
4177
4177
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", title: subtitle, children: subtitle })
|
|
4178
4178
|
] }),
|
|
4179
4179
|
ticket.linkedTaskLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4180
|
-
|
|
4180
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
4181
4181
|
{
|
|
4182
4182
|
label: ticket.linkedTaskLabel,
|
|
4183
4183
|
variant: "outline",
|
|
@@ -4447,7 +4447,7 @@ function MingoChatHistoryRow({
|
|
|
4447
4447
|
menuOpen ? "opacity-100" : "opacity-0 group-hover/row:opacity-100 focus-within:opacity-100"
|
|
4448
4448
|
),
|
|
4449
4449
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4450
|
-
|
|
4450
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
4451
4451
|
{
|
|
4452
4452
|
triggerAriaLabel: "Chat actions",
|
|
4453
4453
|
groups: [{ items: menuItems }],
|
|
@@ -4827,7 +4827,7 @@ function MingoWelcome({
|
|
|
4827
4827
|
onClick: onStartGuideChat,
|
|
4828
4828
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4829
4829
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4830
|
-
|
|
4830
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
4831
4831
|
{
|
|
4832
4832
|
variant: hasExistingChats ? "outline" : "primary",
|
|
4833
4833
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.CompassIcon, { size: 16 }),
|
|
@@ -5360,7 +5360,7 @@ function ChatPanelHeaderMobile({
|
|
|
5360
5360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 min-w-0 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
|
|
5361
5361
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 min-w-0 flex-col gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 truncate text-h2 text-ods-text-primary", title, children: title }) }),
|
|
5362
5362
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5363
|
-
|
|
5363
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
5364
5364
|
{
|
|
5365
5365
|
groups: [{ items: menuItems }],
|
|
5366
5366
|
triggerAriaLabel: "Chat actions",
|
|
@@ -5425,7 +5425,7 @@ function ChatPanelHeader({
|
|
|
5425
5425
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-h3 text-ods-text-primary", children: title }) }),
|
|
5426
5426
|
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
5427
5427
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5428
|
-
|
|
5428
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
5429
5429
|
{
|
|
5430
5430
|
triggerAriaLabel: "Chat actions",
|
|
5431
5431
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -5534,7 +5534,7 @@ function ChatAttachmentChipStrip({
|
|
|
5534
5534
|
}
|
|
5535
5535
|
function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
|
|
5536
5536
|
const { file, status, progress, errorMessage } = attachment;
|
|
5537
|
-
const isImage =
|
|
5537
|
+
const isImage = _chunkKXCRGTRNcjs.ANTHROPIC_SUPPORTED_IMAGE_MIME.includes(file.type);
|
|
5538
5538
|
const compact = size === "compact";
|
|
5539
5539
|
const blobUrl = useObjectUrl(isImage ? file : null);
|
|
5540
5540
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -5575,8 +5575,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
|
|
|
5575
5575
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "truncate text-ods-text-primary", compact ? "text-[11px] leading-tight" : "text-xs"), title: file.name, children: file.name }),
|
|
5576
5576
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-ods-text-muted", compact ? "text-[9px] leading-tight" : "text-[10px]"), children: [
|
|
5577
5577
|
status === "sniffing" && "Checking\u2026",
|
|
5578
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
5579
|
-
status === "ready" &&
|
|
5578
|
+
status === "uploading" && `${progress}% \xB7 ${_chunkJ54Z3OCRcjs.formatFileSize.call(void 0, file.size)}`,
|
|
5579
|
+
status === "ready" && _chunkJ54Z3OCRcjs.formatFileSize.call(void 0, file.size),
|
|
5580
5580
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-attention-red-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
5581
5581
|
] })
|
|
5582
5582
|
] }),
|
|
@@ -6231,15 +6231,15 @@ _chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
|
6231
6231
|
|
|
6232
6232
|
// src/components/chat/utils/execute-navigation.ts
|
|
6233
6233
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
6234
|
-
const isNewTab = runtime ?
|
|
6234
|
+
const isNewTab = runtime ? _chunk4W7NYJ3Bcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
6235
6235
|
if (isNewTab) {
|
|
6236
6236
|
if (_optionalChain([runtime, 'optionalAccess', _76 => _76.navigation, 'access', _77 => _77.openExternal])) runtime.navigation.openExternal(href);
|
|
6237
|
-
else window.open(href, "_blank",
|
|
6237
|
+
else window.open(href, "_blank", _chunkJ54Z3OCRcjs.NEW_TAB_FEATURES);
|
|
6238
6238
|
return;
|
|
6239
6239
|
}
|
|
6240
6240
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _78 => _78.navigation, 'access', _79 => _79.navigate, 'optionalCall', _80 => _80({ href, path, targetPlatform })]), () => ( false));
|
|
6241
6241
|
if (!handled) {
|
|
6242
|
-
const target =
|
|
6242
|
+
const target = _chunkJ54Z3OCRcjs.stripSameOriginToPath.call(void 0, href);
|
|
6243
6243
|
if (fallbackNavigate) fallbackNavigate(target);
|
|
6244
6244
|
else window.location.assign(target);
|
|
6245
6245
|
}
|
|
@@ -6295,8 +6295,8 @@ function NavLinkAnchorViaRuntime({
|
|
|
6295
6295
|
const runtime = _chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, );
|
|
6296
6296
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
6297
6297
|
const panel = useChatPanel();
|
|
6298
|
-
const resolvedHref =
|
|
6299
|
-
const isNewTab =
|
|
6298
|
+
const resolvedHref = _chunkJ54Z3OCRcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
6299
|
+
const isNewTab = _chunk4W7NYJ3Bcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
6300
6300
|
const onClick = (e) => {
|
|
6301
6301
|
const handled = handleChatNavClick(e, runtime, {
|
|
6302
6302
|
href: resolvedHref,
|
|
@@ -6309,7 +6309,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
6309
6309
|
"a",
|
|
6310
6310
|
{
|
|
6311
6311
|
href: resolvedHref,
|
|
6312
|
-
...
|
|
6312
|
+
..._chunk4W7NYJ3Bcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
6313
6313
|
onClick,
|
|
6314
6314
|
className,
|
|
6315
6315
|
children
|
|
@@ -6603,7 +6603,7 @@ function AdminContentCard({
|
|
|
6603
6603
|
const [imageError, setImageError] = _react.useState.call(void 0, false);
|
|
6604
6604
|
const [imageLoaded, setImageLoaded] = _react.useState.call(void 0, false);
|
|
6605
6605
|
const displayUrl = imageUrl && !imageError ? imageUrl : placeholderUrl;
|
|
6606
|
-
const imageBgColor =
|
|
6606
|
+
const imageBgColor = _chunk5E2HOSSHcjs.useImageEdgeColor.call(void 0, displayUrl || null, "transparent");
|
|
6607
6607
|
_react.useEffect.call(void 0, () => {
|
|
6608
6608
|
setImageLoaded(false);
|
|
6609
6609
|
}, [displayUrl]);
|
|
@@ -6688,7 +6688,7 @@ var STATUS_BADGE_CLASS = {
|
|
|
6688
6688
|
archived: "bg-ods-border text-ods-text-secondary"
|
|
6689
6689
|
};
|
|
6690
6690
|
function WhatIShippedCard({ entry, placeholderUrl, actions, anchorProps, className }) {
|
|
6691
|
-
const month =
|
|
6691
|
+
const month = _chunkJ54Z3OCRcjs.formatEntryMonthUTC.call(void 0, entry.entry_month, "short");
|
|
6692
6692
|
const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6693
6693
|
AdminContentCard,
|
|
6694
6694
|
{
|
|
@@ -6746,7 +6746,7 @@ function ChatVideoEntityCard({
|
|
|
6746
6746
|
const highlightUrl = readString(m.highlightVideoUrl);
|
|
6747
6747
|
const highlightPoster = readString(m.highlightVideoPoster);
|
|
6748
6748
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6749
|
-
|
|
6749
|
+
_chunk4W7NYJ3Bcjs.EntityVideoSection,
|
|
6750
6750
|
{
|
|
6751
6751
|
mainVideoUrl: videoUrl,
|
|
6752
6752
|
youtubeUrl,
|
|
@@ -6963,7 +6963,7 @@ function ProductReleaseCard({
|
|
|
6963
6963
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "bg-ods-card p-4 flex flex-col gap-3", dividerClass),
|
|
6964
6964
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
6965
6965
|
cell.colorScheme ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6966
|
-
|
|
6966
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
6967
6967
|
{
|
|
6968
6968
|
text: cell.value,
|
|
6969
6969
|
variant: "card",
|
|
@@ -6990,7 +6990,7 @@ function ProductReleaseCard({
|
|
|
6990
6990
|
)),
|
|
6991
6991
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
|
|
6992
6992
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6993
|
-
|
|
6993
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
6994
6994
|
{
|
|
6995
6995
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
6996
6996
|
alt: effectiveAuthor.full_name,
|
|
@@ -7198,22 +7198,22 @@ function defaultBuildProductReleaseCardProps(item) {
|
|
|
7198
7198
|
// here would shift the date by one day west of UTC for date-only
|
|
7199
7199
|
// inputs — the hub's own `buildProductReleaseCardProps` already uses
|
|
7200
7200
|
// this helper, so the chat-default + hub builder agree.
|
|
7201
|
-
formattedDate: row.release_date ?
|
|
7201
|
+
formattedDate: row.release_date ? _chunkKXCRGTRNcjs.formatReleaseDate.call(void 0, row.release_date) : ""
|
|
7202
7202
|
};
|
|
7203
7203
|
}
|
|
7204
7204
|
var RELEASE_TYPE_ENUM = /* @__PURE__ */ new Set(["major", "minor", "patch", "beta", "alpha"]);
|
|
7205
7205
|
function buildProductReleaseCardProps(item) {
|
|
7206
7206
|
const release = _nullishCoalesce(item, () => ( {}));
|
|
7207
|
-
const { cover, hasVideoCover } =
|
|
7207
|
+
const { cover, hasVideoCover } = _chunkKXCRGTRNcjs.resolveReleaseCover.call(void 0, release);
|
|
7208
7208
|
const rawType = release.release_type;
|
|
7209
7209
|
const releaseType = rawType && RELEASE_TYPE_ENUM.has(rawType) ? rawType : void 0;
|
|
7210
7210
|
return {
|
|
7211
7211
|
coverImage: cover,
|
|
7212
7212
|
hasVideoCover,
|
|
7213
|
-
formattedDate: release.release_date ?
|
|
7213
|
+
formattedDate: release.release_date ? _chunkKXCRGTRNcjs.formatReleaseDate.call(void 0, release.release_date) : "",
|
|
7214
7214
|
releaseType,
|
|
7215
7215
|
releaseStatus: _nullishCoalesce(release.release_status, () => ( void 0)),
|
|
7216
|
-
releaseTypeBadgeColor:
|
|
7216
|
+
releaseTypeBadgeColor: _chunkKXCRGTRNcjs.releaseTypeToBadgeColor.call(void 0, releaseType),
|
|
7217
7217
|
viewCount: _nullishCoalesce(release.view_count, () => ( 0)),
|
|
7218
7218
|
author: release.author ? {
|
|
7219
7219
|
full_name: release.author.full_name,
|
|
@@ -7236,12 +7236,12 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
7236
7236
|
|
|
7237
7237
|
function BlogCardSkeleton({ size = "default" }) {
|
|
7238
7238
|
if (size === "sm") {
|
|
7239
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7240
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7241
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7243
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7244
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7239
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
7240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
7241
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
7243
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
7244
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
7245
7245
|
] })
|
|
7246
7246
|
] });
|
|
7247
7247
|
}
|
|
@@ -7271,13 +7271,13 @@ function BlogCard({
|
|
|
7271
7271
|
hasEmbeddedVideo = false,
|
|
7272
7272
|
priority = false
|
|
7273
7273
|
}) {
|
|
7274
|
-
const { target, rel } =
|
|
7274
|
+
const { target, rel } = _chunk4W7NYJ3Bcjs.useEntityCardLink.call(void 0, {
|
|
7275
7275
|
href,
|
|
7276
7276
|
targetPlatform,
|
|
7277
7277
|
target: targetProp,
|
|
7278
7278
|
rel: relProp
|
|
7279
7279
|
});
|
|
7280
|
-
const placeholderUrl =
|
|
7280
|
+
const placeholderUrl = _chunk4W7NYJ3Bcjs.useEntityCardPlaceholder.call(void 0, {
|
|
7281
7281
|
title: post.title,
|
|
7282
7282
|
placeholderUrl: placeholderUrlProp,
|
|
7283
7283
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -7293,10 +7293,10 @@ function BlogCard({
|
|
|
7293
7293
|
href,
|
|
7294
7294
|
target,
|
|
7295
7295
|
rel,
|
|
7296
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
7296
|
+
className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER, className),
|
|
7297
7297
|
"aria-label": `Read article: ${post.title}`,
|
|
7298
7298
|
children: [
|
|
7299
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7299
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7300
7300
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
7301
7301
|
{
|
|
7302
7302
|
src: displayImage,
|
|
@@ -7308,17 +7308,17 @@ function BlogCard({
|
|
|
7308
7308
|
onError: () => setImageError(true)
|
|
7309
7309
|
}
|
|
7310
7310
|
) : null }),
|
|
7311
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7312
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
7313
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
7314
|
-
hasEmbeddedVideo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7311
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7312
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, "gap-1.5"), children: [
|
|
7313
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE, "font-['DM_Sans']"), children: post.title }),
|
|
7314
|
+
hasEmbeddedVideo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.StatusBadge, { text: "Video", variant: "button", colorScheme: "cyan", className: "shrink-0" }) : null
|
|
7315
7315
|
] }),
|
|
7316
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7316
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
7317
7317
|
dateStr2,
|
|
7318
7318
|
dateStr2 && firstCategory ? " \xB7 " : "",
|
|
7319
7319
|
_nullishCoalesce(firstCategory, () => ( "Blog Post"))
|
|
7320
7320
|
] }) }),
|
|
7321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: post.summary || _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
7322
7322
|
] })
|
|
7323
7323
|
]
|
|
7324
7324
|
}
|
|
@@ -7440,12 +7440,12 @@ var hideOnError = (e) => {
|
|
|
7440
7440
|
};
|
|
7441
7441
|
function CaseStudyCardSkeleton({ size = "default" }) {
|
|
7442
7442
|
if (size === "sm") {
|
|
7443
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7445
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7446
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7447
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7448
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7443
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
7444
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
7445
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7446
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
7447
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
7448
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
7449
7449
|
] })
|
|
7450
7450
|
] });
|
|
7451
7451
|
}
|
|
@@ -7474,21 +7474,21 @@ function CaseStudyCard({
|
|
|
7474
7474
|
size = "default",
|
|
7475
7475
|
className
|
|
7476
7476
|
}) {
|
|
7477
|
-
const { target, rel } =
|
|
7477
|
+
const { target, rel } = _chunk4W7NYJ3Bcjs.useEntityCardLink.call(void 0, {
|
|
7478
7478
|
href,
|
|
7479
7479
|
targetPlatform,
|
|
7480
7480
|
target: targetProp,
|
|
7481
7481
|
rel: relProp
|
|
7482
7482
|
});
|
|
7483
|
-
const placeholderUrl =
|
|
7483
|
+
const placeholderUrl = _chunk4W7NYJ3Bcjs.useEntityCardPlaceholder.call(void 0, {
|
|
7484
7484
|
title: study.title,
|
|
7485
7485
|
placeholderUrl: placeholderUrlProp,
|
|
7486
7486
|
aspect: size === "sm" ? "square" : "wide"
|
|
7487
7487
|
});
|
|
7488
7488
|
const coverImage = study.featured_image || placeholderUrl || null;
|
|
7489
7489
|
if (size === "sm") {
|
|
7490
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
7491
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7490
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER, className), children: [
|
|
7491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7492
7492
|
"img",
|
|
7493
7493
|
{
|
|
7494
7494
|
src: coverImage,
|
|
@@ -7497,14 +7497,14 @@ function CaseStudyCard({
|
|
|
7497
7497
|
onError: hideOnError
|
|
7498
7498
|
}
|
|
7499
7499
|
) : null }),
|
|
7500
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7501
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7502
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7503
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7500
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7501
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE, children: study.title }) }),
|
|
7502
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUBTITLE, children: [_optionalChain([study, 'access', _108 => _108.msp, 'optionalAccess', _109 => _109.name]), _optionalChain([study, 'access', _110 => _110.user, 'optionalAccess', _111 => _111.full_name])].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
|
|
7503
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: study.summary || _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
7504
7504
|
] })
|
|
7505
7505
|
] });
|
|
7506
7506
|
}
|
|
7507
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7507
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4W7NYJ3Bcjs.Card, { className: "bg-ods-card border border-ods-border hover:border-ods-accent transition-colors p-6 flex flex-col gap-6 overflow-hidden", children: [
|
|
7508
7508
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative w-full aspect-[1200/630] rounded-sm overflow-hidden bg-ods-bg shrink-0", children: coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7509
7509
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
7510
7510
|
{
|
|
@@ -7567,12 +7567,12 @@ var hideOnError2 = (e) => {
|
|
|
7567
7567
|
};
|
|
7568
7568
|
function CustomerInterviewCardSkeleton({ size = "default" }) {
|
|
7569
7569
|
if (size === "sm") {
|
|
7570
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7571
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7572
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7573
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7574
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7575
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7570
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
7571
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
7572
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
7574
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
7575
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
7576
7576
|
] })
|
|
7577
7577
|
] });
|
|
7578
7578
|
}
|
|
@@ -7606,21 +7606,21 @@ function CustomerInterviewCard({
|
|
|
7606
7606
|
size = "default",
|
|
7607
7607
|
className
|
|
7608
7608
|
}) {
|
|
7609
|
-
const { target, rel } =
|
|
7609
|
+
const { target, rel } = _chunk4W7NYJ3Bcjs.useEntityCardLink.call(void 0, {
|
|
7610
7610
|
href,
|
|
7611
7611
|
targetPlatform,
|
|
7612
7612
|
target: targetProp,
|
|
7613
7613
|
rel: relProp
|
|
7614
7614
|
});
|
|
7615
|
-
const placeholderUrl =
|
|
7615
|
+
const placeholderUrl = _chunk4W7NYJ3Bcjs.useEntityCardPlaceholder.call(void 0, {
|
|
7616
7616
|
title: interview.title,
|
|
7617
7617
|
placeholderUrl: placeholderUrlProp,
|
|
7618
7618
|
aspect: size === "sm" ? "square" : "wide"
|
|
7619
7619
|
});
|
|
7620
7620
|
const thumbnailUrl = interview.featured_image || placeholderUrl || null;
|
|
7621
7621
|
if (size === "sm") {
|
|
7622
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
7623
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7622
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER, className), children: [
|
|
7623
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
7624
7624
|
thumbnailUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7625
7625
|
"img",
|
|
7626
7626
|
{
|
|
@@ -7632,14 +7632,14 @@ function CustomerInterviewCard({
|
|
|
7632
7632
|
) : null,
|
|
7633
7633
|
interview.main_video_url ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4 text-white" }) }) : null
|
|
7634
7634
|
] }),
|
|
7635
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7636
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7638
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7635
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7636
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE, children: interview.title }) }),
|
|
7637
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUBTITLE, children: [_optionalChain([interview, 'access', _128 => _128.user, 'optionalAccess', _129 => _129.full_name]), _optionalChain([interview, 'access', _130 => _130.msp, 'optionalAccess', _131 => _131.name])].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
|
|
7638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: interview.video_summary || _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
7639
7639
|
] })
|
|
7640
7640
|
] });
|
|
7641
7641
|
}
|
|
7642
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7642
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4W7NYJ3Bcjs.Card, { className: "bg-ods-card border border-ods-border hover:border-ods-accent transition-colors p-6 flex flex-col gap-6 overflow-hidden", children: [
|
|
7643
7643
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full aspect-[1200/630] rounded-sm overflow-hidden bg-ods-bg shrink-0 relative", children: thumbnailUrl ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
7644
7644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7645
7645
|
"img",
|
|
@@ -7706,15 +7706,15 @@ function formatInvestorUpdatePeriod(start, end, options) {
|
|
|
7706
7706
|
|
|
7707
7707
|
function InvestorUpdateCardSkeleton({ size = "default" }) {
|
|
7708
7708
|
if (size === "sm") {
|
|
7709
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7711
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7712
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
7709
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
7710
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
7711
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7712
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-2`, children: [
|
|
7713
7713
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
|
|
7714
7714
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-8 rounded bg-ods-bg/70 shrink-0" })
|
|
7715
7715
|
] }),
|
|
7716
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7717
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7716
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) }),
|
|
7717
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
7718
7718
|
] })
|
|
7719
7719
|
] });
|
|
7720
7720
|
}
|
|
@@ -7738,13 +7738,13 @@ function InvestorUpdateCard({
|
|
|
7738
7738
|
size = "default",
|
|
7739
7739
|
className
|
|
7740
7740
|
}) {
|
|
7741
|
-
const { target, rel } =
|
|
7741
|
+
const { target, rel } = _chunk4W7NYJ3Bcjs.useEntityCardLink.call(void 0, {
|
|
7742
7742
|
href,
|
|
7743
7743
|
targetPlatform,
|
|
7744
7744
|
target: targetProp,
|
|
7745
7745
|
rel: relProp
|
|
7746
7746
|
});
|
|
7747
|
-
const placeholderUrl =
|
|
7747
|
+
const placeholderUrl = _chunk4W7NYJ3Bcjs.useEntityCardPlaceholder.call(void 0, {
|
|
7748
7748
|
title: _nullishCoalesce(update.title, () => ( `Update #${_nullishCoalesce(update.update_number, () => ( ""))}`)),
|
|
7749
7749
|
placeholderUrl: placeholderUrlProp,
|
|
7750
7750
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -7752,8 +7752,8 @@ function InvestorUpdateCard({
|
|
|
7752
7752
|
const coverImage = update.featured_image || placeholderUrl || null;
|
|
7753
7753
|
if (size === "sm") {
|
|
7754
7754
|
const periodText = formatInvestorUpdatePeriod(update.period_start, update.period_end);
|
|
7755
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: `${
|
|
7756
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7755
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
7756
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7757
7757
|
"img",
|
|
7758
7758
|
{
|
|
7759
7759
|
src: coverImage,
|
|
@@ -7765,16 +7765,16 @@ function InvestorUpdateCard({
|
|
|
7765
7765
|
}
|
|
7766
7766
|
}
|
|
7767
7767
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Calendar, { className: "h-4 w-4" }) }) }),
|
|
7768
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7769
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
7770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
7768
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7769
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW} gap-2`, children: [
|
|
7770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE} min-w-0`, children: update.title || `Update #${_nullishCoalesce(update.update_number, () => ( "?"))}` }),
|
|
7771
7771
|
update.update_number ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "shrink-0 rounded bg-ods-accent/10 px-1.5 py-0.5 text-[10px] font-medium text-ods-accent", children: [
|
|
7772
7772
|
"#",
|
|
7773
7773
|
update.update_number
|
|
7774
7774
|
] }) : null
|
|
7775
7775
|
] }),
|
|
7776
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7777
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUBTITLE, children: periodText || "Investor update" }) }),
|
|
7777
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: (update.strategic_update || update.content || "").slice(0, 120) || _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
7778
7778
|
] })
|
|
7779
7779
|
] });
|
|
7780
7780
|
}
|
|
@@ -8265,7 +8265,7 @@ function AutocompleteInner(props, ref) {
|
|
|
8265
8265
|
className: "flex-1 flex items-center gap-2 min-w-0 overflow-hidden px-2",
|
|
8266
8266
|
children: [
|
|
8267
8267
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8268
|
-
|
|
8268
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
8269
8269
|
{
|
|
8270
8270
|
variant: "outline",
|
|
8271
8271
|
labelClassName: "truncate max-w-[90px]",
|
|
@@ -8433,7 +8433,7 @@ function AutocompleteInner(props, ref) {
|
|
|
8433
8433
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6JINAOI7cjs.FieldWrapper, { label, error, className, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", ref: containerRef, children: [
|
|
8434
8434
|
popover,
|
|
8435
8435
|
multiple && showHiddenTags && hiddenTagsCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8436
|
-
|
|
8436
|
+
_chunkJ54Z3OCRcjs.HiddenTagsPopup,
|
|
8437
8437
|
{
|
|
8438
8438
|
ref: hiddenTagsPopupRef,
|
|
8439
8439
|
items: hiddenTags,
|
|
@@ -8463,7 +8463,7 @@ function AutocompleteInner(props, ref) {
|
|
|
8463
8463
|
"aria-hidden": "true",
|
|
8464
8464
|
className: "absolute left-0 top-0 flex gap-2 pointer-events-none invisible -z-10",
|
|
8465
8465
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8466
|
-
|
|
8466
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
8467
8467
|
{
|
|
8468
8468
|
variant: "outline",
|
|
8469
8469
|
labelClassName: "truncate max-w-[90px]",
|
|
@@ -9481,7 +9481,7 @@ var ProgressBar = ({
|
|
|
9481
9481
|
mobileHeight = 8,
|
|
9482
9482
|
inverted = false
|
|
9483
9483
|
}) => {
|
|
9484
|
-
const isMdUp = _nullishCoalesce(
|
|
9484
|
+
const isMdUp = _nullishCoalesce(_chunk5E2HOSSHcjs.useMdUp.call(void 0, ), () => ( true));
|
|
9485
9485
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
9486
9486
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
9487
9487
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -9600,7 +9600,7 @@ function InfoCardFooter({ footer }) {
|
|
|
9600
9600
|
] });
|
|
9601
9601
|
}
|
|
9602
9602
|
function InfoCardValueRow({ label, value, showLabel, copyable, copyAriaLabel }) {
|
|
9603
|
-
const { copy, copied } =
|
|
9603
|
+
const { copy, copied } = _chunk5E2HOSSHcjs.useCopyToClipboard.call(void 0, );
|
|
9604
9604
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 items-center gap-[var(--spacing-system-xs)] self-stretch w-full", children: [
|
|
9605
9605
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary whitespace-nowrap", children: showLabel ? label : "" }),
|
|
9606
9606
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 h-px bg-ods-divider" }),
|
|
@@ -10364,7 +10364,7 @@ function TagsManager({
|
|
|
10364
10364
|
}
|
|
10365
10365
|
),
|
|
10366
10366
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10367
|
-
|
|
10367
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
10368
10368
|
{
|
|
10369
10369
|
label: tag.name,
|
|
10370
10370
|
variant: "outline",
|
|
@@ -11270,7 +11270,7 @@ var DrawerContent = React45.forwardRef(
|
|
|
11270
11270
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
11271
11271
|
const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
|
|
11272
11272
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
11273
|
-
const headerHeight =
|
|
11273
|
+
const headerHeight = _chunk5E2HOSSHcjs.useHeaderHeight.call(void 0, );
|
|
11274
11274
|
const [isMobile, setIsMobile] = React45.useState(false);
|
|
11275
11275
|
React45.useEffect(() => {
|
|
11276
11276
|
if (typeof window === "undefined") return;
|
|
@@ -12686,7 +12686,7 @@ function renderAdvancedPageContainer({
|
|
|
12686
12686
|
};
|
|
12687
12687
|
const renderActions = () => {
|
|
12688
12688
|
if (!actions || actions.length === 0) return null;
|
|
12689
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12689
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
12690
12690
|
};
|
|
12691
12691
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
12692
12692
|
const paddingClasses = {
|
|
@@ -12711,7 +12711,7 @@ function renderAdvancedPageContainer({
|
|
|
12711
12711
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between gap-4", children: [
|
|
12712
12712
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
|
|
12713
12713
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12714
|
-
|
|
12714
|
+
_chunk4W7NYJ3Bcjs.BackButton,
|
|
12715
12715
|
{
|
|
12716
12716
|
onClick: backButton.onClick,
|
|
12717
12717
|
label: backButton.label,
|
|
@@ -12731,7 +12731,7 @@ function renderAdvancedPageContainer({
|
|
|
12731
12731
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-center lg:justify-between gap-4", children: [
|
|
12732
12732
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
|
|
12733
12733
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12734
|
-
|
|
12734
|
+
_chunk4W7NYJ3Bcjs.BackButton,
|
|
12735
12735
|
{
|
|
12736
12736
|
onClick: backButton.onClick,
|
|
12737
12737
|
label: backButton.label,
|
|
@@ -12751,7 +12751,7 @@ function renderAdvancedPageContainer({
|
|
|
12751
12751
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between gap-4", children: [
|
|
12752
12752
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
|
|
12753
12753
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12754
|
-
|
|
12754
|
+
_chunk4W7NYJ3Bcjs.BackButton,
|
|
12755
12755
|
{
|
|
12756
12756
|
onClick: backButton.onClick,
|
|
12757
12757
|
label: backButton.label,
|
|
@@ -12854,7 +12854,7 @@ function ListPageLayout({
|
|
|
12854
12854
|
}, [debouncedSearchValue, onSearch, searchValue]);
|
|
12855
12855
|
const hasMobileFilter = mobileFilterGroups && mobileFilterGroups.length > 0 || mobileSortConfig && mobileSortConfig.columns.length > 0;
|
|
12856
12856
|
if (error) {
|
|
12857
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12857
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.PageError, { message: error });
|
|
12858
12858
|
}
|
|
12859
12859
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12860
12860
|
ListPageContainer,
|
|
@@ -13498,7 +13498,7 @@ function DashboardInfoCard({
|
|
|
13498
13498
|
_nullishCoalesce(titleSlot, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 text-ods-text-secondary", children: title }))),
|
|
13499
13499
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
13500
13500
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-h2 text-ods-text-primary", valueClassName), children: formattedValue }),
|
|
13501
|
-
percentage !== void 0 && (progressVariant === "warning" || progressVariant === "error" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13501
|
+
percentage !== void 0 && (progressVariant === "warning" || progressVariant === "error" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: progressVariant, label: `${percentage}%` }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: [
|
|
13502
13502
|
"(",
|
|
13503
13503
|
percentage,
|
|
13504
13504
|
"%)"
|
|
@@ -13562,10 +13562,10 @@ var OSTypeBadge = ({
|
|
|
13562
13562
|
if (!osType) {
|
|
13563
13563
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
13564
13564
|
}
|
|
13565
|
-
const normalized =
|
|
13565
|
+
const normalized = _chunkKXCRGTRNcjs.normalizeOSType.call(void 0, osType);
|
|
13566
13566
|
if (!normalized && !labelOnly) return null;
|
|
13567
|
-
const label =
|
|
13568
|
-
const IconComponent =
|
|
13567
|
+
const label = _chunkKXCRGTRNcjs.getOSLabel.call(void 0, osType);
|
|
13568
|
+
const IconComponent = _chunkKXCRGTRNcjs.getOSIcon.call(void 0, osType);
|
|
13569
13569
|
if (iconOnly && IconComponent) {
|
|
13570
13570
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunkFIG2RKZFcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
13571
13571
|
}
|
|
@@ -13689,7 +13689,7 @@ function DeviceCard({
|
|
|
13689
13689
|
] }),
|
|
13690
13690
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 items-center w-full", children: [
|
|
13691
13691
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13692
|
-
|
|
13692
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
13693
13693
|
{
|
|
13694
13694
|
variant: statusTag.variant,
|
|
13695
13695
|
icon: statusTag.icon,
|
|
@@ -13703,7 +13703,7 @@ function DeviceCard({
|
|
|
13703
13703
|
formatLastSeen(device.lastSeen)
|
|
13704
13704
|
] })
|
|
13705
13705
|
] }),
|
|
13706
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center w-full flex-wrap", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13706
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center w-full flex-wrap", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
13707
13707
|
]
|
|
13708
13708
|
}
|
|
13709
13709
|
);
|
|
@@ -13780,7 +13780,7 @@ function FeatureCardGrid({
|
|
|
13780
13780
|
if (allCardsHaveNoBorders) {
|
|
13781
13781
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
13782
13782
|
}
|
|
13783
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13783
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
13784
13784
|
const startIndex = rowIndex * itemsPerRow;
|
|
13785
13785
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
13786
13786
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -13810,7 +13810,7 @@ function FeatureCardGrid({
|
|
|
13810
13810
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
13811
13811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
13812
13812
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13813
|
-
|
|
13813
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
13814
13814
|
{
|
|
13815
13815
|
text: item.badge.text,
|
|
13816
13816
|
variant: item.badge.variant || "card",
|
|
@@ -13819,7 +13819,7 @@ function FeatureCardGrid({
|
|
|
13819
13819
|
)
|
|
13820
13820
|
] }),
|
|
13821
13821
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13822
|
-
|
|
13822
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
13823
13823
|
{
|
|
13824
13824
|
text: item.badge.text,
|
|
13825
13825
|
variant: item.badge.variant || "card",
|
|
@@ -14089,7 +14089,7 @@ function DropdownButton({
|
|
|
14089
14089
|
[disabled]
|
|
14090
14090
|
);
|
|
14091
14091
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14092
|
-
|
|
14092
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
14093
14093
|
{
|
|
14094
14094
|
groups: [{ items }],
|
|
14095
14095
|
open,
|
|
@@ -14280,7 +14280,7 @@ function OrganizationCard({
|
|
|
14280
14280
|
),
|
|
14281
14281
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-3 w-full", children: [
|
|
14282
14282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14283
|
-
|
|
14283
|
+
_chunk4W7NYJ3Bcjs.EntityImage,
|
|
14284
14284
|
{
|
|
14285
14285
|
src: fetchedImageUrl || organization.imageUrl,
|
|
14286
14286
|
alt: organization.name
|
|
@@ -15031,7 +15031,7 @@ var SectionButton = ({
|
|
|
15031
15031
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 flex-wrap", children: [
|
|
15032
15032
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClasses, "font-medium text-lg leading-[24px] whitespace-normal break-words"), children: section.title }),
|
|
15033
15033
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15034
|
-
|
|
15034
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
15035
15035
|
{
|
|
15036
15036
|
text: section.badge.text,
|
|
15037
15037
|
variant: section.badge.variant || "button",
|
|
@@ -15050,7 +15050,7 @@ var SectionButton = ({
|
|
|
15050
15050
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-2 flex-wrap w-full", children: [
|
|
15051
15051
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClasses, "font-bold text-[18px] leading-[24px] tracking-[-0.36px]"), style: { textAlign: "left" }, children: section.title }),
|
|
15052
15052
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15053
|
-
|
|
15053
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
15054
15054
|
{
|
|
15055
15055
|
text: section.badge.text,
|
|
15056
15056
|
variant: section.badge.variant || "button",
|
|
@@ -15322,7 +15322,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
15322
15322
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
15323
15323
|
title: config.title,
|
|
15324
15324
|
loading: "eager",
|
|
15325
|
-
...
|
|
15325
|
+
..._chunkJ54Z3OCRcjs.fetchPriorityProp.call(void 0, "high")
|
|
15326
15326
|
},
|
|
15327
15327
|
iframeKey
|
|
15328
15328
|
),
|
|
@@ -16160,7 +16160,7 @@ function MediaGalleryManager({
|
|
|
16160
16160
|
const renderMediaItem = _react.useCallback.call(void 0, (mediaItem, index) => {
|
|
16161
16161
|
const isDeleting = deletingIndex === index;
|
|
16162
16162
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16163
|
-
|
|
16163
|
+
_chunk4W7NYJ3Bcjs.Card,
|
|
16164
16164
|
{
|
|
16165
16165
|
className: "relative group border-ods-border hover:border-ods-accent/30 transition-colors",
|
|
16166
16166
|
draggable: true,
|
|
@@ -16699,7 +16699,7 @@ function PlatformFilterComponent({
|
|
|
16699
16699
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
16700
16700
|
size,
|
|
16701
16701
|
onClick: () => onPlatformChange(platform.value),
|
|
16702
|
-
leftIcon: showIcons ?
|
|
16702
|
+
leftIcon: showIcons ? _chunkLFGGF7OTcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
16703
16703
|
className: "text-h3",
|
|
16704
16704
|
children: platform.label
|
|
16705
16705
|
},
|
|
@@ -17118,7 +17118,7 @@ var SelectButton = React95.default.forwardRef(
|
|
|
17118
17118
|
}
|
|
17119
17119
|
)
|
|
17120
17120
|
] }),
|
|
17121
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17121
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
17122
17122
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17123
17123
|
_chunkZS2SBWBRcjs.CheckCircleIcon,
|
|
17124
17124
|
{
|
|
@@ -17540,7 +17540,7 @@ var StartWithOpenFrameButton = React70.forwardRef(({ children = "Start Free Tria
|
|
|
17540
17540
|
}
|
|
17541
17541
|
) : void 0,
|
|
17542
17542
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17543
|
-
|
|
17543
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
17544
17544
|
{
|
|
17545
17545
|
text: "Beta",
|
|
17546
17546
|
variant: "button",
|
|
@@ -18023,14 +18023,14 @@ var ConfidenceBadge = ({
|
|
|
18023
18023
|
size = "sm",
|
|
18024
18024
|
className
|
|
18025
18025
|
}) => {
|
|
18026
|
-
const level =
|
|
18026
|
+
const level = _chunkKXCRGTRNcjs.getConfidenceLevel.call(void 0, confidence);
|
|
18027
18027
|
if (level === "none") {
|
|
18028
18028
|
return null;
|
|
18029
18029
|
}
|
|
18030
|
-
const label =
|
|
18031
|
-
const borderClass =
|
|
18032
|
-
const textClass =
|
|
18033
|
-
const bgClass =
|
|
18030
|
+
const label = _chunkKXCRGTRNcjs.getConfidenceLabel.call(void 0, confidence);
|
|
18031
|
+
const borderClass = _chunkKXCRGTRNcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
18032
|
+
const textClass = _chunkKXCRGTRNcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
18033
|
+
const bgClass = _chunkKXCRGTRNcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
18034
18034
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18035
18035
|
"span",
|
|
18036
18036
|
{
|
|
@@ -18781,7 +18781,7 @@ var AIStatusIndicator = ({
|
|
|
18781
18781
|
}) => {
|
|
18782
18782
|
const config = statusConfig[status];
|
|
18783
18783
|
const displayText = message2 || config.label;
|
|
18784
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
18784
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkKXCRGTRNcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
18785
18785
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18786
18786
|
"div",
|
|
18787
18787
|
{
|
|
@@ -18797,7 +18797,7 @@ var AIStatusIndicator = ({
|
|
|
18797
18797
|
size: 16,
|
|
18798
18798
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
18799
18799
|
status === "loading" && "animate-pulse",
|
|
18800
|
-
confidence !== void 0 && status === "success" ?
|
|
18800
|
+
confidence !== void 0 && status === "success" ? _chunkKXCRGTRNcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
18801
18801
|
)
|
|
18802
18802
|
}
|
|
18803
18803
|
),
|
|
@@ -18806,7 +18806,7 @@ var AIStatusIndicator = ({
|
|
|
18806
18806
|
{
|
|
18807
18807
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
18808
18808
|
"text-sm font-medium",
|
|
18809
|
-
confidence !== void 0 && status === "success" ?
|
|
18809
|
+
confidence !== void 0 && status === "success" ? _chunkKXCRGTRNcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
18810
18810
|
),
|
|
18811
18811
|
children: displayText
|
|
18812
18812
|
}
|
|
@@ -18816,8 +18816,8 @@ var AIStatusIndicator = ({
|
|
|
18816
18816
|
{
|
|
18817
18817
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
18818
18818
|
"text-xs px-2 py-0.5 rounded-full border",
|
|
18819
|
-
|
|
18820
|
-
|
|
18819
|
+
_chunkKXCRGTRNcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
18820
|
+
_chunkKXCRGTRNcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
18821
18821
|
),
|
|
18822
18822
|
children: confidenceLabel
|
|
18823
18823
|
}
|
|
@@ -19493,7 +19493,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
19493
19493
|
};
|
|
19494
19494
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
19495
19495
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg border-b border-ods-border flex gap-4 items-center px-4 py-3", children: [
|
|
19496
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-bg border border-ods-border rounded-md flex items-center justify-center w-8 h-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19496
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-bg border border-ods-border rounded-md flex items-center justify-center w-8 h-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5E2HOSSHcjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
19497
19497
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 flex flex-col min-w-0", children: [
|
|
19498
19498
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[16px] font-medium text-ods-text-primary truncate", title: policy.name, children: policy.name }),
|
|
19499
19499
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[12px] text-ods-text-secondary break-all font-mono", children: policy.commandPattern })
|
|
@@ -19692,7 +19692,7 @@ function PhoneInput({
|
|
|
19692
19692
|
placeholder = "Phone Number (optional)",
|
|
19693
19693
|
onKeyDown
|
|
19694
19694
|
}) {
|
|
19695
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
19695
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkKXCRGTRNcjs.getCountryPhoneData.call(void 0, ), []);
|
|
19696
19696
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
19697
19697
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
19698
19698
|
[countryCode, priority, others]
|
|
@@ -19706,7 +19706,7 @@ function PhoneInput({
|
|
|
19706
19706
|
_optionalChain([onValidationChange, 'optionalCall', _316 => _316(false)]);
|
|
19707
19707
|
return;
|
|
19708
19708
|
}
|
|
19709
|
-
const invalid = !
|
|
19709
|
+
const invalid = !_chunkKXCRGTRNcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
19710
19710
|
setIsInvalid(invalid);
|
|
19711
19711
|
_optionalChain([onValidationChange, 'optionalCall', _317 => _317(invalid)]);
|
|
19712
19712
|
}, [countryCode, digitCount, onValidationChange]);
|
|
@@ -19804,13 +19804,13 @@ function WaitlistForm({
|
|
|
19804
19804
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
19805
19805
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
19806
19806
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
19807
|
-
const { toast } =
|
|
19808
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
19807
|
+
const { toast } = _chunk5E2HOSSHcjs.useToast.call(void 0, );
|
|
19808
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunk5E2HOSSHcjs.useHumanitySignals.call(void 0, );
|
|
19809
19809
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
19810
19810
|
const [isClient, setIsClient] = _react.useState.call(void 0, false);
|
|
19811
19811
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
19812
19812
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
19813
|
-
const isMailDomainGeneric =
|
|
19813
|
+
const isMailDomainGeneric = _chunkKXCRGTRNcjs.hasGenericEmailDomain.call(void 0, email);
|
|
19814
19814
|
_react.useEffect.call(void 0, () => {
|
|
19815
19815
|
if (defaultEmail) {
|
|
19816
19816
|
setEmail(defaultEmail);
|
|
@@ -19841,7 +19841,7 @@ function WaitlistForm({
|
|
|
19841
19841
|
setShowConsentError(true);
|
|
19842
19842
|
return;
|
|
19843
19843
|
}
|
|
19844
|
-
const finalPhone = phone ?
|
|
19844
|
+
const finalPhone = phone ? _chunkKXCRGTRNcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
19845
19845
|
try {
|
|
19846
19846
|
await onRegister(email, finalPhone, getSignals());
|
|
19847
19847
|
resetSignals();
|
|
@@ -20247,7 +20247,7 @@ function NotificationTile({
|
|
|
20247
20247
|
children ? "border-b border-ods-border" : null
|
|
20248
20248
|
),
|
|
20249
20249
|
children: [
|
|
20250
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
20250
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-1.5 rounded-full", _chunk5E2HOSSHcjs.dotColorByVariant[variant]) }) }),
|
|
20251
20251
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
20252
20252
|
title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-h4 text-ods-text-primary", title: typeof title === "string" ? title : void 0, children: title }) : null,
|
|
20253
20253
|
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 line-clamp-2 text-ods-text-secondary", title: typeof description === "string" ? description : void 0, children: description }) : null
|
|
@@ -20273,7 +20273,7 @@ function NotificationTile({
|
|
|
20273
20273
|
"aria-hidden": true,
|
|
20274
20274
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
20275
20275
|
"absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
20276
|
-
|
|
20276
|
+
_chunk5E2HOSSHcjs.progressColorByVariant[variant]
|
|
20277
20277
|
),
|
|
20278
20278
|
style: {
|
|
20279
20279
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
@@ -20495,7 +20495,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
20495
20495
|
] });
|
|
20496
20496
|
}
|
|
20497
20497
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
20498
|
-
const { supported, permission, request } =
|
|
20498
|
+
const { supported, permission, request } = _chunk5E2HOSSHcjs.useNotificationPermission.call(void 0, );
|
|
20499
20499
|
if (!supported) return null;
|
|
20500
20500
|
const blocked = permission === "denied";
|
|
20501
20501
|
const handleChange = async (value) => {
|
|
@@ -21145,12 +21145,12 @@ function TimeTrackerPanel({
|
|
|
21145
21145
|
var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppercase tracking-tight";
|
|
21146
21146
|
function StatusTag({ status }) {
|
|
21147
21147
|
if (status === "tracking") {
|
|
21148
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21148
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: "success", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.DotsLoaderIcon, { className: "h-4 w-4" }), label: "Tracking" });
|
|
21149
21149
|
}
|
|
21150
21150
|
if (status === "paused") {
|
|
21151
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21151
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
21152
21152
|
}
|
|
21153
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21153
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
21154
21154
|
}
|
|
21155
21155
|
function LastEntryRow({ entry, onClick }) {
|
|
21156
21156
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -21489,7 +21489,7 @@ function TicketCard({
|
|
|
21489
21489
|
disabled: dragDisabled
|
|
21490
21490
|
});
|
|
21491
21491
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
21492
|
-
const newMessageTextColor = columnColor ?
|
|
21492
|
+
const newMessageTextColor = columnColor ? _chunkKXCRGTRNcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
21493
21493
|
const style = isOverlay ? {} : {
|
|
21494
21494
|
transform: _utilities.CSS.Transform.toString(sortable.transform),
|
|
21495
21495
|
transition: sortable.transition
|
|
@@ -21514,7 +21514,7 @@ function TicketCard({
|
|
|
21514
21514
|
),
|
|
21515
21515
|
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _363 => _363.assignees, 'optionalAccess', _364 => _364.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
21516
21516
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21517
|
-
|
|
21517
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
21518
21518
|
{
|
|
21519
21519
|
src: a.avatarUrl,
|
|
21520
21520
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -21530,8 +21530,8 @@ function TicketCard({
|
|
|
21530
21530
|
] })
|
|
21531
21531
|
] }) : null
|
|
21532
21532
|
] }) : null;
|
|
21533
|
-
const timestampLabel = ticket.createdAt ?
|
|
21534
|
-
const tooltipLabel = ticket.createdAt ?
|
|
21533
|
+
const timestampLabel = ticket.createdAt ? _chunkKXCRGTRNcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
21534
|
+
const tooltipLabel = ticket.createdAt ? _chunkKXCRGTRNcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
21535
21535
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
21536
21536
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
21537
21537
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-zero)]", title: ticket.title, children: [
|
|
@@ -21549,7 +21549,7 @@ function TicketCard({
|
|
|
21549
21549
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
|
|
21550
21550
|
] }) }),
|
|
21551
21551
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21552
|
-
|
|
21552
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
21553
21553
|
{
|
|
21554
21554
|
label: "New Message",
|
|
21555
21555
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -21616,8 +21616,8 @@ function TicketTagRow({ tags }) {
|
|
|
21616
21616
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
21617
21617
|
const hidden = tags.length - visible.length;
|
|
21618
21618
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
21619
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21620
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21619
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
21620
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
21621
21621
|
] });
|
|
21622
21622
|
}
|
|
21623
21623
|
|
|
@@ -21807,7 +21807,7 @@ function EmptyState2() {
|
|
|
21807
21807
|
// src/components/features/board/use-board-collapse.ts
|
|
21808
21808
|
|
|
21809
21809
|
function useBoardCollapse(storageKey) {
|
|
21810
|
-
const [persisted, setPersisted] =
|
|
21810
|
+
const [persisted, setPersisted] = _chunk5E2HOSSHcjs.useLocalStorage.call(void 0,
|
|
21811
21811
|
_nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")),
|
|
21812
21812
|
{}
|
|
21813
21813
|
);
|
|
@@ -21857,7 +21857,7 @@ function Board({
|
|
|
21857
21857
|
onThumbPointerDown,
|
|
21858
21858
|
onThumbPointerMove,
|
|
21859
21859
|
onThumbPointerUp
|
|
21860
|
-
} =
|
|
21860
|
+
} = _chunk5E2HOSSHcjs.useHorizontalScrollbar.call(void 0, );
|
|
21861
21861
|
const [items, setItems] = React80.useState(columns);
|
|
21862
21862
|
const isDraggingRef = React80.useRef(false);
|
|
21863
21863
|
React80.useEffect(() => {
|
|
@@ -22660,7 +22660,7 @@ _chunkXXI7BNB6cjs.init_button2.call(void 0, );
|
|
|
22660
22660
|
function SlidingSidebar({ config }) {
|
|
22661
22661
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
22662
22662
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
22663
|
-
const headerHeight =
|
|
22663
|
+
const headerHeight = _chunk5E2HOSSHcjs.useHeaderHeight.call(void 0, );
|
|
22664
22664
|
_react.useEffect.call(void 0, () => {
|
|
22665
22665
|
setMounted(true);
|
|
22666
22666
|
}, []);
|
|
@@ -22975,10 +22975,10 @@ var MINIMIZED_WIDTH = 56;
|
|
|
22975
22975
|
var EXPANDED_WIDTH = 224;
|
|
22976
22976
|
var STORAGE_KEY = "of.navigationSidebar.minimized";
|
|
22977
22977
|
function NavigationSidebar({ config, disabled = false }) {
|
|
22978
|
-
const isMdUp = _nullishCoalesce(
|
|
22979
|
-
const isLgUp = _nullishCoalesce(
|
|
22978
|
+
const isMdUp = _nullishCoalesce(_chunk5E2HOSSHcjs.useMdUp.call(void 0, ), () => ( false));
|
|
22979
|
+
const isLgUp = _nullishCoalesce(_chunk5E2HOSSHcjs.useLgUp.call(void 0, ), () => ( false));
|
|
22980
22980
|
const isTablet = isMdUp && !isLgUp;
|
|
22981
|
-
const [desktopMinimized, setDesktopMinimized] =
|
|
22981
|
+
const [desktopMinimized, setDesktopMinimized] = _chunk5E2HOSSHcjs.useLocalStorage.call(void 0,
|
|
22982
22982
|
STORAGE_KEY,
|
|
22983
22983
|
_nullishCoalesce(config.minimized, () => ( false))
|
|
22984
22984
|
);
|
|
@@ -23297,7 +23297,7 @@ var AppHeader = React95.default.memo(function AppHeader2({
|
|
|
23297
23297
|
onToggleMobileMenu,
|
|
23298
23298
|
disabled = false
|
|
23299
23299
|
}) {
|
|
23300
|
-
const isMdUp = _nullishCoalesce(
|
|
23300
|
+
const isMdUp = _nullishCoalesce(_chunk5E2HOSSHcjs.useMdUp.call(void 0, ), () => ( false));
|
|
23301
23301
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
23302
23302
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23303
23303
|
"header",
|
|
@@ -23367,7 +23367,7 @@ var AppHeader = React95.default.memo(function AppHeader2({
|
|
|
23367
23367
|
HeaderButton,
|
|
23368
23368
|
{
|
|
23369
23369
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23370
|
-
|
|
23370
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
23371
23371
|
{
|
|
23372
23372
|
src: userAvatarUrl || void 0,
|
|
23373
23373
|
alt: userName || "User",
|
|
@@ -23389,7 +23389,7 @@ var AppHeader = React95.default.memo(function AppHeader2({
|
|
|
23389
23389
|
children: [
|
|
23390
23390
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-card border-b border-ods-border p-3 flex items-center gap-2", children: [
|
|
23391
23391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23392
|
-
|
|
23392
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
23393
23393
|
{
|
|
23394
23394
|
src: userAvatarUrl || void 0,
|
|
23395
23395
|
alt: userName || "User",
|
|
@@ -23608,7 +23608,7 @@ var MobileBurgerMenu = React95.default.memo(function MobileBurgerMenu2({
|
|
|
23608
23608
|
"aria-disabled": disabled || void 0,
|
|
23609
23609
|
children: [
|
|
23610
23610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23611
|
-
|
|
23611
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
23612
23612
|
{
|
|
23613
23613
|
src: user.userAvatarUrl || void 0,
|
|
23614
23614
|
alt: user.userName || "User",
|
|
@@ -24239,7 +24239,7 @@ var SoftwareSourceBadge = ({
|
|
|
24239
24239
|
className
|
|
24240
24240
|
}) => {
|
|
24241
24241
|
const config = sourceConfig[source] || { label: source, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLGLPNWS6cjs.PackageIcon, { className: "w-4 h-4" }) };
|
|
24242
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
24242
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkKXCRGTRNcjs.cn.call(void 0, "inline-flex items-center gap-2 text-ods-text-primary", className), children: [
|
|
24243
24243
|
config.icon,
|
|
24244
24244
|
config.label
|
|
24245
24245
|
] });
|
|
@@ -24281,9 +24281,9 @@ var ToolBadge = ({
|
|
|
24281
24281
|
className,
|
|
24282
24282
|
iconClassName
|
|
24283
24283
|
}) => {
|
|
24284
|
-
const label =
|
|
24284
|
+
const label = _chunkKXCRGTRNcjs.getToolLabel.call(void 0, toolType);
|
|
24285
24285
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex items-center gap-1 text-ods-text-secondary", className), children: [
|
|
24286
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24286
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5E2HOSSHcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }),
|
|
24287
24287
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: label })
|
|
24288
24288
|
] });
|
|
24289
24289
|
};
|
|
@@ -24293,31 +24293,31 @@ ToolBadge.displayName = "ToolBadge";
|
|
|
24293
24293
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
24294
24294
|
|
|
24295
24295
|
var shellIconMap = {
|
|
24296
|
-
[
|
|
24296
|
+
[_chunkKXCRGTRNcjs.ShellTypeValues.POWERSHELL]: {
|
|
24297
24297
|
icon: _chunkZS2SBWBRcjs.PowershellLogoGreyIcon,
|
|
24298
24298
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
24299
24299
|
},
|
|
24300
|
-
[
|
|
24300
|
+
[_chunkKXCRGTRNcjs.ShellTypeValues.CMD]: {
|
|
24301
24301
|
icon: _chunkLGLPNWS6cjs.CmdIcon,
|
|
24302
24302
|
props: { size: 16, color: "#888888" }
|
|
24303
24303
|
},
|
|
24304
|
-
[
|
|
24304
|
+
[_chunkKXCRGTRNcjs.ShellTypeValues.BASH]: {
|
|
24305
24305
|
icon: _chunkLGLPNWS6cjs.BashIcon,
|
|
24306
24306
|
props: { size: 16, color: "#888888" }
|
|
24307
24307
|
},
|
|
24308
|
-
[
|
|
24308
|
+
[_chunkKXCRGTRNcjs.ShellTypeValues.PYTHON]: {
|
|
24309
24309
|
icon: _chunkZS2SBWBRcjs.PythonLogoIcon,
|
|
24310
24310
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
24311
24311
|
},
|
|
24312
|
-
[
|
|
24312
|
+
[_chunkKXCRGTRNcjs.ShellTypeValues.NUSHELL]: {
|
|
24313
24313
|
icon: _chunkLGLPNWS6cjs.NushellIcon,
|
|
24314
24314
|
props: { size: 16, color: "#888888" }
|
|
24315
24315
|
},
|
|
24316
|
-
[
|
|
24316
|
+
[_chunkKXCRGTRNcjs.ShellTypeValues.DENO]: {
|
|
24317
24317
|
icon: _chunkLGLPNWS6cjs.DenoIcon,
|
|
24318
24318
|
props: { size: 16, color: "#888888" }
|
|
24319
24319
|
},
|
|
24320
|
-
[
|
|
24320
|
+
[_chunkKXCRGTRNcjs.ShellTypeValues.SHELL]: {
|
|
24321
24321
|
icon: _chunkLGLPNWS6cjs.ShellIcon,
|
|
24322
24322
|
props: { size: 16, color: "#888888" }
|
|
24323
24323
|
}
|
|
@@ -24332,7 +24332,7 @@ var ShellTypeBadge = ({
|
|
|
24332
24332
|
iconClassName
|
|
24333
24333
|
}) => {
|
|
24334
24334
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _470 => _470.toUpperCase, 'call', _471 => _471()]);
|
|
24335
|
-
const label =
|
|
24335
|
+
const label = _chunkKXCRGTRNcjs.getShellLabel.call(void 0, normalizedType);
|
|
24336
24336
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
24337
24337
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
24338
24338
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -24349,7 +24349,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
24349
24349
|
if (!platforms || platforms.length === 0) {
|
|
24350
24350
|
return "All Platforms";
|
|
24351
24351
|
}
|
|
24352
|
-
return platforms.map((platform) =>
|
|
24352
|
+
return platforms.map((platform) => _chunkKXCRGTRNcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
24353
24353
|
}
|
|
24354
24354
|
function getInitials(name) {
|
|
24355
24355
|
const parts = name.trim().split(/\s+/);
|
|
@@ -24383,7 +24383,7 @@ var ScriptInfoSection = ({
|
|
|
24383
24383
|
author,
|
|
24384
24384
|
className
|
|
24385
24385
|
}) => {
|
|
24386
|
-
const shellLabel =
|
|
24386
|
+
const shellLabel = _chunkKXCRGTRNcjs.getShellLabel.call(void 0, shellType);
|
|
24387
24387
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
24388
24388
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24389
24389
|
"div",
|
|
@@ -24585,7 +24585,7 @@ function OnboardingStepCard({
|
|
|
24585
24585
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] bg-ods-border rounded-[6px] animate-pulse" })
|
|
24586
24586
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
24587
24587
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24588
|
-
|
|
24588
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
24589
24589
|
{
|
|
24590
24590
|
text: "COMPLETED",
|
|
24591
24591
|
variant: "card",
|
|
@@ -24603,7 +24603,7 @@ function OnboardingStepCard({
|
|
|
24603
24603
|
}
|
|
24604
24604
|
)
|
|
24605
24605
|
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24606
|
-
|
|
24606
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
24607
24607
|
{
|
|
24608
24608
|
text: "SKIPPED",
|
|
24609
24609
|
variant: "card",
|
|
@@ -24655,7 +24655,7 @@ function OnboardingWalkthrough({
|
|
|
24655
24655
|
isStepSkipped,
|
|
24656
24656
|
allStepsComplete,
|
|
24657
24657
|
markMultipleComplete
|
|
24658
|
-
} =
|
|
24658
|
+
} = _chunk5E2HOSSHcjs.useOnboardingState.call(void 0, storageKey);
|
|
24659
24659
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
24660
24660
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
24661
24661
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
@@ -24731,7 +24731,7 @@ function OnboardingWalkthrough({
|
|
|
24731
24731
|
const isAllComplete = allStepsComplete(steps);
|
|
24732
24732
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
24733
24733
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row items-start md:items-center justify-between gap-3 md:gap-0", children: [
|
|
24734
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
24734
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkJ54Z3OCRcjs.SECTION_HEADING_CLASS, children: "Get Started" }),
|
|
24735
24735
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[48px] w-full md:w-[160px] bg-ods-border rounded-[6px] animate-pulse" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24736
24736
|
_chunkXXI7BNB6cjs.Button,
|
|
24737
24737
|
{
|
|
@@ -24862,7 +24862,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
24862
24862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-5 text-white", children: log.title }),
|
|
24863
24863
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
24864
24864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['Azeret_Mono'] font-normal text-[13px] leading-4 text-ods-text-secondary uppercase tracking-wider", children: formatTimestamp(log.timestamp) }),
|
|
24865
|
-
log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24865
|
+
log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5E2HOSSHcjs.ToolIcon, { toolType: log.toolType, size: 16 })
|
|
24866
24866
|
] })
|
|
24867
24867
|
] })
|
|
24868
24868
|
]
|
|
@@ -24999,7 +24999,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
24999
24999
|
}
|
|
25000
25000
|
function ServiceCardRowItem({ row }) {
|
|
25001
25001
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
25002
|
-
const { copy, copied } =
|
|
25002
|
+
const { copy, copied } = _chunk5E2HOSSHcjs.useCopyToClipboard.call(void 0, );
|
|
25003
25003
|
const actions = _react.useMemo.call(void 0, () => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }), [row]);
|
|
25004
25004
|
const displayValue = row.isSecret ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskedValue, { value: row.value, isRevealed: revealed }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: row.value });
|
|
25005
25005
|
const handleCopy = () => copy(_nullishCoalesce(row.copyValue, () => ( row.value)));
|
|
@@ -25539,7 +25539,7 @@ function TableHeader({
|
|
|
25539
25539
|
}
|
|
25540
25540
|
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Arrow01DownIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
25541
25541
|
};
|
|
25542
|
-
const isLgUp = _nullishCoalesce(
|
|
25542
|
+
const isLgUp = _nullishCoalesce(_chunk5E2HOSSHcjs.useLgUp.call(void 0, ), () => ( false));
|
|
25543
25543
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25544
25544
|
"div",
|
|
25545
25545
|
{
|
|
@@ -26429,7 +26429,7 @@ function QueryReportTable({
|
|
|
26429
26429
|
onThumbPointerDown,
|
|
26430
26430
|
onThumbPointerMove,
|
|
26431
26431
|
onThumbPointerUp
|
|
26432
|
-
} =
|
|
26432
|
+
} = _chunk5E2HOSSHcjs.useHorizontalScrollbar.call(void 0, );
|
|
26433
26433
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col w-full", isCompact ? "gap-0" : "gap-6", className), children: [
|
|
26434
26434
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-6", children: [
|
|
26435
26435
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "font-mono font-semibold text-[32px] leading-[40px] text-ods-text-primary", children: title }),
|
|
@@ -26660,7 +26660,7 @@ function DataTableHeader({
|
|
|
26660
26660
|
onSortChange
|
|
26661
26661
|
}) {
|
|
26662
26662
|
const table = useDataTableContext();
|
|
26663
|
-
const isLgUp = _nullishCoalesce(
|
|
26663
|
+
const isLgUp = _nullishCoalesce(_chunk5E2HOSSHcjs.useLgUp.call(void 0, ), () => ( false));
|
|
26664
26664
|
const headerGroup = table.getHeaderGroups()[0];
|
|
26665
26665
|
if (!headerGroup) return null;
|
|
26666
26666
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
@@ -27370,7 +27370,7 @@ function TagSearchInput({
|
|
|
27370
27370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
|
|
27371
27371
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex-1 flex items-center gap-2 min-w-0 overflow-hidden px-2", children: [
|
|
27372
27372
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27373
|
-
|
|
27373
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
27374
27374
|
{
|
|
27375
27375
|
variant: "outline",
|
|
27376
27376
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -27430,7 +27430,7 @@ function TagSearchInput({
|
|
|
27430
27430
|
}
|
|
27431
27431
|
),
|
|
27432
27432
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27433
|
-
|
|
27433
|
+
_chunkJ54Z3OCRcjs.HiddenTagsPopup,
|
|
27434
27434
|
{
|
|
27435
27435
|
ref: hiddenTagsPopupRef,
|
|
27436
27436
|
items: hiddenTags,
|
|
@@ -27460,7 +27460,7 @@ function TagSearchInput({
|
|
|
27460
27460
|
"aria-hidden": "true",
|
|
27461
27461
|
className: "absolute left-0 top-0 flex gap-2 pointer-events-none invisible -z-10",
|
|
27462
27462
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27463
|
-
|
|
27463
|
+
_chunkJ54Z3OCRcjs.Tag,
|
|
27464
27464
|
{
|
|
27465
27465
|
variant: "outline",
|
|
27466
27466
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -28368,7 +28368,7 @@ function ColorPresetSelect({
|
|
|
28368
28368
|
}
|
|
28369
28369
|
];
|
|
28370
28370
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28371
|
-
|
|
28371
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
28372
28372
|
{
|
|
28373
28373
|
groups,
|
|
28374
28374
|
align: "start",
|
|
@@ -28395,7 +28395,7 @@ function HexInputs({ value, onChange }) {
|
|
|
28395
28395
|
React102.useEffect(() => setDraft(value), [value]);
|
|
28396
28396
|
const commit = () => {
|
|
28397
28397
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
28398
|
-
if (
|
|
28398
|
+
if (_chunkKXCRGTRNcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
28399
28399
|
else setDraft(value);
|
|
28400
28400
|
};
|
|
28401
28401
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -28455,12 +28455,12 @@ function ChannelInput({
|
|
|
28455
28455
|
);
|
|
28456
28456
|
}
|
|
28457
28457
|
function RgbInputs({ value, onChange }) {
|
|
28458
|
-
const rgb = _nullishCoalesce(
|
|
28458
|
+
const rgb = _nullishCoalesce(_chunkKXCRGTRNcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
28459
28459
|
const update = (next) => {
|
|
28460
28460
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
28461
28461
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
28462
28462
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
28463
|
-
onChange(
|
|
28463
|
+
onChange(_chunkKXCRGTRNcjs.rgbToHex.call(void 0, r, g, b));
|
|
28464
28464
|
};
|
|
28465
28465
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28466
28466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -28469,14 +28469,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
28469
28469
|
] });
|
|
28470
28470
|
}
|
|
28471
28471
|
function HslInputs({ value, onChange }) {
|
|
28472
|
-
const rgb = _nullishCoalesce(
|
|
28473
|
-
const hsl =
|
|
28472
|
+
const rgb = _nullishCoalesce(_chunkKXCRGTRNcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
28473
|
+
const hsl = _chunkKXCRGTRNcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
28474
28474
|
const update = (next) => {
|
|
28475
28475
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
28476
28476
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
28477
28477
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
28478
|
-
const out =
|
|
28479
|
-
onChange(
|
|
28478
|
+
const out = _chunkKXCRGTRNcjs.hslToRgb.call(void 0, h, s, l);
|
|
28479
|
+
onChange(_chunkKXCRGTRNcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
28480
28480
|
};
|
|
28481
28481
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28482
28482
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -28518,7 +28518,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
28518
28518
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
28519
28519
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28520
28520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28521
|
-
|
|
28521
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
28522
28522
|
{
|
|
28523
28523
|
groups: formatGroups,
|
|
28524
28524
|
align: "start",
|
|
@@ -28735,7 +28735,7 @@ function CompactAssigneeDropdown({
|
|
|
28735
28735
|
className
|
|
28736
28736
|
),
|
|
28737
28737
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28738
|
-
|
|
28738
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
28739
28739
|
{
|
|
28740
28740
|
src: currentAssignee.avatarSrc,
|
|
28741
28741
|
alt: currentAssignee.name,
|
|
@@ -28801,7 +28801,7 @@ function CompactAssigneeDropdown({
|
|
|
28801
28801
|
),
|
|
28802
28802
|
children: [
|
|
28803
28803
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28804
|
-
|
|
28804
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
28805
28805
|
{
|
|
28806
28806
|
src: opt.imageUrl,
|
|
28807
28807
|
alt: opt.label,
|
|
@@ -28836,7 +28836,7 @@ function DefaultAssigneeDropdown({
|
|
|
28836
28836
|
const opt = option;
|
|
28837
28837
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-sf)] w-full min-w-0", children: [
|
|
28838
28838
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28839
|
-
|
|
28839
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
28840
28840
|
{
|
|
28841
28841
|
src: opt.imageUrl,
|
|
28842
28842
|
alt: opt.label,
|
|
@@ -28864,7 +28864,7 @@ function DefaultAssigneeDropdown({
|
|
|
28864
28864
|
loading: isLoading,
|
|
28865
28865
|
showChevron: false,
|
|
28866
28866
|
startAdornment: hasAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28867
|
-
|
|
28867
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
28868
28868
|
{
|
|
28869
28869
|
src: currentAssignee.avatarSrc,
|
|
28870
28870
|
alt: currentAssignee.name,
|
|
@@ -28883,7 +28883,7 @@ function DefaultAssigneeDropdown({
|
|
|
28883
28883
|
if (hasAssignee) {
|
|
28884
28884
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex items-center gap-[var(--spacing-system-xs)] min-w-0", className), children: [
|
|
28885
28885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28886
|
-
|
|
28886
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
28887
28887
|
{
|
|
28888
28888
|
src: currentAssignee.avatarSrc,
|
|
28889
28889
|
alt: currentAssignee.name,
|
|
@@ -28957,7 +28957,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
28957
28957
|
),
|
|
28958
28958
|
children: [
|
|
28959
28959
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28960
|
-
|
|
28960
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
28961
28961
|
{
|
|
28962
28962
|
src: attachment.thumbnailSrc,
|
|
28963
28963
|
alt: attachment.fileName,
|
|
@@ -29041,7 +29041,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
29041
29041
|
),
|
|
29042
29042
|
children: [
|
|
29043
29043
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29044
|
-
|
|
29044
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
29045
29045
|
{
|
|
29046
29046
|
src: note.authorAvatar,
|
|
29047
29047
|
alt: note.authorName,
|
|
@@ -29242,7 +29242,7 @@ function TicketInfoSection({
|
|
|
29242
29242
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 lg:grid-cols-[1fr_1fr_1fr_auto] gap-4 px-4 py-3 bg-ods-card border-b border-ods-border items-center", children: [
|
|
29243
29243
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
29244
29244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29245
|
-
|
|
29245
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
29246
29246
|
{
|
|
29247
29247
|
src: _optionalChain([organization, 'optionalAccess', _592 => _592.imageSrc]),
|
|
29248
29248
|
alt: _optionalChain([organization, 'optionalAccess', _593 => _593.name]),
|
|
@@ -29317,9 +29317,9 @@ function TicketInfoSection({
|
|
|
29317
29317
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29318
29318
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 px-4 py-3 bg-ods-bg border-b border-ods-border items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: createdAt, label: "Created" }) }),
|
|
29319
29319
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 p-4 bg-ods-bg border-b border-ods-border", children: [
|
|
29320
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29320
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.SimpleMarkdownRenderer, { content: description }),
|
|
29321
29321
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
29322
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 min-w-0", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29322
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 min-w-0", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ54Z3OCRcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
29323
29323
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29324
29324
|
TicketNotesSection,
|
|
29325
29325
|
{
|
|
@@ -29476,33 +29476,33 @@ function ImageGalleryModal({
|
|
|
29476
29476
|
|
|
29477
29477
|
function iconFor(customItemId) {
|
|
29478
29478
|
switch (customItemId) {
|
|
29479
|
-
case
|
|
29479
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.BUG:
|
|
29480
29480
|
return _lucidereact.Bug;
|
|
29481
|
-
case
|
|
29481
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.REQUEST:
|
|
29482
29482
|
return _lucidereact.Inbox;
|
|
29483
|
-
case
|
|
29483
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.FEATURE:
|
|
29484
29484
|
return _lucidereact.Sparkles;
|
|
29485
|
-
case
|
|
29485
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.STORY:
|
|
29486
29486
|
return _lucidereact.BookOpen;
|
|
29487
|
-
case
|
|
29487
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.EPIC:
|
|
29488
29488
|
return _lucidereact.Trophy;
|
|
29489
|
-
case
|
|
29489
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.COMPONENT:
|
|
29490
29490
|
return _lucidereact.Component;
|
|
29491
|
-
case
|
|
29491
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.INITIATIVE:
|
|
29492
29492
|
return _lucidereact.Flag;
|
|
29493
|
-
case
|
|
29493
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.MILESTONE:
|
|
29494
29494
|
return _lucidereact.Goal;
|
|
29495
|
-
case
|
|
29495
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.SUBTASK:
|
|
29496
29496
|
return _lucidereact.ListTodo;
|
|
29497
|
-
case
|
|
29497
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.FORM:
|
|
29498
29498
|
return _lucidereact.FileText;
|
|
29499
|
-
case
|
|
29499
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.RECURRING:
|
|
29500
29500
|
return _lucidereact.Repeat;
|
|
29501
|
-
case
|
|
29501
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.PLAN:
|
|
29502
29502
|
return _lucidereact.Compass;
|
|
29503
|
-
case
|
|
29503
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.STRATEGY:
|
|
29504
29504
|
return _lucidereact.Compass;
|
|
29505
|
-
case
|
|
29505
|
+
case _chunkKXCRGTRNcjs.CUSTOM_ITEM_ID.TASK:
|
|
29506
29506
|
default:
|
|
29507
29507
|
return _lucidereact.CheckSquare;
|
|
29508
29508
|
}
|
|
@@ -29516,18 +29516,18 @@ function TaskTypeIcon({ customItemId, className = "h-5 w-5" }) {
|
|
|
29516
29516
|
|
|
29517
29517
|
function RoadmapCardSkeleton({ size = "default" }) {
|
|
29518
29518
|
if (size === "sm") {
|
|
29519
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29519
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
29520
29520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-12 w-12 aspect-square shrink-0 self-start rounded-md bg-ods-bg border border-ods-border p-1.5" }),
|
|
29521
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29522
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29521
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
29522
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-2`, children: [
|
|
29523
29523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
|
|
29524
29524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded bg-ods-bg/70 shrink-0" })
|
|
29525
29525
|
] }),
|
|
29526
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29526
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX} flex-nowrap gap-2`, children: [
|
|
29527
29527
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/60 flex-1" }),
|
|
29528
29528
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-10 rounded bg-ods-bg/40 shrink-0" })
|
|
29529
29529
|
] }),
|
|
29530
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29530
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/40" }) })
|
|
29531
29531
|
] })
|
|
29532
29532
|
] });
|
|
29533
29533
|
}
|
|
@@ -29560,19 +29560,20 @@ function RoadmapCard({
|
|
|
29560
29560
|
size = "default",
|
|
29561
29561
|
cardType = "roadmap_item",
|
|
29562
29562
|
className,
|
|
29563
|
+
id,
|
|
29563
29564
|
userVote,
|
|
29564
29565
|
onVote,
|
|
29565
29566
|
isVoting = false
|
|
29566
29567
|
}) {
|
|
29567
29568
|
const [showScreenshots, setShowScreenshots] = _react.useState.call(void 0, false);
|
|
29568
29569
|
const logoUrl = item.icon && item.icon.startsWith("http") ? item.icon : null;
|
|
29569
|
-
const iconSrc = logoUrl ?
|
|
29570
|
+
const iconSrc = logoUrl ? _chunkJ54Z3OCRcjs.getProxiedImageUrl.call(void 0, logoUrl, { directHttps: true }) || logoUrl : null;
|
|
29570
29571
|
if (size === "sm") {
|
|
29571
|
-
const compactHref =
|
|
29572
|
+
const compactHref = _chunkJ54Z3OCRcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
29572
29573
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
29573
29574
|
const hasFigma = !!item.figmaUrl;
|
|
29574
29575
|
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _599 => _599.screenshots, 'optionalAccess', _600 => _600.length]), () => ( 0))) > 0;
|
|
29575
|
-
const typeLabel =
|
|
29576
|
+
const typeLabel = _chunkKXCRGTRNcjs.getTaskTypeLabel.call(void 0, item.customItemId);
|
|
29576
29577
|
const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
|
|
29577
29578
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29578
29579
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -29593,21 +29594,21 @@ function RoadmapCard({
|
|
|
29593
29594
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _601 => _601.title, 'optionalAccess', _602 => _602.substring, 'call', _603 => _603(0, 2)]) || "??" })
|
|
29594
29595
|
}
|
|
29595
29596
|
),
|
|
29596
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29597
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
29597
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
29598
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW} gap-2`, children: [
|
|
29599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE} min-w-0`, children: item.title }),
|
|
29599
29600
|
item.status && item.status.trim().length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29600
|
-
|
|
29601
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
29601
29602
|
{
|
|
29602
29603
|
text: item.status.toUpperCase(),
|
|
29603
|
-
colorScheme:
|
|
29604
|
+
colorScheme: _chunkKXCRGTRNcjs.getStatusColorScheme.call(void 0, item.status),
|
|
29604
29605
|
variant: "button",
|
|
29605
29606
|
singleLine: true,
|
|
29606
29607
|
className: "border border-ods-border shrink-0 max-w-[60%] truncate whitespace-nowrap"
|
|
29607
29608
|
}
|
|
29608
29609
|
) : null
|
|
29609
29610
|
] }),
|
|
29610
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29611
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX} gap-2 text-ods-text-secondary`, children: [
|
|
29611
29612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-[11px] leading-4 min-w-0 flex-1", children: (() => {
|
|
29612
29613
|
const parts = [
|
|
29613
29614
|
item.quarter,
|
|
@@ -29645,15 +29646,15 @@ function RoadmapCard({
|
|
|
29645
29646
|
}
|
|
29646
29647
|
) : null
|
|
29647
29648
|
] }),
|
|
29648
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29649
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: item.description || _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
29649
29650
|
] })
|
|
29650
29651
|
] });
|
|
29651
29652
|
if (!compactHref) {
|
|
29652
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
29653
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
29653
29654
|
}
|
|
29654
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: compactHref, target, rel, className: `${
|
|
29655
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: compactHref, target, rel, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
29655
29656
|
}
|
|
29656
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `bg-ods-card border border-ods-border rounded-[6px] p-[24px] flex flex-col gap-[16px] hover:border-ods-accent transition-all h-full ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
29657
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { id, className: `bg-ods-card border border-ods-border rounded-[6px] p-[24px] flex flex-col gap-[16px] hover:border-ods-accent transition-all h-full scroll-mt-24 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
29657
29658
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[16px] items-center w-full", children: [
|
|
29658
29659
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-16 h-16 rounded-lg flex items-center justify-center flex-shrink-0 bg-ods-bg border border-ods-border", children: iconSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29659
29660
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
@@ -29675,19 +29676,19 @@ function RoadmapCard({
|
|
|
29675
29676
|
] }) })
|
|
29676
29677
|
] }),
|
|
29677
29678
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29678
|
-
|
|
29679
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
29679
29680
|
{
|
|
29680
29681
|
text: item.status.toUpperCase(),
|
|
29681
|
-
colorScheme:
|
|
29682
|
+
colorScheme: _chunkKXCRGTRNcjs.getStatusColorScheme.call(void 0, item.status),
|
|
29682
29683
|
className: "border border-ods-border"
|
|
29683
29684
|
}
|
|
29684
29685
|
) })
|
|
29685
29686
|
] }),
|
|
29686
29687
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29687
|
-
|
|
29688
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
29688
29689
|
{
|
|
29689
29690
|
text: item.status.toUpperCase(),
|
|
29690
|
-
colorScheme:
|
|
29691
|
+
colorScheme: _chunkKXCRGTRNcjs.getStatusColorScheme.call(void 0, item.status),
|
|
29691
29692
|
className: "border border-ods-border"
|
|
29692
29693
|
}
|
|
29693
29694
|
) }),
|
|
@@ -29731,7 +29732,7 @@ function RoadmapCard({
|
|
|
29731
29732
|
}
|
|
29732
29733
|
),
|
|
29733
29734
|
(() => {
|
|
29734
|
-
const figmaSafe =
|
|
29735
|
+
const figmaSafe = _chunkJ54Z3OCRcjs.safeHref.call(void 0, item.figmaUrl);
|
|
29735
29736
|
return figmaSafe ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29736
29737
|
_chunkXXI7BNB6cjs.Button,
|
|
29737
29738
|
{
|
|
@@ -29744,7 +29745,7 @@ function RoadmapCard({
|
|
|
29744
29745
|
) : null;
|
|
29745
29746
|
})(),
|
|
29746
29747
|
item.targetVersion && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29747
|
-
|
|
29748
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
29748
29749
|
{
|
|
29749
29750
|
text: `${item.targetVersion} VERSION`,
|
|
29750
29751
|
className: "border border-ods-border"
|
|
@@ -29872,7 +29873,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
29872
29873
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
29873
29874
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
29874
29875
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
29875
|
-
const dateText =
|
|
29876
|
+
const dateText = _chunkJ54Z3OCRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
29876
29877
|
const idLabel = formatActivityId(item.id, kind);
|
|
29877
29878
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
29878
29879
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -29897,24 +29898,24 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
29897
29898
|
if (idLabel) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "code", { className: "font-mono", children: idLabel }, "id"));
|
|
29898
29899
|
if (repo) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-mono truncate", children: repo }, "repo"));
|
|
29899
29900
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
29900
|
-
const href =
|
|
29901
|
+
const href = _chunkJ54Z3OCRcjs.safeHref.call(void 0, item.url);
|
|
29901
29902
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29902
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29903
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29904
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29903
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
29904
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
29905
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
29905
29906
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
29906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
29907
29908
|
] }),
|
|
29908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29909
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React95.default.Fragment, { children: [
|
|
29909
29910
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
29910
29911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
29911
29912
|
] }, i)) }) }),
|
|
29912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
29913
29914
|
] }),
|
|
29914
29915
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
29915
29916
|
] });
|
|
29916
29917
|
if (anchorProps) {
|
|
29917
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
29918
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
29918
29919
|
}
|
|
29919
29920
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29920
29921
|
"a",
|
|
@@ -29922,10 +29923,10 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
29922
29923
|
href,
|
|
29923
29924
|
target: "_blank",
|
|
29924
29925
|
rel: "noopener noreferrer",
|
|
29925
|
-
className: `${
|
|
29926
|
+
className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
29926
29927
|
children: body
|
|
29927
29928
|
}
|
|
29928
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
29929
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
29929
29930
|
}
|
|
29930
29931
|
function GitHubActivityCardSkeleton({ variant = "compact", className }) {
|
|
29931
29932
|
if (variant === "row") {
|
|
@@ -29939,12 +29940,12 @@ function GitHubActivityCardSkeleton({ variant = "compact", className }) {
|
|
|
29939
29940
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
29940
29941
|
] });
|
|
29941
29942
|
}
|
|
29942
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
29943
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29944
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29947
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29943
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
29944
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
29945
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
29946
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
29947
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
29948
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
29948
29949
|
] }),
|
|
29949
29950
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
29950
29951
|
] });
|
|
@@ -29968,7 +29969,7 @@ function parseChannelFromUrl(url) {
|
|
|
29968
29969
|
}
|
|
29969
29970
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
29970
29971
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
29971
|
-
const dateText =
|
|
29972
|
+
const dateText = _chunkJ54Z3OCRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
29972
29973
|
if (variant === "row") {
|
|
29973
29974
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 min-w-0 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
29974
29975
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLGLPNWS6cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -29991,21 +29992,21 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
29991
29992
|
);
|
|
29992
29993
|
}
|
|
29993
29994
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
29994
|
-
const href =
|
|
29995
|
+
const href = _chunkJ54Z3OCRcjs.safeHref.call(void 0, item.url);
|
|
29995
29996
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29996
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29997
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
29998
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29999
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30000
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
29997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLGLPNWS6cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
29998
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
29999
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
30000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
30001
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React95.default.Fragment, { children: [
|
|
30001
30002
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
30002
30003
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
30003
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30004
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
30004
30005
|
] }),
|
|
30005
30006
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30006
30007
|
] });
|
|
30007
30008
|
if (anchorProps) {
|
|
30008
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30009
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30009
30010
|
}
|
|
30010
30011
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30011
30012
|
"a",
|
|
@@ -30013,10 +30014,10 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
30013
30014
|
href,
|
|
30014
30015
|
target: "_blank",
|
|
30015
30016
|
rel: "noopener noreferrer",
|
|
30016
|
-
className: `${
|
|
30017
|
+
className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
30017
30018
|
children: body
|
|
30018
30019
|
}
|
|
30019
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30020
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30020
30021
|
}
|
|
30021
30022
|
function SlackMessageCardSkeleton({ variant = "compact", className }) {
|
|
30022
30023
|
if (variant === "row") {
|
|
@@ -30028,12 +30029,12 @@ function SlackMessageCardSkeleton({ variant = "compact", className }) {
|
|
|
30028
30029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
30029
30030
|
] });
|
|
30030
30031
|
}
|
|
30031
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30032
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30033
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30034
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30036
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30032
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30033
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
30034
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
30036
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
30037
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
30037
30038
|
] }),
|
|
30038
30039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
30039
30040
|
] });
|
|
@@ -30064,12 +30065,12 @@ function statusScheme(status) {
|
|
|
30064
30065
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
30065
30066
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
30066
30067
|
const priorityText = formatToken(item.priority);
|
|
30067
|
-
const dateText =
|
|
30068
|
+
const dateText = _chunkJ54Z3OCRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
30068
30069
|
if (variant === "row") {
|
|
30069
30070
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 min-w-0 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30070
30071
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-sm font-medium truncate max-w-[260px] shrink-0", children: item.title }),
|
|
30071
30072
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-sm flex-1 min-w-0 truncate", children: item.preview }) : null,
|
|
30072
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30073
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
30073
30074
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-xs w-24 shrink-0 text-right", children: dateText }) : null
|
|
30074
30075
|
] });
|
|
30075
30076
|
}
|
|
@@ -30080,13 +30081,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30080
30081
|
);
|
|
30081
30082
|
}
|
|
30082
30083
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
30083
|
-
const href =
|
|
30084
|
+
const href = _chunkJ54Z3OCRcjs.safeHref.call(void 0, item.url);
|
|
30084
30085
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30085
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30086
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30086
30087
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30087
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30088
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
30088
30089
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30089
|
-
|
|
30090
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
30090
30091
|
{
|
|
30091
30092
|
text: priorityText,
|
|
30092
30093
|
variant: "button",
|
|
@@ -30095,7 +30096,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30095
30096
|
}
|
|
30096
30097
|
) : null,
|
|
30097
30098
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30098
|
-
|
|
30099
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
30099
30100
|
{
|
|
30100
30101
|
text: statusText,
|
|
30101
30102
|
variant: "button",
|
|
@@ -30109,7 +30110,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30109
30110
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
30110
30111
|
] }) : null,
|
|
30111
30112
|
/* @__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-[13px] leading-5 text-ods-text-secondary", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
30112
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30113
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React95.default.Fragment, { children: [
|
|
30113
30114
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
30114
30115
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
30115
30116
|
] }, i)) }) }) : null
|
|
@@ -30117,7 +30118,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30117
30118
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30118
30119
|
] });
|
|
30119
30120
|
if (anchorProps) {
|
|
30120
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30121
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30121
30122
|
}
|
|
30122
30123
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30123
30124
|
"a",
|
|
@@ -30125,10 +30126,10 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30125
30126
|
href,
|
|
30126
30127
|
target: "_blank",
|
|
30127
30128
|
rel: "noopener noreferrer",
|
|
30128
|
-
className: `${
|
|
30129
|
+
className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
30129
30130
|
children: body
|
|
30130
30131
|
}
|
|
30131
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30132
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30132
30133
|
}
|
|
30133
30134
|
function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
30134
30135
|
if (variant === "row") {
|
|
@@ -30139,8 +30140,8 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30139
30140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
30140
30141
|
] });
|
|
30141
30142
|
}
|
|
30142
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30143
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30143
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30144
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30144
30145
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30145
30146
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
30146
30147
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -30153,7 +30154,7 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30153
30154
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
30154
30155
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
30155
30156
|
] }),
|
|
30156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30157
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
30157
30158
|
] }),
|
|
30158
30159
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
30159
30160
|
] });
|
|
@@ -30164,10 +30165,10 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30164
30165
|
|
|
30165
30166
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
30166
30167
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30167
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30168
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30168
30169
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30169
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30170
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30170
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
30171
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
30171
30172
|
] }),
|
|
30172
30173
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-[11px] leading-4 text-ods-text-secondary", children: [
|
|
30173
30174
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -30178,13 +30179,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
30178
30179
|
_optionalChain([anchorProps, 'optionalAccess', _607 => _607.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30179
30180
|
] });
|
|
30180
30181
|
if (!anchorProps) {
|
|
30181
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30182
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30182
30183
|
}
|
|
30183
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30184
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30184
30185
|
}
|
|
30185
30186
|
function DataRoomDocCardSkeleton({ className }) {
|
|
30186
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30187
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30187
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30188
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30188
30189
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
30189
30190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
30190
30191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -31776,12 +31777,12 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
31776
31777
|
|
|
31777
31778
|
function ProgramCardSkeleton({ size = "default" }) {
|
|
31778
31779
|
if (size === "sm") {
|
|
31779
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
31780
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31781
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
31782
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31783
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31784
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31780
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
31781
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
31782
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
31783
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
31784
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
31785
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
31785
31786
|
] }),
|
|
31786
31787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
31787
31788
|
] });
|
|
@@ -31894,13 +31895,13 @@ function ProgramCard({
|
|
|
31894
31895
|
wholeCardClickable = false,
|
|
31895
31896
|
className
|
|
31896
31897
|
}) {
|
|
31897
|
-
const { target, rel } =
|
|
31898
|
+
const { target, rel } = _chunk4W7NYJ3Bcjs.useEntityCardLink.call(void 0, {
|
|
31898
31899
|
href,
|
|
31899
31900
|
targetPlatform,
|
|
31900
31901
|
target: targetProp,
|
|
31901
31902
|
rel: relProp
|
|
31902
31903
|
});
|
|
31903
|
-
const placeholderUrl =
|
|
31904
|
+
const placeholderUrl = _chunk4W7NYJ3Bcjs.useEntityCardPlaceholder.call(void 0, {
|
|
31904
31905
|
title: item.title,
|
|
31905
31906
|
placeholderUrl: placeholderUrlProp,
|
|
31906
31907
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -31922,21 +31923,21 @@ function ProgramCard({
|
|
|
31922
31923
|
let typeMeta = null;
|
|
31923
31924
|
if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
|
|
31924
31925
|
const dur = item.duration_seconds;
|
|
31925
|
-
if (typeof dur === "number" && dur > 0) typeMeta =
|
|
31926
|
+
if (typeof dur === "number" && dur > 0) typeMeta = _chunkJ54Z3OCRcjs.formatDurationCompact.call(void 0, dur);
|
|
31926
31927
|
} else if (config.type === "event" && "location_name" in item) {
|
|
31927
31928
|
const loc = item.location_name;
|
|
31928
31929
|
if (typeof loc === "string" && loc.trim().length > 0) typeMeta = loc;
|
|
31929
31930
|
} else if (config.type === "webinar" && "start_at" in item) {
|
|
31930
31931
|
const w = item;
|
|
31931
|
-
const time =
|
|
31932
|
-
const dur =
|
|
31932
|
+
const time = _chunkJ54Z3OCRcjs.formatTimeWithTimezone.call(void 0, w.start_at, null);
|
|
31933
|
+
const dur = _chunkJ54Z3OCRcjs.formatDurationFromRange.call(void 0, w.start_at, w.end_at);
|
|
31933
31934
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
31934
31935
|
}
|
|
31935
31936
|
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _650 => _650.labels, 'optionalAccess', _651 => _651.singular])].filter(
|
|
31936
31937
|
(s) => typeof s === "string" && s.length > 0
|
|
31937
31938
|
);
|
|
31938
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
31939
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
31939
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER, className), children: [
|
|
31940
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
31940
31941
|
compactCover ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31941
31942
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
31942
31943
|
{
|
|
@@ -31950,10 +31951,10 @@ function ProgramCard({
|
|
|
31950
31951
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: config.type === "podcast" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Play, { className: "w-4 h-4" }) : config.type === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "w-4 h-4" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Clock, { className: "w-4 h-4" }) }),
|
|
31951
31952
|
config.type === "podcast" && !isScheduled && compactCover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Play, { className: "w-4 h-4 text-white", fill: "white" }) })
|
|
31952
31953
|
] }),
|
|
31953
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
31954
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31955
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
31954
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
31955
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE, "font-['Azeret_Mono']"), children: item.title }) }),
|
|
31956
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-[11px] leading-4 text-[var(--color-accent-primary)]", children: subtitleParts.join(" \xB7 ") }) }),
|
|
31957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: item.description || _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
31957
31958
|
] }),
|
|
31958
31959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) })
|
|
31959
31960
|
] });
|
|
@@ -31964,7 +31965,7 @@ function ProgramCard({
|
|
|
31964
31965
|
if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
|
|
31965
31966
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
31966
31967
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Clock, { className: "w-4 h-4 text-ods-text-secondary" }),
|
|
31967
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children:
|
|
31968
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children: _chunkJ54Z3OCRcjs.formatDurationCompact.call(void 0, item.duration_seconds) })
|
|
31968
31969
|
] });
|
|
31969
31970
|
}
|
|
31970
31971
|
if (config.type === "event" && "location_name" in item) {
|
|
@@ -31972,11 +31973,11 @@ function ProgramCard({
|
|
|
31972
31973
|
}
|
|
31973
31974
|
if (config.type === "webinar" && "start_at" in item) {
|
|
31974
31975
|
const webinarItem = item;
|
|
31975
|
-
const duration =
|
|
31976
|
+
const duration = _chunkJ54Z3OCRcjs.formatDurationFromRange.call(void 0, webinarItem.start_at, webinarItem.end_at);
|
|
31976
31977
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
31977
31978
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "w-4 h-4 text-ods-text-secondary" }),
|
|
31978
31979
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children: [
|
|
31979
|
-
|
|
31980
|
+
_chunkJ54Z3OCRcjs.formatTimeWithTimezone.call(void 0, webinarItem.start_at, null),
|
|
31980
31981
|
duration && ` \xB7 ${duration}`
|
|
31981
31982
|
] }),
|
|
31982
31983
|
webinarItem.timezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "font-['DM_Sans'] text-xs text-ods-text-secondary", children: [
|
|
@@ -32018,7 +32019,7 @@ function ProgramCard({
|
|
|
32018
32019
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-sm md:text-base text-ods-text-secondary leading-relaxed line-clamp-3 min-h-[4.5rem]", children: item.description }) })
|
|
32019
32020
|
] }),
|
|
32020
32021
|
hosts.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:text-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap md:justify-end gap-2", children: hosts.map((host, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32021
|
-
|
|
32022
|
+
_chunk4W7NYJ3Bcjs.SquareAvatar,
|
|
32022
32023
|
{
|
|
32023
32024
|
variant: "round",
|
|
32024
32025
|
src: host.avatar || void 0,
|
|
@@ -32091,29 +32092,29 @@ function ProgramCard({
|
|
|
32091
32092
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
32092
32093
|
const goalsCount = _optionalChain([campaign, 'access', _652 => _652.goals, 'optionalAccess', _653 => _653.length]) || 0;
|
|
32093
32094
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32094
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32095
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32096
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32097
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32098
|
-
campaign.start_date ?
|
|
32095
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
32096
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32097
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
32098
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
32099
|
+
campaign.start_date ? _chunkKXCRGTRNcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
32099
32100
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
32100
32101
|
"Marketing campaign"
|
|
32101
32102
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
32102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkJ54Z3OCRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
32103
32104
|
] })
|
|
32104
32105
|
] });
|
|
32105
32106
|
if (anchorProps) {
|
|
32106
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
32107
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
32107
32108
|
}
|
|
32108
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
32109
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
32109
32110
|
}
|
|
32110
32111
|
function CampaignCardAdminSkeleton({ className }) {
|
|
32111
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
32112
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32113
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32114
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32115
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32116
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32112
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
32113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
32114
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32115
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
32116
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
32117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
32117
32118
|
] })
|
|
32118
32119
|
] });
|
|
32119
32120
|
}
|
|
@@ -32122,14 +32123,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
32122
32123
|
|
|
32123
32124
|
|
|
32124
32125
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
32125
|
-
const href =
|
|
32126
|
-
const dateText =
|
|
32126
|
+
const href = _chunkJ54Z3OCRcjs.safeHref.call(void 0, item.url);
|
|
32127
|
+
const dateText = _chunkJ54Z3OCRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
32127
32128
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32128
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32129
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32129
32130
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
32130
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
32131
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
32131
32132
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32132
|
-
|
|
32133
|
+
_chunk4W7NYJ3Bcjs.StatusBadge,
|
|
32133
32134
|
{
|
|
32134
32135
|
text: item.badge.text,
|
|
32135
32136
|
variant: "button",
|
|
@@ -32147,18 +32148,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
32147
32148
|
] }),
|
|
32148
32149
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary font-medium truncate", children: f.value })
|
|
32149
32150
|
] }, i)) }) : null,
|
|
32150
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32151
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
32151
32152
|
] }),
|
|
32152
32153
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
32153
32154
|
] });
|
|
32154
32155
|
if (anchorProps) {
|
|
32155
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
32156
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
32156
32157
|
}
|
|
32157
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
32158
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
32158
32159
|
}
|
|
32159
32160
|
function GenericEntityCardSkeleton({ className }) {
|
|
32160
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
32161
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32161
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJ54Z3OCRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
32162
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJ54Z3OCRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32162
32163
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
32163
32164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
32164
32165
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -32190,8 +32191,8 @@ function useChatCardItem(type, id) {
|
|
|
32190
32191
|
const res = await _chunkYETA25JWcjs.embedAuthedFetch.call(void 0, url);
|
|
32191
32192
|
if (!res.ok) return null;
|
|
32192
32193
|
const data = await res.json();
|
|
32193
|
-
const items =
|
|
32194
|
-
const match2 = items.find((it) =>
|
|
32194
|
+
const items = _chunkKXCRGTRNcjs.extractItems.call(void 0, data);
|
|
32195
|
+
const match2 = items.find((it) => _chunkKXCRGTRNcjs.extractItemId.call(void 0, type, it) === id);
|
|
32195
32196
|
return _nullishCoalesce(match2, () => ( null));
|
|
32196
32197
|
},
|
|
32197
32198
|
enabled: !!url && id.length > 0,
|
|
@@ -32227,7 +32228,7 @@ function CardMedia({
|
|
|
32227
32228
|
}) {
|
|
32228
32229
|
if (imageSrc) {
|
|
32229
32230
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
32230
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-xs font-medium text-ods-text-primary", children:
|
|
32231
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-xs font-medium text-ods-text-primary", children: _chunkJ54Z3OCRcjs.getFirstLastInitials.call(void 0, imageAlt) || "?" }),
|
|
32231
32232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32232
32233
|
"img",
|
|
32233
32234
|
{
|
|
@@ -32272,7 +32273,7 @@ function MingoInfoCard({
|
|
|
32272
32273
|
status ? (
|
|
32273
32274
|
// Reuse the shared Tag palette (single source of truth for colours)
|
|
32274
32275
|
// without rendering Tag's `<div>` — span-only for `<p>` validity.
|
|
32275
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
32276
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunkJ54Z3OCRcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(status.variant, () => ( "success")) }), "shrink-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
|
|
32276
32277
|
) : null
|
|
32277
32278
|
] });
|
|
32278
32279
|
const contentClass = _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -32290,7 +32291,7 @@ function MingoInfoCard({
|
|
|
32290
32291
|
children: [
|
|
32291
32292
|
isAnchor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: _chunkFIG2RKZFcjs.cn.call(void 0, contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, className: contentClass, children: content }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: contentClass, children: content }),
|
|
32292
32293
|
hasMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32293
|
-
|
|
32294
|
+
_chunk4W7NYJ3Bcjs.ActionsMenuDropdown,
|
|
32294
32295
|
{
|
|
32295
32296
|
groups: menuGroups,
|
|
32296
32297
|
triggerAriaLabel: menuAriaLabel,
|
|
@@ -32348,7 +32349,7 @@ function GitHubChatCard({
|
|
|
32348
32349
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
32349
32350
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
32350
32351
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
32351
|
-
const dateText =
|
|
32352
|
+
const dateText = _chunkJ54Z3OCRcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
32352
32353
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
32353
32354
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32354
32355
|
MingoInfoCard,
|
|
@@ -32357,7 +32358,7 @@ function GitHubChatCard({
|
|
|
32357
32358
|
description,
|
|
32358
32359
|
icon: githubKindIcon(kind),
|
|
32359
32360
|
status,
|
|
32360
|
-
anchorProps:
|
|
32361
|
+
anchorProps: _chunk4W7NYJ3Bcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32361
32362
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32362
32363
|
menuAriaLabel: "Activity actions"
|
|
32363
32364
|
}
|
|
@@ -32417,7 +32418,7 @@ function HubspotTicketChatCard({
|
|
|
32417
32418
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
32418
32419
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.TagIcon, { size: 24 }),
|
|
32419
32420
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
32420
|
-
anchorProps:
|
|
32421
|
+
anchorProps: _chunk4W7NYJ3Bcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32421
32422
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
32422
32423
|
label: "Open Ticket Details",
|
|
32423
32424
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.TagIcon, { size: 20 })
|
|
@@ -32440,7 +32441,7 @@ function FaqChatCard({
|
|
|
32440
32441
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
32441
32442
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.QuestionCircleIcon, { size: 24 }),
|
|
32442
32443
|
status: { label: statusLabel, variant: "grey" },
|
|
32443
|
-
anchorProps:
|
|
32444
|
+
anchorProps: _chunk4W7NYJ3Bcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32444
32445
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32445
32446
|
menuAriaLabel: "FAQ actions"
|
|
32446
32447
|
}
|
|
@@ -32460,7 +32461,7 @@ function SlackChatCard({
|
|
|
32460
32461
|
title,
|
|
32461
32462
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
32462
32463
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
32463
|
-
anchorProps:
|
|
32464
|
+
anchorProps: _chunk4W7NYJ3Bcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32464
32465
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32465
32466
|
menuAriaLabel: "Message actions"
|
|
32466
32467
|
}
|
|
@@ -32471,7 +32472,7 @@ function DataRoomDocChatCard({
|
|
|
32471
32472
|
isNewTab,
|
|
32472
32473
|
discuss
|
|
32473
32474
|
}) {
|
|
32474
|
-
const badgeText = chatRef.sourceRepo ?
|
|
32475
|
+
const badgeText = chatRef.sourceRepo ? _chunkJ54Z3OCRcjs.getSourceLabel.call(void 0, chatRef.sourceRepo) : "Document";
|
|
32475
32476
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32476
32477
|
MingoInfoCard,
|
|
32477
32478
|
{
|
|
@@ -32479,7 +32480,7 @@ function DataRoomDocChatCard({
|
|
|
32479
32480
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
32480
32481
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.FileContentIcon, { size: 24 }),
|
|
32481
32482
|
status: { label: badgeText, variant: "grey" },
|
|
32482
|
-
anchorProps:
|
|
32483
|
+
anchorProps: _chunk4W7NYJ3Bcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32483
32484
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32484
32485
|
menuAriaLabel: "Document actions"
|
|
32485
32486
|
}
|
|
@@ -32498,7 +32499,7 @@ function GenericFinancialChatCard({
|
|
|
32498
32499
|
title: chatRef.title,
|
|
32499
32500
|
description: subtitle,
|
|
32500
32501
|
icon,
|
|
32501
|
-
anchorProps:
|
|
32502
|
+
anchorProps: _chunk4W7NYJ3Bcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32502
32503
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32503
32504
|
menuAriaLabel: "Document actions"
|
|
32504
32505
|
}
|
|
@@ -32518,7 +32519,7 @@ function ChatCardWithDiscuss({
|
|
|
32518
32519
|
displayAction,
|
|
32519
32520
|
children
|
|
32520
32521
|
}) {
|
|
32521
|
-
const { Icon: SourceIcon, label: sourceLabel } =
|
|
32522
|
+
const { Icon: SourceIcon, label: sourceLabel } = _chunkJ54Z3OCRcjs.resolveSourceIcon.call(void 0, {
|
|
32522
32523
|
sourceRepo: chatRef.sourceRepo,
|
|
32523
32524
|
documentType: chatRef.type
|
|
32524
32525
|
});
|
|
@@ -32584,7 +32585,7 @@ function CampaignChatCard({
|
|
|
32584
32585
|
}) {
|
|
32585
32586
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _669 => _669.goals])) ? item.goals.length : 0;
|
|
32586
32587
|
const meta = [
|
|
32587
|
-
_optionalChain([item, 'optionalAccess', _670 => _670.start_date]) ?
|
|
32588
|
+
_optionalChain([item, 'optionalAccess', _670 => _670.start_date]) ? _chunkKXCRGTRNcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
32588
32589
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
32589
32590
|
"Marketing campaign"
|
|
32590
32591
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -32621,7 +32622,7 @@ function EntityMingoCard({
|
|
|
32621
32622
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
32622
32623
|
icon: fallbackIcon,
|
|
32623
32624
|
status,
|
|
32624
|
-
anchorProps:
|
|
32625
|
+
anchorProps: _chunk4W7NYJ3Bcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
32625
32626
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
32626
32627
|
menuAriaLabel
|
|
32627
32628
|
}
|
|
@@ -32633,7 +32634,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
32633
32634
|
function statusPill(status) {
|
|
32634
32635
|
const s = typeof status === "string" ? status.trim() : "";
|
|
32635
32636
|
if (!s) return void 0;
|
|
32636
|
-
const scheme =
|
|
32637
|
+
const scheme = _chunkKXCRGTRNcjs.getStatusColorScheme.call(void 0, s);
|
|
32637
32638
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
32638
32639
|
return { label: s, variant };
|
|
32639
32640
|
}
|
|
@@ -32767,15 +32768,15 @@ function ProgramChatCard({
|
|
|
32767
32768
|
const isScheduled = _optionalChain([item, 'optionalAccess', _708 => _708.status]) === "scheduled";
|
|
32768
32769
|
let typeMeta;
|
|
32769
32770
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _709 => _709.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
32770
|
-
typeMeta =
|
|
32771
|
+
typeMeta = _chunkJ54Z3OCRcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
32771
32772
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _710 => _710.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
32772
32773
|
typeMeta = item.location_name;
|
|
32773
32774
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _711 => _711.start_at])) {
|
|
32774
|
-
const time =
|
|
32775
|
-
const dur =
|
|
32775
|
+
const time = _chunkJ54Z3OCRcjs.formatTimeWithTimezone.call(void 0, item.start_at, null);
|
|
32776
|
+
const dur = _chunkJ54Z3OCRcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
32776
32777
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
32777
32778
|
}
|
|
32778
|
-
const itemDate =
|
|
32779
|
+
const itemDate = _chunkJ54Z3OCRcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _712 => _712.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
32779
32780
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
32780
32781
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32781
32782
|
EntityMingoCard,
|
|
@@ -33135,7 +33136,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
33135
33136
|
bareInline: true,
|
|
33136
33137
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
33137
33138
|
displayAction: true,
|
|
33138
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33139
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4W7NYJ3Bcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
33139
33140
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33140
33141
|
OnboardingGuideChatCard,
|
|
33141
33142
|
{
|
|
@@ -33200,7 +33201,7 @@ function ChatCardLoader({
|
|
|
33200
33201
|
}) {
|
|
33201
33202
|
const runtime = _chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, );
|
|
33202
33203
|
const resolvedChatRef = React95.default.useMemo(() => {
|
|
33203
|
-
const cta =
|
|
33204
|
+
const cta = _chunkJ54Z3OCRcjs.resolveSourceRowCTA.call(void 0,
|
|
33204
33205
|
{
|
|
33205
33206
|
sourceRepo: chatRef.sourceRepo,
|
|
33206
33207
|
documentType: chatRef.type,
|
|
@@ -33210,9 +33211,9 @@ function ChatCardLoader({
|
|
|
33210
33211
|
targetPlatform: chatRef.targetPlatform,
|
|
33211
33212
|
path: typeof _optionalChain([chatRef, 'access', _756 => _756.metadata, 'optionalAccess', _757 => _757.path]) === "string" ? chatRef.metadata.path : null
|
|
33212
33213
|
},
|
|
33213
|
-
|
|
33214
|
+
_chunkJ54Z3OCRcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
33214
33215
|
);
|
|
33215
|
-
const finalHref = cta.href ?
|
|
33216
|
+
const finalHref = cta.href ? _chunkJ54Z3OCRcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime) : null;
|
|
33216
33217
|
return {
|
|
33217
33218
|
...chatRef,
|
|
33218
33219
|
url: _nullishCoalesce(finalHref, () => ( chatRef.url)),
|
|
@@ -33228,9 +33229,9 @@ function ChatCardLoader({
|
|
|
33228
33229
|
if (!entry) return null;
|
|
33229
33230
|
const finalChatRef = fetchEntry && !resolvedChatRef.url && item && fetchEntry.fallbackHref ? {
|
|
33230
33231
|
...resolvedChatRef,
|
|
33231
|
-
url:
|
|
33232
|
+
url: _chunkJ54Z3OCRcjs.safeHref.call(void 0, fetchEntry.fallbackHref(item))
|
|
33232
33233
|
} : resolvedChatRef;
|
|
33233
|
-
const isNewTab =
|
|
33234
|
+
const isNewTab = _chunk4W7NYJ3Bcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
33234
33235
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
33235
33236
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
33236
33237
|
const discuss = discussFn ? {
|
|
@@ -33444,7 +33445,7 @@ function useChunkCatchup({
|
|
|
33444
33445
|
let lastMessageEndSeqId = null;
|
|
33445
33446
|
for (let i = uniqueAllChunks.length - 1; i >= 0; i--) {
|
|
33446
33447
|
const seq = uniqueAllChunks[i].chunk.sequenceId;
|
|
33447
|
-
if (uniqueAllChunks[i].chunk.type ===
|
|
33448
|
+
if (uniqueAllChunks[i].chunk.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.MESSAGE_END && seq !== void 0 && seq !== null) {
|
|
33448
33449
|
lastMessageEndSeqId = seq;
|
|
33449
33450
|
break;
|
|
33450
33451
|
}
|
|
@@ -33452,7 +33453,7 @@ function useChunkCatchup({
|
|
|
33452
33453
|
for (let i = uniqueAllChunks.length - 1; i >= 0; i--) {
|
|
33453
33454
|
const chunk = uniqueAllChunks[i].chunk;
|
|
33454
33455
|
const seq = chunk.sequenceId;
|
|
33455
|
-
if (chunk.type ===
|
|
33456
|
+
if (chunk.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.MESSAGE_START && seq !== void 0 && seq !== null) {
|
|
33456
33457
|
if (lastMessageEndSeqId === null || seq > lastMessageEndSeqId) {
|
|
33457
33458
|
lastMessageStartSeqId = seq;
|
|
33458
33459
|
break;
|
|
@@ -34066,11 +34067,11 @@ function parseChunkToAction(chunk) {
|
|
|
34066
34067
|
const data = chunk;
|
|
34067
34068
|
const type = String(data.type || "");
|
|
34068
34069
|
switch (type) {
|
|
34069
|
-
case
|
|
34070
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.MESSAGE_START:
|
|
34070
34071
|
return { action: "message_start" };
|
|
34071
|
-
case
|
|
34072
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.MESSAGE_END:
|
|
34072
34073
|
return { action: "message_end" };
|
|
34073
|
-
case
|
|
34074
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.AI_METADATA: {
|
|
34074
34075
|
const providerName = data.providerName || data.provider;
|
|
34075
34076
|
if (typeof data.modelName === "string" && typeof providerName === "string") {
|
|
34076
34077
|
return {
|
|
@@ -34083,17 +34084,17 @@ function parseChunkToAction(chunk) {
|
|
|
34083
34084
|
}
|
|
34084
34085
|
return null;
|
|
34085
34086
|
}
|
|
34086
|
-
case
|
|
34087
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.TEXT:
|
|
34087
34088
|
if (typeof data.text === "string") {
|
|
34088
34089
|
return { action: "text", text: data.text };
|
|
34089
34090
|
}
|
|
34090
34091
|
return null;
|
|
34091
|
-
case
|
|
34092
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.THINKING:
|
|
34092
34093
|
if (typeof data.text === "string") {
|
|
34093
34094
|
return { action: "thinking", text: data.text };
|
|
34094
34095
|
}
|
|
34095
34096
|
return null;
|
|
34096
|
-
case
|
|
34097
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.EXECUTING_TOOL:
|
|
34097
34098
|
return {
|
|
34098
34099
|
action: "tool_execution",
|
|
34099
34100
|
segment: {
|
|
@@ -34108,7 +34109,7 @@ function parseChunkToAction(chunk) {
|
|
|
34108
34109
|
}
|
|
34109
34110
|
}
|
|
34110
34111
|
};
|
|
34111
|
-
case
|
|
34112
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.EXECUTED_TOOL:
|
|
34112
34113
|
return {
|
|
34113
34114
|
action: "tool_execution",
|
|
34114
34115
|
segment: {
|
|
@@ -34125,7 +34126,7 @@ function parseChunkToAction(chunk) {
|
|
|
34125
34126
|
}
|
|
34126
34127
|
}
|
|
34127
34128
|
};
|
|
34128
|
-
case
|
|
34129
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.APPROVAL_REQUEST: {
|
|
34129
34130
|
const requestId = data.approvalRequestId || data.approval_request_id || "";
|
|
34130
34131
|
const approvalType = data.approvalType || "USER";
|
|
34131
34132
|
const toolCalls = normalizeToolCalls(data.toolCalls);
|
|
@@ -34145,7 +34146,7 @@ function parseChunkToAction(chunk) {
|
|
|
34145
34146
|
approvalType
|
|
34146
34147
|
};
|
|
34147
34148
|
}
|
|
34148
|
-
case
|
|
34149
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.APPROVAL_RESULT: {
|
|
34149
34150
|
const resolvedByName = typeof data.resolvedByName === "string" ? data.resolvedByName : typeof data.displayName === "string" ? data.displayName : void 0;
|
|
34150
34151
|
return {
|
|
34151
34152
|
action: "approval_result",
|
|
@@ -34155,13 +34156,13 @@ function parseChunkToAction(chunk) {
|
|
|
34155
34156
|
resolvedByName
|
|
34156
34157
|
};
|
|
34157
34158
|
}
|
|
34158
|
-
case
|
|
34159
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.ERROR:
|
|
34159
34160
|
return {
|
|
34160
34161
|
action: "error",
|
|
34161
34162
|
error: data.error || "An error occurred",
|
|
34162
34163
|
details: data.details
|
|
34163
34164
|
};
|
|
34164
|
-
case
|
|
34165
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.MESSAGE_REQUEST:
|
|
34165
34166
|
return {
|
|
34166
34167
|
action: "message_request",
|
|
34167
34168
|
text: String(data.text || ""),
|
|
@@ -34176,7 +34177,7 @@ function parseChunkToAction(chunk) {
|
|
|
34176
34177
|
// message sources producing an identical shape.
|
|
34177
34178
|
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _799 => _799.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _800 => _800.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
|
|
34178
34179
|
};
|
|
34179
|
-
case
|
|
34180
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.TOKEN_USAGE:
|
|
34180
34181
|
return {
|
|
34181
34182
|
action: "token_usage",
|
|
34182
34183
|
data: {
|
|
@@ -34186,19 +34187,19 @@ function parseChunkToAction(chunk) {
|
|
|
34186
34187
|
contextSize: _nullishCoalesce(data.contextSize, () => ( 0))
|
|
34187
34188
|
}
|
|
34188
34189
|
};
|
|
34189
|
-
case
|
|
34190
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.CONTEXT_COMPACTION_START:
|
|
34190
34191
|
return { action: "context_compaction_start" };
|
|
34191
|
-
case
|
|
34192
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.CONTEXT_COMPACTION_END:
|
|
34192
34193
|
return {
|
|
34193
34194
|
action: "context_compaction_end",
|
|
34194
34195
|
summary: typeof data.text === "string" ? data.text : void 0
|
|
34195
34196
|
};
|
|
34196
|
-
case
|
|
34197
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.SYSTEM:
|
|
34197
34198
|
if (typeof data.text === "string") {
|
|
34198
34199
|
return { action: "system", text: data.text };
|
|
34199
34200
|
}
|
|
34200
34201
|
return null;
|
|
34201
|
-
case
|
|
34202
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.DIRECT_MESSAGE:
|
|
34202
34203
|
if (typeof data.text === "string") {
|
|
34203
34204
|
return {
|
|
34204
34205
|
action: "direct_message",
|
|
@@ -34209,7 +34210,7 @@ function parseChunkToAction(chunk) {
|
|
|
34209
34210
|
};
|
|
34210
34211
|
}
|
|
34211
34212
|
return null;
|
|
34212
|
-
case
|
|
34213
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.DIALOG_CLOSED:
|
|
34213
34214
|
return { action: "dialog_closed" };
|
|
34214
34215
|
default:
|
|
34215
34216
|
return null;
|
|
@@ -34219,22 +34220,22 @@ function isControlChunk(chunk) {
|
|
|
34219
34220
|
if (!chunk || typeof chunk !== "object") return false;
|
|
34220
34221
|
const data = chunk;
|
|
34221
34222
|
const type = String(data.type || "");
|
|
34222
|
-
return type ===
|
|
34223
|
+
return type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.MESSAGE_START || type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.MESSAGE_END;
|
|
34223
34224
|
}
|
|
34224
34225
|
function isErrorChunk(chunk) {
|
|
34225
34226
|
if (!chunk || typeof chunk !== "object") return false;
|
|
34226
34227
|
const data = chunk;
|
|
34227
|
-
return data.type ===
|
|
34228
|
+
return data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.ERROR;
|
|
34228
34229
|
}
|
|
34229
34230
|
function isMetadataChunk(chunk) {
|
|
34230
34231
|
if (!chunk || typeof chunk !== "object") return false;
|
|
34231
34232
|
const data = chunk;
|
|
34232
|
-
return data.type ===
|
|
34233
|
+
return data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.AI_METADATA;
|
|
34233
34234
|
}
|
|
34234
34235
|
function extractTextFromChunk(chunk) {
|
|
34235
34236
|
if (!chunk || typeof chunk !== "object") return null;
|
|
34236
34237
|
const data = chunk;
|
|
34237
|
-
if (data.type ===
|
|
34238
|
+
if (data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.TEXT && typeof data.text === "string") {
|
|
34238
34239
|
return data.text;
|
|
34239
34240
|
}
|
|
34240
34241
|
return null;
|
|
@@ -34690,7 +34691,6 @@ function useRealtimeChunkProcessor(options) {
|
|
|
34690
34691
|
displayApprovalTypes = ["CLIENT"],
|
|
34691
34692
|
approvalStatuses = {},
|
|
34692
34693
|
initialState,
|
|
34693
|
-
enableThinking = false,
|
|
34694
34694
|
// Owned by the consumer (e.g. oss-tenant chat client / openframe-frontend
|
|
34695
34695
|
// tickets view). Default ON so consumers that haven't wired the flag yet
|
|
34696
34696
|
// get the new batch UI; pass `false` explicitly to fall back to legacy.
|
|
@@ -34727,9 +34727,6 @@ function useRealtimeChunkProcessor(options) {
|
|
|
34727
34727
|
const pendingEscalatedRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
|
|
34728
34728
|
const processChunk = _react.useCallback.call(void 0,
|
|
34729
34729
|
(chunk) => {
|
|
34730
|
-
if (!enableThinking && chunk && typeof chunk === "object" && chunk.type === _chunkZ6BK4XHHcjs.MESSAGE_TYPE.THINKING) {
|
|
34731
|
-
return;
|
|
34732
|
-
}
|
|
34733
34730
|
const action = parseChunkToAction(chunk);
|
|
34734
34731
|
if (!action) return;
|
|
34735
34732
|
const accumulator = accumulatorRef.current;
|
|
@@ -34955,7 +34952,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
34955
34952
|
break;
|
|
34956
34953
|
}
|
|
34957
34954
|
},
|
|
34958
|
-
[callbacks, displayApprovalTypes, approvalStatuses, initialState
|
|
34955
|
+
[callbacks, displayApprovalTypes, approvalStatuses, initialState]
|
|
34959
34956
|
);
|
|
34960
34957
|
const getSegments = _react.useCallback.call(void 0, () => {
|
|
34961
34958
|
return accumulatorRef.current.getSegments();
|
|
@@ -35842,7 +35839,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
35842
35839
|
const apiMessages = [
|
|
35843
35840
|
...currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
|
|
35844
35841
|
role: m.role,
|
|
35845
|
-
content: typeof m.content === "string" ? m.content :
|
|
35842
|
+
content: typeof m.content === "string" ? m.content : _chunkKXCRGTRNcjs.flattenAssistantContent.call(void 0, m.content)
|
|
35846
35843
|
})),
|
|
35847
35844
|
{ role: "user", content: message2 }
|
|
35848
35845
|
];
|
|
@@ -35852,7 +35849,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
35852
35849
|
action: extra.approvalAction.action,
|
|
35853
35850
|
messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
|
|
35854
35851
|
role: m.role,
|
|
35855
|
-
content: typeof m.content === "string" ? m.content :
|
|
35852
|
+
content: typeof m.content === "string" ? m.content : _chunkKXCRGTRNcjs.flattenAssistantContent.call(void 0, m.content)
|
|
35856
35853
|
}))
|
|
35857
35854
|
} : {
|
|
35858
35855
|
messages: apiMessages,
|
|
@@ -36020,7 +36017,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
36020
36017
|
});
|
|
36021
36018
|
bumpMetaTick();
|
|
36022
36019
|
}
|
|
36023
|
-
const parsedAnchor =
|
|
36020
|
+
const parsedAnchor = _chunkKXCRGTRNcjs.parseScrollAnchor.call(void 0, meta.scrollAnchor);
|
|
36024
36021
|
if (parsedAnchor !== null) {
|
|
36025
36022
|
mergeTurnMeta(metaMapRef, sendIdx, { scrollAnchor: parsedAnchor });
|
|
36026
36023
|
bumpMetaTick();
|
|
@@ -36118,7 +36115,7 @@ function loadPersistedChat(source) {
|
|
|
36118
36115
|
if (!parsed || !Array.isArray(parsed.messages)) return null;
|
|
36119
36116
|
for (const m of parsed.messages) {
|
|
36120
36117
|
if (typeof m.timestamp === "string") m.timestamp = new Date(m.timestamp);
|
|
36121
|
-
if (m.role === "user" && !m.hidden && typeof m.content === "string" && m.content.startsWith(
|
|
36118
|
+
if (m.role === "user" && !m.hidden && typeof m.content === "string" && m.content.startsWith(_chunkKXCRGTRNcjs.AUTO_CONTINUATION_DIRECTIVE_PREFIX)) {
|
|
36122
36119
|
m.hidden = true;
|
|
36123
36120
|
}
|
|
36124
36121
|
}
|
|
@@ -36138,7 +36135,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
36138
36135
|
const { active = true } = runtimeOptions;
|
|
36139
36136
|
const runtime = _chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, );
|
|
36140
36137
|
const source = runtime.source || DEFAULT_CHAT_SOURCE;
|
|
36141
|
-
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _899 => _899.tableIdForDocumentType]), () => (
|
|
36138
|
+
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _899 => _899.tableIdForDocumentType]), () => ( _chunkJ54Z3OCRcjs.defaultTableIdForDocumentType));
|
|
36142
36139
|
const persistedRef = _react.useRef.call(void 0, null);
|
|
36143
36140
|
if (persistedRef.current === null) {
|
|
36144
36141
|
pruneStaleChatStorage(source);
|
|
@@ -36292,7 +36289,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
36292
36289
|
return;
|
|
36293
36290
|
}
|
|
36294
36291
|
const refSlug = typeof _optionalChain([reference, 'access', _904 => _904.metadata, 'optionalAccess', _905 => _905.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
|
|
36295
|
-
const queryValue = refSlug ||
|
|
36292
|
+
const queryValue = refSlug || _chunkKXCRGTRNcjs.sanitizeTitleForChat.call(void 0, reference.title) || reference.id;
|
|
36296
36293
|
const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
36297
36294
|
const text = `/${cmdId} display "${escaped}"`;
|
|
36298
36295
|
sendMessage(text);
|
|
@@ -36315,7 +36312,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
36315
36312
|
);
|
|
36316
36313
|
return;
|
|
36317
36314
|
}
|
|
36318
|
-
const sanitizedTitle =
|
|
36315
|
+
const sanitizedTitle = _chunkKXCRGTRNcjs.sanitizeTitleForChat.call(void 0, reference.title);
|
|
36319
36316
|
const prompt = `Tell me more about ${sanitizedTitle || "this item"}`;
|
|
36320
36317
|
sendMessage(prompt, {
|
|
36321
36318
|
commandOverride: { entityIdFilter: { tableId, id: refId } }
|
|
@@ -36444,7 +36441,7 @@ function getOwnerAvatar(owner) {
|
|
|
36444
36441
|
}
|
|
36445
36442
|
function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
|
|
36446
36443
|
messageDataArray.forEach((data) => {
|
|
36447
|
-
if (data.type ===
|
|
36444
|
+
if (data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.SYSTEM && "text" in data && data.text) {
|
|
36448
36445
|
processedMessages.push({
|
|
36449
36446
|
id: msg.id,
|
|
36450
36447
|
role: "user",
|
|
@@ -36496,7 +36493,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
36496
36493
|
if (chatTypeFilter && msg.chatType !== chatTypeFilter) return;
|
|
36497
36494
|
const messageDataArray = Array.isArray(msg.messageData) ? msg.messageData : msg.messageData ? [msg.messageData] : [];
|
|
36498
36495
|
const hasStandaloneData = messageDataArray.some(
|
|
36499
|
-
(data) => data.type ===
|
|
36496
|
+
(data) => data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.SYSTEM
|
|
36500
36497
|
);
|
|
36501
36498
|
if (hasStandaloneData) {
|
|
36502
36499
|
flushAssistantMessage();
|
|
@@ -36508,7 +36505,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
36508
36505
|
flushAssistantMessage();
|
|
36509
36506
|
const userAuthorType = _optionalChain([msg, 'access', _922 => _922.owner, 'optionalAccess', _923 => _923.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
36510
36507
|
messageDataArray.forEach((data) => {
|
|
36511
|
-
if (data.type ===
|
|
36508
|
+
if (data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
36512
36509
|
const rawContext = data.contextItems;
|
|
36513
36510
|
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _924 => _924.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _925 => _925.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
36514
36511
|
processedMessages.push({
|
|
@@ -36561,17 +36558,17 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
36561
36558
|
function processMessageData(data, accumulator, approvalStatuses, options = {}, escalatedApprovals) {
|
|
36562
36559
|
const { displayApprovalTypes, batchApprovalsEnabled = true } = options;
|
|
36563
36560
|
switch (data.type) {
|
|
36564
|
-
case
|
|
36561
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.TEXT:
|
|
36565
36562
|
if ("text" in data && data.text) {
|
|
36566
36563
|
accumulator.appendText(data.text);
|
|
36567
36564
|
}
|
|
36568
36565
|
break;
|
|
36569
|
-
case
|
|
36566
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.THINKING:
|
|
36570
36567
|
if ("text" in data && data.text) {
|
|
36571
36568
|
accumulator.appendThinking(data.text);
|
|
36572
36569
|
}
|
|
36573
36570
|
break;
|
|
36574
|
-
case
|
|
36571
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.EXECUTING_TOOL:
|
|
36575
36572
|
if ("integratedToolType" in data) {
|
|
36576
36573
|
accumulator.addToolExecution({
|
|
36577
36574
|
type: "tool_execution",
|
|
@@ -36586,7 +36583,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
36586
36583
|
});
|
|
36587
36584
|
}
|
|
36588
36585
|
break;
|
|
36589
|
-
case
|
|
36586
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.EXECUTED_TOOL:
|
|
36590
36587
|
if ("integratedToolType" in data) {
|
|
36591
36588
|
accumulator.addToolExecution({
|
|
36592
36589
|
type: "tool_execution",
|
|
@@ -36603,7 +36600,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
36603
36600
|
});
|
|
36604
36601
|
}
|
|
36605
36602
|
break;
|
|
36606
|
-
case
|
|
36603
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.APPROVAL_REQUEST:
|
|
36607
36604
|
if ("approvalRequestId" in data && data.approvalRequestId) {
|
|
36608
36605
|
const approvalType = data.approvalType || "CLIENT";
|
|
36609
36606
|
const toolCalls = Array.isArray(data.toolCalls) ? data.toolCalls : void 0;
|
|
@@ -36653,7 +36650,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
36653
36650
|
}
|
|
36654
36651
|
}
|
|
36655
36652
|
break;
|
|
36656
|
-
case
|
|
36653
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.APPROVAL_RESULT:
|
|
36657
36654
|
if ("approvalRequestId" in data && data.approvalRequestId) {
|
|
36658
36655
|
const existingStatus = approvalStatuses[data.approvalRequestId];
|
|
36659
36656
|
const status = existingStatus || (data.approved ? "approved" : "rejected");
|
|
@@ -36703,7 +36700,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
36703
36700
|
);
|
|
36704
36701
|
}
|
|
36705
36702
|
break;
|
|
36706
|
-
case
|
|
36703
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.ERROR:
|
|
36707
36704
|
if ("error" in data) {
|
|
36708
36705
|
let message2;
|
|
36709
36706
|
if ("details" in data && _optionalChain([data, 'optionalAccess', _939 => _939.details])) {
|
|
@@ -36719,10 +36716,10 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
36719
36716
|
);
|
|
36720
36717
|
}
|
|
36721
36718
|
break;
|
|
36722
|
-
case
|
|
36719
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.CONTEXT_COMPACTION_START:
|
|
36723
36720
|
accumulator.addContextCompaction();
|
|
36724
36721
|
break;
|
|
36725
|
-
case
|
|
36722
|
+
case _chunkKXCRGTRNcjs.MESSAGE_TYPE.CONTEXT_COMPACTION_END: {
|
|
36726
36723
|
const summary = "summary" in data && typeof data.summary === "string" ? data.summary : void 0;
|
|
36727
36724
|
accumulator.completeContextCompaction(summary);
|
|
36728
36725
|
break;
|
|
@@ -36738,7 +36735,7 @@ function extractErrorMessages(messages, options = {}) {
|
|
|
36738
36735
|
if (chatTypeFilter && msg.chatType !== chatTypeFilter) return;
|
|
36739
36736
|
const messageDataArray = Array.isArray(msg.messageData) ? msg.messageData : msg.messageData ? [msg.messageData] : [];
|
|
36740
36737
|
messageDataArray.forEach((data) => {
|
|
36741
|
-
if (data.type ===
|
|
36738
|
+
if (data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.ERROR) {
|
|
36742
36739
|
errorMessages.push({
|
|
36743
36740
|
id: `${msg.id}-error`,
|
|
36744
36741
|
role: "error",
|
|
@@ -36784,7 +36781,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
36784
36781
|
if (chatTypeFilter && msg.chatType !== chatTypeFilter) return;
|
|
36785
36782
|
const messageDataArray = Array.isArray(msg.messageData) ? msg.messageData : msg.messageData ? [msg.messageData] : [];
|
|
36786
36783
|
const hasStandaloneData = messageDataArray.some(
|
|
36787
|
-
(data) => data.type ===
|
|
36784
|
+
(data) => data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.SYSTEM
|
|
36788
36785
|
);
|
|
36789
36786
|
if (hasStandaloneData) {
|
|
36790
36787
|
flushAssistantMessage();
|
|
@@ -36796,7 +36793,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
36796
36793
|
flushAssistantMessage();
|
|
36797
36794
|
const userAuthorType = _optionalChain([msg, 'access', _948 => _948.owner, 'optionalAccess', _949 => _949.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
36798
36795
|
messageDataArray.forEach((data) => {
|
|
36799
|
-
if (data.type ===
|
|
36796
|
+
if (data.type === _chunkKXCRGTRNcjs.MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
36800
36797
|
const rawContext = data.contextItems;
|
|
36801
36798
|
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _950 => _950.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _951 => _951.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
36802
36799
|
processedMessages.push({
|
|
@@ -36899,7 +36896,6 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
36899
36896
|
publishUserMessage,
|
|
36900
36897
|
fetchChunks,
|
|
36901
36898
|
topics,
|
|
36902
|
-
enableThinking,
|
|
36903
36899
|
batchApprovalsEnabled,
|
|
36904
36900
|
fetchDialogs,
|
|
36905
36901
|
fetchDialogMessages,
|
|
@@ -37007,7 +37003,6 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
37007
37003
|
onApprove: accumApprove,
|
|
37008
37004
|
onReject: accumReject
|
|
37009
37005
|
},
|
|
37010
|
-
enableThinking,
|
|
37011
37006
|
batchApprovalsEnabled
|
|
37012
37007
|
});
|
|
37013
37008
|
const {
|
|
@@ -37982,7 +37977,7 @@ function dispatchSlashCommandAction(actionId, cmdId, ref) {
|
|
|
37982
37977
|
if (!input) return;
|
|
37983
37978
|
switch (actionId) {
|
|
37984
37979
|
case "browse":
|
|
37985
|
-
input.submit(
|
|
37980
|
+
input.submit(_chunkKXCRGTRNcjs.formatSingularLookupInvocation.call(void 0, cmdId));
|
|
37986
37981
|
return;
|
|
37987
37982
|
case "search":
|
|
37988
37983
|
input.setValue(`/${cmdId} `);
|
|
@@ -38008,7 +38003,7 @@ function SourceChip({
|
|
|
38008
38003
|
}) {
|
|
38009
38004
|
const runtime = _chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, );
|
|
38010
38005
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
38011
|
-
const cta =
|
|
38006
|
+
const cta = _chunkJ54Z3OCRcjs.resolveSourceRowCTA.call(void 0,
|
|
38012
38007
|
{
|
|
38013
38008
|
sourceRepo: src.sourceRepo,
|
|
38014
38009
|
documentType: src.documentType,
|
|
@@ -38018,15 +38013,15 @@ function SourceChip({
|
|
|
38018
38013
|
targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
|
|
38019
38014
|
path: src.path
|
|
38020
38015
|
},
|
|
38021
|
-
|
|
38016
|
+
_chunkJ54Z3OCRcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
38022
38017
|
);
|
|
38023
38018
|
const Icon2 = cta.icon;
|
|
38024
38019
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className: "h-3.5 w-3.5" });
|
|
38025
38020
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
38026
|
-
const decideTab = (href, targetPlatform) =>
|
|
38021
|
+
const decideTab = (href, targetPlatform) => _chunk4W7NYJ3Bcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
38027
38022
|
if (src.items && src.items.length > 0) {
|
|
38028
38023
|
const dropdownItems = src.items.map((item) => {
|
|
38029
|
-
const itemCta =
|
|
38024
|
+
const itemCta = _chunkJ54Z3OCRcjs.resolveSourceRowCTA.call(void 0,
|
|
38030
38025
|
{
|
|
38031
38026
|
sourceRepo: src.sourceRepo,
|
|
38032
38027
|
documentType: item.documentType,
|
|
@@ -38036,7 +38031,7 @@ function SourceChip({
|
|
|
38036
38031
|
targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
|
|
38037
38032
|
path: item.path
|
|
38038
38033
|
},
|
|
38039
|
-
|
|
38034
|
+
_chunkJ54Z3OCRcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
38040
38035
|
);
|
|
38041
38036
|
const ItemIcon = itemCta.icon;
|
|
38042
38037
|
return {
|
|
@@ -38105,14 +38100,14 @@ function SourceChip({
|
|
|
38105
38100
|
if (handled && !isNewTab && onClose) onClose();
|
|
38106
38101
|
};
|
|
38107
38102
|
if (cta.href && !!src.externalUrl) {
|
|
38108
|
-
const resolvedHref =
|
|
38103
|
+
const resolvedHref = _chunkJ54Z3OCRcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
|
|
38109
38104
|
const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
|
|
38110
38105
|
return wrapChip(
|
|
38111
38106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38112
38107
|
"a",
|
|
38113
38108
|
{
|
|
38114
38109
|
href: resolvedHref,
|
|
38115
|
-
...
|
|
38110
|
+
..._chunk4W7NYJ3Bcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
38116
38111
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
38117
38112
|
className: chipClass,
|
|
38118
38113
|
children: chipBody(src.name)
|
|
@@ -38121,14 +38116,14 @@ function SourceChip({
|
|
|
38121
38116
|
);
|
|
38122
38117
|
}
|
|
38123
38118
|
if (cta.href) {
|
|
38124
|
-
const resolvedHref =
|
|
38119
|
+
const resolvedHref = _chunkJ54Z3OCRcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
|
|
38125
38120
|
const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
|
|
38126
38121
|
return wrapChip(
|
|
38127
38122
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38128
38123
|
"a",
|
|
38129
38124
|
{
|
|
38130
38125
|
href: resolvedHref,
|
|
38131
|
-
...
|
|
38126
|
+
..._chunk4W7NYJ3Bcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
38132
38127
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
38133
38128
|
className: chipClass,
|
|
38134
38129
|
title: displayName,
|
|
@@ -38258,7 +38253,7 @@ function EmbeddableChatInner({
|
|
|
38258
38253
|
}
|
|
38259
38254
|
}
|
|
38260
38255
|
}, [open, onOpenChange]);
|
|
38261
|
-
const [isOpen = false, setIsOpen] =
|
|
38256
|
+
const [isOpen = false, setIsOpen] = _chunk4W7NYJ3Bcjs.useControllableState.call(void 0, {
|
|
38262
38257
|
prop: open,
|
|
38263
38258
|
defaultProp: _nullishCoalesce(defaultOpen, () => ( false)),
|
|
38264
38259
|
onChange: onOpenChange
|
|
@@ -38300,9 +38295,9 @@ function EmbeddableChatInner({
|
|
|
38300
38295
|
() => ({
|
|
38301
38296
|
fetchCommands: (prefix, signal) => fetchSlashCommands(prefix, signal, commandsUrl),
|
|
38302
38297
|
resolveSourceIcon: (sourceId) => {
|
|
38303
|
-
const iconName =
|
|
38298
|
+
const iconName = _chunkJ54Z3OCRcjs.getSourceIconName.call(void 0, sourceId);
|
|
38304
38299
|
if (!iconName) return void 0;
|
|
38305
|
-
return { Icon:
|
|
38300
|
+
return { Icon: _chunkJ54Z3OCRcjs.getIconComponent.call(void 0, iconName), label: sourceId };
|
|
38306
38301
|
},
|
|
38307
38302
|
onAction: (cmd, actionId) => {
|
|
38308
38303
|
dispatchSlashCommandAction(actionId, cmd.id, chatInputRef);
|
|
@@ -38552,7 +38547,7 @@ function EmbeddableChatInner({
|
|
|
38552
38547
|
(text) => {
|
|
38553
38548
|
let augmentedText = text;
|
|
38554
38549
|
if (readyAttachments.length > 0) {
|
|
38555
|
-
const markdown = readyAttachments.map((att) =>
|
|
38550
|
+
const markdown = readyAttachments.map((att) => _chunkKXCRGTRNcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
|
|
38556
38551
|
augmentedText = `${text}${markdown}`;
|
|
38557
38552
|
}
|
|
38558
38553
|
sendMessage(augmentedText, {
|
|
@@ -39560,4 +39555,4 @@ function EmbeddableChatInner({
|
|
|
39560
39555
|
|
|
39561
39556
|
|
|
39562
39557
|
exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.Autocomplete = Autocomplete; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ColorSwatch = ColorSwatch; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.useChatCardItem = useChatCardItem; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
39563
|
-
//# sourceMappingURL=chunk-
|
|
39558
|
+
//# sourceMappingURL=chunk-V6YZGLHZ.cjs.map
|