@flamingo-stack/openframe-frontend-core 0.0.850 → 0.0.852

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 (154) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{case-study-card-X2HKPKT7.cjs → case-study-card-WP5Z234Q.cjs} +5 -5
  3. package/dist/chat-protocol/events.d.ts +4 -1
  4. package/dist/chat-protocol/events.d.ts.map +1 -1
  5. package/dist/chat-protocol/index.cjs +90 -40
  6. package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
  7. package/dist/chat-protocol/nats-decoder.js +5 -1
  8. package/dist/chat-protocol/policy-review.d.ts +18 -0
  9. package/dist/chat-protocol/policy-review.d.ts.map +1 -0
  10. package/dist/chat-protocol/policy-review.js +55 -0
  11. package/dist/{chunk-BU2PSRAS.cjs → chunk-2W22LY3W.cjs} +11 -11
  12. package/dist/{chunk-ZDSC3GFX.cjs → chunk-3SJVF3HW.cjs} +6 -6
  13. package/dist/{chunk-GAYLAA3L.cjs → chunk-3ZQESOPJ.cjs} +79 -79
  14. package/dist/{chunk-IPGGSFR7.cjs → chunk-477P6AQH.cjs} +6 -6
  15. package/dist/{chunk-5CBI2ZYV.cjs → chunk-5RMBLOJ5.cjs} +12 -12
  16. package/dist/{chunk-36DUCHI7.cjs → chunk-6GWRPW6B.cjs} +4 -4
  17. package/dist/{chunk-SOSIXRQ3.cjs → chunk-AZEO7HBB.cjs} +2 -2
  18. package/dist/{chunk-FRG724DU.cjs → chunk-BNHTBLAG.cjs} +17 -17
  19. package/dist/{chunk-VRWBJL7B.cjs → chunk-CHGIACIP.cjs} +91 -91
  20. package/dist/{chunk-CAGNWDVJ.cjs → chunk-COJG2ATY.cjs} +45 -45
  21. package/dist/{chunk-XKOL5CNU.cjs → chunk-D3H6AI7O.cjs} +956 -1077
  22. package/dist/{chunk-ALRYVZ3E.cjs → chunk-DLTPSP5F.cjs} +2 -2
  23. package/dist/{chunk-3W4ASAXN.cjs → chunk-EIACEY2L.cjs} +4 -4
  24. package/dist/{chunk-TIVPOVIM.cjs → chunk-ETZFBB7O.cjs} +2 -2
  25. package/dist/{chunk-GRCOEICK.cjs → chunk-G7GF4PWA.cjs} +6 -6
  26. package/dist/{chunk-7ICHJVAT.cjs → chunk-GEZ3UXCA.cjs} +25 -25
  27. package/dist/chunk-GGUFVIJ6.cjs +28 -0
  28. package/dist/{chunk-ZGEWT3SF.cjs → chunk-HXURNKXI.cjs} +3 -3
  29. package/dist/{chunk-TX4NTH22.cjs → chunk-IC4IJJB2.cjs} +102 -102
  30. package/dist/{chunk-BUEEQD3G.cjs → chunk-IGVAPIEW.cjs} +2 -2
  31. package/dist/{chunk-IG6ROHPS.cjs → chunk-IO6NN3SL.cjs} +54 -54
  32. package/dist/{chunk-5PIR77V5.cjs → chunk-KHOB3TES.cjs} +4 -4
  33. package/dist/{chunk-JQCQCE6U.cjs → chunk-KKFDRCQF.cjs} +2 -2
  34. package/dist/{chunk-6AJYGXXS.cjs → chunk-KNN2GCMW.cjs} +21 -21
  35. package/dist/{chunk-YJZ7R3W5.cjs → chunk-KXFIYO4O.cjs} +8 -8
  36. package/dist/{chunk-FXLROQUT.cjs → chunk-LFEURIZN.cjs} +590 -607
  37. package/dist/{chunk-JWIITCVB.cjs → chunk-MFDRCTM3.cjs} +47 -47
  38. package/dist/{chunk-OHHDX3Z4.cjs → chunk-MXY2OGEV.cjs} +42 -42
  39. package/dist/{chunk-533QK4R6.cjs → chunk-NMWLXHFH.cjs} +130 -130
  40. package/dist/{chunk-MDLT6D46.cjs → chunk-O3EKOXFZ.cjs} +20 -20
  41. package/dist/{chunk-HLJXCOMA.cjs → chunk-OH5TXFRR.cjs} +4 -4
  42. package/dist/{chunk-SA2NNWIJ.cjs → chunk-P63CRPWI.cjs} +19 -64
  43. package/dist/{chunk-R5JPZ6TY.cjs → chunk-QOW2GP3V.cjs} +21 -21
  44. package/dist/{chunk-JBTH3O2C.cjs → chunk-SSKMGH5O.cjs} +4 -4
  45. package/dist/{chunk-4YBS4HIO.cjs → chunk-U767P4JU.cjs} +455 -38
  46. package/dist/{chunk-FNQWL4W4.cjs → chunk-UO2EJGRJ.cjs} +45 -45
  47. package/dist/{chunk-IHY7E4EX.cjs → chunk-USPUZO53.cjs} +4 -4
  48. package/dist/{chunk-IN3LA2FU.cjs → chunk-UV45EPXN.cjs} +2 -2
  49. package/dist/{chunk-S3QXLD4X.cjs → chunk-VCFQHPOO.cjs} +37 -3
  50. package/dist/{chunk-2QZUTNL3.cjs → chunk-VUHHLRAY.cjs} +92 -92
  51. package/dist/{chunk-QJER2ZNA.cjs → chunk-WFAZMASF.cjs} +3 -3
  52. package/dist/{chunk-LGYPCUHO.cjs → chunk-X3WIOMEE.cjs} +36 -36
  53. package/dist/{cloud-tenants-TVB3DT3J.cjs → cloud-tenants-O33HCUYB.cjs} +50 -50
  54. package/dist/components/case-studies/index.cjs +69 -69
  55. package/dist/components/chat/approval-batch-message.d.ts +5 -0
  56. package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
  57. package/dist/components/chat/approval-batch-message.js +36 -10
  58. package/dist/components/chat/index.cjs +45 -45
  59. package/dist/components/chat/policy-review.d.ts +27 -0
  60. package/dist/components/chat/policy-review.d.ts.map +1 -0
  61. package/dist/components/chat/policy-review.js +67 -0
  62. package/dist/components/chat/stream/message-mutations.d.ts.map +1 -1
  63. package/dist/components/chat/stream/message-mutations.js +4 -1
  64. package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
  65. package/dist/components/chat/tool-execution-display.js +16 -5
  66. package/dist/components/chat/types/message.types.d.ts +40 -2
  67. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  68. package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
  69. package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
  70. package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
  71. package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
  72. package/dist/components/chat/utils/process-historical-messages.d.ts +2 -2
  73. package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
  74. package/dist/components/chat/utils/process-historical-messages.js +7 -1
  75. package/dist/components/contact/index.cjs +51 -51
  76. package/dist/components/docs/index.cjs +54 -54
  77. package/dist/components/embeds/index.cjs +51 -51
  78. package/dist/components/faq/index.cjs +52 -52
  79. package/dist/components/features/approval-level.d.ts +6 -12
  80. package/dist/components/features/approval-level.d.ts.map +1 -1
  81. package/dist/components/features/approval-level.js +45 -55
  82. package/dist/components/features/index.cjs +55 -54
  83. package/dist/components/features/notifications/approval-request-notification-tile.d.ts.map +1 -1
  84. package/dist/components/features/notifications/approval-request-notification-tile.js +71 -48
  85. package/dist/components/features/notifications/types.d.ts +2 -0
  86. package/dist/components/features/notifications/types.d.ts.map +1 -1
  87. package/dist/components/features/notifications/types.js +3 -1
  88. package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
  89. package/dist/components/features/policy-configuration-panel.js +75 -64
  90. package/dist/components/help-center-pages/index.cjs +156 -156
  91. package/dist/components/icons-v2-generated/brand-logos/index.d.ts +1 -0
  92. package/dist/components/icons-v2-generated/brand-logos/index.d.ts.map +1 -1
  93. package/dist/components/icons-v2-generated/brand-logos/index.js +2 -0
  94. package/dist/components/icons-v2-generated/brand-logos/stripe-icon.d.ts +8 -0
  95. package/dist/components/icons-v2-generated/brand-logos/stripe-icon.d.ts.map +1 -0
  96. package/dist/components/icons-v2-generated/brand-logos/stripe-icon.js +24 -0
  97. package/dist/components/icons-v2-generated/icon-loaders.d.ts.map +1 -1
  98. package/dist/components/icons-v2-generated/icon-loaders.js +1 -0
  99. package/dist/components/icons-v2-generated/icon-names.js +1 -1
  100. package/dist/components/icons-v2-generated/index.cjs +33 -29
  101. package/dist/components/index.cjs +122 -123
  102. package/dist/components/meeting-scheduler/index.cjs +113 -112
  103. package/dist/components/navigation/index.cjs +54 -54
  104. package/dist/components/onboarding-guides/index.cjs +53 -53
  105. package/dist/components/product-demo/index.cjs +61 -61
  106. package/dist/components/related-content/index.cjs +9 -9
  107. package/dist/components/tickets/index.cjs +57 -57
  108. package/dist/components/ui/file-manager/index.cjs +8 -9
  109. package/dist/components/ui/index.cjs +55 -56
  110. package/dist/components/ui/radio-group.d.ts.map +1 -1
  111. package/dist/components/ui/radio-group.js +8 -2
  112. package/dist/components/ui/tab-selector.d.ts +7 -1
  113. package/dist/components/ui/tab-selector.d.ts.map +1 -1
  114. package/dist/components/ui/tab-selector.js +22 -3
  115. package/dist/{devices-NGCTSXIU.cjs → devices-2RGGMC2B.cjs} +51 -51
  116. package/dist/{embeddable-chat-322NDFP5.cjs → embeddable-chat-SJEEJI4N.cjs} +122 -122
  117. package/dist/hooks/index.cjs +9 -9
  118. package/dist/{icon-loaders-SUPEKMBJ.cjs → icon-loaders-CTH6E7OP.cjs} +1 -0
  119. package/dist/index.cjs +61 -62
  120. package/dist/{knowledge-75PO5DYS.cjs → knowledge-5TJIXVMD.cjs} +52 -52
  121. package/dist/{logs-PZESOAIG.cjs → logs-HGQOTRKZ.cjs} +57 -57
  122. package/dist/{policies-6XNMBFWO.cjs → policies-GWFSLVSM.cjs} +54 -54
  123. package/dist/{remote-session-Q2FIBCGT.cjs → remote-session-SG44CNOK.cjs} +36 -36
  124. package/dist/{scripts-B3JW6TPF.cjs → scripts-PGJNAZF4.cjs} +57 -57
  125. package/dist/{software-update-NWP542J7.cjs → software-update-KKLSYHDI.cjs} +54 -54
  126. package/dist/stripe-icon-YKVABTNI.cjs +7 -0
  127. package/dist/{tickets-board-7FLGQEHF.cjs → tickets-board-SQY2Y6QV.cjs} +39 -38
  128. package/dist/utils/index.cjs +32 -1
  129. package/package.json +1 -1
  130. package/src/chat-protocol/events.ts +4 -1
  131. package/src/chat-protocol/nats-decoder.ts +4 -0
  132. package/src/chat-protocol/policy-review.ts +71 -0
  133. package/src/components/chat/approval-batch-message.tsx +47 -10
  134. package/src/components/chat/policy-review.tsx +90 -0
  135. package/src/components/chat/stream/message-mutations.ts +4 -0
  136. package/src/components/chat/tool-execution-display.tsx +23 -4
  137. package/src/components/chat/types/message.types.ts +42 -2
  138. package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
  139. package/src/components/chat/utils/message-segment-accumulator.ts +3 -0
  140. package/src/components/chat/utils/process-historical-messages.ts +14 -3
  141. package/src/components/features/approval-level.tsx +74 -78
  142. package/src/components/features/notifications/approval-request-notification-tile.tsx +75 -50
  143. package/src/components/features/notifications/types.ts +4 -0
  144. package/src/components/features/policy-configuration-panel.tsx +100 -83
  145. package/src/components/icons-v2/icon-colors.json +3 -0
  146. package/src/components/icons-v2-generated/brand-logos/index.ts +1 -0
  147. package/src/components/icons-v2-generated/brand-logos/stripe-icon.tsx +27 -0
  148. package/src/components/icons-v2-generated/icon-loaders.ts +1 -0
  149. package/src/components/icons-v2-generated/icon-names.ts +1 -1
  150. package/src/components/ui/radio-group.tsx +20 -2
  151. package/src/components/ui/tab-selector.tsx +26 -3
  152. package/src/styles/ods-colors.css +1 -0
  153. package/dist/chunk-N3MBQRCQ.cjs +0 -41
  154. /package/dist/{chunk-46547WQW.cjs → chunk-7HH4Y27U.cjs} +0 -0
