@flamingo-stack/openframe-frontend-core 0.0.704 → 0.0.705-snapshot.20261006160157

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 (212) hide show
  1. package/dist/{chunk-7LFIKJX2.js → chunk-3EZ4HHAP.js} +3 -3
  2. package/dist/{chunk-I7DFUQMN.js → chunk-3NCM4ZQB.js} +17 -18
  3. package/dist/{chunk-4DQMTBMK.cjs → chunk-3PLDQDE6.cjs} +15 -15
  4. package/dist/{chunk-VTASHWER.js → chunk-4CJMQLB5.js} +4 -4
  5. package/dist/{chunk-VR2ZLFCP.js → chunk-4IBPRIQH.js} +1 -1
  6. package/dist/{chunk-ZQFZSFQI.js → chunk-4ILM7W2R.js} +2 -2
  7. package/dist/{chunk-FXENTYE5.js → chunk-6232S532.js} +3 -3
  8. package/dist/{chunk-MMOODW57.cjs → chunk-6NTPY5QA.cjs} +1887 -94
  9. package/dist/{chunk-2JDVL7UV.js → chunk-7GEBFJT2.js} +1829 -3447
  10. package/dist/{chunk-LDPEQGKT.cjs → chunk-7OFPU7WE.cjs} +942 -2560
  11. package/dist/{chunk-L3IC42IF.cjs → chunk-7SCNMP2B.cjs} +57 -58
  12. package/dist/{chunk-2G546OND.js → chunk-BHI6GVC4.js} +1094 -693
  13. package/dist/{chunk-MP2C3LJ4.js → chunk-CUME3VTQ.js} +1 -1
  14. package/dist/{chunk-WUJNYGO2.js → chunk-CZ7Y7UG4.js} +4 -76
  15. package/dist/{chunk-7JIL3WOH.cjs → chunk-DDVBX42E.cjs} +21 -21
  16. package/dist/{chunk-6WQIUQUC.js → chunk-DWPAAWMR.js} +6 -6
  17. package/dist/{chunk-MFFCUVWG.js → chunk-F57ECE2I.js} +1 -1
  18. package/dist/{chunk-CH5232HV.js → chunk-FI6GMDO7.js} +2455 -662
  19. package/dist/{chunk-NDESEPW5.js → chunk-FXJ3WWUB.js} +68 -0
  20. package/dist/{chunk-4KGXLVCF.js → chunk-G6UMNAVI.js} +57 -61
  21. package/dist/{chunk-LTSTC3N5.cjs → chunk-GWQEYPYM.cjs} +728 -732
  22. package/dist/{chunk-N3TO7JV3.cjs → chunk-HZ7CBXPL.cjs} +89 -89
  23. package/dist/{chunk-XATTBO5X.js → chunk-IKJA3Y7Z.js} +2 -2
  24. package/dist/{chunk-5HBHO5TB.js → chunk-JPG7OHEG.js} +1 -1
  25. package/dist/{chunk-AMYY3PNL.cjs → chunk-K6O43WDL.cjs} +46 -46
  26. package/dist/{chunk-IHU5ANUY.js → chunk-KUC673HM.js} +383 -142
  27. package/dist/{chunk-X72J4ACL.cjs → chunk-LLSUVPQC.cjs} +252 -8
  28. package/dist/{chunk-RKV5B7EU.cjs → chunk-LM7TXMLU.cjs} +72 -4
  29. package/dist/{chunk-XJKZ4IKT.cjs → chunk-LVSFKENJ.cjs} +4 -4
  30. package/dist/{chunk-IZGDG5X6.cjs → chunk-M75XEEGT.cjs} +940 -539
  31. package/dist/{chunk-UK62YTH6.cjs → chunk-MB4PNY7C.cjs} +6 -6
  32. package/dist/{chunk-2YXVWZVF.js → chunk-N45D4ZXQ.js} +959 -715
  33. package/dist/{chunk-Z2VNQQ74.js → chunk-NCPTID44.js} +978 -942
  34. package/dist/{chunk-JEYRXT5L.js → chunk-O2RSAA5M.js} +11 -11
  35. package/dist/{chunk-ABU3TGXA.cjs → chunk-OF6GEI5A.cjs} +3 -3
  36. package/dist/{chunk-OHFS7VOU.cjs → chunk-PLYEKV3N.cjs} +2 -2
  37. package/dist/{chunk-5QJDM6UV.js → chunk-PXOQIA5K.js} +5 -5
  38. package/dist/{chunk-VHCACDKP.cjs → chunk-RQRX4YC3.cjs} +39 -39
  39. package/dist/{chunk-HFJW24JJ.cjs → chunk-RTIPR53L.cjs} +104 -104
  40. package/dist/{chunk-262YQFOS.cjs → chunk-SEKYEWQG.cjs} +26 -26
  41. package/dist/{chunk-SYXQLETR.cjs → chunk-STHZBOQI.cjs} +17 -17
  42. package/dist/{chunk-MI3JUJ75.cjs → chunk-SW5ZV2BN.cjs} +34 -34
  43. package/dist/{chunk-QVSFBSWV.js → chunk-T5TMCHWM.js} +9 -9
  44. package/dist/{chunk-ERCV6HHJ.js → chunk-TE773HEH.js} +10 -10
  45. package/dist/{chunk-C7XGRLT5.cjs → chunk-TQ4LB2DS.cjs} +14 -14
  46. package/dist/{chunk-XOYH2YQE.cjs → chunk-UDFRUKLC.cjs} +2 -2
  47. package/dist/{chunk-XIFOBQRQ.cjs → chunk-UJ33ZXDT.cjs} +6 -6
  48. package/dist/{chunk-C3BWIU7R.cjs → chunk-UVTD52MD.cjs} +14 -86
  49. package/dist/{chunk-N3COXDBH.cjs → chunk-VX4E6YSB.cjs} +41 -5
  50. package/dist/{chunk-HJAYVKWQ.js → chunk-VZICIQW2.js} +15 -15
  51. package/dist/{chunk-MGGGBHYD.cjs → chunk-WCVZCGK5.cjs} +312 -71
  52. package/dist/{chunk-6XIF2Z7I.js → chunk-WMX26HB5.js} +3 -3
  53. package/dist/{chunk-D7BTSVMS.cjs → chunk-Y2GSOUCS.cjs} +2 -2
  54. package/dist/{chunk-NRLJUBCS.js → chunk-YGJKKDDM.js} +6 -6
  55. package/dist/components/case-studies/index.cjs +30 -32
  56. package/dist/components/case-studies/index.js +14 -16
  57. package/dist/components/chat/chat-input.d.ts.map +1 -1
  58. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  59. package/dist/components/chat/embeddable-chat.d.ts +8 -0
  60. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  61. package/dist/components/chat/entity-cards/case-study-card.d.ts +11 -4
  62. package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
  63. package/dist/components/chat/index.cjs +11 -11
  64. package/dist/components/chat/index.d.ts +1 -1
  65. package/dist/components/chat/index.d.ts.map +1 -1
  66. package/dist/components/chat/index.js +16 -16
  67. package/dist/components/chat/mingo-chat-rail.d.ts +3 -1
  68. package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
  69. package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
  70. package/dist/components/contact/index.cjs +12 -14
  71. package/dist/components/contact/index.js +11 -13
  72. package/dist/components/docs/index.cjs +15 -17
  73. package/dist/components/docs/index.js +14 -16
  74. package/dist/components/embeds/index.cjs +12 -14
  75. package/dist/components/embeds/index.js +11 -13
  76. package/dist/components/faq/index.cjs +13 -15
  77. package/dist/components/faq/index.js +12 -14
  78. package/dist/components/features/index.cjs +12 -14
  79. package/dist/components/features/index.js +21 -23
  80. package/dist/components/help-center-pages/index.cjs +118 -120
  81. package/dist/components/help-center-pages/index.js +33 -35
  82. package/dist/components/icons/index.cjs +3 -5
  83. package/dist/components/icons/index.js +9 -11
  84. package/dist/components/icons-v2-generated/index.cjs +3 -5
  85. package/dist/components/icons-v2-generated/index.js +2 -4
  86. package/dist/components/index.cjs +89 -158
  87. package/dist/components/index.d.ts +0 -2
  88. package/dist/components/index.d.ts.map +1 -1
  89. package/dist/components/index.js +333 -402
  90. package/dist/components/loading/page-layout-skeleton.d.ts +1 -1
  91. package/dist/components/meeting-scheduler/index.cjs +62 -64
  92. package/dist/components/meeting-scheduler/index.js +12 -14
  93. package/dist/components/navigation/app-layout-side-panel.d.ts +18 -1
  94. package/dist/components/navigation/app-layout-side-panel.d.ts.map +1 -1
  95. package/dist/components/navigation/index.cjs +30 -16
  96. package/dist/components/navigation/index.d.ts +15 -10
  97. package/dist/components/navigation/index.d.ts.map +1 -1
  98. package/dist/components/navigation/index.js +40 -26
  99. package/dist/components/navigation/mingo-ai-button.d.ts +38 -3
  100. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
  101. package/dist/components/navigation/mobile-nav-sheet-id.d.ts +3 -0
  102. package/dist/components/navigation/mobile-nav-sheet-id.d.ts.map +1 -0
  103. package/dist/components/navigation/mobile-nav-sheet.d.ts +48 -0
  104. package/dist/components/navigation/mobile-nav-sheet.d.ts.map +1 -0
  105. package/dist/components/navigation/nav-item-row.d.ts +27 -0
  106. package/dist/components/navigation/nav-item-row.d.ts.map +1 -0
  107. package/dist/components/navigation/nav-panel.d.ts +43 -0
  108. package/dist/components/navigation/nav-panel.d.ts.map +1 -0
  109. package/dist/components/navigation/navigation-sidebar-item.d.ts +1 -2
  110. package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
  111. package/dist/components/navigation/site-footer.d.ts +28 -0
  112. package/dist/components/navigation/site-footer.d.ts.map +1 -0
  113. package/dist/components/navigation/site-header.d.ts +61 -0
  114. package/dist/components/navigation/site-header.d.ts.map +1 -0
  115. package/dist/components/navigation/site-nav-link.d.ts +26 -0
  116. package/dist/components/navigation/site-nav-link.d.ts.map +1 -0
  117. package/dist/components/navigation/top-navigation.d.ts +2 -2
  118. package/dist/components/navigation/top-navigation.d.ts.map +1 -1
  119. package/dist/components/onboarding-guides/index.cjs +15 -17
  120. package/dist/components/onboarding-guides/index.js +14 -16
  121. package/dist/components/related-content/index.cjs +10 -8
  122. package/dist/components/related-content/index.js +9 -7
  123. package/dist/components/tickets/index.cjs +16 -18
  124. package/dist/components/tickets/index.js +15 -17
  125. package/dist/components/ui/index.cjs +14 -14
  126. package/dist/components/ui/index.js +19 -19
  127. package/dist/hooks/index.cjs +19 -11
  128. package/dist/hooks/index.d.ts +1 -0
  129. package/dist/hooks/index.d.ts.map +1 -1
  130. package/dist/hooks/index.js +19 -11
  131. package/dist/hooks/ui/index.d.ts +3 -0
  132. package/dist/hooks/ui/index.d.ts.map +1 -1
  133. package/dist/hooks/ui/use-active-section.d.ts +10 -0
  134. package/dist/hooks/ui/use-active-section.d.ts.map +1 -0
  135. package/dist/hooks/ui/use-nav-menus.d.ts +48 -0
  136. package/dist/hooks/ui/use-nav-menus.d.ts.map +1 -0
  137. package/dist/hooks/ui/use-visitor-os.d.ts +15 -0
  138. package/dist/hooks/ui/use-visitor-os.d.ts.map +1 -0
  139. package/dist/hooks/use-location-hash.d.ts +9 -0
  140. package/dist/hooks/use-location-hash.d.ts.map +1 -0
  141. package/dist/index.cjs +58 -21
  142. package/dist/index.js +233 -196
  143. package/dist/types/case-study.d.ts +9 -0
  144. package/dist/types/case-study.d.ts.map +1 -1
  145. package/dist/types/navigation.d.ts +95 -65
  146. package/dist/types/navigation.d.ts.map +1 -1
  147. package/dist/utils/index.cjs +55 -0
  148. package/dist/utils/index.d.ts +1 -0
  149. package/dist/utils/index.d.ts.map +1 -1
  150. package/dist/utils/index.js +50 -1
  151. package/dist/utils/source-icons.d.ts.map +1 -1
  152. package/dist/utils/visitor-os.d.ts +45 -0
  153. package/dist/utils/visitor-os.d.ts.map +1 -0
  154. package/package.json +1 -1
  155. package/src/components/chat/chat-input.tsx +5 -1
  156. package/src/components/chat/chat-message-enhanced.tsx +4 -3
  157. package/src/components/chat/embeddable-chat.tsx +64 -6
  158. package/src/components/chat/entity-cards/case-study-card.tsx +115 -5
  159. package/src/components/chat/index.ts +1 -0
  160. package/src/components/chat/mingo-chat-rail.tsx +24 -7
  161. package/src/components/chat/utils/icon-library.tsx +35 -1
  162. package/src/components/index.ts +0 -2
  163. package/src/components/loading/page-layout-skeleton.tsx +1 -1
  164. package/src/components/navigation/app-layout-side-panel.tsx +30 -2
  165. package/src/components/navigation/index.ts +22 -14
  166. package/src/components/navigation/mingo-ai-button.tsx +139 -63
  167. package/src/components/navigation/mobile-nav-sheet-id.ts +2 -0
  168. package/src/components/navigation/mobile-nav-sheet.tsx +241 -0
  169. package/src/components/navigation/nav-item-row.tsx +129 -0
  170. package/src/components/navigation/nav-panel.tsx +196 -0
  171. package/src/components/navigation/navigation-sidebar-item.tsx +1 -2
  172. package/src/components/navigation/site-footer.tsx +256 -0
  173. package/src/components/navigation/site-header.tsx +339 -0
  174. package/src/components/navigation/site-nav-link.tsx +41 -0
  175. package/src/components/navigation/ticket-alerts-button.tsx +2 -2
  176. package/src/components/navigation/top-navigation.tsx +2 -2
  177. package/src/components/platform/SoftwareSourceBadge.tsx +1 -1
  178. package/src/hooks/index.ts +1 -0
  179. package/src/hooks/ui/index.ts +3 -0
  180. package/src/hooks/ui/use-active-section.ts +44 -0
  181. package/src/hooks/ui/use-nav-menus.ts +200 -0
  182. package/src/hooks/ui/use-visitor-os.ts +33 -0
  183. package/src/hooks/use-location-hash.ts +34 -0
  184. package/src/styles/app-globals.css +13 -0
  185. package/src/styles/chat-animations.css +57 -2
  186. package/src/types/case-study.ts +16 -0
  187. package/src/types/navigation.ts +80 -66
  188. package/src/utils/index.ts +1 -0
  189. package/src/utils/source-icons.ts +13 -0
  190. package/src/utils/visitor-os.ts +84 -0
  191. package/dist/chunk-LMBC5FFP.js +0 -43
  192. package/dist/chunk-O43V3EOS.js +0 -252
  193. package/dist/chunk-QZVSJF2K.cjs +0 -252
  194. package/dist/chunk-RALRPFDW.cjs +0 -43
  195. package/dist/components/footer-waitlist-button.d.ts +0 -29
  196. package/dist/components/footer-waitlist-button.d.ts.map +0 -1
  197. package/dist/components/footer.d.ts +0 -47
  198. package/dist/components/footer.d.ts.map +0 -1
  199. package/dist/components/navigation/client-only-header.d.ts +0 -8
  200. package/dist/components/navigation/client-only-header.d.ts.map +0 -1
  201. package/dist/components/navigation/header-skeleton.d.ts +0 -12
  202. package/dist/components/navigation/header-skeleton.d.ts.map +0 -1
  203. package/dist/components/navigation/header.d.ts +0 -9
  204. package/dist/components/navigation/header.d.ts.map +0 -1
  205. package/dist/components/navigation/mobile-nav-panel.d.ts +0 -10
  206. package/dist/components/navigation/mobile-nav-panel.d.ts.map +0 -1
  207. package/src/components/footer-waitlist-button.tsx +0 -53
  208. package/src/components/footer.tsx +0 -195
  209. package/src/components/navigation/client-only-header.tsx +0 -22
  210. package/src/components/navigation/header-skeleton.tsx +0 -74
  211. package/src/components/navigation/header.tsx +0 -429
  212. package/src/components/navigation/mobile-nav-panel.tsx +0 -155
