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

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 (49) hide show
  1. package/dist/{chunk-YLVTECAD.cjs → chunk-3LNKXYMI.cjs} +4 -4
  2. package/dist/{chunk-U2UVB4IF.cjs → chunk-4VRXTQVZ.cjs} +2 -2
  3. package/dist/{chunk-N2US7DLB.cjs → chunk-4ZMCKCXN.cjs} +36 -36
  4. package/dist/{chunk-2AEGJHW2.cjs → chunk-BDCEMTWU.cjs} +57 -57
  5. package/dist/{chunk-RUMRBL5X.cjs → chunk-D2HMQUK5.cjs} +13 -13
  6. package/dist/{chunk-RPADJ2E6.cjs → chunk-EC7VXTJ3.cjs} +3 -3
  7. package/dist/{chunk-WSRMYHIV.cjs → chunk-EMKGOU54.cjs} +2 -2
  8. package/dist/{chunk-5THYJU3G.cjs → chunk-EYVYPX5N.cjs} +95 -95
  9. package/dist/{chunk-L2RNZOCI.cjs → chunk-GL5KJ4PK.cjs} +11 -11
  10. package/dist/{chunk-JEIAB7JQ.cjs → chunk-ITO3JRVB.cjs} +2 -2
  11. package/dist/{chunk-SEPHTWFL.cjs → chunk-NC4QUV73.cjs} +5 -5
  12. package/dist/{chunk-ECHJO4NI.cjs → chunk-PIV4FVTR.cjs} +10 -10
  13. package/dist/{chunk-3C4U4UW6.cjs → chunk-PSLL4FAS.cjs} +2 -2
  14. package/dist/{chunk-IQFXJSAH.cjs → chunk-QCXE7BSY.cjs} +26 -26
  15. package/dist/{chunk-NTGIQP7O.cjs → chunk-QU5K52OP.cjs} +8 -2
  16. package/dist/{chunk-YBOA5GZV.cjs → chunk-SULCTARW.cjs} +3 -3
  17. package/dist/{chunk-GU3M4YF3.cjs → chunk-UT4W73YG.cjs} +39 -39
  18. package/dist/{cloud-tenants-WJCL4P3Y.cjs → cloud-tenants-2NMXXIA6.cjs} +4 -4
  19. package/dist/components/case-studies/index.cjs +12 -12
  20. package/dist/components/chat/chat-sidebar.js +1 -1
  21. package/dist/components/chat/index.cjs +2 -2
  22. package/dist/components/contact/index.cjs +5 -5
  23. package/dist/components/docs/index.cjs +8 -8
  24. package/dist/components/embeds/index.cjs +5 -5
  25. package/dist/components/faq/index.cjs +6 -6
  26. package/dist/components/features/index.cjs +4 -4
  27. package/dist/components/help-center-pages/index.cjs +54 -54
  28. package/dist/components/index.cjs +33 -33
  29. package/dist/components/meeting-scheduler/index.cjs +20 -20
  30. package/dist/components/navigation/index.cjs +7 -7
  31. package/dist/components/navigation/navigation-sidebar-item.js +1 -1
  32. package/dist/components/onboarding-guides/index.cjs +6 -6
  33. package/dist/components/product-demo/index.cjs +7 -7
  34. package/dist/components/tickets/index.cjs +9 -9
  35. package/dist/components/ui/drawer.d.ts.map +1 -1
  36. package/dist/components/ui/drawer.js +5 -2
  37. package/dist/components/ui/index.cjs +4 -4
  38. package/dist/{devices-PCMSALOA.cjs → devices-5XZVTD7G.cjs} +5 -5
  39. package/dist/{embeddable-chat-CHHWPGAY.cjs → embeddable-chat-LTXUQWEK.cjs} +4 -4
  40. package/dist/index.cjs +8 -8
  41. package/dist/{knowledge-FVCXNAMW.cjs → knowledge-7QSJQB4P.cjs} +4 -4
  42. package/dist/{logs-IINFWMUF.cjs → logs-URLNW334.cjs} +12 -12
  43. package/dist/{policies-P3ZT774G.cjs → policies-NNW6PMAN.cjs} +8 -8
  44. package/dist/{scripts-KO4V2XO5.cjs → scripts-WPYKAZYF.cjs} +9 -9
  45. package/dist/{software-update-PSJUU363.cjs → software-update-KB6BIWUT.cjs} +7 -7
  46. package/package.json +1 -1
  47. package/src/components/chat/chat-sidebar.tsx +1 -1
  48. package/src/components/navigation/navigation-sidebar-item.tsx +1 -1
  49. package/src/components/ui/drawer.tsx +12 -1