@@ -3,26 +3,26 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkZDSC3GFXcjs = require('./chunk-ZDSC3GFX.cjs');
6
+ var _chunk3SJVF3HWcjs = require('./chunk-3SJVF3HW.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkFRG724DUcjs = require('./chunk-FRG724DU.cjs');
12
+ var _chunkBNHTBLAGcjs = require('./chunk-BNHTBLAG.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunk5CBI2ZYVcjs = require('./chunk-5CBI2ZYV.cjs');
16
+ var _chunk5RMBLOJ5cjs = require('./chunk-5RMBLOJ5.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkXKOL5CNUcjs = require('./chunk-XKOL5CNU.cjs');
22
+ var _chunkD3H6AI7Ocjs = require('./chunk-D3H6AI7O.cjs');
23
23
 
24
24
 
25
- var _chunkCAGNWDVJcjs = require('./chunk-CAGNWDVJ.cjs');
25
+ var _chunkCOJG2ATYcjs = require('./chunk-COJG2ATY.cjs');
26
26
 
27
27
 
28
28
 
@@ -30,12 +30,12 @@ var _chunkCAGNWDVJcjs = require('./chunk-CAGNWDVJ.cjs');
30
30
 
31
31
 
32
32
 
33
- var _chunkTX4NTH22cjs = require('./chunk-TX4NTH22.cjs');
33
+ var _chunkIC4IJJB2cjs = require('./chunk-IC4IJJB2.cjs');
34
34
 
35
35
 
36
36
 
37
37
 
38
- var _chunkGRCOEICKcjs = require('./chunk-GRCOEICK.cjs');
38
+ var _chunkG7GF4PWAcjs = require('./chunk-G7GF4PWA.cjs');
39
39
 
40
40
 
41
41
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -240,9 +240,9 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
240
240
  function scrollToContent() {
241
241
  const article = document.querySelector("article");
242
242
  if (article) {
243
- _chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkGRCOEICKcjs.HUB_HEADER_OFFSET_PX });
243
+ _chunkG7GF4PWAcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkG7GF4PWAcjs.HUB_HEADER_OFFSET_PX });
244
244
  } else {
245
- _chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, document.documentElement);
245
+ _chunkG7GF4PWAcjs.scrollElementIntoView.call(void 0, document.documentElement);
246
246
  }
