@flamingo-stack/openframe-frontend-core 0.0.803 → 0.0.805

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 (211) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{case-study-card-K6HYMHL6.cjs → case-study-card-MEWJNF4N.cjs} +5 -5
  3. package/dist/{chunk-MII4RDO4.cjs → chunk-2NVIGBJC.cjs} +80 -80
  4. package/dist/{chunk-6JVNUGN3.cjs → chunk-3EPG56RK.cjs} +8 -8
  5. package/dist/{chunk-UYGXJ5SQ.cjs → chunk-3WNCFZGN.cjs} +2 -2
  6. package/dist/{chunk-2JCY5KQL.cjs → chunk-4W77VLQV.cjs} +4 -4
  7. package/dist/{chunk-HVWMPUXK.cjs → chunk-55TGW6BF.cjs} +6 -6
  8. package/dist/{chunk-IYWX4GOG.cjs → chunk-66ZQ7LDR.cjs} +38 -35
  9. package/dist/{chunk-H4T3YHYH.cjs → chunk-6JRQ57DU.cjs} +585 -599
  10. package/dist/{chunk-XOFGPSNP.cjs → chunk-6UGNFMZB.cjs} +36 -36
  11. package/dist/{chunk-Y5XHMEBB.cjs → chunk-76NE67PK.cjs} +5 -5
  12. package/dist/{chunk-VKSO3UYU.cjs → chunk-AC5EBHAX.cjs} +28 -28
  13. package/dist/{chunk-OG4XH6C5.cjs → chunk-AZJYMTBS.cjs} +33 -33
  14. package/dist/{chunk-HEMZOHNB.cjs → chunk-BVSZTKI3.cjs} +34 -21
  15. package/dist/{chunk-TVAU56UU.cjs → chunk-F2VN3UUB.cjs} +473 -508
  16. package/dist/{chunk-TELXF5WD.cjs → chunk-FLW2VL5W.cjs} +16 -16
  17. package/dist/{chunk-FS4TVAE7.cjs → chunk-FQ4LYYBI.cjs} +52 -52
  18. package/dist/{chunk-VVLL37EM.cjs → chunk-GAHXURKJ.cjs} +6 -6
  19. package/dist/{chunk-2X3N6MSR.cjs → chunk-JLKGLPDC.cjs} +21 -21
  20. package/dist/{chunk-3NGJ7NPT.cjs → chunk-KVJKKVB3.cjs} +7 -7
  21. package/dist/{chunk-YKQGYAG5.cjs → chunk-LZIQXGAW.cjs} +91 -88
  22. package/dist/{chunk-T7B3FJY6.cjs → chunk-MEDSJCEX.cjs} +4 -4
  23. package/dist/{chunk-FFRFKWTZ.cjs → chunk-MHH7CHNI.cjs} +17 -14
  24. package/dist/{chunk-IE3CPPHJ.cjs → chunk-NBLQFJ4I.cjs} +100 -99
  25. package/dist/{chunk-KVL3QRFX.cjs → chunk-NXJ3O4WO.cjs} +15 -15
  26. package/dist/{chunk-YBTORXFY.cjs → chunk-PRCGRDHV.cjs} +40 -25
  27. package/dist/{chunk-JTDOBGKE.cjs → chunk-QPBP7FKI.cjs} +52 -52
  28. package/dist/{chunk-ZPVFFPQM.cjs → chunk-RIRIA3FO.cjs} +4 -4
  29. package/dist/{chunk-XR323UBY.cjs → chunk-STLJCAIZ.cjs} +6 -3
  30. package/dist/{chunk-6UKH22NQ.cjs → chunk-TGOJHOQR.cjs} +2 -1
  31. package/dist/{chunk-FAUVDMH4.cjs → chunk-THY2XVGY.cjs} +198 -164
  32. package/dist/{chunk-6GCXQIUU.cjs → chunk-TT64NRFU.cjs} +4 -4
  33. package/dist/{chunk-CACULEQS.cjs → chunk-TTERV57X.cjs} +4 -4
  34. package/dist/{chunk-NNQXP2ZM.cjs → chunk-UCBR27JM.cjs} +13 -13
  35. package/dist/{chunk-KVGWOJCX.cjs → chunk-V3T5MDJV.cjs} +2 -2
  36. package/dist/{chunk-5RGGUQ4Y.cjs → chunk-VXXOUM2K.cjs} +67 -1
  37. package/dist/{chunk-I4BODSPV.cjs → chunk-WSKMV2QS.cjs} +3 -3
  38. package/dist/{chunk-MBZIARIL.cjs → chunk-XXARXK62.cjs} +26 -26
  39. package/dist/{chunk-HATRCNXJ.cjs → chunk-XYZBN6D7.cjs} +2 -2
  40. package/dist/{chunk-QFBRQ22U.cjs → chunk-Z6Y5X5SF.cjs} +41 -41
  41. package/dist/{cloud-tenants-GKCZSLEV.cjs → cloud-tenants-LRXMISV4.cjs} +19 -19
  42. package/dist/components/agent-mark.d.ts.map +1 -1
  43. package/dist/components/agent-mark.js +2 -2
  44. package/dist/components/case-studies/index.cjs +35 -35
  45. package/dist/components/chat/chat-message-row.d.ts.map +1 -1
  46. package/dist/components/chat/chat-message-row.js +3 -2
  47. package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
  48. package/dist/components/chat/entity-cards/admin-content-card.js +2 -1
  49. package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
  50. package/dist/components/chat/entity-cards/blog-card.js +6 -6
  51. package/dist/components/chat/entity-cards/blog-image-placeholder.d.ts.map +1 -1
  52. package/dist/components/chat/entity-cards/blog-image-placeholder.js +2 -1
  53. package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
  54. package/dist/components/chat/entity-cards/case-study-card.js +10 -9
  55. package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
  56. package/dist/components/chat/entity-cards/customer-interview-card.js +8 -7
  57. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  58. package/dist/components/chat/entity-cards/dispatch.js +12 -1
  59. package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
  60. package/dist/components/chat/entity-cards/employee-entry-card.js +3 -2
  61. package/dist/components/chat/entity-cards/entity-portrait-card.d.ts.map +1 -1
  62. package/dist/components/chat/entity-cards/entity-portrait-card.js +7 -5
  63. package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
  64. package/dist/components/chat/entity-cards/investor-update-card.js +2 -1
  65. package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
  66. package/dist/components/chat/entity-cards/onboarding-guide-card.js +13 -2
  67. package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
  68. package/dist/components/chat/entity-cards/program-card.js +17 -5
  69. package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
  70. package/dist/components/chat/entity-cards/roadmap-card.js +5 -4
  71. package/dist/components/chat/index.cjs +15 -15
  72. package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
  73. package/dist/components/chat/mingo-info-card.js +3 -2
  74. package/dist/components/contact/index.cjs +20 -20
  75. package/dist/components/docs/index.cjs +23 -23
  76. package/dist/components/embeds/index.cjs +20 -20
  77. package/dist/components/embeds/markdown-image.d.ts.map +1 -1
  78. package/dist/components/embeds/markdown-image.js +2 -1
  79. package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
  80. package/dist/components/embeds/og-link-preview.js +17 -6
  81. package/dist/components/embeds/twitter-embed-client.d.ts.map +1 -1
  82. package/dist/components/embeds/twitter-embed-client.js +3 -2
  83. package/dist/components/faq/index.cjs +21 -21
  84. package/dist/components/features/index.cjs +19 -19
  85. package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
  86. package/dist/components/features/media-gallery-manager.js +2 -1
  87. package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
  88. package/dist/components/features/notifications/notification-tile.js +3 -2
  89. package/dist/components/features/parallax-image-showcase.d.ts.map +1 -1
  90. package/dist/components/features/parallax-image-showcase.js +9 -35
  91. package/dist/components/features/select-button.d.ts.map +1 -1
  92. package/dist/components/features/select-button.js +3 -2
  93. package/dist/components/features/video-hover-preview.d.ts +1 -1
  94. package/dist/components/features/video-hover-preview.d.ts.map +1 -1
  95. package/dist/components/features/video-hover-preview.js +2 -1
  96. package/dist/components/features/video.d.ts.map +1 -1
  97. package/dist/components/features/video.js +13 -1
  98. package/dist/components/features/walkthrough-video.d.ts.map +1 -1
  99. package/dist/components/features/walkthrough-video.js +3 -3
  100. package/dist/components/help-center-pages/index.cjs +121 -121
  101. package/dist/components/hero-image-uploader.d.ts.map +1 -1
  102. package/dist/components/hero-image-uploader.js +12 -1
  103. package/dist/components/icon-display.d.ts.map +1 -1
  104. package/dist/components/icon-display.js +2 -1
  105. package/dist/components/index.cjs +137 -91
  106. package/dist/components/media-carousel.d.ts.map +1 -1
  107. package/dist/components/media-carousel.js +2 -1
  108. package/dist/components/meeting-scheduler/index.cjs +85 -85
  109. package/dist/components/navigation/index.cjs +22 -22
  110. package/dist/components/onboarding-guides/index.cjs +22 -22
  111. package/dist/components/platform/ScriptInfoSection.d.ts.map +1 -1
  112. package/dist/components/platform/ScriptInfoSection.js +12 -1
  113. package/dist/components/product-demo/index.cjs +30 -30
  114. package/dist/components/related-content/index.cjs +11 -11
  115. package/dist/components/shared/media-gallery-strip.d.ts.map +1 -1
  116. package/dist/components/shared/media-gallery-strip.js +3 -2
  117. package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
  118. package/dist/components/shared/product-release/product-release-card.js +13 -2
  119. package/dist/components/tickets/index.cjs +26 -26
  120. package/dist/components/ui/avatar-stack.d.ts.map +1 -1
  121. package/dist/components/ui/avatar-stack.js +4 -4
  122. package/dist/components/ui/entity-image.d.ts.map +1 -1
  123. package/dist/components/ui/entity-image.js +3 -2
  124. package/dist/components/ui/image-gallery-modal.d.ts.map +1 -1
  125. package/dist/components/ui/image-gallery-modal.js +2 -1
  126. package/dist/components/ui/image-uploader.d.ts.map +1 -1
  127. package/dist/components/ui/image-uploader.js +2 -1
  128. package/dist/components/ui/index.cjs +37 -19
  129. package/dist/components/ui/index.d.ts +1 -0
  130. package/dist/components/ui/index.d.ts.map +1 -1
  131. package/dist/components/ui/index.js +1 -0
  132. package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
  133. package/dist/components/ui/markdown/base-components.js +2 -1
  134. package/dist/components/ui/photo-wall.d.ts +7 -3
  135. package/dist/components/ui/photo-wall.d.ts.map +1 -1
  136. package/dist/components/ui/photo-wall.js +3 -4
  137. package/dist/components/ui/square-avatar.d.ts +4 -1
  138. package/dist/components/ui/square-avatar.d.ts.map +1 -1
  139. package/dist/components/ui/square-avatar.js +2 -1
  140. package/dist/components/user-summary-stub.d.ts +1 -1
  141. package/dist/components/user-summary-stub.d.ts.map +1 -1
  142. package/dist/components/user-summary-stub.js +16 -6
  143. package/dist/components/vendor-display-button.d.ts.map +1 -1
  144. package/dist/components/vendor-display-button.js +13 -3
  145. package/dist/components/vendor-icon.d.ts +7 -4
  146. package/dist/components/vendor-icon.d.ts.map +1 -1
  147. package/dist/components/vendor-icon.js +22 -71
  148. package/dist/{devices-XIXLFYRJ.cjs → devices-CETR72XY.cjs} +20 -20
  149. package/dist/{embeddable-chat-SVDMLAER.cjs → embeddable-chat-GHBCX2BY.cjs} +84 -84
  150. package/dist/hooks/index.cjs +6 -6
  151. package/dist/hooks/ui/use-image-edge-color.d.ts.map +1 -1
  152. package/dist/hooks/ui/use-image-edge-color.js +4 -3
  153. package/dist/index.cjs +43 -25
  154. package/dist/{knowledge-3DKG5QG2.cjs → knowledge-A2MWEF23.cjs} +20 -20
  155. package/dist/{logs-RIU2TTRZ.cjs → logs-47JODA6C.cjs} +27 -27
  156. package/dist/{policies-F2ZB2J4L.cjs → policies-OPIDR6XF.cjs} +23 -23
  157. package/dist/{remote-session-GBMM5UPQ.cjs → remote-session-IQTPEG63.cjs} +8 -8
  158. package/dist/{scripts-XX5LMCRA.cjs → scripts-4MQGJWFP.cjs} +26 -26
  159. package/dist/{software-update-VYBM7SC6.cjs → software-update-MQIGPBZ6.cjs} +23 -23
  160. package/dist/styles/image-sizes.cjs +68 -0
  161. package/dist/styles/image-sizes.d.ts +110 -0
  162. package/dist/styles/image-sizes.d.ts.map +1 -0
  163. package/dist/styles/image-sizes.js +66 -0
  164. package/dist/{tickets-board-5QIIA24E.cjs → tickets-board-QF5JNSH2.cjs} +11 -11
  165. package/eslint-config/base.js +12 -0
  166. package/eslint-config/image-sizes.js +51 -0
  167. package/package.json +8 -2
  168. package/src/components/agent-mark.tsx +3 -4
  169. package/src/components/chat/chat-message-row.tsx +3 -2
  170. package/src/components/chat/entity-cards/admin-content-card.tsx +2 -1
  171. package/src/components/chat/entity-cards/blog-card.tsx +6 -6
  172. package/src/components/chat/entity-cards/blog-image-placeholder.tsx +2 -1
  173. package/src/components/chat/entity-cards/case-study-card.tsx +10 -9
  174. package/src/components/chat/entity-cards/customer-interview-card.tsx +8 -7
  175. package/src/components/chat/entity-cards/dispatch.tsx +9 -1
  176. package/src/components/chat/entity-cards/employee-entry-card.tsx +3 -2
  177. package/src/components/chat/entity-cards/entity-portrait-card.tsx +7 -5
  178. package/src/components/chat/entity-cards/investor-update-card.tsx +2 -1
  179. package/src/components/chat/entity-cards/onboarding-guide-card.tsx +10 -2
  180. package/src/components/chat/entity-cards/program-card.tsx +14 -5
  181. package/src/components/chat/entity-cards/roadmap-card.tsx +5 -4
  182. package/src/components/chat/mingo-info-card.tsx +3 -2
  183. package/src/components/embeds/markdown-image.tsx +2 -1
  184. package/src/components/embeds/og-link-preview.tsx +14 -6
  185. package/src/components/embeds/twitter-embed-client.tsx +3 -2
  186. package/src/components/features/media-gallery-manager.tsx +2 -2
  187. package/src/components/features/notifications/notification-tile.tsx +3 -2
  188. package/src/components/features/parallax-image-showcase.tsx +9 -26
  189. package/src/components/features/select-button.tsx +3 -2
  190. package/src/components/features/video-hover-preview.tsx +3 -2
  191. package/src/components/features/video.tsx +10 -1
  192. package/src/components/features/walkthrough-video.tsx +7 -10
  193. package/src/components/hero-image-uploader.tsx +9 -1
  194. package/src/components/icon-display.tsx +2 -1
  195. package/src/components/media-carousel.tsx +2 -1
  196. package/src/components/platform/ScriptInfoSection.tsx +9 -1
  197. package/src/components/shared/media-gallery-strip.tsx +4 -2
  198. package/src/components/shared/product-release/product-release-card.tsx +10 -2
  199. package/src/components/ui/avatar-stack.tsx +6 -6
  200. package/src/components/ui/entity-image.tsx +3 -2
  201. package/src/components/ui/image-gallery-modal.tsx +2 -1
  202. package/src/components/ui/image-uploader.tsx +2 -1
  203. package/src/components/ui/index.ts +1 -0
  204. package/src/components/ui/markdown/base-components.tsx +2 -1
  205. package/src/components/ui/photo-wall.tsx +10 -14
  206. package/src/components/ui/square-avatar.tsx +6 -3
  207. package/src/components/user-summary-stub.tsx +14 -7
  208. package/src/components/vendor-display-button.tsx +10 -3
  209. package/src/components/vendor-icon.tsx +31 -97
  210. package/src/hooks/ui/use-image-edge-color.ts +8 -4
  211. package/src/styles/image-sizes.ts +114 -0
@@ -17,7 +17,7 @@
17
17
 
18
18
 
19
19
 
20
- var _chunk2X3N6MSRcjs = require('./chunk-2X3N6MSR.cjs');
20
+ var _chunkJLKGLPDCcjs = require('./chunk-JLKGLPDC.cjs');
21
21
 
22
22
 
23
23
  var _chunkZD6SZLO2cjs = require('./chunk-ZD6SZLO2.cjs');
@@ -38,7 +38,7 @@ var _chunkZD6SZLO2cjs = require('./chunk-ZD6SZLO2.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunk3NGJ7NPTcjs = require('./chunk-3NGJ7NPT.cjs');
41
+ var _chunkKVJKKVB3cjs = require('./chunk-KVJKKVB3.cjs');
42
42
 
43
43
 
44
44
 
@@ -248,7 +248,7 @@ var _chunk7WT2C5YYcjs = require('./chunk-7WT2C5YY.cjs');
248
248
  var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
249
249
 
250
250
 
251
- var _chunkHATRCNXJcjs = require('./chunk-HATRCNXJ.cjs');
251
+ var _chunkXYZBN6D7cjs = require('./chunk-XYZBN6D7.cjs');
252
252
 
253
253
 
254
254
  var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
@@ -292,7 +292,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
292
292
 
293
293
 
294
294
 
295
- var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.cjs');
295
+ var _chunkTHY2XVGYcjs = require('./chunk-THY2XVGY.cjs');
296
296
 
297
297
 
298
298
 
@@ -321,10 +321,10 @@ var _chunkFAUVDMH4cjs = require('./chunk-FAUVDMH4.cjs');
321
321
 
322
322
 
323
323
 
324
- var _chunkYBTORXFYcjs = require('./chunk-YBTORXFY.cjs');
324
+ var _chunkPRCGRDHVcjs = require('./chunk-PRCGRDHV.cjs');
325
325
 
326
326
 
327
- var _chunkVVLL37EMcjs = require('./chunk-VVLL37EM.cjs');
327
+ var _chunkGAHXURKJcjs = require('./chunk-GAHXURKJ.cjs');
328
328
 
329
329
 
330
330
 
@@ -332,7 +332,7 @@ var _chunkVVLL37EMcjs = require('./chunk-VVLL37EM.cjs');
332
332
 
333
333
 
334
334
 
335
- var _chunk6UKH22NQcjs = require('./chunk-6UKH22NQ.cjs');
335
+ var _chunkTGOJHOQRcjs = require('./chunk-TGOJHOQR.cjs');
336
336
 
337
337
 
338
338
  var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
@@ -348,7 +348,9 @@ var _chunkV4FXUIMHcjs = require('./chunk-V4FXUIMH.cjs');
348
348
  var _chunkSZHDXXMKcjs = require('./chunk-SZHDXXMK.cjs');
349
349
 
350
350
 
351
- var _chunk5RGGUQ4Ycjs = require('./chunk-5RGGUQ4Y.cjs');
351
+
352
+
353
+ var _chunkVXXOUM2Kcjs = require('./chunk-VXXOUM2K.cjs');
352
354
 
353
355
 
354
356
 
@@ -379,6 +381,7 @@ var _chunkLKQ33CMYcjs = require('./chunk-LKQ33CMY.cjs');
379
381
 
380
382
 
381
383
 
384
+
382
385
  var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
383
386
 
384
387
 
@@ -1111,7 +1114,7 @@ var MarkdownContentImage = ({ src, alt }) => {
1111
1114
  alt: _nullishCoalesce(alt, () => ( "No image available")),
1112
1115
  width: 400,
1113
1116
  height: 400,
1114
- sizes: "(max-width: 400px) 100vw, 400px",
1117
+ sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.inline,
1115
1118
  className: "h-auto max-h-[400px] w-auto max-w-full rounded-lg object-contain",
1116
1119
  style: { width: "auto", height: "auto" }
1117
1120
  }
@@ -3283,7 +3286,7 @@ function onAskAiIntent(run) {
3283
3286
 
3284
3287
  // src/components/chat/chat-appearance-context.tsx
3285
3288
 
3286
- var ChatAppearanceContext = _react.createContext.call(void 0, _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.CLASSIC);
3289
+ var ChatAppearanceContext = _react.createContext.call(void 0, _chunkKVJKKVB3cjs.CHAT_APPEARANCE.CLASSIC);
3287
3290
  function useChatAppearance() {
3288
3291
  return _react.useContext.call(void 0, ChatAppearanceContext);
3289
3292
  }
@@ -3322,7 +3325,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3322
3325
  ...props
3323
3326
  }, ref) => {
3324
3327
  const [isProcessing, setIsProcessing] = _react.useState.call(void 0, false);
3325
- const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
3328
+ const isV2 = useChatAppearance() === _chunkKVJKKVB3cjs.CHAT_APPEARANCE.V2;
3326
3329
  const handleApprove = async () => {
3327
3330
  setIsProcessing(true);
3328
3331
  try {
@@ -3345,7 +3348,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3345
3348
  {
3346
3349
  ref,
3347
3350
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
3348
- _chunk2X3N6MSRcjs.CHAT_BLOCK_CLASS,
3351
+ _chunkJLKGLPDCcjs.CHAT_BLOCK_CLASS,
3349
3352
  // v2: the thread owns the space below the card.
3350
3353
  !isV2 && "mb-[var(--spacing-system-xsf)]",
3351
3354
  className
@@ -3353,7 +3356,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3353
3356
  ...props,
3354
3357
  children: [
3355
3358
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full whitespace-pre-line break-words text-ods-text-primary text-h4", children: _optionalChain([data, 'access', _49 => _49.explanation, 'optionalAccess', _50 => _50.trim, 'call', _51 => _51()]) || "Approval required" }),
3356
- showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ApprovalWaitingLine, {}),
3359
+ showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ApprovalWaitingLine, {}),
3357
3360
  !showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xsf)]", children: [
3358
3361
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3359
3362
  _chunkAHBTZ7DNcjs.Button,
@@ -3385,14 +3388,14 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3385
3388
  children: "Reject"
3386
3389
  }
3387
3390
  )
3388
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
3391
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
3389
3392
  ]
3390
3393
  }
3391
3394
  );
3392
3395
  }
3393
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", _chunk2X3N6MSRcjs.CHAT_BLOCK_CLASS, className), ...props, children: [
3396
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", _chunkJLKGLPDCcjs.CHAT_BLOCK_CLASS, className), ...props, children: [
3394
3397
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalCardBody, { data }),
3395
- showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ApprovalWaitingLine, {}),
3398
+ showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ApprovalWaitingLine, {}),
3396
3399
  !showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
3397
3400
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3398
3401
  _chunkAHBTZ7DNcjs.Button,
@@ -3424,7 +3427,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3424
3427
  children: "Reject"
3425
3428
  }
3426
3429
  )
3427
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
3430
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
3428
3431
  ] });
3429
3432
  }
3430
3433
  );
@@ -3454,7 +3457,7 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
3454
3457
 
3455
3458
  var AiAssistantInfo = _react.forwardRef.call(void 0,
3456
3459
  ({ className, icon, leading, title, body, timestamp, ...props }, ref) => {
3457
- const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
3460
+ const isV2 = useChatAppearance() === _chunkKVJKKVB3cjs.CHAT_APPEARANCE.V2;
3458
3461
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3459
3462
  "div",
3460
3463
  {
@@ -3470,7 +3473,7 @@ var AiAssistantInfo = _react.forwardRef.call(void 0,
3470
3473
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
3471
3474
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start", children: [
3472
3475
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h4", title, children: title }),
3473
- timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children: _chunk3NGJ7NPTcjs.formatTime.call(void 0, timestamp) })
3476
+ timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children: _chunkKVJKKVB3cjs.formatTime.call(void 0, timestamp) })
3474
3477
  ] }),
3475
3478
  body != null && body !== "" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full break-words text-ods-text-secondary text-h4", children: body })
3476
3479
  ] })
@@ -3585,7 +3588,7 @@ var SystemEventMessage = _react.forwardRef.call(void 0, ({ text: text2, timestam
3585
3588
  AiAssistantInfo,
3586
3589
  {
3587
3590
  ref,
3588
- leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { alt: joined, fallback: joined, size: "lg", variant: "round", className: "shrink-0" }),
3591
+ leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { alt: joined, fallback: joined, size: "lg", variant: "round", className: "shrink-0" }),
3589
3592
  title: "Technician Joined",
3590
3593
  body: `You're now chatting with ${joined}.`,
3591
3594
  timestamp,
@@ -3669,7 +3672,7 @@ var thoughtMdClasses = [
3669
3672
  var ThinkingDisplay = _react.forwardRef.call(void 0,
3670
3673
  ({ className, text: text2, isStreaming = false, ...props }, ref) => {
3671
3674
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
3672
- const { innerRef, isOverflowing, containerStyle } = _chunk2X3N6MSRcjs.useCollapsible.call(void 0, {
3675
+ const { innerRef, isOverflowing, containerStyle } = _chunkJLKGLPDCcjs.useCollapsible.call(void 0, {
3673
3676
  expanded,
3674
3677
  collapsedHeight: 19,
3675
3678
  disableTransition: isStreaming
@@ -3684,7 +3687,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
3684
3687
  setExpanded(!expanded);
3685
3688
  }
3686
3689
  };
3687
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunk2X3N6MSRcjs.CHAT_BLOCK_FRAME_CLASS, "p-1.5", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3690
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunkJLKGLPDCcjs.CHAT_BLOCK_FRAME_CLASS, "p-1.5", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3688
3691
  "div",
3689
3692
  {
3690
3693
  role: "button",
@@ -3702,7 +3705,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
3702
3705
  isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7GIHB3Vcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
3703
3706
  ] }),
3704
3707
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-sm leading-snug text-ods-text-secondary", thoughtMdClasses), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SimpleMarkdownRenderer, { content: text2, textSize: "compact" }) }) }),
3705
- canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ExpandChevron, { expanded }) })
3708
+ canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ExpandChevron, { expanded }) })
3706
3709
  ]
3707
3710
  }
3708
3711
  ) });
@@ -3841,7 +3844,7 @@ function renderQuickActionIcon(icon) {
3841
3844
  if (!spec.name && !spec.url) return void 0;
3842
3845
  const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
3843
3846
  const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
3844
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
3847
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
3845
3848
  }
