@flamingo-stack/openframe-frontend-core 0.0.719 → 0.0.721

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 (228) hide show
  1. package/dist/assets/index.cjs +6 -0
  2. package/dist/assets/index.d.ts +1 -0
  3. package/dist/assets/index.d.ts.map +1 -1
  4. package/dist/assets/index.js +5 -1
  5. package/dist/assets/mobile-app-qr.d.ts +17 -0
  6. package/dist/assets/mobile-app-qr.d.ts.map +1 -0
  7. package/dist/{chunk-2JLP2X2M.js → chunk-2P2M27EW.js} +2396 -2369
  8. package/dist/{chunk-IWCPXJEE.js → chunk-2TXGR7IK.js} +138 -63
  9. package/dist/{chunk-FVQJBII6.js → chunk-3LY7V3RF.js} +3 -3
  10. package/dist/{chunk-HCFNEKO3.cjs → chunk-3R32ZNA2.cjs} +46 -46
  11. package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
  12. package/dist/{chunk-NZ5BHDFZ.js → chunk-44Q6MV7C.js} +2 -2
  13. package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
  14. package/dist/{chunk-ZXCZYMN4.cjs → chunk-4LY6R4TN.cjs} +137 -62
  15. package/dist/{chunk-EAHOB64X.js → chunk-57UTI7ZH.js} +106 -42
  16. package/dist/{chunk-XGHGGBM3.js → chunk-5QXE5HMV.js} +4 -4
  17. package/dist/{chunk-NYWESHOQ.cjs → chunk-6AJIOW3S.cjs} +57 -57
  18. package/dist/{chunk-4QFWGLZO.js → chunk-6YBUQAOH.js} +1 -1
  19. package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
  20. package/dist/{chunk-D6PMVWDI.js → chunk-74N742ZG.js} +6 -6
  21. package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
  22. package/dist/{chunk-4HJRHEXD.cjs → chunk-7Z5FMQYR.cjs} +22 -22
  23. package/dist/chunk-AFTRPEXO.js +13 -0
  24. package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
  25. package/dist/{chunk-LCLDFMDF.cjs → chunk-BYVVE7HP.cjs} +58 -58
  26. package/dist/{chunk-JPD4NXH6.js → chunk-CO3FOZIH.js} +1 -1
  27. package/dist/{chunk-E7YCPY7K.cjs → chunk-D2DH6VZL.cjs} +3 -3
  28. package/dist/{chunk-HWVUR735.cjs → chunk-DFM572VH.cjs} +2 -2
  29. package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
  30. package/dist/{chunk-5U3KWQXP.js → chunk-E6SMMMKV.js} +13 -13
  31. package/dist/chunk-EWPR7662.cjs +13 -0
  32. package/dist/{chunk-SWAVO7BB.cjs → chunk-F7ORKKEF.cjs} +108 -108
  33. package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
  34. package/dist/{chunk-ETYLOZOB.cjs → chunk-GCK75D7F.cjs} +109 -22
  35. package/dist/{chunk-ZKNZ2CXW.cjs → chunk-GGBYZKMS.cjs} +11 -11
  36. package/dist/{chunk-Y4MB25KW.js → chunk-GYAXV3MZ.js} +3 -3
  37. package/dist/{chunk-UWQWMGJ7.cjs → chunk-HJMSNOBT.cjs} +1040 -696
  38. package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
  39. package/dist/{chunk-JH2SIWPQ.js → chunk-HXB7SEYG.js} +1611 -1267
  40. package/dist/{chunk-LE5WKGJV.cjs → chunk-I2254QN6.cjs} +16 -16
  41. package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
  42. package/dist/{chunk-ILNN6QRW.js → chunk-JDBZ4ZHU.js} +3 -3
  43. package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
  44. package/dist/{chunk-6YPTUHM7.js → chunk-K76ACBR3.js} +3 -3
  45. package/dist/{chunk-2NASBO7O.js → chunk-KFOAV77K.js} +2 -2
  46. package/dist/{chunk-CU6NWO2M.js → chunk-LAXKEBDD.js} +14 -18
  47. package/dist/{chunk-5YAGX5DY.js → chunk-LGKMR7NZ.js} +7 -7
  48. package/dist/{chunk-E2V2EH2G.cjs → chunk-LODMNSQY.cjs} +16 -16
  49. package/dist/{chunk-4D6NMPOO.js → chunk-NJ5TBTJG.js} +7 -7
  50. package/dist/{chunk-TDZ76NCB.cjs → chunk-NMPVK53I.cjs} +29 -29
  51. package/dist/{chunk-TTVOLEUS.js → chunk-NPSJE7J3.js} +90 -3
  52. package/dist/{chunk-H5VIMBRN.cjs → chunk-O5EHOJZD.cjs} +4 -4
  53. package/dist/{chunk-KT3U3ZRP.cjs → chunk-OKE5BIQH.cjs} +8 -8
  54. package/dist/{chunk-DC4RTYWK.cjs → chunk-QLTXT562.cjs} +5 -5
  55. package/dist/{chunk-H5V7GRN5.js → chunk-QQCFPMAA.js} +5 -7
  56. package/dist/{chunk-7BREFV7G.cjs → chunk-QYS4YVEP.cjs} +34 -36
  57. package/dist/{chunk-7BCY77W6.js → chunk-RCI3PALX.js} +8 -10
  58. package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
  59. package/dist/{chunk-4JIGEK7C.cjs → chunk-RJMWJAJO.cjs} +97 -33
  60. package/dist/{chunk-WS7WRR5Z.cjs → chunk-RQZQHLNS.cjs} +86 -90
  61. package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
  62. package/dist/{chunk-AJHSQ5XK.js → chunk-S63QBBT7.js} +6 -6
  63. package/dist/{chunk-TELAANY6.js → chunk-UXU7Y5BH.js} +2 -2
  64. package/dist/{chunk-NQVS4G7G.cjs → chunk-UZTOI6FJ.cjs} +773 -746
  65. package/dist/{chunk-DFEPUYTF.cjs → chunk-VFICDEYJ.cjs} +45 -47
  66. package/dist/{chunk-LOZLHG2U.cjs → chunk-XE2K53GH.cjs} +20 -20
  67. package/dist/{chunk-QBCDSTLE.cjs → chunk-XXO52RZR.cjs} +26 -26
  68. package/dist/{chunk-TTEFN6VO.js → chunk-ZLUFEWZZ.js} +10 -10
  69. package/dist/{chunk-MA4Q5RBP.cjs → chunk-ZSOFLPQN.cjs} +9 -9
  70. package/dist/{chunk-KBJJQFYU.js → chunk-ZZEKXGFS.js} +2 -2
  71. package/dist/{cloud-tenants-FBUO66GW.cjs → cloud-tenants-HZHKRUIW.cjs} +16 -16
  72. package/dist/{cloud-tenants-DNBPNQNP.js → cloud-tenants-Q4TCJS5Y.js} +15 -15
  73. package/dist/components/calendar.cjs +4 -4
  74. package/dist/components/calendar.js +1 -1
  75. package/dist/components/case-studies/index.cjs +30 -30
  76. package/dist/components/case-studies/index.js +16 -16
  77. package/dist/components/chat/ask-prompts.d.ts +10 -2
  78. package/dist/components/chat/ask-prompts.d.ts.map +1 -1
  79. package/dist/components/chat/assistant-ask-prompts.d.ts +27 -0
  80. package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -0
  81. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  82. package/dist/components/chat/hooks/index.d.ts +1 -0
  83. package/dist/components/chat/hooks/index.d.ts.map +1 -1
  84. package/dist/components/chat/hooks/use-ask-prompts.d.ts +63 -0
  85. package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -0
  86. package/dist/components/chat/index.cjs +27 -10
  87. package/dist/components/chat/index.d.ts +1 -0
  88. package/dist/components/chat/index.d.ts.map +1 -1
  89. package/dist/components/chat/index.js +26 -9
  90. package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
  91. package/dist/components/contact/index.cjs +17 -17
  92. package/dist/components/contact/index.js +16 -16
  93. package/dist/components/docs/index.cjs +20 -20
  94. package/dist/components/docs/index.js +19 -19
  95. package/dist/components/embeds/index.cjs +17 -17
  96. package/dist/components/embeds/index.js +16 -16
  97. package/dist/components/faq/faq-ask-card.d.ts +44 -0
  98. package/dist/components/faq/faq-ask-card.d.ts.map +1 -0
  99. package/dist/components/faq/faq-document-page.d.ts +5 -1
  100. package/dist/components/faq/faq-document-page.d.ts.map +1 -1
  101. package/dist/components/faq/faq-section.d.ts +18 -5
  102. package/dist/components/faq/faq-section.d.ts.map +1 -1
  103. package/dist/components/faq/index.cjs +19 -18
  104. package/dist/components/faq/index.d.ts +1 -0
  105. package/dist/components/faq/index.d.ts.map +1 -1
  106. package/dist/components/faq/index.js +18 -17
  107. package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
  108. package/dist/components/features/index.cjs +16 -16
  109. package/dist/components/features/index.js +15 -15
  110. package/dist/components/help-center-pages/download-apps-page.d.ts +55 -0
  111. package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
  112. package/dist/components/help-center-pages/index.cjs +333 -119
  113. package/dist/components/help-center-pages/index.d.ts +1 -0
  114. package/dist/components/help-center-pages/index.d.ts.map +1 -1
  115. package/dist/components/help-center-pages/index.js +251 -37
  116. package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
  117. package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
  118. package/dist/components/index.cjs +131 -217
  119. package/dist/components/index.js +236 -322
  120. package/dist/components/meeting-scheduler/index.cjs +61 -62
  121. package/dist/components/meeting-scheduler/index.js +18 -19
  122. package/dist/components/navigation/index.cjs +19 -19
  123. package/dist/components/navigation/index.js +18 -18
  124. package/dist/components/navigation/mingo-ai-button.d.ts +1 -1
  125. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
  126. package/dist/components/onboarding-guides/index.cjs +19 -20
  127. package/dist/components/onboarding-guides/index.js +18 -19
  128. package/dist/components/product-demo/index.cjs +8 -8
  129. package/dist/components/product-demo/index.js +8 -8
  130. package/dist/components/related-content/index.cjs +7 -9
  131. package/dist/components/related-content/index.js +6 -8
  132. package/dist/components/tickets/index.cjs +21 -21
  133. package/dist/components/tickets/index.js +20 -20
  134. package/dist/components/ui/button/button.d.ts.map +1 -1
  135. package/dist/components/ui/file-manager/index.cjs +11 -11
  136. package/dist/components/ui/file-manager/index.js +1 -1
  137. package/dist/components/ui/index.cjs +34 -16
  138. package/dist/components/ui/index.d.ts +1 -0
  139. package/dist/components/ui/index.d.ts.map +1 -1
  140. package/dist/components/ui/index.js +33 -15
  141. package/dist/components/ui/mobile-app-qr.d.ts +23 -0
  142. package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
  143. package/dist/components/ui/store-badges.d.ts +7 -4
  144. package/dist/components/ui/store-badges.d.ts.map +1 -1
  145. package/dist/contexts/assistant-runtime-context.d.ts +74 -0
  146. package/dist/contexts/assistant-runtime-context.d.ts.map +1 -0
  147. package/dist/contexts/index.cjs +7 -1
  148. package/dist/contexts/index.d.ts +1 -0
  149. package/dist/contexts/index.d.ts.map +1 -1
  150. package/dist/contexts/index.js +6 -0
  151. package/dist/{devices-5A5TY4JD.cjs → devices-6XHUFIC6.cjs} +17 -17
  152. package/dist/{devices-PLDAEUSL.js → devices-NOUGVTES.js} +15 -15
  153. package/dist/hooks/index.cjs +10 -5
  154. package/dist/hooks/index.d.ts +1 -0
  155. package/dist/hooks/index.d.ts.map +1 -1
  156. package/dist/hooks/index.js +9 -4
  157. package/dist/hooks/use-downloads.d.ts +41 -0
  158. package/dist/hooks/use-downloads.d.ts.map +1 -0
  159. package/dist/index.cjs +80 -20
  160. package/dist/index.js +79 -19
  161. package/dist/{knowledge-G6Q5KRWV.js → knowledge-2YTUXQ2Z.js} +15 -15
  162. package/dist/{knowledge-FKTJ723Z.cjs → knowledge-ANEKPMO2.cjs} +17 -17
  163. package/dist/{logs-CJCXUBU6.cjs → logs-U3IB3HUM.cjs} +25 -25
  164. package/dist/{logs-QMV6XIC4.js → logs-WVQIONUT.js} +15 -15
  165. package/dist/{policies-G6D7AX6F.js → policies-66EGDW2H.js} +15 -15
  166. package/dist/{policies-QMRTK3CY.cjs → policies-UFRN2EQF.cjs} +20 -20
  167. package/dist/{remote-session-DBD6OSTX.js → remote-session-6WEUJZDC.js} +5 -5
  168. package/dist/{remote-session-2JVI7RVA.cjs → remote-session-A75X5NPC.cjs} +7 -7
  169. package/dist/{software-update-PNZMRDBT.cjs → software-update-2MHKL76D.cjs} +20 -20
  170. package/dist/{software-update-6BQM6BKH.js → software-update-3ZD3MXF3.js} +15 -15
  171. package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-IFWMIZ35.cjs} +9 -9
  172. package/dist/{tickets-board-PYDNELSK.js → tickets-board-MYXG3V72.js} +4 -4
  173. package/dist/types/downloads.d.ts +67 -0
  174. package/dist/types/downloads.d.ts.map +1 -0
  175. package/dist/types/index.cjs +24 -0
  176. package/dist/types/index.d.ts +1 -0
  177. package/dist/types/index.d.ts.map +1 -1
  178. package/dist/types/index.js +16 -1
  179. package/dist/utils/index.cjs +46 -2
  180. package/dist/utils/index.d.ts +2 -0
  181. package/dist/utils/index.d.ts.map +1 -1
  182. package/dist/utils/index.js +40 -3
  183. package/dist/utils/list-url.d.ts.map +1 -1
  184. package/dist/utils/mobile-app.cjs +46 -0
  185. package/dist/utils/mobile-app.d.ts +40 -0
  186. package/dist/utils/mobile-app.d.ts.map +1 -0
  187. package/dist/utils/mobile-app.js +40 -0
  188. package/dist/utils/source-icons.d.ts.map +1 -1
  189. package/dist/utils/trial.d.ts +18 -0
  190. package/dist/utils/trial.d.ts.map +1 -0
  191. package/package.json +7 -1
  192. package/src/assets/index.ts +1 -0
  193. package/src/assets/mobile-app-qr.ts +19 -0
  194. package/src/components/chat/ask-prompts.tsx +25 -3
  195. package/src/components/chat/assistant-ask-prompts.tsx +78 -0
  196. package/src/components/chat/entity-cards/dispatch.tsx +38 -4
  197. package/src/components/chat/hooks/index.ts +12 -0
  198. package/src/components/chat/hooks/use-ask-prompts.ts +188 -0
  199. package/src/components/chat/index.ts +1 -0
  200. package/src/components/chat/utils/icon-library.tsx +6 -0
  201. package/src/components/faq/faq-ask-card.tsx +115 -0
  202. package/src/components/faq/faq-document-page.tsx +6 -1
  203. package/src/components/faq/faq-section.tsx +27 -5
  204. package/src/components/faq/index.ts +1 -0
  205. package/src/components/features/auth/auth-benefits-panel.tsx +5 -4
  206. package/src/components/help-center-pages/download-apps-page.tsx +364 -0
  207. package/src/components/help-center-pages/index.ts +1 -0
  208. package/src/components/help-center-pages/trust-center-page.tsx +5 -2
  209. package/src/components/navigation/mingo-ai-button.tsx +27 -6
  210. package/src/components/ui/button/button.tsx +3 -0
  211. package/src/components/ui/index.ts +1 -0
  212. package/src/components/ui/mobile-app-qr.tsx +40 -0
  213. package/src/components/ui/store-badges.tsx +17 -9
  214. package/src/contexts/assistant-runtime-context.tsx +84 -0
  215. package/src/contexts/index.ts +9 -0
  216. package/src/hooks/index.ts +1 -0
  217. package/src/hooks/use-downloads.ts +138 -0
  218. package/src/types/downloads.ts +82 -0
  219. package/src/types/index.ts +1 -0
  220. package/src/utils/index.ts +3 -0
  221. package/src/utils/list-url.ts +4 -0
  222. package/src/utils/mobile-app.ts +57 -0
  223. package/src/utils/source-icons.ts +10 -2
  224. package/src/utils/trial.ts +19 -0
  225. package/dist/chunk-6X3O67OL.cjs +0 -89
  226. package/dist/chunk-AUMKE74M.cjs +0 -16
  227. package/dist/chunk-G3GRYDMS.js +0 -16
  228. package/dist/chunk-RR6PY34K.js +0 -89
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUWQWMGJ7cjs = require('./chunk-UWQWMGJ7.cjs');
5
+ var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
6
6
 