247
247
  }
248
248
  function isRecord(value) {
@@ -328,13 +328,13 @@ function toDocContent(value, requestedPath) {
328
328
  function toDataSync(value) {
329
329
  if (!isRecord(value)) return void 0;
330
330
  const source = readString(value, "source");
331
- if (!_chunkXKOL5CNUcjs.isDataSyncSource.call(void 0, source)) return void 0;
331
+ if (!_chunkD3H6AI7Ocjs.isDataSyncSource.call(void 0, source)) return void 0;
332
332
  return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
333
333
  }
334
334
  function useDocumentTree(config, initialPath) {
335
335
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
336
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkTX4NTH22cjs.DEFAULT_FOLDER_INDEX_FILE));
337
- const cleanInitialPath = _chunkTX4NTH22cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _3 => _3.replace, 'call', _4 => _4(/\/$/, "")]) || "", folderIndexFile);
336
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkIC4IJJB2cjs.DEFAULT_FOLDER_INDEX_FILE));
337
+ const cleanInitialPath = _chunkIC4IJJB2cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _3 => _3.replace, 'call', _4 => _4(/\/$/, "")]) || "", folderIndexFile);
338
338
  const [structure, setStructure] = _react.useState.call(void 0, []);
339
339
  const structureRef = _react.useRef.call(void 0, structure);
