@flamingo-stack/openframe-frontend-core 0.0.720 → 0.0.722

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 (165) hide show
  1. package/dist/{chunk-3HZ6XSZC.js → chunk-2TXGR7IK.js} +136 -59
  2. package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
  3. package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
  4. package/dist/{chunk-4SIZCHVZ.cjs → chunk-4LY6R4TN.cjs} +126 -49
  5. package/dist/{chunk-2NASBO7O.js → chunk-5D2K7TFT.js} +3 -3
  6. package/dist/{chunk-HFEYEPOG.cjs → chunk-5K6YKRP5.cjs} +29 -29
  7. package/dist/{chunk-7HYEQKN6.js → chunk-65C4WHG4.js} +6 -6
  8. package/dist/{chunk-DOPOHO6H.cjs → chunk-6HRQLM6T.cjs} +20 -20
  9. package/dist/{chunk-B2N4YX66.js → chunk-6YBUQAOH.js} +1 -1
  10. package/dist/{chunk-GANIUMRU.js → chunk-7UZ2JZJY.js} +3 -3
  11. package/dist/{chunk-4HJRHEXD.cjs → chunk-ABSWD4PQ.cjs} +27 -27
  12. package/dist/{chunk-VYVPII4W.js → chunk-AWWLEYAU.js} +6 -6
  13. package/dist/{chunk-V6B2FBZK.js → chunk-BCU6UUNQ.js} +8 -8
  14. package/dist/{chunk-LO3KCLEF.js → chunk-BUDZWXRG.js} +4 -4
  15. package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
  16. package/dist/{chunk-KSGMZHVV.cjs → chunk-DFM572VH.cjs} +2 -2
  17. package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
  18. package/dist/{chunk-DYDDAA6O.cjs → chunk-DWSBTGKT.cjs} +816 -798
  19. package/dist/{chunk-PSMJYZMV.js → chunk-DX3W7DPC.js} +2 -2
  20. package/dist/{chunk-PXAKSPLZ.js → chunk-E7NIZXDT.js} +20 -8
  21. package/dist/{chunk-6W46LVK4.js → chunk-ETQVXIYW.js} +6 -6
  22. package/dist/{chunk-742BGXNX.js → chunk-EWED6ISQ.js} +1 -1
  23. package/dist/{chunk-Q5327DXK.js → chunk-F33RMJOL.js} +11 -11
  24. package/dist/{chunk-RZQGIWK3.cjs → chunk-FDWYBJYD.cjs} +8 -8
  25. package/dist/{chunk-QF464PPL.cjs → chunk-GAFK3WNT.cjs} +62 -62
  26. package/dist/{chunk-6BLN5WDS.cjs → chunk-GYSTZD6X.cjs} +40 -40
  27. package/dist/{chunk-TORERAXD.js → chunk-HA2ASGJM.js} +6 -6
  28. package/dist/{chunk-KT3U3ZRP.cjs → chunk-HP4UUBJC.cjs} +16 -16
  29. package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
  30. package/dist/{chunk-AZRI4XBP.js → chunk-I3UUMRO7.js} +1 -1
  31. package/dist/{chunk-VYZCKY5K.js → chunk-IF72N4PE.js} +7 -7
  32. package/dist/{chunk-RFUOIQSG.cjs → chunk-IITZ6JSC.cjs} +37 -37
  33. package/dist/{chunk-7LPR4RZ3.cjs → chunk-JQ55FFIK.cjs} +31 -31
  34. package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
  35. package/dist/{chunk-URW23QUM.js → chunk-K76ACBR3.js} +2 -2
  36. package/dist/{chunk-7IOU6BJE.js → chunk-KBPGSPXQ.js} +2387 -2369
  37. package/dist/{chunk-ILNN6QRW.js → chunk-KS3YLYVL.js} +4 -4
  38. package/dist/{chunk-2C72EWQR.cjs → chunk-KWBH63GV.cjs} +26 -26
  39. package/dist/{chunk-IYVFSLWJ.js → chunk-KZQO5EJQ.js} +4 -0
  40. package/dist/{chunk-IMTY3GRR.cjs → chunk-LV6UJD2K.cjs} +2 -2
  41. package/dist/{chunk-UWJMDFDO.cjs → chunk-MJ4SXOG2.cjs} +28 -28
  42. package/dist/{chunk-VF2CJXZ2.cjs → chunk-NFABAOMD.cjs} +77 -79
  43. package/dist/{chunk-B5LNX4GZ.js → chunk-NMGWNUKB.js} +3 -3
  44. package/dist/{chunk-RDP5UZXQ.cjs → chunk-P7Y626YJ.cjs} +370 -358
  45. package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
  46. package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
  47. package/dist/{chunk-ISCZ6UNF.cjs → chunk-RVQV6J5K.cjs} +75 -75
  48. package/dist/{chunk-VBHGJFA3.js → chunk-SZ3CBFSH.js} +13 -13
  49. package/dist/{chunk-O3MKJU6A.js → chunk-SZF7ENIW.js} +4 -4
  50. package/dist/{chunk-F5BPGWGT.cjs → chunk-TKFTWM3V.cjs} +5 -1
  51. package/dist/{chunk-YK3X74SF.js → chunk-UYMTAFHG.js} +6 -8
  52. package/dist/{chunk-DHNJSQGX.cjs → chunk-VC7COEWF.cjs} +105 -105
  53. package/dist/{chunk-XW3Q623Q.js → chunk-VSYQJCNR.js} +2 -2
  54. package/dist/{chunk-IL3ZWNM2.cjs → chunk-VU7RU3LL.cjs} +7 -7
  55. package/dist/{chunk-XSM46FHD.cjs → chunk-VV5INIQB.cjs} +3 -3
  56. package/dist/{chunk-HTS46FFY.cjs → chunk-VYHCN5NU.cjs} +16 -16
  57. package/dist/{chunk-ZPHOQDAE.js → chunk-WY4SLTMZ.js} +3 -3
  58. package/dist/{chunk-5XDCCQ4A.cjs → chunk-XJYAUIOL.cjs} +13 -13
  59. package/dist/{chunk-ZHD3F2TH.cjs → chunk-XR7NVJXS.cjs} +13 -13
  60. package/dist/{chunk-EVMM3JE6.cjs → chunk-ZHC6MDGF.cjs} +43 -43
  61. package/dist/{chunk-K2BYVPGR.js → chunk-ZMHP4Y6M.js} +5 -5
  62. package/dist/{chunk-NYSMDM4J.cjs → chunk-ZSOFLPQN.cjs} +7 -7
  63. package/dist/{cloud-tenants-RKQRSDNE.js → cloud-tenants-4Z36KWSX.js} +14 -14
  64. package/dist/{cloud-tenants-UQZASXUB.cjs → cloud-tenants-5NIC5VXK.cjs} +15 -15
  65. package/dist/components/calendar.cjs +4 -4
  66. package/dist/components/calendar.js +1 -1
  67. package/dist/components/case-studies/index.cjs +29 -29
  68. package/dist/components/case-studies/index.js +15 -15
  69. package/dist/components/chat/index.cjs +10 -10
  70. package/dist/components/chat/index.js +9 -9
  71. package/dist/components/contact/index.cjs +16 -16
  72. package/dist/components/contact/index.js +15 -15
  73. package/dist/components/docs/index.cjs +19 -19
  74. package/dist/components/docs/index.js +18 -18
  75. package/dist/components/embeds/index.cjs +16 -16
  76. package/dist/components/embeds/index.js +15 -15
  77. package/dist/components/faq/index.cjs +16 -16
  78. package/dist/components/faq/index.js +15 -15
  79. package/dist/components/features/index.cjs +15 -15
  80. package/dist/components/features/index.js +14 -14
  81. package/dist/components/features/remote-session/remote-access-request-card.d.ts.map +1 -1
  82. package/dist/components/help-center-pages/download-apps-page.d.ts +68 -0
  83. package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
  84. package/dist/components/help-center-pages/index.cjs +347 -117
  85. package/dist/components/help-center-pages/index.d.ts +1 -0
  86. package/dist/components/help-center-pages/index.d.ts.map +1 -1
  87. package/dist/components/help-center-pages/index.js +260 -30
  88. package/dist/components/index.cjs +87 -85
  89. package/dist/components/index.js +30 -28
  90. package/dist/components/meeting-scheduler/index.cjs +67 -67
  91. package/dist/components/meeting-scheduler/index.js +16 -16
  92. package/dist/components/navigation/index.cjs +18 -18
  93. package/dist/components/navigation/index.js +17 -17
  94. package/dist/components/onboarding-guides/index.cjs +18 -18
  95. package/dist/components/onboarding-guides/index.js +17 -17
  96. package/dist/components/product-demo/index.cjs +8 -8
  97. package/dist/components/product-demo/index.js +8 -8
  98. package/dist/components/related-content/index.cjs +7 -7
  99. package/dist/components/related-content/index.js +6 -6
  100. package/dist/components/tickets/index.cjs +20 -20
  101. package/dist/components/tickets/index.js +19 -19
  102. package/dist/components/ui/button/button.d.ts.map +1 -1
  103. package/dist/components/ui/file-manager/index.cjs +11 -11
  104. package/dist/components/ui/file-manager/index.js +1 -1
  105. package/dist/components/ui/index.cjs +17 -15
  106. package/dist/components/ui/index.d.ts +1 -0
  107. package/dist/components/ui/index.d.ts.map +1 -1
  108. package/dist/components/ui/index.js +16 -14
  109. package/dist/components/ui/mobile-app-qr.d.ts +21 -0
  110. package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
  111. package/dist/components/ui/store-badges.d.ts +7 -4
  112. package/dist/components/ui/store-badges.d.ts.map +1 -1
  113. package/dist/{devices-U3Y4IIW4.js → devices-2TK3LAKM.js} +14 -14
  114. package/dist/{devices-7Q2EUM7B.cjs → devices-7IKT72DK.cjs} +16 -16
  115. package/dist/hooks/index.cjs +9 -3
  116. package/dist/hooks/index.d.ts +1 -0
  117. package/dist/hooks/index.d.ts.map +1 -1
  118. package/dist/hooks/index.js +8 -2
  119. package/dist/hooks/use-downloads.d.ts +41 -0
  120. package/dist/hooks/use-downloads.d.ts.map +1 -0
  121. package/dist/index.cjs +52 -20
  122. package/dist/index.js +50 -18
  123. package/dist/{knowledge-NST53EXE.js → knowledge-3GJ4MU3V.js} +14 -14
  124. package/dist/{knowledge-UYIZ74MA.cjs → knowledge-HYSEV35H.cjs} +16 -16
  125. package/dist/{logs-JVTRG232.js → logs-TATVM62H.js} +14 -14
  126. package/dist/{logs-HTH7X7KV.cjs → logs-ZX3NADQC.cjs} +24 -24
  127. package/dist/{policies-MXK2HB4W.cjs → policies-J4FSDKPI.cjs} +19 -19
  128. package/dist/{policies-DTXTRK56.js → policies-MRRKLF4Q.js} +14 -14
  129. package/dist/{remote-session-LAJZKQBN.js → remote-session-WCLR47RN.js} +6 -6
  130. package/dist/{remote-session-SKKF4PBV.cjs → remote-session-Z2YCUPHU.cjs} +8 -8
  131. package/dist/{software-update-P6BSM6HX.cjs → software-update-CXUBWYD2.cjs} +19 -19
  132. package/dist/{software-update-6RHMPM3W.js → software-update-KM46WUVQ.js} +14 -14
  133. package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-R5OQSEEC.cjs} +10 -10
  134. package/dist/{tickets-board-PYDNELSK.js → tickets-board-U3RF3AO4.js} +5 -5
  135. package/dist/types/downloads.d.ts +83 -0
  136. package/dist/types/downloads.d.ts.map +1 -0
  137. package/dist/types/index.cjs +24 -0
  138. package/dist/types/index.d.ts +1 -0
  139. package/dist/types/index.d.ts.map +1 -1
  140. package/dist/types/index.js +16 -1
  141. package/dist/utils/format.d.ts +11 -0
  142. package/dist/utils/format.d.ts.map +1 -1
  143. package/dist/utils/index.cjs +15 -0
  144. package/dist/utils/index.d.ts +2 -1
  145. package/dist/utils/index.d.ts.map +1 -1
  146. package/dist/utils/index.js +13 -1
  147. package/dist/utils/mobile-app.cjs +37 -0
  148. package/dist/utils/mobile-app.d.ts +23 -0
  149. package/dist/utils/mobile-app.d.ts.map +1 -0
  150. package/dist/utils/mobile-app.js +34 -0
  151. package/package.json +7 -1
  152. package/src/components/features/remote-session/remote-access-request-card.tsx +6 -6
  153. package/src/components/help-center-pages/download-apps-page.tsx +388 -0
  154. package/src/components/help-center-pages/index.ts +1 -0
  155. package/src/components/ui/button/button.tsx +3 -0
  156. package/src/components/ui/index.ts +1 -0
  157. package/src/components/ui/mobile-app-qr.tsx +35 -0
  158. package/src/components/ui/store-badges.tsx +17 -9
  159. package/src/hooks/index.ts +1 -0
  160. package/src/hooks/use-downloads.ts +138 -0
  161. package/src/types/downloads.ts +99 -0
  162. package/src/types/index.ts +1 -0
  163. package/src/utils/format.ts +15 -0
  164. package/src/utils/index.ts +3 -1
  165. package/src/utils/mobile-app.ts +34 -0
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  DEFAULT_FOLDER_INDEX_FILE,
4
4
  ScrollShadow