@@ -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 _chunkRPADJ2E6cjs = require('./chunk-RPADJ2E6.cjs');
4
+ var _chunkEC7VXTJ3cjs = require('./chunk-EC7VXTJ3.cjs');
5
5
 
6
6
 
7
- var _chunk5THYJU3Gcjs = require('./chunk-5THYJU3G.cjs');
7
+ var _chunkEYVYPX5Ncjs = require('./chunk-EYVYPX5N.cjs');
8
8
 
9
9
 
10
10
  var _chunkAXBVN5SWcjs = require('./chunk-AXBVN5SW.cjs');
@@ -35,7 +35,7 @@ function FaqDocumentPage({
35
35
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
36
36
  };
37
37
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38
- _chunkRPADJ2E6cjs.FaqSection,
38
+ _chunkEC7VXTJ3cjs.FaqSection,
39
39
  {
40
40
  initialFaqs,
41
41
  heading: null,
@@ -49,7 +49,7 @@ function FaqDocumentPage({
49
49
  ask
50
50
  }
51
51
  ) });
52
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5THYJU3Gcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
52
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
53
53
  }
54
54
 
55
55
 
@@ -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 _chunk5THYJU3Gcjs = require('./chunk-5THYJU3G.cjs');
4
+ var _chunkEYVYPX5Ncjs = require('./chunk-EYVYPX5N.cjs');
5
5
 
6
6
 
7
7
 
