@flamingo-stack/openframe-frontend-core 0.0.640 → 0.0.641-2203.6299.1
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-OQHFHKUG.cjs → chunk-2NRLRRMR.cjs} +8 -8
- package/dist/chunk-2NRLRRMR.cjs.map +1 -0
- package/dist/{chunk-QS2QCXBH.js → chunk-3IPL6G7S.js} +2 -2
- package/dist/chunk-3IPL6G7S.js.map +1 -0
- package/dist/{chunk-UBH5ONPB.js → chunk-3LXJEXPH.js} +3 -3
- package/dist/chunk-3LXJEXPH.js.map +1 -0
- package/dist/{chunk-BXKM4GFD.js → chunk-4EEUB62O.js} +1 -1
- package/dist/chunk-4EEUB62O.js.map +1 -0
- package/dist/{chunk-NWE2XGSC.js → chunk-5C22ZEZL.js} +4 -4
- package/dist/{chunk-GLEU3DKT.cjs → chunk-5SNH6YV7.cjs} +42 -42
- package/dist/{chunk-GLEU3DKT.cjs.map → chunk-5SNH6YV7.cjs.map} +1 -1
- package/dist/{chunk-SB4ZIYQF.js → chunk-62CT5VGY.js} +6 -6
- package/dist/{chunk-D4TYGJ5U.js → chunk-6FMSRRZM.js} +5 -5
- package/dist/{chunk-RDCHCMEO.cjs → chunk-7EIUV3EV.cjs} +5 -5
- package/dist/{chunk-RDCHCMEO.cjs.map → chunk-7EIUV3EV.cjs.map} +1 -1
- package/dist/{chunk-3TDQW73P.js → chunk-7GH4I7AL.js} +8 -8
- package/dist/{chunk-BSWD3FAX.cjs → chunk-BGSBHH4X.cjs} +174 -174
- package/dist/{chunk-BSWD3FAX.cjs.map → chunk-BGSBHH4X.cjs.map} +1 -1
- package/dist/{chunk-ECNZCOJD.js → chunk-DVCDYMSZ.js} +9 -9
- package/dist/{chunk-X3LC6R37.js → chunk-G5U4JP45.js} +3 -3
- package/dist/{chunk-WRJVEB2J.cjs → chunk-GBEUGDZG.cjs} +1 -1
- package/dist/{chunk-WRJVEB2J.cjs.map → chunk-GBEUGDZG.cjs.map} +1 -1
- package/dist/{chunk-2MMEPNSX.cjs → chunk-GELNUDBT.cjs} +8 -8
- package/dist/{chunk-2MMEPNSX.cjs.map → chunk-GELNUDBT.cjs.map} +1 -1
- package/dist/{chunk-CRL3LR6Z.js → chunk-GOCM2TRB.js} +6 -6
- package/dist/{chunk-P3GL3PQN.js → chunk-I7AIORKQ.js} +3 -3
- package/dist/{chunk-Z23ZRP6A.js → chunk-IHMTMFNO.js} +3 -3
- package/dist/{chunk-X7LJRNMJ.js → chunk-JOV64HW5.js} +2 -2
- package/dist/{chunk-YQCA4ZEJ.js → chunk-KJWPAJRT.js} +2 -2
- package/dist/{chunk-SDDTMSNK.cjs → chunk-L35UOSEQ.cjs} +18 -18
- package/dist/{chunk-SDDTMSNK.cjs.map → chunk-L35UOSEQ.cjs.map} +1 -1
- package/dist/{chunk-YB6RCW77.cjs → chunk-LCK7T2RM.cjs} +7 -7
- package/dist/{chunk-YB6RCW77.cjs.map → chunk-LCK7T2RM.cjs.map} +1 -1
- package/dist/{chunk-QGY5QUYO.js → chunk-MI7XL4QH.js} +4 -4
- package/dist/{chunk-LMEIB7LK.js → chunk-MULT7VMK.js} +5 -5
- package/dist/{chunk-CSHOX2IA.cjs → chunk-NC7JJCZX.cjs} +28 -28
- package/dist/{chunk-CSHOX2IA.cjs.map → chunk-NC7JJCZX.cjs.map} +1 -1
- package/dist/{chunk-HYBPTBX7.js → chunk-OF5MAFYS.js} +2 -2
- package/dist/{chunk-5DQEPZTV.cjs → chunk-RDEBYNLG.cjs} +3 -3
- package/dist/{chunk-5DQEPZTV.cjs.map → chunk-RDEBYNLG.cjs.map} +1 -1
- package/dist/{chunk-O5SHSHGK.cjs → chunk-RJCIXHIN.cjs} +6 -6
- package/dist/{chunk-O5SHSHGK.cjs.map → chunk-RJCIXHIN.cjs.map} +1 -1
- package/dist/{chunk-AIUMGF4J.js → chunk-RLVMVUCV.js} +5 -5
- package/dist/{chunk-PRJSLQP7.js → chunk-RRIKLBHD.js} +3 -3
- package/dist/{chunk-PRJSLQP7.js.map → chunk-RRIKLBHD.js.map} +1 -1
- package/dist/{chunk-47TANSTC.cjs → chunk-SE6YRE3R.cjs} +39 -39
- package/dist/{chunk-47TANSTC.cjs.map → chunk-SE6YRE3R.cjs.map} +1 -1
- package/dist/{chunk-U7TTQV4N.cjs → chunk-T3C3JLGV.cjs} +3 -3
- package/dist/{chunk-U7TTQV4N.cjs.map → chunk-T3C3JLGV.cjs.map} +1 -1
- package/dist/{chunk-5LMLEKLO.cjs → chunk-TBDJQBPA.cjs} +63 -63
- package/dist/{chunk-5LMLEKLO.cjs.map → chunk-TBDJQBPA.cjs.map} +1 -1
- package/dist/{chunk-GKB5GAUK.cjs → chunk-TBKPAIIK.cjs} +27 -27
- package/dist/{chunk-GKB5GAUK.cjs.map → chunk-TBKPAIIK.cjs.map} +1 -1
- package/dist/{chunk-2TSVC3WA.cjs → chunk-TXLDKXRG.cjs} +11 -11
- package/dist/{chunk-2TSVC3WA.cjs.map → chunk-TXLDKXRG.cjs.map} +1 -1
- package/dist/{chunk-VI7PRLUJ.cjs → chunk-VHWABKMC.cjs} +33 -33
- package/dist/{chunk-VI7PRLUJ.cjs.map → chunk-VHWABKMC.cjs.map} +1 -1
- package/dist/{chunk-LQ7DJCA2.cjs → chunk-VPP6BJPP.cjs} +11 -11
- package/dist/{chunk-LQ7DJCA2.cjs.map → chunk-VPP6BJPP.cjs.map} +1 -1
- package/dist/{chunk-UEQ7ZS62.cjs → chunk-VXZQZZJD.cjs} +12 -12
- package/dist/{chunk-UEQ7ZS62.cjs.map → chunk-VXZQZZJD.cjs.map} +1 -1
- package/dist/{chunk-X64VTFIS.js → chunk-WX45U6RU.js} +4 -4
- package/dist/{chunk-QHRLJLWE.cjs → chunk-WX7AXSVK.cjs} +24 -24
- package/dist/{chunk-QHRLJLWE.cjs.map → chunk-WX7AXSVK.cjs.map} +1 -1
- package/dist/{chunk-NADSM5NR.js → chunk-WZK4NMFB.js} +4 -4
- package/dist/{chunk-KN3EJP4D.js → chunk-YPM65MEQ.js} +4 -4
- package/dist/{chunk-554L55DK.cjs → chunk-YTP6LQCB.cjs} +94 -94
- package/dist/{chunk-554L55DK.cjs.map → chunk-YTP6LQCB.cjs.map} +1 -1
- package/dist/{chunk-WGY4VVB3.cjs → chunk-ZUX7B27J.cjs} +345 -345
- package/dist/{chunk-WGY4VVB3.cjs.map → chunk-ZUX7B27J.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 +18 -18
- package/dist/components/case-studies/index.js +6 -6
- package/dist/components/chat/entity-cards/blog-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts +1 -1
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/case-study-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/github-activity-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/github-activity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/slack-message-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/slack-message-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/use-entity-card-link.d.ts +2 -2
- package/dist/components/chat/entity-cards/use-entity-card-link.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/chat/utils/nav-anchor-props.d.ts +2 -2
- package/dist/components/chat/utils/nav-anchor-props.d.ts.map +1 -1
- 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/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/card-registry.d.ts +3 -1
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/shared/product-release/product-release-card.d.ts +1 -1
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/button/button.d.ts +4 -1
- package/dist/components/ui/button/button.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/index.cjs +10 -10
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/src/components/chat/entity-cards/blog-card.tsx +1 -1
- package/src/components/chat/entity-cards/campaign-card-admin.tsx +1 -1
- package/src/components/chat/entity-cards/case-study-card.tsx +1 -1
- package/src/components/chat/entity-cards/customer-interview-card.tsx +1 -1
- package/src/components/chat/entity-cards/data-room-doc-card.tsx +1 -1
- package/src/components/chat/entity-cards/generic-entity-card.tsx +1 -1
- package/src/components/chat/entity-cards/github-activity-card.tsx +1 -1
- package/src/components/chat/entity-cards/hubspot-ticket-card.tsx +1 -1
- package/src/components/chat/entity-cards/investor-update-card.tsx +1 -1
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +1 -1
- package/src/components/chat/entity-cards/program-card.tsx +1 -1
- package/src/components/chat/entity-cards/roadmap-card.tsx +1 -1
- package/src/components/chat/entity-cards/slack-message-card.tsx +1 -1
- package/src/components/chat/entity-cards/use-entity-card-link.ts +2 -2
- package/src/components/chat/utils/nav-anchor-props.ts +2 -2
- package/src/components/related-content/card-registry.tsx +3 -1
- package/src/components/shared/product-release/product-release-card.tsx +1 -1
- package/src/components/ui/button/button.tsx +4 -1
- package/dist/chunk-BXKM4GFD.js.map +0 -1
- package/dist/chunk-OQHFHKUG.cjs.map +0 -1
- package/dist/chunk-QS2QCXBH.js.map +0 -1
- package/dist/chunk-UBH5ONPB.js.map +0 -1
- /package/dist/{chunk-NWE2XGSC.js.map → chunk-5C22ZEZL.js.map} +0 -0
- /package/dist/{chunk-SB4ZIYQF.js.map → chunk-62CT5VGY.js.map} +0 -0
- /package/dist/{chunk-D4TYGJ5U.js.map → chunk-6FMSRRZM.js.map} +0 -0
- /package/dist/{chunk-3TDQW73P.js.map → chunk-7GH4I7AL.js.map} +0 -0
- /package/dist/{chunk-ECNZCOJD.js.map → chunk-DVCDYMSZ.js.map} +0 -0
- /package/dist/{chunk-X3LC6R37.js.map → chunk-G5U4JP45.js.map} +0 -0
- /package/dist/{chunk-CRL3LR6Z.js.map → chunk-GOCM2TRB.js.map} +0 -0
- /package/dist/{chunk-P3GL3PQN.js.map → chunk-I7AIORKQ.js.map} +0 -0
- /package/dist/{chunk-Z23ZRP6A.js.map → chunk-IHMTMFNO.js.map} +0 -0
- /package/dist/{chunk-X7LJRNMJ.js.map → chunk-JOV64HW5.js.map} +0 -0
- /package/dist/{chunk-YQCA4ZEJ.js.map → chunk-KJWPAJRT.js.map} +0 -0
- /package/dist/{chunk-QGY5QUYO.js.map → chunk-MI7XL4QH.js.map} +0 -0
- /package/dist/{chunk-LMEIB7LK.js.map → chunk-MULT7VMK.js.map} +0 -0
- /package/dist/{chunk-HYBPTBX7.js.map → chunk-OF5MAFYS.js.map} +0 -0
- /package/dist/{chunk-AIUMGF4J.js.map → chunk-RLVMVUCV.js.map} +0 -0
- /package/dist/{chunk-X64VTFIS.js.map → chunk-WX45U6RU.js.map} +0 -0
- /package/dist/{chunk-NADSM5NR.js.map → chunk-WZK4NMFB.js.map} +0 -0
- /package/dist/{chunk-KN3EJP4D.js.map → chunk-YPM65MEQ.js.map} +0 -0
|
@@ -172,7 +172,7 @@ var _chunkYRTMAXLEcjs = require('./chunk-YRTMAXLE.cjs');
|
|
|
172
172
|
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
var
|
|
175
|
+
var _chunk2NRLRRMRcjs = require('./chunk-2NRLRRMR.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 _chunkGBEUGDZGcjs = require('./chunk-GBEUGDZG.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
|
+
_chunkGBEUGDZGcjs.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
|
+
_chunkGBEUGDZGcjs.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
|
+
_chunkGBEUGDZGcjs.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
|
+
_chunkGBEUGDZGcjs.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
|
+
_chunkGBEUGDZGcjs.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
|
+
_chunkGBEUGDZGcjs.Button,
|
|
1051
1051
|
{
|
|
1052
1052
|
size: "small-legacy",
|
|
1053
1053
|
variant: "outline",
|
|
@@ -4528,7 +4528,7 @@ var ActionsMenuDropdown = ({
|
|
|
4528
4528
|
);
|
|
4529
4529
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenu, { open, onOpenChange: setOpen, modal: false, children: [
|
|
4530
4530
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenuTrigger, { asChild: true, ref: triggerRef, children: _nullishCoalesce(customTrigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4531
|
-
|
|
4531
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4532
4532
|
{
|
|
4533
4533
|
variant: "outline",
|
|
4534
4534
|
size: "icon",
|
|
@@ -4790,12 +4790,12 @@ function MspOrganizationCard({
|
|
|
4790
4790
|
className
|
|
4791
4791
|
),
|
|
4792
4792
|
children: [
|
|
4793
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4793
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4794
4794
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4795
4795
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4796
4796
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
4797
4797
|
] }),
|
|
4798
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4798
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.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, _chunkYRTMAXLEcjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", size: "icon", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ExternalLinkIcon, {}) }) : null
|
|
4799
4799
|
]
|
|
4800
4800
|
}
|
|
4801
4801
|
);
|
|
@@ -4903,7 +4903,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4903
4903
|
...props,
|
|
4904
4904
|
children: [
|
|
4905
4905
|
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4906
|
-
|
|
4906
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4907
4907
|
{
|
|
4908
4908
|
onClick: onBack,
|
|
4909
4909
|
variant: "transparent",
|
|
@@ -4923,7 +4923,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4923
4923
|
] })
|
|
4924
4924
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
4925
4925
|
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,
|
|
4926
|
-
|
|
4926
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
4927
4927
|
{
|
|
4928
4928
|
src: userAvatar,
|
|
4929
4929
|
alt: userName,
|
|
@@ -4943,7 +4943,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4943
4943
|
] }),
|
|
4944
4944
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
4945
4945
|
showNewChat && onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4946
|
-
|
|
4946
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4947
4947
|
{
|
|
4948
4948
|
onClick: onNewChat,
|
|
4949
4949
|
variant: "transparent",
|
|
@@ -4954,7 +4954,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4954
4954
|
}
|
|
4955
4955
|
),
|
|
4956
4956
|
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4957
|
-
|
|
4957
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4958
4958
|
{
|
|
4959
4959
|
onClick: onClose,
|
|
4960
4960
|
variant: "transparent",
|
|
@@ -5151,7 +5151,7 @@ function MingoOnboardingCard({
|
|
|
5151
5151
|
] }),
|
|
5152
5152
|
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-secondary text-h6", children: description }) : null,
|
|
5153
5153
|
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,
|
|
5154
|
-
|
|
5154
|
+
_chunkGBEUGDZGcjs.Button,
|
|
5155
5155
|
{
|
|
5156
5156
|
type: "button",
|
|
5157
5157
|
variant: "outline",
|
|
@@ -7307,7 +7307,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7307
7307
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7308
7308
|
// no filled pill — the icon carries its own brand accent.
|
|
7309
7309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7310
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7310
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.SquareAvatar, { ...avatarProps })),
|
|
7311
7311
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7312
7312
|
"span",
|
|
7313
7313
|
{
|
|
@@ -8103,7 +8103,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8103
8103
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8104
8104
|
function useProxiedImageUrl(url) {
|
|
8105
8105
|
const r = _chunkUPKZU6QUcjs.useRequiredChatRuntime.call(void 0, );
|
|
8106
|
-
return _nullishCoalesce(
|
|
8106
|
+
return _nullishCoalesce(_chunk2NRLRRMRcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8107
8107
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8108
8108
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8109
8109
|
directHttps: true
|
|
@@ -8129,7 +8129,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8129
8129
|
height: 40,
|
|
8130
8130
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8131
8131
|
}
|
|
8132
|
-
) : /* @__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:
|
|
8132
|
+
) : /* @__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: _chunk2NRLRRMRcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8133
8133
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8134
8134
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8135
8135
|
/* @__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 }),
|
|
@@ -9405,7 +9405,7 @@ function MingoChatHistoryRow({
|
|
|
9405
9405
|
onOpenChange: setMenuOpen,
|
|
9406
9406
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
9407
9407
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9408
|
-
|
|
9408
|
+
_chunkGBEUGDZGcjs.Button,
|
|
9409
9409
|
{
|
|
9410
9410
|
variant: "transparent",
|
|
9411
9411
|
size: "icon",
|
|
@@ -9433,7 +9433,7 @@ function MingoChatHistoryRow({
|
|
|
9433
9433
|
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")
|
|
9434
9434
|
),
|
|
9435
9435
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9436
|
-
|
|
9436
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
9437
9437
|
{
|
|
9438
9438
|
variant: "round",
|
|
9439
9439
|
sizePx: 24,
|
|
@@ -9625,7 +9625,7 @@ function MingoWelcome({
|
|
|
9625
9625
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
9626
9626
|
/* @__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." })
|
|
9627
9627
|
] }),
|
|
9628
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9628
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
9629
9629
|
] }) : 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: [
|
|
9630
9630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9631
9631
|
"div",
|
|
@@ -9934,7 +9934,7 @@ function MingoHistoryRail({
|
|
|
9934
9934
|
),
|
|
9935
9935
|
children: [
|
|
9936
9936
|
onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9937
|
-
|
|
9937
|
+
_chunkGBEUGDZGcjs.Button,
|
|
9938
9938
|
{
|
|
9939
9939
|
variant: "outline",
|
|
9940
9940
|
fullWidth: true,
|
|
@@ -9962,7 +9962,7 @@ function MingoHistoryRail({
|
|
|
9962
9962
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
9963
9963
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
9964
9964
|
] }),
|
|
9965
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9965
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
9966
9966
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : hasList ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9967
9967
|
MingoChatHistory,
|
|
9968
9968
|
{
|
|
@@ -10481,7 +10481,7 @@ function ChatPanelHeaderMobile({
|
|
|
10481
10481
|
className
|
|
10482
10482
|
),
|
|
10483
10483
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-[var(--spacing-system-sf)]", children: [
|
|
10484
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10484
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, {}) }),
|
|
10485
10485
|
/* @__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: [
|
|
10486
10486
|
/* @__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 }) }),
|
|
10487
10487
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10492,7 +10492,7 @@ function ChatPanelHeaderMobile({
|
|
|
10492
10492
|
triggerClassName: "flex shrink-0 items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0"
|
|
10493
10493
|
}
|
|
10494
10494
|
),
|
|
10495
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10495
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, {}) })
|
|
10496
10496
|
] })
|
|
10497
10497
|
] })
|
|
10498
10498
|
}
|
|
@@ -10574,7 +10574,7 @@ function ChatPanelHeader({
|
|
|
10574
10574
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10575
10575
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10576
10576
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10577
|
-
|
|
10577
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
10578
10578
|
{
|
|
10579
10579
|
variant: "round",
|
|
10580
10580
|
sizePx: 32,
|
|
@@ -10715,7 +10715,7 @@ function ChatAttachmentAddButton({
|
|
|
10715
10715
|
}
|
|
10716
10716
|
),
|
|
10717
10717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10718
|
-
|
|
10718
|
+
_chunkGBEUGDZGcjs.Button,
|
|
10719
10719
|
{
|
|
10720
10720
|
type: "button",
|
|
10721
10721
|
variant: "transparent",
|
|
@@ -10788,13 +10788,13 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10788
10788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10789
10789
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10790
10790
|
status === "sniffing" && "Checking\u2026",
|
|
10791
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10792
|
-
status === "ready" &&
|
|
10791
|
+
status === "uploading" && `${progress}% \xB7 ${_chunk2NRLRRMRcjs.formatFileSize.call(void 0, file.size)}`,
|
|
10792
|
+
status === "ready" && _chunk2NRLRRMRcjs.formatFileSize.call(void 0, file.size),
|
|
10793
10793
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10794
10794
|
] })
|
|
10795
10795
|
] }),
|
|
10796
10796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10797
|
-
|
|
10797
|
+
_chunkGBEUGDZGcjs.Button,
|
|
10798
10798
|
{
|
|
10799
10799
|
type: "button",
|
|
10800
10800
|
variant: "transparent",
|
|
@@ -11361,7 +11361,7 @@ var ChatSidebarSkeleton = _react.forwardRef.call(void 0,
|
|
|
11361
11361
|
...props,
|
|
11362
11362
|
children: [
|
|
11363
11363
|
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,
|
|
11364
|
-
|
|
11364
|
+
_chunkGBEUGDZGcjs.Button,
|
|
11365
11365
|
{
|
|
11366
11366
|
variant: "transparent",
|
|
11367
11367
|
disabled: true,
|
|
@@ -11482,7 +11482,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
11482
11482
|
...props,
|
|
11483
11483
|
children: [
|
|
11484
11484
|
/* @__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,
|
|
11485
|
-
|
|
11485
|
+
_chunkGBEUGDZGcjs.Button,
|
|
11486
11486
|
{
|
|
11487
11487
|
onClick: onNewChat,
|
|
11488
11488
|
variant: "transparent",
|
|
@@ -11586,10 +11586,10 @@ function resolveExternalNavigation(args) {
|
|
|
11586
11586
|
|
|
11587
11587
|
// src/components/chat/utils/execute-navigation.ts
|
|
11588
11588
|
function isForeignOriginHref(href) {
|
|
11589
|
-
return /^https?:\/\//i.test(href) && !
|
|
11589
|
+
return /^https?:\/\//i.test(href) && !_chunk2NRLRRMRcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
11590
11590
|
}
|
|
11591
11591
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
11592
|
-
const isNewTab = runtime ?
|
|
11592
|
+
const isNewTab = runtime ? _chunk2NRLRRMRcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
11593
11593
|
if (isNewTab) {
|
|
11594
11594
|
if (_optionalChain([runtime, 'optionalAccess', _204 => _204.navigation, 'access', _205 => _205.openExternal])) runtime.navigation.openExternal(href);
|
|
11595
11595
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -11648,7 +11648,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11648
11648
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
11649
11649
|
const panel = useChatPanel();
|
|
11650
11650
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11651
|
-
const isNewTab =
|
|
11651
|
+
const isNewTab = _chunk2NRLRRMRcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
11652
11652
|
const onClick = (e) => {
|
|
11653
11653
|
const handled = executeNavigation({
|
|
11654
11654
|
event: e,
|
|
@@ -11660,7 +11660,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11660
11660
|
});
|
|
11661
11661
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
11662
11662
|
};
|
|
11663
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
11663
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunk2NRLRRMRcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
11664
11664
|
}
|
|
11665
11665
|
|
|
11666
11666
|
// src/components/chat/source-action-button.tsx
|
|
@@ -11705,7 +11705,7 @@ function SourceActionButton({
|
|
|
11705
11705
|
const IconComponent = isDisplay ? _lucidereact.FileText : _lucidereact.MessageSquare;
|
|
11706
11706
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: styles.iconSize });
|
|
11707
11707
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11708
|
-
|
|
11708
|
+
_chunkGBEUGDZGcjs.Button,
|
|
11709
11709
|
{
|
|
11710
11710
|
variant: "transparent",
|
|
11711
11711
|
size: styles.size,
|
|
@@ -12192,9 +12192,9 @@ function VideoErrorOverlay({
|
|
|
12192
12192
|
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: [
|
|
12193
12193
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "This video failed to play." }),
|
|
12194
12194
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-sf)]", children: [
|
|
12195
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12195
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", size: "small", onClick: onRetry, children: "Try again" }),
|
|
12196
12196
|
watchOnYouTubeId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12197
|
-
|
|
12197
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12198
12198
|
{
|
|
12199
12199
|
variant: "transparent",
|
|
12200
12200
|
size: "small",
|
|
@@ -12963,9 +12963,9 @@ function UserDisplay({
|
|
|
12963
12963
|
}) {
|
|
12964
12964
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
12965
12965
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12966
|
-
|
|
12966
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
12967
12967
|
{
|
|
12968
|
-
src: avatarUrl ?
|
|
12968
|
+
src: avatarUrl ? _chunk2NRLRRMRcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12969
12969
|
fallback: name,
|
|
12970
12970
|
alt: name,
|
|
12971
12971
|
sizePx: size2,
|
|
@@ -13396,7 +13396,7 @@ function CardsStrip(props) {
|
|
|
13396
13396
|
),
|
|
13397
13397
|
showChevrons && overflows && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13398
13398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13399
|
-
|
|
13399
|
+
_chunkGBEUGDZGcjs.Button,
|
|
13400
13400
|
{
|
|
13401
13401
|
type: "button",
|
|
13402
13402
|
variant: "outline",
|
|
@@ -13408,7 +13408,7 @@ function CardsStrip(props) {
|
|
|
13408
13408
|
}
|
|
13409
13409
|
),
|
|
13410
13410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13411
|
-
|
|
13411
|
+
_chunkGBEUGDZGcjs.Button,
|
|
13412
13412
|
{
|
|
13413
13413
|
type: "button",
|
|
13414
13414
|
variant: "outline",
|
|
@@ -13465,7 +13465,7 @@ function VideoHoverPreviewSurface({
|
|
|
13465
13465
|
return () => io.disconnect();
|
|
13466
13466
|
}, [gateControlled]);
|
|
13467
13467
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13468
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13468
|
+
const { src: posterSrc, onError: onPosterError } = _chunk2NRLRRMRcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13469
13469
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13470
13470
|
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: [
|
|
13471
13471
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13583,7 +13583,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13583
13583
|
|
|
13584
13584
|
function VideoBitesStrip({
|
|
13585
13585
|
bites,
|
|
13586
|
-
title =
|
|
13586
|
+
title = _chunk2NRLRRMRcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13587
13587
|
showTitle = true,
|
|
13588
13588
|
filterPublished = true,
|
|
13589
13589
|
profile = null,
|
|
@@ -13596,7 +13596,7 @@ function VideoBitesStrip({
|
|
|
13596
13596
|
cardHeightMobile = 300,
|
|
13597
13597
|
showChevrons = true,
|
|
13598
13598
|
onBiteNavigate,
|
|
13599
|
-
sortComparator =
|
|
13599
|
+
sortComparator = _chunk2NRLRRMRcjs.sortBitesByCreatedAtDesc,
|
|
13600
13600
|
className
|
|
13601
13601
|
}) {
|
|
13602
13602
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -13821,7 +13821,7 @@ function EntityVideoSection({
|
|
|
13821
13821
|
title = "Video",
|
|
13822
13822
|
videoSummary,
|
|
13823
13823
|
videoBites,
|
|
13824
|
-
bitesTitle =
|
|
13824
|
+
bitesTitle = _chunk2NRLRRMRcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13825
13825
|
filterPublishedBites = true,
|
|
13826
13826
|
bitesProfile = null,
|
|
13827
13827
|
bitesHref,
|
|
@@ -14060,7 +14060,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
14060
14060
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
14061
14061
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
14062
14062
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
14063
|
-
const dateText =
|
|
14063
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14064
14064
|
const idLabel = formatActivityId(item.id, kind);
|
|
14065
14065
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
14066
14066
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -14094,26 +14094,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14094
14094
|
metaParts.push(
|
|
14095
14095
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14096
14096
|
);
|
|
14097
|
-
const href =
|
|
14097
|
+
const href = _chunk2NRLRRMRcjs.safeHref.call(void 0, item.url);
|
|
14098
14098
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14099
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14100
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14101
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14099
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14100
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14101
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14102
14102
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14104
14104
|
] }),
|
|
14105
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14105
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14106
14106
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14107
14107
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14108
14108
|
] }, i)) }) }),
|
|
14109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14110
14110
|
] }),
|
|
14111
14111
|
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
|
|
14112
14112
|
] });
|
|
14113
14113
|
if (anchorProps) {
|
|
14114
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14114
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14115
14115
|
}
|
|
14116
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14116
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14117
14117
|
}
|
|
14118
14118
|
function GitHubActivityCardSkeleton({
|
|
14119
14119
|
variant = "compact",
|
|
@@ -14130,12 +14130,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14130
14130
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14131
14131
|
] });
|
|
14132
14132
|
}
|
|
14133
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14135
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14137
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14138
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14133
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14134
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14135
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14137
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14138
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14139
14139
|
] }),
|
|
14140
14140
|
/* @__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" }) })
|
|
14141
14141
|
] });
|
|
@@ -14159,7 +14159,7 @@ function parseChannelFromUrl(url) {
|
|
|
14159
14159
|
}
|
|
14160
14160
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
14161
14161
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
14162
|
-
const dateText =
|
|
14162
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14163
14163
|
if (variant === "row") {
|
|
14164
14164
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14165
14165
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -14185,23 +14185,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14185
14185
|
metaParts.push(
|
|
14186
14186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14187
14187
|
);
|
|
14188
|
-
const href =
|
|
14188
|
+
const href = _chunk2NRLRRMRcjs.safeHref.call(void 0, item.url);
|
|
14189
14189
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14191
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14193
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14191
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14195
14195
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14196
14196
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14197
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14197
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14198
14198
|
] }),
|
|
14199
14199
|
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
|
|
14200
14200
|
] });
|
|
14201
14201
|
if (anchorProps) {
|
|
14202
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14202
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14203
14203
|
}
|
|
14204
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14204
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14205
14205
|
}
|
|
14206
14206
|
function SlackMessageCardSkeleton({
|
|
14207
14207
|
variant = "compact",
|
|
@@ -14216,12 +14216,12 @@ function SlackMessageCardSkeleton({
|
|
|
14216
14216
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14217
14217
|
] });
|
|
14218
14218
|
}
|
|
14219
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14220
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14221
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14222
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14224
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14219
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14220
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14221
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14222
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14223
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14224
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14225
14225
|
] }),
|
|
14226
14226
|
/* @__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" }) })
|
|
14227
14227
|
] });
|
|
@@ -14252,12 +14252,12 @@ function statusScheme(status) {
|
|
|
14252
14252
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
14253
14253
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
14254
14254
|
const priorityText = formatToken(item.priority);
|
|
14255
|
-
const dateText =
|
|
14255
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14256
14256
|
if (variant === "row") {
|
|
14257
14257
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14258
14258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14259
14259
|
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,
|
|
14260
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14260
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14261
14261
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14262
14262
|
] });
|
|
14263
14263
|
}
|
|
@@ -14271,13 +14271,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14271
14271
|
metaParts.push(
|
|
14272
14272
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14273
14273
|
);
|
|
14274
|
-
const href =
|
|
14274
|
+
const href = _chunk2NRLRRMRcjs.safeHref.call(void 0, item.url);
|
|
14275
14275
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14276
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14276
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14277
14277
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14279
14279
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14280
|
-
|
|
14280
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
14281
14281
|
{
|
|
14282
14282
|
text: priorityText,
|
|
14283
14283
|
variant: "button",
|
|
@@ -14286,7 +14286,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14286
14286
|
}
|
|
14287
14287
|
) : null,
|
|
14288
14288
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14289
|
-
|
|
14289
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
14290
14290
|
{
|
|
14291
14291
|
text: statusText,
|
|
14292
14292
|
variant: "button",
|
|
@@ -14300,7 +14300,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14300
14300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14301
14301
|
] }) : null,
|
|
14302
14302
|
/* @__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." }) }) }),
|
|
14303
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14303
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14304
14304
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14305
14305
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14306
14306
|
] }, i)) }) }) : null
|
|
@@ -14308,9 +14308,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14308
14308
|
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
|
|
14309
14309
|
] });
|
|
14310
14310
|
if (anchorProps) {
|
|
14311
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14311
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14312
14312
|
}
|
|
14313
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14313
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14314
14314
|
}
|
|
14315
14315
|
function HubspotTicketCardSkeleton({
|
|
14316
14316
|
variant = "compact",
|
|
@@ -14324,8 +14324,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14324
14324
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14325
14325
|
] });
|
|
14326
14326
|
}
|
|
14327
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14328
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14327
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14328
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14329
14329
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14330
14330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14331
14331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14338,7 +14338,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14338
14338
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14339
14339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14340
14340
|
] }),
|
|
14341
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14341
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14342
14342
|
] }),
|
|
14343
14343
|
/* @__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" }) })
|
|
14344
14344
|
] });
|
|
@@ -14349,10 +14349,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14349
14349
|
|
|
14350
14350
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14351
14351
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14352
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14352
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14353
14353
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14354
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14356
14356
|
] }),
|
|
14357
14357
|
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: [
|
|
14358
14358
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14363,13 +14363,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14363
14363
|
_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
|
|
14364
14364
|
] });
|
|
14365
14365
|
if (!anchorProps) {
|
|
14366
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14366
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14367
14367
|
}
|
|
14368
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14368
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14369
14369
|
}
|
|
14370
14370
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14371
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14372
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14371
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14372
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14373
14373
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14374
14374
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14375
14375
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14390,29 +14390,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14390
14390
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14391
14391
|
const goalsCount = _optionalChain([campaign, 'access', _345 => _345.goals, 'optionalAccess', _346 => _346.length]) || 0;
|
|
14392
14392
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14393
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14394
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14395
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14397
|
-
campaign.start_date ?
|
|
14393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14394
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14397
|
+
campaign.start_date ? _chunk2NRLRRMRcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14398
14398
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14399
14399
|
"Marketing campaign"
|
|
14400
14400
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunk2NRLRRMRcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14402
14402
|
] })
|
|
14403
14403
|
] });
|
|
14404
14404
|
if (anchorProps) {
|
|
14405
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14405
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14406
14406
|
}
|
|
14407
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14407
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14408
14408
|
}
|
|
14409
14409
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14410
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14411
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14412
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14414
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14415
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14410
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14411
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14412
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14414
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14415
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14416
14416
|
] })
|
|
14417
14417
|
] });
|
|
14418
14418
|
}
|
|
@@ -14421,14 +14421,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14421
14421
|
|
|
14422
14422
|
|
|
14423
14423
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14424
|
-
const href =
|
|
14425
|
-
const dateText =
|
|
14424
|
+
const href = _chunk2NRLRRMRcjs.safeHref.call(void 0, item.url);
|
|
14425
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14426
14426
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14427
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14427
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14428
14428
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14429
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14429
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14430
14430
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14431
|
-
|
|
14431
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
14432
14432
|
{
|
|
14433
14433
|
text: item.badge.text,
|
|
14434
14434
|
variant: "button",
|
|
@@ -14446,18 +14446,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14446
14446
|
] }),
|
|
14447
14447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14448
14448
|
] }, i)) }) : null,
|
|
14449
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14449
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14450
14450
|
] }),
|
|
14451
14451
|
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
|
|
14452
14452
|
] });
|
|
14453
14453
|
if (anchorProps) {
|
|
14454
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14454
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14455
14455
|
}
|
|
14456
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14456
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14457
14457
|
}
|
|
14458
14458
|
function GenericEntityCardSkeleton({ className }) {
|
|
14459
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14460
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14459
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14460
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14461
14461
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14462
14462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14463
14463
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14506,8 +14506,8 @@ function useChatCardItem(type, id) {
|
|
|
14506
14506
|
const res = await _chunkEHAYNUOLcjs.embedAuthedFetch.call(void 0, url);
|
|
14507
14507
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14508
14508
|
const data = await res.json();
|
|
14509
|
-
const items =
|
|
14510
|
-
const match = items.find((it) =>
|
|
14509
|
+
const items = _chunk2NRLRRMRcjs.extractItems.call(void 0, data);
|
|
14510
|
+
const match = items.find((it) => _chunk2NRLRRMRcjs.extractItemId.call(void 0, type, it) === id);
|
|
14511
14511
|
return _nullishCoalesce(match, () => ( null));
|
|
14512
14512
|
},
|
|
14513
14513
|
enabled: !!url && id.length > 0,
|
|
@@ -14540,7 +14540,7 @@ function useChatCardItem(type, id) {
|
|
|
14540
14540
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
14541
14541
|
if (imageSrc) {
|
|
14542
14542
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
14543
|
-
/* @__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:
|
|
14543
|
+
/* @__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: _chunk2NRLRRMRcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
14544
14544
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14545
14545
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
14546
14546
|
{
|
|
@@ -14698,7 +14698,7 @@ function resolveFetchedCardHref({
|
|
|
14698
14698
|
composeContentUrl
|
|
14699
14699
|
}) {
|
|
14700
14700
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14701
|
-
const canonicalType =
|
|
14701
|
+
const canonicalType = _chunk2NRLRRMRcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14702
14702
|
return composeContentUrl({
|
|
14703
14703
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14704
14704
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14908,16 +14908,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14908
14908
|
if (docTarget) {
|
|
14909
14909
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14910
14910
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14911
|
-
href = _nullishCoalesce(
|
|
14911
|
+
href = _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14912
14912
|
targetPlatform = docTarget.platform;
|
|
14913
14913
|
} else if (ctx.chipBasePlatform) {
|
|
14914
14914
|
const base = `${_chunk23V5BSHDcjs.getBaseUrl.call(void 0, ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14915
|
-
href = _nullishCoalesce(
|
|
14915
|
+
href = _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14916
14916
|
targetPlatform = ctx.chipBasePlatform;
|
|
14917
14917
|
} else if (ctx.baseRoute) {
|
|
14918
14918
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14919
14919
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14920
|
-
href = _nullishCoalesce(
|
|
14920
|
+
href = _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14921
14921
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14922
14922
|
}
|
|
14923
14923
|
}
|
|
@@ -14926,15 +14926,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14926
14926
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14927
14927
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14928
14928
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14929
|
-
type:
|
|
14929
|
+
type: _chunk2NRLRRMRcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14930
14930
|
identifier: idValue,
|
|
14931
14931
|
externalUrl: row.externalUrl,
|
|
14932
14932
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14933
14933
|
});
|
|
14934
|
-
href = composed.href ? _nullishCoalesce(
|
|
14934
|
+
href = composed.href ? _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14935
14935
|
targetPlatform = composed.targetPlatform;
|
|
14936
14936
|
} else if (row.externalUrl) {
|
|
14937
|
-
href = _nullishCoalesce(
|
|
14937
|
+
href = _nullishCoalesce(_chunk2NRLRRMRcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14938
14938
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14939
14939
|
}
|
|
14940
14940
|
const documentType = row.documentType;
|
|
@@ -14969,11 +14969,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
14969
14969
|
|
|
14970
14970
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
14971
14971
|
const label = entityLabel || "Item";
|
|
14972
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
14973
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14974
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
14975
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14976
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
14972
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14973
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
14974
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk2NRLRRMRcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
14976
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk2NRLRRMRcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
14977
14977
|
label,
|
|
14978
14978
|
" deleted",
|
|
14979
14979
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -15019,7 +15019,7 @@ function GitHubChatCard({
|
|
|
15019
15019
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
15020
15020
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
15021
15021
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
15022
|
-
const dateText =
|
|
15022
|
+
const dateText = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
15023
15023
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
15024
15024
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15025
15025
|
MingoInfoCard,
|
|
@@ -15028,7 +15028,7 @@ function GitHubChatCard({
|
|
|
15028
15028
|
description,
|
|
15029
15029
|
icon: githubKindIcon(kind),
|
|
15030
15030
|
status,
|
|
15031
|
-
anchorProps:
|
|
15031
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15032
15032
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15033
15033
|
menuAriaLabel: "Activity actions"
|
|
15034
15034
|
}
|
|
@@ -15175,7 +15175,7 @@ function HubspotTicketChatCard({
|
|
|
15175
15175
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15176
15176
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 24 }),
|
|
15177
15177
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15178
|
-
anchorProps:
|
|
15178
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15179
15179
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15180
15180
|
label: "Open Ticket Details",
|
|
15181
15181
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 20 })
|
|
@@ -15198,7 +15198,7 @@ function FaqChatCard({
|
|
|
15198
15198
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15199
15199
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.QuestionCircleIcon, { size: 24 }),
|
|
15200
15200
|
status: { label: statusLabel, variant: "grey" },
|
|
15201
|
-
anchorProps:
|
|
15201
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15202
15202
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15203
15203
|
menuAriaLabel: "FAQ actions"
|
|
15204
15204
|
}
|
|
@@ -15218,7 +15218,7 @@ function SlackChatCard({
|
|
|
15218
15218
|
title,
|
|
15219
15219
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15220
15220
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15221
|
-
anchorProps:
|
|
15221
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15222
15222
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15223
15223
|
menuAriaLabel: "Message actions"
|
|
15224
15224
|
}
|
|
@@ -15236,7 +15236,7 @@ function GlyphChatCard({
|
|
|
15236
15236
|
title: chatRef.title,
|
|
15237
15237
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15238
15238
|
icon,
|
|
15239
|
-
anchorProps:
|
|
15239
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15240
15240
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15241
15241
|
menuAriaLabel: "Card actions"
|
|
15242
15242
|
}
|
|
@@ -15255,7 +15255,7 @@ function DataRoomDocChatCard({
|
|
|
15255
15255
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15256
15256
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }),
|
|
15257
15257
|
status: { label: badgeText, variant: "grey" },
|
|
15258
|
-
anchorProps:
|
|
15258
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15259
15259
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15260
15260
|
menuAriaLabel: "Document actions"
|
|
15261
15261
|
}
|
|
@@ -15274,7 +15274,7 @@ function GenericFinancialChatCard({
|
|
|
15274
15274
|
title: chatRef.title,
|
|
15275
15275
|
description: subtitle,
|
|
15276
15276
|
icon,
|
|
15277
|
-
anchorProps:
|
|
15277
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15278
15278
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15279
15279
|
menuAriaLabel: "Document actions"
|
|
15280
15280
|
}
|
|
@@ -15360,7 +15360,7 @@ function CampaignChatCard({
|
|
|
15360
15360
|
}) {
|
|
15361
15361
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _378 => _378.goals])) ? item.goals.length : 0;
|
|
15362
15362
|
const meta = [
|
|
15363
|
-
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ?
|
|
15363
|
+
_optionalChain([item, 'optionalAccess', _379 => _379.start_date]) ? _chunk2NRLRRMRcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15364
15364
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15365
15365
|
"Marketing campaign"
|
|
15366
15366
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15399,7 +15399,7 @@ function EntityMingoCard({
|
|
|
15399
15399
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15400
15400
|
icon: fallbackIcon,
|
|
15401
15401
|
status,
|
|
15402
|
-
anchorProps:
|
|
15402
|
+
anchorProps: _chunk2NRLRRMRcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15403
15403
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15404
15404
|
menuAriaLabel
|
|
15405
15405
|
}
|
|
@@ -15411,7 +15411,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15411
15411
|
function statusPill(status) {
|
|
15412
15412
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15413
15413
|
if (!s) return void 0;
|
|
15414
|
-
const scheme =
|
|
15414
|
+
const scheme = _chunk2NRLRRMRcjs.getStatusColorScheme.call(void 0, s);
|
|
15415
15415
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15416
15416
|
return { label: s, variant };
|
|
15417
15417
|
}
|
|
@@ -15498,7 +15498,7 @@ function InvestorUpdateChatCard({
|
|
|
15498
15498
|
EntityMingoCard,
|
|
15499
15499
|
{
|
|
15500
15500
|
title,
|
|
15501
|
-
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) ||
|
|
15501
|
+
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) || _chunk2NRLRRMRcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _409 => _409.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _410 => _410.period_end]), () => ( null))) || void 0,
|
|
15502
15502
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _411 => _411.featured_image]), ogPlaceholder),
|
|
15503
15503
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PresentationLineIcon, { size: 24 }),
|
|
15504
15504
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15545,15 +15545,15 @@ function ProgramChatCard({
|
|
|
15545
15545
|
const isScheduled = _optionalChain([item, 'optionalAccess', _418 => _418.status]) === "scheduled";
|
|
15546
15546
|
let typeMeta;
|
|
15547
15547
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
15548
|
-
typeMeta =
|
|
15548
|
+
typeMeta = _chunk2NRLRRMRcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
15549
15549
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _420 => _420.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
15550
15550
|
typeMeta = item.location_name;
|
|
15551
15551
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _421 => _421.start_at])) {
|
|
15552
|
-
const time =
|
|
15553
|
-
const dur =
|
|
15552
|
+
const time = _chunk2NRLRRMRcjs.formatTimeWithTimezone.call(void 0, item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
15553
|
+
const dur = _chunk2NRLRRMRcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
15554
15554
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
15555
15555
|
}
|
|
15556
|
-
const itemDate =
|
|
15556
|
+
const itemDate = _chunk2NRLRRMRcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _422 => _422.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
15557
15557
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
15558
15558
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15559
15559
|
EntityMingoCard,
|
|
@@ -15580,7 +15580,7 @@ function RoadmapChatCard({
|
|
|
15580
15580
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _426 => _426.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15581
15581
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]) != null;
|
|
15582
15582
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MapIcon, { size: 24 });
|
|
15583
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15583
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _428 => _428.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15584
15584
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15585
15585
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15586
15586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15726,7 +15726,7 @@ function programRegistryEntries() {
|
|
|
15726
15726
|
label: cfg.label,
|
|
15727
15727
|
contentRefType: cfg.contentRefType,
|
|
15728
15728
|
bareInline: true,
|
|
15729
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15729
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15730
15730
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15731
15731
|
ProgramChatCard,
|
|
15732
15732
|
{
|
|
@@ -15767,7 +15767,7 @@ function roadmapRegistryEntries() {
|
|
|
15767
15767
|
bareInline: true,
|
|
15768
15768
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15769
15769
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15770
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15770
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15771
15771
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15772
15772
|
RoadmapChatCard,
|
|
15773
15773
|
{
|
|
@@ -15843,7 +15843,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15843
15843
|
label: "Blog post",
|
|
15844
15844
|
contentRefType: "blog_post_existing",
|
|
15845
15845
|
bareInline: true,
|
|
15846
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15846
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.BlogCardSkeleton, { size: "sm" }),
|
|
15847
15847
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15848
15848
|
BlogChatCard,
|
|
15849
15849
|
{
|
|
@@ -15860,7 +15860,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15860
15860
|
label: "Case study",
|
|
15861
15861
|
contentRefType: "case_study",
|
|
15862
15862
|
bareInline: true,
|
|
15863
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15863
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
15864
15864
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15865
15865
|
CaseStudyChatCard,
|
|
15866
15866
|
{
|
|
@@ -15876,7 +15876,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15876
15876
|
label: "Customer interview",
|
|
15877
15877
|
contentRefType: "customer_interview",
|
|
15878
15878
|
bareInline: true,
|
|
15879
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15879
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
15880
15880
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15881
15881
|
CustomerInterviewChatCard,
|
|
15882
15882
|
{
|
|
@@ -15892,9 +15892,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15892
15892
|
label: "Product release",
|
|
15893
15893
|
contentRefType: "product_release",
|
|
15894
15894
|
bareInline: true,
|
|
15895
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15895
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
15896
15896
|
render: (item, chatRef, opts) => {
|
|
15897
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => (
|
|
15897
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _466 => _466.extras, 'optionalAccess', _467 => _467.buildProductReleaseCardProps]), () => ( _chunk2NRLRRMRcjs.defaultBuildProductReleaseCardProps));
|
|
15898
15898
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15899
15899
|
ProductReleaseChatCard,
|
|
15900
15900
|
{
|
|
@@ -15912,7 +15912,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15912
15912
|
label: "Investor update",
|
|
15913
15913
|
contentRefType: "investor_update",
|
|
15914
15914
|
bareInline: true,
|
|
15915
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15915
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
15916
15916
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15917
15917
|
InvestorUpdateChatCard,
|
|
15918
15918
|
{
|
|
@@ -15930,7 +15930,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
15930
15930
|
bareInline: true,
|
|
15931
15931
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
15932
15932
|
displayAction: true,
|
|
15933
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15933
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
15934
15934
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15935
15935
|
OnboardingGuideChatCard,
|
|
15936
15936
|
{
|
|
@@ -16030,13 +16030,13 @@ function ChatCardLoader({
|
|
|
16030
16030
|
}) : null;
|
|
16031
16031
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
16032
16032
|
...resolvedChatRef,
|
|
16033
|
-
url:
|
|
16033
|
+
url: _chunk2NRLRRMRcjs.safeHref.call(void 0, hrefChoice.href),
|
|
16034
16034
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
16035
16035
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
16036
16036
|
} : resolvedChatRef;
|
|
16037
16037
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
16038
16038
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
16039
|
-
const isNewTab =
|
|
16039
|
+
const isNewTab = _chunk2NRLRRMRcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
16040
16040
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
16041
16041
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16042
16042
|
const discuss = discussFn ? {
|
|
@@ -17530,7 +17530,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17530
17530
|
return () => root.removeEventListener("click", onClick);
|
|
17531
17531
|
}, [viewUrlPrefix]);
|
|
17532
17532
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17533
|
-
|
|
17533
|
+
_chunk2NRLRRMRcjs.ImageGalleryModal,
|
|
17534
17534
|
{
|
|
17535
17535
|
images: state.images,
|
|
17536
17536
|
isOpen: state.isOpen,
|
|
@@ -24334,7 +24334,7 @@ function SourceChip({
|
|
|
24334
24334
|
const Icon = cta.icon;
|
|
24335
24335
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24336
24336
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24337
|
-
const decideTab = (href, targetPlatform) =>
|
|
24337
|
+
const decideTab = (href, targetPlatform) => _chunk2NRLRRMRcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24338
24338
|
if (src.items && src.items.length > 0) {
|
|
24339
24339
|
const dropdownItems = src.items.map((item) => {
|
|
24340
24340
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24423,7 +24423,7 @@ function SourceChip({
|
|
|
24423
24423
|
"a",
|
|
24424
24424
|
{
|
|
24425
24425
|
href: resolvedHref,
|
|
24426
|
-
...
|
|
24426
|
+
..._chunk2NRLRRMRcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24427
24427
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24428
24428
|
className: chipClass,
|
|
24429
24429
|
children: chipBody(src.name)
|
|
@@ -24439,7 +24439,7 @@ function SourceChip({
|
|
|
24439
24439
|
"a",
|
|
24440
24440
|
{
|
|
24441
24441
|
href: resolvedHref,
|
|
24442
|
-
...
|
|
24442
|
+
..._chunk2NRLRRMRcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24443
24443
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24444
24444
|
className: chipClass,
|
|
24445
24445
|
title: displayName,
|
|
@@ -25235,7 +25235,7 @@ function EmbeddableChatInner({
|
|
|
25235
25235
|
headerAvatar ? (
|
|
25236
25236
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
25237
25237
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25238
|
-
|
|
25238
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
25239
25239
|
{
|
|
25240
25240
|
variant: "round",
|
|
25241
25241
|
sizePx: 32,
|
|
@@ -25561,7 +25561,7 @@ function EmbeddableChatInner({
|
|
|
25561
25561
|
"aria-hidden": isOpen,
|
|
25562
25562
|
className: `pointer-events-none sticky bottom-0 z-[9990] h-0 ${isOpen ? "opacity-0" : "opacity-100"}`,
|
|
25563
25563
|
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,
|
|
25564
|
-
|
|
25564
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25565
25565
|
{
|
|
25566
25566
|
onClick: handleOpen,
|
|
25567
25567
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKOQCA5X5cjs.MingoIcon, { className: "h-5 w-5", color: "currentColor" }),
|
|
@@ -25954,4 +25954,4 @@ function EmbeddableChatInner({
|
|
|
25954
25954
|
|
|
25955
25955
|
|
|
25956
25956
|
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.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardSkeleton = AdminContentCardSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; 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;
|
|
25957
|
-
//# sourceMappingURL=chunk-
|
|
25957
|
+
//# sourceMappingURL=chunk-BGSBHH4X.cjs.map
|