@flamingo-stack/openframe-frontend-core 0.0.642 → 0.0.644-2208.6318.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/chat-protocol/index.cjs +10 -3
- package/dist/chat-protocol/index.cjs.map +1 -1
- package/dist/chat-protocol/index.js +10 -3
- package/dist/chat-protocol/index.js.map +1 -1
- package/dist/chat-protocol/source-metadata.d.ts +7 -1
- package/dist/chat-protocol/source-metadata.d.ts.map +1 -1
- package/dist/{chunk-FRCUUK5X.cjs → chunk-2G47VKPD.cjs} +3 -3
- package/dist/{chunk-FRCUUK5X.cjs.map → chunk-2G47VKPD.cjs.map} +1 -1
- package/dist/{chunk-ZGPJ3NVF.js → chunk-3AUBCCTI.js} +3 -3
- package/dist/{chunk-OOOOC5O5.cjs → chunk-3ENJITQA.cjs} +29 -29
- package/dist/{chunk-OOOOC5O5.cjs.map → chunk-3ENJITQA.cjs.map} +1 -1
- package/dist/{chunk-6NHLZORM.js → chunk-3ENOAHWR.js} +6 -6
- package/dist/{chunk-3IPL6G7S.js → chunk-3W563UVF.js} +40 -10
- package/dist/chunk-3W563UVF.js.map +1 -0
- package/dist/{chunk-UFBWNVZZ.js → chunk-4WIS7COJ.js} +7 -7
- package/dist/{chunk-HW7BLVQH.js → chunk-53RGBCL7.js} +4 -4
- package/dist/{chunk-S254VEDE.js → chunk-5GAWR7RX.js} +3 -3
- package/dist/{chunk-O4LL7RQV.cjs → chunk-5QRNCWHS.cjs} +199 -199
- package/dist/{chunk-O4LL7RQV.cjs.map → chunk-5QRNCWHS.cjs.map} +1 -1
- package/dist/{chunk-MJ424FEC.js → chunk-6O2XNGUE.js} +2 -2
- package/dist/{chunk-XFLJC2WR.cjs → chunk-7FI2YKEU.cjs} +59 -59
- package/dist/{chunk-XFLJC2WR.cjs.map → chunk-7FI2YKEU.cjs.map} +1 -1
- package/dist/{chunk-N5C5P2LM.cjs → chunk-CTGCWBU3.cjs} +22 -22
- package/dist/{chunk-N5C5P2LM.cjs.map → chunk-CTGCWBU3.cjs.map} +1 -1
- package/dist/{chunk-YM6L3WM5.js → chunk-DSKO3GPD.js} +3 -3
- package/dist/{chunk-2Z5FPHOL.cjs → chunk-DYJQPJBW.cjs} +20 -20
- package/dist/{chunk-2Z5FPHOL.cjs.map → chunk-DYJQPJBW.cjs.map} +1 -1
- package/dist/{chunk-POPL3W2S.js → chunk-GLGERQO7.js} +3 -3
- package/dist/{chunk-2NRLRRMR.cjs → chunk-GSC2NB5C.cjs} +108 -78
- package/dist/chunk-GSC2NB5C.cjs.map +1 -0
- package/dist/{chunk-SDGMLXIP.js → chunk-JWRMSVNZ.js} +3 -3
- package/dist/{chunk-VHB3I6F3.cjs → chunk-K6KKARAF.cjs} +173 -153
- package/dist/chunk-K6KKARAF.cjs.map +1 -0
- package/dist/{chunk-VKPTN5MT.cjs → chunk-KCO7MZ34.cjs} +6 -6
- package/dist/{chunk-VKPTN5MT.cjs.map → chunk-KCO7MZ34.cjs.map} +1 -1
- package/dist/{chunk-XWGHLSAL.js → chunk-KCS64Q7P.js} +4 -4
- package/dist/{chunk-WL3PNUNY.cjs → chunk-KSSBW5W7.cjs} +81 -81
- package/dist/{chunk-WL3PNUNY.cjs.map → chunk-KSSBW5W7.cjs.map} +1 -1
- package/dist/{chunk-M4PJVFBF.cjs → chunk-LJ5VSU2Q.cjs} +11 -11
- package/dist/{chunk-M4PJVFBF.cjs.map → chunk-LJ5VSU2Q.cjs.map} +1 -1
- package/dist/{chunk-EW3MSJOE.cjs → chunk-M7NQPYQB.cjs} +33 -33
- package/dist/{chunk-EW3MSJOE.cjs.map → chunk-M7NQPYQB.cjs.map} +1 -1
- package/dist/{chunk-YRSRP4U3.cjs → chunk-ODZ4JBFQ.cjs} +15 -15
- package/dist/{chunk-YRSRP4U3.cjs.map → chunk-ODZ4JBFQ.cjs.map} +1 -1
- package/dist/{chunk-3LXJEXPH.js → chunk-QH6KJ4OZ.js} +2 -2
- package/dist/{chunk-ORFJVMAL.js → chunk-QX3K5SXC.js} +3 -3
- package/dist/{chunk-ZAIYD3MZ.js → chunk-REAWHAOH.js} +3 -3
- package/dist/{chunk-GEIHTN6J.cjs → chunk-S7UGTAIP.cjs} +10 -10
- package/dist/{chunk-GEIHTN6J.cjs.map → chunk-S7UGTAIP.cjs.map} +1 -1
- package/dist/{chunk-3I6XHQUD.js → chunk-TN46CQSO.js} +30 -10
- package/dist/{chunk-3I6XHQUD.js.map → chunk-TN46CQSO.js.map} +1 -1
- package/dist/{chunk-YE3TFNW6.cjs → chunk-V37CP6CT.cjs} +5 -5
- package/dist/{chunk-YE3TFNW6.cjs.map → chunk-V37CP6CT.cjs.map} +1 -1
- package/dist/{chunk-SE6YRE3R.cjs → chunk-W7VZHI37.cjs} +32 -32
- package/dist/{chunk-SE6YRE3R.cjs.map → chunk-W7VZHI37.cjs.map} +1 -1
- package/dist/{chunk-6GY6DFIH.js → chunk-WTUX4SNF.js} +6 -6
- package/dist/{chunk-QY25ZP2V.cjs → chunk-YCO7DTCF.cjs} +28 -28
- package/dist/{chunk-QY25ZP2V.cjs.map → chunk-YCO7DTCF.cjs.map} +1 -1
- package/dist/{chunk-J4RZVLLQ.js → chunk-YRGIQZSU.js} +5 -5
- package/dist/{chunk-M7QROULE.js → chunk-YRWXGZLV.js} +5 -5
- package/dist/{chunk-OYI3K5R6.cjs → chunk-ZAQ6CKTU.cjs} +6 -6
- package/dist/{chunk-OYI3K5R6.cjs.map → chunk-ZAQ6CKTU.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +53 -53
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/drawer.d.ts +19 -5
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/utils/format.d.ts +39 -4
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +25 -2
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +25 -3
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/chat-protocol/__tests__/source-metadata.test.ts +49 -0
- package/src/chat-protocol/source-metadata.ts +46 -6
- package/src/components/chat/entity-cards/program-card.tsx +46 -8
- package/src/components/ui/.drawer.md +1 -0
- package/src/components/ui/__tests__/drawer-size.test.tsx +38 -0
- package/src/components/ui/drawer.tsx +44 -9
- package/src/utils/__tests__/format-program-dates.test.ts +91 -0
- package/src/utils/format.ts +79 -7
- package/src/utils/index.ts +2 -0
- package/dist/chunk-2NRLRRMR.cjs.map +0 -1
- package/dist/chunk-3IPL6G7S.js.map +0 -1
- package/dist/chunk-VHB3I6F3.cjs.map +0 -1
- /package/dist/{chunk-ZGPJ3NVF.js.map → chunk-3AUBCCTI.js.map} +0 -0
- /package/dist/{chunk-6NHLZORM.js.map → chunk-3ENOAHWR.js.map} +0 -0
- /package/dist/{chunk-UFBWNVZZ.js.map → chunk-4WIS7COJ.js.map} +0 -0
- /package/dist/{chunk-HW7BLVQH.js.map → chunk-53RGBCL7.js.map} +0 -0
- /package/dist/{chunk-S254VEDE.js.map → chunk-5GAWR7RX.js.map} +0 -0
- /package/dist/{chunk-MJ424FEC.js.map → chunk-6O2XNGUE.js.map} +0 -0
- /package/dist/{chunk-YM6L3WM5.js.map → chunk-DSKO3GPD.js.map} +0 -0
- /package/dist/{chunk-POPL3W2S.js.map → chunk-GLGERQO7.js.map} +0 -0
- /package/dist/{chunk-SDGMLXIP.js.map → chunk-JWRMSVNZ.js.map} +0 -0
- /package/dist/{chunk-XWGHLSAL.js.map → chunk-KCS64Q7P.js.map} +0 -0
- /package/dist/{chunk-3LXJEXPH.js.map → chunk-QH6KJ4OZ.js.map} +0 -0
- /package/dist/{chunk-ORFJVMAL.js.map → chunk-QX3K5SXC.js.map} +0 -0
- /package/dist/{chunk-ZAIYD3MZ.js.map → chunk-REAWHAOH.js.map} +0 -0
- /package/dist/{chunk-6GY6DFIH.js.map → chunk-WTUX4SNF.js.map} +0 -0
- /package/dist/{chunk-J4RZVLLQ.js.map → chunk-YRGIQZSU.js.map} +0 -0
- /package/dist/{chunk-M7QROULE.js.map → chunk-YRWXGZLV.js.map} +0 -0
|
@@ -189,14 +189,16 @@ function formatDurationCompact(seconds) {
|
|
|
189
189
|
}
|
|
190
190
|
return `${minutes} min`;
|
|
191
191
|
}
|
|
192
|
-
function formatTimeWithTimezone(date, timezone) {
|
|
192
|
+
function formatTimeWithTimezone(date, timezone, options) {
|
|
193
193
|
if (!date) return "";
|
|
194
194
|
const dateObj = typeof date === "string" ? new Date(date) : date;
|
|
195
|
+
if (Number.isNaN(dateObj.getTime())) return "";
|
|
195
196
|
const opts = {
|
|
196
197
|
hour: "numeric",
|
|
197
198
|
minute: "2-digit",
|
|
198
199
|
hour12: true,
|
|
199
|
-
timeZone: timezone || "UTC"
|
|
200
|
+
timeZone: timezone || "UTC",
|
|
201
|
+
..._optionalChain([options, 'optionalAccess', _ => _.withZoneLabel]) ? { timeZoneName: "short" } : {}
|
|
200
202
|
};
|
|
201
203
|
try {
|
|
202
204
|
return dateObj.toLocaleTimeString("en-US", opts);
|
|
@@ -204,12 +206,32 @@ function formatTimeWithTimezone(date, timezone) {
|
|
|
204
206
|
return dateObj.toLocaleTimeString("en-US", { ...opts, timeZone: "UTC" });
|
|
205
207
|
}
|
|
206
208
|
}
|
|
209
|
+
var ZONED_DATE_STYLES = {
|
|
210
|
+
medium: { year: "numeric", month: "short", day: "numeric" },
|
|
211
|
+
weekday: { weekday: "long", day: "numeric", month: "long" }
|
|
212
|
+
};
|
|
213
|
+
function formatDateWithTimezone(date, timezone, style = "medium") {
|
|
214
|
+
if (!date) return "";
|
|
215
|
+
const dateObj = typeof date === "string" ? new Date(date) : date;
|
|
216
|
+
if (Number.isNaN(dateObj.getTime())) return "";
|
|
217
|
+
const opts = {
|
|
218
|
+
...ZONED_DATE_STYLES[style],
|
|
219
|
+
timeZone: timezone || "UTC"
|
|
220
|
+
};
|
|
221
|
+
try {
|
|
222
|
+
return dateObj.toLocaleDateString("en-US", opts);
|
|
223
|
+
} catch (e3) {
|
|
224
|
+
return dateObj.toLocaleDateString("en-US", { ...opts, timeZone: "UTC" });
|
|
225
|
+
}
|
|
226
|
+
}
|
|
207
227
|
function formatDurationFromRange(startAt, endAt) {
|
|
208
228
|
if (!startAt || !endAt) return "";
|
|
209
229
|
const start = typeof startAt === "string" ? new Date(startAt) : startAt;
|
|
210
230
|
const end = typeof endAt === "string" ? new Date(endAt) : endAt;
|
|
211
231
|
const durationMs = end.getTime() - start.getTime();
|
|
232
|
+
if (!Number.isFinite(durationMs) || durationMs <= 0) return "";
|
|
212
233
|
const minutes = Math.round(durationMs / 6e4);
|
|
234
|
+
if (minutes <= 0) return "";
|
|
213
235
|
if (minutes >= 60) {
|
|
214
236
|
const hours = Math.floor(minutes / 60);
|
|
215
237
|
const mins = minutes % 60;
|
|
@@ -271,15 +293,15 @@ function formatWholeDollars(price, currency = "USD") {
|
|
|
271
293
|
}
|
|
272
294
|
function formatCompactMetric(value, format2 = "number", options) {
|
|
273
295
|
if (value === 0 || value === null || value === void 0) {
|
|
274
|
-
if (format2 === "currency") return `${_optionalChain([options, 'optionalAccess',
|
|
296
|
+
if (format2 === "currency") return `${_optionalChain([options, 'optionalAccess', _2 => _2.prefix]) || "$"}0`;
|
|
275
297
|
if (format2 === "percentage") return "0%";
|
|
276
|
-
if (format2 === "months") return `0 ${_optionalChain([options, 'optionalAccess',
|
|
298
|
+
if (format2 === "months") return `0 ${_optionalChain([options, 'optionalAccess', _3 => _3.suffix]) || "months"}`;
|
|
277
299
|
return "0";
|
|
278
300
|
}
|
|
279
301
|
const absValue = Math.abs(value);
|
|
280
302
|
const sign = value < 0 ? "-" : "";
|
|
281
303
|
if (format2 === "currency") {
|
|
282
|
-
const prefix = _optionalChain([options, 'optionalAccess',
|
|
304
|
+
const prefix = _optionalChain([options, 'optionalAccess', _4 => _4.prefix]) || "$";
|
|
283
305
|
const compact = (val, divisor, suffix) => {
|
|
284
306
|
const divided = val / divisor;
|
|
285
307
|
const formatted = divided % 1 === 0 ? divided.toFixed(0) : divided.toFixed(1);
|
|
@@ -295,7 +317,7 @@ function formatCompactMetric(value, format2 = "number", options) {
|
|
|
295
317
|
}
|
|
296
318
|
if (format2 === "months") {
|
|
297
319
|
const rounded = Math.round(value * 10) / 10;
|
|
298
|
-
return `${rounded} ${_optionalChain([options, 'optionalAccess',
|
|
320
|
+
return `${rounded} ${_optionalChain([options, 'optionalAccess', _5 => _5.suffix]) || "months"}`;
|
|
299
321
|
}
|
|
300
322
|
if (absValue >= 1e6) return `${sign}${(absValue / 1e6).toFixed(1)}M`;
|
|
301
323
|
if (absValue >= 1e3) return `${sign}${(absValue / 1e3).toFixed(1)}K`;
|
|
@@ -864,8 +886,8 @@ function DepartmentBadge({
|
|
|
864
886
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
865
887
|
PaletteBadge,
|
|
866
888
|
{
|
|
867
|
-
text: _optionalChain([department, 'optionalAccess',
|
|
868
|
-
color: _optionalChain([department, 'optionalAccess',
|
|
889
|
+
text: _optionalChain([department, 'optionalAccess', _6 => _6.name]) || emptyLabel,
|
|
890
|
+
color: _optionalChain([department, 'optionalAccess', _7 => _7.name]) ? department.color : null,
|
|
869
891
|
className,
|
|
870
892
|
variant
|
|
871
893
|
}
|
|
@@ -875,9 +897,9 @@ function DepartmentBadge({
|
|
|
875
897
|
// src/utils/image-proxy.ts
|
|
876
898
|
function getProxiedImageUrl(imageUrl, options) {
|
|
877
899
|
if (!imageUrl) return null;
|
|
878
|
-
const proxyPrefix = _optionalChain([options, 'optionalAccess',
|
|
879
|
-
const skipDomains = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
880
|
-
const directHttps = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
900
|
+
const proxyPrefix = _optionalChain([options, 'optionalAccess', _8 => _8.proxyPrefix]);
|
|
901
|
+
const skipDomains = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _9 => _9.skipDomains]), () => ( []));
|
|
902
|
+
const directHttps = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _10 => _10.directHttps]), () => ( false));
|
|
881
903
|
if (proxyPrefix && imageUrl.includes(proxyPrefix)) {
|
|
882
904
|
return imageUrl;
|
|
883
905
|
}
|
|
@@ -900,7 +922,7 @@ function getProxiedImageUrl(imageUrl, options) {
|
|
|
900
922
|
function urlPathLooksLikeSvg(imageUrl) {
|
|
901
923
|
try {
|
|
902
924
|
return /\.svg$/i.test(new URL(imageUrl).pathname);
|
|
903
|
-
} catch (
|
|
925
|
+
} catch (e4) {
|
|
904
926
|
return /\.svg(\?|#|$)/i.test(imageUrl);
|
|
905
927
|
}
|
|
906
928
|
}
|
|
@@ -942,14 +964,14 @@ function isSameOriginAbsoluteHref(href) {
|
|
|
942
964
|
if (!/^https?:\/\//i.test(href)) return false;
|
|
943
965
|
try {
|
|
944
966
|
return new URL(href).origin === new URL(window.location.href).origin;
|
|
945
|
-
} catch (
|
|
967
|
+
} catch (e5) {
|
|
946
968
|
return false;
|
|
947
969
|
}
|
|
948
970
|
}
|
|
949
971
|
function computeIsNewTab(runtime, href, targetPlatform) {
|
|
950
972
|
if (!href) return false;
|
|
951
973
|
if (runtime.navigation.mode === "embed") return !isSameOriginAbsoluteHref(href);
|
|
952
|
-
return _nullishCoalesce(_optionalChain([runtime, 'access',
|
|
974
|
+
return _nullishCoalesce(_optionalChain([runtime, 'access', _11 => _11.navigation, 'access', _12 => _12.decideNewTab, 'optionalCall', _13 => _13({ href, targetPlatform })]), () => ( decideNewTab({
|
|
953
975
|
href,
|
|
954
976
|
targetPlatform,
|
|
955
977
|
currentSource: _nullishCoalesce(runtime.source, () => ( ""))
|
|
@@ -1015,7 +1037,7 @@ function EntityAuthorCard({
|
|
|
1015
1037
|
renderEmptyAuthor = false,
|
|
1016
1038
|
className
|
|
1017
1039
|
}) {
|
|
1018
|
-
const hasAuthor = !!_optionalChain([author, 'optionalAccess',
|
|
1040
|
+
const hasAuthor = !!_optionalChain([author, 'optionalAccess', _14 => _14.full_name]);
|
|
1019
1041
|
if (!hasAuthor && !renderEmptyAuthor) return null;
|
|
1020
1042
|
const effectiveAuthor = hasAuthor ? author : EMPTY_AUTHOR_PLACEHOLDER;
|
|
1021
1043
|
const formatted = publishedAt ? formatDate(publishedAt) : "";
|
|
@@ -1104,7 +1126,7 @@ function EntityPortraitCard({
|
|
|
1104
1126
|
}) {
|
|
1105
1127
|
const { src, onError: onMediaError } = useCoverImageFallback(imageUrl, placeholderUrl);
|
|
1106
1128
|
const [measured, setMeasured] = _react.useState.call(void 0, null);
|
|
1107
|
-
const isWide = _optionalChain([measured, 'optionalAccess',
|
|
1129
|
+
const isWide = _optionalChain([measured, 'optionalAccess', _15 => _15.src]) === src ? measured.isWide : null;
|
|
1108
1130
|
const onMediaLoad = (e) => {
|
|
1109
1131
|
const img = e.currentTarget;
|
|
1110
1132
|
if (img.naturalWidth > 0 && img.naturalHeight > 0) {
|
|
@@ -1404,8 +1426,8 @@ function AdminContentCard({
|
|
|
1404
1426
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: _chunk23V5BSHDcjs.cn.call(void 0, "line-clamp-2 break-words text-ods-text-primary text-h3", reserveRows && "min-h-[2lh]"), children: title }),
|
|
1405
1427
|
(subtitle || reserveRows) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "truncate text-ods-text-secondary text-h6", reserveRows && "min-h-[1lh]"), children: subtitle }),
|
|
1406
1428
|
(summary || reserveRows) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "line-clamp-2 text-ods-text-secondary text-h6", reserveRows && "min-h-[2lh]"), children: summary }),
|
|
1407
|
-
(Number(_optionalChain([platforms, 'optionalAccess',
|
|
1408
|
-
_optionalChain([platforms, 'optionalAccess',
|
|
1429
|
+
(Number(_optionalChain([platforms, 'optionalAccess', _16 => _16.length])) > 0 || badges || reserveRows) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex flex-wrap items-center gap-2", reserveRows && "min-h-7"), children: [
|
|
1430
|
+
_optionalChain([platforms, 'optionalAccess', _17 => _17.map, 'call', _18 => _18((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1409
1431
|
PlatformBadge,
|
|
1410
1432
|
{
|
|
1411
1433
|
platform: { id: p.id || p.platform_id || "", name: p.name, display_name: p.display_name || p.name },
|
|
@@ -1485,7 +1507,7 @@ function EmployeeEntryCard({
|
|
|
1485
1507
|
] }) : null,
|
|
1486
1508
|
meta: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1487
1509
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-2", children: [
|
|
1488
|
-
_optionalChain([entry, 'access',
|
|
1510
|
+
_optionalChain([entry, 'access', _19 => _19.author, 'optionalAccess', _20 => _20.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1489
1511
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
1490
1512
|
{
|
|
1491
1513
|
src: _nullishCoalesce(getProxiedImageUrl2(entry.author.avatar_url), () => ( entry.author.avatar_url)),
|
|
@@ -1496,7 +1518,7 @@ function EmployeeEntryCard({
|
|
|
1496
1518
|
unoptimized: true
|
|
1497
1519
|
}
|
|
1498
1520
|
) : null,
|
|
1499
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(_optionalChain([entry, 'access',
|
|
1521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(_optionalChain([entry, 'access', _21 => _21.author, 'optionalAccess', _22 => _22.full_name]), () => ( "")) })
|
|
1500
1522
|
] }),
|
|
1501
1523
|
dateLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: dateLabel }) : null
|
|
1502
1524
|
] }),
|
|
@@ -1569,7 +1591,7 @@ var HowIWorkCardSkeleton = EmployeeEntryCardSkeleton;
|
|
|
1569
1591
|
// src/components/chat/entity-cards/ai-prompt-card.tsx
|
|
1570
1592
|
|
|
1571
1593
|
function AiPromptCard({ entry, placeholderUrl, actions, anchorProps, className }) {
|
|
1572
|
-
const departmentName = _optionalChain([entry, 'access',
|
|
1594
|
+
const departmentName = _optionalChain([entry, 'access', _23 => _23.department, 'optionalAccess', _24 => _24.name, 'optionalAccess', _25 => _25.trim, 'call', _26 => _26()]);
|
|
1573
1595
|
const steps = typeof entry.step_count === "number" ? entry.step_count : 0;
|
|
1574
1596
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1575
1597
|
EmployeeEntryCard,
|
|
@@ -1577,7 +1599,7 @@ function AiPromptCard({ entry, placeholderUrl, actions, anchorProps, className }
|
|
|
1577
1599
|
entry,
|
|
1578
1600
|
dateLabel: entry.published_at ? formatDateUTC(entry.published_at, { fallback: "" }) || null : null,
|
|
1579
1601
|
extraBadges: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1580
|
-
departmentName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepartmentBadge, { department: { name: departmentName, color: _nullishCoalesce(_optionalChain([entry, 'access',
|
|
1602
|
+
departmentName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepartmentBadge, { department: { name: departmentName, color: _nullishCoalesce(_optionalChain([entry, 'access', _27 => _27.department, 'optionalAccess', _28 => _28.color]), () => ( null)) } }) : null,
|
|
1581
1603
|
steps > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: `${steps} steps` }) : null
|
|
1582
1604
|
] }),
|
|
1583
1605
|
untitledLabel: "Untitled prompt",
|
|
@@ -1593,7 +1615,7 @@ var AiPromptCardSkeleton = EmployeeEntryCardSkeleton;
|
|
|
1593
1615
|
// src/components/features/video-bites-shared.ts
|
|
1594
1616
|
var DEFAULT_VIDEO_BITES_TITLE = "Key Moments";
|
|
1595
1617
|
function toStripProfile(p, fallbackSubtitle) {
|
|
1596
|
-
if (!_optionalChain([p, 'optionalAccess',
|
|
1618
|
+
if (!_optionalChain([p, 'optionalAccess', _29 => _29.full_name])) return null;
|
|
1597
1619
|
return {
|
|
1598
1620
|
name: p.full_name,
|
|
1599
1621
|
avatarUrl: _nullishCoalesce(p.avatar_url, () => ( null)),
|
|
@@ -1635,7 +1657,7 @@ function ProductReleaseCard({
|
|
|
1635
1657
|
changelogCounts
|
|
1636
1658
|
}) {
|
|
1637
1659
|
if (size === "lg") {
|
|
1638
|
-
const totalChangelog = (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess',
|
|
1660
|
+
const totalChangelog = (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _30 => _30.features]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _31 => _31.fixes]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _32 => _32.improvements]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _33 => _33.breaking]), () => ( 0)));
|
|
1639
1661
|
const valueCells = [
|
|
1640
1662
|
releaseType && releaseTypeBadgeColor ? {
|
|
1641
1663
|
value: releaseType.toUpperCase(),
|
|
@@ -1654,7 +1676,7 @@ function ProductReleaseCard({
|
|
|
1654
1676
|
uppercase: false
|
|
1655
1677
|
} : { value: "\u2014", label: "Released", uppercase: false }
|
|
1656
1678
|
];
|
|
1657
|
-
const effectiveAuthor = _optionalChain([author, 'optionalAccess',
|
|
1679
|
+
const effectiveAuthor = _optionalChain([author, 'optionalAccess', _34 => _34.full_name]) ? author : { full_name: "\u2014", avatar_url: null, job_title: "Unknown" };
|
|
1658
1680
|
const gridColsClass = "md:grid-cols-4";
|
|
1659
1681
|
const dividerClass = "border-b md:border-b-0 md:border-r border-ods-border";
|
|
1660
1682
|
const frameClass = _chunk23V5BSHDcjs.cn.call(void 0,
|
|
@@ -2028,10 +2050,10 @@ function buildProductReleaseCardProps(item) {
|
|
|
2028
2050
|
job_title: release.author.job_title
|
|
2029
2051
|
} : void 0,
|
|
2030
2052
|
changelogCounts: {
|
|
2031
|
-
features: _nullishCoalesce(_optionalChain([release, 'access',
|
|
2032
|
-
fixes: _nullishCoalesce(_optionalChain([release, 'access',
|
|
2033
|
-
improvements: _nullishCoalesce(_optionalChain([release, 'access',
|
|
2034
|
-
breaking: _nullishCoalesce(_optionalChain([release, 'access',
|
|
2053
|
+
features: _nullishCoalesce(_optionalChain([release, 'access', _35 => _35.features_added, 'optionalAccess', _36 => _36.length]), () => ( 0)),
|
|
2054
|
+
fixes: _nullishCoalesce(_optionalChain([release, 'access', _37 => _37.bugs_fixed, 'optionalAccess', _38 => _38.length]), () => ( 0)),
|
|
2055
|
+
improvements: _nullishCoalesce(_optionalChain([release, 'access', _39 => _39.improvements, 'optionalAccess', _40 => _40.length]), () => ( 0)),
|
|
2056
|
+
breaking: _nullishCoalesce(_optionalChain([release, 'access', _41 => _41.breaking_changes, 'optionalAccess', _42 => _42.length]), () => ( 0))
|
|
2035
2057
|
}
|
|
2036
2058
|
};
|
|
2037
2059
|
}
|
|
@@ -2065,7 +2087,7 @@ function safeHref(url) {
|
|
|
2065
2087
|
if (!SAFE_URL_SCHEMES.includes(parsed.protocol)) return null;
|
|
2066
2088
|
if ((parsed.protocol === "https:" || parsed.protocol === "http:") && !parsed.hostname) return null;
|
|
2067
2089
|
return trimmed;
|
|
2068
|
-
} catch (
|
|
2090
|
+
} catch (e6) {
|
|
2069
2091
|
return null;
|
|
2070
2092
|
}
|
|
2071
2093
|
}
|
|
@@ -2157,7 +2179,7 @@ function BlogCard({
|
|
|
2157
2179
|
day: "numeric",
|
|
2158
2180
|
timeZone: "UTC"
|
|
2159
2181
|
}) : "";
|
|
2160
|
-
const firstCategory = _optionalChain([post, 'access',
|
|
2182
|
+
const firstCategory = _optionalChain([post, 'access', _43 => _43.categories, 'optionalAccess', _44 => _44.find, 'call', _45 => _45((c) => c && c.name), 'optionalAccess', _46 => _46.name]);
|
|
2161
2183
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2162
2184
|
"a",
|
|
2163
2185
|
{
|
|
@@ -2375,7 +2397,7 @@ function CaseStudyCard({
|
|
|
2375
2397
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
2376
2398
|
{
|
|
2377
2399
|
src: coverImage,
|
|
2378
|
-
alt: `${_optionalChain([study, 'access',
|
|
2400
|
+
alt: `${_optionalChain([study, 'access', _47 => _47.msp, 'optionalAccess', _48 => _48.name]) || study.title} cover`,
|
|
2379
2401
|
className: "object-contain",
|
|
2380
2402
|
fill: true,
|
|
2381
2403
|
sizes: "56px",
|
|
@@ -2385,7 +2407,7 @@ function CaseStudyCard({
|
|
|
2385
2407
|
) : null }),
|
|
2386
2408
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
2387
2409
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: study.title }) }),
|
|
2388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([study, 'access',
|
|
2410
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([study, 'access', _49 => _49.msp, 'optionalAccess', _50 => _50.name]), _optionalChain([study, 'access', _51 => _51.user, 'optionalAccess', _52 => _52.full_name])].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
|
|
2389
2411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: study.summary || COMPACT_CARD_ROW_FILLER }) })
|
|
2390
2412
|
] })
|
|
2391
2413
|
] });
|
|
@@ -2400,13 +2422,13 @@ function CaseStudyCard({
|
|
|
2400
2422
|
typeLabel: showTypeBadge ? "Case Study" : void 0,
|
|
2401
2423
|
imageUrl: study.featured_image,
|
|
2402
2424
|
placeholderUrl,
|
|
2403
|
-
imageAlt: _optionalChain([study, 'access',
|
|
2425
|
+
imageAlt: _optionalChain([study, 'access', _53 => _53.msp, 'optionalAccess', _54 => _54.name]) || study.title,
|
|
2404
2426
|
title: study.title,
|
|
2405
2427
|
person: {
|
|
2406
|
-
name: _optionalChain([study, 'access',
|
|
2407
|
-
avatarUrl: _optionalChain([study, 'access',
|
|
2408
|
-
subtitle: _nullishCoalesce(_optionalChain([study, 'access',
|
|
2409
|
-
iconOverlayUrl: _nullishCoalesce(_optionalChain([study, 'access',
|
|
2428
|
+
name: _optionalChain([study, 'access', _55 => _55.user, 'optionalAccess', _56 => _56.full_name]) || "Anonymous",
|
|
2429
|
+
avatarUrl: _optionalChain([study, 'access', _57 => _57.user, 'optionalAccess', _58 => _58.avatar_url]),
|
|
2430
|
+
subtitle: _nullishCoalesce(_optionalChain([study, 'access', _59 => _59.msp, 'optionalAccess', _60 => _60.name]), () => ( null)),
|
|
2431
|
+
iconOverlayUrl: _nullishCoalesce(_optionalChain([study, 'access', _61 => _61.msp, 'optionalAccess', _62 => _62.icon_url]), () => ( null))
|
|
2410
2432
|
},
|
|
2411
2433
|
className
|
|
2412
2434
|
}
|
|
@@ -2417,7 +2439,7 @@ function CaseStudyCard({
|
|
|
2417
2439
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
2418
2440
|
{
|
|
2419
2441
|
src: coverImage,
|
|
2420
|
-
alt: _optionalChain([study, 'access',
|
|
2442
|
+
alt: _optionalChain([study, 'access', _63 => _63.msp, 'optionalAccess', _64 => _64.name]) || study.title,
|
|
2421
2443
|
className: "h-full w-full object-cover",
|
|
2422
2444
|
sizes: "(min-width: 1545px) 515px, (min-width: 1280px) 33vw, (min-width: 800px) 50vw, 100vw",
|
|
2423
2445
|
fill: true,
|
|
@@ -2428,18 +2450,18 @@ function CaseStudyCard({
|
|
|
2428
2450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[72px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 break-words text-ods-text-primary text-h4", children: study.title }) }),
|
|
2429
2451
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[60px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-3", children: [
|
|
2430
2452
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative h-12 w-12 shrink-0", children: [
|
|
2431
|
-
_optionalChain([study, 'access',
|
|
2453
|
+
_optionalChain([study, 'access', _65 => _65.user, 'optionalAccess', _66 => _66.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2432
2454
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
2433
2455
|
{
|
|
2434
2456
|
src: study.user.avatar_url,
|
|
2435
|
-
alt: _optionalChain([study, 'access',
|
|
2457
|
+
alt: _optionalChain([study, 'access', _67 => _67.user, 'optionalAccess', _68 => _68.full_name]) || "User",
|
|
2436
2458
|
className: "h-12 w-12 rounded-full border border-ods-border bg-ods-bg object-cover",
|
|
2437
2459
|
width: 48,
|
|
2438
2460
|
height: 48,
|
|
2439
2461
|
unoptimized: true
|
|
2440
2462
|
}
|
|
2441
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: (_optionalChain([study, 'access',
|
|
2442
|
-
_optionalChain([study, 'access',
|
|
2463
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: (_optionalChain([study, 'access', _69 => _69.user, 'optionalAccess', _70 => _70.full_name]) || "A").charAt(0).toUpperCase() }) }),
|
|
2464
|
+
_optionalChain([study, 'access', _71 => _71.msp, 'optionalAccess', _72 => _72.icon_url]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2443
2465
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
2444
2466
|
{
|
|
2445
2467
|
src: study.msp.icon_url,
|
|
@@ -2453,13 +2475,13 @@ function CaseStudyCard({
|
|
|
2453
2475
|
] }),
|
|
2454
2476
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
2455
2477
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: [
|
|
2456
|
-
_optionalChain([study, 'access',
|
|
2457
|
-
_optionalChain([study, 'access',
|
|
2478
|
+
_optionalChain([study, 'access', _73 => _73.user, 'optionalAccess', _74 => _74.full_name]) || "Anonymous",
|
|
2479
|
+
_optionalChain([study, 'access', _75 => _75.msp, 'optionalAccess', _76 => _76.name]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
2458
2480
|
" \u2022 ",
|
|
2459
2481
|
study.msp.name
|
|
2460
2482
|
] })
|
|
2461
2483
|
] }),
|
|
2462
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: _optionalChain([study, 'access',
|
|
2484
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: _optionalChain([study, 'access', _77 => _77.user, 'optionalAccess', _78 => _78.job_title]) || "\xA0" })
|
|
2463
2485
|
] })
|
|
2464
2486
|
] }) })
|
|
2465
2487
|
] }) });
|
|
@@ -2541,7 +2563,7 @@ function CustomerInterviewCard({
|
|
|
2541
2563
|
] }),
|
|
2542
2564
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
2543
2565
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: interview.title }) }),
|
|
2544
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([interview, 'access',
|
|
2566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([interview, 'access', _79 => _79.user, 'optionalAccess', _80 => _80.full_name]), _optionalChain([interview, 'access', _81 => _81.msp, 'optionalAccess', _82 => _82.name])].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
|
|
2545
2567
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: interview.video_summary || COMPACT_CARD_ROW_FILLER }) })
|
|
2546
2568
|
] })
|
|
2547
2569
|
] });
|
|
@@ -2559,10 +2581,10 @@ function CustomerInterviewCard({
|
|
|
2559
2581
|
imageAlt: interview.title,
|
|
2560
2582
|
title: interview.title,
|
|
2561
2583
|
person: {
|
|
2562
|
-
name: _optionalChain([interview, 'access',
|
|
2563
|
-
avatarUrl: _optionalChain([interview, 'access',
|
|
2564
|
-
subtitle: _nullishCoalesce(_optionalChain([interview, 'access',
|
|
2565
|
-
iconOverlayUrl: _nullishCoalesce(_optionalChain([interview, 'access',
|
|
2584
|
+
name: _optionalChain([interview, 'access', _83 => _83.user, 'optionalAccess', _84 => _84.full_name]) || "Customer",
|
|
2585
|
+
avatarUrl: _optionalChain([interview, 'access', _85 => _85.user, 'optionalAccess', _86 => _86.avatar_url]),
|
|
2586
|
+
subtitle: _nullishCoalesce(_optionalChain([interview, 'access', _87 => _87.msp, 'optionalAccess', _88 => _88.name]), () => ( null)),
|
|
2587
|
+
iconOverlayUrl: _nullishCoalesce(_optionalChain([interview, 'access', _89 => _89.msp, 'optionalAccess', _90 => _90.icon_url]), () => ( null))
|
|
2566
2588
|
},
|
|
2567
2589
|
className
|
|
2568
2590
|
}
|
|
@@ -2588,18 +2610,18 @@ function CustomerInterviewCard({
|
|
|
2588
2610
|
interview.video_summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h6", children: interview.video_summary }) }),
|
|
2589
2611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-auto flex h-[60px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-3", children: [
|
|
2590
2612
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative h-12 w-12 shrink-0", children: [
|
|
2591
|
-
_optionalChain([interview, 'access',
|
|
2613
|
+
_optionalChain([interview, 'access', _91 => _91.user, 'optionalAccess', _92 => _92.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2592
2614
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
2593
2615
|
{
|
|
2594
2616
|
src: interview.user.avatar_url,
|
|
2595
|
-
alt: _optionalChain([interview, 'access',
|
|
2617
|
+
alt: _optionalChain([interview, 'access', _93 => _93.user, 'optionalAccess', _94 => _94.full_name]) || "Customer",
|
|
2596
2618
|
className: "h-12 w-12 rounded-full border border-ods-border bg-ods-bg object-cover",
|
|
2597
2619
|
width: 48,
|
|
2598
2620
|
height: 48,
|
|
2599
2621
|
unoptimized: true
|
|
2600
2622
|
}
|
|
2601
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: (_optionalChain([interview, 'access',
|
|
2602
|
-
_optionalChain([interview, 'access',
|
|
2623
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: (_optionalChain([interview, 'access', _95 => _95.user, 'optionalAccess', _96 => _96.full_name]) || "A").charAt(0).toUpperCase() }) }),
|
|
2624
|
+
_optionalChain([interview, 'access', _97 => _97.msp, 'optionalAccess', _98 => _98.icon_url]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2603
2625
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
2604
2626
|
{
|
|
2605
2627
|
src: interview.msp.icon_url,
|
|
@@ -2613,13 +2635,13 @@ function CustomerInterviewCard({
|
|
|
2613
2635
|
] }),
|
|
2614
2636
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
2615
2637
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: [
|
|
2616
|
-
_optionalChain([interview, 'access',
|
|
2617
|
-
_optionalChain([interview, 'access',
|
|
2638
|
+
_optionalChain([interview, 'access', _99 => _99.user, 'optionalAccess', _100 => _100.full_name]) || "Anonymous",
|
|
2639
|
+
_optionalChain([interview, 'access', _101 => _101.msp, 'optionalAccess', _102 => _102.name]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
2618
2640
|
" \u2022 ",
|
|
2619
2641
|
interview.msp.name
|
|
2620
2642
|
] })
|
|
2621
2643
|
] }),
|
|
2622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: _optionalChain([interview, 'access',
|
|
2644
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: _optionalChain([interview, 'access', _103 => _103.user, 'optionalAccess', _104 => _104.job_title]) || " " })
|
|
2623
2645
|
] })
|
|
2624
2646
|
] }) })
|
|
2625
2647
|
] }) });
|
|
@@ -2629,7 +2651,7 @@ function CustomerInterviewCard({
|
|
|
2629
2651
|
function formatInvestorUpdatePeriod(start, end, options) {
|
|
2630
2652
|
if (!start && !end) return "";
|
|
2631
2653
|
const fmt = (d) => new Date(d).toLocaleDateString("en-US", {
|
|
2632
|
-
month: _optionalChain([options, 'optionalAccess',
|
|
2654
|
+
month: _optionalChain([options, 'optionalAccess', _105 => _105.monthFormat]) || "short",
|
|
2633
2655
|
year: "numeric",
|
|
2634
2656
|
// Pin to UTC so SSR (Vercel = UTC) and the client agree (React #418).
|
|
2635
2657
|
timeZone: "UTC"
|
|
@@ -2744,7 +2766,7 @@ function InvestorUpdateCard({
|
|
|
2744
2766
|
imageUrl: update.featured_image,
|
|
2745
2767
|
placeholderUrl,
|
|
2746
2768
|
title: update.title || `Update #${update.update_number || "?"}`,
|
|
2747
|
-
summary: _optionalChain([update, 'access',
|
|
2769
|
+
summary: _optionalChain([update, 'access', _106 => _106.strategic_update, 'optionalAccess', _107 => _107.slice, 'call', _108 => _108(0, 120)]) || _optionalChain([update, 'access', _109 => _109.content, 'optionalAccess', _110 => _110.slice, 'call', _111 => _111(0, 120)]) || "No description",
|
|
2748
2770
|
badges: update.update_number ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rounded bg-ods-accent/10 px-2 py-0.5 text-xs font-medium text-ods-accent", children: [
|
|
2749
2771
|
"#",
|
|
2750
2772
|
update.update_number
|
|
@@ -2953,7 +2975,7 @@ function OnboardingGuideCard({
|
|
|
2953
2975
|
const compactCover = coverImage || placeholderUrl || null;
|
|
2954
2976
|
const hasVideoCover = !guide.featured_image && !!guide.main_video_thumbnail;
|
|
2955
2977
|
const summary2 = stripMarkdownPreview(guide.video_summary || guide.content || "");
|
|
2956
|
-
const author = _optionalChain([guide, 'access',
|
|
2978
|
+
const author = _optionalChain([guide, 'access', _112 => _112.author, 'optionalAccess', _113 => _113.full_name, 'optionalAccess', _114 => _114.trim, 'call', _115 => _115()]) || "";
|
|
2957
2979
|
const subtitleParts = [`Step ${guide.step_order}`, guide.section, author].filter(
|
|
2958
2980
|
(s) => typeof s === "string" && s.length > 0
|
|
2959
2981
|
);
|
|
@@ -3078,7 +3100,7 @@ function AvatarStack({
|
|
|
3078
3100
|
|
|
3079
3101
|
// src/components/chat/utils/agent-status-message.ts
|
|
3080
3102
|
function getStatusColorScheme(status) {
|
|
3081
|
-
const s = _optionalChain([status, 'optionalAccess',
|
|
3103
|
+
const s = _optionalChain([status, 'optionalAccess', _116 => _116.toLowerCase, 'call', _117 => _117()]) || "";
|
|
3082
3104
|
switch (status) {
|
|
3083
3105
|
case "completed":
|
|
3084
3106
|
case "success":
|
|
@@ -3320,7 +3342,7 @@ function RoadmapCard({
|
|
|
3320
3342
|
const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
|
|
3321
3343
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
3322
3344
|
const hasFigma = !!item.figmaUrl;
|
|
3323
|
-
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access',
|
|
3345
|
+
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _118 => _118.screenshots, 'optionalAccess', _119 => _119.length]), () => ( 0))) > 0;
|
|
3324
3346
|
const typeLabel = getTaskTypeLabel(item.customItemId);
|
|
3325
3347
|
const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
|
|
3326
3348
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -3339,7 +3361,7 @@ function RoadmapCard({
|
|
|
3339
3361
|
unoptimized: true,
|
|
3340
3362
|
className: "h-8 w-8 object-contain"
|
|
3341
3363
|
}
|
|
3342
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-secondary text-h6", children: _optionalChain([item, 'access',
|
|
3364
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase text-ods-text-secondary text-h6", children: _optionalChain([item, 'access', _120 => _120.title, 'optionalAccess', _121 => _121.substring, 'call', _122 => _122(0, 2)]) || "??" })
|
|
3343
3365
|
}
|
|
3344
3366
|
),
|
|
3345
3367
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -3419,7 +3441,7 @@ function RoadmapCard({
|
|
|
3419
3441
|
unoptimized: true,
|
|
3420
3442
|
className: "object-contain p-1"
|
|
3421
3443
|
}
|
|
3422
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
3444
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _123 => _123.title, 'optionalAccess', _124 => _124.substring, 'call', _125 => _125(0, 2)]) || "??" }) }),
|
|
3423
3445
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
3424
3446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[48px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "line-clamp-2 flex-1 text-ods-text-primary text-h3", children: item.title }) }),
|
|
3425
3447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: [
|
|
@@ -3520,10 +3542,10 @@ var MEDIA_TYPE = {
|
|
|
3520
3542
|
VIDEO: "video"
|
|
3521
3543
|
};
|
|
3522
3544
|
function isVideoMedia(media) {
|
|
3523
|
-
return _optionalChain([media, 'optionalAccess',
|
|
3545
|
+
return _optionalChain([media, 'optionalAccess', _126 => _126.media_type]) === MEDIA_TYPE.VIDEO;
|
|
3524
3546
|
}
|
|
3525
3547
|
function isImageMedia(media) {
|
|
3526
|
-
return _optionalChain([media, 'optionalAccess',
|
|
3548
|
+
return _optionalChain([media, 'optionalAccess', _127 => _127.media_type]) === MEDIA_TYPE.IMAGE;
|
|
3527
3549
|
}
|
|
3528
3550
|
function isPublishableMediaType(mediaType) {
|
|
3529
3551
|
return mediaType === MEDIA_TYPE.VIDEO || mediaType === MEDIA_TYPE.IMAGE;
|
|
@@ -3540,7 +3562,7 @@ function programItemToStripProfile(item) {
|
|
|
3540
3562
|
const fromAuthor = toStripProfile(item.author);
|
|
3541
3563
|
if (fromAuthor) return fromAuthor;
|
|
3542
3564
|
const host = Array.isArray(item.hosts) ? item.hosts[0] : null;
|
|
3543
|
-
if (!_optionalChain([host, 'optionalAccess',
|
|
3565
|
+
if (!_optionalChain([host, 'optionalAccess', _128 => _128.name])) return null;
|
|
3544
3566
|
return toStripProfile({ full_name: host.name, avatar_url: _nullishCoalesce(host.avatar_url, () => ( null)) });
|
|
3545
3567
|
}
|
|
3546
3568
|
function transformEventToProgram(event) {
|
|
@@ -3688,14 +3710,20 @@ function getHosts(hosts) {
|
|
|
3688
3710
|
}
|
|
3689
3711
|
return [];
|
|
3690
3712
|
}
|
|
3713
|
+
var programStr = (value) => typeof value === "string" && value ? value : null;
|
|
3691
3714
|
function webinarTiming(item) {
|
|
3692
|
-
const str = (value) => typeof value === "string" && value ? value : null;
|
|
3693
3715
|
return {
|
|
3694
|
-
startAt: "start_at" in item ?
|
|
3695
|
-
endAt: "end_at" in item ?
|
|
3696
|
-
timezone: "timezone" in item ?
|
|
3716
|
+
startAt: "start_at" in item ? programStr(item.start_at) : null,
|
|
3717
|
+
endAt: "end_at" in item ? programStr(item.end_at) : null,
|
|
3718
|
+
timezone: "timezone" in item ? programStr(item.timezone) : null
|
|
3697
3719
|
};
|
|
3698
3720
|
}
|
|
3721
|
+
function programDateInstant(item) {
|
|
3722
|
+
const timezone = "timezone" in item ? programStr(item.timezone) : null;
|
|
3723
|
+
if (!timezone) return { instant: null, timezone: null };
|
|
3724
|
+
const startAt = "start_at" in item ? programStr(item.start_at) : null;
|
|
3725
|
+
return { instant: _nullishCoalesce(startAt, () => ( programStr(item.date))), timezone };
|
|
3726
|
+
}
|
|
3699
3727
|
function MediaGallery({ images, title }) {
|
|
3700
3728
|
const [selectedImageIndex, setSelectedImageIndex] = _react.useState.call(void 0, null);
|
|
3701
3729
|
const [isModalOpen, setIsModalOpen] = _react.useState.call(void 0, false);
|
|
@@ -3783,13 +3811,14 @@ function ProgramCard({
|
|
|
3783
3811
|
if (typeof loc === "string" && loc.trim().length > 0) return loc;
|
|
3784
3812
|
} else if (config.type === "webinar" && "start_at" in item) {
|
|
3785
3813
|
const { startAt, endAt, timezone } = webinarTiming(item);
|
|
3786
|
-
const time = formatTimeWithTimezone(startAt, timezone);
|
|
3814
|
+
const time = formatTimeWithTimezone(startAt, timezone, { withZoneLabel: true });
|
|
3787
3815
|
const dur = formatDurationFromRange(startAt, endAt);
|
|
3788
3816
|
return dur ? `${time} \xB7 ${dur}` : time;
|
|
3789
3817
|
}
|
|
3790
3818
|
return null;
|
|
3791
3819
|
};
|
|
3792
|
-
const
|
|
3820
|
+
const zonedDate = programDateInstant(item);
|
|
3821
|
+
const compactDate = zonedDate.instant ? formatDateWithTimezone(zonedDate.instant, zonedDate.timezone, "medium") : formatUtc(new Date(item.date), "MMM d, yyyy");
|
|
3793
3822
|
if (size === "portrait") {
|
|
3794
3823
|
const profile = programItemToStripProfile(item);
|
|
3795
3824
|
const dateMeta = [compactDate, compactTypeMeta()].filter(Boolean).join(" \xB7 ");
|
|
@@ -3814,7 +3843,7 @@ function ProgramCard({
|
|
|
3814
3843
|
const itemDate2 = compactDate;
|
|
3815
3844
|
const compactCover = coverImage || placeholderUrl || null;
|
|
3816
3845
|
const typeMeta = compactTypeMeta();
|
|
3817
|
-
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access',
|
|
3846
|
+
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _129 => _129.labels, 'optionalAccess', _130 => _130.singular])].filter(
|
|
3818
3847
|
(s) => typeof s === "string" && s.length > 0
|
|
3819
3848
|
);
|
|
3820
3849
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunk23V5BSHDcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
|
|
@@ -3831,7 +3860,7 @@ function ProgramCard({
|
|
|
3831
3860
|
] });
|
|
3832
3861
|
}
|
|
3833
3862
|
const itemDate = new Date(item.date);
|
|
3834
|
-
const dateFormat = formatUtc(itemDate, "EEEE d MMMM");
|
|
3863
|
+
const dateFormat = zonedDate.instant ? formatDateWithTimezone(zonedDate.instant, zonedDate.timezone, "weekday") : formatUtc(itemDate, "EEEE d MMMM");
|
|
3835
3864
|
const defaultRenderMeta = () => {
|
|
3836
3865
|
if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
|
|
3837
3866
|
const dur = item.duration_seconds;
|
|
@@ -4208,5 +4237,6 @@ function buildListUrl(contentRefType, ids, base = "") {
|
|
|
4208
4237
|
|
|
4209
4238
|
|
|
4210
4239
|
|
|
4211
|
-
|
|
4212
|
-
|
|
4240
|
+
|
|
4241
|
+
exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.nameInitials = nameInitials; exports.personInitials = personInitials; exports.personFirstName = personFirstName; exports.singleInitial = singleInitial; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDateWithTimezone = formatDateWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.titleCaseFromSlug = titleCaseFromSlug; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.InteractiveCard = InteractiveCard; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.ImageGalleryModal = ImageGalleryModal; exports.statusBadgeVariants = statusBadgeVariants; exports.genBadgeBgOpacity = genBadgeBgOpacity; exports.generationTierFromLabel = generationTierFromLabel; exports.StatusBadge = StatusBadge; exports.BADGE_PALETTE = BADGE_PALETTE; exports.isBadgePaletteKey = isBadgePaletteKey; exports.pickBadgePaletteColor = pickBadgePaletteColor; exports.PaletteBadge = PaletteBadge; exports.DepartmentBadge = DepartmentBadge; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.isSameOriginAbsoluteHref = isSameOriginAbsoluteHref; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.EmployeeEntryBadge = EmployeeEntryBadge; exports.EmployeeEntryCard = EmployeeEntryCard; exports.EmployeeEntryCardSkeleton = EmployeeEntryCardSkeleton; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.HowIWorkCard = HowIWorkCard; exports.HowIWorkCardSkeleton = HowIWorkCardSkeleton; exports.AiPromptCard = AiPromptCard; exports.AiPromptCardSkeleton = AiPromptCardSkeleton; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.sortBitesByFeaturedAtDesc = sortBitesByFeaturedAtDesc; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.resolveReleaseCover = resolveReleaseCover; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.useEntityCardLink = useEntityCardLink; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.AvatarStack = AvatarStack; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.RoadmapVoteButton = RoadmapVoteButton; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.MEDIA_TYPE = MEDIA_TYPE; exports.isVideoMedia = isVideoMedia; exports.isImageMedia = isImageMedia; exports.isPublishableMediaType = isPublishableMediaType; exports.partitionMediaByType = partitionMediaByType; exports.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl;
|
|
4242
|
+
//# sourceMappingURL=chunk-GSC2NB5C.cjs.map
|