@@ -70,7 +70,7 @@ function DocSearchBar({
70
70
  renderResult
71
71
  }) {
72
72
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
73
- _chunk5THYJU3Gcjs.SearchInput,
73
+ _chunkEYVYPX5Ncjs.SearchInput,
74
74
  {
75
75
  placeholder,
76
76
  value: query,
@@ -3,17 +3,17 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkYBOA5GZVcjs = require('./chunk-YBOA5GZV.cjs');
6
+ var _chunkSULCTARWcjs = require('./chunk-SULCTARW.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkJEIAB7JQcjs = require('./chunk-JEIAB7JQ.cjs');
12
+ var _chunkITO3JRVBcjs = require('./chunk-ITO3JRVB.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkU2UVB4IFcjs = require('./chunk-U2UVB4IF.cjs');
16
+ var _chunk4VRXTQVZcjs = require('./chunk-4VRXTQVZ.cjs');
17
17
 
18
18
 
19
19
 
@@ -21,7 +21,7 @@ var _chunkU2UVB4IFcjs = require('./chunk-U2UVB4IF.cjs');
21
21
 
22
22
 
23
23
 
24
- var _chunk5THYJU3Gcjs = require('./chunk-5THYJU3G.cjs');
24
+ var _chunkEYVYPX5Ncjs = require('./chunk-EYVYPX5N.cjs');
25
25
 
26
26
 
27
27
  var _chunkAXBVN5SWcjs = require('./chunk-AXBVN5SW.cjs');
@@ -30,7 +30,7 @@ var _chunkAXBVN5SWcjs = require('./chunk-AXBVN5SW.cjs');
30
30
 
31
31
 
32
32
 
33
- var _chunk3C4U4UW6cjs = require('./chunk-3C4U4UW6.cjs');
33
+ var _chunkPSLL4FAScjs = require('./chunk-PSLL4FAS.cjs');
34
34
 
35
35
 
36
36
 
@@ -348,13 +348,13 @@ function toDocContent(value, requestedPath) {
348
348
  function toDataSync(value) {
349
349
  if (!isRecord(value)) return void 0;
350
350
  const source = readString(value, "source");
351
- if (!_chunk5THYJU3Gcjs.isDataSyncSource.call(void 0, source)) return void 0;
351
+ if (!_chunkEYVYPX5Ncjs.isDataSyncSource.call(void 0, source)) return void 0;
352
352
  return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
353
353
  }
354
354
  function useDocumentTree(config, initialPath) {
355
355
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
356
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunk3C4U4UW6cjs.DEFAULT_FOLDER_INDEX_FILE));
357
- const cleanInitialPath = _chunk3C4U4UW6cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
356
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkPSLL4FAScjs.DEFAULT_FOLDER_INDEX_FILE));
357
+ const cleanInitialPath = _chunkPSLL4FAScjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
358
358
  const [structure, setStructure] = _react.useState.call(void 0, []);
359
359
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
360
360
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -378,12 +378,12 @@ function useDocumentTree(config, initialPath) {
378
378
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
379
379
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
380
380
  }
381
- pathFromUrl = _chunk3C4U4UW6cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
381
+ pathFromUrl = _chunkPSLL4FAScjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
382
382
  if (pathFromUrl !== selectedPathRef.current) {
383
383
  setSelectedPath(pathFromUrl);
384
384
  if (pathFromUrl) {
385
385
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
386
- setExpandedNodes(new Set(_chunk3C4U4UW6cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
386
+ setExpandedNodes(new Set(_chunkPSLL4FAScjs.getDocAncestorNodeIds.call(void 0, parentPath)));
387
387
  }
388
388
  setTimeout(() => {
389
389
  scrollToContent();
@@ -401,7 +401,7 @@ function useDocumentTree(config, initialPath) {
401
401
  setSelectedPath(cleanInitialPath);
402
402
  if (cleanInitialPath) {
403
403
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
404
- setExpandedNodes(new Set(_chunk3C4U4UW6cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
404
+ setExpandedNodes(new Set(_chunkPSLL4FAScjs.getDocAncestorNodeIds.call(void 0, parentPath)));
405
405
  }
406
406
  setExternalNavCount((n) => n + 1);
407
407
  }
@@ -426,7 +426,7 @@ function useDocumentTree(config, initialPath) {
426
426
  if (cleanInitialPath) {
427
427
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
428
428
  if (pathForExpansion) {
429
- setExpandedNodes(new Set(_chunk3C4U4UW6cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
429
+ setExpandedNodes(new Set(_chunkPSLL4FAScjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
430
430
  }
431
431
  } else if (nodes.length > 0) {
432
432
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -466,7 +466,7 @@ function useDocumentTree(config, initialPath) {
466
466
  setContent(null);
467
467
  return;
468
468
  }
469
- const probe = _chunk3C4U4UW6cjs.findDocNodeByPath.call(void 0, _chunk3C4U4UW6cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
469
+ const probe = _chunkPSLL4FAScjs.findDocNodeByPath.call(void 0, _chunkPSLL4FAScjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
470
470
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
471
471
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
472
472
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -523,7 +523,7 @@ function useDocumentTree(config, initialPath) {
523
523
  if (selectedPath === "") {
524
524
  pathToFetch = folderIndexFile;
525
525
  } else {
526
- const node = _chunk3C4U4UW6cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
526
+ const node = _chunkPSLL4FAScjs.findDocNodeByPath.call(void 0, selectedPath, structure);
527
527
  if (node && node.type === "folder" && !node.hasReadme) {
528
528
  const firstDocPath = findFirstDocPath(node);
529
529
  if (!firstDocPath) {
@@ -564,16 +564,16 @@ function useDocumentTree(config, initialPath) {
564
564
  if (node.type === "folder") {
565
565
  setExpandedNodes((prev) => {
566
566
  if (prev.has(node.id)) {
567
- const ancestorIds = _chunk3C4U4UW6cjs.getDocAncestorNodeIds.call(void 0, node.path);
567
+ const ancestorIds = _chunkPSLL4FAScjs.getDocAncestorNodeIds.call(void 0, node.path);
568
568
  ancestorIds.pop();
569
569
  return new Set(ancestorIds);
570
570
  }
571
- return new Set(_chunk3C4U4UW6cjs.getDocAncestorNodeIds.call(void 0, node.path));
571
+ return new Set(_chunkPSLL4FAScjs.getDocAncestorNodeIds.call(void 0, node.path));
572
572
  });
573
573
  } else {
574
574
  const lastSlash = node.path.lastIndexOf("/");
575
575
  if (lastSlash > 0) {
576
- setExpandedNodes(new Set(_chunk3C4U4UW6cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
576
+ setExpandedNodes(new Set(_chunkPSLL4FAScjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
577
577
  }
578
578
  }
579
579
  lastFetchedPath.current = null;
@@ -588,7 +588,7 @@ function useDocumentTree(config, initialPath) {
588
588
  const hashIndex = path.indexOf("#");
589
589
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
590
590
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
591
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunk3C4U4UW6cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
591
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkPSLL4FAScjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
592
592
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
593
593
  _chunkCSJO7ZGNcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkCSJO7ZGNcjs.HUB_HEADER_OFFSET_PX });
594
594
  return;
@@ -652,15 +652,15 @@ function useDocumentTree(config, initialPath) {
652
652
  return docNavigation.register({
653
653
  baseRoute: normalizedBaseRoute,
654
654
  findNodeByPath: (path) => {
655
- const clean = _chunk3C4U4UW6cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
656
- return _nullishCoalesce(_chunk3C4U4UW6cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
655
+ const clean = _chunkPSLL4FAScjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
656
+ return _nullishCoalesce(_chunkPSLL4FAScjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
657
657
  },
658
658
  selectNode
659
659
  });
660
660
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
661
661
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
662
662
  if (!selectedPath || structure.length === 0) return false;
663
- const node = _chunk3C4U4UW6cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
663
+ const node = _chunkPSLL4FAScjs.findDocNodeByPath.call(void 0, selectedPath, structure);
664
664
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
665
665
  }, [selectedPath, structure]);
666
666
  return {
@@ -741,14 +741,14 @@ function DocViewerContent({
741
741
  },
742
742
  docPath
743
743
  );
744
- const { activeSection, handleSectionClick } = _chunkJEIAB7JQcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
744
+ const { activeSection, handleSectionClick } = _chunkITO3JRVBcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
745
745
  const docNav = useDocNavigation();
746
746
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
747
747
  const backCfg = backButton === false ? null : {
748
748
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
749
749
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
750
750
  };
751
- const docSearch = _chunkU2UVB4IFcjs.useDocSearch.call(void 0, {
751
+ const docSearch = _chunk4VRXTQVZcjs.useDocSearch.call(void 0, {
752
752
  source: chatSource,
753
753
  baseRoute,
754
754
  searchEndpoint,
@@ -772,7 +772,7 @@ function DocViewerContent({
772
772
  onResolveLink: resolveLink
773
773
  });
774
774
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
775
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunk3C4U4UW6cjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
775
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkPSLL4FAScjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
776
776
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
777
777
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
778
778
  const showStickyNav = isMarkdownContent;
@@ -784,9 +784,9 @@ function DocViewerContent({
784
784
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
785
785
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
786
786
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.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: [
787
- synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5THYJU3Gcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: isLoadingContent && !content }),
787
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: isLoadingContent && !content }),
788
788
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
789
- _chunkU2UVB4IFcjs.DocSearchBar,
789
+ _chunk4VRXTQVZcjs.DocSearchBar,
790
790
  {
791
791
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
792
792
  query: docSearch.query,
@@ -805,9 +805,9 @@ function DocViewerContent({
805
805
  ] })
806
806
  ] }) }),
807
807
  !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: [
808
- /* @__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, _chunk5THYJU3Gcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
808
+ /* @__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, _chunkEYVYPX5Ncjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
809
809
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
810
- _chunkJEIAB7JQcjs.MobileNavigationDropdown,
810
+ _chunkITO3JRVBcjs.MobileNavigationDropdown,
811
811
  {
812
812
  nodes: structure,
813
813
  selectedPath,
@@ -821,7 +821,7 @@ function DocViewerContent({
821
821
  /* @__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: [
822
822
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
823
823
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
824
- _chunkJEIAB7JQcjs.MultiLevelNavigation,
824
+ _chunkITO3JRVBcjs.MultiLevelNavigation,
825
825
  {
826
826
  nodes: structure,
827
827
  selectedPath,
@@ -860,7 +860,7 @@ function DocViewerContent({
860
860
  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: [
861
861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
862
862
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
863
- _chunkJEIAB7JQcjs.StickySectionNav,
863
+ _chunkITO3JRVBcjs.StickySectionNav,
864
864
  {
865
865
  sections: stickyNavSections,
866
866
  activeSection,
@@ -875,7 +875,7 @@ function DocViewerContent({
875
875
  ) })
876
876
  ] })
877
877
  ] }) }) });
878
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5THYJU3Gcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
878
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
879
879
  }
880
880
 
881
881
  // src/components/docs/skeletons.tsx
@@ -961,7 +961,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
961
961
  ] }),
962
962
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
963
963
  ] }),
964
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5THYJU3Gcjs.EmbedLoadingSkeleton, { region: false })
964
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.EmbedLoadingSkeleton, { region: false })
965
965
  ] });
966
966
  }
967
967
 
@@ -969,11 +969,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
969
969
 
970
970
  var DEFAULT_TITLE = "Documents";
971
971
  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" }) });
972
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBOA5GZVcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
973
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBOA5GZVcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
974
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5THYJU3Gcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
972
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSULCTARWcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
973
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSULCTARWcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
974
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEYVYPX5Ncjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
975
975
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
976
- _chunkYBOA5GZVcjs.FileDownloadCard,
976
+ _chunkSULCTARWcjs.FileDownloadCard,
977
977
  {
978
978
  fileName: content.fileName,
979
979
  mimeType: content.mimeType,