@flamingo-stack/openframe-frontend-core 0.0.296 → 0.0.297

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 (276) hide show
  1. package/README.md +9 -0
  2. package/dist/{chunk-7RIYT7ZH.js → chunk-2QG57XOJ.js} +1067 -205
  3. package/dist/chunk-2QG57XOJ.js.map +1 -0
  4. package/dist/{chunk-WHMATDVP.js → chunk-3JIQVE7T.js} +9 -15
  5. package/dist/{chunk-WHMATDVP.js.map → chunk-3JIQVE7T.js.map} +1 -1
  6. package/dist/{chunk-GLLDTKZK.cjs → chunk-4PSQS3SW.cjs} +7 -9
  7. package/dist/chunk-4PSQS3SW.cjs.map +1 -0
  8. package/dist/{chunk-OY7OF7E7.js → chunk-4TLE6VLU.js} +30 -24
  9. package/dist/chunk-4TLE6VLU.js.map +1 -0
  10. package/dist/{chunk-W6M2FLLT.cjs → chunk-53FUMSZ5.cjs} +40 -46
  11. package/dist/chunk-53FUMSZ5.cjs.map +1 -0
  12. package/dist/{chunk-D3LEFMOA.cjs → chunk-54KNMC2R.cjs} +3 -3
  13. package/dist/{chunk-D3LEFMOA.cjs.map → chunk-54KNMC2R.cjs.map} +1 -1
  14. package/dist/{chunk-EYEW6PTA.cjs → chunk-6C526VNN.cjs} +358 -118
  15. package/dist/chunk-6C526VNN.cjs.map +1 -0
  16. package/dist/{chunk-XREEV72C.cjs → chunk-7OVGB2DQ.cjs} +19 -25
  17. package/dist/chunk-7OVGB2DQ.cjs.map +1 -0
  18. package/dist/{chunk-6GCI7JOE.js → chunk-AD6C23QY.js} +8 -7
  19. package/dist/{chunk-6GCI7JOE.js.map → chunk-AD6C23QY.js.map} +1 -1
  20. package/dist/chunk-F5OB2YAL.cjs +144 -0
  21. package/dist/chunk-F5OB2YAL.cjs.map +1 -0
  22. package/dist/chunk-FBWXMMRB.cjs +2 -0
  23. package/dist/chunk-FBWXMMRB.cjs.map +1 -0
  24. package/dist/{chunk-YIGPRLQY.cjs → chunk-FCDQNTDG.cjs} +21 -20
  25. package/dist/chunk-FCDQNTDG.cjs.map +1 -0
  26. package/dist/{chunk-IE6OU3WQ.cjs → chunk-FQOTC3UU.cjs} +318 -16
  27. package/dist/chunk-FQOTC3UU.cjs.map +1 -0
  28. package/dist/{chunk-QHIXS3W2.cjs → chunk-GUTS7HGA.cjs} +11590 -2105
  29. package/dist/chunk-GUTS7HGA.cjs.map +1 -0
  30. package/dist/chunk-GZ4C3XW6.js +2 -0
  31. package/dist/chunk-GZ4C3XW6.js.map +1 -0
  32. package/dist/{chunk-5P3B2LZW.js → chunk-IL47XWV5.js} +8 -14
  33. package/dist/{chunk-5P3B2LZW.js.map → chunk-IL47XWV5.js.map} +1 -1
  34. package/dist/{chunk-LCNMR277.js → chunk-IZ7JSBFP.js} +1 -1
  35. package/dist/chunk-IZ7JSBFP.js.map +1 -0
  36. package/dist/{chunk-EL6QLAWX.js → chunk-JALO4TAZ.js} +357 -55
  37. package/dist/chunk-JALO4TAZ.js.map +1 -0
  38. package/dist/{chunk-AQOWFSMB.cjs → chunk-L6PSSIUQ.cjs} +1 -1
  39. package/dist/chunk-L6PSSIUQ.cjs.map +1 -0
  40. package/dist/{chunk-MBFWU2EM.js → chunk-L7ULJKG7.js} +6 -10
  41. package/dist/{chunk-MBFWU2EM.js.map → chunk-L7ULJKG7.js.map} +1 -1
  42. package/dist/{chunk-K2PFPBMF.js → chunk-PC746XCO.js} +15050 -5565
  43. package/dist/chunk-PC746XCO.js.map +1 -0
  44. package/dist/{chunk-3ZXUQQL4.js → chunk-PI4WSYQV.js} +2 -2
  45. package/dist/{chunk-E4XABBSU.js → chunk-PWQUAVA3.js} +338 -98
  46. package/dist/chunk-PWQUAVA3.js.map +1 -0
  47. package/dist/chunk-SA2WPJVO.js +144 -0
  48. package/dist/chunk-SA2WPJVO.js.map +1 -0
  49. package/dist/{chunk-X6BV7MB7.cjs → chunk-UNVE2SDJ.cjs} +37 -31
  50. package/dist/chunk-UNVE2SDJ.cjs.map +1 -0
  51. package/dist/{chunk-5E2HOSSH.cjs → chunk-WMSTJAZT.cjs} +913 -51
  52. package/dist/chunk-WMSTJAZT.cjs.map +1 -0
  53. package/dist/{chunk-ZP4AVIZP.js → chunk-X4DOXQRT.js} +4 -6
  54. package/dist/{chunk-ZP4AVIZP.js.map → chunk-X4DOXQRT.js.map} +1 -1
  55. package/dist/{chunk-X647HY3F.cjs → chunk-YBYI62OE.cjs} +33 -37
  56. package/dist/chunk-YBYI62OE.cjs.map +1 -0
  57. package/dist/components/case-studies/index.cjs +126 -0
  58. package/dist/components/case-studies/index.cjs.map +1 -0
  59. package/dist/components/case-studies/index.d.ts +2 -0
  60. package/dist/components/case-studies/index.d.ts.map +1 -0
  61. package/dist/components/case-studies/index.js +126 -0
  62. package/dist/components/case-studies/index.js.map +1 -0
  63. package/dist/components/case-studies/share-experience-section.d.ts +48 -0
  64. package/dist/components/case-studies/share-experience-section.d.ts.map +1 -0
  65. package/dist/components/chat/index.cjs +8 -18
  66. package/dist/components/chat/index.cjs.map +1 -1
  67. package/dist/components/chat/index.js +75 -85
  68. package/dist/components/contact/index.cjs +8 -15
  69. package/dist/components/contact/index.cjs.map +1 -1
  70. package/dist/components/contact/index.js +7 -14
  71. package/dist/components/docs/doc-viewer.d.ts +39 -2
  72. package/dist/components/docs/doc-viewer.d.ts.map +1 -1
  73. package/dist/components/docs/docs-hub-page.d.ts +46 -0
  74. package/dist/components/docs/docs-hub-page.d.ts.map +1 -0
  75. package/dist/components/docs/index.cjs +17 -9
  76. package/dist/components/docs/index.cjs.map +1 -1
  77. package/dist/components/docs/index.d.ts +4 -0
  78. package/dist/components/docs/index.d.ts.map +1 -1
  79. package/dist/components/docs/index.js +16 -8
  80. package/dist/components/docs/skeletons.d.ts +32 -0
  81. package/dist/components/docs/skeletons.d.ts.map +1 -0
  82. package/dist/components/docs/use-docs-resolve-link.d.ts +20 -0
  83. package/dist/components/docs/use-docs-resolve-link.d.ts.map +1 -0
  84. package/dist/components/docs/use-document-tree.d.ts.map +1 -1
  85. package/dist/components/embeds/embed-container.d.ts +37 -0
  86. package/dist/components/embeds/embed-container.d.ts.map +1 -0
  87. package/dist/components/embeds/embed-iframe.d.ts.map +1 -1
  88. package/dist/components/embeds/file-download-card.d.ts +18 -0
  89. package/dist/components/embeds/file-download-card.d.ts.map +1 -0
  90. package/dist/components/embeds/index.cjs +38 -15
  91. package/dist/components/embeds/index.cjs.map +1 -1
  92. package/dist/components/embeds/index.d.ts +8 -0
  93. package/dist/components/embeds/index.d.ts.map +1 -1
  94. package/dist/components/embeds/index.js +40 -17
  95. package/dist/components/embeds/linkedin-embed-client.d.ts +8 -0
  96. package/dist/components/embeds/linkedin-embed-client.d.ts.map +1 -0
  97. package/dist/components/embeds/markdown-image.d.ts +5 -0
  98. package/dist/components/embeds/markdown-image.d.ts.map +1 -0
  99. package/dist/components/embeds/reddit-embed-client.d.ts +7 -0
  100. package/dist/components/embeds/reddit-embed-client.d.ts.map +1 -0
  101. package/dist/components/embeds/rich-markdown-runtime.d.ts +46 -0
  102. package/dist/components/embeds/rich-markdown-runtime.d.ts.map +1 -0
  103. package/dist/components/embeds/twitter-embed-client.d.ts +8 -0
  104. package/dist/components/embeds/twitter-embed-client.d.ts.map +1 -0
  105. package/dist/components/faq/index.cjs +9 -16
  106. package/dist/components/faq/index.cjs.map +1 -1
  107. package/dist/components/faq/index.js +8 -15
  108. package/dist/components/features/index.cjs +8 -16
  109. package/dist/components/features/index.cjs.map +1 -1
  110. package/dist/components/features/index.js +24 -32
  111. package/dist/components/index.cjs +257 -452
  112. package/dist/components/index.cjs.map +1 -1
  113. package/dist/components/index.js +781 -976
  114. package/dist/components/index.js.map +1 -1
  115. package/dist/components/layout/page-header.d.ts +78 -0
  116. package/dist/components/layout/page-header.d.ts.map +1 -0
  117. package/dist/components/layout/page-layout.d.ts +10 -1
  118. package/dist/components/layout/page-layout.d.ts.map +1 -1
  119. package/dist/components/layout/page-with-header.d.ts +67 -0
  120. package/dist/components/layout/page-with-header.d.ts.map +1 -0
  121. package/dist/components/layout/title-block.d.ts +17 -1
  122. package/dist/components/layout/title-block.d.ts.map +1 -1
  123. package/dist/components/navigation/index.cjs +7 -15
  124. package/dist/components/navigation/index.cjs.map +1 -1
  125. package/dist/components/navigation/index.js +9 -17
  126. package/dist/components/onboarding-guides/index.cjs +35 -36
  127. package/dist/components/onboarding-guides/index.cjs.map +1 -1
  128. package/dist/components/onboarding-guides/index.js +13 -14
  129. package/dist/components/onboarding-guides/index.js.map +1 -1
  130. package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts +1 -1
  131. package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
  132. package/dist/components/related-content/index.cjs +9 -16
  133. package/dist/components/related-content/index.cjs.map +1 -1
  134. package/dist/components/related-content/index.js +8 -15
  135. package/dist/components/shared/dev-section/dev-section-page.d.ts +9 -0
  136. package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
  137. package/dist/components/shared/dev-section/dev-section-view.d.ts.map +1 -1
  138. package/dist/components/shared/dev-section/index.d.ts +1 -1
  139. package/dist/components/shared/dev-section/index.d.ts.map +1 -1
  140. package/dist/components/shared/doc-search/use-doc-search.d.ts.map +1 -1
  141. package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
  142. package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
  143. package/dist/components/tickets/index.cjs +100 -112
  144. package/dist/components/tickets/index.cjs.map +1 -1
  145. package/dist/components/tickets/index.js +20 -32
  146. package/dist/components/tickets/index.js.map +1 -1
  147. package/dist/components/ui/file-manager/index.cjs +50 -52
  148. package/dist/components/ui/file-manager/index.cjs.map +1 -1
  149. package/dist/components/ui/file-manager/index.js +4 -6
  150. package/dist/components/ui/file-manager/index.js.map +1 -1
  151. package/dist/components/ui/index.cjs +13 -19
  152. package/dist/components/ui/index.cjs.map +1 -1
  153. package/dist/components/ui/index.d.ts +2 -0
  154. package/dist/components/ui/index.d.ts.map +1 -1
  155. package/dist/components/ui/index.js +133 -139
  156. package/dist/components/ui/release-changelog-section.d.ts +6 -2
  157. package/dist/components/ui/release-changelog-section.d.ts.map +1 -1
  158. package/dist/components/ui/rich-markdown-renderer.d.ts +34 -0
  159. package/dist/components/ui/rich-markdown-renderer.d.ts.map +1 -0
  160. package/dist/components/ui/simple-markdown-renderer.d.ts +2 -8
  161. package/dist/components/ui/simple-markdown-renderer.d.ts.map +1 -1
  162. package/dist/contexts/chat-runtime-context.d.ts +14 -0
  163. package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
  164. package/dist/contexts/index.cjs +3 -3
  165. package/dist/contexts/index.js +5 -5
  166. package/dist/embed-shims/index.cjs +3 -3
  167. package/dist/embed-shims/index.cjs.map +1 -1
  168. package/dist/embed-shims/index.js +4 -4
  169. package/dist/hooks/index.cjs +4 -9
  170. package/dist/hooks/index.cjs.map +1 -1
  171. package/dist/hooks/index.js +6 -11
  172. package/dist/index.cjs +14 -20
  173. package/dist/index.cjs.map +1 -1
  174. package/dist/index.js +362 -368
  175. package/dist/types/doc-source.d.ts +31 -1
  176. package/dist/types/doc-source.d.ts.map +1 -1
  177. package/dist/utils/index.cjs +4 -0
  178. package/dist/utils/index.cjs.map +1 -1
  179. package/dist/utils/index.d.ts +1 -0
  180. package/dist/utils/index.d.ts.map +1 -1
  181. package/dist/utils/index.js +4 -1
  182. package/dist/utils/index.js.map +1 -1
  183. package/dist/utils/page-header-constants.d.ts +15 -0
  184. package/dist/utils/page-header-constants.d.ts.map +1 -0
  185. package/dist/utils/social-embed-cache.d.ts +29 -0
  186. package/dist/utils/social-embed-cache.d.ts.map +1 -0
  187. package/package.json +7 -1
  188. package/src/components/case-studies/index.ts +4 -0
  189. package/src/components/case-studies/share-experience-section.tsx +185 -0
  190. package/src/components/chat/embeddable-chat.tsx +1 -1
  191. package/src/components/docs/doc-viewer.tsx +111 -19
  192. package/src/components/docs/docs-hub-page.tsx +149 -0
  193. package/src/components/docs/index.ts +17 -0
  194. package/src/components/docs/skeletons.tsx +138 -0
  195. package/src/components/docs/use-docs-resolve-link.ts +52 -0
  196. package/src/components/docs/use-document-tree.ts +21 -0
  197. package/src/components/embeds/embed-container.tsx +80 -0
  198. package/src/components/embeds/embed-iframe.tsx +7 -9
  199. package/src/components/embeds/file-download-card.tsx +54 -0
  200. package/src/components/embeds/index.ts +30 -0
  201. package/src/components/embeds/linkedin-embed-client.tsx +100 -0
  202. package/src/components/embeds/markdown-image.tsx +88 -0
  203. package/src/components/embeds/og-link-preview.tsx +13 -13
  204. package/src/components/embeds/reddit-embed-client.tsx +550 -0
  205. package/src/components/embeds/rich-markdown-runtime.tsx +79 -0
  206. package/src/components/embeds/twitter-embed-client.tsx +308 -0
  207. package/src/components/layout/page-header.tsx +182 -0
  208. package/src/components/layout/page-layout.tsx +14 -1
  209. package/src/components/layout/page-with-header.tsx +110 -0
  210. package/src/components/layout/title-block.tsx +40 -62
  211. package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +3 -3
  212. package/src/components/shared/dev-section/dev-section-page.tsx +9 -1
  213. package/src/components/shared/dev-section/dev-section-view.tsx +14 -9
  214. package/src/components/shared/dev-section/index.ts +1 -1
  215. package/src/components/shared/doc-search/use-doc-search.ts +7 -3
  216. package/src/components/shared/legal-document/legal-document-page.tsx +2 -2
  217. package/src/components/shared/product-release/release-detail-page.tsx +6 -4
  218. package/src/components/ui/index.ts +2 -0
  219. package/src/components/ui/release-changelog-section.tsx +7 -2
  220. package/src/components/ui/rich-markdown-renderer.tsx +1203 -0
  221. package/src/components/ui/simple-markdown-renderer.tsx +7 -11
  222. package/src/contexts/chat-runtime-context.tsx +14 -0
  223. package/src/types/doc-source.ts +33 -1
  224. package/src/utils/index.ts +1 -0
  225. package/src/utils/page-header-constants.ts +15 -0
  226. package/src/utils/social-embed-cache.ts +391 -0
  227. package/dist/chunk-26PKDALD.js +0 -2379
  228. package/dist/chunk-26PKDALD.js.map +0 -1
  229. package/dist/chunk-3MCHAFHB.js +0 -89
  230. package/dist/chunk-3MCHAFHB.js.map +0 -1
  231. package/dist/chunk-5E2HOSSH.cjs.map +0 -1
  232. package/dist/chunk-66AANIOC.cjs +0 -619
  233. package/dist/chunk-66AANIOC.cjs.map +0 -1
  234. package/dist/chunk-6JINAOI7.cjs +0 -311
  235. package/dist/chunk-6JINAOI7.cjs.map +0 -1
  236. package/dist/chunk-7RIYT7ZH.js.map +0 -1
  237. package/dist/chunk-AQOWFSMB.cjs.map +0 -1
  238. package/dist/chunk-BOCFIKYS.cjs +0 -3009
  239. package/dist/chunk-BOCFIKYS.cjs.map +0 -1
  240. package/dist/chunk-D652TJBQ.js +0 -3009
  241. package/dist/chunk-D652TJBQ.js.map +0 -1
  242. package/dist/chunk-E4XABBSU.js.map +0 -1
  243. package/dist/chunk-EL6QLAWX.js.map +0 -1
  244. package/dist/chunk-EYEW6PTA.cjs.map +0 -1
  245. package/dist/chunk-FQJK446R.js +0 -1606
  246. package/dist/chunk-FQJK446R.js.map +0 -1
  247. package/dist/chunk-GLLDTKZK.cjs.map +0 -1
  248. package/dist/chunk-IE6OU3WQ.cjs.map +0 -1
  249. package/dist/chunk-J54Z3OCR.cjs +0 -1606
  250. package/dist/chunk-J54Z3OCR.cjs.map +0 -1
  251. package/dist/chunk-K2PFPBMF.js.map +0 -1
  252. package/dist/chunk-KXCRGTRN.cjs +0 -2379
  253. package/dist/chunk-KXCRGTRN.cjs.map +0 -1
  254. package/dist/chunk-LCNMR277.js.map +0 -1
  255. package/dist/chunk-LFGGF7OT.cjs +0 -449
  256. package/dist/chunk-LFGGF7OT.cjs.map +0 -1
  257. package/dist/chunk-M2OCXTNT.js +0 -311
  258. package/dist/chunk-M2OCXTNT.js.map +0 -1
  259. package/dist/chunk-ME4EVDFP.js +0 -619
  260. package/dist/chunk-ME4EVDFP.js.map +0 -1
  261. package/dist/chunk-OQ6X7ZOC.js +0 -449
  262. package/dist/chunk-OQ6X7ZOC.js.map +0 -1
  263. package/dist/chunk-OY7OF7E7.js.map +0 -1
  264. package/dist/chunk-POKKCWKF.js +0 -354
  265. package/dist/chunk-POKKCWKF.js.map +0 -1
  266. package/dist/chunk-QHIXS3W2.cjs.map +0 -1
  267. package/dist/chunk-TFSYSWPS.cjs +0 -89
  268. package/dist/chunk-TFSYSWPS.cjs.map +0 -1
  269. package/dist/chunk-W6M2FLLT.cjs.map +0 -1
  270. package/dist/chunk-X647HY3F.cjs.map +0 -1
  271. package/dist/chunk-X6BV7MB7.cjs.map +0 -1
  272. package/dist/chunk-XREEV72C.cjs.map +0 -1
  273. package/dist/chunk-YETA25JW.cjs +0 -354
  274. package/dist/chunk-YETA25JW.cjs.map +0 -1
  275. package/dist/chunk-YIGPRLQY.cjs.map +0 -1
  276. /package/dist/{chunk-3ZXUQQL4.js.map → chunk-PI4WSYQV.js.map} +0 -0