7
7
 
8
8
 
@@ -12,7 +12,7 @@ var _chunkUWQWMGJ7cjs = require('./chunk-UWQWMGJ7.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkGQ7JJUITcjs = require('./chunk-GQ7JJUIT.cjs');
15
+ var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
16
16
 
17
17
 
18
18
  var _chunkLLRGR4I5cjs = require('./chunk-LLRGR4I5.cjs');
@@ -45,7 +45,7 @@ function HorizontalSectionNav({
45
45
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
46
46
  brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
47
47
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
48
- _chunkUWQWMGJ7cjs.ScrollShadow,
48
+ _chunkHJMSNOBTcjs.ScrollShadow,
49
49
  {
50
50
  axis: "horizontal",
51
51
  className: "min-w-0 flex-1",
@@ -164,7 +164,7 @@ function useSectionNavigation(sections, options) {
164
164
  if (!targetElement) return;
165
165
  isScrollingFromClick.current = true;
166
166
  setActiveSection(sectionId);
167
- _chunkGQ7JJUITcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
167
+ _chunkK2JUJ37Dcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset });
168
168
  setTimeout(() => {
169
169
  isScrollingFromClick.current = false;
170
170
  }, 500);
@@ -217,13 +217,13 @@ var SCROLL_OFFSET = 100;
217
217
  var ID_SEPARATOR = "\n";
218
218
  var LINE_TOLERANCE_PX = 1;
219
219
  function currentHashId() {
220
- return _chunkGQ7JJUITcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
220
+ return _chunkK2JUJ37Dcjs.normalizeHashFragment.call(void 0, window.location.hash).slice(1);
221
221
  }
222
222
  function activeChildAnchor(section) {
223
- return _nullishCoalesce(_optionalChain([section, 'access', _9 => _9.querySelector, 'call', _10 => _10(`[${_chunkGQ7JJUITcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _11 => _11.id]), () => ( null));
223
+ return _nullishCoalesce(_optionalChain([section, 'access', _9 => _9.querySelector, 'call', _10 => _10(`[${_chunkK2JUJ37Dcjs.ACTIVE_ANCHOR_ATTRIBUTE}][id]`), 'optionalAccess', _11 => _11.id]), () => ( null));
224
224
  }
225
225
  function hashIsWithin(section) {
226
- return section.contains(_chunkGQ7JJUITcjs.getHashTargetElement.call(void 0, currentHashId()));
226
+ return section.contains(_chunkK2JUJ37Dcjs.getHashTargetElement.call(void 0, currentHashId()));
227
227
  }
228
228
  function hashForSection(sectionId) {
229
229
  const section = document.getElementById(sectionId);
@@ -231,7 +231,7 @@ function hashForSection(sectionId) {
231
231
  return _nullishCoalesce(activeChildAnchor(section), () => ( (hashIsWithin(section) ? currentHashId() : sectionId)));
232
232
  }
233
233
  function resolveScroller(firstSection) {
234
- const container = firstSection ? _chunkGQ7JJUITcjs.getScrollableAncestor.call(void 0, firstSection) : null;
234
+ const container = firstSection ? _chunkK2JUJ37Dcjs.getScrollableAncestor.call(void 0, firstSection) : null;
235
235
  if (container) {
236
236
  return {
237
237
  target: container,
@@ -261,8 +261,8 @@ function useScrollSpy(sections, options = {}) {
261
261
  if (!targetElement) return;
262
262
  isScrollingFromClick.current = true;
263
263
  setActiveSection(sectionId);
264
- if (syncHash) _chunkGQ7JJUITcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
265
- _chunkGQ7JJUITcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
264
+ if (syncHash) _chunkK2JUJ37Dcjs.replaceLocationHash.call(void 0, _nullishCoalesce(activeChildAnchor(targetElement), () => ( sectionId)));
265
+ _chunkK2JUJ37Dcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset });
266
266
  setTimeout(() => {
267
267
  isScrollingFromClick.current = false;
268
268
  }, 800);
@@ -278,7 +278,7 @@ function useScrollSpy(sections, options = {}) {
278
278
  const scrollTop = scroller.scrollTop();
279
279
  const viewportTop = scroller.viewportTop();
280
280
  const sectionTop = (element) => element.getBoundingClientRect().top - viewportTop + scrollTop;
281
- const reached = (element) => scrollTop + Math.max(headerOffset, _chunkGQ7JJUITcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
281
+ const reached = (element) => scrollTop + Math.max(headerOffset, _chunkK2JUJ37Dcjs.declaredScrollMarginTop.call(void 0, element)) + LINE_TOLERANCE_PX >= sectionTop(element);
282
282
  const first = document.getElementById(_nullishCoalesce(sectionIds[0], () => ( "")));
283
283
  let currentSection = _nullishCoalesce(sectionIds[0], () => ( ""));
284
284
  const scrollHeight = scroller.scrollHeight();
@@ -301,16 +301,16 @@ function useScrollSpy(sections, options = {}) {
301
301
  setActiveSection((prev) => prev !== active ? active : prev);
302
302
  if (!syncHash) return;
303
303
  if (fromScroll) {
304
- _chunkGQ7JJUITcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
304
+ _chunkK2JUJ37Dcjs.replaceLocationHash.call(void 0, isAboveFirst ? null : hashForSection(currentSection));
305
305
  return;
306
306
  }
307
- if (restoredChecked.current || !_chunkGQ7JJUITcjs.isScrollSyncedHash.call(void 0, )) return;
308
- const target = _chunkGQ7JJUITcjs.getHashTargetElement.call(void 0, currentHashId());
307
+ if (restoredChecked.current || !_chunkK2JUJ37Dcjs.isScrollSyncedHash.call(void 0, )) return;
308
+ const target = _chunkK2JUJ37Dcjs.getHashTargetElement.call(void 0, currentHashId());
309
309
  const tracked = sectionIds.some((id) => _nullishCoalesce(_optionalChain([document, 'access', _16 => _16.getElementById, 'call', _17 => _17(id), 'optionalAccess', _18 => _18.contains, 'call', _19 => _19(target)]), () => ( false)));
310
310
  if (!target || !tracked) return;
311
311
  restoredChecked.current = true;
312
312
  const section = isAboveFirst ? null : document.getElementById(currentSection);
313
- if (!_optionalChain([section, 'optionalAccess', _20 => _20.contains, 'call', _21 => _21(target)])) _chunkGQ7JJUITcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
313
+ if (!_optionalChain([section, 'optionalAccess', _20 => _20.contains, 'call', _21 => _21(target)])) _chunkK2JUJ37Dcjs.scrollElementIntoView.call(void 0, target, { headerOffset, behavior: "instant" });
314
314
  };
315
315
  let scrollTimer;
316
316
  const throttledScroll = () => {
@@ -330,7 +330,7 @@ function useScrollSpy(sections, options = {}) {
330
330
  // src/components/navigation/multi-level-navigation.tsx
331
331
  var _lucidereact = require('lucide-react');
332
332
 
333
- var DEFAULT_FOLDER_INDEX_FILE2 = _chunkUWQWMGJ7cjs.DEFAULT_FOLDER_INDEX_FILE;
333
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkHJMSNOBTcjs.DEFAULT_FOLDER_INDEX_FILE;
334
334
  function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
335
335
  const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
336
336
  if (selectedPath === node.path) {
@@ -344,6 +344,7 @@ var OpenmspLogoIcon = ({ size = 16, className }) => /* @__PURE__ */ _jsxruntime.
344
344
  }
345
345
  );
346
346
  var FlamingoLogoIcon = sizedLogo(_chunkLLSUVPQCcjs.FlamingoLogo);
347
+ var FlamingoLogoGreyIcon = ({ size = 16, className, color }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.FlamingoLogo, { className, fill: _nullishCoalesce(color, () => ( "currentColor")), style: { width: size, height: size } });
347
348
  var MlgLogoIcon = ({ size = 16, className, color }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.MlgLogo, { size, className, color: _nullishCoalesce(color, () => ( "var(--color-text-primary)")) });
348
349
  var TmcgLogoIcon = ({ size = 16, className }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
349
350
  _chunkLLSUVPQCcjs.MiamiCyberGangLogoFaceOnly,
@@ -401,6 +402,7 @@ var ICON_ALIASES = {
401
402
  "tmcg-logo": TmcgLogoIcon,
402
403
  flamingo: FlamingoLogoIcon,
403
404
  "flamingo-logo": FlamingoLogoIcon,
405
+ "flamingo-logo-grey": FlamingoLogoGreyIcon,
404
406
  megaphone: _lucidereact.Megaphone,
405
407
  bell: _lucidereact.Bell,
406
408
  info: _lucidereact.Info,
@@ -12,13 +12,13 @@ import {
12
12
  getReadableTextColor,
13
13
  resolveTicketStatus,
14
14
  useCollapsible
15
- } from "./chunk-2NASBO7O.js";
15
+ } from "./chunk-KFOAV77K.js";
16
16
  import {
17
17
  Tooltip,
18
18
  TooltipContent,
19
19
  TooltipProvider,
20
20
  TooltipTrigger
21
- } from "./chunk-P3JMAMHP.js";
21
+ } from "./chunk-REETLEL5.js";
22
22
  import {
23
23
  AgentMark
24
24
  } from "./chunk-H3PKYE4N.js";
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-OSIKGEBU.js";
53
53
  import {
54
54
  Button
55
- } from "./chunk-YDPKUAP4.js";
55
+ } from "./chunk-DJ4IFQNQ.js";
56
56
  import {
57
57
  next_link_default
58
58
  } from "./chunk-DAAVMYUT.js";
@@ -429,6 +429,21 @@ function getPlatformColorClass(platformName) {
429
429
  return _chunkULWVKHSIcjs.getPlatformBrandClasses.call(void 0, platformName).accentBg;
430
430
  }
431
431
 
432
+ // src/types/downloads.ts
433
+ var DOWNLOADS_API_PATH = "/api/downloads";
434
+ var DOWNLOADS_CACHE_SECONDS = 300;
435
+ var DOWNLOADS_TITLE = "Download OpenFrame";
436
+ var DOWNLOADS_TAGLINE = "Install it on the computer you manage IT from, and on your phone. One account everywhere.";
437
+ var DOWNLOADS_MOBILE_TITLE = "Get the OpenFrame app";
438
+ var DOWNLOADS_MOBILE_TAGLINE = "Alerts and tickets on your phone, signed in with the account you already have.";
439
+ var APP_DOWNLOAD_KINDS = ["binary", "command"];
440
+ var DESKTOP_OS_LABELS = { mac: "Mac", windows: "Windows", linux: "Linux" };
441
+ var DOWNLOAD_ARCHITECTURE_LABELS = {
442
+ universal: "Apple Silicon and Intel",
443
+ x64: "x64",
444
+ arm64: "ARM"
445
+ };
446
+
432
447
  // src/utils/access-code-client.ts
433
448
  async function validateAccessCode(email, code, endpoints) {
434
449
  try {
@@ -1204,4 +1219,13 @@ function captureFormRescueEvent(event, properties) {
1204
1219
 
1205
1220
 
1206
1221
 
1207
- exports.useDebounce = useDebounce; exports.useHeaderHeight = useHeaderHeight; exports.useMarqueeEngine = useMarqueeEngine; exports.useResetOnPageHidden = useResetOnPageHidden; exports.useSuppressCloneFocus = useSuppressCloneFocus; exports.PREFERS_REDUCED_MOTION_QUERY = PREFERS_REDUCED_MOTION_QUERY; exports.usePrefersReducedMotion = usePrefersReducedMotion; exports.usePrefersReducedMotionState = usePrefersReducedMotionState; exports.useInView = useInView; exports.useAutoplay = useAutoplay; exports.DESKTOP_OSES = DESKTOP_OSES; exports.detectVisitorOs = detectVisitorOs; exports.desktopOsOf = desktopOsOf; exports.detectDesktopOs = detectDesktopOs; exports.usesCommandKey = usesCommandKey; exports.shortcutLabel = shortcutLabel; exports.useVisitorOs = useVisitorOs; exports.platformIcons = platformIcons; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.toClaudeMirrorPath = toClaudeMirrorPath; exports.toClaudeEmbedUrl = toClaudeEmbedUrl; exports.isBlankLine = isBlankLine; exports.createFenceTracker = createFenceTracker; exports.HEADING_EMOJI_RE = HEADING_EMOJI_RE; exports.stripHeadingEmojis = stripHeadingEmojis; exports.slugifyHeadingBase = slugifyHeadingBase; exports.slugifyHeadingText = slugifyHeadingText; exports.scanHeadings = scanHeadings; exports.createHeadingIdDeduper = createHeadingIdDeduper; exports.normalizeAnchorId = normalizeAnchorId; exports.findAnchorElementByNormalizedId = findAnchorElementByNormalizedId; exports.getScrollableAncestor = getScrollableAncestor; exports.declaredScrollMarginTop = declaredScrollMarginTop; exports.scrollElementIntoView = scrollElementIntoView; exports.STICKY_HEADER_OFFSET_PX = STICKY_HEADER_OFFSET_PX; exports.HUB_HEADER_OFFSET_PX = HUB_HEADER_OFFSET_PX; exports.normalizeHashFragment = normalizeHashFragment; exports.getHashTargetElement = getHashTargetElement; exports.LOCATION_HASH_SYNC_EVENT = LOCATION_HASH_SYNC_EVENT; exports.ACTIVE_ANCHOR_ATTRIBUTE = ACTIVE_ANCHOR_ATTRIBUTE; exports.replaceLocationHash = replaceLocationHash; exports.isScrollSyncedHash = isScrollSyncedHash; exports.navigateSamePageHash = navigateSamePageHash; exports.HONEYPOT_FIELD = HONEYPOT_FIELD; exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD; exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS; exports.HUMANITY_SIGNAL_KEYS = HUMANITY_SIGNAL_KEYS; exports.isHumanitySignalKey = isHumanitySignalKey; exports.extractHumanitySignals = extractHumanitySignals; exports.findHoneypotCopySource = findHoneypotCopySource; exports.evaluateHumanitySignals = evaluateHumanitySignals; exports.splitCsvEnv = splitCsvEnv; exports.defineRescueForm = defineRescueForm; exports.getRescueForm = getRescueForm; exports.listRescueForms = listRescueForms; exports.RESCUE_FORMS = RESCUE_FORMS; exports.FORM_RESCUE_VALUE_FIELDS = FORM_RESCUE_VALUE_FIELDS; exports.isExcludedRescueField = isExcludedRescueField; exports.FORM_RESCUE_MAX_VALUE_CHARS = FORM_RESCUE_MAX_VALUE_CHARS; exports.FORM_RESCUE_DEBOUNCE_MS = FORM_RESCUE_DEBOUNCE_MS; exports.FORM_RESCUE_MAX_FIELDS = FORM_RESCUE_MAX_FIELDS; exports.FORM_RESCUE_ATTEMPT_FIELD = FORM_RESCUE_ATTEMPT_FIELD; exports.FORM_RESCUE_RESUME_FIELD = FORM_RESCUE_RESUME_FIELD; exports.FORM_RESCUE_SUBMIT_KEYS = FORM_RESCUE_SUBMIT_KEYS; exports.FORM_RESCUE_RESUME_PARAM = FORM_RESCUE_RESUME_PARAM; exports.isResumeToken = isResumeToken; exports.FORM_DRAFT_STATUSES = FORM_DRAFT_STATUSES; exports.FORM_RESCUE_SKIP_REASONS = FORM_RESCUE_SKIP_REASONS; exports.isRescueEmail = isRescueEmail; exports.isFormAttemptId = isFormAttemptId; exports.sanitizeRescueValues = sanitizeRescueValues; exports.filledRescueFields = filledRescueFields; exports.rescueCompletionPct = rescueCompletionPct; exports.sanitizeRescueFieldName = sanitizeRescueFieldName; exports.parseFormDraftSaveRequest = parseFormDraftSaveRequest; exports.FORM_RESCUE_EVENTS = FORM_RESCUE_EVENTS; exports.captureFormRescueEvent = captureFormRescueEvent;
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+
1231
+ exports.useDebounce = useDebounce; exports.useHeaderHeight = useHeaderHeight; exports.useMarqueeEngine = useMarqueeEngine; exports.useResetOnPageHidden = useResetOnPageHidden; exports.useSuppressCloneFocus = useSuppressCloneFocus; exports.PREFERS_REDUCED_MOTION_QUERY = PREFERS_REDUCED_MOTION_QUERY; exports.usePrefersReducedMotion = usePrefersReducedMotion; exports.usePrefersReducedMotionState = usePrefersReducedMotionState; exports.useInView = useInView; exports.useAutoplay = useAutoplay; exports.DESKTOP_OSES = DESKTOP_OSES; exports.detectVisitorOs = detectVisitorOs; exports.desktopOsOf = desktopOsOf; exports.detectDesktopOs = detectDesktopOs; exports.usesCommandKey = usesCommandKey; exports.shortcutLabel = shortcutLabel; exports.useVisitorOs = useVisitorOs; exports.platformIcons = platformIcons; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.DOWNLOADS_API_PATH = DOWNLOADS_API_PATH; exports.DOWNLOADS_CACHE_SECONDS = DOWNLOADS_CACHE_SECONDS; exports.DOWNLOADS_TITLE = DOWNLOADS_TITLE; exports.DOWNLOADS_TAGLINE = DOWNLOADS_TAGLINE; exports.DOWNLOADS_MOBILE_TITLE = DOWNLOADS_MOBILE_TITLE; exports.DOWNLOADS_MOBILE_TAGLINE = DOWNLOADS_MOBILE_TAGLINE; exports.APP_DOWNLOAD_KINDS = APP_DOWNLOAD_KINDS; exports.DESKTOP_OS_LABELS = DESKTOP_OS_LABELS; exports.DOWNLOAD_ARCHITECTURE_LABELS = DOWNLOAD_ARCHITECTURE_LABELS; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.toClaudeMirrorPath = toClaudeMirrorPath; exports.toClaudeEmbedUrl = toClaudeEmbedUrl; exports.isBlankLine = isBlankLine; exports.createFenceTracker = createFenceTracker; exports.HEADING_EMOJI_RE = HEADING_EMOJI_RE; exports.stripHeadingEmojis = stripHeadingEmojis; exports.slugifyHeadingBase = slugifyHeadingBase; exports.slugifyHeadingText = slugifyHeadingText; exports.scanHeadings = scanHeadings; exports.createHeadingIdDeduper = createHeadingIdDeduper; exports.normalizeAnchorId = normalizeAnchorId; exports.findAnchorElementByNormalizedId = findAnchorElementByNormalizedId; exports.getScrollableAncestor = getScrollableAncestor; exports.declaredScrollMarginTop = declaredScrollMarginTop; exports.scrollElementIntoView = scrollElementIntoView; exports.STICKY_HEADER_OFFSET_PX = STICKY_HEADER_OFFSET_PX; exports.HUB_HEADER_OFFSET_PX = HUB_HEADER_OFFSET_PX; exports.normalizeHashFragment = normalizeHashFragment; exports.getHashTargetElement = getHashTargetElement; exports.LOCATION_HASH_SYNC_EVENT = LOCATION_HASH_SYNC_EVENT; exports.ACTIVE_ANCHOR_ATTRIBUTE = ACTIVE_ANCHOR_ATTRIBUTE; exports.replaceLocationHash = replaceLocationHash; exports.isScrollSyncedHash = isScrollSyncedHash; exports.navigateSamePageHash = navigateSamePageHash; exports.HONEYPOT_FIELD = HONEYPOT_FIELD; exports.ELAPSED_MS_FIELD = ELAPSED_MS_FIELD; exports.DEFAULT_MIN_FILL_MS = DEFAULT_MIN_FILL_MS; exports.HUMANITY_SIGNAL_KEYS = HUMANITY_SIGNAL_KEYS; exports.isHumanitySignalKey = isHumanitySignalKey; exports.extractHumanitySignals = extractHumanitySignals; exports.findHoneypotCopySource = findHoneypotCopySource; exports.evaluateHumanitySignals = evaluateHumanitySignals; exports.splitCsvEnv = splitCsvEnv; exports.defineRescueForm = defineRescueForm; exports.getRescueForm = getRescueForm; exports.listRescueForms = listRescueForms; exports.RESCUE_FORMS = RESCUE_FORMS; exports.FORM_RESCUE_VALUE_FIELDS = FORM_RESCUE_VALUE_FIELDS; exports.isExcludedRescueField = isExcludedRescueField; exports.FORM_RESCUE_MAX_VALUE_CHARS = FORM_RESCUE_MAX_VALUE_CHARS; exports.FORM_RESCUE_DEBOUNCE_MS = FORM_RESCUE_DEBOUNCE_MS; exports.FORM_RESCUE_MAX_FIELDS = FORM_RESCUE_MAX_FIELDS; exports.FORM_RESCUE_ATTEMPT_FIELD = FORM_RESCUE_ATTEMPT_FIELD; exports.FORM_RESCUE_RESUME_FIELD = FORM_RESCUE_RESUME_FIELD; exports.FORM_RESCUE_SUBMIT_KEYS = FORM_RESCUE_SUBMIT_KEYS; exports.FORM_RESCUE_RESUME_PARAM = FORM_RESCUE_RESUME_PARAM; exports.isResumeToken = isResumeToken; exports.FORM_DRAFT_STATUSES = FORM_DRAFT_STATUSES; exports.FORM_RESCUE_SKIP_REASONS = FORM_RESCUE_SKIP_REASONS; exports.isRescueEmail = isRescueEmail; exports.isFormAttemptId = isFormAttemptId; exports.sanitizeRescueValues = sanitizeRescueValues; exports.filledRescueFields = filledRescueFields; exports.rescueCompletionPct = rescueCompletionPct; exports.sanitizeRescueFieldName = sanitizeRescueFieldName; exports.parseFormDraftSaveRequest = parseFormDraftSaveRequest; exports.FORM_RESCUE_EVENTS = FORM_RESCUE_EVENTS; exports.captureFormRescueEvent = captureFormRescueEvent;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Pagination
4
- } from "./chunk-WSDT7LYL.js";
4
+ } from "./chunk-3UBWDR65.js";
5
5
  import {
6
6
  usePathname,
7
7
  useRouter,
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-GY4IZG22.js";
10
10
  import {
11
11
  withQuery
12
- } from "./chunk-AGVXKD4K.js";
12
+ } from "./chunk-FSQQZFVG.js";
13
13
  import {
14
14
  Button
15
- } from "./chunk-YDPKUAP4.js";
15
+ } from "./chunk-DJ4IFQNQ.js";
16
16
 
17
17
  // src/components/empty-state.tsx
18
18
  import { Search, FileText, Package } from "lucide-react";
@@ -5,7 +5,7 @@ import {
5
5
  TooltipContent,
6
6
  TooltipProvider,
7
7
  TooltipTrigger
8
- } from "./chunk-P3JMAMHP.js";
8
+ } from "./chunk-REETLEL5.js";
9
9
  import {
10
10
  ToolIcon,
11
11
  clamp
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-NCPTID44.js";
29
29
  import {
30
30
  Button
31
- } from "./chunk-YDPKUAP4.js";
31
+ } from "./chunk-DJ4IFQNQ.js";
32
32
  import {
33
33
  cn
34
34
  } from "./chunk-7RXWKTAP.js";
@@ -1,20 +1,17 @@
1
1
  "use client";
2
2
  import {
3
3
  PersistentPaginationWrapper
4
- } from "./chunk-4QFWGLZO.js";
4
+ } from "./chunk-6YBUQAOH.js";
5
5
  import {
6
6
  DeliveryRow,
7
7
  ListEmptyState
8
- } from "./chunk-AJHSQ5XK.js";
8
+ } from "./chunk-S63QBBT7.js";
9
9
  import {
10
10
  EmptyState
11
- } from "./chunk-6YPTUHM7.js";
11
+ } from "./chunk-K76ACBR3.js";
12
12
  import {
13
13
  DetailPageSkeleton
14
- } from "./chunk-TELAANY6.js";
15
- import {
16
- useSelfFetch
17
- } from "./chunk-RR6PY34K.js";
14
+ } from "./chunk-UXU7Y5BH.js";
18
15
  import {
19
16
  Accordion,
20
17
  AccordionContent,
@@ -26,17 +23,14 @@ import {
26
23
  PageShell,
27
24
  ReleaseChangelogSection,
28
25
  RichMarkdownRenderer
29
- } from "./chunk-2JLP2X2M.js";
26
+ } from "./chunk-2P2M27EW.js";
30
27
  import {
31
28
  PageLayout
32
- } from "./chunk-Y4MB25KW.js";
29
+ } from "./chunk-GYAXV3MZ.js";
33
30
  import {
34
31
  useHumanitySignals,
35
32
  useScrollToHash
36
- } from "./chunk-IWCPXJEE.js";
37
- import {
38
- contentFetch
39
- } from "./chunk-G3GRYDMS.js";
33
+ } from "./chunk-2TXGR7IK.js";
40
34
  import {
41
35
  DEV_SECTION_PARAM_KEYS,
42
36
  devSectionAnchorId,
@@ -45,10 +39,10 @@ import {
45
39
  resolveContentHref,
46
40
  useCaptions,
47
41
  useIsHydrated
48
- } from "./chunk-JH2SIWPQ.js";
42
+ } from "./chunk-HXB7SEYG.js";
49
43
  import {
50
44
  STICKY_HEADER_OFFSET_PX
51
- } from "./chunk-CMZ3QTFQ.js";
45
+ } from "./chunk-4I3K6LEH.js";
52
46
  import {
53
47
  usePathname,
54
48
  useRouter,
@@ -68,8 +62,9 @@ import {
68
62
  buildProductReleaseCardProps,
69
63
  formatReleaseDate,
70
64
  toStripProfile,
71
- useEntityCardLink
72
- } from "./chunk-TTVOLEUS.js";
65
+ useEntityCardLink,
66
+ useSelfFetch
67
+ } from "./chunk-NPSJE7J3.js";
73
68
  import {
74
69
  formatLegalDate
75
70
  } from "./chunk-IYVFSLWJ.js";
@@ -77,9 +72,10 @@ import {
77
72
  next_image_default
78
73
  } from "./chunk-FBZMAPWO.js";
79
74
  import {
75
+ contentFetch,
80
76
  pageCount,
81
77
  positiveInt
82
- } from "./chunk-AGVXKD4K.js";
78
+ } from "./chunk-FSQQZFVG.js";
83
79
  import {
84
80
  useChatRuntime
85
81
  } from "./chunk-E4ABZWTJ.js";
@@ -1,10 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  SearchInput
4
- } from "./chunk-2JLP2X2M.js";
5
- import {
6
- contentFetch
7
- } from "./chunk-G3GRYDMS.js";
4
+ } from "./chunk-2P2M27EW.js";
8
5
  import {
9
6
  NEW_TAB_FEATURES,
10
7
  getSourceLabel,
@@ -12,16 +9,19 @@ import {
12
9
  resolveExternalNavigation,
13
10
  resolveSourceIcon,
14
11
  stripSameOriginToPath
15
- } from "./chunk-JH2SIWPQ.js";
12
+ } from "./chunk-HXB7SEYG.js";
16
13
  import {
17
14
  useDebounce
18
- } from "./chunk-CMZ3QTFQ.js";
15
+ } from "./chunk-4I3K6LEH.js";
19
16
  import {
20
17
  useRouter
21
18
  } from "./chunk-GY4IZG22.js";
22
19
  import {
23
20
  decideNewTab
24
- } from "./chunk-TTVOLEUS.js";
21
+ } from "./chunk-NPSJE7J3.js";
22
+ import {
23
+ contentFetch
24
+ } from "./chunk-FSQQZFVG.js";
25
25
  import {
26
26
  useChatRuntime
27
27
  } from "./chunk-E4ABZWTJ.js";
@@ -1,27 +1,27 @@
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 _chunkNQVS4G7Gcjs = require('./chunk-NQVS4G7G.cjs');
4
+ var _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
5
5
 
6
6
 
7
- var _chunkAUMKE74Mcjs = require('./chunk-AUMKE74M.cjs');
8
7
 
9
8
 
10
9
 
11
10
 
12
11
 
12
+ var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
13
13
 
14
14
 
15
- var _chunkUWQWMGJ7cjs = require('./chunk-UWQWMGJ7.cjs');
15
+ var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
16
16
 
17
17
 
18
- var _chunkGQ7JJUITcjs = require('./chunk-GQ7JJUIT.cjs');
18
+ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
19
19
 
20
20
 
21
- var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
21
+ var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
22
22
 
23
23
 
24
- var _chunkETYLOZOBcjs = require('./chunk-ETYLOZOB.cjs');
24
+ var _chunk7GRPR7XAcjs = require('./chunk-7GRPR7XA.cjs');
25
25
 
26
26
 
27
27
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -39,7 +39,7 @@ var _jsxruntime = require('react/jsx-runtime');
39
39
  function DocSearchResultRow({ result, isHighlighted }) {
40
40
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
41
41
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
42
- const { Icon: SourceIcon, label: iconLabel } = _chunkUWQWMGJ7cjs.resolveSourceIcon.call(void 0, {
42
+ const { Icon: SourceIcon, label: iconLabel } = _chunkHJMSNOBTcjs.resolveSourceIcon.call(void 0, {
43
43
  sourceRepo,
44
44
  documentType: docType
45
45
  });
@@ -69,7 +69,7 @@ function DocSearchBar({
69
69
  renderResult
70
70
  }) {
71
71
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
72
- _chunkNQVS4G7Gcjs.SearchInput,
72
+ _chunkUZTOI6FJcjs.SearchInput,
73
73
  {
74
74
  placeholder,
75
75
  value: query,
@@ -119,7 +119,7 @@ function mapDocSearchResults(docs) {
119
119
  results.push({
120
120
  id: `group-${entry.repo}`,
121
121
  // Same table label and count as the chat's grouped chip: one owner each.
122
- title: `${_chunkUWQWMGJ7cjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkUWQWMGJ7cjs.recordCountLabel.call(void 0, rows.length)}`,
122
+ title: `${_chunkHJMSNOBTcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkHJMSNOBTcjs.recordCountLabel.call(void 0, rows.length)}`,
123
123
  path: rows[0].path,
124
124
  type: "file",
125
125
  metadata: {
@@ -182,7 +182,7 @@ function resolveSearchResultAction(result, source, runtimeMode, composeContentUr
182
182
  if (composed && !isAbsoluteHref(href)) {
183
183
  return { kind: "navigate-same-tab", href };
184
184
  }
185
- const isNewTab = _chunkETYLOZOBcjs.decideNewTab.call(void 0, {
185
+ const isNewTab = _chunkGCK75D7Fcjs.decideNewTab.call(void 0, {
186
186
  href,
187
187
  targetPlatform: composed ? composed.targetPlatform : targetPlatform,
188
188
  surface: "useUnifiedNav",
@@ -254,7 +254,7 @@ function useDocSearch(config) {
254
254
  const [query, setQuery] = _react.useState.call(void 0, "");
255
255
  const [results, setResults] = _react.useState.call(void 0, NO_RESULTS);
256
256
  const [isFetching, setIsFetching] = _react.useState.call(void 0, false);
257
- const debouncedQuery = _chunkGQ7JJUITcjs.useDebounce.call(void 0, query, 300);
257
+ const debouncedQuery = _chunkK2JUJ37Dcjs.useDebounce.call(void 0, query, 300);
258
258
  const searchable = debouncedQuery.trim().length >= 2;
259
259
  const [wasSearchable, setWasSearchable] = _react.useState.call(void 0, searchable);
260
260
  if (wasSearchable !== searchable) {
@@ -276,7 +276,7 @@ function useDocSearch(config) {
276
276
  limit: "10"
277
277
  });
278
278
  if (tableIdsKey) params.set("tableIds", tableIdsKey);
279
- const response = await _chunkAUMKE74Mcjs.contentFetch.call(void 0, `${resolvedSearchEndpoint}?${params.toString()}`);
279
+ const response = await _chunk7GRPR7XAcjs.contentFetch.call(void 0, `${resolvedSearchEndpoint}?${params.toString()}`);
280
280
  if (!response.ok) {
281
281
  throw new Error(`Search request failed: ${response.status}`);
282
282
  }
@@ -311,27 +311,27 @@ function useDocSearch(config) {
311
311
  case "navigate-same-tab": {
312
312
  if (wantsNewTab) {
313
313
  setKeepOpen(true);
314
- window.open(action.href, "_blank", _chunkUWQWMGJ7cjs.NEW_TAB_FEATURES);
314
+ window.open(action.href, "_blank", _chunkHJMSNOBTcjs.NEW_TAB_FEATURES);
315
315
  return;
316
316
  }
317
317
  setKeepOpen(false);
318
318
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
319
319
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
320
- router.push(_chunkUWQWMGJ7cjs.stripSameOriginToPath.call(void 0, action.href));
320
+ router.push(_chunkHJMSNOBTcjs.stripSameOriginToPath.call(void 0, action.href));
321
321
  return;
322
322
  }
323
323
  case "navigate-new-tab":
324
324
  setKeepOpen(true);
325
325
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
326
326
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
327
- _chunkUWQWMGJ7cjs.resolveExternalNavigation.call(void 0, {
327
+ _chunkHJMSNOBTcjs.resolveExternalNavigation.call(void 0, {
328
328
  href: action.href,
329
329
  targetPlatform,
330
330
  runtime
331
331
  }).open();
332
332
  return;
333
333
  }
334
- window.open(action.href, "_blank", _chunkUWQWMGJ7cjs.NEW_TAB_FEATURES);
334
+ window.open(action.href, "_blank", _chunkHJMSNOBTcjs.NEW_TAB_FEATURES);
335
335
  return;
336
336
  case "ask-ai":
337
337
  setKeepOpen(false);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  useOptionalTicketLive
4
- } from "./chunk-JPD4NXH6.js";
4
+ } from "./chunk-CO3FOZIH.js";
5
5
  import {
6
6
  AppLayoutDrawerContainerContext,
7
7
  AppLayoutDrawerCoordinationContext,
@@ -12,13 +12,13 @@ import {
12
12
  UnreadCountBadge,
13
13
  UnreadDot,
14
14
  useOptionalNotifications
15
- } from "./chunk-2JLP2X2M.js";
15
+ } from "./chunk-2P2M27EW.js";
16
16
  import {
17
17
  resolveActiveSection,
18
18
  useActiveSection,
19
19
  useFocusTrap,
20
20
  useNavMenus
21
- } from "./chunk-IWCPXJEE.js";
21
+ } from "./chunk-2TXGR7IK.js";
22
22
  import {
23
23
  useLocalStorage
24
24
  } from "./chunk-3K5ZLZE7.js";
@@ -28,14 +28,14 @@ import {
28
28
  OVERLAY_BACKDROP_CLASS,
29
29
  buildTicketOpenHref,
30
30
  useIsHydrated
31
- } from "./chunk-JH2SIWPQ.js";
31
+ } from "./chunk-HXB7SEYG.js";
32
32
  import {
33
33
  useHeaderHeight
34
- } from "./chunk-CMZ3QTFQ.js";
34
+ } from "./chunk-4I3K6LEH.js";
35
35
  import {
36
36
  CaseStudyCard,
37
37
  EntityIcon
38
- } from "./chunk-TTVOLEUS.js";
38
+ } from "./chunk-NPSJE7J3.js";
39
39
  import {
40
40
  SquareAvatar,
41
41
  Tag
@@ -81,7 +81,7 @@ import {
81
81
  } from "./chunk-INS7KZJB.js";
82
82
  import {
83
83
  Button
84
- } from "./chunk-YDPKUAP4.js";
84
+ } from "./chunk-DJ4IFQNQ.js";
85
85
  import {
86
86
  next_link_default
87
87
  } from "./chunk-DAAVMYUT.js";