@@ -3,16 +3,16 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkC7XGRLT5cjs = require('./chunk-C7XGRLT5.cjs');
6
+ var _chunkTQ4LB2DScjs = require('./chunk-TQ4LB2DS.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkXJKZ4IKTcjs = require('./chunk-XJKZ4IKT.cjs');
11
+ var _chunkLVSFKENJcjs = require('./chunk-LVSFKENJ.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunk4DQMTBMKcjs = require('./chunk-4DQMTBMK.cjs');
15
+ var _chunk3PLDQDE6cjs = require('./chunk-3PLDQDE6.cjs');
16
16
 
17
17
 
18
18
 
@@ -22,17 +22,17 @@ var _chunk4DQMTBMKcjs = require('./chunk-4DQMTBMK.cjs');
22
22
 
23
23
 
24
24
 
25
- var _chunkLTSTC3N5cjs = require('./chunk-LTSTC3N5.cjs');
25
+ var _chunkGWQEYPYMcjs = require('./chunk-GWQEYPYM.cjs');
26
26
 
27
27
 
28
- var _chunkABU3TGXAcjs = require('./chunk-ABU3TGXA.cjs');
28
+ var _chunkOF6GEI5Acjs = require('./chunk-OF6GEI5A.cjs');
29
29
 
30
30
 
31
31
 
32
32
 
33
33
 
34
34
 
35
- var _chunkC3BWIU7Rcjs = require('./chunk-C3BWIU7R.cjs');
35
+ var _chunkUVTD52MDcjs = require('./chunk-UVTD52MD.cjs');
36
36
 
37
37
 
38
38
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -206,7 +206,7 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
206
206
  return _react.useCallback.call(void 0,
207
207
  async (href, currentPath) => {
208
208
  try {
209
- const response = await _chunkABU3TGXAcjs.contentFetch.call(void 0, resolvedResolveLinkEndpoint, {
209
+ const response = await _chunkOF6GEI5Acjs.contentFetch.call(void 0, resolvedResolveLinkEndpoint, {
210
210
  method: "POST",
211
211
  headers: { "Content-Type": "application/json" },
212
212
  body: JSON.stringify({ link: href, currentPath, source: sourceId })
@@ -232,9 +232,9 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
232
232
  function scrollToContent() {
233
233
  const article = document.querySelector("article");
234
234
  if (article) {
235
- _chunkC3BWIU7Rcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkC3BWIU7Rcjs.HUB_HEADER_OFFSET_PX });
235
+ _chunkUVTD52MDcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkUVTD52MDcjs.HUB_HEADER_OFFSET_PX });
236
236
  } else {
237
- _chunkC3BWIU7Rcjs.scrollElementIntoView.call(void 0, document.documentElement);
237
+ _chunkUVTD52MDcjs.scrollElementIntoView.call(void 0, document.documentElement);
238
238
  }
239
239
  }
240
240
  function findFirstDocPath(folder) {
@@ -333,8 +333,8 @@ function toDocContent(value, requestedPath) {
333
333
  }
334
334
  function useDocumentTree(config, initialPath) {
335
335
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
336
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkLTSTC3N5cjs.DEFAULT_FOLDER_INDEX_FILE));
337
- const cleanInitialPath = _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
336
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkGWQEYPYMcjs.DEFAULT_FOLDER_INDEX_FILE));
337
+ const cleanInitialPath = _chunkGWQEYPYMcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
338
338
  const [structure, setStructure] = _react.useState.call(void 0, []);
339
339
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
340
340
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -358,12 +358,12 @@ function useDocumentTree(config, initialPath) {
358
358
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
359
359
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
360
360
  }
361
- pathFromUrl = _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
361
+ pathFromUrl = _chunkGWQEYPYMcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
362
362
  if (pathFromUrl !== selectedPathRef.current) {
363
363
  setSelectedPath(pathFromUrl);
364
364
  if (pathFromUrl) {
365
365
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
366
- setExpandedNodes(new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
366
+ setExpandedNodes(new Set(_chunkGWQEYPYMcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
367
367
  }
368
368
  setTimeout(() => {
369
369
  scrollToContent();
@@ -381,7 +381,7 @@ function useDocumentTree(config, initialPath) {
381
381
  setSelectedPath(cleanInitialPath);
382
382
  if (cleanInitialPath) {
383
383
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
384
- setExpandedNodes(new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
384
+ setExpandedNodes(new Set(_chunkGWQEYPYMcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
385
385
  }
386
386
  setExternalNavCount((n) => n + 1);
387
387
  }
@@ -395,7 +395,7 @@ function useDocumentTree(config, initialPath) {
395
395
  try {
396
396
  setIsLoadingStructure(true);
397
397
  setError(null);
398
- const response = await _chunkABU3TGXAcjs.contentFetch.call(void 0, structureEndpoint);
398
+ const response = await _chunkOF6GEI5Acjs.contentFetch.call(void 0, structureEndpoint);
399
399
  if (!response.ok) {
400
400
  throw new Error("Failed to load documentation structure");
401
401
  }
@@ -406,7 +406,7 @@ function useDocumentTree(config, initialPath) {
406
406
  if (cleanInitialPath) {
407
407
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
408
408
  if (pathForExpansion) {
409
- setExpandedNodes(new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
409
+ setExpandedNodes(new Set(_chunkGWQEYPYMcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
410
410
  }
411
411
  } else if (nodes.length > 0) {
412
412
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -422,7 +422,7 @@ function useDocumentTree(config, initialPath) {
422
422
  }
423
423
  }
424
424
  } else {
425
- setError(_chunkC3BWIU7Rcjs.apiErrorMessage.call(void 0, payload, "Failed to load documentation structure"));
425
+ setError(_chunkUVTD52MDcjs.apiErrorMessage.call(void 0, payload, "Failed to load documentation structure"));
426
426
  }
427
427
  } catch (err) {
428
428
  console.error("Error fetching documentation structure:", err);
@@ -434,7 +434,7 @@ function useDocumentTree(config, initialPath) {
434
434
  const fetchContent = async (path) => {
435
435
  try {
436
436
  setIsLoadingContent(true);
437
- const response = await _chunkABU3TGXAcjs.contentFetch.call(void 0, `${contentEndpoint}?path=${encodeURIComponent(path)}`);
437
+ const response = await _chunkOF6GEI5Acjs.contentFetch.call(void 0, `${contentEndpoint}?path=${encodeURIComponent(path)}`);
438
438
  if (path !== lastFetchedPath.current) return;
439
439
  if (!response.ok) {
440
440
  if (response.status === 404) {
@@ -446,7 +446,7 @@ function useDocumentTree(config, initialPath) {
446
446
  setContent(null);
447
447
  return;
448
448
  }
449
- const probe = _chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
449
+ const probe = _chunkGWQEYPYMcjs.findDocNodeByPath.call(void 0, _chunkGWQEYPYMcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
450
450
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
451
451
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
452
452
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -455,7 +455,7 @@ function useDocumentTree(config, initialPath) {
455
455
  setContent(null);
456
456
  return;
457
457
  }
458
- setError(_chunkC3BWIU7Rcjs.apiErrorMessage.call(void 0, errorPayload, "Documentation file not found"));
458
+ setError(_chunkUVTD52MDcjs.apiErrorMessage.call(void 0, errorPayload, "Documentation file not found"));
459
459
  setContent(null);
460
460
  return;
461
461
  }
@@ -473,7 +473,7 @@ function useDocumentTree(config, initialPath) {
473
473
  }
474
474
  setContent(doc);
475
475
  } else {
476
- setError(_chunkC3BWIU7Rcjs.apiErrorMessage.call(void 0, payload, "Failed to load content"));
476
+ setError(_chunkUVTD52MDcjs.apiErrorMessage.call(void 0, payload, "Failed to load content"));
477
477
  setContent(null);
478
478
  }
479
479
  } catch (err) {
@@ -503,7 +503,7 @@ function useDocumentTree(config, initialPath) {
503
503
  if (selectedPath === "") {
504
504
  pathToFetch = folderIndexFile;
505
505
  } else {
506
- const node = _chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
506
+ const node = _chunkGWQEYPYMcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
507
507
  if (node && node.type === "folder" && !node.hasReadme) {
508
508
  const firstDocPath = findFirstDocPath(node);
509
509
  if (!firstDocPath) {
@@ -544,16 +544,16 @@ function useDocumentTree(config, initialPath) {
544
544
  if (node.type === "folder") {
545
545
  setExpandedNodes((prev) => {
546
546
  if (prev.has(node.id)) {
547
- const ancestorIds = _chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, node.path);
547
+ const ancestorIds = _chunkGWQEYPYMcjs.getDocAncestorNodeIds.call(void 0, node.path);
548
548
  ancestorIds.pop();
549
549
  return new Set(ancestorIds);
550
550
  }
551
- return new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, node.path));
551
+ return new Set(_chunkGWQEYPYMcjs.getDocAncestorNodeIds.call(void 0, node.path));
552
552
  });
553
553
  } else {
554
554
  const lastSlash = node.path.lastIndexOf("/");
555
555
  if (lastSlash > 0) {
556
- setExpandedNodes(new Set(_chunkLTSTC3N5cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
556
+ setExpandedNodes(new Set(_chunkGWQEYPYMcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
557
557
  }
558
558
  }
559
559
  lastFetchedPath.current = null;
@@ -568,9 +568,9 @@ function useDocumentTree(config, initialPath) {
568
568
  const hashIndex = path.indexOf("#");
569
569
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
570
570
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
571
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
571
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkGWQEYPYMcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
572
572
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
573
- _chunkC3BWIU7Rcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkC3BWIU7Rcjs.HUB_HEADER_OFFSET_PX });
573
+ _chunkUVTD52MDcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkUVTD52MDcjs.HUB_HEADER_OFFSET_PX });
574
574
  return;
575
575
  }
576
576
  const scrollAfterNav = () => {
@@ -578,7 +578,7 @@ function useDocumentTree(config, initialPath) {
578
578
  setTimeout(() => {
579
579
  const el = document.getElementById(anchor.substring(1));
580
580
  if (el) {
581
- _chunkC3BWIU7Rcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkC3BWIU7Rcjs.HUB_HEADER_OFFSET_PX });
581
+ _chunkUVTD52MDcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkUVTD52MDcjs.HUB_HEADER_OFFSET_PX });
582
582
  } else {
583
583
  scrollToContent();
584
584
  }
@@ -632,15 +632,15 @@ function useDocumentTree(config, initialPath) {
632
632
  return docNavigation.register({
633
633
  baseRoute: normalizedBaseRoute,
634
634
  findNodeByPath: (path) => {
635
- const clean = _chunkLTSTC3N5cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
636
- return _nullishCoalesce(_chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
635
+ const clean = _chunkGWQEYPYMcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
636
+ return _nullishCoalesce(_chunkGWQEYPYMcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
637
637
  },
638
638
  selectNode
639
639
  });
640
640
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
641
641
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
642
642
  if (!selectedPath || structure.length === 0) return false;
643
- const node = _chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
643
+ const node = _chunkGWQEYPYMcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
644
644
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
645
645
  }, [selectedPath, structure]);
646
646
  return {
@@ -671,7 +671,7 @@ function replaceHash(sectionId) {
671
671
  window.history.replaceState(window.history.state, "", `${pathname}${search}${next}`);
672
672
  }
673
673
  function resolveScroller(firstSection) {
674
- const container = firstSection ? _chunkC3BWIU7Rcjs.getScrollableAncestor.call(void 0, firstSection) : null;
674
+ const container = firstSection ? _chunkUVTD52MDcjs.getScrollableAncestor.call(void 0, firstSection) : null;
675
675
  if (container) {
676
676
  return {
677
677
  target: container,
@@ -701,7 +701,7 @@ function useScrollSpy(sections, options = {}) {
701
701
  isScrollingFromClick.current = true;
702
702
  setActiveSection(sectionId);
703
703
  if (syncHash) replaceHash(sectionId);
704
- _chunkC3BWIU7Rcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
704
+ _chunkUVTD52MDcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
705
705
  setTimeout(() => {
706
706
  isScrollingFromClick.current = false;
707
707
  }, 800);
@@ -823,7 +823,7 @@ function DocViewerContent({
823
823
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _16 => _16.label]), () => ( "Back to home")),
824
824
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _17 => _17.href]), () => ( "/")))
825
825
  };
826
- const docSearch = _chunk4DQMTBMKcjs.useDocSearch.call(void 0, {
826
+ const docSearch = _chunk3PLDQDE6cjs.useDocSearch.call(void 0, {
827
827
  source: chatSource,
828
828
  baseRoute,
829
829
  searchEndpoint,
@@ -847,7 +847,7 @@ function DocViewerContent({
847
847
  onResolveLink: resolveLink
848
848
  });
849
849
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
850
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkLTSTC3N5cjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
850
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkGWQEYPYMcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _18 => _18.documentType]) : void 0;
851
851
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _19 => _19.documentType]), () => ( selectedNodeDocType));
852
852
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
853
853
  const showStickyNav = isMarkdownContent;
@@ -858,9 +858,9 @@ function DocViewerContent({
858
858
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
859
859
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
860
860
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
861
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.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: [
861
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGWQEYPYMcjs.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: [
862
862
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
863
- _chunk4DQMTBMKcjs.DocSearchBar,
863
+ _chunk3PLDQDE6cjs.DocSearchBar,
864
864
  {
865
865
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _23 => _23.toLowerCase, 'call', _24 => _24()]) || "documents"}...`,
866
866
  query: docSearch.query,
@@ -879,9 +879,9 @@ function DocViewerContent({
879
879
  ] })
880
880
  ] }) }),
881
881
  !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: [
882
- /* @__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, _chunkLTSTC3N5cjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
882
+ /* @__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, _chunkGWQEYPYMcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
883
883
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
884
- _chunkXJKZ4IKTcjs.MobileNavigationDropdown,
884
+ _chunkLVSFKENJcjs.MobileNavigationDropdown,
885
885
  {
886
886
  nodes: structure,
887
887
  selectedPath,
@@ -895,7 +895,7 @@ function DocViewerContent({
895
895
  /* @__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: [
896
896
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
897
897
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
898
- _chunkXJKZ4IKTcjs.MultiLevelNavigation,
898
+ _chunkLVSFKENJcjs.MultiLevelNavigation,
899
899
  {
900
900
  nodes: structure,
901
901
  selectedPath,
@@ -934,7 +934,7 @@ function DocViewerContent({
934
934
  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: [
935
935
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
936
936
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
937
- _chunkXJKZ4IKTcjs.StickySectionNav,
937
+ _chunkLVSFKENJcjs.StickySectionNav,
938
938
  {
939
939
  sections: stickyNavSections,
940
940
  activeSection,
@@ -949,7 +949,7 @@ function DocViewerContent({
949
949
  ) })
950
950
  ] })
951
951
  ] }) }) });
952
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
952
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGWQEYPYMcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
953
953
  }
954
954
 
955
955
  // src/components/docs/skeletons.tsx
@@ -1045,11 +1045,11 @@ function EmbedSkeleton({ documentType } = {}) {
1045
1045
 
1046
1046
  var DEFAULT_TITLE = "Documents";
1047
1047
  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" }) });
1048
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7XGRLT5cjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1049
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7XGRLT5cjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1050
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLTSTC3N5cjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
1048
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ4LB2DScjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1049
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ4LB2DScjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
1050
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGWQEYPYMcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
1051
1051
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1052
- _chunkC7XGRLT5cjs.FileDownloadCard,
1052
+ _chunkTQ4LB2DScjs.FileDownloadCard,
1053
1053
  {
1054
1054
  fileName: content.fileName,
1055
1055
  mimeType: content.mimeType,