3846
3849
  function composeChipLabel(label, lozenge) {
3847
3850
  if (!lozenge) return label;
@@ -3876,7 +3879,7 @@ function QuickActionChipSkeleton({
3876
3879
  }) {
3877
3880
  const question = variant === "question";
3878
3881
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3879
- _chunk6UKH22NQcjs.Tag,
3882
+ _chunkTGOJHOQRcjs.Tag,
3880
3883
  {
3881
3884
  ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props),
3882
3885
  variant: "outline",
@@ -3940,7 +3943,7 @@ function QuickActionChipButton({
3940
3943
  const tagSize = question ? "sentence" : size;
3941
3944
  if (!interactive) {
3942
3945
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3943
- _chunk6UKH22NQcjs.Tag,
3946
+ _chunkTGOJHOQRcjs.Tag,
3944
3947
  {
3945
3948
  ...markers,
3946
3949
  variant: tagVariant,
@@ -3969,7 +3972,7 @@ function QuickActionChipButton({
3969
3972
  className
3970
3973
  ),
3971
3974
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3972
- _chunk6UKH22NQcjs.Tag,
3975
+ _chunkTGOJHOQRcjs.Tag,
3973
3976
  {
3974
3977
  variant: tagVariant,
3975
3978
  size: tagSize,
@@ -4043,9 +4046,9 @@ var iconTint = {
4043
4046
  var ErrorMessageDisplay = _react.forwardRef.call(void 0,
4044
4047
  ({ className, title, details, type = "error", ...props }, ref) => {
4045
4048
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
4046
- const { innerRef, containerStyle } = _chunk2X3N6MSRcjs.useCollapsible.call(void 0, { expanded });
4049
+ const { innerRef, containerStyle } = _chunkJLKGLPDCcjs.useCollapsible.call(void 0, { expanded });
4047
4050
  const hasDetails = Boolean(details);
4048
- const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
4051
+ const isV2 = useChatAppearance() === _chunkKVJKKVB3cjs.CHAT_APPEARANCE.V2;
4049
4052
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4050
4053
  "div",
4051
4054
  {
@@ -4079,7 +4082,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
4079
4082
  children: title
4080
4083
  }
4081
4084
  ),
4082
- hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ExpandChevron, { expanded })
4085
+ hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ExpandChevron, { expanded })
4083
4086
  ]
4084
4087
  }
4085
4088
  ),
@@ -4127,7 +4130,7 @@ function MspOrganizationCard({
4127
4130
  const trailing = action && loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.InertWhileLoading, { children: action }) : action;
4128
4131
  if (footer) {
4129
4132
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, FOOTER_FRAME_CLASS, className), children: [
4130
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { loading, src: logoUrl, alt: name, fallback: name, size: "sm", variant: "square" }),
4133
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { loading, src: logoUrl, alt: name, fallback: name, size: "sm", variant: "square" }),
4131
4134
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TEXT_STACK_CLASS, children: [
4132
4135
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: FOOTER_CAPTION_CLASS, children: FOOTER_CAPTION }),
4133
4136
  loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-3/5" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: _nullishCoalesce(title, () => ( name)) })
@@ -4136,7 +4139,7 @@ function MspOrganizationCard({
4136
4139
  ] });
4137
4140
  }
4138
4141
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CARD_FRAME_CLASS, className), children: [
4139
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { loading, src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
4142
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { loading, src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
4140
4143
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TEXT_STACK_CLASS, children: loading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4141
4144
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", className: "w-3/5" }),
4142
4145
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-2/5" })
@@ -4246,7 +4249,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
4246
4249
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 px-4 py-3", children: [
4247
4250
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
4248
4251
  userIcon && !isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4249
- _chunk6UKH22NQcjs.SquareAvatar,
4252
+ _chunkTGOJHOQRcjs.SquareAvatar,
4250
4253
  {
4251
4254
  loading: isLoading,
4252
4255
  src: userAvatar,
@@ -4328,9 +4331,9 @@ var ChatHeader = _react.forwardRef.call(void 0,
4328
4331
  )
4329
4332
  ] }),
4330
4333
  (ticketInfo.status || ticketInfo.statusName) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4331
- _chunk2X3N6MSRcjs.TicketStatusTag,
4334
+ _chunkJLKGLPDCcjs.TicketStatusTag,
4332
4335
  {
4333
- ..._chunk2X3N6MSRcjs.resolveStatusTagProps.call(void 0, {
4336
+ ..._chunkJLKGLPDCcjs.resolveStatusTagProps.call(void 0, {
4334
4337
  status: ticketInfo.status,
4335
4338
  statusKind: ticketInfo.statusKind,
4336
4339
  statusName: ticketInfo.statusName,
@@ -4933,11 +4936,11 @@ var remarkMentionChips = () => {
4933
4936
  // src/components/chat/tool-execution-display.tsx
4934
4937
 
4935
4938
 
4936
- var COMMAND_BODY_KEYS = new Set(_chunk2X3N6MSRcjs.COMMAND_BODY_ARG_KEYS);
4939
+ var COMMAND_BODY_KEYS = new Set(_chunkJLKGLPDCcjs.COMMAND_BODY_ARG_KEYS);
4937
4940
  var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4938
4941
  ({ className, message, assistantType, variant = "admin", ...props }, ref) => {
4939
4942
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
4940
- const { innerRef, containerStyle } = _chunk2X3N6MSRcjs.useCollapsible.call(void 0, { expanded });
4943
+ const { innerRef, containerStyle } = _chunkJLKGLPDCcjs.useCollapsible.call(void 0, { expanded });
4941
4944
  const isClient = assistantType === "fae";
4942
4945
  const isClientView = variant === "client";
4943
4946
  const isExecuting = message.type === "EXECUTING_TOOL";
@@ -4968,7 +4971,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4968
4971
  const statusTone = isExecuting ? "working" : message.success === false ? "error" : "success";
4969
4972
  const statusLabel = _optionalChain([message, 'access', _84 => _84.statusLabel, 'optionalAccess', _85 => _85.trim, 'call', _86 => _86()]) || (isExecuting ? "Working on it" : message.success === false ? "Failed" : "Done");
4970
4973
  const headerContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4971
- !isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHATRCNXJcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
4974
+ !isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXYZBN6D7cjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
4972
4975
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4973
4976
  "div",
4974
4977
  {
@@ -4980,7 +4983,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4980
4983
  }
4981
4984
  ),
4982
4985
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: renderStatusIcon() }),
4983
- !isStaticRow && hasBody && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ExpandChevron, { expanded: isExpanded }) })
4986
+ !isStaticRow && hasBody && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ExpandChevron, { expanded: isExpanded }) })
4984
4987
  ] });
4985
4988
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4986
4989
  "div",
@@ -4990,7 +4993,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4990
4993
  // The command running block keeps its bordered box in both chats
4991
4994
  // (Figma 1972-6109). CLIENT (Fae) only drops the tool icon below.
4992
4995
  "flex w-full flex-col overflow-hidden",
4993
- _chunk2X3N6MSRcjs.CHAT_BLOCK_FRAME_CLASS,
4996
+ _chunkJLKGLPDCcjs.CHAT_BLOCK_FRAME_CLASS,
4994
4997
  className
4995
4998
  ),
4996
4999
  ...props,
@@ -5001,14 +5004,14 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
5001
5004
  // It reads as a card: what was done, then one status line under it.
5002
5005
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left", children: [
5003
5006
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 whitespace-pre-wrap break-words text-ods-text-primary text-h4", children: previewText }),
5004
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.StatusLine, { tone: statusTone, label: statusLabel })
5007
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.StatusLine, { tone: statusTone, label: statusLabel })
5005
5008
  ] })
5006
5009
  ) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
5007
5010
  hasBody ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", "aria-expanded": expanded, onClick: () => setExpanded((prev) => !prev), children: headerContent }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-start gap-[var(--spacing-system-xs)] p-[var(--spacing-system-s)] text-left", children: headerContent }),
5008
5011
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: hasBody && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start gap-0 border-t border-ods-border p-[var(--spacing-system-sf)] text-h6", children: [
5009
- argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.ArgRow, { argKey: key, value }, key)),
5012
+ argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.ArgRow, { argKey: key, value }, key)),
5010
5013
  hasResult && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5011
- _chunk2X3N6MSRcjs.ResultBlock,
5014
+ _chunkJLKGLPDCcjs.ResultBlock,
5012
5015
  {
5013
5016
  result: message.result,
5014
5017
  className: argEntries.length > 0 ? "mt-[var(--spacing-system-xsf)]" : void 0
@@ -5040,8 +5043,8 @@ ToolExecutionDisplay.displayName = "ToolExecutionDisplay";
5040
5043
 
5041
5044
  // src/components/chat/chat-message-layout.ts
5042
5045
  var CHAT_MESSAGE_ROW_PADDING_CLASS = {
5043
- [_chunk3NGJ7NPTcjs.CHAT_APPEARANCE.CLASSIC]: "py-[var(--spacing-system-s)]",
5044
- [_chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2]: "py-[calc(var(--spacing-system-m)/2)]"
5046
+ [_chunkKVJKKVB3cjs.CHAT_APPEARANCE.CLASSIC]: "py-[var(--spacing-system-s)]",
5047
+ [_chunkKVJKKVB3cjs.CHAT_APPEARANCE.V2]: "py-[calc(var(--spacing-system-m)/2)]"
5045
5048
  };
5046
5049
  var CHAT_MESSAGE_STACK_CLASS = "grid min-w-0 grid-cols-1 gap-[var(--spacing-system-xxs)]";
5047
5050
  var CHAT_MESSAGE_HEADER_CLASS = "flex items-center gap-[var(--spacing-system-xs)]";
@@ -5082,8 +5085,8 @@ var remarkStripCitations = () => {
5082
5085
  var MENTION_MARKER_REGEX = /(^|[^\w@])@[a-zA-Z]+:([A-Za-z0-9_.+/=-]*[A-Za-z0-9_+/=])/g;
5083
5086
  var CARD_MARKER_REGEX = createCardMarkerScanner();
5084
5087
  function formatMessageTimestamp(timestamp) {
5085
- const time = _chunk3NGJ7NPTcjs.formatTime.call(void 0, timestamp);
5086
- return _chunk2X3N6MSRcjs.isToday.call(void 0, timestamp) ? time : `${_chunk3NGJ7NPTcjs.formatDate.call(void 0, timestamp)} ${time}`;
5088
+ const time = _chunkKVJKKVB3cjs.formatTime.call(void 0, timestamp);
5089
+ return _chunkJLKGLPDCcjs.isToday.call(void 0, timestamp) ? time : `${_chunkKVJKKVB3cjs.formatDate.call(void 0, timestamp)} ${time}`;
5087
5090
  }
5088
5091
  function normalizeContent(content) {
5089
5092
  if (typeof content === "string") {
@@ -5139,7 +5142,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5139
5142
  const isError = role === "error";
5140
5143
  const inheritedAppearance = useChatAppearance();
5141
5144
  const appearance = _nullishCoalesce(appearanceProp, () => ( inheritedAppearance));
5142
- const isV2 = appearance === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
5145
+ const isV2 = appearance === _chunkKVJKKVB3cjs.CHAT_APPEARANCE.V2;
5143
5146
  const authorType = _nullishCoalesce(authorTypeProp, () => ( (isHuman ? "user" : assistantType === "mingo" ? "mingo" : "fae")));
5144
5147
  const isOtherPerson = isHuman && selfAuthorType !== void 0 && authorType !== "system" && authorType !== selfAuthorType;
5145
5148
  const isUser = isHuman && !isOtherPerson;
@@ -5327,9 +5330,9 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5327
5330
  const faceBox = "h-5 w-5 flex-shrink-0";
5328
5331
  const face = !showAvatar || isSystem ? null : !isHuman && !avatar && assistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center justify-center", faceBox), children: assistantIcon }) : !isHuman && !avatar && assistantType ? (
5329
5332
  // An agent with no picture shows its packaged mark, never initials.
5330
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": displayName, title: displayName, className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex", faceBox), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: assistantType, className: "h-full w-full rounded-full" }) })
5333
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": displayName, title: displayName, className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex", faceBox), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.AgentMark, { agent: assistantType, className: "h-full w-full rounded-full" }) })
5331
5334
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: "inline-flex flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5332
- _chunk6UKH22NQcjs.SquareAvatar,
5335
+ _chunkTGOJHOQRcjs.SquareAvatar,
5333
5336
  {
5334
5337
  src: avatar || void 0,
5335
5338
  alt: displayName,
@@ -5345,7 +5348,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5345
5348
  "div",
5346
5349
  {
5347
5350
  ref,
5348
- className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative", CHAT_MESSAGE_ROW_PADDING_CLASS[_chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2], className),
5351
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative", CHAT_MESSAGE_ROW_PADDING_CLASS[_chunkKVJKKVB3cjs.CHAT_APPEARANCE.V2], className),
5349
5352
  ...props,
5350
5353
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SystemEventMessage, { text: name, timestamp }) })
5351
5354
  }
@@ -5357,7 +5360,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5357
5360
  ref,
5358
5361
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
5359
5362
  "relative",
5360
- CHAT_MESSAGE_ROW_PADDING_CLASS[isV2 ? _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2 : _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.CLASSIC],
5363
+ CHAT_MESSAGE_ROW_PADDING_CLASS[isV2 ? _chunkKVJKKVB3cjs.CHAT_APPEARANCE.V2 : _chunkKVJKKVB3cjs.CHAT_APPEARANCE.CLASSIC],
5361
5364
  className
5362
5365
  ),
5363
5366
  ...props,
@@ -5414,7 +5417,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5414
5417
  );
5415
5418
  } else if (segment.type === "approval_batch") {
5416
5419
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5417
- _chunk2X3N6MSRcjs.ApprovalBatchMessage,
5420
+ _chunkJLKGLPDCcjs.ApprovalBatchMessage,
5418
5421
  {
5419
5422
  data: segment.data,
5420
5423
  status: segment.status,
@@ -5500,7 +5503,7 @@ function ChatMessageSkeleton({
5500
5503
  const lines = Math.max(1, bodyLines);
5501
5504
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative", CHAT_MESSAGE_ROW_PADDING_CLASS[appearance], className), ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CHAT_MESSAGE_STACK_CLASS, children: [
5502
5505
  (showAvatar || showName) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CHAT_MESSAGE_HEADER_CLASS, isUser && "justify-end"), children: [
5503
- showAvatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { loading: true, sizePx: CHAT_MESSAGE_FACE_PX, variant: "round" }),
5506
+ showAvatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { loading: true, sizePx: CHAT_MESSAGE_FACE_PX, variant: "round" }),
5504
5507
  showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-24" }),
5505
5508
  showName && showTime && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: _chunk7JWFMAQBcjs.cn.call(void 0, "ml-auto", TIME_BAR_CLASS) })
5506
5509
  ] }),
@@ -5688,7 +5691,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
5688
5691
  approvalVariant,
5689
5692
  selfAuthorType,
5690
5693
  nameEveryTurn,
5691
- appearance = _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.CLASSIC,
5694
+ appearance = _chunkKVJKKVB3cjs.CHAT_APPEARANCE.CLASSIC,
5692
5695
  assistantIcon,
5693
5696
  pendingApprovals,
5694
5697
  hasNextPage,
@@ -6726,7 +6729,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
6726
6729
 
6727
6730
  [Attached: ${safeName}](${url})`;
6728
6731
  }
6729
- var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkFAUVDMH4cjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
6732
+ var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkTHY2XVGYcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
6730
6733
  var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
6731
6734
  `^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
6732
6735
  "gm"
@@ -7565,7 +7568,7 @@ function MingoChatHistoryRow({
7565
7568
  !loading && "cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent"
7566
7569
  ),
7567
7570
  children: [
7568
- loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: _chunk3NGJ7NPTcjs.SKELETON_TITLE_WIDTHS[skeletonIndex % _chunk3NGJ7NPTcjs.SKELETON_TITLE_WIDTHS.length] }) : null,
7571
+ loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: _chunkKVJKKVB3cjs.SKELETON_TITLE_WIDTHS[skeletonIndex % _chunkKVJKKVB3cjs.SKELETON_TITLE_WIDTHS.length] }) : null,
7569
7572
  !loading && unread > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-8 min-w-8 shrink-0 items-center justify-center rounded-md bg-ods-accent px-[var(--spacing-system-xsf)] text-ods-text-on-accent text-h5", children: unread > 99 ? "99+" : unread }) : null,
7570
7573
  loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7571
7574
  "span",
@@ -7635,7 +7638,7 @@ function MingoChatHistoryRow({
7635
7638
  hasMenu && (menuOpen ? "pointer-events-none opacity-0" : "md:group-hover/row:pointer-events-none md:group-hover/row:opacity-0 md:peer-[:focus-within]/menu:pointer-events-none md:peer-[:focus-within]/menu:opacity-0")
7636
7639
  ),
7637
7640
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7638
- _chunk6UKH22NQcjs.SquareAvatar,
7641
+ _chunkTGOJHOQRcjs.SquareAvatar,
7639
7642
  {
7640
7643
  variant: "round",
7641
7644
  sizePx: 24,
@@ -7691,7 +7694,7 @@ function MingoChatHistory({
7691
7694
  const isLoading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loading;
7692
7695
  const groups = _react.useMemo.call(void 0, () => groupDialogs(dialogs), [dialogs]);
7693
7696
  const noSearchResults = groups.length === 0 && !!_optionalChain([searchQuery, 'optionalAccess', _167 => _167.trim, 'call', _168 => _168()]);
7694
- const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunk3NGJ7NPTcjs.useScrollFade.call(void 0, );
7697
+ const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkKVJKKVB3cjs.useScrollFade.call(void 0, );
7695
7698
  const sentinelRef = _react.useRef.call(void 0, null);
7696
7699
  const onLoadMoreRef = _react.useRef.call(void 0, onLoadMore);
7697
7700
  const isLoadingMoreRef = _react.useRef.call(void 0, isLoadingMore);
@@ -7756,8 +7759,8 @@ function MingoChatHistory({
7756
7759
  ]
7757
7760
  }
7758
7761
  ),
7759
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, color: "var(--color-bg-card)", className: "h-12" }),
7760
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, color: "var(--color-bg-card)", className: "h-12" })
7762
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, color: "var(--color-bg-card)", className: "h-12" }),
7763
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, color: "var(--color-bg-card)", className: "h-12" })
7761
7764
  ] }) });
7762
7765
  }
7763
7766
 
@@ -7813,7 +7816,7 @@ function MingoWelcome({
7813
7816
  } catch (e7) {
7814
7817
  }
7815
7818
  }, [promoStorage, promoStorageKey]);
7816
- const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunk3NGJ7NPTcjs.useScrollFade.call(void 0, );
7819
+ const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunkKVJKKVB3cjs.useScrollFade.call(void 0, );
7817
7820
  const showPinnedRegion = !!dialogHistory || !historyLoading && !loadError;
7818
7821
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7819
7822
  "div",
@@ -7845,7 +7848,7 @@ function MingoWelcome({
7845
7848
  onScroll: updateScrollFade,
7846
7849
  className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)] overflow-y-auto overscroll-contain",
7847
7850
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-l)] px-[var(--spacing-system-l)] py-[var(--spacing-system-xxl)] text-center", children: [
7848
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
7851
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
7849
7852
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
7850
7853
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: heading }),
7851
7854
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
@@ -7853,8 +7856,8 @@ function MingoWelcome({
7853
7856
  ] })
7854
7857
  }
7855
7858
  ),
7856
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
7857
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
7859
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
7860
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
7858
7861
  ] }) })))),
7859
7862
  showPinnedRegion && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-m)]", children: [
7860
7863
  resolvedPromo && !promoDismissed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex shrink-0 items-center gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)] pr-[var(--spacing-system-xl)]", children: [
@@ -7934,7 +7937,7 @@ function GuideWelcome({
7934
7937
  children,
7935
7938
  className
7936
7939
  }) {
7937
- const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunk3NGJ7NPTcjs.useScrollFade.call(void 0, );
7940
+ const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunkKVJKKVB3cjs.useScrollFade.call(void 0, );
7938
7941
  const subtitleIsLoading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || subtitleLoading && !subtitle;
7939
7942
  const chipItems = _react.useMemo.call(void 0,
7940
7943
  () => quickActions.map((action) => ({
@@ -7970,8 +7973,8 @@ function GuideWelcome({
7970
7973
  icon && (icon.name || icon.url) ? (
7971
7974
  // Agent-mode identity glyph (chat-config Identity tab). Sized to
7972
7975
  // match the default Mingo mark (48px).
7973
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
7974
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
7976
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
7977
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
7975
7978
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
7976
7979
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
7977
7980
  subtitleIsLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-3/4 max-w-80" }) }) : subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle }) : null
@@ -7981,8 +7984,8 @@ function GuideWelcome({
7981
7984
  ]
7982
7985
  }
7983
7986
  ),
7984
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
7985
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
7987
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
7988
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
7986
7989
  ] }),
7987
7990
  quickActions.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7988
7991
  QuickActionWall,
@@ -8066,17 +8069,17 @@ function MingoArchiveList({
8066
8069
  className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-xxs)] px-[var(--spacing-system-xs)] pt-[var(--spacing-system-mf)]",
8067
8070
  children: [
8068
8071
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 px-[var(--spacing-system-xs)] pt-[var(--spacing-system-xs)] text-ods-text-secondary text-h5", children: "Archived Chats" }),
8069
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-xxs)] overflow-y-auto overscroll-contain pb-[var(--spacing-system-mf)]", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ChatListItemLoadingPage, { count: pageSize, trailing: true }) : dialogs.length > 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
8072
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-xxs)] overflow-y-auto overscroll-contain pb-[var(--spacing-system-mf)]", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ChatListItemLoadingPage, { count: pageSize, trailing: true }) : dialogs.length > 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
8070
8073
  dialogs.map((dialog) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8071
- _chunk3NGJ7NPTcjs.ChatListItem,
8074
+ _chunkKVJKKVB3cjs.ChatListItem,
8072
8075
  {
8073
8076
  "data-loading-item": true,
8074
8077
  title: dialog.title || "Untitled Chat",
8075
8078
  onClick: () => _optionalChain([onSelectDialog, 'optionalCall', _179 => _179(dialog.id)]),
8076
8079
  trailing: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
8077
- dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: _chunk2X3N6MSRcjs.formatRelativeTime.call(void 0, dialog.timestamp) }),
8080
+ dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkJLKGLPDCcjs.formatRelativeTime.call(void 0, dialog.timestamp) }),
8078
8081
  dialog.owner && (dialog.owner.name || dialog.owner.avatarUrl) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8079
- _chunk6UKH22NQcjs.SquareAvatar,
8082
+ _chunkTGOJHOQRcjs.SquareAvatar,
8080
8083
  {
8081
8084
  variant: "round",
8082
8085
  sizePx: 24,
@@ -8140,7 +8143,7 @@ function MingoChatHeader({
8140
8143
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
8141
8144
  ] }),
8142
8145
  avatar && (avatar.name || avatar.avatarUrl) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8143
- _chunk6UKH22NQcjs.SquareAvatar,
8146
+ _chunkTGOJHOQRcjs.SquareAvatar,
8144
8147
  {
8145
8148
  variant: "round",
8146
8149
  sizePx: 32,
@@ -8379,7 +8382,7 @@ function MingoChatRail({
8379
8382
  onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
8380
8383
  ] });
8381
8384
  } else if (loading) {
8382
- list = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ChatListItemLoadingPage, { count: pageSize });
8385
+ list = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ChatListItemLoadingPage, { count: pageSize });
8383
8386
  } else if (dialogs.length === 0 && !draftTitle) {
8384
8387
  list = hasSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "px-[var(--spacing-system-xs)] py-[var(--spacing-system-s)] text-ods-text-secondary text-h6", children: "No chats found" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8385
8388
  ChatListEmptyState,
@@ -8391,7 +8394,7 @@ function MingoChatRail({
8391
8394
  );
8392
8395
  } else {
8393
8396
  list = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
8394
- draftTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ChatListItem, { active: true, title: draftTitle, tabIndex: -1, className: "cursor-default" }),
8397
+ draftTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ChatListItem, { active: true, title: draftTitle, tabIndex: -1, className: "cursor-default" }),
8395
8398
  dialogs.map((dialog) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8396
8399
  MingoChatRailRow,
8397
8400
  {
@@ -8413,13 +8416,13 @@ function MingoChatRail({
8413
8416
  ] });
8414
8417
  }
8415
8418
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8416
- _chunk3NGJ7NPTcjs.ChatNavSidebar,
8419
+ _chunkKVJKKVB3cjs.ChatNavSidebar,
8417
8420
  {
8418
8421
  className,
8419
8422
  "data-accent": "mingo",
8420
8423
  "aria-label": "Mingo chats",
8421
8424
  logo: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center justify-between", children: [
8422
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: "mingo", className: "size-6 text-ods-text-primary" }),
8425
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.AgentMark, { agent: "mingo", className: "size-6 text-ods-text-primary" }),
8423
8426
  onExpand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8424
8427
  _chunkAHBTZ7DNcjs.Button,
8425
8428
  {
@@ -8472,7 +8475,7 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems, ...prop
8472
8475
  const title = dialog.title || "Untitled Chat";
8473
8476
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props), className: "group/row relative shrink-0", children: [
8474
8477
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8475
- _chunk3NGJ7NPTcjs.ChatListItem,
8478
+ _chunkKVJKKVB3cjs.ChatListItem,
8476
8479
  {
8477
8480
  active,
8478
8481
  title,
@@ -8695,8 +8698,8 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
8695
8698
  const save = () => {
8696
8699
  if (canSave) onSave(name.trim());
8697
8700
  };
8698
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8699
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalTitle, { children: "Rename Chat" }) }),
8701
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKVJKKVB3cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8702
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ModalTitle, { children: "Rename Chat" }) }),
8700
8703
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xxs)]", children: [
8701
8704
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { htmlFor: "rename-chat-input", variant: "large", children: "Chat Name" }),
8702
8705
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -8713,27 +8716,27 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
8713
8716
  }
8714
8717
  )
8715
8718
  ] }),
8716
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.ModalFooter, { children: [
8719
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKVJKKVB3cjs.ModalFooter, { children: [
8717
8720
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8718
8721
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", type: "button", onClick: save, disabled: !canSave, className: footerBtn, children: "Save" })
8719
8722
  ] })
8720
8723
  ] });
8721
8724
  }
8722
8725
  function ArchiveChatModal({ isOpen, onClose, onConfirm }) {
8723
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8724
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalTitle, { children: "Archive Chat" }) }),
8726
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKVJKKVB3cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8727
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ModalTitle, { children: "Archive Chat" }) }),
8725
8728
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be hidden from your current chats." }),
8726
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.ModalFooter, { children: [
8729
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKVJKKVB3cjs.ModalFooter, { children: [
8727
8730
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8728
8731
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "destructive", type: "button", onClick: onConfirm, className: footerBtn, children: "Archive Chat" })
8729
8732
  ] })
8730
8733
  ] });
8731
8734
  }
