@flamingo-stack/openframe-frontend-core 0.0.823 → 0.0.825

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 (119) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/chat-protocol/events.d.ts +0 -3
  3. package/dist/chat-protocol/events.d.ts.map +1 -1
  4. package/dist/chat-protocol/frames.d.ts +10 -7
  5. package/dist/chat-protocol/frames.d.ts.map +1 -1
  6. package/dist/chat-protocol/index.cjs +238 -234
  7. package/dist/chat-protocol/leading-frames.d.ts.map +1 -1
  8. package/dist/chat-protocol/leading-frames.js +6 -3
  9. package/dist/chat-protocol/progress.d.ts +13 -20
  10. package/dist/chat-protocol/progress.d.ts.map +1 -1
  11. package/dist/chat-protocol/progress.js +13 -11
  12. package/dist/{chunk-QCRJVO6Y.cjs → chunk-2IWAHBCC.cjs} +1 -1
  13. package/dist/{chunk-2LT2WR4O.cjs → chunk-2U7GXE3T.cjs} +2789 -2819
  14. package/dist/{chunk-DEWT25QK.cjs → chunk-47SHKOCY.cjs} +65 -72
  15. package/dist/{chunk-UUFL4FDS.cjs → chunk-4IY5FKYL.cjs} +14 -14
  16. package/dist/{chunk-TJFVIJPV.cjs → chunk-5S2GW6YG.cjs} +2 -2
  17. package/dist/{chunk-AK7MYM25.cjs → chunk-6LVJKPR3.cjs} +3 -3
  18. package/dist/{chunk-HWXFUI3R.cjs → chunk-7DJWIVQC.cjs} +30 -30
  19. package/dist/{chunk-K7NGDYBG.cjs → chunk-AO6YVNAH.cjs} +136 -136
  20. package/dist/{chunk-Y7BTM2NC.cjs → chunk-APTFXX2C.cjs} +39 -39
  21. package/dist/{chunk-L7YE6APP.cjs → chunk-AUBR3FGY.cjs} +11 -11
  22. package/dist/{chunk-XEIZL3I3.cjs → chunk-B7NSH7IK.cjs} +6 -6
  23. package/dist/{chunk-3JCDSZ6D.cjs → chunk-BN7QENV7.cjs} +4 -4
  24. package/dist/{chunk-U7CH53FT.cjs → chunk-DNZCSPMU.cjs} +13 -13
  25. package/dist/{chunk-KWS7YKCO.cjs → chunk-IMMTH3F3.cjs} +13 -13
  26. package/dist/{chunk-GP2Y3DBE.cjs → chunk-MALCUN2G.cjs} +6 -6
  27. package/dist/{chunk-Y3MPERIZ.cjs → chunk-MHR4C465.cjs} +3 -3
  28. package/dist/{chunk-YMDSCI4E.cjs → chunk-N7IDLF2G.cjs} +32 -32
  29. package/dist/{chunk-2U6MAM6D.cjs → chunk-NL34HKLS.cjs} +63 -63
  30. package/dist/{chunk-SBXL5EKE.cjs → chunk-P25RVNGX.cjs} +23 -23
  31. package/dist/{chunk-GBILLSRM.cjs → chunk-QOOMUGF2.cjs} +4 -4
  32. package/dist/{chunk-DYSMAPSI.cjs → chunk-XJMLZ63Y.cjs} +4 -4
  33. package/dist/{chunk-2YUWBIZM.cjs → chunk-Z7BLMJEI.cjs} +46 -46
  34. package/dist/{cloud-tenants-VQQ2KNJI.cjs → cloud-tenants-M4VFFN33.cjs} +6 -6
  35. package/dist/components/case-studies/index.cjs +20 -20
  36. package/dist/components/chat/embeddable-chat.d.ts +0 -2
  37. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  38. package/dist/components/chat/embeddable-chat.js +1 -5
  39. package/dist/components/chat/entity-cards/blog-card.js +1 -1
  40. package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
  41. package/dist/components/chat/hooks/use-sse-chat-adapter.js +0 -2
  42. package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
  43. package/dist/components/chat/hooks/use-unified-chat.js +0 -1
  44. package/dist/components/chat/index.cjs +5 -5
  45. package/dist/components/chat/mingo-welcome.js +1 -1
  46. package/dist/components/chat/stream/chat-dialog-store.d.ts.map +1 -1
  47. package/dist/components/chat/stream/chat-dialog-store.js +0 -1
  48. package/dist/components/chat/stream/chat-stream-reducer.d.ts +0 -4
  49. package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
  50. package/dist/components/chat/stream/chat-stream-reducer.js +6 -13
  51. package/dist/components/chat/types/unified-chat-state.types.d.ts +0 -5
  52. package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
  53. package/dist/components/contact/index.cjs +7 -7
  54. package/dist/components/docs/index.cjs +10 -10
  55. package/dist/components/embeds/index.cjs +7 -7
  56. package/dist/components/faq/index.cjs +8 -8
  57. package/dist/components/features/filters-dropdown.js +2 -2
  58. package/dist/components/features/index.cjs +6 -6
  59. package/dist/components/features/notifications/approval-request-notification-tile.js +1 -1
  60. package/dist/components/help-center-pages/index.cjs +80 -80
  61. package/dist/components/index.cjs +48 -48
  62. package/dist/components/loading/index.d.ts.map +1 -1
  63. package/dist/components/meeting-scheduler/index.cjs +31 -31
  64. package/dist/components/navigation/index.cjs +9 -9
  65. package/dist/components/onboarding-guides/index.cjs +9 -9
  66. package/dist/components/product-demo/index.cjs +15 -15
  67. package/dist/components/related-content/index.cjs +4 -4
  68. package/dist/components/shared/article-author-byline.js +4 -4
  69. package/dist/components/tickets/index.cjs +11 -11
  70. package/dist/components/tickets/ticket-row.js +10 -17
  71. package/dist/components/ui/date-picker.js +1 -1
  72. package/dist/components/ui/index.cjs +6 -6
  73. package/dist/components/ui/markdown/base-components.js +1 -1
  74. package/dist/components/ui/markdown/engine.js +2 -2
  75. package/dist/components/ui/navigation-menu.js +1 -1
  76. package/dist/components/ui/radio-group.d.ts.map +1 -1
  77. package/dist/components/ui/radio-group.js +1 -1
  78. package/dist/components/ui/sticky-action-bar.js +1 -1
  79. package/dist/{devices-KKJHYQ72.cjs → devices-DW5NDXMD.cjs} +7 -7
  80. package/dist/{embeddable-chat-MQGYFYGX.cjs → embeddable-chat-NBJMXEXB.cjs} +67 -71
  81. package/dist/index.cjs +10 -10
  82. package/dist/{knowledge-VMLXNFDI.cjs → knowledge-EYJG2TNW.cjs} +7 -7
  83. package/dist/loading-standard/engine.d.mts.map +1 -1
  84. package/dist/{logs-EFXRQ6LV.cjs → logs-2LV7DTSL.cjs} +14 -14
  85. package/dist/{policies-SU3NQPFV.cjs → policies-HSDYIQBX.cjs} +10 -10
  86. package/dist/{scripts-WLLAUOAA.cjs → scripts-UI6V7ANQ.cjs} +11 -11
  87. package/dist/{software-update-WKUDBC3U.cjs → software-update-WMLY7VHH.cjs} +9 -9
  88. package/eslint-config/README.md +21 -0
  89. package/eslint-config/base.js +12 -0
  90. package/eslint-config/dead-classes.js +256 -0
  91. package/package.json +2 -1
  92. package/src/chat-protocol/events.ts +0 -3
  93. package/src/chat-protocol/frames.ts +12 -8
  94. package/src/chat-protocol/leading-frames.ts +7 -4
  95. package/src/chat-protocol/progress.ts +31 -28
  96. package/src/components/chat/embeddable-chat.tsx +2 -12
  97. package/src/components/chat/entity-cards/blog-card.tsx +1 -1
  98. package/src/components/chat/hooks/use-sse-chat-adapter.ts +0 -2
  99. package/src/components/chat/hooks/use-unified-chat.ts +0 -1
  100. package/src/components/chat/mingo-welcome.tsx +1 -1
  101. package/src/components/chat/stream/chat-dialog-store.ts +0 -1
  102. package/src/components/chat/stream/chat-stream-reducer.ts +6 -17
  103. package/src/components/chat/types/unified-chat-state.types.ts +0 -6
  104. package/src/components/features/filters-dropdown.tsx +2 -2
  105. package/src/components/features/notifications/approval-request-notification-tile.tsx +1 -1
  106. package/src/components/loading/index.ts +0 -5
  107. package/src/components/shared/article-author-byline.tsx +4 -4
  108. package/src/components/tickets/ticket-row.tsx +1 -4
  109. package/src/components/ui/date-picker.tsx +1 -1
  110. package/src/components/ui/markdown/base-components.tsx +1 -1
  111. package/src/components/ui/markdown/engine.tsx +4 -4
  112. package/src/components/ui/navigation-menu.tsx +1 -1
  113. package/src/components/ui/radio-group.tsx +1 -2
  114. package/src/components/ui/sticky-action-bar.tsx +1 -1
  115. package/src/loading-standard/engine.mjs +1 -2
  116. package/dist/components/loading/openmsp-heartbeat.d.ts +0 -7
  117. package/dist/components/loading/openmsp-heartbeat.d.ts.map +0 -1
  118. package/dist/components/loading/openmsp-heartbeat.js +0 -68
  119. package/src/components/loading/openmsp-heartbeat.tsx +0 -69
