@flamingo-stack/openframe-frontend-core 0.0.622 → 0.0.623-snapshot.20260914025439
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-DV7IBKJI.cjs → chunk-2MMEPNSX.cjs} +8 -8
- package/dist/{chunk-DV7IBKJI.cjs.map → chunk-2MMEPNSX.cjs.map} +1 -1
- package/dist/{chunk-F4GW2DPW.js → chunk-56CBPVCF.js} +5 -5
- package/dist/{chunk-CLPPOP5T.cjs → chunk-5JOKGJSG.cjs} +11 -11
- package/dist/{chunk-CLPPOP5T.cjs.map → chunk-5JOKGJSG.cjs.map} +1 -1
- package/dist/{chunk-C6Y5FZMJ.cjs → chunk-AO6CJFQU.cjs} +18 -18
- package/dist/{chunk-C6Y5FZMJ.cjs.map → chunk-AO6CJFQU.cjs.map} +1 -1
- package/dist/{chunk-2BJONQDE.cjs → chunk-BC4GLCNE.cjs} +42 -42
- package/dist/{chunk-2BJONQDE.cjs.map → chunk-BC4GLCNE.cjs.map} +1 -1
- package/dist/{chunk-XAUPFCIJ.js → chunk-BXKM4GFD.js} +9 -2
- package/dist/chunk-BXKM4GFD.js.map +1 -0
- package/dist/{chunk-IP4OYYDY.cjs → chunk-C4Y3TEKO.cjs} +174 -174
- package/dist/{chunk-IP4OYYDY.cjs.map → chunk-C4Y3TEKO.cjs.map} +1 -1
- package/dist/{chunk-QUL55PJP.js → chunk-CP4YNYQA.js} +4 -4
- package/dist/{chunk-KTYYH3JV.cjs → chunk-D3IW3CSH.cjs} +5 -5
- package/dist/{chunk-KTYYH3JV.cjs.map → chunk-D3IW3CSH.cjs.map} +1 -1
- package/dist/{chunk-6TML2UIF.cjs → chunk-DPFMA6JD.cjs} +63 -63
- package/dist/{chunk-6TML2UIF.cjs.map → chunk-DPFMA6JD.cjs.map} +1 -1
- package/dist/{chunk-ME4C6DYA.cjs → chunk-DY4XQFGC.cjs} +12 -12
- package/dist/{chunk-ME4C6DYA.cjs.map → chunk-DY4XQFGC.cjs.map} +1 -1
- package/dist/{chunk-43JQ3SJS.js → chunk-EW6PYGB3.js} +2 -2
- package/dist/{chunk-EQ7AOKFK.js → chunk-F2G5BTBR.js} +9 -9
- package/dist/{chunk-A7TZZQGS.js → chunk-GRZHXAX6.js} +2 -2
- package/dist/{chunk-CKL3UD5N.js → chunk-HAYYFOUU.js} +4 -4
- package/dist/{chunk-HC6FZJMM.cjs → chunk-ISXADEGT.cjs} +39 -39
- package/dist/{chunk-HC6FZJMM.cjs.map → chunk-ISXADEGT.cjs.map} +1 -1
- package/dist/{chunk-KDZLAUHJ.cjs → chunk-IUMRVY4I.cjs} +28 -28
- package/dist/{chunk-KDZLAUHJ.cjs.map → chunk-IUMRVY4I.cjs.map} +1 -1
- package/dist/{chunk-PDGVOZCD.cjs → chunk-JEMBYNOG.cjs} +6 -6
- package/dist/{chunk-PDGVOZCD.cjs.map → chunk-JEMBYNOG.cjs.map} +1 -1
- package/dist/{chunk-7E24VV6D.js → chunk-JT4FL2DK.js} +8 -8
- package/dist/{chunk-IQNG52SU.js → chunk-KEHI5NAD.js} +189 -140
- package/dist/{chunk-IQNG52SU.js.map → chunk-KEHI5NAD.js.map} +1 -1
- package/dist/{chunk-NFITQGUP.js → chunk-KKD35GSD.js} +4 -4
- package/dist/{chunk-EYFFIJEY.js → chunk-LDR3QNOT.js} +3 -3
- package/dist/{chunk-CS7MVDUF.cjs → chunk-MP2K44EK.cjs} +8 -8
- package/dist/{chunk-CS7MVDUF.cjs.map → chunk-MP2K44EK.cjs.map} +1 -1
- package/dist/{chunk-RGVXFAWM.cjs → chunk-N3CTSPDZ.cjs} +3 -3
- package/dist/{chunk-RGVXFAWM.cjs.map → chunk-N3CTSPDZ.cjs.map} +1 -1
- package/dist/{chunk-IZ5GI3FP.cjs → chunk-NOQDSRSK.cjs} +11 -11
- package/dist/{chunk-IZ5GI3FP.cjs.map → chunk-NOQDSRSK.cjs.map} +1 -1
- package/dist/{chunk-5QUBQ4WP.js → chunk-NULR47FR.js} +4 -4
- package/dist/{chunk-7EV2UHWQ.cjs → chunk-OKMMP5PU.cjs} +734 -685
- package/dist/chunk-OKMMP5PU.cjs.map +1 -0
- package/dist/{chunk-Q2NPL4FU.cjs → chunk-OYP7ZNHW.cjs} +24 -24
- package/dist/{chunk-Q2NPL4FU.cjs.map → chunk-OYP7ZNHW.cjs.map} +1 -1
- package/dist/{chunk-CFZUWKQF.js → chunk-Q6QF35QE.js} +6 -6
- package/dist/{chunk-L4FR7YIS.js → chunk-QHH2GXHS.js} +3 -3
- package/dist/{chunk-VRUJPZ2C.js → chunk-RFUYCKBZ.js} +3 -3
- package/dist/{chunk-QCZMCOAD.cjs → chunk-TTSGX6AB.cjs} +33 -33
- package/dist/{chunk-QCZMCOAD.cjs.map → chunk-TTSGX6AB.cjs.map} +1 -1
- package/dist/{chunk-5G3L6327.cjs → chunk-U7TTQV4N.cjs} +3 -3
- package/dist/{chunk-5G3L6327.cjs.map → chunk-U7TTQV4N.cjs.map} +1 -1
- package/dist/{chunk-7OYQ6RVB.cjs → chunk-WKDNZXJK.cjs} +94 -94
- package/dist/{chunk-7OYQ6RVB.cjs.map → chunk-WKDNZXJK.cjs.map} +1 -1
- package/dist/{chunk-CJBSU3XB.cjs → chunk-WRJVEB2J.cjs} +9 -2
- package/dist/chunk-WRJVEB2J.cjs.map +1 -0
- package/dist/{chunk-YEIX26DQ.js → chunk-WSEDVYDY.js} +6 -6
- package/dist/{chunk-VBIFSOPQ.js → chunk-X3LC6R37.js} +3 -3
- package/dist/{chunk-5WGOAJ4B.js → chunk-X7LJRNMJ.js} +2 -2
- package/dist/{chunk-EG4IKWY4.cjs → chunk-YB6RCW77.cjs} +7 -7
- package/dist/{chunk-EG4IKWY4.cjs.map → chunk-YB6RCW77.cjs.map} +1 -1
- package/dist/{chunk-5YVZQVSR.js → chunk-YBEAX6QC.js} +5 -5
- package/dist/{chunk-FHR2JU2J.js → chunk-YQCA4ZEJ.js} +2 -2
- package/dist/{chunk-TMGTVVE2.js → chunk-YWFMYZ4G.js} +3 -3
- package/dist/{chunk-OHJZD7QU.js → chunk-ZYPB57IM.js} +4 -4
- package/dist/{chunk-O3P2INXM.cjs → chunk-ZZECM2I2.cjs} +27 -27
- package/dist/{chunk-O3P2INXM.cjs.map → chunk-ZZECM2I2.cjs.map} +1 -1
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/case-studies/index.js +6 -6
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/contact/index.js +6 -6
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/docs/index.js +9 -9
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/embeds/index.js +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/faq/index.js +6 -6
- package/dist/components/features/command-box.d.ts +11 -1
- package/dist/components/features/command-box.d.ts.map +1 -1
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/features/index.js +5 -5
- package/dist/components/help-center-pages/index.cjs +28 -28
- package/dist/components/help-center-pages/index.js +19 -19
- package/dist/components/index.cjs +70 -70
- package/dist/components/index.js +19 -19
- package/dist/components/meeting-scheduler/index.cjs +46 -46
- package/dist/components/meeting-scheduler/index.js +7 -7
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/navigation/index.js +8 -8
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.js +8 -8
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/button/button-styles.d.ts +1 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/fade-preview.d.ts +25 -7
- package/dist/components/ui/fade-preview.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/index.js +5 -5
- package/dist/components/ui/page-actions.d.ts +2 -2
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/src/components/features/.command-box.md +2 -1
- package/src/components/features/command-box.tsx +36 -3
- package/src/components/ui/.fade-preview.md +5 -1
- package/src/components/ui/button/button-styles.ts +6 -0
- package/src/components/ui/button/button.tsx +1 -0
- package/src/components/ui/fade-preview.tsx +92 -20
- package/src/components/ui/page-actions.tsx +2 -2
- package/src/stories/Button.stories.tsx +6 -1
- package/dist/chunk-7EV2UHWQ.cjs.map +0 -1
- package/dist/chunk-CJBSU3XB.cjs.map +0 -1
- package/dist/chunk-XAUPFCIJ.js.map +0 -1
- /package/dist/{chunk-F4GW2DPW.js.map → chunk-56CBPVCF.js.map} +0 -0
- /package/dist/{chunk-QUL55PJP.js.map → chunk-CP4YNYQA.js.map} +0 -0
- /package/dist/{chunk-43JQ3SJS.js.map → chunk-EW6PYGB3.js.map} +0 -0
- /package/dist/{chunk-EQ7AOKFK.js.map → chunk-F2G5BTBR.js.map} +0 -0
- /package/dist/{chunk-A7TZZQGS.js.map → chunk-GRZHXAX6.js.map} +0 -0
- /package/dist/{chunk-CKL3UD5N.js.map → chunk-HAYYFOUU.js.map} +0 -0
- /package/dist/{chunk-7E24VV6D.js.map → chunk-JT4FL2DK.js.map} +0 -0
- /package/dist/{chunk-NFITQGUP.js.map → chunk-KKD35GSD.js.map} +0 -0
- /package/dist/{chunk-EYFFIJEY.js.map → chunk-LDR3QNOT.js.map} +0 -0
- /package/dist/{chunk-5QUBQ4WP.js.map → chunk-NULR47FR.js.map} +0 -0
- /package/dist/{chunk-CFZUWKQF.js.map → chunk-Q6QF35QE.js.map} +0 -0
- /package/dist/{chunk-L4FR7YIS.js.map → chunk-QHH2GXHS.js.map} +0 -0
- /package/dist/{chunk-VRUJPZ2C.js.map → chunk-RFUYCKBZ.js.map} +0 -0
- /package/dist/{chunk-YEIX26DQ.js.map → chunk-WSEDVYDY.js.map} +0 -0
- /package/dist/{chunk-VBIFSOPQ.js.map → chunk-X3LC6R37.js.map} +0 -0
- /package/dist/{chunk-5WGOAJ4B.js.map → chunk-X7LJRNMJ.js.map} +0 -0
- /package/dist/{chunk-5YVZQVSR.js.map → chunk-YBEAX6QC.js.map} +0 -0
- /package/dist/{chunk-FHR2JU2J.js.map → chunk-YQCA4ZEJ.js.map} +0 -0
- /package/dist/{chunk-TMGTVVE2.js.map → chunk-YWFMYZ4G.js.map} +0 -0
- /package/dist/{chunk-OHJZD7QU.js.map → chunk-ZYPB57IM.js.map} +0 -0
|
@@ -172,7 +172,7 @@ var _chunkGSQM4PDRcjs = require('./chunk-GSQM4PDR.cjs');
|
|
|
172
172
|
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
var
|
|
175
|
+
var _chunkMP2K44EKcjs = require('./chunk-MP2K44EK.cjs');
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -210,7 +210,7 @@ var _chunkCHIHYC7Qcjs = require('./chunk-CHIHYC7Q.cjs');
|
|
|
210
210
|
var _chunkWZW7C7TFcjs = require('./chunk-WZW7C7TF.cjs');
|
|
211
211
|
|
|
212
212
|
|
|
213
|
-
var
|
|
213
|
+
var _chunkWRJVEB2Jcjs = require('./chunk-WRJVEB2J.cjs');
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
var _chunkFCUTPPX5cjs = require('./chunk-FCUTPPX5.cjs');
|
|
@@ -826,7 +826,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
826
826
|
};
|
|
827
827
|
const actionButtons = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
828
828
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
829
|
-
|
|
829
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
830
830
|
{
|
|
831
831
|
size: "small-legacy",
|
|
832
832
|
variant: "accent",
|
|
@@ -841,7 +841,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
841
841
|
}
|
|
842
842
|
),
|
|
843
843
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
844
|
-
|
|
844
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
845
845
|
{
|
|
846
846
|
size: "small-legacy",
|
|
847
847
|
variant: "outline",
|
|
@@ -985,7 +985,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
985
985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full whitespace-pre-line break-words text-ods-text-primary text-h4", children: _optionalChain([data, 'access', _18 => _18.explanation, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || "Approval required" }),
|
|
986
986
|
!showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-mf)]", children: [
|
|
987
987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
988
|
-
|
|
988
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
989
989
|
{
|
|
990
990
|
size: "small-legacy",
|
|
991
991
|
variant: "accent",
|
|
@@ -1000,7 +1000,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
1000
1000
|
}
|
|
1001
1001
|
),
|
|
1002
1002
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1003
|
-
|
|
1003
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
1004
1004
|
{
|
|
1005
1005
|
size: "small-legacy",
|
|
1006
1006
|
variant: "outline",
|
|
@@ -1032,7 +1032,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
1032
1032
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalCardBody, { data }),
|
|
1033
1033
|
!showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
1034
1034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1035
|
-
|
|
1035
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
1036
1036
|
{
|
|
1037
1037
|
size: "small-legacy",
|
|
1038
1038
|
variant: "accent",
|
|
@@ -1047,7 +1047,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
1047
1047
|
}
|
|
1048
1048
|
),
|
|
1049
1049
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1050
|
-
|
|
1050
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
1051
1051
|
{
|
|
1052
1052
|
size: "small-legacy",
|
|
1053
1053
|
variant: "outline",
|
|
@@ -4521,7 +4521,7 @@ var ActionsMenuDropdown = ({
|
|
|
4521
4521
|
);
|
|
4522
4522
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenu, { open, onOpenChange: setOpen, modal: false, children: [
|
|
4523
4523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenuTrigger, { asChild: true, ref: triggerRef, children: _nullishCoalesce(customTrigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4524
|
-
|
|
4524
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
4525
4525
|
{
|
|
4526
4526
|
variant: "outline",
|
|
4527
4527
|
size: "icon",
|
|
@@ -4783,12 +4783,12 @@ function MspOrganizationCard({
|
|
|
4783
4783
|
className
|
|
4784
4784
|
),
|
|
4785
4785
|
children: [
|
|
4786
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4786
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4787
4787
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4788
4788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4789
4789
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
4790
4790
|
] }),
|
|
4791
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4791
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { asChild: true, variant: "outline", size: "icon", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "icon", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.ExternalLinkIcon, {}) }) : null
|
|
4792
4792
|
]
|
|
4793
4793
|
}
|
|
4794
4794
|
);
|
|
@@ -4896,7 +4896,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4896
4896
|
...props,
|
|
4897
4897
|
children: [
|
|
4898
4898
|
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4899
|
-
|
|
4899
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
4900
4900
|
{
|
|
4901
4901
|
onClick: onBack,
|
|
4902
4902
|
variant: "transparent",
|
|
@@ -4916,7 +4916,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4916
4916
|
] })
|
|
4917
4917
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4918
4918
|
userIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4919
|
-
|
|
4919
|
+
_chunkMP2K44EKcjs.SquareAvatar,
|
|
4920
4920
|
{
|
|
4921
4921
|
src: userAvatar,
|
|
4922
4922
|
alt: userName,
|
|
@@ -4936,7 +4936,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4936
4936
|
] }),
|
|
4937
4937
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
4938
4938
|
showNewChat && onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4939
|
-
|
|
4939
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
4940
4940
|
{
|
|
4941
4941
|
onClick: onNewChat,
|
|
4942
4942
|
variant: "transparent",
|
|
@@ -4947,7 +4947,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4947
4947
|
}
|
|
4948
4948
|
),
|
|
4949
4949
|
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4950
|
-
|
|
4950
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
4951
4951
|
{
|
|
4952
4952
|
onClick: onClose,
|
|
4953
4953
|
variant: "transparent",
|
|
@@ -5144,7 +5144,7 @@ function MingoOnboardingCard({
|
|
|
5144
5144
|
] }),
|
|
5145
5145
|
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-secondary text-h6", children: description }) : null,
|
|
5146
5146
|
hasActions ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-[var(--spacing-system-xs)] flex flex-wrap items-center gap-[var(--spacing-system-xxs)]", children: actions.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5147
|
-
|
|
5147
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
5148
5148
|
{
|
|
5149
5149
|
type: "button",
|
|
5150
5150
|
variant: "outline",
|
|
@@ -7300,7 +7300,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7300
7300
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7301
7301
|
// no filled pill — the icon carries its own brand accent.
|
|
7302
7302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7303
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7303
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.SquareAvatar, { ...avatarProps })),
|
|
7304
7304
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7305
7305
|
"span",
|
|
7306
7306
|
{
|
|
@@ -8096,7 +8096,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8096
8096
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8097
8097
|
function useProxiedImageUrl(url) {
|
|
8098
8098
|
const r = _chunkUPKZU6QUcjs.useRequiredChatRuntime.call(void 0, );
|
|
8099
|
-
return _nullishCoalesce(
|
|
8099
|
+
return _nullishCoalesce(_chunkMP2K44EKcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8100
8100
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8101
8101
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8102
8102
|
directHttps: true
|
|
@@ -8122,7 +8122,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8122
8122
|
height: 40,
|
|
8123
8123
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8124
8124
|
}
|
|
8125
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children:
|
|
8125
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children: _chunkMP2K44EKcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8126
8126
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8127
8127
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8128
8128
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-body text-[14px] font-bold leading-[1.33] tracking-[-0.02em] text-ods-text-primary md:text-[15px]", children: displayName }),
|
|
@@ -9398,7 +9398,7 @@ function MingoChatHistoryRow({
|
|
|
9398
9398
|
onOpenChange: setMenuOpen,
|
|
9399
9399
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
9400
9400
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9401
|
-
|
|
9401
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
9402
9402
|
{
|
|
9403
9403
|
variant: "transparent",
|
|
9404
9404
|
size: "icon",
|
|
@@ -9426,7 +9426,7 @@ function MingoChatHistoryRow({
|
|
|
9426
9426
|
hasMenu && (menuOpen ? "pointer-events-none opacity-0" : "md:group-hover/row:pointer-events-none md:group-hover/row:opacity-0 md:peer-[:focus-within]/menu:pointer-events-none md:peer-[:focus-within]/menu:opacity-0")
|
|
9427
9427
|
),
|
|
9428
9428
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9429
|
-
|
|
9429
|
+
_chunkMP2K44EKcjs.SquareAvatar,
|
|
9430
9430
|
{
|
|
9431
9431
|
variant: "round",
|
|
9432
9432
|
sizePx: 24,
|
|
@@ -9618,7 +9618,7 @@ function MingoWelcome({
|
|
|
9618
9618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
9619
9619
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-body-sm text-ods-text-secondary", children: "Something went wrong reaching the server. Check your connection and try again." })
|
|
9620
9620
|
] }),
|
|
9621
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9621
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
9622
9622
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
|
|
9623
9623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9624
9624
|
"div",
|
|
@@ -9927,7 +9927,7 @@ function MingoHistoryRail({
|
|
|
9927
9927
|
),
|
|
9928
9928
|
children: [
|
|
9929
9929
|
onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9930
|
-
|
|
9930
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
9931
9931
|
{
|
|
9932
9932
|
variant: "outline",
|
|
9933
9933
|
fullWidth: true,
|
|
@@ -9955,7 +9955,7 @@ function MingoHistoryRail({
|
|
|
9955
9955
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
9956
9956
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
9957
9957
|
] }),
|
|
9958
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9958
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
9959
9959
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : hasList ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9960
9960
|
MingoChatHistory,
|
|
9961
9961
|
{
|
|
@@ -10474,7 +10474,7 @@ function ChatPanelHeaderMobile({
|
|
|
10474
10474
|
className
|
|
10475
10475
|
),
|
|
10476
10476
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-[var(--spacing-system-sf)]", children: [
|
|
10477
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10477
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.Chevron02LeftIcon, {}) }),
|
|
10478
10478
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
|
|
10479
10479
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 truncate text-ods-text-primary text-h2", title, children: title }) }),
|
|
10480
10480
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10485,7 +10485,7 @@ function ChatPanelHeaderMobile({
|
|
|
10485
10485
|
triggerClassName: "flex shrink-0 items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0"
|
|
10486
10486
|
}
|
|
10487
10487
|
),
|
|
10488
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10488
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.XmarkIcon, {}) })
|
|
10489
10489
|
] })
|
|
10490
10490
|
] })
|
|
10491
10491
|
}
|
|
@@ -10567,7 +10567,7 @@ function ChatPanelHeader({
|
|
|
10567
10567
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10568
10568
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10569
10569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10570
|
-
|
|
10570
|
+
_chunkMP2K44EKcjs.SquareAvatar,
|
|
10571
10571
|
{
|
|
10572
10572
|
variant: "round",
|
|
10573
10573
|
sizePx: 32,
|
|
@@ -10708,7 +10708,7 @@ function ChatAttachmentAddButton({
|
|
|
10708
10708
|
}
|
|
10709
10709
|
),
|
|
10710
10710
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10711
|
-
|
|
10711
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
10712
10712
|
{
|
|
10713
10713
|
type: "button",
|
|
10714
10714
|
variant: "transparent",
|
|
@@ -10781,13 +10781,13 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10781
10781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10782
10782
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10783
10783
|
status === "sniffing" && "Checking\u2026",
|
|
10784
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10785
|
-
status === "ready" &&
|
|
10784
|
+
status === "uploading" && `${progress}% \xB7 ${_chunkMP2K44EKcjs.formatFileSize.call(void 0, file.size)}`,
|
|
10785
|
+
status === "ready" && _chunkMP2K44EKcjs.formatFileSize.call(void 0, file.size),
|
|
10786
10786
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10787
10787
|
] })
|
|
10788
10788
|
] }),
|
|
10789
10789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10790
|
-
|
|
10790
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
10791
10791
|
{
|
|
10792
10792
|
type: "button",
|
|
10793
10793
|
variant: "transparent",
|
|
@@ -11354,7 +11354,7 @@ var ChatSidebarSkeleton = _react.forwardRef.call(void 0,
|
|
|
11354
11354
|
...props,
|
|
11355
11355
|
children: [
|
|
11356
11356
|
showNewChatButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center border-b border-ods-border bg-ods-card px-4 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11357
|
-
|
|
11357
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
11358
11358
|
{
|
|
11359
11359
|
variant: "transparent",
|
|
11360
11360
|
disabled: true,
|
|
@@ -11475,7 +11475,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
11475
11475
|
...props,
|
|
11476
11476
|
children: [
|
|
11477
11477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center border-b border-ods-border bg-ods-card px-4 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11478
|
-
|
|
11478
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
11479
11479
|
{
|
|
11480
11480
|
onClick: onNewChat,
|
|
11481
11481
|
variant: "transparent",
|
|
@@ -11579,10 +11579,10 @@ function resolveExternalNavigation(args) {
|
|
|
11579
11579
|
|
|
11580
11580
|
// src/components/chat/utils/execute-navigation.ts
|
|
11581
11581
|
function isForeignOriginHref(href) {
|
|
11582
|
-
return /^https?:\/\//i.test(href) && !
|
|
11582
|
+
return /^https?:\/\//i.test(href) && !_chunkMP2K44EKcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
11583
11583
|
}
|
|
11584
11584
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
11585
|
-
const isNewTab = runtime ?
|
|
11585
|
+
const isNewTab = runtime ? _chunkMP2K44EKcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
11586
11586
|
if (isNewTab) {
|
|
11587
11587
|
if (_optionalChain([runtime, 'optionalAccess', _204 => _204.navigation, 'access', _205 => _205.openExternal])) runtime.navigation.openExternal(href);
|
|
11588
11588
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -11641,7 +11641,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11641
11641
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
11642
11642
|
const panel = useChatPanel();
|
|
11643
11643
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11644
|
-
const isNewTab =
|
|
11644
|
+
const isNewTab = _chunkMP2K44EKcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
11645
11645
|
const onClick = (e) => {
|
|
11646
11646
|
const handled = executeNavigation({
|
|
11647
11647
|
event: e,
|
|
@@ -11653,7 +11653,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11653
11653
|
});
|
|
11654
11654
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
11655
11655
|
};
|
|
11656
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
11656
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunkMP2K44EKcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
11657
11657
|
}
|
|
11658
11658
|
|
|
11659
11659
|
// src/components/chat/source-action-button.tsx
|
|
@@ -11698,7 +11698,7 @@ function SourceActionButton({
|
|
|
11698
11698
|
const IconComponent = isDisplay ? _lucidereact.FileText : _lucidereact.MessageSquare;
|
|
11699
11699
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: styles.iconSize });
|
|
11700
11700
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11701
|
-
|
|
11701
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
11702
11702
|
{
|
|
11703
11703
|
variant: "transparent",
|
|
11704
11704
|
size: styles.size,
|
|
@@ -12124,9 +12124,9 @@ function VideoErrorOverlay({
|
|
|
12124
12124
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 z-10 flex flex-col items-center justify-center gap-[var(--spacing-system-sf)] bg-ods-overlay p-[var(--spacing-system-lf)] text-center", children: [
|
|
12125
12125
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "This video failed to play." }),
|
|
12126
12126
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-sf)]", children: [
|
|
12127
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", onClick: onRetry, children: "Try again" }),
|
|
12128
12128
|
watchOnYouTubeId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12129
|
-
|
|
12129
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
12130
12130
|
{
|
|
12131
12131
|
variant: "transparent",
|
|
12132
12132
|
size: "small",
|
|
@@ -12895,9 +12895,9 @@ function UserDisplay({
|
|
|
12895
12895
|
}) {
|
|
12896
12896
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
12897
12897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12898
|
-
|
|
12898
|
+
_chunkMP2K44EKcjs.SquareAvatar,
|
|
12899
12899
|
{
|
|
12900
|
-
src: avatarUrl ?
|
|
12900
|
+
src: avatarUrl ? _chunkMP2K44EKcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12901
12901
|
fallback: name,
|
|
12902
12902
|
alt: name,
|
|
12903
12903
|
sizePx: size2,
|
|
@@ -13328,7 +13328,7 @@ function CardsStrip(props) {
|
|
|
13328
13328
|
),
|
|
13329
13329
|
showChevrons && overflows && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13330
13330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13331
|
-
|
|
13331
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
13332
13332
|
{
|
|
13333
13333
|
type: "button",
|
|
13334
13334
|
variant: "outline",
|
|
@@ -13340,7 +13340,7 @@ function CardsStrip(props) {
|
|
|
13340
13340
|
}
|
|
13341
13341
|
),
|
|
13342
13342
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13343
|
-
|
|
13343
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
13344
13344
|
{
|
|
13345
13345
|
type: "button",
|
|
13346
13346
|
variant: "outline",
|
|
@@ -13397,7 +13397,7 @@ function VideoHoverPreviewSurface({
|
|
|
13397
13397
|
return () => io.disconnect();
|
|
13398
13398
|
}, [gateControlled]);
|
|
13399
13399
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13400
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13400
|
+
const { src: posterSrc, onError: onPosterError } = _chunkMP2K44EKcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13401
13401
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13402
13402
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootElRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13403
13403
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13515,7 +13515,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13515
13515
|
|
|
13516
13516
|
function VideoBitesStrip({
|
|
13517
13517
|
bites,
|
|
13518
|
-
title =
|
|
13518
|
+
title = _chunkMP2K44EKcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13519
13519
|
showTitle = true,
|
|
13520
13520
|
filterPublished = true,
|
|
13521
13521
|
profile = null,
|
|
@@ -13528,7 +13528,7 @@ function VideoBitesStrip({
|
|
|
13528
13528
|
cardHeightMobile = 300,
|
|
13529
13529
|
showChevrons = true,
|
|
13530
13530
|
onBiteNavigate,
|
|
13531
|
-
sortComparator =
|
|
13531
|
+
sortComparator = _chunkMP2K44EKcjs.sortBitesByCreatedAtDesc,
|
|
13532
13532
|
className
|
|
13533
13533
|
}) {
|
|
13534
13534
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -13753,7 +13753,7 @@ function EntityVideoSection({
|
|
|
13753
13753
|
title = "Video",
|
|
13754
13754
|
videoSummary,
|
|
13755
13755
|
videoBites,
|
|
13756
|
-
bitesTitle =
|
|
13756
|
+
bitesTitle = _chunkMP2K44EKcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13757
13757
|
filterPublishedBites = true,
|
|
13758
13758
|
bitesProfile = null,
|
|
13759
13759
|
bitesHref,
|
|
@@ -13992,7 +13992,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
13992
13992
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
13993
13993
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
13994
13994
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
13995
|
-
const dateText =
|
|
13995
|
+
const dateText = _chunkMP2K44EKcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
13996
13996
|
const idLabel = formatActivityId(item.id, kind);
|
|
13997
13997
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
13998
13998
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -14026,26 +14026,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14026
14026
|
metaParts.push(
|
|
14027
14027
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14028
14028
|
);
|
|
14029
|
-
const href =
|
|
14029
|
+
const href = _chunkMP2K44EKcjs.safeHref.call(void 0, item.url);
|
|
14030
14030
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14031
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14032
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14033
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14031
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14032
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14033
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14034
14034
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14036
14036
|
] }),
|
|
14037
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14037
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14038
14038
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14039
14039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14040
14040
|
] }, i)) }) }),
|
|
14041
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14041
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SUMMARY, children: _chunkMP2K44EKcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14042
14042
|
] }),
|
|
14043
14043
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14044
14044
|
] });
|
|
14045
14045
|
if (anchorProps) {
|
|
14046
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14046
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14047
14047
|
}
|
|
14048
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14048
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14049
14049
|
}
|
|
14050
14050
|
function GitHubActivityCardSkeleton({
|
|
14051
14051
|
variant = "compact",
|
|
@@ -14062,12 +14062,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14062
14062
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14063
14063
|
] });
|
|
14064
14064
|
}
|
|
14065
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14066
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14067
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14068
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14069
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14070
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14065
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14066
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14067
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14068
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14069
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14070
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SUMMARY, children: _chunkMP2K44EKcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14071
14071
|
] }),
|
|
14072
14072
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14073
14073
|
] });
|
|
@@ -14091,7 +14091,7 @@ function parseChannelFromUrl(url) {
|
|
|
14091
14091
|
}
|
|
14092
14092
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
14093
14093
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
14094
|
-
const dateText =
|
|
14094
|
+
const dateText = _chunkMP2K44EKcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14095
14095
|
if (variant === "row") {
|
|
14096
14096
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14097
14097
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -14117,23 +14117,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14117
14117
|
metaParts.push(
|
|
14118
14118
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14119
14119
|
);
|
|
14120
|
-
const href =
|
|
14120
|
+
const href = _chunkMP2K44EKcjs.safeHref.call(void 0, item.url);
|
|
14121
14121
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14122
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14123
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14126
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14122
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14123
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14125
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkMP2K44EKcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14126
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14127
14127
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14128
14128
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14129
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14129
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SUMMARY, children: _chunkMP2K44EKcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14130
14130
|
] }),
|
|
14131
14131
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14132
14132
|
] });
|
|
14133
14133
|
if (anchorProps) {
|
|
14134
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14134
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14135
14135
|
}
|
|
14136
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14136
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14137
14137
|
}
|
|
14138
14138
|
function SlackMessageCardSkeleton({
|
|
14139
14139
|
variant = "compact",
|
|
@@ -14148,12 +14148,12 @@ function SlackMessageCardSkeleton({
|
|
|
14148
14148
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14149
14149
|
] });
|
|
14150
14150
|
}
|
|
14151
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14153
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14151
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14152
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14153
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14155
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14156
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14157
14157
|
] }),
|
|
14158
14158
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14159
14159
|
] });
|
|
@@ -14184,12 +14184,12 @@ function statusScheme(status) {
|
|
|
14184
14184
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
14185
14185
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
14186
14186
|
const priorityText = formatToken(item.priority);
|
|
14187
|
-
const dateText =
|
|
14187
|
+
const dateText = _chunkMP2K44EKcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14188
14188
|
if (variant === "row") {
|
|
14189
14189
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14190
14190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14191
14191
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
|
|
14192
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14192
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14193
14193
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14194
14194
|
] });
|
|
14195
14195
|
}
|
|
@@ -14203,13 +14203,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14203
14203
|
metaParts.push(
|
|
14204
14204
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14205
14205
|
);
|
|
14206
|
-
const href =
|
|
14206
|
+
const href = _chunkMP2K44EKcjs.safeHref.call(void 0, item.url);
|
|
14207
14207
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14208
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14208
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14209
14209
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14211
14211
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14212
|
-
|
|
14212
|
+
_chunkMP2K44EKcjs.StatusBadge,
|
|
14213
14213
|
{
|
|
14214
14214
|
text: priorityText,
|
|
14215
14215
|
variant: "button",
|
|
@@ -14218,7 +14218,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14218
14218
|
}
|
|
14219
14219
|
) : null,
|
|
14220
14220
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14221
|
-
|
|
14221
|
+
_chunkMP2K44EKcjs.StatusBadge,
|
|
14222
14222
|
{
|
|
14223
14223
|
text: statusText,
|
|
14224
14224
|
variant: "button",
|
|
@@ -14232,7 +14232,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14232
14232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14233
14233
|
] }) : null,
|
|
14234
14234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
14235
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14235
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14236
14236
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14237
14237
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14238
14238
|
] }, i)) }) }) : null
|
|
@@ -14240,9 +14240,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14240
14240
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14241
14241
|
] });
|
|
14242
14242
|
if (anchorProps) {
|
|
14243
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14243
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14244
14244
|
}
|
|
14245
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14245
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14246
14246
|
}
|
|
14247
14247
|
function HubspotTicketCardSkeleton({
|
|
14248
14248
|
variant = "compact",
|
|
@@ -14256,8 +14256,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14256
14256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14257
14257
|
] });
|
|
14258
14258
|
}
|
|
14259
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14260
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14259
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14260
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14261
14261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14262
14262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14263
14263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14270,7 +14270,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14270
14270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14271
14271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14272
14272
|
] }),
|
|
14273
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14273
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14274
14274
|
] }),
|
|
14275
14275
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14276
14276
|
] });
|
|
@@ -14281,10 +14281,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14281
14281
|
|
|
14282
14282
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14283
14283
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14284
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14284
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14285
14285
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14286
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14287
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14286
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14287
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14288
14288
|
] }),
|
|
14289
14289
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
|
|
14290
14290
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14295,13 +14295,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14295
14295
|
_optionalChain([anchorProps, 'optionalAccess', _344 => _344.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14296
14296
|
] });
|
|
14297
14297
|
if (!anchorProps) {
|
|
14298
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14298
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14299
14299
|
}
|
|
14300
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14300
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14301
14301
|
}
|
|
14302
14302
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14303
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14304
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14303
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14304
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14305
14305
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14306
14306
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14307
14307
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14322,29 +14322,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14322
14322
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14323
14323
|
const goalsCount = _optionalChain([campaign, 'access', _345 => _345.goals, 'optionalAccess', _346 => _346.length]) || 0;
|
|
14324
14324
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14326
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14327
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14328
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14329
|
-
campaign.start_date ?
|
|
14325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14326
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14327
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14329
|
+
campaign.start_date ? _chunkMP2K44EKcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14330
14330
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14331
14331
|
"Marketing campaign"
|
|
14332
14332
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14333
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkMP2K44EKcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14334
14334
|
] })
|
|
14335
14335
|
] });
|
|
14336
14336
|
if (anchorProps) {
|
|
14337
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14337
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14338
14338
|
}
|
|
14339
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14339
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14340
14340
|
}
|
|
14341
14341
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14342
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14344
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14345
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14346
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14342
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14344
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14345
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14346
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14348
14348
|
] })
|
|
14349
14349
|
] });
|
|
14350
14350
|
}
|
|
@@ -14353,14 +14353,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14353
14353
|
|
|
14354
14354
|
|
|
14355
14355
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14356
|
-
const href =
|
|
14357
|
-
const dateText =
|
|
14356
|
+
const href = _chunkMP2K44EKcjs.safeHref.call(void 0, item.url);
|
|
14357
|
+
const dateText = _chunkMP2K44EKcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14358
14358
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14359
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14359
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14360
14360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14361
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14362
14362
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14363
|
-
|
|
14363
|
+
_chunkMP2K44EKcjs.StatusBadge,
|
|
14364
14364
|
{
|
|
14365
14365
|
text: item.badge.text,
|
|
14366
14366
|
variant: "button",
|
|
@@ -14378,18 +14378,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14378
14378
|
] }),
|
|
14379
14379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14380
14380
|
] }, i)) }) : null,
|
|
14381
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14381
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14382
14382
|
] }),
|
|
14383
14383
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14384
14384
|
] });
|
|
14385
14385
|
if (anchorProps) {
|
|
14386
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14386
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14387
14387
|
}
|
|
14388
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14388
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14389
14389
|
}
|
|
14390
14390
|
function GenericEntityCardSkeleton({ className }) {
|
|
14391
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14392
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14391
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14392
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14393
14393
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14394
14394
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14395
14395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14438,8 +14438,8 @@ function useChatCardItem(type, id) {
|
|
|
14438
14438
|
const res = await _chunkEHAYNUOLcjs.embedAuthedFetch.call(void 0, url);
|
|
14439
14439
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14440
14440
|
const data = await res.json();
|
|
14441
|
-
const items =
|
|
14442
|
-
const match = items.find((it) =>
|
|
14441
|
+
const items = _chunkMP2K44EKcjs.extractItems.call(void 0, data);
|
|
14442
|
+
const match = items.find((it) => _chunkMP2K44EKcjs.extractItemId.call(void 0, type, it) === id);
|
|
14443
14443
|
return _nullishCoalesce(match, () => ( null));
|
|
14444
14444
|
},
|
|
14445
14445
|
enabled: !!url && id.length > 0,
|
|
@@ -14472,7 +14472,7 @@ function useChatCardItem(type, id) {
|
|
|
14472
14472
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
14473
14473
|
if (imageSrc) {
|
|
14474
14474
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
14475
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children:
|
|
14475
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: _chunkMP2K44EKcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
14476
14476
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14477
14477
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
14478
14478
|
{
|
|
@@ -14630,7 +14630,7 @@ function resolveFetchedCardHref({
|
|
|
14630
14630
|
composeContentUrl
|
|
14631
14631
|
}) {
|
|
14632
14632
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14633
|
-
const canonicalType =
|
|
14633
|
+
const canonicalType = _chunkMP2K44EKcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14634
14634
|
return composeContentUrl({
|
|
14635
14635
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14636
14636
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14840,16 +14840,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14840
14840
|
if (docTarget) {
|
|
14841
14841
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14842
14842
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14843
|
-
href = _nullishCoalesce(
|
|
14843
|
+
href = _nullishCoalesce(_chunkMP2K44EKcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14844
14844
|
targetPlatform = docTarget.platform;
|
|
14845
14845
|
} else if (ctx.chipBasePlatform) {
|
|
14846
14846
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14847
|
-
href = _nullishCoalesce(
|
|
14847
|
+
href = _nullishCoalesce(_chunkMP2K44EKcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14848
14848
|
targetPlatform = ctx.chipBasePlatform;
|
|
14849
14849
|
} else if (ctx.baseRoute) {
|
|
14850
14850
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14851
14851
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14852
|
-
href = _nullishCoalesce(
|
|
14852
|
+
href = _nullishCoalesce(_chunkMP2K44EKcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14853
14853
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14854
14854
|
}
|
|
14855
14855
|
}
|
|
@@ -14858,15 +14858,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14858
14858
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14859
14859
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14860
14860
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14861
|
-
type:
|
|
14861
|
+
type: _chunkMP2K44EKcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14862
14862
|
identifier: idValue,
|
|
14863
14863
|
externalUrl: row.externalUrl,
|
|
14864
14864
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14865
14865
|
});
|
|
14866
|
-
href = composed.href ? _nullishCoalesce(
|
|
14866
|
+
href = composed.href ? _nullishCoalesce(_chunkMP2K44EKcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14867
14867
|
targetPlatform = composed.targetPlatform;
|
|
14868
14868
|
} else if (row.externalUrl) {
|
|
14869
|
-
href = _nullishCoalesce(
|
|
14869
|
+
href = _nullishCoalesce(_chunkMP2K44EKcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14870
14870
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14871
14871
|
}
|
|
14872
14872
|
const documentType = row.documentType;
|
|
@@ -14901,11 +14901,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
14901
14901
|
|
|
14902
14902
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
14903
14903
|
const label = entityLabel || "Item";
|
|
14904
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
14905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14906
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
14907
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14904
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMP2K44EKcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
14906
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMP2K44EKcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkMP2K44EKcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
14908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkMP2K44EKcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
14909
14909
|
label,
|
|
14910
14910
|
" deleted",
|
|
14911
14911
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -14951,7 +14951,7 @@ function GitHubChatCard({
|
|
|
14951
14951
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
14952
14952
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
14953
14953
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
14954
|
-
const dateText =
|
|
14954
|
+
const dateText = _chunkMP2K44EKcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
14955
14955
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
14956
14956
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14957
14957
|
MingoInfoCard,
|
|
@@ -14960,7 +14960,7 @@ function GitHubChatCard({
|
|
|
14960
14960
|
description,
|
|
14961
14961
|
icon: githubKindIcon(kind),
|
|
14962
14962
|
status,
|
|
14963
|
-
anchorProps:
|
|
14963
|
+
anchorProps: _chunkMP2K44EKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
14964
14964
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
14965
14965
|
menuAriaLabel: "Activity actions"
|
|
14966
14966
|
}
|
|
@@ -15107,7 +15107,7 @@ function HubspotTicketChatCard({
|
|
|
15107
15107
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15108
15108
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TagIcon, { size: 24 }),
|
|
15109
15109
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15110
|
-
anchorProps:
|
|
15110
|
+
anchorProps: _chunkMP2K44EKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15111
15111
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15112
15112
|
label: "Open Ticket Details",
|
|
15113
15113
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TagIcon, { size: 20 })
|
|
@@ -15130,7 +15130,7 @@ function FaqChatCard({
|
|
|
15130
15130
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15131
15131
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.QuestionCircleIcon, { size: 24 }),
|
|
15132
15132
|
status: { label: statusLabel, variant: "grey" },
|
|
15133
|
-
anchorProps:
|
|
15133
|
+
anchorProps: _chunkMP2K44EKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15134
15134
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15135
15135
|
menuAriaLabel: "FAQ actions"
|
|
15136
15136
|
}
|
|
@@ -15150,7 +15150,7 @@ function SlackChatCard({
|
|
|
15150
15150
|
title,
|
|
15151
15151
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15152
15152
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15153
|
-
anchorProps:
|
|
15153
|
+
anchorProps: _chunkMP2K44EKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15154
15154
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15155
15155
|
menuAriaLabel: "Message actions"
|
|
15156
15156
|
}
|
|
@@ -15168,7 +15168,7 @@ function GlyphChatCard({
|
|
|
15168
15168
|
title: chatRef.title,
|
|
15169
15169
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15170
15170
|
icon,
|
|
15171
|
-
anchorProps:
|
|
15171
|
+
anchorProps: _chunkMP2K44EKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15172
15172
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15173
15173
|
menuAriaLabel: "Card actions"
|
|
15174
15174
|
}
|
|
@@ -15187,7 +15187,7 @@ function DataRoomDocChatCard({
|
|
|
15187
15187
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15188
15188
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.FileContentIcon, { size: 24 }),
|
|
15189
15189
|
status: { label: badgeText, variant: "grey" },
|
|
15190
|
-
anchorProps:
|
|
15190
|
+
anchorProps: _chunkMP2K44EKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15191
15191
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15192
15192
|
menuAriaLabel: "Document actions"
|
|
15193
15193
|
}
|
|
@@ -15206,7 +15206,7 @@ function GenericFinancialChatCard({
|
|
|
15206
15206
|
title: chatRef.title,
|
|
15207
15207
|
description: subtitle,
|
|
15208
15208
|
icon,
|
|
15209
|
-
anchorProps:
|
|
15209
|
+
anchorProps: _chunkMP2K44EKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15210
15210
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15211
15211
|
menuAriaLabel: "Document actions"
|
|
15212
15212
|
}
|
|
@@ -15292,7 +15292,7 @@ function CampaignChatCard({
|
|
|
15292
15292
|
}) {
|
|
15293
15293
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _378 => _378.goals])) ? item.goals.length : 0;
|
|
15294
15294
|
const meta = [
|
|
15295
|
-
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ?
|
|
15295
|
+
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ? _chunkMP2K44EKcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15296
15296
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15297
15297
|
"Marketing campaign"
|
|
15298
15298
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15331,7 +15331,7 @@ function EntityMingoCard({
|
|
|
15331
15331
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15332
15332
|
icon: fallbackIcon,
|
|
15333
15333
|
status,
|
|
15334
|
-
anchorProps:
|
|
15334
|
+
anchorProps: _chunkMP2K44EKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15335
15335
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15336
15336
|
menuAriaLabel
|
|
15337
15337
|
}
|
|
@@ -15343,7 +15343,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15343
15343
|
function statusPill(status) {
|
|
15344
15344
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15345
15345
|
if (!s) return void 0;
|
|
15346
|
-
const scheme =
|
|
15346
|
+
const scheme = _chunkMP2K44EKcjs.getStatusColorScheme.call(void 0, s);
|
|
15347
15347
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15348
15348
|
return { label: s, variant };
|
|
15349
15349
|
}
|
|
@@ -15430,7 +15430,7 @@ function InvestorUpdateChatCard({
|
|
|
15430
15430
|
EntityMingoCard,
|
|
15431
15431
|
{
|
|
15432
15432
|
title,
|
|
15433
|
-
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) ||
|
|
15433
|
+
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) || _chunkMP2K44EKcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _409 => _409.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _410 => _410.period_end]), () => ( null))) || void 0,
|
|
15434
15434
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _411 => _411.featured_image]), ogPlaceholder),
|
|
15435
15435
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PresentationLineIcon, { size: 24 }),
|
|
15436
15436
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15477,15 +15477,15 @@ function ProgramChatCard({
|
|
|
15477
15477
|
const isScheduled = _optionalChain([item, 'optionalAccess', _418 => _418.status]) === "scheduled";
|
|
15478
15478
|
let typeMeta;
|
|
15479
15479
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
15480
|
-
typeMeta =
|
|
15480
|
+
typeMeta = _chunkMP2K44EKcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
15481
15481
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _420 => _420.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
15482
15482
|
typeMeta = item.location_name;
|
|
15483
15483
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _421 => _421.start_at])) {
|
|
15484
|
-
const time =
|
|
15485
|
-
const dur =
|
|
15484
|
+
const time = _chunkMP2K44EKcjs.formatTimeWithTimezone.call(void 0, item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
15485
|
+
const dur = _chunkMP2K44EKcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
15486
15486
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
15487
15487
|
}
|
|
15488
|
-
const itemDate =
|
|
15488
|
+
const itemDate = _chunkMP2K44EKcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _422 => _422.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
15489
15489
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
15490
15490
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15491
15491
|
EntityMingoCard,
|
|
@@ -15512,7 +15512,7 @@ function RoadmapChatCard({
|
|
|
15512
15512
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _426 => _426.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15513
15513
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]) != null;
|
|
15514
15514
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MapIcon, { size: 24 });
|
|
15515
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15515
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _428 => _428.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15516
15516
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15517
15517
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15518
15518
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15658,7 +15658,7 @@ function programRegistryEntries() {
|
|
|
15658
15658
|
label: cfg.label,
|
|
15659
15659
|
contentRefType: cfg.contentRefType,
|
|
15660
15660
|
bareInline: true,
|
|
15661
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15661
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15662
15662
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15663
15663
|
ProgramChatCard,
|
|
15664
15664
|
{
|
|
@@ -15699,7 +15699,7 @@ function roadmapRegistryEntries() {
|
|
|
15699
15699
|
bareInline: true,
|
|
15700
15700
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15701
15701
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15702
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15702
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15703
15703
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15704
15704
|
RoadmapChatCard,
|
|
15705
15705
|
{
|
|
@@ -15775,7 +15775,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15775
15775
|
label: "Blog post",
|
|
15776
15776
|
contentRefType: "blog_post_existing",
|
|
15777
15777
|
bareInline: true,
|
|
15778
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15778
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.BlogCardSkeleton, { size: "sm" }),
|
|
15779
15779
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15780
15780
|
BlogChatCard,
|
|
15781
15781
|
{
|
|
@@ -15792,7 +15792,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15792
15792
|
label: "Case study",
|
|
15793
15793
|
contentRefType: "case_study",
|
|
15794
15794
|
bareInline: true,
|
|
15795
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15795
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
15796
15796
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15797
15797
|
CaseStudyChatCard,
|
|
15798
15798
|
{
|
|
@@ -15808,7 +15808,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15808
15808
|
label: "Customer interview",
|
|
15809
15809
|
contentRefType: "customer_interview",
|
|
15810
15810
|
bareInline: true,
|
|
15811
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15811
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
15812
15812
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15813
15813
|
CustomerInterviewChatCard,
|
|
15814
15814
|
{
|
|
@@ -15824,9 +15824,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15824
15824
|
label: "Product release",
|
|
15825
15825
|
contentRefType: "product_release",
|
|
15826
15826
|
bareInline: true,
|
|
15827
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15827
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
15828
15828
|
render: (item, chatRef, opts) => {
|
|
15829
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => (
|
|
15829
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => ( _chunkMP2K44EKcjs.defaultBuildProductReleaseCardProps));
|
|
15830
15830
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15831
15831
|
ProductReleaseChatCard,
|
|
15832
15832
|
{
|
|
@@ -15844,7 +15844,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15844
15844
|
label: "Investor update",
|
|
15845
15845
|
contentRefType: "investor_update",
|
|
15846
15846
|
bareInline: true,
|
|
15847
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15847
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
15848
15848
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15849
15849
|
InvestorUpdateChatCard,
|
|
15850
15850
|
{
|
|
@@ -15862,7 +15862,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15862
15862
|
bareInline: true,
|
|
15863
15863
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
15864
15864
|
displayAction: true,
|
|
15865
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15865
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMP2K44EKcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
15866
15866
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15867
15867
|
OnboardingGuideChatCard,
|
|
15868
15868
|
{
|
|
@@ -15962,13 +15962,13 @@ function ChatCardLoader({
|
|
|
15962
15962
|
}) : null;
|
|
15963
15963
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
15964
15964
|
...resolvedChatRef,
|
|
15965
|
-
url:
|
|
15965
|
+
url: _chunkMP2K44EKcjs.safeHref.call(void 0, hrefChoice.href),
|
|
15966
15966
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
15967
15967
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
15968
15968
|
} : resolvedChatRef;
|
|
15969
15969
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
15970
15970
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
15971
|
-
const isNewTab =
|
|
15971
|
+
const isNewTab = _chunkMP2K44EKcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
15972
15972
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
15973
15973
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
15974
15974
|
const discuss = discussFn ? {
|
|
@@ -17462,7 +17462,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17462
17462
|
return () => root.removeEventListener("click", onClick);
|
|
17463
17463
|
}, [viewUrlPrefix]);
|
|
17464
17464
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17465
|
-
|
|
17465
|
+
_chunkMP2K44EKcjs.ImageGalleryModal,
|
|
17466
17466
|
{
|
|
17467
17467
|
images: state.images,
|
|
17468
17468
|
isOpen: state.isOpen,
|
|
@@ -24266,7 +24266,7 @@ function SourceChip({
|
|
|
24266
24266
|
const Icon = cta.icon;
|
|
24267
24267
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24268
24268
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24269
|
-
const decideTab = (href, targetPlatform) =>
|
|
24269
|
+
const decideTab = (href, targetPlatform) => _chunkMP2K44EKcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24270
24270
|
if (src.items && src.items.length > 0) {
|
|
24271
24271
|
const dropdownItems = src.items.map((item) => {
|
|
24272
24272
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24355,7 +24355,7 @@ function SourceChip({
|
|
|
24355
24355
|
"a",
|
|
24356
24356
|
{
|
|
24357
24357
|
href: resolvedHref,
|
|
24358
|
-
...
|
|
24358
|
+
..._chunkMP2K44EKcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24359
24359
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24360
24360
|
className: chipClass,
|
|
24361
24361
|
children: chipBody(src.name)
|
|
@@ -24371,7 +24371,7 @@ function SourceChip({
|
|
|
24371
24371
|
"a",
|
|
24372
24372
|
{
|
|
24373
24373
|
href: resolvedHref,
|
|
24374
|
-
...
|
|
24374
|
+
..._chunkMP2K44EKcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24375
24375
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24376
24376
|
className: chipClass,
|
|
24377
24377
|
title: displayName,
|
|
@@ -25167,7 +25167,7 @@ function EmbeddableChatInner({
|
|
|
25167
25167
|
headerAvatar ? (
|
|
25168
25168
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
25169
25169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25170
|
-
|
|
25170
|
+
_chunkMP2K44EKcjs.SquareAvatar,
|
|
25171
25171
|
{
|
|
25172
25172
|
variant: "round",
|
|
25173
25173
|
sizePx: 32,
|
|
@@ -25493,7 +25493,7 @@ function EmbeddableChatInner({
|
|
|
25493
25493
|
"aria-hidden": isOpen,
|
|
25494
25494
|
className: `pointer-events-none sticky bottom-0 z-[9990] h-0 ${isOpen ? "opacity-0" : "opacity-100"}`,
|
|
25495
25495
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-4 right-4 md:bottom-6 md:right-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25496
|
-
|
|
25496
|
+
_chunkWRJVEB2Jcjs.Button,
|
|
25497
25497
|
{
|
|
25498
25498
|
onClick: handleOpen,
|
|
25499
25499
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.MingoIcon, { className: "h-5 w-5", color: "currentColor" }),
|
|
@@ -25883,4 +25883,4 @@ function EmbeddableChatInner({
|
|
|
25883
25883
|
|
|
25884
25884
|
|
|
25885
25885
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat;
|
|
25886
|
-
//# sourceMappingURL=chunk-
|
|
25886
|
+
//# sourceMappingURL=chunk-C4Y3TEKO.cjs.map
|