5
- } from "./chunk-PXAKSPLZ.js";
5
+ } from "./chunk-E7NIZXDT.js";
6
6
  import {
7
7
  ACTIVE_ANCHOR_ATTRIBUTE,
8
8
  declaredScrollMarginTop,
@@ -12,7 +12,7 @@ import {
12
12
  normalizeHashFragment,
13
13
  replaceLocationHash,
14
14
  scrollElementIntoView
15
- } from "./chunk-CMZ3QTFQ.js";
15
+ } from "./chunk-4I3K6LEH.js";
16
16
  import {
17
17
  next_link_default
18
18
  } from "./chunk-DAAVMYUT.js";
@@ -1,14 +1,14 @@
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 _chunkVF2CJXZ2cjs = require('./chunk-VF2CJXZ2.cjs');
4
+ var _chunkNFABAOMDcjs = require('./chunk-NFABAOMD.cjs');
5
5
 
6
6
 
7
- var _chunkRFUOIQSGcjs = require('./chunk-RFUOIQSG.cjs');
7
+ var _chunkIITZ6JSCcjs = require('./chunk-IITZ6JSC.cjs');
8
8
 
9
9
 
10
10
 
11
- var _chunkF5BPGWGTcjs = require('./chunk-F5BPGWGT.cjs');
11
+ var _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
12
12
 