8732
8735
  function UnarchiveChatModal({ isOpen, onClose, onConfirm }) {
8733
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8734
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalTitle, { children: "Unarchive Chat" }) }),
8736
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKVJKKVB3cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8737
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKVJKKVB3cjs.ModalTitle, { children: "Unarchive Chat" }) }),
8735
8738
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be moved back to your current chats." }),
8736
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.ModalFooter, { children: [
8739
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKVJKKVB3cjs.ModalFooter, { children: [
8737
8740
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8738
8741
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", type: "button", onClick: onConfirm, className: footerBtn, children: "Unarchive Chat" })
8739
8742
  ] })
@@ -8906,7 +8909,7 @@ function ChatPanelHeader({
8906
8909
  avatar && (avatar.name || avatar.avatarUrl) ? (
8907
8910
  // Owner avatar at the title cell's right edge (Figma 113:63273).
8908
8911
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8909
- _chunk6UKH22NQcjs.SquareAvatar,
8912
+ _chunkTGOJHOQRcjs.SquareAvatar,
8910
8913
  {
8911
8914
  variant: "round",
8912
8915
  sizePx: 32,
@@ -9074,8 +9077,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
9074
9077
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
9075
9078
  (!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
9076
9079
  status === "sniffing" && "Checking the file",
9077
- status === "uploading" && `${progress}% \xB7 ${_chunk6UKH22NQcjs.formatFileSize.call(void 0, file.size)}`,
9078
- status === "ready" && _chunk6UKH22NQcjs.formatFileSize.call(void 0, file.size),
9080
+ status === "uploading" && `${progress}% \xB7 ${_chunkTGOJHOQRcjs.formatFileSize.call(void 0, file.size)}`,
9081
+ status === "ready" && _chunkTGOJHOQRcjs.formatFileSize.call(void 0, file.size),
9079
9082
  status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
9080
9083
  ] })
9081
9084
  ] }),
@@ -9332,7 +9335,7 @@ var ModelDisplay = _react2.default.forwardRef(
9332
9335
  const isLoading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loading;
9333
9336
  const icon = getProviderIcon(provider);
9334
9337
  const name = displayName || modelName;
9335
- const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
9338
+ const isV2 = useChatAppearance() === _chunkKVJKKVB3cjs.CHAT_APPEARANCE.V2;
9336
9339
  const formatCount = (count) => isV2 ? count.toLocaleString("en-US") : formatTokenCount(count);
9337
9340
  if (isLoading) {
9338
9341
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "aria-hidden": true, className: _chunk7JWFMAQBcjs.cn.call(void 0, MODEL_DISPLAY_ROW_CLASS, className), ...props, children: [
@@ -9461,7 +9464,7 @@ function ChatComposer({
9461
9464
  }, [entityTypes]);
9462
9465
  const resolveContextIcon = _react.useCallback.call(void 0, (item) => iconByType.get(item.type), [iconByType]);
9463
9466
  const inputNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9464
- _chunk3NGJ7NPTcjs.ChatInput,
9467
+ _chunkKVJKKVB3cjs.ChatInput,
9465
9468
  {
9466
9469
  ref: inputRef,
9467
9470
  onSend,
@@ -9632,16 +9635,16 @@ function ChatArchivePage(props) {
9632
9635
 
9633
9636
  // src/components/chat/utils/execute-navigation.ts
9634
9637
  function isForeignOriginHref(href) {
9635
- return /^https?:\/\//i.test(href) && !_chunkYBTORXFYcjs.isSameOriginAbsoluteHref.call(void 0, href);
9638
+ return /^https?:\/\//i.test(href) && !_chunkPRCGRDHVcjs.isSameOriginAbsoluteHref.call(void 0, href);
9636
9639
  }
9637
9640
  function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
9638
- const isNewTab = runtime ? _chunkYBTORXFYcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
9641
+ const isNewTab = runtime ? _chunkPRCGRDHVcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
9639
9642
  if (isNewTab) {
9640
9643
  if (_optionalChain([runtime, 'optionalAccess', _205 => _205.navigation, 'access', _206 => _206.openExternal])) runtime.navigation.openExternal(href);
9641
- else window.open(href, "_blank", _chunkFAUVDMH4cjs.NEW_TAB_FEATURES);
9644
+ else window.open(href, "_blank", _chunkTHY2XVGYcjs.NEW_TAB_FEATURES);
9642
9645
  return;
9643
9646
  }
9644
- const target = isForeignOriginHref(href) ? href : _chunkFAUVDMH4cjs.stripSameOriginToPath.call(void 0, href);
9647
+ const target = isForeignOriginHref(href) ? href : _chunkTHY2XVGYcjs.stripSameOriginToPath.call(void 0, href);
9645
9648
  if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
9646
9649
  return;
9647
9650
  }
@@ -9692,8 +9695,8 @@ function useNavLinkViaRuntime({
9692
9695
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
9693
9696
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
9694
9697
  const panel = useChatPanel();
9695
- const resolvedHref = _chunkFAUVDMH4cjs.resolveHrefForRuntime.call(void 0, href, runtime);
9696
- const isNewTab = _chunkYBTORXFYcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
9698
+ const resolvedHref = _chunkTHY2XVGYcjs.resolveHrefForRuntime.call(void 0, href, runtime);
9699
+ const isNewTab = _chunkPRCGRDHVcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
9697
9700
  const onClick = (e) => {
9698
9701
  _optionalChain([onClickProp, 'optionalCall', _210 => _210(e)]);
9699
9702
  if (e.defaultPrevented) return;
@@ -9707,7 +9710,7 @@ function useNavLinkViaRuntime({
9707
9710
  });
9708
9711
  if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _211 => _211.closeChat])) panel.closeChat();
9709
9712
  };
9710
- const attrs = _chunkYBTORXFYcjs.newTabAnchorAttrs.call(void 0, isNewTab);
9713
+ const attrs = _chunkPRCGRDHVcjs.newTabAnchorAttrs.call(void 0, isNewTab);
9711
9714
  return {
9712
9715
  href: resolvedHref,
9713
9716
  ...attrs,
@@ -9852,7 +9855,7 @@ function UserDisplay({
9852
9855
  compact = false,
9853
9856
  className
9854
9857
  }) {
9855
- const avatarSrc = _chunkFAUVDMH4cjs.useProxiedImageUrl.call(void 0, avatarUrl);
9858
+ const avatarSrc = _chunkTHY2XVGYcjs.useProxiedImageUrl.call(void 0, avatarUrl);
9856
9859
  if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) {
9857
9860
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9858
9861
  UserDisplaySkeleton,
@@ -9866,7 +9869,7 @@ function UserDisplay({
9866
9869
  );
9867
9870
  }
9868
9871
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, USER_ROW_CLASS, className), children: [
9869
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { src: avatarSrc || void 0, fallback: name, alt: name, sizePx: size, variant: shape }),
9872
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { src: avatarSrc || void 0, fallback: name, alt: name, sizePx: size, variant: shape }),
9870
9873
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: USER_TEXT_CLASS, children: [
9871
9874
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "truncate text-ods-text-primary", compact ? "text-h6" : "text-h4"), children: name }),
9872
9875
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block truncate text-ods-text-secondary text-h6", children: subtitle })
@@ -9881,7 +9884,7 @@ function UserDisplaySkeleton({
9881
9884
  className
9882
9885
  }) {
9883
9886
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, USER_ROW_CLASS, className), "aria-hidden": true, children: [
9884
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { loading: true, sizePx: size, variant: shape }),
9887
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTGOJHOQRcjs.SquareAvatar, { loading: true, sizePx: size, variant: shape }),
9885
9888
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: USER_TEXT_CLASS, children: [
9886
9889
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: compact ? "h6" : "h4", className: "w-28" }),
9887
9890
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-16" })
@@ -10320,7 +10323,7 @@ function CardsStrip(props) {
10320
10323
  }
10321
10324
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
10322
10325
  };
10323
- const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFAUVDMH4cjs.SECTION_HEADING_CLASS} break-words`, children: _chunkFAUVDMH4cjs.accentSentenceMarks.call(void 0, title) });
10326
+ const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkTHY2XVGYcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkTHY2XVGYcjs.accentSentenceMarks.call(void 0, title) });
10324
10327
  if (items.length === 0) {
10325
10328
  if (!inScope || !skeleton) return null;
10326
10329
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
@@ -10510,7 +10513,7 @@ var VIDEO_BITES_SKELETON_COUNT = Math.ceil(
10510
10513
  );
10511
10514
  function VideoBitesStrip({
10512
10515
  bites,
10513
- title = _chunkYBTORXFYcjs.DEFAULT_VIDEO_BITES_TITLE,
10516
+ title = _chunkPRCGRDHVcjs.DEFAULT_VIDEO_BITES_TITLE,
10514
10517
  showTitle = true,
10515
10518
  filterPublished = true,
10516
10519
  profile = null,
@@ -10523,7 +10526,7 @@ function VideoBitesStrip({
10523
10526
  cardHeightMobile = VIDEO_BITES_CARD_HEIGHT_MOBILE_PX,
10524
10527
  showChevrons = true,
10525
10528
  onBiteNavigate,
10526
- sortComparator = _chunkYBTORXFYcjs.sortBitesByCreatedAtDesc,
10529
+ sortComparator = _chunkPRCGRDHVcjs.sortBitesByCreatedAtDesc,
10527
10530
  skeletonCount,
10528
10531
  className
10529
10532
  }) {
@@ -10621,7 +10624,7 @@ function VideoBiteCardSkeleton({ aspect = "9:16", height, heightMobile, classNam
10621
10624
  function VideoBitesStripSkeleton({
10622
10625
  count = VIDEO_BITES_SKELETON_COUNT,
10623
10626
  aspect = "9:16",
10624
- title = _chunkYBTORXFYcjs.DEFAULT_VIDEO_BITES_TITLE,
10627
+ title = _chunkPRCGRDHVcjs.DEFAULT_VIDEO_BITES_TITLE,
10625
10628
  showTitle = true,
10626
10629
  headerSlot,
10627
10630
  cardHeightDesktop = VIDEO_BITES_CARD_HEIGHT_DESKTOP_PX,
@@ -10753,7 +10756,7 @@ function VideoBiteCard({
10753
10756
  style: biteMediaStyle(cssAspect, height, heightMobile),
10754
10757
  children: [
10755
10758
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10756
- _chunkYBTORXFYcjs.VideoHoverPreviewSurface,
10759
+ _chunkPRCGRDHVcjs.VideoHoverPreviewSurface,
10757
10760
  {
10758
10761
  url: bite.url,
10759
10762
  posterUrl: bite.thumbnail_url,
@@ -10825,7 +10828,7 @@ function EntityVideoSection({
10825
10828
  title = "Video",
10826
10829
  videoSummary,
10827
10830
  videoBites,
10828
- bitesTitle = _chunkYBTORXFYcjs.DEFAULT_VIDEO_BITES_TITLE,
10831
+ bitesTitle = _chunkPRCGRDHVcjs.DEFAULT_VIDEO_BITES_TITLE,
10829
10832
  filterPublishedBites = true,
10830
10833
  bitesProfile = null,
10831
10834
  bitesHref,
@@ -10860,7 +10863,7 @@ function EntityVideoSection({
10860
10863
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
10861
10864
  ] }),
10862
10865
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10863
- _chunkYBTORXFYcjs.Video,
10866
+ _chunkPRCGRDHVcjs.Video,
10864
10867
  {
10865
10868
  kind: fullVideoKind,
10866
10869
  url: fullVideoUrl,
@@ -10872,7 +10875,7 @@ function EntityVideoSection({
10872
10875
  }
10873
10876
  ) }),
10874
10877
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10875
- _chunkYBTORXFYcjs.Video,
10878
+ _chunkPRCGRDHVcjs.Video,
10876
10879
  {
10877
10880
  url: highlightVideoUrl,
10878
10881
  poster: highlightVideoThumbnail,
@@ -10881,7 +10884,7 @@ function EntityVideoSection({
10881
10884
  }
10882
10885
  ) })
10883
10886
  ] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10884
- _chunkYBTORXFYcjs.Video,
10887
+ _chunkPRCGRDHVcjs.Video,
10885
10888
  {
10886
10889
  kind: fullVideoKind,
10887
10890
  url: fullVideoUrl,
@@ -10892,7 +10895,7 @@ function EntityVideoSection({
10892
10895
  priority
10893
10896
  }
10894
10897
  ) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10895
- _chunkYBTORXFYcjs.Video,
10898
+ _chunkPRCGRDHVcjs.Video,
10896
10899
  {
10897
10900
  url: highlightVideoUrl,
10898
10901
  poster: highlightVideoThumbnail,
@@ -10902,7 +10905,7 @@ function EntityVideoSection({
10902
10905
  }
10903
10906
  ) : null),
10904
10907
  videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
10905
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFAUVDMH4cjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
10908
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkTHY2XVGYcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
10906
10909
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
10907
10910
  ] }),
10908
10911
  videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -10921,13 +10924,13 @@ function EntityVideoSection({
10921
10924
  ] });
10922
10925
  }
10923
10926
  function EntityVideoSectionSkeleton({ tabs = false, className }) {
10924
- if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { loading: true, url: "", layout: "centered", className });
10927
+ if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.Video, { loading: true, url: "", layout: "centered", className });
10925
10928
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tabs, { defaultValue: "full-video", className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full", className), "aria-hidden": true, inert: true, children: [
10926
10929
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: VIDEO_TAB_LIST_CLASS, children: [
10927
10930
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "full-video", className: VIDEO_TAB_TRIGGER_CLASS, children: FULL_VIDEO_TAB_LABEL }),
10928
10931
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
10929
10932
  ] }),
10930
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { loading: true, url: "", layout: "centered" }) })
10933
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.Video, { loading: true, url: "", layout: "centered" }) })
10931
10934
  ] });
10932
10935
  }
10933
10936
 
@@ -10974,7 +10977,7 @@ function designDocPeople(doc) {
10974
10977
  return people;
10975
10978
  }
10976
10979
  function designDocMetaLine(doc) {
10977
- return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkFAUVDMH4cjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
10980
+ return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkTHY2XVGYcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
10978
10981
  }
10979
10982
  var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
10980
10983
  var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
@@ -10984,27 +10987,27 @@ var DESIGN_DOC_CARD_META_ROW = `flex items-center text-h5 ${_chunk4WIJI4AKcjs.TE
10984
10987
  var DESIGN_DOC_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunk4WIJI4AKcjs.TEXT_LINES_MIN[3]}`;
10985
10988
  var DESIGN_DOC_CARD_FOOTER = "flex w-full items-center justify-between gap-2";
10986
10989
  function DesignDocCardSkeleton({ className } = {}) {
10987
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunkYBTORXFYcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className), "aria-hidden": true, children: [
10990
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunkPRCGRDHVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className), "aria-hidden": true, children: [
10988
10991
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
10989
10992
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADING, children: [
10990
10993
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-3/4" }) }),
10991
10994
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h5", className: "w-1/3" }) })
10992
10995
  ] }),
10993
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.StatusBadge, { loading: true, text: "", variant: "button", className: "hidden md:inline-flex" })
10996
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.StatusBadge, { loading: true, text: "", variant: "button", className: "hidden md:inline-flex" })
10994
10997
  ] }),
10995
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.StatusBadge, { loading: true, text: "", variant: "button" }) }),
10998
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.StatusBadge, { loading: true, text: "", variant: "button" }) }),
10996
10999
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) }),
10997
11000
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
10998
11001
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
10999
11002
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-1/3" }),
11000
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVVLL37EMcjs.AvatarStack, { loading: true, people: [], max: 1, size: "xs", className: "shrink-0" })
11003
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAHXURKJcjs.AvatarStack, { loading: true, people: [], max: 1, size: "xs", className: "shrink-0" })
11001
11004
  ] })
11002
11005
  ] });
11003
11006
  }
11004
11007
  function DesignDocCard({ doc, href, target, rel, className }) {
11005
11008
  const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
11006
11009
  const people = designDocPeople(doc);
11007
- const link = _chunkYBTORXFYcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
11010
+ const link = _chunkPRCGRDHVcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
11008
11011
  if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocCardSkeleton, { className });
11009
11012
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
11010
11013
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
@@ -11013,7 +11016,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
11013
11016
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
11014
11017
  ] }),
11015
11018
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11016
- _chunkYBTORXFYcjs.StatusBadge,
11019
+ _chunkPRCGRDHVcjs.StatusBadge,
11017
11020
  {
11018
11021
  text: readiness.label,
11019
11022
  colorScheme: readiness.scheme,
@@ -11023,15 +11026,15 @@ function DesignDocCard({ doc, href, target, rel, className }) {
11023
11026
  }
11024
11027
  )
11025
11028
  ] }),
11026
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
11029
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
11027
11030
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
11028
11031
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
11029
11032
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
11030
11033
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: formatCompletionLabelWithBlockers(doc.completion) }),
11031
- people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVVLL37EMcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
11034
+ people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAHXURKJcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
11032
11035
  ] })
11033
11036
  ] });
11034
- const outer = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkYBTORXFYcjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
11037
+ const outer = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkPRCGRDHVcjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
11035
11038
  return link ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href: link, target, rel, className: outer, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: outer, children: body });
11036
11039
  }
11037
11040
 
@@ -11139,7 +11142,7 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
11139
11142
  if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, GitHubActivityCardSkeleton, { variant, className });
11140
11143
  const kind = _nullishCoalesce(item.kind, () => ( "commit"));
11141
11144
  const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
11142
- const dateText = _chunk6UKH22NQcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
11145
+ const dateText = _chunkTGOJHOQRcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
11143
11146
  const idLabel = formatActivityId(item.id, kind);
11144
11147
  const { display: title, reviewState } = parseGithubTitle(item.title, kind);
11145
11148
  const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
@@ -11173,26 +11176,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
11173
11176
  metaParts.push(
11174
11177
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
11175
11178
  );
11176
- const href = _chunkYBTORXFYcjs.safeHref.call(void 0, item.url);
11179
+ const href = _chunkPRCGRDHVcjs.safeHref.call(void 0, item.url);
11177
11180
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
11178
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
11179
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TEXT_COL, children: [
11180
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkYBTORXFYcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
11181
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
11182
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_TEXT_COL, children: [
11183
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkPRCGRDHVcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
11181
11184
  reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
11182
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TITLE, children: primaryText })
11185
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_TITLE, children: primaryText })
11183
11186
  ] }),
11184
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
11187
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
11185
11188
  i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
11186
11189
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
11187
11190
  ] }, i)) }) }),
11188
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_SUMMARY, children: _chunkYBTORXFYcjs.COMPACT_CARD_ROW_FILLER }) })
11191
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_SUMMARY, children: _chunkPRCGRDHVcjs.COMPACT_CARD_ROW_FILLER }) })
11189
11192
  ] }),
11190
11193
  href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
11191
11194
  ] });
11192
11195
  if (anchorProps) {
11193
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkYBTORXFYcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
11196
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkPRCGRDHVcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
11194
11197
  }
11195
- return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkYBTORXFYcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYBTORXFYcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
11198
+ return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkPRCGRDHVcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkPRCGRDHVcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
11196
11199
  }
11197
11200
  function GitHubActivityCardSkeleton({
11198
11201
  variant = "compact",
@@ -11200,7 +11203,7 @@ function GitHubActivityCardSkeleton({
11200
11203
  }) {
11201
11204
  if (variant === "row") {
11202
11205
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11203
- _chunkYBTORXFYcjs.ActivityRowSkeleton,
11206
+ _chunkPRCGRDHVcjs.ActivityRowSkeleton,
11204
11207
  {
11205
11208
  lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
11206
11209
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
@@ -11211,7 +11214,7 @@ function GitHubActivityCardSkeleton({
11211
11214
  }
11212
11215
  );
11213
11216
  }
11214
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
11217
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
11215
11218
  }
11216
11219
 
11217
11220
  // src/utils/url-fix.ts
@@ -11252,89 +11255,41 @@ function getVendorLogo(vendor) {
11252
11255
 
11253
11256
  // src/components/vendor-icon.tsx
11254
11257
 
11255
- var sizeClasses = {
11256
- xs: "w-6 h-6",
11257
- sm: "w-8 h-8",
11258
- md: "w-10 h-10",
11259
- lg: "w-12 h-12",
11260
- l: "w-14 h-14",
11261
- xl: "w-16 h-16"
11262
- };
11263
- var imageSizeMap = {
11264
- xs: { width: 16, height: 16 },
11265
- sm: { width: 20, height: 20 },
11266
- md: { width: 32, height: 32 },
11267
- lg: { width: 40, height: 40 },
11268
- l: { width: 38, height: 38 },
11269
- xl: { width: 40, height: 40 }
11270
- };
11271
- var tilePxMap = {
11272
- xs: 24,
11273
- sm: 32,
11274
- md: 40,
11275
- lg: 48,
11276
- l: 56,
11277
- xl: 64
11258
+ var BACKGROUND_CLASS = {
11259
+ dark: "",
11260
+ light: "bg-ods-card",
11261
+ white: "bg-white border-[#E5E5E5] [--ods-avatar-initials:#333333]"
11278
11262
  };
11279
- var backgroundClasses = {
11280
- dark: "bg-ods-bg border border-ods-border",
11281
- light: "bg-ods-card border border-ods-border",
11282
- white: "bg-white border border-[#E5E5E5]"
11283
- };
11284
- function VendorIconSkeleton({
11285
- size = "md",
11286
- className,
11287
- ...props
11288
- }) {
11289
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11290
- _chunk4WIJI4AKcjs.UnifiedSkeleton,
11291
- {
11292
- className: _chunk7JWFMAQBcjs.cn.call(void 0, sizeClasses[size], "flex-shrink-0 rounded-lg", className),
11293
- ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props)
11294
- }
11295
- );
11296
- }
11297
11263
  function VendorIcon({
11298
11264
  vendor,
11299
11265
  size = "md",
11300
- className = "",
11266
+ className,
11301
11267
  showBackground = true,
11302
11268
  backgroundStyle = "dark",
11303
- loading: loadingProp,
11269
+ loading,
11304
11270
  ...props
11305
11271
  }) {
11306
- const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
11307
11272
  const logoUrl = getVendorLogo(vendor);
11308
- const logoSrc = _chunkFAUVDMH4cjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
11309
- const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
11310
- const containerClasses = _chunk7JWFMAQBcjs.cn.call(void 0,
11311
- sizeClasses[size],
11312
- "flex flex-shrink-0 items-center justify-center rounded-lg",
11313
- showBackground && backgroundClasses[backgroundStyle],
11314
- !showBackground && "overflow-hidden",
11315
- className
11316
- );
11317
- const markers = _chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props);
11318
- if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIconSkeleton, { size, className, ...markers });
11319
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, ...markers, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11320
- _chunkKUXHXLJQcjs.next_image_default,
11273
+ const logoSrc = _chunkTHY2XVGYcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
11274
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11275
+ _chunkTGOJHOQRcjs.SquareAvatar,
11321
11276
  {
11322
- src: logoSrc,
11277
+ src: logoUrl ? logoSrc || void 0 : void 0,
11323
11278
  alt: `${vendor.title} logo`,
11324
- width,
11325
- height,
11326
- className: _chunk7JWFMAQBcjs.cn.call(void 0, "object-contain", showBackground ? "p-1" : "h-full w-full")
11327
- }
11328
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11329
- "div",
11330
- {
11279
+ fallback: vendor.title,
11280
+ size,
11281
+ fit: "contain",
11282
+ padded: showBackground,
11283
+ loading,
11284
+ initialsClassName: "uppercase text-h6",
11331
11285
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
11332
- "flex items-center justify-center uppercase text-h6",
11333
- backgroundStyle === "white" ? "text-[#333333]" : "text-ods-text-secondary"
11286
+ "rounded-lg",
11287
+ showBackground ? BACKGROUND_CLASS[backgroundStyle] : "border-0 bg-transparent",
11288
+ className
11334
11289
  ),
11335
- children: _optionalChain([vendor, 'access', _252 => _252.title, 'optionalAccess', _253 => _253.substring, 'call', _254 => _254(0, 2)]) || "??"
11290
+ ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props)
11336
11291
  }
11337
- ) });
11292
+ );
11338
11293
  }
11339
11294
 
11340
11295
  // src/components/chat/hooks/use-chat-card-item.ts
@@ -11349,8 +11304,8 @@ function useChatCardItem(type, id) {
11349
11304
  const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
11350
11305
  if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
11351
11306
  const data = await res.json();
11352
- const items = _chunkFAUVDMH4cjs.extractCardItems.call(void 0, type, data);
11353
- const match = items.find((it) => _chunkFAUVDMH4cjs.extractItemId.call(void 0, type, it) === id);
11307
+ const items = _chunkTHY2XVGYcjs.extractCardItems.call(void 0, type, data);
11308
+ const match = items.find((it) => _chunkTHY2XVGYcjs.extractItemId.call(void 0, type, it) === id);
11354
11309
  return _nullishCoalesce(match, () => ( null));
11355
11310
  },
11356
11311
  enabled: !!url && id.length > 0,
@@ -11392,15 +11347,15 @@ var TRAILING_CELL_LAYOUT = "w-[56px] md:w-[68px]";
11392
11347
  function CardMedia({ imageSrc, imageAlt, icon }) {
11393
11348
  if (imageSrc) {
11394
11349
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
11395
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: _chunk6UKH22NQcjs.personInitials.call(void 0, imageAlt) || "?" }),
11350
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: _chunkTGOJHOQRcjs.personInitials.call(void 0, imageAlt) || "?" }),
11396
11351
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11397
11352
  _chunkKUXHXLJQcjs.next_image_default,
11398
11353
  {
11399
11354
  src: imageSrc,
11400
11355
  alt: imageAlt || "",
11401
11356
  className: "relative block size-10 rounded-sm border border-ods-border object-cover",
11402
- width: 40,
11403
- height: 40,
11357
+ width: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.md,
11358
+ height: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.md,
11404
11359
  unoptimized: true,
11405
11360
  onError: (e) => {
11406
11361
  const img = e.currentTarget;
@@ -11464,7 +11419,7 @@ function MingoInfoCard({
11464
11419
  status ? (
11465
11420
  // Reuse the shared Tag palette (single source of truth for colours)
11466
11421
  // without rendering Tag's `<div>` — span-only for `<p>` validity.
11467
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunk6UKH22NQcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(status.variant, () => ( "success")) }), "shrink-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
11422
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunkTGOJHOQRcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(status.variant, () => ( "success")) }), "shrink-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
11468
11423
  ) : null
11469
11424
  ] });
11470
11425
  const contentClass = _chunk7JWFMAQBcjs.cn.call(void 0,
@@ -11540,7 +11495,7 @@ function pickFetchedCardHref({
11540
11495
  itemHref,
11541
11496
  allowComposed
11542
11497
  }) {
11543
- if (_optionalChain([composed, 'optionalAccess', _255 => _255.hostOverride])) {
11498
+ if (_optionalChain([composed, 'optionalAccess', _252 => _252.hostOverride])) {
11544
11499
  return { source: "hostOverride", href: composed.href, targetPlatform: composed.targetPlatform };
11545
11500
  }
11546
11501
  if (itemHref) return { source: "item", href: itemHref };
@@ -11556,7 +11511,7 @@ function resolveFetchedCardHref({
11556
11511
  composeContentUrl
11557
11512
  }) {
11558
11513
  if (!composeContentUrl || !contentRefType || !id) return null;
11559
- const canonicalType = _chunkFAUVDMH4cjs.canonicalContentRefType.call(void 0, contentRefType);
11514
+ const canonicalType = _chunkTHY2XVGYcjs.canonicalContentRefType.call(void 0, contentRefType);
11560
11515
  return composeContentUrl({
11561
11516
  // The card registry keys some entries by the legacy rail vocabulary
11562
11517
  // (`blog_post_existing`) because that is what `buildListUrl` expects.
@@ -11586,7 +11541,7 @@ function sourceRowCtxFromRuntime(runtime, surface = {}) {
11586
11541
  }
11587
11542
  function pickSourceIcon(sourceRepo, documentType) {
11588
11543
  const iconName = sourceRepo ? getSourceIconName(sourceRepo) : void 0;
11589
- const icon = iconName ? _chunk5RGGUQ4Ycjs.resolveIcon.call(void 0, iconName, { variant: "brand" }) : _lucidereact.FileText;
11544
+ const icon = iconName ? _chunkVXXOUM2Kcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }) : _lucidereact.FileText;
11590
11545
  const iconLabel = _nullishCoalesce(documentType, () => ( "Source"));
11591
11546
  return { icon, iconLabel };
11592
11547
  }
@@ -11602,20 +11557,20 @@ function resolveSourceRowCTA(row, ctx = {}) {
11602
11557
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
11603
11558
  const safePath = sanitizePath(row.path);
11604
11559
  if (safePath) {
11605
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _256 => _256.docPlatformTargets, 'optionalAccess', _257 => _257[row.documentType]]) : void 0;
11560
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _253 => _253.docPlatformTargets, 'optionalAccess', _254 => _254[row.documentType]]) : void 0;
11606
11561
  if (docTarget) {
11607
11562
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
11608
11563
  const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
11609
- href = _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
11564
+ href = _nullishCoalesce(_chunkPRCGRDHVcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
11610
11565
  targetPlatform = docTarget.platform;
11611
11566
  } else if (ctx.chipBasePlatform) {
11612
11567
  const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
11613
- href = _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
11568
+ href = _nullishCoalesce(_chunkPRCGRDHVcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
11614
11569
  targetPlatform = ctx.chipBasePlatform;
11615
11570
  } else if (ctx.baseRoute) {
11616
11571
  const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
11617
11572
  const absolute = new URL(safePath, synthetic).toString();
11618
- href = _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
11573
+ href = _nullishCoalesce(_chunkPRCGRDHVcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
11619
11574
  targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
11620
11575
  }
11621
11576
  }
@@ -11624,15 +11579,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
11624
11579
  // Canonical vocabulary only — a rail-vocab alias would miss the host's
11625
11580
  // `hostedTypes` / `overrides` and fall through to the seam's default
11626
11581
  // `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