@@ -1,31 +1,24 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkX647HY3Fcjs = require('../../chunk-X647HY3F.cjs');
5
- require('../../chunk-QHIXS3W2.cjs');
6
- require('../../chunk-KXCRGTRN.cjs');
7
- require('../../chunk-5E2HOSSH.cjs');
8
- require('../../chunk-LFGGF7OT.cjs');
4
+ var _chunkYBYI62OEcjs = require('../../chunk-YBYI62OE.cjs');
5
+ require('../../chunk-GUTS7HGA.cjs');
6
+ require('../../chunk-WMSTJAZT.cjs');
7
+ require('../../chunk-L6PSSIUQ.cjs');
9
8
  require('../../chunk-27APPAJN.cjs');
10
- require('../../chunk-6JINAOI7.cjs');
11
- require('../../chunk-PXXS27EE.cjs');
12
- require('../../chunk-BOCFIKYS.cjs');
13
- require('../../chunk-J54Z3OCR.cjs');
14
- require('../../chunk-TFSYSWPS.cjs');
15
- require('../../chunk-YETA25JW.cjs');
16
- require('../../chunk-AQOWFSMB.cjs');
9
+ require('../../chunk-BZFW3FOF.cjs');
17
10
  require('../../chunk-G7UE6RKV.cjs');
