@flamingo-stack/openframe-frontend-core 0.0.760 → 0.0.762

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.
Files changed (95) hide show
  1. package/dist/{chunk-7Z4EQOIX.cjs → chunk-22XAPV6N.cjs} +35 -35
  2. package/dist/{chunk-AXBVN5SW.cjs → chunk-2IFCRPNP.cjs} +38 -38
  3. package/dist/{chunk-CSJO7ZGN.cjs → chunk-3RYIF4OW.cjs} +3 -3
  4. package/dist/{chunk-D2HMQUK5.cjs → chunk-3WPWUUFU.cjs} +32 -32
  5. package/dist/{chunk-35BJY5RR.cjs → chunk-47GZ33ND.cjs} +44 -44
  6. package/dist/{chunk-EMKGOU54.cjs → chunk-4NGXJA3V.cjs} +4 -4
  7. package/dist/{chunk-QCXE7BSY.cjs → chunk-4VAMNI27.cjs} +59 -59
  8. package/dist/{chunk-EYVYPX5N.cjs → chunk-72XMAKDA.cjs} +566 -566
  9. package/dist/{chunk-GL5KJ4PK.cjs → chunk-AXGTRPF6.cjs} +20 -20
  10. package/dist/{chunk-PSLL4FAS.cjs → chunk-CEJDHCFZ.cjs} +89 -89
  11. package/dist/{chunk-4VRXTQVZ.cjs → chunk-CZ3OVWUL.cjs} +14 -14
  12. package/dist/{chunk-BDCEMTWU.cjs → chunk-DYJWZIPU.cjs} +100 -100
  13. package/dist/{chunk-NC4QUV73.cjs → chunk-DZ6BYXQF.cjs} +28 -28
  14. package/dist/{chunk-2ANICXS7.cjs → chunk-E4LA4BEH.cjs} +21 -21
  15. package/dist/{chunk-JHQNUWFM.cjs → chunk-EQZXJUYV.cjs} +3 -3
  16. package/dist/{chunk-LU7TD6QS.cjs → chunk-FQSXZC2K.cjs} +3 -3
  17. package/dist/{chunk-QU5K52OP.cjs → chunk-GY2JESOC.cjs} +2 -2
  18. package/dist/{chunk-LOFDIDSD.cjs → chunk-GZKWF6NH.cjs} +9 -9
  19. package/dist/{chunk-EC7VXTJ3.cjs → chunk-J4P47JHM.cjs} +20 -20
  20. package/dist/{chunk-WBOHLXFC.cjs → chunk-LVKUMVUJ.cjs} +2 -2
  21. package/dist/{chunk-L2IQESTQ.cjs → chunk-M7YZGRAV.cjs} +2 -2
  22. package/dist/{chunk-R34JD6NP.cjs → chunk-MWLD6NXV.cjs} +3 -3
  23. package/dist/{chunk-4ZMCKCXN.cjs → chunk-N52HFJTK.cjs} +43 -43
  24. package/dist/{chunk-W2RM764D.cjs → chunk-NET74KSQ.cjs} +5 -4
  25. package/dist/{chunk-B27XV2TC.cjs → chunk-NS64LMVE.cjs} +10 -10
  26. package/dist/{chunk-UT4W73YG.cjs → chunk-NSR7K57R.cjs} +83 -83
  27. package/dist/{chunk-QYLIHZKZ.cjs → chunk-OJJ4RL2T.cjs} +4 -4
  28. package/dist/{chunk-F64VMOIB.cjs → chunk-PE26VSWT.cjs} +19 -19
  29. package/dist/{chunk-3LNKXYMI.cjs → chunk-PFXR3RF3.cjs} +6 -6
  30. package/dist/{chunk-ITO3JRVB.cjs → chunk-QCO32MEE.cjs} +17 -17
  31. package/dist/{chunk-KTPR66EE.cjs → chunk-R3TWQ3ZJ.cjs} +10 -0
  32. package/dist/{chunk-VUSXDMCE.cjs → chunk-RM6AHNM4.cjs} +7 -7
  33. package/dist/{chunk-T4BBZ5ST.cjs → chunk-RO72PRQI.cjs} +2 -2
  34. package/dist/{chunk-WI2OTGKC.cjs → chunk-SVP6DJFL.cjs} +2 -2
  35. package/dist/{chunk-PIV4FVTR.cjs → chunk-TGVV7STM.cjs} +22 -22
  36. package/dist/{chunk-QTYSYEHK.cjs → chunk-TQPQKBBL.cjs} +253 -246
  37. package/dist/{chunk-5E6JHOGX.cjs → chunk-TSJUL6IH.cjs} +3 -3
  38. package/dist/{chunk-SULCTARW.cjs → chunk-TWAHPTWW.cjs} +8 -8
  39. package/dist/{chunk-VUWPLQBY.cjs → chunk-XCH7SPGI.cjs} +44 -44
  40. package/dist/{cloud-tenants-2NMXXIA6.cjs → cloud-tenants-M5SIL6QZ.cjs} +22 -22
  41. package/dist/components/case-studies/index.cjs +36 -36
  42. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  43. package/dist/components/chat/chat-message-enhanced.js +9 -6
  44. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  45. package/dist/components/chat/chat-message-list.js +2 -0
  46. package/dist/components/chat/index.cjs +15 -15
  47. package/dist/components/chat/types/component.types.d.ts +10 -0
  48. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  49. package/dist/components/contact/index.cjs +23 -23
  50. package/dist/components/docs/index.cjs +26 -26
  51. package/dist/components/embeds/index.cjs +23 -23
  52. package/dist/components/faq/index.cjs +24 -24
  53. package/dist/components/features/index.cjs +22 -22
  54. package/dist/components/help-center-pages/index.cjs +125 -125
  55. package/dist/components/index.cjs +83 -83
  56. package/dist/components/meeting-scheduler/index.cjs +77 -77
  57. package/dist/components/navigation/index.cjs +25 -25
  58. package/dist/components/onboarding-guides/index.cjs +25 -25
  59. package/dist/components/product-demo/index.cjs +9 -9
  60. package/dist/components/related-content/index.cjs +10 -10
  61. package/dist/components/tickets/index.cjs +28 -28
  62. package/dist/components/ui/index.cjs +22 -22
  63. package/dist/{devices-5XZVTD7G.cjs → devices-TZY7RF7M.cjs} +23 -23
  64. package/dist/{embeddable-chat-LTXUQWEK.cjs → embeddable-chat-HWQSP3DY.cjs} +93 -93
  65. package/dist/hooks/index.cjs +8 -8
  66. package/dist/index.cjs +28 -28
  67. package/dist/{knowledge-7QSJQB4P.cjs → knowledge-UKC2BLQP.cjs} +23 -23
  68. package/dist/{logs-URLNW334.cjs → logs-MFVTQ5NN.cjs} +30 -30
  69. package/dist/platform-domains.cjs +2 -0
  70. package/dist/platform-domains.d.ts.map +1 -1
  71. package/dist/platform-domains.js +2 -0
  72. package/dist/{policies-NNW6PMAN.cjs → policies-BETELENB.cjs} +26 -26
  73. package/dist/{remote-session-SKNXYG6K.cjs → remote-session-F72S6I7J.cjs} +9 -9
  74. package/dist/{scripts-WPYKAZYF.cjs → scripts-XDT3ZAXU.cjs} +29 -29
  75. package/dist/{software-update-KB6BIWUT.cjs → software-update-EW5X7R2X.cjs} +26 -26
  76. package/dist/{tickets-board-B2FH7Z4B.cjs → tickets-board-4PBXPSGJ.cjs} +12 -12
  77. package/dist/types/platform.d.ts +1 -1
  78. package/dist/types/platform.d.ts.map +1 -1
  79. package/dist/utils/index.cjs +13 -0
  80. package/dist/utils/platform-config.d.ts.map +1 -1
  81. package/dist/utils/platform-config.js +1 -0
  82. package/dist/utils/platform-identity.cjs +10 -0
  83. package/dist/utils/platform-identity.d.ts +3 -2
  84. package/dist/utils/platform-identity.d.ts.map +1 -1
  85. package/dist/utils/platform-identity.js +10 -0
  86. package/package.json +1 -1
  87. package/src/components/chat/chat-message-enhanced.tsx +19 -9
  88. package/src/components/chat/chat-message-list.tsx +2 -0
  89. package/src/components/chat/types/component.types.ts +10 -0
  90. package/src/platform-domains.ts +2 -0
  91. package/src/styles/README.md +1 -0
  92. package/src/styles/ods-colors.css +16 -0
  93. package/src/types/platform.ts +1 -0
  94. package/src/utils/platform-config.tsx +1 -0
  95. package/src/utils/platform-identity.ts +19 -2