11627
- type: _chunkFAUVDMH4cjs.canonicalContentRefType.call(void 0, row.documentType),
11582
+ type: _chunkTHY2XVGYcjs.canonicalContentRefType.call(void 0, row.documentType),
11628
11583
  identifier: idValue,
11629
11584
  externalUrl: row.externalUrl,
11630
11585
  targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
11631
11586
  });
11632
- href = composed.href ? _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
11587
+ href = composed.href ? _nullishCoalesce(_chunkPRCGRDHVcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
11633
11588
  targetPlatform = composed.targetPlatform;
11634
11589
  } else if (row.externalUrl) {
11635
- href = _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
11590
+ href = _nullishCoalesce(_chunkPRCGRDHVcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
11636
11591
  targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
11637
11592
  }
11638
11593
  const documentType = row.documentType;
@@ -11671,7 +11626,7 @@ function resolveCardDestination({
11671
11626
  composeContentUrl,
11672
11627
  resolveHref = (href) => href
11673
11628
  }) {
11674
- const refPath = typeof _optionalChain([chatRef, 'access', _258 => _258.metadata, 'optionalAccess', _259 => _259.path]) === "string" && chatRef.metadata.path ? chatRef.metadata.path : null;
11629
+ const refPath = typeof _optionalChain([chatRef, 'access', _255 => _255.metadata, 'optionalAccess', _256 => _256.path]) === "string" && chatRef.metadata.path ? chatRef.metadata.path : null;
11675
11630
  const path = _nullishCoalesce(refPath, () => ( (item ? readFetchedCardPath(item) : null)));
11676
11631
  const cta = resolveSourceRowCTA(
11677
11632
  {
@@ -11688,7 +11643,7 @@ function resolveCardDestination({
11688
11643
  const rowUrl = cta.href ? resolveHref(cta.href) : _nullishCoalesce(chatRef.url, () => ( null));
11689
11644
  const rowPlatform = _nullishCoalesce(_nullishCoalesce(cta.targetPlatform, () => ( chatRef.targetPlatform)), () => ( null));
11690
11645
  if (rowUrl) return { url: rowUrl, targetPlatform: rowPlatform, path, source: "row" };
11691
- if (_optionalChain([entry, 'optionalAccess', _260 => _260.contentRefType]) && item) {
11646
+ if (_optionalChain([entry, 'optionalAccess', _257 => _257.contentRefType]) && item) {
11692
11647
  const choice = pickFetchedCardHref({
11693
11648
  composed: resolveFetchedCardHref({
11694
11649
  contentRefType: entry.contentRefType,
@@ -11696,10 +11651,10 @@ function resolveCardDestination({
11696
11651
  item,
11697
11652
  composeContentUrl
11698
11653
  }),
11699
- itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _261 => _261.fallbackHref, 'optionalCall', _262 => _262(item)]), () => ( null)),
11654
+ itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _258 => _258.fallbackHref, 'optionalCall', _259 => _259(item)]), () => ( null)),
11700
11655
  allowComposed: !entry.noComposedHref
11701
11656
  });
11702
- const url = choice ? _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
11657
+ const url = choice ? _nullishCoalesce(_chunkPRCGRDHVcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
11703
11658
  if (choice && url) {
11704
11659
  return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
11705
11660
  }
@@ -11712,11 +11667,11 @@ function resolveCardDestination({
11712
11667
 
11713
11668
  function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
11714
11669
  const label = entityLabel || "Item";
11715
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkYBTORXFYcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
11716
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkYBTORXFYcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
11717
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TEXT_COL, children: [
11718
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkYBTORXFYcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
11719
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkYBTORXFYcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
11670
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkPRCGRDHVcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
11671
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
11672
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_TEXT_COL, children: [
11673
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkPRCGRDHVcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
11674
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkPRCGRDHVcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
11720
11675
  label,
11721
11676
  " deleted",
11722
11677
  recoveryNote ? ` \xB7 ${recoveryNote}` : ""
@@ -11762,7 +11717,7 @@ function GitHubChatCard({
11762
11717
  const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
11763
11718
  const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
11764
11719
  const idLabel = formatActivityId(chatRef.id, kind);
11765
- const dateText = _chunk6UKH22NQcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
11720
+ const dateText = _chunkTGOJHOQRcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
11766
11721
  const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
11767
11722
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11768
11723
  MingoInfoCard,
@@ -11771,7 +11726,7 @@ function GitHubChatCard({
11771
11726
  description,
11772
11727
  icon: githubKindIcon(kind),
11773
11728
  status,
11774
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11729
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11775
11730
  menuGroups: cardMenuGroups(chatRef.url, discuss),
11776
11731
  menuAriaLabel: "Activity actions"
11777
11732
  }
@@ -11790,8 +11745,8 @@ function cardMenuGroups(href, discuss, openDetails, externalLink) {
11790
11745
  if (href) {
11791
11746
  items.push({
11792
11747
  id: "open-details",
11793
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _263 => _263.label]), () => ( "Open Details")),
11794
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _264 => _264.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMLT7ASAcjs.EyeIcon, { size: 20 }))),
11748
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _260 => _260.label]), () => ( "Open Details")),
11749
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _261 => _261.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMMLT7ASAcjs.EyeIcon, { size: 20 }))),
11795
11750
  // Main row → open the entity (same tab, soft Link nav).
11796
11751
  href,
11797
11752
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -11851,18 +11806,18 @@ function itemVideoMetadata(item) {
11851
11806
  for (const v of vals) if (typeof v === "string" && v.length > 0) return v;
11852
11807
  return void 0;
11853
11808
  };
11854
- const m = _nullishCoalesce(_optionalChain([item, 'optionalAccess', _265 => _265.metadata]), () => ( {}));
11809
+ const m = _nullishCoalesce(_optionalChain([item, 'optionalAccess', _262 => _262.metadata]), () => ( {}));
11855
11810
  const out = {};
11856
- const videoUrl = pick(m.videoUrl, _optionalChain([item, 'optionalAccess', _266 => _266.custom_video_url]), _optionalChain([item, 'optionalAccess', _267 => _267.main_video_url]));
11857
- const youtubeUrl = pick(m.youtubeUrl, _optionalChain([item, 'optionalAccess', _268 => _268.youtube_url]), _optionalChain([item, 'optionalAccess', _269 => _269.testimonial_video_url]));
11858
- const highlightVideoUrl = pick(m.highlightVideoUrl, _optionalChain([item, 'optionalAccess', _270 => _270.highlight_video_url]));
11811
+ const videoUrl = pick(m.videoUrl, _optionalChain([item, 'optionalAccess', _263 => _263.custom_video_url]), _optionalChain([item, 'optionalAccess', _264 => _264.main_video_url]));
11812
+ const youtubeUrl = pick(m.youtubeUrl, _optionalChain([item, 'optionalAccess', _265 => _265.youtube_url]), _optionalChain([item, 'optionalAccess', _266 => _266.testimonial_video_url]));
11813
+ const highlightVideoUrl = pick(m.highlightVideoUrl, _optionalChain([item, 'optionalAccess', _267 => _267.highlight_video_url]));
11859
11814
  const videoPoster = pick(
11860
11815
  m.videoPoster,
11861
- _optionalChain([item, 'optionalAccess', _271 => _271.main_video_thumbnail]),
11862
- _optionalChain([item, 'optionalAccess', _272 => _272.highlight_video_thumbnail]),
11863
- _optionalChain([item, 'optionalAccess', _273 => _273.featured_image])
11816
+ _optionalChain([item, 'optionalAccess', _268 => _268.main_video_thumbnail]),
11817
+ _optionalChain([item, 'optionalAccess', _269 => _269.highlight_video_thumbnail]),
11818
+ _optionalChain([item, 'optionalAccess', _270 => _270.featured_image])
11864
11819
  );
11865
- const highlightVideoPoster = pick(m.highlightVideoPoster, _optionalChain([item, 'optionalAccess', _274 => _274.highlight_video_thumbnail]));
11820
+ const highlightVideoPoster = pick(m.highlightVideoPoster, _optionalChain([item, 'optionalAccess', _271 => _271.highlight_video_thumbnail]));
11866
11821
  if (videoUrl) out.videoUrl = videoUrl;
11867
11822
  if (youtubeUrl) out.youtubeUrl = youtubeUrl;
11868
11823
  if (highlightVideoUrl) out.highlightVideoUrl = highlightVideoUrl;
@@ -11892,15 +11847,15 @@ function fetchedItemDisplayRef(item, chatRef) {
11892
11847
  }
11893
11848
  function fetchedFaqDisplayRef(item, chatRef) {
11894
11849
  const it = item;
11895
- const answer = typeof _optionalChain([it, 'optionalAccess', _275 => _275.answer]) === "string" && it.answer.trim().length > 0 ? it.answer.trim() : null;
11850
+ const answer = typeof _optionalChain([it, 'optionalAccess', _272 => _272.answer]) === "string" && it.answer.trim().length > 0 ? it.answer.trim() : null;
11896
11851
  return {
11897
11852
  type: "faq",
11898
11853
  id: chatRef.id,
11899
11854
  sourceRepo: chatRef.sourceRepo,
11900
- title: typeof _optionalChain([it, 'optionalAccess', _276 => _276.question]) === "string" && it.question ? it.question : chatRef.id,
11855
+ title: typeof _optionalChain([it, 'optionalAccess', _273 => _273.question]) === "string" && it.question ? it.question : chatRef.id,
11901
11856
  url: _nullishCoalesce(chatRef.url, () => ( null)),
11902
11857
  ...answer ? { preview: answer.length > 400 ? `${answer.slice(0, 397)}\u2026` : answer } : {},
11903
- metadata: typeof _optionalChain([it, 'optionalAccess', _277 => _277.section]) === "string" && it.section ? { section: it.section } : {}
11858
+ metadata: typeof _optionalChain([it, 'optionalAccess', _274 => _274.section]) === "string" && it.section ? { section: it.section } : {}
11904
11859
  };
11905
11860
  }
11906
11861
  function HubspotTicketChatCard({
@@ -11908,8 +11863,8 @@ function HubspotTicketChatCard({
11908
11863
  isNewTab,
11909
11864
  discuss
11910
11865
  }) {
11911
- const status = typeof _optionalChain([chatRef, 'access', _278 => _278.metadata, 'optionalAccess', _279 => _279.status]) === "string" ? chatRef.metadata.status : void 0;
11912
- const statusLabel = typeof _optionalChain([chatRef, 'access', _280 => _280.metadata, 'optionalAccess', _281 => _281.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
11866
+ const status = typeof _optionalChain([chatRef, 'access', _275 => _275.metadata, 'optionalAccess', _276 => _276.status]) === "string" ? chatRef.metadata.status : void 0;
11867
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _277 => _277.metadata, 'optionalAccess', _278 => _278.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
11913
11868
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
11914
11869
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11915
11870
  MingoInfoCard,
@@ -11918,7 +11873,7 @@ function HubspotTicketChatCard({
11918
11873
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11919
11874
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
11920
11875
  status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
11921
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11876
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11922
11877
  menuGroups: cardMenuGroups(chatRef.url, discuss, {
11923
11878
  label: "Open Ticket Details",
11924
11879
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
@@ -11932,7 +11887,7 @@ function FaqChatCard({
11932
11887
  isNewTab,
11933
11888
  discuss
11934
11889
  }) {
11935
- const section = typeof _optionalChain([chatRef, 'access', _282 => _282.metadata, 'optionalAccess', _283 => _283.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
11890
+ const section = typeof _optionalChain([chatRef, 'access', _279 => _279.metadata, 'optionalAccess', _280 => _280.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
11936
11891
  const statusLabel = section && section.length > 0 ? section : "FAQ";
11937
11892
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11938
11893
  MingoInfoCard,
@@ -11941,7 +11896,7 @@ function FaqChatCard({
11941
11896
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11942
11897
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
11943
11898
  status: { label: statusLabel, variant: "grey" },
11944
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11899
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11945
11900
  menuGroups: cardMenuGroups(chatRef.url, discuss),
11946
11901
  menuAriaLabel: "FAQ actions"
11947
11902
  }
@@ -11952,7 +11907,7 @@ function SlackChatCard({
11952
11907
  isNewTab,
11953
11908
  discuss
11954
11909
  }) {
11955
- const channelName = typeof _optionalChain([chatRef, 'access', _284 => _284.metadata, 'optionalAccess', _285 => _285.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
11910
+ const channelName = typeof _optionalChain([chatRef, 'access', _281 => _281.metadata, 'optionalAccess', _282 => _282.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
11956
11911
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
11957
11912
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
11958
11913
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -11961,7 +11916,7 @@ function SlackChatCard({
11961
11916
  title,
11962
11917
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11963
11918
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
11964
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11919
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11965
11920
  menuGroups: cardMenuGroups(chatRef.url, discuss),
11966
11921
  menuAriaLabel: "Message actions"
11967
11922
  }
@@ -11979,7 +11934,7 @@ function GlyphChatCard({
11979
11934
  title: chatRef.title,
11980
11935
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11981
11936
  icon,
11982
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11937
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11983
11938
  menuGroups: cardMenuGroups(chatRef.url, discuss),
11984
11939
  menuAriaLabel: "Card actions"
11985
11940
  }
@@ -11995,22 +11950,22 @@ function TrustCenterChatCard({
11995
11950
  isNewTab,
11996
11951
  discuss
11997
11952
  }) {
11998
- const raw2 = _optionalChain([item, 'optionalAccess', _286 => _286.frameworks]);
11953
+ const raw2 = _optionalChain([item, 'optionalAccess', _283 => _283.frameworks]);
11999
11954
  const frameworks = Array.isArray(raw2) ? raw2 : [];
12000
- const summary = _chunkFAUVDMH4cjs.trustFrameworksSummary.call(void 0, frameworks);
11955
+ const summary = _chunkTHY2XVGYcjs.trustFrameworksSummary.call(void 0, frameworks);
12001
11956
  const leadFramework = frameworks[0];
12002
11957
  const lead = leadFramework ? {
12003
- label: _chunkFAUVDMH4cjs.trustFrameworkBadge.call(void 0, leadFramework),
12004
- color: _chunkFAUVDMH4cjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
11958
+ label: _chunkTHY2XVGYcjs.trustFrameworkBadge.call(void 0, leadFramework),
11959
+ color: _chunkTHY2XVGYcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
12005
11960
  } : void 0;
12006
11961
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12007
11962
  MingoInfoCard,
12008
11963
  {
12009
- title: _chunkFAUVDMH4cjs.TRUST_CENTER_TITLE,
12010
- description: summary || _chunkFAUVDMH4cjs.TRUST_CENTER_TAGLINE,
11964
+ title: _chunkTHY2XVGYcjs.TRUST_CENTER_TITLE,
11965
+ description: summary || _chunkTHY2XVGYcjs.TRUST_CENTER_TAGLINE,
12011
11966
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
12012
11967
  status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
12013
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11968
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12014
11969
  menuGroups: cardMenuGroups(chatRef.url, discuss, {
12015
11970
  label: "View trust center",
12016
11971
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
@@ -12032,7 +11987,7 @@ function DataRoomDocChatCard({
12032
11987
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
12033
11988
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
12034
11989
  status: { label: badgeText, variant: "grey" },
12035
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11990
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12036
11991
  menuGroups: cardMenuGroups(chatRef.url, discuss),
12037
11992
  menuAriaLabel: "Document actions"
12038
11993
  }
@@ -12044,14 +11999,14 @@ function GenericFinancialChatCard({
12044
11999
  isNewTab,
12045
12000
  discuss
12046
12001
  }) {
12047
- const subtitle = typeof _optionalChain([chatRef, 'access', _287 => _287.metadata, 'optionalAccess', _288 => _288.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
12002
+ const subtitle = typeof _optionalChain([chatRef, 'access', _284 => _284.metadata, 'optionalAccess', _285 => _285.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
12048
12003
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12049
12004
  MingoInfoCard,
12050
12005
  {
12051
12006
  title: chatRef.title,
12052
12007
  description: subtitle,
12053
12008
  icon,
12054
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12009
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12055
12010
  menuGroups: cardMenuGroups(chatRef.url, discuss),
12056
12011
  menuAriaLabel: "Document actions"
12057
12012
  }
@@ -12113,12 +12068,12 @@ function ProductReleaseChatCard({
12113
12068
  discuss
12114
12069
  }) {
12115
12070
  const releaseProps = buildProps(item);
12116
- const status = _optionalChain([item, 'optionalAccess', _289 => _289.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
12071
+ const status = _optionalChain([item, 'optionalAccess', _286 => _286.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
12117
12072
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12118
12073
  EntityMingoCard,
12119
12074
  {
12120
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _290 => _290.title]), () => ( "")),
12121
- description: _optionalChain([item, 'optionalAccess', _291 => _291.summary]) || releaseProps.formattedDate || void 0,
12075
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _287 => _287.title]), () => ( "")),
12076
+ description: _optionalChain([item, 'optionalAccess', _288 => _288.summary]) || releaseProps.formattedDate || void 0,
12122
12077
  cover: releaseProps.coverImage || void 0,
12123
12078
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX5LU4XQNcjs.Rocket02Icon, { size: 24 }),
12124
12079
  status,
@@ -12135,17 +12090,17 @@ function CampaignChatCard({
12135
12090
  isNewTab,
12136
12091
  discuss
12137
12092
  }) {
12138
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _292 => _292.goals])) ? item.goals.length : 0;
12093
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _289 => _289.goals])) ? item.goals.length : 0;
12139
12094
  const meta = [
12140
- _optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ? _chunkFAUVDMH4cjs.formatDateShort.call(void 0, item.start_date) : null,
12095
+ _optionalChain([item, 'optionalAccess', _290 => _290.start_date]) ? _chunkTHY2XVGYcjs.formatDateShort.call(void 0, item.start_date) : null,
12141
12096
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
12142
12097
  "Marketing campaign"
12143
12098
  ].filter(Boolean).join(" \xB7 ");
12144
12099
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12145
12100
  EntityMingoCard,
12146
12101
  {
12147
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _294 => _294.name]), () => ( "")),
12148
- description: meta || _optionalChain([item, 'optionalAccess', _295 => _295.description]) || void 0,
12102
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _291 => _291.name]), () => ( "")),
12103
+ description: meta || _optionalChain([item, 'optionalAccess', _292 => _292.description]) || void 0,
12149
12104
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6OCFDC2Qcjs.Megaphone01Icon, { size: 24 }),
12150
12105
  chatRef,
12151
12106
  isNewTab,
@@ -12176,7 +12131,7 @@ function EntityMingoCard({
12176
12131
  imageAlt: typeof title === "string" ? title : void 0,
12177
12132
  icon: fallbackIcon,
12178
12133
  status,
12179
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12134
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12180
12135
  menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
12181
12136
  menuAriaLabel
12182
12137
  }
@@ -12188,7 +12143,7 @@ function entityCover(image, ogPlaceholder) {
12188
12143
  function statusPill(status) {
12189
12144
  const s = typeof status === "string" ? status.trim() : "";
12190
12145
  if (!s) return void 0;
12191
- const scheme = _chunkFAUVDMH4cjs.getStatusColorScheme.call(void 0, s);
12146
+ const scheme = _chunkTHY2XVGYcjs.getStatusColorScheme.call(void 0, s);
12192
12147
  const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
12193
12148
  return { label: s, variant };
12194
12149
  }
@@ -12200,14 +12155,14 @@ function BlogChatCard({
12200
12155
  hasEmbeddedVideo,
12201
12156
  discuss
12202
12157
  }) {
12203
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _296 => _296.categories])) ? _nullishCoalesce(_optionalChain([item, 'access', _297 => _297.categories, 'access', _298 => _298.find, 'call', _299 => _299((c) => _optionalChain([c, 'optionalAccess', _300 => _300.name])), 'optionalAccess', _301 => _301.name]), () => ( void 0)) : void 0;
12158
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _293 => _293.categories])) ? _nullishCoalesce(_optionalChain([item, 'access', _294 => _294.categories, 'access', _295 => _295.find, 'call', _296 => _296((c) => _optionalChain([c, 'optionalAccess', _297 => _297.name])), 'optionalAccess', _298 => _298.name]), () => ( void 0)) : void 0;
12204
12159
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
12205
12160
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12206
12161
  EntityMingoCard,
12207
12162
  {
12208
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _302 => _302.title]), () => ( "")),
12209
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _303 => _303.summary]), () => ( void 0)),
12210
- cover: entityCover(_optionalChain([item, 'optionalAccess', _304 => _304.featured_image]), ogPlaceholder),
12163
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _299 => _299.title]), () => ( "")),
12164
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _300 => _300.summary]), () => ( void 0)),
12165
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _301 => _301.featured_image]), ogPlaceholder),
12211
12166
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEAPORE6cjs.NewspaperIcon, { size: 24 }),
12212
12167
  status,
12213
12168
  chatRef,
@@ -12224,13 +12179,13 @@ function CaseStudyChatCard({
12224
12179
  ogPlaceholder,
12225
12180
  discuss
12226
12181
  }) {
12227
- const meta = [_optionalChain([item, 'optionalAccess', _305 => _305.msp, 'optionalAccess', _306 => _306.name]), _optionalChain([item, 'optionalAccess', _307 => _307.user, 'optionalAccess', _308 => _308.full_name])].filter(Boolean).join(" \xB7 ");
12182
+ const meta = [_optionalChain([item, 'optionalAccess', _302 => _302.msp, 'optionalAccess', _303 => _303.name]), _optionalChain([item, 'optionalAccess', _304 => _304.user, 'optionalAccess', _305 => _305.full_name])].filter(Boolean).join(" \xB7 ");
12228
12183
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12229
12184
  EntityMingoCard,
12230
12185
  {
12231
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _309 => _309.title]), () => ( "")),
12232
- description: _optionalChain([item, 'optionalAccess', _310 => _310.summary]) || meta || void 0,
12233
- cover: entityCover(_optionalChain([item, 'optionalAccess', _311 => _311.featured_image]), ogPlaceholder),
12186
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _306 => _306.title]), () => ( "")),
12187
+ description: _optionalChain([item, 'optionalAccess', _307 => _307.summary]) || meta || void 0,
12188
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _308 => _308.featured_image]), ogPlaceholder),
12234
12189
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk44URXY24cjs.TrophyIcon, { size: 24 }),
12235
12190
  status: { label: "Case study", variant: "grey" },
12236
12191
  chatRef,
@@ -12247,13 +12202,13 @@ function CustomerInterviewChatCard({
12247
12202
  ogPlaceholder,
12248
12203
  discuss
12249
12204
  }) {
12250
- const meta = [_optionalChain([item, 'optionalAccess', _312 => _312.user, 'optionalAccess', _313 => _313.full_name]), _optionalChain([item, 'optionalAccess', _314 => _314.msp, 'optionalAccess', _315 => _315.name])].filter(Boolean).join(" \xB7 ");
12205
+ const meta = [_optionalChain([item, 'optionalAccess', _309 => _309.user, 'optionalAccess', _310 => _310.full_name]), _optionalChain([item, 'optionalAccess', _311 => _311.msp, 'optionalAccess', _312 => _312.name])].filter(Boolean).join(" \xB7 ");
12251
12206
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12252
12207
  EntityMingoCard,
12253
12208
  {
12254
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _316 => _316.title]), () => ( "")),
12255
- description: _optionalChain([item, 'optionalAccess', _317 => _317.video_summary]) || meta || void 0,
12256
- cover: entityCover(_optionalChain([item, 'optionalAccess', _318 => _318.featured_image]), ogPlaceholder),
12209
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _313 => _313.title]), () => ( "")),
12210
+ description: _optionalChain([item, 'optionalAccess', _314 => _314.video_summary]) || meta || void 0,
12211
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _315 => _315.featured_image]), ogPlaceholder),
12257
12212
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 }),
12258
12213
  status: { label: "Interview", variant: "grey" },
12259
12214
  chatRef,
@@ -12270,16 +12225,16 @@ function DesignDocChatCard({
12270
12225
  discuss
12271
12226
  }) {
12272
12227
  const displayRef = fetchedItemDisplayRef(item, chatRef);
12273
- const doc = _optionalChain([item, 'optionalAccess', _319 => _319.doc]);
12228
+ const doc = _optionalChain([item, 'optionalAccess', _316 => _316.doc]);
12274
12229
  const readiness = doc ? DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)] : null;
12275
12230
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12276
12231
  MingoInfoCard,
