@flamingo-stack/openframe-frontend-core 0.0.737 → 0.0.739

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 (146) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-AZL332TK.cjs → chunk-2QMBXGMQ.cjs} +15 -2
  3. package/dist/{chunk-HZJRERJW.cjs → chunk-3RFQPQ7Z.cjs} +3 -3
  4. package/dist/{chunk-YADG5Q7C.cjs → chunk-63N4FN5V.cjs} +3 -3
  5. package/dist/{chunk-FTTLBMHU.cjs → chunk-7ZFCR7UY.cjs} +2 -2
  6. package/dist/{chunk-MJGX357L.cjs → chunk-B27QEHYR.cjs} +2 -2
  7. package/dist/{chunk-VRNNIV5Y.cjs → chunk-B3XBJCOD.cjs} +9 -9
  8. package/dist/{chunk-VL4JKXU2.cjs → chunk-BV5WZVOP.cjs} +243 -243
  9. package/dist/{chunk-KVGBDWYV.cjs → chunk-CUDTMCXK.cjs} +36 -36
  10. package/dist/{chunk-L4ZNR5V7.cjs → chunk-DSVNFRY5.cjs} +87 -87
  11. package/dist/{chunk-LW3QSP47.cjs → chunk-DTLHY2ZF.cjs} +27 -27
  12. package/dist/{chunk-4ISP3XP4.cjs → chunk-EGN4I5Q7.cjs} +76 -76
  13. package/dist/{chunk-XPP7VCNY.cjs → chunk-ENCAIAMY.cjs} +10 -10
  14. package/dist/{chunk-FA2LATDM.cjs → chunk-FL6UO7IR.cjs} +4 -4
  15. package/dist/{chunk-ZRYKDN2J.cjs → chunk-GABDE3FM.cjs} +24 -24
  16. package/dist/{chunk-MYBTNOS6.cjs → chunk-GSWQZX23.cjs} +2 -2
  17. package/dist/{chunk-L535OD7V.cjs → chunk-HF7Z2E4W.cjs} +2 -2
  18. package/dist/chunk-HOTM4UM6.cjs +84 -0
  19. package/dist/{chunk-EAY6ZUES.cjs → chunk-I5MSCD57.cjs} +2 -2
  20. package/dist/{chunk-FCGLSWKR.cjs → chunk-IFS4AH77.cjs} +19 -1
  21. package/dist/{chunk-MGW5DO6P.cjs → chunk-KLI4OSRA.cjs} +7 -7
  22. package/dist/{chunk-O4MG7FXW.cjs → chunk-NX6JQT25.cjs} +6 -6
  23. package/dist/{chunk-ZJNYWNCB.cjs → chunk-O67V3HJR.cjs} +29 -29
  24. package/dist/{chunk-DUXLZPMJ.cjs → chunk-PQ2M7P2U.cjs} +7 -7
  25. package/dist/{chunk-SGVQO5J6.cjs → chunk-Q7GG3WC5.cjs} +26 -26
  26. package/dist/{chunk-TJQYX3QC.cjs → chunk-RGFT3P3L.cjs} +97 -97
  27. package/dist/{chunk-4FJZ7RJD.cjs → chunk-S2CA5WE4.cjs} +161 -93
  28. package/dist/{chunk-E2JCZU36.cjs → chunk-SB4VWA5V.cjs} +1044 -857
  29. package/dist/{chunk-XLSVQJBA.cjs → chunk-SFY4UYPY.cjs} +44 -44
  30. package/dist/{chunk-4RMLAHU2.cjs → chunk-TF7J6VXG.cjs} +20 -20
  31. package/dist/{chunk-CM35DLKS.cjs → chunk-UI3HROSI.cjs} +35 -35
  32. package/dist/{chunk-DA4VS6TS.cjs → chunk-UXFJXIUT.cjs} +4 -4
  33. package/dist/{chunk-N6YOOGCD.cjs → chunk-UYP3G6PB.cjs} +12 -12
  34. package/dist/{chunk-URIJ6YUG.cjs → chunk-V2ZFH42N.cjs} +22 -17
  35. package/dist/{chunk-77SD7RXY.cjs → chunk-WBANGORJ.cjs} +7 -7
  36. package/dist/{chunk-VYODTHMR.cjs → chunk-WMKNZI4G.cjs} +54 -54
  37. package/dist/{chunk-EX2GYIGW.cjs → chunk-YRE3O65E.cjs} +12 -12
  38. package/dist/{chunk-EJOXXJJB.cjs → chunk-YXKB5WRE.cjs} +95 -104
  39. package/dist/{cloud-tenants-IWQ5FFLY.cjs → cloud-tenants-QSFSO3PA.cjs} +20 -20
  40. package/dist/components/agent-identity.d.ts +8 -1
  41. package/dist/components/agent-identity.d.ts.map +1 -1
  42. package/dist/components/agent-identity.js +6 -1
  43. package/dist/components/calendar.cjs +4 -4
  44. package/dist/components/case-studies/index.cjs +32 -32
  45. package/dist/components/chat/chat-turn.d.ts +23 -0
  46. package/dist/components/chat/chat-turn.d.ts.map +1 -0
  47. package/dist/components/chat/chat-turn.js +30 -0
  48. package/dist/components/chat/index.cjs +18 -16
  49. package/dist/components/chat/index.d.ts +1 -0
  50. package/dist/components/chat/index.d.ts.map +1 -1
  51. package/dist/components/chat/index.js +1 -0
  52. package/dist/components/contact/index.cjs +21 -21
  53. package/dist/components/docs/index.cjs +24 -24
  54. package/dist/components/embeds/index.cjs +21 -21
  55. package/dist/components/faq/faq-section.d.ts.map +1 -1
  56. package/dist/components/faq/faq-section.js +9 -4
  57. package/dist/components/faq/index.cjs +22 -22
  58. package/dist/components/features/auth/auth-benefits-panel.d.ts +3 -5
  59. package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
  60. package/dist/components/features/auth/auth-benefits-panel.js +3 -19
  61. package/dist/components/features/conversation-card.d.ts +12 -4
  62. package/dist/components/features/conversation-card.d.ts.map +1 -1
  63. package/dist/components/features/conversation-card.js +30 -38
  64. package/dist/components/features/index.cjs +20 -20
  65. package/dist/components/features/walkthrough-video.d.ts +3 -0
  66. package/dist/components/features/walkthrough-video.d.ts.map +1 -1
  67. package/dist/components/features/walkthrough-video.js +36 -13
  68. package/dist/components/help-center-pages/index.cjs +127 -127
  69. package/dist/components/index.cjs +114 -98
  70. package/dist/components/meeting-scheduler/index.cjs +67 -67
  71. package/dist/components/navigation/index.cjs +23 -23
  72. package/dist/components/onboarding-guides/index.cjs +23 -23
  73. package/dist/components/platform/ToolBadge.d.ts.map +1 -1
  74. package/dist/components/platform/ToolBadge.js +4 -3
  75. package/dist/components/product-demo/index.cjs +8 -8
  76. package/dist/components/related-content/index.cjs +12 -12
  77. package/dist/components/tickets/index.cjs +26 -26
  78. package/dist/components/ui/app-window-frame.d.ts +7 -1
  79. package/dist/components/ui/app-window-frame.d.ts.map +1 -1
  80. package/dist/components/ui/app-window-frame.js +10 -2
  81. package/dist/components/ui/benefit-list.d.ts +42 -0
  82. package/dist/components/ui/benefit-list.d.ts.map +1 -0
  83. package/dist/components/ui/benefit-list.js +62 -0
  84. package/dist/components/ui/button/button.d.ts +1 -0
  85. package/dist/components/ui/button/button.d.ts.map +1 -1
  86. package/dist/components/ui/button/button.js +15 -2
  87. package/dist/components/ui/dropdown-button.d.ts +20 -2
  88. package/dist/components/ui/dropdown-button.d.ts.map +1 -1
  89. package/dist/components/ui/dropdown-button.js +57 -1
  90. package/dist/components/ui/file-manager/index.cjs +11 -11
  91. package/dist/components/ui/index.cjs +34 -20
  92. package/dist/components/ui/index.d.ts +3 -0
  93. package/dist/components/ui/index.d.ts.map +1 -1
  94. package/dist/components/ui/index.js +3 -0
  95. package/dist/components/ui/leader-row.d.ts +17 -0
  96. package/dist/components/ui/leader-row.d.ts.map +1 -0
  97. package/dist/components/ui/leader-row.js +14 -0
  98. package/dist/components/ui/strip-card.d.ts +23 -0
  99. package/dist/components/ui/strip-card.d.ts.map +1 -0
  100. package/dist/components/ui/strip-card.js +56 -0
  101. package/dist/{devices-OUHGWA6Y.cjs → devices-C7XLWJFC.cjs} +21 -21
  102. package/dist/embed-shims/index.cjs +2 -2
  103. package/dist/embed-shims/next-image.cjs +2 -2
  104. package/dist/embed-shims/next-image.d.ts.map +1 -1
  105. package/dist/embed-shims/next-image.js +6 -2
  106. package/dist/{embeddable-chat-U3C4WWB7.cjs → embeddable-chat-6JKKFQEB.cjs} +89 -89
  107. package/dist/hooks/index.cjs +3 -3
  108. package/dist/index.cjs +46 -25
  109. package/dist/{knowledge-3ZASPWMF.cjs → knowledge-3QKWTOE7.cjs} +21 -21
  110. package/dist/{logs-E6Y54P6K.cjs → logs-JXD75NR4.cjs} +29 -29
  111. package/dist/{policies-LAV75B5B.cjs → policies-ZPN53PFQ.cjs} +24 -24
  112. package/dist/{remote-session-Z4YZFG5E.cjs → remote-session-DNFZ5OLY.cjs} +10 -10
  113. package/dist/{software-update-2CAL3AMJ.cjs → software-update-CRSIBS3K.cjs} +24 -24
  114. package/dist/{tickets-board-JOSYLOS7.cjs → tickets-board-CKZRB6YV.cjs} +12 -12
  115. package/dist/utils/demo-clock.d.ts +22 -0
  116. package/dist/utils/demo-clock.d.ts.map +1 -0
  117. package/dist/utils/demo-clock.js +40 -0
  118. package/dist/utils/identity-tint.d.ts +13 -0
  119. package/dist/utils/identity-tint.d.ts.map +1 -0
  120. package/dist/utils/identity-tint.js +14 -0
  121. package/dist/utils/index.cjs +54 -0
  122. package/dist/utils/index.d.ts +2 -0
  123. package/dist/utils/index.d.ts.map +1 -1
  124. package/dist/utils/index.js +2 -0
  125. package/dist/{video-file-player-6NWGXZ3W.cjs → video-file-player-ZH2ILAPO.cjs} +12 -12
  126. package/package.json +1 -1
  127. package/src/components/agent-identity.tsx +12 -1
  128. package/src/components/chat/chat-turn.tsx +52 -0
  129. package/src/components/chat/index.ts +1 -0
  130. package/src/components/faq/faq-section.tsx +4 -1
  131. package/src/components/features/auth/auth-benefits-panel.tsx +5 -32
  132. package/src/components/features/conversation-card.tsx +48 -46
  133. package/src/components/features/walkthrough-video.tsx +59 -18
  134. package/src/components/platform/ToolBadge.tsx +4 -3
  135. package/src/components/ui/app-window-frame.tsx +18 -2
  136. package/src/components/ui/benefit-list.tsx +97 -0
  137. package/src/components/ui/button/button.tsx +14 -1
  138. package/src/components/ui/dropdown-button.tsx +73 -1
  139. package/src/components/ui/index.ts +3 -0
  140. package/src/components/ui/leader-row.tsx +28 -0
  141. package/src/components/ui/strip-card.tsx +68 -0
  142. package/src/embed-shims/next-image.tsx +15 -4
  143. package/src/utils/demo-clock.ts +62 -0
  144. package/src/utils/identity-tint.ts +23 -0
  145. package/src/utils/index.ts +2 -0
  146. package/dist/chunk-UR4K2NSL.cjs +0 -69
