@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
@@ -5,16 +5,16 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkFXLROQUTcjs = require('./chunk-FXLROQUT.cjs');
8
+ var _chunkLFEURIZNcjs = require('./chunk-LFEURIZN.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkGRCOEICKcjs = require('./chunk-GRCOEICK.cjs');
13
+ var _chunkG7GF4PWAcjs = require('./chunk-G7GF4PWA.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkTIVPOVIMcjs = require('./chunk-TIVPOVIM.cjs');
17
+ var _chunkETZFBB7Ocjs = require('./chunk-ETZFBB7O.cjs');
18
18
 
19
19
 
20
20
  var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
@@ -35,7 +35,7 @@ var _jsxruntime = require('react/jsx-runtime');
35
35
  function DocSearchResultRow({ result, isHighlighted }) {
36
36
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
37
37
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
38
- const { Icon: SourceIcon, label: iconLabel } = _chunkFXLROQUTcjs.resolveSourceIcon.call(void 0, {
38
+ const { Icon: SourceIcon, label: iconLabel } = _chunkLFEURIZNcjs.resolveSourceIcon.call(void 0, {
39
39
  sourceRepo,
40
40
  documentType: docType
41
41
  });
@@ -65,7 +65,7 @@ function DocSearchBar({
65
65
  renderResult
66
66
  }) {
67
67
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
68
- _chunkFXLROQUTcjs.SearchInput,
68
+ _chunkLFEURIZNcjs.SearchInput,
69
69
  {
70
70
  placeholder,
71
71
  value: query,
@@ -115,7 +115,7 @@ function mapDocSearchResults(docs) {
115
115
  results.push({
116
116
  id: `group-${entry.repo}`,
117
117
  // Same table label and count as the chat's grouped chip: one owner each.
118
- title: `${_chunkFXLROQUTcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkFXLROQUTcjs.recordCountLabel.call(void 0, rows.length)}`,
118
+ title: `${_chunkLFEURIZNcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkLFEURIZNcjs.recordCountLabel.call(void 0, rows.length)}`,
119
119
  path: rows[0].path,
120
120
  type: "file",
121
121
  metadata: {
@@ -171,9 +171,9 @@ function resolveSearchResultAction(result, source, runtime, composeContentUrl) {
171
171
  externalUrl,
172
172
  targetPlatform: _nullishCoalesce(targetPlatform, () => ( null))
173
173
  }) : null;
174
- const hostRoute = !!_optionalChain([composed, 'optionalAccess', _10 => _10.href]) && _chunkTIVPOVIMcjs.isRelativeHref.call(void 0, composed.href);
174
+ const hostRoute = !!_optionalChain([composed, 'optionalAccess', _10 => _10.href]) && _chunkETZFBB7Ocjs.isRelativeHref.call(void 0, composed.href);
175
175
  const actionPlatform = composed ? composed.targetPlatform : _nullishCoalesce(targetPlatform, () => ( null));
176
- const target = _chunkTIVPOVIMcjs.navLinkTarget.call(void 0, runtime, _optionalChain([composed, 'optionalAccess', _11 => _11.href]) || externalUrl, actionPlatform, { hostRoute });
176
+ const target = _chunkETZFBB7Ocjs.navLinkTarget.call(void 0, runtime, _optionalChain([composed, 'optionalAccess', _11 => _11.href]) || externalUrl, actionPlatform, { hostRoute });
177
177
  const kind = target.isNewTab ? "navigate-new-tab" : "navigate-same-tab";
178
178
  return hostRoute ? { kind, href: target.href, targetPlatform: actionPlatform, hostRoute } : { kind, href: target.href, targetPlatform: actionPlatform };
179
179
  }
@@ -239,7 +239,7 @@ function useDocSearch(config) {
239
239
  const [query, setQuery] = _react.useState.call(void 0, "");
240
240
  const [results, setResults] = _react.useState.call(void 0, NO_RESULTS);
241
241
  const [isFetching, setIsFetching] = _react.useState.call(void 0, false);
242
- const debouncedQuery = _chunkGRCOEICKcjs.useDebounce.call(void 0, query, 300);
242
+ const debouncedQuery = _chunkG7GF4PWAcjs.useDebounce.call(void 0, query, 300);
243
243
  const searchable = debouncedQuery.trim().length >= 2;
244
244
  const [wasSearchable, setWasSearchable] = _react.useState.call(void 0, searchable);
245
245
  if (wasSearchable !== searchable) {
@@ -297,13 +297,13 @@ function useDocSearch(config) {
297
297
  case "navigate-new-tab": {
298
298
  if (wantsNewTab) {
299
299
  setKeepOpen(true);
300
- _chunkGRCOEICKcjs.executeNewTabNavigation.call(void 0, { runtime, href: action.href, targetPlatform: action.targetPlatform });
300
+ _chunkG7GF4PWAcjs.executeNewTabNavigation.call(void 0, { runtime, href: action.href, targetPlatform: action.targetPlatform });
301
301
  return;
302
302
  }
303
303
  setKeepOpen(action.kind === "navigate-new-tab");
304
304
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
305
305
  if (action.kind === "navigate-same-tab" && path && _optionalChain([onInPageSwap, 'optionalCall', _15 => _15(path)])) return;
306
- _chunkGRCOEICKcjs.executeNavigationImperative.call(void 0, {
306
+ _chunkG7GF4PWAcjs.executeNavigationImperative.call(void 0, {
307
307
  runtime,
308
308
  href: action.href,
309
309
  path,
@@ -314,7 +314,7 @@ function useDocSearch(config) {
314
314
  }
315
315
  case "ask-ai":
316
316
  setKeepOpen(false);
317
- window.dispatchEvent(new CustomEvent(_chunkFXLROQUTcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
317
+ window.dispatchEvent(new CustomEvent(_chunkLFEURIZNcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
318
318
  return;
319
319
  case "route":
320
320
  setKeepOpen(false);
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkALRYVZ3Ecjs = require('./chunk-ALRYVZ3E.cjs');
4
+ var _chunkDLTPSP5Fcjs = require('./chunk-DLTPSP5F.cjs');
5
5
 
6
6
 
7
7
 
@@ -184,14 +184,14 @@ function UnifiedPagination({
184
184
  }, 0);
185
185
  };
186
186
  if (loading) {
187
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALRYVZ3Ecjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
187
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDLTPSP5Fcjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
188
188
  }
189
189
  if (totalPages <= 1) {
190
- return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALRYVZ3Ecjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
190
+ return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDLTPSP5Fcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
191
191
  } }) }) }) : null;
192
192
  }
193
193
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
194
- _chunkALRYVZ3Ecjs.Pagination,
194
+ _chunkDLTPSP5Fcjs.Pagination,
195
195
  {
196
196
  currentPage,
197
197
  totalPages,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk36DUCHI7cjs = require('./chunk-36DUCHI7.cjs');
4
+ var _chunk6GWRPW6Bcjs = require('./chunk-6GWRPW6B.cjs');
5
5
 
6
6
 
7
7
 
@@ -118,7 +118,7 @@ function PersistentPaginationWrapper({
118
118
  },
119
119
  "aria-hidden": isPaginationDisabled,
120
120
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
121
- _chunk36DUCHI7cjs.UnifiedPagination,
121
+ _chunk6GWRPW6Bcjs.UnifiedPagination,
122
122
  {
123
123
  currentPage: displayCurrentPage,
124
124
  totalPages: displayTotalPages,
@@ -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 _chunkTX4NTH22cjs = require('./chunk-TX4NTH22.cjs');
4
+ var _chunkIC4IJJB2cjs = require('./chunk-IC4IJJB2.cjs');
5
5
 
6
6
 
7
- var _chunk3W4ASAXNcjs = require('./chunk-3W4ASAXN.cjs');
7
+ var _chunkEIACEY2Lcjs = require('./chunk-EIACEY2L.cjs');
8
8
 
9
9
 
10
10
 
@@ -14,7 +14,7 @@ var _chunk3W4ASAXNcjs = require('./chunk-3W4ASAXN.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkGRCOEICKcjs = require('./chunk-GRCOEICK.cjs');
17
+ var _chunkG7GF4PWAcjs = require('./chunk-G7GF4PWA.cjs');
18
18
 
19
19
 
20
20
 
@@ -76,7 +76,7 @@ function HorizontalSectionNav({
76
76
  className: _chunk63A4GZMBcjs.cn.call(void 0, HORIZONTAL_NAV_CLASS, STICKY_SECTION_NAV_HEIGHT_CLASS, className),
77
77
  children: [
78
78
  brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HORIZONTAL_BRAND_CLASS, children: brand }),
79
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3W4ASAXNcjs.ScrollShadow, { axis: "horizontal", className: "min-w-0 flex-1", scrollClassName: HORIZONTAL_ROW_CLASS, children: sections.map((section) => {
79
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEIACEY2Lcjs.ScrollShadow, { axis: "horizontal", className: "min-w-0 flex-1", scrollClassName: HORIZONTAL_ROW_CLASS, children: sections.map((section) => {
80
80
  const active = activeSection === section.id;
81
81
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
82
82
  _chunkV45KLJQPcjs.next_link_default,
@@ -230,7 +230,7 @@ function useSectionNavigation(sections, options) {
230
230
  if (!targetElement) return;
231
231
  isScrollingFromClick.current = true;
232
232
  setActiveSection(sectionId);
233
- _chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
233
+ _chunkG7GF4PWAcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
234
234
  setTimeout(() => {
235
235
  isScrollingFromClick.current = false;
236
236
  }, 500);
@@ -283,13 +283,13 @@ var SCROLL_OFFSET = 100;
283
283
  var ID_SEPARATOR = "\n";
284
284
  var LINE_TOLERANCE_PX = 1;
285
285
  function currentHashId() {
286
- return _chunkGRCOEICKcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
286
+ return _chunkG7GF4PWAcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
287
287
  }
288
288
  function activeChildAnchor(section) {
289
- return _nullishCoalesce(_optionalChain([section, 'access', _10 => _10.querySelector, 'call', _11 => _11(`[${_chunkGRCOEICKcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _12 => _12.id]), () => ( null));
289
+ return _nullishCoalesce(_optionalChain([section, 'access', _10 => _10.querySelector, 'call', _11 => _11(`[${_chunkG7GF4PWAcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _12 => _12.id]), () => ( null));
290
290
  }
291
291
  function hashIsWithin(section) {
292
- return section.contains(_chunkGRCOEICKcjs.getHashTargetElement.call(void 0, currentHashId()));
292
+ return section.contains(_chunkG7GF4PWAcjs.getHashTargetElement.call(void 0, currentHashId()));
293
293
  }
294
294
  function hashForSection(sectionId) {
295
295
  const section = document.getElementById(sectionId);
@@ -297,7 +297,7 @@ function hashForSection(sectionId) {
297
297
  return _nullishCoalesce(activeChildAnchor(section), () => ( (hashIsWithin(section) ? currentHashId() : sectionId)));
298
298
  }
299
299
  function resolveScroller(firstSection) {
300
- const container = firstSection ? _chunkGRCOEICKcjs.getScrollableAncestor.call(void 0, firstSection) : null;
300
+ const container = firstSection ? _chunkG7GF4PWAcjs.getScrollableAncestor.call(void 0, firstSection) : null;
301
301
  if (container) {
302
302
  return {
303
303
  target: container,
@@ -327,8 +327,8 @@ function useScrollSpy(sections, options = {}) {
327
327
  if (!targetElement) return;
328
328
  isScrollingFromClick.current = true;
329
329
  setActiveSection(sectionId);
330
- if (syncHash) _chunkGRCOEICKcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
331
- _chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
330
+ if (syncHash) _chunkG7GF4PWAcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
331
+ _chunkG7GF4PWAcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
332
332
  setTimeout(() => {
333
333
  isScrollingFromClick.current = false;
334
334
  }, 800);
@@ -344,7 +344,7 @@ function useScrollSpy(sections, options = {}) {
344
344
  const scrollTop = scroller.scrollTop();
345
345
  const viewportTop = scroller.viewportTop();
346
346
  const sectionTop = (element) => element.getBoundingClientRect().top - viewportTop + scrollTop;
347
- const reached = (element) => scrollTop + Math.max(headerOffset, _chunkGRCOEICKcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
347
+ const reached = (element) => scrollTop + Math.max(headerOffset, _chunkG7GF4PWAcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
348
348
  const first = document.getElementById(_nullishCoalesce(sectionIds[0], () => ( "")));
349
349
  let currentSection = _nullishCoalesce(sectionIds[0], () => ( ""));
350
350
  const scrollHeight = scroller.scrollHeight();
@@ -367,16 +367,16 @@ function useScrollSpy(sections, options = {}) {
367
367
  setActiveSection((prev) => prev !== active ? active : prev);
368
368
  if (!syncHash) return;
369
369
  if (fromScroll) {
370
- _chunkGRCOEICKcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
370
+ _chunkG7GF4PWAcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
371
371
  return;
372
372
  }
373
- if (restoredChecked.current || !_chunkGRCOEICKcjs.isScrollSyncedHash.call(void 0, )) return;
374
- const target = _chunkGRCOEICKcjs.getHashTargetElement.call(void 0, currentHashId());
373
+ if (restoredChecked.current || !_chunkG7GF4PWAcjs.isScrollSyncedHash.call(void 0, )) return;
374
+ const target = _chunkG7GF4PWAcjs.getHashTargetElement.call(void 0, currentHashId());
375
375
  const tracked = sectionIds.some((id) => _nullishCoalesce(_optionalChain([document, 'access', _17 => _17.getElementById, 'call', _18 => _18(id), 'optionalAccess', _19 => _19.contains, 'call', _20 => _20(target)]), () => ( false)));
376
376
  if (!target || !tracked) return;
377
377
  restoredChecked.current = true;
378
378
  const section = isAboveFirst ? null : document.getElementById(currentSection);
379
- if (!_optionalChain([section, 'optionalAccess', _21 => _21.contains, 'call', _22 => _22(target)])) _chunkGRCOEICKcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
379
+ if (!_optionalChain([section, 'optionalAccess', _21 => _21.contains, 'call', _22 => _22(target)])) _chunkG7GF4PWAcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
380
380
  };
381
381
  let scrollTimer;
382
382
  const throttledScroll = () => {
@@ -396,7 +396,7 @@ function useScrollSpy(sections, options = {}) {
396
396
  // src/components/navigation/multi-level-navigation.tsx
397
397
  var _lucidereact = require('lucide-react');
398
398
 
399
- var DEFAULT_FOLDER_INDEX_FILE2 = _chunkTX4NTH22cjs.DEFAULT_FOLDER_INDEX_FILE;
399
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkIC4IJJB2cjs.DEFAULT_FOLDER_INDEX_FILE;
400
400
  var NAV_LIST_CLASS = "space-y-2";
401
401
  var NAV_ITEM_CLASS = "space-y-1";
402
402
  var NAV_ROW_FRAME_CLASS = "relative w-full rounded-lg border transition-all duration-150";