12277
12232
  {
12278
- title: _nullishCoalesce(_optionalChain([doc, 'optionalAccess', _320 => _320.title]), () => ( displayRef.title)),
12233
+ title: _nullishCoalesce(_optionalChain([doc, 'optionalAccess', _317 => _317.title]), () => ( displayRef.title)),
12279
12234
  description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
12280
12235
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
12281
12236
  status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
12282
- anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
12237
+ anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
12283
12238
  menuGroups: cardMenuGroups(displayRef.url, discuss),
12284
12239
  menuAriaLabel: "Design doc actions"
12285
12240
  }
@@ -12292,13 +12247,13 @@ function InvestorUpdateChatCard({
12292
12247
  ogPlaceholder,
12293
12248
  discuss
12294
12249
  }) {
12295
- const title = _optionalChain([item, 'optionalAccess', _321 => _321.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _322 => _322.update_number]), () => ( "?"))}`;
12250
+ const title = _optionalChain([item, 'optionalAccess', _318 => _318.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _319 => _319.update_number]), () => ( "?"))}`;
12296
12251
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12297
12252
  EntityMingoCard,
12298
12253
  {
12299
12254
  title,
12300
- description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) || _chunkFAUVDMH4cjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _326 => _326.period_end]), () => ( null))) || void 0,
12301
- cover: entityCover(_optionalChain([item, 'optionalAccess', _327 => _327.featured_image]), ogPlaceholder),
12255
+ description: _optionalChain([item, 'optionalAccess', _320 => _320.strategic_update]) || _optionalChain([item, 'optionalAccess', _321 => _321.content]) || _chunkTHY2XVGYcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _322 => _322.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _323 => _323.period_end]), () => ( null))) || void 0,
12256
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _324 => _324.featured_image]), ogPlaceholder),
12302
12257
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
12303
12258
  status: { label: "Investor update", variant: "grey" },
12304
12259
  chatRef,
@@ -12315,12 +12270,12 @@ function OnboardingGuideChatCard({
12315
12270
  ogPlaceholder,
12316
12271
  discuss
12317
12272
  }) {
12318
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _328 => _328.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _329 => _329.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _330 => _330.og_image_url]), ogPlaceholder)));
12273
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _325 => _325.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _326 => _326.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _327 => _327.og_image_url]), ogPlaceholder)));
12319
12274
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12320
12275
  EntityMingoCard,
12321
12276
  {
12322
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _331 => _331.title]), () => ( "")),
12323
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _332 => _332.summary]), () => ( _optionalChain([item, 'optionalAccess', _333 => _333.description]))), () => ( void 0)),
12277
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _328 => _328.title]), () => ( "")),
12278
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _329 => _329.summary]), () => ( _optionalChain([item, 'optionalAccess', _330 => _330.description]))), () => ( void 0)),
12324
12279
  cover,
12325
12280
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZFJDLJSIcjs.CompassIcon, { size: 24 }),
12326
12281
  status: { label: "Guide", variant: "grey" },
@@ -12341,13 +12296,13 @@ function ProgramChatCard({
12341
12296
  discuss
12342
12297
  }) {
12343
12298
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZ6NU2C2cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM4KPLFFAcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 });
12344
- const { line: meta } = _chunkFAUVDMH4cjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkFAUVDMH4cjs.programMetaFormatters.call(void 0, _chunkFAUVDMH4cjs.PROGRAM_META_RENDERERS));
12299
+ const { line: meta } = _chunkTHY2XVGYcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkTHY2XVGYcjs.programMetaFormatters.call(void 0, _chunkTHY2XVGYcjs.PROGRAM_META_RENDERERS));
12345
12300
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12346
12301
  EntityMingoCard,
12347
12302
  {
12348
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _334 => _334.title]), () => ( "")),
12349
- description: meta || _optionalChain([item, 'optionalAccess', _335 => _335.description]) || void 0,
12350
- cover: entityCover(_optionalChain([item, 'optionalAccess', _336 => _336.cover_url]), ogPlaceholder),
12303
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _331 => _331.title]), () => ( "")),
12304
+ description: meta || _optionalChain([item, 'optionalAccess', _332 => _332.description]) || void 0,
12305
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _333 => _333.cover_url]), ogPlaceholder),
12351
12306
  fallbackIcon: icon,
12352
12307
  status: { label, variant: "grey" },
12353
12308
  chatRef,
@@ -12364,13 +12319,23 @@ function RoadmapChatCard({
12364
12319
  cardType,
12365
12320
  discuss
12366
12321
  }) {
12367
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _337 => _337.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
12368
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]) != null;
12322
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _334 => _334.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
12323
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _335 => _335.customItemId]) != null;
12369
12324
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UIJR4PYcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6DN5HKRWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQDSQKK2cjs.MapIcon, { size: 24 });
12370
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _339 => _339.customItemId]), className: "size-6" }) : logoUrl ? (
12325
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHY2XVGYcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _336 => _336.customItemId]), className: "size-6" }) : logoUrl ? (
12371
12326
  // Contained (not full-bleed) so the integration logo keeps its aspect
12372
12327
  // ratio inside the bordered icon box — matches RoadmapCard.
12373
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKUXHXLJQcjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
12328
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12329
+ _chunkKUXHXLJQcjs.next_image_default,
12330
+ {
12331
+ src: logoUrl,
12332
+ alt: "",
12333
+ className: "size-6 object-contain",
12334
+ width: _chunkVXXOUM2Kcjs.IMAGE_FIXED_PX.glyph,
12335
+ height: _chunkVXXOUM2Kcjs.IMAGE_FIXED_PX.glyph,
12336
+ unoptimized: true
12337
+ }
12338
+ )
12374
12339
  ) : defaultIcon;
12375
12340
  const clickupHref = clickupTaskUrl(chatRef.id);
12376
12341
  const clickupIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk27TMRMOMcjs.ClickupLogoIcon, { size: 20 });
@@ -12378,10 +12343,10 @@ function RoadmapChatCard({
12378
12343
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12379
12344
  EntityMingoCard,
12380
12345
  {
12381
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _340 => _340.title]), () => ( "")),
12382
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _341 => _341.description]), () => ( void 0)),
12346
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _337 => _337.title]), () => ( "")),
12347
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _338 => _338.description]), () => ( void 0)),
12383
12348
  fallbackIcon: icon,
12384
- status: statusPill(_optionalChain([item, 'optionalAccess', _342 => _342.status])),
12349
+ status: statusPill(_optionalChain([item, 'optionalAccess', _339 => _339.status])),
12385
12350
  chatRef,
12386
12351
  isNewTab,
12387
12352
  discuss,
@@ -12397,7 +12362,7 @@ function refHydratedEntry(docType, label, renderRef) {
12397
12362
  bareInline: true,
12398
12363
  contentRefType: docType,
12399
12364
  noComposedHref: true,
12400
- fallbackHref: (item) => _nullishCoalesce(_optionalChain([item, 'optionalAccess', _343 => _343.url]), () => ( null)),
12365
+ fallbackHref: (item) => _nullishCoalesce(_optionalChain([item, 'optionalAccess', _340 => _340.url]), () => ( null)),
12401
12366
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
12402
12367
  render: (item, chatRef, opts) => renderRef(fetchedItemDisplayRef(item, chatRef), opts)
12403
12368
  };
@@ -12429,15 +12394,15 @@ function financialRegistryEntries() {
12429
12394
  );
12430
12395
  }
12431
12396
  function refText(ref, key) {
12432
- const value = _optionalChain([ref, 'optionalAccess', _344 => _344[key]]);
12397
+ const value = _optionalChain([ref, 'optionalAccess', _341 => _341[key]]);
12433
12398
  return typeof value === "string" && value.length > 0 ? value : null;
12434
12399
  }
12435
12400
  function VendorGlyph({ title, logoUrl }) {
12436
- if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
12401
+ if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
12437
12402
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
12438
12403
  }
12439
12404
  function SitePageGlyph({ iconName }) {
12440
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
12405
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
12441
12406
  }
12442
12407
  var GITHUB_CARD_CONFIGS = {
12443
12408
  github_commit: { label: "GitHub commit", kind: "commit" },
@@ -12475,7 +12440,7 @@ var REF_GLYPH_CARD_CONFIGS = {
12475
12440
  // rate. A glyph card; it opens the pricing page.
12476
12441
  openframe_price: { label: "OpenFrame price" },
12477
12442
  // A vendor (product) of the OpenMSP directory. A glyph card; it opens the vendor's page there.
12478
- vendor: { label: "Vendor", icon: (ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorGlyph, { title: _nullishCoalesce(_optionalChain([ref, 'optionalAccess', _345 => _345.title]), () => ( "")), logoUrl: refText(ref, "logo_url") }) }
12443
+ vendor: { label: "Vendor", icon: (ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorGlyph, { title: _nullishCoalesce(_optionalChain([ref, 'optionalAccess', _342 => _342.title]), () => ( "")), logoUrl: refText(ref, "logo_url") }) }
12479
12444
  };
12480
12445
  function sourceGlyph(docType) {
12481
12446
  const { Icon } = resolveSourceIcon({ sourceRepo: defaultTableIdForDocumentType(docType), documentType: docType });
@@ -12494,8 +12459,8 @@ function refGlyphRegistryEntries() {
12494
12459
  title: displayRef.title,
12495
12460
  description: _nullishCoalesce(displayRef.preview, () => ( void 0)),
12496
12461
  cover: entityCover(
12497
- _optionalChain([displayRef, 'access', _346 => _346.metadata, 'optionalAccess', _347 => _347.videoPoster]),
12498
- _nullishCoalesce(_optionalChain([opts, 'access', _348 => _348.extras, 'optionalAccess', _349 => _349.buildOgPlaceholderUrl, 'optionalCall', _350 => _350(_nullishCoalesce(displayRef.title, () => ( "")))]), () => ( null))
12462
+ _optionalChain([displayRef, 'access', _343 => _343.metadata, 'optionalAccess', _344 => _344.videoPoster]),
12463
+ _nullishCoalesce(_optionalChain([opts, 'access', _345 => _345.extras, 'optionalAccess', _346 => _346.buildOgPlaceholderUrl, 'optionalCall', _347 => _347(_nullishCoalesce(displayRef.title, () => ( "")))]), () => ( null))
12499
12464
  ),
12500
12465
  fallbackIcon: glyph(displayRef),
12501
12466
  status: { label: cfg.label, variant: "grey" },
@@ -12510,9 +12475,9 @@ function refGlyphRegistryEntries() {
12510
12475
  }
12511
12476
  function fetchedEmployeeEntryDisplayRef(item, chatRef) {
12512
12477
  const it = item;
12513
- const title = typeof _optionalChain([it, 'optionalAccess', _351 => _351.title]) === "string" && it.title.trim().length > 0 ? it.title.trim() : chatRef.title;
12514
- const author = typeof _optionalChain([it, 'optionalAccess', _352 => _352.author, 'optionalAccess', _353 => _353.full_name]) === "string" ? it.author.full_name.trim() : "";
12515
- const summary = typeof _optionalChain([it, 'optionalAccess', _354 => _354.summary]) === "string" ? it.summary.trim() : "";
12478
+ const title = typeof _optionalChain([it, 'optionalAccess', _348 => _348.title]) === "string" && it.title.trim().length > 0 ? it.title.trim() : chatRef.title;
12479
+ const author = typeof _optionalChain([it, 'optionalAccess', _349 => _349.author, 'optionalAccess', _350 => _350.full_name]) === "string" ? it.author.full_name.trim() : "";
12480
+ const summary = typeof _optionalChain([it, 'optionalAccess', _351 => _351.summary]) === "string" ? it.summary.trim() : "";
12516
12481
  const preview = [author, summary].filter((x) => x.length > 0).join(" \xB7 ");
12517
12482
  return { ...chatRef, title, preview: preview.length > 0 ? preview : chatRef.preview };
12518
12483
  }
@@ -12554,7 +12519,7 @@ function programRegistryEntries() {
12554
12519
  label: cfg.label,
12555
12520
  contentRefType: cfg.contentRefType,
12556
12521
  bareInline: true,
12557
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.ProgramCard, { loading: true, size: "sm" }),
12522
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHY2XVGYcjs.ProgramCard, { loading: true, size: "sm" }),
12558
12523
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12559
12524
  ProgramChatCard,
12560
12525
  {
@@ -12564,7 +12529,7 @@ function programRegistryEntries() {
12564
12529
  discuss: opts.discuss,
12565
12530
  configKey: cfg.configKey,
12566
12531
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
12567
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _355 => _355.extras, 'optionalAccess', _356 => _356.buildOgPlaceholderUrl, 'optionalCall', _357 => _357(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _358 => _358.title]), () => ( "")))]), () => ( null))
12532
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _352 => _352.extras, 'optionalAccess', _353 => _353.buildOgPlaceholderUrl, 'optionalCall', _354 => _354(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _355 => _355.title]), () => ( "")))]), () => ( null))
12568
12533
  }
12569
12534
  )
12570
12535
  }));
@@ -12585,7 +12550,7 @@ var ROADMAP_CARD_CONFIGS = {
12585
12550
  // The card's destination IS the ClickUp deep link, derived from the
12586
12551
  // task id post-fetch (the refs frame used to carry it).
12587
12552
  noComposedHref: true,
12588
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _359 => _359.id]) != null ? clickupTaskUrl(String(item.id)) : null
12553
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _356 => _356.id]) != null ? clickupTaskUrl(String(item.id)) : null
12589
12554
  }
12590
12555
  };
12591
12556
  function roadmapRegistryEntries() {
@@ -12595,7 +12560,7 @@ function roadmapRegistryEntries() {
12595
12560
  bareInline: true,
12596
12561
  ...cfg.noComposedHref ? { noComposedHref: true } : {},
12597
12562
  ...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
12598
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.RoadmapCard, { loading: true, size: "sm" }),
12563
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHY2XVGYcjs.RoadmapCard, { loading: true, size: "sm" }),
12599
12564
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12600
12565
  RoadmapChatCard,
12601
12566
  {
@@ -12627,8 +12592,8 @@ var CHAT_CARD_REGISTRY = {
12627
12592
  DeletedDataCard,
12628
12593
  {
12629
12594
  title: chatRef.title && chatRef.title !== chatRef.id ? chatRef.title : null,
12630
- entityLabel: _nullishCoalesce(_optionalChain([chatRef, 'access', _360 => _360.metadata, 'optionalAccess', _361 => _361.entity_label]), () => ( null)),
12631
- recoveryNote: _nullishCoalesce(_optionalChain([chatRef, 'access', _362 => _362.metadata, 'optionalAccess', _363 => _363.recovery_note]), () => ( null))
12595
+ entityLabel: _nullishCoalesce(_optionalChain([chatRef, 'access', _357 => _357.metadata, 'optionalAccess', _358 => _358.entity_label]), () => ( null)),
12596
+ recoveryNote: _nullishCoalesce(_optionalChain([chatRef, 'access', _359 => _359.metadata, 'optionalAccess', _360 => _360.recovery_note]), () => ( null))
12632
12597
  }
12633
12598
  )
12634
12599
  },
@@ -12645,7 +12610,7 @@ var CHAT_CARD_REGISTRY = {
12645
12610
  bareInline: true,
12646
12611
  contentRefType: "faq",
12647
12612
  noComposedHref: true,
12648
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _364 => _364.id]) != null ? `/faqs#${faqItemAnchor(item.id)}` : null,
12613
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _361 => _361.id]) != null ? `/faqs#${faqItemAnchor(item.id)}` : null,
12649
12614
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
12650
12615
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FaqChatCard, { chatRef: fetchedFaqDisplayRef(item, chatRef), isNewTab: opts.isNewTab, discuss: opts.discuss })
12651
12616
  },
@@ -12653,12 +12618,12 @@ var CHAT_CARD_REGISTRY = {
12653
12618
  // projection route; `extractCardItems` turns its object payload into the
12654
12619
  // single matched row. Destination is the public page unless the host
12655
12620
  // re-homes the type (`composeContentUrl` override).
12656
- [_chunkFAUVDMH4cjs.TRUST_CENTER_DOCUMENT_TYPE]: {
12621
+ [_chunkTHY2XVGYcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
12657
12622
  label: "Trust center",
12658
12623
  bareInline: true,
12659
- contentRefType: _chunkFAUVDMH4cjs.TRUST_CENTER_DOCUMENT_TYPE,
12624
+ contentRefType: _chunkTHY2XVGYcjs.TRUST_CENTER_DOCUMENT_TYPE,
12660
12625
  noComposedHref: true,
12661
- fallbackHref: () => _chunkFAUVDMH4cjs.TRUST_CENTER_PAGE_PATH,
12626
+ fallbackHref: () => _chunkTHY2XVGYcjs.TRUST_CENTER_PAGE_PATH,
12662
12627
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
12663
12628
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
12664
12629
  },
@@ -12684,7 +12649,7 @@ var CHAT_CARD_REGISTRY = {
12684
12649
  label: "Blog post",
12685
12650
  contentRefType: "blog_post_existing",
12686
12651
  bareInline: true,
12687
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.BlogCard, { loading: true, size: "sm" }),
12652
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHY2XVGYcjs.BlogCard, { loading: true, size: "sm" }),
12688
12653
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12689
12654
  BlogChatCard,
12690
12655
  {
@@ -12692,8 +12657,8 @@ var CHAT_CARD_REGISTRY = {
12692
12657
  chatRef,
12693
12658
  isNewTab: opts.isNewTab,
12694
12659
  discuss: opts.discuss,
12695
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _365 => _365.extras, 'optionalAccess', _366 => _366.buildOgPlaceholderUrl, 'optionalCall', _367 => _367(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _368 => _368.title]), () => ( "")))]), () => ( null)),
12696
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _369 => _369.metadata, 'optionalAccess', _370 => _370.hasEmbeddedVideo]) === true
12660
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _362 => _362.extras, 'optionalAccess', _363 => _363.buildOgPlaceholderUrl, 'optionalCall', _364 => _364(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _365 => _365.title]), () => ( "")))]), () => ( null)),
12661
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _366 => _366.metadata, 'optionalAccess', _367 => _367.hasEmbeddedVideo]) === true
12697
12662
  }
12698
12663
  )
12699
12664
  },
@@ -12701,7 +12666,7 @@ var CHAT_CARD_REGISTRY = {
12701
12666
  label: "Case study",
12702
12667
  contentRefType: "case_study",
12703
12668
  bareInline: true,
12704
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.CaseStudyCard, { loading: true, size: "sm" }),
12669
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.CaseStudyCard, { loading: true, size: "sm" }),
12705
12670
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12706
12671
  CaseStudyChatCard,
12707
12672
  {
@@ -12709,7 +12674,7 @@ var CHAT_CARD_REGISTRY = {
12709
12674
  chatRef,
12710
12675
  isNewTab: opts.isNewTab,
12711
12676
  discuss: opts.discuss,
12712
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _371 => _371.extras, 'optionalAccess', _372 => _372.buildOgPlaceholderUrl, 'optionalCall', _373 => _373(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _374 => _374.title]), () => ( "")))]), () => ( null))
12677
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _368 => _368.extras, 'optionalAccess', _369 => _369.buildOgPlaceholderUrl, 'optionalCall', _370 => _370(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _371 => _371.title]), () => ( "")))]), () => ( null))
12713
12678
  }
12714
12679
  )
12715
12680
  },
@@ -12718,7 +12683,7 @@ var CHAT_CARD_REGISTRY = {
12718
12683
  contentRefType: "design_doc",
12719
12684
  bareInline: true,
12720
12685
  noComposedHref: true,
12721
- fallbackHref: (item) => _nullishCoalesce(_optionalChain([item, 'optionalAccess', _375 => _375.url]), () => ( null)),
12686
+ fallbackHref: (item) => _nullishCoalesce(_optionalChain([item, 'optionalAccess', _372 => _372.url]), () => ( null)),
12722
12687
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
12723
12688
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
12724
12689
  },
@@ -12726,7 +12691,7 @@ var CHAT_CARD_REGISTRY = {
12726
12691
  label: "Customer interview",
12727
12692
  contentRefType: "customer_interview",
12728
12693
  bareInline: true,
12729
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.CustomerInterviewCard, { loading: true, size: "sm" }),
12694
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHY2XVGYcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
12730
12695
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12731
12696
  CustomerInterviewChatCard,
12732
12697
  {
@@ -12734,7 +12699,7 @@ var CHAT_CARD_REGISTRY = {
12734
12699
  chatRef,
12735
12700
  isNewTab: opts.isNewTab,
12736
12701
  discuss: opts.discuss,
12737
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _376 => _376.extras, 'optionalAccess', _377 => _377.buildOgPlaceholderUrl, 'optionalCall', _378 => _378(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _379 => _379.title]), () => ( "")))]), () => ( null))
12702
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _373 => _373.extras, 'optionalAccess', _374 => _374.buildOgPlaceholderUrl, 'optionalCall', _375 => _375(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _376 => _376.title]), () => ( "")))]), () => ( null))
12738
12703
  }
12739
12704
  )
12740
12705
  },
@@ -12742,9 +12707,9 @@ var CHAT_CARD_REGISTRY = {
12742
12707
  label: "Product release",
12743
12708
  contentRefType: "product_release",
12744
12709
  bareInline: true,
12745
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.ProductReleaseCard, { loading: true, size: "sm" }),
12710
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHY2XVGYcjs.ProductReleaseCard, { loading: true, size: "sm" }),
12746
12711
  render: (item, chatRef, opts) => {
12747
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => ( _chunkFAUVDMH4cjs.defaultBuildProductReleaseCardProps));
12712
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _377 => _377.extras, 'optionalAccess', _378 => _378.buildProductReleaseCardProps]), () => ( _chunkTHY2XVGYcjs.defaultBuildProductReleaseCardProps));
12748
12713
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12749
12714
  ProductReleaseChatCard,
12750
12715
  {
@@ -12762,7 +12727,7 @@ var CHAT_CARD_REGISTRY = {
12762
12727
  label: "Investor update",
12763
12728
  contentRefType: "investor_update",
12764
12729
  bareInline: true,
12765
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.InvestorUpdateCard, { loading: true, size: "sm" }),
12730
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHY2XVGYcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
12766
12731
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12767
12732
  InvestorUpdateChatCard,
12768
12733
  {
@@ -12770,7 +12735,7 @@ var CHAT_CARD_REGISTRY = {
12770
12735
  chatRef,
12771
12736
  isNewTab: opts.isNewTab,
12772
12737
  discuss: opts.discuss,
12773
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _382 => _382.extras, 'optionalAccess', _383 => _383.buildOgPlaceholderUrl, 'optionalCall', _384 => _384(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _385 => _385.title]), () => ( "")))]), () => ( null))
12738
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildOgPlaceholderUrl, 'optionalCall', _381 => _381(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _382 => _382.title]), () => ( "")))]), () => ( null))
12774
12739
  }
12775
12740
  )
12776
12741
  },
@@ -12780,7 +12745,7 @@ var CHAT_CARD_REGISTRY = {
12780
12745
  bareInline: true,
12781
12746
  // "Display" affordance (verbatim guide body) instead of "Ask".
12782
12747
  displayAction: true,
12783
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFAUVDMH4cjs.OnboardingGuideCard, { loading: true, size: "sm" }),
12748
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHY2XVGYcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
12784
12749
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12785
12750
  OnboardingGuideChatCard,
12786
12751
  {
@@ -12788,7 +12753,7 @@ var CHAT_CARD_REGISTRY = {
12788
12753
  chatRef,
12789
12754
  isNewTab: opts.isNewTab,
12790
12755
  discuss: opts.discuss,
12791
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _386 => _386.extras, 'optionalAccess', _387 => _387.buildOgPlaceholderUrl, 'optionalCall', _388 => _388(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _389 => _389.title]), () => ( "")))]), () => ( null))
12756
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _383 => _383.extras, 'optionalAccess', _384 => _384.buildOgPlaceholderUrl, 'optionalCall', _385 => _385(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _386 => _386.title]), () => ( "")))]), () => ( null))
12792
12757
  }
12793
12758
  )
12794
12759
  },
@@ -12799,13 +12764,13 @@ var CHAT_CARD_REGISTRY = {
12799
12764
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
12800
12765
  // No public viewer — synthesize the hub-internal admin URL post-fetch
12801
12766
  // so the wrapper + isNewTab computation see the actual destination.
12802
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _390 => _390.id]) ? `/admin/campaigns/${encodeURIComponent(String(item.id))}` : null,
12767
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _387 => _387.id]) ? `/admin/campaigns/${encodeURIComponent(String(item.id))}` : null,
12803
12768
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
12804
12769
  },
12805
12770
  ...roadmapRegistryEntries()
12806
12771
  };
12807
12772
  function chatCardLabel(docType) {
12808
- return _optionalChain([CHAT_CARD_REGISTRY, 'access', _391 => _391[docType], 'optionalAccess', _392 => _392.label]);
12773
+ return _optionalChain([CHAT_CARD_REGISTRY, 'access', _388 => _388[docType], 'optionalAccess', _389 => _389.label]);
12809
12774
  }
12810
12775
  function ChatCardNavWrap({
12811
12776
  href,
@@ -12821,13 +12786,13 @@ function ChatCardNavWrap({
12821
12786
  if (!href) return;
12822
12787
  const targetEl = e.target;
12823
12788
  const host = e.currentTarget;
12824
- if (!_optionalChain([host, 'optionalAccess', _393 => _393.contains, 'call', _394 => _394(targetEl)])) return;
12825
- if (_optionalChain([targetEl, 'optionalAccess', _395 => _395.closest, 'optionalCall', _396 => _396("button")])) return;
12826
- if (!_optionalChain([targetEl, 'optionalAccess', _397 => _397.closest, 'optionalCall', _398 => _398("a")])) return;
12789
+ if (!_optionalChain([host, 'optionalAccess', _390 => _390.contains, 'call', _391 => _391(targetEl)])) return;
12790
+ if (_optionalChain([targetEl, 'optionalAccess', _392 => _392.closest, 'optionalCall', _393 => _393("button")])) return;
12791
+ if (!_optionalChain([targetEl, 'optionalAccess', _394 => _394.closest, 'optionalCall', _395 => _395("a")])) return;
12827
12792
  const handled = executeNavigation({ event: e, runtime, href, path, targetPlatform, fallbackNavigate: router.push });
12828
12793
  if (!handled) return;
12829
12794
  e.stopPropagation();
12830
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _399 => _399.closeChat])) panel.closeChat();
12795
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _396 => _396.closeChat])) panel.closeChat();
12831
12796
  };
12832
12797
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
12833
12798
  }
@@ -12843,7 +12808,7 @@ function ChatCardLoader({
12843
12808
  const entry = CHAT_CARD_REGISTRY[chatRef.type];
12844
12809
  const fetchEntry = entry && entry.contentRefType ? entry : null;
12845
12810
  const { item, isLoading, isError, isFetched } = useChatCardItem(
12846
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _400 => _400.contentRefType]), () => ( "")),
12811
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _397 => _397.contentRefType]), () => ( "")),
12847
12812
  fetchEntry ? chatRef.id : ""