@@ -3,31 +3,31 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkXPP7VCNYcjs = require('./chunk-XPP7VCNY.cjs');
6
+ var _chunkENCAIAMYcjs = require('./chunk-ENCAIAMY.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkDA4VS6TScjs = require('./chunk-DA4VS6TS.cjs');
12
+ var _chunkUXFJXIUTcjs = require('./chunk-UXFJXIUT.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkN6YOOGCDcjs = require('./chunk-N6YOOGCD.cjs');
16
+ var _chunkUYP3G6PBcjs = require('./chunk-UYP3G6PB.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
- var _chunkE2JCZU36cjs = require('./chunk-E2JCZU36.cjs');
21
+ var _chunkSB4VWA5Vcjs = require('./chunk-SB4VWA5V.cjs');
22
22
 
23
23
 
24
- var _chunkL4ZNR5V7cjs = require('./chunk-L4ZNR5V7.cjs');
24
+ var _chunkDSVNFRY5cjs = require('./chunk-DSVNFRY5.cjs');
25
25
 
26
26
 
27
27
 
28
28
 
29
29
 
30
- var _chunk4FJZ7RJDcjs = require('./chunk-4FJZ7RJD.cjs');
30
+ var _chunkS2CA5WE4cjs = require('./chunk-S2CA5WE4.cjs');
31
31
 
32
32
 
33
33
 
@@ -337,8 +337,8 @@ function toDocContent(value, requestedPath) {
337
337
  }
338
338
  function useDocumentTree(config, initialPath) {
339
339
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
340
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunk4FJZ7RJDcjs.DEFAULT_FOLDER_INDEX_FILE));
341
- const cleanInitialPath = _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
340
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkS2CA5WE4cjs.DEFAULT_FOLDER_INDEX_FILE));
341
+ const cleanInitialPath = _chunkS2CA5WE4cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
342
342
  const [structure, setStructure] = _react.useState.call(void 0, []);