@@ -2,29 +2,29 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVUSXDMCEcjs = require('./chunk-VUSXDMCE.cjs');
5
+ var _chunkRM6AHNM4cjs = require('./chunk-RM6AHNM4.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunk4VRXTQVZcjs = require('./chunk-4VRXTQVZ.cjs');
9
+ var _chunkCZ3OVWULcjs = require('./chunk-CZ3OVWUL.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
- var _chunkEYVYPX5Ncjs = require('./chunk-EYVYPX5N.cjs');
16
+ var _chunk72XMAKDAcjs = require('./chunk-72XMAKDA.cjs');
17
17
 
18
18
 
19
- var _chunkAXBVN5SWcjs = require('./chunk-AXBVN5SW.cjs');
19
+ var _chunk2IFCRPNPcjs = require('./chunk-2IFCRPNP.cjs');
20
20
 
21
21
 
22
- var _chunkPSLL4FAScjs = require('./chunk-PSLL4FAS.cjs');
22
+ var _chunkCEJDHCFZcjs = require('./chunk-CEJDHCFZ.cjs');
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunkQTYSYEHKcjs = require('./chunk-QTYSYEHK.cjs');
27
+ var _chunkTQPQKBBLcjs = require('./chunk-TQPQKBBL.cjs');
28
28
 
29
29
 
30
30
  var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
@@ -34,13 +34,13 @@ var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
34
34
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
35
35
 
36
36
 
37
- var _chunkB27XV2TCcjs = require('./chunk-B27XV2TC.cjs');
37
+ var _chunkNS64LMVEcjs = require('./chunk-NS64LMVE.cjs');
38
38
 
39
39
 
40
40
 
41
41
 
42
42
 
43
- var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
43
+ var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
44
44
 
45
45
 
46
46
  var _chunkI5MSCD57cjs = require('./chunk-I5MSCD57.cjs');
@@ -76,7 +76,7 @@ function OnboardingGuidesCatalogSkeleton({
76
76
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-40 rounded" }),
77
77
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-8 rounded-full" })
78
78
  ] }),
79
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
79
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
80
80
  ] }, sectionIdx)) })