12848
12813
  );
12849
12814
  if (!entry) return null;
@@ -12853,7 +12818,7 @@ function ChatCardLoader({
12853
12818
  entry: fetchEntry,
12854
12819
  ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
12855
12820
  composeContentUrl: runtime.composeContentUrl,
12856
- resolveHref: (href) => _chunkFAUVDMH4cjs.resolveHrefForRuntime.call(void 0, href, runtime)
12821
+ resolveHref: (href) => _chunkTHY2XVGYcjs.resolveHrefForRuntime.call(void 0, href, runtime)
12857
12822
  });
12858
12823
  const hrefResolvedChatRef = {
12859
12824
  ...chatRef,
@@ -12864,12 +12829,12 @@ function ChatCardLoader({
12864
12829
  };
12865
12830
  const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
12866
12831
  const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
12867
- const isNewTab = _chunkYBTORXFYcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
12832
+ const isNewTab = _chunkPRCGRDHVcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
12868
12833
  const useDisplay = !!entry.displayAction && !!onDisplay;
12869
12834
  const discussFn = useDisplay ? onDisplay : onDiscuss;
12870
12835
  const discuss = discussFn ? {
12871
12836
  label: useDisplay ? "Display" : "Ask Mingo",
12872
- icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2X3N6MSRcjs.AgentMark, { agent: "mingo", className: "size-5" }),
12837
+ icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJLKGLPDCcjs.AgentMark, { agent: "mingo", className: "size-5" }),
12873
12838
  run: () => discussFn(finalChatRef)
12874
12839
  } : void 0;
12875
12840
  const renderOpts = {
@@ -12879,7 +12844,7 @@ function ChatCardLoader({
12879
12844
  isNewTab,
12880
12845
  discuss
12881
12846
  };
12882
- const path = typeof _optionalChain([finalChatRef, 'access', _401 => _401.metadata, 'optionalAccess', _402 => _402.path]) === "string" ? finalChatRef.metadata.path : null;
12847
+ const path = typeof _optionalChain([finalChatRef, 'access', _398 => _398.metadata, 'optionalAccess', _399 => _399.path]) === "string" ? finalChatRef.metadata.path : null;
12883
12848
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12884
12849
  ChatCardNavWrap,
12885
12850
  {
@@ -12903,7 +12868,7 @@ function ChatCardLoader({
12903
12868
  if (!fetchEntry) {
12904
12869
  return finish(entry.render(void 0, finalChatRef, renderOpts));
12905
12870
  }
12906
- if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([fetchEntry, 'access', _403 => _403.skeleton, 'optionalCall', _404 => _404()]), () => ( null)) });
12871
+ if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _nullishCoalesce(_optionalChain([fetchEntry, 'access', _400 => _400.skeleton, 'optionalCall', _401 => _401()]), () => ( null)) });
12907
12872
  if (!item) {
12908
12873
  if (isError) {
12909
12874
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardLoadFailure, { label: entry.label, id: finalChatRef.id, detail: "Failed to load" });
@@ -12978,12 +12943,12 @@ function makeBatchDedupKey(item) {
12978
12943
  return `${item.messageType}:${seq}:${type}:${text2}:${integratedToolType}:${toolFunction}:${approvalRequestId}`;
12979
12944
  }
12980
12945
  function getChatTypeMessageType(chatType) {
12981
- return chatType === _chunk3NGJ7NPTcjs.CHAT_TYPE.ADMIN ? "admin-message" : "message";
12946
+ return chatType === _chunkKVJKKVB3cjs.CHAT_TYPE.ADMIN ? "admin-message" : "message";
12982
12947
  }
12983
12948
  function useChunkCatchup({
12984
12949
  dialogId,
12985
12950
  onChunkReceived,
12986
- chatTypes = [_chunk3NGJ7NPTcjs.CHAT_TYPE.CLIENT],
12951
+ chatTypes = [_chunkKVJKKVB3cjs.CHAT_TYPE.CLIENT],
12987
12952
  fetchChunks
12988
12953
  }) {
12989
12954
  const processedSequenceKeys = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
@@ -13197,7 +13162,7 @@ function useChunkCatchup({
13197
13162
  if (catchupRun.current === run) {
13198
13163
  if (currentDialogId !== dialogIdRef.current) {
13199
13164
  catchupRun.current = null;
13200
- if (_optionalChain([pendingCatchupRef, 'access', _405 => _405.current, 'optionalAccess', _406 => _406.dialogId]) === currentDialogId) {
13165
+ if (_optionalChain([pendingCatchupRef, 'access', _402 => _402.current, 'optionalAccess', _403 => _403.dialogId]) === currentDialogId) {
13201
13166
  pendingCatchupRef.current = null;
13202
13167
  }
13203
13168
  } else {
@@ -13208,7 +13173,7 @@ function useChunkCatchup({
13208
13173
  if (pending.dialogId === currentDialogId) {
13209
13174
  rearmForQueuedCatchup();
13210
13175
  try {
13211
- await _optionalChain([catchUpChunksRef, 'access', _407 => _407.current, 'optionalCall', _408 => _408(pending.fromSequenceId)]);
13176
+ await _optionalChain([catchUpChunksRef, 'access', _404 => _404.current, 'optionalCall', _405 => _405(pending.fromSequenceId)]);
13212
13177
  } catch (rerunError) {
13213
13178
  console.error("Queued catch-up re-run failed:", rerunError);
13214
13179
  }
@@ -13359,20 +13324,20 @@ function useNatsDialogSubscription({
13359
13324
  const tearDownSubscriptions = () => {
13360
13325
  subscriptionRefs.current.forEach((sub) => {
13361
13326
  try {
13362
- _optionalChain([sub, 'optionalAccess', _409 => _409.unsubscribe, 'call', _410 => _410()]);
13327
+ _optionalChain([sub, 'optionalAccess', _406 => _406.unsubscribe, 'call', _407 => _407()]);
13363
13328
  } catch (e10) {
13364
13329
  }
13365
13330
  });
13366
13331
  subscriptionRefs.current.clear();
13367
13332
  lastSubscribedDialogIdRef.current = null;
13368
- _optionalChain([abortControllerRef, 'access', _411 => _411.current, 'optionalAccess', _412 => _412.abort, 'call', _413 => _413()]);
13333
+ _optionalChain([abortControllerRef, 'access', _408 => _408.current, 'optionalAccess', _409 => _409.abort, 'call', _410 => _410()]);
13369
13334
  abortControllerRef.current = null;
13370
13335
  };
13371
13336
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
13372
13337
  const lifecycle = _chunkKHKPLOU4cjs.startConnectionLifecycle.call(void 0, {
13373
13338
  conn: sharedConn,
13374
13339
  wsUrl,
13375
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _414 => _414.current, 'optionalCall', _415 => _415()]),
13340
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _411 => _411.current, 'optionalCall', _412 => _412()]),
13376
13341
  backoff: reconnectionBackoffRef.current,
13377
13342
  getFreshUrl: () => getNatsWsUrlRef.current(),
13378
13343
  shouldRetryOn: isDisconnectStatus,
@@ -13383,7 +13348,7 @@ function useNatsDialogSubscription({
13383
13348
  setReconnectionCount((c) => c + 1);
13384
13349
  }
13385
13350
  hadConnectionBeforeRef.current = true;
13386
- _optionalChain([onConnectRef, 'access', _416 => _416.current, 'optionalCall', _417 => _417()]);
13351
+ _optionalChain([onConnectRef, 'access', _413 => _413.current, 'optionalCall', _414 => _414()]);
13387
13352
  }
13388
13353
  if (status === "error") {
13389
13354
  console.warn("[NATS] protocol error:", evt.data);
@@ -13393,7 +13358,7 @@ function useNatsDialogSubscription({
13393
13358
  setIsConnected(false);
13394
13359
  setIsSubscribed(false);
13395
13360
  tearDownSubscriptions();
13396
- _optionalChain([onDisconnectRef, 'access', _418 => _418.current, 'optionalCall', _419 => _419()]);
13361
+ _optionalChain([onDisconnectRef, 'access', _415 => _415.current, 'optionalCall', _416 => _416()]);
13397
13362
  }
13398
13363
  }
13399
13364
  });
@@ -13424,13 +13389,13 @@ function useNatsDialogSubscription({
13424
13389
  setIsSubscribed(false);
13425
13390
  subscriptionRefs.current.forEach((sub) => {
13426
13391
  try {
13427
- _optionalChain([sub, 'optionalAccess', _420 => _420.unsubscribe, 'call', _421 => _421()]);
13392
+ _optionalChain([sub, 'optionalAccess', _417 => _417.unsubscribe, 'call', _418 => _418()]);
13428
13393
  } catch (e11) {
13429
13394
  }
13430
13395
  });
13431
13396
  subscriptionRefs.current.clear();
13432
13397
  lastSubscribedDialogIdRef.current = null;
13433
- _optionalChain([abortControllerRef, 'access', _422 => _422.current, 'optionalAccess', _423 => _423.abort, 'call', _424 => _424()]);
13398
+ _optionalChain([abortControllerRef, 'access', _419 => _419.current, 'optionalAccess', _420 => _420.abort, 'call', _421 => _421()]);
13434
13399
  abortControllerRef.current = null;
13435
13400
  }
13436
13401
  return void 0;
@@ -13442,12 +13407,12 @@ function useNatsDialogSubscription({
13442
13407
  if (subscriptionRefs.current.size > 0) {
13443
13408
  subscriptionRefs.current.forEach((sub) => {
13444
13409
  try {
13445
- _optionalChain([sub, 'optionalAccess', _425 => _425.unsubscribe, 'call', _426 => _426()]);
13410
+ _optionalChain([sub, 'optionalAccess', _422 => _422.unsubscribe, 'call', _423 => _423()]);
13446
13411
  } catch (e12) {
13447
13412
  }
13448
13413
  });
13449
13414
  subscriptionRefs.current.clear();
13450
- _optionalChain([abortControllerRef, 'access', _427 => _427.current, 'optionalAccess', _428 => _428.abort, 'call', _429 => _429()]);
13415
+ _optionalChain([abortControllerRef, 'access', _424 => _424.current, 'optionalAccess', _425 => _425.abort, 'call', _426 => _426()]);
13451
13416
  }
13452
13417
  abortControllerRef.current = new AbortController();
13453
13418
  const abort = abortControllerRef.current;
@@ -13477,7 +13442,7 @@ function useNatsDialogSubscription({
13477
13442
  });
13478
13443
  lastSubscribedDialogIdRef.current = dialogId;
13479
13444
  setIsSubscribed(true);
13480
- _optionalChain([onSubscribedRef, 'access', _430 => _430.current, 'optionalCall', _431 => _431()]);
13445
+ _optionalChain([onSubscribedRef, 'access', _427 => _427.current, 'optionalCall', _428 => _428()]);
13481
13446
  };
13482
13447
  if (isConnectedRef.current) {
13483
13448
  createSubscriptions();
@@ -13488,7 +13453,7 @@ function useNatsDialogSubscription({
13488
13453
  abort.abort();
13489
13454
  subscriptions.forEach((sub) => {
13490
13455
  try {
13491
- _optionalChain([sub, 'optionalAccess', _432 => _432.unsubscribe, 'call', _433 => _433()]);
13456
+ _optionalChain([sub, 'optionalAccess', _429 => _429.unsubscribe, 'call', _430 => _430()]);
13492
13457
  } catch (e14) {
13493
13458
  }
13494
13459
  });
@@ -13527,7 +13492,7 @@ function useNatsDialogSubscription({
13527
13492
  });
13528
13493
  lastSubscribedDialogIdRef.current = currentDialogId;
13529
13494
  setIsSubscribed(true);
13530
- _optionalChain([onSubscribedRef, 'access', _434 => _434.current, 'optionalCall', _435 => _435()]);
13495
+ _optionalChain([onSubscribedRef, 'access', _431 => _431.current, 'optionalCall', _432 => _432()]);
13531
13496
  } else if (subscriptionRefs.current.size > 0) {
13532
13497
  setIsSubscribed(true);
13533
13498
  }
@@ -13535,10 +13500,10 @@ function useNatsDialogSubscription({
13535
13500
  return { isConnected, isSubscribed, reconnectionCount };
13536
13501
  }
13537
13502
  function buildNatsWsUrl(apiBaseUrl, options) {
13538
- const path = _optionalChain([options, 'optionalAccess', _436 => _436.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
13503
+ const path = _optionalChain([options, 'optionalAccess', _433 => _433.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
13539
13504
  const u = new URL(path, apiBaseUrl);
13540
13505
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
13541
- if (_optionalChain([options, 'optionalAccess', _437 => _437.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _438 => _438.token])) {
13506
+ if (_optionalChain([options, 'optionalAccess', _434 => _434.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _435 => _435.token])) {
13542
13507
  u.searchParams.set("authorization", options.token);
13543
13508
  }
13544
13509
  return u.toString();
@@ -13556,7 +13521,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
13556
13521
  const data = await res.json();
13557
13522
  return _nullishCoalesce(data.commands, () => ( []));
13558
13523
  } catch (err) {
13559
- if (_optionalChain([err, 'optionalAccess', _439 => _439.name]) === "AbortError") throw err;
13524
+ if (_optionalChain([err, 'optionalAccess', _436 => _436.name]) === "AbortError") throw err;
13560
13525
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
13561
13526
  return [];
13562
13527
  }
@@ -13564,8 +13529,8 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
13564
13529
  var NO_COMMANDS = [];
13565
13530
  function useSlashCommands(prefix, commandsUrl) {
13566
13531
  const [answered, setAnswered] = _react.useState.call(void 0, null);
13567
- const commands = prefix != null && _optionalChain([answered, 'optionalAccess', _440 => _440.prefix]) === prefix ? answered.commands : NO_COMMANDS;
13568
- const loading = prefix != null && _optionalChain([answered, 'optionalAccess', _441 => _441.prefix]) !== prefix;
13532
+ const commands = prefix != null && _optionalChain([answered, 'optionalAccess', _437 => _437.prefix]) === prefix ? answered.commands : NO_COMMANDS;
13533
+ const loading = prefix != null && _optionalChain([answered, 'optionalAccess', _438 => _438.prefix]) !== prefix;
13569
13534
  _react.useEffect.call(void 0, () => {
13570
13535
  if (prefix == null) return void 0;
13571
13536
  let cancelled = false;
@@ -13575,7 +13540,7 @@ function useSlashCommands(prefix, commandsUrl) {
13575
13540
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
13576
13541
  if (!cancelled) setAnswered({ prefix, commands: next });
13577
13542
  } catch (err) {
13578
- if (!cancelled && _optionalChain([err, 'optionalAccess', _442 => _442.name]) !== "AbortError") {
13543
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _439 => _439.name]) !== "AbortError") {
13579
13544
  console.warn("[use-slash-commands] fetch failed:", err);
13580
13545
  setAnswered({ prefix, commands: NO_COMMANDS });
13581
13546
  }
@@ -13598,7 +13563,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
13598
13563
  const query = _reactquery.useQuery.call(void 0, {
13599
13564
  queryKey: ["chat-slash-commands", commandsUrl],
13600
13565
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
13601
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _443 => _443.enabled]), () => ( true)),
13566
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _440 => _440.enabled]), () => ( true)),
13602
13567
  staleTime: Infinity,
13603
13568
  gcTime: Infinity,
13604
13569
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -13637,21 +13602,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
13637
13602
  }
13638
13603
  const data = await res.json();
13639
13604
  return {
13640
- name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _444 => _444.name]), () => ( null)),
13641
- icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _445 => _445.icon]), () => ( null)),
13642
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _446 => _446.greeting]), () => ( null)),
13643
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _447 => _447.enabledRagTableIds]), () => ( [])),
13644
- quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _448 => _448.quickActions]), () => ( [])),
13645
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _449 => _449.suggestedQueries]), () => ( []))
13605
+ name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _441 => _441.name]), () => ( null)),
13606
+ icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _442 => _442.icon]), () => ( null)),
13607
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _443 => _443.greeting]), () => ( null)),
13608
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _444 => _444.enabledRagTableIds]), () => ( [])),
13609
+ quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _445 => _445.quickActions]), () => ( [])),
13610
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _446 => _446.suggestedQueries]), () => ( []))
13646
13611
  };
13647
13612
  } catch (err) {
13648
- if (_optionalChain([err, 'optionalAccess', _450 => _450.name]) === "AbortError") throw err;
13613
+ if (_optionalChain([err, 'optionalAccess', _447 => _447.name]) === "AbortError") throw err;
13649
13614
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
13650
13615
  return EMPTY_STATE_FALLBACK;
13651
13616
  }
13652
13617
  }
13653
13618
  function useEmptyStateConfig(emptyStateUrl, options) {
13654
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _451 => _451.enabled]), () => ( true))) && !!emptyStateUrl;
13619
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _448 => _448.enabled]), () => ( true))) && !!emptyStateUrl;
13655
13620
  const query = _reactquery.useQuery.call(void 0, {
13656
13621
  queryKey: ["chat-empty-state", emptyStateUrl],
13657
13622
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -13680,7 +13645,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
13680
13645
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
13681
13646
  function uploadWithProgress(url, file, token, onProgress, signal) {
13682
13647
  return new Promise((resolve, reject) => {
13683
- if (_optionalChain([signal, 'optionalAccess', _452 => _452.aborted])) {
13648
+ if (_optionalChain([signal, 'optionalAccess', _449 => _449.aborted])) {
13684
13649
  reject(new Error("Upload cancelled"));
13685
13650
  return;
13686
13651
  }
@@ -13722,7 +13687,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
13722
13687
  const handleSignalAbort = () => {
13723
13688
  xhr.abort();
13724
13689
  };
13725
- _optionalChain([signal, 'optionalAccess', _453 => _453.addEventListener, 'call', _454 => _454("abort", handleSignalAbort, { once: true, signal: listeners.signal })]);
13690
+ _optionalChain([signal, 'optionalAccess', _450 => _450.addEventListener, 'call', _451 => _451("abort", handleSignalAbort, { once: true, signal: listeners.signal })]);
13726
13691
  xhr.upload.addEventListener("progress", handleProgress, { signal: listeners.signal });
13727
13692
  xhr.addEventListener("load", handleLoad, { signal: listeners.signal });
13728
13693
  xhr.addEventListener("error", handleError, { signal: listeners.signal });
@@ -13766,10 +13731,10 @@ function useChatAttachments() {
13766
13731
  try {
13767
13732
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
13768
13733
  } catch (err) {
13769
- if (_optionalChain([ctrl, 'optionalAccess', _455 => _455.signal, 'access', _456 => _456.aborted])) return;
13734
+ if (_optionalChain([ctrl, 'optionalAccess', _452 => _452.signal, 'access', _453 => _453.aborted])) return;
13770
13735
  throw new Error(`Could not read file content: ${err instanceof Error ? err.message : String(err)}`);
13771
13736
  }
13772
- if (_optionalChain([ctrl, 'optionalAccess', _457 => _457.signal, 'access', _458 => _458.aborted])) return;
13737
+ if (_optionalChain([ctrl, 'optionalAccess', _454 => _454.signal, 'access', _455 => _455.aborted])) return;
13773
13738
  if (!sniffed) {
13774
13739
  throw new Error("Unrecognized file format");
13775
13740
  }
@@ -13783,7 +13748,7 @@ function useChatAttachments() {
13783
13748
  const urlResp = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
13784
13749
  method: "POST",
13785
13750
  headers: { "Content-Type": "application/json" },
13786
- signal: _optionalChain([ctrl, 'optionalAccess', _459 => _459.signal]),
13751
+ signal: _optionalChain([ctrl, 'optionalAccess', _456 => _456.signal]),
13787
13752
  body: JSON.stringify({
13788
13753
  fileName: att.file.name,
13789
13754
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -13812,9 +13777,9 @@ function useChatAttachments() {
13812
13777
  (pct) => {
13813
13778
  updateOne(att.id, { progress: pct });
13814
13779
  },
13815
- _optionalChain([ctrl, 'optionalAccess', _460 => _460.signal])
13780
+ _optionalChain([ctrl, 'optionalAccess', _457 => _457.signal])
13816
13781
  );
13817
- if (_optionalChain([ctrl, 'optionalAccess', _461 => _461.signal, 'access', _462 => _462.aborted])) return;
13782
+ if (_optionalChain([ctrl, 'optionalAccess', _458 => _458.signal, 'access', _459 => _459.aborted])) return;
13818
13783
  updateOne(att.id, {
13819
13784
  status: "ready",
13820
13785
  progress: 100,
@@ -13822,7 +13787,7 @@ function useChatAttachments() {
13822
13787
  viewToken: mintData.viewToken
13823
13788
  });
13824
13789
  } catch (err) {
13825
- if (_optionalChain([ctrl, 'optionalAccess', _463 => _463.signal, 'access', _464 => _464.aborted])) return;
13790
+ if (_optionalChain([ctrl, 'optionalAccess', _460 => _460.signal, 'access', _461 => _461.aborted])) return;
13826
13791
  const message = err instanceof Error ? err.message : String(err);
13827
13792
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message });
13828
13793
  } finally {
@@ -13944,7 +13909,7 @@ function useChatAttachmentImageGallery() {
13944
13909
  return () => root.removeEventListener("click", onClick);
13945
13910
  }, [viewUrlPrefix]);
13946
13911
  const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13947
- _chunkFAUVDMH4cjs.ImageGalleryModal,
13912
+ _chunkTHY2XVGYcjs.ImageGalleryModal,
13948
13913
  {
13949
13914
  images: state.images,
13950
13915
  isOpen: state.isOpen,
@@ -13971,11 +13936,11 @@ var ANON_DEFAULTS = {
13971
13936
  function useResolveChatIdentity(enabled) {
13972
13937
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
13973
13938
  const url = runtime.endpoints.identityUrl;
13974
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunk5GJM7VRRcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _465 => _465.email]), () => ( null));
13939
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunk5GJM7VRRcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _462 => _462.email]), () => ( null));
13975
13940
  const requestKey = enabled ? `${url}\0${_nullishCoalesce(proxyEmail, () => ( ""))}` : null;
13976
13941
  const [resolved, setResolved] = _react.useState.call(void 0, null);
13977
- const data = _optionalChain([resolved, 'optionalAccess', _466 => _466.key]) === requestKey ? resolved.data : ANON_DEFAULTS;
13978
- const isLoading = requestKey !== null && _optionalChain([resolved, 'optionalAccess', _467 => _467.key]) !== requestKey;
13942
+ const data = _optionalChain([resolved, 'optionalAccess', _463 => _463.key]) === requestKey ? resolved.data : ANON_DEFAULTS;
13943
+ const isLoading = requestKey !== null && _optionalChain([resolved, 'optionalAccess', _464 => _464.key]) !== requestKey;
13979
13944
  _react.useEffect.call(void 0, () => {
13980
13945
  if (requestKey === null) return void 0;
13981
13946
  let cancelled = false;
@@ -14097,9 +14062,9 @@ function exchangeMessages({ id, at, content }, user, assistant, onPick) {
14097
14062
  role: "user",
14098
14063
  content: content.question,
14099
14064
  timestamp: new Date(at),
14100
- name: _optionalChain([user, 'optionalAccess', _468 => _468.name]),
14101
- avatar: _optionalChain([user, 'optionalAccess', _469 => _469.avatar]),
14102
- authorType: _optionalChain([user, 'optionalAccess', _470 => _470.authorType])
14065
+ name: _optionalChain([user, 'optionalAccess', _465 => _465.name]),
14066
+ avatar: _optionalChain([user, 'optionalAccess', _466 => _466.avatar]),
14067
+ authorType: _optionalChain([user, 'optionalAccess', _467 => _467.authorType])
14103
14068
  },
14104
14069
  {
14105
14070
  id: `${id}-answer`,
@@ -14110,10 +14075,10 @@ function exchangeMessages({ id, at, content }, user, assistant, onPick) {
14110
14075
  ],
14111
14076
  // A millisecond after the question, so the pair keeps its order.
14112
14077
  timestamp: new Date(at + 1),
14113
- name: _optionalChain([assistant, 'optionalAccess', _471 => _471.name]),
14114
- avatar: _optionalChain([assistant, 'optionalAccess', _472 => _472.avatar]),
14115
- authorType: _optionalChain([assistant, 'optionalAccess', _473 => _473.authorType]),
14116
- assistantType: _optionalChain([assistant, 'optionalAccess', _474 => _474.assistantType])
14078
+ name: _optionalChain([assistant, 'optionalAccess', _468 => _468.name]),
14079
+ avatar: _optionalChain([assistant, 'optionalAccess', _469 => _469.avatar]),
14080
+ authorType: _optionalChain([assistant, 'optionalAccess', _470 => _470.authorType]),
14081
+ assistantType: _optionalChain([assistant, 'optionalAccess', _471 => _471.assistantType])
14117
14082
  }
14118
14083
  ];
14119
14084
  }
@@ -14129,8 +14094,8 @@ function mergeByTime(thread, local) {
14129
14094
  const out = [];
14130
14095
  let next = 0;
14131
14096
  for (const message of thread) {
14132
- const at = _optionalChain([message, 'access', _475 => _475.timestamp, 'optionalAccess', _476 => _476.getTime, 'call', _477 => _477()]);
14133
- while (next < local.length && at !== void 0 && (_nullishCoalesce(_optionalChain([local, 'access', _478 => _478[next], 'access', _479 => _479.timestamp, 'optionalAccess', _480 => _480.getTime, 'call', _481 => _481()]), () => ( 0))) < at) {
14097
+ const at = _optionalChain([message, 'access', _472 => _472.timestamp, 'optionalAccess', _473 => _473.getTime, 'call', _474 => _474()]);
14098
+ while (next < local.length && at !== void 0 && (_nullishCoalesce(_optionalChain([local, 'access', _475 => _475[next], 'access', _476 => _476.timestamp, 'optionalAccess', _477 => _477.getTime, 'call', _478 => _478()]), () => ( 0))) < at) {
14134
14099
  out.push(local[next]);
14135
14100
  next += 1;
14136
14101
  }
@@ -14235,9 +14200,9 @@ function appendToTrailingAssistant(prev, segments) {
14235
14200
  for (const seg of segments) {
14236
14201
  const tail = merged[merged.length - 1];
14237
14202
  const key = upsertKey(seg);
14238
- if (seg.type === "text" && _optionalChain([tail, 'optionalAccess', _482 => _482.type]) === "text") {
14203
+ if (seg.type === "text" && _optionalChain([tail, 'optionalAccess', _479 => _479.type]) === "text") {
14239
14204
  merged[merged.length - 1] = { type: "text", text: tail.text + seg.text };
14240
- } else if (seg.type === "thinking" && _optionalChain([tail, 'optionalAccess', _483 => _483.type]) === "thinking") {
14205
+ } else if (seg.type === "thinking" && _optionalChain([tail, 'optionalAccess', _480 => _480.type]) === "thinking") {
14241
14206
  merged[merged.length - 1] = { type: "thinking", text: tail.text + seg.text };
14242
14207
  } else if (key) {
14243
14208
  let idx = merged.findIndex((m) => upsertKey(m) === key);
@@ -14278,7 +14243,7 @@ function applyApprovalStatusToSegment(s, requestId, status, resolvedByName) {
14278
14243
  }
14279
14244
  if (s.type !== "approval_batch") return s;
14280
14245
  const isAnchor = s.data.approvalRequestId === requestId;
14281
- const hasRow = _optionalChain([s, 'access', _484 => _484.data, 'access', _485 => _485.toolCalls, 'optionalAccess', _486 => _486.some, 'call', _487 => _487((c) => c.toolExecutionRequestId === requestId)]);
14246
+ const hasRow = _optionalChain([s, 'access', _481 => _481.data, 'access', _482 => _482.toolCalls, 'optionalAccess', _483 => _483.some, 'call', _484 => _484((c) => c.toolExecutionRequestId === requestId)]);
14282
14247
  if (!isAnchor && !hasRow) return s;
14283
14248
  const nextResolvedBy = _nullishCoalesce(resolvedByName, () => ( s.resolvedByName));
14284
14249
  const nextExecutions = hasRow ? {
@@ -14300,8 +14265,8 @@ function applyApprovalStatusToSegment(s, requestId, status, resolvedByName) {
14300
14265
  };
14301
14266
  }
14302
14267
  function nextBatchExecution(prevExec, toolData) {
14303
- if (toolData.type === "EXECUTING_TOOL" && _optionalChain([prevExec, 'optionalAccess', _488 => _488.status]) === "done") return null;
14304
- return toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prevExec, 'optionalAccess', _489 => _489.result]), success: _optionalChain([prevExec, 'optionalAccess', _490 => _490.success]) };
14268
+ if (toolData.type === "EXECUTING_TOOL" && _optionalChain([prevExec, 'optionalAccess', _485 => _485.status]) === "done") return null;
14269
+ return toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prevExec, 'optionalAccess', _486 => _486.result]), success: _optionalChain([prevExec, 'optionalAccess', _487 => _487.success]) };
14305
14270
  }
14306
14271
  function withBatchExecution(seg, execId, state) {
14307
14272
  return {
@@ -14318,11 +14283,11 @@ function projectBatchStatusToMessages(prev, anchorId, status) {
14318
14283
  }
14319
14284
  function projectBatchRowFailureToMessages(prev, rowRequestId) {
14320
14285
  return mapSegments(prev, (s) => {
14321
- if (s.type !== "approval_batch" || !_optionalChain([s, 'access', _491 => _491.data, 'access', _492 => _492.toolCalls, 'optionalAccess', _493 => _493.some, 'call', _494 => _494((c) => c.toolExecutionRequestId === rowRequestId)])) {
14286
+ if (s.type !== "approval_batch" || !_optionalChain([s, 'access', _488 => _488.data, 'access', _489 => _489.toolCalls, 'optionalAccess', _490 => _490.some, 'call', _491 => _491((c) => c.toolExecutionRequestId === rowRequestId)])) {
14322
14287
  return s;
14323
14288
  }
14324
- const existing = _optionalChain([s, 'access', _495 => _495.data, 'access', _496 => _496.executions, 'optionalAccess', _497 => _497[rowRequestId]]);
14325
- if (_optionalChain([existing, 'optionalAccess', _498 => _498.status]) === "done") return s;
14289
+ const existing = _optionalChain([s, 'access', _492 => _492.data, 'access', _493 => _493.executions, 'optionalAccess', _494 => _494[rowRequestId]]);
14290
+ if (_optionalChain([existing, 'optionalAccess', _495 => _495.status]) === "done") return s;
14326
14291
  return withBatchExecution(s, rowRequestId, { status: "done", success: false });
14327
14292
  });
14328
14293
  }
@@ -14358,7 +14323,7 @@ function mergeToolExecutionIfPresent(prev, segment) {
14358
14323
  for (let j = message.segments.length - 1; j >= 0; j--) {
14359
14324
  const seg = message.segments[j];
14360
14325
  if (execId && seg.type === "approval_batch" && seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId)) {
14361
- const prevExec = _optionalChain([seg, 'access', _499 => _499.data, 'access', _500 => _500.executions, 'optionalAccess', _501 => _501[execId]]);
14326
+ const prevExec = _optionalChain([seg, 'access', _496 => _496.data, 'access', _497 => _497.executions, 'optionalAccess', _498 => _498[execId]]);
14362
14327
  const nextExec = nextBatchExecution(prevExec, toolData);
14363
14328
  if (nextExec === null) return prev;
14364
14329
  if (sameExecutionState(prevExec, nextExec)) return prev;
@@ -14531,9 +14496,9 @@ var MessageSegmentAccumulator = class {
14531
14496
  type: "tool_execution",
14532
14497
  data: {
14533
14498
  ...toolData,
14534
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _502 => _502.data, 'access', _503 => _503.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _504 => _504.toolTitle]))),
14535
- toolExplanation: _nullishCoalesce(_nullishCoalesce(toolData.toolExplanation, () => ( _optionalChain([existingExecuting, 'optionalAccess', _505 => _505.data, 'access', _506 => _506.toolExplanation]))), () => ( _optionalChain([executingTool, 'optionalAccess', _507 => _507.toolExplanation]))),
14536
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _508 => _508.parameters])
14499
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _499 => _499.data, 'access', _500 => _500.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _501 => _501.toolTitle]))),
14500
+ toolExplanation: _nullishCoalesce(_nullishCoalesce(toolData.toolExplanation, () => ( _optionalChain([existingExecuting, 'optionalAccess', _502 => _502.data, 'access', _503 => _503.toolExplanation]))), () => ( _optionalChain([executingTool, 'optionalAccess', _504 => _504.toolExplanation]))),
14501
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _505 => _505.parameters])
14537
14502
  }