18
11
  require('../../chunk-XL4V2PYG.cjs');
19
- require('../../chunk-BZFW3FOF.cjs');
20
- require('../../chunk-IE6OU3WQ.cjs');
12
+ require('../../chunk-FQOTC3UU.cjs');
21
13
  require('../../chunk-WBR7H6E3.cjs');
22
14
  require('../../chunk-LGLPNWS6.cjs');
23
15
  require('../../chunk-FIG2RKZF.cjs');
24
16
  require('../../chunk-ZS2SBWBR.cjs');
25
17
  require('../../chunk-WZW7C7TF.cjs');
26
18
  require('../../chunk-XQFFGR6U.cjs');
19
+ require('../../chunk-PXXS27EE.cjs');
27
20
  require('../../chunk-VRHGVLSL.cjs');
28
21
 
29
22
 
30
- exports.ContactForm = _chunkX647HY3Fcjs.ContactForm;
23
+ exports.ContactForm = _chunkYBYI62OEcjs.ContactForm;
31
24
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/contact/index.cjs"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACF,oDAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/contact/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/contact/index.cjs"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACF,oDAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/contact/index.cjs"}
@@ -1,29 +1,22 @@
1
1
  "use client";
2
2
  import {
3
3
  ContactForm
4
- } from "../../chunk-MBFWU2EM.js";
5
- import "../../chunk-K2PFPBMF.js";
6
- import "../../chunk-26PKDALD.js";
7
- import "../../chunk-7RIYT7ZH.js";
8
- import "../../chunk-OQ6X7ZOC.js";
4
+ } from "../../chunk-L7ULJKG7.js";
5
+ import "../../chunk-PC746XCO.js";
6
+ import "../../chunk-2QG57XOJ.js";
7
+ import "../../chunk-IZ7JSBFP.js";
9
8
  import "../../chunk-MJNXIEV2.js";