340
340
  _react.useEffect.call(void 0, () => {
@@ -364,12 +364,12 @@ function useDocumentTree(config, initialPath) {
364
364
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
365
365
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
366
366
  }
367
- pathFromUrl = _chunkTX4NTH22cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
367
+ pathFromUrl = _chunkIC4IJJB2cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
368
368
  if (pathFromUrl !== selectedPathRef.current) {
369
369
  setSelectedPath(pathFromUrl);
370
370
  if (pathFromUrl) {
371
371
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
372
- setExpandedNodes(new Set(_chunkTX4NTH22cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
372
+ setExpandedNodes(new Set(_chunkIC4IJJB2cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
373
373
  }
374
374
  setTimeout(() => {
375
375
  scrollToContent();
@@ -387,7 +387,7 @@ function useDocumentTree(config, initialPath) {
387
387
  setSelectedPath(cleanInitialPath);
388
388
  if (cleanInitialPath) {
389
389
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
390
- setExpandedNodes(new Set(_chunkTX4NTH22cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
390
+ setExpandedNodes(new Set(_chunkIC4IJJB2cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
391
391
  }
392
392
  setExternalNavCount((n) => n + 1);
393
393
  }
@@ -412,7 +412,7 @@ function useDocumentTree(config, initialPath) {
412
412
  if (cleanInitialPath) {
413
413
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
414
414
  if (pathForExpansion) {
415
- setExpandedNodes(new Set(_chunkTX4NTH22cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
415
+ setExpandedNodes(new Set(_chunkIC4IJJB2cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
416
416
  }
417
417
  } else if (nodes.length > 0) {
418
418
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -453,7 +453,7 @@ function useDocumentTree(config, initialPath) {
453
453
  return;
454
454
  }
455
455
  const latestStructure = structureRef.current;
456
- const probe = _chunkTX4NTH22cjs.findDocNodeByPath.call(void 0, _chunkTX4NTH22cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), latestStructure);
456
+ const probe = _chunkIC4IJJB2cjs.findDocNodeByPath.call(void 0, _chunkIC4IJJB2cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), latestStructure);
457
457
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
458
458
  const preStructureFolderLike = latestStructure.length === 0 && !path.endsWith(".md");
459
459
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -510,16 +510,16 @@ function useDocumentTree(config, initialPath) {
510
510
  if (!structure || structure.length === 0) return;
511
511
  let pathToFetch = null;
512
512
  if (selectedPath === "") {
513
- const rootPath = _chunkTX4NTH22cjs.rootDocumentPath.call(void 0, structure, folderIndexFile);
513
+ const rootPath = _chunkIC4IJJB2cjs.rootDocumentPath.call(void 0, structure, folderIndexFile);
514
514
  if (!rootPath) {
515
515
  lastFetchedPath.current = null;
516
516
  return;
517
517
  }
518
518
  pathToFetch = rootPath;
519
519
  } else {
520
- const node = _chunkTX4NTH22cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
520
+ const node = _chunkIC4IJJB2cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
521
521
  if (node && node.type === "folder" && !node.hasReadme) {
522
- const firstDocPath = _chunkTX4NTH22cjs.findFirstDocPath.call(void 0, node);
522
+ const firstDocPath = _chunkIC4IJJB2cjs.findFirstDocPath.call(void 0, node);
523
523
  if (!firstDocPath) {
524
524
  lastFetchedPath.current = null;
525
525
  return;
@@ -558,16 +558,16 @@ function useDocumentTree(config, initialPath) {
558
558
  if (node.type === "folder") {
559
559
  setExpandedNodes((prev) => {
560
560
  if (prev.has(node.id)) {
561
- const ancestorIds = _chunkTX4NTH22cjs.getDocAncestorNodeIds.call(void 0, node.path);
561
+ const ancestorIds = _chunkIC4IJJB2cjs.getDocAncestorNodeIds.call(void 0, node.path);
562
562
  ancestorIds.pop();
563
563
  return new Set(ancestorIds);
564
564
  }
565
- return new Set(_chunkTX4NTH22cjs.getDocAncestorNodeIds.call(void 0, node.path));
565
+ return new Set(_chunkIC4IJJB2cjs.getDocAncestorNodeIds.call(void 0, node.path));
566
566
  });
567
567
  } else {
568
568
  const lastSlash = node.path.lastIndexOf("/");
569
569
  if (lastSlash > 0) {
570
- setExpandedNodes(new Set(_chunkTX4NTH22cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
570
+ setExpandedNodes(new Set(_chunkIC4IJJB2cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
571
571
  }
572
572
  }
573
573
  lastFetchedPath.current = null;
@@ -582,9 +582,9 @@ function useDocumentTree(config, initialPath) {
582
582
  const hashIndex = path.indexOf("#");
583
583
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
584
584
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
585
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _5 => _5.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkTX4NTH22cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
585
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _5 => _5.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkIC4IJJB2cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
586
586
  if (anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
587
- _chunkGRCOEICKcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkGRCOEICKcjs.HUB_HEADER_OFFSET_PX });
587
+ _chunkG7GF4PWAcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkG7GF4PWAcjs.HUB_HEADER_OFFSET_PX });
588
588
  return;
589
589
  }
590
590
  const scrollAfterNav = () => {
@@ -592,7 +592,7 @@ function useDocumentTree(config, initialPath) {
592
592
  setTimeout(() => {
593
593
  const el = document.getElementById(anchor.substring(1));
594
594
  if (el) {
595
- _chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkGRCOEICKcjs.HUB_HEADER_OFFSET_PX });
595
+ _chunkG7GF4PWAcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkG7GF4PWAcjs.HUB_HEADER_OFFSET_PX });
596
596
  } else {
597
597
  scrollToContent();
598
598
  }
@@ -646,17 +646,17 @@ function useDocumentTree(config, initialPath) {
646
646
  return docNavigation.register({
647
647
  baseRoute: normalizedBaseRoute,
648
648
  findNodeByPath: (path) => {
649
- const clean = _chunkTX4NTH22cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
650
- return _nullishCoalesce(_chunkTX4NTH22cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
649
+ const clean = _chunkIC4IJJB2cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
650
+ return _nullishCoalesce(_chunkIC4IJJB2cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
651
651
  },
652
652
  selectNode
653
653
  });
654
654
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
655
655
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
656
656
  if (structure.length === 0) return false;
657
- if (!selectedPath) return !_chunkTX4NTH22cjs.rootDocumentPath.call(void 0, structure, folderIndexFile);
658
- const node = _chunkTX4NTH22cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
659
- return !!node && node.type === "folder" && !node.hasReadme && !_chunkTX4NTH22cjs.findFirstDocPath.call(void 0, node);
657
+ if (!selectedPath) return !_chunkIC4IJJB2cjs.rootDocumentPath.call(void 0, structure, folderIndexFile);
658
+ const node = _chunkIC4IJJB2cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
659
+ return !!node && node.type === "folder" && !node.hasReadme && !_chunkIC4IJJB2cjs.findFirstDocPath.call(void 0, node);
660
660
  }, [selectedPath, structure, folderIndexFile]);
661
661
  const isEmptySource = !isLoadingStructure && structure.length === 0;
662
662
  const settled = isEmptyFolder || isEmptySource;
@@ -742,14 +742,14 @@ function DocViewerContent({
742
742
  },
743
743
  docPath
744
744
  );
745
- const { activeSection, handleSectionClick } = _chunkFRG724DUcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _10 => _10.sections]));
745
+ const { activeSection, handleSectionClick } = _chunkBNHTBLAGcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _10 => _10.sections]));
746
746
  const docNav = useDocNavigation();
747
747
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
748
748
  const backCfg = backButton === false ? null : {
749
749
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _11 => _11.label]), () => ( "Back to home")),
750
750
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.href]), () => ( "/")))
751
751
  };
752
- const docSearch = _chunk5CBI2ZYVcjs.useDocSearch.call(void 0, {
752
+ const docSearch = _chunk5RMBLOJ5cjs.useDocSearch.call(void 0, {
753
753
  source: chatSource,
754
754
  baseRoute,
755
755
  searchEndpoint,
@@ -773,8 +773,8 @@ function DocViewerContent({
773
773
  onResolveLink: resolveLink
774
774
  });
775
775
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
776
- const selectedNodePath = structure.length > 0 && !selectedPath ? _chunkTX4NTH22cjs.rootDocumentPath.call(void 0, structure, folderIndexFile) : selectedPath;
777
- const selectedNodeDocType = structure.length > 0 ? selectedNodePath ? _optionalChain([_chunkTX4NTH22cjs.findDocNodeByPath.call(void 0, selectedNodePath, structure), 'optionalAccess', _13 => _13.documentType]) : void 0 : initialDocumentType;
776
+ const selectedNodePath = structure.length > 0 && !selectedPath ? _chunkIC4IJJB2cjs.rootDocumentPath.call(void 0, structure, folderIndexFile) : selectedPath;
777
+ const selectedNodeDocType = structure.length > 0 ? selectedNodePath ? _optionalChain([_chunkIC4IJJB2cjs.findDocNodeByPath.call(void 0, selectedNodePath, structure), 'optionalAccess', _13 => _13.documentType]) : void 0 : initialDocumentType;
778
778
  const isLoadingDocument = isLoadingContent || isLoadingStructure;
779
779
  const loadingContent = isLoadingDocument ? renderContent(
780
780
  { content: "", sections: [], path: _nullishCoalesce(selectedPath, () => ( "")), documentType: selectedNodeDocType },
@@ -789,10 +789,10 @@ function DocViewerContent({
789
789
  const bgClass = !isColorValue ? colorPalette.background : "";
790
790
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
791
791
  const resolvedEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : emptyStateText || "No documents yet.";
792
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.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: [
793
- synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXKOL5CNUcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _18 => _18.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
792
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.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: [
793
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3H6AI7Ocjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _18 => _18.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
794
794
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
795
- _chunk5CBI2ZYVcjs.DocSearchBar,
795
+ _chunk5RMBLOJ5cjs.DocSearchBar,
796
796
  {
797
797
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _19 => _19.toLowerCase, 'call', _20 => _20()]) || "documents"}...`,
798
798
  query: docSearch.query,
@@ -813,7 +813,7 @@ function DocViewerContent({
813
813
  !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: [
814
814
  /* @__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: [
815
815
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
816
- _chunkFRG724DUcjs.MobileNavigationDropdown,
816
+ _chunkBNHTBLAGcjs.MobileNavigationDropdown,
817
817
  {
818
818
  nodes: structure,
819
819
  selectedPath,
@@ -827,7 +827,7 @@ function DocViewerContent({
827
827
  /* @__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: [
828
828
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
829
829
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
830
- _chunkFRG724DUcjs.MultiLevelNavigation,
830
+ _chunkBNHTBLAGcjs.MultiLevelNavigation,
831
831
  {
832
832
  nodes: structure,
833
833
  selectedPath,
@@ -859,7 +859,7 @@ function DocViewerContent({
859
859
  isMarkdownContent && isLoadingDocument && /* @__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: [
860
860
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: ON_THIS_PAGE_HEADING_CLASS, children: ON_THIS_PAGE_LABEL }),
861
861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingScope, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
862
- _chunkFRG724DUcjs.StickySectionNav,
862
+ _chunkBNHTBLAGcjs.StickySectionNav,
863
863
  {
864
864
  sections: [],
865
865
  activeSection: "",
@@ -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
- _chunkFRG724DUcjs.StickySectionNav,
875
+ _chunkBNHTBLAGcjs.StickySectionNav,
876
876
  {
877
877
  sections: stickyNavSections,
878
878
  activeSection,
@@ -887,18 +887,18 @@ function DocViewerContent({
887
887
  ) })
888
888
  ] })
889
889
  ] }) }) });
890
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXKOL5CNUcjs.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, _chunkD3H6AI7Ocjs.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/docs-hub-page.tsx
894
894
 
895
895
  var DEFAULT_TITLE = "Documents";
896
896
  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" }) });
897
- var defaultPdfRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZDSC3GFXcjs.PdfViewer, { src: _nullishCoalesce(content.fileUrl, () => ( "")), fileName: content.fileName });
898
- var defaultGoogleSheetRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZDSC3GFXcjs.GoogleSheetsViewer, { externalUrl: _nullishCoalesce(content.externalUrl, () => ( "")), fileName: content.fileName });
899
- var defaultFigmaRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXKOL5CNUcjs.FigmaEmbed, { url: _nullishCoalesce(content.externalUrl, () => ( "")), title: content.fileName, iframeLoading: "eager" });
897
+ var defaultPdfRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3SJVF3HWcjs.PdfViewer, { src: _nullishCoalesce(content.fileUrl, () => ( "")), fileName: content.fileName });
898
+ var defaultGoogleSheetRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3SJVF3HWcjs.GoogleSheetsViewer, { externalUrl: _nullishCoalesce(content.externalUrl, () => ( "")), fileName: content.fileName });
899
+ var defaultFigmaRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3H6AI7Ocjs.FigmaEmbed, { url: _nullishCoalesce(content.externalUrl, () => ( "")), title: content.fileName, iframeLoading: "eager" });
900
900
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
901
- _chunkZDSC3GFXcjs.FileDownloadCard,
901
+ _chunk3SJVF3HWcjs.FileDownloadCard,
902
902
  {
903
903
  fileName: content.fileName,
904
904
  mimeType: content.mimeType,
@@ -2,38 +2,38 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkXKOL5CNUcjs = require('./chunk-XKOL5CNU.cjs');
5
+ var _chunkD3H6AI7Ocjs = require('./chunk-D3H6AI7O.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkCAGNWDVJcjs = require('./chunk-CAGNWDVJ.cjs');
12
+ var _chunkCOJG2ATYcjs = require('./chunk-COJG2ATY.cjs');
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkFNQWL4W4cjs = require('./chunk-FNQWL4W4.cjs');
17
+ var _chunkUO2EJGRJcjs = require('./chunk-UO2EJGRJ.cjs');
18
18
 
19
19
 
20
- var _chunkTX4NTH22cjs = require('./chunk-TX4NTH22.cjs');
20
+ var _chunkIC4IJJB2cjs = require('./chunk-IC4IJJB2.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkFXLROQUTcjs = require('./chunk-FXLROQUT.cjs');
25
+ var _chunkLFEURIZNcjs = require('./chunk-LFEURIZN.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunk533QK4R6cjs = require('./chunk-533QK4R6.cjs');
29
+ var _chunkNMWLXHFHcjs = require('./chunk-NMWLXHFH.cjs');
30
30
 
31
31
 
32
32
 
33
- var _chunkZGEWT3SFcjs = require('./chunk-ZGEWT3SF.cjs');
33
+ var _chunkHXURNKXIcjs = require('./chunk-HXURNKXI.cjs');
34
34
 
35
35
 
36
- var _chunkN3MBQRCQcjs = require('./chunk-N3MBQRCQ.cjs');
36
+ var _chunkVCFQHPOOcjs = require('./chunk-VCFQHPOO.cjs');
37
37
 
38
38
 
39
39
  var _chunkFCZAUK4Dcjs = require('./chunk-FCZAUK4D.cjs');
@@ -119,14 +119,14 @@ function ContactForm({
119
119
  successToastMessage = "Redirecting you to join our community...",
120
120
  rescue: rescueForm = null
121
121
  } = {}) {
122
- const attachments = _chunkFXLROQUTcjs.useChatAttachments.call(void 0, );
123
- const builtInSubmission = _chunkFNQWL4W4cjs.useContactSubmission.call(void 0, {
122
+ const attachments = _chunkLFEURIZNcjs.useChatAttachments.call(void 0, );
123
+ const builtInSubmission = _chunkUO2EJGRJcjs.useContactSubmission.call(void 0, {
124
124
  userId,
125
125
  successRedirectUrl,
126
126
  successToastMessage
127
127
  });
128
128
  const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
129
- const { honeypotInputProps, getSignals, resetSignals } = _chunkFNQWL4W4cjs.useHumanitySignals.call(void 0, );
129
+ const { honeypotInputProps, getSignals, resetSignals } = _chunkUO2EJGRJcjs.useHumanitySignals.call(void 0, );
130
130
  const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
131
131
  const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
132
132
  const form = _reacthookform.useForm.call(void 0, {
@@ -152,7 +152,7 @@ function ContactForm({
152
152
  ),
153
153
  [hideFields]
154
154
  );
155
- const rescue = _chunkFNQWL4W4cjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
155
+ const rescue = _chunkUO2EJGRJcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
156
156
  const handleFormSubmit = async (data) => {
157
157
  if (isSubmitting) return;
158
158
  if (attachmentsEnabled && attachments.hasInflightUploads) return;
@@ -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: `${_chunk533QK4R6cjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk533QK4R6cjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkNMWLXHFHcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkNMWLXHFHcjs.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,22 +203,22 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunkTX4NTH22cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkIC4IJJB2cjs.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, _chunkXKOL5CNUcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD3H6AI7Ocjs.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: [
216
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "name", children: [
216
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVCFQHPOOcjs.Label, { htmlFor: "name", children: [
217
217
  "Your Name",
218
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZGEWT3SFcjs.RequiredMark, {})
218
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHXURNKXIcjs.RequiredMark, {})
219
219
  ] }),
220
220
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
221
- _chunkZGEWT3SFcjs.Input,
221
+ _chunkHXURNKXIcjs.Input,
222
222
  {
223
223
  id: "name",
224
224
  type: "text",
@@ -233,12 +233,12 @@ function ContactForm({
233
233
  errors.name && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "name-error", className: "mt-1 text-ods-error text-h6", children: errors.name.message })
234
234
  ] }),
235
235
  showEmail && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
236
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "email", children: [
236
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVCFQHPOOcjs.Label, { htmlFor: "email", children: [
237
237
  "Email",
238
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZGEWT3SFcjs.RequiredMark, {})
238
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHXURNKXIcjs.RequiredMark, {})
239
239
  ] }),
240
240
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
241
- _chunkZGEWT3SFcjs.Input,
241
+ _chunkHXURNKXIcjs.Input,
242
242
  {
243
243
  id: "email",
244
244
  type: "email",
@@ -255,46 +255,46 @@ function ContactForm({
255
255
  ] }),
256
256
  (showCompanySize || showReferralSource) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
257
257
  showCompanySize && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
258
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "companySize", children: "Company Size" }),
258
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { htmlFor: "companySize", children: "Company Size" }),
259
259
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
260
260
  _reacthookform.Controller,
261
261
  {
262
262
  control,
263
263
  name: "companySize",
264
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCAGNWDVJcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
264
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCOJG2ATYcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
265
265
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
266
- _chunkCAGNWDVJcjs.SelectTrigger,
266
+ _chunkCOJG2ATYcjs.SelectTrigger,
267
267
  {
268
268
  id: "companySize",
269
269
  "aria-label": "Company Size",
270
270
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
271
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectValue, { placeholder: "Select company size" })
271
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectValue, { placeholder: "Select company size" })
272
272
  }
273
273
  ),
274
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectItem, { value: opt, children: opt }, opt)) })
274
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectItem, { value: opt, children: opt }, opt)) })
275
275
  ] })