14538
14503
  };
14539
14504
  if (existingIndex !== -1) {
@@ -14557,7 +14522,7 @@ var MessageSegmentAccumulator = class {
14557
14522
  if (seg.type !== "approval_batch") return seg;
14558
14523
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
14559
14524
  if (!hasCall) return seg;
14560
- const prev = _optionalChain([seg, 'access', _509 => _509.data, 'access', _510 => _510.executions, 'optionalAccess', _511 => _511[execId]]);
14525
+ const prev = _optionalChain([seg, 'access', _506 => _506.data, 'access', _507 => _507.executions, 'optionalAccess', _508 => _508[execId]]);
14561
14526
  const next = nextBatchExecution(prev, toolData);
14562
14527
  matched = true;
14563
14528
  if (next === null) return seg;
@@ -14691,8 +14656,8 @@ var MessageSegmentAccumulator = class {
14691
14656
  requestId,
14692
14657
  {
14693
14658
  ...pendingApproval,
14694
- command: _optionalChain([pendingApproval, 'optionalAccess', _512 => _512.command]) || "",
14695
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _513 => _513.approvalType]) || approvalType
14659
+ command: _optionalChain([pendingApproval, 'optionalAccess', _509 => _509.command]) || "",
14660
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _510 => _510.approvalType]) || approvalType
14696
14661
  },
14697
14662
  status
14698
14663
  );
@@ -14717,9 +14682,9 @@ var MessageSegmentAccumulator = class {
14717
14682
  type: "escalation_offer",
14718
14683
  // The resolved chunk carries no text/origin — a redelivered offer must
14719
14684
  // not blank the card the PENDING chunk already painted.
14720
- data: { offerId, text: text2 || _optionalChain([existing, 'optionalAccess', _514 => _514.data, 'access', _515 => _515.text]) || "", origin: _nullishCoalesce(origin, () => ( _optionalChain([existing, 'optionalAccess', _516 => _516.data, 'access', _517 => _517.origin]))) },
14685
+ data: { offerId, text: text2 || _optionalChain([existing, 'optionalAccess', _511 => _511.data, 'access', _512 => _512.text]) || "", origin: _nullishCoalesce(origin, () => ( _optionalChain([existing, 'optionalAccess', _513 => _513.data, 'access', _514 => _514.origin]))) },
14721
14686
  status,
14722
- resolvedByName: _nullishCoalesce(resolvedByName, () => ( _optionalChain([existing, 'optionalAccess', _518 => _518.resolvedByName]))),
14687
+ resolvedByName: _nullishCoalesce(resolvedByName, () => ( _optionalChain([existing, 'optionalAccess', _515 => _515.resolvedByName]))),
14723
14688
  onApprove: this.callbacks.onEscalationApprove,
14724
14689
  onReject: this.callbacks.onEscalationReject
14725
14690
  };
@@ -15106,7 +15071,7 @@ function nullableText(value) {
15106
15071
  }
15107
15072
  function httpsUrl(value) {
15108
15073
  const candidate = text(value);
15109
- if (!candidate || _chunkYBTORXFYcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
15074
+ if (!candidate || _chunkPRCGRDHVcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
15110
15075
  try {
15111
15076
  return new URL(candidate).protocol === "https:" ? candidate : void 0;
15112
15077
  } catch (e17) {
@@ -15123,7 +15088,7 @@ function youtubeVideoId(value) {
15123
15088
  const hostname = parsed.hostname.toLowerCase();
15124
15089
  const isYoutubeHost = hostname === "youtu.be" || hostname === "youtube.com" || hostname.endsWith(".youtube.com");
15125
15090
  if (!isYoutubeHost) return void 0;
15126
- const fromPath = hostname === "youtu.be" ? parsed.pathname.split("/").filter(Boolean)[0] : _optionalChain([/^\/(?:embed|v|shorts)\/([A-Za-z0-9_-]{11})(?:\/|$)/, 'access', _519 => _519.exec, 'call', _520 => _520(parsed.pathname), 'optionalAccess', _521 => _521[1]]);
15091
+ const fromPath = hostname === "youtu.be" ? parsed.pathname.split("/").filter(Boolean)[0] : _optionalChain([/^\/(?:embed|v|shorts)\/([A-Za-z0-9_-]{11})(?:\/|$)/, 'access', _516 => _516.exec, 'call', _517 => _517(parsed.pathname), 'optionalAccess', _518 => _518[1]]);
15127
15092
  const id = _nullishCoalesce(_nullishCoalesce(fromPath, () => ( parsed.searchParams.get("v"))), () => ( void 0));
15128
15093
  return id && YOUTUBE_ID.test(id) ? id : void 0;
15129
15094
  }
@@ -15242,11 +15207,11 @@ function cards(value, decodedSources) {
15242
15207
  {
15243
15208
  type,
15244
15209
  id,
15245
- title: _nullishCoalesce(_optionalChain([source, 'optionalAccess', _522 => _522.name]), () => ( id)),
15246
- url: _nullishCoalesce(_optionalChain([source, 'optionalAccess', _523 => _523.externalUrl]), () => ( null)),
15247
- ..._optionalChain([source, 'optionalAccess', _524 => _524.sourceRepo]) ? { sourceRepo: source.sourceRepo } : {},
15248
- ..._optionalChain([source, 'optionalAccess', _525 => _525.targetPlatform]) !== void 0 ? { targetPlatform: source.targetPlatform } : {},
15249
- ..._optionalChain([source, 'optionalAccess', _526 => _526.path]) ? { metadata: { path: source.path } } : {}
15210
+ title: _nullishCoalesce(_optionalChain([source, 'optionalAccess', _519 => _519.name]), () => ( id)),
15211
+ url: _nullishCoalesce(_optionalChain([source, 'optionalAccess', _520 => _520.externalUrl]), () => ( null)),
15212
+ ..._optionalChain([source, 'optionalAccess', _521 => _521.sourceRepo]) ? { sourceRepo: source.sourceRepo } : {},
15213
+ ..._optionalChain([source, 'optionalAccess', _522 => _522.targetPlatform]) !== void 0 ? { targetPlatform: source.targetPlatform } : {},
15214
+ ..._optionalChain([source, 'optionalAccess', _523 => _523.path]) ? { metadata: { path: source.path } } : {}
15250
15215
  }
15251
15216
  ];
15252
15217
  });
@@ -15282,11 +15247,11 @@ function attachmentsEvent(record) {
15282
15247
  }
15283
15248
  function mergeSourceMetadata(previous, event) {
15284
15249
  const byIndex = /* @__PURE__ */ new Map();
15285
- for (const source of [..._nullishCoalesce(_optionalChain([previous, 'optionalAccess', _527 => _527.sources]), () => ( [])), ..._nullishCoalesce(event.sources, () => ( []))]) {
15250
+ for (const source of [..._nullishCoalesce(_optionalChain([previous, 'optionalAccess', _524 => _524.sources]), () => ( [])), ..._nullishCoalesce(event.sources, () => ( []))]) {
15286
15251
  if (!byIndex.has(source.index)) byIndex.set(source.index, source);
15287
15252
  }
15288
15253
  const byIdentity = /* @__PURE__ */ new Map();
15289
- for (const ref of [..._nullishCoalesce(_optionalChain([previous, 'optionalAccess', _528 => _528.refs]), () => ( [])), ..._nullishCoalesce(event.refs, () => ( []))]) {
15254
+ for (const ref of [..._nullishCoalesce(_optionalChain([previous, 'optionalAccess', _525 => _525.refs]), () => ( [])), ..._nullishCoalesce(event.refs, () => ( []))]) {
15290
15255
  const identity = `${ref.type}:${ref.id}`;
15291
15256
  if (!byIdentity.has(identity)) byIdentity.set(identity, ref);
15292
15257
  }
@@ -15396,7 +15361,7 @@ function createChatStreamReducer(options = {}) {
15396
15361
  let stateCache = null;
15397
15362
  function invalidate() {
15398
15363
  stateCache = null;
15399
- _optionalChain([onChange, 'optionalCall', _529 => _529()]);
15364
+ _optionalChain([onChange, 'optionalCall', _526 => _526()]);
15400
15365
  }
15401
15366
  function getState() {
15402
15367
  if (!stateCache) {
@@ -15414,7 +15379,7 @@ function createChatStreamReducer(options = {}) {
15414
15379
  return stateCache;
15415
15380
  }
15416
15381
  function emit(name, ...args) {
15417
- _optionalChain([onEffect, 'optionalCall', _530 => _530({ name, args })]);
15382
+ _optionalChain([onEffect, 'optionalCall', _527 => _527({ name, args })]);
15418
15383
  }
15419
15384
  function setMessagesInternal(next) {
15420
15385
  if (next !== messages) {
@@ -15457,12 +15422,12 @@ function createChatStreamReducer(options = {}) {
15457
15422
  return stampTrailingAssistantSourceMetadata(stampTrailingAssistantSeq(next, seq));
15458
15423
  }
15459
15424
  function applySegmentsToState(segments, meta) {
15460
- const seq = _optionalChain([meta, 'optionalAccess', _531 => _531.streamSeq]);
15461
- if (_optionalChain([meta, 'optionalAccess', _532 => _532.append]) && meta.isCompacting) {
15425
+ const seq = _optionalChain([meta, 'optionalAccess', _528 => _528.streamSeq]);
15426
+ if (_optionalChain([meta, 'optionalAccess', _529 => _529.append]) && meta.isCompacting) {
15462
15427
  setMessagesInternal(commitTrailingAssistant(upsertTrailingCompaction(messages, segments), seq));
15463
15428
  return;
15464
15429
  }
15465
- if (_optionalChain([meta, 'optionalAccess', _533 => _533.append])) {
15430
+ if (_optionalChain([meta, 'optionalAccess', _530 => _530.append])) {
15466
15431
  setMessagesInternal(commitTrailingAssistant(appendToTrailingAssistant(messages, segments), seq));
15467
15432
  return;
15468
15433
  }
@@ -15474,7 +15439,7 @@ function createChatStreamReducer(options = {}) {
15474
15439
  adoptTrailingAssistant = false;
15475
15440
  const last = messages[messages.length - 1];
15476
15441
  if (!last || last.role !== "assistant" || adoptTail) return;
15477
- const hasContent = (_nullishCoalesce(_optionalChain([last, 'access', _534 => _534.segments, 'optionalAccess', _535 => _535.length]), () => ( 0))) > 0 || last.content !== "";
15442
+ const hasContent = (_nullishCoalesce(_optionalChain([last, 'access', _531 => _531.segments, 'optionalAccess', _532 => _532.length]), () => ( 0))) > 0 || last.content !== "";
15478
15443
  if (!hasContent) return;
15479
15444
  setMessagesInternal([...messages, { id: nextId("assistant"), role: "assistant", content: "", segments: [] }]);
15480
15445
  }
@@ -15690,16 +15655,16 @@ function createChatStreamReducer(options = {}) {
15690
15655
  const status = approvalStatuses[requestId] || "pending";
15691
15656
  if (!displayInline(approvalType)) {
15692
15657
  const required = _nullishCoalesce(toolCalls.find((c) => c.requiresApproval), () => ( toolCalls[0]));
15693
- const summary = required ? _chunk2X3N6MSRcjs.getCommandText.call(void 0, required) : `Batch of ${toolCalls.length} tool calls`;
15658
+ const summary = required ? _chunkJLKGLPDCcjs.getCommandText.call(void 0, required) : `Batch of ${toolCalls.length} tool calls`;
15694
15659
  pendingEscalated.set(requestId, {
15695
15660
  command: summary,
15696
- explanation: _optionalChain([required, 'optionalAccess', _536 => _536.toolExplanation]),
15661
+ explanation: _optionalChain([required, 'optionalAccess', _533 => _533.toolExplanation]),
15697
15662
  approvalType,
15698
15663
  toolCalls
15699
15664
  });
15700
15665
  emit("onEscalatedApproval", requestId, {
15701
15666
  command: summary,
15702
- explanation: _optionalChain([required, 'optionalAccess', _537 => _537.toolExplanation]),
15667
+ explanation: _optionalChain([required, 'optionalAccess', _534 => _534.toolExplanation]),
15703
15668
  approvalType
15704
15669
  });
15705
15670
  break;
@@ -15723,7 +15688,7 @@ function createChatStreamReducer(options = {}) {
15723
15688
  if (!call.requiresApproval) continue;
15724
15689
  segments = accumulator.addApprovalRequest(
15725
15690
  requestId,
15726
- _chunk2X3N6MSRcjs.getCommandText.call(void 0, call),
15691
+ _chunkJLKGLPDCcjs.getCommandText.call(void 0, call),
15727
15692
  call.toolExplanation,
15728
15693
  approvalType,
15729
15694
  status,
@@ -15802,7 +15767,7 @@ function createChatStreamReducer(options = {}) {
15802
15767
  if (!call.requiresApproval) continue;
15803
15768
  segments = accumulator.addApprovalRequest(
15804
15769
  requestId,
15805
- _chunk2X3N6MSRcjs.getCommandText.call(void 0, call),
15770
+ _chunkJLKGLPDCcjs.getCommandText.call(void 0, call),
15806
15771
  call.toolExplanation,
15807
15772
  escalatedData.approvalType,
15808
15773
  status
@@ -16087,7 +16052,7 @@ function createChatStreamReducer(options = {}) {
16087
16052
  const resolveBatch = (status, confirm) => async () => {
16088
16053
  setMessagesInternal(projectBatchStatusToMessages(messages, anchorId, status));
16089
16054
  for (const id of ids) {
16090
- const ok = await _optionalChain([confirm, 'optionalCall', _538 => _538(id)]);
16055
+ const ok = await _optionalChain([confirm, 'optionalCall', _535 => _535(id)]);
16091
16056
  if (ok === false) {
16092
16057
  setMessagesInternal(projectBatchRowFailureToMessages(messages, id));
16093
16058
  }
@@ -16223,8 +16188,8 @@ function createChatStreamReducer(options = {}) {
16223
16188
  }
16224
16189
  }
16225
16190
  }
16226
- hasEverStreamed = hasEverStreamed || (_nullishCoalesce(_optionalChain([extras, 'optionalAccess', _539 => _539.resumed]), () => ( messages.length > 0)));
16227
- if (_optionalChain([extras, 'optionalAccess', _540 => _540.agentBusy])) agentBusyState();
16191
+ hasEverStreamed = hasEverStreamed || (_nullishCoalesce(_optionalChain([extras, 'optionalAccess', _536 => _536.resumed]), () => ( messages.length > 0)));
16192
+ if (_optionalChain([extras, 'optionalAccess', _537 => _537.agentBusy])) agentBusyState();
16228
16193
  invalidate();
16229
16194
  }
16230
16195
  return {
@@ -16311,7 +16276,7 @@ function createChatStreamReducer(options = {}) {
16311
16276
  },
16312
16277
  endSseTurn() {
16313
16278
  const last = messages[messages.length - 1];
16314
- if (last && last.role === "assistant" && (_nullishCoalesce(_optionalChain([last, 'access', _541 => _541.segments, 'optionalAccess', _542 => _542.length]), () => ( 0))) === 0 && last.content === "") {
16279
+ if (last && last.role === "assistant" && (_nullishCoalesce(_optionalChain([last, 'access', _538 => _538.segments, 'optionalAccess', _539 => _539.length]), () => ( 0))) === 0 && last.content === "") {
16315
16280
  messages = messages.slice(0, -1);
16316
16281
  }
16317
16282
  sseCurrentText = "";
@@ -16465,10 +16430,10 @@ function createChatDialogStore(options = {}) {
16465
16430
  if (onEvict) {
16466
16431
  const sep = key.indexOf(KEY_SEP);
16467
16432
  onEvict(key.slice(0, sep), key.slice(sep + 1), {
16468
- messages: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _543 => _543.state, 'access', _544 => _544.messages]), () => ( EMPTY_STATE.messages)),
16469
- approvalStatuses: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _545 => _545.state, 'access', _546 => _546.approvalStatuses]), () => ( EMPTY_STATE.approvalStatuses)),
16470
- lastAppliedSeq: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _547 => _547.getLastAppliedSeq, 'call', _548 => _548()]), () => ( Number.NEGATIVE_INFINITY)),
16471
- pendingEchoes: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _549 => _549.getPendingEchoes, 'call', _550 => _550()]), () => ( EMPTY_PENDING_ECHOES))
16433
+ messages: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _540 => _540.state, 'access', _541 => _541.messages]), () => ( EMPTY_STATE.messages)),
16434
+ approvalStatuses: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _542 => _542.state, 'access', _543 => _543.approvalStatuses]), () => ( EMPTY_STATE.approvalStatuses)),
16435
+ lastAppliedSeq: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _544 => _544.getLastAppliedSeq, 'call', _545 => _545()]), () => ( Number.NEGATIVE_INFINITY)),
16436
+ pendingEchoes: _nullishCoalesce(_optionalChain([dropped, 'optionalAccess', _546 => _546.getPendingEchoes, 'call', _547 => _547()]), () => ( EMPTY_PENDING_ECHOES))
16472
16437
  });
16473
16438
  }
16474
16439
  }
@@ -16478,12 +16443,12 @@ function createChatDialogStore(options = {}) {
16478
16443
  const key = keyOf(dialogId, side);
16479
16444
  let reducer = reducers.get(key);
16480
16445
  if (!reducer) {
16481
- const base = _nullishCoalesce(_optionalChain([(_nullishCoalesce(createOptions, () => ( defaultCreateOptions))), 'optionalCall', _551 => _551(dialogId, side)]), () => ( {}));
16446
+ const base = _nullishCoalesce(_optionalChain([(_nullishCoalesce(createOptions, () => ( defaultCreateOptions))), 'optionalCall', _548 => _548(dialogId, side)]), () => ( {}));
16482
16447
  const userOnChange = base.onChange;
16483
16448
  reducer = createChatStreamReducer({
16484
16449
  ...base,
16485
16450
  onChange: () => {
16486
- _optionalChain([userOnChange, 'optionalCall', _552 => _552()]);
16451
+ _optionalChain([userOnChange, 'optionalCall', _549 => _549()]);
16487
16452
  notify();
16488
16453
  }
16489
16454
  });
@@ -16528,7 +16493,7 @@ function createChatDialogStore(options = {}) {
16528
16493
  };
16529
16494
  }
16530
16495
  function getSnapshot2(dialogId, side = DEFAULT_DIALOG_SIDE) {
16531
- return _nullishCoalesce(_optionalChain([reducers, 'access', _553 => _553.get, 'call', _554 => _554(keyOf(dialogId, side)), 'optionalAccess', _555 => _555.state]), () => ( EMPTY_STATE));
16496
+ return _nullishCoalesce(_optionalChain([reducers, 'access', _550 => _550.get, 'call', _551 => _551(keyOf(dialogId, side)), 'optionalAccess', _552 => _552.state]), () => ( EMPTY_STATE));
16532
16497
  }
16533
16498
  function getServerSnapshot2() {
16534
16499
  return EMPTY_STATE;
@@ -16617,7 +16582,7 @@ function createDeltaBatcher({
16617
16582
  pending = [];
16618
16583
  const key = pendingKey;
16619
16584
  for (const delta of batch) applyOne(delta, key);
16620
- _optionalChain([onFlushed, 'optionalCall', _556 => _556(batch.length)]);
16585
+ _optionalChain([onFlushed, 'optionalCall', _553 => _553(batch.length)]);
16621
16586
  }
16622
16587
  function schedule() {
16623
16588
  if (raf !== null || timer !== null) return;
@@ -16641,7 +16606,7 @@ function createDeltaBatcher({
16641
16606
  }
16642
16607
  if (!isDeltaEvent(event)) return false;
16643
16608
  const tail = pending[pending.length - 1];
16644
- const seqAdvances = _optionalChain([tail, 'optionalAccess', _557 => _557.seq]) == null ? event.seq == null : event.seq != null && event.seq > tail.seq;
16609
+ const seqAdvances = _optionalChain([tail, 'optionalAccess', _554 => _554.seq]) == null ? event.seq == null : event.seq != null && event.seq > tail.seq;
16645
16610
  if (tail && seqAdvances && tail.type === event.type && (tail.type !== "text-delta" || tail.leading === event.leading)) {
16646
16611
  pending[pending.length - 1] = {
16647
16612
  ...tail,
@@ -16673,7 +16638,7 @@ function useChatStreamReducer({
16673
16638
  side = DEFAULT_DIALOG_SIDE,
16674
16639
  createReducerOptions
16675
16640
  }) {
16676
- const reducer = store.getReducer(dialogId, side, () => _nullishCoalesce(_optionalChain([createReducerOptions, 'optionalCall', _558 => _558()]), () => ( {})));
16641
+ const reducer = store.getReducer(dialogId, side, () => _nullishCoalesce(_optionalChain([createReducerOptions, 'optionalCall', _555 => _555()]), () => ( {})));
16677
16642
  const getSnapshot2 = _react.useCallback.call(void 0, () => store.getSnapshot(dialogId, side), [store, dialogId, side]);
16678
16643
  const getServerSnapshot2 = _react.useCallback.call(void 0, () => store.getServerSnapshot(), [store]);
16679
16644
  const subscribe2 = _react.useCallback.call(void 0, (listener) => store.subscribe(listener), [store]);
@@ -16718,7 +16683,7 @@ function buildConfirmToolBody(request) {
16718
16683
  async function readServerErrorMessage(response) {
16719
16684
  try {
16720
16685
  const body = await response.json();
16721
- if (typeof _optionalChain([body, 'optionalAccess', _559 => _559.error]) === "string" && body.error.length > 0) return body.error;
16686
+ if (typeof _optionalChain([body, 'optionalAccess', _556 => _556.error]) === "string" && body.error.length > 0) return body.error;
16722
16687
  } catch (e18) {
16723
16688
  }
16724
16689
  return null;
@@ -16881,7 +16846,7 @@ function useManagedDialogList({
16881
16846
  try {
16882
16847
  await deleteDialogCallback(id);
16883
16848
  removeLocal(id);
16884
- _optionalChain([onDialogRemovedRef, 'access', _560 => _560.current, 'optionalCall', _561 => _561(id, "deleted")]);
16849
+ _optionalChain([onDialogRemovedRef, 'access', _557 => _557.current, 'optionalCall', _558 => _558(id, "deleted")]);
16885
16850
  } catch (err) {
16886
16851
  console.error(`${logTag} deleteDialog failed:`, err);
16887
16852
  throw err;
@@ -16892,7 +16857,7 @@ function useManagedDialogList({
16892
16857
  const renameDialog = _react.useCallback.call(void 0,
16893
16858
  async (id, title) => {
16894
16859
  if (!renameDialogCallback) return;
16895
- const previous = _optionalChain([dialogsRef, 'access', _562 => _562.current, 'access', _563 => _563.find, 'call', _564 => _564((d) => d.id === id), 'optionalAccess', _565 => _565.title]);
16860
+ const previous = _optionalChain([dialogsRef, 'access', _559 => _559.current, 'access', _560 => _560.find, 'call', _561 => _561((d) => d.id === id), 'optionalAccess', _562 => _562.title]);
16896
16861
  setDialogs((prev) => prev.map((d) => d.id === id ? { ...d, title } : d));
16897
16862
  try {
16898
16863
  await renameDialogCallback(id, title);
@@ -16911,7 +16876,7 @@ function useManagedDialogList({
16911
16876
  try {
16912
16877
  await archiveDialogCallback(id);
16913
16878
  removeLocal(id);
16914
- _optionalChain([onDialogRemovedRef, 'access', _566 => _566.current, 'optionalCall', _567 => _567(id, "archived")]);
16879
+ _optionalChain([onDialogRemovedRef, 'access', _563 => _563.current, 'optionalCall', _564 => _564(id, "archived")]);
16915
16880
  } catch (err) {
16916
16881
  console.error(`${logTag} archiveDialog failed:`, err);
16917
16882
  throw err;
@@ -17100,7 +17065,7 @@ var STORAGE_KEY = "conversation";
17100
17065
  var namespaceFor = (source) => {
17101
17066
  const base = `mingo-chat-${source}`;
17102
17067
  const auth = _chunk5GJM7VRRcjs.getEmbedProxyAuth.call(void 0, );
17103
- return _optionalChain([auth, 'optionalAccess', _568 => _568.email]) ? `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}` : base;
17068
+ return _optionalChain([auth, 'optionalAccess', _565 => _565.email]) ? `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}` : base;
17104
17069
  };
17105
17070
  function createChatConversationStorage(source) {
17106
17071
  return _chunk5GJM7VRRcjs.createLocalStorageAdapter.call(void 0, {
@@ -17173,7 +17138,7 @@ function useChatHistoryHydration({
17173
17138
  if (cancelled) return;
17174
17139
  if (rows.length === 0) {
17175
17140
  const found = isRecord(body) ? body.found : void 0;
17176
- if (found === false) _optionalChain([onOrphanedConversation, 'optionalCall', _569 => _569(conversationId)]);
17141
+ if (found === false) _optionalChain([onOrphanedConversation, 'optionalCall', _566 => _566(conversationId)]);
17177
17142
  return;
17178
17143
  }
17179
17144
  const hydrated = [];
@@ -17250,7 +17215,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17250
17215
  const { active = true } = runtimeOptions;
17251
17216
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
17252
17217
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
17253
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _570 => _570.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
17218
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _567 => _567.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
17254
17219
  const sendMessageRef = _react.useRef.call(void 0,
17255
17220
  () => Promise.resolve(true)
17256
17221
  );
@@ -17286,7 +17251,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17286
17251
  if (!restoredConversationRef.current) {
17287
17252
  restoredConversationRef.current = true;
17288
17253
  pruneStaleChatConversationStorage(source);
17289
- conversationIdRef.current = _nullishCoalesce(_optionalChain([conversationStorage, 'access', _571 => _571.load, 'call', _572 => _572(), 'optionalAccess', _573 => _573.conversationId]), () => ( null));
17254
+ conversationIdRef.current = _nullishCoalesce(_optionalChain([conversationStorage, 'access', _568 => _568.load, 'call', _569 => _569(), 'optionalAccess', _570 => _570.conversationId]), () => ( null));
17290
17255
  }
17291
17256
  const [conversationId, setConversationId] = _react.useState.call(void 0, () => conversationIdRef.current);
17292
17257
  const commitConversationId = _react.useCallback.call(void 0,
@@ -17377,7 +17342,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17377
17342
  const abortControllerRef = _react.useRef.call(void 0, null);
17378
17343
  const switchConversation = _react.useCallback.call(void 0,
17379
17344
  (id) => {
17380
- _optionalChain([abortControllerRef, 'access', _574 => _574.current, 'optionalAccess', _575 => _575.abort, 'call', _576 => _576()]);
17345
+ _optionalChain([abortControllerRef, 'access', _571 => _571.current, 'optionalAccess', _572 => _572.abort, 'call', _573 => _573()]);
17381
17346
  flushDeltas();
17382
17347
  mutate((r) => r.reset());
17383
17348
  hydrationSendCountRef.current = 0;
@@ -17414,8 +17379,8 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17414
17379
  } = useManagedDialogList({
17415
17380
  autoLoad: active,
17416
17381
  fetchDialogs: fetchActiveDialogs,
17417
- renameDialog: _optionalChain([conversationsApi, 'optionalAccess', _577 => _577.renameDialog]),
17418
- archiveDialog: _optionalChain([conversationsApi, 'optionalAccess', _578 => _578.archiveDialog]),
17382
+ renameDialog: _optionalChain([conversationsApi, 'optionalAccess', _574 => _574.renameDialog]),
17383
+ archiveDialog: _optionalChain([conversationsApi, 'optionalAccess', _575 => _575.archiveDialog]),
17419
17384
  pageSize: CHAT_HISTORY_PAGE_SIZE,
17420
17385
  search: conversationsApi ? dialogSearch : void 0,
17421
17386
  logTag: "[useSseChatAdapter]",
@@ -17479,7 +17444,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17479
17444
  const serverMessage = await readServerErrorMessage(response);
17480
17445
  throw new Error(_nullishCoalesce(serverMessage, () => ( `Chat request failed: ${response.status}`)));
17481
17446
  }
17482
- const reader = _optionalChain([response, 'access', _579 => _579.body, 'optionalAccess', _580 => _580.getReader, 'call', _581 => _581()]);
17447
+ const reader = _optionalChain([response, 'access', _576 => _576.body, 'optionalAccess', _577 => _577.getReader, 'call', _578 => _578()]);
17483
17448
  if (!reader) throw new Error("No response body");
17484
17449
  const frameDecoder = createSseFrameDecoder();
17485
17450
  let finished = false;
@@ -17508,7 +17473,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17508
17473
  }
17509
17474
  return true;
17510
17475
  } catch (err) {
17511
- if (_optionalChain([err, 'optionalAccess', _582 => _582.name]) === "AbortError" || ctrl.signal.aborted) {
17476
+ if (_optionalChain([err, 'optionalAccess', _579 => _579.name]) === "AbortError" || ctrl.signal.aborted) {
17512
17477
  return true;
17513
17478
  }
17514
17479
  flushDeltas();
@@ -17544,7 +17509,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17544
17509
  );
17545
17510
  sendMessageRef.current = sendMessage;
17546
17511
  const stopMessage = _react.useCallback.call(void 0, () => {
17547
- _optionalChain([abortControllerRef, 'access', _583 => _583.current, 'optionalAccess', _584 => _584.abort, 'call', _585 => _585()]);
17512
+ _optionalChain([abortControllerRef, 'access', _580 => _580.current, 'optionalAccess', _581 => _581.abort, 'call', _582 => _582()]);
17548
17513
  flushDeltas();
17549
17514
  mutate((r) => r.setPhase("idle"));
17550
17515
  }, [mutate, flushDeltas]);
@@ -17580,7 +17545,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17580
17545
  let sendIdx = -1;
17581
17546
  return state.messages.map((m) => {
17582
17547
  const segments = m.segments;
17583
- const content = typeof m.content === "string" && !segments ? m.content : _nullishCoalesce(_optionalChain([segments, 'optionalAccess', _586 => _586.filter, 'call', _587 => _587((s) => s.type === "text"), 'access', _588 => _588.map, 'call', _589 => _589((s) => s.text), 'access', _590 => _590.join, 'call', _591 => _591("")]), () => ( ""));
17548
+ const content = typeof m.content === "string" && !segments ? m.content : _nullishCoalesce(_optionalChain([segments, 'optionalAccess', _583 => _583.filter, 'call', _584 => _584((s) => s.type === "text"), 'access', _585 => _585.map, 'call', _586 => _586((s) => s.text), 'access', _587 => _587.join, 'call', _588 => _588("")]), () => ( ""));
17584
17549
  let sources2;
17585
17550
  let scrollAnchor;
17586
17551
  if (m.role === "user" && !m.hidden) {
@@ -17589,7 +17554,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17589
17554
  if (m.role === "assistant") {
17590
17555
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
17591
17556
  sources2 = sourcesMap.get(lookupIdx);
17592
- scrollAnchor = _nullishCoalesce(_optionalChain([meta, 'access', _592 => _592.get, 'call', _593 => _593(lookupIdx), 'optionalAccess', _594 => _594.scrollAnchor]), () => ( void 0));
17557
+ scrollAnchor = _nullishCoalesce(_optionalChain([meta, 'access', _589 => _589.get, 'call', _590 => _590(lookupIdx), 'optionalAccess', _591 => _591.scrollAnchor]), () => ( void 0));
17593
17558
  }
17594
17559
  return {
17595
17560
  id: m.id,
@@ -17616,7 +17581,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17616
17581
  );
17617
17582
  return;
17618
17583
  }
17619
- const refSlug = typeof _optionalChain([reference, 'access', _595 => _595.metadata, 'optionalAccess', _596 => _596.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
17584
+ const refSlug = typeof _optionalChain([reference, 'access', _592 => _592.metadata, 'optionalAccess', _593 => _593.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
17620
17585
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
17621
17586
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
17622
17587
  const text2 = `/${cmdId} display "${escaped}"`;
@@ -17664,18 +17629,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
17664
17629
  /** True while the mount-time rebuild from the server transcript runs. */
17665
17630
  isHydratingHistory,
17666
17631
  /** Provider key for the lib's `<ModelDisplay>` icon. */
17667
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _597 => _597.provider]), () => ( null)),
17668
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _598 => _598.modelLabel]), () => ( null)),
17669
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _599 => _599.contextWindowMaxTokens]), () => ( null)),
17632
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _594 => _594.provider]), () => ( null)),
17633
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _595 => _595.modelLabel]), () => ( null)),
17634
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _596 => _596.contextWindowMaxTokens]), () => ( null)),
17670
17635
  /** Input tokens (known after server's message_start frame; null until). */
17671
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _600 => _600.inputTokens]), () => ( null)),
17636
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _597 => _597.inputTokens]), () => ( null)),
17672
17637
  /** Output tokens (known only after server's trailing usage frame). */
17673
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _601 => _601.outputTokens]), () => ( null)),
17638
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _598 => _598.outputTokens]), () => ( null)),
17674
17639
  /** Cache hit % (read / total-input × 100). null during streaming. */
17675
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _602 => _602.cacheHitRatePct]), () => ( null)),
17640
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _599 => _599.cacheHitRatePct]), () => ( null)),
17676
17641
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
17677
17642
  * token counts). null until the trailing usage frame lands. */