343
343
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
344
344
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -362,12 +362,12 @@ function useDocumentTree(config, initialPath) {
362
362
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
363
363
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
364
364
  }
365
- pathFromUrl = _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
365
+ pathFromUrl = _chunkS2CA5WE4cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
366
366
  if (pathFromUrl !== selectedPathRef.current) {
367
367
  setSelectedPath(pathFromUrl);
368
368
  if (pathFromUrl) {
369
369
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
370
- setExpandedNodes(new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
370
+ setExpandedNodes(new Set(_chunkS2CA5WE4cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
371
371
  }
372
372
  setTimeout(() => {
373
373
  scrollToContent();
@@ -385,7 +385,7 @@ function useDocumentTree(config, initialPath) {
385
385
  setSelectedPath(cleanInitialPath);
386
386
  if (cleanInitialPath) {
387
387
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
388
- setExpandedNodes(new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
388
+ setExpandedNodes(new Set(_chunkS2CA5WE4cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
389
389
  }
390
390
  setExternalNavCount((n) => n + 1);
391
391
  }
@@ -410,7 +410,7 @@ function useDocumentTree(config, initialPath) {
410
410
  if (cleanInitialPath) {
411
411
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
412
412
  if (pathForExpansion) {
413
- setExpandedNodes(new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
413
+ setExpandedNodes(new Set(_chunkS2CA5WE4cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
414
414
  }
415
415
  } else if (nodes.length > 0) {
416
416
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -450,7 +450,7 @@ function useDocumentTree(config, initialPath) {
450
450
  setContent(null);
451
451
  return;
452
452
  }
453
- const probe = _chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
453
+ const probe = _chunkS2CA5WE4cjs.findDocNodeByPath.call(void 0, _chunkS2CA5WE4cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
454
454
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
455
455
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
456
456
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -507,7 +507,7 @@ function useDocumentTree(config, initialPath) {
507
507
  if (selectedPath === "") {
508
508
  pathToFetch = folderIndexFile;
509
509
  } else {
510
- const node = _chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
510
+ const node = _chunkS2CA5WE4cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
511
511
  if (node && node.type === "folder" && !node.hasReadme) {
512
512
  const firstDocPath = findFirstDocPath(node);
513
513
  if (!firstDocPath) {
@@ -548,16 +548,16 @@ function useDocumentTree(config, initialPath) {
548
548
  if (node.type === "folder") {
549
549
  setExpandedNodes((prev) => {
550
550
  if (prev.has(node.id)) {
551
- const ancestorIds = _chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, node.path);
551
+ const ancestorIds = _chunkS2CA5WE4cjs.getDocAncestorNodeIds.call(void 0, node.path);
552
552
  ancestorIds.pop();
553
553
  return new Set(ancestorIds);
554
554
  }
555
- return new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, node.path));
555
+ return new Set(_chunkS2CA5WE4cjs.getDocAncestorNodeIds.call(void 0, node.path));
556
556
  });
557
557
  } else {
558
558
  const lastSlash = node.path.lastIndexOf("/");
559
559
  if (lastSlash > 0) {
560
- setExpandedNodes(new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
560
+ setExpandedNodes(new Set(_chunkS2CA5WE4cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
561
561
  }
562
562
  }
563
563
  lastFetchedPath.current = null;
@@ -572,7 +572,7 @@ function useDocumentTree(config, initialPath) {
572
572
  const hashIndex = path.indexOf("#");
573
573
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
574
574
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
575
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
575
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkS2CA5WE4cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
576
576
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
577
577
  _chunkSA7LDEVJcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkSA7LDEVJcjs.HUB_HEADER_OFFSET_PX });
578
578
  return;
@@ -636,15 +636,15 @@ function useDocumentTree(config, initialPath) {
636
636
  return docNavigation.register({
637
637
  baseRoute: normalizedBaseRoute,
638
638
  findNodeByPath: (path) => {
639
- const clean = _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
640
- return _nullishCoalesce(_chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
639
+ const clean = _chunkS2CA5WE4cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
640
+ return _nullishCoalesce(_chunkS2CA5WE4cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
641
641
  },
642
642
  selectNode
643
643
  });
644
644
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
645
645
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
646
646
  if (!selectedPath || structure.length === 0) return false;
647
- const node = _chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
647
+ const node = _chunkS2CA5WE4cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
648
648
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
649
649
  }, [selectedPath, structure]);
650
650
  return {
@@ -724,14 +724,14 @@ function DocViewerContent({
724
724
  },
725
725
  docPath
726
726
  );
727
- const { activeSection, handleSectionClick } = _chunkDA4VS6TScjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
727
+ const { activeSection, handleSectionClick } = _chunkUXFJXIUTcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
728
728
  const docNav = useDocNavigation();
729
729
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
730
730
  const backCfg = backButton === false ? null : {
731
731
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
732
732
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
733
733
  };
734
- const docSearch = _chunkN6YOOGCDcjs.useDocSearch.call(void 0, {
734
+ const docSearch = _chunkUYP3G6PBcjs.useDocSearch.call(void 0, {
735
735
  source: chatSource,
736
736
  baseRoute,
737
737
  searchEndpoint,
@@ -755,7 +755,7 @@ function DocViewerContent({
755
755
  onResolveLink: resolveLink
756
756
  });
757
757
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
758
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
758
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkS2CA5WE4cjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
759
759
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
760
760
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
761
761
  const showStickyNav = isMarkdownContent;
@@ -766,9 +766,9 @@ function DocViewerContent({
766
766
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
767
767
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
768
768
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
769
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
769
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDSVNFRY5cjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
770
770
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
771
- _chunkN6YOOGCDcjs.DocSearchBar,
771
+ _chunkUYP3G6PBcjs.DocSearchBar,
772
772
  {
773
773
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _19 => _19.toLowerCase, 'call', _20 => _20()]) || "documents"}...`,
774
774
  query: docSearch.query,
@@ -787,9 +787,9 @@ function DocViewerContent({
787
787
  ] })
788
788
  ] }) }),
789
789
  !error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 content-lg:flex-row content-lg:gap-10", children: [
790
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2JCZU36cjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
790
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSB4VWA5Vcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
791
791
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
792
- _chunkDA4VS6TScjs.MobileNavigationDropdown,
792
+ _chunkUXFJXIUTcjs.MobileNavigationDropdown,
793
793
  {
794
794
  nodes: structure,
795
795
  selectedPath,
@@ -803,7 +803,7 @@ function DocViewerContent({
803
803
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
804
804
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
805
805
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
806
- _chunkDA4VS6TScjs.MultiLevelNavigation,
806
+ _chunkUXFJXIUTcjs.MultiLevelNavigation,
807
807
  {
808
808
  nodes: structure,
809
809
  selectedPath,
@@ -842,7 +842,7 @@ function DocViewerContent({
842
842
  showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
843
843
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
844
844
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
845
- _chunkDA4VS6TScjs.StickySectionNav,
845
+ _chunkUXFJXIUTcjs.StickySectionNav,
846
846
  {
847
847
  sections: stickyNavSections,
848
848
  activeSection,
@@ -857,7 +857,7 @@ function DocViewerContent({
857
857
  ) })
858
858
  ] })
859
859
  ] }) }) });
860
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2JCZU36cjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
860
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSB4VWA5Vcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
861
861
  }
862
862
 
863
863
  // src/components/docs/skeletons.tsx
@@ -953,11 +953,11 @@ function EmbedSkeleton({ documentType } = {}) {
953
953
 
954
954
  var DEFAULT_TITLE = "Documents";
955
955
  var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
956
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXPP7VCNYcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
957
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXPP7VCNYcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
958
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2JCZU36cjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
956
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkENCAIAMYcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
957
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkENCAIAMYcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
958
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSB4VWA5Vcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
959
959
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
960
- _chunkXPP7VCNYcjs.FileDownloadCard,
960
+ _chunkENCAIAMYcjs.FileDownloadCard,
961
961
  {
962
962
  fileName: content.fileName,
963
963
  mimeType: content.mimeType,
@@ -1,10 +1,10 @@
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 _chunk4FJZ7RJDcjs = require('./chunk-4FJZ7RJD.cjs');
4
+ var _chunkS2CA5WE4cjs = require('./chunk-S2CA5WE4.cjs');
5
5
 
6
6
 
7
- var _chunkVL4JKXU2cjs = require('./chunk-VL4JKXU2.cjs');
7
+ var _chunkBV5WZVOPcjs = require('./chunk-BV5WZVOP.cjs');
8
8
 
9
9
 
10
10
 
@@ -47,7 +47,7 @@ function HorizontalSectionNav({
47
47
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
48
48
  brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
49
49
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
50
- _chunkVL4JKXU2cjs.ScrollShadow,
50
+ _chunkBV5WZVOPcjs.ScrollShadow,
51
51
  {
52
52
  axis: "horizontal",
53
53
  className: "min-w-0 flex-1",
@@ -332,7 +332,7 @@ function useScrollSpy(sections, options = {}) {
332
332
  // src/components/navigation/multi-level-navigation.tsx
333
333
  var _lucidereact = require('lucide-react');
334
334
 
335
- var DEFAULT_FOLDER_INDEX_FILE2 = _chunk4FJZ7RJDcjs.DEFAULT_FOLDER_INDEX_FILE;
335
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkS2CA5WE4cjs.DEFAULT_FOLDER_INDEX_FILE;
336
336
  function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
337
337
  const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
338
338
  if (selectedPath === node.path) {
@@ -1,13 +1,13 @@
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 _chunkE2JCZU36cjs = require('./chunk-E2JCZU36.cjs');
4
+ var _chunkSB4VWA5Vcjs = require('./chunk-SB4VWA5V.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkVL4JKXU2cjs = require('./chunk-VL4JKXU2.cjs');
10
+ var _chunkBV5WZVOPcjs = require('./chunk-BV5WZVOP.cjs');
11
11
 
12
12
 
13
13
  var _chunkSA7LDEVJcjs = require('./chunk-SA7LDEVJ.cjs');
@@ -19,7 +19,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
19
19
 
20
20
 
21
21
 
22
- var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
22
+ var _chunkYXKB5WREcjs = require('./chunk-YXKB5WRE.cjs');
23
23
 
24
24
 
25
25
  var _chunkPX7FY655cjs = require('./chunk-PX7FY655.cjs');
@@ -40,7 +40,7 @@ var _jsxruntime = require('react/jsx-runtime');
40
40
  function DocSearchResultRow({ result, isHighlighted }) {
41
41
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
42
42
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
43
- const { Icon: SourceIcon, label: iconLabel } = _chunkVL4JKXU2cjs.resolveSourceIcon.call(void 0, {
43
+ const { Icon: SourceIcon, label: iconLabel } = _chunkBV5WZVOPcjs.resolveSourceIcon.call(void 0, {
44
44
  sourceRepo,
45
45
  documentType: docType
46
46
  });
@@ -70,7 +70,7 @@ function DocSearchBar({
70
70
  renderResult
71
71
  }) {
72
72
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
73
- _chunkE2JCZU36cjs.SearchInput,
73
+ _chunkSB4VWA5Vcjs.SearchInput,
74
74
  {
75
75
  placeholder,
76
76
  value: query,
@@ -120,7 +120,7 @@ function mapDocSearchResults(docs) {
120
120
  results.push({
121
121
  id: `group-${entry.repo}`,
122
122
  // Same table label and count as the chat's grouped chip: one owner each.
123
- title: `${_chunkVL4JKXU2cjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkVL4JKXU2cjs.recordCountLabel.call(void 0, rows.length)}`,
123
+ title: `${_chunkBV5WZVOPcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkBV5WZVOPcjs.recordCountLabel.call(void 0, rows.length)}`,
124
124
  path: rows[0].path,
125
125
  type: "file",
126
126
  metadata: {
@@ -183,7 +183,7 @@ function resolveSearchResultAction(result, source, runtimeMode, composeContentUr
183
183
  if (composed && !isAbsoluteHref(href)) {
184
184
  return { kind: "navigate-same-tab", href };
185
185
  }
186
- const isNewTab = _chunkEJOXXJJBcjs.decideNewTab.call(void 0, {
186
+ const isNewTab = _chunkYXKB5WREcjs.decideNewTab.call(void 0, {
187
187
  href,
188
188
  targetPlatform: composed ? composed.targetPlatform : targetPlatform,
189
189
  surface: "useUnifiedNav",
@@ -312,31 +312,31 @@ function useDocSearch(config) {
312
312
  case "navigate-same-tab": {
313
313
  if (wantsNewTab) {
314
314
  setKeepOpen(true);
315
- window.open(action.href, "_blank", _chunkEJOXXJJBcjs.NEW_TAB_FEATURES);
315
+ window.open(action.href, "_blank", _chunkYXKB5WREcjs.NEW_TAB_FEATURES);
316
316
  return;
317
317
  }
318
318
  setKeepOpen(false);
319
319
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
320
320
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
321
- router.push(_chunkEJOXXJJBcjs.stripSameOriginToPath.call(void 0, action.href));
321
+ router.push(_chunkYXKB5WREcjs.stripSameOriginToPath.call(void 0, action.href));
322
322
  return;
323
323
  }
324
324
  case "navigate-new-tab":
325
325
  setKeepOpen(true);
326
326
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
327
327
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
328
- _chunkEJOXXJJBcjs.resolveExternalNavigation.call(void 0, {
328
+ _chunkYXKB5WREcjs.resolveExternalNavigation.call(void 0, {
329
329
  href: action.href,
330
330
  targetPlatform,
331
331
  runtime
332
332
  }).open();
333
333
  return;
334
334
  }
335
- window.open(action.href, "_blank", _chunkEJOXXJJBcjs.NEW_TAB_FEATURES);
335
+ window.open(action.href, "_blank", _chunkYXKB5WREcjs.NEW_TAB_FEATURES);
336
336
  return;
337
337
  case "ask-ai":
338
338
  setKeepOpen(false);
339
- window.dispatchEvent(new CustomEvent(_chunkVL4JKXU2cjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
339
+ window.dispatchEvent(new CustomEvent(_chunkBV5WZVOPcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
340
340
  return;
341
341
  case "route":
342
342
  setKeepOpen(false);
@@ -5,12 +5,12 @@ var _chunkVA7OMDZOcjs = require('./chunk-VA7OMDZO.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk4FJZ7RJDcjs = require('./chunk-4FJZ7RJD.cjs');
8
+ var _chunkS2CA5WE4cjs = require('./chunk-S2CA5WE4.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkVL4JKXU2cjs = require('./chunk-VL4JKXU2.cjs');
13
+ var _chunkBV5WZVOPcjs = require('./chunk-BV5WZVOP.cjs');
14
14
 
15
15
 
16
16
 
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
25
25
 
26
26
 
27
27
 
28
- var _chunkEX2GYIGWcjs = require('./chunk-EX2GYIGW.cjs');
28
+ var _chunkYRE3O65Ecjs = require('./chunk-YRE3O65E.cjs');
29
29
 
30
30
 
31
- var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
31
+ var _chunkYXKB5WREcjs = require('./chunk-YXKB5WRE.cjs');
32
32
 
33
33
 
34
34
  var _chunkPX7FY655cjs = require('./chunk-PX7FY655.cjs');
@@ -57,7 +57,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
57
57
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
58
58
  "div",
59
59
  {
60
- id: _chunkVL4JKXU2cjs.faqItemAnchor.call(void 0, item.id),
60
+ id: _chunkBV5WZVOPcjs.faqItemAnchor.call(void 0, item.id),
61
61
  className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
62
62
  children: [
63
63
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -110,14 +110,14 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
110
110
 
111
111
  var PICK_ROOT_MARGIN = "600px";
112
112
  function faqAskCardShown(assistant) {
113
- return _chunk4FJZ7RJDcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
113
+ return _chunkS2CA5WE4cjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
114
114
  }
115
115
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
116
116
  const { ref, inView } = _chunkSA7LDEVJcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
117
117
  const [reached, setReached] = _react.useState.call(void 0, false);
118
118
  if (inView && !reached) setReached(true);
119
119
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
120
- _chunk4FJZ7RJDcjs.AssistantAskPrompts,
120
+ _chunkS2CA5WE4cjs.AssistantAskPrompts,
121
121
  {
122
122
  variant: "card",
123
123
  topic,
@@ -170,7 +170,7 @@ function pageFaqProps(faq) {
170
170
  }
171
171
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
172
172
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
173
- return _chunkEX2GYIGWcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
173
+ return _chunkYRE3O65Ecjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
174
174
  apiBaseUrl,
175
175
  entityType,
176
176
  entityId,
@@ -191,7 +191,7 @@ function groupFaqsBySection(faqs) {
191
191
  }
192
192
  let group = byName.get(name);
193
193
  if (!group) {
194
- group = { section: name, slug: _chunkVL4JKXU2cjs.faqSectionSlug.call(void 0, name), items: [] };
194
+ group = { section: name, slug: _chunkBV5WZVOPcjs.faqSectionSlug.call(void 0, name), items: [] };
195
195
  byName.set(name, group);
196
196
  }
197
197
  group.items.push(item);
@@ -246,7 +246,7 @@ function GroupedFaqList({
246
246
  }, [slugKey]);
247
247
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
248
248
  _react.useEffect.call(void 0, () => {
249
- const refresh = () => setHashTarget(_chunkVL4JKXU2cjs.parseFaqHash.call(void 0, window.location.hash));
249
+ const refresh = () => setHashTarget(_chunkBV5WZVOPcjs.parseFaqHash.call(void 0, window.location.hash));
250
250
  refresh();
251
251
  window.addEventListener("hashchange", refresh);
252
252
  return () => window.removeEventListener("hashchange", refresh);
@@ -296,7 +296,7 @@ function GroupedFaqList({
296
296
  const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
297
297
  const key = groupKey(group);
298
298
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
299
- group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkEJOXXJJBcjs.SECTION_HEADING_CLASS, children: group.section }),
299
+ group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkYXKB5WREcjs.SECTION_HEADING_CLASS, children: group.section }),
300
300
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
301
301
  FaqAccordion,
302
302
  {
@@ -355,15 +355,20 @@ function FaqSection({
355
355
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
356
356
  [initialFaqs]
357
357
  );
358
- const { data, dataUrl, isLoading, error } = _chunkEX2GYIGWcjs.useSelfFetch.call(void 0, url, { initialData });
358
+ const { data, dataUrl, isLoading, error } = _chunkYRE3O65Ecjs.useSelfFetch.call(void 0, url, { initialData });
359
359
  const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
360
360
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
361
361
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
362
- const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkEJOXXJJBcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
363
- const headingNode = showTopic && topic ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
364
- titleNode,
365
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-muted text-h6", children: topic })
366
- ] }) : titleNode;
362
+ const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkYXKB5WREcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
363
+ const headingNode = showTopic && topic ? (
364
+ // The host's heading may arrive from a server component, still streaming: React cannot check such a
365
+ // node when it sits in a list of siblings and warns about a missing key. So it is the ONLY child of its
366
+ // own wrapper, and the two siblings here are this component's own elements.
367
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
368
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
369
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-muted text-h6", children: topic })
370
+ ] })
371
+ ) : titleNode;
367
372
  if (error) return null;
368
373
  if (!isLoading && faqs.length === 0) return null;
369
374
  if (isLoading && faqs.length === 0) {
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkMGW5DO6Pcjs = require('./chunk-MGW5DO6P.cjs');
4
+ var _chunkKLI4OSRAcjs = require('./chunk-KLI4OSRA.cjs');
5
5
 
6
6
 
7
7
 
@@ -12,7 +12,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
12
12
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
13
13
 
14
14
 
15
- var _chunkAZL332TKcjs = require('./chunk-AZL332TK.cjs');
15
+ var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
16
16
 
17
17
  // src/components/empty-state.tsx
18
18
  var _lucidereact = require('lucide-react');
@@ -130,10 +130,10 @@ function EmptyState({
130
130
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex items-center justify-center content-md:mb-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-full border border-ods-border bg-ods-card p-3 content-md:p-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center text-ods-text-secondary content-md:h-16 content-md:w-16", children: defaultContent.icon }) }) }),
131
131
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "mb-2 text-ods-text-primary text-h3 content-md:mb-3", children: displayTitle }),
132
132
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-4 max-w-md text-ods-text-secondary text-h6 content-md:mb-8", children: displayDescription }),
133
- showCTA && ctaHref && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { href: ctaHref, variant: ctaButtonVariant, className: "w-full", children: ctaText || "Contact us" }) }),
134
- showCTA && !ctaHref && smartCTA && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { onClick: smartCTA.action, variant: ctaButtonVariant, className: "w-full", children: smartCTA.text }) }),
133
+ showCTA && ctaHref && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { href: ctaHref, variant: ctaButtonVariant, className: "w-full", children: ctaText || "Contact us" }) }),
134
+ showCTA && !ctaHref && smartCTA && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { onClick: smartCTA.action, variant: ctaButtonVariant, className: "w-full", children: smartCTA.text }) }),
135
135
  showBackButton && onGoBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
136
- _chunkAZL332TKcjs.Button,
136
+ _chunk2QMBXGMQcjs.Button,
137
137
  {
138
138
  onClick: onGoBack,
139
139
  variant: "outline",
@@ -179,11 +179,11 @@ function UnifiedPagination({
179
179
  }, 0);
180
180
  };
181
181
  if (totalPages <= 1) {
182
- return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGW5DO6Pcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
182
+ return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKLI4OSRAcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
183
183
  } }) }) }) : null;
184
184
  }
185
185
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
186
- _chunkMGW5DO6Pcjs.Pagination,
186
+ _chunkKLI4OSRAcjs.Pagination,
187
187
  {
188
188
  currentPage,
189
189
  totalPages,