276
276
  }
277
277
  ),
278
278
  errors.companySize && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "companySize-error", className: "mt-1 text-ods-error text-h6", children: errors.companySize.message })
279
279
  ] }),
280
280
  showReferralSource && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
281
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "referralSource", children: "How did you hear about us?" }),
281
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVCFQHPOOcjs.Label, { htmlFor: "referralSource", children: "How did you hear about us?" }),
282
282
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
283
283
  _reacthookform.Controller,
284
284
  {
285
285
  control,
286
286
  name: "referralSource",
287
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCAGNWDVJcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
287
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCOJG2ATYcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
289
- _chunkCAGNWDVJcjs.SelectTrigger,
289
+ _chunkCOJG2ATYcjs.SelectTrigger,
290
290
  {
291
291
  id: "referralSource",
292
292
  "aria-label": "Referral Source",
293
293
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
294
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectValue, { placeholder: "Select an option" })
294
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectValue, { placeholder: "Select an option" })
295
295
  }
296
296
  ),
297
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectItem, { value: opt, children: opt }, opt)) })
297
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectItem, { value: opt, children: opt }, opt)) })
298
298
  ] })
299
299
  }
300
300
  ),
@@ -302,39 +302,39 @@ function ContactForm({
302
302
  ] })