17678
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _603 => _603.breakdown]), () => ( null)),
17643
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _600 => _600.breakdown]), () => ( null)),
17679
17644
  // ─── Dialog management ───────────────────────────────────────────────
17680
17645
  // With `chatConversationsUrl` the server transcript store IS the dialog
17681
17646
  // list (shared `useManagedDialogList`); selecting a row re-hydrates through
@@ -17749,7 +17714,7 @@ function extractIncompleteMessageState(lastMessage) {
17749
17714
  }
17750
17715
  break;
17751
17716
  case "approval_batch": {
17752
- const allDone = !!segment.data.executions && segment.data.toolCalls.every((c) => _optionalChain([segment, 'access', _604 => _604.data, 'access', _605 => _605.executions, 'optionalAccess', _606 => _606[c.toolExecutionRequestId], 'optionalAccess', _607 => _607.status]) === "done");
17717
+ const allDone = !!segment.data.executions && segment.data.toolCalls.every((c) => _optionalChain([segment, 'access', _601 => _601.data, 'access', _602 => _602.executions, 'optionalAccess', _603 => _603[c.toolExecutionRequestId], 'optionalAccess', _604 => _604.status]) === "done");
17753
17718
  if (segment.status !== "rejected" && !allDone) {
17754
17719
  hasIncompleteState = true;
17755
17720
  }
@@ -17813,11 +17778,11 @@ function extractIncompleteMessageState(lastMessage) {
17813
17778
  function extractIncompleteTailState(messages) {
17814
17779
  if (!messages || messages.length === 0) return void 0;
17815
17780
  let start = messages.length;
17816
- while (start > 0 && _optionalChain([messages, 'access', _608 => _608[start - 1], 'optionalAccess', _609 => _609.role]) === "assistant") start -= 1;
17781
+ while (start > 0 && _optionalChain([messages, 'access', _605 => _605[start - 1], 'optionalAccess', _606 => _606.role]) === "assistant") start -= 1;
17817
17782
  if (start === messages.length) return void 0;
17818
17783
  const segments = [];
17819
17784
  for (let i = start; i < messages.length; i += 1) {
17820
- const content = _optionalChain([messages, 'access', _610 => _610[i], 'optionalAccess', _611 => _611.content]);
17785
+ const content = _optionalChain([messages, 'access', _607 => _607[i], 'optionalAccess', _608 => _608.content]);
17821
17786
  if (Array.isArray(content)) segments.push(...content);
17822
17787
  }
17823
17788
  if (segments.length === 0) return void 0;
@@ -18048,7 +18013,7 @@ function decodeNatsChunk(chunk) {
18048
18013
  userId: typeof data.userId === "string" ? data.userId : void 0,
18049
18014
  // Wire shape carries no label; fall back to the id (parity with
18050
18015
  // the history path in `process-historical-messages.ts`).
18051
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _612 => _612.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _613 => _613.id]) === "string").map((it) => ({
18016
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _609 => _609.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _610 => _610.id]) === "string").map((it) => ({
18052
18017
  type: it.type,
18053
18018
  id: it.id,
18054
18019
  label: it.id
@@ -18100,15 +18065,15 @@ function decodeNatsChunk(chunk) {
18100
18065
 
18101
18066
  // src/components/chat/utils/process-historical-messages.ts
18102
18067
  function getOwnerDisplayName(owner) {
18103
- if (_optionalChain([owner, 'optionalAccess', _614 => _614.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.ADMIN && owner.user) {
18068
+ if (_optionalChain([owner, 'optionalAccess', _611 => _611.type]) === _chunkKVJKKVB3cjs.OWNER_TYPE.ADMIN && owner.user) {
18104
18069
  const { firstName, lastName } = owner.user;
18105
18070
  const name = [firstName, lastName].filter(Boolean).join(" ");
18106
18071
  if (name) return name;
18107
18072
  }
18108
- return _optionalChain([owner, 'optionalAccess', _615 => _615.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.ADMIN ? "Admin" : "You";
18073
+ return _optionalChain([owner, 'optionalAccess', _612 => _612.type]) === _chunkKVJKKVB3cjs.OWNER_TYPE.ADMIN ? "Admin" : "You";
18109
18074
  }
18110
18075
  function getOwnerAvatar(owner) {
18111
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _616 => _616.user, 'optionalAccess', _617 => _617.image, 'optionalAccess', _618 => _618.imageUrl]), () => ( void 0));
18076
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _613 => _613.user, 'optionalAccess', _614 => _614.image, 'optionalAccess', _615 => _615.imageUrl]), () => ( void 0));
18112
18077
  }
18113
18078
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
18114
18079
  messageDataArray.forEach((data) => {
@@ -18300,7 +18265,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18300
18265
  event.offerId,
18301
18266
  event.text,
18302
18267
  event.origin,
18303
- _nullishCoalesce(_optionalChain([escalationOfferStates, 'optionalAccess', _619 => _619[event.offerId]]), () => ( "pending"))
18268
+ _nullishCoalesce(_optionalChain([escalationOfferStates, 'optionalAccess', _616 => _616[event.offerId]]), () => ( "pending"))
18304
18269
  );
18305
18270
  break;
18306
18271
  case "ticket-escalated":
@@ -18334,7 +18299,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18334
18299
  );
18335
18300
  break;
18336
18301
  case "escalation-offer-resolved":
18337
- _optionalChain([offerResolutions, 'optionalAccess', _620 => _620.set, 'call', _621 => _621(event.offerId, {
18302
+ _optionalChain([offerResolutions, 'optionalAccess', _617 => _617.set, 'call', _618 => _618(event.offerId, {
18338
18303
  status: event.status,
18339
18304
  resolvedByName: event.resolvedByName
18340
18305
  })]);
@@ -18368,7 +18333,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18368
18333
  if (!call.requiresApproval) continue;
18369
18334
  accumulator.addApprovalRequest(
18370
18335
  event.requestId,
18371
- _chunk2X3N6MSRcjs.getCommandText.call(void 0, call),
18336
+ _chunkJLKGLPDCcjs.getCommandText.call(void 0, call),
18372
18337
  call.toolExplanation,
18373
18338
  approvalType,
18374
18339
  status,
@@ -18398,7 +18363,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18398
18363
  }
18399
18364
  }
18400
18365
  } else {
18401
- _optionalChain([escalatedApprovals, 'optionalAccess', _622 => _622.set, 'call', _623 => _623(event.requestId, {
18366
+ _optionalChain([escalatedApprovals, 'optionalAccess', _619 => _619.set, 'call', _620 => _620(event.requestId, {
18402
18367
  command: event.command || "",
18403
18368
  explanation: event.explanation,
18404
18369
  approvalType,
@@ -18413,8 +18378,8 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18413
18378
  const existingStatus = approvalStatuses[requestId];
18414
18379
  const status = existingStatus || event.status;
18415
18380
  const resolvedByName = event.resolvedByName;
18416
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _624 => _624.get, 'call', _625 => _625(requestId)]);
18417
- if (_optionalChain([escalatedData, 'optionalAccess', _626 => _626.toolCalls]) && escalatedData.toolCalls.length > 0) {
18381
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _621 => _621.get, 'call', _622 => _622(requestId)]);
18382
+ if (_optionalChain([escalatedData, 'optionalAccess', _623 => _623.toolCalls]) && escalatedData.toolCalls.length > 0) {
18418
18383
  if (batchApprovalsEnabled) {
18419
18384
  accumulator.addApprovalBatch(
18420
18385
  requestId,
@@ -18429,14 +18394,14 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18429
18394
  if (!call.requiresApproval) continue;
18430
18395
  accumulator.addApprovalRequest(
18431
18396
  requestId,
18432
- _chunk2X3N6MSRcjs.getCommandText.call(void 0, call),
18397
+ _chunkJLKGLPDCcjs.getCommandText.call(void 0, call),
18433
18398
  call.toolExplanation,
18434
18399
  escalatedData.approvalType,
18435
18400
  status
18436
18401
  );
18437
18402
  }
18438
18403
  }
18439
- _optionalChain([escalatedApprovals, 'optionalAccess', _627 => _627.delete, 'call', _628 => _628(requestId)]);
18404
+ _optionalChain([escalatedApprovals, 'optionalAccess', _624 => _624.delete, 'call', _625 => _625(requestId)]);
18440
18405
  break;
18441
18406
  }
18442
18407
  if (escalatedData) {
@@ -18445,7 +18410,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18445
18410
  explanation: escalatedData.explanation,
18446
18411
  approvalType: escalatedData.approvalType
18447
18412
  });
18448
- _optionalChain([escalatedApprovals, 'optionalAccess', _629 => _629.delete, 'call', _630 => _630(requestId)]);
18413
+ _optionalChain([escalatedApprovals, 'optionalAccess', _626 => _626.delete, 'call', _627 => _627(requestId)]);
18449
18414
  }
18450
18415
  const before = accumulator.getSegments();
18451
18416
  const after = accumulator.updateApprovalStatus(requestId, status, resolvedByName);
@@ -18537,14 +18502,14 @@ function processHistoricalMessages(messages, options = {}) {
18537
18502
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
18538
18503
  return;
18539
18504
  }
18540
- const isUserMessage = _optionalChain([msg, 'access', _631 => _631.owner, 'optionalAccess', _632 => _632.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _633 => _633.owner, 'optionalAccess', _634 => _634.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.ADMIN;
18505
+ const isUserMessage = _optionalChain([msg, 'access', _628 => _628.owner, 'optionalAccess', _629 => _629.type]) === _chunkKVJKKVB3cjs.OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _630 => _630.owner, 'optionalAccess', _631 => _631.type]) === _chunkKVJKKVB3cjs.OWNER_TYPE.ADMIN;
18541
18506
  if (isUserMessage) {
18542
18507
  flushAssistantMessage();
18543
- const userAuthorType = _optionalChain([msg, 'access', _635 => _635.owner, 'optionalAccess', _636 => _636.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.ADMIN ? "admin" : "user";
18508
+ const userAuthorType = _optionalChain([msg, 'access', _632 => _632.owner, 'optionalAccess', _633 => _633.type]) === _chunkKVJKKVB3cjs.OWNER_TYPE.ADMIN ? "admin" : "user";
18544
18509
  messageDataArray.forEach((data) => {
18545
18510
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
18546
18511
  const rawContext = data.contextItems;
18547
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _637 => _637.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _638 => _638.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
18512
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _634 => _634.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _635 => _635.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
18548
18513
  processedMessages.push({
18549
18514
  id: msg.id,
18550
18515
  role: "user",
@@ -18591,7 +18556,7 @@ function processHistoricalMessages(messages, options = {}) {
18591
18556
  });
18592
18557
  const nextMsg = messages[index + 1];
18593
18558
  const isLastMessage = index === messages.length - 1;
18594
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _639 => _639.owner, 'optionalAccess', _640 => _640.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _641 => _641.owner, 'optionalAccess', _642 => _642.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.ADMIN);
18559
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _636 => _636.owner, 'optionalAccess', _637 => _637.type]) === _chunkKVJKKVB3cjs.OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _638 => _638.owner, 'optionalAccess', _639 => _639.type]) === _chunkKVJKKVB3cjs.OWNER_TYPE.ADMIN);
18595
18560
  if (isLastMessage || nextIsFromUser) {
18596
18561
  flushAssistantMessage();
18597
18562
  }
@@ -18975,7 +18940,7 @@ function useNatsChatAdapter(config, options = {}) {
18975
18940
  const connectionState = !active || !dialogId ? "connected" : connectedForDialog === dialogId ? "connected" : "connecting";
18976
18941
  const sendMessage = _react.useCallback.call(void 0,
18977
18942
  async (text2, sendOptions) => {
18978
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _643 => _643.hidden]), () => ( false));
18943
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _640 => _640.hidden]), () => ( false));
18979
18944
  mutate((r) => r.pushOptimisticSend(text2, hidden));
18980
18945
  await publishUserMessage(text2, { hidden, dialogId });
18981
18946
  },
@@ -19068,11 +19033,11 @@ function useNatsChatAdapter(config, options = {}) {
19068
19033
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
19069
19034
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
19070
19035
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
19071
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _644 => _644.provider]), () => ( modelProvider)), () => ( null)),
19072
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _645 => _645.modelLabel]), () => ( modelLabel)), () => ( null)),
19073
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _646 => _646.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _647 => _647.contextWindowMaxTokens]))), () => ( null)),
19074
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _648 => _648.inputTokensSize]), () => ( null)),
19075
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _649 => _649.outputTokensSize]), () => ( null)),
19036
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _641 => _641.provider]), () => ( modelProvider)), () => ( null)),
19037
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _642 => _642.modelLabel]), () => ( modelLabel)), () => ( null)),
19038
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _643 => _643.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _644 => _644.contextWindowMaxTokens]))), () => ( null)),
19039
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _645 => _645.inputTokensSize]), () => ( null)),
19040
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _646 => _646.outputTokensSize]), () => ( null)),
19076
19041
  currentCacheHitRatePct: null,
19077
19042
  currentUsageBreakdown: null,
19078
19043
  // Dialog management
@@ -19194,7 +19159,7 @@ function useUnifiedChat(options) {
19194
19159
  []
19195
19160
  );
19196
19161
  const displayRefForward = _react.useCallback.call(void 0,
19197
- (ref) => _optionalChain([activeStateRef, 'access', _650 => _650.current, 'access', _651 => _651.displayRef, 'optionalCall', _652 => _652(ref)]),
19162
+ (ref) => _optionalChain([activeStateRef, 'access', _647 => _647.current, 'access', _648 => _648.displayRef, 'optionalCall', _649 => _649(ref)]),
19198
19163
  []
19199
19164
  );
19200
19165
  const displayRef = activeState.displayRef ? displayRefForward : void 0;
@@ -19204,7 +19169,7 @@ function useUnifiedChat(options) {
19204
19169
  const renameDialog = _react.useCallback.call(void 0, (id, title) => activeStateRef.current.renameDialog(id, title), []);
19205
19170
  const archiveDialog = _react.useCallback.call(void 0, (id) => activeStateRef.current.archiveDialog(id), []);
19206
19171
  const loadMoreDialogs = _react.useCallback.call(void 0, () => activeStateRef.current.loadMoreDialogs(), []);
19207
- const setDialogScope = _react.useCallback.call(void 0, (scope) => _optionalChain([activeStateRef, 'access', _653 => _653.current, 'access', _654 => _654.setDialogScope, 'optionalCall', _655 => _655(scope)]), []);
19172
+ const setDialogScope = _react.useCallback.call(void 0, (scope) => _optionalChain([activeStateRef, 'access', _650 => _650.current, 'access', _651 => _651.setDialogScope, 'optionalCall', _652 => _652(scope)]), []);
19208
19173
  const reloadDialogs = _react.useCallback.call(void 0, () => activeStateRef.current.reloadDialogs(), []);
19209
19174
  const loadMoreMessages = _react.useCallback.call(void 0, () => activeStateRef.current.loadMoreMessages(), []);
19210
19175
  const approveRequest = _react.useCallback.call(void 0, (requestId) => activeStateRef.current.approveRequest(requestId), []);