@@ -3,24 +3,24 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkAK7MYM25cjs = require('./chunk-AK7MYM25.cjs');
6
+ var _chunk6LVJKPR3cjs = require('./chunk-6LVJKPR3.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkTJFVIJPVcjs = require('./chunk-TJFVIJPV.cjs');
12
+ var _chunk5S2GW6YGcjs = require('./chunk-5S2GW6YG.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkGP2Y3DBEcjs = require('./chunk-GP2Y3DBE.cjs');
16
+ var _chunkMALCUN2Gcjs = require('./chunk-MALCUN2G.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkK7NGDYBGcjs = require('./chunk-K7NGDYBG.cjs');
23
+ var _chunkAO6YVNAHcjs = require('./chunk-AO6YVNAH.cjs');
24
24
 
25
25
 
26
26
  var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
@@ -32,13 +32,13 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
32
32
 
33
33
 
34
34
 
35
- var _chunkSBXL5EKEcjs = require('./chunk-SBXL5EKE.cjs');
35
+ var _chunkP25RVNGXcjs = require('./chunk-P25RVNGX.cjs');
36
36
 
37
37
 
38
38
 
39
39
 
40
40
 
41
- var _chunk2LT2WR4Ocjs = require('./chunk-2LT2WR4O.cjs');
41
+ var _chunk2U7GXE3Tcjs = require('./chunk-2U7GXE3T.cjs');
42
42
 
43
43
 
44
44
 
@@ -354,13 +354,13 @@ function toDocContent(value, requestedPath) {
354
354
  function toDataSync(value) {
355
355
  if (!isRecord(value)) return void 0;
356
356
  const source = readString(value, "source");
357
- if (!_chunkK7NGDYBGcjs.isDataSyncSource.call(void 0, source)) return void 0;
357
+ if (!_chunkAO6YVNAHcjs.isDataSyncSource.call(void 0, source)) return void 0;
358
358
  return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
359
359
  }
360
360
  function useDocumentTree(config, initialPath) {
361
361
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
362
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkSBXL5EKEcjs.DEFAULT_FOLDER_INDEX_FILE));
363
- const cleanInitialPath = _chunkSBXL5EKEcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
362
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkP25RVNGXcjs.DEFAULT_FOLDER_INDEX_FILE));
363
+ const cleanInitialPath = _chunkP25RVNGXcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
364
364
  const [structure, setStructure] = _react.useState.call(void 0, []);
365
365
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
366
366
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -386,12 +386,12 @@ function useDocumentTree(config, initialPath) {
386
386
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
387
387
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
388
388
  }
389
- pathFromUrl = _chunkSBXL5EKEcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
389
+ pathFromUrl = _chunkP25RVNGXcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
390
390
  if (pathFromUrl !== selectedPathRef.current) {
391
391
  setSelectedPath(pathFromUrl);
392
392
  if (pathFromUrl) {
393
393
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
394
- setExpandedNodes(new Set(_chunkSBXL5EKEcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
394
+ setExpandedNodes(new Set(_chunkP25RVNGXcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
395
395
  }
396
396
  setTimeout(() => {
397
397
  scrollToContent();
@@ -409,7 +409,7 @@ function useDocumentTree(config, initialPath) {
409
409
  setSelectedPath(cleanInitialPath);
410
410
  if (cleanInitialPath) {
411
411
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
412
- setExpandedNodes(new Set(_chunkSBXL5EKEcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
412
+ setExpandedNodes(new Set(_chunkP25RVNGXcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
413
413
  }
414
414
  setExternalNavCount((n) => n + 1);
415
415
  }
@@ -434,7 +434,7 @@ function useDocumentTree(config, initialPath) {
434
434
  if (cleanInitialPath) {
435
435
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
436
436
  if (pathForExpansion) {
437
- setExpandedNodes(new Set(_chunkSBXL5EKEcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
437
+ setExpandedNodes(new Set(_chunkP25RVNGXcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
438
438
  }
439
439
  } else if (nodes.length > 0) {
440
440
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -474,7 +474,7 @@ function useDocumentTree(config, initialPath) {
474
474
  setContent(null);
475
475
  return;
476
476
  }
477
- const probe = _chunkSBXL5EKEcjs.findDocNodeByPath.call(void 0, _chunkSBXL5EKEcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
477
+ const probe = _chunkP25RVNGXcjs.findDocNodeByPath.call(void 0, _chunkP25RVNGXcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
478
478
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
479
479
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
480
480
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -533,7 +533,7 @@ function useDocumentTree(config, initialPath) {
533
533
  if (selectedPath === "") {
534
534
  pathToFetch = folderIndexFile;
535
535
  } else {
536
- const node = _chunkSBXL5EKEcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
536
+ const node = _chunkP25RVNGXcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
537
537
  if (node && node.type === "folder" && !node.hasReadme) {
538
538
  const firstDocPath = findFirstDocPath(node);
539
539
  if (!firstDocPath) {
@@ -574,16 +574,16 @@ function useDocumentTree(config, initialPath) {
574
574
  if (node.type === "folder") {
575
575
  setExpandedNodes((prev) => {
576
576
  if (prev.has(node.id)) {
577
- const ancestorIds = _chunkSBXL5EKEcjs.getDocAncestorNodeIds.call(void 0, node.path);
577
+ const ancestorIds = _chunkP25RVNGXcjs.getDocAncestorNodeIds.call(void 0, node.path);
578
578
  ancestorIds.pop();
579
579
  return new Set(ancestorIds);
580
580
  }
581
- return new Set(_chunkSBXL5EKEcjs.getDocAncestorNodeIds.call(void 0, node.path));
581
+ return new Set(_chunkP25RVNGXcjs.getDocAncestorNodeIds.call(void 0, node.path));
582
582
  });
583
583
  } else {
584
584
  const lastSlash = node.path.lastIndexOf("/");
585
585
  if (lastSlash > 0) {
586
- setExpandedNodes(new Set(_chunkSBXL5EKEcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
586
+ setExpandedNodes(new Set(_chunkP25RVNGXcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
587
587
  }
588
588
  }
589
589
  lastFetchedPath.current = null;
@@ -598,7 +598,7 @@ function useDocumentTree(config, initialPath) {
598
598
  const hashIndex = path.indexOf("#");
599
599
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
600
600
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
601
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkSBXL5EKEcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
601
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkP25RVNGXcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
602
602
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
603
603
  _chunkA34UNP5Vcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkA34UNP5Vcjs.HUB_HEADER_OFFSET_PX });
604
604
  return;
@@ -662,15 +662,15 @@ function useDocumentTree(config, initialPath) {
662
662
  return docNavigation.register({
663
663
  baseRoute: normalizedBaseRoute,
664
664
  findNodeByPath: (path) => {
665
- const clean = _chunkSBXL5EKEcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
- return _nullishCoalesce(_chunkSBXL5EKEcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
665
+ const clean = _chunkP25RVNGXcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
+ return _nullishCoalesce(_chunkP25RVNGXcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
667
667
  },
668
668
  selectNode
669
669
  });
670
670
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
671
671
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
672
672
  if (!selectedPath || structure.length === 0) return false;
673
- const node = _chunkSBXL5EKEcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
673
+ const node = _chunkP25RVNGXcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
674
674
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
675
675
  }, [selectedPath, structure]);
676
676
  return {
@@ -753,14 +753,14 @@ function DocViewerContent({
753
753
  },
754
754
  docPath
755
755
  );
756
- const { activeSection, handleSectionClick } = _chunkTJFVIJPVcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
756
+ const { activeSection, handleSectionClick } = _chunk5S2GW6YGcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
757
757
  const docNav = useDocNavigation();
758
758
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
759
759
  const backCfg = backButton === false ? null : {
760
760
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
761
761
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
762
762
  };
763
- const docSearch = _chunkGP2Y3DBEcjs.useDocSearch.call(void 0, {
763
+ const docSearch = _chunkMALCUN2Gcjs.useDocSearch.call(void 0, {
764
764
  source: chatSource,
765
765
  baseRoute,
766
766
  searchEndpoint,
@@ -784,7 +784,7 @@ function DocViewerContent({
784
784
  onResolveLink: resolveLink
785
785
  });
786
786
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
787
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkSBXL5EKEcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
787
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkP25RVNGXcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
788
788
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
789
789
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
790
790
  const showStickyNav = isMarkdownContent;
@@ -796,9 +796,9 @@ function DocViewerContent({
796
796
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
797
797
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
798
798
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.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: [
799
- synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7NGDYBGcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
799
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
800
800
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
801
- _chunkGP2Y3DBEcjs.DocSearchBar,
801
+ _chunkMALCUN2Gcjs.DocSearchBar,
802
802
  {
803
803
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
804
804
  query: docSearch.query,
@@ -819,7 +819,7 @@ function DocViewerContent({
819
819
  !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: [
820
820
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: [
821
821
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
822
- _chunkTJFVIJPVcjs.MobileNavigationDropdown,
822
+ _chunk5S2GW6YGcjs.MobileNavigationDropdown,
823
823
  {
824
824
  nodes: structure,
825
825
  selectedPath,
@@ -833,7 +833,7 @@ function DocViewerContent({
833
833
  /* @__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: [
834
834
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
835
835
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
836
- _chunkTJFVIJPVcjs.MultiLevelNavigation,
836
+ _chunk5S2GW6YGcjs.MultiLevelNavigation,
837
837
  {
838
838
  nodes: structure,
839
839
  selectedPath,
@@ -872,7 +872,7 @@ function DocViewerContent({
872
872
  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: [
873
873
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: ON_THIS_PAGE_HEADING_CLASS, children: ON_THIS_PAGE_LABEL }),
874
874
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
875
- _chunkTJFVIJPVcjs.StickySectionNav,
875
+ _chunk5S2GW6YGcjs.StickySectionNav,
876
876
  {
877
877
  sections: stickyNavSections,
878
878
  activeSection,
@@ -887,7 +887,7 @@ function DocViewerContent({
887
887
  ) })
888
888
  ] })
889
889
  ] }) }) });
890
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7NGDYBGcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
890
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
891
891
  }
892
892
 
893
893
  // src/components/docs/skeletons.tsx
@@ -903,14 +903,14 @@ var MARKDOWN_SKELETON_BLOCKS = [
903
903
  { kind: "p", lines: 3 },
904
904
  { kind: "p", lines: 4 }
905
905
  ];
906
- var MARKDOWN_SKELETON_H2_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunk2LT2WR4Ocjs.MARKDOWN_H2_CLASS, _chunk2LT2WR4Ocjs.TEXT_SIZE_PRESETS.default.h2);
907
- var MARKDOWN_SKELETON_P_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunk2LT2WR4Ocjs.MARKDOWN_PARAGRAPH_CLASS, _chunk2LT2WR4Ocjs.TEXT_SIZE_PRESETS.default.p);
906
+ var MARKDOWN_SKELETON_H2_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunk2U7GXE3Tcjs.MARKDOWN_H2_CLASS, _chunk2U7GXE3Tcjs.TEXT_SIZE_PRESETS.default.h2);
907
+ var MARKDOWN_SKELETON_P_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunk2U7GXE3Tcjs.MARKDOWN_PARAGRAPH_CLASS, _chunk2U7GXE3Tcjs.TEXT_SIZE_PRESETS.default.p);
908
908
  function MarkdownSkeleton({
909
909
  region = true
910
910
  } = {}) {
911
911
  return (
912
912
  // The renderer's root class, and its box (no margin of its own, like the rendered body): the document's first fold.
913
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunk2LT2WR4Ocjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
913
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunk2U7GXE3Tcjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
914
914
  (block, i) => block.kind === "h2" ? (
915
915
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton blocks never reorder
916
916
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: MARKDOWN_SKELETON_H2_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/3" }) }, i)
@@ -959,7 +959,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
959
959
  ] }),
960
960
  /* @__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, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
961
961
  ] }),
962
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7NGDYBGcjs.EmbedLoadingSkeleton, { region: false })
962
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.EmbedLoadingSkeleton, { region: false })
963
963
  ] });
964
964
  }
965
965
 
@@ -967,11 +967,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
967
967
 
968
968
  var DEFAULT_TITLE = "Documents";
969
969
  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" }) });
970
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAK7MYM25cjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAK7MYM25cjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7NGDYBGcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
970
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LVJKPR3cjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LVJKPR3cjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
973
973
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
974
- _chunkAK7MYM25cjs.FileDownloadCard,
974
+ _chunk6LVJKPR3cjs.FileDownloadCard,
975
975
  {
976
976
  fileName: content.fileName,
977
977
  mimeType: content.mimeType,
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkK7NGDYBGcjs = require('./chunk-K7NGDYBG.cjs');
5
+ var _chunkAO6YVNAHcjs = require('./chunk-AO6YVNAH.cjs');
6
6
 
7
7
 
8
8
 
@@ -17,16 +17,16 @@ var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
17
17
  var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
18
18
 
19
19
 
20
- var _chunkSBXL5EKEcjs = require('./chunk-SBXL5EKE.cjs');
20
+ var _chunkP25RVNGXcjs = require('./chunk-P25RVNGX.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunk2LT2WR4Ocjs = require('./chunk-2LT2WR4O.cjs');
25
+ var _chunk2U7GXE3Tcjs = require('./chunk-2U7GXE3T.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkQCRJVO6Ycjs = require('./chunk-QCRJVO6Y.cjs');
29
+ var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
30
30
 
31
31
 
32
32
 
@@ -119,7 +119,7 @@ function ContactForm({
119
119
  successToastMessage = "Redirecting you to join our community...",
120
120
  rescue: rescueForm = null
121
121
  } = {}) {
122
- const attachments = _chunk2LT2WR4Ocjs.useChatAttachments.call(void 0, );
122
+ const attachments = _chunk2U7GXE3Tcjs.useChatAttachments.call(void 0, );
123
123
  const builtInSubmission = _chunkT266OITJcjs.useContactSubmission.call(void 0, {
124
124
  userId,
125
125
  successRedirectUrl,
@@ -190,7 +190,7 @@ function ContactForm({
190
190
  className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
191
191
  children: [
192
192
  (title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
193
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkQCRJVO6Ycjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkQCRJVO6Ycjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk2IWAHBCCcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
194
194
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
195
195
  ] }),
196
196
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -203,13 +203,13 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunkSBXL5EKEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkP25RVNGXcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
207
207
  children: [
208
208
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
209
209
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
210
210
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
211
211
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
212
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7NGDYBGcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.HoneypotField, { ...honeypotInputProps }),
213
213
  extraTopField,
214
214
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
215
215
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkK7NGDYBGcjs.Textarea,
337
+ _chunkAO6YVNAHcjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),
@@ -349,7 +349,7 @@ function ContactForm({
349
349
  ] }),
350
350
  attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
351
351
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
352
- _chunk2LT2WR4Ocjs.ChatAttachmentChipStrip,
352
+ _chunk2U7GXE3Tcjs.ChatAttachmentChipStrip,
353
353
  {
354
354
  attachments: attachments.attachments,
355
355
  onRemove: attachments.removeAttachment,
@@ -358,7 +358,7 @@ function ContactForm({
358
358
  ),
359
359
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
360
360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
361
- _chunk2LT2WR4Ocjs.ChatAttachmentAddButton,
361
+ _chunk2U7GXE3Tcjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,
@@ -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(); } }"use client";
2
2
 
3
3
 
4
- var _chunkQCRJVO6Ycjs = require('./chunk-QCRJVO6Y.cjs');
4
+ var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
5
5
 
6
6
 
7
7
 
@@ -35,8 +35,8 @@ var AVATAR_BORDER_CLASS = "rounded-full border-2 border-ods-border";
35
35
  var BODY_CLASS = "min-w-0 flex-1";
36
36
  var NAME_ROW_CLASS = "flex flex-wrap items-baseline gap-x-3 gap-y-1";
37
37
  var NAME_CLASS = "text-ods-text-primary text-h5";
38
- var JOB_TITLE_CLASS = "text-body-sm mt-0.5 font-body text-ods-text-secondary";
39
- var BIO_CLASS = "text-body-md mt-2 font-body leading-relaxed text-ods-text-secondary";
38
+ var JOB_TITLE_CLASS = "mt-0.5 font-body text-ods-text-secondary";
39
+ var BIO_CLASS = "mt-2 font-body leading-relaxed text-ods-text-secondary";
40
40
  function formatDate(value) {
41
41
  return _chunkBOS7OIC4cjs.formatDateWithTimezone.call(void 0, value, null, "long");
42
42
  }
@@ -52,7 +52,7 @@ function ArticleAuthorByline({
52
52
  proxyImageUrl,
53
53
  className
54
54
  }) {
55
- const proxiedAvatar = _chunkQCRJVO6Ycjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
55
+ const proxiedAvatar = _chunk2IWAHBCCcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
56
56
  const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
57
57
  if (loading && !author) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ArticleAuthorBylineSkeleton, { size, className });
58
58
  if (!author) return null;
@@ -75,13 +75,13 @@ function ArticleAuthorByline({
75
75
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: BODY_CLASS, children: [
76
76
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: NAME_ROW_CLASS, children: [
77
77
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: NAME_CLASS, children: href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: "transition-colors hover:text-ods-accent", children: author }) : author }),
78
- dateLabel && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-body-sm inline-flex items-center gap-1 font-body text-ods-text-secondary", children: [
78
+ dateLabel && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "inline-flex items-center gap-1 font-body text-ods-text-secondary", children: [
79
79
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Calendar, { className: "h-3 w-3" }),
80
80
  dateLabel
81
81
  ] })
82
82
  ] }),
83
83
  jobTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: JOB_TITLE_CLASS, children: jobTitle }),
84
- formattedBio ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BIO_CLASS, children: formattedBio }) : fallbackBio ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-body-md mt-2 font-body italic text-ods-text-secondary", children: fallbackBio }) : null
84
+ formattedBio ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BIO_CLASS, children: formattedBio }) : fallbackBio ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-2 font-body italic text-ods-text-secondary", children: fallbackBio }) : null
85
85
  ] })
86
86
  ] });
87
87
  }
@@ -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 _chunkU7CH53FTcjs = require('./chunk-U7CH53FT.cjs');
4
+ var _chunkDNZCSPMUcjs = require('./chunk-DNZCSPMU.cjs');
5
5
 
6
6
 
7
- var _chunkK7NGDYBGcjs = require('./chunk-K7NGDYBG.cjs');
7
+ var _chunkAO6YVNAHcjs = require('./chunk-AO6YVNAH.cjs');
8
8
 
9
9
 
10
10
  var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
@@ -37,7 +37,7 @@ function FaqDocumentPage({
37
37
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
38
38
  };
39
39
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40
- _chunkU7CH53FTcjs.FaqSection,
40
+ _chunkDNZCSPMUcjs.FaqSection,
41
41
  {
42
42
  initialFaqs,
43
43
  heading: null,
@@ -53,7 +53,7 @@ function FaqDocumentPage({
53
53
  skeletonNav
54
54
  }
55
55
  ) });
56
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7NGDYBGcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
56
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAO6YVNAHcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
57
57
  }
58
58
 
59
59
 
@@ -5,12 +5,12 @@ var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkSBXL5EKEcjs = require('./chunk-SBXL5EKE.cjs');
8
+ var _chunkP25RVNGXcjs = require('./chunk-P25RVNGX.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunk2LT2WR4Ocjs = require('./chunk-2LT2WR4O.cjs');
13
+ var _chunk2U7GXE3Tcjs = require('./chunk-2U7GXE3T.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 _chunkGBILLSRMcjs = require('./chunk-GBILLSRM.cjs');
28
+ var _chunkQOOMUGF2cjs = require('./chunk-QOOMUGF2.cjs');
29
29
 
30
30
 
31
- var _chunkQCRJVO6Ycjs = require('./chunk-QCRJVO6Y.cjs');
31
+ var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
32
32
 
33
33
 
34
34
  var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
@@ -74,7 +74,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
74
74
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
75
75
  "div",
76
76
  {
77
- id: _chunk2LT2WR4Ocjs.faqItemAnchor.call(void 0, item.id),
77
+ id: _chunk2U7GXE3Tcjs.faqItemAnchor.call(void 0, item.id),
78
78
  className: _chunk63A4GZMBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
79
79
  "data-loading-item": true,
80
80
  children: [
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
140
140
 
141
141
  var PICK_ROOT_MARGIN = "600px";
142
142
  function faqAskCardShown(assistant) {
143
- return _chunkSBXL5EKEcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
143
+ return _chunkP25RVNGXcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
144
144
  }
145
145
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
146
146
  const { ref, inView } = _chunkA34UNP5Vcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
147
147
  const [reached, setReached] = _react.useState.call(void 0, false);
148
148
  if (inView && !reached) setReached(true);
149
149
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
- _chunkSBXL5EKEcjs.AssistantAskPrompts,
150
+ _chunkP25RVNGXcjs.AssistantAskPrompts,
151
151
  {
152
152
  variant: "card",
153
153
  topic,
@@ -207,7 +207,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
207
207
  var FAQ_NAV_SKELETON_PILLS = 8;
208
208
  var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
209
209
  var CATEGORY_SECTION_CLASS = "scroll-mt-24";
210
- var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunkQCRJVO6Ycjs.SECTION_HEADING_CLASS, "pb-4");
210
+ var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunk2IWAHBCCcjs.SECTION_HEADING_CLASS, "pb-4");
211
211
  var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
212
212
  function FaqLayout({
213
213
  heading,
@@ -233,7 +233,7 @@ function FaqLayout({
233
233
  ] });
234
234
  }
235
235
  function faqHeadingNode(heading, showTopic, topic) {
236
- const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkQCRJVO6Ycjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
236
+ const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk2IWAHBCCcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
237
237
  if (!(showTopic && topic)) return titleNode;
238
238
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
239
239
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
@@ -247,7 +247,7 @@ function pageFaqProps(faq) {
247
247
  }
248
248
  function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
249
249
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
250
- return _chunkGBILLSRMcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
250
+ return _chunkQOOMUGF2cjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
251
251
  apiBaseUrl,
252
252
  entityType,
253
253
  entityId,
@@ -268,7 +268,7 @@ function groupFaqsBySection(faqs) {
268
268
  }
269
269
  let group = byName.get(name);
270
270
  if (!group) {
271
- group = { section: name, slug: _chunk2LT2WR4Ocjs.faqSectionSlug.call(void 0, name), items: [] };
271
+ group = { section: name, slug: _chunk2U7GXE3Tcjs.faqSectionSlug.call(void 0, name), items: [] };
272
272
  byName.set(name, group);
273
273
  }
274
274
  group.items.push(item);
@@ -324,7 +324,7 @@ function GroupedFaqList({
324
324
  }, [slugKey]);
325
325
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
326
326
  _react.useEffect.call(void 0, () => {
327
- const refresh = () => setHashTarget(_chunk2LT2WR4Ocjs.parseFaqHash.call(void 0, window.location.hash));
327
+ const refresh = () => setHashTarget(_chunk2U7GXE3Tcjs.parseFaqHash.call(void 0, window.location.hash));
328
328
  refresh();
329
329
  window.addEventListener("hashchange", refresh);
330
330
  return () => window.removeEventListener("hashchange", refresh);
@@ -425,7 +425,7 @@ function FaqSection({
425
425
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
426
426
  [initialFaqs]
427
427
  );
428
- const { data, dataUrl, isLoading, error } = _chunkGBILLSRMcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
428
+ const { data, dataUrl, isLoading, error } = _chunkQOOMUGF2cjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
429
429
  const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _14 => _14.faqs]) : void 0;
430
430
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
431
431
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);