13
13
 
14
14
  var _chunkMGHIV4L6cjs = require('./chunk-MGHIV4L6.cjs');
@@ -66,7 +66,7 @@ function DetailPageSkeleton({
66
66
  ] });
67
67
  if (bare) return content;
68
68
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
69
- _chunkVF2CJXZ2cjs.PageLayout,
69
+ _chunkNFABAOMDcjs.PageLayout,
70
70
  {
71
71
  showHeader: false,
72
72
  className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
@@ -79,7 +79,7 @@ function DetailPageSkeleton({
79
79
  var _lucidereact = require('lucide-react');
80
80
 
81
81
  function formatDate(value) {
82
- return _chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, value, null, "long");
82
+ return _chunkTKFTWM3Vcjs.formatDateWithTimezone.call(void 0, value, null, "long");
83
83
  }
84
84
  function ArticleAuthorByline({
85
85
  author,
@@ -95,7 +95,7 @@ function ArticleAuthorByline({
95
95
  }) {
96
96
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
97
97
  if (!author) return null;
98
- const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunkRFUOIQSGcjs.getProxiedImageUrl.call(void 0, avatar, {
98
+ const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunkIITZ6JSCcjs.getProxiedImageUrl.call(void 0, avatar, {
99
99
  proxyPrefix: _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.imageProxyUrlPrefix]),
100
100
  skipDomains: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.imageProxySkipDomains]),
101
101
  directHttps: true
@@ -103,7 +103,7 @@ function ArticleAuthorByline({
103
103
  const avatarSizeClass = size === "lg" ? "w-16 h-16" : "w-14 h-14";
104
104
  const avatarIconClass = size === "lg" ? "w-8 h-8" : "w-7 h-7";
105
105
  const avatarDim = size === "lg" ? 64 : 56;
106
- const formattedBio = _chunkF5BPGWGTcjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
106
+ const formattedBio = _chunkTKFTWM3Vcjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
107
107
  const dateLabel = publishedAt ? formatDate(publishedAt) : "";
108
108
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
109
109
  "div",
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkRDP5UZXQcjs = require('./chunk-RDP5UZXQ.cjs');
5
+ var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
6
6
 
7
7
 
8
8
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -42,7 +42,7 @@ function isSummaryData(value) {
42
42
  }
43
43
  function TicketLiveProvider({ children, enabled = true }) {
44
44
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
45
- const identity = _chunkRDP5UZXQcjs.useChatIdentity.call(void 0, enabled);
45
+ const identity = _chunkP7Y626YJcjs.useChatIdentity.call(void 0, enabled);
46
46
  const queryClient = _reactquery.useQueryClient.call(void 0, );
47
47
  const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
48
48
  const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
@@ -158,7 +158,7 @@ function TicketLiveProvider({ children, enabled = true }) {
158
158
  _react2.default.useEffect(() => {
159
159
  if (!streamEnabled) return void 0;
160
160
  if (typeof window === "undefined") return void 0;
161
- subscriptionRef.current = _chunkRDP5UZXQcjs.createSseSubscription.call(void 0, {
161
+ subscriptionRef.current = _chunkP7Y626YJcjs.createSseSubscription.call(void 0, {
162
162
  url: streamUrl,
163
163
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
164
164
  onStatusChange: (status) => handlersRef.current.onStatus(status),
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkRDP5UZXQcjs = require('./chunk-RDP5UZXQ.cjs');
5
+ var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
6
6
 
7
7
 
8
8
 
@@ -12,7 +12,7 @@ var _chunkRDP5UZXQcjs = require('./chunk-RDP5UZXQ.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
- _chunkRDP5UZXQcjs.ScrollShadow,
48
+ _chunkP7Y626YJcjs.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 = _chunkRDP5UZXQcjs.DEFAULT_FOLDER_INDEX_FILE;
333
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkP7Y626YJcjs.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) {
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  AvatarStack,
4
4
  resolveIcon
5
- } from "./chunk-742BGXNX.js";
5
+ } from "./chunk-EWED6ISQ.js";
6
6
  import {
7
7
  Tag,
8
8
  VIEWER_TIMEZONE,
9
9
  formatDateWithTimezone
10
- } from "./chunk-IYVFSLWJ.js";
10
+ } from "./chunk-KZQO5EJQ.js";
11
11
  import {
12
12
  ViewportBreakpoints
13
13
  } from "./chunk-KEKCQENI.js";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-NCPTID44.js";
19
19
  import {
20
20
  Button
21
- } from "./chunk-YDPKUAP4.js";
21
+ } from "./chunk-DJ4IFQNQ.js";
22
22
  import {
23
23
  cn
24
24
  } from "./chunk-7RXWKTAP.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkDYDDAA6Ocjs = require('./chunk-DYDDAA6O.cjs');
4
+ var _chunkDWSBTGKTcjs = require('./chunk-DWSBTGKT.cjs');
5
5
 
6
6
 
7
7
 
@@ -9,16 +9,16 @@ var _chunkDYDDAA6Ocjs = require('./chunk-DYDDAA6O.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkRDP5UZXQcjs = require('./chunk-RDP5UZXQ.cjs');
12
+ var _chunkP7Y626YJcjs = require('./chunk-P7Y626YJ.cjs');
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 _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
19
19
 
20
20
 
21
- var _chunkRFUOIQSGcjs = require('./chunk-RFUOIQSG.cjs');
21
+ var _chunkIITZ6JSCcjs = require('./chunk-IITZ6JSC.cjs');
22
22
 
23
23
 
24
24
  var _chunk7GRPR7XAcjs = require('./chunk-7GRPR7XA.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 } = _chunkRDP5UZXQcjs.resolveSourceIcon.call(void 0, {
42
+ const { Icon: SourceIcon, label: iconLabel } = _chunkP7Y626YJcjs.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
- _chunkDYDDAA6Ocjs.SearchInput,
72
+ _chunkDWSBTGKTcjs.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: `${_chunkRDP5UZXQcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkRDP5UZXQcjs.recordCountLabel.call(void 0, rows.length)}`,
122
+ title: `${_chunkP7Y626YJcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkP7Y626YJcjs.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 = _chunkRFUOIQSGcjs.decideNewTab.call(void 0, {
185
+ const isNewTab = _chunkIITZ6JSCcjs.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) {
@@ -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", _chunkRDP5UZXQcjs.NEW_TAB_FEATURES);
314
+ window.open(action.href, "_blank", _chunkP7Y626YJcjs.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(_chunkRDP5UZXQcjs.stripSameOriginToPath.call(void 0, action.href));
320
+ router.push(_chunkP7Y626YJcjs.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
- _chunkRDP5UZXQcjs.resolveExternalNavigation.call(void 0, {
327
+ _chunkP7Y626YJcjs.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", _chunkRDP5UZXQcjs.NEW_TAB_FEATURES);
334
+ window.open(action.href, "_blank", _chunkP7Y626YJcjs.NEW_TAB_FEATURES);
335
335
  return;
336
336
  case "ask-ai":
337
337
  setKeepOpen(false);
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkDYDDAA6Ocjs = require('./chunk-DYDDAA6O.cjs');
4
+ var _chunkDWSBTGKTcjs = require('./chunk-DWSBTGKT.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkGQ7JJUITcjs = require('./chunk-GQ7JJUIT.cjs');
8
+ var _chunkK2JUJ37Dcjs = require('./chunk-K2JUJ37D.cjs');
9
9
 
10
10
 
11
- var _chunkF5BPGWGTcjs = require('./chunk-F5BPGWGT.cjs');
11
+ var _chunkTKFTWM3Vcjs = require('./chunk-TKFTWM3V.cjs');
12
12
 
13
13
 
14
14
 
15
15
  var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
16
16
 
17
17
 
18
- var _chunkDFQYAYBHcjs = require('./chunk-DFQYAYBH.cjs');
18
+ var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
19
19
 
20
20
  // src/components/embeds/file-download-card.tsx
21
21
  var _lucidereact = require('lucide-react');
@@ -27,10 +27,10 @@ function FileDownloadCard({ fileName, mimeType, fileSize, fileUrl }) {
27
27
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h3", children: fileName || "File" }),
28
28
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-2 flex items-center justify-center gap-3 text-ods-text-secondary text-h6", children: [
29
29
  mimeType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: mimeType }),
30
- typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkF5BPGWGTcjs.formatFileSize.call(void 0, fileSize) })
30
+ typeof fileSize === "number" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: _chunkTKFTWM3Vcjs.formatFileSize.call(void 0, fileSize) })
31
31
  ] })
32
32
  ] }),
33
- fileUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { variant: "accent", href: fileUrl, openInNewTab: true, leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Download, { className: "h-4 w-4" }), children: "Download File" })
33
+ fileUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHQIOMFJHcjs.Button, { variant: "accent", href: fileUrl, openInNewTab: true, leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Download, { className: "h-4 w-4" }), children: "Download File" })
34
34
  ] }) });
35
35
  }
36
36
 
@@ -46,16 +46,16 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
46
46
  ] });
47
47
  }
48
48
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
49
- _chunkDYDDAA6Ocjs.EmbedViewerFrame,
49
+ _chunkDWSBTGKTcjs.EmbedViewerFrame,
50
50
  {
51
51
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
52
52
  title: displayName,
53
53
  actions: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
54
- _chunkDFQYAYBHcjs.Button,
54
+ _chunkHQIOMFJHcjs.Button,
55
55
  {
56
56
  variant: "outline",
57
57
  size: "small-legacy",
58
- href: _chunkGQ7JJUITcjs.toGoogleSheetsOriginalUrl.call(void 0, externalUrl),
58
+ href: _chunkK2JUJ37Dcjs.toGoogleSheetsOriginalUrl.call(void 0, externalUrl),
59
59
  openInNewTab: true,
60
60
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.GoogleSheetsIcon, { className: "h-4 w-4" }),
61
61
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }),
@@ -63,7 +63,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
63
63
  children: "Open in Google Sheets"
64
64
  }
65
65
  ),
66
- src: _chunkGQ7JJUITcjs.toGoogleSheetsEmbedUrl.call(void 0, externalUrl),
66
+ src: _chunkK2JUJ37Dcjs.toGoogleSheetsEmbedUrl.call(void 0, externalUrl),
67
67
  height
68
68
  }
69
69
  );
@@ -81,13 +81,13 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
81
81
  ] });
82
82
  }
83
83
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
84
- _chunkDYDDAA6Ocjs.EmbedViewerFrame,
84
+ _chunkDWSBTGKTcjs.EmbedViewerFrame,
85
85
  {
86
86
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
87
87
  title: displayName,
88
88
  actions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: [
89
89
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
90
- _chunkDFQYAYBHcjs.Button,
90
+ _chunkHQIOMFJHcjs.Button,
91
91
  {
92
92
  variant: "outline",
93
93
  size: "small-legacy",
@@ -100,7 +100,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
100
100
  }
101
101
  ),
102
102
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
103
- _chunkDFQYAYBHcjs.Button,
103
+ _chunkHQIOMFJHcjs.Button,
104
104
  {
105
105
  variant: "outline",
106
106
  size: "small-legacy",