@flamingo-stack/openframe-frontend-core 0.0.806 → 0.0.807
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-XAG7ABPI.cjs → chunk-224GFGSR.cjs} +32 -32
- package/dist/{chunk-RIRIA3FO.cjs → chunk-5MTYKS2Q.cjs} +4 -4
- package/dist/{chunk-DN5YBJGC.cjs → chunk-5UTJARDM.cjs} +2 -2
- package/dist/{chunk-7NCNJXMK.cjs → chunk-74I2HT4X.cjs} +30 -30
- package/dist/{chunk-OETG7KV6.cjs → chunk-BAOKF4OV.cjs} +3 -3
- package/dist/{chunk-PYZTG3T5.cjs → chunk-BT53NHR7.cjs} +25 -25
- package/dist/{chunk-THY2XVGY.cjs → chunk-I3RJLXEL.cjs} +23 -17
- package/dist/{chunk-FZSL4KSW.cjs → chunk-IEDID3EB.cjs} +3 -3
- package/dist/{chunk-F2VN3UUB.cjs → chunk-KS5V55HN.cjs} +37 -37
- package/dist/{chunk-CRBG5HXA.cjs → chunk-M5NBPOKJ.cjs} +127 -127
- package/dist/{chunk-QE7H4Y3F.cjs → chunk-MBGUHO7Z.cjs} +11 -11
- package/dist/{chunk-76NE67PK.cjs → chunk-ML3DG4SS.cjs} +2 -2
- package/dist/{chunk-IMDOKSEG.cjs → chunk-OAJ3AL4V.cjs} +4 -4
- package/dist/{chunk-FQ4LYYBI.cjs → chunk-PIKHEBG5.cjs} +48 -48
- package/dist/{chunk-URZOWIR3.cjs → chunk-QPHQVTJO.cjs} +11 -11
- package/dist/{chunk-SC4RKSMW.cjs → chunk-QWB3CTGR.cjs} +61 -61
- package/dist/{chunk-5OFEH673.cjs → chunk-RZNRKWG5.cjs} +13 -13
- package/dist/{chunk-MHH7CHNI.cjs → chunk-TOWVMBAP.cjs} +4 -4
- package/dist/{chunk-3WNCFZGN.cjs → chunk-TUZV2ZQY.cjs} +2 -2
- package/dist/{chunk-V3T5MDJV.cjs → chunk-VHX4A4SA.cjs} +2 -2
- package/dist/{chunk-MR3LQUOW.cjs → chunk-WKVAD374.cjs} +4 -4
- package/dist/{chunk-PCHNBV73.cjs → chunk-XCYL3TYS.cjs} +68 -68
- package/dist/{chunk-RTUSHW7S.cjs → chunk-XDVBSTFB.cjs} +16 -16
- package/dist/{chunk-IN6SPMCB.cjs → chunk-Z4IYLXJU.cjs} +39 -39
- package/dist/{chunk-DTKHEHIQ.cjs → chunk-ZAXGW4KT.cjs} +14 -14
- package/dist/{cloud-tenants-6E27I6AY.cjs → cloud-tenants-KL2COIBU.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +82 -82
- package/dist/components/index.cjs +52 -52
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +15 -15
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/modal.d.ts.map +1 -1
- package/dist/components/ui/modal.js +24 -18
- package/dist/{devices-HZVRGH3A.cjs → devices-3HQDYLE2.cjs} +7 -7
- package/dist/{embeddable-chat-GHBCX2BY.cjs → embeddable-chat-XT6GMSBX.cjs} +62 -62
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-EJG7YG7C.cjs → knowledge-6LA6XYUR.cjs} +7 -7
- package/dist/{logs-6N3ANKZK.cjs → logs-R4YZI33F.cjs} +14 -14
- package/dist/{policies-CE7A66D7.cjs → policies-DGJMMGXN.cjs} +10 -10
- package/dist/{scripts-NREM2Y6Z.cjs → scripts-6KR5UZQY.cjs} +11 -11
- package/dist/{software-update-CI4F3IRV.cjs → software-update-R63SKZQM.cjs} +9 -9
- package/package.json +1 -1
- package/src/components/ui/modal.tsx +14 -4
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkKS5V55HNcjs = require('./chunk-KS5V55HN.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -107,13 +107,13 @@ var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
|
107
107
|
var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkTOWVMBAPcjs = require('./chunk-TOWVMBAP.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
@@ -205,7 +205,7 @@ function ChatMessageRow(props) {
|
|
|
205
205
|
}
|
|
206
206
|
function ChatMessageRowLoaded(props) {
|
|
207
207
|
const { displayName, avatarUrl, timeLabel, body, footer } = props;
|
|
208
|
-
const proxiedAvatar =
|
|
208
|
+
const proxiedAvatar = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
|
|
209
209
|
const resolvedAvatar = proxiedAvatar || avatarUrl || void 0;
|
|
210
210
|
const [failedSrc, setFailedSrc] = _react.useState.call(void 0, null);
|
|
211
211
|
const src = resolvedAvatar && resolvedAvatar !== failedSrc ? resolvedAvatar : void 0;
|
|
@@ -2047,7 +2047,7 @@ function lastPathSegment(url) {
|
|
|
2047
2047
|
function makeComposeContentUrl(opts) {
|
|
2048
2048
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
2049
2049
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
2050
|
-
const type =
|
|
2050
|
+
const type = _chunkI3RJLXELcjs.canonicalContentRefType.call(void 0, rawType);
|
|
2051
2051
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
2052
2052
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
2053
2053
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -2058,8 +2058,8 @@ function makeComposeContentUrl(opts) {
|
|
|
2058
2058
|
}
|
|
2059
2059
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
2060
2060
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
2061
|
-
const owner = claimedOwner &&
|
|
2062
|
-
const origin = owner ?
|
|
2061
|
+
const owner = claimedOwner && _chunkKS5V55HNcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
2062
|
+
const origin = owner ? _chunkKS5V55HNcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
2063
2063
|
return {
|
|
2064
2064
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _88 => _88.trim, 'call', _89 => _89()]) || identifier}`,
|
|
2065
2065
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -2240,7 +2240,7 @@ function extractSections(markdown, options = {}) {
|
|
|
2240
2240
|
if (heading.level > opts.maxLevel) continue;
|
|
2241
2241
|
let title = heading.text;
|
|
2242
2242
|
if (opts.stripFormattingMarkers) {
|
|
2243
|
-
title =
|
|
2243
|
+
title = _chunkKS5V55HNcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2244
2244
|
}
|
|
2245
2245
|
const baseId = _chunkOJZBZH56cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkOJZBZH56cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2246
2246
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -2555,7 +2555,7 @@ function demoClockTimes(seed, options = {}) {
|
|
|
2555
2555
|
function openAskAi(source, options) {
|
|
2556
2556
|
const prompt = _optionalChain([options, 'optionalAccess', _96 => _96.prompt, 'optionalAccess', _97 => _97.trim, 'call', _98 => _98()]);
|
|
2557
2557
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2558
|
-
window.dispatchEvent(new CustomEvent(
|
|
2558
|
+
window.dispatchEvent(new CustomEvent(_chunkKS5V55HNcjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2559
2559
|
}
|
|
2560
2560
|
function MingoAiButton({
|
|
2561
2561
|
source,
|
|
@@ -2598,7 +2598,7 @@ function MingoAiButton({
|
|
|
2598
2598
|
{
|
|
2599
2599
|
...props,
|
|
2600
2600
|
type: "button",
|
|
2601
|
-
...{ [
|
|
2601
|
+
...{ [_chunkKS5V55HNcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
|
|
2602
2602
|
variant: field ? "glyph" : "transparent",
|
|
2603
2603
|
size: "wrap",
|
|
2604
2604
|
font: "regular",
|
|
@@ -2700,7 +2700,7 @@ function useAskPrompts({
|
|
|
2700
2700
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2701
2701
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
2702
2702
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
2703
|
-
const { data, dataUrl, error } =
|
|
2703
|
+
const { data, dataUrl, error } = _chunkTOWVMBAPcjs.useSelfFetch.call(void 0, url);
|
|
2704
2704
|
const landed = url !== null && (dataUrl === url || error);
|
|
2705
2705
|
return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _105 => _105.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
|
|
2706
2706
|
}
|
|
@@ -2839,9 +2839,9 @@ function QuestionChips({
|
|
|
2839
2839
|
{
|
|
2840
2840
|
"data-loading-item": true,
|
|
2841
2841
|
className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
|
|
2842
|
-
...prompt ? { [
|
|
2842
|
+
...prompt ? { [_chunkKS5V55HNcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
|
|
2843
2843
|
children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2844
|
-
|
|
2844
|
+
_chunkKS5V55HNcjs.QuickActionChipButton,
|
|
2845
2845
|
{
|
|
2846
2846
|
loading,
|
|
2847
2847
|
variant: "question",
|
|
@@ -3051,7 +3051,7 @@ function QuickActionMarquee({
|
|
|
3051
3051
|
);
|
|
3052
3052
|
if (items.length === 0) return null;
|
|
3053
3053
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3054
|
-
|
|
3054
|
+
_chunkKS5V55HNcjs.QuickActionWall,
|
|
3055
3055
|
{
|
|
3056
3056
|
chips,
|
|
3057
3057
|
mode,
|
|
@@ -3266,7 +3266,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
3266
3266
|
hasNextPage,
|
|
3267
3267
|
isFetchingNextPage,
|
|
3268
3268
|
onLoadMore,
|
|
3269
|
-
pageSize =
|
|
3269
|
+
pageSize = _chunkKS5V55HNcjs.CHAT_HISTORY_PAGE_SIZE,
|
|
3270
3270
|
...props
|
|
3271
3271
|
}, ref) => {
|
|
3272
3272
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
|
|
@@ -3550,7 +3550,7 @@ function OnboardingCarousel({
|
|
|
3550
3550
|
|
|
3551
3551
|
var ADMIN_CONTENT_CARD_GRID_CLASS = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]";
|
|
3552
3552
|
var GRID_CELL_CLASS = "h-full";
|
|
3553
|
-
var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3553
|
+
var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
|
|
3554
3554
|
function loadingCardOf(loadingCard, Skeleton) {
|
|
3555
3555
|
if (loadingCard !== void 0) return loadingCard;
|
|
3556
3556
|
return Skeleton ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, {}) : DEFAULT_LOADING_CARD;
|
|
@@ -3564,7 +3564,7 @@ function AdminContentCardGridSkeleton({
|
|
|
3564
3564
|
label = "Loading",
|
|
3565
3565
|
region = true
|
|
3566
3566
|
}) {
|
|
3567
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3567
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKS5V55HNcjs.LoadingFallback, { label, status: region, className: _chunk7JWFMAQBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
|
|
3568
3568
|
}
|
|
3569
3569
|
function AdminContentCardGrid({
|
|
3570
3570
|
items,
|
|
@@ -3860,7 +3860,7 @@ function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
|
3860
3860
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3861
3861
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
3862
3862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
3863
|
-
campaign.start_date ?
|
|
3863
|
+
campaign.start_date ? _chunkI3RJLXELcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
3864
3864
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
3865
3865
|
"Marketing campaign"
|
|
3866
3866
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
@@ -5156,7 +5156,7 @@ function Section({ title, description, children }) {
|
|
|
5156
5156
|
] });
|
|
5157
5157
|
}
|
|
5158
5158
|
function ProxyCredentialsPanel({ description }) {
|
|
5159
|
-
const hydrated =
|
|
5159
|
+
const hydrated = _chunkKS5V55HNcjs.useIsHydrated.call(void 0, );
|
|
5160
5160
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5161
5161
|
ProxyCredentialsForm,
|
|
5162
5162
|
{
|
|
@@ -5320,21 +5320,21 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5320
5320
|
|
|
5321
5321
|
// src/components/chat/index.ts
|
|
5322
5322
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5323
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5323
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-XT6GMSBX.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5324
5324
|
);
|
|
5325
5325
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5326
5326
|
const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
|
|
5327
5327
|
const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
|
|
5328
|
-
_react.useEffect.call(void 0, () =>
|
|
5328
|
+
_react.useEffect.call(void 0, () => _chunkKS5V55HNcjs.holdAskAiOpens.call(void 0, ), []);
|
|
5329
5329
|
_react.useEffect.call(void 0, () => {
|
|
5330
5330
|
if (load) return void 0;
|
|
5331
5331
|
const start = () => setLoadRequested(true);
|
|
5332
|
-
if (
|
|
5333
|
-
for (const name of
|
|
5334
|
-
const cancel =
|
|
5332
|
+
if (_chunkKS5V55HNcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
|
|
5333
|
+
for (const name of _chunkKS5V55HNcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
|
|
5334
|
+
const cancel = _chunkKS5V55HNcjs.onAskAiIntent.call(void 0, start);
|
|
5335
5335
|
return () => {
|
|
5336
5336
|
cancel();
|
|
5337
|
-
for (const name of
|
|
5337
|
+
for (const name of _chunkKS5V55HNcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
|
|
5338
5338
|
};
|
|
5339
5339
|
}, [load]);
|
|
5340
5340
|
if (!load) return null;
|
|
@@ -175,6 +175,7 @@ InteractiveCard.displayName = "InteractiveCard";
|
|
|
175
175
|
// src/components/ui/modal.tsx
|
|
176
176
|
var _overlays = require('@react-aria/overlays');
|
|
177
177
|
|
|
178
|
+
var _reactdom = require('react-dom');
|
|
178
179
|
|
|
179
180
|
var Modal = _react.forwardRef.call(void 0, ({ isOpen, onClose, children, className }, ref) => {
|
|
180
181
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
@@ -188,23 +189,28 @@ var Modal = _react.forwardRef.call(void 0, ({ isOpen, onClose, children, classNa
|
|
|
188
189
|
document.addEventListener("keydown", handleKeyDown);
|
|
189
190
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
190
191
|
}, [isOpen, onClose]);
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
192
|
+
const [portalTarget, setPortalTarget] = _react.useState.call(void 0, null);
|
|
193
|
+
_react.useLayoutEffect.call(void 0, () => setPortalTarget(document.body), []);
|
|
194
|
+
if (!isOpen || !portalTarget) return null;
|
|
195
|
+
return _reactdom.createPortal.call(void 0,
|
|
196
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "ods-viewport-layer fixed inset-0 z-[1300] flex items-center justify-center", children: [
|
|
197
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-ods-overlay", onClick: onClose, "aria-hidden": "true" }),
|
|
198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
199
|
+
"div",
|
|
200
|
+
{
|
|
201
|
+
ref,
|
|
202
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
203
|
+
"relative z-10 mx-4 flex max-h-[90vh] w-full max-w-md flex-col overflow-hidden rounded-lg border border-ods-border bg-ods-card shadow-xl",
|
|
204
|
+
className
|
|
205
|
+
),
|
|
206
|
+
role: "dialog",
|
|
207
|
+
"aria-modal": "true",
|
|
208
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAQXKXZWBcjs.ViewportBreakpoints, { children })
|
|
209
|
+
}
|
|
210
|
+
)
|
|
211
|
+
] }),
|
|
212
|
+
portalTarget
|
|
213
|
+
);
|
|
208
214
|
});
|
|
209
215
|
Modal.displayName = "Modal";
|
|
210
216
|
var ModalContent = _react.forwardRef.call(void 0, ({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "min-h-0 flex-1 overflow-y-auto", className), children }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkM5NBPOKJcjs = require('./chunk-M5NBPOKJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunkM5NBPOKJcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunkM5NBPOKJcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -292,7 +292,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
|
|
295
|
-
var
|
|
295
|
+
var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
@@ -6729,7 +6729,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6729
6729
|
|
|
6730
6730
|
[Attached: ${safeName}](${url})`;
|
|
6731
6731
|
}
|
|
6732
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6732
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkI3RJLXELcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6733
6733
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6734
6734
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6735
6735
|
"gm"
|
|
@@ -9641,10 +9641,10 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
9641
9641
|
const isNewTab = runtime ? _chunkPRCGRDHVcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9642
9642
|
if (isNewTab) {
|
|
9643
9643
|
if (_optionalChain([runtime, 'optionalAccess', _205 => _205.navigation, 'access', _206 => _206.openExternal])) runtime.navigation.openExternal(href);
|
|
9644
|
-
else window.open(href, "_blank",
|
|
9644
|
+
else window.open(href, "_blank", _chunkI3RJLXELcjs.NEW_TAB_FEATURES);
|
|
9645
9645
|
return;
|
|
9646
9646
|
}
|
|
9647
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9647
|
+
const target = isForeignOriginHref(href) ? href : _chunkI3RJLXELcjs.stripSameOriginToPath.call(void 0, href);
|
|
9648
9648
|
if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9649
9649
|
return;
|
|
9650
9650
|
}
|
|
@@ -9695,7 +9695,7 @@ function useNavLinkViaRuntime({
|
|
|
9695
9695
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9696
9696
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9697
9697
|
const panel = useChatPanel();
|
|
9698
|
-
const resolvedHref =
|
|
9698
|
+
const resolvedHref = _chunkI3RJLXELcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9699
9699
|
const isNewTab = _chunkPRCGRDHVcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9700
9700
|
const onClick = (e) => {
|
|
9701
9701
|
_optionalChain([onClickProp, 'optionalCall', _210 => _210(e)]);
|
|
@@ -9855,7 +9855,7 @@ function UserDisplay({
|
|
|
9855
9855
|
compact = false,
|
|
9856
9856
|
className
|
|
9857
9857
|
}) {
|
|
9858
|
-
const avatarSrc =
|
|
9858
|
+
const avatarSrc = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9859
9859
|
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) {
|
|
9860
9860
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9861
9861
|
UserDisplaySkeleton,
|
|
@@ -10323,7 +10323,7 @@ function CardsStrip(props) {
|
|
|
10323
10323
|
}
|
|
10324
10324
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10325
10325
|
};
|
|
10326
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10326
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkI3RJLXELcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkI3RJLXELcjs.accentSentenceMarks.call(void 0, title) });
|
|
10327
10327
|
if (items.length === 0) {
|
|
10328
10328
|
if (!inScope || !skeleton) return null;
|
|
10329
10329
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -10905,7 +10905,7 @@ function EntityVideoSection({
|
|
|
10905
10905
|
}
|
|
10906
10906
|
) : null),
|
|
10907
10907
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkI3RJLXELcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10909
10909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
|
|
10910
10910
|
] }),
|
|
10911
10911
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10977,7 +10977,7 @@ function designDocPeople(doc) {
|
|
|
10977
10977
|
return people;
|
|
10978
10978
|
}
|
|
10979
10979
|
function designDocMetaLine(doc) {
|
|
10980
|
-
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10980
|
+
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkI3RJLXELcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10981
10981
|
}
|
|
10982
10982
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
10983
10983
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11270,7 +11270,7 @@ function VendorIcon({
|
|
|
11270
11270
|
...props
|
|
11271
11271
|
}) {
|
|
11272
11272
|
const logoUrl = getVendorLogo(vendor);
|
|
11273
|
-
const logoSrc =
|
|
11273
|
+
const logoSrc = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11274
11274
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11275
11275
|
_chunkTGOJHOQRcjs.SquareAvatar,
|
|
11276
11276
|
{
|
|
@@ -11304,8 +11304,8 @@ function useChatCardItem(type, id) {
|
|
|
11304
11304
|
const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
|
|
11305
11305
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11306
11306
|
const data = await res.json();
|
|
11307
|
-
const items =
|
|
11308
|
-
const match = items.find((it) =>
|
|
11307
|
+
const items = _chunkI3RJLXELcjs.extractCardItems.call(void 0, type, data);
|
|
11308
|
+
const match = items.find((it) => _chunkI3RJLXELcjs.extractItemId.call(void 0, type, it) === id);
|
|
11309
11309
|
return _nullishCoalesce(match, () => ( null));
|
|
11310
11310
|
},
|
|
11311
11311
|
enabled: !!url && id.length > 0,
|
|
@@ -11511,7 +11511,7 @@ function resolveFetchedCardHref({
|
|
|
11511
11511
|
composeContentUrl
|
|
11512
11512
|
}) {
|
|
11513
11513
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11514
|
-
const canonicalType =
|
|
11514
|
+
const canonicalType = _chunkI3RJLXELcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11515
11515
|
return composeContentUrl({
|
|
11516
11516
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11517
11517
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11579,7 +11579,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11579
11579
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11580
11580
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11581
11581
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11582
|
-
type:
|
|
11582
|
+
type: _chunkI3RJLXELcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11583
11583
|
identifier: idValue,
|
|
11584
11584
|
externalUrl: row.externalUrl,
|
|
11585
11585
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
@@ -11952,17 +11952,17 @@ function TrustCenterChatCard({
|
|
|
11952
11952
|
}) {
|
|
11953
11953
|
const raw2 = _optionalChain([item, 'optionalAccess', _283 => _283.frameworks]);
|
|
11954
11954
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
11955
|
-
const summary =
|
|
11955
|
+
const summary = _chunkI3RJLXELcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11956
11956
|
const leadFramework = frameworks[0];
|
|
11957
11957
|
const lead = leadFramework ? {
|
|
11958
|
-
label:
|
|
11959
|
-
color:
|
|
11958
|
+
label: _chunkI3RJLXELcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11959
|
+
color: _chunkI3RJLXELcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11960
11960
|
} : void 0;
|
|
11961
11961
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11962
11962
|
MingoInfoCard,
|
|
11963
11963
|
{
|
|
11964
|
-
title:
|
|
11965
|
-
description: summary ||
|
|
11964
|
+
title: _chunkI3RJLXELcjs.TRUST_CENTER_TITLE,
|
|
11965
|
+
description: summary || _chunkI3RJLXELcjs.TRUST_CENTER_TAGLINE,
|
|
11966
11966
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11967
11967
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11968
11968
|
anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
@@ -12092,7 +12092,7 @@ function CampaignChatCard({
|
|
|
12092
12092
|
}) {
|
|
12093
12093
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _289 => _289.goals])) ? item.goals.length : 0;
|
|
12094
12094
|
const meta = [
|
|
12095
|
-
_optionalChain([item, 'optionalAccess', _290 => _290.start_date]) ?
|
|
12095
|
+
_optionalChain([item, 'optionalAccess', _290 => _290.start_date]) ? _chunkI3RJLXELcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12096
12096
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12097
12097
|
"Marketing campaign"
|
|
12098
12098
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12143,7 +12143,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12143
12143
|
function statusPill(status) {
|
|
12144
12144
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12145
12145
|
if (!s) return void 0;
|
|
12146
|
-
const scheme =
|
|
12146
|
+
const scheme = _chunkI3RJLXELcjs.getStatusColorScheme.call(void 0, s);
|
|
12147
12147
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12148
12148
|
return { label: s, variant };
|
|
12149
12149
|
}
|
|
@@ -12252,7 +12252,7 @@ function InvestorUpdateChatCard({
|
|
|
12252
12252
|
EntityMingoCard,
|
|
12253
12253
|
{
|
|
12254
12254
|
title,
|
|
12255
|
-
description: _optionalChain([item, 'optionalAccess', _320 => _320.strategic_update]) || _optionalChain([item, 'optionalAccess', _321 => _321.content]) ||
|
|
12255
|
+
description: _optionalChain([item, 'optionalAccess', _320 => _320.strategic_update]) || _optionalChain([item, 'optionalAccess', _321 => _321.content]) || _chunkI3RJLXELcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _322 => _322.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _323 => _323.period_end]), () => ( null))) || void 0,
|
|
12256
12256
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _324 => _324.featured_image]), ogPlaceholder),
|
|
12257
12257
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12258
12258
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12296,7 +12296,7 @@ function ProgramChatCard({
|
|
|
12296
12296
|
discuss
|
|
12297
12297
|
}) {
|
|
12298
12298
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZ6NU2C2cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM4KPLFFAcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 });
|
|
12299
|
-
const { line: meta } =
|
|
12299
|
+
const { line: meta } = _chunkI3RJLXELcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkI3RJLXELcjs.programMetaFormatters.call(void 0, _chunkI3RJLXELcjs.PROGRAM_META_RENDERERS));
|
|
12300
12300
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12301
12301
|
EntityMingoCard,
|
|
12302
12302
|
{
|
|
@@ -12322,7 +12322,7 @@ function RoadmapChatCard({
|
|
|
12322
12322
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _334 => _334.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12323
12323
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _335 => _335.customItemId]) != null;
|
|
12324
12324
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UIJR4PYcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6DN5HKRWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQDSQKK2cjs.MapIcon, { size: 24 });
|
|
12325
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12325
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _336 => _336.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12326
12326
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12327
12327
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12328
12328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12519,7 +12519,7 @@ function programRegistryEntries() {
|
|
|
12519
12519
|
label: cfg.label,
|
|
12520
12520
|
contentRefType: cfg.contentRefType,
|
|
12521
12521
|
bareInline: true,
|
|
12522
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12522
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.ProgramCard, { loading: true, size: "sm" }),
|
|
12523
12523
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12524
12524
|
ProgramChatCard,
|
|
12525
12525
|
{
|
|
@@ -12560,7 +12560,7 @@ function roadmapRegistryEntries() {
|
|
|
12560
12560
|
bareInline: true,
|
|
12561
12561
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12562
12562
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12563
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12563
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.RoadmapCard, { loading: true, size: "sm" }),
|
|
12564
12564
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12565
12565
|
RoadmapChatCard,
|
|
12566
12566
|
{
|
|
@@ -12618,12 +12618,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12618
12618
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12619
12619
|
// single matched row. Destination is the public page unless the host
|
|
12620
12620
|
// re-homes the type (`composeContentUrl` override).
|
|
12621
|
-
[
|
|
12621
|
+
[_chunkI3RJLXELcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12622
12622
|
label: "Trust center",
|
|
12623
12623
|
bareInline: true,
|
|
12624
|
-
contentRefType:
|
|
12624
|
+
contentRefType: _chunkI3RJLXELcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12625
12625
|
noComposedHref: true,
|
|
12626
|
-
fallbackHref: () =>
|
|
12626
|
+
fallbackHref: () => _chunkI3RJLXELcjs.TRUST_CENTER_PAGE_PATH,
|
|
12627
12627
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
|
|
12628
12628
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12629
12629
|
},
|
|
@@ -12649,7 +12649,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12649
12649
|
label: "Blog post",
|
|
12650
12650
|
contentRefType: "blog_post_existing",
|
|
12651
12651
|
bareInline: true,
|
|
12652
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12652
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.BlogCard, { loading: true, size: "sm" }),
|
|
12653
12653
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12654
12654
|
BlogChatCard,
|
|
12655
12655
|
{
|
|
@@ -12691,7 +12691,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12691
12691
|
label: "Customer interview",
|
|
12692
12692
|
contentRefType: "customer_interview",
|
|
12693
12693
|
bareInline: true,
|
|
12694
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12694
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
|
|
12695
12695
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12696
12696
|
CustomerInterviewChatCard,
|
|
12697
12697
|
{
|
|
@@ -12707,9 +12707,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12707
12707
|
label: "Product release",
|
|
12708
12708
|
contentRefType: "product_release",
|
|
12709
12709
|
bareInline: true,
|
|
12710
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12710
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.ProductReleaseCard, { loading: true, size: "sm" }),
|
|
12711
12711
|
render: (item, chatRef, opts) => {
|
|
12712
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _377 => _377.extras, 'optionalAccess', _378 => _378.buildProductReleaseCardProps]), () => (
|
|
12712
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _377 => _377.extras, 'optionalAccess', _378 => _378.buildProductReleaseCardProps]), () => ( _chunkI3RJLXELcjs.defaultBuildProductReleaseCardProps));
|
|
12713
12713
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12714
12714
|
ProductReleaseChatCard,
|
|
12715
12715
|
{
|
|
@@ -12727,7 +12727,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12727
12727
|
label: "Investor update",
|
|
12728
12728
|
contentRefType: "investor_update",
|
|
12729
12729
|
bareInline: true,
|
|
12730
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12730
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
|
|
12731
12731
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12732
12732
|
InvestorUpdateChatCard,
|
|
12733
12733
|
{
|
|
@@ -12745,7 +12745,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12745
12745
|
bareInline: true,
|
|
12746
12746
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12747
12747
|
displayAction: true,
|
|
12748
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12748
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
|
|
12749
12749
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12750
12750
|
OnboardingGuideChatCard,
|
|
12751
12751
|
{
|
|
@@ -12818,7 +12818,7 @@ function ChatCardLoader({
|
|
|
12818
12818
|
entry: fetchEntry,
|
|
12819
12819
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12820
12820
|
composeContentUrl: runtime.composeContentUrl,
|
|
12821
|
-
resolveHref: (href) =>
|
|
12821
|
+
resolveHref: (href) => _chunkI3RJLXELcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12822
12822
|
});
|
|
12823
12823
|
const hrefResolvedChatRef = {
|
|
12824
12824
|
...chatRef,
|
|
@@ -13909,7 +13909,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13909
13909
|
return () => root.removeEventListener("click", onClick);
|
|
13910
13910
|
}, [viewUrlPrefix]);
|
|
13911
13911
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13912
|
-
|
|
13912
|
+
_chunkI3RJLXELcjs.ImageGalleryModal,
|
|
13913
13913
|
{
|
|
13914
13914
|
images: state.images,
|
|
13915
13915
|
isOpen: state.isOpen,
|