303
303
  ] }),
304
304
  showHelpCategory && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
305
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "helpCategory", children: [
305
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVCFQHPOOcjs.Label, { htmlFor: "helpCategory", children: [
306
306
  "Choose your main interest",
307
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZGEWT3SFcjs.RequiredMark, {})
307
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHXURNKXIcjs.RequiredMark, {})
308
308
  ] }),
309
309
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
310
310
  _reacthookform.Controller,
311
311
  {
312
312
  control,
313
313
  name: "helpCategory",
314
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCAGNWDVJcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
314
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCOJG2ATYcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
315
315
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
316
- _chunkCAGNWDVJcjs.SelectTrigger,
316
+ _chunkCOJG2ATYcjs.SelectTrigger,
317
317
  {
318
318
  id: "helpCategory",
319
319
  "aria-label": "Help Category",
320
320
  "aria-required": true,
321
321
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
322
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectValue, { placeholder: "Choose your main interest" })
322
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectValue, { placeholder: "Choose your main interest" })
323
323
  }
324
324
  ),
325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCAGNWDVJcjs.SelectItem, { value: opt, children: opt }, opt)) })
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCOJG2ATYcjs.SelectItem, { value: opt, children: opt }, opt)) })
326
326
  ] })
327
327
  }
328
328
  ),
329
329
  errors.helpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "helpCategory-error", className: "mt-1 text-ods-error text-h6", children: errors.helpCategory.message })
330
330
  ] }),
331
331
  showMessage && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-grow flex-col", children: [
332
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkN3MBQRCQcjs.Label, { htmlFor: "message", children: [
332
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVCFQHPOOcjs.Label, { htmlFor: "message", children: [
333
333
  "Your Message",
334
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZGEWT3SFcjs.RequiredMark, {})
334
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHXURNKXIcjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkXKOL5CNUcjs.Textarea,
337
+ _chunkD3H6AI7Ocjs.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
- _chunkFXLROQUTcjs.ChatAttachmentChipStrip,
352
+ _chunkLFEURIZNcjs.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
- _chunkFXLROQUTcjs.ChatAttachmentAddButton,
361
+ _chunkLFEURIZNcjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,