81
81
  ] });
82
82
  }
@@ -100,10 +100,10 @@ function OnboardingGuidesCatalogView({
100
100
  const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
101
101
  const activeSection = sectionValue || "all";
102
102
  const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
103
- const guidesRes = _chunkB27XV2TCcjs.useSelfFetch.call(void 0,
103
+ const guidesRes = _chunkNS64LMVEcjs.useSelfFetch.call(void 0,
104
104
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
105
105
  );
106
- const sectionsRes = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
106
+ const sectionsRes = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
107
107
  const guides = _react.useMemo.call(void 0, () => _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( [])), [initialGuides, _optionalChain([guidesRes, 'access', _4 => _4.data, 'optionalAccess', _5 => _5.data])]);
108
108
  const sections = _react.useMemo.call(void 0,
109
109
  () => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
@@ -146,25 +146,25 @@ function OnboardingGuidesCatalogView({
146
146
  });
147
147
  };
148
148
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
149
- const docSearch = _chunk4VRXTQVZcjs.useDocSearch.call(void 0, {
149
+ const docSearch = _chunkCZ3OVWULcjs.useDocSearch.call(void 0, {
150
150
  source,
151
151
  baseRoute: basePath,
152
152
  onNavigate: (path) => router.push(path),
153
153
  tableIds: ["onboarding-guides"]
154
154
  });
155
155
  const defaultRenderCard = (guide) => {
156
- const cta = _chunkPSLL4FAScjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
156
+ const cta = _chunkCEJDHCFZcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
157
157
  type: "onboarding_guide",
158
158
  slug: guide.slug,
159
159
  basePath,
160
160
  platforms: guide.onboarding_guide_platforms
161
161
  });
162
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
162
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
163
163
  };
164
164
  const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
165
165
  const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
166
166
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
167
- _chunk4VRXTQVZcjs.DocSearchBar,
167
+ _chunkCZ3OVWULcjs.DocSearchBar,
168
168
  {
169
169
  placeholder: "Search onboarding guides, releases, case studies\u2026",
170
170
  query: docSearch.query,
@@ -176,7 +176,7 @@ function OnboardingGuidesCatalogView({
176
176
  }
177
177
  ),
178
178
  sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
179
- _chunkEYVYPX5Ncjs.FilterPillRow,
179
+ _chunk72XMAKDAcjs.FilterPillRow,
180
180
  {
181
181
  label: "Section",
182
182
  selectedValue: activeSection,
@@ -186,7 +186,7 @@ function OnboardingGuidesCatalogView({
186
186
  )
187
187
  ] });
188
188
  if (selfFetch && guidesRes.error) {
189
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
189
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72XMAKDAcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
190
190
  }
191
191
  if (selfFetch && guidesRes.data == null && isLoading) {
192
192
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
@@ -218,7 +218,7 @@ function OnboardingGuideDetailView({
218
218
  slug,
219
219
  guideEndpoint,
220
220
  related = [],
221
- MarkdownRenderer = _chunkEYVYPX5Ncjs.RichMarkdownRenderer,
221
+ MarkdownRenderer = _chunk72XMAKDAcjs.RichMarkdownRenderer,
222
222
  renderRelatedCard,
223
223
  backHref,
224
224
  backLabel = "Back to Getting Started",
@@ -228,23 +228,23 @@ function OnboardingGuideDetailView({
228
228
  }) {
229
229
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
230
230
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
231
- const captions = _chunkQTYSYEHKcjs.useCaptions.call(void 0, );
231
+ const captions = _chunkTQPQKBBLcjs.useCaptions.call(void 0, );
232
232
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
233
- const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
233
+ const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72XMAKDAcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
234
234
  const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
235
- const { data: guide, isLoading, error, reload } = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, url, { initialData });
235
+ const { data: guide, isLoading, error, reload } = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, url, { initialData });
236
236
  const { ref: videoWarmupRef } = _chunk3RFQPQ7Zcjs.useVideoWarmup.call(void 0, {
237
237
  videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
238
238
  supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
239
239
  });
240
240
  if (error || !guide && !isLoading) {
241
- return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.LoadError, { message: "Guide not found.", onRetry: reload }));
241
+ return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72XMAKDAcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
242
242
  }
243
243
  if (!guide) {
244
244
  return renderShell(
245
245
  // Match the loaded page's top offset (TitleBlock's
246
246
  // `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
247
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVUSXDMCEcjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
247
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRM6AHNM4cjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
248
248
  );
249
249
  }
250
250
  const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
@@ -252,27 +252,27 @@ function OnboardingGuideDetailView({
252
252
  // worst), so it's the terminal fallback — no trailing `|| undefined` needed.
253
253
  _chunkI5MSCD57cjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
254
254
  const defaultRenderRelatedCard = (g) => {
255
- const cta = _chunkPSLL4FAScjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
255
+ const cta = _chunkCEJDHCFZcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
256
256
  type: "onboarding_guide",
257
257
  slug: g.slug,
258
258
  basePath,
259
259
  platforms: g.onboarding_guide_platforms
260
260
  });
261
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
261
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
262
262
  };
263
263
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
264
264
  return renderShell(
265
265
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
266
- _chunkAXBVN5SWcjs.PageLayout,
266
+ _chunk2IFCRPNPcjs.PageLayout,
267
267
  {
268
268
  title: guide.title,
269
269
  titleSize: "h1",
270
270
  titleWrap: true,
271
271
  backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
272
272
  children: [
273
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
273
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72XMAKDAcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
274
274
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
275
- _chunk7Z4EQOIXcjs.EntityAuthorCard,
275
+ _chunk22XAPV6Ncjs.EntityAuthorCard,
276
276
  {
277
277
  author: guide.author,
278
278
  authorHref,
@@ -287,7 +287,7 @@ function OnboardingGuideDetailView({
287
287
  }
288
288
  ),
289
289
  (guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
290
- _chunkQTYSYEHKcjs.EntityVideoSection,
290
+ _chunkTQPQKBBLcjs.EntityVideoSection,
291
291
  {
292
292
  mainVideoUrl: guide.main_video_url,
293
293
  youtubeUrl: guide.youtube_url || void 0,
@@ -304,17 +304,17 @@ function OnboardingGuideDetailView({
304
304
  ) }),
305
305
  guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
306
306
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
307
- _chunkQTYSYEHKcjs.VideoBitesStrip,
307
+ _chunkTQPQKBBLcjs.VideoBitesStrip,
308
308
  {
309
309
  bites: _nullishCoalesce(guide.video_bites, () => ( [])),
310
310
  filterPublished: true,
311
311
  showTitle: false,
312
- profile: _chunk7Z4EQOIXcjs.toStripProfile.call(void 0, guide.author),
312
+ profile: _chunk22XAPV6Ncjs.toStripProfile.call(void 0, guide.author),
313
313
  href: `/onboarding-guides/${guide.slug}`
314
314
  }
315
315
  ),
316
316
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
317
- _chunkVUSXDMCEcjs.ArticleAuthorByline,
317
+ _chunkRM6AHNM4cjs.ArticleAuthorByline,
318
318
  {
319
319
  author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
320
320
  avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkT4BBZ5STcjs = require('./chunk-T4BBZ5ST.cjs');
4
+ var _chunkRO72PRQIcjs = require('./chunk-RO72PRQI.cjs');
5
5
 
6
6
 
7
7
 
@@ -14,7 +14,7 @@ var _chunkT4BBZ5STcjs = require('./chunk-T4BBZ5ST.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkB27XV2TCcjs = require('./chunk-B27XV2TC.cjs');
17
+ var _chunkNS64LMVEcjs = require('./chunk-NS64LMVE.cjs');
18
18
 
19
19
 
20
20
 
@@ -39,7 +39,7 @@ var _chunkB27XV2TCcjs = require('./chunk-B27XV2TC.cjs');
39
39
 
40
40
 
41
41
 
42
- var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
42
+ var _chunk22XAPV6Ncjs = require('./chunk-22XAPV6N.cjs');
43
43
 
44
44
 
45
45
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
@@ -443,13 +443,13 @@ function cardEntry(definition) {
443
443
  }
444
444
  function programEntry(configKey) {
445
445
  return cardEntry({
446
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
446
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
447
447
  decode: decodeProgramRow,
448
448
  render: (item, ctx) => {
449
449
  const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
450
450
  if (!config) return null;
451
451
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
452
- _chunk7Z4EQOIXcjs.ProgramCard,
452
+ _chunk22XAPV6Ncjs.ProgramCard,
453
453
  {
454
454
  config,
455
455
  item,
@@ -466,10 +466,10 @@ function programEntry(configKey) {
466
466
  }
467
467
  function roadmapEntry(cardType) {
468
468
  return cardEntry({
469
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
469
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
470
470
  decode: decodeRoadmapRow,
471
471
  render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
472
- _chunk7Z4EQOIXcjs.RoadmapCard,
472
+ _chunk22XAPV6Ncjs.RoadmapCard,
473
473
  {
474
474
  item,
475
475
  href: ctx.href,
@@ -486,10 +486,10 @@ function roadmapEntry(cardType) {
486
486
  }
487
487
  var RELATED_CARD_REGISTRY = {
488
488
  blog_post_existing: cardEntry({
489
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
489
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
490
490
  decode: decodeBlogRow,
491
491
  render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
492
- _chunk7Z4EQOIXcjs.BlogCard,
492
+ _chunk22XAPV6Ncjs.BlogCard,
493
493
  {
494
494
  post,
495
495
  size: ctx.legacySize,
@@ -501,10 +501,10 @@ var RELATED_CARD_REGISTRY = {
501
501
  )
502
502
  }),
503
503
  case_study: cardEntry({
504
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
504
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
505
505
  decode: decodeCaseStudyRow,
506
506
  render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
507
- _chunk7Z4EQOIXcjs.CaseStudyCard,
507
+ _chunk22XAPV6Ncjs.CaseStudyCard,
508
508
  {
509
509
  study,
510
510
  size: ctx.legacySize,
@@ -516,10 +516,10 @@ var RELATED_CARD_REGISTRY = {
516
516
  )
517
517
  }),
518
518
  customer_interview: cardEntry({
519
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
519
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
520
520
  decode: decodeCustomerInterviewRow,
521
521
  render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
522
- _chunk7Z4EQOIXcjs.CustomerInterviewCard,
522
+ _chunk22XAPV6Ncjs.CustomerInterviewCard,
523
523
  {
524
524
  interview,
525
525
  size: ctx.legacySize,
@@ -537,13 +537,13 @@ var RELATED_CARD_REGISTRY = {
537
537
  * record, and the three props the rail sets itself are read off it.
538
538
  */
539
539
  product_release: cardEntry({
540
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
540
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
541
541
  decode: asRecord,
542
542
  render: (release, ctx) => {
543
- const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunk7Z4EQOIXcjs.buildProductReleaseCardProps));
543
+ const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunk22XAPV6Ncjs.buildProductReleaseCardProps));
544
544
  const releaseProps = buildReleaseProps(release);
545
545
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
546
- _chunk7Z4EQOIXcjs.ProductReleaseCard,
546
+ _chunk22XAPV6Ncjs.ProductReleaseCard,
547
547
  {
548
548
  size: ctx.size === "sm" ? "sm" : "lg",
549
549
  title: str(release, "title"),
@@ -559,10 +559,10 @@ var RELATED_CARD_REGISTRY = {
559
559
  webinar: programEntry("webinar"),
560
560
  event: programEntry("event"),
561
561
  investor_update: cardEntry({
562
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
562
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
563
563
  decode: decodeInvestorUpdateRow,
564
564
  render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
565
- _chunk7Z4EQOIXcjs.InvestorUpdateCard,
565
+ _chunk22XAPV6Ncjs.InvestorUpdateCard,
566
566
  {
567
567
  update,
568
568
  size: ctx.legacySize,
@@ -577,10 +577,10 @@ var RELATED_CARD_REGISTRY = {
577
577
  * step-numbered 'default' variant is for the guide detail page's "More in
578
578
  * section" rail, not this full-width row. */
579
579
  onboarding_guide: cardEntry({
580
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
580
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22XAPV6Ncjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
581
581
  decode: decodeOnboardingGuideRow,
582
582
  render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
583
- _chunk7Z4EQOIXcjs.OnboardingGuideCard,
583
+ _chunk22XAPV6Ncjs.OnboardingGuideCard,
584
584
  {
585
585
  guide,
586
586
  size: ctx.size === "sm" ? "sm" : "catalog",
@@ -597,10 +597,10 @@ var RELATED_CARD_REGISTRY = {
597
597
  * href: an object with `href: undefined` is still truthy and would wrap the
598
598
  * card in a dead <a>. */
599
599
  what_i_shipped: cardEntry({
600
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27XV2TCcjs.WhatIShippedCardSkeleton, {}),
600
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNS64LMVEcjs.WhatIShippedCardSkeleton, {}),
601
601
  decode: decodeEmployeeEntryRow,
602
602
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
603
- _chunkB27XV2TCcjs.WhatIShippedCard,
603
+ _chunkNS64LMVEcjs.WhatIShippedCard,
604
604
  {
605
605
  entry,
606
606
  placeholderUrl: ctx.placeholderUrl,
@@ -610,10 +610,10 @@ var RELATED_CARD_REGISTRY = {
610
610
  }),
611
611
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
612
612
  how_i_work: cardEntry({
613
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27XV2TCcjs.HowIWorkCardSkeleton, {}),
613
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNS64LMVEcjs.HowIWorkCardSkeleton, {}),
614
614
  decode: decodeEmployeeEntryRow,
615
615
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
616
- _chunkB27XV2TCcjs.HowIWorkCard,
616
+ _chunkNS64LMVEcjs.HowIWorkCard,
617
617
  {
618
618
  entry,
619
619
  placeholderUrl: ctx.placeholderUrl,
@@ -623,10 +623,10 @@ var RELATED_CARD_REGISTRY = {
623
623
  }),
624
624
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
625
625
  ai_prompt: cardEntry({
626
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27XV2TCcjs.AiPromptCardSkeleton, {}),
626
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNS64LMVEcjs.AiPromptCardSkeleton, {}),
627
627
  decode: decodeEmployeeEntryRow,
628
628
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
629
- _chunkB27XV2TCcjs.AiPromptCard,
629
+ _chunkNS64LMVEcjs.AiPromptCard,
630
630
  {
631
631
  entry,
632
632
  placeholderUrl: ctx.placeholderUrl,
@@ -647,7 +647,7 @@ function DefaultLinkPropsProvider({
647
647
  children
648
648
  }) {
649
649
  if (!href) return children(null);
650
- const newTab = _chunk7Z4EQOIXcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
650
+ const newTab = _chunk22XAPV6Ncjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
651
651
  return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
652
652
  }
653
653
  function defaultResolveHref(ref) {
@@ -705,9 +705,9 @@ function useGroupItems(type, refs, buildUrl) {
705
705
  const url = ids.length > 0 ? buildUrl(type, ids) : null;
706
706
  const [pages, setPages] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
707
707
  const cached = url !== null ? pages.get(url) : void 0;
708
- const { data, dataUrl, error } = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, cached ? null : url);
708
+ const { data, dataUrl, error } = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, cached ? null : url);
709
709
  if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
710
- setPages(new Map(pages).set(dataUrl, _chunk7Z4EQOIXcjs.extractItems.call(void 0, data)));
710
+ setPages(new Map(pages).set(dataUrl, _chunk22XAPV6Ncjs.extractItems.call(void 0, data)));
711
711
  }
712
712
  if (url === null) return { items: null, isLoading: false };
713
713
  return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
@@ -716,7 +716,7 @@ function gridClassFor(columns) {
716
716
  return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
717
717
  }
718
718
  function resolveGroupConfig(type) {
719
- return _nullishCoalesce(_chunkB27XV2TCcjs.CONTENT_REF_GROUPS[type], () => ( {
719
+ return _nullishCoalesce(_chunkNS64LMVEcjs.CONTENT_REF_GROUPS[type], () => ( {
720
720
  label: type,
721
721
  order: 999,
722
722
  layout: "grid",
@@ -748,7 +748,7 @@ function ContentGroup({
748
748
  const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
749
749
  const pageRefs = refs.slice((page - 1) * GROUP_PAGE_SIZE, page * GROUP_PAGE_SIZE);
750
750
  const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl);
751
- const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT4BBZ5STcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
751
+ const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRO72PRQIcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
752
752
  if (isLoading) {
753
753
  const skeletons = pageRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
754
754
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading related content", className: "space-y-4", children: [
@@ -759,7 +759,7 @@ function ContentGroup({
759
759
  }
760
760
  if (!items) return null;
761
761
  const rowKey = (it) => {
762
- const extracted = _chunk7Z4EQOIXcjs.extractItemId.call(void 0, type, it);
762
+ const extracted = _chunk22XAPV6Ncjs.extractItemId.call(void 0, type, it);
763
763
  if (extracted !== null) return extracted;
764
764
  return String(typeof it === "object" && it !== null ? it.id : void 0);
765
765
  };
@@ -827,11 +827,11 @@ function RelatedContentSection({
827
827
  types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
828
828
  excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
829
829
  };
830
- const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkB27XV2TCcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
830
+ const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkNS64LMVEcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
831
831
  apiBaseUrl,
832
832
  extraParams: { authorId, ...typeFilterParams }
833
833
  }) : null;
834
- const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkB27XV2TCcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
834
+ const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkNS64LMVEcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
835
835
  apiBaseUrl,
836
836
  entityType,
837
837
  entityId,
@@ -848,9 +848,9 @@ function RelatedContentSection({
848
848
  () => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
849
849
  [initialItems, suggestionsDisabled]
850
850
  );
851
- const { data, isLoading } = _chunkB27XV2TCcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
851
+ const { data, isLoading } = _chunkNS64LMVEcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
852
852
  const effectiveBuildListUrl = _react.useMemo.call(void 0,
853
- () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunk7Z4EQOIXcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
853
+ () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunk22XAPV6Ncjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
854
854
  [buildListUrl2, apiBaseUrl]
855
855
  );
856
856
  const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
@@ -861,12 +861,12 @@ function RelatedContentSection({
861
861
  if (isLoading) {
862
862
  const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
863
863
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading related content", className: "space-y-8", children: [
864
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
864
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk22XAPV6Ncjs.accentSentenceMarks.call(void 0, title) }),
865
865
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(skeletonType, "default", adminCampaignCard) }, i)) })
866
866
  ] });
867
867
  }
868
868
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
869
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
869
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunk22XAPV6Ncjs.accentSentenceMarks.call(void 0, title) }),
870
870
  _nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
871
871
  ] });
872
872
  }
@@ -875,16 +875,16 @@ function RelatedContentSection({
875
875
  if (!grouped[ref.type]) grouped[ref.type] = [];
876
876
  grouped[ref.type].push(ref);
877
877
  }
878
- let orderedTypes = _chunkB27XV2TCcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
878
+ let orderedTypes = _chunkNS64LMVEcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
879
879
  if (entityType) {
880
- const canonicalEntityType = _chunk7Z4EQOIXcjs.canonicalContentRefType.call(void 0, entityType);
881
- const sameType = orderedTypes.filter((t) => _chunk7Z4EQOIXcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
880
+ const canonicalEntityType = _chunk22XAPV6Ncjs.canonicalContentRefType.call(void 0, entityType);
881
+ const sameType = orderedTypes.filter((t) => _chunk22XAPV6Ncjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
882
882
  if (sameType.length > 0) {
883
- orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunk7Z4EQOIXcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
883
+ orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunk22XAPV6Ncjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
884
884
  }
885
885
  }
886
886
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
887
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk7Z4EQOIXcjs.accentSentenceMarks.call(void 0, title) }),
887
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk22XAPV6Ncjs.accentSentenceMarks.call(void 0, title) }),
888
888
  orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
889
889
  ContentGroup,
890
890
  {
@@ -896,7 +896,7 @@ function RelatedContentSection({
896
896
  LinkProvider,
897
897
  extras,
898
898
  adminCampaignCard,
899
- heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkB27XV2TCcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
899
+ heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkNS64LMVEcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
900
900
  },
901
901
  type
902
902
  ))
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkPSLL4FAScjs = require('./chunk-PSLL4FAS.cjs');
4
+ var _chunkCEJDHCFZcjs = require('./chunk-CEJDHCFZ.cjs');
5
5
 
6
6
 
7
- var _chunkQTYSYEHKcjs = require('./chunk-QTYSYEHK.cjs');
7
+ var _chunkTQPQKBBLcjs = require('./chunk-TQPQKBBL.cjs');
8
8
 
9
9
 
10
10
  var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
@@ -44,7 +44,7 @@ function isSummaryData(value) {
44
44
  }
45
45
  function TicketLiveProvider({ children, enabled = true }) {
46
46
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
47
- const identity = _chunkQTYSYEHKcjs.useChatIdentity.call(void 0, enabled);
47
+ const identity = _chunkTQPQKBBLcjs.useChatIdentity.call(void 0, enabled);
48
48
  const queryClient = _reactquery.useQueryClient.call(void 0, );
49
49
  const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
50
50
  const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
160
160
  _react2.default.useEffect(() => {
161
161
  if (!streamEnabled) return void 0;
162
162
  if (typeof window === "undefined") return void 0;
163
- subscriptionRef.current = _chunkPSLL4FAScjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunkCEJDHCFZcjs.createSseSubscription.call(void 0, {
164
164
  url: streamUrl,
165
165
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
166
166
  onStatusChange: (status) => handlersRef.current.onStatus(status),