10
- import "../../chunk-M2OCXTNT.js";
11
- import "../../chunk-PHWQLKVE.js";
12
- import "../../chunk-D652TJBQ.js";
13
- import "../../chunk-FQJK446R.js";
14
- import "../../chunk-3MCHAFHB.js";
15
- import "../../chunk-POKKCWKF.js";
16
- import "../../chunk-LCNMR277.js";
9
+ import "../../chunk-EL5YVPD5.js";
17
10
  import "../../chunk-PLJLE4A4.js";
18
11
  import "../../chunk-LXC6P2EO.js";
19
- import "../../chunk-EL5YVPD5.js";
20
- import "../../chunk-EL6QLAWX.js";
12
+ import "../../chunk-JALO4TAZ.js";
21
13
  import "../../chunk-OHPI2HRK.js";
22
14
  import "../../chunk-V4IIBNTA.js";
23
15
  import "../../chunk-XTCBRQN2.js";
24
16
  import "../../chunk-J7AV6H63.js";
25
17
  import "../../chunk-6U3IUD57.js";
26
18
  import "../../chunk-W72U7OU7.js";
19
+ import "../../chunk-PHWQLKVE.js";
27
20
  import "../../chunk-GGWZFCYS.js";
28
21
  export {
29
22
  ContactForm
@@ -16,7 +16,7 @@ export declare const DEFAULT_DOC_VIEWER_PALETTE: {
16
16
  export interface DocViewerProps {
17
17
  /**
18
18
  * Registry source id (`'openframe-docs'`, `'data-room-docs'`, …). Flowed through
19
- * `renderContent`'s handlers for `/api/resolve-link` POSTs.
19
+ * `renderContent`'s handlers for `/api/docs/resolve-link` POSTs.
20
20
  */
21
21
  sourceId: DocSourceId;
22
22
  /**
@@ -37,7 +37,24 @@ export interface DocViewerProps {
37
37
  * trusted boundary that wires this. NEVER pass user input here.
38
38
  */
39
39
  chatSource: string;
40
- title: string | React.ReactNode;
40
+ /** Page title rendered via the shared `<PageHeader>` primitive
41
+ * so the doc-viewer chrome matches every other lib page
42
+ * (DevSectionPage / LegalDocumentPage / OnboardingGuideDetailView)
43
+ * pixel-for-pixel. ReactNode is intentionally not supported here —
44
+ * every consumer renders the same typography. */
45
+ title?: string;
46
+ /** Optional icon rendered inline before the title text — same slot
47
+ * `<DevSectionView>`'s hero uses (Map for Roadmap, Rocket for Releases,
48
+ * etc.). Pass a pre-rendered React element styled with
49
+ * `SECTION_HERO_ICON_CLASS` (`h-10 w-10 text-ods-accent`) for visual
50
+ * parity with other lib pages. */
51
+ titleIcon?: React.ReactNode;
52
+ /** Subtitle (h6, secondary text) rendered beneath the title. */
53
+ subtitle?: string;
54
+ /** Render a yellow accent dot (`.`) after the title — same flag as
55
+ * the hub's legacy `<AdminPageHeader accentDot>` so the docs-hub
56
+ * surface keeps its existing accent styling after the migration. */
57
+ accentDot?: boolean;
41
58
  /** Override the default ODS palette. Optional — most callers should omit. */
42
59
  colorPalette?: typeof DEFAULT_DOC_VIEWER_PALETTE;
43
60
  className?: string;
@@ -53,6 +70,17 @@ export interface DocViewerProps {
53
70
  structureEndpoint?: string;
54
71
  /** Same shape as `structureEndpoint`. Defaults to `/api/docs/sources/${sourceId}/content`. */
55
72
  contentEndpoint?: string;
73
+ /** RAG-search endpoint that backs the in-source search bar (when `showAIChat`
74
+ * is on). Defaults to `/api/docs/search`. Override for proxy-prefix embeds —
75
+ * same injectability pattern as `structureEndpoint` / `contentEndpoint`. */
76
+ searchEndpoint?: string;
77
+ /** POST internal-link resolver. The viewer threads an async `onResolveLink`
78
+ * into `renderContent`'s `handlers` that posts `{ link, currentPath, source }`
79
+ * here. Defaults to `/api/docs/resolve-link`. Override for proxy-prefix embeds —
80
+ * same injectability pattern as `structureEndpoint` / `contentEndpoint` /
81
+ * `searchEndpoint`, with `ChatRuntime.endpoints.docsResolveLinkUrl` as a
82
+ * runtime fallback (prop → runtime → default). */
83
+ resolveLinkEndpoint?: string;
56
84
  /** Base route path for URL navigation. */
57
85
  baseRoute: string;
58
86
  /** Empty state copy when no doc is selected. */
@@ -61,6 +89,15 @@ export interface DocViewerProps {
61
89
  showAIChat?: boolean;
62
90
  /** Folder-index filename (default `'README.md'`). */
63
91
  folderIndexFile?: string;
92
+ /** Back-button shown above the title. Mirrors `<DevSectionPage>` /
93
+ * `<HelpCenterList>` / `<LegalDocumentPage>` so every embeddable surface
94
+ * shares the same chrome. Defaults to `{ label: 'Back to home', href: '/' }`.
95
+ * Pass `false` to hide; pass `{ href: '/docs' }` etc. when the embed's
96
+ * home isn't `/`. */
97
+ backButton?: {
98
+ label?: string;
99
+ href?: string;
100
+ } | false;
64
101
  }
65
102
  export declare function DocViewer(props: DocViewerProps): React.JSX.Element;
66
103
  //# sourceMappingURL=doc-viewer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"doc-viewer.d.ts","sourceRoot":"","sources":["../../../src/components/docs/doc-viewer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAWtC,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEjG;;4EAE4E;AAC5E,eAAO,MAAM,0BAA0B;;;;;;;;;CAS7B,CAAA;AAEV,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,QAAQ,EAAE,WAAW,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AAM,CAAA;KAAE,GAAG,KAAK,CAAA;CACvD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,qBAE9C"}
@@ -0,0 +1,46 @@
1
+ import React from 'react';
2
+ import { type DocViewerProps } from './doc-viewer';
3
+ import type { DocContent, DocRenderHandlers, DocumentType } from '../../types/doc-source';
4
+ type DocRenderer = (content: DocContent, handlers: DocRenderHandlers) => React.ReactNode;
5
+ /**
6
+ * Per-document-type renderer map. `markdown` is required (the lib does NOT
7
+ * ship a default markdown renderer — embedders pick their own library +
8
+ * sanitization to avoid an XSS surface in the lib).
9
+ *
10
+ * `pdf` / `google_sheet` / `figma` / `file` are optional — the lib provides
11
+ * defaults from `components/embeds`. Override only when you want different
12
+ * props than the default (e.g. a custom PDF toolbar, embedded credentials).
13
+ */
14
+ export type DocumentTypeRenderers = {
15
+ markdown: DocRenderer;
16
+ } & Partial<Record<DocumentType, DocRenderer>>;
17
+ export interface DocsHubPageProps extends Omit<DocViewerProps, 'renderContent' | 'renderSkeleton' | 'showAIChat'> {
18
+ /** Per-document-type renderer map. `markdown` is REQUIRED. */
19
+ documentTypeRenderers: DocumentTypeRenderers;
20
+ /** Renderer for unknown / future document types. Defaults to a lib-styled
21
+ * "Unsupported document type" message. */
22
+ fallbackRenderer?: DocRenderer;
23
+ /** Loading skeleton picker. Defaults: `markdown` / `undefined` →
24
+ * `<MarkdownSkeleton>`, everything else → `<EmbedSkeleton>`. */
25
+ renderSkeleton?: (documentType: DocumentType | undefined) => React.ReactNode;
26
+ /** Defaults to `true` (the embeddable wrapper favors the chat-enabled
27
+ * experience). Only mounts the in-source RAG search bar
28
+ * (`<DocSearchBar>`) — does NOT require `ChatRuntimeContext`. */
29
+ showAIChat?: boolean;
30
+ }
31
+ /**
32
+ * Embeddable docs-hub page. Bundles `<DocViewer>` with safe defaults so the
33
+ * minimum embed is a one-line mount (consumer only has to supply
34
+ * `documentTypeRenderers.markdown`).
35
+ *
36
+ * Used by the hub at `/knowledge-base` and `/data-room`, and by third-party
37
+ * React apps that embed the docs experience behind their own proxy. See
38
+ * `docs/EMBEDDING_DOCS_HUB.md` for the embedder setup.
39
+ *
40
+ * SEO note: this component is `'use client'` (via the docs barrel) — server-
41
+ * side SEO is the host's responsibility. The hub's `<DocSeoContent>` is the
42
+ * canonical implementation embedders can reference.
43
+ */
44
+ export declare function DocsHubPage({ title, documentTypeRenderers, fallbackRenderer, renderSkeleton, showAIChat, className, sidebarLabel, ...docViewerProps }: DocsHubPageProps): React.JSX.Element;
45
+ export {};
46
+ //# sourceMappingURL=docs-hub-page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs-hub-page.d.ts","sourceRoot":"","sources":["../../../src/components/docs/docs-hub-page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAM7D,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,YAAY,EACb,MAAM,wBAAwB,CAAA;AAE/B,KAAK,WAAW,GAAG,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,iBAAiB,KAAK,KAAK,CAAC,SAAS,CAAA;AAExF;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAAE,QAAQ,EAAE,WAAW,CAAA;CAAE,GAAG,OAAO,CACrE,MAAM,CAAC,YAAY,EAAE,WAAW,CAAC,CAClC,CAAA;AAED,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,EAAE,eAAe,GAAG,gBAAgB,GAAG,YAAY,CAAC;IAC/E,8DAA8D;IAC9D,qBAAqB,EAAE,qBAAqB,CAAA;IAE5C;+CAC2C;IAC3C,gBAAgB,CAAC,EAAE,WAAW,CAAA;IAE9B;qEACiE;IACjE,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,GAAG,SAAS,KAAK,KAAK,CAAC,SAAS,CAAA;IAE5E;;sEAEkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAuDD;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAqB,EACrB,qBAAqB,EACrB,gBAA0C,EAC1C,cAAsC,EACtC,UAAiB,EACjB,SAA0B,EAC1B,YAA8B,EAC9B,GAAG,cAAc,EAClB,EAAE,gBAAgB,qBA0BlB"}
@@ -6,23 +6,28 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkEYEW6PTAcjs = require('../../chunk-EYEW6PTA.cjs');
10
- require('../../chunk-YIGPRLQY.cjs');
9
+
10
+
11
+
12
+ var _chunk6C526VNNcjs = require('../../chunk-6C526VNN.cjs');
13
+ require('../../chunk-F5OB2YAL.cjs');
14
+ require('../../chunk-FCDQNTDG.cjs');
11
15
  require('../../chunk-VFKQMAUF.cjs');
12
- require('../../chunk-KXCRGTRN.cjs');
13
- require('../../chunk-LFGGF7OT.cjs');
14
- require('../../chunk-J54Z3OCR.cjs');
15
- require('../../chunk-YETA25JW.cjs');
16
- require('../../chunk-AQOWFSMB.cjs');
16
+ require('../../chunk-GUTS7HGA.cjs');
17
+ require('../../chunk-WMSTJAZT.cjs');
18
+ require('../../chunk-L6PSSIUQ.cjs');
19
+ require('../../chunk-27APPAJN.cjs');
20
+ require('../../chunk-BZFW3FOF.cjs');
17
21
  require('../../chunk-G7UE6RKV.cjs');
18
22
  require('../../chunk-XL4V2PYG.cjs');
19
- require('../../chunk-BZFW3FOF.cjs');
23
+ require('../../chunk-FQOTC3UU.cjs');
20
24
  require('../../chunk-WBR7H6E3.cjs');
21
25
  require('../../chunk-LGLPNWS6.cjs');
22
26
  require('../../chunk-FIG2RKZF.cjs');
23
27
  require('../../chunk-ZS2SBWBR.cjs');
24
28
  require('../../chunk-WZW7C7TF.cjs');
25
29
  require('../../chunk-XQFFGR6U.cjs');
30
+ require('../../chunk-PXXS27EE.cjs');
26
31
  require('../../chunk-VRHGVLSL.cjs');
27
32
 
28
33
 
@@ -30,5 +35,8 @@ require('../../chunk-VRHGVLSL.cjs');
30
35
 
31
36
 
32
37
 
33
- exports.DocNavigationProvider = _chunkEYEW6PTAcjs.DocNavigationProvider; exports.DocViewer = _chunkEYEW6PTAcjs.DocViewer; exports.useDocNavigation = _chunkEYEW6PTAcjs.useDocNavigation; exports.useDocumentTree = _chunkEYEW6PTAcjs.useDocumentTree; exports.useScrollSpy = _chunkEYEW6PTAcjs.useScrollSpy;
38
+
39
+
40
+
41
+ exports.DocNavigationProvider = _chunk6C526VNNcjs.DocNavigationProvider; exports.DocViewer = _chunk6C526VNNcjs.DocViewer; exports.DocsHubPage = _chunk6C526VNNcjs.DocsHubPage; exports.EmbedSkeleton = _chunk6C526VNNcjs.EmbedSkeleton; exports.MarkdownSkeleton = _chunk6C526VNNcjs.MarkdownSkeleton; exports.useDocNavigation = _chunk6C526VNNcjs.useDocNavigation; exports.useDocumentTree = _chunk6C526VNNcjs.useDocumentTree; exports.useScrollSpy = _chunk6C526VNNcjs.useScrollSpy;
34
42
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/docs/index.cjs"],"names":[],"mappings":"AAAA,qFAAY;AACZ,YAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACA;AACA;AACA;AACF,4SAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/docs/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/docs/index.cjs"],"names":[],"mappings":"AAAA,qFAAY;AACZ,YAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,ydAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/docs/index.cjs"}
@@ -1,8 +1,12 @@
1
1
  export { DocViewer } from './doc-viewer';
2
2
  export type { DocViewerProps } from './doc-viewer';
3
+ export { DocsHubPage } from './docs-hub-page';
4
+ export type { DocsHubPageProps, DocumentTypeRenderers } from './docs-hub-page';
5
+ export { MarkdownSkeleton, EmbedSkeleton } from './skeletons';
3
6
  export { useDocumentTree } from './use-document-tree';
4
7
  export type { UseDocumentTreeConfig } from './use-document-tree';
5
8
  export { useScrollSpy } from './use-scroll-spy';
6
9
  export { DocNavigationProvider, useDocNavigation } from './doc-navigation-context';
7
10
  export type { DocNavigator } from './doc-navigation-context';
11
+ export type { DocNode, DocContent, DocRenderHandlers, DocSourceId, DocumentType, ResolveLinkResult, } from '../../types/doc-source';
8
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/docs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAClF,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/docs/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAE9E,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE7D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,YAAY,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAClF,YAAY,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAK5D,YAAY,EACV,OAAO,EACP,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,iBAAiB,GAClB,MAAM,wBAAwB,CAAA"}
@@ -3,30 +3,38 @@
3
3
  import {
4
4
  DocNavigationProvider,
5
5
  DocViewer,
6
+ DocsHubPage,
7
+ EmbedSkeleton,
8
+ MarkdownSkeleton,
6
9
  useDocNavigation,
7
10
  useDocumentTree,
8
11
  useScrollSpy
9
- } from "../../chunk-E4XABBSU.js";
10
- import "../../chunk-6GCI7JOE.js";
12
+ } from "../../chunk-PWQUAVA3.js";
13
+ import "../../chunk-SA2WPJVO.js";
14
+ import "../../chunk-AD6C23QY.js";
11
15
  import "../../chunk-4XLJWX2N.js";
12
- import "../../chunk-26PKDALD.js";
13
- import "../../chunk-OQ6X7ZOC.js";
14
- import "../../chunk-FQJK446R.js";
15
- import "../../chunk-POKKCWKF.js";
16
- import "../../chunk-LCNMR277.js";
16
+ import "../../chunk-PC746XCO.js";
17
+ import "../../chunk-2QG57XOJ.js";
18
+ import "../../chunk-IZ7JSBFP.js";
19
+ import "../../chunk-MJNXIEV2.js";
20
+ import "../../chunk-EL5YVPD5.js";
17
21
  import "../../chunk-PLJLE4A4.js";
18
22
  import "../../chunk-LXC6P2EO.js";
19
- import "../../chunk-EL5YVPD5.js";
23
+ import "../../chunk-JALO4TAZ.js";
20
24
  import "../../chunk-OHPI2HRK.js";
21
25
  import "../../chunk-V4IIBNTA.js";
22
26
  import "../../chunk-XTCBRQN2.js";
23
27
  import "../../chunk-J7AV6H63.js";
24
28
  import "../../chunk-6U3IUD57.js";
25
29
  import "../../chunk-W72U7OU7.js";
30
+ import "../../chunk-PHWQLKVE.js";
26
31
  import "../../chunk-GGWZFCYS.js";
27
32
  export {
28
33
  DocNavigationProvider,
29
34
  DocViewer,
35
+ DocsHubPage,
36
+ EmbedSkeleton,
37
+ MarkdownSkeleton,
30
38
  useDocNavigation,
31
39
  useDocumentTree,
32
40
  useScrollSpy
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ /**
3
+ * Text-style skeleton — matches a rendered markdown article layout.
4
+ * Used by `<DocsHubPage>` as the default for `markdown` (and unknown
5
+ * document types). Embedders can override via `renderSkeleton`.
6
+ */
7
+ export declare function MarkdownSkeleton(): React.JSX.Element;
8
+ /**
9
+ * Embed-style skeleton — matches the iframe loading state for `pdf`,
10
+ * `google_sheet`, `figma`, and `file` document types. Used by
11
+ * `<DocsHubPage>` as the default for non-markdown documentTypes.
12
+ *
13
+ * The skeleton is documentType-aware so its layout matches the actual
14
+ * viewer that will replace it:
15
+ * - `pdf` → header with title + TWO buttons (Preview, Download)
16
+ * - `google_sheet`/`figma` → header with title + ONE button/toggle
17
+ * - `file` → centered FileDownloadCard-style box
18
+ * - undefined / others → generic (1-button header)
19
+ *
20
+ * IMPORTANT: bars use `bg-ods-border` (NOT `bg-ods-skeleton`). The
21
+ * `--ods-skeleton` token resolves to TRANSPARENT in this build, leaving
22
+ * the skeleton box visually empty — the embed skeleton was the loudest
23
+ * surface affected (a full-height iframe area showing nothing). Same fix
24
+ * the chat-message-row skeleton already documents in its inline comment.
25
+ */
26
+ export interface EmbedSkeletonProps {
27
+ /** When provided, the header layout matches the eventual viewer's
28
+ * button count + arrangement, so the layout doesn't shift on load. */
29
+ documentType?: 'pdf' | 'google_sheet' | 'figma' | 'file' | string;
30
+ }
31
+ export declare function EmbedSkeleton({ documentType }?: EmbedSkeletonProps): React.JSX.Element;
32
+ //# sourceMappingURL=skeletons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeletons.d.ts","sourceRoot":"","sources":["../../../src/components/docs/skeletons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB;;;;GAIG;AACH,wBAAgB,gBAAgB,sBAoD/B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,kBAAkB;IACjC;2EACuE;IACvE,YAAY,CAAC,EAAE,KAAK,GAAG,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;CAClE;AAED,wBAAgB,aAAa,CAAC,EAAE,YAAY,EAAE,GAAE,kBAAuB,qBAoDtE"}
@@ -0,0 +1,20 @@
1
+ import type { ResolveLinkResult } from '../../types/doc-source';
2
+ /**
3
+ * `useDocsResolveLink(sourceId, override?)` — POST `/api/docs/resolve-link`
4
+ * (or the override / `ChatRuntime.endpoints.docsResolveLinkUrl`) for a
5
+ * relative href inside a doc body, returning a `ResolveLinkResult`
6
+ * envelope.
7
+ *
8
+ * The endpoint chain (`override ?? runtime.endpoints.docsResolveLinkUrl
9
+ * ?? '/api/docs/resolve-link'`) mirrors `searchEndpoint` resolution in
10
+ * `<DocViewer>` so embedders configure both the same way: per-instance
11
+ * prop OR ambient `ChatRuntimeProvider`.
12
+ *
13
+ * The full fetch + JSON-parse pipeline is wrapped in try/catch so a
14
+ * network throw (DNS / CORS / offline) or a non-JSON response surfaces
15
+ * as `{ success: false, error }` — the markdown renderer's broken-link
16
+ * badge handles that branch instead of swallowing an unhandled rejection
17
+ * past the click handler.
18
+ */
19
+ export declare function useDocsResolveLink(sourceId: string, resolveLinkEndpoint?: string | null): (href: string, currentPath: string) => Promise<ResolveLinkResult>;
20
+ //# sourceMappingURL=use-docs-resolve-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-docs-resolve-link.d.ts","sourceRoot":"","sources":["../../../src/components/docs/use-docs-resolve-link.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,MAAM,EAChB,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,UAOpB,MAAM,eAAe,MAAM,KAAG,OAAO,CAAC,iBAAiB,CAAC,CAqBxE"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-document-tree.d.ts","sourceRoot":"","sources":["../../../src/components/docs/use-document-tree.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAoBjE,MAAM,WAAW,qBAAqB;IACpC,4DAA4D;IAC5D,iBAAiB,EAAE,MAAM,CAAA;IACzB,iDAAiD;IACjD,eAAe,EAAE,MAAM,CAAA;IACvB,iFAAiF;IACjF,SAAS,EAAE,MAAM,CAAA;IACjB,uDAAuD;IACvD,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,qBAAqB,EAC7B,WAAW,CAAC,EAAE,MAAM;;;;;;;;;yBAmOoB,MAAM;uBAgBR,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC;0BAsChD,MAAM,YAAY;QAAE,YAAY,CAAC,EAAE,OAAO,CAAC;QAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;KAAE;;;EA2IlH;AAED,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"use-document-tree.d.ts","sourceRoot":"","sources":["../../../src/components/docs/use-document-tree.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAoBjE,MAAM,WAAW,qBAAqB;IACpC,4DAA4D;IAC5D,iBAAiB,EAAE,MAAM,CAAA;IACzB,iDAAiD;IACjD,eAAe,EAAE,MAAM,CAAA;IACvB,iFAAiF;IACjF,SAAS,EAAE,MAAM,CAAA;IACjB,uDAAuD;IACvD,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,qBAAqB,EAC7B,WAAW,CAAC,EAAE,MAAM;;;;;;;;;yBAwPoB,MAAM;uBAgBR,IAAI,CAAC,OAAO,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAC;0BAsChD,MAAM,YAAY;QAAE,YAAY,CAAC,EAAE,OAAO,CAAC;QAAC,gBAAgB,CAAC,EAAE,OAAO,CAAA;KAAE;;;EA2IlH;AAED,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ export declare const EMBED_SIZES: {
3
+ readonly youtube: "max-w-3xl";
4
+ readonly twitter: "max-w-md";
5
+ readonly reddit: "max-w-xl";
6
+ readonly linkedin: "max-w-lg";
7
+ readonly linkPreview: "max-w-lg";
8
+ };
9
+ export type EmbedSize = keyof typeof EMBED_SIZES;
10
+ interface EmbedContainerProps {
11
+ size: EmbedSize;
12
+ children: React.ReactNode;
13
+ className?: string;
14
+ }
15
+ export declare function EmbedContainer({ size, children, className }: EmbedContainerProps): React.JSX.Element;
16
+ export declare function YouTubeContainer({ children, className }: {
17
+ children: React.ReactNode;
18
+ className?: string;
19
+ }): React.JSX.Element;
20
+ export declare function TwitterContainer({ children, className }: {
21
+ children: React.ReactNode;
22
+ className?: string;
23
+ }): React.JSX.Element;
24
+ export declare function RedditContainer({ children, className }: {
25
+ children: React.ReactNode;
26
+ className?: string;
27
+ }): React.JSX.Element;
28
+ export declare function LinkPreviewContainer({ children, className }: {
29
+ children: React.ReactNode;
30
+ className?: string;
31
+ }): React.JSX.Element;
32
+ export declare function LinkedInContainer({ children, className }: {
33
+ children: React.ReactNode;
34
+ className?: string;
35
+ }): React.JSX.Element;
36
+ export {};
37
+ //# sourceMappingURL=embed-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"embed-container.d.ts","sourceRoot":"","sources":["../../../src/components/embeds/embed-container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,WAAW;;;;;;CAMd,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,WAAW,CAAC;AAEjD,UAAU,mBAAmB;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,QAAQ,EACR,SAAc,EACf,EAAE,mBAAmB,qBAarB;AAGD,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE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C;IACzC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,KAAK,EACL,SAAS,EACT,MAAM,EACN,KAAK,EACL,cAAc,EACd,OAAO,EACP,eAAe,GAChB,EAAE,gBAAgB,qBA8ClB"}
1
+ {"version":3,"file":"embed-iframe.d.ts","sourceRoot":"","sources":["../../../src/components/embeds/embed-iframe.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmD,MAAM,OAAO,CAAA;AAgBvE,MAAM,WAAW,gBAAgB;IAC/B,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,sEAAsE;IACtE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wCAAwC;IACxC,cAAc,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,gBAAgB,CAAC,CAAA;IAChF,iCAAiC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,yCAAyC;IACzC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,KAAK,EACL,SAAS,EACT,MAAM,EACN,KAAK,EACL,cAAc,EACd,OAAO,EACP,eAAe,GAChB,EAAE,gBAAgB,qBA8ClB"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface FileDownloadCardProps {
3
+ fileName?: string;
4
+ mimeType?: string;
5
+ fileSize?: number;
6
+ fileUrl?: string;
7
+ }
8
+ /**
9
+ * Generic downloadable-file card for the `file` document type. Used by
10
+ * `<DocsHubPage>`'s default `documentTypeRenderers.file`. Embedders can
11
+ * override the default by passing their own `file` renderer.
12
+ *
13
+ * When `fileUrl` is missing, the Download button is omitted (the card still
14
+ * renders the filename + type + size so the user knows what they were
15
+ * about to download).
16
+ */
17
+ export declare function FileDownloadCard({ fileName, mimeType, fileSize, fileUrl, }: FileDownloadCardProps): React.JSX.Element;
18
+ //# sourceMappingURL=file-download-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-download-card.d.ts","sourceRoot":"","sources":["../../../src/components/embeds/file-download-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,GACR,EAAE,qBAAqB,qBA2BvB"}
@@ -1,34 +1,43 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
+ require('../../chunk-FBWXMMRB.cjs');
2
3
 
3
4
 
4
5
 
5
6
 
7
+ var _chunkF5OB2YALcjs = require('../../chunk-F5OB2YAL.cjs');
6
8
 
7
9
 
8
10
 
9
- var _chunk66AANIOCcjs = require('../../chunk-66AANIOC.cjs');
10
- require('../../chunk-QHIXS3W2.cjs');
11
- require('../../chunk-KXCRGTRN.cjs');
12
- require('../../chunk-5E2HOSSH.cjs');
13
- require('../../chunk-LFGGF7OT.cjs');
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+ var _chunkGUTS7HGAcjs = require('../../chunk-GUTS7HGA.cjs');
27
+ require('../../chunk-WMSTJAZT.cjs');
28
+ require('../../chunk-L6PSSIUQ.cjs');
14
29
  require('../../chunk-27APPAJN.cjs');
15
- require('../../chunk-6JINAOI7.cjs');
16
- require('../../chunk-PXXS27EE.cjs');
17
- require('../../chunk-BOCFIKYS.cjs');
18
- require('../../chunk-J54Z3OCR.cjs');
19
- require('../../chunk-TFSYSWPS.cjs');
20
- require('../../chunk-YETA25JW.cjs');
21
- require('../../chunk-AQOWFSMB.cjs');
30
+ require('../../chunk-BZFW3FOF.cjs');
22
31
  require('../../chunk-G7UE6RKV.cjs');
23
32
  require('../../chunk-XL4V2PYG.cjs');
24
- require('../../chunk-BZFW3FOF.cjs');
25
- require('../../chunk-IE6OU3WQ.cjs');
33
+ require('../../chunk-FQOTC3UU.cjs');
26
34
  require('../../chunk-WBR7H6E3.cjs');
27
35
  require('../../chunk-LGLPNWS6.cjs');
28
36
  require('../../chunk-FIG2RKZF.cjs');
29
37
  require('../../chunk-ZS2SBWBR.cjs');
30
38
  require('../../chunk-WZW7C7TF.cjs');
31
39
  require('../../chunk-XQFFGR6U.cjs');
40
+ require('../../chunk-PXXS27EE.cjs');
32
41
  require('../../chunk-VRHGVLSL.cjs');
33
42
 
34
43
 
@@ -37,5 +46,19 @@ require('../../chunk-VRHGVLSL.cjs');
37
46
 
38
47
 
39
48
 
40
- exports.EmbedIframe = _chunk66AANIOCcjs.EmbedIframe; exports.FigmaEmbed = _chunk66AANIOCcjs.FigmaEmbed; exports.GoogleSheetsViewer = _chunk66AANIOCcjs.GoogleSheetsViewer; exports.OGLinkErrorBoundary = _chunk66AANIOCcjs.OGLinkErrorBoundary; exports.OGLinkPreview = _chunk66AANIOCcjs.OGLinkPreview; exports.PdfViewer = _chunk66AANIOCcjs.PdfViewer;
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+ exports.EMBED_SIZES = _chunkGUTS7HGAcjs.EMBED_SIZES; exports.EmbedContainer = _chunkGUTS7HGAcjs.EmbedContainer; exports.EmbedIframe = _chunkGUTS7HGAcjs.EmbedIframe; exports.FigmaEmbed = _chunkGUTS7HGAcjs.FigmaEmbed; exports.FileDownloadCard = _chunkF5OB2YALcjs.FileDownloadCard; exports.GoogleSheetsViewer = _chunkF5OB2YALcjs.GoogleSheetsViewer; exports.LinkPreviewContainer = _chunkGUTS7HGAcjs.LinkPreviewContainer; exports.LinkedInContainer = _chunkGUTS7HGAcjs.LinkedInContainer; exports.LinkedInEmbedClient = _chunkGUTS7HGAcjs.LinkedInEmbedClient; exports.MarkdownImage = _chunkGUTS7HGAcjs.MarkdownImage; exports.OGLinkErrorBoundary = _chunkGUTS7HGAcjs.OGLinkErrorBoundary; exports.OGLinkPreview = _chunkGUTS7HGAcjs.OGLinkPreview; exports.PdfViewer = _chunkF5OB2YALcjs.PdfViewer; exports.RedditContainer = _chunkGUTS7HGAcjs.RedditContainer; exports.RedditEmbedClient = _chunkGUTS7HGAcjs.RedditEmbedClient; exports.RichMarkdownRuntimeProvider = _chunkGUTS7HGAcjs.RichMarkdownRuntimeProvider; exports.TwitterContainer = _chunkGUTS7HGAcjs.TwitterContainer; exports.TwitterEmbedClient = _chunkGUTS7HGAcjs.TwitterEmbedClient; exports.YouTubeContainer = _chunkGUTS7HGAcjs.YouTubeContainer; exports.useRichMarkdownRuntime = _chunkGUTS7HGAcjs.useRichMarkdownRuntime;
41
64
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/embeds/index.cjs"],"names":[],"mappings":"AAAA,qFAAY;AACZ;AACE;AACA;AACA;AACA;AACA;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yVAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/embeds/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/embeds/index.cjs"],"names":[],"mappings":"AAAA,qFAAY;AACZ,oCAAiC;AACjC;AACE;AACA;AACA;AACF,4DAAiC;AACjC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,4DAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC,oCAAiC;AACjC;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,6uCAAC","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/components/embeds/index.cjs"}
@@ -8,4 +8,12 @@ export { FigmaEmbed } from './figma-embed';
8
8
  export type { FigmaEmbedProps } from './figma-embed';
9
9
  export { OGLinkPreview, OGLinkErrorBoundary } from './og-link-preview';
10
10
  export type { OGLinkPreviewProps, OGData, BuildPlaceholderUrl, } from './og-link-preview';
11
+ export { FileDownloadCard } from './file-download-card';
12
+ export type { FileDownloadCardProps } from './file-download-card';
13
+ export { RedditEmbedClient } from './reddit-embed-client';
14
+ export { TwitterEmbedClient } from './twitter-embed-client';
15
+ export { LinkedInEmbedClient } from './linkedin-embed-client';
16
+ export { MarkdownImage } from './markdown-image';
17
+ export { EmbedContainer, YouTubeContainer, TwitterContainer, RedditContainer, LinkPreviewContainer, LinkedInContainer, EMBED_SIZES, type EmbedSize, } from './embed-container';
18
+ export { RichMarkdownRuntimeProvider, useRichMarkdownRuntime, type RichMarkdownRuntime, } from './rich-markdown-runtime';
11
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/embeds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AACtE,YAAY,EACV,kBAAkB,EAClB,MAAM,EACN,mBAAmB,GACpB,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/embeds/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAA;AAErE,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